;OATH = window.OATH || {};OATH.VideoPlatform = OATH.VideoPlatform || {};OATH.VideoPlatform.PlayerHosting = {"app":"omega","bucket":"up-vrm-play-post-load-1-ctrl","colo":"ir2","dbColo":"eu-west-1","env":"prod","ver":"8.1.398","config":null,"expiry":1800,"req":{"ypv":null,"path":"/p/oath/js/1/video-time.gif","usm":{"bucket":"up-vrm-play-post-load-1-ctrl","config":{"player":"oath","version":"prod","name":"up-vrm-play-post-load-1-ctrl","log":"3.RTg0ODM2Mgd1cC12cm0tcGxheS1wb3N0LWxvYWQtMS1jdHJsBl9DSEcDMARfdmVyAzQuOC4y","config":null}}},"type":"oath-player-desktop.js","g":[],"gv":2};

!function(t){function i(i){for(var n,e,r=i[0],h=i[1],o=0,u=[];o<r.length;o++)e=r[o],Object.prototype.hasOwnProperty.call(s,e)&&s[e]&&u.push(s[e][0]),s[e]=0;for(n in h)Object.prototype.hasOwnProperty.call(h,n)&&(t[n]=h[n]);for(c&&c(i);u.length;)u.shift()()}var n={},s={0:0};function e(t){return h.p+""+({1:"vendors~three"}[t]||t)+".chunk."+{1:"ecaf98fd831a3c0d701e"}[t]+".js"}if("function"==typeof e){var r=e;e=function(){try{if("function"!=typeof replaceOathPlayerSrc)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' is not a function or not available at runtime. See https://github.com/agoldis/webpack-require-from#troubleshooting");var t=replaceOathPlayerSrc(r.apply(this,arguments));if(!t||"string"!=typeof t)throw new Error("WebpackRequireFrom: 'replaceOathPlayerSrc' does not return string. See https://github.com/agoldis/webpack-require-from#troubleshooting");return t}catch(t){return r.apply(this,arguments)}}}function h(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return t[i].call(s.exports,s,s.exports,h),s.l=!0,s.exports}h.e=function(t){var i=[],n=s[t];if(0!==n)if(n)i.push(n[2]);else{var r=new Promise((function(i,e){n=s[t]=[i,e]}));i.push(n[2]=r);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,h.nc&&u.setAttribute("nonce",h.nc),u.src=e(t);var a=new Error;o=function(i){u.onerror=u.onload=null,clearTimeout(c);var n=s[t];if(0!==n){if(n){var e=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;a.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",a.name="ChunkLoadError",a.type=e,a.request=r,n[1](a)}s[t]=void 0}};var c=setTimeout((function(){o({type:"timeout",target:u})}),12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(i)},h.m=t,h.c=n,h.d=function(t,i,n){h.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:n})},h.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},h.t=function(t,i){if(1&i&&(t=h(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(h.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var s in t)h.d(n,s,function(i){return t[i]}.bind(null,s));return n},h.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return h.d(i,"a",i),i},h.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},h.p="https://assets.video.yahoo.net/oath/builds/8.1.398/",h.oe=function(t){throw t};var o=window.loadOathPlayerChunk=window.loadOathPlayerChunk||[],u=o.push.bind(o);o.push=i,o=o.slice();for(var a=0;a<o.length;a++)i(o[a]);var c=u;h(h.s=0)}({"++Nx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("8PPl"),h=n("M3h3"),o=n("mczr"),u=n("N08P"),a=n("WSjl"),c=n("rBpt"),f=n("R+G7"),l=n("fLR+"),v=n("+Ojf"),d=n("gp5d"),p=n("EUld"),m=n("v/u1"),b=n("M1T5");!function(t){t.ID="playlist_id",t.ID_AND_ITEMS="playlist_id_and_mediaItems",t.ONLY_ITEMS="mediaItems"}(s||(s={}));var y=function(){function t(i,n,s){this.consent={gdprApplies:null,gdprConsentData:null,uspString:null},this._="0.2.292",this._t="1.1.244",this._i=!1,this.qi="none",this.in=!1,this._n=new b.default,this._n.width=i&&i.width||this._n.width,this._n.height=i&&i.height||this._n.height,this._n.videoWidth=this._n.width,this._n.videoHeight=this._n.height,this.as={desiredBitrate:t.DESIRED_BITRATE,mp4Abr:!1,bitrate:0,bitrates:[],heights:[],startTime:NaN,preconnect:!0,skipFormats:[],isResumingFromSavedPosition:!1,requestType:null,requestAction:null,playlistLoop:!1},this._s=s,this._e=[],this.or=i,this._r=this._h(i),this.do(),this._o(),this._u(),this.Iu(n),this._a(),this._c(),this._r.mediaItems&&this._r.mediaItems.length&&(this.firstItemAdsSitePrefetched=!!this._r.mediaItems[0].adConfig),this.playlist=new m.default(this.if),this._r.mediaItems&&this._r.mediaItems.forEach((function(t){t.adConfigPrefetched=!!t.adConfig})),this.playlist.addItems(this._r.mediaItems),this.ccUserPreferences={show:!1,lang:"en-US",fontSize:24,fontName:"Arial, Helvetica, sans-serif",fontColor:"#ffffff",fontOpacity:1,fontEffect:"none",bgColor:"#000000",bgOpacity:.75,ccPos:"bottom",isAvailable:!1},this.rendered=!1}return t.prototype.destroy=function(){this.playlist.destroy(),this.rendererTypes=[],this.adsRendererTypes=[]},Object.defineProperty(t.prototype,"config",{get:function(){return this._r},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this._r.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this._r.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this._r.lang||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"recoveryFailureTimeout",{get:function(){return t.RECOVERY_FAILURE_TIMEOUT},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ccOnMute",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.ccOnMute;return t&&void 0!==t.ccOnMute?t.ccOnMute:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chromeless",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.chromeless;return t&&void 0!==t.chromeless?t.chromeless:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"docking",{get:function(){var t=this._r.ui;return t?t.docking:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logos",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.logos;return t?t.logos:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showControls",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.showControls;return t&&void 0!==t.showControls?t.showControls:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startScreenConfig",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.startScreen;return t?t.startScreen:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showTitleOnStart",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.title.showOnStart;return t&&t.title?t.title.showOnStart:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showTitleOnHover",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.title.showOnHover;return t&&t.title&&void 0!==t.title.showOnHover?t.title.showOnHover:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showStartScreen",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.startScreen.show;return t&&t.startScreen&&void 0!==t.startScreen.show?t.startScreen.show:i},set:function(t){var i=this._r.ui;i&&i.startScreen&&(i.startScreen.show=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFullscreenButton",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.showFullscreenButton;return t&&void 0!==t.showFullscreenButton?t.showFullscreenButton:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){var t=this._r.ui,i=d.defaultConfigs.ui.endScreen.show;return!t||!t.endScreen&&void 0===t.endScreen.show?i:t.endScreen.show},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopAtLastFrame",{get:function(){var t=this._r.stopAtLastFrame;return void 0===t?d.defaultConfigs.stopAtLastFrame:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"thumbnailDimensions",{get:function(){return{width:this.uiState.videoWidth,height:this.uiState.videoHeight}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vttIndex",{get:function(){return-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistUIConfig",{get:function(){var t=d.defaultConfigs.ui.playlist,i=this._r.ui;return i?i.playlist:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){var t=this._r.continuousPlay;return void 0===t?d.defaultConfigs.continuousPlay:t},set:function(t){this._r.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adPlaybackOnly",{get:function(){var t=this._r.adPlaybackOnly;return void 0===t?d.defaultConfigs.adPlaybackOnly:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoplay",{get:function(){var t=this._r.autoplay;return void 0===t?d.defaultConfigs.autoplay:t},set:function(t){this._r.autoplay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopBufferingOnPause",{get:function(){var t=this._r.stopBufferingOnPause;return void 0===t?d.defaultConfigs.stopBufferingOnPause:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preload",{get:function(){var t=this._r.preload;return void 0===t?d.defaultConfigs.preload:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullscreen",{get:function(){var t=this._r.fullscreen;return void 0===t?d.defaultConfigs.fullscreen:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"skipWatchedVideos",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.as.bitrate},set:function(t){this.as.bitrate=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"quality",{get:function(){return"auto"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrates",{get:function(){return this.as.bitrates},set:function(t){this.as.bitrates=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"heights",{get:function(){return this.as.heights},set:function(t){this.as.heights=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mp4Abr",{get:function(){return this.as.mp4Abr},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startTime",{get:function(){return this.as.startTime},set:function(t){this.as.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preconnect",{get:function(){return this.as.preconnect},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isResumingFromSavedPosition",{set:function(t){this.as.isResumingFromSavedPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestType",{get:function(){return this.as.requestType},set:function(t){this.as.requestType=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestAction",{get:function(){return this.as.requestAction},set:function(t){this.as.requestAction=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistLoop",{get:function(){return this.as.playlistLoop},set:function(t){this.as.playlistLoop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredBitrate",{get:function(){return this.as.desiredBitrate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"uiState",{get:function(){return this._n},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackState",{get:function(){return this._f},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"waitingForUserTap",{get:function(){return this._i},set:function(t){this._i=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preloadBufferSize",{get:function(){var t=this._r.preloadBufferSize;return void 0===t?d.defaultConfigs.preloadBufferSize:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"userPreferences",{get:function(){return{closedCaptions:{show:!1,lang:"en-US",fontSize:24,fontName:"Arial, Helvetica, sans-serif",fontColor:"#ffffff",fontOpacity:1,fontEffect:"none",bgColor:"#000000",bgOpacity:.75,ccPos:"bottom",isAvailable:!1},isAdult:null,isAuthenticated:!0}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this._r.skipOnError||d.SkipOnError.NEVER},set:function(t){this._r.skipOnError=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveUnloadOnPause",{get:function(){return this._r.liveUnloadOnPause||!0},set:function(t){this._r.liveUnloadOnPause=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDrmAvailable",{set:function(t){this.in=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"drmSystem",{set:function(t){t&&(this.qi=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"muteMode",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jshlsVersion",{get:function(){return this._t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"casting",{get:function(){return void 0===this._r.casting||this._r.casting},enumerable:!0,configurable:!0}),t.prototype.setShowStartScreen=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},Object.defineProperty(t.prototype,"guid",{get:function(){return this._s},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputConfig",{get:function(){return this.or},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this._e},set:function(t){this._e=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstCriticalError",{get:function(){for(var t=0,i=this.errors;t<i.length;t++){var n=i[t];if(n.category||n.subcategory)return n}return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"privacyConsent",{get:function(){return this.consent},enumerable:!0,configurable:!0}),t.prototype.setPlaybackState=function(t){if(this._f)throw new Error("playbackState is already set");this._f=t,this._l(),this._v()},t.prototype.isPlaylistStructured=function(){return!1},t.prototype.isLocal=function(){return this._.indexOf("local")>-1},t.prototype.isMobileStrmInlineExpr=function(){return(e.userAgent.ios||e.userAgent.android)&&f.default.canPlayInline},t.prototype.isAutoplayAllowed=function(){var t=!0!==f.default.network.mobile;return!e.userAgent.mobile||f.default.autoplaySupported&&t},t.prototype.isMobileWebAutoplayCase=function(){return e.userAgent.mobile&&(this.autoplay||this.isMobileStrmInlineExpr())},t.prototype.endVideo=function(){this.as.bitrate=0},Object.defineProperty(t.prototype,"loop",{get:function(){var t=this._r.loop;return void 0===t&&(t=d.defaultConfigs.loop),(this.getPlaylistRenderingType()===s.ONLY_ITEMS||!(!this.playlist.isEndOfPlaylist()&&t))&&t},set:function(t){l.isBoolean(t)&&(this._r.loop=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this._f&&this._f.mute},set:function(t){this._f&&l.isBoolean(t)&&(this._f.mute=t)},enumerable:!0,configurable:!0}),t.prototype.getState=function(){return this.playbackState.state},t.prototype.setState=function(t){this._f&&(Object.keys(a.States).indexOf(t.toUpperCase())>-1&&(this.playbackState.state=t))},Object.defineProperty(t.prototype,"volume",{get:function(){return this._f&&this._f.volume},set:function(t){this._f&&l.isNumber(t)&&t>=0&&t<=1&&(this._f.volume=t)},enumerable:!0,configurable:!0}),t.prototype.isPaused=function(){return this.playbackState&&this.playbackState.paused},t.prototype.setPaused=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.paused=t)},t.prototype.isSeeking=function(){return this.playbackState&&this.playbackState.seeking},t.prototype.setSeeking=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.seeking=t)},t.prototype.isLoading=function(){return this.playbackState&&this.playbackState.loading},t.prototype.setLoading=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.loading=t)},t.prototype.getPlaylistRenderingType=function(){var t=this.playlist&&this.playlist.playlistId,i=this.or&&this.or.playlist,n=i&&i.mediaItems||[];return t?0===n.length?s.ID:s.ID_AND_ITEMS:s.ONLY_ITEMS},Object.defineProperty(t.prototype,"mediaStore",{get:function(){return this.if},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"seekControls",{get:function(){return this._r.ui&&this._r.ui.seekControls||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundPause",{get:function(){return this._r.backgroundPause?this._r.backgroundPause:d.defaultConfigs.backgroundPause},enumerable:!0,configurable:!0}),t.prototype.getEventsDto=function(){var t={rendererType:this.playbackState&&this.playbackState.rendererType,playerVersion:this._,autoPlay:this.autoplay,mute:this.mute,paused:this.isPaused(),docking:this.docking,requestType:this.requestType,requestAction:this.requestAction,playerRootElement:this.playerRootElement,uiState:{width:this.uiState.width,height:this.uiState.height,isFullScreen:this.uiState.isFullscreen,isDocked:this.uiState.isDocked},showEndScreen:this.showEndScreen,firstItemAdsSitePrefetched:this.firstItemAdsSitePrefetched,drmsys:this.qi,drm:this.in,playbackMode:this.playbackState&&this.playbackState.playbackMode,currentMediaType:this.playbackState&&this.playbackState.currentMediaType,currentTs:Date.now(),pbst:this.getState(),pbstd:this._d(),soe:this.skipOnError},i=this.playlist.getCurrentItem();return i?v.default.extend(t,{videoId:i.id,sessionId:i.videoSession,videoLength:i.duration,isLive:i.isLive(),isCCAvailable:i.isCCAvailable,cdn:i.getCDN(),samplingId:i.samplingId,audioLanguage:i.getCurrentAudioLanguage(),mediaItemRendererType:i.rendererType,customConfig:i.customConfig,brandingData:i.brandingData,streamProtocol:i.getStreamProtocol(),license:i.license,title:i.title,contentType:i.getStreamType(),description:i.description,aspectRatio:i.getAspectRatio()}):t},t.prototype._h=function(t){var i=v.default.deepCopy(t);return i=v.default.mergeObjects(i,d.defaultConfigs),i=this.dp(i)},t.prototype._d=function(){var t="init",i=this.playbackState.currentMediaType;return this.playbackState.state!==a.States.INIT&&i&&(t=i+"_",t+=this.playbackState.videoLoading()?"load":this.isPaused()?"pause":"play"),t},t.prototype.dp=function(t){if(!t)return t;var i=t.ui;i&&i.chromeless&&(i.startScreen&&(i.startScreen.show=!1),i.endScreen&&(i.endScreen.show=!1),i.showControls=!1);var n=t.connectionType;return n&&n.raw&&"boolean"==typeof n.mobile&&f.default.updateNetwork(n.mobile,n.raw),t},t.prototype.do=function(){!c.LocalStorage.get("vp-dont-autoplay")&&this.isAutoplayAllowed()||(this.autoplay=!1)},t.prototype._v=function(){if(this.muteMode)this.mute=!0;else if(e.userAgent.desktop&&this.autoplay){var t=f.default.needsGestureToPlayUnmuted&&(e.userAgent.firefox>=66||e.userAgent.chrome>=66||e.userAgent.edge>=17);(e.userAgent.safari>=11||t)&&(this.mute=!0)}},t.prototype._l=function(){if(e.userAgent.mobile&&f.default.autoplaySupported)return this.volume=1,void(this.mute=!0);var t=d.defaultConfigs.volume,i=d.defaultConfigs.mute,n=c.LocalStorage.get(r.LocalStorageKey.VOLUME);n&&(t=n.volume,i=n.mute);var s=this.or.volume;l.isNumber(s)&&s>=0&&s<=1&&(t=s),l.isBoolean(this.or.mute)&&(i=this._r.mute),this.volume=t,this.mute=i},t.prototype._u=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},t.prototype._p=function(){this.rendererTypes=u.default.getRendererTypes(),this.adsRendererTypes=u.default.getAdRendererTypes();var t=this.rendererTypes.slice(0);this.adsRendererTypes.forEach((function(i){-1!==t.indexOf(i)&&t.push(i)})),this.capabilities=this._m(t)},t.prototype._m=function(t){var i=this,n={};return t?(t.forEach((function(t){var s=h.default.get(t);s&&(n[t]=s,!i.config.enableDash||t!==o.RendererType.HTML5_HLS&&t!==o.RendererType.HTML5_HLS_360||(n[t].preferredFormats.unshift("mpd"),n[t].acceptedFormats.unshift("mpd")),i.as.skipFormats.length>0&&(n[t].preferredFormats=n[t].preferredFormats.filter((function(t){return-1===i.as.skipFormats.indexOf(t)}))))})),n):n},t.prototype.Iu=function(t){this._p(),this.if=t||new p.default(this.rendererTypes,this.adsRendererTypes,this.capabilities)},t.prototype._a=function(){var t={},i=v.default.getSingleton("PlayerHosting");i&&i.ver&&i.ver===this.version&&(t.bucket=i.bucket,t.env=i.env,t.colo=i.colo,t.config=i.config&&"object"==typeof i.config?i.config:null,t.log=i.req&&i.req.usm&&i.req.usm.config&&i.req.usm.config.log||""),this.playerHostingConfig=t},t.prototype._o=function(){f.default.canPlayInline&&f.default.autoplayByUIEvtOnly&&this.autoplay&&(this.waitingForUserTap=!0)},t.prototype._c=function(){var t=this;void 0!==window.__cmp&&window.__cmp("getConsentData",null,(function(i){t.consent.gdprApplies=i.gdprApplies,t.consent.gdprConsentData=i.consentData})),void 0!==window.__uspapi&&window.__uspapi("getUSPData",1,(function(i,n){n&&(t.consent.uspString=i.uspString)}))},t.DESIRED_BITRATE=900,t.RECOVERY_FAILURE_TIMEOUT=120,t}();i.default=y},"+NrX":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("A4+F"),u=n("O/dN"),a=n("oIMU"),c=n("tgpW"),f=n("2IYR"),l=n("R+G7"),v=n("+Ojf"),d=n("ECHB"),p=n("mczr");l.default.hasTouchRestrictions&&(r=c.default.getPool());var m=function(t){function i(n,s){var e=t.call(this,"html-renderer")||this;return e.type=i.type,e._b=!1,e.ty=n,e.iy=s,e}return e(i,t),i.canUse=function(){return!0},i.prototype.create=function(t){var i=this;return this.node=t instanceof HTMLVideoElement?t:r?r.get():v.default.createVideoNode(),this.node||(this.node=v.default.createVideoNode()),this.ny()&&(this.node.controls=!0),this.node.setAttribute("id",v.default.generateGuid()),v.default.classList(this.node).add("vp-html5-video"),this.sy(),this.ey(this.node),h.userAgent.mobile&&l.default.autoplayByUIEvtOnly&&this.iy.autoplay&&f.default&&(this.hy=f.default.setupTouchToPlayRestrictionRemoval(this.node,(function(){i.hy=null,i.ty.publish(a.TOUCH_TO_PLAY_RESTRICTION_REMOVED)}))),this.oy=!1,this.node},i.prototype.destroy=function(){this.uy(),this.node&&(r&&r.discard(this.node),this.node.pause(),this.node.src="",this.node.load(),this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.node),this.hy&&(this.hy(),this.hy=null),this.ay=null},i.prototype.enterFullScreen=function(){if(this.node){var t=this.node.requestFullscreen||this.node.webkitRequestFullscreen||this.node.webkitEnterFullscreen;t&&t.call(this.node)}},i.prototype.exitFullScreen=function(){if(this.node){var t=document.exitFullscreen||document.webkitExitFullscreen;t?t.call(document):this.node.webkitExitFullscreen&&this.node.webkitExitFullscreen()}},i.prototype.detachNode=function(){this.uy(),this.node&&this.node.pause&&this.node.pause()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.node?this.node.currentTime:0},i.prototype.getDuration=function(){return this.node?this.node.duration:0},i.prototype.getMuted=function(){return!!this.node&&this.node.muted},i.prototype.getVolume=function(){return this.node?this.node.volume:NaN},i.prototype.isAirplaying=function(){return!(!this.node||!this.node.webkitCurrentPlaybackTargetIsWireless)},i.prototype.reattachNode=function(){this.sy()},i.prototype.seek=function(t){var i=this;if(this.node)try{this.node.currentTime=t}catch(s){if("InvalidStateError"===s.name)var n=this.on(p.RendererEvent.LOADEDMETADATA,(function(){i.node&&(i.node.currentTime=t,i.removeEventListener(p.RendererEvent.LOADEDMETADATA,n))}),this)}},i.prototype.setActive=function(t){this.oy=t},i.prototype.setMute=function(t){this.node&&"boolean"==typeof t&&(h.userAgent.mobile&&l.default.autoplaySupported&&f.default?f.default.setMuteSafe(this.node,t):this.node.muted=t)},i.prototype.setVolume=function(t){this.node&&this.node.volume!==t&&(this.node.volume=t)},i.prototype.setError=function(t){this.ay=t},i.prototype.showAirplayTargetMenu=function(){this.node&&"function"==typeof this.node.webkitShowPlaybackTargetPicker&&this.node.webkitShowPlaybackTargetPicker()},i.prototype.waitForReady=function(t){t()},i.prototype.reportError=function(t,i,n,s,e){var r=v.default.createErr(t,this._f,i,n,s,e),h=i===u.E_INFO?p.RendererEvent.INFO:p.RendererEvent.ERROR;this.publish(h,r)},i.prototype.enableMobileNativeCC=function(t){if(this.node){var i=document.createDocumentFragment();this.ly(),t.langList.forEach((function(n){var s=document.createElement("track");s.setAttribute("label","English"),s.setAttribute("srclang",n.lang),s.setAttribute("kind","subtitles"),s.setAttribute("type","text/vtt"),n.lang===t.selectedLang&&s.setAttribute("default","true"),s.src=n.url,s.track&&(s.track.mode="hidden"),i.appendChild(s)})),this.node.appendChild(i)}},i.prototype.sy=function(){var t=this;if(this.node){this.vy=function(i){if(!t.ended){var n=i.type,s=p.RendererEvent[n.toUpperCase()];n===p.NativeVideoEvent.PLAYING&&t.node.paused||(n===p.NativeVideoEvent.VOLUMECHANGE&&t.publish(p.RendererEvent.VOLUMECHANGE,{volume:t.node.volume,mute:t.node.muted}),h.userAgent.iosWebView&&n===p.NativeVideoEvent.PAUSE&&t.py(),t.my(n,s))}}.bind(this),Object.keys(p.NativeVideoEvent).forEach((function(i){t.node.addEventListener(p.NativeVideoEvent[i],t.vy)})),h.userAgent.iphone&&!l.default.canPlayInline||(this.by=new d.default(this.node,(function(){t.publish(p.CustomRendererEvent.CLICK)}))),h.userAgent.safari>=8&&this.yy(),h.userAgent.ios&&this.gy(),l.default.airplaySupported&&this.iy.casting&&this.wy(),this.Sy={},this.Sy[a.FULLSCREEN_CHANGE]=this.ty.addEventListener(a.FULLSCREEN_CHANGE,(function(){t.node&&t.ty.publish(a.PLAYER_RESIZE,t.node.clientWidth,t.node.clientHeight)}),this)}},i.prototype.Ey=function(){var t=this;if(this.node){var i=this.node.play();return i&&"function"==typeof i.catch&&i.catch((function(i){t.node.paused})),i}},i.prototype.ly=function(){if(this.node)for(var t=this.node.querySelectorAll("track"),i=0;i<t.length;i++)this.node.removeChild(t[i])},i.prototype.Oy=function(t){var i=u.PLAYER_CODES.E_NATIVE_ERROR;if(!(t&&t instanceof MediaError))return i;switch(t.code){case MediaError.MEDIA_ERR_ABORTED:return u.PLAYER_CODES.E_NATIVE_ABORTED;case MediaError.MEDIA_ERR_NETWORK:return u.PLAYER_CODES.E_NATIVE_NETWORK_FAILURE;case MediaError.MEDIA_ERR_DECODE:return u.PLAYER_CODES.E_NATIVE_DECODE_ERROR;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:return u.PLAYER_CODES.E_NATIVE_SRC_NOT_SUPPORTED}return i},i.prototype.wy=function(){var t=this;if(l.default.airplaySupported&&this.node){var i=function(i){t.ty.publish(o.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,"available"===i.availability)},n=function(){t.ty.publish(o.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,{connected:t.isAirplaying(),isInitialEvt:!t.Ay}),t.Ay||(t.Ay=!0)};this.node.addEventListener("webkitplaybacktargetavailabilitychanged",i),this.node.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",n),this._y=function(){t.node&&(t.node.removeEventListener("webkitplaybacktargetavailabilitychanged",i),t.node.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",n))}}},i.prototype.yy=function(){var t=this;if(this.node&&this.node.textTracks){var i=function(i){var n=i.track;n&&("metadata"===n.kind?(n.mode="hidden",n.addEventListener("cuechange",(function(i){var n=i.target,s=n&&n.activeCues[0],e=s&&s.value&&s.value.data,r=s&&s.value&&s.value.info;if(r)e=r;else if("string"==typeof e)try{e=JSON.parse(e)}catch(t){}else e=e instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint8Array(e)):{};t.ty.publish(a.TIMED_METADATA_RECEIVED,e)}))):"subtitles"===n.kind&&t._b&&t.ty.publish(a.SUBTITLE_TRACK_RECEIVED,{itemId:t.Ty.id,track:n}))},n=function(t){for(var i=0,n=t&&t.srcElement;i<n.length;i++){var s=n[i];"metadata"===s.kind&&"disabled"===s.mode&&(s.mode="hidden")}};this.node.textTracks.addEventListener("addtrack",i),this.node.textTracks.addEventListener("change",n),this.My=function(){t.node&&t.node.textTracks&&(t.node.textTracks.removeEventListener("addtrack",i),t.node.textTracks.removeEventListener("change",n))}}},i.prototype.gy=function(){var t=this;if(this.node){var i=function(){t.publish(p.CustomRendererEvent.END_FULLSCREEN)};this.node.addEventListener("webkitendfullscreen",i),this.Iy=function(){t.Iy=null,t.node.removeEventListener("webkitendfullscreen",i)}}},i.prototype.uy=function(){var t=this;this.My&&this.My(),this.Iy&&this.Iy(),this._y&&this._y(),Object.keys(p.NativeVideoEvent).forEach((function(i){t.node&&t.node.removeEventListener(p.NativeVideoEvent[i],t.vy)})),this.by&&(this.by.destroy(),this.by=null),this.ty.removeEventListeners(this.Sy)},Object.defineProperty(i.prototype,"jy",{get:function(){return this.iy.playlist},enumerable:!0,configurable:!0}),i.prototype.Ny=function(){return this.jy.getCurrentItem()},Object.defineProperty(i.prototype,"_f",{get:function(){return this.iy.playbackState},enumerable:!0,configurable:!0}),i.prototype.ey=function(t){var i=this;t.__play||(t.__play=t.play.bind(t),t.play=function(){var n=t.__play();return n&&"function"==typeof n.catch&&n.catch((function(n){t.paused&&i.publish(p.CustomRendererEvent.PLAYBACK_START_BLOCKED)})),n})},i.prototype.py=function(){if(this.node){var t=this.node;!this.ny()&&t.controls&&(t.controls=!1)}},i.prototype.ny=function(){return this.iy.showControls&&!l.default.canPlayInline},i.type=p.RendererType.HTML5_RAW,i}(p.Renderer);i.default=m},"+Ojf":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("8PPl"),r=n("O/dN"),h=n("u8By"),o=n("yegX"),u=n("mczr"),a=n("fLR+"),c=function(){function t(){}return t.getWindow=function(){return window},t.getCssBuildUrl=function(i,n,s){var e="vdms-video-player.css",r=t.getWindow(),h="https:"===r.location.protocol?t.assetDomainHttps:t.assetDomainHttp;return s&&"fuji"!==s&&(e="vdms-video-player-"+s+".css"),i?"//"+r.location.host+"/"+e:"prod"===n?h+"/prod/"+e:h+"/builds/"+n+"/"+e},t.loadCssAsset=function(t,i,n,s){if(!document.getElementById(t)){var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("id",t),e.setAttribute("href",i),e.addEventListener("load",n),e.addEventListener("error",s),document.head.appendChild(e)}},t.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t.isValidRequestAction=function(t){return[null,e.REQUEST_TYPES.CLICK,e.REQUEST_TYPES.AUTOPLAY,e.REQUEST_TYPES.HOVER,e.REQUEST_TYPES.PLAY,e.REQUEST_TYPES.PAUSE,e.REQUEST_TYPES.SCROLL,e.REQUEST_TYPES.SWIPE,e.REQUEST_TYPES.BACKGROUND].indexOf(t)>-1},t.isValidRequestType=function(t){return[null,e.REQUEST_TYPES.CLICK,e.REQUEST_TYPES.AUTOPLAY,e.REQUEST_TYPES.API,e.REQUEST_TYPES.CONTINUOUS].indexOf(t)>-1},t.sanitizeAndUnescape=function(t){if(a.isNullOrUndefined(t))return"";var i=t.toString().replace(/<\/?[^>]+>/g,""),n=document.createElement("div");return n.innerHTML=i,n.textContent},t.getHostname=function(t){var i=document.createElement("a");return i.href=t,i.hostname},t.getFormat=function(t){var i=null;return t=t.toLowerCase(),["mpd","mp4","m3u8","webm","flv","f4m","mp4b","m3u8_playlist","m3u8_master","m3u8:fmp4"].forEach((function(n){-1!==t.indexOf(n)&&(i=n)})),i},t.extend=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return a.isObject(t)||(t={}),i.forEach((function(i){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])})),t},t.mergeStringEnums=function(t,i){return Object.assign({},t,i)},t.formatTime=function(t){var i=Math.floor(t/3600),n=Math.floor((t-3600*i)/60),s=Math.floor(t-3600*i-60*n),e=s<10?"0"+s:s.toString(),r="";if(i>0){var h=n<10?"0"+n:n.toString();r=i.toString()+":"+h+":"+e}else a.isNumber(n)&&(r=n.toString()+":"+e);return r},t.findClosest=function(t,i,n){for(var s=n||document,e=t.matches||t.msMatchesSelector||t.webkitMatchesSelector;t&&t!==s;t=t.parentNode)if(e.call(t,i))return t;return null},t.getOffsetLeftFromEl=function(t,i){for(var n=0;t;)isNaN(t.offsetLeft)||(n+=t.offsetLeft),t=t.offsetParent,i&&this.classList(t).contains(i)&&(t=null);return n},t.getOffsetLeftFromDocument=function(t){var i=document.body,n=document.documentElement,s=0,e=window.pageXOffset||n.scrollLeft||i.scrollLeft,r=n.clientLeft||i.clientLeft||0;try{var h=t.getBoundingClientRect();s=h?h.left:0}catch(t){}return Math.round(s+e-r)},t.getScriptUrl=function(i,n,s){var e,r=t.scriptType;t.scriptType||(r="min");var h="-"+r+".js";i?e="/"+s+h:e=("https:"===document.location.protocol?t.assetDomainHttps:t.assetDomainHttp)+"/rx/builds/"+n+"/"+s+h;return e},t.createErr=function(t,i,n,e,h,o,u){return new r.default(t,n,e,{playbackState:i,msg:h,debugMsg:o,prefetch:u},s.userAgent)},t.insertCssIntoHead=function(t){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.appendChild(document.createTextNode(t)),i.appendChild(n)},t.classList=function(t){if(t&&t.classList)return t.classList;function i(i){return function(n){var s=t&&a.isString(t.className)?t.className.split(/\s+/):[],e=s.indexOf(n),r=i(s,e,n);return t&&a.isString(t.className)&&(t.className=s.join(" ")),r}}return{add:i((function(t,i,n){~i||t.push(n)})),remove:i((function(t,i){~i&&t.splice(i,1)})),toggle:i((function(t,i,n){~i?t.splice(i,1):t.push(n)})),contains:i((function(t,i){return!!~i}))}},t.render=function(t,i,n){var s=document.createElement("div");return s.innerHTML=t.render(i,n),s.children[0]},t.getFullscreenElement=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitCurrentFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},t.fixProtocol=function(t){return s.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.setSingleton=function(t,i){window.VDMS=window.VDMS||{},window.VDMS.VideoPlayer=window.VDMS.VideoPlayer||{},window.VDMS.VideoPlayer[t]=i},t.getSingleton=function(t){return window.VDMS&&window.VDMS.VideoPlayer&&window.VDMS.VideoPlayer[t]?window.VDMS.VideoPlayer[t]:null},t.getAssetUrl=function(i,n,s){var e="https:"===t.getWindow().location.protocol?t.assetDomainHttps:t.assetDomainHttp;return i?"/"+s:e+"/rx/builds/"+n+"/assets/"+s},t.parseDomain=function(t){var i=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(t);return i?i[1]:null},t.getElementViewability=function(t){try{var i=t.getBoundingClientRect();if(!i||0===i.height||0===i.width)return 0;var n=void 0,s=window.innerHeight;return n=i.top>=0?i.bottom>s?s-i.top>0?s-i.top:0:i.height:i.bottom>s?s:i.bottom<0?0:i.bottom,Math.round(n/i.height*100)}catch(t){return 0}},t.hasUnwatchedClips=function(t){return!1},t.isIFrame=function(){var i=t.getWindow();try{return i.top!==i.self}catch(t){return!0}},t.isPlayerInBackground=function(){return this.hidden||(void 0!==document.hidden?this.hidden="hidden":void 0!==document.mozHidden?this.hidden="mozHidden":void 0!==document.msHidden?this.hidden="msHidden":void 0!==document.webkitHidden?this.hidden="webkitHidden":this.hidden="unsupported"),"unsupported"===this.hidden?!document.hasFocus():document[this.hidden]},t.isAdBreakType=function(t){return t===h.AdBreakType.PREROLL||t===h.AdBreakType.MIDROLL||t===h.AdBreakType.POSTROLL||t===h.AdBreakType.TRIGGER||t===h.AdBreakType.NON_LINEAR||t===h.AdBreakType.NATIVE},t.strSubstitute=function(t,i){return t.replace(/\{([^\{\}]*)\}/g,(function(t,n){var s="function"==typeof i?i(n):i[n];return a.isNullOrUndefined(s)?t:s}))},t.querystring=function(i,n,s,e){return n=n||"&",s=s||"=",e=e||encodeURIComponent,i?(a.isObject(i)&&(i=[i]),i.map((function(i){return Object.keys(i).map((function(r){var h=e(t.stringifyPrimitive(r));return null===i[r]?h:(h+=s,a.isArray(i[r])?i[r].map((function(i){return h+e(t.stringifyPrimitive(i))})).join(n):h+e(t.stringifyPrimitive(i[r])))})).join(n)})).join(n)):""},t.getHostUrl=function(){var t=document.referrer;try{window.top.location.href&&(t=window.top.location.href)}catch(t){}return t},t.stringifyPrimitive=function(t){return a.isString(t)?t:a.isBoolean(t)||a.isNumber(t)&&isFinite(t)?t.toString():""},t.forceDOMRedrawOnElement=function(t){t&&t.offsetHeight},t.uniquifyArray=function(t){return t.filter((function(t,i,n){return n.indexOf(t)===i}))},t.replaceStrParam=function(t,i,n){return t.replace(new RegExp(i+"=\\w*"),i+"="+n)},t.parseRootHost=function(i){var n=t.parseDomain(i),s="";if(n){var e=n.split(".");s=e.length>=2?e[e.length-2]:n}return s},t.redirect=function(t,i){try{i?window.top.location.replace(t):window.top.location.assign(t)}catch(t){window.DOMException}},t.noop=function(){},t.createVideoNode=function(){var t=document.createElement("div");return s.userAgent.tv?t.innerHTML='<video preload="meta" crossorigin="anonymous"><source/></video>':t.innerHTML="<video preload></video>",t.children[0]},t.getUrlStatus=function(t,i){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onreadystatechange=function(){4===n.readyState&&i(n.status)},n.send()},t.bucketize=function(){return Math.floor(100*Math.random())},t.once=function(t){var i=this,n=function(){var s=Array.prototype.slice.call(arguments);return n.called||(n.called=!0,n.value=t.apply(i,s)),n.value};return n.called=!1,n},t.appendQueryString=function(t,i){var n=-1===t.indexOf("?")?"?":"&",s=[];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&s.push(e+"="+i[e]);return t+n+s.join("&")},t.cssHexToRgb=function(t){var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null},t.decimalToHexString=function(t,i,n){var s=Number(t).toString(16).toUpperCase();return i?s.padStart(i,n):s},t.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},t.deepCopy=function(t){var i=this;if(a.isNullOrUndefined(t))return t;var n={};return Object.keys(t).forEach((function(s){a.isArray(t[s])?n[s]=t[s].slice():a.isObject(t[s])?n[s]=i.deepCopy(t[s]):n[s]=t[s]})),n},t.mergeObjects=function(i,n,s){if(void 0===s&&(s=!1),a.isNullOrUndefined(i))return n;for(var e in n)if(a.isObject(i[e]))i[e]=this.mergeObjects(i[e],n[e],s);else if(void 0===i[e]||s){var r=n[e];a.isArray(r)?i[e]=r.slice():a.isObject(r)?i[e]=t.deepCopy(r):i[e]=r}return i},t.stringToArray16=function(t){for(var i=new ArrayBuffer(2*t.length),n=new Uint16Array(i),s=0,e=t.length;s<e;s++)n[s]=t.charCodeAt(s);return n},t.array16ToString=function(t){var i=new Uint16Array(t.buffer);return String.fromCharCode.apply(null,i)},t.base64DecodeUint8Array=function(t){for(var i=window.atob(t),n=i.length,s=new Uint8Array(new ArrayBuffer(n)),e=0;e<n;e++)s[e]=i.charCodeAt(e);return s},t.base64EncodeUint8Array=function(t){for(var i,n,s,e,r,h,o,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="",c=0;c<t.length;)e=(i=t[c++])>>2,r=(3&i)<<4|(n=c<t.length?t[c++]:Number.NaN)>>4,h=(15&n)<<2|(s=c<t.length?t[c++]:Number.NaN)>>6,o=63&s,isNaN(n)?h=o=64:isNaN(s)&&(o=64),a+=u.charAt(e)+u.charAt(r)+u.charAt(h)+u.charAt(o);return a},t.getResourceLoadTime=function(t){if(window.performance&&window.performance.getEntriesByType){var i=window.performance.getEntriesByType("resource"),n=void 0;for(n in i)if(i[n]&&i[n].name&&i[n].name.match(t))return i[n].duration}return null},t.getPlaybackMode=function(t){return t instanceof o.default?u.PlaybackMode.AD:u.PlaybackMode.VIDEO},t.getAdBreakStartOffset=function(t){var i=[];return t.forEach((function(n,s){var e,r=n.adBreakItems&&n.adBreakItems.some((function(t){return!!t.instream}));if(s>0&&r){for(var h=0,o=1;o<=s;o++)h+=t[o-1].duration;e=n.startOffset-h}else e=n.startOffset;var u={adBreakId:n.adBreakId,startOffset:e,type:n.type};i.push(u)})),i},t.detectRegexPattern=function(t,i){var n=new RegExp(t).exec(i);return n&&n[0]?n[0]:null},t.extractID3Data=function(t){if(!t||!t.length)return null;var i=0;for(i=0;i<t.length&&!(t[i]>31);i++);var n=0;for(n=t.length-1;n>=0&&!(t[n]<=31);n--);n=n<i?t.length:n;var s=t.subarray(i,n);return String.fromCharCode.apply(null,s)},t.initIframeCmp=function(){if(!window.__cmp){for(var t,i=window;!t;){try{i.frames.__cmpLocator&&(t=i)}catch(t){}if(i===window.top)break;i=i.parent}var n={};window.__cmp=function(i,s,e){if(t){var r=Math.random()+"",h={__cmpCall:{command:i,parameter:s,callId:r}};n[r]=e,t.postMessage(h,"*")}else e({msg:"CMP not found"},!1)},window.addEventListener("message",(function(t){var i="string"==typeof t.data,s=t.data;if(i)try{s=JSON.parse(t.data)}catch(t){}if(s.__cmpReturn){var e=s.__cmpReturn;n[e.callId](e.returnValue,e.success),delete n[e.callId]}}),!1)}},t.areDimensionsEqual=function(t,i){return t.width===i.width&&t.height===i.height&&t.videoWidth===i.videoWidth&&t.videoHeight===i.videoHeight},t.assetDomainHttp="http://assets.video.yahoo.net",t.assetDomainHttps="https://assets.video.yahoo.net",t.scriptType="PLAYER_DEBUG_TYPE",t.yuiAdded=!1,t}();i.default=c},"+SyR":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.Ry=t,this.jy=this.Ry.getPlaylist()}return t.prototype.getMediaItems=function(){return this.jy.getItems()},t.prototype.removeAllMediaItems=function(){var t=this.jy.size;this.jy.removeItems(0,t)},t.prototype.removeMediaItems=function(t){var i=this;t.forEach((function(t){var n=i.jy.getItemPosition(t.id);i.jy.removeItems(n,1)}))},t.prototype.insertMediaItems=function(t,i){if(Array.isArray(t)){for(var n=this.ky(t),s=i,e=0,r=t;e<r.length;e++){var h=r[e];this.jy.addItemAtIndex(h,s),s++}n&&this.Ry.fetchMetadata()}},t.prototype.appendMediaItems=function(t){if(Array.isArray(t)){var i=this.ky(t);this.jy.addItems(t),i&&this.Ry.fetchMetadata()}},t.prototype.getCurrentMediaItem=function(){return this.jy.getCurrentItem()},t.prototype.getMediaItemMarkers=function(t){var i=this.Ry.mediaStore.getById(t);return i&&i.getMarkers()},t.prototype.setCurrentMediaItem=function(t){if(this.Ry.mediaStore.get(t.id)){var i=this.jy.getItemPosition(t.id);this.jy.setPosition(i)}else this.jy.addItems([t]),this.Ry.fetchMetadata(),this.jy.setPosition(this.jy.size-1)},t.prototype.setMediaItemTitle=function(t,i){var n=this.jy.getMediaItemById(t);n&&(n.title=i)},t.prototype.ky=function(t){var i=this.Ry.mediaStore;return t.filter((function(t){var n=t.id;return null===i.get(n)})).length>0},t}();i.default=s},"+kCX":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("BZeT"),h=n("ToqN"),o=n("A4+F"),u=n("8PPl"),a=n("O/dN"),c=n("oIMU"),f=n("oIMU"),l=n("mczr"),v=n("1get"),d=n("fLR+"),p=n("+Ojf"),m=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.Ly(),e}return e(i,t),i.canUse=function(){return v.default.useHtml5MseDefault()&&v.default.isHtml5MseAvailable()},i.prototype.create=function(i){this.node=t.prototype.create.call(this,i);var n=this.Dy();return this.Cy=new r(this.node,n),this.node},i.prototype.play=function(t){void 0===t&&(t=0),this.ended=!1,this.seeking=!1,this.ty.publish(c.PROFILE_START,f.METRICS.STREAM_PLAY_TO_RENDER),this.Cy.play(t)},i.prototype.pause=function(){this.Cy.pause()},i.prototype.preload=function(t){!t||d.isNumber(t.startOffset)&&t.startOffset>0||this.Cy.preload(t.bufferLimit)},i.prototype.setPlayableItem=function(t,i){var n=this;if(void 0===i&&(i=0),!t)return!1;if(this.Ty==t)return!0;this.Ly(),this.Py=p.default.getPlaybackMode(t);var s,e=t.isLive(),r=t.streamProfiles;if(r&&r.length||(r=t.streams),!r)return!1;var o=[];if(r.forEach((function(t){t&&t.format&&t.format.indexOf("m3u8")>=0?(t.hls_info=t.hlsInfo,o.push(t),n.xy="hls"):t&&t.format&&t.format.indexOf("mpd")>=0&&(s=t.url,n.xy="dash")})),"hls"===this.xy){var u=[];if(t.altStreams&&(t.altStreams=this.Uy(t.altStreams),t.altStreams.forEach((function(t){u.push(t)}))),this.ty.publish(c.PROFILE_START,f.METRICS.STREAM_REQUEST_TO_RENDER),this.Py===l.PlaybackMode.VIDEO&&this.ty.publish(c.PROFILE_START,f.METRICS.LOAD_TO_LOADED_DATA),o.length>0)return this.Cy.setSrc({streams:o,altStreams:u,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e}),this.Ty=t,!0}else if("dash"===this.xy){if(59===h.userAgent.firefox){var v=p.default.createErr(a.ErrorGroup.Streaming,this._f,a.E_PLAYER_JS_HLS,a.PLAYER_JS_HLS_CODES.MEDIA_ERR_DECODE);return this.publish(l.RendererEvent.ERROR,v),!1}if(null!==s)return this.Cy.setSrc({url:s,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e}),this.Ty=t,!0}return!1},i.prototype.waitForReady=function(t){t()},i.prototype.getCurrentDate=function(){return this.Cy.getCurrentDate()},i.prototype.setQuality=function(t){this.Cy.setQuality(t)},i.prototype.setAudioLanguage=function(t){this.Cy.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.Cy.unload()},i.prototype.bindCustomEvents=function(){var t=this;if(this.node){this.unbindCustomEvents();this.Vy=function(i){var n=i.type;t.By(n,i)}.bind(this),Object.keys(f.HLSVideoEvent).forEach((function(i){t.node&&t.node.addEventListener(f.HLSVideoEvent[i],t.Vy)}))}},i.prototype.unbindCustomEvents=function(){var t=this;this.node&&Object.keys(f.HLSVideoEvent).forEach((function(i){t.node&&t.node.removeEventListener(f.HLSVideoEvent[i],t.Vy)}))},i.prototype.bindPlaybackEvents=function(){},i.prototype.unbindPlaybackEvents=function(){},i.prototype.suspendStreaming=function(){this.Cy&&this.Cy.suspendStreaming()},i.prototype.resumeStreaming=function(){this.Cy&&this.Cy.resumeStreaming()},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.Cy&&this.Cy.destroy()},i.prototype.sy=function(){t.prototype.sy.call(this),this.bindCustomEvents()},i.prototype.uy=function(){t.prototype.uy.call(this),this.unbindCustomEvents()},i.prototype.my=function(t,i){switch(t===l.NativeVideoEvent.PLAYING&&this.ty.publish(c.PROFILE_END,[f.METRICS.STREAM_PLAY_TO_RENDER,f.METRICS.STREAM_REQUEST_TO_RENDER]),t){case l.NativeVideoEvent.SEEKING:case l.NativeVideoEvent.SEEKED:this.node&&this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered});break;case l.NativeVideoEvent.ERROR:if(!this.node)return;var n=this.node.error,s=this.Cy.error||{},e=void 0,r=void 0;d.isNumber(s.code)?(e=s.code.toString(),r=s.message):(e=n.code.toString(),r=n.message);var h=p.default.createErr(a.ErrorGroup.Streaming,this._f,a.E_PLAYER_JS_HLS,e,null,r);this.publish(l.RendererEvent.ERROR,h);break;case l.NativeVideoEvent.ENDED:this.ended=!0;var o=this.Ny();if(!o)return;o.isLive()&&this.ty.publish(c.WARNING,p.default.createErr(a.ErrorGroup.Streaming,this._f,a.E_WARNING,a.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE),!0),this.publish(i);break;case l.NativeVideoEvent.PAUSE:if(this.ended)break;if(this.seeking)break;this.publish(i);break;case l.NativeVideoEvent.PLAY:this.Fy=!1,this.publish(i);break;case l.NativeVideoEvent.PLAYING:this.Fy=!0,this.publish(i);break;case l.NativeVideoEvent.TIMEUPDATE:if(!this.node)return;this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.Fy||(this.Fy=!0,this.publish(l.RendererEvent.PLAYING));break;case l.NativeVideoEvent.LOADEDDATA:this.ty.publish(c.PROFILE_END,f.METRICS.LOAD_TO_LOADED_DATA),this.publish(i);break;case l.NativeVideoEvent.WAITING:case l.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.By=function(t,i){var n;switch(t){case f.HLSVideoEvent.INFO_UPDATE:if(this.oy){var s=i.detail.mediaInfo,e=s.currentStreamBitrate;0===this.iy.bitrate&&e>0&&this.ty.publish(o.ExternalEvt.BITRATE_CHANGE,e,{}),s.drmsys&&s.drm&&(this.iy.isDrmAvailable=s.drm,this.iy.drmSystem=s.drmsys),this.ty.publish(c.PLAYBACK_INFO,s)}break;case f.HLSVideoEvent.STREAM_SWITCHED:var r=i.detail.bitrate,h={reason:i.detail.reason,oldFrameRate:i.detail.oldFrameRate,newFrameRate:i.detail.newFrameRate};this.ty.publish(o.ExternalEvt.BITRATE_CHANGE,r,h);break;case f.HLSVideoEvent.HLS_WAITING:i&&i.detail&&!d.isNullOrUndefined(i.detail.bufferInit)&&this.publish(l.RendererEvent.WAITING,{value:i.detail.value,ignoreBuffering:i.detail.bufferInit});break;case f.HLSVideoEvent.SEGMENT_FIRST_BYTE_LOADED:this.ty.publish(c.SEGMENT_FIRST_BYTE_LOADED,i.detail);break;case f.HLSVideoEvent.SEGMENT_RENDERED:var v=this.Cy.getSegInfo();v&&v.segInfo&&this.zy(v);break;case f.HLSVideoEvent.VTT_SEGMENT_LOADED:var m=this.iy?this.jy:null;if(i.detail&&m){var b=void 0;if(this._f.ad)b=this.Ty.id;else{var y=m.getMediaItemBySessionId(i.detail.sessionId);b=y?y.id:null}i.detail.itemId=b}this.ty.publish(c.VTT_SEGMENT_LOADED,i.detail);break;case f.HLSVideoEvent.LIVE_LOADING_LATE:this.ty.publish(c.LIVE_LOADING_LATE);break;case f.HLSVideoEvent.STREAM_UPDATED:this.ty.publish(c.MEDIA_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.CUEPOINT_DETECTED:this.ty.publish(o.ExternalEvt.CUEPOINT_DETECTED,i.detail.cuepointDuration,i.detail.timeGapBeforeCUEOUT);break;case f.HLSVideoEvent.CUEPOINT_STARTED:this.ty.publish(o.ExternalEvt.CUEPOINT_STARTED,i.detail.cuepointDuration,i.detail.cuepointPlayedTime);break;case f.HLSVideoEvent.SUBTITLE_STREAM_UPDATED:this.ty.publish(c.SUBTITLE_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.PRELOAD_PROGRESS:this.ty.publish(c.PROFILE_END,f.METRICS.STREAM_REQUEST_TO_RENDER),this.ty.publish(c.PRELOAD_PROGRESS);break;case f.HLSVideoEvent.SEGINFO_METRICS_AVAILABLE:this.zy(i.detail);break;case f.HLSVideoEvent.CONTENT_LOAD_FINISHED:this.ty.publish(c.CONTENT_LOAD_FINISHED,i.detail);break;case f.HLSVideoEvent.PRELOAD_START:this.ty.publish(c.PRELOAD_START);break;case f.HLSVideoEvent.PRELOAD_COMPLETE:this.ty.publish(c.PRELOAD_COMPLETE);break;case f.HLSVideoEvent.BUFFER_GROWTH_DETECTED:this.ty.publish(c.BUFFER_GROWTH_DETECTED,i.detail);break;case f.HLSVideoEvent.CC_VTT_AVAILABLE:(n=this.jy.getMediaItemBySessionId(i.detail.sessionId))&&n.setCCAvailability(!0);break;case f.HLSVideoEvent.MULTI_LANGUAGES_AVAILABLE:(n=this.jy.getMediaItemBySessionId(i.detail.sessionId))&&n.setMultiLanguages(i.detail.languages),this.ty.publish(c.MULTI_LANGUAGES_AVAILABLE);break;case f.HLSVideoEvent.MEDIA_METADATA_LOADED:var g=this.iy.bitrates,w=this.iy.heights;this.iy.bitrates=g&&g.length?g:i.detail.map((function(t){return t.bitrate/1e3})),this.iy.heights=w&&w.length?w:i.detail.map((function(t){return t.height}));break;case f.HLSVideoEvent.TIMED_METADATA_READY:var S=p.default.extractID3Data(i.detail.data);if(S){var E=p.default.detectRegexPattern(u.ID3_MATCH_PATTERN.JSON,S);if(E)try{S=JSON.parse(E)}catch(t){}this.ty.publish(c.TIMED_METADATA_RECEIVED,S)}break;case f.HLSVideoEvent.BUFFER_GAP_DETECTED:var O=p.default.createErr(a.ErrorGroup.Streaming,this._f,a.E_WARNING,a.WARNING_CODES.E_BUFFER_GAP);this.ty.publish(c.WARNING,O)}},i.prototype.Dy=function(){return this.Hy=!1,{useWorker:!0,sendAbrAnalytics:this.Hy,stopBufferingOnPause:this.iy.stopBufferingOnPause,dimensions:{width:this.iy.uiState.width,height:this.iy.uiState.height}}},i.prototype.Yy=function(){var t=document.getElementsByClassName(u.VIDEO_MAIN_ELEMENT_CLASS);return!p.default.isPlayerInBackground()&&t&&t.length>0&&0!==p.default.getElementViewability(t[0])},i.prototype.Uy=function(t){if(!t)return t;var i={};return t.filter((function(t){var n=t.type+"_"+t.host+t.path;return!i[n]&&(i[n]=1,!0)}))},i.prototype.zy=function(t){var i=t.segInfo,n=t.sessionId,s=this.Yy();i.forEach((function(t){t.vis=s})),this.ty.publish(c.SEG_INFO_AVAILABLE,{val:i,session:n,bufferLen:t.bufferLen})},i.prototype.Ly=function(){this.Ty=null,this.xy=null,this.Py=l.PlaybackMode.VIDEO,this.Fy=!0,this.seeking=!1,this.ended=!1},i.type=l.RendererType.HTML5_HLS,i}(n("+NrX").default);i.default=m},"+orS":function(t,i,n){"use strict";var s=n("5yHC");i.apply=function(){e()};var e=function(){function t(t,i){i=i||{bubbles:!1,cancelable:!1,detail:void 0};var n=window.document.createEvent("CustomEvent");return n.initCustomEvent(t,i.bubbles,i.cancelable,i.detail),n}!s.ie&&window.CustomEvent||(t.prototype=window.Event.prototype,window.CustomEvent=t)}},"+uLo":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=function(t){function i(i,n){void 0===n&&(n=0);var s=t.call(this,"Timer")||this;if(!i||isNaN(i))throw new Error("Invalid Argument: No delay");return s.delay=Math.max(i,20),s.Gy=n>0?n:Number.POSITIVE_INFINITY,s.Wy=0,s.running=!1,s.startTime=0,s.qy=null,s.Xy={},s.Sy={},s}return e(i,t),i.prototype.destroy=function(){this.reset(),this.Xy={},t.prototype.removeEventListeners.call(this,this.Sy),t.prototype.destroy.call(this)},i.prototype.addEventListener=function(n,s,e){if(void 0===n&&(n=i.TIMER_EVENT),!e)throw new Error("Invalid Argument: No context");var r=t.prototype.addEventListener.call(this,n,s,e);return this.Sy[n]=r,r},i.prototype.removeEventListener=function(n,s){void 0===n&&(n=i.TIMER_EVENT),void 0===s&&(s=""),t.prototype.removeEventListeners.call(this,this.Sy)},i.prototype.start=function(){var t=this;this.qy||this.running||(this.qy=window.setInterval((function(){t.Wy++,t.Wy>=t.Gy&&t.stop(),t.publish(i.TIMER_EVENT),t.startTime=Date.now()}),this.delay),this.startTime=Date.now(),this.running=!0)},i.prototype.stop=function(){this.qy&&this.running&&(window.clearInterval(this.qy),this.qy=null,this.running=!1,this.startTime=0)},i.prototype.reset=function(){this.stop(),this.Wy=0,this.startTime=0},i.TIMER_EVENT="timedOut",i}(n("JcWZ").default);i.default=r},"/7QA":function(t,i,n){"use strict";var s,e;Object.defineProperty(i,"__esModule",{value:!0});var r=n("xkpU");r.objectAssignPolyfill(),r.arrayIncludesPolyfill();var h=n("t8Yn"),o=n("Krh1"),u=n("9rUw"),a=n("c+yx"),c=window,f=["OATH"];a.default.isYahooDomain()&&f.push("YAHOO"),f.forEach((function(t){c[t]=c[t]||{},c[t].VideoPlatform=c[t].VideoPlatform||{},c[t].VideoPlatform.VideoPlayer=u.default,c[t].VideoPlatform.Events=Object.assign({},o.API,h.Events),"YAHOO"===t&&(c[t].VideoPlatform.API_Events=c[t].VideoPlatform.Events)})),window.replaceOathPlayerSrc=function(t){var i=t.substring(t.lastIndexOf("/")+1),n=i.substring(0,i.indexOf("."));if(!t.includes("assets.video.yahoo.net"))return"/"+i;switch(n){case"vendors~three":return"https://assets.video.yahoo.net/oath/three/0.83.0/"+i;default:return t}},null===(e=null===(s=window.performance)||void 0===s?void 0:s.mark)||void 0===e||e.call(s,"vplayerjsready")},"/Ggr":function(t,i,n){"use strict";t.exports=u;var s=n("sjSS"),e=n("4rDT"),r=n("9nRl"),h=n("lPOR"),o=n("KtsB");function u(t,i){this.Qy=t,this.Zy=i,this.Jy=t.noDemux?null:new s(t.demux,this.processSegmentData.bind(this)),this.Ky=new e,this.DEFAULT_WIDTH=640,this.DEFAULT_HEIGHT=360,this.GAP_EPSILON=100,this.$y=this.Qy.startOffsetTimestamp,this._g=this.Qy.lastChunkEndTs||{audio:NaN,video:NaN},this.Xg=this.Qy.lastFrameDuration||{audio:NaN,video:NaN},this.Mw=this.Qy.isAltAudioActive,this.Kw=this.Qy.prevSegEndTimeStamps;var n=this.Qy.mp4State;this.tS={audio:!n||!n.audio||n.audio.shouldInit,video:!n||!n.video||n.video.shouldInit},this.iS={audio:0,video:0},this.nS={audio:{dts:NaN,pts:NaN},video:{dts:NaN,pts:NaN}}}u.prototype.destroy=function(){this.Jy&&(this.Jy.destroy(),this.Jy=null),this.Ky.destroy()},u.prototype.close=function(){this.Jy&&this.Jy.destroy()},u.prototype.append=function(t){this.Jy&&this.Jy.append(t)},u.prototype.endOfSegment=function(){this.Jy&&this.Jy.endOfSegment()},u.prototype.processSegmentData=function(t){if(t&&!t.error){var i,n=t.avData,s=t.pos,e=t.timedMetadata,r=this.Qy.startTime,u=this.Qy.timescale;if(n){var a=this.Qy.pcr;(null==a||isNaN(a))&&(this.Qy.pcr=a=n.pcr-r*u);var c=[],f=n.audio,l=n.video,v=null,d=0,p=[];if(f&&f.frames&&f.frames.length&&!this.Mw&&(f.type="audio",f.config.timescale=u,f.config.duration=this.Qy.duration*f.config.timescale,f.config.useEditBox=this.Qy.useEditBox,this.sS("audio",f.frames[0],a,r,u),d=a+this.iS.audio,f.frames.forEach((function(t){t.dts-=d,t.pts-=d})),f.startTime=f.frames[0].dts,f.endTime=f.frames[f.frames.length-1].dts,c.push(f)),l&&l.frames&&l.frames.length){if(l.type="video",l.config.timescale=u,l.config.duration=this.Qy.duration*l.config.timescale,l.config.width=this.Qy.width||this.DEFAULT_WIDTH,l.config.height=this.Qy.height||this.DEFAULT_HEIGHT,l.config.useEditBox=this.Qy.useEditBox,l.frames.length>1){var m=l.frames[1].dts-l.frames[0].dts;l.config.frameRate=l.config.timescale/m,this.Qy.frameRate=l.config.frameRate}this.sS("video",l.frames[0],a,r,u),d=a+this.iS.video,l.frames.forEach((function(t){t.dts-=d,t.pts-=d})),l.startTime=l.frames[0].dts,l.endTime=l.frames[l.frames.length-1].dts,v=l.frames[0].pts,c.push(l);for(var b=0;b<l.frames.length;b++)for(var y=0;y<l.frames[b].cea608Data.length;y++){var g=l.frames[b].cea608Data[y];g.pts=l.frames[b].pts,g.dts=l.frames[b].dts,g.timescale=l.config.timescale,p.push(g)}}i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.APPEND_SRC_BUFFER});var w={};w.position=this.position=s,w.pcr=a,w.frameRate=this.Qy.frameRate,"number"!=typeof this.$y&&"number"==typeof v&&(this.$y=v),w.startOffsetTimestamp=this.$y;var S=this.eS(c);w.lastChunkEndTs=this._g,w.lastFrameDuration=this.Xg,i.putParam("parsedInfo",w);var E=[];S&&S.tracks&&(i.putParam("tracks",S.tracks),S.tracks.forEach((function(t){E.push(t.data.buffer)})),p&&p.length>0&&i.putParam("cea608TrackData",p),i.putParam("transferables",E))}else{if(!e)return;e.timestamp=(e.pts-this.Qy.pcr)/u,delete e.pts,(i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.TIMED_METADATA})).putParam("timedMetadata",e)}this.Zy&&this.Zy(i)}},u.prototype.sS=function(t,i,n,s,e){var r=this.Qy.discontinuity,h=this.nS[t];isNaN(h.dts)&&isNaN(h.pts)&&(this.nS[t]={dts:i.dts-n,pts:i.pts-n});var o=this.iS[t];if(r&&0===o){var u=this.Kw?this.Kw.audio:NaN;s=isNaN(u)?s*e:u,this.iS[t]=this.nS[t].dts-s}},u.prototype.eS=function(t){var i=this;if(t&&t.length){var n={tracks:[]};return t.forEach((function(t){if(t){t.config.offset=i.Qy.live?0:i.$y;var s=i.Qy.mp4State,e=i.tS[t.type];t.config.shouldInit=r.isNullOrUndefined(e)?"start"===i.position:e,t.config.seqNum=s[t.type]?s[t.type].seqNum++:0,"video"===t.type?t.config.defaultFrameDuration=i.Qy.timescale/i.Qy.frameRate:"audio"===t.type&&(t.config.defaultFrameDuration=Math.ceil(1024*i.Qy.timescale/t.config.samplingFreq)),i.rS(t.type,t.frames,t.config.defaultFrameDuration),i.tS[t.type]=!1,i.Qy.onlyMetadata&&(t.frames=[]);var h=i.Ky.generate(t);h.onlyMetadata=i.Qy.onlyMetadata,n.tracks.push(h)}})),n}},u.prototype.rS=function(t,i,n){if(i&&i.length){var s=i[i.length-1].dts,e=i[0].dts;if(r.isNumber(this._g[t])&&!isNaN(this._g[t])){var h=e-this._g[t],o=Math.ceil(2*this.Xg[t])-this.GAP_EPSILON,u=Math.ceil(10*this.Xg[t]);if(h>o);else if(h<this.Xg[t]-this.GAP_EPSILON&&"audio"===t){var a=this._g[t]+this.Xg[t];a-e>n&&(a=e+n-1),i[0].pts=a,i[0].dts=i[0].pts}if(h>o&&h<u)for(var c=Math.floor(h/n),f=0;f<c;f++){var l=i[0].pts,v=i[0].dts;i.unshift(r.deepCopy(i[0])),i[0].pts=l-n,i[0].dts=v-n}}this._g[t]=s,this.Xg[t]=n}}},"/iNa":function(t,i,n){"use strict";var s=t.exports={};s.inherits=function(t,i){t.super_=i,t.prototype=Object.create(i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},s.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},s.base64ToBuffer=function(t){return new Uint8Array(atob(t).split("").map((function(t){return t.charCodeAt(0)})))},s.arrayToUint8Array=function(t){for(var i=t.length,n=new Uint8Array(i),s=new DataView(n.buffer),e=0;e<i;e++)s.setUint8(e,t[e]);return n},s.isDrmItemContained=function(t,i){if(!t||!i||0===i.length)return!1;for(var n=0;n<i.length;n++)if(t.widevine.pssh===i[n].widevine.pssh)return!0;return!1},s.isAbsoluteUrl=function(t){return 0===t.indexOf("http")},s.isUplynk=function(t){return!(!t||!t.length)&&((t=t.toLowerCase()).indexOf("uplynk.com")>-1||t.indexOf("downlynk.com")>-1||t.indexOf("uplynk.localhost")>-1||t.indexOf("downlynk.localhost")>-1)},s.isWithCreds=function(t){return t&&t.length&&s.isUplynk(t)&&t.indexOf("expand=finance")>-1}},"/jeC":function(t,i){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE1IDI5LjA5MnMuNjI0LTEuMDggMS4yMzQtMS42NjhjLjg2Mi0uODI3IDIuMDg0LTEuMzQ2IDMuNzM2LTEuNTg0IDIuMDczLS4zIDMuNTc2LTEgNC40NjMtMi4wNzIuNzE1LS44NzIuODIzLTEuNzQuODI1LTIuMTg0VjQuMTE0aC0uNjgzYy0uODguNjMtMi41NjggMS40OTMtNC43MzguOTU4QzE2LjA3NSA0LjE0OCAxNSAuOTA2IDE1IC45MDZzLTEuMDc2IDMuMjQtNC44MzcgNC4xNjZjLTIuMTczLjUzNS0zLjg2LS4zMy00Ljc0Mi0uOTZoLS42Nzh2MTcuNDcyYzAgLjQ0LjEwOCAxLjMxMi44MjUgMi4xODQuODg1IDEuMDcyIDIuMzg2IDEuNzcgNC40NiAyLjA3MiAxLjY1NS4yMzggMi44NzYuNzU3IDMuNzM4IDEuNTg4LjYzMy42MDggMS4yMzQgMS42NjQgMS4yMzQgMS42NjQiLz48cGF0aCBmaWxsPSIjMDEzNzY5IiBkPSJNMjQuNjQgNC43OTZzLTIuMDU2IDEuNi00Ljk1Ljg3NUMxNi4zMSA0LjgzIDE1IDIuMjk4IDE1IDIuMjk4cy0xLjMxMiAyLjUzLTQuNjkgMy4zNzRjLTIuODk3LjcyNS00Ljk1My0uODc0LTQuOTUzLS44NzR2MTYuNzg4YzAgLjU3LjI0IDIuOTkzIDQuNzU4IDMuNjQ2IDEuNzg2LjI2IDMuMTIuODMyIDQuMDc4IDEuNzU0LjM0NC4zMy42MDYuNjY2LjgwNS45NzguMi0uMzEyLjQ2LS42NDguODA4LS45NzguOTU2LS45MjIgMi4yOS0xLjQ5NCA0LjA3NC0xLjc1NCA0LjUyLS42NTIgNC43Ni0zLjA3NiA0Ljc2LTMuNjQ2VjQuNzk2eiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xNSAyNi4yNTNzMS4zMS0xLjYyMiA0LjcyLTIuMTQ3YzMuOTAzLS42IDMuNzg4LTIuNDMzIDMuNzg4LTIuNTI1di04Ljc5NGwtMTcuMDIuMDAydjguNzkyYzAgLjA5My0uMTEyIDEuOTI1IDMuNzkgMi41MjUgMy40MS41MjYgNC43MiAyLjE0OCA0LjcyIDIuMTQ4Ii8+PHBhdGggZmlsbD0iI0Q1MEEwQSIgZD0iTTExLjAzIDE5LjIxM3YtNC4xOGwtLjUyMy0uMjk1VjEzLjY1aDIuMzl2MS4wODhsLS41LjI5NXY4LjUzbC0xLjI3OC0uMzg0LTEuODQ3LTUuNDV2My41OWwuNTg2LjQ1MnYxLjExbC0yLjU2NS0uNjU3di0uOTRsLjU4Ni0uMjMydi02LjAxNWwtLjYtLjNWMTMuNjVoMS45NE0xNS40MzIgMjMuMDM4bC41MS42MXYxLjA4NmwtMi41MzgtLjk0OHYtLjkybC41Ni0uMjN2LTcuNjAzbC0uNTU2LS4yODN2LTEuMWg0LjQwOHYyLjIxaC0uOTY4bC0uMjk1LS45MDdoLTEuMTJ2Mi41NTJoLjg0bC4zMy0uNDg0aC42Nzd2Mi4yN2gtLjY3NmwtLjMyLS40NmgtLjg1Mk0xOC4yMzYgMjMuNDJ2LTEuMDg1bC42My0uNTE3di02Ljc4NWwtLjU0LS4yODN2LTEuMWgyLjU0MnYxLjFsLS40OTcuMjgzdjYuMzY0bDEuMDkzLS4yOTMuMjA3LTEuNjdoMS4wNXYyLjc5Ii8+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTYuOTMyIDEwLjk4NmwtLjc3LS41OGguOTQybC4zMS0uODg4LjMxMi44OWguOTRsLS43Ny41NzguMjgzLjkwNy0uNzY3LS41MzctLjc2NC41MzdNMTAuMjcyIDEwLjk4NmwtLjc3LS41OGguOTRsLjMxLS44ODguMzEyLjg5aC45NGwtLjc3LjU3OC4yODUuOTA3LS43NjctLjUzNy0uNzY0LjUzN002LjkzMiA3Ljk3NWwtLjc3LS41NzhoLjk0MmwuMzEtLjg5LjMxMi44OWguOTRsLS43Ny41NzguMjgzLjkwNS0uNzY3LS41NC0uNzY0LjU0TTEwLjI3MiA3Ljk3NWwtLjc3LS41NzhoLjk0bC4zMS0uODkuMzEyLjg5aC45NGwtLjc3LjU3OC4yODUuOTA1LS43NjctLjU0LS43NjQuNTRNMjMuMzQ4IDExLjg5M2wtLjc2NC0uNTM4LS43NjYuNTM4LjI4NC0uOTA3LS43Ny0uNTc4aC45NGwuMzEyLS44OS4zMS44OWguOTQybC0uNzcuNTc4TTIwLjAxIDExLjg5M2wtLjc2NC0uNTM4LS43NjcuNTM4LjI4NC0uOTA3LS43NzItLjU3OGguOTRsLjMxNC0uODkuMzEuODloLjk0bC0uNzcuNTc4TTIzLjM0OCA4Ljg4bC0uNzY0LS41NC0uNzY2LjU0LjI4NC0uOTA1LS43Ny0uNTc4aC45NGwuMzEyLS44OS4zMS44OWguOTQybC0uNzcuNTc4TTIwLjAxIDguODhsLS43NjQtLjU0LS43NjcuNTQuMjg0LS45MDUtLjc3Mi0uNTc4aC45NGwuMzE0LS44OS4zMS44OWguOTRsLS43Ny41NzhNMTUuNzMgNy4zMThjLS4zNDItLjI4LS43MjctLjQ2NC0xLjEzNS0uNTUyLjEtLjA5NC4yMDItLjE3Mi4yODgtLjI0Ny41MS4xMi44NTQuMzUgMS4wODguNTQ1LS4wOC4wODQtLjE2My4xNy0uMjQuMjUzbS0uNDkzLjU5OGMtLjMyNy0uMjgtLjcyNC0uNDgtMS4xNzUtLjU3LjA3LS4wODguMTUtLjE4NS4yMjgtLjI3LjM0My4wNi43ODIuMjQgMS4xNjcuNTU3LS4wOC4wOTYtLjE1Mi4xOS0uMjIuMjgzbS0uNDQ1LjYyNGMtLjM1My0uMjk1LS43NjMtLjQ3NS0xLjE2Ni0uNTUzIDAgMCAuMTIyLS4yMDIuMTkzLS4zMDQuNDkuMDk2Ljg5My4zMjcgMS4xNy41NjQtLjA3LjEtLjEzOC4yLS4xOTguMjkzbTIuMzI4LTIuOTgzcy0uNC4yMDgtLjk1Ni43NTNjLjEyNi4wNzQuMjY4LjE3LjM0OC4yNC0uMDg1LjA3Mi0uMTcuMTU0LS4yNS4yMy0uMzYtLjMtLjczOC0uNDUtMS4wMy0uNTIzLjA5Ny0uMDY3LjItLjEzOC4zMDItLjIuMTU2LjAzNy4zMS4xLjMxLjEuNjI3LS40NzggMS4xNy0uNjg2IDEuMTctLjY4NnMtLjA2Mi0uMDMtLjIzLS4wMjhjLTIuNDcuMDMzLTQuNzQ2IDEuODc2LTQuMzE4IDUuMDM0LjA0OC4zMzQuMTc2Ljk0NC4zNDMgMS4yMS4wNTQtLjUyNi4yNTItMS42ODcuODM4LTIuOTM0LS4yMDUtLjA3My0uMzc1LS4xMDMtLjM3NS0uMTAzLjA2Mi0uMTI3LjE0NS0uMjg2LjE0NS0uMjg2LjQzMy4wODIuODE0LjI2NSAxLjE0Ni41MjUtLjA3OC4xMjctLjEzMy4yMS0uMTcuMjgtLjExOC0uMDk0LS4yMzYtLjE3LS4zNjQtLjI0NC0uNjYgMS4xNS0uOTY1IDIuMjQtMS4wOSAyLjgwOC4wMDguMDM0LjA3OC4wNTMuMTM4LjA0NSAyLjcwNi0uMzUzIDMuOTczLTEuNzMgNC4zNTgtMy4yMy4yNTMtLjk4LjE3Mi0yLjAwNS0uMTY4LTIuODQ0LS4wMjQtLjA1Ny0uMDctLjE1Ni0uMTQ4LS4xNSIvPjwvc3ZnPg=="},"/pFH":function(t,i,n){"use strict";i.a=function(t){var i=this.constructor;return this.then((function(n){return i.resolve(t()).then((function(){return n}))}),(function(n){return i.resolve(t()).then((function(){return i.reject(n)}))}))}},0:function(t,i,n){t.exports=n("/7QA")},"0IR3":function(module,exports,__webpack_require__){(function(global){function Nb(t){var i=0;return function(){return i<t.length?{done:!1,value:t[i++]}:{done:!0}}}var cc="function"==typeof Object.defineProperties?Object.defineProperty:function(t,i,n){t!=Array.prototype&&t!=Object.prototype&&(t[i]=n.value)},Ie="undefined"!=typeof window&&window===this?this:void 0!==global&&null!=global?global:this;function Ng(){Ng=function(){},Ie.Symbol||(Ie.Symbol=uk)}var uk=(f=0,function(t){return"jscomp_symbol_"+(t||"")+f++}),f;function vk(){Ng();var t=Ie.Symbol.iterator;t||(t=Ie.Symbol.iterator=Ie.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&cc(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return wk(Nb(this))}}),vk=function(){}}function wk(t){return vk(),(t={next:t})[Ie.Symbol.iterator]=function(){return this},t}function xk(t,i){vk(),t instanceof String&&(t+="");var n=0,s={next:function(){if(n<t.length){var e=n++;return{value:i(e,t[e]),done:!1}}return s.next=function(){return{done:!0,value:void 0}},s.next()}};return s[Symbol.iterator]=function(){return s},s}function Rr(t,i){if(i){var n=Ie;t=t.split(".");for(var s=0;s<t.length-1;s++){var e=t[s];e in n||(n[e]={}),n=n[e]}(i=i(s=n[t=t[t.length-1]]))!=s&&null!=i&&cc(n,t,{configurable:!0,writable:!0,value:i})}}function Sr(t){var i="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return i?i.call(t):{next:Nb(t)}}Rr("Array.prototype.keys",(function(t){return t||function(){return xk(this,(function(t){return t}))}})),Rr("String.prototype.startsWith",(function(t){return t||function(t,i){if(null==this)throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression");var n=this+"",s=n.length,e=(t+="").length;i=Math.max(0,Math.min(0|i,n.length));for(var r=0;r<e&&i<s;)if(n[i++]!=t[r++])return!1;return r>=e}})),Rr("Array.prototype.fill",(function(t){return t||function(t,i,n){var s=this.length||0;for(0>i&&(i=Math.max(0,s+i)),(null==n||n>s)&&(n=s),0>(n=Number(n))&&(n=Math.max(0,s+n)),i=Number(i||0);i<n;i++)this[i]=t;return this}})),Rr("Object.getOwnPropertySymbols",(function(t){return t||function(){return[]}})),Rr("Array.from",(function(t){return t||function(t,i,n){i=null!=i?i:function(t){return t};var s=[],e="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];if("function"==typeof e){t=e.call(t);for(var r=0;!(e=t.next()).done;)s.push(i.call(n,e.value,r++))}else for(e=t.length,r=0;r<e;r++)s.push(i.call(n,t[r],r));return s}})),Rr("Promise",(function(t){function i(t){this.ze=0,this.Li=void 0,this.vd=[];var i=this.mh();try{t(i.resolve,i.reject)}catch(t){i.reject(t)}}function n(){this.Qb=null}function s(t){return t instanceof i?t:new i((function(i){i(t)}))}if(t)return t;n.prototype.sk=function(t){if(null==this.Qb){this.Qb=[];var i=this;this.tk((function(){i.zp()}))}this.Qb.push(t)};var e=Ie.setTimeout;n.prototype.tk=function(t){e(t,0)},n.prototype.zp=function(){for(;this.Qb&&this.Qb.length;){var t=this.Qb;this.Qb=[];for(var i=0;i<t.length;++i){var n=t[i];t[i]=null;try{n()}catch(t){this.Io(t)}}}this.Qb=null},n.prototype.Io=function(t){this.tk((function(){throw t}))},i.prototype.mh=function(){function t(t){return function(s){n||(n=!0,t.call(i,s))}}var i=this,n=!1;return{resolve:t(this.Cs),reject:t(this.Gi)}},i.prototype.Cs=function(t){if(t===this)this.Gi(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof i)this.lt(t);else{t:switch(typeof t){case"object":var n=null!=t;break t;case"function":n=!0;break t;default:n=!1}n?this.Bs(t):this.bl(t)}},i.prototype.Bs=function(t){var i=void 0;try{i=t.then}catch(t){return void this.Gi(t)}"function"==typeof i?this.mt(i,t):this.bl(t)},i.prototype.Gi=function(t){this.Im(2,t)},i.prototype.bl=function(t){this.Im(1,t)},i.prototype.Im=function(t,i){if(0!=this.ze)throw Error("Cannot settle("+t+", "+i+"): Promise already settled in state"+this.ze);this.ze=t,this.Li=i,this.Ap()},i.prototype.Ap=function(){if(null!=this.vd){for(var t=0;t<this.vd.length;++t)r.sk(this.vd[t]);this.vd=null}};var r=new n;return i.prototype.lt=function(t){var i=this.mh();t.mf(i.resolve,i.reject)},i.prototype.mt=function(t,i){var n=this.mh();try{t.call(i,n.resolve,n.reject)}catch(t){n.reject(t)}},i.prototype.then=function(t,n){function s(t,i){return"function"==typeof t?function(i){try{e(t(i))}catch(t){r(t)}}:i}var e,r,h=new i((function(t,i){e=t,r=i}));return this.mf(s(t,e),s(n,r)),h},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.mf=function(t,i){function n(){switch(s.ze){case 1:t(s.Li);break;case 2:i(s.Li);break;default:throw Error("Unexpected state: "+s.ze)}}var s=this;null==this.vd?r.sk(n):this.vd.push(n)},i.resolve=s,i.reject=function(t){return new i((function(i,n){n(t)}))},i.race=function(t){return new i((function(i,n){for(var e=Sr(t),r=e.next();!r.done;r=e.next())s(r.value).mf(i,n)}))},i.all=function(t){var n=Sr(t),e=n.next();return e.done?s([]):new i((function(t,i){function r(i){return function(n){h[i]=n,0==--o&&t(h)}}var h=[],o=0;do{h.push(void 0),o++,s(e.value).mf(r(h.length-1),i),e=n.next()}while(!e.done)}))},i})),Rr("Array.prototype.find",(function(t){return t||function(t,i){t:{var n=this;n instanceof String&&(n=String(n));for(var s=n.length,e=0;e<s;e++){var r=n[e];if(t.call(i,r,e,n)){t=r;break t}}t=void 0}return t}})),Rr("Object.values",(function(t){return t||function(t){var i,n=[];for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.push(t[i]);return n}}));var Tr="function"==typeof Object.assign?Object.assign:function(t,i){for(var n=1;n<arguments.length;n++){var s=arguments[n];if(s)for(var e in s)Object.prototype.hasOwnProperty.call(s,e)&&(t[e]=s[e])}return t};Rr("Object.assign",(function(t){return t||Tr}));var Ur=window;function Vr(){return function(t){function i(s){if(n[s])return n[s].exports;var e=n[s]={ge:s,zr:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.zr=!0,e.exports}var n={};return i.pw=t,i.c=n,i.d=function(t,n,s){i.Nr(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:s})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,n){if(1&n&&(t=i(t)),8&n||4&n&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var e in t)i.d(s,e,function(i){return t[i]}.bind(null,e));return s},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.Nr=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.Lw=144)}([function(t){t.exports=function(t,i){t.prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i}},function(t,i,n){function s(t,i){return Object.prototype.toString.call(t)==="[object ".concat(i,"]")}function e(t){var i=document.createElement("div");return i.textContent=t,i.innerHTML}function r(t){t&&(window.Promise?window.Promise.resolve().then(t):setTimeout(t,1))}function h(t,i){return t.sort((function(t,n){return(i?1:-1)*(t.width*t.height-n.width*n.height)}))}function o(t){var i="<video ".concat("%PLAY_INLINE%",' style="').concat("display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; margin: 0; z-index: 1;",'"></video>'),n=W.re()?"playsinline muted":"";return new B.a(t).Mr(i.replace("%PLAY_INLINE%",n))}function u(t){return"html5-vpaid".concat(!0===t?",swf":"")}function a(){var t=/CPU OS (.*) like Mac OS X/.exec(navigator.userAgent),i=!!navigator.userAgent.match("iPad")&&1;return t&&(i=+t[1].replace(/_/,".").replace(/_/g,"")),i}function c(t){return"function"!=typeof t.getAttribute||"function"!=typeof t.appendChild}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function l(t){return s(t,"Function")}function v(t){return s(t,"Object")}function d(t){return s(t,"String")}function p(t){return null!=t?Array.isArray(t)||s(t,"HTMLCollection")||s(t,"NodeList")?t:[t]:[]}function m(t,i){(t=p(t)).forEach((function(t){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t.style[n]=i[n])}))}function b(t,i,n,s){var e;for(e in t=n?n.ownerDocument.createElement(t):window.vdb&&window.vdb.Sd&&window.vdb.Sd.createElement?window.vdb.Sd.createElement(t):document.createElement(t),i=i||{})if(Object.prototype.hasOwnProperty.call(i,e)){var r=i[e];null!==r&&("style"===e&&"object"===V()(r)?m(t,r):t.setAttribute(e,Array.isArray(r)?r.join(" "):r))}return s&&(t.innerHTML=s),n&&n.appendChild(t),t}function y(t,i){t=p(t),i=p(i);for(var n=0;n<t.length;++n){for(var s=[],e=0;e<i.length;++e)new RegExp("(^|\\s)".concat(i[e],"(\\s|$)")).test(t[n].className)||s.push(i[e]);t[n].className="".concat(t[n].className," ").concat(s.join(" ")).trim()}}function g(t,i){t=p(t),i=p(i);for(var n=0;n<t.length;++n)if(t[n]&&t[n].className)for(var s=0;s<i.length;++s)t[n].className=t[n].className.replace(new RegExp("(^|\\s+)".concat(i[s],"(\\s+|$)"),"g")," ").trim()}function w(t,i,n){g(t,i),y(t,n)}function S(t){if(Array.isArray(t)&&0<t.length)return!1;if(v(t))for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))return!1;return!0}function E(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];for(t=1;t<i.length;t++)for(var s in i[t])Object.prototype.hasOwnProperty.call(i[t],s)&&(i[0][s]=i[t][s]);return i[0]}function O(t){return Array.isArray(t)&&(t=t.slice()),t}function A(t){return new F.a((function(i,n){setTimeout((function(){n(Error("timeout ".concat(t," ms reached")))}),t)}))}function _(){try{return window&&window.MediaSource&&"function"==typeof window.MediaSource.isTypeSupported&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}catch(t){return!1}}function T(t){return!(!t||"function"!=typeof t)&&(0>String(Function.prototype.toString).indexOf("[native code]")?t!==Function.prototype.toString&&null:0<=String(t).indexOf("[native code]"))}function M(t){var i=H.a.Aa();try{if(t&&"function"==typeof t)if(t instanceof i.Function)var n=!0;else{var s=t.toString();s&&(n=!(!(s=new t.constructor("return window; ")())||!s.top))}}catch(t){}return!!n}function I(t){return z.a.Ch(t)===Y.pn}function j(t){if(!t)return null;if("string"==typeof t)return t;var i=[];if(t&&"object"===V()(t))for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=t[n];if(0===s||s&&"function"!=typeof s){var e="".concat(encodeURIComponent(n),"=");e+=encodeURIComponent(String(s)),i.push(e)}}return i.join("&")}function N(t,i){var n={};if(t){t=t.split("&");for(var s=0;s<t.length;s++){var e=t[s].split("="),r=e[0];try{r=decodeURIComponent(r)}catch(t){}try{var h=void 0;1<e.length&&(h=decodeURIComponent(e[1])),n[r]=h,i&&i(r,h)}catch(t){}}}return n}function R(t){for(var i,n=[],s=0;s<t.length;s++)(i=j(t[s]))&&n.push(i);return n.join("&")}function k(t,i,n){var s=Array.prototype.toJSON;if(delete Array.prototype.toJSON,window.JSON&&window.JSON.stringify)try{var e=JSON.stringify(t,i,n)}catch(t){}else e=window.JSON&&window.JSON.encode?window.JSON.encode(t):String.valueOf(t);return s&&(Array.prototype.toJSON=s),e}function L(t){return window.atob(t)}function D(t,i){for(var n in i=i||{},t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=t[n]);return i}function C(t){if(""===t)return 0;var i=0;(t=(t=t.split(".")[0]).split(":")).reverse();for(var n=[1,60,3600],s=0;s<t.length;s++)i+=t[s]*n[s];return i}function P(t,i){return null!=t?t:i}function x(t,i){t:{for(var n=0;n<t.length;n++)if(i(t[n],n,t)){i=n;break t}i=void 0}return t[i]}function U(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(t).filter((function(t){return 0===t.indexOf(i)})).reduce((function(s,e){var r=n.modify?e.split(i)[1]:e;return s[r=!1!==n.gx?r.toLowerCase():r]=t[e],s}),{})}n(24),t=n(13),n.n(t),t=n(11);var V=n.n(t),B=n(27);n(2);var F=n(10),z=n(6),H=n(7);n.d(i,"F",(function(){return e})),n.d(i,"d",(function(){return r})),n.d(i,"I",(function(){return h})),n.d(i,"i",(function(){return o})),n.d(i,"n",(function(){return u})),n.d(i,"t",(function(){return c})),n.d(i,"D",(function(){return f})),n.d(i,"s",(function(){return l})),n.d(i,"x",(function(){return v})),n.d(i,"y",(function(){return d})),n.d(i,"K",(function(){return p})),n.d(i,"H",(function(){return m})),n.d(i,"h",(function(){return b})),n.d(i,"a",(function(){return y})),n.d(i,"C",(function(){return g})),n.d(i,"E",(function(){return w})),n.d(i,"r",(function(){return S})),n.d(i,"k",(function(){return E})),n.d(i,"f",(function(){return O})),n.d(i,"B",(function(){return A})),n.d(i,"p",(function(){return _})),n.d(i,"w",(function(){return T})),n.d(i,"e",(function(){return M})),n.d(i,"u",(function(){return I})),n.d(i,"G",(function(){return j})),n.d(i,"j",(function(){return N})),n.d(i,"A",(function(){return R})),n.d(i,"z",(function(){return k})),n.d(i,"b",(function(){return L})),n.d(i,"g",(function(){return D})),n.d(i,"J",(function(){return C})),n.d(i,"o",(function(){return P})),n.d(i,"m",(function(){return x})),n.d(i,"l",(function(){return U})),n.d(i,"c",(function(){return W})),n.d(i,"v",(function(){return q})),n.d(i,"q",(function(){return X}));var Y={fu:"m3u",pn:"m3u8",gu:"mp4",hu:"ogg",iu:"ogv",ou:"webm"},G=navigator.userAgent.toLowerCase();i=navigator.platform.toLowerCase(),(n=G.match(/(samsungbrowser|edge)[\s\/:]([\w\d\.]+)/))||(n=G.match(/(opera|ie|trident|firefox|fxios|chrome|crios|version|fban)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)),n?(t=n[0].match(/(chrome|crios)\/(.*?)\s/))&&(n=[null,"chrome",t[2]]):n=[null,"unknown",0],t=("ie"===n[1]||"trident"===n[1])&&document.documentMode;var W={cv:{Hu:!!window.Kw,json:!!window.JSON,query:!!document.querySelector,sx:!!document.evaluate},sr:function(){return"ios"===W.platform.name},hi:function(){return/android|blackberry|iphone|ipad|ipod|opera mini|iemobile/i.test(G)},name:"version"===n[1]?n[3]:n[1],platform:{name:G.match(/ip(?:ad|od|hone)/)?"ios":(G.match(/(?:webos|android)/)||i.match(/mac|win|linux/)||["other"])[0],version:function(){var t=/Android (\d+(?:\.\d+)+)/.exec(navigator.userAgent),i=!!navigator.userAgent.match("Android")&&1;if(t){t=t[1].split("."),i=0;for(var n=1,s=0;s<t.length;s++)i+=parseInt(t[s])/n,n*=10}return i}()||a()||function(){var t=/iPhone OS (.*) like Mac OS X/.exec(navigator.userAgent),i=!(!navigator.userAgent.match("iPod")&&!navigator.userAgent.match("iPhone"))&&1;return t&&(i=+t[1].replace(/_/,".").replace(/_/g,"")),i}()||""},re:function(){var t=W.sr();return!W.hi()||a()||t&&"safari"===W.name&&10<=W.version||t&&"chrome"===W.name&&54<=W.version||t&&"fxios"===W.name&&10.3<=W.version||t&&"fban"===W.name||!!W.platform.android&&"chrome"===W.name&&53<=W.version||!!W.platform.android&&"firefox"===W.name||!!W.platform.android&&"samsungbrowser"===W.name&&6.2<=W.version},version:t||parseFloat("opera"===n[1]&&n[4]?n[4]:n[2])};W[W.name]=!0,W[W.name+parseInt(W.version,10)]=!0,W.platform[W.platform.name]=!0;var q=0<=navigator.userAgent.indexOf("MSIE ")||0<=navigator.userAgent.indexOf("Trident/"),X=0<=navigator.userAgent.toLowerCase().indexOf("chrome");try{var Q=document.createElement("canvas");window.WebGLRenderingContext&&(Q.getContext("webgl")||Q.getContext("experimental-webgl"))}catch(t){}},function(t,i,n){function s(){if(this.Zj&&this.fa(),this.Kj){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.Kj.apply(window,i)}}n.d(i,"a",(function(){return o}));var e=n(46),r=n(83).default,h=n(12).default,o=function(){function t(){}var i=t.prototype;return i.fa=function(){this.lb?this.lb.fa():void 0!==this.Se.nodeType?r.removeEventListener(this.Se,this.Gg,this.Ve):this.Se.removeEventListener(this.Gg,this.Ve,this.ik)},i.link=function(){if(!arguments.length)return this;this.lb||(this.lb=new e.a(this));for(var t=0;t<arguments.length;++t){var i=0>t||arguments.length<=t?void 0:arguments[t];i.lb?this.lb.Hr(i.lb):this.lb.eb(i)}return this.lb.ep(),this},t.bind=function(i,n,e,h,o){h=!!h;var u=new t;return u.Se=i,u.Gg=n,u.Kj=e,u.ik=h,u.Zj=!!o,u.Ve=s.bind(u),void 0!==i.nodeType?r.addEventListener(i,n,u.Ve):i.addEventListener(n,u.Ve,h),u},t.ua=function(i,n,s){return t.bind(i,n,s,void 0,!0)},t.empty=function(){var i=new t;return i.Se=new h,i.Gg="DOESN'T_MATTER",i.ik=!0,i.Zj=!0,i},t.group=function(){for(var i=t.empty(),n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return s.forEach((function(n){n.length?(n=t.group.apply(null,n),i.link(n)):i.link(n)})),i},t}()},function(t,i,n){function s(t){return 10>t?"0".concat(t):t}function e(t,i,n){if(a.indexOf(t)>=r()&&window.console){var e=new Date,o=e.getMilliseconds();n=["".concat(s(e.getHours()),":").concat(s(e.getMinutes()),":").concat(s(e.getSeconds()),".").concat(10>o?"00".concat(o):100>o?"0".concat(o):o),"[".concat(t,"]"),"".concat(i,":").concat(l.qm?" ".concat(l.qm):"")].concat(Array.prototype.slice.apply(n)),e=t.toLowerCase(),window.console[e]||(e="log"),e=window.console[e],"object"===h()(e)&&(e=Function.prototype.bind.call(e,window.console)),e&&e.apply(window.console,n)}for(e=0;e<c.length;e++)c[e](t,i,n)}function r(){if(void 0===l.Jg){var t=parseInt(o.a.Db("aolplayerloglvl"),10);l.Jg=isNaN(t)?Number(u.a["logger.level"]):t}return l.Jg}n(24),t=n(11);var h=n.n(t),o=n(6),u=n(17),a=["DEBUG","INFO","WARN","ERROR"],c=[],f={},l=function(){function t(t){this.name=t}var i=t.prototype;return i.debug=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("DEBUG",this.name,i)},i.info=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("INFO",this.name,i)},i.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("WARN",this.name,i)},i.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];e("ERROR",this.name,i)},t}();i.a={eu:l,Eu:function(t){c.push(t)},yl:r,R:function(t){return f[t]||(f[t]=new l(t)),f[t]},Sw:function(t){l.Jg=t},Xw:function(t){l.qm=t}}},function(t,i,n){n(61)("asyncIterator")},function(t,i,n){function s(t){var i=t===G;t=C(i?Y:_(t));for(var n,s=[],e=0;t.length>e;)c(H,n=t[e++])&&(!i||c(G,n))&&s.push(H[n]);return s}function e(t){t=C(_(t));for(var i,n=[],s=0;t.length>s;)c(H,i=t[s++])||i==V||i==v||n.push(i);return n}function r(t,i){if(t=_(t),i=T(i,!0),t!==G||!c(H,i)||c(Y,i)){var n=L(t,i);return!n||!c(H,i)||c(t,V)&&t[V][i]||(n.enumerable=!0),n}}function h(t){var i=F.call(this,t=T(t,!0));return!(this===G&&c(H,t)&&!c(Y,t))&&(!(i||!c(this,t)||!c(H,t)||c(this,V)&&this[V][t])||i)}function o(t,i){O(t);for(var n,s=S(i=_(i)),e=0,r=s.length;r>e;)u(t,n=s[e++],i[n]);return t}function u(t,i,n){return t===G&&u(Y,i,n),O(t),i=T(i,!0),O(n),c(H,i)?(n.enumerable?(c(t,V)&&t[V][i]&&(t[V][i]=!1),n=I(n,{enumerable:M(0,!1)})):(c(t,V)||D(t,V,M(1,{})),t[V][i]=!0),X(t,i,n)):D(t,i,n)}function a(t){var i=H[t]=I(P.prototype);return i.On=t,i}t=n(16);var c=n(30),f=n(19);i=n(39);var l=n(42),v=n(78).nn,d=n(35),p=n(43),m=n(58),b=n(38),y=n(21),g=n(62),w=n(61),S=n(79),E=n(80),O=n(26),A=n(25),_=n(31),T=n(40),M=n(41),I=n(71),j=n(82),N=n(70),R=n(20),k=n(45),L=N.ba,D=R.ba,C=j.ba,P=t.Symbol,x=t.JSON,U=x&&x.stringify,V=y("_hidden"),B=y("toPrimitive"),F={}.propertyIsEnumerable,z=p("symbol-registry"),H=p("symbols"),Y=p("op-symbols"),G=Object.prototype;p="function"==typeof P;var W=t.ku,q=!W||!W.prototype||!W.prototype.dv,X=f&&d((function(){return 7!=I(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,i,n){var s=L(G,i);s&&delete G[i],D(t,i,n),s&&t!==G&&D(G,i,s)}:D,Q=p&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P};for(p||(l((P=function(){function t(n){this===G&&t.call(Y,n),c(this,V)&&c(this[V],i)&&(this[V][i]=!1),X(this,i,M(1,n))}if(this instanceof P)throw TypeError("Symbol is not a constructor!");var i=b(0<arguments.length?arguments[0]:void 0);return f&&q&&X(G,i,{configurable:!0,set:t}),a(i)}).prototype,"toString",(function(){return this.On})),N.ba=r,R.ba=u,n(54).ba=j.ba=e,n(49).ba=h,n(57).ba=s,f&&!n(44)&&l(G,"propertyIsEnumerable",h,!0),g.ba=function(t){return a(y(t))}),i(i.nj+i.vn+i.Pc*!p,{Symbol:P}),l="hasInstance isConcatSpreadable iterator match replace search species split toPrimitive toStringTag unscopables".split(" "),g=0;l.length>g;)y(l[g++]);for(k=k(y.store),l=0;k.length>l;)w(k[l++]);i(i.Qc+i.Pc*!p,"Symbol",{for:function(t){return c(z,t+="")?z[t]:z[t]=P(t)},keyFor:function(t){if(!Q(t))throw TypeError(t+" is not a symbol!");for(var i in z)if(z[i]===t)return i},kx:function(){q=!0},lx:function(){q=!1}}),i(i.Qc+i.Pc*!p,"Object",{create:function(t,i){return void 0===i?I(t):o(I(t),i)},defineProperty:u,defineProperties:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:e,getOwnPropertySymbols:s}),x&&i(i.Qc+i.Pc*(!p||d((function(){var t=P();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))),"JSON",{stringify:function(t){for(var i,n=[t],s=1;arguments.length>s;)n.push(arguments[s++]);if(i=s=n[1],(A(s)||void 0!==t)&&!Q(t))return E(s)||(s=function(t,n){if("function"==typeof i&&(n=i.call(this,t,n)),!Q(n))return n}),n[1]=s,U.apply(x,n)}}),P.prototype[B]||n(37)(P.prototype,B,P.prototype.valueOf),m(P,"Symbol"),m(Math,"Math",!0),m(t.JSON,"JSON",!0)},function(t,i,n){var s=n(14),e=function(){function t(){}return t.Db=function(t,i){return t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),null==(t=new RegExp("[\\?&]".concat(t,"=([^&#]*)")).exec(i))?"":decodeURIComponent(t[1].replace(/\+/g," "))},t}(),r=n(7);n.d(i,"a",(function(){return h}));var h=function(){function t(){}return t.yi=function(t){var i=document.createElement("a");return i.href=t,{host:i.host,hostname:i.hostname,origin:i.origin||"".concat(i.protocol,"//").concat(i.hostname),pathname:i.pathname,port:i.port,protocol:i.protocol,query:i.search}},t.Ch=function(i){if(!i||"string"!=typeof i)return"";var n=(i=t.yi(i).pathname||"").lastIndexOf(".");return-1!==n?i.substring(n+1).toLowerCase():""},t.gb=function(){return r.a.gb()},t.eh=function(t){return r.a.gb()&&(t=s.a.Hi(t,"http://","https://")),t},t.kd=function(t){return(t=/(?:(?:[\w]+:)?\/\/)?([^?#\/:]+)/.exec(void 0!==t?t:r.a.pb()))?t[1]:""},t.Db=function(t,i){return e.Db(t,void 0!==i?i:r.a.pb())},t.Pv=function(t,i){return i.forEach((function(i){t+="".concat((-1===t.indexOf("?")?"?":"&")+i.key,"=").concat(i.value)})),t},t}()},function(t,i,n){n.d(i,"a",(function(){return e}));var s=n(18),e=function(){function t(){}return t.Aa=function(){return window},t.pb=function(t){return s.a.pb(t)},t.od=function(t){return s.a.od(t)},t.Nh=function(t){return s.a.Nh(t)},t.gb=function(){return s.a.gb()},t.vv=function(){var t=this.od();try{return t.document.referrer}catch(t){return null}},t.Ev=function(){return window.performance},t.Vq=function(){return window.navigator.userAgent},t.pd=function(){try{return window.self!==window.top}catch(t){return!0}},t.sq=function(){for(var t=window.self,i=0;t!==window.top&&t.parent;){try{if(t.parent&&t.parent.location&&!t.parent.location.href)throw Error("HandleSafari")}catch(t){if(!(2>i))break;i++}t=t.parent}return i},t}()},function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,i,n){n.d(i,"a",(function(){return s})),n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return r})),n.d(i,"d",(function(){return h})),n.d(i,"e",(function(){return o})),n.d(i,"f",(function(){return u})),n.d(i,"g",(function(){return a})),n.d(i,"h",(function(){return c})),n.d(i,"i",(function(){return f})),n.d(i,"j",(function(){return l})),n.d(i,"k",(function(){return v})),n.d(i,"l",(function(){return d})),n.d(i,"m",(function(){return p})),n.d(i,"n",(function(){return m})),n.d(i,"o",(function(){return b})),n.d(i,"p",(function(){return y})),n.d(i,"q",(function(){return g})),n.d(i,"r",(function(){return w})),n.d(i,"s",(function(){return S})),n.d(i,"t",(function(){return E})),n.d(i,"u",(function(){return O})),n.d(i,"v",(function(){return A})),n.d(i,"w",(function(){return _})),n.d(i,"x",(function(){return T})),n.d(i,"y",(function(){return M})),n.d(i,"z",(function(){return I}));var s="AdClickThru",e="AdDurationChange",r="AdError",h="AdExpandedChange",o="AdImpression",u="AdInteraction",a="AdLinearChange",c="AdLoaded",f="AdLog",l="AdPaused",v="AdPlaying",d="AdRemainingTimeChange",p="AdSizeChange",m="AdSkippableStateChange",b="AdSkipped",y="AdStarted",g="AdStopped",w="AdUserAcceptInvitation",S="AdUserClose",E="AdUserMinimize",O="AdVideoComplete",A="AdVideoFirstQuartile",_="AdVideoMidpoint",T="AdVideoStart",M="AdVideoThirdQuartile",I="AdVolumeChange"},function(t,i,n){function s(){}function e(t,i){for(;3===t.yc;)t=t.Zc;0===t.yc?t.Ed.push(i):v((function(){var n=1===t.yc?i.Qr:i.jm;if(null===n)(1===t.yc?r:h)(i.Ei,t.Zc);else{try{var s=n(t.Zc)}catch(t){return void h(i.Ei,t)}r(i.Ei,s)}}),1)}function r(t,i){try{if(i===t)throw new TypeError("A promise cannot be resolved with itself.");if(i&&("object"===f()(i)||"function"==typeof i)){var n=i.then;if(i instanceof d)return t.yc=3,t.Zc=i,void o(t);if("function"==typeof n)return void a(function(t,i){return function(){for(var n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];t.apply(i,s)}}(n,i),t)}t.yc=1,t.Zc=i,o(t)}catch(i){h(t,i)}}function h(t,i){for(var n,s=0,e=t.Ed.length;!n&&s<e;s++)n=t.Ed[s].jm;n||"1"!==l.a.Db("logpromisereject")||window.console,t.yc=2,t.Zc=i,o(t)}function o(t){t.Ed.forEach((function(i){return e(t,i)})),t.Ed=null}function u(t,i,n){this.Qr="function"==typeof t?t:null,this.jm="function"==typeof i?i:null,this.Ei=n}function a(t,i){var n=!1;try{t((function(t){n||(n=!0,r(i,t))}),(function(t){n||(n=!0,h(i,t))}))}catch(t){n||(n=!0,h(i,t))}}t=n(13);var c=n.n(t);t=n(11);var f=n.n(t),l=n(6),v=window.Promise?function(t){window.Promise.resolve().then(t)}:setTimeout,d=function(){function t(t){if("object"!==f()(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.yc=0,this.Zc=void 0,this.Ed=[],a(t,this)}var i=t.prototype;return i.catch=function(t){return this.then(null,t)},i.then=function(i,n){var r=new t(s);return e(this,new u(i,n,r)),r},i.finally=function(t){return this.then(t,t)},t}();d.all=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=Array.prototype.slice.call(1===i.length&&Array.isArray(i[0])?i[0]:i);return new d((function(t,i){function n(r,h){try{if(h&&("object"===f()(h)||"function"==typeof h)){var o=h.then;if("function"==typeof o)return void o.call(h,(function(t){n(r,t)}),i)}s[r]=h,0==--e&&t(s)}catch(t){i(t)}}if(0===s.length)return t([]);for(var e=s.length,r=0;r<s.length;r++)n(r,s[r])}))},d.resolve=function(t){return t&&"object"===f()(t)&&t.constructor===d?t:new d((function(i){i(t)}))},d.reject=function(t){return new d((function(i,n){n(t)}))},d.race=function(t){return new d((function(i,n){t.forEach((function(t){return t.then(i,n)}))}))},d.Yt=function(t){var i=null;return function(){i=i||d.resolve();for(var n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return i.then(t.bind.apply(t,c()([this].concat(s))))}},d.Yt((function(){}))(),i.a=d},function(t){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(s){return"function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?t.exports=n=function(t){return i(t)}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)},n(s)}t.exports=n},function(t,i,n){n.r(i),n.d(i,"default",(function(){return o})),t=n(4),n.n(t),t=n(5),n.n(t);var s=n(3),e=Symbol(),r=Symbol(),h=Symbol(),o=function(){function t(){this[e]={},this[r]=[],this[h]=s.a.R("EventBus")}var i=t.prototype;return i.addEventListener=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;this[e][t]||(this[e][t]=[]),this[e][t].push({$b:i,priority:n})},i.removeEventListener=function(t,i){this[e][t]&&(this[e][t]=this[e][t].filter((function(t){return t.$b!==i})))},i.Cu=function(t){this[r].push(t)},i.dispatchEvent=function(t){var i=this;if("string"==typeof t)var n=t,s=Array.prototype.slice.call(arguments,1);else n=t.type,t.target=this,s=Array.prototype.slice.call(arguments,0);var h=this[e][n];h&&((h=h.slice()).sort((function(t,i){return i.priority-t.priority})),h.forEach((function(t){return i.Tj(n,s,t.$b)}))),this[r].forEach((function(t){return t.call({},n,s)}))},i.Tj=function(t,i,n){try{n.apply({},i)}catch(n){this[h].error(n,"event",{args:i,type:t})}},i.wm=function(){var t=this;this[h].info("Removing all listeners."),Object.keys(this[e]).forEach((function(i){Array.isArray(t[e][i])&&delete t[e][i]}))},t}()},function(t,i,n){var s=n(63),e=n(64),r=n(65);t.exports=function(t){return s(t)||e(t)||r()}},function(t,i,n){n.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.Hf=function(i){return!i||""===t.trim(i)},t.Pu=function(t,i){return t&&"".concat(t.substring(0,t.lastIndexOf(".")),".").concat(i)},t.trim=function(i,n){return t.Er(t.ym(i,n),n)},t.Er=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("^[".concat(i,"]+"),"g"),"")},t.ym=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("[".concat(i,"]+$"),"g"),"")},t.startsWith=function(t,i){return t&&0===t.indexOf(i)},t.endsWith=function(t,i){var n=t&&t.lastIndexOf(i);return-1!==n&&n===t.length-i.length},t.Hi=function(t,i,n){return t&&t.replace(new RegExp(i,"g"),n)},t.Hw=function(t){return t&&t.replace(/.*?:\/\//g,"")},t.Sk=function(){return!1},t.zk=function(t){if(t)return(t=t.toLowerCase()).charAt(0).toUpperCase()+t.slice(1)},t}()},function(t){t.exports=function(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}},function(t){t=t.exports="undefined"!=typeof window&&Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=t)},function(t,i,n){n.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.Ff=function(i){var n="stage"===i,s=n?".dev":"",e=n?"-stage":"",r={"adserver.url":"https://video".concat(e).concat(".adaptv.advertising.com","/"),"adstracker.url":"https://video".concat(e).concat(".adaptv.advertising.com","/"),"aeg.default_vendor":n?"593fb37531e0a533fe6dd8fa":"593fb311c214e33ec50202f0","cdn.url":"https://cdn-ssl".concat(".vidible.tv","/").concat(i,"/"),"default.bcid":n?"50d595ec0364e95588c77bd2":"56bcd17ce4b018167fea5539","default.bid":n?"53a2cd08e4b0915a797d6a2e":"56bcd17de4b0a5976ac0da12","default.pid":n?"5912acc731e0a563e7535e52":"59947c0544a64b1a49e52a48","delivery.url":"https://delivery".concat(s).concat(".vidible.tv","/"),"hls.js.path":"player/js/21.1.168/lib/hls.min.js","ima.url":"https://s0.2mdn.net/instream/html5/ima3".concat(n?"_debug":"",".js"),"logger.level":n?"0":"3","s3.url":"https://s3.amazonaws.com/vdb-cdn-files/","tracking.url":"https://trk".concat(s).concat(".vidible.tv","/trk/"),"vapa.url":n?"https://localhost:3000/local-storage.html":"https://cdn-ssl.vidible.tv/prod/player/ad-time/local-storage.html"};Object.keys(r).forEach((function(i){t[i]=r[i]}))},t}()},function(t,i,n){t=n(13);var s=n.n(t);n.d(i,"a",(function(){return e}));var e=function(){function t(){}return t.pb=function(t){t=t||window;var i=this.od(t);t=t&&t.location&&t.location.ancestorOrigins;var n,e=i.document&&i.document.referrer;if(i===window.top)return i.location.href;if(e&&(n=!!(n=e.match(/.*?\.ampproject\.(?:org|net)\/(?:.\/)*([^?]+)/i))&&n[1]))return n;if(t&&1<t.length){for(i=s()(t),e=0;e<i.length;e++)if(n=i[e].match(/(.*)\.cdn\.ampproject\.(?:org|net)/i)){var r=n[1];break}return(r=!!r&&r.replace(/--/g,"${dash}").replace(/-/g,".").replace(/\$\{dash\}/g,"-"))?r:t[t.length-1]}return e||i.location.href},t.od=function(t){for(t=t||window;t;)try{var i=t.parent;if(!i.document)break;if(t=i,i===i.parent)break}catch(t){break}return t},t.Nh=function(t){t=t||window;try{return t.parent}catch(t){}return null},t.gb=function(){return-1===(window.location.protocol||this.pb()||"").indexOf("http:")},t}()},function(t,i,n){t.exports=!n(35)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(26),e=n(50),r=n(40),h=Object.defineProperty;i.ba=n(19)?Object.defineProperty:function(t,i,n){if(s(t),i=r(i,!0),s(n),e)try{return h(t,i,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[i]=n.value),t}},function(t,i,n){var s=n(43)("wks"),e=n(38),r=n(16).Symbol,h="function"==typeof r;(t.exports=function(t){return s[t]||(s[t]=h&&r[t]||(h?r:e)("Symbol."+t))}).store=s},function(t,i,n){n.d(i,"a",(function(){return e}));var s=n(10),e=function(){function t(){var t=this;this.Ye=new s.a((function(i,n){t.resolve=i,t.reject=n}))}return t.prototype.za=function(){return this.Ye},t}()},function(t,i,n){var s=n(84),e=n(85),r=n(86);t.exports=function(t,i){return s(t)||e(t,i)||r()}},function(t,i,n){t=n(20).ba,i=Function.prototype;var s=/^\s*function ([^ (]*)/;"name"in i||n(19)&&t(i,"name",{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,i,n){var s=n(25);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},function(t,i,n){var s=n(33),e=n(10);n.d(i,"a",(function(){return r}));var r=function(){function t(t){this.Fa=this.af=t}var i=t.prototype;return i.Zw=function(t){this.Fa=t},t.Nd=function(t,i,n){if(void 0===n)return t.getAttribute(i);null===n?t.removeAttribute(i):t.setAttribute(i,n)},i.Rj=function(t,i,n){var s="TABLE"===t.nodeName,e=this.Fa.createElement("div");e.innerHTML="<".concat(t.nodeName,">").concat(i,"</").concat(t.nodeName,">"),n(s?t.lastChild:t,s?e.lastChild.lastChild:e.lastChild)},i.Mr=function(t){var i=this.Fa.createElement("div");return i.innerHTML=t,i.lastChild},i.Mj=function(t){for(var i,n="",e=0;null!=(i=t[e++]);)i.nodeType===s.c||i.nodeType===s.a?n+=i.nodeValue:i.nodeType!==s.b&&(n+=this.Mj(i.childNodes));return n},i.replace=function(t,i){this.Rj(t,i,(function(i,n){return t.replaceChild(n,i),i}))},i.append=function(t,i){this.Rj(t,i,(function(t,i){return t.appendChild(i.firstChild),i.firstChild}))},i.dw=function(t,i){if(null==i)return t.innerHTML;try{t.innerHTML=i}catch(n){this.replace(t,i)}return null},i.text=function(i,n){return null==n?this.Mj([i]):(t.empty(i),i.appendChild(this.Fa.createTextNode(n)),null)},t.empty=function(t){if(t&&t.removeChild)for(;t.firstChild;)t.removeChild(t.firstChild)},i.createElement=function(t){return this.Fa.createElement(t)},i.createDocumentFragment=function(){return this.Fa.createDocumentFragment()},i.zf=function(t){return(t=t||this.Fa).head||t.getElementsByTagName("head")[0]},i.Gj=function(i,n,s,e){var r=this.createElement("script");return t.Nd(r,"type","text/javascript"),e&&Object.keys(e).forEach((function(i){return t.Nd(r,i,e[i])})),s&&t.Nd(r,"async","true"),i&&t.Nd(r,"src",i),n&&t.Nd(r,"crossorigin","anonymous"),r},i.sd=function(t,i,n){function s(){r.onload=function(){},r.onerror=function(){},r.onreadystatechange=function(){},h.removeChild(r)}t&&0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t));var r=this.Gj(t,i,n,void 0),h=this.zf(this.af);return t=new e.a((function(t,i){r.onload=t,r.onerror=i})),r.onreadystatechange=function(){"complete"!==r.readyState&&"loaded"!==r.readyState||r.onload()},t.then(s,s),h.appendChild(r),t},i.br=function(t){var i=this.Gj();return this.text(i,t),this.zf().appendChild(i),i},i.zv=function(t,i,n){var s="VDBCallback".concat(Math.round(1e4*Math.random())),e=n||this.af&&this.af.defaultView||window;e[s]=function(){if("function"==typeof i){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];i.apply({},n)}try{delete e[s]}catch(t){e[s]=void 0}},this.sd(t.replace("[callback]",s))},i.ow=function(t){var i=this.Fa.createElement("link");this.zf().appendChild(i),i.rel="stylesheet",i.type="text/css",i.href=t},i.qh=function(t,i){i=i||this.zf();var n="".concat(function(t){function i(t,i){var n=(65535&t)+(65535&i);return(t>>16)+(i>>16)+(n>>16)<<16|65535&n}function n(t,n,s,e,r,h){return t=i(i(n,t),i(e,h)),i(t<<r|t>>>32-r,s)}function s(t,i,s,e,r,h,o){return n(i&s|~i&e,t,i,r,h,o)}function e(t,i,s,e,r,h,o){return n(i&e|s&~e,t,i,r,h,o)}function r(t,i,s,e,r,h,o){return n(s^(i|~e),t,i,r,h,o)}return function(t){for(var i,n="",s=0;s<t.length;s++)i=t.charCodeAt(s),n+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return n}(function(t){var h,o=Array(t.length>>2);for(h=0;h<o.length;h++)o[h]=0;for(h=0;h<8*t.length;h+=8)o[h>>5]|=(255&t.charCodeAt(h/8))<<h%32;o[(t=8*t.length)>>5]|=128<<t%32,o[14+(t+64>>>9<<4)]=t,t=1732584193,h=-271733879;for(var u=-1732584194,a=271733878,c=0;c<o.length;c+=16){var f=t,l=h,v=u,d=a;t=s(t,h,u,a,o[c+0],7,-680876936),a=s(a,t,h,u,o[c+1],12,-389564586),u=s(u,a,t,h,o[c+2],17,606105819),h=s(h,u,a,t,o[c+3],22,-1044525330),t=s(t,h,u,a,o[c+4],7,-176418897),a=s(a,t,h,u,o[c+5],12,1200080426),u=s(u,a,t,h,o[c+6],17,-1473231341),h=s(h,u,a,t,o[c+7],22,-45705983),t=s(t,h,u,a,o[c+8],7,1770035416),a=s(a,t,h,u,o[c+9],12,-1958414417),u=s(u,a,t,h,o[c+10],17,-42063),h=s(h,u,a,t,o[c+11],22,-1990404162),t=s(t,h,u,a,o[c+12],7,1804603682),a=s(a,t,h,u,o[c+13],12,-40341101),u=s(u,a,t,h,o[c+14],17,-1502002290),t=e(t,h=s(h,u,a,t,o[c+15],22,1236535329),u,a,o[c+1],5,-165796510),a=e(a,t,h,u,o[c+6],9,-1069501632),u=e(u,a,t,h,o[c+11],14,643717713),h=e(h,u,a,t,o[c+0],20,-373897302),t=e(t,h,u,a,o[c+5],5,-701558691),a=e(a,t,h,u,o[c+10],9,38016083),u=e(u,a,t,h,o[c+15],14,-660478335),h=e(h,u,a,t,o[c+4],20,-405537848),t=e(t,h,u,a,o[c+9],5,568446438),a=e(a,t,h,u,o[c+14],9,-1019803690),u=e(u,a,t,h,o[c+3],14,-187363961),h=e(h,u,a,t,o[c+8],20,1163531501),t=e(t,h,u,a,o[c+13],5,-1444681467),a=e(a,t,h,u,o[c+2],9,-51403784),u=e(u,a,t,h,o[c+7],14,1735328473),t=n((h=e(h,u,a,t,o[c+12],20,-1926607734))^u^a,t,h,o[c+5],4,-378558),a=n(t^h^u,a,t,o[c+8],11,-2022574463),u=n(a^t^h,u,a,o[c+11],16,1839030562),h=n(u^a^t,h,u,o[c+14],23,-35309556),t=n(h^u^a,t,h,o[c+1],4,-1530992060),a=n(t^h^u,a,t,o[c+4],11,1272893353),u=n(a^t^h,u,a,o[c+7],16,-155497632),h=n(u^a^t,h,u,o[c+10],23,-1094730640),t=n(h^u^a,t,h,o[c+13],4,681279174),a=n(t^h^u,a,t,o[c+0],11,-358537222),u=n(a^t^h,u,a,o[c+3],16,-722521979),h=n(u^a^t,h,u,o[c+6],23,76029189),t=n(h^u^a,t,h,o[c+9],4,-640364487),a=n(t^h^u,a,t,o[c+12],11,-421815835),u=n(a^t^h,u,a,o[c+15],16,530742520),t=r(t,h=n(u^a^t,h,u,o[c+2],23,-995338651),u,a,o[c+0],6,-198630844),a=r(a,t,h,u,o[c+7],10,1126891415),u=r(u,a,t,h,o[c+14],15,-1416354905),h=r(h,u,a,t,o[c+5],21,-57434055),t=r(t,h,u,a,o[c+12],6,1700485571),a=r(a,t,h,u,o[c+3],10,-1894986606),u=r(u,a,t,h,o[c+10],15,-1051523),h=r(h,u,a,t,o[c+1],21,-2054922799),t=r(t,h,u,a,o[c+8],6,1873313359),a=r(a,t,h,u,o[c+15],10,-30611744),u=r(u,a,t,h,o[c+6],15,-1560198380),h=r(h,u,a,t,o[c+13],21,1309151649),t=r(t,h,u,a,o[c+4],6,-145523070),a=r(a,t,h,u,o[c+11],10,-1120210379),u=r(u,a,t,h,o[c+2],15,718787259),h=r(h,u,a,t,o[c+9],21,-343485551),t=i(t,f),h=i(h,l),u=i(u,v),a=i(a,d)}for(o=[t,h,u,a],t="",h=0;h<32*o.length;h+=8)t+=String.fromCharCode(o[h>>5]>>>h%32&255);return t}(function(t){for(var i,n,s="",e=-1;++e<t.length;)i=t.charCodeAt(e),n=e+1<t.length?t.charCodeAt(e+1):0,55296<=i&&56319>=i&&56320<=n&&57343>=n&&(i=65536+((1023&i)<<10)+(1023&n),e++),127>=i?s+=String.fromCharCode(i):2047>=i?s+=String.fromCharCode(192|i>>>6&31,128|63&i):65535>=i?s+=String.fromCharCode(224|i>>>12&15,128|i>>>6&63,128|63&i):2097151>=i&&(s+=String.fromCharCode(240|i>>>18&7,128|i>>>12&63,128|i>>>6&63,128|63&i));return s}(t)))}(t),"-style");if(!this.Fa.getElementById(n)){var s=this.Fa.createElement("style");s.setAttribute("id",n),s.type="text/css",s.appendChild(this.Fa.createTextNode(t)),i.appendChild(s)}},i.$u=function(t,i){this.qh(t,i)},i.Wu=function(t){var i=this.Fa.createElement("img");return i.src=t,i},i.Vu=function(t){var i=this.Fa.createElement("div");return null!=t&&(i.className=t),i},i.log=function(t){this.tc||(this.tc=this.Fa.createElement("div"),this.tc.style.position="fixed",this.tc.style.top="0px",this.tc.style.left="0px",this.af.getElementsByTagName("body")[0].appendChild(this.tc)),this.tc.innerHTML="".concat(t,"<br>").concat(this.tc.innerHTML)},t}()},function(t,i,n){n.d(i,"a",(function(){return s})),n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return r})),n.d(i,"d",(function(){return h}));var s="RM.APIFunctionIsMissing",e="RM.getVpaidAdIsMissing",r="RM.noCreative",h="RM.VPAIDUrlUnavailable"},function(f,e,b){b.d(e,"a",(function(){return v})),f=b(11);var l=b.n(f),g=b(1),m=b(7),v=function(){function b(){}return b.$o=function(){try{var b=function(){var b=!1;eval('func = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(void 0)()}catch(t){b=!0}return b}()}catch(t){b=0}return b},b.Zo=function(){var t=!1;try{({}).ba()}catch(i){t=!0}return t},b.Uo=function(){var t=m.a.Aa();return!!(Object(g.e)(t.AudioContext)&&(t=new t.AudioContext,t=Object(g.e)(t.createBufferSource)&&t.createBufferSource()||{},t.detune&&Object.prototype.hasOwnProperty.call(t.detune,"value")))&&(t.detune.value=100,100===t.detune.value)},b.So=function(){try{var t=document.createElement("canvas");t.width=1,t.height=1;var i=t.getContext("2d");i.globalCompositeOperation="multiply",i.fillStyle="rgb(0,255,255)",i.fillRect(0,0,1,1),i.fill(),i.fillStyle="rgb(255,255,0)",i.fillRect(0,0,1,1),i.fill();var n=i.getImageData(0,0,1,1).data;return n[0]===n[2]&&n[1]===n[3]}catch(t){return!1}},b.Xo=function(){try{var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}catch(t){return!1}},b.Wo=function(){try{return eval("1 == [for (item of [1,2,3]) item][0]")}catch(t){return!1}},b.To=function(){var t=m.a.Aa();try{return"object"===l()(t.Intl.Collator().resolvedOptions())}catch(t){return!1}},b.Yo=function(){var t=m.a.Aa();try{return 0===new t.Uint16Array(1)[0]}catch(t){return!1}},b.Qo=function(){var t=m.a.Aa();try{return t.ActiveXObject&&-1===t.ActiveXObject.toString().indexOf("native")}catch(t){return!1}},b.Vo=function(){var t=m.a.Aa();try{return-1===Object.prototype.toString.call(t.HTMLElement).indexOf("Constructor")}catch(t){return!1}},b.btoa=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=m.a.Aa();if(!Object(g.e)(n.btoa)||i){i=String(t),n=0;for(var s="",e=0,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";i.charAt(0|e)||(r="=",e%1);s+=r.charAt((63&n>>8)-e%1*8)){var h=i.charCodeAt(e+=.75);if(255<h)return"";n=n<<8|h}return s}return n.btoa(t)},b.Ro=function(t){try{return t.$g&&Object(g.w)(t.$g([{qp:"ease-in",transform:"scale(1)"},{qp:"ease-in",transform:"scale(1.3)"}],{duration:1300,nw:1}).reverse)?1:0}catch(t){return 0}},b}()},function(t){var i={}.hasOwnProperty;t.exports=function(t,n){return i.call(t,n)}},function(t,i,n){var s=n(75),e=n(60);t.exports=function(t){return s(e(t))}},function(t){t=t.exports={version:"2.6.5"},"number"==typeof __e&&(__e=t)},function(t,i,n){n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"b",(function(){return r}));var s=3,e=4,r=8},function(t,i,n){n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"b",(function(){return r})),n.d(i,"d",(function(){return h}));var s="media-item-playback-started",e="media-item-playback-ended",r="media-item-playback-progress",h="player-rendered"},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,i,n){n.d(i,"d",(function(){return s})),n.d(i,"a",(function(){return e})),n.d(i,"c",(function(){return r})),n.d(i,"b",(function(){return h}));var s="preroll",e="midroll",r="nonlinear",h="native"},function(t,i,n){var s=n(20),e=n(41);t.exports=n(19)?function(t,i,n){return s.ba(t,i,e(1,n))}:function(t,i,n){return t[i]=n,t}},function(t){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,i,n){function s(t,i,n){var a=t&s.Pc,c=t&s.nj,f=t&s.Qc,l=t&s.rn,v=t&s.hn;f=c?e:f?e[i]||(e[i]={}):(e[i]||{}).prototype;var d,p=c?r:r[i]||(r[i]={}),m=p.prototype||(p.prototype={});for(d in c&&(n=i),n)i=((c=!a&&f&&void 0!==f[d])?f:n)[d],c=v&&c?u(i,e):l&&"function"==typeof i?u(Function.call,i):i,f&&o(f,d,i,t&s.tn),p[d]!=i&&h(p,d,c),l&&m[d]!=i&&(m[d]=i)}var e=n(16),r=n(32),h=n(37),o=n(42),u=n(52);e.Tu=r,s.Pc=1,s.nj=2,s.Qc=4,s.rn=8,s.hn=16,s.vn=32,s.tn=64,s.lu=128,t.exports=s},function(t,i,n){var s=n(25);t.exports=function(t,i){if(!s(t))return t;var n,e;if(i&&"function"==typeof(n=t.toString)&&!s(e=n.call(t))||"function"==typeof(n=t.valueOf)&&!s(e=n.call(t))||!i&&"function"==typeof(n=t.toString)&&!s(e=n.call(t)))return e;throw TypeError("Can't convert object to primitive value")}},function(t){t.exports=function(t,i){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:i}}},function(t,i,n){var s=n(16),e=n(37),r=n(30),h=n(38)("src"),o=n(74),u=(""+o).split("toString");n(32).fw=function(t){return o.call(t)},(t.exports=function(t,i,n,o){var a="function"==typeof n;a&&(r(n,"name")||e(n,"name",i)),t[i]!==n&&(a&&(r(n,h)||e(n,h,t[i]?""+t[i]:u.join(String(i)))),t===s?t[i]=n:o?t[i]?t[i]=n:e(t,i,n):(delete t[i],e(t,i,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[h]||o.call(this)}))},function(t,i,n){i=n(32);var s=n(16),e=s["__core-js_shared__"]||(s["__core-js_shared__"]={});(t.exports=function(t,i){return e[t]||(e[t]=void 0!==i?i:{})})("versions",[]).push({version:i.version,mode:n(44)?"pure":"global",Su:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t){t.exports=!1},function(t,i,n){var s=n(59),e=n(51);t.exports=Object.keys||function(t){return s(t,e)}},function(t,i,n){function s(t){for(var i=0,n=this.a.length;i<n;i++)t.call(this,this.a[i])}function e(t){t.lb=null,t.fa()}function r(t){t.lb=this}n.d(i,"a",(function(){return h}));var h=function(){function t(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.a=i}var i=t.prototype;return i.Hr=function(t){var i=this;s.call(t,(function(t){i.eb(t)}))},i.fa=function(){s.call(this,e)},i.ep=function(){s.call(this,r)},i.eb=function(t){-1===this.a.indexOf(t)&&this.a.push(t)},i.Du=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];for(t=0;t<i.length;t++)this.eb(i[t])},t}()},function(t,i,n){i=n(25);var s=n(16).document,e=i(s)&&i(s.createElement);t.exports=function(t){return e?s.createElement(t):{}}},function(t){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,i){i.ba={}.propertyIsEnumerable},function(t,i,n){t.exports=!n(19)&&!n(35)((function(){return 7!=Object.defineProperty(n(47)("div"),"a",{get:function(){return 7}}).a}))},function(t){t.exports="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ")},function(t,i,n){var s=n(53);t.exports=function(t,i,n){if(s(t),void 0===i)return t;switch(n){case 1:return function(n){return t.call(i,n)};case 2:return function(n,s){return t.call(i,n,s)};case 3:return function(n,s,e){return t.call(i,n,s,e)}}return function(){return t.apply(i,arguments)}}},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,i,n){var s=n(59),e=n(51).concat("length","prototype");i.ba=Object.getOwnPropertyNames||function(t){return s(t,e)}},function(t){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?n:i)(t)}},function(t,i,n){var s=n(43)("keys"),e=n(38);t.exports=function(t){return s[t]||(s[t]=e(t))}},function(t,i){i.ba=Object.getOwnPropertySymbols},function(t,i,n){var s=n(20).ba,e=n(30),r=n(21)("toStringTag");t.exports=function(t,i,n){t&&!e(t=n?t:t.prototype,r)&&s(t,r,{configurable:!0,value:i})}},function(t,i,n){var s=n(30),e=n(31),r=n(76)(!1),h=n(56)("IE_PROTO");t.exports=function(t,i){t=e(t);var n,o=0,u=[];for(n in t)n!=h&&s(t,n)&&u.push(n);for(;i.length>o;)s(t,n=i[o++])&&(~r(u,n)||u.push(n));return u}},function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,i,n){var s=n(16),e=n(32),r=n(44),h=n(62),o=n(20).ba;t.exports=function(t){var i=e.Symbol||(e.Symbol=r?{}:s.Symbol||{});"_"==t.charAt(0)||t in i||o(i,t,{value:h.ba(t)})}},function(t,i,n){i.ba=n(21)},function(t){t.exports=function(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}}},function(t){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},,function(t,i,n){function s(t,i,n){var s=new e.a,h=document.createElement("script");return h.src=i,t.appendChild(h),h.onload=h.onreadystatechange=function(){var i=h.readyState;if(!i||"complete"===i||"loaded"===i){if(i=t.ownerDocument.defaultView.getVPAIDAd){var e=i();e?(i=n.filter((function(t){return!e[t]}))).length?s.reject({name:i[0],type:r.a}):s.resolve({creative:e,height:t.offsetHeight,width:t.offsetWidth}):s.reject({type:r.c})}else s.reject({type:r.b});h.onload=null,h.onreadystatechange=null}},h.onerror=function(){return s.reject({type:r.d,url:i})},s.za()}n.d(i,"a",(function(){return s}));var e=n(22),r=n(28)},function(f,e,b){function l(t){var i=+(1e6*Math.random()).toFixed(0);return t[i]?l(t):i}function g(t){t=(t=t.toString()).substring(t.indexOf("{")+1,t.lastIndexOf("}"));try{var i=new window.Blob([t],{type:"application/javascript"})}catch(n){window.BlobBuilder=v,(i=new window.BlobBuilder).append(t),i=i.getBlob()}return window.URL.createObjectURL(i)}var m=b(3).a.R("Timers"),v=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;e.a=function(){function b(){var t=this,i={},n={};t.onmessage=function(s){switch(s.data.type){case"setTimeout":i[s.data.id]=setTimeout((function(){t.postMessage({id:s.data.id,type:"setTimeout"})}),s.data.timeout);break;case"clearTimeout":clearTimeout(i[s.data.id]),delete i[s.data.id];break;case"setInterval":n[s.data.id]=setInterval((function(){t.postMessage({id:s.data.id,type:"setInterval"})}),s.data.timeout);break;case"clearInterval":clearInterval(n[s.data.id]),delete n[s.data.id]}}}var e=!1;try{e=eval("(_ => true)()")}catch(t){m.debug("Modern browser check failed")}if(!(window.Worker&&window.Promise&&e&&window.Blob&&v))return!1;window.URL=window.URL||window.webkitURL;try{var f=new window.Worker(g(b))}catch(t){return m.debug("Failed to instantiate worker"),!1}var q={},D={};return f.onmessage=function(t){"setTimeout"===(t=t.data).type&&q[t.id]&&(q[t.id](),delete q[t.id]),"setInterval"===t.type&&D[t.id]&&D[t.id]()},{clearInterval:function(t){delete D[t],f.postMessage({id:t,type:"clearInterval"})},clearTimeout:function(t){delete q[t],f.postMessage({id:t,type:"clearTimeout"})},setInterval:function(t,i){var n=l(D);return D[n]=t,f.postMessage({id:n,timeout:i,type:"setInterval"}),n},setTimeout:function(t,i){var n=l(q);return q[n]=t,f.postMessage({id:n,timeout:i,type:"setTimeout"}),n}}}()||{clearInterval:clearInterval.bind(window),clearTimeout:clearTimeout.bind(window),setInterval:setInterval.bind(window),setTimeout:setTimeout.bind(window)}},function(t,i,n){var s=n(55),e=Math.min;t.exports=function(t){return 0<t?e(s(t),9007199254740991):0}},function(t,i,n){var s=n(49),e=n(41),r=n(31),h=n(40),o=n(30),u=n(50),a=Object.getOwnPropertyDescriptor;i.ba=n(19)?a:function(t,i){if(t=r(t),i=h(i,!0),u)try{return a(t,i)}catch(t){}if(o(t,i))return e(!s.ba.call(t,i),t[i])}},function(t,i,n){function s(){var t=n(47)("iframe"),i=o.length;for(t.style.display="none",n(72).appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.Pc;i--;)delete s.prototype[o[i]];return s()}function e(){}var r=n(26),h=n(81),o=n(51),u=n(56)("IE_PROTO");t.exports=Object.create||function(t,i){if(null!==t){e.prototype=r(t);var n=new e;e.prototype=null,n[u]=t}else n=s();return void 0===i?n:h(n,i)}},function(t,i,n){i=n(16).document,t.exports=i&&i.documentElement},function(t){function i(t,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}t.exports=function(t,n,s){return n&&i(t.prototype,n),s&&i(t,s),t}},function(t,i,n){t.exports=n(43)("native-function-to-string",Function.toString)},function(t,i,n){var s=n(48);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},function(t,i,n){var s=n(31),e=n(69),r=n(77);t.exports=function(t){return function(i,n,h){i=s(i);var o=e(i.length);if(h=r(h,o),t&&n!=n){for(;o>h;)if((n=i[h++])!=n)return!0}else for(;o>h;h++)if((t||h in i)&&i[h]===n)return t||h||0;return!t&&-1}}},function(t,i,n){var s=n(55),e=Math.max,r=Math.min;t.exports=function(t,i){return 0>(t=s(t))?e(t+i,0):r(t,i)}},function(t,i,n){function s(t){o(t,e,{value:{ge:"O"+ ++u,Wt:{}}})}var e=n(38)("meta"),r=n(25),h=n(30),o=n(20).ba,u=0,a=Object.isExtensible||function(){return!0},c=!n(35)((function(){return a(Object.preventExtensions({}))})),f=t.exports={nn:e,qn:!1,bv:function(t,i){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!h(t,e)){if(!a(t))return"F";if(!i)return"E";s(t)}return t[e].ge},Xv:function(t,i){if(!h(t,e)){if(!a(t))return!0;if(!i)return!1;s(t)}return t[e].Wt},vw:function(t){return c&&f.qn&&a(t)&&!h(t,e)&&s(t),t}}},function(t,i,n){var s=n(45),e=n(57),r=n(49);t.exports=function(t){var i=s(t),n=e.ba;if(n){n=n(t);for(var h,o=r.ba,u=0;n.length>u;)o.call(t,h=n[u++])&&i.push(h)}return i}},function(t,i,n){var s=n(48);t.exports=Array.isArray||function(t){return"Array"==s(t)}},function(t,i,n){var s=n(20),e=n(26),r=n(45);t.exports=n(19)?Object.defineProperties:function(t,i){e(t);for(var n,h=r(i),o=h.length,u=0;o>u;)s.ba(t,n=h[u++],i[n]);return t}},function(t,i,n){var s=n(31),e=n(54).ba,r={}.toString,h="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.ba=function(t){if(h&&"[object Window]"==r.call(t))try{var i=e(t)}catch(t){i=h.slice()}else i=e(s(t));return i}},function(t,i,n){function s(t,i){t||(t=window.event),t.stop=function(){var i=t;i.preventDefault(i),i.stopPropagation(i)},void 0===t.target&&(t.target=t.srcElement||i),t.preventDefault||(t.preventDefault=function(){t.returnValue=!1}),t.stopPropagation||(t.stopPropagation=function(){t.cancelBubble=!0}),t.target&&3===t.target.nodeType&&(t.target=t.target.parentNode);var n=i.ownerDocument;return n&&null==t.pageX&&null!=t.clientX&&(i=n.documentElement,n=n.body,t.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),t}function e(){c||(document.body||setTimeout(e,13),c=!0)}function r(){if(!c){try{document.documentElement.doScroll("left")}catch(t){return void setTimeout(r,1)}e()}}function h(t){return t.match(/:/)?t:"on".concat(t)}n.r(i),n.d(i,"default",(function(){return f}));var o,u=[],a=!1,c=!1;"undefined"!=typeof document&&(document.addEventListener?o=function(){document.removeEventListener("DOMContentLoaded",o,!1),e()}:document.attachEvent&&(o=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",o),e())})),function(){if(!a)if(a=!0,"complete"===document.readyState)e();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",e,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",o),window.attachEvent("onload",e);var t=!1;try{t=null==window.frameElement}catch(t){}document.documentElement.doScroll&&t&&r()}}();var f=function(){function t(){}return t.addEventListener=function(t,i,n){if(3!==t.nodeType&&8!==t.nodeType){var e=function(t,i){return function(n){return s(n,t),i(n)}}(t,n);u.push({element:t,$b:n,Es:e,type:i}),i.match(/:/)&&t.attachEvent?t.attachEvent("ondataavailable",e):t.addEventListener?t.addEventListener(i,e,!1):t.attachEvent&&t.attachEvent(h(i),e)}},t.dispatchEvent=function(t,i,n){var e=t.ownerDocument||t.document;return e.createEvent?((e=e.createEvent("HTMLEvents")).data=n,s(e,t),e.Tk=i,e.initEvent(i,!0,!0),!t.dispatchEvent(e)):(s(e=e.createEventObject(),t),e.data=n,i.match(/:/)?(e.Tk=i,e.yp="ondataavailable",t.fireEvent(e.yp,e)):t.fireEvent(h(i),e))},t.removeEventListener=function(t,i,n){if(3!==t.nodeType&&8!==t.nodeType){for(var s,e=0,r=0;r<u.length;r++)u[r].element!==t||u[r].type!==i||u[r].$b!==n?u[e++]=u[r]:s=u[r].Es;u.length=e,n=s,document.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent(h(i),n)}},t.an=function(i){var n={addEventListener:function(n,s){t.addEventListener(i,n,s)},rw:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.removeEventListener(t[s],i)},sw:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.addEventListener(t[s],i)},removeEventListener:function(n,s){t.removeEventListener(i,n,s)}};return n.element=i,n},t}()},function(t){t.exports=function(t){if(Array.isArray(t))return t}},function(t){t.exports=function(t,i){var n=[],s=!0,e=!1,r=void 0;try{for(var h,o=t[Symbol.iterator]();!(s=(h=o.next()).done)&&(n.push(h.value),!i||n.length!==i);s=!0);}catch(t){e=!0,r=t}finally{try{s||null==o.return||o.return()}finally{if(e)throw r}}return n}},function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},,,function(t,i,n){t.exports=n(110)},function(t,i,n){t=n(39);var s=n(108),e=n(31),r=n(70),h=n(109);t(t.Qc,"Object",{getOwnPropertyDescriptors:function(t){t=e(t);for(var i,n,o=r.ba,u=s(t),a={},c=0;u.length>c;)void 0!==(n=o(t,i=u[c++]))&&h(a,i,n);return a}})},function(t){!function(i){function n(t,i,n,s){return i=Object.create((i&&i.prototype instanceof e?i:e).prototype),s=new v(s||[]),i.Pj=a(t,n,s),i}function s(t,i,n){try{return{type:"normal",da:t.call(i,n)}}catch(t){return{type:"throw",da:t}}}function e(){}function r(){}function h(){}function o(t){["next","throw","return"].forEach((function(i){t[i]=function(t){return this.Pj(i,t)}}))}function u(t){function i(n,e,r,h){if("throw"!==(n=s(t[n],t,e)).type){var o=n.da;return(n=o.value)&&"object"==typeof n&&y.call(n,"__await")?Promise.resolve(n.wn).then((function(t){i("next",t,r,h)}),(function(t){i("throw",t,r,h)})):Promise.resolve(n).then((function(t){o.value=t,r(o)}),(function(t){return i("throw",t,r,h)}))}h(n.da)}var n;this.Pj=function(t,s){function e(){return new Promise((function(n,e){i(t,s,n,e)}))}return n=n?n.then(e,e):e()}}function a(t,i,n){var e=A;return function(r,h){if(e===T)throw Error("Generator is already running");if(e===M){if("throw"===r)throw h;return p()}for(n.method=r,n.da=h;;){if((r=n.Qd)&&(r=c(r,n))){if(r===I)continue;return r}if("next"===n.method)n.Hs=n.ao=n.da;else if("throw"===n.method){if(e===A)throw e=M,n.da;n.np(n.da)}else"return"===n.method&&n.qo("return",n.da);if(e=T,"normal"===(r=s(t,i,n)).type){if(e=n.done?M:_,r.da===I)continue;return{value:r.da,done:n.done}}"throw"===r.type&&(e=M,n.method="throw",n.da=r.da)}}}function c(t,i){var n=t.iterator[i.method];if(n===m){if(i.Qd=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.da=m,c(t,i),"throw"===i.method))return I;i.method="throw",i.da=new TypeError("The iterator does not provide a 'throw' method")}return I}return"throw"===(n=s(n,t.iterator,i.da)).type?(i.method="throw",i.da=n.da,i.Qd=null,I):(n=n.da)?n.done?(i[t.Jw]=n.value,i.next=t.qw,"return"!==i.method&&(i.method="next",i.da=m),i.Qd=null,I):n:(i.method="throw",i.da=new TypeError("iterator result is not an object"),i.Qd=null,I)}function f(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.Fo=t[3]),this.kb.push(i)}function l(t){var i=t.ed||{};i.type="normal",delete i.da,t.ed=i}function v(t){this.kb=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function d(t){if(t){var i=t[w];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1;return(i=function i(){for(;++n<t.length;)if(y.call(t,n))return i.value=t[n],i.done=!1,i;return i.value=m,i.done=!0,i}).next=i}}return{next:p}}function p(){return{value:m,done:!0}}var m,b=Object.prototype,y=b.hasOwnProperty,g="function"==typeof Symbol?Symbol:{},w=g.iterator||"@@iterator",S=g.asyncIterator||"@@asyncIterator",E=g.toStringTag||"@@toStringTag";g="object"==typeof t;var O=i.regeneratorRuntime;if(O)g&&(t.exports=O);else{(O=i.regeneratorRuntime=g?t.exports:{}).an=n;var A="suspendedStart",_="suspendedYield",T="executing",M="completed",I={};(i={})[w]=function(){return this},(g=(g=Object.getPrototypeOf)&&g(g(d([]))))&&g!==b&&y.call(g,w)&&(i=g);var j=h.prototype=e.prototype=Object.create(i);r.prototype=j.constructor=h,h.constructor=r,h[E]=r.displayName="GeneratorFunction",O.nr=function(t){return!!(t="function"==typeof t&&t.constructor)&&(t===r||"GeneratorFunction"===(t.displayName||t.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,E in t||(t[E]="GeneratorFunction")),t.prototype=Object.create(j),t},O.Mu=function(t){return{wn:t}},o(u.prototype),u.prototype[S]=function(){return this},O.AsyncIterator=u,O.async=function(t,i,s,e){var r=new u(n(t,i,s,e));return O.nr(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},o(j),j[E]="Generator",j[w]=function(){return this},j.toString=function(){return"[object Generator]"},O.keys=function(t){var i,n=[];for(i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var s=n.pop();if(s in t)return i.value=s,i.done=!1,i}return i.done=!0,i}},O.values=d,v.prototype={constructor:v,reset:function(t){if(this.next=this.sb=0,this.Hs=this.ao=m,this.done=!1,this.Qd=null,this.method="next",this.da=m,this.kb.forEach(l),!t)for(var i in this)"t"===i.charAt(0)&&y.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=m)},stop:function(){this.done=!0;var t=this.kb[0].ed;if("throw"===t.type)throw t.da;return this.Gs},np:function(t){function i(i,s){return r.type="throw",r.da=t,n.next=i,s&&(n.method="next",n.da=m),!!s}if(this.done)throw t;for(var n=this,s=this.kb.length-1;0<=s;--s){var e=this.kb[s],r=e.ed;if("root"===e.tryLoc)return i("end");if(e.tryLoc<=this.sb){var h=y.call(e,"catchLoc"),o=y.call(e,"finallyLoc");if(h&&o){if(this.sb<e.catchLoc)return i(e.catchLoc,!0);if(this.sb<e.finallyLoc)return i(e.finallyLoc)}else if(h){if(this.sb<e.catchLoc)return i(e.catchLoc,!0)}else{if(!o)throw Error("try statement without catch or finally");if(this.sb<e.finallyLoc)return i(e.finallyLoc)}}}},qo:function(t,i){for(var n=this.kb.length-1;0<=n;--n){var s=this.kb[n];if(s.tryLoc<=this.sb&&y.call(s,"finallyLoc")&&this.sb<s.finallyLoc){var e=s;break}}return e&&("break"===t||"continue"===t)&&e.tryLoc<=i&&i<=e.finallyLoc&&(e=null),(n=e?e.ed:{}).type=t,n.da=i,e?(this.method="next",this.next=e.finallyLoc,I):this.complete(n)},complete:function(t,i){if("throw"===t.type)throw t.da;return"break"===t.type||"continue"===t.type?this.next=t.da:"return"===t.type?(this.Gs=this.da=t.da,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),I},finish:function(t){for(var i=this.kb.length-1;0<=i;--i){var n=this.kb[i];if(n.finallyLoc===t)return this.complete(n.ed,n.Fo),l(n),I}},catch:function(t){for(var i=this.kb.length-1;0<=i;--i){var n=this.kb[i];if(n.tryLoc===t){if("throw"===(t=n.ed).type){var s=t.da;l(n)}return s}}throw Error("illegal catch attempt")}}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(t){t.exports=function(t){var i=[];return i.toString=function(){return this.map((function(i){var n=function(t,i){var n=t[1]||"",s=t[3];return s?i&&"function"==typeof btoa?(t="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */",i=s.ax.map((function(t){return"/*# sourceURL="+s.$w+t+" */"})),[n].concat(i).concat([t]).join("\n")):[n].join("\n"):n}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.ge=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var s={},e=0;e<this.length;e++){var r=this[e][0];null!=r&&(s[r]=!0)}for(e=0;e<t.length;e++)null!=(r=t[e])[0]&&s[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),i.push(r))},i}},,,,,,,,function(t){function i(t,i,n,s,e,r,h){try{var o=t[r](h),u=o.value}catch(t){return void n(t)}o.done?i(u):Promise.resolve(u).then(s,e)}t.exports=function(t){return function(){var n=this,s=arguments;return new Promise((function(e,r){function h(t){i(u,e,r,h,o,"next",t)}function o(t){i(u,e,r,h,o,"throw",t)}var u=t.apply(n,s);h(void 0)}))}}},function(t,i,n){i=n(113),t.exports="string"==typeof i?i:i.toString()},function(t){t.exports='<svg version="1.1" xmlns="https://www.w3.org/2000/svg" viewBox="0 0 153.61 94.026" style="position: absolute; top: 0; left: 0;"><path fill="#D0D0D0" d="M59.34,13.276h-1.695c-0.365,0-0.936-0.08-0.936,0.046v-0.045h-0.007L35.237,32.322l-18.146-0.025 c-0.598,0-1.191,0.131-1.748,0.363c-1.554,0.609-2.783,1.992-2.783,3.727v0.13v27.081v0.129c0,1.733,1.23,3.117,2.786,3.728 c0.555,0.232,1.149,0.362,1.745,0.362h8.677l9.471-0.025l21.467,19.045h0.006V86.79c0,0.126,0.567,0.046,0.935,0.046h1.695 c1.564,0,2.562-1.172,2.562-2.735V16.014C61.902,14.448,60.904,13.276,59.34,13.276z"></path><path fill="#D0D0D0" d="M90.036,50.255c0-8.711-3.873-16.511-10.009-21.824l-4.062,8.188c3.104,2.611,5.292,6.252,6.051,10.387 c0,0,0.255,1.449,0.255,3.242c0,1.796-0.255,3.403-0.255,3.403c-0.758,4.133-2.947,7.772-6.051,10.385l4.062,8.188 c6.137-5.313,10.009-13.112,10.009-21.823c0-0.022,0-0.05-0.001-0.074C90.036,50.302,90.036,50.277,90.036,50.255z"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;1;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M109.87,51.171c0.006-0.294,0.013-1.035,0.013-1.052c0-0.014,0.001-0.027,0.001-0.043 c0-0.041-0.008-0.713-0.014-1.007c-0.008-0.384-0.021-0.767-0.035-1.146c-0.002-0.029-0.002-0.061-0.004-0.09 c-0.57-13.265-6.172-25.227-14.831-34.259l-5.091,7.23c5.758,5.744,9.907,13.108,11.559,21.339c0,0,0.785,5.252,0.788,7.976 c-0.003,2.726-0.288,5.386-0.811,7.966l0.021,0.012c-1.65,8.23-5.801,15.596-11.559,21.34l5.091,7.23 c8.659-9.032,14.261-20.994,14.831-34.26c0.002-0.029,0.002-0.06,0.004-0.089C109.851,51.937,109.863,51.554,109.87,51.171z"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;0;1;1;0" repeatCount="indefinite"></animate></path></svg>'},function(t){t.exports='<svg version="1.1" xmlns="https://www.w3.org/2000/svg" viewBox="0 0 153.61 94.026" style="position: absolute; top: 0; left: 0;"><path fill="#D0D0D0" d="M19.744,30.013c-2.616,0-5.236,2.157-5.236,4.874v16.125v4v11.307c0,2.717,2.62,4.693,5.236,4.693h20.962 l24.795,22h0.007V92.96c0,0.146,0.657,0.053,1.079,0.053h1.96c1.808,0,2.961-1.353,2.961-3.161v-3.513V55.013v-1.196 L29.766,30.013H19.744z"></path><path fill="#D0D0D0" d="M71.508,14.868v-3.513c0-1.808-1.153-3.341-2.962-3.341h-1.96c-0.421,0-1.078,0.087-1.078,0.233V8.014 h-0.007L50.189,21.599l21.319,12.157V14.868z"></path><polygon fill-rule="evenodd" clip-rule="evenodd" fill="#D0D0D0" points="0,9.526 5.5,0 153.61,84.5 148.11,94.026"></polygon><path fill="#D0D0D0" d="M88.19,67.712l4.53,7.949c2.171-1.907,4.088-4.093,5.698-6.499l-7.343-4.188 C90.266,65.987,89.316,66.909,88.19,67.712"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;1;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M104.001,50.754c0-10.063-4.474-19.072-11.563-25.209l-4.691,9.459C91.331,38.02,93.86,42.225,94.735,47 l9.225,5.261C103.982,51.761,104.001,51.26,104.001,50.754"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;1;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M126.931,50.553c0-16.354-6.628-31.147-17.192-42.167l-5.881,8.353 c8.727,8.705,14.263,20.63,14.263,33.814c0,3.164-0.33,6.254-0.937,9.249l8.131,4.636 C126.363,59.997,126.931,55.357,126.931,50.553"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;0;1;1;0" repeatCount="indefinite"></animate></path><path fill="#D0D0D0" d="M103.327,84.819l6.105,8.001c3.613-3.632,6.739-7.679,9.322-12.062l-8.214-4.685 C108.479,79.268,106.057,82.206,103.327,84.819"><animate attributeType="CSS" attributeName="opacity" dur="2s" values="0;0;1;1;0" repeatCount="indefinite"></animate></path></svg>'},function(t){t.exports='.vrm-plg .overlay-wrap {\n  position: absolute;\n  display: -webkit-box;\n  display: flex;\n  width: 100%;\n  padding: 15px 10px 10px;\n  font-family: "Helvetica Neue", Helvetica, Arial;\n  font-size: 12px;\n  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);\n  color: #fff;\n  word-wrap: break-word;\n  background: rgba(0, 0, 0, 0.16);\n  top: 15px; }\n  .vrm-plg .overlay-wrap .title h5 {\n    opacity: 0;\n    -webkit-transition: opacity .5s;\n    transition: opacity .5s;\n    margin-bottom: 0;\n    color: #fff;\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    font-size: 120%; }\n  .vrm-plg .overlay-wrap .title small {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    font-size: inherit; }\n    .vrm-plg .overlay-wrap .title small span {\n      -webkit-transition: opacity .5s;\n      transition: opacity .5s;\n      opacity: 0; }\n  .vrm-plg .overlay-wrap .overlay-btn {\n    -webkit-box-flex: 0;\n            flex: 0 0 auto;\n    align-self: flex-start;\n    padding: 10px;\n    margin-left: auto;\n    margin-right: 5px;\n    background-color: transparent;\n    border: 2px solid #fff;\n    border-radius: 2px;\n    opacity: 0;\n    -webkit-transition: opacity .5s;\n    transition: opacity .5s;\n    line-height: 12px;\n    color: #fff; }\n\n.vrm-plg:hover .overlay-wrap .overlay-btn, .vrm-plg:hover .overlay-wrap .title h5, .vrm-plg:hover .overlay-wrap small span {\n  opacity: 1; }\n'},function(t,i,n){i=n(114),t.exports="string"==typeof i?i:i.toString()},,,function(t,i,n){var s=n(54),e=n(57),r=n(26);i=n(16).Reflect,t.exports=i&&i.ownKeys||function(t){var i=s.ba(r(t)),n=e.ba;return n?i.concat(n(t)):i}},function(t,i,n){var s=n(20),e=n(41);t.exports=function(t,i,n){i in t?s.ba(t,i,e(0,n)):t[i]=n}},function(t,i,n){var s=(i=function(){return this||"object"==typeof self&&self}()||Function("return this")()).regeneratorRuntime&&0<=Object.getOwnPropertyNames(i).indexOf("regeneratorRuntime"),e=s&&i.regeneratorRuntime;if(i.regeneratorRuntime=void 0,t.exports=n(91),s)i.regeneratorRuntime=e;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},function(t,i,n){t=n(39);var s=n(112)(!1);t(t.Qc,"Object",{values:function(t){return s(t)}})},function(t,i,n){var s=n(45),e=n(31),r=n(49).ba;t.exports=function(t){return function(i){i=e(i);for(var n,h=s(i),o=h.length,u=0,a=[];o>u;)r.call(i,n=h[u++])&&a.push(t?[n,i[n]]:i[n]);return a}}},function(t,i,n){(t.exports=n(92)(!1)).push([t.ge,".ad-skip-button-container {\n    position: relative;\n    overflow: hidden;\n}\n\n#ad-skip-button {\n    position: absolute;\n    width: 85px;\n    right: -85px;\n    bottom: 101px;\n    padding: 6px 0;\n    background-color: rgba(34, 34, 34, .85);\n    color: #d0d0d0;\n    font: 12px Arial;\n    text-align: center;\n    border: 1px #747474 solid;\n    border-right: 0;\n    transition: right 1s ease-in;\n    z-index: 7;\n}\n\n.fullscreen-mode #ad-skip-button {\n    width: 165px;\n    bottom: 98px;\n    padding: 9px 0;\n    border-width: 1.5px;\n    font-size: 18px;\n}\n\n#ad-skip-button.skippable {\n    text-decoration: underline;\n    cursor: pointer;\n}\n\n#ad-skip-button.skippable:hover {\n    color: #fff;\n}\n\n#ad-skip-button.expand-skip-button {\n    opacity: 1;\n    right: 0;\n    margin-right: 0;\n}\n\n#ad-skip-button.collapse-skip-button {\n    opacity: 0;\n    right: -110px;\n}\n\n.fullscreen-mode .collapse-skip-button {\n    opacity: 0;\n    right: -165px;\n}\n",""])},function(t,i,n){(t.exports=n(92)(!1)).push([t.ge,"video {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    z-index: 1;\n}\n\niframe {\n    position: absolute;\n    z-index: 2;\n    pointer-events: auto !important;\n}\n",""])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,i,n){function s(){this.dm=this.Ok=this.left=this.top=this.height=this.width=0,this.position=""}function e(){this.value=this.Vh=""}function r(t){this.type=t}function h(){this.type=null,this.value=this.mimeType=""}function o(){this.value="",this.Zt=!1}function u(){this.height=this.width=null,this.aj=this.ih=this.hh=this.Nm=this.dg=this.cg="",this.duration=this.offset=null}function a(t){this.type="".concat(t)}function c(){this.cother=this.cm3u8=this.c3gpp=this.cflv=this.cwbm=this.cmp4=this.cswf=this.cjs=0}function f(){this.jb=[],this.id=this.xo="",this.Pa=null}function l(){this.name=this.version=""}function v(){this.bj=this.oi=this.Ea=""}function d(){this.vendor="",this.am=[],this.Uk=[],this.jb=[],this.$i=[]}function p(){this.value=""}function m(t){this.url=t}function b(t,i){this.type=t.match(/([A-Z]?[^A-Z]*)/g).slice(0,-1).join("_").toLowerCase(),this.value=Oa.ka(i)}function y(t,i){var n=this;this.Yd={},i?(this.lang=t.getAttribute("language"),this.Qk=Ta[this.lang],this.Yd=yh()({},t.getAttribute("type").split("/")[1],Oa.ka(t))):(this.lang=t.getAttribute("lang"),this.Qk=t.getAttribute("displayText"),(Oa.oa(t).Format||[]).forEach((function(t){return n.Yd[t.getAttribute("type")]=Oa.ka(t)})))}function g(t){function i(i){return new nu(i,new t(i))}return i.U=t.U.concat(nu.U),i}function w(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var i=window.crypto||window.msCrypto;return i=window.Uint16Array&&i&&i.getRandomValues?i.getRandomValues(new window.Uint16Array(1))[0]%16:Math.floor(16*(Math.random()||0)%16),("x"===t?i:3&i|8).toString(16)}))}function S(t,i){function n(){try{(function(){var t={Accept:"text/javascript, application/json, text/html, application/xml, text/xml, */*","Content-Type":"application/x-www-form-urlencoded"};Object.keys(t).forEach((function(n){Object.prototype.hasOwnProperty.call(i.headers,n)||(i.headers[n]=t[n])})),i.contentType&&(i.headers["Content-Type"]=i.contentType),Object.keys(i.headers).forEach((function(t){return s.setRequestHeader(t,i.headers[t])}))})(),s.send(i.Pf)}catch(t){i.error&&i.error()}}var s="undefined"!=typeof XMLHttpRequest&&new XMLHttpRequest,e={},r=!1;i.method=i.method?i.method.toLowerCase():"get",i.async=!1!==i.async,i.Pf=i.Pf||"",s.onreadystatechange=function(){if(4===s.readyState){var t=s.getResponseHeader("content-type")||"";e.status=s.status,e.text=s.responseText,/json/.test(t)?e.data=function(t){return"string"==typeof t&&t?JSON.parse(Oh.a.trim(t)):null}(s.responseText):/xml/.test(t)&&(e.data=function(t){if(window.DOMParser)return(new DOMParser).parseFromString(t,"text/xml");var i=new window.ActiveXObject("Microsoft.XMLDOM");return i.async="false",i.loadXML(t),i}(s.responseText)),e.Bd=200<=s.status&&300>s.status||304===s.status||0===s.status&&s.responseText,e.Bd?i.Bd&&i.Bd(e,s):i.error&&Ah.a.setTimeout((function(){i.error(e,s,r)}),1),i.complete&&i.complete(e,s)}};try{s.open(i.method,t,i.async),void 0!==s.withCredentials&&(s.withCredentials=!!i.withCredentials)}catch(t){}i.headers=i.headers||{},i.timeout&&(s.timeout=i.timeout,r=!1,s.ontimeout=function(){return r=!0});var h={data:function(t){return i.Pf=Object(Eh.G)(t),h},end:function(t){return i.complete=t,n(),h},$v:function(t,n){return i.headers[t]=n,h},send:function(t,s){return i.Pf=Object(Eh.G)(t),i.complete=s,n(),h}};return h}function E(t,i,n){return new Sh.a((function(s,e){!function(t,i,n,s,e,r){void 0===r&&(r={}),r.Bd=n,r.error=s,r.method="get",t&&Th.Dr(t),S(t,r).send(i,e)}(t,i||null,s,(function(t,i,n){e({request:i,response:t,bg:n})}),null,n)}))}function O(){var t=Object(Eh.h)("div",{class:"adsbox"},document.body);return t.style.height="1px",t.style.width="1px",new Sh.a((function(i){window.setTimeout((function(){i(0===t.offsetHeight),Object(Eh.D)(t)}),100)}))}function A(t){return this[Mh]||(this[Mh]=E(t||"https://video.adaptv.advertising.com/ad/ads/advertisers/advertisers.txt").then(function(){return!(!Eh.c.safari||!wh.a.gb())&&O.call(this)}.bind(this),function(){return!0}.bind(this))),this[Mh]}function _(t){try{var i=t.document.hasFocus&&t.document.hasFocus()}catch(t){}return i}function T(){this[Dh]=!1,this[Ch]=this[xh].shift(),this[Ch]?(this[Dh]=!0,this[Ch]()):(this[Ph].forEach((function(t){return t()})),this[Ph]=[])}function M(t,i){var n={bckt:this.O.Rp()||"",expb:this.O.nq()||"",expn:this.O.oq()||""};return n=Object(Eh.A)([this.O.ml(),this.O.xh(),this.O.Pq(),{apid:this.O.tf().utid},n]),i=Object(Eh.G)(i),this.fk=this.fk||this.Ka.Tq(),"".concat(this.fk,"/").concat(t,"?").concat(n).concat(i?"&".concat(i):"","&cb=").concat(Math.random())}function I(t){var i=this.ea.fb();t={action:t,seq:i?i.Pa:"",vid:this.ea.Bh()};var n=!(!i||"youtube"!==i.ox)&&this.ea.ia();return t.asid=n?n.getAsid():i?i.metadata&&i.metadata.asid:"",t.acid=n?n.getAcid():i?i.metadata&&i.metadata.acid:"",t.rid=n?n.getRuleId():"",t.vid=n?n.getVideoId():t.vid,t}function j(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=(new Date).getTime()-this.O.tq(),s=this.O.Cl(),e=this.ea.Fh();6e4<n&&(this.Jj.Ce("player load time failure","outliers",{edt:n}),n=null),this.ma("display.gif",{ab:+i,csid:s&&s.playerTemplate&&s.playerTemplate.csid||null,dt:n,h:t.height,itg:e,sact:this.O.md(),spaceid:this[Gh].Zb(),w:t.width})}function N(t,i,n){var s=Math.round(t),e=~~(s/3600),r=s-3600*e;return n=~~(r-60*(s=~~(r/60)))-(500<(t=n?+(t%1).toFixed(3).substring(2):0)?1:0),"".concat((0<e||i?"".concat((10>e?"0":"")+e,":"):"")+(10>s?"0":"")+s,":").concat(10>n?"0":"").concat(n).concat(t?".".concat(t):"")}function R(t){Object(Eh.y)(t)?window.open(t,"_blank"):Xh.error("Failed to open new tab due to invalid url",t)}function k(t){var i=Zh[t];if(void 0===i){try{var n=Qh&&"function"==typeof Qh.canPlayType&&!(Eh.q&&t&&0<=t.indexOf("video/3gpp"))&&(!t||Qh.canPlayType(t))}catch(t){n=!1}i=!!n,Zh[t]=i}return i}function L(){return!!no&&!!to[no.fullscreenEnabled]}function D(){return!!to[no.fullscreenElement]}function C(t,i){this.Oo(t),this.Nt(t,i),this.Ee(t),this.xi(t)}function P(t,i,n){i=t+(i?i.id:""),-1===this.Rg.indexOf(i)&&(this.ma(t,n),this.Rg.push(i))}function x(t){var i=this.Tg.Oq(t);this.Uc=this.Uc||0,this.Uc<i&&4>i&&(this.Uc++,B.call(this),x.call(this,t))}function U(t){var i=this.Tg.kq(t);this.Tc=this.Tc||0,this.Tc<i&&10>i&&(this.Tc++,V.call(this),U.call(this,t))}function V(){this.Pb.Ct({Di:this.Tc},this.df),this.Xe&&this.Xe.dispatchEvent("trackDecile")}function B(){var t={Di:this.Uc};this.Pb.Xi(t,this.df),this.Xe&&this.Xe.dispatchEvent("trackQuartile",t)}function F(){this.bd.gh(),this.Pb.yt(this.df)}function z(){var t=this[co].Aa();try{for(var i=arguments.length,n=Array(i),s=0;s<i;s++)n[s]=arguments[s];return n.reduce((function(t,i){return t[i]}),t)}catch(t){return null}}function H(t,i){if(Array.isArray(t)){var n=Object(Eh.f)(t);(t=n.pop()).U=n}return(n=t.U)||((n=(n=/\(((?:\s*\w*\s*,?)+)\)/g).exec(t.toString()))&&(n=n[1].replace(/\s+/g,"")),n=n&&n.split(",")||[]),t={lp:n,Gf:this,js:t},i?new bo(t):new mo(t)}function Y(t){t=t[t.length-1].intersectionRatio,isNaN(t)||(this[Oo]&&G.call(this),this[Eo]=Math.round(100*t))}function G(){this[Oo]&&(Ah.a.clearTimeout(this[Oo]),delete this[Oo])}function W(){var t=wh.a.od(window),i="moatApiInit".concat(+new Date),n=new Mo.a,s=t.location.protocol;return s="".concat(0===s.indexOf("http")?s:"https:","//z.moatads.com/").concat("aolvidibleapi29384728347","/moatapi.js#moatApiCallback=").concat(i),t[i]=function(s){n.resolve(s),t[i]=void 0},this[No].sd(s),n.za()}function q(t,i){this[jo]===t?this[Io]=i:i.destroy()}function X(){var t=this.O.xh();t=t?Object(Eh.g)(t):{};var i=this.O.tf(),n=this.ea.be(),s=this.O.yf(),e=this.O.Wp();return i&&(t.APID=i.nx),t.width=n.width,t.height=n.height,t["p.vw.active"]=this.xc.qb()?1:0,t["p.vw.viewable"]=this.xc.ee(),t["p.vw.viewableOpportunity"]=this.xc.na(),t.moatViewableOpportunity=this.xc.na(),t.adapViewableOpportunity=this.xc.na(),t.r=wh.a.pb(window),t.ps="html5-vpaid",t.plseq=this.ea.pl()+1,t.sid=this.O.Eh(),t.vvuid=this.O.Gh().vvuid,t.lookahead=!0,s&&(t.euconsent=s.euconsent,t.gdpr=s.gdpr,t.isOathFirstParty=s.isOathFirstParty),e&&(t.us_privacy=e),t}function Q(t,i){"function"==typeof t.setAttribute&&t.setAttribute(i,"")}function Z(t){"function"==typeof t.getAttribute&&t.getAttribute("playsinline")||Q(t,"playsinline"),"function"==typeof t.getAttribute&&t.getAttribute("webkit-playsinline")||Q(t,"webkit-playsinline")}function J(){return Object(Eh.G)({bcid:this[eu].wf(),pid:this[eu].Af()})}function K(){this.dispatchEvent("VideoProgressEvent",{buffered:this[du].buffered,duration:this.getDuration(),waiting:3>this[du].readyState})}function $(){this.dispatchEvent("VideoLoadEvent")}function tt(){var t={duration:this.getDuration()},i=this[bu]===fu.PAUSED,n=this[bu]===fu.LOADING;this[bu]=fu.PLAYING,i?this.dispatchEvent("VideoResumeEvent",t):(n&&this.dispatchEvent("VideoStartEvent",t),this.dispatchEvent("VideoPlayEvent",t))}function it(){this.dispatchEvent("VideoTimeUpdateEvent",{buffered:this.Vp(),currentTime:this.getCurrentTime(),duration:this.getDuration(),durationWithoutAds:0})}function nt(){this[du].paused&&!this[du].ended&&(this[bu]=fu.PAUSED,this.dispatchEvent("VideoPauseEvent"))}function st(){this.dispatchEvent("VideoWaiting")}function et(t){this[bu]!==fu.IDLE&&(this[bu]=fu.IDLE,this.dispatchEvent("VideoEndEvent",{complete:"ended"===t.type,currentTime:this.getCurrentTime()}))}function rt(t){var i=(i=(i=t&&t.data&&t.data.code)||this[du].error&&this[du].error.code)||null;t=(t=t&&t.data&&t.data.message)||this[du].error&&this[du].error.message,this.dispatchEvent("VideoErrorEvent",{code:i,message:"Can't play video ".concat(this[du].currentSrc,": ").concat(i," : message: ").concat(t||null)})}function ht(){this.isMuted()||0===this[du].volume||(this[wu]=this[du].volume),this.dispatchEvent("VideoVolumeChangedEvent",{muted:this.isMuted(),volume:this.getVolume()})}function ot(){this.dispatchEvent("VideoClickEvent")}function ut(){var t=this;this[gu]&&clearTimeout(this[gu]),this[yu].removeEventListener("volumechange",ht,this),this[gu]=setTimeout((function(){t[gu]=null,t[yu].addEventListener("volumechange",ht,t)}),100)}function at(){Object(Eh.t)(this[du])&&(ht.call(this),ut.call(this))}function ct(t){var i=this;this[Ou].sd(this[vu].qq()).then((function(){var n=new window.Hls;n.loadSource(t),n.attachMedia(i[du])}))}function ft(t,i){if(this[Su]=!1,this[du]=i,this[yu]&&(this[yu].wm(),delete this[yu]),this[yu]=new cu(this[du]),this.setVolume(this[wu]),this[yu].addEventListener("loadstart",$,this),this[yu].addEventListener("progress",K,this),this[yu].addEventListener("timeupdate",it,this),this[yu].addEventListener("pause",nt,this),this[yu].addEventListener("waiting",st,this),this[yu].addEventListener("ended",et,this),this[yu].addEventListener("abort",et,this),this[yu].addEventListener("error",rt,this),this[yu].addEventListener("volumechange",ht,this),this[yu].addEventListener("click",ot,this),this[yu].addEventListener("playing",tt,this),Object(Eh.u)(t)&&!k("application/vnd.apple.mpegurl")){if(!Object(Eh.p)())throw Error("Hls cannot be played in this browser.");ct.call(this,t)}else try{this[du].setAttribute("src",t),this[du].load()}catch(t){}return this[bu]=fu.LOADING,!1}function lt(t){if(this[bu]!==fu.IDLE)if(this.isMuted()){("function"==typeof this[du].getAttribute?this[du].getAttribute("playsinline"):void 0)||this[Su]?t===this[pu]&&rt.call(this,{data:{code:5}}):(this[Su]=!0,"function"==typeof this[du].setAttribute&&this[du].setAttribute("playsinline",""),this.play())}else this[bu]=fu.LOADING,this.mute(!0),this.dispatchEvent("VideoVolumeChangedEvent",{muted:!0,volume:0}),this.play()}function vt(t){var i=this;t.forEach((function(t){return i[ya][t.nd()]=t}))}function dt(t,i){var n=this;this.Ua.eb(Jo.a.bind(t,i,(function(){"clickThru"===n.type&&n.ma()})))}function pt(t,i,n){uc.debug("waitAndInject",n);var s=n.fc,e=n.Ew,r=n.Zv,h=t.contentWindow,o=new Mo.a,u=t.document;t.contentDocument?u=t.contentDocument:t.contentWindow&&(u=t.contentWindow.document),r&&(h.onIFrameReady=function(){uc.debug("onIFrameReady"),o.resolve()}),u?(u.open(),e&&e(t),s&&Sh.a.all([new Sh.a((function(i){if("safari"===Eh.c.name)if(u.body)i();else var n=setInterval((function(){u.body&&(clearInterval(n),i())}),100);else Jo.a.bind(t,"load",i)})),new Sh.a((function(t){Eh.v&&"complete"!==u.readyState?Jo.a.bind(u,"readystatechange",(function(){"complete"===u.readyState&&t()})):t()}))]).then((function(){return uc.debug("frame ready",r),r?o.za():new Sh.a((function(t){h.onIFrameReady=t,(t=u.createElement("script")).innerHTML="onIFrameReady()",u.body.appendChild(t)}))})).then((function(){uc.debug("calling onLoaded"),s(t,u)})),h.onerror=function(t,i,n,s){"Script error."!==t&&i&&n&&s&&_h.a.R("IframeError").error([t,"Url: ",i,"Line: ",n,"Column: ",s].join(", "))},u.write(i),u.close()):Object(Eh.d)(pt.bind(this,t,i,n))}function mt(t){return{adSessionId:this[Ec],data:{context:{accessMode:"full",adCount:1,adServingId:"c532d16d-4d7f-4449-bd29-2ec0e693fc86",adSessionType:"html",apiVersion:"1.0",environment:"web",omidJsInfo:{omidImplementer:"o2-sdk",serviceVersion:"4.1.1"},videoElement:this[Ic].Xc},verificationParameters:this[Ac].$i[0]&&this[Ac].$i[0].value},timestamp:+new Date,type:t}}function bt(t){pc.debug("onSessionEvent",t),this[gc]&&this[gc](mt.call(this,t)),wt.call(this,this[Sc],t)}function yt(){Object(Eh.D)(this[yc])}function gt(){bt.call(this,lc),Object(Eh.d)(yt.bind(this))}function wt(t,i){var n=mt.call(this,i);t[i]?(pc.debug("notifyListeners",i),t[i].forEach((function(t){return t(n)}))):(pc.debug("notifyListeners - cache",i),this[Oc][i]||(this[Oc][i]=[]),this[Oc][i].push(n))}function St(t){var i=this;t.omid3p={addEventListener:function(t,n){if(pc.debug("addEventListener",t),-1<Object.values(ph).indexOf(t))var s=i[Sc];else{if(!(-1<Object.values(dh).indexOf(t)))return;s=i[wc]}s[t]||(s[t]=[]),s[t].push(n),i[Oc][t]&&i[Oc][t].forEach((function(t){return n(t)}))},registerSessionObserver:function(t,n){pc.debug("registerSessionObserver",n),i[gc]=t,bt.call(i,vc)}}}function Et(){var t=this;this[_c].addEventListener(dc.rc,(function(i){wt.call(t,t[wc],i.Mc)})),this[jc].addEventListener($o.lc,gt.bind(this))}function Ot(t){var i=this;pc.debug("loadScript",t);var n=new Mo.a;return this[yc]=new cc(this[Mc]).Sl({fc:function(s,e){St.call(i,s.contentWindow),new ao.a(e).sd(t).then(n.resolve,n.reject)}}),this[yc].style.display="none",this[yc].id="adverificationloaderframe",n.za()}function At(){var t=this;if(pc.debug("onNotExecuted",this[bc]),0<this[Ac].jb.length){var i=new Na("verificationNotExecuted");i.gd=this[Ac].jb.map((function(i){return i=i.url,pc.debug("replaceMacros",i),i.replace(/\[REASON]/g,t[bc])})),this[_c].dispatchEvent(i)}}function _t(){var t=this;this.scripts.forEach((function(i){return i.prepare(t.Ua,t.ad,t.M)}))}function Tt(){var t=this;this.Pm.forEach((function(i){return i.prepare(t.Ua,t.ad,t.M)}))}function Mt(){var t=this;this.Nk.forEach((function(i){return i.prepare(t.Ua,t.Lt)}))}function It(){var t=this;this.Xd.forEach((function(i){return i.prepare(t.M)}))}function jt(){var t=this;this.rk.forEach((function(i){t.Gf.ya(Nc).prepare(i,t.ad)}))}function Nt(){Rc.debug("unbindEvents"),this.Ua&&(this.Ua.fa(),this.Ua=null)}function Rt(){this.jh.replace=!0,this.jh.type="Overlay",this.Or=this.Ng.Al().aegOverride,this.Ng.Em(this.jh),Jo.a.group(Jo.a.ua(this.M,Bc.LOADED,kt.bind(this)),Jo.a.ua(this.M,Bc.Me,kt.bind(this))),this.Pr=this.M.ob().wi,this.M.ob().wi="00:00:01"}function kt(){this.Ng.Em(this.Or),this.M.ob().wi=this.Pr}function Lt(){"url"===this.Ds?(this.value=this.M.Yb().resolve(this.value),this.Sd.sd(this.value)):this[Yc]=this.Sd.br(this.value)}function Dt(){Object(Eh.D)(this[Yc])}function Ct(){return this.ad.nb.filter((function(t){return"one_video_inventory_attributes"===t.type}))[0]}function Pt(t,i){var n=this;this.Ua.eb(Jo.a.bind(this.M,t,(function(){clearTimeout(n.vk),n.vk=setTimeout(n.ma.bind(n),n.timeout),n.Ua.eb(Jo.a.ua(n.M,i,xt.bind(n))),n.Ua.eb(Jo.a.bind(n.M,$o.lc,xt.bind(n)))})))}function xt(){clearTimeout(this.vk)}function Ut(t,i){return t.xk-i.xk}function Vt(t,i){switch(t){case 0:return!1;case 1:return!0;default:return i}}function Bt(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new _a(i))})),t}function Ft(t,i){return t[i]&&t[i][0]?Oa.oa(t[i][0]).rule.map((function(t){return new Af(t,i)})):[]}function zt(){var t=[],i=this.Vb(1<arguments.length?arguments[1]:void 0);return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){(n=i.parse(n))&&t.push(n)})),t}function Ht(t,i){return t?zt.call(this,Oa.oa(t[0])[i],i):[]}function Yt(t,i){i.forEach((function(i){(i=i.url)&&t.gd.push(i)}))}function Gt(t){return this.qa.filter((function(i){return i.__proto__===t.__proto__}))[0]}function Wt(t,i,n,s){var e=this;t&&t.jb&&t.jb.forEach((function(t){var r;if(r=t.type===n&&t.url){var h=Oh.a.trim(t.offset||"");s&&s.Mc===ic&&h?(r=s.data||{}).duration?(h=-1===h.indexOf("%")?Object(Eh.J)(h):r.duration*Number(h.substr(0,h.length-1))/100,(r=r.currentTime>=h&&-1===e.ek.indexOf(t))&&e.ek.push(t)):r=!1:r=!0}r&&(r=t.url,function(t){return 0<_l.filter((function(i){return-1<t.indexOf(i)})).length}(t.url)||(r+="".concat(-1<t.url.indexOf("?")?"&":"?","cb=").concat(Math.random().toString(10).substr(2))),i.push(r))}))}function qt(t){var i=t.clone();t.Ps(i),this.dispatchEvent(i)}function Xt(t,i){throw new Vu(t,i||ra)}function Qt(t,i){return-1<(i?Qv:Qv.concat(["All"])).indexOf(t)}function Zt(){this[hd]=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).concat(),this[od].debug("Register",this[hd]);var t=(new Date).getTime();this[hd].forEach((function(i,n){return i.Hd="".concat(t,"_").concat(n)}))}function Jt(t,i){this[od].warn("Unable to release",t,"(Reason: ".concat(i,")"))}function Kt(t,i){var n=this,s=t.aeg||[];this[fd].Is({audiences:[],utid:this[ld]});var e=[];return s.forEach((function(s){var r=[];s.forEach((function(s){try{if(s instanceof Jv)var e=s;else s.type||(s.type=t.type||i),s.podId||(s.podId=t.podId),s.slotAdSeq||(s.slotAdSeq=t.adSeq),s.transactionId=n[vd]||t.txid,s.adxResult=n[dd]||t.adxResult,s.usid=n[pd]||t.usid,s.auid=n[md]||t.auid,s.parentSlot=t.slot,e=id.parse(s,n[cd],n[bd].N("adSystem"));r.push(e)}catch(t){yd.error("Error in entry parsing logic: ".concat(t.message))}})),e.push(r)})),e}function $t(t,i){var n=this;return t.map((function(t){return Kt.call(n,t,i)}))}function ti(t){return t.aeg.some((function(t){return 0<t.length}))}function ii(t){return"Midroll"===t||"Overlay"===t}function ni(t){var i=this;this[Od]={};var n={};return t.forEach((function(t){var s=t.type;ii(s)&&(i[Od][s]||(i[Od][s]={}),i[Od][s][t.time]||(i[Od][s][t.time]=[]),i[Od][s][t.time].push(t),n[s]||(n[s]=""),n[s]+="".concat(t.time,";"))})),n}function si(t){t.forEach((function(t){t.type=Oh.a.zk(t.type),t.slots&&t.slots.forEach((function(t){t.type=Oh.a.zk(t.type)}))}))}function ei(t){var i=this,n=t.filter((function(t){return t.type===i[_d]}));return t=t.filter((function(t){return t.type!==i[_d]&&t.calculated})),n=[].concat.apply([],n.filter((function(t){return t.slots})).map((function(t){return t.slots}))),t=[].concat.apply([],t.filter((function(t){return t.slots})).map((function(t){return t.slots}))),this[Ad]=n.length,n.concat(t)}function ri(t){function i(t,i){return"Bumper"===t.type?1:"Bumper"===i.type?-1:0}return t.forEach((function(t){t.slots&&t.slots.sort(i)})),t}function hi(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];Md.debug("init ad pools with ad groups",i),this[Id]=[],i.forEach((function(i){var n=[];i.forEach((function(t){var i=new ad(t);i.Oc="aem_".concat(Cd++),t.forEach((function(t){return t.Oc=i.Oc})),n.push(i)})),t[Id].push(n)})),this[Dd]=this[Id].length+1,Md.debug("Created Ad Pools",this[Id])}function oi(){this[Id]=this[Id].filter((function(t){return 0<t.length}));for(var t=0;t<this[Id].length;t++)this[Id][t]=this[Id][t].filter((function(t){return 0<t.size()}))}function ui(){var t=this;this[Id]=this[Id].filter((function(t){return 0<t.length}));for(var i=0;i<this[Id].length;i++)this[Id][i]=this[Id][i].filter((function(i){return 0<i.getEntries().filter((function(i){return!t[Rd][fi(i)]})).length}))}function ai(t){hi.call(this),this[Nd].dispatchEvent(new Bc(Bc.Me,{error:t,Da:Hu}))}function ci(t,i){var n=this;this[kd].load(t,i).then((function(i){return li.call(n,i,t)}),ai.bind(this))}function fi(t){return t&&t.Oc&&t.Hd?"".concat(t.Oc,".").concat(t.Hd):null}function li(t,i){try{var n=this[Ld].parse(t,i),s=new Bc(Bc.LOADED,n,i,t&&t.timings,t&&t.podSize,t&&t.defaultSlot,t&&t.version);hi.call(this,s.data.wo),this[Nd].dispatchEvent(s)}catch(t){ai.call(this)}}function vi(t){var i=[];return t.forEach((function(t){var n,s=t.length-1,e=t[s];t=(n=Array.prototype).concat.apply(n,po()(t.slice(0,s))),i.push(new Vd(t,e))})),new zd(i)}function di(t,i){return new zd([new Bd(t,i)])}function pi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),i=i[0],this[Yd].Wa(t)||i)}function mi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>i.length?"":(t=i[2].replace(/^m\./,""),encodeURIComponent(this[Yd].Wa(t)||""))}function bi(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return 3>arguments.length?"":(t=i[2],(i=gi.call(this)).metadata&&i.metadata[t])}function yi(){var t=this[Hd].be()||{};return{height:parseInt(t.height,10)||0,width:parseInt(t.width,10)||0}}function gi(){return this[Hd].fb()||{}}function wi(t,i,n,s){var e=this;mp.debug("Loading Vast ".concat(i));var r=this[gp]&&!t?this[gp].Rh(i):this[wp].ac;Ei.call(this,Ep,i);var h=(new Date).getTime();E(i,null,{timeout:r,withCredentials:!0}).then((function(t){Ei.call(e,Op,i),n&&n(t,0,i)}),(function(t){var o=(new Date).getTime()-h;r<=o?(Ei.call(e,Op,i),s&&s(t,0,i)):Si.call(e,i,r-o,n,s)}))}function Si(t,i,n,s){var e=this;E(t,null,{timeout:i}).then((function(i){Ei.call(e,Op,t),n&&n(i,1,t)}),(function(i){Ei.call(e,Op,t),s&&s(i,1,t)}))}function Ei(t,i){this[bp].dispatchEvent(new Ko(t,{ad:this[gp],url:i}))}function Oi(t){Ii.call(this,ma),_i.call(this,new dp("Loading timeout ".concat(t," ms is exceeded"),t),ma)}function Ai(t,i){this[Bp].ai(t,this[_p],i,this[Up]),this[jp].dispatchEvent(new Ko($o.hj))}function _i(t,i){if(null!==this[Dp]){clearTimeout(this[Dp]),this[Dp]=null,Ap.warn("interruptOnError",t),Ai.call(this,null,i);var n=t instanceof Uu?t.message:t;t=t instanceof dp?t.Qm:null,i=new pp(n,n===Yp?pp.Oe:pp.Pe,t,t?ma:i),this.dispatchEvent("AD_LOAD_INTERRUPTED",i)}}function Ti(t,i){this[Fp].rs(t,this[Pp],function(t,n,s){if(null!==this[Dp]){var e=t.data;this[Up]=n,this[Vp]=t,e||(e=t.text),Oh.a.Hf(t.text)?this.Fc("Empty VAST error",null,Gu):this.Zr(e,i,s)}}.bind(this),function(t,i,n){null!==this[Dp]&&(this[Up]=i,this[Vp]=t,i=Wu,t.bg?i=Fu:wh.a.gb()&&0!==n.indexOf("https:")&&(i=sa),this.Fc("VAST ajax error",t.bg?"request timeout":null,i))}.bind(this))}function Mi(t){t.ads.sort((function(t,i){return t.Pa-i.Pa}))}function Ii(t){this[Lp]&&(this.dispatchEvent("ISSUE_WITH_AD",t),this[Lp].mp(this[Mp],t))}function ji(t){return t.ads=t.ads.filter((function(t){return t instanceof xv||(t.qa=(t.qa||[]).filter((function(t){return t instanceof il||t.td&&0<t.td.length})),t.qa&&0<t.qa.length)})),t}function Ni(t){var i=this;return 0!==t.ads.length||(t.Vd.forEach((function(t){i[Np].Sb(t.url.replace(/\[ERRORCODE\]|%5BERRORCODE%5D|\{errNo\}/g,"303"))})),(t=0<this[Rp]&&Ju)?Ii.call(this,t):t=Ku,this.Fc(Yp,null,t),!1)}function Ri(t){var i=this;this[Rp]+=1,this[kp].ads.splice(t,1),this[Pp]=this[Lp].Md,this[Lp].dd&&this[Cp].Cm(this[Lp].dd),8>=this[Rp]?(this[Lp].tm(this[Mp],{},this.O.le()),Ti.call(this,this[Lp].Dk.url,(function(t){i[Lp].Ko(t),i[Lp].hs(t,i[Lp]),t.parent=i[kp],t.Ib=i[Lp]}))):(this[kp]=null,Ii.call(this,pa),this.Fc("Max number of wrapper redirects ".concat(8," is exceeded"),null,pa))}function ki(t,i){var n=t.Ib,s=new Na(Na.va,null,null,{error:i});return n.dispatchEvent(s),this[Mp].qe(s),(t=t.parent).parent&&t.ads&&0===t.ads.length&&ki.call(this,t,i),t}function Li(t){var i=this,n=t.data.thirdPartyImpressionTrackers||[];try{var s=t.data.vastModelAd.Ef[0].url}catch(t){Xp.debug("Vast impression tracker not found where expected."),s=null}s&&n.push(s),n.forEach((function(t){t=t.replace(Qp,"");var n=/&cb=[^&]*?/.test(t),s=/\?/.test(t)?"&":"?";t=n?t:"".concat(t).concat(s,"cb=[CACHE_BUSTER]"),i[tm].Sb(i[Zp].Yb().resolve(t))})),im=n}function Di(t){return!!t&&0<im.filter((function(i){return t.replace(/(https?:)?/,"").replace(/&cb=[^&]*/,"").replace(/&apid=\[object\sObject]/,"&apid=[APID]").replace(/;ord=[^;]*/,";ord=[timestamp]")===i})).length}function Ci(t,i){var n=this;t.gd.forEach((function(s){if(!Di.call(n,s)){if(s=n[Zp].Yb().resolve(s),t.type===Na.va){var e=ea;i&&"Overlay"===i.getType()&&(e=Xu),e=t.data.error||e;var r=encodeURIComponent((t.data.Bb||"").slice(0,100));s=vi([ol.concat(e.code),cl.concat(e.ga),Tv.concat(r)]).resolve(s)}n[tm].Sb(s)}}))}function Pi(t,i){for(;t;)Xp.debug("onVastEvent","process",t),Ci.call(this,t,i),t=t.Yp()}function xi(){0===this.Ld.length&&(this.reset(),this.Fj&&this.Fj())}function Ui(){var t=this;am.debug("mouseClickHandler"),this[vm]||(this.L.nf(),this[vm]=setTimeout((function(){return t[vm]=null}),100))}function Vi(t){this.Lc(t.message,t.code)}function Bi(){this[mm]=cm.PAUSED,this.track(Ka),this.L.im()}function Fi(t){this.L.Of(t),!0===t.muted?this.track(Ja):this.track(oc)}function zi(){this.L.Vr()}function Hi(){this[mm]=cm.PLAYING,this.track(nc),this.L.km()}function Yi(t){this.L.Ht(t.url)}function Gi(t){t.complete&&this.Ia(Ha),this.Z.Ji(),this[mm]=cm.xb,this[fm].fa(),this.L.complete(!1,t)}function Wi(){this.Fi(),this[mm]=cm.PLAYING}function qi(){this.Fd||(this[ym].Qi((new Date).getTime()-this[bm]),this.Fi(),this.Ia(rc),this.ui(),this.pe())}function Xi(t){this.L.Nf(t),this.Xi(this.Z.jq())}function Qi(t){var i=this;this[Dm]=this[Dm]||t.data.skippable,this[Dm]&&(this[Lm]=tn.call(this,t),null!==this[Lm]&&(nn.call(this),setTimeout((function(){return Object(Eh.E)(i[jm],"collapse-skip-button","expand-skip-button")}),800)))}function Zi(t){var i=Math.floor(t.data.currentTime);0<this[Rm]&&this[Lm]-this[Rm]<i&&(0>=(i=this[Lm]-i)?$i.call(this,t):sn.call(this,i))}function Ji(){this[Mm]&&this[Om].removeEventListener($o.Nc,this[Mm]),Object(Eh.E)(this[jm],"expand-skip-button","collapse-skip-button"),Object(Eh.C)(this[jm],"skippable"),this[Em]=!0}function Ki(){this[Em]&&(this[Om].skip(),Object(Eh.C)(this[jm],"skippable"),this[Em]=!1)}function $i(t){if(!this[Em]){var i="";this[Im]&&(i="| ".concat(Math.round((t?t.data.duration:0)-(t?Math.floor(t.data.currentTime):0)))),this[Nm].innerHTML=this[Cm].replace("%t",i).trim(),Object(Eh.a)(this[jm],"skippable"),this[Em]=!0,Jo.a.ua(this[jm],"click",Ki.bind(this)).link(this[xm])}}function tn(t){var i=t.data;t=i.duration;var n=i.skipOffsetTime;i=i.skipOffsetPercent;var s=this[km];return n||0===n?s=n:(i||0===i)&&(s=~~(t*i/100)),s<Math.min(this[Tm],t)?s:null}function nn(){if(Jo.a.ua(this[Om],$o.lc,Ji.bind(this)).link(this[xm]),0<this[Lm]&&(this[Mm]=Zi.bind(this),this[Om].addEventListener($o.Nc,this[Mm])),!this[jm]){var t=this[Am].querySelector("#".concat("ad-skip-button"));t?(this[jm]=t,this[Nm]=this[jm].querySelector("#".concat("ad-skip-button-text"))):(this[_m].qh(Sm.a),Object(Eh.a)(this[Am],"ad-skip-button-container"),this[jm]=Object(Eh.h)("div",{id:"ad-skip-button"},this[Am]),this[Nm]=Object(Eh.h)("div",{id:"ad-skip-button-text"},this[jm]))}0<this[Lm]?sn.call(this,this[Lm]):$i.call(this)}function sn(t){this[Em]||(this[Rm]=t,this[Nm].innerHTML=this[Pm].replace("%d",this[Rm]))}function en(t){t.stopPropagation(),this.dispatchEvent(Zm.Za,!this[Qm])}function rn(){this[qm].innerHTML="",Object(Eh.h)("div",{style:"position: absolute; display: block; left: 10%; width: 80%; top: 25.5%; height: 49%;"},this[qm],this[Qm]?Wm.a:Ym.a)}function hn(t){var i=this[ab][t];if(i){for(var n=arguments.length,s=Array(1<n?n-1:0),e=1;e<n;e++)s[e-1]=arguments[e];i.call.apply(i,[this].concat(s))}}function on(){var t=this,i=[[Jm.a,Mn],[Jm.b,An],[Jm.c,mn],[Jm.d,En],[Jm.e,Tn],[Jm.f,In],[Jm.g,Dn],[Jm.h,Cn],[Jm.i,bn],[Jm.j,Fn],[Jm.k,ln],[Jm.l,_n],[Jm.m,On],[Jm.n,Sn],[Jm.o,Vn],[Jm.p,Pn],[Jm.q,Un],[Jm.r,yn],[Jm.s,wn],[Jm.t,gn],[Jm.u,Ln],[Jm.v,Nn],[Jm.w,Rn],[Jm.x,jn],[Jm.y,kn],[Jm.z,Bn]],n=this;this[ub]={addEventListener:function(t,i){n[ab][t]=i,fn.call(n,"subscribe",hn.bind(n,t),t,n)},removeEventListener:function(t){delete n[ab][t];try{fn.call(n,"unsubscribe",hn,t)}catch(t){}}},i.forEach((function(i){return un.call(t,i[0],i[1])})),this[fb]=0}function un(t,i){var n=this;this[gb].link(Jo.a.bind(this[ub],t,(function(){try{if(-1!==sb.indexOf(t)){if(-1!==n[cb].indexOf(t))return void n.L.dispatchEvent(new Ko(Km.Aj,t));n[cb].push(t)}for(var s=arguments.length,e=Array(s),r=0;r<s;r++)e[r]=arguments[r];i.apply(n,e)}catch(i){tb.error("Failed to handle ".concat(t," event:"),i)}})))}function an(t){var i=document.createEvent("MouseEvent");i.initEvent(t.type,!t.cancelBubble,t.cancelable),this[db].dispatchEvent(i)}function cn(t){this.element.style.visibility=t?"visible":"hidden"}function fn(t){if(this.Ja)try{for(var i=this.Ja[t],n=arguments.length,s=Array(1<n?n-1:0),e=1;e<n;e++)s[e-1]=arguments[e];return i?i.apply(this.Ja,s):this.Ja.Ab(t,s)}catch(i){tb.error(t,i)}}function ln(){tb.debug("onAdPlaying"),this.L.km()}function vn(t){this.Ja=t.Zm,this[Ab]=(new Date).getTime()-this[Sb],this[Cb].Pi(this[Ab]);try{this.$q(t.data)}catch(t){dn.call(this,t.message)}}function dn(t){tb.error(t);var i=pn.call(this);this.error={W:i.W,code:i.code,description:"".concat(i.description," ").concat(t),Ec:i.Ec,ga:i.ga},this[kb]&&this[kb].call(this,this.error),this.$k()}function pn(t){var i=this[Mb]||ib;return this[vb]&&!this.Ja?i=ba:this.Ja&&!this[Ib]?i=t?ua:oa:this[Ib]&&!this.ii()?i=t?va:la:this.ii()&&(i=fa),i}function mn(t){t=Object(Eh.x)(t)?Object(Eh.x)(t.data)?t.data.message||t.data.errorMessage:"Internal Vpaid Error":t,tb.warn("VPAID_UNIT:",t),-1===nb.indexOf(t)?this.Lc(t):this.stop()}function bn(t){tb.debug("VPAID_UNIT:",t)}function yn(){tb.debug("onAdUserAcceptInvitation");var t=fn.call(this,"getAdLinear");this.track(Va),this.L.dispatchEvent(new Ko("VASTAdInteraction",t?"acceptInvitationLinear":"acceptInvitation"))}function gn(){tb.debug("onAdUserMinimize"),this.track(za)}function wn(){tb.debug("onAdUserClose");var t=fn.call(this,"getAdLinear");this.track(Fa),this.L.dispatchEvent(new Ko("VASTAdInteraction",t?"closeLinear":"close"))}function Sn(){-1===this.cb.indexOf("//imasdk.googleapis.com")&&(tb.debug("Ad Skippable State changed to",fn.call(this,"getAdSkippableState")),this.L.dispatchEvent(new Ko($o.Je,{Kc:this.getAdSkippableState()})))}function En(){var t=fn.call(this,"getAdExpanded");tb.debug("Ad Expanded changed to",t),t?(this.track(Wa),this.L.lm(),this.L.dispatchEvent(new Ko("VASTAdInteraction","expand"))):(this.track(za),this.L.xm(),this.L.dispatchEvent(new Ko("VASTAdInteraction","collapse")))}function On(){tb.debug("Ad size changed to: w=".concat(fn.call(this,"getAdWidth")," h=").concat(fn.call(this,"getAdHeight")))}function An(){tb.debug("Ad Duration changed to",fn.call(this,"getAdDuration"))}function _n(){tb.debug("Ad Remaining Time changed to",this.Xb()),this.L.Mi()}function Tn(){var t=this;this.Fd||(xn.call(this),this.Fi(),tb.debug("Ad Impression"),this.pe(),this.ui(),(this.gi()||"Overlay"===this[eb])&&cn.call(this,!0),setTimeout((function(){return t[Rb]=!0}),500))}function Mn(t,i,n){tb.debug("Clickthrough portion of the ad was clicked",t,i,n),(n=!!t&&(!!n||void 0===n))?i=!!t:(t=null,i=!1),this.L.nf(t,i,!n)}function In(){tb.debug("A non-clickthrough event has occured"),this.L.dispatchEvent(new Ko("VASTAdInteraction"))}function jn(){tb.debug("Video 0% completed"),this.Ia(rc)}function Nn(){tb.debug("Video 25% completed"),this.Ia(qa)}function Rn(){tb.debug("Video 50% completed"),this.Ia(Za)}function kn(){tb.debug("Video 75% completed"),this.Ia(hc)}function Ln(){tb.debug("Video 100% completed"),this.Ia(Ha),Un.call(this)}function Dn(){var t=fn.call(this,"getAdLinear");t!==this[wb]&&(this[wb]=t,tb.debug("Ad linear changed to",t),this.L.ne(t))}function Cn(){this[Ib]=!0,tb.debug("ad has been loaded",this),this[_b]=(new Date).getTime()-this[Eb],this[Cb].Oi(this[_b]),this.setVolume(this[bb]),this.L.dispatchEvent(new Ko($o.ug,{rb:this.L.ad&&this.L.ad.rb||""})),this.si()}function Pn(){tb.debug("Ad has started"),xn.call(this),this.setVolume(this[bb]),this.Yk(),this.L.$f()}function xn(){this[Tb]||(this[Tb]=(new Date).getTime()-this[Ob],this[Cb].Si(this[Tb]))}function Un(){tb.debug("Ad has stopped"),this[Pb]||(this[Pb]=!0,this.Fd||this.mb||(this.error=da),this[pb]&&clearTimeout(this[pb]),this.dispose(),this.L.complete(!1,{currentTime:this.getCurrentTime()}))}function Vn(){tb.debug("Ad was skipped"),this.$k()}function Bn(){var t=this.getVolume();if(t!==this[bb]&&this.ii()){var i=!t;tb.debug("Ad Volume changed to",t),i?this.track(Ja):this.track(oc),this[bb]=t,this.L.Of({muted:i,volume:this[bb]})}}function Fn(){tb.debug("onAdPaused"),this.L.im(),!this[Rb]&&0<this.getVolume()&&!this[Nb]&&(this.setVolume(0),this.resume())}function zn(t){switch(t.type){case $m.b:dn.call(this,"function getVPAIDAd does not exist");break;case $m.c:dn.call(this,"getVPAIDAd() does not return a creative");break;case $m.a:dn.call(this,"API function ".concat(t.name," is missing"));break;case $m.d:this[Mb]=this[Lb]?ca:aa,dn.call(this,"Vpaid url ".concat(t.url," is unavailable"));break;default:this.Lc("Error with vpaid: ".concat(t))}}function Hn(){D()?(this.Ia(Xa),this.Ia(tc)):(this.Ia(Ga),this.Ia($a))}function Yn(){this.vc=new Zm(this.$a.isMuted(),this.ca),this.vc.addEventListener(Zm.Za,this.$a.mute.bind(this.$a))}function Gn(){var t=this.V.Xb();if(0>=t)clearInterval(this.$e);else{this.dispatchEvent(new em(1e3*t)),t=this.V.getCurrentTime();var i=this.V.getDuration()||t;this.Nf({currentTime:Math.min(t,i),duration:i})}}function Wn(t){this.Oj=!0,this.Dc(Na.va,{error:t})}function qn(){this.uc||this.ud(new Uu("ad engine did not finish loading")),this.dispatchEvent(new $o($o.kc,this.P.getType(),{Ud:this.Eg,error:this.wq(),loaded:this.uc}))}function Xn(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.Wm?i.Wm===t?i.level:"error":i.level||"error"}function Qn(){this[Yb]?this[Qb]=(new Date).getTime()-this[Yb]:(this[Qb]=0,zb.error("load is not called before track response")),this.Ag.Ni(this[Qb])}function Zn(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],n=(i=ou()(i,2))[0];if(i=i[1],n&&i)return Array.isArray(i)||(i=[i]),i.map((function(i){var s=t[my].ya(fy);return s.addEventListener(fy.wj,(function(){n(i)})),s.Ri(i),s}))}function Jn(t){var i=Zn.call(this,t.Bd),n=Zn.call(this,t.Qt);return t=Zn.call(this,t.Pt),n=i.concat(n,t),this[by]=i[0],n.filter((function(t){return t}))}function Kn(){return this[Cy].nb.filter((function(t){return"ViewabilityRules"===t.type}))[0]}function $n(){var t=[],i=this[Cy].nb.filter((function(t){return"Viewability3P"===t.type}))[0],n=this[Cy].nb.filter((function(t){return"adaptv_iab_viewable_beacons"===t.type}))[0];return n&&(t=t.concat(n.Ym)),i&&(t=t.concat(i.Rt)),t}function ts(t,i){var n=this;Ly.debug("loadViewabilityBeaconScript",t),this[xy].filter((function(i){return i.type===t})).forEach((function(t){var s=[];i&&s.push([ky,i.Df()]),t.prepare(null,n[Uy],s),t.ma()}))}function is(t){var i=this;this[Cy].jc.forEach((function(n){var s=n.Ea,e=n.oi;if(n=n.bj,"iab_viewable"===t&&s)return s.ma();if("iab_detection_failed"===t){if(n&&-1===i[Dy].na())return n.ma();if(e)return e.ma()}}))}function ns(t,i){this[Cy].dispatchEvent(new Na(t,this[Py])),ts.call(this,t,i),!this[Cy].jc||"iab_viewable"!==t&&"iab_detection_failed"!==t||is.call(this,t)}function ss(){zy.debug("onImageClick"),this.L.nf()}function es(){this.Hg.fa(),Object(Eh.D)(this.element)}function rs(t){t.data.currentTime>this.icon.offset&&(this.L.ie.appendChild(this.element),0===this.icon.duration&&this.L.removeEventListener("VASTAdTimeUpdate",this.Wi)),0<this.icon.duration&&t.data.currentTime>this.icon.offset+this.icon.duration&&(Object(Eh.D)(this.element),this.L.removeEventListener("VASTAdTimeUpdate",this.Wi))}function hs(t){this[Gy].Sb(t)}function os(t){return-1!=="".concat(t).indexOf("%")}function us(t,i){var n={height:i,width:t,x:0,y:0};this.dc()&&(this.Na.position=s.qg),n.x=(this.ca.offsetWidth-t)/2,n.y=(this.ca.offsetHeight-i)/2;var e=this.ca.offsetWidth,r=this.ca.offsetHeight;switch(this.Na.position){case s.qg:n.y=0;break;case s.uj:n.x=this.ca.offsetWidth-t;break;case s.rj:n.y=this.ca.offsetHeight-i;break;case s.tj:n.x=0;break;case s.pg:this.ca.parentNode&&e===this.ca.parentNode.offsetWidth&&(r=this.ca.parentNode.offsetHeight),n.x=os(this.Na.left)?parseFloat(this.Na.left)*e/100:this.Na.left,n.x-=t/2,n.y=os(this.Na.top)?parseFloat(this.Na.top)*r/100:this.Na.top,n.y-=i/2}return n}function as(t,i){return t=t.filter((function(t){return k(t.mimeType)})),i?function(t){return t.sort((function(t,i){return(i.Rb||0)-(t.Rb||0)}))}(t):function(t){return t.sort((function(t,i){return(t.Rb||0)-(i.Rb||0)}))}(t)}function cs(t){return 0<$y.filter((function(i){return new RegExp(i).test(t)})).length}function fs(){this[wg].forEach((function(t){return t.resize()}))}function ls(t){ig.warn("VAST error occurred in ad",t)}function vs(t){var i=this;t.addEventListener("VASTAdStarted",this.dispatchEvent.bind(this)),t.addEventListener("VASTAdError",ls.bind(this,t)),t.addEventListener("VastMediaElementReady",Cs.bind(this,t)),t.addEventListener($o.tg,this.M.dispatchEvent.bind(this.M)),t.addEventListener($o.ug,this.M.dispatchEvent.bind(this.M)),t.addEventListener($o.He,this.M.dispatchEvent.bind(this.M)),t.addEventListener($o.Je,this.M.dispatchEvent.bind(this.M)),t.ke(this.M.getVolume()),t.ra&&t.ra.cc&&t.ra.cc.forEach((function(n){return new Wy(n,i.Z,i[ug]).ot(t)}))}function ds(t){var i=this;ig.debug("prepareCreatives",t),gs.call(this,t),this.ad=t,this[Og]&&(this.ad=Bs.call(this)||t),this[vg]=[],this[mg]=[],this.ad.qa.forEach((function(t){ig.debug("prepareCreatives","creative",t),t instanceof If?i[vg].push(t):t instanceof il&&i[mg].push(t)})),this.ad.tm(this[ag],{yu:this.Va()},this.O.le())}function ps(){var t=this;ig.debug("prepareExtensions",this.ad),this.ad.nb.forEach((function(i){ig.debug("prepare extension",i),i.prepare(t)}))}function ms(){var t=this;ig.debug("prepareVerifications",this.ad),this.ad.Mt.forEach((function(i){ig.debug("prepare verification",i),t.X.ya(Nc).prepare(i,t.ad)}))}function bs(){var t=this;ig.debug("prepareAdViewableImpression",this.ad),this.ad.jc.forEach((function(i){var n=i.Ea,s=i.oi;i=i.bj,n&&(ig.debug("prepare viewable container",n),n.prepare(null,t.M)),s&&(ig.debug("prepare notViewable container",s),s.prepare(null,t.M)),i&&(ig.debug("prepare viewUndetermined container",i),i.prepare(null,t.M))}))}function ys(t){this[ag].qe(t,this.P)}function gs(t){var i=this;ig.debug("instrumentAd",t),sg.forEach((function(n){return t.addEventListener(n,ys.bind(i))})),t.addEventListener(Na.Za,(function(t){return i.lk(t.Ub())})),t.addEventListener(dc.rc,(function(t){var n=eg[t.Mc];n&&i.pa(n,t.data)}))}function ws(t,i){ig.debug("displayOverlay"),this[bg].gh(),t=new Xy(this[bg],this[gg].ads[0]||this.ad,t,this[dg],i,this.M,this),this[wg].push(t),t.addEventListener("VASTAdStarted",this.Wg.bind(this,t)),t.addEventListener("VASTAdEngineComplete",Es.bind(this)),t.addEventListener("VASTAdInteraction",Os.bind(this)),t.addEventListener("VASTAdEngineComplete",Ps.bind(this,t)),vs.call(this,t),this.O.$l()?t=t.ha.mi:(i=t.Na.dm,isNaN(i)&&(i=t.ha.mi),t=i),t&&t!==Number.POSITIVE_INFINITY&&!isNaN(t)&&(t*=1e3,this[bg].Uf(Ls.bind(this),t))}function Ss(t){this.Be("loaded",t)}function Es(){this.Ic("started")?this.pa("finished"):this.pa("failover")}function Os(t){this.Ma($o.fj,{action:t.data})}function As(t){var i=this;this.Ic("started")?this[og].Ce("ad",null,"ad failed after start"):this[rg].Dc(Na.va,{error:t}),this.cf=null,this[cg]++;var n=this[gg].sl(),s=n||this[gg];if(this[gg].Fq(n).forEach((function(n){var s=new Na(Na.va,null,null,{error:t});n.dispatchEvent(s),i[ag].qe(s)})),s){if(n=0,-1===this.bb.zc)for(var e=0;e<s.ads.length;e++)if(s.ads[e]&&!s.ads[e].Pa){n=e;break}if(e=s.ads[n])return this.Ma($o.Bj,{hp:{ad:this.ad&&this.ad.ub||null,ra:this[hg]&&this[hg].ub||null},tp:!0,Da:t}),this[gg]=s,e.me?_s.call(this,n):(this[gg].ads.splice(n,1),ig.debug("showNextLinearCreative","show failover ad"),this.Sc&&this.Sc.fa(),ds.call(this,e),this.hc(),Ms.call(this)),!0}return this.Ic("loaded")&&!this.Ic("started")&&this.pa("failover"),!1}function _s(t){this.wa.ye(),this.wa.gs(this[gg],t)}function Ts(){var t=this;this.Rc=Jo.a.group(Jo.a.bind(this[rg],"VASTAdEngineComplete",(function(i){Ps.call(t,t[rg],i)})),Jo.a.bind(this[rg],em.zj,ks.bind(this)),Jo.a.bind(this[rg],$o.Ie,js.bind(this)),Jo.a.bind(this[rg],"VASTAdImpression",this.Yh.bind(this)),Jo.a.bind(this[rg],"VASTAdStarting",(function(i){t.pk(i,t[rg])})),Jo.a.bind(this[rg],"VASTAdStarted",(function(i){t.Wg(t[rg],i),i=+t[rg].getDuration();var n=+t[hg].duration;0<i&&(i>1.8*n||n>1.8*i)&&t[og].Ce("ad",null,"ad duration mismatch: expected ".concat(n," but real duration: ").concat(i))})),Jo.a.bind(this[rg],"VASTAdPaused",this.mk.bind(this)),Jo.a.bind(this[rg],"VASTAdResumed",this.nk.bind(this)),Jo.a.bind(this[rg],"VASTAdVolumeChanged",this.Ao.bind(this)),Jo.a.bind(this[rg],"VASTAdTimeUpdate",(function(i){t[Sg]=t.getDuration(),t.qk(i);var n=t[hg]||{};if(n.Kc&&!t[yg]){var s=0;i=i.data||{},n.Yf?s=n.Yf:n.Xf&&(s=i.duration*n.Xf/100),i.currentTime>=s&&(t[yg]=!0,t.M.dispatchEvent(new Ko($o.Je,{Kc:t.getAdSkippableState()})))}})),Jo.a.bind(this[rg],"VASTAdWaiting",this.Bo.bind(this)),Jo.a.bind(this[rg],"VASTAdInteraction",this.zt.bind(this)),Jo.a.bind(this[rg],Km.Aj,Is.bind(this)))}function Ms(){if(ig.debug("showFirstLinearCreative",this[vg]),0===this[vg].length)if(this.ad){this[rg]=new Fb(this.ta,this.ad,{},this.M,this);var t=$u;As.call(this,t)||(this.Jc(new pp(t.description,null,null,t)),this.complete())}else this.complete();else(t=this.ad)&&(t=this.ad,t=((new Date).getTime()-t.Br)/1e3>t.expires),t?(this[rg]=new Fb(this.ta,this.ad,{},this.M,this),t=Yu,As.call(this,t)||(this.Jc(new pp(t.description,null,null,t)),this.complete())):(this.Sa=null,this[hg]=this[vg].shift(),this.ad.dispatchEvent(new Na(Na.LOADED,this[hg])),this[lg]?this[lg]=!1:this.Ug(),this.Ag.Am(this.ad&&this.ad.ub||null,this[hg]&&this[hg].ub||null),t=this.ca.offsetHeight,0===this.ca.offsetWidth&&(this.ca.style.width="100%"),0===t&&(this.ca.style.height="100%"),(t=Jy.Sf(this[hg].td))?(this[dg]=t[0],ps.call(this),ms.call(this),this.Sc=new Vy(this.ad,this[hg],this.M),this[hg].Hk.prepare(this.X,this.ad),this.ad.jc&&bs.call(this),this.M.dispatchEvent(new Ko("VASTAdLoading",{ad:this.P,url:this[dg].url})),t=new Fb(this.ta,this.ad,this[hg],this.M,this).$m(t).Xt(this[hg].Tl),this[rg]=t,this.Rc&&(this.Rc.fa(),this.Rc=null),Ts.call(this),this[wg].push(t),vs.call(this,t)):Ms.call(this))}function Is(t){this[og].Ce("ad",null,'VPAID sends "'.concat(t.data,'" event twice'))}function js(t){ig.debug("received linear change event",t),t.data.isLinear||this.pa("non-linear"),this.M.dispatchEvent("AdSystem.LinearChange",t)}function Ns(){var t=this[gg].ads[0];return t?(t.me?(t=this[gg],this.wa.ye(),this.wa.xd(t)):(this[gg].ads.shift(),ds.call(this,t),this.hc(),Ms.call(this)),!0):!!(t=Rs.call(this))&&(this.wa.ye(),this.wa.xd(t),!0)}function Rs(){for(var t=this[gg].parent;t&&t.parent&&(0===t.ads.length||!t.ads[0].Pa);)this.wa.kp(),t=t.parent;return t}function ks(t){t=t.vm,this.ta&&(t=Math.min(this.ta.um(),t)),t=new em(t),this.dispatchEvent(t),this.M.dispatchEvent(t)}function Ls(t,i){if(ig.debug("killAds"),this.Pn=!0,this[bg].stop(),this[vg]=[],0<this[wg].length){var n=this[wg];t||(this[wg]=[]),n.forEach((function(t){return t.stop(i)}))}else Ps.call(this)}function Ds(t,i){var n=[];return this[wg].forEach((function(i){i!==t&&n.push(i)})),this[wg]=[],0===n.length?null:(new sm(n,Ps.bind(this,t,i)).It(),n.forEach((function(t){return t.stop()})),n)}function Cs(t){this[Eg]&&"Overlay"!==this.ia().getType()?(this.Cc(),this.M.dispatchEvent(new Ko($o.Mb))):t.ic()}function Ps(t,i){if(ig.debug("completeAd",t,i),this[bg].stop(),this.Te=!1,i){if(null!=Ds.call(this,t,i))return;var n=t.fl();if(n&&(this.Jc(new pp(n.message||n.description,null,null,n)),this.cf=Vs.call(this,n)),i.force&&(this.Te=!0),this.gf(i.currentTime,i.data),t instanceof Fb)return ig.debug("showNextLinearCreative"),this.Sc&&this.Sc.fa(),void(this.Sa?(this.cf||(this.cf=Vs.call(this)),As.call(this,this.cf)||Ps.call(this)):((t=-1===this.bb.zc)&&(t=!(!(t=this[gg].ads[0])||!t.Pa)),(this.M.Vl()||t)&&Ns.call(this)||Ps.call(this)));if(t instanceof Xy)return void Ps.call(this)}this.Te||this.complete()}function xs(t){if(t=t.ha)return qh.a.Ch(t.url)||t.url}function Us(){var t=[];if(this.ad&&this.ad.qa&&this.ad.qa.length)t=Qy.iq(this.ad.qa);else if(this[wg]&&this[wg].length)t=this[wg].map((function(t){return xs(t)}));else if(this[rg]){var i=xs(this[rg]);i&&t.push(i)}return t.join(",")}function Vs(t){return(t=Object(Eh.g)(t||{})).code=t.code||this.Sa.code||ng.code,t.description=t.description||this.Sa&&this.Sa.message||ng.description,t}function Bs(){return Object(Eh.m)(this[gg].ads,(function(t){return!isNaN(t.Ep)}))}function Fs(){this[Og]=!0}function zs(t){return t=((t.assets||[]).find((function(t){return"VIDEO_PRIMARY"===t.usageType}))||{}).mediaInfo||[],Jy.Sf(t.map((function(t){return Object.assign({},t,{mimeType:t.contentType})})))}function Hs(){var t=this.wc.Df(),i=[];switch(this.wc.getName()){case"viewabilityDefVideo3P":i.push([ky,t]);break;case"viewabilityDefStatic3P":i.push([gy,t])}return i}function Ys(){var t=this,i=Gs.call(this);0<i.length&&i.map((function(i){return t[Gg].ya(Fg).Ri(i)}))}function Gs(){var t=this,i=[];return Object.keys(Zg).forEach((function(n){var s=Zg[n],e=t[Xg][s]||[];if("GEMINI_IMP"===n){if(!t[Qg])return;var r=[t[Qg]]}else{if(!t[qg][n])return;r=t[qg][n]}Array.isArray(e)||(e=[e]),e.forEach((function(t){i.push(new Of(s,t,r))}))})),Hg.debug("rules prepared",i),i}function Ws(t){if(-1===this[sw].indexOf(t)){var i=this[tw]&&this[tw][t];i&&(Kg.debug("Tracking pixels",t,i),this[$g].Zk({nm:i})),this[sw].push(t)}}function qs(){this.Cc(),this.M.dispatchEvent($o.Mb)}function Xs(){hw.debug("loading complete"),this[aw].ai(this[ow].zb,this[ow],null,0),this.dispatchEvent("AD_LOAD_COMPLETE",this[ow].zb)}function Qs(t){return 0<((t=t||{}).ads||[]).length}function Zs(t,i){this[yw]!==dw.LOADED&&this[yw]!==dw.xj&&(this[yw]=dw.LOADED,t&&t(i.data),this[pw].dispatchEvent($o.Lb,i))}function Js(t){var i=t.Tb;vw.debug("adapterComplete","configEntry",i,"event",t),this[gw].fi()?(this[bw].cm(i),Ks.call(this,"all ads are failed",t.data&&t.data.Ud,t.data&&t.data.error&&t.data.error.Da,i)):(this.reset(),this[yw]=dw.xb,this.dispatchEvent(new Ko(Ko.lg))),this[pw].dispatchEvent($o.kc,t)}function Ks(t,i,n,s){vw.debug("finish",t),this.stop(),this.dispatchEvent(new Ko(Ko.lg,{Tb:s,Ud:i,error:t,Da:n}))}function $s(t){t=new t(this[pw]),this[Sw][t.getType()]=t}function te(){var t=this;this[Iw].addEventListener(Bc.LOADING,re.bind(this)),this[Iw].addEventListener(Bc.LOADED,he.bind(this,"LOADED")),this[Iw].addEventListener(Bc.Me,he.bind(this,"FAILED")),this[Iw].addEventListener($o.Ge,oe.bind(this)),this[Iw].addEventListener($o.Ya,se.bind(this)),this[Iw].addEventListener($o.eg,(function(i){t[_w]||re.call(t),t[Tw]&&!t[Tw].end&&oe.call(t),t[Tw]={ads:[],duration:null,end:null,label:"aegGroup",start:+new Date},t[_w].adGroups.push(t[Tw]),ee.call(t,i)})),this[Iw].addEventListener(Ep,(function(i){i=i.data;var n=ae.call(t,i.ad);n&&n.adChain.push({duration:null,end:null,start:+new Date,url:i.url})})),this[Iw].addEventListener(Gp,(function(i){i=i.data,Jo.a.ua(i.ad,Na.va,ce.bind(t,i))})),this[Iw].addEventListener(Op,(function(i){(i=(i=ae.call(t,i.data.ad))&&i.adChain||[]).length&&((i=i[i.length-1]).end=+new Date,i.duration=i.end-i.start)})),this[Iw].addEventListener("VASTAdLoading",(function(i){i=i.data;var n=ae.call(t,i.ad);n&&(t[jw]={duration:null,end:null,start:+new Date,url:i.url},n.adMediaFiles.push(t[jw]))})),this[Iw].addEventListener($o.qj,(function(i){if(i=i[0]&&i[0].rootElem,!t[Nw]&&i&&"IFRAME"!==i.lastChild.nodeName){t[Nw]=document.createElement("iframe"),t[Nw].style.display="none";var n=t[Iw].Ga().N("urls");t[Nw].src=n.Wq(),i.appendChild(t[Nw])}})),this[Iw].addEventListener($o.Cd,ne.bind(this,$o.Cd)),this[Iw].addEventListener($o.og,ne.bind(this,$o.Cd)),window.addEventListener("message",ie.bind(this))}function ie(t){this[Nw]&&t.origin===qh.a.yi(this[Nw].src).origin&&t.data&&!t.data.optIn&&this[Nw].parentNode&&this[Nw].parentNode.removeChild(this[Nw])}function ne(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"SUCCESS";if(this[Nw]&&this[Nw].contentWindow){var i=this[Iw].$d();this[Nw].contentWindow.postMessage({data:this[Aw],date:Date.now(),key:"vapa-data",method:"set",playerInfo:{xu:"0.0.36",Bw:i.El(),Cw:i.Bf()},publisherUrl:window.location.href,status:t},"*")}else Ow.info("Local Storage Iframe was not create")}function se(t){this[Aw].adStartTime||(this[Aw].startAdTime=+new Date,this[Aw].adStartTime=this[Aw].startAdTime-this[Aw].initTime,oe.call(this),t&&t.data&&(t=ae.call(this,t.data.ad))&&t.adMediaFiles.length&&((t=t.adMediaFiles[t.adMediaFiles.length-1]).end=this[Aw].startAdTime?this[Aw].startAdTime:+new Date,t.duration=t.end-t.start),ne.call(this))}function ee(t){if(t){var i=ue.call(this,t);t.addEventListener($o.Lb,(function(){i.end=+new Date,i.duration=i.end-i.start})),t.addEventListener($o.kc,(function(){i.complete=+new Date}))}}function re(t){var i=t&&t.data||{};return this[_w]&&!this[_w].adServerResponse&&he.call(this,"FAILED",t),this[_w]={adGroups:[],adStrategy:i.zo,duration:null,end:null,label:"adServerRequest",requestUrl:null,start:+new Date,type:i.type},this[Aw].adServerRequests.push(this[_w]),this[_w]}function he(t,i){this[_w]||re.call(this);var n=this[_w];if(!(n.end&&n.status||(n.end=+new Date,n.duration=n.end-n.start,n.requestUrl=i&&i.data&&i.data.Iw||null,n.status=t,"FAILED"!==t))){var s="Failed ad server response";i&&i.data&&i.data.error&&i.data.error.bg&&(s="Ad server response timeout: ".concat(i.data.error.request.timeout,"ms")),n.error=s,ne.call(this,t)}}function oe(){this[Tw]&&(this[Tw].end=+new Date,this[Tw].duration=this[Tw].end-this[Tw].start)}function ue(t){var i="",n="",s="",e="",r="",h="";return(t=t.ia())&&(i=t.getAcid(),n=t.getType(),s=t.getVendor(),e=t.getName(),h=t.getRuleId(),r=t.getAsid()),n={adChain:[],adMediaFiles:[],duration:null,end:null,name:e,start:+new Date,type:n,vendor:s},h&&(n.rid=h),i&&(n.acid=i),r&&(n.asid=r),this[Mw].push({ad:n,rh:t}),this[Tw].ads.push(n),n}function ae(t){var i=this[Mw].filter((function(i){return i.rh===t})).slice(-1);return(i=ou()(i,1)[0])&&i.ad||null}function ce(t,i){var n=ae.call(this,t.rh);if(n){var s,e=n.adChain;if(0<e.length)i=i.data.error.code===ea.code&&i.data.Bb?i.data.Bb:"".concat(i.data.error.description," ").concat(i.data.Bb),t.Vm?e.forEach((function(i){i.url===t.Vm&&(s=i)})):s=e[e.length-1],s.error=i,0<(n=n.adMediaFiles).length&&(n[n.length-1].error=i)}}function fe(t){var i=this[Cw].ya(fy);return i.Ri(new Of("default",t)),i}function le(){return this[Pw].isMuted()?2:1}function ve(){var t=this[Bw].na();return 0>t?3:50>t?2:1}function de(){return this[Vw].Uh()}function pe(){return this[Vw].Dh()}function me(){return this[Fw].inView100.fe()}function be(){return this[Fw].inView50.fe()}function ye(){return this[Fw].inView50Continuous.fe()}function ge(){var t=1e3*this[Pw].getDuration()||3e4;return this[Fw].inView50Continuous.fe()>Math.min(t/2,15e3)?1:0}function we(){return L()&&D()}function Se(){return encodeURIComponent(this[zw].vq())}function Ee(){return this[xw].Xl()}function Oe(){var t=this[Uw].Mm;return t&&!Object(Eh.r)(t)?1:0}function Ae(){this[qw].style&&(this[qw].style.visibility="visible",this[qw].style.display="block")}function _e(t,i){$w[i].call(this),t()}function Te(){return 1}function Me(){return Date.now()}function Ie(){var t=(new Date).getTime(),i=document.createElement("template"),n=document.createElement("details"),s=document.createElement("img");return(new hS).append(this[vS].Ek&&this[vS].Ek.rx).append(document.documentMode).append(document.fonts&&document.fonts.ready).append(1&t).append(this[vS].ActiveXObject).append(this[vS].Ek).append(this[pS].serviceWorker).append(this[vS].opera).append(this[vS].sidebar).append(!1).append(2&t).append(!this[vS].ActiveXObject).append(Fe.call(this,"-ms-ime-align")).append(Fe.call(this,"-ms-scroll-limit")).append(Be.call(this,"-webkit-font-feature-settings")).append(4&t).append(this[vS].ActiveXObject).append(Fe.call(this,"-moz-appearance")||Fe.call(this,"mozAppearance")).append(this[vS].uu).append(this[vS].Ou).append(Object.prototype.hasOwnProperty.call(i,"content")).append(this[vS].performance&&Object.prototype.hasOwnProperty.call(this[vS].performance,"getEntriesByType")).append(8&t).append(Be.call(this,"image-rendering")).append(Be.call(this,"object-fit")).append(Object.prototype.hasOwnProperty.call(n,"open")).append(this[vS].screen&&Object.prototype.hasOwnProperty.call(this[vS].screen,"orientation")).append(this[vS].performance).append(Be.call(this,"shape-image-threshold")).append(this[cS][0]).append(Object.prototype.hasOwnProperty.call(s,"srcset")).append(this[fS]).Qh()}function je(){var t=(new Date).getTime(),i=oS.a.So();return(new hS).append(this[lS]).append(32&t).append(this[cS][1]).append(this[cS][2]).append(oS.a.$o()).append(oS.a.Zo()).append(oS.a.Uo()).append(64&t).append(i||Object(Eh.w)(this[pS].vibrate)?1:0).append(i).append(this[cS][3]).append(oS.a.Xo()).append(ze.call(this,"image-rendering","pixelated")).append(Object(Eh.w)(document.elementsFromPoint)).append(ze.call(this,"object-fit","inherit")).append(ze.call(this,"shape-image-threshold",.9)).append(ze.call(this,"word-break","keep-all")).append(oS.a.Wo()).append(this[bS]&&Object(Eh.w)(this[dS].supports)).append(this[vS].Intl&&Object(Eh.w)(this[vS].Intl.Collator)).append(Object(Eh.w)(document.createElement("dialog").show)).append(256&t).append(this[cS][4]).append(this[cS][5]).append(document.documentElement&&Object(Eh.w)(document.documentElement.webkitRequestFullScreen)).append(Object(Eh.w)(this[pS].getBattery)).append(this[pS].permissions&&Object(Eh.w)(this[pS].permissions.query)).append(this[vS].AudioContext&&Object(Eh.w)((new this[vS].AudioContext).createBuffer)).append(this[cS][6]).append(this[vS].webkitRequestAnimationFrame&&Object(Eh.w)(this[vS].webkitRequestAnimationFrame)).append(this[vS].BroadcastChannel&&Object(Eh.w)(this[vS].BroadcastChannel.call)).Qh()}function Ne(){var t=(new Date).getTime();return(new hS).append(Object(Eh.w)(this[vS].FontFace)).append(Object(Eh.w)(this[vS].Gamepad)).append(1024&t).append(Object(Eh.w)(this[vS].MutationEvent)).append(Object(Eh.w)(this[vS].MutationObserver)).append(this[vS].crypto&&Object(Eh.w)(this[vS].crypto.getRandomValues)).append(Object(Eh.w)(document.body.createShadowRoot)).append(Object(Eh.w)(document.body.webkitCreateShadowRoot)).append(Object(Eh.w)(this[vS].fetch)).append(Object(Eh.w)(this[vS].createImageBitmap)).append(this[pS].serviceWorker&&Object(Eh.w)(this[pS].serviceWorker.register)).append(Object(Eh.w)(this[pS].webkitGetGamepads)).append(this[vS].speechSynthesis&&Object(Eh.w)(this[vS].speechSynthesis.speak)).append(Object(Eh.w)(this[vS].webkitRTCPeerConnection)).append(ze.call(this,"--fake-var",0)).append(4096&t).append(ze.call(this,"cursor","grab")).append(ze.call(this,"cursor","zoom-in")).append(ze.call(this,"image-orientation","270deg")).append(Object(Eh.w)(this[vS].Proxy)).append(ze.call(this,"position","sticky")).append(void 0===document.createElement("style").Mw).append(this[mS]&&this[mS].getEntriesByType&&this[mS].getEntriesByType("resource")instanceof Array).append(void 0===this[vS].du).append(oS.a.To()).append("boolean"==typeof this[pS].onLine).append(16384&t).append(void 0===this[pS].qx).append(this[mS]&&this[mS].now&&"number"==typeof this[mS].now()).append(oS.a.Yo()).append(oS.a.Qo()).append(oS.a.Vo()).Qh()}function Re(){return this[cS][7]}function ke(){return(new Date).getTimezoneOffset()}function Le(){return"".concat(this[vS].innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"x").concat(this[vS].innerHeight||document.documentElement.clientHeight||document.body.clientHeight)}function De(){return"".concat(this[vS].outerWidth||document&&document.body&&document.body.offsetWidth,"x").concat(this[vS].outerHeight||document&&document.body&&document.body.offsetHeight)}function Ce(){return"".concat(this[vS].screen.availWidth,"x").concat(this[vS].screen.availHeight)}function Pe(){return"".concat(this[vS].screen.width,"x").concat(this[vS].screen.height)}function xe(){return oS.a.btoa(this[pS].userAgent)}function Ue(){return oS.a.btoa(this[pS].platform)}function Ve(){return oS.a.btoa(this[pS].vendor)}function Be(t){return this[yS]&&Object.prototype.hasOwnProperty.call(this[yS],t)}function Fe(t){return this[gS]&&Object.prototype.hasOwnProperty.call(this[gS],t)}function ze(t,i){return this[bS]&&this[dS].supports(t,i)}function He(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];if(i={data:1===n.length?n[0]:n,type:t},this.Nb.contentWindow)try{this.Nb.contentWindow.postMessage(i,this[ES])}catch(t){_S.error("Unable to send message",i,t)}}function Ye(t){t.origin===this[ES]&&t.data.location===this.Nb.src?(t.preventDefault(),"ready"===t.data.type?(this.Ze.resolve({data:t.data.data,Zm:this}),Ge.call(this)):"error"===t.data.type?this.Mf(t.data.data):(t.data.data.property&&(this[AS][t.data.data.property]=t.data.data.value),this[OS][t.data.type]&&this[OS][t.data.type].forEach((function(i){return i.listener(t.data)})))):_S.debug("Ignore message from ".concat(t.origin))}function Ge(){var t=this;this.subscribe((function(i){t[AS]=i.data}),"statechange")}function We(){return this[GS].creativeId}function qe(){return this[GS].priceType}function Xe(t){return t?t.mimeType:""}function Qe(){return this[WS].advertiser_id}function Ze(){var t=this;this[bE]&&this[bE].qa&&this[bE].qa.forEach((function(i){t[EE][i.ub]=new mE(i,t[SE],t[OE])}))}function Je(t){return t?t=this[EE][t]:t=0<(t=Object.keys(this[EE])).length?this[EE][t[0]]:null,t&&t.gq()||{}}function Ke(){var t=this;this[_E]&&this[_E].ads&&this[_E].ads.forEach((function(i){t[RE][i.ub]=new AE(i,t[TE],t.pm)}))}function $e(t){if((t=t.Ib.qa)&&0<t.length)return t[0].id}function tr(t,i){if(t=t?this[RE][t]:ir.call(this)){if(i=t.sh(i),t=i.v_cr_id,this[LE]){for(var n=this[_E]||{};n.parent&&n.parent.Ib;)t||(t=$e(n)),n=n.parent||{};this[DE]=$e(n),this[CE]=t||this[DE],t={crid:this[DE],v_cr_id:this[CE]}}else t={crid:t,v_cr_id:t};if(this[LE]){for(n=this[_E];n.parent&&n.parent.Ib;)n=n.parent;n={plcid:n.Ib&&n.Ib.rb||""}}else n={};return Object.assign({},i,t,n)}return{r_type:"no-ad"}}function ir(){var t=Object.keys(this[RE]);return 0<t.length?this[RE][t[0]]:null}function nr(){if(!this[XE]){var t=this[VE].getDuration();this[XE]=t&&Math.round(t)||""}return{ad_lng:this[XE],dlvretry:this[FE],medT:this[UE],view:this[GE].na()}}function sr(t){var i=this;return NO.debug("prepareAdConfig",t),t.filter((function(t){return t.Jk(i[EO])})).map((function(t){return t.prepare(i.Yb(),i[EO])}))}function er(t,i,n){NO.debug("resumePlayer",this[EO],this[aO]),clearTimeout(this[iO]),this[lO].fa(),this[hO]=0,this[uO].reset(),this[rO]=this[eO].zc,Qt(this[EO])&&(t={adPodsPlayed:this[oO],engineErrors:i,reason:t,vastError:n},this[aO]?(this.dispatchEvent(new $o($o.Fe,this[EO],t)),this[aO]=!1):this.dispatchEvent(new $o($o.Cd,this[EO],t)))}function rr(t,i,n){NO.debug("runNextOrResume"),this[wO]&&this[wO](t?{Ud:i,error:t,Da:n}:void 0),er.call(this,t,i,n)}function hr(t,i,n,s){var e=this,r=!0;this[cO].vf().disableFailoverOnDlvFailure&&(r=0===this[hO]);var h=this[nO].th(this[EO]);this[mO]=sr.call(this,h),this[uO].reset(),NO.warn("on ad group failed:",t,this[mO]),this[mO].length&&this.Vl()&&r?(NO.info("fallback to next adGroup",this[mO]),t=this[wO]?this[wO]:function(){return e.addEventListener($o.Mb,gr.bind(e))},this.dispatchEvent(new $o($o.ej,null,{Tb:s,Da:n})),this[uO].load(this[mO],t)):(--this[rO],this[vO]=!1,this.dispatchEvent(new $o($o.og,null,{Tb:s,Da:n})),rr.call(this,"AD_GROUP_FAILED",i,n))}function or(t){NO.debug("runnerCompleteHandler",t),this[pO]||this.rf?er.call(this,"STOPPED_BY_TIMER",t&&t.data&&t.data.Ud,t&&t.data&&t.data.Da):t&&t.data&&t.data.error?hr.call(this,t.data.error,t.data.Ud,t.data.Da,t.data.Tb):(this[vO]=!0,--this[rO],rr.call(this))}function ur(){this.dispatchEvent(new $o($o.Fe,this[EO]))}function ar(){this.stop(!0)}function cr(t){t.data.isLinear||(1>=this.xq()?this.dispatchEvent($o.Ie,t):this.Lr())}function fr(t){this[OO]=t.data.muted?0:t.data.volume}function lr(t){this[$E]=t.ia()}function vr(t){this[$E]=t.Tb}function dr(){clearTimeout(this[iO]),this[oO]+=1}function pr(){this[hO]+=1,this[jO]+=1}function mr(t,i){var n=this[nO].th(this[EO]);NO.debug("onAdsLoaded",n),this[AO]=i.Rq();var s=i.Lq();s&&(this[rO]=s,this[eO].zc=s),this[bO]&&this[bO].pause(),s=n[0]&&n[0].Uj,n=n[0]&&n[0].Zb(),s&&this[cO].Ys(s),n&&this[cO].jt(n),t&&t({se:i.data.se})}function br(t){t&&t({se:[]})}function yr(t){var i=this;[{Jb:function(){var t;return(t=i[cO]).Zs.apply(t,arguments)},wb:t.pid},{Jb:function(){var t;return(t=i[cO]).Ns.apply(t,arguments)},wb:t.bcid},{Jb:function(){var t;return(t=i[MO]).Rs.apply(t,arguments)},wb:t.vid},{Jb:function(){var t;return(t=i[cO]).Ms.apply(t,arguments)},wb:t.bckt},{Jb:function(){var t;return(t=i[cO]).Us.apply(t,arguments)},wb:t.expn},{Jb:function(){var t;return(t=i[cO]).Ts.apply(t,arguments)},wb:t.expb},{Jb:function(){var t;return(t=i[cO]).Ss.apply(t,arguments)},wb:t.device},{Jb:function(){var t;return(t=i[cO]).gt.apply(t,arguments)},wb:t.region},{Jb:function(){var t;return(t=i[cO]).ht.apply(t,arguments)},wb:t.site}].forEach((function(t){return t.wb&&t.Jb(t.wb)}))}function gr(){this.removeEventListener($o.Mb,gr.bind(this)),this.Ui()}function wr(t){CO.debug("trackAdRequest",t);var i={};this.sa({at:(t.data.type||"Preroll").toLowerCase(),device:this.O.ql(),ps:Object(Eh.n)(!1),region:this.O.Hl(),site:this.O.Il(),spaceid:this[DO].Zb(),vid:this.ea.Bh()},{},i),this.Ee(i),this.ma("ad-request.gif",i)}function Sr(t){CO.debug("trackAdIssue",t);var i={};Ir.call(this,t,i),jr.call(this,t,i),this.sa({},{sact:this.O.md()},i),this.ma("ad-issue.gif",i)}function Er(t){CO.debug("trackAdEngineRequest",t);var i={};Ir.call(this,t,i),this.Ee(i),this.sa({},{auid:t.data.auid,h:t.data.Rd,sact:this.O.md()},i),this.ma("ad-engine-request.gif",i),this.Gn&&(i.acid||i.rid)&&Ar.call(this,this.Ka.Np(),i)}function Or(t){CO.debug("trackAdEngineResponse",t);var i={};Ir.call(this,t,i);var n=t.data.latency/100,s=this.bb.ac;this.sa({aert:t.data.latency,ar:t.data.yr?"yes":t.data.timeout?"timeout":"no",fo:t.data.Kt,ft:n<=this.bb.xe?0:n<=s?1:2},{to:t.data.timeout},i),this.sa({},{auid:t.data.auid,h:t.data.Rd,sact:this.O.md()},i),this.ma("ad-engine-response.gif",i)}function Ar(t,i){var n={};Object(Eh.g)(this.O.getParameters(),n),Object(Eh.g)(i,n),t+=n?"?".concat(Object(Eh.G)(n)):"",this.Sb(t)}function _r(t){CO.debug("trackAdEngineFlow",t);var i={};Ir.call(this,t,i),jr.call(this,t,i);var n=t.data.Dp||0;this.sa({ap:t.data.Lo,atsub:"LOOKAHEAD"===t.data.Eo?"SKIPPABLE_PREROLL":"",avid:t.data.kf,cpm:t.data.Ta,fo:t.data.jf&&"win"!==t.data.jf&&"loaded"!==t.data.jf?n:void 0,h:t.data.Rd,m:t.data.muted},{ltc:t.data.latency},i),this.xi(i),this.Ee(i),this.sa({},{auid:t.data.auid,bsfv:"started"===i.stg&&t.data.bsfv?t.data.bsfv.sort().toString():"",sact:this.O.md()},i),this.ma("ad-engine-flow.gif",i),"started"===i.stg&&(i.acid||i.rid)&&Ar.call(this,this.Ka.Kp(),i)}function Tr(t){CO.debug("trackAdClick",t);var i={};Ir.call(this,t,i);var n=this.ea.fb();this.sa({cd:t.data.La||"none",ct:t.data.Gk,t:n&&n.time||0},{},i),this.ma("click.gif",i)}function Mr(t){CO.debug("trackSlotOpportunity",t);var i={};Ir.call(this,t,i),this.sa({atsub:"",slot:t.data.slot},{},i),this.Ee(i),this.xi(i),this.ma("slot-opp.gif",i)}function Ir(t,i){return t=t.data||{},this.sa({at:(t.type||"Preroll").toLowerCase()},{acid:t.acid,adIdx:t.sequence||-1,adseq:t.slotAdSeq,aen:t.name,asid:t.asid,device:this.O.ql(),itg:this.ea.Fh(),pbl:t.isPayable,pc:t.profitCenter,poid:t.podId,ps:Object(Eh.n)(!1),rcid:t.ruleCompanyId,region:this.O.Hl(),rid:t.ruleId,scope:t.isHouseAd?"ha":null,seq:this.ea.fb()?this.ea.fb().sequence:-1,sfbid:t.bookingId,sfliid:t.lineItemId,site:this.O.Il(),spaceid:this[DO].Zb(),txid:t.transactionId,usid:t.usid,v:t.vendor,vid:this.ea.Bh(),w:t&&t.ph},i)}function jr(t,i){var n=t.data;if(t=t.data.em){var s=t.tb;s=s&&s[0]&&s[0].mimeType||t.mimeType,t=t.xa?"".concat(t.xa," ").concat(s):s}else t=void 0;return this.sa({crt:t||"",curl:n.url||"",stg:n.jf},{aid:n.hf,al:n.vo,crl:n.Bp,dt:n.Bb,el:n.Ec,et:n.xp,st:n.wp},i)}function Nr(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this[rA]=t.slot,t=t.aeg&&t.aeg[0]&&t.aeg[0][0],this[fA]=this[lA][this[aA]]||t}function Rr(t){this[lA]=[],this[oA]=t.lq(),this[hA]=t.data&&t.data.source&&t.data.source.slots||[],kr.call(this)}function kr(){var t,i;this[hA].forEach((function(n){"Preroll"===n.type&&(t=!0),"Bumper"===n.type&&(i=!0)})),i||this[hA].push({type:"Bumper"}),t||this[hA].push({type:"Preroll"})}function Lr(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,s)}return n}function Dr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Lr(Object(n),!0).forEach((function(i){yh()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Cr(){var t=this;[[$o.Ya,[IA,UA],Wr.bind(this)],[$o.hg,[],Gr.bind(this)],[$o.He,[],Xr.bind(this)],[$o.Fe,[],null,Jr.bind(this)],[$o.Cd,[],null,Jr.bind(this)],[$o.jg,[RA],null,ih.bind(this)],[$o.Nc,[],nh.bind(this)],[$o.gg,[AA]],[$o.ij,[IA]],[$o.jj,[jA]],[$o.gj,[],Zr.bind(this)],[$o.dj,[null,VA]],[$o.fj,[],$r.bind(this)],["Reporting.Ad.Slot.Opportunity",[],Yr.bind(this)],[$o.Bj,[],Fr.bind(this)],[$o.tg,[],hh.bind(this)],[$o.ug,[],qr.bind(this)],[$o.Lb,[],xr.bind(this)],[$o.ej,[],Ur.bind(this)],[$o.og,[],Vr.bind(this)],[$o.eg,[],rh.bind(this)],[$o.hj,[],Pr.bind(this)],[$o.ig,[],th.bind(this)]].forEach((function(i){var n=(i=ou()(i,4))[0],s=ou()(i[1],2),e=s[0],r=s[1],h=i[2],o=i[3];t[zA].addEventListener(n,(function(i){h&&h(i),i&&i.data&&"Overlay"===i.data.adType&&r?t.Ca(r,null,i.data):e&&t.Ca(e,null,i&&i.data),o&&o(i)}))}))}function Pr(){oh.call(this,{evt:"ad_req"})}function xr(){this[KA]=!0,oh.call(this,{evt:"ad_call",r_code:2}),this[ZA]=!1,this.Pd=!0}function Ur(t){this.Ii(),Br.call(this,!0,t.data),this.Pd=!1}function Vr(t){Br.call(this,!1,t.data),this.Pd=!1}function Br(t,i){var n=i.Da;i={so:i.Tb.Qe},this.Pd?t&&zr.call(this,{a_dlv_err:n&&n.W||qu.W,evt:"ad_dlvf"},"a_dlv_err",!0,i):zr.call(this,{estring:n&&n.description||"",evt:t?"ad_callf":"ad_call",r_code:n&&n.W||Qu.W},"r_code",!1,i)}function Fr(t){if(this[ZA]=!1,t.data.tp){var i=t.data.Da;zr.call(this,{a_dlv_err:i&&i.W||ea.W,evt:"ad_dlvf"},"a_dlv_err",null,t.data.hp)}this[i_].ah(),this.Pd=!1}function zr(t,i,n,s){var e=this;null!==this.Gc&&void 0!==this.Gc?Hr.call(this,t,i,n,s):this[QA].za().then((function(r){e.Gc=r,Hr.call(e,t,i,n,s)}))}function Hr(t,i,n,s){this.Gc&&(t[i]=Bu.W),oh.call(this,t,s&&s.so||null,s&&s.ad||null,s&&s.ra||null),n&&this[i_].No()}function Yr(t){var i=t.data&&t.data.ip;i=i&&i.Qe,"AVAIL"!==t.data.slot||t.data.jr?this[t_].dispatchEvent(PA,{evt:"ad_oppty",medS:1,medT:1,ntwk:"Plugin Communicator",pos:t.data&&t.data.type&&t.data.type.toLowerCase()||"",slot:t.data.slot,taken:2}):oh.call(this,{evt:"ad_oppty",taken:1},i)}function Gr(t){t&&t.data&&"application/javascript"===t.data.mimeType&&oh.call(this,{evt:"ad_beg"})}function Wr(){this[HA]=!1,this[$A]=setTimeout(Qr.bind(this),2e3),sh.call(this),this[GA]=!0,this[WA]=this[zA].isMuted(),this[qA]=0}function qr(){oh.call(this,{evt:"ad_init"}),this[ZA]=!0}function Xr(){oh.call(this,{evt:"ad_dlv"})}function Qr(){this[HA]||(oh.call(this,{dur:2,dur_d:eh.call(this,2),evt:"ad_view"}),this[HA]=!0)}function Zr(t){var i=Math.floor(this[zA].getCurrentTime()||this[XA]);if("finished"===t.data.adStage)oh.call(this,{dur:i,dur_d:eh.call(this,i),evt:"ad_comp"});else{var n=25;switch(t.data.adStage){case"q2":n=50;break;case"q3":n=75}oh.call(this,{dur:i,dur_d:eh.call(this,i),evt:"ad_prog",q:n})}}function Jr(t){var i=this,n=t.data.vastError;this[GA]&&!n?(this[GA]=!1,this.Ca(_A,null,{}),clearTimeout(this[$A])):(sh.call(this),null!==this.Gc&&void 0!==this.Gc?Kr.call(this,n,this.Gc):this[QA].za().then((function(t){Kr.call(i,n,t)}))),this.Pd=!1}function Kr(t,i){var n={estring:t&&t.description||"",evt:"ad_err"};(t=i?Bu.W:t&&t.W)||(t=this[ZA]?va.W:ua.W),n.a_dlv_err=t,this.Ca(MA,null,n),this[KA]&&(this.Ii(),oh.call(this,n))}function $r(t){"Overlay"===t.data.Md&&"close"===t.data.action&&this.Ca(BA,null,t.data||{})}function th(t){var i=this;t.data.raw.forEach((function(t){var n=Object.keys(t.Yd)[0];i.Ca(CA,{track:Dr({},t,{format:n,language:t.lang,url:t.Yd[n]})},null)}))}function ih(t){(t.data.muted&&!1===this[WA]||!1===t.data.muted&&this[WA])&&this.Ca(OA,null,{muteState:t.data.muted?"muted":"unmuted"}),this[WA]=t.data.muted}function nh(t){var i=t&&t.data&&t.data.currentTime||this[zA].getCurrentTime()||0;this.Ca(NA,i,t.data||{}),this[XA]=i,2<=i&&Qr.call(this)}function sh(){this.Ca(xA,this[zA].getTimeLog())}function eh(t){var i=t-this[qA];return this[qA]=t,i}function rh(t){t&&this[JA].Et(t.ia(),this[zA].wh())}function hh(){this[ZA]=!1}function oh(t,i,n,s){t=this[i_].rm(t,i,n,s),this[t_].dispatchEvent(PA,t)}function uh(){var t=this;this[u_].forEach((function(i){t[a_].dispatchEvent(i.event,i.Xr)})),this[u_]=[]}function ah(t){return(t&&t.aeg&&t.aeg[0]||[]).some((function(t){return"GEMINI"===t.getAdEngineType()}))}function ch(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=[];return t.slots&&t.slots.forEach((function(t){t.hasAds&&i.push({adBreakItemId:w(),adPluginMimeType:"adplugin/vrm",customInfo:{hasGemini:ah(t),slot:t},duration:30,instream:!1,source:{streams:[{url:"dummy.mp4"}]},type:"Bumper"===t.type?"bumper":"ad"})})),i}function fh(t){var i=this,n=this[m_],s=n&&n.adBreakItems[0];s&&t>=n.startTime&&(this.preparePlayback(s,!0).then((function(){i.play(s,!0)})),this[m_]=null)}function lh(t){var i=this;return new Sh.a((function(n,s){i[p_].bm(t.customInfo.slot.aeg,(function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).error?s():n(t)}),t.customInfo.slot.type)}))}function vh(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,s)}return n}n.r(i);var dh={};n.r(dh),n.d(dh,"ACCEPT_INVITATION",(function(){return Va})),n.d(dh,"CLICK",(function(){return Ba})),n.d(dh,"CLOSE",(function(){return Fa})),n.d(dh,"COLLAPSE",(function(){return za})),n.d(dh,"COMPLETE",(function(){return Ha})),n.d(dh,"CREATIVE_VIEW",(function(){return Ya})),n.d(dh,"EXIT_FULLSCREEN",(function(){return Ga})),n.d(dh,"EXPAND",(function(){return Wa})),n.d(dh,"FIRST_QUARTILE",(function(){return qa})),n.d(dh,"FULLSCREEN",(function(){return Xa})),n.d(dh,"IMPRESSION",(function(){return Qa})),n.d(dh,"MIDPOINT",(function(){return Za})),n.d(dh,"MUTE",(function(){return Ja})),n.d(dh,"PAUSE",(function(){return Ka})),n.d(dh,"PLAYER_COLLAPSE",(function(){return $a})),n.d(dh,"PLAYER_EXPAND",(function(){return tc})),n.d(dh,"PROGRESS",(function(){return ic})),n.d(dh,"RESUME",(function(){return nc})),n.d(dh,"REWIND",(function(){return sc})),n.d(dh,"SKIP",(function(){return ec})),n.d(dh,"START",(function(){return rc})),n.d(dh,"THIRD_QUARTILE",(function(){return hc})),n.d(dh,"UNMUTE",(function(){return oc}));var ph={};n.r(ph),n.d(ph,"SESSION_ERROR",(function(){return fc})),n.d(ph,"SESSION_FINISH",(function(){return lc})),n.d(ph,"SESSION_START",(function(){return vc}));var mh={};n.r(mh),n.d(mh,"ITEM_LOADED",(function(){return EA})),n.d(mh,"MUTE_CHANGED",(function(){return OA})),n.d(mh,"PAUSED",(function(){return AA})),n.d(mh,"PLAY_COMPLETE",(function(){return _A})),n.d(mh,"PLAY_REQUESTED",(function(){return TA})),n.d(mh,"PLAYBACK_ERROR",(function(){return MA})),n.d(mh,"PLAYING",(function(){return IA})),n.d(mh,"SKIPPED",(function(){return jA})),n.d(mh,"TIME_UPDATE",(function(){return NA})),n.d(mh,"VOLUME_CHANGED",(function(){return RA})),n.d(mh,"AD_BREAKS_AVAILABLE",(function(){return kA})),n.d(mh,"RESOLVE_ERROR",(function(){return LA})),n.d(mh,"RESOLVED",(function(){return DA})),n.d(mh,"AD_SUBTITLES_FOUND",(function(){return CA})),n.d(mh,"METRICS",(function(){return PA})),n.d(mh,"DIAGNOSTIC",(function(){return xA})),n.d(mh,"NONLINEAR_AD_RENDERED",(function(){return UA})),n.d(mh,"NONLINEAR_AD_CLICKED",(function(){return VA})),n.d(mh,"NONLINEAR_AD_DISMISSED",(function(){return BA})),n(90);var bh=n(15),yh=n.n(bh);n(4),n(5);var gh,wh=n(7),Sh=n(10),Eh=n(1),Oh=n(14),Ah=n(68),_h=n(3),Th=new(function(){function t(){this.bs=[],this.us=[]}var i=t.prototype;return i.Cr=function(t){0===_h.a.yl()&&this.bs.push({ts:+new Date,url:t})},i.Dr=function(t){0===_h.a.yl()&&this.us.push({ts:+new Date,url:t})},t}()),Mh=Symbol(),Ih=function(){function t(){}var i=t.prototype;return i.check=function(t){return A.call(this,t)},i.reset=function(){this[Mh]=null},i.za=function(){return this[Mh]},t}(),jh=n(12),Nh=n(0),Rh=n.n(Nh),kh=function(t){var i,n,s,e=null,r=null,h=null;return["","webkit","moz","ms","o"].forEach((function(o){i=o?"".concat(o,"VisibilityState"):"visibilityState",n=o?"".concat(o,"Hidden"):"hidden",s="".concat(o,"visibilitychange"),e||void 0===t[i]||(e=i),r||void 0===t[n]||(r=n),h||void 0===t[n]||(h=s)})),{hidden:r,visibilityState:e,Vt:h}}(wh.a.Aa().document),Lh=function(){function t(){}return t.hasFocus=function(){return!(!_(wh.a.Aa())&&!_(wh.a.Aa().top))},t.qb=function(){return!!t.hasFocus()||!1===wh.a.Aa().document[kh.hidden]||"visible"===wh.a.Aa().document[kh.visibilityState]},t.Wv=function(){return kh.Vt},t}(),Dh=Symbol(),Ch=Symbol(),Ph=Symbol(),xh=Symbol(),Uh=function(){function t(){this[xh]=[],this[Ph]=[],this[Dh]=!1}var i=t.prototype;return i.add=function(t){var i=this;return new Sh.a((function(n){i[xh].push((function(){var s=t();n(i[xh][i[xh].length-1]),s&&s.then?s.then(T.bind(i)):(void 0===s||s)&&T.call(i)})),i[Dh]||T.call(i)}))},i.Yu=function(){var t=this;return new Sh.a((function(i){t[xh].length?t[Ph].push(i):i()}))},i.next=function(){T.call(this)},i.empty=function(){this[xh]=[],T.call(this)},t}(),Vh=_h.a.R("PrimalTracker"),Bh=function(){function t(i){this.O=i.config,this.Fn=i.debugInfo,this.Ka=i.urls,this.Hn=this.O.Uq(),gh=t.ks}var i=t.prototype;return i.ma=function(t,i){i=i||{},this.O.Zl()&&(i.itg="tbv"),this.Sb(M.call(this,t,i))},i.Sb=function(t){if(Vh.debug("PIXEL",t),this.Hn)if("string"!=typeof t||-1===t.indexOf("//"))Vh.debug("not sending pixel",t);else{wh.a.gb()&&(t=Oh.a.Hi(t,"http://","https://")),0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t)),t=t.replace("[APID]",this.O.tf().utid);var i=document.createElement("img");i.src=t,gh.add((function(){return!1}));var n=gh.next.bind(gh),s=setTimeout((function(){n(),i.onload=null,i.onerror=null}),1e3),e=function(){clearTimeout(s),n()};i.onload=e,i.onerror=e,this.Fn.Cr(t)}else Vh.debug("tracking is disabled")},t}();Bh.U=["config","debugInfo","urls"],Bh.ks=new Uh;var Fh=Symbol(),zh=function(t){function i(i){var n=t.call(this,i)||this;return n.ea=i.environment,n.xc=i.smartViewability,n.Rn=i.moatViewability,n.Jj=i.errorTracker,n[Fh]=i.hostWindowParamsObtainer,n}Rh()(i,t);var n=i.prototype;return n.sa=function(t,i,n){return Object.keys(t).forEach((function(i){return n[i]=t[i]})),Object.keys(i).forEach((function(t){if(null!==i[t]){var s=isNaN(i[t]);"number"==typeof i[t]&&s||(n[t]=i[t])}})),n},n.Ee=function(t){this.sa({"p.vw.active":+Lh.qb(),"p.vw.sound":Math.round(100*this.ea.getVolume()),vwa:this.xc.na()},{vwm:this.Rn.na()},t)},n.xi=function(t){var i=window.s_265||{};i={spaceid:this[Fh].Zb(),ss:i.channel||""},this.sa(i,{},t)},i}(Bh);zh.U="config debugInfo urls environment smartViewability moatViewability errorTracker hostWindowParamsObtainer".split(" ");var Hh=_h.a.R("BasicTracker"),Yh=Symbol(),Gh=Symbol(),Wh=function(t){function i(i){Hh.debug("init");var n=t.call(this,i)||this;return n.Xk=[],n[Yh]=i.injector,n[Gh]=i.hostWindowParamsObtainer,n}Rh()(i,t);var n=i.prototype;return n.ix=function(t){var i=I.call(this,"ResourceLoaded"),n=this.O.Cl()||{};i.c1="ResourceLoaded",i.c2=t,i.pv=n.jsVersion,i.pt=this.O.ae(),this.ma("action.gif",i)},n.click=function(t,i){Hh.debug("click");var n={};void 0!==t&&(n.category=t),void 0!==i&&(n.clickName=i),this.ma("click.gif",n)},n.display=function(t){Hh.debug("display"),this[Yh].qd("adBlockerSniffer")?this[Yh].N("adBlockerSniffer").check().then(j.bind(this,t)):j.call(this,t)},n.action=function(t,i,n,s,e,r,h){Hh.debug("action",t),(t=I.call(this,t)).ct=n,i&&(t.at=i),s&&(t.adId=s.zu,t.rid=s.rid,t.txid=s.jx),e&&(t.externalId=e),r&&(t.c1=r.c1||r.vu,t.c2=r.c2||r.tu,t.c3=r.c3||r.su),h&&(t.PollId=h.Dw,t.AnswerId=h.Ju),this.ma("action.gif",t)},n.av=function(t,i){Hh.debug("ad-fallback (".concat(t,", ").concat(i,")")),this.ma("ad-fallback.gif",{wu:t,Lu:i.toLowerCase()})},n.bx=function(t){this.Xk.push(t)},n.Nw=function(){this.action("LoadExtra",null,null,null,null,{c1:this.Xk.join(",")})},n.Ow=function(t){this.action("videoSkipped",null,null,null,null,{c1:t})},i}(zh);Wh.U="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var qh=n(6),Xh=_h.a.R("Common"),Qh=document.createElement("video"),Zh={};document.createElement("video");var Jh,Kh,$h=function(t){function i(i){var n=t.call(this,i)||this;return n.ea=i.environment,n}Rh()(i,t);var n=i.prototype;return n.Ce=function(t,i,n,s,e,r){var h=this,o=Object(Eh.z)(n)||"",u={dt:o.substring(0,3e3),ec:s||"",edt:n&&n.edt?n.edt:null,et:t,itg:this.ea.Fh(),sact:this.O.md(),st:i};t={code:s,Bb:n=Array.isArray(n)&&n[0].match(/([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]/g)?Object(Eh.z)(n.slice(1)):o,cx:i,type:t},Object(Eh.z)(t)!==Object(Eh.z)(Kh)?(this.ma("error.gif",u),Jh=void 0):(Object(Eh.s)(Jh)||(Jh=function(t,i,n){var s;return function(){var e=this,r=arguments,h=n&&!s;clearTimeout(s),s=setTimeout((function(){s=null,n||t.apply(e,r)}),i),h&&t.apply(e,r)}}((function(){h.ma("error.gif",u)}),e||2e3,r||!1)),Jh()),Kh=Object(Eh.g)(t,Kh)},n.hx=function(t,i,n){t={params:t},Object(Eh.g)(i,t),this.Ce("no_params",void 0,t,void 0,void 0,n)},i}(Bh);$h.U=["environment","config","debugInfo","urls"];var to=document,io=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "),"webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")],no=io.find((function(t){return t[1]in to}))||[];no.forEach((function(t,i){return no[io[0][i]]=t}));var so=function(t){function i(i){var n=t.call(this,i)||this;return n.X=i.injector,n}Rh()(i,t);var n=i.prototype;return n.Ot=function(t){var i=this.ea.Ph()||{};i=Math.min(3*i.videoLength,i.currentPlayTime||i.currentTime||0),this.sa({t:0<i?Math.floor(i):0},{},t)},n.Oo=function(t){if(this.X.qd("bufferedCalculator")){var i=this.X.N("bufferedCalculator"),n=this.X.N("bitrateTracker");i=i.qv(void 0),n=n.nv(void 0),this.sa({},{bft:i,bit:n},t)}},n.Nt=function(t,i){i=i||this.ea.fb()||{};var n={cvt:Math.floor(void 0!==i.currentTime?i.currentTime:this.ea.Cf()),fs:L()?+D():0,seq:i.Pa,vid:i.id||"",vpt:i.px},s={vcdn:qh.a.kd(i&&i.videoUrls&&i.videoUrls.length&&i.videoUrls[0])};i.raw&&(i.raw.mpid&&(n.mpid=i.raw.mpid),i.raw.vcid&&(n.vcid=i.raw.vcid)),this.sa(n,s,t)},n.Km=function(t){var i=this.ea.be()||{};this.sa({h:i.height,w:i.width},{},t)},n.Lm=function(t){this.sa({},{csid:null},t)},i}(zh);so.U="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var eo=function(t){function i(i){var n=t.call(this,i)||this;return n.ea=i.environment,n.yn=i.actionTracker,n.Rg=[],n}Rh()(i,t);var n=i.prototype;return n.vi=function(){this.Rg=[]},n.Dt=function(t){var i={};this.Km(i),this.Lm(i),C.call(this,i,t),P.call(this,"video-play.gif",t,i)},n.Xi=function(t,i){t={q:t.Di},C.call(this,t,i),this.ma("video-quartile.gif",t)},n.Ct=function(t,i){t={d:t.Di},C.call(this,t,i),this.ma("video-decile.gif",t)},n.yt=function(t){var i={};C.call(this,i,t),P.call(this,"video-3sec.gif",t,i)},n.Tm=function(t){var i={pct:this.ea.Ph().currentPercent||0};this.Ot(i),C.call(this,i,t),P.call(this,"video-time.gif",t,i)},n.Bt=function(){var t={},i=this.ea.gw()?this.ea.Cf():null,n=this.ea.eq();this.Km(t),this.Lm(t),C.call(this,t,void 0),this.yn.action("AutoPause",i,n)},i}(so);eo.U="actionTracker config debugInfo environment errorTracker injector moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var ro=function(){function t(){this.Ob=!1}var i=t.prototype;return i.Uf=function(t,i,n){this.Og=0,this.ho=i,this.Bg=t,this.Ob=!1,(n||void 0===n)&&this.start()},i.start=function(){this.resume()},i.stop=function(){this.pause()},i.pause=function(){this.Ob&&(this.Ob=!1,this.Og+=(new Date).getTime()-this.bk,clearTimeout(this.dk))},i.resume=function(){!this.Ob&&this.Bg&&(this.Ob=!0,this.bk=(new Date).getTime(),this.dk=setTimeout(this.Bg,this.um()))},i.If=function(){return this.Ob||!1},i.um=function(){return Math.max(this.ho-this.rp(),0)},i.rp=function(){return this.Og+(this.Ob?(new Date).getTime()-this.bk:0)},i.gh=function(){this.Ob=!1,clearTimeout(this.dk),this.Bg=null},t}(),ho=Symbol(),oo=function(){function t(t){this[ho]=t}var i=t.prototype;return i.we=function(t){this[ho]=t},i.Oq=function(t){return Math.floor(t/(this[ho]/4))},i.kq=function(t){return Math.floor(t/(this[ho]/10))},t}(),uo=function(){function t(t){this.Pb=t.videoTracker,this.Fg=t.environment,this.Tg=new oo,this.bd=new ro}var i=t.prototype;return i.Ww=function(t){this.Xe=t},i.we=function(t){this.Tg.we(t)},i.Nf=function(t){0<t&&(U.call(this,t),x.call(this,t))},i.Sr=function(){this.ef=!0,this.Tc=this.Uc=0,this.df=this.Fg.fb(),this.Pb.Dt(this.df),this.bd.Uf(F.bind(this),3e3)},i.Rr=function(){this.ef&&(this.Uc=4,this.Tc=10,V.call(this),B.call(this),this.bd.pause(),this.Pb.Tm(this.Fg.fb()),this.ef=!1)},i.tw=function(){this.Pb.Bt()},i.vi=function(){this.Pb.vi()},i.xw=function(){this.bd.resume()},i.ww=function(){this.bd.pause()},i.uw=function(){this.ef&&(this.bd.pause(),this.Pb.Tm(this.Fg.fb()),this.ef=!1)},t}();uo.U=["videoTracker","environment"];var ao=n(27),co=Symbol(),fo=function(){function t(t){this[co]=t.hostWindowProvider}return t.prototype.Zb=function(){return z.call(this,"rapidConfig","spaceid")||(Eh.c.hi()?793604935:793604934)},t}();fo.U=["hostWindowProvider"];var lo=function(){function t(t){this.window=t}var i=t.prototype;return i.Aa=function(){return this.window},i.uv=function(){return this.window.document},t}();n(24);var vo=n(13),po=n.n(vo),mo=function(){function t(t){this.X=t.Gf,this.Dg=t.lp,this.Wj=t.js}var i=t.prototype;return i.Kh=function(){var t=this;return this.Ye||(this.Ye=this.X.ys(this.Dg).then((function(i){return t.Ig.apply(t,po()(i))}))),this.Ye},i.Lh=function(){if(!this.Wc){var t=this.X.zs(this.Dg);if(t=this.Cg.apply(this,po()(t)),!this.Qj(t))throw Error("can't be created synchronously");this.Wc=t}return this.Wc},i.Qj=function(t){return null==t||"function"!=typeof t.then},i.Cg=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.Wj.apply(null,i)},i.Ig=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=this;return new Sh.a((function(t){s.Wc=s.Cg.apply(s,i),t(s.Wc)}))},t}(),bo=function(t){function i(){return t.apply(this,arguments)||this}Rh()(i,t);var n=i.prototype;return n.Cg=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s={};return this.Dg.forEach((function(t,n){s[t]=i[n]})),new this.Wj(s)},n.Ig=function(){for(var i=this,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return t.prototype.Ig.apply(this,s).then((function(t){var n=t;return i.Wc.xl&&(n=i.Wc.xl().then((function(){return t}))),n}))},n.Qj=function(t){return"function"!=typeof t.xl},i}(mo),yo=function(){function t(t){this.Gd={},this.Ij=!0,(this.Lg=t)&&this.Oa(t,this)}var i=t.prototype;return i.sm=function(t,i,n){if(this.Gd[t]){if(this.Ij)throw Error("".concat(t," can't be provided twice"))}else this.Gd[t]=H.call(this,i,n);return this},i.te=function(t,i){return this.sm(t,i,!0)},i.la=function(t,i){return this.Oa(t,this.ya(i))},i.Oa=function(t,i){return this.sm(t,(function(){return i}))},i.qd=function(t){return void 0!==this.Gd[t]},i.resolve=function(t){var i=this.Gd[t];return i=i?i.Kh():Sh.a.reject("no such dependency ".concat(t)),Sh.a.race([i,Object(Eh.B)(8e3).catch((function(){throw Error("".concat(t," isn't resolved in ").concat(8e3,"ms"))}))])},i.N=function(t){var i=this.Gd[t];if(!i)throw Error("no such dependency ".concat(t));return i.Lh()},i.ys=function(t){var i=this;return Sh.a.all(t.map((function(t){return i.resolve(t)})))},i.zs=function(t){var i=this;return t.map((function(t){return i.N(t)}))},i.Uu=function(t){return H.call(this,t,!0).Kh()},i.ya=function(t){return H.call(this,t,!0).Lh()},i.Rl=function(t){return H.call(this,t).Kh()},i.ew=function(t){return H.call(this,t).Lh()},i.Tw=function(t){void 0!==t.sp&&(this.Ij=t.sp)},t}();!function(t){function i(i){var n=t.call(this,i.Lg)||this;return n.Mg=i,n}Rh()(i,t);var n=i.prototype;n.resolve=function(i){var n=this;return t.prototype.resolve.call(this,i).catch((function(t){if(!/no such dependency/.exec(t))throw t;return t=n.Mg.resolve(i)}))},n.qd=function(i){return t.prototype.qd.call(this,i)||this.Mg.qd(i)},n.N=function(i){try{return t.prototype.N.call(this,i)}catch(t){return this.Mg.N(i)}}}(yo);var go=n(8),wo=n.n(go),So=function(){function t(t){this.yb=t.viewabilitySubject}var i=t.prototype;return i.vb=function(t){this.yb=t},i.qb=function(){return Lh.qb()},i.na=function(){},i.ee=function(){var t=this.na();return this.yb&&-1!==t?!this.qb()||50>t?0:1:-1},t}();So.U=["viewabilitySubject"];var Eo=Symbol(),Oo=Symbol(),Ao=Symbol(),_o=function(t){function i(i){if((i=t.call(this,i)||this)[Eo]=-1,void 0===window.IntersectionObserver)return wo()(i);var n=wo()(i);n[Oo]=Ah.a.setTimeout(G.bind(n),100);for(var s=window.IntersectionObserver,e=Y.bind(n),r=[],h=0;100>h;h+=5)r.push(h/100);return r.push(1),n[Ao]=new s(e,{root:null,threshold:r}),n[Ao].observe(n.yb),i}Rh()(i,t);var n=i.prototype;return n.vb=function(t){this[Eo]=-1,this[Ao]&&(this[Ao].unobserve(this.yb),this.yb=t,this[Ao].observe(this.yb))},n.qb=function(){return 0<this.na()},n.na=function(){return Lh.qb()?this[Eo]:0},i}(So);_o.U=["viewabilitySubject"];var To,Mo=n(22),Io=Symbol(),jo=Symbol(),No=Symbol(),Ro=Symbol(),ko=function(t){function i(i){var n=t.call(this,i)||this;return n[No]=i.dom,i=i.config,n[Ro]=!!i.Wa("disable_3p")||!!i.Wa("disable_moat")||!!i.Mq(),n[Ro]||(To||(To=W.call(wo()(n))),n.vb(n.yb)),n}Rh()(i,t);var n=i.prototype;return n.vb=function(t){var i=this;if(!this[Ro]){if(this[Io]){if(this[jo]===t)return;this[Io].destroy(),this[Io]=null}this[jo]=t,To.then((function(n){n.startTracking(t,{ready:q.bind(i,t)})}))}},n.na=function(){if(!this[Io]||!this[jo]||3>this[jo].offsetHeight)return-1;var t=this[Io].getPercentViewable();return isNaN(t)||null===t?-1:Math.min(Math.round(t),100)},n.ee=function(){var t=this.na();return 0>t||100<t?-1:50>t?0:1},i}(So);ko.U=["viewabilitySubject","dom","config"];var Lo=function(){function t(t){this.xc=t.smartViewability,this.O=t.config,this.ea=t.environment,this.Mn=t.hostWindowParamsObtainer}var i=t.prototype;return i.tv=function(){var t=this.Ml("Preroll");return Object.keys(t).forEach((function(i){t["ad.".concat(i)]=t[i],delete t[i]})),t["ad.m.ssai"]=1,t["ad.ps"]="vast_only",t.ad="vrm",t.v=2,t.bcid=this.O.wf(),t.pid=this.O.Af(),t.bid=this.O.yh(),t},i.Ml=function(t){var i=this.ea.fb(),n={};if(i&&i.id){n.vid=i.id,n.pt="html5",n.at=t?t.toLowerCase():"";var s=this.O.xh();Object.keys(s).forEach((function(t){0===t.indexOf("m.vrm")&&(n[t]=s[t])}))}return n["p.vw.sound"]=Math.round(100*this.ea.getVolume()),n.autoplayInit=this.O.le()?1:0,n.space_id||(n.space_id=n.spaceid||this.Mn.Zb()),Object(Eh.g)(X.call(this),n)},i.kv=function(t){var i=this.ea.fb(),n={};return i&&(n.vid=i.id,(i=i.metadata||{}).duration&&(n.t=i.duration/1e3)),n.at=t?t.toLowerCase():"",Object(Eh.g)(X.call(this),n)},t}();Lo.U=["smartViewability","config","environment","hostWindowParamsObtainer"];var Do=n(17),Co=n(11),Po=n.n(Co),xo={dn:"aboveVisibleArea",jn:"belowVisibleArea",mc:"hidden",oc:"inVisibleArea",on:"leftToVisibleArea",sn:"rightToVisibleArea",Ra:"NA"},Uo={fn:1,mg:0},Vo={mn:1,pj:0,Ra:-1},Bo={mj:3,oj:2,qc:1},Fo={ng:1,Ne:0,Ra:-1},zo={au:Uo,bu:Vo,cu:Bo,ju:xo,nu:Fo,yj:{kn:function(){return this.ln++},ln:1,URL:"//redir.adap.tv/redir/client/VPixel.swf"},om:[],De:{},bw:{},pq:function(t){for(var i=t,n=0,s=0,e=0;i&&!isNaN(i.offsetLeft)&&!isNaN(i.offsetTop);)window.getComputedStyle&&(e=window.getComputedStyle(i,null)),n+=i.offsetLeft-i.scrollLeft+(e?parseInt(e.getPropertyValue("border-left-width"),10):0),s+=i.offsetTop-i.scrollTop+(e?parseInt(e.getPropertyValue("border-top-width"),10):0),i=i.offsetParent;return t.pu=n,t.qu=s,{x:n,y:s}},hd:function(t,i){var n=document.defaultView||document.parentWindow;try{n=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}return t.currentStyle?t.currentStyle[i]:n&&n.getComputedStyle&&n.getComputedStyle(t,"")?n.getComputedStyle(t,"")[i]:t.style?t.style[i]:""},Wb:function(t){var i={height:0,T:0,S:0,width:0};if(t){i.width=t.offsetWidth,i.height=t.offsetHeight;var n=!1;try{var s=t.getBoundingClientRect();i.T=Math.round(s.left),i.S=Math.round(s.top),n=!0}catch(t){}if(!n)try{var e=this.pq(t);i.T=e.x,i.S=e.y}catch(t){}}return i},gc:function(t,i){var n=0,s=t.length+t.offset,e=i.length+i.offset;return s<i.offset||t.offset>e?{length:0,offset:-1/0}:(t.offset>=i.offset&&s<=e?n=t.length:t.offset<=i.offset&&s>=e?n=i.length:t.offset<=i.offset?n=Math.abs(s-i.offset):t.offset>i.offset&&(n=Math.abs(e-t.offset)),{length:n,offset:Math.max(t.offset,i.offset)})},ei:function(t,i){var n=this.fh(t);if((i=i||this.pd(t))===Bo.qc)return!0;if(i===Bo.oj)return this.fh(t);try{var s=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}try{var e=this.ul(s)}catch(t){return!0}for(t=0;t<e.length&&!n;t++)n=e[t],n=this.fh(n);return n},fh:function(t){function i(t){return t&&"string"==typeof t.id&&-1<t.id.indexOf("player_googima")}function n(t){var n;if(i(t))return!0;var s=this.Oh(t);for(n=0;n<s.length;++n)if((t=s[n])&&i(t.node))return!0;return!1}var s=!1,e=t;for(t=!this.hd(t,"visibility")&&!n.call(this,t);e&&!s&&(s="hidden"===this.hd(e,"visibility")||"none"===this.hd(e,"display")||this.pr(e),n.call(this,e)&&(s=!1),s=t||s,e!==e.ownerDocument.body);)e=e.parentNode;return s},Oh:function(t){var i=[],n=t.parentNode;try{for(;n&&n!==n.ownerDocument.body;)1===n.nodeType&&(i.push(this.Vf(n)),n=n.parentNode)}catch(t){}for(0===i.length?n=t:(n=i[0],t=i[0]);n;)null!=(n=n.nextSibling)&&1===n.nodeType&&i.push(this.Vf(n));for(;t;)null!=(t=t.previousSibling)&&1===t.nodeType&&i.push(this.Vf(t));return i},xt:function(t,i,n){var s,e=null,r=this.gc({length:t.width,offset:t.T},{length:i.width,offset:i.T}),h=this.gc({length:t.height,offset:t.S},{length:i.height,offset:i.S});if(0<r&&0<h){var o=[{x:r.offset,y:h.offset},{x:r.offset+r.length,y:h.offset},{x:r.offset,y:h.offset+h.length},{x:r.offset+r.length,y:h.offset+h.length},{x:r.offset+Math.floor(r.length/2),y:h.offset+Math.floor(h.length/2)}];for(s=0;5>s;s++){var u={x:Math.random()*r.length+r.offset,y:Math.random()*h.length+h.offset};o.push(u)}for(s=0;s<o.length;s++)if((u=this.Rk(o[s].x,o[s].y,n))===t.node||u===i.node){e=u;break}}return e},Rk:function(t,i,n){return(n=n||window).document.elementFromPoint(t,i)},ir:function(t,i,n,s){var e=!0,r=this.Wb(i),h=this.gc({length:t.width,offset:t.T},{length:r.width,offset:r.T+n.T}),o=this.gc({length:t.height,offset:t.S},{length:r.height,offset:r.S+n.S}),u=h.length*o.length/(r.width*r.height);if(0===u)return{kh:!1};var a=this.Rk(Math.floor(h.length/2)+h.offset,Math.floor(o.length/2)+o.offset,s);return null===a?e=!0:(a===i||"ADAPTV_HTML5_IFRAME"===a.id||"IFRAME"===a.nodeName||a!==t.node&&(t.T+t.width)*(t.S+t.height)==(r.T+n.T+r.width)*(r.S+n.S+r.height))&&(e=!1),this.xt({height:t.height,T:t.T,node:t.node,S:t.S,width:t.width},{height:r.height,T:r.T+n.T,node:i,S:r.S+n.S,width:r.width},s)===i&&(e=!1),{kh:e,height:o.length,T:h.offset,mm:u,S:o.offset,width:h.length}},Bk:function(t,i,n,s){var e;for(e=0;e<t.length;e++)if(1===t[e].node.nodeType&&this.Ck(t[e],i,n,[],t,s))return!0;return!1},Ck:function(t,i,n,s,e,r){var h=!1,o=t.node;if((t=this.ir(t,i,n,r)).kh&&.5<=t.mm)return!0;if(t.kh&&.5>t.mm)t.node=o,s.push(t);else if(o&&o.children&&1<=o.children.length)for(t=o.children,o=0;o<t.length;o++)if(1===t[o].nodeType){var u=this.Vf(t[o]);h=h||this.Ck(u,i,n,s,e,r)}return h||this.Kr(s,i,n)},Vf:function(t){var i=this.Wb(t);return i.node=t,i},Kr:function(t,i,n){var s,e=0,r=0;if(this.Wb(i),this.Yi(t),2>t.length)return!1;i=this.Wb(i);var h=this.Yi(t);for(s=0;s<t.length;s++)e+=t[s].width*t[s].height;for(s=0;s<h.length;s++){var o=this.gc({length:h[s].pf.width,offset:h[s].pf.T},{length:h[s].qf.width,offset:h[s].qf.T});t=this.gc({length:h[s].pf.height,offset:h[s].pf.S},{length:h[s].qf.height,offset:h[s].qf.S}),o=this.gc({length:o.length,offset:o.offset},{length:i.width,offset:i.T+n.T}),t=this.gc({length:t.length,offset:t.offset},{length:i.height,offset:i.S+n.S}),r+=o.length*t.length}return.5<=(e-r)/(i.width*i.height)},Yi:function(t,i){var n;for(i=i||[],n=1;2<=t.length&&n<t.length;n++)t[0].node!==t[n].node&&i.push({pf:t[0],qf:t[n]});return 2>=t.length?i:this.Yi(t.slice(1),i)},iw:function(t){var i,n={T:0,S:0};try{var s=this.ul()}catch(t){s=[]}var e=this.Oh(t),r=window,h=this.Bk(e,t,n,r);for(i=0;i<s.length&&!h;i++){r=r.parent;var o=this.Wb(s[i]);for(n.T+=o.T,n.S+=o.S,o=0;o<e.length;o++)e[o].T+=n.T,e[o].S+=n.S;o=this.Oh(s[i]),e=e.concat(o),h=h||this.Bk(e,t,n,r)}return h},pr:function(t){var i=t.parentNode;return!(!i||"BODY"===t.tagName||"visible"===this.hd(i,"overflow")&&"visible"===this.hd(i,"overflow-x")&&"visible"===this.hd(i,"overflow-y"))&&(0>t.offsetLeft||0>t.offsetTop||!(1<i.offsetWidth&&1<i.offsetHeight))},ul:function(t){var i=[];for(t=t||window;t!==window.top;)i.push(t.frameElement),t=t.parent;return i},pd:function(t){t=t||document.body;try{return window.top.location.href?t.ownerDocument.defaultView.frameElement?Bo.mj:Bo.oj:Bo.qc}catch(t){return Bo.qc}},Nl:function(t){var i=t.document,n=i.compatMode&&"BackCompat"!==i.compatMode?i.documentElement:i.body,s={width:0,height:0,T:0,S:0};return void 0!==t.innerWidth?(s.width=t.innerWidth,s.height=t.innerHeight):t.document.documentElement&&(t.document.documentElement.clientWidth||t.document.documentElement.clientHeight)?(s.width=t.document.documentElement.clientWidth,s.height=t.document.documentElement.clientHeight):document.body.offsetWidth&&document.body.offsetHeight&&(s.width=t.document.body.offsetWidth,s.height=t.document.body.offsetHeight),s.T=i.all?n.scrollLeft:t.pageXOffset,s.S=i.all?n.scrollTop:t.pageYOffset,s},xf:function(t,i){return 0<i.width&&0<i.height&&0<t.width&&0<t.height?t.S+t.height<=i.S?xo.dn:t.S>=i.height+i.S?xo.jn:t.T+t.width<=i.T?xo.on:t.T>=i.width+i.T?xo.sn:xo.oc:xo.mc},Th:function(t,i){var n={T:0,S:0,width:0,height:0},s=i.T-t.T;return n.T=Math.max(s,0),n.width=Math.max(0,Math.min(Math.min(i.width,t.width),Math.min(i.width+s,t.width-s))),s=i.S-t.S,n.S=Math.max(s,0),n.height=Math.max(0,Math.min(Math.min(i.height,t.height),Math.min(i.height+s,t.height-s))),n},rq:function(t,i){return t=Math.min(i.width-t.T,t.width+t.T)/t.width*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Xq:function(t,i){return t=Math.min(i.height-t.S,t.height+t.S)/t.height*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Dl:function(t,i,n){var s=zo.pd(t),e=0,r=0,h=xo.Ra;return s!==Bo.qc&&(this.ei(t,s)?h=xo.mc:(t={T:0,S:0,width:n.width,height:n.height},(h=this.xf(i,t))===xo.oc&&(e=this.rq(i,t),r=this.Xq(i,t)),e&&r||(e=0))),{Xa:e,position:h,Qa:e}},Hq:function(t,i,n,s){var e={Xa:0,position:xo.Ra,Qa:0},r=zo.pd(t);if(r===Bo.qc)return e;if(this.ei(t,r)&&(e.position=xo.mc),e.position!==xo.mc&&(t=n[n.length-1],r={height:s.height,T:0,S:0,width:s.width},s=this.xf(t,r),e.position=s,s===xo.oc)){for(t=this.Th(t,r),r=n.length-1;0<r&&(s=this.xf(n[r-1],t))===xo.oc;)t=this.Th(n[r-1],t),r--;s===xo.oc&&this.xf(i,t)===xo.oc?(n=(t=this.Th(i,t)).width/i.width*100,n=Math.round(100*n)/100,n=Math.round(n),e.Xa=n,n=t.height/i.height*100,n=Math.round(100*n)/100,n=Math.round(n),e.Qa=n):e.position=xo.mc}return e},il:function(t){var i=window,n={Nu:"NA",aa:{Xa:0,height:0,T:0,position:xo.Ra,S:0,Qa:0,width:0},hostname:window.location.hostname,Ha:{Mk:!1,height:0,T:0,rd:0,Yr:"",S:0,wt:"",width:0},je:!1,Kb:{height:0,T:0,S:0,width:0}},s=this.Wb(t);if(n.aa.T=s.T,n.aa.S=s.S,n.aa.width=s.width,n.aa.height=s.height,(s=zo.pd(t))===Bo.qc)return n.je=!0,n.Ha.Mk=!0,n.Ha.rd=-1,n.aa.Xa=100,n.aa.Qa=100,n;s===Bo.mj&&(n.je=!0,n.Ha.wt=window.top.location.href),this.ei(t,s)&&(n.aa.position=xo.mc);try{i=t.ownerDocument.defaultView||i}catch(t){}if(n.Kb=this.Nl(i),(s=this.Dl(t,n.aa,n.Kb)).position!==xo.oc)return n.aa.position=s.position,n.aa.Xa=s.Xa,n.aa.Qa=s.Qa,n.aa.width=n.aa.width<n.Kb.width?n.aa.width:n.Kb.width,n.aa.height=n.aa.height<n.Kb.height?n.aa.height:n.Kb.height,n;try{if(n.je){window.parent&&window.parent.location&&(n.Ha.Yr=window.parent.location.href),n.Kb=this.Nl(window.top);for(var e=[];i!==window.top;){var r=this.Wb(i.frameElement);0===n.Ha.rd&&(n.Ha.width=r.width,n.Ha.height=r.height),n.Ha.T=r.T,n.Ha.S=r.S,e[n.Ha.rd]=r,n.Ha.rd+=1,i=i.parent}s=this.Hq(t,n.aa,e,n.Kb),n.aa.position=s.position,n.aa.Xa=s.Xa,n.aa.Qa=s.Qa}}catch(t){n.Ha.rd=-1}return n.je||(s=this.Dl(t,n.aa,n.Kb),n.aa.position=s.position,n.aa.Xa=s.Xa,n.aa.Qa=s.Qa),n},Iq:function(t,i){var n=null;if(this.De[t]&&this.De[t][t]&&this.De[t].parentNode)return this.De[t];if(i&&document[i]&&document[i][t])n=document[i];else if(i&&window[i]&&window[i][t])n=window[i];else{var s,e=document.getElementsByTagName("object"),r=document.getElementsByTagName("embed"),h=[];for(i=0,s=e.length;i<s;h.push(e[i++]));for(e=[],i=0,s=r.length;i<s;e.push(r[i++]));for(r=h.concat(e),i=0;i<r.length;i++)try{if(r[i][t]()){n=r[i];break}}catch(t){}}return n&&(this.De[t]=n),n},Eq:function(t){if(!t)return{height:0,width:0};for(var i=t.offsetWidth,n=t.offsetHeight;t&&"BODY"!==t.tagName;)i=Math.min(t.offsetWidth,i),n=Math.min(t.offsetHeight,n),t=t.parentNode;return{height:n,width:i}},lr:function(t){return null!==t&&"object"===Po()(t)&&1===t.nodeType},Fp:function(){if(void 0!==navigator.plugins&&"object"===Po()(navigator.plugins["Shockwave Flash"])&&void 0!==navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return!0;if(void 0!==window.ActiveXObject)try{return new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),!0}catch(t){}return!1},wl:function(t,i,n,s){var e,r=zo.om,h=!this.Fp(),o="7221 7658 7257 7386 7480 7716 7597 7865".split(" "),u=["mindjoltinc","cinesport"],a=!1;for(t=this.lr(t)?t:this.Iq(i,t),e=0;e<o.length;e++)if(o[e]===s){a=!0;break}for(e=0;e<u.length;e++)if(u[e]===s){a=!0;break}if((a||h)&&((s=zo.Kl(t)).Ea=s.sf,s.Ut=s.sf,n&&t[n](s),h))return s;for(e=0;e<r.length;++e)if(r[e].id===i){var c=r[e];break}return c||(c=new zo.rg(i,t),r.push(c)),c.wl(n)},Gw:function(t){var i,n=zo.om;for(i=0;i<n.length;i++)if(n[i].id===t){n[i].dispose(),n.splice(i,1);break}},Kl:function(t){var i={active:Uo.mg,op:"",sf:Fo.Ra,hasFocus:Vo.Ra};if(t){var n=zo.il(t);if(i.Aw=n.aa.width,i.zw=n.aa.height,i.op=t.id,n.aa.position!==xo.Ra){t=n.aa.width*n.aa.Xa/100;var s=n.aa.height*n.aa.Qa/100;i.sf=0===t||0===s?Fo.Ne:.5<=t*s/(n.aa.width*n.aa.height)?Fo.ng:Fo.Ne}else n.je&&(i.vp="inIframe"),n.Ha.Mk&&(i.vp="iframeCrossDomain");if(n=!1,!document.hasFocus||!document.hasFocus())if(t=["webkit","moz","ms","o"],document.visibilityState)n="visible"!==document.visibilityState;else for(s=0;s<t.length;s++)if(document["".concat(t[s],"VisibilityState")]){n="visible"!==document["".concat(t[s],"VisibilityState")];break}i.active=n?Uo.mg:Uo.fn,i.hasFocus=zo.rr()}return i},rr:function(){return!0===document.hidden?Vo.pj:zo.pd()===Bo.qc?Vo.Ra:window.top.document.hasFocus?window.top.document.hasFocus()?Vo.mn:Vo.pj:Vo.Ra},kg:function(t){var i=zo.Wb(this.bc),n=void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,s=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,e=zo.Eq(t);this.wd=1,this.Jr=3,this.bc=t,this.top=i.S+s,this.left=i.T+n,this.width=i.width,this.height=i.height,this.minWidth=e.width,this.minHeight=e.height,this.bn=this.minWidth/(this.wd+1),this.cn=this.minHeight/(this.wd+1)}};zo.kg.prototype={constructor:zo.kg,fq:function(){return window.Xg&&window.Xg.mr?[]:[{x:-1e4,y:-1e4}]},Sq:function(){var t,i=[],n=this.left;for(t=0;t<this.wd;t++)n+=this.bn,i.push({x:n,y:this.top});return i},Qq:function(){var t,i=[],n=this.top;for(t=0;t<this.wd;t++)n+=this.cn,i.push({x:this.left+this.minWidth-1,y:n});return i},Tp:function(){var t,i=[],n=this.left;for(t=0;t<this.wd;t++)n+=this.bn,i.push({x:n,y:this.top+this.minHeight-1});return i},yq:function(){var t,i=[],n=this.top;for(t=0;t<this.wd;t++)n+=this.cn,i.push({x:this.left,y:n});return i},Pp:function(){return[this.fq(),this.Sq(),this.Qq(),this.Tp(),this.yq()]},jl:function(){var t=this.Pp();return[].concat.apply([],t)}},zo.rg=function(t,i){this.id=t,this.Ba=new zo.kg(i),this.Ti=!1,this.Ea=-1,this.ib=[],this.timeout=void 0,this.Rm=1800,this.Ac=""},zo.rg.prototype={constructor:zo.rg,wl:function(t){var i=this;if(!this.Ti){for(this.Ac=t,t=0;t<this.Ba.jl().length;t++){var n=new zo.sg;n.Rl(this,this.qt),this.ib.push(n)}return setTimeout((function(){i.qs()}),1),this.timeout=setTimeout((function(){clearTimeout(i.timeout),!i.Zg()&&i.yk()&&i.Ba&&i.Ba.bc[i.Ac](i.Hh())}),this.Rm),this.Ti=!0,null}t&&this.Ba.bc[t](this.Hh())},qs:function(){var t;if(this.Ba){var i=this.Ba.jl();for(t=0;t<i.length;t++){var n=i[t];this.ib[t].os(n.x,n.y)}}},qt:function(){if(this.Zg()&&(clearTimeout(this.timeout),this.yk())){var t=this.Hh();this.Ba.bc[this.Ac](t)}},Hh:function(){var t,i=zo.Kl(this.Ba.bc),n=0;if(this.Zg()){for(t=0;t<this.ib.length;t++){n+=this.ib[t].Ea}this.Zd=n>=this.Ba.Jr?Fo.ng:Fo.Ne}else this.Zd=Fo.Ra;return i.Zd=this.Zd,i.Ea=this.Zd===Fo.Ra?i.sf:this.Zd,i.active===Uo.mg&&i.Ea===Fo.ng&&(i.Ea=Fo.Ne),i.Ut=i.Ea,i},Zg:function(){var t,i=0;if(this.Ba&&window.Xg&&!window.Xg.mr&&0!==this.ib[0].Ea)return!1;for(t=0;t<this.ib.length;t++)-1<this.ib[t].Ea&&i++;return i===this.ib.length},yk:function(){return this.Ac&&this.Ba&&this.Ba.bc&&this.Ba.bc[this.Ac]&&"function"==typeof this.Ba.bc[this.Ac]},dispose:function(){var t,i=this.ib.length;for(t=0;t<i;t++)this.ib[t].destroy();this.Ba=null,this.Ti=!1,this.Ea=-1,this.ib=[],this.timeout=0,this.Rm=1800,this.id=this.Ac=""}},zo.sg=function(){var t=this;this.Ea=-1,this.id=zo.yj.kn(),this.ji="__adaptv__spotnotify__".concat(this.id.toString()),this.interval=0,this.Bi=this.Od=this.Zf=null,window[this.ji]=function(i,n,s){t.Ea=s,t.Od&&(t.Od.apply(t.Bi),t.Od=null)}},zo.sg.prototype={constructor:zo.sg,Rl:function(t,i){var n="adaptvSpotDiv_".concat(this.id),s="adaptvVWSpot_".concat(this.id);if(!document.getElementById(n)){var e=['<object width="1px" height="1px" id="{spotId}" name="{spotId}" align="center" style="height: 1px !important; width: 1px !important;"><param name="movie" value="','" /><param name="bgcolor" value="#000000"/><param name="allowScriptAccess" value="always" /><param name="FlashVars" value="autoStart=true&callback={callback}"/><embed src="','" width="1px" height="1px" id="{spotId}" name="{spotId}" align="center" bgcolor="#000000" allowScriptAccess="always" FlashVars="autoStart=true&callback={callback}" type="application/x-shockwave-flash"/></object>'].join(zo.yj.URL);e=(e=e.split("{spotId}").join(s)).split("{callback}").join(this.ji),s=document.body||document.getElementsByTagName("body")[0]||document.documentElement;var r=document.createElement("div");r.id=n,r.style.height="1px",r.style.width="1px",r.style.position="absolute",r.innerHTML=e,s.appendChild(r),this.Zf=r,this.Bi=t,this.Od=i}},os:function(t,i){this.Zf.style.left="".concat(t,"px"),this.Zf.style.top="".concat(i,"px")},destroy:function(){var t=document.body||document.getElementsByTagName("body")[0]||document.documentElement,i=document.getElementById("adaptvSpotDiv_".concat(this.id));i&&t.removeChild(i),this.Bi=this.Od=this.Zf=null,delete window[this.ji]}};var Ho=zo,Yo=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i.prototype.na=function(t){if(!this.yb)return-1;var i=Ho.il(this.yb).aa,n=i.Xa*i.Qa/100;return t&&i.S<t&&(n=Math.max(0,100*(i.Qa*i.height/100-t+Math.max(0,i.S))/i.height)),Math.min(Math.round(n),100)},i}(So),Go=_h.a.R("SmartViewability"),Wo=Symbol(),qo=Symbol(),Xo=Symbol(),Qo=function(t){function i(i){Go.debug("init");var n=t.call(this,i)||this;return n[Wo]=i.moatViewability,n[qo]=i.intersectionViewability,n[Xo]=new Yo(i),n}Rh()(i,t);var n=i.prototype;return n.vb=function(i){Go.debug("setElement",i),t.prototype.vb.call(this,i),this[qo].vb(i),this[Wo].vb(i),this[Xo].vb(i)},n.na=function(){Go.debug("getVisiblePercent, try moatViewability");var t=this[Wo].na();return-1===t&&(Go.debug("intersectionViewability fallback"),-1===(t=this[qo].na())&&(Go.debug("adapVisiblePercent fallback"),t=this[Xo].na())),Go.debug("visible percent",t),t},i}(So);Qo.U=["viewabilitySubject","moatViewability","intersectionViewability"];var Zo=function(){function t(t,i){this.Xc=t,this.Sj=i}var i=t.prototype;return i.Dq=function(){return this.Sj||this.Xc},i.Hv=function(){return this.Xc},i.Ws=function(t){Z(t),this.Sj=t},i.Fm=function(t){Z(t),this.Xc=t},t}(),Jo=n(2),Ko=function(){function t(t,i){this.type=t,this.data=i||{},this.target=null}var i=t.prototype;return i.clone=function(){return new t(this.type,this.data)},i.toString=function(){return"Event{type=".concat(this.type,"}")},t}();Ko.lg="complete";var $o=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).data.adType=n,i.Md=null,i}return Rh()(i,t),i.prototype.clone=function(){return new i(this.type,this.Md,this.data)},i}(Ko);$o.Cd="Ads.Resolve.Error",$o.Fe="Ads.Blocker.Complete",$o.gn="Ads.Blocker.Started",$o.eg="Ads.Engines.Load",$o.Lb="Ads.Engine.Ready",$o.Ge="Ads.Engine.Run",$o.kc="Ads.Engine.Complete",$o.He="Ads.Engine.Impression",$o.fj="Ads.Engine.Interaction",$o.Ie="Ads.Engine.LinearChange",$o.hj="Ads.Ad.Request",$o.fg="Ads.Ad.Loaded",$o.hg="Ads.Ad.Starting",$o.Ya="Ads.Ad.Started",$o.lc="Ads.Ad.Finished",$o.gg="Ads.Ad.Paused",$o.ij="Ads.Ad.Resumed",$o.jg="Ads.Ad.VolumeChanged",$o.dj="Ads.Ad.Click",$o.gj="Ads.Ad.Quartile",$o.Nc="Ads.Ad.TimeUpdate",$o.lj="Ads.Ad.Waiting",$o.jj="Ads.Ad.Skipped",$o.Je="Ads.Ad.SkippableStateChange",$o.ig="Ads.Ad.SubtitlesFound",$o.Bj="Ads.Ad.VastFailover",$o.tg="Ads.Ad.VpaidInitializing",$o.ug="Ads.Ad.VpaidLoaded",$o.ej="Ads.Ad.AdGroupFailover",$o.og="Ads.Ad.LastAdGroupFailed",$o.kj="Ads.Ad.AdTimeoutReached",$o.ig="Ads.Ad.AdSubtitlesFound",$o.Mb="Ads.Ad.AdElementReady",$o.qj="Ads.PlayerRendered";var tu=Symbol(),iu=Symbol(),nu=function(){function t(t,i){var n=this;t=t.eventBus,this[tu]=!0,this[iu]=i,Jo.a.group(Jo.a.ua(t,$o.kc,(function(){return n[tu]=!1})),Jo.a.ua(t,$o.Lb,(function(){return n[tu]=!1})))}var i=t.prototype;return i.vb=function(t){this[iu].vb(t)},i.qb=function(){return this[tu]?1:this[iu].qb()},i.na=function(t){return this[tu]?100:this[iu].na(t)},i.ee=function(){return this[tu]?1:this[iu].ee()},t}();nu.U=["eventBus"];var su=Symbol(),eu=Symbol(),ru=function(){function t(t,i){this[eu]=t;var n={ads:Do.a["adserver.url"],adt:Do.a["adstracker.url"],cdn:Do.a["cdn.url"],trk:Do.a["tracking.url"]},s={};Object.keys(n).forEach((function(t){s[t]=Oh.a.ym(i&&i[t]||n[t],"\\s/")})),this[su]=s}var i=t.prototype;return i.iv=function(){return"".concat(this[su].ads,"/vrm?").concat(J.call(this))},i.Lp=function(){return"".concat(this[su].ads,"/vrm/pods?").concat(J.call(this))},i.hv=function(){return"".concat(this[su].ads,"/ads?").concat(J.call(this))},i.Xp=function(t){return"".concat(this[su].cdn,"/").concat(t||"")},i.qq=function(){return this.Xp(Do.a["hls.js.path"])},i.Wq=function(){return Do.a["vapa.url"]},i.Tq=function(){return this[su].trk},i.Kp=function(){return this[su].ads+"/".concat("ads/ad-start.gif")+""},i.Np=function(){return this[su].adt+"/".concat("ads/ad-request.gif")+""},t}(),hu=n(23),ou=n.n(hu),uu=Symbol(),au=Symbol(),cu=function(){function t(t){this[au]=t||new jh.default,this[uu]=[]}var i=t.prototype;return i.addEventListener=function(t,i,n){n=n?i.bind(n):i,this[uu].push([t,i,n]),this[au].addEventListener(t,n)},i.removeEventListener=function(t,i){for(var n=this[uu],s=0;s<n.length;++s){var e=ou()(n[s],3),r=e[1],h=e[2];e[0]===t&&(r!==i&&i||this[au].removeEventListener(t,h))}},i.wm=function(){for(var t=this[uu],i=0;i<t.length;++i){var n=ou()(t[i],3);this[au].removeEventListener(n[0],n[2])}},i.dispatchEvent=function(t,i){this[au].dispatchEvent(t,i)},t}(),fu={$t:"cleaning",IDLE:"idle",LOADING:"loading",PAUSED:"paused",PLAYING:"playing"},lu=Symbol(),vu=Symbol(),du=Symbol(),pu=Symbol(),mu=Symbol(),bu=Symbol(),yu=Symbol(),gu=Symbol(),wu=Symbol(),Su=Symbol(),Eu=Symbol(),Ou=Symbol(),Au=function(){function t(t){this[lu]=t.videoTagProvider,this[vu]=t.urls,this[bu]=fu.IDLE,this[mu]=new jh.default,this[Ou]=new ao.a(window.document)}var i=t.prototype;return i.dispatchEvent=function(){var t;(t=this[mu]).dispatchEvent.apply(t,arguments)},i.addEventListener=function(){var t;(t=this[mu]).addEventListener.apply(t,arguments)},i.removeEventListener=function(){var t;(t=this[mu]).removeEventListener.apply(t,arguments)},i.rl=function(){return this[du]},i.Fl=function(){return this[lu].Xc},i.Mo=function(){this[bu]=fu.PLAYING,this[du]=this.Fl()},i.play=function(){if(this[du]){var t=Math.random();this[pu]=t;var i=this[du].play();i&&i.catch(lt.bind(this,t))}},i.setVolume=function(t){try{this[wu]=t,this[du]&&(this[du].volume=t,at.call(this))}catch(t){}this.mute(0===t)},i.getVolume=function(){return this[wu]},i.isMuted=function(){return this[du]&&this[du].muted||0===this.getVolume()},i.mute=function(){this[du]&&(this[du].muted=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],at.call(this))},i.getDuration=function(){return Math.min(Math.max(this[du]&&this[du].duration||0,0),1e8)},i.Xb=function(){return this.getDuration()-this.getCurrentTime()},i.getCurrentTime=function(){return Math.max(Math.min(this[du]&&this[du].currentTime||0,this.getDuration()),0)},i.Vp=function(){return this[du]&&this[du].buffered},i.jq=function(){return this.getCurrentTime()/this.getDuration()||0},i.pause=function(){this[du]&&this[du].pause()},i.Ji=function(){this.isPlaying()&&this.pause(),this[bu]=fu.IDLE,this[du]&&(ao.a.empty(this[du]),"function"==typeof this[du].setAttribute&&this[du].setAttribute("src",""),"function"==typeof this[du].removeAttribute&&this[du].removeAttribute("src"))},i.stop=function(){this[du]&&(this[yu].removeEventListener("progress",K),this[du].pause(),this[du].load())},i.bt=function(t){ft.call(this,t,this[lu].Xc)},i.Vs=function(t){ft.call(this,t,this[lu].Dq())},i.isPlaying=function(){return this[bu]===fu.PLAYING},i.Uh=function(){return this[du]&&this[du].offsetWidth||0},i.Dh=function(){return this[du]&&this[du].offsetHeight||0},i.gl=function(){return this[Eu]?this[Eu]:this[du]&&this[du].currentSrc},t}();Au.U=["videoTagProvider","urls"];var _u=Symbol(),Tu=Symbol(),Mu=Symbol(),Iu=Symbol(),ju=Symbol(),Nu=Symbol(),Ru=Symbol(),ku=Symbol(),Lu=Symbol(),Du=function(){function t(t){this[Tu]=t.adContainerProvider.ld(),this[Mu]=t.config.Zl()?"tbv":"",this[ku]=0}var i=t.prototype;return i.ve=function(t){this[_u]=t},i.Qs=function(t){(this[Iu]=t)&&t.id&&(this[Lu]=t.id)},i.fb=function(){return this[Iu]},i.Bh=function(){return this[Lu]},i.Rs=function(){this[Lu]=0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},i.Rw=function(t){this[ju]=t},i.pl=function(){return this[ju]},i.ia=function(){return this[_u].ia()},i.getVolume=function(){return this[_u].getVolume()||0},i.isMuted=function(){return this[_u].isMuted()},i.cr=function(){return!this[Iu]},i.be=function(){return{height:this[Tu].offsetHeight,width:this[Tu].offsetWidth}},i.Ph=function(){var t=this.be();return{currentPercent:(+this.Cf()/this.getVideoDuration()||0).toFixed(2),currentTime:this.Cf(),h:t.height,totalVideoCount:this[ku],videoLength:this.getVideoDuration(),w:t.width}},i.Fh=function(){return this[Mu]},i.Cf=function(){return this[Nu]||0},i.getVideoDuration=function(){return this[Ru]||0},i.we=function(t){this[Ru]=t},i.eq=function(){return this[Nu]},i.Tr=function(){this[ku]++},i.Hm=function(t){this[Nu]=t},t}();Du.U=["adContainerProvider","config"];var Cu=Symbol(),Pu=Symbol(),xu=function(){function t(t){this[Pu]=t,this[Cu]=t}var i=t.prototype;return i.Xs=function(t){this[Cu]=t},i.ld=function(){return this[Pu]},i.zl=function(){return this[Cu]},i.cq=function(){return{uo:this[Pu],yw:this[Cu]}},t}(),Uu=function(){function t(t,i){this.message=t||"",this.code=i}return t.prototype.toString=function(){return"Error{message=".concat(this.message,"}")},t}(),Vu=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i}(Uu),Bu={W:124},Fu={W:102,code:301,description:"URI reached a timeout as defined by the video player.",ga:9402},zu={code:205,description:"InLine ad is skipped due to a category violation"},Hu={W:100,description:"Ad entries loading timeout, ajax error or parsing error"},Yu={code:301,description:"Ad has expired"},Gu={W:5122,code:100,description:"Empty response",ga:9401},Wu={W:104,code:401,description:"File not found. Unable to find Linear/MediaFile from URI",ga:9521},qu={W:114,code:400,description:"General    Linear    error. Video player is unable to display the Linear Ad",ga:9524},Xu={code:500,description:"General NonLinearAds error."},Qu={W:5130,code:300,description:"General Wrapper error",ga:9413},Zu={W:114,code:405,description:"Problem displaying MediaFile.",ga:9521},Ju={W:125,code:303,description:"No ads VAST response after one or more Wrappers. Also includes number of empty VAST responses from fallback.",Ec:{level:"warning"},ga:9432},Ku={W:1,code:303,description:"No ads VAST response ",Ec:{level:"warning"},ga:9432},$u={W:120,code:403,description:"Couldn’t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.",ga:9412},ta={code:502,description:"Unable to fetch NonLinearAds/NonLinear resource."},ia={code:501,description:"Unable to display non-linear ad because creative dimensions do not align with creative display area"},na={code:503,description:"Could not find NonLinear resource with supported type."},sa={W:121,code:401,description:"SSL mismatch",ga:9521},ea={W:112,code:900,description:"Undefined error."},ra={W:108,code:100,description:"VAST parsing error",ga:9401},ha={W:5125,code:101,description:"VAST schema validation",ga:9411},oa={W:203,code:901,description:"VPAID ad init error",Ec:{level:"warning",Wm:"VPAID ad init error NO_FILL"},ga:9416},ua={W:204,code:901,description:"VPAID ad init timeout",ga:9526},aa={W:202,code:901,description:"VPAID ad load error",ga:9416},ca={W:202,code:409,description:"Interactive unit in the InteractiveCreativeFile node was not executed",ga:9416},fa={W:114,code:901,description:"VPAID ad renderer error",ga:9416},la={W:301,code:901,description:"VPAID ad start error",ga:9416},va={W:302,code:304,description:"VPAID ad start timeout",ga:9522},da={W:401,code:901,description:"vpaid creative stopped without impression",ga:9416},pa={W:125,code:302,description:"Wrapper limit reached, as defined by the video player. Too many Wrapper responses have been received with no InLine response.",ga:9413},ma={W:105,code:301,description:"Timeout of VAST URI provided in Wrapper element, or of VAST URI provided in a subsequent Wrapper element. (URI was either unavailable or reached a timeout as defined by the video player.)",ga:9402},ba={W:201,code:901,description:"VPAID setup error",ga:9416},ya=Symbol(),ga=Symbol(),wa=function(){function t(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];this[ga]=t,this[ya]={},vt.call(this,i)}var i=t.prototype;return i.Vb=function(t){return this[ya][t]},i.zd=function(){},i.Y=function(){},i.parse=function(t){return this.zd&&this.zd(t)?this.Y(t):null},i.nd=function(){return this[ga]},t}(),Sa=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i.prototype.zd=function(t){return t&&t.nodeName===this.nd()&&t.hasChildNodes()&&t.firstElementChild},i}(wa),Ea=n(33),Oa=function(){function t(){}return t.Xh=function(t){var i={};t=t.childNodes;for(var n=0;n<t.length;n++){var s=t[n],e=s.nodeName;1===s.nodeType&&(i[e]||(i[e]=s))}return i},t.Wh=function(t,i){t=t.childNodes;for(var n=0;n<t.length;n++){var s=t[n];if(1===s.nodeType&&s.nodeName===i)return s}return null},t.oa=function(t){var i={};return t&&Array.prototype.forEach.call(t.childNodes||[],(function(t){var n=t.nodeName;1===t.nodeType&&(i[n]||(i[n]=[]),i[n].push(t))})),i},t.Yq=function(t){return!!t&&(3===t.nodeType||2===t.nodeType||!!t.hasChildNodes()&&!t.firstElementChild)},t.ka=function(t){return function t(i){for(var n,s="",e=0;null!=(n=i[e++]);)n.nodeType===Ea.c||n.nodeType===Ea.a?(n=n.nodeValue&&n.nodeValue.trim())&&(s+=n):n.nodeType!==Ea.b&&(s+=t(n.childNodes));return s}([t])},t}(),Aa=function(){function t(t){this.type=t.getAttribute("type")}return t.prototype.prepare=function(t){t.Ik={Fw:this.type||"Equirectangular"}},t}(),_a=function(){function t(t){t&&(this.type=t.getAttribute("type"),this.value=Oa.ka(t))}var i=t.prototype;return i.prepare=function(t,i,n){this.Ua=t,this.M=i,this.Ai=n,this.Fr=i.Yb()},i.ma=function(){(new Image).src=this.Fr.resolve(this.value,this.Ai)},t}(),Ta={ar:"العربية",de:"deutsch",en:"english",es:"español",fr:"français",he:"עברית",id:"Indonesian",it:"Italiano",ja:"日本語",ru:"русский",tl:"Filipino",zh:"简体中文 (中国)","zh-tw":"繁體中文 (台灣)"},Ma=Symbol(),Ia=Symbol(),ja=Symbol(),Na=function(t){function i(i,n,s,e){return(i=t.call(this,i,e)||this)[Ma]=n,i[Ia]=s,i.gd=[],i.Wl=!0,i}Rh()(i,t);var n=i.prototype;return n.Ps=function(t){t.Wl=!1,this[ja]=t},n.Jl=function(){return this[Ma]||null},n.Ub=function(){return this[Ia]||null},n.Yp=function(){return this[ja]||null},n.clone=function(){return new i(this.type,this[Ma],this[Ia],this.data)},i}(Ko);Na.Ke="VastEventAttempt",Na.nc="VastEventImpression",Na.Za="VastEventClick",Na.va="VastEventError",Na.LOADED="loaded";var Ra=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i.prototype.prepare=function(i,n){switch(t.prototype.prepare.call(this,i,n.M),this.type){case"clickThru":dt.call(this,n.ad,Na.Za)}},i}(_a),ka=n(46),La=Symbol(),Da=function(){function t(t,i){var n=this;this.Om={},this.ls=t,this[La]=i,t.forEach((function(t){var i=t.Qk,s=t.Yd;Object.keys(s).map((function(t){return s[t]=qh.a.eh(s[t])})),n.Om[t.lang]={displayText:i,formats:s}}))}return t.prototype.prepare=function(t){var i=this;this[La]||(this[La]=t);var n=this[La].N("eventBus");Jo.a.ua(n,$o.hg,(function(){n.dispatchEvent(new $o($o.ig,null,{raw:i.ls,subtitles:i.Om}))}))},t}(),Ca=n(89),Pa=n.n(Ca);n(91);var xa=n(100),Ua=n.n(xa);n(111);var Va="acceptInvitation",Ba="click",Fa="close",za="collapse",Ha="complete",Ya="creativeView",Ga="exitFullscreen",Wa="expand",qa="firstQuartile",Xa="fullscreen",Qa="impression",Za="midpoint",Ja="mute",Ka="pause",$a="playerCollapse",tc="playerExpand",ic="progress",nc="resume",sc="rewind",ec="skip",rc="start",hc="thirdQuartile",oc="unmute",uc=_h.a.R("HtmlInjector"),ac=Symbol(),cc=function(){function t(t){this[ac]=t}return t.prototype.Sl=function(t){uc.debug("injectIFrame",t);var i=(t=t||{}).width,n=t.height;return i=i?"".concat(i,"px"):"100%",n=n?"".concat(n,"px"):"100%",i=Object(Eh.h)("iframe",{frameBorder:0,height:n,marginHeight:0,marginWidth:0,scrolling:"no",src:"javascript:void(0)",width:i},this[ac]),pt.call(this,i,"",t),i},t}(),fc="sessionError",lc="sessionFinish",vc="sessionStart",dc=function(t){function i(n,s,e){return(s=t.call(this,i.rc,s,null)||this).Mc=n,s.data=e||{},s}return Rh()(i,t),i.prototype.clone=function(){return new i(this.Mc,this.Jl(),this.data)},i}(Na);dc.rc="VASTEventVideoTracking";var pc=_h.a.R("VerificationController"),mc=["*"],bc=Symbol(),yc=Symbol(),gc=Symbol(),wc=Symbol(),Sc=Symbol(),Ec=Symbol(),Oc=Symbol(),Ac=Symbol(),_c=Symbol(),Tc=Symbol(),Mc=Symbol(),Ic=Symbol(),jc=Symbol(),Nc=function(){function t(t){this[Tc]=t.dom,this[Mc]=t.adContainerProvider.ld(),this[Ic]=t.videoTagProvider,this[jc]=t.eventBus,this[bc]=2,this[wc]={},this[Sc]={},this[Oc]={},this[Ec]=w()}return t.prototype.prepare=function(){var t=Ua()(Pa.a.mark((function t(i,n){var s;return Pa.a.an((function(t){for(;;)switch(t.sb=t.next){case 0:if(pc.debug("prepare"),this[Ac]=i,this[_c]=n,pc.debug("selectOne",this[Ac].vendor),-1<mc.indexOf(this[Ac].vendor)||-1<mc.indexOf("*")?s=this[Ac].am[0]||this[Ac].Uk[0]:(this[bc]=1,s=void 0),!s){t.next=18;break}return Et.call(this),t.sb=6,t.next=9,Ot.call(this,s.url);case 9:t.next=16;break;case 11:t.sb=11,t.ex=t.catch(6),this[bc]=3,At.call(this),yt.call(this);case 16:t.next=19;break;case 18:At.call(this);case 19:case"end":return t.stop()}}),t,this,[[6,11]])})));return function(i,n){return t.apply(this,arguments)}}(),t}();Nc.U=["dom","adContainerProvider","videoTagProvider","eventBus"];var Rc=_h.a.R("VastExtension"),kc=function(){function t(){this.type=null,this.Ul={},this.scripts=[],this.Pm=[],this.Nk=[],this.Ym=[],this.Ak=[],this.ki=null,this.Xd=[],this.rk=[]}return t.prototype.prepare=function(t){switch(Rc.debug("prepare",this.type),this.Ua=new ka.a,this.Lt=t,this.M=t.M,this.Gf=this.M.Ga(),this.ad=t.ad,this.type){case"adaptv_scripts":_t.call(this);break;case"adaptv_timeout_beacons":Tt.call(this);break;case"one_video_custom_tracking_beacons":Mt.call(this);break;case"vidible_captions":new Da(this.Ak,this.Gf).prepare();break;case"vidible_360":this.ro.prepare(this.ad);break;case"o2Player_leaveBehind":this.ki&&this.ki.prepare(this.M,this.Ua);break;case"one_video_feacons":It.call(this);break;case"AdVerifications":jt.call(this)}Jo.a.ua(this.M,$o.lc,Nt.bind(this))},t}(),Lc=function(){function t(t){var i=this;this.Xd=[],t.forEach((function(t){(Oa.oa(t).Feacon||[]).forEach((function(t){return i.Xd.push(Oa.ka(t))}))}))}return t.prototype.prepare=function(t){var i=t.Yb();this.Xd.forEach((function(t){return(new Image).src=i.resolve(t)}))},t}(),Dc=function(){function t(t,i){this.type=t,this.data=i}return t.prototype.clone=function(){return new t(this.type,this.data)},t}(),Cc=Symbol(),Pc=Symbol(),xc=Symbol(),Uc=Symbol(),Vc=Symbol(),Bc=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n)||this)[Cc]=e,i[Pc]=r,i[xc]=s,i[Uc]=h,i[Vc]=o,i}Rh()(i,t);var n=i.prototype;return n.Rq=function(){return this[Cc]},n.Lq=function(){return this[Pc]},n.wh=function(){return this[xc]},n.lq=function(){return this[Uc]},n.Uv=function(){return this[Vc]},n.clone=function(){return new i(this.type,this.data,this[xc],this[Cc],this[Pc],this[Uc],this[Vc])},i}(Dc);Bc.LOADING="EntriesManagerEvent.LOADING",Bc.LOADED="EntriesManagerEvent.LOADED",Bc.Me="EntriesManagerEvent.FAILED";var Fc,zc,Hc=function(){function t(t){this.jh=JSON.parse(Oa.ka(t))}return t.prototype.prepare=function(t,i){this.M=t,i.eb(Jo.a.bind(t,$o.lc,Rt.bind(this))),this.Ng=this.M.Ga().N("config")},t}(),Yc=Symbol(),Gc=function(){function t(t){this.Ds=t.getAttribute("resourceType"),this.event=t.getAttribute("event"),this.value=Oa.ka(t)}return t.prototype.prepare=function(t,i,n){this.M=n,this.Sd=n.Ga().N("dom"),t.eb(Jo.a.bind(n,$o.lc,Dt.bind(this))),this.event===Qa?t.eb(Jo.a.bind(i,Na.nc,Lt.bind(this))):Lt.call(this)},t}(),Wc=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i.prototype.prepare=function(i,n,s){if(this.ad=n,t.prototype.prepare.call(this,i,s),(i=Ct.call(this))&&(this.timeout=i.Ul[this.type]),!this.timeout)switch(this.type){case"ad_loaded_timeout":this.timeout=5e3;break;case"ad_started_timeout":this.timeout=7e3;break;case"break_loaded_timeout":this.timeout=3e4}switch(this.type){case"ad_loaded_timeout":Pt.call(this,$o.fg,$o.Ya);break;case"ad_started_timeout":Pt.call(this,$o.Ya,$o.Nc);break;case"break_loaded_timeout":Pt.call(this,$o.Ge,$o.Ya)}},i}(_a),qc=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i.prototype.zd=function(t){return t&&t.nodeName===this.nd()&&Oa.Yq(t)},i}(wa),Xc=function(t){function i(){return t.apply(this,arguments)||this}Rh()(i,t);var n=i.prototype;return n.Y=function(t){var i=this.fd();return i.url=Oh.a.trim(Oa.ka(t)),i},n.fd=function(){return new m},i}(qc),Qc=new Xc("Survey"),Zc=new Xc("Attempt"),Jc=new Xc("Impression"),Kc=new Xc("Error"),$c=new Xc("VASTAdTagURI"),tf=new Xc("NonLinearClickThrough"),nf=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Rh()(i,t),i.prototype.Y=function(i){var n=t.prototype.Y.call(this,i);return n.xa=i.getAttribute("apiFramework"),n.xk=i.getAttribute("browserOptional"),n},i}(Xc)),sf=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return Rh()(i,t),i.prototype.Y=function(i){var n=t.prototype.Y.call(this,i);return n.xa=i.getAttribute("apiFramework"),n.type=i.getAttribute("type"),n},i}(Xc)),ef=new(function(t){function i(){return t.call(this,"VerificationParameters")||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new p;return i.value=Oa.ka(t),i},i}(qc)),rf=function(t){function i(i,n,s){return(i=t.call(this,i)||this).type=n,i.offset=s,i}return Rh()(i,t),i}(m),hf=new(function(t){function i(){return t.call(this,"Tracking")||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i);return n.type=i.getAttribute("event"),n.offset=i.getAttribute("offset"),n},n.fd=function(){return new rf},i}(Xc)),of=new(function(t){function i(){return t.call(this,"Verification",[nf,sf,ef,hf])||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new d,n=Oa.oa(t),s=n.JavaScriptResource||[],e=n.ExecutableResource||[],r=n.VerificationParameters||[];return n=Oa.oa((n.TrackingEvents||[])[0]).Tracking||[],i.am=s.map((function(t){return nf.parse(t)})).sort(Ut),i.Uk=e.map((function(t){return sf.parse(t)})),i.$i=r.map((function(t){return ef.parse(t)})),i.jb=n.map((function(t){return hf.parse(t)})),i.vendor=t.getAttribute("vendor"),i},i}(Sa)),uf=_h.a.R("BaseViewabilityRules"),af=Symbol(),cf=Symbol(),ff=Symbol(),lf=Symbol(),vf=Symbol(),df=function(){function t(){uf.debug("constructor"),this[af]=2,this[cf]=50,this[ff]=!1,this[lf]=!1,this[vf]=null}var i=t.prototype;return i.Jh=function(){return this[af]},i.Ih=function(){return this[cf]},i.di=function(){return this[ff]},i.ci=function(){return this[lf]},i.Df=function(){return this[vf]},t}(),pf=_h.a.R("GeminiViewabilityRules"),mf=Symbol(),bf=Symbol(),yf=Symbol(),gf=Symbol(),wf=Symbol(),Sf=Symbol(),Ef=Symbol(),Of=function(t){function i(i,n,s){var e=t.call(this)||this;return pf.debug("constructor",n),n=n||{},e[mf]=i,e[bf]=+n.d||t.prototype.Jh.call(wo()(e)),e[yf]=+n.p||t.prototype.Ih.call(wo()(e)),e[gf]=Vt(n.c,t.prototype.di.call(wo()(e))),e[wf]=Vt(n.a,t.prototype.ci.call(wo()(e))),e[Sf]=+n.t||t.prototype.Df.call(wo()(e)),e[Ef]=s||[],e}Rh()(i,t);var n=i.prototype;return n.getName=function(){return this[mf]},n.Jh=function(){return this[bf]},n.Ih=function(){return this[yf]},n.di=function(){return this[gf]},n.ci=function(){return this[wf]},n.Df=function(){return this[Sf]},n.Gq=function(){return this[Ef]},n.jw=function(){return 1===this[Sf]},i}(df),Af=function(t){function i(i,n){return t.call(this,n,{a:i.getAttribute("a"),c:i.getAttribute("c"),d:i.getAttribute("d"),p:i.getAttribute("p"),t:i.getAttribute("t")})||this}return Rh()(i,t),i}(Of),_f=new(function(t){function i(){return t.call(this,"Extension")||this}Rh()(i,t);var n=i.prototype;return n.Y=function(t){var i=new kc;i.type=t.getAttribute("type");var n=Oa.oa(t);switch(i.type){case"adaptv_scripts":i.scripts=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Gc(i))})),t}(n.Script);break;case"one_video_inventory_attributes":i.Ul=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i={};return Object.keys(t).forEach((function(n){n=new b(n,t[n][0]),i[n.type]=n.value})),i}(n);break;case"adaptv_timeout_beacons":i.Pm=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Wc(i))})),t}(n.Beacon);break;case"adaptv_iab_viewable_beacons":i.Ym=Bt(n.Beacon);break;case"Viewability3P":i.Rt=Bt(n.Beacon);break;case"ViewabilityRules":i.Tt=Ft(n,"viewabilityDefVideo"),i.St=Ft(n,"viewabilityDefVideo3P");break;case"one_video_custom_tracking_beacons":i.Nk=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Ra(i))})),t}(n.Beacon);break;case"o2Player_leaveBehind":i.ki=new Hc(t);break;case"vidible_captions":i.Ak=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new y(i))})),t}(n.Caption);break;case"vidible_360":i.ro=function(){return new Aa(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[])}(n.Projection[0]);break;case"one_video_feacons":i.Xd.push(new Lc(n.Feacons));break;case"AdVerifications":i.rk=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){t=(Oa.oa(i).Verification||[]).map((function(t){return of.parse(t)}))})),t}(n.AdVerifications)}return i},n.zd=function(t){return t&&t.nodeName===this.nd()},i}(Sa)),Tf=new(function(t){function i(){return t.call(this,"ViewableImpression")||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new v;return t=Oa.Xh(t),i.Ea=new _a(t.Viewable),i.oi=new _a(t.NotViewable),i.bj=new _a(t.ViewUndetermined),i},i}(Sa)),Mf=new(function(t){function i(){return t.call(this,"AdSystem")||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new l;return i.version=t.getAttribute("version"),i.name=Oa.ka(t),i},i}(qc)),If=function(t){function i(){var i=t.call(this)||this;return i.Fk=[],i.td=[],i.Tl=null,i.cc=[],i.duration=null,i.Kc=!1,i.Yf=null,i.Xf=null,i.parameters=null,i.La=null,i.jp=null,i.Hk=new Da([]),i.fm=null,i}return Rh()(i,t),i}(f),jf=new a("STREAMING"),Nf=new a("PROGRESSIVE"),Rf=function(t){function i(i,n){return(i=t.call(this,i)||this).id=n,i}return Rh()(i,t),i}(m),kf=function(t){function i(i,n){return(i=t.call(this,i,n)||this).Pk=null,i.mimeType="",i.width=null,i.height=null,i.cp="",i.Rb=null,i.Ir=null,i.maxBitrate=null,i.yd=!0,i.oe=!0,i.xa="",i}return Rh()(i,t),i}(Rf),Lf=function(t){function i(){return t.apply(this,arguments)||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i);return n.id=i.getAttribute("id"),n},n.fd=function(){return new Rf},i}(Xc),Df=new Lf("ClickThrough"),Cf=new Lf("ClickTracking"),Pf=new Lf("CustomClick"),xf=new Lf("NonLinearClickTracking"),Uf=new(function(t){function i(){return t.call(this,"MediaFile")||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i);switch(String(i.getAttribute("delivery"))){case"streaming":n.Pk=jf;break;case"progressive":n.Pk=Nf}var s=i.getAttribute("height");return n.height=isNaN(s)?0:s,s=i.getAttribute("width"),n.width=isNaN(s)?0:s,n.cp=i.getAttribute("codec"),n.Rb=i.getAttribute("bitrate"),n.Ir=i.getAttribute("minBitrate"),n.maxBitrate=i.getAttribute("maxBitrate"),s=i.getAttribute("scalable"),n.yd=!s||("true"===s||0<parseInt(s)),n.oe="true"===i.getAttribute("maintainAspectRatio"),n.mimeType=i.getAttribute("type"),n.xa=i.getAttribute("apiFramework"),n.url&&-1!==n.url.indexOf("acds.prod.vidible.tv")&&(n.rb=qh.a.Db("placementId",n.url)),n},n.fd=function(){return new kf},i}(Lf)),Vf=function(t){function i(i,n){return(i=t.call(this,i,n)||this).type=void 0,i.xa="",i.Jt=!1,i}return Rh()(i,t),i}(Rf),Bf=new(function(t){function i(){return t.call(this,"InteractiveCreativeFile")||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i);return n.xa=i.getAttribute("apiFramework")||"vpaid",n.type=i.getAttribute("type"),n.Jt=i.getAttribute("variableDuration")||!1,n},n.fd=function(){return new Vf},i}(Lf)),Ff=new(function(t){function i(){return t.call(this,"Icon")||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new u;i.width=+t.getAttribute("width")||0,i.height=+t.getAttribute("height")||0,i.cg=+t.getAttribute("xPosition")||t.getAttribute("xPosition"),i.dg=+t.getAttribute("yPosition")||t.getAttribute("yPosition"),i.offset=Object(Eh.J)(t.getAttribute("offset")||""),i.duration=Object(Eh.J)(t.getAttribute("duration")||""),t=Oa.oa(t);var n=Oa.oa(t.IconClicks[0]),s=n.IconClickThrough&&n.IconClickThrough[0];return n=n.IconClickTracking&&n.IconClickTracking[0],t.StaticResource&&t.StaticResource[0]&&(i.Nm=Oa.ka(t.StaticResource[0]).trim()),t.IconViewTracking&&t.IconViewTracking[0]&&(i.aj=Oa.ka(t.IconViewTracking[0]).trim()),s&&(i.hh=Oa.ka(s).trim()),n&&(i.ih=Oa.ka(n).trim()),i},i}(Sa)),zf=new(function(t){function i(){return t.call(this,"AdParameters")||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new o;return i.value=Oa.ka(t),i.Zt=t.getAttribute("xmlEncoded"),i},i}(qc)),Hf=["application/x-shockwave-flash","video/x-flv"],Yf=(Fc={},yh()(Fc,"application/javascript","cjs"),yh()(Fc,"text/javascript","cjs"),yh()(Fc,"application/x-javascript","cjs"),yh()(Fc,"application/vnd.apple.mpegurl","cm3u8"),yh()(Fc,"application/x-mpegurl","cm3u8"),yh()(Fc,"application/x-shockwave-flash","cswf"),yh()(Fc,"uplynk/m3u8","cm3u8"),yh()(Fc,"video/3gpp","c3gpp"),yh()(Fc,"video/x-flv","cflv"),yh()(Fc,"video/mp4","cmp4"),yh()(Fc,"video/webm","cwebm"),Fc),Gf=new(function(t){function i(){return t.call(this,"Linear",[hf,Df,Cf,Pf,Uf,Ff,zf])||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new If,n=Oa.Xh(t);if((t=t.getAttribute("skipoffset"))&&(i.Kc=!0,"%"===t.slice(-1)?i.Xf=Number(t.slice(0,-1)):i.Yf=Object(Eh.J)(t)),t=Oa.ka(n.Duration),i.duration=t?Object(Eh.J)(t):NaN,(t=n.AdParameters)&&(i.parameters=zf.parse(t)),(t=n.TrackingEvents)&&(Oa.oa(t).Tracking||[]).forEach((function(t){return i.jb.push(hf.parse(t))})),t=n.VideoClicks){var s=(t=Oa.oa(t)).ClickThrough;s&&(s=s[0])&&(i.La=Df.parse(s)),(s=t.ClickTracking)&&s.forEach((function(t){return i.Fk.push(Cf.parse(t))})),(t=t.CustomClick)&&(t=t[0])&&(i.jp=Pf.parse(t))}return(t=n.Icons)&&(t=Oa.oa(t).Icon)&&t.forEach((function(t){return i.cc.push(Ff.parse(t,!0))})),t=(n=n.MediaFiles)&&Oa.oa(n).MediaFile||[],function(t,i){var n=[],s=[],e=new c;i.forEach((function(t){if(t=Uf.parse(t)){var i=t.mimeType&&t.mimeType.toLowerCase()||"",r=Yf[i];r?e[r]+=1:e.fp+=1,(r=t.url)&&!Oh.a.startsWith(r,"rtmp",!0)&&i&&0<i.length&&-1===Hf.indexOf(i)&&("vpaid"!==(t.xa&&t.xa.toLowerCase()||"")?n.push(t):("application/javascript"===i||"text/javascript"===i||"application/x-javascript"===i)&&s.push(t))}})),t.fm=e,t.td=0<n.length?n:s}(i,t),t=n&&Oa.Wh(n,"ClosedCaptionFiles")||[],t=(n&&t&&Oa.oa(t).ClosedCaptionFile||[]).map((function(t){return new y(t,!0)})),i.Hk=new Da(t),(n=(n&&Oa.oa(n).InteractiveCreativeFile||[])[0])&&(n=Bf.parse(n))&&(i.Tl=n),i},i}(Sa)),Wf=function(t){function i(){var i=t.call(this)||this;return i.yd=!0,i.oe=!0,i.mi=null,i}return Rh()(i,t),i}((function(){this.height=this.width=null,this.id="",this.parameters=this.bp=this.La=this.Vk=this.Wk=null,this.xa="",this.tb=[]})),qf=new r("STATIC"),Xf=new r("IFRAME"),Qf=new r("HTML"),Zf=function(t){function i(i,n){return(i=t.call(this,i)||this).Zn=n,i}return Rh()(i,t),i.prototype.Y=function(t){var i=new h;return i.type=this.Zn,i.value=Oa.ka(t),i.mimeType=t.getAttribute("creativeType"),i},i}(qc),Jf=new Zf("StaticResource",qf),Kf=new Zf("IFrameResource",Xf),$f=new Zf("HTMLResource",Qf),tl=new(function(t){function i(){return t.call(this,"NonLinear",[tf,xf])||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i),s=i.getAttribute("scalable");n.yd=!s||("true"===s||0<parseInt(s));var e="true"===(s=i.getAttribute("maintainAspectRatio"))||0<parseInt(s);return n.oe=!s||e,i=i.getAttribute("minSuggestedDuration"),n.mi=i?Object(Eh.J)(i):NaN,n},n.gp=function(){return new Wf},n.nl=function(){return tf.nd()},n.ol=function(){return xf.nd()},i}(function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([Jf,Kf,$f,zf,hf]))||this}Rh()(i,t);var n=i.prototype;return n.Y=function(t){var i=this,n=this.gp();n.height=t.getAttribute("height"),n.width=t.getAttribute("width"),n.id=t.getAttribute("id");var s=t.getAttribute("expandedWidth");return n.Wk=isNaN(s)?0:s,s=t.getAttribute("expandedHeight"),n.Vk=isNaN(s)?0:s,n.xa=t.getAttribute("apiFramework"),[(t=Oa.oa(t)).StaticResource||[],t.IFrameResource||[],t.HTMLResource||[]].forEach((function(t){t.forEach((function(t){(t=i.Vb(t.nodeName).parse(t))&&n.tb.push(t)}))})),(s=t.AdParameters)&&(n.parameters=zf.parse(s[0])),(s=t[this.nl()])&&(n.La=this.Zp().parse(s[0])),(t=t[this.ol()])&&(n.bp=this.aq().parse(t[0])),n},n.Zp=function(){return this.Vb(this.nl())},n.aq=function(){return this.Vb(this.ol())},i}(Sa))),il=function(t){function i(){var i=t.call(this)||this;return i.ni=[],i}return Rh()(i,t),i}(f),nl=new(function(t){function i(){return t.call(this,"NonLinearAds",[hf,tl])||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new il,n=(t=Oa.oa(t)).NonLinear;return n&&n.forEach((function(t){return i.ni.push(tl.parse(t))})),(t=t.TrackingEvents)&&(Oa.oa(t[0]).Tracking||[]).forEach((function(t){return i.jb.push(hf.parse(t))})),i},i}(Sa)),sl=new(function(t){function i(){return t.call(this,"UniversalAdId")||this}return Rh()(i,t),i.prototype.Y=function(t){var i=new e;return i.value=Oa.ka(t),i.Vh=t.getAttribute("idRegistry"),i},i}(qc)),el=new(function(t){function i(){return t.call(this,"Creative",[Gf,nl])||this}return Rh()(i,t),i.prototype.Y=function(t){var i,n=this,s=null;return[].slice.call(t.childNodes).forEach((function(e){if("UniversalAdId"===e.nodeName)i=e;else{var r=n.Vb(e.nodeName);r&&(s=r.parse(e))&&(s.id=t.getAttribute("id"),e=t.getAttribute("sequence"),s.Pa=isNaN(e)?0:e,s.xo=t.getAttribute("adID")||t.getAttribute("AdID"))}})),s&&(s.Um=sl.parse(i)),s},i}(Sa)),rl=function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([Mf,Zc,Kc,Jc,el,_f,of,Tf]))||this}return Rh()(i,t),i.prototype.Y=function(t){var i=this.Lk(),n=(t=Oa.oa(t)).AdSystem&&t.AdSystem[0];return i.M=n&&Mf.parse(n)||{},i.uk=zt.call(this,t.Attempt,"Attempt"),i.Ef=zt.call(this,t.Impression,"Impression"),i.Ef.forEach((function(t){-1===t.url.indexOf("log.adaptv.advertising.com")||i.rb||(i.rb=qh.a.Db("5",t.url))})),i.Vd=zt.call(this,t.Error,"Error"),i.qa=Ht.call(this,t.Creatives,"Creative"),i.qa.sort((function(t,i){return t.Pa-i.Pa})),i.qa=i.qa.map((function(t,i){return t.ub=i,t})),i.nb=Ht.call(this,t.Extensions,"Extension"),i.Mt=Ht.call(this,t.AdVerifications,"Verification"),t.ViewableImpression&&(i.jc=[Tf.parse(t.ViewableImpression[0])]),i},i}(Sa),hl=["[AD_DURATION]","{ad_duration}"],ol=["[ERRORCODE]","%5BERRORCODE%5D"],ul=["{adSpotTime}"],al=["[ADTYPE]"],cl=["{errNo}"],fl=["[ADAP_VIEWABLE_OPPORTUNITY]"],ll=["{adNumber}","{adSeq}"],vl=["[ADSERVINGID]"],dl=["[APID]"],pl=["[APIFRAMEWORKS]"],ml=["[APP_ID]"],bl=["[ASSETURI]","[AD_MEDIA_FILE_URL]","AD_MEDIA_FILE_URL"],yl=["|ap|","[AUTOPLAY]","[AUTO_INITIATION]"],gl=["[BCID]","[bcid]"],wl=["|beoncw|","[BEON_CW]"],Sl=["|beonvid|","[BEON_VIDEO_ID]"],El=["[BID]"],Ol=["[BLOCKEDADCATEGORIES]"],Al=["[BREAKPOSITION]"],_l=["[cachebuster]","[CACHEBUSTER]","[CACHE_BUSTER]","[CACHE_BREAKER]","[CACHEBUSTING]"],Tl=["[CLIENTUA]","[clientua]"],Ml=["[container_height]","[CONTAINER_HEIGHT]"],Il=["[container_width]","[CONTAINER_WIDTH]"],jl=["[CONTENTPLAYHEAD]","[MEDIAPLAYHEAD]"],Nl=["{creativeLoadTime}"],Rl=["[DE_RSS_ID]"],kl=["|DE_URL|","[DE_URL]"],Ll=["[DEPTH]"],Dl=["[DOMAIN_ROOT]"],Cl=["[DOMAIN_NAME]"],Pl=["[ECPM]"],xl=["[EUCONSENT]","EUCONSENT","[GDPR_CONSENT]"],Ul=["[P_VW_ACTIVE]","<a.active>"],Vl=["[GDPR]","GDPR"],Bl=["[IP_ADDR]","[IPADDRESS]","IPADDRESS"],Fl=["[OATH_FIRSTPARTY]","OATH_FIRSTPARTY"],zl=["[LOCATION_LAT]","[LATITUDE]","LATITUDE"],Hl=["[LOCATION_LON]","[LONGITUDE]","LONGITUDE"],Yl=["[MOAT_PREBID]"],Gl=["|muted|","[MUTED]"],Wl=["[MCC]","[MNC]","[APPNAME]"],ql=["[PAGEURL]","[pageurl]"],Xl=["[PID]"],Ql=["{PlayerInitTime}"],Zl=["{playerRev}"],Jl=["[P_VW_SIZE]","<a.psize>","{psize}"],Kl=["[PLAYER_TYPE]"],$l=["[PLAYLIST_SEQUENCE]"],tv=["[RSS_ID]"],iv=["[SID]"],nv=["[SOUND]"],sv=["[SPACE_ID]","SPACE_ID"],ev=["[timestamp]","[TIMESTAMP]"],rv=["[UNIVERSALADID]"],hv=["${US_PRIVACY}","{US_PRIVACY}","[US_PRIVACY]"],ov=["[USER_AGENT]","[USERAGENT]","USERAGENT"],uv=["[VAST_DURATION]","{vast_duration}"],av=["[VIDEO_COMPANY_ID]"],cv=["[VIDEO_DESCRIPTION]","VIDEO_DESCRIPTION"],fv=["[VIDEO_DETAIL_PAGE]","VIDEO_DETAIL_PAGE"],lv=["[VIDEO_DURATION]","VIDEO_DURATION"],vv=["[VIDEO_FILE_URL]","VIDEO_FILE_URL"],dv=["[video_height]","[VIDEO_HEIGHT]"],pv=["[VIDEO_ID]","VIDEO_ID"],mv=["[VIDEO_KEYWORDS]","VIDEO_KEYWORDS"],bv=["|%|","[VIDEO_PERCENT]"],yv=["[VIDEO_TITLE]","VIDEO_TITLE"],gv=["[VIDEO_TITLE_ENC]"],wv="[VIDEO_URL] VIDEO_URL |URL| [CONTENT_URL] [EMBEDDING_PAGE_URL] EMBEDDING_PAGE_URL [URL] [A_D_PAGEURL]".split(" "),Sv=["[video_width]","[VIDEO_WIDTH]"],Ev=["[P_VW_VIEWABLE]","<a.viewable>"],Ov=["[P_VW_VIEWABLE_OPPORTUNITY]","<a.viewableOpportunity>"],Av=["[VVUID]"],_v=["[ADCOUNT]"],Tv=["[VPAID_ERROR_MESSAGE]","{errmsg}"],Mv=["[SS_REQ]","SS_REQ"],Iv=["[OMIDPARTNER]"],jv="[TRANSACTIONID] [PLACEMENTTYPE] [IFA] [IFATYPE] [SERVERSIDE] [DOMAIN] [APPBUNDLE] [VASTVERSIONS] [EXTENSIONS] [VERIFICATIONVENDORS] [MEDIAMIME] [PLAYERCAPABILITIES] [CLICKTYPE] [PLAYERSTATE] [INVENTORYSTATE] [PLAYERSIZE] [ADPLAYHEAD] [CONTENTID] [CONTENTURI] [PODSEQUENCE] [CLICKPOS] [LIMITADTRACKING] [REGULATIONS] [GDPRCONSENT] [ADCATEGORIES] [SERVERUA] [DEVICEUA] [DEVICEIP]".split(" "),Nv=["[LATLONG]"],Rv=_h.a.R("AbstractAd"),kv=Symbol(),Lv=function(t){function i(){var i=t.call(this)||this;return i.ek=[],i.uk=[],i.Ef=[],i.Vd=[],i.qa=[],i.nb=[],i.me=!1,i.id="",i.state={loaded:!1},i}Rh()(i,t);var n=i.prototype;return n.tm=function(t,i,n){var s=this,e=new Na(Na.Ke,null,null,i);this[kv]=function(){s.dispatchEvent(e),t.qe(e),s[kv]=null},(this.state.loaded||n)&&this[kv]()},n.dispatchEvent=function(i){Rv.debug("dispatchEvent",i);var n=i.Jl();switch(n=i.Wl?n:!Object(Eh.r)(n)&&Gt.call(this,n),i.type){case Na.Ke:this.Bn||(Yt(i,this.uk),this.Bn=!0);break;case Na.nc:Yt(i,this.Ef);break;case Na.va:this[kv]&&this[kv](),Yt(i,this.Vd);break;case Na.Za:n instanceof If&&(Yt(i,n.Fk),n.jb&&n.jb.forEach((function(t){"clickThru"===t.type&&t.url&&i.gd.push(t.url)})));break;case dc.rc:Wt.call(this,n,i.gd,i.Mc,i);break;case Na.LOADED:this[kv]&&this[kv](),this.state.loaded=!0;case"iab_detection_started":case"iab_viewable":case"iab_detection_failed":case"VIDEO_VIEW_3P":case"stopped":case"linearChange":Wt.call(this,n,i.gd,i.type)}return t.prototype.dispatchEvent.call(this,i)},n.mp=function(t,i){this.In||(this.In=!0,i=new Na(Na.va,null,null,{error:i}),this.dispatchEvent(i),t.qe(i))},i}(jh.default),Dv=function(t){function i(){var i=t.call(this)||this;return i.title="",i.description="",i.Do="",i.rt=null,i.Br=Date.now(),i}return Rh()(i,t),i}(Lv),Cv=new(function(t){function i(){return t.call(this,"InLine",[Qc])||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i);return i=Oa.Xh(i),n.title=Oa.ka(i.AdTitle),n.description=Oa.ka(i.Description),n.Do=Oa.ka(i.Advertiser),n.rt=Qc.parse(i.Survey),n.yo=Oa.ka(i.AdServingId),n.dh=Oa.ka(i.Category),n.expires=parseInt(Oa.ka(i.Expires),10),n},n.Lk=function(){return new Dv},i}(rl)),Pv=[Na.Ke,Na.nc,Na.Za,Na.LOADED,dc.rc,"iab_detection_started","iab_viewable","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange"],xv=function(t){function i(){var i=t.call(this)||this;return i.me=!0,i.Dk=null,i}Rh()(i,t);var n=i.prototype;return n.Ko=function(t){var i=this;t.ads.forEach((function(t){return Pv.forEach((function(n){return t.addEventListener(n,qt.bind(i))}))}))},n.hs=function(t,i){t.ads.forEach((function(t){i.nb&&(t.nb=(t.nb||[]).concat(i.nb)),i.jc&&(t.jc=(t.jc||[]).concat(i.jc)),t.qa.forEach((function(t){var n=0<i.qa.length&&i.qa[0]instanceof If;t.cc&&0===t.cc.length&&n&&(t.cc=t.cc.concat(i.qa[0].cc))})),t.dd&&t.me&&(t.dd=i.dd.concat(t.dd).filter((function(t,i,n){return n.indexOf(t)===i})))}))},i}(Lv),Uv=new(function(t){function i(){return t.call(this,"Wrapper",[$c])||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i),s=Oa.Wh(i,"BlockedAdCategories");return n.Dk=$c.parse(Oa.Wh(i,"VASTAdTagURI")),n.dd=s&&(Oa.ka(s).split(",")||[]),n},n.Lk=function(){return new xv},i}(rl)),Vv=new(function(t){function i(){return t.call(this,"Ad",[Cv,Uv])||this}return Rh()(i,t),i.prototype.Y=function(t){var i=null,n=t.firstElementChild,s=this.Vb(n.nodeName);return s&&((i=s.parse(n)).Md=t.getAttribute("adType")||"video",i.id=t.getAttribute("id"),n=t.getAttribute("sequence"),t=t.getAttribute("fallbackSequence"),n&&(i.Pa=+n),t&&(i.Ep=+t)),i},i}(Sa)),Bv=function(t){function i(i,n){return(i=t.call(this,i)||this).version=n,i}return Rh()(i,t),i}(m),Fv=new(function(t){function i(){return t.call(this,"Error")||this}Rh()(i,t);var n=i.prototype;return n.Y=function(i){var n=t.prototype.Y.call(this,i);return n.version=i.getAttribute("version"),n},n.fd=function(){return new Bv},i}(Xc)),zv=function(){function t(){this.ads=[],this.Vd=[]}var i=t.prototype;return i.sl=function(){return 0<this.ads.length?this:this.parent?this.parent.sl():null},i.Fq=function(t){for(var i=[],n=this;;){if(n.Ib&&i.push(n.Ib),n.parent===t||!t)return i;if(!n.parent)return[];n=n.parent}},t}(),Hv=Symbol(),Yv=function(t){function i(i){var n=t.call(this,"VAST",[Vv,Fv])||this;return n[Hv]=i,n}Rh()(i,t);var n=i.prototype;return n.zd=function(){return!0},n.Y=function(t){var i=this,n=new zv,s=Oa.oa(t);if(n.dx=t.getAttribute("adaptvFailover")||!1,t=s.Error){var e=this.Vb("Error");t.forEach((function(t){(t=e.parse(t))&&n.Vd.push(t)}))}if((t=s.Extensions)&&this[Hv]&&t.forEach((function(t){(Oa.oa(t).Extension||[]).forEach((function(t){"one_video_feacons"===(t&&t.getAttribute("type"))&&(t=Oa.oa(t).Feacons,new Lc(t).prepare(i[Hv]))}))})),s=s.Ad){var r=this.Vb("Ad");s.forEach((function(t,i){(t=r.parse(t))&&(t.ub=i+1,n.ads.push(t))}))}return n},i}(Sa),Gv=_h.a.R("VastParser"),Wv=Symbol(),qv=function(){function t(t){this[Wv]=t}return t.prototype.parse=function(t){return new Yv(this[Wv]).parse(function(t){t:{var i=Po()(t);if("string"===i)try{if(void 0!==window.DOMParser){var n=(new window.DOMParser).parseFromString(t,"text/xml");(0<n.getElementsByTagName("parsererror").length||!n.documentElement)&&Xt("Invalid XML");var s=n}else Xt("No XML parser found"),s=void 0;break t}catch(i){Gv.error(i,"Invalid VAST xml",t),Xt("Invalid VAST: ".concat(i.message||i))}else{if("object"===i){s=t;break t}Xt("Cannot parse VAST: non-supported type",i)}s=void 0}return"VAST"!==(t=s.documentElement).nodeName&&Xt("Invalid VAST XML",ha),t}(t))},t}(),Xv=["Bumper","Midroll","Overlay","Preroll"],Qv=["Bumper","Midroll","Preroll"],Zv=Symbol(),Jv=function(){function t(){}var i=t.prototype;return i.parse=function(t,i,n){if(this.bb=i||{},this.gk=t.transactionId,this.yg=t.adxResult,this.jk=t.usid,this.Yj=t.rcid,this.Sn=t.overlayURL,this.io=t.thumbnail,this.Kn=t.fullsizeThumbnail,this.po=t.videoTitle,this.oo=t.videoId,this.no=t.videoDuration,this.xn=t.acid,this.An=t.asid,this.Cn=t.auid,this.$n=t.rid,this.bo=t.parentSlot,this.Uj=t.pblob||"",this.co=t.spaceId||"",t.cpm&&(this.Ta=Number(t.cpm),isNaN(this.Ta)&&(this.Ta=Number(Object(Eh.b)(t.cpm)))),this.Ta=this.Ta||0,(this.Vc=t.impTracker)&&(this.Vc=this.Vc.replace(/\[ECPM]/g,this.Ta||"")),this.Ka=t.urls||[],t.url&&-1===this.Ka.indexOf(t.url)&&this.Ka.unshift(t.url),this.jo=this.Ka.length,this.tt(),this.vg=t.adEngineType||"VAST",this.Kd=t.vastXml)try{"GEMINI"===this.vg?this.Dm(JSON.parse(this.Kd)):this.$c=new qv(n).parse(this.Kd),this.Nj=!!(this.$c&&this.$c.ads&&0<this.$c.ads.length||this.zb&&this.zb.ads&&0<this.zb.ads.length)}catch(t){this.kk=t}if(this.Sg=t.vastAds,this.O=t.config,!this.Re&&!this.Kd&&!this.Sg&&"PREBID"!==this.vg)throw Error("URL, VAST XML or Ads should be specified for each ad config entry");return this.lo=t.vendor&&t.vendor.match(/[0-9a-zA-Z]{24}/g)?t.vendor:"",this.mo=t.vendorName,this.Lg=t.name,this.bf=1e3*t.startTimeout||2147483647,this.Wn=Number(t.priorityBoost)||1,this.Jd=t.type||t.adTypes&&t.adTypes[0]||"All",this.hk=t.types||[],this.Nn=t.houseAd||!1,this.eo=t.strictSiteCheck||!1,this.Vn=void 0===t.pbl||t.pbl,this.Xn=t.profitCenter,i=t.saleforce||{},this.Dn=i.bookingId,this.Qn=i.lineItemId,this.ck=(t.trackers||{}).Impression||[],this.Lj=t.extraProperties||{},this.Vj=t.podId,this.ak=t.slotAdSeq,this.Ej=t.bsfv,this.Qe=Math.random().toString(36).substr(2,9),this},i.Fu=function(t){this.Ka.push(t)},i.Lv=function(){return{adxResult:this.yg,slot:this.bo,txid:this.gk,usid:this.jk}},i.getUrl=function(t){return zc?zc.resolve(this.Re,t):this.Re},i.Qv=function(){return this.jo},i.tt=function(){0<this.Ka.length&&(this.Re=this.Ka.shift())},i.$d=function(){return this.O},i.vl=function(){var t=this,i=0;return this.Ka.forEach((function(n){return i+=t.Rh(n)})),i+=this.Rh(this.Re)},i.Rh=function(t){return-1===qh.a.kd(t||"").indexOf("konduit.me")?this.bb.ac:1e4},i.xv=function(){return 1e4},i.getVendor=function(){return this.lo||""},i.Ll=function(){return this.mo||""},i.Sp=function(){return this.Dn||""},i.zq=function(){return this.Qn||""},i.Nq=function(){return this.Xn||""},i.getAdEngineType=function(){return this.vg||""},i.getType=function(){return this.Jd||""},i.getAcid=function(){return this.xn||""},i.getOverlayURL=function(){return this.Sn||""},i.getThumbnail=function(){return this.io||""},i.getFullsizeThumbnail=function(){return this.Kn||""},i.getVideoTitle=function(){return this.po||""},i.getVideoId=function(){return this.oo||""},i.getVideoDuration=function(){return this.no},i.Ov=function(){return this.ck},i.getAsid=function(){return this.An||""},i.Qp=function(){return this.Cn||""},i.ce=function(){return this.Kd||""},i.Sv=function(){return this.$c},i.yv=function(){return this.zb},i.Dm=function(t){this.zb=t},i.Yv=function(){return this.Nj},i.Tv=function(){return this.kk},i.Rv=function(){return this.Sg},i.getName=function(){return this.Lg||""},i.xr=function(){return this.eo||!1},i.qr=function(){return this.Nn||!1},i.uq=function(){if(this.Vc)return zc?zc.resolve(this.Vc):this.Vc},i.Iv=function(){return this.Ta*this.Wn},i.sv=function(){return this.Ta},i.getRuleId=function(){return this.$n},i.Nv=function(){return this.bf},i.getTransactionId=function(){return this.gk},i.lv=function(){return this.yg},i.getUsid=function(){return this.jk},i.Jv=function(){return this.Yj},i.wv=function(){return this.Lj},i.kw=function(){return Qt(this.Jd)},i.tr=function(){return this.Vn},i.Gv=function(){return this.Vj},i.Mv=function(){return this.ak},i.Jk=function(t){return this.Jd===t||"All"===this.Jd&&Qt(t,!0)||-1!==this.hk.indexOf(t)||-1!==this.hk.indexOf("All")},i.prepare=function(t,i){if(!(-1<Xv.indexOf(i)))throw Error("Bad type value: ".concat(i));var n=this.clone();return n.Jd=i,zc=t,n},i.clone=function(){var i=new t;return Object(Eh.g)(this,i),i},i.Dv=function(){return this.Uj},i.Zb=function(){return this.co},i.Bm=function(t){this[Zv]=t},i.gl=function(){return this[Zv]},i.ov=function(){return this.Ej},i.ev=function(){return this.Qe},t}();s.qg="TOP",s.uj="RIGHT",s.rj="BOTTOM",s.tj="LEFT",s.sj="FULL",s.pg="CUSTOM-CENTER";var Kv=_h.a.R("OverlayAdConfigEntry"),$v=function(t){function i(){var i=t.call(this)||this;return i.hb=null,i}Rh()(i,t);var n=i.prototype;return n.clone=function(){var t=new i;return Object(Eh.g)(this,t),t},n.parse=function(i,n){if(t.prototype.parse.call(this,i,n),i=i.slot||i||{},Kv.debug("parse, slot:",i),this.hb=new s,this.hb.Ok=i.delay||1,this.hb.width=i.width,this.hb.height=i.height,this.hb.top=i.top,this.hb.left=i.left,this.hb.dm=1e3*i.maxShowTime||this.bb.maxLinearShowTime||Number.POSITIVE_INFINITY,this.hb.position=i.position||s.sj,Kv.debug("slotInfo",this.hb),i=this.hb.position,n=-1!==[s.rj,s.sj,s.tj,s.uj,s.qg,s.pg].indexOf(i),Kv.debug("position support:",i,n),!n)throw Error("Bad overlay slot position: ".concat(i));return this},i}(Jv),td=_h.a.R("AdConfigEntryParser"),id=function(){function t(){}return t.parse=function(t,i,n){td.debug("parse",t);var s=t.type||t.adTypes[0];switch(s){case"Overlay":return(new $v).parse(t,i);case"Preroll":case"Midroll":case"Bumper":case"All":case null:return(new Jv).parse(t,i,n);default:throw Error("Bad ad config entry type: ".concat(s))}},t}(),nd=_h.a.R("AdsConfig"),sd=function(){function t(t){this.up=[],t=t.config.vf(),nd.debug("parse",t),this.Ku=t.asids||[],this.Co=null==t.prerollInterleave?1:t.prerollInterleave,this.zc=t.podSize||1,this.pp=t.domainOptimisation,this.wi=t.overlayTiming;var i=t.timeout||{};this.Kf=1e3*(i.maxLinearShow||90),this.xe=1e3*i.soft||400,this.ac=1e3*i.hard||8*this.xe,this.Vi=Math.min(1e3*i.start||6*this.ac,2147483647),this.Gr=Math.min(1e3*i.maxAdSearch||0,2147483647),this.ac<this.xe&&(i=[this.ac,this.xe],this.xe=i[0],this.ac=i[1]),this.volume=t.volume,this.zo=t.adStrategy||"ADSET_BASED",this.gr=t.isBrandedContent,this.Mm=t.skipSettings||{},this.La=t.clickThroughUrl,this.Ks(t.aeg||[])}return t.prototype.Ks=function(){var t=this;(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.up.push(i.map((function(i){return id.parse(i,t)})))}))},t}();sd.U=["config"];var ed=Symbol();_h.a.R("ScriptLoader");var rd=function(t){this[ed]=t.actionTracker};rd.U=["actionTracker"];var hd=Symbol(),od=Symbol(),ud=Symbol(),ad=function(t){function i(i,n){var s=t.call(this)||this;return s[od]=_h.a.R(n||"Pool"),s[ud]=!1,Zt.call(wo()(s),i),s}Rh()(i,t);var n=i.prototype;return n.getEntries=function(){return this[hd]},n.size=function(){return this[hd].length},n.Hf=function(){return 0===this.size()},n.addEventListener=function(n,s){t.prototype.addEventListener.call(this,n,s),n===i.Event.vj&&this.Hf()&&this.Tj(n,[this],s)},n.release=function(t){if(t)if(t.Hd){for(var n=0;n<this[hd].length;n++)if(this[hd][n].Hd===t.Hd)return t=this[hd].splice(n,1),this[od].debug("Released",t,"pool",this[hd]),void(this.Hf()&&this.dispatchEvent(i.Event.vj,this));Jt.call(this,t,"not found")}else Jt.call(this,t,"entry w/o pool key");else Jt.call(this,t,"invalid entry value")},i}(jh.default);ad.Event={vj:"Pool.Released.All"};var cd=Symbol(),fd=Symbol(),ld=Symbol(),vd=Symbol(),dd=Symbol(),pd=Symbol(),md=Symbol(),bd=Symbol(),yd=_h.a.R("EntriesServerResponseParser"),gd=function(){function t(t){this[fd]=t.config,this[cd]=t.adsConfig,this[bd]=t.injector}return t.prototype.parse=function(t,i){var n=this;if(!Object(Eh.x)(t))throw Error("Received bad source ".concat(t));this[ld]=t.apid,this[vd]=t.txid,this[dd]=t.adxResult,this[pd]=t.usid,this[md]=t.auid,i=$t.call(this,t.slots||(t.aeg?[t]:[]),i);var s=t.pods||[];if(s.forEach((function(t){t.slots&&t.slots.forEach((function(i,s){i.adSeq=s+1,i.podId=t.id,i.aeg=Kt.call(n,i),i.hasAds=ti(i)}))})),0===s.length){s=i[0]&&i[0][0]&&i[0][0][0]&&i[0][0][0].getType()||"Preroll";var e={aeg:i[0]||[],type:s};e.hasAds=ti(e),s=[{slots:[e],type:s}]}return{wo:i,se:s,source:t}},t}();gd.U=["config","adsConfig","injector"];var wd=_h.a.R("BaseAdEntriesLoader"),Sd=function(t){function i(i){var n=t.call(this)||this;return n.Ka=i.urls,n.Tn=i.parametersCombine,n}return Rh()(i,t),i.prototype.load=function(t,i){return i=i&&Object(Eh.G)(i)||"",E("".concat(t,"&").concat(i),null,{timeout:5e3,withCredentials:!0}).then((function(t){return t.data})).catch((function(t){wd.error("Failed to load entries",t)}))},i}(jh.default);Sd.U=["parametersCombine","urls"];var Ed=Symbol(),Od=Symbol(),Ad=Symbol(),_d=Symbol(),Td=function(t){function i(){return t.apply(this,arguments)||this}Rh()(i,t);var n=i.prototype;return n.reset=function(){this[Ed]=null,this[Od]=null,this[Ad]=null,this[_d]=null},n.load=function(i,n){if(this[_d]=i,i=this.Tn.Ml(this[_d]),ii(this[_d])){if((n=this[Od][this[_d]]&&this[Od][this[_d]][n]&&this[Od][this[_d]][n].shift()).calculated)return Sh.a.resolve(this.Ci({schema:{pods:[n]}}));i.schemaId=this[Ed],i.podId=n.id}return t.prototype.load.call(this,this.Ka.Lp(),i).then(this.Ci.bind(this))},n.Ci=function(t,i){i&&(this[_d]=i),(i=t.schema||{}).id&&(this[Ed]=i.id),i=i.pods||[],si.call(this,i),ri.call(this,i);var n=ei.call(this,i),s=ni.call(this,i),e=this[Ad];return this[Ad]=null,{defaultSlot:t.slot,podSize:e,pods:i,slots:n,timings:s,version:t.version}},i}(Sd);Td.U=["parametersCombine","urls"];var Md=_h.a.R("AdEntriesManager"),Id=Symbol(),jd=Symbol(),Nd=Symbol(),Rd=Symbol(),kd=Symbol(),Ld=Symbol(),Dd=Symbol(),Cd=1,Pd=function(){function t(t){this[Nd]=t.eventBus,this[jd]=t.config,this[Ld]=t.injector.ya(gd),this[kd]=new Td(t),this.reset()}var i=t.prototype;return i.reset=function(){this[kd].reset(),this[Id]=[],this[Rd]={}},i.release=function(t){for(var i=0;i<this[Id].length;i++){for(var n=this[Id][i],s=0;s<n.length;s++){var e=n[s];if(e.Oc===t.Oc)return e.release(t),void(0===e.size()&&(Md.debug("Remove empty pool",e),n.splice(s,1)))}0===n.length&&(Md.debug("Remove empty ad pools",n),this[Id].splice(i,1))}Md.warn("Unable to release entry because pool doesn't exist",t,this[Id])},i.ms=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;this[Nd].dispatchEvent(new Ko("Reporting.Ad.Request",{type:t})),n?li.call(this,this[kd].Ci(n,t),t):(Md.debug("receive ad entries"),ci.call(this,t,i))},i.cm=function(t){(t=fi(t))&&(this[Rd][t]=t)},i.th=function(t){oi.call(this),ui.call(this);var i=this[Id][0]||[];return this[Dd]=this[Id].length,(i=i.filter((function(i){return i.getEntries().filter((function(i){return i.Jk(t)}))})))[0]&&i[0].getEntries()||[]},i.Js=function(t){hi.call(this,[t])},t}();Pd.U=["eventBus","adsConfig","config","injector"];var xd=Symbol(),Ud=Symbol(),Vd=function(){function t(t,i){Array.isArray(t)||(t=[t]),this[xd]=i,this[Ud]=t.slice(0)}var i=t.prototype;return i.Bl=function(){return this[Ud]},i.apply=function(t){if(!t||!this[Ud].some((function(i){return-1<t.indexOf(i)})))return t;var i=t,n=this[xd];n=null!=(n=Object(Eh.s)(n)?n():n)?n.toString():"";for(var s=0;s<this[Ud].length;s++){var e=this[Ud][s],r=null!=e.match(/^[^\w%\s]/g),h=null!=e.match(/[^\w%\s]$/g);e=e.replace(/([{}\(\)\^$&.\*\?\/\+\|\[\\\\]|\]|\-)/g,"\\$1"),i=i.replace(new RegExp((r?"":"([^\\w%\\s]|^)")+e+(h?"":"([^\\w%\\s]|$)"),"g"),(r?"":"$1")+n+(h?"":"$2"))}return i},i.Sk=function(t){return t.Bl()[0]===this.Bl()[0]},t}(),Bd=function(){function t(t,i){this.Un=t,this.Yn=i}return t.prototype.apply=function(t){return t.replace(this.Un,this.Yn)},t}(),Fd=Symbol(),zd=function(){function t(t){this[Fd]=t||[]}var i=t.prototype;return i.join=function(i){if(!i)return this;var n=new t,s=this;return n.resolve=function(t){return i.resolve(s.resolve(t))},n},i.resolve=function(t){if(!t)return t;for(var i=0;i<this[Fd].length;i++)t=this[Fd][i].apply(t);return t},t}(),Hd=Symbol(),Yd=Symbol(),Gd=Symbol(),Wd=Symbol(),qd=Symbol(),Xd=Symbol(),Qd=function(){function t(t,i){var n=this;this[Hd]=t.environment,this[Yd]=t.config,this[Gd]=t.smartViewability,this[Wd]=t.display,this[Xd]=t.hostWindowParamsObtainer,this.Tf=(i||[]).concat([[dl,function(){var t=n[Yd].tf();return t&&t.utid}],[ml,function(){return n[Yd].Wa("app_id")}],[bl,function(){return n[Hd].ia()&&n[Hd].ia().gl()}],[yl,function(){return n[Yd].le()?1:0}],[gl,function(){return n[Yd].wf()}],[wl,function(){return Object(Eh.o)(n[Yd].Wa("beoncw"),0)}],[Sl,function(){return Object(Eh.o)(n[Yd].Wa("beonvid"),1)}],[El,function(){return n[Yd].yh()}],[_l,function(){return Math.random().toString().slice(2,10)}],[Ml,function(){return yi.call(n).height}],[Il,function(){return yi.call(n).width}],[jl,function(){return N(n[Wd].getCurrentTime(),!0,!0)}],[Rl,function(){return gi.call(n).deRssId}],[kl,function(){return encodeURIComponent(n.Mh())}],[Dl,function(){return n.mq()}],[Cl,function(){return location.host}],[Ul,function(){return Lh.qb()?1:0}],[Gl,function(){return n[Wd].isMuted()?1:0}],[Wl,function(){return""}],[Xl,function(){return n[Yd].Af()}],[Kl,function(){return n[Yd].ae()}],[Jl,function(){var t=yi.call(n);return 0===(t=Math.max(t.width,t.height))?-1:350>t?1:500>t?2:3}],[tv,function(){return gi.call(n).rssVideoId}],[ev,function(){return(new Date).getTime()}],[ov,function(){return encodeURIComponent(wh.a.Vq())}],[av,function(){return gi.call(n).Qu}],[cv,function(){return gi.call(n).description}],[fv,function(){return gi.call(n).detailPage}],[lv,function(){var t=gi.call(n).metadata||{};return t.duration?Math.round(t.duration/1e3):""}],[vv,function(){var t=gi.call(n);return t.videoUrls&&t.videoUrls[0]}],[dv,function(){return yi.call(n).height}],[pv,function(){return gi.call(n).id}],[mv,function(){return gi.call(n).keywords}],[bv,function(){return(n[Hd].Ph()||{}).Xu}],[yv,function(){return gi.call(n).title}],[gv,function(){return encodeURIComponent(gi.call(n).title||"")}],[wv,function(){return n.Mh()}],[Iv,"unknown"],[Sv,function(){return yi.call(n).width}],[fl.concat(Yl),function(){return n[Gd].na()}],[Ev.concat(Ov),function(){return n[Gd].ee()}],[Av,function(){return n[Yd].Gh().vvuid}],[zl,function(){return n[Yd].jd()?n[Yd].jd().latitude:""}],[Hl,function(){return n[Yd].jd()?n[Yd].jd().longitude:""}],[Bl,function(){return n[Yd].jd()?n[Yd].jd().ipAddress:""}],[Ll,function(){return wh.a.sq()}],[iv,function(){return n[Yd].Wa("sid")||n[Yd].Eh()}],[nv,function(){return parseInt(100*n[Hd].getVolume(),10)}],[sv,this[Xd].Zb()],[hv,function(){return n[Yd].Wp()}],[xl,function(){var t=n[Yd].yf();return t&&t.euconsent}],[Vl,function(){var t=n[Yd].yf();return t&&t.gdpr}],[$l,function(){var t=n[Hd].pl();return 0<=t?t+1:""}],[Fl,function(){var t=n[Yd].yf();return t&&t.isOathFirstParty}],[Mv,0]]),this[qd]=this.Tf.map((function(t){return t=ou()(t,2),new Vd(t[0],t[1])}))}var i=t.prototype;return i.Ho=function(t){return t.reduce((function(t,i){i=ou()(i,2);var n=new Vd(i[0],i[1]);return(i=Object(Eh.m)(t,(function(t){return t.Sk(n)})))?t[t.indexOf(i)]=n:t.push(n),t}),po()(this[qd]))},i.resolve=function(t,i){return i=i?this.Ho(i):this[qd],new zd(i).join(di(/(\[MACROS:)(.+?)(\])/g,pi.bind(this)).join(di(/(\|MACROS:)(.+?)(\|)/g,pi.bind(this))).join(di(/(\[ENC_MACROS:)(.+?)(\])/g,mi.bind(this))).join(di(/(\|ENC_MACROS:)(.+?)(\|)/g,mi.bind(this)))).join(di(/(\[META:)(.+?)(\])/g,bi.bind(this)).join(di(/(\|meta:)(.+?)(\|)/g,bi.bind(this)))).resolve(t)},i.mq=function(){var t=location.hostname.split(/\./);switch(t.length){case 2:return t.slice(-2)[0];default:return t.slice(-3)[0]}},i.Mh=function(){return encodeURIComponent(this[Yd].Wa("url")||wh.a.pb(window))},t}();Qd.U=["environment","config","smartViewability","display","hostWindowParamsObtainer"];var Zd=Symbol(),Jd=Symbol(),Kd=Symbol(),$d=Symbol(),tp=Symbol(),ip=Symbol(),np=[1,2,7].toString(),sp=function(t){function i(i){var n=i.geminiMacrosResolver,s=t.call(this,i,[[ll,function(){return s[Zd].Fb()}],[Pl,function(){return s[Zd].ia()&&s[Zd].ia().Ta||""}],[Nl,function(){return s[Jd].hq()}],[Ql,function(){return s[Jd].Kq()}],[ul,function(){return s[Jd].Mp()}],[Zl,function(){return s[Kd].Bf()}],[uv,function(){return s[Zd].Va()}],[hl,function(){return Math.round(s[Zd].getDuration())}],[pl,function(){return np}],[Al,function(){return s.Up()}],[_v,function(){return s[Zd].Hp()}],[al,function(){return s[Zd].Gb()}],[vl,function(){return s[Zd].Cb()}],[rv,function(){return s[Zd].Eb()}],[Ol,function(){return s[tp].Ah().join(",")}],[Tl,function(){return s[Zd].bq()}],[ql,function(){return s.Mh()}],[jv,function(){return-1}],[Nv,function(){return-2}]].concat(n.Tf))||this;return s[Jd]=i.adTimeLogger,s[Kd]=i.config,s[$d]=i.environment,s[tp]=i.blockedCategoriesHandler,s[ip]=n,s}Rh()(i,t);var n=i.prototype;return n.ve=function(t){return this[Zd]=t,this},n.Up=function(){var t=this[Zd].wh();if(this[$d].cr())return"4";switch(t){case"Preroll":case"Bumper":return"1";case"Midroll":return"2";case"Overlay":return"0";default:throw Error("Bad ad type: ".concat(t))}},i}(Qd);sp.U="adTimeLogger adsConfig environment config smartViewability display blockedCategoriesHandler hostWindowParamsObtainer geminiMacrosResolver".split(" ");var ep=Symbol(),rp=function(t){function i(){var i=t.call(this)||this;return i[ep]="Engine.LOADING",i}Rh()(i,t);var n=i.prototype;return n.Go=function(){},n.load=function(){},n.ue=function(){this[ep]="Engine.RUNNING",void 0!==this.ff&&this.setVolume(this.ff)},n.ready=function(){this[ep]="Engine.READY"},n.stop=function(){this[ep]="Engine.STOPPED"},n.complete=function(t){this[ep]=t?"Engine.FAILED":"Engine.COMPLETE"},n.skip=function(){},n.pause=function(){},n.resume=function(){},n.setVolume=function(t){this.ff=t},n.getDuration=function(){return 0},n.getCurrentTime=function(){return 0},n.Va=function(){return 0},n.getAdSkippableState=function(){return!1},n.mw=function(){return"Engine.LOADING"===this[ep]},n.vr=function(){return"Engine.READY"===this[ep]},n.If=function(){return"Engine.RUNNING"===this[ep]},n.hr=function(){return"Engine.COMPLETE"===this[ep]},n.fi=function(){return"Engine.FAILED"===this[ep]},n.Jf=function(){return"Engine.STOPPED"===this[ep]},n.Hc=function(){return!1},n.ia=function(){return null},n.Fb=function(){return null},n.Gb=function(){return null},n.Cb=function(){return null},n.Eb=function(){return null},i}(jh.default),hp=_h.a.R("AdEngineAdapter"),op=Symbol(),up=Symbol(),ap=Symbol(),cp=Symbol(),fp=function(t){function i(i,n,s){var e=t.call(this)||this;return e[op]=i,e[ap]=n,e[cp]=s,e[up]=Jo.a.group(Jo.a.bind(e[op],$o.Lb,e.ready.bind(wo()(e))),Jo.a.bind(e[op],$o.kc,e.complete.bind(wo()(e))),Jo.a.bind(e[op],$o.Ya,e.dispatchEvent.bind(wo()(e)))),e}Rh()(i,t);var n=i.prototype;return n.Go=function(){this[up].link(Jo.a.group(arguments))},n.load=function(){hp.debug("load"),this[op].load()},n.ready=function(i){t.prototype.ready.call(this),hp.debug("onEngineReady",i),i.Tb=this[op].ia(),this.dispatchEvent(i)},n.ue=function(){if(!this.Jf()){t.prototype.ue.call(this);var i=this.ia().getType();hp.debug("run","adType",i),"Overlay"===i?this[op].Wf():this[op].Jm(this[ap].Kf)}},n.stop=function(i){var n=!this.hr()&&!this.fi()&&!this.Jf();hp.debug("stop",n),n&&(this[op].stop(i),t.prototype.stop.call(this))},n.complete=function(i){hp.debug("onEngineComplete",i),i.Tb=this.ia(),i.Bu=this,(this.If()||i.data.error)&&this[cp].release(this.ia()),t.prototype.complete.call(this,i.data.error),this.dispatchEvent(i),this[up].fa()},n.skip=function(){this[op].skip()},n.pause=function(){this[op].pause()},n.resume=function(){this[op].resume()},n.setVolume=function(i){t.prototype.setVolume.call(this,i),this.If()&&this[op].setVolume(i)},n.getDuration=function(){if(this[op].getDuration)return this[op].getDuration()},n.getCurrentTime=function(){if(this[op].getCurrentTime)return this[op].getCurrentTime()},n.Va=function(){if(this[op].Va)return this[op].Va()},n.getAdSkippableState=function(){if(this[op].getAdSkippableState)return this[op].getAdSkippableState()},n.Fb=function(){if(this[op].Fb)return this[op].Fb()},n.Gb=function(){if(this[op].Gb)return this[op].Gb()},n.Cb=function(){if(this[op].Cb)return this[op].Cb()},n.Eb=function(){if(this[op].Eb)return this[op].Eb()},n.Hc=function(){if(this[op].Hc)return this[op].Hc()},n.ia=function(){return this[op].ia()},i}(rp),lp=Symbol(),vp=function(){function t(t){this[lp]=t}var i=t.prototype;return i.lh=function(){},i.getType=function(){return null},i.uf=function(){return this[lp]},t}(),dp=function(t){function i(i,n){return(i=t.call(this,i)||this).Qm=n||0,i}return Rh()(i,t),i}(Uu),pp=function(t){function i(n,s,e,r){return(n=t.call(this,n)||this).severity=void 0===s?i.Pe:s,n.timeout=e,n.Da=r,n}return Rh()(i,t),i}(Uu);pp.Oe=0,pp.Pe=1,pp.mu=2;var mp=_h.a.R("VastRequestLoader"),bp=Symbol(),yp=Symbol(),gp=Symbol(),wp=Symbol(),Sp=function(){function t(t,i,n,s){this[yp]=t,this[gp]=i,this[wp]=n,this[bp]=s}return t.prototype.rs=function(t,i,n,s){i=[[_v,this[bp].Ip()],[al,i],[Ol,this[yp].Ah().join(",")]];var e=t||this[gp]&&this[gp].getUrl(i);e=this[bp].Yb().resolve(e,i),e=qh.a.eh(e),e=Oh.a.Hi(e,"#",encodeURIComponent("#")),wi.call(this,t,e,n,s)},t}(),Ep="VastLoader.Vast.Loading",Op="VastLoader.Vast.Loaded",Ap=_h.a.R("VastLoader"),_p=Symbol(),Tp=Symbol(),Mp=Symbol(),Ip=Symbol(),jp=Symbol(),Np=Symbol(),Rp=Symbol(),kp=Symbol(),Lp=Symbol(),Dp=Symbol(),Cp=Symbol(),Pp=Symbol(),xp=Symbol(),Up=Symbol(),Vp=Symbol(),Bp=Symbol(),Fp=Symbol(),zp=Symbol(),Hp=function(t){function i(i,n,s){var e=t.call(this)||this;return e[jp]=i,e[Mp]=n,e[_p]=s,e[Rp]=0,e[Tp]=new qv(e[jp]),e.X=e[jp].Ga(),e[Ip]=e.X.N("urls"),e[Np]=e.X.N("errorTracker"),e.O=e.X.N("config"),e[zp]=e.X.N("adsConfig"),e[Cp]=e.X.N("blockedCategoriesHandler"),e[Cp].Cm([]),e[Bp]=e.X.N("beaconDataHolder"),e[Fp]=new Sp(e[Cp],e[_p],e[zp],e[jp]),e}Rh()(i,t);var n=i.prototype;return n.Pl=function(){this[Rp]=0},n.ye=function(){var t=this[_p]?this[_p].vl():this[zp].ac;this[Dp]=window.setTimeout(Oi.bind(this,t),t)},n.Zr=function(t,i,n){Ap.debug("parseAndProcess",t);try{var s=this[Tp].parse(t);Ap.debug("vastModel",Object.assign({},s)),s.Ae=n,i&&i(s),this.xd(s,null,0,n)}catch(t){Ap.error("Failed to parse VAST ",t),this.Fc(t.message,null,t.code||ha)}},n.xd=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length?arguments[3]:void 0;Ap.debug("processModel",t),t=ji(t),Ni.call(this,t)&&(i||Mi(t),this[Lp]=t.ads[n],this[jp].dispatchEvent(new Ko(Gp,{ad:this[Lp],rh:this[_p],Vm:s})),this[kp]=t,this[Lp].me?Ri.call(this,n):(n=this[Lp]).dh&&-1!==this[Cp].Ah().indexOf(n.dh)?(Ii.call(this,zu),this.Fc("Inline ad with category ".concat(_p.dh," has been blocked"),null,zu)):(n=t,null!==this[Dp]&&(clearTimeout(this[Dp]),this[Dp]=null,Ai.call(this,n),this.dispatchEvent("AD_LOAD_COMPLETE",n))))},n.gs=function(t,i){this.xd(t,void 0,i)},n.load=function(t){this.Pl(),this.ye(),Ti.call(this,t)},n.kp=function(){--this[Rp]},n.Fc=function(t,i,n){var s=this[kp];this[kp]=null,Ap.debug("failover",t,s),n=n||Qu,this[xp]=n,s&&(s.ads&&0<s.ads.length||s.parent)?("VAST ajax error"===t&&Ii.call(this,n),0===s.ads.length&&s.parent&&(s=ki.call(this,s,n)),0<s.ads.length&&this[Lp]===s.ads[0]&&s.ads.shift(),0<s.ads.length?this.xd(s,!0):_i.call(this,t+(i?" (".concat(i,")"):""),n)):_i.call(this,t+(i?" (".concat(i,")"):""),n)},i}(jh.default),Yp="No ads provided",Gp="VastLoader.Vast.ProcessAd",Wp=Symbol(),qp=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this)[Wp]=s,i}return Rh()(i,t),i.prototype.load=function(){this.Pl(),this.ye();var t=this[Wp].$c;t?this.xd(t):(t=this[Wp].kk,this.Fc(t.message,null,t.code||ha))},i}(Hp),Xp=_h.a.R("VastEventHandler"),Qp=/https?:/,Zp=Symbol(),Jp=Symbol(),Kp=Symbol(),$p=Symbol(),tm=Symbol(),im=[],nm=function(){function t(t){this[Zp]=t,this[Jp]=this[Zp].ob(),t=this[Zp].Ga(),this[$p]=t.N("eventBus"),this[tm]=t.N("externalTracker"),this[Kp]=t.N("config"),this[Jp].gr&&this[$p].addEventListener("Reporting.Ad.Engine.Response",Li.bind(this))}return t.prototype.qe=function(t,i){if(Xp.debug("onVastEvent",t,i),t.type===Na.nc?Object(Eh.d)(Pi.bind(this,t,i)):Pi.call(this,t,i),t.type===Na.Za)try{var n=t.Ub();Xp.info("Open on ad click",n),n&&R(n)}catch(t){Xp.error("onVastEvent",t)}},t}(),sm=function(){function t(t,i){this.Ld=t.slice(),this.Fj=i,this.We=[],xi.call(this)}var i=t.prototype;return i.reset=function(){for(var t=0;t<this.We.length;t++)this.We[t].fa();this.We=[]},i.release=function(t){-1!==(t=this.Ld.indexOf(t))&&(this.Ld.splice(t,1),xi.call(this))},i.It=function(){for(var t=0;t<this.Ld.length;t++){var i=this.Ld[t];i=Jo.a.bind(i,"VASTAdEngineComplete",this.release.bind(this,i)),this.We.push(i)}},t}(),em=function(t){function i(n){var s=t.call(this,i.zj)||this;return s.vm=n,s}return Rh()(i,t),i.prototype.clone=function(){return new i(this.vm)},i}(Ko);em.zj="AdRemainingTimeUpdateEvent";var rm=Symbol(),hm=Symbol(),om=Symbol(),um=function(){function t(t){this.Z=t,this[rm]=[]}var i=t.prototype;return i.ic=function(){},i.Zh=function(){},i.createElement=function(){},i.load=function(){this.element=this.createElement()},i.ui=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=this.L.ra;t.duration=i.duration,t.skippable=i.Kc||!1,t.skipOffsetTime=i.Yf||null,t.skipOffsetPercent=i.Xf||null,(i=this.L.ad?this.L.ad.Pa:null)&&(t.sequence=i),this.Yk(t),this.L.dispatchEvent(new Ko("VASTAdStarted",t))},i.si=function(){this.L.dispatchEvent(new Ko("VastMediaElementReady"))},i.Yk=function(t){this[hm]||(this.L.dispatchEvent(new Ko("VASTAdStarting",t)),this[hm]=!0)},i.pe=function(){this.Fd||(this.Fd=!0,this.L.Yh(),this.L.Dc(Na.nc),this.L.dispatchEvent(new Ko($o.He,{ra:this.L.ra,rb:this.L.ad&&this.L.ad.rb||""})),this.track(Ya))},i.Xi=function(t){.25<t&&this.Ia(qa),.5<t&&this.Ia(Za),.75<t&&this.Ia(hc)},i.stop=function(){this.L.complete(!0)},i.Lc=function(){this.stop()},i.skip=function(){this.L.stop()},i.track=function(t,i){this.L.oh(t,i)},i.Ia=function(t){t===Ha&&!this[om]||-1!==this[rm].indexOf(t)||(this[rm].push(t),this.track(t,void 0))},i.resize=function(){},i.invokeAdMethod=function(){},i.setVolume=function(){},i.resume=function(){},i.pause=function(){},i.getCurrentTime=function(){var t=this.Xb(),i=this.getDuration();return 0<i&&0<t?i-t:0},i.Xb=function(){return-1},i.getDuration=function(){return-1},i.Fi=function(){this[om]=!0},i.ii=function(){return this[om]},t}(),am=_h.a.R("SimpleVideoMediaElement"),cm={Le:"created",PAUSED:"paused",PLAYING:"playing",xb:"stopped"},fm=Symbol(),lm=Symbol(),vm=Symbol(),dm=Symbol(),pm=Symbol(),mm=Symbol(),bm=Symbol(),ym=Symbol(),gm=function(t){function i(i,n,s,e){return i=t.call(this,i)||this,am.debug("init",n),i[mm]=cm.Le,i[pm]=n.url,i[dm]=s,i[bm]=(new Date).getTime(),i[ym]=e.N("beaconDataHolder"),i}Rh()(i,t);var n=i.prototype;return n.load=function(){t.prototype.load.call(this),this.L.Td()},n.Zh=function(){am.debug("initElement");try{this.ur()?this.Z.bt(this[pm]):this.Z.Vs(this[pm]),this[mm]!==cm.xb&&(this[lm]=!0,this[fm]=Jo.a.group(Jo.a.bind(this.Z,"VideoClickEvent",Ui.bind(this)),Jo.a.bind(this.Z,"VideoErrorEvent",Vi.bind(this)),Jo.a.bind(this.Z,"VideoPlayEvent",Wi.bind(this)),Jo.a.bind(this.Z,"VideoStartEvent",qi.bind(this)),Jo.a.bind(this.Z,"VideoResumeEvent",Hi.bind(this)),Jo.a.bind(this.Z,"VideoPauseEvent",Bi.bind(this)),Jo.a.bind(this.Z,"VideoEndEvent",Gi.bind(this)),Jo.a.bind(this.Z,"VideoVolumeChangedEvent",Fi.bind(this)),Jo.a.bind(this.Z,"VideoTimeUpdateEvent",Xi.bind(this)),Jo.a.bind(this.Z,"VideoWaiting",zi.bind(this)),Jo.a.bind(this.Z,"VideoFallbackEvent",Yi.bind(this)),Jo.a.bind(this[dm],"click",Ui.bind(this))),this.L.ra.La&&((this.Z.rl().style||{}).cursor="pointer"),this.si())}catch(t){am.error("Failed to set video: ".concat(t.message)),this.Lc(t.message)}},n.ur=function(){var t=this.L.ia();return t&&"Preroll"===t.getType()},n.ic=function(){this[mm]!==cm.xb&&this.Z.play()},n.stop=function(){if(am.debug("stop"),this[mm]=cm.xb,this[lm]){this[fm].fa(),this.Z.stop(),this.Z.Ji();var i=this.Z.rl().style;i&&(i.cursor="")}t.prototype.stop.call(this)},n.pause=function(){this[mm]===cm.PLAYING&&this.Z.pause()},n.resume=function(){this[mm]===cm.PAUSED&&this.Z.play()},n.Xb=function(){return this.Z.Xb()},n.Lc=function(t,i){am.debug("stopByError",t),this[mm]=cm.xb;var n=qu,s="video playback error";switch(i){case 2:n=Wu;break;case 3:case 4:n=Zu;break;case 5:n=Zu,s="autoplay issue"}this.error=n,this.L.dispatchEvent(new Ko("VASTAdError"),t),this.Fd||this.L.Dc(Na.va,{Bb:s,error:n}),this.stop()},n.setVolume=function(t){this.Z.setVolume(t),this.Z.mute(0===t)},n.getDuration=function(){return this.Z.getDuration()},i}(um),wm=n(101),Sm=n.n(wm),Em=Symbol(),Om=Symbol(),Am=Symbol(),_m=Symbol(),Tm=Symbol(),Mm=Symbol(),Im=Symbol(),jm=Symbol(),Nm=Symbol(),Rm=Symbol(),km=Symbol(),Lm=Symbol(),Dm=Symbol(),Cm=Symbol(),Pm=Symbol(),xm=Symbol(),Um=Symbol(),Vm=function(){function t(t){var i=this,n=t.adsConfig.Mm||{};this[Dm]=!Object(Eh.r)(n),this[Om]=t.adSystem,this[_m]=t.dom,this[Am]=t.adContainerProvider.ld(),this[Um]=t.videoTagProvider,this[Cm]=n.skippableText||"Skip ad %t",this[Pm]=n.timerText||"Skip ad in %ds",this[Im]=n.showTimer||!1,this[km]=n.skipInSeconds||5,this[Tm]=n.maxLinearShowTime||90,this[Em]=!1,this[xm]=Jo.a.group(Jo.a.bind(this[Om],$o.Ya,Qi.bind(this)),Jo.a.bind(this[Om],$o.Je,(function(t){t.data.Kc&&!i[jm]&&(i[Lm]=0,nn.call(i),Object(Eh.E)(i[jm],"collapse-skip-button","expand-skip-button"))})))}return t.prototype.destroy=function(){this[xm].fa(),Object(Eh.D)(this[jm])},t}();Vm.U="adSystem adsConfig display dom adContainerProvider videoTagProvider".split(" ");var Bm=_h.a.R("AdView"),Fm=Symbol(),zm=function(t){function i(i,n,s,e,r,h){Bm.debug("create",{ad:n,creative:s,mediaContent:e});var o=t.call(this)||this;return o.Id=i,o.ad=n,o.ra=s,o.ha=e,o.Xj=!0,o.$a=r,o.X=r.Ga(),o.Dd=o.X.N("adContainerProvider"),o.ca=o.Dd.ld(),o.Jj=o.X.N("errorTracker"),o.O=o.X.N("config"),o.Cj=h.ia(),o.zn=h,o.ie=Object(Eh.h)("div",{class:"ad-icons-layer",style:"position: relative"}),o.type="AdView",o}Rh()(i,t);var n=i.prototype;return n.ke=function(t){var i=this;(this.V=this.Rf())?(this.$a.addEventListener("AdSystem.Resize",this.V.resize.bind(this.V)),this.$a.addEventListener("AdSystem.InvokeAdMethod",(function(t){i.V.invokeAdMethod(t.name,t.data)})),this.V.L=this,this.setVolume(t),this.V.load()):this.complete(!0)},n.noResize=function(){this.Xj=!1},n.Td=function(){this.resize(),this.V.element&&this.ca.appendChild(this.V.element),this.ca.appendChild(this.ie),this.V.Zh()},n.ic=function(){this.V&&this.V.ic()},n.resize=function(){if(this.Xj&&this.V.element){var t=this.V.element.style;t.position="absolute";var i=this.bh(this.ca.offsetWidth,this.ca.offsetHeight,this.getAdWidth(),this.getAdHeight(),this.vh(),this.uh());t.top="".concat(i.y,"px"),t.left="".concat(i.x,"px"),t.width=this.dc()?"100%":"".concat(i.width,"px"),t.height=this.dc()?"100%":"".concat(i.height,"px")}},n.stop=function(t){Bm.debug("stop",this.V),this.V?t?this.V.Lc("Stopping ad initiation: start timeout reached"):this.V.stop():this.complete(!0)},n.skip=function(){Bm.debug("skip",this.V),this.V?this.V.skip():this.complete(!0)},n.complete=function(t,i){Bm.debug("complete"),this.V&&Object(Eh.D)(this.V.element),Object(Eh.D)(this.ie),this.V&&this.V.error?this.dispatchEvent(new Ko("VASTAdError")):t?this.dispatchEvent(new Ko("VASTAdFinishedForce")):this.dispatchEvent(new Ko("VASTAdFinished")),this.nh(t,i)},n.nh=function(t,i){var n=new Ko("VASTAdEngineComplete");i&&(n.data=i.data,n.currentTime=i.currentTime),n.force=t,this.dispatchEvent(n)},n.Dc=function(t,i){if(Bm.debug("dispatchVastEvent",t,i),t===Na.va){if(this.Jn)return;this.Jn=!0,this.zn.Be("loaded",i.error,i.Bb)}this.ad.dispatchEvent(new Na(t,this.ra,null,i))},n.oh=function(t,i){Bm.debug("dispatchVastTrackerEvent",t,i),this.ad.dispatchEvent(new dc(t,this.ra,i))},n.nf=function(t,i,n){var s;Bm.debug("dispatchClickThrough",t),this[Fm]=!n,n||(s=this.Ub())&&!i||!t||"string"!=typeof t||(s=t),this.ad.dispatchEvent(new Na(Na.Za,this.ra,s))},n.setVolume=function(t){void 0!==t&&(this.ff=t),this.V&&this.V.setVolume(this.ff)},n.pause=function(){this.V&&this.V.pause()},n.Yh=function(){this.dispatchEvent(new Ko("VASTAdImpression"))},n.im=function(){this.zi(),this.lm(),this.dispatchEvent(new Ko("VASTAdPaused",void 0))},n.Of=function(t){this.dispatchEvent(new Ko("VASTAdVolumeChanged",t))},n.Nf=function(t){t.Ik=this.ad.Ik,this.dispatchEvent(new Ko("VASTAdTimeUpdate",t)),this.oh(ic,t)},n.Vr=function(){this.dispatchEvent(new Ko("VASTAdWaiting"))},n.lm=function(){this.Id&&this.Id.pause()},n.resume=function(){this.V&&this.V.resume()},n.km=function(){this.Mi(),this.xm(),this.dispatchEvent(new Ko("VASTAdResumed"))},n.xm=function(){this.Id&&this.Id.resume()},n.fl=function(){if(this.V){var t=this.V.error;return t&&"object"===Po()(t)&&(t.rb=this.ad.rb||"",t.ra=this.ra),t}return null},n.bh=function(t,i,n,s,e,r){void 0===e&&(e=!0),void 0===r&&(r=!0);var h=t,o=i;return e?r&&(h/o<n/s?o=s*h/n:h=n*o/s):(h=n,o=s),{height:o,width:h,x:(t-h)/2,y:(i-o)/2}},n.getAdWidth=function(){return-1},n.getAdHeight=function(){return-1},n.vh=function(){return!0},n.uh=function(){return!0},n.ne=function(){this.ad.dispatchEvent(new Na("linearChange",this.ra))},n.Rf=function(){},n.ia=function(){return this.Cj},n.Ub=function(){},n.zi=function(){},n.Mi=function(){},n.Av=function(){return this.ha},n.Jq=function(){return this[Fm]},n.dc=function(t){return(t=t||this.ha)&&t.xa&&"vpaid"===t.xa.toLowerCase()},i}(jh.default),Hm=n(102),Ym=n.n(Hm),Gm=n(103),Wm=n.n(Gm),qm=Symbol(),Xm=Symbol(),Qm=Symbol(),Zm=function(t){function i(i,n){var s=t.call(this)||this;return s[Qm]=i,s[Xm]=Object(Eh.h)("div",{id:"oath-volume-button-container",style:{bottom:"20px",cursor:"pointer",height:"26px",position:"absolute",right:"20px",width:"26px",zIndex:10}},n),s[qm]=Object(Eh.h)("div",{id:"oath-volume-button-icon",style:{backgroundColor:"rgba(34, 34, 34, 0.85)",borderRadius:"20%",display:"block",height:"100%",position:"absolute",width:"100%"}},s[Xm]),rn.call(wo()(s)),s[Xm].addEventListener("click",en.bind(wo()(s))),s}Rh()(i,t);var n=i.prototype;return n.Ur=function(t){this[Qm]=t,rn.call(this)},n.destroy=function(){Object(Eh.D)(this[Xm])},i}(jh.default);Zm.Za="MuteButton.Click";var Jm=n(9),Km=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i}(Ko);Km.Aj="UNIQUE_ERROR";var $m=n(28),tb=_h.a.R("VPAIDMediaElement"),ib={W:203,code:901,description:"General VPAID error.",ga:9416},nb=["There was an error in the google ad. AdError 1009: The VAST response document is empty."],sb=[Jm.p,Jm.q,Jm.o,Jm.h,Jm.e,Jm.x,Jm.v,Jm.w,Jm.y,Jm.u],eb=Symbol(),rb=Symbol(),hb=Symbol(),ob=Symbol(),ub=Symbol(),ab=Symbol(),cb=Symbol(),fb=Symbol(),lb=Symbol(),vb=Symbol(),db=Symbol(),pb=Symbol(),mb=Symbol(),bb=Symbol(),yb=Symbol(),gb=Symbol(),wb=Symbol(),Sb=Symbol(),Eb=Symbol(),Ob=Symbol(),Ab=Symbol(),_b=Symbol(),Tb=Symbol(),Mb=Symbol(),Ib=Symbol(),jb=Symbol(),Nb=Symbol(),Rb=Symbol(),kb=Symbol(),Lb=Symbol(),Db=Symbol(),Cb=Symbol(),Pb=Symbol(),xb=function(t){function i(i,n,s){var e=3<arguments.length&&void 0!==arguments[3]&&arguments[3];tb.debug("init");var r=t.call(this,s.N("display"))||this;return r[ab]={},r[wb]=!0,r[vb]=i,r[eb]=n,r[lb]=s,r[cb]=[],r[gb]=Jo.a.empty(),r[db]=r[lb].N("adContainerProvider").ld(),r[ob]=r[lb].N("config"),r[hb]=r[lb].N("adSystem"),r[rb]=r[lb].N("adsConfig"),r[bb]=0,r.cb=r[vb].url||r[vb].value,r[jb]=Hn.bind(wo()(r)),r[Lb]=e,r[Cb]=r[lb].N("beaconDataHolder"),r}Rh()(i,t);var n=i.prototype;return n.Mf=function(t){return this[kb]=t,this},n.load=function(){t.prototype.load.call(this),this.L.noResize(),this.L.Td(),cn.call(this,!(this.gi()||"Overlay"===this[eb]))},n.createElement=function(){return Object(Eh.h)("div",{style:"position: absolute; width: 100%; height: 100%; z-index: 6; text-align: left; top:0px;"})},n.Zh=function(){var t=this;if(tb.debug("initElement"),cn.call(this,!(this.gi()||"Overlay"===this[eb])),this[Sb]=(new Date).getTime(),this[ob].er()||this[ob].wr()){tb.debug("Use secure vpaid runner");var i=this[lb].resolve("secureRunner")}else tb.debug("Use insecure vpaid runner"),i=this[lb].resolve("insecureRunner");i.then((function(i){t[yb]=i,t.L.dispatchEvent(new Ko($o.tg)),t[yb].Yg(t.element,t.cb,t[eb],t.Z,t[ob]).then(vn.bind(t),zn.bind(t))}))},n.$q=function(t){fn.call(this,"handshakeVersion","2.0"),on.call(this);var i=t.width;t=t.height,this[Eb]=(new Date).getTime(),this[mb]="normal";var n=this.L.dl(),s=this.L.hl();s={AdParameters:s&&s.value},tb.debug("initAd",i,t,this[mb],n,s),fn.call(this,"initAd",i,t,this[mb],n,s),fn.call(this,"subscribe",an.bind(this),"mousemove"),fn.call(this,"subscribe",an.bind(this),"mouseover"),L()&&to.addEventListener(no.fullscreenchange,this[jb])},n.gi=function(){return"Midroll"===this[eb]},n.ic=function(){this[hb].ia().Bm(this.cb),this.mb||(this[Ob]=(new Date).getTime(),tb.debug("startAd"),fn.call(this,"startAd"))},n.resize=function(){t.prototype.resize.call(this),this[mb]=L()&&D()?"fullscreen":"normal";var i=this.Z.Uh(),n=this.Z.Dh();tb.debug("resize ad",{height:n,viewMode:this[mb],width:i}),fn.call(this,"resizeAd",i,n,this[mb])},n.Lc=function(t){tb.debug("stopByError",t),this.error=pn.call(this,"Stopping ad initiation: start timeout reached"===t),this.L.dispatchEvent(new Ko("VASTAdError"),t),this.L.Dc(Na.va,{Bb:t,error:this.error}),this.stop(this.error)},n.getAdSkippableState=function(){return-1===this.cb.indexOf("//imasdk.googleapis.com")&&fn.call(this,"getAdSkippableState")},n.getDuration=function(){if(!this.Ja)return 0;var t=fn.call(this,"getAdDuration");return(!t||0>=t)&&0<this[fb]&&(t=this[fb]),this[Db]=t},n.stop=function(t){tb.debug("stopAd"),this.mb||(this.mb=!0,this.Ja?(this[gb]&&(this[gb].fa(),un.call(this,Jm.q,Un)),-1!==this.cb.indexOf("vista.js")&&t?fn.call(this,"stopAd",{details:t.description,errorCode:t.code,internalErrorCode:t.W}):fn.call(this,"stopAd"),this[pb]=setTimeout(Un.bind(this),400)):Un.call(this))},n.$k=function(){tb.debug("forceStop"),this.dispose(),this[pb]&&clearTimeout(this[pb]),this.L.complete(!0)},n.dispose=function(){tb.debug("dispose"),this[gb]&&(this[gb].fa(),this[gb]=null),this.Ja&&(this.Ja.Bc&&this.Ja.Bc(),this.Ja=null),L()&&to.removeEventListener(no.fullscreenchange,this[jb])},n.skip=function(){fn.call(this,"skipAd")},n.setVolume=function(t){this[bb]=t,fn.call(this,"setAdVolume",t)},n.getVolume=function(){return fn.call(this,"getAdVolume")},n.pause=function(){fn.call(this,"pauseAd"),this[Nb]=!0},n.resume=function(){fn.call(this,"resumeAd")},n.expandAd=function(){fn.call(this,"expandAd")},n.collapseAd=function(){fn.call(this,"collapseAd")},n.invokeAdMethod=function(t,i){fn.call(this,"invokeAdMethod",t,i)},n.getAdRemainingTime=function(){return fn.call(this,"getAdRemainingTime")},n.Xb=function(){if(!this.Ja)return 0;var t=this.getAdRemainingTime();return t>this[fb]&&(this[fb]=t),t},n.pe=function(){t.prototype.pe.call(this),this[wb]=fn.call(this,"getAdLinear"),this[yb]&&this[yb].show()},i}(um),Ub=_h.a.R("LinearView"),Vb=["o2unit"],Bb=Symbol(),Fb=function(t){function i(i,n,s,e,r){if((i=t.call(this,i,n,s,null,e,r)||this).Kg=[],i.Ue=null,i.xg=i.Cj.getType(),i.O=i.X.N("config"),i.Z=i.X.N("display"),i.O.Ft({vt:new Mo.a}),!i.dc()&&"string"==typeof(s=(s=(n=wo()(i)).ra||{}).parameters&&s.parameters.value)){try{n.wg=JSON.parse(s)}catch(t){Ub.debug("error parsing adParameters string",t)}if((s=Object(Eh.j)(s.trim().replace(/\+/g,"%20"))).cd){try{var h=JSON.parse(s.cd)}catch(t){}(h=h||{}).startMuted&&(n.$a.isMuted()||n.$a.mute(!0)),h.muteButtonEnabled&&setTimeout(Yn.bind(n),100)}}return-1===Vb.indexOf(i.O.ae())&&(i[Bb]=i.X.ya(Vm)),i}Rh()(i,t);var n=i.prototype;return n.Of=function(i){t.prototype.Of.call(this,i),this.vc&&this.vc.Ur(i.muted)},n.Ht=function(t){this.ha=this.Kg.filter((function(i){return i.url===t}))[0]},n.Xt=function(t){return this.Ue=t,this},n.$m=function(t){return this.ha=(this.Kg=t)&&t[0],this},n.ke=function(i){t.prototype.ke.call(this,i)},n.Rf=function(){if(!this.En&&this.Ue&&this.dc(this.Ue)){var t=this.Ue;this.zg="vpaid";var i=new xb(t,this.xg,this.X,!0).Mf(Wn.bind(this))}else t=this.ha,this.dc()?(this.zg="vpaid",i=new xb(t,this.xg,this.X)):i=new gm(this.Z,this.Kg[0],this.ca,this.X);return this.En=t,i},n.complete=function(i,n){this.vc&&this.vc.destroy(),this[Bb]&&this[Bb].destroy(),this.zi(),t.prototype.complete.call(this,i,n)},n.nh=function(i,n){this.Oj?(this.Oj=!1,this.ke()):t.prototype.nh.call(this,i,n)},n.ne=function(i){t.prototype.ne.call(this,i);var n=new $o($o.Ie,this.xg,{isLinear:i});Ub.debug("linear state changed to",i,"dispatch event",n),this.dispatchEvent(n)},n.hl=function(){return this.ra.parameters},n.dl=function(){return this.ha.Rb},n.uh=function(){return this.ha.oe},n.vh=function(){return this.ha.yd},n.getAdHeight=function(){return this.ha.height},n.getAdWidth=function(){return this.ha.width},n.Ub=function(){var t=this.wg&&this.wg.clickThroughUrl?this.wg.clickThroughUrl:this.$a.$p();return t||(t=(t=this.ra.La)?t.url:null),t},n.getDuration=function(){if(this.V)return this.V.getDuration()},n.getCurrentTime=function(){if(this.V)return this.V.getCurrentTime()},n.getAdSkippableState=function(){if(this.V&&this.V.getAdSkippableState)return this.V.getAdSkippableState()},n.mv=function(){return this.zg},n.gv=function(){return this.ad.id},n.stop=function(i){this.vc&&this.vc.destroy(),t.prototype.stop.call(this,i)},n.skip=function(){this.getAdSkippableState()?t.prototype.skip.call(this):t.prototype.stop.call(this)},n.$f=function(){this.$e||(0<this.V.Xb()?this.$e=setInterval(Gn.bind(this),1e3):(clearTimeout(this.Qg),this.Qg=setTimeout(this.$f.bind(this),200)))},n.zi=function(){clearInterval(this.$e),clearTimeout(this.Qg),this.Qg=this.$e=null},n.Mi=function(){this.$f()},i}(zm),zb=_h.a.R("AdEngineBase"),Hb=Symbol(),Yb=Symbol(),Gb=Symbol(),Wb=Symbol(),qb=Symbol(),Xb=Symbol(),Qb=Symbol(),Zb=Symbol(),Jb=Symbol(),Kb=Symbol(),$b=Symbol(),ty=Symbol(),iy=!1,ny=function(t){function i(i,n,s){var e=t.call(this)||this;return zb.debug("init"),e.M=i,e.P=n,e.wa=s,e.uc=!1,e[Kb]=!1,e[Hb]=!1,e[Gb]=[],e.X=e.M.Ga(),e[Wb]=e.X.N("externalTracker"),e[$b]=e.X.N("actionTracker"),e.Z=e.X.N("display"),e.O=e.X.N("config"),e.bb=e.X.N("adsConfig"),e.Dd=e.X.N("adContainerProvider"),e.ca=e.Dd.ld(),e.Ag=e.X.N("beaconDataHolder"),e.wa&&(e.wa.addEventListener("AD_LOAD_COMPLETE",e.fc.bind(wo()(e))),e.wa.addEventListener("AD_LOAD_INTERRUPTED",e.ud.bind(wo()(e)))),e}Rh()(i,t);var n=i.prototype;return n.ia=function(){return this.P},n.fv=function(){return this.ca||null},n.wq=function(){return this.Sa||null},n.Jc=function(t){t&&!t.Da&&this.Sa&&this.Sa.Da&&(t.Da=this.Sa.Da),(this.Sa=t)&&t.message&&(this.Eg=this.Eg?this.Eg+", ".concat(t.message):t.message)},n.Wf=function(){zb.debug("showOverlay"),this[Xb]=(new Date).getTime(),this.pa("loaded")},n.hc=function(t,i){var n=this;this[Jb]=t||this[Jb]||0,zb.debug("startAdTimers","maxTime",t),t=this.P.bf,i=i||Math.min(t,this.bb.Vi),i=Math.floor(i),this.Cc(),0<i&&this.O.re()&&(this[qb]=setTimeout((function(){n.M.dispatchEvent(new Ko($o.kj,n.P.getType())),n.Wd(!0)}),i)),this[Xb]=(new Date).getTime(),0<this[Jb]&&(this.ta=new ro,this.ta.Uf((function(){n.Te=!0,n.stop()}),this[Jb],!1))},n.load=function(){zb.debug("load");t:{if(this.P.xr()){var t=qh.a.kd(this.O.Wa("url")),i=qh.a.kd(wh.a.pb(window));if(t&&i&&t!==i&&"undefined"!==t){iy||(this.pa("site-mismatch"),this.Jc(new pp("Site check is not passed, required ".concat(t,", but found ").concat(i))),iy=!0),t=!1;break t}}t=!0}this[Hb]=t,this[Yb]=(new Date).getTime(),this[Hb]?(this.track("Reporting.Ad.Engine.Request",{Rd:this.ca.offsetHeight,ph:this.ca.offsetWidth}),this.Sa=null,this.wa&&this.wa.load&&this.wa.load()):(this.uc=!1,this.dispatchEvent(new $o($o.Lb,this.P.getType(),{ad:this.P})))},n.fc=function(t,i){zb.debug("onLoaded",t),Qn.call(this),this.ready(!0,t,i)},n.ud=function(t){zb.debug("onInterrupted",t),Qn.call(this),this.Jc(t)},n.stop=function(){zb.debug("stop"),this.mb||(this.Yc=!1,this.mb=!0,this.ta&&this.ta.stop(),qn.call(this))},n.skip=function(){zb.debug("skip"),this.stop()},n.complete=function(){zb.debug("complete"),this.Cc(),this.Yc=!1,this.mb||!this[Hb]||this.uc||this.Sm(!1,this.Sa&&this.Sa.timeout),this.mb||(this.mb=!0,qn.call(this))},n.ready=function(t,i,n){zb.debug("ready"),this.uc=!0,this.Sm(t),this.Pg({ad:this.P,adModel:i,params:n})},n.Pg=function(t){this.dispatchEvent(new $o($o.Lb,this.P.getType(),t))},n.Ug=function(t){zb.debug("adLoaded"),this.Ma($o.fg,t),this.At()},n.At=function(){this.pa("loaded")},n.Yh=function(){var t=this.P.uq();t&&(t=this.M.Yb().resolve(t),this[Wb].Sb(t))},n.pk=function(t,i){zb.debug("adStarting"),this.Cc(),i&&i instanceof Fb&&(t.mimeType=(i.ha||{}).mimeType),this.Ma($o.hg,t)},n.Wg=function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};zb.debug("adStarted",i),this.Cc(),this[Kb]=!1,this.sc=t,this.ta&&this.ta.start(),this.M.rf&&(this.M.rf=!1,this.pa("boost"));var n=i.data||{};t&&t instanceof Fb&&(n.apiType=t.zg,n.adId=t.ad.id,n.adIconsContainer=t.ie,n.mimeType=(t.ha||{}).mimeType),n.parameters||(n.parameters={}),n.parameters.minibar=!!this.P.Lj.minibar,n.latency=(new Date).getTime()-this[Xb],this.Yc=!0,this.Ma($o.Ya,n),this.pa("started",i.data),this[ty]&&(this.pause(),this[ty]=!1)},n.mk=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};zb.debug("adPaused"),this[Kb]=!0,this.ta&&this.ta.pause(),this.Ma($o.gg,t.data)},n.Ao=function(){this.Ma($o.jg,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data)},n.qk=function(t){var i=(t=t.data).data||t,n=i.currentTime;0<(i=Math.min(i.duration,this[Jb]))?(t.timeRemaining=i-n,t.progressPercent=n/i*100):(t.progressPercent=0,t.timeRemaining=0),this.Ma($o.Nc,t)},n.Bo=function(){this.Ma($o.lj)},n.pause=function(){this.Yc||(this[ty]=!0)},n.nk=function(){zb.debug("adResumed"),this[Kb]=!1,this.ta&&this.ta.resume(),this.Ma($o.ij)},n.resume=function(){this[ty]=!1},n.Hc=function(){return this[Kb]},n.lk=function(t){this.Ma($o.dj,{clickThroughUrl:t,playerHandle:this.sc.Jq()}),this.track("Reporting.Basic.Click",{La:t,Gk:"ad"})},n.gf=function(t,i){zb.debug("adFinished",{currentTime:t,data:i}),this.Cc(),this.Te||this.Pn?this.pa("killed",i):this.Yc&&(this.$j?this.pa("skipped",i):this.pa("finished",i)),this.Ma($o.lc,{currentTime:t})},n.Wd=function(){zb.debug("failOver"),this.M.rf=!0,this.pa("failover")},n.Zu=function(t){zb.debug("earlyStop",t),this.Jc(new pp(t)),this.pa("early-stop")},n.track=function(t,i){zb.debug("track","eventType",t,"params",i),i=Object(Eh.g)(i),i=Object(Eh.k)(i,{acid:this.P.getAcid(),asid:this.P.getAsid(),auid:this.P.Qp(),bookingId:this.P.Sp(),bsfv:this.P.Ej,costPerImpression:this.P.Ta,fullsizeThumbnail:this.P.getFullsizeThumbnail(),isHouseAd:this.P.qr(),isPayable:this.P.tr(),lineItemId:this.P.zq(),name:this.P.getName(),overlayURL:this.P.getOverlayURL(),podId:this.P.Vj,profitCenter:this.P.Nq(),ruleCompanyId:this.P.Yj,ruleId:this.P.getRuleId(),slotAdSeq:this.P.ak,thirdPartyImpressionTrackers:this.P.ck,thumbnail:this.P.getThumbnail(),transactionId:this.P.getTransactionId(),type:this.P.getType(),url:i.url||this.P.getUrl(),usid:this.P.getUsid(),vastXml:this.P.ce(),vendor:this.P.getVendor(),videoDuration:this.P.getVideoDuration(),videoTitle:this.P.getVideoTitle()}),this.M.dispatchEvent(new Ko(t,i))},n.zt=function(t){this[$b].action("AdInteraction",null,null,null,null,{c1:"string"==typeof t.data?t.data:""}),this.ta&&this.ta.stop()},n.pa=function(t,i){function n(t){return e?t+e:t}zb.debug("trackFlow","adStage",t,"params",i);var s=null,e=this.M.Op();i&&(e=i.Pa||e,s=i.Gu||null);var r=this.sc&&this.sc.ad?this.sc.ad:this.ad;if(r&&(s=s||r.id||null),r=n(t),"killed"===t&&!this.Ic(n("started"))&&this.Ic(n("loaded"))&&(t="failover"),!this.Ic(r)){var h={Eo:this.P.yg,Lo:this.O.Xl(),Ta:this.P.Ta,Rd:this.ca.offsetHeight,ph:this.ca.offsetWidth,muted:this.M.isMuted(),mx:this.P.getUsid()};switch(e&&(h.sequence=e),t){case"loaded":h.latency=this[Qb];break;case"starting":case"started":h.latency=(new Date).getTime()-this[Xb];break;case"failover":this[Zb]&&(h.latency=(new Date).getTime()-this[Zb])}Object(Eh.g)(i,h),i=this.lf(t,h,s),"IMA"===this.P.getAdEngineType()&&(i.em={mimeType:"IMA"}),this.track("Reporting.Ad.Engine.Flow",i),this[Gb][r]=!0,-1!==["q1","q2","q3","finished"].indexOf(t)&&this.Ma($o.gj,i)}},n.Be=function(t,i,n,s){zb.debug("trackAdIssue","adStage",t,"details",n),n="".concat(i.description).concat(n?" ".concat(n):""),this.track("Reporting.Ad.Issue",this.lf(t,{Bb:n,Ec:Xn(n,i.Ec),wp:i.ga,xp:i.code,Bp:s}))},n.Sm=function(t,i){zb.debug("trackResponse","success",t,"timeout",i),this[Zb]=(new Date).getTime(),this.track("Reporting.Ad.Engine.Response",{Rd:this.ca.offsetHeight,ph:this.ca.offsetWidth,yr:t,latency:this[Qb],timeout:void 0===i?null:i,Kt:this.uc?this.ko:0})},n.lf=function(t,i,n){zb.debug("basicAdParams","adStage",t,"additional",i,"adId",n);var s={};return null!=n&&(s.adImpressionId=n,s.hf=n),null!=t&&(s.adStage=t,s.jf=t),Object(Eh.g)(i,s),s},n.Ic=function(t){return this[Gb][t]||!1},n.Ma=function(t,i){i||(i={}),i.ad=this.P,this.dispatchEvent(new $o(t,this.P.getType(),i)),this.M.dispatchEvent(new $o(t,this.P.getType(),i))},n.Cc=function(){this[qb]&&(clearTimeout(this[qb]),this[qb]=null)},i}(jh.default),sy=Symbol(),ey=Symbol(),ry=Symbol(),hy=function(t){function i(i){var n=t.call(this)||this;return n[ey]=i.eventBus,n[ry]=i.smartViewability,n.ag=0,n.wk(),n}Rh()(i,t);var n=i.prototype;return n.wk=function(){this[sy]=Jo.a.group(Jo.a.bind(this[ey],$o.Ya,this.pi.bind(this)),Jo.a.bind(this[ey],$o.Nc,this.Lf.bind(this)),Jo.a.bind(this[ey],$o.gg,this.Qf.bind(this)),Jo.a.bind(this[ey],$o.lj,this.Qf.bind(this)),Jo.a.bind(this[ey],$o.Fe,this.gm.bind(this)),Jo.a.bind(this[ey],"VASTAdEngineComplete",this.complete.bind(this)))},n.na=function(){return this[ry].na()},n.Qf=function(){this.ag=0},n.complete=function(){},n.pi=function(){this.Ki()},n.Lf=function(){},n.gm=function(){},n.Ki=function(){this.Qf()},n.fa=function(){this[sy].fa()},i}(jh.default);hy.U=["eventBus","smartViewability"];var oy=Symbol(),uy=Symbol(),ay=Symbol(),cy=Symbol(),fy=function(t){function i(i){var n=t.call(this,i)||this;return n[ay]=i.environment,n[cy]=!1,n.Ol(),n}Rh()(i,t);var n=i.prototype;return n.Ri=function(t){this.wc=t},n.Ol=function(){this[oy]=0,this[uy]=0},n.complete=function(){t.prototype.Qf.call(this),this.Ol(),this.reset()},n.Lf=function(){var t=+new Date;this.ag&&(!(this.na()>=this.wc.Ih())||this.wc.ci()&&this[ay].isMuted()?this.wc.di()&&(this[oy]=0):this[oy]+=t-this.ag,this[uy]=Math.max(this[uy],this[oy])),this.ag=t,t=this.fe()/1e3,!this[cy]&&t>=this.wc.Jh()&&this.ti()},n.ti=function(){this[cy]=!0,this.dispatchEvent(i.wj)},n.Yl=function(){return this[cy]},n.reset=function(){this[cy]=!1,this.wk()},n.fe=function(){return this[uy]},i}(hy);fy.U=["eventBus","environment","smartViewability"],fy.wj="VM.RuleSatisfied";var ly=Symbol(),vy=Symbol(),dy=Symbol(),py=Symbol(),my=Symbol(),by=Symbol(),yy=function(t){function i(i){var n=t.call(this,i)||this;return n[py]=[],n[my]=i.injector,n}Rh()(i,t);var n=i.prototype;return n.Os=function(t){this[ly]=t.start,this[vy]=t.Cp,this[py]=Jn.call(this,t)},n.pi=function(){t.prototype.pi.call(this),this[dy]=!0,this[ly]()},n.Lf=function(){this[by].Yl()||this[py].forEach((function(t){return t.Lf()}))},n.gm=function(){var t=this[by].Yl();this[dy]&&!t&&this[vy]()},n.Ki=function(){t.prototype.Ki.call(this),this[dy]=!1,this[py].forEach((function(t){return t.reset()}))},i}(hy);yy.U=["eventBus","smartViewability","injector"];var gy=["$(S_VIEW_TYPE)"],wy=["$(V_AUD_INFO)"],Sy=["$(V_AUD_TIME_INVIEW_100)"],Ey=["$(V_AUTOPLAYED)"],Oy=["$(V_EXPANDED)"],Ay=["$(V_IS_INVIEW_100_HALFTIME)"],_y=["$(V_MOAT_IVT)"],Ty=["$(V_PLAYER_HEIGHT)"],My=["$(V_PLAYER_WIDTH)"],Iy=["$(V_SKIP_AVAIL)"],jy=["$(V_TIME_INVIEW_50)"],Ny=["$(V_TIME_INVIEW_50_MAX_CONTINUOUS)"],Ry=["$(V_VIEW_INFO)"],ky=["$(V_VIEW_TYPE)"],Ly=_h.a.R("AdViewabilityTracker"),Dy=Symbol(),Cy=Symbol(),Py=Symbol(),xy=Symbol(),Uy=Symbol(),Vy=function(){function t(t,i,n){this[Cy]=t,this[Py]=i,this[Uy]=n,this[Dy]=this[Uy].Ga().ya(yy),this[xy]=$n.call(this),t=[],i=[],(n=Kn.call(this))&&(t=n.St,i=n.Tt),n=new Of("iab_viewable",{d:2,p:50}),this[Dy].Os({Cp:ns.bind(this,"iab_detection_failed"),start:ns.bind(this,"iab_detection_started"),Bd:[ns.bind(this,"iab_viewable"),n],Pt:[ns.bind(this,"VIDEO_VIEW"),i],Qt:[ns.bind(this,"VIDEO_VIEW_3P"),t]})}return t.prototype.fa=function(){this[Dy].fa()},t}(),By=function(){function t(){}return t.prototype.parse=function(t){this.hf=t.id},t}(),Fy=function(){function t(){}return t.prototype.parse=function(t){var i=t.qa[0].jb[0];i.type===rc&&(i=i.url,this.Vg=/cid=(\d+)/.exec(i)[1],this.kf=/src=(\d+)/.exec(i)[1]),this.hf=t.id},t}();Fy.un="collective";var zy=_h.a.R("LoadableImageElement"),Hy=function(t){function i(i,n){return n=t.call(this,n)||this,zy.debug("init",i),n.cb=qh.a.eh(i),n}Rh()(i,t);var n=i.prototype;return n.createElement=function(){zy.debug("createElement");var t=Object(Eh.h)("img",{style:{position:"absolute",zIndex:1}});return this.Hg=Jo.a.group(Jo.a.ua(t,"load",this.ri.bind(this)),Jo.a.ua(t,"error",this.hm.bind(this))),t.src=this.cb.replace(/\s+/g,""),t},n.ic=function(){zy.debug("draw"),this.ui(),this.pe(),this.L.Td()},n.ri=function(){zy.info("onImageLoaded",this.cb),this.element.addEventListener("click",ss.bind(this)),this.si()},n.hm=function(t){zy.debug("onImageError",t),this.element.offsetWidth?this.ri():(this.L.Dc(Na.va,{error:ta}),this.L.complete(!0))},n.stop=function(){zy.debug("stop"),this.Hg&&this.Hg.fa(),t.prototype.stop.call(this)},i}(um),Yy=_h.a.R("IconElement"),Gy=Symbol(),Wy=function(t){function i(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=2<arguments.length?arguments[2]:void 0,s=t.call(this,i.Nm,1<arguments.length?arguments[1]:void 0)||this;return Yy.debug("create",i),s.icon=i,s[Gy]=n,s}Rh()(i,t);var n=i.prototype;return n.ot=function(t){this.L=t,this.load(),Object(Eh.H)(this.element,{height:"".concat(this.icon.height,"px"),width:"".concat(this.icon.width,"px"),zIndex:3}),this.L.addEventListener("VASTAdError",es.bind(this)),this.L.addEventListener("VASTAdFinished",es.bind(this)),this.L.addEventListener("VASTAdFinishedForce",es.bind(this))},n.hm=function(){this.L.Dc(Na.va,{error:ta})},n.ri=function(){var t=this;switch(this.icon.cg){case"left":this.element.style.left="0px";break;case"right":this.element.style.right="0px";break;default:"number"==typeof this.icon.cg&&(this.element.style.left="".concat(this.icon.cg,"px"))}switch(this.icon.dg){case"bottom":this.element.style.bottom="0px";break;default:this.element.style.top="".concat("number"==typeof this.icon.dg?this.icon.dg:0,"px")}this.icon.hh&&(this.element.style.cursor="pointer",this.element.addEventListener("click",(function(i){i.stopPropagation(),t.L.nf(t.icon.hh,!0)}))),this.icon.ih&&this.element.addEventListener("click",hs.bind(this,this.icon.ih)),this.icon.aj&&this[Gy].Sb(this.icon.aj),0===this.icon.offset&&this.L.ie.appendChild(this.element),0===this.icon.offset&&0===this.icon.duration||(this.Wi=rs.bind(this),this.L.addEventListener("VASTAdTimeUpdate",this.Wi))},i}(Hy),qy=_h.a.R("OverlayView"),Xy=function(t){function i(i,n,s,e,r,h,o){return qy.debug("init",n,s),(i=t.call(this,i,n,s,e,h,o)||this).ca=i.Dd.zl(),i.Z=i.X.N("display"),i.Na=r,i}Rh()(i,t);var n=i.prototype;return n.Rf=function(){var i=this.ha.tb[0]||{};if(i.type===qf){if(this.dc())return new xb(i,"Overlay",this.X);var n=this.ha,s=n.tb[0]||{};return qy.debug("buildMediaUrl",s),i=s.value,-1!==["video/ogg","video/mp4","video/webm"].indexOf(s.mimeType)&&n.La&&(n=encodeURIComponent(n.La.url),n="clickTAG=".concat(n,"&clickTag=").concat(n),i+=-1===i.indexOf("?")?"?":"&",i+=n),this.$a.ia().Bm(i),new Hy(i,this.Z)}return t.prototype.Rf.call(this)},n.Td=function(){t.prototype.Td.call(this),this.Id.start(),this.ad.dispatchEvent(new Na(Na.LOADED,this.ra))},n.hl=function(){return this.ha.parameters},n.uh=function(){return this.ha.oe},n.vh=function(){return this.ha.yd},n.getAdHeight=function(){return Math.max(this.ha.height,this.ha.Vk)},n.getAdWidth=function(){return Math.max(this.ha.width,this.ha.Wk)},n.Ub=function(){var t=this.ha.La;return t?t.url:null},n.bh=function(i,n,s,e,r,h){void 0===r&&(r=!0),void 0===h&&(h=!0);var o=this.Na.width,u=this.Na.height;return os(o)&&(o=parseFloat(this.Na.width)*this.ca.offsetWidth/100),os(u)&&(h?u=o/(u=this.getAdWidth()/this.getAdHeight()):u=parseFloat(this.Na.height)*this.ca.offsetHeight/100),o=o||i,u=u||n,this.dc()&&(o=i,u=n),i=t.prototype.bh.call(this,o,u,s,e,r,h),"application/javascript"===(this.ha.tb[0]||{}).mimeType?us.call(this,o,u):us.call(this,Math.min(i.width,o),Math.min(i.height,u))},n.ne=function(i){t.prototype.ne.call(this),this.$a.dispatchEvent(new $o($o.Ie,"Overlay",{isLinear:i})),i?this.pause():this.resume()},n.dl=function(){return 0},n.$f=function(){},n.noResize=function(){},i}(zm),Qy=function(){function t(){}return t.iq=function(i){var n=[];return Object(Eh.K)(i).forEach((function(i){(i.td||[]).forEach((function(i){return n.push(t.Cq(i))}))})),n},t.Cq=function(t){return t=t||{},qh.a.Ch(t.url||"")||t.mimeType},t}(),Zy=_h.a.R("LinearResolver"),Jy=function(){function t(){}return t.Sf=function(t){if(t&&t[0]&&t[0].xa&&"vpaid"===t[0].xa.toLowerCase())return t;var i=function(t){var i={video:[],Xm:[]};return t.forEach((function(t){900>=t.Rb?i.Xm.push(t):i.video.push(t)})),i}(t),n=as(i.Xm,!0);return n&&0!==n.length||(n=as(i.video)),(!n||0===n.length)&&0<t.length&&Zy.warn("None of the provided mime-types is supported",t),n},t}(),Ky=_h.a.R("NonLinearResolver"),$y=["image/.*","application/javascript","application/x-javascript"],tg=function(){function t(){}return t.resolve=function(t,i){i=Object(Eh.I)(i.slice(),!1),Ky.debug("resolve",t,i);var n,s=function(){var t=[],i=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){var s=n.tb[0];if(s)switch(Ky.debug("resolveByMimeType","Found supported resource",s),s.type){case qf:cs(s.mimeType)&&i.push(n);break;case Xf:case Qf:t.push(n)}})),t.concat(i)}(i);return 0<i.length&&0===s.length&&(n=na),i=s.filter((function(i){return i.yd||i.width<=t.width&&i.height<=t.height})),0<s.length&&0===i.length&&(n=ia),i[0]||{error:n}},t}(),ig=_h.a.R("VastEngine"),ng=ea,sg=[Na.Ke,Na.nc,Na.va,Na.Za,Na.LOADED,"iab_viewable","iab_detection_started","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange","verificationNotExecuted",dc.rc],eg={};eg[qa]="q1",eg[Za]="q2",eg[hc]="q3",eg[Ha]="finished";var rg=Symbol(),hg=Symbol(),og=Symbol(),ug=Symbol(),ag=Symbol(),cg=Symbol(),fg=Symbol(),lg=Symbol(),vg=Symbol(),dg=Symbol(),pg=Symbol(),mg=Symbol(),bg=Symbol(),yg=Symbol(),gg=Symbol(),wg=Symbol(),Sg=Symbol(),Eg=Symbol(),Og=Symbol(),Ag=Symbol(),_g=function(t){function i(i,n,s,e){return(i=t.call(this,i,n,s)||this)[pg]=i.Dd.zl(),i[ag]=e,i[vg]=[],i[mg]=[],i[Eg]=!0,i[lg]=!0,i[cg]=0,i[wg]=[],i[bg]=new ro,i[og]=i.X.N("errorTracker"),i[ug]=i.X.N("adTracker"),i.M.addEventListener("AdSystem.Resize",fs.bind(wo()(i))),i.wa.addEventListener("ISSUE_WITH_AD",Ss.bind(wo()(i))),i.M.addEventListener($o.kj,Fs.bind(wo()(i))),i}Rh()(i,t);var n=i.prototype;return n.fc=function(i){if(ig.debug("onLoaded",i),this.ko=i.ads.length,!this.mb){this[gg]=i,i=this[gg].ads.shift();t:switch(this.P.getVendor()){case Fy.un:var n=new Fy;break t;default:n=new By}this[fg]=n,this[fg].parse(i),ds.call(this,i),this.uc?Ms.call(this):(t.prototype.fc.call(this,i,{urls:this.Ln()}),this[Eg]&&"Overlay"!==this.ia().getType()&&(this.O.$l()&&(this[Ag]=(new Date).getTime(),this.hc(this.M.ob()&&this.M.ob().Kf)),Ms.call(this)))}},n.Ln=function(){var t=[];return function i(n){t.push(n.Ae),n.parent&&i(n.parent)}(this[gg]),t.reverse()},n.Pg=function(i){this[vg].length&&(i.crid=this[vg][0].id||""),t.prototype.Pg.call(this,i)},n.Jm=function(t){this[Ag]=(new Date).getTime(),this.hc(t),this.Ug(),this[Eg]?this[rg].ic():Ms.call(this)},n.Wf=function(){var i=this;t.prototype.Wf.call(this);var n=this.P.hb;ig.debug("showOverlay",n);var s,e=this[pg].offsetWidth,r=this[pg].offsetHeight,h=isNaN(n.width)?e:Math.min(n.width,e),o=isNaN(n.height)?r:Math.min(n.height,r);Object(Eh.m)(this[mg],(function(t){i.Ag.Am(i.ad.ub,t.ub);var e=tg.resolve({height:o,width:h,x:0,y:0},t.ni);if(e)return e.tb&&e.tb[0]&&e.tb[0].value?(i[dg]=e,i[bg].Uf(ws.bind(i,t,n),1e3*n.Ok),!0):(s=i[dg]&&i[dg].error,!1)}))||(this.ad&&this.ad.dispatchEvent(new Na(Na.va,null,null,{error:s})),this.Be("loaded",na,"Unable to find suitable overlay creatives"))},n.stop=function(i){this.mb||(this[bg].stop(),this.ad&&this.ad.state.loaded?Ls.call(this,!1,i):this.pa("early-stop"),this.Rc&&(this.Rc.fa(),this.Rc=null),this[hg]=null,t.prototype.stop.call(this))},n.skip=function(){this.$j=!0,this.sc?(this.sc.oh(ec),this.sc.skip()):Ls.call(this,!0)},n.pause=function(){ig.debug("pause"),t.prototype.pause.call(this),this.Yc&&(this[bg].pause(),this[wg].forEach((function(t){return t.pause()})))},n.resume=function(){ig.debug("resume"),t.prototype.resume.call(this),this.Yc&&(this[bg].resume(),this[wg].forEach((function(t){return t.resume()})))},n.setVolume=function(t){ig.debug("setVolume",t),this[wg].forEach((function(i){return i.setVolume(t)}))},n.getDuration=function(){var t=this[Sg]||0;return this[wg].forEach((function(i){i.getDuration&&(t=Math.max(t,i.getDuration()))})),t},n.getCurrentTime=function(){var t=this[wg].find((function(t){return t.getCurrentTime}));return t?t.getCurrentTime():0},n.Va=function(){return this[hg]?this[hg].duration:0<this[vg].length?this[vg][0].duration:0},n.getAdSkippableState=function(){var t=!!this[hg]&&this[hg].Kc;if(this[rg].getAdSkippableState){var i=this[rg].getAdSkippableState();t=void 0===i?t:i}return t},n.Fb=function(){return this.ad&&this.ad.ub},n.Gb=function(){return this.ad&&this.ad.Md},n.Cb=function(){return this.ad&&this.ad.yo},n.Eb=function(){if(this[hg])return this[hg].Um},n.lf=function(i,n,s){return!s&&this[fg]&&(s=this[fg].hf),t.prototype.lf.call(this,i,n,s)},n.pa=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};n.vo=this.Va()||"NULL",this[fg]&&(this[fg].Vg&&(n.Vg=this[fg].Vg),this[fg].kf&&(n.kf=this[fg].kf),this[dg]&&(n.em=this[dg])),n.Dp=this[cg],t.prototype.pa.call(this,i,n)},n.ud=function(i){var n=i;n instanceof pp||(n=n instanceof dp?new pp(i.message,pp.Pe,i.Qm):new pp(i.message)),ig.debug("onInterrupted",n,"configEntry",this.P),t.prototype.ud.call(this,n),Ps.call(this)},n.gf=function(i,n){t.prototype.gf.call(this,i,n),this.ad&&this.ad.dispatchEvent(new Na("stopped",this[hg])),Rs.call(this)||0!==this[gg].ads.length||this.stop(),this.ad=null,this.$j=!1},n.track=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(n.vastModelAd=this.ad,"Reporting.Ad.Issue"===i){for(var s="",e=this[gg];e&&e.Ae;)s="".concat(e.Ae," ").concat(s),e=e.parent;n.url=s}t.prototype.track.call(this,i,n)},n.Be=function(i,n,s){t.prototype.Be.call(this,i,n,s,Us.call(this))},n.Wd=function(i){t.prototype.Wd.call(this),Ls.call(this,!1,i)},n.complete=function(){t.prototype.complete.call(this),this.Sc&&this.Sc.fa()},n.hc=function(i){var n=Math.min(this.P.bf,this.bb.Vi),s=.8*n;!this[Og]&&Bs.call(this)&&(n=0<s-((new Date).getTime()-this[Ag])?s:1),t.prototype.hc.call(this,i,n),this[Og]=!1},i}(ny),Tg=_h.a.R("VastEngineProducer"),Mg=Symbol(),Ig=function(t){function i(i){var n=t.call(this,i)||this;return n[Mg]=new nm(i),n}Rh()(i,t);var n=i.prototype;return n.lh=function(t){Tg.debug("createAdEngine",t);var i=this.uf(),n=new(this.Aq(t))(i,this[Mg],t.ce()?t:t.Sg||t);return new _g(i,t,n,this[Mg])},n.Aq=function(t){var i,n=t.$c;return(i=t.ce())&&(t=t.Ll(),i=this.uf().$d().vf().disableOneVideoAdCallRetry,i=this.uf().$d().vf().disableVIPAdCallRetry&&-1!==t.indexOf("OneVideo VIP")||i&&-1!==t.indexOf("OneVideo")||n&&n.ads&&0<n.ads.length),i?qp:Hp},n.getType=function(){return"VAST"},i}(vp),jg=function(t){function i(){return t.apply(this,arguments)||this}return Rh()(i,t),i.prototype.getType=function(){return"VIDEO"},i}(Ig),Ng=n(73),Rg=n.n(Ng),kg=n(104),Lg=n.n(kg),Dg=Symbol(),Cg=!1,Pg=function(){function t(t,i){this.tag=t,this.Kk=i,this[Dg]=new ao.a(window.document),Cg||this.Ar(),this.Kk.classList.add(this.Ru),this.Wr=Object(Eh.h)("div",{class:"overlay-wrap"},this.Kk,this.fx)}var i=t.prototype;return i.ns=function(){this.Wr.remove()},i.Ar=function(){Object(Eh.h)("style",{},document.head,Lg.a),Cg=!0},Rg()(t,[{key:"containerClass",get:function(){return"vrm-plg"}},{key:"template",get:function(){var t=Object(Eh.F)(this.tag.source),i=Object(Eh.F)(this.tag.aw),n=Object(Eh.F)(this.tag.Po);return'\n            <div class="title">\n                <small>Ad: <span>'.concat(t,"</span></small>\n                <h5>").concat(i,'</h5>\n            </div>\n            <button class="overlay-btn">').concat(n,"</button>\n        ")}}]),t}(),xg=Symbol(),Ug=_h.a.R("GeminiAdView"),Vg=function(t){function i(i,n,s,e){return i=t.call(this,i,n,{},s,e)||this,Ug.debug("instance created"),i.load(n),i}Rh()(i,t);var n=i.prototype;return n.load=function(t){var i=this;try{var n=JSON.parse(t.tag)}catch(t){n={}}this.$m(zs.call(this,n)),this.ra={La:{url:n.clickUrl}},n.Po&&(this.Zq(n),this.addEventListener("VASTAdEngineComplete",(function(){i.Au.ns()})))},n.Zq=function(t){this[xg]=new Pg(t,this.ca)},Rg()(i,[{key:"adOverlay",get:function(){return this[xg]}}]),i}(Fb),Bg=Symbol(),Fg=function(t){function i(i){var n=t.call(this,i)||this;return n[Bg]=i.geminiPixelsTracker,n}return Rh()(i,t),i.prototype.ti=function(){t.prototype.ti.call(this),this.fa(),this[Bg].Zk({nm:this.wc.Gq(),Ai:Hs.call(this)})},i}(fy);Fg.U=["eventBus","smartViewability","geminiPixelsTracker","environment"];var zg,Hg=_h.a.R("GeminiRulesResolver"),Yg=Symbol(),Gg=Symbol(),Wg=Symbol(),qg=Symbol(),Xg=Symbol(),Qg=Symbol(),Zg=(zg={},yh()(zg,"GEMINI_IMP","viewabilityDefStatic"),yh()(zg,"STATIC_VIEW","viewabilityDefStatic"),yh()(zg,"STATIC_VIEW_3P","viewabilityDefStatic3P"),yh()(zg,"VIDEO_VIEW","viewabilityDefVideo"),yh()(zg,"VIDEO_VIEW_3P","viewabilityDefVideo3P"),zg),Jg=function(){function t(t,i){Hg.debug("adConfigEntry",t),this[Yg]=t,this[Gg]=i}return t.prototype.resolve=function(){Hg.debug("resolve"),this[Wg]=((this[Yg].zb||{}).ads||[])[0]||{},this[Xg]=this[Wg].rules||{},this[qg]=this[Wg].actionUrls||{},this[Qg]=this[Wg].beacon,Ys.call(this)},t}(),Kg=_h.a.R("GeminiEngine"),$g=Symbol(),tw=Symbol(),iw=Symbol(),nw=Symbol(),sw=Symbol(),ew=Symbol(),rw=function(t){function i(i,n,s){return Kg.debug("instance created"),(i=t.call(this,i,n,s)||this)[nw]=new Mo.a,i.Ql(),i[$g]=i.X.N("geminiPixelsTracker"),i.wa.addEventListener("AD_LOAD_COMPLETE",i.Ug.bind(wo()(i),null)),i}Rh()(i,t);var n=i.prototype;return n.fc=function(){var i=this,n=this.P.zb||{},s=(n.ads||[])[0]||{},e=this.M.ob()&&this.M.ob().Kf;Kg.debug("onLoaded",n),t.prototype.fc.call(this,n),this[tw]=s.actionUrls||{},new Jg(this.P,this.X).resolve(),this.hc(e),s.dispatchEvent=function(t){var n="function"==typeof t.Ub&&t.Ub();switch(t.type){case Na.Za:n&&(i.lk(n),R(n));break;case Na.nc:i.Wg(i[iw]);break;case dc.rc:var s;switch(n=t.Mc,n=(s={},yh()(s,qa,"VIDEO_QUARTILE_25"),yh()(s,Za,"VIDEO_QUARTILE_50"),yh()(s,hc,"VIDEO_QUARTILE_75"),yh()(s,Ha,"VIDEO_QUARTILE_100"),s)[n],Ws.call(i,n),t.Mc){case ic:i.qk(t),Ws.call(i,"VIDEO_START"),30<t.data.currentTime&&Ws.call(i,"VIDEO_30_SEC");break;case Ha:i.pa("finished",t.data),i.complete();break;case Ka:i.mk(t);break;case qa:i.pa("q1",t.data);break;case Za:i.pa("q2",t.data);break;case hc:i.pa("q3",t.data)}}},this[iw]=new Vg(this.ta,s,this.M,this),this[ew]=Jo.a.group(Jo.a.bind(this[iw],"VastMediaElementReady",qs.bind(this)),Jo.a.bind(this[iw],"VASTAdFinished",this.gf.bind(this)),Jo.a.bind(this[iw],"VASTAdResumed",this.nk.bind(this)),Jo.a.bind(this[iw],"VASTAdEngineComplete",this.complete.bind(this)),Jo.a.bind(this[iw],$o.He,this.M.dispatchEvent.bind(this.M))),this[iw].ke(this.M.getVolume()),this[nw].resolve(this[iw])},n.Ql=function(){this[sw]=[]},n.Jm=function(){this.hc(),this.pk(),this[iw].ic()},n.Wf=function(){throw Error("overlay is not supported")},n.stop=function(t){Kg.debug("stop"),this[nw].za().then((function(i){return i.stop(t)}))},n.Wd=function(i){t.prototype.Wd.call(this,i),this.stop(i)},n.complete=function(){this.Ql(),this[iw].$a.dispatchEvent("VASTAdEngineComplete"),this[ew]&&(this[ew].fa(),this[ew]=null);var i=this[iw]&&this[iw].fl();i&&this.Jc(new pp(i.message||i.description,null,null,i)),t.prototype.complete.call(this)},n.ud=function(i){Kg.debug("onInterrupted",i,"configEntry",this.P),t.prototype.ud.call(this,i),t.prototype.complete.call(this)},n.skip=function(){Kg.debug("skip"),this[nw].za().then((function(t){return t.skip()}))},n.pause=function(){Kg.debug("pause"),this[nw].za().then((function(t){return t.pause()}))},n.resume=function(){Kg.debug("resume"),this[nw].za().then((function(t){return t.resume()}))},n.setVolume=function(t){Kg.debug("setVolume",t),this[nw].za().then((function(i){return i.setVolume(t)}))},n.getDuration=function(){return this[iw]&&this[iw].getDuration()||0},n.getCurrentTime=function(){return this[iw]&&this[iw].getCurrentTime()||0},n.Va=function(){return this.getDuration()},n.getAdSkippableState=function(){return!1},i}(ny),hw=_h.a.R("GeminiLoader"),ow=Symbol(),uw=Symbol(),aw=Symbol(),cw=function(t){function i(i,n){hw.debug("instance created");var s=t.call(this)||this;return s.X=i.Ga(),s[ow]=n,s[aw]=s.X.N("beaconDataHolder"),s}Rh()(i,t);var n=i.prototype;return n.load=function(){var t=this;if(Qs(this[ow].zb))Xs.call(this);else{var i=this[ow].getUrl();i?E(i,null,{timeout:1e4}).then((function(i){var n=i.data;t[uw]=i,Qs(n)?(t[ow].Dm(n),Xs.call(t)):t.bi(pp.Oe,null,Ku)}),(function(n){t[uw]=n;var s=Wu;n.bg?s=Fu:wh.a.gb()&&0!==i.indexOf("https:")&&(s=sa),t.bi(pp.Pe,"Failed to load ".concat(i," due to error ").concat(n.code,": ").concat(n.message),s)})):this.bi("No ads provided in config",pp.Oe)}},n.bi=function(t,i,n){t===pp.Oe?hw.warn(i,this[ow]):hw.error(i,this[ow]),t=new pp(i,t,null,n),this[aw].ai(null,this[ow],this[uw],n),this.dispatchEvent("AD_LOAD_INTERRUPTED",t)},i}(jh.default),fw=_h.a.R("GeminiEngineProducer"),lw=function(t){function i(){return t.apply(this,arguments)||this}Rh()(i,t);var n=i.prototype;return n.lh=function(t){fw.debug("createAdEngine",t);var i=this.uf();return new rw(i,t,new cw(i,t))},n.getType=function(){return"GEMINI"},i}(vp),vw=_h.a.R("AdsRunner"),dw={Le:"Created",LOADED:"Loaded",xj:"Running",xb:"Stopped"},pw=Symbol(),mw=Symbol(),bw=Symbol(),yw=Symbol(),gw=Symbol(),ww=Symbol(),Sw=Symbol(),Ew=function(t){function i(i,n){vw.debug("init");var s=t.call(this)||this;return s[pw]=i,s[mw]=i.ob(),s[bw]=n,s[Sw]={},s.reset(),i=wo()(s),$s.call(i,Ig),$s.call(i,jg),$s.call(i,lw),s}Rh()(i,t);var n=i.prototype;return n.reset=function(){this[yw]=dw.Le,this[gw]=null,this[ww]=0},n.ue=function(){vw.debug("run"),this.Jf()?Ks.call(this,"Runner already stopped"):(this[yw]=dw.xj,this[gw]&&this[gw].vr()&&(vw.debug("run the most priority adapter",this[gw]),this[pw].dispatchEvent($o.Ge,this[gw]),this[gw].ue()),this[yw]!==dw.Le&&this[gw].fi()&&Ks.call(this,"Adapter failed - finish"))},n.load=function(t,i){if(vw.debug("load",t),0===t.length)Ks.call(this,"no ad entries");else{var n=(t=t[0]).getAdEngineType(),s=this[Sw][n];s?(t=s.lh(t),this[gw]=new fp(t,this[mw],this[bw]),t=this[gw],Jo.a.ua(t,$o.Lb,Zs.bind(this,i)),Jo.a.ua(t,$o.kc,Js.bind(this)),this[pw].dispatchEvent($o.eg,this[gw]),this[ww]&&this[gw].setVolume(this[ww]),this[gw]&&this[gw].load()):(vw.error("Ignore ad config entry ",t," Unknown ad engine type ",n),this[bw].cm(t),Ks.call(this,"Unknown ad engine type ".concat(n)))}},n.stop=function(t){vw.debug("stop"),this[yw]=dw.xb,this[gw]&&this[gw].stop(t)},n.skip=function(){this[gw]&&this[gw].skip()},n.pause=function(){this[gw]&&this[gw].pause()},n.Hc=function(){if(this[gw])return this[gw].Hc()},n.resume=function(){this.Hb()&&this[gw].resume()},n.setVolume=function(t){this[ww]=t,this[gw]&&this[gw].setVolume(t)},n.getDuration=function(){if(this.Hb())return this[gw].getDuration()},n.Va=function(){if(this.Hb())return this[gw].Va()},n.getAdSkippableState=function(){if(this.Hb())return this[gw].getAdSkippableState()},n.Fb=function(){if(this.Hb())return this[gw].Fb()},n.Gb=function(){if(this.Hb())return this[gw].Gb()},n.Cb=function(){if(this.Hb())return this[gw].Cb()},n.Eb=function(){if(this.Hb())return this[gw].Eb()},n.getCurrentTime=function(){if(this.Hb())return this[gw].getCurrentTime()},n.Jf=function(){return this[yw]===dw.xb},n.lw=function(){return this[yw]===dw.LOADED},n.Hb=function(){return this[gw]&&this[gw].If()},i}(jh.default),Ow=_h.a.R("AdTimeLogger"),Aw=Symbol(),_w=Symbol(),Tw=Symbol(),Mw=Symbol(),Iw=Symbol(),jw=Symbol(),Nw=Symbol(),Rw=function(){function t(t){this[Aw]={adServerRequests:[],adStartTime:null,initTime:+new Date,startAdTime:null},this[_w]=null,this[Tw]=null,this[Mw]=[],this[Iw]=t,te.call(this),(t=(t=this[Iw].Ga()).qd("vpaidLoadTime")&&t.N("vpaidLoadTime"))&&(this[Aw].vpaidLoadTime=t)}var i=t.prototype;return i.Bq=function(){return this[Aw]},i.hq=function(){return this[jw]?this[jw].end-this[jw].start:0},i.Kq=function(){return 0<this[Aw].adServerRequests.length?this[Aw].adServerRequests[0].start-this[Aw].initTime:0},i.Mp=function(){return this[Aw].adStartTime||0},t}(),kw=Symbol(),Lw=function(){function t(){this[kw]=[]}var i=t.prototype;return i.Ah=function(){return this[kw]},i.Cm=function(t){this[kw]=t},t}(),Dw=Symbol(),Cw=Symbol(),Pw=Symbol(),xw=Symbol(),Uw=Symbol(),Vw=Symbol(),Bw=Symbol(),Fw=Symbol(),zw=Symbol(),Hw=function(){function t(t){this[xw]=t.config,this[Uw]=t.adsConfig,this[Vw]=t.display,this[Bw]=t.smartViewability,this[zw]=t.moatIvtResolver,this[Cw]=t.injector,t=100;var i=this[Vw].Uh()*this[Vw].Dh();(Eh.c.hi||3e4<i)&&(t=80),this[Fw]={},this[Fw].inView100=fe.call(this,{a:1,c:0,p:100}),this[Fw].inView50=fe.call(this,{a:0,c:0,p:50}),this[Fw].inView50Continuous=fe.call(this,{a:0,c:1,p:50}),this[Fw].inView50Continuous=fe.call(this,{a:0,c:1,p:t}),this.Tf=[[Ey,Ee.bind(this)],[Iy,Oe.bind(this)],[My,de.bind(this)],[Ty,pe.bind(this)],[Ry,ve.bind(this)],[wy,le.bind(this)],[Oy,we.bind(this)],[Sy,me.bind(this)],[_y,Se.bind(this)],[jy,be.bind(this)],[Ny,ye.bind(this)],[Ay,ge.bind(this)]],this[Dw]=vi(this.Tf)}var i=t.prototype;return i.ve=function(t){return this[Pw]=t,this},i.resolve=function(t,i){return i?(i=vi(i),i=this[Dw].join(i)):i=this[Dw],i.resolve(t)},t}();Hw.U="injector adsConfig config display moatIvtResolver smartViewability".split(" ");var Yw=function(){function t(t){this.Hj=t}var i=t.prototype;return i.Yg=function(){},i.show=function(){},i.cw=function(){},t}(),Gw=function(){function t(t,i){this.Nb=t,this.cb=i,this.Ze=new Mo.a,this.Dj="handshakeVersion initAd startAd stopAd skipAd resizeAd pauseAd resumeAd expandAd collapseAd subscribe unsubscribe".split(" ")}var i=t.prototype;return i.Gl=function(){return this.Ze.za()},i.Bc=function(){Object(Eh.D)(this.Nb)},i.Mf=function(t){this.Bc(),this.Ze.reject(t)},i.Ab=function(t,i){"setAdVolume"===t&&this.mute(0===i[0])},i.mute=function(){},t}(),Ww=n(67),qw=Symbol(),Xw=Symbol(),Qw=Symbol(),Zw=Symbol(),Jw=Symbol(),Kw=Symbol(),$w={AdImpression:function(){"Midroll"===this[Xw]&&Ae.call(this)},AdVideoStart:function(){Ae.call(this)}},tS=function(t){function i(i,n,s,e,r){return(i=t.call(this,i,n)||this)[Xw]=s,i[Zw]=e,i[Jw]=r,i}Rh()(i,t);var n=i.prototype;return n.$h=function(t){var i=this;"Overlay"===this[Xw]||"Midroll"===this[Xw]||this[Zw].isPlaying()?(this[qw]=Object(Eh.i)(t),this.Nb.parentElement.appendChild(this[qw])):(this[Qw]=!0,this[Zw].Mo(),this[qw]=this[Zw].Fl()),Object(Ww.a)(t.body,this.cb,this.Dj).then((function(t){i[Kw]=t.creative,i.Ze.resolve({data:t,Zm:i})}),this.Mf.bind(this))},n.Ab=function(i,n){var s;return t.prototype.Ab.call(this,i,n),this[Kw][i]&&(s=this[Kw])[i].apply(s,po()(n))},n.initAd=function(t,i,n,s,e){var r=Object(Eh.h)("div",{class:"vpaid-content",style:"height: 100%"},this.Nb.contentDocument.body),h=this[Jw].Jp().vt;r={slot:r,topOffsetPromise:h?h.za():Sh.a.resolve(),videoSlot:this[qw],videoSlotCanAutoPlay:!0},t=t||this[qw].offsetWidth,i=i||this[qw].offsetHeight,this[Kw].initAd(t,i,n,s,e,r)},n.subscribe=function(t,i,n){$w[i]?this[Kw].subscribe(_e.bind(this,t,i),i,n):this[Kw].subscribe(t,i,n)},n.unsubscribe=function(t,i){$w[i]?this[Kw].unsubscribe(_e.bind(this,t,i),i):this[Kw].unsubscribe(t,i)},n.Bc=function(){t.prototype.Bc.call(this),this[Qw]&&this[Zw].Ji()},n.mute=function(t){this[qw].muted=t},i}(Gw),iS=n(105),nS=n.n(iS),sS=function(t){function i(i){return t.call(this,i.dom)||this}return Rh()(i,t),i.prototype.Yg=function(t,i,n,s,e){var r=this,h=new Mo.a;return(t=new cc(t).Sl({fc:function(t,o){r.Hj.qh(nS.a,o.head),(t=new tS(t,i,n,s,e)).$h(o),t.Gl().then(h.resolve,h.reject)}})).style.pointerEvents="auto !important",t.style.position="absolute",t.style.top="0",h.za()},i}(Yw);sS.U=["dom"];var eS=Symbol(),rS=Symbol(),hS=function(){function t(){this[eS]=0,this[rS]=0}var i=t.prototype;return i.Qh=function(){return this[rS]},i.append=function(t){return this[rS]|=(t?1:0)<<this[eS]++,this},t}(),oS=n(29),uS=_h.a.R("MoatIvtResolver"),aS=Symbol(),cS=Symbol(),fS=Symbol(),lS=Symbol(),vS=Symbol(),dS=Symbol(),pS=Symbol(),mS=Symbol(),bS=Symbol(),yS=Symbol(),gS=Symbol(),wS=function(){function t(){uS.debug("init"),this[fS]=0,this[lS]=0,this[yS]=document&&document.body&&document.body.style?document.body.style:{},this[gS]=document&&document.documentElement&&document.documentElement.style?document.documentElement.style:{},this[vS]=wh.a.Aa(),this[dS]=this[vS].CSS,this[pS]=this[vS].navigator,this[mS]=this[vS].performance,this[bS]=!(!this[vS].CSS||!this[vS].CSS.supports);var t=document.createElement("div"),i={};if(t.style){t.style.wordSpacing="10%",i[0]="10%"===t.style.wordSpacing?1:0,t.style.width="1px",t.style.width="-webkit-min-content",t.style.width="min-content",i[1]="1px"===t.style.width?0:1,t.style.width="1px",t.style.width="calc(1px - 1px)",t.style.width="-webkit-calc(1px - 1px)",i[2]="1px"===t.style.width?0:1,i[3]=Object(Eh.w)(t.matches),i[4]=oS.a.Ro(t),i[5]=t.$g&&Object(Eh.w)(t.$g)?1:0,t.style.fontStretch="ultra-condensed",i[6]="ultra-condensed"===t.style.fontStretch?1:0;var n=null,s=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];if(Eh.v)try{t.addBehavior("#default#clientCaps");for(var e=0;e<s.length;e++)if(n=t.rv(s[e],"componentid").replace(/,/g,".")){i[7]=n.split(".")[0];break}}catch(t){}i[7]=i[7]||0}this[cS]=i,this[aS]={a:Te,b:Me,c:Ie.bind(this),d:je.bind(this),e:Ne.bind(this),i:Re.bind(this),j:ke,k:Le.bind(this),l:De.bind(this),m:Ce.bind(this),n:Pe.bind(this),o:xe.bind(this),p:Ue.bind(this),q:Ve.bind(this)}}return t.prototype.vq=function(){var t=this,i=[];return Object.keys(this[aS]).forEach((function(n){try{var s=t[aS][n]();i.push("".concat(n,"=").concat(s)),uS.debug("ivt signal composed: ".concat(n,"=").concat(s))}catch(t){uS.debug("can't compose ivt signal '".concat(n,"': ").concat(t.message))}})),i.join("&")},t}(),SS=Symbol(),ES=Symbol(),OS=Symbol(),AS=Symbol(),_S=_h.a.R("SecureVPAID"),TS=function(t){function i(i,n){return(i=t.call(this,i,n)||this)[SS]=Jo.a.empty(),i[AS]={size:{}},i[OS]=[],i}Rh()(i,t);var n=i.prototype;return n.$h=function(){this[ES]=qh.a.yi(this.Nb.src).origin,Jo.a.bind(this.Nb.contentWindow.parent,"message",Ye.bind(this)).link(this[SS]),this.Ab("init",{url:this.cb,vpaidInterface:this.Dj})},n.Ab=function(){for(var i=arguments.length,n=Array(i),s=0;s<i;s++)n[s]=arguments[s];t.prototype.Ab.call(this,n[0],n[1]),He.apply(this,[].concat(Array.prototype.slice.call(n)))},n.initAd=function(t,i,n,s,e){this.Ab("initAd",t,i,n,s,e,{videoSlotCanAutoPlay:!0})},n.subscribe=function(t,i,n,s){this[OS][i]||(this[OS][i]=[],this.Ab("subscribe",{eventName:i,getter:s})),this[OS][i].push({Tk:i,listener:t})},n.unsubscribe=function(t,i){this[OS][i]=this[OS][i].filter((function(i){return i.listener!==t})),0===this[OS][i].length&&this.Ab("unsubscribe",{eventName:i})},n.getAdVolume=function(){return this[AS].volume},n.getAdSkippableState=function(){return this[AS].isSkippable},n.getAdExpanded=function(){return this[AS].isExpanded},n.getAdWidth=function(){return this[AS].size.width},n.getAdHeight=function(){return this[AS].size.height},n.getAdDuration=function(){return this[AS].duration},n.getAdLinear=function(){return this[AS].isLinear},n.getAdRemainingTime=function(){return this[AS].remainingTime},n.Bc=function(){this[OS]=[],this[SS].fa(),t.prototype.Bc.call(this)},n.mute=function(t){He.call(this,"mute",t)},i}(Gw),MS=0,IS=function(t){function i(i){return t.call(this,i.dom)||this}return Rh()(i,t),i.prototype.Yg=function(t,i){var n="".concat("".concat(Do.a["cdn.url"]).concat("player/vrm-plugin","/").concat("0.0.36","/"),"xdomain-vpaid.html?id=").concat(MS++),s=this.Hj.createElement("iframe");return s.id="xdomainFrame",s.style.position="absolute",s.style.top=0,s.style.width="100%",s.style.height="100%",s.style.zIndex=2,s.style.pointerEvents="auto !important",s.setAttribute("frameborder","0"),s.setAttribute("allow","autoplay"),i=new TS(s,i),s.onload=i.$h.bind(i),s.src=n,t.appendChild(s),i.Gl()},i}(Yw);IS.U=["dom"];var jS=new ao.a(window.document),NS=Symbol(),RS=Symbol(),kS=Symbol(),LS=Symbol(),DS=Symbol(),CS=Symbol(),PS=Symbol(),xS=Symbol(),US=Symbol(),VS=function(){function t(t,i,n,s){this[NS]=t,this[RS]=n,this[kS]=i,this[CS]={},this[LS]=this[NS]?this[NS].Ll():"",this.pm=(t=this[NS]&&this[NS].getType())?t.toLowerCase():"",this[DS]=this[NS]&&this[NS].ce()?this[NS].Nj?2:3:1,this[PS]=0,this[US]=s}var i=t.prototype;return i.Gm=function(t){this[kS]=t},i.ah=function(){this[PS]+=1},i.Ni=function(t){this[xS]=t},i.ll=function(){var t=this[NS]&&this[NS].bb,i=2;return this[kS]&&(i=this[kS].W||Qu.W),{adl:this[xS],adseq:this[US],at:this[PS],crd:this[RS],ibn:this[NS]&&this[NS].getName(),max_lst:t&&t.Kf,medS:this[DS],ntwk:this[LS],pos:this.pm,r_code:i,tmout:this[NS]&&this[NS].vl(),vptm:this[NS]&&Math.min(this[NS].bf||2147483647,t.Vi)}},t}(),BS=Symbol(),FS=Symbol(),zS=Symbol(),HS=Symbol(),YS=function(){function t(){}var i=t.prototype;return i.kl=function(){return{ms_lat:this[HS],vil:this[FS],vsl:this[BS],vst:this[zS]}},i.Pi=function(t){this[BS]=t},i.Oi=function(t){this[FS]=t},i.Si=function(t){this[zS]=t},i.Qi=function(t){this[HS]=t},t}(),GS=Symbol(),WS=Symbol(),qS=Symbol(),XS=Symbol(),QS=Symbol(),ZS=Symbol(),JS=Symbol(),KS=Symbol(),$S=Symbol(),tE=function(t){function i(i,n){var s=t.call(this)||this;return s[GS]=i,n=n||{},s[WS]=i.tag&&JSON.parse(i.tag),i=s[WS]&&s[WS].assets&&s[WS].assets.find((function(t){return"VIDEO_PRIMARY"===t.usageType}))||{},s[XS]=qe.call(wo()(s)),i=function(t){return(t=Jy.Sf((t&&t.mediaInfo||[]).map((function(t){return Object.assign({},t,{mimeType:t.contentType})}))||[]))&&0<t.length?t[0]:null}(i),s[QS]=Xe.call(wo()(s),i),s[ZS]=Qe.call(wo()(s)),s[qS]=We.call(wo()(s)),s[JS]=s[WS].assets&&0<s[WS].assets.length?"ad":"no-ad",s[KS]="".concat(n.offsetWidth,"x").concat(n.offsetHeight,":").concat(i&&i.bitrate||null),s[$S]=i&&i.url||null,s}return Rh()(i,t),i.prototype.sh=function(){return Object.assign({},this.kl(),{adfmt:this[KS],adv_id:this[ZS],apt:this[XS],crid:this[qS],mf_url:this[$S],mtype:this[QS],r_type:this[JS],v_cr_id:this[qS]})},i}(YS),iE=Symbol(),nE=Symbol(),sE=Symbol(),eE=function(t){function i(i,n,s,e,r,h){return(n=t.call(this,n,s,e,h)||this)[iE]=i,n[nE]=r,(r=(i=wo()(n))[iE]&&i[iE].ads&&i[iE].ads[0])&&(i[sE]=new tE(r,i[nE])),n}Rh()(i,t);var n=i.prototype;return n.Sh=function(){return Object.assign({},this.ll(),this[sE]?this[sE].sh():{r_type:"no-ad"})},n.cl=function(){return this[sE]},i}(VS),rE=Symbol(),hE=Symbol(),oE=Symbol(),uE=Symbol(),aE=Symbol(),cE=Symbol(),fE=Symbol(),lE=Symbol(),vE=Symbol(),dE=Symbol(),pE=Symbol(),mE=function(){function t(t,i,n){this[rE]=t,this[uE]=t.id;var s=t.Um,e=null;s&&(e=encodeURIComponent("".concat(s.Vh," ").concat(s.value))),this[aE]=e,this[fE]=i,"Overlay"===n?i=(i=(i=this[rE]&&this[rE].ni)&&i[0]&&i[0].tb)&&i[0]||null:(this[vE]=this[fE].offsetWidth,this[dE]=this[fE].offsetHeight,i=(i=Jy.Sf(this[rE].td||[]))&&0<i.length?i[0]:null),this[hE]=i?i.mimeType:"",this[lE]=i?i.Rb:"",this[oE]=this[hE]&&"application/javascript"===this[hE]?"vpaid":"ad",this[cE]=function(t){var i={},n=t&&t.fm||{};return Object.keys(n).forEach((function(t){0<n[t]&&(i[t]=n[t])})),i}(t),this[pE]=i?i.url:""}return t.prototype.gq=function(){return Object.assign({},this[cE],{adfmt:"".concat(this[vE],"x").concat(this[dE],":").concat(this[lE]),mf_url:this[pE],mtype:this[hE],r_type:this[oE],uadid:this[aE],v_cr_id:this[uE]})},t}(),bE=Symbol(),yE=Symbol(),gE=Symbol(),wE=Symbol(),SE=Symbol(),EE=Symbol(),OE=Symbol(),AE=function(t){function i(i,n,s){var e=t.call(this)||this;return e[bE]=i,e[SE]=n,e[OE]=s,n=wo()(e)[bE].rb,e[yE]=n,e[gE]=i&&i.M&&i.M.name||"",e[wE]=i.id,e[EE]={},Ze.call(wo()(e)),e}return Rh()(i,t),i.prototype.sh=function(t){return Object.assign({},this.kl(),{ad_sys:this[gE],adid:this[wE],plcid:this[yE]},Je.call(this,t))},i}(YS),_E=Symbol(),TE=Symbol(),ME=Symbol(),IE=Symbol(),jE=Symbol(),NE=Symbol(),RE=Symbol(),kE=Symbol(),LE=Symbol(),DE=Symbol(),CE=Symbol(),PE=function(t){function i(i,n,s,e,r,h){if((s=t.call(this,n,s,e,h)||this)[_E]=i,s[TE]=r,s[RE]={},r=wo()(s),e=n.getUrl(),n=[],r[_E])for(r=r[_E],n.push(r.Ae);r.parent;)r=r.parent,n.push(r.Ae);else n.push(e);return n=n.reverse(),s[ME]=n,s[kE]=0,s[LE]=i&&i.Ib,n=(i=wo()(s))[ME],i[jE]=qh.a.kd(n[0]||""),1<n.length?(i[IE]=qh.a.kd(n[1]||""),i[NE]=n.length-1):i[NE]=0,Ke.call(wo()(s)),s}Rh()(i,t);var n=i.prototype;return n.Sh=function(t,i){return Object.assign({},this.ll(),{f_call:this[jE],f_hop:this[IE],n_hop:this[NE]},tr.call(this,t,i))},n.cl=function(t){return t?this[RE][t]:ir.call(this)},i}(VS),xE=Symbol(),UE=Symbol(),VE=Symbol(),BE=Symbol(),FE=Symbol(),zE=Symbol(),HE=Symbol(),YE=Symbol(),GE=Symbol(),WE=Symbol(),qE=Symbol(),XE=Symbol(),QE=function(){function t(){}var i=t.prototype;return i.kt=function(t){this[xE]={},this[VE]=t,this[FE]=0,this[BE]=0,this[GE]=t.Ga().N("smartViewability")},i.ai=function(t,i,n,s){if(this[VE]){this[zE]=null,this[HE]=null,this[YE]=null;var e=i.Qe;if(this[zE]=e,this[BE]+=1,!this[UE]||2!==this[UE]){var r=1;i.ce()&&(r=2),this[UE]=r}r=this[VE].Gp().uo,t="GEMINI"===i.getAdEngineType()?new eE(t,i,n,s,r,this[BE]):new PE(t,i,n,s,r,this[BE]),this[qE]=t,this[xE][e]=this[qE]}},i.Gm=function(t){this[qE]&&this[qE].Gm(t)},i.ah=function(){this[qE]&&this[qE].ah()},i.No=function(){this[FE]+=1},i.Am=function(t,i){this[HE]=t,this[YE]=i,this[WE]=this[qE]&&this[qE].cl([this[HE]])},i.Pi=function(t){this[WE]&&this[WE].Pi(t)},i.Oi=function(t){this[WE]&&this[WE].Oi(t)},i.Si=function(t){this[WE]&&this[WE].Si(t)},i.Qi=function(t){this[WE]&&this[WE].Qi(t)},i.Ni=function(t){this[qE]&&this[qE].Ni(t)},i.vs=function(){this[BE]=0,this[FE]=0,this[XE]=null,this[UE]=null},i.rm=function(t,i,n,s){return i&&i!==this[zE]?t=i&&(s=this[xE][i])?Object.assign({},nr.call(this),s.Sh(void 0,void 0),t||{}):t||{}:(i=this[qE],n=n||this[HE],s=s||this[YE],t=i?Object.assign({},nr.call(this),i.Sh(n,s),t||{}):t||{}),t},t}(),ZE=Symbol(),JE=Symbol(),KE=function(){function t(t){this[ZE]=t.dom,this[JE]=t.geminiMacrosResolver}return t.prototype.Zk=function(t){var i=this,n=t.Ai;t.nm.forEach((function(t){i[ZE].createElement("img").src=i[JE].resolve(t,n)}))},t}();KE.U=["dom","geminiMacrosResolver"];var $E=Symbol(),tO=Symbol(),iO=Symbol(),nO=Symbol(),sO=Symbol(),eO=Symbol(),rO=Symbol(),hO=Symbol(),oO=Symbol(),uO=Symbol(),aO=Symbol(),cO=Symbol(),fO=Symbol(),lO=Symbol(),vO=Symbol(),dO=Symbol(),pO=Symbol(),mO=Symbol(),bO=Symbol(),yO=Symbol(),gO=Symbol(),wO=Symbol(),SO=Symbol(),EO=Symbol(),OO=Symbol(),AO=Symbol(),_O=Symbol(),TO=Symbol(),MO=Symbol(),IO=Symbol(),jO=Symbol(),NO=_h.a.R("AdSystem"),RO=function(){function t(t){this[tO]=t.adContainerProvider,this[_O]=t.adTracker,this[cO]=t.config,this[dO]=t.injector,this[eO]=t.adsConfig,this[fO]=t.eventBus,this[MO]=t.environment,this[nO]=this[dO].ya(Pd),this.Ff(),this[dO].te("secureRunner",IS).te("insecureRunner",sS).te("blockedCategoriesHandler",Lw).la("scriptLoader",rd).la("moatIvtResolver",wS).la("geminiMacrosResolver",Hw).Oa("adTimeLogger",this[sO]).la("beaconDataHolder",QE).te("geminiPixelsTracker",KE),this[dO].N("geminiMacrosResolver").ve(this),this[yO]=this[dO].ya(sp).ve(this),this[IO]=!!qh.a.Db("nosyncpixels")||!!this[cO].Wa("nosyncpixels")||!1,this[cO].kr()||this[IO]||(.2>=Math.random()||qh.a.Db("forceSmartPixel"))&&jS.sd("https://tag.sp.advertising.com/sp.js",!1,!0),NO.debug("setup"),this.addEventListener($o.fg,pr.bind(this)),this.addEventListener($o.Ya,dr.bind(this)),this.addEventListener($o.Ge,lr.bind(this)),this.addEventListener($o.kc,vr.bind(this)),this.addEventListener($o.jg,fr.bind(this)),this.addEventListener("AdSystem.LinearChange",cr.bind(this)),this[_O].Ls(this[eO]),this[_O].Jo()}var i=t.prototype;return i.Ff=function(){this[rO]=0,this[hO]=0,this[SO]=0,this[OO]=0,this[oO]=0,this[jO]=0,this[pO]=!1,this[vO]=!1,this[lO]=new ka.a,this[mO]=[],this[aO]=!1,this[sO]=new Rw(this),this[nO].reset(),this[uO]=new Ew(this,this[nO]),this[uO].setVolume(this[OO]),this[uO].addEventListener(Ko.lg,or.bind(this))},i.ws=function(){this.rf=!1,this.removeEventListener($o.Mb,gr.bind(this))},i.load=function(t,i){this.li(t,this.bm.bind(this,null,i,null))},i.li=function(t,i){t=t||{},NO.debug("Load ads",t),t.type&&(this[EO]=t.type),"Preroll"===this[EO]&&0!=this[SO]++%this[eO].Co?i():(t.preloadedConfig&&yr.call(this,t.preloadedConfig),Jo.a.group(Jo.a.ua(this[fO],Bc.Me,br.bind(this,i)),Jo.a.ua(this[fO],Bc.LOADED,mr.bind(this,i))),this[nO].ms(this[EO],t.originalTime,t.preloadedConfig),clearTimeout(this[iO]),clearTimeout(this[bO]),0<(i=this[eO].Gr)&&(this[iO]=setTimeout(ar.bind(this),i)),t.loadTimeLimit&&"Preroll"===this[EO]&&(this[bO]=new ro(ur.bind(this),t.loadTimeLimit,!0)))},i.bm=function(t,i,n){var s=this;NO.info("loadEntries",t,"of type",i," of type ",n),n&&(n===this[EO]?(this[rO]=this[eO].zc,this[oO]=0):this[EO]=n),this[bO]&&this[bO].resume(),this[TO]=i,t&&(this[nO].Js(t),this[mO]=sr.call(this,this[nO].th(this[EO]))),this[wO]=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};s[bO]&&s[bO].gh(),t.timings=s[AO],s[TO]&&s[TO](t),s[wO]=null,s[TO]=null},0<this[mO].length?this[uO].load(this[mO],this[wO]):this[wO]&&this[wO]()},i.Ui=function(){NO.info("Start ads",this[mO],"of type",this[EO]),this[aO]=!0,0<this[mO].length?(NO.debug("blockPlayer"),Qt(this[EO])&&this[lO].eb(Jo.a.ua(this,$o.Ya,this.dispatchEvent.bind(this,new $o($o.gn,this[EO])))),this[uO].ue()):(NO.info("No ads to start - resume content"),er.call(this,"NO_ADS"))},i.$r=function(){NO.debug("Pause Ads"),this[uO].pause()},i.isPlaying=function(){return!this[uO].Hc()},i.Fs=function(){NO.debug("Resume Ads"),this[uO].resume()},i.setVolume=function(t){NO.debug("Set Volume",t),this[OO]=t,this[uO].setVolume(this[OO])},i.mute=function(t){NO.debug("Mute"),t?(this[gO]=this[OO],this.setVolume(0)):0<this[gO]?this.setVolume(this[gO]):0===this[OO]&&this.setVolume(1)},i.isMuted=function(){return!this[OO]},i.getDuration=function(){return this[uO].getDuration()},i.Va=function(){return this[uO].Va()},i.getAdSkippableState=function(){return this[uO].getAdSkippableState()},i.getVolume=function(){return this[OO]},i.$p=function(){return this.ob().La},i.Fb=function(){return this[uO].Fb()},i.Gb=function(){return this[uO].Gb()},i.bq=function(){return"".concat(this[cO].El(),"/").concat(this[cO].Bf()," ").concat("VerizonAdPlugin","/").concat("0.0.36")},i.stop=function(t){NO.debug("stop"),t&&(this[pO]=!0),this[wO]=null,this[TO]=null,this[uO]&&this[uO].stop(t)},i.skip=function(){NO.debug("skip"),this.dispatchEvent(new Ko("Reporting.Basic.Click",{Gk:"skipAhead"})),this[uO].skip(),this.dispatchEvent(new $o($o.jj,this[EO]))},i.Yb=function(){return this[yO]},i.Lr=function(){this[uO].stop(),or.call(this)},i.xq=function(){return this[rO]},i.Op=function(){return this[hO]},i.ob=function(){return this[eO]},i.$d=function(){return this[cO]},i.Vl=function(){return this[oO]<this[eO].zc},i.Gp=function(){return this[tO].cq()},i.resize=function(){this.dispatchEvent("AdSystem.Resize")},i.Ga=function(){return this[dO]},i.ia=function(){return this[$E]},i.getTimeLog=function(){return this[sO].Bq()},i.wh=function(){return this[EO]},i.addEventListener=function(t,i,n){this[fO].addEventListener(t,i,n)},i.removeEventListener=function(t,i){this[fO].removeEventListener(t,i)},i.dispatchEvent=function(){this[fO].dispatchEvent.apply(this[fO],arguments)},i.invokeAdMethod=function(t,i){this.dispatchEvent("AdSystem.InvokeAdMethod",{data:i,name:t})},i.getCurrentTime=function(){return this[uO].getCurrentTime()},i.Hp=function(){return this[jO]},i.Cb=function(){return this[uO].Cb()||-1},i.Eb=function(){var t=-1,i=this[uO].Eb();return i&&(t=encodeURIComponent("".concat(i.Vh," ").concat(i.value))),t},i.jv=function(){return this[hO]},i.Ip=function(){var t=this[eO].zc;return-1===t?12341234:t},t}();RO.U="injector adTracker config eventBus adsConfig adContainerProvider externalTracker errorTracker urls display parametersCombine smartViewability moatViewability slotOpportunityHandler environment".split(" ");var kO=Symbol(),LO=Symbol(),DO=Symbol(),CO=_h.a.R("AdTracker"),PO=function(t){function i(i){var n=t.call(this,i)||this;return n[kO]=i.eventBus,n[DO]=i.hostWindowParamsObtainer,n}Rh()(i,t);var n=i.prototype;return n.Jo=function(){this[LO]||(this[LO]=Jo.a.group(Jo.a.bind(this[kO],"Reporting.Ad.Request",wr.bind(this)),Jo.a.bind(this[kO],"Reporting.Ad.Issue",Sr.bind(this)),Jo.a.bind(this[kO],"Reporting.Ad.Engine.Request",Er.bind(this)),Jo.a.bind(this[kO],"Reporting.Ad.Engine.Response",Or.bind(this)),Jo.a.bind(this[kO],"Reporting.Ad.Engine.Flow",_r.bind(this)),Jo.a.bind(this[kO],"Reporting.Basic.Click",Tr.bind(this)),Jo.a.bind(this[kO],"Reporting.Ad.Slot.Opportunity",Mr.bind(this))))},n.detach=function(){this[LO]&&this[LO].fa()},n.Ls=function(t){this.bb=t,this.Gn=t.pp},i}(zh);PO.U="config debugInfo environment eventBus moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var xO=Symbol(),UO=Symbol(),VO=Symbol(),BO=Symbol(),FO=Symbol(),zO=Symbol(),HO=Symbol(),YO=Symbol(),GO=Symbol(),WO=Symbol(),qO=Symbol(),XO=Symbol(),QO=Symbol(),ZO=Symbol(),JO=Symbol(),KO=Symbol(),$O=Symbol(),tA=Symbol(),iA=Symbol(),nA=Symbol(),sA=Symbol(),eA=function(){function t(t){this[xO]=t,this[QO]=this[xO].bcid,this[ZO]=this[xO].id,this[zO]=this[xO].timestamp,this[UO]={},this[VO]={},this[BO]={},this[GO]=!1,this[WO]=this[xO].macros||{},this[qO]=Eh.l(this[WO],"rm."),this[FO]={vvuid:t.vvuid||w(this[zO])},this[JO]=this[xO].isEU}var i=t.prototype;return i.Qw=function(t){this[GO]=t},i.Bv=function(){return this[HO]},i.Uw=function(t){t&&(this[HO]=t)},i.Fv=function(){return this[XO]},i.Vw=function(t){t&&(this[XO]=t)},i.Eh=function(){return this[xO].sid},i.Pw=function(t){this[xO].bid=this[xO].bid||{},this[xO].bid.id=t},i.yh=function(){return this[xO].bid&&this[xO].bid.id||""},i.Vv=function(){return{}},i.Al=function(){return this[UO]},i.Em=function(t){this[UO].aegOverride=t},i.wf=function(){return this[QO]},i.Ns=function(t){this[QO]=t},i.Af=function(){return this[ZO]},i.Zs=function(t){this[ZO]=t},i.ae=function(){return this[xO].playerType||"o2unit"},i.El=function(){return this[xO].playerName||"unknown"},i.$l=function(){return"VDMS"===this.ae()},i.tq=function(){return this[zO]},i.Jp=function(){return this[BO]},i.Is=function(t){this[VO]=t},i.tf=function(){return this[VO]},i.Bf=function(){return this[xO].jsVersion},i.getParameters=function(){var t={};return Eh.g(this.ml(),t),Eh.g(this[WO],t),t},i.ml=function(){var t={bcid:this.wf(),bid:this.yh(),pid:this.Af(),pt:this.ae(),pv:this.Bf(),r:wh.a.pb(window),s:qh.a.gb()?"true":void 0,sid:this.Eh(),vvuid:this[FO].vvuid};return this[HO]&&(t.orgId=this[HO]),this[XO]&&(t.plcid=this[XO]),this[tA]&&(t.spid=this[tA]),this[$O]&&(t.pblob=this[$O]),this[KO]&&(t.vrid=this[KO]),t},i.Ft=function(t){Eh.g(t,this[BO])},i.Wa=function(t){return t="string"==typeof t?t.toLowerCase():t,this[WO]["m."+t]||this[WO][t]},i.xh=function(){return this[WO]},i.Pq=function(){return this[qO]},i.Gh=function(){return this[FO]},i.Gt=function(t){this[FO].vvuid=t},i.Cv=function(t){return this.Al()[t]||{}},i.Cl=function(){return this[xO]},i.Zl=function(){return-1!==(this[xO].queryString||"").indexOf("tbv=on")},i.jd=function(){return this[xO].geo},i.re=function(){return this[GO]||Eh.c.re()},i.Yw=function(t){this[YO]=t},i.md=function(){return this[YO]},i.vf=function(){return this[xO].adSettings},i.Uq=function(){return this[xO].trackingEnabled},i.le=function(){return this[xO].autoplay},i.Xl=function(){var t=this.le();if(!t)return 0;var i=this.re();return void 0===i?t:t&&i?1:0},i.er=function(){return this[xO].aggressiveMode},i.hw=function(){return this[xO].frosOnly},i.wr=function(){return"1"===this.Wa("secureVPAIDsMode")},i.yf=function(){return this[xO].GDPRData},i.Mq=function(){return this[xO].preview},i.kr=function(){return this[JO]},i.Kv=function(){return null},i.Ms=function(t){this[xO].bckt=t},i.Rp=function(){return this[xO].bckt},i.Us=function(t){this[xO].expn=t},i.oq=function(){return this[xO].expn},i.Ts=function(t){this[xO].expb=t},i.nq=function(){return this[xO].expb},i.Ys=function(t){this[$O]=t},i.jt=function(t){this[tA]=t},i.Ss=function(t){this[iA]=t},i.ql=function(){return this[iA]},i.gt=function(t){this[nA]=t},i.Hl=function(){return this[nA]},i.ht=function(t){this[sA]=t},i.Il=function(){return this[sA]},t}(),rA=Symbol(),hA=Symbol(),oA=Symbol(),uA=Symbol(),aA=Symbol(),cA=Symbol(),fA=Symbol(),lA=Symbol(),vA=function(){function t(t){this[cA]=t.eventBus,Jo.a.bind(this[cA],Bc.LOADED,Rr.bind(this))}var i=t.prototype;return i.Zi=function(t){var i;t:{for(i=0;i<this[hA].length;i++)if(!this[hA][i].type||this[hA][i].type===t.type){this[hA].splice(i,i+1),i=!0;break t}i=!1}i&&(this[aA]=t.type,Nr.call(this,t),this[cA].dispatchEvent(new Ko("Reporting.Ad.Slot.Opportunity",{ip:this[fA],jr:!this[rA],slot:this[rA]||this[oA],type:this[aA]})),this[rA]=void 0,this[uA]=void 0)},i.zm=function(){var t=this;po()(this[hA]).forEach((function(i){"Preroll"!==i.type&&"Bumper"!==i.type||t.Zi(i)}))},i.Et=function(t,i){this[lA][i]=t},t}();vA.U=["eventBus"],Do.a.Ff(qh.a.Db("oathPlayerBuildEnvironment")||"prod");var dA=Symbol(),pA=Symbol(),mA=Symbol(),bA=Symbol(),yA=Symbol(),gA=Symbol(),wA=function(){function t(){this[dA]=new yo("injector")}var i=t.prototype;return i.nt=function(t){this[yA]=t.slot;var i=this[yA].ownerDocument||window.document;t.dontPredefineVideoTag||(this[pA]=t.video||this[yA].appendChild(Object(Eh.i)(i)),this[pA]=Array.isArray(this[pA])?this[pA]:[this[pA]]),this[mA]=new ao.a(i),this[bA]={adSettings:{adStrategy:"ADSET_BASED",aeg:[],asids:[],domainOptimisation:!0,podSize:-1,prerollInterleave:1,timeout:{hard:7,maxLinearShow:3600}},bcid:Do.a["default.bcid"],bid:{id:Do.a["default.bid"]},id:Do.a["default.pid"],isEU:!0,jsVersion:"0.0.36",sid:w(),timestamp:+new Date},i="boolean"==typeof t.disableFailoverOnDlvFailure&&t.disableFailoverOnDlvFailure;var n="boolean"==typeof t.adCallWithCredentialsAlways&&t.adCallWithCredentialsAlways,s="boolean"==typeof t.disableVIPAdCallRetry&&t.disableVIPAdCallRetry,e="boolean"==typeof t.disableOneVideoAdCallRetry&&t.disableOneVideoAdCallRetry;this[bA].frosOnly=t.frosOnly,this[bA].playerType=t.playerType||"VRM_plgn",this[bA].trackingEnabled=!0,this[bA].bcid=t.buyerCompanyId,this[bA].geo=t.geo,this[bA].id=t.playerId,this[bA].sid=t.sid||this[bA].sid,this[bA].jsVersion=t.jsVersion||this[bA].jsVersion,this[bA].bid.id=t.playlistId||this[bA].bid.id,this[bA].vvuid=t.vvuid,this[bA].autoplay=t.autoplay,this[bA].macros=t.macros,this[bA].overrideUrls=t.overrideUrls,this[bA].currentVideo=t.currentVideo,this[bA].aggressiveMode=t.aggressiveMode,this[bA].adSettings=this[bA].adSettings||{},this[bA].adSettings.timeout=t.timeout||{},this[bA].adSettings.adStrategy=t.adStrategy||"CONTENT_BASED",this[bA].adSettings.skipSettings=t.skipSettings||{},this[bA].adSettings.asids=t.asids,this[bA].adSettings.aeg=t.aeg,this[bA].adSettings.podSize=t.podSize,this[bA].adSettings.prerollInterleave=t.prerollInterleave,this[bA].adSettings.domainOptimisation=t.domainOptimisation,this[bA].adSettings.chromeHackPreinitialisation=t.chromeHackPreinitialisation,this[bA].adSettings.isBrandedContent=t.isBrandedContent,this[bA].adSettings.clickThroughUrl=t.clickThroughUrl,this[bA].adSettings.disableFailoverOnDlvFailure=i,this[bA].adSettings.adCallWithCredentialsAlways=n,this[bA].adSettings.disableVIPAdCallRetry=s,this[bA].adSettings.disableOneVideoAdCallRetry=e,this[gA]=t.fakeViewability,this[bA].GDPRData=t.GDPRData,this[bA].isEU=!1!==t.isEU,this[bA].playerName=t.playerName},i.As=function(){var t=new eA(this[bA]),i=new ru(t,this[bA].overrideUrls),n=new Zo;if(this[pA]&&1<this[pA].length){var s=this[pA][0].parentElement||this[pA][0];n.Fm(this[pA][0]),n.Ws(this[pA][1])}else s=this[yA];var e=wh.a.Nh(window)||window;this[dA].Oa("config",t).Oa("debugInfo",Th).Oa("urls",i).Oa("videoTagProvider",n).Oa("adContainerProvider",new xu(this[yA])).Oa("dom",this[mA]).Oa("viewabilitySubject",s).Oa("hostWindowProvider",new lo(e)).la("eventBus",jh.default).la("environment",Du).la("hostWindowParamsObtainer",fo).la("adsConfig",sd).la("primalTracker",Bh).la("display",Au).la("slotOpportunityHandler",vA).la("errorTracker",$h),this[gA]?this[dA].la("moatViewability",g(ko)).la("intersectionViewability",g(_o)).la("smartViewability",g(Qo)):this[dA].la("moatViewability",ko).la("intersectionViewability",_o).la("smartViewability",Qo),this[dA].la("adTracker",PO).la("parametersCombine",Lo).la("externalTracker",zh).la("actionTracker",Wh).la("adSystem",RO).la("videoTracker",eo).la("videoTrackerManager",uo),t=this[dA].N("adSystem"),(i=this[dA].N("environment")).ve(t),this[bA].currentVideo&&i.Qs(this[bA].currentVideo)},i.$d=function(){return this[bA]},i.Ga=function(){return this[dA]},t}(),SA=n(18),EA="external-player-item-loaded",OA="external-player-mute-changed",AA="external-player-paused",_A="external-player-play-complete",TA="external-player-play-requested",MA="external-player-error",IA="external-player-playing",jA="external-player-item-skipped",NA="external-player-time-update",RA="external-player-volume-changed",kA="ad-plugin--breaks-available",LA="ad-plugin--break-resolve-error",DA="ad-plugin--break-resolved",CA="ad-plugin--subtitles-found",PA="ad-plugin--metrics",xA="ad-plugin--diagnostics",UA="ad-plugin-nonlinear-ad-rendered",VA="ad-plugin-nonlinear-ad-clicked",BA="ad-plugin-nonlinear-ad-dismissed",FA=n(34),zA=Symbol(),HA=Symbol(),YA=Symbol(),GA=Symbol(),WA=Symbol(),qA=Symbol(),XA=Symbol(),QA=Symbol(),ZA=Symbol(),JA=Symbol(),KA=Symbol(),$A=Symbol(),t_=Symbol(),i_=Symbol(),n_=function(){function t(t){this[zA]=t.adSystem,this[YA]=t.pluginEventBus,this[QA]=t.adBlockerSniffer,this[JA]=t.slotOpportunityHandler,this[t_]=t.metricsEventHandler,this[i_]=t.beaconDataHolder,this[GA]=!1,Cr.call(this),this[YA].addEventListener(LA,sh.bind(this))}var i=t.prototype;return i.dr=function(){return this[GA]},i.Ii=function(){this[KA]=!1},i.xs=function(){this.Gc=void 0},i.Ca=function(t,i,n){var s;n&&(s=this[i_].rm(n)),null!=i&&s?this[YA].dispatchEvent(t,i,s):null!=i?this[YA].dispatchEvent(t,i):this[YA].dispatchEvent(t,s)},t}();n_.U="adSystem pluginEventBus adBlockerSniffer slotOpportunityHandler metricsEventHandler beaconDataHolder".split(" ");var s_=Symbol(),e_=Symbol(),r_=Symbol(),h_=Symbol(),o_=function(){function t(t){this[s_]=t.videoTrackerManager,this[e_]=t.slotOpportunityHandler,this[r_]=t.environment,this[h_]=t.adSystem}return t.prototype.onPlayerEvent=function(t,i){switch(t){case FA.c:t=ou()(i,1)[0],this[e_].zm(),this[r_].Tr(),this[r_].Hm(0),this[r_].we(t.duration),this[s_].vi(),this[s_].we(t.duration),this[s_].Sr();break;case FA.b:t=ou()(i,1)[0],this[r_].Hm(t),this[s_].Nf(t);break;case FA.a:this[s_].Rr();break;case FA.d:this[h_].dispatchEvent($o.qj,i)}},t}();o_.U=["adSystem","slotOpportunityHandler","videoTrackerManager","environment"];var u_=Symbol(),a_=Symbol(),c_=Symbol(),f_=function(){function t(t){this[a_]=t.pluginEventBus,this[u_]=[]}var i=t.prototype;return i.dispatchEvent=function(t,i){if("ad_oppty"===i.evt)var n=this[c_]=!0;this[c_]||"ad_req"===i.evt?this[a_].dispatchEvent(t,i):this[u_].push({event:t,Xr:i}),n&&uh.call(this)},i.cs=function(){this[c_]=!1},t}();f_.U=["pluginEventBus"];var l_=function(){function t(){}return t.prototype.ut=function(t){var i=(t=t.YVAP.standaloneAd).gemini;return t={ads:[{actionUrls:t.beacons,rules:t.rules,tag:JSON.stringify({assets:[{mediaInfo:i.mediaInfo,usageType:"VIDEO_PRIMARY"}],callToAction:i.callToAction||"",clickUrl:i.clickUrl,headline:i.headline||"",source:i.source||""})}]},{schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"GEMINI",adTypes:["Preroll"],name:"Empty - Preroll",rcid:"5512a39b09eab108e072da23",rid:"5c4ef9c68fcaa91a27b5d264",url:"http://s3.amazonaws.com/vdb-cdn-files/dev/player-auto-tests/vast/empty.xml",usesShim:!1,vastXml:JSON.stringify(t),vendor:"5d7bd3fa10ca046303bc3d36",vendorName:"standalone_gemini_native"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:"PREROLL"}],type:"PREROLL"}]},slot:"AVAIL",version:"2"}},t}(),v_=n(36),d_=Symbol("adBreaks"),p_=Symbol("adSystem"),m_=Symbol("overlayAdBreak"),b_=Symbol("vastLoadPromise"),y_=Symbol("eventBus"),g_=Symbol("prepairedItems"),w_=Symbol("slotOppHandler"),S_=Symbol("metricsEventHandler"),E_=Symbol(),O_=Symbol(),A_=function(){function t(t){this[p_]=t.adSystem,this[w_]=t.slotOpportunityHandler,this[S_]=t.metricsEventHandler,this[d_]=[],this[y_]=new jh.default,this[g_]=[]}var i=t.prototype;return i.$s=function(t){this[m_]&&fh.call(this,t)},i.ds=function(){var t=this[d_].find((function(t){return t.type===v_.c}));t&&(this[m_]=t)},i.preparePlayback=function(i,n){var s=this;this[b_]=null,this[E_]=null,this[O_]=null,this[p_].removeEventListener($o.Mb,this.$b),this[p_].ws();var e=i.adBreakItemId;return-1===this[g_].indexOf(e)&&this[g_].push(e),this[S_].cs(),this[O_]=n,this[O_]||(this[E_]=new Sh.a((function(t){s.$b=function(){s[p_].removeEventListener($o.Mb,s.$b),t()},s[p_].addEventListener($o.Mb,s.$b)}))),this[b_]||(this[b_]=lh.call(this,i)),this[b_].then((function(){s[b_]=null,s[y_].dispatchEvent(t.cj,i)}),(function(){s[O_]=null,s[b_]=null,s[E_]=null}))},i.resolveAdBreak=function(t){var i=this;return new Sh.a((function(n){i[p_].li({originalTime:N(t.startTime,!0),type:"midroll"===t.type?"Midroll":"Preroll"},(function(i){i=i.se,t.adBreakItems=ch(i&&i[0]),n()}))}))},i.play=function(t,i){var n=this;return this[O_]||i?(this[b_]||Sh.a.resolve()).then((function(){n[w_].Zi(t.customInfo.slot),n[O_]=null,n[p_].Ui()})):((this[b_]||Sh.a.resolve()).then((function(){n[w_].Zi(t.customInfo.slot)})),this[O_]=null,this[E_].then((function(){n[E_]=null,n[p_].Ui()})))},i.fetchAdBreaks=function(t){var i,n=this;return this[p_].Ff(),t&&((i=(i=t).aeg)&&i.forEach((function(t){t.forEach((function(t){"overlay"===(t.type||t.adTypes&&t.adTypes[0]).toLowerCase()&&(t.slot=t.slot||{},(t=t.slot).width="45%",t.position=s.pg,t.left="18.5%",t.top="90%")}))}))),new Sh.a((function(i){n[p_].li({preloadedConfig:t},(function(t){n[d_]=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){var n=ch(i);if(0<n.length||"Midroll"===i.type){var s=i.time?Object(Eh.J)(i.time):0;(s={adBreakId:w(),adBreakItems:n,mimetype:"adplugin/vrm",startOffset:s,startTime:s}).type=n[0]&&n[0].customInfo.hasGemini?v_.b:i.type&&"Overlay"===i.type?v_.c:i.type&&i.type.toLowerCase(),s.type=s.type||"preroll",t.push(s)}})),t}(t.se),t=n[d_].map((function(t){var i=Object.assign({},t);return i.adBreakItems=t.adBreakItems.slice(),i})),i(t)}))}))},i.cleanupAdBreak=function(){this[w_].zm()},i.addEventListener=function(t,i){this[y_].addEventListener(t,i)},i.removeEventListener=function(t,i){this[y_].removeEventListener(t,i)},t}();A_.U=["adSystem","slotOpportunityHandler","metricsEventHandler"],A_.cj="AdBreakManager.AD_BREAK_PREPARED";var __=_h.a.R("VrmAdPlugin"),T_=Symbol("adBlockerSniffer"),M_=Symbol("adBreakManager"),I_=Symbol("eventBus"),j_=Symbol("fetchedOnce"),N_=Symbol("injector"),R_=Symbol("playerEventHandler"),k_=Symbol("adSystemEventHandler"),L_=Symbol("slot"),D_=Symbol("adSystemStarter"),C_=Symbol("adSystem"),P_=Symbol("config"),x_=Symbol("beaonDataHolder"),U_=function(){function t(){__.debug("init"),this[I_]=new jh.default,this[D_]=new wA,this[N_]=this[D_].Ga(),this[T_]=new Ih,this[T_].check(),this[N_].Oa("pluginEventBus",this[I_]),this[N_].Oa("adBlockerSniffer",this[T_]),this.type="ad-plugin",this.mimetype="adplugin/vrm",this.version="0.0.36"}var i=t.prototype;return i.getCapabilities=function(){return["1","2"]},i.prepare=function(t){var i=this;__.debug("prepare",t),t=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1];(t=Object.assign({},t)).playerType="VDMS",t.macros=t.macros||{},t.macros["m.".concat("disable_3p")]=!0,t.macros["m.".concat("securevpaidsmode")]="1",t.macros["m.".concat("disableflashad")]="1",t.dontPredefineVideoTag=!0,t.sid=t.playerGuid||w(),t.playerId=i?"5b3260f8dbaab35b11ca3a6e":"5afc75ea3a04293dad9f1a1f",t.buyerCompanyId=i?"5b32606132679a7241fe5ca9":"5afc769f7239855a15fcee15";var n=t.timeout||{};return t.timeout=n,n.hard=n.hard||3,n.start=n.start||12,n.maxAdSearch=n.maxAdSearch||30,t.currentVideo={id:i?"5b3261c2cd472447b9cd4d4b":"5ba51c50007d0c73e2b8eddd"},t.slot||((i=document.createElement("div")).style.width="100%",i.style.height="100%",t.slot=i),t}(t),this[L_]=t.slot,this[D_].nt(t),this[D_].As(),this[N_].te("metricsEventHandler",f_),this[R_]=this[N_].ya(o_),this[k_]=this[N_].ya(n_),this[M_]=this[N_].ya(A_),this[P_]=this[N_].N("config"),function(t){var i=SA.a.od(),n=SA.a.pb()||"undefined",s=SA.a.gb(),e=t.vvuid,r=t.queryString||"";t="".concat(Do.a["tracking.url"],"impression.gif?")+"pid=".concat(t.id||Do.a["default.pid"],"&")+"bcid=".concat(t.bcid||Do.a["default.bcid"],"&")+"".concat(e?"vvuid=".concat(e,"&"):"")+"s=".concat(s,"&")+"pv=".concat(t.jsVersion||"0.0.36","&")+"ifr=".concat(window!==i,"&")+"cb=".concat(Math.random(),"&")+"pt=".concat(t.playerType,"&")+"sid=".concat(t.sid,"&")+"r=".concat(encodeURIComponent(n))+"".concat(-1===r.indexOf("tbv=on")?"":"&itg=tbv"),(i=document.createElement("img")).src=t}(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?vh(Object(n),!0).forEach((function(i){yh()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vh(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},t,{vvuid:this[P_].Gh().vvuid})),this[M_].addEventListener(A_.cj,(function(t){i[k_].Ca(EA,t,{})})),t=this[N_].N("actionTracker");var n=this[N_].N("environment");this[C_]=this[N_].N("adSystem"),this[x_]=this[N_].N("beaconDataHolder"),t.display(n.be())},i.addEventListener=function(t,i){this[I_].addEventListener(t,i)},i.removeEventListener=function(t,i){this[I_].removeEventListener(t,i)},i.onPlayerEvent=function(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];__.debug("onPlayerEvent",t,n),this[R_].onPlayerEvent(t,n),t===FA.b&&this[M_].$s(n[0])},i.fetchAdBreaks=function(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this[x_].kt(this[C_]),this[k_].xs(),__.debug("fetchAdBreaks",i);var n=i.refId;i=i.config.YVAP?this[N_].ya(l_).ut(i.config):i.config,this[j_]?this[P_].Gt(w()):this[j_]=!0,this[M_].fetchAdBreaks(i).then((function(i){t[k_].Ca(kA,{adBreaks:i,refId:n})}))},i.resolveAdBreak=function(t){var i=this;__.debug("resolveAdBreak",t),0<t.adBreakItems.length?this[k_].Ca(DA,t):this[M_].resolveAdBreak(t).then((function(){0<t.adBreakItems.length?i[k_].Ca(DA,t):i[k_].Ca(LA,t,{r_code:100})}))},i.preparePlayback=function(t,i,n){this[x_].vs(),t.customInfo.slot.aeg.every((function(t){return!(0<t.length)})),__.debug("preparePlayback",t,i,n),n&&this[L_]&&n.appendChild(this[L_]),i&&this[N_].N("videoTagProvider").Fm(i),this[k_].Ii(),this[M_].preparePlayback(t)},i.play=function(t){var i=this;__.debug("play",t),this[k_].dr()?this[C_].Fs():this[M_].play(t).then((function(){i[k_].Ca(TA,null,{})}))},i.pause=function(){__.debug("pause"),this[C_].$r()},i.seek=function(){__.debug("seek")},i.stop=function(){__.debug("stop"),this[C_].stop(!0)},i.skip=function(){__.debug("skip"),this[C_].skip()},i.mute=function(t){__.debug("mute"),this[C_].mute(t)},i.isMuted=function(){return this[C_].isMuted()},i.setVolume=function(t){__.debug("setVolume",t),this[C_].setVolume(t)},i.getVolume=function(){return this[C_].getVolume()},i.getCurrentTime=function(){return this[C_].getCurrentTime()},i.getDuration=function(){return this[C_].getDuration()},i.unload=function(){__.debug("unload"),this[C_]&&this[C_].stop()},i.destroy=function(){__.debug("destroy"),this[L_]=void 0,this[C_]&&this[C_].stop()},i.canRenderUI=function(t){return ah(t.customInfo.slot)},i.renderUI=function(){return null},i.unrenderUI=function(){},i.setNonlinearAdContainer=function(t){__.debug("setNonlinearAdContainer",t),t&&this[N_].N("adContainerProvider").Xs(t),this[M_].ds()},i.cleanupAdBreak=function(t){__.debug("cleanupAdBreak",t),this[M_].cleanupAdBreak()},t}();n.d(i,"VrmAdPlugin",(function(){return U_})),n.d(i,"AdPluginEvent",(function(){return mh}))}])}module.exports=Vr()}).call(this,__webpack_require__("yLpj"))},"0VsI":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.baseconfigSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/baseconfigSchema",type:"object",properties:{site:{type:"string"},siteAnalytics:{type:"string"},region:{type:"string"},referrer:{type:"string"},jurisdiction:{type:"string"},hS:{type:"boolean"},experienceType:{type:"string"},strmExprUnMuteOnClick:{type:"boolean"},experienceName:{type:"string"},experienceBucket:{type:"string"},experienceNavStartTime:{type:"string"},pageSpaceId:{type:"string"},syndication:{type:"string"},allowGeoRequest:{type:"boolean"},geoData:{type:"object",properties:{latitude:{type:"string"},longitude:{type:"string"},accuracy:{type:"string"}}}}}},"0r65":function(t,i){var n=arguments[3],s=arguments[4],e=arguments[5],r=JSON.stringify;t.exports=function(t){for(var i,h=Object.keys(e),o=0,u=h.length;o<u;o++){var a=h[o];if(e[a].exports===t){i=a;break}}if(!i){i=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var c={};for(o=0,u=h.length;o<u;o++){c[a=h[o]]=a}s[i]=[Function(["require","module","exports"],"("+t+")(self)"),c]}var f=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};l[i]=i,s[f]=[Function(["require"],"require("+r(i)+")(self)"),l];var v="("+n+")({"+Object.keys(s).map((function(t){return r(t)+":["+s[t][0]+","+r(s[t][1])+"]"})).join(",")+"},{},["+r(f)+"])",d=window.URL||window.webkitURL||window.mozURL||window.msURL;return new Worker(d.createObjectURL(new Blob([v],{type:"text/javascript"})))}},"0xFk":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.vrmSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/vrmSchema",type:"object",properties:{companyId:{type:"string"},playerId:{type:"string"}}}},"0z0/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.ctvSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/ctvSchema",type:"object",properties:{man:{type:"string"},class:{type:"string"},ctvMetricsParams:{type:"object",properties:{ctv_db:{type:"string"},ctv_dc:{type:"string"},oS:{type:"string"},ctv_di:{type:"string"},ctv_ddv:{type:"string"},ctv_dfv:{type:"string"},uS:{type:"string"},aS:{type:"string"},cS:{type:"string"},fS:{type:"string"},lS:{type:"string"},vS:{type:"string"},ctv_yb:{type:"string"},dS:{type:"string"},ctv_yr:{type:"string"},ctv_ybv:{type:"string"},ctv_yv:{type:"string"},pS:{type:"string"},mS:{type:"string"},bS:{type:"string"}}},forceHttp:{type:"boolean"}}}},"0zFh":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=function(){function t(t){var i=this;this.yS=["clear","getCurrentItem","getCurrentItemDescription","getCurrentItemId","getCurrentItemLiveStatus","getCurrentItemMarkers","getCurrentItemProviderName","getCurrentItemTitle","getIndexForId","getItem","getItemById","getItemId","getItems","getPosition","getSize","removeItem","removeItemById","removeItems","removeItemsById","sendPrefetchInfo","setPosition","setPositionById"],this.jy=t,this.yS.forEach((function(t){i[t]=function(){return this.jy[t].apply(this.jy,arguments)}}))}return t.prototype.addItem=function(t){return this.jy.addItem(this.gS([t])[0])},t.prototype.addItems=function(t,i){return void 0===i&&(i=!1),this.jy.addItems(this.gS(t),i)},t.prototype.setItems=function(t){return this.jy.setItems(this.gS(t))},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.jy=t},enumerable:!0,configurable:!0}),t.prototype.gS=function(t){var i=this.wS();return t.map((function(t){return{id:t,mimetype:i}}))},t.prototype.wS=function(){var t=this.jy.getCurrentItem();return t&&t.mimetype||s.MediaItemInterfaces.MediaItemMimeType.SAPI},t}();i.default=e},"1+S/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("he5r"),r=n("z88l"),h=n("FOY8"),o=function(){function t(t,i){this.name="SapiMoreItemsPlugin",this.version="8.1.398",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.MORE_ITEMS,this.SS=!1,this.ES=null,this.iy=t,this.jy=i,this.AS=new h.default(this.iy)}return t.prototype.resolve=function(t,i){var n=this;if(!this.SS&&this._S(t))switch(t.playlistId=this.iy.playlistId,t.reason){case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:new Promise((function(s){n.AS.resolve(t,i,s)})).then((function(e){t.reason===s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR?n.ES=new Promise((function(s){n.TS(t,i,s)})):n.ES=new Promise((function(t){t()})),n.ES.then((function(t){i.onPromisesResolved(!!e&&!!t)}))}));break;default:this.AS.resolve(t,i)}},t.prototype.cancel=function(){this.AS.cancel()},t.prototype.destroy=function(){this.cancel(),this.SS=!0},t.prototype.prepare=function(){},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.jy=t},enumerable:!0,configurable:!0}),t.prototype._S=function(t){if(!this.jy||this.iy.playlistMimetype===r.STRUCTURED_PLAYLIST_MIMETYPE)return!1;var i=this.jy.getPosition()+1===this.jy.getSize(),n=!(!this.iy.playlistId&&!this.iy.relatedVideoId),h=i&&this.iy.continuousPlay&&!this.iy.loop&&n&&!this.iy.showEndScreen;switch(t.reason){case s.Plugin.MoreItemsReason.PLAYBACK_STARTED:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:return h;case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:return h&&this.iy.skipOnError!==e.SkipOnError.NEVER;case s.Plugin.MoreItemsReason.PLAYER_RENDERED:var o=this.jy;return!(this.iy.loop||this.iy.showEndScreen||!this.iy.videoRecommendations)&&o.getSize()-o.getPosition()<e.PLAYLIST_COUNT_PER_PAGE;case s.Plugin.MoreItemsReason.SCROLLED_TO_END:return this.iy.continuousPlay&&n;default:return!1}},t.prototype.TS=function(t,i,n){this.SS||(t.start=0,t.count=this.iy.playlistItemCount,t.playlistId="",this.AS.resolve(t,i,n))},t}();i.default=o},"1GgL":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("zW5x"),e=function(){function t(t,i){this.MS=null,this.IS=i,this.jS=new s.default(t)}return t.prototype.verify=function(t){if(this.jS){var i={onComplete:function(){t(!0)},onError:function(){t(!1)},onProgress:function(){},onApiCallInfo:function(){}};this.IS&&this.jS.resolve([this.IS],{},{},i)}},t.prototype.scheduleVerification=function(t,i){var n=this;this.NS(),this.MS=window.setTimeout((function(){n.verify(t)}),i)},t.prototype.destroy=function(){this.NS(),this.jS=null,this.IS=null},t.prototype.NS=function(){this.MS&&(clearTimeout(this.MS),this.MS=null)},t}();i.default=e},"1LND":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("8PPl"),e=function(){function t(t){this.Ry=t}return t.prototype.getSize=function(){return this.RS().length},t.prototype.getPosition=function(){var t=this.Ry.getPlaylist();return t?t.position:null},t.prototype.sendPrefetchInfo=function(t){return this.Ry.sendPrefetchInfo(t)},t.prototype.setPosition=function(t){this.kS(t,"setPosition");var i=this.Ry.autoplay,n=i?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.Ry.setPlaylistPosition(t,i,n)},t.prototype.setPositionById=function(t){var i=this.LS(t,"setPositionById"),n=this.Ry.autoplay,e=n?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.Ry.setPlaylistPosition(i,n,e)},t.prototype.addItem=function(t){this.addItems([t])},t.prototype.addItems=function(t,i){if(Array.isArray(t)){var n=this.Ry.getPlaylist();i&&n.removeItems(0,n.size),n.addItems(t);var s=t.map((function(t){var i=t.id;return n.getMediaItemById(i)}));s.length>0&&this.Ry.fetchMetadata(s)}},t.prototype.setItems=function(t){this.addItems(t,!0)},t.prototype.getItems=function(){return this.DS()?this.DS().slice(0):null},t.prototype.getItemId=function(t){return this.kS(t,"getItemId"),this.DS()[t]},t.prototype.getCurrentItemId=function(){var t=this.Ry.getCurrentMediaItem();return t?t.id:null},t.prototype.getCurrentItem=function(){var t=this.Ry.getCurrentMediaItem();return t?this.getItemById(t.id):null},t.prototype.getCurrentItemTitle=function(){var t=this.getCurrentItem();return t?t.title:null},t.prototype.getCurrentItemLiveStatus=function(){var t=this.getCurrentItem();return t?t.isLive:null},t.prototype.getCurrentItemDescription=function(){var t=this.getCurrentItem();return t?t.description:null},t.prototype.getCurrentItemProviderName=function(){var t=this.getCurrentItem();return t&&t.provider?t.provider.name:null},t.prototype.getCurrentItemMarkers=function(){var t=this.Ry.getCurrentMediaItem();return t&&t.videoMarkers||null},t.prototype.getItem=function(t){return this.kS(t,"getItem"),this.getItemById(this.DS()[t])},t.prototype.getItemById=function(t){var i=this,n=this.Ry.mediaStore;if(!n)return null;var s=n.getById(t);return s?{id:s.id,mimetype:s.mimetype,title:s.title,description:s.description,duration:s.duration,publishTime:s.publishTime,provider:s.provider,credits:s.credits,shareUrl:s.shareUrl,setShareUrl:function(t){i.shareUrl=t,s.shareUrl=t},thumbnail:s.thumbnail,visualSeek:s.visualSeek,isLive:s.isLive(),closedCaptions:s.closedCaptions,streams:s.streams,videoMarkers:s.videoMarkers,viewCount:s.viewCount,languages:s.getMultiLanguages(),license:s.license}:null},t.prototype.getIndexForId=function(t){return this.DS().indexOf(t)},t.prototype.removeItem=function(t){this.kS(t,"removeItem"),this.Ry.removePlaylistItems(t,1)},t.prototype.removeItems=function(t,i){var n=this.RS();if(!(t in n)||!(t+i-1 in n))throw new Error("removeItems called with invalid position/count");this.Ry.removePlaylistItems(t,i)},t.prototype.removeItemById=function(t){var i=this.LS(t,"removeItemById");this.Ry.removePlaylistItems(i,1)},t.prototype.removeItemsById=function(t){var i=this;t.forEach((function(t){i.removeItemById(t)}))},t.prototype.clear=function(){this.Ry.removePlaylistItems(0,this.RS().length)},t.prototype.RS=function(){return this.Ry.getPlaylistItems()},t.prototype.DS=function(){return this.Ry.getPlaylistItemIds()},t.prototype.kS=function(t,i){if(!(t in this.RS()))throw new Error(i+" called with invalid position")},t.prototype.LS=function(t,i){var n=this.DS().indexOf(t);if(-1===n)throw new Error(i+" called with id not in playlist");return n},t}();i.default=e},"1get":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("fLR+"),r=n("+kCX"),h=n("R+G7"),o=function(){function t(){}return t.isHtml5MseAvailable=function(){return!!e.isFunction(r.default)&&(!!t.isMSEAvailable()&&(t.isMSECompatible('video/mp4; codecs="avc1.640010"')&&t.isMSECompatible('audio/mp4; codecs="mp4a.40.2"')))},t.useHtml5MseDefault=function(){return s.userAgent.tv?!(s.userAgent.tizen||s.userAgent.orsay||s.userAgent.firetv||s.userAgent.presto)&&!!t.isHtml5MseAvailable():s.userAgent.mobile?!!(s.userAgent.android&&s.userAgent.chrome&&h.default.hasNativeAutoplaySupport):!s.userAgent.winXP&&!s.userAgent.winVista&&(s.userAgent.chrome>=47||s.userAgent.firefox>=44||s.userAgent.ie>=11||s.userAgent.edge>=12)},t.is360Supported=function(){return!!s.userAgent.desktop&&!!(s.userAgent.chrome||s.userAgent.firefox||s.userAgent.opera||s.userAgent.safari)},t.isMSEAvailable=function(){return"undefined"!=typeof MediaSource},t.isMSECompatible=function(t){var i=MediaSource;if(i&&!i.isTypeSupported){var n=document.createElement("video");return!(!n||!n.canPlayType(t))}return!(!i||!i.isTypeSupported(t))},t.isAndroidVersionAbove4=function(){return!!s.userAgent.androidVersion&&parseInt(s.userAgent.androidVersion,10)>=4},t.canPlayType=function(t,i){var n;try{i||(i=document.createElement("video")),n=!!i.canPlayType&&"probably"===i.canPlayType(t)}catch(t){n=!1}return n},t}();i.default=o},"1mKx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=function(){function t(t,i,n,s){var e=this;this.CS=t,this.PS=i?i.sort((function(t,i){return t-i})):[],this.reservoirLength=n||10,this.cushionLength=s||20,this.currentBitrate=0,this.xS={},this.PS.forEach((function(t){e.xS[t]=0})),t&&t.addEventListener("waiting",(function(){e.xS[e.currentBitrate]=e.xS[e.currentBitrate]+1}),!1)}return t.prototype.setTargetBitrate=function(t){s.LocalStorage.put("yvpTargetBitrate",t)},t.prototype.getTargetBitrate=function(){var t=s.LocalStorage.get("yvpTargetBitrate");return(t=parseInt(t,10))||(t=900,this.setTargetBitrate(900)),t},t.prototype.getBufferOccupancy=function(){for(var t=this.CS.buffered,i=this.CS.currentTime,n=0,s=0;s<t.length;s++){var e=t.start(s),r=t.end(s);return e<=i&&r>=i&&(n=r-i)>=this.CS.length-i?Number.MAX_VALUE:n}return n},t.prototype.getRecommendedBitrate=function(t,i,n){i=i||this.PS,n=void 0===n?this.getBufferOccupancy():n,t=void 0===t?i.indexOf(this.currentBitrate):t;var s=i[t],e=i[0],r=i[i.length-1],h=s===r?r:i[t+1],o=s===e?e:i[t-1],u=this.US(i,n),a=s;return u>=h?a=this.VS(i,u):u<=o&&(a=this.BS(i,u)),a},t.prototype.getNumberOfBufferingsForBitrate=function(t){return this.xS[t]},t.prototype.US=function(t,i){if(i===Number.MAX_VALUE)return this.currentBitrate;var n=t[0];if(i>this.reservoirLength){var s=t[0],e=(t[t.length-1]-s)/this.cushionLength;n=(i-this.reservoirLength)*e+s}return n},t.prototype.VS=function(t,i){for(var n=t.length-1;n>=0;n--){var s=t[n];if(s<=i)return s}return t[0]},t.prototype.BS=function(t,i){for(var n=0,s=t;n<s.length;n++){var e=s[n];if(e>=i)return e}return t[t.length-1]},t}();i.default=e},"21xW":function(t,i,n){"use strict";t.exports=l;var s=n("/iNa"),e=n("6I/I"),r=e.Streamer,h=e.Events,o=e.SynchTypes,u=n("HNE+"),a=n("y5bh").HLSEvent,c=n("V66C").StreamTypes,f=n("9nRl");function l(t,i){r.call(this,t,i),this.Sy={},this.Sy[a.MEDIA_LOADED]=this.__controller.addEventListener(a.MEDIA_LOADED,this.FS,this),this.DEFAULT_STREAM_UPDATE_INTERVAL=8e3,this.MAX_STREAM_UPDATE_INTERVAL=1e4,this.PAST_BUFFER_LENGTH_LIMIT=this.iy.config.pastBufferLengthLimit.live,this.LONG_PAUSE_INTERVAL=24e3,this.zS=new u(this.DEFAULT_STREAM_UPDATE_INTERVAL),this.zS.addEventListener(this.HS,this),this.YS=null,this.GS=null,this.WS=!1,this.qS=new u(this.LONG_PAUSE_INTERVAL,1),this.qS.addEventListener(this.XS,this)}s.inherits(l,r),l.prototype.destroy=function(){this.zS.destroy(),this.qS.destroy(),this.__controller.removeEventListeners(this.Sy),r.prototype.destroy.call(this)},l.prototype.onPlay=function(t){if(this.QS(),this.ZS()){var i=this.GS?o.TIME_GAP:o.INIT;this.JS(i),this.process(this.KS),this.GS=null}else this.$S&&(this.KS=t,this.tE=!1,this.process(this.KS),this.GS=null);r.prototype.onPlay.call(this),this.qS.stop()},l.prototype.onPause=function(){this.GS=Date.now(),this.qS.start(),r.prototype.onPause.call(this)},l.prototype.onSeeking=function(t){this.iE(!1),this.WS&&(this.nE(),this.process(t))},l.prototype.onSynchComplete=function(){this.YS=null,this.KS=null,this.type===c.MAIN&&this.iy.setLivePlaybackStartTime(null)},l.prototype.suspendStreaming=function(){this.zS&&this.zS.stop()},l.prototype.resumeStreaming=function(){this.zS&&this.zS.start()},l.prototype.ZS=function(){if(!this.GS)return!0;var t=this.sE,i=t&&t.targetDuration?3*t.targetDuration*1e3:this.LONG_PAUSE_INTERVAL;return Date.now()-this.GS>i},l.prototype.JS=function(t){if(this.iy.hasEndlist)this.iE(!0);else{var i=this.sE;if(i.segments.length&&!f.isNullOrUndefined(i.endSeqNum)&&!f.isNullOrUndefined(i.startSeqNum)){var n=this.eE(),s=i.getSegmentfromSeqNum(n);this.KS=s?s.startTime:null,this.YS=this.KS,i.type===c.MAIN&&this.iy.setLivePlaybackStartTime(this.YS);var e=this.iy.userAgent;this.WS=e&&e.safariDesktop&&t===o.TIME_GAP,this.publish(h.LIVE_SYNCH,this,{synchPosition:this.YS,synchType:t})}}},l.prototype.XS=function(){},l.prototype.rE=function(){return!this.hE&&this.oE!==this.STATES.LOADING&&!this.tE&&!this.uE()},l.prototype.aE=function(){this.isActive()&&(!this.cE&&this.oE!==this.STATES.INITIALIZING||this.fE||(this.HS(),this.QS()))},l.prototype.eE=function(){var t=this.sE,i=this.iy.getLivePlaybackStartTime();return t.type===c.MAIN||f.isNullOrUndefined(i)?Math.max(t.endSeqNum-this.SEGMENT_OFFSET,t.startSeqNum):t.getSeqNumBeforePosition(i)},l.prototype.lE=function(t){return t},l.prototype.onStreamLoaded=function(t){this.QS(),r.prototype.onStreamLoaded.call(this,t)},l.prototype.FS=function(){this.QS()},l.prototype.QS=function(){var t,i;this.iy.hasEndlist||this.sE.isDash()&&this.type!==c.MAIN?this.zS.destroy():(t=this.zS.startTime>0?Date.now()-this.zS.startTime:0,this.zS.reset(),i=this.iy.getStreamRefreshInterval()||this.DEFAULT_STREAM_UPDATE_INTERVAL,i-=t,i=Math.max(i,100),i=Math.min(i,this.MAX_STREAM_UPDATE_INTERVAL),this.zS.delay=i,this.zS.start())},l.prototype.vE=function(){var t={url:this.sE.url,withResponseHeaders:this.iy.isDash()};return this.tE&&(t.stopStreamLoadOnError=!0,t.maxRetries=1),t},l.prototype.stopStreamUpdate=function(){this.zS.reset()},l.prototype.canSwitch=function(t){return!this.YS&&("mid-segment"!==t||this.oE===this.STATES.LOADING)},l.prototype.dE=function(){var t=this.sE;t&&t.endSeqNum===this.pE&&this.iy.hasEndlist&&this.iE(!0)}},"25Pf":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.getEnv=function(t){var i="video-api.yql.yahoo.com";switch(t){case"stage":i="video-api-stage.yql.yahoo.com";break;case"beta":i="video.beta.media.yql.yahoo.com";break;default:i="video-api.yql.yahoo.com"}return i},t}();i.default=s},"2F+v":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div>"),s.b("\n"+n),s.b("    <div class='vp-top-bar vp-vis-hidden'>"),s.b("\n"+n),s.b("        <div class='vp-content-type hide' tabindex='0'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-playing-item-title-header vp-vis-hidden'></div>"),s.b("\n"+n),s.b("    <div class='vp-playing-item-title vp-vis-hidden'></div>"),s.b("\n"+n),s.b("    <div class='vp-logos vp-vis-hidden vp-hide' aria-hidden='true'></div>"),s.b("\n"+n),s.b("    <div class='vp-bottom-bar vp-vis-hidden'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,1,0,0,"")||(s.b("            <div class='vp-slider' role='slider' tabindex='0'>"),s.b("\n"+n),s.b("                <div class='vp-slider-extension' aria-hidden='true'></div>"),s.b("\n"+n),s.b("                <div class='vp-handle'></div>"),s.b("\n"+n),s.b("                <div class='vp-buffer-bar'></div>"),s.b("\n"+n),s.b("                <div class='vp-playback-bar'></div>"),s.b("\n"+n),s.b("                <div class='vp-visual-seek'>"),s.b("\n"+n),s.b("                    <div class='vp-vs-thumbnail'></div>"),s.b("\n"+n),s.b("                    <div class='vp-vs-time'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n)),s.b("        <div class='vp-bottom-container'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,0,960,1581,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <div class='vp-slider' role='slider' tabindex='0'>"),s.b("\n"+n),s.b("                    <div class='vp-slider-extension' aria-hidden='true'></div>"),s.b("\n"+n),s.b("                    <div class='vp-handle'>"),s.b("\n"+n),s.b("                        <div class='vp-handle-touch-target'></div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                    <div class='vp-buffer-bar'></div>"),s.b("\n"+n),s.b("                    <div class='vp-playback-bar'></div>"),s.b("\n"+n),s.b("                    <div class='vp-visual-seek'>"),s.b("\n"+n),s.b("                        <div class='vp-vs-thumbnail'></div>"),s.b("\n"+n),s.b("                        <div class='vp-vs-time'></div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n)})),t.pop()),s.b("            <div class='vp-play-controls'>"),s.b("\n"+n),s.b("                <div class='vp-play-btn' role='button' tabindex='0'></div>"),s.b("\n"+n),s.b("                <div class='vp-upnext-container hide'>"),s.b("\n"+n),s.b("                    <div class='vp-upnext-btn' role='button'>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                    <div class='vp-upnext-playlist' role='dialog'>"),s.b("\n"+n),s.b("                        <div class='vp-hover-elem'></div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-backward-btn' role='button'>"),s.b("\n"+n),s.b("                    <svg width='23' height='23' xmlns='http://www.w3.org/2000/svg'>"),s.b("\n"+n),s.b("                        <g>"),s.b("\n"+n),s.b("                            <g transform='matrix(-1,0,0,1,23,0) ' fill-rule='evenodd' fill='none'>"),s.b("\n"+n),s.b("                                <path d='m3.5,13.5c0,4.4 3.6,8 8,8s8,-3.6 8,-8l-2,0c0,3.3 -2.7,6 -6,6s-6,-2.7 -6,-6s2.7,-6 6,-6l0,4l5,-5l-5,-5l0,4c-4.4,0 -8,3.6 -8,8z'"),s.b("\n"+n),s.b("                                    fill-rule='nonzero' fill='#FFF'/>"),s.b("\n"+n),s.b("                            </g>"),s.b("\n"+n),s.b("                            <text xml:space='preserve' text-anchor='start' font-family='Helvetica, Arial, sans-serif' font-size='6'"),s.b("\n"+n),s.b("                                class='vp-backward-time' y='16.3' x='8' stroke-width='0' stroke='#000' fill='#ffffff'></text>"),s.b("\n"+n),s.b("                        </g>"),s.b("\n"+n),s.b("                    </svg>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-forward-btn' role='button'>"),s.b("\n"+n),s.b("                    <svg width='23' height='23' xmlns='http://www.w3.org/2000/svg'>"),s.b("\n"+n),s.b("                        <g>"),s.b("\n"+n),s.b("                            <g fill-rule='evenodd' fill='none'>"),s.b("\n"+n),s.b("                                <path d='m3.5,13.5c0,4.4 3.6,8 8,8s8,-3.6 8,-8l-2,0c0,3.3 -2.7,6 -6,6s-6,-2.7 -6,-6s2.7,-6 6,-6l0,4l5,-5l-5,-5l0,4c-4.4,0 -8,3.6 -8,8z'"),s.b("\n"+n),s.b("                                    fill-rule='nonzero' fill='#FFF'/>"),s.b("\n"+n),s.b("                            </g>"),s.b("\n"+n),s.b("                            <text stroke='#ffffff' xml:space='preserve' text-anchor='start' font-family='Helvetica, Arial, sans-serif' font-size='6'"),s.b("\n"+n),s.b("                                class='vp-forward-time' y='16.3' x='8.15' stroke-width='0' fill='#ffffff'></text>"),s.b("\n"+n),s.b("                        </g>"),s.b("\n"+n),s.b("                    </svg>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-time-container' tabindex='-1' aria-hidden='true'>"),s.b("\n"+n),s.b("                    <div class='vp-current-time "),s.s(s.f("isMobile",t,i,1),t,i,0,3901,3913,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b(" vp-pb-time ")})),t.pop()),s.b("'></div>"),s.b("\n"+n),s.b("                    <div class='vp-total-time "),s.s(s.f("isMobile",t,i,1),t,i,0,3994,4006,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b(" vp-pb-time ")})),t.pop()),s.b("'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("            <div class='vp-menu-controls'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,1,0,0,"")||(s.b("                <div class='vp-setting-btn vp-button' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.SETTINGS",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("                    <div class='vp-setting-pointer' aria-hidden='true'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n)),s.s(s.f("isMobile",t,i,1),t,i,0,4415,4574,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                    <div class='vp-multiaudio-btn vp-button vp-hidden' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.MULTI_AUDIO",t,i,0))),s.b("'></div>"),s.b("\n"+n)})),t.pop()),s.b("                <div class='vp-airplay-btn vp-button vp-hidden' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.AIRPLAY",t,i,0))),s.b("'></div>"),s.b("\n"+n),s.b("                <div class='vp-cc-btn vp-button vp-hide' role='button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.CC",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("                    <div class='vp-cc-pointer'></div>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-volume-btn vp-button' role='button' tabindex='0'>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,1,0,0,"")||(s.b("                    <div class='vp-volume-bar-container'>"),s.b("\n"+n),s.b("                        <div class='vp-multi-audio'></div>"),s.b("\n"+n),s.b("                        <div class='vp-volume-item'>"),s.b("\n"+n),s.b("                            <div class='vp-volume-icon'></div>"),s.b("\n"+n),s.b("                            <div class='vp-volume-level'>"),s.b("\n"+n),s.b("                                <div class='vp-volume-bar'>"),s.b("\n"+n),s.b("                                    <div class='vp-volume-handle'></div>"),s.b("\n"+n),s.b("                                </div>"),s.b("\n"+n),s.b("                                <div class='vp-volume-value'></div>"),s.b("\n"+n),s.b("                            </div>"),s.b("\n"+n),s.b("                        </div>"),s.b("\n"+n),s.b("                    </div>"),s.b("\n"+n)),s.b("                </div>"),s.b("\n"+n),s.b("                <div class='vp-chromecast-btn vp-button' role='button' tabindex='0' style='display:none;' aria-label='"),s.b(s.v(s.d("strings.CHROMECAST",t,i,0))),s.b("'></div>"),s.b("\n"+n),s.b("                <div class='vp-fullscreen-btn vp-button' role='button' tabindex='0'></div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-cast-overlay vp-vis-hidden'>"),s.b("\n"+n),s.b("        <div>"),s.b("\n"+n),s.b("            <div class='cast-overlay-header'>"),s.b("\n"+n),s.b("                <div class='cast-device-info'>"),s.b("\n"+n),s.b("                    <p class='cast-device-name'>"),s.b(s.v(s.d("strings.CAST_PLAYING_RECEIVER",t,i,0))),s.b("</p>"),s.b("\n"+n),s.b("                    <small class='cast-device-type'>"),s.b(s.v(s.d("strings.CHROMECAST",t,i,0))),s.b("</small>"),s.b("\n"+n),s.b("                </div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("            <div class='cast-overlay-content'></div>"),s.b("\n"+n),s.b("            <div class='cast-overlay-footer'>"),s.b("\n"+n),s.b("                <small class='cast-disconnect-btn'>"),s.b(s.v(s.d("strings.DISCONNECT",t,i,0))),s.b("</small>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    "),s.s(s.f("isMobile",t,i,1),t,i,0,6599,6643,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("<div class='vp-multi-audio vp-hidden'></div>")})),t.pop()),s.b("\n"+n),s.b("    <div class='vp-mute-indicator vp-vis-hidden'></div>"),s.b("\n"+n),s.b("    <div class='vp-object-overlay vp-vis-hidden'></div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"2IYR":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("ECHB"),r=n("R+G7"),h=n("+Ojf"),o=function(){function t(){}return t.hasFirstPlaybackStartHappened=function(t){return!0===t.__hasPlayedVideo},t.onceFirstPlaybackStarts=function(i,n){r.default.hasMuteAtFirstPlayRestriction&&(n="function"==typeof n?n:void 0,t.hasFirstPlaybackStartHappened(i)?n&&n():(i.__firstPlaybackStartCb&&(i.__firstPlaybackStartCb=null,delete i.__firstPlaybackStartCb),n&&(i.__firstPlaybackStartCb=n)))},t.waitForValidUserGestureEvent=function(t){if("function"!=typeof t)return h.default.noop;var i,n=["keydown","mousedown"];s.userAgent.mobile&&(r.default.autoplayByUIEvtOnly?n.push("touchend"):(n.push("tap"),i=new e.default(window)));var o=function(){u&&u(),t()},u=function(){i&&i.destroy(),n&&n.forEach((function(t){o&&window.removeEventListener(t,o,!0)})),n=i=o=u=null};return n.forEach((function(t){o&&window.addEventListener(t,o,!0)})),u},t.isUnmuteRestrictionRemoved=function(t){return!!t&&("boolean"!=typeof t.__userTouchRestrictionRemoved||t.__userTouchRestrictionRemoved)},t.removeUnmuteRestriction=function(i){if(i&&!t.isUnmuteRestrictionRemoved(i)){var n=i.muted;i.muted=!1,i.__userTouchRestrictionRemoved=!0,i.setAttribute("data-restricted","false"),i.muted!==n&&(i.muted=n)}},t.removeTouchToPlayRestriction=function(i){i&&r.default.autoplayByUIEvtOnly&&!t.isTouchToPlayRestrictionRemoved(i)&&(i.load(),i.__userTouchToPlayRestrictionRemoved=!0)},t.isTouchToPlayRestrictionRemoved=function(t){return!!t&&(!r.default.autoplayByUIEvtOnly||!!t.__userTouchToPlayRestrictionRemoved)},t.setupTouchToPlayRestrictionRemoval=function(i,n){return!r.default.autoplayByUIEvtOnly||t.isTouchToPlayRestrictionRemoved(i)?(n(),h.default.noop):t.waitForValidUserGestureEvent((function(){t.removeTouchToPlayRestriction(i),n()}))},t.createMobileVideoNode=function(){var t=h.default.createVideoNode();return s.userAgent.mobile&&r.default.autoplaySupported?(t.controlsList&&"function"==typeof t.controlsList.add&&t.controlsList.add("nodownload"),r.default.canPlayInline&&t.setAttribute("playsinline","true"),t.muted=!0,t.__userTouchRestrictionRemoved=!1,t.setAttribute("data-restricted","true"),r.default.autoplayByUIEvtOnly&&(t.__userTouchToPlayRestrictionRemoved=!1),r.default.hasMuteAtFirstPlayRestriction&&(t.__onPlaying=function(){t.__hasPlayedVideo=!0,t.__firstPlaybackStartCb&&(t.__firstPlaybackStartCb(),delete t.__firstPlaybackStartCb),t.__onPlaying&&(t.removeEventListener("playing",t.__onPlaying),delete t.__onPlaying)},t.__hasPlayedVideo=!1,t.addEventListener("playing",t.__onPlaying)),t):t},t.setMuteSafe=function(i,n){i.muted!==n&&t.isUnmuteRestrictionRemoved(i)&&(r.default.hasMuteAtFirstPlayRestriction&&!t.hasFirstPlaybackStartHappened(i)?t.onceFirstPlaybackStarts(i,(function(){i.muted=n})):i.muted=n)},t.cleanupVideoNode=function(t){t.__firstPlaybackStartCb&&(t.__firstPlaybackStartCb=null,delete t.__firstPlaybackStartCb),t.__onPlaying&&(t.removeEventListener("playing",t.__onPlaying),delete t.__onPlaying)},t.available=!0,t}();i.default=o},"2fkz":function(t,i,n){"use strict";t.exports.Command=r;var s=n("RwmF"),e=n("/iNa");function r(t,i){this.data=t,this.client=i,s.call(this,this.constructor.name)}t.exports.CmdNames={CMD_MEDIA_LOAD:"MediaLoad",CMD_STREAM_LOAD:"StreamLoad",CMD_LICENSE_LOAD:"LicenseLoad",CMD_SEGMENT_LOAD:"SegmentLoad",CMD_MP4_INIT_SEGMENT_LOAD:"Mp4InitSegmentLoad",CMD_SUBTITLE_SEGMENT_LOAD:"SubtitleSegmentLoad",CMD_ERROR_HANDLE:"ErrorHandle"},t.exports.CmdEvents={CMD_COMPLETE:"Complete",CMD_PROGRESS:"Progress",CMD_ERROR:"Error"},e.inherits(r,s),r.prototype.destroy=function(){this.data=null,s.prototype.destroy.call(this)},r.prototype.execute=function(){},r.prototype.cancel=function(){}},"3/TB":function(t,i,n){"use strict";t.exports=u;var s=n("HdM5"),e=n("UbnH"),r=n("/iNa"),h=n("RwmF"),o=n("bXaf");function u(t){if(!t)throw new Error("Invalid argument: data argument of the ProcessorChain is not complete");var i=this;i.or=t,i.mE=null,i.bE=null,h.call(i,i.constructor.name),t.encryptionData&&(i.mE=i.__controller.create(o,t.encryptionData)),i.bE=s.create(i.__controller,t.containerFormat,t),i.mE&&i.bE.setSource(i.mE),i.yE=i.mE||i.bE,i.gE=i.bE,i.gE&&(i.gE.addEventListener(e.DATA_PROCESS_PROGRESS,(function(t,n){i.publish(e.DATA_PROCESS_PROGRESS,t,n)}),i),i.gE.addEventListener(e.DATA_PROCESS_COMPLETE,(function(t){i.publish(e.DATA_PROCESS_COMPLETE,t)}),i),i.gE.addEventListener(e.DATA_PROCESS_ERROR,(function(){i.publish(e.DATA_PROCESS_ERROR)}),i))}r.inherits(u,h),u.prototype.destroy=function(){this.mE&&(this.mE.destroy(),this.mE=null),this.bE&&(this.bE.destroy(),this.bE=null),this.yE=null,this.gE=null,h.prototype.destroy.call(this)},u.prototype.append=function(t){this.yE&&this.yE.append(t)},u.prototype.close=function(){this.yE&&this.yE.close()},u.prototype.endOfSegment=function(){this.yE&&this.yE.endOfSegment()}},"38mS":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isArray=function(t){return Array.isArray(t)},i.isBoolean=function(t){return"boolean"==typeof t},i.isNullOrUndefined=function(t){return null==t},i.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},i.isString=function(t){return"string"==typeof t},i.isObject=function(t){return"[object Object]"===(i=t,Object.prototype.toString.call(i));var i},i.isFunction=function(t){return"function"==typeof t},i.isNonEmptyString=function(t){return"string"==typeof t&&""!==t}},"3WiS":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("ToqN"),u=n("xqNZ"),a=n("+Ojf"),c=n("ECHB"),f=n("CIyJ");!function(t){t.UI_INTERACT="ssUiInteract",t.START_SCREEN_CLICK="ssScreenClick"}(r=i.StartScreenEvent||(i.StartScreenEvent={}));var l=function(t){function i(i){var n=t.call(this,"StartScreen")||this;return n.ty=i,n}return e(i,t),i.prototype.create=function(t,i){var n=this,s=i.startScreenConfig,e={showTitle:s.showTitle&&t.title,showButton:s.showButton,showDescription:s.showDescription&&t.description,showProvider:!1},h=t.posterUrl||t.thumbnail;this.node=a.default.render(f,{item:t,config:e,width:i.uiState.width,height:i.uiState.height,imageSrc:h,strings:u.default,show:i.uiState&&i.uiState.isCSSLoaded});return this.wE=new c.default(this.node,(function(){var t=function(){n.publish(r.START_SCREEN_CLICK),n.publish(r.UI_INTERACT,{srcElement:"startScreen"})};o.userAgent.htc_one?window.setTimeout(t,500):t()})),this.node},i.prototype.updateTitle=function(t){var i=this.node&&this.node.querySelector(".vp-start-screen-title");i&&(i.textContent=t)},i.prototype.destroy=function(){this.wE&&(this.wE.destroy(),this.wE=null)},i}(h.default);i.StartScreen=l},"3h5f":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("UDn2"),e=n("ma23"),r=function(){function t(){this.version="0.2.292",this.mimetype=s.MediaItemMimeType.CONTAINER,this.type=e.PluginType.METADATA}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.resolve=function(t,i,n){var e=t.map((function(t){return t.metadata=t.metadata||{},t.metadata.type=s.MediaItemType.CONTAINER,t}));n.onComplete(e)},t.prototype.recover=function(t,i,n){},t.prototype.cancel=function(){},t}();i.default=r},"3kti":function(t,i,n){"use strict";t.exports=s;function s(){}s.prototype.SE=function(t,i){for(var n=i,s=0;this.EE(t,i);)s+=10,s+=this.OE(t,i+6),this.AE(t,i+10)&&(s+=10),i+=s;return s>0?t.subarray(n,n+s):null},s.prototype.EE=function(t,i){return i+10<=t.length&&73===t[i]&&68===t[i+1]&&51===t[i+2]&&t[i+3]<255&&t[i+4]<255&&t[i+6]<128&&t[i+7]<128&&t[i+8]<128&&t[i+9]<128},s.prototype.AE=function(t,i){return i+10<=t.length&&51===t[i]&&68===t[i+1]&&73===t[i+2]&&t[i+3]<255&&t[i+4]<255&&t[i+6]<128&&t[i+7]<128&&t[i+8]<128&&t[i+9]<128},s.prototype.OE=function(t,i){var n=(127&t[i])<<21;return n|=(127&t[i+1])<<14,n|=(127&t[i+2])<<7,n|=127&t[i+3]},s.prototype.getString=function(t){var i=this.SE(t,0);if(!i||!i.length)return null;for(var n="",s=0;s<i.length;s++)n+=String.fromCharCode(i[s]);return n},s.prototype._E=function(t){return 100===t[5]?self.OE(t,10):0},s.prototype.TE=function(t,i){var n=t.subarray(i,i+4);return String.fromCharCode.apply(null,n)},s.prototype.getID3Payload=function(t){var i=this.SE(t,0);if(!i||!i.length)return null;var n=10+this._E(i);return{key:this.TE(i,n),data:i.subarray(n+10)}},s.prototype.extractID3FromMessage=function(t){if(!t)return null;t=new Uint8Array(t);for(var i=0;!this.EE(t,i);)i++;return i+10>t.length?null:t.subarray(i)}},"4JlD":function(t,i,n){"use strict";var s=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,n,o){return i=i||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?r(h(t),(function(h){var o=encodeURIComponent(s(h))+n;return e(t[h])?r(t[h],(function(t){return o+encodeURIComponent(s(t))})).join(i):o+encodeURIComponent(s(t[h]))})).join(i):o?encodeURIComponent(s(o))+n+encodeURIComponent(s(t)):""};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function r(t,i){if(t.map)return t.map(i);for(var n=[],s=0;s<t.length;s++)n.push(i(t[s],s));return n}var h=Object.keys||function(t){var i=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.push(n);return i}},"4Qju":function(t,i,n){"use strict";(function(t){var n="undefined"!=typeof window?window:void 0!==t&&t.window?t.window:{},s=n.navigator?n.navigator:"undefined"!=typeof navigator?navigator:{},e=s.userAgent?s.userAgent.toLowerCase().replace(/<[A-Za-z]+.*?(\/>|>.*?<\/[A-Za-z]+>)|javascript:/g,""):"",r=function(t){if(null===t)return!1;var i=t[1];return parseFloat(i.replace("_",".").split(".",2).join("."))||1},h=function(t){for(var i=(n&&n.location&&n.location.search&&n.location.search.substring(1)||"").split("&"),s=0;s<i.length;s++){var e=i[s].split("=");if(decodeURIComponent(e[0])===t)return decodeURIComponent(e[1])}return null};if(i.ua=e,i.chromium=r(/chromium\/([^\s]*)/.exec(e)),i.edge=r(/edge\/([^\s]*)/.exec(e)),i.opera=/opr\/|opera\//.test(e),i.chrome=!i.chromium&&!i.edge&&!i.opera&&(r(/chrome\/([^\s]*)/.exec(e))||r(/crios\/([^\s]*)/.exec(e))),i.ie=r(/msie ([^;]*)/.exec(e))||r(/trident.*; rv:([0-9.]+)/.exec(e)),i.firefox=!i.ie&&r(/firefox\/([^\s]*)/.exec(e)),i.android=/android/.test(e),i.androidTablet=i.android&&!/mobile/.test(e),i.htc_one=/htc_one/.test(e),i.vizio=/vizio/.test(e)||"vizio"===h("man"),i.tivo=/tivo/.test(e),i.presto=i.opera&&/presto/i.test(e),i.fios=/verizon.*(stb|vms|ipc)/.test(e),i.philips=/philipstv/.test(e),i.toshiba=/tsb/.test(e),i.amazon=i.android&&/amazonwebappplatform/.test(e)&&/aft/.test(e),i.lg=/web0s/.test(e),i.tizen=/tizen/.test(e),i.orsay=/smarttv/.test(e)&&!i.tizen&&!i.lg&&!i.philips,i.samsung=i.orsay||i.tizen,i.sony=/sony|bravia/.test(e),i.playstation=/(playstation)/.test(e),i.ios=/(ipad|iphone|ipod)/.test(e),i.iphone=/(iphone|ipod)/.test(e)&&!/ipad/.test(e),i.ipad=i.ios&&!i.iphone,i.androidBrowser=!i.chrome&&/android/.test(e),i.chromecast=/crkey/.test(e),i.androidVersion=r(/android\s([0-9.]*)/.exec(e)),i.safari=!i.chrome&&!i.chromium&&!i.android&&/safari\/([^\s]*)/.test(e)&&r(/version\/([^\s]*)/.exec(e)),i.iosWebView=i.ios&&!navigator.standalone&&!i.safari,i.iosVersion=i.ios&&r(/\bos ((\d+_?){2,3})\s/.exec(e)),i.mobile=i.ios||i.android&&!i.amazon,i.safariDesktop=!i.mobile&&i.safari,i.tv=i.vizio||i.tivo||i.amazon||i.samsung||i.sony||i.playstation||i.lg||i.fios||i.philips||i.toshiba,i.desktop=!i.mobile&&!i.tv,i.phantomJS=n.window&&n.window.ME,i.tv){var o=void 0!==o?o:void 0!==t&&t.tv?t.tv:{};if(i.class=i.ua,i.vizio)i.os="vizio",i.class=h("class")||h("soc"),o&&o.tts&&(i.class+="-tts");else if(i.tivo)i.os="tivo",/tcd849/.test(e)?i.class="TCD849":/tcd8d9/.test(e)?i.class="TCD8D9":/tcd8f9/.test(e)?i.class="TCD8F9":/tcd8/.test(e)?i.class="TCD8":/tcdd/.test(e)?i.class="TCDD":/tcd7/.test(e)?i.class="TCD7":/tcda9/.test(e)&&(i.class="TCDA9");else if(i.amazon)i.os="amazon",/aftb/.test(e)?i.class="AFTB":/afts/.test(e)?i.class="AFTS":/aftm/.test(e)?i.class="AFTM":/aftn/.test(e)?i.class="AFTN":/aftrs/.test(e)?i.class="AFTRS":/aftt/.test(e)&&(i.class="AFTT");else if(i.lg)i.os="lg",/qtwebengine/.test(e)?i.class="3":/safari\/537/.test(e)?i.class="1":/safari\/538/.test(e)&&(i.class="2");else if(i.samsung){i.os="samsung";var u="default";if(i.tizen){var a=void 0!==a?a:n.tizen;a&&a.systeminfo&&(i.version=a.systeminfo.getCapability("http://tizen.org/feature/platform.version"));var c=void 0!==c?c:n.webapis;if(c&&c.productinfo&&c.productinfo.getRealModel)try{var f=c.productinfo.getRealModel(),l=f.substr(4,isNaN(Number(f[5]))?2:1);u=l+f.substr(1===l.length?5:6,1)}catch(t){u="default"}}else u="orsay";i.class=u}else i.roku||i.chromecast||i.toshiba||i.philips||i.appletv||i.xbox||(i.sony?(i.os="sony",/bdp/.test(e)?i.class="BDP":/bravia|sony-kj/.test(e)?i.class="BRAVIA":i.class="default"):i.playstation?(i.os="playstation",/4pro/.test(e)?i.class="4PRO":/playstation 4/.test(e)?i.class="4":/vita/i.test(e)&&(i.class="VITA")):i.fios?(i.os="fios",/stb/.test(e)?i.class="STB":/vms/.test(e)?i.class="VMS":/ipc/.test(e)&&(i.class="IPC")):i.os=null)}else i.ios?i.os="ios":i.android?i.os="android":/windows|win32/.test(e)?(i.os="windows",i.winXP=/(windows nt 5\.[1-3])/.test(e),i.class=i.winXP?"XP":i.class,i.winVista=/(windows nt 6\.0)/.test(e),i.class=i.winVista?"VISTA":i.class,i.win7=/(windows nt 6\.1)/.test(e),i.class=i.win7?"7":i.class,i.win8=/(windows nt 6\.2)/.test(e),i.class=i.win8?"8":i.class,i.win8_1=/(windows nt 6\.3)/.test(e),i.class=-1*i.win?"8_1":i.class,i.win10=/(windows nt 10\.0)/.test(e),i.class=i.win10?"10":i.class,i.win64=/(wow64|win64)/.test(e),i.architecture=i.win64?"64":"32"):/macintosh|mac_powerpc/.test(e)?i.os="macintosh":/symbos/.test(e)?i.os="symbos":/linux/.test(e)?i.os="linux":i.os=null}).call(this,n("yLpj"))},"4oyL":function(t,i,n){"use strict";t.exports={userAgent:n("sLCx"),capabilities:n("IlcD")}},"4rDT":function(t,i,n){"use strict";t.exports=e;var s=n("caRl");function e(){this.IE=null,this.jE=new s}e.prototype.destroy=function(){this.IE=null},e.prototype.generate=function(t){if(!t)return null;var i=[t],n=null,s=null,e=null,r=0;if(t.config.shouldInit){var h="audio"===t.type?"mp41":"avc1";r+=(n=this.NE(i,h))?n.length:0}t.frames.length&&(r+=(s=this.RE(i))?s.length:0,r+=(e=this.kE(i))?e.length:0),this.IE=new Uint8Array(r);var o=0;n&&(this.IE.set(n,o),o+=n.length),s&&(this.IE.set(s,o),o+=s.length),e&&(this.IE.set(e,o),o+=e.length);var u=t.frames.length>0?t.frames[t.frames.length-1].duration:0,a=t.endTime+u;return{data:this.IE,type:t.type,codec:t.config.codec,mimeType:t.type+'/mp4; codecs="'+t.config.codec+'"',startTime:t.frames.length?t.startTime/t.config.timescale:0,endTime:t.frames.length?a/t.config.timescale:0,endTimestamp:a}},e.prototype.NE=function(t,i){if(!t||!t.length)return null;var n=this.jE.initSegment(t,i);return n||null},e.prototype.RE=function(t){var i=this,n=0;return t&&t.length?(t.forEach((function(t){n=t.config.seqNum,t.frames&&t.frames.length&&t.frames.forEach((function(n,s,e){n.size=n.nalUnitSize?n.nalUnitSize+4*n.nalUnits.length:n.data?n.data.length:0,s<e.length-1?n.duration=t.frames[s+1].dts-n.dts:n.duration=s>0?n.dts-t.frames[s-1].dts:t.config.defaultFrameDuration||i.LE(t.type.track.config.timescale),n.duration}))})),i.jE.moof(n,t)):null},e.prototype.kE=function(t){var i=this;if(!t||!t.length)return null;var n,s=[],e=0;t.forEach((function(t){"video"===t.type&&t.frames.forEach((function(t){t.normalizedData=new Uint8Array(t.nalUnitSize+4*t.nalUnits.length);var i=new DataView(t.normalizedData.buffer),n=0;t.nalUnits.forEach((function(s){i.setUint32(n,s.data.byteLength),n+=4,t.normalizedData.set(s.data,n),n+=s.data.byteLength})),t.data=t.normalizedData})),(n=i.jE.mdat(t))&&n.length&&(s.push(n),e+=n.length)}));var r=new Uint8Array(e),h=0;return s.forEach((function(t){r.set(t,h),h+=t.length})),r},e.prototype.LE=function(t,i){return("audio"===t?.0232199546:.0333333333)*i}},"4rJX":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-loading-screen vp-vis-hidden'>"),s.b("\n"+n),s.b("    <div class='vp-loading-spinner vp-spinner-icon'></div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},"5Gwc":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-nfl-branding-container'>"),s.b("\n"+n),s.b("    <div class='vp-nfl-branding'>"),s.b("\n"+n),s.b("        <a href='http://www.nfl.com/' target='nfl_site'>"),s.b("\n"+n),s.b("            <span class='vp-nfl-brand vp-nfl-brand-span'></span>"),s.b("\n"+n),s.b("            <span class='vp-nfl-brand vp-nfl-brand-logo'></span>"),s.b("\n"+n),s.b("        </a>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}},"<div class='vp-nfl-branding-container'>\n    <div class='vp-nfl-branding'>\n        <a href='http://www.nfl.com/' target='nfl_site'>\n            <span class='vp-nfl-brand vp-nfl-brand-span'></span>\n            <span class='vp-nfl-brand vp-nfl-brand-logo'></span>\n        </a>\n    </div>\n</div>",s)},"5RR1":function(t,i,n){"use strict";t.exports=o;var s=n("nyAz"),e=n("9nRl"),r=n("/iNa"),h=n("x7P6").StreamingMode;function o(t){if(!t||!t.userAgent)throw new Error("Invalid/incomplete configuration to AppModel");this.configure(t),this.streams=[],this.altRenditionGroups=[],this.live=!1,this.duration=0,this.timescale=9e4,this.TIMESTAMP_COMPARE_EPSILON=.065,this.PIXEL_RATIO_360=6,this.currentPlayingStreamIndex=0,this.currentLoadingStreamIndex=0,this.preloading=!1,this.currentKbps=0,this.infoUpdateSent=!0,this.streamingMode=h.HLS,this.drmRequired=!1,this.drmInfo=[],this.licenseType="none",this.is360=t.metadata&&t.metadata.is360||!1,this.setDimensions(t.dimensions)}o.prototype.destroy=function(){this.config=null,this.streams=[],this.altRenditionGroups=[]},o.prototype.configure=function(t){var i=this;i.config=i.config||e.deepCopy(s),i.userAgent=t.userAgent,t&&Object.keys(t).forEach((function(n){i.config.hasOwnProperty(n)&&(i.config[n]=t[n])})),i.config.demux.startChunkWithKeyFrame=!(i.userAgent.chrome&&i.userAgent.chrome>=50)||i.DE(t.metadata),i.config.demux.useTimer=!(i.userAgent.chrome||i.userAgent.ie||i.userAgent.edge)},o.prototype.DE=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.CE(t.streams[0]):null;return r.isUplynk(i||n)},o.prototype.CE=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},o.prototype.update=function(t){var i=this;t&&(Object.keys(t).forEach((function(n){("currentKbps"!==n||t.currentKbps||i.infoUpdateSent)&&i.hasOwnProperty(n)&&(i[n]=t[n])})),i.infoUpdateSent=!1)},o.prototype.setDimensions=function(t){var i=this.PE.node;this.xE=t||{width:i?i.clientWidth:0,height:i?i.clientHeight:0}},o.prototype.getBufferLength=function(){var t,i,n=this.PE.node,s=n.buffered,e=0,r=n.currentTime;if(0===r){for(t=0;t<s.length;t++)e+=s.end(t)-s.start(t);return e}var h=this.PE.mediaSource;e=1/0;for(var o=0;o<h.activeSourceBuffers.length;o++){var u=this.UE(r,h.activeSourceBuffers[o]);u>=0&&(e=Math.min(e,u))}for(t=0;t<s.length;t++)if(r>=s.start(t)&&r<s.end(t)){i=t;break}return i>=0&&s.length&&(e=Math.min(s.end(i)-r,e)),e===1/0&&(e=0),e},o.prototype.UE=function(t,i){if(!i)return-1;for(var n,s=i.buffered,e=0,r=0;r<s.length;r++)if(t>=s.start(r)&&t<s.end(r)){n=r;break}return n>=0&&s.length&&(e=s.end(n)-t),e},o.prototype.getBufferedDto=function(){for(var t=this.PE.node.buffered,i={length:t.length,ranges:[]},n=0;n<t.length;n++)i.ranges[n]={start:t.start(n),end:t.end(n)};return i},o.prototype.getCurrentPlayingStream=function(){return this.streams&&this.streams.length&&this.currentPlayingStreamIndex>=0&&this.currentPlayingStreamIndex<this.streams.length?this.streams[this.currentPlayingStreamIndex]:null},o.prototype.getDimensions=function(){return this.xE},o.prototype.getPixelRatio=function(){var t=1;try{window&&(t=window.devicePixelRatio)}catch(i){t=1}return t||(t=1),this.is360&&(t*=this.PIXEL_RATIO_360),t},o.prototype.getCurrentDate=function(){var t=this.getCurrentPlayingStream(),i=this.PE.node.currentTime,n=t?t.segments:null;if(n)for(var s=n.length-1;s>=0;s--)if(n[s].programDateTime>0&&i>=n[s].startTime){var e=parseInt(1e3*(i-n[s].startTime));return n[s].programDateTime+e}}},"5yHC":function(t,i,n){"use strict";t.exports=n("4oyL").userAgent},"6I/I":function(t,i,n){"use strict";t.exports.Streamer=b;var s=n("/iNa"),e=n("RwmF"),r=n("2fkz").CmdNames,h=n("iSaY"),o=n("y5bh").HLSEvent,u=n("7M2b"),a=u.StreamLoader,c=u.Events,f=n("lPOR"),l=n("R6Gm"),v=n("V66C").StreamTypes,d=n("8z9E"),p=t.exports.Events={SEG_LOAD_START:"streamerSegLoadStart",SEG_LOAD_PROGRESS:"streamerSegLoadProgress",SEG_LOAD_COMPLETE:"streamerSegLoadComplete",SEG_LOAD_ERROR:"streamerSegLoadError",PRELOAD_COMPLETE:"streamerPreloadComplete",STREAM_LOAD_COMPLETE:"StreamLoadComplete",STREAM_LOAD_ERROR:"StreamLoadError",LIVE_SYNCH:"streamerLiveSynch"},m=t.exports.SynchTypes={INIT:"synchAtInit",TIME_GAP:"synchAtTimeGap"};function b(t){var i=this.__controller;e.call(this,this.constructor.name),this.iy=i.model,this.VE=i.services,this.BE=i.create(l),this.FE=i.create(a,this.BE),this.FE.addEventListener(c.STREAM_LOADED,this.onStreamLoaded,this),this.FE.addEventListener(c.STREAM_LOAD_ERROR,this.onStreamLoadError,this),this.AVG_BW_MEASUREMENT_INTERVAL=30,this.zE=0,this.HE=0,this.YE=r.CMD_SEGMENT_LOAD,this.sE=t,this.type=t?t.type:null;var n=t.altRenditionGroups&&t.altRenditionGroups.SUBTITLES&&t.altRenditionGroups.SUBTITLES.hasStreams();this.type&&this.type!==v.VIDEO&&this.type!==v.MAIN||n||(this.GE=[],this.WE=new d(this.sendVttEventCB.bind(this))),this.STATES={ERROR:-1,NONE:0,INITIALIZING:1,INITIALIZED:2,LOADING:3},this.oE=this.STATES.NONE,this.fE=!1,this.qE=!1,this.pE=NaN,this.XE=!1,this.KS=null,this.tE=!1,this.QE=this.iy.config.maxBuffer,this.ZE=this.iy.live,this.Mw=!1,this.$S=!1,this.JE={audio:NaN,video:NaN},this.cE=!1,this.KE=[403]}s.inherits(b,e),b.prototype.destroy=function(){this.FE.destroy(),this.oE=this.STATES.NONE,this.sE=null,this.BE&&(this.BE.destroy(),this.BE=null),e.prototype.destroy.call(this)},b.prototype.setCurrentStream=function(t){t&&!t.equals(this.sE)&&(this.sE=t,this.onSwitchBegin())},b.prototype.isActive=function(){return this.sE&&this.sE.url&&this.sE.url.length>0},b.prototype.setAltAudioActive=function(t){this.Mw=t},b.prototype.getCurrentStream=function(){return this.sE},b.prototype.process=function(t){if("number"==typeof t&&(this.KS=t),this.isStreamReady()||this.oE===this.STATES.ERROR){if(this.rE()){var i=this.$E(this.KS),n=this.tO(i);"empty"!==n?"ahead"!==n&&("behind"!==n?this.rE()&&(this.KS=null,this.iO(i)):this.JS(m.TIME_GAP)):this.aE()}}else this.nO()},b.prototype.suspendStreaming=b.prototype.resumeStreaming=function(){},b.prototype.onPlay=function(t){this.tE=!1,this.QE=this.iy.config.maxBuffer,t&&this.onSynchBegin()},b.prototype.onPlaying=function(){this.$S=!1},b.prototype.onPause=function(){this.tE=!0},b.prototype.onSeeking=function(t){this.nE(),this.iE(!1),this.process(t)},b.prototype.onSeeked=function(){},b.prototype.onError=function(){this.BE&&this.BE.removeAllCommands()},b.prototype.onComplete=function(){},b.prototype.onTimeUpdate=function(t){if(this.HE){var i=t-this.HE;i>0&&(this.zE+=i)}this.zE>this.AVG_BW_MEASUREMENT_INTERVAL&&(this.sO(this.VE.bandwidthEstimator.averageBandwidth),this.zE=0),this.HE=t},b.prototype.onPreloadBegin=function(){this.qE=!0,this.QE=this.iy.config.preloadBufferLimit},b.prototype.onPreloadEnd=function(){this.qE=!1},b.prototype.JS=function(){},b.prototype.isStreamReady=function(){var t=this.sE;return t&&t.isReady()&&this.oE>=this.STATES.INITIALIZED},b.prototype.nO=function(){this.isActive()&&(this.oE=this.STATES.INITIALIZING,this.aE())},b.prototype.rE=function(){var t=this.uE(),i=this.iy.config.stopBufferingOnPause;return this.qE&&t&&this.publish(p.PRELOAD_COMPLETE,this),!this.XE&&this.oE!==this.STATES.LOADING&&((!this.tE||!i)&&(!t&&!this.eO()))},b.prototype.tO=function(t){var i=this.sE;if(!i||i.isEmpty()||isNaN(t))return"empty";if(!i.contains(t)){if(t<i.startSeqNum)return"behind";if(t>i.endSeqNum)return"ahead"}return"available"},b.prototype.uE=function(){if(this.type&&this.iy.bufferedAndPending){var t={buffered:0,pending:0},i=this.iy.bufferedAndPending.video||t;return this.type!==v.MAIN&&this.type!==v.VIDEO&&(i=this.iy.bufferedAndPending.audio||t),i.buffered+i.pending>=this.QE}return this.iy.bufferLength+this.iy.pendingBufferLength>=this.QE},b.prototype.eO=function(){var t=this.iy;return t.getTotalBufferLength()>=t.config.maxTotalBuffer},b.prototype.onSwitchBegin=function(){this.cE=!0,this.aE()},b.prototype.onSwitchEnd=function(){this.cE=!1},b.prototype.aE=function(){this.fE||this.HS()},b.prototype.HS=function(){this.isActive()&&(this.fE=!0,this.FE.load(this.sE,this.vE()))},b.prototype.vE=function(){return{url:this.sE.url,retryExclusion:this.KE,withResponseHeaders:this.iy.isDash()}},b.prototype.onStreamLoaded=function(t){this.oE===this.STATES.INITIALIZING&&(this.oE=this.STATES.INITIALIZED),this.fE=!1,this.publish(p.STREAM_LOAD_COMPLETE,this,{stream:t.dto()})},b.prototype.onStreamLoadError=function(t,i){i.code===h.ERR_XHR_LOAD_LIVE_PAUSE[0]&&this.stopStreamUpdate(),this.publish(p.STREAM_LOAD_ERROR,this,{err:i,stream:t}),this.oE=this.STATES.ERROR,this.fE=!1,this.process()},b.prototype.$E=function(t){var i=this.sE,n=NaN;return n="number"==typeof t?i.getSeqNumBeforePosition(t+this.iy.TIMESTAMP_COMPARE_EPSILON):isNaN(this.pE)?this.eE():this.oE===this.STATES.ERROR||this.rO?this.pE:this.pE+1,n=this.lE(n),this.ZE||(n=Math.max(n,i.startSeqNum),n=Math.min(n,i.endSeqNum)),n},b.prototype.lE=function(t){var i=this.sE,n=this.iy.bufferedRanges,s=n.length,e=this.hO(t),r=this.iy.userAgent;if(r&&r.safariDesktop)return t;if(this.iy.isDash())return t;if(e>=0&&s&&e<s){var h=n.ranges[e].end;return!this.ZE&&h>=this.iy.duration?(this.iE(!0),i.endSeqNum):i.getSeqNumBeforePosition(h)}return t},b.prototype.eE=function(){return this.sE.getSeqNumBeforePosition(0)},b.prototype.hO=function(t){var i=this.sE.getSegmentfromSeqNum(t);if(!i)return-1;for(var n=this.iy.TIMESTAMP_COMPARE_EPSILON,s=this.iy.bufferedRanges,e=0;e<s.length;e++){var r=s.ranges[e],h=r.start-n,o=r.end+n;if(h=0===i.startTime&&h<.1?0:h,i.startTime>=h&&i.startTime+i.duration<=o)return e}return-1},b.prototype.oO=function(){},b.prototype.iO=function(t){if(this.oO(t),!(this.oE<this.STATES.INITIALIZED)){this.nE(),this.oE=this.STATES.LOADING,this.pE=t,this.rO=!1;var i=this.uO(this.pE);i&&(this.aO(i,this.sE),this.publish(p.SEG_LOAD_START,this),this.cO(t))}},b.prototype.cO=function(){},b.prototype.uO=function(t){var i=this.fO(t),n=i?i.segment:null;return n?(this.lO=this.BE.executeCommand(this.YE,i,this),n):null},b.prototype.fO=function(t){var i=this.sE;return i?{segment:i.getSegmentfromSeqNum(t),stream:i}:null},b.prototype.onSegmentLoadProgress=function(t,i){var n,s,e,r,h,o=this;if(i)if(i.id!==f.MessageIds.TIMED_METADATA){i.getParam?(n=i.getParam("tracks"),s=i.getParam("perfInfo"),e=i.getParam("bytesTotal")||0,r=i.getParam("parsedInfo"),h=i.getParam("cea608TrackData")):i.cea608TrackData&&(h=i.cea608TrackData);var u=r?r.position:i.position,a=r&&r.inWorkerScope||!1;switch(o.publish(p.SEG_LOAD_PROGRESS,o,{seqNum:o.pE,position:u,bytesTotal:e,inWorkerScope:a,perfInfo:s}),o.iy.preloading=o.qE,u){case"firstByte":return;case"start":break;case"end":o.oE===o.STATES.LOADING&&(o.oE=o.STATES.INITIALIZED)}if(n&&(n.forEach((function(t){t.minBufferTime=o.__controller.getMinimumBufferTime(),o.JE[t.type]=t.endTimestamp})),o.vO(n,i.getParam("transferables"))),o.GE&&h&&h.length>0)for(var c=0;c<h.length;c++)o.GE.push(h[c]);"end"===u&&(o.iy.setSegEndTimeStamps(o.type,o.sE.groupId,o.pE,o.JE),o.JE.audio=NaN,o.JE.video=NaN)}else{var l=i.getParam("timedMetadata");o.iy.updateTimedMetadata(l,o.pE)}},b.prototype.onSegmentLoadComplete=function(t,i){if(this.oE===this.STATES.LOADING&&(this.oE=this.STATES.INITIALIZED),this.GE&&this.GE.length>0){for(var n=[],s=0;s<this.GE.length;s++){for(var e=this.GE[s],r=0;r<n.length&&e.pts>=n[r].pts;)r++;n.splice(r,0,e)}var h=this.sE.getSegmentfromSeqNum(this.pE);this.WE.parse(n,h),this.GE=[]}this.BE.removeCommand(t),i&&i.getParam("segTimeStamp")&&this.iy.setPrevSegTimeStamps(i.getParam("segTimeStamp")),this.dE(),this.publish(p.SEG_LOAD_COMPLETE,this,{stream:this.sE}),this.lO=null},b.prototype.onSegmentLoadError=function(t,i){this.abortCurrentSegment(t),this.lO=null;var n=i&&i.code===h.ERR_XHR_LOAD[0]?new h.Error(h.ERR_SEGMENT_LOAD):i;this.publish(p.SEG_LOAD_ERROR,this,{seqNum:this.pE,err:n,stream:this.sE})},b.prototype.abortCurrentSegment=function(t){return this.oE!==this.STATES.LOADING?null:(t&&this.BE.removeCommand(t),this.oE===this.STATES.LOADING&&(this.oE=this.STATES.INITIALIZED),this.rO=!0,this.JE.audio=NaN,this.JE.video=NaN,this.pE)},b.prototype.nE=function(){this.oE===this.STATES.LOADING&&(this.oE=this.STATES.INITIALIZED),this.JE.audio=NaN,this.JE.video=NaN,this.BE.removeRelatedCommands(this.YE)},b.prototype.vO=function(t,i){t&&this.__controller.sendMessage(f.MessageIds.APPEND_SRC_BUFFER,[t],["tracks"],i)},b.prototype.iE=function(t){this.XE=t,this.JE.audio=NaN,this.JE.video=NaN,this.type===v.MAIN&&this.__controller.sendMessage(f.MessageIds.END_OF_STREAM,[t],["endOfStream"])},b.prototype.dE=function(){var t=this.sE;t&&t.endSeqNum===this.pE&&this.iE(!0)},b.prototype.sO=function(t){var i={avgBWtimestamp:Date.now(),avgBW:t};this.type===v.MAIN&&this.__controller.sendMessage(f.MessageIds.SAVE_AVG_BANDWIDTH,[i],["avgBwInfo"])},b.prototype.onManualStreamChange=function(){this.iE(!1),this.$S=!0,this.nE(),this.FE.cancel(),this.fE=!1,this.oE=this.oE!==this.STATES.ERROR?this.STATES.INITIALIZING:this.oE,this.aE()},b.prototype.onSynchBegin=function(){},b.prototype.onSynchComplete=function(){},b.prototype.onSynchMetadataReady=function(t){this.nE(),this.iE(!1),this.process(t)},b.prototype.canSwitch=function(t){return"mid-segment"!==t||this.oE===this.STATES.LOADING},b.prototype.isInError=function(){return this.oE===this.STATES.ERROR},b.prototype.getSegLoadCommand=function(){return this.BE.getCommand(this.YE)},b.prototype.aO=function(){},b.prototype.sendVttEventCB=function(t){this.__controller.sendEvent(o.VTT_SEGMENT_LOADED,t)}},"6N1G":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(t,i){var n=this,s=function(s){if(i&&i.get)return i.get(t,s,n)},e=Object.getOwnPropertyNames(t),r={};for(var h in e.forEach((function(i){var e={enumerable:!!(Object.getOwnPropertyDescriptor(t,i)||{}).enumerable,get:s.bind(t,i)};Object.defineProperty(n,i,e),r[i]=!0})),t)r[h]||n[h]||Object.defineProperty(n,h,{get:s.bind(t,h)});for(var o=0,u=Object.getOwnPropertyNames(Object.getPrototypeOf(t));o<u.length;o++)h=u[o],r[h]||n[h]||Object.defineProperty(n,h,{get:s.bind(t,h)});Object.seal(t),Object.seal(n)};i.default=s},"6ir0":function(t,i,n){"use strict";t.exports=function(t){t.dO={},t.addEventListener("message",(function(i){!function(t,i){var n=i;if(!t)return;var s=t.instanceId,h=t.moduleName,o=t.funcName,u=t.args;switch(t.id){case r.CREATE:n.dO[s]=Object.create(e[h].prototype),e[h].apply(n.dO[s],u);break;case r.DESTROY:n.dO.hasOwnProperty(s)&&(n.dO[s].destroy(),delete n.dO[s]);break;case r.CALL_METHOD:if(n.dO.hasOwnProperty(s)){var a=n.dO[s];a&&a[o]&&"function"==typeof a[o]&&a[o].apply(a,u)}}}(function(t,i){if(!i)return;var n=new h(t.data),s=n.instanceId;return n.putParam("callback",(function(t,n){t.instanceId=s,function(t,i,n){if(!n)return;var s=t.dto();n.postMessage(s,i)}(t,n,i)})),n}(i,t),t)}))};var s=n("lPOR"),e=s.WorkerDefs,r=s.MessageIds,h=n("KtsB")},"6nrW":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o,u=n("JcWZ"),a=n("ToqN"),c=n("yegX"),f=n("dgSz"),l=n("R+G7"),v=n("1get"),d=n("fLR+"),p=n("+Ojf"),m=n("O/dN"),b=n("ma23"),y=n("WC4C"),g=n("+kCX"),w=n("q5U7"),S=n("GX4R"),E=n("ReYQ"),O=n("8NcX"),A=n("ek6g"),_=n("mczr"),T=n("pM7s");!function(t){t.RENDERER_SWITCH="rendererSwitch",t.RENDERER_CREATED="rendererCreated",t.RENDERER_TIMEOUT="errorTimeout",t.RENDERER_READY_TO_PLAY="rendererReadyToPlay",t.PLAY_CALLED="playCalled"}(r=i.RendererControllerEvent||(i.RendererControllerEvent={})),function(t){t.CLICK="ActiveRendererClick",t.SRC_SWITCHING="ActiveRendererSrcSwitching",t.SRC_SWITCHED="ActiveRendererSrcSwitched",t.PLAYBACK_START_BLOCKED="ActiveRendererPlayBlocked",t.SKIPPED="ActiveRendererSkipped",t.PAUSE="ActiveRendererPause",t.ENDED="ActiveRendererEnded",t.ERROR="ActiveRendererError",t.INFO="ActiveRendererInfo",t.LOADEDMETADATA="ActiveRendererLoadedMetadata",t.LOADEDDATA="ActiveRendererLoadedData",t.STALLED="ActiveRendererStalled",t.LOADSTART="ActiveRendererLoadStart",t.PLAY="ActiveRendererPlay",t.PLAYING="ActiveRendererPlaying",t.SEEKING="ActiveRendererSeeking",t.SEEKED="ActiveRendererSeeked",t.TIMEUPDATE="ActiveRendererTimeupdate",t.VOLUMECHANGE="ActiveRendererVolumechange",t.WAITING="ActiveRendererWaiting",t.END_FULLSCREEN="ActiveRendererEndFullscreen",t.PLAY_COMPLETE="ActiveRendererPlayComplete"}(h=i.ActiveRendererEvent||(i.ActiveRendererEvent={})),function(t){t.SRC_SWITCHING="NextRendererSrcSwitching",t.SRC_SWITCHED="NextRendererSrcSwitched",t.PAUSE="NextRendererPaused",t.ENDED="NextRendererEnded",t.ERROR="NextRendererVideoError",t.INFO="NextRendererVideoInfo",t.LOADEDMETADATA="NextRendererLoadedMetadata",t.LOADEDDATA="NextRendererLoadedData",t.STALLED="NextRendererStalled",t.LOADSTART="NextRendererLoadStart",t.PLAY="NextRendererPlay",t.PLAYING="NextRendererPlaying",t.SEEKING="NextRendererSeeking",t.SEEKED="NextRendererSeeked",t.TIMEUPDATE="NextRendererTimeupdate",t.VOLUMECHANGE="NextRendererVolumechange",t.WAITING="NextRendererWaiting"}(o=i.NextRendererEvent||(i.NextRendererEvent={}));var M=function(t){function i(i,n,s){var e=t.call(this,"RendererController")||this;return e.pO=s,e.iy=i,e.ty=n,e.mO=null,e.bO=null,e.yO=null,e.gO=null,e.wO={},e.SO={},e.EO={},e.OO=e.AO(),e._O=!1,e}return e(i,t),Object.defineProperty(i.prototype,"activeRendererType",{get:function(){var t,i;return(null===(i=null===(t=this.mO)||void 0===t?void 0:t.type)||void 0===i?void 0:i.toLowerCase())||""},enumerable:!0,configurable:!0}),i.prototype.prepareNextRenderer=function(t,i){var n=this;if(i||(i=function(){}),t){var s=this.TO(t),e=s?_.RendererType.EXTERNAL:t.rendererType;if(!e){var h=void 0,o=void 0,u=void 0;return v.default.isHtml5MseAvailable()?(h=m.PLAYER_CODES.E_NO_RENDERER_FOUND,o="no renderer type is applicable for the playable item",u=p.default.createErr(m.ErrorGroup.Configuration,this.iy.playbackState,m.E_PLAYER,h,"",o)):(h=m.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED,o="flash renderer is not supported for the playable item",u=p.default.createErr(m.ErrorGroup.Restriction,this.iy.playbackState,m.E_INFO,h,"",o)),void i(u)}var a=this.MO(t);if(this.yO!==a)!this.OO&&this.mO&&this.mO.type===e&&this.mO.type!==_.RendererType.EXTERNAL||t.isRecovering()&&this.mO?this.bO=this.mO:(this.bO=e===_.RendererType.EXTERNAL?this.IO(s):this.jO(e),this.NO(this.bO)),this.yO=a,this._O=!0,this.bO.waitForReady((function(t){n._O=!1,t&&(n.publish(r.RENDERER_TIMEOUT),n.bO&&n.RO(n.bO)),i(t)}));else{if(this._O)return;i()}}else i(new Error("no playable item to be rendered"))},i.prototype.setItemNextRenderer=function(t,i){var n=this;if(void 0===i&&(i=0),!t)return!1;var s=this.MO(t);if(this.yO!==s)return this.prepareNextRenderer(t,(function(){n.setItemNextRenderer(t,i)})),!0;var e=this.MO(t,i);return this.gO===e||!!this.bO&&(this.gO=e,this.bO.setPlayableItem(t,i))},i.prototype.preloadNextRenderer=function(t){if(this.bO&&this.bO.preload){var i=this.bO.getPlayableItem();if(i&&(this.iy.preload||t)&&this.bO.type===_.RendererType.HTML5_HLS){var n={startOffset:i.customConfig&&i.customConfig.playbackStart||NaN,bufferLimit:this.iy.preloadBufferSize||30};this.bO.preload(n)}}},i.prototype.switchAndPlayNextRenderer=function(t,i){void 0===i&&(i=!1),this.switchToNextRenderer(i),this.publish(r.RENDERER_READY_TO_PLAY,t)},i.prototype.switchToNextRenderer=function(t){void 0===t&&(t=!1),this.bO&&(delete this.wO[this.bO.type],this.kO(this.bO),this.switchToRenderer(this.bO,t),this.yO=null,this.gO=null)},i.prototype.didRendererTimeOut=function(){return!(!this.mO||!this.mO.timedOut)},i.prototype.getActiveRenderer=function(){return this.mO},i.prototype.getNextRendererNode=function(){return this.bO&&this.bO.node||null},i.prototype.syncPlaybackState=function(){this.mO&&(this.mO.paused=this.iy.isPaused(),this.mO.seeking=this.iy.isSeeking())},i.prototype.rewindAfterEnd=function(t){if(this.mO)if(t)switch(this.mO.type){case _.RendererType.HTML5_RAW:case _.RendererType.HTML5_HLS:this.mO.node&&(this.mO.node.src="")}else this.mO.seek(0)},i.prototype.play=function(t){this.publish(r.PLAY_CALLED),this.mO&&this.mO.play(t)},i.prototype.pause=function(){this.mO&&(this.mO.type===_.RendererType.HTML5_TV_TIZEN||this.mO.type===_.RendererType.HTML5_TV_ORSAY||(d.isFunction(this.mO.pause)?this.mO.pause():this.mO.node&&this.mO.node.pause()))},i.prototype.getCurrentDate=function(){return this.mO&&this.mO.getCurrentDate()||0},i.prototype.endVideo=function(){var t=this.mO;t&&!t.ended&&(t.ended=!0,t.type===_.RendererType.HTML5_TV_TIZEN||t.type===_.RendererType.HTML5_TV_ORSAY||(d.isFunction(t.stop)?t.stop():t.node&&t.node.pause()))},i.prototype.seek=function(t){this.mO&&this.mO.seek(t)},i.prototype.getCurrentTime=function(){return this.mO?this.mO.getCurrentTime():0},i.prototype.getDuration=function(){return this.mO?this.mO.getDuration():NaN},i.prototype.getMuted=function(){if(this.mO)return this.mO.getMuted()},i.prototype.getVolume=function(){return this.mO?this.mO.getVolume():NaN},i.prototype.setQuality=function(t){this.mO&&this.mO.setQuality(t)},i.prototype.enterFS=function(){this.mO&&this.mO.enterFullScreen&&this.mO.enterFullScreen()},i.prototype.exitFS=function(){this.mO&&this.mO.exitFullScreen&&this.mO.exitFullScreen()},i.prototype.showAirplayTargetMenu=function(){this.mO&&this.mO.showAirplayTargetMenu&&this.mO.showAirplayTargetMenu()},i.prototype.setVolume=function(t){this.mO&&this.mO.setVolume(t)},i.prototype.setMute=function(t){this.mO&&this.mO.setMute(!!t)},i.prototype.setAudioLanguage=function(t){this.mO&&this.mO.setAudioLanguage&&this.mO.setAudioLanguage(t)},i.prototype.stopMedia=function(){if(this.mO)return this.mO.detachNode(),this.mO.stopMedia()},i.prototype.stopNextRenderer=function(t){if(this.bO)return this.bO.setError(t),this.bO.detachNode(),this.bO.stopMedia()},i.prototype.skip=function(){this.mO&&d.isFunction(this.mO.skip)&&this.mO.skip()},i.prototype.switchToRenderer=function(t,i){this.LO(this.mO);var n=this.mO,s=n&&n!==t;s&&a.userAgent.mobile&&this.exitFS(),this.DO(t),this.iy.playbackState.rendererType=t.type,this.setVolume(this.iy.volume),this.setMute(this.iy.mute),this.CO(this.mO),s&&(n.type===_.RendererType.HTML5_HLS_360||n.type===_.RendererType.HTML5_RAW_360||n.type===_.RendererType.EXTERNAL?p.default.classList(n.container).remove("vp-renderer-active"):n.node&&p.default.classList(n.node).remove("vp-renderer-active"),i?this.RO(n):this.PO(n)),this.xO(t,!0),t.type===_.RendererType.HTML5_HLS_360||t.type===_.RendererType.HTML5_RAW_360||t.type===_.RendererType.EXTERNAL?p.default.classList(t.container).add("vp-renderer-active"):t.node&&p.default.classList(t.node).add("vp-renderer-active"),this.publish(r.RENDERER_SWITCH,n,t)},i.prototype.enableMobileNativeCC=function(t){this.mO&&this.mO.enableMobileNativeCC&&this.mO.enableMobileNativeCC(t)},i.prototype.handleAdvancePreparePreloadNextRenderer=function(t){var i=this;t&&t.rendererType===_.RendererType.HTML5_HLS&&this.prepareNextRenderer(t,(function(n){n||i.bO===i.mO||t.isLive()||(i.setItemNextRenderer(t,0),i.preloadNextRenderer(!0))}))},i.prototype.suspendStreaming=function(){this.mO&&this.mO.suspendStreaming()},i.prototype.resumeStreaming=function(){this.mO&&this.mO.resumeStreaming()},i.prototype.destroy=function(){this.mO&&this.mO.destroy(),this.bO&&this.bO.destroy()},i.prototype.CO=function(t){t&&(this.UO(t,_.CustomRendererEvent,h,this.SO),this.UO(t,_.RendererEvent,h,this.SO))},i.prototype.LO=function(t){t&&(t.removeEventListeners(this.SO),this.SO={})},i.prototype.NO=function(t){t&&t!==this.mO&&this.UO(t,_.RendererEvent,o,this.EO)},i.prototype.kO=function(t){t&&(t.removeEventListeners(this.EO),this.EO={})},i.prototype.UO=function(t,i,n,s){var e=this;if(s)for(var r=function(r){if(i[r]){var o=i[r];s[o]=t.on(o,(function(t){n[r]&&e.publish.call(e,n[r],t)}),h)}},h=this,o=0,u=Object.keys(i);o<u.length;o++){r(u[o])}},i.prototype.VO=function(t){var i=this.iy,n=this.ty,s=this.wO[t];if(s)return s.bindCustomEvents(),s;switch(t){case _.RendererType.HTML5_HLS:s=new g.default(n,i);break;case _.RendererType.HTML5_RAW_360:s=new E.default(n,i);break;case _.RendererType.HTML5_HLS_360:s=new w.default(n,i);break;case _.RendererType.EXTERNAL:s=new y.default;break;case _.RendererType.HTML5_TV:s=new O.default(n,i);break;case _.RendererType.HTML5_TV_ORSAY:s=new A.default(n,i);break;case _.RendererType.HTML5_TV_TIZEN:s=new T.default(n,i);break;case _.RendererType.HTML5_RAW:default:s=new S.default(n,i)}return this.publish(r.RENDERER_CREATED,s),this.BO(s,t),s},i.prototype.jO=function(t){return this.VO(t)},i.prototype.IO=function(t){if(this.mO&&this.mO.type===_.RendererType.EXTERNAL&&this.mO.getExternalPlayer()===t)return this.mO;var i=this.jO(_.RendererType.EXTERNAL);return i.setExternalPlayer(t),i},i.prototype.PO=function(t){var i=[_.RendererType.HTML5_RAW_360,_.RendererType.HTML5_HLS_360,_.RendererType.EXTERNAL];if(t){var n=t.type;this.xO(t,!1),this.wO[n]||-1!==i.indexOf(n)?t.destroy():this.BO(t,n)}},i.prototype.xO=function(t,i){t&&(i?(t.detachNode&&t.detachNode(),t.reattachNode&&t.reattachNode()):(t.detachNode&&t.detachNode(),t.stopMedia&&t.stopMedia()))},i.prototype.TO=function(t){if(!(t instanceof c.default&&t.adPluginMimeType))return null;if(!this.iy.config.ads.preferExternalPlayback)return null;var i,n=this.pO.getPlugin(b.PluginType.AD,t.adPluginMimeType);if(!n||!d.isExternalPlayer(n))return null;var s=(i=n).getCapabilities(),e=!1,r=!1;return t.streams.forEach((function(t){/\.m3u8/i.test(t.url)?e=!0:/\.(?:mp4|webm)/i.test(t.url)&&(r=!0)})),e&&s.indexOf(_.ExternalPlayerCapability.RENDER_HLS)>-1||r&&s.indexOf(_.ExternalPlayerCapability.RENDER_PDL)>-1?i:null},i.prototype.MO=function(t,i){var n,s=[];if(i||(i=0),s.push(t.rendererType),s.push(i),t instanceof c.default){s.push("ad"),s.push(t.adBreakItemId),t.adPluginMimeType&&s.push(t.adPluginMimeType),(n=t.streams)&&n.length>0&&s.push(n[0].url);var e=t.adBreak;e&&(s.push(e.adBreakId),s.push(e.adBreakItems.length))}else t instanceof f.default&&(s.push("mediaItem"),s.push(t.id),(n=t.streams)&&n.length>0&&s.push(n[0].url));return s.join("|")},i.prototype.AO=function(){var t=a.userAgent.mobile&&!l.default.hasNativeAutoplaySupport;return!(a.userAgent.tv||a.userAgent.ios||t)},i.prototype.RO=function(t){return delete this.wO[t.type],t.destroy()},i.prototype.DO=function(t){t&&(this.mO=t,t.setActive(!0))},i.prototype.BO=function(t,i){t&&(this.wO[i]=t,t.setActive(!1))},i}(u.default);i.RendererController=M},"77/b":function(t,i,n){"use strict";t.exports=o;var s=n("EKCA"),e=n("y5bh").HLSEvent,r=n("V66C").StreamTypes,h=n("hifa");function o(t,i,n,o){var u=this;if(u.type=t,u.groupId=i,u.FO=[],u.zO=u.__controller.create(h),n){(n=u.HO(n)).forEach((function(t){var i=u.__controller.create(s,t);u.FO.push(i),u.zO.addStream(i)}));var a=u.YO("default");a||(a=u.YO("autoSelect")),a&&(u.setCurrentStream(a),a.type===r.SUBTITLES&&u.__controller.sendEvent(e.CC_VTT_AVAILABLE,{sessionId:u.__controller.model.sessionId})),t===r.AUDIO&&(o&&u.setCurrentStreamWithName(o),u.GO())}u.WO()}o.prototype.YO=function(t){for(var i=0;i<this.FO.length;i++)if(this.FO[i][t])return this.FO[i];return null},o.prototype.destroy=function(){this.FO.forEach((function(t){t.destroy()})),this.FO=[],this.zO.destroy()},o.prototype.getCurrentStream=function(){return this.sE},o.prototype.setCurrentStream=function(t){t&&(this.sE=t)},o.prototype.setCurrentStreamWithName=function(t){if(!t||!this.sE||t===this.sE.name)return!1;for(var i=0;i<this.FO.length;i++){var n=this.FO[i];if(t===n.name)return this.setCurrentStream(n),!0}return!1},o.prototype.update=function(t){this.zO.update(t)},o.prototype.adjustStartTime=function(t,i){var n=this;n.FO.forEach((function(s){s.adjusted||n.zO.adjustStartTime(s,t,i)}))},o.prototype.getContainerFormat=function(){return this.sE?this.sE.containerFormat:null},o.prototype.setContainerFormat=function(t){this.FO.forEach((function(i){i.containerFormat||(i.containerFormat=t)}))},o.prototype.getDrmInfo=function(){for(var t=[],i=0;i<this.FO.length;i++){var n=this.FO[i].drmInfo;if(!n)break;for(var s=0;s<n.length;s++)t.push(n[s])}return t},o.prototype.hasStreams=function(){return this.FO.length>0},o.prototype.WO=function(){return!0},o.prototype.GO=function(){var t=this,i={},n=[];t.FO.forEach((function(s){i[s.name]||(i[s.name]=1,n.push({name:s.name,language:s.language,selected:t.sE&&s.name===t.sE.name}))})),n.length>1&&t.__controller.sendEvent(e.MULTI_LANGUAGES_AVAILABLE,{sessionId:t.__controller.model.sessionId,languages:n})},o.prototype.HO=function(t){return t?t.filter((function(t){return!!t.url})):t}},"7M2b":function(t,i,n){"use strict";t.exports.StreamLoader=a;var s=n("2fkz").CmdNames,e=n("x7P6").MetadataTypes,r=n("iSaY"),h=n("/iNa"),o=n("RwmF"),u=t.exports.Events={STREAM_LOADED:"streamLoaded",STREAM_LOAD_ERROR:"streamLoadError"};function a(t){o.call(this,this.constructor.name),this.iy=this.__controller.model,this.BE=t,this.qO=this.__controller.services.metadataParser,this.stream=null,this.loaded=!1}h.inherits(a,o),a.prototype.destroy=function(){o.prototype.destroy.call(this)},a.prototype.load=function(t,i){t&&(this.stream=t,this.loaded=!1,this.BE.executeCommand(s.CMD_STREAM_LOAD,{stream:t,retryOpts:i},this))},a.prototype.cancel=function(){this.BE.removeRelatedCommands(s.CMD_STREAM_LOAD)},a.prototype.onStreamLoadComplete=function(t,i){if(t)if(i&&i.stream){var n=i.stream,s={rawData:i.data,headers:i.headers,type:e.RAW,streamType:n.type,groupId:n.groupId,name:n.name,url:i.streamUrl,index:n.index};this.iy.build(this.qO.parse(s)),this.BE.removeCommand(t),this.loaded=!0,this.publish(u.STREAM_LOADED,n)}else this.BE.removeCommand(t)},a.prototype.onStreamLoadError=function(t,i){this.BE.removeCommand(t);var n=i.code===r.ERR_XHR_LOAD[0]?new r.Error(r.ERR_PLAYLIST_LOAD):i;this.publish(u.STREAM_LOAD_ERROR,this.stream,n)}},"7fx/":function(t,i,n){var s=n("guzb");"string"==typeof s&&(s=[[t.i,s,""]]);n("ZuTH")(s,{})},"7sdD":function(t,i,n){"use strict";var s=n("vgmO"),e=n("g2LC"),r=n("ZESv"),h=n("U6jy");function o(t,i,n){var s=t;return e(i)?(n=i,"string"==typeof t&&(s={uri:t})):s=h(i,{uri:t}),s.callback=n,s}function u(t,i,n){return a(i=o(t,i,n))}function a(t){if(void 0===t.callback)throw new Error("callback argument missing");var i=!1,n=function(n,s,e){i||(i=!0,t.callback(n,s,e))};function s(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var i=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!i)return t.responseXML}catch(t){}return null}(c),b)try{t=JSON.parse(t)}catch(t){}return t}function e(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,n(t,y)}function h(){if(!a){var i;clearTimeout(f),i=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var e=y,h=null;return 0!==i?(e={body:s(),statusCode:i,method:v,headers:{},url:l,rawRequest:c},c.getAllResponseHeaders&&(e.headers=r(c.getAllResponseHeaders()))):h=new Error("Internal XMLHttpRequest Error"),n(h,e,e.body)}}var o,a,c=t.xhr||null;c||(c=t.cors||t.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var f,l=c.url=t.uri||t.url,v=c.method=t.method||"GET",d=t.body||t.data,p=c.headers=t.headers||{},m=!!t.sync,b=!1,y={body:void 0,headers:{},statusCode:0,method:v,url:l,rawRequest:c};if("json"in t&&!1!==t.json&&(b=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==v&&"HEAD"!==v&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),d=JSON.stringify(!0===t.json?d:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(h,0)},c.onload=h,c.onerror=e,c.onprogress=function(){},c.onabort=function(){a=!0},c.ontimeout=e,c.open(v,l,!m,t.username,t.password),m||(c.withCredentials=!!t.withCredentials),!m&&t.timeout>0&&(f=setTimeout((function(){if(!a){a=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",e(t)}}),t.timeout)),c.setRequestHeader)for(o in p)p.hasOwnProperty(o)&&c.setRequestHeader(o,p[o]);else if(t.headers&&!function(t){for(var i in t)if(t.hasOwnProperty(i))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(c),c.send(d||null),c}t.exports=u,t.exports.default=u,u.XMLHttpRequest=s.XMLHttpRequest||function(){},u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:s.XDomainRequest,function(t,i){for(var n=0;n<t.length;n++)i(t[n])}(["get","put","post","patch","head","delete"],(function(t){u["delete"===t?"del":t]=function(i,n,s){return(n=o(i,n,s)).method=t.toUpperCase(),a(n)}}))},"8NcX":function(t,i){},"8PPl":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CHROMECAST_RECEIVER_ID="84BB6CBA",function(t){t.CLICK="click",t.AUTOPLAY="autoplay",t.API="api",t.CONTINUOUS="continuous",t.HOVER="hover",t.PLAY="play",t.PAUSE="pause",t.SCROLL="scroll",t.SWIPE="swipe",t.BACKGROUND="background"}(i.REQUEST_TYPES||(i.REQUEST_TYPES={})),function(t){t.VOLUME="yvpVolume"}(i.LocalStorageKey||(i.LocalStorageKey={})),i.ID3_MATCH_PATTERN={JSON:/\{([\S\s]*)\}/,NIELSEN:/\bwww.nielsen.com.*(\/\d+){3}/},function(t){t.BOTTOM="bottom",t.RIGHT="right",t.HIDDEN="hidden"}(i.PLAYLIST_POS||(i.PLAYLIST_POS={})),function(t){t[t.WIDTH=604]="WIDTH",t[t.HEIGHT=340]="HEIGHT"}(i.HideBreakpointDimensions||(i.HideBreakpointDimensions={})),i.VIDEO_MAIN_ELEMENT_CLASS="vp-main"},"8z9E":function(t,i,n){"use strict";function s(t){this.XO=t,this.QO=null,this.ZO=!1,this.JO=0,this.KO=[],this.$O=null,this.tA=0,this.iA=0,this.nA=0,this.sA=[],this.eA=0,this.rA=0,this.hA=0,this.oA=!1,this.uA=4}t.exports=s,s.prototype.destroy=function(){this.XO=null},s.prototype.parse=function(t,i){this.QO=i;for(var n=0;n<t.length;n++)this.aA(t[n]);this.QO=null},s.prototype.aA=function(t){if(this.cA(t.data1)&&this.cA(t.data2)&&(this.hA=t.pts/t.timescale,t.data1&=127,t.data2&=127,0!==t.data1||0!==t.data2))if(t.data1>=1&&t.data1<=14&&1===t.fieldType&&(this.ZO=!0),15===t.data1&&this.ZO&&1===t.fieldType)this.ZO=!1;else{if(t.data1>=16&&t.data1<31){if(this.fA(t.data1,t.data2))return;if(8!=(8&t.data1)&&0===t.fieldType?this.lA(0):8==(8&t.data1)&&0===t.fieldType?this.lA(1):8!=(8&t.data1)&&1===t.fieldType?this.lA(2):8==(8&t.data1)&&1===t.fieldType&&this.lA(3),null===this.$O)return;this.vA(t),this.dA(t),this.pA(t);var i=119&t.data1;17===i&&48==(112&t.data2)?this.mA(15&t.data2):18!==i&&26!==i||64&t.data2?19!==i&&27!==i||64&t.data2||this.bA(63&t.data2):this.yA(63&t.data2)}else{if(this.ZO&&1===t.fieldType)return;if(t.data1>=32&&t.data1<=126){if(0===t.fieldType&&2===this.JO?this.lA(0):0===t.fieldType&&3===this.JO?this.lA(1):1===t.fieldType&&0===this.JO?this.lA(2):1===t.fieldType&&1===this.JO&&this.lA(3),null===this.$O)return;var n=this.gA(t.data1);if(this.$O.appendChar(n),t.data2>=32&&t.data2<=126){var s=this.gA(t.data2);this.$O.appendChar(s)}}}this.tA=t.data1,this.iA=t.data2}},s.prototype.vA=function(t){var i=119&t.data1,n=96&t.data2;17===i&&64===n?(this.$O.startNewRow(1),this.wA(t.data2)):17===i&&96===n?(this.$O.startNewRow(2),this.wA(t.data2)):18===i&&64===n?(this.$O.startNewRow(3),this.wA(t.data2)):18===i&&96===n?(this.$O.startNewRow(4),this.wA(t.data2)):21===i&&64===n?(this.$O.startNewRow(5),this.wA(t.data2)):21===i&&96===n?(this.$O.startNewRow(6),this.wA(t.data2)):22===i&&64===n?(this.$O.startNewRow(7),this.wA(t.data2)):22===i&&96===n?(this.$O.startNewRow(8),this.wA(t.data2)):23===i&&64===n?(this.$O.startNewRow(9),this.wA(t.data2)):23===i&&96===n?(this.$O.startNewRow(10),this.wA(t.data2)):16===i&&64===n?(this.$O.startNewRow(11),this.wA(t.data2)):19===i&&64===n?(this.$O.startNewRow(12),this.wA(t.data2)):19===i&&96===n?(this.$O.startNewRow(13),this.wA(t.data2)):20===i&&64===n?(this.$O.startNewRow(14),this.wA(t.data2)):20===i&&96===n&&(this.$O.startNewRow(15),this.wA(t.data2))},s.prototype.dA=function(t){17===(119&t.data1)&&32==(112&t.data2)&&(this.wA(t.data2),this.$O.appendChar(" "))},s.prototype.pA=function(t){var i=119&t.data1;20===i&&32===t.data2?this.$O.setMode(e.POP_ON_MODE):20===i&&33===t.data2?this.$O.backspace():20===i&&36===t.data2?this.$O.clearEndOfRow():20===i&&37===t.data2?this.$O.setMode(e.ROLL_UP_MODE,2):20===i&&38===t.data2?this.$O.setMode(e.ROLL_UP_MODE,3):20===i&&39===t.data2?this.$O.setMode(e.ROLL_UP_MODE,4):20===i&&41===t.data2?this.$O.setMode(e.PAINT_ON_MODE):20===i&&44===t.data2?this.$O.eraseDisplayMemory():20===i&&45===t.data2?this.$O.linebreak():20===i&&46===t.data2?this.$O.eraseNondisplayMemory():20===i&&47===t.data2?this.$O.endOfCaption():23===i&&33===t.data2?this.$O.setIndent(1):23===i&&34===t.data2?this.$O.setIndent(2):23===i&&35===t.data2&&this.$O.setIndent(3)},s.prototype.mA=function(t){var i=["®","°","½","¿","™","¢","£","♪","à"," ","è","â","ê","î","ô","û"],n=t;n<0||n>=i.length||this.$O.appendChar(i[n])},s.prototype.yA=function(t){var i=["Á","É","Ó","Ú","Ü","ü","´","¡","*","'","-","©","℠","·",'"','"',"À","Â","Ç","È","Ê","Ë","ë","Î","Ï","ï","Ô","Ù","ù","Û","«","»"],n=t-32;n<0||n>=i.length||this.$O.appendChar(i[n])},s.prototype.bA=function(t){var i=["Ã","ã","Í","Ì","ì","Ò","ò","Õ","õ","{","}","\\","^","_","|","~","Ä","ä","Ö","ö","ß","¥","¤","¦","Å","å","Ø","ø","┌","┐","└","┘"],n=t-32;n<0||n>=i.length||this.$O.appendChar(i[n])},s.prototype.cA=function(t){return[0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0][t]},s.prototype.gA=function(t){return 42===t?"á":92===t?"é":94===t?"í":95===t?"ó":96===t?"ú":123===t?"ç":124===t?"÷":125===t?"Ñ":126===t?"ñ":String.fromCharCode(t)},s.prototype.fA=function(t,i){return this.tA===t&&this.iA===i},s.prototype.wA=function(t){if(16==(16&t)){var i=0;0==(14&t)?i=0:2==(14&t)?i=4:4==(14&t)?i=8:6==(14&t)?i=12:8==(14&t)?i=16:10==(14&t)?i=20:12==(14&t)?i=24:14==(14&t)&&(i=28),this.$O.setColumn(i)}else 14==(14&t)&&this.$O.setItalic();1==(1&t)&&this.$O.setUnderlined()},s.prototype.lA=function(t){this.KO[t]||(this.KO[t]=new r(t,this.onFlipMemories.bind(this),this.onEraseDisplayMemory.bind(this),this.onLinebreak.bind(this))),this.JO=t,this.$O=this.KO[t]},s.prototype.getChannel=function(t){return this.KO[t]},s.prototype.translate608RowToVTTLine=function(t){var i=[10,15.33,20.66,26,31.33,36.66,42,47.33,52.66,58,63.33,68.66,74,79.33,84.66];return t<1||t>i.length?i[0]:i[t-1]},s.prototype.translate608ColumnToVTTPosition=function(t){var i=0;return t<=4?i=10:t>=5&&t<=8?i=20:t>=9&&t<=12?i=30:t>=13&&t<=16?i=40:t>=17&&t<=20?i=50:t>=21&&t<=24?i=60:t>=25&&t<=29?i=70:t>=29&&(i=80),i},s.prototype.onFlipMemories=function(t){this.oA&&this.onEraseDisplayMemory(t);var i=this.getChannel(t);if(i.getMode()===e.POP_ON_MODE){if(this.eA=this.hA,t===this.nA){var n=this.sA;this.sA=i.getCaptionRows(),i.setCaptionRows(n);for(var s=0;s<this.sA.length;s++)this.sA[s]&&this.sA[s].hasCaptionData()&&(this.oA=!0)}i.eraseNondisplayMemory()}},s.prototype.SA=function(t,i){var n=[];n.push("snapToLines:false"),n.push("align:start");var s="line:"+this.translate608RowToVTTLine(i)+"%";n.push(s);var e="position:"+this.translate608ColumnToVTTPosition(t)+"%";return n.push(e),n},s.prototype.EA=function(t,i,n){for(var s=i[t].toString();t<i.length-1;){var e=i[t+1];if(e&&e.hasCaptionData()){var r=e.toString();r.length>0&&(s+="\n"+r),n&&e.reset(),t++}else t++}return{rowIdx:t,rowText:s}},s.prototype.onEraseDisplayMemory=function(t){var i=this.getChannel(t),n=i.getMode();if(t===this.nA){if(n===e.POP_ON_MODE){this.rA=this.hA;for(var s=0;s<this.sA.length;s++){var r=this.sA[s];if(r&&r.hasCaptionData()){var h=r.getStartPosition(),o=this.SA(h,s+1),u=this.EA(s,this.sA,!0);s=u.rowIdx;var a=u.rowText;this.rA-this.eA>this.uA&&(this.rA=this.eA+this.uA),this.OA(a,o),this.eA+=.001,r.reset()}}}else n===e.ROLL_UP_MODE||n===e.PAINT_ON_MODE?(-1!==this.eA&&0!==this.eA||(this.eA=this.hA),this.rA>this.eA&&(this.eA=this.rA),this.AA(t),i.eraseNondisplayMemory()):n&&i.eraseNondisplayMemory();this.oA=!1}else i.eraseNondisplayMemory()},s.prototype.onLinebreak=function(t){if(t===this.nA){var i=this.getChannel(t).getMode();i!==e.ROLL_UP_MODE&&i!==e.PAINT_ON_MODE||(-1!==this.eA&&0!==this.eA||(this.eA=this.hA),this.rA>this.eA&&(this.eA=this.rA),this.AA(t))}},s.prototype.AA=function(t){for(var i=this.getChannel(t).getCaptionRows(),n=0;n<i.length;n++){var s=i[n];if(s&&s.hasCaptionData()){var e=this.SA(12,n),r=this.EA(n,i,!1);n=r.rowIdx;var h=r.rowText;this.rA=this.eA+1.5,this.OA(h,e),this.eA+=.001}}this.eA=-1},s.prototype.OA=function(t,i){var n="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n";n+=this._A(this.eA),n+=" --\x3e ",n+=this._A(this.rA);for(var s=0;s<i.length;s++)n+=" "+i[s];if(n+="\n",n+=t+"\n",this.XO){var e={discontinuity:this.QO.discontinuity,sequenceNum:this.QO.seqNum,startTime:this.QO.startTime,programDateTime:this.QO.programDateTime,url:this.QO.url,duration:this.QO.duration,clockReference:0,localCueTime:0,mpegTSTime:0,data:n,offset:0,adjustedTime:0};this.XO(e)}},s.prototype._A=function(t){var i=Math.floor(t/60/60);i=this.TA(i);var n=Math.floor(t/60%60);n=this.TA(n);var s=(t%60).toFixed(3);return i+":"+n+":"+(s=this.TA(s))},s.prototype.TA=function(t){return t<10&&(t="0"+t),t};var e={POP_ON_MODE:0,ROLL_UP_MODE:1,PAINT_ON_MODE:3};function r(t,i,n,s){this.MA=t,this.IA=0,this.jA=[],this.NA=null,this.RA=null,this.Py=null,this.kA=i,this.LA=n,this.DA=s}function h(){this.CA=32,this.PA=-1,this.xA=!1,this.UA=!1,this.VA=0,this.BA=[],this.MAX_CHARS=32}function o(){this.character="",this.isUnderlined=!1,this.isItalic=!1}r.prototype.setMode=function(t,i){this.Py=t,i<2?i=2:i>4&&(i=4),this.IA=i},r.prototype.getMode=function(){return this.Py},r.prototype.FA=function(t){if(!(t<1||t>15)){(t<this.IA||null===this.NA)&&(this.NA=this.IA);for(var i=this.jA[0],n=0;n<this.jA.length;n++)n<this.jA.length-1?this.jA[n]=this.jA[n+1]:this.jA[n]=i,(n>this.NA||this.NA-this.IA>0&&n<this.NA-this.IA)&&this.jA[n]&&this.jA[n].reset()}},r.prototype.zA=function(){this.DA&&this.DA(this.MA)},r.prototype.startNewRow=function(t){if(!(t<1||t>15)){this.Py===e.ROLL_UP_MODE?this.FA(t):this.Py===e.PAINT_ON_MODE&&this.zA(),this.NA=t,this.RA=this.getCaptionRow(t),this.RA.reset()}},r.prototype.getCaptionRows=function(){return this.jA},r.prototype.setCaptionRows=function(t){this.jA=t},r.prototype.setIndent=function(t){this.RA&&this.RA.tabIndex(t)},r.prototype.setColumn=function(t){this.RA&&this.RA.columnIndex(t)},r.prototype.setItalic=function(){this.RA&&this.RA.setIsItalic(!0)},r.prototype.setUnderlined=function(){this.RA&&this.RA.setIsUnderlined(!0)},r.prototype.appendChar=function(t){this.RA&&this.RA.writeChar(t)},r.prototype.linebreak=function(){this.DA&&this.DA(this.MA)},r.prototype.eraseNondisplayMemory=function(){for(var t=0;t<this.jA.length;t++)this.jA[t]&&this.jA[t].reset()},r.prototype.clearEndOfRow=function(){this.RA&&this.RA.clearToEnd()},r.prototype.backspace=function(){this.RA&&this.RA.backspace()},r.prototype.eraseDisplayMemory=function(){this.LA(this.MA)},r.prototype.endOfCaption=function(){this.kA(this.MA)},r.prototype.getCaptionRow=function(t){if(t<1||t>15)return null;var i=t-1;return this.jA[i]||(this.jA[i]=new h),this.jA[i]},h.prototype.reset=function(){this.UA=!1,this.xA=!1;for(var t=0;t<this.BA.length;t++)this.BA[t]&&this.BA[t].reset();this.VA=0,this.CA=32,this.PA=-1},h.prototype.clearToEnd=function(){for(var t=this.VA;t<this.BA.length;t++)this.BA[t]&&this.BA[t].reset()},h.prototype.columnIndex=function(t){t<0||t>=this.MAX_CHARS||(this.VA=t)},h.prototype.tabIndex=function(t){this.HA(t)},h.prototype.writeChar=function(t){var i=this.BA[this.VA];i||(this.BA[this.VA]=new o,i=this.BA[this.VA]),i.setValue(t,this.UA,this.xA),this.VA<this.CA&&(this.CA=this.VA),this.VA>this.PA&&(this.PA=this.VA),this.HA(1)},h.prototype.backspace=function(){this.VA>0&&(this.BA[this.VA].reset(),this.VA--)},h.prototype.HA=function(t){this.VA+t<this.MAX_CHARS?this.VA+=t:this.VA=this.MAX_CHARS-1},h.prototype.setIsItalic=function(t){this.UA=t},h.prototype.setIsUnderlined=function(t){this.xA=t},h.prototype.hasCaptionData=function(){return 32!==this.CA||-1!==this.PA},h.prototype.getCharacterAt=function(t){return t<0||t>=this.MAX_CHARS?null:this.BA[t]},h.prototype.getStartPosition=function(){return this.CA},h.prototype.getEndPosition=function(){return this.PA},h.prototype.toString=function(){var t="",i=!1,n=!1;if(this.hasCaptionData())for(var s=this.CA;s<=this.PA;s++){var e=this.getCharacterAt(s);e.isItalic&&!n?(t+="<i>",n=!0):n&&!e.isItalic&&(t+="</i>",n=!1),e.isUnderlined&&!i?(t+="<u>",i=!0):i&&!e.isUnderlined&&(t+="</u>",i=!1),"&"===e.character?t+="&amp;":"<"===e.character?t+="&lt;":">"===e.character?t+="&gt;":t+=e.character}return i&&(t+="</u>",i=!1),n&&(t+="</i>",n=!1),t},o.prototype.reset=function(){this.character="",this.isItalic=!1,this.isUnderlined=!1},o.prototype.setValue=function(t,i,n){this.character=t,this.isItalic=i,this.isUnderlined=n}},"9BmL":function(t,i,n){"use strict";t.exports.AacStreamer=u,t.exports.AacLiveStreamer=a;var s=n("/iNa"),e=n("6I/I").Streamer,r=n("21xW"),h=n("lPOR"),o=n("9nRl");function u(t,i){this.YA(t,i)}function a(t,i){this.YA(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.YA=u.prototype.YA=function(t,i){this.constructor.super_.call(this,t,i),this.GA=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastAudioTimestamp=NaN,this.lastAudioFrameDuration=NaN,this.primary=!1,this.WA="mp4a.40.2",this.qA="audio",this.XA();var n=[{type:this.qA,mimeType:this.qA+'/mp4; codecs="'+this.WA+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(h.MessageIds.CREATE_SRC_BUFFER,[n],["tracks"]),this.oE=this.STATES.INITIALIZED},a.prototype.destroy=u.prototype.destroy=function(){this.GA.destroy.call(this)},a.prototype.onSeeking=u.prototype.onSeeking=function(t){this.lastAudioTimestamp=NaN,this.GA.onSeeking.call(this,t)},a.prototype.onSwitchBegin=u.prototype.onSwitchBegin=function(){this.XA(),this.GA.onSwitchBegin.call(this)},a.prototype.onManualStreamChange=u.prototype.onManualStreamChange=function(){this.XA(),this.lastAudioTimestamp=NaN,this.GA.onManualStreamChange.call(this)},a.prototype.oO=u.prototype.oO=function(){this.XA()},a.prototype.fO=u.prototype.fO=function(t){if(!this.isActive())return null;var i=this.sE;return{segment:i.getSegmentfromSeqNum(t),stream:i,state:{mp4:this.QA,lastChunkEndTs:{audio:this.lastAudioTimestamp,video:NaN},lastFrameDuration:{audio:this.lastAudioFrameDuration,video:NaN}},onlyMetadata:this.processOnlyMetadata}},a.prototype.onSegmentLoadProgress=u.prototype.onSegmentLoadProgress=function(t,i,n){if(i){var s=i.getParam?i.getParam("parsedInfo"):null;s&&(s.lastChunkEndTs&&o.isNumber(s.lastChunkEndTs.audio)&&(this.lastAudioTimestamp=s.lastChunkEndTs.audio),s.lastFrameDuration&&o.isNumber(s.lastFrameDuration.audio)&&(this.lastAudioFrameDuration=s.lastFrameDuration.audio)),this.GA.onSegmentLoadProgress.call(this,t,i,n)}},a.prototype.XA=u.prototype.XA=function(){this.QA={video:{shouldInit:!0,seqNum:0},audio:{shouldInit:!0,seqNum:0}}},a.prototype.aO=u.prototype.aO=function(t,i){},a.prototype.JS=function(t){this.lastAudioTimestamp=NaN,this.isActive()&&this.GA.JS.call(this,t)}},"9EqR":function(t,i,n){"use strict";function s(t){t&&(this.url=t.url,this.name=t.name,this.range=t.range);var i=this.range;this.loaded=!1,this.data=i&&i.end>=0&&i.start>=0&&i.end>i.start?new Uint8Array(i.end-i.start+1):null,this.ZA=0,this.JA=this.data?this.data.byteLength:0}t.exports=s,s.prototype.destroy=function(){this.data=null},s.prototype.append=function(t){if(this.loaded||!t)return 0;var i=0;if(this.JA&&this.data){i=Math.min(t.byteLength,this.JA-this.ZA);for(var n=0;n<i;n++)this.data[this.ZA+n]=t[n];this.ZA+=i,this.ZA>=this.JA&&(this.loaded=!0)}else{var s=t.byteLength;if(!s)return;var e=null,r=0;this.data&&(r=(e=this.data).length),i=r+s,this.data=new Uint8Array(i),e&&this.data.set(e),this.data.set(t,r),this.ZA+=i}return i},s.prototype.equals=function(t){return!!t&&(this.url===t.url&&this.name===t.name&&(!this.range||!t.range||this.range.start===t.range.start&&this.range.end===t.range.end))}},"9d71":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("8PPl"),r=n("oIMU"),h=n("ma23"),o=n("WSjl"),u=function(){function t(t,i,n,s){this.ty=t,this.KA=i,this.iy=n,this.pO=s}return t.prototype.syncState=function(){var t=this.iy.getState();t===o.States.INIT||t===o.States.WAITING||t===o.States.VIDEO?this.$A():t===o.States.END&&this.t_()},t.prototype.destroy=function(){this.t_()},t.prototype.$A=function(){var t=this.iy.playlist&&this.iy.playlist.getCurrentItem();if(this.pO&&t&&t.brandingData&&!this.i_){var i=this.pO.getPlugin(h.PluginType.BRANDING,t.brandingData.mimetype),n=i&&i.create(t.brandingData);n&&(this.i_=n,this.i_.style.visibility="hidden",this.n_(),this.s_=this.i_.offsetHeight,this.e_(),this.i_.style.visibility=null,this.r_())}},t.prototype.n_=function(){var t=this.KA.getContentNode(),i=this.KA.getPlaylistController(),n=i.getPlaylistRootElement(),s=i.isPlaylistShown(),r=i.getPlaylistUIPosition();s&&r===e.PLAYLIST_POS.BOTTOM&&n?n.parentNode.insertBefore(this.i_,n):t.appendChild(this.i_)},t.prototype.r_=function(){var t=this;this.h_||(this.h_=this.ty.on([s.ExternalEvt.PLAYER_DOCKED_CHANGE,r.FULLSCREEN_CHANGE],(function(i){t.o_&&(window.clearTimeout(t.o_),t.o_=null),i===r.FULLSCREEN_CHANGE?t.o_=window.setTimeout((function(){t.o_=null,t.e_()}),700):t.e_()}),this))},t.prototype.t_=function(){var t=this.KA.getMainElement();t&&(t.style.height="100%"),this.i_&&(this.i_.parentNode.removeChild(this.i_),this.i_=null,this.s_=null,this.u_())},t.prototype.u_=function(){this.h_&&(this.ty.removeEventListeners(this.h_),this.h_=null)},t.prototype.e_=function(){var t=this.KA.getContentNode(),i=this.KA.getMainElement();this.i_&&this.s_&&t&&i&&(i.style.height="calc(100% - "+this.s_+"px)")},t}();i.default=u},"9gA9":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ccs-container vp-vis-hidden' tabindex='0'>"),s.b("\n"+n),s.b("    <div class='vp-ccs-main'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>More Captions Settings</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='Caption Languages'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>Caption Languages</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>English</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='Closed Captions'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>Closed Captions</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>ON</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-toggle vp-on' tabindex='0'>"),s.b("\n"+n),s.b("                <div class='vp-ccs-toggle-handle' tabindex='0'></div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-extra'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon left'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'>More Captions Settings</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listoptions'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-options'>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listitem' data-item-type='header'>"),s.b("\n"+n),s.b("            <div class='vp-ccs-caret-icon left'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-item' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'></div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-divider'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-ccs-listoptions'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"9nRl":function(t,i){i.isArray=function(t){return Array.isArray(t)},i.isBoolean=function(t){return"boolean"==typeof t},i.isNullOrUndefined=function(t){return null==t},i.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},i.isString=function(t){return"string"==typeof t},i.isObject=function(t){return"[object Object]"===(i=t,Object.prototype.toString.call(i));var i},i.isFunction=function(t){return"function"==typeof t},i.deepCopy=function(t){var n={};return i.isNullOrUndefined(t)?t:(Object.keys(t).forEach((function(s){i.isArray(t[s])?n[s]=t[s].slice():i.isObject(t[s])?n[s]=i.deepCopy(t[s]):n[s]=t[s]})),n)}},"9rUw":function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("JcWZ"),h=n("pBvk"),o=n("t8Yn"),u=n("Pu4D"),a=n("w7tx"),c=n("aKiy"),f=n("0VsI"),l=n("zuu9"),v=n("Wf6Z"),d=n("DDi/"),p=n("0z0/"),m=n("a4Db"),b=n("nD/R"),y=n("JheV"),g=n("DzsB"),w=n("Y4Rh"),S=n("0zFh"),E=n("c+yx"),O=function(t){function i(i,n){var s,e,r,h,o=t.call(this,"OathPlayer")||this;o.version="8.1.398",o.playerType="desktop",o.jshlsVer="1.1.244",o.vdmsVer="0.2.292",o.a_=i,o.c_=Date.now(),i.playerId=i.playerId||E.default.generateGuid(),o.f_(),i=JSON.parse(JSON.stringify(i)),i=E.default.isLegacyConfig(i)?E.default.transformLegacyConfig(i):i,o.l_(i),o.Ry=new a.default(i,n,o),o.Ry.initialize(),o.v_=new c.default(o.Ry),o.playlist=new S.default(o.Ry.getPlaylist()),o.d_();var u=null===(e=null===(s=window.performance)||void 0===s?void 0:s.getEntriesByName)||void 0===e?void 0:e.call(s,"vplayerinit");return 0===(null==u?void 0:u.length)&&(null===(h=null===(r=window.performance)||void 0===r?void 0:r.mark)||void 0===h||h.call(r,"vplayerinit")),o}return e(i,t),i.prototype.render=function(t){return this.Ry.render(t),this},i.prototype.destroy=function(){this.Ry.destroy(),t.prototype.destroy.call(this)},i.prototype.getCurrentTime=function(){return this.Ry.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.Ry.getCurrentDate()},i.prototype.getVolume=function(){return this.Ry.getVolume()},i.prototype.setQueryString=function(t){},i.prototype.removeAllMediaItems=function(){return!0},i.prototype.play=function(t,i){this.v_.play(t,i)},i.prototype.pause=function(t){this.v_.pause(t)},i.prototype.mute=function(){this.v_.setMute(!0)},i.prototype.unMute=function(){this.v_.setMute(!1)},i.prototype.setVolume=function(t){this.v_.setVolume(t)},i.prototype.seek=function(t){this.v_.seek(t)},i.prototype.getMediaStore=function(){return this.Ry.getMediaStore()},i.prototype.isPlaying=function(){return this.Ry.isPlayMode()},i.prototype.isPlayMode=function(){return this.Ry.isPlayMode()},i.prototype.isDocked=function(){return this.Ry.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.Ry.setMediaItemTitle(t,i)},i.prototype.isLoading=function(){return this.Ry.isLoading()},i.prototype.getVideoElement=function(){return this.Ry.getVideoElement()},i.prototype.getRootElement=function(){return this.Ry.getRootElement()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.Ry.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.Ry&&this.Ry.undockVideoPlayer(t)},i.prototype.on=function(i,n,s){var e,r=this;if(Object.keys(o.Events).some((function(t){return o.Events[t]===i}))){var h=this.Ry.addVdmsListener(i,n);e=function(){r.Ry.removeVdmsListener(i,h)}}else{var u=t.prototype.addEventListener.call(this,i,n,s);e=function(){t.prototype.removeEventListener.call(r,i,u)}}return e.detach=e,e},i.prototype.suspend=function(){this.Ry.suspend()},i.prototype.resume=function(){this.Ry.resume(),this.playlist.playlist=this.Ry.getPlaylist()},i.prototype.isSuspended=function(){return this.Ry&&this.Ry.isSuspended()||!1},i.prototype.isRendered=function(){return this.Ry&&this.Ry.isRendered()||!1},i.prototype.updateGeoConfig=function(t){this.Ry.updateGeoConfig(t)},i.prototype.getPlaybackStartDto=function(){return this.Ry.getPlaybackStartDto()},i.prototype.getInitTime=function(){return this.c_},Object.defineProperty(i.prototype,"guid",{get:function(){return this.Ry&&this.Ry.guid||""},enumerable:!0,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.Ry.getMediaItemMarkers(t)},i.prototype.addCustomControlElement=function(t){return this.Ry.addCustomControlElement(t)},Object.defineProperty(i.prototype,"oathConfig",{get:function(){return this.a_},enumerable:!0,configurable:!0}),i.prototype.d_=function(){if(E.default.isOathDomain()){this.controls=this.v_,this.config=this.a_}},i.prototype.l_=function(t){try{var i=new h.Validator;i.addSchema(f.baseconfigSchema,"/baseconfigSchema"),i.addSchema(l.closedcaptionsSchema,"/closedcaptionsSchema"),i.addSchema(v.cmsSchema,"/cmsSchema"),i.addSchema(p.ctvSchema,"/ctvSchema"),i.addSchema(b.metricsSchema,"/metricsSchema"),i.addSchema(y.playbackSchema,"/playbackSchema"),i.addSchema(g.uiSchema,"/uiSchema"),i.addSchema(w.yvapSchema,"/yvapSchema"),i.addSchema(m.failoverSchema,"/failoverSchema"),i.validate(t,d.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.f_=function(){var t=this.a_,i={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:E.default.getBckt()||"",evt:"p_init",expb:t.expBucket||"",expn:t.expName||"",host:document.location.host||"",pls:t.playerId||"",s:t.pageSpaceId||t.rapidConfig&&t.rapidConfig.Spaceid||"1111",pver:this.version,t:Math.random(),ts:Date.now()-this.c_};u.default.sendGenericBeacon(i)},i}(r.default);i.default=O},"9s7j":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.s(s.f("items",t,i,1),t,i,0,10,1415,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.s(s.f("sectionLabel",t,i,1),t,i,0,32,316,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <li class='vp-pl-section-label vp-show' data-label-for-id='"),s.b(s.v(s.f("firstItemId",t,i,0))),s.b("'>"),s.b("\n"+n),s.s(s.f("sectionLabelIcon",t,i,1),t,i,0,151,247,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <img class='vp-playlist-icon section' src='"),s.b(s.v(s.f("sectionLabelIcon",t,i,0))),s.b("'/>"),s.b("\n"+n)})),t.pop()),s.b("            "),s.b(s.v(s.f("sectionLabel",t,i,0))),s.b("\n"+n),s.b("        </li>"),s.b("\n"+n)})),t.pop()),s.s(s.f("sectionLabel",t,i,1),t,i,1,0,0,"")||(s.b("        <li class='vp-playlist-item' data-id='"),s.b(s.v(s.f("id",t,i,0))),s.b("'>"),s.b("\n"+n),s.s(s.f("labelIcon",t,i,1),t,i,0,437,571,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <span class='yvp-playlist-icon-wrapper'><img class='yvp-playlist-icon item' src='"),s.b(s.v(s.f("labelIcon",t,i,0))),s.b("'/></span>"),s.b("\n"+n)})),t.pop()),s.b("            <img class='vp-playlist-item-image' loading='lazy' src='"),s.b(s.v(s.f("thumbnail",t,i,0))),s.b("' />"),s.b("\n"+n),s.b("            <div class='yvp-playlist-item-watched "),s.s(s.f("isItemWatched",t,i,1),t,i,0,740,748,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("yvp-show")})),t.pop()),s.b("'>"),s.b("\n"+n),s.b("                <div class='yvp-watched'>"),s.b(s.v(s.d("strings.WATCHED",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("            <div class='vp-playlist-border'></div>"),s.b("\n"+n),s.b("            <div class='vp-playlist-item-gradient'>"),s.b("\n"+n),s.b("                <div class='vp-pl-meta'>"),s.b("\n"+n),s.b("                    <span class='vp-pl-title'>"),s.b(s.v(s.f("title",t,i,0))),s.b("</span>"),s.b("\n"+n),s.b("                    <span class='vp-now-playing'>"),s.b(s.v(s.d("strings.NOW_PLAYING",t,i,0))),s.b("</span>"),s.b("\n"+n),s.s(s.f("provider",t,i,1),t,i,0,1175,1269,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                        <span class='vp-pl-provider'>"),s.b(s.v(s.f("provider",t,i,0))),s.b("</span>"),s.b("\n"+n)})),t.pop()),s.b("                </div>"),s.b("\n"+n),s.b("            </div>"),s.b("\n"+n),s.b("            <div class='vp-pl-dur'>"),s.b(s.v(s.f("duration",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("        </li>"),s.b("\n"+n))})),t.pop()),s.fl()},partials:{},subs:{}},"{{#items}}\n    {{#sectionLabel}}\n        <li class='vp-pl-section-label vp-show' data-label-for-id='{{firstItemId}}'>\n            {{#sectionLabelIcon}}\n                <img class='vp-playlist-icon section' src='{{sectionLabelIcon}}'/>\n            {{/sectionLabelIcon}}\n            {{sectionLabel}}\n        </li>\n    {{/sectionLabel}}\n    {{^sectionLabel}}\n        <li class='vp-playlist-item' data-id='{{id}}'>\n            {{#labelIcon}}\n                <span class='yvp-playlist-icon-wrapper'><img class='yvp-playlist-icon item' src='{{labelIcon}}'/></span>\n            {{/labelIcon}}\n            <img class='vp-playlist-item-image' loading='lazy' src='{{thumbnail}}' />\n            <div class='yvp-playlist-item-watched {{#isItemWatched}}yvp-show{{/isItemWatched}}'>\n                <div class='yvp-watched'>{{strings.WATCHED}}</div>\n            </div>\n            <div class='vp-playlist-border'></div>\n            <div class='vp-playlist-item-gradient'>\n                <div class='vp-pl-meta'>\n                    <span class='vp-pl-title'>{{title}}</span>\n                    <span class='vp-now-playing'>{{strings.NOW_PLAYING}}</span>\n                    {{#provider}}\n                        <span class='vp-pl-provider'>{{provider}}</span>\n                    {{/provider}}\n                </div>\n            </div>\n            <div class='vp-pl-dur'>{{duration}}</div>\n        </li>\n    {{/sectionLabel}}\n{{/items}}",s)},"9tgk":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){this.uploadType="individual",this.expCount=0,this.pending={},this.complete=0}return t.runExperiment=function(){(new t).p_()},t.sendBeacon=function(){this.runExperiment()},t.prototype.m_=function(t){var i="";return i="[",["startTime","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd"].forEach((function(n){i+=t[n]+","})),i=i.slice(0,-1)+"]"},t.prototype.b_=function(t,i){if(0==i.length)return"{}";var n="{";return i.forEach((function(i){n+='"'+i+'":"'+t.getResponseHeader(i)+'",'})),n=n.slice(0,-1)+"}"},t.prototype.p_=function(){var t=this,i=!1;new Promise((function(t,n){var s=setTimeout((function(){i=!0,n(new Error("Work Order Request Timed Out"))}),2e3);fetch("https://edge-mcdn.secure.yahoo.com/dms/exp.json").then((function(n){clearTimeout(s),i||t(n)})).catch((function(t){i||n(t)}))})).then((function(t){return t.json()})).then((function(i){t.y_(i)})).catch((function(t){}))},t.prototype.y_=function(t){var i=t.expCount,n=t.selection;this.uploadType=t.uploadType;var s=[],e=[];if(0!==i){if(i>=t.expList.length)e=t.expList;else if("random"===n)for(var r=0;r<i;r++){(h=Math.floor(Math.random()*(t.expList.length+1)))===t.expList.length&&(h-=1),e.push(t.expList[h])}else if("ordered"===n){(h=Math.floor(Math.random()*(t.expList.length+1)))===t.expList.length&&(h-=1);for(r=0;r<i;r++)h+r>=t.expList.length&&(h=-1*r),e.push(t.expList[h+r])}else if("individual"===n)for(var h=100*Math.random(),o=0,u=t.expList;o<u.length;o++){var a=u[o];t.runProb<h&&e.push(a)}for(var c=0,f=e;c<f.length;c++)for(a=f[c],r=0;r<a.trials;r++){h=Math.ceil(99999999999999*Math.random()).toString(36);var l=a.target.replace("<RAND>",h),v=new RegExp(a.beaconRegex,"gi").exec(l),d=[],p=[];a.requestHeaders&&(d=a.requestHeaders),a.parseHeaders&&(p=a.parseHeaders),null!==v&&null!==v[1]?s.push([l,v[1],a.timeout,d,p,a.name,a.uploadEndpoints]):s.push([l,a.name,a.timeout,d,p,a.name,a.uploadEndpoints]),this.expCount++}this.g_(s)}},t.prototype.g_=function(t){for(var i=this,n=function(t,n,s,e,r,h,o){if(r.length>0||e.length>0){var u,a=!1;new Promise((function(i,n){var r=setTimeout((function(){a=!0,n(new Error("Header Request Timed Out"))}),s);(u=new XMLHttpRequest).open("GET",t,!0),u.onload=function(){clearTimeout(r),a||i()},u.onerror=function(){clearTimeout(r),a||i()},e.forEach((function(t){var i=t.split(":");2==i.length&&u.setRequestHeader(i[0],i[1])})),u.send()})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){var s=window.performance.getEntriesByName(t);i.expCount=s.length>1?i.expCount+s.length-1:i.expCount;for(var e=0,a=s;e<a.length;e++){var c=a[e];i.w_("0",n,c,i.b_(u,r),h,o)}}else i.w_("6",n,null,i.b_(u,r),h,o)})).catch((function(t){a?i.w_("5",n,null,"",h,o):i.w_("4",n,null,"",h,o)}))}else{var c=!1;new Promise((function(i,n){var e=setTimeout((function(){c=!0,n(new Error("Experiment Timed Out"))}),s),r=new Image;r.onload=function(){clearTimeout(e),c||i()},r.onerror=function(){clearTimeout(e),c||i()},r.src=t})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){var s=window.performance.getEntriesByName(t);i.expCount=s.length>1?i.expCount+s.length-1:i.expCount;for(var e=0,r=s;e<r.length;e++){var u=r[e];i.w_("0",n,u,"",h,o)}}else i.w_("3",n,null,"",h,o)})).catch((function(t){c?i.w_("2",n,null,"",h,o):i.w_("1",n,null,"",h,o)}))}},s=0,e=t;s<e.length;s++){var r=e[s];n(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}},t.prototype.w_=function(t,i,n,s,e,r){var h=this;if(0!==r.length){var o=function(t,i){var n=0;new Promise((function(n,s){var e=new Image;e.onload=function(){return n()},e.onerror=function(){return s()},e.src=t[0]+i})).catch((function(s){(n+=1)<t.length&&o(t[n],i)}))},u="{";null!=e&&(u+='"n":"'+e+'",'),u+=null===n?'"m":[],':'"m":'+this.m_(n)+",",u+='"r":'+t+",",""!=s&&(u+='"h":'+s+","),u+='"b":"'+i+'"}';var a="",c=[];r.forEach((function(t){a+=t.replace("<BEACON>",i),c.push(t.replace("<BEACON>",i))})),"group"==this.uploadType?(a in this.pending||(this.pending[a]=[]),this.pending[a].push([u,c]),this.complete++,this.complete==this.expCount&&Object.keys(this.pending).forEach((function(t){var i,n="[";h.pending[t].forEach((function(t){n+=t[0]+",",i=t[1]})),n=n.slice(0,-1)+"]",o(i,btoa(n))}))):(u="["+u+"]",o(c,btoa(u)))}},t}();i.default=s},"A4+F":function(t,i,n){"use strict";var s,e=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("oIMU"),o=n("oIMU");!function(t){t.AD_BREAK_ENDED="adBreakEnded",t.AD_BREAK_ITEM_CURRENT="adBreakItemCurrent",t.AD_BREAK_ITEM_PLAYBACK_STARTED="adBreakItemPlaybackStarted",t.AD_BREAK_ITEM_ENDED="adBreakItemEnded",t.AD_BREAK_ITEM_ERROR="adBreakItemError",t.AD_BREAK_ITEM_SKIPPED="adBreakItemSkipped",t.AD_BREAK_ITEM_CLICKED="adBreakItemClicked",t.AD_BREAK_STARTED="adBreakStarted",t.AD_METRICS="adMetrics",t.AIRPLAY_AVAILABILITY_CHANGE="airplayAvailabilityChange",t.AIRPLAY_CONNECTION_STATE_CHANGE="airplayConnectionStateChange",t.BEACON_SEND="beaconSend",t.BITRATE_CHANGE="bitrateChange",t.BUFFERING_START="bufferingStart",t.BUFFERING_END="bufferingEnd",t.CAST_AVAILABILITY_CHANGE="castAvailabilityChange",t.CAST_CONNECTED_STATE_CHANGE="castConnectedStateChange",t.CC_AVAILABLE="mediaItemCcAvailable",t.CC_UI_TOGGLE="ccUiToggle",t.CC_LANGUAGE_CHANGE="ccLanguageChange",t.CC_UPDATE_STYLE="ccUpdateStyle",t.CC_SETTINGS="ccSettings",t.CMS_API_CALLED="cmsApiCalled",t.PLAY_CALLED_AFTER_PREROLL="playCalledAfterPreroll",t.PLAY_CALLED_ON_RENDERER="playCalledOnRenderer",t.CONTROLS_AUDIO_CHANGE="controlsAudioChange",t.CTRL_PLAYPAUSE="ctrlPlayPause",t.CTRL_SEEK="ctrlSeek",t.CTRL_VOLUME="ctrlVolume",t.CTRL_SETTINGS="ctrlSettings",t.CTRL_CUSTOM_ELEMENT="ctrlCustomElem",t.CTRL_PLAYREQUEST="ctrlPlayRequest",t.CTRL_REPLAY="ctrlReplay",t.CUEPOINT_STARTED="cuepointStarted",t.CUEPOINT_STOPPED="cuepointStopped",t.CUEPOINT_DETECTED="cuepointDetected",t.DURATION_CHANGE="durationChange",t.LOADING_BEGIN="loadingBegin",t.LOADING_END="loadingEnd",t.MARKERS_RECEIVED="markersReceived",t.MEDIA_ITEM_ADDED="mediaItemAdded",t.MEDIA_ITEM_CURRENT="mediaItemCurrent",t.MEDIA_ITEM_COMPLETE="mediaItemComplete",t.MEDIA_ITEM_ERROR="mediaItemError",t.MEDIA_ITEM_METADATA="mediaItemMetadata",t.MEDIA_ITEM_NEED_SOURCE="mediaItemNeedSource",t.MEDIA_ITEM_REMOVED="mediaItemRemoved",t.METADATA_READY="metadataReady",t.MULTI_AUDIO_AVAILABLE="multiAudioAvailable",t.NIELSEN_REQUIRED="nielsenRequired",t.PLAYBACK_COMPLETE="playbackComplete",t.PLAYBACK_STOPPED="playbackStopped",t.PLAYBACK_ERROR="playbackError",t.PLAYBACK_PAUSE="playbackPause",t.PLAYBACK_PROGRESS="playbackProgress",t.PLAYBACK_READY="playbackReady",t.PLAYBACK_REQUEST="playbackRequest",t.PLAYBACK_RESUMED="playbackResumed",t.PLAYBACK_SEEK_COMPLETE="playbackSeek",t.PLAYBACK_SEEKING="playbackSeeking",t.PLAYBACK_START="playbackStart",t.PLAYBACK_STALLED="playbackStalled",t.PLAYBACK_TIME_UPDATE="playbackTimeUpdate",t.PLAYBACK_TIMEOUT="playbackTimeout",t.PLAYER_DOCKED_CHANGE="playerDockedChange",t.PLAYER_ERROR="playerError",t.PLAYER_FULLSCREEN_CHANGE="fullscreenChange",t.PLAYER_INFO="playerInfo",t.PLAYER_MUTE_CHANGE="muteChange",t.PLAYER_READY="playerReady",t.PLAYER_RENDERED="render",t.PLAYER_VIEWPORT_CHANGE="playerViewportChange",t.PLAYER_VOLUME_CHANGE="volumeChange",t.PLAYER_WARNING="playerWarning",t.PLAYLIST_POSITION_CHANGE="playlistPositionChange",t.PLAYLIST_COMPLETE="playlistComplete",t.RECOVERY_METADATA_READY="recoveryMetadataReady",t.START_SCREEN_RENDERED="startScreenRenderered",t.UI_INTERACT="uiInteract",t.VIDEO_STARTED="video-started",t.VIDEO_REQUEST="videoRequest",t.SEG_INFO_AVAILABLE="segInfoAvailable",t.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",t.THREE_SIXTY_INTERACT="threeSixtyInteract",t.THREE_SIXTY_PIE_INTERACT="threeSixtyPieInteract",t.TIMED_METADATA_RECEIVED="timedMetadataReceived",t.PRELOAD_START="preloadStart",t.PRELOAD_PROGRESS="preloadProgress",t.PRELOAD_COMPLETE="preloadComplete",t.ACTIVE_RENDERER_PLAYING="activeRendererPlaying",t.RENDERER_READY="rendererReady"}(r=i.ExternalEvt||(i.ExternalEvt={}));var u=((s={})[r.AD_BREAK_ENDED]=h.AD_BREAK_ENDED,s[r.AD_BREAK_ITEM_CLICKED]=h.AD_BREAK_ITEM_CLICKED,s[r.AD_BREAK_ITEM_CURRENT]=h.AD_BREAK_ITEM_CURRENT,s[r.AD_BREAK_ITEM_PLAYBACK_STARTED]=h.AD_BREAK_ITEM_PLAYBACK_STARTED,s[r.AD_BREAK_ITEM_ENDED]=h.AD_BREAK_ITEM_ENDED,s[r.AD_BREAK_ITEM_ERROR]=h.AD_BREAK_ITEM_ERROR,s[r.AD_BREAK_ITEM_SKIPPED]=h.AD_BREAK_ITEM_SKIPPED,s[r.AD_BREAK_STARTED]=h.AD_BREAK_STARTED,s[r.AD_METRICS]=h.AD_METRICS,s[r.CC_LANGUAGE_CHANGE]=h.CCEvent.LANGUAGE_CHANGE,s[r.CC_SETTINGS]=h.CCEvent.SETTINGS,s[r.CC_UI_TOGGLE]=h.CCEvent.UI_TOGGLE,s[r.CC_UPDATE_STYLE]=h.CCEvent.UPDATE_STYLE,s[r.CMS_API_CALLED]=h.API_CALLED,s[r.CONTROLS_AUDIO_CHANGE]=h.CONTROLS_AUDIO_CHANGE,s[r.CTRL_PLAYPAUSE]=h.CTRL_PLAYPAUSE,s[r.CTRL_PLAYREQUEST]=h.CTRL_PLAYREQUEST,s[r.CTRL_REPLAY]=h.CTRL_REPLAY,s[r.CTRL_SEEK]=h.CTRL_SEEK,s[r.CTRL_SETTINGS]=h.CTRL_SETTINGS,s[r.CTRL_VOLUME]=h.CTRL_VOLUME,s[r.MEDIA_ITEM_ADDED]=h.MEDIA_ITEM_ADDED,s[r.MEDIA_ITEM_CURRENT]=h.MEDIA_ITEM_CURRENT,s[r.MEDIA_ITEM_COMPLETE]=h.MEDIA_ITEM_COMPLETE,s[r.MEDIA_ITEM_ERROR]=h.MEDIA_ITEM_ERROR,s[r.MEDIA_ITEM_METADATA]=h.MEDIA_ITEM_METADATA,s[r.MEDIA_ITEM_NEED_SOURCE]=h.MEDIA_ITEM_NEED_SOURCE,s[r.MEDIA_ITEM_REMOVED]=h.MEDIA_ITEM_REMOVED,s[r.METADATA_READY]=h.METADATA_AVAILABLE,s[r.MULTI_AUDIO_AVAILABLE]=h.MULTI_LANGUAGES_AVAILABLE,s[r.PLAYBACK_COMPLETE]=h.PLAYBACK_COMPLETE,s[r.PLAYBACK_STOPPED]=h.PLAYBACK_STOPPED,s[r.PLAYBACK_PAUSE]=o.VideoEvent.PAUSE,s[r.PLAYBACK_PROGRESS]=h.PLAYBACK_PROGRESS,s[r.PLAYBACK_REQUEST]=h.PLAYBACK_REQUEST,s[r.PLAYBACK_RESUMED]=h.PLAYBACK_RESUMED,s[r.PLAYBACK_SEEKING]=o.VideoEvent.SEEKING,s[r.PLAYBACK_START]=h.PLAYBACK_STARTED,s[r.PLAYBACK_STALLED]=h.PLAYBACK_STALLED,s[r.PLAYBACK_TIME_UPDATE]=o.VideoEvent.TIMEUPDATE,s[r.PLAYER_ERROR]=h.INTERNAL_ERROR,s[r.PLAYER_FULLSCREEN_CHANGE]=h.FULLSCREEN_CHANGE,s[r.PLAYER_INFO]=h.INTERNAL_INFO,s[r.PLAYER_WARNING]=h.WARNING,s[r.RECOVERY_METADATA_READY]=h.RECOVERY_METADATA_READY,s[r.SEG_INFO_AVAILABLE]=h.SEG_INFO_AVAILABLE,s[r.SEGMENT_FIRST_BYTE_LOADED]=h.SEGMENT_FIRST_BYTE_LOADED,s[r.START_SCREEN_RENDERED]=h.START_SCREEN_RENDERED,s[r.THREE_SIXTY_INTERACT]=h.THREE_SIXTY_INTERACT,s[r.THREE_SIXTY_PIE_INTERACT]=h.THREE_SIXTY_PIE_INTERACT,s[r.TIMED_METADATA_RECEIVED]=h.TIMED_METADATA_RECEIVED,s[r.VIDEO_REQUEST]=h.VIDEO_REQUEST,s[r.PRELOAD_START]=h.PRELOAD_START,s[r.PRELOAD_PROGRESS]=h.PRELOAD_PROGRESS,s[r.PRELOAD_COMPLETE]=h.PRELOAD_COMPLETE,s[h.OPSS_VISIBILITY_CHANGED]=h.OPSS_VISIBILITY_CHANGED,s),a=function(){function t(t,i,n){this.S_=t,this.Ry=i,this.ty=n,Object.keys(r).forEach((function(t){var i=r[t];u[i]||(u[i]=i)}))}return t.prototype.enablePublish=function(){var t=this;Object.keys(u).forEach((function(i){var n=u[i];t.ty.addEventListener(n,(function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var r=Array.prototype.slice.call(n,0),h=t.Ry&&t.Ry.getEventsDto()||{};r.push(h),setTimeout((function(){var n;(n=t.S_).publish.apply(n,e([i],r))}))}),t)}))},t.prototype.getAllExternalEvtNames=function(){return Object.keys(u)},t}();i.ExternalEvtAPI=a},Aeo1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.get=function(t){var i;try{i=(i=window.localStorage.getItem(t))&&JSON.parse(i)||null}catch(t){i=null}return i},t.put=function(t,i){if(!t||!i)return!1;try{return i=JSON.stringify(i),localStorage.setItem(t,i),!0}catch(t){return!1}},t.remove=function(t){try{localStorage.removeItem(t)}catch(t){return}},t.getAllKeys=function(){var t=[];try{for(var i=0,n=localStorage.length;i<n;++i){var s=localStorage.key(i);s&&t.push(s)}return t}catch(i){return t}},t}();i.default=s},AkMV:function(t,i,n){"use strict";t.exports={ftyp:{fullBox:!1,properties:{majorBrand:{length:32,type:"string"},minorVersion:{length:32},compatibleBrands:{type:"array",itemSchema:{length:32,type:"string"}}}},moov:{fullBox:!1},styp:{fullBox:!1,properties:{majorBrand:{length:32,type:"string"},minorVersion:{length:32},compatibleBrands:{type:"array",itemSchema:{length:32,type:"string"}}}},moof:{fullBox:!1},mdat:{fullBox:!1},sidx:{fullBox:!0,properties:{referenceId:{length:32},timescale:{length:32},earliestPresentationTime:{length:32},firstOffset:{length:32},reserved:{length:16},referenceCount:{length:16},referenceData:{type:"array",lengthField:"referenceCount",itemSchema:{referenceType:{length:1},referencedSize:{length:31},subsegmentDuration:{length:32},startsWithSAP:{length:1},sapType:{length:3},sapDeltaTime:{length:28}}}}},emsg:{fullBox:!0,properties:{schemeIdUri:{type:"string"},value:{type:"string"},timescale:{length:32},presentationTimeDelta:{length:32},eventDuration:{length:32},id:{length:32},message:{type:"array",itemSchema:{length:8}}}},trak:{fullBox:!1,parents:["moov"]},mdia:{fullBox:!1,parents:["trak"]},mvhd:{fullBox:!0,parents:["moov"],properties:{creationTime:{length:32},modificationTime:{length:32},timescale:{length:32},duration:{length:32},rate:{length:32},volume:{length:16},reserved:{length:80},matrix:{type:"array",length:9,itemSchema:{length:32}},preDefined:{length:192},nextTrackId:{length:32}}},mdhd:{fullBox:!0,parents:["mdia"],properties:{creationTime:{length:32},modificationTime:{length:32},timescale:{length:32},duration:{length:32},language:{length:16},preDefined:{length:16}}},esds:{fullBox:!0,parents:["mp4a","enca"],properties:{descriptorTag:{length:8},descriptorLength:{length:8},esId:{length:16},streamPriority:{length:8},decoderConfigDesc:{length:8},decoderConfigLength:{length:8},codecTag:{length:8},streamType:{length:8},bufferSize:{length:8},bufferSize2:{length:16},maxBitrate:{length:32},avgBitrate:{length:32},decoderInfoDescriptor:{length:8},decoderInfoDescriptorLength:{length:8},audioSpecificConfig0:{length:8},audioSpecificConfig1:{length:8},audioSpecificConfig2:{length:8,validator:248,validationProperty:"audioSpecificConfig0",validationResult:40},audioSpecificConfig3:{length:8,validator:248,validationProperty:"audioSpecificConfig0",validationResult:40},slDescriptor:{length:8},slDescriptorLength:{length:8},slValue:{length:8}}},mp4a:{fullBox:!1,parents:["stsd"],payload:28,properties:{reserved0:{length:48},dataReferenceIndex:{length:16},reserved1:{length:32},reserved2:{length:32},channelCount:{length:16},sampleSize:{length:16},predefined:{length:16},reserved3:{length:16},sampleRate:{length:32}}},enca:{fullBox:!1,parents:["stsd"],payload:28,properties:{reserved0:{length:48},dataReferenceIndex:{length:16},reserved1:{length:32},reserved2:{length:32},channelCount:{length:16},sampleSize:{length:16},predefined:{length:16},reserved3:{length:16},sampleRate:{length:32}}},stsd:{fullBox:!0,parents:["stbl"],payload:4,properties:{entryCount:{length:32}}},stbl:{fullBox:!1,parents:["minf"]},minf:{fullBox:!1,parents:["mdia"]},traf:{fullBox:!1,parents:["moof"]},tfdt:{fullBox:!0,parents:["traf"],properties:{baseMediaDecodeTime:{length:32}}},tfhd:{fullBox:!0,parents:["traf"],properties:{trackId:{length:32},baseDataOffset:{length:64,validator:1},sampleDescriptionIndex:{length:32,validator:2},defaultSampleDuration:{length:32,validator:8},defaultSampleSize:{length:32,validator:16},defaultSampleFlags:{length:32,validator:32}}},trun:{fullBox:!0,parents:["traf"],properties:{sampleCount:{length:32},dataOffset:{validator:1,length:32},firstSampleFlags:{validator:4,length:32},sampleData:{type:"array",lengthField:"sampleCount",itemSchema:{sampleDuration:{validator:256,length:32},sampleSize:{validator:512,length:32},sampleFlags:{validator:1024,length:32},sampleCompositionTimeOffset:{validator:2048,length:32}}}}},vttc:{fullBox:!1},vtte:{fullBox:!1},vsid:{fullBox:!1,parents:["vttc"],properties:{sourceId:{length:32}}},ctim:{fullBox:!1,parents:["vttc"],properties:{cueTime:{type:"boxstring"}}},payl:{fullBox:!1,parents:["vttc"],properties:{cueText:{type:"boxstring"}}},iden:{fullBox:!1,parents:["vttc"],properties:{cueId:{type:"boxstring"}}},sttg:{fullBox:!1,parents:["vttc"],properties:{settings:{type:"boxstring"}}}}},AuZZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PARAMS=["s","_ex","_NOL","test","cached_vs","expn","expt","expb","vsid","lms_id","bckt","env","ccap","loc","site","lang","intl","ccode","sec","cpos","pt","pd","pct","pstcat","ver","p_sec","p_subsec","pstaid_p","pkgt","rlvtscr","subsec","_rid","vidPos","bx","ar","vrmver"],i.INT_DEFAULT="",i.STRING_DEFAULT="none",i.HIDE_KEY="__hide__beacon__key__",i.NULL_DEFAULT="*null",i.VRM_VERSION="2.0"},"B/eG":function(t,i,n){"use strict";n.r(i),function(t){var s=n("/pFH"),e=setTimeout;function r(t){return Boolean(t&&void 0!==t.length)}function h(){}function o(t){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.oE=0,this.E_=!1,this.O_=void 0,this.A_=[],v(t,this)}function u(t,i){for(;3===t.oE;)t=t.O_;0!==t.oE?(t.E_=!0,o.__((function(){var n=1===t.oE?i.onFulfilled:i.onRejected;if(null!==n){var s;try{s=n(t.O_)}catch(t){return void c(i.promise,t)}a(i.promise,s)}else(1===t.oE?a:c)(i.promise,t.O_)}))):t.A_.push(i)}function a(t,i){try{if(i===t)throw new TypeError("A promise cannot be resolved with itself.");if(i&&("object"==typeof i||"function"==typeof i)){var n=i.then;if(i instanceof o)return t.oE=3,t.O_=i,void f(t);if("function"==typeof n)return void v((s=n,e=i,function(){s.apply(e,arguments)}),t)}t.oE=1,t.O_=i,f(t)}catch(i){c(t,i)}var s,e}function c(t,i){t.oE=2,t.O_=i,f(t)}function f(t){2===t.oE&&0===t.A_.length&&o.__((function(){t.E_||o.T_(t.O_)}));for(var i=0,n=t.A_.length;i<n;i++)u(t,t.A_[i]);t.A_=null}function l(t,i,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof i?i:null,this.promise=n}function v(t,i){var n=!1;try{t((function(t){n||(n=!0,a(i,t))}),(function(t){n||(n=!0,c(i,t))}))}catch(t){if(n)return;n=!0,c(i,t)}}o.prototype.catch=function(t){return this.then(null,t)},o.prototype.then=function(t,i){var n=new this.constructor(h);return u(this,new l(t,i,n)),n},o.prototype.finally=s.a,o.all=function(t){return new o((function(i,n){if(!r(t))return n(new TypeError("Promise.all accepts an array"));var s=Array.prototype.slice.call(t);if(0===s.length)return i([]);var e=s.length;function h(t,r){try{if(r&&("object"==typeof r||"function"==typeof r)){var o=r.then;if("function"==typeof o)return void o.call(r,(function(i){h(t,i)}),n)}s[t]=r,0==--e&&i(s)}catch(t){n(t)}}for(var o=0;o<s.length;o++)h(o,s[o])}))},o.resolve=function(t){return t&&"object"==typeof t&&t.constructor===o?t:new o((function(i){i(t)}))},o.reject=function(t){return new o((function(i,n){n(t)}))},o.race=function(t){return new o((function(i,n){if(!r(t))return n(new TypeError("Promise.race accepts an array"));for(var s=0,e=t.length;s<e;s++)o.resolve(t[s]).then(i,n)}))},o.__="function"==typeof t&&function(i){t(i)}||function(t){e(t,0)},o.T_=function(t){"undefined"!=typeof console&&console},i.default=o}.call(this,n("URgk").setImmediate)},BHZG:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=n("JcWZ"),r=n("Lux/"),h=n("yzVy"),o=n("+Ojf"),u=n("ECHB"),a=n("ma23"),c=n("xqNZ"),f=n("miuH");function l(t){return o.default.classList(t)}var v=function(){function t(){this.version="0.2.292",this.mimetype=t.mimetype,this.type=a.PluginType.AD,this.M_=!1,this.I_=!1,this.ty=new e.default("DefaultAdPlugin"),this.j_={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.N_=null,this.R_=null,this.k_=null,this.L_=null,this.D_&&this.D_.destroy(),this.j_=null,this.I_=!1,this.ty.destroy()},t.prototype.canRenderUI=function(t){return!0},t.prototype.renderUI=function(t,i){var n=this,s=i.position,e=void 0===s?0:s,r=i.adBreakItems,u=this.C_();if(this.I_=!0,t.interactionConfig&&t.interactionConfig.clickUrl?(this.N_=t.interactionConfig.clickUrl,l(this.R_).remove("vp-hidden")):(this.N_=null,l(this.R_).add("vp-hidden")),t.type===h.AdBreakItemType.BUMPER)return this.P_=t.duration,l(this.k_.parentElement).add("vp-hidden"),u;l(this.k_.parentElement).remove("vp-hidden");var a=this.x_(r,e),f=a.position,v=a.totalAds,d=a.duration;return this.P_=d,this.U_=o.default.strSubstitute(1===v?c.default.ADV_SHORT:c.default.ADV_MULT_SHORT,{position:f+1,total:v}),this.V_=o.default.strSubstitute(1===v?c.default.ADV_LONG:c.default.ADV_MULT_LONG,{position:f+1,total:v}),0===f&&(this.k_.innerText=o.default.strSubstitute(this.V_,{remaining:Math.round(this.P_)}),this.M_=!0,setTimeout((function(){n.M_=!1}),1500)),u},t.prototype.unrenderUI=function(){this.I_=!1,this.B_()},t.prototype.onPlayerEvent=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];if(t===a.PluginPlayerEvent.AD_PLAYBACK_PROGRESS&&this.I_){var s=i[0];this.F_(s)}},t.prototype.addEventListener=function(t,i){var n=this.ty.addEventListener(t,i,null);this.j_[t]=this.j_[t]||[],this.j_[t].push([i,n])},t.prototype.removeEventListener=function(t,i){this.j_[t]=this.j_[t]||[];for(var n=0,s=this.j_[t];n<s.length;n++){var e=s[n],r=e[0],h=e[1];if(r===i)return void this.ty.removeEventListener(t,h)}},t.prototype.B_=function(){this.N_=null,this.k_&&(this.k_.innerText="")},t.prototype.F_=function(t){if(this.k_){var i,n,s=t.currentTime,e=t.duration;this.M_?(i=this.V_,n=this.P_):(i=this.U_,n=e);var r=Math.round(n-s);this.k_.innerText=o.default.strSubstitute(i,{remaining:r})}},t.prototype.x_=function(t,i){if(i<0||i>t.length-1)return{position:0,totalAds:0,duration:0};if(t[i].type===h.AdBreakItemType.BUMPER)return{position:0,totalAds:1,duration:t[i].duration};for(var n=-1,s=i-1;s>=0;s--){if((u=t[s]).type===h.AdBreakItemType.BUMPER){n=s;break}}var e=n+1,r=0,o=0;for(s=e;s<t.length;s++){var u;if((u=t[s]).type===h.AdBreakItemType.BUMPER)break;r++,o+=u.duration}return{position:i-e,totalAds:r,duration:o}},t.prototype.z_=function(t){for(var i,n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];(i=this.ty).publish.apply(i,s([t],n))},t.prototype.C_=function(){var t=this;return this.L_?(this.B_(),this.L_):(this.L_=o.default.render(f,c.default),this.k_=this.L_.querySelector(".vp-adbreak-progress span"),this.R_=this.L_.querySelector(".vp-adbreakitem-cta"),this.D_=new u.default(this.R_,(function(i){t.N_&&(window.open(t.N_,"_blank"),t.z_(r.AdPluginUIEvent.CTA_TRIGGERED))})),this.B_(),this.L_)},t.mimetype="adplugin/default-ad-view",t}();i.default=v},BHlS:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("O/dN"),u=n("oIMU"),a=n("UDn2"),c=n("+uLo"),f=n("fLR+"),l=n("+Ojf"),v=o.WARNING_CODES,d=o.PLAYER_CODES,p=["200","400","501","430","410"],m=["7","57","304","307"],b=["700","701","710","711","720","721","722","730","731","732","740","750","760"],y=["103","500","502","503","550","403","404","504"],g=["11","12","13","14"],w=[o.PLAYER_DRM_CODES.E_LICENSE_REQUEST];!function(t){t.RECOVERY_START="recoveryStart",t.RECOVERY_METADATA_READY="recoveryMetadataReady"}(r=i.RecovererEvent||(i.RecovererEvent={}));var S=function(t){function i(i){var n=t.call(this,"Recoverer")||this;return n.iy=i,n.H_=!1,n.Y_=0,n.G_=null,n.W_(),n.q_=0,n}return e(i,t),i.prototype.recover=function(t){var i=this._f;if(!(i.ad||l.default.isAdBreakType(i.currentMediaType)||this.H_&&this.q_!==t)){this.X_(this.Q_),this.Q_=null,this.H_||(this.H_=!0,this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,i,o.E_WARNING,v.E_RECOVERY_STATUS,null,"recovering"))),4===t&&this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,i,o.E_WARNING,v.E_RECOVER_LONG_PAUSE,null,"Recovering from long pause on live")),this.q_=t||3,2!==this.q_&&(this.G_=null);var n=this.Ny();n&&(n.failoverCount++,n.recoveryStatus=a.ItemRecoveryStatus.RECOVERING),this.publish(r.RECOVERY_START)}},i.prototype.destroy=function(){this.Z_()},i.prototype.stopTimers=function(){this.X_(this.Q_),this.Q_=null,this.X_(this.J_),this.J_=null,this.X_(this.K_),this.K_=null},i.prototype.toggleRecoverer=function(t){t&&t.value?this.tT(1):(this.H_&&this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,this._f,o.E_WARNING,v.E_RECOVERY_STATUS,null,"recovered")),this.Z_())},i.prototype.onRecoveryMetadataReady=function(){if(this.q_)this.publish(u.WARNING,l.default.createErr(o.ErrorGroup.Streaming,this._f,o.E_WARNING,v.E_PLAYBACK_FROZEN_DETECTED,null,this.iT())),this.publish(r.RECOVERY_METADATA_READY),this.W_();else{var t=this.Ny();t&&t.failoverCount--}},i.prototype.onMetadataLoadFailed=function(){this.H_&&1===this.q_&&this.nT()},Object.defineProperty(i.prototype,"recovering",{get:function(){return this.H_},enumerable:!0,configurable:!0}),i.prototype.onError=function(t){var i=this,n=2;if(t&&(t.isRecoverable=!this.sT(t),t.isRecoverable)){y.indexOf(t.subcategory.toString())>0?n=9:t.subcategory.toString()!==d.E_NATIVE_SRC_NOT_SUPPORTED&&t.subcategory.toString()!==d.E_NATIVE_ABORTED||(n=5);var s=o.DRM_DEBUG_CODES;switch(t.debugMessage){case s.KEY_SESSION_FAILED:n=6;break;case s.LICENSE_REQUEST_FAILED:n=7;break;case s.CERT_LOAD_FAILED:n=8}if(this.Y_++,this.G_=t,"400"===t.category.toString()&&"7"===t.subcategory.toString())return this.X_(this.J_),this.J_=new c.default(1e4*Math.random(),1),this.J_.addEventListener(c.default.TIMER_EVENT,(function(){i.tT(n)}),this),void this.J_.start();this.tT(n)}},i.prototype.sT=function(t){if(this.Y_>20)return!0;var i=t.category.toString(),n=p.indexOf(i);if(n<0)return!0;var s=t.subcategory.toString();switch(p[n]){case o.E_WARNING:return m.indexOf(s)<0;case o.E_PLAYER:return m.indexOf(s)<0&&b.indexOf(s)<0;case o.E_SAPI_STREAM:return y.indexOf(s)<0;case o.E_PLAYER_JS_HLS:return g.indexOf(s)<0;case o.E_PLAYER_DRM:return w.indexOf(s)<0}return!0},i.prototype.W_=function(){this.eT=1e4*Math.random()+1e4,this.rT=2e3,this.X_(this.Q_),this.Q_=null},i.prototype.Ny=function(){return this.iy.playlist?this.iy.playlist.getCurrentItem():null},i.prototype.tT=function(t){this.hT(),1!==t?this.recover(t):this.oT(this.eT)},i.prototype.Z_=function(){this.W_(),this.stopTimers(),this.H_=!1,this.q_=0,this.G_=null,this.Y_=0},i.prototype.oT=function(t){var i=this;this.X_(this.Q_),this.Q_=new c.default(t,1),this.Q_.addEventListener(c.default.TIMER_EVENT,(function(){i.recover(i.q_?i.q_:1)}),this),this.Q_.start()},i.prototype.nT=function(t){(t=!!f.isNullOrUndefined(t)||t)&&(this.eT+=this.rT,this.rT*=2),this.oT(this.eT)},i.prototype.hT=function(){var t=this;this.K_||(this.K_=new c.default(1e3*this.iy.recoveryFailureTimeout,1),this.K_.addEventListener(c.default.TIMER_EVENT,(function(){var i=l.default.createErr(o.ErrorGroup.Streaming,t._f,o.E_PLAYER,d.E_RECOVERY_FAILURE,null,t.iT());t.publish(u.ERROR,i),t.Z_()}),this),this.K_.start())},i.prototype.X_=function(t){t&&t.destroy(),t=null},i.prototype.iT=function(){var t=this.G_,i=this.q_;return 2===i?i+"-"+t.category+"-"+t.subcategory:i.toString()},Object.defineProperty(i.prototype,"_f",{get:function(){return this.iy.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.default=S},BHp4:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div>"),s.b("\n"+n),s.b("        <div class='vp-audio-header'>"),s.b("\n"+n),s.b("            <span class='vp-audio-list-title'>"),s.b(s.v(s.d("Strings.AUDIO_TRACK",t,i,0))),s.b("</span>"),s.b("\n"+n),s.s(s.f("isMobile",t,i,1),t,i,0,142,233,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("            <span class='vp-audio-list-close' data-action='close'>&#x2715;</span>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.s(s.f("items",t,i,1),t,i,0,276,576,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <div class='vp-audio-item "),s.s(s.f("selected",t,i,1),t,i,0,324,346,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("vp-audio-item-selected")})),t.pop()),s.b("' data-selected='"),s.b(s.v(s.f("selected",t,i,0))),s.b("' data-language='"),s.b(s.v(s.f("language",t,i,0))),s.b("' data-name='"),s.b(s.v(s.f("name",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("            <span class='vp-audio-item-check'></span>"),s.b("\n"+n),s.b("            <span class='vp-audio-item-title'>"),s.b(s.v(s.f("name",t,i,0))),s.b("</span>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n)})),t.pop()),s.b("</div>"),s.fl()},partials:{},subs:{}})},BZeT:function(t,i,n){"use strict";t.exports=h;var s=n("Xovh"),e=n("iSaY"),r=n("+orS");function h(t,i){var n=this;n.uT=i||{},n._node="string"==typeof t?document.querySelector(t):t||null,Object.defineProperty(n,"error",{enumerable:!0,get:function(){return n.PE?n.PE.error:null}}),r.apply()}h.prototype.setSrc=function(t){if(!this._node)throw new e.Error(e.ERR_API_NO_NODE).error;if(t){if(t!==this.aT){this.aT=t,this.PE&&this.unload();try{this.PE=new s(window,this._node,this.aT,this.uT)}catch(t){}}}else this._node.src=""},h.prototype.getSegInfo=function(){try{return this.PE?this.PE.getSegInfo():null}catch(t){return null}},h.prototype.setQuality=function(t){try{this.PE.setABRMode(t)}catch(t){}},h.prototype.setAudioLanguage=function(t){try{this.PE.setAudioLanguage(t)}catch(t){}},h.prototype.unload=function(){this.PE&&this.PE.destroy(),this.PE=null},h.prototype.play=function(t){this.PE&&this.PE.play(t)},h.prototype.pause=function(){this.PE?this.PE.pause():this._node&&this._node.pause()},h.prototype.preload=function(t){this.PE&&this.PE.preload(t)},h.prototype.getCurrentDate=function(){if(this.PE)return this.PE.getCurrentDate()||null},h.prototype.suspendStreaming=function(){this.PE&&this.PE.suspendStreaming()},h.prototype.resumeStreaming=function(){this.PE&&this.PE.resumeStreaming()},h.prototype.destroy=function(){this.PE&&this.PE.destroy(),this.PE=null,this.aT=null,this.uT=null,this._node=null}},C4jF:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("O/dN"),h=n("UDn2"),o=n("ma23"),u=n("+Ojf"),a=n("LrgL"),c=n("vdbb"),f=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=c.CmdName.CMD_SOURCE_METADATA_LOAD,s.cT=!1,s.SS=!1,s}return e(i,t),i.prototype.destroy=function(){this.SS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.cT&&!this.SS){var t=this.data,i=t.autoplay,n=t.failoverCount,s=t.privacyConsent,e=t.mimetype,a=t.mediaItemDataArr,f=t.rendererCapabilities,l=t.rendererTypes,v=t.sessionId,d=t.recovering,p=t.thumbnailDimensions,m=t.tryCount,b=this.pO.getPlugin(o.PluginType.SOURCE_METADATA,e),y={autoplay:i,failoverCount:n,privacyConsent:s,rendererCapabilities:f,rendererTypes:l,sessionId:v,thumbnailDimensions:p,tryCount:m};if(b)this.fT=b,this.cT=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.SourceState.FETCHING),!0===d?b.recover(a[0],y,this):b.resolve(a,y,this);else{var g="No source metadata plugin found for mimetype = "+e,w=u.default.createErr(r.ErrorGroup.Service,null,r.E_PLAYER,r.PLAYER_CODES.E_NO_PLUGIN_FOUND,g);this.publish(c.CmdEvent.CMD_ERROR,this,w)}}},i.prototype.cancel=function(){this.fT&&this.cT&&(this.fT.cancel(),this.cT=!1)},i.prototype.onProgress=function(t){this.cT&&!this.SS&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.cT&&!this.SS&&(this.cT=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.cT&&!this.SS&&(this.cT=!1,t.code&&t.code.length)){var i=u.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code,t.message);this.publish(c.CmdEvent.CMD_ERROR,this,this.data.mediaItemDataArr,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(c.CmdEvent.CMD_INFO,this,t)},i}(a.default);i.default=f},CIyJ:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-start-screen "),s.s(s.f("show",t,i,1),t,i,1,0,0,"")||s.b("vp-vis-hidden vp-disp-none"),s.b("' tabindex='-1'>"),s.b("\n"+n),s.b("    <img class='vp-start-screen-image' src='"),s.b(s.v(s.f("imageSrc",t,i,0))),s.b("' width='"),s.b(s.v(s.f("width",t,i,0))),s.b("' height='"),s.b(s.v(s.f("height",t,i,0))),s.b("' aria-hidden='true'>"),s.b("\n"+n),s.s(s.d("config.showButton",t,i,1),t,i,0,231,350,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <div class='vp-start-screen-button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.PLAY_VIDEO",t,i,0))),s.b("' role='button'></div>"),s.b("\n"+n)})),t.pop()),s.b("    <div class='vp-start-screen-bar-wrapper'>"),s.b("\n"+n),s.b("        <div class='vp-start-screen-bar' tabindex='-1'>"),s.b("\n"+n),s.s(s.d("config.showProvider",t,i,1),t,i,0,511,618,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h4 class='vp-start-screen-provider' tabindex='1'>"),s.b(s.v(s.d("item.provider.name",t,i,0))),s.b("</h4>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showTitle",t,i,1),t,i,0,676,772,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h3 class='vp-start-screen-title' tabindex='2'>"),s.b(s.v(s.d("item.title",t,i,0))),s.b("</h3>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showDescription",t,i,1),t,i,0,833,939,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <p class='vp-start-screen-description' tabindex='3'>"),s.b(s.v(s.d("item.description",t,i,0))),s.b("</p>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},CgWD:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.UP="up",t.DOWN="down",t.LEFT="left",t.RIGHT="right",t.TAP="tap"}(s||(s={}));var e={NORMAL:[{combination:[79,80,83,83]}]},r={NORMAL:[s.UP,s.DOWN,s.LEFT,s.RIGHT,s.TAP,s.TAP]},h=function(){function t(t,i){this.lT=[],this.vT=0,this.dT=0,this.pT=[],this.mT=i,this.bT=t,this.yT=e[this.bT],this.gT(),this.wT()}return t.prototype.destroy=function(){document.removeEventListener("keydown",this.ST,!1),document.removeEventListener("touchstart",this.ET,!1),document.removeEventListener("touchmove",this.OT,!1),document.removeEventListener("touchend",this.AT,!1)},t.prototype.wT=function(){var t=this;this.vT=0,this.dT=0,this.yT.forEach((function(i){i.length=i.combination.length,i.value=i.length?i.combination.toString():null,i.length>t.dT&&(t.dT=i.length)})),this.ST=this._T.bind(this),document.addEventListener("keydown",this.ST,!1)},t.prototype._T=function(t){var i=this;this.vT=t.altDown||t.altKey?this.vT+1:0,this.pT.push(t.keyCode),this.pT.length>this.dT&&this.pT.shift(),this.yT.some((function(t){var n=i.pT.slice(Math.max(i.pT.length-t.length,0)).toString()===t.value;return t.alt?n&&i.vT>t.length:n}))&&this.mT()},t.prototype.ET=function(t){this.TT=t.changedTouches[0].pageX,this.MT=t.changedTouches[0].pageY,this.IT=0,this.jT=0},t.prototype.OT=function(t){if(1===t.touches.length){var i=t.touches[0];this.IT=i.pageX,this.jT=i.pageY}},t.prototype.AT=function(){var t,i=r[this.bT];this.IT||this.jT?t=Math.abs(this.TT-this.IT)>Math.abs(this.MT-this.jT)?this.TT-this.IT<0?s.RIGHT:s.LEFT:this.MT-this.jT<0?s.DOWN:s.UP:t=s.TAP;this.lT.push(t),this.lT.length>i.length&&this.lT.shift(),this.lT.length===i.length&&this.lT.every((function(t,n){return t===i[n]}))&&this.mT()},t.prototype.gT=function(){this.ET=this.ET.bind(this),this.OT=this.OT.bind(this),this.AT=this.AT.bind(this),document.addEventListener("touchstart",this.ET,!1),document.addEventListener("touchmove",this.OT,!1),document.addEventListener("touchend",this.AT,!1)},t}();i.default=h},Cp2M:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.configSchema={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{adPlaybackOnly:{type:"boolean"},analytics:{type:"boolean"},autoplay:{type:"boolean"},casting:{type:"boolean"},continuousPlay:{type:"boolean"},enableRecovery:{type:"boolean"},fullscreen:{type:"boolean"},height:{type:"number"},lang:{type:"string"},loop:{type:"boolean"},mediaItems:{type:"array",items:[{$ref:"/mediaItemSchema"}],minItems:1},mute:{type:"boolean"},playerId:{type:["string","null"]},preload:{type:"boolean"},region:{type:"string"},site:{type:"string"},skipOnError:{type:"string",enum:["always","timebased","never"]},stopAtLastFrame:{type:"boolean"},stopBufferingOnPause:{type:"boolean"},ui:{$ref:"/uiSchema"},width:{type:"number"},backgroundPause:{type:"object",properties:{onMute:{type:"boolean",default:!0},onUnmute:{type:"boolean",default:!1},timeToPause:{type:"number",default:5},suspendStreamingTime:{type:"number",default:20},backgroundSuspendStreaming:{type:"boolean",default:!0}}},ads:{type:"object",properties:{timeout:{type:"object",properties:{load:{type:"number",minimum:1},start:{type:"number",minimum:1}}}}},vrmConfig:{$ref:"/vrmSchema"}},required:["mediaItems"]}},D1bo:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("JcWZ"),h=n("ToqN"),o=n("g6gz"),u=n("ury3"),a=n("Q+FR"),c=n("A4+F"),f=n("+SyR"),l=n("1LND"),v=n("xOqZ"),d=n("oIMU"),p=n("Cp2M"),m=n("heKF"),b=n("lYNO"),y=n("Mkxr"),g=n("eapS"),w=n("0xFk"),S=n("c6dB"),E=n("fLR+"),O=n("+Ojf"),A=n("H8YR"),_=n("pBvk").Validator,T=function(t){function i(i,n){var s=t.call(this,"VdmsPlayer")||this;return s.NT=!1,s.version="0.2.292",s.playerType="PLAYER_TYPE",s.language="SCRIPT_LANGUAGE_I18N",s.config=i,s.mediaStore=n,s.l_(i),s.guid=i.playerId||O.default.generateGuid(),s.RT(),s.kT(i,n),s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.LT&&this.LT.destroy(),this.Ry&&(this.Ry.destroy(),this.Ry=null),this.DT(),window.removeEventListener("pageshow",this.CT,!1)},i.prototype.initialize=function(){this.Ry&&this.Ry.initialize()},i.prototype.render=function(t){return this.PT(),this.xT=t,this.Ry&&this.Ry.render(t),this},i.prototype.getMediaItems=function(){return this.UT.getMediaItems()},i.prototype.removeAllMediaItems=function(){this.UT.removeAllMediaItems()},i.prototype.removeMediaItems=function(t){this.UT.removeMediaItems(t)},i.prototype.insertMediaItems=function(t,i){this.UT.insertMediaItems(t,i)},i.prototype.appendMediaItems=function(t){this.UT.appendMediaItems(t)},i.prototype.getCurrentMediaItem=function(){return this.UT.getCurrentMediaItem()},i.prototype.setCurrentMediaItem=function(t){this.UT.setCurrentMediaItem(t)},i.prototype.setMediaItemTitle=function(t,i){this.UT.setMediaItemTitle(t,i);var n=this.getCurrentMediaItem();n&&n.id===t&&this.Ry.updateCurrentItemTitle(i)},i.prototype.getMediaItemMarkers=function(t){return this.UT.getMediaItemMarkers(t)},i.prototype.getCurrentAdBreak=function(){return this.VT.getCurrentAdBreak()},i.prototype.getCurrentAdBreakItem=function(){return this.VT.getCurrentAdBreakItem()},i.prototype.play=function(t,i){this.BT.play(t,i)},i.prototype.pause=function(t){this.BT.pause(t)},i.prototype.mute=function(){this.BT.setMute(!0)},i.prototype.unMute=function(){this.BT.setMute(!1)},i.prototype.setVolume=function(t){E.isNumber(t)&&this.BT.setVolume(t)},i.prototype.seek=function(t){this.BT.seek(t)},i.prototype.registerPlugin=function(t){this.Ry&&this.Ry.registerPlugin(t)},i.prototype.getVideoElement=function(){return this.PT(),this.Ry?this.Ry.videoElement:null},i.prototype.getRootElement=function(){return this.PT(),this.Ry?this.Ry.rootElement:null},i.prototype.suspendState=function(){if(!h.userAgent.desktop&&!this.isSuspended()){this.PT();var t={boundEvents:this.FT,currentTime:this.BT.getCurrentTime(),mediaStore:this.getMediaStore(),playlist:this.Ry.getPlaylistItems(),position:this.zT.getPosition(),selector:this.xT};return this.NT=!0,this.destroy(),t}},i.prototype.resumeState=function(t){this.isSuspended()&&t&&(this.NT=!1,this.kT(this.config,t.mediaStore),this.zT.setItems(t.playlist),this.zT.setPosition(t.position),this.Ry.startTime=t.currentTime,this.FT=t.boundEvents)},i.prototype.isSuspended=function(){return this.NT},i.prototype.isRendered=function(){return this.PT(),!!this.Ry&&this.Ry.rendered},i.prototype.preload=function(){this.BT.preload()},i.prototype.disableControls=function(){this.BT.disableControls()},i.prototype.enableControls=function(){this.BT.enableControls()},i.prototype.enableCC=function(t){this.BT.enableCC(t)},i.prototype.disableCC=function(){this.BT.disableCC()},i.prototype.isPlayMode=function(){return this.Ry.isPlayMode()},i.prototype.isLoading=function(){return this.Ry.isLoading()},i.prototype.getPlaybackState=function(){return this.BT.getPlaybackState()},i.prototype.getCurrentTime=function(){return this.BT.getCurrentTime()},i.prototype.getRawCurrentTime=function(){return this.BT.getRawCurrentTime()},i.prototype.getDuration=function(){return this.BT.getDuration()},i.prototype.getRawDuration=function(){return this.BT.getRawDuration()},i.prototype.getTimeRemaining=function(){return this.BT.getTimeRemaining()},i.prototype.setFullscreen=function(t){void 0===t&&(t=!0),this.BT.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.BT.getFullscreen()},i.prototype.getVolume=function(){return this.BT.getVolume()},i.prototype.setMute=function(t){void 0===t&&(t=!0),this.BT.setMute(t)},i.prototype.getMute=function(){return this.BT.getMute()},i.prototype.addCustomControlElement=function(t){return this.Ry.addCustomControlElement(t)},i.prototype.setLoop=function(t){this.BT.setLoop(t)},i.prototype.setContinuousPlay=function(t){void 0===t&&(t=!0),this.BT.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(){this.BT.resumeContinuousPlay()},i.prototype.getCurrentDate=function(){return this.BT.getCurrentDate()},i.prototype.addItems=function(t,i){this.zT.addItems(t,i)},i.prototype.addMetricsEventListener=function(t,i){var n=this.HT.getAllExternalEvtNames();return this.addEventListeners(n,t,i)},i.prototype.setAudioLanguage=function(t){this.BT.setAudioLanguage(t)},i.prototype.getPlaylist=function(){return this.zT},i.prototype.getMediaStore=function(){return this.PT(),{YT:this.Ry.mediaStore}},i.prototype.getPlaybackStartDto=function(){var t=this.Ry.model,i=this.LT;return{isResume:t.isResumingFromSavedPosition,initTime:i.startTime,cmsLatency:i.getItem(d.METRICS.CMS_REQUEST),cmsSourceLatency:i.getItem(d.METRICS.CMS_SOURCE_REQUEST),playbackStartLatency:i.getItem(d.METRICS.PLAYBACK_START),autoPlayLatency:i.getItem(d.METRICS.INIT_TO_START),autoPlayAllowed:t.isAutoplayAllowed(),clickToPlayLatency:i.getItem(d.METRICS.CLICK_TO_START),adPluginLatency:i.getItem(d.METRICS.AD_PLUGIN)}},i.prototype.getInitTime=function(){return this.LT.startTime},i.prototype.__setError=function(t,i,n,s,e){if(this.PT(),!this.Ry)return null;this.Ry.setCustomError(t,i,n,s,e)},i.prototype.isDocked=function(){return this.PT(),this.Ry&&this.Ry.docked},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.PT(),this.Ry.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.PT(),this.Ry.undockVideoPlayer(t)},i.prototype.l_=function(t){try{var i=new _;i.addSchema(y.streamSchema,"/streamSchema"),i.addSchema(b.sourceSchema,"/sourceSchema"),i.addSchema(m.mediaItemSchema,"/mediaItemSchema"),i.addSchema(g.uiSchema,"/uiSchema"),i.addSchema(w.vrmSchema,"/vrmSchema"),i.validate(t,p.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.kT=function(t,i){this.ty=new r.default("internal"),this.GT();var n=null;i&&(n=i.YT||null),this.WT(),this.LT=new S.Profiler(this.ty),this.Ry=new v.default(t,n,this.guid,this.ty,this.LT),this.HT=new c.ExternalEvtAPI(this,this.Ry,this.ty),this.HT.enablePublish(),this.Ry.initNewPlayback(),this.BT=new a.default(this.Ry),this.zT=new l.default(this.Ry),this.UT=new f.default(this.Ry),this.VT=new u.default(this.Ry)},i.prototype.WT=function(){var t=this;this.CT=function(i){i.persisted&&t.qT()},h.userAgent.safari&&window.addEventListener("pageshow",this.CT,!1)},i.prototype.PT=function(){if(this.isSuspended()||!this.Ry)throw new Error("INVALID_STATE_ERR: Player instance no longer usable");return!0},i.prototype.qT=function(){this.destroy(),this.kT(this.config,this.mediaStore),this.render(this.xT)},i.prototype.DT=function(){this.XT.forEach((function(t){t.destroy()})),this.XT=[]},i.prototype.GT=function(){var t=this;this.XT=this.XT||[],!0===this.config.analytics&&this.XT.push(new A.default(this));var i=!1;this.ty.addEventListener(c.ExternalEvt.NIELSEN_REQUIRED,(function(){if(!i){var n=(t.config.nielsenConfig||{}).nielsenAppId||null;t.XT.push(new o.default(t,n)),i=!0}}),this)},i.prototype.RT=function(){var t=this.config.cssTheme,i=O.default.getCssBuildUrl("2d83f2be53".indexOf("local")>-1,"2d83f2be53",t);O.default.loadCssAsset("vp-css",i,(function(){O.default.setSingleton("isCSSLoaded",!0)}),(function(){O.default.setSingleton("isCSSError",!0)}))},i}(r.default);i.default=T},D77f:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var h,o=n("JcWZ"),u=n("ToqN"),a=n("M44j"),c=n("6nrW"),f=n("A4+F"),l=n("8PPl"),v=n("oIMU"),d=n("u8By"),p=n("yegX"),m=n("dgSz"),b=n("canP"),y=n("WSjl"),g=n("R+G7"),w=n("1get"),S=n("fLR+"),E=n("+Ojf"),O=n("xQ2D");!function(t){t.PLAY_CAST="playCast",t.PAUSE_CAST="pauseCast",t.SEEK_CAST="seekCast",t.SRC_SWITCHING="pbcSrcSwitching",t.SRC_SWITCHED="pbcSrcSwitched",t.CLICK="pbcVideoClick",t.PAUSE="pbcPaused",t.PLAYBACK_ERROR="pbcError",t.PLAYBACK_INFO="pbcInfo",t.LOADEDMETADATA="pbcLoadedMetadata",t.LOADEDDATA="pbcLoadedData",t.STALLED="pbcStalled",t.LOADSTART="pbcLoadstart",t.PLAY="pbcPlay",t.PLAYING="pbcPlaying",t.SEEKING="pbcSeeking",t.SEEKED="pbcSeeked",t.WAITING="pbcWaiting",t.TIMEUPDATE="pbcTimeUpdate",t.MUTE_CHANGED="pbcMuteChanged",t.VOLUME_CHANGED="pbcVolumeChanged",t.END_FULLSCREEN="pbcEndFullscreen",t.PLAYBACK_START_NOT_ALLOWED="pbcStartNotAllowed",t.PLAYBACK_START_BLOCKED="pbcPlayBlocked",t.PLAYBACK_RESUME="pbcResume",t.PLAYBACK_NEW_ATTEMPT="pbcNewAttempt",t.PLAYBACK_REQUEST="pbcRequest",t.PLAYBACK_LOADING="pbcLoading",t.PLAYBACK_PAUSING="pbcPausing",t.PLAYBACK_STARTED="pbcStarted",t.PLAYBACK_ERROR_NO_VALID_STREAM="pbcErrorNoValidStream",t.PLAYBACK_ERROR_BEFORE_METADATA_READY="pbcErrorBeforeMetadataReady",t.PLAYBACK_ERROR_INCONSISTENT_METADATA="pbcErrorInconsistentMetadata",t.PLAYBACK_ERROR_NO_RENDERER="pbcErrorNoRenderer",t.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED="pbcErrorFlashNotSupported",t.PLAYBACK_SYNC_VIEW="pbcSyncView",t.PLAYBACK_PROGRESS="pbcProgress",t.PLAYBACK_NEED_MEDIA_ITEM_METADATA="pbcNeedMediaItemMetadata",t.PLAYBACK_NEED_MEDIA_ITEM_SOURCE="pbcNeedMediaItemSource",t.MODE_CHANGE="pbcModeChange",t.RENDERER_SWITCH="pbcRendererSwitch",t.RENDERER_TIMEOUT="pbcRendererTimeout",t.RENDERER_CREATED="pbcRendererCreated",t.SET_PLAYLIST_POSITION_BEFORE="pbcSetPlaylistPositionBefore",t.STOP_CURRENT_PLAYBACK="pbcStopCurrentPlayback",t.MEDIA_ITEM_IS_LOADED="pbcMediaItemIsLoaded",t.MEDIA_ITEM_CURRENT="pbcMediaItemCurrent",t.MEDIA_ITEM_PLAYBACK_STARTED="pbcMediaItemStarted",t.MEDIA_ITEM_PLAYBACK_RESUMED="pbcMediaItemResumed",t.MEDIA_ITEM_PLAYBACK_PROGRESS="pbcMediaItemProgress",t.MEDIA_ITEM_PLAYBACK_ENDED="pbcMediaItemEnded",t.MEDIA_ITEM_PLAYBACK_STOPPED="pbcMediaItemStopped",t.MEDIA_ITEM_ERROR="pbcMediaItemError",t.PLAYLIST_POSITION_HAS_CHANGED="pbcPlaylistPositionChanged",t.PLAYLIST_NO_MORE_ITEM_TO_PLAY="pbcPlaylistNoMoreItemToPlay",t.PLAYLIST_COMPLETE="pbcPlaylistComplete",t.AD_BREAK_STARTED="pbcAdBreakStarted",t.AD_BREAK_ENDED="pbcAdBreakEnded",t.AD_BREAK_NEED_RESOLVE="pbcAdBreakNeedResolve",t.AD_BREAK_ITEM_CURRENT="pbcAdBreakItemCurrent",t.AD_BREAK_ITEM_PLAYBACK_STARTED="pbcAdBreakItemStarted",t.AD_BREAK_ITEM_PLAYBACK_SKIPPED="pbcAdBreakItemSkipped",t.AD_BREAK_ITEM_PLAYBACK_RESUMED="pbcAdBreakItemResumed",t.AD_BREAK_ITEM_PLAYBACK_PROGRESS="pbcAdBreakItemProgress",t.AD_BREAK_ITEM_PLAYBACK_ENDED="pbcAdBreakItemEnded",t.AD_BREAK_ITEM_PLAYBACK_STOPPED="pbcAdBreakItemStopped",t.AD_BREAK_ITEM_ERROR="pbcAdBreakItemError",t.CREATE_OVERLAY_CONTAINER="pbcCreateOverlayContainer",t.PLAY_CALLED_AFTER_PREROLL="playCalledAfterPreroll",t.PLAY_CALLED_ON_RENDERER="playCalledOnRenderer",t.AD_METRICS="adMetrics"}(h=i.PlaybackEvent||(i.PlaybackEvent={}));var A=function(t){function i(i,n,s){var e=t.call(this,"PlaybackController")||this;return e.QT=!1,e.ZT=!0,e.JT=!1,e.KT=!1,e.$T=!1,e.tM=!1,e.iM=!1,e.nM=null,e.sM=null,e.iy=i,e.ty=n,e.eM={},e.rM=new c.RendererController(i,n,s),e.hM(),e._f=new b.default,e.iy.setPlaybackState(e._f),e.oM=new a.AdPlaybackController(i,s),e.uM(),e.aM=new O.default(e,e.iy),e.cM(),e}return e(i,t),Object.defineProperty(i.prototype,"jy",{get:function(){return this.iy.playlist},enumerable:!0,configurable:!0}),i.prototype.startPlayback=function(t){var i=this;if(void 0===t&&(t=null),!this._f.criticalError){if(this._f.shouldPlay=!0,this.aM.resumeStreaming(),this.iy.getState()===y.default.VIDEO)return this.fM(0),void this.oM.resumeClientAdStartTimer();var n=this.Ny();if(n&&this.iy.rendered&&!this._f.attemptingPlayback())if(this.iy.autoplay||this.QT||(this.QT=!0,this.publish(v.PROFILE_START,v.METRICS.CLICK_TO_START)),this.iy.castState&&this.iy.castState.connected)this.publish(h.PLAY_CAST);else{if(t&&(this.iy.requestType=t.type,t.action&&E.default.isValidRequestAction(t.action)&&(this.iy.requestAction=t.action)),!this.lM())return this.iy.showStartScreen=!0,this.iy.autoplay=!1,void this.enterInitState();this.iy.waitingForUserTap?this.tM||(this.tM=!0,this.vM=this.once(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){i.tM=!1,i.startPlayback(t)}),this)):(this.dM=null,this.iy.isPaused()?this.playCurrent():g.default.autoplaySupported||n.fetchFinished()?this.pM(n):this.publish(h.PLAYBACK_ERROR_BEFORE_METADATA_READY))}}},i.prototype.playCurrent=function(t){this.iy.setState(y.default.VIDEO),this.rM.play(t)},i.prototype.handleSourceAvailable=function(t){var i=this.Ny();i&&t&&(i.equals(t)?this._f.playingItem instanceof p.default?this.rM.handleAdvancePreparePreloadNextRenderer(t):(this.oM.prepareAdsForItem(t),this.mM(t)):this.rM.handleAdvancePreparePreloadNextRenderer(t))},i.prototype.handleAdBreakResolved=function(t,i){this.oM.handleAdBreakResolved(t,i)},i.prototype.getRendererController=function(){return this.rM},i.prototype.skipAd=function(){this.rM.skip()},i.prototype.handleCriticalError=function(t){this.bM(),this._f.criticalError=t,this.yM(),this.rM.endVideo(),this.rM.stopMedia()},i.prototype.pause=function(t){if(this._f.shouldPlay=!1,this._f.hasRendererPlayCalled&&this.iy.rendered){var i=this.iy.castState;if(i&&i.connected&&!i.paused)this.publish(h.PAUSE_CAST);else{if(this.vM)return this.removeEventListener(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,this.vM),void delete this.vM;t&&(this.iy.requestType=t.type,E.default.isValidRequestAction(t.action)&&(this.iy.requestAction=t.action)),this._f.attemptingPlayback()&&(this.pauseCurrent(),this.bM(),this.aM.scheduleSuspend())}}},i.prototype.pauseCurrent=function(){this.rM.pause()},i.prototype.seek=function(t){this.iy.rendered&&(this.iy.castState&&this.iy.castState.connected?this.publish(h.SEEK_CAST,t):this.iy.getState()===y.default.VIDEO&&this.rM.seek(t))},i.prototype.seekCurrent=function(t){if(this.iy.rendered&&this.iy.getState()===y.default.VIDEO){var i=this.gM(t);this.seek(i)}},i.prototype.syncPlaybackState=function(){this.rM.syncPlaybackState()},i.prototype.getRawCurrentTime=function(){return this.rM.getCurrentTime()},i.prototype.getCurrentTime=function(){return this.wM||0},i.prototype.getCurrentDate=function(){return this.rM.getCurrentDate()},i.prototype.rewindAfterEnd=function(t){this.rM.rewindAfterEnd(t)},i.prototype.getRawDuration=function(){return this.rM.getDuration()},i.prototype.getDuration=function(){var t=this.getPlayingItem();if(!t){var i=this.Ny();return i?i.duration:NaN}if(t instanceof m.default)return t.duration;if(t instanceof p.default){if(t.instream)return t.duration;var n=this.getRawDuration();return isNaN(n)?t.duration:n}return NaN},i.prototype.enterFS=function(){this.rM.enterFS()},i.prototype.exitFS=function(){this.rM.exitFS()},i.prototype.showAirplayTargetMenu=function(){this.rM.showAirplayTargetMenu()},i.prototype.setQuality=function(t){this.rM.setQuality(t)},i.prototype.setVolume=function(t){var i=this.iy.volume;this.iy.volume=t,this.rM.setVolume(t),this.ty.publish(v.CTRL_VOLUME,i),this.ty.publish(f.ExternalEvt.PLAYER_VOLUME_CHANGE,t)},i.prototype.setMute=function(t){this.iy.mute=t,this.rM.setMute(t),this.ty.publish(f.ExternalEvt.PLAYER_MUTE_CHANGE,t)},i.prototype.setAudioLanguage=function(t){this.rM.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.rM.stopMedia()},i.prototype.enableMobileNativeCC=function(t){this.rM.enableMobileNativeCC(t)},i.prototype.resumeContinuousPlay=function(t){this.iy.continuousPlay=!0;var i={skipWatchedVideos:this.iy.skipWatchedVideos};if(this.iy.getState()===y.default.END){var n=this.jy.getNextPosition(this.iy.continuousPlay,this.iy.loop,i);-1!==n&&this.setPlaylistPosition(n,!0,t)}},i.prototype.setPlaylistPosition=function(t,i,n){if(this.iy.rendered){var s=this.jy,e=this.Ny(),r=s.getMediaItemAt(t);if(!(e&&e.equals(r)&&this._f.isInitializing())){this.stopCurrentPlayback(n),this.iy.errors=[],this._f.criticalError=null,s.position=t;var o=this.Ny();o?(this.initNewPlayback(o),i&&this.startPlayback(n),this.publish(h.PLAYLIST_POSITION_HAS_CHANGED,o)):this.publish(h.PLAYLIST_NO_MORE_ITEM_TO_PLAY),this.publish(h.PLAYBACK_SYNC_VIEW)}}},i.prototype.initNewPlayback=function(t){this.enterInitState(),this.SM(t)},i.prototype.enterInitState=function(){this.iy.setState(y.default.INIT),this.EM(),this.publish(h.PLAYBACK_SYNC_VIEW)},i.prototype.getPlayingItem=function(){var t=this.OM();return t instanceof m.default&&this.oM.getPlayingInstreamAd()||t},i.prototype.stopCurrentPlayback=function(t){var i=this.getPlayingItem();i instanceof p.default?(this.publish(h.AD_BREAK_ITEM_PLAYBACK_STOPPED,i),this.oM.handleAdBreakItemEnded(i)):i instanceof m.default&&(!t||t.type===l.REQUEST_TYPES.CONTINUOUS&&t.action!==l.REQUEST_TYPES.CLICK||this.publish(h.MEDIA_ITEM_PLAYBACK_STOPPED,i),i.position=0,this._f.looped=!1,this.iy.startTime=NaN,this.yM(i)),this._f.playingItem=null;var n=this.Ny(),s=n&&n.getStreamType()||null;this.AM(s),this._M(),this.rM.endVideo(),this.rM.stopMedia()},i.prototype.getActiveRenderer=function(){return this.rM.getActiveRenderer()},i.prototype.suspendStreaming=function(){this.rM&&this.rM.suspendStreaming()},i.prototype.resumeStreaming=function(){this.rM&&this.rM.resumeStreaming()},i.prototype.handleVisibilityChange=function(t){this.aM.onVisibilityChange(t)},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.oM.destroy(),this.aM.destroy(),this.rM&&this.rM.destroy()},i.prototype.onActiveRendererClick=function(){this.publish(h.CLICK)},i.prototype.onActiveRendererPlaying=function(){this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),this._f.hasCurrentItemPlayed=!0;var t=this.getPlayingItem();t instanceof m.default&&!this.eM[t.id]&&this.ty.publish(f.ExternalEvt.ACTIVE_RENDERER_PLAYING,this.rM.activeRendererType),this._f.playingItem=t,this.sM=null,this._f.videoLoading()&&(u.userAgent.android||(this.iy.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW))),this.iy.isPaused()&&(this.iy.setPaused(!1),this.TM&&clearTimeout(this.TM),t instanceof m.default?this.publish(h.MEDIA_ITEM_PLAYBACK_RESUMED,t):t instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_RESUMED,t)),t&&!this.eM[t.id]&&this.MM(t),this.aM.onPlaybackPlaying(),this.publish(h.PLAYING,t)},i.prototype.onActiveRendererTimeupdate=function(t){var i=t.currentTime,n=t.duration,s=t.buffered;u.userAgent.android&&!this.KT&&(this.iy.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW),this.KT=!0),this.oM.updatePlaybackProgress({currentTime:i,playingItem:this.OM()});var e=this.getPlayingItem();if(this._f.playingItem=e,this._f.currentRawTime=i,e&&(this.IM(e,i),e instanceof m.default&&(e.position=i),S.isNumber(i)&&S.isNumber(n)&&!(i>n+1))){if(e.getDuration()||e.isLive()||e.setDuration(n),this._f.duration=this.getDuration(),this.iy.isLoading()&&(!u.userAgent.safari||u.userAgent.safari<6)){this.dM?i-this.dM>=1.5&&(this.dM=null,this.iy.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW)):this.dM=i}else this.dM=null;var r={playingItem:e,currentTime:i,duration:n,buffered:s};e instanceof m.default?this.publish(h.MEDIA_ITEM_PLAYBACK_PROGRESS,r):e instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_PROGRESS,r),this.publish(h.PLAYBACK_PROGRESS,{currentItem:e,currentTime:i,duration:n,buffered:s}),this.publish(h.TIMEUPDATE,t)}},i.prototype.onActiveRendererSeeking=function(t){null===this.sM&&(this.sM=this._f.currentRawTime),this.iy.setLoading(!0),this.publish(h.SEEKING,t)},i.prototype.onActiveRendererSeeked=function(t){this.iy.setLoading(!1),this.dM=null;var i=this.sM;this.sM=null,this.oM.handleMediaItemSeeked(this.getPlayingItem(),t.currentTime,i),this.nM||this.publish(h.SEEKED,t)},i.prototype.onActiveRendererEnded=function(){this._f.playingItem=null;var t=this.getPlayingItem();t instanceof m.default?this.jM(t):t instanceof p.default&&this.oM.handleAdBreakItemEnded(t)},i.prototype.onActiveRendererPause=function(){this.iy.getState()!==y.default.INIT&&this.iy.getState()!==y.default.END&&(this.iy.setPaused(!0),this.publish(h.PAUSE))},i.prototype.onActiveRendererPlayComplete=function(t){this.publish(h.AD_METRICS,t)},i.prototype.onActiveRendererError=function(t){var i=this.getPlayingItem();i instanceof m.default?this.publish(h.MEDIA_ITEM_ERROR,i,t):i instanceof p.default&&this.NM(i,t)},i.prototype.onActiveRendererInfo=function(t){this.publish(h.PLAYBACK_INFO,t)},i.prototype.onActiveRendererWaiting=function(t){if(t){if(!u.userAgent.tv){var i=t.value;this.iy.setLoading(i),this.publish(h.PLAYBACK_SYNC_VIEW)}this.publish(h.WAITING,t)}},i.prototype.onActiveRendererStalled=function(){this.publish(h.STALLED)},i.prototype.onActiveRendererLoadStart=function(){this.publish(h.LOADSTART)},i.prototype.onActiveRendererPlay=function(){this.publish(h.PLAY)},i.prototype.onActiveRendererVolumeChange=function(t){var i=this.rM,n=t&&S.isBoolean(t.mute)?t.mute:i.getMuted(),s=t&&S.isNumber(t.volume)?t.volume:i.getVolume();n!==this.iy.mute&&this.publish(h.MUTE_CHANGED,n),s!==this.iy.volume&&this.publish(h.VOLUME_CHANGED,s)},i.prototype.onActiveRendererLoadedData=function(){this.publish(h.LOADEDDATA)},i.prototype.onActiveRendererLoadedMetadata=function(){this.publish(h.LOADEDMETADATA)},i.prototype.onActiveRendererSrcSwitching=function(){this.publish(h.SRC_SWITCHING)},i.prototype.onActiveRendererSrcSwitched=function(){this.publish(h.SRC_SWITCHED)},i.prototype.onActiveRendererPlayBlocked=function(){this.publish(h.PLAYBACK_START_BLOCKED)},i.prototype.onActiveRendererSkipped=function(){var t=this.getPlayingItem();t instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_SKIPPED,t)},i.prototype.onActiveRendererEndFullscreen=function(){this.publish(h.END_FULLSCREEN)},i.prototype.RM=function(t){this.EM(),this.iy.setState(y.default.VIDEO),this.iy.setLoading(!0),this.publish(h.PLAYBACK_LOADING,t)},i.prototype.kM=function(){this.iy.setPaused(!0),this.iy.setLoading(!1),this.publish(h.PLAYBACK_PAUSING)},i.prototype.pM=function(t){if(this.LM=t,this.DM(),this.EM(),this.publish(v.PROFILE_START,v.METRICS.PLAYBACK_START),t.isContainer()){if(this.oM.startTracking(t),t.adBreaks&&t.adBreaks.length||!t.adConfig)t.hasNativeAd()?this.oM.playClientAdBreaks(t,d.AdBreakType.NATIVE):t.hasStreams()&&this.CM(t);else{var i=t.hasStreams()?d.AdBreakType.PREROLL:d.AdBreakType.NATIVE;this.oM.prepareAdsForItem(t),this.oM.playClientAdBreaks(t,i)}this.publish(h.PLAYBACK_SYNC_VIEW)}else{if(t.hasSource())return this.CM(t),void this.publish(h.PLAYBACK_SYNC_VIEW);this.iy.setState(y.default.WAITING),this.iy.setLoading(!0),this.$T=!0,this.publish(h.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,t),this.publish(h.PLAYBACK_SYNC_VIEW)}},i.prototype.OM=function(){var t=this.rM.getActiveRenderer();return t?t.getPlayableItem():null},i.prototype.mM=function(t){var i,n=this;if(t.hasLiveStreams()&&t.hasLiveStateForVod())this.publish(h.PLAYBACK_ERROR_INCONSISTENT_METADATA);else{if(this._f.loadedItem=t,t.customConfig&&t.customConfig.meta&&t.customConfig.meta.videoMarkers){var s=t.customConfig.meta.videoMarkers.markers;s&&s.length>0&&this.ty.publish(f.ExternalEvt.MARKERS_RECEIVED,((i={})[t.id]=s,i))}if(t.hasMetadata())this._f.attemptingPlayback()||this.iM||this.iy.firstCriticalError||this.enterInitState();else if(!(this.iy&&this.jy&&this.Ny()).equals(t))return;var e=t.position||this.iy.startTime;this.rM.prepareNextRenderer(t,(function(i){if(i)return n.bM(),void(w.default.isHtml5MseAvailable()?n.publish(h.PLAYBACK_ERROR_NO_RENDERER,i):n.publish(h.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,i));if(n.JT=!1,n.rM.setItemNextRenderer(t,e))if(n.$T){if(n.$T=!1,!n.lM())return void n.publish(h.PLAYBACK_START_NOT_ALLOWED);n.CM(t)}else n.rM.preloadNextRenderer();else n.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)})),this.publish(h.MEDIA_ITEM_IS_LOADED,t),this.iM=!1}},i.prototype.CM=function(t){t===this.Ny()&&(this.PM()||(this.iy.setState(y.default.VIDEO),this.iy.setLoading(!0),this.publish(h.PLAYBACK_REQUEST,t.id),this._f.hasStartedPlayback=!0,this.ZT=!1,this.oM.prepareAdsForItem(t),this.oM.startTracking(t),this.publish(v.PROFILE_START,v.METRICS.AD_PLUGIN),this.oM.playClientAdBreaks(t,d.AdBreakType.PREROLL),this.publish(h.PLAYBACK_SYNC_VIEW)))},i.prototype.xM=function(t){var i=this;if(this.DM(),t===this.Ny()){this.AM(t.getStreamType()),this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),t.restartIfNeeded();var n=this.iy.startTime||0;t.isLongForm()&&isNaN(this.iy.startTime)&&t.position>0&&(this.iy.isResumingFromSavedPosition=!0,n=t.position),this.rM.prepareNextRenderer(t,(function(s){s?i.bM():i.rM.setItemNextRenderer(t,n)?i.rM.switchAndPlayNextRenderer(n):i.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)}))}},i.prototype.UM=function(t){var i=this;this.publish(h.AD_BREAK_ITEM_CURRENT,t),t.streams&&0!==t.streams.length?this.rM.prepareNextRenderer(t,(function(n){i.rM.setItemNextRenderer(t)?i.rM.switchAndPlayNextRenderer():i.NM(t)})):this.NM(t,new Error("No valid streams found"))},i.prototype.fM=function(t){this.playCurrent(t),this._f.hasCurrentItemPlayed||this._f.state===y.default.END||this.RM(t),this._f.hasRendererPlayCalled=!0},i.prototype.lM=function(){if(!this.ZT)return!0;var t=this.Ny();return!(this.iy.requestType===l.REQUEST_TYPES.AUTOPLAY&&this.iy.autoplay&&t&&t.blockAutoplay)&&(!u.userAgent.mobile||this.VM())},i.prototype.VM=function(t){return void 0===t&&(t={}),!(this.iy.requestType!==l.REQUEST_TYPES.CLICK&&!this.iy.isAutoplayAllowed())},i.prototype.DM=function(){var t=this._f;t.hasCurrentItemPlayed=!1,t.hasRendererPlayCalled=!1},i.prototype.PM=function(){for(var t=0,i=this.iy.errors;t<i.length;t++){var n=i[t];if(n.category||n.subcategory)return n}return null},i.prototype.bM=function(){this.BM&&clearTimeout(this.BM)},i.prototype.cM=function(){var t=this;this.aM&&(this.aM.on(O.PauseHandlerEvents.RESUME_STREAMING,(function(){t.resumeStreaming()}),this),this.aM.on(O.PauseHandlerEvents.SUSPEND_STREAMING,(function(){t.suspendStreaming()}),this),this.aM.on(O.PauseHandlerEvents.CTRL_PLAYPAUSE,(function(i){t.ty.publish(v.CTRL_PLAYPAUSE,i)}),this))},i.prototype.hM=function(){var t=this;this.rM.on(c.RendererControllerEvent.RENDERER_SWITCH,(function(i,n){t.publish(h.RENDERER_SWITCH,i,n)}),this),this.rM.on(c.RendererControllerEvent.RENDERER_TIMEOUT,(function(){t.publish(h.RENDERER_TIMEOUT)}),this),this.rM.on(c.RendererControllerEvent.RENDERER_CREATED,(function(i){t.publish(h.RENDERER_CREATED,i)}),this),this.rM.on(c.RendererControllerEvent.PLAY_CALLED,(function(){t.publish(h.PLAY_CALLED_ON_RENDERER,t.rM.activeRendererType)}),this),this.rM.on(c.RendererControllerEvent.RENDERER_READY_TO_PLAY,(function(i){t.ty.publish(f.ExternalEvt.RENDERER_READY,t.rM.activeRendererType,t._f.shouldPlay),t._f.shouldPlay?t.fM(i):(t.kM(),t.oM.pauseClientAdStartTimer())}),this),this.FM(),this.zM()},i.prototype._M=function(){this.eM={}},i.prototype.SM=function(t){t&&(t.mayUpdateVideoSession(),t.useVideoSession(),this.ty.publish(v.VIDEO_REQUEST,!1),this.publish(h.MEDIA_ITEM_CURRENT,t))},i.prototype.EM=function(){var t=this.iy;t.setPaused(!1),t.setSeeking(!1),t.setLoading(!1)},i.prototype.yM=function(t){t&&(t.position=0,this._f.previousItem=t,this.rewindAfterEnd(t.isLive())),this.iy.setState(y.default.END),this.iy.endVideo(),this.EM()},i.prototype.MM=function(t){this.KT=!1,this.eM[t.id]=!0;var i=!1;if(this._f.duration=this.getDuration(),t instanceof m.default){this.nM=null,this.iy.startTime=NaN;var n=this.getRawDuration();t.setRawDuration(n);var s=t.adBreaks;if(s&&s.length&&s[0].type===d.AdBreakType.PREROLL){var e=s[0];e&&e.adBreakItems&&e.adBreakItems[0].instream&&(i=!0)}i||this.publish(h.MEDIA_ITEM_PLAYBACK_STARTED,t,this.getCurrentTime())}else t instanceof p.default&&this.oM.handleAdBreakItemPlaybackStarted(t)},i.prototype.NM=function(t,i){this.publish(h.AD_BREAK_ITEM_ERROR,t,i),this.oM.handleAdBreakItemError(t)},i.prototype.IM=function(t,i){var n;t instanceof m.default&&(n=this.HM(t,i)),t instanceof p.default&&(n=this.YM(t,i)),this.wM=n,this._f.currentTime=n},i.prototype.HM=function(t,i){for(var n=i,s=t.adBreaks,e=s&&s.length||0,r=0;r<e;r++){var h=s[r];if(!(i>=h.startOffset))break;h.adBreakItems.forEach((function(t){t.instream&&(n-=t.duration)}))}return n},i.prototype.YM=function(t,i){var n=i,s=t.adBreak;if(t.instream){n=i-s.startOffset;for(var e=s.adBreakItems,r=0,h=e.length;r<h;r++){var o=e[r];if(t.adBreakItemId===o.adBreakItemId)break;o.instream&&(n-=o.duration)}}return n},i.prototype.gM=function(t){var i=this.OM(),n=t;if(i instanceof m.default)for(var s=i.adBreaks,e=s&&s.length||0,r=0;r<e;r++){var h=s[r];if(!(h.startOffset<=n))break;h.adBreakItems.forEach((function(t){t.instream&&(n+=t.duration)}))}return n},i.prototype.jM=function(t){this._M(),this.nM=null;var i=this.jy,n=this.Ny();if(n&&n===t){this.oM.onMediaItemPlaybackEnded(t);var s=this.iy.continuousPlay,e=this.iy.loop,r={playlistLoop:this.iy.playlistLoop,skipWatchedVideos:this.iy.skipWatchedVideos,looped:!1,ended:!1},o=i.getNextPosition(s,e,r);if(this.publish(h.MEDIA_ITEM_PLAYBACK_ENDED,t,r),this.iy.stopAtLastFrame)return this.pauseCurrent(),void this.onActiveRendererPause();if(this.yM(n),-1!==o){var u=void 0;(s||e)&&(u={type:l.REQUEST_TYPES.CONTINUOUS,action:l.REQUEST_TYPES.AUTOPLAY}),this.setPlaylistPosition(o,s||e,u),this._f.looped=r.looped}else this.publish(h.PLAYLIST_COMPLETE);this.publish(h.PLAYBACK_SYNC_VIEW)}},i.prototype.FM=function(){for(var t=0,i=Object.values(c.ActiveRendererEvent);t<i.length;t++){var n=i[t],s="on"+n;this.rM.on(n,this[s],this)}},i.prototype.zM=function(){var t=this.rM;t.on(c.NextRendererEvent.ERROR,this.GM,this),t.on(c.NextRendererEvent.INFO,this.WM,this)},i.prototype.GM=function(t){this.rM.stopNextRenderer(t)},i.prototype.WM=function(t){this.rM.stopNextRenderer(t)},i.prototype.uM=function(){var t=this,i=this.oM;i.on(a.AdPlaybackControllerEvent.AD_BREAK_NEED_RESOLVE,(function(i,n){t.publish(h.AD_BREAK_NEED_RESOLVE,i,n)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_PLAY,(function(i){t.UM(i)}),this),i.on(a.AdPlaybackControllerEvent.AD_CLIENT_COMPLETED,(function(i,n){switch(i){case d.AdBreakType.PREROLL:t.publish(h.PLAY_CALLED_AFTER_PREROLL),t.xM(n);break;case d.AdBreakType.NATIVE:}}),this),i.on(v.AD_SUBTITLE_TRACK_ADDED,(function(i){t.publish(v.AD_SUBTITLE_TRACK_ADDED,r(r({},i),{itemId:t.getPlayingItem().adBreakItemId}))}),this),i.on(a.AdPlaybackControllerEvent.AD_CLIENT_TIMEOUT,(function(i,n){switch(i){case d.AdBreakType.PREROLL:t.xM(n)}}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_STARTED,(function(i){t.publish(h.AD_BREAK_STARTED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ENDED,(function(i){var n=i.type;switch(i.setActive(!1),n){case d.AdBreakType.PREROLL:i.adBreakItems[i.adBreakItems.length-1].instream&&t.publish(h.MEDIA_ITEM_PLAYBACK_STARTED,i.mediaItem);break;case d.AdBreakType.NATIVE:t.jM(i.mediaItem)}t.publish(h.AD_BREAK_ENDED,i),t.nM&&(t.seek(t.nM.deferredSeekTime),t.nM=null)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_FORCE_PLAY_MIDROLL,(function(i){var n=t.getRawCurrentTime();i.type!==d.AdBreakType.MIDROLL||!i.active||i.startOffset>n||i.adBreakItems.length&&i.adBreakItems[0].instream&&(t.nM={adBreak:i,deferredSeekTime:n},t.seek(i.startOffset))}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_STARTED,(function(i){t._f.playingItem=i,i.instream&&t.publish(h.AD_BREAK_ITEM_CURRENT,i),t.publish(h.AD_BREAK_ITEM_PLAYBACK_STARTED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_ENDED,(function(i){t.publish(h.AD_BREAK_ITEM_PLAYBACK_ENDED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_SKIP,(function(i,n){if(n){var s=i.startOffset+i.duration;s=(1e4*s+11)/1e4,t.seek(s)}}),this),i.on(a.AdPlaybackControllerEvent.AD_METRICS,(function(i){t.publish(h.AD_METRICS,i)}),this),i.on(a.AdPlaybackControllerEvent.CREATE_OVERLAY_CONTAINER,(function(i){t.publish(h.CREATE_OVERLAY_CONTAINER,i)}),this)},i.prototype.AM=function(t){this._f.currentMediaType=t},i.prototype.Ny=function(){return this.jy.getCurrentItem()},i}(o.default);i.PlaybackController=A},D9J0:function(t,i,n){"use strict";t.exports=e;var s=n("y5bh").HLSEvent;function e(){this.iy=this.__controller.model,this.qM=!1,this.XM=!1,this.QM=[],this.ZM=[],this.JM=null,this.KM=null,this.Sy={},this.$M=NaN,this.tI(),this.iI=0,this.nI=0,this.sI=0,this.eI=!0}function r(){this.seqNum=-1,this.beginTime=NaN,this.endTime=NaN,this.bitrateIndex=-1,this.switchReason="none",this.bufferCount=0,this.bufferTime=0,this.timeToFirstByte=0,this.timeToDownload=0,this.timeToRequest=0,this.observedBitrate=0,this.actualBitrate=0,this.frameDrop=0,this.frameRateSum=0,this.frameRateSampleCount=0,this.frameRate=30}e.prototype.destroy=function(){this.QM=[],this.ZM=[],this.KM=null,this.JM=null,this.rI()},e.prototype.tI=function(){this.Sy[s.WAITING]=this.__controller.addEventListener(s.WAITING,this.hI,this)},e.prototype.rI=function(){this.__controller.removeEventListeners(this.Sy)},e.prototype.onComplete=function(){this.segmentRenderNext()},e.prototype.onTimeUpdate=function(t){var i=this.iy.getCurrentPlayingStream();if(this.iI=t,this.updateRenderState(this.KM,this.iI),this.iy.live&&i&&i.cuepoints.length>0&&this.cuepointEventDispatcher(this.iI,i.cuepoints),t>0&&this.KM){var n=this.oI();n&&this.__controller.sendEvent(s.TIMED_METADATA_READY,n.payload)}},e.prototype.oI=function(){var t=this,i=t.KM.seqNum,n=t.iy.timedMetadataStore[i],s=t.iI;if(!n||!n.length)return null;t.iy.live&&Object.keys(t.iy.timedMetadataStore).forEach((function(n){n>i||t.iy.timedMetadataStore[n].every((function(i){return s-i.timestamp>=t.iy.config.pastBufferLengthLimit.live}))&&delete t.iy.timedMetadataStore[n]}));if(s<n[0].timestamp||s>n[n.length-1].timestamp+.6)return null;for(var e=null,r=n.length-1;r>=0;r--){var h=n[r],o=(1e4*s-1e4*h.timestamp)/1e4;if(o>=0&&o<=.6){if(h.recent)continue;e=h;break}}return e&&(e.recent=!0,setTimeout((function(){delete e.recent}),600)),e},e.prototype.hI=function(t){t&&(t.bufferInit||(t.value?this.uI():this.aI(t.waitTime)))},e.prototype.segmentLoadBegin=function(t,i){if(i){var n=new r;n.seqNum=t,n.beginTime=i.beginTime,n.timeToFirstByte=i.timeToFirstByte,n.bitrateIndex=Math.max(0,i.bitrateIndex),n.switchReason=i.switchReason,n.frameRate=i.frameRate,n.observedBitrate=1e3*i.observedBitrate,n.endTime=i.endTime,n.perfInfo={},n.actualBitrate=i.endTime!==i.beginTime?.008*i.bytesTotal/(i.endTime-i.beginTime):0,this.JM&&this.QM.push(this.JM),this.JM=n,(this.KM&&t===this.KM.seqNum||!this.KM)&&this.segmentRenderNext(n)}},e.prototype.segmentLoadEnd=function(t,i){var n=this.JM;n&&n.seqNum===t&&(i&&(n.timeToDownload=i.timeToDownload,n.perfInfo=i.perfInfo,n.segmentInWorker=i.segmentInWorker,n.actualBitrate=n.endTime!==n.beginTime?.008*i.bytesTotal/(n.endTime-n.beginTime):0),this.QM.push(n),this.JM=null)},e.prototype.segmentRenderNext=function(t){this.KM&&(this.ZM.push(this.KM),this.KM=null,this.__controller.sendEvent(s.SEGMENT_RENDERED)),t&&(this.KM=t,this.iy.setCurrentPlayingStream(t.bitrateIndex))},e.prototype.updateRenderState=function(t,i){if(!(isNaN(i)||i<=0)&&(t||(t=this.cI(i))&&this.segmentRenderNext(t),t&&(this.fI&&(t.frameDrop=this.fI.frameDrop,t.frameRateSum+=Number(this.fI.frameRate.toFixed(2)),t.frameRateSampleCount++),!(i>=t.beginTime&&i<t.endTime)))){var n=this.cI(i);if(n&&(this.segmentRenderNext(n),n.bitrateIndex!==t.bitrateIndex)){var e=this.iy.streams,r={bitrate:Math.round(e[n.bitrateIndex].bitrate/1e3),reason:n.switchReason,oldFrameRate:t.frameRate,newFrameRate:n.frameRate};this.__controller.sendEvent(s.STREAM_SWITCHED,r)}}},e.prototype.updateFrameStats=function(t){t&&(this.fI=t)},e.prototype.cI=function(t){if(this.JM&&t>=this.JM.beginTime&&t<this.JM.endTime)return this.JM;if(this.QM.length)for(var i=this.QM.length-1;i>=0;i--)if(t>=this.QM[i].beginTime&&t<this.QM[i].endTime)return this.QM[i];return null},e.prototype.uI=function(){this.XM||(this.XM=!0,this.KM,this.JM)},e.prototype.aI=function(t){if(this.XM){this.lI=NaN,this.XM=!1;var i=this.KM,n=i&&!isNaN(t)&&t>0;i&&(i.bufferTime+=n?t:0,i.bufferCount+=n?1:0)}},e.prototype.getMetrics=function(){var t=this.KM,i=[];if(this.ZM.length){for(var n=0;n<this.ZM.length;n++)i.push(this.vI(this.ZM[n]));this.ZM=[]}return t&&(i.push(this.vI(t)),t.bufferCount=0,t.bufferTime=0,t.timeToFirstByte=NaN,t.timeToDownload&&(t.timeToDownload=NaN)),i},e.prototype.vI=function(t){if(!t)return null;var i=this.iy.streams;t.bitrateIndex=i.length>0?Math.min(t.bitrateIndex,i.length-1):0;var n=i[t.bitrateIndex].bitrate/1e3,s=i[t.bitrateIndex].avgBitrate/1e3;return t.bufferTime>0&&!t.bufferCount?t.bufferCount=1:!t.bufferTime&&t.bufferCount>0&&(t.bufferCount=0),{seq_num:t.seqNum,max_b:n,avg_b:s,ib:n,ob:t.observedBitrate.toFixed(2),ab:Math.round(t.actualBitrate),num_buf:t.bufferCount,buf_dur:t.bufferTime,req_t:t.timeToRequest,fb_dl_t:t.timeToFirstByte,req_dl_t:t.timeToDownload,drop_f:t.frameDrop,avg_fr:(t.frameRateSum/t.frameRateSampleCount).toFixed(2)}},e.prototype.getMetricsBandwidthInfo=function(){var t=this.__controller.services.bandwidthEstimator,i=t.averageBandwidth===this.$M?0:t.averageBandwidth;return this.$M!==t.averageBandwidth&&(this.$M=t.averageBandwidth),i},e.prototype.cuepointEventDispatcher=function(t,i){var n,e=i.length,r=e-1;if(e>0){if(this.shouldFireCueDetectedEvent(t,i[r]))return i[r].setCueOutDetectedState(!0),n={cuepointDuration:i[r].cuepointDuration,timeGapBeforeCUEOUT:i[r].startTime-t},void this.__controller.sendEvent(s.CUEPOINT_DETECTED,n);if(this.shouldFireCueOutEvent(t,i[r]))return i[r].setCueOutFiredState(!0),n={cuepointDuration:i[r].cuepointDuration,cuepointPlayedTime:t-i[r].startTime},void this.__controller.sendEvent(s.CUEPOINT_STARTED,n)}},e.prototype.shouldFireCueDetectedEvent=function(t,i){return!!i.startTime&&(!i.isCueOutDetectedFired&&i.startTime>t)},e.prototype.shouldFireCueOutEvent=function(t,i){if(!i.startTime)return!1;var n=this.dI(t);return!i.isCueOutFired&&n===i.startSeqNum&&t>i.startTime},e.prototype.dI=function(t){var i=this.iy.getCurrentPlayingStream(),n=i?i.segments:null;if(n){if(1===n.length)return n[0].seqNum;for(var s=n.length-1;s>=0;s--)if(t>=n[s].startTime)return n[s].seqNum}return null}},"DDi/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.configSchema={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{version:{default:"8.1.398",type:"string"},jshlsVersion:{default:"1.1.244",type:"string"},playlist:{type:"object",properties:{id:{type:"string"}}},CMS:{$ref:"/cmsSchema"},pageLatency:{type:"object",properties:{pagePlayerJsDownloadTime:{type:"number"},pageReqToPlayerInitTime:{type:"number"}}},forcePreloadBufferLimit:{default:32,type:"number"},html5_hls:{type:"object",properties:{useWorker:{type:"boolean"},preloadBufferLimit:{defaul:8,type:"number"}}},geoData:{type:"object",properties:{latitude:{type:"string"},longitude:{type:"string"},accuracy:{type:"string"}}},ui:{$ref:"/uiSchema"},YVAP:{$ref:"/yvapSchema"},metrics:{$ref:"/metricsSchema"},playback:{$ref:"/playbackSchema"},playbackState:{type:"object",properties:{mute:{type:"boolean"},volume:{type:"number"}}},uiState:{type:"object",properties:{isCSSLoaded:{type:"boolean"},deviceOrientation:{type:"boolean"}}},userPreferences:{type:"object",properties:{closedCaptions:{$ref:"/closedcaptionsSchema"},isAdult:{type:"boolean"},isAuthenticated:{type:"boolean"}}},baseConfig:{$ref:"/baseconfigSchema"},rapidConfig:{type:"object",properties:{rapid:{type:"object"},clickParams:{type:"object"},pageParams:{type:"object"}}},playerDimension:{type:"object",properties:{width:{type:"number",default:0},height:{type:"number",default:0}}},aspectRatio:{type:"number"},CTV:{$ref:"/ctvSchema"},failOver:{$ref:"/failoverSchema"},autoplayIgnoreConnType:{type:"boolean"},muteMode:{type:"boolean"},watchHistory:{type:"object",properties:{enabled:{type:"boolean",default:!1},watchedPeriod:{type:"number",default:.5},expiry:{type:"number",default:129600},skipWatchedVideos:{type:"boolean",default:!0}}},pblob:{type:"string"}}}},DTfC:function(t,i,n){var s=n("skmB"),e=n("H0QZ");function r(t,i){this.id=t,this.ref=i}t.exports.SchemaScanResult=r,t.exports.scan=function(t,i){function n(t,i){if(i&&"object"==typeof i)if(i.$ref){var r=s.resolve(t,i.$ref);a[r]=a[r]?a[r]+1:0}else{var c=i.id?s.resolve(t,i.id):t;if(c){if(c.indexOf("#")<0&&(c+="#"),u[c]){if(!e.deepCompareStrict(u[c],i))throw new Error("Schema <"+i+"> already exists with different definition");return u[c]}u[c]=i,"#"==c[c.length-1]&&(u[c.substring(0,c.length-1)]=i)}h(c+"/items",i.items instanceof Array?i.items:[i.items]),h(c+"/extends",i.extends instanceof Array?i.extends:[i.extends]),n(c+"/additionalItems",i.additionalItems),o(c+"/properties",i.properties),n(c+"/additionalProperties",i.additionalProperties),o(c+"/definitions",i.definitions),o(c+"/patternProperties",i.patternProperties),o(c+"/dependencies",i.dependencies),h(c+"/disallow",i.disallow),h(c+"/allOf",i.allOf),h(c+"/anyOf",i.anyOf),h(c+"/oneOf",i.oneOf),n(c+"/not",i.not)}}function h(t,i){if(i instanceof Array)for(var s=0;s<i.length;s++)n(t+"/"+s,i[s])}function o(t,i){if(i&&"object"==typeof i)for(var s in i)n(t+"/"+s,i[s])}var u={},a={};return n(t,i),new r(u,a)}},Db1k:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("t8Yn"),r=n("rBpt"),h=n("he5r"),o=n("c+yx"),u=n("XevZ"),a=n("zW5x"),c=n("25Pf"),f=function(){function i(t){this.iy=t,this.name="SapiMetadataPlugin",this.version="8.1.398",this.mimetype=e.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=e.Plugin.PluginType.METADATA,this.pI=!1,this.mI="",this.or={};var i=this.iy.config&&this.iy.config.CMS;this.bI=i&&i.host||c.default.getEnv(i&&i.env||""),this.jS=new a.default(this.iy),r.Loader.preconnect("preconnect-sapi","//"+this.bI)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.or=t},i.prototype.resolve=function(i,n,s){var e=n.rendererTypes,h=n.rendererCapabilities;if(Array.isArray(i)&&0!==i.length&&e)if(e.some((function(t){return h[t].preferredFormats.length>0})))if(this.jS.parseMediaItemsResponse(i),Array.isArray(i)&&i.every(this.yI))t((function(){s.onComplete(i)}));else{var o=this.or.qs||{};this.gI(i,o,n,s)}else this.wI("R",r.errorCodes.E_INFO,r.errorCodes.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED,"",s)},i.prototype.recover=function(t,i,n){},i.prototype.cancel=function(){this.pI=!0},i.prototype.destroy=function(){this.cancel()},i.prototype.gI=function(t,i,n,s){var e=this,r=this.SI(t,i,n),h=2,o=function(i){e.pI||e.EI(t,i,(function(t,i){t||!i?(t=t||"",e.wI(null,null,u.getErrorCode(),t,s)):s.onComplete(i)}))},a=function(t,i,n){e.pI||(h>0?(h--,e.OI(r,o,a)):e.wI(null,null,u.getErrorCode(t,i,n),t.message,s))};this.OI(r,o,a)},i.prototype.OI=function(t,i,n){r.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,withCookie:!1})},i.prototype.SI=function(t,i,n){var e=t.map((function(t){return t.id})).join(","),r=n.thumbnailDimensions;r&&r.width&&r.height||(r={width:a.DEFAULT_WIDTH,height:a.DEFAULT_HEIGHT}),this.mI=r.width+"x"+r.height;var u=[this.mI,h.PLAYLIST_THUMB_DIMENSION],c={dev_type:this.jS.getDeviceType(),region:this.iy.region||"US",lang:this.iy.lang,site:this.iy.site,image_sizes:u.join(",")};return c=o.default.extend(i,c),"//"+this.bI+"/v1/video/videos/"+e+"?"+s.stringify(c)},i.prototype.EI=function(t,i,n){var s=this;try{var e=JSON.parse(i),r=e&&e.videos&&e.videos.result;if(!r)return void n("Bad sapi response");t.forEach((function(t){r.some((function(i,n){return!(!i||t.id!==i.id)&&(s.AI(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},i.prototype.AI=function(t,i){var n={};n.title=i.title||i.description||a.DEFAULT_MEDIA_ITEM_META.title,n.description=i.description||a.DEFAULT_MEDIA_ITEM_META.description,n.duration=i.duration||a.DEFAULT_MEDIA_ITEM_META.duration,n.viewCount=i.view_count||a.DEFAULT_MEDIA_ITEM_META.viewCount,n.shareUrl=i.canonical_url||a.DEFAULT_MEDIA_ITEM_META.shareUrl,n.posterUrl=this._I(i.thumbnails)||a.DEFAULT_MEDIA_ITEM_META.posterUrl,n.thumbnail=this.TI(i.thumbnails)||n.posterUrl||a.DEFAULT_MEDIA_ITEM_META.thumbnail;var s=t.metadata&&t.metadata.type;s&&(n.type=s),t.metadata=n},i.prototype.wI=function(t,i,n,s,e){var r={code:n,message:s,group:t||void 0,category:i||void 0};e.onError(r)},i.prototype._I=function(t){var i=this;if(!t||0===t.length)return"";var n=t.filter((function(t){return t.tag===i.mI})),s=t.filter((function(t){return"original"===t.tag}));return n&&n[0]&&n[0].url||s&&s[0]&&s[0].url||t[0].url||""},i.prototype.TI=function(t){if(!t||0===t.length)return"";var i=t.filter((function(t){return t.tag===h.PLAYLIST_THUMB_DIMENSION}));return i&&i[0]&&i[0].url||t[0].url||""},i.prototype.yI=function(t){return!(!t||!t.metadata||void 0===t.metadata.title||void 0===t.metadata.description||void 0===t.metadata.thumbnail||void 0===t.metadata.posterUrl||void 0===t.metadata.duration)},i}();i.default=f}).call(this,n("URgk").setImmediate)},DlJI:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("BHZG"),u=n("Lux/"),a=n("PwYT"),c=n("ma23"),f=n("fLR+"),l=n("+Ojf");function v(t){return l.default.classList(t)}!function(t){t.CTA_TRIGGERED="adsViewCtaTriggered",t.CLICKED="adsViewUiClicked",t.SKIP_AD_REQUESTED="adsViewSkipAdRequested"}(r=i.AdsViewEvent||(i.AdsViewEvent={}));var d=function(t){function i(i){var n=t.call(this,"AdsView")||this;return n.pO=i,n.MI=null,n.II=l.default.noop,n.jI=n.NI(o.default.mimetype),n}return e(i,t),Object.defineProperty(i.prototype,"node",{get:function(){return this.RI},enumerable:!0,configurable:!0}),i.prototype.create=function(){return this.RI||(this.RI=document.createElement("div"),v(this.RI).add("vp-adview-wrapper"),v(this.RI).add("vp-hidden")),this.RI},i.prototype.onAdBreakStart=function(t){this.kI()},i.prototype.onAdBreakEnd=function(t){this.LI(),this.DI(),this.CI(null)},i.prototype.onAdBreakItemCurrent=function(t){this.xI=!1,this.DI();var i=t.adBreak,n=i.adBreakItems.indexOf(t);if(t.interactionConfig&&t.interactionConfig.chromeless)this.CI(null);else{this.CI(this.UI(t));var s=this.MI.renderUI(t.rawItemData,{position:n,total:i.adBreakItems.length,adBreakDuration:i.duration,adBreakItems:i.adBreakItems.map((function(t){return t.rawItemData}))});s?this.RI.appendChild(s):this.CI(null)}},i.prototype.destroy=function(){this.LI(),this.DI(),this.CI(null),this.jI=null,this.pO=null,this.RI=null},i.prototype.kI=function(){this.RI&&v(this.RI).remove("vp-hidden")},i.prototype.LI=function(){this.RI&&v(this.RI).add("vp-hidden")},i.prototype.DI=function(){if(this.MI&&this.MI.unrenderUI(),this.RI)for(;this.RI.firstChild;)this.RI.removeChild(this.RI.firstChild)},i.prototype.VI=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];switch(i){case u.AdPluginUIEvent.CTA_TRIGGERED:this.publish(r.CTA_TRIGGERED);break;case u.AdPluginUIEvent.CLICKED:this.publish(r.CLICKED);break;case u.AdPluginUIEvent.SKIP_AD:this.publish(r.SKIP_AD_REQUESTED)}},i.prototype.CI=function(t){t!==this.MI&&(this.II(),t?(this.MI=t,this.II=a.listenEventDispatcherEvts(this.MI,Object.keys(u.AdPluginUIEvent).map((function(t){return u.AdPluginUIEvent[t]})),this.VI.bind(this))):(this.MI=null,this.II=l.default.noop))},i.prototype.BI=function(t){this.RI&&v(this.RI)[t?"add":"remove"]("vp-block-pointer-evts")},i.prototype.UI=function(t){var i=this.NI(t.adPluginMimeType);return i&&f.isAdViewAdPlugin(i)&&i.canRenderUI(t.rawItemData)?i:this.jI},i.prototype.NI=function(t){return t?this.pO.getPlugin(c.PluginType.AD,t):null},i}(h.default);i.default=d},DzsB:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uiSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/uiSchema",type:"object",properties:{contentTypeLabel:{type:"string"},displayMarkers:{type:"object",properties:{type:{type:"string"},group:{type:"boolean"}}},showEndScreen:{type:"boolean"},showFullscreen:{type:"boolean"},showAgeGate:{type:"boolean"},logoOverlay:{type:"string",enum:["bottomRight","bottomLeft","off"]},allowGeoRequest:{type:"boolean"},thumbnailDimensions:{type:"object",properties:{height:{type:"number"},width:{type:"number"}}},vttIndex:{type:"number"}}}},ECHB:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=["touchstart","touchmove","touchend","touchcancel","mousedown","mouseup"],r=function(){function t(t,i,n){var r=this;void 0===n&&(n=!1),t=s.isString(t)?document.getElementById(t):t,this.element=t,this.moved=!1,this.mouseDown=!1,this.FI=!1,s.isFunction(i)?(this.onTap=i,this.shouldPropagate=n):(this.onTap=function(){},this.shouldPropagate=!!s.isBoolean(i)&&i),t&&t.addEventListener("tap",this.onTap,!1),e.forEach((function(i){t&&t.addEventListener(i,r,!1)}))}return t.prototype.destroy=function(){var t=this,i=this.element;i&&(i.removeEventListener("tap",this.onTap,!1),e.forEach((function(n){i.removeEventListener(n,t,!1)})),this.element=null)},t.prototype.isTouchDevice=function(){return this.FI},t.prototype.handleEvent=function(t){switch(t.type){case"mousedown":if(this.isTouchDevice())return;case"touchstart":this.zI(t);break;case"touchmove":this.HI(t);break;case"mouseup":if(this.isTouchDevice())return;case"touchend":this.YI(t);break;case"touchcancel":this.GI()}},t.prototype.zI=function(t){var i,n="touchstart"===t.type;n&&(this.FI=!0,i=t.touches&&t.touches[0]||{}),this.mouseDown=!0,this.startX=n?i.clientX:t.clientX,this.startY=n?i.clientY:t.clientY,this.lastPageX=n?i.pageX:t.pageX,this.lastPageY=n?i.pageY:t.pageY,this.moved=!1},t.prototype.HI=function(t){var i=t.touches[0];this.lastPageX=i.pageX,this.lastPageY=i.pageY,(Math.abs(i.clientX-this.startX)>10||Math.abs(i.clientY-this.startY)>10)&&(this.moved=!0)},t.prototype.YI=function(t){var i;!this.moved&&this.mouseDown&&(this.mouseDown=!1,void 0!==document.CustomEvent?i=new document.CustomEvent("tap",{bubbles:!0,cancelable:!0}):(i=document.createEvent("Event")).initEvent("tap",!0,!0),i.pageX=t.pageX||this.lastPageX,i.pageY=t.pageY||this.lastPageY,i.eventSource=t.srcElement,i.eventTarget=t.target,t.handled&&!this.shouldPropagate||this.element&&this.element.dispatchEvent(i),t.handled=!0)},t.prototype.GI=function(){this.moved=!1},t}();i.default=r},EKCA:function(t,i,n){"use strict";t.exports=f;var s=n("MIFH"),e=n("aPvX"),r=n("/iNa"),h=n("9nRl"),o=n("V66C"),u=o.Stream,a=o.StreamTypes,c=n("x7P6").StreamingMode;function f(t){this.constructor.super_.call(this),this.GA=this.constructor.super_.prototype,this.segments=[],t&&this.updateConfig(t)}r.inherits(f,u),f.prototype.destroy=function(){this.segments=[],this.GA.destroy.call(this)},f.prototype.updateConfig=function(t){var i=this;i.GA.updateConfig.call(i,t),t&&(i.type=t.type||i.type,i.groupId=t.groupId||i.groupId,i.language=t.language||i.language,i.name=t.name||i.name,i.default=h.isNullOrUndefined(t.default)?i.default:t.default,i.autoSelect=h.isNullOrUndefined(t.autoSelect)?i.autoSelect:t.autoSelect,i.forced=h.isNullOrUndefined(t.forced)?i.forced:t.forced);var n=s;i.type===a.SUBTITLES&&(n=i.streamingMode===c.DASH&&"mp4"===t.containerFormat?s:e),t.segmentInfoList&&t.segmentInfoList.length&&(i.segments=t.segmentInfoList.map((function(t){return t.bitrate=i.bitrate,t.sessionId=i.sessionId,t.cdn=i.cdn,i.__controller.create(n,t)}))),i.segments.length&&(i.startSeqNum=i.segments[0].seqNum,i.endSeqNum=i.segments[i.segments.length-1].seqNum),i.adjusted=i.type===a.MAIN||i.adjusted},f.prototype.equals=function(t){return!!t&&(this.url===t.url&&this.groupId===t.groupId&&this.name===t.name)},f.prototype.setStreamIndex=function(){},f.prototype.dto=function(){}},EUld:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("JcWZ"),h=n("dgSz");!function(t){t.METADATA_AVAILABLE="mstMetadataAvailable",t.SOURCE_AVAILABLE="mstSourceAvailable",t.MEDIA_ITEM_ADDED="mstMediaItemAdded",t.MEDIA_ITEM_REMOVED="mstMediaItemRemoved"}(i.MediaStoreEvent||(i.MediaStoreEvent={}));var o=function(t){function i(i,n,s){var e=t.call(this,"MediaStore")||this;return e.WI={},e.qI=i,e.XI=n,e.QI=s,e}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.addItems=function(t){for(var i=0,n=t;i<n.length;i++){var s=n[i];this.addItem(s)}},i.prototype.addItem=function(t){h.default.normalizeKey(t);var i=h.default.createKey(t.id,t.mimetype);if(this.WI[i])return i;var n=new h.default(t,this.qI,this.XI,this.QI);return this.WI[n.key]=n,n.key},i.prototype.updateItem=function(t){if(!t||!t.id||!t.mimetype)return null;var i=h.default.createKey(t.id,t.mimetype),n=this.WI[i];return n?n.build(t,this.qI,this.XI,this.QI):(n=new h.default(t,this.qI,this.XI,this.QI)).updateVideoSession(),this.WI[n.key]=n,n},i.prototype.updateItemState=function(t,i){if(t){var n=this.getByData(t);n&&n.state!==i&&n.setState(i)}},i.prototype.updateItemSourceState=function(t,i){if(t){var n=this.getByData(t);n&&n.sourceState!==i&&n.setSourceState(i)}},i.prototype.get=function(t){return t&&this.WI[t]||null},i.prototype.getById=function(t){if(!t)return null;for(var i in this.WI)if(0===i.indexOf(t))return this.WI[i];return null},i.prototype.getByData=function(t){if(!t)return null;var i=h.default.createKey(t.id,t.mimetype);return this.WI[i]||null},i.prototype.getBySessionId=function(t){if(!t)return null;for(var i=0,n=Object.keys(this.WI);i<n.length;i++){var s=n[i],e=this.WI[s];if(e&&e.videoSession===t)return e}return null},i}(r.default);i.default=o},EsLZ:function(t,i,n){"use strict";t.exports=l;var s=n("/iNa"),e=n("2fkz"),r=e.Command,h=e.CmdNames,o=e.CmdEvents,u=n("HNE+"),a=n("x7P6").AbrModes,c=n("9nRl"),f=n("iSaY");function l(t,i){var n=this;if(!t||c.isNullOrUndefined(t.streamIndex)||!t.controller)throw new Error("Invalid argument: data argument of the command is not complete");r.call(n,t,i),n.name=h.CMD_ERROR_HANDLE,n.__controller=n.data.controller,n.iy=n.__controller.model,n.ERR_INTERVAL_AFTER_BUFFER_EMPTY=1e4,n.ZI=new u(n.ERR_INTERVAL_AFTER_BUFFER_EMPTY,1),n.ZI.addEventListener((function(){n.ZI.destroy(),n.JI()}),n),n.KI(t.streamIndex),n.$I=-1}s.inherits(l,r),l.prototype.destroy=function(){this.ZI&&this.ZI.destroy(),r.prototype.destroy.call(this)},l.prototype.execute=function(t){if(!this.ZI.running||-1===this.$I||t===this.$I)if(this.data.error&&this.data.error.code===f.ERR_XHR_LOAD_FORBIDDEN[0])this.JI();else{if(this.iy.getABRMode()===a.AUTO){if(this._j.length){var i=this._j.shift();return this.publish(o.CMD_PROGRESS,this,{index:i}),void(this.$I=i)}if(0!==this.iy.currentLoadingStreamIndex)return this.publish(o.CMD_PROGRESS,this,{index:0}),void(this.$I=0)}this.iy.bufferLength>.15||this.ZI.start()}},l.prototype.cancel=function(){},l.prototype.KI=function(t){if(this._j=[],!(t<0||t>=this.iy.streams.length)){var i,n=t;for(i=n-1;i>=0;i--)this._j.push(i);for(i=n+1;i<this.iy.streams.length;i++)this._j.push(i)}},l.prototype.JI=function(){this.publish(o.CMD_ERROR,this)}},Eyma:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-end-screen vp-end-replay'>"),s.b("\n"+n),s.b("    <div class='vp-end-rep-icon'></div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},FHv4:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o,u,a,c=n("JcWZ"),f=n("ToqN"),l=n("GZfa"),v=n("DlJI"),d=n("9d71"),p=n("X1lw"),m=n("CgWD"),b=n("izmf"),y=n("s9EW"),g=n("Rv5J"),w=n("3WiS"),S=n("ECHB"),E=n("A4+F"),O=n("8PPl"),A=n("O/dN"),_=n("oIMU"),T=n("oIMU"),M=n("WSjl"),I=n("R+G7"),j=n("fLR+"),N=n("+Ojf"),R=n("gp5d"),k=n("LKsC"),L=n("mczr"),D=n("XBl0"),C=n("Eyma");N.default.insertCssIntoHead(".vp-vis-hidden { visibility: hidden;} .vp-disp-none { display: none;}"),function(t){t.END_SCREEN="end-screen",t.ERROR="error",t.VIDEO="video",t.START_SCREEN="start-screen",t.BLOCKED="blocked"}(r=i.ViewState||(i.ViewState={})),function(t){t.PORTRAIT="portrait",t.LANDSCAPE="landscape"}(h=i.Orientation||(i.Orientation={})),function(t){t.LOADING="loading",t.SWITCHING="switching",t.PLAYING="playing",t.PAUSED="paused",t.CASTING="casting"}(o||(o={})),function(t){t.NORMAL="normal",t.SMALL="smallscreen",t.VERY_SMALL="verysmallscreen"}(u||(u={})),function(t){t[t.SMALL_WIDTH=350]="SMALL_WIDTH",t[t.SMALL_HEIGHT=210]="SMALL_HEIGHT",t[t.VERY_SMALL_WIDTH=200]="VERY_SMALL_WIDTH",t[t.VERY_SMALL_HEIGHT=175]="VERY_SMALL_HEIGHT"}(a||(a={}));var P,x=["webkitfullscreenchange","mozfullscreenchange","msfullscreenchange","MSFullscreenChange","fullscreenchange"];function U(t){return N.default.classList(t)}!function(t){t.AD_CLICKED="vAdClicked",t.BACKWARD_SEEK="vBackwardSeek",t.CC_LANGUAGE_CHANGE="vCcLanguageChange",t.CC_STYLE_CHANGE="vCcStyleChange",t.CUSTOM_ELEMENT="vCustomElem",t.FORWARD_SEEK="vForwardSeek",t.OPSS_VISIBILITY_CHANGED="vOpssVisibilityChanged",t.SCROLLED_TO_END="vScrolledToEnd",t.SEEK="vSeek",t.SET_AUDIO_LANGUAGE="vSetAudioLanguage",t.SET_MUTE="vSetMute",t.SET_VOLUME="vSetVolume",t.SKIP_AD_REQUESTED="vAdSkipRequested",t.START_SCREEN_CLICK="vStartScreenClick",t.SYNC_ENTER_FULLSCREEN="vSyncEnterFullscreen",t.SYNC_EXIT_FULLSCREEN="vSyncExitFullscreen",t.SYNC_PLAYBACK_STATE="vSyncPlaybackState",t.SYNC_SHOW_AIRPLAY_TARGET_MENU="vSyncShowAirplayTargetMenu",t.SYNC_VIDEO_END="vSyncVideoEnd",t.TOGGLE_CC="vToggleCc",t.TOGGLE_PLAY_PAUSE="vTogglePlayPause",t.UI_INTERACT="vUiInteract"}(P=i.ViewEvent||(i.ViewEvent={}));var V=function(t){function i(i,n,s,e,r,h){var a=t.call(this,"View")||this;a.tN=i,a.iy=n,a.ty=s,a.LT=e,a.pO=r,a.iN=h,a.nN=u.NORMAL,a.sN=!1,a.eN=!1,a.rN=0;var c=0,l=0;return a.tN&&(c=a.tN.clientWidth,l=a.tN.clientHeight,a.nN=a.hN(c,l)),a.ty.addEventListener(_.VideoEvent.SRC_SWITCHING,(function(){a.oN(o.SWITCHING,!0)}),a),a.ty.addEventListener(_.VideoEvent.SRC_SWITCHED,(function(){a.oN(o.SWITCHING,!1)}),a),a.ty.publish(_.PLAYER_DIMENSION_CHANGE,{height:a.tN&&a.tN.clientHeight||a.iy.uiState.height||0,width:a.tN&&a.tN.clientWidth||a.iy.uiState.width||0,videoWidth:a.uN&&a.uN.clientWidth||a.iy.uiState.videoWidth||0,videoHeight:a.uN&&a.uN.clientHeight||a.iy.uiState.videoHeight||0}),a.ty.addEventListener(E.ExternalEvt.PLAYER_MUTE_CHANGE,a.aN,a),a.ty.addEventListener(_.UP_NEXT_PG_CLICK,a.cN,a),a.ty.addEventListener(_.PLAYER_DIMENSION_CHANGE,a.fN,a),a.ty.addEventListener(_.Device.ORIENTATION_CHANGE,a.lN,a),f.userAgent.mobile&&I.default.canPlayInline&&(a.iy.uiState.deviceOrientation=a.vN(),a.dN()),a}return e(i,t),i.prototype.render=function(){var t=this;this.iy.rendered=!0,this.pN=N.default.render(D,{enableDocking:this.iy.docking&&(this.iy.docking.enableOnScrollDown||this.iy.docking.enableOnScrollUp)}),this.uN=this.pN.querySelector("."+O.VIDEO_MAIN_ELEMENT_CLASS),this.tN&&this.tN.appendChild(this.pN),U(this.pN).add(this.nN),Object.keys(f.userAgent).filter((function(t){return f.userAgent[t]})).forEach((function(i){"os"===i&&(i=f.userAgent.os),"ie"===i&&U(t.pN).add("vp-"+i.toLowerCase()+f.userAgent[i]),U(t.pN).add("vp-browser-"+i.toLowerCase())})),I.default.deviceType&&U(this.pN).add("vp-device-"+I.default.deviceType),f.userAgent.mobile&&I.default.canPlayInline&&U(this.pN).add("vp-browser-playsinline"),this.iy.chromeless||j.isFunction(y.default)&&(this.mN=new y.default(this.ty)),this.mN&&this.uN&&this.uN.appendChild(this.mN.create()),this.iy.showControls&&I.default.canPlayInline&&(this.v_=new p.Controls(this.ty,this,this.iy,this.pO),this.bN());var i=function(i){t.yN()},n=function(i){t.gN(i)};this.wN=function(){t.SN={},t.EN=t.pN,t.pN.addEventListener("mousemove",(function(n){t.SN.x!==n.clientX&&t.SN.y!==n.clientY&&(i(),t.SN.x=n.clientX,t.SN.y=n.clientY,t.EN=n.target)})),t.pN.addEventListener("mouseover",(function(n){var s=null;t.EN&&(s=t.EN.parentElement),!s||U(s).contains("vp-play-controls")||U(s).contains("vp-menu-controls")||i()})),t.pN.addEventListener("mouseout",(function(i){var s=null,e=t.pN.getBoundingClientRect();t.EN&&(s=t.EN.parentElement),s&&(U(s).contains("vp-play-controls")||U(s).contains("vp-menu-controls")||n(i),(U(s).contains("vp-play-controls")||U(s).contains("vp-menu-controls"))&&(i.clientX<=e.left||i.clientX>=e.right||i.clientY>=e.bottom)&&n(i))}))},this.gT=function(){var t=this;this.AN=new S.default(this.pN,(function(){(!t.getFullscreen()||f.userAgent.android&&N.default.getFullscreenElement()===t.pN)&&t.toggleControlsVisibility()})),this.ty.addEventListener(_.CONTROLS_SEEKING,(function(){t._N&&clearTimeout(t._N),t._N=window.setTimeout(t.TN.bind(t),5e3)}),this)},f.userAgent.tv||f.userAgent.mobile?f.userAgent.mobile&&this.v_&&I.default.canPlayInline&&this.gT():this.wN(),this.MN=function(){t.pN.removeEventListener("mousemove",i),t.pN.removeEventListener("mouseover",i),t.pN.removeEventListener("mouseout",n)},j.isFunction(this.IN.bind)&&(this.jN=this.IN.bind(this),x.forEach((function(i){document.addEventListener(i,t.jN)}))),this.NN(),this.RN=new k.PlaylistController(this,this.pO),this.kN(),this.LN(),this.DN=new m.default("NORMAL",(function(){t.CN||(t.CN=new g.default(t.iy,t.ty,t.iN.getRendererController(),t.pO),t.uN&&t.uN.appendChild(t.CN.create()),t.PN()),t.CN.render()})),f.userAgent.desktop&&this.uN&&this.uN.addEventListener("contextmenu",(function(i){var n=t._f.rendererType;n!==L.RendererType.HTML5_HLS&&n!==L.RendererType.HTML5_RAW||i.preventDefault()}));var s=document.querySelector("#vp-css");f.userAgent.ie&&f.userAgent.ie<=10&&setTimeout((function(){s&&s.sheet.cssRules&&s.sheet.cssRules.length>0?t.xN():t.UN()}),150),f.userAgent.ie&&f.userAgent.ie<=10||!this.iy.uiState||this.iy.uiState.isCSSLoaded||(!0===N.default.getSingleton("isCSSLoaded")?this.xN():!0===N.default.getSingleton("isCSSError")?this.UN():s&&(s.addEventListener("error",this.UN.bind(this)),s.addEventListener("load",this.xN.bind(this)))),this.VN=new d.default(this.ty,this,this.iy,this.pO)},i.prototype.getEventBus=function(){return this.ty},i.prototype.getModel=function(){return this.iy},i.prototype.getAdsOverlay=function(){return this.BN},i.prototype.toggleControlsVisibility=function(){U(this.pN).contains("vp-hide-controls")?(U(this.pN).remove("vp-hide-controls"),this.v_.onControlsBarChange(!0),this.FN&&U(this.FN).remove("vp-overlay-hide-cursor"),this._N&&clearTimeout(this._N),this._f.seeking||(this._N=window.setTimeout(this.TN.bind(this),5e3))):(U(this.pN).add("vp-hide-controls"),this.v_.onControlsBarChange(!1))},i.prototype.isDocked=function(){return this.eN},i.prototype.dockVideoPlayer=function(){var t=window.scrollY,i=!0,n=this.iy.docking.width,s=this.iy.docking.height;if(this.rN>t&&(i=!1),this.iy.docking.enableOnScrollDown===i&&this.iy.docking.enableOnScrollUp!==i&&!this.zN&&(this.iy.docking.enableOnMuted||!this.iy.mute)&&!(f.userAgent.mobile&&this.iy.docking.mobile&&this.iy.docking.mobile.disable)){if(this.HN=this.pN.clientWidth,this.YN=this.pN.clientHeight,"full"===n){if(this.iy.uiState.deviceOrientation===h.LANDSCAPE)return;n=window.innerWidth,s=this.YN/this.HN*n}if(this.eN=!0,this.GN(),this.RN.togglePlaylistUI(!0),U(this.pN).add("vp-docked"),this.iy.docking.showInfoCard&&U(this.pN).add("vp-docked-show-meta"),this.iy.docking.fadeInAnimation){if(U(this.pN).add("vp-docked-fadein"),U(this.tN).add("vp-docked-mode"),(u=f.userAgent.mobile&&this.iy.docking.mobile?this.iy.docking.mobile.position||{}:this.iy.docking.position||{}).top>-1&&(this.pN.style.top=u.top+"px"),u.bottom>-1&&u.top<0){var e=0;this.iy.docking.showInfoCard&&(e=84),this.pN.style.bottom=e+u.bottom+"px"}u.right>-1&&u.left<0&&(this.pN.style.right=u.right+"px"),u.left>-1&&(this.pN.style.left=u.left+"px")}else{this.WN();var r=this.pN.getBoundingClientRect(),o=document.querySelector("body");if(!o)return;var u,a=o.clientWidth,c=window.innerHeight,l=0,v=0;if((u=this.iy.docking.position||{}).top>-1&&(v=u.top,this.pN.style.top="0px"),u.bottom>-1){var d=0;this.iy.docking.showInfoCard&&(d=84),v=c-s-d-u.bottom,this.pN.style.bottom=""}u.right>-1&&(l=a-r.left-n-u.right,this.pN.style.right=""),u.left>-1&&(l=u.left,this.pN.style.left="0px"),this.pN.style.transform="translate3d("+l+"px, "+v+"px, 0)",U(this.pN).add("vp-docked-animated"),U(this.tN).add("vp-docked-mode")}this.pN.style.width=n+"px",this.pN.style.height=s+"px",this.ty.publish(E.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!1),this.ty.publish(_.PLAYER_DIMENSION_CHANGE,this.getPlayerDimensions()),this.iy.uiState.isDocked=!0,this.ty.publish(E.ExternalEvt.PLAYER_DOCKED_CHANGE,!0)}},i.prototype.undockVideoPlayer=function(t){var i=this;void 0===t&&(t=!1),U(this.pN).remove("vp-docked"),U(this.pN).remove("vp-docked-show-meta"),this.iy.docking.fadeInAnimation?(U(this.pN).remove("vp-docked-fadein"),this.pN.style.top="",this.pN.style.right="",this.pN.style.bottom="",this.pN.style.left="",this.pN.style.width="",this.pN.style.height=""):(this.pN.style.transform="translate3d(0, 0, 0)",this.WN()),this.eN=!1,this.RN.togglePlaylistUI(!1),t&&!this.iy.isPaused()&&this.ty.publish(_.TOGGLE_PLAY_PAUSE),window.setTimeout((function(){i.eN||(i.iy.uiState.isDocked=!1,i.iy.docking.fadeInAnimation||(i.pN.style.width="",i.pN.style.height="",U(i.pN).remove("vp-docked-animated"),i.pN.style.position="",i.pN.style.transform="",i.pN.style.top="",i.pN.style.right="",i.pN.style.bottom="",i.pN.style.left=""),i.qN&&(i.tN.removeChild(i.qN),i.qN=null),U(i.tN).remove("vp-docked-mode"),i.ty.publish(E.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!0),i.ty.publish(_.PLAYER_DIMENSION_CHANGE,i.getPlayerDimensions())),i.ty.publish(E.ExternalEvt.PLAYER_DOCKED_CHANGE,!1)}),250)},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){"boolean"==typeof t&&(this.iy.docking.enableOnScrollDown=t),"boolean"==typeof i&&(this.iy.docking.enableOnScrollUp=i),this.iy.docking.position=this.iy.docking.position||{},isNaN(n)||(this.iy.docking.position.top=n),isNaN(s)||(this.iy.docking.position.right=s),isNaN(e)||(this.iy.docking.position.left=e),isNaN(r)||(this.iy.docking.position.bottom=r),t||i?(this.LN(),this.eN&&this.dockVideoPlayer()):(this.XN(),this.eN&&this.undockVideoPlayer())},i.prototype.createAdsOverlay=function(){if(this.BN)return this.BN.node.innerHTML="",this.BN.node;if(!this.uN)return null;this.BN=new l.default;var t=this.BN.create(),i=this.uN.querySelector(".vp-adview-wrapper");return i?this.uN.insertBefore(t,i):this.uN.appendChild(t),t},i.prototype.destroyAdsOverlay=function(){this.BN&&(this.BN.destroy(),this.BN=null)},i.prototype.showAirplayTargetMenu=function(){this.publish(P.SYNC_SHOW_AIRPLAY_TARGET_MENU)},i.prototype.getContentNode=function(){return this.pN},i.prototype.getOpenSimSim=function(){return this.CN},i.prototype.getMainElement=function(){return this.uN},i.prototype.getCCElement=function(){return this.uN?this.uN.querySelector(".vp-cc-element"):null},i.prototype.getRootElement=function(){return this.tN},i.prototype.getVideoElement=function(){return this.tN&&this.tN.getElementsByTagName("video")[0]},i.prototype.setKeyboardFocus=function(){this.pN.focus()},i.prototype.updateViewOnEscPress=function(){this.CN&&this.CN.isOpen()?this.CN.close():this.getFullscreen()&&this.setFullscreen(!1)},i.prototype.disableControls=function(){U(this.pN).add("vp-disable-controls")},i.prototype.enableControls=function(){U(this.pN).remove("vp-disable-controls")},i.prototype.resetState=function(){this.QN(),this.ZN(),this.JN()},i.prototype.syncViewState=function(){var t=this.iy,i=t.playlist&&this.Ny(),n=this._f,s=t.castState,e=s&&s.connected,h=r.START_SCREEN;if(this.oN(o.CASTING,e),e){var u=U(this.pN);s.mediaLoaded&&!s.paused?u.add("vp-cast-playing"):u.remove("vp-cast-playing")}var a=U(this.pN).contains("vp-flag-"+o.LOADING);switch(this.oN(o.LOADING,t.isLoading()),!a&&t.isLoading()?this.ty.publish(E.ExternalEvt.LOADING_BEGIN):a&&!t.isLoading()&&this.ty.publish(E.ExternalEvt.LOADING_END),t.getState()){case M.States.INIT:case M.States.WAITING:h=r.START_SCREEN;var c=!t.autoplay||t.waitingForUserTap,l=i&&(i.hasThumbnail()&&!f.userAgent.mobile||i.fetchFinished());if(c&&l){var v=t.continuousPlay&&0!==t.playlist.position,d=t.skipOnError===R.SkipOnError.ALWAYS||t.skipOnError===R.SkipOnError.TIMEBASED;v&&d&&n.hasStartedPlayback||this.KN()}break;case M.States.VIDEO:this.$N(n),this.tR(),h=r.VIDEO;break;case M.States.END:this.iy.continuousPlay||this.setFullscreen(!1),n.criticalError?(t.chromeless?this.ty.publish(E.ExternalEvt.PLAYER_ERROR,n.criticalError):this.iR(n.criticalError,i,t.guid),h=r.ERROR):(this.nR(n.previousItem),h=r.END_SCREEN)}this.sR=h,this.eR(h),this.rR(),this.VN&&this.VN.syncState()},i.prototype.getCurrentViewState=function(){return this.sR},i.prototype.setFullscreen=function(t){var i=this.pN,n=i.requestFullscreen||i.webkitRequestFullscreen||i.mozRequestFullScreen||i.msRequestFullscreen,s=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen;t?(f.userAgent.ios||f.userAgent.android&&!this.v_?this.publish(P.SYNC_ENTER_FULLSCREEN):n&&!this.sN?n.call(i):this.hR(),this.ty.publish(_.CTRL_FULLSCREEN,"ON")):(f.userAgent.ios?this.publish(P.SYNC_EXIT_FULLSCREEN):s&&this.sN?s.call(document):this.oR(),this.ty.publish(_.CTRL_FULLSCREEN,"OFF")),this.sN===t||n||s||(this.IN(),this.ty.publish(_.FULLSCREEN_CHANGE,t),this.sN=t),t&&f.userAgent.mobile&&I.default.autoplaySupported&&this._f.mute&&!this.iy.muteMode&&this.publish(P.SET_MUTE,!1),this.rR()},i.prototype.getFullscreen=function(){var t=N.default.getFullscreenElement(),i=this.iN.getActiveRenderer(),n=f.userAgent.mobile&&(document.isFullScreen||document.webkitIsFullScreen)||f.userAgent.ios&&i&&i.node&&i.node.webkitDisplayingFullscreen,s=document.querySelector("body");return t===this.pN||s&&U(s).contains("vp-lightbox")||n},i.prototype.toggleFullscreen=function(){this.setFullscreen(!this.getFullscreen())},i.prototype.updateVolumeUI=function(t,i){this.v_&&this.v_.updateVolumeUI(t,i)},i.prototype.updateClosedCaptionUI=function(t){this.v_&&this.v_.updateClosedCaptionUI(t)},i.prototype.clearAutoHideTimeout=function(){this._N&&window.clearTimeout(this._N)},i.prototype.setOverlayActive=function(t){t?U(this.pN).add("vp-overlay-active"):U(this.pN).remove("vp-overlay-active")},i.prototype.destroyFullscreenChangeListeners=function(){var t=this;this.jN&&x.forEach((function(i){document.removeEventListener(i,t.jN)}))},i.prototype.getPlayerDimensions=function(){return{width:this.pN.clientWidth,height:this.pN.clientHeight,videoWidth:this.uN.clientWidth,videoHeight:this.uN.clientHeight}},Object.defineProperty(i.prototype,"controls",{get:function(){return this.v_},enumerable:!0,configurable:!0}),i.prototype.getPlaylistController=function(){return this.RN},i.prototype.isStreamMode=function(){return f.userAgent.desktop&&(this.nN===u.SMALL||U(this.pN).contains("vp-stream"))},i.prototype.isMiniStreamMode=function(){return f.userAgent.desktop&&(this.nN===u.VERY_SMALL||U(this.pN).contains("vp-ministream"))},i.prototype.addRendererNode=function(t){var i=this.getMainElement();if(i){if(U(t).contains("vp-external-video")){for(var n=0,s=i.children[n];n<i.children.length&&"video"!==s.tagName.toLowerCase();)s=i.children[++n];if(s&&"video"===s.tagName.toLowerCase())return void i.insertBefore(t,s)}i.appendChild(t)}},i.prototype.onMediaItemLoaded=function(t){t.isLive()?U(this.pN).add("vp-live"):U(this.pN).remove("vp-live"),this.isStreamMode()&&!this.getFullscreen()&&U(this.pN).add("vp-stream"),this.isMiniStreamMode()&&!this.getFullscreen()&&U(this.pN).add("vp-ministream"),this.v_&&this.v_.onMediaItemLoaded(t)},i.prototype.onMediaItemCurrent=function(t){this.v_&&this.v_.onMediaItemCurrent(t)},i.prototype.onMediaItemPlaybackStarted=function(t){(this.iy.docking.enableOnScrollDown||this.iy.docking.enableOnScrollUp)&&this.eN&&this.GN(),this.v_&&this.v_.onMediaItemPlaybackStarted(t)},i.prototype.onMediaItemPlaybackProgress=function(t){this.v_&&this.v_.onMediaItemPlaybackProgress(t)},i.prototype.onAdBreakStarted=function(t){this.uR.onAdBreakStart(t)},i.prototype.onAdBreakEnded=function(t){this.uR.onAdBreakEnd(t)},i.prototype.onAdBreakItemCurrent=function(t){this.uR.onAdBreakItemCurrent(t)},i.prototype.onAdBreakItemStarted=function(t){this.v_&&this.v_.onAdPlaybackStarted()},i.prototype.onAdBreakItemEnded=function(t){this.v_&&this.v_.onAdPlaybackEnded()},i.prototype.onAdPlaybackProgress=function(t){var i=t.playingItem,n=this._f;i&&j.isNumber(n.currentTime)&&j.isNumber(n.duration)&&this.v_&&this.v_.onAdPlaybackProgress(t)},i.prototype.setTheme=function(t){t&&U(this.pN).add(t)},i.prototype.onlanguageChange=function(t){this.publish(P.CC_LANGUAGE_CHANGE,t)},i.prototype.updateClosedCaptionStyle=function(t){this.publish(P.CC_STYLE_CHANGE,t)},i.prototype.updateCurrentItemTitle=function(t){this.v_.updateCurrentItemTitle(t),this.eN&&this.aR&&(this.aR.textContent=t),this.cR&&this.cR.updateTitle(t)},i.prototype.addCustomControlElement=function(t){return this.v_.addCustomControlElement(t)},i.prototype.destroy=function(){this.v_&&this.v_.destroy(),this.DN&&this.DN.destroy(),this.fR&&this.fR.destroy(),this.lR&&this.lR.destroy(),this.mN&&this.mN.destroy(),this.uR&&this.uR.destroy(),this.RN&&this.RN.destroy(),this.cR&&this.cR.destroy(),this.AN&&this.AN.destroy(),this.destroyAdsOverlay(),this.destroyFullscreenChangeListeners(),f.userAgent.tv||f.userAgent.mobile||!this.MN||this.MN(),this.vR&&(window.removeEventListener("resize",this.vR),this.vR=null),this.CN&&this.CN.destroy(),this.tN&&(this.tN.innerHTML=""),this.XN()},i.prototype.lN=function(t){this.iy.uiState.deviceOrientation=t,this.iy.uiState.isDocked&&"full"===this.iy.docking.width&&t===h.LANDSCAPE&&!this.getFullscreen()&&this.undockVideoPlayer(!0)},i.prototype.dN=function(){this.vR=this.dR.bind(this),window.addEventListener("resize",this.vR)},i.prototype.vN=function(){var t=h.LANDSCAPE;return window.innerHeight>window.innerWidth&&(t=h.PORTRAIT),t},i.prototype.dR=function(){this.ty.publish(_.Device.ORIENTATION_CHANGE,this.vN())},i.prototype.LN=function(){this.pR&&this.XN(),(!(f.userAgent.ie>0&&f.userAgent.ie<10)&&!f.userAgent.mobile||f.userAgent.mobile&&I.default.canPlayInline)&&this.iy.docking&&(this.iy.docking.enableOnScrollDown||this.iy.docking.enableOnScrollUp)&&(this.pR=this.mR.bind(this),window.addEventListener("scroll",this.pR))},i.prototype.XN=function(){this.pR&&(window.removeEventListener("scroll",this.pR),this.pR=null)},i.prototype.mR=function(){var t=window.pageYOffset;if(t!==this.rN&&!this.sN){this.rN=t;var i=N.default.getElementViewability(this.tN)>=this.iy.docking.threshold;i||this.eN||this.iy.getState()!==M.States.VIDEO||this.iy.isPaused()?i&&this.eN&&this.undockVideoPlayer():this.dockVideoPlayer()}},i.prototype.NN=function(){var t=this;return this.uR||(this.uR=new v.default(this.pO),this.uR.addEventListener(v.AdsViewEvent.SKIP_AD_REQUESTED,(function(){t.publish(P.SKIP_AD_REQUESTED)}),this),this.uR.addEventListener(v.AdsViewEvent.CLICKED,(function(){t.publish(P.AD_CLICKED)}),this),this.uN.appendChild(this.uR.create())),this.uR},i.prototype.WN=function(){var t=this.tN.getBoundingClientRect(),i=document.querySelector("body");if(i){var n=i.clientWidth,s=this.iy.docking.position||{};s.top>-1&&(this.pN.style.top=t.top+"px"),s.bottom>-1&&(this.pN.style.bottom=t.bottom+"px"),s.right>-1&&(this.pN.style.right=n-t.right+"px"),s.left>-1&&(this.pN.style.left=t.left+"px"),this.pN.style.width=this.HN+"px",this.pN.style.height=this.YN+"px",this.pN.style.position="fixed"}},i.prototype.GN=function(){var t=this,i=this.iy.docking;if(i.enableOnScrollDown||i.enableOnScrollUp){this.aR&&this.qN||(this.aR=this.pN.querySelector(".vp-docked-title"),this.bR=this.pN.querySelector(".vp-docked-provider"),this.qN=document.createElement("div"),this.qN.setAttribute("class","vp-docked-bg"),this.yR=document.createElement("img"),this.yR.setAttribute("class","vp-docked-img"),this.gR=document.createElement("div"),this.gR.setAttribute("class","vp-docked-overlay"),this.wR=document.createElement("div"),this.wR.setAttribute("class","vp-docked-overlay-text"),this.wR.innerHTML="Scroll back up to restore default view.",this.gR.appendChild(this.wR),this.qN.appendChild(this.yR),this.qN.appendChild(this.gR),this.SR||(this.SR=document.createElement("div"),this.SR.setAttribute("class","vp-docked-close-button"),this.ER=new S.default(this.SR,(function(i){i.stopPropagation(),t.undockVideoPlayer(!t.iy.isPaused()),t.publish(P.UI_INTERACT,{srcElement:"ui_pop_close_clk"})})),i.closeButtonFadeIn||U(this.SR).add("vp-nofade")),this.uN&&this.uN.appendChild(this.SR),this.tN&&this.tN.appendChild(this.qN));var n=this.Ny();n&&(n.thumbnail&&this.yR.setAttribute("src",n.thumbnail),this.aR&&n.title&&(this.aR.innerHTML=n.title))}},i.prototype.xN=function(){var t,i=this.getContentNode().querySelectorAll(".vp-vis-hidden"),n=i.length;for(t=0;t<n;t++)U(i[t]).remove("vp-vis-hidden");this.uN.style.height="",this.iy.uiState.isCSSLoaded=!0},i.prototype.UN=function(){for(var t=this.getContentNode().querySelectorAll(".vp-vis-hidden"),i=t.length,n=0;n<i;n++)U(t[n]).add("vp-disp-none");this.iy.uiState.isCSSLoaded=!1,this.ty.publish(_.WARNING,N.default.createErr(A.ErrorGroup.Streaming,this._f,A.E_WARNING,A.WARNING_CODES.E_CSS_DOWNLOAD_FAILED),!1)},i.prototype.eR=function(t){var i="vp-state-"+t,n=U(this.pN);Object.keys(r).forEach((function(t){var s="vp-state-"+r[t];n.contains(s)&&s!==i&&n.remove(s)})),n.contains(i)||n.add(i)},i.prototype.oN=function(t,i){var n=U(this.pN),s="vp-flag-"+t,e=n.contains(s);i?e||n.add(s):e&&n.remove(s)},i.prototype.KN=function(){var t=this.iy,i=this.Ny();i&&!this.cR&&(t.showStartScreen&&(this.cR=new w.StartScreen(this.ty),this.OR(),this.uN&&this.uN.appendChild(this.cR.create(i,t))),this.ty.publish(_.START_SCREEN_RENDERED))},i.prototype.QN=function(){var t=this.cR&&this.cR.node;t&&(this.uN&&this.uN.removeChild(t),this.cR&&(this.cR.destroy(),this.cR=null))},i.prototype.nR=function(t){var i=this;if(t){var n=this.iy.showEndScreen;if(n){if(!this.pN.querySelector(".vp-end-replay")){var s=N.default.render(C,{});this.AR=new S.default(s,(function(){i.ty.publish(_.RELATED_ITEM_CLICK,t.id,-1,!1,!1)})),this.uN&&this.uN.appendChild(s),this.TR=s}!this.cR&&n&&this.KN(),this.ty.publish(_.END_SCREEN_RENDERED),this.publish(P.UI_INTERACT,{srcElement:"es-view"})}}},i.prototype.ZN=function(){this.TR&&this.uN&&(this.uN.removeChild(this.TR),this.TR=null),this.AR&&this.AR.destroy()},i.prototype.iR=function(t,i,n){if(!this.lR){this.lR=new b.default(this.ty);var s=i?i.thumbnail:null,e=s||"";if(i=i||this.Ny(),this.uN){var r=i&&i.videoSession||"";this.uN.appendChild(this.lR.create(t,n,r,e))}this.publish(P.UI_INTERACT,{srcElement:"err-view-"+t.category+"-"+t.subcategory})}},i.prototype.rR=function(){this.v_&&this.v_.syncAriaState()},i.prototype.hR=function(){var t=document.querySelector("body");if(t&&!U(t).contains("vp-lightbox")){for(var i=this.pN.parentNode;i&&"BODY"!==i.nodeName;)U(i).add("vp-lightbox-ancestor"),i=i.parentNode;U(t).add("vp-lightbox")}},i.prototype.oR=function(){var t=document.querySelector("body");if(t&&U(t).contains("vp-lightbox")){U(t).remove("vp-lightbox");for(var i=this.pN.parentNode;i&&"BODY"!==i.nodeName;)U(i).remove("vp-lightbox-ancestor"),i=i.parentNode}},i.prototype.aN=function(t){t?U(this.pN).add("vp-muted"):U(this.pN).remove("vp-muted")},i.prototype.yN=function(){this._N&&window.clearTimeout(this._N),U(this.pN).remove("vp-hide-controls"),this.FN&&U(this.FN).remove("vp-overlay-hide-cursor"),this.iy.isSeeking()||this.iy.isPaused()||(this._N=window.setTimeout(this.TN.bind(this),5e3)),this.v_.onControlsBarChange(!0),this.getFullscreen()||this.ty.publish(T.CCEvent.POSITION_FLOAT,!0)},i.prototype.gN=function(t){"mouseout"===t.type&&(this._N&&window.clearTimeout(this._N),U(this.pN).add("vp-hide-controls"),this.v_.onControlsBarChange(!1),this.getFullscreen()||this.ty.publish(T.CCEvent.POSITION_FLOAT,!1))},i.prototype.TN=function(){this.FN=this.pN&&this.pN.querySelector(".vp-object-overlay"),this._N&&(window.clearTimeout(this._N),this._N=null),U(this.pN).add("vp-hide-controls"),this.v_.onControlsBarChange(!1)},i.prototype.cN=function(){this._N&&window.clearTimeout(this._N),this.iy.isSeeking()||(this._N=window.setTimeout(this.TN.bind(this),5e3))},i.prototype.IN=function(){var t=this.getFullscreen();t?(U(this.pN).add("vp-state-fullscreen"),this.eN&&(this.zN=!0,this.undockVideoPlayer())):(U(this.pN).remove("vp-state-fullscreen"),(this.eN||this.zN)&&(this.zN=!1,this.rN=window.scrollY,this.dockVideoPlayer())),this.sN!==t&&(this.iy.uiState.isFullscreen=t,this.ty.publish(_.FULLSCREEN_CHANGE,t),this.sN=t)},i.prototype.fN=function(t){var i,n=t.width||1,s=t.height||1,e=this.hN(n,s);(this.isStreamMode()||this.isMiniStreamMode())&&e===u.NORMAL&&this.MR(),f.userAgent.desktop&&(e===u.VERY_SMALL?U(this.pN).add("vp-ministream"):e===u.SMALL&&(U(this.pN).add("vp-stream"),this.RN.detachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&U(i).add("hide")))},i.prototype.MR=function(){var t=this.getContentNode();U(t).remove("vp-ministream"),U(t).remove("vp-stream"),this.RN.attachUpNextMouseEvents();var i=this.getContentNode().querySelector(".vp-upnext-playlist");i&&U(i).remove("hide")},i.prototype.hN=function(t,i){var n=u.NORMAL;return(t<=a.VERY_SMALL_WIDTH||i<=a.VERY_SMALL_HEIGHT)&&(n=u.VERY_SMALL),(t<=a.SMALL_WIDTH&&t>a.VERY_SMALL_WIDTH||i<=a.SMALL_HEIGHT&&i>a.VERY_SMALL_HEIGHT)&&(n=u.SMALL),n},i.prototype.IR=function(t){this.publish(P.UI_INTERACT,t)},i.prototype.$N=function(t){var i=this.getContentNode(),n="vp-mode-"+this._f.playbackMode,s=U(i);Object.keys(L.PlaybackMode).forEach((function(t){var i="vp-mode-"+L.PlaybackMode[t];s.contains(i)&&i!==n&&s.remove(i)})),s.contains(n)||s.add(n)},i.prototype.tR=function(){!this.iy.isPaused()?(this.oN(o.PLAYING,!0),this.oN(o.PAUSED,!1)):(this.oN(o.PLAYING,!1),this.oN(o.PAUSED,!0)),this.publish(P.SYNC_PLAYBACK_STATE)},i.prototype.bN=function(){var t=this,i=this.v_,n=i?i.create():null;n&&Object.keys(n).forEach((function(i){t.uN&&n[i]&&t.uN.appendChild(n[i])})),i.on(p.ControlsEvent.SEEK,(function(i){t.publish(P.SEEK,i)}),this),i.on(p.ControlsEvent.SET_VOLUME,(function(i){t.publish(P.SET_VOLUME,i)}),this),i.on(p.ControlsEvent.SET_MUTE,(function(i){t.publish(P.SET_MUTE,i)}),this),i.on(p.ControlsEvent.TOGGLE_CC,(function(i,n){t.publish(P.TOGGLE_CC,i,n)}),this),i.on(p.ControlsEvent.SET_AUDIO_LANGUAGE,(function(i,n){t.publish(P.SET_AUDIO_LANGUAGE,i,n)}),this),i.on(p.ControlsEvent.UI_INTERACT,(function(i){t.IR(i)}),this),i.on(p.ControlsEvent.TOGGLE_PLAY_PAUSE,(function(){t.publish(P.TOGGLE_PLAY_PAUSE)}),this),i.on(p.ControlsEvent.LOGO_CLICK,(function(){var i=t._f.state===M.States.INIT?P.START_SCREEN_CLICK:P.TOGGLE_PLAY_PAUSE;t.publish(i)}),this),i.on(p.ControlsEvent.FORWARD_SEEK,(function(){t.publish(P.FORWARD_SEEK)}),this),i.on(p.ControlsEvent.BACKWARD_SEEK,(function(){t.publish(P.BACKWARD_SEEK)}),this),i.on(p.ControlsEvent.SET_QUALITY,(function(i){t.iN.setQuality(i)}),this),i.on(p.ControlsEvent.CUSTOM_ELEMENT,(function(i,n){t.publish(P.CUSTOM_ELEMENT,i,n)}),this)},i.prototype.kN=function(){var t=this,i=this.RN;i.on(k.PlaylistEvent.UI_INTERACT,(function(i){t.IR(i)}),this),i.on(k.PlaylistEvent.SCROLLED_TO_END,(function(){t.publish(P.SCROLLED_TO_END)}),this)},i.prototype.OR=function(){var t=this,i=this.cR;i.on(w.StartScreenEvent.UI_INTERACT,(function(i){t.IR(i)}),this),i.on(w.StartScreenEvent.START_SCREEN_CLICK,(function(){t.publish(P.START_SCREEN_CLICK)}),this)},i.prototype.PN=function(){var t=this;this.CN.on(g.OpssEvent.VISIBILITY_CHANGED,(function(i,n){t.publish(P.OPSS_VISIBILITY_CHANGED,i,n)}),this)},i.prototype.Ny=function(){return this.iy.playlist.getCurrentItem()},i.prototype.JN=function(){this.VN&&this.VN.destroy()},Object.defineProperty(i.prototype,"_f",{get:function(){return this.iy.playbackState},enumerable:!0,configurable:!0}),i}(c.default);i.default=V},FOY8:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("ToqN"),r=n("t8Yn"),h=n("rBpt"),o=n("he5r"),u=n("XevZ"),a=function(){function i(t){this.pI=!1,this.iy=t}return i.prototype.resolve=function(i,n,s){var e=this;if(this.iy.playlistId||this.iy.relatedVideoId){var r=2,h=this.jR(i),o=function(t){e.pI||e.EI(t,(function(t,i){t||!i?(t=t||"",e.wI(null,null,u.getErrorCode(),t,n,s)):(n.onComplete(i),s&&s())}))},a=function(t,i,c){e.pI||(r>0?(r--,e.OI(h,o,a)):e.wI(null,null,u.getErrorCode(t,i,c),t.message,n,s))};this.OI(h,o,a)}else t((function(){e.wI(null,null,u.getErrorCode(),"No playlist and video id",n,s)}))},i.prototype.cancel=function(){this.pI=!0},i.prototype.OI=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n})},i.prototype.EI=function(t,i){try{var n=JSON.parse(t),s=n&&n.channel&&n.channel.result&&n.channel.result[0]&&n.channel.result[0].videos;if(!s)return void i("No playlist items");i(null,s.map((function(t){var i=t.id;return{mimetype:r.MediaItemInterfaces.MediaItemMimeType.SAPI,id:i}})))}catch(t){i(t.message)}},i.prototype.jR=function(t){var i=this.iy,n=i.config||{},r=n.rapidConfig&&n.rapidConfig.pageParams||{},h={video_uuid:i.relatedVideoId||"",channel_id:t.playlistId||"",channel_alias:"",count:t.count||o.PLAYLIST_COUNT_PER_PAGE,start:t.start||0,dev_type:e.userAgent.mobile?"smartphone":"desktop",offnetwork:i.offNetwork,site:n.site||"",region:n.region||"",lang:n.lang||"",expn:n.expName||"",expb:n.expBucket||"",vp:0,image_sizes:o.PLAYLIST_THUMB_DIMENSION,ssl:!0,"context.json":""};return r&&(h["context.json"]=JSON.stringify({pt:r.pt||"",pct:r.pct||"",pstcat:r.pstcat||"",p_sec:r.p_sec||"",p_subsec:r.p_subsec||"",pstaid_p:r.pstaid_p||"",ticker:r.ticker||"",sport:r.sport||""})),i.pblob&&(h.pblob=i.pblob),"//video-api.yql.yahoo.com/v1/video/alias/channels/wf-channel=related-videos?"+s.stringify(h)},i.prototype.wI=function(t,i,n,s,e,r){var h={code:n,message:s,group:t||void 0,category:i||void 0};e.onError(h),r&&r(h)},i}();i.default=a}).call(this,n("URgk").setImmediate)},FXl5:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.ERR_RESTRICTED_NETWORK_TYPE="Due to rights restrictions, this live stream is only available on cellular data. Turn off wifi to watch.",t.ERR_DRM_UNSUPPORTED_NETWORK_WIFI="Due to license restrictions, this video cannot be played over WiFi on your device. To view this video, turn off WiFi and use your cellular data connection instead.",t.ERR_TITLE_CANNOT_PLAY_VIDEO="Cannot Play Video",t}();i.default=s},GX4R:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("ToqN"),h=n("lHkY"),o=n("O/dN"),u=n("oIMU"),a=n("oIMU"),c=n("mczr"),f=n("WSjl"),l=n("1mKx"),v=n("R+G7"),d=n("1get"),p=n("v5jO"),m=n("fLR+"),b=n("+Ojf"),y=n("+NrX"),g=n("kfTt"),w=[1,5],S=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.QI=s.capabilities[c.RendererType.HTML5_RAW],e.Ly(),(r.userAgent.desktop||r.userAgent.mobile&&v.default.hasNativeAutoplaySupport)&&(e._b=!0),e.NR=new g.default,e.NR.on(g.RebufferingEvent.WAITING,e.hI,e),e.NR.on(g.RebufferingEvent.SEG_INFO_AVAILABLE,e.RR,e),e}return e(i,t),i.canUse=function(){return!r.userAgent.tv},i.prototype.destroy=function(){this.kR&&this.kR.destroy(),t.prototype.destroy.call(this)},i.prototype.play=function(t){if(void 0===t&&(t=0),this.ended=!1,this.node){if(this.ay)return this.publish(c.RendererEvent.ERROR,this.ay),void(this.ay=null);if(this.ZT){if(!v.default.autoplaySupported){if(r.userAgent.ios){var i=this.node.src;this.node.src="",this.node.load(),this.node.src=i}r.userAgent.mobile&&this.node.load()}}else{var n=this.Ny(),s=isNaN(this.node.duration)?n&&n.duration:this.node.duration;s||(s=0),m.isNumber(t)&&t>0&&t<s&&(this.node.currentTime=t)}this.ZT=!1,this.ty.publish(a.PROFILE_START,u.METRICS.STREAM_PLAY_TO_RENDER),this.Ey(),this.LR||(this.NR.publishWaitingEvent(!0),this.LR=!0)}},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){void 0===i&&(i=0),this.Ly(),this.Py=b.default.getPlaybackMode(t);var n=t.streams||[],s=!1,e=null;this.DR=n,this.CR=n.slice(0),this.NR.init(this.node),(r.userAgent.safari>=6||r.userAgent.tv)&&n.forEach((function(t){t.format&&t.format.indexOf("m3u8")>-1&&(t.isPrimary||t.is_primary||!e)&&(e=t,s=!0)}));var h=[];if(s){if(e)return this.PR(e,i),this.Ty=t,!0}else{n.forEach((function(t){h.push(parseInt(t.videoMetadata.bitrate+"",10))})),h=h.sort(),this.xR=new l.default(this.node,h);var o=this.xR.getTargetBitrate();if(e=this.UR(o))return this.PR(e,i),this.VR(e),this.iy.mp4Abr&&h.length>1&&(this.BR=this.on(c.RendererEvent.TIMEUPDATE,this.F_,this),this.FR=0),this.Ty=t,!0}return!1},i.prototype.setQuality=function(t){this.zR(t.stream.url),this.VR(t.stream)},i.prototype.retryStreams=function(t){var i=this,n=this.sE;if(n&&this.HR<=2)window.setTimeout((function(){i.YR(n,t)}),1e3*w[this.HR-1]);else{this.HR=0;var s=this.CR.indexOf(n);if(this.CR.splice(s,1),0===this.CR.length)return n;var e=p.default.findStreamByProperty(this.CR,p.default.BITRATE,this.xR.getTargetBitrate(),this.QI);this.YR(e,t)}return null},i.prototype.stopMedia=function(){this.node.removeAttribute("src"),this.node.load()},i.prototype.bindCustomEvents=function(){},i.prototype.unbindCustomEvents=function(){},i.prototype.unbindPlaybackEvents=function(){},i.prototype.suspendStreaming=function(){this.stopMedia()},i.prototype.resumeStreaming=function(){this.ty.publish(a.LIVE_RELOAD_MEDIA)},i.prototype.setAudioLanguage=function(t){if(this.node&&this.node.audioTracks&&this.node.audioTracks.length){for(var i,n=-1,s=0;s<this.node.audioTracks.length;s++)(i=this.node.audioTracks[s]).enabled=!1,i.label===t&&-1===n&&(n=s);n>-1&&(this.node.audioTracks[n].enabled=!0)}},i.prototype.my=function(t,i){var n=this;if(this.node)switch(t===c.NativeVideoEvent.PLAYING&&this.ty.publish(a.PROFILE_END,[u.METRICS.STREAM_PLAY_TO_RENDER,u.METRICS.STREAM_REQUEST_TO_RENDER]),t){case c.NativeVideoEvent.TIMEUPDATE:this.NR.playbackStuck||(this.GR||(this.GR=!0,this.publish(c.RendererEvent.PLAYING)),this.seeking&&(this.publish(c.RendererEvent.SEEKED,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.seeking=!1));var s=this.node.currentTime;if(r.userAgent.android){if(!this.WR&&r.userAgent.chrome<33&&s>1&&s<2)(d=this.Ny())&&d.isLive()?(this.node.pause(),this.Ey()):this.seek(0),this.WR=!0;!this.qR&&r.userAgent.androidVersion<=4.4&&this.node.addEventListener("webkitfullscreenchange",(function(){if(n.node){var t=n.node.currentTime;n.qR=!0,n.node.load();var i=n.on(c.RendererEvent.LOADEDMETADATA,(function(){if(n.node){n.Ey();var s=n.Ny();s&&s.isLive()&&(n.node.currentTime=parseInt(t+"",10)),n.removeEventListener(c.RendererEvent.LOADEDMETADATA,i)}}),n)}}),!1)}this.XR||this.NR.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.QR=this.node.currentTime;break;case c.NativeVideoEvent.SEEKING:this.seeking=!0,this.NR.onSeeking(),this.XR||this.NR.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.QR=this.node.currentTime;break;case c.NativeVideoEvent.SEEKED:this.XR?this.ZR():this.NR.playbackStuck||(this.seeking=!1,this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered})),this.QR=this.node.currentTime;break;case c.NativeVideoEvent.ERROR:var e=this.node.error,h=this.Oy(e),f=this.CR.length<=1&&this.HR>=2,l=o.E_WARNING;f&&(l=o.E_PLAYER);var v=b.default.createErr(o.ErrorGroup.Streaming,this._f,l,h,null,this.node.src);if(this.Py!==c.PlaybackMode.VIDEO){v.errorType=o.E_PLAYER,this.publish(c.RendererEvent.ERROR,v);break}if(parseInt(v.subcategory,10)>=303&&parseInt(v.subcategory,10)<=308){this.HR++,f||this.ty.publish(a.WARNING,v);var d,p=null;return(p=(d=this.Ny())&&!d.isLive()?this.retryStreams(this.QR):this.retryStreams(0))?void b.default.getUrlStatus(p.url,(function(t){var i,s=o.PLAYER_CODES;401===t?i=s.E_NATIVE_UNAUTHORIZED_URL:404===t&&(i=s.E_NATIVE_URL_NOT_FOUND),v.subcategory=i,v.errorType=o.E_PLAYER,n.publish(c.RendererEvent.ERROR,v)})):void 0}v.errorType=o.E_PLAYER,this.publish(c.RendererEvent.ERROR,v);break;case c.NativeVideoEvent.ENDED:this.ended=!0,this.WR=!1,this.NR.onEnded(),this.NR.playbackStuck&&this.NR.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.LOADEDDATA:if(this.XR){this.JR();break}this.ty.publish(a.PROFILE_END,u.METRICS.LOAD_TO_LOADED_DATA),this.publish(i),this.node.audioTracks&&this.node.audioTracks.length>1&&this.KR();break;case c.NativeVideoEvent.PAUSE:if(this.ended||this.node.ended)break;if(this.seeking)break;if(!this.node.paused)break;this.NR.playbackStuck&&this.NR.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.PLAY:case c.NativeVideoEvent.PLAYING:if(this.XR){t===c.NativeVideoEvent.PLAYING&&this.$R();break}this.NR.playbackStuck||(this.GR=t===c.NativeVideoEvent.PLAYING,this.publish(i));break;case c.NativeVideoEvent.WAITING:case c.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype._k=function(t,i){return t.indexOf(i)>-1},i.prototype.tL=function(t,i){return this._k(t,"mp4")&&this._k(i,"m3u8")||this._k(t,"m3u8")&&this._k(i,"mp4")},i.prototype.Ly=function(){this.XR=!1,this.iL="",this.sE=null,this.HR=0,this.CR=[],this.nL=null,this.LR=!1,this.QR=0,this.GR=!1,this.Ty=null,this.Py=c.PlaybackMode.VIDEO,this.WR=!1,this.qR=!1,this.FR=0,this.BR&&(this.removeEventListener(c.RendererEvent.TIMEUPDATE,this.BR),this.BR=null),this.seeking=!1,this.ended=!1},i.prototype.sL=function(){var t=null;if(this.DR)for(var i=0,n=this.DR;i<n.length;i++){var s=n[i];if(s.isPrimary){t=s;break}}return t},i.prototype.UR=function(t){var i=this.sL();return i||(i=p.default.findStreamByProperty(this.DR,"bitrate",t,this.QI)),!i&&this.DR&&this.DR.length>0&&(i=this.DR[0]),i},i.prototype.F_=function(t){if(t-this.FR>10){this.FR=t;var i=this.UR(this.xR.getRecommendedBitrate());i&&(this.zR(i.url),this.VR(i))}},i.prototype.VR=function(t){this.xR&&(this.xR.currentBitrate=t.videoMetadata.bitrate),this.ty.publish(a.PLAYBACK_INFO,{currentStreamBitrate:t.videoMetadata.bitrate,qualityLevels:this.DR.length})},i.prototype.PR=function(t,i,n){var s=this;if(this.node){var e=this.Ny();if(e.license&&e.license.isDrm&&!v.default.drmSupported){var l=void 0,p=o.INFO_CODES;return r.userAgent.ios&&r.userAgent.iosVersion<11.2||r.userAgent.android&&!r.userAgent.chrome?l=p.E_DRM_UNSUPPORTED_OS:r.userAgent.ios&&!r.userAgent.safari&&(l=p.E_DRM_UNSUPPORTED_BROWSER),void this.ty.publish(a.INFO,b.default.createErr(o.ErrorGroup.Streaming,this._f,o.E_INFO,l,null,this.node.src))}if(r.userAgent.safari&&(this.kR||(this.kR=new h.default(this.node,t.fairplayCertificatePath,this.eL.bind(this),this.reportError.bind(this)))),this.ended=!1,this.WR=!1,this.node.src!==t.url||n){if(r.userAgent.iphone&&Object.prototype.hasOwnProperty.call(this.node,"webkitDisplayingFullscreen")&&!this.node.webkitDisplayingFullscreen&&t.format&&this.tL(t.format,this.iL)){var m=this.node.parentNode;this.destroy(),m&&m.appendChild(this.create())}if(r.userAgent.android&&t.live&&(r.userAgent.chrome&&r.userAgent.chrome<30||!d.default.isAndroidVersionAbove4())){var y=b.default.createErr(o.ErrorGroup.Restriction,this._f,o.E_INFO,o.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED);return void this.ty.publish(a.INFO,y)}if(this.ly(),this.ty.publish(a.PROFILE_START,u.METRICS.STREAM_REQUEST_TO_RENDER),this.node.src=t.url,i)var g=this.on(c.RendererEvent.LOADEDMETADATA,(function(){s.node&&(s.node.currentTime=i),s.removeEventListener(c.RendererEvent.LOADEDMETADATA,g)}),this);this.ZT=!0,this.iL=t.format||"",this.sE=t,this.Py===c.PlaybackMode.VIDEO&&this.ty.publish(a.PROFILE_START,u.METRICS.LOAD_TO_LOADED_DATA),r.userAgent.mobile?v.default.hasNativeAutoplaySupport&&this.node.load():(this.node.load(),this.iy.getState()===f.States.VIDEO&&this.play())}}},i.prototype.rL=function(){if(!this.node)return{};var t=this.node.videoWidth/this.node.videoHeight,i=this.node.clientWidth,n=this.node.clientHeight,s=0,e=0;return i/n>t?(e=parseInt(n.toFixed(2),10),s=parseInt((t*n).toFixed(2),10)):(s=parseInt(i.toFixed(2),10),e=parseInt((i/t).toFixed(2),10)),{width:s,height:e,left:Math.max((i-s)/2,0),top:Math.max((n-e)/2,0)}},i.prototype.JR=function(){this.seek(this.wM)},i.prototype.eL=function(){this.iy.isDrmAvailable=!0,this.iy.drmSystem="fairplay"},i.prototype.ZR=function(){if(this.node){this.Ey();var t=this.hL.parentNode;t&&t.removeChild(this.hL)}},i.prototype.$R=function(){this.publish(c.CustomRendererEvent.SRC_SWITCHED),this.XR=!1},i.prototype.zR=function(t,i){if(this.node){var n=this.node.clientWidth,s=this.node.clientHeight;if(this.node.src===t)return this.publish(c.CustomRendererEvent.SRC_SWITCHING),void this.publish(c.CustomRendererEvent.SRC_SWITCHED);this.XR=!0,this.node.pause(),this.wM=this.node.currentTime;var e=document.createElement("canvas");this.hL=e,e.className="vp-switching-canvas",e.width=n,e.height=s;var r=this.rL();e.style.cssText="width:"+r.width+"px;height:"+r.height+"px;left:"+r.left+"px;top:"+r.top+"px";var h=this.node.parentNode;h&&h.appendChild(e);var o=e.getContext("2d");o&&o.drawImage(this.node,0,0,n,s),this.publish(c.CustomRendererEvent.SRC_SWITCHING),this.node.src=t}},i.prototype.YR=function(t,i){this.PR(t,i,!0),this.VR(t)},i.prototype.KR=function(){if(this.node&&this.node.audioTracks&&!(this.node.audioTracks.length<2)){var t=Array.prototype.slice.call(this.node.audioTracks).map((function(t){return{name:t.label,language:t.language,selected:t.enabled}})),i=this.Ny();i&&(i.setMultiLanguages(t),this.ty.publish(a.MULTI_LANGUAGES_AVAILABLE))}},i.prototype.hI=function(t){t.value&&(this.GR=!1),t.ignoreBuffering=t.ignoreBuffering||this.seeking,this.publish(c.RendererEvent.WAITING,t)},i.prototype.RR=function(t){this.ty.publish(a.SEG_INFO_AVAILABLE,t)},i.type=c.RendererType.HTML5_RAW,i}(y.default);i.default=S},GYWy:function(t,i,n){(function(t,s){var e;!function(r){i&&i.nodeType,t&&t.nodeType;var h="object"==typeof s&&s;h.global!==h&&h.window!==h&&h.self;var o,u=2147483647,a=/^xn--/,c=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,d=String.fromCharCode;function p(t){throw new RangeError(l[t])}function m(t,i){for(var n=t.length,s=[];n--;)s[n]=i(t[n]);return s}function b(t,i){var n=t.split("@"),s="";return n.length>1&&(s=n[0]+"@",t=n[1]),s+m((t=t.replace(f,".")).split("."),i).join(".")}function y(t){for(var i,n,s=[],e=0,r=t.length;e<r;)(i=t.charCodeAt(e++))>=55296&&i<=56319&&e<r?56320==(64512&(n=t.charCodeAt(e++)))?s.push(((1023&i)<<10)+(1023&n)+65536):(s.push(i),e--):s.push(i);return s}function g(t){return m(t,(function(t){var i="";return t>65535&&(i+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),i+=d(t)})).join("")}function w(t,i){return t+22+75*(t<26)-((0!=i)<<5)}function S(t,i,n){var s=0;for(t=n?v(t/700):t>>1,t+=v(t/i);t>455;s+=36)t=v(t/35);return v(s+36*t/(t+38))}function E(t){var i,n,s,e,r,h,o,a,c,f,l,d=[],m=t.length,b=0,y=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),s=0;s<n;++s)t.charCodeAt(s)>=128&&p("not-basic"),d.push(t.charCodeAt(s));for(e=n>0?n+1:0;e<m;){for(r=b,h=1,o=36;e>=m&&p("invalid-input"),((a=(l=t.charCodeAt(e++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:36)>=36||a>v((u-b)/h))&&p("overflow"),b+=a*h,!(a<(c=o<=w?1:o>=w+26?26:o-w));o+=36)h>v(u/(f=36-c))&&p("overflow"),h*=f;w=S(b-r,i=d.length+1,0==r),v(b/i)>u-y&&p("overflow"),y+=v(b/i),b%=i,d.splice(b++,0,y)}return g(d)}function O(t){var i,n,s,e,r,h,o,a,c,f,l,m,b,g,E,O=[];for(m=(t=y(t)).length,i=128,n=0,r=72,h=0;h<m;++h)(l=t[h])<128&&O.push(d(l));for(s=e=O.length,e&&O.push("-");s<m;){for(o=u,h=0;h<m;++h)(l=t[h])>=i&&l<o&&(o=l);for(o-i>v((u-n)/(b=s+1))&&p("overflow"),n+=(o-i)*b,i=o,h=0;h<m;++h)if((l=t[h])<i&&++n>u&&p("overflow"),l==i){for(a=n,c=36;!(a<(f=c<=r?1:c>=r+26?26:c-r));c+=36)E=a-f,g=36-f,O.push(d(w(f+E%g,0))),a=v(E/g);O.push(d(w(a,0))),r=S(n,b,s==e),n=0,++s}++n,++i}return O.join("")}o={version:"1.4.1",ucs2:{decode:y,encode:g},decode:E,encode:O,toASCII:function(t){return b(t,(function(t){return c.test(t)?"xn--"+O(t):t}))},toUnicode:function(t){return b(t,(function(t){return a.test(t)?E(t.slice(4).toLowerCase()):t}))}},void 0===(e=function(){return o}.call(i,n,i,t))||(t.exports=e)}()}).call(this,n("YuTi")(t),n("yLpj"))},GZfa:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=n("kjk6"),r=function(){function t(){}return t.prototype.create=function(){return this.node=s.default.render(e,{}),this.node},t.prototype.destroy=function(){var t=this.node;t&&t.parentNode&&t.parentNode.removeChild(t),this.node=null},t}();i.default=r},H0QZ:function(t,i,n){"use strict";var s=n("skmB"),e=i.ValidationError=function(t,i,n,s,e,r){s&&(this.property=s),t&&(this.message=t),n&&(n.id?this.schema=n.id:this.schema=n),i&&(this.instance=i),this.name=e,this.argument=r,this.stack=this.toString()};e.prototype.toString=function(){return this.property+" "+this.message};var r=i.ValidatorResult=function(t,i,n,s){this.instance=t,this.schema=i,this.propertyPath=s.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.disableFormat=n&&!0===n.disableFormat};function h(t,i){return i+": "+t.toString()+"\n"}r.prototype.addError=function(t){var i;if("string"==typeof t)i=new e(t,this.instance,this.schema,this.propertyPath);else{if(!t)throw new Error("Missing error detail");if(!t.message)throw new Error("Missing error message");if(!t.name)throw new Error("Missing validator type");i=new e(t.message,this.instance,this.schema,this.propertyPath,t.name,t.argument)}if(this.throwError)throw i;return this.errors.push(i),i},r.prototype.importErrors=function(t){"string"==typeof t||t&&t.validatorType?this.addError(t):t&&t.errors&&Array.prototype.push.apply(this.errors,t.errors)},r.prototype.toString=function(t){return this.errors.map(h).join("")},Object.defineProperty(r.prototype,"valid",{get:function(){return!this.errors.length}});var o=i.SchemaError=function t(i,n){this.message=i,this.schema=n,Error.call(this,i),Error.captureStackTrace(this,t)};o.prototype=Object.create(Error.prototype,{constructor:{value:o,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var u=i.SchemaContext=function(t,i,n,s,e){this.schema=t,this.options=i,this.propertyPath=n,this.base=s,this.schemas=e};u.prototype.resolve=function(t){return s.resolve(this.base,t)},u.prototype.makeChild=function(t,i){var n=void 0===i?this.propertyPath:this.propertyPath+c(i),e=s.resolve(this.base,t.id||""),r=new u(t,this.options,n,e,Object.create(this.schemas));return t.id&&!r.schemas[e]&&(r.schemas[e]=t),r};var a=i.FORMAT_REGEXPS={"date-time":/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])[tT ](2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])(\.\d+)?([zZ]|[+-]([0-5][0-9]):(60|[0-5][0-9]))$/,date:/^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(3[01]|0[1-9]|[12][0-9])$/,time:/^(2[0-4]|[01][0-9]):([0-5][0-9]):(60|[0-5][0-9])$/,email:/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/,"ip-address":/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,ipv6:/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,uri:/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\s]*$/,color:/^(#?([0-9A-Fa-f]{3}){1,2}\b|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow|(rgb\(\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*,\s*\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\b\s*\))|(rgb\(\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*,\s*(\d?\d%|100%)+\s*\)))$/,hostname:/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,"host-name":/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,alpha:/^[a-zA-Z]+$/,alphanumeric:/^[a-zA-Z0-9]+$/,"utc-millisec":function(t){return"string"==typeof t&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)},regex:function(t){var i=!0;try{new RegExp(t)}catch(t){i=!1}return i},style:/\s*(.+?):\s*([^;]+);?/,phone:/^\+(?:[0-9] ?){6,14}[0-9]$/};a.regexp=a.regex,a.pattern=a.regex,a.ipv4=a["ip-address"],i.isFormat=function(t,i,n){if("string"==typeof t&&void 0!==a[i]){if(a[i]instanceof RegExp)return a[i].test(t);if("function"==typeof a[i])return a[i](t)}else if(n&&n.customFormats&&"function"==typeof n.customFormats[i])return n.customFormats[i](t);return!0};var c=i.makeSuffix=function(t){return(t=t.toString()).match(/[.\s\[\]]/)||t.match(/^[\d]/)?t.match(/^\d+$/)?"["+t+"]":"["+JSON.stringify(t)+"]":"."+t};function f(t,i,n,s){"object"==typeof n?i[s]=d(t[s],n):-1===t.indexOf(n)&&i.push(n)}function l(t,i,n){i[n]=t[n]}function v(t,i,n,s){"object"==typeof i[s]&&i[s]&&t[s]?n[s]=d(t[s],i[s]):n[s]=i[s]}function d(t,i){var n=Array.isArray(i),s=n&&[]||{};return n?(t=t||[],s=s.concat(t),i.forEach(f.bind(null,t,s))):(t&&"object"==typeof t&&Object.keys(t).forEach(l.bind(null,t,s)),Object.keys(i).forEach(v.bind(null,t,i,s))),s}function p(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}i.deepCompareStrict=function t(i,n){if(typeof i!=typeof n)return!1;if(i instanceof Array)return n instanceof Array&&(i.length===n.length&&i.every((function(s,e){return t(i[e],n[e])})));if("object"==typeof i){if(!i||!n)return i===n;var s=Object.keys(i),e=Object.keys(n);return s.length===e.length&&s.every((function(s){return t(i[s],n[s])}))}return i===n},t.exports.deepMerge=d,i.objectGetPath=function(t,i){for(var n,s=i.split("/").slice(1);"string"==typeof(n=s.shift());){var e=decodeURIComponent(n.replace(/~0/,"~").replace(/~1/g,"/"));if(!(e in t))return;t=t[e]}return t},i.encodePath=function(t){return t.map(p).join("")},i.getDecimalPlaces=function(t){var i=0;if(isNaN(t))return i;"number"!=typeof t&&(t=Number(t));var n=t.toString().split("e");if(2===n.length){if("-"!==n[1][0])return i;i=Number(n[1].slice(1))}var s=n[0].split(".");return 2===s.length&&(i+=s[1].length),i}},H8YR:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("mczr"),r=n("fLR+"),h=n("+Ojf"),o=n("vTO9"),u=n("r/m/"),a=n("vYwU"),c=n("iBPZ"),f=function(){function t(t){this.S_=t,this.oL=!1,this.uL=!1,this.aL=[{evt:s.ExternalEvt.VIDEO_REQUEST,cb:this.cL.bind(this,"VIDEO_REQUEST")},{evt:s.ExternalEvt.PLAYBACK_RESUMED,cb:this.cL.bind(this,"PLAYBACK_RESUMED")},{evt:s.ExternalEvt.PLAYBACK_STALLED,cb:this.cL.bind(this,"PLAYBACK_STALLED")},{evt:s.ExternalEvt.CTRL_SEEK,cb:this.cL.bind(this,"CTRL_SEEK")},{evt:s.ExternalEvt.CTRL_VOLUME,cb:this.cL.bind(this,"CTRL_VOLUME")},{evt:s.ExternalEvt.CTRL_PLAYPAUSE,cb:this.cL.bind(this,"CTRL_PLAYPAUSE")},{evt:s.ExternalEvt.CTRL_REPLAY,cb:this.cL.bind(this,"CTRL_REPLAY")},{evt:s.ExternalEvt.CTRL_PLAYREQUEST,cb:this.cL.bind(this,"CTRL_PLAYREQUEST")},{evt:s.ExternalEvt.CTRL_SETTINGS,cb:this.cL.bind(this,"CTRL_SETTINGS")},{evt:s.ExternalEvt.CTRL_CUSTOM_ELEMENT,cb:this.cL.bind(this,"CTRL_CUSTOM_ELEMENT")},{evt:s.ExternalEvt.CONTROLS_AUDIO_CHANGE,cb:this.cL.bind(this,"CONTROLS_AUDIO_CHANGE")},{evt:s.ExternalEvt.THREE_SIXTY_INTERACT,cb:this.cL.bind(this,"THREE_SIXTY_INTERACT")},{evt:s.ExternalEvt.RENDERER_READY,cb:this.cL.bind(this,"RENDERER_READY")},{evt:s.ExternalEvt.ACTIVE_RENDERER_PLAYING,cb:this.cL.bind(this,"ACTIVE_RENDERER_PLAYING")},{evt:s.ExternalEvt.THREE_SIXTY_PIE_INTERACT,cb:this.cL.bind(this,"THREE_SIXTY_PIE_INTERACT")},{evt:s.ExternalEvt.CC_LANGUAGE_CHANGE,cb:this.cL.bind(this,"CC_LANGUAGE_CHANGE")},{evt:s.ExternalEvt.CC_UPDATE_STYLE,cb:this.cL.bind(this,"CC_UPDATE_STYLE")},{evt:s.ExternalEvt.CC_SETTINGS,cb:this.cL.bind(this,"CC_SETTINGS")},{evt:s.ExternalEvt.PLAY_CALLED_AFTER_PREROLL,cb:this.fL},{evt:s.ExternalEvt.PLAY_CALLED_ON_RENDERER,cb:this.cL.bind(this,"PLAY_CALLED_ON_RENDERER")},{evt:s.ExternalEvt.PRELOAD_START,cb:this.cL.bind(this,"PRELOAD_START")},{evt:s.ExternalEvt.PRELOAD_PROGRESS,cb:this.cL.bind(this,"PRELOAD_PROGRESS")},{evt:s.ExternalEvt.PRELOAD_COMPLETE,cb:this.cL.bind(this,"PRELOAD_COMPLETE")},{evt:s.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,cb:this.lL},{evt:s.ExternalEvt.BITRATE_CHANGE,cb:this.vL},{evt:s.ExternalEvt.UI_INTERACT,cb:this.dL},{evt:s.ExternalEvt.CC_UI_TOGGLE,cb:this.pL},{evt:s.ExternalEvt.PLAYER_FULLSCREEN_CHANGE,cb:this.mL},{evt:s.ExternalEvt.PLAYER_INFO,cb:this.bL},{evt:s.ExternalEvt.CMS_API_CALLED,cb:this.yL},{evt:s.ExternalEvt.PLAYER_ERROR,cb:this.gL},{evt:s.ExternalEvt.PLAYER_WARNING,cb:this.wL},{evt:s.ExternalEvt.PLAYBACK_START,cb:this.SL},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.EL},{evt:s.ExternalEvt.AD_METRICS,cb:this.OL}],this.S_&&(this.iy=this.AL(this.S_),this._L=new a.default(this.S_,this.iy),this.TL={},this.sy())}return t.prototype.destroy=function(){this.ML("destroy"),this.S_.removeEventListeners(this.TL),this._L.destroy(),this.iy.destroy(),this.TL={}},t.prototype.SL=function(t){var i=this.S_.getPlaybackStartDto();t.ad=this.oL?1:0,t.rsm=i.isResume||"",t.pdtl=this.iy.programDateTimeLatency,this.IL(t,i),this.jL(t,o.BEACONS.PLAYBACK_START),this.NL(t)},t.prototype.fL=function(t){t.ad=this.oL?1:0,this.cL("PLAY_CALLED_AFTER_PREROLL",t)},t.prototype.AL=function(t){return new u.default(t)},t.prototype.OL=function(t,i){if(t&&t.evt){t.evt=t.evt.toLowerCase(),"ad_dlv"===t.evt&&(this.oL=!0,this.IL(i,this.S_.getPlaybackStartDto())),this.iy.adParams=t;for(var n=["string","number","boolean","undefined"],s=0,e=Object.getOwnPropertyNames(t);s<e.length;s++){var h=e[s];(n.indexOf(typeof t[h])>=0||null===t[h])&&r.isNullOrUndefined(i[h])&&(i[h]=t[h])}i.V_sec="pb",this.NL(i),"ad_comp"===t.evt&&(this.iy.adParams=null)}},t.prototype.sy=function(){var t=this;window.addEventListener("unload",this.RL.bind(this)),this.S_.addEventListener(s.ExternalEvt.VIDEO_REQUEST,this.kL,this),this._L.addEventListener(a.ProgressEvent.VIDEO_PROGRESS,this.LL,this),this.aL.forEach((function(i){t.TL[i.evt]=t.S_.addEventListener(i.evt,t.my.bind(t,i),t)}))},t.prototype.my=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var s=i.length-1,e=i[s]||{};this.iy.update(e);var h=this.iy.getCommonParams(),o=r.isObject(i[s])?Array.prototype.slice.call(i,0,s):i;t.cb.apply(this,o.concat([h]))},t.prototype.cL=function(t){for(var i=this,n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];var e=t&&o.BEACONS[t]||null,r=n[n.length-1];if(e){var h=Array.prototype.slice.call(n,0,n.length-1),u=e.payloadParams;if(h.length&&u&&u.length===h.length)for(var a=0;a<h.length;a++)r[u[a]]=h[a].toString();else if(u&&u.length)return;e.params&&e.params.forEach((function(t){r[t.key]=i.iy[t.value]})),this.jL(r,e),this.NL(r)}},t.prototype.NL=function(t){this.DL(t);var i="https://bats.video.yahoo.com/p?"+h.default.querystring(t,"&","=",(function(t){return encodeURIComponent(t).replace(/[!'()]/g,escape).replace(/\*/g,"%2A")}));c.default.sendImageBeacon(i),this.iy.onBeaconSent()},t.prototype.DL=function(t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&t[i]===this.iy.SKIP_PARAM_IN_BEACON&&delete t[i]},t.prototype.kL=function(t,i){this.oL=!1,this.uL=!1,this.iy.onVideoRequest(t,i)},t.prototype.vL=function(t,i,n){this.jL(n,o.BEACONS.BITRATE_CHANGE),n.value=t.toString(),n.value_e=this.iy.bitrate,n.reason=i.reason||"",n.fr=i.newFrameRate||"",n.fr_old=i.oldFrameRate||"",this.NL(n),this.iy.bitrate=t},t.prototype.lL=function(t,i){t.isInitialEvt||(this.jL(i,o.BEACONS.AIRPLAY_CONNECTION_STATE_CHANGE),i.value=t.connected?"1":"0",this.NL(i))},t.prototype.dL=function(t,i){this.jL(i,o.BEACONS.UI_INTERACT),i.evt=["ui_pl_nxt_clk","ui_pl_nxt_hvr","ui_pl_scrl","ui_pl_thmb_clk"].indexOf(t.srcElement)>-1?"ui_pl":i.evt,i.V_slk=t.srcElement,this.NL(i)},t.prototype.pL=function(t,i,n){this.jL(n,o.BEACONS.CC_TOGGLE),n.value=t?"1":"0",this.NL(n)},t.prototype.mL=function(t,i){this.jL(i,o.BEACONS.FULLSCREEN_CHANGE),i.value=t?"ON":"OFF",this.NL(i)},t.prototype.bL=function(t,i){this.jL(i,o.BEACONS.PLAYER_INFO),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",this.NL(i)},t.prototype.yL=function(t,i){var n=c.default.prepareApiInfo(t.url,t.perfObj);this.jL(i,o.BEACONS.CMS_API_CALLED),i.source=n.source||"na",i.url=n.url||"",i.latency=n.latency||"",i.http_code=n.http_code||"na",i.resp_len=n.resp_len||"na",i.instrument=n.instrument||"",i.perf_info=n.perfInfo||"",i.perf_stack=n.perfStack||"",this.NL(i)},t.prototype.gL=function(t,i){t.isRecoverable||(this.jL(i,o.BEACONS.PLAYER_ERROR),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",i.dur=Math.round(this._L.totalWatchTime)||"",this.NL(i),this.ML("error"))},t.prototype.wL=function(t,i){this.jL(i,o.BEACONS.PLAYER_WARNING),i&&(i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||""),this.NL(i)},t.prototype.EL=function(t,i){this.CL(o.BEACONS.PLAYBACK_COMPLETE,i)},t.prototype.RL=function(){this.ML("unload")},t.prototype.ML=function(t){this.iy.updateTs(Date.now());var i=this.iy.getCommonParams();i&&(i.ext_resn=t||"na"),this.CL(o.BEACONS.INCOMPLETE_EXIT,i)},t.prototype.CL=function(t,i){this.uL||(this.uL=!0,this.jL(i,t),i.pdtl=this.iy.programDateTimeLatency,i.alang=this.iy.audioLanguage,this.iy.playbackMode===e.PlaybackMode.AD?this.PL(i):this._L.updatePlaybackStats(i),this.NL(i))},t.prototype.LL=function(t){var i=this.iy.getCommonParams();this.jL(i,t),this._L.updatePlaybackStats(i),this.NL(i)},t.prototype.xL=function(t){return t&&r.isNumber(t.timeDiff)&&t.timeDiff.toString()||""},t.prototype.UL=function(t,i){return t&&t.startTime&&i&&(i+t.startTime).toString()||""},t.prototype.jL=function(t,i){t&&i&&(t.evt=i.evt,t.V_sec=i.type)},t.prototype.PL=function(t){var i=this.S_.getCurrentTime(),n=this.iy.adParams&&this.iy.adParams.pos,s=this.iy.adParams&&this.iy.adParams.dur||null;t.pos=n||"ad",t.dur=i>0?Math.floor(i):0,t.dur_d=r.isNumber(s)&&i>s&&Math.floor(i-s)||0,t.buff_info="",t.buf_dur=0},t.prototype.IL=function(t,i){t.apallwd=i.autoPlayAllowed||"",t.jsdt=this.iy.jsdt,t.cssdt=this.iy.cssdt,t.req_type=this.iy.requestType||"",t.req_action=this.iy.requestAction||"",t.apl=this.xL(i.autoPlayLatency),t.s_apl=this.UL(i.autoPlayLatency,i.initTime),t.ucl=this.xL(i.clickToPlayLatency),t.tpb=this.xL(i.playbackStartLatency),t.s_tpb=this.UL(i.playbackStartLatency,i.initTime),t.tmeta_call=this.xL(i.cmsLatency),t.s_tsapic=this.UL(i.cmsLatency,i.initTime),t.tsrc_call=this.xL(i.cmsSourceLatency),t.s_tssrcapic=this.UL(i.cmsSourceLatency,i.initTime),t.tadp=this.xL(i.adPluginLatency),t.s_tadpc=this.UL(i.adPluginLatency,i.initTime)},t}();i.default=f},"HNE+":function(t,i,n){"use strict";t.exports=e;var s=n("RwmF");function e(t,i){if(!t||isNaN(t))throw new Error("Invalid Argument: No delay");s.call(this,this.constructor.name),this.delay=Math.max(t,20),this.repeatCount=i>0?i:Number.POSITIVE_INFINITY,this.currentCount=0,this.running=!1,this.startTime=0,this.qy=null,this.Xy={},this.Sy={}}n("/iNa").inherits(e,s),e.prototype.destroy=function(){this.reset(),this.Xy={},s.prototype.removeEventListeners.call(this,this.Sy),s.prototype.destroy.call(this)},e.prototype.addEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");var n=s.prototype.addEventListener.call(this,"timedOut",t,i);this.Sy.timedOut=n},e.prototype.removeEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");s.removeEventListeners(this.Sy)},e.prototype.start=function(){var t=this;t.qy||t.running||(t.qy=setInterval((function(){t.currentCount++,t.currentCount>=t.repeatCount&&t.stop(),t.publish("timedOut"),t.startTime=Date.now()}),t.delay),t.startTime=Date.now(),t.running=!0)},e.prototype.stop=function(){this.qy&&this.running&&(clearInterval(this.qy),this.qy=null,this.running=!1,this.startTime=0)},e.prototype.reset=function(){this.stop(),this.currentCount=0,this.startTime=0}},HakF:function(t,i,n){"use strict";t.exports=e;var s=n("bh81");function e(){this.VL=[],this.VL.push(new s.BandwidthRule),this.VL.push(new s.BufferRule),this.VL.push(new s.ResolutionRule)}e.prototype.destroy=function(){this.VL=[]},e.prototype.getNextStreamIndex=function(t,i){if(!s.validateAbrInput(t))return-1;if(i)return(new s.StartupRule).getNextStreamIndex(t);var n=Number.MAX_VALUE;return this.VL.forEach((function(i){var s=i.getNextStreamIndex(t);s<0||(n=Math.min(n,s))})),n===Number.MAX_VALUE?-1:n}},HdM5:function(t,i,n){"use strict";var s=n("fcYp"),e=n("vtmz"),r=n("h2IM");t.exports.create=function(t,i,n){if(!t||!i||"function"!=typeof t.create)return null;var h;switch(i){case"mp4":h=r;break;case"aac":h=e;break;default:case"ts":h=s}return t.create(h,n)}},HyJy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("38mS"),r=function(){function t(){}return t.getWindow=function(){return window},t.fixProtocol=function(t){return s.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.once=function(t){var i=this,n=function(){var s=Array.prototype.slice.call(arguments);return n.called||(n.called=!0,n.value=t.apply(i,s)),n.value};return n.called=!1,n},t.stringifyPrimitive=function(t){return e.isString(t)?t:e.isBoolean(t)||e.isNumber(t)&&isFinite(t)?t.toString():""},t}();i.default=r},Hyvp:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("vdbb");i.create=function(t,i,n){var e=s[t+"Command"];return e?new e(i,n):null}},I1BE:function(t,i){t.exports=function(t){var i=[];return i.toString=function(){return this.map((function(i){var n=function(t,i){var n=t[1]||"",s=t[3];if(!s)return n;if(i&&"function"==typeof btoa){var e=(h=s,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(h))))+" */"),r=s.sources.map((function(t){return"/*# sourceURL="+s.sourceRoot+t+" */"}));return[n].concat(r).concat([e]).join("\n")}var h;return[n].join("\n")}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var s={},e=0;e<this.length;e++){var r=this[e][0];"number"==typeof r&&(s[r]=!0)}for(e=0;e<t.length;e++){var h=t[e];"number"==typeof h[0]&&s[h[0]]||(n&&!h[2]?h[2]=n:n&&(h[2]="("+h[2]+") and ("+n+")"),i.push(h))}},i}},IWBN:function(t,i,n){"use strict";function s(){try{this.BL=this.getWindow()}catch(t){this.BL=null}this.FL=!1,this.BL&&this.BL.performance&&"function"==typeof this.BL.performance.clearResourceTimings&&"function"==typeof this.BL.performance.getEntriesByName&&(this.FL=!0,this.BL.performance.onresourcetimingbufferfull=this.zL.bind(this))}t.exports=s,i.entryTypes=["mark","measure","navigation","frame","resource","server"],s.prototype.getWindow=function(){return window},s.prototype.zL=function(){this.FL&&this.BL.performance.clearResourceTimings()},s.prototype.getPerformanceTiming=function(t,n,s){var e,r={};if(!t||!n&&!s)return null;if(s&&i.entryTypes.indexOf(s)<0)return null;if(!this.FL)return null;if(!(e=n?this.BL.performance.getEntriesByName(n,s||void 0):this.BL.performance.getEntriesByType(s))||!e.length)return null;var h=e[e.length-1];return t.forEach((function(t){r[t]=h[t]})),r},s.prototype.destroy=function(){this.FL&&this.BL&&(this.BL.performance.onresourcetimingbufferfull=null),this.BL=null,this.FL=!1}},IlcD:function(t,i,n){"use strict";var s=n("sLCx"),e={wifi:!0,broadband:!0,dsl:!0,cable:!0};function r(){if("undefined"!=typeof navigator)return(navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection)||{}).type}function h(){if(!s.mobile)return!0;var t=s.android&&s.chrome>=50,i=s.ios&&!s.iosWebView&&s.safari>=10;return t||i}t.exports={getConnectionType:r,isAutoplaySupported:h,isAutoplayAllowed:function(t){return!s.mobile||!(!(t=(r()||t||"").replace(/^cs_/i,"").toLowerCase())||!e[t])&&h()}}},JQCY:function(t,i,n){"use strict";t.exports=u;var s=n("Tavk"),e=n("frbn"),r=n("3kti"),h=s.AACStream,o=s.AVCStream;function u(t,i,n){this.streamType=t,this.streamId=i,this.HL=[],this.YL=!1,this.GL=n,this.WL=null,this.qL=new r,"audio"===t?this.XL=new h(this.GL):"video"===t&&(this.XL=new o(this.GL))}function a(t){this.QL=new e(Uint8Array,t),this.complete=!1}u.prototype.destroy=function(){this.HL=[],this.XL&&(this.XL.destroy(),this.XL=null)},u.prototype.isReady=function(){var t=!!this.XL&&this.XL.ready;return this.YL||t},u.prototype.addPacket=function(t){this.HL.length&&this.ZL(),this.HL.push(new a(t))},u.prototype.append=function(t){var i=this.HL.length;t&&i&&this.HL[i-1].append(t)},u.prototype.endOfSegment=function(){this.YL=!0,this.ZL()},u.prototype.getFrames=function(t){return this.XL?this.XL.getFrames(t):null},u.prototype.getTimedMetadata=function(){return this.WL?this.WL:null},u.prototype.getConfig=function(){return this.XL?this.XL.getConfig():null},u.prototype.ZL=function(){var t=this.HL.length;if(t){var i=this.HL[t-1];i.complete=!0,0===i.parse()&&("id3"===this.streamType?this.WL={payload:this.qL.getID3Payload(i.packetInfo.streamData),pts:this.HL.length&&this.HL[0].packetInfo.pts}:this.XL&&this.XL.readFrames(i),this.HL.pop())}},a.prototype.append=function(t){this.QL&&this.QL.set(t)},a.prototype.parse=function(){if(this.packetInfo={},!this.complete||!this.QL||!this.QL.length)return this.packetInfo.result=-1,-1;if(this.QL.length<6)return this.packetInfo.result=-2,-2;var t=0;if(1!==(this.QL.get(t++)<<16)+(this.QL.get(t++)<<8)+this.QL.get(t++))return this.packetInfo.result=-3,-3;this.packetInfo.streamId=this.QL.get(t++),t+=2,t++;var i=(192&this.QL.get(t++))>>6,n=this.QL.get(t++);return 2!==i&&3!==i||(this.packetInfo.pts=this.JL(this.QL.subArray(t,t+5)),this.packetInfo.dts=this.packetInfo.pts,t+=5,n-=5,3===i&&(this.packetInfo.dts=this.JL(this.QL.subArray(t,t+5)),t+=5,n-=5)),t+=n,this.packetInfo.streamData=this.QL.subArray(t),this.packetInfo.result=0,0},a.prototype.JL=function(t){if(!t||!t.length)return 0;var i=0,n=(14&t[i++])>>>1,s=(t[i++]<<8)+(254&t[i++])>>>1,e=(4&n)>>2,r=2*((n&=3)<<29)+(s<<=15)+((t[i++]<<8)+t[i++]>>>1);return e?-1*Math.pow(2,32)+r:r}},JcWZ:function(t,i,n){t.exports=n("LmRr")},JheV:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.playbackSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/playbackSchema",type:"object",properties:{skipWatchedVideos:{type:"boolean"},bitrate:{default:0,type:"number"},targetBitrate:{type:"number"},disableGPU:{type:"boolean"},quality:{type:"string"},bitrates:{type:"array",items:[{type:"number"}]},desiredBitrate:{default:900,type:"number"},startTime:{type:"number"},conviva:{type:"boolean"},preconnect:{type:"boolean"},abr:{type:"boolean"},protocol:{type:"string"},skipFormats:{type:"array",items:[{type:"string"}]},playInlineVideo:{type:"boolean"},isResume:{type:"boolean"},ignoreEndlist:{type:"boolean"}}}},JqHr:function(t,i,n){"use strict";var s=this&&this.__assign||function(){return(s=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var e=n("ToqN"),r=n("t8Yn"),h=n("rBpt"),o=n("AuZZ"),u=n("he5r"),a=n("c+yx"),c=n("Y4D7"),f={},l=function(){function t(t,i){this._s="",this.or=t,this.if=i,this.KL(),this.offNetwork=a.default.isOffNetwork(),this.$L(t.watchHistory)}return t.prototype.getEventsDto=function(){var t=this.or.rapidConfig||{},i=t.pageParams||{},n=t.clickParams||{},e={pageSpaceId:this.or.pageSpaceId||t&&t.Spaceid||"1111",experienceName:this.or.expName||"",experienceBucket:this.or.expBucket||"",experienceType:this.or.expType||"",cpos:this.or.cpos||"",ccode:this.or.ccode||"",offNetwork:this.offNetwork,site:this.or.site||"",siteAnalytics:this.or.siteAnalytics||"",comscoreC4:this.or.comscoreC4||o.NULL_DEFAULT,region:this.or.region||"",referrer:this.or.referrer||"",lang:this.or.lang||"",pageLatency:this.tD||""},r="strm"===i.sec?n.pstaid:i.pstaid,h={pt:i.pt||"",pd:i.pd||"",pct:i.pct||"",pstcat:i.pstcat||"",p_sec:i.p_sec||"",p_subsec:i.p_subsec||"",ver:i.ver||"",_rid:i._rid||"",pstaid_p:r||"",pkgt:n.pkgt||"",sec:n.sec||this.or.sec||"",subsec:n.subsec||"",rlvtscr:i.rlvtscr||"",vidPos:i.vidPos||""};return s(s({},e),h)},t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"config",{get:function(){return this.or},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"videoRecommendations",{get:function(){return void 0===this.or.videoRecommendations||this.or.videoRecommendations},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.or.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.or.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.or.lang||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"experienceBucket",{get:function(){return this.or.expBucket||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"experienceName",{get:function(){return this.or.expName||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yvapAccountId",{get:function(){return this.or.YVAP&&this.or.YVAP.accountId||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"syndication",{get:function(){return this.or.synd||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cTopic",{get:function(){return this.or.cTopic||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pspid",{get:function(){return this.or.CMS&&this.or.CMS.suppressAdContext?"":this.or.pageSpaceId||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.or.playlist&&this.or.playlist.id||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loop",{get:function(){return this.or.loop||!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.or.continuousPlay||!1},set:function(t){this.or.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"relatedVideoId",{get:function(){var t=this.or.mediaItems;return t&&0!==t.length&&t[0].mimetype===r.MediaItemInterfaces.MediaItemMimeType.SAPI?t[0].id:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistMimetype",{get:function(){return this.or.ui&&this.or.ui.playlist&&this.or.ui.playlist.mimetype||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistItemCount",{get:function(){return this.or.ui&&this.or.ui.playlist&&h.TypeChecker.isNumber(this.or.ui.playlist.numberOfItems)?Math.max(this.or.ui.playlist.numberOfItems,u.PLAYLIST_COUNT_PER_PAGE):u.PLAYLIST_COUNT_PER_PAGE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allowGeoRequest",{get:function(){return this.or.allowGeoRequest||!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"geoData",{get:function(){return this.or.geoData||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"guid",{get:function(){return this._s},set:function(t){this._s=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){return this.or.ui&&this.or.ui.endScreen&&this.or.ui.endScreen.show||!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this.or.skipOnError||u.SkipOnError.NEVER},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return h.TypeChecker.isNumber(this.or.aspectRatio)?this.or.aspectRatio:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"watchHistoryConfig",{get:function(){return this.or.watchHistory},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"watchHistory",{get:function(){return this.iD||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pblob",{get:function(){return h.TypeChecker.isString(this.or.pblob)&&this.or.pblob.length<=512?this.or.pblob:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDockable",{get:function(){var t=this.or.ui&&this.or.ui.docking||{};return!!(t.enableOnScrollDown||t.enableOnScrollUp)&&(!e.userAgent.mobile||!t.mobile||!t.mobile.disable)},enumerable:!0,configurable:!0}),t.prototype.updateGeoConfig=function(t){h.TypeChecker.isBoolean(t.allowGeoRequest)&&(this.or.allowGeoRequest=t.allowGeoRequest);var i=t.geoData;i&&h.TypeChecker.isString(i.latitude)&&h.TypeChecker.isString(i.longitude)&&h.TypeChecker.isString(i.accuracy)?this.or.geoData=i:null===i&&(this.or.geoData=null)},t.prototype.setMediaItemWatched=function(t,i){f[t]={watched:i}},t.prototype.isMediaItemWatched=function(t){return!!f[t]&&!!f[t].watched},t.prototype.KL=function(){window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&(this.tD=(new Date).getTime()-window.performance.timing.navigationStart)},t.prototype.$L=function(t){this.iD=null,t&&t.enabled&&(this.iD=new c.default({watchHistoryEnabled:t.enabled,watchedPeriod:t.watchedPeriod,watchHistoryExpiry:t.expiry},this),this.iD.clearExpired())},t}();i.default=l},"K+58":function(t,i,n){"use strict";function s(){}t.exports=s,s.prototype.destroy=function(){},s.prototype.parse=function(t,i){for(var n=[],s=0;255===t[i];)s+=255,i++;if(s+=t[i],!(++i>=t.length)){for(var e=0;255===t[i];)e+=255,i++;if(e+=t[i],i++,4===s){var r=t[i],h=t[i+1]<<8|t[i+2],o=t[i+3]<<24|t[i+4]<<16|t[i+5]<<8|t[i+6],u=t[i+7];if(181===r&&49===h&&1195456820===o&&3===u){var a=31&t[i+8];i+=9;var c,f,l=0;for(i++;l<a;){if(c=(4&t[i])>>2,f=3&t[i],c&&(0===f||1===f)){var v={fieldType:f,data1:t[i+1],data2:t[i+2]};n.push(v)}i+=3,l++}}}return i+=e,n}}},KCCg:function(t,i){var n,s,e=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function h(){throw new Error("clearTimeout has not been defined")}function o(t){if(n===setTimeout)return setTimeout(t,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(i){try{return n.call(null,t,0)}catch(i){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{s="function"==typeof clearTimeout?clearTimeout:h}catch(t){s=h}}();var u,a=[],c=!1,f=-1;function l(){c&&u&&(c=!1,u.length?a=u.concat(a):f=-1,a.length&&v())}function v(){if(!c){var t=o(l);c=!0;for(var i=a.length;i;){for(u=a,a=[];++f<i;)u&&u[f].run();f=-1,i=a.length}u=null,c=!1,function(t){if(s===clearTimeout)return clearTimeout(t);if((s===h||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(t);try{s(t)}catch(i){try{return s.call(null,t)}catch(i){return s.call(this,t)}}}(t)}}function d(t,i){this.fun=t,this.array=i}function p(){}e.nextTick=function(t){var i=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)i[n-1]=arguments[n];a.push(new d(t,i)),1!==a.length||c||o(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.prependListener=p,e.prependOnceListener=p,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},KUzV:function(t,i,n){"use strict";var s=n("skmB"),e=n("aZDc"),r=n("H0QZ"),h=n("DTfC").scan,o=r.ValidatorResult,u=r.SchemaError,a=r.SchemaContext,c=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(l),this.attributes=Object.create(e.validators)};function f(t){var i="string"==typeof t?t:t.$ref;return"string"==typeof i&&i}c.prototype.customFormats={},c.prototype.schemas=null,c.prototype.types=null,c.prototype.attributes=null,c.prototype.unresolvedRefs=null,c.prototype.addSchema=function(t,i){var n=this;if(!t)return null;var s=h(i||"/",t),e=i||t.id;for(var r in s.id)this.schemas[r]=s.id[r];for(var r in s.ref)this.unresolvedRefs.push(r);return this.unresolvedRefs=this.unresolvedRefs.filter((function(t){return void 0===n.schemas[t]})),this.schemas[e]},c.prototype.addSubSchemaArray=function(t,i){if(i instanceof Array)for(var n=0;n<i.length;n++)this.addSubSchema(t,i[n])},c.prototype.addSubSchemaObject=function(t,i){if(i&&"object"==typeof i)for(var n in i)this.addSubSchema(t,i[n])},c.prototype.setSchemas=function(t){this.schemas=t},c.prototype.getSchema=function(t){return this.schemas[t]},c.prototype.validate=function(t,i,n,e){n||(n={});var r=n.propertyName||"instance",o=s.resolve(n.base||"/",i.id||"");if(!e){(e=new a(i,n,r,o,Object.create(this.schemas))).schemas[o]||(e.schemas[o]=i);var c=h(o,i);for(var f in c.id){var l=c.id[f];e.schemas[f]=l}}if(i){var v=this.validateSchema(t,i,n,e);if(!v)throw new Error("Result undefined");return v}throw new u("no schema specified",i)},c.prototype.validateSchema=function(t,i,n,s){var h,c=new o(t,i,n,s);if("boolean"==typeof i)!0===i?i={}:!1===i&&(i={type:[]});else if(!i)throw new Error("schema is undefined");if(i.extends)if(i.extends instanceof Array){var l={schema:i,ctx:s};i.extends.forEach(this.schemaTraverser.bind(this,l)),i=l.schema,l.schema=null,l.ctx=null,l=null}else i=r.deepMerge(i,this.superResolve(i.extends,s));if(h=f(i)){var v=this.resolve(i,h,s),d=new a(v.subschema,n,s.propertyPath,v.switchSchema,s.schemas);return this.validateSchema(t,v.subschema,n,d)}var p=n&&n.skipAttributes||[];for(var m in i)if(!e.ignoreProperties[m]&&p.indexOf(m)<0){var b=null,y=this.attributes[m];if(y)b=y.call(this,t,i,n,s);else if(!1===n.allowUnknownAttributes)throw new u("Unsupported attribute: "+m,i);b&&c.importErrors(b)}if("function"==typeof n.rewrite){var g=n.rewrite.call(this,t,i,n,s);c.instance=g}return c},c.prototype.schemaTraverser=function(t,i){t.schema=r.deepMerge(t.schema,this.superResolve(i,t.ctx))},c.prototype.superResolve=function(t,i){var n;return(n=f(t))?this.resolve(t,n,i).subschema:t},c.prototype.resolve=function(t,i,n){if(i=n.resolve(i),n.schemas[i])return{subschema:n.schemas[i],switchSchema:i};var e=s.parse(i),h=e&&e.hash,o=h&&h.length&&i.substr(0,i.length-h.length);if(!o||!n.schemas[o])throw new u("no such schema <"+i+">",t);var a=r.objectGetPath(n.schemas[o],h.substr(1));if(void 0===a)throw new u("no such schema "+h+" located in <"+o+">",t);return{subschema:a,switchSchema:i}},c.prototype.testType=function(t,i,n,s,e){if("function"==typeof this.types[e])return this.types[e].call(this,t);if(e&&"object"==typeof e){var r=this.validateSchema(t,e,n,s);return void 0===r||!(r&&r.errors.length)}return!0};var l=c.prototype.types={};l.string=function(t){return"string"==typeof t},l.number=function(t){return"number"==typeof t&&isFinite(t)},l.integer=function(t){return"number"==typeof t&&t%1==0},l.boolean=function(t){return"boolean"==typeof t},l.array=function(t){return Array.isArray(t)},l.null=function(t){return null===t},l.date=function(t){return t instanceof Date},l.any=function(t){return!0},l.object=function(t){return t&&"object"==typeof t&&!(t instanceof Array)&&!(t instanceof Date)},t.exports=c},KZhz:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("8PPl");!function(t){t.PAGE_VISIBILITY_CHANGED="pageVisibilityChanged"}(r=i.VisibilityEvent||(i.VisibilityEvent={}));var u=[{prop:"hidden",name:"visibilitychange"},{prop:"mozHidden",name:"mozvisibilitychange"},{prop:"webkitHidden",name:"webkitvisibilitychange"},{prop:"msHidden",name:"msvisibilitychange"}],a=function(t){function i(i){var n=t.call(this,"VisibilityManager")||this;return n.iy=i,n.nD=null,n.sD="hidden",n.eD=null,n.nD=n.rD(),n}return e(i,t),i.prototype.destroy=function(){this.nD&&(document.removeEventListener(this.nD,this.hD,!1),this.nD=null)},i.prototype.activate=function(){this.nD&&(this.hD=this.hD.bind(this),document.addEventListener(this.nD,this.hD,!1))},i.prototype.rD=function(){var t=u.filter((function(t){return t.prop in document})),i=t&&t[0];return i?(this.sD=i.prop,i.name):null},i.prototype.oD=function(){if(!this.eD){var t=this.iy.playerRootElement&&void 0!==this.iy.playerRootElement.getElementsByClassName&&this.iy.playerRootElement.getElementsByClassName(o.VIDEO_MAIN_ELEMENT_CLASS);this.eD=t&&t.length&&t[0]||null}return document[this.sD]||this.eD&&null===this.eD.offsetParent||!1},i.prototype.hD=function(){this.publish(r.PAGE_VISIBILITY_CHANGED,!this.oD())},i}(h.default);i.default=a},Krh1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.AD_PLAYBACK_START="adStart",t.AD_PLAYBACK_PAUSE="adPause",t.AD_PLAYBACK_RESUME="adResume",t.AD_PLAYBACK_PROGRESS="adProgress",t.AD_PLAYBACK_STOP="adComplete",t.AD_NONE="adNone",t.AD_ERROR="adError",t.PLAYBACK_STARTED="playback-started",t.PLAYBACK_ENDED="playback-ended"}(i.API||(i.API={}))},KtsB:function(t,i,n){"use strict";function s(t){t&&(this.type=t.type,this.id=t.id,this.moduleName=t.moduleName,this.instanceId=t.instanceId,this.funcName=t.funcName,this.timestamp=t.timestamp||Date.now(),this.args=t.args||[],this.argNames=t.argNames||[],this.transferables=t.transferables)}t.exports=s,s.prototype.putParam=function(t,i){i&&(this.args.push(i),this.argNames.push(t||""))},s.prototype.getParam=function(t){if(!t)return null;var i=this.argNames.indexOf(t);return i>=0?this.args[i]:null},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){"__controller"!==n&&(i[n]=t[n])})),i},s.prototype.addMedia=function(){var t;return this.__controller&&(t=this.__controller.model.getMediaDto(),this.putParam("media",t)),t}},KxEA:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=n("vdbb"),r=n("Hyvp"),h=function(){function t(t){for(var i in this.pO=t,this.uD={},this.Sy={},e.CmdName)if(Object.prototype.hasOwnProperty.call(e.CmdName,i)){var n=e.CmdName[i];this.uD[n]={}}}return t.prototype.destroy=function(){this.removeAllCommands(),this.uD={}},t.prototype.executeCommand=function(t,i,n){var s=this.createCommand(t,i,n);return s&&s.execute(),s},t.prototype.createCommand=function(t,i,n){var h;try{(h=r.create(t,i,n))&&(h.pluginManager=this.pO)}catch(t){h=null}if(!h)return null;for(var o in h.key=s.default.guid(),e.CmdEvent)if(Object.prototype.hasOwnProperty.call(e.CmdEvent,o)){var u=e.CmdEvent[o],a="on"+t+u;n[a]&&(this.Sy[u+t+h.key]=h.addEventListener(u,n[a],n))}return this.uD[t][h.key]=h,h},t.prototype.removeCommand=function(t){if(t){var i=this.uD[t.cmdName];if(i[t.key]===t){if(delete i[t.key],t.client)for(var n in e.CmdEvent)if(Object.prototype.hasOwnProperty.call(e.CmdEvent,n)){var s=e.CmdEvent[n],r="on"+t.cmdName+s;t.client[r]&&(t.removeEventListener(s,this.Sy[s+t.cmdName+t.key]),delete this.Sy[s+t.cmdName+t.key])}t.destroy()}}},t.prototype.removeRelatedCommands=function(t){if(Object.prototype.hasOwnProperty.call(this.uD,t)){var i=this.uD[t];for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var s=i[n];s&&this.removeCommand(s)}}},t.prototype.removeAllCommands=function(){for(var t in this.uD)Object.prototype.hasOwnProperty.call(this.uD,t)&&this.removeRelatedCommands(t)},t.prototype.getCommand=function(t){var i=this.uD[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]},t}();i.default=h},LKsC:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("ToqN"),u=n("8PPl"),a=n("oIMU"),c=n("oIMU"),f=n("+Ojf"),l=n("szUk"),v=n("ECHB"),d=u.PLAYLIST_POS.BOTTOM,p=u.PLAYLIST_POS.RIGHT,m=u.PLAYLIST_POS.HIDDEN,b={hidden:200,bottom:540,right:627};function y(t){return f.default.classList(t)}!function(t){t.UI_INTERACT="playlistUiInteract",t.SCROLLED_TO_END="playlistScrolledToEnd"}(r=i.PlaylistEvent||(i.PlaylistEvent={}));var g=function(t){function i(i,n){var s=t.call(this,"PlaylistController")||this;return s.KA=i,s.pO=n,s.tN=i.getRootElement(),s.uN=i.getMainElement(),s.pN=i.getContentNode(),s.iy=i.getModel(),s.ty=i.getEventBus(),s.aD={},s.KI(),s.cD(),s.fD(),s}return e(i,t),i.prototype.destroy=function(){this.vR&&(window.removeEventListener("resize",this.vR),this.vR=null),this.lD&&(this.lD.destroy(),this.lD=null),this.vD(),this.aD&&(this.ty.removeEventListeners(this.aD),this.aD={})},i.prototype.attachUpNextMouseEvents=function(){var t=this;this.dD&&this.dD.addEventListener("mouseover",(function(){y(t.pD).contains("vp-bottom-upnext")||(y(t.pD).add("vp-bottom-upnext"),t.mD.style.top=t.bD()+"px",t.publish(r.UI_INTERACT,{srcElement:"ctrl-next-hover"}),t.publish(r.UI_INTERACT,{srcElement:"ui_pl_nxt_hvr"}))})),this.dD&&this.dD.addEventListener("mouseout",(function(){window.setTimeout((function(){parseInt(window.getComputedStyle(t.yD).zIndex,10)<0&&(y(t.pD).remove("vp-bottom-upnext"),t.mD&&t.mD.removeAttribute("style"))}),100)}))},i.prototype.detachUpNextMouseEvents=function(){var t=this;this.dD&&this.dD.addEventListener("mouseover",(function(){y(t.pD).remove("vp-bottom-upnext"),t.mD&&t.mD.removeAttribute("style")}))},i.prototype.togglePlaylistUI=function(t){if(!this.KA.getFullscreen()&&this.gD&&this.wD!==m){var i=".vp-playlist-mode-"+this.wD,n=this.pN&&this.pN.querySelector(i);switch(t?y(n).add("vp-hide-playlist"):this.pN.clientWidth>b[this.wD]&&y(n).remove("vp-hide-playlist"),this.wD){case p:!0===t?this.uN&&this.uN.removeAttribute("style"):this.dR();break;case d:!0===t?this.pN&&(this.pN.style.height=this.SD.rootElem.height+"px"):(this.pN&&(this.pN.style.height=this.SD.contentElem.height+"px"),this.tN&&(this.tN.style.height=this.SD.rootElem.height+"px"))}}},i.prototype.getPlaylistRootElement=function(){return this.ED},i.prototype.getPlaylistUIPosition=function(){return this.wD},i.prototype.isPlaylistInStream=function(){return this.OD},i.prototype.isPlaylistShown=function(){return this.gD},i.prototype.onMediaItemLoaded=function(){this.gD&&(this._D?this.TD.syncView():this.$A())},i.prototype.onMediaItemCurrent=function(t){this.gD&&(this.MD(),this.TD&&this.TD.onMediaItemCurrent())},i.prototype.onAdBreakStarted=function(){this.gD&&this.jD(!1)},i.prototype.onAdBreakEnded=function(){this.MD()},i.prototype.cD=function(){this.gD&&(this.iy.continuousPlay=!0,this.ND(),this.aD[a.FULLSCREEN_CHANGE]=this.ty.addEventListener(a.FULLSCREEN_CHANGE,this.RD,this),this.aD[c.VideoEvent.ENDED]=this.ty.addEventListener(c.VideoEvent.ENDED,this.kD,this),this.aD[a.METADATA_AVAILABLE]=this.ty.addEventListener(a.METADATA_AVAILABLE,this.LD,this)),this.DD&&(this.lD=new v.default(this.DD,this.CD.bind(this)))},i.prototype.kD=function(){this.jD(!1)},i.prototype.LD=function(){this.MD()},i.prototype.MD=function(){this.gD&&(this.jy.isEndOfPlaylist()?this.jD(!1):this.jD(!0))},i.prototype.jD=function(t){if(this.gD&&this.PD!==t&&this.dD){var i=this.jy,n=i?i.getCurrentItem():null;t&&n&&!n.isLive()?y(this.dD).remove("disabled"):y(this.dD).add("disabled"),this.PD=t}},i.prototype.CD=function(){if(o.userAgent.mobile&&this.xD)return this.xD.style.display="block",void(y(this.xD).contains("open")?(y(this.pD).remove("vp-bottom-upnext"),y(this.xD).remove("open"),this.mD&&this.mD.removeAttribute("style")):(y(this.xD).add("open"),this.mD&&(this.mD.style.top=this.bD()+"px"),y(this.pD).add("vp-bottom-upnext")));this.TD.upNextBtnTapHandler()},i.prototype.UD=function(){var t=this.KA.controls;return!!t&&(this.pD=t&&t.getBottomBar(),this.mD=this.pD.querySelector(".vp-bottom-container"),this.DD=this.pD.querySelector(".vp-upnext-btn"),this.xD=this.pD.querySelector(".vp-upnext-playlist"),this.dD=this.pD.querySelector(".vp-upnext-container"),!0)},i.prototype.KI=function(){var t,i=this.iy.playlistUIConfig;if(this._D=!1,this.wD=null,this.OD=!1,this.gD=!1,i&&!0===i.show&&(this.wD=i.position,!0===i.inStream&&this.wD===p&&(this.OD=!0),!o.userAgent.mobile)){t=this.tN&&this.tN.clientWidth;var n=b[this.wD];t&&t>=n&&(this.gD=!0)}this.gD&&(this.UD()||(this.gD=!1))},i.prototype.ND=function(){var t,i,n;if(this.gD&&this.wD!==m){switch(this.SD={rootElem:{height:null,width:null},contentElem:{height:null,width:null},mainElem:{height:null,width:null}},this.wD){case d:i=(t=this.tN?this.tN.clientHeight:0)+83,this.tN&&(this.tN.style.height=i+"px"),this.pN&&(this.pN.style.height=t+"px"),this.VD=t+"px",this.SD.rootElem.height=i,this.SD.rootElem.width=this.tN?this.tN.clientWidth:0,this.SD.contentElem.height=this.pN?this.pN.clientHeight:0;break;case p:n=(this.pN?this.pN.clientWidth:0)-(this.OD?276:318),this.uN&&(this.uN.style.width=n+"px"),this.SD.rootElem.width=this.tN?this.tN.clientWidth:0,this.SD.mainElem.width=n}this.ty.publish(a.PLAYER_DIMENSION_CHANGE,this.KA.getPlayerDimensions())}},i.prototype.vD=function(){var t;if(this.gD)switch(this.wD){case d:t=(this.tN?this.tN.clientHeight:0)-83,this.tN&&(this.tN.style.height=t+"px"),this.SD.rootElem.height=t}},i.prototype.bD=function(){return(this.pN?this.pN.clientHeight:0)-(this.mD?this.mD.clientHeight:0)},i.prototype.$A=function(){if(!o.userAgent.mobile||this.wD===m){switch(this.TD=new l.default(this.ty,this.KA,this.iy,this.pO),this.BD(),this.wD){case m:this.ED=this.TD.create(m),this.yD=this.ED,this.xD&&this.xD.appendChild(this.yD),y(this.dD).remove("hide"),o.userAgent.mobile||this.attachUpNextMouseEvents();break;case d:this.yD=this.TD.create(m),this.ED=this.TD.create(d),this.xD&&this.xD.appendChild(this.yD),this.pN&&this.pN.appendChild(this.ED),y(this.dD).remove("hide"),y(this.xD).add("hide");break;case p:this.yD=this.TD.create(m),this.ED=this.TD.create(p),this.xD&&this.xD.appendChild(this.yD),this.pN&&this.pN.appendChild(this.ED),y(this.dD).remove("hide"),y(this.xD).add("hide")}this.TD.setPlaylistViewSize(),this._D=!0}},i.prototype.RD=function(){this.KA.isDocked()||this.wD!==m&&(!0===this.KA.getFullscreen()?this.wD===d?this.pN&&(this.pN.style.height="100%"):this.wD===p&&this.uN&&this.uN.style&&(this.uN&&(this.uN.style.width="100%"),this.uN&&(this.uN.style.zIndex="1")):this.wD===d?this.pN&&(this.pN.style.height=this.VD):this.wD===p&&(this.uN&&(this.uN.style.width=this.SD.mainElem.width),this.uN&&(this.uN.style.zIndex="auto")))},i.prototype.dR=function(){if(!this.KA.getFullscreen())if(this._D){var t=this.pN?this.pN.clientWidth:0,i=b[this.wD];switch(this.wD){case p:var n=t-(this.OD?276:318);t>=i?(this.uN.style.width=n+"px",this.SD.mainElem.width=n,y(this.ED).remove("vp-hide-playlist")):(this.uN.style.width=t+"px",this.SD.mainElem.width=t,y(this.ED).add("vp-hide-playlist"));break;case d:this.TD&&this.TD.syncPgBtns(),t>=i?y(this.ED).remove("vp-hide-playlist"):y(this.ED).add("vp-hide-playlist")}var s=this.KA.getPlayerDimensions();f.default.areDimensionsEqual(s,this.iy.uiState)||this.ty.publish(a.PLAYER_DIMENSION_CHANGE,s)}else this.KI(),this.cD(),this.gD&&this.$A()},i.prototype.BD=function(){var t=this;this.TD.on(l.PlaylistViewEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this),this.TD.on(l.PlaylistViewEvent.SCROLLED_TO_END,(function(){t.publish(r.SCROLLED_TO_END)}),this)},i.prototype.fD=function(){this.vR=this.dR.bind(this),window.addEventListener("resize",this.vR)},Object.defineProperty(i.prototype,"jy",{get:function(){return this.iy.playlist},enumerable:!0,configurable:!0}),i}(h.default);i.PlaylistController=g},Ld5f:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PROVIDER_BRANDING_TEMPLATES={"video.nflhighlights.com":n("5Gwc")}},"Le/s":function(t,i,n){"use strict";t.exports=c;var s=n("/iNa"),e=n("yvII").Events,r=n("y5bh").HLSEvent,h=n("2fkz"),o=h.Command,u=h.CmdNames,a=h.CmdEvents;function c(t,i){if(!(t&&t.controller&&t.subtitleStream&&t.segment))throw new Error("Invalid Argument: data arg is incomplete");o.call(this,t,i),this.name=u.CMD_SUBTITLE_SEGMENT_LOAD,this.XL=t.subtitleStream,this.__controller=t.controller,this.QO=t.segment||null,this.Sy={},this.FD()}s.inherits(c,o),c.prototype.destroy=function(){this.zD.destroy(),this.__controller.removeEventListeners(this.Sy),o.prototype.destroy.call(this)},c.prototype.execute=function(){this.QO&&this.zD&&this.zD.load(this.QO.url)},c.prototype.cancel=function(){},c.prototype.FD=function(){var t=this;t.zD=t.__controller.services.getNewLoader();t.zD.addEventListener(e.COMPLETE,(function(i){t.HD(i)}),t),t.zD.addEventListener(e.ERROR,(function(i){t.publish(a.CMD_ERROR,t,i)}),t)},c.prototype.HD=function(t){if(this.QO){this.QO.data=t.data;var i=this.QO.pcr();null!=i?this.YD():this.__controller.addEventListener(r.PCR_AVAILABLE,this.YD,this)}},c.prototype.YD=function(){this.QO.parseSegment(),this.publish(a.CMD_COMPLETE,this,{data:this.QO.toObject(),url:this.QO.url})}},LmRr:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=function(){function t(t){void 0===t&&(t="anonymous"),this.name=t,this.FT={},this.GD=0}return t.prototype.destroy=function(){this.FT={}},t.prototype.addEventListener=function(t,i,n){return this.FT?this.WD(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.FT&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.WD(t,r,n)})),e):e},t.prototype.on=function(t,i,n){return Array.isArray(t)?this.addEventListeners(t,i,n):this.addEventListener(t,i,n)},t.prototype.removeEventListener=function(t,i){this.FT&&t in this.FT&&Object.prototype.hasOwnProperty.call(this.FT[t],i)&&delete this.FT[t][i]},t.prototype.removeEventListeners=function(t){if(this.FT&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.FT&&Object.prototype.hasOwnProperty.call(this.FT[s],e)&&(delete this.FT[s][e],delete t[s])}},t.prototype.once=function(t,i,n){var s=this,e=this.addEventListener(t,(function(){for(var r=[],h=0;h<arguments.length;h++)r[h]=arguments[h];i.apply(n,Array.prototype.slice.call(r,0)),s.removeEventListener(t,e)}),this);return e},t.prototype.publish=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];if(this.FT&&t in this.FT){var s=this.FT[t];s&&this.qD(s,t,!1,i);var e=this.FT["*"];e&&this.qD(e,t,!0,i)}},t.prototype.qD=function(t,i,n,e){for(var r=0,h=Object.keys(t);r<h.length;r++){var o=t[h[r]];if(o)try{var u=o.listener;u&&(n?u.apply(o.subscriber,s([i],e)):u.apply(o.subscriber,e))}catch(t){}}},t.prototype.WD=function(t,i,n){this.FT[t]||(this.FT[t]={});var s=t+"_"+ ++this.GD;return this.FT[t][s]={subscriber:n,listener:i},s},t}();i.default=e},LrgL:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=function(t){function i(i,n){var s=t.call(this,"Command")||this;return s.cmdName="Command",s.data=i,s.client=n,s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.data=null},Object.defineProperty(i.prototype,"pluginManager",{set:function(t){this.pO=t},enumerable:!0,configurable:!0}),i}(n("JcWZ").default);i.default=r},"Lux/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("mczr");i.AdPluginPlaybackCapability=s.ExternalPlayerCapability,i.AdPlayerEvent=s.ExternalPlayerEvent;var e,r,h,o,u=n("+Ojf").default.mergeStringEnums;!function(t){t.METRICS="ad-plugin--metrics",t.DIAGNOSTICS="ad-plugin--diagnostics"}(e=i.AdPluginMetricsEvent||(i.AdPluginMetricsEvent={})),function(t){t.AD_BREAKS_AVAILABLE="ad-plugin--breaks-available",t.AD_BREAK_RESOLVED="ad-plugin--break-resolved",t.AD_BREAK_RESOLVE_ERROR="ad-plugin--break-resolve-error",t.AD_SUBTITLES_FOUND="ad-plugin--subtitles-found"}(r=i.AdPluginMetadataEvent||(i.AdPluginMetadataEvent={})),function(t){t.CTA_TRIGGERED="ad-plugin-ui-cta-triggered",t.SKIP_AD="ad-plugin-ui-skip-ad",t.CLICKED="ad-plugin-ui-clicked"}(h=i.AdPluginUIEvent||(i.AdPluginUIEvent={})),function(t){t.NONLINEAR_AD_RENDERED="ad-plugin-nonlinear-ad-rendered",t.NONLINEAR_AD_CLEARED="ad-plugin-nonlinear-ad-cleared",t.NONLINEAR_AD_DISMISSED="ad-plugin-nonlinear-ad-dismissed",t.NONLINEAR_AD_CLICKED="ad-plugin-nonlinear-ad-clicked"}(o=i.AdPluginOverlayAdEvent||(i.AdPluginOverlayAdEvent={})),i.AdPluginEvent=u(r,u(e,u(o,u(h,s.ExternalPlayerEvent))))},M1T5:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){this.width=640,this.height=360,this.startScreenRendered=!1,this.isDocked=!1,this.isCSSLoaded=!1,this.deviceOrientation=null,this.isFullscreen=!1};i.default=s},M3h3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("1get"),h=n("mczr"),o=document.createElement("video"),u=function(){var t=!1;try{o.canPlayType&&!(t=r.default.canPlayType('application/vnd.apple.mpegURL; codecs="avc1.42E01E, mp4a.40.2"',o))&&e.userAgent.tv&&(t=r.default.canPlayType("application/vnd.apple.mpegurl",o))}catch(i){t=!1}return e.userAgent.tv&&(window.noHLS&&(t=!1),window.hls&&(t=!0)),t}(),a=function(){var t=!1;try{t=r.default.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"',o)}catch(i){t=!1}return t}(),c=function(){var t=!1;try{t=r.default.canPlayType('video/webm; codecs="vp8, vorbis"',o)}catch(i){t=!1}return e.userAgent.tv&&(t=!1),t}(),f=!e.userAgent.safari,l=(s=[],e.userAgent.android&&s.push("mp4b"),(u||e.userAgent.android&&r.default.isAndroidVersionAbove4())&&s.push("m3u8"),(f||e.userAgent.android&&r.default.isAndroidVersionAbove4())&&s.push("mpd"),a&&s.push("mp4"),c&&s.push("webm"),s),v=function(){var t=l.slice(),i=t.indexOf("mp4b");return i>-1&&t.splice(i+1,0,"mp4"),t.push(""),t}(),d=function(){function t(){}return t.get=function(t){var i=null;switch(t){case h.RendererType.HTML5_HLS:case h.RendererType.HTML5_HLS_360:(i={acceptedProtocols:["http"],preferredFormats:[],acceptedFormats:[],is360Renderer:t===h.RendererType.HTML5_HLS_360,canDecryptAES:!0}).preferredFormats=["m3u8"],i.acceptedFormats=["m3u8","m3u8_playlist","m3u8:fmp4"];break;case h.RendererType.HTML5_RAW:case h.RendererType.HTML5_RAW_360:(i={acceptedProtocols:["http"],preferredFormats:l,acceptedFormats:v,is360Renderer:t===h.RendererType.HTML5_RAW_360,canDecryptAES:!0}).preferredFormats=i.preferredFormats.filter((function(t){return"mpd"!==t})),i.acceptedFormats=i.acceptedFormats.filter((function(t){return"mpd"!==t}));break;case h.RendererType.HTML5_TV:case h.RendererType.HTML5_TV_TIZEN:case h.RendererType.HTML5_TV_ORSAY:i={acceptedProtocols:["http"],preferredFormats:["m3u8","mp4"],acceptedFormats:["m3u8","m3u8_playlist","mp4"],is360Renderer:!1,canDecryptAES:!0};break;case h.RendererType.EXTERNAL:i={acceptedProtocols:[],preferredFormats:[],acceptedFormats:[],is360Renderer:!1,canDecryptAES:!1}}return i},t}();i.default=d},M44j:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("oIMU"),u=n("Lux/"),a=n("PwYT"),c=n("u8By"),f=n("dgSz"),l=n("ma23"),v=n("+uLo"),d=n("fLR+");!function(t){t.AD_BREAK_NEED_RESOLVE="adBreakNeedResolve",t.AD_BREAK_ITEM_NEED_SOURCE="adBreakItemNeedSource",t.AD_BREAK_ITEM_PLAY="adBreakItemPlay",t.AD_BREAK_STARTED="adBreakStarted",t.AD_BREAK_ENDED="adBreakEnded",t.AD_BREAK_ITEM_STARTED="adBreakItemStarted",t.AD_BREAK_ITEM_ENDED="adBreakItemEnded",t.AD_BREAK_SKIP="adBreakSkip",t.AD_BREAK_FORCE_PLAY_MIDROLL="adBreakForcePlayMidroll",t.AD_CLIENT_COMPLETED="adClientCompleted",t.AD_CLIENT_TIMEOUT="adClientTimeout",t.CREATE_OVERLAY_CONTAINER="createOverlayContainer",t.AD_METRICS="adMetrics",t.AD_DIAGNOSTICS="adDiagnostics"}(r=i.AdPlaybackControllerEvent||(i.AdPlaybackControllerEvent={}));var p=function(t){function i(i,n){var s=t.call(this,"AdPlaybackController")||this;s.iy=i,s.XD=n,s.QD=null,s.ZD={},s.JD={},s.KD={},s.$D={},s.tC={};var e=s.iy.config.ads.timeout,r=e.load+e.start;return s.iC={},s.nC=new v.default(1e3*r,1),s.sC=s.nC.addEventListener(v.default.TIMER_EVENT,s.eC,s),s}return e(i,t),i.prototype.prepareAdsForItem=function(t){var i=t.refPlaybackId;if(t.adConfig&&t.adConfig.mimetype){var n=this.XD.getPlugin(l.PluginType.AD,t.adConfig.mimetype),s=this.rC(i,n);n&&s&&d.isAdResolverAdPlugin(n)&&(this.iC[i]={item:t,beginTS:Date.now()},this.hC({evt:"ad_fetch"},t),n.fetchAdBreaks({refId:i,config:t.adConfig.value}))}else this.rC(i,null)},i.prototype.startTracking=function(t){var i=this,n=t.refPlaybackId;n!==this.oC&&(this.uC(),this.aC(t),this.ZD[n]={},this.JD[n]={},this.KD[n]=[],this.cC={},this.fC=[],this.lC=null,this.vC=!1,this.QD=null,this.dC=null,this.pC=null,this.mC.adBreaks&&(this.nC.reset(),this.mC.adBreaks.forEach((function(n){i.bC(t,n)}))))},i.prototype.resolveAdBreaks=function(t,i){var n=this,s=t.refPlaybackId,e=this.ZD[s][i],r=this.$D[s];d.isAdResolverAdPlugin(r)&&e&&0!==e.length&&e.forEach((function(t){n.cC[t.adBreakId]||(n.cC[t.adBreakId]=t.mediaItem,r.resolveAdBreak(t.rawItemData))}))},i.prototype.getPlayingInstreamAd=function(){return this.QD||null},i.prototype.updatePlaybackProgress=function(t){var i=t.currentTime;if(t.playingItem===this.mC){var n=this.yC(i);if(n!==this.QD){var s=this.QD;this.QD=n,this.gC(s,n)}}},i.prototype.onMediaItemPlaybackEnded=function(t){},i.prototype.handleMediaItemSeeked=function(t,i,n){if(t===this.mC&&(n=d.isNumber(n)?n:0,t instanceof f.default&&!t.isLive()&&t.adBreaks.length)){for(var s=void 0,e=0,h=t.adBreaks;e<h.length;e++){var o=h[e];o.startOffset<=i&&o.type===c.AdBreakType.MIDROLL&&(s=o)}if(s&&s.active){var u=s.startOffset;u>=n&&u<i&&this.publish(r.AD_BREAK_FORCE_PLAY_MIDROLL,s)}}},i.prototype.playClientAdBreaks=function(t,i){var n=this;if(this.mC===t){this.iy.playbackState.currentMediaType=i;var s=Object.keys(this.iC).map((function(t){return n.iC[t].item})).some((function(t){return t===n.mC}));if(this.wC(i,t),!s){var e=t.refPlaybackId,h=this.ZD[e]&&this.ZD[e][i]||[],o=this.JD[e]&&this.JD[e][i]||[];if(0===h.length&&0===o.length)return this.uC(),void this.publish(r.AD_CLIENT_COMPLETED,i,t);this.resolveAdBreaks(t,i),this.SC(t,i)}}},i.prototype.pauseClientAdStartTimer=function(){this.nC&&this.nC.stop()},i.prototype.resumeClientAdStartTimer=function(){this.nC&&0!==this.nC.startTime&&this.nC.start()},i.prototype.handleAdBreakResolved=function(t,i){delete this.cC[i.adBreakId],t===this.mC&&(this.bC(t,i),this.vC||this.SC(t,i.type))},i.prototype.handleAdBreakItemPlaybackStarted=function(t){t.instream||(this.EC(),this.publish(r.AD_BREAK_ITEM_STARTED,t))},i.prototype.handleAdBreakItemEnded=function(t){this.OC(t,!1,!1)},i.prototype.handleAdBreakItemError=function(t){this.OC(t,!0,!1)},i.prototype.stopCurrentPlayback=function(t){this.publish(r.AD_BREAK_ENDED,t&&t.adBreak||null)},i.prototype.destroy=function(){var i=this;t.prototype.destroy.call(this),this.nC.removeEventListener(v.default.TIMER_EVENT,this.sC),this.nC.destroy(),Object.keys(this.tC).forEach((function(t){i.tC[t]()})),this.iC=null},i.prototype.OC=function(t,i,n){if(!t.instream){this.publish(r.AD_BREAK_ITEM_ENDED,t),this.lC=null;var s=t.adBreak,e=s.mediaItem;this.iy.loop&&s.type===c.AdBreakType.NATIVE||(n||t===s.adBreakItems[s.adBreakItems.length-1])&&this.publish(r.AD_BREAK_ENDED,s),n||this.SC(e,s.type)}},i.prototype.yC=function(t){for(var i=0,n=this.fC.length-1;i<=n;){var s=i+Math.floor((n-i)/2),e=this.fC[s];if(t>=e.startOffset&&t<e.endOffset)return e.adBreakItem;t>e.endOffset?i=s+1:n=s-1}return null},i.prototype.gC=function(t,i){if(i&&!t){if(i===i.adBreak.adBreakItems[0]){if(!i.adBreak.active)return this.QD=null,void this.publish(r.AD_BREAK_SKIP,i.adBreak,!0);this.publish(r.AD_BREAK_STARTED,i.adBreak)}this.publish(r.AD_BREAK_ITEM_STARTED,i)}!i&&t&&(this.publish(r.AD_BREAK_ITEM_ENDED,t),t===t.adBreak.adBreakItems[t.adBreak.adBreakItems.length-1]&&this.publish(r.AD_BREAK_ENDED,t.adBreak)),i&&t&&(this.publish(r.AD_BREAK_ITEM_ENDED,t),this.publish(r.AD_BREAK_ITEM_STARTED,i))},i.prototype.bC=function(t,i){var n=this,s=i.type,e=t.refPlaybackId;this.ZD[e]=this.ZD[e]||{},this.ZD[e][s]=this.ZD[e][s]||[],this.JD[e]=this.JD[e]||{},this.JD[e][s]=this.JD[e][s]||[],i.hasResolved()?i.adBreakItems.forEach((function(t,r){if(t.instream){var h=0===r?i.startOffset:n.fC[n.fC.length-1].endOffset;n.fC.push({adBreakItem:t,startOffset:h,endOffset:h+t.duration})}else n.JD[e][s].push(t)})):this.ZD[e][s].push(i)},i.prototype.uC=function(){if(this.EC(),this.mC){var t=this.oC;this.iC&&this.iC[t]&&delete this.iC[t]}this.vC=!1,this.cC={}},i.prototype.SC=function(t,i){var n,s=this,e=t.refPlaybackId,h=this.JD[e]&&this.JD[e][i]||[],o=h.filter((function(t){return-1===(s.KD[e]||[]).indexOf(t.adBreakItemId)}));if(!(n=i===c.AdBreakType.NATIVE&&this.iy.loop?h[0]:o[0]))return Object.keys(this.cC).length>0?void 0:(this.uC(),void this.publish(r.AD_CLIENT_COMPLETED,i,this.mC));this.vC=!0,this.KD[e]=this.KD[e]||[],this.KD[e].push(n.adBreakItemId),n===n.adBreak.adBreakItems[0]&&this.publish(r.AD_BREAK_STARTED,n.adBreak),this.hC({evt:"ad_play"},t),this.lC=n,this.publish(r.AD_BREAK_ITEM_PLAY,n)},i.prototype.wC=function(t,i){this.EC(),this.dC=t,this.pC=i,this.nC.start()},i.prototype.eC=function(){var t=this.dC,i=this.pC;this.lC&&this.OC(this.lC,!0,!0),this.uC(),this.publish(r.AD_CLIENT_TIMEOUT,t,i)},i.prototype.EC=function(){this.nC.reset(),this.dC=null,this.pC=null},i.prototype.AC=function(t,i){for(var n,s,e=this,h=[],a=2;a<arguments.length;a++)h[a-2]=arguments[a];switch(i){case u.AdPluginEvent.AD_BREAK_RESOLVED:if(n=h[0],!(s=this.cC[n.adBreakId]))return;var f=s.updateAdBreak(n,this.iy.adsRendererTypes,this.iy.capabilities);this.handleAdBreakResolved(s,f);break;case u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR:n=h[0],delete this.cC[n.adBreakId];break;case u.AdPluginEvent.AD_SUBTITLES_FOUND:this.publish(o.AD_SUBTITLE_TRACK_ADDED,h[0]);break;case u.AdPluginEvent.AD_BREAKS_AVAILABLE:var l=h[0],v=this.iC[l.refId];if(s=v.item,delete this.iC[l.refId],this.hC({evt:"ad_fetched",latency:Date.now()-v.beginTS},s),!s||!l.refId||!l.adBreaks)return;s.addAdBreaks(l.adBreaks),s.adBreaks.forEach((function(t){e.bC(s,t)})),s.adBreaks.some((function(t){return t.type===c.AdBreakType.NON_LINEAR}))&&d.isAdOverlayRendererAdPlugin(t)&&this.publish(r.CREATE_OVERLAY_CONTAINER,(function(i){i&&t.setNonlinearAdContainer(i)})),s===this.mC&&s===this.pC&&this.nC&&this.dC&&this.playClientAdBreaks(s,this.dC);break;case u.AdPluginEvent.DIAGNOSTICS:var p=h[0];this.publish(r.AD_DIAGNOSTICS,p);break;case u.AdPluginEvent.METRICS:var m=h&&h[0],b=m&&m.evt;if("string"==typeof b){var y="object"==typeof m?Object.assign({},m):{evt:b};this.hC(y,this.mC)}}},i.prototype.rC=function(t,i){return!this.$D[t]&&(this.$D[t]=i,i&&(this.tC[i.mimetype]||(this.tC[i.mimetype]=a.listenEventDispatcherEvts(i,Object.keys(u.AdPluginEvent).map((function(t){return u.AdPluginEvent[t]})),this.AC.bind(this)))),!0)},i.prototype.aC=function(t){this.mC=t,this.oC=t.refPlaybackId},i.prototype.hC=function(t,i){void 0===t&&(t={}),i&&(t.prefetch=i.adConfigPrefetched?1:0),this.publish(r.AD_METRICS,t)},i}(h.default);i.AdPlaybackController=p},MIFH:function(t,i,n){"use strict";function s(t){t&&(this.duration=t.duration,this.url=t.url,this.initSegment=t.initSegment,this.seqNum=t.sequenceNum,this.startTime=t.startTime,this.discontinuity=t.discontinuity,this.programDateTime=t.programDateTime,this.streamIndex=t.levelIndex,this.bitrate=t.bitrate,this.sessionId=t.sessionId,this.cdn=t.cdn,this._C=this.streamIndex+"_"+this.seqNum,this.brStartOffset=t.brStartOffset,this.brEndOffset=t.brEndOffset,this.containerFormat=t.containerFormat,this.encryptionData=t.encryptionData,this.endTimestamps=t.endTimestamps,this.periodId=t.periodId),this.endTimestamps||(this.endTimestamps={audio:NaN,video:NaN}),this.totalDownloadTime=0,this.timeToFirstByte=0,this.TC=0}t.exports=s,s.prototype.setStreamIndex=function(t){this.streamIndex=t,this._C=this.streamIndex+"_"+this.seqNum},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){"__controller"!==n&&(i[n]=t[n])})),i}},Mjcq:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ma23"),e=n("fLR+"),r=n("+Ojf"),h=function(){function t(){this.version="0.2.292",this.type=s.PluginType.VISUAL_SEEK,this.mimetype="visualseek/uplynk",this.MC={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.MC={}},t.prototype.canSeek=function(t){return t&&!!this.MC[t]},t.prototype.update=function(t,i){var n=this.MC[t]||{};n.assetInfo=i&&i.assetInfo||n.assetInfo,n.adBreaks=i&&i.adBreaks||n.adBreaks,this.MC[t]=n},t.prototype.getThumbnailData=function(t,i,n){if(!e.isString(t)||!e.isNumber(i))return null;var s=this.MC[t].assetInfo;if(!(s&&s.thumbs&&s.thumbPrefix&&s.sliceDuration&&s.maxSlice))return null;var r=this.getUrl(t,i,n);return{isAd:"AD"===r,url:r,width:this.getWidth(t,n),height:this.getHeight(t,n)}},t.prototype.getUrl=function(t,i,n){var s=this.MC[t],e=s.assetInfo,h=e.thumbPrefix,o=this.getThumbInfo(t,n),u=i,a=0,c=!1,f=null,l=0;if(s.adBreaks&&s.adBreaks.length){if(s.adBreaks.some((function(t){if(t.startOffset<i&&t.startOffset+t.duration>i)return c=!0,!0;if(t.startOffset<=i)a+=t.duration,f=t;else if(t.startOffset>i)return!0;return!1})),c)return"AD";l=f&&f.customInfo&&f.customInfo.index||0,u=Math.max(0,u-a)}var v=Math.floor(u/e.sliceDuration)+l;v=Math.min(v,e.maxSlice);var d=r.default.decimalToHexString(v,8,"0");return h+o.prefix+d+".jpg"},t.prototype.getWidth=function(t,i){return this.getThumbInfo(t).width},t.prototype.getHeight=function(t,i){return this.getThumbInfo(t).height},t.prototype.getThumbInfo=function(t,i){void 0===i&&(i=128);var n=this.MC[t].assetInfo.thumbs;return n&&n.length?1===n.length?n[0]:n.find((function(t){return t.width===i}))||n[0]:{width:0,height:0,prefix:""}},t}();i.default=h},Mkxr:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.streamSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/streamSchema",type:"object",properties:{audioMetadata:{type:"object",properties:{autoSelect:{type:"boolean"},bitrate:{type:"number"},channels:{type:"number"},default:{type:"boolean"},forced:{type:"boolean"},samplingRate:{type:"number"}}},cdn:{type:"string"},fairplayCertificatePath:{type:"string"},live:{type:"boolean"},manifest:{type:"string"},mimeType:{type:"string"},rcMode:{type:"string"},type:{type:"string"},url:{type:"string"},videoMetadata:{type:"object",properties:{avgBitrate:{type:"number"},bitrate:{type:"number"},framerate:{type:"number"},height:{type:"number"},profile:{type:"string"},width:{type:"number"}}}},required:["url"]}},MyAg:function(t,i,n){"use strict";t.exports=r;var s=n("mfA3"),e=n("iSaY");function r(){this._node=this.PE.node,this.IC=this.PE.mediaSource,this.jC=null,this.NC=[],this.ay=!1,this.iy=this.PE.appModel,this.RC=this.iy.config.pastBufferLengthLimit}r.prototype.destroy=function(){this.kC(),this.NC=[]},r.prototype.setSwitchManager=function(t){this.jC=t},r.prototype.process=function(){this.LC()&&"open"===this.IC.readyState&&this.IC.endOfStream()},r.prototype.onError=function(){this.ay=!0},r.prototype.onSeeking=function(t,i){t&&this.kC(),i&&this.DC()},r.prototype.PC=function(t){for(var i=0;i<this.NC.length;i++)if(t===this.NC[i].type)return this.NC[i];return null},r.prototype.setMinimumBufferTime=function(t){this.NC.forEach((function(i){i.setMinBufferTime(t)}))},r.prototype.createSourceBuffer=function(t,i,n){if(!this.IC||this.ay)return null;var r=this.PC(t);if(!r)if(this.PE.isMimetypeSupported(i)){r=this.PE.create(s,this.IC,t,i),this.NC.push(r);var h=this.iy.config.minBufferTime,o=isNaN(n)?this.iy.live?h.live:h.vod:n;this.setMinimumBufferTime(o)}else{var u=new e.Error(e.ERR_MIMETYPE_NOT_SUPPORTED);this.PE.notifyError(u)}return r},r.prototype.xC=function(){if(this.IC&&!this.ay)for(;this.NC.length>0;){this.NC.shift().destroy()}},r.prototype.DC=function(){var t=this,i=[];t.IC&&!t.ay&&"open"===t.IC.readyState&&(t.NC.forEach((function(t){i.push({type:t.type,mimeType:t.mimeType})})),t.xC(),i.forEach((function(i){t.createSourceBuffer(i.type,i.mimeType,NaN)})))},r.prototype.kC=function(){this.IC&&!this.ay&&this.NC.forEach((function(t){t.abort()}))},r.prototype.clear=function(t,i){if(this.IC&&!this.ay)if(t){if(!(t&&t.end-t.start<10)&&i){i.clearBuffer(t.start,t.end,(function(t){}))}}else this.NC.forEach((function(t){t.clearAll()}))},r.prototype.clearSrcBuffer=function(t,i){var n=this.PC(t);if(n)if(i){n.clearBuffer(i.start,i.end,(function(t){}))}else n.clearAll()},r.prototype.appendBuffer=function(t,i){var n=this,s=n.createSourceBuffer(t.type,t.mimeType);s&&!n.ay&&t.data&&t.data.length&&s.appendBuffer(t.data,t.startTime,t.endTime,t.onlyMetadata,(function(t,s){n.UC(t,s),i(t,s)}))},r.prototype.endOfStream=function(t){this.NC.forEach((function(i){i.setEndOfStream(t)}))},r.prototype.LC=function(){if(!this.NC.length)return!1;var t=!0;return this.NC.forEach((function(i){t=t&&"closed"===i.state})),t},r.prototype.getPendingBufferLength=function(){var t=0;return this.NC.forEach((function(i){var n=i.getTotalPendingBufferLength();t<n&&(t=n)})),t},r.prototype.getBufferedAndPending=function(){var t={};return this.NC.forEach((function(i){var n=i.getTotalPendingBufferLength(),s=i.getBufferLength();-1!==i.mimeType.indexOf("video")?t.video={buffered:s,pending:n,mimeType:i.mimeType}:t.audio={buffered:s,pending:n,mimeType:i.mimeType}})),t},r.prototype.resetReadyState=function(){this.NC.forEach((function(t){t.ready=!1}))},r.prototype.areSrcBuffersReady=function(){for(var t=0;t<this.NC.length;t++)if(!this.NC[t].ready)return!1;return!0},r.prototype.UC=function(t,i){i&&(this.clear(this.VC(i),i),this.clear(this.BC(i),i))},r.prototype.VC=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=0,e=0,r=this.iy.live?this.RC.live:this.RC.vod;return n&&n.length&&(s=n.start(0),e=Math.max(i-r,0)),{start:s,end:e}},r.prototype.BC=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=this.iy.live?this.RC.live:this.RC.vod,e={start:0,end:0};return n&&n.length>1&&i+s<n.start(1)&&(e.start=n.start(1),e.end=n.end(1)),e}},"N+vR":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div><pre>"),s.b(s.v(s.f("config",t,i,0))),s.b("</pre></div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},N08P:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+kCX"),e=n("q5U7"),r=n("GX4R"),h=n("ReYQ"),o=n("8NcX"),u=n("ek6g"),a=n("pM7s"),c=function(){function t(){}return t.getRendererTypes=function(){for(var t=[],i=0,n=[s.default,r.default,e.default,h.default,a.default,u.default,o.default];i<n.length;i++){var c=n[i];c&&c.canUse()&&t.push(c.type)}return t},t.getAdRendererTypes=function(){for(var t=[],i=0,n=[s.default,r.default,a.default,u.default,o.default];i<n.length;i++){var e=n[i];e&&e.canUse()&&t.push(e.type)}return t},t}();i.default=c},NMH2:function(t,i,n){"use strict";function s(t,i,n){t&&i&&n&&(this._node=t,this.FC=n,this.IC=i,this.zC())}t.exports=s,s.prototype.destroy=function(){this.HC()},s.prototype.zC=function(){var t=this;t.YC=t.GC.bind(t),t.WC=["play","playing","pause","seeking","seeked","ended","error","timeupdate"],t.WC.forEach((function(i){t._node.addEventListener(i,t.YC)})),t.qC=t.XC.bind(t),t.IC.addEventListener("sourceopen",t.qC),window.addEventListener("resize",t.YC)},s.prototype.HC=function(){var t=this;t.WC.forEach((function(i){t._node.removeEventListener(i,t.YC)})),t.IC.removeEventListener("sourceopen",t.qC),window.removeEventListener("resize",t.YC)},s.prototype.GC=function(t){this.FC.sendVideoEvent(t)},s.prototype.XC=function(t){this.FC.onMediaSourceOpen(t)}},"O/dN":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("WSjl"),e=n("xqNZ"),r=n("rBpt").errorCodes,h=["305","306","307"];i.E_INFO=r.E_INFO,i.E_WARNING=r.E_WARNING,i.E_YVAP=r.E_YVAP,i.E_SAPI_STREAM=r.E_SAPI_STREAM,i.E_SAPI_PLAYLIST=r.E_SAPI_PLAYLIST,i.E_SAPI_RELATED=r.E_SAPI_RELATED,i.E_SAPI_POPULAR=r.E_SAPI_POPULAR,i.E_CAST=r.E_CAST,i.E_PLAYER=r.E_PLAYER,i.E_PLAYER_FAILOVER=r.E_PLAYER_FAILOVER,i.E_PLAYER_DRM=r.E_PLAYER_DRM,i.E_PLAYER_JS_HLS=r.E_PLAYER_JS_HLS,i.E_SAPI_ABSTRACT=r.E_SAPI_ABSTRACT,i.E_SAPI_CLOSEDCAPTION=r.E_SAPI_CLOSEDCAPTION;var o=i.E_PLAYER,u=i.E_PLAYER_FAILOVER,a=i.E_PLAYER_JS_HLS,c=i.E_SAPI_ABSTRACT,f=i.E_SAPI_CLOSEDCAPTION;function l(t){return t.group+t.phase+"-"+t.category+"-"+t.subcategory}function v(t){var i=[];if(t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&i.push(t[n]);return i}function d(t,i,n){i.forEach((function(i){t[i]=n}))}i.INFO_CODES=r.INFO_CODES,i.WARNING_CODES=r.WARNING_CODES,i.PLAYER_CODES=r.PLAYER_CODES,i.PLAYER_DRM_CODES=r.PLAYER_DRM_CODES,i.PLAYER_JS_HLS_CODES=r.PLAYER_JS_HLS_CODES,i.SAPI_CODES=r.SAPI_CODES,i.CAST_CODES=r.CAST_CODES,i.rep=l,i.isInfoCode=function(t){for(var n in i.INFO_CODES)if(Object.prototype.hasOwnProperty.call(i.INFO_CODES,n)&&i.INFO_CODES[n]===t)return!0;return!1},function(t){t.Streaming="P",t.Service="S",t.Configuration="C",t.Restriction="R"}(i.ErrorGroup||(i.ErrorGroup={})),function(t){t.KEY_SESSION_FAILED="1",t.LICENSE_REQUEST_FAILED="2",t.CERT_LOAD_FAILED="3"}(i.DRM_DEBUG_CODES||(i.DRM_DEBUG_CODES={}));var p={};p[i.INFO_CODES.E_PLAYER_360_IS_NOT_SUPPORTED]=e.default.ERR_TITLE_CANNOT_PLAY_360_VIDEO,p[i.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO,p[i.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO,d(p,[i.INFO_CODES.E_SAPI_LICENSE_ERROR,i.INFO_CODES.E_SAPI_UNAVAILABLE_TEMP,i.INFO_CODES.E_SAPI_GEO,i.INFO_CODES.E_SAPI_BLACKOUT],e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE),v(i.INFO_CODES).forEach((function(t){p[t]||(p[t]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO)}));var m={};m[i.INFO_CODES.E_SAPI_UNAVAILABLE_TEMP]=e.default.ERR_UNAVAILABLE,m[i.INFO_CODES.E_SAPI_LICENSE_ERROR]=e.default.ERR_UNAVAILABLE,m[i.INFO_CODES.E_SAPI_GEO]=e.default.ERR_GEO,m[i.INFO_CODES.E_SAPI_BLACKOUT]=e.default.ERR_BLACKOUT,m[i.INFO_CODES.E_SAPI_DEVICE]=e.default.ERR_DEVICE,m[i.INFO_CODES.E_SAPI_EMBED]=e.default.ERR_EMBED,m[i.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED]=e.default.ERR_ANDROID_LIVE_CHROME_REQUIRED,m[i.INFO_CODES.E_PLAYER_NO_COMPATIBLE_FORMAT]=e.default.ERR_BROWSER_UNSUPPORTED,m[i.INFO_CODES.E_PLAYER_360_IS_NOT_SUPPORTED]=e.default.ERR_BROWSER_UNSUPPORTED_SKIP_IN_10,m[i.INFO_CODES.E_FLASH_RENDERER_NOT_SUPPORTED]=e.default.ERR_BROWSER_UNSUPPORTED,m[i.INFO_CODES.E_DRM_UNSUPPORTED_OS]=function(t){return t.ios?e.default.ERR_DRM_IOS_UNSUPPORTED_OS_VER:null},m[i.INFO_CODES.E_DRM_UNSUPPORTED_BROWSER]=function(t){return t.android?e.default.ERR_DRM_ANDROID_UNSUPPORTED_BROWSER:t.ios?e.default.ERR_DRM_IOS_UNSUPPORTED_BROWSER:null};var b={};b[i.PLAYER_CODES.E_NATIVE_SRC_NOT_SUPPORTED]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE,b[i.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE]=e.default.ERR_TITLE_CANNOT_PLAY_VIDEO,d(b,[i.PLAYER_CODES.E_NATIVE_ABORTED],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO),v(i.PLAYER_CODES).forEach((function(t){b[t]||(b[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG)}));var y={};y[i.PLAYER_CODES.E_NATIVE_NETWORK_FAILURE]=e.default.ERR_NETWORK_ISSUE,i.PLAYER_CODES.E_NO_PLUGIN_FOUND="603",v(i.PLAYER_CODES).forEach((function(t){y[t]||(y[t]=e.default.ERR_GENERAL_ERROR)}));var g={};v(i.PLAYER_JS_HLS_CODES).forEach((function(t){g[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG}));var w={};v(i.PLAYER_JS_HLS_CODES).forEach((function(t){w[t]=e.default.ERR_GENERAL_ERROR}));var S={};d(S,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_TITLE_SOMETHING_WENT_WRONG),d(S,[i.SAPI_CODES.E_UNAUTHORIZED_USER,i.SAPI_CODES.E_DRM_RESTRICTED],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO),v(i.SAPI_CODES).forEach((function(t){S[t]||(S[t]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE)}));var E={};E[i.SAPI_CODES.E_UNAUTHORIZED_USER]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE,E[i.SAPI_CODES.E_RESTRICTED_TO_INTERNAL]=e.default.ERR_UNAVAILABLE,d(E,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_GENERAL_ERROR),v(i.SAPI_CODES).forEach((function(t){E[t]||(E[t]=e.default.ERR_MISSING_OR_DAMAGED)}));var O={};v(i.WARNING_CODES).forEach((function(t){t!==i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE&&(O[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG)})),O[i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE;var A={};A[i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE]=e.default.ERR_LIVE_PLAYBACK_COMPLETE,v(i.WARNING_CODES).forEach((function(t){t!==i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE&&(A[t]=e.default.ERR_GENERAL_ERROR)}));var _={};_[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE_WIFI]=e.default.ERR_DRM_UNSUPPORTED_NETWORK_WIFI,d(_,[i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_GENERAL_ERROR);var T={};d(T,[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE,i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO);var M=function(){function t(t,i,n,s,e){if(!t||!i||!n)throw new Error("Error must be created with a group, category, and subcategory!");this.errorInfo=s,this.QC=e,this.group=t,this.phase=this.ZC(s),this.category=i,this.subcategory=n,this.JC=s?s.msg:null,this.debugMessage=s?s.debugMsg:null,this.prefetch=!(!s||void 0===s.prefetch)&&s.prefetch,this.isRecoverable=!1}return Object.defineProperty(t.prototype,"rep",{get:function(){return l(this)},enumerable:!0,configurable:!0}),t.prototype.isSAPIError=function(){return this.category>=c&&this.category<=f},t.prototype.ZC=function(t){var i="S";return t&&t.playbackState&&(t.playbackState.state===s.States.VIDEO||t.playbackState.state===s.States.END)&&(i="P"),i},Object.defineProperty(t.prototype,"title",{get:function(){var t=null,n=this.errorInfo.playbackState&&this.errorInfo.playbackState.loadedItem&&this.errorInfo.playbackState.loadedItem.isLive();if(this.isSAPIError())t=S;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.QC&&(this.QC.android||this.QC.ios))return e.default.ERR_TITLE_SOMETHING_WENT_WRONG;this.category===o||this.category===u?t=b:this.category===i.E_WARNING?t=O:this.category===i.E_INFO?t=p:this.category===i.E_PLAYER_DRM?t=T:this.category===a&&(t=g)}return t&&t[this.subcategory]||e.default.ERR_TITLE_SOMETHING_WENT_WRONG},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var t=null,n=this.errorInfo.playbackState&&this.errorInfo.playbackState.loadedItem&&this.errorInfo.playbackState.loadedItem.isLive();if(this.isSAPIError())t=E;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.QC&&(this.QC.android||this.QC.ios))return e.default.ERR_LIVE_IOS_PLAYBACK;this.category===o||this.category===u?t=y:this.category===i.E_PLAYER_DRM?t=_:this.category===i.E_WARNING?t=A:this.category===i.E_INFO?t=m:this.category===a&&(t=w)}var s=t&&t[this.subcategory];return s="function"==typeof s?s(this.QC):s,this.JC||s||e.default.ERR_TECH_DIFFICULTIES},enumerable:!0,configurable:!0}),t}();i.default=M},O7V2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CERT_DATA=new Uint8Array([48,130,4,203,48,130,3,179,160,3,2,1,2,2,8,13,86,142,88,131,182,234,139,48,13,6,9,42,134,72,134,247,13,1,1,5,5,0,48,127,49,11,48,9,6,3,85,4,6,19,2,85,83,49,19,48,17,6,3,85,4,10,12,10,65,112,112,108,101,32,73,110,99,46,49,38,48,36,6,3,85,4,11,12,29,65,112,112,108,101,32,67,101,114,116,105,102,105,99,97,116,105,111,110,32,65,117,116,104,111,114,105,116,121,49,51,48,49,6,3,85,4,3,12,42,65,112,112,108,101,32,75,101,121,32,83,101,114,118,105,99,101,115,32,67,101,114,116,105,102,105,99,97,116,105,111,110,32,65,117,116,104,111,114,105,116,121,48,30,23,13,49,56,48,51,50,57,49,57,51,57,49,53,90,23,13,50,48,48,51,50,57,49,57,51,57,49,53,90,48,98,49,11,48,9,6,3,85,4,6,19,2,85,83,49,20,48,18,6,3,85,4,10,12,11,89,97,104,111,111,47,32,73,110,99,46,49,19,48,17,6,3,85,4,11,12,10,50,65,82,78,74,89,51,56,70,87,49,40,48,38,6,3,85,4,3,12,31,70,97,105,114,80,108,97,121,32,83,116,114,101,97,109,105,110,103,58,32,89,97,104,111,111,47,32,73,110,99,46,48,129,159,48,13,6,9,42,134,72,134,247,13,1,1,1,5,0,3,129,141,0,48,129,137,2,129,129,0,188,20,145,11,182,224,114,206,51,252,37,198,52,3,54,245,37,134,121,169,73,236,52,112,24,241,70,22,210,115,167,90,251,200,152,188,188,122,248,143,243,225,173,191,185,30,115,239,103,231,218,198,227,19,127,170,241,201,173,213,94,209,56,9,94,211,3,7,194,64,210,84,119,83,195,185,15,252,8,33,33,15,107,215,254,95,9,86,83,212,175,88,26,254,114,126,151,63,228,22,210,127,45,230,42,171,74,61,159,64,71,40,184,184,17,128,230,57,139,130,231,123,92,174,174,146,237,49,2,3,1,0,1,163,130,1,234,48,130,1,230,48,29,6,3,85,29,14,4,22,4,20,127,187,42,2,137,89,223,166,117,128,127,189,93,223,97,53,42,199,159,128,48,12,6,3,85,29,19,1,1,255,4,2,48,0,48,31,6,3,85,29,35,4,24,48,22,128,20,99,228,71,84,203,133,113,89,70,44,131,172,204,68,49,100,103,3,44,190,48,129,226,6,3,85,29,32,4,129,218,48,129,215,48,129,212,6,9,42,134,72,134,247,99,100,5,1,48,129,198,48,129,195,6,8,43,6,1,5,5,7,2,2,48,129,182,12,129,179,82,101,108,105,97,110,99,101,32,111,110,32,116,104,105,115,32,99,101,114,116,105,102,105,99,97,116,101,32,98,121,32,97,110,121,32,112,97,114,116,121,32,97,115,115,117,109,101,115,32,97,99,99,101,112,116,97,110,99,101,32,111,102,32,116,104,101,32,116,104,101,110,32,97,112,112,108,105,99,97,98,108,101,32,115,116,97,110,100,97,114,100,32,116,101,114,109,115,32,97,110,100,32,99,111,110,100,105,116,105,111,110,115,32,111,102,32,117,115,101,44,32,99,101,114,116,105,102,105,99,97,116,101,32,112,111,108,105,99,121,32,97,110,100,32,99,101,114,116,105,102,105,99,97,116,105,111,110,32,112,114,97,99,116,105,99,101,32,115,116,97,116,101,109,101,110,116,115,46,48,53,6,3,85,29,31,4,46,48,44,48,42,160,40,160,38,134,36,104,116,116,112,58,47,47,99,114,108,46,97,112,112,108,101,46,99,111,109,47,107,101,121,115,101,114,118,105,99,101,115,46,99,114,108,48,14,6,3,85,29,15,1,1,255,4,4,3,2,5,32,48,49,6,11,42,134,72,134,247,99,100,6,13,1,3,1,1,255,4,31,1,112,116,53,108,106,117,104,50,102,111,115,108,106,116,102,103,109,114,122,117,100,104,103,116,112,122,121,51,117,116,48,55,6,11,42,134,72,134,247,99,100,6,13,1,4,1,1,255,4,37,1,97,100,110,104,120,103,103,98,117,98,103,100,105,120,122,115,105,51,122,103,98,48,116,104,112,120,49,117,101,120,105,102,49,120,102,56,48,13,6,9,42,134,72,134,247,13,1,1,5,5,0,3,130,1,1,0,155,63,179,107,215,161,134,119,228,77,138,78,87,241,189,105,187,60,231,127,57,73,95,133,174,62,237,222,209,0,87,24,52,128,67,149,102,150,113,197,14,188,171,149,139,249,109,9,94,21,47,226,21,186,199,199,183,95,27,14,202,148,181,196,237,147,238,206,58,104,48,21,239,155,201,207,146,89,111,98,114,120,193,63,127,204,58,30,122,74,170,83,58,218,54,92,98,255,74,171,27,195,3,239,143,161,92,75,81,98,37,58,220,215,222,215,65,8,159,71,5,63,30,149,177,185,23,77,219,37,13,43,28,51,163,18,29,63,243,65,129,133,169,25,169,114,68,171,130,246,187,8,133,177,113,25,188,2,220,47,116,87,59,255,169,121,192,200,89,36,15,30,160,154,5,20,196,147,241,130,22,197,154,202,213,75,142,195,70,202,227,211,81,54,249,97,142,239,1,169,235,126,188,40,24,173,192,157,190,90,231,88,101,46,186,209,207,188,109,86,204,175,64,171,101,210,40,93,76,13,4,161,110,242,65,13,0,202,238,19,197,227,71,30,11,210,211,158,62,49,218,231,185,172,166,120])},OaPV:function(t,i,n){"use strict";function s(t){this.COLLECTION_INTERVAL=100,this.MIN_SAMPLE_SIZE=5e4,this.SAMPLE_QUEUE_LENGTH=40,this.INSTANCE_SAMPLE_QUEUE_LENGTH=15,this.BW_ADJUSTMENT_FACTOR=.8,this.KC=[],this.$C=[],this.averageBandwidth=t||0,this.instantaneousBandwidth=t||0}t.exports=s,s.prototype.destroy=function(){this.KC=[],this.$C=[],this.averageBandwidth=0,this.instantaneousTotalBandwidth=0},s.prototype.addSample=function(t){if(t&&!(t.time<=0)){this.tP(t);var i=0,n=this.KC.length,s=n*(n+1)/2,e=1/s;this.KC.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.averageBandwidth=this.BW_ADJUSTMENT_FACTOR*i,i=0,n=this.$C.length,e=1/(s=n*(n+1)/2),this.$C.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.instantaneousBandwidth=this.BW_ADJUSTMENT_FACTOR*i}},s.prototype.tP=function(t){!t||t.time<=0||(t.bandwidth=t.size/t.time*.008,t.bandwidth=Math.min(60,t.bandwidth),this.KC.push(t),this.$C.push(t),this.KC.length>this.SAMPLE_QUEUE_LENGTH&&this.KC.shift(),this.$C.length>this.INSTANCE_SAMPLE_QUEUE_LENGTH&&this.$C.shift())},s.prototype.replaceSamples=function(t,i){var n=t&&i?t/i*.008:0;if(n>0){this.averageBandwidth=n,this.KC=[];for(var s=Math.min(Math.ceil(i/this.COLLECTION_INTERVAL),this.SAMPLE_QUEUE_LENGTH),e=0;e<s;e++){var r={bandwidth:n};this.KC.push(r)}}}},Oj6Y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("aAR2"),e=function(){function t(){this.CN=new s.default}return t.prototype.updateOathPlayerOpss=function(t,i,n){this.CN.updateOathPlayerInfo(t,i,n)},t}();i.default=e},OtQS:function(t,i,n){"use strict";t.exports=o;var s=n("RwmF"),e=n("/iNa"),r=n("2fkz").CmdNames,h=n("V66C").StreamTypes;function o(t){this.iy=this.__controller.model,this.BE=t,this.SWITCH_ON_ERROR="switchOnError",this.ay=null,s.call(this,this.constructor.name),this.running=!1}e.inherits(o,s),o.prototype.destroy=function(){this.iy=null,this.BE=null,this.ay=null,this.running=!1},o.prototype.handle=function(t,i){if(t&&i&&i.type!==h.SUBTITLES){var n=i.index;this.ay=t;var s={streamIndex:n,error:t};this.running=!0;var e=this.BE.getCommand(r.CMD_ERROR_HANDLE);e?e.execute(n):this.BE.executeCommand(r.CMD_ERROR_HANDLE,s,this)}},o.prototype.onErrorHandleProgress=function(t,i){this.publish(this.SWITCH_ON_ERROR,i.index)},o.prototype.onErrorHandleError=function(t){this.running=!1,this.BE.removeCommand(t),this.__controller.notifyError(this.ay)},o.prototype.onLoadComplete=function(){this.running=!1;var t=this.BE.getCommand(r.CMD_ERROR_HANDLE);this.BE.removeCommand(t)}},P8vF:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div tabindex='0' class='vp-playlist-container "),s.b(s.v(s.f("modeClass",t,i,0))),s.b(" vp-pl-loading vp-playlist-theme-"),s.b(s.v(s.f("theme",t,i,0))),s.b(" "),s.b(s.v(s.f("streamModeClass",t,i,0))),s.b(" vp-vis-hidden'>"),s.b("\n"+n),s.s(s.f("isHiddenMode",t,i,1),t,i,0,156,216,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-upnext-title'>"),s.b(s.v(s.d("strings.UP_NEXT",t,i,0))),s.b("</div>"),s.b("\n"+n)})),t.pop()),s.b("    <div class='vp-playlist-pg-btn vp-playlist-pg-btn-prev disabled'></div>"),s.b("\n"+n),s.b("    <div class='vp-playlist-pg-btn vp-playlist-pg-btn-next'></div>"),s.b("\n"+n),s.b("    <div class='vp-playlist-strip'>"),s.b("\n"+n),s.b("        <ul class='vp-playlist-strip-list strip-animate'>"),s.b("\n"),s.b("\n"+n),s.b("        </ul>"),s.b("\n"+n),s.b("        <div class='vp-pl-loader-bg'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-pl-loader vp-spinner-icon'></div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},PCHl:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("ToqN"),u=n("A4+F"),a=n("oIMU"),c=n("mczr"),f=n("rBpt"),l=n("fLR+"),v=n("+Ojf"),d=n("ybd4");i.CC_LOCAL_STORAGE="yvpCC",function(t){t.srt="srt",t.vtt="vtt"}(r||(r={}));var p,m={none:"",dropshadow:"2px 1px 1px rgba(0, 0, 0, 1)",raised:"3px 3px 4px rgba(0, 0, 0, 0.75)",depressed:"0px -4px 4px rgba(0, 0, 0, 0.54)",uniform:"-2px -2px 0 #000, -2px 2px 0 #000, -2px 0 0 #000, 2px -2px 0 #000, 2px 2px 0 #000, 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000"},b=Math.floor((Math.pow(2,33)-1)/90);!function(t){t.CC_AVAILABILITY_UPDATE="ccAvailabilityUpdate",t.CC_LIST_FETCHED="ccListFetched",t.CC_LIST_FETCHED_MOBILE="ccListFetchedMobile",t.TOGGLE_SIMPLE_CC_CONTROLS="ccToggleSimpleCcControls"}(p=i.CCControllerEvent||(i.CCControllerEvent={}));var y=function(t){function n(i,n,s){var e=t.call(this,"CC Controller")||this;e.ty=i,e.iy=n,e.KA=s,e.iP=e.iy.ccUserPreferences||{},e.nP(),e.ty.addEventListener(a.VideoEvent.PLAYING,e.onMediaItemPlaybackStarted,e),o.userAgent.tv||e.ty.addEventListener(a.AD_BREAK_ENDED,e.onAdBreakEnded,e),e.ty.addEventListener(a.PLAYBACK_PROGRESS,e.F_,e),e.ty.addEventListener(a.FULLSCREEN_CHANGE,e.sP,e),e.ty.addEventListener(u.ExternalEvt.PLAYER_VIEWPORT_CHANGE,e.sP,e),e.ty.addEventListener(a.VTT_SEGMENT_LOADED,e.eP,e),e.ty.addEventListener(a.CCEvent.LANGUAGE_CHANGE,e.onLanguageChange,e),e.ty.addEventListener(a.CCEvent.UPDATE_STYLE,e.updateCCStyle,e),e.ty.addEventListener(a.CCEvent.POSITION_CHANGE,e.rP,e),e.ty.addEventListener(a.CCEvent.POSITION_FLOAT,e.hP,e),e.ty.addEventListener(a.CCEvent.USER_STYLE_PREFERENCES_CHANGE,e.oP,e),e.ty.addEventListener(a.SUBTITLE_TRACK_RECEIVED,e.uP,e),e.ty.addEventListener(a.AD_SUBTITLE_TRACK_ADDED,e.aP,e),e.cP=[],e.LM=null,e.fP=null,e.lP="en-us",e.vP={},e.dP=document.createElement("div"),v.default.classList(e.dP).add("vp-cc-element"),e.pP=document.createElement("span"),e.dP.appendChild(e.pP),e.mP=e.iP.fontSize,e.updateCCStyle();var r=e.KA.getMainElement();return r&&r.appendChild(e.dP),o.userAgent.tv&&(e.bP=new d.default(e.ty,e.iy)),e.yP=!1,e.iy.ccOnMute&&e.iy.mute&&(e.yP=!0),e.gP="",e}return e(n,t),n.saveCCSettingsToLocalStorage=function(t){var n=f.LocalStorage.get(i.CC_LOCAL_STORAGE)||{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=t[s]);f.LocalStorage.put(i.CC_LOCAL_STORAGE,n)},n.getLanguageForCode=function(t){(t=t.toLowerCase().split("-")).length>1&&(t.pop(),t=t.join("-"));return{id:"Bahasa Indonesia",ms:"Bahasa Melayu",cs:"čeština",da:"dansk",de:"Deutsch",et:"eesti",en:"English",es:"español",fil:"Filipino",fr:"français",hr:"hrvatski",it:"italiano",lv:"latviešu",lt:"lietuvių",hu:"magyar",nl:"Nederlands",nb:"norsk bokmål",pl:"polski",pt:"português",ro:"română",sk:"slovenčina",sl:"slovenščina",fi:"suomi",sv:"svenska",vi:"Tiếng Việt",tr:"Türkçe",el:"Ελληνικά",bg:"български",ru:"русский","sr-cyrl":"Српски",uk:"українська",he:"‎עברית‏‎",ar:"‎العربية‏‎",mr:"मराठी",hi:"हिन्दी",bn:"বাংলা",gu:"ગુજરાતી",ta:"தமிழ்",te:"తెలుగు",kn:"ಕನ್ನಡ",ml:"മലയാളം",th:"ไทย",ur:"اردو زبان",ko:"한국어","zh-hans":"简体中文","zh-hant":"繁體中文",ja:"日本人"}[t]},n.prototype.onMediaItemLoaded=function(t){if(t){if(this.LM&&this.LM.id!==t.id&&delete this.vP[this.LM.id],this.LM=t,this.wP=t.isLive(),!this.vP[t.id]){var i={ccAvailable:!1,vttPresent:!1,parsedCaptions:null};this.vP[t.id]=i,this.SP(t)?(i.vttPresent=!0,this.EP(!0)):(i.ccAvailable=!0,i.vttPresent=!1,this.OP=null,this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.AP(t.closedCaptions))}this.bP&&this.bP.onMediaItemLoaded(t)}},n.prototype.destroy=function(){this.vP=null},n.prototype.enableAndPersist=function(t){this._P(!0,t)},n.prototype.disable=function(){this.TP(!1)},n.prototype.disableAndPersist=function(){this.TP(!0)},n.prototype.enable=function(t){this._P(!1,t)},n.prototype.toggleFromUI=function(t,i){!1===i?t?this.enable():this.disable():t?this.enableAndPersist():this.disableAndPersist()},n.prototype.onAdPlaybackStarted=function(t){var i=this;o.userAgent.tv||window.setTimeout((function(){i.fP=t}),0)},n.prototype.onAdPlaybackProgress=function(t){var i=t.currentTime,n=t.duration;if(this.fP){var s=this.fP.adId||this.fP.id||null;s&&this.MP(s,i,n)}},n.prototype.onAdBreakEnded=function(){this.IP()||this.EP(!0),this.resetCC()},n.prototype.resetCC=function(){this.fP=null,this.IP()&&this.jP()},n.prototype.onMediaItemPlaybackStarted=function(){this.resetCC()},n.prototype.onMediaItemPlaybackEnded=function(){this.disable()},n.prototype.onLanguageChange=function(t){this.enableAndPersist(t)},n.prototype.updateCCStyle=function(){if(this.dP){var t=v.default.cssHexToRgb(this.iP.bgColor)||{r:0,g:0,b:0},i=0===this.iP.bgOpacity?"transparent":"rgba("+t.r+","+t.g+","+t.b+","+this.iP.bgOpacity+")",n=m[this.iP.fontEffect];this.dP.style.fontFamily=this.iP.fontName,this.sP(),this.dP.style.color=this.iP.fontColor,this.pP.style.backgroundColor=i,this.dP.style.textShadow=n,this.rP("top"===this.iP.ccPos),o.userAgent.tv&&(o.userAgent.samsung&&this.NP(),Object.assign(this.dP.style,{position:"absolute",width:"100%",textAlign:"center",bottom:"14%",zIndex:"30"}))}},n.prototype.nP=function(){var t=f.LocalStorage.get(i.CC_LOCAL_STORAGE),n=t&&t.ccSettings;if(n)for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&!l.isNullOrUndefined(n[s])&&(this.iP[s]=n[s])},n.prototype.jP=function(){var t,i=["en-us"],n=this.RP(),s=n?this.vP[n]:null;if(this.cP&&this.cP.length&&(i=this.cP.map((function(t){return t.lang}))),t=this.OP&&this.OP.lang||this.iP.lang,this.kP(!1),s&&!s.hasNonNativeCC){var e=s&&s.tracks||null;e&&e.length&&(i=e.map((function(t){return t.language})),t=this.LP&&this.LP.language||this.iP.lang,this.kP(!0))}this.publish(p.CC_LIST_FETCHED,{langList:i,selectedLang:t});var r=this.iP.show||this.yP;this.KA.controls.updateClosedCaptionButtonState(r),this.publish(p.CC_AVAILABILITY_UPDATE,!0),(this.iP.show||this.yP)&&this.enable()},n.prototype.RP=function(){var t,i,n=this.iy.playbackState;return n&&n.playingItem&&n.playingItem.adBreakItemId?t=n.playingItem.adBreakItemId:(i=this.iy.playlist.getCurrentItem())&&(t=i&&i.id),t},n.prototype.kP=function(t){this.publish(p.TOGGLE_SIMPLE_CC_CONTROLS,t)},n.prototype._P=function(t,i){var n=this,s=this.RP(),e=s?this.vP[s]:null;if(!e||!e.ccAvailable)return!1;var r=function(){var s=e.tracks||[];return!(!s||s.length<1)&&(n.LP=n.DP(e,i),!!n.LP&&(s.forEach((function(t){t===n.LP?t.mode="showing":t.mode="hidden"})),n.CP({show:!0,lang:n.LP.language},t),!0))};return e.vttPresent?(v.default.classList(this.dP).remove("vp-hide"),v.default.classList(this.dP).add("vp-show"),this.wP&&v.default.classList(this.dP).add("vp-live-cc"),e&&e.hasNonNativeCC?(this.CP({show:!0,lang:"en-us"},t),!0):r()):(this.OP=this.PP(i),this.OP||(this.OP=this.PP(this.iP.lang)||this.cP[0]),!!(o.userAgent.desktop||o.userAgent.tv||o.userAgent.android)&&(this.xP(this.OP,(function(i){i?(e.parsedCaptions=n.OP.parsedCC,v.default.classList(n.dP).remove("vp-hide"),v.default.classList(n.dP).add("vp-show"),n.CP({show:!0,lang:n.OP.lang},t)):r()})),!0))},n.prototype.PP=function(t){for(var i,n=0,s=this.cP;n<s.length;n++){var e=s[n];if(t&&e&&e.lang&&e.lang.toLowerCase()===t.toLowerCase().replace("_","-"))return e;"en-us"===e.lang&&(i=e)}return i},n.prototype.xP=function(t,i){var n=this;if(t){var s=this.RP(),e=s?this.vP[s]:null,h=t.format||r.vtt;if(e&&t){var u={url:t.url};if(o.userAgent.ie&&o.userAgent.ie<10&&(u.cors=!0),t.parsedCC)return i&&i(!0);f.Loader.ajax(t.url,{context:this,failureHandler:function(t){n.EP(),i&&i(!1)},successHandler:function(s){h===r.srt?e.parsedCaptions=t.parsedCC=n.VP(s):h===r.vtt&&(e.parsedCaptions=t.parsedCC=n.BP(s||"",0,!1)),e.parsedCaptions&&(e.hasNonNativeCC=!0,n.LM&&n.LM.setCCAvailability(!0),i&&i(!0)),i&&i(!1)}})}else i&&i(!1)}else i&&i(!1)},n.prototype.EP=function(t){if(this.publish(p.CC_AVAILABILITY_UPDATE,!1),this.OP=null,this.LP=null,this.disable(),t){var i=this.RP(),n=i?this.vP[i]:null;n&&(n.ccAvailable=!1),this.cP=[]}},n.prototype.TP=function(t){var i=this.RP(),n=i?this.vP[i]:null;return this.CP({show:!1},t),this.wP&&!this.iy.playbackState.ad||!n||n.vttPresent||(n.parsedCaptions=null),n&&n.tracks&&n.tracks.forEach((function(t){t.mode="hidden"})),v.default.classList(this.dP).remove("vp-show"),v.default.classList(this.dP).add("vp-hide"),!0},n.prototype.CP=function(t,i){t||(t={});var s=t&&t.show,e=t&&t.lang;this.ty.publish(a.CCEvent.TOGGLE,s),i&&(l.isBoolean(s)&&(this.iP.show=s,this.yP=s),e&&l.isString(e)&&(this.iP.lang=e),n.saveCCSettingsToLocalStorage({ccSettings:this.iP}))},n.prototype.F_=function(t,i,n){var s=this.LM&&this.LM.id||null;s&&!this.fP&&(this.wP?this.FP(s,i):this.MP(s,i,n))},n.prototype.FP=function(t,i){var n=this;if(t){var s=this.vP[t];if(s&&s.hasNonNativeCC&&this.zP(s),s&&s.parsedCaptions&&s.parsedCaptions.length){for(var e=0;e<s.parsedCaptions.length&&s.parsedCaptions[e].end<i;)e++;if(e>0&&(setTimeout((function(){s.parsedCaptions.splice(0,e)}),100),e>=s.parsedCaptions.length))return;var r=!1;if(s.parsedCaptions[e]&&(r=i>=s.parsedCaptions[e].begin&&i<=s.parsedCaptions[e].end),r){var h=s.parsedCaptions[e].text||"";this.HP(h,s.parsedCaptions[e].settings)}else this.YP||(this.YP=setTimeout((function(){n.HP(""),clearTimeout(n.YP),n.YP=null}),1e3))}else""!==this.pP.innerHTML&&this.HP("")}},n.prototype.MP=function(t,i,n){if(t){var s=this.vP[t];if(s&&s.hasNonNativeCC&&this.zP(s),s&&s.ccAvailable&&s.parsedCaptions&&s.parsedCaptions.length){for(var e=i/n,r=s.parsedCaptions.length,h=Math.floor(e*r);h>0&&h<r&&i<s.parsedCaptions[h].begin;)h--;for(;h<r&&i>s.parsedCaptions[h].end;)h++;var o=h>=0&&h<r;if(o=o&&s.parsedCaptions[h].begin<=i&&i<=s.parsedCaptions[h].end&&!!s.parsedCaptions[h].text){var u=s.parsedCaptions[h].text||"";this.HP(u,s.parsedCaptions[h].settings)}else this.HP("")}else this.HP("")}},n.prototype.HP=function(t,i){if(t!==this.gP)if(this.gP=t,t){if(this.pP.innerHTML=o.userAgent.tv?t:this.GP(t),i)for(var n=0,s=i;n<s.length;n++){var e=s[n].split(":"),r=e[0],h=e[1];"align"===r&&"start"===h?this.dP.style.textAlign="left":"line"!==r||this.iP.ccPos?"position"===r&&(this.dP.style.left=h,this.WP(),this.dP.style.right=""):this.dP.style.top=h}}else this.pP.innerHTML=""},n.prototype.WP=function(){var t=parseInt(getComputedStyle(this.dP).left,10),i=this.iy.uiState.videoWidth-t-10+"px";this.dP.style.width=i},n.prototype.uP=function(t){if(t&&t.itemId){var i=t.itemId,n=this.vP[i];n||(n={ccAvailable:!1,vttPresent:!1,parsedCaptions:null,tracks:[]},this.vP[i]=n);var s=t.track;s&&(s.mode="hidden",n.ccAvailable=!0,n.tracks||(n.tracks=[]),n.tracks.push(s));var e=this.RP();e&&e===i&&this.jP()}},n.prototype.aP=function(t){var i=this;this.vP[t.itemId]={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.cP.push(t.track),this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.publish(p.CC_LIST_FETCHED,{langList:[t.track.lang],selectedLang:t.track.lang}),this.xP(t.track,(function(n){i.OP=i.PP(t.track.lang),i.OP.ccAvailable=!0,v.default.classList(i.dP).remove("vp-hide"),v.default.classList(i.dP).add("vp-show"),i.vP[t.itemId]=i.OP,i.jP(),i.CP({show:!0,lang:i.OP.lang},!1),i._P(!1,t.track.lang)}))},n.prototype.GP=function(t){var i;if(t){var n=t.split("<br/>");if(n.length>1){for(i=0;i<n.length;i++)n[i].trim()&&(n[i]="&nbsp;"+n[i]+"&nbsp;",i<n.length-1&&(n[i]+="<br/>"));return n.join("")}t=t.trim(),this.pP.innerHTML=t;var s=Math.floor(this.pP.offsetHeight/(this.mP+2)),e=[],r=0,h=void 0,o=void 0;for(i=0;i<s;i++)(h=i===s-1)?o=t.length:(o=Math.floor(t.length/s*(i+1)),/\s/.test(t.charAt(o))||(o=t.indexOf(" ",t.lastIndexOf(" ",o)))),o>r&&e.push("&nbsp;"+t.substring(r,o)+"&nbsp;"+(h?"":"<br/>")),r=o+1;return e.join("")}return t},n.prototype.zP=function(t){(t&&t.tracks||[]).forEach((function(t){t.mode="hidden"}))},n.prototype.oP=function(){this.updateCCStyle()},n.prototype.sP=function(){var t=0,i=this.KA.getMainElement();i&&(t=i.offsetWidth);var n=Math.ceil(this.iP.fontSize*(t/640));t>640?n=Math.ceil(.8*n):t<640?n<10&&(n=10):n=this.iP.fontSize,this.mP=n,this.dP.style.fontSize=this.mP+"px"},n.prototype.eP=function(t,i){if(t){var n=t.itemId;if(n){var s=this.vP[n];if(s||(s={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.vP[n]=s),s.hasNonNativeCC=!0,!s.parsedCaptions||!s.ccAvailable){s.parsedCaptions=s.parsedCaptions||[],s.vttPresent=!0,s.ccAvailable=!0;var e=this.iy.playlist.getMediaItemById(n);e&&e.setCCAvailability(!0);var r=this.RP();r&&r===n&&this.jP()}if(s.vttPresent){var h=t.adjustedTime?t.adjustedTime:0,o=this.BP(t.data||"",h,i);s.parsedCaptions=this.qP(s.parsedCaptions,o)}}}},n.prototype.qP=function(t,i){if(t&&i){if(!t.length)return i;for(var n=0;n<i.length;){for(var s=t.length-1;s>=0;){if(t[s].begin===i[n].begin){t.splice(s,1,i[n]);break}if(!(t[s].begin>i[n].begin)){t.splice(s+1,0,i[n]);break}s--}-1===s&&t[0].begin>i[n].begin&&t.unshift(i[n]),n++}return t}},n.prototype.SP=function(t){if(!t)return!1;if(this.wP||!this.wP&&t.rendererType===c.RendererType.HTML5_HLS){var i=t.getSubtitleStreams();if(i&&i.length>0)return!0}return!t.closedCaptions||!t.closedCaptions.length},n.prototype.AP=function(t){var i=this;this.XP((function(t){i.cP=t,i.cP.length>0?(o.userAgent.mobile?i.publish(p.CC_LIST_FETCHED_MOBILE,{langList:i.cP,selectedLang:i.iP.lang}):(i.publish(p.CC_LIST_FETCHED,{langList:i.cP.map((function(t){return t.lang})),selectedLang:i.iP.lang}),i.LM&&i.LM.setCCAvailability(!0)),i.iP.show||i.yP?i.enable(i.iP.lang):i.disable()):i.EP(!0)}),t,o.userAgent.desktop||o.userAgent.tv)},n.prototype.XP=function(t,i,n){t(i.filter((function(t){return"text/vtt"===t.content_type})))},n.prototype.VP=function(t){var i=[],n=t.split(/\r\n|\r|\n/),s=function(t){var i=null,n=(t=t.replace(",",".")).split(":");try{i=3600*Number(n[0])+60*Number(n[1])+Number(n[2])}catch(t){return null}return i};try{if(n.length<=1)throw new Error("Invalid SRT document: no data found");var e=void 0,r=void 0,h=void 0,o=void 0,u=0;for(e=0;e<n.length;e++){var a={},c=o=+(r=n[e]);if(""!==r)if(!isNaN(c)&&u<c)if(-1!==(r=n[++e]).indexOf(" --\x3e ")){if(h=r.split(" --\x3e "),a.begin=h[0].trim(),a.end=h[1].trim(),(r=n[++e])&&""!==r){a.text=r,n[e+1]&&""!==n[e+1]&&(a.text+="<br />"+n[e+1],e++);var f=a.begin,l=void 0;for(a.end?l=a.end:a.dur&&(l=f+a.dur),i.push({begin:s(f),end:s(l),text:a.text});""!==n[e]&&e<n.length;)e++;u=o}}else for(;""!==n[e]&&e<n.length;)e++;else for(;""!==n[e]&&e<n.length;)e++}}catch(t){}return i},n.prototype.BP=function(t,i,n){for(var s,e,r,h,u=t.split(/\r\n|\r|\n/),a=u.length,c=/((?:\d{2,}:)?\d{2}:\d{2}\.\d{2,3})\s+.+\s+((?:\d{2,}:)?\d{2}:\d{2}\.\d{2,3})/,f=[],l=0,v=0,d=0;d<a;d++)if(c.test(u[d])){if(v>0){for(r=u[e=d-1]&&u[e].trim(),h=u[e-1]&&u[e-1].trim(),""!==r&&""===h&&e--,s=v;s<=e;s++)f[l].text+=u[s]+(s+1<=e?"<br/>":"");l++}var p=u[d].match(c);if(!p)continue;!n||this.QP||o.userAgent.tizen||(this.QP=1e3*this.ZP(p[1]));var m=1e3*this.ZP(p[1]),y=1e3*this.ZP(p[2]);n&&!o.userAgent.tizen?(m-=this.QP,y-=this.QP):(m=m%b+i,y=y%b+i),f[l]={begin:m/1e3,end:y/1e3,text:""},v=d+1;for(var g=[],w=u[d].split(/\s+/).filter((function(t){return t.length>0})),S=3;S<w.length;S++)g.push(w[S]);g.length>0&&(f[l].settings=g)}if(v>0&&v<a)for(s=v;s<a;s++)f[l].text+=u[s]+(s+2<a?"<br/>":"");return f},n.prototype.ZP=function(t){var i,n,s=0;if(t)for(var e=(n=(i=t.split(":")).length)-1;e>=0;e--)s+=i[n-1-e]*Math.pow(60,e);return s},n.prototype.DP=function(t,i){var n,s=t&&t.tracks||[],e=function(t){s.some((function(i){var s=i.language;return!(!s||!t||s.toLowerCase()!==t.toLowerCase())&&(n=i,!0)}))};return e(i=i||this.iP.lang||"en-us"),!n&&this.iP.lang&&e(this.iP.lang),!n&&s[0]&&(n=s[0]),n},n.prototype.hP=function(t){var i=this.dP,n=this.RP(),s=n?this.vP[n]:null;s&&s.ccAvailable&&!v.default.classList(i).contains("vp-hide")&&("bottom"===this.iP.ccPos&&(t?(v.default.classList(i).remove("float"),v.default.classList(i).remove("bottom")):(v.default.classList(i).add("float"),v.default.classList(i).add("bottom"))))},n.prototype.IP=function(){var t=this.LM?this.vP[this.LM.id]:null;return t&&t.ccAvailable||!1},n.prototype.rP=function(t){var i=this.dP;t?(v.default.classList(i).remove("bottom"),v.default.classList(i).add("top")):(v.default.classList(i).add("bottom"),v.default.classList(i).remove("top"))},n.prototype.NP=function(){var t=m[this.iP.fontEffect],i=this.iP.windowBgColor&&v.default.cssHexToRgb(this.iP.windowBgColor)||{r:0,g:0,b:0},n=0===this.iP.windowBgOpacity?"transparent":"rgba("+i.r+","+i.g+","+i.b+","+this.iP.windowBgOpacity+")";this.dP.style.backgroundColor=n;var s=this.iP.fontColor&&v.default.cssHexToRgb(this.iP.fontColor)||{r:255,g:255,b:255},e=0===this.iP.fontOpacity?"transparent":"rgba("+s.r+","+s.g+","+s.b+","+this.iP.fontOpacity+")";this.pP.style.color=e;var r=this.iP.fontEdgeColor&&v.default.cssHexToRgb(this.iP.fontEdgeColor)||{r:255,g:255,b:255};switch(this.iP.fontEffect){case"dropshadow":case"raised":case"depressed":t=t.replace("rgba(0, 0, 0","rgba("+r.r+", "+r.g+", "+r.b);break;case"uniform":t=t.replace(/#000/g,this.iP.fontEdgeColor)}this.dP.style["text-shadow"]=t},n}(h.default);i.CCController=y},PKsF:function(t,i,n){!function(t){var i=/\S/,n=/\"/g,s=/\n/g,e=/\r/g,r=/\\/g,h=/\u2028/,o=/\u2029/;function u(t){"}"===t.n.substr(t.n.length-1)&&(t.n=t.n.substring(0,t.n.length-1))}function a(t){return t.trim?t.trim():t.replace(/^\s*|\s*$/g,"")}function c(t,i,n){if(i.charAt(n)!=t.charAt(0))return!1;for(var s=1,e=t.length;s<e;s++)if(i.charAt(n+s)!=t.charAt(s))return!1;return!0}t.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,JP:9,"{":10,"&":11,KP:12},t.scan=function(n,s){var e=n.length,r=0,h=null,o=null,f="",l=[],v=!1,d=0,p=0,m="{{",b="}}";function y(){f.length>0&&(l.push({tag:"_t",text:new String(f)}),f="")}function g(n,s){if(y(),n&&function(){for(var n=!0,s=p;s<l.length;s++)if(!(n=t.tags[l[s].tag]<t.tags.JP||"_t"==l[s].tag&&null===l[s].text.match(i)))return!1;return n}())for(var e,r=p;r<l.length;r++)l[r].text&&((e=l[r+1])&&">"==e.tag&&(e.indent=l[r].text.toString()),l.splice(r,1));else s||l.push({tag:"\n"});v=!1,p=l.length}function w(t,i){var n="="+b,s=t.indexOf(n,i),e=a(t.substring(t.indexOf("=",i)+1,s)).split(" ");return m=e[0],b=e[e.length-1],s+n.length-1}for(s&&(s=s.split(" "),m=s[0],b=s[1]),d=0;d<e;d++)0==r?c(m,n,d)?(--d,y(),r=1):"\n"==n.charAt(d)?g(v):f+=n.charAt(d):1==r?(d+=m.length-1,"="==(h=(o=t.tags[n.charAt(d+1)])?n.charAt(d+1):"_v")?(d=w(n,d),r=0):(o&&d++,r=2),v=d):c(b,n,d)?(l.push({tag:h,n:a(f),otag:m,ctag:b,i:"/"==h?v-m.length:d+b.length}),f="",d+=b.length-1,r=0,"{"==h&&("}}"==b?d++:u(l[l.length-1]))):f+=n.charAt(d);return g(v,!0),l};var f={KP:!0,"\n":!0,$:!0,"/":!0};function l(t,i){for(var n=0,s=i.length;n<s;n++)if(i[n].o==t.n)return t.tag="#",!0}function v(t,i,n){for(var s=0,e=n.length;s<e;s++)if(n[s].c==t&&n[s].o==i)return!0}function d(t){var i=[];for(var n in t.partials)i.push('"'+m(n)+'":{name:"'+m(t.partials[n].name)+'", '+d(t.partials[n])+"}");return"partials: {"+i.join(",")+"}, subs: "+function(t){var i=[];for(var n in t)i.push('"'+m(n)+'": function(c,p,t,i) {'+t[n]+"}");return"{ "+i.join(",")+" }"}(t.subs)}t.stringify=function(i,n,s){return"{code: function (c,p,i) { "+t.wrapMain(i.code)+" },"+d(i)+"}"};var p=0;function m(t){return t.replace(r,"\\\\").replace(n,'\\"').replace(s,"\\n").replace(e,"\\r").replace(h,"\\u2028").replace(o,"\\u2029")}function b(t){return~t.indexOf(".")?"d":"f"}function y(t,i){var n="<"+(i.prefix||"")+t.n+p++;return i.partials[n]={name:t.n,partials:{}},i.code+='t.b(t.rp("'+m(n)+'",c,p,"'+(t.indent||"")+'"));',n}function g(t,i){i.code+="t.b(t.t(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'}function w(t){return"t.b("+t+");"}t.generate=function(i,n,s){p=0;var e={code:"",subs:{},partials:{}};return t.walk(i,e),s.asString?this.stringify(e,n,s):this.makeTemplate(e,n,s)},t.wrapMain=function(t){return'var t=this;t.b(i=i||"");'+t+"return t.fl();"},t.template=t.Template,t.makeTemplate=function(t,i,n){var s=this.makePartials(t);return s.code=new Function("c","p","i",this.wrapMain(t.code)),new this.template(s,i,this,n)},t.makePartials=function(t){var i,n={subs:{},partials:t.partials,name:t.name};for(i in n.partials)n.partials[i]=this.makePartials(n.partials[i]);for(i in t.subs)n.subs[i]=new Function("c","p","t","i",t.subs[i]);return n},t.codegen={"#":function(i,n){n.code+="if(t.s(t."+b(i.n)+'("'+m(i.n)+'",c,p,1),c,p,0,'+i.i+","+i.end+',"'+i.otag+" "+i.ctag+'")){t.rs(c,p,function(c,p,t){',t.walk(i.nodes,n),n.code+="});c.pop();}"},"^":function(i,n){n.code+="if(!t.s(t."+b(i.n)+'("'+m(i.n)+'",c,p,1),c,p,1,0,0,"")){',t.walk(i.nodes,n),n.code+="};"},">":y,"<":function(i,n){var s={partials:{},code:"",subs:{},inPartial:!0};t.walk(i.nodes,s);var e=n.partials[y(i,n)];e.subs=s.subs,e.partials=s.partials},$:function(i,n){var s={subs:{},code:"",partials:n.partials,prefix:i.n};t.walk(i.nodes,s),n.subs[i.n]=s.code,n.inPartial||(n.code+='t.sub("'+m(i.n)+'",c,p,i);')},"\n":function(t,i){i.code+=w('"\\n"'+(t.last?"":" + i"))},JP:function(t,i){i.code+="t.b(t.v(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'},KP:function(t,i){i.code+=w('"'+m(t.text)+'"')},"{":g,"&":g},t.walk=function(i,n){for(var s,e=0,r=i.length;e<r;e++)(s=t.codegen[i[e].tag])&&s(i[e],n);return n},t.parse=function(i,n,s){return function i(n,s,e,r){var h,o=[],u=null,a=null;for(h=e[e.length-1];n.length>0;){if(a=n.shift(),h&&"<"==h.tag&&!(a.tag in f))throw new Error("Illegal content in < super tag.");if(t.tags[a.tag]<=t.tags.$||l(a,r))e.push(a),a.nodes=i(n,a.tag,e,r);else{if("/"==a.tag){if(0===e.length)throw new Error("Closing tag without opener: /"+a.n);if(u=e.pop(),a.n!=u.n&&!v(a.n,u.n,r))throw new Error("Nesting error: "+u.n+" vs. "+a.n);return u.end=a.i,o}"\n"==a.tag&&(a.last=0==n.length||"\n"==n[0].tag)}o.push(a)}if(e.length>0)throw new Error("missing closing tag: "+e.pop().n);return o}(i,0,[],(s=s||{}).sectionTags||[])},t.cache={},t.cacheKey=function(t,i){return[t,!!i.asString,!!i.disableLambda,i.delimiters,!!i.modelGet].join("||")},t.compile=function(i,n){n=n||{};var s=t.cacheKey(i,n),e=this.cache[s];if(e){var r=e.partials;for(var h in r)delete r[h].instance;return e}return e=this.generate(this.parse(this.scan(i,n.delimiters),i,n),i,n),this.cache[s]=e}}(i)},Pp1v:function(t,i,n){"use strict";t.exports=a;var s=n("/iNa"),e=n("yvII").Events,r=n("2fkz"),h=r.Command,o=r.CmdNames,u=r.CmdEvents;function a(t,i){if(!t||!t.controller)throw new Error("Invalid argument: data argument of the command is not complete");h.call(this,t,i),this.$P=1,this.KE=[403],this.name=o.CMD_LICENSE_LOAD,this.zD=t.controller.services.getNewLoader(this.tx())}s.inherits(a,h),a.prototype.destroy=function(){this.zD.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t.zD.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t.zD.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.zD.load(i,t.data.challenge)},a.prototype.cancel=function(){},a.prototype.tx=function(){return{method:"POST",responseType:"arraybuffer",headerFields:this.data.headerFields,url:this.data.url,maxRetries:this.$P,retryExclusion:this.KE}}},Pqkt:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("UDn2"),r=n("ma23"),h={title:"",description:"",posterUrl:"",thumbnail:"",duration:0,type:e.MediaItemType.VOD},o=function(){function t(){this.version="0.2.292",this.mimetype=e.MediaItemMimeType.UPLYNK,this.type=r.PluginType.METADATA,this.ux=[],this.vx={},s.Loader.preconnect("preconnect-uplynk","//content.uplynk.com")}return t.prototype.prepare=function(){},t.prototype.resolve=function(t,i,n){var s=this;if(Array.isArray(t)&&0!==t.length){var e=t.map((function(t){return new Promise((function(i,e){s.yx(t,i,e,n)}))}));this.pI=!1;var r=function(){s.pI=!0};this.ux.push(r),Promise.all(e).then((function(t){s.pI||(s.wx(r),n.onComplete(t))})).catch((function(t){if(!s.pI){s.wx(r);var i={code:"1",message:t.toString()};n.onError(i)}}))}},t.prototype.recover=function(t,i,n){},t.prototype.cancel=function(){this.ux.forEach((function(t){t()})),this.ux=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.yx=function(t,i,n,s){var r=this,o=t.id,u=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var e=t&&t.length?t[0]:null,h=t.length?t[4]:null,o=t.length?t[5]:null;r.pI||s.onApiCallInfo({url:o&&o.url||null,perfObj:h}),n(e)},a=function(n,e,u,a){t.metadata=t.metadata||{},t.metadata.title=n.meta&&n.meta.title||n.desc||h.title,t.metadata.description=n.desc||h.description,t.metadata.posterUrl=n.poster_url||h.posterUrl,t.metadata.thumbnail=n.poster_url||h.thumbnail,t.metadata.duration=n.duration||h.duration,t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/uplynk"},t.visualSeekData.assetInfo={maxSlice:n.max_slice,sliceDuration:n.slice_dur,thumbPrefix:n.thumb_prefix,thumbs:n.thumbs},r.vx[o]=!0,r.pI||s.onApiCallInfo({url:a&&a.url||null,perfObj:u}),i(t)};!function(){var n=t.metadata;if(!n||n.type!==e.MediaItemType.LIVE_CHANNEL&&n.type!==e.MediaItemType.LIVE_EVENT||r.Sx(t),r.yI(t)||r.vx[o])return i(t);r.Ex(t,a,u)}()},t.prototype.Ex=function(t,i,n){var s=t.customConfig&&t.customConfig.sid,e="https://content.uplynk.com"+"/player/assetinfo/{assetid}.json".replace("{assetid}",t.id)+(s?"?pbs="+s:"");this.Ox(e,i,n)},t.prototype.Ox=function(t,i,n){var e=this,r=s.Loader.ajax(t,{context:this,successHandler:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.wx(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e.wx(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.ux.push(r)},t.prototype.wx=function(t){if(t){var i=this.ux.indexOf(t);i>=0&&this.ux.splice(i,1)}},t.prototype.Sx=function(t){for(var i in t.metadata=t.metadata||{},h)void 0===t.metadata[i]&&(t.metadata[i]=h[i])},t.prototype.yI=function(t){return!(!t||!t.metadata||void 0===t.metadata.title||void 0===t.metadata.description||void 0===t.metadata.thumbnail||void 0===t.metadata.posterUrl||void 0===t.metadata.duration)},t}();i.default=o},Pu4D:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("s4NR"),h=n("t8Yn"),o=n("c+yx"),u=n("TQia"),a=function(t){function i(i){return t.call(this,i)||this}return e(i,t),i.sendGenericBeacon=function(t){var i="https://bats.video.yahoo.com/p?"+r.encode(t,"&","=");i=i.replace(/[!'()]/g,escape).replace(/\*/g,"%2A"),o.default.sendImageBeacon(i)},i.prototype.SL=function(i){this.Ax(i),t.prototype.SL.call(this,i)},i.prototype.OL=function(i,n){switch(i.evt&&i.evt.toLowerCase()){case"ad_dlv":this.Ax(n)}t.prototype.OL.call(this,i,n)},i.prototype.AL=function(t){return new u.default(t)},i.prototype.Ax=function(t){t.pgltcy=this.iy.pageLatency&&this.iy.pageLatency.toString()||"na";var i=this.iy.mmActivityId;i&&(t.mm_activity_id=i)},i}(h.Analytics.VdmsAnalytics);i.default=a},PwYT:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0}),i.listenEventDispatcherEvts=function(t,i,n){var e={},r=Array.isArray(i)?i:[i];return r.forEach((function(i){var r=function(i){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];n.apply(void 0,s([t,i],e))}}(i);t.addEventListener(i,r),e[i]=r})),function(){e&&(r.forEach((function(i){var n=e[i];t.removeEventListener(i,n)})),r=e=null)}}},"Q+FR":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("8PPl"),e=n("WSjl"),r=n("+Ojf"),h=function(){function t(t){this.Ry=t}return t.prototype.play=function(t,i){void 0===t&&(t=0),this.Ry.getPlaybackState()===e.States.INIT&&t>0&&t<this.getDuration()&&(this.Ry.startTime=t),this.Ry.play(this._x(i))},t.prototype.pause=function(t){this.Ry.pause(this._x(t))},t.prototype.preload=function(){this.Ry.preload()},t.prototype.seek=function(t){this.Ry.seek(t)},t.prototype.disableControls=function(){this.Ry.disableControls()},t.prototype.enableControls=function(){this.Ry.enableControls()},t.prototype.enableCC=function(t){this.Ry.enableCC(t)},t.prototype.disableCC=function(){this.Ry.disableCC()},t.prototype.isPlayMode=function(){return this.Ry.isPlayMode()},t.prototype.getPlaybackState=function(){return this.Ry.getPlaybackState()},t.prototype.isLoading=function(){return this.Ry.isLoading()},t.prototype.getDuration=function(){return this.Ry.duration},t.prototype.getRawDuration=function(){return this.Ry.rawDuration},t.prototype.getCurrentTime=function(){return this.Ry.currentTime},t.prototype.getRawCurrentTime=function(){return this.Ry.rawCurrentTime},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.Ry.fullscreen=t},t.prototype.getFullscreen=function(){return this.Ry.fullscreen},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.Ry.volume=t},t.prototype.getVolume=function(){return this.Ry.volume},t.prototype.setMute=function(t){this.Ry.mute=t},t.prototype.getMute=function(){return this.Ry.mute},t.prototype.setLoop=function(t){this.Ry.loop=t},t.prototype.setContinuousPlay=function(t){this.Ry.continuousPlay=t},t.prototype.resumeContinuousPlay=function(){this.Ry.resumeContinuousPlay(this._x())},t.prototype.getCurrentDate=function(){return this.Ry.currentDate},t.prototype.setAudioLanguage=function(t){},t.prototype._x=function(t){var i=t&&r.default.isValidRequestAction(t.requestAction);return{type:s.REQUEST_TYPES.API,action:i?t.requestAction:null}},t}();i.default=h},QOmE:function(t,i,n){"use strict";t.exports=o;var s=n("x7P6").StreamingMode,e=n("x7P6").MetadataTypes,r=n("TsVQ"),h=n("tPWK");function o(){this.ERRORS={INVALID_M3U8:1,EMPTY_DATA:2,NO_SEGMENTS:3},this.mpdParser=new r}o.prototype.destroy=function(){this.mpdParser.destroy()},o.prototype.parse=function(t){if(!t)return null;return t.type===e.STRUCTURED?(new h).parseStructuredMetadata(t):this.Tx(t)},o.prototype.Tx=function(t){var i={},n=t.rawData;return""!==n&&n?-1!==n.indexOf("<MPD")?(t.streamingMode=s.DASH,this.mpdParser.parse(t)):-1!==n.indexOf("#EXTM3U")?(t.streamingMode=s.HLS,(new h).parse(t)):(i.error=this.ERRORS.INVALID_M3U8,i):(i.error=this.ERRORS.EMPTY_DATA,i)}},"R+G7":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=function(){function t(){}return Object.defineProperty(t,"deviceType",{get:function(){return s.userAgent.mobile?s.userAgent.ipad||s.userAgent.androidTablet?"tablet":"phone":s.userAgent.tv?"tv":"desktop"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"canPlayInline",{get:function(){return!s.userAgent.mobile||(s.userAgent.android&&s.userAgent.chrome>=50||s.userAgent.ios&&s.userAgent.iosVersion>=10)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasMuteAtFirstPlayRestriction",{get:function(){return s.userAgent.android&&s.userAgent.chrome>=56},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasLoadRestriction",{get:function(){return s.userAgent.ios&&s.userAgent.iosVersion>=11},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasTouchRestrictions",{get:function(){return s.userAgent.mobile&&(t.hasNativeAutoplaySupport||t.hasLoadRestriction)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"needsGestureToPlay",{get:function(){return t.Mx(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"needsGestureToPlayUnmuted",{get:function(){return t.Mx(!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"autoplaySupported",{get:function(){return t.canPlayInline&&t.isAutoplaySupported()},enumerable:!0,configurable:!0}),Object.defineProperty(t,"drmSupported",{get:function(){return s.userAgent.ios?!(!(s.userAgent.iosVersion>11.2&&s.userAgent.safari)||s.userAgent.iosWebView||s.userAgent.chrome||s.userAgent.firefox):s.userAgent.android?!!s.userAgent.chrome:!!s.userAgent.desktop},enumerable:!0,configurable:!0}),Object.defineProperty(t,"autoplayByUIEvtOnly",{get:function(){return t.autoplaySupported&&t.canAutoplayByUIEvtOnly()},enumerable:!0,configurable:!0}),Object.defineProperty(t,"hasNativeAutoplaySupport",{get:function(){return t.autoplaySupported&&!t.autoplayByUIEvtOnly},enumerable:!0,configurable:!0}),Object.defineProperty(t,"airplaySupported",{get:function(){return!1},enumerable:!0,configurable:!0}),t.updateNetwork=function(i,n){n&&!t.network.available&&(t.network.mobile=i,t.network.connectionType=n,t.network.available=!0)},t.update=function(t,i){"boolean"==typeof t&&i&&!this.network.available&&(this.network.mobile=t,this.network.connectionType=i,this.network.available=!0)},t.isAutoplaySupported=function(){return!s.userAgent.mobile||(s.userAgent.android&&s.userAgent.chrome>=50||s.userAgent.ios&&s.userAgent.iosVersion>=10||!1)},t.canAutoplayByUIEvtOnly=function(){return!!(s.userAgent.android&&s.userAgent.chrome>=50&&s.userAgent.chrome<53||s.userAgent.iosVersion>=10&&t.needsGestureToPlay)},t.Mx=function(t){var i=window.document.createElement("video");i.muted=t,i.setAttribute("playsinline","true");var n=i.play&&i.play();n&&n.catch((function(t){}));var s=i.paused;return i=null,s},t.network={available:!1,connectionType:"unknown",mobile:!1},t}();i.default=e},R6Gm:function(t,i,n){"use strict";t.exports=u;var s=n("2fkz"),e=s.CmdEvents,r=s.CmdNames,h=n("tGho"),o=n("/iNa");function u(){for(var t in this.uD={},this.Sy={},r)r.hasOwnProperty(t)&&(this.uD[r[t]]={})}u.prototype.destroy=function(){this.removeAllCommands(),this.uD=null},u.prototype.executeCommand=function(t,i,n){i&&(i.controller=this.__controller);var s=this.createCommand(t,i,n);return s&&s.execute(),s},u.prototype.createCommand=function(t,i,n){var s;try{s=h.create(t,i,n)}catch(t){s=null}if(!s)return null;for(var r in s.key=o.guid(),e)if(e.hasOwnProperty(r)){var u=e[r],a="on"+t+u;n[a]&&(this.Sy[u+t+s.key]=s.addEventListener(u,n[a],n))}return this.uD[t][s.key]=s,s},u.prototype.removeCommand=function(t){if(t){var i=this.uD[t.name];if(i[t.key]===t){if(delete i[t.key],t.client)for(var n in e)if(e.hasOwnProperty(n)){var s=e[n],r="on"+t.name+s;t.client[r]&&(t.removeEventListener(s,this.Sy[s+t.name+t.key]),delete this.Sy[s+t.name+t.key])}t.destroy()}}},u.prototype.removeRelatedCommands=function(t){if(this.uD.hasOwnProperty(t)){var i=this.uD[t];for(var n in i)if(i.hasOwnProperty(n)){var s=i[n];s&&this.removeCommand(s)}}},u.prototype.removeAllCommands=function(){for(var t in this.uD)this.uD.hasOwnProperty(t)&&this.removeRelatedCommands(t)},u.prototype.getCommand=function(t){var i=this.uD[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]}},R9ZO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("c+yx"),r=n("AuZZ"),h="https:"===document.location.protocol?"https://sb.":"http://b.";i.COMSCORE_IAB_VENDOR_ID=77;var o=function(){function t(t,i){this.S_=t,this.jy=i,this.Ix=!1,this.Nx=0,this.Rx=0,this.Lx=0,this.Dx=!1,this.Cx="",this.Px=null,t&&i&&(e.default.initIframeCmp(),this.xx(),this.Ux={},this.Vx=[],this.Bx={},this.Fx())}return t.prototype.destroy=function(){this.Ux=null,this.Vx=null,this.Bx=null,this.Px=null},t.prototype.sy=function(){this.S_.addEventListener(s.Events.MEDIA_ITEM_METADATA,this.zx,this),this.S_.addEventListener(s.Events.PLAYBACK_COMPLETE,this.EL,this),this.S_.addEventListener(s.Events.PLAYBACK_SEEKING,this.Hx,this),this.S_.addEventListener(s.Events.PLAYBACK_SEEK_COMPLETE,this.Yx,this),this.S_.addEventListener(s.Events.PLAYBACK_PAUSE,this.Gx,this),this.S_.addEventListener(s.Events.PLAYBACK_RESUMED,this.Wx,this),this.S_.addEventListener(s.Events.BUFFERING_START,this.hI,this),this.S_.addEventListener(s.Events.PLAYBACK_START,this.Xx,this),this.S_.addEventListener(s.Events.VIDEO_STARTED,this.Qx,this),this.S_.addEventListener(s.Events.PLAYER_VOLUME_CHANGE,this.Zx,this),this.S_.addEventListener(s.Events.BITRATE_CHANGE,this.vL,this),this.S_.addEventListener(s.Events.AD_BREAK_ITEM_ENDED,this.Jx,this),this.S_.addEventListener(s.Events.AD_BREAK_ITEM_CURRENT,this.Kx,this)},t.prototype.Fx=function(){var t=this;if(window.ns_&&window.ns_.StreamSense)this.$x();else{e.default.lazyLoad("https://s.yimg.com/rx/builds/7.86.675.1520450663/assets/streamsense.min.js",(function(i){i&&window.ns_&&window.ns_.StreamSense&&t.$x()}))}},t.prototype.$x=function(){var t=h+"scorecardresearch.com/p?c1=2&c2=7241469";this.Ux=new window.ns_.StreamSense({},t),this.Bx={play:window.ns_.StreamSense.PlayerEvents.PLAY,pause:window.ns_.StreamSense.PlayerEvents.PAUSE,buffer:window.ns_.StreamSense.PlayerEvents.BUFFER,end:window.ns_.StreamSense.PlayerEvents.END},this.sy()},t.prototype.vL=function(t){this.Nx=t},t.prototype.zx=function(t,i){var n=this;this.Lx=0,this.Px=null,this.Rx=0;var s=i.offNetwork?4:window.top!==window.self?3:1,e="";switch(s){case 3:e="Emb onNet";break;case 4:e="Emb offNet";break;default:e="onProp"}var h=this.tU(i,"metrics"),o=this.tU(i,"license");this.iU(i),this.nU((function(){n.sU({y_lms:o.salesforceId||r.INT_DEFAULT,c6:h.comscore6||r.INT_DEFAULT,y_sp:i&&i.streamProtocol?i.streamProtocol:r.STRING_DEFAULT,y_stype:i&&i.streamType?i.streamType:r.STRING_DEFAULT,ns_st_pl:i&&i.title?i.title:r.STRING_DEFAULT,ns_st_cs:i.uiState.width+"x"+i.uiState.height,y_st:i.siteAnalytics||i.site||r.STRING_DEFAULT,y_rg:i.region,y_lc:e,y_pb:r.STRING_DEFAULT})}))},t.prototype.Hx=function(t){var i=this,n=this.S_.getCurrentTime();this.nU((function(){var s=t.paused?"pause":"play";i.eU(s,{ns_st_ui:"seeking"},(1e3*n).toString())}))},t.prototype.Yx=function(t){var i=this,n=this.S_.getCurrentTime();this.nU((function(){var s=t.paused?"pause":"play";i.eU(s,{ns_st_ui:"seeking"},(1e3*n).toString())}))},t.prototype.hI=function(t){var i=this,n=this.S_.getCurrentTime();this.nU((function(){i.eU("buffer",{},(1e3*n).toString())})),this.Ix=!0},t.prototype.Qx=function(t,i){var n=this,s=this.S_.getCurrentTime();this.Ix&&(this.nU((function(){n.eU("play",{},(1e3*s).toString())})),this.Ix=!1)},t.prototype.EL=function(t,i){var n=this,s=this.S_.getCurrentTime(),e=this.Nx,r={};r.ns_st_br=e.toString();var h=this.jy.getIndexForId(t.id),o=this.jy.getSize();-1!==h&&h===o-1&&(r.ns_st_pe="1"),this.nU((function(){n.eU("end",r,(1e3*s).toString())}))},t.prototype.Gx=function(t){var i=this,n=this.S_.getCurrentTime();this.nU((function(){i.eU("pause",{},(1e3*n).toString())}))},t.prototype.Wx=function(t,i){var n=this,s=this.S_.getCurrentTime();this.nU((function(){n.eU("play",{},(1e3*s).toString())}))},t.prototype.Zx=function(t){var i=this;this.nU((function(){i.rU({ns_st_vo:Math.round(100*t)})}))},t.prototype.hU=function(){var t=this,i=this.S_.getCurrentTime();this.nU((function(){var n=t.Nx,s={};0!==n&&(s.ns_st_br=n.toString()),t.eU("play",s,(1e3*i).toString())}))},t.prototype.iU=function(t){var i=this,n={},s=t.rendererType,h=e.default.getHostUrl(),o=h?h.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?"):h,u=this.tU(t,"metrics");n.ns_site="yahoo-video","html"===s&&(n.ns_st_mp="h"),n.ns_st_mv=t.playerVersion,n.ca2=this.oU(t,"PLAYBACK_START","CA2"),n.ca4=t.comscoreC4,n.ca6=u.comscore6||r.INT_DEFAULT,n.c3=r.NULL_DEFAULT,n.ca3=r.NULL_DEFAULT,n.c4=t.comscoreC4,n.c7=o,n.c9=function(){if(t.referrer)return t.referrer;var i=window.top&&window.top.document?window.top.document:null,n=window.history&&window.history.state&&window.history.state.referer?window.history.state.referer:null,s=r.STRING_DEFAULT;return i&&""===i.referrer&&n?s=n:i&&i.referrer&&(s=i.referrer),s.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?")}(),""!==this.Cx&&(n.cs_ucfr=this.Cx),this.nU((function(){i.uU(n)}))},t.prototype.tU=function(t,i){var n={};return t&&t[i]?n=t[i]:t&&t.customConfig&&t.customConfig[i]&&(n=t.customConfig[i]),n},t.prototype.Xx=function(t){var i=this,n=!0===t.autoPlay?"1":"0",h=e.default.getHostUrl(),o=h?h.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?"):h,u=this.tU(t,"metrics"),a=this.tU(t,"meta"),c=this.tU(t,"brandingData").branding,f=this.tU(t,"license");null===this.Px&&(this.Lx++,this.Px=this.Lx);var l={c5:u.comscoreCM5||r.INT_DEFAULT,ca5:u.comscoreCM5||r.INT_DEFAULT,ns_st_pr:t&&t.title?t.title:r.STRING_DEFAULT,ns_st_ep:a.showName||f.title||r.STRING_DEFAULT,ns_st_ge:a.genre?a.genre.split(",")[0]:r.NULL_DEFAULT,ns_st_cu:o,ns_st_vo:Math.round(100*this.S_.getVolume()),ns_st_ty:s.Analytics.VdmsAnalyticsModel.getStreamType(t.playbackMode,t.currentMediaType,t.duration),ns_st_cn:this.Px,ns_st_ci:t.videoId,ns_st_st:r.NULL_DEFAULT,ns_st_pu:r.NULL_DEFAULT,ns_st_sn:r.NULL_DEFAULT,ns_st_en:r.NULL_DEFAULT,ns_st_ce:0,ns_st_ddt:r.NULL_DEFAULT,ns_st_tdt:r.NULL_DEFAULT,ns_st_ia:0,y_pid:c&&c.providerId?c.providerId:r.INT_DEFAULT,y_lbl:a.credits&&a.credits.label?a.credits.label:r.STRING_DEFAULT,ns_st_pn:++this.Rx,y_art:a.credits&&a.credits.main_artists?a.credits.main_artists.split(/[,;]/)[0]:r.STRING_DEFAULT,y_pvid:c&&c.providerVideoId?c.providerVideoId:r.INT_DEFAULT,y_s:t.pageSpaceId,y_c:t.cdn,y_ap:n},v=t.videoLength,d="vc11";if("na"!==v&&v>600&&(d="vc12"),t.isLive){var p=a.eventStart,m=a.eventEnd;v=""!==p&&""!==m?m-p:null,l.ns_st_li="1",d="vc23"}l.ns_st_ct=d,l.ns_st_cl=v&&"na"!==v?(1e3*v).toString():r.INT_DEFAULT,this.nU((function(){i.aU(l)})),this.hU()},t.prototype.uU=function(t){this.Ux.setLabels(t)},t.prototype.sU=function(t){this.Ux.setPlaylist(t)},t.prototype.aU=function(t){this.Ux.setClip(t)},t.prototype.eU=function(t,i,n){this.Ux.notify(this.Bx[t],i,n)},t.prototype.Jx=function(){var t=this,i=this.S_.getCurrentTime();this.nU((function(){t.eU("end",{},(1e3*i).toString())}))},t.prototype.Kx=function(t,i){var n=this,e=!0===i.autoPlay?"1":"0",h=this.tU(i,"brandingData").branding,o=this.tU(i,"meta"),u=t.adBreak,a="va11",c=t.adBreakItemId||r.INT_DEFAULT,f=u.type,l=t.duration;i.isLive?a="va21":"postroll"===f?a="va13":"midroll"===f&&(a="va12");var v={c5:"09",ca5:"09",ns_st_ty:s.Analytics.VdmsAnalyticsModel.getStreamType(i.playbackMode,i.currentMediaType,l),ns_st_ct:a,ns_st_ad:"1",ns_st_pr:"ad",ns_st_ep:"ad",ns_st_cu:r.STRING_DEFAULT,ns_st_vo:Math.round(100*this.S_.getVolume()),ns_st_cn:++this.Lx,ns_st_ci:c,ns_st_cl:l?(1e3*l).toString():r.STRING_DEFAULT,ns_st_pn:"1",y_pid:h&&h.providerId?h.providerId:r.INT_DEFAULT,y_lbl:o.credits&&o.credits.label?o.credits.label:r.STRING_DEFAULT,y_art:o.credits&&o.credits.main_artists?o.credits.main_artists.split(/[,;]/)[0]:r.STRING_DEFAULT,y_pvid:h&&h.providerVideoId?h.providerVideoId:r.INT_DEFAULT,y_s:i.pageSpaceId,y_ap:e};this.nU((function(){n.aU(v)})),this.hU()},t.prototype.rU=function(t){var i=this.Ux.getClip();i&&i.setLabels(t)},t.prototype.cU=function(){this.Vx.forEach((function(t){t()})),this.Vx=[]},t.prototype.oU=function(t,i,n){var s,e=t&&t.customConfig&&t.customConfig.metrics?t.customConfig.metrics.beacons:null;if(e){var h=e[i]&&e[i][0]||{};if("cs"===h.target&&h.addParam)h.addParam.split("&").forEach((function(t){-1!==t.indexOf(n)&&(s=t.split("=")[1])}))}return s||r.INT_DEFAULT},t.prototype.nU=function(t){this.Vx.push(t),this.Ux&&this.cU()},t.prototype.xx=function(){var t=this;window.__uspapi&&window.__uspapi("getDoNotSell",1,(function(i,n){n&&i&&"boolean"==typeof i.doNotSell&&(t.Cx=i.doNotSell?"0":"1")})),window.__cmp&&window.__cmp("getVendorConsents",new Uint16Array([i.COMSCORE_IAB_VENDOR_ID]),(function(n,s){s&&n&&n.vendorConsents&&n.vendorConsents[i.COMSCORE_IAB_VENDOR_ID]?(t.Dx=!!n.gdprApplies,"0"!==t.Cx&&t.Dx&&(t.Cx=!0===n.vendorConsents[i.COMSCORE_IAB_VENDOR_ID]?"1":"0")):n&&n.msg}))},t}();i.default=o},ReYQ:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("oIMU"),u=n("mczr"),a=n("1get"),c=n("+Ojf"),f=n("eU8N"),l=n("GX4R"),v=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.QI=s.capabilities[u.RendererType.HTML5_RAW_360],e}return e(i,t),i.canUse=function(){return!h.userAgent.tv&&(a.default.is360Supported()&&t.canUse.call(this))},i.prototype.create=function(i){return t.prototype.create.call(this,i),this.fU(),this.container},i.prototype.destroy=function(){this.lU(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.vU?(this.dU(),t()):this.pU=this.ty.addEventListener(o.THREE_SIXTY_READY,(function(){i.dU(),t()}),this)},i.prototype.fU=function(){var t=this;this.vU=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.mU=document.createElement("div"),this.mU.classList.add("vp-360-node"),this.mU.style.position="absolute",this.container=document.createElement("div"),this.container.setAttribute("id",c.default.generateGuid()),this.container.classList.add("vp-360-video"),this.container.appendChild(this.node),this.container.appendChild(this.mU),this.bU().then((function(){t.yU()})).catch((function(t){})))},i.prototype.bU=function(){return new Promise((function(t,i){n.e(1).then(function(){r=n("Womt"),t(r)}.bind(null,n)).catch((function(t){i(t)}))}))},i.prototype.yU=function(){this.gU=new r.PerspectiveCamera(70,16/9,.01,1e3),this.gU.target=new r.Vector3(0,0,0);var t=new r.SphereBufferGeometry(500,64,32);t.scale(-1,1,1);var i=new r.VideoTexture(this.node);i.minFilter=r.NearestFilter;var n=new r.MeshBasicMaterial({map:i}),s=new r.Mesh(t,n);this.wU=new r.Scene,this.wU.add(s),this.SU=new r.WebGLRenderer,this.SU.setPixelRatio(window.devicePixelRatio),this.mU&&this.mU.appendChild(this.SU.domElement),this.EU=new f.default(this.container),this.EU.render(),this.OU=0,this.AU=0,this._U=!0,this.TU(),this.vU=!0,this.ty.publish(o.THREE_SIXTY_READY)},i.prototype.TU=function(){var t=this;this.MU=this.IU.bind(this),this.yN=this.jU.bind(this),this.NU=this.RU.bind(this),this.kU=this.LU.bind(this),this.gN=this.DU.bind(this),this.vR=this.CU.bind(this),this.container&&(this.container.addEventListener("mousedown",this.MU,!1),this.container.addEventListener("mousemove",this.yN,!1),this.container.addEventListener("mouseup",this.NU,!1),this.container.addEventListener("mouseover",this.kU,!1),this.container.addEventListener("mouseout",this.gN,!1),this.container.addEventListener("resize",this.vR,!1)),this.PU=this.xU.bind(this),this.UU=this.Qx.bind(this),this.VU=this.BU.bind(this),this.node&&(this.node.addEventListener("pause",this.PU),this.node.addEventListener("playing",this.UU),this.node.addEventListener("seeked",this.VU)),this.EU&&this.EU.addClickListener(this.FU.bind(this)),this.zU={},this.zU[o.PLAYER_RESIZE]=this.ty.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.HU&&(i=window.screen.width,n=window.screen.height),t.YU(i,n)}),1)}),this),this.zU[o.FULLSCREEN_CHANGE]=this.ty.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.HU=!!i}),this),this.zU[o.PLAYER_DIMENSION_CHANGE]=this.ty.addEventListener(o.PLAYER_DIMENSION_CHANGE,(function(){var i,n,s;t.node&&t.node.parentNode&&((i=window.getComputedStyle(t.node.parentNode))&&(n=parseInt(i.getPropertyValue("width"),10),s=parseInt(i.getPropertyValue("height"),10)),n&&!isNaN(n)&&s&&!isNaN(s)&&t.YU(n,s))}),this)},i.prototype.FU=function(){this.OU=0,this.AU=0,this.GU(),this.EU&&this.EU.update(this.OU),this.ty.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.WU=function(){var t=this;this.zU&&Object.keys(this.zU).forEach((function(i){t.ty.removeEventListener(i,t.zU[i])})),this.MU&&(this.container&&this.container.removeEventListener("mousedown",this.MU,!1),this.MU=null),this.yN&&(this.container&&this.container.removeEventListener("mousemove",this.yN,!1),this.yN=null),this.NU&&(this.container&&this.container.removeEventListener("mouseup",this.NU,!1),this.NU=null),this.kU&&(this.container&&this.container.removeEventListener("mouseover",this.kU,!1),this.kU=null),this.vR&&(this.container&&this.container.removeEventListener("resize",this.vR,!1),this.vR=null),this.kU&&(this.container&&this.container.removeEventListener("mouseover",this.kU,!1),this.kU=null),this.PU&&(this.node&&this.node.removeEventListener("pause",this.PU),this.PU=null),this.UU&&(this.node&&this.node.removeEventListener("playing",this.UU),this.UU=null),this.VU&&(this.node&&this.node.removeEventListener("seeked",this.VU),this.VU=null),this.pU&&(this.ty.removeEventListener(o.THREE_SIXTY_READY,this.pU),this.pU=null)},i.prototype.qU=function(){this.XU=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.QU&&(this.QU=!1,this._U=!0)},i.prototype.YU=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.gU&&(this.gU.setViewOffset(t,i,t-n,i-s,n,s),this.gU.updateProjectionMatrix()),this.SU&&this.SU.setSize(t,i)},i.prototype.ZU=function(){var t=this.ZU.bind(this);if(this._U&&this.JU)return window.cancelAnimationFrame(this.JU),void(this.JU=null);this.JU=window.requestAnimationFrame(t),this.GU()},i.prototype.GU=function(){this.AU=Math.max(-85,Math.min(85,this.AU));var t=r.Math.degToRad(90+this.AU),i=r.Math.degToRad(this.OU);this.gU&&(this.gU.position.x=500*Math.sin(t)*Math.cos(i),this.gU.position.y=500*Math.cos(t),this.gU.position.z=500*Math.sin(t)*Math.sin(i),this.gU.lookAt(this.gU.target),this.gU.position.copy(this.gU.target).negate(),this.wU&&this.SU&&this.SU.render(this.wU,this.gU))},i.prototype.lU=function(){this.JU&&window.cancelAnimationFrame(this.JU),this._U=!0,this.WU(),this.EU&&(this.EU.destroy(),this.EU=null),this.mU&&(this.mU.parentNode&&this.mU.parentNode.removeChild(this.mU),this.mU=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.gU=null,this.wU=null,this.SU=null},i.prototype.xU=function(){this.KU=!0,this._U=!0},i.prototype.Qx=function(){this.KU=!1,this._U=!1,this.ZU()},i.prototype.BU=function(){this.GU()},i.prototype.LU=function(){this.container&&this.container.classList.add("over-360")},i.prototype.IU=function(t){this.$U=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.XU=!0,this.tV=t.clientX,this.iV=t.clientY,this.nV=this.OU,this.sV=this.AU},i.prototype.jU=function(t){this.XU&&(this.KU&&!this.QU&&(this.QU=!0,this._U=!1,this.ZU()),this.$U=!0,this.OU=.1*(this.tV-t.clientX)+this.nV,this.AU=.1*(t.clientY-this.iV)+this.sV,this.EU&&this.EU.update(this.OU))},i.prototype.RU=function(){this.XU&&(this.qU(),this.$U?this.ty.publish(o.THREE_SIXTY_INTERACT):this.ty.publish(o.TOGGLE_PLAY_PAUSE)),this.$U=!1},i.prototype.DU=function(){this.qU()},i.prototype.CU=function(){this.container&&this.YU(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.dU=function(){this.pU&&(this.ty.removeEventListener(o.THREE_SIXTY_READY,this.pU),this.pU=null),!this.eV&&this.SU&&this.container&&(this.SU.setSize(this.container.offsetWidth,this.container.offsetHeight),this.eV=!0)},i.type=u.RendererType.HTML5_RAW_360,i}(l.default);i.default=v},Ru0y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=n("+Ojf"),r=n("Mkxr"),h=n("pBvk").Validator,o={audioMetadata:{bitrate:0,channels:1},videoMetadata:{avgBitrate:0,bitrate:0,framerate:0,height:0,width:0},live:!1,manifest:"",url:"",aspectRatio:""},u=function(){function t(t){this._h(t),"subtitle"===this.type&&(this.type="SUBTITLES")}return t.prototype.isRTMP=function(){var t=/^rtmp(?:e|t|te|s)?:\/\//;return t.test(this.host)||t.test(this.url)},t.prototype.isRTX=function(){return this.url.indexOf("/rtx/")>-1},t.prototype.isAtlas=function(){var t=this.host;return this.hlsInfo&&(t=this.hlsInfo.ts_url),/atlas\.cdn\.yimg\.com/.test(t)},t.prototype.isUplynk=function(){if(this.url&&this.url.length){var t=this.url.toLowerCase();return t.indexOf("uplynk.com")>-1||t.indexOf("downlynk.com")>-1||t.indexOf("uplynk.localhost")>-1||t.indexOf("downlynk.localhost")>-1}return!1},t.prototype.getType=function(){var t="unknown",i=this.url,n=this.rV();return"m3u8:fmp4"===this.format?t="hls-fmp4":i&&(n&&(n.indexOf("rtmp")>-1||n.indexOf("rtsp")>-1)?t=n:/\/*\.f4m/i.test(i)?t=this.isRTX()?"rtx-hds":"hds":/\/*\.m3u8/i.test(i)||i.length>0&&i.indexOf("content=hls")>-1?t=this.isRTX()?"rtx-hls":"hls":/\/*\.mp4/i.test(i)?t="mp4":/\/*\.webm/i.test(i)?t="webm":/\/*\.mpd/i.test(i)&&(t="dash")),t},Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.videoMetadata?this.videoMetadata.bitrate||0:this.audioMetadata&&this.audioMetadata.bitrate||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"avgBitrate",{get:function(){return this.videoMetadata&&this.videoMetadata.avgBitrate||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.videoMetadata&&this.videoMetadata.width||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.videoMetadata&&this.videoMetadata.height||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"framerate",{get:function(){return this.videoMetadata&&this.videoMetadata.framerate||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"profile",{get:function(){return this.videoMetadata&&this.videoMetadata.profile||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"channels",{get:function(){return this.audioMetadata&&this.audioMetadata.channels>=0?this.audioMetadata.channels:0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"forced",{get:function(){return this.audioMetadata&&this.audioMetadata.forced},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"default",{get:function(){return this.audioMetadata&&this.audioMetadata.default},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoSelect",{get:function(){return this.audioMetadata&&this.audioMetadata.autoSelect},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"streamProtocol",{get:function(){return this.rV()},enumerable:!0,configurable:!0}),t.prototype._h=function(t){this.l_(t);var i=e.default.deepCopy(t);if(i=e.default.mergeObjects(i,o),e.default.mergeObjects(this,i,!0),s.isString(this.url)&&0!==this.url.length||this.host&&this.path&&(this.url=this.host+this.path),this.type&&(this.format=this.type),this.format||(this.format=e.default.getFormat(this.url)),!this.host&&s.isString(this.url)&&this.url.length>0){this.host=this.rV()+"://"+e.default.getHostname(this.url);var n=this.url.split(this.host);n.length>=2&&(this.path=n[1])}this.cdn&&this.cdn.length||(this.cdn=this.hV(this.url))},t.prototype.l_=function(t){try{(new h).validate(t,r.streamSchema,{throwError:!0})}catch(t){var i="Invalid stream config: "+t.property+" "+t.message;throw new Error(i)}},t.prototype.rV=function(){var t="http",i=this.url.split(":");return i.length>1&&(t=i[0]),t},t.prototype.hV=function(t){var i="unknown";return t&&t.length>0&&(i=t.indexOf("akamai")>-1?"akamai":t.indexOf("yahoo.com")>-1||t.indexOf("yimg.com")>-1?"atlas":t.indexOf("llnwd.net")>-1?"limelight":t.indexOf("fastly.com")>-1?"fastly":t.indexOf("edgecast.com")>-1?"edgecast":e.default.parseRootHost(t)),i},t}();i.default=u},Ruv9:function(t,i,n){var s=n("PKsF");s.Template=n("cK6b").Template,s.template=s.Template,t.exports=s},Rv5J:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("ToqN"),u=n("A4+F"),a=n("6nrW"),c=n("oIMU"),f=n("oIMU"),l=n("mczr"),v=n("xqNZ"),d=n("R+G7"),p=n("+uLo"),m=n("fLR+"),b=n("+Ojf"),y=n("ECHB"),g=n("hWVc"),w=n("N+vR");function S(t){return b.default.classList(t)}!function(t){t.VISIBILITY_CHANGED="visibility-changed"}(r=i.OpssEvent||(i.OpssEvent={}));var E=function(t){function i(i,n,s,e){var r=t.call(this,"OpenSimSim")||this;return r.oV={},r.iy=i,r.ty=n,r.rM=s,r.pO=e,r.uV={},r.aV=[],r.cV={bitrate:{title:"Bit Rate History",data:[]},speed:{title:"Download Speed History",data:[]},bufferLength:{title:"Buffer Length History",data:[]},frameRate:{title:"Frame Rate History",data:[]}},r.ty.addEventListener(c.PLAYBACK_INFO,(function(t){r.uV=t,r.aV.push(Date.now()/1e3),r.cV.bitrate.data.push(parseFloat(t.currentStreamBitrate)),r.cV.speed.data.push(parseFloat(t.currentKbps)),r.cV.bufferLength.data.push(parseFloat(t.bufferLength)),r.cV.frameRate.data.push(parseFloat(t.frameRate?t.frameRate:0)),r.fV()}),r),r.ty.addEventListener(u.ExternalEvt.PLAYLIST_POSITION_CHANGE,(function(){r.lV()}),r),r.rM.on(a.RendererControllerEvent.RENDERER_SWITCH,r.vV,r),r.dV(),r}return e(i,t),i.prototype.create=function(){var t=this;return this._node=b.default.render(g,{version:this.iy.version,strings:v.default}),this.pV=this.mV(".vp-opss-close-btn",(function(){t.close()})),this.bV=this.mV(".vp-profile-btn",(function(){t.yV(t.iy.inputConfig)})),this.gV(),this.wV=this.SV(".vp-section-expand-config",".vp-opss-current-config"),this.EV=this.SV(".vp-section-expand-plugins",".vp-opss-current-plugins"),this.OV=this.SV(".vp-section-expand-hosting",".vp-opss-hosting-config"),this.AV=this.SV(".vp-section-expand-context",".vp-opss-current-context"),this._node},i.prototype.render=function(){this.TV(),this.MV(),this.IV(),this.jV(),this.lV(),this.fV(),this._node.style.display="block",this.publish(r.VISIBILITY_CHANGED,!0,this._node)},i.prototype.isOpen=function(){return"none"!==this._node.style.display},i.prototype.close=function(){this._node.style.display="none",this.publish(r.VISIBILITY_CHANGED,!1,this._node),this.NV(!1)},i.prototype.destroy=function(){this.NV(!1),this.pV&&this.pV.destroy(),this.bV&&this.bV.destroy(),this.RV.destroy(),this.kV.destroy(),this.LV.destroy()},i.prototype.DV=function(t){return this._node.querySelector(t)},i.prototype.dV=function(){var t=this;this.RV=new p.default(1e3),this.RV.addEventListener(p.default.TIMER_EVENT,(function(){t.CV(".vp-opss-network",["network empty","network idle","network loading","network no source"][t.PV.networkState])}),this),this.kV=new p.default(1e3),this.kV.addEventListener(p.default.TIMER_EVENT,(function(){t.CV(".vp-opss-state",t.iy.getState())}),this),this.LV=new p.default(1e3),this.LV.addEventListener(p.default.TIMER_EVENT,(function(){t.CV(".vp-opss-ready",["have nothing","have metadata","have current data","have future data","have enough data"][t.PV.readyState])}),this)},i.prototype.CV=function(t,i){var n=this.DV(t);n&&(n.innerHTML=i)},i.prototype.mV=function(t,i){var n=this.DV(t);return n?new y.default(n,(function(t){t.stopPropagation(),i()})):null},i.prototype.SV=function(t,i){var n=this,s=this.DV(t);return s?new y.default(s,(function(){var t=n.DV(i);t&&n.xV(t,s)})):null},i.prototype.xV=function(t,i){var n=S(t),s=S(i);n.contains("vp-hide")?(n.remove("vp-hide"),s.remove("vp-expanded"),s.add("vp-collapsed")):(n.add("vp-hide"),s.remove("vp-collapsed"),s.add("vp-expanded"))},i.prototype.TV=function(t){if(this.UV()){var i=this.rM;(t=t||i&&i.getActiveRenderer())&&(this.PV=t.node,this.NV(!0))}else this.NV(!1)},i.prototype.MV=function(){var t=window.VDMS,i=t&&t.VideoPlatform&&t.VideoPlatform.PlayerHosting||"local";this.CV(".vp-opss-hosting",JSON.stringify(i,void 0,2))},i.prototype.jV=function(){var t=this.pO.getExternalPlugins(),i=this.DV(".vp-opss-plugins"),n="",s=function(i){Object.prototype.hasOwnProperty.call(t,i)&&t[i].forEach((function(t){n+="<div><span class='vp-details'>"+i+": </span>"+t.mimetype+" - "+t.version+"</div>"}))};for(var e in t)s(e);i&&(i.innerHTML=n)},i.prototype.IV=function(){this.VV(".vp-opss-expSiteName","site"),this.VV(".vp-opss-expName","expName"),this.VV(".vp-opss-expBucketName","expBucket"),this.VV(".vp-opss-expType","expType")},i.prototype.VV=function(t,i){this.BV(t,i,this.iy.inputConfig[i])},i.prototype.BV=function(t,i,n){var s=this.DV(t);s&&(s.innerHTML="<span class='vp-details'>"+i+": </span>"+n)},i.prototype.yV=function(t){var i;try{i=JSON.parse(JSON.stringify(t))}catch(t){i={}}var n=b.default.render(w,{config:JSON.stringify(i,null,2)});if(o.userAgent.mobile)document.write(n.innerHTML);else{var s=window.open();s&&s.document.write(n.innerHTML)}},i.prototype.vV=function(t,i){this.TV(i),this.lV(),this.fV()},i.prototype.UV=function(){if(o.userAgent.tv)return!0;var t=this.iy.playbackState.rendererType;return o.userAgent.safari&&(t===l.RendererType.HTML5_HLS||t===l.RendererType.HTML5_RAW)},i.prototype.FV=function(t,i,n,s,e){for(var r=i.length-1,h=0,o=t[r],u=i[r],a=i[r],c=r-1;c>=0;c--)if(u=Math.min(u,i[c]),a=Math.max(a,i[c]),c>0&&o-t[c-1]>45){h=c;break}var f=t[h];u>0&&(u=0),u===a&&(a=u+1),n.save(),n.translate(40,e),n.scale((s-40)/45,-1*e/(a-u)),n.beginPath(),n.moveTo(0,i[h]-u);for(var l=h+1;l<i.length;l++)n.lineTo(t[l]-f,i[l]-u);n.restore(),n.lineWidth=1,n.lineCap="round",n.lineJoin="round",n.strokeStyle="white",n.stroke(),n.font="8pt Monospace",n.fillStyle="white",n.fillText(a.toFixed(1),0,10),n.fillText(u.toFixed(1),0,60)},i.prototype.zV=function(t){var i="";return Object.keys(t).forEach((function(n){var s=t[n];i+="<div><span class='vp-details'>"+n+":</span> "+s+"</div>"})),i},i.prototype.HV=function(t,i){var n=this,s="";return Object.keys(t).forEach((function(e){var r=t[e];r&&"object"==typeof r?isNaN(e)?(s+="<div>"+e+" :</div>",s+='<div style="padding-left: 10px">'+n.HV(r)+"</div>"):s+="<div>"+n.HV(r,e)+"</div>":s+="<div>"+(i?i+" : ":"")+e+" : "+r+"</div>"})),s},i.prototype.YV=function(t){return'<div class="vp-opss-title">'+t+"</div>"},i.prototype.gV=function(){var t={OS:o.userAgent.os,Mobile:o.userAgent.mobile,"User Agent":o.userAgent.ua};if(o.userAgent.mobile){t["Can Play Inline"]=d.default.canPlayInline,t["Autoplay Supported"]=d.default.autoplaySupported,d.default.autoplaySupported&&(t["Has Native Autoplay Support"]=d.default.hasNativeAutoplaySupport);var i=d.default.network;t["Network Info Available"]=i.available,t["Network Connection Type (SAPI)"]=i.connectionType,t["Network Connection Type (User Agent)"]=o.capabilities.getConnectionType()||"n/a",t["Is Mobile Network"]="boolean"==typeof i.mobile?i.mobile:"n/a"}this.CV(".vp-opss-platform",this.zV(t))},i.prototype.lV=function(){var t=this.iy.playlist.getCurrentItem();this.BV(".vp-opss-uuid","UUID",t?t.id:""),this.BV(".vp-sessionId","SessionId",t?t.videoSession:"none"),this.UV()&&!o.userAgent.samsung&&((t&&t.isLive()||o.userAgent.tv)&&this.CV(".vp-opss-url","Current Source URL : "+this.PV.currentSrc),this.CV(".vp-opss-config",this.YV("Config")+this.HV(this.iy.inputConfig)))},i.prototype.fV=function(){var t=this,i=this.iy.playlist.getCurrentItem(),n=this.uV,s=n.deliveryProtocol;i&&(s+=" / "+i.getType()),this.CV(".vp-opss-graphs",""),Object.keys(this.cV).forEach((function(i){var n=t.cV[i].data;if(n.some((function(t){return m.isNumber(t)}))){var s=document.createElement("div");S(s).add("vp-opss-graph");var e=document.createElement("div");e.innerHTML=t.cV[i].title,s.appendChild(e);var r=document.createElement("canvas");r.width=150,r.height=60,s.appendChild(r);var h=t.DV(".vp-opss-graphs");h&&h.appendChild(s);var o=r.getContext("2d");o&&t.FV(t.aV,n,o,150,60)}}));var e={"Total Quality Levels":n.qualityLevels,"Encoding Method":i&&i.streams.length>0?i.streams[0].rcMode:"na","Current Bitrate":n.currentStreamBitrate+" kbps",Protocol:s,CDN:i?i.getCDN():"","Recovery count":i?i.failoverCount:0,"Buffer Length":n.bufferLength+" secs","Frame Rate":n.frameRate,"Download Speed":n.currentKbps+" kbps","Dropped Frames":n.droppedFrames,"Media Size":n.mediaWidth+" x "+n.mediaHeight,"Buffering Count":0,"Total buffering time":"",Protected:n.drm?"Yes":"No"};i&&i.rendererType===l.RendererType.HTML5_HLS&&(e["Buffering Count"]=n.bufferingCount,e["Total buffering time"]=n.totalBufferingTime+" ms");var r=this.iy.playbackState.rendererType||"(no renderer yet)";r=r===l.RendererType.HTML5_HLS?r+" "+this.iy.jshlsVersion:r,this.CV(".vp-opss-detail",this.zV(e)),this.BV(".vp-opss-renderertype","Renderer Type",r),this.CV(".vp-opss-profile",JSON.stringify(this.iy.inputConfig,void 0,2))},i.prototype.NV=function(t){this.GV(),this.WV();var i=this.DV(".vp-opss-tv");if(t&&i){i.innerHTML+='<div class="vp-opss-url"></div>',i.innerHTML+=this.YV("HTML5 Video States");var n='<span class="',s='"></span>',e={"Current Time":n+"vp-opss-time"+s,"Playback State":n+"vp-opss-playback"+s,"Player State":n+"vp-opss-state"+s,"Buffering State":n+"vp-opss-buffering"+s,"Network State":n+"vp-opss-network"+s,"Ready State":n+"vp-opss-ready"+s,"Error State":n+"vp-opss-error"+s};i.innerHTML+=this.zV(e),i.innerHTML+='<div class="vp-opss-config"></div>',this.qV(),this.XV()}},i.prototype.GV=function(){var t=this;this.oV&&Object.keys(this.oV).forEach((function(i){t.ty.removeEventListener(i,t.oV[i])})),this.oV={}},i.prototype.UO=function(t,i){this.oV[t]=this.ty.addEventListener(t,i,this)},i.prototype.XV=function(){var t=this;this.UO(f.VideoEvent.TIMEUPDATE,(function(i){t.CV(".vp-opss-time",i)}));["PLAYING","PAUSE","SEEKING","SEEKED"].forEach((function(i){t.UO(f.VideoEvent[i],(function(){t.CV(".vp-opss-playback",i)}))})),this.UO(f.VideoEvent.WAITING,(function(i){t.CV(".vp-opss-buffering",i.value)}));var i=[null,"aborted","network","decode","source not supported"];this.UO(f.VideoEvent.ERROR,(function(n){t.CV(".vp-opss-error",i[n.code]||"")}))},i.prototype.qV=function(){this.kV.start(),o.userAgent.samsung||(this.RV.start(),this.LV.start())},i.prototype.WV=function(){this.kV.stop(),this.RV.stop(),this.LV.stop()},i}(h.default);i.default=E},RwmF:function(t,i,n){"use strict";function s(t){this.name=t||"unnamed",this.FT={},this.GD=0}t.exports=s,s.prototype.addEventListener=function(t,i,n){if(this.FT){this.FT[t]||(this.FT[t]={});var s=t+"_"+ ++this.GD;return this.FT[t][s]={subscriber:n,cb:i},s}},s.prototype.removeEventListener=function(t,i){this.FT&&t in this.FT&&this.FT[t].hasOwnProperty(i)&&delete this.FT[t][i]},s.prototype.removeEventListeners=function(t){var i=this;i.FT&&t&&Object.keys(t).forEach((function(n){var s=t[n];n in i.FT&&i.FT[n].hasOwnProperty(s)&&(delete i.FT[n][s],delete t[n])}))},s.prototype.publish=function(t){var i=this;if(i.FT&&t in i.FT){var n=i.FT[t],s=arguments;Object.keys(n).forEach((function(t){var i=n[t];if(i)try{i.cb&&"function"==typeof i.cb&&i.cb.apply(i.subscriber,Array.prototype.slice.call(s,1))}catch(t){}}))}},s.prototype.destroy=function(){this.FT=null}},RyId:function(t,i,n){var s=n("cXla");"string"==typeof s&&(s=[[t.i,s,""]]);n("ZuTH")(s,{})},S4Ou:function(t,i){},SQuN:function(t,i,n){"use strict";function s(t){t&&(this.startSeqNum=t.startSeqNum,this.startTime=t.startTime,this.cuepointDuration=t.cuepointDuration,this.isCueOutFired=!1,this.isCueOutDetectedFired=!1)}t.exports=s,s.prototype.setCueOutFiredState=function(t){this.isCueOutFired=t},s.prototype.setCueOutDetectedState=function(t){this.isCueOutDetectedFired=t},s.prototype.setCueOutStartTime=function(t){this.startTime=t},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){i[n]=t[n]})),i}},STAJ:function(t,i,n){"use strict";t.exports=r;var s=n("AkMV"),e=n("9nRl");function r(){this.QV=0}r.prototype.destroy=function(){this.QV=0},r.prototype.parse=function(t,i,n){if(!t||!i||!s[i])return null;this.QV=0;var r=new DataView(t.buffer);if(e.isNullOrUndefined(n)?(n=this.findBoxOffset(r,i),this.QV=n):this.QV=n,this.QV<0)return null;var h=this.parseHeader(r,i,this.QV);return!h||h.boxSize>r.byteLength?null:"sidx"===h.boxType?this.ZV(r,h,n):this.YD(r,h)},r.prototype.JV=function(t){var i=[];if(!t)return i;this.QV=0;for(var n=new DataView(t.buffer);this.QV+8<=n.byteLength;){var e=this.QV,r=this.KV(n.getUint32(e+4),4);if(s[r]){var h=this.parseHeader(n,r,e);h&&("sidx"===h.boxType?i.push(this.ZV(n,h)):i.push(this.YD(n,h)))}else this.QV++}return i},r.prototype.parseHeader=function(t,i,n){var e={boxOffset:n};this.QV=n;var r=this.$V(t,e);return-1===r||e.boxType!==i||s[i].fullBox&&-1===(r=this.tB(t,e))?null:e},r.prototype.extractVttCaptions=function(t){var i=[];if(this.QV=0,!t)return i;var n=new DataView(t.buffer),s=this.findBoxOffset(n,"mdat");if(s<0)return i;var e=t.slice(s+8),r=this.JV(e);if(!r.length)return i;for(var h=0;h<r.length;h++){var o=r[h];if(o)if("vttc"===o.boxType){this.QV=0;var u=e.slice(o.boxOffset+8,o.boxOffset+o.boxSize),a=this.JV(u);i.push(this.iB(a))}else"vtte"===o.boxType&&i.push({})}return i},r.prototype.YD=function(t,i,n){if(!t||!i||i.boxSize>t.byteLength)return i;var e=s[i.boxType],r=e.properties;if(!r)return this.QV+=i.boxSize-(e.fullBox?12:8),i;for(var h=Object.keys(r),o=0;o<h.length;o++){var u=h[o],a=r[u];if(this.nB(a.validator,i[a.validationProperty]||i.flags,a.validationResult))if("array"===a.type){i[u]=[];var c=a.length||a.lengthField&&i[a.lengthField],f=a.itemSchema;if(!f)break;c?this.sB(i,u,t,c,f,n):this.eB(i,u,t,f)}else this.rB(t,a,n,u),i[u]=this.hB(i,a,t)}return i},r.prototype.rB=function(t,i,n,s,e,r){if(n&&i){var h=!n.pos||n.pos&&n.pos===e||e===r-1&&-1===n.pos;n.name&&s===n.name&&n.length&&i.length&&n.length===i.length&&h&&this.oB(t,n)}},r.prototype.sB=function(t,i,n,s,e,r){for(var h,o=0;o<s;o++){if(e.length)h=this.hB(t,e,n);else{h={};for(var u=Object.keys(e),a=0;a<u.length;a++){var c=u[a],f=e[c];this.nB(f.validator,t.flags)&&(this.rB(n,f,r,c,o,s),h[c]=this.hB(t,f,n))}}t[i].push(h)}},r.prototype.eB=function(t,i,n,s){for(var e;this.QV<t.boxOffset+t.boxSize;)e=this.hB(t,s,n),t[i].push(e)},r.prototype.nB=function(t,i,n){return!t||(n?(i&t)===n:i&t)},r.prototype.hB=function(t,i,n){var s;return i.length&&(s=this.uB(n,i.length),this.QV+=s.readBytes,s.readBytes===i.length/8)?"string"===i.type?this.KV(s.value,4):s.value:"string"===i.type?this.aB(t,n):"boxstring"===i.type?this.cB(t,n):null},r.prototype.uB=function(t,i){var n={value:0,readBytes:0},s=i/8;if(this.QV+s<=t.byteLength){switch(i){case 8:n.value=t.getUint8(this.QV);break;case 16:n.value=t.getUint16(this.QV);break;case 32:n.value=t.getUint32(this.QV);break;case 64:for(var e=new Uint8Array(8),r=0;r<8;r++)e[r]=t.getUint8(this.QV+r);n.value=e}n.readBytes=s}return n},r.prototype.oB=function(t,i){var n=i.value;switch(i.length){case 8:t.setUint8(this.QV,n);break;case 16:t.setUint16(this.QV,n);break;case 32:t.setUint32(this.QV,n)}},r.prototype.aB=function(t,i){var n="",s=this.uB(i,8);for(this.QV+=s.readBytes;s.readBytes>0&&s.value>0&&this.QV<t.boxOffset+t.boxSize;)n+=String.fromCharCode(s.value),s=this.uB(i,8),this.QV+=s.readBytes;return n},r.prototype.cB=function(t,i){var n=t.boxSize-(this.QV-t.boxOffset),s=String.fromCharCode.apply(null,new Uint8Array(i.buffer,this.QV,n));return this.QV+=n,s},r.prototype.findBoxOffset=function(t,i){if(!t||t.byteLength<8)return-1;var n,e=s[i].parents,r=0;if(e&&e.length>0){for(var h=!1,o=0;o<e.length;o++){var u=e[o];if((n=this.findBoxOffset(t,u))>=0){r=n+(s[u].fullBox?12:8);var a=s[u].payload;a&&(r+=a),h=!0;break}}if(!h)return-1}for(;r+8<=t.byteLength;){if(this.KV(t.getUint32(r+4),4)===i)return r;var c=t.getUint32(r);if(!(c>0))break;r+=c}return-1},r.prototype.$V=function(t,i){if(!t||!i||t.byteLength<8)return-1;i.boxSize=t.getUint32(this.QV),this.QV+=4;var n=t.getUint32(this.QV);return i.boxType=this.KV(n,4),this.QV+=4,1===i.boxSize&&(i.boxSize=this.fB(t),this.QV+=8),0},r.prototype.tB=function(t,i){if(!t||!i)return-1;var n=t.getUint32(this.QV);return i.boxVersion=n>>24,i.flags=16777215&n,this.QV+=4,0},r.prototype.ZV=function(t,i,n){var s;if(!t||!i)return null;n=n||0,this.QV+=4,this.QV+=4,0===i.boxVersion?(t.getUint32(this.QV),this.QV+=4,s=t.getUint32(this.QV),this.QV+=4):(this.fB(t),this.QV+=8,s=this.fB(t),this.QV+=8),this.QV+=2;var e=t.getUint16(this.QV);this.QV+=2;for(var r=i.boxOffset+i.boxSize+s,h=[],o=0;o<e;o++){var u=t.getUint32(this.QV);if(this.QV+=4,1===u>>>31)return null;var a=2147483647&u;this.QV+=8,h.push({brStartOffset:r+n,brEndOffset:r+n+a-1}),r+=a}return h},r.prototype.setSingleProp=function(t,i,n){if(t&&i){var s=new DataView(t.buffer),e=this.findBoxOffset(s,i);if(!(e<0)){this.QV=e;var r=this.parseHeader(s,i,e);r&&this.YD(s,r,n)}}},r.prototype.KV=function(t,i){if(!t||!i)return"";for(var n=new Array(i),s=i-1;s>=0;s--){var e=255&t;n[s]=String.fromCharCode(e),t>>>=8}return n.join("")},r.prototype.fB=function(t){var i=this.QV,n=t.getUint32(i);i+=4;var s=t.getUint32(i);return n*Math.pow(2,32)+s},r.prototype.iB=function(t){for(var i={},n=0;n<t.length;n++){var s=t[n];if(s)switch(s.boxType){case"vsid":i.sourceId=s.sourceId;break;case"ctim":i.cueTime=s.cueTime;break;case"payl":i.cueText=s.cueText}}return i}},TQia:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("t8Yn"),h=n("rBpt"),o=n("c+yx"),u=n("AuZZ"),a=function(t){function i(i){var n=t.call(this,i)||this;return n.pageLatency="",n.mmActivityId="",n.s="",n._ex=u.HIDE_KEY,n._NOL=u.HIDE_KEY,n.test="",n.cached_vs="",n.expn="",n.expt="",n.expb="",n.vsid="",n.lms_id="",n.bckt="",n.env="",n.ccap="",n.loc="",n.site="",n.intl="",n.lang="",n.ccode="",n.sec="",n.cpos="",n.pt="",n.pd="",n.pct="",n.pstcat="",n.p_sec="",n.p_subsec="",n.ver="",n.pstaid_p="",n.pkgt="",n.rlvtscr="",n.subsec="",n._rid="",n.vidPos="",n.bx="",n.ar="",n.vrmver=u.VRM_VERSION,n.lB="",n.vB="",n.bckt=o.default.getBckt(),n}return e(i,t),i.prototype.update=function(i){t.prototype.update.call(this,i),this.expn=i.experienceName&&i.experienceName.toLowerCase()||this.expn,this.expb=i.experienceBucket||this.expb,this.test=this.expb,this.expt=i.experienceType&&i.experienceType.toLowerCase()||this.expt,this.s=i.pageSpaceId||this.s,this.pt=i.pt||this.pt,this.pd=i.pd||this.pd,this.pct=i.pct||this.pct,this.pstcat=i.pstcat||this.pstcat,this.ver=i.ver||this.ver,this.p_sec=i.p_sec||this.p_sec,this.p_subsec=i.p_subsec||this.p_subsec,this._rid=i._rid||this._rid,this.pstaid_p=i.pstaid_p||this.pstaid_p,this.pkgt=i.pkgt||this.pkgt,this.rlvtscr=i.rlvtscr||this.rlvtscr,this.sec=i.sec||this.sec,this.subsec=i.subsec||this.subsec,this.vidPos=i.vidPos||this.vidPos,this.cpos=i.cpos||this.cpos,this.ccode=i.ccode||this.ccode,this._ex=i.offNetwork?"1":this._ex,this._NOL=i.offNetwork?"1":this._NOL,this.site=i.site&&i.site.toLowerCase()||this.site,this.intl=i.region&&i.region.toLowerCase()||this.intl,this.lang=i.lang&&i.lang.toLowerCase()||this.lang,this.expm=i.experienceName&&"lightbox"===i.experienceName.toLowerCase()?"lightbox":this.expm,this.lms_id=i.license&&i.license.salesforceId||this.lms_id,this.pageLatency=i.pageLatency,this.pltype=o.default.getPlayerType(),this.mmActivityId=i.customConfig&&i.customConfig.metrics&&i.customConfig.metrics.mmActivityId||this.mmActivityId,this.bx=o.default.getCookie("BX")||this.bx,this.ar=i.aspectRatio||this.ar},i.prototype.getCommonParams=function(){var i=this,n=t.prototype.getCommonParams.call(this)||{};return u.PARAMS.forEach((function(t){i[t]!==u.HIDE_KEY&&(n[t]=i[t])})),n},Object.defineProperty(i.prototype,"jsdt",{get:function(){if(""===this.vB){var t=o.default.getResourceLoadTime(/oath-player\.js/);this.vB=h.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.vB},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"cssdt",{get:function(){if(""===this.lB){var t=o.default.getResourceLoadTime(/vdms-video-player\.css$/);this.lB=h.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.lB},enumerable:!0,configurable:!0}),i}(r.Analytics.VdmsAnalyticsModel);i.default=a},Tavk:function(t,i,n){"use strict";t.exports.AACStream=o,t.exports.AVCStream=u;var s=n("K+58"),e=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],r=["Null","Main","LC","SSR","LTP"],h=t.exports.NAL_UNIT_TYPES={NON_IDR:1,IDR:5,AD_INFO_SEI:6,SPS:7,PPS:8,AUD:9};function o(t){this.dB=[],this.GL=t||{},this.or={},this.ready=!1,this.pB=0}function u(t){this.dB=[],this.GL=t||{},this.or={},this.mB=0,this.ready=!1,this.bB=0,this.pB=2970,this.yB=new s}o.prototype.destroy=function(){this.dB=[]},o.prototype.readFrames=function(t){t&&t.packetInfo&&this.readFramesFromBitstream(t.packetInfo.streamData,t.packetInfo.pts)},o.prototype.readFramesFromBitstream=function(t,i){if(!t||t.length<6)return 0;for(var n=0,s=0,e=0;n<t.length;){var r=0,h=(t[n++]<<8)+t[n++],o=1&h;if(65520==(65520&h)&&0===(6&h)){this.gB(t.subarray(n,n+2)),this.or.codec="mp4a.40.2",n++;var u=(t[n++]<<16)+(t[n++]<<8)+t[n++];for(u=(262112&u)>>>5,s=1+(3&t[n++]),o?u-=7:(u-=9,n+=2);r<s&&n<t.length;){var a=i+e*this.pB;this.dB.push({data:t.subarray(n,n+u),dts:a,pts:a,keyframe:!1,flags:{isLeading:!1,dependsOn:!0,isDependedOn:!1,hasRedundancy:!1,paddingValue:!1,isNonSyncSample:!1,degradationPriority:1}}),n+=u,r++,e++}}else n--}return this.ready=this.wB(),n},o.prototype.gB=function(t){if(t&&!(t.length<2)){var i=1+((192&t[0])>>>6);i=i>4?4:i,this.or.audioObjectTypeIndex=i,this.or.audioObjectType=r[i],i=(i=(60&t[0])>>>2)<13?i:0,this.or.samplingFreqIndex=i,this.or.samplingFreq=e[i],this.or.channels=(1&t[0])<<2|(192&t[1])>>>6,this.or.sampleSize=16,this.pB=9216e4/this.or.samplingFreq}},o.prototype.wB=function(){var t=this.dB.length;return(t>0?this.dB[t-1].pts-this.dB[0].pts+this.pB:0)>=9e3},o.prototype.getFrames=function(){return this.ready=!1,this.dB.splice(0,this.dB.length)},o.prototype.getConfig=function(){return this.or},o.prototype.getLastFrameDetails=function(){return this.dB.length?{timestamp:this.dB[this.dB.length-1].dts,duration:this.pB}:null},u.prototype.destroy=function(){this.dB=[],this.yB.destroy()},u.prototype.readFrames=function(t){if(t&&t.packetInfo){var i=t.packetInfo.streamData;if(i&&!(i.length<4)){for(var n,s,e=0,r=0,o=0,u=e,a={nalUnits:[],nalUnitSize:0,dts:t.packetInfo.dts,pts:t.packetInfo.pts,keyframe:!1,data:i,cea608Data:[],flags:{isLeading:0,dependsOn:0,isDependedOn:0,hasRedundancy:0,paddingValue:0,isNonSyncSample:!1,degradationPriority:0}},c=4294967295,f=!1;e<i.length;){if(s=NaN,1===(c=c<<8|i[e++])&&(s=4),1===(16777215&c)){if(!f&&e>s&&this.dB&&this.dB.length){var l=this.dB[this.dB.length-1],v=l.nalUnits,d=v[v.length-1];if(d){var p,m=e-s;l.nalUnitSize+=m,d.data?((p=new Uint8Array(d.data.byteLength+m)).set(d.data,0),p.set(i.subarray(0,m),d.data.byteLength)):(p=new Uint8Array(m)).set(i.subarray(0,m),0),d.data=p,(p=new Uint8Array(l.data.byteLength+m)).set(l.data,0),p.set(i.subarray(0,m),l.data.byteLength),l.data=p}}if(f=!0,c=4294967295,s=s||3,(r=a.nalUnits.length)>=1&&null===a.nalUnits[r-1].data)switch(o=e-u-s,n=i.subarray(u,u+o),a.nalUnitSize+=o,a.nalUnits[r-1].data=n,a.nalUnits[r-1].type){case h.SPS:this.or.profileIndication=n[1],this.or.profileCompatibility=n[2],this.or.levelIndication=n[3],this.or.numOfSPS=1,this.or.spsLength=n.length,this.or.sps=n;break;case h.PPS:this.or.numOfPPS=1,this.or.ppsLength=n.length,this.or.pps=n}u=e,o=0;var b=31&i[e++];if(b<h.AUD&&a.nalUnits.push({data:null,type:b}),b===h.IDR)this.mB=this.dB.length,a.keyframe=!0,a.flags.dependsOn=2,this.bB++;else if(b===h.NON_IDR)a.keyframe=!1,a.flags.dependsOn=1,a.flags.isNonSyncSample=!0;else if(b===h.AD_INFO_SEI)for(var y=this.yB.parse(i,e),g=0;g<y.length;g++)a.cea608Data.push(y[g])}}(r=a.nalUnits.length)>=1&&null===a.nalUnits[r-1].data&&u<i.length&&(o=e-u,a.nalUnits[r-1].data=i.subarray(u,u+o),a.nalUnitSize+=o),this.or.codec=this.SB(this.or),a.nalUnitSize>0&&this.dB.push(a),this.ready=this.wB()}}},u.prototype.wB=function(){var t=this.dB.length,i=t>0?this.dB[t-1].pts-this.dB[0].pts+this.pB:0;return this.GL.startChunkWithKeyFrame?this.bB>=2:t>1&&i>=9e3},u.prototype.getFrames=function(t){var i=this.GL.startChunkWithKeyFrame&&t&&t.keyFrameBoundary,n=t.keyFrameBoundary?this.dB.length-1:this.dB.length;i&&(n=this.mB,this.bB=1,this.ready=!1);var s=this.dB.splice(0,n);return this.mB=0,s},u.prototype.getConfig=function(){return this.or},u.prototype.SB=function(t){var i=t&&t.profileIndication||66;return"avc1."+((i=Math.max(i,66))<<16|(t&&t.profileCompatibility||0)<<8|(t&&t.levelIndication||10)).toString(16)}},ToqN:function(t,i,n){"use strict";t.exports={userAgent:n("4Qju"),capabilities:n("bAFD")}},TsVQ:function(t,i,n){"use strict";t.exports=h;var s=n("x7P6").StreamingMode,e=n("V66C").StreamTypes,r=n("/iNa");function h(){this.EB=[],this.OB=null,this.AB="blah",this._B=null,this.TB=null,this.ERRORS={INVALID_MPD:1,EMPTY_DATA:2,NO_SEGMENTS:3}}h.prototype.destroy=function(){},h.prototype.MB=function(t){return t?Date.parse(t):0},h.prototype.IB=function(t){var i=0;if(t&&"P"===t.charAt(0)){t.match(/[\d|.|\+]+[A-Z]/g).forEach((function(t){var n=t.charAt(t.length-1),s=parseFloat(t,10);"S"===n?s*=1e3:"M"===n?s*=6e4:"H"===n&&(s*=36e5),i+=s}))}else t&&!isNaN(t)&&(i=parseFloat(t,10));return i},h.prototype.jB=function(t,i){if(void 0===t||void 0===i)return"";if("08d"===t){for(var n=i.toString();n.length<8;)n="0"+n;return n}return i},h.prototype.NB=function(t,i,n,s,e,r){var h={brEndOffset:-1,brStartOffset:-1,containerFormat:"mp4",discontinuity:0,duration:t/1e3,levelIndex:0,periodId:i,sequenceNum:n,startTime:s/1e3,url:e,initSegment:{url:r}};return null===this.TB?(this.TB=h.startTime,h.startTime=0):(h.startTime-=this.TB,h.startTime=Math.round(1e3*h.startTime)/1e3),h},h.prototype.RB=function(t,i,n,r,h,o,u,a){var c=this.kB(i),f=this.LB(n),l=this.DB(n),v=h>l?h/f:l/f,d={groupId:n.id,bitrate:parseInt(n.bandwidth),codecs:[n.codecs],containerFormat:"mp4",drmInfo:[],duration:r/1e3,hasAudio:c===e.AUDIO,hasEndList:!h&&r>0,height:c===e.VIDEO?n.height:0,segmentInfoList:[],type:c,width:c===e.VIDEO?n.width:0,streamingMode:s.DASH,initSegment:{url:a},url:u,targetDuration:v};if(c===e.AUDIO?(d.audioCodec=n.codecs,d.language=i.lang,d.autoSelect=!1,d.default=!1,d.groupId=n.id,d.channels=n.audioChannnelConfiguration?n.audioChannnelConfiguration.value:0):c===e.VIDEO?(d.audioGroupId="audio",d.subtitlesGroupId="subs",d.videoCodec=n.codecs):c===e.SUBTITLES&&(d.language=i.lang,d.groupId=n.id,d.codec=n.codecs,d.autoSelect=!1,d.subtitlesCodec=n.codecs),i.drm.length>0){for(var p={},m=0;m<i.drm.length;m++){var b=i.drm[m];p.periodId=t.id;var y={prefix:null!==this._B?this._B:"",pssh:b.pssh};"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===b.schemeIdUri?(y.type="wv",p.widevine=y):"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"===b.schemeIdUri&&(y.type="pr",y.pro=b.pro,p.playready=y)}d.drmInfo.push(p)}return d},h.prototype.LB=function(t){return t.segmentList?parseInt(t.segmentList.timescale,10):t.segmentTemplate?parseInt(t.segmentTemplate.timescale,10):1e3},h.prototype.DB=function(t){var i=this.LB(t);if(t.segmentList)return 1e3*parseInt(t.segmentList.duration,10)/i;if(t.segmentTemplate){var n=t.segmentTemplate;if(n.duration)return 1e3*parseInt(n.duration,10)/i;if(n.segmentTimeline){var s=0;return n.segmentTimeline.sElements.forEach((function(t){t.r&&t.r>0&&(s=1e3*parseInt(t.d,10)/i)})),s}}return 0},h.prototype.CB=function(t,i,n,s,e,h,o,u){var a=new RegExp(/\$Number%([\d|.|\+]*[a-zA-Z])\$/),c=t.startMS,f=t.durationMS,l=this.DB(i),v=[],d="";if(i.segmentList)for(var p=0;p<i.segmentList.segments.length;p++){var m=i.segmentList.segments[p],b=Math.min(l,f);f-=b,d=n&&!r.isAbsoluteUrl(m)?n+m:m,v.push(this.NB(b,t.id,p,c,d,s)),c+=b}else if(i.segmentTemplate){var y=i.segmentTemplate,g=parseInt(y.startNumber,10),w=0,S=Math.ceil(t.durationMS/l),E=0,O=0,A=0;if("dynamic"===u?(E=Math.min(Math.floor((h-t.startMS)/l),S),O=Math.max(Math.floor((h-t.startMS-o)/l),1)):(E=S,O=1),E<=0||O>E)w=0;else{var _=O-1;g+=_,w=E===O?1:E-O+1,A=t.startMS+_*l,f-=_*l,w<0&&(w=0)}for(var T=y.media.replace("$RepresentationID$",i.id),M=a.test(T)?T.match(a)[1]:"",I=g;I<w+g;I++){var j=T.replace(a,this.jB(M,I)),N=Math.min(l,f);f-=N,d=n&&!r.isAbsoluteUrl(j)?n+j:j;var R=this.NB(N,t.id,I-g,A,d,s);v.push(R),A+=N}}return v},h.prototype.PB=function(t,i){var n=null;return t.segmentList?n=t.segmentList.initialization.sourceURL:t.segmentTemplate&&(n=t.segmentTemplate.initialization.replace("$RepresentationID$",t.id)),i&&!r.isAbsoluteUrl(n)?i+n:n},h.prototype.xB=function(t){return(new DOMParser).parseFromString(t,"application/xml")},h.prototype.parse=function(t){var i=this,n={};if(!t)return null;var r=i.xB(t.rawData);if(null===r||null===r.documentElement||void 0===r.documentElement)return n.error=i.ERRORS.INVALID_MPD,n;if("MPD"!==r.documentElement.nodeName)return n.error=i.ERRORS.INVALID_MPD,n;t.headers&&t.headers.length>0&&t.headers.forEach((function(t){"x-uplynk-prefix"===t.name&&(i._B=t.value)})),i.OB=r,i.UB(r.documentElement,n);var h=i.MB(n.publishTime),o=i.VB(h);n.streamingMode=s.DASH,n.drm=!1,n.reloadUrl=t.url;for(var u=[],a=r.documentElement.childNodes,c=0;c<a.length;c++){var f=a[c];if(1===f.nodeType)if("Period"===f.nodeName){var l=i.BB(f);null!==l&&u.push(l)}else"Location"===f.nodeName&&(n.reloadUrl=f.childNodes[0].nodeValue)}for(var v=[],d=[],p=[],m=i.IB(n.mediaPresentationDuration),b=i.IB(n.minimumUpdatePeriod),y=i.IB(n.suggestedPresentationDelay),g=i.MB(n.availabilityStartTime),w=0,S=-1,E=0;E<u.length;E++){var O=u[E];O.startMS=i.FB(O,g,w),-1===S&&(S=O.startMS);var A=E+1<u.length?u[E+1]:null;O.endMS=i.zB(O,O.startMS,g,A,S,m,b,o),O.durationMS=O.endMS-O.startMS;for(var _=0;_<O.adaptationSets.length;_++)for(var T=O.adaptationSets[_],M=i.kB(T),I=0;I<T.representations.length;I++){var j=T.representations[I],N=j.baseURL?j.baseURL:T.baseURL,R=i.PB(j,N),k=i.RB(O,T,j,m,b,n.type,n.reloadUrl,R),L=i.CB(O,j,N,R,S,o,y,n.type);L.length>0&&(Array.prototype.push.apply(k.segmentInfoList,L),M===e.VIDEO?i.HB(v,k):M===e.AUDIO?i.HB(d,k):M===e.SUBTITLES&&i.HB(p,k)),T.drm.length>0&&(n.drm=!0)}w+=O.durationMS}this.YB(d),this.YB(p);var D={AUDIO:{audio:d},SUBTITLES:{subs:p}};return n.streamInfoList=v,n.renditionGroups=D,n},h.prototype.YB=function(t){t&&t.length>0&&(t[0].autoSelect=!0,t[0].default=!0)},h.prototype.HB=function(t,i){for(var n=0;n<t.length;n++)if(t[n].groupId===i.groupId)return void this.GB(t[n],i);i.index=t.length,t.push(i)},h.prototype.kB=function(t){return"video/mp4"===t.mimeType?e.VIDEO:"audio/mp4"===t.mimeType?e.AUDIO:"application/mp4"===t.mimeType&&"text"===t.contentType?e.SUBTITLES:e.VIDEO},h.prototype.GB=function(t,i){for(var n=t.segmentInfoList[t.segmentInfoList.length-1].sequenceNum+1,s=0;s<i.segmentInfoList.length;s++){var e=i.segmentInfoList[s];e.sequenceNum=n+s,t.segmentInfoList.push(e)}for(var r=0;r<i.drmInfo.length;r++)t.drmInfo.push(i.drmInfo[r]);i.bitrate>t.bitrate&&(t.bitrate=i.bitrate)},h.prototype.UB=function(t,i){for(var n=t.attributes,s=0;s<n.length;s++)i[n[s].nodeName]=n[s].nodeValue;return n.length},h.prototype.BB=function(t){var i={adaptationSets:[]};this.UB(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("AssetIdentifier"===s.nodeName){var e={};this.UB(s,e),i.assetIdentifier=e}else if("AdaptationSet"===s.nodeName){var r=this.WB(s);null!==r&&i.adaptationSets.push(r)}}return i},h.prototype.WB=function(t){var i={representations:[],drm:[]};this.UB(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("Role"===s.nodeName){var e={};this.UB(s,e),i.role=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("ContentProtection"===s.nodeName){var r=this.qB(s);null!==r&&i.drm.push(r)}else if("Representation"===s.nodeName){var h=this.XB(s);null!==h&&i.representations.push(h)}else s.nodeName}return i},h.prototype.qB=function(t){var i={};this.UB(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if(-1!==s.nodeName.indexOf("pssh"))i.pssh=s.childNodes[0].nodeValue;else if("mspr:pro"===s.nodeName)i.pro=s.childNodes[0].nodeValue;else if("ms:laurl"===s.nodeName){var e={};this.UB(s,e),i.laurl=e}}return i},h.prototype.XB=function(t){var i={};this.UB(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("AudioChannelConfiguration"===s.nodeName){var e={};this.UB(s,e),i.audioChannnelConfiguration=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("SegmentTemplate"===s.nodeName){var r=this.QB(s);i.segmentTemplate=r}else if("SegmentList"===s.nodeName){var h=this.ZB(s);null!==h&&(i.segmentList=h)}}return i},h.prototype.QB=function(t){var i={};this.UB(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType&&"SegmentTimeline"===s.nodeName){var e=this.JB(s);i.segmentTimeline=e}}return i},h.prototype.JB=function(t){var i={sElements:[]};this.UB(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType&&"S"===s.nodeName){var e={};this.UB(s,e),i.sElements.push(e)}}return i},h.prototype.ZB=function(t){var i={segments:[]};this.UB(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("Initialization"===s.nodeName){var e={};this.UB(s,e),i.initialization=e}else if("SegmentURL"===s.nodeName){var r=s.getAttribute("media");null!==r&&i.segments.push(r)}}return i},h.prototype.FB=function(t,i,n){return t.start?i+this.IB(t.start):n},h.prototype.zB=function(t,i,n,s,e,r,h,o){return t.duration?i+this.IB(t.duration):s&&s.start?n+this.IB(s.start):r?n+e+r:h+o},h.prototype.VB=function(t){var i=Date.now();return this.KB||(this.KB=i-t),i-this.KB}},U6jy:function(t,i){t.exports=function(){for(var t={},i=0;i<arguments.length;i++){var s=arguments[i];for(var e in s)n.call(s,e)&&(t[e]=s[e])}return t};var n=Object.prototype.hasOwnProperty},UDn2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.THREE_SIXTY="360"}(i.VIDEO_TYPE||(i.VIDEO_TYPE={})),function(t){t.VOD="vod",t.LIVE_EVENT="liveEvent",t.LIVE_CHANNEL="liveChannel",t.CONTAINER="container"}(i.MediaItemType||(i.MediaItemType={})),function(t){t.NO_DATA="no-data",t.FETCHING="fetching",t.HAS_DATA="has-data",t.ERROR="error"}(i.ItemState||(i.ItemState={})),function(t){t.NO_DATA="noSourceData",t.FETCHING="fetchingSource",t.HAS_DATA="hasSourceData",t.ERROR="sourceError"}(i.SourceState||(i.SourceState={})),function(t){t.NOT_RECOVERING="notRecovering",t.RECOVERING="recovering",t.RECOVERED="recovered"}(i.ItemRecoveryStatus||(i.ItemRecoveryStatus={})),function(t){t.UPLYNK="media/uplynk",t.SAPI="media/sapi",t.CONTAINER="media/container"}(i.MediaItemMimeType||(i.MediaItemMimeType={}))},URgk:function(t,i,n){(function(t){var s=void 0!==t&&t||"undefined"!=typeof self&&self||window,e=Function.prototype.apply;function r(t,i){this.$B=t,this.tF=i}i.setTimeout=function(){return new r(e.call(setTimeout,s,arguments),clearTimeout)},i.setInterval=function(){return new r(e.call(setInterval,s,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this.tF.call(s,this.$B)},i.enroll=function(t,i){clearTimeout(t.iF),t.nF=i},i.unenroll=function(t){clearTimeout(t.iF),t.nF=-1},i.sF=i.active=function(t){clearTimeout(t.iF);var i=t.nF;i>=0&&(t.iF=setTimeout((function(){t.eF&&t.eF()}),i))},n("YBdB"),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},UbnH:function(t,i,n){"use strict";t.exports={DATA_PROCESS_PROGRESS:"dataProcessProgress",DATA_PROCESS_ERROR:"dataProcessError",DATA_PROCESS_COMPLETE:"dataProcessComplete"}},V66C:function(t,i,n){"use strict";t.exports.Stream=c;var s=i.StreamTypes={MAIN:"MAIN",AUDIO:"AUDIO",VIDEO:"VIDEO",SUBTITLES:"SUBTITLES",CLOSED_CAPTIONS:"CLOSED_CAPTIONS"},e=n("MIFH"),r=n("SQuN"),h=n("9EqR"),o=n("x7P6").StreamingMode,u=n("STAJ"),a=n("rnuW");function c(t,i){this.segments=[],this.cuepoints=[],this.type=s.MAIN,this.videoCodec=null,this.audioCodec=null,this.mp4Chunks={sidx:null,first:null},this.adjusted=!1,this.rF=new a(this),this.activeInitSegment=null,t&&(this.hF(t,i),this.updateConfig(t)),this.oF=new u}c.prototype.destroy=function(){var t=this;t.segments=[],t.cuepoints=[],"mp4"===t.containerFormat&&Object.keys(t.mp4Chunks).forEach((function(i){var n=t.mp4Chunks[i];n&&n.destroy()})),t.rF.destroy()},c.prototype.hF=function(t,i){if(this.altRenditionGroups={},i)for(var n=0;n<i.length;n++){var s=i[n];s.groupId===t.audioGroupId?(this.altRenditionGroups.AUDIO=s,this.audioGroupId=t.audioGroupId):s.groupId===t.videoGroupId?(this.altRenditionGroups.VIDEO=s,this.videoGroupId=t.videoGroupId):s.groupId===t.subtitlesGroupId?(this.altRenditionGroups.SUBTITLES=s,this.subtitlesGroupId=t.subtitlesGroupId):s.groupId===t.ccGroupId&&(this.altRenditionGroups.CLOSED_CAPTIONS=s,this.ccGroupId=t.ccGroupId)}},c.prototype.getAlternateStream=function(t){if(this.altRenditionGroups[t])return this.altRenditionGroups[t].getCurrentStream()},c.prototype.setAlternateStream=function(t,i){this.altRenditionGroups[t]&&this.altRenditionGroups[t].setCurrentStream(i)},c.prototype.updateConfig=function(t){var i=this,n=i.audioCodec&&i.audioCodec.length>0;if(t&&(i.streamingMode=t.streamingMode||i.streamingMode,i.bitrate=t.bitrate||i.bitrate,i.avgBitrate=t.avgBitrate||i.avgBitrate,i.url=t.url||i.url,i.containerFormat=t.containerFormat||i.containerFormat,i.cdn=t.cdn||i.cdn,i.rcMode=t.rcMode||"cbr",i.channels=t.channels>=0?t.channels:i.channels,i.width=t.width>=0?t.width:i.width,i.height=t.height>=0?t.height:i.height,i.index=t.index>=0?t.index:i.index,i.hlsInfo=t.hlsInfo||i.hlsInfo,i.targetDuration=t.targetDuration||NaN,i.sessionId=t.sessionId||null,i.audioCodec=t.audioCodec||i.audioCodec,i.videoCodec=t.videoCodec||i.videoCodec,i.type=t.type||s.MAIN,i.sidxOffset=t.sidxOffset>=0?t.sidxOffset:i.sidxOffset,i.sidxLength=t.sidxLength>=0?t.sidxLength:i.sidxLength,i.firstSegOffset=t.firstSegOffset>=0?t.firstSegOffset:i.firstSegOffset,i.firstSegLength=t.firstSegLength>=0?t.firstSegLength:i.firstSegLength,i.hasAudio=t.hasAudio||n||i.channels>0||i.hasAudio,i.groupId=t.groupId||null,void 0!==t.hasEndList&&null!==t.hasEndList&&(i.hasEndList=t.hasEndList),i.hlsInfo&&i.hlsInfo.mp4_url&&(i.mp4Chunks.sidx=i.uF("sidx",i.sidxOffset,i.sidxLength,i.hlsInfo.mp4_url),i.mp4Chunks.first=i.uF("first",i.firstSegOffset,i.firstSegLength,i.hlsInfo.mp4_url)),t.drmInfo&&(i.drmInfo=t.drmInfo)),i.url&&i.url.length&&i.url.indexOf("_60fps")>=0?i.frameRate=60:i.frameRate="AUDIO"===i.type?0:30,t&&t.segmentInfoList){var h=[];t.segmentInfoList.forEach((function(t){t.levelIndex=i.index,t.bitrate=i.bitrate,t.sessionId=i.sessionId,t.cdn=i.cdn;var n=i.getSegmentfromSeqNum(t.sequenceNum);n&&(t.endTimestamps=n.endTimestamps),h.push(i.__controller.create(e,t))})),h.length&&(i.segments=h,i.startSeqNum=h[0].seqNum,i.endSeqNum=h[h.length-1].seqNum,t.cuepointList&&t.cuepointList.length&&(t.cuepointList.forEach((function(t){i.hasCuepoint(t.startSeqNum)||i.cuepoints.push(new r(t))})),i.updateCuepointTime()))}i.segments&&i.segments.length&&(i.refreshInterval=1e3*i.segments[i.segments.length-1].duration);var o=i.altRenditionGroups?i.altRenditionGroups.AUDIO:null;i.type===s.MAIN&&o&&i.containerFormat&&!o.getContainerFormat()&&o.setContainerFormat("ts"===i.containerFormat?"aac":"mp4")},c.prototype.addInitSegment=function(t){return"mp4"===this.containerFormat?this.rF.add(t):null},c.prototype.getInitSegment=function(t){if(!t){if(!this.segments.length)return null;t=this.segments[0]}return this.rF.get(t.initSegment)},c.prototype.uF=function(t,i,n,s){var e,r=this.mp4Chunks[t];return r||("mp4"===this.containerFormat&&s?(i>=0&&n>=0&&(e={start:i,end:i+n-1}),new h({name:t,url:s,range:e})):null)},c.prototype.getMp4Chunk=function(t){return"mp4"===this.containerFormat?this.mp4Chunks[t]:null},c.prototype.dto=function(){var t=this,i={segments:[],cuepoints:[]},n=["segments","__controller","cuepoints","altRenditionGroups","_initSegmentCache","activeInitSegment"];return Object.keys(t).forEach((function(s){n.indexOf(s)>=0||(i[s]=t[s])})),t.segments.forEach((function(t){i.segments.push(t.dto())})),t.cuepoints.forEach((function(t){i.cuepoints.push(t.dto())})),i},c.prototype.setStreamIndex=function(t){this.index=t,this.segments.forEach((function(i){i.setStreamIndex(t)}))},c.prototype.getSeqNumBeforePosition=function(t){if(!this.segments.length)return NaN;if(t<this.segments[0].startTime)return this.startSeqNum;for(var i=0;i<this.segments.length;i++){var n=this.segments[i];if(n&&n.startTime<=t&&n.startTime+n.duration>t)return this.startSeqNum+i}var s=this.segments[this.segments.length-1];return s&&s.startTime+s.duration===t?this.endSeqNum:NaN},c.prototype.getSegmentfromSeqNum=function(t){var i=this.getIndexFromSeqNum(t);return i>=0&&i<this.segments.length?this.segments[i]:null},c.prototype.getIndexFromSeqNum=function(t){if(t>=this.startSeqNum&&t<=this.endSeqNum)for(var i=0;i<this.segments.length;i++)if(this.segments[i]&&this.segments[i].seqNum===t)return i;return-1},c.prototype.contains=function(t){return t>=this.startSeqNum&&t<=this.endSeqNum},c.prototype.isEmpty=function(){return 0===this.segments.length},c.prototype.isReady=function(){if("mp4"!==this.containerFormat)return this.url&&this.segments.length>0;var t=this.rF.getFirst();if(this.streamingMode===o.HLS&&this.hlsInfo&&this.hlsInfo.mp4_url){var i=this.mp4Chunks.sidx;return t&&i&&t.loaded&&i.loaded}return t&&t.loaded&&this.segments.length>0},c.prototype.hasCuepoint=function(t){for(var i=this.cuepoints.length-1;i>=0;i--)if(this.cuepoints[i].startSeqNum===t)return!0;return!1},c.prototype.updateCuepointTime=function(){for(var t,i=0;i<this.cuepoints.length;i++)(t=this.getSegmentfromSeqNum(this.cuepoints[i].startSeqNum))&&this.cuepoints[i].setCueOutStartTime(t.startTime)},c.prototype.equals=function(t){return!!t&&(this.url===t.url&&this.type===t.type&&(this.isDash()?this.groupId===t.groupId:this.index===t.index))},c.prototype.updateSegmentRanges=function(t){if(t&&t.length)for(var i=0;i<t.length&&i<this.segments.length;i++)this.segments[i].brStartOffset=t[i].brStartOffset,this.segments[i].brEndOffset=t[i].brEndOffset},c.prototype.setMp4Timescale=function(t){if("mp4"===this.containerFormat&&t&&t.loaded&&t.data){var i=this.oF.parse(t.data,"mdhd");if(i&&i.timescale>0)this.timescale=i.timescale;else{var n=this.oF.parse(t.data,"mvhd");this.timescale=n.timescale}}},c.prototype.isDash=function(){return this.streamingMode===o.DASH},c.prototype.setFrameRate=function(t){t&&(this.frameRate=t)},c.prototype.getDrmInfo=function(){return this.drmInfo}},WC4C:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});this&&this.__spreadArrays;Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("PwYT"),u=n("tgpW"),a=n("R+G7"),c=n("+Ojf"),f=n("mczr");h.userAgent.mobile&&a.default.hasNativeAutoplaySupport&&(r=u.default.getPool());var l=0,v=function(t){function i(){var n=t.call(this,"external-renderer")||this;return n.type=i.type,n.timedOut=!1,n.aF=c.default.noop,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"mimetype",{get:function(){return this.S_?this.S_.mimetype:void 0},enumerable:!0,configurable:!0}),i.prototype.create=function(t){this.node=t instanceof HTMLVideoElement?t:r?r.get():c.default.createVideoNode();var i=this.node;i.setAttribute("id","vp-ext-rndr-"+ ++l),c.default.classList(i).add("vp-html5-video");var n=this.container=document.createElement("div");return n.setAttribute("id",c.default.generateGuid()),c.default.classList(n).add("vp-external-video"),n.appendChild(i),n},i.prototype.getExternalPlayer=function(){return this.S_},i.prototype.setExternalPlayer=function(t){this.S_&&this.S_!==t&&this.cF(),this.S_=t,this.fF()},i.prototype.play=function(t){this.S_&&this.Ty&&this.S_.play(this.Ty.rawItemData)},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){return void 0===i&&(i=0),!(!t||!this.S_)&&(this.lF=null,this.S_.preparePlayback(t.rawItemData,this.node,this.container),!this.lF&&(this.Ty=t,!0))},i.prototype.waitForReady=function(t){t&&t()},i.prototype.seek=function(t){this.S_&&this.S_.seek(t)},i.prototype.pause=function(){this.S_&&this.S_.pause()},i.prototype.skip=function(){this.S_&&this.S_.skip()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.S_?this.S_.getCurrentTime():0},i.prototype.getDuration=function(){return this.S_?this.S_.getDuration():0},i.prototype.getMuted=function(){return!(!this.S_||!this.S_.isMuted())},i.prototype.getVolume=function(){return this.S_?this.S_.getVolume():NaN},i.prototype.setQuality=function(t){},i.prototype.setError=function(t){},i.prototype.enterFullScreen=function(){var t=this.node;if(t){var i=t.requestFullscreen||t.webkitRequestFullscreen||t.webkitEnterFullscreen;i&&i.call(this.node)}},i.prototype.exitFullScreen=function(){var t=this.node;if(t){var i=document.exitFullscreen||document.webkitExitFullscreen;i?i.call(document):t.webkitExitFullscreen&&t.webkitExitFullscreen()}},i.prototype.setVolume=function(t){this.S_&&this.S_.setVolume(t)},i.prototype.setMute=function(t){this.S_&&this.S_.mute(t)},i.prototype.setAudioLanguage=function(t){},i.prototype.stopMedia=function(){return!!this.S_&&(this.S_.stop(),!0)},i.prototype.bindCustomEvents=function(){},i.prototype.destroy=function(){var t=this.container;t&&t.parentNode&&t.parentNode.removeChild(t),this.S_&&(this.S_.unload(),this.cF(),this.S_=null)},i.prototype.detachNode=function(){this.node&&this.node.pause()},i.prototype.reattachNode=function(){},i.prototype.setActive=function(t){this.oy=t},i.prototype.showAirplayTargetMenu=function(){},i.prototype.suspendStreaming=function(){},i.prototype.resumeStreaming=function(){},i.prototype.fF=function(){this.S_&&(this.aF=o.listenEventDispatcherEvts(this.S_,Object.keys(f.ExternalPlayerEvent).map((function(t){return f.ExternalPlayerEvent[t]})),this.vF.bind(this)))},i.prototype.cF=function(){this.aF(),this.aF=c.default.noop},i.prototype.vF=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];f.ExternalPlayerEvent.TIME_UPDATE;var e=this.S_;switch(i){case f.ExternalPlayerEvent.TIME_UPDATE:this.publish(f.RendererEvent.TIMEUPDATE,{currentTime:e.getCurrentTime(),duration:e.getDuration(),buffered:this.node.buffered});break;case f.ExternalPlayerEvent.PLAYBACK_ERROR:var r=n[0]||this.node.error;this.lF=r||{},this.publish(f.RendererEvent.ERROR,r);break;case f.ExternalPlayerEvent.ITEM_LOADED:this.publish(f.RendererEvent.LOADSTART);break;case f.ExternalPlayerEvent.MUTE_CHANGED:case f.ExternalPlayerEvent.VOLUME_CHANGED:this.publish(f.RendererEvent.VOLUMECHANGE,{volume:e.getVolume(),mute:e.isMuted()});break;case f.ExternalPlayerEvent.PLAY_REQUESTED:this.ended=!1;break;case f.ExternalPlayerEvent.PLAYING:this.paused=!1,this.ended=!1,this.publish(f.RendererEvent.PLAYING);break;case f.ExternalPlayerEvent.PAUSED:this.paused=!0,this.publish(f.RendererEvent.PAUSE);break;case f.ExternalPlayerEvent.PLAY_COMPLETE:this.ended=!0,this.publish(f.CustomRendererEvent.PLAY_COMPLETE,{evt:"ad_play_complete"}),this.publish(f.RendererEvent.ENDED);break;case f.ExternalPlayerEvent.SKIPPED:this.publish(f.CustomRendererEvent.SKIPPED)}},i.type=f.RendererType.EXTERNAL,i}(f.Renderer);i.default=v},WSjl:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.INIT="init",t.WAITING="waiting",t.VIDEO="video",t.END="end"}(s=i.States||(i.States={})),i.default=s},Wf6Z:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.cmsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/cmsSchema",type:"object",properties:{colo:{type:"string"},suppressAdContext:{type:"boolean"},enableCache:{type:"boolean"},cachedVs:{type:"string"},env:{type:"string"}}}},X1lw:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("ToqN"),u=n("A4+F"),a=n("8PPl"),c=n("oIMU"),f=n("u8By"),l=n("ma23"),v=n("mczr"),d=n("xqNZ"),p=n("R+G7"),m=n("fLR+"),b=n("+Ojf"),y=n("oorc"),g=n("q9al"),w=n("ECHB"),S=n("2F+v"),E=n("BHp4");function O(t){return b.default.classList(t)}!function(t){t.BACKWARD_SEEK="ceBackwardSeek",t.CUSTOM_ELEMENT="ceCustomElem",t.FORWARD_SEEK="ceForwardSeek",t.LOGO_CLICK="ceLogoClick",t.SEEK="ceSeek",t.SET_AUDIO_LANGUAGE="ceSetAudio",t.SET_MUTE="ceSetMute",t.SET_QUALITY="ceQualitySet",t.SET_VOLUME="ceSetVolume",t.TOGGLE_CC="ceToggleCc",t.TOGGLE_PLAY_PAUSE="ceTogglePlayPause",t.UI_INTERACT="ceUiInteract"}(r=i.ControlsEvent||(i.ControlsEvent={}));var A=function(t){function i(i,n,s,e){var r=t.call(this,"Controls")||this;return r.ty=i,r.KA=n,r.iy=s,r.pO=e,r.dF=!0,r.ty.addEventListener(c.VideoEvent.PLAYING,r.pF,r),r.ty.addEventListener(c.CAST.CAPTION_AVAILABILITY_CHANGED,r.updateClosedCaptionUI,r),r.ty.addEventListener(c.RELATED_ITEM_CLICK,r.mF,r),r.ty.addEventListener(c.FULLSCREEN_CHANGE,(function(){r.bF(r.KA.getFullscreen())}),r),r.ty.addEventListener(u.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,(function(t){r.yF&&O(r.yF)[t?"remove":"add"]("vp-hidden")}),r),r.ty.addEventListener(u.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,(function(t){r.yF&&O(r.yF)[t.connected?"add":"remove"]("vp-airplay-on")}),r),r.ty.addEventListener(c.KEYDOWN,r._T,r),r.ty.addEventListener(u.ExternalEvt.PLAYER_DOCKED_CHANGE,r.gF,r),r.ty.addEventListener(c.CCEvent.TOGGLE,r.updateClosedCaptionButtonState,r),r}return e(i,t),i.prototype.create=function(){var t=b.default.render(S,{isMobile:o.userAgent.mobile,strings:d.default}),i={logoContainer:t.querySelector(".vp-logos"),multiAudioList:t.querySelector(".vp-multi-audio"),bottomBar:t.querySelector(".vp-bottom-bar"),topBar:t.querySelector(".vp-top-bar"),titleBar:t.querySelector(".vp-playing-item-title"),muteIndicator:t.querySelector(".vp-mute-indicator"),objectOverlay:t.querySelector(".vp-object-overlay")};this.pD=i.bottomBar,this.wF=this.pD.querySelector(".vp-slider"),this.SF=this.pD.querySelector(".vp-buffer-bar"),this.EF=this.pD.querySelector(".vp-time-container"),this.OF=this.pD.querySelector(".vp-menu-controls"),this.AF=this.pD.querySelector(".vp-current-time"),this._F=this.pD.querySelector(".vp-total-time"),this.TF=this.pD.querySelector(".vp-handle"),this.MF=this.pD.querySelector(".vp-playback-bar"),this.IF=this.pD.querySelector(".vp-play-btn"),this.jF=this.pD.querySelector(".vp-forward-btn"),this.NF=this.pD.querySelector(".vp-backward-btn"),this.RF(),this.kF=this.pD.querySelector(".vp-seek"),this.LF=this.pD.querySelector(".vp-visual-seek"),this.DF=this.pD.querySelector(".vp-cc-btn"),this.CF=this.pD.querySelector(".vp-cc-pointer"),this.yF=this.pD.querySelector(".vp-airplay-btn"),this.PF=this.pD.querySelector(".vp-fullscreen-btn"),this.xF=this.pD.querySelector(".vp-volume-btn"),this.UF=this.pD.querySelector(".vp-volume-bar-container"),this.VF=this.pD.querySelector(".vp-volume-level"),this.BF=this.pD.querySelector(".vp-volume-bar"),this.FF=this.pD.querySelector(".vp-volume-value"),this.zF=this.pD.querySelector(".vp-volume-handle"),this.HF=i.multiAudioList,this.YF=this.pD.querySelector(".vp-multiaudio-btn"),this.GF=i.logoContainer,this.WF=i.muteIndicator,this.qF=i.titleBar,this.XF=this.pD&&this.pD.parentNode.querySelector(".vp-playing-item-title-header"),this.QF=i.topBar,this.xy=this.QF&&this.QF.querySelector(".vp-content-type"),this.ZF=this.iy.showTitleOnHover;var n=this.PF&&o.userAgent.ie&&o.userAgent.ie<=10&&b.default.isIFrame();if(n=n||!this.iy.showFullscreenButton){var s=document.createElement("div");O(s).add("vp-fullscreen-btn-replacement"),this.PF&&(this.PF.parentNode.insertBefore(s,this.PF),this.PF.parentNode.removeChild(this.PF),this.PF=null)}return p.default.airplaySupported&&this.iy.casting||this.yF&&this.yF.parentNode&&(this.yF.parentNode.removeChild(this.yF),delete this.yF),this.JF(),(!o.userAgent.ie||o.userAgent.ie>10)&&this.KF(),this.$F(),this.sy(),this.DF&&(this.tz?this.tz.createCCBtnTooltip(this.DF):!o.userAgent.mobile||o.userAgent.chrome&&p.default.hasNativeAutoplaySupport||(this.DF.style.display="none")),o.userAgent.mobile||delete i.multiAudioList,this.iz(),this.nz(),i},i.prototype.syncAriaState=function(){this.iy.isPaused()?this.IF.setAttribute("aria-label",d.default.PLAY_VIDEO):this.IF.setAttribute("aria-label",d.default.PAUSE_VIDEO),this.PF&&(this.KA.getFullscreen()?this.PF.setAttribute("aria-label",d.default.GO_TO_NORMAL_SCREEN):this.PF.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN)),this.xF&&(O(this.xF).contains("muted")?this.xF.setAttribute("aria-label",d.default.UNMUTE):this.xF.setAttribute("aria-label",d.default.MUTE))},i.prototype.getBottomBar=function(){return this.pD},i.prototype.onMediaItemLoaded=function(t){this.wP=t.isLive(),this.sz="",this.xy.innerHTML="",this.xy.setAttribute("aria-label",""),O(this.xy).add("hide"),this.wP?this.ez():this.rz()},i.prototype.updateVolumeUI=function(t,i){"boolean"!=typeof i||m.isNullOrUndefined(i)?this.hz(!t):(this.hz(i),t=i?0:t),this.oz(t)},i.prototype.updateClosedCaptionUI=function(t){this.dF=t,t?(O(this.DF).remove("vp-hide"),O(this.uz).remove("vp-hide"),this.az(d.default.CAPTIONS_AVAILABLE)):(O(this.DF).add("vp-hide"),O(this.uz).add("vp-hide"),this.az(d.default.CAPTIONS_NOT_AVAILABLE))},i.prototype.updateClosedCaptionButtonState=function(t){t?(O(this.DF).add("vp-on"),this.az(d.default.CAPTIONS_ON)):(O(this.DF).remove("vp-on"),this.az(d.default.CAPTIONS_OFF)),this.cz&&this.cz.updateCCToggleState(t),this.dF||this.az(d.default.CAPTIONS_NOT_AVAILABLE)},i.prototype.updateAvailableLanguages=function(t){this.cz&&this.cz.updateAvailableLanguages(t)},i.prototype.onPlayerResize=function(t){this.cz&&this.cz.onPlayerResize(t),t.width<=a.HideBreakpointDimensions.WIDTH&&t.height<=a.HideBreakpointDimensions.HEIGHT?O(this.fz).add("vp-hide"):O(this.fz).remove("vp-hide"),this.lz&&this.lz.onPlayerResize(t,this.vz)},i.prototype.onlanguageChange=function(t){this.KA&&this.KA.onlanguageChange(t)},i.prototype.updateClosedCaptionStyle=function(t){this.KA&&this.KA.updateClosedCaptionStyle(t)},i.prototype.onMediaItemCurrent=function(t){},i.prototype.onMediaItemPlaybackStarted=function(t){this.wP?this.ez():this.rz(),this.nz(),this.dz(),this.iz(),this.pz(),this.HF&&this.mz(),this.bz(),this.yz(t),this.lz&&this.lz.onPlaybackStarted(t);var i=this.iy.uiState.width<=a.HideBreakpointDimensions.WIDTH&&this.iy.uiState.height<=a.HideBreakpointDimensions.HEIGHT;this.lz&&this.lz.shouldEnableSettings()&&!i?O(this.fz).remove("vp-hide"):O(this.fz).add("vp-hide")},i.prototype.onMediaItemPlaybackProgress=function(t){var i=this._f,n=t.buffered,s=i.currentTime,e=i.playbackMode;n&&this.gz(n),void 0!==s&&e===v.PlaybackMode.VIDEO&&this.wz(s)},i.prototype.onAdPlaybackStarted=function(){this.nz(),this.Sz(),this.Ez(),this.Oz(),O(this.jF).add("vp-disable"),O(this.NF).add("vp-disable"),O(this.wF).add("vp-disable"),O(this.xy).add("hide"),O(this.EF).add("vp-hide"),O(this.fz).add("vp-hide"),this.lz&&this.lz.isOpen()&&this.lz.toggleSettings(this.vz)},i.prototype.onAdPlaybackEnded=function(){this.pz(),this.iy.seekControls.show&&(O(this.jF).remove("vp-disable"),O(this.NF).remove("vp-disable")),O(this.wF).remove("vp-disable"),O(this.EF).remove("vp-hide"),this.lz&&this.lz.shouldEnableSettings()&&O(this.fz).remove("vp-hide")},i.prototype.onAdPlaybackProgress=function(t){},i.prototype.onControlsBarChange=function(t){!this.ZF||this.KA.isDocked()&&this.iy.docking.showInfoCard||(t?this.Az():(this._z(),O(this.TF).remove("active"),O(this.wF).remove("vp-thick-slider"),this.Ez()))},i.prototype.getCCElement=function(){return this.KA?this.KA.getCCElement():null},i.prototype.getMainElement=function(){return this.KA.getMainElement()},i.prototype.updateCurrentItemTitle=function(t){this.qF.innerHTML=t},i.prototype.addCustomControlElement=function(t){var i=this,n=t.icon||"",s=t.label||"",e=t.className||"",h=document.createElement("div");h.setAttribute("class",e),h.setAttribute("style",'background-image: url("'+n+'")'),h.setAttribute("aria-label",s),h.setAttribute("role","button"),h.setAttribute("tabindex","0"),O(h).add("vp-button"),this.OF.insertBefore(h,this.OF.firstChild),this.publish(r.CUSTOM_ELEMENT,"create",s);return this.Tz=new w.default(h,(function(t){t.stopPropagation(),i.publish(r.CUSTOM_ELEMENT,"click",s)})),h},i.prototype.destroy=function(){this.Mz&&this.Mz.destroy(),this.Iz&&this.Iz.destroy(),this.jz&&this.jz.destroy(),this.Nz&&this.IF&&(this.Nz.destroy(),this.PF&&this.Rz&&this.Rz.destroy(),this.kz&&this.kz.destroy(),this.Lz&&this.Lz.destroy(),this.Dz&&this.Dz.destroy(),this.Oz(),this.Cz()),this.lD&&(this.DD.removeEventListener("tap",this.CD),this.lD.destroy()),this.Pz&&this.Pz.destroy(),this.Tz&&this.Tz.destroy(),this.xz&&this.xz.destroy(),this.Uz&&this.Uz.destroy(),this.WF&&this.Vz(),this.KA.getContentNode().removeEventListener("keydown",this.Bz,!1),this.Fz&&this.Fz.destroy()},i.prototype.gF=function(){var t=this,i=this.iy.logos;i&&!O(this.GF).contains("vp-hide")&&this.GF.querySelector(".vp-logo")&&Object.keys(i).forEach((function(n){var s=t.GF.querySelector(".vp-logo-type-"+n+" img");t.zz(s,i[n])}))},i.prototype.iz=function(){var t=this,i=this.iy.logos;this.GF&&i&&(Object.keys(i).forEach((function(n){i[n]&&t.Hz(i[n],n)})),O(this.GF).remove("vp-hide"))},i.prototype.RF=function(){if(this.pD){o.userAgent.android&&(this.jF.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"),this.NF.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"));var t=this.jF.querySelector(".vp-forward-time"),i=this.NF.querySelector(".vp-backward-time");t.innerHTML=i.innerHTML=this.iy.seekControls.offset,this.iy.seekControls.offset<10&&(t.setAttribute("transform","translate(2, 0.4)"),i.setAttribute("transform","translate(1.8, 0.4)"))}},i.prototype.Hz=function(t,i){var n=this;if(t&&t.url){var s=this.GF.querySelector(".vp-logo-type-"+i);s||((s=document.createElement("div")).innerHTML="<img />",s.setAttribute("class","vp-logo vp-logo-type-"+i),this.Pz=new w.default(s,(function(){return n.publish(r.LOGO_CLICK)})),this.GF.appendChild(s));var e=s.querySelector("img"),h=["bottomLeft","bottomRight","topRight","topLeft","off"],o=t.position&&h.indexOf(t.position)>-1?t.position:"bottomRight",u=O(s);h.forEach((function(t){t!==o&&u.contains("vp-logo-"+t)&&u.remove("vp-logo-"+t)})),t.fadeOut&&/^\d+\.?\d*s$/.test(t.fadeOut)&&(u.add("vp-logo-fadeout"),s.setAttribute("data-fadeout",t.fadeOut)),u.contains(o)||u.add("vp-logo-"+o),t.url&&e.src!==t.url&&(e.src=t.url,this.zz(e,t))}},i.prototype.$F=function(){var t=this;this.lz=new g.default(this.iy),this.fz=this.pD.querySelector(".vp-setting-btn"),this.vz=this.pD.querySelector(".vp-setting-pointer"),this.fz&&(this.jz=new w.default(this.fz,(function(){t.lz&&t.lz.toggleSettings(t.vz),t.cz.hideActiveContainer(t.CF)}))),this.Yz=this.lz.create(),this.OF.parentNode.insertBefore(this.Yz,this.OF.nextSibling),this.lz.on(g.SettingsEvent.SET_QUALITY,(function(i){t.publish(r.SET_QUALITY,i)}),this),this.lz.on(g.SettingsEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this)},i.prototype.zz=function(t,i){var n=this.KA.isDocked();i&&i.height&&t&&(t.height=n?Math.min(i.height,this.iy.docking.height/10):i.height),i&&i.width&&t&&(t.width=n?Math.min(i.width,this.iy.docking.width/10):i.width)},i.prototype.Sz=function(){this.GF&&O(this.GF).add("vp-hide")},i.prototype.Gz=function(){var t=this.GF.querySelectorAll(".vp-logo-fadeout");if(!(t.length<1))for(var i=0,n=t;i<n.length;i++){var s=n[i],e=s&&s.getAttribute("data-fadeout");e&&Object.assign(s.style,{opacity:0,transition:"visibility "+e+" ease-in-out "+e+", opacity "+e+" ease-in-out",visibility:"hidden"})}},i.prototype.Wz=function(t){var i=this;!this.iy.autoplay||this.KA.isDocked()&&this.iy.docking.showInfoCard||(O(this.qF).add("vp-title-standard"),this.qz(!0),this.Xz=window.setTimeout((function(){O(i.qF).add("vp-hide"),i.Qz(t)}),6e3))},i.prototype.dz=function(){this.Xz&&clearTimeout(this.Xz),this.Zz=null;var t=this.Ny(),i=t&&t.title||"";switch(this.Jz(),this.updateCurrentItemTitle(i),O(this.qF).remove("vp-title-standard"),O(this.qF).remove("vp-secondary"),O(this.qF).remove("vp-hide"),this.Zz&&this.XF&&(O(this.XF).remove("vp-title-header-standard"),O(this.XF).remove("vp-hide")),this.iy.showTitleOnStart||""){case"fadeoutall":this.Wz(!0);break;case"standard":this.Wz(!1)}},i.prototype.Jz=function(){var t=this.XF;if(this.Kz()){var i=this.Zz,n=i&&i.open_label||i&&i.label||"";t.innerHTML=this.$z(n)}else t&&""!==t.innerHTML&&(t.innerHTML="",O(t).add("vp-hide"))},i.prototype.qz=function(t){if(this.Kz()){var i=O(this.XF);i.remove("vp-hide"),i.add("vp-title-header-standard"),O(this.qF).add("vp-secondary"),t?i.add("vp-title-shown"):i.remove("vp-title-shown")}},i.prototype.Qz=function(t){var i=this;if(this.tH&&clearTimeout(this.tH),this.iH&&clearTimeout(this.iH),this.Kz()){var n=this.XF,s=O(n);s.remove("vp-title-shown"),s.add("vp-hide");var e=this.Zz,r=e&&e.label||"";this.tH=window.setTimeout((function(){n.innerHTML=i.$z(r),s.remove("vp-hide"),t&&(i.iH=window.setTimeout((function(){n.innerHTML="",s.add("vp-hide")}),5e3))}),300)}},i.prototype.Kz=function(){return!(!this.XF||!this.Zz)},i.prototype.$z=function(t){if(!t||""===t)return"";return""+t.replace(/\*\*([^\*]+(\s[^\*]+)*)\*\*/gi,"<strong>$1</strong>")},i.prototype.Az=function(){O(this.qF).add("vp-title-standard"),O(this.qF).remove("vp-hide"),this.qz(!0)},i.prototype._z=function(){O(this.qF).add("vp-title-standard"),O(this.qF).add("vp-hide"),this.qz(!1)},i.prototype.ez=function(){O(this.wF).add("vp-disable"),O(this.jF).add("vp-disable"),O(this.NF).add("vp-disable"),O(this.EF).add("vp-hide"),this.sz&&"live"===this.sz&&(this.xy.innerHTML=d.default.LIVE,this.xy.setAttribute("aria-label",d.default.LIVE),O(this.xy).remove("hide"),O(this.qF).add("vp-live"))},i.prototype.rz=function(){O(this.wF).remove("vp-disable"),this.iy.seekControls.show?(O(this.jF).remove("vp-disable"),O(this.NF).remove("vp-disable")):(O(this.jF).add("vp-disable"),O(this.NF).add("vp-disable")),O(this.EF).remove("vp-hide"),O(this.qF).remove("vp-live")},i.prototype.sy=function(){var t=this;if(this.Nz=new w.default(this.IF,(function(i){i.stopPropagation();var n=t.KA.getCurrentViewState(),s=t.Ny(),e=s&&s.id,h=t.iy.isPaused()?"ctrl-play-btn":"ctrl-pause-btn";"end-screen"===n?(t.ty.publish(c.RELATED_ITEM_CLICK,e,-1,!1,!1),t.nH()):(t.publish(r.UI_INTERACT,{srcElement:h}),t.publish(r.TOGGLE_PLAY_PAUSE))})),this.PF){this.Rz=new w.default(this.PF,(function(i){i.stopPropagation(),t.KA.toggleFullscreen(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-fullscr-btn"})}))}this.sH=new w.default(this.pD,(function(t){t.stopPropagation()})),this.yF&&(this.Iz=new w.default(this.yF,(function(){t.KA.showAirplayTargetMenu(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-airplay-btn"})}))),this.YF&&(this.Uz=new w.default(this.YF,(function(){O(t.HF).remove("vp-hidden"),t.publish(r.UI_INTERACT,{srcElement:"ctrl-multi-audio-btn"})}))),this.eH(),this.Bz=function(i){t.ty.publish(c.KEYDOWN,{keyCode:i.keyCode,shiftDown:i.shiftKey,ctrlDown:i.ctrlKey,altDown:i.altKey,target:i.target,preventDefault:function(){i.preventDefault()}})},this.KA.getContentNode().addEventListener("keydown",this.Bz,!1),this.Fz=new w.default(this.wF,(function(t){t.stopPropagation()})),this.pz(),this.rH(),this.hH(),this.oH()},i.prototype.KF=function(){this.cz=new y.default(this,this.iy),this.uz=this.cz.create(),o.userAgent.mobile&&O(this.uz).add("vp-hide"),this.OF.parentNode.insertBefore(this.uz,this.OF.nextSibling)},i.prototype.eH=function(){var t=this;this.DF&&(this.Mz=new w.default(this.DF,(function(i){if(i.stopPropagation(),t.dF){var n=!O(t.DF).contains("vp-on"),s="cc-"+(n?"on":"off")+(!(!t.iy.castState||!t.iy.castState.connected)?"-cast":"");t.publish(r.UI_INTERACT,{srcElement:s}),t.publish(r.TOGGLE_CC,n,!0),t.updateClosedCaptionButtonState(n)}})),this.cz&&this.uH())},i.prototype.uH=function(){var t=this;this.aH=null;this.cH=function(i){o.userAgent.mobile||t.lz&&t.lz.isOpen()||(t.fH(i),t.cz.showActiveContainer(t.CF),O(t.UF).remove("open"))},this.lH=function(i){t.fH(i),t.aH&&clearTimeout(t.aH),t.aH=window.setTimeout((function(){t.cz.hideActiveContainer(t.CF)}),1e3)},this.vH=function(i){o.userAgent.mobile||(t.fH(i),t.aH&&clearTimeout(t.aH))},this.dH(this.DF,this.cH,this.lH),this.dH(this.uz,this.vH,this.lH)},i.prototype.az=function(t){this.tz&&this.tz.updateCCTooltip(t)},i.prototype.mF=function(){var t=this.Ny(),i=t&&t.title||"";this.nH(),this.Jz(),this.updateCurrentItemTitle(i)},i.prototype.nH=function(){this.AF.innerHTML="0:00",this._F.innerHTML="0:00"},i.prototype.bF=function(t){this.PF&&(t?(O(this.PF).add("fullscreen"),this.pH(d.default.EXIT_FULLSCREEN)):(O(this.PF).remove("fullscreen"),this.pH(d.default.FULLSCREEN_SPACE))),this.mH(t),this.syncAriaState()},i.prototype.pH=function(t){if(this.PF){var i=this.PF.querySelector(".vp-tooltip-content");i&&(i.innerHTML=t)}},i.prototype.rH=function(){var t=this;if(this.iy.seekControls.show){this.Lz=new w.default(this.jF,(function(i){i.stopPropagation(),t.publish(r.FORWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-forward-seek-btn"})}));this.Dz=new w.default(this.NF,(function(i){i.stopPropagation(),t.publish(r.BACKWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-backward-seek-btn"})}))}},i.prototype.pz=function(){var t=this;this.kF&&(this.kz=new w.default(this.kF,(function(i){i.stopPropagation();var n=t.kF,s=(i.clientX||i.touches&&i.touches[0]&&i.touches[0].clientX||i.pageX)-(n&&n.getBoundingClientRect().left||0),e=n?s/n.clientWidth:1,h=Math.min(e*t.bH,Math.max(t.bH-1,0));t.publish(r.SEEK,h)}))),this.yH=function(i){t.ty.publish(c.SEEK_BAR_MOUSEOVER,i),O(t.TF).add("active"),O(t.wF).add("vp-thick-slider"),t.gH(i),t.fH(i)},this.wH=function(i){t.ty.publish(c.SEEK_BAR_MOUSEOUT,i),O(t.TF).remove("active"),O(t.wF).remove("vp-thick-slider"),t.Ez(),t.fH(i)},this.dH(this.wF,this.yH,this.wH),this.SH=function(i){if(!isNaN(t.bH)){O(t.TF).add("active"),t.fH(i),t.EH=!0,t.ty.publish(c.CONTROLS_SEEK_START);var n=t.OH(i),s=Math.min(n*t.bH,Math.max(t.bH-1,0));t.ty.publish(c.CTRL_SEEK,Math.round(s)),t.AH(i)}},this.AH=function(i){if(t.EH){t.fH(i),O(t.pD).add("vp-drag"),O(t.TF).add("active"),O(t.wF).add("vp-thick-slider"),t.gH(i);var n=t.OH(i),s=Math.min(n*t.bH,Math.max(t.bH-1,0));s=s>1?s:1,t.MF.setAttribute("style","width: "+100*n+"%;"),t.SF.setAttribute("style","width: 0%;"),t.TF.setAttribute("style","left: "+100*n+"%;"),t.ty.publish(c.CONTROLS_SEEKING,s)}},this._H=function(i){t.EH&&(O(t.pD).remove("vp-drag"),O(t.TF).remove("active"),O(t.wF).remove("vp-thick-slider"),t.Ez(),t.fH(i),t.EH=!1,t.ty.publish(c.CONTROLS_SEEK_END))},this.TH(this.wF,this.SH,this.AH,this._H)},i.prototype.Oz=function(){this.MH(this.wF,this.yH,this.wH),this.IH(this.wF,this.SH,this.AH,this._H)},i.prototype.fH=function(t){-1!==t.type.indexOf("touch")&&t.preventDefault()},i.prototype.yz=function(t){var i=this,n=t.adBreaks,s=t.duration;n&&0===n.length||!m.isNumber(s)||0===s||b.default.getAdBreakStartOffset(n).forEach((function(t){if(t.type===f.AdBreakType.MIDROLL||t.type===f.AdBreakType.POSTROLL){var n=document.createElement("div");O(n).add("vp-ad-break"),n.style.left=t.startOffset/s*100+"%",i.wF.appendChild(n)}}))},i.prototype.bz=function(){for(var t=this.wF.querySelectorAll(".vp-ad-break"),i=0;i<t.length;i++)this.wF.removeChild(t[i])},i.prototype.pF=function(){this.Gz()},i.prototype._T=function(t){var i,n=this._f,s=this.iy.volume,e=n.currentTime,h=this.bH,o=n.playbackMode;switch(t.keyCode){case 13:this.ty.publish(c.TOGGLE_PLAY_PAUSE);break;case 27:this.KA.updateViewOnEscPress();break;case 32:t.preventDefault(),this.ty.publish(c.TOGGLE_PLAY_PAUSE);break;case 37:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.wP||(i=e-5,this.ty.publish(c.CONTROLS_SEEKING,i>=0?i:0));break;case 38:t.preventDefault();var u=s+.05;this.publish(r.SET_VOLUME,u>1?1:u);break;case 39:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.wP||(i=e+5,this.publish(r.SEEK,i<=h?i:h));break;case 40:t.preventDefault();var a=s-.05;this.publish(r.SET_VOLUME,a<0?0:a);break;case 67:if(this.DF){var f=!O(this.DF).contains("vp-on");this.publish(r.TOGGLE_CC,f,!0)}break;case 70:this.KA.toggleFullscreen();break;case 77:this.publish(r.SET_MUTE,!this.iy.mute)}if(t.keyCode>=48&&t.keyCode<=57){var l=(t.keyCode-48)/10;h>0&&this.ty.publish(c.CONTROLS_SEEKING,h*l)}},i.prototype.wz=function(t){var i=Math.min(t/this.bH*100,100);this.AF&&m.isNumber(t)&&m.isNumber(this.bH)&&(this.AF.innerHTML=b.default.formatTime(t)),this._F&&m.isNumber(this.bH)&&(this._F.innerHTML=b.default.formatTime(this.bH)),m.isNumber(t)&&m.isNumber(this.bH)&&(this.MF.setAttribute("style","width: "+i+"%;"),this.EH||this.TF.setAttribute("style","left: "+i+"%;"),this.wF.setAttribute("aria-valuemax",this.bH.toString()),this.wF.setAttribute("aria-valuenow",t.toString()),this.wF.setAttribute("aria-valuetext",b.default.formatTime(t)+" of "+b.default.formatTime(this.bH)))},i.prototype.gz=function(t){var i=0;t.length>0&&(i=t.end(0)/this.bH*100),this.SF.setAttribute("style","width: "+i+"%;")},i.prototype.jH=function(t,i){if(!(this.pO&&t&&i&&i.mimetype))return null;if(!this.NH){var n=this.pO.getPlugin(l.PluginType.VISUAL_SEEK,i.mimetype);this.NH=n}return this.NH&&!this.NH.canSeek(t)&&this.NH.update(t,i),this.NH},i.prototype.gH=function(t){var i=this,n=this.Ny(),s=this.jH(n.id,n.visualSeekData);if(s){var e=this.OH(t),r=e*n.getRawDuration(),h=e*n.duration,o=s.getThumbnailData(n.id,r);if(o&&o.url)if(!O(this.KA.getContentNode()).contains("vp-hide-controls")){var u;u=e<.09?.09:e>.91?.91:e,this.LF.style.display="block",this.LF.style.left=100*u+"%";var a=this.LF.querySelector(".vp-vs-time");a&&(a.innerHTML=b.default.formatTime(h));var c=o.height,f=o.index,v=o.url,d=o.width,p=o.isAd,m=this.LF.querySelector(".vp-vs-thumbnail");if(!p)if(m.innerHTML="",s.visualSeekType===l.VisualSeekType.SPRITE){m.style.background="url("+v+")";var y=f%100,g=y%10*d,w=Math.floor(y/10)*c;m.style.backgroundPosition="-"+g+"px -"+w+"px"}else this.RH=v,this.kH=this.kH||setTimeout((function(){var t=i.LF.querySelector(".vp-vs-thumbnail");i.RH&&(t.style.background="url("+i.RH+")"),clearTimeout(i.kH),i.kH=null}),50)}}},i.prototype.TH=function(t,i,n,s){["mousedown","touchstart"].forEach((function(n){t.addEventListener(n,i)})),["mousemove","touchmove"].forEach((function(t){document.addEventListener(t,n)})),["mouseup","touchend"].forEach((function(t){document.addEventListener(t,s)}))},i.prototype.IH=function(t,i,n,s){["mousedown","touchstart"].forEach((function(n){t.removeEventListener(n,i)})),["mousemove","touchmove"].forEach((function(t){document.removeEventListener(t,n)})),["mouseup","touchend"].forEach((function(t){document.removeEventListener(t,s)}))},i.prototype.dH=function(t,i,n){["mouseenter","touchstart"].forEach((function(n){t.addEventListener(n,i)})),["mousemove","touchmove"].forEach((function(n){t.addEventListener(n,i)})),["mouseleave","touchend"].forEach((function(i){t.addEventListener(i,n)}))},i.prototype.MH=function(t,i,n){["mouseenter","touchstart"].forEach((function(n){t.removeEventListener(n,i)})),["mousemove","touchmove"].forEach((function(n){t.removeEventListener(n,i)})),["mouseleave","touchend"].forEach((function(i){t.removeEventListener(i,n)}))},i.prototype.nz=function(){this.xF&&this.updateVolumeUI(this.iy.volume,this.iy.mute)},i.prototype.LH=function(){var t=this;this.DH=new w.default(this.xF,(function(i){if(!t.CH){i.stopPropagation(),t.PH(),t.KA.clearAutoHideTimeout(),t.xH&&clearTimeout(t.xH);var n=!t.iy.mute;t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n),t.UH(n)}}))},i.prototype.VH=function(){var t=this,i=function(i){var n,s=function(i){var n;return n=t.KA.getFullscreen()&&(o.userAgent.chrome||o.userAgent.safari)?i.pageX-b.default.getOffsetLeftFromEl(t.VF,a.VIDEO_MAIN_ELEMENT_CLASS):i.pageX-b.default.getOffsetLeftFromDocument(t.VF),t.VF.getBoundingClientRect().left?Math.max(0,Math.min(1,n/t.VF.clientWidth)):0}(i);n=0===s,t.iy.mute!==n&&(t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n)),t.publish(r.SET_VOLUME,s)};this.BH=new w.default(this.VF,(function(n){n.stopPropagation(),t.PH(),i(n)})),this.FH=function(i){t.fH(i),t.CH=!0,t.PH(),t.zH(i)},this.zH=function(n){t.CH&&(t.fH(n),t.PH(),i(n),t.HH(n))},this.YH=function(i){t.CH&&(t.fH(i),t.CH=!1)},this.TH(this.VF,this.FH,this.zH,this.YH)},i.prototype.oH=function(){var t,i=this;this.GH=function(n){n.stopPropagation(),t||(t=window.setTimeout((function(){i.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-off"}),t=null}),600))},this.WF&&(["mouseenter","touchstart"].forEach((function(t){i.WF.addEventListener(t,i.GH)})),["mousemove","touchmove"].forEach((function(t){i.WF.addEventListener(t,i.GH)})))},i.prototype.Vz=function(){var t=this;this.WF&&(["mouseenter","touchstart"].forEach((function(i){t.WF.removeEventListener(i,t.GH)})),["mousemove","touchmove"].forEach((function(i){t.WF.removeEventListener(i,t.GH)})))},i.prototype.UH=function(t){this.iy.ccOnMute&&(t?this.publish(r.TOGGLE_CC,!0,!1):this.publish(r.TOGGLE_CC,!1,!1),this.updateClosedCaptionButtonState(t))},i.prototype.PH=function(){this.zF&&O(this.zF).add("show")},i.prototype.WH=function(){var t=this;this.xH=null;var i=!1;this.HH=function(n){t.fH(n),t.lz&&t.lz.isOpen()||(O(t.UF).add("open"),i||(t.nz(),i=!0),t.PH(),t.cz&&t.cz.hideActiveContainer(t.CF))},this.qH=function(i){t.fH(i),t.xH&&clearTimeout(t.xH),t.xH=window.setTimeout((function(){O(t.UF).remove("open")}),500)},this.XH=function(i){t.fH(i),t.xH&&clearTimeout(t.xH)},this.dH(this.xF,this.HH,this.qH),this.dH(this.UF,this.XH,this.qH)},i.prototype.hH=function(){var t=this;this.xF&&this.LH(),this.UF&&this.xF&&(this.VH(),this.WH()),this.HF&&(this.xz=new w.default(this.HF,(function(i){i.stopPropagation();var n=b.default.findClosest(i.eventTarget,".vp-audio-item",t.HF);if(n){var s=t.HF.querySelector(".vp-audio-item-selected"),e=s&&s.getAttribute("data-name");s&&O(s).remove("vp-audio-item-selected"),O(n).add("vp-audio-item-selected"),t.publish(r.SET_AUDIO_LANGUAGE,n.getAttribute("data-name"),e)}else"close"===i.eventTarget.getAttribute("data-action")&&O(t.HF).add("vp-hidden")})))},i.prototype.Cz=function(){this.xF&&this.DH.destroy(),this.UF&&(this.BH.destroy(),this.IH(this.UF,this.FH,this.zH,this.YH),this.MH(this.xF,this.HH,this.qH),this.MH(this.UF,this.XH,this.qH))},i.prototype.hz=function(t){var i=this.KA.getContentNode();this.xF&&(t?(O(this.xF).add("muted"),O(i).add("vp-muted")):(O(this.xF).remove("muted"),O(i).remove("vp-muted"))),this.syncAriaState()},i.prototype.oz=function(t){if(this.BF){var i=Math.ceil(100*t),n=100-i;this.BF.setAttribute("style","width:"+i+"%"),this.FF.setAttribute("style","width:"+n+"%")}if(this.zF){var s=Math.ceil(t*(this.VF.clientWidth-this.zF.offsetWidth/2));this.zF.setAttribute("style","left:"+s+"px")}},i.prototype.mz=function(){var t=this.Ny();t&&t.isMultiAudioAvailable()?(this.QH(),O(this.UF).add("vp-multi-audio-available"),this.YF&&O(this.YF).remove("vp-hidden")):(O(this.UF).remove("vp-multi-audio-available"),this.YF&&O(this.YF).add("vp-hidden"),this.HF.innerHTML="")},i.prototype.QH=function(){var t=this.Ny(),i=b.default.render(E,{isMobile:o.userAgent.mobile,items:t&&t.languages||[],Strings:d.default});this.HF.appendChild(i)},i.prototype.OH=function(t){var i=((t.clientX||t.touches&&t.touches[0]&&t.touches[0].clientX||t.pageX)-this.wF.getBoundingClientRect().left)/this.wF.clientWidth;return Math.max(0,Math.min(1,i))},i.prototype.Ez=function(){this.LF.style.display="none",this.RH=""},i.prototype.mH=function(t){var i=this.KA.getContentNode(),n=this.KA.isStreamMode()||this.KA.isMiniStreamMode(),s=this.KA.isMiniStreamMode()?"vp-ministream":"vp-stream";n&&(t?O(i).remove(s):(O(i).add(s),this.tz&&this.tz.resetSettings()))},i.prototype.JF=function(){this.IF.setAttribute("aria-label",d.default.PLAY_VIDEO),this.wF.setAttribute("aria-label",d.default.SEEK_SLIDER),this.wF.setAttribute("aria-valuemin","0"),this.PF&&this.PF.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN),this.xF&&(O(this.xF).contains("muted")?this.xF.setAttribute("aria-label",d.default.UNMUTE):this.xF.setAttribute("aria-label",d.default.MUTE))},Object.defineProperty(i.prototype,"bH",{get:function(){return this._f.duration},enumerable:!0,configurable:!0}),i.prototype.Ny=function(){return this.iy.playlist.getCurrentItem()},Object.defineProperty(i.prototype,"_f",{get:function(){return this.iy.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.Controls=A},XBl0:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div tabindex='0' class='vp-content vp-hide-controls' aria-label='Yahoo Video Player'>"),s.b("\n"+n),s.b("    <div class='vp-main' tabindex='0' style='height:100%'></div>"),s.b("\n"+n),s.b("    <div class='vp-docked-meta'>"),s.b("\n"+n),s.b("        <div class='vp-docked-title'></div>"),s.b("\n"+n),s.b("        <div class='vp-docked-provider'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},XPHM:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("lSF3"),r=n("c+yx");(s=window.crypto||window.msCrypto)||("undefined"!=typeof crypto?s=crypto:"undefined"!=typeof msCrypto&&(s=msCrypto)),s=s&&(s.subtle||s.webkitSubtle)||null;var h={name:"HMAC",hash:{name:"SHA-1"}},o=function(t){for(var i=unescape(encodeURIComponent(t)),n=new ArrayBuffer(i.length),s=new Uint8Array(n),e=0;e<i.length;e++)s[e]=i.charCodeAt(e);return s},u=function(t,i){return new e.Promise((function(n,e){s&&s.importKey||e(new Error("crypto is not supported by the current browser")),s.importKey("raw",o(i),h,!1,["sign","verify"]).then((function(i){return s.sign(i.algorithm,i,o(t))})).then((function(t){var i;n((i=t,String.fromCharCode.apply(null,Array.prototype.slice.call(new Uint8Array(i)))))})).catch((function(t){e(t)}))}))},a=function(){function t(){}return t.getXAuthParams=function(t,i){var n,s={},h=(new Date).getTime(),o=Math.random().toString(36).slice(2,12),a="",c=1,f=r.default.getSingleton("PlayerHosting");if(f&&(c=f.gv||1,n=f.g||[],Array.isArray(n))){for(var l=[],v=0,d=n;v<d.length;v++){var p=d[v];l.push(String.fromCharCode(p))}a=l.join("")}var m="dev_id="+i+"&nonce="+o+"&ts="+h+"&uuid="+t+"&v="+c;return new e.Promise((function(t,n){u(m,a).then((function(n){var e=btoa(n);s.xauth_v=c,s.xauth_ts=h,s.xauth_nonce=o,s.xauth_dev_id=i,s.xauth_signature=e,t(s)})).catch((function(t){n({})}))}))},t}();i.default=a},XevZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=s.errorCodes.PLAYER_CODES,r={0:{timeout:e.E_CMS_XHR_REQ_CONNECTION_FAILED_TIMEOUT,default:e.E_CMS_XHR_REQ_CONNECTION_FAILED},1:{timeout:e.E_CMS_XHR_RESPONSE_ABSENT_TIMEOUT,default:e.E_CMS_XHR_RESPONSE_ABSENT},2:{408:e.E_CMS_XHR_REQ_LOAD_408,timeout:e.E_CMS_XHR_REQ_LOAD_TIMEOUT,default:e.E_CMS_XHR_REQ_LOAD_FAILED},3:{408:e.E_CMS_XHR_REQ_408,timeout:e.E_CMS_XHR_REQ_INCOMPLETE_TIMEOUT,default:e.E_CMS_XHR_REQ_INCOMPLETE},default:{timeout:e.E_CMS_XHR_REQ_TIMEOUT,cors:e.E_CMS_XHR_REQ_CORS_ERROR,default:e.E_CMS_XHR_REQ_ERROR}};i.getErrorCode=function(t,i,n){return i=i&&r[i]?i:"default",t&&t.message===s.LoaderConstants.XHR_TIMEOUT?n="timeout":n&&r[i][n]||(n="default"),r[i][n]}},Xovh:function(t,i,n){"use strict";t.exports=a;var s=n("rtwX"),e=n("RwmF"),r=n("y5bh"),h=n("/iNa"),o=n("4oyL").userAgent,u=n("5RR1");function a(t,i,n,s){var r=this;e.call(r,r.constructor.name),r.node=i,r.window=t,r.mediaSource=new t.MediaSource,r.ZH=[],r.JH=!1,r.node.mediaKeys?(r.node.src="",r.node.setMediaKeys(null).then((function(){r.KI(t,i,n,s)}))):r.KI(t,i,n,s)}h.inherits(a,e),a.prototype.KI=function(t,i,n,e){this.node.src=t.URL.createObjectURL(this.mediaSource),(e=e||{}).userAgent=o,e.inWorkerScope=!1,e.metadata=n,this.appModel=this.create(u,e),this.controller=this.create(s,n),this.JH=!0,this.node.load(),this.KH()},a.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.PE=t,n.apply(s,i),s},a.prototype.sendEvent=function(t,i){this.publish(t,i),t&&r.ExternalEvents.indexOf(t)>=0&&this.node.dispatchEvent(this.$H(t,i))},a.prototype.getSegInfo=function(){return this.controller?this.controller.getSegInfo():null},a.prototype.notifyError=function(t){this.error=t;var i=this.error.type||"decode";"open"===this.mediaSource.readyState&&this.mediaSource.endOfStream(i),this.controller&&this.controller.destroy()},a.prototype.isMimetypeSupported=function(t){return this.window.MediaSource.isTypeSupported(t)},a.prototype.$H=function(t,i){return new this.window.CustomEvent(t,{detail:i,bubbles:!1,cancelable:!1})},a.prototype.setABRMode=function(t){this.controller?this.controller.setABRMode(t):this.ZH.push(["setABRMode",[t]])},a.prototype.setAudioLanguage=function(t){this.controller?this.controller.setAudioLanguage(t):this.ZH.push(["setAudioLanguage",[t]])},a.prototype.play=function(t){this.controller?this.controller.play(t):this.ZH.push(["play",[t]])},a.prototype.pause=function(){this.controller?this.controller.pause():this.ZH.push(["pause"])},a.prototype.preload=function(t){this.controller?this.controller.preload(t):this.ZH.push(["preload",[t]])},a.prototype.getCurrentDate=function(){return this.controller?this.controller.getCurrentDate():null},a.prototype.suspendStreaming=function(){this.controller&&(this.JH=!1,this.controller.suspendStreaming())},a.prototype.resumeStreaming=function(){this.controller&&!this.JH&&(this.controller.resumeStreaming(),this.JH=!0)},a.prototype.destroy=function(){this.controller&&this.controller.destroy(),this.appModel&&this.appModel.destroy(),this.mediaSource=null,this.JH=!1,e.prototype.destroy.call(this)},a.prototype.KH=function(){var t=this,i=t.ZH;t.ZH=[],i.forEach((function(i){var n=t.controller,s=n[i[0]],e=i.length>1?i[1]:null;s&&"function"==typeof s&&s.apply(n,e)}))}},Y4D7:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=function(){function t(t,i){this.tY=t.watchHistoryEnabled||!1,this.iY=t.watchedPeriod||.5,this.nY=t.watchHistoryExpiry||129600,this.iy=i}return t.prototype.isWatched=function(t,i){if(!this.tY)return!1;if(!t)throw new Error("UUID not passed for isWatched!");var n=s.LocalStorage.get("vpResumeTimeItems");if(!n||!n[t])return!1;var e=n[t].position;return this.isDeemedWatched(e,i)},t.prototype.clearExpired=function(){var t=s.LocalStorage.get("vpResumeTimeItems"),i=(new Date).getTime(),n=!1;t&&(Object.keys(t).forEach((function(s){var e=t[s].expiryTime;e&&i-e>0&&(delete t[s],n=!0)})),n&&s.LocalStorage.put("vpResumeTimeItems",t))},t.prototype.saveProgress=function(t,i){var n=s.LocalStorage.get("vpResumeTimeItems")||{},e=this.nY;n[t.id]={position:t.position},i&&(n[t.id].expiryTime=(new Date).getTime()+1e3*e,this.isDeemedWatched(t.position,t.duration)?this.iy.setMediaItemWatched(t.id,!0):this.iy.setMediaItemWatched(t.id,!1)),s.LocalStorage.put("vpResumeTimeItems",n)},t.prototype.getProgress=function(t){if(!t)throw new Error("UUID not passed for getProgress!");var i=s.LocalStorage.get("vpResumeTimeItems");return i?i[t]:null},t.prototype.isDeemedWatched=function(t,i){var n=this.iY;return!(!this.tY||!i)&&(n>=0&&n<=1?t>=i*n:i<=n?t>=i-5:t>=n)},t}();i.default=e},Y4Rh:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.yvapSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/yvapSchema",type:["object","null"],properties:{accountId:{type:"string"},timeout:{type:["number","string"]},cTopic:{type:"string"},standaloneAd:{type:"object",properties:{xml:{type:"string"},showAdSlug:{type:"boolean"}}},vpaidTimeout:{type:"number"},adsReady:{type:"boolean"},preInitVpaid:{type:"boolean"}}}},YBdB:function(t,i,n){(function(t,i){!function(t,n){"use strict";if(!t.setImmediate){var s,e,r,h,o,u=1,a={},c=!1,f=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?s=function(t){i.nextTick((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var i=!0,n=t.onmessage;return t.onmessage=function(){i=!1},t.postMessage("","*"),t.onmessage=n,i}}()?t.MessageChannel?((r=new MessageChannel).port1.onmessage=function(t){d(t.data)},s=function(t){r.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(e=f.documentElement,s=function(t){var i=f.createElement("script");i.onreadystatechange=function(){d(t),i.onreadystatechange=null,e.removeChild(i),i=null},e.appendChild(i)}):s=function(t){setTimeout(d,0,t)}:(h="setImmediate$"+Math.random()+"$",o=function(i){i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(h)&&d(+i.data.slice(h.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),s=function(i){t.postMessage(h+i,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var i=new Array(arguments.length-1),n=0;n<i.length;n++)i[n]=arguments[n+1];var e={callback:t,args:i};return a[u]=e,s(u),u++},l.clearImmediate=v}function v(t){delete a[t]}function d(t){if(c)setTimeout(d,0,t);else{var i=a[t];if(i){c=!0;try{!function(t){var i=t.callback,n=t.args;switch(n.length){case 0:i();break;case 1:i(n[0]);break;case 2:i(n[0],n[1]);break;case 3:i(n[0],n[1],n[2]);break;default:i.apply(void 0,n)}}(i)}finally{v(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("yLpj"),n("KCCg"))},YLu2:function(t,i,n){"use strict";t.exports={Command:n("2fkz"),MediaLoadCommand:n("rJdA"),StreamLoadCommand:n("dK7O"),LicenseLoadCommand:n("Pp1v"),SegmentLoadCommand:n("nHOF"),Mp4InitSegmentLoadCommand:n("vFZV"),SubtitleSegmentLoadCommand:n("Le/s"),ErrorHandleCommand:n("EsLZ")}},YMIh:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("UDn2");!function(t){t.MEDIA_ITEM="media-item",t.AD_BREAK_ITEM="ad-break-item"}(i.PlayableItemType||(i.PlayableItemType={}));var e=function(){function t(){this.state=s.ItemState.NO_DATA,this.sourceState=s.SourceState.NO_DATA}return t.prototype.setState=function(t){this.state=t},t.prototype.setSourceState=function(t){this.sourceState=t},t.prototype.hasError=function(){return this.state===s.ItemState.ERROR},t.prototype.hasMetadata=function(){return this.state===s.ItemState.HAS_DATA},t.prototype.hasNoMetadata=function(){return this.state===s.ItemState.NO_DATA},t.prototype.hasExpiredMetadata=function(){return!1},t.prototype.isConsistentMetadata=function(){return!0},t.prototype.hasStreams=function(){return!1},t.prototype.hasSource=function(){return this.sourceState===s.SourceState.HAS_DATA},t.prototype.equals=function(t){return t&&t.id===this.id},t.prototype.getPlayableItemType=function(){return null},t.prototype.setDuration=function(t){},t.prototype.getDuration=function(){return NaN},t.prototype.isRecovering=function(){return!1},t.prototype.getStreamType=function(){return null},t.prototype.isReadyToPlay=function(){return this.hasMetadata()&&this.hasSource()&&this.hasStreams()&&!this.hasError()},t.prototype.isLive=function(){return!1},t.prototype.is360Video=function(){return!1},t}();i.PlayableItem=e},YuTi:function(t,i){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},ZESv:function(t,i){var n=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var i,s={},e=n(t).split("\n"),r=0;r<e.length;r++){var h=e[r],o=h.indexOf(":"),u=n(h.slice(0,o)).toLowerCase(),a=n(h.slice(o+1));void 0===s[u]?s[u]=a:(i=s[u],"[object Array]"===Object.prototype.toString.call(i)?s[u].push(a):s[u]=[s[u],a])}return s}},ZuTH:function(t,i){var n={},s=function(t){var i;return function(){return void 0===i&&(i=t.apply(this,arguments)),i}},e=s((function(){return/msie 9\b/.test(window.navigator.userAgent.toLowerCase())})),r=s((function(){return document.head||document.getElementsByTagName("head")[0]})),h=null,o=0;function u(t,i){for(var s=0;s<t.length;s++){var e=t[s],r=n[e.id];if(r){r.refs++;for(var h=0;h<r.parts.length;h++)r.parts[h](e.parts[h]);for(;h<e.parts.length;h++)r.parts.push(f(e.parts[h],i))}else{var o=[];for(h=0;h<e.parts.length;h++)o.push(f(e.parts[h],i));n[e.id]={id:e.id,refs:1,parts:o}}}}function a(t){for(var i=[],n={},s=0;s<t.length;s++){var e=t[s],r=e[0],h={css:e[1],media:e[2],sourceMap:e[3]};n[r]?n[r].parts.push(h):i.push(n[r]={id:r,parts:[h]})}return i}function c(){var t=document.createElement("style"),i=r();return t.type="text/css",i.appendChild(t),t}function f(t,i){var n,s,e;if(i.singleton){var r=o++;n=h||(h=c()),s=l.bind(null,n,r,!1),e=l.bind(null,n,r,!0)}else n=c(),s=v.bind(null,n),e=function(){n.parentNode.removeChild(n)};return s(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;s(t=i)}else e()}}function l(t,i,n,s){var e=n?"":s.css;if(t.styleSheet)t.styleSheet.cssText=function(t,i,n){var s=["/** >>"+i+" **/","/** "+i+"<< **/"],e=t.lastIndexOf(s[0]),r=n?s[0]+n+s[1]:"";if(t.lastIndexOf(s[0])>=0){var h=t.lastIndexOf(s[1])+s[1].length;return t.slice(0,e)+r+t.slice(h)}return t+r}(t.styleSheet.cssText,i,e);else{var r=document.createTextNode(e),h=t.childNodes;h[i]&&t.removeChild(h[i]),h.length?t.insertBefore(r,h[i]):t.appendChild(r)}}function v(t,i){var n=i.css,s=i.media,e=i.sourceMap;if(e&&"function"==typeof btoa)try{n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(JSON.stringify(e))+" */",n='@import url("data:text/css;base64,'+btoa(n)+'")'}catch(t){}if(s&&t.setAttribute("media",s),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}t.exports=function(t,i){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(i=i||{}).singleton&&(i.singleton=e());var s=a(t);return u(s,i),function(t){for(var e=[],r=0;r<s.length;r++){var h=s[r];(o=n[h.id]).refs--,e.push(o)}t&&u(a(t),i);for(r=0;r<e.length;r++){var o;if(0===(o=e[r]).refs){for(var c=0;c<o.parts.length;c++)o.parts[c]();delete n[o.id]}}}}},a2lm:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-error-screen vp-vis-hidden'>"),s.b("\n"+n),s.b("    <img class='vp-error-screen-image "),s.s(s.f("showBgImage",t,i,1),t,i,0,98,105,"{{ }}")&&(s.rs(t,i,(function(t,i,n){n.b("vp-show")})),t.pop()),s.b("' src='"),s.b(s.v(s.f("imageSrc",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("    <div class='vp-error-screen-background'></div>"),s.b("\n"+n),s.b("    <div class='vp-error-title'>"),s.b(s.v(s.f("title",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("    <div class='vp-error-desc vp-error-message'>"),s.b(s.t(s.f("message",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("    <div class='vp-error-code'>"),s.b(s.v(s.f("rep",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("</div>"),s.fl()},partials:{},subs:{}})},a4Db:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.failoverSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/failoverSchema",type:"object",properties:{fastInitRecoverer:{type:"boolean"},beaconDisasterMode:{default:!1,type:"boolean"},sapiUrl:{type:"string"},convivaSamplingRate:{type:"object",properties:{vod:{default:0,type:"number"},live:{default:0,type:"number"}}},recoveryFailureTimeout:{default:120,type:"number"}}}},aAR2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.prototype.updateOathPlayerInfo=function(t,i,n){if(!1!==t){var s=i&&i.querySelector(".vp-opss-info");if(s){var e=s.querySelector(".vp-opss-title"),r=this.sY(n.version),h=s.querySelector(".vp-opss-lmsid");s.insertBefore(r,e);var o=this.eY(),u=s.querySelector(".vp-opss-hosting");u&&(u.innerHTML=o);var a=s.querySelector(".vp-opss-profile");a&&(a.innerHTML=JSON.stringify(n.config,void 0,2)),h&&(h.innerHTML="<span class='vp-details'> License Id(LMS ID): </span> "+n.lmsId)}}},t.prototype.sY=function(t){var i=document.createElement("div");i.classList.add("vp-opss-oath-title");var n=document.createElement("div");n.classList.add("vp-opss-title"),n.innerHTML="OATH PLAYER";var s=document.createElement("div");return s.innerHTML=t,i.appendChild(n),i.appendChild(s),i},t.prototype.eY=function(){var t=window.OATH,i=t&&t.VideoPlatform&&t.VideoPlatform.PlayerHosting||"local";return JSON.stringify(i,void 0,2)},t}();i.default=s},aKiy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("he5r"),e=function(){function t(t){this.Ry=t}return t.prototype.play=function(t,i){this.Ry.play(t,i)},t.prototype.pause=function(t){this.Ry.pause(t)},t.prototype.preload=function(t){this.Ry.preload(t)},t.prototype.seek=function(t){this.Ry.seek(t)},t.prototype.disableControls=function(){this.Ry.disableControls()},t.prototype.enableControls=function(){this.Ry.enableControls()},t.prototype.enableCC=function(t){this.Ry.enableCC(t)},t.prototype.disableCC=function(){this.Ry.disableCC()},t.prototype.isPlaying=function(){return this.Ry.isPlayMode()},t.prototype.isPlayMode=function(){return this.Ry.isPlayMode()},t.prototype.getPlaybackState=function(){return this.Ry.getPlaybackState()},t.prototype.isLoading=function(){return this.Ry.isLoading()},t.prototype.getDuration=function(){var t=this.Ry.getCurrentMediaItem();return t&&t.duration},t.prototype.getCurrentTime=function(){return this.Ry.getCurrentTime()},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.Ry.setFullscreen(t)},t.prototype.getFullscreen=function(){return this.Ry.getFullscreen()},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.Ry.setVolume(t)},t.prototype.getVolume=function(){return this.Ry.getVolume()},t.prototype.setMute=function(t){this.Ry.setMute(t)},t.prototype.getMute=function(){return this.Ry.getMute()},t.prototype.setLoop=function(t){this.Ry.setLoop(t)},t.prototype.setContinuousPlay=function(t){this.Ry.setContinuousPlay(t)},t.prototype.resumeContinuousPlay=function(){this.Ry.resumeContinuousPlay({type:s.REQUEST_TYPES.API})},t.prototype.getBitrate=function(){throw new Error("getBitrate is unimplemented!")},t.prototype.setResolution=function(){throw new Error("setResolution is unimplemented!")},t.prototype.displayClosedCaptions=function(){throw new Error("displayClosedCaptions is unimplemented!")},t.prototype.getCurrentDate=function(){return this.Ry.getCurrentDate()},t.prototype.setAudioLanguage=function(t){this.Ry.setAudioLanguage(t)},t}();i.default=e},aPvX:function(t,i,n){"use strict";function s(t){t&&(this.discontinuity=t.discontinuity,this.seqNum=t.sequenceNum,this.startTime=t.startTime,this.programDateTime=t.programDateTime,this.url=t.url,this.duration=t.duration),this.clockReference=0,this.localCueTime=0,this.mpegTSTime=0,this.offset=0,this.adjustedTime=0}t.exports=s,s.prototype.destroy=function(){this.data=null},s.prototype.toObject=function(){var t={};return t.discontinuity=this.discontinuity,t.sequenceNum=this.seqNum,t.startTime=this.startTime,t.programDateTime=this.programDateTime,t.url=this.url,t.duration=this.duration,t.playlistUrl=this.playlistUrl,t.clockReference=this.clockReference,t.localCueTime=this.localCueTime,t.mpegTSTime=this.mpegTSTime,t.data=this.data,t.offset=this.offset,t.adjustedTime=this.adjustedTime,t},s.prototype.parseSegment=function(){if(this.data){var t=this.data.split("\n");if(!(t.length<=0)&&0===t[0].indexOf("WEBVTT")){for(var i=Math.floor((Math.pow(2,33)-1)/90),n=0,s=0,e=1;e<t.length;e++){var r=t[e].trim();if(0===r.indexOf("X-TIMESTAMP-MAP")){var h=new RegExp(/LOCAL[:=]([^,]+)/),o=new RegExp(/MPEGTS[:=]([^,]+)/);s=0,n=0;var u=h.exec(r);if(u&&u.length>=2){var a=u[1].split(":");if(a&&a.length>=3){var c=a[2].split("."),f=0,l=0;c&&c.length>=2&&(f=parseInt(c[0]),l=parseInt(c[1])),s=1e3*(3600*a[0]+60*a[1]+f)+l,s%=i}}var v=o.exec(r);v&&v.length>=2&&(n=parseFloat(v[1]),n=Math.round(n/90)),this.clockReference=this.pcr(),this.localCueTime=s,this.mpegTSTime=n,null===this.clockReference||this.clockReference}else if(r.indexOf("--\x3e")>=0){var d=r.split("--\x3e");if(d){var p=d[0].split(":");if(p){var m=1e3*(3600*parseInt(p[0])+60*parseInt(p[1])+parseFloat(p[2]));null!==this.clockReference&&void 0!==this.clockReference||(this.clockReference=m%i+this.mpegTSTime)}}break}}this.adjustedTime=n-s-this.clockReference+this.offset}}},s.prototype.pcr=function(){if(!this.__controller)return 0;var t=this.__controller.model,i=t.getPCR();if("number"!=typeof i)return null;if(i=i/this.__controller.model.timescale*1e3,t.live&&i<0){var n=-Math.floor(Math.pow(2,32)/90),s=Math.floor((Math.pow(2,32)-1)/90);i=Math.abs(i-n)+s}return i},s.prototype.isBuffered=function(){return!!this.data}},aQXI:function(t,i){},aZDc:function(t,i,n){"use strict";var s=n("H0QZ"),e=s.ValidatorResult,r=s.SchemaError,h={ignoreProperties:{id:!0,default:!0,description:!0,title:!0,exclusiveMinimum:!0,exclusiveMaximum:!0,additionalItems:!0,$schema:!0,$ref:!0,extends:!0}},o=h.validators={};function u(t,i,n,s,e){var r=i.throwError;i.throwError=!1;var h=this.validateSchema(t,e,i,n);return i.throwError=r,!h.valid&&s instanceof Function&&s(h),h.valid}function a(t,i,n,s,e,r){if(this.types.object(t)&&(!i.properties||void 0===i.properties[e]))if(!1===i.additionalProperties)r.addError({name:"additionalProperties",argument:e,message:"additionalProperty "+JSON.stringify(e)+" exists in instance when not allowed"});else{var h=i.additionalProperties||{};"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,e,h,n,s);var o=this.validateSchema(t[e],h,n,s.makeChild(h,e));o.instance!==r.instance[e]&&(r.instance[e]=o.instance),r.importErrors(o)}}o.type=function(t,i,n,s){if(void 0===t)return null;var r=new e(t,i,n,s),h=Array.isArray(i.type)?i.type:[i.type];if(!h.some(this.testType.bind(this,t,i,n,s))){var o=h.map((function(t){return t.id&&"<"+t.id+">"||t+""}));r.addError({name:"type",argument:o,message:"is not of a type(s) "+o})}return r},o.anyOf=function(t,i,n,s){if(void 0===t)return null;var h=new e(t,i,n,s),o=new e(t,i,n,s);if(!Array.isArray(i.anyOf))throw new r("anyOf must be an array");if(!i.anyOf.some(u.bind(this,t,n,s,(function(t){o.importErrors(t)})))){var a=i.anyOf.map((function(t,i){return t.id&&"<"+t.id+">"||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+i+"]"}));n.nestedErrors&&h.importErrors(o),h.addError({name:"anyOf",argument:a,message:"is not any of "+a.join(",")})}return h},o.allOf=function(t,i,n,s){if(void 0===t)return null;if(!Array.isArray(i.allOf))throw new r("allOf must be an array");var h=new e(t,i,n,s),o=this;return i.allOf.forEach((function(i,e){var r=o.validateSchema(t,i,n,s);if(!r.valid){var u=i.id&&"<"+i.id+">"||i.title&&JSON.stringify(i.title)||i.$ref&&"<"+i.$ref+">"||"[subschema "+e+"]";h.addError({name:"allOf",argument:{id:u,length:r.errors.length,valid:r},message:"does not match allOf schema "+u+" with "+r.errors.length+" error[s]:"}),h.importErrors(r)}})),h},o.oneOf=function(t,i,n,s){if(void 0===t)return null;if(!Array.isArray(i.oneOf))throw new r("oneOf must be an array");var h=new e(t,i,n,s),o=new e(t,i,n,s),a=i.oneOf.filter(u.bind(this,t,n,s,(function(t){o.importErrors(t)}))).length,c=i.oneOf.map((function(t,i){return t.id&&"<"+t.id+">"||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+i+"]"}));return 1!==a&&(n.nestedErrors&&h.importErrors(o),h.addError({name:"oneOf",argument:c,message:"is not exactly one from "+c.join(",")})),h},o.properties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s),h=i.properties||{};for(var o in h){"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,o,h[o],n,s);var u=Object.hasOwnProperty.call(t,o)?t[o]:void 0,a=this.validateSchema(u,h[o],n,s.makeChild(h[o],o));a.instance!==r.instance[o]&&(r.instance[o]=a.instance),r.importErrors(a)}return r}},o.patternProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s),h=i.patternProperties||{};for(var o in t){var u=!0;for(var c in h){if(new RegExp(c).test(o)){u=!1,"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,o,h[c],n,s);var f=this.validateSchema(t[o],h[c],n,s.makeChild(h[c],o));f.instance!==r.instance[o]&&(r.instance[o]=f.instance),r.importErrors(f)}}u&&a.call(this,t,i,n,s,o,r)}return r}},o.additionalProperties=function(t,i,n,s){if(this.types.object(t)){if(i.patternProperties)return null;var r=new e(t,i,n,s);for(var h in t)a.call(this,t,i,n,s,h,r);return r}},o.minProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);return Object.keys(t).length>=i.minProperties||r.addError({name:"minProperties",argument:i.minProperties,message:"does not meet minimum property length of "+i.minProperties}),r}},o.maxProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);return Object.keys(t).length<=i.maxProperties||r.addError({name:"maxProperties",argument:i.maxProperties,message:"does not meet maximum property length of "+i.maxProperties}),r}},o.items=function(t,i,n,s){var r=this;if(this.types.array(t)&&i.items){var h=new e(t,i,n,s);return t.every((function(t,e){var o=Array.isArray(i.items)?i.items[e]||i.additionalItems:i.items;if(void 0===o)return!0;if(!1===o)return h.addError({name:"items",message:"additionalItems not permitted"}),!1;var u=r.validateSchema(t,o,n,s.makeChild(o,e));return u.instance!==h.instance[e]&&(h.instance[e]=u.instance),h.importErrors(u),!0})),h}},o.minimum=function(t,i,n,s){if(this.types.number(t)){var r=new e(t,i,n,s);return(i.exclusiveMinimum&&!0===i.exclusiveMinimum?t>i.minimum:t>=i.minimum)||r.addError({name:"minimum",argument:i.minimum,message:"must have a minimum value of "+i.minimum}),r}},o.maximum=function(t,i,n,s){if(this.types.number(t)){var r=new e(t,i,n,s);return(i.exclusiveMaximum&&!0===i.exclusiveMaximum?t<i.maximum:t<=i.maximum)||r.addError({name:"maximum",argument:i.maximum,message:"must have a maximum value of "+i.maximum}),r}};var c=function(t,i,n,h,o,u){if(this.types.number(t)){var a=i[o];if(0==a)throw new r(o+" cannot be zero");var c=new e(t,i,n,h),f=s.getDecimalPlaces(t),l=s.getDecimalPlaces(a),v=Math.max(f,l),d=Math.pow(10,v);return Math.round(t*d)%Math.round(a*d)!=0&&c.addError({name:o,argument:a,message:u+JSON.stringify(a)}),c}};function f(t,i,n){var e,r=n.length;for(e=i+1;e<r;e++)if(s.deepCompareStrict(t,n[e]))return!1;return!0}o.multipleOf=function(t,i,n,s){return c.call(this,t,i,n,s,"multipleOf","is not a multiple of (divisible by) ")},o.divisibleBy=function(t,i,n,s){return c.call(this,t,i,n,s,"divisibleBy","is not divisible by (multiple of) ")},o.required=function(t,i,n,s){var r=new e(t,i,n,s);return void 0===t&&!0===i.required?r.addError({name:"required",message:"is required"}):this.types.object(t)&&Array.isArray(i.required)&&i.required.forEach((function(i){void 0===t[i]&&r.addError({name:"required",argument:i,message:"requires property "+JSON.stringify(i)})})),r},o.pattern=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s);return t.match(i.pattern)||r.addError({name:"pattern",argument:i.pattern,message:"does not match pattern "+JSON.stringify(i.pattern.toString())}),r}},o.format=function(t,i,n,r){if(void 0!==t){var h=new e(t,i,n,r);return h.disableFormat||s.isFormat(t,i.format,this)||h.addError({name:"format",argument:i.format,message:"does not conform to the "+JSON.stringify(i.format)+" format"}),h}},o.minLength=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s),h=t.match(/[\uDC00-\uDFFF]/g);return t.length-(h?h.length:0)>=i.minLength||r.addError({name:"minLength",argument:i.minLength,message:"does not meet minimum length of "+i.minLength}),r}},o.maxLength=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s),h=t.match(/[\uDC00-\uDFFF]/g);return t.length-(h?h.length:0)<=i.maxLength||r.addError({name:"maxLength",argument:i.maxLength,message:"does not meet maximum length of "+i.maxLength}),r}},o.minItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.length>=i.minItems||r.addError({name:"minItems",argument:i.minItems,message:"does not meet minimum length of "+i.minItems}),r}},o.maxItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.length<=i.maxItems||r.addError({name:"maxItems",argument:i.maxItems,message:"does not meet maximum length of "+i.maxItems}),r}},o.uniqueItems=function(t,i,n,r){if(this.types.array(t)){var h=new e(t,i,n,r);return t.every((function(t,i,n){for(var e=i+1;e<n.length;e++)if(s.deepCompareStrict(t,n[e]))return!1;return!0}))||h.addError({name:"uniqueItems",message:"contains duplicate item"}),h}},o.uniqueItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.every(f)||r.addError({name:"uniqueItems",message:"contains duplicate item"}),r}},o.dependencies=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);for(var h in i.dependencies)if(void 0!==t[h]){var o=i.dependencies[h],u=s.makeChild(o,h);if("string"==typeof o&&(o=[o]),Array.isArray(o))o.forEach((function(i){void 0===t[i]&&r.addError({name:"dependencies",argument:u.propertyPath,message:"property "+i+" not found, required by "+u.propertyPath})}));else{var a=this.validateSchema(t,o,n,u);r.instance!==a.instance&&(r.instance=a.instance),a&&a.errors.length&&(r.addError({name:"dependencies",argument:u.propertyPath,message:"does not meet dependency required by "+u.propertyPath}),r.importErrors(a))}}return r}},o.enum=function(t,i,n,h){if(void 0===t)return null;if(!Array.isArray(i.enum))throw new r("enum expects an array",i);var o=new e(t,i,n,h);return i.enum.some(s.deepCompareStrict.bind(null,t))||o.addError({name:"enum",argument:i.enum,message:"is not one of enum values: "+i.enum.map(String).join(",")}),o},o.const=function(t,i,n,r){if(void 0===t)return null;var h=new e(t,i,n,r);return s.deepCompareStrict(i.const,t)||h.addError({name:"const",argument:i.const,message:"does not exactly match expected constant: "+i.const}),h},o.not=o.disallow=function(t,i,n,s){var r=this;if(void 0===t)return null;var h=new e(t,i,n,s),o=i.not||i.disallow;return o?(Array.isArray(o)||(o=[o]),o.forEach((function(e){if(r.testType(t,i,n,s,e)){var o=e&&e.id&&"<"+e.id+">"||e;h.addError({name:"not",argument:o,message:"is of prohibited type "+o})}})),h):null},t.exports=h},afoZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("6N1G"),r=function(){function t(){var t=this;this.rY=[],this.hY=new e.default(Object.create(s.Player.prototype),{get:function(i,n){var s=t;return function(){s.rY.push({method:n,args:arguments}),"render"===n&&arguments.length>0&&s.$A.call(s,arguments[0])}}})}return t.prototype.destroy=function(){var t=this.oY;this.hY=void 0,this.rY=[],t&&t.parentNode&&(t.parentNode.removeChild(t),this.oY=void 0)},t.prototype.execute=function(t){this.rY.forEach((function(i){var n=i.method,s=i.args;t[n].apply(t,s)})),this.rY=[]},t.prototype.getProxy=function(){return this.hY},t.prototype.$A=function(t){var i="string"==typeof t?document.querySelector(t):t;if(null!==i&&i instanceof window.HTMLElement){var n=document.createElement("div");n.setAttribute("style","width:100%;height:100%;background:#000;position:absolute;left:0;top:0;"),i.appendChild(n),this.oY=n}},t}();i.default=r},ap5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("7sdD"),r=n("38mS"),h=n("HyJy");i.XHR_ERROR="XHR error",i.XHR_CORS="XHR CORS",i.XHR_TIMEOUT="XHR request timed out";var o=function(){function t(){}return t.ajax=function(t,n){t=h.default.fixProtocol(t);var o=h.default.getWindow(),u=n.context,a=n.responseTypeJson,c=n.withCookie,f=n.timeout,l=h.default.once(n.successHandler),v=h.default.once(n.failureHandler),d=!1,p=null,m={url:t,cors:s.userAgent.ie&&s.userAgent.ie<10||c,withCredentials:c,timeout:f||3e3,responseType:n.responseType,headers:n.headers,method:n.method,body:n.body,beforeSend:n.beforeSend};if(u&&l&&v){var b=(new Date).getTime(),y=e.default(m,(function(s,e,h){if(!d){if(n.collectPerfData){if(p={},r.isFunction(y.getResponseHeader)&&(p.resp_len=y.getResponseHeader("Content-Length")||"na"),o.performance&&o.performance.getEntriesByName){var c=0===t.indexOf("http")?t:location.protocol+t;p.resourceTiming=o.performance.getEntriesByName(c).pop(),p.resourceTimingEntries=o.performance.getEntries()}p.http_code=e.statusCode}if(e.timeDiff=(new Date).getTime()-b,s){var m=null;r.isFunction(y.getResponseHeader)&&(m=y.getResponseHeader("Access-Control-Allow-Origin"));var g=o.location.protocol+"//"+o.location.host;if(m&&m!==g){var w=i.XHR_CORS+": originHeader ="+(m||"")+": myOrigin ="+g;v.call(u,new Error(w),"default","cors")}else{var S=e.timeDiff>=f?i.XHR_TIMEOUT:i.XHR_ERROR;v.call(u,new Error(S+": timeDiff ="+e.timeDiff),e.previousState,e.statusCode,e.timeDiff,p,y)}}else e.statusCode<200||e.statusCode>=300?v.call(u,new Error(i.XHR_ERROR+": statusCode = "+e.statusCode),e.previousState,e.statusCode,e.timeDiff,p,y):l.call(u,a?JSON.parse(h):h,!1,p,y)}}));y.previousState=y.readyState;var g=y.onreadystatechange;y.onreadystatechange=function(){4===y.readyState?g.call(y):y.previousState=y.readyState}}return function(){d=!0}},t.preconnect=function(t,i){if(document&&!document.head.querySelector("#"+t)){var n=document.createElement("link");n.setAttribute("rel","preconnect"),n.setAttribute("id",t),n.setAttribute("href",i);var s=document.getElementsByTagName("head")[0];s&&s.appendChild(n)}},t}();i.default=o},bAFD:function(t,i,n){"use strict";var s=n("4Qju"),e={wifi:!0,broadband:!0,dsl:!0,cable:!0};function r(){if("undefined"!=typeof navigator)return(navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection)||{}).type}function h(){if(!s.mobile)return!0;var t=s.android&&s.chrome>=50,i=s.ios&&!s.iosWebView&&s.safari>=10;return t||i}t.exports={getConnectionType:r,isAutoplaySupported:h,isAutoplayAllowed:function(t){return!s.mobile||!(!(t=(r()||t||"").replace(/^cs_/i,"").toLowerCase())||!e[t])&&h()}}},bXaf:function(t,i,n){"use strict";t.exports=u;var s=n("UbnH"),e=n("/iNa"),r=n("RwmF"),h="Key Import is rejected",o="Decryption is rejected";function u(){this.QC=this.__controller.model.userAgent,r.call(this,this.constructor.name),"undefined"==typeof window?this.uY=crypto||msCrypto:this.uY=window.crypto||window.msCrypto,this.uY=this.uY.subtle||this.uY.webkitSubtle,this.QL=null,this.aY=null,this.cY={name:"AES-CBC",length:128,iv:null}}e.inherits(u,r),u.prototype.destroy=function(){this.close(),r.prototype.destroy.call(this)},u.prototype.close=function(){this.QL=null,this.fY=null,this.aY=null,this.lY=null},u.prototype.append=function(t){t&&("key"===t.type?this.vY(t):this.dY(t))},u.prototype.dY=function(t){if(t)if(this.fY){var i=new Uint8Array(this.fY.byteLength+t.byteLength);i.set(new Uint8Array(this.fY),0),i.set(new Uint8Array(t),this.fY.byteLength),this.fY=i}else this.fY=t},u.prototype.vY=function(t){var i=this;t&&(t.initVector||(t.initVector=i.pY(t.seqNum)),i.aY=t,i.cY.iv=i.mY(t.initVector).buffer,11!==i.QC.ie?i.uY.importKey("raw",t.data,i.cY,!0,["decrypt"]).then((function(t){i.lY=t,i.bY()}),(function(t){i.gL(h,t)})):i.yY(t))},u.prototype.yY=function(t){var i=this,n=i.uY.importKey("raw",t.data,i.cY,!0,["decrypt"]);n?(n.onerror=function(t){i.gL(h,t)},n.oncomplete=function(t){i.lY=t&&t.target?t.target.result:null,i.bY()}):i.gL("Key Import operation is not created in IE-11")},u.prototype.bY=function(){var t=this;if(t.lY&&t.fY&&t.fY.byteLength&&t.YL){var i=t.fY.buffer,n=i.byteLength-i.byteLength%16,s=i.slice(0,n);t.fY=new Uint8Array(i.slice(n)),11!==t.QC.ie?t.uY.decrypt(t.cY,t.lY,s).then((function(i){t.gY(i)}),(function(i){t.gL(o,i)})).catch((function(i){t.gL("Exception",i.toString())})):t.wY(s)}},u.prototype.wY=function(t){var i=this;if(i.lY&&t){var n=i.uY.decrypt(i.cY,i.lY,t);n?(n.onerror=function(t){i.gL(o,t)},n.oncomplete=function(t){t&&t.target&&i.gY(t.target.result)}):i.gL("Decryption operation is not created in IE-11")}},u.prototype.gY=function(t){this.publish(s.DATA_PROCESS_PROGRESS,new Uint8Array(t)),this.YL&&(0===this.fY.byteLength?this.publish(s.DATA_PROCESS_COMPLETE):this.bY())},u.prototype.mY=function(t){for(var i=[],n=0,s=(t=t.substr(2)).length;n<s;n+=2)i.push(parseInt(t.substr(n,2),16));return new Uint8Array(i)},u.prototype.endOfSegment=function(){this.YL=!0,this.aY&&this.lY&&this.bY()},u.prototype.gL=function(t,i){this.publish(s.DATA_PROCESS_ERROR)},u.prototype.pY=function(t){for(var i="0x",n=(t=t||0).toString(16),s=n.length<32?32-n.length:0,e=0;e<s;e++)i+="0";return i+=n}},bfqm:function(t,i,n){"use strict";t.exports=u;var s=n("/Ggr"),e=n("lPOR"),r=n("/iNa"),h=n("jYym"),o=n("KtsB");function u(t,i){if(this.iy=this.__controller.model,this.SY=this.iy.config.useWorker,this.QC=this.iy.userAgent,this.EY="HlsTransformer",this.OY=r.guid(),this.Qy=t,this.Zy=i,this.MIN_BUFFER_LENGTH=5,this.AY()){if(this._Y=this.__controller.services.getWorker(this.EY),this._Y)return this._Y.addEventListener("message",this.TY.bind(this)),void this.MY(e.MessageIds.CREATE,[t]);this.iy.config.useWorker=!1}this.IY=new s(t,i),this.SY=!1}u.prototype.destroy=function(){this.SY&&this._Y?this.MY(e.MessageIds.DESTROY):this.IY.destroy()},u.prototype.close=function(){this.SY&&this._Y?this.MY(e.MessageIds.CALL_METHOD,null,"close"):this.IY.close()},u.prototype.append=function(t){this.SY&&this._Y?this.MY(e.MessageIds.CALL_METHOD,[t],"append",[t.buffer]):this.IY.append(t)},u.prototype.endOfSegment=function(){this.SY&&this._Y?this.MY(e.MessageIds.CALL_METHOD,null,"endOfSegment"):this.IY.endOfSegment()},u.prototype.TY=function(t){if(t){var i=t.data?new o(t.data):t;if(i&&i.instanceId===this.OY&&(i.id===e.MessageIds.APPEND_SRC_BUFFER||i.id===e.MessageIds.TIMED_METADATA)){var n=i.getParam("parsedInfo");n&&(n.inWorkerScope=!0),this.Zy(i)}}},u.prototype.AY=function(){return!!this.SY&&(this.QC.chrome&&!this.QC.win7?this.SY=!(this.__controller&&this.__controller.getState()>=h.PLAY_REQUESTED)||this.iy.bufferLength>this.MIN_BUFFER_LENGTH:this.SY=!1,this.SY)},u.prototype.MY=function(t,i,n,s){if(this._Y&&t){var r={type:e.MessageTypes.MESSAGE,id:t,moduleName:this.EY,instanceId:this.OY,funcName:n,args:i,timestamp:Date.now()};this._Y.postMessage(r,s)}}},bh81:function(t,i,n){"use strict";function s(){this.PIXEL_THRESHOLD_FACTOR=.5}function e(){this.BANDWIDTH_FACTOR_LOW=1.3,this.BANDWIDTH_FACTOR_HIGH=1.6,this.MIN_BW_FOR_LOW_FACTOR=25e5,this.MIN_BUFFER_TO_SWITCH_DOWN=10}function r(){this.BANDWIDTH_FACTOR_LOW=1.3,this.BANDWIDTH_FACTOR_HIGH=1.6,this.MIN_BW_FOR_LOW_FACTOR=25e5,this.MIN_BUFFER_TO_SWITCH_UP=6,this.MIN_LENGTH_DATA=2,this.ALLOWED_LOAD_TIME=500}function h(){this.MAX_WIDTH_240P=427,this.MAX_HEIGHT_240P=240,this.MAX_BITRATE_240P=9e5,this.MAX_BITRATE_LIMIT=1e7,this.PIXEL_RATIO_360=6}t.exports.StartupRule=s,t.exports.BandwidthRule=e,t.exports.BufferRule=r,t.exports.ResolutionRule=h,i.validateAbrInput=function(t){return!(!t||"object"!=typeof t||!t.bitrateList||!t.bitrateList.length||"number"!=typeof t.estimatedBandwidthInBps||isNaN(t.estimatedBandwidthInBps)||void 0===t.currentIndex||null===t.currentIndex||isNaN(t.currentIndex)||void 0===t.bufferLength||isNaN(t.bufferLength)||void 0===t.displayWidth||isNaN(t.displayWidth)||t.displayWidth<=0||void 0===t.displayHeight||isNaN(t.displayHeight)||t.displayHeight<=0||void 0===t.streams||t.streams.length<=0)},s.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;for(var n,s=t.displayWidth*t.displayHeight*this.PIXEL_THRESHOLD_FACTOR,e=t.streams.length-1;e>=0;e--){var r=t.streams[e].width*t.streams[e].height;if(!n&&r<s&&(n=r),n&&r<n)return e+1}return 0},e.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;for(var n=0,s=t.estimatedBandwidthInBps||t.bwHistory,e=this.jY(s),r=0;r<t.bitrateList.length&&!(s<e*t.bitrateList[r]);r++)n=r;return n<t.currentIndex&&t.bufferLength>this.MIN_BUFFER_TO_SWITCH_DOWN&&(n=t.currentIndex),n},e.prototype.jY=function(t){return t>=this.MIN_BW_FOR_LOW_FACTOR?this.BANDWIDTH_FACTOR_LOW:this.BANDWIDTH_FACTOR_HIGH},r.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;var n=t.segmentLength?Math.min(t.segmentLength,this.MIN_BUFFER_TO_SWITCH_UP):this.MIN_BUFFER_TO_SWITCH_UP;return 0===t.bufferLength?this.NY(t):t.bufferLength<n?t.currentIndex:t.bitrateList.length-1},r.prototype.NY=function(t){for(var i=0,n=t.estimatedBandwidthInBps||t.bwHistory,s=this.jY(n),e=this.ALLOWED_LOAD_TIME/1e3,r=0;r<t.bitrateList.length&&!(s*t.bitrateList[r]*this.MIN_LENGTH_DATA/n>e);r++)i=r;return i},r.prototype.jY=function(t){return t>=this.MIN_BW_FOR_LOW_FACTOR?this.BANDWIDTH_FACTOR_LOW:this.BANDWIDTH_FACTOR_HIGH},h.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;var n=t.pixelRatio||this.getPixelRatio(t),s=t.displayWidth,e=t.displayHeight;!isNaN(n)&&n>1&&(s*=n,e*=n);for(var r=0,h=0;h<t.streams.length&&!(t.streams[h].width>s||t.streams[h].height>e);h++)r=h;var o=t.streams[r].width,u=t.streams[r].height,a=s<=this.MAX_WIDTH_240P||e<=this.MAX_HEIGHT_240P?this.MAX_BITRATE_240P:this.MAX_BITRATE_LIMIT;if((r=this.RY(t,o,u,a))<t.streams.length-1&&t.bitrateList[r+1]<a){var c=t.streams[r+1].width,f=t.streams[r+1].height,l=t.streams[r].height;Math.abs(f-e)<=Math.abs(l-e)&&(r=this.RY(t,c,f,a))}return r},h.prototype.RY=function(t,i,n,s){var e=0;return t.streams.forEach((function(r,h){var o=t.bitrateList[h];r&&r.width===i&&r.height===n&&o<=s&&h>e&&o>t.bitrateList[e]&&(e=h)})),e},h.prototype.getPixelRatio=function(t){var i=1;try{window&&(i=window.devicePixelRatio)}catch(t){i=1}return i||(i=1),t.is360&&(i*=this.PIXEL_RATIO_360),i}},"c+yx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("s4NR"),r=n("ToqN"),h=n("t8Yn"),o=n("rBpt"),u=n("he5r"),a=["yahoo.com","yahoo.co.jp","yahoo.net","yahoo.fr","yimg.com","rivals.com","tumblr.com","txmblr.com","flickr.com","maktoob.com","grindtv.com","thepostgame.com","nfl.com","nfljapan.com","movie.yahoo-leisure.hk","mmovie.yahoo-leisure.hk","test.player.vdms.io"],c=["aol.com","oath.com","verizondigitalmediaservices.com","ouroath.com","vzbuilders.com","cashay.com","dpk0sergzlt6z.cloudfront.net","verizon.com","autoblog.com"].concat(a).concat(["huffpost.com","huffpost.net","huffingtonpost.co.uk","huffingtonpost.com.au","huffingtonpost.in","huffpostbrasil.com","huffingtonpost.ca","huffingtonpost.fr","huffingtonpost.es","huffingtonpost.it","huffingtonpost.kr","huffingtonpost.jp","huffingtonpost.gr"]);!function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOAD_COMPLETE=2]="LOAD_COMPLETE"}(s=i.SCRIPT_LOAD_STATE||(i.SCRIPT_LOAD_STATE={}));var f=function(){function t(){}return t.isOffNetwork=function(i,n){i=i||t.getHostUrl();var s=t.parseDomain(i);if(!i||r.userAgent.samsung)return!1;var e=n?a:c,h=[];return["cdn.ampproject.org","amp.cloudflare.com","bing-amp.com"].forEach((function(t){e.forEach((function(i){var n=i.replace(/-/g,"--").replace(/\./g,"-");h.push(n+"."+t)}))})),(h=h.concat(e)).push("localhost"),!s||!h.some((function(t){return-1!==s.indexOf(t,s.length-t.length)}))},t.isYahooDomain=function(i){return!1===t.isOffNetwork(i,!0)},t.isOathDomain=function(i){return!1===t.isOffNetwork(i,!1)},t.isWhitelistedDomain=function(i){var n=t.parseDomain(i||t.getHostUrl())||"";return["publishing.oath.com"].some((function(t){return!!n.match(new RegExp(t+"$"))}))},t.getHostUrl=function(){var t=document.referrer;try{window.top.location.href&&(t=window.top.location.href)}catch(t){}return t},t.parseDomain=function(t){var i=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(t);return i?i[1]:null},t.isValidUrl=function(t){return/^https:\/\/[a-z0-9-\.]+\.[a-z]{2,4}\/?([^\s<>\#%"\,\{\}\\|\\\^\[\]`]+)?$/.test(t)},t.getPageQueryString=function(){var i=t.kY().location.search;return i&&0===i.indexOf("?")&&(i=i.substr(1)),e.parse(i,void 0,void 0,{decodeURIComponent:window.decodeURIComponent})},t.sendIframeBeacon=function(i){i=t.fixProtocol(i);var n=Math.random(),s=document.querySelector("#vp-beacons"),e="vp-beacons-"+n;s||(s=t.createBeaconsIframe(document,"vp-beacons"),document.body.appendChild(s));var r=t.createBeaconsIframe(s.contentDocument,e);return r.src=i,"complete"===s.contentDocument.readyState?s.contentDocument.body.appendChild(r):s.contentDocument.body.onload=function(){s.contentDocument.body.appendChild(r)},!0},t.createBeaconsIframe=function(t,i){var n=t.createElement("iframe");return n.frameBorder=0,n.width=0,n.height=0,n.marginwidth=0,n.marginheight=0,n.hspace=0,n.vspace=0,n.frameborder=0,n.scrolling="no",n.id=i,n.style.display="none",n.title="",n},t.sendImageBeacon=function(i){i=t.fixProtocol(i);var n=new Image;n.onload=n.onabort=n.onerror=function(){n.onload=n.onabort=n.onerror=null,n=null},n.src=i},t.fixProtocol=function(t){return r.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.lazyLoad=function(i,n){var e=t.getLazyLoadState(i);if(e.state!==s.LOADING){if(e.state===s.LOAD_COMPLETE)return n(!0);e.state=s.LOADING,e.subscribers.push(n);t.loadScript(i,(function(t){e.state=s.LOAD_COMPLETE,e.subscribers.forEach((function(i){return i(t)}))}))}else e.subscribers.push(n)},t.getLazyLoadState=function(i){var n=t.getSingleton("lazyLoadState"),e={state:s.NOT_LOADED,subscribers:[]};if(n&&n[i])e=n[i];else if(n)n[i]=e;else{var r={};r[i]=e,t.setSingleton("lazyLoadState",r)}return e},t.loadScript=function(t,i){var n=document.createElement("script");n.async=!0,n.src=t,n.onload=function(){return i(!0)},n.onerror=function(){return i(!1)},document.body.appendChild(n)},t.setSingleton=function(t,i){window.OATH=window.OATH||{},window.OATH.VideoPlatform=window.OATH.VideoPlatform||{},window.OATH.VideoPlatform[t]=i},t.getSingleton=function(t){return window.OATH&&window.OATH.VideoPlatform&&window.OATH.VideoPlatform[t]?window.OATH.VideoPlatform[t]:null},t.isValidRequestAction=function(t){return-1!==[null,u.REQUEST_TYPES.CLICK,u.REQUEST_TYPES.AUTOPLAY,u.REQUEST_TYPES.HOVER,u.REQUEST_TYPES.PLAY,u.REQUEST_TYPES.PAUSE,u.REQUEST_TYPES.SCROLL,u.REQUEST_TYPES.SWIPE,u.REQUEST_TYPES.BACKGROUND].indexOf(t)},t.transformLegacyConfig=function(i){var n=Object.assign({mediaItems:[],ui:{},watchHistory:{enabled:!1,watchedPeriod:.5,expiry:129600,skipWatchedVideos:!0}},i),s=!1;if(i.playlist&&i.playlist.mediaItems){i.playlist=Object.assign({},i.playlist);for(var e=0,r=i.playlist.mediaItems;e<r.length;e++){var a=r[e],c=null;a.id===u.GEMINI_STUB_VIDEO_ID&&i.YVAP&&i.YVAP.standaloneAd&&(c=t.LY(a,i)),c||(c={mimetype:a.id?h.MediaItemInterfaces.MediaItemMimeType.SAPI:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,id:a.id||""},a.adConfig&&(c.adConfig=a.adConfig),(a.meta||a.streams)&&(c.customConfig={response:a}),a.streams&&c.mimetype===h.MediaItemInterfaces.MediaItemMimeType.CONTAINER&&(c.source=c.source||{},c.source.streams=a.streams),a.meta&&a.meta.playlist_config&&(s=!0));var f=a.images;f&&(f.thumbnail||f.large||f.medium||f.small)&&(c.metadata=c.metadata||{},c.metadata.thumbnail=f.thumbnail||f.large||f.medium||f.small),n.mediaItems.push(c)}void 0!==n.playlist.videoRecommendations&&(n.videoRecommendations=n.playlist.videoRecommendations),n.playlist.id?delete n.playlist.mediaItems:delete n.playlist}i.region&&(n.region=i.region.toUpperCase()),i.docking&&(n.ui.docking=Object.assign({},i.docking),n.ui.docking.position={},["Top","Right","Bottom","Left"].forEach((function(t){var s="position"+t,e=i.docking[s];n.ui.docking.position[t.toLowerCase()]="number"==typeof e?e:-1,delete n.ui.docking[s]})),delete n.docking);return[["ccOnMute","ccOnMute"],["chromeless","chromeless"],["showControls","showControls"],["showAgeGate","showAgeGate"],["fullscreenBtn","showFullscreenButton"]].forEach((function(t){void 0!==i[t[0]]&&(n.ui[t[1]]=!!i[t[0]]),delete n[t[0]]})),void 0!==i.startscreen&&"object"!=typeof i.startscreen?(n.ui.startScreen={show:!!i.startscreen},delete n.startscreen):"object"==typeof i.startscreen&&i.startscreen&&(n.ui.startScreen=n.ui.startScreen||{},["showButton","show","showDesc","showControls","showProvider","showTitle"].forEach((function(t){void 0!==i.startscreen[t]&&(n.ui.startScreen[t]=!!i.startscreen[t])})),n.ui.startScreen.showDescription=!!i.startscreen.showDesc,delete n.ui.startScreen.showDesc,delete n.startscreen),void 0!==i.endscreen&&"object"!=typeof i.endscreen?(n.ui.endScreen={show:!!i.endscreen},delete n.endscreen):"object"==typeof i.endscreen&&i.endscreen&&(n.ui.endScreen=i.endscreen,delete n.endscreen),void 0!==i.replayonlyendscreen&&"boolean"==typeof i.replayonlyendscreen&&(n.ui.endScreen={show:!!i.replayonlyendscreen},delete n.replayonlyendscreen),["Start","Hover"].forEach((function(t){var s="showTitleOn"+t;void 0!==i[s]&&(n.ui.title=n.ui.title||{},n.ui.title["showOn"+t]=i[s],delete n[s])})),void 0!==i.watchHistoryEnabled&&(n.watchHistory.enabled=i.watchHistoryEnabled,delete n.watchHistoryEnabled),void 0!==i.watchedPeriod&&(n.watchHistory.watchedPeriod=i.watchedPeriod,delete n.watchedPeriod),void 0!==i.watchHistoryExpiry&&(n.watchHistory.expiry=i.watchHistoryExpiry,delete n.watchHistoryExpiry),i.YVAP&&("number"==typeof i.YVAP.timeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.load=i.YVAP.timeout),"number"==typeof i.YVAP.vpaidTimeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.start=i.YVAP.vpaidTimeout)),i.playlistUI&&(n.ui.playlist=i.playlistUI,i.playlistUI.playlistId&&(n.playlist=n.playlist||{},n.playlist.id=i.playlistUI.playlistId),delete n.playlistUI),s&&n.ui.playlist&&(n.ui.playlist.mimetype="playlist/structured"),["height","width"].forEach((function(t){i[t]&&o.TypeChecker.isString(i[t])&&(n[t]=parseInt(i[t],10),o.TypeChecker.isNumber(n[t])||delete n[t])})),n},t.isLegacyConfig=function(t){return!(!t||!t.playlist||!t.playlist.mediaItems&&!t.playlist.id)},t.formatTime=function(t){var i=Math.floor(t/3600),n=Math.floor((t-3600*i)/60),s=Math.floor(t-3600*i-60*n),e=s<10?"0"+s:s.toString(),r="";if(i>0){var h=n<10?"0"+n:n.toString();r=i.toString()+":"+h+":"+e}else o.TypeChecker.isNumber(n)&&(r=n.toString()+":"+e);return r},t.getPlayerType=function(){var i=t.getSingleton("PlayerHosting"),n="desktop";if(i&&i.type){var s=i.type.match(/^oath\-player\-([a-z\-]*)\.js/);s&&s[1]&&(n=s[1])}return"nextgen-"+(n="mobile-ios"===n?"ios":n)},t.getBckt=function(){var i=t.getSingleton("PlayerHosting");if(i){var n=i.bucket,s=i.env;return n||("prod"===s?"Treatment_Oath_Player":null)||"none"}return"Treatment_Oath_Player"},t.isInternalUser=function(){var i=t.getSingleton("PlayerHosting");return i&&"stage"===i.env},t.initIframeCmp=function(){if(!window.__cmp){for(var t,i=window;!t;){try{i.frames.__cmpLocator&&(t=i)}catch(t){}if(i===window.top)break;i=i.parent}var n={};window.__cmp=function(i,s,e){if(t){var r=Math.random()+"",h={__cmpCall:{command:i,parameter:s,callId:r}};n[r]=e,t.postMessage(h,"*")}else e({msg:"CMP not found"},!1)},window.addEventListener("message",(function(t){var i="string"==typeof t.data,s=t.data;if(i)try{s=JSON.parse(t.data)}catch(t){}if(s.__cmpReturn){var e=s.__cmpReturn;n[e.callId](e.returnValue,e.success),delete n[e.callId]}}),!1)}},t.getCookie=function(t){t+="=";var i=document.cookie.split(/;\s*/),n=null;return i.forEach((function(i){i.indexOf(t)>-1&&(n=i.replace(t,""))})),n},t.extend=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return o.TypeChecker.isObject(t)||(t={}),i.forEach((function(i){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])})),t},t.getResourceLoadTime=function(t){if(window.performance&&window.performance.getEntriesByType){var i=window.performance.getEntriesByType("resource"),n=void 0;for(n in i)if(i[n]&&i[n].name&&i[n].name.match(t))return i[n].duration}return null},t.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t.LY=function(t,i){return t&&i&&i.YVAP&&i.YVAP.standaloneAd&&i.YVAP.standaloneAd.gemini?{mimetype:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,metadata:{type:h.MediaItemInterfaces.MediaItemType.CONTAINER},id:"gemini-ad-"+Math.ceil(1e11*Math.random()),adConfig:{mimetype:u.VRM_PLUGIN_MIMETYPE,value:{YVAP:i.YVAP}}}:null},t.kY=function(){return window},t}();i.default=f},c6dB:function(t,i,n){"use strict";var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=n("oIMU"),r=n("fLR+"),h=function(){function t(t){this.startTime=Date.now(),this.DY=[],this.ty=t,this.Sy={},this.r_()}return t.prototype.getItem=function(t){var i=this.CY(t);return i>-1?this.DY[i]:null},t.prototype.destroy=function(){this.ty.removeEventListeners(this.Sy)},t.prototype.CY=function(t){for(var i=0;i<this.DY.length;i++){var n=this.DY[i];if(t.type===n.type)return i}return-1},t.prototype.r_=function(){var t=this;this.Sy[e.PROFILE_START]=this.ty.addEventListener(e.PROFILE_START,(function(i){void 0===i&&(i=[]),(i=r.isArray(i)?i:[i]).forEach((function(i){t.zI(i)}))}),this),this.Sy[e.PROFILE_END]=this.ty.addEventListener(e.PROFILE_END,(function(i){void 0===i&&(i=[]);for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];(i=r.isArray(i)?i:[i]).forEach((function(i){t.YI.apply(t,s([i],n))}))}),this)},t.prototype.zI=function(t){var i=this.CY(t);i>-1&&this.DY.splice(i,1),this.DY.push({type:t.type,startTime:Date.now()-this.startTime,endTime:void 0})},t.prototype.YI=function(t,i,n){void 0===i&&(i=Date.now()),void 0===n&&(n=!0);var s=this.getItem(t);i||(i=Date.now(),n=!0),s&&void 0===s.endTime&&(s.endTime=n?i-this.startTime:i,s.timeDiff=s.endTime-(s.startTime||0))},t}();i.Profiler=h},cDre:function(t,i,n){"use strict";t.exports.StreamingController=g;var s=n("6I/I").Events,e=n("k721"),r=n("rWzN"),h=n("OtQS"),o=n("HNE+"),u=n("7M2b"),a=u.StreamLoader,c=u.Events,f=n("V66C").StreamTypes,l=n("/iNa"),v=n("RwmF"),d=n("y5bh").HLSEvent,p=n("R6Gm"),m=n("x7P6").AbrModes,b=n("lPOR"),y=t.exports.Events={STREAM_METADATA_LOADED:"streamMetadataLoaded",STREAM_METADATA_LOAD_ERROR:"streamMetadataLoadError",PRELOAD_COMPLETE:"preloadComplete",SEG_LOAD_PROGRESS:"streamingControllerSegLoadProgress"};function g(){v.call(this,this.constructor.name),this.iy=this.__controller.model,this.VE=this.__controller.services,this.BE=this.__controller.create(p),this.PY=this.VE.segmentMetrics,this.xY={},this.UY=0,this.VY=0,this.BY={},this.FY=null,this.zY=0,this.HY=this.__controller.create(h,this.BE),this.HY.addEventListener(this.HY.SWITCH_ON_ERROR,this.YY,this),this.jC=this.__controller.create(r),this.jC.addEventListener(this.jC.SWITCH_BEGIN,this.GY,this),this.jC.addEventListener(this.jC.SWITCH_END,this.WY,this),this.qY=new o(1e3*this.iy.config.segmentLoadMonitorInterval),this.qY.addEventListener(this.XY,this),this.QY={},this.ZH=[],this.tE=!1,this.cE=!1,this.$S=!1,this.ZY=this.jC.SCENARIOS.STARTUP,this.STATES={ERROR:-1,INITIAL:0,STREAM_METADATA_LOADED:1,INITIALIZED:2},this.oE=this.STATES.INITIAL}l.inherits(g,v),g.prototype.loadStream=function(t){var i=this;t&&i.oE===i.STATES.INITIAL&&(i.JY(t).load(t),i.UY++,Object.keys(t.altRenditionGroups).forEach((function(n){var s=t.getAlternateStream(n);s&&s.url&&(i.JY(s).load(s),i.UY++)})))},g.prototype.loadAllSubtitleStreams=function(){var t=this;if(t.oE===t.STATES.INITIAL){var i=[];t.iy.streams.forEach((function(n){var s=n.getAlternateStream(f.SUBTITLES);s&&i.indexOf(s.url)<0&&(i.push(s.url),t.JY(s).load(s),t.UY++)})),t.oE=t.STATES.STREAM_METADATA_LOADED,t.publish(y.STREAM_METADATA_LOADED)}},g.prototype.JY=function(t){var i=this.__controller.create(a,this.BE);return i.addEventListener(c.STREAM_LOADED,this.KY,this),i.addEventListener(c.STREAM_LOAD_ERROR,this.$Y,this),this.xY[t.url]=i,t.type===f.SUBTITLES&&this.VY++,i},g.prototype.tG=function(){var t=this;Object.keys(t.xY).forEach((function(i){var n=t.xY[i];n&&n.destroy()})),t.xY={},t.UY=0},g.prototype.KY=function(t){if(t){var i=this.xY[t.url];if(i){if(this.oE>=this.STATES.STREAM_METADATA_LOADED)return i.destroy(),delete this.xY[t.url],void this.iy.synchStreamTimelines(t.type);t.type!==f.SUBTITLES&&this.VY++,this.VY>=this.UY&&(this.oE=this.STATES.STREAM_METADATA_LOADED,this.iy.synchStreamTimelines(),this.publish(y.STREAM_METADATA_LOADED)),i.destroy(),delete this.xY[t.url]}}},g.prototype.$Y=function(t,i){t&&t.type===f.SUBTITLES||(this.oE=this.STATES.ERROR,this.publish(y.STREAM_METADATA_LOAD_ERROR,i))},g.prototype.init=function(){var t=this;if(t.oE!==t.STATES.ERROR&&t.oE!==t.STATES.INITIALIZED){var i=t.iy.getCurrentLoadingStream();if(i){t.VY=0;var n=t.iG(i);n.addEventListener(s.PRELOAD_COMPLETE,t.nG,t),n.addEventListener(s.LIVE_SYNCH,t.sG,t),t.BY.MAIN=n,t.FY=n,t.zY++,Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);if(s){var e=t.iG(s);e&&(t.BY[n]=e,t.zY++)}})),t.eG(),t.rG(),t.oE=t.STATES.INITIALIZED}}},g.prototype.isInitialized=function(){return this.oE>=this.STATES.INITIALIZED},g.prototype.iG=function(t){if(!t)return null;var i=e.create(this.__controller,t,this.iy.live);return this.hG(i),i},g.prototype.oG=function(){var t=this;Object.keys(t.BY).forEach((function(i){t.BY[i].destroy()})),t.BY={},t.FY=null},g.prototype.hG=function(t){var i=this;if(t){var n={};n[s.SEG_LOAD_START]=i.uG,n[s.SEG_LOAD_PROGRESS]=i.aG,n[s.SEG_LOAD_COMPLETE]=i.cG,n[s.SEG_LOAD_ERROR]=i.fG,n[s.STREAM_LOAD_ERROR]=i.lG,n[s.STREAM_LOAD_COMPLETE]=i.vG,Object.keys(s).forEach((function(e){var r=s[e];t.addEventListener(r,n[r],i)}))}},g.prototype.eG=function(){var t=this.BY.AUDIO;this.FY&&this.FY.setAltAudioActive(t&&t.isActive())},g.prototype.dG=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=t.FY;s&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i),Object.keys(t.BY).forEach((function(e){e!==f.MAIN&&(s=t.BY[e])&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i)}))},g.prototype.process=function(){this.dG("process"),this.ZY=this.jC.SCENARIOS.LOAD},g.prototype.suspendStreaming=function(){this.dG("suspendStreaming")},g.prototype.resumeStreaming=function(){this.dG("resumeStreaming")},g.prototype.setABRMode=function(t){var i=this.iy;i.setABRMode(t)&&i.getABRMode()!==m.AUTO&&(this.$S=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,["video"],["streamType"]),this.cE=!1,this.rG(),this.dG("onManualStreamChange"))},g.prototype.setAudioLanguage=function(t){var i=this.iy;if(i.setAudioLanguage(t)){this.$S=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,["audio"],["streamType"]);var n=f.AUDIO,s=i.getCurrentLoadingStream(),e=s?s.getAlternateStream(n):null,r=this.BY[n];e&&r&&r.setCurrentStream(e),this.eG(),this.dG("onManualStreamChange")}},g.prototype.getMetrics=function(){return this.PY.getMetrics()},g.prototype.onPlay=function(t){this.qY.start(),this.pG()?(this.dG("onPlay",t),this.tE=!1,this.$S=!1):this.ZH.push([this,this.onPlay,[t]])},g.prototype.onPlaying=function(){this.dG("onPlaying")},g.prototype.onPause=function(){this.qY.stop(),this.dG("onPause"),this.tE=!0},g.prototype.onSeeking=function(t){this.iy.live||this.rG(),this.dG("onSeeking",t)},g.prototype.onSeeked=function(t){this.dG("onSeeked",t)},g.prototype.onComplete=function(){this.PY.onComplete(),this.dG("onComplete")},g.prototype.onError=function(){this.dG("onError")},g.prototype.onTimeUpdate=function(t){this.dG("onTimeUpdate",t),this.PY.onTimeUpdate(t)},g.prototype.onSynchMetadataReady=function(t){this.rG(),this.dG("onSynchMetadataReady",t)},g.prototype.onSynchComplete=function(){this.dG("onSynchComplete")},g.prototype.onPreloadBegin=function(){this.dG("onPreloadBegin")},g.prototype.onPreloadEnd=function(){this.dG("onPreloadEnd")},g.prototype.YY=function(t){this.cE=!1,this.rG(this.jC.SCENARIOS.ERROR,{index:t})},g.prototype.GY=function(){var t=this,i=t.iy.getCurrentLoadingStream();t.cE=!0,t.FY.setCurrentStream(i),Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);s&&t.BY[n]&&t.BY[n].setCurrentStream(s)})),t.eG()},g.prototype.WY=function(){this.cE=!1,this.dG("onSwitchEnd")},g.prototype.XY=function(){var t=this.FY?this.FY.getSegLoadCommand():null;t&&this.rG(this.jC.SCENARIOS.MIDSEGMENT,{command:t,position:t.position})},g.prototype.mG=function(t,i,n,s,e){var r=this.iy.getCurrentLoadingStream(),h=r?r.getSegmentfromSeqNum(i):null,o={bitrateIndex:r?r.index:0,frameRate:r?r.frameRate:30,bytesTotal:n};"firstByte"===t?(o.beginTime=h?h.startTime:NaN,o.switchReason="none",o.observedBitrate=this.VE.bandwidthEstimator.averageBandwidth,o.timeToFirstByte=h?h.timeToFirstByte:NaN,o.endTime=h?h.startTime+h.duration:NaN,this.PY.segmentLoadBegin(i,o)):"end"===t&&(o.perfInfo=e,o.timeToDownload=h?h.totalDownloadTime:NaN,o.segmentInWorker=!!s,this.PY.segmentLoadEnd(i,o))},g.prototype.bG=function(){this.qY.reset(),this.tE||this.HY.running||this.qY.start()},g.prototype.rG=function(t,i){if(t=t||this.ZY,!this.cE)if(t!==this.jC.SCENARIOS.MIDSEGMENT){var n=i?i.index:null;this.jC.switchStream(t,null,n)}else{var s=i?i.command:null,e=i?i.position:null;this.yG(t,s,e)}},g.prototype.yG=function(t,i,n){if("end"!==n&&(this.FY&&this.FY.canSwitch(t)&&this.jC.switchStream(t,"down"))){var s=this.FY.abortCurrentSegment(i);s&&this.mG("end",s),this.process()}},g.prototype.uG=function(){this.bG()},g.prototype.aG=function(t,i){if(this.gG(t)&&i){this.publish(y.SEG_LOAD_PROGRESS,i.bytesTotal),"firstByte"===i.position&&this.jC.switchComplete();var n=i.position,s=i.bytesTotal,e=i.inWorkerScope,r=i.perfInfo,h=i.seqNum;this.mG(n,h,s,e,r),this.bG()}},g.prototype.cG=function(t){this.wG(),this.gG(t)&&this.rG()},g.prototype.fG=function(t,i){this.gG(t)&&this.mG("end",i.seqNum),this.SG(i.err,i.stream)},g.prototype.vG=function(t,i){if(this.wG(),this.gG(t)||this.iy.synchStreamTimelines(t.type),this.__controller.sendEvent(d.STREAM_UPDATED,i),this.ZH.length>0&&this.KH(),this.$S){for(var n=0,s=Object.keys(this.BY),e=0;e<this.zY;e++)this.BY[s[e]].isActive()&&n++;++this.VY>=n&&(this.VY=0,this.__controller.sendMessage(b.MessageIds.PLAY_AFTER_STREAM_CHANGE))}},g.prototype.lG=function(t,i){this.SG(i.err,i.stream)},g.prototype.SG=function(t,i){this.qY.stop(),this.HY.handle(t,i)},g.prototype.wG=function(){var t=this,i=!0;t.HY.running&&(Object.keys(t.BY).forEach((function(n){var s=t.BY[n],e=s?s.getCurrentStream():null;e&&e.type!==f.SUBTITLES&&(i=i&&!s.isInError())})),i&&(t.HY.onLoadComplete(),t.bG()))},g.prototype.nG=function(){this.onPreloadEnd(),this.publish(y.PRELOAD_COMPLETE)},g.prototype.sG=function(t,i){this.gG(t)&&this.__controller.sendEvent(d.LIVE_SYNCH,i)},g.prototype.gG=function(t){return t&&t.type===f.MAIN},g.prototype.pG=function(){var t=this;if(t.oE!==t.STATES.INITIALIZED)return!1;var i=!0;return Object.keys(t.BY).forEach((function(n){if(n!==f.SUBTITLES){var s=t.BY[n];i=i&&(!s.isActive()||s.isStreamReady())}})),i},g.prototype.KH=function(){var t=this.ZH;this.ZH=[],t.forEach((function(t){var i=t[0],n=t[1],s=t.length>2?t[2]:null;n&&"function"==typeof n&&n.apply(i,s)}))},g.prototype.destroy=function(){this.oG(),this.tG(),this.HY&&(this.HY.destroy(),this.HY=null),this.BE&&(this.BE.destroy(),this.BE=null),this.jC&&(this.jC.destroy(),this.jC=null),this.qY.destroy(),this.ZH=[],v.prototype.destroy.call(this)}},cK6b:function(t,i,n){!function(t){function i(t,i,n){var s;return i&&"object"==typeof i&&(void 0!==i[t]?s=i[t]:n&&i.get&&"function"==typeof i.get&&(s=i.get(t))),s}t.Template=function(t,i,n,s){t=t||{},this.r=t.code||this.r,this.c=n,this.options=s||{},this.text=i||"",this.partials=t.partials||{},this.subs=t.subs||{},this.buf=""},t.Template.prototype={r:function(t,i,n){return""},v:function(t){return t=u(t),o.test(t)?t.replace(n,"&amp;").replace(s,"&lt;").replace(e,"&gt;").replace(r,"&#39;").replace(h,"&quot;"):t},t:u,render:function(t,i,n){return this.ri([t],i||{},n)},ri:function(t,i,n){return this.r(t,i,n)},ep:function(t,i){var n=this.partials[t],s=i[n.name];if(n.instance&&n.base==s)return n.instance;if("string"==typeof s){if(!this.c)throw new Error("No compiler available.");s=this.c.compile(s,this.options)}if(!s)return null;if(this.partials[t].base=s,n.subs){for(key in i.stackText||(i.stackText={}),n.subs)i.stackText[key]||(i.stackText[key]=void 0!==this.activeSub&&i.stackText[this.activeSub]?i.stackText[this.activeSub]:this.text);s=function(t,i,n,s,e,r){function h(){}function o(){}var u;h.prototype=t,o.prototype=t.subs;var a=new h;for(u in a.subs=new o,a.subsText={},a.buf="",s=s||{},a.stackSubs=s,a.subsText=r,i)s[u]||(s[u]=i[u]);for(u in s)a.subs[u]=s[u];for(u in e=e||{},a.stackPartials=e,n)e[u]||(e[u]=n[u]);for(u in e)a.partials[u]=e[u];return a}(s,n.subs,n.partials,this.stackSubs,this.stackPartials,i.stackText)}return this.partials[t].instance=s,s},rp:function(t,i,n,s){var e=this.ep(t,n);return e?e.ri(i,n,s):""},rs:function(t,i,n){var s=t[t.length-1];if(a(s))for(var e=0;e<s.length;e++)t.push(s[e]),n(t,i,this),t.pop();else n(t,i,this)},s:function(t,i,n,s,e,r,h){var o;return(!a(t)||0!==t.length)&&("function"==typeof t&&(t=this.ms(t,i,n,s,e,r,h)),o=!!t,!s&&o&&i&&i.push("object"==typeof t?t:i[i.length-1]),o)},d:function(t,n,s,e){var r,h=t.split("."),o=this.f(h[0],n,s,e),u=this.options.modelGet,c=null;if("."===t&&a(n[n.length-2]))o=n[n.length-1];else for(var f=1;f<h.length;f++)void 0!==(r=i(h[f],o,u))?(c=o,o=r):o="";return!(e&&!o)&&(e||"function"!=typeof o||(n.push(c),o=this.mv(o,n,s),n.pop()),o)},f:function(t,n,s,e){for(var r=!1,h=!1,o=this.options.modelGet,u=n.length-1;u>=0;u--)if(void 0!==(r=i(t,n[u],o))){h=!0;break}return h?(e||"function"!=typeof r||(r=this.mv(r,n,s)),r):!e&&""},ls:function(t,i,n,s,e){var r=this.options.delimiters;return this.options.delimiters=e,this.b(this.ct(u(t.call(i,s)),i,n)),this.options.delimiters=r,!1},ct:function(t,i,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(t,this.options).render(i,n)},b:function(t){this.buf+=t},fl:function(){var t=this.buf;return this.buf="",t},ms:function(t,i,n,s,e,r,h){var o,u=i[i.length-1],a=t.call(u);return"function"==typeof a?!!s||(o=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(a,u,n,o.substring(e,r),h)):a},mv:function(t,i,n){var s=i[i.length-1],e=t.call(s);return"function"==typeof e?this.ct(u(e.call(s)),s,n):e},sub:function(t,i,n,s){var e=this.subs[t];e&&(this.activeSub=t,e(i,n,this,s),this.activeSub=!1)}};var n=/&/g,s=/</g,e=/>/g,r=/\'/g,h=/\"/g,o=/[&<>\"\']/;function u(t){return String(null==t?"":t)}var a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}}(i)},cXla:function(t,i,n){(t.exports=n("I1BE")(!1)).push([t.i,".yvp-playlist-icon-wrapper{position:absolute;left:0;height:100%;width:24px;background:rgba(0,0,0,.7)}.yvp-playlist-icon-wrapper .yvp-playlist-icon.item{position:absolute;top:50%;margin-top:-7px;left:5px}.yvp-playlist-icon{display:inline-block;vertical-align:top;width:14px;height:14px}.yvp-playlist-icon.item{opacity:1;margin-right:5px}.yvp-playlist-item-watched{display:none;width:126px;top:0;position:absolute;height:70px;text-align:center;vertical-align:center;background:rgba(18,23,23,.75)}.yvp-playlist-item-watched.yvp-show{display:block}.yvp-playlist-item-watched.yvp-hide{display:none}.yvp-watched{font-size:11px;overflow:hidden;color:#9ea2af;font-style:italic;font-family:Helvetica Neue,Helvetica,helvetica,arial,sans-serif;line-height:16px;white-space:normal;text-overflow:ellipsis;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}",""])},caRl:function(t,i,n){"use strict";t.exports=s;function s(){}s.prototype.initSegment=function(t,i){var n=this.ftyp(i),s=this.moov(t),e=new Uint8Array(n.byteLength+s.byteLength);return e.set(n),e.set(s,n.byteLength),e},s.prototype.ftyp=function(t){t=t||"avc1";var i=new Uint8Array([105,115,111,109]),n=new Uint8Array([0,0,0,1]),s=new Uint8Array([t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);return this.EG("ftyp",[i,n,s])},s.prototype.moov=function(t){var i=[];i.push(this.OG(t[0].config.duration,t[0].config.timescale));for(var n=0;n<t.length;n++)i.push(this.AG(t[n]));return i.push(this._G(t)),this.EG("moov",i)},s.prototype.moof=function(t,i){var n=[];n.push(this.TG(t));for(var s=0;s<i.length;s++){var e=this.MG(i[s]);n.push(e)}return this.EG("moof",n)},s.prototype.mdat=function(t){var i=[];if(t&&t.frames)for(var n=0;n<t.frames.length;n++)i.push(t.frames[n].data);return this.EG("mdat",i)},s.prototype.TG=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t),this.IG("mfhd",0,new Uint8Array(3),[i])},s.prototype.MG=function(t){if(t){var i,n,s=[],e=32,r=this.jG(t);return e+=r.length,s.push(r),t.frames&&t.frames.length&&(e+=(i=this.NG(t.frames[0].dts)).length,s.push(i)),"video"===t.type&&(e+=(n=this.RG(t)).length),s.push(this.kG(t,e)),n&&s.push(n),this.EG("traf",s)}},s.prototype.jG=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t.streamId),this.IG("tfhd",0,new Uint8Array([0,0,0]),[i])},s.prototype.NG=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,Math.max(0,t)),this.IG("tfdt",0,new Uint8Array([0,0,0]),[i])},s.prototype.kG=function(t,i){var n=t.frames||[],s=n.length,e=this.LG(n),r=0,h=e[1],o=0;for(o=0;o<4;o++)r+=h&1<<o?1:0;var u=new Uint8Array(4*r*s),a=new DataView(u.buffer);i+=20+u.length+8;var c=this.DG(s,i),f=0;for(o=0;o<s;o++){var l=n[o];if(1&h&&(a.setUint32(f,l.duration),f+=4),2&h&&(a.setUint32(f,l.size),f+=4),4&h){var v=(l.flags.isLeading<<2|l.flags.dependsOn)<<24|(l.flags.isDependedOn<<6|l.flags.hasRedundancy<<4|l.flags.paddingValue<<1|l.flags.isNonSyncSample)<<16|(240&l.flags.degradationPriority)<<8|15&l.flags.degradationPriority;a.setUint32(f,v),f+=4}8&h&&(a.setUint32(f,l.pts-l.dts),f+=4)}return this.IG("trun",0,e,[c,u])},s.prototype.RG=function(t){for(var i=t.frames||[],n=i.length,s=new Uint8Array(n),e=0;e<n;e++){var r=i[e];r.flags&&(s[e]=r.flags.isLeading<<6|r.flags.dependsOn<<4|r.flags.isDependedOn<<2|r.flags.hasRedundancy)}return this.IG("sdtp",0,new Uint8Array(3),[s])},s.prototype.DG=function(t,i){var n=new Uint8Array(8),s=new DataView(n.buffer);return s.setUint32(0,t),s.setInt32(4,i),n},s.prototype.LG=function(t){var i=t.length,n=new Uint8Array(3);return n[2]=1,i&&(void 0!==t[0].duration&&(n[1]|=1),void 0!==t[0].size&&(n[1]|=2),void 0!==t[0].flags&&(n[1]|=4),void 0!==t[0].pts&&(n[1]|=8)),n},s.prototype.OG=function(t,i){var n=new Uint8Array(96),s=new DataView(n.buffer);s.setUint32(0,1),s.setUint32(4,2);var e=i||9e4;return s.setUint32(8,e),t&&s.setUint32(12,t),s.setUint32(16,65536),s.setUint16(20,256),s.setUint32(32,65536),s.setUint32(48,65536),s.setUint32(64,1073741824),s.setUint32(92,4294967295),this.IG("mvhd",0,new Uint8Array(3),[n])},s.prototype.AG=function(t){t.config.duration=t.config.duration||4294967295;var i=[this.CG(t)];return t.config.useEditBox&&i.push(this.PG(t)),i.push(this.xG(t)),this.EG("trak",i)},s.prototype.CG=function(t){var i=new Uint8Array(80),n=new DataView(i.buffer);return n.setUint32(8,t.streamId),n.setUint32(16,t.config.duration),n.setUint8(32,"audio"===t.type?1:0),n.setUint32(36,65536),n.setUint32(52,65536),n.setUint32(68,1073741824),n.setUint16(72,t.config.width),n.setUint16(76,t.config.height),this.IG("tkhd",0,new Uint8Array([0,0,7]),[i])},s.prototype.PG=function(t){return this.EG("edts",[this.UG(t)])},s.prototype.UG=function(t){var i=new Uint8Array(16),n=new DataView(i.buffer);return n.setUint32(0,1),n.setUint32(4,0),n.setUint32(8,t.config.offset),n.setUint16(12,1),n.setUint16(14,0),this.IG("elst",0,new Uint8Array(3),[i])},s.prototype.xG=function(t){return this.EG("mdia",[this.VG(t),this.BG(t.type),this.FG(t)])},s.prototype.VG=function(t){var i=new Uint8Array(20),n=new DataView(i.buffer);n.setUint32(0,2),n.setUint32(4,3);var s=t.config.timescale||9e4;return n.setUint32(8,s),n.setUint32(12,t.config.duration),n.setUint16(16,21956),this.IG("mdhd",0,new Uint8Array(3),[i])},s.prototype.BG=function(t){var i={video:1986618469,audio:1936684398,hint:1751740020},n=new Uint8Array(32),s=new DataView(n.buffer);return s.setUint32(4,i[t]),s.setUint32(20,i[t]),s.setUint32(24,1214344804),s.setUint32(28,1818587648),this.IG("hdlr",0,new Uint8Array(3),[n])},s.prototype.FG=function(t){var i="audio"===t.type?this.zG():this.HG();return this.EG("minf",[i,this.YG(),this.GG(t)])},s.prototype.HG=function(){var t=new Uint8Array(8);return this.IG("vmhd",0,new Uint8Array([0,0,1]),[t])},s.prototype.zG=function(){var t=new Uint8Array(4);return this.IG("smhd",0,new Uint8Array(3),[t])},s.prototype.YG=function(){return this.EG("dinf",[this.WG()])},s.prototype.WG=function(){var t=new Uint8Array([0,0,0,1]),i=[];return i.push(t),i.push(this.qG(new Uint8Array([0,0,1]))),this.IG("dref",0,new Uint8Array(3),i)},s.prototype.qG=function(t){return this.IG("url ",0,t,[])},s.prototype.XG=function(t){return this.IG("urn ",0,t,[])},s.prototype.GG=function(t){return this.EG("stbl",[this.QG(t),this.ZG(),this.JG(),this.KG(),this.$G()])},s.prototype.QG=function(t){var i="audio"===t.type?this.tW(t):this.iW(t),n=new Uint8Array([0,0,0,1]);return this.IG("stsd",0,new Uint8Array(3),[n,i])},s.prototype.iW=function(t){var i=[];i.push((65280&t.config.ppsLength)>>>8),i.push(255&t.config.ppsLength);try{t.config.ppsLength>0&&(i=i.concat(Array.prototype.slice.call(t.config.pps)))}catch(t){}var n=[];n.push((65280&t.config.spsLength)>>>8),n.push(255&t.config.spsLength);try{t.config.spsLength>0&&(n=n.concat(Array.prototype.slice.call(t.config.sps)))}catch(t){}var s=new Uint8Array(78),e=new DataView(s.buffer);return e.setUint16(6,1),e.setUint16(24,t.config.width),e.setUint16(26,t.config.height),e.setUint32(28,4718592),e.setUint32(32,4718592),e.setUint16(40,1),e.setUint32(42,259613032),e.setUint32(46,1869557110),e.setUint32(50,1768187247),e.setUint32(54,761818227),e.setUint16(74,24),e.setUint16(76,65535),this.EG("avc1",[s,this.EG("avcC",[new Uint8Array([1,t.config.profileIndication,t.config.profileCompatibility,t.config.levelIndication,255].concat([255&t.config.numOfSPS|224]).concat(n).concat([255&t.config.numOfPPS]).concat(i))]),this.nW()])},s.prototype.nW=function(){var t=new Uint8Array(12);return new DataView(t.buffer).setUint32(0,1875072),this.EG("btrt",[t])},s.prototype.tW=function(t){var i=new Uint8Array(8),n=new DataView(i.buffer);n.setUint16(6,1);var s=new Uint8Array(20);return(n=new DataView(s.buffer)).setUint16(8,t.config.channels),n.setUint16(10,t.config.sampleSize),n.setUint16(16,t.config.samplingFreq),this.EG("mp4a",[i,s,this.sW(t)])},s.prototype.sW=function(t){var i=new Uint8Array(27),n=new DataView(i.buffer);return n.setUint8(0,3),n.setUint8(1,25),n.setUint8(5,4),n.setUint8(6,17),n.setUint8(7,64),n.setUint8(8,21),n.setUint16(10,1536),n.setUint8(20,5),n.setUint8(21,2),n.setUint8(22,t.config.audioObjectTypeIndex<<3|t.config.samplingFreqIndex>>>1),n.setUint8(23,t.config.samplingFreqIndex<<7|t.config.channels<<3),n.setUint8(24,6),n.setUint8(25,1),n.setUint8(26,2),this.IG("esds",0,new Uint8Array(3),[i])},s.prototype.ZG=function(){var t=new Uint8Array(4);return this.IG("stts",0,new Uint8Array(3),[t])},s.prototype.JG=function(){var t=new Uint8Array(4);return this.IG("stsc",0,new Uint8Array(3),[t])},s.prototype.KG=function(){var t=new Uint8Array(8);return this.IG("stsz",0,new Uint8Array(3),[t])},s.prototype.$G=function(){var t=new Uint8Array(4);return this.IG("stco",0,new Uint8Array(3),[t])},s.prototype._G=function(t){for(var i=[],n=0;n<t.length;n++)i.push(this.eW(t[n]));return this.EG("mvex",i)},s.prototype.eW=function(t){var i=new Uint8Array(20),n=new DataView(i.buffer);return n.setUint32(0,t.streamId),n.setUint32(4,1),n.setUint32(16,65537),"video"!==t.type&&(i[i.length-1]=0),this.IG("trex",0,new Uint8Array(3),[i])},s.prototype.IG=function(t,i,n,s){var e=new Uint8Array(1);e[0]=i;var r=[e,n];return r=r.concat(s),this.EG(t,r)},s.prototype.EG=function(t,i){var n=0,s=new Uint8Array([t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]),e=0,r=0;for(r=0;r<i.length;r++)e+=i[r].length;var h=new Uint8Array(e+8);for(new DataView(h.buffer,h.byteOffset,h.byteLength).setUint32(0,h.byteLength),h.set(s,4),n=8,r=0;r<i.length;r++)h.set(i[r],n),n+=i[r].length;return h}},canP:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("WSjl"),e=n("+Ojf"),r=function(){function t(){this.mute=!1,this.volume=.5,this.ad=null,this.state=s.States.INIT,this.paused=!1,this.seeking=!1,this.loading=!0,this.criticalError=null,this.previousItem=null,this.looped=!1,this.loadedItem=null,this.loadedAdBreakItem=null,this.rendererType=null,this.hasStartedPlayback=!1,this.hasCurrentItemPlayed=!1,this.hasRendererPlayCalled=!1,this.rW=null,this.shouldPlay=!0}return Object.defineProperty(t.prototype,"playingItem",{get:function(){return this.hW},set:function(t){this.hW=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.wM},set:function(t){this.wM=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentRawTime",{get:function(){return this.oW},set:function(t){this.oW=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.bH},set:function(t){this.bH=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackMode",{get:function(){return e.default.getPlaybackMode(this.hW)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentMediaType",{get:function(){return this.rW},set:function(t){this.rW=t},enumerable:!0,configurable:!0}),t.prototype.attemptingPlayback=function(){return this.isVideoPlaying()||this.state===s.States.WAITING},t.prototype.isVideoPlaying=function(){return this.videoSet()&&!this.paused},t.prototype.videoSet=function(){return this.state===s.States.VIDEO},t.prototype.isOnCriticalError=function(){return!(this.state!==s.States.END||!this.criticalError)},t.prototype.isInitializing=function(){return this.state===s.States.INIT||this.state===s.States.WAITING},t.prototype.videoLoading=function(){return this.videoSet()&&this.loading},t.prototype.isAdPlaying=function(){return!(!this.videoSet()||!this.ad)},t}();i.default=r},dK7O:function(t,i,n){"use strict";t.exports=a;var s=n("/iNa"),e=n("yvII").Events,r=n("2fkz"),h=r.Command,o=r.CmdNames,u=r.CmdEvents;function a(t,i){if(!(t&&t.stream&&t.stream.url&&t.controller))throw new Error("Invalid argument: data argument of the command is not complete");h.call(this,t,i),this.name=o.CMD_STREAM_LOAD,this.zD=t.controller.services.getNewLoader(t.retryOpts,t.stream.url)}s.inherits(a,h),a.prototype.destroy=function(){this.zD.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.stream.url;t.zD.addEventListener(e.COMPLETE,(function(n){t.publish(u.CMD_COMPLETE,t,{data:n.data,headers:n.headers,streamUrl:i,stream:t.data.stream})}),t),t.zD.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.zD.load(i)},a.prototype.cancel=function(){}},dgSz:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("v5jO"),h=n("fLR+"),o=n("+Ojf"),u=n("oYNg"),a=n("u8By"),c=n("UDn2"),f=n("YMIh"),l=n("heKF"),v=n("lYNO"),d=n("Mkxr"),p=n("Ru0y"),m=n("pBvk").Validator,b={id:"",mimetype:c.MediaItemMimeType.UPLYNK,metadata:{description:"",duration:0,title:"",thumbnail:"",type:c.MediaItemType.VOD,videoTypes:[]},source:{},customConfig:null,adConfig:null,useVrmAds:!1},y=function(t){function i(i,n,s,e){var r=t.call(this)||this;return r.adConfigPrefetched=!1,r.state=c.ItemState.NO_DATA,r.sourceState=c.SourceState.NO_DATA,r.recoveryStatus=c.ItemRecoveryStatus.NOT_RECOVERING,r.tryCount=1,r.failoverCount=0,r.isCCAvailable=!1,r.languages=[],r.altStreams=[],r.streamProfiles=[],r.blockAutoplay=!1,r.adBreaks=[],r.useVrmAds=!1,r.uW=0,r.DR=[],r.aW=NaN,r.cW=o.default.deepCopy(i),r.build(i,n,s,e),r}return e(i,t),i.createKey=function(t,i){return t+"#"+i},i.normalizeKey=function(t){t.id||(t.id=o.default.generateGuid()),t.mimetype||(t.mimetype=c.MediaItemMimeType.CONTAINER)},Object.defineProperty(i.prototype,"key",{get:function(){return this.aY},enumerable:!0,configurable:!0}),i.prototype.hasStreams=function(){return 0!==this.DR.length},i.prototype.equals=function(t){return!!t&&this.key===t.key},i.prototype.getPlayableItemType=function(){return f.PlayableItemType.MEDIA_ITEM},i.prototype.getDuration=function(){return this.duration},i.prototype.setDuration=function(t){this.duration=t},i.prototype.isRecovering=function(){return this.recoveryStatus===c.ItemRecoveryStatus.RECOVERING},i.prototype.isConsistentMetadata=function(){return!this.hasLiveStreams()||!this.hasLiveStateForVod()},i.prototype.getStreamType=function(){return this.metadata&&this.metadata.type||c.MediaItemType.VOD},i.prototype.getMarkers=function(){return this.customConfig&&this.customConfig.meta&&this.customConfig.meta.videoMarkers?this.customConfig.meta.videoMarkers.markers:null},i.prototype.isLive=function(){return!!this.hasLiveStreams()},i.prototype.is360Video=function(){var t=this.metadata?this.metadata.videoTypes:null;return!(!t||!t.length)&&-1!==t.indexOf(c.VIDEO_TYPE.THREE_SIXTY)},i.prototype.build=function(t,i,n,s){t&&(this.XI=n,this.QI=s,this.fW=o.default.deepCopy(t),this._h(t),t.source&&t.source.streams&&this.lW(t.source.streams,i,s),t.adBreaks&&this.vW(t.adBreaks,n,s))},i.prototype.hasNativeAd=function(){return!!this.isContainer()&&!(!this.adBreaks||!this.adBreaks.length||this.adBreaks[0].type!==a.AdBreakType.NATIVE)},i.prototype.isContainer=function(){return this.metadata&&this.metadata.type===c.MediaItemType.CONTAINER},i.prototype.getRawDuration=function(){return this.aW},i.prototype.setRawDuration=function(t){this.aW=t},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return this.fW},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"description",{get:function(){return this.metadata?this.metadata.description:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"duration",{get:function(){return this.metadata&&h.isNumber(this.metadata.duration)?this.metadata.duration:NaN},set:function(t){this.metadata&&(this.metadata.duration=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"shareUrl",{get:function(){return this.metadata&&h.isString(this.metadata.shareUrl)?this.metadata.shareUrl:""},set:function(t){this.metadata&&(this.metadata.shareUrl=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"title",{get:function(){return this.metadata?this.metadata.title:void 0},set:function(t){this.metadata&&(this.metadata.title=t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"posterUrl",{get:function(){return this.metadata?this.metadata.posterUrl:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"thumbnail",{get:function(){return this.metadata?this.metadata.thumbnail:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return this.uW},set:function(t){this.uW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"refPlaybackId",{get:function(){return this.aY+"#"+this.videoSession},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"samplingId",{get:function(){return this.dW},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.DR},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"visualSeekData",{get:function(){return this.pW},set:function(t){this.pW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"brandingData",{get:function(){return this.mW},set:function(t){this.mW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"viewCount",{get:function(){return this.metadata&&!isNaN(this.metadata.viewCount)?this.metadata.viewCount:NaN},enumerable:!0,configurable:!0}),i.prototype.updateAdBreak=function(t,i,n){var s=this,e=null;return this.adBreaks.forEach((function(r,h){t.adBreakId===r.adBreakId&&(e=new u.default(s,t,i,n),s.adBreaks[h]=e)})),e},i.prototype.removeAdBreaks=function(t){var i=this;if(Array.isArray(t)){t.forEach((function(t){var n,s,e=(n=t.adBreakId,i.adBreaks.some((function(t,i){return t.adBreakId===n?(s=i,!0):(s=-1,!1)})),s);-1!==e&&i.adBreaks.splice(e,1)}))}},i.prototype.addAdBreaks=function(t){var i=this;if(Array.isArray(t)){t.forEach((function(t){if(s=t.adBreakId,!i.adBreaks.some((function(t){return t.adBreakId===s}))){var n=new u.default(i,t,i.XI,i.QI);i.adBreaks.push(n)}var s}))}},i.prototype.getRecoveryStatusForBeacon=function(){var t=this.recoveryStatus===c.ItemRecoveryStatus.RECOVERED;return t&&(this.recoveryStatus=c.ItemRecoveryStatus.NOT_RECOVERING),t},i.prototype.fetchFinished=function(){return this.state===c.ItemState.HAS_DATA||this.state===c.ItemState.ERROR},i.prototype.isLongForm=function(){return!(!this.metadata||!this.metadata.duration)&&this.metadata.duration>600},i.prototype.restartIfNeeded=function(){this.position+10>this.duration&&(this.position=0)},i.prototype.getCDN=function(){return this.DR.length>0?this.DR[0].cdn:null},i.prototype.hasLiveStreams=function(){for(var t=0,i=this.DR;t<i.length;t++){if(i[t].live)return!0}return!1},i.prototype.hasLiveStateForVod=function(){return!1},i.prototype.hasThumbnail=function(){var t=this.metadata&&this.metadata.thumbnail;return void 0!==t&&t.length>0},i.prototype.generateVSid=function(){for(var t=[],i="abcdefghijklmnopqrstuvwxyz123456789",n=0;n<8;n++)t.push(i.charAt(Math.floor(Math.random()*i.length)));return t.join("")},i.prototype.generateSamplingId=function(){return Math.floor(10*Math.random())},i.prototype.getType=function(){return this.hasStreams()?this.DR[0].getType():"none"},i.prototype.getStreamProtocol=function(){return this.hasStreams()?this.DR[0].streamProtocol:"none"},i.prototype.getSubtitleStreams=function(){return this.altStreams.filter((function(t){return"SUBTITLES"===t.type}))},i.prototype.mayUpdateVideoSession=function(){this.bW||this.yW()},i.prototype.useVideoSession=function(){this.bW=!1},i.prototype.setCCAvailability=function(t){h.isBoolean(t)&&(this.isCCAvailable=t)},i.prototype.setMultiLanguages=function(t){this.languages=t},i.prototype.getMultiLanguages=function(){return this.languages},i.prototype.setCurrLanguage=function(t){if(this.languages&&this.languages.length)for(var i=0,n=this.languages;i<n.length;i++){var s=n[i];s.name===t?(this.gW=s,s.selected=!0):s.selected=!1}},i.prototype.getCurrLanguage=function(){return this.gW},i.prototype.getCurrentAudioLanguage=function(){if(!this.isMultiAudioAvailable())return null;var t=this.languages||[];return(t=t.filter((function(t){return!!t.selected}))).length?t[0].name:null},i.prototype.isMultiAudioAvailable=function(){return Array.isArray(this.languages)&&this.languages.length>=2},i.prototype.updateVideoSession=function(){this.videoSession=this.generateVSid(),this.bW=!0,this.dW=this.generateSamplingId()},i.prototype.getAspectRatio=function(){return this.DR.length>0?this.DR[0].aspectRatio:null},i.prototype.vW=function(t,i,n){var s=this;this.adBreaks=t.map((function(t){return new u.default(s,t,i,n)}))},i.prototype._h=function(t){this.l_(t);var n=o.default.deepCopy(t);n=o.default.mergeObjects(n,b),o.default.mergeObjects(this,n,!0),o.default.mergeObjects(this,this.cW,!0),this.aY=i.createKey(this.id,this.mimetype)},i.prototype.l_=function(t){try{var i=new m;i.addSchema(d.streamSchema,"/streamSchema"),i.addSchema(v.sourceSchema,"/sourceSchema"),i.validate(t,l.mediaItemSchema,{throwError:!0})}catch(t){var n="Invalid media item config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.lW=function(t,i,n){var s=this;if(t&&t.length){this.DR=[];for(var e=t.map((function(t){return Object.prototype.hasOwnProperty.call(t,"live")||(t.live=s.metadata&&(s.metadata.type===c.MediaItemType.LIVE_CHANNEL||s.metadata.type===c.MediaItemType.LIVE_EVENT)),new p.default(t)})),h=0,o=i;h<o.length;h++){var u=o[h],a=n[u];if(!(this.is360Video()&&!a.is360Renderer||!this.is360Video()&&a.is360Renderer)){var f=r.default.findAcceptedStreams(e,a);if(0!==f.length){this.rendererType=u,this.DR=f;break}}}this.DR.length>0&&this.DR.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i.prototype.yW=function(){this.updateVideoSession(),this.wW()},i.prototype.wW=function(){this.setSourceState(c.SourceState.NO_DATA)},i}(f.PlayableItem);i.default=y},ds4h:function(t,i,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},"e/9d":function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ccs-listitem' data-item-type='"),s.b(s.v(s.f("itemContent",t,i,0))),s.b("' >"),s.b("\n"+n),s.b("    <div class='vp-ccs-checkmark'></div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.f("itemContent",t,i,0))),s.b("</div>"),s.b("\n"+n),s.s(s.f("valueRequired",t,i,1),t,i,0,191,262,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-value' tabindex='0'>"),s.b(s.v(s.f("valueContent",t,i,0))),s.b("</div>"),s.b("\n"+n)})),t.pop()),s.s(s.f("caratRequired",t,i,1),t,i,0,303,356,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n)})),t.pop()),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},eU8N:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.hL=document.createElement("canvas"),this.SW=this.hL.getContext("2d"),this.hL.setAttribute("width","80"),this.hL.setAttribute("height","80"),this.hL.classList.add("vp-360-pie"),t.appendChild(this.hL),this.EW=1}return t.prototype.render=function(){this.OW()},t.prototype.addClickListener=function(t){this.AW=function(i){i.preventDefault(),i.stopPropagation(),t&&t()},this._W=function(t){t.preventDefault(),t.stopPropagation()},this.hL.addEventListener("click",this.AW,!1),this.hL.addEventListener("mousedown",this._W,!1),this.hL.addEventListener("mouseup",this._W,!1)},t.prototype.update=function(t){var i=t%360;i<0&&(i=360+i),i*=-1,this.EW=i/90+Math.PI/4-3.79,this.OW()},t.prototype.destroy=function(){this.hL.removeEventListener("click",this.AW,!1),this.hL.removeEventListener("mousedown",this._W,!1),this.hL.removeEventListener("mouseup",this._W,!1),this.hL.parentNode&&this.hL.parentNode.removeChild(this.hL)},t.prototype.OW=function(){var t=this.SW;if(t){t.clearRect(0,0,80,80),t.beginPath(),t.arc(40,40,28,0,2*Math.PI),t.shadowColor="rgba(18, 23, 23, 0.5)",t.shadowBlur=10,t.lineWidth=4,t.strokeStyle="#fff",t.stroke(),t.beginPath(),t.arc(40,3,2,0,2*Math.PI),t.fillStyle="#fff",t.fill();var i=-.5*Math.PI*this.EW;t.beginPath(),t.arc(40,40,28,Math.PI/4+i,-Math.PI/4+i,!0),t.lineTo(40,40),t.fillStyle="rgba(255, 255, 255, 0.6)",t.fill()}},t}();i.default=s},eapS:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uiSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/uiSchema",type:"object",properties:{ccOnMute:{type:"boolean"},chromeless:{type:"boolean"},docking:{type:"object",properties:{enableOnMuted:{type:"boolean"},enableOnScrollDown:{type:"boolean"},enableOnScrollUp:{type:"boolean"},fadeInAnimation:{type:"boolean"},closeButtonFadeIn:{type:"boolean"},height:{type:"number"},position:{type:"object",properties:{bottom:{type:"number"},left:{type:"number"},right:{type:"number"},top:{type:"number"}}},showInfoCard:{type:"boolean"},threshold:{type:"number"},width:{type:"number"}}},endScreen:{type:"object",properties:{show:{type:"boolean"}}},playlist:{type:"object",properties:{inStream:{type:"boolean"},show:{type:"boolean"},position:{type:"string",enum:["right","bottom","hidden"]},theme:{type:"string",enum:["dark","light"]}}},showControls:{type:"boolean"},showFullscreenButton:{type:"boolean"},startScreen:{type:"object",properties:{show:{type:"boolean"},showButton:{type:"boolean"},showDescription:{type:"boolean"},showProvider:{type:"boolean"},showTitle:{type:"boolean"}}},seekControls:{type:"object",properties:{show:{type:"boolean"},offset:{type:"number",maximum:99,minimum:0}}},title:{type:"object",properties:{showOnHover:{type:"boolean"},showOnStart:{type:"string"}}}}}},ecni:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=function(){function t(){this.name="SapiVisualSeek",this.version="8.1.398",this.type=s.Plugin.PluginType.VISUAL_SEEK,this.visualSeekType=s.Plugin.VisualSeekType.SPRITE,this.mimetype="visualseek/sapi",this.MC={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.MC={}},t.prototype.canSeek=function(t){return t&&!(!this.MC[t]||!this.MC[t].visualSeek)||!1},t.prototype.update=function(t,i){var n=this.MC[t]||{};n.visualSeek=i&&i.visualSeek||n.visualSeek,this.MC[t]=n},t.prototype.getThumbnailData=function(t,i){var n=this.MC[t]&&this.MC[t].visualSeek;if(!(n&&n.width&&n.height&&n.frequency&&n.images))return null;var s=Math.ceil(Math.floor(i)/n.frequency),e=this.TI(n.images,s);return e?{index:s,isAd:!1,url:e,width:n.width,height:n.height}:null},t.prototype.TI=function(t,i){for(var n=0,s=t;n<s.length;n++){var e=s[n],r=e.start_index,h=e.count,o=e.url;if(r<=i&&i-r<h)return o}return null},t}();i.default=e},eeAi:function(t,i,n){"use strict";t.exports.Fmp4SubtitleStreamer=a,t.exports.Fmp4SubtitleLiveStreamer=c;var s=n("/iNa"),e=n("rdAy").Fmp4Streamer,r=n("rdAy").Fmp4LiveStreamer,h=n("STAJ"),o=n("9nRl"),u=n("y5bh").HLSEvent;function a(t){e.call(this,t),this.KI()}function c(t){r.call(this,t),this.KI()}s.inherits(a,e),s.inherits(c,r),a.prototype.destroy=function(){this.oF=null,this.QL="",e.prototype.destroy.call(this)},c.prototype.destroy=function(){this.oF=null,this.QL="",r.prototype.destroy.call(this)},c.prototype.KI=a.prototype.KI=function(){this.qA="subtitle",this.oF=new h,this.TW()},c.prototype.oO=a.prototype.oO=function(t){this.TW(),e.prototype.oO.call(this,t)},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i){var n=this,s=n.sE;if(i&&s&&s.timescale){var e=i.stream;if((!e||s.equals(e))&&"firstByte"!==i.position){var r=n.oF.extractVttCaptions(i.data);if(r.length){var h=n.oF.parse(i.data,"trun"),o=h?h.sampleData:[];if(o.length===r.length){var u=n.oF.parse(i.data,"tfdt"),a=u?u.baseMediaDecodeTime:0,c=a=1e3*a/s.timescale;r.forEach((function(t,i){var e=o[i],r=e?1e3*e.sampleDuration/s.timescale:0;if(t.cueText){var h=n.MW(t.cueTime)+a,u=null!==h?h+r:c+r;n.QL+="\n"+n.IW(h)+" --\x3e "+n.IW(u),n.QL+="\n"+t.cueText+"\n"}c+=r})),n.QL+="\n"}}}}},c.prototype.onSegmentLoadComplete=a.prototype.onSegmentLoadComplete=function(t,i){var n=this.sE;if(n){var s=n.getSegmentfromSeqNum(this.pE);s&&this.__controller.sendEvent(u.VTT_SEGMENT_LOADED,this.vI(s))}this.GA.onSegmentLoadComplete.call(this,t,i),this.QL=""},c.prototype.TW=a.prototype.TW=function(){this.QL="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n"},c.prototype.MW=a.prototype.MW=function(t){var i=null;if(!t)return i;var n=t.split(":");if(n&&n.length>=3){var s=n[2].split("."),e=0,r=0;s&&s.length>=2&&(e=parseInt(s[0]),r=parseInt(s[1])),i=1e3*(3600*n[0]+60*n[1]+e)+r}return i},c.prototype.IW=a.prototype.IW=function(t){var i="";if(o.isNullOrUndefined(t))return i;function n(t){return t<10?"0"+t:""+t}var s=Math.floor(t/1e3),e=Math.floor(t-1e3*s),r=Math.floor(s/3600);s-=3600*r;var h,u=Math.floor(s/60);return s-=60*u,i=n(r)+":"+n(u)+":"+n(s)+"."+((h=e)<10?"00"+h:h<100?"0"+h:""+h)},c.prototype.vI=a.prototype.vI=function(t){var i={};return t&&(i.discontinuity=t.discontinuity,i.sequenceNum=t.seqNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.url=t.url,i.duration=t.duration,i.clockReference=0,i.localCueTime=0,i.mpegTSTime=0,i.data=this.QL,i.offset=0,i.adjustedTime=0),i},c.prototype.aO=a.prototype.aO=function(){},c.prototype.jW=a.prototype.jW=function(t){this.sE.activeInitSegment=t},c.prototype.NW=a.prototype.NW=function(){}},ek6g:function(t,i){},"fLR+":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ma23"),e=n("rBpt"),r=e.TypeChecker.isArray;i.isArray=r;var h=e.TypeChecker.isBoolean;i.isBoolean=h;var o=e.TypeChecker.isFunction;i.isFunction=o;var u=e.TypeChecker.isNullOrUndefined;i.isNullOrUndefined=u;var a=e.TypeChecker.isNumber;i.isNumber=a;var c=e.TypeChecker.isString;i.isString=c;var f=e.TypeChecker.isObject;i.isObject=f;var l=e.TypeChecker.isNonEmptyString;function v(t){return!!t&&o(t.onPlayerEvent)}function d(t){return!!t&&((t.type===s.PluginType.METADATA||t.type===s.PluginType.SOURCE_METADATA||t.type===s.PluginType.AD||t.type===s.PluginType.VISUAL_SEEK||t.type===s.PluginType.BRANDING||t.type===s.PluginType.PLAYLIST)&&c(t.mimetype)&&c(t.version)&&o(t.prepare)&&o(t.destroy))}function p(t){return!!t&&o(t.addEventListener)&&o(t.removeEventListener)}function m(t){return p(t)&&["getCapabilities","preparePlayback","play","pause","seek","stop","skip","mute","isMuted","setVolume","getVolume","getCurrentTime","getDuration","unload"].every((function(i){return o(t[i])}))}function b(t){return!!t&&m(t)}function y(t){return!!t&&p(t)&&["setNonlinearAdContainer"].every((function(i){return o(t[i])}))}function g(t){return p(t)&&v(t)&&["canRenderUI","renderUI","unrenderUI"].every((function(i){return o(t[i])}))}function w(t){return!!t&&o(t.fetchAdBreaks)&&o(t.resolveAdBreak)&&p(t)}i.isNonEmptyString=l,i.isPlayerPluginEventListener=v,i.isPlugin=d,i.isEventDispatcher=p,i.isExternalPlayer=m,i.isAdPlayerAdPlugin=b,i.isAdOverlayRendererAdPlugin=y,i.isAdViewAdPlugin=g,i.isAdResolverAdPlugin=w,i.isAdPlugin=function(t){return!!t&&d(t)&&(w(t)||g(t)||b(t)||y(t))}},fcYp:function(t,i,n){"use strict";t.exports=o;var s=n("bfqm"),e=n("/iNa"),r=n("RwmF"),h=n("UbnH");function o(t){r.call(this,this.constructor.name),this.or=t,this.RW=this.__controller.create(s,t,this.kW.bind(this))}e.inherits(o,r),o.prototype.destroy=function(){this.RW.destroy(),r.prototype.destroy.call(this)},o.prototype.setSource=function(t){this.LW=t,this.zC()},o.prototype.zC=function(){var t=this;t.LW&&(t.LW.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.LW.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.LW.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},o.prototype.close=function(){this.RW.close()},o.prototype.append=function(t){this.RW.append(t)},o.prototype.endOfSegment=function(){this.RW.endOfSegment()},o.prototype.kW=function(t){var i;t&&(this.publish(h.DATA_PROCESS_PROGRESS,t),t.getParam&&(i=t.getParam("parsedInfo")),"end"===(i?i.position:t.position)&&this.publish(h.DATA_PROCESS_COMPLETE,t))}},frbn:function(t,i,n){"use strict";var s=n("9nRl");function e(t,i){this.QL=[],this.length=0,this.bT=t||Uint8Array,i&&this.set(i)}t.exports=e,e.prototype.destroy=function(){this.QL=[],this.length=0},e.prototype.set=function(t){this.QL.push(t),this.length=this.length+t.length},e.prototype.get=function(t){if(s.isNullOrUndefined(t)||t<0||t>this.length)throw new Error("[DataManager] Array position out of bounds");for(var i=0,n=0,e=null,r=0;r<this.QL.length;r++){var h=this.QL[r];if(t<(i+=h.length)){e=h[t-n];break}n+=h.length}return e},e.prototype.subArray=function(t,i){if((s.isNullOrUndefined(i)||i>this.length)&&(i=this.length),s.isNullOrUndefined(t)&&(t=0),t>=i)return new this.bT(0);for(var n=i-t,e=new this.bT(n),r=0,h=0,o=0,u=0;u<this.QL.length;u++){var a=this.QL[u];if(o+=a.length,r>0){if(i<=o){e.set(a.subarray(0,n-r),r);break}e.set(a.subarray(0),r),r+=a.length}else{if(t<o&&i<=o){e=a.subarray(t-h,i-h);break}if(t<o){var c=t-h;e.set(a.subarray(c)),r=a.length-c}}h+=a.length}return e}},g2LC:function(t,i){t.exports=function(t){var i=n.call(t);return"[object Function]"===i||"function"==typeof t&&"[object RegExp]"!==i||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var n=Object.prototype.toString},g6gz:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("8PPl"),r=n("+Ojf"),h="",o="";if("0.2.292".indexOf("local")>-1)o="https://assets.video.yahoo.net/builds/0.2.174/nielsen-iframe.html";else{o=(h="https://assets.video.yahoo.net")+"/builds/0.2.292/nielsen-iframe.html"}var u,a,c;i.NIELSEN_IAB_VENDOR_ID=373,function(t){t.linear="1",t.dynamic="2"}(u=i.NielsenAdType||(i.NielsenAdType={})),function(t){t.LOAD_METADATA="loadMetadata",t.SEND_ID3="sendID3",t.END="end"}(a=i.NielsenEvents||(i.NielsenEvents={})),function(t){t.INITIALIZE="initialize",t.SEND_BEACON="sendBeacon"}(c=i.IframeMessageType||(i.IframeMessageType={}));var f=function(){function t(t,i){this.S_=t,this.DW=null,this.PW="",this.xW=!1,this.UW=!1,this.VW=!1,this.BW=[],this.FW=!1,this.zW="",this.HW=!1,this.aL=[{evt:s.ExternalEvt.PLAYBACK_START,cb:this.YW.bind(this)},{evt:s.ExternalEvt.TIMED_METADATA_RECEIVED,cb:this.GW.bind(this)},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.WW.bind(this)},{evt:s.ExternalEvt.PLAYBACK_STOPPED,cb:this.WW.bind(this)},{evt:s.ExternalEvt.MEDIA_ITEM_ERROR,cb:this.WW.bind(this)}],this.qW="P77FED7E1-92A2-4B10-A9AA-16756377EB20",t&&(r.default.initIframeCmp(),this.xx(),this.PW="vp-player-"+Math.floor(1e4*Math.random()),i&&i.length&&(this.qW=i),this.XW(),this.TL={},this.QW(),this.ZW(),this.zW=this.S_.addEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.ZW.bind(this),this))}return t.prototype.destroy=function(){this.DW&&(this.S_.removeEventListeners(this.TL),window.removeEventListener("message",this.JW),this.DW=null,this.BW=null,this.TL={},this.S_.removeEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.zW))},t.prototype.ZW=function(){this.VW||(this.sy(),this.UW=!1,this.xW=!1,this.VW=!0)},t.prototype.KW=function(){this.VW&&(this.S_.removeEventListeners(this.TL),window.removeEventListener("beforeunload",this.WW.bind(this)),this.UW=!0,this.VW=!1)},t.prototype.XW=function(){var t=this;this.DW=document.getElementById("vp-nielsen-iframe"),this.DW?(this.$W(),this.FW=!0):(this.DW=document.createElement("iframe"),this.DW.id="vp-nielsen-iframe",this.DW.style.display="none",this.DW.onload=function(){t.$W(),t.FW=!0,t.HW&&t.dq()},this.DW.src=o,document.body.appendChild(this.DW))},t.prototype.$W=function(){this._q(c.INITIALIZE,null,{appid:this.qW})},t.prototype._q=function(t,i,n){if(this.DW&&this.DW.contentWindow){var s={messageType:t,nielsenEvent:i,payload:n,playerid:this.PW};this.DW.contentWindow.postMessage(s,h)}},t.prototype.sy=function(){var t=this;window.addEventListener("beforeunload",this.WW.bind(this)),this.aL.forEach((function(i){t.TL[i.evt]=t.S_.addEventListener(i.evt,i.cb,t)}))},t.prototype.QW=function(){window.addEventListener&&window.addEventListener("message",this.JW.bind(this))},t.prototype.JW=function(t){if(t.origin===h){var i=t.data&&t.data.messageType,n=t.data&&t.data.success||!1;if(i&&!n)return;i===c.SEND_BEACON&&n&&(this.xW=!0)}},t.prototype.tX=function(t,i){var n=this;this.BW.push((function(){n._q(c.SEND_BEACON,t,i)})),this.DW&&this.FW&&this.HW&&this.dq()},t.prototype.dq=function(){this.BW.forEach((function(t){t()})),this.BW=[]},t.prototype.YW=function(t){var i=this.S_.getCurrentMediaItem(),n=i&&i.id,s={type:"content",channelName:t&&t.brandingData&&t.brandingData.branding&&t.brandingData.branding.providerId?n+";"+t.brandingData.branding.providerId:n,adModel:u.linear};this.tX(a.LOAD_METADATA,s)},t.prototype.WW=function(){if(this.xW&&!this.UW){var t=Date.now()/1e3;this.tX(a.END,t),this.xW=!1,this.KW()}},t.prototype.GW=function(t){var i=r.default.detectRegexPattern(e.ID3_MATCH_PATTERN.NIELSEN,t);i&&this.xW&&this.tX(a.SEND_ID3,i)},t.prototype.xx=function(){var t=this;window.__cmp?window.__cmp&&window.__cmp("getVendorConsents",new Uint16Array([i.NIELSEN_IAB_VENDOR_ID]),(function(n,s){s&&(n&&!n.gdprApplies?t.HW=!0:n&&n.gdprApplies&&(t.HW=n.vendorConsents&&!!n.vendorConsents[i.NIELSEN_IAB_VENDOR_ID])),t.HW||t.KW()})):this.KW()},t}();i.default=f},gp5d:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.ALWAYS="always",t.TIMEBASED="timebased",t.NEVER="never"}(s=i.SkipOnError||(i.SkipOnError={})),i.defaultConfigs={adPlaybackOnly:!1,analytics:!0,autoplay:!1,casting:!0,continuousPlay:!1,enableRecovery:!0,fullscreen:!1,height:0,lang:"",loop:!1,mute:!1,preload:!0,region:"",site:"",skipOnError:s.NEVER,stopAtLastFrame:!1,stopBufferingOnPause:!1,liveUnloadOnPause:!0,enableDash:!1,ads:{timeout:{load:3,start:10},preferExternalPlayback:!0},ui:{ccOnMute:!1,chromeless:!1,docking:{enableOnMuted:!0,enableOnScrollDown:!1,enableOnScrollUp:!1,fadeInAnimation:!0,closeButtonFadeIn:!1,height:180,position:{bottom:20,left:-1,right:20,top:-1},showInfoCard:!0,threshold:50,width:320},endScreen:{show:!1},logos:{network:null,provider:null,rating:null},playlist:{inStream:!1,show:!1,position:"hidden",theme:"dark",mimetype:"playlist/simple",numberOfItems:12},seekControls:{show:!1,offset:10},showControls:!0,showFullscreenButton:!0,startScreen:{show:!0,showButton:!0,showDescription:!0,showProvider:!0,showTitle:!0},title:{showOnHover:!0,showOnStart:""}},backgroundPause:{onMute:!0,onUnmute:!1,timeToPause:5,suspendStreamingTime:20,backgroundSuspendStreaming:!0},volume:1,width:0,iframeRender:!1,pauseLiveVideo:!1,pauseVODVideo:!1,preloadBufferSize:32}},guzb:function(t,i,n){var s=n("sEG9");(t.exports=n("I1BE")(!1)).push([t.i,".vp-nfl-branding-container{width:100%;height:36px;position:relative;z-index:22;background:#011832;background:-moz-linear-gradient(left,#011832 0,#103155 40%,#011832 100%);background-image:-webkit-linear-gradient(left,#011832,#103155 40%,#011832);background-image:-o-linear-gradient(left,#011832 0,#103155 40%,#011832 100%);background-image:linear-gradient(left,#011832,#103155 40%,#011832);*background:#011832;white-space:nowrap}.vp-browser-mobile .vp-nfl-branding-container{height:52px}.vp-nfl-branding{margin:10px auto;display:inline-block;zoom:1;width:30%;height:100%}.vp-browser-mobile .vp-nfl-branding{margin:15px auto}.vp-nfl-branding-container .vp-nfl-brand{display:inline-block;height:100%;background-position:50%;margin-left:10px;background-repeat:no-repeat;background-size:100%}.vp-nfl-branding-container .vp-nfl-brand-span{background-image:url("+s(n("/jeC"))+");width:20px}.vp-browser-mobile .vp-nfl-branding-container .vp-nfl-brand-span{width:30px;height:30px}.vp-nfl-branding-container .vp-nfl-brand-logo{background-image:url("+s(n("svza"))+");width:110px}.vp-browser-mobile .vp-nfl-branding-container .vp-nfl-brand-logo{margin-left:50px;margin-top:2px;width:157px;height:20px}",""])},gvSP:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("r/m/"),e=n("H8YR"),r=n("A4+F");i.Events=r.ExternalEvt;var h=n("1LND");i.Playlist=h.default;var o=n("Lux/"),u=n("UDn2");i.MediaItemInterfaces=u;var a=n("ma23");i.Plugin=a;var c=n("mczr");i.RendererType=c.RendererType;var f=n("D1bo");i.Player=f.default;t.replaceVdmsPlayerSrc=function(t){var i=t.substring(t.lastIndexOf("/")+1),n=i.substring(0,i.indexOf("."));if(!t.includes("assets.video.yahoo.net"))return"/"+i;switch(n){case"vendors~three":return"https://assets.video.yahoo.net/three/THREE_VERSION/"+i;default:return t}},a.AdPluginEvent=o.AdPluginEvent,a.AdPluginPlaybackCapability=o.AdPluginPlaybackCapability,window.VDMS=window.VDMS||{},window.VDMS.Player=f.default,window.VDMS.Plugin=a,window.VDMS.Events=r.ExternalEvt;var l={VdmsAnalytics:e.default,VdmsAnalyticsModel:s.default};i.Analytics=l}).call(this,n("yLpj"))},h2IM:function(t,i,n){"use strict";t.exports=d;var s=n("9nRl"),e=n("/iNa"),r=n("RwmF"),h=n("UbnH"),o=n("STAJ"),u=n("3kti"),a=n("lPOR"),c=n("KtsB"),f=n("K+58"),l=n("Tavk").NAL_UNIT_TYPES,v=n("V66C").StreamTypes;function d(t){r.call(this,this.constructor.name),this.QL=null,this.or=t,this.iX=new u,this.oF=new o,this.yB=new f}e.inherits(d,r),d.prototype.destroy=function(){this.QL=null,this.oF.destroy(),this.yB.destroy(),r.prototype.destroy.call(this)},d.prototype.setSource=function(t){this.LW=t,this.zC()},d.prototype.zC=function(){var t=this;t.LW&&(t.LW.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.LW.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.LW.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},d.prototype.close=function(){this.QL=null},d.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.QL&&(s=(n=this.QL).length);var e=s+i;this.QL=new Uint8Array(e),n&&this.QL.set(n),this.QL.set(t,s),this.nX()}}},d.prototype.nX=function(){for(;this.QL&&this.QL.length>=8;){var t=this.QL.length,i=new DataView(this.QL.buffer),n=this.oF.parse(this.QL,"styp"),s=this.oF.parse(this.QL,"emsg"),e=this.oF.parse(this.QL,"moof"),r=this.oF.parse(this.QL,"ftyp"),o=this.oF.parse(this.QL,"moov");if(r&&o){this.or.userAgent.android&&this.sX();var u=[];r&&u.push(r),o&&u.push(o);var a=this.eX(u),c=this.rX(u),f=new Uint8Array(this.QL.buffer.slice(a,c));this.publish(h.DATA_PROCESS_PROGRESS,{position:"init",data:f}),this.QL.length>c?this.QL=new Uint8Array(this.QL.buffer.slice(c)):this.QL=null}else{if(!e)return;var l=this.oF.findBoxOffset(i,"mdat");if(l<0)return;var d=this.oF.parseHeader(i,"mdat",l),p=[];n&&p.push(n),s&&p.push(s),e&&p.push(e),d&&p.push(d);var m=this.eX(p),b=this.rX(p);if(t<b)return;var y=this.hX(),g=this.or.timescale,w=this.oX(),S=this.uX(),E=this.aX(w,y);if(this.or.dash){var O=Math.round(this.or.startTime*g),A=this.or.segDuration*g;S!==O&&(S=O,this.cX(S)),E!==A&&(this.fX(w,A),E=A)}var _=null;this.or.type!==v.MAIN&&this.or.type!==v.VIDEO||(_=this.lX(l,w,S,g));var T=new Uint8Array(this.QL.buffer.slice(m,b));this.uW="firstByte"===this.uW?"start":"middle",this.publish(h.DATA_PROCESS_PROGRESS,{position:this.uW,data:T,cea608TrackData:_,baseTime:S,defaultSampleDuration:y,totalDuration:E,samples:w.samples}),this.or.dash&&s&&this.vX(s),this.QL.length>b?this.QL=new Uint8Array(this.QL.buffer.slice(b)):this.QL=null}}},d.prototype.endOfSegment=function(){this.nX(),this.publish(h.DATA_PROCESS_COMPLETE)},d.prototype.eX=function(t){if(!t||!t.length)return 0;var i=Number.POSITIVE_INFINITY;return t.forEach((function(t){i=Math.min(i,t.boxOffset)})),i},d.prototype.rX=function(t){if(!t||!t.length)return 0;var i=0,n=t[0];return t.forEach((function(t){i<t.boxOffset&&(i=t.boxOffset,n=t)})),n.boxOffset+n.boxSize},d.prototype.uX=function(){var t=this.oF.parse(this.QL,"tfdt");return t?t.baseMediaDecodeTime:0},d.prototype.cX=function(t){this.oF.setSingleProp(this.QL,"tfdt",{name:"baseMediaDecodeTime",value:t,length:32})},d.prototype.fX=function(t,i){if(t&&t.totalDuration){var n=i-t.totalDuration,s=t.samples[t.samples.length-1].duration+n;s<0&&(s=0),this.oF.setSingleProp(this.QL,"trun",{name:"sampleDuration",value:s,length:32,pos:-1})}},d.prototype.hX=function(){var t=this.oF.parse(this.QL,"tfhd");return t&&t.defaultSampleDuration>0?t.defaultSampleDuration:0},d.prototype.aX=function(t,i){return t.totalDuration?t.totalDuration:t.samples.length*i},d.prototype.oX=function(){var t=[],i=0,n=this.oF.parse(this.QL,"trun");if(n&&n.sampleData)for(var e=n.sampleData.length,r=n.sampleData,h=0;h<e;h++){var o={};r[h].sampleDuration&&(o.duration=r[h].sampleDuration,i+=o.duration),r[h].sampleSize&&(o.size=r[h].sampleSize),r[h].sampleFlags&&(o.flags=r[h].sampleFlags),s.isNullOrUndefined(r[h].sampleCompositionTimeOffset)||(o.cto=r[h].sampleCompositionTimeOffset),t.push(o)}return{samples:t,totalDuration:i}},d.prototype.vX=function(t){if(t){var i=this.dX(t.presentationTimeDelta,t.timescale),n=t.message&&this.iX.extractID3FromMessage(t.message),s={payload:n&&this.iX.getID3Payload(n),timestamp:this.or.startTime+i},e=new c({type:a.MessageTypes.MESSAGE,id:a.MessageIds.TIMED_METADATA});e.putParam("timedMetadata",s),this.publish(h.DATA_PROCESS_PROGRESS,e)}},d.prototype.dX=function(t,i){return 0===i?0:t/i},d.prototype.sX=function(){var t=this.oF.parse(this.QL,"esds");if(t){var i=t.audioSpecificConfig0>>3,n=t.audioSpecificConfig0<<1&14|t.audioSpecificConfig1>>7&1,s=t.audioSpecificConfig1>>3&7;if(5===i){var e=(i=2)<<3|(14&n)>>1,r=(1&n)<<7|s<<3;this.oF.setSingleProp(this.QL,"esds",{name:"audioSpecificConfig0",value:e,length:8}),this.oF.setSingleProp(this.QL,"esds",{name:"audioSpecificConfig1",value:r,length:8}),this.oF.setSingleProp(this.QL,"esds",{name:"audioSpecificConfig2",value:0,length:8}),this.oF.setSingleProp(this.QL,"esds",{name:"audioSpecificConfig3",value:0,length:8})}}},d.prototype.lX=function(t,i,n,s){for(var e=[],r=this.QL.slice(t+8),h=n,o=0,u=0,a=0;a<i.samples.length;a++){var c=i.samples[a];for(u+=c.size;o<u&&o<r.length;){var f=r[o]<<24|r[o+1]<<16|r[o+2]<<8|r[o+3];if((15&r[o+=4])===l.AD_INFO_SEI)for(var v=this.yB.parse(r,o+1),d=0;d<v.length;d++){var p=v[d];p.pts=h+c.cto,p.dts=h,p.timescale=s,e.push(p)}o+=f}h+=c.duration}return e}},hWVc:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-opss' style='display: none'>"),s.b("\n"+n),s.b("    <button class='vp-opss-close-btn vp-close-btn'></button>"),s.b("\n"+n),s.b("    <div class='vp-opss-info'>"),s.b("\n"+n),s.b("        <div class='vp-opss-title'>VDMS PLAYER</div>"),s.b("\n"+n),s.b("        <div>"),s.b(s.v(s.f("version",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("        <div class='vp-nav'>"),s.b("\n"+n),s.b("            <span class='vp-profile-btn'>Profile</span>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title'>CURRENT MEDIA</div>"),s.b("\n"+n),s.b("            <div class='vp-opss-renderertype'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-uuid'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-lmsid'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-tv'></div>"),s.b("\n"+n),s.b("        <br>"),s.b("\n"+n),s.b("        <div class='vp-opss-graphs'></div>"),s.b("\n"+n),s.b("        <div class='vp-opss-detail'></div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-context vp-expanded'>CONTEXT</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-context vp-hide'>"),s.b("\n"+n),s.b("            <div class='vp-opss-expSiteName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expBucketName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expName'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-expType'></div>"),s.b("\n"+n),s.b("            <div><span class='vp-details'>Page SpaceID: </span>"),s.b(s.v(s.f("spaceId",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-sessionId'></div>"),s.b("\n"+n),s.b("            <div class='vp-videoSpaceId'></div>"),s.b("\n"+n),s.b("            <div class='vp-opss-platform'></div>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-plugins vp-expanded'>PLUGINS</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-plugins vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-plugins'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-config vp-expanded'>PLAYER CONFIG</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-current-config vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-profile'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("        <div class='vp-opss-title vp-section-expand-hosting vp-expanded'>HOSTING CONFIG</div>"),s.b("\n"+n),s.b("        <div class='vp-opss-hosting-config vp-hide'>"),s.b("\n"+n),s.b("            <pre class='vp-opss-hosting'></pre>"),s.b("\n"+n),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},he5r:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.CLICK="click",t.AUTOPLAY="autoplay",t.API="api",t.CONTINUOUS="continuous",t.HOVER="hover",t.PLAY="play",t.PAUSE="pause",t.SCROLL="scroll",t.SWIPE="swipe",t.BACKGROUND="background"}(i.REQUEST_TYPES||(i.REQUEST_TYPES={})),i.GEMINI_STUB_VIDEO_ID="6bf451fd-11f9-37f9-a54c-d73d795839f6",i.PLAYLIST_THUMB_DIMENSION="260x144",i.PLAYLIST_SECTION_ICON_DIMENSION="14x14",i.PLAYLIST_LABEL_ICON_DIMENSION="70x70",i.PLAYLIST_COUNT_PER_PAGE=12,function(t){t.BOTTOM="bottom",t.RIGHT="right",t.HIDDEN="hidden"}(i.PLAYLIST_POS||(i.PLAYLIST_POS={})),function(t){t.ALWAYS="always",t.TIMEBASED="timebased",t.NEVER="never"}(i.SkipOnError||(i.SkipOnError={})),i.VRM_PLUGIN_MIMETYPE="adplugin/vrm"},heKF:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("UDn2");i.mediaItemSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/mediaItemSchema",type:"object",properties:{adConfig:{type:"object",properties:{mimetype:{type:"string"},value:{type:{}}},required:["mimetype","value"]},customConfig:{type:"object"},id:{type:"string"},metadata:{type:"object",properties:{description:{type:"string"},duration:{type:"number"},title:{type:"string"},thumbnail:{type:"string"},posterUrl:{type:"string"},type:{type:"string",enum:Object.keys(s.MediaItemType).map((function(t){return s.MediaItemType[t]}))},videoTypes:{type:"array"}}},mimetype:{type:"string"},source:{$ref:"/sourceSchema"}},dependencies:{mimetype:["id"]}}},hifa:function(t,i,n){"use strict";t.exports=e;var s=n("9nRl");function e(){this.pX={},this.mX=Number.NaN,this.bX=!1,this.yX=NaN,this.DR=[]}e.prototype.destroy=function(){this.pX={},this.DR=[]},e.prototype.addStream=function(t){this.DR.push(t),this.DR.length&&(this.mX=this.DR[0].endSeqNum)},e.prototype.update=function(t){if(t){var i=this.gX(t);if(i){var n=this.__controller.model.live;if(n&&(t=i.isDash()?this.wX(t,i):this.SX(t)),i.updateConfig(t),n&&!i.isDash()&&this.mX>=i.endSeqNum){var s=1e3*i.targetDuration,e=!isNaN(s)&&s>0?s:i.refreshInterval;i.refreshInterval=.5*e}this.mX=i.endSeqNum}}},e.prototype.gX=function(t){if(!t||!this.DR.length)return null;for(var i=0;i<this.DR.length;i++)if(this.DR[i].equals(t))return this.DR[i];return null},e.prototype.SX=function(t){var i=this;if(!t)return t;var n=t.segmentInfoList;if(!n||!n.length)return t;Object.keys(i.pX).length||(i.pX[n[0].sequenceNum]={startTime:n[0].startTime,programDateTime:n[0].programDateTime});var s,e,r,h,o=i.pX[n[0].sequenceNum];if(o&&"number"==typeof o.startTime)s=i.pX[n[0].sequenceNum].startTime;else{var u=Object.keys(i.pX),a=parseInt(u[u.length-1]);n[n.length-1].sequenceNum;var c=0;for(e=1;e<n.length;e++)if(-1!==u.indexOf(n[e].sequenceNum.toString())){c=e;break}if(c)for(s=i.pX[n[c].sequenceNum].startTime,e=c-1;e>=0;e--)s-=n[e].duration;else{if(n[0].sequenceNum>a)r=parseInt(u[u.length-1]),h=i.pX[r];else for(e=n[n.length-1].sequenceNum;e<=a;){if(-1!==u.indexOf(e.toString())){r=e,h=i.pX[r];break}e++}s="number"==typeof h.programDateTime?h.startTime+(n[0].programDateTime-h.programDateTime)/1e3:h.startTime+(n[0].sequenceNum-r)*n[0].duration}}var f=0;return n.forEach((function(t){t.startTime=s+f,f+=t.duration,!i.bX&&t.discontinuity&&(i.bX=!0,i.yX=t.startTime),i.bX&&!isNaN(i.yX)&&(t.discontinuity=t.startTime>=i.yX),i.pX[t.sequenceNum]||(i.pX[t.sequenceNum]={startTime:t.startTime,programDateTime:t.programDateTime})})),t},e.prototype.wX=function(t,i){if(!t||!i)return t;var n=t.segmentInfoList;if(!n||!n.length)return t;var s=i.segments;if(!s||!s.length)return t;for(var e=0,r=!1,h=0;h<s.length;h++)if(e=s[h].seqNum,s[h].startTime>=n[0].startTime){r=!0;break}r||e++;for(var o=0;o<n.length;o++)n[o].sequenceNum=e,e++;return t},e.prototype.adjustStartTime=function(t,i,n){var e=this;if(t&&!s.isNullOrUndefined(n)&&!s.isNullOrUndefined(i)){var r=Object.keys(e.pX),h=r.length?r[0]:null,o=h?e.pX[h]:null,u=o?(o.programDateTime-n)/1e3-(o.startTime-i):0;u?(r.forEach((function(t){(o=e.pX[t]).startTime+=u})),t.segments.forEach((function(t){o=e.pX[t.seqNum],t.startTime=o?o.startTime:t.startTime+u})),t.adjusted=!0):t.adjusted=!0}}},iBPZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=function(){function t(){}return t.sendImageBeacon=function(t){t=s.default.fixProtocol(t);var i=new Image;i.onload=i.onabort=i.onerror=function(){i.onload=i.onabort=i.onerror=null,i=null},i.src=t},t.sendUnloadBeacon=function(i){return i=s.default.fixProtocol(i),navigator&&navigator.sendBeacon?navigator.sendBeacon(i,null):t.sendImageBeacon(i),!0},t.sendIframeBeacon=function(i){i=s.default.fixProtocol(i);var n=Math.random(),e=document.querySelector("#vp-beacons"),r="vp-beacons-"+n;e||(e=t.createBeaconsIframe(document,"vp-beacons"),document.body.appendChild(e));var h=t.createBeaconsIframe(e.contentDocument,r);return h.src=i,"complete"===e.contentDocument.readyState?e.contentDocument.body.appendChild(h):e.contentDocument.body.onload=function(){e.contentDocument.body.appendChild(h)},!0},t.createBeaconsIframe=function(t,i){var n=t.createElement("iframe");return n.frameBorder=0,n.width=0,n.height=0,n.marginwidth=0,n.marginheight=0,n.hspace=0,n.vspace=0,n.frameborder=0,n.scrolling="no",n.id=i,n.style.display="none",n.title="",n},t.prepareApiInfo=function(t,i){(i=i||{}).url=t,i.instrument=i.instrument||"none",i.perfInfo="na",i.perfStack="na",i.source="player";var n=i.resourceTiming,s=i.resourceTimingEntries;if(n){var e={};["connectEnd","connectStart","domainLookupEnd","domainLookupStart","duration","fetchStart","redirectEnd","redirectStart","requestStart","responseEnd","responseStart","startTime"].forEach((function(t){e[t]=n[t].toFixed(2)})),i.latency=e&&e.duration||"",i.perfInfo=JSON.stringify(e);var r=[];i.resourceTimingEntries&&n.requestStart-n.connectStart>500&&s.forEach((function(t){t.startTime<n.startTime&&r.push({url:t.name,st:t.startTime.toFixed(2),du:(t.responseEnd-t.startTime).toFixed(2)})})),i.perfStack=0===r.length?"na":JSON.stringify(r)}return i},t}();i.default=e},iLlr:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0});var h,o=n("JcWZ"),u=n("vdbb"),a=n("O/dN"),c=n("oIMU"),f=n("UDn2"),l=n("fLR+"),v=n("+Ojf");!function(t){t.METADATA_AVAILABLE="metadata-available",t.SOURCE_AVAILABLE="metadata-source-available",t.SOURCE_LOAD_FAILED="metadata-source-load-failed",t.API_INFO_AVAILABLE="api-info-available",t.MORE_ITEMS_LOADED="more-items-loaded"}(h=i.MetadataEvent||(i.MetadataEvent={}));var d=function(t){function i(i,n){var s=t.call(this,"MetadataController")||this;return s.BE=i,s.iy=n,s.if=n.mediaStore,s}return e(i,t),i.prototype.destroy=function(){this.BE.removeRelatedCommands(u.CmdName.CMD_METADATA_LOAD),this.BE.removeRelatedCommands(u.CmdName.CMD_SOURCE_METADATA_LOAD),t.prototype.destroy.call(this)},i.prototype.loadItem=function(t){var i=t.rawItemData;this.BE.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.EX()),this)},i.prototype.loadSource=function(t){var i=t.rawItemData;t.isContainer()||(t.hasSource()?this.publish(h.SOURCE_AVAILABLE,t):(this.publish(c.PROFILE_START,c.METRICS.CMS_SOURCE_REQUEST),this.BE.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.EX()),this)))},i.prototype.recover=function(t){var i=t.rawItemData;this.BE.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],recovering:!0},this.EX()),this)},i.prototype.loadMetadata=function(t){var i,n=this;if((i=t&&t.length?t:this.jy.getItems())&&i.length){var s=[];i.forEach((function(t){s.push(t.rawItemData)}));var e={};s.forEach((function(t){var i=t.mimetype;e[i]||(e[i]=[]),e[i].push(t)})),this.OX(s)&&this.publish(c.PROFILE_START,c.METRICS.CMS_REQUEST),Object.keys(e).forEach((function(t){n.BE.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t,mediaItemDataArr:e[t]},n.EX()),n)}))}},i.prototype.loadMoreItems=function(t,i){var n=this.jy.getItems();n&&n.length&&(this.publish(c.PROFILE_START,c.METRICS.CMS_MORE_ITEMS_REQUEST),this.BE.executeCommand(u.CmdName.CMD_MORE_ITEMS_LOAD,{cb:i,mimetype:n[0].mimetype,reason:t,start:this.jy.playlistFetchIndex},this))},i.prototype.onSourceMetadataLoadComplete=function(t,i){var n=this;this.publish(c.PROFILE_END,c.METRICS.CMS_SOURCE_REQUEST),this.BE.removeCommand(t),this.jy.update(i).forEach((function(t){t.setSourceState(f.SourceState.HAS_DATA),n.publish(h.SOURCE_AVAILABLE,t)}))},i.prototype.onSourceMetadataLoadProgress=function(t,i,n){n&&this.jy.updateMediaItemsSourceState(i,n)},i.prototype.onSourceMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onSourceMetadataLoadError=function(t,i,n){var s=this;this.BE.removeCommand(t);var e=v.default.createErr(n.group,this.iy.playbackState,n.category,n.subcategory,n.message);i.forEach((function(t){s.publish(h.SOURCE_LOAD_FAILED,t,e)}))},i.prototype.onMetadataLoadComplete=function(t,i){var n=this;this.BE.removeCommand(t),this.AX(i),this.OX(i)&&this.publish(c.PROFILE_END,c.METRICS.CMS_REQUEST),this.jy.update(i).forEach((function(t){t.setState(f.ItemState.HAS_DATA),n.publish(h.METADATA_AVAILABLE,t)}))},i.prototype.onMetadataLoadProgress=function(t,i,n){n&&this.jy.updateMediaItemsState(i,n)},i.prototype.onMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMetadataLoadError=function(t,i){this.BE.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.iy.playbackState,i.category,i.subcategory,i.message);this.publish(c.ERROR,n)},i.prototype.onMoreItemsLoadComplete=function(t,i){this.BE.removeCommand(t),this.publish(c.PROFILE_END,c.METRICS.CMS_MORE_ITEMS_REQUEST);var n=this.jy;n.playlistFetchIndex+=i.length,n.addItems(i);var s=i.map((function(t){var i=t.id;return n.getMediaItemById(i)}));s.length>0&&this.loadMetadata(s)},i.prototype.onMoreItemsLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMoreItemsLoadError=function(t,i){this.BE.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.iy.playbackState,i.category,i.subcategory,null,i.debugMessage);this.publish(c.INFO,n)},i.prototype.OX=function(t){var i=this.jy.getCurrentItem();return i&&t&&t.length&&t.some((function(t){return t.id===i.id}))},i.prototype.EX=function(){var t=this.iy,i={autoplay:t.autoplay,privacyConsent:t.consent,rendererCapabilities:t.capabilities,rendererTypes:t.rendererTypes,thumbnailDimensions:t.thumbnailDimensions},n=this.jy.getCurrentItem();return n&&(n.videoSession&&(i.sessionId=n.videoSession),l.isNumber(n.tryCount)&&(i.tryCount=n.tryCount),l.isNumber(n.failoverCount)&&(i.failoverCount=n.failoverCount)),i},i.prototype.AX=function(t){t&&t.forEach((function(t){t.metadata&&(t.metadata.title=v.default.sanitizeAndUnescape(t.metadata.title),t.metadata.description=v.default.sanitizeAndUnescape(t.metadata.description))}))},Object.defineProperty(i.prototype,"jy",{get:function(){return this.iy.playlist},enumerable:!0,configurable:!0}),i}(o.default);i.MetadataController=d},iMSc:function(t,i,n){"use strict";t.exports.TsStreamer=a,t.exports.TsLiveStreamer=c;var s=n("/iNa"),e=n("6I/I").Streamer,r=n("21xW"),h=n("2fkz").CmdNames,o=n("9nRl"),u=n("lPOR");function a(t,i){this.YA(t,i)}function c(t,i){this.YA(t,i),this.SEGMENT_OFFSET=2}s.inherits(a,e),s.inherits(c,r),c.prototype.YA=a.prototype.YA=function(t,i){this.constructor.super_.call(this,t,i),this.GA=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastChunkEndTs={audio:NaN,video:NaN},this.lastFrameDuration={audio:NaN,video:NaN},this.XA(),this.YE=h.CMD_SEGMENT_LOAD,this.primary=!0;var n=this.__controller.getMinimumBufferTime(),s=[{codec:"avc1.640021",type:"video",mimeType:'video/mp4; codecs="avc1.640021"',minBufferTime:n}];t&&t.hasAudio&&s.push({codec:"mp4a.40.2",type:"audio",mimeType:'audio/mp4; codecs="mp4a.40.2"',minBufferTime:n}),this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[s],["tracks"]),this.oE=this.STATES.INITIALIZED},c.prototype.destroy=a.prototype.destroy=function(){this.XA(),this.GA.destroy.call(this)},c.prototype.onSeeking=a.prototype.onSeeking=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.GA.onSeeking.call(this,t)},c.prototype.onSwitchBegin=a.prototype.onSwitchBegin=function(){this.XA(),this.GA.onSwitchBegin.call(this)},c.prototype.oO=a.prototype.oO=function(){this.XA()},c.prototype.fO=a.prototype.fO=function(t){return{segment:this.iy.getSegment(this.iy.currentLoadingStreamIndex,t),stream:this.sE,state:{mp4:this.QA,lastChunkEndTs:this.lastChunkEndTs,lastFrameDuration:this.lastFrameDuration,isAltAudioActive:this.Mw},onlyMetadata:this.processOnlyMetadata}},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i,n){if(i){var s=i.getParam?i.getParam("parsedInfo"):null;s&&(o.isNumber(s.pcr)&&this.iy.setPCR(s.pcr),o.isNumber(s.frameRate)&&this.sE.setFrameRate(s.frameRate),o.isNumber(s.startOffsetTimestamp)&&this.iy.setStartOffset(s.startOffsetTimestamp),s.lastChunkEndTs&&(this.lastChunkEndTs=s.lastChunkEndTs),s.lastFrameDuration&&(this.lastFrameDuration=s.lastFrameDuration)),this.GA.onSegmentLoadProgress.call(this,t,i,n)}},c.prototype.vO=a.prototype.vO=function(t,i){var n=this;t&&(n.GA.vO.call(n,t,i),t.forEach((function(t){n.QA[t.type].shouldInit=!1})))},c.prototype.onSynchMetadataReady=a.prototype.onSynchMetadataReady=function(t){this.processOnlyMetadata=!1,this.GA.onSynchMetadataReady.call(this,t)},c.prototype.onManualStreamChange=a.prototype.onManualStreamChange=function(){this.XA(),this.lastChunkEndTs={audio:NaN,video:NaN},this.GA.onManualStreamChange.call(this)},c.prototype.XA=a.prototype.XA=function(){this.QA={audio:{shouldInit:!0,seqNum:0},video:{shouldInit:!0,seqNum:0}}},c.prototype.aO=a.prototype.aO=function(t,i){},a.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},c.prototype.JS=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.GA.JS.call(this,t)}},iSaY:function(t,i,n){"use strict";var s="api",e="network",r="decode";function h(t,i){this.code=t[0],this.message=t[1],this.type=t[2],this.isDrm=t[3],i&&(this.message+=": "+i),this.error=new Error(this.message,this.code)}t.exports={Error:h,ERR_XHR_LOAD:[11,"Failed to load xhr request",e,!1],ERR_PLAYLIST_LOAD:[12,"Failed to load Playlist",e,!1],ERR_SUBS_LOAD:[13,"Failed to load Subtitle",e,!1],ERR_SEGMENT_LOAD:[14,"Failed to load Segment",e,!1],ERR_PARTIAL_LOAD:[15,"Loader failed to load complete data",e,!1],ERR_MASTER_PLAYLIST_PARSE:[16,"Failed to parse Master Playlist",r,!1],ERR_MEDIA_PLAYLIST_PARSE:[17,"Failed to parse Media Playlist",r,!1],ERR_SEGMENT_PARSE:[18,"Failed to parse segment data",r,!1],ERR_API_NO_NODE:[19,"No video node is being set",s,!1],ERR_MIMETYPE_NOT_SUPPORTED:[20,"Mimetype is not supported in current browser",r,!1],ERR_XHR_LOAD_LIVE_PAUSE:[21,"Failed to load xhr request during live pause",e,!1],ERR_DRM_EME_MISSING:[22,"Browser EME components not detected or HTTPS required",r,!0],ERR_DRM_INIT:[23,"Failed to initialize DRM components",r,!0],ERR_DRM_CONFIG:[24,"Browser/system does not support the requested DRM configurations",r,!0],ERR_DRM_LICENSE_REQUEST:[25,"Failed to get DRM license",r,!0],ERR_XHR_LOAD_FORBIDDEN:[27,"Forbidden to load xhr request",e,!1]},h.prototype.dto=function(){return{code:this.code,message:this.message,type:this.type,isDrm:this.isDrm}}},izmf:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("+Ojf"),e=n("a2lm"),r=function(){function t(t){this.ty=t}return t.prototype.create=function(t,i,n,r){this.node=s.default.render(e,{title:t.title,message:t.message,rep:t.rep,guid:{guid:i},sessionId:{videoSession:n},imageSrc:r,showBgImage:!!r});var h=this.node.querySelector(".vp-error-message"),o=t.errorInfo&&t.errorInfo.msg;return h&&o&&(h.innerHTML=o),s.default.classList(this.node).remove("vp-vis-hidden"),this.node},t.prototype.destroy=function(){this.node=null},t}();i.default=r},jYym:function(t,i,n){"use strict";t.exports={ERROR:-1,INITIAL:0,MEDIA_METADATA_LOADING:1,MEDIA_METADATA_LOADED:2,STREAM_METADATA_LOADING:3,STREAM_METADATA_LOADED:4,MEDIA_LOADED:5,PRELOADING:6,PLAY_REQUESTED:7,PLAYING:8,PAUSED:9,PLAY_COMPLETE:10}},jslM:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o=n("JcWZ"),u=n("oIMU");!function(t){t.PRELOADING="preloading",t.IDLE="idle"}(r||(r={})),function(t){t.START_PRELOAD="startPreload",t.PLAYER_IDLE="playerIdle"}(h=i.PreloadEvent||(i.PreloadEvent={}));var a=function(t){function i(i){var n=t.call(this,"PreloadManager")||this;return n.ty=i,n._X=r.IDLE,n.TX=null,n.ty.addEventListener(u.PRELOAD_START,n.MX,n),n.ty.addEventListener(u.PRELOAD_COMPLETE,n.nG,n),n}return e(i,t),i.prototype.destroy=function(){this.TX=null,this._X=r.IDLE},i.prototype.startPreload=function(){if(this._X===r.IDLE){var t=this.IX();this.publish(h.START_PRELOAD,t)}},i.prototype.stopPreload=function(){},i.prototype.setPreloadItem=function(t){this.TX=t},i.prototype.IX=function(){return this.TX},i.prototype.MX=function(){this._X=r.PRELOADING},i.prototype.nG=function(){this._X=r.IDLE,this.publish(h.PLAYER_IDLE)},i}(o.default);i.default=a},k721:function(t,i,n){"use strict";var s=n("iMSc"),e=n("xbIp"),r=n("rdAy"),h=n("9BmL"),o=n("eeAi"),u=n("V66C").StreamTypes,a=s.TsStreamer,c=s.TsLiveStreamer,f=e.SubtitleStreamer,l=e.SubtitleLiveStreamer,v=r.Fmp4Streamer,d=r.Fmp4LiveStreamer,p=h.AacStreamer,m=h.AacLiveStreamer,b=o.Fmp4SubtitleStreamer,y=o.Fmp4SubtitleLiveStreamer;t.exports.create=function(t,i,n){if(!t||!i||"function"!=typeof t.create)return null;var s,e=i.type===u.SUBTITLES;switch(i.containerFormat){case"vtt":s=n?l:f;break;case"aac":s=n?m:p;break;case"mp4":s=e?n?y:b:n?d:v;break;case"ts":s=n?c:a}return s?t.create(s,i):null}},kd2E:function(t,i,n){"use strict";function s(t,i){return Object.prototype.hasOwnProperty.call(t,i)}t.exports=function(t,i,n,r){i=i||"&",n=n||"=";var h={};if("string"!=typeof t||0===t.length)return h;var o=/\+/g;t=t.split(i);var u=1e3;r&&"number"==typeof r.maxKeys&&(u=r.maxKeys);var a=t.length;u>0&&a>u&&(a=u);for(var c=0;c<a;++c){var f,l,v,d,p=t[c].replace(o,"%20"),m=p.indexOf(n);m>=0?(f=p.substr(0,m),l=p.substr(m+1)):(f=p,l=""),v=decodeURIComponent(f),d=decodeURIComponent(l),s(h,v)?e(h[v])?h[v].push(d):h[v]=[h[v],d]:h[v]=d}return h};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},kfTt:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o=n("JcWZ"),u=n("ToqN"),a=n("+uLo");!function(t){t.WAITING="waiting",t.SEG_INFO_AVAILABLE="segInfoAvailable"}(r=i.RebufferingEvent||(i.RebufferingEvent={})),function(t){t[t.HAVE_NOTHING=0]="HAVE_NOTHING",t[t.HAVE_METADATA=1]="HAVE_METADATA",t[t.HAVE_CURRENT_DATA=2]="HAVE_CURRENT_DATA",t[t.HAVE_FUTURE_DATA=3]="HAVE_FUTURE_DATA",t[t.HAVE_ENOUGH_DATA=4]="HAVE_ENOUGH_DATA"}(h||(h={}));var c=function(t){function i(){var i=t.call(this,"Html5RawRebufferingManager")||this;return i.jX=null,i.NX=0,i.RX=null,i.kX=0,i.reset(),i}return e(i,t),i.prototype.destroy=function(){this.LX()},i.prototype.init=function(t){t&&(this._node=t,this.reset(),this.DX())},i.prototype.onSeeking=function(){this.CX()},i.prototype.onEnded=function(){this.LX()},i.prototype.reset=function(){this.qM=!0,this.playbackStuck=!1,this.PX=NaN,this.xX=0,this.UX=null,this.NX=0,this.kX=0,this.RX=null},i.prototype.publishWaitingEvent=function(t){if((!this.playbackStuck||!t)&&(this.playbackStuck||t)){var i={type:"waiting",value:t,ignoreBuffering:this.qM};this.publish(r.WAITING,i),this.playbackStuck=t,t?(this.PX=this._node&&this._node.currentTime||0,this.qM||(this.RX=Date.now())):(this.qM=!1,this.PX=NaN,this.RX&&(this.NX+=Date.now()-this.RX,this.RX=null))}},i.prototype.DX=function(){this.LX(),this.jX=new a.default(250),this.jX.on(a.default.TIMER_EVENT,this.VX,this),this.jX.start()},i.prototype.VX=function(){this.CX(),this.BX()>5e3&&(this.zy(),this.kX=0)},i.prototype.CX=function(t){if(void 0===t&&(t=!1),this&&this._node){var i=this.FX();if(t||!(i<150)){var n=this._node.currentTime,s=!1;if(u.userAgent.safari>=6){var e=0;this._node.buffered&&this._node.buffered.length>0&&(e=this._node.buffered.end(this._node.buffered.length-1)),s=this._node.readyState!==h.HAVE_ENOUGH_DATA||e>0&&e+1<this._node.duration&&e<n}n!==this.xX&&!s||this._node.paused?!isNaN(this.PX)&&n>this.PX&&this.publishWaitingEvent(!1):this.playbackStuck||(this.qM=n<=.02,this.publishWaitingEvent(!0)),this.xX=n,this.UX=Date.now()}}else this.LX()},i.prototype.FX=function(){var t=Date.now();return this.UX=this.UX||t,t-this.UX},i.prototype.BX=function(){var t=Date.now();return this.kX=this.kX||t,t-this.kX},i.prototype.zy=function(){this.publish(r.SEG_INFO_AVAILABLE,{val:[{buf_dur:this.NX}]}),this.NX=0},i.prototype.LX=function(){this.jX&&(this.jX.destroy(),this.jX=null)},i}(o.default);i.default=c},kjk6:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ads-overlay'></div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},lHkY:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("O/dN"),r=n("+Ojf"),h=n("O7V2"),o=e.PLAYER_DRM_CODES,u=e.INFO_CODES,a=e.ErrorGroup.Configuration,c=function(){function t(t,i,n,s){this.zX=null,this.HX=t,this.YX=i||"https://assets.video.yahoo.net/fairplay.cer",this.zX="https://assets.video.yahoo.net/fairplay.cer"===this.YX?h.CERT_DATA:null,this.GX=n,this.WX=s,this.qX=this.XX.bind(this),this.QX=this.ZX.bind(this),this.JX=this.KX.bind(this),this.HX.addEventListener("webkitneedkey",this.qX)}return t.prototype.destroy=function(){this.HX.removeEventListener("webkitneedkey",this.qX),this.$X&&(this.tQ(),this.$X=null)},t.prototype.tQ=function(){this.$X.removeEventListener("webkitkeymessage",this.QX),this.$X.removeEventListener("webkitkeyerror",this.JX)},t.prototype.iQ=function(){var t=this;null!==this.YX&&""!==this.YX?void 0!==window.WebKitMediaKeys?this.zX?this.nQ():s.Loader.ajax(this.YX,{method:"GET",context:this,headers:{Pragma:"Cache-Control: no-cache","Cache-Control":"max-age=0"},responseType:"arraybuffer",successHandler:function(i){t.zX=new Uint8Array(i),null!==t.zX?t.nQ():t.sQ(o.E_CERT_NO_DATA)},failureHandler:function(i){t.sQ(o.E_CERT_LOAD_FAILED,e.ErrorGroup.Streaming,i.toString())},timeout:1e4}):this.sQ(u.E_DRM_UNSUPPORTED_BROWSER,a):this.sQ(o.E_CERTPATH_MISSING,a)},t.prototype.nQ=function(){var t=this.eQ(this.rQ),i=this.hQ(t),n=this.oQ(this.rQ,i,this.zX);if(!this.HX.webkitKeys){var s=this.uQ();this.HX.webkitSetMediaKeys(new WebKitMediaKeys(s))}this.HX.webkitKeys||this.sQ(o.E_KEY_CREATION_FAILED),this.$X&&(this.tQ(),this.$X.close()),this.$X=this.HX.webkitKeys.createSession("video/mp4",n),this.$X?(this.$X.contentId=i,this.$X.destinationURL=t,this.$X.addEventListener("webkitkeymessage",this.QX),this.$X.addEventListener("webkitkeyadded",(function(t){})),this.$X.addEventListener("webkitkeyerror",this.JX)):this.sQ(o.E_KEY_SESSION_FAILED)},t.prototype.XX=function(t){this.GX(),null!==t.initData?(this.rQ=t.initData,this.iQ()):this.sQ(o.E_INIT)},t.prototype.ZX=function(t){this.aQ(t.target,t.message)},t.prototype.KX=function(t){this.sQ(o.E_KEY_ERROR,e.ErrorGroup.Streaming,t.currentTarget.error.code+"-"+t.currentTarget.error.systemCode)},t.prototype.hQ=function(t){var i=document.createElement("a");i.href=t;var n=i.search.substr(1).split("&").filter((function(t){return t.length>2&&"b"===t[0]&&"="===t[1]}));return n.length?n[0].split("=")[1]:""},t.prototype.eQ=function(t){var i=r.default.array16ToString(t).replace("skd://","https://");return i=i.substring(1,i.length)},t.prototype.oQ=function(t,i,n){"string"==typeof i&&(i=r.default.stringToArray16(i));var s=0,e=new ArrayBuffer(t.byteLength+4+i.byteLength+4+n.byteLength),h=new DataView(e);new Uint8Array(e,s,t.byteLength).set(t),s+=t.byteLength,h.setUint32(s,i.byteLength,!0),s+=4;var o=new Uint8Array(e,s,i.byteLength);return o.set(i),s+=o.byteLength,h.setUint32(s,n.byteLength,!0),s+=4,new Uint8Array(e,s,n.byteLength).set(n),new Uint8Array(e,0,e.byteLength)},t.prototype.uQ=function(){return WebKitMediaKeys.isTypeSupported("com.apple.fps.1_0","video/mp4")?"com.apple.fps.1_0":(this.sQ(o.E_NO_KEY_SYSTEM),null)},t.prototype.aQ=function(t,i){var n=this,e={spc:r.default.base64EncodeUint8Array(i),assetId:t.contentId};s.Loader.ajax(t.destinationURL,{method:"POST",body:JSON.stringify(e),context:this,responseTypeJson:!0,beforeSend:function(i){i.session=t},successHandler:function(t,i,s,e){n.cQ(t,e.session)},failureHandler:function(t,i,s){var e=403===s?u.E_DRM_FORBIDDEN_LICENSE:o.E_LICENSE_REQUEST;n.sQ(e)}})},t.prototype.cQ=function(t,i){i.update(r.default.base64DecodeUint8Array(t.ckc))},t.prototype.sQ=function(t,i,n){var s,r;void 0===i&&(i=e.ErrorGroup.Streaming),e.isInfoCode(t)?(s=e.E_INFO,r=u):(s=e.E_PLAYER_DRM,r=o);Object.keys(r)[parseInt(t,10)-1];this.WX(i,s,t,"",n),this.destroy()},t}();i.default=c},lPOR:function(t,i,n){"use strict";t.exports.WorkerDefs={HlsTransformer:n("/Ggr"),Controller:n("qKMm")},t.exports.MessageTypes={EVENT:"event",MESSAGE:"message"},t.exports.MessageIds={CREATE:"create",DESTROY:"destroy",CALL_METHOD:"callMethod",EVENT:"eventPublish",CREATE_SRC_BUFFER:"createSrcBuffer",APPEND_SRC_BUFFER:"appendSrcBuffer",TIMED_METADATA:"timedMetadata",CLEAR_SRC_BUFFER:"clearSrcBuffer",END_OF_STREAM:"endOfStream",SAVE_AVG_BANDWIDTH:"saveAvgBandwidth",PLAY_AFTER_STREAM_CHANGE:"playAfterStreamChange",PAUSE_BEFORE_STREAM_CHANGE:"pauseBeforeStreamChange",DRM_INIT:"drmInit",DRM_LICENSE_INFO:"drmLicenseInfo",SKIP_GAP:"skipGap"}},lSF3:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s,e,r=n("B/eG");if(i.Promise=s,"undefined"!=typeof self?e=self:void 0!==t&&(e=t),e){var h=e.Promise,o=void 0;try{o=Object.prototype.toString.call(h.resolve())}catch(t){}"[object Promise]"===o&&(i.Promise=s=h)}s||(i.Promise=s=r.default)}).call(this,n("yLpj"))},lYNO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.sourceSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/sourceSchema",type:"object",properties:{streams:{type:"array",items:{$ref:"/streamSchema"},minItems:0}}}},m1ef:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("c+yx"),r=function(){function t(t){this.S_=t,this.S_&&this.S_.addEventListener(s.Events.VIDEO_STARTED,this.fQ,this)}return t.prototype.destroy=function(){this.S_=null},t.prototype.fQ=function(t){var i=t.customConfig&&t.customConfig.metrics&&t.customConfig.metrics.mmActivityId;if(i&&e.default.isValidUrl(i)){var n=i+"?rnd="+Math.random();e.default.sendIframeBeacon(n)}},t}();i.default=r},mKXf:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ma23"),e=n("fLR+"),r=function(){function t(){this.lQ={},this.vQ=[]}return t.prototype.destroy=function(){this.lQ={},this.vQ=[]},t.prototype.register=function(t,i){if(e.isNullOrUndefined(t))throw new Error("Plugin instance is null");if(!this.dQ(t))throw new Error("Plugin interface is invalid or incomplete");if(this.getPlugin(t.type,t.mimetype))throw new Error("Plugin with same type and mimetype exists");this.lQ[t.type]||(this.lQ[t.type]=[]),this.lQ[t.type].push(t);try{t.prepare(i)}catch(t){}},Object.defineProperty(t.prototype,"defaultPlugins",{get:function(){return this.vQ},set:function(t){this.vQ=t},enumerable:!0,configurable:!0}),t.prototype.getExternalPlugins=function(){var t=this,i={},n=function(n){if(Object.prototype.hasOwnProperty.call(s.lQ,n)){var e=s.lQ[n].filter((function(i){return!function(i){return t.vQ.some((function(t){return i.mimetype===t.mimetype&&i.type===t.type}))}(i)}));i[n]||(i[n]=[]),e.forEach((function(t){i[n].push(t)}))}},s=this;for(var e in this.lQ)n(e);return i},t.prototype.getPlugin=function(t,i){var n=this.lQ[t];if(!n)return null;for(var s=0,e=n;s<e.length;s++){var r=e[s];if(r&&r.mimetype===i)return r}return null},t.prototype.dQ=function(t){if(!t||e.isNullOrUndefined(t.mimetype)||!e.isString(t.mimetype)||e.isNullOrUndefined(t.type)||!this.pQ(t.type)||e.isNullOrUndefined(t.prepare)||!e.isFunction(t.prepare)||e.isNullOrUndefined(t.destroy)||!e.isFunction(t.destroy))return!1;switch(t.type){case s.PluginType.METADATA:return this.mQ(t);case s.PluginType.SOURCE_METADATA:return this.bQ(t);case s.PluginType.MORE_ITEMS:return this.yQ(t);case s.PluginType.AD:return e.isAdPlugin(t);case s.PluginType.VISUAL_SEEK:return this.gQ(t);case s.PluginType.BRANDING:return this.wQ(t);case s.PluginType.PLAYLIST:return this.SQ(t)}return!1},t.prototype.pQ=function(t){return t===s.PluginType.METADATA||t===s.PluginType.SOURCE_METADATA||t===s.PluginType.MORE_ITEMS||t===s.PluginType.AD||t===s.PluginType.VISUAL_SEEK||t===s.PluginType.BRANDING||t===s.PluginType.PLAYLIST},t.prototype.mQ=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.recover)||!e.isFunction(t.recover)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.bQ=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.recover)||!e.isFunction(t.recover)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.yQ=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.gQ=function(t){return!(!t||e.isNullOrUndefined(t.getThumbnailData)||e.isNullOrUndefined(t.update)||!e.isFunction(t.getThumbnailData)||!e.isFunction(t.update))},t.prototype.wQ=function(t){return!(!t||e.isNullOrUndefined(t.create)||!e.isFunction(t.create))},t.prototype.SQ=function(t){return!(!t||!e.isFunction(t.create))},t}();i.default=r},mY9v:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-settings-container vp-vis-hidden' tabindex='0'>"),s.b("\n"+n),s.b("    <div class='vp-settings-item vp-settings-header' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.VIDEO_QUALITY",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.VIDEO_QUALITY",t,i,0))),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-divider'></div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.high",t,i,0))),s.b(" vp-disable' tabindex='2'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.HIGH",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.medium",t,i,0))),s.b(" vp-disable' tabindex='3'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.MEDIUM",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.low",t,i,0))),s.b(" vp-disable vp-last-item' tabindex='4'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.LOW",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.auto",t,i,0))),s.b(" vp-active vp-disable' tabindex='1'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.AUTO",t,i,0))),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},ma23:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.BASE="plugin",t.METADATA="metadata-plugin",t.SOURCE_METADATA="source-metadata-plugin",t.MORE_ITEMS="more-items",t.AD="ad-plugin",t.VISUAL_SEEK="visual-seek",t.BRANDING="branding",t.PLAYLIST="playlist"}(i.PluginType||(i.PluginType={})),function(t){t.MEDIA_ITEM_PLAYBACK_STARTED="media-item-playback-started",t.MEDIA_ITEM_PLAYBACK_ENDED="media-item-playback-ended",t.MEDIA_ITEM_PLAYBACK_PROGRESS="media-item-playback-progress",t.AD_PLAYBACK_PROGRESS="ad-playback-progress",t.PLAYER_RENDERED="player-rendered"}(i.PluginPlayerEvent||(i.PluginPlayerEvent={})),function(t){t.PLAYER_RENDERED="playerRendered",t.PLAYBACK_STARTED="playbackStarted",t.PLAYLIST_COMPLETE="playlistComplete",t.PLAYLIST_COMPLETE_ON_ERROR="playlistCompleteOnError",t.SCROLLED_TO_END="scrolledToEnd",t.PLAYLISTID_NEED_RESOLVE="playlistNeedResolve"}(i.MoreItemsReason||(i.MoreItemsReason={})),function(t){t.IMAGE="image",t.SPRITE="sprite"}(i.VisualSeekType||(i.VisualSeekType={}))},mczr:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ");!function(t){t.EXTERNAL="EXTERNAL",t.HTML5_HLS="HTML5_HLS",t.HTML5_RAW="HTML5_RAW",t.HTML5_RAW_360="HTML5_RAW_360",t.HTML5_HLS_360="HTML5_HLS_360",t.HTML5_TV="HTML5_TV",t.HTML5_TV_TIZEN="HTML5_TV_TIZEN",t.HTML5_TV_ORSAY="HTML5_TV_ORSAY",t.UNKNOWN="UNKNOWN"}(r=i.RendererType||(i.RendererType={})),function(t){t.VIDEO="video",t.AD="ad"}(i.PlaybackMode||(i.PlaybackMode={})),function(t){t.ENDED="ended",t.ERROR="error",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.PAUSE="pause",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting"}(i.NativeVideoEvent||(i.NativeVideoEvent={})),function(t){t.PAUSE="pause",t.ENDED="ended",t.ERROR="error",t.INFO="info",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting"}(i.RendererEvent||(i.RendererEvent={})),function(t){t.SRC_SWITCHING="srcSwitching",t.SRC_SWITCHED="srcSwitched",t.CLICK="rendererClick",t.PLAYBACK_START_BLOCKED="playBlocked",t.SKIPPED="rendererItemSkipped",t.END_FULLSCREEN="endFullscreen",t.PLAY_COMPLETE="playComplete"}(i.CustomRendererEvent||(i.CustomRendererEvent={})),function(t){t.RENDER_PDL="1",t.RENDER_VPAID="2",t.RENDER_HLS="3"}(i.ExternalPlayerCapability||(i.ExternalPlayerCapability={})),function(t){t.PLAYBACK_ERROR="external-player-error",t.ITEM_LOADED="external-player-item-loaded",t.PLAY_REQUESTED="external-player-play-requested",t.PLAYING="external-player-playing",t.PAUSED="external-player-paused",t.PLAY_COMPLETE="external-player-play-complete",t.TIME_UPDATE="external-player-time-update",t.MUTE_CHANGED="external-player-mute-changed",t.VOLUME_CHANGED="external-player-volume-changed",t.SKIPPED="external-player-item-skipped"}(i.ExternalPlayerEvent||(i.ExternalPlayerEvent={}));var o=function(t){function i(n){void 0===n&&(n="renderer");var s=t.call(this,n)||this;return s.type=i.type,s.Ty=null,s}return e(i,t),i.canUse=function(){return!1},i.prototype.getPlayableItem=function(){return this.Ty},i.type=r.UNKNOWN,i}(h.default);i.Renderer=o,i.default=o},mfA3:function(t,i,n){"use strict";t.exports=r;var s="append",e="remove";function r(t,i,n){var s=this;s._node=s.PE.node,s.SS=!1,s.type=i,s.mimeType=n,s.IC=t,s.buffer=t.addSourceBuffer(n),s.EQ=[],s.OQ=[],s.AQ=[],s.XE=!1,s._Q=.1,s.ready=!1,s.TIMESTAMP_COMPARE_EPSILON=.065,s.GOP_LENGTH=2,s.TQ=s.MQ.bind(s),s.buffer.addEventListener("updateend",s.TQ),s.HY=function(){s.abort()},s.buffer.addEventListener("error",s.HY),s.state="open"}r.prototype.destroy=function(){this.remove(),this.EQ=[],this.OQ=[],this.AQ=[],this.state="closed"},r.prototype.remove=function(){this.SS||(this.SS=!0,this.abort(),this.buffer.removeEventListener("updateend",this.TQ),this.buffer.removeEventListener("error",this.HY),"closed"!==this.IC.readyState&&this.IC.removeSourceBuffer(this.buffer))},r.prototype.setMinBufferTime=function(t){this._Q=Math.max(.1,t)},r.prototype.appendBuffer=function(t,i,n,e,r){if(!this.SS){var h={type:s,cb:r,buffer:t,startTime:i,endTime:n,time:n-i,onlyMetadata:e||!1};this.EQ.push(h),this.IQ()}},r.prototype.clearBuffer=function(t,i,n){if(this.SS||t>=i)return n("["+this.constructor.name+"] Invalid remove buffer call");var s={type:e,cb:n,startTime:t,endTime:Math.round(1e3*parseFloat(i))/1e3};this.OQ.push(s),this.IQ()},r.prototype.abort=function(){if("open"===this.IC.readyState&&!this.SS){this.EQ=[],this.OQ=[],this.AQ=[];try{this.buffer.abort()}catch(t){}}},r.prototype.clearAll=function(){if("closed"!==this.IC.readyState&&!this.SS){this.abort();try{var t=this.buffer.buffered,i=t.length?t.start(0):0,n=t.length?t.end(t.length-1):0;n>i&&this.buffer.remove(i,n)}catch(t){}}},r.prototype.setEndOfStream=function(t){this.XE=t,this.SS||(t?(this.jQ(),this.IQ()):this.state=this.EQ.length?this.state:"empty")},r.prototype.jQ=function(){this.XE&&"empty"===this.state&&!this.AQ.length&&(this.state="closed")},r.prototype.MQ=function(){if(!this.SS){if(this.ready=!0,this.AQ.length)this.AQ.shift().cb(null,this);this.EQ.length||(this.state="empty"),this.IQ(),this.jQ()}},r.prototype.IQ=function(){for(;this.OQ.length;){if(this.buffer.updating)return;this.NQ(this.OQ.shift())}for(;this.EQ.length;){if(this.buffer.updating)return;var t=this.getBufferLength()+this.getTotalPendingBufferLength(),i=this.EQ.length&&this.EQ[0]&&this.EQ[0].onlyMetadata;if(!this.XE&&t<this._Q&&!i)return;this.NQ(this.EQ.shift())}},r.prototype.NQ=function(t){if(t&&t.type)try{t.type===s?this.buffer.appendBuffer(t.buffer):t.type===e&&this.buffer.remove(t.startTime,t.endTime),this.AQ.push(t),this.state="updating"}catch(i){if("QuotaExceededError"===i.name)this.RQ()&&t.type===s&&this.EQ.unshift(t)}},r.prototype.RQ=function(){var t=this._node.buffered,i=t.length>0?t.start(0):NaN,n=this._node.currentTime-this.GOP_LENGTH;return n>i&&(this.buffer.remove(i,n),!0)},r.prototype.getTotalPendingBufferLength=function(){var t=0;return this.EQ.forEach((function(i){i&&i.time&&(t+=i.time)})),t},r.prototype.getBufferLength=function(){var t,i=this.PE.node,n=this.TIMESTAMP_COMPARE_EPSILON,s=0,e=i.currentTime,r=null;try{r=this.buffer.buffered;for(var h=0;r&&h<r.length;h++)if(e+n>=r.start(h)&&e<r.end(h)){t=h;break}t>=0&&r&&r.length&&(s=r.end(t)-e)}catch(t){}return s}},mhJ4:function(t,i,n){"use strict";t.exports=r;var s=n("/iNa"),e=n("/Ggr");function r(t,i){t.noDemux=!0,this.constructor.super_.call(this,t,i),this.GA=this.constructor.super_.prototype}s.inherits(r,e),r.prototype.destroy=function(){this.GA.destroy.call(this)}},miuH:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-adview-simple'>"),s.b("\n"+n),s.b("    <div class='vp-adbreak-progress'>"),s.b("\n"+n),s.b("        <span>Ad 1/3: 15s</span>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-adbreakitem-cta'>"),s.b("\n"+n),s.b("        <div class='vp-adview-btn'>Get Now</div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"nD/R":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.metricsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/metricsSchema",type:"object",properties:{disableAllBeacons:{type:"boolean"},comscoreC4:{type:"string"},ccode:{type:"string"},sec:{type:"string"},skipComscore:{type:"boolean"},skipABRBeacon:{type:"boolean"},ywaSamplingRate:{default:1,type:"number"},ultSamplingRate:{default:1,type:"number"},qosSamplingRate:{default:1,type:"number"},cpos:{type:"string"},progressBeaconStrategy:{type:"object",properties:{fixed:{type:"array",items:[{type:"number"}]},recurring:{type:"number"},playerUnload:{type:"boolean"},playPause:{type:"boolean"}}}}}},nHOF:function(t,i,n){"use strict";t.exports=d;var s=n("/iNa"),e=n("yvII").Events,r=n("3/TB"),h=n("UbnH"),o=n("IWBN"),u=n("HNE+"),a=n("y5bh").HLSEvent,c=n("2fkz"),f=c.Command,l=c.CmdNames,v=c.CmdEvents;function d(t,i){this.kQ(t),f.call(this,t,i),this.name=l.CMD_SEGMENT_LOAD,this.QO=t.segment,this.XL=t.stream,this.__controller=this.data.controller,this.iy=this.__controller.model,this.qG=this.QO?this.QO.url:t.url,this.LQ=this.QO?this.QO.streamIndex:t.stream.index,this.DQ=this.QO?this.QO.encryptionData:null,this.cT=!1,this.CQ=new o,this.PQ=0,this.xQ=null;var n=t.controller.services;this.KE=[403],this.zD=n.getNewLoader(this.tx()),this.DQ&&this.DQ.keyUri&&(this.UQ=n.getNewLoader(this.VQ())),this.BQ=this.__controller.services.bandwidthEstimator,this.FQ=new u(this.BQ.COLLECTION_INTERVAL),this.FQ.addEventListener(this.zQ,this),this.HQ()}s.inherits(d,f),d.prototype.destroy=function(){this.cancel(),this.zD.destroy(),this.FQ.destroy(),this.CQ.destroy(),this.UQ&&this.UQ.destroy(),this.YQ&&this.YQ.destroy(),f.prototype.destroy.call(this)},d.prototype.kQ=function(t){if(!(t&&t.segment&&t.stream&&t.controller))throw new Error("Invalid argument: data argument of the command is not complete")},d.prototype.VQ=function(){return{responseType:"arraybuffer",isChunkedLoad:!1,headerFields:{},retryExclusion:this.KE}},d.prototype.tx=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,headerFields:{},retryExclusion:this.KE},i=this.QO?this.QO.bitrate*this.QO.duration/8:0;return this.QO.brStartOffset>=0&&this.QO.brEndOffset>=0&&(t.headerFields.Range="bytes="+this.QO.brStartOffset+"-"+this.QO.brEndOffset,i=this.QO.brEndOffset-this.QO.brStartOffset+1),t.minChunkSize=.025*i,"atlas"===this.QO.cdn&&(t.headerFields.Accept="*/*; X-PB-SESSION-ID="+this.QO.sessionId),0===this.QO.streamIndex&&(t.timeout=1e4),t},d.prototype.HQ=function(){var t=this.GQ();t.containerFormat=this.QO.containerFormat,t.encryptionData=this.DQ;var i=this.__controller.create(r,t);i&&(i.addEventListener(h.DATA_PROCESS_PROGRESS,this.WQ,this),i.addEventListener(h.DATA_PROCESS_COMPLETE,this.qQ,this),i.addEventListener(h.DATA_PROCESS_ERROR,this.XQ,this),this.YQ=i)},d.prototype.GQ=function(){return{seqNum:this.QO.seqNum,discontinuity:this.QO.discontinuity,demux:this.iy.config.demux,width:this.XL?this.XL.width:640,height:this.XL?this.XL.height:360,timescale:this.XL.timescale?this.XL.timescale:this.iy.timescale,duration:this.iy.duration,segDuration:this.QO.duration?this.QO.duration:-1,pcr:this.iy.getPCR(),frameRate:this.XL?this.XL.frameRate:30,mp4State:this.data.state?this.data.state.mp4:null,startOffsetTimestamp:this.iy.startOffsetTimestamp,startTime:this.QO.startTime,lastChunkEndTs:this.data.state?this.data.state.lastChunkEndTs:null,lastFrameDuration:this.data.state?this.data.state.lastFrameDuration:null,prevSegEndTimeStamps:this.iy.getPrevSegEndTimestamps(this.XL,this.QO),isAltAudioActive:!!this.data.state&&this.data.state.isAltAudioActive,live:this.iy.live,onlyMetadata:this.data.onlyMetadata,useEditBox:!0,userAgent:this.iy.userAgent,dash:this.iy.isDash(),type:this.XL.type}},d.prototype.execute=function(){this.PQ=0,this.QQ=!1,this.cT=!0,this.ZQ=Date.now(),this.JA=0,this.JQ=0,this.QO&&(this.QO.totalDownloadTime=0,this.QO.timeToFirstByte=0),this.KQ=Date.now(),this.FQ.start(),this.DQ&&this.UQ&&this.$Q(),this.tZ()},d.prototype.cancel=function(){this.iZ(),this.zD.reset()},d.prototype.iZ=function(){this.FQ.reset(),this.YQ&&this.YQ.close(),this.cT=!1},d.prototype.$Q=function(){var t=this;if(t.DQ&&t.UQ){var i=t.XL.lastKey,n=t.DQ.keyUri;if(i&&i.keyUri&&i.key&&i.keyUri===n)t.nZ(i.key);else{t.UQ.addEventListener(e.COMPLETE,(function(i){t.nZ(i)}),t),t.UQ.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.UQ.load(n)}}},d.prototype.tZ=function(){var t=this;if(t.zD){var i=t.qG;t.zD.addEventListener(e.COMPLETE,(function(){t.HD()}),t),t.zD.addEventListener(e.PROGRESS,(function(i,n){t.sZ(i,n)}),t),t.zD.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.zD.addEventListener(e.BYTES_LOADED,(function(i,n){t.eZ(i,n)}),t),t.zD.load(i)}},d.prototype.eZ=function(t,i){this.QO&&0===this.QO.timeToFirstByte&&(this.QO.timeToFirstByte=Date.now()-this.KQ,this.__controller.sendEvent(a.SEGMENT_FIRST_BYTE_LOADED,i),this.publish(v.CMD_PROGRESS,this,{position:"firstByte"})),this.JA+=Math.max(t-this.PQ,0),this.PQ=t},d.prototype.sZ=function(t,i){i!==this.PQ&&this.eZ(i),this.YQ&&this.YQ.append(t)},d.prototype.HD=function(){this.zQ(),this.FQ.stop();var t=this.rZ();this.YQ&&this.YQ.endOfSegment(),t>0&&this.BQ.replaceSamples(this.PQ,t)},d.prototype.nZ=function(t){t.type="key",t.initVector=this.DQ.initVector,t.seqNum=this.QO.seqNum,this.QO.encryptionData.key=t,this.XL.lastKey=this.DQ,this.YQ.append(t)},d.prototype.WQ=function(t){t&&(t.putParam&&(this.xQ&&t.putParam("perfInfo",this.xQ),t.putParam("bytesTotal",this.PQ)),this.publish(v.CMD_PROGRESS,this,t))},d.prototype.qQ=function(t){this.publish(v.CMD_COMPLETE,this,t)},d.prototype.XQ=function(){},d.prototype.zQ=function(){var t=Math.max(this.JA,0),i=Date.now();this.JQ=i-this.ZQ,this.FQ.reset(),this.BQ&&this.JQ>10&&(this.ZQ=i,this.QO&&(this.QO.totalDownloadTime+=this.JQ),this.JA=0,this.BQ.addSample({size:t,time:this.JQ})),this.FQ.start()},d.prototype.rZ=function(){var t=this.CQ?this.CQ.getPerformanceTiming(["startTime","requestStart","responseStart","responseEnd","secureConnectionStart","fetchStart","connectStart","domainLookupStart"],this.qG):null;return this.xQ=t,t&&t.responseEnd&&t.startTime?t.responseEnd-t.startTime:null}},nyAz:function(t,i,n){"use strict";t.exports={useWorker:!0,maxRetries:5,maxBuffer:60,maxTotalBuffer:300,requestTimeout:10,chunkedRequestTimeout:5,pastBufferLengthLimit:{vod:180,live:10},segmentLoadMonitorInterval:1,preloadBufferLimit:0,skipGapLimit:.5,variableMinBuffer:!0,minBufferTime:{vod:.1,live:4},sendAbrAnalytics:!1,demux:{startChunkWithKeyFrame:!0},stopBufferingOnPause:!1,dimensions:{width:640,height:360},bwHistoryMaxAge:300}},oIMU:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.MEDIA_ITEM_NEED_SOURCE="mediaItemNeedSource",i.MEDIA_ITEM_ERROR="mediaItemError",i.MEDIA_ITEM_METADATA="mediaItemMetadata",i.MEDIA_ITEM_ADDED="mediaItemAdded",i.MEDIA_ITEM_REMOVED="mediaItemRemoved",i.MEDIA_ITEM_CURRENT="mediaItemCurrent",i.MEDIA_ITEM_COMPLETE="mediaItemComplete",i.AD_BREAK_STARTED="adBreakStarted",i.AD_BREAK_ENDED="adBreakEnded",i.AD_BREAK_ITEM_CURRENT="adBreakItemCurrent",i.AD_BREAK_ITEM_PLAYBACK_STARTED="adPlaybackStarted",i.AD_BREAK_ITEM_ENDED="adBreakItemEnded",i.AD_BREAK_ITEM_ERROR="adBreakItemError",i.AD_BREAK_ITEM_SKIPPED="adBreakItemSkipped",i.AD_BREAK_ITEM_CLICKED="adBreakItemClicked",i.AD_METRICS="adMetrics",i.OPSS_VISIBILITY_CHANGED="opssVisibilityChanged",i.TIMED_METADATA_RECEIVED="timedMetadataReceived",i.ERROR="player-error",i.WARNING="player-warning",i.INFO="player-info",i.INTERNAL_INFO="playerInternalInfo",i.INTERNAL_ERROR="playerInternalError",i.KEYDOWN="keydown",i.WINDOW_ON_FOCUS="focus",i.WINDOW_ON_BLUR="blur",i.START_SCREEN_RENDERED="startScreenRendered",i.START_SCREEN_CLICK="startScreenClick",i.END_SCREEN_RENDERED="endScreenRendered",i.CTRL_ENDSCREEN_VID="selectedEndscreenVideo",i.RELATED_ITEM_CLICK="relatedItemClick",i.UP_NEXT_PG_CLICK="upNextPgClick",i.SEEK_BAR_MOUSEOVER="seekBarMouseover",i.SEEK_BAR_MOUSEOUT="seekBarMouseout",i.TOGGLE_PLAY_PAUSE="togglePlayPause",i.CONTROLS_SEEK_START="controlsSeekStart",i.CONTROLS_SEEK_END="controlsSeekEnd",i.CONTROLS_SEEKING="controlsSeeking",i.CONTROLS_SET_VOLUME="controlsSetVolume",i.CONTROLS_SET_MUTE="controlsSetMute",i.FULLSCREEN_CHANGE="fullscreenChange",i.PLAYER_DIMENSION_CHANGE="playerDimensionChange",i.METADATA_AVAILABLE="metadataAvailable",i.MORE_ITEMS_LOADED="moreItemsLoaded",i.RENDERER_SWITCHED="rendererSwitched",i.TOUCH_TO_PLAY_RESTRICTION_REMOVED="mobileTouchPlayRestrictionRemoved",i.RENDER_PLAYLIST_FIRST_BATCH="renderPlaylistFirstBatch",function(t){t.TOGGLE_PLAYING="cTogglePlaying",t.BUFFERING="cBuffering",t.MEDIA_CHANGED="cMediaChanged",t.PLAYBACK_PROGRESS="cPlaybackProgress",t.VIDEO_ENDED="cVideoEnded",t.PLAYLIST_ENDED="cPlaylistEnded",t.CONNECTION_STATUS_CHANGED="cConnChanged",t.VOLUME_CHANGED="cReceiverVolumeChanged",t.MUTE_CHANGED="cReceiverMuteChanged",t.CAPTION_AVAILABILITY_CHANGED="cCaptionsAvailabilityChanged"}(i.CAST||(i.CAST={})),i.CONTROLS_AUDIO_CHANGE="controlsAudioChange",i.MULTI_LANGUAGES_AVAILABLE="multiLanguagesAvailable",i.THREE_SIXTY_READY="360Ready",i.THREE_SIXTY_INTERACT="360Interact",i.THREE_SIXTY_PIE_INTERACT="360PieInteract",i.PLAYER_RESIZE="playerResize",i.VTT_SEGMENT_LOADED="vttSegmentLoaded",i.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",i.MEDIA_PLAYLIST_UPDATED="mediaPlaylistUpdated",i.SUBTITLE_PLAYLIST_UPDATED="subtitlePlaylistUpdated",i.LIVE_LOADING_LATE="liveLoadingLate",i.RECOVERY_START="recoveryStart",i.RECOVERY_METADATA_READY="recoveryMetadataReady",i.ER_READY="erReady",i.ER_ERROR="erError",i.CONVIVA_READY_FOR_SESSION_CREATION="convivaReadyForSessionCreation",i.PLAYBACK_INFO="playbackInfo",i.SUBTITLE_TRACK_RECEIVED="subtitleTrackReceived",i.AD_SUBTITLE_TRACK_ADDED="adSubtitleTrackAdded",i.PAGE_VISIBILITY_CHANGED="pageVisibilityChanged",i.LIVE_RELOAD_MEDIA="reloadMedia",function(t){t.INFO_UPDATE="infoUpdate",t.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",t.SEGMENT_RENDERED="segmentRendered",t.VTT_SEGMENT_LOADED="vttSegmentLoaded",t.STREAM_SWITCHED="streamSwitched",t.LIVE_LOADING_LATE="liveLoadingLate",t.STREAM_UPDATED="streamUpdated",t.HLS_WAITING="hlsWaiting",t.CUEPOINT_DETECTED="cuepointDetected",t.CUEPOINT_STARTED="cuepointStarted",t.SUBTITLE_STREAM_UPDATED="subtitleStreamUpdated",t.PRELOAD_PROGRESS="preloadProgress",t.SEGINFO_METRICS_AVAILABLE="segInfoMetricsAvailable",t.CONTENT_LOAD_FINISHED="contentLoadFinished",t.PRELOAD_START="preloadStart",t.PRELOAD_COMPLETE="preloadComplete",t.BUFFER_GROWTH_DETECTED="bufferGrowthDetected",t.BUFFER_GAP_DETECTED="bufferGapDetected",t.CC_VTT_AVAILABLE="ccVttAvailable",t.MULTI_LANGUAGES_AVAILABLE="multiLanguagesAvailable",t.TIMED_METADATA_READY="timedMetadataReady",t.MEDIA_METADATA_LOADED="mediaMetadataLoaded"}(i.HLSVideoEvent||(i.HLSVideoEvent={})),i.SEG_INFO_AVAILABLE="segInfoAvailable",i.CONTENT_LOAD_FINISHED="contentLoadFinished",i.PRELOAD_START="preloadStart",i.PRELOAD_PROGRESS="preloadProgress",i.PRELOAD_COMPLETE="preloadComplete",i.BUFFER_GROWTH_DETECTED="bufferGrowthDetected",function(t){t.SRC_SWITCHING="videoSrcSwitching",t.SRC_SWITCHED="videoSrcSwitched",t.CLICK="videoClick",t.PAUSE="pause",t.ENDED="ended",t.ERROR="error",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting"}(i.VideoEvent||(i.VideoEvent={})),i.VIDEO_REQUEST="videoRequest",i.PLAYBACK_REQUEST="playbackRequest",i.PLAYBACK_STARTED="playbackStarted",i.PLAYBACK_RESUMED="playbackResumed",i.PLAYBACK_PROGRESS="playbackProgress",i.PLAYBACK_STALLED="playbackStalled",i.PLAYBACK_COMPLETE="playbackComplete",i.PLAYBACK_STOPPED="playbackStopped",i.PLAYBACK_ERROR="playbackError",i.API_CALLED="apiCalled",i.CTRL_PLAYPAUSE="ctrlPlayPause",i.CTRL_SEEK="ctrlSeek",i.CTRL_VOLUME="ctrlVolume",i.CTRL_FULLSCREEN="ctrlFullscreen",i.CTRL_SETTINGS="ctrlSettings",i.CTRL_REPLAY="ctrlReplay",i.CTRL_PLAYREQUEST="ctrlPlayRequest",function(t){t.SETTINGS="ccSettings",t.TOGGLE="ccToggle",t.UI_TOGGLE="ccUiToggle",t.REQUEST_UI_DATA_FOR_MEDIA_ITEM="ccRequestUiDataForMediaItem",t.REMOVED="ccDestroy",t.SHOW_CONTROLS="ccShowControls",t.LANGUAGE_CHANGE="ccLangChange",t.CC_OPTIONS_LANGUAGE_CHANGE="ccOptionsLangChange",t.FONT_SIZE_CHANGE="ccFontSizeChange",t.FONT_FACE_CHANGE="ccFontFaceChange",t.BG_OPACITY_CHANGE="ccBgOpacityChange",t.USER_STYLE_PREFERENCES_CHANGE="ccUserStylePrefChange",t.UPDATE_STYLE="ccUpdateStyle",t.POSITION_CHANGE="ccPosChange",t.POSITION_FLOAT="ccPosFloat"}(i.CCEvent||(i.CCEvent={})),function(t){t.GET_BITRATE_FOR_OPSS="ctvGetBitrateForOpss"}(i.CTV||(i.CTV={})),i.BEFORE_PROGRESS_BEACON="beforeProgressBeacon",i.BEFORE_INCOMPLETE_EXIT="beforeIncompleteExit",i.METRICS={INIT_TO_STARTSCREEN:{type:"titssc"},CLICK_TO_START:{type:"ttsapf"},INIT_TO_START:{type:"ttsapt"},PLAYBACK_START:{type:"tpb"},INIT_CONT_PLAY_START:{type:"tcps"},PLAYBACK_STALLED:{type:"tps"},LOAD_TO_LOADED_DATA:{type:"tltld"},CMS_REQUEST:{type:"tsapic"},CMS_SOURCE_REQUEST:{type:"tssrcapic"},CMS_MORE_ITEMS_REQUEST:{type:"tsmiapic"},INIT_RENDER_GAP:{type:"tirg"},SET_WATCH_HISTORY:{type:"tsetwh"},VP_CONSTRUCTOR:{type:"tcons"},GET_USER_PREFS:{type:"tgetcc"},CREATE_RENDERER:{type:"trcreate"},STREAM_REQUEST_TO_RENDER:{type:"treqtr"},STREAM_PLAY_TO_RENDER:{type:"tsltps"},AD_PLUGIN:{type:"tadp"}},function(t){t.ORIENTATION_CHANGE="deviceOrientationChange"}(i.Device||(i.Device={})),i.PROFILE_START="profileStart",i.PROFILE_END="profileEnd"},oYNg:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=n("+Ojf"),r=n("yegX"),h=function(){function t(t,i,n,s){var h=this;this.mC=t,i.adBreakId=i.adBreakId||e.default.generateGuid(),this.hZ=e.default.deepCopy(i),this.XI=n,this.QI=s,this.adBreakId=i.adBreakId,Array.isArray(i.adBreakItems)&&(this.adBreakItems=i.adBreakItems.map((function(t){return new r.default(h,t,n,s)}))),this.bH=i.duration||0,0===this.bH&&this.adBreakItems&&this.adBreakItems.forEach((function(t){h.bH+=t.duration||0})),this.customInfo=i.customInfo,this.startOffset=i.startOffset,this.type=i.type,this.mimetype=i.mimetype||"",this.backToLiveDuration=i.backToLiveDuration||0,this.startTime=i.startTime||0,this.active=i.active||!0}return Object.defineProperty(t.prototype,"mediaItem",{get:function(){return this.mC},enumerable:!0,configurable:!0}),t.prototype.appendAdBreakItems=function(t){var i=this;t.forEach((function(t){if(!i.oZ(t.adBreakItemId)){var n=new r.default(i,t,i.XI,i.QI);i.adBreakItems.push(n),i.bH+=n.duration||0}}))},t.prototype.insertAdBreakItems=function(t,i){var n=this,s=i;t.forEach((function(t){if(!n.oZ(t.adBreakItemId)){var i=new r.default(n,t,n.XI,n.QI);n.adBreakItems.splice(s,0,i),n.bH+=i.duration||0,s++}}))},t.prototype.removeAdBreakItems=function(t){var i,n=this,s=this.adBreakItems.length;t.forEach((function(t){n.oZ(t.adBreakItemId)&&function(t){for(i=0;i<s;i++)if(n.adBreakItems[i].adBreakItemId===t.adBreakItemId){n.bH-=t.duration||0,n.bH<0&&(n.bH=0),n.adBreakItems.splice(i,1);break}}(t)}))},t.prototype.setActive=function(t){s.isBoolean(t)&&(this.active=t)},t.prototype.backToLive=function(){},t.prototype.breakNow=function(){},Object.defineProperty(t.prototype,"rawItemData",{get:function(){return e.default.deepCopy(this.hZ)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.bH},enumerable:!0,configurable:!0}),t.prototype.hasResolved=function(){return!(!this.adBreakItems||0===this.adBreakItems.length)},t.prototype.oZ=function(t){return this.adBreakItems.some((function(i){return i.adBreakItemId===t}))},t}();i.default=h},oorc:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e,r,h,o,u,a,c,f,l=n("PCHl"),v=n("8PPl"),d=n("xqNZ"),p=n("rBpt"),m=n("+Ojf"),b=n("X1lw"),y=n("ECHB");!function(t){t.Main=".vp-ccs-main",t.Extra=".vp-ccs-extra",t.Options=".vp-ccs-options"}(s=i.SettingsSubContainers||(i.SettingsSubContainers={})),function(t){t.Toggle=".vp-ccs-toggle",t.ToggleLabel='.vp-ccs-listitem[data-item-type="Closed Captions"] .vp-ccs-value',t.LanguageListItem='.vp-ccs-listitem[data-item-type="Caption Languages"]',t.HeaderListItem='.vp-ccs-listitem[data-item-type="header"]',t.Item=".vp-ccs-item",t.Value=".vp-ccs-value",t.ListItem=".vp-ccs-listitem",t.ListOptions=".vp-ccs-listoptions",t.Pointer=".vp-ccs-pointer",t.CheckMark=".vp-ccs-checkmark",t.Preview="vp-ccs-preview"}(e=i.ItemClasses||(i.ItemClasses={})),function(t){t.Plain="none",t.Dropshadow="dropshadow",t.Raised="raised",t.Depressed="depressed",t.Uniform="uniform"}(r=i.CCEffects||(i.CCEffects={})),function(t){t.Top="top",t.Bottom="bottom"}(h=i.CCPosition||(i.CCPosition={})),function(t){t["Extra Small"]="16",t.Small="20",t.Medium="24",t.Large="28",t["Extra Large"]="32"}(o=i.CCFontSize||(i.CCFontSize={})),function(t){t.Georgia="Georgia, serif",t["Palatino Linotype"]='"Palatino Linotype", "Book Antiqua", Palatino, serif',t["Times New Roman"]='"Times New Roman", Times, serif',t.Helvetica="Helvetica, sans-serif",t.Arial="Arial, Helvetica, sans-serif",t["Arial Black"]='"Arial Black", Gadget, sans-serif',t["Comic Sans MS"]='"Comic Sans MS", cursive, sans-serif',t.Impact="Impact, Charcoal, sans-serif",t["Lucida Sans Unicode"]='"Lucida Sans Unicode", "Lucida Grande", sans-serif',t.Tahoma="Tahoma, Geneva, sans-serif",t["Trebuchet MS"]='"Trebuchet MS", Helvetica, sans-serif',t.Verdana="Verdana, Geneva, sans-serif",t["Courier New"]='"Courier New", Courier, monospace',t["Lucida Console"]='"Lucida Console", Monaco, monospace'}(u=i.CCFontFamily||(i.CCFontFamily={})),function(t){t.White="#FFFFFF",t.Grey="#E7E7E7",t.Black="#000000",t.Red="#FC2525",t.Green="#29FD2F",t.Blue="#2524FB",t.Cyan="#2CFEFE",t.Yellow="#FEF149",t.Magenta="#EC369C"}(a=i.CCFontColor||(i.CCFontColor={})),function(t){t.White="#FFFFFF",t["Light Gray"]="#c7c7c7",t.Gray="#919191",t["Dark Gray"]="#5b5b5b",t.Black="#000000",t.Red="#FC2424",t.Green="#29FD2F",t.Blue="#2424FB",t.Cyan="#2CFDFD",t.Yellow="#FDF048",t.Magenta="#EC359B"}(c=i.CCBackgroundColor||(i.CCBackgroundColor={})),function(t){t.Transparent="0",t["25%"]="25",t["50%"]="50",t["75%"]="75",t["100%"]="100"}(f=i.CCBackgroundTransparency||(i.CCBackgroundTransparency={}));var g={Effects:r,Position:h,"Font Size":o,"Font Family":u,"Font Color":a,"Background Color":c,"Background Transparency":f};i.ExtraSettingsDefaultValues={Effects:"Plain",Position:"Bottom","Font Size":"Medium","Font Family":"Helvetica","Font Color":"White","Background Color":"Black","Background Transparency":"75%"},i.DEFAULT_CC_DATA={selectedLang:"en-us",langList:["en-us"]},i.ACTIVATION_CLASSES={OPEN:"vp-open",VISBILITYHIDDEN:"vp-vis-hide",VISBILITYSHOW:"vp-vis-show",ACTIVE:"vp-active",ON:"vp-on"};var w=n("9gA9"),S=n("e/9d");function E(t){return m.default.classList(t)}var O=function(){function t(t,i){this.v_=t,this.iy=i}return t.prototype.create=function(){this.uZ(),this.Yz=m.default.render(w,{strings:d}),this.aZ(),this.cZ=this.fZ,this.lZ(),this.vZ=null,this.updateAvailableLanguages(i.DEFAULT_CC_DATA),this.dZ=document.createElement("div"),this.dZ.innerHTML="Captions will look like this",E(this.dZ).add(e.Preview),E(this.dZ).add("vp-vis-hidden");var t=this.v_.getMainElement();return t&&t.appendChild(this.dZ),this.syncMenuUI(),this.onPlayerResize(this.iy.uiState),this.Yz},t.prototype.syncMenuUI=function(){this.pZ(),this.mZ(),this.bZ()},t.prototype.showActiveContainer=function(t){this.yZ&&clearTimeout(this.yZ),this.cZ&&E(t).add(i.ACTIVATION_CLASSES.OPEN),this.cZ&&E(this.cZ).add(i.ACTIVATION_CLASSES.OPEN)},t.prototype.hideActiveContainer=function(t){var n=this;this.cZ&&E(this.cZ).remove(i.ACTIVATION_CLASSES.OPEN),this.cZ&&E(t).remove(i.ACTIVATION_CLASSES.OPEN),this.yZ&&clearTimeout(this.yZ),this.yZ=window.setTimeout((function(){n.cZ=n.fZ}),1e4)},t.prototype.updateCCToggleState=function(t){var n=this.gZ.ccToggleNode,s=this.gZ.ccToggleLabel;t?E(n).add(i.ACTIVATION_CLASSES.ON):E(n).remove(i.ACTIVATION_CLASSES.ON),s.innerHTML=t?"ON":"OFF"},t.prototype.destroy=function(){this.wZ.forEach((function(t){return t.destroy()})),this.SZ.forEach((function(t){return t.destroy()})),this.wZ=null,this.SZ=null,this.vZ=null,this.EZ=null,this.OZ=null,this.AZ=null,this.gZ=null,this._Z=null,this.Yz=null,this.fZ=null,this.TZ=null,this.MZ=null,this.cZ=null},t.prototype.updateAvailableLanguages=function(t){this.OZ=this.OZ||[],this.AZ=t.selectedLang||this.AZ,t&&t.langList&&t.langList.length&&(this.OZ=t.langList),this.bZ()},t.prototype.onPlayerResize=function(t){t&&t.width&&t.height&&(t.width>=v.HideBreakpointDimensions.WIDTH&&t.height>=v.HideBreakpointDimensions.HEIGHT?this.Yz&&E(this.Yz).remove(i.ACTIVATION_CLASSES.VISBILITYHIDDEN):this.Yz&&E(this.Yz).add(i.ACTIVATION_CLASSES.VISBILITYHIDDEN))},t.prototype.IZ=function(){var t=this;if(this.dP=this.v_.getCCElement(),this.dP){var n=this.dP.querySelector("span").style,s=this.dP.style;this.dZ.style.fontFamily=s.fontFamily,this.dZ.style.fontSize=s.fontSize,this.dZ.style.top=this.iy.ccUserPreferences.ccPos===h.Top?"5%":"",this.dZ.style.bottom=this.iy.ccUserPreferences.ccPos===h.Bottom?"16%":"",this.dZ.style.left=s.left||"2.5%",this.dZ.style.color=s.color,this.dZ.style.textShadow=s.textShadow,this.dZ.style.backgroundColor=n.backgroundColor,this.dP.style.visibility="hidden",E(this.dZ).add(i.ACTIVATION_CLASSES.ACTIVE),this.jZ&&clearTimeout(this.jZ),this.jZ=window.setTimeout((function(){t.dP.style.visibility="visible",E(t.dZ).remove(i.ACTIVATION_CLASSES.ACTIVE)}),2e3)}},t.prototype.uZ=function(){var t=p.LocalStorage.get(l.CC_LOCAL_STORAGE)?p.LocalStorage.get(l.CC_LOCAL_STORAGE).ccSettingsMenu:null;t||l.CCController.saveCCSettingsToLocalStorage({ccSettingsMenu:i.ExtraSettingsDefaultValues}),this.EZ=t||i.ExtraSettingsDefaultValues},t.prototype.bZ=function(){var t=l.CCController.getLanguageForCode(this.AZ),i=this.gZ.languageNode.querySelector(e.Value);i&&(i.innerHTML=t),this.vZ&&"Language"===this.vZ&&this.NZ(t)},t.prototype.mZ=function(){if(this.vZ){var t=this.EZ[this.vZ];this.NZ(t)}},t.prototype.NZ=function(t){var n=this.MZ.querySelectorAll(e.ListItem);Array.prototype.forEach.call(n,(function(n){var s=n.querySelector(e.CheckMark);n.dataset.itemType!==t?(E(n).remove(i.ACTIVATION_CLASSES.ACTIVE),E(s).remove(i.ACTIVATION_CLASSES.VISBILITYSHOW)):(E(n).add(i.ACTIVATION_CLASSES.ACTIVE),E(s).add(i.ACTIVATION_CLASSES.VISBILITYSHOW))}))},t.prototype.pZ=function(){var t=this,i=this.TZ.querySelectorAll(e.ListItem);Array.prototype.forEach.call(i,(function(i){var n,s=i.dataset.itemType;"header"!==s&&(i.querySelector(e.Value).innerHTML=(n=t.EZ[s])&&n.replace(/\s/g,"&nbsp;"))}))},t.prototype.aZ=function(){this.fZ=this.Yz.querySelector(s.Main),this.gZ={headerNode:this.fZ.querySelector(e.HeaderListItem),ccToggleNode:this.fZ.querySelector(e.Toggle),ccToggleLabel:this.fZ.querySelector(e.ToggleLabel),languageNode:this.fZ.querySelector(e.LanguageListItem)},this.RZ()},t.prototype.RZ=function(){var t=this;this.wZ=[],this.wZ.push(new y.default(this.gZ.headerNode,(function(){t.kZ(s.Extra)}))),this.wZ.push(new y.default(this.gZ.languageNode,(function(){t.LZ(),t.kZ(s.Options)}))),this.wZ.push(new y.default(this.gZ.ccToggleNode,this.DZ.bind(this)))},t.prototype.LZ=function(){var t=this;this.CZ("Language",s.Main);var i=this.MZ.querySelector(e.ListOptions);this.OZ.forEach((function(n){var s=l.CCController.getLanguageForCode(n),e=t.PZ(!1,s,null);i.appendChild(e),t.SZ.push(new y.default(e,(function(){t.xZ(n)})))})),this.vZ="Language",this.bZ()},t.prototype.xZ=function(t){this.AZ=t,this.v_.onlanguageChange(t),this.v_.updateClosedCaptionButtonState(!0),this.bZ()},t.prototype.DZ=function(){var t=E(this.gZ.ccToggleNode).contains(i.ACTIVATION_CLASSES.ON)||!1;this.v_.publish(b.ControlsEvent.TOGGLE_CC,!t,!0),this.v_.updateClosedCaptionButtonState(!t)},t.prototype.lZ=function(){var t=this;this.TZ=this.Yz.querySelector(s.Extra),this.MZ=this.Yz.querySelector(s.Options),this._Z={headerNode:this.MZ.querySelector(e.HeaderListItem),headerValue:this.MZ.querySelector(e.Item)},this.wZ.push(new y.default(this.TZ.firstElementChild,(function(){t.kZ(s.Main)})));var i=this.TZ.querySelector(e.ListOptions);Object.keys(this.EZ).forEach((function(n){var e=t.PZ(!0,n,t.EZ[n]);i.appendChild(e);var r=e.dataset.itemType;t.wZ.push(new y.default(e,(function(){t.kZ(s.Options),t.UZ(r)})))}))},t.prototype.PZ=function(t,i,n){return m.default.render(S,{caratRequired:t,itemContent:i,valueContent:n,valueRequired:!!n})},t.prototype.kZ=function(t){var n=this;Object.keys(s).map((function(e){var r=n.Yz.querySelector(s[e]);s[e]===t?(E(r).add(i.ACTIVATION_CLASSES.OPEN),n.cZ=r):E(r).remove(i.ACTIVATION_CLASSES.OPEN)}))},t.prototype.CZ=function(t,i){var n=this;this.SZ&&this.SZ.length&&this.SZ.forEach((function(t){return t.destroy()})),this.SZ=[];var s=this.MZ.querySelector(e.ListOptions),r=s.querySelectorAll(e.ListItem);Array.prototype.forEach.call(r,(function(t){"header"!==t.dataset.itemType&&s.removeChild(t)})),this.SZ.push(new y.default(this._Z.headerNode,(function(){n.kZ(i)}))),this._Z.headerValue.innerHTML=t},t.prototype.UZ=function(t){var i=this;this.CZ(t,s.Extra);var n=g[t],r=this.MZ.querySelector(e.ListOptions);Object.keys(n).map((function(s){var e=i.PZ(!1,s,null);r.appendChild(e),i.SZ.push(new y.default(e,(function(){var e=n[s];i.VZ(t,e,s)})))})),this.vZ=t,this.NZ(this.EZ[t])},t.prototype.VZ=function(t,i,n){if(this.iy.ccUserPreferences){var s,e=this.iy.ccUserPreferences;switch(t){case"Effects":e.fontEffect=i;break;case"Position":e.ccPos=i;break;case"Font Size":e.fontSize=Number(i),s="size: "+i;break;case"Font Family":e.fontName=i,s="font: "+i;break;case"Font Color":e.fontColor=i;break;case"Background Color":e.bgColor=i;break;case"Background Transparency":try{var r=Number(i);e.bgOpacity=r/100,s="opacity: "+r}catch(t){return}}this.v_.updateClosedCaptionStyle(s),this.EZ[t]=n,l.CCController.saveCCSettingsToLocalStorage({ccSettings:e,ccSettingsMenu:this.EZ}),this.syncMenuUI(),this.IZ()}},t}();i.default=O},"p/Bv":function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("zW5x"),r=function(){function i(t){this.name="SapiSourcePlugin",this.version="8.1.398",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.SOURCE_METADATA,this.H_=!1,this.$P=2,this.or={},this.BZ=!0,this.jS=new e.default(t)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.or=t},i.prototype.resolve=function(i,n,s){var e;if(this.jS.parseMediaItemsResponse(i),!(Array.isArray(i)&&i.every(this.FZ))||this.H_||this.BZ){e=this.H_?0:this.$P;var r=this.or.qs||{};this.jS.resolve(i,r,n,s,e)}else i.length>0&&t((function(){s.onComplete(i)}));this.H_=!1},i.prototype.recover=function(t,i,n){t&&(this.H_=!0,this.resolve([t],i,n))},i.prototype.cancel=function(){this.jS.cancel()},i.prototype.destroy=function(){this.cancel()},i.prototype.FZ=function(t){return!!(t&&t.source&&t.source.streams&&t.source.streams[0]&&t.source.streams[0].url)},i}();i.default=r}).call(this,n("URgk").setImmediate)},pBvk:function(t,i,n){"use strict";var s=t.exports.Validator=n("KUzV");t.exports.ValidatorResult=n("H0QZ").ValidatorResult,t.exports.ValidationError=n("H0QZ").ValidationError,t.exports.SchemaError=n("H0QZ").SchemaError,t.exports.SchemaScanResult=n("DTfC").SchemaScanResult,t.exports.scan=n("DTfC").scan,t.exports.validate=function(t,i,n){return(new s).validate(t,i,n)}},pM7s:function(t,i){},pwzT:function(t,i,n){"use strict";function s(){this.LOCALSTORAGE_PREFIX="com.yahoo.yep",this.zZ=this.HZ()}t.exports=s,s.prototype.HZ=function(){return"localStorage"in window&&null!==window.localStorage},s.prototype.writeProperty=function(t,i){this.zZ&&(i=JSON.stringify(i),t=this.LOCALSTORAGE_PREFIX+"."+t,window.localStorage.setItem(t,i))},s.prototype.readProperty=function(t){if(!t||!t.length)return null;if(this.zZ){t=this.LOCALSTORAGE_PREFIX+"."+t;var i=JSON.parse(window.localStorage.getItem(t));return i||null}return null}},q5U7:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("oIMU"),u=n("mczr"),a=n("1get"),c=n("+Ojf"),f=n("eU8N"),l=n("+kCX"),v=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e}return e(i,t),i.canUse=function(){return!h.userAgent.tv&&(a.default.is360Supported()&&t.canUse.call(this))},i.prototype.create=function(i){return t.prototype.create.call(this,i),this.fU(),this.container},i.prototype.destroy=function(){this.lU(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.vU?(this.dU(),t()):this.pU=this.ty.addEventListener(o.THREE_SIXTY_READY,(function(){i.dU(),t()}),this)},i.prototype.fU=function(){var t=this;this.vU=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.mU=document.createElement("div"),this.mU.classList.add("vp-360-node"),this.mU.style.position="absolute",this.container=document.createElement("div"),this.container.setAttribute("id",c.default.generateGuid()),this.container.classList.add("vp-360-video"),this.container.appendChild(this.node),this.container.appendChild(this.mU),this.bU().then((function(){t.yU()})).catch((function(t){})))},i.prototype.bU=function(){return new Promise((function(t,i){n.e(1).then(function(){r=n("Womt"),t(r)}.bind(null,n)).catch((function(t){i(t)}))}))},i.prototype.yU=function(){this.gU=new r.PerspectiveCamera(70,16/9,.01,1e3),this.gU.target=new r.Vector3(0,0,0);var t=new r.SphereBufferGeometry(500,64,32);t.scale(-1,1,1);var i=new r.VideoTexture(this.node);i.minFilter=r.NearestFilter;var n=new r.MeshBasicMaterial({map:i}),s=new r.Mesh(t,n);this.wU=new r.Scene,this.wU.add(s),this.SU=new r.WebGLRenderer,this.SU.setPixelRatio(window.devicePixelRatio),this.mU&&this.mU.appendChild(this.SU.domElement),this.EU=new f.default(this.container),this.EU.render(),this.OU=0,this.AU=0,this._U=!0,this.TU(),this.vU=!0,this.ty.publish(o.THREE_SIXTY_READY)},i.prototype.TU=function(){var t=this;this.MU=this.IU.bind(this),this.yN=this.jU.bind(this),this.NU=this.RU.bind(this),this.kU=this.LU.bind(this),this.gN=this.DU.bind(this),this.vR=this.CU.bind(this),this.container&&(this.container.addEventListener("mousedown",this.MU,!1),this.container.addEventListener("mousemove",this.yN,!1),this.container.addEventListener("mouseup",this.NU,!1),this.container.addEventListener("mouseover",this.kU,!1),this.container.addEventListener("mouseout",this.gN,!1),this.container.addEventListener("resize",this.vR,!1)),this.PU=this.xU.bind(this),this.UU=this.Qx.bind(this),this.VU=this.BU.bind(this),this.node&&(this.node.addEventListener("pause",this.PU),this.node.addEventListener("playing",this.UU),this.node.addEventListener("seeked",this.VU)),this.EU&&this.EU.addClickListener(this.FU.bind(this)),this.zU={},this.zU[o.PLAYER_RESIZE]=this.ty.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t.HU&&(i=window.screen.width,n=window.screen.height),t.YU(i,n)}),1)}),this),this.zU[o.FULLSCREEN_CHANGE]=this.ty.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t.HU=!!i}),this),this.zU[o.PLAYER_DIMENSION_CHANGE]=this.ty.addEventListener(o.PLAYER_DIMENSION_CHANGE,(function(){var i,n,s;t.node&&t.node.parentNode&&((i=window.getComputedStyle(t.node.parentNode))&&(n=parseInt(i.getPropertyValue("width"),10),s=parseInt(i.getPropertyValue("height"),10)),n&&!isNaN(n)&&s&&!isNaN(s)&&t.YU(n,s))}),this)},i.prototype.FU=function(){this.OU=0,this.AU=0,this.GU(),this.EU&&this.EU.update(this.OU),this.ty.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.WU=function(){var t=this;this.zU&&Object.keys(this.zU).forEach((function(i){t.ty.removeEventListener(i,t.zU[i])})),this.MU&&(this.container&&this.container.removeEventListener("mousedown",this.MU,!1),this.MU=null),this.yN&&(this.container&&this.container.removeEventListener("mousemove",this.yN,!1),this.yN=null),this.NU&&(this.container&&this.container.removeEventListener("mouseup",this.NU,!1),this.NU=null),this.kU&&(this.container&&this.container.removeEventListener("mouseover",this.kU,!1),this.kU=null),this.vR&&(this.container&&this.container.removeEventListener("resize",this.vR,!1),this.vR=null),this.kU&&(this.container&&this.container.removeEventListener("mouseover",this.kU,!1),this.kU=null),this.PU&&(this.node&&this.node.removeEventListener("pause",this.PU),this.PU=null),this.UU&&(this.node&&this.node.removeEventListener("playing",this.UU),this.UU=null),this.VU&&(this.node&&this.node.removeEventListener("seeked",this.VU),this.VU=null),this.pU&&(this.ty.removeEventListener(o.THREE_SIXTY_READY,this.pU),this.pU=null)},i.prototype.qU=function(){this.XU=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.QU&&(this.QU=!1,this._U=!0)},i.prototype.YU=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.gU&&(this.gU.setViewOffset(t,i,t-n,i-s,n,s),this.gU.updateProjectionMatrix()),this.SU&&this.SU.setSize(t,i)},i.prototype.ZU=function(){var t=this.ZU.bind(this);if(this._U&&this.JU)return window.cancelAnimationFrame(this.JU),void(this.JU=null);this.JU=window.requestAnimationFrame(t),this.GU()},i.prototype.GU=function(){this.AU=Math.max(-85,Math.min(85,this.AU));var t=r.Math.degToRad(90+this.AU),i=r.Math.degToRad(this.OU);this.gU&&(this.gU.position.x=500*Math.sin(t)*Math.cos(i),this.gU.position.y=500*Math.cos(t),this.gU.position.z=500*Math.sin(t)*Math.sin(i),this.gU.lookAt(this.gU.target),this.gU.position.copy(this.gU.target).negate(),this.wU&&this.SU&&this.SU.render(this.wU,this.gU))},i.prototype.lU=function(){this.JU&&window.cancelAnimationFrame(this.JU),this._U=!0,this.WU(),this.EU&&(this.EU.destroy(),this.EU=null),this.mU&&(this.mU.parentNode&&this.mU.parentNode.removeChild(this.mU),this.mU=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.gU=null,this.wU=null,this.SU=null},i.prototype.xU=function(){this.KU=!0,this._U=!0},i.prototype.Qx=function(){this.KU=!1,this._U=!1,this.ZU()},i.prototype.BU=function(){this.GU()},i.prototype.LU=function(){this.container&&this.container.classList.add("over-360")},i.prototype.IU=function(t){this.$U=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.XU=!0,this.tV=t.clientX,this.iV=t.clientY,this.nV=this.OU,this.sV=this.AU},i.prototype.jU=function(t){this.XU&&(this.KU&&!this.QU&&(this.QU=!0,this._U=!1,this.ZU()),this.$U=!0,this.OU=.1*(this.tV-t.clientX)+this.nV,this.AU=.1*(t.clientY-this.iV)+this.sV,this.EU&&this.EU.update(this.OU))},i.prototype.RU=function(){this.XU&&(this.qU(),this.$U?this.ty.publish(o.THREE_SIXTY_INTERACT):this.ty.publish(o.TOGGLE_PLAY_PAUSE)),this.$U=!1},i.prototype.DU=function(){this.qU()},i.prototype.CU=function(){this.container&&this.YU(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.dU=function(){this.pU&&(this.ty.removeEventListener(o.THREE_SIXTY_READY,this.pU),this.pU=null),!this.eV&&this.SU&&this.container&&(this.SU.setSize(this.container.offsetWidth,this.container.offsetHeight),this.eV=!0)},i.type=u.RendererType.HTML5_HLS_360,i}(l.default);i.default=v},q9al:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o,u,a=n("JcWZ"),c=n("8PPl"),f=n("mczr"),l=n("xqNZ"),v=n("v5jO"),d=n("+Ojf"),p=n("ECHB"),m=n("mY9v");i.SUPPORTED_RENDERER_TYPES=[f.RendererType.HTML5_HLS,f.RendererType.HTML5_HLS_360],function(t){t.SET_QUALITY="qualitySet",t.UI_INTERACT="uiInteract"}(r=i.SettingsEvent||(i.SettingsEvent={})),function(t){t.OPEN="vp-open",t.ACTIVE="vp-active",t.DISABLE="vp-disable",t.ON="vp-on"}(h=i.activationClasses||(i.activationClasses={})),function(t){t.low="low",t.medium="medium",t.high="high",t.auto="auto"}(o=i.StreamQualities||(i.StreamQualities={})),function(t){t.hdIcon="vp-settings-hdicon",t.low="vp-quality-low",t.medium="vp-quality-medium",t.high="vp-quality-high",t.auto="vp-quality-auto"}(u=i.itemClasses||(i.itemClasses={}));var b=function(t){function n(i){var n=t.call(this,"settings")||this;return n.iy=i,n.YZ={},n}return e(n,t),n.prototype.create=function(){return this._node=d.default.render(m,{strings:l.default,itemClasses:u}),this.GZ={low:this._node.querySelector("."+u.low),medium:this._node.querySelector("."+u.medium),high:this._node.querySelector("."+u.high),auto:this._node.querySelector("."+u.auto)},this.WZ=o.auto,this._node},n.prototype.onPlaybackStarted=function(t){this.shouldEnableSettings()&&(this.qZ(t),this.activateItem(o.auto))},n.prototype.onPlayerResize=function(t,i){t.width<=c.HideBreakpointDimensions.WIDTH&&t.height<=c.HideBreakpointDimensions.HEIGHT&&this.isOpen()&&this.toggleSettings(i)},n.prototype.activateItem=function(t){d.default.classList(this.GZ[this.WZ]).remove(h.ACTIVE),d.default.classList(this.GZ[o[t]]).add(h.ACTIVE),this.WZ=o[t]},n.prototype.toggleSettings=function(t){this.shouldEnableSettings()&&(this.isOpen()?(d.default.classList(this._node).remove(h.OPEN),d.default.classList(t).remove(h.OPEN)):(d.default.classList(this._node).add(h.OPEN),d.default.classList(t).add(h.OPEN)))},n.prototype.isOpen=function(){return d.default.classList(this._node).contains(h.OPEN)&&!d.default.classList(this._node).contains(h.DISABLE)},n.prototype.destroy=function(){var t=this;Object.keys(this.YZ).forEach((function(i){t.YZ[i].destroy()}))},n.prototype.shouldEnableSettings=function(){var t=this.iy.playbackState.rendererType,n=this.iy.playlist.getCurrentItem();return i.SUPPORTED_RENDERER_TYPES.indexOf(t)>-1&&n&&(n.streams.length>1||n.streamProfiles.length>1||this.iy.bitrates.length>1)},n.prototype.XZ=function(t,i){var n=this,s=this.GZ[i];this.YZ[i]=new p.default(s,(function(s){s.stopPropagation();var e="sr-"+i;n.publish(r.UI_INTERACT,{srcElement:e}),n.publish(r.SET_QUALITY,{preference:i,stream:t}),n.activateItem(i)}))},n.prototype.qZ=function(t){var i=this;this.QZ(t),Object.keys(this.GZ).filter((function(t){return!d.default.classList(i.GZ[t]).contains(h.DISABLE)})).forEach((function(t){i.XZ(i.ZZ[t],t)}))},n.prototype.QZ=function(t){var i=this,n=t.streams,s=t.streamProfiles,e=this.iy.capabilities[t.rendererType];if(n.length>1)this.ZZ=v.default.mapStreamsToQualities(n);else if(s.length>1)this.ZZ=v.default.mapStreamsToQualities(s);else if(this.iy.bitrates.length>1){var r=[];this.iy.bitrates.forEach((function(t,n){r.push({bitrate:t,height:i.iy.heights[n]})})),this.ZZ=v.default.mapStreamsToQualities(r)}this.ZZ=this.ZZ||{},this.ZZ.auto=v.default.findStreamByProperty(n,"bitrate",this.iy.desiredBitrate,e),Object.keys(this.GZ).forEach((function(t){var n=i.ZZ[t];if(n){d.default.classList(i.GZ[t]).remove(h.DISABLE);var s=i.GZ[t].querySelector("."+u.hdIcon);s&&n.height&&n.height>=720&&d.default.classList(s).add(h.ON)}else d.default.classList(i.GZ[t]).add(h.DISABLE)}))},n}(a.default);i.default=b},qKMm:function(t,i,n){"use strict";t.exports=S;var s=n("y5bh").HLSEvent,e=n("iSaY"),r=n("cDre"),h=r.StreamingController,o=r.Events,u=n("t8qO"),a=n("x7P6").MetadataTypes,c=n("2fkz").CmdNames,f=n("R6Gm"),l=n("HNE+"),v=n("jYym"),d=n("RwmF"),p=n("/iNa"),m=n("x7P6").Model,b=n("yCb9"),y=n("lPOR"),g=n("KtsB"),w=n("4oyL").userAgent;function S(t,i){d.call(this,this.constructor.name),this.Qy=t,this.Zy=i,this.model=this.create(m,t),this.services=this.create(b),this.qO=this.services.metadataParser,this.BE=this.create(f),this.JZ=this.create(h),this.KZ=this.create(u),this.oE=v.INITIAL,this.Sy={},this.$Z=this.Qy.config.inWorkerScope,this.zC(),this.EH=!1,this.tJ=!1,this.iJ=new l(250),this.iJ.addEventListener(this.nJ,this),this.initialize()}p.inherits(S,d),S.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.__controller=t,n.apply(s,i),s},S.prototype.destroy=function(){this.JZ&&(this.JZ.destroy(),this.JZ=null),this.KZ&&(this.KZ.destroy(),this.KZ=null),this.BE&&(this.BE.destroy(),this.BE=null),this.services&&(this.services.destroy(),this.services=null),this.iJ&&(this.iJ.destroy(),this.iJ=null),this.oE=v.INITIAL,this.removeEventListeners(this.Sy),d.prototype.destroy.call(this)},S.prototype.initialize=function(){this.sJ()},S.prototype.getSegInfo=function(){var t=this.JZ.getMetrics();return this.$Z&&this.sendEvent(s.SEG_INFO_METRICS_AVAILABLE,t),t},S.prototype.sendEvent=function(t,i){this.publish(t,i);var n=this.create(g,{type:y.MessageTypes.EVENT,id:t,args:[i],argNames:["eventData"]});this.eJ(n)},S.prototype.sendMessage=function(t,i,n,s){var e=this.create(g,{type:y.MessageTypes.MESSAGE,id:t,args:i,argNames:n});this.eJ(e,s)},S.prototype.notifyError=function(t){this.error=t;var i=this.oE;i!==v.ERROR&&this.rJ(v.ERROR),i!==v.PAUSED&&this.sendEvent(s.ERROR,"HlsError"===this.error.constructor.name?this.error.dto():this.error)},S.prototype.eJ=function(t,i){t&&this.Zy&&(t.addMedia(),this.Zy(t,i))},S.prototype.zC=function(){this.JZ.addEventListener(o.STREAM_METADATA_LOADED,this.hJ,this),this.JZ.addEventListener(o.STREAM_METADATA_LOAD_ERROR,this.oJ,this),this.JZ.addEventListener(o.PRELOAD_COMPLETE,this.nG,this),this.JZ.addEventListener(o.SEG_LOAD_PROGRESS,this.aG,this)},S.prototype.uJ=function(t){},S.prototype.rJ=function(t,i){this.uJ(t),this.oE=t,this.sendEvent(s.STATE_CHANGED,t),this.aJ(i)},S.prototype.getState=function(){return this.oE},S.prototype.aJ=function(t){switch(this.oE){case v.MEDIA_METADATA_LOADING:this.cJ();break;case v.MEDIA_METADATA_LOADED:if(this.sendEvent(s.MEDIA_METADATA_LOADED),this.model.isDash()){this.sendMessage(y.MessageIds.DRM_INIT),this.rJ(v.MEDIA_LOADED);break}this.rJ(v.STREAM_METADATA_LOADING);break;case v.STREAM_METADATA_LOADING:this.JZ.loadStream(this.model.getCurrentLoadingStream());break;case v.STREAM_METADATA_LOADED:this.rJ(v.MEDIA_LOADED);break;case v.MEDIA_LOADED:if(w.android&&w.chrome&&this.model.drmInfo&&this.model.drmInfo.length)return;this.fJ();break;case v.PRELOADING:this.JZ.onPreloadBegin(),this.sendEvent(s.PRELOAD_START),this.iJ.start();break;case v.PLAY_REQUESTED:this.iJ.start(),this.JZ.onPlay(t),this.tJ||(this.KZ.onPlayRequested(),this.tJ=!0);break;case v.PLAYING:this.JZ.onPlaying();break;case v.PLAY_COMPLETE:this.iJ.stop(),this.JZ.onComplete(),this.KZ.onComplete();break;case v.ERROR:this.iJ.stop(),this.JZ.onError(),this.BE.removeAllCommands(),this.KZ.onError()}},S.prototype.sJ=function(){var t=this.model.metadata;if(this.oE===v.INITIAL)return t.type===a.STRUCTURED?(this.model.build(this.qO.parse(t)),void(t.hasStreamMetadata?t.hasSubtitleMetadata?this.JZ.loadAllSubtitleStreams():this.rJ(v.MEDIA_LOADED):t.hasMediaMetadata&&this.rJ(v.MEDIA_METADATA_LOADED))):void this.rJ(v.MEDIA_METADATA_LOADING)},S.prototype.nJ=function(){this.oE<v.MEDIA_LOADED||(this.KZ.checkBuffering(),this.JZ.process())},S.prototype.onPlay=function(t){this.oE===v.ERROR&&this.error&&this.notifyError(this.error),this.oE<v.MEDIA_LOADED||(this.oE===v.PRELOADING&&(this.JZ.onPreloadEnd(),this.sendEvent(s.PRELOAD_COMPLETE)),this.rJ(v.PLAY_REQUESTED,t))},S.prototype.onPlaying=function(){this.oE<v.MEDIA_LOADED||(this.rJ(v.PLAYING),this.KZ.onPlaying())},S.prototype.onPause=function(){this.oE<v.MEDIA_LOADED||(this.JZ.onPause(),this.KZ.onPause(),this.rJ(v.PAUSED))},S.prototype.onSeeking=function(t){this.oE<v.MEDIA_LOADED||(this.EH=!0,this.JZ.onSeeking(t),this.KZ.onSeeking())},S.prototype.onSeeked=function(t){this.oE<v.MEDIA_LOADED||(this.EH=!1,this.JZ.onSeeked(t),this.KZ.onSeeked())},S.prototype.onComplete=function(){this.oE<v.MEDIA_LOADED||this.rJ(v.PLAY_COMPLETE)},S.prototype.onError=function(t){this.rJ(v.ERROR)},S.prototype.onTimeUpdate=function(t){this.lJ(t),this.KZ.onTimeUpdate(),this.JZ.onTimeUpdate(this.model.currentTime)},S.prototype.onUpdate=function(t){this.lJ(t),this.KZ.onTimeUpdate()},S.prototype.onSynchComplete=function(t){this.JZ.onSynchComplete(),this.KZ.onVideoSync(t)},S.prototype.onSynchMetadataReady=function(t){this.JZ.onSynchMetadataReady(t)},S.prototype.lJ=function(t){t&&(this.model.currentTime=t.currentTime,this.model.bufferedAndPending=t.bufferedAndPending,this.model.bufferLength=t.bufferLength,this.model.pendingBufferLength=t.pendingBufferLength,this.model.bufferedRanges=t.bufferedRanges,this.model.dimensions=t.dimensions,this.model.pixelRatio=t.pixelRatio,this.services.segmentMetrics.updateFrameStats(t.frameStats))},S.prototype.cJ=function(){var t=this.model.getMediaUrl(),i=t&&-1!==t.indexOf(".mpd"),n={url:t,withResponseHeaders:i};this.BE.executeCommand(c.CMD_MEDIA_LOAD,n,this)},S.prototype.onMediaLoadComplete=function(t,i){if(t)if(i){var n={rawData:i.data,headers:i.headers,type:a.RAW,url:t.data?t.data.url:"",cdn:this.model.getMediaCdn()};this.model.build(this.qO.parse(n)),this.BE.removeCommand(t),this.rJ(v.MEDIA_METADATA_LOADED)}else this.BE.removeCommand(t)},S.prototype.onMediaLoadError=function(t,i){t&&this.BE.removeCommand(t),i&&1===i.code&&(this.rJ(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD)))},S.prototype.hJ=function(){this.oE<v.MEDIA_LOADED&&this.rJ(v.STREAM_METADATA_LOADED)},S.prototype.oJ=function(){this.rJ(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD))},S.prototype.nG=function(){this.oE===v.PRELOADING&&(this.rJ(v.MEDIA_LOADED),this.sendEvent(s.PRELOAD_COMPLETE)),this.iJ.reset()},S.prototype.aG=function(){this.KZ.isBuffering()&&this.sendEvent(s.BUFFER_GROWTH_DETECTED)},S.prototype.vJ=function(t){for(var i=Object.keys(v),n=0;n<i.length;n++)if(t===v[i[n]])return i[n]},S.prototype.preload=function(t){t&&(this.model.config.preloadBufferLimit=t,this.model.bufferLength+this.model.pendingBufferLength<t&&this.oE===v.MEDIA_LOADED&&this.rJ(v.PRELOADING))},S.prototype.setABRMode=function(t){this.oE<v.MEDIA_LOADED||this.JZ.setABRMode(t)},S.prototype.setAudioLanguage=function(t){this.oE<v.MEDIA_LOADED||this.JZ.setAudioLanguage(t)},S.prototype.getMinimumBufferTime=function(){return this.KZ.getMinimumBufferTime()},S.prototype.suspendStreaming=function(){this.iJ.stop(),this.JZ.suspendStreaming()},S.prototype.resumeStreaming=function(){this.oE!==v.PRELOADING&&this.oE!==v.PLAY_REQUESTED&&this.oE!==v.PLAYING&&this.oE!==v.PAUSED||(this.JZ.resumeStreaming(),this.iJ.start())},S.prototype.fJ=function(){this.JZ.isInitialized()||(this.JZ.init(),this.sendEvent(s.MEDIA_LOADED),!this.model.live&&this.model.bufferLength+this.model.pendingBufferLength<this.model.config.preloadBufferLimit&&this.rJ(v.PRELOADING))},S.prototype.onGenerateRequestComplete=function(){this.fJ()}},qrnT:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("t8Yn"),e=n("Ld5f"),r=function(){function t(){this.name="ProviderBrandingPlugin",this.version="8.1.398",this.type=s.Plugin.PluginType.BRANDING,this.mimetype="branding/provider"}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t){var i=document.createElement("div"),n=this.dJ(t);return n?(i.innerHTML=n,i.children[0]):null},t.prototype.dJ=function(t){var i=t&&t.branding&&t.branding.providerId,s=i&&e.PROVIDER_BRANDING_TEMPLATES[i];return this.pJ(t)?(n("7fx/"),s.render()):null},t.prototype.pJ=function(t){var i=t&&t.branding&&t.branding.providerId,n=i&&e.PROVIDER_BRANDING_TEMPLATES[i],s=t&&t.branding.gameOrigin||[];return!(n&&"video.nflhighlights.com"===i&&s.indexOf("vzw")>-1)&&!!n},t}();i.default=r},"r/m/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("8PPl"),e=n("u8By"),r=n("UDn2"),h=n("mczr"),o=n("fLR+"),u=n("+Ojf"),a=n("vTO9"),c=function(){function t(t){this.S_=t,this.viewability={value:0,timestamp:0,rect:{top:null,bottom:null,height:null},windowHeight:null,isVisible:0,invisibleElement:""},this.progressBeaconsInfo={timeLastSent:{}},this.SKIP_PARAM_IN_BEACON="___skip_param_in_beacon___",this.expm="na",this.pltype="vdms",this.Nx=0,this._V="V",this.type="",this.ss="",this.vid="",this.pstaid="",this.prt="none",this.cprt="none",this.vs="",this.vlng="none",this.pver="",this.host=document.location.host,this._w=document.location.href,this._R=document.referrer,this.pls="",this.auto="",this.snd="",this.deos="",this.deom="",this.psz="",this.ccav="",this.cdn="uncalculated",this.smpl="",this.cont=1,this.replay=0,this.focus="",this.bit=0,this.endscreen=0,this.drmsys="none",this.drm=!1,this._sqno=0,this.ts=0,this.pbst="",this.pbstd="",this.soe="",this.siteadspref=0,this.pl_type="",this.pl_uuid="",this.pl_intr="",this.pl_sec="",this.resetProgressBeaconsState()}return t.getStreamType=function(i,n,s){return Object.values(e.AdBreakType).includes(n)?t.getAdType(n):Object.values(r.MediaItemType).includes(n)?t.getContentType(n,n,s):i===h.PlaybackMode.AD?"ad":n},t.getContentType=function(i,n,s){if(i===e.AdBreakType.NATIVE)return"ad native";switch(n){case r.MediaItemType.VOD:return 0===s?"":s>t.LONG_VOD_DURATION?"vod long":"vod short";case r.MediaItemType.LIVE_EVENT:case r.MediaItemType.LIVE_CHANNEL:return"live";case r.MediaItemType.CONTAINER:return"streamurl"}return""},t.getAdType=function(t){switch(t){case e.AdBreakType.PREROLL:return"ad pre-roll";case e.AdBreakType.MIDROLL:return"ad mid-roll";case e.AdBreakType.POSTROLL:return"ad post-roll";case e.AdBreakType.TRIGGER:return"ad trigger";case e.AdBreakType.NON_LINEAR:return"ad non-linear";case e.AdBreakType.NATIVE:return"ad native"}return""},t.prototype.destroy=function(){this.pls="",this._sqno=0},t.prototype.update=function(i){this.requestType=i.requestType||"",this.requestAction=i.requestAction||"none",this.audioLanguage=i.audioLanguage||"",this.mJ=i.playerRootElement||this.mJ,this.playbackMode=i.playbackMode,this.adParams=this.playbackMode!==h.PlaybackMode.AD?null:this.adParams,this.type=t.getContentType(i.currentMediaType,i.contentType,i.videoLength)||"",this.pls=this.S_.guid,this.ss=this.bJ(i.currentMediaType)||this.ss,this.vid=i.videoId||this.vid,this.pstaid=i.videoId||this.pstaid,this.prt=this.yJ(i.rendererType)||this.prt,this.cprt=this.yJ(i.mediaItemRendererType)||this.cprt,this.vs=i.sessionId||this.vs,this.vlng=i.videoLength&&parseFloat(parseFloat(i.videoLength).toFixed(2)).toString()||this.vlng,this.pver="0.2.292"===i.playerVersion?"local":i.playerVersion,this.auto=!0===i.autoPlay?"true":"false",this.snd=!0===i.mute?"m":"um",this.deos=i.docking&&!0===i.docking.enableOnScrollDown?"1":"0",this.deom=i.docking&&!0===i.docking.enableOnMuted?"1":"0",this.psz=i.uiState&&i.uiState.width&&i.uiState.height?i.uiState.width+"x"+i.uiState.height:this.psz,this.ccav=!0===i.isCCAvailable?"1":"0",this.cdn=i.cdn||this.cdn,this.smpl=o.isNullOrUndefined(i.samplingId)?this.smpl:i.samplingId.toString(),this.focus=u.default.isPlayerInBackground()?"0":"1",this.expm=(i.uiState&&!0===i.uiState.isFullScreen?"fullscreen":i.uiState&&!0===i.uiState.isDocked&&"docked")||"na",this.endscreen=i.showEndScreen?1:0,this.drmsys=i.drmsys,this.drm=i.drm,this.ts=i.currentTs-this.S_.getInitTime(),this.pbst=i.pbst,this.pbstd=i.pbstd,this.soe=i.soe,this.siteadspref=i.firstItemAdsSitePrefetched?1:0},t.prototype.updateTs=function(t){this.ts=t-this.S_.getInitTime()},t.prototype.getCommonParams=function(){var t=this,i={t:Math.random()};return a.PARAMS.forEach((function(n){i[n]=t[n]})),i},t.prototype.onVideoRequest=function(t,i){this.gJ&&(i.videoId===this.gJ?this.replay++:this.cont++),this.gJ=i.videoId,this.bitrate=0},t.prototype.onBeaconSent=function(){this._sqno++},t.prototype.resetProgressBeaconsState=function(){this.progressBeaconsInfo.timeLastSent=a.PROGRESS_BEACON_INTERVALS.reduce((function(t,i){return t[i.key]=-1,t}),{})},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.S_.getCurrentTime()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){var t=this.S_.volume;return t&&t>0&&t.toString()||"0"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.Nx},set:function(t){this.Nx=Math.round(t),this.bit=Math.round(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"programDateTimeLatency",{get:function(){var t=this.S_.getCurrentDate(),i=(new Date).getTime();return t>0?(i-t).toString():""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"play_pos",{get:function(){return parseFloat(this.currentTime.toFixed(2)).toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return this.wJ(this.mJ).toString()+"%"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewd",{get:function(){var t=this.viewability;return JSON.stringify({ts:this.viewability.timestamp,t:o.isNullOrUndefined(t.rect.top)?"":t.rect.top,b:o.isNullOrUndefined(t.rect.bottom)?"":t.rect.bottom,h:o.isNullOrUndefined(t.rect.height)?"":t.rect.height,wh:this.viewability.windowHeight||"",v:this.viewability.isVisible,i:this.viewability.invisibleElement})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jsdt",{get:function(){return f},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssdt",{get:function(){return l},enumerable:!0,configurable:!0}),t.prototype.yJ=function(t){if(!t)return"";switch(t){case h.RendererType.HTML5_HLS:return"html5-hls";case h.RendererType.HTML5_HLS_360:return"html5-hls-360";case h.RendererType.HTML5_RAW_360:return"html-360";case h.RendererType.EXTERNAL:case h.RendererType.HTML5_RAW:case h.RendererType.HTML5_TV:case h.RendererType.HTML5_TV_TIZEN:case h.RendererType.HTML5_TV_ORSAY:default:return"html"}},t.prototype.bJ=function(t){return t===r.MediaItemType.LIVE_EVENT||t===r.MediaItemType.LIVE_CHANNEL?"live":"vod"},t.prototype.wJ=function(t){var i=(new Date).getTime();if(t&&i-this.viewability.timestamp>1e3){var n=t&&void 0!==t.getElementsByClassName?t.getElementsByClassName(s.VIDEO_MAIN_ELEMENT_CLASS):null;n&&n.length&&(this.viewability.value=u.default.getElementViewability(n[0]),this.viewability.timestamp=i,this.viewability.rect=n[0].getBoundingClientRect(),this.viewability.windowHeight=window.innerHeight,this.viewability.isVisible=null!==n[0].offsetParent?1:0,this.viewability.invisibleElement=this.viewability.isVisible?"":this.SJ(n[0]))}return this.viewability.value},t.prototype.SJ=function(t){return t?t.parentElement&&"none"!==t.style.display?this.SJ(t.parentElement):JSON.stringify({n:t.nodeName,i:t.id,cl:t.classList}):""},t.LONG_VOD_DURATION=600,t}();i.default=c;var f=u.default.getResourceLoadTime(/vdms-player\.js/);f=o.isNumber(f)?Math.round(f).toString():"na";var l=u.default.getResourceLoadTime(/video-player\.css/);l=o.isNumber(l)?Math.round(l).toString():"na"},rBpt:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("yFL1");i.errorCodes=s;var e=n("ap5D"),r=e;i.Loader=e.default,i.LoaderConstants=r;var h=n("Aeo1");i.LocalStorage=h.default;var o=n("38mS");i.TypeChecker=o},rJdA:function(t,i,n){"use strict";t.exports=a;var s=n("/iNa"),e=n("yvII").Events,r=n("2fkz"),h=r.Command,o=r.CmdNames,u=r.CmdEvents;function a(t,i){if(!t||!t.url||!t.controller)throw new Error("Invalid argument: data argument of the command is not complete");h.call(this,t,i),this.name=o.CMD_MEDIA_LOAD,this.zD=t.controller.services.getNewLoader(t)}s.inherits(a,h),a.prototype.destroy=function(){this.zD.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t.zD.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t.zD.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t.zD.load(i)},a.prototype.cancel=function(){}},rWzN:function(t,i,n){"use strict";t.exports=u;var s=n("HakF"),e=n("x7P6").AbrModes,r=n("RwmF"),h=n("/iNa"),o=n("y5bh").HLSEvent;function u(){this.iy=this.__controller.model,this.EJ=this.__controller.create(s),this.OJ={estimatedBandwidthInBps:0,bitrateList:[],currentIndex:0,bufferLength:0},this.Sy={},this.FS(),this.SWITCH_BEGIN="switchBegin",this.SWITCH_END="switchEnd",this.SCENARIOS={STARTUP:"startup",LOAD:"load",ERROR:"error",MIDSEGMENT:"mid-segment"},this.switching=!0,r.call(this,this.constructor.name),this.Sy[o.MEDIA_LOADED]=this.__controller.addEventListener(o.MEDIA_LOADED,this.FS,this)}h.inherits(u,r),u.prototype.destroy=function(){this.EJ.destroy(),this.__controller.removeEventListeners(this.Sy),r.prototype.destroy.call(this)},u.prototype.switchStream=function(t,i,n){var s=this;s.iy.getABRMode()!==e.AUTO&&s.iy.streams.forEach((function(t,i){s.iy.getUserReqBitrate()===t.bitrate&&(n=i)}));var r=s.iy.currentLoadingStreamIndex,h=s.AJ(),o=s._J(n,t,h);return!(o<0)&&(o!==r&&((!i||!("up"===i&&o<r||"down"===i&&o>r))&&(s.iy.setCurrentLoadingStream(o),s.switching=!0,s.publish(s.SWITCH_BEGIN,o),!0)))},u.prototype._J=function(t,i,n){return"number"==typeof t?t:this.EJ.getNextStreamIndex(n,i===this.SCENARIOS.STARTUP)},u.prototype.switchComplete=function(){this.switching=!1,this.publish(this.SWITCH_END)},u.prototype.AJ=function(){this.TJ();var t=this.OJ,i=this.__controller.services.bandwidthEstimator,n=this.iy.dimensions;return t.estimatedBandwidthInBps=1e3*i.averageBandwidth*1e3,t.currentIndex=this.iy.currentLoadingStreamIndex,t.bufferLength=this.iy.bufferLength,t.displayWidth=isNaN(n.width)?640:n.width,t.displayHeight=isNaN(n.height)?360:n.height,t.pixelRatio=this.iy.pixelRatio,t.is360=this.iy.is360,t.streams=this.iy.streams,t.segmentLength=this.iy.getSegmentLength(),t},u.prototype.FS=function(){this.TJ()},u.prototype.TJ=function(){var t=this;t.iy.streams&&!t.OJ.bitrateList.length&&(t.OJ.bitrateList=[],t.iy.streams.forEach((function(i){t.OJ.bitrateList.push("VBR"===i.rcMode.toUpperCase()?i.avgBitrate:i.bitrate)})))}},rdAy:function(t,i,n){"use strict";t.exports.Fmp4Streamer=f,t.exports.Fmp4LiveStreamer=l;var s=n("/iNa"),e=n("21xW"),r=n("6I/I").Streamer,h=n("2fkz").CmdNames,o=n("V66C").StreamTypes,u=n("lPOR"),a=n("x7P6").StreamingMode,c=n("9nRl");function f(t,i){r.call(this,t,i),this.GA=this.constructor.super_.prototype,this.MJ=null,this.KI(t)}function l(t,i){e.call(this,t,i),this.GA=this.constructor.super_.prototype,this.MJ=null,this.KI(t),this.SEGMENT_OFFSET=7}s.inherits(f,r),s.inherits(l,e),f.prototype.destroy=function(){r.prototype.destroy.call(this)},l.prototype.destroy=function(){e.prototype.destroy.call(this)},l.prototype.KI=f.prototype.KI=function(t){this.IJ(t);var i=[{type:this.qA,mimeType:this.qA+'/mp4; codecs="'+this.WA+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[i],["tracks"])},l.prototype.IJ=f.prototype.IJ=function(t){t.type===o.AUDIO?(this.WA=this.iy.userAgent.android?"mp4a.40.2":t.audioCodec||"mp4a.40.2",this.qA="audio"):(this.WA=t.videoCodec||"avc1.640021",this.qA="video")},l.prototype.setCurrentStream=f.prototype.setCurrentStream=function(t){t&&this.sE&&!t.equals(this.sE)&&(this.sE=t,this.oE===this.STATES.LOADING&&this.abortCurrentSegment(this.lO),this.isStreamReady()||(this.oE=this.STATES.NONE))},l.prototype.jJ=f.prototype.jJ=function(t,i,n,s){var e=this.sE;this.BE.removeRelatedCommands(h.CMD_MP4_INIT_SEGMENT_LOAD);var r={stream:e,segment:i,initSegment:t,comboLoad:n,cached:s};this.BE.executeCommand(h.CMD_MP4_INIT_SEGMENT_LOAD,r,this)},l.prototype.nO=f.prototype.nO=function(t){if(!(this.oE>=this.STATES.INITIALIZING)){var i=c.isNullOrUndefined(t)?this.$E(this.KS):t,n=this.sE,s=i===n.startSeqNum,e=n.getSegmentfromSeqNum(i);if(e){var r=n.getInitSegment(e),h=!c.isNullOrUndefined(r);h||(r=n.addInitSegment(e.initSegment));var o=n.streamingMode===a.HLS&&!c.isNullOrUndefined(n.mp4Chunks.first);o&&(e=s?e:null),this.oE=this.STATES.INITIALIZING,e&&e.periodId!==this.MJ&&this.NJ(e.periodId),this.NW(e?e.periodId:null),this.jJ(r,e,o,h)}}},l.prototype.onMp4InitSegmentLoadProgress=f.prototype.onMp4InitSegmentLoadProgress=function(t,i){var n=this.sE;if(i&&n){var s=t.getSegment();if(i.comboLoad&&s&&"firstByte"===i.position)this.onSegmentLoadProgress(t,i);else{var e=i.chunk,r=i.stream;if(e&&r){var h=r.getInitSegment(s);switch(e.name){case"init":r.setMp4Timescale(h);break;case"sidx":var o=e.data;o&&r.updateSegmentRanges(this.VE.mp4BoxParser.parse(o,"sidx",r.sidxOffset));break;case"first":return void this.onSegmentLoadProgress(t,i)}n.equals(r)&&r.isReady()&&(this.jW(h),this.oE=this.STATES.INITIALIZED,i.comboLoad&&s&&(this.pE=s.seqNum,this.oE=this.STATES.LOADING))}}}},l.prototype.onMp4InitSegmentLoadComplete=f.prototype.onMp4InitSegmentLoadComplete=function(t,i){if(i){var n=t.getSegment();i.comboLoad&&n?this.onSegmentLoadComplete(t):(this.oE<this.STATES.INITIALIZED&&this.sE.equals(i.stream)&&(this.oE=this.STATES.INITIALIZED),this.BE.removeCommand(t))}},l.prototype.onMp4InitSegmentLoadError=f.prototype.onMp4InitSegmentLoadError=function(t,i){this.BE.removeCommand(t)},l.prototype.onSegmentLoadProgress=f.prototype.onSegmentLoadProgress=function(t,i){var n=this.sE;if(i&&n){var s=i.stream;if(!s||n.equals(s)){if("firstByte"!==i.position){var e={data:new Uint8Array(i.data),codec:this.WA,type:this.qA,minBufferTime:this.__controller.getMinimumBufferTime(),frames:i.samples,startTime:n.timescale>0?i.baseTime/n.timescale:NaN,endTime:n.timescale>0?(i.baseTime+i.totalDuration)/n.timescale:NaN};this.vO([e])}r.prototype.onSegmentLoadProgress.call(this,t,i)}}},l.prototype.NJ=f.prototype.NJ=function(t){if(this.MJ!==t){this.MJ=t;var i=this.sE;"MAIN"!==this.type&&"AUDIO"!==this.type||this.RJ(t,i),this.NW(t)}},l.prototype.RJ=f.prototype.RJ=function(t,i){for(var n=this.iy.streams,s=(this.type,0);s<n.length;s++)n[s].groupId;i.groupId},l.prototype.NW=f.prototype.NW=function(t){var i=this,n=i.sE;n&&n.drmInfo&&!c.isNullOrUndefined(t)&&n.drmInfo.forEach((function(n){n.periodId===t&&i.__controller.sendMessage(u.MessageIds.DRM_LICENSE_INFO,[n],["drmItem"])}))},l.prototype.jW=f.prototype.jW=function(t){var i=this.sE;if(t){var n=t.data;if(n){var s={data:new Uint8Array(n.buffer),codec:this.WA,type:this.qA,minBufferTime:this.__controller.getMinimumBufferTime(),onlyMetadata:!0};this.vO([s]),i.activeInitSegment=t;var e=i?i.getMp4Chunk("sidx"):null;if(e){var r=e.data;r&&(s.data=new Uint8Array(r.buffer),this.vO([s]))}}}},l.prototype.aO=f.prototype.aO=function(t,i){},l.prototype.oO=f.prototype.oO=function(t){var i=this.sE.getSegmentfromSeqNum(t);i&&i.periodId!==this.MJ&&this.NJ(i.periodId),this.oE=this.STATES.NONE,this.rO=!0,this.pE=t,this.nO(t)},f.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},l.prototype.JS=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.GA.JS.call(this,t)}},rnuW:function(t,i,n){"use strict";t.exports=e;var s=n("9EqR");function e(){this.kJ={}}e.prototype.destroy=function(){var t=this;Object.keys(t.kJ).forEach((function(i){var n=t.kJ[i];n&&n.destroy()})),t.kJ={}},e.prototype.add=function(t){if(!t||!t.url)return null;var i=this.LJ(t);return this.kJ[i]||(this.kJ[i]=new s({name:"init",url:t.url,range:t.range})),this.kJ[i]},e.prototype.remove=function(t){if(t&&t.url){var i=this.LJ(t);(t=this.kJ[i])&&(t.destroy(),delete this.kJ[i])}},e.prototype.get=function(t){if(!t||!t.url)return null;var i=this.LJ(t);return this.kJ[i]},e.prototype.getFirst=function(){var t=Object.keys(this.kJ);return t&&t.length?this.kJ[t[0]]:null},e.prototype.LJ=function(t){var i=t.range,n=i?"_"+i.start+"_"+i.end:"";return t.url+n}},rtwX:function(t,i,n){"use strict";t.exports=E;var s=n("lPOR"),e=s.MessageIds,r=s.MessageTypes,h=n("/iNa"),o=n("HNE+"),u=n("6ir0"),a=n("0r65"),c=n("qKMm"),f=n("NMH2"),l=n("MyAg"),v=n("y5bh").HLSEvent,d=n("w+YI"),p=n("KtsB"),m=n("pwzT"),b=n("6I/I").SynchTypes,y=n("ulAJ").LicenseManager,g="synchBegin",w="synchMetadataReady",S="synchDone";function E(t){this.EY="Controller",this.OY=h.guid(),this._node=this.PE.node,this.IC=this.PE.mediaSource,this.iy=this.PE.appModel,this.mediaLoaded=!1,this.DJ=!1,this.YS=null,this.CJ=t?t.sessionId:null,this.YC=new f(this._node,this.PE.mediaSource,this),this.PJ=this.PE.create(l),this.xJ=this.PE.create(d),this.UJ=new m,this.VJ=new o(250),this.VJ.addEventListener(this.GU,this),this.ZH=[];var i={userAgent:this.iy.userAgent,metadata:t,config:this.iy.config};if(i.config.bwHistory=this.BJ(),this.SY=this.AY(i),this.SY){if(this._Y=this.FJ(this.EY),this._Y)return i.config.inWorkerScope=!0,this._Y.addEventListener("message",this.TY.bind(this)),void this.MY(e.CREATE,[i]);this.iy.config.useWorker=!1}this.Ry=new c(i,this.zJ.bind(this)),this.SY=!1,this.tE=!1,this.HJ=!1,this.YJ=null,this.YS=null,this.GJ=S,this.WJ=null,this.qJ=!1}E.prototype.destroy=function(){this.YC.destroy(),this.PJ.destroy(),this.xJ.destroy(),this.ZH=null,this.XJ&&this.XJ.destroy(),this.VJ&&(this.VJ.destroy(),this.VJ=null),this.SY&&this._Y?(this.MY(e.DESTROY),this._Y.terminate()):this.Ry.destroy()},E.prototype.AY=function(t){var i=t?t.userAgent:null,n=!t||!t.config||t.config.useWorker;if(!i)return n;if(i.chrome&&!i.win7)return!1;if(i.safariDesktop)return!1;var s=t?t.metadata:null;return!(s&&s.url&&s.url.indexOf(".mpd")>-1)&&(!(i.firefox&&s&&s.streams&&s.streams.length&&"m3u8:fmp4"===s.streams[0].format)&&((!this.DE(s)||!(i.safari||i.edge||i.ie))&&n))},E.prototype.DE=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.CE(t.streams[0]):null;return h.isUplynk(i||n)},E.prototype.CE=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},E.prototype.sendVideoEvent=function(t){if(t)switch(t.type){case"play":this.QJ();break;case"playing":this.Qx();break;case"pause":this.xU();break;case"seeking":this.ZJ(t);break;case"seeked":this.BU(t);break;case"ended":this.JJ();break;case"error":this.gL();break;case"timeupdate":this.KJ(t);break;case"resize":this.CU(t)}},E.prototype.onMediaSourceOpen=function(){this.mediaLoaded&&(this.VJ.reset(),this.VJ.start(),this.ZH.length&&this.KH())},E.prototype.play=function(t){if(!this.IC||"closed"!==this.IC.readyState&&this.mediaLoaded){var i=this.iy.live?this._node.currentTime:this.iy.duration,n=t>0&&t<=i?t:null;n&&this.sG(n,b.INIT),this.CM()}else this.ZH.push([this,this.play,[t]])},E.prototype.pause=function(){!this.IC||"closed"!==this.IC.readyState&&this.mediaLoaded?this._node.pause():this.ZH.push([this,this.pause])},E.prototype.preload=function(t){!this.IC||"closed"!==this.IC.readyState&&this.mediaLoaded?this.$J("preload",[t]):this.ZH.push([this,this.preload,[t]])},E.prototype.setABRMode=function(t){this.$J("setABRMode",[t])},E.prototype.setAudioLanguage=function(t){this.$J("setAudioLanguage",[t])},E.prototype.suspendStreaming=function(){this.$J("suspendStreaming")},E.prototype.resumeStreaming=function(){this.$J("resumeStreaming")},E.prototype.getSegInfo=function(){var t={mode:"sync",segInfo:null,bufferLen:null,sessionId:this.CJ};return this.SY&&this._Y?(t.mode="async",this.MY(e.CALL_METHOD,null,"getSegInfo")):t.segInfo=this.Ry.getSegInfo(),t.bufferLen=this.iy.getBufferLength(),t},E.prototype.QJ=function(){if(this.iy.setDimensions(),!this.IC||"closed"!==this.IC.readyState&&this.mediaLoaded){var t=this.YS;this.YJ&&(t=this.YJ,this.YJ=null),this.tE=!1,this.$J("onPlay",[t]),this.xJ.onPlay()}else this.ZH.push([this,this.QJ])},E.prototype.Qx=function(){this.$J("onPlaying")},E.prototype.xU=function(){this.tE=!0,this.$J("onPause"),this.xJ.onPause()},E.prototype.ZJ=function(t){var i=t.target.currentTime,n=!this.iy.live,s=!1,e=this.iy.userAgent;e&&e.safariDesktop&&(s=!this.iy.live||this.qJ),this.PJ.onSeeking(n,s),this.qJ=!1,this.$J("onSeeking",[i])},E.prototype.BU=function(t){var i=t.target.currentTime;this.$J("onSeeked",[i])},E.prototype.JJ=function(){this.VJ.stop(),this.$J("onComplete")},E.prototype.gL=function(){var t=this._node.error?this._node.error.code:null;this.$J("onError",[t]),this.PJ.onError()},E.prototype.CU=function(){this.iy.setDimensions()},E.prototype.KJ=function(){this.tK("onTimeUpdate")},E.prototype.GU=function(){this.mediaLoaded&&this.tK("onUpdate")},E.prototype.tK=function(t){this.PJ.process();var i={currentTime:this._node.currentTime,bufferedAndPending:this.PJ.getBufferedAndPending(),bufferLength:this.iy.getBufferLength(),pendingBufferLength:this.PJ.getPendingBufferLength(),bufferedRanges:this.iy.getBufferedDto(),dimensions:this.iy.getDimensions(),pixelRatio:this.iy.getPixelRatio(),frameStats:this.xJ.getFpsStats()};this.$J(t,[i])},E.prototype.FS=function(){this.mediaLoaded=!0,this.IC&&"closed"===this.IC.readyState||(this.VJ.start(),this.ZH.length&&this.KH())},E.prototype.sG=function(t,i){this.YS=t,this.GJ=g,this.WJ=i,this.iy.live&&(this.PJ.resetReadyState(),this.PJ.clear())},E.prototype.iK=function(t){this.YS=null,this.GJ=S,this.WJ=null,this.iy.live&&this.$J("onSynchComplete",[t])},E.prototype.KH=function(){var t=this.ZH;this.ZH=[],t.forEach((function(t){var i=t[0],n=t[1],s=t.length>2?t[2]:null;n&&"function"==typeof n&&n.apply(i,s)}))},E.prototype.$J=function(t,i){this.SY&&this._Y?this.MY(e.CALL_METHOD,i,t):this.Ry[t].apply(this.Ry,i)},E.prototype.FJ=function(t){if(!t)return null;if(this.SY&&"undefined"!=typeof Worker)try{return this._Y||(this._Y=a(u)),this._Y}catch(t){}return null},E.prototype.TY=function(t){if(t){var i=t.data?new p(t.data):t;if(i&&i.instanceId===this.OY){var n=i.getParam("media");if(n&&this.iy.update(n),i.type!==r.EVENT)switch(i.id){case e.CREATE_SRC_BUFFER:this.nK(i.getParam("tracks"));break;case e.APPEND_SRC_BUFFER:this.sK(i.getParam("tracks"));break;case e.SAVE_AVG_BANDWIDTH:this.sO(i.getParam("avgBwInfo"));break;case e.END_OF_STREAM:i.args&&i.args.length&&(this.PJ.endOfStream(i.getParam("endOfStream")),this.PE.sendEvent(v.CONTENT_LOAD_FINISHED,i.args[0]));break;case e.PAUSE_BEFORE_STREAM_CHANGE:this.eK(i.getParam("streamType"));break;case e.PLAY_AFTER_STREAM_CHANGE:this.rK();break;case e.DRM_INIT:this.XJ||(this.XJ=new y(this.Ry,this._node,this.PE));for(var s=0;s<this.iy.drmInfo.length;s++)this.XJ.addDrmItem(this.iy.drmInfo[s]);break;case e.DRM_LICENSE_INFO:this.XJ&&this.XJ.addDrmItem(i.getParam("drmItem"));break;case e.SKIP_GAP:this._node.currentTime=i.getParam("seekPosition")}else this.hK(i.id,i.getParam("eventData"))}}},E.prototype.zJ=function(t){t.instanceId=this.OY,this.TY(t)},E.prototype.hK=function(t,i){if(t){switch(t){case v.MEDIA_LOADED:this.FS();break;case v.WAITING:var n=i?i.minBufferTime:.1;this.PJ.setMinimumBufferTime(n),this.xJ.updateBufferingInfo(i);break;case v.LIVE_SYNCH:var s=i?i.synchPosition:null,e=i?i.synchType:b.INIT;this.sG(s,e);break;case v.SEG_INFO_METRICS_AVAILABLE:i={segInfo:i,bufferLen:this.iy.getBufferLength(),sessionId:this.CJ};break;case v.VTT_SEGMENT_LOADED:i&&(i.sessionId=this.CJ);break;case v.MEDIA_METADATA_LOADED:i=this.iy.streams;break;case v.ERROR:return i.error=new Error(i.message,i.code),void this.PE.notifyError(i)}this.PE.sendEvent(t,i)}},E.prototype.nK=function(t){var i=this;t&&(!i.IC||"closed"!==i.IC.readyState&&i.mediaLoaded?(i.oK(),t.forEach((function(t){i.PJ.createSourceBuffer(t.type,t.mimeType,t.minBufferTime)}))):i.ZH.push([i,i.nK,[t]]))},E.prototype.oK=function(){this.IC&&!this.IC.duration&&this.iy.duration>0&&(this.IC.duration=this.iy.duration)},E.prototype.sK=function(t){var i=this;t&&(t.forEach((function(t){i.PJ.appendBuffer(t,(function(t,n){i.UC(t,n)}))})),i.iy.preloading&&!i.DJ&&(i.PE.sendEvent(v.PRELOAD_PROGRESS),i.DJ=!0))},E.prototype.UC=function(){if(!this.iy.live&&this.GJ===g){if(!this.PJ.areSrcBuffersReady())return;return this.PJ.onSeeking(!0),this.GJ=w,void this.$J("onSynchMetadataReady",[this.YS])}if(this.YS&&this.PJ.areSrcBuffersReady()){var t=this.uK(this._node),i=this._node.buffered;if(t.length&&i.length){var n=t.start(t.length-1),s=t.end(t.length-1),e=this.iy.TIMESTAMP_COMPARE_EPSILON;if(this.YS+e>=n&&this.YS<=s){for(var r=this.YS,h=0;h<i.length;h++)if(!(r>i.end(h))&&r<i.start(h)){r=i.start(h);break}var o=this.iy.userAgent;this.qJ=o&&o.safariDesktop&&this.iy.live&&this.WJ===b.TIME_GAP;try{this._node.currentTime=r}catch(t){}this.iK(r)}}}},E.prototype.MY=function(t,i,n){if(this._Y&&t){var s={type:r.MESSAGE,id:t,moduleName:this.EY,instanceId:this.OY,funcName:n,args:i,timestamp:Date.now()};this._Y.postMessage(s)}},E.prototype.BJ=function(){var t=this.UJ.readProperty("avgBW"),i=t?t.avgBWtimestamp:null;if((i?Date.now()-parseInt(i):Number.MAX_VALUE)<1e3*this.iy.config.bwHistoryMaxAge&&t){var n=t.avgBW;return n?parseInt(n):0}return 0},E.prototype.sO=function(t){t&&this.UJ&&this.UJ.writeProperty("avgBW",t)},E.prototype.rK=function(){this.HJ&&(this.CM(),this.HJ=!1,this.PE.sendEvent(v.WAITING,{value:!1,bufferInit:!1}))},E.prototype.eK=function(t){var i=this._node.currentTime,n=this.iy.live;n&&"audio"===t?this.PJ.clearSrcBuffer(t):this.PJ.clear(),this.tE||(this.PE.sendEvent(v.WAITING,{value:!0,bufferInit:!1}),this._node.pause(),this.HJ=!0),n?this.YJ=i:this._node.currentTime=i},E.prototype.CM=function(){var t=this;if(t._node){var i=t._node.play();return i&&"function"==typeof i.catch&&i.catch((function(){t._node.paused&&t.PE.sendEvent(v.PLAY_BLOCKED)})),i}},E.prototype.getCurrentDate=function(){return this.iy.getCurrentDate()},E.prototype.uK=function(t){var i=this.iy.userAgent;return this.iy.live&&i.edge&&i.edge>=17&&i.edge<18?t.buffered:t.seekable}},s4NR:function(t,i,n){"use strict";i.decode=i.parse=n("kd2E"),i.encode=i.stringify=n("4JlD")},s9EW:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("A4+F"),e=n("+Ojf"),r=n("4rJX"),h=function(){function t(t){this.ty=t}return t.prototype.create=function(){return this.node=e.default.render(r,{}),this.ty.addEventListener(s.ExternalEvt.LOADING_BEGIN,this.aK,this),this.ty.addEventListener(s.ExternalEvt.LOADING_END,this.hide,this),this.node},t.prototype.hide=function(){this.node&&e.default.classList(this.node).remove("vp-show-spinner")},t.prototype.destroy=function(){this.node=null},t.prototype.aK=function(){this.node&&(e.default.forceDOMRedrawOnElement(this.node),e.default.classList(this.node).add("vp-show-spinner"))},t}();i.default=h},sEG9:function(t,i){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},sLCx:function(t,i,n){"use strict";var s="undefined"!=typeof navigator?navigator.userAgent.toLowerCase().replace(/<[A-Za-z]+.*?(\/>|>.*?<\/[A-Za-z]+>)|javascript:/g,""):"",e="undefined"!=typeof window?window:{},r=function(t){if(null===t)return!1;var i=t[1];return parseFloat(i.replace("_",".").split(".",2).join("."))||1},h=function(t){for(var i=(e&&e.location&&e.location.search&&e.location.search.substring(1)||"").split("&"),n=0;n<i.length;n++){var s=i[n].split("=");if(decodeURIComponent(s[0])===t)return decodeURIComponent(s[1])}return null};if(i.ua=s,i.chromium=r(/chromium\/([^\s]*)/.exec(s)),i.edge=r(/edge\/([^\s]*)/.exec(s)),i.opera=/opr\/|opera\//.test(s),i.chrome=!i.chromium&&!i.edge&&!i.opera&&(r(/chrome\/([^\s]*)/.exec(s))||r(/crios\/([^\s]*)/.exec(s))),i.ie=r(/msie ([^;]*)/.exec(s))||r(/trident.*; rv:([0-9.]+)/.exec(s)),i.firefox=!i.ie&&r(/firefox\/([^\s]*)/.exec(s)),i.android=/android/.test(s),i.androidTablet=i.android&&!/mobile/.test(s),i.htc_one=/htc_one/.test(s),i.vizio=/Vizio/i.test(s)||"vizio"===h("man"),i.tivo=/TiVo/i.test(s),i.fios=/Verizon_STB|\(Verizon.*VMS1100|\(Verizon.*IPC1100|\(Verizon.*IPC3200/i.test(s),i.firetv=i.android&&/amazonwebappplatform/.test(s)&&/aft/.test(s),i.lg=/web0s/.test(s),i.tizen=/tizen/.test(s),i.orsay=/smarttv/.test(s)&&!i.tizen&&!i.lg,i.samsung=i.orsay||i.tizen,i.sony=/(sony)/.test(s),i.ps4=/(playstation 4)/.test(s),i.ios=/(ipad|iphone|ipod)/.test(s),i.iphone=/(iphone|ipod)/.test(s)&&!/ipad/.test(s),i.ipad=i.ios&&!i.iphone,i.androidBrowser=!i.chrome&&/android/.test(s),i.androidVersion=r(/android\s([0-9.]*)/.exec(s)),i.safari=!i.chrome&&!i.chromium&&!i.android&&/safari\/([^\s]*)/.test(s)&&r(/version\/([^\s]*)/.exec(s)),i.iosWebView=i.ios&&!navigator.standalone&&!i.safari,i.iosVersion=i.ios&&r(/\bos ((\d+_?){2,3})\s/.exec(s)),i.mobile=i.ios||i.android&&!i.firetv,i.safariDesktop=!i.mobile&&i.safari,i.tv=i.vizio||i.tivo||i.firetv||i.samsung||i.sony||i.ps4||i.lg||i.fios,i.desktop=!i.mobile&&!i.tv,i.phantomJS=e.window&&e.window.ME,i.tv)if(i.vizio)i.os="vizio",i.model=h("class")||h("soc");else if(i.tivo)i.os="tivo",/tcd849/.test(s)?(i.model="series6",i.version="tcd849"):/tcd8d9/.test(s)?(i.model="series6",i.version="tcd8d9"):/tcd8f9/.test(s)?(i.model="series6",i.version="tcd8f9"):/tcd8/.test(s)?(i.model="series5",i.version="tcd8"):/tcdd/.test(s)?(i.model="series5",i.version="tcdd"):i.model="series4";else if(i.firetv)i.os="firetv",/aftb/.test(s)?i.model="aftb":/afts/.test(s)?i.model="afts":(/aftm/.test(s),i.model="aftm");else if(i.lg)i.os="lg",i.model="lg";else if(i.samsung){i.os="samsung";var o=void 0!==o?o:window.tizen;o&&o.systeminfo?(i.model="tizen",i.version=o.systeminfo.getCapability("http://tizen.org/feature/platform.version")):i.model="orsay"}else i.sony?(i.os="sony",/bdp/.test(s)?i.model="bdp":i.model="tv"):i.ps4?(i.os="ps4",i.model="4"):i.fios?i.os="fios":i.os=null;else i.ios?i.os="ios":i.android?i.os="android":/windows|win32/.test(s)?(i.os="windows",i.winXP=/(windows nt 5\.[1-3])/.test(s),i.winVista=/(windows nt 6\.0)/.test(s),i.win7=/(windows nt 6\.1)/.test(s),i.win8=/(windows nt 6\.2)/.test(s),i.win8_1=/(windows nt 6\.3)/.test(s),i.win10=/(windows nt 10\.0)/.test(s),i.win64=/(wow64|win64)/.test(s)):/macintosh|mac_powerpc/.test(s)?i.os="macintosh":/symbos/.test(s)?i.os="symbos":/linux/.test(s)?i.os="linux":i.os=null},sjSS:function(t,i,n){"use strict";t.exports=r;var s=n("JQCY"),e=n("iSaY");function r(t,i){this.QL=null,this.GL=t||{},this.cK=i,this.fK=0,this.lK=NaN,this.vK={},this.dK={},this.pK=[],this.oE="initial",this.uW="start",this.YL=!1}r.prototype.destroy=function(){this.QL=null,this.pK=[],this.oE="initial",this.uW="start";var t=this.dK;for(var i in t)t.hasOwnProperty(i)&&t[i].destroy();this.dK={}},r.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.QL&&(s=(n=this.QL).length);var r=s+i;return this.QL=new Uint8Array(r),n&&this.QL.set(n),this.QL.set(t,s),-2===this.YD()?{error:e.ERR_SEGMENT_PARSE}:void 0}}},r.prototype.endOfSegment=function(){this.YL=!0,this.QL&&this.QL.length<188&&this.mK()},r.prototype.YD=function(){if(!this.QL)return-1;for(var t=0;this.QL.length;){var i=this.ZL(this.QL.subarray(0,188));if(0===i)t++,this.QL=this.QL.subarray(188),t>=500&&(this.bK(),t=0);else{if(-2!==i)break;var n=this.yK(this.QL);if(!(n>=0))break;this.QL=this.QL.subarray(n)}}return this.YL&&0===this.QL.length?this.mK():this.bK(),0},r.prototype.ZL=function(t){if(!t||t.length<1)return-1;var i=0,n={};if(71!==t[i++])return-2;if(!t||t.length<188)return-1;var s=t[i++];(n.startIndicator=(64&s)>>6,n.pid=((31&s)<<8)+t[i++],s=t[i++],n.adaptationFieldExists=(32&s)>>5,n.payloadExists=(16&s)>>4,n.adaptationFieldLength=0,n.adaptationFieldExists)&&(n.adaptationFieldLength=t[i++],16&t[i++]&&n.pid===this.fK&&n.adaptationFieldLength>=7&&this.gK(t.subarray(i,i+6)),i+=n.adaptationFieldLength-1);return!n.payloadExists||n.adaptationFieldLength>=183||this.wK(t.subarray(i),n),0},r.prototype.gK=function(t){if(t&&!(t.length<6)){var i=0,n=t[i++],s=(128&n)>>>7;n=((n&=127)<<24)+(t[i++]<<16)+(t[i++]<<8)+t[i++];var e=t[i++];i++;var r=2*n+((128&e)>>>7),h=s?-1*Math.pow(2,32)+r:r;this.SK||(this.SK=h)}},r.prototype.wK=function(t,i){var n,s,e;if(t&&i&&!isNaN(i.pid)&&(this.vK.aac&&(n=this.vK.aac),this.vK.avc&&(s=this.vK.avc),this.vK.id3&&(e=this.vK.id3),!(i.pid>=1&&i.pid<=15||8191===i.pid)))switch(i.pid){case 0:this.EK(t,i);break;case this.lK:this.OK(t,i);break;case n:this.AK("audio",n,t,i);break;case s:this.AK("video",s,t,i);break;case e:this.AK("id3",e,t,i),this._K();break;default:this.TK(t,i)}},r.prototype.EK=function(t,i){if(t){var n=0;if(i.startIndicator){var s=t[n++];n+=s}t[n++];n+=4,n+=3,(t[n++]<<8)+t[n++]>0&&(this.lK=((31&t[n++])<<8)+t[n++]),this.oE="patParsed"}},r.prototype.OK=function(t,i){if(t){var n=0;if(i&&i.startIndicator){var s=t[n++];n+=s}t[n++];var e=((15&t[n++])<<8)+t[n++],r=n;n+=2,n+=3,this.fK=((31&t[n++])<<8)+t[n++];var h=((15&t[n++])<<8)+t[n++];n+=h;for(var o=null,u=null,a=0;n-r<e-4;)switch(o=t[n++],u=((31&t[n++])<<8)+t[n++],a=((15&t[n++])<<8)+t[n++],n+=a,o){case 3:case 4:this.vK.mp3=u;break;case 15:this.vK.aac=u;break;case 27:this.vK.avc=u;break;case 21:this.vK.id3=u}this.oE="pmtParsed"}},r.prototype.AK=function(t,i,n,e){if(n){var r=this.dK,h=r[i];e.startIndicator?(h||(r[i]=new s(t,i,this.GL),h=r[i]),h.addPacket(n)):h&&h.append(n)}},r.prototype.TK=function(t,i){if(t&&!(t.length<4)&&i.startIndicator){var n=0,s=(t[0]<<16)+(t[1]<<8)+t[2],e=t[n++];n+=e;var r=t.length>n?t[n]:NaN;if(1===s){var h=t[3]>>>4;14===h?(this.vK.avc=i.pid,this.AK("video",this.vK.avc,t,i)):12!==h&&13!==h||(this.vK.aac=i.pid,this.AK("audio",this.vK.aac,t,i))}else 2===r&&this.OK(t,i)}},r.prototype.vU=function(){var t=!0;for(var i in this.vK)if("id3"!==i&&this.vK.hasOwnProperty(i)){var n=this.vK[i];this.dK[n]&&(t=t&&this.dK[n].isReady())}return t},r.prototype.bK=function(){if(this.vU()){var t={},i=!1,n=!1,s=this.dK,e=Number.POSITIVE_INFINITY;for(var r in s)if(s.hasOwnProperty(r)){var h=s[r];if(h){var o={frames:h.getFrames({keyFrameBoundary:"end"!==this.uW}),config:h.getConfig(),streamId:h.streamId};"audio"===h.streamType&&r===this.vK.aac.toString()?(t.audio=o,i=t.audio.frames&&t.audio.frames.length):"video"===h.streamType&&r===this.vK.avc.toString()&&(t.video=o,n=t.video.frames&&t.video.frames.length)}}i&&(e=Math.min(e,t.audio.frames[0].dts)),n&&(e=Math.min(e,t.video.frames[0].dts)),e!==Number.POSITIVE_INFINITY&&(t.pcr=e),("end"===this.uW||i||n)&&(this.cK&&this.cK({pos:this.uW,avData:t}),"start"===this.uW&&(this.uW="middle"))}},r.prototype._K=function(){var t=this,i=t.dK,n=null;Object.keys(i).forEach((function(s){var e=i[s];e&&"id3"===e.streamType&&s===t.vK.id3.toString()&&(n=e.getTimedMetadata())})),n&&t.cK&&t.cK({pos:"timedMetadata",timedMetadata:n})},r.prototype.yK=function(t){if(!t)return-1;for(var i=0;i<t.length;i++)if(71===t[i])return i;return-1},r.prototype.mK=function(){this.uW="end";var t=this.dK;for(var i in t)t.hasOwnProperty(i)&&(t[i].endOfSegment(),"id3"===t[i].streamType&&this._K());this.bK()}},skmB:function(t,i,n){"use strict";var s=n("GYWy"),e=n("ds4h");function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=g,i.resolve=function(t,i){return g(t,!1,!0).resolve(i)},i.resolveObject=function(t,i){return t?g(t,!1,!0).resolveObject(i):i},i.format=function(t){e.isString(t)&&(t=g(t));return t instanceof r?t.format():r.prototype.format.call(t)},i.Url=r;var h=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(a),f=["%","/","?",";","#"].concat(c),l=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("s4NR");function g(t,i,n){if(t&&e.isObject(t)&&t instanceof r)return t;var s=new r;return s.parse(t,i,n),s}r.prototype.parse=function(t,i,n){if(!e.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),o=-1!==r&&r<t.indexOf("#")?"?":"#",a=t.split(o);a[0]=a[0].replace(/\\/g,"/");var g=t=a.join(o);if(g=g.trim(),!n&&1===t.split("#").length){var w=u.exec(g);if(w)return this.path=g,this.href=g,this.pathname=w[1],w[2]?(this.search=w[2],this.query=i?y.parse(this.search.substr(1)):this.search.substr(1)):i&&(this.search="",this.query={}),this}var S=h.exec(g);if(S){var E=(S=S[0]).toLowerCase();this.protocol=E,g=g.substr(S.length)}if(n||S||g.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===g.substr(0,2);!O||S&&m[S]||(g=g.substr(2),this.slashes=!0)}if(!m[S]&&(O||S&&!b[S])){for(var A,_,T=-1,M=0;M<l.length;M++){-1!==(I=g.indexOf(l[M]))&&(-1===T||I<T)&&(T=I)}-1!==(_=-1===T?g.lastIndexOf("@"):g.lastIndexOf("@",T))&&(A=g.slice(0,_),g=g.slice(_+1),this.auth=decodeURIComponent(A)),T=-1;for(M=0;M<f.length;M++){var I;-1!==(I=g.indexOf(f[M]))&&(-1===T||I<T)&&(T=I)}-1===T&&(T=g.length),this.host=g.slice(0,T),g=g.slice(T),this.parseHost(),this.hostname=this.hostname||"";var j="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!j)for(var N=this.hostname.split(/\./),R=(M=0,N.length);M<R;M++){var k=N[M];if(k&&!k.match(v)){for(var L="",D=0,C=k.length;D<C;D++)k.charCodeAt(D)>127?L+="x":L+=k[D];if(!L.match(v)){var P=N.slice(0,M),x=N.slice(M+1),U=k.match(d);U&&(P.push(U[1]),x.unshift(U[2])),x.length&&(g="/"+x.join(".")+g),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),j||(this.hostname=s.toASCII(this.hostname));var V=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+V,this.href+=this.host,j&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==g[0]&&(g="/"+g))}if(!p[E])for(M=0,R=c.length;M<R;M++){var F=c[M];if(-1!==g.indexOf(F)){var z=encodeURIComponent(F);z===F&&(z=escape(F)),g=g.split(F).join(z)}}var H=g.indexOf("#");-1!==H&&(this.hash=g.substr(H),g=g.slice(0,H));var Y=g.indexOf("?");if(-1!==Y?(this.search=g.substr(Y),this.query=g.substr(Y+1),i&&(this.query=y.parse(this.query)),g=g.slice(0,Y)):i&&(this.search="",this.query={}),g&&(this.pathname=g),b[E]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){V=this.pathname||"";var G=this.search||"";this.path=V+G}return this.href=this.format(),this},r.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var i=this.protocol||"",n=this.pathname||"",s=this.hash||"",r=!1,h="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&e.isObject(this.query)&&Object.keys(this.query).length&&(h=y.stringify(this.query));var o=this.search||h&&"?"+h||"";return i&&":"!==i.substr(-1)&&(i+=":"),this.slashes||(!i||b[i])&&!1!==r?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),s&&"#"!==s.charAt(0)&&(s="#"+s),o&&"?"!==o.charAt(0)&&(o="?"+o),i+r+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(o=o.replace("#","%23"))+s},r.prototype.resolve=function(t){return this.resolveObject(g(t,!1,!0)).format()},r.prototype.resolveObject=function(t){if(e.isString(t)){var i=new r;i.parse(t,!1,!0),t=i}for(var n=new r,s=Object.keys(this),h=0;h<s.length;h++){var o=s[h];n[o]=this[o]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),a=0;a<u.length;a++){var c=u[a];"protocol"!==c&&(n[c]=t[c])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!b[t.protocol]){for(var f=Object.keys(t),l=0;l<f.length;l++){var v=f[l];n[v]=t[v]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var p=n.pathname||"",y=n.search||"";n.path=p+y}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),w=t.host||t.pathname&&"/"===t.pathname.charAt(0),S=w||g||n.host&&t.pathname,E=S,O=n.pathname&&n.pathname.split("/")||[],A=(d=t.pathname&&t.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(A&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),S=S&&(""===d[0]||""===O[0])),w)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,O=d;else if(d.length)O||(O=[]),O.pop(),O=O.concat(d),n.search=t.search,n.query=t.query;else if(!e.isNullOrUndefined(t.search)){if(A)n.hostname=n.host=O.shift(),(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift());return n.search=t.search,n.query=t.query,e.isNull(n.pathname)&&e.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var _=O.slice(-1)[0],T=(n.host||t.host||O.length>1)&&("."===_||".."===_)||""===_,M=0,I=O.length;I>=0;I--)"."===(_=O[I])?O.splice(I,1):".."===_?(O.splice(I,1),M++):M&&(O.splice(I,1),M--);if(!S&&!E)for(;M--;M)O.unshift("..");!S||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),T&&"/"!==O.join("/").substr(-1)&&O.push("");var j,N=""===O[0]||O[0]&&"/"===O[0].charAt(0);A&&(n.hostname=n.host=N?"":O.length?O.shift():"",(j=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=j.shift(),n.host=n.hostname=j.shift()));return(S=S||n.host&&O.length)&&!N&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),e.isNull(n.pathname)&&e.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,i=o.exec(t);i&&(":"!==(i=i[0])&&(this.port=i.substr(1)),t=t.substr(0,t.length-i.length)),t&&(this.hostname=t)}},svza:function(t,i){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNTcuMDQyIiBoZWlnaHQ9IjIwLjAxNSI+PHN3aXRjaD48Zm9yZWlnbk9iamVjdCByZXF1aXJlZEV4dGVuc2lvbnM9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRvYmVJbGx1c3RyYXRvci8xMC4wLyIgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBmaWxsPSIjZmZmIiBkPSJNMTU2Ljk2IDEuODc3bC01LjI1NSAxOC4xMjZoLTcuOTkybDIuMTk4LTcuMzg0LTUuNDYgNi4zNGgtMi42bC0zLjExNC0xMS44M2gtNi4yMjdsMS4yNy01LjI1MmgxMS44OGwxLjI1NyA3LjI1IDYuMDQ3LTcuMjQ2di0uMDA1aDcuOTk1em0tMzIuNTEzIDEzLjI0Yy0uODA4IDIuNjg4LTMuNjQ1IDQuODg3LTYuMzAyIDQuODg3aC0xMS44NmMtMi42NiAwLTQuMTcyLTIuMi0zLjM2NC00Ljg4N2wxLjg5OC02LjMxMmg4LjQxNmwtMS44NjYgNS43NDdoNC42MWwyLjM3NS03LjM3NmgtMTMuMDI2Yy45NTgtMi41IDMuNzUyLTUuMjk4IDYuMjc1LTUuMjk4aDExLjg2YzIuNjU3IDAgNC4wNTYgMy4wMTggMy4yNDcgNS43MDVsLTIuMjY0IDcuNTM0em0tMjIuNTMtNS4yNzZoLTcuMzAybC44MDgtMi42MzJoLTMuOWwtMi4zNiA3LjMyMmgzLjlsLjU4Ny0xLjM2NWg3LjI2bC0xLjA4NCAzLjU4Yy0uODEgMi42ODgtMy4xNjMgMy4yNTgtNS44MiAzLjI1OGgtOS4yNGMtMi42NTYgMC00LjE3LTIuMi0zLjM2Mi00Ljg4N2wyLjI2NC03LjUzM2MuODA4LTIuNjg4IDIuOTEtNS43MDUgNi43MzUtNS43MDVoOC42NWMyLjg5MyAwIDQuMzQ4IDMuMyAzLjU2MiA1Ljg1bC0uNjk4IDIuMTEzek03MC45ODUgMjAuMDA3bDEuNjUtNi43MjJoNi40NGwtMS42NTIgNi43MjJoLTYuNDM4em0tNy4zOS02LjcyaDYuNDM4bC0xLjY1IDYuNzJoLS40OTV2LjAwM0g1NS43NjZ2LS4wMDdoLTUuNzJsNC43OC0xNi4wNThoLTEuOTEyTDU0LjA3LjA2NWgxLjkxbC4wMDQtLjAxaDkuMjM4TDYwLjM5NiAxNi4yN2gyLjQ2N2wuNzMyLTIuOTg0ek01MC4yNTggNi45MTJINDMuN2wuNzI0LTIuOTdoLTE0LjY1TDMwLjkzLjA2N2gyMC45MzZsLS4wMTQuMDZoLjA2TDUwLjI2IDYuOTE0ek0xNy41MTggMjBoLTYuNzgyTDguOSAzLjk0NUgyLjkxNUw0LjA3LjA2NWg0LjM4NnYtLjAxaDguNzdsMS43MjggMTUuMTIgNC41LTE1LjEyaDUuNDhsLTUuOTQgMTkuOTQ2aC01LjQ3N3pNNy41NzggNS40NWwuNDQgNC42NzMtMy4wMzcgOS44OEguMDUzTDQuNDk2IDUuNDVINy41OHptMzIuMzQ2LS4yNzhsLTEuMjE3IDQuMDMyaDcuMzk3bC0uODczIDMuNzRoLTcuNjVMMzUuNDUgMjBoLTguNjNsNC40NzYtMTQuODI4aDguNjN6bTkzLjI2NCAzLjUzbDEuNDU3IDYuNDctMS40MyA0LjgzMmgtNi43NjRMMTI5LjgxIDguN2gzLjM4eiIvPjwvc3dpdGNoPjwvc3ZnPg=="},szUk:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("ToqN"),u=n("8PPl"),a=n("oIMU"),c=n("ma23"),f=n("xqNZ"),l=n("+Ojf"),v=n("ECHB"),d=n("P8vF");function p(t){return l.default.classList(t)}!function(t){t.UI_INTERACT="playlistViewUiInteract",t.SCROLLED_TO_END="playlistViewScrolledToEnd"}(r=i.PlaylistViewEvent||(i.PlaylistViewEvent={}));var m=function(t){function i(i,n,s,e){var r=t.call(this,"PlaylistView")||this;return r.ty=i,r.KA=n,r.iy=s,r.pO=e,r.ty.addEventListener(a.PLAYER_DIMENSION_CHANGE,r.fN,r),r.ty.addEventListener(a.FULLSCREEN_CHANGE,r.MK,r),r.RN=r.KA.getPlaylistController(),r.IK=r.jK.bind(r),r}return e(i,t),i.prototype.create=function(t){if(-1===[u.PLAYLIST_POS.BOTTOM,u.PLAYLIST_POS.RIGHT,u.PLAYLIST_POS.HIDDEN].indexOf(t))return null;var i="vp-playlist-mode-"+t;this.NK=0,this.RK=[],this.kK=this.LK(t),this.Py=t;var n=l.default.render(d,{strings:f.default,modeClass:i,isHiddenMode:t===u.PLAYLIST_POS.HIDDEN||!1,theme:this.kK,streamModeClass:this.DK.inStream?"vp-playlist-in-stream":""});return this.iy.uiState&&this.iy.uiState.isCSSLoaded&&p(n).remove("vp-vis-hidden"),this.CK(n),this.PK(),this.sy(!0),n},i.prototype.syncView=function(){this.PK()},i.prototype.upNextBtnTapHandler=function(){var t=this.xK();if(!t.isEndOfPlaylist()){var i=t.position+1,n=t.getMediaItemAt(i).id;this.publish(r.UI_INTERACT,{srcElement:"ctrl-next-click"}),this.publish(r.UI_INTERACT,{srcElement:"ui_pl_nxt_clk"}),this.ty.publish(a.RELATED_ITEM_CLICK,n,i,!1);var s=this.Py===u.PLAYLIST_POS.RIGHT;this.UK(this.Py,s)}},i.prototype.syncPgBtns=function(){this.VK.scrollWidth<=this.VK.scrollLeft+this.VK.offsetWidth?this.BK=!0:this.BK=!1,this.VK.scrollLeft<=0?this.FK=!0:this.FK=!1,this.FK?p(this.zK).add("disabled"):p(this.zK).remove("disabled"),this.BK?p(this.HK).add("disabled"):p(this.HK).remove("disabled")},i.prototype.destroy=function(){var t=this;(this.YK(),this.RK&&this.RK.forEach((function(t){t.destroy()})),this.RK=[],this.jy)&&this.GK().forEach((function(i){i.removeEventListener("tap",t.IK)}))},i.prototype.setPlaylistViewSize=function(){var t=Math.floor(this.VK.offsetWidth/134);this.BK=t>=this.xK().getItems().length,this.syncPgBtns()},i.prototype.onMediaItemCurrent=function(){var t=this.KA.getFullscreen()?u.PLAYLIST_POS.HIDDEN:this.Py;this.UK(t,!0)},i.prototype.jK=function(t){p(this._node).remove("open");var i=this.GK().indexOf(t.target);this.ty.publish(a.RELATED_ITEM_CLICK,t.target.getAttribute("data-id"),i,!1),this.publish(r.UI_INTERACT,{srcElement:"ui_pl_thmb_clk"}),this.onMediaItemCurrent()},i.prototype.PK=function(){var t=this.xK().getItems();t&&0!==t.length&&(this.RK=[],this.WK(t),this.VK.scrollLeft=this.NK,this.syncPgBtns())},i.prototype.sy=function(t){var i=this;if(this.qK=new v.default(this.zK),this.zK.addEventListener("tap",(function(){i.XK(!1)})),this.QK=new v.default(this.HK),this.HK.addEventListener("tap",(function(){i.XK(!0)})),this.Py===u.PLAYLIST_POS.RIGHT&&!o.userAgent.mobile){this.jy.addEventListener("scroll",(function(){t&&i.jy.scrollTop+i.jy.offsetHeight>=i.jy.scrollHeight&&i.publish(r.SCROLLED_TO_END)}));var n=function(t){var n=i.jy.scrollTop,s=i.jy.scrollHeight,e=i.jy.offsetHeight,r="DOMMouseScroll"===t.type?-40*t.detail:t.wheelDelta,h=r>0,o=function(){return t.stopPropagation(),t.preventDefault(),t.returnValue=!1,!1};return!h&&-r>s-e-n?(i.jy.scrollTop=s,o()):!(h&&r>n)||(i.jy.scrollTop=0,o())};this.VK.addEventListener("mousewheel",n),this.VK.addEventListener("DOMMouseScroll",n)}},i.prototype.WK=function(t){var i=this,n=t&&t.filter((function(t){var n='.vp-playlist-item[data-id="'+t.id+'"]';return!i.jy.querySelector(n)}))||[],s=this.pO.getPlugin(c.PluginType.PLAYLIST,this.DK.mimetype);if(s){var e=s.create(this.Py,n,this.VK,f.default),r=document.createDocumentFragment();e.forEach((function(t,n){i.RK.push(new v.default(t,n)),t.addEventListener("tap",i.IK),r.appendChild(t)})),this.jy.appendChild(r),this.setPlaylistViewSize(),p(this.ZK).remove("vp-pl-loading"),this.KA.getFullscreen()||this.UK(this.Py,!1)}},i.prototype.XK=function(t){var i=this.KA.getFullscreen();if((this.Py!==u.PLAYLIST_POS.RIGHT||i)&&!(this.BK&&t||this.FK&&!t)){t&&this.VK.scrollWidth-2*this.VK.offsetWidth<=this.VK.scrollLeft&&this.publish(r.SCROLLED_TO_END),this.ty.publish(a.UP_NEXT_PG_CLICK);var n="next-";n=t?n+"right":n+"left",this.publish(r.UI_INTERACT,{srcElement:n});var s=148*Math.floor(this.VK.offsetWidth/148);t?this.VK.scrollLeft=Math.min(this.VK.scrollLeft+s,this.VK.scrollWidth-this.VK.offsetWidth):t||(this.VK.scrollLeft=Math.max(this.VK.scrollLeft-s,0)),this.NK=this.VK.scrollLeft,this.syncPgBtns()}},i.prototype.UK=function(t,i){var n=this.xK().getCurrentItem(),s=n&&n.id,e=this.jy.querySelector(".vp-currently-playing"),r='.vp-playlist-item[data-id="'+s+'"]',h=this.jy.querySelector(r);if(e&&(p(e).remove("vp-currently-playing"),t!==u.PLAYLIST_POS.RIGHT)){var o=e.querySelector(".vp-pl-title"),a=e.querySelector(".vp-pl-dur"),c=e.querySelector(".vp-playlist-item-gradient"),f=e.querySelector(".vp-now-playing");p(o).remove("vp-show"),p(a).remove("vp-hide"),p(c).remove("vp-playlist-item-gradient-duration"),p(f).remove("vp-show")}if(h){var l=h.offsetLeft,v=h.offsetWidth,d='[data-label-for-id="'+s+'"]',m=this.jy.querySelector(d);if(p(h).add("vp-currently-playing"),t!==u.PLAYLIST_POS.RIGHT){var b=h.querySelector(".vp-pl-dur"),y=h.querySelector(".vp-playlist-item-gradient"),g=h.querySelector(".vp-now-playing");p(b).add("vp-hide"),p(y).add("vp-playlist-item-gradient-duration"),p(g).add("vp-show");var w=v+14;l=t===u.PLAYLIST_POS.HIDDEN?l+w:l,this.jy.parentElement.scrollLeft=l}else if(t===u.PLAYLIST_POS.RIGHT&&i){var S=h.offsetTop;this.jy.scrollTop=m?m.offsetTop:S-5}this.syncPgBtns()}},i.prototype.LK=function(t){var i,n=this.DK&&this.DK.theme||"dark";switch(t){case u.PLAYLIST_POS.BOTTOM:case u.PLAYLIST_POS.RIGHT:i=n;break;case u.PLAYLIST_POS.HIDDEN:i="dark";break;default:i="dark"}return i},i.prototype.CK=function(t){this._node=t,this.jy=t.querySelector(".vp-playlist-strip-list"),this.VK=t.querySelector(".vp-playlist-strip"),this.ZK=t,this.zK=t.querySelector(".vp-playlist-pg-btn-prev"),this.HK=t.querySelector(".vp-playlist-pg-btn-next")},i.prototype.MK=function(){var t,i,n,s,e,r,h=this,o=this.KA.getFullscreen(),a=this.KA.getContentNode();if(this.fN(),this.RN.isPlaylistShown()&&this.setPlaylistViewSize(),this.Py===u.PLAYLIST_POS.BOTTOM||this.Py===u.PLAYLIST_POS.RIGHT){if(e=a.querySelector(".vp-upnext-playlist"),t=a.querySelector(".vp-playlist-mode-hidden"),i=a.querySelector(".vp-playlist-mode-"+this.Py),n=t.querySelector(".vp-playlist-strip-list"),s=i.querySelector(".vp-playlist-strip-list"),o)n.innerHTML=s.innerHTML,s.innerHTML="",p(e).remove("hide"),p(t).remove("vp-pl-loading"),this.CK(t),this.RN&&this.RN.attachUpNextMouseEvents(),setTimeout((function(){h.UK(u.PLAYLIST_POS.HIDDEN,!0)}),500);else{s.innerHTML=n.innerHTML,n.innerHTML="",r=this.Py===u.PLAYLIST_POS.RIGHT,p(e).add("hide"),this.CK(i),this.RN&&this.RN.detachUpNextMouseEvents();var c=this.jy.querySelector(".vp-currently-playing");c&&p(c).remove("vp-hide"),setTimeout((function(){h.UK(h.Py,r)}),500)}this.YK(),this.RK&&this.RK.forEach((function(t){t.destroy()})),this.RK=[],this.sy(!1),this.GK().forEach((function(t){h.RK.push(new v.default(t)),t.addEventListener("tap",h.IK)}))}},i.prototype.fN=function(){var t=this;this.RN.isPlaylistShown()&&(this.NK=0,setTimeout((function(){t.setPlaylistViewSize()}),1e3))},i.prototype.YK=function(){this.QK&&this.HK&&(this.QK.destroy(),this.HK.removeEventListener("tap",this.XK)),this.qK&&this.zK&&(this.qK.destroy(),this.zK.removeEventListener("tap",this.XK))},i.prototype.GK=function(){return Array.prototype.slice.call(this.jy.querySelectorAll(".vp-playlist-item"),0)},i.prototype.xK=function(){return this.iy.playlist},Object.defineProperty(i.prototype,"DK",{get:function(){return this.iy.playlistUIConfig},enumerable:!0,configurable:!0}),i}(h.default);i.default=m},t02R:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("O/dN"),h=n("ma23"),o=n("+Ojf"),u=n("LrgL"),a=n("vdbb"),c=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=a.CmdName.CMD_MORE_ITEMS_LOAD,s.mT=null,s.cT=!1,s.SS=!1,s}return e(i,t),i.prototype.destroy=function(){this.SS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.cT&&!this.SS){var t=this.data,i=t.cb,n=t.mimetype,s=t.reason,e=t.start,r=this.pO.getPlugin(h.PluginType.MORE_ITEMS,n);this.mT=i;var o={mimetype:n,reason:s,start:e};r&&(this.fT=r,this.cT=!0,r.resolve(o,this))}},i.prototype.cancel=function(){this.fT&&this.cT&&(this.fT.cancel(),this.cT=!1)},i.prototype.onComplete=function(t){this.cT&&!this.SS&&(this.cT=!1,this.publish(a.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.cT&&!this.SS&&(this.cT=!1,t&&t.code&&t.code.length)){var i=o.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code,t.message,"more items load failed");this.publish(a.CmdEvent.CMD_ERROR,this,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(a.CmdEvent.CMD_INFO,this,t)},i.prototype.onPromisesResolved=function(t){this.mT&&this.mT(t)},i}(u.default);i.default=c},t7Hg:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("9tgk"),e=n("t8Yn"),r=function(){function t(t){this.S_=t,this.S_&&(this.JK=this.S_.addEventListener(e.Events.PLAYER_RENDERED,this.KK,this))}return t.prototype.destroy=function(){this.S_&&this.JK&&this.S_.removeEventListener(e.Events.PLAYER_RENDERED,this.JK),this.S_=null},t.prototype.KK=function(){s.default.sendBeacon()},t}();i.default=r},t8Yn:function(t,i,n){t.exports=n("gvSP")},t8qO:function(t,i,n){"use strict";t.exports=r;var s=n("y5bh").HLSEvent,e=n("lPOR");function r(){this.iy=this.__controller.model,this.XM=!1,this.ay=!1,this.PX=NaN,this.$K=NaN,this.t$={},this.tE=!0,this.i$=-1,this.MIN_BUFFER_TO_PLAY=1,this.MIN_TIME_TO_BUFFER_CHECK=150,this.BUFFER_REPORT_THRESHOLD=20,this.MIN_BUFFER_TIME_UPPER_BOUND=5,this.WEIGHT=.5,this.CHROME_BUFFER_GAP_EPSILON=.15,this.n$=!0,this.EH=!1,this.s$()}r.prototype.onPlayRequested=function(){this.e$()},r.prototype.destroy=function(){},r.prototype.checkBuffering=function(t){var i=this.iy.bufferLength,n=this.iy.currentTime,s=this.iy.duration;if(!(isFinite(s)&&n+.05>s)){var e=this.FX();!t&&e<this.MIN_TIME_TO_BUFFER_CHECK||(!(i<=.02||this.r$===n&&i<this.MIN_BUFFER_TO_PLAY)||this.tE||this.iy.preloading||this.XM?!isNaN(this.PX)&&n>this.PX?this.h$():!this.tE&&this.r$===n&&this.iy.getTotalBufferLength()>this.MIN_BUFFER_TO_PLAY&&this.o$():this.e$(),this.r$=n,this.UX=Date.now())}},r.prototype.onPlaying=function(){this.tE=!1},r.prototype.onPause=function(){this.tE=!0,this.XM&&(this.t$.bufferInit=!0,this.h$())},r.prototype.onSeeking=function(){this.EH=!0},r.prototype.onSeeked=function(){this.EH=!1},r.prototype.onTimeUpdate=function(){this.XM&&this.checkBuffering(!0)},r.prototype.onVideoSync=function(t){this.r$=t},r.prototype.onError=function(){this.XM&&this.h$()},r.prototype.onComplete=function(){this.XM&&this.h$(),this.s$()},r.prototype.o$=function(){if(!(this.iy.bufferedRanges.length<2)){var t=this.iy.TIMESTAMP_COMPARE_EPSILON,i=this.iy.currentTime;this.iy.userAgent&&this.iy.userAgent.chrome&&(i-=3);for(var n=this.iy.bufferedRanges.ranges,r=0;r<n.length-1;r++){var h=n[r],o=n[r+1];if(o.start-h.end>this.iy.config.skipGapLimit)this.iy.currentTime!==this.$K&&(this.__controller.sendEvent(s.BUFFER_GAP_DETECTED,o.start-h.end),this.$K=this.iy.currentTime);else{var u=h.end-t-(this.iy.userAgent.chrome?this.CHROME_BUFFER_GAP_EPSILON:0),a=o.start;i>u&&i<a&&this.__controller.sendMessage(e.MessageIds.SKIP_GAP,[o.start],["seekPosition"])}}}},r.prototype.e$=function(){if(!this.XM){this.XM=!0;var t=this.getMinimumBufferTime();this.u$(),this.PX=this.iy.currentTime,this.EH&&(this.n$=!0),this.t$={value:this.XM,bufferInit:this.n$,minBufferTime:t},this.__controller.sendEvent(s.WAITING,this.t$)}},r.prototype.h$=function(){this.XM&&(this.XM=!1,this.PX=NaN,this.t$={value:!1,waitTime:this.a$(),bufferInit:this.n$,minBufferTime:.1},this.__controller.sendEvent(s.WAITING,this.t$),this.t$={},this.n$=!1)},r.prototype.getMinimumBufferTime=function(){var t=this.__controller.services.bandwidthEstimator.instantaneousBandwidth,i=this.iy.getCurrentLoadingStream(),n=i?i.bitrate/1e6:0,s=this.iy.config.minBufferTime;return s=this.iy.live?s.live:s.vod,this.iy.config.variableMinBuffer&&n&&!isNaN(t)?this.c$(t/n,s):s},r.prototype.c$=function(t,i){var n=this.MIN_BUFFER_TIME_UPPER_BOUND;if(i>=n)return i;var s=Math.max(i,0);if(t>=1)return s;var e=t*n;return 1*Math.max(s,n-e*this.WEIGHT).toFixed(1)},r.prototype.FX=function(){var t=Date.now();return this.UX=this.UX||t,t-this.UX},r.prototype.u$=function(){var t=this.FX(),i=this.f$();this.RX=Date.now()-Math.max(t-i,0)},r.prototype.a$=function(){var t=this.f$(),i=Math.max(Date.now()-this.RX-t,0);return this.t$.bufferInit||i<this.BUFFER_REPORT_THRESHOLD?0:i},r.prototype.f$=function(){var t=0;return this.r$&&(t=1e3*(this.iy.currentTime-this.r$).toFixed(3)),t},r.prototype.s$=function(){this.UX=null,this.r$=null},r.prototype.isBuffering=function(){return this.XM}},tGho:function(t,i,n){"use strict";var s=n("2fkz").CmdNames,e=n("YLu2");t.exports.create=function(t,i,n){for(var r in s){if(s.hasOwnProperty(r))if(s[r]===t)return new(0,e[t+"Command"])(i,n)}return null}},tPWK:function(t,i,n){"use strict";t.exports=a;var s=n("x7P6"),e=s.MetadataTypes,r=s.StreamingMode,h=n("V66C").StreamTypes,o="#EXT-X-MEDIA:TYPE=SUBTITLES,",u="#EXT-X-MEDIA-SEQUENCE:";function a(){this.EB=[],this.ERRORS={INVALID_M3U8:1,EMPTY_DATA:2,NO_SEGMENTS:3}}a.prototype.parse=function(t){if(!t)return null;return t.type===e.STRUCTURED?this.parseStructuredMetadata(t):this.Tx(t)},a.prototype.Tx=function(t){var i={},n=t.rawData;if(""===n||!n)return i.error=this.ERRORS.EMPTY_DATA,i;var s=n.split("\n");return 0!==s[0].indexOf("#EXTM3U")?(i.error=this.ERRORS.INVALID_M3U8,i):n.indexOf("#EXTINF:")>0?this.l$(s,t):n.indexOf("#EXT-X-STREAM-INF:")>0?this.v$(s,t):(i.error=this.ERRORS.INVALID_M3U8,i)},a.prototype.parseStructuredMetadata=function(t){var i=this,n={};return n.streamInfoList=i.parseStreamInfo(t.streams),t.hasStreamMetadata&&n.streamInfoList.forEach((function(t){t.segmentInfoList=i.parseSegmentInfo(t.hlsInfo,t.initSegment,t.index),t.duration=0,t.segmentInfoList.forEach((function(i){t.duration+=i.duration})),t.hasEndList=!0,t.targetDuration=t.hlsInfo.segment_duration})),t.hasAltStreamMetadata&&(n.renditionGroups={},t.altStreams.forEach((function(t){var s,e=t.manifestContent;e&&0===e.indexOf(o)?((s=i.d$(e,t.host)).type=h.SUBTITLES,s.containerFormat="vtt"):(s=i.parseStreamInfo([t])[0]).hlsInfo&&(s.segmentInfoList=i.parseSegmentInfo(s.hlsInfo,s.initSegment)),i.p$(n.renditionGroups,s)}))),n},a.prototype.v$=function(t,i){for(var n=[],s={},e=i.url,r=i.cdn,h=0;h<t.length;h++){var o=null,u=t[h].trim();if(0===u.indexOf("#EXT-X-STREAM-INF:")){o=this.m$(this.b$(u.substr("#EXT-X-STREAM-INF:".length)));do{u=t[++h]}while(u.match(/^\s*$/));o.url=this.y$(u,e),o.cdn=r,n.push(o)}else 0===u.indexOf("#EXT-X-MEDIA:")&&(u=u.replace(/"/g,""),o=this.g$(this.b$(u.substr("#EXT-X-MEDIA:".length)),e),this.p$(s,o))}return{streamInfoList:n,renditionGroups:s}},a.prototype.p$=function(t,i){if(i.type&&i.groupId){var n=t[i.type];n||(n=t[i.type]={});var s=n[i.groupId];s&&s.length?s.push(i):n[i.groupId]=[i]}},a.prototype.b$=function(t){for(var i={},n=t.indexOf("=");-1!==n;){var s=t.substr(0,n),e=0;'"'===(t=t.substr(n+1)).charAt(0)?(e=t.substr(1).indexOf('"'),i[s]=t.substr(1,e),t=t.substr(e+3)):(e=-1===(e=t.indexOf(","))?t.length:e,i[s]=t.substr(0,e),t=t.substr(e+1)),n=t.indexOf("=")}return i},a.prototype.l$=function(t,i){var n={},s={},e=[],o=[],a={streamInfoList:[],renditionGroups:{}};if(!t||!t.length)return a;var c=i.url,f=i.index;s.discontinuity=!1,s.sequenceNum=0,s.startTime=0,s.programDateTime=0,s.brStartOffset=-1,s.brEndOffset=-1,s.levelIndex=f,n.discontinuitySeqNum=0,n.index=f,n.targetDuration=0,n.hasEndList=!1,n.url=c,n.duration=0,n.containerFormat="",n.streamingMode=r.HLS;for(var l=0;l<t.length;l++){var v=t[l].trim();if(!v.match(/^\s*$/)){if(0===v.indexOf(u)&&(n.seqNum=parseInt(v.substr(u.length)),s.sequenceNum=n.seqNum),0===v.indexOf("#EXT-X-DISCONTINUITY-SEQUENCE:"))n.discontinuitySeqNum=parseInt(v.substr("#EXT-X-DISCONTINUITY-SEQUENCE:".length));else if(0===v.indexOf("#EXT-X-DISCONTINUITY"))s.discontinuity=!0;else if(0===v.indexOf("#EXT-X-TARGETDURATION:"))n.targetDuration=parseFloat(v.substr("#EXT-X-TARGETDURATION:".length));else if(0===v.indexOf("#EXT-X-MAP")){var d=this.w$(v,c);s.initSegment=d}else if(0===v.indexOf("#EXT-X-KEY"))s.encryptionData=this.S$(v,c);else if(0===v.indexOf("#EXT-X-PROGRAM-DATE-TIME:"))s.programDateTime=this.E$(v);else if(0===v.indexOf("#EXTINF:")){var p=v.indexOf(",");s.duration=-1===p?parseFloat(v.substr("#EXTINF:".length)):parseFloat(v.substr("#EXTINF:".length,p-"#EXTINF:".length)),n.duration+=s.duration;do{v=t[++l].trim()}while(v.match(/^\s*$/));if(0===v.indexOf("#EXT-X-BYTERANGE:")){var m=v.substr("#EXT-X-BYTERANGE:".length,v.length-"#EXT-X-BYTERANGE:".length),b=m.indexOf("@");s.brStartOffset=parseInt(m.substr(b+1,m.length-b-1)),s.brEndOffset=s.brStartOffset+parseInt(m.substr(0,b))-1;do{v=t[++l].trim()}while(v.match(/^\s*$/))}s.url=this.y$(v,c),s.containerFormat=this.O$(s.url),n.containerFormat=s.containerFormat,e.push(this.A$(s)),s.startTime+=s.duration,s.sequenceNum++,s.programDateTime=0,s.brStartOffset=-1,s.brEndOffset=-1,s.encryptionData&&(s.encryptionData.initVector=null)}else 0===v.indexOf("#EXT-X-ENDLIST")&&(n.hasEndList=!0);if(v.indexOf("#EXT-X-CUE-OUT:")>=0){var y=this._$(s.sequenceNum,v);o.push(y)}}}if(e.length&&(n.segmentInfoList=e,n.initSegment=e[0].initSegment),o.length&&(n.cuepointList=o),i.streamType&&i.streamType!==h.MAIN){var g=a.renditionGroups;n.type=i.streamType,n.groupId=i.groupId,n.name=i.name,this.p$(g,n)}else a.streamInfoList.push(n);return a},a.prototype.m$=function(t){if(!t)return null;var i={streamingMode:r.HLS};return Object.keys(t).forEach((function(n){var s=t[n];switch(n){case"BANDWIDTH":i.bitrate=1*s;break;case"AVERAGE-BANDWIDTH":i.avgBitrate=1*s;break;case"RESOLUTION":var e=s.split("x");i.width=parseInt(e[0]),i.height=parseInt(e[1]);break;case"CODECS":i.codecs=s.split(","),i.hasAudio=-1!==s.indexOf("mp4a");break;case"AUDIO":i.audioGroupId=s.replace(/"/g,"");break;case"VIDEO":i.videoGroupId=s.replace(/"/g,"");break;case"SUBTITLES":i.subtitlesGroupId=s.replace(/"/g,"");break;case"CLOSED-CAPTIONS":i.ccGroupId=s.replace(/"/g,"")}})),i},a.prototype.O$=function(t,i){var n=null;return t&&t.length?t.indexOf(".ts")>-1?n="ts":t.indexOf(".mp4")>-1||t.indexOf(".m4s")>-1?n="mp4":t.indexOf(".aac")>-1?n="aac":t.indexOf(".vtt")>-1&&(n="vtt"):i&&(i.indexOf("mp2t")>-1?n="ts":i.indexOf("mp4")>-1?n="mp4":i.indexOf("aac")>-1?n="aac":i.indexOf("vtt")>-1&&(n="vtt")),n},a.prototype.y$=function(t,i){var n=null;return"http://"===t.substr(0,7)||"https://"===t.substr(0,8)?t:(i.indexOf("?")>-1&&(i=i.substr(0,i.indexOf("?"))),"/"===t.substr(0,1)?i.substr(0,i.indexOf("//")+2)+(n=i.substr(i.indexOf("//")+2)).substr(0,n.indexOf("/"))+t:i.substr(0,i.lastIndexOf("/")+1)+t)},a.prototype.d$=function(t,i){var n=(t=t.replace(/"/g,"")).substr(o.length).split(",");return this.T$(n,t,i)},a.prototype.T$=function(t,i,n){var s=this,e={};return t&&t.length&&(t.forEach((function(t){t.indexOf("GROUP-ID")>-1?e.groupId=t.split("=")[1]:t.indexOf("LANGUAGE")>-1?e.language=t.split("=")[1]:t.indexOf("NAME")>-1?e.name=t.split("=")[1]:t.indexOf("AUTOSELECT")>-1?e.autoSelect="YES"===t.split("=")[1]:t.indexOf("DEFAULT")>-1?e.default="YES"===t.split("=")[1]:t.indexOf("URI")>-1?e.url=s.y$(t.substr(4),n):t.indexOf("FORCED")>-1&&(e.forced="YES"===t.split("=")[1])})),e.streamingMode=r.HLS),e},a.prototype.g$=function(t,i){var n=this;if(!t)return null;var s={streamingMode:r.HLS};return Object.keys(t).forEach((function(e){var r=t[e];switch(e){case"TYPE":s.type=r,s.type===h.SUBTITLES&&(s.containerFormat="vtt");break;case"GROUP-ID":s.groupId=r;break;case"LANGUAGE":s.language=r;break;case"NAME":s.name=r;break;case"AUTOSELECT":s.autoSelect="YES"===r;break;case"DEFAULT":s.default="YES"===r;break;case"FORCED":s.forced="YES"===r;break;case"URI":s.url=n.y$(r,i)}})),s},a.prototype.M$=function(t){var i={};return i.discontinuity=t.discontinuity,i.sequenceNum=t.sequenceNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.url=t.url,i.duration=t.duration,i},a.prototype.w$=function(t,i){if(!t)return null;for(var n={},s=t.substr("#EXT-X-MAP".length+1).split(","),e=0;e<s.length;e++){var r=s[e].split("=");if(0===r[0].indexOf("URI"))n.url=this.y$(s[e].substr(5,s[e].length-6),i);else if(0===r[0].indexOf("BYTERANGE")){var h=r[1].indexOf("@");n.range={start:parseInt(r[1].substr(h+1,r[1].length-h-2)),end:parseInt(r[1].substr(1,h-1)-1)}}}return n},a.prototype.S$=function(t,i){if(!t)return null;for(var n={},s=t.substr("#EXT-X-KEY".length+1).split(","),e=0;e<s.length;e++){var r=s[e].split("=");0===r[0].indexOf("URI")?n.keyUri=this.y$(s[e].substr(5,s[e].length-6),i):0===r[0].indexOf("METHOD")?n.method=r[1]:0===r[0].indexOf("IV")&&(n.initVector=r[1])}return n},a.prototype.E$=function(t){if(!t)return 0;var i,n,s=t.substr("#EXT-X-PROGRAM-DATE-TIME:".length).split("T"),e=s[0].split("-"),r=parseInt(e[0]),h=parseInt(e[1])-1,o=parseInt(e[2]),u=s[1],a=0;if(u.indexOf("Z")>=0)i=u.substr(0,u.indexOf("Z")).split(":");else if(u.indexOf("+")>=0){var c=u.split("+");i=c[0].split(":"),n=c[1].split(":"),a=-1}else if(u.indexOf("-")>=0){var f=u.split("-");i=f[0].split(":"),n=f[1].split(":"),a=1}var l=0,v=0,d=0;(i&&(l=parseInt(i[0]),v=parseInt(i[1]),d=parseFloat(i[2])),n)&&(l=(24+l+a*parseInt(n[0]))%24,(v+=a*parseInt(n[1]))>=60?(l++,v-=60):v<0&&(l--,v+=60));return new Date(Date.UTC(r,h,o,l,v,d)).getTime()},a.prototype.A$=function(t){var i={};i.discontinuity=t.discontinuity,i.sequenceNum=t.sequenceNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.brStartOffset=t.brStartOffset,i.brEndOffset=t.brEndOffset,i.containerFormat=t.containerFormat,i.levelIndex=t.levelIndex,i.url=t.url,i.duration=t.duration;var n=t.encryptionData;n&&(i.encryptionData={keyUri:n.keyUri,method:n.method,initVector:n.initVector});var s=t.initSegment;return s&&(i.initSegment={url:s.url},s.range&&(i.initSegment.range={start:s.range.start,end:s.range.end})),i},a.prototype.parseStreamInfo=function(t){var i=this;if(!t)return null;var n=[];return t.forEach((function(t,s){var e=t.host;t.path&&""!==t.path?e+=t.path:t.url&&(e=t.url);var o={streamingMode:r.HLS,bitrate:1e3*t.bitrate,avgBitrate:t.avgBitrate?1e3*t.avgBitrate:0,channels:t.channels,height:t.height,width:t.width,url:e,index:s,hlsInfo:t.hls_info,cdn:t.cdn,rcMode:t.rcMode||"cbr",format:t.format,audioCodec:t.acodec,videoCodec:t.vcodec,autoSelect:t.auto_select,default:t.default,type:(t.type||h.MAIN).toUpperCase(),name:t.name,groupId:t.group_id,language:t.language,forced:t.forced};if(t.alt_renditions&&(o.audioGroupId=t.alt_renditions.audio_group_id,o.videoGroupId=t.alt_renditions.video_group_id,o.subtitlesGroupId=t.alt_renditions.subtitle_group_id,o.ccGroupId=t.alt_renditions.cc_group_id),o.hlsInfo&&o.hlsInfo.mp4_url){var u=o.hlsInfo;o.initSegment={url:u.mp4_url},u.init_segment_offset>=0&&u.init_segment_length>=0&&(o.initSegment.range={start:u.init_segment_offset,end:u.init_segment_offset+u.init_segment_length-1}),o.sidxOffset=u.sidx_offset,o.sidxLength=u.sidx_length,o.firstSegOffset=u.first_segment_offset,o.firstSegLength=u.first_segment_length}if(t.manifestContent&&t.manifestContent.indexOf("SUBTITLES")>-1){var a=t.manifestContent.split('SUBTITLES="')[1];o.subtitlesGroupId=a.substr(0,a.indexOf('"'))}if(o.hlsInfo){var c=o.hlsInfo.ts_url||o.hlsInfo.mp4_url;o.containerFormat=i.O$(c,o.hlsInfo.mime_type)}n.push(o)})),n},a.prototype.parseSegmentInfo=function(t,i,n){if(!t)return null;var s=[],e={brStartOffset:-1,brEndOffset:-1,programDateTime:0,discontinuity:!1};e.sequenceNum=t.start_index,e.startTime=0,e.initSegment=i;var r="";t.ts_url&&(r=t.ts_url.indexOf("?")>=0?"&":"?");for(var h=0;h<t.segments_count;h++){if(t.ts_url)if(t.ts_url.indexOf("_xx.ts")>=0){var o="_"+e.sequenceNum.toString()+".ts";e.url=t.ts_url.replace("_xx.ts",o),e.url=e.url+r+"yh=1"}else e.url=t.ts_url+r+"num="+e.sequenceNum.toString();else e.url=t.mp4_url,0===h&&(e.brStartOffset=t.first_segment_offset,e.brEndOffset=e.brStartOffset+t.first_segment_length-1);e.levelIndex=n,e.duration=t.segment_duration,h===t.segments_count-1&&(e.duration=t.last_segment_duration),e.containerFormat=this.O$(e.url,t.mime_type),s.push(this.A$(e)),e.sequenceNum++,e.startTime+=e.duration,e.brStartOffset=-1,e.brEndOffset=-1}return s},a.prototype.I$=function(t){var i=t.split(":"),n=0;return i.length>1&&(n=1e3*parseFloat(i[1])),n},a.prototype._$=function(t,i){var n=t;if(!(n<0)){var s=this.I$(i),e={};return e.startSeqNum=n,e.startTime=NaN,e.cuepointDuration=s,e}}},tgpW:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("2IYR"),r=n("R+G7"),h=n("+Ojf"),o=function(){function t(){this.j$=[],this.N$=[],this.R$=null,this.k$=r.default.hasTouchRestrictions,this.L$=1,this.fill()}return t.getPool=function(){return t.D$||(t.D$=new t),t.D$},t.prototype.get=function(){this.j$.length<=2&&this.fill();var t=this.j$.shift();if(t)return e.default.isUnmuteRestrictionRemoved(t)||this.N$.push(t),t.setAttribute("data-vp-ridx",this.L$+""),t.__rendererIndex=this.L$,this.L$++,t},t.prototype.fill=function(){this.C$(10-this.j$.length)},t.prototype.discard=function(t){e.default.cleanupVideoNode(t);var i=this.N$.indexOf(t);-1!==i&&this.N$.splice(i,1)},t.prototype.destroy=function(){this.R$&&this.R$(),this.j$.length=0,this.N$.length=0,this.N$=this.j$=[],this.R$=null},t.prototype.C$=function(t){for(var i=0;i<t;i++){var n=s.userAgent.mobile?e.default.createMobileVideoNode():h.default.createVideoNode();this.j$.push(n)}this.k$&&this.P$()},t.prototype.P$=function(){var t=this;this.R$||(this.R$=e.default.waitForValidUserGestureEvent((function(){t.R$=null,t.N$.forEach(e.default.removeUnmuteRestriction),t.j$.forEach(e.default.removeUnmuteRestriction),t.N$.forEach(e.default.removeTouchToPlayRestriction),t.j$.forEach(e.default.removeTouchToPlayRestriction),t.N$.length=0})))},t}();i.default=o},u8By:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.PREROLL="preroll",t.POSTROLL="postroll",t.MIDROLL="midroll",t.TRIGGER="trigger",t.NON_LINEAR="nonlinear",t.NATIVE="native"}(i.AdBreakType||(i.AdBreakType={})),function(t){t.DUMMY="ad/dummy"}(i.AdBreakMimeType||(i.AdBreakMimeType={}))},ulAJ:function(t,i,n){"use strict";t.exports.LicenseManager=u;var s=n("/iNa"),e=n("iSaY"),r=n("R6Gm"),h=n("2fkz").CmdNames,o=n("HNE+");function u(t,i,n){this.YE=h.CMD_LICENSE_LOAD,this.LICENSE_TYPE_NONE=0,this.LICENSE_TYPE_WIDEVINE=1,this.LICENSE_TYPE_PLAYREADY=2,this.x$=0,this.playreadyKeySystem={keySystem:"com.microsoft.playready",supportedConfig:[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"',robustness:""}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"',robustness:""}]}]},this.widevineKeySystem={keySystem:"com.widevine.alpha",supportedConfig:[{label:"foo",initDataTypes:["cenc"],sessionTypes:["temporary"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.640028"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.640028"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d001f"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.4d001f"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.42000d"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.42000d"',robustness:"SW_SECURE_CRYPTO"}]}]},this.LICENSE_STATUS_DONE="DONE",this.LICENSE_STATUS_LOADING="LOADING",this.LICENSE_STATUS_NEW="NEW_REQ",this.BE=t.create(r),this.U$=[],window.addEventListener("beforeunload",this.V$.bind(this)),this.HX=i,this.PE=n,this.B$=null,this.F$=null,this.z$=null,this.H$=[],this.Y$=new o(250),this.Y$.addEventListener(this.G$,this),this.W$=0,this.Ry=t,this.q$()}u.prototype.addDrmItem=function(t){s.isDrmItemContained(t,this.H$)||(t.status=this.LICENSE_STATUS_NEW,this.H$.push(t),this.X$(this))},u.prototype.q$=function(){var t=this;t.F$=null,navigator.requestMediaKeySystemAccess?navigator.requestMediaKeySystemAccess(t.widevineKeySystem.keySystem,t.widevineKeySystem.supportedConfig).then((function(i){t.x$=t.LICENSE_TYPE_WIDEVINE,t.PE.appModel.licenseType="widevine",i.createMediaKeys().then((function(i){t.Q$(t,i)}),(function(){t.z$={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for Widevine"}}))}),(function(){navigator.requestMediaKeySystemAccess(t.playreadyKeySystem.keySystem,t.playreadyKeySystem.supportedConfig).then((function(i){t.x$=t.LICENSE_TYPE_PLAYREADY,t.PE.appModel.licenseType="playready",i.createMediaKeys().then((function(i){t.Q$(t,i)}),(function(){t.z$={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for PlayReady"}}))}),(function(){t.z$={type:e.ERR_DRM_CONFIG,message:"LicenseManager - Your browser/system does not support the requested configurations for playing DRM protected content."}}))})):t.z$={type:e.ERR_DRM_EME_MISSING,message:"LicenseManager - Browser EME components not detected! (also check URL for HTTPS)"}},u.prototype.Q$=function(t,i){t.F$=i,t.Y$.start()},u.prototype.G$=function(){var t=this;t.HX.mediaKeys||(t.Y$.stop(),t.HX.setMediaKeys(t.F$).then((function(){t.X$(t)}),(function(i){t.z$={type:e.ERR_DRM_INIT,message:"LicenseManager - "+i}})))},u.prototype.X$=function(t){if(null===t.F$&&null!==t.z$)return t.Z$(t.z$.type,t.z$.message),void(t.z$=null);if(null!==t.F$)for(var i=0;i<t.H$.length;i++){var n=t.H$[i];n.status===t.LICENSE_STATUS_NEW&&(t.x$===t.LICENSE_TYPE_WIDEVINE?(n.widevine.initData=s.base64ToBuffer(n.widevine.pssh),n.widevine.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.J$(t,n.widevine)):t.x$===t.LICENSE_TYPE_PLAYREADY&&(n.playready.initData=s.base64ToBuffer(n.playready.pssh),n.playready.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.J$(t,n.playready)))}},u.prototype.J$=function(t,i){var n=t.F$.createSession("temporary");t.U$.push(n),n.addEventListener("message",(function(n){t.K$(t,i,n)}),!1);var s=n.generateRequest(i.initDataType,i.initData);s.then((function(){t.W$++,t.W$===t.H$.length&&t.Ry.onGenerateRequestComplete()})),s.catch((function(i){t.Z$(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - keySession.generateRequest() failed: "+i)}))},u.prototype.$$=function(t,i){return t.x$===t.LICENSE_TYPE_PLAYREADY?i.prefix+"/pr":t.x$===t.LICENSE_TYPE_WIDEVINE?i.prefix+"/wv":""},u.prototype.K$=function(t,i,n){var s=t.$$(t,i),e=t.t0(t,n.message);t.BE.executeCommand(t.YE,{challenge:e.challenge,headerFields:e.headerFields,url:s,drmInfo:i,event:n},t)},u.prototype.t0=function(t,i){var n,r={};if(t.x$===t.LICENSE_TYPE_PLAYREADY){var h=(new DOMParser).parseFromString(String.fromCharCode.apply(null,new Uint16Array(i)),"application/xml");h.getElementsByTagName("Challenge")[0]?n=s.base64ToBuffer(h.getElementsByTagName("Challenge")[0].childNodes[0].nodeValue).buffer:t.Z$(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - Cannot find <Challenge> in key message");var o=h.getElementsByTagName("name"),u=h.getElementsByTagName("value");o.length!==u.length&&t.Z$(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - Playready: Mismatched header <name>/<value> pair in key message");for(var a=0;a<o.length;a++)r[o[a].childNodes[0].nodeValue]=u[a].childNodes[0].nodeValue}else t.x$===t.LICENSE_TYPE_WIDEVINE&&(n=i);return{challenge:n,headerFields:r}},u.prototype.onLicenseLoadComplete=function(t,i){var n=this,s=t.data?t.data.event:null,r=t.data?t.data.drmInfo:null;s.target.update(i.data).catch((function(t){n.Z$(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - call to MediaKeySession.update() failed: "+t)}));for(var h=0;h<n.H$.length;h++)n.H$[h].widevine.pssh!==r.pssh&&n.H$[h].playready.pssh!==r.pssh||(n.H$[h].status=n.LICENSE_STATUS_DONE)},u.prototype.onLicenseLoadError=function(){this.Z$(e.ERR_XHR_LOAD,"LicenseManager - XHR failed")},u.prototype.Z$=function(t,i){var n=new e.Error(t,i);this.PE.notifyError(n)},u.prototype.V$=function(){for(var t=0;t<this.U$.length;t++)this.U$[t].close().then((function(){}));this.U$=[]},u.prototype.destroy=function(){this.i0=null,this.F$=null,this.H$=[],this.V$(),this.Y$.destroy()}},ury3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("mczr"),e=n("+Ojf"),r=function(){function t(t){this.Ry=t}return t.prototype.getCurrentAdBreak=function(){var t=this.getCurrentAdBreakItem();return t?t.adBreak:null},t.prototype.getCurrentAdBreakItem=function(){var t=this.Ry.getPlayingItem();return e.default.getPlaybackMode(t)===s.PlaybackMode.AD?t:null},t}();i.default=r},"v/u1":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("fLR+"),e=n("EUld"),r=function(){function t(t){this.position=-1,this.n0=[],this.s0=0,this.if=t}return t.prototype.destroy=function(){this.n0=[],this.position=-1},t.prototype.addItems=function(t){if(t&&t.length){for(var i=0,n=t;i<n.length;i++){var s=n[i],r=this.if.addItem(s);this.contains(r)||(this.n0.push(r),this.if.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,r))}this.n0.length&&-1===this.position&&(this.position=0)}},t.prototype.addItemAtIndex=function(t,i){if(t&&void 0!==i&&!(i<0)){var n=this.if.addItem(t);this.contains(n)||(this.n0.splice(i,0,n),this.if.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,n)),this.n0.length&&-1===this.position&&(this.position=0)}},t.prototype.removeItems=function(t,i){var n=this;this.n0.slice(t,t+i).forEach((function(t){return n.if.publish(e.MediaStoreEvent.MEDIA_ITEM_REMOVED,t)})),this.n0.splice(t,i),this.position>=t+i?this.position-=i:t<=this.position&&this.position<t+i&&(this.position=-1)},t.prototype.update=function(t){var i=this,n=[];return t&&t.length?(t.forEach((function(t){i.if.getByData(t)&&n.push(i.if.updateItem(t))})),n):n},t.prototype.updateMediaItemsState=function(t,i){var n=this;t&&t.forEach((function(t){n.if.updateItemState(t,i)}))},t.prototype.updateMediaItemsSourceState=function(t,i){var n=this;t&&t.forEach((function(t){n.if.updateItemSourceState(t,i)}))},t.prototype.contains=function(t){return this.n0.indexOf(t)>=0},t.prototype.getMediaItemAt=function(t){return t<0||t>=this.n0.length?null:this.if.get(this.n0[t])},t.prototype.getMediaItemById=function(t){return t?this.if.getById(t):null},t.prototype.getMediaItemBySessionId=function(t){return t?this.if.getBySessionId(t):null},t.prototype.getCurrentItem=function(){return this.getMediaItemAt(this.position)},t.prototype.appendItem=function(t){if(t){var i=this.n0.length;return this.n0.push(t.key),i}return-1},t.prototype.getItems=function(){for(var t=[],i=0;i<this.n0.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n)}return t},t.prototype.getItemIds=function(){for(var t=[],i=0;i<this.n0.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n.id)}return t},t.prototype.getItemPosition=function(t){for(var i=0,n=0,s=this.n0;n<s.length;n++){if(0===s[n].indexOf(t))return i;i++}return-1},Object.defineProperty(t.prototype,"size",{get:function(){return this.n0.length},enumerable:!0,configurable:!0}),t.prototype.setPosition=function(t){s.isNumber(t)&&(this.position=t)},t.prototype.getNextPosition=function(t,i,n){if((n=n||{}).looped=!1,n.ended=!1,-1===this.position)return-1;if(!this.n0.length)return-1;var s=this.position+1;if(n.playlistLoop&&s===this.n0.length)return n.looped=!0,0;if(t){if(s<this.n0.length)return s;if(i&&s===this.n0.length)return n.looped=!0,0}return!t&&i?(n.looped=!0,this.position):(n.ended=!0,-1)},t.prototype.getCurrentPosition=function(){return this.position},t.prototype.isEndOfPlaylist=function(){return this.position===this.n0.length-1},Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.e0},set:function(t){this.e0=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistFetchIndex",{get:function(){return this.s0},set:function(t){this.s0=t},enumerable:!0,configurable:!0}),t.prototype.r0=function(t,i){var n=new Error(t);if(!i)throw n;i.push(n)},t}();i.default=r},v0b8:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("pBvk"),e=n("rBpt"),r=n("u8By"),h=n("yzVy"),o=n("UDn2"),u=n("ma23"),a=n("fLR+"),c={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{playURL:{type:"string"}},required:["playURL"]},f=function(){function t(){this.version="0.2.292",this.mimetype=o.MediaItemMimeType.UPLYNK,this.type=u.PluginType.SOURCE_METADATA,this.ux=[],this.h0={},this.H_=!1,this.pI=!1,e.Loader.preconnect("preconnect-uplynk","//content.uplynk.com")}return t.prototype.prepare=function(){},t.prototype.resolve=function(t,i,n){var s=this;if(Array.isArray(t)&&0!==t.length){this.h0=this.o0(i.privacyConsent);var e=t.map((function(t){return new Promise((function(i,e){s.yx(t,i,e,n)}))}));this.pI=!1;var r=function(){s.pI=!0};this.ux.push(r),Promise.all(e).then((function(t){s.pI||(s.wx(r),n.onComplete(t))})).catch((function(t){if(!s.pI){s.wx(r);var i={code:"1",message:t.toString()};n.onError(i)}})),this.H_=!1}},t.prototype.recover=function(t,i,n){t&&(this.H_=!0,this.resolve([t],i,n))},t.prototype.cancel=function(){this.ux.forEach((function(t){t()})),this.ux=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.yx=function(t,i,n,e){var r=this;this.u0(t)&&!this.H_?i(t):this.a0(t,(function(h,u,a,f){var l=h&&s.validate(h,c);if(!l||!l.valid)return n("Invalid preplay response");var v=h.sid,d=t.metadata,p=d&&(d.type===o.MediaItemType.LIVE_EVENT||d.type===o.MediaItemType.LIVE_CHANNEL);t.source={streams:[{url:h.playURL,live:p}]},t.customConfig=t.customConfig||{},t.customConfig.sid=v,t.customConfig.prefix=h.prefix,h.ads&&h.ads.breaks&&h.ads.breaks.length>0&&(t.adBreaks=r.c0(h.ads.breaks,h.ads.breakOffsets),t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/uplynk"},t.visualSeekData.adBreaks=t.adBreaks),r.pI||e.onApiCallInfo({url:f&&f.url||null,perfObj:a}),i(t)}),(function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var s=t&&t.length?t[0]:null,h=t.length?t[4]:null,o=t.length?t[5]:null;r.pI||e.onApiCallInfo({url:o&&o.url||null,perfObj:h}),n(s)}))},t.prototype.a0=function(t,i,n){var s="/api/v3/preplay/{assetid}.json",e=t.metadata;e&&e.type===o.MediaItemType.LIVE_CHANNEL?s="/api/v3/preplay/channel/{assetid}.json":e&&e.type===o.MediaItemType.LIVE_EVENT&&(s="/api/v3/preplay/event/{assetid}.json");var r=t.customConfig||{},h="https://content.uplynk.com"+s.replace("{assetid}",t.id)+(r.preplay&&r.preplay.qs?"?"+r.preplay.qs:"");this.Ox(h,i,n)},t.prototype.Ox=function(t,i,n){var s=this,r=e.Loader.ajax(t,{context:this,successHandler:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];s.wx(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];s.wx(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.ux.push(r)},t.prototype.wx=function(t){if(t){var i=this.ux.indexOf(t);i>=0&&this.ux.splice(i,1)}},t.prototype.u0=function(t){return!!(t.source&&t.source.streams&&t.source.streams.length)},t.prototype.c0=function(t,i){var n=this;return t.map((function(t){var s=i&&i.find((function(i){if(i&&i.timeOffset===t.timeOffset)return!0}))||{};return{adBreakId:t.breakId||"",duration:t.duration||0,startOffset:t.timeOffset||0,type:n.f0(t.position),adBreakItems:n.l0(t.ads),customInfo:{index:s.index}}}))},t.prototype.l0=function(t){return t.map((function(t){return{adBreakItemId:t.creative||"",duration:t.duration||0,type:h.AdBreakItemType.AD,instream:!0,interactionConfig:{allowSeek:!1,allowSkipOffset:0,chromeless:!1},customInfo:{}}}))},t.prototype.f0=function(t){return"preroll"===t?r.AdBreakType.PREROLL:"midroll"===t?r.AdBreakType.MIDROLL:"postroll"===t?r.AdBreakType.POSTROLL:null},t.prototype.o0=function(t){return{gdpr:t&&!a.isNullOrUndefined(t.gdprApplies)?t.gdprApplies:"",euconsent:t&&t.gdprConsentData||""}},t}();i.default=f},v5jO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.isFormatInAcceptedFormats=function(t,i){return i.some((function(i){return t===i}))},t.isProtocolInAcceptedProtocols=function(t,i){var n=!1;return i.forEach((function(i){t.indexOf(i)>-1&&(n=!0)})),n},t.findAcceptedStreams=function(i,n){return i.filter((function(i){return!!t.isFormatInAcceptedFormats(i.format,n.acceptedFormats)&&(!(i.isUplynk()&&"m3u8"===i.format&&!n.canDecryptAES)&&!!t.isProtocolInAcceptedProtocols(i.rV(),n.acceptedProtocols))}))},t.findStreamByProperty=function(i,n,s,e){return i=t.findAcceptedStreams(i,e).sort((function(t,i){return t[n]-i[n]})),"resolution"===n&&(n="height"),t.findStream(i,s,n)},t.filterStreamByResolution=function(t,i,n){return t.filter((function(t){var s=t&&t.height;if(s){if(i&&s<i)return!1;if(n&&s>n)return!1}return!0}))},t.isHlsLive=function(t){return t.url.match(/\.m3u8/)&&t.live||!1},t.mapStreamsToQualities=function(t){var i={low:null,medium:null,high:null};return t.forEach((function(t){var n=1*t.bitrate+2*t.height;n<=1500?i.low?n>i.low.bitrate+2*i.low.height&&(i.low=t):i.low=t:n<=2500?i.medium?n>i.medium.bitrate+2*i.medium.height&&(i.medium=t):i.medium=t:i.high?n>i.high.bitrate+2*i.high.height&&(i.high=t):i.high=t})),i},t.findStream=function(t,i,n){var s;return t&&t.forEach((function(t){s?t[n]<=i&&(s=t):s=t})),s},t.BITRATE="bitrate",t.RESOLUTION="resolution",t}();i.default=s},vFZV:function(t,i,n){"use strict";t.exports=u;var s=n("/iNa"),e=n("2fkz"),r=e.CmdNames,h=e.CmdEvents,o=n("nHOF");function u(t,i){this.XL=t.stream,this.v0=[],this.d0=!!t.comboLoad,this.p0=t.initSegment,this.QO=t.segment,this.m0=t.cached,this.GA=this.constructor.super_.prototype,this.constructor.super_.call(this,t,i),this.qG=t.initSegment.url,this.name=r.CMD_MP4_INIT_SEGMENT_LOAD}s.inherits(u,o),u.prototype.destroy=function(){this.v0=[],this.GA.destroy.call(this)},u.prototype.kQ=function(t){if(!(t&&t.controller&&t.stream&&t.initSegment&&t.initSegment.url))throw new Error("Invalid argument: data argument of the command is not complete")},u.prototype.b0=function(){if(this.v0.push(this.p0),this.d0){var t=this.XL.getMp4Chunk("sidx"),i=this.XL.getMp4Chunk("first");t&&this.v0.push(t),i&&this.QO&&this.v0.push(i)}},u.prototype.tx=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,minChunkSize:1e3,headerFields:{}};this.b0();var i=-1,n=-1;if(this.v0.length){var s=this.v0[0].range,e=this.v0[this.v0.length-1].range;s&&e&&(i=s.start,n=e.end)}if(i>=0&&n>=0&&(t.headerFields.Range="bytes="+i+"-"+n,this.y0=n-i+1),"atlas"===(this.XL.cdn||this.QO&&this.QO.cdn)){var r=this.XL.sessionId||this.QO&&this.QO.sessionId;t.headerFields.Accept="*/*; X-PB-SESSION-ID="+r}return t},u.prototype.HQ=function(){this.QO&&this.GA.HQ.call(this)},u.prototype.tZ=function(){!this.d0&&this.m0&&this.p0.loaded?this.HD():this.GA.tZ.call(this)},u.prototype.sZ=function(t,i){t&&(this.d0?this.g0(t,i):this.w0(t,i))},u.prototype.g0=function(t,i){if(t){var n=0,s=t.byteLength,e=t;i!==this.PQ&&this.eZ(i);for(var r=null,o=0;o<this.v0.length;o++){if(r=this.v0[o],!e)return;if(r.loaded||(n+=r.append(e),"first"===r.name&&this.YQ&&this.YQ.append(e),r.loaded&&"first"!==r.name&&this.publish(h.CMD_PROGRESS,this,{chunk:r,stream:this.XL,comboLoad:this.d0})),n>=s)return;if(n>0&&(e=t.subarray(n)),!r.loaded)return}}},u.prototype.w0=function(t,i){i!==this.PQ?this.eZ(i):this.YQ.append(t)},u.prototype.HD=function(){if(!this.d0){var t=this.v0[0];t&&(t.loaded=!0,this.publish(h.CMD_PROGRESS,this,{chunk:t,stream:this.XL,comboLoad:this.d0}),this.publish(h.CMD_COMPLETE,this,{stream:this.XL,comboLoad:this.d0}))}this.GA.HD.call(this)},u.prototype.qQ=function(){this.publish(h.CMD_COMPLETE,this,{stream:this.XL,comboLoad:this.d0})},u.prototype.WQ=function(t,i){if(t){if(!this.d0){var n=this.v0[0];return n&&!n.loaded&&n.append(t.data),void this.publish(h.CMD_PROGRESS,this,{chunk:n,stream:this.XL,comboLoad:this.d0})}t.stream=this.XL,t.chunk={name:"first"},this.GA.WQ.call(this,t,i)}},u.prototype.rZ=function(){return 0},u.prototype.getSegment=function(){return this.QO}},vTO9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.MAX_SEG_INFO_ENTRIES_PER_BEACON=15,i.BEACONS={VIDEO_REQUEST:{evt:"v_request",type:"pb",payloadParams:["prefetch"],params:[{key:"es",value:"endscreen"}]},PLAYBACK_RESUMED:{evt:"p_resm",type:"pb"},PLAYBACK_STALLED:{evt:"v_stall",type:"pb",payloadParams:["value"]},BITRATE_CHANGE:{evt:"v_btrt",type:"pb"},PLAYER_INFO:{evt:"info",type:"pb"},CMS_API_CALLED:{evt:"v_api",type:"pb"},PLAY_CALLED_AFTER_PREROLL:{evt:"v_play_apr",type:"pb"},PLAY_CALLED_ON_RENDERER:{evt:"v_play_rdr",type:"pb",payloadParams:["rtype"]},RENDERER_READY:{evt:"renderer_ready",type:"pb",payloadParams:["rtype","shouldplay"]},ACTIVE_RENDERER_PLAYING:{evt:"renderer_playing",type:"pb",payloadParams:["rtype"]},PRELOAD_START:{evt:"v_plstart",type:"pb"},PRELOAD_PROGRESS:{evt:"v_plprog",type:"pb"},PRELOAD_COMPLETE:{evt:"v_plcomp",type:"pb"},PLAYER_ERROR:{evt:"error",type:"pb"},PLAYER_WARNING:{evt:"warn",type:"pb"},PLAYBACK_START:{evt:"v_start",type:"pb"},PLAYBACK_STREAM_START:{evt:"v_strm_view",type:"pb"},PLAYBACK_PROGRESS:{evt:"v_prog",type:"pb"},PLAYBACK_COMPLETE:{evt:"v_comp",type:"pb"},INCOMPLETE_EXIT:{evt:"v_ncomp",type:"pb",payloadParams:["ext_resn"]},CTRL_SEEK:{evt:"ui_seek",type:"ctrl",payloadParams:["value_e"],params:[{key:"value",value:"lastKnownPlaybackTime"}]},CTRL_PLAYPAUSE:{evt:"ui_pp",type:"ctrl",payloadParams:["value"],params:[{key:"req_type",value:"requestType"},{key:"req_action",value:"requestAction"}]},CTRL_VOLUME:{evt:"ui_cv",type:"ctrl",payloadParams:["value"],params:[{key:"value_e",value:"volume"}]},CTRL_REPLAY:{evt:"ui_esrpl",type:"ctrl"},CTRL_PLAYREQUEST:{evt:"ui_pb_req",type:"ctrl",payloadParams:["req_type"]},CTRL_SETTINGS:{evt:"ui_stgs",type:"ctrl"},CTRL_CUSTOM_ELEMENT:{evt:"ui_ce",type:"ctrl",payloadParams:["cust_ctrl_data"]},CONTROLS_AUDIO_CHANGE:{evt:"ui_aslng",type:"ctrl",payloadParams:["value","value_e"]},THREE_SIXTY_INTERACT:{evt:"ui_360_interact",type:"ctrl"},THREE_SIXTY_PIE_INTERACT:{evt:"ui_360_pie_interact",type:"ctrl"},AIRPLAY_CONNECTION_STATE_CHANGE:{evt:"ui_airp",type:"ctrl"},UI_INTERACT:{evt:"none",type:"ctrl"},CC_TOGGLE:{evt:"ui_cctog",type:"ctrl"},CC_LANGUAGE_CHANGE:{evt:"ui_cclng",type:"ctrl",payloadParams:["value"]},CC_UPDATE_STYLE:{evt:"ui_ccstl",type:"ctrl",payloadParams:["value"]},CC_SETTINGS:{evt:"ui_ccstg",type:"ctrl"},FULLSCREEN_CHANGE:{evt:"ui_fs",type:"ctrl"}},i.PROGRESS_BEACON_INTERVALS=[{time:3,beacon:i.BEACONS.PLAYBACK_STREAM_START,key:"vstrm-view"},{time:10,beacon:i.BEACONS.PLAYBACK_PROGRESS,key:"vprog--initial"},{time:30,beacon:i.BEACONS.PLAYBACK_PROGRESS,recurring:!0,key:"vprog--recurring"}],i.PARAMS=["_V","type","ss","vid","pstaid","prt","cprt","vs","vlng","pver","host","_w","_R","pls","pltype","auto","snd","deos","deom","play_pos","psz","ccav","cdn","smpl","cont","replay","focus","view","expm","bit","drm","drmsys","_sqno","ts","pbst","pbstd","pl_type","pl_uuid","pl_intr","pl_sec","viewd","soe","siteadspref"]},vYwU:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("A4+F"),u=n("mczr"),a=n("fLR+"),c=n("vTO9");!function(t){t.VIDEO_PROGRESS="video-progress"}(r=i.ProgressEvent||(i.ProgressEvent={}));var f=function(t){function i(i,n){var s=t.call(this,"AnalyticsProgressManager")||this;return s.S_=i,s.iy=n,s.S0=0,s.TL={},s.E0=[],s.EH=!1,s.O0=0,s.H_=!1,s.A0="",s.RX=null,s._0=0,[{evt:o.ExternalEvt.VIDEO_REQUEST,cb:s.kL},{evt:o.ExternalEvt.PLAYBACK_PAUSE,cb:s.xU},{evt:o.ExternalEvt.SEG_INFO_AVAILABLE,cb:s.RR},{evt:o.ExternalEvt.PLAYBACK_TIME_UPDATE,cb:s.KJ},{evt:o.ExternalEvt.PLAYBACK_SEEKING,cb:s.ZJ},{evt:o.ExternalEvt.PLAYBACK_SEEK_COMPLETE,cb:s.T0},{evt:o.ExternalEvt.RECOVERY_METADATA_READY,cb:s.M0},{evt:o.ExternalEvt.BUFFERING_START,cb:s.I0},{evt:o.ExternalEvt.BUFFERING_END,cb:s.aI}].forEach((function(t){s.TL[t.evt]=s.S_.addEventListener(t.evt,t.cb,s)})),s}return e(i,t),i.prototype.destroy=function(){this.S_.removeEventListeners(this.TL),this.j0()},i.prototype.updatePlaybackStats=function(t){var i=this.N0();t.dur=Math.floor(this.S0)||"",t.dur_d=Math.floor(this.S0)-Math.floor(this.O0)||0,t.buff_info=i.segInfo||"",t.buf_dur=i.bufDur||0,this.A0&&(t.rcvr_status=this.A0)},Object.defineProperty(i.prototype,"totalWatchTime",{get:function(){return this.S0},enumerable:!0,configurable:!0}),i.prototype.kL=function(t,i){this.j0()},i.prototype.xU=function(t){t.playbackMode!==u.PlaybackMode.AD&&this.R0(c.BEACONS.PLAYBACK_PROGRESS),this.aI()},i.prototype.ZJ=function(t){this.EH=!0,this.aI()},i.prototype.T0=function(){this.EH=!1,this.iy.lastKnownPlaybackTime=this.iy.currentTime},i.prototype.RR=function(t){this.E0=this.E0.concat(t.val)},i.prototype.KJ=function(t,i){if(!(this.EH||a.isNullOrUndefined(t)||t<0||i.playbackMode===u.PlaybackMode.AD))if(a.isNullOrUndefined(this.iy.lastKnownPlaybackTime))this.iy.lastKnownPlaybackTime=t;else if(t>0&&(this.aI(),this.H_))this.k0();else{var n=t-this.iy.lastKnownPlaybackTime;this.iy.lastKnownPlaybackTime=t,n>0&&(this.S0+=n),this.L0()}},i.prototype.L0=function(){var t=this;c.PROGRESS_BEACON_INTERVALS.forEach((function(i){var n=t.S0,s=t.iy.progressBeaconsInfo.timeLastSent[i.key],e=-1===s?0:s;(i.recurring&&n>e+i.time||!i.recurring&&-1===s&&n>i.time)&&(t.iy.progressBeaconsInfo.timeLastSent[i.key]=Math.floor(n),t.R0(i.beacon))}))},i.prototype.R0=function(t){this.publish(r.VIDEO_PROGRESS,t),this.O0=Math.floor(this.S0)},i.prototype.j0=function(){this.E0=[],this.S0=0,this.O0=0,this.iy.lastKnownPlaybackTime=null,this.iy.resetProgressBeaconsState(),this.RX=null,this.H_=!1,this._0=0},i.prototype.N0=function(){var t;return this.H_?(this.D0(),t=[{buf_dur:this._0}],this._0=0):t=this.E0.splice(0,Math.min(c.MAX_SEG_INFO_ENTRIES_PER_BEACON,this.E0.length)),{segInfo:JSON.stringify({seg:t}),bufDur:t.reduce((function(t,i){return i.buf_dur+t}),0)}},i.prototype.I0=function(){this.RX=Date.now()},i.prototype.aI=function(){this.D0(),this.RX=null},i.prototype.D0=function(){this.RX&&(this._0+=Date.now()-this.RX,this.RX=Date.now())},i.prototype.M0=function(){this.H_=!0,this.A0="recovering",this.R0(c.BEACONS.PLAYBACK_PROGRESS)},i.prototype.k0=function(){this.A0="recovered",this.R0(c.BEACONS.PLAYBACK_PROGRESS),this.H_=!1,this.A0=""},i}(h.default);i.default=f},vdbb:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("LrgL");i.Command=s.default;var e=n("yv9F");i.MetadataLoadCommand=e.default;var r=n("t02R");i.MoreItemsLoadCommand=r.default;var h,o,u=n("C4jF");i.SourceMetadataLoadCommand=u.default,function(t){t.CMD_SOURCE_METADATA_LOAD="SourceMetadataLoad",t.CMD_METADATA_LOAD="MetadataLoad",t.CMD_MORE_ITEMS_LOAD="MoreItemsLoad"}(h||(h={})),i.CmdName=h,function(t){t.CMD_COMPLETE="Complete",t.CMD_PROGRESS="Progress",t.CMD_ERROR="Error",t.CMD_INFO="Info"}(o||(o={})),i.CmdEvent=o},vgmO:function(t,i,n){(function(i){var n;n="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{},t.exports=n}).call(this,n("yLpj"))},vtmz:function(t,i,n){"use strict";t.exports=c;var s=n("mhJ4"),e=n("/iNa"),r=n("9nRl"),h=n("RwmF"),o=n("UbnH"),u=n("Tavk").AACStream,a=n("y5bh").HLSEvent.PCR_AVAILABLE;function c(t){h.call(this,this.constructor.name),this.or=t,this.QL=null,this.uW="start",this.XL=new u,this.YL=!1,this.Sy={},this.C0=this.__controller.create(s,t,this.kW.bind(this)),this.P0=t.lastChunkEndTs?t.lastChunkEndTs.audio:NaN,this.x0=t.lastFrameDuration?t.lastFrameDuration.audio:NaN,r.isNullOrUndefined(this.or.pcr)&&(this.Sy[a]=this.__controller.addEventListener(a,this.U0,this))}e.inherits(c,h),c.prototype.destroy=function(){this.close(),this.C0.destroy(),this.XL.destroy(),h.prototype.destroy.call(this)},c.prototype.setSource=function(t){this.LW=t,this.zC()},c.prototype.zC=function(){var t=this;t.LW&&(t.LW.addEventListener(o.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.LW.addEventListener(o.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.LW.addEventListener(o.DATA_PROCESS_ERROR,(function(i){t.publish(o.DATA_PROCESS_ERROR,i)}),t))},c.prototype.close=function(){this.QL=null,this.__controller.removeEventListener(a,this.Sy[a]),this.C0.close()},c.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.QL&&(s=(n=this.QL).length);var e=s+i;this.QL=new Uint8Array(e),n&&this.QL.set(n),this.QL.set(t,s),this.YD()}}},c.prototype.U0=function(t){this.or.pcr=t,this.YD(),this.__controller.removeEventListener(a,this.Sy[a])},c.prototype.YD=function(){var t=this.or.pcr;if(!r.isNullOrUndefined(t)){if(this.QL&&this.QL.length>0){var i;i=this.P0&&this.x0?t+this.P0+this.x0:t+this.or.startTime*this.or.timescale;var n=this.XL.readFramesFromBitstream(this.QL,i);this.QL=this.QL.subarray(n)}var s=this.XL.getLastFrameDetails();s&&(this.P0=s.timestamp-t,this.x0=s.duration),(this.XL.ready||this.YL)&&this.V0()}},c.prototype.V0=function(){var t=this.XL.getFrames(),i=t&&t.length>0;if("end"===this.uW||i){var n=i?t[0].dts:null,s={audio:{frames:t,config:this.XL.getConfig()},pcr:n};this.C0.processSegmentData({avData:s,pos:this.uW}),"start"===this.uW&&(this.uW="middle")}},c.prototype.endOfSegment=function(){this.uW="end",this.YL=!0,this.YD(),this.C0.endOfSegment()},c.prototype.kW=function(t,i){var n;t&&(this.publish(o.DATA_PROCESS_PROGRESS,t,i),t.getParam&&(n=t.getParam("parsedInfo")),"end"===(n?n.position:t.position)&&this.publish(o.DATA_PROCESS_COMPLETE))}},"w+YI":function(t,i,n){"use strict";t.exports=r;var s=n("y5bh").HLSEvent,e=n("HNE+");function r(){this.iy=this.PE.appModel,this._node=this.PE.node,this.B0={currentStreamBitrate:0,frameDrop:0,frameRateSum:0,frameRateSampleCount:0,currentKbps:0,deliveryProtocol:this.F0(),bufferingCount:0,totalBufferingTime:0,streamingMode:this.iy.streamingMode},this.FRAMERATE_SAMPLE_SIZE=4,this.z0={prevTotalFrames:0,prevTotalDroppedFrames:0,prevFrameRateMeasuredTime:0,frameRateSampleCollector:[],currentFrameRate:0},this.Y$=new e(1e3),this.Y$.addEventListener(this.H0,this)}r.prototype.destroy=function(){this.B0=null,this.Y$.destroy()},r.prototype.onPlay=function(){this.Y$.start()},r.prototype.onPause=function(){this.Y$.stop()},r.prototype.updateBufferingInfo=function(t){t&&(t.value||t.bufferInit||(this.B0.bufferingCount++,this.B0.totalBufferingTime+=t.waitTime))},r.prototype.H0=function(){var t=this.iy.streams,i=this.B0,n=this.iy.getCurrentPlayingStream(),e=this.getFpsStats();n&&(i.currentStreamIndex=this.iy.currentPlayingStreamIndex,i.currentStreamBitrate=n.bitrate/1e3,i.mediaWidth=n.width,i.mediaHeight=n.height),t.length&&(i.qualityLevels=t.length,i.minBitRate=t[0].bitrate,i.maxBitRate=t[i.qualityLevels-1].bitrate),i.bufferLength=this.iy.getBufferLength().toFixed(2),i.bufferLength<=5&&this._node.buffered.length,i.frameRate=e.frameRate.toFixed(2),i.droppedFrames=e.droppedFrames,i.currentKbps=(1e3*this.iy.currentKbps).toFixed(0),i.streamingMode=this.iy.streamingMode,i.drm=this.iy.drmRequired,i.drmsys=this.iy.licenseType,this.iy.infoUpdateSent=!0,this.PE.sendEvent(s.INFO_UPDATE,{mediaInfo:this.B0})},r.prototype.getWindow=function(){return window},r.prototype.F0=function(){var t=this.getWindow();return t&&t.location&&t.location.protocol?t.location.protocol.slice(0,-1):"http"},r.prototype.getFpsStats=function(){var t,i,n=this._node,s=0,e=this.z0,r=n.currentTime-e.prevFrameRateMeasuredTime,h=this.Y0(),o=0;return(h.isWebKitFpsAvailable||h.isNonWebKitFpsAvailable)&&(t=h.isWebKitFpsAvailable?n:n.getVideoPlaybackQuality(),i=h.isWebKitFpsAvailable?t.webkitDecodedFrameCount:t.totalVideoFrames,o=h.isWebKitFpsAvailable?t.webkitDroppedFrameCount:t.droppedVideoFrames,(s=e.prevFrameRateMeasuredTime>0&&0!==r?(i-e.prevTotalFrames-(o-e.prevTotalDroppedFrames))/r:e.currentFrameRate)&&e.frameRateSampleCollector.push(s),this.G0(),e.prevTotalFrames=i,e.prevTotalDroppedFrames=o,e.prevFrameRateMeasuredTime=n.currentTime),{frameRate:e.currentFrameRate,droppedFrames:o}},r.prototype.Y0=function(){var t=this._node;return{isWebKitFpsAvailable:void 0!==t.webkitDecodedFrameCount,isNonWebKitFpsAvailable:"function"==typeof t.getVideoPlaybackQuality}},r.prototype.G0=function(){var t=this.z0.frameRateSampleCollector;if(t.length>=this.FRAMERATE_SAMPLE_SIZE){var i=t.reduce((function(t,i){return t+i}));this.z0.currentFrameRate=i/t.length,t.splice(0,t.length)}}},w7tx:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)},h=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var o=n("JcWZ"),u=n("t8Yn"),a=n("rBpt"),c=n("qrnT"),f=n("FOY8"),l=n("Db1k"),v=n("1+S/"),d=n("p/Bv"),p=n("z88l"),m=n("ecni"),b=n("Pu4D"),y=n("R9ZO"),g=n("m1ef"),w=n("t7Hg"),S=n("he5r"),E=n("Krh1"),O=n("JqHr"),A=n("1GgL"),_=n("0zFh"),T=n("FXl5"),M=n("afoZ"),I=n("c+yx"),j=n("Oj6Y"),N=function(t){function i(i,n,s){var e=t.call(this,"OathController")||this;return e.W0=[],e.q0=null,e.X0=null,e.Q0=null,e.or=i,e.if=n,e.S_=s,e.iy=new O.default(i,n),e.AS=new f.default(e.iy),e.or.analytics=!1,e.Z0=e.J0(),e.K0=new b.default(e.S_),e.$0=new g.default(e.S_),e.t1=new w.default(e.S_),e.i1=new y.default(e.S_,e.getPlaylist()),e.KA=new j.default,e.Z0.on(u.Events.MEDIA_ITEM_CURRENT,e.n1,e),e.Z0.on(u.Events.PLAYBACK_PROGRESS,e.F_,e),e.s1(),e}return e(i,t),i.prototype.destroy=function(){this.iy.destroy(),this.Z0.destroy(),this.K0.destroy(),this.e1&&this.e1.destroy(),this.X0&&(this.X0.destroy(),this.X0=null),t.prototype.destroy.call(this)},i.prototype.initialize=function(){var t=this;this.Z0.addMetricsEventListener((function(){for(var i,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var e=Array.prototype.slice.call(n,1,n.length-1),o=n[0],u=n[n.length-1],a=t.iy.getEventsDto();a.playerVersion=t.S_.version,(i=t.S_).publish.apply(i,h([o],e.concat(r(r({},u),a)))),t.h1(o,e)}),this),this.sy(),this.o1(),this.Z0.initialize()},i.prototype.render=function(t){this.Z0.render(t)},i.prototype.getCurrentTime=function(){return this.Z0.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.Z0.getCurrentDate()},i.prototype.getVolume=function(){return this.Z0.getVolume()},i.prototype.getMediaStore=function(){return this.Z0.getMediaStore()},i.prototype.getCurrentMediaItem=function(){return this.getPlaylist().getCurrentItem()},i.prototype.getPlaybackState=function(){return this.Z0.getPlaybackState()},i.prototype.play=function(t,i){return this.Z0.play(t,i)},i.prototype.pause=function(t){this.Z0.pause(t)},i.prototype.preload=function(t){},i.prototype.seek=function(t){this.Z0.seek(t)},i.prototype.disableControls=function(){this.Z0.disableControls()},i.prototype.enableControls=function(){this.Z0.enableControls()},i.prototype.enableCC=function(t){return this.Z0.enableCC(t)},i.prototype.disableCC=function(){return this.Z0.disableCC()},i.prototype.isPlayMode=function(){return this.Z0.isPlayMode()},i.prototype.isLoading=function(){return this.Z0.isLoading()},i.prototype.setFullscreen=function(t){this.Z0.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.Z0.getFullscreen()},i.prototype.setVolume=function(t){this.Z0.setVolume(t)},i.prototype.setMute=function(t){this.Z0.setMute(t)},i.prototype.getMute=function(){return this.Z0.getMute()},i.prototype.setLoop=function(t){return this.Z0.setLoop(t)},i.prototype.setContinuousPlay=function(t){return this.Z0.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(t){this.Z0.resumeContinuousPlay()},i.prototype.setAudioLanguage=function(t){this.Z0.setAudioLanguage(t)},i.prototype.isDocked=function(){return this.Z0.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.Z0.setMediaItemTitle(t,i)},i.prototype.addVdmsListener=function(t,i){return this.Z0.addEventListener(t,i,this.S_)},i.prototype.removeVdmsListener=function(t,i){return this.Z0.removeEventListener(t,i)},i.prototype.getPlaybackStartDto=function(){return this.Z0.getPlaybackStartDto()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.Z0.updateDockingConfig(t,i,n,s,e,r)},i.prototype.getPlaylist=function(){return this.Z0.getPlaylist()},i.prototype.suspend=function(){var t=this.Z0.suspendState();t&&(this.q0=t,this.u1())},i.prototype.resume=function(){this.q0&&(this.Z0.resumeState(this.q0),this.o1(),this.Z0.initialize(),this.Z0.render(this.q0.selector),this.q0=null)},i.prototype.updateGeoConfig=function(t){this.iy.updateGeoConfig(t)},i.prototype.getVideoElement=function(){return this.Z0.getVideoElement()},i.prototype.getRootElement=function(){return this.Z0.getRootElement()},i.prototype.isSuspended=function(){return this.Z0&&this.Z0.isSuspended()||!1},i.prototype.undockVideoPlayer=function(t){return this.Z0&&this.Z0.undockVideoPlayer(t)},i.prototype.addCustomControlElement=function(t){return this.Z0.addCustomControlElement(t)},i.prototype.isRendered=function(){return this.Z0&&this.Z0.isRendered()||!1},Object.defineProperty(i.prototype,"guid",{get:function(){return this.Z0&&this.Z0.guid||""},enumerable:!0,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.Z0.getMediaItemMarkers(t)},i.prototype.J0=function(t){void 0===t&&(t=!0);var i=this.or.mediaItems;if(this.iy.playlistId&&(!i||0===i.length)){var n=this.a1();return this.f1(),n}return this.l1()},i.prototype.a1=function(){return this.Z0?this.Z0:(this.e1=new M.default,this.e1.getProxy())},i.prototype.l1=function(){this.v1();var t=new u.Player(this.or,this.if);return this.iy.guid=t.guid,t},i.prototype.f1=function(){var t=this;if(this.e1&&this.AS){var i={onComplete:function(i){t.e1&&(i&&(t.or.mediaItems=i),t.Z0=t.l1(),t.e1.execute(t.Z0),t.e1.destroy(),t.e1=void 0,t.S_.playlist=new _.default(t.getPlaylist()),t.W0.forEach((function(i){i.type===u.Plugin.PluginType.MORE_ITEMS&&(i.playlist=t.getPlaylist())})))},onError:function(){throw new Error("Fetch more items with playlistId failed")},onApiCallInfo:function(){},onPromisesResolved:function(){}};this.AS.resolve({mimeType:u.MediaItemInterfaces.MediaItemMimeType.SAPI,playlistId:this.iy.playlistId,reason:u.Plugin.MoreItemsReason.PLAYLISTID_NEED_RESOLVE,start:0},i)}},i.prototype.sy=function(){this.Z0.on(u.Events.MEDIA_ITEM_METADATA,this.d1,this),this.Z0.on(u.Events.PLAYBACK_STOPPED,this.jM,this),this.Z0.on(u.Events.MEDIA_ITEM_COMPLETE,this.jM,this),this.Z0.once("opssVisibilityChanged",this.m1,this)},i.prototype.F_=function(t,i,n){this.iy.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.Q0&&this.Q0.onMediaPlaybackProgress(t,i,n)},i.prototype.n1=function(t){if(this.iy.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE){var i=this.iy.isMediaItemWatched(t.id),n=this.iy.watchHistoryConfig&&this.iy.watchHistoryConfig.enabled&&this.iy.watchHistoryConfig.skipWatchedVideos;if(i&&n){var s=this.getPlaylist().getPosition();this.getPlaylist().setPosition(s+1)}}},i.prototype.d1=function(t,i){this.X0&&(this.X0.destroy(),this.X0=null),t.customConfig&&t.customConfig.allowedConnectionTypes&&(this.X0=new A.default(this.iy,t.rawItemData),this.b1())},i.prototype.jM=function(t){this.X0&&(this.X0.destroy(),this.X0=null),this.iy.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.Q0&&this.Q0.onMediaItemEnded(t)},i.prototype.s1=function(){this.iy.videoRecommendations&&(this.setContinuousPlay(!0),this.iy.continuousPlay=!0)},i.prototype.m1=function(t,i){var n=this.getCurrentMediaItem(),s=n&&n.license,e={version:this.S_.version,config:this.S_.oathConfig,lmsId:s&&s.salesforceId||""};this.KA.updateOathPlayerOpss(t,i,e)},i.prototype.b1=function(t){var i=this;void 0===t&&(t=18e4),this.X0&&this.X0.scheduleVerification((function(t){t?i.b1():i.Z0.__setError("info","R",a.errorCodes.E_PLAYER,a.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE,T.default.ERR_RESTRICTED_NETWORK_TYPE)}),t)},i.prototype.o1=function(){var t=this;this.Q0=new p.default(this.iy),this.W0.push(new c.default),this.W0.push(new l.default(this.iy)),this.W0.push(new d.default(this.iy)),this.W0.push(new v.default(this.iy,this.getPlaylist())),this.W0.push(new m.default),this.W0.push(this.Q0),this.W0.forEach((function(i){t.Z0.registerPlugin(i)}))},i.prototype.u1=function(){this.W0.forEach((function(t){t.destroy()})),this.W0=[]},i.prototype.h1=function(t,i){var n,s,e,r;switch(i=i||[],t){case u.Events.AD_BREAK_ITEM_PLAYBACK_STARTED:e=i[0]&&i[0].id||"",this.S_.publish(E.API.AD_PLAYBACK_START,e);break;case u.Events.AD_BREAK_ITEM_ENDED:e=i[0]&&i[0].id||"",this.S_.publish(E.API.AD_PLAYBACK_STOP,e);break;case u.Events.PLAYBACK_START:(n=this.S_).publish.apply(n,h([E.API.PLAYBACK_STARTED],i));break;case u.Events.PLAYBACK_RESUMED:(r=this.Z0.getCurrentAdBreakItem())&&this.S_.publish(E.API.AD_PLAYBACK_RESUME,r.id);break;case u.Events.PLAYBACK_PAUSE:(r=this.Z0.getCurrentAdBreakItem())&&this.S_.publish(E.API.AD_PLAYBACK_PAUSE);break;case u.Events.PLAYBACK_COMPLETE:(s=this.S_).publish.apply(s,h([E.API.PLAYBACK_ENDED],i))}},i.prototype.v1=function(){var t,i,n=((t={})[S.VRM_PLUGIN_MIMETYPE]={playerBucket:I.default.getBckt(),experienceName:this.iy.experienceName,experienceBucket:this.iy.experienceBucket,playerName:"VerizonMediaPlayer"},t),s=((i={})[u.Plugin.PluginType.AD]=n,i);this.or.pluginConfigs=I.default.extend(s,this.or.pluginConfigs)},i}(o.default);i.default=N},wfVE:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.s(s.f("items",t,i,1),t,i,0,10,562,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("<li class='vp-playlist-item' data-id='"),s.b(s.v(s.f("id",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("    <img class='vp-playlist-item-image' src='"),s.b(s.v(s.f("thumbnail",t,i,0))),s.b("'/>"),s.b("\n"+n),s.b("    <div class='vp-playlist-border'></div>"),s.b("\n"+n),s.b("    <div class='vp-playlist-item-gradient'>"),s.b("\n"+n),s.b("        <div class='vp-pl-meta'>"),s.b("\n"+n),s.b("            <span class='vp-pl-title'>"),s.b(s.v(s.f("title",t,i,0))),s.b("</span>"),s.b("\n"+n),s.b("            <span class='vp-now-playing'>"),s.b(s.v(s.d("strings.NOW_PLAYING",t,i,0))),s.b("</span>"),s.b("\n"+n),s.s(s.f("provider",t,i,1),t,i,0,392,470,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <span class='vp-pl-provider'>"),s.b(s.v(s.f("provider",t,i,0))),s.b("</span>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-pl-dur'>"),s.b(s.v(s.f("duration",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("</li>"),s.b("\n"+n)})),t.pop()),s.fl()},partials:{},subs:{}})},wuUd:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("UDn2"),h=n("ma23"),o=function(t){function i(){var i=t.call(this)||this;return i.mimetype=r.MediaItemMimeType.CONTAINER,i.type=h.PluginType.SOURCE_METADATA,i}return e(i,t),i}(n("3h5f").default);i.default=o},x7P6:function(t,i,n){"use strict";i.Model=d;var s=i.StreamingMode={DASH:"dash",HLS:"hls"};i.MetadataTypes={RAW:"raw",RAW_SUBTITLE:"rawSubtitle",STRUCTURED:"structured"};var e=i.AbrModes={AUTO:"auto",LOW:"low",MID:"medium",HIGH:"high"},r=n("V66C"),h=r.Stream,o=r.StreamTypes,u=n("77/b"),a=n("y5bh").HLSEvent,c=n("nyAz"),f=n("9nRl"),l=n("/iNa"),v=n("hifa");function d(t){if(!(t&&t.userAgent&&t.config&&t.metadata))throw new Error("Incomplete input parameters to Model");this.configure(t.config,t.userAgent),this.g1={},this.streams=[],this.altRenditionGroups=[],this.w1=this.__controller.create(v),this.S1(t.metadata),this.live=t.metadata&&t.metadata.live,this.hasEndlist=!1,this.duration=0,this.bufferLength=0,this.pendingBufferLength=0,this.bufferedRanges={length:0,ranges:[]},this.currentTime=0,this.timescale=9e4,this.TIMESTAMP_COMPARE_EPSILON=.065,this.preloading=!1,this.timedMetadataStore={},this.dimensions=t.config.dimensions?t.config.dimensions:{width:NaN,height:NaN},this.pixelRatio=1,this.bwHistory=t.config.bwHistory,this.E1=e.AUTO,this.O1=0,this.pX={},this.currentLoadingStreamIndex=-1,this.A1=null,this._1=null,this.T1=t.metadata.url&&-1!==t.metadata.url.indexOf(".mpd")?s.DASH:s.HLS,this.drmRequired=!1,this.drmInfo=[]}d.prototype.destroy=function(){this.config=null,this.streams&&(this.streams.forEach((function(t){t.destroy()})),this.streams=[]),this.altRenditionGroups&&(this.altRenditionGroups.forEach((function(t){t.destroy()})),this.altRenditionGroups=[]),this.pX={},this.w1.destroy(),this.timedMetadataStore=null},d.prototype.configure=function(t,i){var n=this;n.config=n.config||f.deepCopy(c),n.userAgent=i,t&&(Object.keys(t).forEach((function(i){n.config.hasOwnProperty(i)&&(n.config[i]=t[i])})),n.inWorkerScope=t.inWorkerScope),f.isNullOrUndefined(n.config.demux.startChunkWithKeyFrame)&&n.userAgent&&(n.config.demux.startChunkWithKeyFrame=!(n.userAgent.chrome&&n.userAgent.chrome>=50))},d.prototype.build=function(t){if(t){t.streamingMode===s.DASH&&(this.T1=t.streamingMode,this.drmRequired=t.drm,this.M1=t,this.live=!(!t.type||"dynamic"!==t.type.toLowerCase()));var i=this.I1(t.renditionGroups);this.lW(t.streamInfoList,i)}},d.prototype.j1=function(t){var i,n,s,e;for(i=0;i<t.length&&(s=t[i].getDrmInfo());i++)for(n=0;n<s.length;n++)e=s[n],l.isDrmItemContained(e,this.drmInfo)||this.drmInfo.push(e)},d.prototype.I1=function(t){var i=this;return t?(Object.keys(t).forEach((function(n){var s=t[n];s&&Object.keys(s).forEach((function(t){var e=i.N1(n,t),r=s[t];r&&r.length&&(i.R1(r[0]),e?i.L1(n,t,r):i.D1(n,t,r))}))})),i.j1(i.altRenditionGroups),i.altRenditionGroups):i.altRenditionGroups},d.prototype.N1=function(t,i){for(var n=0;n<this.altRenditionGroups.length;n++){var s=this.altRenditionGroups[n];if(s.type===t&&s.groupId===i)return s}return null},d.prototype.D1=function(t,i,n){var s=this.metadata&&this.metadata.currLang,e=this.__controller.create(u,t,i,n,s);this.altRenditionGroups.push(e)},d.prototype.L1=function(t,i,n){if(n&&n.length){var s=this.N1(t,i);n.forEach((function(t){s.update(t)}))}},d.prototype.lW=function(t,i){var n=this;t&&t.length&&((t=n.HO(t)).forEach((function(t){t.sessionId=n.sessionId,t.type=o.MAIN,n.R1(t);for(var s=!1,e=n.isDash()?"groupId":"url",r=0;r<n.streams.length;r++){if(n.streams[r][e]===t[e]){n.updateStream(r,t),s=!0;break}}s||n.addStream(t,i)})),n.j1(n.streams),n.C1(),n.duration=n.live?NaN:t[0].duration)},d.prototype.HO=function(t){return t&&t.length?(this.userAgent.firefox&&t[0].channels&&(t=this.P1(t)),t=t.filter((function(t){if(!t.url)return!1;var i=t.codecs;if(!i)return!0;for(var n=0;n<i.length;n++)if(-1===i[n].indexOf("avc1")&&-1===i[n].indexOf("mp4a")&&-1===i[n].indexOf("aac"))return!1;return!0}))):t},d.prototype.P1=function(t){for(var i=!1,n=t[0].channels,s=1;s<t.length;s++)if(t[s].channels&&n!==t[s].channels){i=!0;break}return i?t.filter((function(t){return 1!==t.channels})):t},d.prototype.isDash=function(){return this.T1===s.DASH},d.prototype.addStream=function(t,i){var n=this.__controller.create(h,t,i);this.streams.push(n),n.setStreamIndex(this.streams.length-1),this.w1.addStream(n),1===this.streams.length&&this.setCurrentLoadingStream(n.index)},d.prototype.updateStream=function(t,i){t>=this.streams.length||(!0===i.hasEndList&&(this.hasEndlist=!0),this.w1.update(i))},d.prototype.synchStreamTimelines=function(t){var i=this.getCurrentLoadingStream();if(i&&this.live&&i.segments.length){var n=i.segments[0].programDateTime,s=i.segments[0].startTime;f.isNullOrUndefined(n)||f.isNullOrUndefined(s)||this.altRenditionGroups.forEach((function(i){t&&i.type!==t||i.adjustStartTime(s,n)}))}},d.prototype.getCurrentLoadingStream=function(){return this.getStreamByIndex(this.currentLoadingStreamIndex)},d.prototype.setCurrentLoadingStream=function(t){this.streams&&this.streams.length&&(t<0||t>=this.streams.length||(this.currentLoadingStreamIndex=t))},d.prototype.getCurrentPlayingStream=function(){return this.getStreamByIndex(this.currentPlayingStreamIndex)},d.prototype.setCurrentPlayingStream=function(t){this.streams&&this.streams.length&&(t<0||t>=this.streams.length||(this.currentPlayingStreamIndex=t))},d.prototype.getTotalBufferLength=function(){for(var t=this.bufferedRanges,i=0,n=0;n<t.length;n++)i+=t.ranges[n].end-t.ranges[n].start;return i},d.prototype.setPCR=function(t){(null===this.A1||void 0===this.A1||isNaN(this.A1))&&(this.A1=t,this.__controller.sendEvent(a.PCR_AVAILABLE,t))},d.prototype.getPCR=function(){return this.A1},d.prototype.setLivePlaybackStartTime=function(t){this._1=t},d.prototype.getLivePlaybackStartTime=function(){return this._1},d.prototype.setStartOffset=function(t){this.startOffsetTimestamp&&!isNaN(this.startOffsetTimestamp)||(this.startOffsetTimestamp=t)},d.prototype.setSegEndTimeStamps=function(t,i,n,s){if(t&&s){var e=t===o.MAIN?this.streams:this.N1(t,i);e&&e.length&&e.forEach((function(t){var i=t.getSegmentfromSeqNum(n);i&&(i.endTimestamps.audio=s.audio,i.endTimestamps.video=s.video)}))}},d.prototype.getPrevSegEndTimestamps=function(t,i){if(!t||!i)return null;var n=t.getIndexFromSeqNum(i.seqNum);return n>=1&&t.segments&&n<t.segments.length?t.segments[n-1].endTimestamps:null},d.prototype.getStreamRefreshInterval=function(){var t=this.getCurrentLoadingStream();return t?t.refreshInterval:null},d.prototype.S1=function(t){if(t){this.sessionId=t?t.sessionId:null,this.is360=!!t&&t.is360,t.type=i.MetadataTypes.RAW,this.metadata=t;var n=t.streams,s=t.altStreams;n&&n.length>0&&((n[0].hls_info||n[0].hlsInfo||n.length>1)&&(this.metadata.type=i.MetadataTypes.STRUCTURED,this.metadata.hasMediaMetadata=!0),(n[0].hls_info||n[0].hlsInfo)&&(this.metadata.hasStreamMetadata=!0)),this.metadata.hasMediaMetadata||this.metadata.hasStreamMetadata||(this.g1=n&&1===n.length?n[0]:t),s&&s.length&&(this.metadata.hasAltStreamMetadata=!0)}},d.prototype.C1=function(){this.streams.sort((function(t,i){return t.bitrate-i.bitrate})),this.streams.forEach((function(t,i){t.index=i,t.segments.forEach((function(t){t.setStreamIndex(i)}))}))},d.prototype.getSegment=function(t,i){return t<0||t>=this.streams.length?null:this.streams[t].getSegmentfromSeqNum(i)},d.prototype.U1=function(t){var i=[];return this.streams.forEach((function(n){n.index!==t&&i.push({index:n.index,url:n.url})})),i},d.prototype.setABRMode=function(t){var i=this,n=i.E1;return i.E1=e.AUTO,Object.keys(e).forEach((function(n){e[n]===t.preference&&(i.E1=t.preference)})),i.O1=1e3*t.stream.bitrate,n!==i.E1},d.prototype.getABRMode=function(){return this.E1},d.prototype.setAudioLanguage=function(t){var i=!1;return this.altRenditionGroups.forEach((function(n){n.type===o.AUDIO&&(i=n.setCurrentStreamWithName(t)||i)})),i},d.prototype.getMediaDto=function(){var t={streams:[],altRenditionGroups:[],live:this.live,duration:this.duration,currentPlayingStreamIndex:this.currentPlayingStreamIndex,currentLoadingStreamIndex:this.currentLoadingStreamIndex,preloading:this.preloading,currentKbps:this.__controller.services.segmentMetrics.getMetricsBandwidthInfo(),abrMode:this.E1,streamingMode:this.T1,drmRequired:this.drmRequired,drmInfo:this.drmInfo};return this.streams.forEach((function(i){t.streams.push(i.dto())})),t},d.prototype.getUserReqBitrate=function(){return this.O1},d.prototype.R1=function(t){t&&t.segmentInfoList&&!f.isNullOrUndefined(t.hasEndList)&&f.isNullOrUndefined(this.live)&&(this.live=!t.hasEndList)},d.prototype.getMediaUrl=function(){var t=this.g1.url||"";return!t.length&&this.g1.host&&this.g1.path&&(t=this.g1.host+this.g1.path),t},d.prototype.getMediaCdn=function(){return this.g1.cdn||""},d.prototype.getStreamByIndex=function(t){return this.streams&&this.streams.length&&t>=0&&t<this.streams.length?this.streams[t]:null},d.prototype.getSegmentLength=function(){return this.streams&&this.streams.length?this.streams[0].targetDuration:NaN},d.prototype.updateTimedMetadata=function(t,i){if(t&&t.payload){this.timedMetadataStore[i]=this.timedMetadataStore[i]||[];for(var n=this.timedMetadataStore[i].length,s=0;s<this.timedMetadataStore[i].length;s++){var e=this.timedMetadataStore[i][s];if(Math.abs(e.timestamp-t.timestamp)<=.1)return!1;if(t.timestamp<e.timestamp){n=s;break}}return this.timedMetadataStore[i].splice(n,0,t),!0}}},xOqZ:function(t,i,n){"use strict";(function(t){var s=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var e=n("0IR3"),r=n("ToqN"),h=n("A4+F"),o=n("PCHl"),u=n("KxEA"),a=n("8PPl"),c=n("O/dN"),f=n("oIMU"),l=n("gp5d"),v=n("dgSz"),d=n("UDn2"),p=n("EUld"),m=n("++Nx"),b=n("mKXf"),y=n("ma23"),g=n("mczr"),w=n("WSjl"),S=n("rBpt"),E=n("2IYR"),O=n("R+G7"),A=n("fLR+"),_=n("+Ojf"),T=n("FHv4"),M=n("iLlr"),I=n("D77f"),j=n("jslM"),N=n("BHlS"),R=n("KZhz"),k=n("BHZG"),L=n("S4Ou"),D=n("3h5f"),C=n("wuUd"),P=n("aQXI"),x=n("yFah"),U=n("Pqkt"),V=n("v0b8"),B=n("zC69"),F=n("Mjcq"),z=function(){function i(t,i,n,s,e){this.vQ=[],this.or=t,this.LT=e,this.ty=s,this.ty.publish(f.PROFILE_START,[f.METRICS.VP_CONSTRUCTOR]),this.iy=new m.default(t,i,n),this.if=this.iy.mediaStore,this.V1(),this.B1=[],this.pO=new b.default,this.BE=new u.default(this.pO),this.F1=new j.default(this.ty),this.z1(),this.iN=new I.PlaybackController(this.iy,this.ty,this.pO),this.H1(),this.iy.autoplay&&this.ty.publish(f.PROFILE_START,f.METRICS.INIT_TO_START),this.Y1(),this.sy(),this.ty.publish(f.PROFILE_END,f.METRICS.VP_CONSTRUCTOR),this.ty.publish(f.PROFILE_START,f.METRICS.INIT_RENDER_GAP),this.G1(),this.W1()}return i.prototype.initialize=function(){this.q1||(this.q1=new M.MetadataController(this.BE,this.iy),this.X1(),this.fetchMetadata())},i.prototype.fetchMetadata=function(t){this.q1&&this.q1.loadMetadata(t)},i.prototype.destroy=function(){this.KA&&this.KA.destroy(),this.Q1(),this.ty&&this.ty.destroy(),this.Z1&&this.Z1.destroy(),this.iy&&this.iy.destroy(),this.q1&&this.q1.destroy(),this.iN&&this.iN.destroy(),this.J1&&this.J1.destroy(),this.K1(),this.pO.destroy(),this.BE.destroy()},i.prototype.render=function(t){this.ty.publish(f.PROFILE_END,f.METRICS.INIT_RENDER_GAP),this.ty.publish(f.PROFILE_START,f.METRICS.CREATE_RENDERER),this.t2();var i=A.isString(t)?document.querySelector(t):t;if(null===i&&this.ty.publish(f.ERROR,this.i2(c.PLAYER_CODES.E_INVALID_CONFIG,!1,"Invalid DOM node or CSS selector specified. Cannot render player.")),this.KA=new T.default(i,this.iy,this.ty,this.LT,this.pO,this.iN),this.n2(),this.iy.playerRootElement=i,this.KA.render(),this.RN=this.KA.getPlaylistController(),A.isFunction(o.CCController)&&(this.Z1=new o.CCController(this.ty,this.iy,this.KA),this.s2()),this.iy.firstCriticalError)this.gL(this.iy.firstCriticalError);else{if(this.e2=!1,this.KA.syncViewState(),this.iy.autoplay){var n={type:a.REQUEST_TYPES.AUTOPLAY,action:a.REQUEST_TYPES.AUTOPLAY};this.play(n)}else{var s=this.getCurrentMediaItem();this.F1.setPreloadItem(s),this.F1.startPreload()}this.ty.publish(h.ExternalEvt.PLAYER_RENDERED),this.q1.loadMoreItems(y.MoreItemsReason.PLAYER_RENDERED),this.ty.publish(f.PROFILE_END,f.METRICS.CREATE_RENDERER),this.KA.setTheme(this.or.cssTheme),this.h2(y.PluginPlayerEvent.PLAYER_RENDERED,{rootElem:i})}},Object.defineProperty(i.prototype,"model",{get:function(){return this.iy},enumerable:!0,configurable:!0}),i.prototype.registerPlugin=function(t){var i=this.iy.config,n=i.pluginConfigs&&i.pluginConfigs[t.type]&&i.pluginConfigs[t.type][t.mimetype];switch(t.type){case y.PluginType.AD:var s=this.iy.privacyConsent;n=Object.assign({autoplay:i.autoplay,playerGuid:this.iy.guid,timeout:{hard:i.ads.timeout.load,start:i.ads.timeout.start,maxAdSearch:i.ads.timeout.maxAdSearch||604800},privacyConsent:{gdprApplies:s.gdprApplies,gdprConsentData:s.gdprConsentData,uspString:s.uspString}},n),"adplugin/vrm"===t.mimetype&&(n.disableFailoverOnDlvFailure=!1,n.disableVIPAdCallRetry=!1,n.adCallWithCredentialsAlways=!1),n.playerName=n.playerName||"VDMSPlayer"}this.pO.register(t,n),A.isPlayerPluginEventListener(t)&&this.B1.push(t)},Object.defineProperty(i.prototype,"rootElement",{get:function(){return this.iy.rendered?this.KA.getRootElement():null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"videoElement",{get:function(){return this.iy.rendered?this.KA.getVideoElement():null},enumerable:!0,configurable:!0}),i.prototype.supportSendBeacon=function(){return!(r.userAgent.ie||r.userAgent.safari||r.userAgent.ios)},i.prototype.play=function(t){void 0===t&&(t=null),this.iN.startPlayback(t)},i.prototype.pause=function(t){!this.iy.isPaused()&&this._f.shouldPlay&&(this.iN.pause(t),this.ty.publish(f.CTRL_PLAYPAUSE,"pause"))},i.prototype.seek=function(t){this.iN.seek(t)},i.prototype.recover=function(){this.o2&&this.o2.recover()},i.prototype.preload=function(){this.F1.startPreload()},i.prototype.stopPreload=function(){this.F1.stopPreload()},i.prototype.disableControls=function(){this.iy.rendered&&this.KA.disableControls()},i.prototype.enableControls=function(){this.iy.rendered&&this.KA.enableControls()},i.prototype.enableCC=function(t){this.Z1&&this.Z1.enable(t)},i.prototype.disableCC=function(){this.Z1&&this.Z1.disable()},i.prototype.isPlayMode=function(){var t=this.iy.getState();return(t===w.default.VIDEO||t===w.default.WAITING)&&!this.iy.isPaused()},i.prototype.isLoading=function(){return this._f.videoLoading()},i.prototype.setCustomError=function(t,i,n,s,e){if(/^player-/.test(t)||(t="player-"+t),-1===[f.ERROR,f.WARNING,f.INFO].indexOf(t))throw new Error("invalid error level");if(-1===Object.keys(c.ErrorGroup).map((function(t){return c.ErrorGroup[t]})).indexOf(i))throw new Error("invalid error group");this.ty.publish(t,_.default.createErr(i,this._f,n,s,e))},Object.defineProperty(i.prototype,"fullscreen",{get:function(){return!!this.iy.rendered&&this.KA.getFullscreen()},set:function(t){this.iy.rendered&&this.KA.setFullscreen(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"volume",{get:function(){return this.iy.volume},set:function(t){t>0&&!this.iy.muteMode&&(this.iy.mute=!1),S.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:t,mute:this.iy.mute}),this.iy.rendered&&this.iN.setVolume(t),this.KA.updateVolumeUI(t)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentTime",{get:function(){return this.iy.rendered?this.iN.getCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rawCurrentTime",{get:function(){return this.iy.rendered?this.iN.getRawCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mute",{get:function(){return this.iy.mute},set:function(t){this.iy.muteMode&&this.iy.mute||(S.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:this.iy.volume,mute:t}),this.iy.rendered&&this.iN.setMute(t),this.KA.updateVolumeUI(this.iy.volume,t))},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"loop",{set:function(t){this.iy.loop=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"continuousPlay",{get:function(){return this.iy.continuousPlay},set:function(t){this.iy.continuousPlay=t},enumerable:!0,configurable:!0}),i.prototype.resumeContinuousPlay=function(t){this.iN.resumeContinuousPlay(t)},Object.defineProperty(i.prototype,"autoplay",{get:function(){return this.iy.autoplay},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"mediaStore",{get:function(){return this.iy.mediaStore},enumerable:!0,configurable:!0}),i.prototype.getPlaybackState=function(){return this.iy.getState()},i.prototype.getCurrentMediaItem=function(){return this.jy.getCurrentItem()},i.prototype.getPlaylistItems=function(){return this.jy.getItems().map((function(t){return{id:t.id,mimetype:t.mimetype}}))},i.prototype.getPlaylistItemIds=function(){return this.jy.getItemIds()},i.prototype.getPlaylist=function(){return this.jy},Object.defineProperty(i.prototype,"rendered",{get:function(){return this.iy.rendered},enumerable:!0,configurable:!0}),i.prototype.updateCurrentItemTitle=function(t){this.KA.updateCurrentItemTitle(t)},i.prototype.addCustomControlElement=function(t){return this.KA.addCustomControlElement(t)},i.prototype.setPlaylistPosition=function(t,i,n){this.iN.setPlaylistPosition(t,i,n)},i.prototype.sendPrefetchInfo=function(t){var i={url:t.url,source:t.source,latency:t.latency||"na",http_code:t.http_code||"na",resp_len:t.resp_len||"na",instrument:t.instrument||"na",perfInfo:t.perfInfo||"na",perfStack:t.perfStack||"na"};return!(!i.source||!i.url)&&(this.ty.publish(f.API_CALLED,i),!0)},i.prototype.removePlaylistItems=function(t,i){this.jy.removeItems(t,i)},i.prototype.error=function(t){t&&this.ty.publish(f.ERROR,this.i2(t.code,!1,t.msg))},Object.defineProperty(i.prototype,"docked",{get:function(){return!!this.iy.rendered&&this.KA.isDocked()},enumerable:!0,configurable:!0}),i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.iy.rendered&&this.KA.updateDockingConfig(t,i,n,s,e,r)},i.prototype.dockVideoPlayer=function(){this.iy.rendered&&this.KA.dockVideoPlayer()},i.prototype.undockVideoPlayer=function(t){this.iy.rendered&&this.KA.undockVideoPlayer(t)},i.prototype.initNewPlayback=function(){var t=this.getCurrentMediaItem();this.iN.initNewPlayback(t)},Object.defineProperty(i.prototype,"startTime",{set:function(t){this.iy.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"currentDate",{get:function(){return this.iy.rendered?this.iN.getCurrentDate():0},enumerable:!0,configurable:!0}),i.prototype.getEventsDto=function(){return this.iy.getEventsDto()},i.prototype.getPlayingItem=function(){return this.iN.getPlayingItem()},Object.defineProperty(i.prototype,"duration",{get:function(){return this.iN.getDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"rawDuration",{get:function(){return this.iN.getRawDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"jy",{get:function(){return this.iy.playlist},enumerable:!0,configurable:!0}),i.prototype.sy=function(){var t=this;this.ty.addEventListener(f.ERROR,this.gL,this),this.ty.addEventListener(f.INFO,this.gL,this),this.ty.addEventListener(f.WARNING,this.wL,this),this.ty.addEventListener(f.RELATED_ITEM_CLICK,this.mF,this),this.ty.addEventListener(f.TOGGLE_PLAY_PAUSE,this.u2,this),this.ty.addEventListener(f.CONTROLS_SEEK_START,this.a2,this),this.ty.addEventListener(f.CONTROLS_SEEK_END,this.f2,this),this.ty.addEventListener(f.CONTROLS_SEEKING,this.l2,this),this.ty.addEventListener(f.PLAYBACK_REQUEST,this.v2,this),this.ty.addEventListener(f.PLAYER_DIMENSION_CHANGE,this.fN,this),this.ty.addEventListener(h.ExternalEvt.BITRATE_CHANGE,this.vL,this),this.ty.addEventListener(h.ExternalEvt.PLAYBACK_TIMEOUT,this.d2,this),this.ty.addEventListener(f.KEYDOWN,this._T,this),this.ty.addEventListener(f.ER_READY,this.m2,this),this.ty.addEventListener(f.CONTENT_LOAD_FINISHED,this.b2,this),this.ty.addEventListener(f.PRELOAD_COMPLETE,this.nG,this),this.ty.addEventListener(f.LIVE_RELOAD_MEDIA,this.g2,this),this.iy.waitingForUserTap&&this.ty.once(f.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){t.iy.waitingForUserTap=!1}),this)},i.prototype.W1=function(){var t=this;this.vQ.push(new V.default),this.vQ.push(new U.default),this.vQ.push(new F.default),this.vQ.push(new k.default),this.vQ.push(new D.default),this.vQ.push(new C.default),this.vQ.push(new e.VrmAdPlugin),this.vQ.push(new B.default),this.iy.isLocal()&&(this.vQ.push(new L.default),this.vQ.push(new P.default),this.vQ.push(new x.default)),this.vQ.forEach((function(i){t.registerPlugin(i)})),this.pO.defaultPlugins=this.vQ},i.prototype.K1=function(){this.vQ.forEach((function(t){t.destroy()})),this.vQ=[]},i.prototype.h2=function(i){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];for(var r=function(e){t((function(){try{e.onPlayerEvent.apply(e,s([i],n))}catch(t){}}))},h=0,o=this.B1;h<o.length;h++){var u=o[h];r(u)}},i.prototype.Y1=function(){this.o2||(this.o2=new N.default(this.iy),this.w2())},i.prototype.G1=function(){this.J1=new R.default(this.iy)},i.prototype.t2=function(){var t=this;this.J1.activate(),this.J1.on(R.VisibilityEvent.PAGE_VISIBILITY_CHANGED,(function(i){t.iN.handleVisibilityChange(i)}),this)},i.prototype.S2=function(){this.E2||(this.ty.publish(f.PROFILE_END,[f.METRICS.PLAYBACK_START,f.METRICS.INIT_TO_START,f.METRICS.CLICK_TO_START]),this.ty.publish(h.ExternalEvt.VIDEO_STARTED),this.E2=!0),this.bM()},i.prototype.u2=function(){this.iy.castState&&this.iy.castState.connected||this.iy.getState()===w.default.VIDEO&&(this.iy.isPaused()?(this.iN.startPlayback({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PLAY}),this.ty.publish(f.CTRL_PLAYPAUSE,"play")):(this.iN.pause({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PAUSE}),this.ty.publish(f.CTRL_PLAYPAUSE,"pause")))},i.prototype._T=function(t){var i=t.keyCode,n="key-"+i;32!==i&&38!==i&&40!==i||(t.preventDefault(),this.ty.publish(h.ExternalEvt.UI_INTERACT,{srcElement:n}))},i.prototype.v2=function(){this.O2(),this.A2()},i.prototype.O2=function(){var t=this,i=this.getCurrentMediaItem();!this.BM&&i&&i.state!==d.ItemState.ERROR&&(this.BM=window.setTimeout((function(){t.ty.publish(h.ExternalEvt.PLAYBACK_TIMEOUT,t._2(c.WARNING_CODES.E_PLAYBACK_TIMEOUT,!0,"No playback after 10 seconds of requesting to play on player"))}),1e4))},i.prototype.A2=function(){var t=this.getCurrentMediaItem();t&&t.rendererType===g.RendererType.HTML5_HLS&&this.ty.publish(f.CONVIVA_READY_FOR_SESSION_CREATION,t)},i.prototype.bM=function(){this.BM&&clearTimeout(this.BM)},i.prototype.fN=function(t){this.iy.uiState.width=t.width,this.iy.uiState.height=t.height,this.iy.uiState.videoWidth=t.videoWidth,this.iy.uiState.videoHeight=t.videoHeight,this.KA&&this.KA.controls&&this.KA.controls.onPlayerResize(t)},i.prototype.T2=function(){r.userAgent.mobile&&O.default.autoplaySupported&&this._f.mute&&!this.iy.muteMode&&!this.iy.config.mute&&(this.mute=!1),this.ty.publish(f.CTRL_PLAYREQUEST,"ctp");var t={type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.CLICK};this.iN.startPlayback(t),this.KA.getContentNode().focus(),O.default.hasLoadRestriction&&this.iy.autoplay&&E.default&&(this.iy.waitingForUserTap=!1)},i.prototype.mF=function(t,i,n){var s=this.jy,e={srcElement:"next-vid-"+i},r=-1===i?f.CTRL_REPLAY:f.CTRL_ENDSCREEN_VID;-1===i&&(e.srcElement="es-rpl"),i>-2&&this.ty.publish(h.ExternalEvt.UI_INTERACT,e),this.ty.publish(r,{vid:t,vindex:i});var o={type:a.REQUEST_TYPES.CONTINUOUS,action:n?a.REQUEST_TYPES.AUTOPLAY:a.REQUEST_TYPES.CLICK},u=s.getItemPosition(t);this.setPlaylistPosition(u,!0,o)},i.prototype.gL=function(t){var i=this;if(this.o2.onError(t),t.category&&t.category===c.E_INFO?this.ty.publish(f.INTERNAL_INFO,t):this.ty.publish(f.INTERNAL_ERROR,t),!this.o2||!t.isRecoverable){try{throw new Error("Stack Trace")}catch(t){}this.iy.errors.push(t),this.M2((function(){var t=i.iy.firstCriticalError;t&&(i.o2.stopTimers(),i.iN.handleCriticalError(t),i.I2(t),i.disableCC(),i.KA&&i.KA.syncViewState())}))}},i.prototype.wL=function(t,i){i&&this.gL(t)},i.prototype.I2=function(t){var i=c.PLAYER_CODES,n=function(){r.userAgent.desktop&&(t.category=c.E_PLAYER,t.subcategory=i.E_PLAYER_NOT_ENABLED)};switch(t.category){case c.E_SAPI_ABSTRACT:case c.E_SAPI_STREAM:case c.E_SAPI_PLAYLIST:case c.E_SAPI_RELATED:case c.E_SAPI_POPULAR:var s=c.INFO_CODES;switch(t.subcategory){case s.E_SAPI_UNSUPPORTED_LIVE_ON_HTML:r.userAgent.android?(t.category=c.E_INFO,t.subcategory=s.E_PLAYER_ANDROID_CHROME_REQUIRED):n();break;case c.SAPI_CODES.E_DRM_RESTRICTED:r.userAgent.desktop&&n()}break;case c.E_PLAYER:switch(t.subcategory){case i.E_NATIVE_ENCRYPT_MEDIA:n()}}},i.prototype.a2=function(){this.iy.isSeeking()||(this.iy.setSeeking(!0),this.KA.syncViewState())},i.prototype.f2=function(){this.iy.isSeeking()&&(this.iy.isPaused()||this.iN.playCurrent(),this.iy.setSeeking(!1),this.KA.syncViewState())},i.prototype.l2=function(t){this.iy.castState&&this.iy.castState.connected||this.iN.seekCurrent(t)},i.prototype.vL=function(t){this.iy.bitrate=t},i.prototype.d2=function(t){this.ty.publish(f.WARNING,t)},i.prototype.M0=function(){this.iy.isLoading()||(this.iy.setLoading(!0),this.KA.syncViewState());var t=this.getCurrentMediaItem();t&&this.q1.recover(t)},i.prototype.j2=function(t){if(this.o2.recovering){var i=this.iy.getState();this.iN.getCurrentTime()>0&&(this.iy.startTime=this.iN.getCurrentTime()),this.o2.onRecoveryMetadataReady(),this.iN.handleSourceAvailable(t),t.recoveryStatus=d.ItemRecoveryStatus.RECOVERED,i===w.default.VIDEO&&this.iN.playCurrent(this.iy.startTime)}else t.recoveryStatus=d.ItemRecoveryStatus.NOT_RECOVERING},i.prototype.m2=function(t){},i.prototype.Q1=function(){this.o2&&(this.o2.destroy(),this.o2=null)},i.prototype.M2=function(t){var i=this,n=this.iy&&this.jy&&this.getCurrentMediaItem();switch(n&&n.is360Video()&&(this.iy.skipOnError=l.SkipOnError.TIMEBASED),this.iy.skipOnError){case l.SkipOnError.ALWAYS:this.N2(t);break;case l.SkipOnError.TIMEBASED:t(),window.setTimeout((function(){i.N2()}),1e4);break;case l.SkipOnError.NEVER:default:t()}},i.prototype.N2=function(t){var i=this.jy.getNextPosition(!0,this.iy.loop),n=this.jy.position,s=this.iy.autoplay||this.iy.continuousPlay&&this._f.hasStartedPlayback;-1!==i&&i!==n?(this.setPlaylistPosition(i,s),this.KA&&this.KA.syncViewState()):-1===i&&this.R2(y.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR)},i.prototype.R2=function(t){var i=this;this.q1.loadMoreItems(t,(function(t){var n=i.jy.getNextPosition(!0,i.iy.loop),s=i.iy.autoplay||i.iy.continuousPlay&&i._f.hasStartedPlayback;t||-1===n?(i.iy.setState(w.default.END),i._f.criticalError=i.iy.firstCriticalError,i.KA&&i.KA.syncViewState()):i.setPlaylistPosition(n,s)}))},i.prototype.b2=function(t){if(t){var i,n=this.jy,s=n.getCurrentPosition(),e=n.getNextPosition(!0,this.iy.loop);-1!==e&&e!==s&&(i=n.getMediaItemAt(e))&&(i.mayUpdateVideoSession(),this.F1.setPreloadItem(i),this.F1.startPreload())}},i.prototype.nG=function(){},i.prototype.g2=function(){this.o2.recover(4)},i.prototype._2=function(t,i,n,s){return _.default.createErr(c.ErrorGroup.Streaming,this._f,i?c.E_WARNING:c.E_PLAYER,t,n,s)},i.prototype.i2=function(t,i,n,s){return _.default.createErr(c.ErrorGroup.Configuration,this._f,i?c.E_WARNING:c.E_PLAYER,t,n,s)},i.prototype.V1=function(){var t=this,i=this.if;i.on(p.MediaStoreEvent.MEDIA_ITEM_ADDED,(function(i){t.ty.publish(f.MEDIA_ITEM_ADDED,i)}),this),i.on(p.MediaStoreEvent.MEDIA_ITEM_REMOVED,(function(i){t.ty.publish(f.MEDIA_ITEM_REMOVED,i)}),this)},i.prototype.L2=function(t){return t?{id:t.id,duration:t.duration}:null},i.prototype.H1=function(){var t=this,i=this.iN;i.on(I.PlaybackEvent.PLAY_CAST,(function(){}),this),i.on(I.PlaybackEvent.PAUSE_CAST,(function(){}),this),i.on(I.PlaybackEvent.SEEK_CAST,(function(){}),this),i.on(I.PlaybackEvent.PLAYBACK_REQUEST,(function(){t.ty.publish(f.PLAYBACK_REQUEST)}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_BEFORE_METADATA_READY,(function(){t.ty.publish(f.INFO,t.i2(c.PLAYER_CODES.E_NATIVE_PREMATURE_PLAY,!0,"Cannot play before metadata is available"))}),this),i.on(I.PlaybackEvent.PLAYLIST_NO_MORE_ITEM_TO_PLAY,(function(){t.Q1()}),this),i.on(I.PlaybackEvent.PLAYLIST_COMPLETE,(function(){t.R2(y.MoreItemsReason.PLAYLIST_COMPLETE),t.ty.publish(h.ExternalEvt.PLAYLIST_COMPLETE)}),this),i.on(I.PlaybackEvent.PLAYBACK_LOADING,(function(i){t.KA.syncViewState(),t.iy.fullscreen&&t.KA.setFullscreen(!0)}),this),i.on(I.PlaybackEvent.PLAYBACK_PAUSING,(function(){t.KA.syncViewState()}),this),i.on(I.PlaybackEvent.AD_BREAK_STARTED,(function(i){t.KA.onAdBreakStarted(i),t.KA.syncViewState(),t.RN.onAdBreakStarted(),t.ty.publish(f.AD_BREAK_STARTED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ENDED,(function(i){t.KA.onAdBreakEnded(i),t.KA.syncViewState(),t.RN.onAdBreakEnded(),t.ty.publish(f.AD_BREAK_ENDED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_CURRENT,(function(i){t.KA.onAdBreakItemCurrent(i),t.ty.publish(f.AD_BREAK_ITEM_CURRENT,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STARTED,(function(i){t.S2(),t.KA.syncViewState(),t.KA.onAdBreakItemStarted(i),t.Z1.onAdPlaybackStarted(i);var n=i.adBreak;t.F1.setPreloadItem(n.mediaItem),t.F1.startPreload(),t.ty.publish(f.AD_BREAK_ITEM_PLAYBACK_STARTED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_SKIPPED,(function(i){t.ty.publish(f.AD_BREAK_ITEM_SKIPPED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_RESUMED,(function(i){t.ty.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_ENDED,(function(i){t.KA.onAdBreakItemEnded(i),t.ty.publish(f.AD_BREAK_ITEM_ENDED,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STOPPED,(function(t){}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_PROGRESS,(function(i){t.KA.onAdPlaybackProgress(i);var n=t._f;t.h2(y.PluginPlayerEvent.AD_PLAYBACK_PROGRESS,{currentTime:n.currentTime,duration:n.duration}),t.Z1.onAdPlaybackProgress(i)}),this),i.on(I.PlaybackEvent.AD_BREAK_ITEM_ERROR,(function(i){t.ty.publish(f.AD_BREAK_ITEM_ERROR,i)}),this),i.on(f.AD_SUBTITLE_TRACK_ADDED,(function(i){t.ty.publish(f.AD_SUBTITLE_TRACK_ADDED,i)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_CURRENT,(function(i){t.KA&&t.KA.onMediaItemCurrent(i),t.Z1&&t.Z1.onMediaItemLoaded(i),t.RN&&t.RN.onMediaItemCurrent(i),t.ty.publish(f.MEDIA_ITEM_CURRENT,i)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STARTED,(function(i){t.S2(),t.KA.onMediaItemPlaybackStarted(i),t.Z1.onMediaItemPlaybackStarted(),t.h2(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_STARTED,t.L2(i)),t.ty.publish(f.PLAYBACK_STARTED),t.q1.loadMoreItems(y.MoreItemsReason.PLAYBACK_STARTED)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_RESUMED,(function(i){t.ty.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,(function(i){t.KA.syncViewState(),t.KA.onMediaItemPlaybackProgress(i),i&&i.currentTime&&t.h2(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,i.currentTime,t.L2(i.playingItem))}),this),i.on(I.PlaybackEvent.PLAYBACK_RESUME,(function(i){t.ty.publish(f.PLAYBACK_RESUMED,i?i.id:null),t.KA.syncViewState()}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR,(function(i){t.ty.publish(f.PLAYBACK_ERROR,i)}),this),i.on(I.PlaybackEvent.PLAYBACK_INFO,(function(i){t.ty.publish(f.INFO,i)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_ERROR,(function(i,n){t.ty.publish(f.MEDIA_ITEM_ERROR,i),t.ty.publish(f.ERROR,n)}),this),i.on(I.PlaybackEvent.WAITING,(function(i){if(i){if(t.o2&&t.o2.toggleRecoverer(i),i.value&&!i.ignoreBuffering)t.ty.publish(f.PROFILE_START,f.METRICS.PLAYBACK_STALLED);else if(!i.ignoreBuffering){t.ty.publish(f.PROFILE_END,f.METRICS.PLAYBACK_STALLED);var n=t.LT.getItem(f.METRICS.PLAYBACK_STALLED);n&&t.ty.publish(f.PLAYBACK_STALLED,n.timeDiff?n.timeDiff/1e3:"")}var s=!0===i.value?h.ExternalEvt.BUFFERING_START:h.ExternalEvt.BUFFERING_END;t.ty.publish(s)}}),this),i.on(I.PlaybackEvent.END_FULLSCREEN,(function(){t.KA.setFullscreen(!1)}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_NO_VALID_STREAM,(function(){t.ty.publish(f.ERROR,_.default.createErr(c.ErrorGroup.Service,t._f,c.E_SAPI_STREAM,c.SAPI_CODES.E_NO_PLAYABLE_STREAMS))}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_NO_RENDERER,(function(i){t.ty.publish(f.ERROR,i)}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,(function(i){t.ty.publish(f.INFO,i)}),this),i.on(I.PlaybackEvent.PLAYBACK_SYNC_VIEW,(function(){t.KA&&t.KA.syncViewState()}),this),i.on(I.PlaybackEvent.MUTE_CHANGED,(function(i){t.iy.mute=i,t.KA.updateVolumeUI(t.iy.volume,t.iy.mute)}),this),i.on(I.PlaybackEvent.VOLUME_CHANGED,(function(i){t.iy.volume=i,t.KA.updateVolumeUI(t.iy.volume,t.iy.mute),t.ty.publish(f.VideoEvent.VOLUMECHANGE)}),this),i.on(I.PlaybackEvent.PLAYBACK_START_BLOCKED,(function(){t._f.paused=!0,t._f.loading=!1,t.KA.syncViewState(),t.ty.publish(f.VideoEvent.PAUSE)}),this),i.on(I.PlaybackEvent.RENDERER_SWITCH,(function(i,n){r.userAgent.mobile&&t.KA.getFullscreen()&&i!==n&&n&&n.exitFullScreen&&n.exitFullScreen(),t.KA.syncViewState()}),this),i.on(I.PlaybackEvent.RENDERER_TIMEOUT,(function(){t.KA.syncViewState()}),this),i.on(I.PlaybackEvent.RENDERER_CREATED,(function(i){t.KA.addRendererNode(i.create())}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STOPPED,(function(i){t.o2&&t.o2.stopTimers(),t.KA.syncViewState(),t.iy.continuousPlay||t.KA.setFullscreen(!1),t.ty.publish(f.PLAYBACK_STOPPED,i)}),this),i.on(I.PlaybackEvent.PLAYLIST_POSITION_HAS_CHANGED,(function(i){i&&(t.KA.resetState(),t.ty.publish(h.ExternalEvt.PLAYLIST_POSITION_CHANGE,t.jy.position))}),this),i.on(I.PlaybackEvent.PLAYBACK_ERROR_INCONSISTENT_METADATA,(function(){t.ty.publish(f.WARNING,t._2(c.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE,!0),!0)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_IS_LOADED,(function(i){t.Y1(),t.KA.onMediaItemLoaded(i),t.Z1&&t.Z1.onMediaItemLoaded(i);var n=i.customConfig,s=t.or.nielsenConfig;(n&&n.nielsenRequired||s&&s.enableNielsen)&&t.ty.publish(h.ExternalEvt.NIELSEN_REQUIRED),t.ty.publish(f.MEDIA_ITEM_METADATA,i)}),this),i.on(I.PlaybackEvent.SEEKING,(function(){t.KA.syncViewState(),t.ty.publish(f.VideoEvent.SEEKING)}),this),i.on(I.PlaybackEvent.SEEKED,(function(){t.KA.syncViewState(),t.ty.publish(h.ExternalEvt.PLAYBACK_SEEK_COMPLETE)}),this),i.on(I.PlaybackEvent.MEDIA_ITEM_PLAYBACK_ENDED,(function(i,n){t.KA.destroyAdsOverlay(),t.Z1.onMediaItemPlaybackEnded(),t.ty.publish(f.PLAYBACK_COMPLETE,i),t.ty.publish(f.MEDIA_ITEM_COMPLETE,i),t.h2(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_ENDED,t.L2(i))}),this),i.on(I.PlaybackEvent.STALLED,(function(){t.ty.publish(f.VideoEvent.STALLED)}),this),i.on(I.PlaybackEvent.LOADSTART,(function(){t.ty.publish(f.VideoEvent.LOADSTART)}),this),i.on(I.PlaybackEvent.LOADEDDATA,(function(){t.ty.publish(f.VideoEvent.LOADEDDATA)}),this),i.on(I.PlaybackEvent.LOADEDMETADATA,(function(){t.ty.publish(f.VideoEvent.LOADEDMETADATA)}),this),i.on(I.PlaybackEvent.PLAY,(function(){t.ty.publish(f.VideoEvent.PLAY)}),this),i.on(I.PlaybackEvent.PLAYING,(function(i){t.KA.syncViewState(),t.ty.publish(f.VideoEvent.PLAYING)}),this),i.on(I.PlaybackEvent.PAUSE,(function(){t.KA.syncViewState(),t.ty.publish(f.VideoEvent.PAUSE)}),this),i.on(I.PlaybackEvent.SRC_SWITCHING,(function(){t.ty.publish(f.VideoEvent.SRC_SWITCHING)}),this),i.on(I.PlaybackEvent.SRC_SWITCHED,(function(){t.ty.publish(f.VideoEvent.SRC_SWITCHED)}),this),i.on(I.PlaybackEvent.TIMEUPDATE,(function(i){t.ty.publish(f.VideoEvent.TIMEUPDATE,i&&i.currentTime)}),this),i.on(I.PlaybackEvent.CLICK,(function(){t.ty.publish(h.ExternalEvt.UI_INTERACT,{srcElement:"video-click"}),r.userAgent.desktop&&t.KA.controls&&t.u2()}),this),i.on(I.PlaybackEvent.PLAYBACK_PROGRESS,(function(i){var n=i.currentItem,s=i.currentTime,e=i.duration,r=i.buffered,h=t.KA.getPlayerDimensions();_.default.areDimensionsEqual(h,t.iy.uiState)||t.ty.publish(f.PLAYER_DIMENSION_CHANGE,h),t.ty.publish(f.PLAYBACK_PROGRESS,n.id,s,e,r)}),this),i.on(I.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_METADATA,(function(i){t.q1.loadItem(i)}),this),i.on(I.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,(function(i){t.q1.loadSource(i),t.ty.publish(f.MEDIA_ITEM_NEED_SOURCE,i)}),this),i.on(I.PlaybackEvent.AD_BREAK_NEED_RESOLVE,(function(t,i){}),this),i.on(I.PlaybackEvent.AD_METRICS,(function(i){t.ty.publish(f.AD_METRICS,i)}),this),i.on(I.PlaybackEvent.CREATE_OVERLAY_CONTAINER,(function(i){i(t.KA.createAdsOverlay())}),this),i.on(I.PlaybackEvent.PLAY_CALLED_AFTER_PREROLL,(function(){t.ty.publish(h.ExternalEvt.PLAY_CALLED_AFTER_PREROLL)}),this),i.on(I.PlaybackEvent.PLAY_CALLED_ON_RENDERER,(function(i){t.ty.publish(h.ExternalEvt.PLAY_CALLED_ON_RENDERER,i)}),this),this.D2(i)},i.prototype.n2=function(){var t=this,i=this.KA;i.on(T.ViewEvent.SKIP_AD_REQUESTED,(function(){var i=t.getPlayingItem();i&&_.default.getPlaybackMode(i)===g.PlaybackMode.AD&&t.iN.skipAd()}),this),i.on(T.ViewEvent.SYNC_PLAYBACK_STATE,(function(){t.iN.syncPlaybackState()}),this),i.on(T.ViewEvent.SYNC_ENTER_FULLSCREEN,(function(){t.iN.enterFS()}),this),i.on(T.ViewEvent.SYNC_EXIT_FULLSCREEN,(function(){t.iN.exitFS()}),this),i.on(T.ViewEvent.SYNC_SHOW_AIRPLAY_TARGET_MENU,(function(){t.iN.showAirplayTargetMenu()}),this),i.on(T.ViewEvent.SEEK,(function(i){t.iN.seekCurrent(i)}),this),i.on(T.ViewEvent.SET_VOLUME,(function(i){t.volume=i}),this),i.on(T.ViewEvent.SET_MUTE,(function(i){t.mute=i}),this),i.on(T.ViewEvent.TOGGLE_CC,(function(i,n){t.ty.publish(f.CCEvent.UI_TOGGLE,i,n),t.Z1.toggleFromUI(i,n)}),this),i.on(T.ViewEvent.SET_AUDIO_LANGUAGE,(function(i,n){t.ty.publish(f.CONTROLS_AUDIO_CHANGE,i,n);var s=t.getCurrentMediaItem();s&&s.setCurrLanguage(i),t.iN.setAudioLanguage(i)}),this),i.on(T.ViewEvent.UI_INTERACT,(function(i){t.ty.publish(h.ExternalEvt.UI_INTERACT,i)}),this),i.on(T.ViewEvent.SCROLLED_TO_END,(function(){t.q1.loadMoreItems(y.MoreItemsReason.SCROLLED_TO_END)}),this),i.on(T.ViewEvent.TOGGLE_PLAY_PAUSE,(function(){t.u2()}),this),i.on(T.ViewEvent.START_SCREEN_CLICK,(function(){t.T2()}),this),i.on(T.ViewEvent.AD_CLICKED,(function(){t.ty.publish(f.AD_BREAK_ITEM_CLICKED)}),this),i.on(T.ViewEvent.CC_LANGUAGE_CHANGE,(function(i){t.Z1.onLanguageChange(i)}),this),i.on(T.ViewEvent.CC_STYLE_CHANGE,(function(i){t.Z1.updateCCStyle(),i&&t.ty.publish(f.CCEvent.UPDATE_STYLE,i)}),this),i.on(T.ViewEvent.OPSS_VISIBILITY_CHANGED,(function(i,n){t.ty.publish(f.OPSS_VISIBILITY_CHANGED,i,n)}),this),i.on(T.ViewEvent.FORWARD_SEEK,(function(){var i=t.iN.getCurrentTime(),n=Math.min(i+t.iy.seekControls.offset,t.duration-1);t.iN.seekCurrent(n)}),this),i.on(T.ViewEvent.BACKWARD_SEEK,(function(){var i=t.iN.getCurrentTime()-t.iy.seekControls.offset;t.iN.seekCurrent(i)}),this),i.on(T.ViewEvent.CUSTOM_ELEMENT,(function(i,n){var s={action:i,label:n};t.ty.publish(h.ExternalEvt.CTRL_CUSTOM_ELEMENT,JSON.stringify(s))}),this)},i.prototype.w2=function(){var t=this,i=this.o2;i.on(f.ERROR,(function(i){t.ty.publish(f.ERROR,i)}),this),i.on(f.WARNING,(function(i){t.ty.publish(f.WARNING,i)}),this),i.on(N.RecovererEvent.RECOVERY_START,this.M0,this),i.on(N.RecovererEvent.RECOVERY_METADATA_READY,(function(){t.ty.publish(f.RECOVERY_METADATA_READY)}),this)},i.prototype.s2=function(){var t=this,i=this.Z1;i.on(o.CCControllerEvent.CC_AVAILABILITY_UPDATE,(function(i){t.KA.updateClosedCaptionUI(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED,(function(i){t.KA.controls.updateAvailableLanguages(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED_MOBILE,(function(i){t.iN.enableMobileNativeCC(i)}),this),i.on(o.CCControllerEvent.TOGGLE_SIMPLE_CC_CONTROLS,(function(t){}),this)},i.prototype.X1=function(){var t=this,i=this.q1;i.on(f.ERROR,(function(i){t.ty.publish(f.ERROR,i)}),this),i.on(M.MetadataEvent.METADATA_AVAILABLE,(function(i){t.getCurrentMediaItem().equals(i)&&t.KA&&t.KA.syncViewState(),t.ty.publish(f.METADATA_AVAILABLE,i.id),t.e2||(t.e2=!0,t.ty.publish(h.ExternalEvt.PLAYER_READY)),t.RN&&t.RN.onMediaItemLoaded()}),this),i.on(M.MetadataEvent.SOURCE_AVAILABLE,(function(i){t.C2(i)}),this),i.on(M.MetadataEvent.SOURCE_LOAD_FAILED,(function(i,n){var s=t.getCurrentMediaItem();if(s&&s.key===v.default.createKey(i.id,i.mimetype)){if(t.P2(s))return void t.o2.onMetadataLoadFailed();t.ty.publish(f.ERROR,n)}}),this),i.on(M.MetadataEvent.API_INFO_AVAILABLE,(function(i){t.ty.publish(f.API_CALLED,i)}),this),this.D2(this.q1)},i.prototype.D2=function(t){var i=this;[f.PROFILE_START,f.PROFILE_END].forEach((function(n){t.addEventListener(n,(function(t){i.ty.publish(n,t)}),i)}))},i.prototype.z1=function(){var t=this,i=this.F1;i.on(j.PreloadEvent.START_PRELOAD,(function(i){t.q1.loadSource(i)}),this),i.on(j.PreloadEvent.PLAYER_IDLE,(function(){}),this)},i.prototype.C2=function(t){this.U2(t),this.P2(t)?this.j2(t):this.iN.handleSourceAvailable(t)},i.prototype.P2=function(t){var i=this.getCurrentMediaItem();return t.isRecovering()&&i&&i.equals(t)},i.prototype.U2=function(t){!(!(t&&t.customConfig&&t.customConfig.meta)||t.customConfig.meta.castable)&&r.userAgent.android&&"dash"===t.streams[0].getType()&&this.ty.publish(f.INFO,_.default.createErr(c.ErrorGroup.Configuration,this._f,c.E_INFO,c.INFO_CODES.E_DRM_UNSUPPORTED_OS,null,"not castable stream on android"))},Object.defineProperty(i.prototype,"_f",{get:function(){return this.iy.playbackState},enumerable:!0,configurable:!0}),i}();i.default=z}).call(this,n("URgk").setImmediate)},xQ2D:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("JcWZ"),o=n("ToqN"),u=n("8PPl"),a=n("WSjl"),c=n("+uLo"),f=5e3,l=2e4,v="BACKGROUND",d="SUSPEND";!function(t){t.SUSPEND_STREAMING="suspendStreaming",t.RESUME_STREAMING="resumeStreaming",t.CTRL_PLAYPAUSE="ctrlPlayPause"}(r=i.PauseHandlerEvents||(i.PauseHandlerEvents={}));var p=function(t){function i(i,n){var s=t.call(this,"pauseHandler")||this;if(s.Ry=i,s.iy=n,!s.Ry||!s.iy)throw new Error("[PauseHandler] Invalid arguments");var e=s.V2=Object.assign({},s.iy.backgroundPause);return s.V2.timeToPause=e.timeToPause?1e3*e.timeToPause:f,s.B2=e.onMute||e.onUnmute,s.V2.suspendStreamingTime=e.suspendStreamingTime?1e3*e.suspendStreamingTime:l,s.V2.backgroundSuspendStreaming=!0,s.F2={BACKGROUND:new c.default(e.timeToPause,1),SUSPEND:new c.default(e.suspendStreamingTime,1)},s.z2={BACKGROUND:s.F2.BACKGROUND.addEventListener(c.default.TIMER_EVENT,s.PU,s),SUSPEND:s.F2.SUSPEND.addEventListener(c.default.TIMER_EVENT,s.H2,s)},s.Y2=!1,s.G2=!1,s}return e(i,t),i.prototype.destroy=function(){this.F2.BACKGROUND.removeEventListener(c.default.TIMER_EVENT,this.z2.BACKGROUND),this.F2.BACKGROUND.destroy(),this.F2.SUSPEND.removeEventListener(c.default.TIMER_EVENT,this.z2.SUSPEND),this.F2.SUSPEND.destroy()},i.prototype.onPlaybackPlaying=function(){this.Y2&&o.userAgent.chrome&&this.Ry.seek(this.Ry.getCurrentTime()),this.Y2=!1},i.prototype.onVisibilityChange=function(t){t?(this.W2(v),this.W2(d),this.q2()):this.X2()&&this.Q2()},i.prototype.suspendStreaming=function(){this.wP()&&(this.G2=!0,this.publish(r.SUSPEND_STREAMING))},i.prototype.resumeStreaming=function(){this.W2(d),this.wP()&&this.G2&&(this.publish(r.RESUME_STREAMING),this.G2=!1)},i.prototype.scheduleSuspend=function(){this.V2.backgroundSuspendStreaming&&this.F2.SUSPEND.start()},i.prototype.H2=function(){this.W2(d),this.suspendStreaming()},i.prototype.X2=function(){if(!this.B2||!this.Z2())return!1;var t=this.iy.mute;return!(t&&!this.V2.onMute||!t&&!this.V2.onUnmute)},i.prototype.Q2=function(){this.F2.BACKGROUND.start()},i.prototype.PU=function(){this.W2(v),this.J2()},i.prototype.J2=function(){this.Y2=!0,this.Ry.pause({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"pause")},i.prototype.q2=function(){this.B2&&!this.Z2()&&this.Y2&&(this.resumeStreaming(),this.Ry.startPlayback({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"play"))},i.prototype.Z2=function(){return this.iy.getState()===a.default.VIDEO&&!this.iy.isPaused()&&!this.iy.playbackState.loading},i.prototype.W2=function(t){this.F2[t].reset()},i.prototype.wP=function(){var t=this.iy.playlist.getCurrentItem();return!!t&&t.isLive()},i}(h.default);i.default=p},xbIp:function(t,i,n){"use strict";t.exports.SubtitleStreamer=u,t.exports.SubtitleLiveStreamer=a;var s=n("/iNa"),e=n("6I/I").Streamer,r=n("21xW"),h=n("2fkz").CmdNames,o=n("y5bh").HLSEvent;function u(t,i){this.YA(t,i)}function a(t,i){this.YA(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.YA=u.prototype.YA=function(t,i){this.constructor.super_.call(this,t,i),this.GA=this.constructor.super_.prototype,this.K2={},this.YE=h.CMD_SUBTITLE_SEGMENT_LOAD,this.primary=!1,this.oE=t.isReady()?this.STATES.INITIALIZED:this.STATES.NONE},a.prototype.destroy=u.prototype.destroy=function(){this.K2={},this.GA.destroy.call(this)},a.prototype.onPlay=u.prototype.onPlay=function(t){this.GA.onPlay.call(this,t)},a.prototype.onTimeUpdate=u.prototype.onTimeUpdate=function(t){this.HE=t},a.prototype.uE=u.prototype.uE=function(){return this.t3(this.HE)>=this.QE},a.prototype.eO=u.prototype.eO=function(){return this.t3()>=this.iy.config.maxTotalBuffer},a.prototype.fO=u.prototype.fO=function(t){var i=this.sE;return i?{subtitleStream:i,segment:i.getSegmentfromSeqNum(t),live:this.iy.live}:{}},a.prototype.onSubtitleSegmentLoadComplete=u.prototype.onSubtitleSegmentLoadComplete=function(t,i){if(i){var n=i.data;this.__controller.sendEvent(o.VTT_SEGMENT_LOADED,n),this.K2[n.sequenceNum]={start:n.startTime,end:n.startTime+n.duration}}this.GA.onSegmentLoadComplete.call(this,t)},a.prototype.onSubtitleSegmentLoadError=u.prototype.onSubtitleSegmentLoadError=function(t){this.oE=this.STATES.NONE,this.BE.removeCommand(t)},a.prototype.lE=u.prototype.lE=function(t){var i=this.sE,n=t;if(!isNaN(n))for(;this.K2[n];)n++;return!this.ZE&&n>i.endSeqNum?(this.iE(!0),i.endSeqNum):n},a.prototype.t3=u.prototype.t3=function(t){var i=this.sE,n=i.getSeqNumBeforePosition(t);if(isNaN(n))return 0;for(var s=0;n<=i.endSeqNum;n++){var e=this.K2[n];if(!e)break;s=e.end-t}return s},a.prototype.i3=u.prototype.i3=function(){var t=this,i=0;return Object.keys(t.K2).forEach((function(n){var s=t.K2[n];s&&(i+=s.end-s.start)})),i},a.prototype.aO=u.prototype.aO=function(){this.sE},a.prototype.hO=u.prototype.hO=function(){},a.prototype.vO=u.prototype.vO=function(){},a.prototype.onSynchMetadataReady=u.prototype.onSynchMetadataReady=function(){},a.prototype.setABRMode=u.prototype.setABRMode=function(){},a.prototype.canSwitch=u.prototype.canSwitch=function(){return!0}},xkpU:function(t,i,n){"use strict";var s=this;Object.defineProperty(i,"__esModule",{value:!0}),i.objectAssignPolyfill=function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,i){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),s=1;s<arguments.length;s++){var e=arguments[s];if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},writable:!0,configurable:!0})},i.arrayIncludesPolyfill=function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,i){if(null==s)throw new TypeError('"this" is null or not defined');var n=Object(s),e=n.length>>>0;if(0===e)return!1;var r,h,o=0|i,u=Math.max(o>=0?o:e-Math.abs(o),0);for(;u<e;){if((r=n[u])===(h=t)||"number"==typeof r&&"number"==typeof h&&isNaN(r)&&isNaN(h))return!0;u++}return!1}})}},xqNZ:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.EMBED="Embed",t.NOW_PLAYING="Now Playing",t.WATCHED="watched",t.LIVE="Live",t.PLAY_VIDEO="Play Video",t.BACK="Back",t.SETTINGS="Settings",t.VIDEO_QUALITY="Video Quality",t.QUALITY="QUALITY",t.AUTO="Auto",t.LOW="Good",t.MEDIUM="Better",t.HIGH="Best",t.EMBED_NOT_ALLOWED="This video cannot be embedded due to provider license restrictions.",t.TOP="Top",t.BOTTOM="Bottom",t.ON="On",t.OFF="Off",t.CC_PREVIEW="Bottom",t.CC_PREVIEW_MESSAGE="Captions will look like this",t.BACKGROUND="background",t.EFFECTS="effects",t.RAISED="raised",t.CC="Closed Captions",t.LANGUAGE="Language",t.POSITION="Position",t.ERR_ANDROID_LIVE_CHROME_REQUIRED='This video requires Android 4.0 or above and the latest version of the Google Chrome browser.<br>You can get the latest version of Chrome from the <a href="https://play.google.com/store/apps/details?id=com.android.chrome">Google Play store</a>.',t.ERR_LIVE_PLAYBACK_COMPLETE="This live event has ended.",t.ERR_NETWORK_ISSUE="Videos cannot play due to a network issue. Please check your Internet connection and try again.",t.ERR_DEVICE="Due to license restrictions; this video cannot be viewed on this device.",t.ERR_EMBED="Due to license restrictions; this video can only be viewed on Yahoo.",t.ERR_GEO="Unfortunately, this video is not available in your region.",t.ERR_BLACKOUT="Due to local blackout restrictions, this live event cannot be viewed in your area.",t.ERR_TECH_DIFFICULTIES="If this error is occurring repeatedly, we may be experiencing technical difficulties. We apologize for the inconvenience. <a class='vp-browser-refresh' href='javascript:window.location.reload();'>Refresh Browser</a>",t.ERR_UNAVAILABLE="Unfortunately, this video is no longer available.",t.ERR_MISSING_OR_DAMAGED="Unfortunately, this video is missing or damaged and cannot be played.",t.ERR_BROWSER_UNSUPPORTED="This browser is unsupported. To view this video, try another browser.",t.ERR_BROWSER_UNSUPPORTED_SKIP_IN_10="This browser is unsupported. To view this video, try another browser. In few seconds, we will go to the next video.",t.ERR_GENERAL_ERROR="Unfortunately, an error occurred. To try again, <a href='javascript:window.location.reload();'>refresh the browser</a>.",t.ERR_LIVE_IOS_PLAYBACK="Unfortunately, an error occurred. To try again, either <a href='javascript:window.location.reload();'>refresh</a> the browser or download the <a class='vp-browser-refresh' href='https://mobile.yahoo.com/sports'>Yahoo Sports app</a>",t.ERR_DRM_ANDROID_UNSUPPORTED_BROWSER='This video requires DRM, which is not supported by this web browser. To view this video, use the <a href="https://play.google.com/store/apps/details?id=com.android.chrome">Google Chrome web browser</a> instead.',t.ERR_DRM_IOS_UNSUPPORTED_BROWSER="This video requires DRM, which is not supported by this web browser. To view this video, use the Apple Safari web browser instead.",t.ERR_DRM_IOS_UNSUPPORTED_OS_VER="This video requires DRM, which is not supported by the older version of iOS on your device. To view this video, update your device to the latest version of iOS.",t.ERR_DRM_UNSUPPORTED_NETWORK_WIFI="Due to license restrictions, this video cannot be played over WiFi on your device. To view this video, turn off WiFi and use your cellular data connection instead.",t.ERR_TITLE_CANNOT_PLAY_VIDEO="Cannot Play Video",t.ERR_TITLE_CANNOT_PLAY_360_VIDEO="Cannot Play 360 Video",t.ERR_TITLE_SOMETHING_WENT_WRONG="Something Went Wrong",t.ERR_TITLE_VIDEO_NOT_AVAILABLE="Video Not Available",t.CHROMECAST="Chromecast",t.DISCONNECT="Disconnect",t.CAST_PLAYING_RECEIVER="Playing on {device-name}",t.AIRPLAY="Airplay",t.PAUSE_VIDEO="Pause Video",t.GO_TO_FULLSCREEN="Go to full screen",t.GO_TO_NORMAL_SCREEN="Go to normal screen",t.UNMUTE="Unmute",t.MUTE="Mute",t.SEEK_SLIDER="Seek slider",t.UP_NEXT="Up next",t.FULLSCREEN_SPACE="Full Screen",t.PRESETS="Presets",t.CC_SETTINGS="Closed Caption Settings",t.ADV_SHORT="Ad: {remaining}s",t.ADV_LONG="Ad: video resumes in {remaining}s",t.ADV_MULT_SHORT="Ad {position}/{total}: {remaining}s",t.ADV_MULT_LONG="Ad {position}/{total}: video resumes in {remaining}s",t.TEXT="Text",t.STYLE_OPTIONS="Style Options",t.PLAIN="Plain",t.SHADOW="Shadow",t.LOWERED="Lowered",t.OUTLINE="Outline",t.CAPTIONS_ON="Captions On",t.CAPTIONS_OFF="Captions Off",t.CAPTIONS_AVAILABLE="Captions Available",t.MULTI_AUDIO="Select Audio Language",t.AUDIO_TRACK="Audio Track",t.CAPTIONS_NOT_AVAILABLE="Captions Not Available",t.EXIT_FULLSCREEN="Exit Full Screen",t.MORE_MARKERS="+{count_markers} more"}(s||(s={})),i.default=s},y5bh:function(t,i,n){"use strict";i.HLSEvent={STATE_CHANGED:"stateChanged",PRELOAD_PROGRESS:"preloadProgress",MEDIA_LOADED:"mediaLoaded",MEDIA_METADATA_LOADED:"mediaMetadataLoaded",STREAM_UPDATED:"streamUpdated",INFO_UPDATE:"infoUpdate",SEGMENT_FIRST_BYTE_LOADED:"segmentFirstByteLoaded",SEGMENT_RENDERED:"segmentRendered",VTT_SEGMENT_LOADED:"vttSegmentLoaded",PCR_AVAILABLE:"pcrAvailable",STREAM_SWITCHED:"streamSwitched",LIVE_LOADING_LATE:"liveLoadingLate",LIVE_SYNCH:"liveSynch",WAITING:"hlsWaiting",CUEPOINT_DETECTED:"cuepointDetected",CUEPOINT_STARTED:"cuepointStarted",ABR_DATA_UPDATED:"abrDataUpdated",ERROR:"error",SEG_INFO_METRICS_AVAILABLE:"segInfoMetricsAvailable",CONTENT_LOAD_FINISHED:"contentLoadFinished",PRELOAD_START:"preloadStart",PRELOAD_COMPLETE:"preloadComplete",CC_VTT_AVAILABLE:"ccVttAvailable",BUFFER_GROWTH_DETECTED:"bufferGrowthDetected",MULTI_LANGUAGES_AVAILABLE:"multiLanguagesAvailable",TIMED_METADATA_READY:"timedMetadataReady",PLAY_BLOCKED:"playbackBlocked",BUFFER_GAP_DETECTED:"bufferGapDetected"},i.ExternalEvents=[i.HLSEvent.MEDIA_LOADED,i.HLSEvent.MEDIA_METADATA_LOADED,i.HLSEvent.INFO_UPDATE,i.HLSEvent.VTT_SEGMENT_LOADED,i.HLSEvent.SEGMENT_FIRST_BYTE_LOADED,i.HLSEvent.SEGMENT_RENDERED,i.HLSEvent.STREAM_SWITCHED,i.HLSEvent.LIVE_LOADING_LATE,i.HLSEvent.STREAM_UPDATED,i.HLSEvent.WAITING,i.HLSEvent.CUEPOINT_DETECTED,i.HLSEvent.CUEPOINT_STARTED,i.HLSEvent.ABR_DATA_UPDATED,i.HLSEvent.PRELOAD_PROGRESS,i.HLSEvent.SEG_INFO_METRICS_AVAILABLE,i.HLSEvent.CONTENT_LOAD_FINISHED,i.HLSEvent.PRELOAD_START,i.HLSEvent.PRELOAD_COMPLETE,i.HLSEvent.CC_VTT_AVAILABLE,i.HLSEvent.BUFFER_GROWTH_DETECTED,i.HLSEvent.MULTI_LANGUAGES_AVAILABLE,i.HLSEvent.TIMED_METADATA_READY,i.HLSEvent.PLAY_BLOCKED,i.HLSEvent.BUFFER_GAP_DETECTED]},yCb9:function(t,i,n){"use strict";t.exports=f;var s=n("QOmE"),e=n("STAJ"),r=n("OaPV"),h=n("D9J0"),o=n("yvII"),u=n("6ir0"),a=n("0r65"),c=n("/iNa");function f(){this.iy=this.__controller.model,this.n3={},this.bandwidthEstimator=new r(this.iy.bwHistory),this.segmentMetrics=this.__controller.create(h),this.metadataParser=this.__controller.create(s),this.mp4BoxParser=new e}f.prototype.destroy=function(){var t=this;t.bandwidthEstimator.destroy(),t.segmentMetrics.destroy(),t.metadataParser.destroy(),t.n3&&Object.keys(t.n3).forEach((function(i){t.n3[i].terminate()}))},f.prototype.getNewLoader=function(t,i){var n=this.iy,s=n.config,e=n.userAgent,r=n.inWorkerScope;(t=t||{}).maxRetries=t.maxRetries||s.maxRetries,t.requestTimeout=t.requestTimeout||s.requestTimeout,t.chunkedRequestTimeout=t.chunkedRequestTimeout||s.chunkedRequestTimeout,t.useMSStream=!!e&&(e.ie||e.edge),t.stopStreamLoadOnError=t.stopStreamLoadOnError||s.stopStreamLoadOnError,t.withCredentials=c.isWithCreds(i||t.url)||!1;var h=null;try{h=o.getLoader(new o.LoadRequest(t),t.window,r)}catch(t){h=null}return h},f.prototype.getWorker=function(t){if(!t)return null;if(this.iy.config.useWorker&&"undefined"!=typeof Worker)try{return this.n3[t]||(this.n3[t]=a(u)),this.n3[t]}catch(t){}return null}},yFL1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.E_INFO="100",i.E_WARNING="200",i.E_YVAP="300",i.E_PLAYER="400",i.E_PLAYER_FAILOVER="407",i.E_PLAYER_DRM="410",i.E_PLAYER_JS_HLS="430",i.E_SAPI_ABSTRACT="500",i.E_SAPI_STREAM="501",i.E_SAPI_PLAYLIST="502",i.E_SAPI_RELATED="503",i.E_SAPI_POPULAR="504",i.E_SAPI_CLOSEDCAPTION="505",i.E_CAST="800",i.INFO_CODES={E_SAPI_LICENSE_ERROR:"200",E_SAPI_UNAVAILABLE_TEMP:"201",E_SAPI_GEO:"202",E_SAPI_DEVICE:"203",E_SAPI_EMBED:"204",E_SAPI_BLACKOUT:"208",E_SAPI_AUTH_FAILED:"210",E_SAPI_INVALID_AUTH_KEY_VERSION:"211",E_SAPI_GEO_POSITION_REQUIRED:"212",E_SAPI_RESTRICTED_NETWORK_TYPE:"214",E_SAPI_UNSUPPORTED_LIVE_ON_HTML:"305",E_DRM_UNSUPPORTED_OS:"401",E_DRM_UNSUPPORTED_BROWSER:"402",E_DRM_FORBIDDEN_LICENSE:"403",E_PLAYER_ANDROID_CHROME_REQUIRED:"500",E_FLASH_RENDERER_NOT_SUPPORTED:"605",E_PLAYER_NO_COMPATIBLE_FORMAT:"700",E_PLAYER_360_IS_NOT_SUPPORTED:"701"},i.WARNING_CODES={E_PLAYBACK_TIMEOUT:"1",E_RECOVER_LONG_PAUSE:"50",E_LIVE_PLAYBACK_COMPLETE:"800",E_SSL_MISMATCH:"803",E_CSS_DOWNLOAD_FAILED:"804",E_PLAYBACK_FROZEN_DETECTED:"900",E_ER_TRY:"901",E_RECOVERY_STATUS:"902",E_BUFFER_GAP:"903"},i.PLAYER_CODES={E_PLAYER_NOT_ENABLED:"200",E_FLASH_LIVE_NOT_SUPPORTED:"252",E_NATIVE_ERROR:"303",E_NATIVE_ABORTED:"304",E_NATIVE_NETWORK_FAILURE:"305",E_NATIVE_DECODE_ERROR:"306",E_NATIVE_SRC_NOT_SUPPORTED:"307",E_NATIVE_ENCRYPT_MEDIA:"308",E_NATIVE_PREMATURE_PLAY:"309",E_NATIVE_UNAUTHORIZED_URL:"310",E_NATIVE_URL_NOT_FOUND:"311",E_CMS_JSONP_REQUEST_FAILURE:"101",E_CMS_JSONP_REQUEST_SILENT_FAIL:"102",E_CMS_RESPONSE:"405",E_CMS_JSONP_REQ_TIMEOUT:"408",E_CMS_JSONP_REQ_TIMEOUT_SILENT_FAIL:"409",E_CMS_XHR_REQ_CONNECTION_FAILED:"700",E_CMS_XHR_REQ_CONNECTION_FAILED_TIMEOUT:"701",E_CMS_XHR_RESPONSE_ABSENT:"710",E_CMS_XHR_RESPONSE_ABSENT_TIMEOUT:"711",E_CMS_XHR_REQ_LOAD_FAILED:"720",E_CMS_XHR_REQ_LOAD_TIMEOUT:"721",E_CMS_XHR_REQ_LOAD_408:"722",E_CMS_XHR_REQ_INCOMPLETE:"730",E_CMS_XHR_REQ_INCOMPLETE_TIMEOUT:"731",E_CMS_XHR_REQ_408:"732",E_CMS_XHR_REQ_ERROR:"740",E_CMS_XHR_REQ_TIMEOUT:"750",E_CMS_XHR_REQ_CORS_ERROR:"760",E_INTERNAL_VIOLATION:"600",E_INVALID_CONFIG:"601",E_RECOVERY_FAILURE:"602",E_NO_PLUGIN_FOUND:"603",E_NO_RENDERER_FOUND:"604",E_FLASH_RENDERER_NOT_SUPPORTED:"605"},i.PLAYER_DRM_CODES={E_UNSUPPORTED_OS:"1",E_UNSUPPORTED_BROWSER:"2",E_EME_MISSING:"3",E_INIT:"4",E_CONFIG:"5",E_CERTPATH_MISSING:"6",E_CERT_LOAD_FAILED:"7",E_CERT_NO_DATA:"8",E_NO_KEY_SYSTEM:"9",E_KEY_CREATION_FAILED:"10",E_KEY_SESSION_FAILED:"11",E_KEY_ERROR:"12",E_LICENSE_REQUEST:"13",E_FORBIDDEN_LICENSE:"14"},i.PLAYER_JS_HLS_CODES={MEDIA_ERR_ABORTED:"1",MEDIA_ERR_NETWORK:"2",MEDIA_ERR_DECODE:"3",MEDIA_ERR_SRC_NOT_SUPPORTED:"4",ERR_XHR_LOAD:"11",ERR_PLAYLIST_LOAD:"12",ERR_SUBS_LOAD:"13",ERR_SEGMENT_LOAD:"14",ERR_PARTIAL_LOAD:"15",ERR_MASTER_PLAYLIST_PARSE:"16",ERR_MEDIA_PLAYLIST_PARSE:"17",ERR_SEGMENT_PARSE:"18",ERR_API_NO_NODE:"19",ERR_MIMETYPE_NOT_SUPPORTED:"20"},i.SAPI_CODES={E_INCOMPATIBLE_FORMAT:"100",E_NO_STREAMS:"103",E_UNAUTHORIZED_USER:"205",E_RESTRICTED_TO_INTERNAL:"206",E_DRM_RESTRICTED:"207",E_UNSUPPORTED_FORMAT:"300",E_EXTERNAL_NO_STREAMS:"301",E_NO_PLAYABLE_STREAMS:"302",E_NOT_FOUND:"400",E_EMPTY_LIST:"403"},i.CAST_CODES={E_CONNECTION_REQUEST_FAILED:"1"}},yFah:function(t,i){},yLpj:function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},ybd4:function(t,i){},yegX:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("v5jO"),h=n("+Ojf"),o=n("YMIh"),u=n("Ru0y"),a=function(t){function i(i,n,s,e){var r=t.call(this)||this;return r.DR=[],r.s3=i,r.e3=n,r.id=n.adBreakItemId,r.adBreakItemId=n.adBreakItemId,r.adPluginMimeType=n.adPluginMimeType,r.customConfig=n.customInfo||null,r.duration=n.duration||NaN,r.instream=n.instream,r.interactionConfig=n.interactionConfig,r.type=n.type,r.videoSession=r.r3(),n.source&&n.source.streams&&r.lW(n.source.streams,s,e),r}return e(i,t),i.prototype.hasStreams=function(){return this.streams.length>1},i.prototype.equals=function(t){return!!t&&(t.id===this.id&&this.adBreakItemId===t.adBreakItemId)},i.prototype.getPlayableItemType=function(){return o.PlayableItemType.AD_BREAK_ITEM},i.prototype.setDuration=function(t){this.duration=t},i.prototype.getDuration=function(){return this.duration},i.prototype.getStreamType=function(){return this.s3&&this.s3.type||""},Object.defineProperty(i.prototype,"adBreak",{get:function(){return this.s3},enumerable:!0,configurable:!0}),i.prototype.skip=function(){},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return h.default.deepCopy(this.e3)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.DR},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streamProfiles",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"altStreams",{get:function(){return[]},set:function(t){},enumerable:!0,configurable:!0}),i.prototype.getCurrLanguage=function(){return null},i.prototype.r3=function(){for(var t=[],i="abcdefghijklmnopqrstuvwxyz123456789",n=0;n<8;n++)t.push(i.charAt(Math.floor(Math.random()*i.length)));return t.join("")},i.prototype.lW=function(t,i,n){if(t&&t.length&&0===this.DR.length){for(var s=t.map((function(t){return new u.default(t)})),e=0,h=i;e<h.length;e++){var o=h[e],a=n[o],c=r.default.findAcceptedStreams(s,a);if(0!==c.length){this.rendererType=o,this.DR=c;break}}this.DR.length>0&&this.DR.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i}(o.PlayableItem);i.default=a},yv9F:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r=n("O/dN"),h=n("UDn2"),o=n("ma23"),u=n("+Ojf"),a=n("LrgL"),c=n("vdbb"),f=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=c.CmdName.CMD_METADATA_LOAD,s.cT=!1,s.SS=!1,s}return e(i,t),i.prototype.destroy=function(){this.SS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.cT&&!this.SS){var t=this.data,i=t.autoplay,n=t.failoverCount,s=t.privacyConsent,e=t.mimetype,a=t.mediaItemDataArr,f=t.rendererCapabilities,l=t.rendererTypes,v=t.sessionId,d=t.thumbnailDimensions,p=t.tryCount,m=this.pO.getPlugin(o.PluginType.METADATA,e),b={autoplay:i,failoverCount:n,privacyConsent:s,rendererCapabilities:f,rendererTypes:l,sessionId:v,thumbnailDimensions:d,tryCount:p};if(m)this.fT=m,this.cT=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.ItemState.FETCHING),m.resolve(a,b,this);else{var y="No metadata plugin found for mimetype = "+e,g=u.default.createErr(r.ErrorGroup.Service,null,r.E_PLAYER,r.PLAYER_CODES.E_NO_PLUGIN_FOUND,y);this.publish(c.CmdEvent.CMD_ERROR,this,g)}}},i.prototype.cancel=function(){this.fT&&this.cT&&(this.fT.cancel(),this.cT=!1)},i.prototype.onProgress=function(t){this.cT&&!this.SS&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.cT&&!this.SS&&(this.cT=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.cT&&!this.SS&&(this.cT=!1,t.code&&t.code.length)){var i=u.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code||r.PLAYER_CODES.E_CMS_XHR_RESPONSE_ABSENT,t.message);this.publish(c.CmdEvent.CMD_ERROR,this,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(c.CmdEvent.CMD_INFO,this,t)},i}(a.default);i.default=f},yvII:function(t,i,n){"use strict";i.Loader=l,i.LoadRequest=function(t){if(!t||s.isNullOrUndefined(t.maxRetries)||s.isNullOrUndefined(t.requestTimeout)||s.isNullOrUndefined(t.chunkedRequestTimeout))throw new Error("[LoadRequest] Invalid Arguments: Request details are not complete");this.method=t.method||"GET",this.chunked=t.isChunkedLoad||!1,this.useMSStream=t.useMSStream||!1,this.maxRetries=t.maxRetries,this.retryExclusion=t.retryExclusion,this.requestTimeout=1e3*t.requestTimeout,this.chunkedRequestTimeout=1e3*t.chunkedRequestTimeout,this.responseType=t.responseType||"text",this.headerFields=t.headerFields,this.minChunkSize=s.isNullOrUndefined(t.minChunkSize)?1e5:t.minChunkSize,this.stopStreamLoadOnError=t.stopStreamLoadOnError,this.url=t.url,this.withCredentials=t.withCredentials||!1,this.withResponseHeaders=t.withResponseHeaders||!1},i.Events={COMPLETE:"complete",ERROR:"error",PROGRESS:"progress",BYTES_LOADED:"bytesLoaded"};var s=n("9nRl"),e=n("/iNa"),r=n("RwmF"),h=n("iSaY"),o=n("HNE+"),u=0,a=3,c=4,f=1;function l(t,i,n){if(!t)throw new Error("[Loader] Invalid Arguments: Loader created without a load request");r.call(this,"Loader"),this.request=t,this.$Z=n,this.window=this.$Z?null:i||window,this.h3=null,this.o3={},this.u3=[1e3,1e3,2e3,2e3,3e3,3e3,5e3],this.a3=5e3,this.f3=new o(1e3,1),this.f3.addEventListener(this.load,this),this.MIN_TIMEOUT=2e3,this.MAX_TIMEOUT=15e3,this.l3=0,this.$P=t.maxRetries,this.v3=new o(this.d3(),1),this.v3.addEventListener(this.eF,this)}function v(t,i,n){l.call(this,t,i,n)}function d(t,i,n){v.call(this,t,i,n)}i.getLoader=function(t,i,n){if(!t)throw new Error("[LoaderFactory] Invalid Arguments: Loader created without a load request");return t.chunked?t.useMSStream?new d(t,i,n):new v(t,i,n):new l(t,i,n)},e.inherits(l,r),e.inherits(v,l),e.inherits(d,v),l.prototype.load=function(t,n){var s=this;if(!s.request)throw new Error("[Loader] InvalidStateError: load called without a request");if(s.url=t||s.request.url,!s.url)return s.publish(i.Events.ERROR,new h.Error(h.ERR_XHR_LOAD));s.m3(),s.h3=s.$Z?new XMLHttpRequest:new s.window.XMLHttpRequest,s.h3.b3=0,s.h3.y3=!1,s.g3(),s.h3.withCredentials=s.request.withCredentials,s.h3.open(s.request.method,s.url,!0),s.w3=s.request.headerFields,s.w3&&Object.keys(s.w3).forEach((function(t){s.h3.setRequestHeader(t,s.w3[t])})),s.S3(),s.v3.reset(),s.v3.start(),s.h3.send(n)},l.prototype.S3=function(){this.h3.responseType=this.request.responseType},l.prototype.g3=function(){var t=this;t.h3.onerror=t.SG.bind(t),t.h3.onreadystatechange=function(){if(t.h3&&t.h3.readyState===c&&!t.h3.y3){if(!t.E3(t.h3.status))return t.v3.stop(),t.SG();t.h3.y3=!0;var n={data:t.h3.response};if(t.request.withResponseHeaders){var s=t.h3.getAllResponseHeaders();if(s){var e=s.trim().split(/[\r\n]+/),r=[];e.forEach((function(t){var i=t.split(": "),n=i.shift(),s=i.join(": ");r.push({name:n,value:s})})),n.headers=r}}t.publish(i.Events.COMPLETE,n),t.v3.stop()}}},l.prototype.O3=function(t){var i=new RegExp(t+": (.*)","ig"),n=this.h3.getAllResponseHeaders(),s=i.exec(n);return s&&s.length>1?s[1]:""},l.prototype.E3=function(t){return t>=200&&t<300},l.prototype.A3=function(){Date.now(),this._3;this.v3.stop()},l.prototype.eF=function(){this.A3(),this.SG()},l.prototype.T3=function(){this.reset(),this.wI(h.ERR_PARTIAL_LOAD)},l.prototype.M3=function(){var t=this.u3.length,i=this.l3;return i<t?this.u3[i]:this.u3[t-1]+this.a3*(i-t+1)},l.prototype.SG=function(){this.m3(),this.l3<this.$P&&(!this.request.retryExclusion||-1===this.request.retryExclusion.indexOf(this.h3.status))?(this.l3++,this.f3.delay=this.M3(),this.f3.reset(),this.f3.start(),this.request.headerFields&&this.h3.readyState===c&&0===this.h3.status&&(this.request.headerFields=null)):this.request.stopStreamLoadOnError?this.wI(h.ERR_XHR_LOAD_LIVE_PAUSE):403===this.h3.status?this.wI(h.ERR_XHR_LOAD_FORBIDDEN):this.wI(h.ERR_XHR_LOAD)},l.prototype.wI=function(t){this.publish(i.Events.ERROR,new h.Error(t))},l.prototype.m3=function(){this.h3&&this.h3.readyState!==c&&this.h3.readyState!==u&&(this.h3.y3=!0,this.h3.abort()),this.f3.stop(),this.v3.stop()},l.prototype.d3=function(){var t=this.request,i=t.chunked?t.chunkedRequestTimeout:t.requestTimeout;return isNaN(i)||i<this.MIN_TIMEOUT||i>this.MAX_TIMEOUT?this.MAX_TIMEOUT:i},l.prototype.reset=function(){this.m3(),this.h3=null,this.request=null},l.prototype.destroy=function(){this.reset(),this.f3.destroy(),this.v3.destroy(),r.prototype.destroy.call(this)},v.prototype.destroy=function(){l.prototype.destroy.call(this)},v.prototype.g3=function(){var t=this,n=function(){if(t.h3&&!t.h3.y3&&(t.h3.readyState===c||t.h3.readyState===a)){if(!t.E3(t.h3.status))return t.v3.stop(),0===t.h3.b3?t.SG():void t.T3();var n=t.h3.responseText,s=n.length-t.h3.b3;if(s>0&&(t.v3.stop(),t.o3.atlasMarker=t.O3("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.length,t.o3)),s>t.request.minChunkSize||t.h3.readyState===c){for(var e=new Uint8Array(s),r=0;r<s;r++)e[r]=255&n.charCodeAt(r+t.h3.b3);t.h3.b3=n.length,t.publish(i.Events.PROGRESS,e,n.length)}t.v3.start(),t.h3.readyState===c&&(t.h3.y3=!0,t.publish(i.Events.COMPLETE),t.v3.stop())}};t.h3.onreadystatechange=n,t.h3.onprogress=n},v.prototype.eF=function(){this.A3(),this.h3.b3>0&&this.h3.readyState===a?this.T3():this.SG()},v.prototype.S3=function(){this.h3.overrideMimeType("text/plain; charset=x-user-defined")},d.prototype.destroy=function(){v.prototype.destroy.call(this)},d.prototype.g3=function(){var t=this;t.h3.onreadystatechange=function(){if(t.h3.readyState===a){if(!t.E3(t.h3.status))return t.v3.stop(),t.SG();var n=t.h3.response;if(t.I3||(t.I3=t.$Z?new MSStreamReader:new t.window.MSStreamReader),t.I3.readyState===f)return;t.I3.readAsArrayBuffer(n),t.I3.onprogress=function(){t.v3.stop();var n=t.I3.result;n.byteLength>0&&(t.o3.atlasMarker=t.O3("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.byteLength,t.o3));var s=new Uint8Array(n.slice(t.h3.b3,n.byteLength));t.h3.b3=n.byteLength,t.publish(i.Events.PROGRESS,s,n.byteLength),t.v3.start()},t.I3.onload=function(){t.v3.stop(),t.publish(i.Events.COMPLETE)},t.I3.onerror=function(){t.v3.stop()}}}},d.prototype.S3=function(){this.h3.responseType="ms-stream"},d.prototype.reset=function(){l.prototype.reset.call(this),this.I3&&this.I3.abort()}},yzVy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.AD="ad",t.BLACKOUT="blackout",t.BUMPER="bumper"}(i.AdBreakItemType||(i.AdBreakItemType={}))},z88l:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("t8Yn"),r=n("rBpt"),h=n("he5r"),o=n("c+yx"),u=n("9s7j");i.STRUCTURED_PLAYLIST_MIMETYPE="playlist/structured";var a=function(){function t(t){this.name="StructuredPlaylistPlugin",this.version="8.1.398",this.mimetype=i.STRUCTURED_PLAYLIST_MIMETYPE,this.type=e.Plugin.PluginType.PLAYLIST,this.iy=t,this.j3=null}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t,i,s,e){var r=this.N3(t,i),h=document.createElement("div");return this.j3=s,h.innerHTML=u.render({items:r,strings:e}),n("RyId"),Array.prototype.slice.call(h.children)},t.prototype.onMediaItemEnded=function(t){var i=t.id,n=this.iy.isMediaItemWatched(i),s={id:t.id,position:t.duration,duration:t.duration};this.R3(t)||(this.iy.watchHistory&&this.iy.watchHistory.saveProgress(s,!0),this.L3(i,n))},t.prototype.onMediaPlaybackProgress=function(t,i,n){var s=this.iy.isMediaItemWatched(t),e={id:t,position:i,duration:n};this.iy.watchHistory&&this.iy.watchHistory.saveProgress(e,!0),i%10==0&&this.L3(t,s)},t.prototype.N3=function(t,i){var n=this,s=[];return i.forEach((function(i){if(!n.R3(i)&&i&&i.metadata&&i.metadata.thumbnail){var e=n.D3(i),r=!1;e&&s.push({sectionLabel:e,sectionLabelIcon:n.C3(i),firstItemId:i.id}),n.iy.watchHistory&&n.iy.watchHistory.isWatched(i.id,i.metadata.duration||0)&&(n.iy.setMediaItemWatched(i.id,!0),r=!0),s.push({id:i.id,title:n.P3(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.x3(i.metadata.duration),provider:i.brandingData?n.U3(t,i.brandingData):"",labelIcon:n.V3(i),isItemWatched:r})}})),i.length>0&&this.B3(i)&&(this.iy.watchHistoryConfig.skipWatchedVideos=!1),s},t.prototype.x3=function(t){return t&&r.TypeChecker.isNumber(t)?o.default.formatTime(t):""},t.prototype.P3=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.U3=function(t,i){return t===h.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.V3=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.label&&i.label.icons?this.F3(i.label.icons,h.PLAYLIST_LABEL_ICON_DIMENSION):""},t.prototype.D3=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.label||""},t.prototype.C3=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.icons?this.F3(i.section.icons,h.PLAYLIST_SECTION_ICON_DIMENSION):""},t.prototype.F3=function(t,i){if(t)for(var n=0,s=t;n<s.length;n++){var e=s[n];if(e.tag===i)return e.url}return""},t.prototype.R3=function(t){return!!(t.customConfig&&t.customConfig.playlistConfig&&t.customConfig.playlistConfig.is_bumper)},t.prototype.L3=function(t,i){var n='.vp-playlist-item[data-id="'+t+'"]',s=this.j3&&this.j3.querySelector(n);s&&(i?this.z3(s):this.H3(s))},t.prototype.z3=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.add("yvp-show")},t.prototype.H3=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.remove("yvp-show")},t.prototype.B3=function(t){var i=this;return t.every((function(t){if(!t||!t.metadata)return!1;if(i.R3(t))return!0;var n=t.metadata&&t.metadata.duration;return i.iy.watchHistory&&i.iy.watchHistory.isWatched(t.id,n||0)||!1}))},t}();i.default=a},zC69:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("8PPl"),r=n("ma23"),h=n("fLR+"),o=n("+Ojf"),u=n("wfVE"),a=function(){function t(){this.version="0.2.292",this.mimetype="playlist/simple",this.type=r.PluginType.PLAYLIST}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t,i,n){var s=this.N3(t,i),e=document.createElement("div");return e.innerHTML=u.render({items:s,strings:n}),Array.prototype.slice.call(e.children)},t.prototype.x3=function(t){return t&&h.isNumber(t)?o.default.formatTime(t):""},t.prototype.P3=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.U3=function(t,i){return t===e.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.N3=function(t,i){var n=this,s=[];return i.forEach((function(i){i&&i.metadata&&i.metadata.thumbnail&&s.push({id:i.id,title:n.P3(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.x3(i.metadata.duration),provider:n.U3(t,i.brandingData)})})),s},t}();i.default=a},zW5x:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("ToqN"),r=n("t8Yn"),h=n("rBpt"),o=n("FXl5"),u=n("lSF3"),a=n("c+yx"),c=n("XevZ"),f=n("Ld5f"),l=n("XPHM"),v=n("25Pf");i.DEFAULT_AD_SYSTEM="vrm",i.DEFAULT_AD_SYSTEM_VERSION="2";i.DEFAULT_WIDTH=640,i.DEFAULT_HEIGHT=360,i.DEFAULT_MEDIA_ITEM_META={title:"",description:"",thumbnail:"",posterUrl:"",duration:0,viewCount:NaN,shareUrl:""};var d=function(){function t(t){this.pI=!1,this.iy=t;var i=this.iy.config&&this.iy.config.CMS;this.bI=i&&i.host||v.default.getEnv(i&&i.env||""),h.Loader.preconnect("preconnect-sapi","//"+this.bI)}return t.prototype.resolve=function(t,i,n,s,e){var r=this;if(void 0===i&&(i={}),void 0===e&&(e=0),Array.isArray(t)&&0!==t.length){var u="",a=this.Y3(t,i,n),f=e>0?e:0,l=function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(!r.pI){var e=i[0],a=void 0,f=i[2];try{a=JSON.parse(e),f.instrument=a.query&&a.query.results&&a.query.results.instrument?JSON.stringify(a.query.results.instrument):"none"}catch(t){}s.onApiCallInfo({perfObj:f,url:u}),r.EI(t,e,(function(t,i){if(!t&&i&&i.length){for(var n=0,e=i;n<e.length;n++){var u=(e[n].customConfig||{}).mediaItemStatus||{},a=parseInt(u.code,10);if(!isNaN(a)&&a>100){var f="",l=null,v=null;return r.G3(h.errorCodes.INFO_CODES,u.code)&&(l=h.errorCodes.E_INFO),r.W3(l,u.code)&&(v="R"),u.code===h.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE&&(f=o.default.ERR_RESTRICTED_NETWORK_TYPE),u.code===h.errorCodes.SAPI_CODES.E_UNSUPPORTED_FORMAT&&(v="S",l=h.errorCodes.E_SAPI_STREAM),void r.wI(v,l,u.code,f,s)}}s.onComplete(i)}else t=t||"",r.wI(null,null,c.getErrorCode(),t,s)}))}},v=function(t,i,n,e,h){if(!r.pI){if(0===f||!u)return s.onApiCallInfo({perfObj:h||{},url:u}),void r.wI(null,null,c.getErrorCode(t,i,n),t.message,s);f--,r.OI(u,l,v)}};a.then((function(t){u=t,r.OI(u,l,v)})).catch((function(){v.apply(r)}))}},t.prototype.cancel=function(){this.pI=!0},t.prototype.parseMediaItemsResponse=function(t){var i=this;Array.isArray(t)&&t.length>0&&t.forEach((function(t){t.customConfig&&t.customConfig.response&&(i.AI(t,t.customConfig.response,!1),delete t.customConfig.response)}))},t.prototype.getDeviceType=function(){var t=navigator.platform.toLowerCase(),i=["mac","win"].some((function(i){return t.indexOf(i)>-1}));return e.userAgent.chromecast?"tv-widget,chromecast":e.userAgent.tv?"tv-widget":i||!e.userAgent.ipad&&!e.userAgent.androidTablet?!i&&e.userAgent.mobile?"smartphone":"desktop":"tablet"},t.prototype.OI=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,collectPerfData:!0,withCookie:!0})},t.prototype.AI=function(t,n,s){var e=this;void 0===s&&(s=!0);var r=n.meta||{},h=n.streams||[],o=n.license||{},u=t.metadata||{},a=n.metrics||{},c=t.customConfig||{};if(u.title=r.title||r.description,u.description=r.description,u.thumbnail=r.thumbnail,u.posterUrl=r.posterUrl,u.duration=r.duration,u.videoTypes=r.video_types,!c.playlistConfig&&r.playlist_config&&(c.playlistConfig=r.playlist_config),t.customConfig=t.customConfig||{},t.customConfig.nielsenRequired=r.nielsen_beacons||!1,n.status&&(t.customConfig.mediaItemStatus=n.status),r.allowed_connection_types&&(t.customConfig.allowedConnectionTypes=r.allowed_connection_types),t.customConfig.metrics={comscoreCM5:a.comscore_cm5||"",ywa:a.ywa||[],comscore6:a.comscore6||"",pspId:a.pspid||"",plidl:a.plidl||"",isrc:a.isrc||"",mmActivityId:a.mmActivityId||"",mediametrie:a.mediametrie||""},t.customConfig.meta={genre:r.genre||"",showName:r.show_name||"",credits:r.credits||{},eventStart:r.event_start||0,eventEnd:r.event_stop||0,videoMarkers:r.video_markers||null,castable:!(!1===r.castable)},s&&(u.title=u.title||i.DEFAULT_MEDIA_ITEM_META.title,u.description=u.description||i.DEFAULT_MEDIA_ITEM_META.description,u.thumbnail=u.thumbnail||i.DEFAULT_MEDIA_ITEM_META.thumbnail,u.posterUrl=u.posterUrl||i.DEFAULT_MEDIA_ITEM_META.posterUrl,u.duration=u.duration||i.DEFAULT_MEDIA_ITEM_META.duration),t.source={streams:h.map((function(t){return e.q3(t)}))},u.type=this.kB(t.source.streams),t.metadata=u,o){var l={};l.title=o.title,l.accountName=o.account_name,l.originatingProperty=o.originating_property,l.accountId=o.account_id,l.salesforceId=o.salesforce_id,l.isDrm=o.is_drm,t.license=l}t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/sapi"},t.visualSeekData.visualSeek=n.visualseek,r.provider&&(t.brandingData=t.brandingData||{branding:{}},r.provider.provider_id&&f.PROVIDER_BRANDING_TEMPLATES[r.provider.provider_id]&&(t.brandingData.mimetype="branding/provider"),t.brandingData.branding=t.brandingData.branding||{},t.brandingData.branding.providerId=r.provider.provider_id,t.brandingData.branding.providerName=r.provider.name,t.brandingData.branding.providerVideoId=r.provider.provider_video_id,t.brandingData.branding.gameOrigin=r.game_origin||[]),!t.adConfig&&n[i.DEFAULT_AD_SYSTEM]&&(t.adConfig={value:n[i.DEFAULT_AD_SYSTEM],mimetype:"adplugin/"+i.DEFAULT_AD_SYSTEM}),n.closedcaptions&&(t.closedCaptions=n.closedcaptions)},t.prototype.EI=function(t,i,n){var s=this;try{var e=JSON.parse(i),r=e&&e.query&&e.query.results&&e.query.results.mediaObj;if(!r)return void n("Bad sapi response");t.forEach((function(t){r.some((function(i,n){return!(!i||t.id!==i.id)&&(s.AI(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},t.prototype.wI=function(t,i,n,s,e){var r={code:n,message:s,group:t||void 0,category:i||void 0};e.onError(r)},t.prototype.G3=function(t,i){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&t[n]===i)return!0;return!1},t.prototype.W3=function(t,i){return t===h.errorCodes.E_INFO&&[h.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE,h.errorCodes.INFO_CODES.E_SAPI_GEO,h.errorCodes.INFO_CODES.E_SAPI_BLACKOUT,h.errorCodes.INFO_CODES.E_SAPI_DEVICE,h.errorCodes.INFO_CODES.E_SAPI_EMBED].indexOf(i)>-1},t.prototype.Y3=function(t,n,o){var c=this,f=this.iy,l=t.map((function(t){return t.id})).join(","),v=o.rendererTypes,d=o.rendererCapabilities,p={},m={},b=o.privacyConsent,y=o.thumbnailDimensions,g=!!t[0].adConfig,w="//"+this.bI+"/v1/video/sapi/streams/"+l;v&&v.forEach((function(t){var i=d[t],n=i.acceptedProtocols,s=i.preferredFormats;n.forEach((function(t){return p[t]=!0})),s.forEach((function(t){return m[t]=!0}))})),y&&y.width&&y.height||(y={width:i.DEFAULT_WIDTH,height:i.DEFAULT_HEIGHT});var S={srid:Math.floor(4294967295*Math.random()),protocol:Object.keys(p).join(","),format:Object.keys(m).join(","),rt:"html",devtype:this.getDeviceType(),offnetwork:!a.default.isOathDomain()&&!a.default.isWhitelistedDomain(),plid:f.guid,region:f.region||"US",site:f.site,expb:f.experienceBucket,expn:f.experienceName,bckt:a.default.getBckt(),lang:f.lang,width:y.width,height:y.height,resize:!0,ps:o.sessionId,autoplay:o.autoplay,image_sizes:"",excludePS:!0,isDockable:f.isDockable?"1":"0",acctid:f.yvapAccountId,synd:f.syndication,pspid:f.pspid,plidl:"",topic:f.cTopic,pver:"",try:h.TypeChecker.isNumber(Number(o.tryCount))?Number(o.tryCount):1,failover_count:h.TypeChecker.isNumber(Number(o.failoverCount))?Number(o.failoverCount):0,ads:i.DEFAULT_AD_SYSTEM+i.DEFAULT_AD_SYSTEM_VERSION,nad:g},E=a.default.getPageQueryString(),O=E.ad_debug,A=E.upet;return O&&(S.ad_debug=O),A&&(S.upet=A),v&&-1!==v.indexOf(r.RendererType.HTML5_HLS)&&(S.hlspre=!0),f.aspectRatio&&(S.aspectr=f.aspectRatio),b&&!h.TypeChecker.isNullOrUndefined(b.gdprApplies)&&(S.gdpr=!0===b.gdprApplies,S.iabconsent=b.gdprConsentData||""),b&&!h.TypeChecker.isNullOrUndefined(b.uspString)&&(S.usprv=b.uspString||""),f.pblob&&(S.pblob=f.pblob),S=a.default.extend(n,S),new u.Promise((function(t,i){f.allowGeoRequest&&e.userAgent.mobile?c.X3(l).then((function(i){var n=Object.assign({},S,i);t(w+"?"+s.stringify(n))})).catch((function(){t(w+"?"+s.stringify(S))})):t(w+"?"+s.stringify(S))}))},t.prototype.q3=function(t){return t?{url:t.host+t.path,live:t.live,format:t.format,cdn:t.cdn,rcMode:t.rc_mode,mimeType:t.mime_type,aspectRatio:t.aspect_ratio,videoMetadata:{avgBitrate:t.avgbitrate||0,bitrate:t.bitrate||0,framerate:t.framerate||0,height:t.height||0,width:t.width||0,profile:t.h264_profile},audioMetadata:{channels:t.channels||0,forced:t.forced,autoSelect:t.auto_select,default:t.default}}:null},t.prototype.X3=function(t){var i=this;return new u.Promise((function(n,s){l.default.getXAuthParams(t,i.getDeviceType()).then((function(t){var s=i.iy.geoData;if(s&&s.latitude&&s.longitude&&s.accuracy){var e=s.latitude+";"+s.longitude+" epu="+s.accuracy,r=Object.assign({},t,{"geo-position":e});n(r)}else n(t)})).catch((function(){s({})}))}))},t.prototype.kB=function(t){return t.some((function(t){return t.live}))?r.MediaItemInterfaces.MediaItemType.LIVE_EVENT:r.MediaItemInterfaces.MediaItemType.VOD},t}();i.default=d},zuu9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.closedcaptionsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/closedcaptionsSchema",type:"object",properties:{show:{type:"boolean"},lang:{default:"en-US",type:"string"},fontSize:{default:24,type:"number"},fontName:{default:"Arial, Helvetica, sans-serif",type:"string"},fontColor:{default:"#ffffff",type:"string"},fontOpacity:{default:1,type:"number"},fontEffect:{default:"none",type:"string"},bgColor:{default:"#000000",type:"string"},bgOpacity:{default:.75,type:"number"},ccPos:{default:"bottom",type:"string"},isAvailable:{type:"boolean"}}}}});
//# sourceMappingURL=oath-player-desktop.js.map