;OATH = window.OATH || {};OATH.VideoPlatform = OATH.VideoPlatform || {};OATH.VideoPlatform.PlayerHosting = {"app":"omega","bucket":null,"colo":"sg3","dbColo":"ap-southeast-1","env":"prod","ver":"8.2.168","config":null,"expiry":600,"req":{"ypv":null,"path":"/p/oath/js/1/video-decile.gif","usm":{"bucket":null,"config":null}},"type":"oath-player-desktop.js","g":[],"gv":2,"lang":"en-us"};

!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:"45e60be7c7ae53293f39"}[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.2.168/",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)}({"+NNo":function(t,i,n){"use strict";t.exports=a;var s=n("juTp"),e=n("Lt7U").Events,r=n("qudH"),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._=1,this._t=[403],this.name=o.CMD_LICENSE_LOAD,this._i=t.controller.services.getNewLoader(this.qi())}s.inherits(a,h),a.prototype.destroy=function(){this._i.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t._i.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t._i.load(i,t.data.challenge)},a.prototype.cancel=function(){},a.prototype.qi=function(){return{method:"POST",responseType:"arraybuffer",headerFields:this.data.headerFields,url:this.data.url,maxRetries:this._,retryExclusion:this._t}}},"+Nns":function(t,i,n){"use strict";i.a=function(t){return new this((function(i,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var s=Array.prototype.slice.call(t);if(0===s.length)return i([]);var e=s.length;function r(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var h=n.then;if("function"==typeof h)return void h.call(n,(function(i){r(t,i)}),(function(n){s[t]={status:"rejected",reason:n},0==--e&&i(s)}))}s[t]={status:"fulfilled",value:n},0==--e&&i(s)}for(var h=0;h<s.length;h++)r(h,s[h])}))}},"+aGq":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,streamSynch:{synchronize:!1,synchConfig:null}}},"+azy":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.in=[],this._n=0,this.as=0,this._s=[],this._e=i,this.or=t,this._r=e[this.or],this._h(),this.do()}return t.prototype.destroy=function(){document.removeEventListener("keydown",this._o,!1),document.removeEventListener("touchstart",this._u,!1),document.removeEventListener("touchmove",this._a,!1),document.removeEventListener("touchend",this.gc,!1)},t.prototype.do=function(){var t=this;this._n=0,this.as=0,this._r.forEach((function(i){i.length=i.combination.length,i.value=i.length?i.combination.toString():null,i.length>t.as&&(t.as=i.length)})),this._o=this._c.bind(this),document.addEventListener("keydown",this._o,!1)},t.prototype._c=function(t){var i=this;this._n=t.altDown||t.altKey?this._n+1:0,this._s.push(t.keyCode),this._s.length>this.as&&this._s.shift(),this._r.some((function(t){var n=i._s.slice(Math.max(i._s.length-t.length,0)).toString()===t.value;return t.alt?n&&i._n>t.length:n}))&&this._e()},t.prototype._u=function(t){this._f=t.changedTouches[0].pageX,this._l=t.changedTouches[0].pageY,this._v=0,this._d=0},t.prototype._a=function(t){if(1===t.touches.length){var i=t.touches[0];this._v=i.pageX,this._d=i.pageY}},t.prototype.gc=function(){var t,i=r[this.or];this._v||this._d?t=Math.abs(this._f-this._v)>Math.abs(this._l-this._d)?this._f-this._v<0?s.RIGHT:s.LEFT:this._l-this._d<0?s.DOWN:s.UP:t=s.TAP;this.in.push(t),this.in.length>i.length&&this.in.shift(),this.in.length===i.length&&this.in.every((function(t,n){return t===i[n]}))&&this._e()},t.prototype._h=function(){this._u=this._u.bind(this),this._a=this._a.bind(this),this.gc=this.gc.bind(this),document.addEventListener("touchstart",this._u,!1),document.addEventListener("touchmove",this._a,!1),document.addEventListener("touchend",this.gc,!1)},t}();i.default=h},"+nio":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xl6w"),e=n("ablw"),r=function(){function t(){this.dp={},this._p=[]}return t.prototype.destroy=function(){this.dp={},this._p=[]},t.prototype.register=function(t,i){if(e.isNullOrUndefined(t))throw new Error("Plugin instance is null");if(!this._m(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.dp[t.type]||(this.dp[t.type]=[]),this.dp[t.type].push(t);try{t.prepare(i)}catch(t){}},Object.defineProperty(t.prototype,"defaultPlugins",{get:function(){return this._p},set:function(t){this._p=t},enumerable:!0,configurable:!0}),t.prototype.getExternalPlugins=function(){var t=this,i={},n=function(n){if(Object.prototype.hasOwnProperty.call(s.dp,n)){var e=s.dp[n].filter((function(i){return!function(i){return t._p.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.dp)n(e);return i},t.prototype.getPlugin=function(t,i){var n=this.dp[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._m=function(t){if(!t||e.isNullOrUndefined(t.mimetype)||!e.isString(t.mimetype)||e.isNullOrUndefined(t.type)||!this._b(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._y(t);case s.PluginType.SOURCE_METADATA:return this._g(t);case s.PluginType.MORE_ITEMS:return this.Pw(t);case s.PluginType.AD:return e.isAdPlugin(t);case s.PluginType.VISUAL_SEEK:return this.tE(t);case s.PluginType.BRANDING:return this.iE(t);case s.PluginType.PLAYLIST:return this.nE(t)}return!1},t.prototype._b=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._y=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._g=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.Pw=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.tE=function(t){return!(!t||e.isNullOrUndefined(t.getThumbnailData)||e.isNullOrUndefined(t.update)||!e.isFunction(t.getThumbnailData)||!e.isFunction(t.update))},t.prototype.iE=function(t){return!(!t||e.isNullOrUndefined(t.create)||!e.isFunction(t.create))},t.prototype.nE=function(t){return!(!t||!e.isFunction(t.create))},t}();i.default=r},"/4Je":function(t,i,n){"use strict";t.exports=d;var s=n("juTp"),e=n("Lt7U").Events,r=n("0mEK"),h=n("bpRV"),o=n("vVWs"),u=n("LmPb"),a=n("9m1L").HLSEvent,c=n("qudH"),f=c.Command,l=c.CmdNames,v=c.CmdEvents;function d(t,i){this.sE(t),f.call(this,t,i),this.name=l.CMD_SEGMENT_LOAD,this.eE=t.segment,this.rE=t.stream,this.__controller=this.data.controller,this.hE=this.__controller.model,this.oE=this.eE?this.eE.url:t.url,this.uE=this.eE?this.eE.streamIndex:t.stream.index,this.aE=this.eE?this.eE.encryptionData:null,this.cE=!1,this.fE=new o,this.lE=0,this.vE=null;var n=t.controller.services;this._t=[403],this._i=n.getNewLoader(this.qi()),this.aE&&this.aE.keyUri&&(this.dE=n.getNewLoader(this.pE())),this.mE=this.__controller.services.bandwidthEstimator,this.bE=new u(this.mE.COLLECTION_INTERVAL),this.bE.addEventListener(this.yE,this),this.gE()}s.inherits(d,f),d.prototype.destroy=function(){this.cancel(),this._i.destroy(),this.bE.destroy(),this.fE.destroy(),this.dE&&this.dE.destroy(),this.wE&&this.wE.destroy(),f.prototype.destroy.call(this)},d.prototype.sE=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.pE=function(){var t={responseType:"arraybuffer",isChunkedLoad:!1,headerFields:{},retryExclusion:this._t};return this.hE.metadata.skt&&(t.headerFields.skt=this.hE.metadata.skt),t},d.prototype.qi=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,headerFields:{},retryExclusion:this._t},i=this.eE?this.eE.bitrate*this.eE.duration/8:0;return this.eE.brStartOffset>=0&&this.eE.brEndOffset>=0&&(t.headerFields.Range="bytes="+this.eE.brStartOffset+"-"+this.eE.brEndOffset,i=this.eE.brEndOffset-this.eE.brStartOffset+1),t.minChunkSize=.025*i,"atlas"===this.eE.cdn&&(t.headerFields.Accept="*/*; X-PB-SESSION-ID="+this.eE.sessionId),0===this.eE.streamIndex&&(t.timeout=1e4),t},d.prototype.gE=function(){var t=this.EE();t.containerFormat=this.eE.containerFormat,t.encryptionData=this.aE;var i=this.__controller.create(r,t);i&&(i.addEventListener(h.DATA_PROCESS_PROGRESS,this.OE,this),i.addEventListener(h.DATA_PROCESS_COMPLETE,this.AE,this),i.addEventListener(h.DATA_PROCESS_ERROR,this._E,this),this.wE=i)},d.prototype.EE=function(){return{seqNum:this.eE.seqNum,discontinuity:this.eE.discontinuity,demux:this.hE.config.demux,width:this.rE?this.rE.width:640,height:this.rE?this.rE.height:360,timescale:this.rE.timescale?this.rE.timescale:this.hE.timescale,duration:this.hE.duration,segDuration:this.eE.duration?this.eE.duration:-1,pcr:this.hE.getPCR(),frameRate:this.rE?this.rE.frameRate:30,mp4State:this.data.state?this.data.state.mp4:null,startOffsetTimestamp:this.hE.startOffsetTimestamp,startTime:this.eE.startTime,lastChunkEndTs:this.data.state?this.data.state.lastChunkEndTs:null,lastFrameDuration:this.data.state?this.data.state.lastFrameDuration:null,prevSegEndTimeStamps:this.hE.getPrevSegEndTimestamps(this.rE,this.eE),isAltAudioActive:!!this.data.state&&this.data.state.isAltAudioActive,live:this.hE.live,onlyMetadata:this.data.onlyMetadata,useEditBox:!0,userAgent:this.hE.userAgent,dash:this.hE.isDash(),type:this.rE.type}},d.prototype.execute=function(){this.lE=0,this.TE=!1,this.cE=!0,this.SE=Date.now(),this.jE=0,this.IE=0,this.eE&&(this.eE.totalDownloadTime=0,this.eE.timeToFirstByte=0),this.NE=Date.now(),this.bE.start(),this.aE&&this.dE&&this.ME(),this.RE()},d.prototype.cancel=function(){this.DE(),this._i.reset()},d.prototype.DE=function(){this.bE.reset(),this.wE&&this.wE.close(),this.cE=!1},d.prototype.ME=function(){var t=this;if(t.aE&&t.dE){var i=t.rE.lastKey,n=t.aE.keyUri;if(i&&i.keyUri&&i.key&&i.keyUri===n)t.kE(i.key);else{t.dE.addEventListener(e.COMPLETE,(function(i){t.kE(i)}),t),t.dE.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.dE.load(n)}}},d.prototype.RE=function(){var t=this;if(t._i){var i=t.oE;t._i.addEventListener(e.COMPLETE,(function(){t.LE()}),t),t._i.addEventListener(e.PROGRESS,(function(i,n){t.CE(i,n)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t._i.addEventListener(e.BYTES_LOADED,(function(i,n){t.PE(i,n)}),t),t._i.load(i)}},d.prototype.PE=function(t,i){this.eE&&0===this.eE.timeToFirstByte&&(this.eE.timeToFirstByte=Date.now()-this.NE,this.__controller.sendEvent(a.SEGMENT_FIRST_BYTE_LOADED,i),this.publish(v.CMD_PROGRESS,this,{position:"firstByte"})),this.jE+=Math.max(t-this.lE,0),this.lE=t},d.prototype.CE=function(t,i){i!==this.lE&&this.PE(i),this.wE&&this.wE.append(t)},d.prototype.LE=function(){this.yE(),this.bE.stop();var t=this.xE();this.wE&&this.wE.endOfSegment(),t>0&&this.mE.replaceSamples(this.lE,t)},d.prototype.kE=function(t){t.type="key",t.initVector=this.aE.initVector,t.seqNum=this.eE.seqNum,this.eE.encryptionData.key=t,this.rE.lastKey=this.aE,this.wE.append(t)},d.prototype.OE=function(t){t&&(t.putParam&&(this.vE&&t.putParam("perfInfo",this.vE),t.putParam("bytesTotal",this.lE)),this.publish(v.CMD_PROGRESS,this,t))},d.prototype.AE=function(t){this.publish(v.CMD_COMPLETE,this,t)},d.prototype._E=function(){},d.prototype.yE=function(){var t=Math.max(this.jE,0),i=Date.now();this.IE=i-this.SE,this.bE.reset(),this.mE&&this.IE>10&&(this.SE=i,this.eE&&(this.eE.totalDownloadTime+=this.IE),this.jE=0,this.mE.addSample({size:t,time:this.IE})),this.bE.start()},d.prototype.xE=function(){var t=this.fE?this.fE.getPerformanceTiming(["startTime","requestStart","responseStart","responseEnd","secureConnectionStart","fetchStart","connectStart","domainLookupStart"],this.oE):null;return this.vE=t,t&&t.responseEnd&&t.startTime?t.responseEnd-t.startTime:null}},"/7QA":function(t,i,n){"use strict";var s,e;Object.defineProperty(i,"__esModule",{value:!0});var r=n("xkpU");r.objectAssignPolyfill(),r.objectValuesPolyfill(),r.arrayIncludesPolyfill();var h=n("g6Is"),o=n("Krh1"),u=n("W+mt"),a=n("Pu4D"),c=window;["OATH","YAHOO"].forEach((function(t){c[t]=c[t]||{},c[t].VideoPlatform=c[t].VideoPlatform||{},c[t].VideoPlatform.VideoPlayer=u.OathPlayerFactory,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}},a.default.sendScriptLoadBeacon(),null===(e=null===(s=window.performance)||void 0===s?void 0:s.mark)||void 0===e||e.call(s,"vplayerjsready")},"/ZC+":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("P2OX"),h=n("WiTR"),o=n("xPTa"),u=n("NMaA"),a=n("Na72"),c=n("rBpt"),f=n("Fry/"),l=n("ablw"),v=n("yf6s"),d=n("svu7"),p=n("gKvh"),m=n("SgyZ"),b=n("QPjr");!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.UE="0.2.447",this.VE="1.1.270",this.BE=!1,this.FE="none",this.zE=!1,this.HE=new b.default,this.HE.width=i&&i.width||this.HE.width,this.HE.height=i&&i.height||this.HE.height,this.HE.videoWidth=this.HE.width,this.HE.videoHeight=this.HE.height,this.GE={desiredBitrate:t.DESIRED_BITRATE,mp4Abr:!1,bitrate:0,bitrates:[],heights:[],startTime:NaN,preconnect:!0,skipFormats:[],isResumingFromSavedPosition:!1,requestType:null,requestAction:null,playlistLoop:!1},this.YE=s,this.qE=[],this.WE=i,this.XE=this.ZE(i),this.QE(),this.JE(),this.KE(),this.$E(n),this.tO(),this.iO(),this.XE.mediaItems&&this.XE.mediaItems.length&&(this.firstItemAdsSitePrefetched=!!this.XE.mediaItems[0].adConfig),this.playlist=new m.default(this.nO),this.XE.mediaItems&&this.XE.mediaItems.forEach((function(t){t.adConfigPrefetched=!!t.adConfig})),this.playlist.addItems(this.XE.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,this.isUserInitiatedPause=!1}return t.prototype.destroy=function(){this.playlist.destroy(),this.rendererTypes=[],this.adsRendererTypes=[]},Object.defineProperty(t.prototype,"config",{get:function(){return this.XE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.XE.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.XE.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.XE.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.XE.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.XE.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.XE.ui;return t?t.docking:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logos",{get:function(){var t=this.XE.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.XE.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.XE.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.XE.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.XE.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.XE.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.XE.ui;i&&i.startScreen&&(i.startScreen.show=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFullscreenButton",{get:function(){var t=this.XE.ui,i=d.defaultConfigs.ui.showFullscreenButton;return t&&void 0!==t.showFullscreenButton?t.showFullscreenButton:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sliderColor",{get:function(){var t=this.XE.ui,i=d.defaultConfigs.ui.sliderColor;return t&&void 0!==t.sliderColor?t.sliderColor:i},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){var t=this.XE.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.XE.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.XE.ui;return i?i.playlist:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){var t=this.XE.continuousPlay;return void 0===t?d.defaultConfigs.continuousPlay:t},set:function(t){this.XE.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adPlaybackOnly",{get:function(){var t=this.XE.adPlaybackOnly;return void 0===t?d.defaultConfigs.adPlaybackOnly:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoplay",{get:function(){var t=this.XE.autoplay;return void 0===t?d.defaultConfigs.autoplay:t},set:function(t){this.XE.autoplay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopBufferingOnPause",{get:function(){var t=this.XE.stopBufferingOnPause;return void 0===t?d.defaultConfigs.stopBufferingOnPause:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preload",{get:function(){var t=this.XE.preload;return void 0===t?d.defaultConfigs.preload:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullscreen",{get:function(){var t=this.XE.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.GE.bitrate},set:function(t){this.GE.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.GE.bitrates},set:function(t){this.GE.bitrates=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"heights",{get:function(){return this.GE.heights},set:function(t){this.GE.heights=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mp4Abr",{get:function(){return this.GE.mp4Abr},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startTime",{get:function(){return this.GE.startTime},set:function(t){this.GE.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preconnect",{get:function(){return this.GE.preconnect},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isResumingFromSavedPosition",{set:function(t){this.GE.isResumingFromSavedPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestType",{get:function(){return this.GE.requestType},set:function(t){this.GE.requestType=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requestAction",{get:function(){return this.GE.requestAction},set:function(t){this.GE.requestAction=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistLoop",{get:function(){return this.GE.playlistLoop},set:function(t){this.GE.playlistLoop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"desiredBitrate",{get:function(){return this.GE.desiredBitrate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"uiState",{get:function(){return this.HE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackState",{get:function(){return this.sO},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"waitingForUserTap",{get:function(){return this.BE},set:function(t){this.BE=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preloadBufferSize",{get:function(){var t=this.XE.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.XE.skipOnError||d.SkipOnError.NEVER},set:function(t){this.XE.skipOnError=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveUnloadOnPause",{get:function(){return this.XE.liveUnloadOnPause||!0},set:function(t){this.XE.liveUnloadOnPause=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDrmAvailable",{set:function(t){this.zE=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"drmSystem",{set:function(t){t&&(this.FE=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.UE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jshlsVersion",{get:function(){return this.VE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"casting",{get:function(){return void 0===this.XE.casting||this.XE.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.YE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputConfig",{get:function(){return this.WE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.qE},set:function(t){this.qE=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.sO)throw new Error("playbackState is already set");this.sO=t,this.eO(),this.rO()},t.prototype.isPlaylistStructured=function(){return!1},t.prototype.isLocal=function(){return this.UE.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.GE.bitrate=0},Object.defineProperty(t.prototype,"loop",{get:function(){var t=this.XE.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.XE.loop=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this.sO&&this.sO.mute},set:function(t){this.sO&&l.isBoolean(t)&&(this.sO.mute=t)},enumerable:!0,configurable:!0}),t.prototype.getState=function(){return this.playbackState.state},t.prototype.setState=function(t){this.sO&&(Object.keys(a.States).indexOf(t.toUpperCase())>-1&&(this.playbackState.state=t))},Object.defineProperty(t.prototype,"volume",{get:function(){return this.sO&&this.sO.volume},set:function(t){this.sO&&l.isNumber(t)&&t>=0&&t<=1&&(this.sO.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||(this.isUserInitiatedPause=!1))},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.WE&&this.WE.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.nO},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"seekControls",{get:function(){return this.XE.ui&&this.XE.ui.seekControls||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundPause",{get:function(){return this.XE.backgroundPause?this.XE.backgroundPause:d.defaultConfigs.backgroundPause},enumerable:!0,configurable:!0}),t.prototype.getEventsDto=function(){var t={rendererType:this.playbackState&&this.playbackState.rendererType,playerVersion:this.UE,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.FE,drm:this.zE,playbackMode:this.playbackState&&this.playbackState.playbackMode,currentMediaType:this.playbackState&&this.playbackState.currentMediaType,currentTs:Date.now(),pbst:this.getState(),pbstd:this.hO(),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.ZE=function(t){var i=v.default.deepCopy(t);return i=v.default.mergeObjects(i,d.defaultConfigs),i=this.oO(i)},t.prototype.hO=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.oO=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.QE=function(){!c.LocalStorage.get("vp-dont-autoplay")&&this.isAutoplayAllowed()||(this.autoplay=!1)},t.prototype.rO=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.eO=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.WE.volume;l.isNumber(s)&&s>=0&&s<=1&&(t=s),l.isBoolean(this.WE.mute)&&(i=this.XE.mute),this.volume=t,this.mute=i},t.prototype.KE=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},t.prototype.uO=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.aO(t)},t.prototype.aO=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||e.userAgent.safari||t!==o.RendererType.HTML5_HLS&&t!==o.RendererType.HTML5_HLS_360||(n[t].preferredFormats.unshift("mpd"),n[t].acceptedFormats.unshift("mpd")),i.GE.skipFormats.length>0&&(n[t].preferredFormats=n[t].preferredFormats.filter((function(t){return-1===i.GE.skipFormats.indexOf(t)}))))})),n):n},t.prototype.$E=function(t){this.uO(),this.nO=t||new p.default(this.rendererTypes,this.adsRendererTypes,this.capabilities)},t.prototype.tO=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.JE=function(){f.default.canPlayInline&&f.default.autoplayByUIEvtOnly&&this.autoplay&&(this.waitingForUserTap=!0)},t.prototype.iO=function(){var t=this;c.Privacy.getGDPRConsentData((function(i,n){var s,e;n&&(t.consent.gdprApplies=null===(s=i)||void 0===s?void 0:s.gdprApplies,t.consent.gdprConsentData=null===(e=i)||void 0===e?void 0:e.gdprConsentData)})),c.Privacy.getUSPrivacyConsent((function(i,n){var s;n&&(t.consent.uspString=null===(s=i)||void 0===s?void 0:s.uspString)}))},t.DESIRED_BITRATE=900,t.RECOVERY_FAILURE_TIMEOUT=120,t}();i.default=y},"/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)}))}))}},"/tvQ":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:{}})},0:function(t,i,n){t.exports=n("/7QA")},"06aY":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("7PPe"),e=n("P2OX"),r=n("wqBe"),h=n("xl6w"),o=n("Na72"),u=function(){function t(t,i,n,s){this.cO=t,this.fO=i,this.hE=n,this.lO=s}return t.prototype.syncState=function(){var t=this.hE.getState();t===o.States.INIT||t===o.States.WAITING||t===o.States.VIDEO?this.vO():t===o.States.END&&this.dO()},t.prototype.destroy=function(){this.dO()},t.prototype.vO=function(){var t=this.hE.playlist&&this.hE.playlist.getCurrentItem();if(this.lO&&t&&t.brandingData&&!this.pO){var i=this.lO.getPlugin(h.PluginType.BRANDING,t.brandingData.mimetype),n=i&&i.create(t.brandingData);n&&(this.pO=n,this.pO.style.visibility="hidden",this.mO(),this.bO=this.pO.offsetHeight,this.yO(),this.pO.style.visibility=null,this.gO())}},t.prototype.mO=function(){var t=this.fO.getContentNode(),i=this.fO.getPlaylistController(),n=i.getPlaylistRootElement(),s=i.isPlaylistShown(),r=i.getPlaylistUIPosition();s&&r===e.PLAYLIST_POS.BOTTOM&&n?n.parentNode.insertBefore(this.pO,n):t.appendChild(this.pO)},t.prototype.gO=function(){var t=this;this.wO||(this.wO=this.cO.on([s.ExternalEvt.PLAYER_DOCKED_CHANGE,r.FULLSCREEN_CHANGE],(function(i){t.EO&&(window.clearTimeout(t.EO),t.EO=null),i===r.FULLSCREEN_CHANGE?t.EO=window.setTimeout((function(){t.EO=null,t.yO()}),700):t.yO()}),this))},t.prototype.dO=function(){var t=this.fO.getMainElement();t&&(t.style.height="100%"),this.pO&&(this.pO.parentNode.removeChild(this.pO),this.pO=null,this.bO=null,this.OO())},t.prototype.OO=function(){this.wO&&(this.cO.removeEventListeners(this.wO),this.wO=null)},t.prototype.yO=function(){var t=this.fO.getContentNode(),i=this.fO.getMainElement();this.pO&&this.bO&&t&&i&&(i.style.height="calc(100% - "+this.bO+"px)")},t}();i.default=u},"08fe":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("hq3Z"),o=n("ToqN"),u=n("7PPe"),a=n("P2OX"),c=n("wqBe"),f=n("r/Xn"),l=n("xl6w"),v=n("xPTa"),d=n("IWlq"),p=n("Fry/"),m=n("ablw"),b=n("yf6s"),y=n("vdrJ"),g=n("hXW2"),w=n("U3HQ"),E=n("0MqY"),O=n("7eEh");function A(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 _=function(t){function i(i,n,s,e){var r=t.call(this,"Controls")||this;return r.cO=i,r.fO=n,r.hE=s,r.lO=e,r.AO=!0,r.cO.addEventListener(c.VideoEvent.PLAYING,r._O,r),r.cO.addEventListener(c.CAST.CAPTION_AVAILABILITY_CHANGED,r.updateClosedCaptionUI,r),r.cO.addEventListener(c.RELATED_ITEM_CLICK,r.TO,r),r.cO.addEventListener(c.FULLSCREEN_CHANGE,(function(t){var i="boolean"==typeof t?t:r.fO.getFullscreen();r.SO(i)}),r),r.cO.addEventListener(u.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,(function(t){r.jO&&A(r.jO)[t?"remove":"add"]("vp-hidden")}),r),r.cO.addEventListener(u.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,(function(t){r.jO&&A(r.jO)[t.connected?"add":"remove"]("vp-airplay-on")}),r),r.cO.addEventListener(c.KEYDOWN,r._c,r),r.cO.addEventListener(u.ExternalEvt.PLAYER_DOCKED_CHANGE,r.IO,r),r.cO.addEventListener(c.CCEvent.TOGGLE,r.updateClosedCaptionButtonState,r),r}return e(i,t),i.prototype.create=function(){var t=b.default.render(E,{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.NO=i.bottomBar,this.MO=this.NO.querySelector(".vp-slider"),this.RO=this.NO.querySelector(".vp-buffer-bar"),this.DO=this.NO.querySelector(".vp-time-container"),this.kO=this.NO.querySelector(".vp-menu-controls"),this.LO=this.NO.querySelector(".vp-current-time"),this.CO=this.NO.querySelector(".vp-total-time"),this.PO=this.NO.querySelector(".vp-handle"),this.xO=this.NO.querySelector(".vp-playback-bar"),this.UO=this.NO.querySelector(".vp-play-btn"),this.VO=this.NO.querySelector(".vp-forward-btn"),this.BO=this.NO.querySelector(".vp-backward-btn"),this.FO(),this.zO=this.NO.querySelector(".vp-seek"),this.HO=this.NO.querySelector(".vp-visual-seek"),this.GO=this.NO.querySelector(".vp-cc-btn"),this.YO=this.NO.querySelector(".vp-cc-pointer"),this.jO=this.NO.querySelector(".vp-airplay-btn"),this.qO=this.NO.querySelector(".vp-fullscreen-btn"),this.WO=this.NO.querySelector(".vp-volume-btn"),this.XO=this.NO.querySelector(".vp-volume-bar-container"),this.ZO=this.NO.querySelector(".vp-volume-level"),this.QO=this.NO.querySelector(".vp-volume-bar"),this.JO=this.NO.querySelector(".vp-volume-value"),this.KO=this.NO.querySelector(".vp-volume-handle"),this.$O=i.multiAudioList,this.gA=this.NO.querySelector(".vp-multiaudio-btn"),this._A=i.logoContainer,this.t_=i.muteIndicator,this.i_=i.titleBar,this.n_=this.NO&&this.NO.parentNode.querySelector(".vp-playing-item-title-header"),this.s_=i.topBar,this.e_=this.s_&&this.s_.querySelector(".vp-content-type"),this.r_=this.hE.showTitleOnHover;var n=this.qO&&b.default.isOldIeBrowser()&&b.default.isIFrame();if(n=n||!this.hE.showFullscreenButton){var s=document.createElement("div");A(s).add("vp-fullscreen-btn-replacement"),this.qO&&(this.qO.parentNode.insertBefore(s,this.qO),this.qO.parentNode.removeChild(this.qO),this.qO=null)}return p.default.airplaySupported&&this.hE.casting||this.jO&&this.jO.parentNode&&(this.jO.parentNode.removeChild(this.jO),delete this.jO),this.h_(),!b.default.isOldIeBrowser()&&this.o_(),this.u_(),this.a_(),this.GO&&(this.c_?this.c_.createCCBtnTooltip(this.GO):!o.userAgent.mobile||o.userAgent.ios||o.userAgent.chrome&&p.default.hasNativeAutoplaySupport||(this.GO.style.display="none")),o.userAgent.mobile||delete i.multiAudioList,this.f_(),this.l_(),i},i.prototype.syncAriaState=function(){this.hE.isPaused()?this.UO.setAttribute("aria-label",d.default.PLAY_VIDEO):this.UO.setAttribute("aria-label",d.default.PAUSE_VIDEO),this.qO&&(this.fO.getFullscreen()?this.qO.setAttribute("aria-label",d.default.GO_TO_NORMAL_SCREEN):this.qO.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN)),this.WO&&(A(this.WO).contains("muted")?this.WO.setAttribute("aria-label",d.default.UNMUTE):this.WO.setAttribute("aria-label",d.default.MUTE))},i.prototype.getBottomBar=function(){return this.NO},i.prototype.onMediaItemLoaded=function(t){this.v_=t.isLive(),this.d_=t.liveState,this.e_.innerHTML="",this.e_.setAttribute("aria-label",""),A(this.e_).add("hide"),"chrome"===t.liveLabel&&A(this.e_).add("vp-nonpersistent"),this.v_?this.p_():this.m_()},i.prototype.updateVolumeUI=function(t,i){"boolean"!=typeof i||m.isNullOrUndefined(i)?this.b_(!t):(this.b_(i),t=i?0:t),this.y_(t)},i.prototype.updateClosedCaptionUI=function(t){this.AO=t,t?(A(this.GO).remove("vp-hide"),A(this.g_).remove("vp-hide"),this.w_(d.default.CAPTIONS_AVAILABLE)):(A(this.GO).add("vp-hide"),A(this.g_).add("vp-hide"),this.w_(d.default.CAPTIONS_NOT_AVAILABLE))},i.prototype.updateClosedCaptionButtonState=function(t){t?(A(this.GO).add("vp-on"),this.w_(d.default.CAPTIONS_ON)):(A(this.GO).remove("vp-on"),this.w_(d.default.CAPTIONS_OFF)),this.E_&&this.E_.updateCCToggleState(t),this.AO||this.w_(d.default.CAPTIONS_NOT_AVAILABLE)},i.prototype.updateAvailableLanguages=function(t){this.E_&&this.E_.updateAvailableLanguages(t)},i.prototype.onPlayerResize=function(t){this.E_&&this.E_.onPlayerResize(t),t.width<=a.HideBreakpointDimensions.WIDTH&&t.height<=a.HideBreakpointDimensions.HEIGHT?A(this.O_).add("vp-hide"):A(this.O_).remove("vp-hide"),this.A_&&this.A_.onPlayerResize(t,this.__)},i.prototype.onlanguageChange=function(t){this.fO&&this.fO.onlanguageChange(t)},i.prototype.updateClosedCaptionStyle=function(t){this.fO&&this.fO.updateClosedCaptionStyle(t)},i.prototype.onMediaItemCurrent=function(t){},i.prototype.onMediaItemPlaybackStarted=function(t){this.v_?this.p_():this.m_(),this.l_(),this.T_(),this.f_(),this.S_(),this.$O&&this.j_(),this.I_(),this.N_(t),this.A_&&this.A_.onPlaybackStarted(t);var i=this.hE.uiState.width<=a.HideBreakpointDimensions.WIDTH&&this.hE.uiState.height<=a.HideBreakpointDimensions.HEIGHT;this.A_&&this.A_.shouldEnableSettings()&&!i?A(this.O_).remove("vp-hide"):A(this.O_).add("vp-hide")},i.prototype.onMediaItemPlaybackProgress=function(t){var i=this.sO,n=t.buffered,s=i.currentTime,e=i.playbackMode;n&&this.M_(n),void 0!==s&&e===v.PlaybackMode.VIDEO&&this.R_(s)},i.prototype.onAdBreakStarted=function(){A(this.MO).add("vp-disable"),A(this.VO).add("vp-disable"),A(this.BO).add("vp-disable")},i.prototype.onAdPlaybackStarted=function(){this.l_(),this.D_(),this.k_(),this.L_(),A(this.MO).add("vp-disable"),A(this.e_).add("hide"),A(this.DO).add("vp-hide"),A(this.O_).add("vp-hide"),this.A_&&this.A_.isOpen()&&this.A_.toggleSettings(this.__)},i.prototype.onAdPlaybackEnded=function(){this.S_(),this.hE.seekControls.show&&(A(this.VO).remove("vp-disable"),A(this.BO).remove("vp-disable")),A(this.MO).remove("vp-disable"),A(this.DO).remove("vp-hide"),this.A_&&this.A_.shouldEnableSettings()&&A(this.O_).remove("vp-hide")},i.prototype.onAdPlaybackProgress=function(t){},i.prototype.onControlsBarChange=function(t){!this.r_||this.fO.isDocked()&&this.hE.docking.showInfoCard||(t?this.C_():(this.P_(),A(this.PO).remove("active"),A(this.MO).remove("vp-thick-slider"),this.k_()))},i.prototype.getCCElement=function(){return this.fO?this.fO.getCCElement():null},i.prototype.getMainElement=function(){return this.fO.getMainElement()},i.prototype.updateCurrentItemTitle=function(t){this.i_.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"),A(h).add("vp-button"),this.kO.insertBefore(h,this.kO.firstChild),this.publish(r.CUSTOM_ELEMENT,"create",s);return this.x_=new w.default(h,(function(t){t.stopPropagation(),i.publish(r.CUSTOM_ELEMENT,"click",s)})),h},i.prototype.destroy=function(){this.U_&&this.U_.destroy(),this.V_&&this.V_.destroy(),this.B_&&this.B_.destroy(),this.F_&&this.UO&&(this.F_.destroy(),this.qO&&this.z_&&this.z_.destroy(),this.H_&&this.H_.destroy(),this.G_&&this.G_.destroy(),this.Y_&&this.Y_.destroy(),this.L_(),this.q_()),this.W_&&(this.X_.removeEventListener("tap",this.Z_),this.W_.destroy()),this.Q_&&this.Q_.destroy(),this.x_&&this.x_.destroy(),this.J_&&this.J_.destroy(),this.K_&&this.K_.destroy(),this.t_&&this.tT(),this.fO.getContentNode().removeEventListener("keydown",this.iT,!1),this.nT&&this.nT.destroy()},i.prototype.IO=function(){var t=this,i=this.hE.logos;i&&!A(this._A).contains("vp-hide")&&this._A.querySelector(".vp-logo")&&Object.keys(i).forEach((function(n){var s=t._A.querySelector(".vp-logo-type-"+n+" img");t.sT(s,i[n])}))},i.prototype.f_=function(){var t=this,i=this.hE.logos;this._A&&i&&(Object.keys(i).forEach((function(n){i[n]&&t.eT(i[n],n)})),A(this._A).remove("vp-hide"))},i.prototype.FO=function(){if(this.NO){o.userAgent.android&&(this.VO.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"),this.BO.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"));var t=this.VO.querySelector(".vp-forward-time"),i=this.BO.querySelector(".vp-backward-time");t.innerHTML=i.innerHTML=this.hE.seekControls.offset,this.hE.seekControls.offset<10&&(t.setAttribute("transform","translate(2, 0.4)"),i.setAttribute("transform","translate(1.8, 0.4)"))}},i.prototype.eT=function(t,i){var n=this;if(t&&t.url){var s=this._A.querySelector(".vp-logo-type-"+i);s||((s=document.createElement("div")).innerHTML="<img />",s.setAttribute("class","vp-logo vp-logo-type-"+i),this.Q_=new w.default(s,(function(){return n.publish(r.LOGO_CLICK)})),this._A.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=A(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.sT(e,t))}},i.prototype.u_=function(){var t=this;this.A_=new g.default(this.hE),this.O_=this.NO.querySelector(".vp-setting-btn"),this.__=this.NO.querySelector(".vp-setting-pointer"),this.O_&&(this.B_=new w.default(this.O_,(function(){var i=t.fO.getAdsOverlayNode();t.A_&&t.A_.toggleSettings(t.__),i&&A(i).toggle("vp-ads-overlay-bg"),t.E_.hideActiveContainer(t.YO)}))),this.rT=this.A_.create(),this.kO.parentNode.insertBefore(this.rT,this.kO.nextSibling),this.A_.on(g.SettingsEvent.SET_QUALITY,(function(i){t.publish(r.SET_QUALITY,i)}),this),this.A_.on(g.SettingsEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this)},i.prototype.sT=function(t,i){var n=this.fO.isDocked();i&&i.height&&t&&(t.height=n?Math.min(i.height,this.hE.docking.height/10):i.height),i&&i.width&&t&&(t.width=n?Math.min(i.width,this.hE.docking.width/10):i.width)},i.prototype.D_=function(){this._A&&A(this._A).add("vp-hide")},i.prototype.hT=function(){var t=this._A.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.oT=function(t){var i=this;!this.hE.autoplay||this.fO.isDocked()&&this.hE.docking.showInfoCard||(A(this.i_).add("vp-title-standard"),this.uT(!0),this.aT=window.setTimeout((function(){A(i.i_).add("vp-hide"),i.cT(t)}),6e3))},i.prototype.T_=function(){this.aT&&clearTimeout(this.aT),this.fT=null;var t=this.lT(),i=t&&t.title||"";switch(this.vT(),this.updateCurrentItemTitle(i),A(this.i_).remove("vp-title-standard"),A(this.i_).remove("vp-secondary"),A(this.i_).remove("vp-hide"),this.fT&&this.n_&&(A(this.n_).remove("vp-title-header-standard"),A(this.n_).remove("vp-hide")),this.hE.showTitleOnStart||""){case"fadeoutall":this.oT(!0);break;case"standard":this.oT(!1)}},i.prototype.vT=function(){var t=this.n_;if(this.dT()){var i=this.fT,n=i&&i.open_label||i&&i.label||"";t.innerHTML=this.pT(n)}else t&&""!==t.innerHTML&&(t.innerHTML="",A(t).add("vp-hide"))},i.prototype.uT=function(t){if(this.dT()){var i=A(this.n_);i.remove("vp-hide"),i.add("vp-title-header-standard"),A(this.i_).add("vp-secondary"),t?i.add("vp-title-shown"):i.remove("vp-title-shown")}},i.prototype.cT=function(t){var i=this;if(this.mT&&clearTimeout(this.mT),this.bT&&clearTimeout(this.bT),this.dT()){var n=this.n_,s=A(n);s.remove("vp-title-shown"),s.add("vp-hide");var e=this.fT,r=e&&e.label||"";this.mT=window.setTimeout((function(){n.innerHTML=i.pT(r),s.remove("vp-hide"),t&&(i.bT=window.setTimeout((function(){n.innerHTML="",s.add("vp-hide")}),5e3))}),300)}},i.prototype.dT=function(){return!(!this.n_||!this.fT)},i.prototype.pT=function(t){if(!t||""===t)return"";return""+t.replace(/\*\*([^\*]+(\s[^\*]+)*)\*\*/gi,"<strong>$1</strong>")},i.prototype.C_=function(){A(this.i_).add("vp-title-standard"),A(this.i_).remove("vp-hide"),this.uT(!0)},i.prototype.P_=function(){A(this.i_).add("vp-title-standard"),A(this.i_).add("vp-hide"),this.uT(!1)},i.prototype.p_=function(){A(this.MO).add("vp-disable"),A(this.VO).add("vp-disable"),A(this.BO).add("vp-disable"),A(this.DO).add("vp-hide"),this.d_&&"live"===this.d_&&(this.e_.innerHTML=d.default.LIVE,this.e_.setAttribute("aria-label",d.default.LIVE),A(this.e_).remove("hide"),A(this.i_).add("vp-live"))},i.prototype.m_=function(){A(this.MO).remove("vp-disable"),this.hE.seekControls.show?(A(this.VO).remove("vp-disable"),A(this.BO).remove("vp-disable")):(A(this.VO).add("vp-disable"),A(this.BO).add("vp-disable")),A(this.DO).remove("vp-hide"),A(this.i_).remove("vp-live")},i.prototype.a_=function(){var t=this;if(this.F_=new w.default(this.UO,(function(i){i.stopPropagation();var n=t.fO.getCurrentViewState(),s=t.lT(),e=s&&s.id,h=t.hE.isPaused()?"ctrl-play-btn":"ctrl-pause-btn";"end-screen"===n?(t.cO.publish(c.RELATED_ITEM_CLICK,e,-1,!1,!1),t.yT()):(t.publish(r.UI_INTERACT,{srcElement:h}),t.publish(r.TOGGLE_PLAY_PAUSE))})),this.qO){this.z_=new w.default(this.qO,(function(i){i.stopPropagation(),t.fO.toggleFullscreen(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-fullscr-btn"})}))}this.gT=new w.default(this.NO,(function(t){t.stopPropagation()})),this.jO&&(this.V_=new w.default(this.jO,(function(){t.fO.showAirplayTargetMenu(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-airplay-btn"})}))),this.gA&&(this.K_=new w.default(this.gA,(function(){A(t.$O).remove("vp-hidden"),t.publish(r.UI_INTERACT,{srcElement:"ctrl-multi-audio-btn"})}))),this.wT(),this.iT=function(i){t.cO.publish(c.KEYDOWN,{keyCode:i.keyCode,shiftDown:i.shiftKey,ctrlDown:i.ctrlKey,altDown:i.altKey,target:i.target,preventDefault:function(){i.preventDefault()}})},this.fO.getContentNode().addEventListener("keydown",this.iT,!1),this.nT=new w.default(this.MO,(function(t){t.stopPropagation()})),this.S_(),this.ET(),this.OT(),this.AT()},i.prototype.o_=function(){this.E_=new y.default(this,this.hE),this.g_=this.E_.create(),o.userAgent.mobile&&A(this.g_).add("vp-hide"),this.kO.parentNode.insertBefore(this.g_,this.kO.nextSibling)},i.prototype.wT=function(){var t=this;this.GO&&(this.U_=new w.default(this.GO,(function(i){if(i.stopPropagation(),t.AO){var n=!A(t.GO).contains("vp-on"),s="cc-"+(n?"on":"off")+(!(!t.hE.castState||!t.hE.castState.connected)?"-cast":"");t.publish(r.UI_INTERACT,{srcElement:s}),t.publish(r.TOGGLE_CC,n,!0),t.updateClosedCaptionButtonState(n)}})),this.E_&&this._T())},i.prototype._T=function(){var t=this;this.TT=null;this.ST=function(i){var n=t.fO.getAdsOverlayNode();o.userAgent.mobile||t.A_&&t.A_.isOpen()||(t.jT(i),t.E_.showActiveContainer(t.YO),n&&A(n).add("vp-ads-overlay-bg"),A(t.XO).remove("open"))},this.IT=function(i){var n=t.fO.getAdsOverlayNode();t.jT(i),t.TT&&clearTimeout(t.TT),t.TT=window.setTimeout((function(){t.E_.hideActiveContainer(t.YO),n&&A(n).remove("vp-ads-overlay-bg")}),1e3)},this.NT=function(i){o.userAgent.mobile||(t.jT(i),t.TT&&clearTimeout(t.TT))},this.MT(this.GO,this.ST,this.IT),this.MT(this.g_,this.NT,this.IT)},i.prototype.w_=function(t){this.c_&&this.c_.updateCCTooltip(t)},i.prototype.TO=function(){var t=this.lT(),i=t&&t.title||"";this.yT(),this.vT(),this.updateCurrentItemTitle(i)},i.prototype.yT=function(){this.LO.innerHTML="0:00",this.CO.innerHTML="0:00"},i.prototype.SO=function(t){this.qO&&(t?(A(this.qO).add("fullscreen"),this.RT(d.default.EXIT_FULLSCREEN)):(A(this.qO).remove("fullscreen"),this.RT(d.default.FULLSCREEN_SPACE))),this.DT(t),this.syncAriaState()},i.prototype.RT=function(t){if(this.qO){var i=this.qO.querySelector(".vp-tooltip-content");i&&(i.innerHTML=t)}},i.prototype.ET=function(){var t=this;if(this.hE.seekControls.show){this.G_=new w.default(this.VO,(function(i){i.stopPropagation(),t.publish(r.FORWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-forward-seek-btn"})}));this.Y_=new w.default(this.BO,(function(i){i.stopPropagation(),t.publish(r.BACKWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-backward-seek-btn"})}))}},i.prototype.S_=function(){var t=this;this.zO&&(this.H_=new w.default(this.zO,(function(i){i.stopPropagation();var n=t.zO,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.kT,Math.max(t.kT-1,0));t.publish(r.SEEK,h)}))),this.LT=function(i){var n=t.fO.getAdsOverlayNode();t.cO.publish(c.SEEK_BAR_MOUSEOVER,i),A(t.PO).add("active"),A(t.MO).add("vp-thick-slider"),n&&A(n).add("vp-ads-overlay-bg"),t.CT(i),t.jT(i)},this.PT=function(i){var n=t.fO.getAdsOverlayNode();t.cO.publish(c.SEEK_BAR_MOUSEOUT,i),A(t.PO).remove("active"),A(t.MO).remove("vp-thick-slider"),n&&A(n).remove("vp-ads-overlay-bg"),t.k_(),t.jT(i)},this.MT(this.MO,this.LT,this.PT),this.xT=function(i){if(!isNaN(t.kT)){A(t.PO).add("active"),t.jT(i),t.UT=!0,t.cO.publish(c.CONTROLS_SEEK_START);var n=t.VT(i),s=Math.min(n*t.kT,Math.max(t.kT-1,0));t.cO.publish(c.CTRL_SEEK,Math.round(s)),t.BT(i)}},this.BT=function(i){if(t.UT){t.jT(i),A(t.NO).add("vp-drag"),A(t.PO).add("active"),A(t.MO).add("vp-thick-slider"),t.CT(i);var n=t.VT(i),s=Math.min(n*t.kT,Math.max(t.kT-1,0));s=s>1?s:1;var e="";e=t.hE.sliderColor?"width: "+100*n+"%; background-color: "+t.hE.sliderColor+";":"width: "+100*n+"%;",t.xO.setAttribute("style",e),t.RO.setAttribute("style","width: 0%;"),t.PO.setAttribute("style","left: "+100*n+"%;"),t.cO.publish(c.CONTROLS_SEEKING,s)}},this.FT=function(i){t.UT&&(A(t.NO).remove("vp-drag"),A(t.PO).remove("active"),A(t.MO).remove("vp-thick-slider"),t.k_(),t.jT(i),t.UT=!1,t.cO.publish(c.CONTROLS_SEEK_END))},this.zT(this.MO,this.xT,this.BT,this.FT)},i.prototype.L_=function(){this.HT(this.MO,this.LT,this.PT),this.GT(this.MO,this.xT,this.BT,this.FT)},i.prototype.jT=function(t){-1!==t.type.indexOf("touch")&&t.preventDefault()},i.prototype.N_=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");A(n).add("vp-ad-break"),n.style.left=t.startOffset/s*100+"%",i.MO.appendChild(n)}}))},i.prototype.I_=function(){for(var t=this.MO.querySelectorAll(".vp-ad-break"),i=0;i<t.length;i++)this.MO.removeChild(t[i])},i.prototype._O=function(){this.hT()},i.prototype._c=function(t){var i,n=this.sO,s=this.hE.volume,e=n.currentTime,h=this.kT,o=n.playbackMode;switch(t.keyCode){case 13:this.cO.publish(c.TOGGLE_PLAY_PAUSE);break;case 27:this.fO.updateViewOnEscPress();break;case 32:t.preventDefault(),this.cO.publish(c.TOGGLE_PLAY_PAUSE);break;case 37:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.v_||(i=e-5,this.cO.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.v_||(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.GO){var f=!A(this.GO).contains("vp-on");this.publish(r.TOGGLE_CC,f,!0)}break;case 70:this.fO.toggleFullscreen();break;case 77:this.publish(r.SET_MUTE,!this.hE.mute)}if(t.keyCode>=48&&t.keyCode<=57){var l=(t.keyCode-48)/10;h>0&&this.cO.publish(c.CONTROLS_SEEKING,h*l)}},i.prototype.R_=function(t){var i=Math.min(t/this.kT*100,100);if(this.LO&&m.isNumber(t)&&m.isNumber(this.kT)&&(this.LO.innerHTML=b.default.formatTime(t)),this.CO&&m.isNumber(this.kT)&&(this.CO.innerHTML=b.default.formatTime(this.kT)),m.isNumber(t)&&m.isNumber(this.kT)){var n="";n=this.hE.sliderColor?"width: "+i+"%; background-color: "+this.hE.sliderColor+";":"width: "+i+"%;",this.xO.setAttribute("style",n),this.UT||this.PO.setAttribute("style","left: "+i+"%;"),this.MO.setAttribute("aria-valuemax",this.kT.toString()),this.MO.setAttribute("aria-valuenow",t.toString()),this.MO.setAttribute("aria-valuetext",b.default.formatTime(t)+" of "+b.default.formatTime(this.kT))}},i.prototype.M_=function(t){var i=0;t.length>0&&(i=t.end(0)/this.kT*100),this.RO.setAttribute("style","width: "+i+"%;")},i.prototype.YT=function(t,i){if(!(this.lO&&t&&i&&i.mimetype))return null;if(!this.qT){var n=this.lO.getPlugin(l.PluginType.VISUAL_SEEK,i.mimetype);this.qT=n}return this.qT&&!this.qT.canSeek(t)&&this.qT.update(t,i),this.qT},i.prototype.CT=function(t){var i=this,n=this.lT(),s=this.YT(n.id,n.visualSeekData);if(s){var e=this.VT(t),r=e*n.getRawDuration(),h=e*n.duration,o=s.getThumbnailData(n.id,r);if(o&&o.url)if(!A(this.fO.getContentNode()).contains("vp-hide-controls")){var u;u=e<.09?.09:e>.91?.91:e,this.HO.style.display="block",this.HO.style.left=100*u+"%";var a=this.HO.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.HO.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.WT=v,this.XT=this.XT||setTimeout((function(){var t=i.HO.querySelector(".vp-vs-thumbnail");i.WT&&(t.style.background="url("+i.WT+")"),clearTimeout(i.XT),i.XT=null}),50)}}},i.prototype.zT=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.GT=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.MT=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.HT=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.l_=function(){this.WO&&this.updateVolumeUI(this.hE.volume,this.hE.mute)},i.prototype.ZT=function(){var t=this;this.QT=new w.default(this.WO,(function(i){if(!t.JT){i.stopPropagation(),t.KT(),t.fO.clearAutoHideTimeout(),t.$T&&clearTimeout(t.$T);var n=!t.hE.mute;t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n),t.tS(n)}}))},i.prototype.iS=function(){var t=this,i=function(i){var n,s=function(i){var n;return n=t.fO.getFullscreen()&&(o.userAgent.chrome||o.userAgent.safari)?i.pageX-b.default.getOffsetLeftFromEl(t.ZO,a.VIDEO_MAIN_ELEMENT_CLASS):i.pageX-b.default.getOffsetLeftFromDocument(t.ZO),t.ZO.getBoundingClientRect().left?Math.max(0,Math.min(1,n/t.ZO.clientWidth)):0}(i);n=0===s,t.hE.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.nS=new w.default(this.ZO,(function(n){n.stopPropagation(),t.KT(),i(n)})),this.sS=function(i){t.jT(i),t.JT=!0,t.KT(),t.eS(i)},this.eS=function(n){t.JT&&(t.jT(n),t.KT(),i(n),t.rS(n))},this.hS=function(i){t.JT&&(t.jT(i),t.JT=!1)},this.zT(this.ZO,this.sS,this.eS,this.hS)},i.prototype.AT=function(){var t,i=this;this.oS=function(n){n.stopPropagation(),t||(t=window.setTimeout((function(){i.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-off"}),t=null}),600))},this.t_&&(["mouseenter","touchstart"].forEach((function(t){i.t_.addEventListener(t,i.oS)})),["mousemove","touchmove"].forEach((function(t){i.t_.addEventListener(t,i.oS)})))},i.prototype.tT=function(){var t=this;this.t_&&(["mouseenter","touchstart"].forEach((function(i){t.t_.removeEventListener(i,t.oS)})),["mousemove","touchmove"].forEach((function(i){t.t_.removeEventListener(i,t.oS)})))},i.prototype.tS=function(t){this.hE.ccOnMute&&(t?this.publish(r.TOGGLE_CC,!0,!1):this.publish(r.TOGGLE_CC,!1,!1),this.updateClosedCaptionButtonState(t))},i.prototype.KT=function(){this.KO&&A(this.KO).add("show")},i.prototype.uS=function(){var t=this;this.$T=null;var i=!1;this.rS=function(n){var s=t.fO.getAdsOverlayNode();t.jT(n),t.A_&&t.A_.isOpen()||(A(t.XO).add("open"),s&&A(s).add("vp-ads-overlay-bg"),i||(t.l_(),i=!0),t.KT(),t.E_&&t.E_.hideActiveContainer(t.YO))},this.aS=function(i){var n=t.fO.getAdsOverlayNode();t.jT(i),t.$T&&clearTimeout(t.$T),t.$T=window.setTimeout((function(){A(t.XO).remove("open"),n&&A(n).remove("vp-ads-overlay-bg")}),500)},this.cS=function(i){t.jT(i),t.$T&&clearTimeout(t.$T)},this.MT(this.WO,this.rS,this.aS),this.MT(this.XO,this.cS,this.aS)},i.prototype.OT=function(){var t=this;this.WO&&this.ZT(),this.XO&&this.WO&&(this.iS(),this.uS()),this.$O&&(this.J_=new w.default(this.$O,(function(i){i.stopPropagation();var n=b.default.findClosest(i.eventTarget,".vp-audio-item",t.$O);if(n){var s=t.$O.querySelector(".vp-audio-item-selected"),e=s&&s.getAttribute("data-name");s&&A(s).remove("vp-audio-item-selected"),A(n).add("vp-audio-item-selected"),t.publish(r.SET_AUDIO_LANGUAGE,n.getAttribute("data-name"),e)}else"close"===i.eventTarget.getAttribute("data-action")&&A(t.$O).add("vp-hidden")})))},i.prototype.q_=function(){this.WO&&this.QT.destroy(),this.XO&&(this.nS.destroy(),this.GT(this.XO,this.sS,this.eS,this.hS),this.HT(this.WO,this.rS,this.aS),this.HT(this.XO,this.cS,this.aS))},i.prototype.b_=function(t){var i=this.fO.getContentNode();this.WO&&(t?(A(this.WO).add("muted"),A(i).add("vp-muted")):(A(this.WO).remove("muted"),A(i).remove("vp-muted"))),this.syncAriaState()},i.prototype.y_=function(t){if(this.QO){var i=Math.ceil(100*t),n=100-i;this.QO.setAttribute("style","width:"+i+"%"),this.JO.setAttribute("style","width:"+n+"%")}if(this.KO){var s=Math.ceil(t*(this.ZO.clientWidth-this.KO.offsetWidth/2));this.KO.setAttribute("style","left:"+s+"px")}},i.prototype.j_=function(){var t=this.lT();t&&t.isMultiAudioAvailable()?(this.fS(),A(this.XO).add("vp-multi-audio-available"),this.gA&&A(this.gA).remove("vp-hidden")):(A(this.XO).remove("vp-multi-audio-available"),this.gA&&A(this.gA).add("vp-hidden"),this.$O.innerHTML="")},i.prototype.fS=function(){var t=this.lT(),i=b.default.render(O,{isMobile:o.userAgent.mobile,items:t&&t.languages||[],Strings:d.default});this.$O.appendChild(i)},i.prototype.VT=function(t){var i=((t.clientX||t.touches&&t.touches[0]&&t.touches[0].clientX||t.pageX)-this.MO.getBoundingClientRect().left)/this.MO.clientWidth;return Math.max(0,Math.min(1,i))},i.prototype.k_=function(){this.HO.style.display="none",this.WT=""},i.prototype.DT=function(t){var i=this.fO.getContentNode(),n=this.fO.isStreamMode()||this.fO.isMiniStreamMode(),s=this.fO.isMiniStreamMode()?"vp-ministream":"vp-stream";n&&(t?A(i).remove(s):(A(i).add(s),this.c_&&this.c_.resetSettings()))},i.prototype.h_=function(){this.UO.setAttribute("aria-label",d.default.PLAY_VIDEO),this.MO.setAttribute("aria-label",d.default.SEEK_SLIDER),this.MO.setAttribute("aria-valuemin","0"),this.qO&&this.qO.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN),this.WO&&(A(this.WO).contains("muted")?this.WO.setAttribute("aria-label",d.default.UNMUTE):this.WO.setAttribute("aria-label",d.default.MUTE))},Object.defineProperty(i.prototype,"kT",{get:function(){return this.sO.duration},enumerable:!0,configurable:!0}),i.prototype.lT=function(){return this.hE.playlist.getCurrentItem()},Object.defineProperty(i.prototype,"sO",{get:function(){return this.hE.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.Controls=_},"0MqY":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:{}})},"0VsI":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.baseconfigSchema=void 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"},lS:{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"}}},iframeRender:{type:"boolean"},insideIframeConfig:{type:"object",properties:{parentURL:{type:"string"},iframeVID:{type:"string"}}}}}},"0mEK":function(t,i,n){"use strict";t.exports=a;var s=n("3CCj"),e=n("bpRV"),r=n("juTp"),h=n("D8uh"),o=n("BxIH"),u=n("BxIH").KEY_METHODS;function a(t){if(!t)throw new Error("Invalid argument: data argument of the ProcessorChain is not complete");var i=this;i.WE=t,i.vS=null,i.dS=null,h.call(i,i.constructor.name),t.encryptionData&&t.encryptionData.method!==u.NONE&&(i.vS=i.__controller.create(o,t.encryptionData)),i.dS=s.create(i.__controller,t.containerFormat,t),i.vS&&i.dS.setSource(i.vS),i.pS=i.vS||i.dS,i.mS=i.dS,i.mS&&(i.mS.addEventListener(e.DATA_PROCESS_PROGRESS,(function(t,n){i.publish(e.DATA_PROCESS_PROGRESS,t,n)}),i),i.mS.addEventListener(e.DATA_PROCESS_COMPLETE,(function(t){i.publish(e.DATA_PROCESS_COMPLETE,t)}),i),i.mS.addEventListener(e.DATA_PROCESS_ERROR,(function(){i.publish(e.DATA_PROCESS_ERROR)}),i))}r.inherits(a,h),a.prototype.destroy=function(){this.vS&&(this.vS.destroy(),this.vS=null),this.dS&&(this.dS.destroy(),this.dS=null),this.pS=null,this.mS=null,h.prototype.destroy.call(this)},a.prototype.append=function(t){this.pS&&this.pS.append(t)},a.prototype.close=function(){this.pS&&this.pS.close()},a.prototype.endOfSegment=function(){this.pS&&this.pS.endOfSegment()}},"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"})))}},"0z0/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.ctvSchema=void 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"},bS:{type:"string"},ctv_di:{type:"string"},ctv_ddv:{type:"string"},ctv_dfv:{type:"string"},yS:{type:"string"},gS:{type:"string"},wS:{type:"string"},ES:{type:"string"},AS:{type:"string"},_S:{type:"string"},ctv_yb:{type:"string"},TS:{type:"string"},ctv_yr:{type:"string"},ctv_ybv:{type:"string"},ctv_yv:{type:"string"},SS:{type:"string"},jS:{type:"string"},IS:{type:"string"}}},forceHttp:{type:"boolean"}}}},"0zFh":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=function(){function t(t){var i=this;this.NS=["clear","getCurrentItem","getCurrentItemDescription","getCurrentItemId","getCurrentItemLiveStatus","getCurrentItemMarkers","getCurrentItemProviderName","getCurrentItemTitle","getIndexForId","getItem","getItemById","getItemId","getItems","getPosition","getSize","removeItem","removeItemById","removeItems","removeItemsById","sendPrefetchInfo","setPosition","setPositionById"],this.MS=t,this.NS.forEach((function(t){i[t]=function(){return this.MS[t].apply(this.MS,arguments)}}))}return t.prototype.addItem=function(t){return this.MS.addItem(this.RS([t])[0])},t.prototype.addItems=function(t,i){return void 0===i&&(i=!1),this.MS.addItems(this.RS(t),i)},t.prototype.setItems=function(t){return this.MS.setItems(this.RS(t))},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.MS=t},enumerable:!1,configurable:!0}),t.prototype.RS=function(t){var i=this.DS();return t.map((function(t){return{id:t,mimetype:i}}))},t.prototype.DS=function(){var t=this.MS.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("g6Is"),e=n("he5r"),r=n("z88l"),h=n("FOY8"),o=function(){function t(t,i){this.name="SapiMoreItemsPlugin",this.version="8.2.168",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.MORE_ITEMS,this.kS=!1,this.LS=null,this.hE=t,this.MS=i,this.CS=new h.default(this.hE)}return t.prototype.resolve=function(t,i){var n=this;if(!this.kS&&this.PS(t))switch(t.playlistId=this.hE.playlistId,t.reason){case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:new Promise((function(s){n.CS.resolve(t,i,s)})).then((function(e){t.reason===s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR?n.LS=new Promise((function(s){n.xS(t,i,s)})):n.LS=new Promise((function(t){t()})),n.LS.then((function(t){i.onPromisesResolved(!!e&&!!t)}))}));break;case s.Plugin.MoreItemsReason.CONTENT_LOAD_FINISHED:new Promise((function(s){n.CS.resolve(t,i,s)})).then((function(t){i.onPromisesResolved(!!t)}));break;default:this.CS.resolve(t,i)}},t.prototype.cancel=function(){this.CS.cancel()},t.prototype.destroy=function(){this.cancel(),this.kS=!0},t.prototype.prepare=function(){},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.MS=t},enumerable:!1,configurable:!0}),t.prototype.PS=function(t){var i;if(!this.MS||this.hE.playlistMimetype===r.STRUCTURED_PLAYLIST_MIMETYPE)return!1;var n=this.MS.getPosition()+1===this.MS.getSize(),h=!(!this.hE.playlistId&&!this.hE.relatedVideoId),o=n&&this.hE.continuousPlay&&!this.hE.loop&&h&&!this.hE.showEndScreen,u=0===this.MS.getPosition(),a=null===(i=this.hE.playlistUI)||void 0===i?void 0:i.show;switch(t.reason){case s.Plugin.MoreItemsReason.PLAYBACK_STARTED:return!(!a&&(a||u))&&o;case s.Plugin.MoreItemsReason.CONTENT_LOAD_FINISHED:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:return o;case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:return o&&this.hE.skipOnError!==e.SkipOnError.NEVER;case s.Plugin.MoreItemsReason.SOURCE_LOAD_COMPLETE:var c=this.MS;return!(this.hE.loop||this.hE.showEndScreen||!this.hE.videoRecommendations||!u||!a)&&c.getSize()-c.getPosition()<e.PLAYLIST_COUNT_PER_PAGE;case s.Plugin.MoreItemsReason.SCROLLED_TO_END:return this.hE.continuousPlay&&h;default:return!1}},t.prototype.xS=function(t,i,n){this.kS||(t.start=0,t.count=this.hE.playlistItemCount,t.playlistId="",this.CS.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.US=null,this.VS=i,this.BS=new s.default(t)}return t.prototype.verify=function(t){if(this.BS){var i={onComplete:function(){t(!0)},onError:function(){t(!1)},onProgress:function(){},onApiCallInfo:function(){}};this.VS&&this.BS.resolve([this.VS],{},{},i)}},t.prototype.scheduleVerification=function(t,i){var n=this;this.FS(),this.US=window.setTimeout((function(){n.verify(t)}),i)},t.prototype.destroy=function(){this.FS(),this.BS=null,this.VS=null},t.prototype.FS=function(){this.US&&(clearTimeout(this.US),this.US=null)},t}();i.default=e},"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},"2Juj":function(t,i,n){"use strict";n.r(i);var s=n("JPst"),e=n.n(s),r=n("HeW1"),h=n.n(r),o=n("/jeC"),u=n.n(o),a=n("svza"),c=n.n(a),f=e()(!1),l=h()(u.a),v=h()(c.a);f.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("+l+");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("+v+");width:110px}.vp-browser-mobile .vp-nfl-branding-container .vp-nfl-brand-logo{margin-left:50px;margin-top:2px;width:157px;height:20px}",""]),i.default=f},"38mS":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isNonEmptyString=i.isFunction=i.isObject=i.isString=i.isNumber=i.isNullOrUndefined=i.isBoolean=i.isArray=void 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}},"3CCj":function(t,i,n){"use strict";var s=n("ndEW"),e=n("9Gce"),r=n("b8vU");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)}},"3Kxk":function(t,i,n){"use strict";t.exports=l;var s=n("juTp"),e=n("qudH"),r=e.Command,h=e.CmdNames,o=e.CmdEvents,u=n("LmPb"),a=n("l+r/").AbrModes,c=n("zY0b"),f=n("WYoP");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.hE=n.__controller.model,n.ERR_INTERVAL_AFTER_BUFFER_EMPTY=1e4,n.zS=new u(n.ERR_INTERVAL_AFTER_BUFFER_EMPTY,1),n.zS.addEventListener((function(){n.zS.destroy(),n.HS()}),n),n.GS(t.streamIndex),n.YS=-1}s.inherits(l,r),l.prototype.destroy=function(){this.zS&&this.zS.destroy(),r.prototype.destroy.call(this)},l.prototype.execute=function(t){if(!this.zS.running||-1===this.YS||t===this.YS)if(this.data.error&&this.data.error.code===f.ERR_XHR_LOAD_FORBIDDEN[0])this.HS();else{if(this.hE.getABRMode()===a.AUTO){if(this.qS.length){var i=this.qS.shift();return this.publish(o.CMD_PROGRESS,this,{index:i}),void(this.YS=i)}if(0!==this.hE.currentLoadingStreamIndex)return this.publish(o.CMD_PROGRESS,this,{index:0}),void(this.YS=0)}this.hE.bufferLength>.15||this.zS.start()}},l.prototype.cancel=function(){},l.prototype.GS=function(t){if(this.qS=[],!(t<0||t>=this.hE.streams.length)){var i,n=t;for(i=n-1;i>=0;i--)this.qS.push(i);for(i=n+1;i<this.hE.streams.length;i++)this.qS.push(i)}},l.prototype.HS=function(){this.publish(o.CMD_ERROR,this)}},"3NxK":function(t,i,n){"use strict";t.exports.StreamLoader=a;var s=n("qudH").CmdNames,e=n("l+r/").MetadataTypes,r=n("WYoP"),h=n("juTp"),o=n("D8uh"),u=t.exports.Events={STREAM_LOADED:"streamLoaded",STREAM_LOAD_ERROR:"streamLoadError"};function a(t){o.call(this,this.constructor.name),this.hE=this.__controller.model,this.WS=t,this.XS=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.WS.executeCommand(s.CMD_STREAM_LOAD,{stream:t,retryOpts:i},this))},a.prototype.cancel=function(){this.WS.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.hE.build(this.XS.parse(s)),this.WS.removeCommand(t),this.loaded=!0,this.publish(u.STREAM_LOADED,n)}else this.WS.removeCommand(t)},a.prototype.onStreamLoadError=function(t,i){this.WS.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)}},"3TS/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.NOT_RESOLVED="notResolved",t.RESOLVING="resolving",t.RESOLVED="resolved",t.RESOLVED_ERROR="resolvedError"}(i.ResolvedState||(i.ResolvedState={})),function(t){t.AD="ad",t.BLACKOUT="blackout",t.BUMPER="bumper"}(i.AdBreakItemType||(i.AdBreakItemType={}))},"3ZmJ":function(t,i,n){"use strict";t.exports.SubtitleStreamer=u,t.exports.SubtitleLiveStreamer=a;var s=n("juTp"),e=n("yUCA").Streamer,r=n("a29t"),h=n("qudH").CmdNames,o=n("9m1L").HLSEvent;function u(t,i){this.ZS(t,i)}function a(t,i){this.ZS(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.ZS=u.prototype.ZS=function(t,i){this.constructor.super_.call(this,t,i),this.QS=this.constructor.super_.prototype,this.JS={},this.KS=h.CMD_SUBTITLE_SEGMENT_LOAD,this.primary=!1,this.$S=t.isReady()?this.STATES.INITIALIZED:this.STATES.NONE},a.prototype.destroy=u.prototype.destroy=function(){this.JS={},this.QS.destroy.call(this)},a.prototype.onPlay=u.prototype.onPlay=function(t){this.QS.onPlay.call(this,t)},a.prototype.onTimeUpdate=u.prototype.onTimeUpdate=function(t){this._j=t},a.prototype.tI=u.prototype.tI=function(){return this.iI(this._j)>=this.nI},a.prototype.sI=u.prototype.sI=function(){return this.iI()>=this.hE.config.maxTotalBuffer},a.prototype.eI=u.prototype.eI=function(t){var i=this.rI;return i?{subtitleStream:i,segment:i.getSegmentfromSeqNum(t),live:this.hE.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.JS[n.sequenceNum]={start:n.startTime,end:n.startTime+n.duration}}this.QS.onSegmentLoadComplete.call(this,t)},a.prototype.onSubtitleSegmentLoadError=u.prototype.onSubtitleSegmentLoadError=function(t){this.$S=this.STATES.NONE,this.WS.removeCommand(t)},a.prototype.hI=u.prototype.hI=function(t){var i=this.rI,n=t;if(!isNaN(n))for(;this.JS[n];)n++;return!this.oI&&n>i.endSeqNum?(this.uI(!0),i.endSeqNum):n},a.prototype.iI=u.prototype.iI=function(t){var i=this.rI,n=i.getSeqNumBeforePosition(t);if(isNaN(n))return 0;for(var s=0;n<=i.endSeqNum;n++){var e=this.JS[n];if(!e)break;s=e.end-t}return s},a.prototype.aI=u.prototype.aI=function(){var t=this,i=0;return Object.keys(t.JS).forEach((function(n){var s=t.JS[n];s&&(i+=s.end-s.start)})),i},a.prototype.cI=u.prototype.cI=function(){this.rI},a.prototype.fI=u.prototype.fI=function(){},a.prototype.lI=u.prototype.lI=function(){},a.prototype.onSynchMetadataReady=u.prototype.onSynchMetadataReady=function(){},a.prototype.setABRMode=u.prototype.setABRMode=function(){},a.prototype.canSwitch=u.prototype.canSwitch=function(){return!0}},"3mMn":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("Thcf"),h=n("xl6w"),o=n("yf6s"),u=n("JBcr"),a=n("9wD4"),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._e=null,s.cE=!1,s.kS=!1,s}return e(i,t),i.prototype.destroy=function(){this.kS=!0,this.cancel(),t.prototype.destroy.call(this)},i.prototype.execute=function(){if(!this.cE&&!this.kS){var t=this.data,i=t.cb,n=t.mimetype,s=t.reason,e=t.start,r=this.lO.getPlugin(h.PluginType.MORE_ITEMS,n);this._e=i;var o={mimetype:n,reason:s,start:e};r&&(this.vI=r,this.cE=!0,r.resolve(o,this))}},i.prototype.cancel=function(){this.vI&&this.cE&&(this.vI.cancel(),this.cE=!1)},i.prototype.onComplete=function(t){this.cE&&!this.kS&&(this.cE=!1,this.publish(a.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.cE&&!this.kS&&(this.cE=!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._e&&this._e(t)},i}(u.default);i.default=c},"3q18":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)}}},"46G8":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("qS2y"),e=n("YkHH"),r=function(){function t(t){if(this.dI={},!t)throw Error("[InStreamAdAnalytics] Cannot initialize InStreamAdAnalytics. Bad instreamAdManager instance!");this.pI=t,this.a_()}return t.prototype.destroy=function(){this.pI.destroy(),this.dI={}},t.prototype.a_=function(){var t=this;Object.keys(e.InstreamAdManagerEvent).forEach((function(i){t.dI[e.InstreamAdManagerEvent[i]]=t.pI.on(e.InstreamAdManagerEvent[i],t.mI,t)}))},t.prototype.mI=function(t){t&&t.forEach((function(t){return s.default.sendImageBeacon(t)}))},t}();i.default=r},"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.bI,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"))},"4YVY":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("hq3Z"),o=n("bBNp"),u=n("vkqS"),a=n("3q18"),c=n("xl6w"),f=n("ablw"),l=n("yf6s");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.lO=i,n.yI=null,n.gI=l.default.noop,n.wI=n.EI(o.default.mimetype),n}return e(i,t),Object.defineProperty(i.prototype,"node",{get:function(){return this.OI},enumerable:!0,configurable:!0}),i.prototype.create=function(){return this.OI||(this.OI=document.createElement("div"),v(this.OI).add("vp-adview-wrapper"),v(this.OI).add("vp-hidden")),this.OI},i.prototype.onAdBreakStart=function(t){this.AI()},i.prototype.onAdBreakEnd=function(t){this._I(),this.TI(),this.SI(null)},i.prototype.onAdBreakItemCurrent=function(t){this.jI=!1,this.TI();var i=t.adBreak,n=i.adBreakItems.indexOf(t);if(t.interactionConfig&&t.interactionConfig.chromeless)this.SI(null);else{this.SI(this.II(t));var s=this.yI.renderUI(t.rawItemData,{position:n,total:i.adBreakItems.length,adBreakDuration:i.duration,adBreakItems:i.adBreakItems.map((function(t){return t.rawItemData}))});s?this.OI.appendChild(s):this.SI(null)}},i.prototype.enableClickBlocking=function(t){this.OI&&v(this.OI)[t?"add":"remove"]("vp-block-pointer-evts")},i.prototype.destroy=function(){this._I(),this.TI(),this.SI(null),this.wI=null,this.lO=null,this.OI=null},i.prototype.AI=function(){this.OI&&v(this.OI).remove("vp-hidden")},i.prototype._I=function(){this.OI&&v(this.OI).add("vp-hidden")},i.prototype.TI=function(){if(this.yI&&this.yI.unrenderUI(),this.OI)for(;this.OI.firstChild;)this.OI.removeChild(this.OI.firstChild)},i.prototype.NI=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.SI=function(t){t!==this.yI&&(this.gI(),t?(this.yI=t,this.gI=a.listenEventDispatcherEvts(this.yI,Object.keys(u.AdPluginUIEvent).map((function(t){return u.AdPluginUIEvent[t]})),this.NI.bind(this))):(this.yI=null,this.gI=l.default.noop))},i.prototype.II=function(t){var i=this.EI(t.adPluginMimeType);return i&&f.isAdViewAdPlugin(i)&&i.canRenderUI(t.rawItemData)?i:this.wI},i.prototype.EI=function(t){return t?this.lO.getPlugin(c.PluginType.AD,t):null},i}(h.default);i.default=d},"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)},"5JRy":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:{}})},"5JzN":function(t,i){},"5dhR":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"]}},"62lf":function(t,i,n){"use strict";var s=this&&this.__values||function(t){var i="function"==typeof Symbol&&Symbol.iterator,n=i&&t[i],s=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&s>=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var e=n("epmY"),r=n("hfFI"),h=function(){function t(t,i){this.id=t,this.MI={},this.RI=new Map,this.ZE(i)}return t.prototype.destroy=function(){this.MI=null,this.RI.clear(),this.RI=null},t.prototype.ZE=function(t){var i=r.default.deepCopy(t);i=r.default.mergeObjects(i,e.defaultConfigs),this.config=i},t.prototype.addSegmentInfo=function(t){t&&(this.MI[t.seqNum]=t)},t.prototype.updateDateRanges=function(t){var i,n;if(t)try{for(var e=s(Object.keys(t)),r=e.next();!r.done;r=e.next()){var h=r.value,o=t[h],u=o.jsonData;o.clockOffset="urn:uplynk:content-data:watchtogether"===o.className&&u?1e3*u.latency_ts-o.startDate:NaN,this.RI.set(h,o)}}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}},t.prototype.getCurrentFramePdt=function(t){var i,n;try{for(var e=s(Object.values(this.MI)),r=e.next();!r.done;r=e.next()){var h=r.value;if(h.startTime<=t&&h.endTime>t)return h.pdt+1e3*(t-h.startTime)}}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}return NaN},t.prototype.getClockOffset=function(t){var i,n;try{for(var e=s(this.RI.values()),r=e.next();!r.done;r=e.next()){var h=r.value;if(h.startDate<=t+h.clockOffset&&(!h.endDate||h.endDate>t+h.clockOffset))return h.clockOffset}}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}return NaN},t}();i.default=h},"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},"6W2X":function(t,i,n){"use strict";function s(){this.LOCALSTORAGE_PREFIX="com.yahoo.yep",this.DI=this.kI()}t.exports=s,s.prototype.kI=function(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}},s.prototype.writeProperty=function(t,i){this.DI&&(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.DI){t=this.LOCALSTORAGE_PREFIX+"."+t;var i=JSON.parse(window.localStorage.getItem(t));return i||null}return null}},"6ehb":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'>"),s.b(s.v(s.d("strings.MORE_CAPTION_SETTINGS",t,i,0))),s.b("</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'>"),s.b(s.v(s.d("strings.CAPTION_LANGUAGES",t,i,0))),s.b("</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'>"),s.b(s.v(s.d("strings.CC",t,i,0))),s.b("</div>"),s.b("\n"+n),s.b("            <div class='vp-ccs-value' tabindex='0'>"),s.b(s.v(s.d("strings.ON",t,i,0))),s.b("</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'>"),s.b(s.v(s.d("strings.MORE_CAPTION_SETTINGS",t,i,0))),s.b("</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:{}})},"6u/y":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.LI=n>0?n:Number.POSITIVE_INFINITY,s.CI=0,s.running=!1,s.startTime=0,s.xI=null,s.UI={},s.VI={},s}return e(i,t),i.prototype.destroy=function(){this.reset(),this.UI={},t.prototype.removeEventListeners.call(this,this.VI),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.VI[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.VI)},i.prototype.start=function(){var t=this;this.xI||this.running||(this.xI=window.setInterval((function(){t.CI++,t.CI>=t.LI&&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.xI&&this.running&&(window.clearInterval(this.xI),this.xI=null,this.running=!1,this.startTime=0)},i.prototype.reset=function(){this.stop(),this.CI=0,this.startTime=0},i.TIMER_EVENT="timedOut",i}(n("hq3Z").default);i.default=r},"78k4":function(t,i,n){"use strict";t.exports=a;var s=n("e6ei"),e=n("D8uh"),r=n("9m1L"),h=n("juTp"),o=n("9mgm").userAgent,u=n("jkz4");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.BI=[],r.FI=!1,r.node.mediaKeys?(r.node.src="",r.node.setMediaKeys(null).then((function(){r.GS(t,i,n,s)}))):r.GS(t,i,n,s)}h.inherits(a,e),a.prototype.GS=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.FI=!0,this.node.load(),this.zI()},a.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.HI=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.GI(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.GI=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.BI.push(["setABRMode",[t]])},a.prototype.setAudioLanguage=function(t){this.controller?this.controller.setAudioLanguage(t):this.BI.push(["setAudioLanguage",[t]])},a.prototype.play=function(t){this.controller?this.controller.play(t):this.BI.push(["play",[t]])},a.prototype.pause=function(){this.controller?this.controller.pause():this.BI.push(["pause"])},a.prototype.preload=function(t){this.controller?this.controller.preload(t):this.BI.push(["preload",[t]])},a.prototype.getCurrentDate=function(){return this.controller?this.controller.getCurrentDate():null},a.prototype.suspendStreaming=function(){this.controller&&(this.FI=!1,this.controller.suspendStreaming())},a.prototype.resumeStreaming=function(){this.controller&&!this.FI&&(this.controller.resumeStreaming(),this.FI=!0)},a.prototype.getSyncOffset=function(){return this.controller?this.controller.getSyncOffset():NaN},a.prototype.destroy=function(){this.controller&&this.controller.destroy(),this.appModel&&this.appModel.destroy(),this.mediaSource=null,this.FI=!1,e.prototype.destroy.call(this)},a.prototype.zI=function(){var t=this,i=t.BI;t.BI=[],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)}))}},"7Meh":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("hq3Z"),o=n("wqBe"),u=n("vkqS"),a=n("3q18"),c=n("r/Xn"),f=n("S8wC"),l=n("xl6w"),v=n("6u/y"),d=n("ablw");!function(t){t.AD_BREAK_NEED_RESOLVE="adBreakNeedResolve",t.AD_BREAK_ITEM_NEED_SOURCE="adBreakItemNeedSource",t.AD_BREAK_ITEM_PLAY="adBreakItemPlay",t.AD_BREAK_ITEM_PLAYING="adBreakItemPlaying",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.hE=i,s.YI=n,s.qI=null,s.WI={},s.XI={},s.ZI={},s.QI={},s.JI={},s.KI={},s.$I={};var e=s.hE.config.ads.timeout,r=e.load+e.start;return s.tN={},s.iN=new v.default(1e3*r,1),s.nN=s.iN.addEventListener(v.default.TIMER_EVENT,s.sN,s),s}return e(i,t),i.prototype.prepareAdsForItem=function(t){var i=t.refPlaybackId;if(t.adConfig&&t.adConfig.mimetype){var n=this.YI.getPlugin(l.PluginType.AD,t.adConfig.mimetype),s=this.eN(i,n);if(n&&s&&d.isAdResolverAdPlugin(n)){this.tN[i]={item:t,beginTS:Date.now()},this.rN({evt:"ad_fetch"},t);var e=this.hE.playlist.position;n.fetchAdBreaks({refId:i,config:t.adConfig.value,pos:e})}}else this.eN(i,null)},i.prototype.startTracking=function(t){var i=this,n=t.refPlaybackId;n!==this.hN&&(this.oN(),this.uN(t),this.WI[n]={},this.XI[n]={},this.JI[n]=[],this.ZI={},this.QI={},this.aN=[],this.cN=null,this.fN=!1,this.qI=null,this.lN=null,this.vN=null,this.dN.adBreaks&&(this.iN.reset(),this.dN.adBreaks.forEach((function(n){i.pN(t,n)}))))},i.prototype.resolveAdBreaks=function(t,i){var n=this,s=t.refPlaybackId,e=this.WI[s]&&this.WI[s][i],r=this.KI[s];d.isAdResolverAdPlugin(r)&&e&&0!==e.length&&e.forEach((function(t){t.hasResolved()||t.error||n.ZI[t.adBreakId]||n.QI[t.adBreakId]||(n.ZI[t.adBreakId]=t.mediaItem,r.resolveAdBreak(t.rawItemData))}))},i.prototype.getPlayingInstreamAd=function(){return this.qI||null},i.prototype.updatePlaybackProgress=function(t){var i=t.currentTime;if(t.playingItem===this.dN){var n=this.mN(i);if(n!==this.qI){var s=this.qI;this.qI=n,this.bN(s,n)}}},i.prototype.onMediaItemPlaybackEnded=function(t){},i.prototype.handleMediaItemSeeked=function(t,i,n){if(t===this.dN&&(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.dN===t){this.hE.playbackState.currentMediaType=i;var s=Object.keys(this.tN).map((function(t){return n.tN[t].item})).some((function(t){return t===n.dN}));if(this.yN(i,t),!s){var e=t.refPlaybackId,h=this.WI[e]&&this.WI[e][i]||[],o=this.XI[e]&&this.XI[e][i]||[];if(0===h.length&&0===o.length)return this.oN(),void this.publish(r.AD_CLIENT_COMPLETED,i,t);this.resolveAdBreaks(t,i),this.gN(t,i)}}},i.prototype.pauseClientAdStartTimer=function(){this.iN&&this.iN.stop()},i.prototype.resumeClientAdStartTimer=function(){this.wN()&&this.iN&&!this.iN.running&&this.iN.start()},i.prototype.handleAdBreakResolved=function(t,i){t&&i&&(delete this.ZI[i.adBreakId],this.pN(t,i),this.EN(t,[i])&&this.gN(t,i.type))},i.prototype.handleAdBreakItemPlaybackStarted=function(t){t.instream||(this.AN(),this.publish(r.AD_BREAK_ITEM_STARTED,t))},i.prototype.handleAdBreakItemEnded=function(t){this._N(t,!1,!1)},i.prototype.handleAdBreakItemError=function(t){this._N(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.iN.removeEventListener(v.default.TIMER_EVENT,this.nN),this.iN.destroy(),this.iN=null,Object.keys(this.$I).forEach((function(t){i.$I[t]()})),this.tN=null},i.prototype._N=function(t,i,n){if(!t.instream){this.publish(r.AD_BREAK_ITEM_ENDED,t),this.cN=null;var s=t.adBreak,e=s.mediaItem;!i&&this.hE.loop&&s.type===c.AdBreakType.NATIVE||(n||t===s.adBreakItems[s.adBreakItems.length-1])&&this.publish(r.AD_BREAK_ENDED,s),n||(this.fN=!1,this.gN(e,s.type))}},i.prototype.mN=function(t){for(var i=0,n=this.aN.length-1;i<=n;){var s=i+Math.floor((n-i)/2),e=this.aN[s];if(t>=e.startOffset&&t<e.endOffset)return e.adBreakItem;t>e.endOffset?i=s+1:n=s-1}return null},i.prototype.bN=function(t,i){if(i&&!t){if(i===i.adBreak.adBreakItems[0]){if(!i.adBreak.active)return this.qI=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.pN=function(t,i){var n=this,s=i.type,e=t.refPlaybackId;this.WI[e]=this.WI[e]||{},this.WI[e][s]=this.WI[e][s]||[],this.XI[e]=this.XI[e]||{},this.XI[e][s]=this.XI[e][s]||[],i.hasResolved()||i.error?i.adBreakItems.forEach((function(t,r){if(t.instream){var h=0===r?i.startOffset:n.aN[n.aN.length-1].endOffset;n.aN.push({adBreakItem:t,startOffset:h,endOffset:h+t.duration})}else n.XI[e][s].push(t)})):this.WI[e][s].push(i)},i.prototype.oN=function(){if(this.AN(),this.dN){var t=this.hN;this.tN&&this.tN[t]&&delete this.tN[t]}this.fN=!1,this.ZI={},this.QI={}},i.prototype.gN=function(t,i){var n=this;if(!this.fN){var s,e=t.refPlaybackId,h=this.XI[e]&&this.XI[e][i]||[],o=h.filter((function(t){return-1===(n.JI[e]||[]).indexOf(t.adBreakItemId)}));if(!(s=i===c.AdBreakType.NATIVE&&this.hE.loop?h[0]:o[0]))return Object.keys(this.ZI).length>0?void 0:(this.oN(),void this.publish(r.AD_CLIENT_COMPLETED,i,this.dN));this.fN=!0,this.JI[e]=this.JI[e]||[],this.JI[e].push(s.adBreakItemId),s===s.adBreak.adBreakItems[0]&&this.publish(r.AD_BREAK_STARTED,s.adBreak),this.rN({evt:"ad_play"},t),this.cN=s,this.publish(r.AD_BREAK_ITEM_PLAY,s)}},i.prototype.yN=function(t,i){this.AN(),this.lN=t,this.vN=i,this.iN.start()},i.prototype.sN=function(){var t=this.lN,i=this.vN;this.cN&&this._N(this.cN,!0,!0),this.oN(),this.publish(r.AD_CLIENT_TIMEOUT,t,i)},i.prototype.AN=function(){this.iN.reset(),this.lN=null,this.vN=null},i.prototype.EN=function(t,i){var n=this;return!(t!==this.dN||t!==this.vN||!this.iN)&&i.some((function(t){return t.type===n.lN}))},i.prototype.TN=function(t,i){return!(t!==this.dN||t!==this.vN||!this.iN)},i.prototype.wN=function(){return!!this.lN},i.prototype.SN=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:case u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR:if(n=h[0],!(s=this.ZI[n.adBreakId]))return;this.QI[n.adBreakId]=s;var f=null;i===u.AdPluginEvent.AD_BREAK_RESOLVE_ERROR&&(f=new Error("Ad Plugin Resolve Error"));var l=s.updateAdBreak(n,this.hE.adsRendererTypes,this.hE.capabilities,f);this.handleAdBreakResolved(s,l);break;case u.AdPluginEvent.AD_SUBTITLES_FOUND:this.publish(o.AD_SUBTITLE_TRACK_ADDED,h[0]);break;case u.AdPluginEvent.AD_BREAK_PLAYING:this.publish(r.AD_BREAK_ITEM_PLAYING);break;case u.AdPluginEvent.AD_BREAKS_AVAILABLE:var v=h[0],p=this.tN[v.refId];if(delete this.tN[v.refId],p&&(s=p.item,this.rN({evt:"ad_fetched",latency:Date.now()-p.beginTS},s)),!p||!s||!v.refId)return;var m=v.adBreaks;m||(m=[]);var b=s.addAdBreaks(v.adBreaks);b.forEach((function(t){e.pN(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)})),this.TN(s,b)?this.playClientAdBreaks(s,this.lN):this.resolveAdBreaks(s,c.AdBreakType.PREROLL);break;case u.AdPluginEvent.DIAGNOSTICS:var y=h[0];this.publish(r.AD_DIAGNOSTICS,y);break;case u.AdPluginEvent.METRICS:var g=h&&h[0],w=g&&g.evt;if("string"==typeof w){var E="object"==typeof g?Object.assign({},g):{evt:w};this.rN(E,this.dN)}}},i.prototype.eN=function(t,i){return!this.KI[t]&&(this.KI[t]=i,i&&(this.$I[i.mimetype]||(this.$I[i.mimetype]=a.listenEventDispatcherEvts(i,Object.keys(u.AdPluginEvent).map((function(t){return u.AdPluginEvent[t]})),this.SN.bind(this)))),!0)},i.prototype.uN=function(t){this.dN=t,this.hN=t.refPlaybackId},i.prototype.rN=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},"7PPe":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("wqBe"),o=n("wqBe");!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_BLOCKED="playbackBlocked",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_DIMENSION_CHANGE="playerDimensionChange",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",t.STREAM_SYNCH_COMPLETE="streamsynchComplete",t.STREAM_SYNCH_STRATEGY_APPLIED="streamsynchStrategyApplied",t.DATERANGE_STARTED="daterangestarted",t.DATERANGE_ENDED="daterangeended"}(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_BLOCKED]=o.VideoEvent.BLOCKED,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_DIMENSION_CHANGE]=h.PLAYER_DIMENSION_CHANGE,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[r.DATERANGE_STARTED]=h.DATERANGE_STARTED,s[r.DATERANGE_ENDED]=h.DATERANGE_ENDED,s[h.OPSS_VISIBILITY_CHANGED]=h.OPSS_VISIBILITY_CHANGED,s[h.PLAYLIST_BOTTOM_HEIGHT_CHANGE]=h.PLAYLIST_BOTTOM_HEIGHT_CHANGE,s),a=function(){function t(t,i,n){this.jN=t,this.IN=i,this.cO=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.cO.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.IN&&t.IN.getEventsDto()||{};r.push(h),setTimeout((function(){var n;(n=t.jN).publish.apply(n,e([i],r))}))}),t)}))},t.prototype.getAllExternalEvtNames=function(){return Object.keys(u)},t}();i.ExternalEvtAPI=a},"7TGM":function(t,i,n){"use strict";t.exports.Fmp4Streamer=f,t.exports.Fmp4LiveStreamer=l;var s=n("juTp"),e=n("a29t"),r=n("yUCA").Streamer,h=n("qudH").CmdNames,o=n("HNSW").StreamTypes,u=n("mvD1"),a=n("l+r/").StreamingMode,c=n("zY0b");function f(t,i){r.call(this,t,i),this.QS=this.constructor.super_.prototype,this.NN=null,this.GS(t)}function l(t,i){e.call(this,t,i),this.QS=this.constructor.super_.prototype,this.NN=null,this.GS(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.GS=f.prototype.GS=function(t){this.MN(t);var i=[{type:this.RN,mimeType:this.RN+'/mp4; codecs="'+this.DN+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[i],["tracks"])},l.prototype.MN=f.prototype.MN=function(t){t.type===o.AUDIO?(this.DN=this.hE.userAgent.android?"mp4a.40.2":t.audioCodec||"mp4a.40.2",this.RN="audio"):(this.DN=t.videoCodec||"avc1.640021",this.RN="video")},l.prototype.setCurrentStream=f.prototype.setCurrentStream=function(t){t&&this.rI&&!t.equals(this.rI)&&(this.rI=t,this.$S===this.STATES.LOADING&&this.abortCurrentSegment(this.kN),this.isStreamReady()||(this.$S=this.STATES.NONE))},l.prototype.LN=f.prototype.LN=function(t,i,n,s){var e=this.rI;this.WS.removeRelatedCommands(h.CMD_MP4_INIT_SEGMENT_LOAD);var r={stream:e,segment:i,initSegment:t,comboLoad:n,cached:s};this.WS.executeCommand(h.CMD_MP4_INIT_SEGMENT_LOAD,r,this)},l.prototype.CN=f.prototype.CN=function(t){if(!(this.$S>=this.STATES.INITIALIZING)){var i=c.isNullOrUndefined(t)?this.PN(this.xN):t,n=this.rI,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.$S=this.STATES.INITIALIZING,e&&e.periodId!==this.NN&&this.UN(e.periodId),this.VN(e?e.periodId:null),this.LN(r,e,o,h)}}},l.prototype.onMp4InitSegmentLoadProgress=f.prototype.onMp4InitSegmentLoadProgress=function(t,i){var n=this.rI;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.BN.mp4BoxParser.parse(o,"sidx",r.sidxOffset));break;case"first":return void this.onSegmentLoadProgress(t,i)}n.equals(r)&&r.isReady()&&(this.FN(h),this.$S=this.STATES.INITIALIZED,i.comboLoad&&s&&(this.zN=s.seqNum,this.$S=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.$S<this.STATES.INITIALIZED&&this.rI.equals(i.stream)&&(this.$S=this.STATES.INITIALIZED),this.WS.removeCommand(t))}},l.prototype.onMp4InitSegmentLoadError=f.prototype.onMp4InitSegmentLoadError=function(t,i){this.WS.removeCommand(t)},l.prototype.onSegmentLoadProgress=f.prototype.onSegmentLoadProgress=function(t,i){var n=this.rI;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.DN,type:this.RN,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.lI([e])}r.prototype.onSegmentLoadProgress.call(this,t,i)}}},l.prototype.UN=f.prototype.UN=function(t){if(this.NN!==t){this.NN=t;var i=this.rI;"MAIN"!==this.type&&"AUDIO"!==this.type||this.HN(t,i),this.VN(t)}},l.prototype.HN=f.prototype.HN=function(t,i){for(var n=this.hE.streams,s=(this.type,0);s<n.length;s++)n[s].groupId;i.groupId},l.prototype.VN=f.prototype.VN=function(t){var i=this,n=i.rI;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.FN=f.prototype.FN=function(t){var i=this.rI;if(t){var n=t.data;if(n){var s={data:new Uint8Array(n.buffer),codec:this.DN,type:this.RN,minBufferTime:this.__controller.getMinimumBufferTime(),onlyMetadata:!0};this.lI([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.lI([s]))}}}},l.prototype.cI=f.prototype.cI=function(t,i){},l.prototype.GN=f.prototype.GN=function(t){var i=this.rI.getSegmentfromSeqNum(t);i&&i.periodId!==this.NN&&this.UN(i.periodId),this.$S=this.STATES.NONE,this.YN=!0,this.zN=t,this.CN(t)},f.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},l.prototype.qN=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.QS.qN.call(this,t)}},"7eEh":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:{}})},"7fx/":function(t,i,n){var s=n("LboF"),e=n("2Juj");"string"==typeof(e=e.__esModule?e.default:e)&&(e=[[t.i,e,""]]);var r={insert:"head",singleton:!1};s(e,r);t.exports=e.locals||{}},"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)}}))},"8oxB":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}},"91sO":function(t,i,n){"use strict";t.exports=e;var s=n("zbCN");function e(){this.WN=null,this.XN=new s}e.prototype.destroy=function(){this.WN=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.ZN(i,h))?n.length:0}t.frames.length&&(r+=(s=this.QN(i))?s.length:0,r+=(e=this.JN(i))?e.length:0),this.WN=new Uint8Array(r);var o=0;n&&(this.WN.set(n,o),o+=n.length),s&&(this.WN.set(s,o),o+=s.length),e&&(this.WN.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.WN,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.ZN=function(t,i){if(!t||!t.length)return null;var n=this.XN.initSegment(t,i);return n||null},e.prototype.QN=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.KN(t.type.track.config.timescale),n.duration}))})),i.XN.moof(n,t)):null},e.prototype.JN=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.XN.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.KN=function(t,i){return("audio"===t?.0232199546:.0333333333)*i}},"93LJ":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(t,i){var n=this;this.events={completes:[],firstquartiles:[],impressions:[],midpoints:[],thirdquartiles:[]},this.adID=t.adID||"",this.duration=t.duration||-1;var s=t.events;Object.keys(s).forEach((function(t){n.events[t]=s[t]||[]})),this.startTime=i,this.endTime=-1,this.status={impressions:!1,firstquartiles:!1,midpoints:!1,thirdquartiles:!1,completes:!1}};i.default=s},"9CAz":function(t,i,n){"use strict";var s=n("mfPw"),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()}}},"9Gce":function(t,i,n){"use strict";t.exports=c;var s=n("G/PW"),e=n("juTp"),r=n("zY0b"),h=n("D8uh"),o=n("bpRV"),u=n("w4Wb").AACStream,a=n("9m1L").HLSEvent.PCR_AVAILABLE;function c(t){h.call(this,this.constructor.name),this.WE=t,this.$N=null,this.tM="start",this.rE=new u,this.iM=!1,this.VI={},this.nM=this.__controller.create(s,t,this.sM.bind(this)),this.eM=t.lastChunkEndTs?t.lastChunkEndTs.audio:NaN,this.rM=t.lastFrameDuration?t.lastFrameDuration.audio:NaN,r.isNullOrUndefined(this.WE.pcr)&&(this.VI[a]=this.__controller.addEventListener(a,this.hM,this))}e.inherits(c,h),c.prototype.destroy=function(){this.close(),this.nM.destroy(),this.rE.destroy(),h.prototype.destroy.call(this)},c.prototype.setSource=function(t){this.oM=t,this.uM()},c.prototype.uM=function(){var t=this;t.oM&&(t.oM.addEventListener(o.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.oM.addEventListener(o.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.oM.addEventListener(o.DATA_PROCESS_ERROR,(function(i){t.publish(o.DATA_PROCESS_ERROR,i)}),t))},c.prototype.close=function(){this.$N=null,this.__controller.removeEventListener(a,this.VI[a]),this.nM.close()},c.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.$N&&(s=(n=this.$N).length);var e=s+i;this.$N=new Uint8Array(e),n&&this.$N.set(n),this.$N.set(t,s),this.aM()}}},c.prototype.hM=function(t){this.WE.pcr=t,this.aM(),this.__controller.removeEventListener(a,this.VI[a])},c.prototype.aM=function(){var t=this.WE.pcr;if(!r.isNullOrUndefined(t)){if(this.$N&&this.$N.length>0){var i;i=this.eM&&this.rM?t+this.eM+this.rM:t+this.WE.startTime*this.WE.timescale;var n=this.rE.readFramesFromBitstream(this.$N,i);this.$N=this.$N.subarray(n)}var s=this.rE.getLastFrameDetails();s&&(this.eM=s.timestamp-t,this.rM=s.duration),(this.rE.ready||this.iM)&&this.cM()}},c.prototype.cM=function(){var t=this.rE.getFrames(),i=t&&t.length>0;if("end"===this.tM||i){var n=i?t[0].dts:null,s={audio:{frames:t,config:this.rE.getConfig()},pcr:n};this.nM.processSegmentData({avData:s,pos:this.tM}),"start"===this.tM&&(this.tM="middle")}},c.prototype.endOfSegment=function(){this.tM="end",this.iM=!0,this.aM(),this.nM.endOfSegment()},c.prototype.sM=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))}},"9m1L":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",DATE_RANGE_STARTED:"daterangeStarted",DATE_RANGE_ENDED:"daterangeEnded",STREAM_SYNCH_COMPLETE:"streamsynchComplete",STREAM_SYNCH_STRATEGY_APPLIED:"streamsynchStrategyApplied"},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,i.HLSEvent.DATE_RANGE_STARTED,i.HLSEvent.DATE_RANGE_ENDED,i.HLSEvent.STREAM_SYNCH_COMPLETE,i.HLSEvent.STREAM_SYNCH_STRATEGY_APPLIED]},"9mgm":function(t,i,n){"use strict";t.exports={userAgent:n("mfPw"),capabilities:n("9CAz")}},"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)}),r=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 h=n("JcWZ"),o=n("pBvk"),u=n("g6Is"),a=n("Pu4D"),c=n("w7tx"),f=n("aKiy"),l=n("OJEu"),v=n("0VsI"),d=n("zuu9"),p=n("Wf6Z"),m=n("DDi/"),b=n("0z0/"),y=n("a4Db"),g=n("nD/R"),w=n("JheV"),E=n("DzsB"),O=n("Y4Rh"),A=n("0zFh"),_=n("c+yx"),T=n("ToqN"),S=function(t){function i(i,n){var s,e,h,o,u=t.call(this,"OathPlayer")||this;u.fM=!1,u.lM=!1,u.version="8.2.168",u.playerType="desktop",u.jshlsVer="1.1.270",u.vdmsVer="0.2.447",u.vM=i,u.dM=Date.now(),u.pM=null,i.playerId=i.playerId||_.default.generateGuid(),i=JSON.parse(JSON.stringify(i)),i=_.default.isLegacyConfig(i)?_.default.transformLegacyConfig(i):i,u.IN=new c.default(i,n,u),u.mM=new f.default(u.IN),u.playlist=new A.default(u.IN.getPlaylist()),u.bM(i),u.yM(i);var v=[u.version,u.dM];a.default.sendPlayerInitBeacon.apply(a.default,r([i],v)),u.gM(i),u.IN.initialize(),u.wM(),u.fM&&(u.pM=new l.default(i,u));var d=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==d?void 0:d.length)&&(null===(o=null===(h=window.performance)||void 0===h?void 0:h.mark)||void 0===o||o.call(h,"vplayerinit")),u}return e(i,t),i.prototype.render=function(t){var i,n;return this.fM&&this.lM&&(null===(i=this.pM)||void 0===i||i.setupIframeToPageCommunication(),null===(n=this.pM)||void 0===n||n.sendClearIframeNameToPage()),this.IN.render(t),this},i.prototype.destroy=function(){this.IN.destroy(),t.prototype.destroy.call(this)},i.prototype.getCurrentTime=function(){return this.IN.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.IN.getCurrentDate()},i.prototype.getVolume=function(){return this.IN.getVolume()},i.prototype.setQueryString=function(t){},i.prototype.removeAllMediaItems=function(){return!0},i.prototype.play=function(t,i){this.mM.play(t,i)},i.prototype.pause=function(t){this.mM.pause(t)},i.prototype.mute=function(){this.mM.setMute(!0)},i.prototype.unMute=function(){this.mM.setMute(!1)},i.prototype.setVolume=function(t){this.mM.setVolume(t)},i.prototype.seek=function(t){this.mM.seek(t)},i.prototype.getMediaStore=function(){return this.IN.getMediaStore()},i.prototype.isPlaying=function(){return this.IN.isPlayMode()},i.prototype.isPlayMode=function(){return this.IN.isPlayMode()},i.prototype.isDocked=function(){return this.IN.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.IN.setMediaItemTitle(t,i)},i.prototype.isLoading=function(){return this.IN.isLoading()},i.prototype.getVideoElement=function(){return this.IN.getVideoElement()},i.prototype.getRootElement=function(){return this.IN.getRootElement()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.IN.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.IN&&this.IN.undockVideoPlayer(t)},i.prototype.on=function(i,n,s){var e,r=this;if(Object.keys(u.Events).some((function(t){return u.Events[t]===i}))){var h=this.IN.addVdmsListener(i,n);e=function(){r.IN.removeVdmsListener(i,h)}}else{var o=t.prototype.addEventListener.call(this,i,n,s);e=function(){t.prototype.removeEventListener.call(r,i,o)}}return e.detach=e,e},i.prototype.suspend=function(){this.IN.suspend()},i.prototype.resume=function(){this.IN.resume(),this.playlist.playlist=this.IN.getPlaylist()},i.prototype.isSuspended=function(){return this.IN&&this.IN.isSuspended()||!1},i.prototype.isRendered=function(){return this.IN&&this.IN.isRendered()||!1},i.prototype.updateGeoConfig=function(t){this.IN.updateGeoConfig(t)},i.prototype.getPlaybackStartDto=function(){return this.IN.getPlaybackStartDto()},i.prototype.getInitTime=function(){return this.dM},Object.defineProperty(i.prototype,"guid",{get:function(){return this.IN&&this.IN.guid||""},enumerable:!1,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.IN.getMediaItemMarkers(t)},i.prototype.addCustomControlElement=function(t){return this.IN.addCustomControlElement(t)},Object.defineProperty(i.prototype,"oathConfig",{get:function(){return this.vM},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iframeController",{get:function(){return this.pM},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"controls",{get:function(){return this.mM},set:function(t){this.mM=t},enumerable:!1,configurable:!0}),i.prototype.setSapiOptions=function(t,i){if(!t||!t.length)throw new Error("InvalidArgumentException");i&&this.IN.setSapiOptions(t,i)},i.prototype.__setError=function(t,i,n,s,e){this.IN.setError(t,i,n,s,e)},i.prototype.__getSyncOffset=function(){return this.IN.getSyncOffset()},i.prototype.wM=function(){if(_.default.isOathDomain()){this.controls=this.mM,this.config=this.vM}},i.prototype.gM=function(t){try{var i=new o.Validator;i.addSchema(v.baseconfigSchema,"/baseconfigSchema"),i.addSchema(d.closedcaptionsSchema,"/closedcaptionsSchema"),i.addSchema(p.cmsSchema,"/cmsSchema"),i.addSchema(b.ctvSchema,"/ctvSchema"),i.addSchema(g.metricsSchema,"/metricsSchema"),i.addSchema(w.playbackSchema,"/playbackSchema"),i.addSchema(E.uiSchema,"/uiSchema"),i.addSchema(O.yvapSchema,"/yvapSchema"),i.addSchema(y.failoverSchema,"/failoverSchema"),i.validate(t,m.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.bM=function(t){this.fM=(null==t?void 0:t.iframeRender)||!1,this.lM=(null==t?void 0:t.insideIframeConfig)||!1},i.prototype.yM=function(t){if(T.userAgent.chrome&&window.self!==window.top&&window.ReportingObserver){var i=new window.ReportingObserver((function(i){a.default.sendInterventionReports(i,t)}),{buffered:!0,types:["intervention"]});i.observe(),window.addEventListener("unload",(function(n){var s=i.takeRecords();a.default.sendInterventionReports(s,t)}))}},i}(h.default);i.default=S},"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).EM()},t.sendBeacon=function(){this.runExperiment()},t.prototype.OM=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.AM=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.EM=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._M(i)})).catch((function(t){}))},t.prototype._M=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.TM(s)}},t.prototype.TM=function(t){for(var i=this,n=function(){this.startTime=0,this.endTime=0,this.source="default"},s=function(t,s,e,r,h,o,u){if(h.length>0||r.length>0){var a,c=new n,f=!1;new Promise((function(i,n){var s=setTimeout((function(){f=!0,n(new Error("Header Request Timed Out"))}),e);(a=new XMLHttpRequest).open("GET",t,!0),a.onload=function(){clearTimeout(s),f||i()},a.onerror=function(){clearTimeout(s),f||i()},r.forEach((function(t){var i=t.split(":");2==i.length&&a.setRequestHeader(i[0],i[1])})),c.startTime=Date.now(),a.send()})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){c.endTime=Date.now(),c.source="ajax";var n=window.performance.getEntriesByName(t);i.expCount=n.length>1?i.expCount+n.length-1:i.expCount;for(var e=0,r=n;e<r.length;e++){var f=r[e];i.SM("0",s,f,i.AM(a,h),o,u,c)}}else i.SM("6",s,null,i.AM(a,h),o,u,c)})).catch((function(t){f?i.SM("5",s,null,"",o,u,c):i.SM("4",s,null,"",o,u,c)}))}else{var l=!1,v=new n;new Promise((function(i,n){var s=setTimeout((function(){l=!0,n(new Error("Experiment Timed Out"))}),e),r=new Image;r.onload=function(){clearTimeout(s),l||i()},r.onerror=function(){clearTimeout(s),l||i()},v.startTime=Date.now(),r.src=t})).then((function(){if("performance"in window&&"getEntriesByType"in window.performance){v.endTime=Date.now(),v.source="image";var n=window.performance.getEntriesByName(t);i.expCount=n.length>1?i.expCount+n.length-1:i.expCount;for(var e=0,r=n;e<r.length;e++){var h=r[e];i.SM("0",s,h,"",o,u,v)}}else i.SM("3",s,null,"",o,u,v)})).catch((function(t){l?i.SM("2",s,null,"",o,u,v):i.SM("1",s,null,"",o,u,v)}))}},e=0,r=t;e<r.length;e++){var h=r[e];s(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}},t.prototype.SM=function(t,i,n,s,e,r,h){var o=this;if(0!==r.length){var u=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&&u(t[n],i)}))},a="{";null!=e&&(a+='"n":"'+e+'",'),a+=null===n?'"m":[],':'"m":'+this.OM(n)+",",a+='"r":'+t+",",a+='"s":'+h.startTime+",",a+='"e":'+h.endTime+",",a+='"q":"'+h.source+'",',""!=s&&(a+='"h":'+s+","),a+='"b":"'+i+'"}';var c="",f=[];r.forEach((function(t){c+=t.replace("<BEACON>",i),f.push(t.replace("<BEACON>",i))})),"group"==this.uploadType?(c in this.pending||(this.pending[c]=[]),this.pending[c].push([a,f]),this.complete++,this.complete==this.expCount&&Object.keys(this.pending).forEach((function(t){var i,n="[";o.pending[t].forEach((function(t){n+=t[0]+",",i=t[1]})),n=n.slice(0,-1)+"]",u(i,btoa(n))}))):(a="["+a+"]",u(f,btoa(a)))}},t}();i.default=s},"9wD4":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("JBcr");i.Command=s.default;var e=n("bxxM");i.MetadataLoadCommand=e.default;var r=n("3mMn");i.MoreItemsLoadCommand=r.default;var h,o,u=n("yDF7");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},ANte:function(t,i,n){"use strict";t.exports.StreamingController=g;var s=n("yUCA").Events,e=n("hvuW"),r=n("sVz5"),h=n("jMeJ"),o=n("LmPb"),u=n("3NxK"),a=u.StreamLoader,c=u.Events,f=n("HNSW").StreamTypes,l=n("juTp"),v=n("D8uh"),d=n("9m1L").HLSEvent,p=n("CTQb"),m=n("l+r/").AbrModes,b=n("mvD1"),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.hE=this.__controller.model,this.BN=this.__controller.services,this.WS=this.__controller.create(p),this.jM=this.BN.segmentMetrics,this.IM={},this.NM=0,this.MM=0,this.RM={},this.DM=null,this.kM=0,this.FAST_UP_SWITCH_INTERVAL=.3,this.LM=this.__controller.create(h,this.WS),this.LM.addEventListener(this.LM.SWITCH_ON_ERROR,this.CM,this),this.PM=this.__controller.create(r),this.PM.addEventListener(this.PM.SWITCH_BEGIN,this.xM,this),this.PM.addEventListener(this.PM.SWITCH_END,this.UM,this),this.VM=new o(1e3*this.hE.config.segmentLoadMonitorInterval),this.VM.addEventListener(this.BM,this),this.FM=new o(1e3*this.FAST_UP_SWITCH_INTERVAL),this.FM.addEventListener(this.zM,this),this.HM={},this.BI=[],this.GM=!1,this.YM=!1,this.qM=!1,this.WM=this.PM.SCENARIOS.STARTUP,this.STATES={ERROR:-1,INITIAL:0,STREAM_METADATA_LOADED:1,INITIALIZED:2},this.$S=this.STATES.INITIAL}l.inherits(g,v),g.prototype.loadStream=function(t){var i=this;t&&i.$S===i.STATES.INITIAL&&(i.XM(t).load(t),i.NM++,Object.keys(t.altRenditionGroups).forEach((function(n){var s=t.getAlternateStream(n);s&&s.url&&(i.XM(s).load(s),i.NM++)})))},g.prototype.loadAllSubtitleStreams=function(){var t=this;if(t.$S===t.STATES.INITIAL){var i=[];t.hE.streams.forEach((function(n){var s=n.getAlternateStream(f.SUBTITLES);s&&i.indexOf(s.url)<0&&(i.push(s.url),t.XM(s).load(s),t.NM++)})),t.$S=t.STATES.STREAM_METADATA_LOADED,t.publish(y.STREAM_METADATA_LOADED)}},g.prototype.XM=function(t){var i=this.__controller.create(a,this.WS);return i.addEventListener(c.STREAM_LOADED,this.ZM,this),i.addEventListener(c.STREAM_LOAD_ERROR,this.QM,this),this.IM[t.url]=i,t.type===f.SUBTITLES&&this.MM++,i},g.prototype.JM=function(){var t=this;Object.keys(t.IM).forEach((function(i){var n=t.IM[i];n&&n.destroy()})),t.IM={},t.NM=0},g.prototype.ZM=function(t){if(t){var i=this.IM[t.url];if(i){if(this.$S>=this.STATES.STREAM_METADATA_LOADED)return i.destroy(),delete this.IM[t.url],void this.hE.synchStreamTimelines(t.type);t.type!==f.SUBTITLES&&this.MM++,this.MM>=this.NM&&(this.$S=this.STATES.STREAM_METADATA_LOADED,this.hE.synchStreamTimelines(),this.publish(y.STREAM_METADATA_LOADED)),i.destroy(),delete this.IM[t.url]}}},g.prototype.QM=function(t,i){t&&t.type===f.SUBTITLES||(this.$S=this.STATES.ERROR,this.publish(y.STREAM_METADATA_LOAD_ERROR,i))},g.prototype.init=function(){var t=this;if(t.$S!==t.STATES.ERROR&&t.$S!==t.STATES.INITIALIZED){var i=t.hE.getCurrentLoadingStream();if(i){t.MM=0;var n=t.KM(i);n.addEventListener(s.PRELOAD_COMPLETE,t.$M,t),n.addEventListener(s.LIVE_SYNCH,t.tR,t),t.RM.MAIN=n,t.DM=n,t.kM++,Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);if(s){var e=t.KM(s);e&&(t.RM[n]=e,t.kM++)}})),t.iR(),t.nR(),t.$S=t.STATES.INITIALIZED}}},g.prototype.isInitialized=function(){return this.$S>=this.STATES.INITIALIZED},g.prototype.KM=function(t){if(!t)return null;var i=e.create(this.__controller,t,this.hE.live);return this.sR(i),i},g.prototype.eR=function(){var t=this;Object.keys(t.RM).forEach((function(i){t.RM[i].destroy()})),t.RM={},t.DM=null},g.prototype.sR=function(t){var i=this;if(t){var n={};n[s.SEG_LOAD_START]=i.rR,n[s.SEG_LOAD_PROGRESS]=i.hR,n[s.SEG_LOAD_COMPLETE]=i.oR,n[s.SEG_LOAD_ERROR]=i.uR,n[s.STREAM_LOAD_ERROR]=i.aR,n[s.STREAM_LOAD_COMPLETE]=i.cR,Object.keys(s).forEach((function(e){var r=s[e];t.addEventListener(r,n[r],i)}))}},g.prototype.iR=function(){var t=this.RM.AUDIO;this.DM&&this.DM.setAltAudioActive(t&&t.isActive())},g.prototype.fR=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=t.DM;s&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i),Object.keys(t.RM).forEach((function(e){e!==f.MAIN&&(s=t.RM[e])&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i)}))},g.prototype.process=function(){this.fR("process"),this.WM=this.PM.SCENARIOS.LOAD},g.prototype.suspendStreaming=function(){this.fR("suspendStreaming")},g.prototype.resumeStreaming=function(){this.fR("resumeStreaming")},g.prototype.setABRMode=function(t){var i=this.hE;i.setABRMode(t)&&i.getABRMode()!==m.AUTO&&(this.lR("video"),this.YM=!1,this.nR())},g.prototype.lR=function(t){this.qM=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,[t],["streamType"]),this.fR("onManualStreamChange")},g.prototype.setAudioLanguage=function(t){var i=this.hE;if(i.setAudioLanguage(t)){this.lR("audio");var n=f.AUDIO,s=i.getCurrentLoadingStream(),e=s?s.getAlternateStream(n):null,r=this.RM[n];e&&r&&r.setCurrentStream(e),this.iR()}},g.prototype.getMetrics=function(){return this.jM.getMetrics()},g.prototype.onPlay=function(t){this.VM.start(),this.vR()?(this.fR("onPlay",t),this.GM=!1,this.qM=!1):this.BI.push([this,this.onPlay,[t]])},g.prototype.onPlaying=function(){this.fR("onPlaying"),this.FM.start()},g.prototype.onPause=function(){this.VM.stop(),this.fR("onPause"),this.GM=!0},g.prototype.onSeeking=function(t){this.hE.live||this.nR(),this.fR("onSeeking",t)},g.prototype.onSeeked=function(t){this.fR("onSeeked",t)},g.prototype.onComplete=function(){this.jM.onComplete(),this.fR("onComplete")},g.prototype.onError=function(){this.fR("onError")},g.prototype.onTimeUpdate=function(t){this.fR("onTimeUpdate",t),this.jM.onTimeUpdate(t)},g.prototype.onSynchMetadataReady=function(t){this.nR(),this.fR("onSynchMetadataReady",t)},g.prototype.onSynchComplete=function(){this.fR("onSynchComplete")},g.prototype.onPreloadBegin=function(){this.fR("onPreloadBegin")},g.prototype.onPreloadEnd=function(){this.fR("onPreloadEnd")},g.prototype.CM=function(t){this.YM=!1,this.nR(this.PM.SCENARIOS.ERROR,{index:t})},g.prototype.xM=function(){var t=this,i=t.hE.getCurrentLoadingStream();t.YM=!0,t.DM.setCurrentStream(i),Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);s&&t.RM[n]&&t.RM[n].setCurrentStream(s)})),t.iR()},g.prototype.UM=function(){this.YM=!1,this.fR("onSwitchEnd")},g.prototype.BM=function(){var t=this.DM?this.DM.getSegLoadCommand():null;t&&this.nR(this.PM.SCENARIOS.MIDSEGMENT,{command:t,position:t.position})},g.prototype.zM=function(){this.YM=!1,this.nR(),this.hE.getCurrentLoadingStream().bitrate>this.hE.getCurrentPlayingStream().bitrate&&(this.FM.reset(),this.fR("midSegUpSwitch"))},g.prototype.dR=function(t,i,n,s,e){var r=this.hE.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.BN.bandwidthEstimator.averageBandwidth,o.timeToFirstByte=h?h.timeToFirstByte:NaN,o.endTime=h?h.startTime+h.duration:NaN,o.programDateTime=h?h.programDateTime:NaN,this.jM.segmentLoadBegin(i,o)):"end"===t&&(o.perfInfo=e,o.timeToDownload=h?h.totalDownloadTime:NaN,o.segmentInWorker=!!s,this.jM.segmentLoadEnd(i,o))},g.prototype.pR=function(){this.VM.reset(),this.GM||this.LM.running||this.VM.start()},g.prototype.nR=function(t,i){if(t=t||this.WM,!this.YM)if(t!==this.PM.SCENARIOS.MIDSEGMENT){var n=i?i.index:null;this.PM.switchStream(t,null,n)}else{var s=i?i.command:null,e=i?i.position:null;this.mR(t,s,e)}},g.prototype.mR=function(t,i,n){if("end"!==n&&(this.DM&&this.DM.canSwitch(t)&&this.PM.switchStream(t,"down"))){var s=this.DM.abortCurrentSegment(i);s&&this.dR("end",s),this.process()}},g.prototype.rR=function(){this.pR()},g.prototype.hR=function(t,i){if(this.bR(t)&&i){this.publish(y.SEG_LOAD_PROGRESS,i.bytesTotal),"firstByte"===i.position&&this.PM.switchComplete();var n=i.position,s=i.bytesTotal,e=i.inWorkerScope,r=i.perfInfo,h=i.seqNum;this.dR(n,h,s,e,r),this.pR()}},g.prototype.oR=function(t){this.yR(),this.bR(t)&&this.nR()},g.prototype.uR=function(t,i){this.bR(t)&&this.dR("end",i.seqNum),this.gR(i.err,i.stream)},g.prototype.cR=function(t,i){if(this.yR(),this.bR(t)||this.hE.synchStreamTimelines(t.type),this.__controller.sendEvent(d.STREAM_UPDATED,i),this.BI.length>0&&this.zI(),this.qM){for(var n=0,s=Object.keys(this.RM),e=0;e<this.kM;e++)this.RM[s[e]].isActive()&&n++;++this.MM>=n&&(this.MM=0,this.__controller.sendMessage(b.MessageIds.PLAY_AFTER_STREAM_CHANGE))}},g.prototype.aR=function(t,i){this.gR(i.err,i.stream)},g.prototype.gR=function(t,i){this.VM.stop(),this.LM.handle(t,i)},g.prototype.yR=function(){var t=this,i=!0;t.LM.running&&(Object.keys(t.RM).forEach((function(n){var s=t.RM[n],e=s?s.getCurrentStream():null;e&&e.type!==f.SUBTITLES&&(i=i&&!s.isInError())})),i&&(t.LM.onLoadComplete(),t.pR()))},g.prototype.$M=function(){this.onPreloadEnd(),this.publish(y.PRELOAD_COMPLETE)},g.prototype.tR=function(t,i){this.bR(t)&&this.__controller.sendEvent(d.LIVE_SYNCH,i)},g.prototype.bR=function(t){return t&&t.type===f.MAIN},g.prototype.vR=function(){var t=this;if(t.$S!==t.STATES.INITIALIZED)return!1;var i=!0;return Object.keys(t.RM).forEach((function(n){if(n!==f.SUBTITLES){var s=t.RM[n];i=i&&(!s.isActive()||s.isStreamReady())}})),i},g.prototype.zI=function(){var t=this.BI;this.BI=[],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.eR(),this.JM(),this.LM&&(this.LM.destroy(),this.LM=null),this.WS&&(this.WS.destroy(),this.WS=null),this.PM&&(this.PM.destroy(),this.PM=null),this.FM&&(this.FM.destroy(),this.FM=null),this.jM&&(this.jM.destroy(),this.jM=null),this.VM.destroy(),this.BI=[],v.prototype.destroy.call(this)}},AbTv: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}},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},Agtm:function(t,i,n){"use strict";t.exports=r;var s=n("aAGJ"),e=n("WYoP");function r(t,i){this.$N=null,this.wR=t||{},this.ER=i,this.OR=0,this.AR=NaN,this.TR={},this.SR={},this.jR=[],this.$S="initial",this.tM="start",this.iM=!1}r.prototype.destroy=function(){this.$N=null,this.jR=[],this.$S="initial",this.tM="start";var t=this.SR;for(var i in t)t.hasOwnProperty(i)&&t[i].destroy();this.SR={}},r.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.$N&&(s=(n=this.$N).length);var r=s+i;return this.$N=new Uint8Array(r),n&&this.$N.set(n),this.$N.set(t,s),-2===this.aM()?{error:e.ERR_SEGMENT_PARSE}:void 0}}},r.prototype.endOfSegment=function(){this.iM=!0,this.$N&&this.$N.length<188&&this.IR()},r.prototype.aM=function(){if(!this.$N)return-1;for(var t=0;this.$N.length;){var i=this.NR(this.$N.subarray(0,188));if(0===i)t++,this.$N=this.$N.subarray(188),t>=500&&(this.MR(),t=0);else{if(-2!==i)break;var n=this.RR(this.$N);if(!(n>=0))break;this.$N=this.$N.subarray(n)}}return this.iM&&0===this.$N.length?this.IR():this.MR(),0},r.prototype.NR=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.OR&&n.adaptationFieldLength>=7&&this.DR(t.subarray(i,i+6)),i+=n.adaptationFieldLength-1);return!n.payloadExists||n.adaptationFieldLength>=183||this.kR(t.subarray(i),n),0},r.prototype.DR=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.LR||(this.LR=h)}},r.prototype.kR=function(t,i){var n,s,e;if(t&&i&&!isNaN(i.pid)&&(this.TR.aac&&(n=this.TR.aac),this.TR.avc&&(s=this.TR.avc),this.TR.id3&&(e=this.TR.id3),!(i.pid>=1&&i.pid<=15||8191===i.pid)))switch(i.pid){case 0:this.CR(t,i);break;case this.AR:this.PR(t,i);break;case n:this.xR("audio",n,t,i);break;case s:this.xR("video",s,t,i);break;case e:this.xR("id3",e,t,i),this.UR();break;default:this.VR(t,i)}},r.prototype.CR=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.AR=((31&t[n++])<<8)+t[n++]),this.$S="patParsed"}},r.prototype.PR=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.OR=((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.TR.mp3=u;break;case 15:this.TR.aac=u;break;case 27:this.TR.avc=u;break;case 21:this.TR.id3=u}this.$S="pmtParsed"}},r.prototype.xR=function(t,i,n,e){if(n){var r=this.SR,h=r[i];e.startIndicator?(h||(r[i]=new s(t,i,this.wR),h=r[i]),h.addPacket(n)):h&&h.append(n)}},r.prototype.VR=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.TR.avc=i.pid,this.xR("video",this.TR.avc,t,i)):12!==h&&13!==h||(this.TR.aac=i.pid,this.xR("audio",this.TR.aac,t,i))}else 2===r&&this.PR(t,i)}},r.prototype.BR=function(){var t=!0;for(var i in this.TR)if("id3"!==i&&this.TR.hasOwnProperty(i)){var n=this.TR[i];this.SR[n]&&(t=t&&this.SR[n].isReady())}return t},r.prototype.MR=function(){if(this.BR()){var t={},i=!1,n=!1,s=this.SR,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.tM}),config:h.getConfig(),streamId:h.streamId};"audio"===h.streamType&&r===this.TR.aac.toString()?(t.audio=o,i=t.audio.frames&&t.audio.frames.length):"video"===h.streamType&&r===this.TR.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.tM||i||n)&&(this.ER&&this.ER({pos:this.tM,avData:t}),"start"===this.tM&&(this.tM="middle"))}},r.prototype.UR=function(){var t=this,i=t.SR,n=null;Object.keys(i).forEach((function(s){var e=i[s];e&&"id3"===e.streamType&&s===t.TR.id3.toString()&&(n=e.getTimedMetadata())})),n&&t.ER&&t.ER({pos:"timedMetadata",timedMetadata:n})},r.prototype.RR=function(t){if(!t)return-1;for(var i=0;i<t.length;i++)if(71===t[i])return i;return-1},r.prototype.IR=function(){this.tM="end";var t=this.SR;for(var i in t)t.hasOwnProperty(i)&&(t[i].endOfSegment(),"id3"===t[i].streamType&&this.UR());this.MR()}},AuZZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PLAYLIST_POSITION=i.VRM_VERSION=i.NULL_DEFAULT=i.HIDE_KEY=i.STRING_DEFAULT=i.NUMBER_DEFAULT=i.INT_DEFAULT=i.PARAMS=void 0,i.PARAMS=["s","_ex","_NOL","test","cached_vs","expn","expt","expb","vsid","lms_id","bckt","env","ccap","loc","site","lang","intl","pl_type","pl_uuid","pl_intr","pl_sec","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.NUMBER_DEFAULT=0,i.STRING_DEFAULT="none",i.HIDE_KEY="__hide__beacon__key__",i.NULL_DEFAULT="*null",i.VRM_VERSION="2.0",function(t){t.HERO="hero",t.NONE="none"}(i.PLAYLIST_POSITION||(i.PLAYLIST_POSITION={}))},AutE: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("hq3Z"),h=n("ToqN"),o=n("FM4w"),u=n("Xb7w"),a=n("ODb2"),c=n("7PPe"),f=n("FKKO"),l=n("byOa"),v=n("mn2t"),d=n("wqBe"),p=n("C0gW"),m=n("iDLt"),b=n("i0E3"),y=n("5dhR"),g=n("J0iA"),w=n("Vqcw"),E=n("DdJv"),O=n("Qn5d"),A=n("ablw"),_=n("yf6s"),T=n("bM0F"),S=n("pBvk").Validator,j=function(t){function i(i,n){var s=t.call(this,"VdmsPlayer")||this;return s.FR=!1,s.version="0.2.447",s.playerType="PLAYER_TYPE",s.language="SCRIPT_LANGUAGE_I18N",s.config=i,s.mediaStore=n,s.gM(i),s.guid=i.playerId||_.default.generateGuid(),s.zR(),s.HR(i,n),s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.GR&&this.GR.destroy(),this.IN&&(this.IN.destroy(),this.IN=null),this.YR(),window.removeEventListener("pageshow",this.qR,!1)},i.prototype.initialize=function(){this.IN&&this.IN.initialize()},i.prototype.render=function(t){return this.WR(),this.XR=t,this.IN&&this.IN.render(t),this},i.prototype.getMediaItems=function(){return this.ZR.getMediaItems()},i.prototype.removeAllMediaItems=function(){this.ZR.removeAllMediaItems()},i.prototype.removeMediaItems=function(t){this.ZR.removeMediaItems(t)},i.prototype.insertMediaItems=function(t,i){this.ZR.insertMediaItems(t,i)},i.prototype.appendMediaItems=function(t){this.ZR.appendMediaItems(t)},i.prototype.getCurrentMediaItem=function(){return this.ZR.getCurrentMediaItem()},i.prototype.setCurrentMediaItem=function(t){this.ZR.setCurrentMediaItem(t)},i.prototype.setMediaItemTitle=function(t,i){this.ZR.setMediaItemTitle(t,i);var n=this.getCurrentMediaItem();n&&n.id===t&&this.IN.updateCurrentItemTitle(i)},i.prototype.getMediaItemMarkers=function(t){return this.ZR.getMediaItemMarkers(t)},i.prototype.getCurrentAdBreak=function(){return this.QR.getCurrentAdBreak()},i.prototype.getCurrentAdBreakItem=function(){return this.QR.getCurrentAdBreakItem()},i.prototype.play=function(t,i){this.JR.play(t,i)},i.prototype.pause=function(t){this.JR.pause(t)},i.prototype.mute=function(){this.JR.setMute(!0)},i.prototype.unMute=function(){this.JR.setMute(!1)},i.prototype.setVolume=function(t){A.isNumber(t)&&this.JR.setVolume(t)},i.prototype.seek=function(t){this.JR.seek(t)},i.prototype.registerPlugin=function(t){this.IN&&this.IN.registerPlugin(t)},i.prototype.getVideoElement=function(){return this.WR(),this.IN?this.IN.videoElement:null},i.prototype.getRootElement=function(){return this.WR(),this.IN?this.IN.rootElement:null},i.prototype.suspendState=function(){if(!h.userAgent.desktop&&!this.isSuspended()){this.WR();var t={boundEvents:this.KR,currentTime:this.JR.getCurrentTime(),mediaStore:this.getMediaStore(),playlist:this.IN.getPlaylistItems(),position:this.$R.getPosition(),selector:this.XR};return this.FR=!0,this.destroy(),t}},i.prototype.resumeState=function(t){this.isSuspended()&&t&&(this.FR=!1,this.HR(this.config,t.mediaStore),this.$R.setItems(t.playlist),this.$R.setPosition(t.position),this.IN.startTime=t.currentTime,this.KR=t.boundEvents)},i.prototype.isSuspended=function(){return this.FR},i.prototype.isRendered=function(){return this.WR(),!!this.IN&&this.IN.rendered},i.prototype.preload=function(){this.JR.preload()},i.prototype.disableControls=function(){this.JR.disableControls()},i.prototype.enableControls=function(){this.JR.enableControls()},i.prototype.enableCC=function(t){this.JR.enableCC(t)},i.prototype.disableCC=function(){this.JR.disableCC()},i.prototype.isPlayMode=function(){return this.IN.isPlayMode()},i.prototype.isLoading=function(){return this.IN.isLoading()},i.prototype.getPlaybackState=function(){return this.JR.getPlaybackState()},i.prototype.getCurrentTime=function(){return this.JR.getCurrentTime()},i.prototype.getRawCurrentTime=function(){return this.JR.getRawCurrentTime()},i.prototype.getDuration=function(){return this.JR.getDuration()},i.prototype.getRawDuration=function(){return this.JR.getRawDuration()},i.prototype.getTimeRemaining=function(){return this.JR.getTimeRemaining()},i.prototype.setFullscreen=function(t){void 0===t&&(t=!0),this.JR.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.JR.getFullscreen()},i.prototype.getVolume=function(){return this.JR.getVolume()},i.prototype.setMute=function(t){void 0===t&&(t=!0),this.JR.setMute(t)},i.prototype.getMute=function(){return this.JR.getMute()},i.prototype.addCustomControlElement=function(t){return this.IN.addCustomControlElement(t)},i.prototype.setLoop=function(t){this.JR.setLoop(t)},i.prototype.setContinuousPlay=function(t){void 0===t&&(t=!0),this.JR.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(){this.JR.resumeContinuousPlay()},i.prototype.getCurrentDate=function(){return this.JR.getCurrentDate()},i.prototype.addItems=function(t,i){this.$R.addItems(t,i)},i.prototype.addMetricsEventListener=function(t,i){var n=this.bD.getAllExternalEvtNames();return this.addEventListeners(n,t,i)},i.prototype.setAudioLanguage=function(t){this.JR.setAudioLanguage(t)},i.prototype.getPlaylist=function(){return this.$R},i.prototype.getMediaStore=function(){return this.WR(),{_D:this.IN.mediaStore}},i.prototype.getPlaybackStartDto=function(){var t=this.IN.model,i=this.GR;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),deferringPlaybackLatency:i.getItem(d.METRICS.DEFERRING_PLAYBACK),autoPlayAllowed:t.isAutoplayAllowed(),clickToPlayLatency:i.getItem(d.METRICS.CLICK_TO_START),adPluginLatency:i.getItem(d.METRICS.AD_PLUGIN),streamReqToRenderLatency:i.getItem(d.METRICS.STREAM_REQUEST_TO_RENDER)}},i.prototype.getInitTime=function(){return this.GR.startTime},i.prototype.__setError=function(t,i,n,s,e){if(this.WR(),!this.IN)return null;this.IN.setCustomError(t,i,n,s,e)},i.prototype.__getSyncOffset=function(){var t;return(null===(t=this.IN)||void 0===t?void 0:t.getSyncOffset())||NaN},i.prototype.isDocked=function(){return this.WR(),this.IN&&this.IN.docked},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.WR(),this.IN.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.WR(),this.IN.undockVideoPlayer(t)},i.prototype.gM=function(t){try{var i=new S;i.addSchema(y.streamSchema,"/streamSchema"),i.addSchema(b.sourceSchema,"/sourceSchema"),i.addSchema(m.mediaItemSchema,"/mediaItemSchema"),i.addSchema(w.uiSchema,"/uiSchema"),i.addSchema(E.vrmSchema,"/vrmSchema"),i.addSchema(g.streamSynchSchema,"/streamSynchSchema"),i.validate(t,p.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.HR=function(t,i){this.cO=new r.default("internal"),this.TD();var n=null;i&&(n=i._D||null),this.SD(),this.GR=new O.Profiler(this.cO),this.IN=new v.default(t,n,this.guid,this.cO,this.GR),this.bD=new c.ExternalEvtAPI(this,this.IN,this.cO),this.bD.enablePublish(),this.IN.initNewPlayback(),this.JR=new a.default(this.IN),this.$R=new l.default(this.IN),this.ZR=new f.default(this.IN),this.QR=new u.default(this.IN)},i.prototype.SD=function(){var t=this;this.qR=function(i){i.persisted&&t.RD()},h.userAgent.safari&&window.addEventListener("pageshow",this.qR,!1)},i.prototype.WR=function(){if(this.isSuspended()||!this.IN)throw new Error("INVALID_STATE_ERR: Player instance no longer usable");return!0},i.prototype.RD=function(){this.destroy(),this.HR(this.config,this.mediaStore),this.render(this.XR)},i.prototype.YR=function(){this.PD.forEach((function(t){t.destroy()})),this.PD=[]},i.prototype.TD=function(){var t=this;this.PD=this.PD||[],!0===this.config.analytics&&this.PD.push(new T.default(this));var i=!1;this.cO.addEventListener(c.ExternalEvt.NIELSEN_REQUIRED,(function(){if(!i){var n=(t.config.nielsenConfig||{}).nielsenAppId||null;t.PD.push(new o.default(t,n)),i=!0}}),this)},i.prototype.zR=function(){var t=this.config.cssTheme,i=_.default.getCssBuildUrl("7d686f4c59".indexOf("local")>-1,"7d686f4c59",t);_.default.loadCssAsset("vp-css",i,(function(){_.default.setSingleton("isCSSLoaded",!0)}),(function(){_.default.setSingleton("isCSSError",!0)}))},i}(r.default);i.default=j},"B/eG":function(t,i,n){"use strict";n.r(i),function(t){var s=n("/pFH"),e=n("+Nns"),r=setTimeout;function h(t){return Boolean(t&&void 0!==t.length)}function o(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.$S=0,this.UD=!1,this.VD=void 0,this.YD=[],d(t,this)}function a(t,i){for(;3===t.$S;)t=t.VD;0!==t.$S?(t.UD=!0,u.WD((function(){var n=1===t.$S?i.onFulfilled:i.onRejected;if(null!==n){var s;try{s=n(t.VD)}catch(t){return void f(i.promise,t)}c(i.promise,s)}else(1===t.$S?c:f)(i.promise,t.VD)}))):t.YD.push(i)}function c(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 u)return t.$S=3,t.VD=i,void l(t);if("function"==typeof n)return void d((s=n,e=i,function(){s.apply(e,arguments)}),t)}t.$S=1,t.VD=i,l(t)}catch(i){f(t,i)}var s,e}function f(t,i){t.$S=2,t.VD=i,l(t)}function l(t){2===t.$S&&0===t.YD.length&&u.WD((function(){t.UD||u.XD(t.VD)}));for(var i=0,n=t.YD.length;i<n;i++)a(t,t.YD[i]);t.YD=null}function v(t,i,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof i?i:null,this.promise=n}function d(t,i){var n=!1;try{t((function(t){n||(n=!0,c(i,t))}),(function(t){n||(n=!0,f(i,t))}))}catch(t){if(n)return;n=!0,f(i,t)}}u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,i){var n=new this.constructor(o);return a(this,new v(t,i,n)),n},u.prototype.finally=s.a,u.all=function(t){return new u((function(i,n){if(!h(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 r(t,h){try{if(h&&("object"==typeof h||"function"==typeof h)){var o=h.then;if("function"==typeof o)return void o.call(h,(function(i){r(t,i)}),n)}s[t]=h,0==--e&&i(s)}catch(t){n(t)}}for(var o=0;o<s.length;o++)r(o,s[o])}))},u.allSettled=e.a,u.resolve=function(t){return t&&"object"==typeof t&&t.constructor===u?t:new u((function(i){i(t)}))},u.reject=function(t){return new u((function(i,n){n(t)}))},u.race=function(t){return new u((function(i,n){if(!h(t))return n(new TypeError("Promise.race accepts an array"));for(var s=0,e=t.length;s<e;s++)u.resolve(t[s]).then(i,n)}))},u.WD="function"==typeof t&&function(i){t(i)}||function(t){r(t,0)},u.XD=function(t){"undefined"!=typeof console&&console},i.default=u}.call(this,n("URgk").setImmediate)},BNfT:function(t,i,n){"use strict";t.exports=u;var s=n("juTp"),e=n("qudH"),r=e.CmdNames,h=e.CmdEvents,o=n("/4Je");function u(t,i){this.rE=t.stream,this.ZD=[],this.QD=!!t.comboLoad,this.$D=t.initSegment,this.eE=t.segment,this.mk=t.cached,this.QS=this.constructor.super_.prototype,this.constructor.super_.call(this,t,i),this.oE=t.initSegment.url,this.name=r.CMD_MP4_INIT_SEGMENT_LOAD}s.inherits(u,o),u.prototype.destroy=function(){this.ZD=[],this.QS.destroy.call(this)},u.prototype.sE=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._k=function(){if(this.ZD.push(this.$D),this.QD){var t=this.rE.getMp4Chunk("sidx"),i=this.rE.getMp4Chunk("first");t&&this.ZD.push(t),i&&this.eE&&this.ZD.push(i)}},u.prototype.qi=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,minChunkSize:1e3,headerFields:{}};this._k();var i=-1,n=-1;if(this.ZD.length){var s=this.ZD[0].range,e=this.ZD[this.ZD.length-1].range;s&&e&&(i=s.start,n=e.end)}if(i>=0&&n>=0&&(t.headerFields.Range="bytes="+i+"-"+n,this.tL=n-i+1),"atlas"===(this.rE.cdn||this.eE&&this.eE.cdn)){var r=this.rE.sessionId||this.eE&&this.eE.sessionId;t.headerFields.Accept="*/*; X-PB-SESSION-ID="+r}return t},u.prototype.gE=function(){this.eE&&this.QS.gE.call(this)},u.prototype.RE=function(){!this.QD&&this.mk&&this.$D.loaded?this.LE():this.QS.RE.call(this)},u.prototype.CE=function(t,i){t&&(this.QD?this.iL(t,i):this.nL(t,i))},u.prototype.iL=function(t,i){if(t){var n=0,s=t.byteLength,e=t;i!==this.lE&&this.PE(i);for(var r=null,o=0;o<this.ZD.length;o++){if(r=this.ZD[o],!e)return;if(r.loaded||(n+=r.append(e),"first"===r.name&&this.wE&&this.wE.append(e),r.loaded&&"first"!==r.name&&this.publish(h.CMD_PROGRESS,this,{chunk:r,stream:this.rE,comboLoad:this.QD})),n>=s)return;if(n>0&&(e=t.subarray(n)),!r.loaded)return}}},u.prototype.nL=function(t,i){i!==this.lE?this.PE(i):this.wE.append(t)},u.prototype.LE=function(){if(!this.QD){var t=this.ZD[0];t&&(t.loaded=!0,this.publish(h.CMD_PROGRESS,this,{chunk:t,stream:this.rE,comboLoad:this.QD}),this.publish(h.CMD_COMPLETE,this,{stream:this.rE,comboLoad:this.QD}))}this.QS.LE.call(this)},u.prototype.AE=function(){this.publish(h.CMD_COMPLETE,this,{stream:this.rE,comboLoad:this.QD})},u.prototype.OE=function(t,i){if(t){if(!this.QD){var n=this.ZD[0];return n&&!n.loaded&&n.append(t.data),void this.publish(h.CMD_PROGRESS,this,{chunk:n,stream:this.rE,comboLoad:this.QD})}t.stream=this.rE,t.chunk={name:"first"},this.QS.OE.call(this,t,i)}},u.prototype.xE=function(){return 0},u.prototype.getSegment=function(){return this.eE}},BNqR:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),e=n("yf6s"),r=n("5dhR"),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.ZE(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.sL();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.sL()},enumerable:!0,configurable:!0}),t.prototype.ZE=function(t){this.gM(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.sL()+"://"+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.eL(this.url))},t.prototype.gM=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.sL=function(){var t="http",i=this.url.split(":");return i.length>1&&(t=i[0]),t},t.prototype.eL=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},BpGj:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("U3HQ"),r=n("Fry/"),h=n("yf6s"),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},BxIH:function(t,i,n){"use strict";t.exports=u,t.exports.KEY_METHODS={AES_128:"AES-128",NONE:"NONE"};var s=n("bpRV"),e=n("juTp"),r=n("D8uh"),h="Key Import is rejected",o="Decryption is rejected";function u(){this.rL=this.__controller.model.userAgent,r.call(this,this.constructor.name),"undefined"==typeof window?this.hL=crypto||msCrypto:this.hL=window.crypto||window.msCrypto,this.hL=this.hL.subtle||this.hL.webkitSubtle,this.$N=null,this.oL=null,this.uL={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.$N=null,this.aL=null,this.oL=null,this.cL=null},u.prototype.append=function(t){t&&("key"===t.type?this.fL(t):this.lL(t))},u.prototype.lL=function(t){if(t)if(this.aL){var i=new Uint8Array(this.aL.byteLength+t.byteLength);i.set(new Uint8Array(this.aL),0),i.set(new Uint8Array(t),this.aL.byteLength),this.aL=i}else this.aL=t},u.prototype.fL=function(t){var i=this;t&&(t.initVector||(t.initVector=i.vL(t.seqNum)),i.oL=t,i.uL.iv=i.dL(t.initVector).buffer,11!==i.rL.ie?i.hL.importKey("raw",t.data,i.uL,!0,["decrypt"]).then((function(t){i.cL=t,i.pL()}),(function(t){i.mL(h,t)})):i.bL(t))},u.prototype.bL=function(t){var i=this,n=i.hL.importKey("raw",t.data,i.uL,!0,["decrypt"]);n?(n.onerror=function(t){i.mL(h,t)},n.oncomplete=function(t){i.cL=t&&t.target?t.target.result:null,i.pL()}):i.mL("Key Import operation is not created in IE-11")},u.prototype.pL=function(){var t=this;if(t.cL&&t.aL&&t.aL.byteLength&&t.iM){var i=t.aL.buffer,n=i.byteLength-i.byteLength%16,s=i.slice(0,n);t.aL=new Uint8Array(i.slice(n)),11!==t.rL.ie?t.hL.decrypt(t.uL,t.cL,s).then((function(i){t.yL(i)}),(function(i){t.mL(o,i)})).catch((function(i){t.mL("Exception",i.toString())})):t.gL(s)}},u.prototype.gL=function(t){var i=this;if(i.cL&&t){var n=i.hL.decrypt(i.uL,i.cL,t);n?(n.onerror=function(t){i.mL(o,t)},n.oncomplete=function(t){t&&t.target&&i.yL(t.target.result)}):i.mL("Decryption operation is not created in IE-11")}},u.prototype.yL=function(t){this.publish(s.DATA_PROCESS_PROGRESS,new Uint8Array(t)),this.iM&&(0===this.aL.byteLength?this.publish(s.DATA_PROCESS_COMPLETE):this.pL())},u.prototype.dL=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.iM=!0,this.oL&&this.cL&&this.pL()},u.prototype.mL=function(t,i){this.publish(s.DATA_PROCESS_ERROR)},u.prototype.vL=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}},C0gW: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"},streamSynch:{$ref:"/streamSynchSchema"}},required:["mediaItems"]}},CLCl:function(t,i,n){"use strict";t.exports=e;var s=n("9m1L").HLSEvent;function e(){this.hE=this.__controller.model,this.wL=!1,this.EL=!1,this.OL=[],this.AL=[],this._L=null,this.TL=null,this.VI={},this.SL=NaN,this.jL(),this.IL=0,this.NL=0,this.ML=0,this.RL=!0,this.currentDateranges=[]}function r(){this.programDateTime=NaN,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.OL=[],this.AL=[],this.TL=null,this._L=null,this.DL()},e.prototype.jL=function(){this.VI[s.WAITING]=this.__controller.addEventListener(s.WAITING,this.kL,this)},e.prototype.DL=function(){this.__controller.removeEventListeners(this.VI)},e.prototype.onComplete=function(){this.segmentRenderNext()},e.prototype.onTimeUpdate=function(t){var i=this.hE.getCurrentPlayingStream();if(this.IL=t,this.updateRenderState(this.TL,this.IL),this.hE.live&&i&&i.cuepoints.length>0&&this.cuepointEventDispatcher(this.IL,i.cuepoints),i&&this.LL(i,this.IL),t>0&&this.TL){var n=this.CL();n&&this.__controller.sendEvent(s.TIMED_METADATA_READY,n.payload)}},e.prototype.LL=function(t,i){var n=Object.values(t.dateRanges);this.TL&&n.length&&this.PL(this.TL,n,i)},e.prototype.PL=function(t,i,n){for(var e=t.programDateTime+1e3*(n-t.beginTime),r=0;r<i.length;r++){var h=i[r],o=null;!h.endDate&&h.duration?o=h.startDate+1e3*h.duration:h.endDate&&(o=h.endDate);var u=this.currentDateranges.indexOf(h.id),a=u>-1;!a&&h.startDate&&e>=h.startDate&&(!o||e<o)?(this.__controller.sendEvent(s.DATE_RANGE_STARTED,h),this.currentDateranges.push(h.id)):a&&o&&e>o&&(this.__controller.sendEvent(s.DATE_RANGE_ENDED,h),this.currentDateranges.splice(u,1))}},e.prototype.CL=function(){var t=this,i=t.TL.seqNum,n=t.hE.timedMetadataStore[i],s=t.IL;if(!n||!n.length)return null;t.hE.live&&Object.keys(t.hE.timedMetadataStore).forEach((function(n){n>i||t.hE.timedMetadataStore[n].every((function(i){return s-i.timestamp>=t.hE.config.pastBufferLengthLimit.live}))&&delete t.hE.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.kL=function(t){t&&(t.bufferInit||(t.value?this.xL():this.UL(t.waitTime)))},e.prototype.segmentLoadBegin=function(t,i){if(i){var n=new r;if(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,n.programDateTime=i.programDateTime,this._L&&this.OL.push(this._L),this._L=n,this.TL&&t===this.TL.seqNum||!this.TL){if(this.TL&&n.bitrateIndex!==this.TL.bitrateIndex){var e=this.hE.streams,h={bitrate:Math.round(e[n.bitrateIndex].bitrate/1e3),reason:"fast-up",oldFrameRate:this.TL.frameRate,newFrameRate:n.frameRate};this.__controller.sendEvent(s.STREAM_SWITCHED,h)}this.segmentRenderNext(n)}}},e.prototype.segmentLoadEnd=function(t,i){var n=this._L;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.OL.push(n),this._L=null)},e.prototype.segmentRenderNext=function(t){this.TL&&(this.AL.push(this.TL),this.TL=null,this.__controller.sendEvent(s.SEGMENT_RENDERED)),t&&(this.TL=t,this.hE.setCurrentPlayingStream(t.bitrateIndex))},e.prototype.updateRenderState=function(t,i){if(!(isNaN(i)||i<=0)&&(t||(t=this.VL(i))&&this.segmentRenderNext(t),t&&(this.BL&&(t.frameDrop=this.BL.frameDrop,t.frameRateSum+=Number(this.BL.frameRate.toFixed(2)),t.frameRateSampleCount++),!(i>=t.beginTime&&i<t.endTime)))){var n=this.VL(i);if(n&&(this.segmentRenderNext(n),n.bitrateIndex!==t.bitrateIndex)){var e=this.hE.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.BL=t)},e.prototype.VL=function(t){if(this._L&&t>=this._L.beginTime&&t<this._L.endTime)return this._L;if(this.OL.length)for(var i=this.OL.length-1;i>=0;i--)if(t>=this.OL[i].beginTime&&t<this.OL[i].endTime)return this.OL[i];return null},e.prototype.xL=function(){this.EL||(this.EL=!0,this.TL,this._L)},e.prototype.UL=function(t){if(this.EL){this.FL=NaN,this.EL=!1;var i=this.TL,n=i&&!isNaN(t)&&t>0;i&&(i.bufferTime+=n?t:0,i.bufferCount+=n?1:0)}},e.prototype.getMetrics=function(){var t=this.TL,i=[];if(this.AL.length){for(var n=0;n<this.AL.length;n++)i.push(this.zL(this.AL[n]));this.AL=[]}return t&&(i.push(this.zL(t)),t.bufferCount=0,t.bufferTime=0,t.timeToFirstByte=NaN,t.timeToDownload&&(t.timeToDownload=NaN)),i},e.prototype.zL=function(t){if(!t)return null;var i=this.hE.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.SL?0:t.averageBandwidth;return this.SL!==t.averageBandwidth&&(this.SL=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.HL(t);return!i.isCueOutFired&&n===i.startSeqNum&&t>i.startTime},e.prototype.HL=function(t){var i=this.hE.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}},CTQb:function(t,i,n){"use strict";t.exports=u;var s=n("qudH"),e=s.CmdEvents,r=s.CmdNames,h=n("cGOB"),o=n("juTp");function u(){for(var t in this.GL={},this.VI={},r)r.hasOwnProperty(t)&&(this.GL[r[t]]={})}u.prototype.destroy=function(){this.removeAllCommands(),this.GL=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.VI[u+t+s.key]=s.addEventListener(u,n[a],n))}return this.GL[t][s.key]=s,s},u.prototype.removeCommand=function(t){if(t){var i=this.GL[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.VI[s+t.name+t.key]),delete this.VI[s+t.name+t.key])}t.destroy()}}},u.prototype.removeRelatedCommands=function(t){if(this.GL.hasOwnProperty(t)){var i=this.GL[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.GL)this.GL.hasOwnProperty(t)&&this.removeRelatedCommands(t)},u.prototype.getCommand=function(t){var i=this.GL[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]}},D4oL: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.KR={},this.YL=0}return t.prototype.destroy=function(){this.KR={}},t.prototype.addEventListener=function(t,i,n){return this.KR?this.qL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.KR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.qL(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.KR&&t in this.KR&&Object.prototype.hasOwnProperty.call(this.KR[t],i)&&delete this.KR[t][i]},t.prototype.removeEventListeners=function(t){if(this.KR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.KR&&Object.prototype.hasOwnProperty.call(this.KR[s],e)&&(delete this.KR[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.KR&&t in this.KR){var s=this.KR[t];s&&this.WL(s,t,!1,i);var e=this.KR["*"];e&&this.WL(e,t,!0,i)}},t.prototype.WL=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.qL=function(t,i,n){this.KR[t]||(this.KR[t]={});var s=t+"_"+ ++this.YL;return this.KR[t][s]={subscriber:n,listener:i},s},t}();i.default=e},D8uh:function(t,i,n){"use strict";function s(t){this.name=t||"unnamed",this.KR={},this.YL=0}t.exports=s,s.prototype.addEventListener=function(t,i,n){if(this.KR){this.KR[t]||(this.KR[t]={});var s=t+"_"+ ++this.YL;return this.KR[t][s]={subscriber:n,cb:i},s}},s.prototype.removeEventListener=function(t,i){this.KR&&t in this.KR&&this.KR[t].hasOwnProperty(i)&&delete this.KR[t][i]},s.prototype.removeEventListeners=function(t){var i=this;i.KR&&t&&Object.keys(t).forEach((function(n){var s=t[n];n in i.KR&&i.KR[n].hasOwnProperty(s)&&(delete i.KR[n][s],delete t[n])}))},s.prototype.publish=function(t){var i=this;if(i.KR&&t in i.KR){var n=i.KR[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.KR=null}},"DDi/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.configSchema=void 0,i.configSchema={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{version:{default:"8.2.168",type:"string"},jshlsVersion:{default:"1.1.270",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"},pluginConfigs:{type:"object",properties:{"source-metadata-plugin":{type:"object"}}}}}},DTfC:function(t,i,n){"use strict";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||i.id,f=c?s.resolve(t,c):t;if(f){if(f.indexOf("#")<0&&(f+="#"),u[f]){if(!e.deepCompareStrict(u[f],i))throw new Error("Schema <"+f+"> already exists with different definition");return u[f]}u[f]=i,"#"==f[f.length-1]&&(u[f.substring(0,f.length-1)]=i)}h(f+"/items",Array.isArray(i.items)?i.items:[i.items]),h(f+"/extends",Array.isArray(i.extends)?i.extends:[i.extends]),n(f+"/additionalItems",i.additionalItems),o(f+"/properties",i.properties),n(f+"/additionalProperties",i.additionalProperties),o(f+"/definitions",i.definitions),o(f+"/patternProperties",i.patternProperties),o(f+"/dependencies",i.dependencies),h(f+"/disallow",i.disallow),h(f+"/allOf",i.allOf),h(f+"/anyOf",i.anyOf),h(f+"/oneOf",i.oneOf),n(f+"/not",i.not)}}function h(t,i){if(Array.isArray(i))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("g6Is"),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.hE=t,this.name="SapiMetadataPlugin",this.version="8.2.168",this.mimetype=e.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=e.Plugin.PluginType.METADATA,this.XL=!1,this.ZL="",this.WE={};var i=this.hE.config&&this.hE.config.CMS;this.QL=i&&i.host||c.default.getEnv(i&&i.env||""),this.BS=new a.default(this.hE),r.Loader.preconnect("preconnect-sapi","//"+this.QL)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.WE=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.BS.parseMediaItemsResponse(i),Array.isArray(i)&&i.every(this.JL))t((function(){s.onComplete(i)}));else{var o=this.WE.qs||{};this.KL(i,o,n,s)}else this.$L("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.XL=!0},i.prototype.destroy=function(){this.cancel()},i.prototype.KL=function(t,i,n,s){var e=this,r=this._C(t,i,n),h=2,o=function(i){e.XL||e.$C(t,i,(function(t,i){t||!i?(t=t||"",e.$L(null,null,u.getErrorCode(),t,s)):s.onComplete(i)}))},a=function(t,i,n){if(!e.XL)if(h>0)h--,e.tP(r,o,a);else{var c=t.message+"; "+r+"; "+i+"; "+n;e.$L(null,null,u.getErrorCode(t,i,n),c,s)}};this.tP(r,o,a)},i.prototype.tP=function(t,i,n){r.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,withCookie:!1})},i.prototype._C=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.ZL=r.width+"x"+r.height;var u=[this.ZL,h.PLAYLIST_THUMB_DIMENSION],c={dev_type:this.BS.getDeviceType(),region:this.hE.region||"US",lang:this.hE.lang,site:this.hE.site,image_sizes:u.join(",")};return c=o.default.extend(i,c),"//"+this.QL+"/v1/video/videos/"+e+"?"+s.stringify(c)},i.prototype.$C=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.iP(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},i.prototype.iP=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.nP(i.thumbnails)||a.DEFAULT_MEDIA_ITEM_META.posterUrl,n.thumbnail=this.sP(i.thumbnails)||n.posterUrl||a.DEFAULT_MEDIA_ITEM_META.thumbnail,n.liveState=i.live_state||a.DEFAULT_MEDIA_ITEM_META.liveState;var s=t.metadata&&t.metadata.type;s&&(n.type=s),t.customConfig=t.customConfig||{},t.metadata=n},i.prototype.$L=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.nP=function(t){var i=this;if(!t||0===t.length)return"";var n=t.filter((function(t){return t.tag===i.ZL})),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.sP=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.JL=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)},DdJv: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"}}}},DnkH: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("hq3Z"),o=n("ToqN"),u=n("7PPe"),a=n("wqBe"),c=n("xPTa"),f=n("rBpt"),l=n("ablw"),v=n("yf6s"),d=n("WQNt");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.eP=null,e.cO=i,e.hE=n,e.fO=s,e.rP=e.hE.ccUserPreferences||{},e.hP(),e.cO.addEventListener(a.VideoEvent.PLAYING,e.onMediaItemPlaybackStarted,e),o.userAgent.tv||e.cO.addEventListener(a.AD_BREAK_ENDED,e.onAdBreakEnded,e),e.cO.addEventListener(a.PLAYBACK_PROGRESS,e.oP,e),e.cO.addEventListener(a.FULLSCREEN_CHANGE,e.uP,e),e.cO.addEventListener(u.ExternalEvt.PLAYER_VIEWPORT_CHANGE,e.uP,e),e.cO.addEventListener(a.VTT_SEGMENT_LOADED,e.aP,e),e.cO.addEventListener(a.CCEvent.LANGUAGE_CHANGE,e.onLanguageChange,e),e.cO.addEventListener(a.CCEvent.UPDATE_STYLE,e.updateCCStyle,e),e.cO.addEventListener(a.CCEvent.POSITION_CHANGE,e.cP,e),e.cO.addEventListener(a.CCEvent.POSITION_FLOAT,e.fP,e),e.cO.addEventListener(a.CCEvent.USER_STYLE_PREFERENCES_CHANGE,e.lP,e),e.cO.addEventListener(a.SUBTITLE_TRACK_RECEIVED,e.vP,e),e.cO.addEventListener(a.AD_SUBTITLE_TRACK_ADDED,e.dP,e),e.pP=[],e.mP=null,e.bP=null,e.yP="en-us",e.gP={},e.wP=document.createElement("div"),v.default.classList(e.wP).add("vp-cc-element"),e.EP=document.createElement("span"),e.wP.appendChild(e.EP),e.OP=e.rP.fontSize,e.updateCCStyle();var r=e.fO.getMainElement();return r&&r.appendChild(e.wP),o.userAgent.tv&&(e.AP=new d.default(e.cO,e.hE)),e._P=!1,e.hE.ccOnMute&&e.hE.mute&&(e._P=!0),e.TP="",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.mP&&this.mP.id!==t.id&&delete this.gP[this.mP.id],this.mP=t,this.v_=t.isLive(),!this.gP[t.id]){var i={ccAvailable:!1,vttPresent:!1,parsedCaptions:null};this.gP[t.id]=i,this.SP(t)?(i.vttPresent=!0,this.jP(!0)):(i.ccAvailable=!0,i.vttPresent=!1,this.IP=null,this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.NP(t.closedCaptions))}this.AP&&this.AP.onMediaItemLoaded(t)}},n.prototype.destroy=function(){this.gP=null},n.prototype.enableAndPersist=function(t){this.MP(!0,t)},n.prototype.disable=function(){this.RP(!1)},n.prototype.disableAndPersist=function(){this.RP(!0)},n.prototype.enable=function(t){this.MP(!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.bP=t}),0)},n.prototype.onAdPlaybackProgress=function(t){var i=t.currentTime,n=t.duration;if(this.bP){var s=this.bP.adId||this.bP.id||null;s&&this.DP(s,i,n)}},n.prototype.onAdBreakEnded=function(){this.kP()||this.jP(!0),this.resetCC()},n.prototype.resetCC=function(){this.bP=null,this.kP()&&this.LP()},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.wP){var t=v.default.cssHexToRgb(this.rP.bgColor)||{r:0,g:0,b:0},i=0===this.rP.bgOpacity?"transparent":"rgba("+t.r+","+t.g+","+t.b+","+this.rP.bgOpacity+")",n=m[this.rP.fontEffect];this.wP.style.fontFamily=this.rP.fontName,this.uP(),this.wP.style.color=this.rP.fontColor,this.EP.style.backgroundColor=i,this.wP.style.textShadow=n,this.cP("top"===this.rP.ccPos),o.userAgent.tv&&(o.userAgent.samsung&&this.CP(),Object.assign(this.wP.style,{position:"absolute",width:"100%",textAlign:"center",bottom:"14%",zIndex:"30"}))}},n.prototype.hP=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.rP[s]=n[s])},n.prototype.LP=function(){var t,i,n=["en-us"],s=this.PP(),e=s?this.gP[s]:null;if(this.pP&&this.pP.length&&(n=this.pP.map((function(t){return t.lang}))),i=this.IP&&this.IP.lang||this.rP.lang,this.xP(!1),e&&!e.hasNonNativeCC){var r=e&&e.tracks||null;r&&r.length&&(n=r.map((function(t){return t.language})),i=this.VP&&this.VP.language||this.rP.lang,this.xP(!0))}this.publish(p.CC_LIST_FETCHED,{langList:n,selectedLang:i});var h=this.rP.show||this._P;null===(t=this.fO.controls)||void 0===t||t.updateClosedCaptionButtonState(h),this.publish(p.CC_AVAILABILITY_UPDATE,!0),(this.rP.show||this._P)&&this.enable()},n.prototype.PP=function(){var t,i,n=this.hE.playbackState;return n&&n.playingItem&&n.playingItem.adBreakItemId?t=n.playingItem.adBreakItemId:(i=this.hE.playlist.getCurrentItem())&&(t=i&&i.id),t},n.prototype.xP=function(t){this.publish(p.TOGGLE_SIMPLE_CC_CONTROLS,t)},n.prototype.MP=function(t,i){var n=this,s=this.PP(),e=s?this.gP[s]:null;if(!e||!e.ccAvailable)return!1;var r=function(){var s=e.tracks||[];return!(!s||s.length<1)&&(n.VP=n.BP(e,i),!!n.VP&&(s.forEach((function(t){t===n.VP?t.mode="showing":t.mode="hidden"})),n.FP({show:!0,lang:n.VP.language},t),!0))};if(e.vttPresent||o.userAgent.ios){if(v.default.classList(this.wP).remove("vp-hide"),v.default.classList(this.wP).add("vp-show"),this.v_&&v.default.classList(this.wP).add("vp-live-cc"),e&&e.hasNonNativeCC)return this.FP({show:!0,lang:"en-us"},t),!0;var h=r();return h||this.publish(p.CC_AVAILABILITY_UPDATE,!1),h}return this.IP=this.zP(i),this.IP||(this.IP=this.zP(this.rP.lang)||this.pP[0]),!!(o.userAgent.desktop||o.userAgent.tv||o.userAgent.android)&&(this.HP(this.IP,(function(i){i?(e.parsedCaptions=n.IP.parsedCC,v.default.classList(n.wP).remove("vp-hide"),v.default.classList(n.wP).add("vp-show"),n.FP({show:!0,lang:n.IP.lang},t)):r()})),!0)},n.prototype.zP=function(t){for(var i,n=0,s=this.pP;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.HP=function(t,i){var n=this;if(t){var s=this.PP(),e=s?this.gP[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.jP(),i&&i(!1)},successHandler:function(s){h===r.srt?e.parsedCaptions=t.parsedCC=n.GP(s):h===r.vtt&&(e.parsedCaptions=t.parsedCC=n.YP(s||"",0,!1)),e.parsedCaptions&&(e.hasNonNativeCC=!0,n.mP&&n.mP.setCCAvailability(!0),i&&i(!0)),i&&i(!1)}})}else i&&i(!1)}else i&&i(!1)},n.prototype.jP=function(t){if(this.publish(p.CC_AVAILABILITY_UPDATE,!1),this.IP=null,this.VP=null,this.disable(),t){var i=this.PP(),n=i?this.gP[i]:null;n&&(n.ccAvailable=!1),this.pP=[]}},n.prototype.RP=function(t){var i=this.PP(),n=i?this.gP[i]:null;return this.FP({show:!1},t),this.v_&&!this.hE.playbackState.ad||!n||n.vttPresent||(n.parsedCaptions=null),n&&n.tracks&&n.tracks.forEach((function(t){t.mode="hidden"})),v.default.classList(this.wP).remove("vp-show"),v.default.classList(this.wP).add("vp-hide"),!0},n.prototype.FP=function(t,i){t||(t={});var s=t&&t.show,e=t&&t.lang;this.cO.publish(a.CCEvent.TOGGLE,s),i&&(l.isBoolean(s)&&(this.rP.show=s,this._P=s),e&&l.isString(e)&&(this.rP.lang=e),n.saveCCSettingsToLocalStorage({ccSettings:this.rP}))},n.prototype.oP=function(t,i,n){var s=this.mP&&this.mP.id||null;s&&!this.bP&&(this.v_?this.qP(s,i):this.DP(s,i,n))},n.prototype.qP=function(t,i){var n=this;if(t){var s=this.gP[t];if(s&&s.hasNonNativeCC&&this.WP(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.XP(h,s.parsedCaptions[e].settings)}else this.ZP||(this.ZP=setTimeout((function(){n.XP(""),clearTimeout(n.ZP),n.ZP=null}),1e3))}else""!==this.EP.innerHTML&&this.XP("")}},n.prototype.DP=function(t,i,n){if(t){var s=this.gP[t];if(s&&s.hasNonNativeCC&&this.WP(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.XP(u,s.parsedCaptions[h].settings)}else this.XP("")}else this.XP("")}},n.prototype.XP=function(t,i){if(t!==this.TP)if(this.TP=t,t){if(this.EP.innerHTML=o.userAgent.tv?t:this.QP(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.wP.style.textAlign="left":"line"!==r||this.rP.ccPos?"position"===r&&(this.wP.style.left=h,this.JP(),this.wP.style.right=""):this.wP.style.top=h}}else this.EP.innerHTML=""},n.prototype.JP=function(){var t=parseInt(getComputedStyle(this.wP).left,10),i=this.hE.uiState.videoWidth-t-10+"px";this.wP.style.width=i},n.prototype.vP=function(t){if(t&&t.itemId){var i=t.itemId,n=this.gP[i];n||(n={ccAvailable:!1,vttPresent:!1,parsedCaptions:null,tracks:[]},this.gP[i]=n);var s=t.track;s&&(s.mode="hidden",n.ccAvailable=!0,n.tracks||(n.tracks=[]),n.tracks.push(s));var e=this.PP();e&&e===i&&this.LP()}},n.prototype.dP=function(t){var i=this;this.gP[t.itemId]={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.pP.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.HP(t.track,(function(n){i.IP=i.zP(t.track.lang),i.IP.ccAvailable=!0,v.default.classList(i.wP).remove("vp-hide"),v.default.classList(i.wP).add("vp-show"),i.gP[t.itemId]=i.IP,i.LP(),i.FP({show:!0,lang:i.IP.lang},!1),i.MP(!1,t.track.lang)}))},n.prototype.QP=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.EP.innerHTML=t;var s=Math.floor(this.EP.offsetHeight/(this.OP+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.WP=function(t){(t&&t.tracks||[]).forEach((function(t){t.mode="hidden"}))},n.prototype.lP=function(){this.updateCCStyle()},n.prototype.uP=function(t){var i,n=this,s=0,e=this.fO.getMainElement();e&&(s=e.offsetWidth);var r=Math.ceil(this.rP.fontSize*(s/640));if(s>640?r=Math.ceil(.8*r):s<640?r<10&&(r=10):r=this.rP.fontSize,this.OP=r,this.wP.style.fontSize=this.OP+"px",o.userAgent.ios){var h=this.PP(),u=null===(i=h?this.gP[h]:null)||void 0===i?void 0:i.tracks;if(!0===t){if(!u||0===u.length)return;this.eP=null,this.eP=setInterval((function(){var t,i=!1;u.forEach((function(t){i="showing"===t.mode})),null===(t=n.fO.controls)||void 0===t||t.updateClosedCaptionButtonState(i)}),1e3)}else!1===t&&(this.eP&&window.clearInterval(this.eP),this.eP=null)}},n.prototype.aP=function(t,i){if(t){var n=t.itemId;if(n){var s=this.gP[n];if(s||(s={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.gP[n]=s),s.hasNonNativeCC=!0,!s.parsedCaptions||!s.ccAvailable){s.parsedCaptions=s.parsedCaptions||[],s.vttPresent=!0,s.ccAvailable=!0;var e=this.hE.playlist.getMediaItemById(n);e&&e.setCCAvailability(!0);var r=this.PP();r&&r===n&&this.LP()}if(s.vttPresent){var h=t.adjustedTime?t.adjustedTime:0,o=this.YP(t.data||"",h,i);s.parsedCaptions=this.KP(s.parsedCaptions,o)}}}},n.prototype.KP=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.v_||!this.v_&&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.NP=function(t){var i=this;this.$P((function(t){i.pP=t,i.pP.length>0?(o.userAgent.mobile?i.publish(p.CC_LIST_FETCHED_MOBILE,{langList:i.pP,selectedLang:i.rP.lang}):(i.publish(p.CC_LIST_FETCHED,{langList:i.pP.map((function(t){return t.lang})),selectedLang:i.rP.lang}),i.mP&&i.mP.setCCAvailability(!0)),i.rP.show||i._P?i.enable(i.rP.lang):i.disable()):i.jP(!0)}),t,o.userAgent.desktop||o.userAgent.tv)},n.prototype.$P=function(t,i,n){t(i.filter((function(t){return"text/vtt"===t.content_type})))},n.prototype.GP=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.YP=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._x||o.userAgent.tizen||(this._x=1e3*this.tU(p[1]));var m=1e3*this.tU(p[1]),y=1e3*this.tU(p[2]);n&&!o.userAgent.tizen?(m-=this._x,y-=this._x):(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})),E=3;E<w.length;E++)g.push(w[E]);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.tU=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.BP=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.rP.lang||"en-us"),!n&&this.rP.lang&&e(this.rP.lang),!n&&s[0]&&(n=s[0]),n},n.prototype.fP=function(t){var i=this.wP,n=this.PP(),s=n?this.gP[n]:null;s&&s.ccAvailable&&!v.default.classList(i).contains("vp-hide")&&("bottom"===this.rP.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.kP=function(){var t=this.mP?this.gP[this.mP.id]:null;return t&&t.ccAvailable||!1},n.prototype.cP=function(t){var i=this.wP;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.CP=function(){var t=m[this.rP.fontEffect],i=this.rP.windowBgColor&&v.default.cssHexToRgb(this.rP.windowBgColor)||{r:0,g:0,b:0},n=0===this.rP.windowBgOpacity?"transparent":"rgba("+i.r+","+i.g+","+i.b+","+this.rP.windowBgOpacity+")";this.wP.style.backgroundColor=n;var s=this.rP.fontColor&&v.default.cssHexToRgb(this.rP.fontColor)||{r:255,g:255,b:255},e=0===this.rP.fontOpacity?"transparent":"rgba("+s.r+","+s.g+","+s.b+","+this.rP.fontOpacity+")";this.EP.style.color=e;var r=this.rP.fontEdgeColor&&v.default.cssHexToRgb(this.rP.fontEdgeColor)||{r:255,g:255,b:255};switch(this.rP.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.rP.fontEdgeColor)}this.wP.style["text-shadow"]=t},n}(h.default);i.CCController=y},DrHj:function(t,i,n){"use strict";t.exports.TsStreamer=a,t.exports.TsLiveStreamer=c;var s=n("juTp"),e=n("yUCA").Streamer,r=n("a29t"),h=n("qudH").CmdNames,o=n("zY0b"),u=n("mvD1");function a(t,i){this.ZS(t,i)}function c(t,i){this.ZS(t,i),this.SEGMENT_OFFSET=2}s.inherits(a,e),s.inherits(c,r),c.prototype.ZS=a.prototype.ZS=function(t,i){this.constructor.super_.call(this,t,i),this.QS=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastChunkEndTs={audio:NaN,video:NaN},this.lastFrameDuration={audio:NaN,video:NaN},this.iU(),this.KS=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.$S=this.STATES.INITIALIZED},c.prototype.destroy=a.prototype.destroy=function(){this.iU(),this.QS.destroy.call(this)},c.prototype.onSeeking=a.prototype.onSeeking=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.QS.onSeeking.call(this,t)},c.prototype.onSwitchBegin=a.prototype.onSwitchBegin=function(){this.iU(),this.QS.onSwitchBegin.call(this)},c.prototype.GN=a.prototype.GN=function(){this.iU()},c.prototype.eI=a.prototype.eI=function(t){return{segment:this.hE.getSegment(this.hE.currentLoadingStreamIndex,t),stream:this.rI,state:{mp4:this.nU,lastChunkEndTs:this.lastChunkEndTs,lastFrameDuration:this.lastFrameDuration,isAltAudioActive:this.sU},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.hE.setPCR(s.pcr),o.isNumber(s.frameRate)&&this.rI.setFrameRate(s.frameRate),o.isNumber(s.startOffsetTimestamp)&&this.hE.setStartOffset(s.startOffsetTimestamp),s.lastChunkEndTs&&(this.lastChunkEndTs=s.lastChunkEndTs),s.lastFrameDuration&&(this.lastFrameDuration=s.lastFrameDuration)),this.QS.onSegmentLoadProgress.call(this,t,i,n)}},c.prototype.lI=a.prototype.lI=function(t,i){var n=this;t&&(n.QS.lI.call(n,t,i),t.forEach((function(t){n.nU[t.type].shouldInit=!1})))},c.prototype.onSynchMetadataReady=a.prototype.onSynchMetadataReady=function(t){this.processOnlyMetadata=!1,this.QS.onSynchMetadataReady.call(this,t)},c.prototype.onManualStreamChange=a.prototype.onManualStreamChange=function(){this.iU(),this.lastChunkEndTs={audio:NaN,video:NaN},this.QS.onManualStreamChange.call(this)},c.prototype.midSegUpSwitch=a.prototype.midSegUpSwitch=function(){this.iU(),this.lastChunkEndTs={audio:NaN,video:NaN},this.QS.midSegUpSwitch.call(this)},c.prototype.iU=a.prototype.iU=function(){this.nU={audio:{shouldInit:!0,seqNum:0},video:{shouldInit:!0,seqNum:0}}},c.prototype.cI=a.prototype.cI=function(t,i){},a.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},c.prototype.qN=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.QS.qN.call(this,t)}},DzsB:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.uiSchema=void 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"}}}},"E2T+":function(t,i,n){"use strict";t.exports=o;var s=n("NnkH"),e=n("9m1L").HLSEvent,r=n("HNSW").StreamTypes,h=n("vl8+");function o(t,i,n,o){var u=this;if(u.type=t,u.groupId=i,u.eU=[],u.rU=u.__controller.create(h),n){(n=u.hU(n)).forEach((function(t){var i=u.__controller.create(s,t);u.eU.push(i),u.rU.addStream(i)}));var a=u.oU("default");a||(a=u.oU("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.uU())}u.aU()}o.prototype.oU=function(t){for(var i=0;i<this.eU.length;i++)if(this.eU[i][t])return this.eU[i];return null},o.prototype.destroy=function(){this.eU.forEach((function(t){t.destroy()})),this.eU=[],this.rU.destroy()},o.prototype.getCurrentStream=function(){return this.rI},o.prototype.setCurrentStream=function(t){t&&(this.rI=t)},o.prototype.setCurrentStreamWithName=function(t){if(!t||!this.rI||t===this.rI.name)return!1;for(var i=0;i<this.eU.length;i++){var n=this.eU[i];if(t===n.name)return this.setCurrentStream(n),!0}return!1},o.prototype.update=function(t){this.rU.update(t)},o.prototype.adjustStartTime=function(t,i){var n=this;n.eU.forEach((function(s){s.adjusted||n.rU.adjustStartTime(s,t,i)}))},o.prototype.getContainerFormat=function(){return this.rI?this.rI.containerFormat:null},o.prototype.setContainerFormat=function(t){this.eU.forEach((function(i){i.containerFormat||(i.containerFormat=t)}))},o.prototype.getDrmInfo=function(){for(var t=[],i=0;i<this.eU.length;i++){var n=this.eU[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.eU.length>0},o.prototype.aU=function(){return!0},o.prototype.uU=function(){var t=this,i={},n=[];t.eU.forEach((function(s){i[s.name]||(i[s.name]=1,n.push({name:s.name,language:s.language,selected:t.rI&&s.name===t.rI.name}))})),n.length>1&&t.__controller.sendEvent(e.MULTI_LANGUAGES_AVAILABLE,{sessionId:t.__controller.model.sessionId,languages:n})},o.prototype.hU=function(t){return t?t.filter((function(t){return!!t.url})):t}},E2cV: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.HI.node,s.kS=!1,s.type=i,s.mimeType=n,s.cU=t,s.buffer=t.addSourceBuffer(n),s.fU=[],s.lU=[],s.vU=[],s.dU=!1,s.pU=.1,s.ready=!1,s.TIMESTAMP_COMPARE_EPSILON=.065,s.GOP_LENGTH=2,s.mU=s.bU.bind(s),s.buffer.addEventListener("updateend",s.mU),s.LM=function(){s.abort()},s.buffer.addEventListener("error",s.LM),s.state="open"}r.prototype.destroy=function(){this.remove(),this.fU=[],this.lU=[],this.vU=[],this.state="closed"},r.prototype.remove=function(){this.kS||(this.kS=!0,this.abort(),this.buffer.removeEventListener("updateend",this.mU),this.buffer.removeEventListener("error",this.LM),"closed"!==this.cU.readyState&&this.cU.removeSourceBuffer(this.buffer))},r.prototype.setMinBufferTime=function(t){this.pU=Math.max(.1,t)},r.prototype.appendBuffer=function(t,i,n,e,r){if(!this.kS){var h={type:s,cb:r,buffer:t,startTime:i,endTime:n,time:n-i,onlyMetadata:e||!1};this.fU.push(h),this.yU()}},r.prototype.clearBuffer=function(t,i,n){if(this.kS||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.lU.push(s),this.yU()},r.prototype.abort=function(){if("open"===this.cU.readyState&&!this.kS){this.fU=[],this.lU=[],this.vU=[];try{this.buffer.abort()}catch(t){}}},r.prototype.clearAll=function(){if("closed"!==this.cU.readyState&&!this.kS){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.dU=t,this.kS||(t?(this.gU(),this.yU()):this.state=this.fU.length?this.state:"empty")},r.prototype.gU=function(){this.dU&&"empty"===this.state&&!this.vU.length&&(this.state="closed")},r.prototype.bU=function(){if(!this.kS){if(this.ready=!0,this.vU.length)this.vU.shift().cb(null,this);this.fU.length||(this.state="empty"),this.yU(),this.gU()}},r.prototype.yU=function(){for(;this.lU.length;){if(this.buffer.updating)return;this.wU(this.lU.shift())}for(;this.fU.length;){if(this.buffer.updating)return;var t=this.getBufferLength()+this.getTotalPendingBufferLength(),i=this.fU.length&&this.fU[0]&&this.fU[0].onlyMetadata;if(!this.dU&&t<this.pU&&!i)return;this.wU(this.fU.shift())}},r.prototype.wU=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.vU.push(t),this.state="updating"}catch(i){if("QuotaExceededError"===i.name)this.EU()&&t.type===s&&this.fU.unshift(t)}},r.prototype.EU=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.fU.forEach((function(i){i&&i.time&&(t+=i.time)})),t},r.prototype.getBufferLength=function(){var t,i=this.HI.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}},EHpZ: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}},Emy5:function(t,i,n){"use strict";t.exports=function(t){t.OU={},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.OU[s]=Object.create(e[h].prototype),e[h].apply(n.OU[s],u);break;case r.DESTROY:n.OU.hasOwnProperty(s)&&(n.OU[s].destroy(),delete n.OU[s]);break;case r.CALL_METHOD:if(n.OU.hasOwnProperty(s)){var a=n.OU[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("mvD1"),e=s.WorkerDefs,r=s.MessageIds,h=n("AbTv")},EtIN:function(t,i,n){"use strict";t.exports=c;var s=n("juTp"),e=n("Lt7U").Events,r=n("9m1L").HLSEvent,h=n("qudH"),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.rE=t.subtitleStream,this.__controller=t.controller,this.eE=t.segment||null,this.VI={},this.AU()}s.inherits(c,o),c.prototype.destroy=function(){this._i.destroy(),this.__controller.removeEventListeners(this.VI),o.prototype.destroy.call(this)},c.prototype.execute=function(){this.eE&&this._i&&this._i.load(this.eE.url)},c.prototype.cancel=function(){},c.prototype.AU=function(){var t=this;t._i=t.__controller.services.getNewLoader();t._i.addEventListener(e.COMPLETE,(function(i){t.LE(i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(a.CMD_ERROR,t,i)}),t)},c.prototype.LE=function(t){if(this.eE){this.eE.data=t.data;var i=this.eE.pcr();null!=i?this.aM():this.__controller.addEventListener(r.PCR_AVAILABLE,this.aM,this)}},c.prototype.aM=function(){this.eE.parseSegment(),this.publish(a.CMD_COMPLETE,this,{data:this.eE.toObject(),url:this.eE.url})}},FKKO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.IN=t,this.MS=this.IN.getPlaylist()}return t.prototype.getMediaItems=function(){return this.MS.getItems()},t.prototype.removeAllMediaItems=function(){var t=this.MS.size;this.MS.removeItems(0,t)},t.prototype.removeMediaItems=function(t){var i=this;t.forEach((function(t){var n=i.MS.getItemPosition(t.id);i.MS.removeItems(n,1)}))},t.prototype.insertMediaItems=function(t,i){if(Array.isArray(t)){for(var n=this._U(t),s=i,e=0,r=t;e<r.length;e++){var h=r[e];this.MS.addItemAtIndex(h,s),s++}n&&this.IN.fetchMetadata()}},t.prototype.appendMediaItems=function(t){if(Array.isArray(t)){var i=this._U(t);this.MS.addItems(t),i&&this.IN.fetchMetadata()}},t.prototype.getCurrentMediaItem=function(){return this.MS.getCurrentItem()},t.prototype.getMediaItemMarkers=function(t){var i=this.IN.mediaStore.getById(t);return i&&i.getMarkers()},t.prototype.setCurrentMediaItem=function(t){if(this.IN.mediaStore.get(t.id)){var i=this.MS.getItemPosition(t.id);this.MS.setPosition(i)}else this.MS.addItems([t]),this.IN.fetchMetadata(),this.MS.setPosition(this.MS.size-1)},t.prototype.setMediaItemTitle=function(t,i){var n=this.MS.getMediaItemById(t);n&&(n.title=i)},t.prototype._U=function(t){var i=this.IN.mediaStore;return t.filter((function(t){var n=t.id;return null===i.get(n)})).length>0},t}();i.default=s},FM4w:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("7PPe"),e=n("P2OX"),r=n("yf6s"),h=n("rBpt"),o="",u="";if("0.2.447".indexOf("local")>-1)u="https://assets.video.yahoo.net/builds/0.2.174/nielsen-iframe.html";else{u=(o="https://assets.video.yahoo.net")+"/builds/0.2.447/nielsen-iframe.html"}var a,c,f;i.NIELSEN_IAB_VENDOR_ID=373,function(t){t.linear="1",t.dynamic="2"}(a=i.NielsenAdType||(i.NielsenAdType={})),function(t){t.LOAD_METADATA="loadMetadata",t.SEND_ID3="sendID3",t.END="end"}(c=i.NielsenEvents||(i.NielsenEvents={})),function(t){t.INITIALIZE="initialize",t.SEND_BEACON="sendBeacon"}(f=i.IframeMessageType||(i.IframeMessageType={}));var l=function(){function t(t,i){this.jN=t,this.TU=null,this.SU="",this.jU=!1,this.IU=!1,this.NU=!1,this.MU=[],this.RU=!1,this.DU="",this.kU=!1,this.LU=[{evt:s.ExternalEvt.PLAYBACK_START,cb:this.CU.bind(this)},{evt:s.ExternalEvt.TIMED_METADATA_RECEIVED,cb:this.PU.bind(this)},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.xU.bind(this)},{evt:s.ExternalEvt.PLAYBACK_STOPPED,cb:this.xU.bind(this)},{evt:s.ExternalEvt.MEDIA_ITEM_ERROR,cb:this.xU.bind(this)}],this.UU="P77FED7E1-92A2-4B10-A9AA-16756377EB20",t&&(h.Privacy.initIframeForGDPR(),this.VU(),this.SU="vp-player-"+Math.floor(1e4*Math.random()),i&&i.length&&(this.UU=i),this.BU(),this.dI={},this.FU(),this.zU(),this.DU=this.jN.addEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.zU.bind(this),this))}return t.prototype.destroy=function(){this.TU&&(this.jN.removeEventListeners(this.dI),window.removeEventListener("message",this.HU),this.TU=null,this.MU=null,this.dI={},this.jN.removeEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.DU))},t.prototype.zU=function(){this.NU||(this.a_(),this.IU=!1,this.jU=!1,this.NU=!0)},t.prototype.GU=function(){this.NU&&(this.jN.removeEventListeners(this.dI),window.removeEventListener("beforeunload",this.xU.bind(this)),this.IU=!0,this.NU=!1)},t.prototype.BU=function(){var t=this;this.TU=document.getElementById("vp-nielsen-iframe"),this.TU?(this.YU(),this.RU=!0):(this.TU=document.createElement("iframe"),this.TU.id="vp-nielsen-iframe",this.TU.style.display="none",this.TU.onload=function(){t.YU(),t.RU=!0,t.kU&&t.qU()},this.TU.src=u,document.body.appendChild(this.TU))},t.prototype.YU=function(){this.WU(f.INITIALIZE,null,{appid:this.UU})},t.prototype.WU=function(t,i,n){if(this.TU&&this.TU.contentWindow){var s={messageType:t,nielsenEvent:i,payload:n,playerid:this.SU};this.TU.contentWindow.postMessage(s,o)}},t.prototype.a_=function(){var t=this;window.addEventListener("beforeunload",this.xU.bind(this)),this.LU.forEach((function(i){t.dI[i.evt]=t.jN.addEventListener(i.evt,i.cb,t)}))},t.prototype.FU=function(){window.addEventListener&&window.addEventListener("message",this.HU.bind(this))},t.prototype.HU=function(t){if(t.origin===o){var i=t.data&&t.data.messageType,n=t.data&&t.data.success||!1;if(i&&!n)return;i===f.SEND_BEACON&&n&&(this.jU=!0)}},t.prototype.XU=function(t,i){var n=this;this.MU.push((function(){n.WU(f.SEND_BEACON,t,i)})),this.TU&&this.RU&&this.kU&&this.qU()},t.prototype.qU=function(){this.MU.forEach((function(t){t()})),this.MU=[]},t.prototype.CU=function(t){var i=this.jN.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:a.linear};this.XU(c.LOAD_METADATA,s)},t.prototype.xU=function(){if(this.jU&&!this.IU){var t=Date.now()/1e3;this.XU(c.END,t),this.jU=!1,this.GU()}},t.prototype.PU=function(t){var i=r.default.detectRegexPattern(e.ID3_MATCH_PATTERN.NIELSEN,t);i&&this.jU&&this.XU(c.SEND_ID3,i)},t.prototype.VU=function(){var t=this;h.Privacy.getVendorConsent(i.NIELSEN_IAB_VENDOR_ID,(function(i,n){var s,e;if(n){var r=null===(s=i)||void 0===s?void 0:s.gdprApplies;t.kU=!r||!!(null===(e=i)||void 0===e?void 0:e.hasConsent),t.kU||t.GU()}else t.GU()}))},t}();i.default=l},FNUl: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("hq3Z"),o=n("7PPe"),u=n("xPTa"),a=n("ablw"),c=n("t7cw");!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.jN=i,s.hE=n,s.ZU=0,s.dI={},s.QU=[],s.UT=!1,s.JU=0,s.KU=!1,s.$U="",s.tV=null,s.iV=0,[{evt:o.ExternalEvt.VIDEO_REQUEST,cb:s.nV},{evt:o.ExternalEvt.PLAYBACK_PAUSE,cb:s.sV},{evt:o.ExternalEvt.SEG_INFO_AVAILABLE,cb:s.eV},{evt:o.ExternalEvt.PLAYBACK_TIME_UPDATE,cb:s.rV},{evt:o.ExternalEvt.PLAYBACK_SEEKING,cb:s.hV},{evt:o.ExternalEvt.PLAYBACK_SEEK_COMPLETE,cb:s.oV},{evt:o.ExternalEvt.RECOVERY_METADATA_READY,cb:s.uV}].forEach((function(t){s.dI[t.evt]=s.jN.addEventListener(t.evt,t.cb,s)})),s}return e(i,t),i.prototype.destroy=function(){this.jN.removeEventListeners(this.dI),this.aV()},i.prototype.updatePlaybackStats=function(t){var i=this.cV();t.dur=Math.floor(this.ZU)||"",t.dur_d=Math.floor(this.ZU)-Math.floor(this.JU)||0,t.buff_info=i.segInfo||"",t.buf_dur=i.bufDur||0,this.$U&&(t.rcvr_status=this.$U)},Object.defineProperty(i.prototype,"totalWatchTime",{get:function(){return this.ZU},enumerable:!0,configurable:!0}),i.prototype.nV=function(t,i){this.aV()},i.prototype.sV=function(t){t.playbackMode!==u.PlaybackMode.AD&&this.fV(c.BEACONS.PLAYBACK_PROGRESS),this.UL()},i.prototype.hV=function(t){this.UT=!0,this.UL()},i.prototype.oV=function(){this.UT=!1,this.hE.lastKnownPlaybackTime=this.hE.currentTime},i.prototype.eV=function(t){this.QU=this.QU.concat(t.val),this.QU=this.lV()},i.prototype.lV=function(){if(this.QU.length<=0)return this.QU;for(var t=[this.QU[0]],i=1;i<this.QU.length;i++){var n=this.QU[i];1===Object.keys(n).length&&void 0!==n.buf_dur?t[t.length-1].buf_dur+=n.buf_dur:t.push(n)}return t},i.prototype.rV=function(t,i){if(!(this.UT||a.isNullOrUndefined(t)||t<0||i.playbackMode===u.PlaybackMode.AD))if(a.isNullOrUndefined(this.hE.lastKnownPlaybackTime))this.hE.lastKnownPlaybackTime=t;else if(t>0&&(this.UL(),this.KU))this.vV();else{var n=t-this.hE.lastKnownPlaybackTime;this.hE.lastKnownPlaybackTime=t,n>0&&(this.ZU+=n),this.dV()}},i.prototype.dV=function(){var t=this;c.PROGRESS_BEACON_INTERVALS.forEach((function(i){var n=t.ZU,s=t.hE.progressBeaconsInfo.timeLastSent[i.key],e=-1===s?0:s;(i.recurring&&n>e+i.time||!i.recurring&&-1===s&&n>i.time)&&(t.hE.progressBeaconsInfo.timeLastSent[i.key]=Math.floor(n),t.fV(i.beacon))}))},i.prototype.fV=function(t){this.publish(r.VIDEO_PROGRESS,t),this.JU=Math.floor(this.ZU)},i.prototype.aV=function(){this.QU=[],this.ZU=0,this.JU=0,this.hE.lastKnownPlaybackTime=null,this.hE.resetProgressBeaconsState(),this.tV=null,this.KU=!1,this.iV=0},i.prototype.cV=function(){var t;return this.KU?(this.pV(),t=[{buf_dur:this.iV}],this.iV=0):t=this.QU.splice(0,Math.min(c.MAX_SEG_INFO_ENTRIES_PER_BEACON,this.QU.length)),{segInfo:JSON.stringify({seg:t}),bufDur:t.reduce((function(t,i){return i.buf_dur+t}),0)}},i.prototype.UL=function(){this.pV(),this.tV=null},i.prototype.pV=function(){this.tV&&(this.iV+=Date.now()-this.tV,this.tV=Date.now())},i.prototype.uV=function(){this.fV(c.BEACONS.PLAYBACK_PROGRESS),this.tV=Date.now(),this.KU=!0,this.$U="recovering",this.fV(c.BEACONS.PLAYBACK_PROGRESS)},i.prototype.vV=function(){this.$U="recovered",this.fV(c.BEACONS.PLAYBACK_PROGRESS),this.KU=!1,this.$U="",this.tV=null},i}(h.default);i.default=f},FOY8:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("s4NR"),e=n("ToqN"),r=n("g6Is"),h=n("rBpt"),o=n("he5r"),u=n("XevZ"),a=function(){function i(t){this.XL=!1,this.hE=t}return i.prototype.resolve=function(i,n,s){var e=this;if(this.hE.playlistId||this.hE.relatedVideoId){var r=2,h=this.mV(i),o=function(t){e.XL||e.$C(t,(function(t,i){t||!i?(t=t||"",e.$L(null,null,u.getErrorCode(),t,n,s)):(n.onComplete(i),s&&s())}))},a=function(t,i,c){if(!e.XL)if(r>0)r--,e.tP(h,o,a);else{var f=t.message+"; "+h+"; "+i+"; "+c;e.$L(null,null,u.getErrorCode(t,i,c),f,n,s)}};this.tP(h,o,a)}else t((function(){e.$L(null,null,u.getErrorCode(),"No playlist and video id",n,s)}))},i.prototype.cancel=function(){this.XL=!0},i.prototype.tP=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n})},i.prototype.$C=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){return{mimetype:r.MediaItemInterfaces.MediaItemMimeType.SAPI,id:t.id,customConfig:{meta:{instrument:t.instrument||{}}}}})))}catch(t){i(t.message)}},i.prototype.mV=function(t){var i=this.hE,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.$L=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)},FTfz:function(t,i){},FXl5:function(t,i,n){"use strict";var s,e,r,h=this&&this.__assign||function(){return(h=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 o=n("dbif"),u=n("vyYH"),a=h(h({},o),u),c=(null===(r=null===(e=null===(s=window.OATH)||void 0===s?void 0:s.VideoPlatform)||void 0===e?void 0:e.i18n)||void 0===r?void 0:r.strings)||a;i.default=c},"Fry/":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.bV(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t,"needsGestureToPlayUnmuted",{get:function(){return t.bV(!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.bV=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},"G/PW":function(t,i,n){"use strict";t.exports=r;var s=n("juTp"),e=n("szY1");function r(t,i){t.noDemux=!0,this.constructor.super_.call(this,t,i),this.QS=this.constructor.super_.prototype}s.inherits(r,e),r.prototype.destroy=function(){this.QS.destroy.call(this)}},GA5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("kH2p"),r=n("xl6w"),h={title:"",description:"",posterUrl:"",thumbnail:"",duration:0,type:e.MediaItemType.VOD},o=function(){function t(){this.version="0.2.447",this.mimetype=e.MediaItemMimeType.UPLYNK,this.type=r.PluginType.METADATA,this.yV=[],this.gV={},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.wV(t,i,e,n)}))}));this.XL=!1;var r=function(){s.XL=!0};this.yV.push(r),Promise.all(e).then((function(t){s.XL||(s.EV(r),n.onComplete(t))})).catch((function(t){if(!s.XL){s.EV(r);var i={code:"1",message:t.toString()};n.onError(i)}}))}},t.prototype.recover=function(t,i,n){},t.prototype.cancel=function(){this.yV.forEach((function(t){t()})),this.yV=[]},t.prototype.destroy=function(){this.cancel()},t.prototype.wV=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.XL||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.gV[o]=!0,r.XL||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.OV(t),r.JL(t)||r.gV[o])return i(t);r.AV(t,a,u)}()},t.prototype.AV=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.TV(e,i,n)},t.prototype.TV=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.EV(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e.EV(r),n.apply(void 0,t)},withCookie:!1,responseTypeJson:!0,collectPerfData:!0});this.yV.push(r)},t.prototype.EV=function(t){if(t){var i=this.yV.indexOf(t);i>=0&&this.yV.splice(i,1)}},t.prototype.OV=function(t){for(var i in t.metadata=t.metadata||{},h)void 0===t.metadata[i]&&(t.metadata[i]=h[i])},t.prototype.JL=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},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 E(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 O(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=E(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 A(t){var i,n,s,e,r,h,o,a,c,f,l,m,b,g,O,A=[];for(m=(t=y(t)).length,i=128,n=0,r=72,h=0;h<m;++h)(l=t[h])<128&&A.push(d(l));for(s=e=A.length,e&&A.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)O=a-f,g=36-f,A.push(d(w(f+O%g,0))),a=v(O/g);A.push(d(w(a,0))),r=E(n,b,s==e),n=0,++s}++n,++i}return A.join("")}o={version:"1.4.1",ucs2:{decode:y,encode:g},decode:O,encode:A,toASCII:function(t){return b(t,(function(t){return c.test(t)?"xn--"+A(t):t}))},toUnicode:function(t){return b(t,(function(t){return a.test(t)?O(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"))},H0QZ:function(t,i,n){"use strict";var s=n("skmB"),e=i.ValidationError=function(t,i,n,s,e,r){if(Array.isArray(s)?(this.path=s,this.property=s.reduce((function(t,i){return t+f(i)}),"instance")):void 0!==s&&(this.property=s),t&&(this.message=t),n){var h=n.$id||n.id;this.schema=h||n}void 0!==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.options=n,this.path=s.path,this.propertyPath=s.propertyPath,this.errors=[],this.throwError=n&&n.throwError,this.throwFirst=n&&n.throwFirst,this.throwAll=n&&n.throwAll,this.disableFormat=n&&!0===n.disableFormat};function h(t,i){return i+": "+t.toString()+"\n"}function o(t){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.instance=t.instance,this.schema=t.schema,this.options=t.options,this.errors=t.errors}r.prototype.addError=function(t){var i;if("string"==typeof t)i=new e(t,this.instance,this.schema,this.path);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.path,t.name,t.argument)}if(this.errors.push(i),this.throwFirst)throw new o(this);if(this.throwError)throw i;return 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}}),t.exports.ValidatorResultError=o,o.prototype=new Error,o.prototype.constructor=o,o.prototype.name="Validation Error";var u=i.SchemaError=function t(i,n){this.message=i,this.schema=n,Error.call(this,i),Error.captureStackTrace(this,t)};u.prototype=Object.create(Error.prototype,{constructor:{value:u,enumerable:!1},name:{value:"SchemaError",enumerable:!1}});var a=i.SchemaContext=function(t,i,n,s,e){this.schema=t,this.options=i,Array.isArray(n)?(this.path=n,this.propertyPath=n.reduce((function(t,i){return t+f(i)}),"instance")):this.propertyPath=n,this.base=s,this.schemas=e};a.prototype.resolve=function(t){return s.resolve(this.base,t)},a.prototype.makeChild=function(t,i){var n=void 0===i?this.path:this.path.concat([i]),e=t.$id||t.id,r=s.resolve(this.base,e||""),h=new a(t,this.options,n,r,Object.create(this.schemas));return e&&!h.schemas[r]&&(h.schemas[r]=t),h};var c=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]*$/,"uri-reference":/^(((([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:?)?)|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?)?))#(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|(([A-Za-z][+\-.0-9A-Za-z]*)?%[0-9A-Fa-f]{2}|[!$&-.0-9;=@_~]|[A-Za-z][+\-.0-9A-Za-z]*[!$&-*,;=@_~])(%[0-9A-Fa-f]{2}|[!$&-.0-9;=@-Z_a-z~])*((([/?](%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?#|[/?])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*)?|([A-Za-z][+\-.0-9A-Za-z]*(:%[0-9A-Fa-f]{2}|:[!$&-.0-;=?-Z_a-z~]|[/?])|\?)(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|([A-Za-z][+\-.0-9A-Za-z]*:)?\/((%[0-9A-Fa-f]{2}|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)(:\d*)?[/?]|[!$&-.0-;=?-Z_a-z~])(%[0-9A-Fa-f]{2}|[!$&-;=?-Z_a-z~])*|\/((%[0-9A-Fa-f]{2}|[!$&-.0-9;=A-Z_a-z~])+(:\d*)?|(\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?:\d*|\[(([Vv][0-9A-Fa-f]+\.[!$&-.0-;=A-Z_a-z~]+)?|[.0-:A-Fa-f]+)\])?)?|[A-Za-z][+\-.0-9A-Za-z]*:?)?$/,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]$/};c.regexp=c.regex,c.pattern=c.regex,c.ipv4=c["ip-address"],i.isFormat=function(t,i,n){if("string"==typeof t&&void 0!==c[i]){if(c[i]instanceof RegExp)return c[i].test(t);if("function"==typeof c[i])return c[i](t)}else if(n&&n.customFormats&&"function"==typeof n.customFormats[i])return n.customFormats[i](t);return!0};var f=i.makeSuffix=function(t){return(t=t.toString()).match(/[.\s\[\]]/)||t.match(/^[\d]/)?t.match(/^\d+$/)?"["+t+"]":"["+JSON.stringify(t)+"]":"."+t};function l(t,i,n,s){"object"==typeof n?i[s]=p(t[s],n):-1===t.indexOf(n)&&i.push(n)}function v(t,i,n){i[n]=t[n]}function d(t,i,n,s){"object"==typeof i[s]&&i[s]&&t[s]?n[s]=p(t[s],i[s]):n[s]=i[s]}function p(t,i){var n=Array.isArray(i),s=n&&[]||{};return n?(t=t||[],s=s.concat(t),i.forEach(l.bind(null,t,s))):(t&&"object"==typeof t&&Object.keys(t).forEach(v.bind(null,t,s)),Object.keys(i).forEach(d.bind(null,t,i,s))),s}function m(t){return"/"+encodeURIComponent(t).replace(/~/g,"%7E")}i.deepCompareStrict=function t(i,n){if(typeof i!=typeof n)return!1;if(Array.isArray(i))return!!Array.isArray(n)&&(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=p,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(m).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},i.isSchema=function(t){return"object"==typeof t&&t||"boolean"==typeof t}},H12P:function(t,i,n){"use strict";t.exports=a;var s=n("juTp"),e=n("Lt7U").Events,r=n("qudH"),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._i=t.controller.services.getNewLoader(t)}s.inherits(a,h),a.prototype.destroy=function(){this._i.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.url;t._i.addEventListener(e.COMPLETE,(function(i){t.publish(u.CMD_COMPLETE,t,i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t._i.load(i)},a.prototype.cancel=function(){}},H67V:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("9wD4");i.create=function(t,i,n){var e=s[t+"Command"];return e?new e(i,n):null}},HNSW: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("kFLO"),r=n("mVgR"),h=n("e26t"),o=n("l+r/").StreamingMode,u=n("lx8G"),a=n("VXyT");function c(t,i){this.segments=[],this.cuepoints=[],this.dateRanges={},this.type=s.MAIN,this.videoCodec=null,this.audioCodec=null,this.mp4Chunks={sidx:null,first:null},this.adjusted=!1,this.SV=new a(this),this.activeInitSegment=null,t&&(this.jV(t,i),this.updateConfig(t)),this.IV=new u}c.prototype.destroy=function(){var t=this;t.segments=[],t.cuepoints=[],t.dateRanges={},"mp4"===t.containerFormat&&Object.keys(t.mp4Chunks).forEach((function(i){var n=t.mp4Chunks[i];n&&n.destroy()})),t.SV.destroy()},c.prototype.jV=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.NV("sidx",i.sidxOffset,i.sidxLength,i.hlsInfo.mp4_url),i.mp4Chunks.first=i.NV("first",i.firstSegOffset,i.firstSegLength,i.hlsInfo.mp4_url)),t.drmInfo&&(i.drmInfo=t.drmInfo),i.MV(t.dateRanges)),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=[];i.RV(i.segments,t.segmentInfoList),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.RV=function(t,i){t&&t.length&&t.forEach((function(t){t.seqNum!==i[0].sequenceNum||(i[0].programDateTime=t.programDateTime)}))},c.prototype.addInitSegment=function(t){return"mp4"===this.containerFormat?this.SV.add(t):null},c.prototype.getInitSegment=function(t){if(!t){if(!this.segments.length)return null;t=this.segments[0]}return this.SV.get(t.initSegment)},c.prototype.NV=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.SV.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.IV.parse(t.data,"mdhd");if(i&&i.timescale>0)this.timescale=i.timescale;else{var n=this.IV.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},c.prototype.MV=function(t){var i=this;t&&t.forEach((function(t){var n=t.id+"-"+t.startDate;i.dateRanges[n]=t}))}},HeW1:function(t,i,n){"use strict";t.exports=function(t,i){return i||(i={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),i.hash&&(t+=i.hash),/["'() \t\n]/.test(t)||i.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},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.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t}();i.default=r},"I+Jm":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:{}})},IB1X:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("kH2p"),e=n("xl6w"),r=function(){function t(){this.version="0.2.447",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},IWlq:function(t,i,n){"use strict";var s,e,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=n("dbif"),o=n("otCu"),u=r(r({},h),o),a=(null===(e=null===(s=window.VDMS)||void 0===s?void 0:s.i18n)||void 0===e?void 0:e.strings)||u;i.default=a},J0iA:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.streamSynchSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/streamSynchSchema",type:"object",properties:{synchronize:{type:"boolean",default:!1},synchConfig:{type:"object",properties:{behindLiveEdgeMs:{type:"number"},pauseOnAhead:{type:"boolean"},pauseToPullbackThresholdMs:{type:"number"},syncAccuracyMs:{type:"number"},variableRateChange:{type:"boolean"}}}},required:["synchronize"]}},J7W0: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:{}})},JBcr: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.lO=t},enumerable:!0,configurable:!0}),i}(n("hq3Z").default);i.default=r},JEH0: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.__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 h,o,u,a,c,f=n("hq3Z"),l=n("ToqN"),v=n("4YVY"),d=n("06aY"),p=n("08fe"),m=n("+azy"),b=n("fKQk"),y=n("KF4c"),g=n("U3HQ"),w=n("7PPe"),E=n("P2OX"),O=n("Thcf"),A=n("wqBe"),_=n("wqBe"),T=n("Na72"),S=n("Fry/"),j=n("ablw"),I=n("yf6s"),N=n("svu7"),M=n("u1Zl"),R=n("xPTa"),D=n("j/Iz"),k=n("OfeT"),L=n("5JRy");I.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"}(h=i.ViewState||(i.ViewState={})),function(t){t.PORTRAIT="portrait",t.LANDSCAPE="landscape"}(o=i.Orientation||(i.Orientation={})),function(t){t.LOADING="loading",t.SWITCHING="switching",t.PLAYING="playing",t.PAUSED="paused",t.CASTING="casting"}(u||(u={})),function(t){t.NORMAL="normal",t.SMALL="smallscreen",t.VERY_SMALL="verysmallscreen"}(a||(a={})),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"}(c||(c={}));var C,P=["webkitfullscreenchange","mozfullscreenchange","msfullscreenchange","MSFullscreenChange","fullscreenchange"],x=40,U=27,V=82,B=53;function F(t){return I.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.PLAYLIST_BOTTOM_HEIGHT_CHANGE="vPlaylistBottomHeightChange",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_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"}(C=i.ViewEvent||(i.ViewEvent={}));var z=function(t){function i(i,n,s,e,r,h){var o=t.call(this,"View")||this;o.DV=i,o.hE=n,o.cO=s,o.GR=e,o.lO=r,o.kV=h,o.LV=a.NORMAL,o.CV=!1,o.PV=!1,o.xV=0;var c=0,f=0;return o.DV&&(c=o.DV.clientWidth,f=o.DV.clientHeight,o.LV=o.UV(c,f)),o.cO.addEventListener(A.VideoEvent.SRC_SWITCHING,(function(){o.VV(u.SWITCHING,!0)}),o),o.cO.addEventListener(A.VideoEvent.SRC_SWITCHED,(function(){o.VV(u.SWITCHING,!1)}),o),o.cO.publish(A.PLAYER_DIMENSION_CHANGE,{height:o.DV&&o.DV.clientHeight||o.hE.uiState.height||0,width:o.DV&&o.DV.clientWidth||o.hE.uiState.width||0,videoWidth:o.BV&&o.BV.clientWidth||o.hE.uiState.videoWidth||0,videoHeight:o.BV&&o.BV.clientHeight||o.hE.uiState.videoHeight||0}),o.cO.addEventListener(w.ExternalEvt.PLAYER_MUTE_CHANGE,o.FV,o),o.cO.addEventListener(A.UP_NEXT_PG_CLICK,o.zV,o),o.cO.addEventListener(A.PLAYER_DIMENSION_CHANGE,o.HV,o),o.cO.addEventListener(A.Device.ORIENTATION_CHANGE,o.GV,o),o.cO.addEventListener(A.PLAYBACK_INFO,o.YV,o),o.cO.addEventListener(w.ExternalEvt.PLAYLIST_POSITION_CHANGE,o.qV,o),l.userAgent.mobile&&S.default.canPlayInline&&(o.hE.uiState.deviceOrientation=o.WV(),o.XV()),o}return e(i,t),i.prototype.render=function(){var t=this;this.hE.rendered=!0,this.ZV=I.default.render(k,{enableDocking:this.hE.docking&&(this.hE.docking.enableOnScrollDown||this.hE.docking.enableOnScrollUp)}),this.BV=this.ZV.querySelector("."+E.VIDEO_MAIN_ELEMENT_CLASS),this.DV&&this.DV.appendChild(this.ZV),F(this.ZV).add(this.LV),Object.keys(l.userAgent).filter((function(t){return l.userAgent[t]})).forEach((function(i){"os"===i&&(i=l.userAgent.os),"ie"===i&&F(t.ZV).add("vp-"+i.toLowerCase()+l.userAgent[i]),F(t.ZV).add("vp-browser-"+i.toLowerCase())})),S.default.deviceType&&F(this.ZV).add("vp-device-"+S.default.deviceType),l.userAgent.mobile&&S.default.canPlayInline&&F(this.ZV).add("vp-browser-playsinline"),this.hE.chromeless||(this.QV=this.JV(y.LoadingScreen)),this.hE.showControls&&S.default.canPlayInline&&(this.mM=new p.Controls(this.cO,this,this.hE,this.lO),this.KV()),this.hE.showControls||F(this.ZV).add("vp-no-controls");var i=function(i){t.$V()},n=function(i){t._B(i)},s=function(){t.tF()};this.iF=function(){t.nF={},t.sF=t.ZV,t.ZV.addEventListener("mousemove",(function(n){t.nF.x!==n.clientX&&t.nF.y!==n.clientY&&(i(),t.nF.x=n.clientX,t.nF.y=n.clientY,t.sF=n.target)})),t.ZV.addEventListener("mouseover",(function(n){var s=null;t.sF&&(s=t.sF.parentElement),!s||F(s).contains("vp-play-controls")||F(s).contains("vp-menu-controls")||i()})),t.ZV.addEventListener("mouseout",(function(i){var s=null,e=t.ZV.getBoundingClientRect();t.sF&&(s=t.sF.parentElement),s&&(F(s).contains("vp-play-controls")||F(s).contains("vp-menu-controls")||n(i),(F(s).contains("vp-play-controls")||F(s).contains("vp-menu-controls"))&&(i.clientX<=e.left||i.clientX>=e.right||i.clientY>=e.bottom)&&n(i))}))},this._h=function(){var t=this;this.eF=new g.default(this.ZV,(function(){(!t.getFullscreen()||l.userAgent.android&&I.default.getFullscreenElement()===t.ZV)&&t.toggleControlsVisibility()})),this.ZV.addEventListener("click",s),this.cO.addEventListener(A.CONTROLS_SEEKING,(function(){t.rF&&clearTimeout(t.rF),t.rF=window.setTimeout(t.hF.bind(t),5e3)}),this)},l.userAgent.tv||l.userAgent.mobile?l.userAgent.mobile&&this.mM&&S.default.canPlayInline&&this._h():this.iF(),this.oF=function(){t.ZV.removeEventListener("mousemove",i),t.ZV.removeEventListener("mouseover",i),t.ZV.removeEventListener("mouseout",n)},this.uF=function(){t.ZV.removeEventListener("click",s)},j.isFunction(this.handleFullscreenChange.bind)&&(this.aF=this.handleFullscreenChange.bind(this),P.forEach((function(i){document.addEventListener(i,t.aF)}))),this.cF(),this.fF=new M.PlaylistController(this,this.lO),this.lF(),this.vF(),this.dF(),l.userAgent.desktop&&this.BV&&this.BV.addEventListener("contextmenu",(function(i){var n=t.sO.rendererType;n!==R.RendererType.HTML5_HLS&&n!==R.RendererType.HTML5_RAW||i.preventDefault()}));var e=document.querySelector("#vp-css");I.default.isOldIeBrowser()&&setTimeout((function(){e&&e.sheet.cssRules&&e.sheet.cssRules.length>0?t.pF():t.mF()}),150),I.default.isOldIeBrowser()||!this.hE.uiState||this.hE.uiState.isCSSLoaded||(!0===I.default.getSingleton("isCSSLoaded")?this.pF():!0===I.default.getSingleton("isCSSError")?this.mF():e&&(e.addEventListener("error",this.mF.bind(this)),e.addEventListener("load",this.pF.bind(this)))),this.bF=new d.default(this.cO,this,this.hE,this.lO)},i.prototype.getEventBus=function(){return this.cO},i.prototype.getModel=function(){return this.hE},i.prototype.getAdsOverlay=function(){return this.yF},i.prototype.getAdsOverlayNode=function(){var t;return(null===(t=this.yF)||void 0===t?void 0:t.view.node)||null},i.prototype.toggleControlsVisibility=function(){var t,i;F(this.ZV).contains("vp-hide-controls")?(F(this.ZV).remove("vp-hide-controls"),this.gF(!1),null===(i=this.mM)||void 0===i||i.onControlsBarChange(!0),this.wF&&F(this.wF).remove("vp-overlay-hide-cursor"),this.rF&&clearTimeout(this.rF),this.sO.seeking||(this.rF=window.setTimeout(this.hF.bind(this),5e3))):(F(this.ZV).add("vp-hide-controls"),this.gF(!0),null===(t=this.mM)||void 0===t||t.onControlsBarChange(!1))},i.prototype.toggleAdViewClickBlocking=function(){var t=F(this.ZV).contains("vp-hide-controls");this.EF.enableClickBlocking(!!t)},i.prototype.isDocked=function(){return this.PV},i.prototype.dockVideoPlayer=function(){var t=window.scrollY,i=!0,n=this.hE.docking.width,s=this.hE.docking.height;if(this.xV>t&&(i=!1),this.hE.docking.enableOnScrollDown===i&&this.hE.docking.enableOnScrollUp!==i&&!this.OF&&(this.hE.docking.enableOnMuted||!this.hE.mute)&&!(l.userAgent.mobile&&this.hE.docking.mobile&&this.hE.docking.mobile.disable)){if(this.AF=this.ZV.clientWidth,this._F=this.ZV.clientHeight,"full"===n){if(this.hE.uiState.deviceOrientation===o.LANDSCAPE)return;n=window.innerWidth,s=this._F/this.AF*n}if(this.PV=!0,this.TF(),this.fF.togglePlaylistUI(!0),F(this.ZV).add("vp-docked"),this.hE.docking.showInfoCard&&F(this.ZV).add("vp-docked-show-meta"),this.hE.docking.fadeInAnimation){if(F(this.ZV).add("vp-docked-fadein"),F(this.DV).add("vp-docked-mode"),(u=l.userAgent.mobile&&this.hE.docking.mobile?this.hE.docking.mobile.position||{}:this.hE.docking.position||{}).top>-1&&(this.ZV.style.top=u.top+"px"),u.bottom>-1&&u.top<0){var e=0;this.hE.docking.showInfoCard&&(e=84),this.ZV.style.bottom=e+u.bottom+"px"}u.right>-1&&u.left<0&&(this.ZV.style.right=u.right+"px"),u.left>-1&&(this.ZV.style.left=u.left+"px")}else{this.SF();var r=this.ZV.getBoundingClientRect(),h=document.querySelector("body");if(!h)return;var u,a=h.clientWidth,c=window.innerHeight,f=0,v=0;if((u=this.hE.docking.position||{}).top>-1&&(v=u.top,this.ZV.style.top="0px"),u.bottom>-1){var d=0;this.hE.docking.showInfoCard&&(d=84),v=c-s-d-u.bottom,this.ZV.style.bottom=""}u.right>-1&&(f=a-r.left-n-u.right,this.ZV.style.right=""),u.left>-1&&(f=u.left,this.ZV.style.left="0px"),this.ZV.style.transform="translate3d("+f+"px, "+v+"px, 0)",F(this.ZV).add("vp-docked-animated"),F(this.DV).add("vp-docked-mode")}this.ZV.style.width=n+"px",this.ZV.style.height=s+"px",this.cO.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!1),this.cO.publish(A.PLAYER_DIMENSION_CHANGE,this.getPlayerDimensions()),this.hE.uiState.isDocked=!0,this.cO.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!0)}},i.prototype.undockVideoPlayer=function(t){var i=this;void 0===t&&(t=!1),F(this.ZV).remove("vp-docked"),F(this.ZV).remove("vp-docked-show-meta"),this.hE.docking.fadeInAnimation?(F(this.ZV).remove("vp-docked-fadein"),this.ZV.style.top="",this.ZV.style.right="",this.ZV.style.bottom="",this.ZV.style.left="",this.ZV.style.width="",this.ZV.style.height=""):(this.ZV.style.transform="translate3d(0, 0, 0)",this.SF()),this.PV=!1,this.fF.togglePlaylistUI(!1),t&&!this.hE.isPaused()&&this.cO.publish(A.TOGGLE_PLAY_PAUSE),window.setTimeout((function(){i.PV||(i.hE.uiState.isDocked=!1,i.hE.docking.fadeInAnimation||(i.ZV.style.width="",i.ZV.style.height="",F(i.ZV).remove("vp-docked-animated"),i.ZV.style.position="",i.ZV.style.transform="",i.ZV.style.top="",i.ZV.style.right="",i.ZV.style.bottom="",i.ZV.style.left=""),i.jF&&(i.DV.removeChild(i.jF),i.jF=null),F(i.DV).remove("vp-docked-mode"),i.cO.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!0),i.cO.publish(A.PLAYER_DIMENSION_CHANGE,i.getPlayerDimensions())),i.cO.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!1)}),250)},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){"boolean"==typeof t&&(this.hE.docking.enableOnScrollDown=t),"boolean"==typeof i&&(this.hE.docking.enableOnScrollUp=i),this.hE.docking.position=this.hE.docking.position||{},isNaN(n)||(this.hE.docking.position.top=n),isNaN(s)||(this.hE.docking.position.right=s),isNaN(e)||(this.hE.docking.position.left=e),isNaN(r)||(this.hE.docking.position.bottom=r),t||i?(this.vF(),this.PV&&this.dockVideoPlayer()):(this.IF(),this.PV&&this.undockVideoPlayer())},i.prototype.createAdsOverlay=function(){if(this.yF)return this.yF.view.innerHTML="",this.yF.view.node;if(!this.BV)return null;this.yF=new y.AdsOverlay;var t=this.yF.view.node,i=this.BV.querySelector(".vp-adview-wrapper");return i?this.BV.insertBefore(t,i):this.BV.appendChild(t),t},i.prototype.destroyAdsOverlay=function(){this.yF&&(this.yF.destroy(),this.yF=null)},i.prototype.showAirplayTargetMenu=function(){this.publish(C.SYNC_SHOW_AIRPLAY_TARGET_MENU)},i.prototype.getContentNode=function(){return this.ZV},i.prototype.getOpenSimSim=function(){return this.NF},i.prototype.getMainElement=function(){return this.BV},i.prototype.getCCElement=function(){return this.BV?this.BV.querySelector(".vp-cc-element"):null},i.prototype.getRootElement=function(){return this.DV},i.prototype.getVideoElement=function(){return this.DV&&this.DV.getElementsByTagName("video")[0]},i.prototype.setKeyboardFocus=function(){this.ZV.focus()},i.prototype.updateViewOnEscPress=function(){this.NF&&this.NF.isOpen()?this.NF.close():this.getFullscreen()&&this.setFullscreen(!1)},i.prototype.disableControls=function(){F(this.ZV).add("vp-disable-controls")},i.prototype.enableControls=function(){F(this.ZV).remove("vp-disable-controls")},i.prototype.resetState=function(){this.MF(),this.RF(),this.DF()},i.prototype.syncViewState=function(){var t=this.hE,i=t.playlist&&this.lT(),n=this.sO,s=t.castState,e=s&&s.connected,r=h.START_SCREEN;if(this.VV(u.CASTING,e),e){var o=F(this.ZV);s.mediaLoaded&&!s.paused?o.add("vp-cast-playing"):o.remove("vp-cast-playing")}var a=F(this.ZV).contains("vp-flag-"+u.LOADING),c=t.isLoading();switch(this.VV(u.LOADING,c),!a&&c?(this.cO.publish(w.ExternalEvt.LOADING_BEGIN),this.QV&&this.QV.show()):a&&!c&&(this.cO.publish(w.ExternalEvt.LOADING_END),this.QV&&this.QV.hide()),t.getState()){case T.States.INIT:case T.States.WAITING:r=h.START_SCREEN;var f=!t.autoplay||t.waitingForUserTap,v=i&&(i.hasThumbnail()&&!l.userAgent.mobile||i.fetchFinished());if(f&&v){var d=t.continuousPlay&&0!==t.playlist.position,p=t.skipOnError===N.SkipOnError.ALWAYS||t.skipOnError===N.SkipOnError.TIMEBASED;d&&p&&n.hasStartedPlayback||this.kF()}break;case T.States.VIDEO:this.LF(n),this.CF(),r=h.VIDEO;break;case T.States.END:this.hE.continuousPlay||this.setFullscreen(!1),n.criticalError?(t.chromeless?this.cO.publish(w.ExternalEvt.PLAYER_ERROR,n.criticalError):this.PF(n.criticalError,i,t.guid),r=h.ERROR):(this.xF(n.previousItem),r=h.END_SCREEN)}this.UF=r,this.VF(r),this.BF(),this.bF&&this.bF.syncState()},i.prototype.getCurrentViewState=function(){return this.UF},i.prototype.setFullscreen=function(t){var i,n=this.ZV;(l.userAgent.ios||l.userAgent.android&&!this.mM)&&(n=null===(i=this.kV.getActiveRenderer())||void 0===i?void 0:i.node),t&&!this.CV?D.default.enterFullscreen(n):!t&&this.CV&&D.default.exitFullscreen(n),this.cO.publish(A.CTRL_FULLSCREEN,t?"ON":"OFF"),t&&l.userAgent.mobile&&S.default.autoplaySupported&&this.sO.mute&&!this.hE.muteMode&&this.publish(C.SET_MUTE,!1),this.BF()},i.prototype.getFullscreen=function(){var t=this.kV.getActiveRenderer(),i=!!t&&D.default.isFullscreenOnMobile(t.node);return I.default.getFullscreenElement()===this.ZV||i},i.prototype.toggleFullscreen=function(){this.setFullscreen(!this.getFullscreen())},i.prototype.updateVolumeUI=function(t,i){this.mM&&this.mM.updateVolumeUI(t,i)},i.prototype.updateClosedCaptionUI=function(t){this.mM&&this.mM.updateClosedCaptionUI(t)},i.prototype.clearAutoHideTimeout=function(){this.rF&&window.clearTimeout(this.rF)},i.prototype.setOverlayActive=function(t){t?F(this.ZV).add("vp-overlay-active"):F(this.ZV).remove("vp-overlay-active")},i.prototype.destroyFullscreenChangeListeners=function(){var t=this;this.aF&&P.forEach((function(i){document.removeEventListener(i,t.aF)}))},i.prototype.getPlayerDimensions=function(){return{width:this.ZV.clientWidth,height:this.ZV.clientHeight,videoWidth:this.BV.clientWidth,videoHeight:this.BV.clientHeight}},Object.defineProperty(i.prototype,"controls",{get:function(){return this.mM},enumerable:!0,configurable:!0}),i.prototype.getPlaylistController=function(){return this.fF},i.prototype.isStreamMode=function(){return l.userAgent.desktop&&(this.LV===a.SMALL||F(this.ZV).contains("vp-stream"))},i.prototype.isMiniStreamMode=function(){return l.userAgent.desktop&&(this.LV===a.VERY_SMALL||F(this.ZV).contains("vp-ministream"))},i.prototype.addRendererNode=function(t){var i=this.getMainElement();if(i){if(F(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()?F(this.ZV).add("vp-live"):F(this.ZV).remove("vp-live"),this.isStreamMode()&&!this.getFullscreen()&&F(this.ZV).add("vp-stream"),this.isMiniStreamMode()&&!this.getFullscreen()&&F(this.ZV).add("vp-ministream"),this.mM&&this.mM.onMediaItemLoaded(t)},i.prototype.onMediaItemCurrent=function(t){this.mM&&this.mM.onMediaItemCurrent(t)},i.prototype.onMediaItemPlaybackStarted=function(t){(this.hE.docking.enableOnScrollDown||this.hE.docking.enableOnScrollUp)&&this.PV&&this.TF(),this.mM&&this.mM.onMediaItemPlaybackStarted(t)},i.prototype.onMediaItemPlaybackProgress=function(t){this.mM&&this.mM.onMediaItemPlaybackProgress(t)},i.prototype.onAdBreakStarted=function(t){this.EF.onAdBreakStart(t),this.mM.onAdBreakStarted()},i.prototype.onAdBreakEnded=function(t){this.EF.onAdBreakEnd(t)},i.prototype.onAdBreakItemCurrent=function(t){this.EF.onAdBreakItemCurrent(t)},i.prototype.onAdBreakItemStarted=function(t){this.mM&&this.mM.onAdPlaybackStarted()},i.prototype.onAdBreakItemEnded=function(t){this.mM&&this.mM.onAdPlaybackEnded()},i.prototype.onAdPlaybackProgress=function(t){var i=t.playingItem,n=this.sO;i&&j.isNumber(n.currentTime)&&j.isNumber(n.duration)&&this.mM&&this.mM.onAdPlaybackProgress(t)},i.prototype.setTheme=function(t){t&&F(this.ZV).add(t)},i.prototype.onlanguageChange=function(t){this.publish(C.CC_LANGUAGE_CHANGE,t)},i.prototype.updateClosedCaptionStyle=function(t){this.publish(C.CC_STYLE_CHANGE,t)},i.prototype.updateCurrentItemTitle=function(t){this.mM.updateCurrentItemTitle(t),this.PV&&this.FF&&(this.FF.textContent=t),this.zF&&this.zF.updateTitle(t)},i.prototype.addCustomControlElement=function(t){return this.mM.addCustomControlElement(t)},i.prototype.onRendererSwitch=function(t,i){this.NF&&this.NF.onRendererSwitch(t,i),this.syncViewState()},i.prototype.onVideoEvent=function(t){for(var i,n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];this.syncViewState(),this.NF&&(i=this.NF).onVideoEvent.apply(i,r([t],n))},i.prototype.handleFullscreenChange=function(t){var i="boolean"==typeof t?t:this.getFullscreen();i?(F(this.ZV).add("vp-state-fullscreen"),this.PV&&(this.OF=!0,this.undockVideoPlayer())):(F(this.ZV).remove("vp-state-fullscreen"),(this.PV||this.OF)&&(this.OF=!1,this.xV=window.scrollY,this.dockVideoPlayer())),this.CV!==i&&(this.hE.uiState.isFullscreen=i,this.cO.publish(A.FULLSCREEN_CHANGE,i),this.CV=i)},i.prototype.destroy=function(){this.mM&&this.mM.destroy(),this.HF&&this.HF.destroy(),this.GF&&this.GF.destroy(),this.YF&&this.YF.destroy(),this.QV&&this.QV.destroy(),this.EF&&this.EF.destroy(),this.fF&&this.fF.destroy(),this.zF&&this.zF.destroy(),this.eF&&this.eF.destroy(),this.destroyAdsOverlay(),this.destroyFullscreenChangeListeners(),l.userAgent.tv||l.userAgent.mobile||!this.oF||this.oF(),l.userAgent.mobile&&S.default.canPlayInline&&this.uF&&this.uF(),this.qF&&(window.removeEventListener("resize",this.qF),this.qF=null),this.NF&&this.NF.destroy(),this.DV&&(this.DV.innerHTML=""),this.IF()},i.prototype.dF=function(){var t=this;this.HF=new m.default("NORMAL",(function(){t.NF||(t.NF=t.JV(b.default,t.hE,t.lO.getExternalPlugins()),t.NF.on(b.OpssEvent.VISIBILITY_CHANGED,(function(i,n){t.publish(C.OPSS_VISIBILITY_CHANGED,i,n.node)}),t));var i=t.kV.getRendererController().getActiveRenderer();t.NF.render(i)}))},i.prototype.GV=function(t){this.hE.uiState.deviceOrientation=t,this.hE.uiState.isDocked&&"full"===this.hE.docking.width&&t===o.LANDSCAPE&&!this.getFullscreen()&&this.undockVideoPlayer(!0)},i.prototype.YV=function(t){this.NF&&this.NF.onPlaybackInfo(t)},i.prototype.qV=function(){this.NF&&this.NF.onPlaylistPositionChange()},i.prototype.XV=function(){this.qF=this.WF.bind(this),window.addEventListener("resize",this.qF)},i.prototype.WV=function(){var t=o.LANDSCAPE;return window.innerHeight>window.innerWidth&&(t=o.PORTRAIT),t},i.prototype.WF=function(){this.cO.publish(A.Device.ORIENTATION_CHANGE,this.WV())},i.prototype.vF=function(){this.XF&&this.IF(),(!(l.userAgent.ie>0&&l.userAgent.ie<10)&&!l.userAgent.mobile||l.userAgent.mobile&&S.default.canPlayInline)&&this.hE.docking&&(this.hE.docking.enableOnScrollDown||this.hE.docking.enableOnScrollUp)&&(this.XF=this.ZF.bind(this),window.addEventListener("scroll",this.XF))},i.prototype.IF=function(){this.XF&&(window.removeEventListener("scroll",this.XF),this.XF=null)},i.prototype.ZF=function(){var t=window.pageYOffset;if(t!==this.xV&&!this.CV){this.xV=t;var i=I.default.getElementViewability(this.DV)>=this.hE.docking.threshold;i||this.PV||this.hE.getState()!==T.States.VIDEO||this.hE.isPaused()?i&&this.PV&&this.undockVideoPlayer():this.dockVideoPlayer()}},i.prototype.cF=function(){var t=this;return this.EF||(this.EF=new v.default(this.lO),this.EF.addEventListener(v.AdsViewEvent.SKIP_AD_REQUESTED,(function(){t.publish(C.SKIP_AD_REQUESTED)}),this),this.EF.addEventListener(v.AdsViewEvent.CLICKED,(function(){t.publish(C.AD_CLICKED)}),this),this.BV.appendChild(this.EF.create()),l.userAgent.mobile&&this.mM&&S.default.canPlayInline&&this.EF.enableClickBlocking(!0)),this.EF},i.prototype.SF=function(){var t=this.DV.getBoundingClientRect(),i=document.querySelector("body");if(i){var n=i.clientWidth,s=this.hE.docking.position||{};s.top>-1&&(this.ZV.style.top=t.top+"px"),s.bottom>-1&&(this.ZV.style.bottom=t.bottom+"px"),s.right>-1&&(this.ZV.style.right=n-t.right+"px"),s.left>-1&&(this.ZV.style.left=t.left+"px"),this.ZV.style.width=this.AF+"px",this.ZV.style.height=this._F+"px",this.ZV.style.position="fixed"}},i.prototype.TF=function(){var t=this,i=this.hE.docking;if(i.enableOnScrollDown||i.enableOnScrollUp){this.FF&&this.jF||(this.FF=this.ZV.querySelector(".vp-docked-title"),this.QF=this.ZV.querySelector(".vp-docked-provider"),this.jF=document.createElement("div"),this.jF.setAttribute("class","vp-docked-bg"),this.JF=document.createElement("img"),this.JF.setAttribute("class","vp-docked-img"),this.KF=document.createElement("div"),this.KF.setAttribute("class","vp-docked-overlay"),this.$F=document.createElement("div"),this.$F.setAttribute("class","vp-docked-overlay-text"),this.$F.innerHTML="Scroll back up to restore default view.",this.KF.appendChild(this.$F),this.jF.appendChild(this.JF),this.jF.appendChild(this.KF),this.tz||(this.tz=document.createElement("div"),this.tz.setAttribute("class","vp-docked-close-button"),this._z=new g.default(this.tz,(function(i){i.stopPropagation(),t.undockVideoPlayer(!t.hE.isPaused()),t.publish(C.UI_INTERACT,{srcElement:"ui_pop_close_clk"})})),i.closeButtonFadeIn||F(this.tz).add("vp-nofade")),this.BV&&this.BV.appendChild(this.tz),this.DV&&this.DV.appendChild(this.jF));var n=this.lT();n&&(n.thumbnail&&this.JF.setAttribute("src",n.thumbnail),this.FF&&n.title&&(this.FF.innerHTML=n.title))}},i.prototype.pF=function(){var t,i=this.getContentNode().querySelectorAll(".vp-vis-hidden"),n=i.length;for(t=0;t<n;t++)F(i[t]).remove("vp-vis-hidden");this.BV.style.height="",this.hE.uiState.isCSSLoaded=!0},i.prototype.mF=function(){for(var t=this.getContentNode().querySelectorAll(".vp-vis-hidden"),i=t.length,n=0;n<i;n++)F(t[n]).add("vp-disp-none");this.hE.uiState.isCSSLoaded=!1,this.cO.publish(A.WARNING,I.default.createErr(O.ErrorGroup.Streaming,this.sO,O.E_WARNING,O.WARNING_CODES.E_CSS_DOWNLOAD_FAILED),!1)},i.prototype.VF=function(t){var i="vp-state-"+t,n=F(this.ZV);Object.keys(h).forEach((function(t){var s="vp-state-"+h[t];n.contains(s)&&s!==i&&n.remove(s)})),n.contains(i)||n.add(i)},i.prototype.VV=function(t,i){var n=F(this.ZV),s="vp-flag-"+t,e=n.contains(s);i?e||n.add(s):e&&n.remove(s)},i.prototype.kF=function(){var t=this.hE,i=this.lT();i&&!this.zF&&(t.showStartScreen&&(this.zF=this.JV(y.StartScreen,i,t.startScreenConfig,t.uiState),this.tH()),this.cO.publish(A.START_SCREEN_RENDERED))},i.prototype.MF=function(){var t=this.zF&&this.zF.view;t&&(this.BV&&this.BV.removeChild(t.node),this.zF.destroy(),this.zF=null)},i.prototype.xF=function(t){var i=this;if(t){var n=this.hE.showEndScreen;if(n){if(!this.ZV.querySelector(".vp-end-replay")){var s=I.default.render(L,{});this.iH=new g.default(s,(function(){i.cO.publish(A.RELATED_ITEM_CLICK,t.id,-1,!1,!1)})),this.BV&&this.BV.appendChild(s),this.nH=s}!this.zF&&n&&this.kF(),this.cO.publish(A.END_SCREEN_RENDERED),this.publish(C.UI_INTERACT,{srcElement:"es-view"})}}},i.prototype.RF=function(){this.nH&&this.BV&&(this.BV.removeChild(this.nH),this.nH=null),this.iH&&this.iH.destroy()},i.prototype.PF=function(t,i,n){if(!this.YF){var s=(i=i||this.lT())&&i.videoSession||"",e=i?i.thumbnail:null,r=e||"";this.YF=this.JV(y.ErrorScreen,t,n,s,r),this.publish(C.UI_INTERACT,{srcElement:"err-view-"+t.category+"-"+t.subcategory})}},i.prototype.BF=function(){this.mM&&this.mM.syncAriaState()},i.prototype.FV=function(t){t?F(this.ZV).add("vp-muted"):F(this.ZV).remove("vp-muted")},i.prototype.tF=function(){(!this.getFullscreen()||l.userAgent.android&&I.default.getFullscreenElement()===this.ZV)&&this.toggleAdViewClickBlocking()},i.prototype.$V=function(){var t;this.rF&&window.clearTimeout(this.rF),F(this.ZV).remove("vp-hide-controls"),this.gF(!1),this.wF&&F(this.wF).remove("vp-overlay-hide-cursor"),this.hE.isSeeking()||this.hE.isPaused()||(this.rF=window.setTimeout(this.hF.bind(this),5e3)),null===(t=this.mM)||void 0===t||t.onControlsBarChange(!0),this.getFullscreen()||this.cO.publish(_.CCEvent.POSITION_FLOAT,!0)},i.prototype._B=function(t){var i;"mouseout"===t.type&&(this.rF&&window.clearTimeout(this.rF),F(this.ZV).add("vp-hide-controls"),!this.hE.isPaused()&&this.gF(!0),null===(i=this.mM)||void 0===i||i.onControlsBarChange(!1),this.getFullscreen()||this.cO.publish(_.CCEvent.POSITION_FLOAT,!1))},i.prototype.hF=function(){var t;this.wF=this.ZV&&this.ZV.querySelector(".vp-object-overlay"),this.rF&&(window.clearTimeout(this.rF),this.rF=null),l.userAgent.mobile&&this.mM&&S.default.canPlayInline&&this.EF.enableClickBlocking(!0),F(this.ZV).add("vp-hide-controls"),!this.hE.isPaused()&&this.gF(!0),null===(t=this.mM)||void 0===t||t.onControlsBarChange(!1)},i.prototype.zV=function(){this.rF&&window.clearTimeout(this.rF),this.hE.isSeeking()||(this.rF=window.setTimeout(this.hF.bind(this),5e3))},i.prototype.HV=function(t){var i,n=t.width||1,s=t.height||1,e=this.UV(n,s);(this.isStreamMode()||this.isMiniStreamMode())&&e===a.NORMAL&&this.sH(),l.userAgent.desktop&&(e===a.VERY_SMALL?F(this.ZV).add("vp-ministream"):e===a.SMALL?(F(this.ZV).add("vp-stream"),this.fF.detachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&F(i).add("hide")):e===a.NORMAL&&(this.fF.attachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&F(i).remove("hide")))},i.prototype.sH=function(){var t=this.getContentNode();F(t).remove("vp-ministream"),F(t).remove("vp-stream"),this.fF.attachUpNextMouseEvents();var i=this.getContentNode().querySelector(".vp-upnext-playlist");i&&F(i).remove("hide")},i.prototype.UV=function(t,i){var n=a.NORMAL;return(t<=c.VERY_SMALL_WIDTH||i<=c.VERY_SMALL_HEIGHT)&&(n=a.VERY_SMALL),(t<=c.SMALL_WIDTH&&t>c.VERY_SMALL_WIDTH||i<=c.SMALL_HEIGHT&&i>c.VERY_SMALL_HEIGHT)&&(n=a.SMALL),n},i.prototype.eH=function(t){this.publish(C.UI_INTERACT,t)},i.prototype.LF=function(t){var i=this.getContentNode(),n="vp-mode-"+this.sO.playbackMode,s=F(i);Object.keys(R.PlaybackMode).forEach((function(t){var i="vp-mode-"+R.PlaybackMode[t];s.contains(i)&&i!==n&&s.remove(i)})),s.contains(n)||s.add(n)},i.prototype.CF=function(){!this.hE.isPaused()?(this.VV(u.PLAYING,!0),this.VV(u.PAUSED,!1)):(this.VV(u.PLAYING,!1),this.VV(u.PAUSED,!0)),this.publish(C.SYNC_PLAYBACK_STATE)},i.prototype.KV=function(){var t=this,i=this.mM,n=i?i.create():null;n&&Object.keys(n).forEach((function(i){t.BV&&n[i]&&t.BV.appendChild(n[i])})),i.on(p.ControlsEvent.SEEK,(function(i){t.publish(C.SEEK,i)}),this),i.on(p.ControlsEvent.SET_VOLUME,(function(i){t.publish(C.SET_VOLUME,i)}),this),i.on(p.ControlsEvent.SET_MUTE,(function(i){t.publish(C.SET_MUTE,i)}),this),i.on(p.ControlsEvent.TOGGLE_CC,(function(i,n){t.publish(C.TOGGLE_CC,i,n)}),this),i.on(p.ControlsEvent.SET_AUDIO_LANGUAGE,(function(i,n){t.publish(C.SET_AUDIO_LANGUAGE,i,n)}),this),i.on(p.ControlsEvent.UI_INTERACT,(function(i){t.eH(i)}),this),i.on(p.ControlsEvent.TOGGLE_PLAY_PAUSE,(function(){t.publish(C.TOGGLE_PLAY_PAUSE)}),this),i.on(p.ControlsEvent.LOGO_CLICK,(function(){var i=t.sO.state===T.States.INIT?C.START_SCREEN_CLICK:C.TOGGLE_PLAY_PAUSE;t.publish(i)}),this),i.on(p.ControlsEvent.FORWARD_SEEK,(function(){t.publish(C.FORWARD_SEEK)}),this),i.on(p.ControlsEvent.BACKWARD_SEEK,(function(){t.publish(C.BACKWARD_SEEK)}),this),i.on(p.ControlsEvent.SET_QUALITY,(function(i){t.kV.setQuality(i)}),this),i.on(p.ControlsEvent.CUSTOM_ELEMENT,(function(i,n){t.publish(C.CUSTOM_ELEMENT,i,n)}),this)},i.prototype.lF=function(){var t=this,i=this.fF;i.on(M.PlaylistEvent.UI_INTERACT,(function(i){t.eH(i)}),this),i.on(M.PlaylistEvent.SCROLLED_TO_END,(function(){t.publish(C.SCROLLED_TO_END)}),this),i.on(M.PlaylistEvent.BOTTOM_HEIGHT_CHANGE,(function(i){t.publish(C.PLAYLIST_BOTTOM_HEIGHT_CHANGE,i)}),this)},i.prototype.tH=function(){var t=this,i=this.zF;i.on(y.StartScreenEvent.UI_INTERACT,(function(i){t.eH(i)}),this),i.on(y.StartScreenEvent.START_SCREEN_CLICK,(function(){t.publish(C.START_SCREEN_CLICK)}),this)},i.prototype.lT=function(){return this.hE.playlist.getCurrentItem()},i.prototype.DF=function(){this.bF&&this.bF.destroy()},Object.defineProperty(i.prototype,"sO",{get:function(){return this.hE.playbackState},enumerable:!0,configurable:!0}),i.prototype.JV=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var s=new(t.bind.apply(t,r([void 0],i)));return this.BV.appendChild(s.view.node),s},i.prototype.gF=function(t){if(this.yF&&this.mM){var i=this.yF.view.node,n=i.firstChild;if(t)return i.setAttribute("style","height: 100%;"),void(l.userAgent.mobile&&(F(n).add("vp-ads-overlay-disable-click"),F(n).remove("vp-ads-overlay-enable-click")));var s=0;this.isStreamMode()?s=x:this.isMiniStreamMode()?s=U:l.userAgent.mobile?(s=V,F(n).remove("vp-ads-overlay-disable-click"),F(n).add("vp-ads-overlay-enable-click")):s=B;var e=this.getPlayerDimensions().height-s;i.setAttribute("style","height: "+e+"px;")}},i}(f.default);i.default=z},JPst:function(t,i,n){"use strict";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,o=btoa(unescape(encodeURIComponent(JSON.stringify(h)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),"/*# ".concat(u," */")),r=s.sources.map((function(t){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(t," */")}));return[n].concat(r).concat([e]).join("\n")}var h,o,u;return[n].join("\n")}(i,t);return i[2]?"@media ".concat(i[2]," {").concat(n,"}"):n})).join("")},i.i=function(t,n,s){"string"==typeof t&&(t=[[null,t,""]]);var e={};if(s)for(var r=0;r<this.length;r++){var h=this[r][0];null!=h&&(e[h]=!0)}for(var o=0;o<t.length;o++){var u=[].concat(t[o]);s&&e[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),i.push(u))}},i}},JcWZ:function(t,i,n){t.exports=n("LmRr")},JheV:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.playbackSchema=void 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("g6Is"),h=n("rBpt"),o=n("AuZZ"),u=n("he5r"),a=n("c+yx"),c=n("Y4D7"),f={},l=function(){function t(t,i){this.YE="",this.rH={},this.WE=t,this.nO=i,this.hH(),this.offNetwork=a.default.isOffNetwork(),this.oH(t.watchHistory)}return t.prototype.getEventsDto=function(){var t,i=this.WE.rapidConfig||{},n=i.pageParams||{},e=i.clickParams||{},r={pageSpaceId:this.WE.pageSpaceId||i&&i.Spaceid||"1111",experienceName:this.WE.expName||"",experienceBucket:this.WE.expBucket||"",experienceType:this.WE.expType||"",cpos:this.WE.cpos||"",ccode:this.WE.ccode||"",offNetwork:this.offNetwork,site:this.WE.site||"",siteAnalytics:this.WE.siteAnalytics||"",comscoreC4:this.WE.comscoreC4||o.NULL_DEFAULT,region:this.WE.region||"",referrer:this.WE.referrer||"",lang:this.WE.lang||"",pageLatency:this.uH||"",playlistId:(null===(t=this.WE.playlist)||void 0===t?void 0:t.id)||""},h="strm"===n.sec?e.pstaid:n.pstaid,u={pt:n.pt||"",pd:n.pd||"",pct:n.pct||"",pstcat:n.pstcat||"",p_sec:n.p_sec||"",p_subsec:n.p_subsec||"",ver:n.ver||"",_rid:n._rid||"",pstaid_p:h||"",pkgt:e.pkgt||"",sec:e.sec||this.WE.sec||"",subsec:e.subsec||"",rlvtscr:n.rlvtscr||"",vidPos:n.vidPos||""};return s(s({},r),u)},t.prototype.destroy=function(){},Object.defineProperty(t.prototype,"config",{get:function(){return this.WE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoRecommendations",{get:function(){return void 0===this.WE.videoRecommendations||this.WE.videoRecommendations},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.WE.site||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.WE.region||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.WE.lang||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceBucket",{get:function(){return this.WE.expBucket||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceName",{get:function(){return this.WE.expName||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"yvapAccountId",{get:function(){return this.WE.YVAP&&this.WE.YVAP.accountId||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"syndication",{get:function(){return this.WE.synd||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cTopic",{get:function(){return this.WE.cTopic||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pspid",{get:function(){return this.WE.CMS&&this.WE.CMS.suppressAdContext?"":this.WE.pageSpaceId||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.WE.playlist&&this.WE.playlist.id||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loop",{get:function(){return this.WE.loop||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.WE.continuousPlay||!1},set:function(t){this.WE.continuousPlay=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relatedVideoId",{get:function(){var t=this.WE.mediaItems;return t&&0!==t.length&&t[0].mimetype===r.MediaItemInterfaces.MediaItemMimeType.SAPI?t[0].id:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistMimetype",{get:function(){return this.WE.ui&&this.WE.ui.playlist&&this.WE.ui.playlist.mimetype||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistItemCount",{get:function(){return this.WE.ui&&this.WE.ui.playlist&&h.TypeChecker.isNumber(this.WE.ui.playlist.numberOfItems)?Math.max(this.WE.ui.playlist.numberOfItems,u.PLAYLIST_COUNT_PER_PAGE):u.PLAYLIST_COUNT_PER_PAGE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowGeoRequest",{get:function(){return this.WE.allowGeoRequest||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"geoData",{get:function(){return this.WE.geoData||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"guid",{get:function(){return this.YE},set:function(t){this.YE=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showEndScreen",{get:function(){return this.WE.ui&&this.WE.ui.endScreen&&this.WE.ui.endScreen.show||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this.WE.skipOnError||u.SkipOnError.NEVER},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return h.TypeChecker.isNumber(this.WE.aspectRatio)?this.WE.aspectRatio:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistoryConfig",{get:function(){return this.WE.watchHistory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistory",{get:function(){return this.aH||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistUI",{get:function(){var t,i;return null===(i=null===(t=this.WE)||void 0===t?void 0:t.ui)||void 0===i?void 0:i.playlist},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pblob",{get:function(){return h.TypeChecker.isString(this.WE.pblob)&&this.WE.pblob.length<=512?this.WE.pblob:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDockable",{get:function(){var t=this.WE.ui&&this.WE.ui.docking||{};return!!(t.enableOnScrollDown||t.enableOnScrollUp)&&(!e.userAgent.mobile||!t.mobile||!t.mobile.disable)},enumerable:!1,configurable:!0}),t.prototype.updateGeoConfig=function(t){h.TypeChecker.isBoolean(t.allowGeoRequest)&&(this.WE.allowGeoRequest=t.allowGeoRequest);var i=t.geoData;i&&h.TypeChecker.isString(i.latitude)&&h.TypeChecker.isString(i.longitude)&&h.TypeChecker.isString(i.accuracy)?this.WE.geoData=i:null===i&&(this.WE.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.setSapiOptions=function(t,i){this.rH[t]=i},t.prototype.getSapiOptions=function(t){return this.rH[t]},t.prototype.hH=function(){window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&(this.uH=(new Date).getTime()-window.performance.timing.navigationStart)},t.prototype.oH=function(t){this.aH=null,t&&t.enabled&&(this.aH=new c.default({watchHistoryEnabled:t.enabled,watchedPeriod:t.watchedPeriod,watchHistoryExpiry:t.expiry},this),this.aH.clearExpired())},t}();i.default=l},K4Ds: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("3q18"),u=n("SGQb"),a=n("Fry/"),c=n("yf6s"),f=n("xPTa");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.cH=c.default.noop,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"mimetype",{get:function(){return this.jN?this.jN.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.jN},i.prototype.setExternalPlayer=function(t){this.jN&&this.jN!==t&&this.fH(),this.jN=t,this.lH()},i.prototype.play=function(t){this.jN&&this.vH&&this.jN.play(this.vH.rawItemData)},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i,n){return void 0===i&&(i=0),void 0===n&&(n=!1),!(!t||!this.jN)&&(this.dH=null,this.jN.preparePlayback(t.rawItemData,this.node,this.container),!this.dH&&(this.vH=t,!0))},i.prototype.waitForReady=function(t){t&&t()},i.prototype.seek=function(t){this.jN&&this.jN.seek(t)},i.prototype.pause=function(){this.jN&&this.jN.pause()},i.prototype.skip=function(){this.jN&&this.jN.skip()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.jN?this.jN.getCurrentTime():0},i.prototype.getDuration=function(){return this.jN?this.jN.getDuration():0},i.prototype.getMuted=function(){return!(!this.jN||!this.jN.isMuted())},i.prototype.getVolume=function(){return this.jN?this.jN.getVolume():NaN},i.prototype.setQuality=function(t){},i.prototype.setError=function(t){},i.prototype.setVolume=function(t){this.jN&&this.jN.setVolume(t)},i.prototype.setMute=function(t){this.jN&&this.jN.mute(t)},i.prototype.setAudioLanguage=function(t){},i.prototype.stopMedia=function(){return!!this.jN&&(this.jN.stop(),!0)},i.prototype.bindCustomEvents=function(){},i.prototype.destroy=function(){var t=this.container;t&&t.parentNode&&t.parentNode.removeChild(t),this.jN&&(this.jN.unload(),this.fH(),this.jN=null)},i.prototype.detachNode=function(){this.node&&this.node.pause()},i.prototype.reattachNode=function(){},i.prototype.setActive=function(t){this.pH=t},i.prototype.showAirplayTargetMenu=function(){},i.prototype.setPIPMode=function(t){},i.prototype.suspendStreaming=function(){},i.prototype.resumeStreaming=function(){},i.prototype.getSyncOffset=function(){return NaN},i.prototype.lH=function(){this.jN&&(this.cH=o.listenEventDispatcherEvts(this.jN,Object.keys(f.ExternalPlayerEvent).map((function(t){return f.ExternalPlayerEvent[t]})),this.mH.bind(this)))},i.prototype.fH=function(){this.cH(),this.cH=c.default.noop},i.prototype.mH=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];f.ExternalPlayerEvent.TIME_UPDATE;var e=this.jN;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.dH=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},KF4c: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("hq3Z"),h=n("ToqN"),o=n("IWlq"),u=n("Q534"),a=n("I+Jm"),c=n("J7W0"),f=n("SY6f"),l=n("Nfn8");var v=function(t){function i(i,n){var s=t.call(this,"ScreenBase")||this;return s.view=u.default.build(i,n),s}return e(i,t),i.prototype.destroy=function(){this.view.destroy(),t.prototype.destroy.call(this)},i}(r.default);i.default=v;var d=function(t){function i(){return t.call(this,a,{})||this}return e(i,t),i.prototype.show=function(){var t;(t=this.view)&&t.node&&t.node.offsetHeight,this.view.add("vp-show-spinner")},i.prototype.hide=function(){this.view.remove("vp-show-spinner")},i}(v);i.LoadingScreen=d;var p,m=function(t){function i(i,n,s,e){var r=t.call(this,c,{title:i.title,message:i.message,rep:i.rep,guid:{guid:n},sessionId:{videoSession:s},imageSrc:e,showBgImage:!!e})||this;return r.view.select(".vp-error-message").innerHTML=i.message,r.view.remove("vp-vis-hidden"),r}return e(i,t),i}(v);i.ErrorScreen=m,function(t){t.UI_INTERACT="ssUiInteract",t.START_SCREEN_CLICK="ssScreenClick"}(p=i.StartScreenEvent||(i.StartScreenEvent={}));var b=function(t){function i(i,n,s){var e,r=this,u={showTitle:n.showTitle&&i.title,showButton:n.showButton,showDescription:n.showDescription&&i.description,showThumbnail:n.showThumbnail,showProvider:!1},a=i.posterUrl||i.thumbnail;return(r=t.call(this,f,{item:i,config:u,width:s.width,height:s.height,imageSrc:a,strings:o.default,show:null===(e=s)||void 0===e?void 0:e.isCSSLoaded})||this).view.onTap((function(){h.userAgent.htc_one?window.setTimeout((function(){return r.bH()}),500):r.bH()})),r}return e(i,t),i.prototype.updateTitle=function(t){var i=this.view.select(".vp-start-screen-title");i&&(i.node.textContent=t)},i.prototype.bH=function(){this.publish(p.START_SCREEN_CLICK),this.publish(p.UI_INTERACT,{srcElement:"startScreen"})},i}(v);i.StartScreen=b;var y=function(t){function i(){return t.call(this,l,{})||this}return e(i,t),i.prototype.destroy=function(){this.view.removeFromParent(),t.prototype.destroy.call(this)},i}(v);i.AdsOverlay=y},KSE8: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.yH=t,this.gH=i?i.sort((function(t,i){return t-i})):[],this.reservoirLength=n||10,this.cushionLength=s||20,this.currentBitrate=0,this.wH={},this.gH.forEach((function(t){e.wH[t]=0})),t&&t.addEventListener("waiting",(function(){e.wH[e.currentBitrate]=e.wH[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.yH.buffered,i=this.yH.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.yH.length-i?Number.MAX_VALUE:n}return n},t.prototype.getRecommendedBitrate=function(t,i,n){i=i||this.gH,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.EH(i,n),a=s;return u>=h?a=this.OH(i,u):u<=o&&(a=this.AH(i,u)),a},t.prototype.getNumberOfBufferingsForBitrate=function(t){return this.wH[t]},t.prototype.EH=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.OH=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.AH=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},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.ValidatorResultError,a=r.SchemaError,c=r.SchemaContext,f=function t(){this.customFormats=Object.create(t.prototype.customFormats),this.schemas={},this.unresolvedRefs=[],this.types=Object.create(v),this.attributes=Object.create(e.validators)};function l(t){var i="string"==typeof t?t:t.$ref;return"string"==typeof i&&i}f.prototype.customFormats={},f.prototype.schemas=null,f.prototype.types=null,f.prototype.attributes=null,f.prototype.unresolvedRefs=null,f.prototype.addSchema=function(t,i){var n=this;if(!t)return null;var s=h(i||"/",t),e=i||t.$id||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]},f.prototype.addSubSchemaArray=function(t,i){if(Array.isArray(i))for(var n=0;n<i.length;n++)this.addSubSchema(t,i[n])},f.prototype.addSubSchemaObject=function(t,i){if(i&&"object"==typeof i)for(var n in i)this.addSubSchema(t,i[n])},f.prototype.setSchemas=function(t){this.schemas=t},f.prototype.getSchema=function(t){return this.schemas[t]},f.prototype.validate=function(t,i,n,e){if("boolean"!=typeof i&&"object"!=typeof i||null===i)throw new a("Expected `schema` to be an object or boolean");n||(n={});var r,f=i.$id||i.id,l=s.resolve(n.base||"/",f||"");if(!e){(e=new c(i,n,[],l,Object.create(this.schemas))).schemas[l]||(e.schemas[l]=i);var v=h(l,i);for(var d in v.id){var p=v.id[d];e.schemas[d]=p}}if(n.required&&void 0===t)return(r=new o(t,i,n,e)).addError("is required, but is undefined"),r;if(!(r=this.validateSchema(t,i,n,e)))throw new Error("Result undefined");if(n.throwAll&&r.errors.length)throw new u(r);return r},f.prototype.validateSchema=function(t,i,n,s){var h=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(Array.isArray(i.extends)){var u={schema:i,ctx:s};i.extends.forEach(this.schemaTraverser.bind(this,u)),i=u.schema,u.schema=null,u.ctx=null,u=null}else i=r.deepMerge(i,this.superResolve(i.extends,s));var f=l(i);if(f){var v=this.resolve(i,f,s),d=new c(v.subschema,n,s.path,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 a("Unsupported attribute: "+m,i);b&&h.importErrors(b)}if("function"==typeof n.rewrite){var g=n.rewrite.call(this,t,i,n,s);h.instance=g}return h},f.prototype.schemaTraverser=function(t,i){t.schema=r.deepMerge(t.schema,this.superResolve(i,t.ctx))},f.prototype.superResolve=function(t,i){var n=l(t);return n?this.resolve(t,n,i).subschema:t},f.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 a("no such schema <"+i+">",t);var u=r.objectGetPath(n.schemas[o],h.substr(1));if(void 0===u)throw new a("no such schema "+h+" located in <"+o+">",t);return{subschema:u,switchSchema:i}},f.prototype.testType=function(t,i,n,s,e){if(void 0!==e){if(null===e)throw new a('Unexpected null in "type" keyword');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 v=f.prototype.types={};v.string=function(t){return"string"==typeof t},v.number=function(t){return"number"==typeof t&&isFinite(t)},v.integer=function(t){return"number"==typeof t&&t%1==0},v.boolean=function(t){return"boolean"==typeof t},v.array=function(t){return Array.isArray(t)},v.null=function(t){return null===t},v.date=function(t){return t instanceof Date},v.any=function(t){return!0},v.object=function(t){return t&&"object"==typeof t&&!Array.isArray(t)&&!(t instanceof Date)},t.exports=f},Krh1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.API=void 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={}))},LCGo:function(t,i,n){"use strict";var s=n("zY0b");function e(t,i){this.$N=[],this.length=0,this.or=t||Uint8Array,i&&this.set(i)}t.exports=e,e.prototype.destroy=function(){this.$N=[],this.length=0},e.prototype.set=function(t){this.$N.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.$N.length;r++){var h=this.$N[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.or(0);for(var n=i-t,e=new this.or(n),r=0,h=0,o=0,u=0;u<this.$N.length;u++){var a=this.$N[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}},LboF:function(t,i,n){"use strict";var s,e=function(){return void 0===s&&(s=Boolean(window&&document&&document.all&&!window.atob)),s},r=function(){var t={};return function(i){if(void 0===t[i]){var n=document.querySelector(i);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[i]=n}return t[i]}}(),h=[];function o(t){for(var i=-1,n=0;n<h.length;n++)if(h[n].identifier===t){i=n;break}return i}function u(t,i){for(var n={},s=[],e=0;e<t.length;e++){var r=t[e],u=i.base?r[0]+i.base:r[0],a=n[u]||0,c="".concat(u," ").concat(a);n[u]=a+1;var f=o(c),l={css:r[1],media:r[2],sourceMap:r[3]};-1!==f?(h[f].references++,h[f].updater(l)):h.push({identifier:c,updater:m(l,i),references:1}),s.push(c)}return s}function a(t){var i=document.createElement("style"),s=t.attributes||{};if(void 0===s.nonce){var e=n.nc;e&&(s.nonce=e)}if(Object.keys(s).forEach((function(t){i.setAttribute(t,s[t])})),"function"==typeof t.insert)t.insert(i);else{var h=r(t.insert||"head");if(!h)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");h.appendChild(i)}return i}var c,f=(c=[],function(t,i){return c[t]=i,c.filter(Boolean).join("\n")});function l(t,i,n,s){var e=n?"":s.media?"@media ".concat(s.media," {").concat(s.css,"}"):s.css;if(t.styleSheet)t.styleSheet.cssText=f(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,n){var s=n.css,e=n.media,r=n.sourceMap;if(e?t.setAttribute("media",e):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(s+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=s;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}var d=null,p=0;function m(t,i){var n,s,e;if(i.singleton){var r=p++;n=d||(d=a(i)),s=l.bind(null,n,r,!1),e=l.bind(null,n,r,!0)}else n=a(i),s=v.bind(null,n,i),e=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(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()}}t.exports=function(t,i){(i=i||{}).singleton||"boolean"==typeof i.singleton||(i.singleton=e());var n=u(t=t||[],i);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var s=0;s<n.length;s++){var e=o(n[s]);h[e].references--}for(var r=u(t,i),a=0;a<n.length;a++){var c=o(n[a]);0===h[c].references&&(h[c].updater(),h.splice(c,1))}n=r}}}},Ld5f:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.PROVIDER_BRANDING_TEMPLATES=void 0,i.PROVIDER_BRANDING_TEMPLATES={"video.nflhighlights.com":n("5Gwc")}},LmPb:function(t,i,n){"use strict";t.exports=e;var s=n("D8uh");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.xI=null,this.UI={},this.VI={}}n("juTp").inherits(e,s),e.prototype.destroy=function(){this.reset(),this.UI={},s.prototype.removeEventListeners.call(this,this.VI),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.VI.timedOut=n},e.prototype.removeEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");s.removeEventListeners(this.VI)},e.prototype.start=function(){var t=this;t.xI||t.running||(t.xI=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.xI&&this.running&&(clearInterval(this.xI),this.xI=null,this.running=!1,this.startTime=0)},e.prototype.reset=function(){this.stop(),this.currentCount=0,this.startTime=0}},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.KR={},this.YL=0}return t.prototype.destroy=function(){this.KR={}},t.prototype.addEventListener=function(t,i,n){return this.KR?this.qL(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.KR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.qL(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.KR&&t in this.KR&&Object.prototype.hasOwnProperty.call(this.KR[t],i)&&delete this.KR[t][i]},t.prototype.removeEventListeners=function(t){if(this.KR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.KR&&Object.prototype.hasOwnProperty.call(this.KR[s],e)&&(delete this.KR[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.KR&&t in this.KR){var s=this.KR[t];s&&this.WL(s,t,!1,i);var e=this.KR["*"];e&&this.WL(e,t,!0,i)}},t.prototype.WL=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.qL=function(t,i,n){this.KR[t]||(this.KR[t]={});var s=t+"_"+ ++this.YL;return this.KR[t][s]={subscriber:n,listener:i},s},t}();i.default=e},Lt7U: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("zY0b"),e=n("juTp"),r=n("D8uh"),h=n("WYoP"),o=n("LmPb"),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._H=n,this.window=this._H?null:i||window,this.TH=null,this.SH={},this.jH=[1e3,1e3,2e3,2e3,3e3,3e3,5e3],this.IH=5e3,this.NH=new o(1e3,1),this.NH.addEventListener(this.load,this),this.MIN_TIMEOUT=2e3,this.MAX_TIMEOUT=15e3,this.MH=0,this._=t.maxRetries,this.RH=new o(this.DH(),1),this.RH.addEventListener(this.kH,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.LH(),s.TH=s._H?new XMLHttpRequest:new s.window.XMLHttpRequest,s.TH.CH=0,s.TH.PH=!1,s.xH(),s.TH.withCredentials=s.request.withCredentials,s.TH.open(s.request.method,s.url,!0),s.UH=s.request.headerFields,s.UH&&Object.keys(s.UH).forEach((function(t){s.TH.setRequestHeader(t,s.UH[t])})),s.VH(),s.RH.reset(),s.RH.start(),s.TH.send(n)},l.prototype.VH=function(){this.TH.responseType=this.request.responseType},l.prototype.xH=function(){var t=this;t.TH.onerror=t.gR.bind(t),t.TH.onreadystatechange=function(){if(t.TH&&t.TH.readyState===c&&!t.TH.PH){if(!t.BH(t.TH.status))return t.RH.stop(),t.gR();t.TH.PH=!0;var n={data:t.TH.response};if(t.request.withResponseHeaders){var s=t.TH.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.RH.stop()}}},l.prototype.FH=function(t){var i=new RegExp(t+": (.*)","ig"),n=this.TH.getAllResponseHeaders(),s=i.exec(n);return s&&s.length>1?s[1]:""},l.prototype.BH=function(t){return t>=200&&t<300},l.prototype.zH=function(){Date.now(),this.HH;this.RH.stop()},l.prototype.kH=function(){this.zH(),this.gR()},l.prototype.GH=function(){this.reset(),this.$L(h.ERR_PARTIAL_LOAD)},l.prototype.YH=function(){var t=this.jH.length,i=this.MH;return i<t?this.jH[i]:this.jH[t-1]+this.IH*(i-t+1)},l.prototype.gR=function(){this.LH(),this.MH<this._&&(!this.request.retryExclusion||-1===this.request.retryExclusion.indexOf(this.TH.status))?(this.MH++,this.NH.delay=this.YH(),this.NH.reset(),this.NH.start(),this.request.headerFields&&this.TH.readyState===c&&0===this.TH.status&&(this.request.headerFields=null)):this.request.stopStreamLoadOnError?this.$L(h.ERR_XHR_LOAD_LIVE_PAUSE):403===this.TH.status?this.$L(h.ERR_XHR_LOAD_FORBIDDEN):this.$L(h.ERR_XHR_LOAD)},l.prototype.$L=function(t){this.publish(i.Events.ERROR,new h.Error(t))},l.prototype.LH=function(){this.TH&&this.TH.readyState!==c&&this.TH.readyState!==u&&(this.TH.PH=!0,this.TH.abort()),this.NH.stop(),this.RH.stop()},l.prototype.DH=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.LH(),this.TH=null,this.request=null},l.prototype.destroy=function(){this.reset(),this.NH.destroy(),this.RH.destroy(),r.prototype.destroy.call(this)},v.prototype.destroy=function(){l.prototype.destroy.call(this)},v.prototype.xH=function(){var t=this,n=function(){if(t.TH&&!t.TH.PH&&(t.TH.readyState===c||t.TH.readyState===a)){if(!t.BH(t.TH.status))return t.RH.stop(),0===t.TH.CH?t.gR():void t.GH();var n=t.TH.responseText,s=n.length-t.TH.CH;if(s>0&&(t.RH.stop(),t.SH.atlasMarker=t.FH("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.length,t.SH)),s>t.request.minChunkSize||t.TH.readyState===c){for(var e=new Uint8Array(s),r=0;r<s;r++)e[r]=255&n.charCodeAt(r+t.TH.CH);t.TH.CH=n.length,t.publish(i.Events.PROGRESS,e,n.length)}t.RH.start(),t.TH.readyState===c&&(t.TH.PH=!0,t.publish(i.Events.COMPLETE),t.RH.stop())}};t.TH.onreadystatechange=n,t.TH.onprogress=n},v.prototype.kH=function(){this.zH(),this.TH.CH>0&&this.TH.readyState===a?this.GH():this.gR()},v.prototype.VH=function(){this.TH.overrideMimeType("text/plain; charset=x-user-defined")},d.prototype.destroy=function(){v.prototype.destroy.call(this)},d.prototype.xH=function(){var t=this;t.TH.onreadystatechange=function(){if(t.TH.readyState===a){if(!t.BH(t.TH.status))return t.RH.stop(),t.gR();var n=t.TH.response;if(t.qH||(t.qH=t._H?new MSStreamReader:new t.window.MSStreamReader),t.qH.readyState===f)return;t.qH.readAsArrayBuffer(n),t.qH.onprogress=function(){t.RH.stop();var n=t.qH.result;n.byteLength>0&&(t.SH.atlasMarker=t.FH("X-ATLAS-MARKERS"),t.publish(i.Events.BYTES_LOADED,n.byteLength,t.SH));var s=new Uint8Array(n.slice(t.TH.CH,n.byteLength));t.TH.CH=n.byteLength,t.publish(i.Events.PROGRESS,s,n.byteLength),t.RH.start()},t.qH.onload=function(){t.RH.stop(),t.publish(i.Events.COMPLETE)},t.qH.onerror=function(){t.RH.stop()}}}},d.prototype.VH=function(){this.TH.responseType="ms-stream"},d.prototype.reset=function(){l.prototype.reset.call(this),this.qH&&this.qH.abort()}},McK0:function(t,i,n){"use strict";t.exports=u;var s=n("szY1"),e=n("mvD1"),r=n("juTp"),h=n("t9DJ"),o=n("AbTv");function u(t,i){if(this.hE=this.__controller.model,this.WH=this.hE.config.useWorker,this.rL=this.hE.userAgent,this.XH="HlsTransformer",this.ZH=r.guid(),this.QH=t,this.JH=i,this.MIN_BUFFER_LENGTH=5,this.KH()){if(this.$H=this.__controller.services.getWorker(this.XH),this.$H)return this.$H.addEventListener("message",this.tG.bind(this)),void this.iG(e.MessageIds.CREATE,[t]);this.hE.config.useWorker=!1}this.nG=new s(t,i),this.WH=!1}u.prototype.destroy=function(){this.WH&&this.$H?this.iG(e.MessageIds.DESTROY):this.nG.destroy()},u.prototype.close=function(){this.WH&&this.$H?this.iG(e.MessageIds.CALL_METHOD,null,"close"):this.nG.close()},u.prototype.append=function(t){this.WH&&this.$H?this.iG(e.MessageIds.CALL_METHOD,[t],"append",[t.buffer]):this.nG.append(t)},u.prototype.endOfSegment=function(){this.WH&&this.$H?this.iG(e.MessageIds.CALL_METHOD,null,"endOfSegment"):this.nG.endOfSegment()},u.prototype.tG=function(t){if(t){var i=t.data?new o(t.data):t;if(i&&i.instanceId===this.ZH&&(i.id===e.MessageIds.APPEND_SRC_BUFFER||i.id===e.MessageIds.TIMED_METADATA)){var n=i.getParam("parsedInfo");n&&(n.inWorkerScope=!0),this.JH(i)}}},u.prototype.KH=function(){return!!this.WH&&(this.rL.chrome&&!this.rL.win7?this.WH=!(this.__controller&&this.__controller.getState()>=h.PLAY_REQUESTED)||this.hE.bufferLength>this.MIN_BUFFER_LENGTH:this.WH=!1,this.WH)},u.prototype.iG=function(t,i,n,s){if(this.$H&&t){var r={type:e.MessageTypes.MESSAGE,id:t,moduleName:this.XH,instanceId:this.ZH,funcName:n,args:i,timestamp:Date.now()};this.$H.postMessage(r,s)}}},N0hD:function(t,i,n){"use strict";t.exports=r;var s=n("E2cV"),e=n("WYoP");function r(){this._node=this.HI.node,this.cU=this.HI.mediaSource,this.PM=null,this.sG=[],this.eG=!1,this.hE=this.HI.appModel,this.rG=this.hE.config.pastBufferLengthLimit}r.prototype.destroy=function(){this.hG(),this.sG=[]},r.prototype.setSwitchManager=function(t){this.PM=t},r.prototype.process=function(){this.oG()&&"open"===this.cU.readyState&&this.cU.endOfStream()},r.prototype.onError=function(){this.eG=!0},r.prototype.onSeeking=function(t,i){t&&this.hG(),i&&this.uG()},r.prototype.aG=function(t){for(var i=0;i<this.sG.length;i++)if(t===this.sG[i].type)return this.sG[i];return null},r.prototype.setMinimumBufferTime=function(t){this.sG.forEach((function(i){i.setMinBufferTime(t)}))},r.prototype.createSourceBuffer=function(t,i,n){if(!this.cU||this.eG)return null;var r=this.aG(t);if(!r)if(this.HI.isMimetypeSupported(i)){r=this.HI.create(s,this.cU,t,i),this.sG.push(r);var h=this.hE.config.minBufferTime,o=isNaN(n)?this.hE.live?h.live:h.vod:n;this.setMinimumBufferTime(o)}else{var u=new e.Error(e.ERR_MIMETYPE_NOT_SUPPORTED);this.HI.notifyError(u)}return r},r.prototype.cG=function(){if(this.cU&&!this.eG)for(;this.sG.length>0;){this.sG.shift().destroy()}},r.prototype.uG=function(){var t=this,i=[];t.cU&&!t.eG&&"open"===t.cU.readyState&&(t.sG.forEach((function(t){i.push({type:t.type,mimeType:t.mimeType})})),t.cG(),i.forEach((function(i){t.createSourceBuffer(i.type,i.mimeType,NaN)})))},r.prototype.hG=function(){this.cU&&!this.eG&&this.sG.forEach((function(t){t.abort()}))},r.prototype.clear=function(t,i){if(this.cU&&!this.eG)if(t){if(!(t&&t.end-t.start<10)&&i){i.clearBuffer(t.start,t.end,(function(t){}))}}else this.sG.forEach((function(t){t.clearAll()}))},r.prototype.clearSrcBuffer=function(t,i){var n=this.aG(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.eG&&t.data&&t.data.length&&s.appendBuffer(t.data,t.startTime,t.endTime,t.onlyMetadata,(function(t,s){n.fG(t,s),i(t,s)}))},r.prototype.endOfStream=function(t){this.sG.forEach((function(i){i.setEndOfStream(t)}))},r.prototype.oG=function(){if(!this.sG.length)return!1;var t=!0;return this.sG.forEach((function(i){t=t&&"closed"===i.state})),t},r.prototype.getPendingBufferLength=function(){var t=0;return this.sG.forEach((function(i){var n=i.getTotalPendingBufferLength();t<n&&(t=n)})),t},r.prototype.getBufferedAndPending=function(){var t={};return this.sG.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.sG.forEach((function(t){t.ready=!1}))},r.prototype.areSrcBuffersReady=function(){for(var t=0;t<this.sG.length;t++)if(!this.sG[t].ready)return!1;return!0},r.prototype.fG=function(t,i){i&&(this.clear(this.lG(i),i),this.clear(this.vG(i),i))},r.prototype.lG=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.hE.live?this.rG.live:this.rG.vod;return n&&n.length&&(s=n.start(0),e=Math.max(i-r,0)),{start:s,end:e}},r.prototype.vG=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=this.hE.live?this.rG.live:this.rG.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}},NMaA:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("qkPt"),e=n("aJ6b"),r=n("Rsv0"),h=n("jNwf"),o=n("fYOM"),u=n("Zn3a"),a=n("FTfz"),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},NOhp:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xl6w"),e=n("ablw"),r=n("yf6s"),h=function(){function t(){this.version="0.2.447",this.type=s.PluginType.VISUAL_SEEK,this.mimetype="visualseek/uplynk",this.dG={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.dG={}},t.prototype.canSeek=function(t){return t&&!!this.dG[t]},t.prototype.update=function(t,i){var n=this.dG[t]||{};n.assetInfo=i&&i.assetInfo||n.assetInfo,n.adBreaks=i&&i.adBreaks||n.adBreaks,this.dG[t]=n},t.prototype.getThumbnailData=function(t,i,n){if(!e.isString(t)||!e.isNumber(i))return null;var s=this.dG[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.dG[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.dG[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},Na72: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},Nfn8: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:{}})},NnkH:function(t,i,n){"use strict";t.exports=f;var s=n("kFLO"),e=n("EHpZ"),r=n("juTp"),h=n("zY0b"),o=n("HNSW"),u=o.Stream,a=o.StreamTypes,c=n("l+r/").StreamingMode;function f(t){this.constructor.super_.call(this),this.QS=this.constructor.super_.prototype,this.segments=[],t&&this.updateConfig(t)}r.inherits(f,u),f.prototype.destroy=function(){this.segments=[],this.QS.destroy.call(this)},f.prototype.updateConfig=function(t){var i=this;i.QS.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(){}},O3QI:function(t,i,n){"use strict";t.exports=a;var s=n("juTp"),e=n("Lt7U").Events,r=n("qudH"),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._i=t.controller.services.getNewLoader(t.retryOpts,t.stream.url)}s.inherits(a,h),a.prototype.destroy=function(){this._i.destroy(),h.prototype.destroy.call(this)},a.prototype.execute=function(){var t=this,i=t.data.stream.url;t._i.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._i.addEventListener(e.ERROR,(function(i){t.publish(u.CMD_ERROR,t,i)}),t),t._i.load(i)},a.prototype.cancel=function(){}},"O5f/":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-current-hosting 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:{}})},ODb2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("P2OX"),e=n("Na72"),r=n("yf6s"),h=function(){function t(t){this.IN=t}return t.prototype.play=function(t,i){void 0===t&&(t=0),this.IN.getPlaybackState()===e.States.INIT&&t>0&&t<this.getDuration()&&(this.IN.startTime=t),this.IN.play(this.pG(i))},t.prototype.pause=function(t){this.IN.pause(this.pG(t))},t.prototype.preload=function(){this.IN.preload()},t.prototype.seek=function(t){this.IN.seek(t)},t.prototype.disableControls=function(){this.IN.disableControls()},t.prototype.enableControls=function(){this.IN.enableControls()},t.prototype.enableCC=function(t){this.IN.enableCC(t)},t.prototype.disableCC=function(){this.IN.disableCC()},t.prototype.isPlayMode=function(){return this.IN.isPlayMode()},t.prototype.getPlaybackState=function(){return this.IN.getPlaybackState()},t.prototype.isLoading=function(){return this.IN.isLoading()},t.prototype.getDuration=function(){return this.IN.duration},t.prototype.getRawDuration=function(){return this.IN.rawDuration},t.prototype.getCurrentTime=function(){return this.IN.currentTime},t.prototype.getRawCurrentTime=function(){return this.IN.rawCurrentTime},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.IN.fullscreen=t},t.prototype.getFullscreen=function(){return this.IN.fullscreen},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.IN.volume=t},t.prototype.getVolume=function(){return this.IN.volume},t.prototype.setMute=function(t){this.IN.mute=t},t.prototype.getMute=function(){return this.IN.mute},t.prototype.setLoop=function(t){this.IN.loop=t},t.prototype.setContinuousPlay=function(t){this.IN.continuousPlay=t},t.prototype.resumeContinuousPlay=function(){this.IN.resumeContinuousPlay(this.pG())},t.prototype.getCurrentDate=function(){return this.IN.currentDate},t.prototype.setAudioLanguage=function(t){},t.prototype.pG=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},OJEu: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}),i.MessageType=void 0;var r=n("JcWZ"),h=n("c+yx"),o=n("rBpt");i.MessageType={EVENT:"EVENT",CLEAR_IFRAME_NAME:"CLEAR_IFRAME_NAME",PLAYER_DIMENSION_CHANGE:"PLAYER_DIMENSION_CHANGE"};var u=function(t){function n(i,n){var s=t.call(this,"IframeController")||this;return s.mG={isPlaying:null,getPlaybackState:null,getDuration:null,getCurrentTime:null,getTimeRemaining:null,getFullscreen:null,getVolume:null,getMute:null},s.bG={getCurrentItemTitle:null,getCurrentItemDescription:null,getCurrentItemProviderName:null,getCurrentItemLiveStatus:null},s.yG="VID-"+Math.floor(1e3*Math.random()),s.gG=JSON.parse(JSON.stringify(i)),s.jN=n,s.wG=null,s.EG=null,s.OG=Date.now(),s.RU=!1,s.AG=null,s._G=null,s.TG="https://s.yimg.com",i.insideIframeConfig||(s.AG=s.SG.bind(s),window.addEventListener("message",s.AG,!1)),s}return e(n,t),n.prototype.destroy=function(){this.AG&&window.removeEventListener("message",this.AG,!1),this._G&&window.removeEventListener("message",this._G,!1),this.AG=null,this._G=null,t.prototype.destroy.call(this)},n.prototype.constructIframe=function(t){var i,n,s,e,r=this,u=h.default.getWindow(),a=o.TypeChecker.isString(t)?document.querySelector(t):t;if(null!==a){this.EG=a,this.gG.insideIframeConfig={startTime:this.OG,iframeVID:this.yG,parentURL:u.location.protocol+"//"+u.location.host},this.gG.playerJSPath=(null===(e=null===(s=null===(n=null===(i=window.OATH)||void 0===i?void 0:i.VideoPlatform)||void 0===n?void 0:n.PlayerHosting)||void 0===s?void 0:s.req)||void 0===e?void 0:e.path)||"";var c=document.createElement("iframe"),f=encodeURIComponent(JSON.stringify(this.gG)),l=this.TG+"/rx/up/builds/8.2.168/ifcp.html";c.setAttribute("src",l),c.setAttribute("name",f),c.setAttribute("id",this.yG),c.setAttribute("width","100%"),c.setAttribute("height","100%"),c.setAttribute("frameBorder","0"),c.setAttribute("allowFullScreen",""),c.setAttribute("allow","autoplay; fullscreen; encrypted-media"),a&&a.appendChild(c),this.wG=c,this.wG.onload=function(){r.RU=!0}}else this.jN.__setError("error","C",o.errorCodes.E_PLAYER,o.errorCodes.PLAYER_CODES.E_INVALID_CONFIG,"Invalid DOM node or CSS selector specified. Cannot render player.")},n.prototype.routeControlsApiToIframe=function(){var t=this,i=["addItems","addItem","setPositionById","setPosition","removeItem","removeItems","removeItemById","removeItemsById"],n=["getCurrentItemTitle","getCurrentItemDescription","getCurrentItemProviderName","getCurrentItemLiveStatus"],s=function(i){return function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];t.jG("controls",i,n)}},e=function(i){return function(){return t.mG[i]}},r=function(s){return-1!==i.indexOf(s)?function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];t.jG("playlist",s,i)}:-1!==n.indexOf(s)?function(){return t.bG[s]}:function(){throw new Error("playlist API "+s+" is not supported when safe frame is enabled")}};for(var h in this.jN.controls)if(o.TypeChecker.isFunction(this.jN.controls[h])){if(void 0!==this.mG[h]){this.jN.controls[h]=e(h);continue}this.jN.controls[h]=s(h)}for(var u in this.jN.playlist)o.TypeChecker.isFunction(this.jN.playlist[u])&&(this.jN.playlist[u]=r(u));["getMediaStore","__setError","addCustomControlElement","getMediaItemMarkers","getInitTime","getPlaybackStartDto","updateGeoConfig","isRendered","isSuspended","resume","suspend","undockVideoPlayer","updateDockingConfig","getRootElement","getVideoElement","isLoading","setMediaItemTitle","isDocked","isPlayMode","isPlaying","removeAllMediaItems","setQueryString","getVolume","getCurrentDate","getCurrentTime"].forEach((function(i){var n;t.jN[i]=(n=i,function(){throw new Error("player API "+n+" is not supported when safe frame is enabled")})}))},n.prototype.routeAPIeventToPage=function(t){var n=this,s=window.OATH.VideoPlatform.Events[t];this.jN.on(s,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];t.unshift(s),t.push(n.refreshControlsAPIData()),t.push(i.MessageType.EVENT),t.push(n.gG.insideIframeConfig.iframeVID),n.IG(JSON.stringify(t))}),this.jN)},n.prototype.sendClearIframeNameToPage=function(){var t=[i.MessageType.CLEAR_IFRAME_NAME,this.gG.insideIframeConfig.iframeVID];this.IG(JSON.stringify(t))},n.prototype.refreshControlsAPIData=function(){return{isPlaying:this.jN.controls.isPlaying(),getPlaybackState:this.jN.controls.getPlaybackState(),getDuration:this.jN.controls.getDuration(),getCurrentTime:this.jN.controls.getCurrentTime(),getTimeRemaining:this.jN.controls.getTimeRemaining(),getFullscreen:this.jN.controls.getFullscreen(),getVolume:this.jN.controls.getVolume(),getMute:this.jN.controls.getMute(),getCurrentItemTitle:this.jN.playlist.getCurrentItemTitle(),getCurrentItemDescription:this.jN.playlist.getCurrentItemDescription(),getCurrentItemProviderName:this.jN.playlist.getCurrentItemProviderName(),getCurrentItemLiveStatus:this.jN.playlist.getCurrentItemLiveStatus()}},n.prototype.setupIframeToPageCommunication=function(){this._G=this.NG.bind(this),window.addEventListener("message",this._G,!1);var t=window.OATH.VideoPlatform.Events;for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&this.routeAPIeventToPage(i)},n.prototype.onPlaylistDimensionChange=function(t){if(o.TypeChecker.isObject(t)){var n=[t,i.MessageType.PLAYER_DIMENSION_CHANGE,this.gG.insideIframeConfig.iframeVID];this.IG(JSON.stringify(n))}},n.prototype.jG=function(){for(var t,i,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];if(this.wG&&this.RU){var e=JSON.stringify(n);null===(i=null===(t=this.wG)||void 0===t?void 0:t.contentWindow)||void 0===i||i.postMessage(e,this.TG)}},n.prototype.SG=function(t){var n,s,e=this,r=null,h={},u="",a=this.mG,c=this.bG;if(t.origin===this.TG){try{s=JSON.parse(t.data)}catch(t){return}if(s&&o.TypeChecker.isArray(s)&&s.length>=2){if(u=s.pop(),!o.TypeChecker.isString(u)||0!==u.indexOf("VID-"))return;if(this.yG!==u)return;if(!(r=s.pop())||!i.MessageType[r])return;switch(r){case i.MessageType.EVENT:h=s.pop(),Object.keys(h).forEach((function(t){Object.prototype.hasOwnProperty.call(e.mG,t)?a[t]=h[t]:Object.prototype.hasOwnProperty.call(e.bG,t)&&(c[t]=h[t])})),this.jN.iframeController&&(this.jN.iframeController.mG=a,this.jN.iframeController.bG=c),this.jN.publish.apply(this.jN,s);break;case i.MessageType.CLEAR_IFRAME_NAME:null===(n=this.wG)||void 0===n||n.setAttribute("name","");break;case i.MessageType.PLAYER_DIMENSION_CHANGE:var f=s.length?s.pop():null,l="object"==typeof f?f.height:null;l&&this.MG(l)}}}},n.prototype.IG=function(t){var i="";this.gG.insideIframeConfig&&(i=this.gG.insideIframeConfig.parentURL),window.parent.postMessage(t,i)},n.prototype.NG=function(t){var i,n,s,e;if(t.data){try{e=JSON.parse(t.data)}catch(t){return}Array.isArray(e)&&(i=e.length>0?e[0]:null,n=e.length>1?e[1]:null,s=e.length>2?e[2]:null),i&&n&&this.jN&&this.jN[i]&&this.jN[i][n]&&this.jN[i][n].apply(this.jN[i],s)}},n.prototype.MG=function(t){this.EG&&(this.EG.style.height=t+"px")},n}(r.default);i.default=u},ORzE:function(t,i,n){"use strict";t.exports=f;var s=n("ZOXl"),e=n("lx8G"),r=n("pkSX"),h=n("CLCl"),o=n("Lt7U"),u=n("Emy5"),a=n("0r65"),c=n("juTp");function f(){this.hE=this.__controller.model,this.RG={},this.bandwidthEstimator=new r(this.hE.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.RG&&Object.keys(t.RG).forEach((function(i){t.RG[i].terminate()}))},f.prototype.getNewLoader=function(t,i){var n=this.hE,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.hE.config.useWorker&&"undefined"!=typeof Worker)try{return this.RG[t]||(this.RG[t]=a(u)),this.RG[t]}catch(t){}return null}},"OU/s":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("hq3Z"),o=n("Thcf"),u=n("wqBe"),a=n("kH2p"),c=n("Na72"),f=n("6u/y"),l=n("ablw"),v=n("yf6s"),d=o.WARNING_CODES,p=o.PLAYER_CODES,m=["200","400","501","430","410"],b=["7","57","304","307"],y=["700","701","710","711","720","721","722","730","731","732","740","750","760"],g=["103","500","502","503","550","403","404","504"],w=["11","12","13","14","27"],E=[o.PLAYER_DRM_CODES.E_LICENSE_REQUEST];!function(t){t.RECOVERY_START="recoveryStart",t.RECOVERY_METADATA_READY="recoveryMetadataReady"}(r=i.RecovererEvent||(i.RecovererEvent={}));var O=function(t){function i(i){var n=t.call(this,"Recoverer")||this;return n.hE=i,n.KU=!1,n.DG=0,n.kG=null,n.LG=!1,n.CG(),n.PG=0,n}return e(i,t),i.prototype.recover=function(t){var i,n,s=this.sO;if(!s.ad&&!v.default.isAdBreakType(s.currentMediaType)&&!(this.KU&&this.PG!==t||this.LG)){if(this.xG(this.UG),this.UG=null,!this.KU){this.KU=!0;var e="recovering;"+(this.kG?(null===(i=this.kG)||void 0===i?void 0:i.rep)+";"+(null===(n=this.kG)||void 0===n?void 0:n.message):"");this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,s,o.E_WARNING,d.E_RECOVERY_STATUS,null,e))}4===t&&this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,s,o.E_WARNING,d.E_RECOVER_LONG_PAUSE,null,"Recovering from long pause on live")),this.PG=t||3,2!==this.PG&&(this.kG=null);var h=this.lT();h&&(h.failoverCount++,h.recoveryStatus=a.ItemRecoveryStatus.RECOVERING),this.publish(r.RECOVERY_START)}},i.prototype.destroy=function(){this.VG()},i.prototype.stopTimers=function(){this.xG(this.UG),this.UG=null,this.xG(this.BG),this.BG=null,this.xG(this.FG),this.FG=null},i.prototype.toggleRecoverer=function(t){t&&t.value?this.zG(1):(this.KU&&this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_WARNING,d.E_RECOVERY_STATUS,null,"recovered")),this.VG())},i.prototype.onRecoveryMetadataReady=function(){if(this.PG)this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_WARNING,d.E_PLAYBACK_FROZEN_DETECTED,null,this.HG())),this.hE.getState()!==c.default.VIDEO?this.VG():this.CG(),this.publish(r.RECOVERY_METADATA_READY);else{var t=this.lT();t&&t.failoverCount--}},i.prototype.onMetadataLoadFailed=function(){this.KU&&1===this.PG&&this.GG(),this.KU=!1},i.prototype.onPause=function(){this.KU&&this.hE.getState()===c.default.VIDEO&&this.VG()},i.prototype.onPlaybackStartBlocked=function(){this.LG=!0,this.VG()},i.prototype.onPlaybackStartNotBlocked=function(){this.LG=!1},i.prototype.setItemRecoveryStatus=function(t,i){t.recoveryStatus=i},Object.defineProperty(i.prototype,"recovering",{get:function(){return this.KU},enumerable:!0,configurable:!0}),i.prototype.onError=function(t){var i=this,n=2;if(t&&(t.isRecoverable=!this.YG(t),t.isRecoverable))if(this.DG>20)this.qG();else{g.indexOf(t.subcategory.toString())>0?n=9:t.subcategory.toString()!==p.E_NATIVE_SRC_NOT_SUPPORTED&&t.subcategory.toString()!==p.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.DG++,this.kG=t,"400"===t.category.toString()&&"7"===t.subcategory.toString())return this.xG(this.BG),this.BG=new f.default(1e4*Math.random(),1),this.BG.addEventListener(f.default.TIMER_EVENT,(function(){i.zG(n)}),this),void this.BG.start();this.zG(n)}},i.prototype.YG=function(t){var i=t.category.toString(),n=m.indexOf(i);if(n<0)return!0;var s=t.subcategory.toString();switch(m[n]){case o.E_WARNING:return b.indexOf(s)<0;case o.E_PLAYER:return b.indexOf(s)<0&&y.indexOf(s)<0;case o.E_SAPI_STREAM:return g.indexOf(s)<0;case o.E_PLAYER_JS_HLS:return w.indexOf(s)<0;case o.E_PLAYER_DRM:return E.indexOf(s)<0}return!0},i.prototype.CG=function(){this.WG=1e4*Math.random()+1e4,this.XG=2e3,this.xG(this.UG),this.UG=null},i.prototype.lT=function(){return this.hE.playlist?this.hE.playlist.getCurrentItem():null},i.prototype.zG=function(t){this.ZG(),1!==t?this.recover(t):this.QG(this.WG)},i.prototype.VG=function(){this.CG(),this.stopTimers(),this.KU=!1,this.PG=0,this.kG=null,this.DG=0},i.prototype.QG=function(t){var i=this;this.xG(this.UG),this.UG=new f.default(t,1),this.UG.addEventListener(f.default.TIMER_EVENT,(function(){i.recover(i.PG?i.PG:1)}),this),this.UG.start()},i.prototype.GG=function(t){(t=!!l.isNullOrUndefined(t)||t)&&(this.WG+=this.XG,this.XG*=2),this.QG(this.WG)},i.prototype.ZG=function(){var t=this;this.FG||(this.FG=new f.default(1e3*this.hE.recoveryFailureTimeout,1),this.FG.addEventListener(f.default.TIMER_EVENT,(function(){t.qG()}),this),this.FG.start())},i.prototype.qG=function(){var t=v.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_PLAYER,p.E_RECOVERY_FAILURE,null,this.HG());this.publish(u.ERROR,t),this.VG()},i.prototype.xG=function(t){t&&t.destroy(),t=null},i.prototype.HG=function(){var t=this.kG,i=this.PG;return 2===i?i+"-"+t.category+"-"+t.subcategory+"-"+t.message:i.toString()},Object.defineProperty(i.prototype,"sO",{get:function(){return this.hE.playbackState},enumerable:!0,configurable:!0}),i}(h.default);i.default=O},OfeT: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:{}})},Oj6Y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("aAR2"),e=function(){function t(){this.NF=new s.default}return t.prototype.updateOathPlayerOpss=function(t,i,n){this.NF.updateOathPlayerInfo(t,i,n)},t}();i.default=e},P2OX: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"},PAFL:function(t,i,n){"use strict";t.exports=s;function s(){}s.prototype.JG=function(t,i){for(var n=i,s=0;this.KG(t,i);)s+=10,s+=this.$G(t,i+6),this.tY(t,i+10)&&(s+=10),i+=s;return s>0?t.subarray(n,n+s):null},s.prototype.KG=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.tY=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.$G=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.JG(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.iY=function(t){return 100===t[5]?self.$G(t,10):0},s.prototype.nY=function(t,i){var n=t.subarray(i,i+4);return String.fromCharCode.apply(null,n)},s.prototype.getID3Payload=function(t){var i=this.JG(t,0);if(!i||!i.length)return null;var n=10+this.iY(i);return{key:this.nY(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.KG(t,i);)i++;return i+10>t.length?null:t.subarray(i)}},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,sY:9,"{":10,"&":11,eY: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.sY||"_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={eY:!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"))},sY:function(t,i){i.code+="t.b(t.v(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'},eY: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)},PssQ: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.sL(),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},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("g6Is"),o=n("c+yx"),u=n("TQia"),a=n("rBpt"),c="https://bats.video.yahoo.com/p",f=function(t){function i(i){return t.call(this,i)||this}return e(i,t),i.sendGenericBeacon=function(t){var i=c+"?"+r.encode(t,"&","=");i=i.replace(/[!'()]/g,escape).replace(/\*/g,"%2A"),o.default.sendImageBeacon(i)},i.prototype.rY=function(i){this.hY(i),t.prototype.rY.call(this,i)},i.prototype.oY=function(i,n){switch(i.evt&&i.evt.toLowerCase()){case"ad_dlv":this.hY(n)}t.prototype.oY.call(this,i,n)},i.prototype.uY=function(t){return new u.default(t)},i.prototype.hY=function(t){t.pgltcy=this.hE.pageLatency&&this.hE.pageLatency.toString()||"na";var i=this.hE.mmActivityId;i&&(t.mm_activity_id=i)},i.sendScriptLoadBeacon=function(){if(!window.sentScriptLoadBeacon){for(var t=document.getElementsByTagName("script"),n="",s=0;s<t.length;s++){var e=t[s];if(e.src&&e.src.match(/oath-player\.js/)){n=e.src;break}}var r={_R:document.referrer||"",_V:"test",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"s_load",src:n,s:"1197809794",host:document.location.host||"",pver:"8.2.168",t:Math.random()};i.sendGenericBeacon(r),window.sentScriptLoadBeacon=!0}},i.sendPlayerInitBeacon=function(t){for(var n,s,e,r,a,c,f,l,v,d,p,m,b,y,g,w,E,O,A,_,T,S,j,I,N,M,R,D,k,L,C,P,x,U,V,B,F,z,H,G,Y,q,W,X,Z,Q=[],J=1;J<arguments.length;J++)Q[J-1]=arguments[J];var K=t.width,$=t.height,tt={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:o.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:Q[0],site:t.site||"",lang:t.lang||"",region:t.region||"",snd:!0===t.mute?"m":"um",endscreen:!0===(null===(s=null===(n=t.ui)||void 0===n?void 0:n.endScreen)||void 0===s?void 0:s.show)?"1":"0",jsdt:u.default.getJSDownloadTime(),pgltcy:u.default.getPageLatency(),psz:K&&$?K+"x"+$:"",ccode:(null===(e=t.metrics)||void 0===e?void 0:e.ccode)||"",cpos:(null===(r=t.metrics)||void 0===r?void 0:r.cpos)||"",sec:(null===(c=null===(a=t.rapidConfig)||void 0===a?void 0:a.clickParams)||void 0===c?void 0:c.sec)||(null===(f=t.metrics)||void 0===f?void 0:f.sec)||"",pl_type:u.default.getPlaylistType(null===(l=t.ui)||void 0===l?void 0:l.playlist),pl_uuid:(null===(v=t.playlist)||void 0===v?void 0:v.id)||"",deos:!0===(null===(p=null===(d=t.ui)||void 0===d?void 0:d.docking)||void 0===p?void 0:p.enableOnScrollDown)?"1":"0",deom:!0===(null===(b=null===(m=t.ui)||void 0===m?void 0:m.docking)||void 0===b?void 0:b.enableOnMuted)?"1":"0",pt:(null===(g=null===(y=t.rapidConfig)||void 0===y?void 0:y.pageParams)||void 0===g?void 0:g.pt)||"",pd:(null===(E=null===(w=t.rapidConfig)||void 0===w?void 0:w.pageParams)||void 0===E?void 0:E.pd)||"",pct:(null===(A=null===(O=t.rapidConfig)||void 0===O?void 0:O.pageParams)||void 0===A?void 0:A.pct)||"",ver:(null===(T=null===(_=t.rapidConfig)||void 0===_?void 0:_.pageParams)||void 0===T?void 0:T.ver)||"",pstaid_p:(null===(j=null===(S=t.rapidConfig)||void 0===S?void 0:S.clickParams)||void 0===j?void 0:j.pstaid)||"",continuousPlay:!0===t.continuousPlay?"1":"0",loop:!0===t.loop?"1":"0",preload:!0===t.preload?"1":"0",ccOnMute:!0===t.ccOnMute?"1":"0",startTime:!0===(null===(I=t.playback)||void 0===I?void 0:I.startTime)?"1":"0",videoRecommendations:!0===t.videoRecommendations?"1":"0",disadf:!0===(null===(R=null===(M=null===(N=t.pluginConfigs)||void 0===N?void 0:N[h.Plugin.PluginType.SOURCE_METADATA])||void 0===M?void 0:M[h.MediaItemInterfaces.MediaItemMimeType.SAPI])||void 0===R?void 0:R.disableAdFetch)?"1":"0",dopl:(null===(L=null===(k=null===(D=t.ui)||void 0===D?void 0:D.docking)||void 0===k?void 0:k.position)||void 0===L?void 0:L.left)||"",dopr:(null===(x=null===(P=null===(C=t.ui)||void 0===C?void 0:C.docking)||void 0===P?void 0:P.position)||void 0===x?void 0:x.right)||"",dopt:(null===(B=null===(V=null===(U=t.ui)||void 0===U?void 0:U.docking)||void 0===V?void 0:V.position)||void 0===B?void 0:B.top)||"",dopb:(null===(H=null===(z=null===(F=t.ui)||void 0===F?void 0:F.docking)||void 0===z?void 0:z.position)||void 0===H?void 0:H.bottom)||"",doth:(null===(Y=null===(G=t.ui)||void 0===G?void 0:G.docking)||void 0===Y?void 0:Y.threshold)||"",dow:(null===(W=null===(q=t.ui)||void 0===q?void 0:q.docking)||void 0===W?void 0:W.width)||"",doh:(null===(Z=null===(X=t.ui)||void 0===X?void 0:X.docking)||void 0===Z?void 0:Z.height)||"",t:Math.random(),ts:Date.now()-Q[1]};i.sendGenericBeacon(tt)},i.sendInterventionReports=function(t,i){for(var n,s,e,f,l,v,d,p,m,b,y,g,w,E,O,A,_,T,S,j,I,N,M,R,D,k,L,C,P,x,U,V,B,F,z,H,G,Y,q,W,X,Z,Q,J,K,$={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"error",ecode:a.errorCodes.E_AD_CLIENT+"-"+a.errorCodes.AD_CLIENT_CODES.E_INTERVENTION_FROM_PLAYER_FRAME,estring:"",s:i.pageSpaceId||i.rapidConfig&&i.rapidConfig.Spaceid||"1197809794",expn:i.expName||"",host:document.location.host||"",pver:"8.2.168",pls:i.playerId||"",site:i.site||"",lang:i.lang||"",region:i.region||"",snd:!0===i.mute?"m":"um",endscreen:!0===(null===(s=null===(n=i.ui)||void 0===n?void 0:n.endScreen)||void 0===s?void 0:s.show)?"1":"0",jsdt:u.default.getJSDownloadTime(),pgltcy:u.default.getPageLatency(),psz:i.width&&i.height?i.width+"x"+i.height:"",ccode:(null===(e=i.metrics)||void 0===e?void 0:e.ccode)||"",cpos:(null===(f=i.metrics)||void 0===f?void 0:f.cpos)||"",sec:(null===(v=null===(l=i.rapidConfig)||void 0===l?void 0:l.clickParams)||void 0===v?void 0:v.sec)||(null===(d=i.metrics)||void 0===d?void 0:d.sec)||"",pl_type:u.default.getPlaylistType(null===(p=i.ui)||void 0===p?void 0:p.playlist),pl_uuid:(null===(m=i.playlist)||void 0===m?void 0:m.id)||"",deos:!0===(null===(y=null===(b=i.ui)||void 0===b?void 0:b.docking)||void 0===y?void 0:y.enableOnScrollDown)?"1":"0",deom:!0===(null===(w=null===(g=i.ui)||void 0===g?void 0:g.docking)||void 0===w?void 0:w.enableOnMuted)?"1":"0",pt:(null===(O=null===(E=i.rapidConfig)||void 0===E?void 0:E.pageParams)||void 0===O?void 0:O.pt)||"",pd:(null===(_=null===(A=i.rapidConfig)||void 0===A?void 0:A.pageParams)||void 0===_?void 0:_.pd)||"",pct:(null===(S=null===(T=i.rapidConfig)||void 0===T?void 0:T.pageParams)||void 0===S?void 0:S.pct)||"",ver:(null===(I=null===(j=i.rapidConfig)||void 0===j?void 0:j.pageParams)||void 0===I?void 0:I.ver)||"",pstaid_p:(null===(M=null===(N=i.rapidConfig)||void 0===N?void 0:N.clickParams)||void 0===M?void 0:M.pstaid)||"",continuousPlay:!0===i.continuousPlay?"1":"0",loop:!0===i.loop?"1":"0",preload:!0===i.preload?"1":"0",ccOnMute:!0===i.ccOnMute?"1":"0",startTime:!0===(null===(R=i.playback)||void 0===R?void 0:R.startTime)?"1":"0",videoRecommendations:!0===i.videoRecommendations?"1":"0",disadf:!0===(null===(L=null===(k=null===(D=i.pluginConfigs)||void 0===D?void 0:D[h.Plugin.PluginType.SOURCE_METADATA])||void 0===k?void 0:k[h.MediaItemInterfaces.MediaItemMimeType.SAPI])||void 0===L?void 0:L.disableAdFetch)?"1":"0",dopl:(null===(x=null===(P=null===(C=i.ui)||void 0===C?void 0:C.docking)||void 0===P?void 0:P.position)||void 0===x?void 0:x.left)||"",dopr:(null===(B=null===(V=null===(U=i.ui)||void 0===U?void 0:U.docking)||void 0===V?void 0:V.position)||void 0===B?void 0:B.right)||"",dopt:(null===(H=null===(z=null===(F=i.ui)||void 0===F?void 0:F.docking)||void 0===z?void 0:z.position)||void 0===H?void 0:H.top)||"",dopb:(null===(q=null===(Y=null===(G=i.ui)||void 0===G?void 0:G.docking)||void 0===Y?void 0:Y.position)||void 0===q?void 0:q.bottom)||"",doth:(null===(X=null===(W=i.ui)||void 0===W?void 0:W.docking)||void 0===X?void 0:X.threshold)||"",dow:(null===(Q=null===(Z=i.ui)||void 0===Z?void 0:Z.docking)||void 0===Q?void 0:Q.width)||"",doh:(null===(K=null===(J=i.ui)||void 0===J?void 0:J.docking)||void 0===K?void 0:K.height)||"",t:Math.random()},tt=0,it=t;tt<it.length;tt++){var nt=it[tt];$.estring=JSON.stringify(nt),$.evt=/A\sfuture\sversion/.test(nt.body.message)?"warn":"error";var st=c+"?"+r.encode($,"&","=");st=st.replace(/[!'()]/g,escape).replace(/\*/g,"%2A"),"HeavyAdIntervention"===nt.body.id&&navigator.sendBeacon(st,JSON.stringify(nt))}},i}(h.Analytics.VdmsAnalytics);i.default=f},Q534:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("U3HQ");!function(t){t.PIXEL="px",t.PERCENTAGE="%"}(s=i.DimensionUnit||(i.DimensionUnit={}));var r=function(){function t(t){if(this.aY=null,this.cY=null,this.fY=null,this.lY=null,this.vY=null,this.dY=null,!t)throw Error("ViewElement: bound element is null");this._node=t}return t.get=function(i,n){return new t(n?n.querySelector(i):document.querySelector(i))},t.build=function(i,n,s){var e=document.createElement("div");return e.innerHTML=i.render(n,s),new t(e.children[0])},t.prototype.destroy=function(){this.aY&&this.aY.destroy(),this.removeDragEvents(),this.removeScrollEvents()},Object.defineProperty(t.prototype,"node",{get:function(){return this._node},enumerable:!0,configurable:!0}),t.prototype.getClientSize=function(){return{width:this._node.clientWidth,height:this._node.clientHeight}},t.prototype.appendChild=function(t){return t&&this._node.appendChild(t),this},t.prototype.removeChild=function(t){if(t)try{this._node.removeChild(t)}catch(t){}return this},t.prototype.removeFromParent=function(){var t=this._node;return t.parentNode&&t.parentNode.removeChild(t),this},t.prototype.getParent=function(){var i=this._node.parentElement;return i?new t(i):null},t.prototype.appendView=function(t){return t&&t.node&&this._node.appendChild(t.node),this},t.prototype.removeView=function(t){return t&&t.node&&this._node.removeChild(t.node),this},t.prototype.insertBefore=function(t,i){return i?this._node.insertBefore(t,i):this.appendChild(t),this},t.prototype.add=function(){for(var t=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return i.forEach((function(i){t._node.classList.add(i)})),this},t.prototype.remove=function(){for(var t=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return i.forEach((function(i){t._node.classList.remove(i)})),this},t.prototype.addOrRemove=function(t,i){return i?this.add(t):this.remove(t),this},t.prototype.setDisplay=function(t){return this._node.style.display=t,this},t.prototype.select=function(i){var n=this._node.querySelector(i);return n?new t(n):null},Object.defineProperty(t.prototype,"innerHTML",{get:function(){return this._node.innerHTML},set:function(t){this._node.innerHTML=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerText",{get:function(){return this._node.innerText},set:function(t){this._node.innerText=t},enumerable:!0,configurable:!0}),t.prototype.onTap=function(t){return this.aY=new e.default(this._node,t),this},t.prototype.onDrag=function(t,i,n){return this.cY=t,this.fY=i,this.lY=n,this.pY(["mousedown","touchstart"],t),this.pY(["mousemove","touchmove"],i),this.pY(["mouseup","touchend"],n),this},t.prototype.removeDragEvents=function(){return this.mY(["mousedown","touchstart"],this.cY),this.mY(["mousemove","touchmove"],this.fY),this.mY(["mouseup","touchend"],this.lY),this.cY=null,this.fY=null,this.lY=null,this},t.prototype.onScroll=function(t,i){return this.vY=t,this.dY=i,this.pY(["mouseenter","touchstart"],t),this.pY(["mousemove","touchmove"],t),this.pY(["mouseleave","touchend"],i),this},t.prototype.removeScrollEvents=function(){return this.mY(["mouseenter","touchstart"],this.vY),this.mY(["mousemove","touchmove"],this.vY),this.mY(["mouseleave","touchend"],this.dY),this.vY=null,this.dY=null,this},t.prototype.contains=function(t){return this._node.classList.contains(t)},t.prototype.addEventListener=function(t,i,n){return this._node.addEventListener(t,i,n),this},t.prototype.removeEventListener=function(t,i,n){return this._node.removeEventListener(t,i,n),this},t.prototype.getBoundingClientRect=function(){return this._node.getBoundingClientRect()},t.prototype.setPosition=function(t,i,n,e,r){void 0===r&&(r=s.PIXEL);var h=this._node.style;return t>-1&&(h.top=t+r),i>-1&&(h.bottom=i+r),n>-1&&(h.right=n+r),e>-1&&(h.left=e+r),this},t.prototype.clearPosition=function(){var t=this._node.style;return t.top="",t.bottom="",t.left="",t.right="",this},t.prototype.setSize=function(t,i){return this.setAttribute("width",t).setAttribute("height",i)},t.prototype.setStyleSize=function(t,i,n){void 0===n&&(n=s.PIXEL);var e=this._node.style;return t>-1?e.width=t+n:""===t&&(e.width=""),i>-1?e.height=i+n:""===i&&(e.height=""),this},t.prototype.translate3d=function(t,i,n){return void 0===n&&(n=0),this.setStyleAttr("transform","translate3d("+t+"px, "+i+"px, "+n+"px)"),this},Object.defineProperty(t.prototype,"position",{set:function(t){this.setStyleAttr("position",t)},enumerable:!0,configurable:!0}),t.prototype.setStyleAttr=function(t,i){return this._node.style[t]=i,this},t.prototype.setAttribute=function(t,i){return this._node.setAttribute(t,i),this},t.prototype.show=function(){return this.remove("vp-hide")},t.prototype.hide=function(){return this.add("vp-hide")},t.prototype.enable=function(){return this.remove("vp-disable")},t.prototype.disable=function(){return this.add("vp-disable")},t.prototype.ariaLabel=function(t){return this._node.setAttribute("aria-label",t),this},t.prototype.pY=function(t,i){var n=this;t.forEach((function(t){n.addEventListener(t,i)}))},t.prototype.mY=function(t,i){var n=this;t.forEach((function(t){i&&n.removeEventListener(t,i)}))},t}();i.default=r},QPjr: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},QX5s: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("hq3Z"),o=n("P2OX");!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.hE=i,n.bY=null,n.yY="hidden",n.gY=null,n.bY=n.wY(),n.bY&&(n.EY=n.EY.bind(n),document.addEventListener(n.bY,n.EY,!1)),n}return e(i,t),i.prototype.destroy=function(){this.bY&&(document.removeEventListener(this.bY,this.EY,!1),this.bY=null)},i.prototype.isPlayerVisible=function(){var t=this.OY();return!(document[this.yY]||t&&null===t.offsetParent||!1)},i.prototype.wY=function(){var t=u.filter((function(t){return t.prop in document})),i=t&&t[0];return i?(this.yY=i.prop,i.name):null},i.prototype.OY=function(){if(this.gY)return this.gY;var t=this.hE.playerRootElement,i=t&&void 0!==t.getElementsByClassName&&t.getElementsByClassName(o.VIDEO_MAIN_ELEMENT_CLASS);return this.gY=i&&i.length&&i[0]||null,this.gY},i.prototype.EY=function(){this.publish(r.PAGE_VISIBILITY_CHANGED,this.isPlayerVisible())},i}(h.default);i.default=a},Qn5d: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("wqBe"),r=n("ablw"),h=function(){function t(t){this.startTime=Date.now(),this.AY=[],this.cO=t,this.VI={},this.gO()}return t.prototype.getItem=function(t){var i=this._Y(t);return i>-1?this.AY[i]:null},t.prototype.destroy=function(){this.cO.removeEventListeners(this.VI)},t.prototype._Y=function(t){for(var i=0;i<this.AY.length;i++){var n=this.AY[i];if(t.type===n.type)return i}return-1},t.prototype.gO=function(){var t=this;this.VI[e.PROFILE_START]=this.cO.addEventListener(e.PROFILE_START,(function(i){void 0===i&&(i=[]),(i=r.isArray(i)?i:[i]).forEach((function(i){t.TY(i)}))}),this),this.VI[e.PROFILE_END]=this.cO.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.SY.apply(t,s([i],n))}))}),this)},t.prototype.TY=function(t){var i=this._Y(t);i>-1&&this.AY.splice(i,1),this.AY.push({type:t.type,startTime:Date.now()-this.startTime,endTime:void 0})},t.prototype.SY=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},R2ab: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}),i.WebSocketSynchronizer=i.ClientSynchronizer=i.SynchStrategy=i.SynchronizerEvents=void 0;var r,h=n("mfRI");!function(t){t.IN_SYNCH="inSynch",t.SEEK="synchSeek",t.PAUSE="synchPause",t.RATE_CHANGE="synchRateChange",t.INVALID_OFFSET="synchInvalidOffset",t.DRIFTING="synchDrifting",t.ERROR="synchError"}(r=i.SynchronizerEvents||(i.SynchronizerEvents={}));var o;!function(t){t.RATE_CHANGE="rateChange",t.PAUSE="pause",t.SEEK="seek"}(o=i.SynchStrategy||(i.SynchStrategy={}));var u=function(t){function i(i){var n=t.call(this,"Synchronizer")||this;return n.hE=i,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"syncOffset",{get:function(){return NaN},enumerable:!1,configurable:!0}),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i}(h.default);i.default=u;var a=function(t){function i(i){var n=t.call(this,i)||this;return n.jY=NaN,n.IY=NaN,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"syncOffset",{get:function(){return this.jY},enumerable:!1,configurable:!0}),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.synch=function(t){if(!(t<0)){var i=this.hE.getCurrentFramePdt(t),n=Date.now()-(i+this.hE.getClockOffset(i)),s=this.hE.config.synchPoint;if(this.jY=s-n,this.NY(this.jY))return this.IY=NaN,void this.publish(r.DRIFTING);this.IY=this.jY;var e={syncMode:"client",targetLatency:s,liveLatency:n,syncSource:"sapi",targetPosition:t-this.jY/1e3,syncDuration:0,playbackRate:1,synchOffset:this.jY};if(Math.abs(this.jY)<this.hE.config.synchThreshold)this.publish(r.IN_SYNCH);else if(isNaN(this.jY))this.publish(r.INVALID_OFFSET);else{if(-this.syncOffset>1e4)return e.strategy=o.SEEK,void this.publish(r.SEEK,e);var h=this.jY>0?.8:1.2;e.playbackRate=h,this.jY>0&&this.hE.config.pauseOnAhead?(e.syncDuration=this.jY,e.playbackRate=0,e.strategy=o.PAUSE,this.publish(r.PAUSE,e)):(e.strategy=o.RATE_CHANGE,e.syncDuration=this.jY/.2,this.publish(r.RATE_CHANGE,e))}}},i.prototype.NY=function(t){return Math.abs(t)>this.hE.config.synchThreshold&&Math.abs(this.IY)>this.hE.config.synchThreshold&&Math.abs(this.IY)<Math.abs(t)},i}(u);i.ClientSynchronizer=a;var c=function(t){function i(i){var n=t.call(this,i)||this;return n.jY=NaN,n}return e(i,t),i.canUse=function(){return!1},Object.defineProperty(i.prototype,"syncOffset",{get:function(){return this.jY},enumerable:!1,configurable:!0}),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.synch=function(t){},i}(u);i.WebSocketSynchronizer=c},R9ZO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.COMSCORE_IAB_VENDOR_ID=void 0;var s=n("g6Is"),e=n("rBpt"),r=n("c+yx"),h=n("AuZZ");i.COMSCORE_IAB_VENDOR_ID=77;var o=function(){function t(t,i){this.jN=t,this.MS=i,this.MY="",this.gdpr=null,this.gdpr_consent=null,this.RY=!1,t&&i&&(e.Privacy.initIframeForGDPR(),this.VU(),this.DY={},this.kY())}return t.prototype.destroy=function(){this.DY=null},t.prototype.a_=function(){this.jN.addEventListener(s.Events.PLAYBACK_START,this.LY,this),this.jN.addEventListener(s.Events.PLAYBACK_RESUMED,this.CY,this),this.jN.addEventListener(s.Events.PLAYBACK_COMPLETE,this.PY,this),this.jN.addEventListener(s.Events.PLAYBACK_STOPPED,this.PY,this),this.jN.addEventListener(s.Events.PLAYBACK_STALLED,this.PY,this),this.jN.addEventListener(s.Events.PLAYBACK_BLOCKED,this.PY,this),this.jN.addEventListener(s.Events.PLAYBACK_PAUSE,this.xY,this),this.jN.addEventListener(s.Events.AD_BREAK_ITEM_PLAYBACK_STARTED,this.UY,this),this.jN.addEventListener(s.Events.AD_BREAK_ITEM_ENDED,this.VY,this)},t.prototype.kY=function(){var t,i=this,n="local"===this.jN.version?"/comscore-6.3.5.min.js":"https://assets.video.yahoo.net/oath/builds/"+this.jN.version+"/comscore-6.3.5.min.js";if(null===(t=window.ns_)||void 0===t?void 0:t.ReducedRequirementsStreamingAnalytics)this.BY();else{r.default.lazyLoad(n,(function(t){var n;t&&(null===(n=window.ns_)||void 0===n?void 0:n.ReducedRequirementsStreamingAnalytics)&&i.BY()}))}},t.prototype.BY=function(){this.DY=new window.ns_.ReducedRequirementsStreamingAnalytics({publisherId:"27061346"}),this.a_()},t.prototype.LY=function(t){var i,n,s;if("video"===(null==t?void 0:t.playbackMode)){var e=null===(n=null===(i=window.ns_)||void 0===i?void 0:i.ReducedRequirementsStreamingAnalytics)||void 0===n?void 0:n.ContentType,r=this.FY(t,"meta"),o=this.FY(t,"license"),u=this.FY(t,"metrics"),a=t.videoLength,c="";if(c="na"!==a&&a>600?null==e?void 0:e.LongFormOnDemand:null==e?void 0:e.ShortFormOnDemand,t.isLive){var f=r.eventStart,l=r.eventEnd;a=""!==f&&""!==l?l-f:null,c=null==e?void 0:e.Live}var v={ns_st_ci:t.videoId,ns_st_cl:a&&"na"!==a?1e3*a:h.NUMBER_DEFAULT,ns_st_pr:(null==t?void 0:t.title)||h.NULL_DEFAULT,ns_st_ep:r.showName||o.title||h.NULL_DEFAULT,ns_st_ge:(null===(s=r.genre)||void 0===s?void 0:s.split(",")[0])||h.NULL_DEFAULT,ns_st_pu:"Yahoo",ns_st_sn:h.NULL_DEFAULT,ns_st_en:h.NULL_DEFAULT,ns_st_ia:0,ns_st_ddt:h.NULL_DEFAULT,ns_st_tdt:h.NULL_DEFAULT,ns_st_st:"Yahoo",ns_st_ce:0,c3:"yahoo",c4:t.comscoreC4||h.NULL_DEFAULT,c5:u.comscoreCM5||h.NULL_DEFAULT,c6:u.comscore6||h.NULL_DEFAULT,ca2:this.zY(t,"CA2"),ca3:"yahoo",ca4:t.comscoreC4||h.NULL_DEFAULT,ca5:u.comscoreCM5||h.NULL_DEFAULT,ca6:u.comscore6||h.NULL_DEFAULT},d=Object.assign({},v,this.HY());this.DY.playVideoContentPart(d,c)}},t.prototype.UY=function(t,i){var n,s;this.GY=t;var e=null===(s=null===(n=window.ns_)||void 0===n?void 0:n.ReducedRequirementsStreamingAnalytics)||void 0===s?void 0:s.AdType,r=t.adBreak.type,o=t.duration?1e3*t.duration:h.NUMBER_DEFAULT,u="";u=i.isLive?null==e?void 0:e.LinearLive:"postroll"===r?null==e?void 0:e.LinearOnDemandPostRoll:"midroll"===r?null==e?void 0:e.LinearOnDemandMidRoll:null==e?void 0:e.LinearOnDemandPreRoll;var a={ns_st_cl:o,ca2:this.zY(i,"CA2")},c=Object.assign({},a,this.HY());this.DY.playVideoAdvertisement(c,u),this.RY=!0},t.prototype.PY=function(t){"video"===(null==t?void 0:t.playbackMode)&&this.DY.stop()},t.prototype.VY=function(t,i){!0===this.RY&&(this.DY.stop(),this.RY=!1,this.GY=null)},t.prototype.CY=function(t,i){t&&i&&("video"===i.playbackMode&&this.LY(i),"ad"===i.playbackMode&&"background"===i.requestAction&&this.UY(this.GY,i))},t.prototype.xY=function(t){"video"===(null==t?void 0:t.playbackMode)&&this.PY(t),"ad"===(null==t?void 0:t.playbackMode)&&"background"===(null==t?void 0:t.requestAction)&&this.DY.stop()},t.prototype.HY=function(){return{cs_ucfr:this.MY,gdpr:this.gdpr,gdpr_consent:this.gdpr_consent}},t.prototype.zY=function(t,i){var n,s,e,r,o=null===(s=null===(n=null==t?void 0:t.customConfig)||void 0===n?void 0:n.metrics)||void 0===s?void 0:s.beacons;if((null==o?void 0:o.length)>0){var u=o.filter((function(t){return"cs"===t.target}));if(null===(e=u[0])||void 0===e?void 0:e.data)u[0].data.split("&").forEach((function(t){-1!==t.indexOf(i)&&(r=t.split("=")[1])}))}return r||h.NULL_DEFAULT},t.prototype.FY=function(t,i){var n={};return t&&t[i]?n=t[i]:(null==t?void 0:t.customConfig)&&t.customConfig[i]&&(n=t.customConfig[i]),n},t.prototype.VU=function(){var t=this;e.Privacy.getUSPDoNotSell((function(i,n){n&&(t.MY=i.doNotSell?"0":"1")})),void 0!==window.__tcfapi?window.__tcfapi("getTCData",2,(function(i,n){n?(null==i?void 0:i.gdprApplies)&&i.tcString&&(t.gdpr=1,t.gdpr_consent=i.tcString):t.YY()})):this.YY()},t.prototype.YY=function(){var t=this;e.Privacy.getVendorConsentFromV1(i.COMSCORE_IAB_VENDOR_ID,(function(i,n){if(n){var s=null==i?void 0:i.gdprApplies;"0"!==t.MY&&s&&(t.MY=!0===i.hasConsent?"1":"0")}}))},t}();i.default=o},Rsv0: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("rVi6"),o=n("Thcf"),u=n("wqBe"),a=n("wqBe"),c=n("xPTa"),f=n("Na72"),l=n("KSE8"),v=n("Fry/"),d=n("j/Iz"),p=n("PssQ"),m=n("ablw"),b=n("yf6s"),y=n("r5Jr"),g=n("SAAw"),w=[1,5],E=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.qY=s.capabilities[c.RendererType.HTML5_RAW],e.WY(),(r.userAgent.desktop||r.userAgent.mobile&&v.default.hasNativeAutoplaySupport)&&(e.XY=!0),e.ZY=new g.default,e.ZY.on(g.RebufferingEvent.WAITING,e.kL,e),e.ZY.on(g.RebufferingEvent.SEG_INFO_AVAILABLE,e.eV,e),e}return e(i,t),i.canUse=function(){return!r.userAgent.tv},i.prototype.destroy=function(){this.QY&&this.QY.destroy(),t.prototype.destroy.call(this)},i.prototype.play=function(t){if(void 0===t&&(t=0),this.ended=!1,this.node){if(this.eG)return this.publish(c.RendererEvent.ERROR,this.eG),void(this.eG=null);if(this.JY){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.lT(),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.JY=!1,this.cO.publish(a.PROFILE_START,u.METRICS.STREAM_PLAY_TO_RENDER),this.KY(),this.$Y||(this.ZY.publishWaitingEvent(!0),this.$Y=!0)}},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i,n){void 0===i&&(i=0),void 0===n&&(n=!1),this.WY(),this.dq=b.default.getPlaybackMode(t);var s=t.streams||[],e=!1,h=null;this._q=s,this.tW=s.slice(0),this.ZY.init(this.node,n),(r.userAgent.safari>=6||r.userAgent.tv)&&s.forEach((function(t){t.format&&t.format.indexOf("m3u8")>-1&&(t.isPrimary||t.is_primary||!h)&&(h=t,e=!0)}));var o=[];if(e){if(h)return this.iW(h,i),this.vH=t,!0}else{s.forEach((function(t){o.push(parseInt(t.videoMetadata.bitrate+"",10))})),o=o.sort(),this.nW=new l.default(this.node,o);var u=this.nW.getTargetBitrate();if(h=this.sW(u))return this.iW(h,i),this.eW(h),this.hE.mp4Abr&&o.length>1&&(this.rW=this.on(c.RendererEvent.TIMEUPDATE,this.oP,this),this.hW=0),this.vH=t,!0}return!1},i.prototype.setQuality=function(t){this.oW(t.stream.url),this.eW(t.stream)},i.prototype.retryStreams=function(t){var i=this,n=this.rI;if(n&&this.uW<=2)window.setTimeout((function(){i.aW(n,t)}),1e3*w[this.uW-1]);else{this.uW=0;var s=this.tW.indexOf(n);if(this.tW.splice(s,1),0===this.tW.length)return n;var e=p.default.findStreamByProperty(this.tW,p.default.BITRATE,this.nW.getTargetBitrate(),this.qY);this.aW(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.cO.publish(a.LIVE_RELOAD_MEDIA)},i.prototype.getSyncOffset=function(){return NaN},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.cW=function(t,i){var n=this;if(this.node)switch(t===c.NativeVideoEvent.PLAYING&&this.cO.publish(a.PROFILE_END,[u.METRICS.STREAM_PLAY_TO_RENDER,u.METRICS.STREAM_REQUEST_TO_RENDER]),t){case c.NativeVideoEvent.TIMEUPDATE:this.ZY.playbackStuck||(this.fW||(this.fW=!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.lW&&r.userAgent.chrome<33&&s>1&&s<2)(d=this.lT())&&d.isLive()?(this.node.pause(),this.KY()):this.seek(0),this.lW=!0;!this.vW&&r.userAgent.androidVersion<=4.4&&this.node.addEventListener("webkitfullscreenchange",(function(){if(n.node){var t=n.node.currentTime;n.vW=!0,n.node.load();var i=n.on(c.RendererEvent.LOADEDMETADATA,(function(){if(n.node){n.KY();var s=n.lT();s&&s.isLive()&&(n.node.currentTime=parseInt(t+"",10)),n.removeEventListener(c.RendererEvent.LOADEDMETADATA,i)}}),n)}}),!1)}this.dW||this.ZY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.pW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKING:this.seeking=!0,this.ZY.onSeeking(),this.dW||this.ZY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.pW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKED:this.dW?this.mW():this.ZY.playbackStuck||(this.seeking=!1,this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered})),this.pW=this.node.currentTime;break;case c.NativeVideoEvent.ERROR:var e=this.node.error,h=this.bW(e),f=this.tW.length<=1&&this.uW>=2,l=o.E_WARNING;f&&(l=o.E_PLAYER);var v=b.default.createErr(o.ErrorGroup.Streaming,this.sO,l,h,null,this.node.src);if(this.dq!==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.uW++,f||this.cO.publish(a.WARNING,v);var d,p=null;return(p=(d=this.lT())&&!d.isLive()?this.retryStreams(this.pW):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.lW=!1,this.ZY.onEnded(),this.ZY.playbackStuck&&this.ZY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.LOADEDDATA:if(this.dW){this.yW();break}this.cO.publish(a.PROFILE_END,u.METRICS.LOAD_TO_LOADED_DATA),this.publish(i),this.node.audioTracks&&this.node.audioTracks.length>1&&this.gW();break;case c.NativeVideoEvent.PAUSE:if(this.ended||this.node.ended)break;if(this.seeking)break;if(!this.node.paused)break;this.ZY.playbackStuck&&this.ZY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.PLAY:case c.NativeVideoEvent.PLAYING:if(this.dW){t===c.NativeVideoEvent.PLAYING&&this.wW();break}this.ZY.playbackStuck||(this.fW=t===c.NativeVideoEvent.PLAYING,this.publish(i));break;case c.NativeVideoEvent.WAITING:case c.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.EW=function(t,i){return t.indexOf(i)>-1},i.prototype.OW=function(t,i){return this.EW(t,"mp4")&&this.EW(i,"m3u8")||this.EW(t,"m3u8")&&this.EW(i,"mp4")},i.prototype.WY=function(){this.dW=!1,this.AW="",this.rI=null,this.uW=0,this.tW=[],this._W=null,this.$Y=!1,this.pW=0,this.fW=!1,this.vH=null,this.dq=c.PlaybackMode.VIDEO,this.lW=!1,this.vW=!1,this.hW=0,this.rW&&(this.removeEventListener(c.RendererEvent.TIMEUPDATE,this.rW),this.rW=null),this.seeking=!1,this.ended=!1},i.prototype.TW=function(){var t=null;if(this._q)for(var i=0,n=this._q;i<n.length;i++){var s=n[i];if(s.isPrimary){t=s;break}}return t},i.prototype.sW=function(t){var i=this.TW();return i||(i=p.default.findStreamByProperty(this._q,"bitrate",t,this.qY)),!i&&this._q&&this._q.length>0&&(i=this._q[0]),i},i.prototype.oP=function(t){if(t-this.hW>10){this.hW=t;var i=this.sW(this.nW.getRecommendedBitrate());i&&(this.oW(i.url),this.eW(i))}},i.prototype.eW=function(t){this.nW&&(this.nW.currentBitrate=t.videoMetadata.bitrate),this.cO.publish(a.PLAYBACK_INFO,{currentStreamBitrate:t.videoMetadata.bitrate,qualityLevels:this._q.length})},i.prototype.iW=function(t,i,n){var s=this;if(this.node){var e=this.lT();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.cO.publish(a.INFO,b.default.createErr(o.ErrorGroup.Streaming,this.sO,o.E_INFO,l,null,this.node.src))}if(r.userAgent.safari&&(this.QY?e.isRecovering()&&this.QY.init():this.QY=new h.default(this.node,t.fairplayCertificatePath,this.SW.bind(this),this.reportError.bind(this))),this.ended=!1,this.lW=!1,this.node.src!==t.url||n){if(r.userAgent.iphone&&Object.prototype.hasOwnProperty.call(this.node,"webkitDisplayingFullscreen")&&!this.node.webkitDisplayingFullscreen&&t.format&&this.OW(t.format,this.AW)){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.sO,o.E_INFO,o.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED);return void this.cO.publish(a.INFO,y)}if(this.jW(),this.cO.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.JY=!0,this.AW=t.format||"",this.rI=t,this.dq===c.PlaybackMode.VIDEO&&this.cO.publish(a.PROFILE_START,u.METRICS.LOAD_TO_LOADED_DATA),r.userAgent.mobile?v.default.hasNativeAutoplaySupport&&this.node.load():(this.node.load(),this.hE.getState()===f.States.VIDEO&&this.play())}}},i.prototype.IW=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.yW=function(){this.seek(this.NW)},i.prototype.SW=function(){this.hE.isDrmAvailable=!0,this.hE.drmSystem="fairplay"},i.prototype.mW=function(){if(this.node){this.KY();var t=this.MW.parentNode;t&&t.removeChild(this.MW)}},i.prototype.wW=function(){this.publish(c.CustomRendererEvent.SRC_SWITCHED),this.dW=!1},i.prototype.oW=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.dW=!0,this.node.pause(),this.NW=this.node.currentTime;var e=document.createElement("canvas");this.MW=e,e.className="vp-switching-canvas",e.width=n,e.height=s;var r=this.IW();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.aW=function(t,i){this.iW(t,i,!0),this.eW(t)},i.prototype.gW=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.lT();i&&(i.setMultiLanguages(t),this.cO.publish(a.MULTI_LANGUAGES_AVAILABLE))}},i.prototype.kL=function(t){t.value&&(this.fW=!1),t.ignoreBuffering=t.ignoreBuffering||this.seeking,this.publish(c.RendererEvent.WAITING,t)},i.prototype.eV=function(t){this.cO.publish(a.SEG_INFO_AVAILABLE,t)},i.type=c.RendererType.HTML5_RAW,i}(y.default);i.default=E},Rt7R: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:{}})},Ruv9:function(t,i,n){var s=n("PKsF");s.Template=n("cK6b").Template,s.template=s.Template,t.exports=s},RyId:function(t,i,n){var s=n("LboF"),e=n("n3YQ");"string"==typeof(e=e.__esModule?e.default:e)&&(e=[[t.i,e,""]]);var r={insert:"head",singleton:!1};s(e,r);t.exports=e.locals||{}},S7ET:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("yf6s"),e=n("9wD4"),r=n("H67V"),h=function(){function t(t){for(var i in this.lO=t,this.GL={},this.VI={},e.CmdName)if(Object.prototype.hasOwnProperty.call(e.CmdName,i)){var n=e.CmdName[i];this.GL[n]={}}}return t.prototype.destroy=function(){this.removeAllCommands(),this.GL={}},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.lO)}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.VI[u+t+h.key]=h.addEventListener(u,n[a],n))}return this.GL[t][h.key]=h,h},t.prototype.removeCommand=function(t){if(t){var i=this.GL[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.VI[s+t.cmdName+t.key]),delete this.VI[s+t.cmdName+t.key])}t.destroy()}}},t.prototype.removeRelatedCommands=function(t){if(Object.prototype.hasOwnProperty.call(this.GL,t)){var i=this.GL[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.GL)Object.prototype.hasOwnProperty.call(this.GL,t)&&this.removeRelatedCommands(t)},t.prototype.getCommand=function(t){var i=this.GL[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]},t}();i.default=h},S8wC: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("PssQ"),h=n("ablw"),o=n("yf6s"),u=n("jC8G"),a=n("r/Xn"),c=n("kH2p"),f=n("peh1"),l=n("iDLt"),v=n("i0E3"),d=n("5dhR"),p=n("BNqR"),m=n("pBvk").Validator,b={id:"",mimetype:c.MediaItemMimeType.UPLYNK,metadata:{description:"",duration:0,title:"",thumbnail:"",type:c.MediaItemType.VOD,videoTypes:[],pip:!0,syncPoint:NaN},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.skt="",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.tM=0,r._q=[],r.RW=NaN,r.DW={},r.kW=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.oL},enumerable:!0,configurable:!0}),i.prototype.hasStreams=function(){return 0!==this._q.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},Object.defineProperty(i.prototype,"liveLabel",{get:function(){return this.metadata.liveLabel},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pip",{get:function(){return void 0===this.metadata.pip||this.metadata.pip},enumerable:!0,configurable:!0}),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.LW=n,this.qY=s,this.PW=o.default.deepCopy(t),this.ZE(t),t.source&&t.source.streams&&this.xW(t.source.streams,i,s),t.adBreaks&&this.UW(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.RW},i.prototype.setRawDuration=function(t){this.RW=t},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return this.PW},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,"liveState",{get:function(){return this.metadata.liveState},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.tM},set:function(t){this.tM=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"refPlaybackId",{get:function(){return this.oL+"#"+this.videoSession},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"samplingId",{get:function(){return this.VW},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this._q},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"visualSeekData",{get:function(){return this.BW},set:function(t){this.BW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"brandingData",{get:function(){return this.FW},set:function(t){this.FW=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}),Object.defineProperty(i.prototype,"syncPoint",{get:function(){return this.metadata.syncPoint||b.metadata.syncPoint},enumerable:!0,configurable:!0}),i.prototype.updateAdBreak=function(t,i,n,s){var e=this;void 0===s&&(s=null);var r=null;return t?(this.adBreaks.forEach((function(h,o){t.adBreakId===h.adBreakId&&(r=new u.default(e,t,i,n),s&&(r.error=s),e.adBreaks[o]=r)})),r):null},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,n=[];if(!Array.isArray(t))return n;return t.forEach((function(t){if(e=t.adBreakId,!i.adBreaks.some((function(t){return t.adBreakId===e}))){var s=new u.default(i,t,i.LW,i.qY);i.adBreaks.push(s),n.push(s)}var e})),n},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._q.length>0?this._q[0].cdn:null},i.prototype.hasLiveStreams=function(){for(var t=0,i=this._q;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._q[0].getType():"none"},i.prototype.getStreamProtocol=function(){return this.hasStreams()?this._q[0].streamProtocol:"none"},i.prototype.getSubtitleStreams=function(){return this.altStreams.filter((function(t){return"SUBTITLES"===t.type}))},i.prototype.mayUpdateVideoSession=function(){this.zW||this.HW()},i.prototype.useVideoSession=function(){this.zW=!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.zW=!0,this.VW=this.generateSamplingId()},i.prototype.getAspectRatio=function(){return this._q.length>0?this._q[0].aspectRatio:null},i.prototype.updateCompletedAdBreak=function(t){t&&(this.removeAdBreaks([t]),this.DW[this.videoSession]=this.DW[this.videoSession]||[],this.DW[this.videoSession].push(t))},i.prototype.UW=function(t,i,n){var s=this;this.adBreaks=t.map((function(t){return new u.default(s,t,i,n)}))},i.prototype.ZE=function(t){this.gM(t);var n=o.default.deepCopy(t);n=o.default.mergeObjects(n,b),o.default.mergeObjects(this,n,!0),o.default.mergeObjects(this,this.kW,!0),this.oL=i.createKey(this.id,this.mimetype)},i.prototype.gM=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.xW=function(t,i,n){var s=this;if(t&&t.length){this._q=[];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._q=f;break}}}this._q.length>0&&this._q.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i.prototype.HW=function(){this.updateVideoSession(),this.YW()},i.prototype.YW=function(){this.setSourceState(c.SourceState.NO_DATA)},i}(f.PlayableItem);i.default=y},SAAw: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("hq3Z"),u=n("ToqN"),a=n("6u/y");!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.qW=null,i.WW=0,i.tV=null,i.XW=0,i.reset(),i}return e(i,t),i.prototype.destroy=function(){this.ZW()},i.prototype.init=function(t,i){void 0===i&&(i=!1),t&&(this._node=t,i&&this.onRecoveryStart(),this.reset(),this.QW())},i.prototype.onSeeking=function(){this.JW()},i.prototype.onRecoveryStart=function(){this.KW(),this.$W()},i.prototype.onEnded=function(){this.ZW()},i.prototype.reset=function(){this.wL=!0,this.playbackStuck=!1,this.tX=NaN,this.iX=0,this.nX=null,this.WW=0,this.XW=0,this.tV=null},i.prototype.publishWaitingEvent=function(t){if((!this.playbackStuck||!t)&&(this.playbackStuck||t)){var i={type:"waiting",value:t,ignoreBuffering:this.wL};this.publish(r.WAITING,i),this.playbackStuck=t,t?(this.tX=this._node&&this._node.currentTime||0,this.wL||(this.tV=Date.now())):(this.wL=!1,this.tX=NaN,this.KW())}},i.prototype.QW=function(){this.ZW(),this.qW=new a.default(250),this.qW.on(a.default.TIMER_EVENT,this.sX,this),this.qW.start()},i.prototype.KW=function(){this.tV&&(this.WW+=Date.now()-this.tV,this.tV=null)},i.prototype.sX=function(){this.JW(),this.eX()>5e3&&(this.$W(),this.XW=0)},i.prototype.JW=function(t){if(void 0===t&&(t=!1),this&&this._node){var i=this.rX();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.iX&&!s||this._node.paused?!isNaN(this.tX)&&n>this.tX&&this.publishWaitingEvent(!1):this.playbackStuck||(this.wL=n<=.02,this.publishWaitingEvent(!0)),this.iX=n,this.nX=Date.now()}}else this.ZW()},i.prototype.rX=function(){var t=Date.now();return this.nX=this.nX||t,t-this.nX},i.prototype.eX=function(){var t=Date.now();return this.XW=this.XW||t,t-this.XW},i.prototype.$W=function(){this.publish(r.SEG_INFO_AVAILABLE,{val:[{buf_dur:this.WW}]}),this.WW=0},i.prototype.ZW=function(){this.qW&&(this.qW.destroy(),this.qW=null)},i}(o.default);i.default=c},SGQb:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("BpGj"),r=n("Fry/"),h=n("yf6s"),o=function(){function t(){this.hX=[],this.oX=[],this.uX=null,this.aX=r.default.hasTouchRestrictions,this.cX=1,this.fill()}return t.getPool=function(){return t.fX||(t.fX=new t),t.fX},t.prototype.get=function(){this.hX.length<=2&&this.fill();var t=this.hX.shift();if(t)return e.default.isUnmuteRestrictionRemoved(t)||this.oX.push(t),t.setAttribute("data-vp-ridx",this.cX+""),t.__rendererIndex=this.cX,this.cX++,t},t.prototype.fill=function(){this.lX(10-this.hX.length)},t.prototype.discard=function(t){e.default.cleanupVideoNode(t);var i=this.oX.indexOf(t);-1!==i&&this.oX.splice(i,1)},t.prototype.destroy=function(){this.uX&&this.uX(),this.hX.length=0,this.oX.length=0,this.oX=this.hX=[],this.uX=null},t.prototype.lX=function(t){for(var i=0;i<t;i++){var n=s.userAgent.mobile?e.default.createMobileVideoNode():h.default.createVideoNode();this.hX.push(n)}this.aX&&this.vX()},t.prototype.vX=function(){var t=this;this.uX||(this.uX=e.default.waitForValidUserGestureEvent((function(){t.uX=null,t.oX.forEach(e.default.removeUnmuteRestriction),t.hX.forEach(e.default.removeUnmuteRestriction),t.oX.forEach(e.default.removeTouchToPlayRestriction),t.hX.forEach(e.default.removeTouchToPlayRestriction),t.oX.length=0})))},t}();i.default=o},SY6f: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.s(s.d("config.showThumbnail",t,i,1),t,i,0,118,243,"{{ }}")&&(s.rs(t,i,(function(t,i,s){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)})),t.pop()),s.s(s.d("config.showButton",t,i,1),t,i,0,295,414,"{{ }}")&&(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,575,682,"{{ }}")&&(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,740,836,"{{ }}")&&(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,897,1003,"{{ }}")&&(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:{}})},SgyZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),e=n("gKvh"),r=function(){function t(t){this.position=-1,this.dX=[],this.pX=0,this.nO=t}return t.prototype.destroy=function(){this.dX=[],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.nO.addItem(s);this.contains(r)||(this.dX.push(r),this.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,r))}this.dX.length&&-1===this.position&&(this.position=0)}},t.prototype.addItemAtIndex=function(t,i){if(t&&void 0!==i&&!(i<0)){var n=this.nO.addItem(t);this.contains(n)||(this.dX.splice(i,0,n),this.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,n)),this.dX.length&&-1===this.position&&(this.position=0)}},t.prototype.removeItems=function(t,i){var n=this;this.dX.slice(t,t+i).forEach((function(t){return n.nO.publish(e.MediaStoreEvent.MEDIA_ITEM_REMOVED,t)})),this.dX.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.nO.getByData(t)&&n.push(i.nO.updateItem(t))})),n):n},t.prototype.updateMediaItemsState=function(t,i){var n=this;t&&t.forEach((function(t){n.nO.updateItemState(t,i)}))},t.prototype.updateMediaItemsSourceState=function(t,i){var n=this;t&&t.forEach((function(t){n.nO.updateItemSourceState(t,i)}))},t.prototype.contains=function(t){return this.dX.indexOf(t)>=0},t.prototype.getMediaItemAt=function(t){return t<0||t>=this.dX.length?null:this.nO.get(this.dX[t])},t.prototype.getMediaItemById=function(t){return t?this.nO.getById(t):null},t.prototype.getMediaItemBySessionId=function(t){return t?this.nO.getBySessionId(t):null},t.prototype.getCurrentItem=function(){return this.getMediaItemAt(this.position)},t.prototype.appendItem=function(t){if(t){var i=this.dX.length;return this.dX.push(t.key),i}return-1},t.prototype.getItems=function(){for(var t=[],i=0;i<this.dX.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n)}return t},t.prototype.getItemIds=function(){for(var t=[],i=0;i<this.dX.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.dX;n<s.length;n++){if(0===s[n].indexOf(t))return i;i++}return-1},Object.defineProperty(t.prototype,"size",{get:function(){return this.dX.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.dX.length)return-1;var s=this.position+1;if(n.playlistLoop&&s===this.dX.length)return n.looped=!0,0;if(t){if(s<this.dX.length)return s;if(i&&s===this.dX.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.dX.length-1},Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.mX},set:function(t){this.mX=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistFetchIndex",{get:function(){return this.pX},set:function(t){this.pX=t},enumerable:!0,configurable:!0}),t.prototype.bX=function(t,i){var n=new Error(t);if(!i)throw n;i.push(n)},t}();i.default=r},T2TX: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("hq3Z"),u=n("9wD4"),a=n("Thcf"),c=n("wqBe"),f=n("kH2p"),l=n("ablw"),v=n("yf6s");!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.WS=i,s.hE=n,s.nO=n.mediaStore,s}return e(i,t),i.prototype.destroy=function(){this.WS.removeRelatedCommands(u.CmdName.CMD_METADATA_LOAD),this.WS.removeRelatedCommands(u.CmdName.CMD_SOURCE_METADATA_LOAD),t.prototype.destroy.call(this)},i.prototype.loadItem=function(t){var i=t.rawItemData;this.WS.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.yX()),this)},i.prototype.loadSource=function(t){var i=t.rawItemData;if(t.sourceState!==f.SourceState.FETCHING&&!t.isContainer())if(t.hasSource())this.publish(h.SOURCE_AVAILABLE,t);else{var n=this.MS.getItemPosition(t.id)+1;this.publish(c.PROFILE_START,c.METRICS.CMS_SOURCE_REQUEST),this.WS.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],playlistPosition:n},this.yX()),this)}},i.prototype.recover=function(t){var i=t.rawItemData;this.WS.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],recovering:!0},this.yX()),this)},i.prototype.loadMetadata=function(t){var i,n=this;if((i=t&&t.length?t:this.MS.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.gX(s)&&this.publish(c.PROFILE_START,c.METRICS.CMS_REQUEST),Object.keys(e).forEach((function(t){n.WS.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t,mediaItemDataArr:e[t]},n.yX()),n)}))}},i.prototype.loadMoreItems=function(t,i,n){var s=this.MS.getItems();s&&s.length&&(this.publish(c.PROFILE_START,c.METRICS.CMS_MORE_ITEMS_REQUEST),this.WS.executeCommand(u.CmdName.CMD_MORE_ITEMS_LOAD,{cb:i,mimetype:n||s[0].mimetype,reason:t,start:this.MS.playlistFetchIndex},this))},i.prototype.onSourceMetadataLoadComplete=function(t,i){var n=this;this.publish(c.PROFILE_END,c.METRICS.CMS_SOURCE_REQUEST),this.WS.removeCommand(t),this.MS.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.MS.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.WS.removeCommand(t);var e=v.default.createErr(n.group,this.hE.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.WS.removeCommand(t),this.wX(i),this.gX(i)&&this.publish(c.PROFILE_END,c.METRICS.CMS_REQUEST),this.MS.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.MS.updateMediaItemsState(i,n)},i.prototype.onMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMetadataLoadError=function(t,i){this.WS.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.hE.playbackState,a.E_WARNING,i.subcategory,i.message);this.publish(c.WARNING,n)},i.prototype.onMoreItemsLoadComplete=function(t,i){this.WS.removeCommand(t),this.publish(c.PROFILE_END,c.METRICS.CMS_MORE_ITEMS_REQUEST);var n=this.MS;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.WS.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.hE.playbackState,i.category,i.subcategory,null,i.debugMessage);this.publish(c.INFO,n)},i.prototype.gX=function(t){var i=this.MS.getCurrentItem();return i&&t&&t.length&&t.some((function(t){return t.id===i.id}))},i.prototype.yX=function(){var t=this.hE,i={autoplay:t.autoplay,privacyConsent:t.consent,rendererCapabilities:t.capabilities,rendererTypes:t.rendererTypes,thumbnailDimensions:t.thumbnailDimensions},n=this.MS.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.wX=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,"MS",{get:function(){return this.hE.playlist},enumerable:!0,configurable:!0}),i}(o.default);i.MetadataController=d},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}),i.PLAYER_LOCATION=void 0;var r,h=n("g6Is"),o=n("rBpt"),u=n("c+yx"),a=n("AuZZ");!function(t){t.EMBD_OFF_NET="Emb offNet",t.EMBD_ON_NET="Emb onNet",t.ON_PROP="onProp"}(r=i.PLAYER_LOCATION||(i.PLAYER_LOCATION={}));var c=function(t){function i(i){var n=t.call(this,i)||this;return n.pageLatency="",n.mmActivityId="",n.s="",n._ex=a.HIDE_KEY,n._NOL=a.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=a.VRM_VERSION,n.EX="",n.OX="",n.pl_type="",n.pl_uuid="",n.pl_intr="",n.pl_sec="",n.bckt=u.default.getBckt(),n.loc=n.AX(),n}return e(i,t),i.prototype.update=function(n){t.prototype.update.call(this,n),this.expn=n.experienceName&&n.experienceName.toLowerCase()||this.expn,this.expb=n.experienceBucket||this.expb,this.test=this.expb,this.expt=n.experienceType&&n.experienceType.toLowerCase()||this.expt,this.s=n.pageSpaceId||this.s,this.pt=n.pt||this.pt,this.pd=n.pd||this.pd,this.pct=n.pct||this.pct,this.pstcat=n.pstcat||this.pstcat,this.ver=n.ver||this.ver,this.p_sec=n.p_sec||this.p_sec,this.p_subsec=n.p_subsec||this.p_subsec,this._rid=n._rid||this._rid,this.pstaid_p=n.pstaid_p||this.pstaid_p,this.pkgt=n.pkgt||this.pkgt,this.rlvtscr=n.rlvtscr||this.rlvtscr,this.sec=n.sec||this.sec,this.subsec=n.subsec||this.subsec,this.vidPos=n.vidPos||this.vidPos,this.cpos=n.cpos||this.cpos,this.ccode=n.ccode||this.ccode,this._ex=n.offNetwork?"1":this._ex,this._NOL=n.offNetwork?"1":this._NOL,this.site=n.site&&n.site.toLowerCase()||this.site,this.intl=n.region&&n.region.toLowerCase()||this.intl,this.lang=n.lang&&n.lang.toLowerCase()||this.lang,this.expm=n.experienceName&&"lightbox"===n.experienceName.toLowerCase()?"lightbox":this.expm,this.lms_id=n.license&&n.license.salesforceId||this.lms_id,this.pageLatency=n.pageLatency,this.pltype=u.default.getPlayerType(),this.mmActivityId=n.customConfig&&n.customConfig.metrics&&n.customConfig.metrics.mmActivityId||this.mmActivityId,this.pl_type=i.getPlaylistType(n.playlistUIConfig)||this.pl_type,this.pl_uuid=n.playlistId||this.pl_uuid,this.pl_intr=this._X(n)||this.pl_intr,this.pl_sec=this.TX(n)||this.pl_sec,this.bx=u.default.getCookie("BX")||this.bx,this.ar=n.aspectRatio||this.ar},i.prototype.getCommonParams=function(){var i=this,n=t.prototype.getCommonParams.call(this)||{};return a.PARAMS.forEach((function(t){i[t]!==a.HIDE_KEY&&(n[t]=i[t])})),n},Object.defineProperty(i.prototype,"jsdt",{get:function(){return""===this.OX&&(this.OX=i.getJSDownloadTime()),this.OX},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"cssdt",{get:function(){if(""===this.EX){var t=u.default.getResourceLoadTime(/vdms-video-player\.css$/);this.EX=o.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.EX},enumerable:!1,configurable:!0}),i.getJSDownloadTime=function(){var t,i,n,s,e=null===(s=null===(n=null===(i=null===(t=u.default.getWindow().OATH)||void 0===t?void 0:t.VideoPlatform)||void 0===i?void 0:i.PlayerHosting)||void 0===n?void 0:n.req)||void 0===s?void 0:s.path,r=e&&e.split("/").pop().split("?")[0]||"oath-player.js",h=new RegExp(r),a=u.default.getResourceLoadTime(h);return o.TypeChecker.isNumber(a)?Math.round(a).toString():"na"},i.getPageLatency=function(){var t,i,n,s=u.default.getWindow();return(null===(i=null===(t=s.performance)||void 0===t?void 0:t.timing)||void 0===i?void 0:i.navigationStart)&&(n=(new Date).getTime()-s.performance.timing.navigationStart),n||""},i.getPlaylistType=function(t){var i=!0===(null==t?void 0:t.show)&&(null==t?void 0:t.position);return"right"!==i||(null==t?void 0:t.inStream)?i||a.PLAYLIST_POSITION.NONE:a.PLAYLIST_POSITION.HERO},i.prototype.AX=function(){var t=r.ON_PROP;return u.default.isOffNetwork()?t=r.EMBD_OFF_NET:u.default.isIframe()&&(t=r.EMBD_ON_NET),t},i.prototype._X=function(t){var i,n,s=null===(n=null===(i=null==t?void 0:t.customConfig)||void 0===i?void 0:i.meta)||void 0===n?void 0:n.instrument,e="";return s&&Object.keys(s).length>0&&(e=JSON.stringify(s)),e},i.prototype.TX=function(t){var i,n,s;return(null===(s=null===(n=null===(i=null==t?void 0:t.customConfig)||void 0===i?void 0:i.playlistConfig)||void 0===n?void 0:n.section)||void 0===s?void 0:s.type)||""},i}(h.Analytics.VdmsAnalyticsModel);i.default=c},Thcf:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Na72"),e=n("IWlq"),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 E={};d(E,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_TITLE_SOMETHING_WENT_WRONG),d(E,[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){E[t]||(E[t]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE)}));var O={};O[i.SAPI_CODES.E_UNAUTHORIZED_USER]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE,O[i.SAPI_CODES.E_RESTRICTED_TO_INTERNAL]=e.default.ERR_UNAVAILABLE,d(O,[i.SAPI_CODES.E_INCOMPATIBLE_FORMAT,i.SAPI_CODES.E_NO_STREAMS],e.default.ERR_GENERAL_ERROR),v(i.SAPI_CODES).forEach((function(t){O[t]||(O[t]=e.default.ERR_MISSING_OR_DAMAGED)}));var A={};v(i.WARNING_CODES).forEach((function(t){t!==i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE&&(A[t]=e.default.ERR_TITLE_SOMETHING_WENT_WRONG)})),A[i.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE]=e.default.ERR_TITLE_VIDEO_NOT_AVAILABLE;var _={};_[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&&(_[t]=e.default.ERR_GENERAL_ERROR)}));var T={};T[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE_WIFI]=e.default.ERR_DRM_UNSUPPORTED_NETWORK_WIFI,d(T,[i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_GENERAL_ERROR);var S={};d(S,[i.PLAYER_DRM_CODES.ERR_DRM_UNSUPPORTED_NETWORK_TYPE,i.PLAYER_DRM_CODES.E_CERTPATH_MISSING],e.default.ERR_TITLE_CANNOT_PLAY_VIDEO);var j=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.rL=e,this.group=t,this.phase=this.SX(s),this.category=i,this.subcategory=n,this.jX=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.SX=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=E;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.rL&&(this.rL.android||this.rL.ios))return e.default.ERR_TITLE_SOMETHING_WENT_WRONG;this.category===o||this.category===u?t=b:this.category===i.E_WARNING?t=A:this.category===i.E_INFO?t=p:this.category===i.E_PLAYER_DRM?t=S: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=O;else{if(this.category===o&&-1!==h.indexOf(this.subcategory)&&n&&this.rL&&(this.rL.android||this.rL.ios))return e.default.ERR_LIVE_IOS_PLAYBACK;this.category===o||this.category===u?t=y:this.category===i.E_PLAYER_DRM?t=T:this.category===i.E_WARNING?t=_: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.rL):s,this.jX||s||e.default.ERR_TECH_DIFFICULTIES},enumerable:!0,configurable:!0}),t}();i.default=j},ToqN:function(t,i,n){"use strict";t.exports={userAgent:n("4Qju"),capabilities:n("bAFD")}},U3HQ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),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.IX=!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.IX},t.prototype.handleEvent=function(t){switch(t.type){case"mousedown":if(this.isTouchDevice())return;case"touchstart":this.TY(t);break;case"touchmove":this.NX(t);break;case"mouseup":if(this.isTouchDevice())return;case"touchend":this.SY(t);break;case"touchcancel":this.MX()}},t.prototype.TY=function(t){var i,n="touchstart"===t.type;n&&(this.IX=!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.NX=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.SY=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.MX=function(){this.moved=!1},t}();i.default=r},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},"UJ/s":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])},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.RX=t,this.DX=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.DX.call(s,this.RX)},i.enroll=function(t,i){clearTimeout(t.kX),t.LX=i},i.unenroll=function(t){clearTimeout(t.kX),t.LX=-1},i.CX=i.active=function(t){clearTimeout(t.kX);var i=t.LX;i>=0&&(t.kX=setTimeout((function(){t.kH&&t.kH()}),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"))},UgsC:function(t,i,n){"use strict";t.exports.Fmp4SubtitleStreamer=a,t.exports.Fmp4SubtitleLiveStreamer=c;var s=n("juTp"),e=n("7TGM").Fmp4Streamer,r=n("7TGM").Fmp4LiveStreamer,h=n("lx8G"),o=n("zY0b"),u=n("9m1L").HLSEvent;function a(t){e.call(this,t),this.GS()}function c(t){r.call(this,t),this.GS()}s.inherits(a,e),s.inherits(c,r),a.prototype.destroy=function(){this.IV=null,this.$N="",e.prototype.destroy.call(this)},c.prototype.destroy=function(){this.IV=null,this.$N="",r.prototype.destroy.call(this)},c.prototype.GS=a.prototype.GS=function(){this.RN="subtitle",this.IV=new h,this.PX()},c.prototype.GN=a.prototype.GN=function(t){this.PX(),e.prototype.GN.call(this,t)},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i){var n=this,s=n.rI;if(i&&s&&s.timescale){var e=i.stream;if((!e||s.equals(e))&&"firstByte"!==i.position){var r=n.IV.extractVttCaptions(i.data);if(r.length){var h=n.IV.parse(i.data,"trun"),o=h?h.sampleData:[];if(o.length===r.length){var u=n.IV.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.xX(t.cueTime)+a,u=null!==h?h+r:c+r;n.$N+="\n"+n.UX(h)+" --\x3e "+n.UX(u),n.$N+="\n"+t.cueText+"\n"}c+=r})),n.$N+="\n"}}}}},c.prototype.onSegmentLoadComplete=a.prototype.onSegmentLoadComplete=function(t,i){var n=this.rI;if(n){var s=n.getSegmentfromSeqNum(this.zN);s&&this.__controller.sendEvent(u.VTT_SEGMENT_LOADED,this.zL(s))}this.QS.onSegmentLoadComplete.call(this,t,i),this.$N=""},c.prototype.PX=a.prototype.PX=function(){this.$N="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n"},c.prototype.xX=a.prototype.xX=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.UX=a.prototype.UX=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.zL=a.prototype.zL=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.$N,i.offset=0,i.adjustedTime=0),i},c.prototype.cI=a.prototype.cI=function(){},c.prototype.FN=a.prototype.FN=function(t){this.rI.activeInitSegment=t},c.prototype.VN=a.prototype.VN=function(){}},VVuu:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Q534"),e=function(){function t(t){this.MW=new s.default(document.createElement("canvas")),this.VX=this.MW.node.getContext("2d"),this.MW.setSize("80","80").add("vp-360-pie"),t.appendChild(this.MW.node),this.BX=1,this.FX()}return t.prototype.addClickListener=function(t){this.bH=function(i){i.preventDefault(),i.stopPropagation(),t&&t()},this.zX=function(t){t.preventDefault(),t.stopPropagation()},this.MW.addEventListener("click",this.bH,!1).addEventListener("mousedown",this.zX,!1).addEventListener("mouseup",this.zX,!1)},t.prototype.update=function(t){var i=t%360;i<0&&(i=360+i),i*=-1,this.BX=i/90+Math.PI/4-3.79,this.FX()},t.prototype.destroy=function(){this.MW.removeEventListener("click",this.bH,!1).removeEventListener("mousedown",this.zX,!1).removeEventListener("mouseup",this.zX,!1).removeFromParent().destroy()},t.prototype.FX=function(){var t=this.VX;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.BX;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=e},VXyT:function(t,i,n){"use strict";t.exports=e;var s=n("e26t");function e(){this.HX={}}e.prototype.destroy=function(){var t=this;Object.keys(t.HX).forEach((function(i){var n=t.HX[i];n&&n.destroy()})),t.HX={}},e.prototype.add=function(t){if(!t||!t.url)return null;var i=this.GX(t);return this.HX[i]||(this.HX[i]=new s({name:"init",url:t.url,range:t.range})),this.HX[i]},e.prototype.remove=function(t){if(t&&t.url){var i=this.GX(t);(t=this.HX[i])&&(t.destroy(),delete this.HX[i])}},e.prototype.get=function(t){if(!t||!t.url)return null;var i=this.GX(t);return this.HX[i]},e.prototype.getFirst=function(){var t=Object.keys(this.HX);return t&&t.length?this.HX[t[0]]:null},e.prototype.GX=function(t){var i=t.range,n=i?"_"+i.start+"_"+i.end:"";return t.url+n}},Vj4b: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:{}})},Vqcw: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"},showThumbnail:{type:"boolean"}}},seekControls:{type:"object",properties:{show:{type:"boolean"},offset:{type:"number",maximum:99,minimum:0}}},sliderColor:{type:"string"},title:{type:"object",properties:{showOnHover:{type:"boolean"},showOnStart:{type:"string"}}}}}},"W+mt":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.OathPlayerFactory=void 0;var s=n("9rUw"),e=n("tA/Z");i.OathPlayerFactory=function(t,i){var n=(null==t?void 0:t.iframeRender)||!1;return(null==t?void 0:t.insideIframeConfig)||!1||!n?new s.default(t,i):new e.default(t)}},WQNt:function(t,i){},WYoP: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}}},Wf6Z:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.cmsSchema=void 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"}}}},WiTR:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e=n("ToqN"),r=n("j/Iz"),h=n("xPTa"),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},"XIK/":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.getGDPRConsentData=function(t){var i=this;void 0!==window.__tcfapi?window.__tcfapi("getTCData",2,(function(n,s){s?t({gdprApplies:n.gdprApplies,gdprConsentData:n.tcString},!0):i.getConsentFromV1(t)})):this.getConsentFromV1(t)},t.getUSPrivacyConsent=function(t){void 0!==window.__uspapi?window.__uspapi("getUSPData",1,(function(i,n){n?t({uspString:i.uspString},!0):t(void 0,!1)})):t(void 0,!1)},t.getUSPDoNotSell=function(t){window.__uspapi?window.__uspapi("getDoNotSell",1,(function(i,n){n&&i&&"boolean"==typeof i.doNotSell?t({doNotSell:i.doNotSell},n):t(void 0,!1)})):t(void 0,!1)},t.getConsentFromV1=function(t){void 0!==window.__cmp?window.__cmp("getConsentData",null,(function(i,n){n?t({gdprApplies:i.gdprApplies,gdprConsentData:i.consentData},!0):t(void 0,!1)})):t(void 0,!1)},t.getVendorConsent=function(t,i){var n=this;window.__tcfapi?window.__tcfapi("getTCData",2,(function(s,e){var r;e?i({gdprApplies:s.gdprApplies,hasConsent:null===(r=null==s?void 0:s.vendor)||void 0===r?void 0:r.consents[t]},!0):n.getVendorConsentFromV1(t,i)}),[t]):this.getVendorConsentFromV1(t,i)},t.getVendorConsentFromV1=function(t,i){window.__cmp?window.__cmp("getVendorConsents",new Uint16Array([t]),(function(n,s){var e;s&&(null===(e=null==n?void 0:n.vendorConsents)||void 0===e?void 0:e[t])?i({gdprApplies:!!n.gdprApplies,hasConsent:n.vendorConsents[t]},!0):i(void 0,!1)})):i(void 0,!1)},t.initIframeForGDPR=function(){if(!window.__tcfapi&&!window.__cmp){var t=this.findApiFrame("__tcfapiLocator"),i=this.findApiFrame("__cmpLocator"),n={},s={};window.__tcfapi=function(i,s,e,r){if(t){var h=Math.random()+"",o={__tcfapiCall:{command:i,parameter:r,version:s,callId:h}};n[h]=e,t.postMessage(o,"*")}else e({msg:"CMP not found"},!1)},window.__cmp=function(t,n,e){if(i){var r=Math.random()+"",h={__cmpCall:{command:t,parameter:n,callId:r}};s[r]=e,i.postMessage(h,"*")}else e({msg:"CMP not found"},!1)},window.addEventListener("message",(function(t){var i={};try{i="string"==typeof t.data?JSON.parse(t.data):t.data}catch(t){}if(i.__tcfapiReturn&&"function"==typeof n[i.__tcfapiReturn.callId]){var e=i.__tcfapiReturn;n[e.callId](e.returnValue,e.success),n[e.callId]=null}else if(i.__cmpReturn&&"function"==typeof s[i.__cmpReturn.callId]){e=i.__cmpReturn;s[e.callId](e.returnValue,e.success),delete s[e.callId]}}),!1)}},t.findApiFrame=function(t){for(var i=window,n=null;i;){try{if(i.frames[t]){n=i;break}}catch(t){}if(i===window.top)break;i=i.parent}return n},t}();i.default=s},XOUg: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("hq3Z"),a=n("ToqN"),c=n("Z5/A"),f=n("S8wC"),l=n("Fry/"),v=n("j/Iz"),d=n("ablw"),p=n("yf6s"),m=n("Thcf"),b=n("xl6w"),y=n("K4Ds"),g=n("qkPt"),w=n("aJ6b"),E=n("Rsv0"),O=n("jNwf"),A=n("fYOM"),_=n("Zn3a"),T=n("xPTa"),S=n("FTfz");!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.PLAYBACK_START_NOT_BLOCKED="ActiveRendererPlayNotBlocked",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.ENTER_FULLSCREEN="ActiveRendererEnterFullscreen",t.PLAY_COMPLETE="ActiveRendererPlayComplete",t.DATERANGE_STARTED="ActiveRendererDaterangeStarted",t.DATERANGE_ENDED="ActiveRendererDaterangeEnded"}(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 j=function(t){function i(i,n,s,e){var r=t.call(this,"RendererController")||this;return r.lO=s,r.hE=i,r.cO=n,r.YX=e,r.qX=null,r.WX=null,r.XX=null,r.ZX=null,r.QX={},r.JX={},r.KX={},r.$X=r.tZ(),r.iZ=!1,r}return e(i,t),Object.defineProperty(i.prototype,"activeRendererType",{get:function(){var t,i;return(null===(i=null===(t=this.qX)||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.nZ(t),e=s?T.RendererType.EXTERNAL:t.rendererType;if(a.userAgent.safari&&t instanceof f.default&&(!t.isLive()||t.license.isDrm)&&(e=T.RendererType.HTML5_RAW),!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.hE.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.hE.playbackState,m.E_INFO,h,"",o)),void i(u)}var c=this.sZ(t);if(this.XX!==c)!this.$X&&this.qX&&this.qX.type===e&&this.qX.type!==T.RendererType.EXTERNAL||t.isRecovering()&&this.qX?this.WX=this.qX:(this.WX=e===T.RendererType.EXTERNAL?this.eZ(s):this.rZ(e),this.hZ(this.WX)),this.XX=c,this.iZ=!0,this.WX.waitForReady((function(t){n.iZ=!1,t&&(n.publish(r.RENDERER_TIMEOUT),n.WX&&n.oZ(n.WX)),i(t)}));else{if(this.iZ)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.sZ(t);if(this.XX!==s)return this.prepareNextRenderer(t,(function(){n.setItemNextRenderer(t,i)})),!0;var e=this.sZ(t,i);return this.ZX===e||!!this.WX&&(this.ZX=e,this.WX.setPlayableItem(t,i,this.YX.recovering))},i.prototype.preloadNextRenderer=function(t){if(this.WX&&this.WX.preload){var i=this.WX.getPlayableItem();if(i&&(this.hE.preload||t)&&this.WX.type===T.RendererType.HTML5_HLS){var n={startOffset:i.customConfig&&i.customConfig.playbackStart||NaN,bufferLimit:this.hE.preloadBufferSize||30};this.WX.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.WX&&(delete this.QX[this.WX.type],this.uZ(this.WX),this.switchToRenderer(this.WX,t),this.XX=null,this.ZX=null)},i.prototype.didRendererTimeOut=function(){return!(!this.qX||!this.qX.timedOut)},i.prototype.getActiveRenderer=function(){return this.qX},i.prototype.getNextRendererNode=function(){return this.WX&&this.WX.node||null},i.prototype.syncPlaybackState=function(){this.qX&&(this.qX.paused=this.hE.isPaused(),this.qX.seeking=this.hE.isSeeking())},i.prototype.rewindAfterEnd=function(t){if(this.qX)if(t)switch(this.qX.type){case T.RendererType.HTML5_RAW:case T.RendererType.HTML5_HLS:this.qX.node&&(this.qX.node.src="")}else this.qX.seek(0)},i.prototype.play=function(t){this.publish(r.PLAY_CALLED),this.qX&&this.qX.play(t)},i.prototype.pause=function(){this.qX&&(this.qX.type===T.RendererType.HTML5_TV_TIZEN||this.qX.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(this.qX.pause)?this.qX.pause():this.qX.node&&this.qX.node.pause()))},i.prototype.getCurrentDate=function(){return this.qX&&this.qX.getCurrentDate()||0},i.prototype.endVideo=function(){var t=this.qX;t&&!t.ended&&(t.ended=!0,t.type===T.RendererType.HTML5_TV_TIZEN||t.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(t.stop)?t.stop():t.node&&t.node.pause()))},i.prototype.seek=function(t){this.qX&&this.qX.seek(t)},i.prototype.getCurrentTime=function(){return this.qX?this.qX.getCurrentTime():0},i.prototype.getDuration=function(){return this.qX?this.qX.getDuration():NaN},i.prototype.getMuted=function(){if(this.qX)return this.qX.getMuted()},i.prototype.getVolume=function(){return this.qX?this.qX.getVolume():NaN},i.prototype.setQuality=function(t){this.qX&&this.qX.setQuality(t)},i.prototype.showAirplayTargetMenu=function(){this.qX&&this.qX.showAirplayTargetMenu&&this.qX.showAirplayTargetMenu()},i.prototype.setPIPMode=function(t){var i;null===(i=this.qX)||void 0===i||i.setPIPMode(t)},i.prototype.setVolume=function(t){this.qX&&this.qX.setVolume(t)},i.prototype.setMute=function(t){this.qX&&this.qX.setMute(!!t)},i.prototype.setAudioLanguage=function(t){this.qX&&this.qX.setAudioLanguage&&this.qX.setAudioLanguage(t)},i.prototype.stopMedia=function(){if(this.qX)return this.qX.detachNode(),this.qX.stopMedia()},i.prototype.stopNextRenderer=function(t){if(this.WX)return this.WX.setError(t),this.WX.detachNode(),this.WX.stopMedia()},i.prototype.skip=function(){this.qX&&d.isFunction(this.qX.skip)&&this.qX.skip()},i.prototype.switchToRenderer=function(t,i){this.aZ(this.qX);var n=this.qX,s=n&&n!==t;s&&a.userAgent.mobile&&v.default.exitFullscreen(n.node),this.cZ(t),this.hE.playbackState.rendererType=t.type,this.setVolume(this.hE.volume),this.setMute(this.hE.mute),this.fZ(this.qX),s&&(n.type===T.RendererType.HTML5_HLS_360||n.type===T.RendererType.HTML5_RAW_360||n.type===T.RendererType.EXTERNAL?p.default.classList(n.container).remove("vp-renderer-active"):n.node&&p.default.classList(n.node).remove("vp-renderer-active"),i?this.oZ(n):this.lZ(n)),this.vZ(t,!0),t.type===T.RendererType.HTML5_HLS_360||t.type===T.RendererType.HTML5_RAW_360||t.type===T.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.qX&&this.qX.enableMobileNativeCC&&this.qX.enableMobileNativeCC(t)},i.prototype.handleAdvancePreparePreloadNextRenderer=function(t){var i=this;t&&t.rendererType===T.RendererType.HTML5_HLS&&this.prepareNextRenderer(t,(function(n){n||i.WX===i.qX||t.isLive()||(i.setItemNextRenderer(t,0),i.preloadNextRenderer(!0))}))},i.prototype.suspendStreaming=function(){this.qX&&this.qX.suspendStreaming()},i.prototype.resumeStreaming=function(){this.qX&&this.qX.resumeStreaming()},i.prototype.getSyncOffset=function(){var t;return(null===(t=this.qX)||void 0===t?void 0:t.getSyncOffset())||NaN},i.prototype.destroy=function(){this.qX&&this.qX.destroy(),this.WX&&this.WX.destroy()},i.prototype.fZ=function(t){t&&(this.dZ(t,T.CustomRendererEvent,h,this.JX),this.dZ(t,T.RendererEvent,h,this.JX))},i.prototype.aZ=function(t){t&&(t.removeEventListeners(this.JX),this.JX={})},i.prototype.hZ=function(t){t&&t!==this.qX&&this.dZ(t,T.RendererEvent,o,this.KX)},i.prototype.uZ=function(t){t&&(t.removeEventListeners(this.KX),this.KX={})},i.prototype.dZ=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.pZ=function(t){var i=this.hE,n=this.cO,s=this.QX[t];if(s)return s.bindCustomEvents(),s;switch(t){case T.RendererType.HTML5_HLS:s=new g.default(n,i);break;case T.RendererType.HTML5_RAW_360:s=new O.default(n,i);break;case T.RendererType.HTML5_HLS_360:s=new w.default(n,i);break;case T.RendererType.EXTERNAL:s=new y.default;break;case T.RendererType.HTML5_TV:s=new A.default(n,i);break;case T.RendererType.HTML5_TV_ORSAY:s=new _.default(n,i);break;case T.RendererType.HTML5_TV_TIZEN:s=new S.default(n,i);break;case T.RendererType.HTML5_RAW:default:s=new E.default(n,i)}return this.publish(r.RENDERER_CREATED,s),this.mZ(s,t),s},i.prototype.rZ=function(t){return this.pZ(t)},i.prototype.eZ=function(t){if(this.qX&&this.qX.type===T.RendererType.EXTERNAL&&this.qX.getExternalPlayer()===t)return this.qX;var i=this.rZ(T.RendererType.EXTERNAL);return i.setExternalPlayer(t),i},i.prototype.lZ=function(t){var i=[T.RendererType.HTML5_RAW_360,T.RendererType.HTML5_HLS_360,T.RendererType.EXTERNAL];if(t){var n=t.type;this.vZ(t,!1),this.QX[n]||-1!==i.indexOf(n)?t.destroy():this.mZ(t,n)}},i.prototype.vZ=function(t,i){t&&(i?(t.detachNode&&t.detachNode(),t.reattachNode&&t.reattachNode()):(t.detachNode&&t.detachNode(),t.stopMedia&&t.stopMedia()))},i.prototype.nZ=function(t){if(!(t instanceof c.default&&t.adPluginMimeType))return null;if(!this.hE.config.ads.preferExternalPlayback)return null;var i,n=this.lO.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(T.ExternalPlayerCapability.RENDER_HLS)>-1||r&&s.indexOf(T.ExternalPlayerCapability.RENDER_PDL)>-1?i:null},i.prototype.sZ=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.tZ=function(){var t=a.userAgent.mobile&&!l.default.hasNativeAutoplaySupport;return!(a.userAgent.tv||a.userAgent.ios||t)},i.prototype.oZ=function(t){return delete this.QX[t.type],t.destroy()},i.prototype.cZ=function(t){t&&(this.qX=t,t.setActive(!0))},i.prototype.mZ=function(t,i){t&&(this.QX[i]=t,t.setActive(!1))},i}(u.default);i.RendererController=j},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},Xb7w:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xPTa"),e=n("yf6s"),r=function(){function t(t){this.IN=t}return t.prototype.getCurrentAdBreak=function(){var t=this.getCurrentAdBreakItem();return t?t.adBreak:null},t.prototype.getCurrentAdBreakItem=function(){var t=this.IN.getPlayingItem();return e.default.getPlaybackMode(t)===s.PlaybackMode.AD?t:null},t}();i.default=r},XevZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getErrorCode=void 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){var e;return i=i&&r[i]?i:"default",(null===(e=null==t?void 0:t.message)||void 0===e?void 0:e.includes(s.LoaderConstants.XHR_TIMEOUT))?n="timeout":n&&r[i][n]||(n="default"),r[i][n]}},Y3gr:function(module,exports,__webpack_require__){(function(global){function ja(t){var i=0;return function(){return i<t.length?{done:!1,value:t[i++]}:{done:!0}}}var Ya="function"==typeof Object.defineProperties?Object.defineProperty:function(t,i,n){return t==Array.prototype||t==Object.prototype||(t[i]=n.value),t};function bb(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var i=0;i<t.length;++i){var n=t[i];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")}var Ob=bb(this);function Ec(t,i){if(i)t:{var n=Ob;t=t.split(".");for(var s=0;s<t.length-1;s++){var e=t[s];if(!(e in n))break t;n=n[e]}(i=i(s=n[t=t[t.length-1]]))!=s&&null!=i&&Ya(n,t,{configurable:!0,writable:!0,value:i})}}function Fc(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function Sd(t,i){t instanceof String&&(t+="");var n=0,s=!1,e={next:function(){if(!s&&n<t.length){var e=n++;return{value:i(e,t[e]),done:!1}}return s=!0,{done:!0,value:void 0}}};return e[Symbol.iterator]=function(){return e},e}function Td(t,i,n){if(null==t)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(i instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return t+""}function Nh(t){return t||Array.prototype.fill}function Oh(t){var i="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return i?i.call(t):{next:ja(t)}}Ec("Symbol",(function(t){function i(t,i){this.Cr=t,Ya(this,"description",{configurable:!0,writable:!0,value:i})}if(t)return t;i.prototype.toString=function(){return this.Cr};var n=0;return function t(s){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new i("jscomp_symbol_"+(s||"")+"_"+n++,s)}})),Ec("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var i="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<i.length;n++){var s=Ob[i[n]];"function"==typeof s&&"function"!=typeof s.prototype[t]&&Ya(s.prototype,t,{configurable:!0,writable:!0,value:function(){return Fc(ja(this))}})}return t})),Ec("Symbol.asyncIterator",(function(t){return t||Symbol("Symbol.asyncIterator")})),Ec("Array.prototype.keys",(function(t){return t||function(){return Sd(this,(function(t){return t}))}})),Ec("String.prototype.startsWith",(function(t){return t||function(t,i){var n=Td(this,t,"startsWith");t+="";var 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}})),Ec("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}})),Ec("Int8Array.prototype.fill",Nh),Ec("Uint8Array.prototype.fill",Nh),Ec("Uint8ClampedArray.prototype.fill",Nh),Ec("Int16Array.prototype.fill",Nh),Ec("Uint16Array.prototype.fill",Nh),Ec("Int32Array.prototype.fill",Nh),Ec("Uint32Array.prototype.fill",Nh),Ec("Float32Array.prototype.fill",Nh),Ec("Float64Array.prototype.fill",Nh),Ec("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}})),Ec("Object.getOwnPropertySymbols",(function(t){return t||function(){return[]}})),Ec("Promise",(function(t){function i(t){this.bf=0,this.qg=void 0,this.Ue=[],this.pq=!1;var i=this.Ak();try{t(i.resolve,i.reject)}catch(t){i.reject(t)}}function n(){this.Wc=null}function s(t){return t instanceof i?t:new i((function(i){i(t)}))}if(t)return t;n.prototype.Fo=function(t){if(null==this.Wc){this.Wc=[];var i=this;this.Go((function(){i.ov()}))}this.Wc.push(t)};var e=Ob.setTimeout;n.prototype.Go=function(t){e(t,0)},n.prototype.ov=function(){for(;this.Wc&&this.Wc.length;){var t=this.Wc;this.Wc=[];for(var i=0;i<t.length;++i){var n=t[i];t[i]=null;try{n()}catch(t){this.Cu(t)}}}this.Wc=null},n.prototype.Cu=function(t){this.Go((function(){throw t}))},i.prototype.Ak=function(){function t(t){return function(s){n||(n=!0,t.call(i,s))}}var i=this,n=!1;return{resolve:t(this.Yx),reject:t(this.Bl)}},i.prototype.Yx=function(t){if(t===this)this.Bl(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof i)this.Ly(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.Xx(t):this.wp(t)}},i.prototype.Xx=function(t){var i=void 0;try{i=t.then}catch(t){return void this.Bl(t)}"function"==typeof i?this.My(i,t):this.wp(t)},i.prototype.Bl=function(t){this.hr(2,t)},i.prototype.wp=function(t){this.hr(1,t)},i.prototype.hr=function(t,i){if(0!=this.bf)throw Error("Cannot settle("+t+", "+i+"): Promise already settled in state"+this.bf);this.bf=t,this.qg=i,2===this.bf&&this.dy(),this.qv()},i.prototype.dy=function(){var t=this;e((function(){if(t.nx()){var i=Ob.console;void 0!==i&&i.error(t.qg)}}),1)},i.prototype.nx=function(){if(this.pq)return!1;var t=Ob.CustomEvent,i=Ob.Event,n=Ob.dispatchEvent;return void 0===n||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof i?t=new i("unhandledrejection",{cancelable:!0}):(t=Ob.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.qg,n(t))},i.prototype.qv=function(){if(null!=this.Ue){for(var t=0;t<this.Ue.length;++t)r.Fo(this.Ue[t]);this.Ue=null}};var r=new n;return i.prototype.Ly=function(t){var i=this.Ak();t.Ah(i.resolve,i.reject)},i.prototype.My=function(t,i){var n=this.Ak();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.Ah(s(t,e),s(n,r)),h},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.Ah=function(t,i){function n(){switch(s.bf){case 1:t(s.qg);break;case 2:i(s.qg);break;default:throw Error("Unexpected state: "+s.bf)}}var s=this;null==this.Ue?r.Fo(n):this.Ue.push(n),this.pq=!0},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=Oh(t),r=e.next();!r.done;r=e.next())s(r.value).Ah(i,n)}))},i.all=function(t){var n=Oh(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).Ah(r(h.length-1),i),e=n.next()}while(!e.done)}))},i})),Ec("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}})),Ec("Object.is",(function(t){return t||function(t,i){return t===i?0!==t||1/t==1/i:t!=t&&i!=i}})),Ec("Array.prototype.includes",(function(t){return t||function(t,i){var n=this;n instanceof String&&(n=String(n));var s=n.length;for(0>(i=i||0)&&(i=Math.max(i+s,0));i<s;i++){var e=n[i];if(e===t||Object.is(e,t))return!0}return!1}})),Ec("String.prototype.includes",(function(t){return t||function(t,i){return-1!==Td(this,t,"includes").indexOf(t,i||0)}})),Ec("String.prototype.endsWith",(function(t){return t||function(t,i){var n=Td(this,t,"endsWith");t+="",void 0===i&&(i=n.length),i=Math.max(0,Math.min(0|i,n.length));for(var s=t.length;0<s&&0<i;)if(n[--i]!=t[--s])return!1;return 0>=s}}));var Ph=window;function Qh(){return function(t){function i(s){if(n[s])return n[s].exports;var e=n[s]={cq:s,$w:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.$w=!0,e.exports}var n={};return i.GC=t,i.c=n,i.d=function(t,n,s){i.ox(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.ox=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.aD=138)}([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=J.ai()?"playsinline muted":"";return new H.a(t).mx(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.Qf&&window.vdb.Qf.createElement?window.vdb.Qf.createElement(t):document.createElement(t),i=i||{})if(Object.prototype.hasOwnProperty.call(i,e)){var r=i[e];null!==r&&("style"===e&&"object"===z()(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 E(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 O(){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 A(t){return Array.isArray(t)&&(t=t.slice()),t}function _(t){return new G.a((function(i,n){setTimeout((function(){n(Error("timeout ".concat(t," ms reached")))}),t)}))}function T(t,i,n){return function t(i,n,s){var e=n.shift();return n.length?v(i[e])||Array.isArray(i[e])?t(i[e],n,s):s:void 0===i[e]?s:i[e]}(t||{},i.slice(),n)}function S(){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 j(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 I(t){var i=q.a.hb();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 N(t){return Y.a.Mk(t)===W.Qr}function M(t){if(!t)return null;if("string"==typeof t)return t;var i=[];if(t&&"object"===z()(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 R(t){for(var i,n=[],s=0;s<t.length;s++)(i=M(t[s]))&&n.push(i);return n.join("&")}function D(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 k(t){return window.atob(t)}function L(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.AD?r.toLowerCase():r]=t[e],s}),{})}function V(t){var i=!1;t=B(t);var n=!1,s=B(t),e=F(s);if(s&&e)try{var r,h=s.parent;if(r=h){var o=F(s=B(s));r=!(s&&o&&s==o)}n=r&&h==e}catch(t){n=!1}if(n)try{var u=t&&t.$sf&&t.$sf.ext;!u||"function"!=typeof u.register&&"function"!=typeof u.supports||(i=!0)}catch(t){i=!1}return i}function B(t){try{t=(t=t||window).Object?t:null}catch(i){t=null}return t}function F(t,i){var n=null;try{(n=(t=B(t))&&t.top||null)&&i&&(n=n.document?n:null)}catch(t){n=null}return n}n(24),t=n(14),n.n(t),t=n(10);var z=n.n(t),H=n(38);n(2);var G=n(12),Y=n(4),q=n(6);n.d(i,"G",(function(){return e})),n.d(i,"d",(function(){return r})),n.d(i,"J",(function(){return h})),n.d(i,"i",(function(){return o})),n.d(i,"m",(function(){return u})),n.d(i,"t",(function(){return c})),n.d(i,"E",(function(){return f})),n.d(i,"s",(function(){return l})),n.d(i,"y",(function(){return v})),n.d(i,"z",(function(){return d})),n.d(i,"L",(function(){return p})),n.d(i,"I",(function(){return m})),n.d(i,"h",(function(){return b})),n.d(i,"a",(function(){return y})),n.d(i,"D",(function(){return g})),n.d(i,"F",(function(){return w})),n.d(i,"r",(function(){return E})),n.d(i,"j",(function(){return O})),n.d(i,"f",(function(){return A})),n.d(i,"C",(function(){return _})),n.d(i,"n",(function(){return T})),n.d(i,"p",(function(){return S})),n.d(i,"x",(function(){return j})),n.d(i,"e",(function(){return I})),n.d(i,"u",(function(){return N})),n.d(i,"H",(function(){return M})),n.d(i,"B",(function(){return R})),n.d(i,"A",(function(){return D})),n.d(i,"b",(function(){return k})),n.d(i,"g",(function(){return L})),n.d(i,"K",(function(){return C})),n.d(i,"o",(function(){return P})),n.d(i,"l",(function(){return x})),n.d(i,"k",(function(){return U})),n.d(i,"c",(function(){return J})),n.d(i,"v",(function(){return K})),n.d(i,"q",(function(){return $})),n.d(i,"w",(function(){return V}));var W={Bz:"m3u",Qr:"m3u8",Dz:"mp4",Ez:"ogg",Fz:"ogv",Lz:"webm"},X=navigator.userAgent.toLowerCase();i=navigator.platform.toLowerCase(),(n=X.match(/(samsungbrowser|edge)[\s\/:]([\w\d\.]+)/))||(n=X.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 Z,Q,J={AA:{fA:!!window.$C,json:!!window.JSON,query:!!document.querySelector,OD:!!document.evaluate},Uw:function(){return"ios"===J.platform.name},Wh:function(){return/android|blackberry|iphone|ipad|ipod|opera mini|iemobile/i.test(X)},name:"version"===n[1]?n[3]:n[1],platform:{name:X.match(/ip(?:ad|od|hone)/)?"ios":(X.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()||(Z=/iPhone OS (.*) like Mac OS X/.exec(navigator.userAgent),Q=!(!navigator.userAgent.match("iPod")&&!navigator.userAgent.match("iPhone"))&&1,Z&&(Q=+Z[1].replace(/_/,".").replace(/_/g,"")),Q)||""},ai:function(){var t=J.Uw();return!J.Wh()||a()||t&&"safari"===J.name&&10<=J.version||t&&"chrome"===J.name&&54<=J.version||t&&"fxios"===J.name&&10.3<=J.version||t&&"fban"===J.name||!!J.platform.android&&"chrome"===J.name&&53<=J.version||!!J.platform.android&&"firefox"===J.name||!!J.platform.android&&"samsungbrowser"===J.name&&6.2<=J.version},version:t||parseFloat("opera"===n[1]&&n[4]?n[4]:n[2])};J[J.name]=!0,J[J.name+parseInt(J.version,10)]=!0,J.platform[J.platform.name]=!0;var K=0<=navigator.userAgent.indexOf("MSIE ")||0<=navigator.userAgent.indexOf("Trident/"),$=0<=navigator.userAgent.toLowerCase().indexOf("chrome");try{var tt=document.createElement("canvas");window.WebGLRenderingContext&&(tt.getContext("webgl")||tt.getContext("experimental-webgl"))}catch(Z){}},function(t,i,n){function s(){if(this.Qn&&this.ta(),this.tb){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.tb.apply(window,i)}}n.d(i,"a",(function(){return o}));var e=n(64),r=n(81).default,h=n(18).default,o=function(){function t(){}var i=t.prototype;return i.ta=function(){this.dc?this.dc.ta():void 0!==this.va.nodeType?r.removeEventListener(this.va,this.nj,this.Yg):this.va.removeEventListener(this.nj,this.Yg,this.oo)},i.link=function(){if(!arguments.length)return this;this.dc||(this.dc=new e.a(this));for(var t=0;t<arguments.length;++t){var i=0>t||arguments.length<=t?void 0:arguments[t];i.dc?this.dc.ix(i.dc):this.dc.Sb(i)}return this.dc.commit(),this},t.bind=function(i,n,e,h,o){h=!!h,o=!!o;var u=new t;return u.va=i,u.nj=n,u.tb=e,u.oo=h,u.Qn=o,u.Yg=s.bind(u),void 0!==i.nodeType?r.addEventListener(i,n,u.Yg):i.addEventListener(n,u.Yg,h),u},t.Xa=function(i,n,s){return t.bind(i,n,s,void 0,!0)},t.empty=function(){var i=new t;return i.va=new h,i.nj="DOESN'T_MATTER",i.oo=!0,i.Qn=!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){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,"h",(function(){return a})),n.d(i,"i",(function(){return c})),n.d(i,"j",(function(){return f})),n.d(i,"k",(function(){return l})),n.d(i,"l",(function(){return v})),n.d(i,"m",(function(){return d})),n.d(i,"n",(function(){return p})),n.d(i,"o",(function(){return m})),n.d(i,"p",(function(){return b})),n.d(i,"q",(function(){return y})),n.d(i,"s",(function(){return g})),n.d(i,"t",(function(){return w})),n.d(i,"u",(function(){return E})),n.d(i,"v",(function(){return O})),n.d(i,"w",(function(){return A})),n.d(i,"x",(function(){return _})),n.d(i,"y",(function(){return T})),n.d(i,"z",(function(){return S})),n.d(i,"A",(function(){return j})),n.d(i,"g",(function(){return I})),n.d(i,"r",(function(){return N}));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="AdSkipped",b="AdStarted",y="AdStopped",g="AdUserAcceptInvitation",w="AdUserClose",E="AdUserMinimize",O="AdVideoComplete",A="AdVideoFirstQuartile",_="AdVideoMidpoint",T="AdVideoStart",S="AdVideoThirdQuartile",j="AdVolumeChange",I="AdIntervention",N="AdTimeUpdate"},function(t,i,n){var s=n(11),e=function(){function t(){}return t.Ub=function(t,i){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var s=new RegExp("[\\?&]".concat(t,"=([^&#]*)")).exec(i);return null==s?"":n?decodeURIComponent(s[1].replace(/\+/g," ")):s[1]},t}(),r=n(6);n.d(i,"a",(function(){return h}));var h=function(){function t(){}return t.og=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,search:i.search}},t.Mk=function(i){if(!i||"string"!=typeof i)return"";var n=(i=t.og(i).pathname||"").lastIndexOf(".");return-1!==n?i.substring(n+1).toLowerCase():""},t.Bc=function(){return r.a.Bc()},t.sk=function(t){return r.a.Bc()&&(t=s.a.Cl(t,"http://","https://")),t},t.Lh=function(t){return(t=/(?:(?:[\w]+:)?\/\/)?([^?#\/:]+)/.exec(void 0!==t?t:r.a.fd()))?t[1]:""},t.Ub=function(t,i){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];return e.Ub(t,void 0!==i?i:r.a.fd(),n)},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,i,n){t=n(14);var s=n.n(t),e=function(){function t(){}return t.fd=function(t){t=t||window;var i=this.Ph(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&&0<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.Ph=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.Tk=function(t){t=t||window;try{return t.parent}catch(t){}return null},t.Bc=function(){return-1===(window.location.protocol||this.fd()||"").indexOf("http:")},t}();n.d(i,"a",(function(){return r}));var r=function(){function t(){}return t.hb=function(){return window},t.fd=function(t){return e.fd(t)},t.Ph=function(t){return e.Ph(t)},t.Tk=function(t){return e.Tk(t)},t.Bc=function(){return e.Bc()},t.Aw=function(){return window.navigator.userAgent},t.Ne=function(){try{return window.self!==window.top}catch(t){return!0}},t.cw=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,i,n){n.r(i),n.d(i,"ACCEPT_INVITATION",(function(){return s})),n.d(i,"CLICK",(function(){return e})),n.d(i,"CLOSE",(function(){return r})),n.d(i,"COLLAPSE",(function(){return h})),n.d(i,"COMPLETE",(function(){return o})),n.d(i,"CREATIVE_VIEW",(function(){return u})),n.d(i,"EXIT_FULLSCREEN",(function(){return a})),n.d(i,"EXPAND",(function(){return c})),n.d(i,"FIRST_QUARTILE",(function(){return f})),n.d(i,"FULLSCREEN",(function(){return l})),n.d(i,"IMPRESSION",(function(){return v})),n.d(i,"MIDPOINT",(function(){return d})),n.d(i,"MUTE",(function(){return p})),n.d(i,"PAUSE",(function(){return m})),n.d(i,"PLAYER_COLLAPSE",(function(){return b})),n.d(i,"PLAYER_EXPAND",(function(){return y})),n.d(i,"PROGRESS",(function(){return g})),n.d(i,"RESUME",(function(){return w})),n.d(i,"REWIND",(function(){return E})),n.d(i,"SKIP",(function(){return O})),n.d(i,"START",(function(){return A})),n.d(i,"THIRD_QUARTILE",(function(){return _})),n.d(i,"UNMUTE",(function(){return T}));var s="acceptInvitation",e="click",r="close",h="collapse",o="complete",u="creativeView",a="exitFullscreen",c="expand",f="firstQuartile",l="fullscreen",v="impression",d="midpoint",p="mute",m="pause",b="playerCollapse",y="playerExpand",g="progress",w="resume",E="rewind",O="skip",A="start",_="thirdQuartile",T="unmute"},function(t,i,n){function s(t){return 10>t?"0".concat(t):t}function e(t){return 10>t?"00".concat(t):100>t?"0".concat(t):t}function r(t,i,n){if(c.indexOf(t)>=h()&&window.console){var r=new Date;n=["".concat(s(r.getHours()),":").concat(s(r.getMinutes()),":").concat(s(r.getSeconds()),".").concat(e(r.getMilliseconds())),"[".concat(t,"]"),"".concat(i,":").concat(v.Mq?" ".concat(v.Mq):"")].concat(Array.prototype.slice.apply(n)),r=t.toLowerCase(),window.console[r]||(r="log"),r=window.console[r],"object"===o()(r)&&(r=Function.prototype.bind.call(r,window.console)),r&&r.apply(window.console,n)}for(r=0;r<f.length;r++)f[r](t,i,n)}function h(){if(void 0===v.zj){var t=parseInt(u.a.Ub("aolplayerloglvl"),10);v.zj=isNaN(t)?Number(a.a["logger.level"]):t}return v.zj}n(24),t=n(10);var o=n.n(t),u=n(4),a=n(16),c=["DEBUG","INFO","WARN","ERROR"],f=[],l={},v=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];r("DEBUG",this.name,i)},i.info=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r("INFO",this.name,i)},i.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r("WARN",this.name,i)},i.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r("ERROR",this.name,i)},t}();i.a={Az:v,bA:function(t){f.push(t)},Op:h,La:function(t){return l[t]||(l[t]=new v(t)),l[t]},kD:function(t){v.zj=t},pD:function(t){v.Mq=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){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.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.Vh=function(i){return!i||""===t.trim(i)},t.trim=function(i,n){return t.ex(t.Wq(i,n),n)},t.ex=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("^[".concat(i,"]+"),"g"),"")},t.Wq=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.Cl=function(t,i,n){return t&&t.replace(new RegExp(i,"g"),n)},t.mp=function(){return!1},t.Po=function(t){if(t)return(t=t.toLowerCase()).charAt(0).toUpperCase()+t.slice(1)},t}()},function(t,i,n){function s(){}function e(t,i){for(;3===t.W;)t=t.ze;0===t.W?t.nf.push(i):v((function(){var n=1===t.W?i.rx:i.Fq;if(null===n)(1===t.W?r:h)(i.promise,t.ze);else{try{var s=n(t.ze)}catch(t){return void h(i.promise,t)}r(i.promise,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.W=3,t.ze=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.W=1,t.ze=i,o(t)}catch(i){h(t,i)}}function h(t,i){for(var n,s=0,e=t.nf.length;!n&&s<e;s++)n=t.nf[s].Fq;n||"1"!==l.a.Ub("logpromisereject")||window.console,t.W=2,t.ze=i,o(t)}function o(t){t.nf.forEach((function(i){return e(t,i)})),t.nf=null}function u(t,i,n){this.rx="function"==typeof t?t:null,this.Fq="function"==typeof i?i:null,this.promise=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(14);var c=n.n(t);t=n(10);var f=n.n(t),l=n(4),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.W=0,this.ze=void 0,this.nf=[],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.sz=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.sz((function(){}))(),i.a=d},function(t,i,n){t.exports=!n(28)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(57),e=n(58),r=n(59);t.exports=function(t){return s(t)||e(t)||r()}},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}));var s=function(){function t(){}return t.mc=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,"/"),"cdn.url.dev":"https://cdn-ssl".concat(".vidible.tv","/dev/"),"cdn.url.yimg":"https://s.yimg.com/rx/vrm/builds/".concat("21712039","/"),"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){n.d(i,"a",(function(){return s}));var s={cm:"errorEvent",Rr:"mediaEvent",Sr:"pixelEvent",Ur:"scriptEvent",Xr:"xhrEvent"}},function(t,i,n){n.r(i),n.d(i,"default",(function(){return e}));var s=n(8),e=function(){function t(){this.nb={},this.Em=[],this.qe=s.a.La("EventBus")}var i=t.prototype;return i.addEventListener=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;this.nb[t]||(this.nb[t]=[]),this.nb[t].push({Sh:i,priority:n})},i.removeEventListener=function(t,i){this.nb[t]&&(this.nb[t]=this.nb[t].filter((function(t){return t.Sh!==i})))},i.$z=function(t){this.Em.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 e=this.nb[n];e&&((e=e.slice()).sort((function(t,i){return i.priority-t.priority})),e.forEach((function(t){return i.vn(n,s,t.Sh)}))),this.Em.forEach((function(t){return t.call({},n,s)}))},i.vn=function(t,i,n){try{n.apply({},i)}catch(n){this.qe.error(n,"event",{args:i,type:t})}},i.Sq=function(){var t=this;this.qe.info("Removing all listeners."),Object.keys(this.nb).forEach((function(i){Array.isArray(t.nb[i])&&delete t.nb[i]}))},t}()},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t){t=t.exports={version:"2.6.5"},"number"==typeof __e&&(__e=t)},function(t,i,n){var s=n(61),e=n(50);t.exports=function(t){return s(e(t))}},function(t,i,n){var s=n(23),e=n(35),r=n(36),h=Object.defineProperty;i.Kb=n(13)?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(19);t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},function(t,i,n){t=n(22).Kb,i=Function.prototype;var s=/^\s*function ([^ (]*)/;"name"in i||n(13)&&t(i,"name",{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},function(t,i,n){var s=n(22),e=n(29);t.exports=n(13)?function(t,i,n){return s.Kb(t,i,e(1,n))}:function(t,i,n){return t[i]=n,t}},function(t){var i={}.hasOwnProperty;t.exports=function(t,n){return i.call(t,n)}},function(t,i,n){var s=n(82),e=n(83),r=n(84);t.exports=function(t,i){return s(t)||e(t,i)||r()}},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t){t.exports=function(t,i){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:i}}},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){i=n(20);var s=n(9),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(49)?"pure":"global",qA:"© 2019 Denis Pushkarev (zloirock.ru)"})},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(31)("wks"),e=n(30),r=n(9).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(q,k,g){g.d(k,"a",(function(){return r})),q=g(10);var p=g.n(q),w=g(1),z=g(6),r=function(){function l(){}return l.Su=function(){try{var n=function(){var m=!1;eval('func = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(void 0)()}catch(t){m=!0}return m}()}catch(t){n=0}return n},l.Ru=function(){var t=!1;try{({}).Kb()}catch(i){t=!0}return t},l.Mu=function(){var t=z.a.hb();return!!(Object(w.e)(t.AudioContext)&&(t=new t.AudioContext,t=Object(w.e)(t.createBufferSource)&&t.createBufferSource()||{},t.detune&&Object.prototype.hasOwnProperty.call(t.detune,"value")))&&(t.detune.value=100,100===t.detune.value)},l.Ku=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}},l.Pu=function(){try{var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}catch(t){return!1}},l.Ou=function(){try{return eval("1 == [for (item of [1,2,3]) item][0]")}catch(t){return!1}},l.Lu=function(){var t=z.a.hb();try{return"object"===p()(t.Intl.Collator().resolvedOptions())}catch(t){return!1}},l.Qu=function(){var t=z.a.hb();try{return 0===new t.Uint16Array(1)[0]}catch(t){return!1}},l.Iu=function(){var t=z.a.hb();try{return t.ActiveXObject&&-1===t.ActiveXObject.toString().indexOf("native")}catch(t){return!1}},l.Nu=function(){var t=z.a.hb();try{return-1===Object.prototype.toString.call(t.HTMLElement).indexOf("Constructor")}catch(t){return!1}},l.btoa=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=z.a.hb();if(!Object(w.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)},l.Ju=function(t){try{return t.animate&&Object(w.x)(t.animate([{easing:"ease-in",transform:"scale(1)"},{easing:"ease-in",transform:"scale(1.3)"}],{duration:1300,iterations:1}).reverse)?1:0}catch(t){return 0}},l}()},function(t,i,n){t.exports=!n(13)&&!n(28)((function(){return 7!=Object.defineProperty(n(40)("div"),"a",{get:function(){return 7}}).a}))},function(t,i,n){var s=n(19);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,i,n){t=n(41);var s=n(71),e=n(21),r=n(74),h=n(75);t(t.om,"Object",{getOwnPropertyDescriptors:function(t){t=e(t);for(var i,n,o=r.Kb,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,i,n){var s=n(44),e=n(12);n.d(i,"a",(function(){return r}));var r=function(){function t(t){this.ob=this.mh=t}var i=t.prototype;return i.rD=function(t){this.ob=t},t.Lf=function(t,i,n){if(void 0===n)return t.getAttribute(i);null===n?t.removeAttribute(i):t.setAttribute(i,n)},i.rn=function(t,i,n){var s="TABLE"===t.nodeName,e=this.ob.createElement("div");e.innerHTML="<".concat(t.nodeName,">").concat(i,"</").concat(t.nodeName,">"),n(s?t.lastChild:t,s?e.lastChild.lastChild:e.lastChild)},i.mx=function(t){var i=this.ob.createElement("div");return i.innerHTML=t,i.lastChild},i.$m=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.$m(i.childNodes));return n},i.replace=function(t,i){this.rn(t,i,(function(i,n){return t.replaceChild(n,i),i}))},i.append=function(t,i){this.rn(t,i,(function(t,i){return t.appendChild(i.firstChild),i.firstChild}))},i.nC=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.$m([i]):(t.empty(i),i.appendChild(this.ob.createTextNode(n)),null)},t.empty=function(t){if(t&&t.removeChild)for(;t.firstChild;)t.removeChild(t.firstChild)},i.createElement=function(t){return this.ob.createElement(t)},i.createDocumentFragment=function(){return this.ob.createDocumentFragment()},i.Kh=function(t){return(t=t||this.ob).head||t.getElementsByTagName("head")[0]},i.Jm=function(i,n,s,e){var r=this.createElement("script");return t.Lf(r,"type","text/javascript"),e&&Object.keys(e).forEach((function(i){return t.Lf(r,i,e[i])})),s&&t.Lf(r,"async","true"),i&&t.Lf(r,"src",i),n&&t.Lf(r,"crossorigin","anonymous"),r},i.Qd=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.Jm(t,i,n,void 0),h=this.Kh(this.mh);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.Hw=function(t){var i=this.Jm();return this.text(i,t),this.Kh().appendChild(i),i},i.qB=function(t,i,n){var s="VDBCallback".concat(Math.round(1e4*Math.random())),e=n||this.mh&&this.mh.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.Qd(t.replace("[callback]",s))},i.FC=function(t){var i=this.ob.createElement("link");this.Kh().appendChild(i),i.rel="stylesheet",i.type="text/css",i.href=t},i.lp=function(t,i){i=i||this.Kh();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.ob.getElementById(n)){var s=this.ob.createElement("style");s.setAttribute("id",n),s.type="text/css",s.appendChild(this.ob.createTextNode(t)),i.appendChild(s)}},i.yA=function(t,i){this.lp(t,i)},i.uA=function(t){var i=this.ob.createElement("img");return i.src=t,i},i.tA=function(t){var i=this.ob.createElement("div");return null!=t&&(i.className=t),i},i.log=function(t){this.Cd||(this.Cd=this.ob.createElement("div"),this.Cd.style.position="fixed",this.Cd.style.top="0px",this.Cd.style.left="0px",this.mh.getElementsByTagName("body")[0].appendChild(this.Cd)),this.Cd.innerHTML="".concat(t,"<br>").concat(this.Cd.innerHTML)},t}()},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){i=n(19);var s=n(9).document,e=i(s)&&i(s.createElement);t.exports=function(t){return e?s.createElement(t):{}}},function(t,i,n){function s(t,i,n){var a=t&s.Jr,c=t&s.Lr,f=t&s.om,l=t&s.hm,v=t&s.Hr;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.Vr),p[d]!=i&&h(p,d,c),l&&m[d]!=i&&(m[d]=i)}var e=n(9),r=n(20),h=n(25),o=n(42),u=n(46);e.rA=r,s.Jr=1,s.Lr=2,s.om=4,s.hm=8,s.Hr=16,s.Vr=64,t.exports=s},function(t,i,n){var s=n(9),e=n(25),r=n(26),h=n(30)("src"),o=n(60),u=(""+o).split("toString");n(20).rC=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){n.d(i,"a",(function(){return r}));var s=n(17),e=function(){function t(){}var i=t.prototype;return i.kv=function(){return this.type=s.a.cm,this},i.Cx=function(){return this.type=s.a.Sr,this},i.cD=function(){return this.type=s.a.Ur,this},i.ND=function(){return this.type=s.a.Xr,this},i.HC=function(){return this.type=s.a.Rr,this},i.Eh=function(t){return this.eventName=t,this},i.data=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.data=1<i.length?i:i[0],this},i.Mo=function(){return new r(this.type,this.eventName,this.data)},t}(),r=function(){function t(t,i,n){this.type=t,this.eventName=i,this.data=n}t.No=function(){return new e},t.clone=function(i){return new t(i.type,i.eventName,i.data)};var i=t.prototype;return i.getType=function(){return this.type},i.kB=function(){return this.eventName},i.getData=function(){return this.data},i.rw=function(){var t={};return t.type=this.type,t.eventName=this.eventName,t.data=this.data,t},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,i,n){var s=n(47);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){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t){t.exports=!1},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(31)("keys"),e=n(30);t.exports=function(t){return s[t]||(s[t]=e(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(t,i,n){var s=n(21),e=n(55),r=n(62);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(32),e=Math.min;t.exports=function(t){return 0<t?e(s(t),9007199254740991):0}},function(t){t.exports="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ")},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){t.exports=n(31)("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(32),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){var s=n(26),e=n(21),r=n(54)(!1),h=n(51)("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,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.dc=null,t.ta()}function r(t){t.dc=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.ix=function(t){var i=this;s.call(t,(function(t){i.Sb(t)}))},i.ta=function(){s.call(this,e)},i.commit=function(){s.call(this,r)},i.Sb=function(t){-1===this.a.indexOf(t)&&this.a.push(t)},i.aA=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.Sb(i[t])},t}()},function(t,i,n){n.r(i),n.d(i,"SESSION_ERROR",(function(){return s})),n.d(i,"SESSION_FINISH",(function(){return e})),n.d(i,"SESSION_START",(function(){return r}));var s="sessionError",e="sessionFinish",r="sessionStart"},function(q,k){function g(t){var i=+(1e6*Math.random()).toFixed(0);return t[i]?g(t):i}function p(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=w,(i=new window.BlobBuilder).append(t),i=i.getBlob()}return window.URL.createObjectURL(i)}var w=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder;k.a=function(){function z(){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 r=!1;try{r=eval("(_ => true)()")}catch(t){}if(!window.Worker||!window.Promise||!r||!window.Blob&&!w)return!1;window.URL=window.URL||window.webkitURL;try{var l=new window.Worker(p(z))}catch(t){return!1}var n={},m={};return l.onmessage=function(t){"setTimeout"===(t=t.data).type&&n[t.id]&&(n[t.id](),delete n[t.id]),"setInterval"===t.type&&m[t.id]&&m[t.id]()},{clearInterval:function(t){delete m[t],l.postMessage({id:t,type:"clearInterval"})},clearTimeout:function(t){delete n[t],l.postMessage({id:t,type:"clearTimeout"})},setInterval:function(t,i){var n=g(m);return m[n]=t,l.postMessage({id:n,timeout:i,type:"setInterval"}),n},setTimeout:function(t,i){var s=g(n);return n[s]=t,l.postMessage({id:s,timeout:i,type:"setTimeout"}),s}}}()||{clearInterval:clearInterval.bind(window),clearTimeout:clearTimeout.bind(window),setInterval:setInterval.bind(window),setTimeout:setTimeout.bind(window)}},function(t,i){i.Kb={}.propertyIsEnumerable},function(t,i,n){n.d(i,"a",(function(){return s}));var s="Stopping ad initiation: start timeout reached"},function(t,i){i.a={Kr:"fullscreen",em:"normal",Jz:"thumbnail"}},function(t,i,n){t.exports=n(102)},function(t,i,n){var s=n(72),e=n(73),r=n(23);i=n(9).Reflect,t.exports=i&&i.ownKeys||function(t){var i=s.Kb(r(t)),n=e.Kb;return n?i.concat(n(t)):i}},function(t,i,n){var s=n(63),e=n(56).concat("length","prototype");i.Kb=Object.getOwnPropertyNames||function(t){return s(t,e)}},function(t,i){i.Kb=Object.getOwnPropertySymbols},function(t,i,n){var s=n(67),e=n(29),r=n(21),h=n(36),o=n(26),u=n(35),a=Object.getOwnPropertyDescriptor;i.Kb=n(13)?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.Kb.call(t,i),t[i])}},function(t,i,n){var s=n(22),e=n(29);t.exports=function(t,i,n){i in t?s.Kb(t,i,e(0,n)):t[i]=n}},,function(t,i,n){function s(t){function i(i){i.forEach((function(i){"HeavyAdIntervention"===i.body.id&&t(i)}))}var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:window;if(n.ReportingObserver){var s=new n.ReportingObserver((function(t){i(t)}),{buffered:!0,types:["intervention"]});s.observe(),n.addEventListener("unload",(function(){i(s.takeRecords())}))}}n.d(i,"a",(function(){return s}))},,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){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){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,Sh:n,$x: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.Eh=i,e.initEvent(i,!0,!0),!t.dispatchEvent(e)):(s(e=e.createEventObject(),t),e.data=n,i.match(/:/)?(e.Eh=i,e.nv="ondataavailable",t.fireEvent(e.nv,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].Sh!==n?u[e++]=u[r]:s=u[r].$x;u.length=e,n=s,document.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent(h(i),n)}},t.Ul=function(i){var n={addEventListener:function(n,s){t.addEventListener(i,n,s)},JC:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.removeEventListener(t[s],i)},KC: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){!function(i){function n(t,i,n,r){return i=Object.create((i&&i.prototype instanceof e?i:e).prototype),r=new l(r||[]),i.jn=function(t,i,n){var e=A;return function(r,h){if(e===T)throw Error("Generator is already running");if(e===S){if("throw"===r)throw h;return d()}for(n.method=r,n.qa=h;;){if((r=n.Of)&&(r=a(r,n))){if(r===j)continue;return r}if("next"===n.method)n.fy=n.Lt=n.qa;else if("throw"===n.method){if(e===A)throw e=S,n.qa;n.bv(n.qa)}else"return"===n.method&&n.mu("return",n.qa);if(e=T,"normal"===(r=s(t,i,n)).type){if(e=n.done?S:_,r.qa===j)continue;return{value:r.qa,done:n.done}}"throw"===r.type&&(e=S,n.method="throw",n.qa=r.qa)}}}(t,n,r),i}function s(t,i,n){try{return{type:"normal",qa:t.call(i,n)}}catch(t){return{type:"throw",qa:t}}}function e(){}function r(){}function h(){}function o(t){["next","throw","return"].forEach((function(i){t[i]=function(t){return this.jn(i,t)}}))}function u(t){var i;this.jn=function(n,e){function r(){return new Promise((function(i,r){!function i(n,e,r,h){if("throw"!==(n=s(t[n],t,e)).type){var o=n.qa;return(n=o.value)&&"object"==typeof n&&b.call(n,"__await")?Promise.resolve(n.Yr).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.qa)}(n,e,i,r)}))}return i=i?i.then(r,r):r()}}function a(t,i){var n=t.iterator[i.method];if(n===p){if(i.Of=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.qa=p,a(t,i),"throw"===i.method))return j;i.method="throw",i.qa=new TypeError("The iterator does not provide a 'throw' method")}return j}return"throw"===(n=s(n,t.iterator,i.qa)).type?(i.method="throw",i.qa=n.qa,i.Of=null,j):(n=n.qa)?n.done?(i[t.ZC]=n.value,i.next=t.IC,"return"!==i.method&&(i.method="next",i.qa=p),i.Of=null,j):n:(i.method="throw",i.qa=new TypeError("iterator result is not an object"),i.Of=null,j)}function c(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.Au=t[3]),this.Zb.push(i)}function f(t){var i=t.Ge||{};i.type="normal",delete i.qa,t.Ge=i}function l(t){this.Zb=[{tryLoc:"root"}],t.forEach(c,this),this.reset(!0)}function v(t){if(t){var i=t[g];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(b.call(t,n))return i.value=t[n],i.done=!1,i;return i.value=p,i.done=!0,i}).next=i}}return{next:d}}function d(){return{value:p,done:!0}}var p,m=Object.prototype,b=m.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},g=y.iterator||"@@iterator",w=y.asyncIterator||"@@asyncIterator",E=y.toStringTag||"@@toStringTag";y="object"==typeof t;var O=i.regeneratorRuntime;if(O)y&&(t.exports=O);else{(O=i.regeneratorRuntime=y?t.exports:{}).Ul=n;var A="suspendedStart",_="suspendedYield",T="executing",S="completed",j={};(i={})[g]=function(){return this},(y=(y=Object.getPrototypeOf)&&y(y(v([]))))&&y!==m&&b.call(y,g)&&(i=y);var I=h.prototype=e.prototype=Object.create(i);r.prototype=I.constructor=h,h.constructor=r,h[E]=r.displayName="GeneratorFunction",O.Qw=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(I),t},O.lA=function(t){return{Yr:t}},o(u.prototype),u.prototype[w]=function(){return this},O.AsyncIterator=u,O.async=function(t,i,s,e){var r=new u(n(t,i,s,e));return O.Qw(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},o(I),I[E]="Generator",I[g]=function(){return this},I.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=v,l.prototype={constructor:l,reset:function(t){if(this.next=this.Wb=0,this.fy=this.Lt=p,this.done=!1,this.Of=null,this.method="next",this.qa=p,this.Zb.forEach(f),!t)for(var i in this)"t"===i.charAt(0)&&b.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=p)},stop:function(){this.done=!0;var t=this.Zb[0].Ge;if("throw"===t.type)throw t.qa;return this.cy},bv:function(t){function i(i,s){return r.type="throw",r.qa=t,n.next=i,s&&(n.method="next",n.qa=p),!!s}if(this.done)throw t;for(var n=this,s=this.Zb.length-1;0<=s;--s){var e=this.Zb[s],r=e.Ge;if("root"===e.tryLoc)return i("end");if(e.tryLoc<=this.Wb){var h=b.call(e,"catchLoc"),o=b.call(e,"finallyLoc");if(h&&o){if(this.Wb<e.catchLoc)return i(e.catchLoc,!0);if(this.Wb<e.finallyLoc)return i(e.finallyLoc)}else if(h){if(this.Wb<e.catchLoc)return i(e.catchLoc,!0)}else{if(!o)throw Error("try statement without catch or finally");if(this.Wb<e.finallyLoc)return i(e.finallyLoc)}}}},mu:function(t,i){for(var n=this.Zb.length-1;0<=n;--n){var s=this.Zb[n];if(s.tryLoc<=this.Wb&&b.call(s,"finallyLoc")&&this.Wb<s.finallyLoc){var e=s;break}}return e&&("break"===t||"continue"===t)&&e.tryLoc<=i&&i<=e.finallyLoc&&(e=null),(n=e?e.Ge:{}).type=t,n.qa=i,e?(this.method="next",this.next=e.finallyLoc,j):this.complete(n)},complete:function(t,i){if("throw"===t.type)throw t.qa;return"break"===t.type||"continue"===t.type?this.next=t.qa:"return"===t.type?(this.cy=this.qa=t.qa,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),j},finish:function(t){for(var i=this.Zb.length-1;0<=i;--i){var n=this.Zb[i];if(n.finallyLoc===t)return this.complete(n.Ge,n.Au),f(n),j}},catch:function(t){for(var i=this.Zb.length-1;0<=i;--i){var n=this.Zb[i];if(n.tryLoc===t){if("throw"===(t=n.Ge).type){var s=t.qa;f(n)}return s}}throw Error("illegal catch attempt")}}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},function(t,i,n){var s=n(33)("unscopables"),e=Array.prototype;null==e[s]&&n(25)(e,s,{}),t.exports=function(t){e[s][t]=!0}},,,,,,,,,,,,function(t,i,n){i=n(104),t.exports="string"==typeof i?i:i.toString()},function(t){t.exports='.vp-main .overlay-wrap{box-sizing:border-box;position:absolute;display:flex;width:100%;padding:10px;font-family:"Helvetica Neue",Helvetica,Arial;font-size:12px;text-shadow:0 1px 1px rgba(0,0,0,.5);color:#fff;word-wrap:break-word;background:rgba(0,0,0,.16);top:15px;opacity:0;transition:opacity .5s;cursor:pointer}.vp-main .overlay-wrap .title h5{margin:2px 2px 0 0;color:#fff;overflow:hidden;font-size:120%}.vp-main .overlay-wrap .title small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:inherit}.vp-main .overlay-wrap .overlay-btn{flex:0 0 auto;align-self:center;padding:10px;margin-left:auto;margin-right:0;background-color:transparent;border:2px solid #fff;border-radius:2px;line-height:12px;color:#fff;cursor:pointer}.vp-main:hover .overlay-wrap{opacity:1}'},,,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(85),s)i.regeneratorRuntime=e;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},function(t,i,n){t=n(41);var s=n(54)(!0);t(t.hm,"Array",{includes:function(t){return s(this,t,1<arguments.length?arguments[1]:void 0)}}),n(86)("includes")},function(t,i,n){(t.exports=n(105)(!1)).push([t.cq,".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){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.sources.map((function(t){return"/*# sourceURL="+s.tD+t+" */"})),[n].concat(i).concat([t]).join("\n")):[n].join("\n"):n}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.cq=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,i,n){function s(t){(t=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?fh(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fh(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},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||E();var i=t.timeout||{};return t.timeout=i,i.hard=i.hard||3,i.start=i.start||12,i.maxAdSearch=i.maxAdSearch||30,t.slot||((i=document.createElement("div")).style.width="100%",i.style.height="100%",t.slot=i),t}function e(t,i){function n(t,n){return t.sort((function(t,s){var e=t.bitrate||t.kg,r=s.bitrate||s.kg;return e===r?t.width>=i?s.width>=i?t.width-s.width:-1:s.width-t.width:n?r-e:e-r}))}return n((t=function(t){return t.reduce((function(t,i){return i.bitrate?900>=i.bitrate?t.low.push(i):t.high.push(i):i.kg?900>=i.kg?t.low.push(i):t.high.push(i):t.Aq.push(i),t}),{high:[],low:[],Aq:[]})}(t)).low,!0).concat(n(t.high)).concat(n(t.Aq))}function r(){this.value=this.Zk=""}function h(t){this.type=t}function o(){this.type=null,this.value=this.mimeType=""}function u(){this.value="",this.uz=!1}function a(){this.height=this.width=null,this.Sl=this.wk=this.vk=this.mr=this.Ag=this.zg="",this.duration=this.offset=null}function c(t){this.type="".concat(t)}function f(){this.cother=this.cm3u8=this.c3gpp=this.cflv=this.cwbm=this.cmp4=this.cswf=this.cjs=0}function l(){this.Yb=[],this.id=this.su="",this.xb=null}function v(){this.name=this.version=""}function d(){this.Tl=this.ml=this.kb=""}function p(){this.vendor="",this.tq=[],this.pp=[],this.Yb=[],this.Rl=[]}function m(){this.value=""}function b(t){this.url=t}function y(t,i){this.type=t.match(/([A-Z]?[^A-Z]*)/g).slice(0,-1).join("_").toLowerCase(),this.value=Cu.za(i)}function g(t,i){var n=this;this.Vf={},i?(this.lang=t.getAttribute("language"),this.jp=Bu[this.lang],this.Vf=Vu()({},t.getAttribute("type").split("/")[1],Cu.za(t))):(this.lang=t.getAttribute("lang"),this.jp=t.getAttribute("displayText"),(Cu.Da(t).Format||[]).forEach((function(t){return n.Vf[t.getAttribute("type")]=Cu.za(t)})))}function w(t){function i(i){return new Ho(i,new t(i))}return i.ca=t.ca.concat(Ho.ca),i}function E(){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 O(){this.xq=this.delay=this.left=this.top=this.height=this.width=0,this.position=""}function A(t,i){function n(){try{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.ci)}catch(t){i.error&&i.error()}var t}var s="undefined"!=typeof XMLHttpRequest&&new XMLHttpRequest,e={},r=!1;i.method=i.method?i.method.toLowerCase():"get",i.async=!1!==i.async,i.ci=i.ci||"",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(Bh.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.cf=200<=s.status&&300>s.status||304===s.status||0===s.status&&s.responseText,e.cf?i.cf&&i.cf(e,s):i.error&&Fh.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.ci=Object(Vh.H)(t),h},end:function(t){return i.complete=t,n(),h},kC:function(t,n){return i.headers[t]=n,h},send:function(t,s){return i.ci=Object(Vh.H)(t),i.complete=s,n(),h}};return h}function _(t,i,n){return new Uh.a((function(s,e){!function(t,i,n,s,e,r){void 0===r&&(r={}),r.cf=n,r.error=s,r.method="get",t&&Hh.dx(t),A(t,r).send(i,e)}(t,i||null,s,(function(t,i,n){e({request:i,response:t,Nl:n})}),null,n)}))}function T(){var t=Object(Vh.h)("div",{class:"adsbox"},document.body);return t.style.height="1px",t.style.width="1px",new Uh.a((function(i){window.setTimeout((function(){i(0===t.offsetHeight),Object(Vh.E)(t)}),100)}))}function S(t){return this.Ka||(this.Ka=_(t||"https://video.adaptv.advertising.com/ad/ads/advertisers/advertisers.txt").then(function(){return!(!Vh.c.safari||!xh.a.Bc())&&T.call(this)}.bind(this),function(){return!0}.bind(this))),this.Ka}function j(t){try{var i=t.document.hasFocus&&t.document.hasFocus()}catch(t){}return i}function I(){this.Eb=!1,(this.Pn=this.ve.shift())?(this.Eb=!0,this.Pn()):(this.hj.forEach((function(t){return t()})),this.hj=[])}function N(t,i){var n={bckt:this.N.Fv()||"",expb:this.N.Yv()||"",expn:this.N.Zv()||""};return n=Object(Vh.B)([this.N.Gp(),this.N.Rc,this.N.Hn,{apid:this.N.fe.utid},n]),i=Object(Vh.H)(i),this.ko=this.ko||this.Pa.yw(),"".concat(this.ko,"/").concat(t,"?").concat(n).concat(i?"&".concat(i):"","&cb=").concat(Math.random())}function M(t){var i=this.U.lb;t={action:t,seq:i?i.xb:"",vid:this.U.lf};var n=!(!i||"youtube"!==i.HD)&&this.U.Za();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 R(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=(new Date).getTime()-this.N.rj,s=this.N.oa,e=this.U.Wg;6e4<n&&(this.Kc.wg("player load time failure","outliers",{edt:n}),n=null),this.Ba("display.gif",{ab:+i,csid:s&&s.playerTemplate&&s.playerTemplate.csid||null,dt:n,h:t.height,itg:e,sact:this.N.Gd,spaceid:this.fc.ed(),w:t.width})}function D(t){Object(Vh.z)(t)?window.open(t,"_blank"):io.error("Failed to open new tab due to invalid url",t)}function k(t){var i=so[t];if(void 0===i){try{var n=no&&"function"==typeof no.canPlayType&&!(Vh.q&&t&&0<=t.indexOf("video/3gpp"))&&(!t||no.canPlayType(t))}catch(t){n=!1}i=!!n,so[t]=i}return i}function L(){return!!ao&&!!oo[ao.fullscreenEnabled]}function C(){return!!oo[ao.fullscreenElement]}function P(t,i){this.Hu(t),this.jz(t,i),this.yg(t),this.vl(t)}function x(t,i,n){i=t+(i?i.id:""),-1===this.Xj.indexOf(i)&&(this.Ba(t,n),this.Xj.push(i))}function U(t){var i=this.ck.vw(t);this.ne=this.ne||0,this.ne<i&&4>i&&(this.ne++,F.call(this),U.call(this,t))}function V(t){var i=this.ck.Vv(t);this.me=this.me||0,this.me<i&&10>i&&(this.me++,B.call(this),V.call(this,t))}function B(){this.Uc.Yy({progress:this.me},this.rh),this.kh&&this.kh.dispatchEvent("trackDecile")}function F(){var t={progress:this.ne};this.Uc.Pl(t,this.rh),this.kh&&this.kh.dispatchEvent("trackQuartile",t)}function z(){this.Ae.uk(),this.Uc.Uy(this.rh)}function H(){var t=this.Vs.hb();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 G(t){t=t[t.length-1].intersectionRatio,isNaN(t)||(this.Vg&&Y.call(this),this.fk=Math.round(100*t))}function Y(){this.Vg&&(Fh.a.clearTimeout(this.Vg),delete this.Vg)}function q(){var t=xh.a.Ph(window),i="moatApiInit".concat(+new Date),n=new _o,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.mb.Qd(s),n.Ka}function W(t,i){this.Qg===t?this.Hf=i:i.destroy()}function X(){var t=this.N.Rc;t=t?Object(Vh.g)(t):{};var i=this.N.fe,n=this.U.Oh(),s=this.N.Nh();return i&&(t.APID=i.GD),t.width=n.width,t.height=n.height,t["p.vw.active"]=this.Fb.isVisible()?1:0,t["p.vw.viewable"]=this.Fb.cg(),t["p.vw.viewableOpportunity"]=this.Fb.Ca(),t.moatViewableOpportunity=this.Fb.Ca(),t.adapViewableOpportunity=this.Fb.Ca(),t.r=xh.a.fd(window),t.ps="html5-vpaid",t.plseq=this.U.dk+1,t.sid=this.N.Ok(),t.vvuid=this.N.tf.vvuid,t.lookahead=!0,s&&(t.euconsent=s.gdprConsentData,t.gdpr=Number(s.gdprApplies),t.isOathFirstParty=s.isOathFirstParty),t}function Z(t,i){"function"==typeof t.setAttribute&&t.setAttribute(i,"")}function Q(t){"function"==typeof t.getAttribute&&t.getAttribute("playsinline")||Z(t,"playsinline"),"function"==typeof t.getAttribute&&t.getAttribute("webkit-playsinline")||Z(t,"webkit-playsinline")}function J(){return Object(Vh.H)({bcid:this.N.je,pid:this.N.Fd})}function K(){this.dispatchEvent("VideoProgressEvent",{buffered:this.R.buffered,duration:this.getDuration(),waiting:3>this.R.readyState})}function $(){this.dispatchEvent("VideoLoadEvent")}function tt(){var t={duration:this.getDuration()},i=this.W===Xo.PAUSED,n=this.W===Xo.LOADING;this.W=Xo.PLAYING,i?this.dispatchEvent("VideoResumeEvent",t):(n&&this.dispatchEvent("VideoStartEvent",t),this.dispatchEvent("VideoPlayEvent",t))}function it(){this.dispatchEvent("VideoTimeUpdateEvent",{buffered:this.Jv(),currentTime:this.getCurrentTime(),duration:this.getDuration(),durationWithoutAds:0})}function nt(){this.R.paused&&!this.R.ended&&(this.W=Xo.PAUSED,this.dispatchEvent("VideoPauseEvent"))}function st(){this.dispatchEvent("VideoWaiting")}function et(t){this.W!==Xo.IDLE&&(this.W=Xo.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.R.error&&this.R.error.code)||null;t=(t=t&&t.data&&t.data.message)||this.R.error&&this.R.error.message,this.dispatchEvent("VideoErrorEvent",{code:i,message:"Can't play video ".concat(this.R.currentSrc,": ").concat(i," : message: ").concat(t||null)})}function ht(){this.isMuted()||0===this.R.volume||(this.ya=this.R.volume),this.dispatchEvent("VideoVolumeChangedEvent",{muted:this.isMuted(),volume:this.getVolume()})}function ot(){this.dispatchEvent("VideoClickEvent")}function ut(){var t=this;this.gk&&clearTimeout(this.gk),this.va.removeEventListener("volumechange",ht,this),this.gk=setTimeout((function(){t.gk=null,t.va.addEventListener("volumechange",ht,t)}),100)}function at(){Object(Vh.t)(this.R)&&(ht.call(this),ut.call(this))}function ct(t){function i(){var i=new window.Hls;i.loadSource(t),i.attachMedia(n.R)}var n=this;this.R.load(),window.Hls?i():this.mb.Qd(this.Pa.aw()).then(i)}function ft(t,i){if(this.Dn=!1,this.R=i,this.va&&(this.va.Sq(),delete this.va),this.va=new Wo(this.R),this.setVolume(this.ya),this.va.addEventListener("loadstart",$,this),this.va.addEventListener("progress",K,this),this.va.addEventListener("timeupdate",it,this),this.va.addEventListener("pause",nt,this),this.va.addEventListener("waiting",st,this),this.va.addEventListener("ended",et,this),this.va.addEventListener("abort",et,this),this.va.addEventListener("error",rt,this),this.va.addEventListener("volumechange",ht,this),this.va.addEventListener("click",ot,this),this.va.addEventListener("playing",tt,this),Object(Vh.u)(t)&&!k("application/vnd.apple.mpegurl"))ct.call(this,t);else try{this.R.setAttribute("src",t),this.R.load()}catch(t){}return this.W=Xo.LOADING,!1}function lt(t){if(this.W!==Xo.IDLE)if(this.isMuted()){("function"==typeof this.R.getAttribute?this.R.getAttribute("playsinline"):void 0)||this.Dn?t===this.Mt&&rt.call(this,{data:{code:5}}):(this.Dn=!0,"function"==typeof this.R.setAttribute&&this.R.setAttribute("playsinline",""),this.play())}else this.W=Xo.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.Hm[t.Va]=t}))}function dt(t,i){var n=this;this.Jb.Sb(Bo.a.bind(t,i,(function(){"clickThru"===n.type&&n.Ba()})))}function pt(t,i){var n="0.0.132".includes("-pr");return t="".concat(t).concat("player/vrm-plugin","/").concat("0.0.132","/"),n&&(t="".concat(i).concat("player/vrm-plugin","/").concat("0.0.132","/")),t}function mt(t){return{adSessionId:this.js,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"}},verificationParameters:this.Ed.Rl[0]&&this.Ed.Rl[0].value},timestamp:+new Date,type:t}}function bt(t){this.Gt&&this.ic.gy(mt.call(this,t)),wt.call(this,t)}function yt(){this.ic&&this.ic.Fe()}function gt(){bt.call(this,Zu.SESSION_FINISH)}function wt(t){var i=mt.call(this,t);this.nb[t]?this.ic.np(t,i):(this.ke[t]||(this.ke[t]=[]),this.ke[t].push(i))}function Et(t){var i=this;this.nb[t]||(this.nb[t]={}),this.ke[t]&&(this.ke[t].forEach((function(n){return i.ic.np(t,n)})),delete this.ke[t])}function Ot(){this.Gt=1,bt.call(this,Zu.SESSION_START)}function At(){var t=this;this.Na.addEventListener(ia.td,(function(i){wt.call(t,i.Td)})),this.V.addEventListener(zo.od,gt.bind(this))}function _t(t){var i=this;this.Ob=this.mb.createElement("iframe");var n=pt(jo.a["cdn.url"],jo.a["cdn.url.dev"]);return n="".concat(n,"xdomain-adverifications.html?id=").concat(sa++),this.Ob.id="$adverificationloaderframe".concat(sa),this.Ob.style.display="none",this.ic=new ta(this.Ob,t),this.Ob.onload=function(){i.ic.rv(Ot.bind(i),Et.bind(i)),i.ic.ry(yt.bind(i)),i.ic.mc(),i.ic.Qd()},this.Ob.src=n,document.body.appendChild(this.Ob),this.ic.Bf.Ka}function Tt(){var t=this;if(0<this.Ed.Yb.length){var i=new Fu("verificationNotExecuted");i.Je=this.Ed.Yb.map((function(i){return i.url.replace(/\[REASON]/g,t.ej)})),this.Na.dispatchEvent(i)}}function St(){var t=this;this.scripts.forEach((function(i){return i.prepare(t.Jb,t.ad,t.S)}))}function jt(){var t=this;this.pr.forEach((function(i){return i.prepare(t.Jb,t.ad,t.S)}))}function It(){var t=this;this.hp.forEach((function(i){return i.prepare(t.Jb,t.hz)}))}function Nt(){var t=this;this.Uf.forEach((function(i){return i.prepare(t.S)}))}function Mt(){var t=this;this.Eo.forEach((function(i){t.Uh.Ya(ea).prepare(i,t.ad)}))}function Rt(){this.Jb&&(this.Jb.ta(),this.Jb=null)}function Dt(){this.xk.replace=!0,this.xk.type="Overlay",this.px=this.Lj.gh.aegOverride,this.Lj.dr(this.xk),Bo.a.group(Bo.a.Xa(this.S,oa.LOADED,kt.bind(this)),Bo.a.Xa(this.S,oa.Gg,kt.bind(this))),this.qx=this.S.ha.ul,this.S.ha.ul="00:00:01"}function kt(){this.Lj.dr(this.px),this.S.ha.ul=this.qx}function Lt(){"url"===this.Zx?(this.value=this.S.Pb.resolve(this.value),this.Qf.Qd(this.value)):this.Kt=this.Qf.Hw(this.value)}function Ct(){Object(Vh.E)(this.Kt)}function Pt(){return this.ad.lc.filter((function(t){return"one_video_inventory_attributes"===t.type}))[0]}function xt(t,i){var n=this;this.Jb.Sb(Bo.a.bind(this.S,t,(function(){clearTimeout(n.Jo),n.Jo=setTimeout(n.Ba.bind(n),n.timeout),n.Jb.Sb(Bo.a.Xa(n.S,i,Ut.bind(n))),n.Jb.Sb(Bo.a.bind(n.S,zo.od,Ut.bind(n)))})))}function Ut(){clearTimeout(this.Jo)}function Vt(t,i){return t.Lo-i.Lo}function Bt(t,i){switch(t){case 0:return!1;case 1:return!0;default:return i}}function Ft(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new xu(i))})),t}function zt(t,i){return t[i]&&t[i][0]?Cu.Da(t[i][0]).rule.map((function(t){return new Na(t,i)})):[]}function Ht(){var t=[],i=this.bd(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 Gt(t,i){return t?Ht.call(this,Cu.Da(t[0])[i],i):[]}function Yt(t,i){i.forEach((function(i){(i=i.url)&&t.Je.push(i)}))}function qt(t){return this.Ia.filter((function(i){return i.__proto__===t.__proto__}))[0]}function Wt(t,i,n,s){var e=this;t&&t.Yb&&t.Yb.forEach((function(t){var r;if(r=t.type===n&&t.url){var h=Bh.a.trim(t.offset||"");s&&s.Td===fa.PROGRESS&&h?(r=s.data||{}).duration?(h=-1===h.indexOf("%")?Object(Vh.K)(h):r.duration*Number(h.substr(0,h.length-1))/100,(r=r.currentTime>=h&&-1===e.io.indexOf(t))&&e.io.push(t)):r=!1:r=!0}r&&(r=t.url,function(t){return 0<lc.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 Xt(t){var i=t.clone();t.qy(i),this.dispatchEvent(i)}function Zt(t,i){throw new $o(t,i||gu)}function Qt(t,i){return-1<(i?Fc:Fc.concat(["All"])).indexOf(t)}function Jt(){this.Jc=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).concat(),this.qe.debug("Register",this.Jc);var t=(new Date).getTime();this.Jc.forEach((function(i,n){return i.Af="".concat(t,"_").concat(n)}))}function Kt(t,i){this.qe.warn("Unable to release",t,"(Reason: ".concat(i,")"))}function $t(t,i){var n=this,s=t.aeg||[];this.N.hy({audiences:[],utid:this.rs});var e=[];return s.forEach((function(s){var r=[];s.forEach((function(s){try{if(s instanceof zc)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.Yt||t.txid,s.adxResult=n.ee||t.adxResult,s.usid=n.qh||t.usid,s.auid=n.Xi||t.auid,s.parentSlot=t.slot,e=Gc.parse(s,n.ha,n.O.T("adSystem"));r.push(e)}catch(t){Zc.error("Error in entry parsing logic: ".concat(t.message))}})),e.push(r)})),e}function ti(t){return"Midroll"===t||"Overlay"===t}function ii(t){var i=this;this.zc={};var n={};return t.forEach((function(t){var s=t.type;ti(s)&&(i.zc[s]||(i.zc[s]={}),i.zc[s][t.time]||(i.zc[s][t.time]=[]),i.zc[s][t.time].push(t),n[s]||(n[s]=""),n[s]+="".concat(t.time,";"))})),n}function ni(t){t.forEach((function(t){t.type=Bh.a.Po(t.type),t.slots&&t.slots.forEach((function(t){t.type=Bh.a.Po(t.type)}))}))}function si(t){var i=this,n=t.filter((function(t){return t.type===i.Fa}));return t=t.filter((function(t){return t.type!==i.Fa&&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.Yj=n.length,n.concat(t)}function ei(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 ri(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.Ra=[],i.forEach((function(i){var n=[];i.forEach((function(t){var i=new Xc(t);i.Xd="aem_".concat(nf++),t.forEach((function(t){return t.Xd=i.Xd})),n.push(i)})),t.Ra.push(n)}))}function hi(){this.Ra=this.Ra.filter((function(t){return 0<t.length}));for(var t=0;t<this.Ra.length;t++)this.Ra[t]=this.Ra[t].filter((function(t){return 0<t.size()}))}function oi(t){if(this.hk)for(;0<t.length&&t[0].getEntries()[0].Jw();)t.splice(0,1)}function ui(){var t=this;this.Ra=this.Ra.filter((function(t){return 0<t.length}));for(var i=0;i<this.Ra.length;i++)this.Ra[i]=this.Ra[i].filter((function(i){return 0<i.getEntries().filter((function(i){return!t.Wm[fi(i)]})).length}))}function ai(t){ri.call(this),this.V.dispatchEvent(new oa(oa.Gg,{error:t,jb:su}))}function ci(t,i){var n=this;this.yj.load(t,i).then((function(i){return li.call(n,i,t)}),ai.bind(this))}function fi(t){return t&&t.Xd&&t.Af?"".concat(t.Xd,".").concat(t.Af):null}function li(t,i){try{var n=this.yt.parse(t,i),s=new oa(oa.LOADED,n,i,t&&t.timings,t&&t.podSize,t&&t.defaultSlot,t&&t.version);ri.call(this,s.data.Yz),this.V.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,ll()(t.slice(0,s))),i.push(new vl(t,e))})),new pl(i)}function di(t,i){return new pl([new dl(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.N.Tb(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.N.Tb(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=this.U.lb||{}).metadata&&i.metadata[t])}function yi(){var t=this.U.Oh()||{};return{height:parseInt(t.height,10)||0,width:parseInt(t.width,10)||0}}function gi(){return this.U.lb||{}}function wi(t,i,n){var s=this,e=this.ha.gd;this.M.dispatchEvent(new Fo(_l,{ad:this.Y,url:t}));var r=(new Date).getTime();return this.Ln?_(t,null,{timeout:e,withCredentials:!0}).then((function(n){return Oi.call(s,i,n,t,0)}),(function(h){var o=(new Date).getTime()-r;return e<=o?Oi.call(s,n,h,t,0):Ei.call(s,t,e-o,i,n)})):this.no?_(t,null,{timeout:e,withCredentials:!0}).then((function(n){return Oi.call(s,i,n,t,0)}),(function(i){return Oi.call(s,n,i,t,0)})):Ei.call(this,t,e,i,n)}function Ei(t,i,n,s){var e=this;return _(t,null,{timeout:i}).then((function(i){return Oi.call(e,n,i,t,1)}),(function(i){return Oi.call(e,s,i,t,1)}))}function Oi(t,i,n,s){if(this.M.dispatchEvent(new Fo(Tl,{ad:this.Y,url:n})),t)return t(i,s,n)}function Ai(t){Ni.call(this,Mu),_i.call(this),Si.call(this,new gl("Loading timeout ".concat(t," ms is exceeded"),t),Mu)}function _i(){var t={ads:[],Sd:this.vj};this.ik&&this.ik(t),this.ak=t}function Ti(t,i,n){this.pa.Ze(t,i,n,this.Nm),this.M.dispatchEvent(new Fo(zo.$l,{ad_url:this.po}))}function Si(t,i){if(!1!==this.pe){Fh.a.clearTimeout(this.ao),this.pe=!1,Sl.warn("interruptOnError",t);var n=(new Date).getTime()-this.hf;Ti.call(this,this.ak,i,n);var s=t instanceof Ko?t.message:t;t=t instanceof gl?t.qr:null,i=new wl(s,"No ads provided"===s?wl.pm:wl.Mi,t,t?Mu:i),this.Se&&this.Se(i,n)}}function ji(t,i){return this.vj=t?this.bk.Xp(t,this.wo):this.po=this.bk.Xp(null,this.wo),this.ik=i,this.bk.Rx(this.vj,function(t,n,s){if(!1!==this.pe){var e=t.data;if(this.Nm=n,e||(e=t.text),!Bh.a.Vh(t.text))return this.Ax(e,i,s);this.Nd("Empty VAST error",null,ru)}}.bind(this),function(t,i,n){!1!==this.pe&&(this.Nm=i,i=hu,t.Nl?i=iu:xh.a.Bc()&&0!==n.indexOf("https:")&&(i=bu),_i.call(this),this.Nd("VAST ajax error",t.Nl?"request timeout":null,i))}.bind(this))}function Ii(t){t.ads.sort((function(t,i){return t.xb-i.xb}))}function Ni(t){this.eb&&(this.dispatchEvent("ISSUE_WITH_AD",t),this.eb.av(this.tb,t))}function Mi(t){return t.ads=t.ads.filter((function(t){return t instanceof Rc||(t.Ia=(t.Ia||[]).filter((function(t){return t instanceof hc||t.Qe&&0<t.Qe.length})),t.Ia&&0<t.Ia.length)})),t}function Ri(t){var i=this;return 0!==t.ads.length||(t.Ie&&t.Ie.forEach((function(t){i.Kc.Xc(t.url.replace(/\[ERRORCODE\]|%5BERRORCODE%5D|\{errNo\}/g,"303"))})),(t=0<this.De&&fu)?Ni.call(this,t):t=lu,this.Nd("No ads provided",null,t),!1)}function Di(t){var i=this;return this.De+=1,this.sf.ads.splice(t,1),this.wo=this.eb.Kf,this.eb.Ee&&this.ie.br(this.eb.Ee),8>=this.De?(this.eb.Pq(this.tb,{},this.N.gg()),ji.call(this,this.eb.To.url,(function(t){i.eb.Eu(t),i.eb.Ix(t,i.eb),t.parent=i.sf,t.Cc=i.eb,i.ik=null}))):(this.sf=null,Ni.call(this,Nu),this.Nd("Max number of wrapper redirects ".concat(8," is exceeded"),null,Nu),null)}function ki(t,i){var n=t.Cc,s=new Fu(Fu.bb,null,null,{error:i});return n.dispatchEvent(s),this.tb.ng(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.Th[0].url}catch(t){s=null}s&&n.push(s),n.forEach((function(t){t=t.replace(Rl,"");var n=/\?/.test(t)?"&":"?";t=/&cb=[^&]*?/.test(t)?t:"".concat(t).concat(n,"cb=[CACHE_BUSTER]"),i.jo.Xc(i.M.Pb.resolve(t))})),Dl=n}function Ci(t){return!!t&&0<Dl.filter((function(i){return t.replace(/(https?:)?/,"").replace(/&cb=[^&]*/,"").replace(/&apid=\[object\sObject]/,"&apid=[APID]").replace(/;ord=[^;]*/,";ord=[timestamp]")===i})).length}function Pi(t,i){var n=this;t.Je.forEach((function(s){if(!Ci.call(n,s)){if(s=n.M.Pb.resolve(s),t.type===Fu.bb){var e=yu;i&&"Overlay"===i.getType()&&(e=uu),e=t.data.error||e;var r=encodeURIComponent((t.data.details||"").slice(0,100));s=vi([fc.concat(e.code),hf.concat(e.xa),al.concat(r)]).resolve(s)}n.jo.Xc(s)}}))}function xi(t,i){for(;t;)Pi.call(this,t,i),t=t.Lv()}function Ui(){0===this.If.length&&(this.reset(),this.Im&&this.Im())}function Vi(){var t=this;this.um||(this.P.Bh(),this.um=setTimeout((function(){return t.um=null}),100))}function Bi(t){this.md(t.message,t.code)}function Fi(){this.W=xl.PAUSED,this.track(fa.PAUSE),this.P.Eq()}function zi(t){this.P.$h(t),!0===t.muted?this.track(fa.MUTE):this.track(fa.UNMUTE)}function Hi(){this.P.wx()}function Gi(){this.W=xl.PLAYING,this.track(fa.RESUME),this.P.Gq()}function Yi(t){this.P.cz(t.url)}function qi(t){t.complete&&this.sb(fa.COMPLETE),this.da.Vq(),this.W=xl.uc,this.Oa.ta(),this.P.complete(!1,t)}function Wi(){this.Al(),this.W=xl.PLAYING}function Xi(){this.qf||(this.pa.Il((new Date).getTime()-this.cs),this.Al(),this.sb(fa.START),this.rl(),this.lg())}function Zi(t){this.P.Zh(t),this.Pl(this.da.Uv())}function Qi(t){var i=this;(this.Wj=this.Wj||t.data.skippable)&&(this.xe=sn.call(this,t),null!==this.xe&&(Bo.a.Xa(this.M,zo.od,Ki.bind(this)).link(this.Ma),0<this.xe&&(this.Gj=Ji.bind(this),this.M.addEventListener(zo.Wd,this.Gj)),tn.call(this),0<this.xe?en.call(this,this.xe):nn.call(this),setTimeout((function(){return Object(Vh.F)(i.Rb,"collapse-skip-button","expand-skip-button")}),800)))}function Ji(t){var i=Math.floor(t.data.currentTime);0<this.Uj&&this.xe-this.Uj<i&&(0>=(i=this.xe-i)?nn.call(this,t):en.call(this,i))}function Ki(){this.Gj&&this.M.removeEventListener(zo.Wd,this.Gj),Object(Vh.F)(this.Rb,"expand-skip-button","collapse-skip-button"),Object(Vh.D)(this.Rb,"skippable"),this.Yd=!0}function $i(){this.Yd&&(this.M.skip(),Object(Vh.D)(this.Rb,"skippable"),this.Yd=!1)}function tn(){if(!this.Rb){var t=this.Og.querySelector("#".concat("ad-skip-button"));t?(this.Rb=t,this.Tj=this.Rb.querySelector("#".concat("ad-skip-button-text"))):(this.mb.lp(Bl.a),Object(Vh.a)(this.Og,"ad-skip-button-container"),this.Rb=Object(Vh.h)("div",{id:"ad-skip-button"},this.Og),this.Tj=Object(Vh.h)("div",{id:"ad-skip-button-text"},this.Rb))}}function nn(t){if(!this.Yd){var i="";this.Nt&&(i="| ".concat(Math.round((t?t.data.duration:0)-(t?Math.floor(t.data.currentTime):0)))),this.Tj.innerHTML=this.Qt.replace("%t",i).trim(),Object(Vh.a)(this.Rb,"skippable"),this.Yd=!0,Bo.a.Xa(this.Rb,Vh.c.Wh()?"touchend":"click",$i.bind(this)).link(this.Ma)}}function sn(t){var i=t.data;t=i.duration;var n=i.skipOffsetTime;i=i.skipOffsetPercent;var s=this.Ot;return n||0===n?s=n:(i||0===i)&&(s=~~(t*i/100)),s<Math.min(this.kt,t)?s:null}function en(t){this.Yd||(this.Uj=t,this.Tj.innerHTML=this.Xt.replace("%d",this.Uj))}function rn(){var t=this;this.subscribe((function(i){t.W=i.data}),"statechange")}function hn(t){var i=this.mj[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=[[Yl.i,Cn],[Yl.a,jn],[Yl.b,Tn],[Yl.c,bn],[Yl.d,An],[Yl.e,Sn],[Yl.f,In],[Yl.h,Ln],[Yl.j,gn],[Yl.k,Fn],[Yl.l,ln],[Yl.n,_n],[Yl.o,Vn],[Yl.p,Pn],[Yl.q,Un],[Yl.s,wn],[Yl.t,On],[Yl.u,En],[Yl.v,kn],[Yl.w,Mn],[Yl.x,Rn],[Yl.y,Nn],[Yl.z,Dn],[Yl.A,Bn],[Yl.g,Gn],[Yl.r,yn]],n=this;this.Cs={addEventListener:function(t,i){n.mj[t]=i,fn.call(n,"subscribe",hn.bind(n,t),t,n)},removeEventListener:function(t){delete n.mj[t];try{fn.call(n,"unsubscribe",hn,t)}catch(t){}}},i.forEach((function(i){return un.call(t,i[0],i[1])})),this.Ug=0}function un(t,i){var n=this;this.le.link(Bo.a.bind(this.Cs,t,(function(){try{if(-1!==nv.indexOf(t)){if(-1!==n.Um.indexOf(t))return void n.P.dispatchEvent(new Fo(ql.rm,t));n.Um.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){$l.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.Jt.dispatchEvent(i)}function cn(t){this.element.style.visibility=t?"visible":"hidden"}function fn(t){if(this.Ha)try{for(var i=this.Ha[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.Ha,s):this.Ha.Yc(t,s)}catch(i){$l.error(t,i)}}function ln(){this.P.Gq()}function vn(){this.fn=(new Date).getTime(),this.wj=this.fn-this.Hd,this.pa.Hl(this.wj),fn.call(this,"subscribe",an.bind(this),"mousemove"),fn.call(this,"subscribe",an.bind(this),"mouseover"),L()&&oo.addEventListener(ao.fullscreenchange,this.Ym)}function dn(t){$l.error(t);var i=mn.call(this);this.error=pn(i,t),this.lj&&(this.lj.call(this,this.error),this.$g===_u&&this.lj.call(this,pn(this.$g,t))),this.vp()}function pn(t,i){return{ea:t.ea,code:t.code,description:"".concat(t.description," ").concat(i),Md:t.Md,xa:t.xa}}function mn(t){var i=this.$g||tv;return this.Qb&&!this.Ha?i=Ru:this.Ha&&!this.Pc?i=t?Ou:Eu:this.Pc&&!this.Gb?i=t?ju:Su:this.Gb&&(i=Tu),i}function bn(t){t=Object(Vh.y)(t)?Object(Vh.y)(t.data)?t.data.message||t.data.errorMessage:"Internal Vpaid Error":t,$l.warn("VPAID_UNIT:",t),-1===iv.indexOf(t)?this.md(t):this.stop()}function yn(t){this.P.Zh(t),t=this.Me(),this.P.dispatchEvent(new Kl(1e3*t))}function gn(){}function wn(){var t=fn.call(this,"getAdLinear");this.track(fa.ACCEPT_INVITATION),this.P.dispatchEvent(new Fo("VASTAdInteraction",t?"acceptInvitationLinear":"acceptInvitation"))}function En(){this.track(fa.COLLAPSE)}function On(){var t=fn.call(this,"getAdLinear");this.track(fa.CLOSE),this.P.dispatchEvent(new Fo("VASTAdInteraction",t?"closeLinear":"close"))}function An(){fn.call(this,"getAdExpanded")?(this.track(fa.EXPAND),this.P.dispatchEvent(new Fo("VASTAdInteraction","expand"))):(this.track(fa.COLLAPSE),this.P.dispatchEvent(new Fo("VASTAdInteraction","collapse")))}function _n(){}function Tn(){}function Sn(){var t=this;this.qf||(xn.call(this),this.Al(),this.lg(),this.rl(),(this.gl()||"Overlay"===this.Fa)&&cn.call(this,!0),setTimeout((function(){return t.St=!0}),500))}function jn(t){var i=null,n=!1,s=!1;t.data&&t.data.playerHandles&&(i=(n=!!t.data.playerHandles)&&t.data.url,s=n&&!!i),this.P.Bh(i,s,!n)}function In(){this.P.dispatchEvent(new Fo("VASTAdInteraction"))}function Nn(){this.sb(fa.START)}function Mn(){this.sb(fa.FIRST_QUARTILE)}function Rn(){this.sb(fa.MIDPOINT)}function Dn(){this.sb(fa.THIRD_QUARTILE)}function kn(){this.sb(fa.COMPLETE),Un.call(this)}function Ln(){var t=fn.call(this,"getAdLinear");t!==this.uj&&(this.uj=t,this.P.ig(t))}function Cn(){this.Pc=!0,this.tj=(new Date).getTime()-this.fn,this.pa.Gl(this.tj),this.ks=(new Date).getTime(),this.setVolume(this.ya),this.P.dispatchEvent(new Fo(zo.Pi,{nc:this.P.ad&&this.P.ad.nc||""}))}function Pn(){xn.call(this),this.setVolume(this.ya),this.tp()}function xn(){this.oh||(this.oh=(new Date).getTime()-this.ks,this.pa.Kl(this.oh))}function Un(){this.Bs||(this.Bs=!0,this.qf||this.jc||(this.error=Iu),this.ph&&clearTimeout(this.ph),this.dispose(),this.P.complete(!1,{currentTime:this.getCurrentTime()}))}function Vn(){this.M.dispatchEvent(new Fo(zo.wi)),this.vp()}function Bn(){var t=this.getVolume();if(t!==this.ya&&this.Gb){var i=!t;i?this.track(fa.MUTE):this.track(fa.UNMUTE),this.ya=t,this.P.$h({muted:i,volume:this.ya})}}function Fn(){this.P.Eq(),!this.St&&0<this.getVolume()&&!this.xf&&(this.setVolume(0),this.resume())}function zn(t){switch(t.type){case Wl.b:dn.call(this,"function getVPAIDAd does not exist");break;case Wl.c:dn.call(this,"getVPAIDAd() does not return a creative");break;case Wl.a:dn.call(this,"API function ".concat(t.name," is missing"));break;case Wl.d:this.$g=this.Zs?_u:Au,dn.call(this,"Vpaid url ".concat(t.url," is unavailable"));break;default:this.md("Error with vpaid: ".concat(t))}}function Hn(){C()?(this.sb(fa.FULLSCREEN),this.sb(fa.PLAYER_EXPAND)):(this.sb(fa.EXIT_FULLSCREEN),this.sb(fa.PLAYER_COLLAPSE)),this.resize()}function Gn(t){return Yn.apply(this,arguments)}function Yn(){return(Yn=Xu()(qu.a.mark((function t(i){var n,s,e,r;return qu.a.Ul((function(t){for(;;)switch(t.Wb=t.next){case 0:n=JSON.parse(i.data),s=n.body,e="".concat(s.id," ").concat(s.message),r={adl:this.pa.Ih(),crid:this.P.Ea.id,ecode:"600-1",estring:e,mf_bit:this.P.Hh(),mf_url:this.Ac,ms_lat:this.pa.Rp()},this.M.dispatchEvent(new zo(zo.ti,this.Fa,r)),0===s.message.indexOf("Ad was removed")&&this.md(e);case 5:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function qn(t){this.gn=!0,this.Ld(Fu.bb,{error:t},!0)}function Wn(){this.Pc||this.Te(new Ko("ad engine did not finish loading")),this.dispatchEvent(new zo(zo.Ud,this.ba.getType(),{Zc:this.Za(),Sf:this.jj,error:this.gw(),loaded:this.Pc}))}function Xn(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.xr?i.xr===t?i.level:"error":i.level||"error"}function Zn(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],n=(i=qo()(i,2))[0];if(i=i[1],n&&i)return Array.isArray(i)||(i=[i]),i.map((function(i){var s=t.O.Ya(uv);return s.addEventListener(uv.nm,(function(){n(i)})),s.Jl(i),s}))}function Qn(t){var i=Zn.call(this,t.cf),n=Zn.call(this,t.mz);return t=Zn.call(this,t.lz),n=i.concat(n,t),this.Yn=i[0],n.filter((function(t){return t}))}function Jn(){return this.Na.lc.filter((function(t){return"ViewabilityRules"===t.type}))[0]}function Kn(){var t=[],i=this.Na.lc.filter((function(t){return"Viewability3P"===t.type}))[0],n=this.Na.lc.filter((function(t){return"adaptv_iab_viewable_beacons"===t.type}))[0];return n&&(t=t.concat(n.yr)),i&&(t=t.concat(i.nz)),t}function $n(t,i){var n=this;this.hu.filter((function(i){return i.type===t})).forEach((function(t){var s=[];i&&s.push([Av,i.Ce]),t.prepare(null,n.M,s),t.Ba()}))}function ts(t){var i=this;this.Na.nd.forEach((function(n){var s=n.kb,e=n.ml;if(n=n.Tl,"iab_viewable"===t&&s)return s.Ba();if("iab_detection_failed"===t){if(n&&-1===i.pj.Ca())return n.Ba();if(e)return e.Ba()}}))}function is(t,i){this.Na.dispatchEvent(new Fu(t,this.Ha)),$n.call(this,t,i),!this.Na.nd||"iab_viewable"!==t&&"iab_detection_failed"!==t||ts.call(this,t)}function ns(){this.P.Bh()}function ss(){this.qj.ta(),Object(Vh.E)(this.element)}function es(t){t.data.currentTime>this.icon.offset&&(this.P.dg.appendChild(this.element),0===this.icon.duration&&this.P.removeEventListener("VASTAdTimeUpdate",this.Ml)),0<this.icon.duration&&t.data.currentTime>this.icon.offset+this.icon.duration&&(Object(Vh.E)(this.element),this.P.removeEventListener("VASTAdTimeUpdate",this.Ml))}function rs(){var t="string"==typeof this.icon.Ag?this.icon.Ag.toLowerCase():"";switch("string"==typeof this.icon.zg?this.icon.zg.toLowerCase():""){case"left":this.element.style.left="0px";break;case"right":this.element.style.right="0px";break;default:"number"==typeof this.icon.zg&&(this.element.style.left="".concat(this.icon.zg,"px"))}switch(t){case"bottom":this.element.style.bottom="0px";break;default:this.element.style.top="".concat("number"==typeof this.icon.Ag?this.icon.Ag:0,"px")}}function hs(t){this.yd.Xc(t)}function os(t){return-1!=="".concat(t).indexOf("%")}function us(t,i){var n={height:i,width:t,x:0,y:0};this.kd()&&(this.wb.position=O.Ji),n.x="calc(50% - ".concat(t/2,"px)"),n.y="calc(50% - ".concat(i/2,"px)");var s=this.fa.offsetWidth,e=this.fa.offsetHeight;switch(this.wb.position){case O.Ji:n.y=0;break;case O.lm:n.x="calc(100% - ".concat(t,"px)");break;case O.jm:n.y="calc(100% - ".concat(i,"px)");break;case O.km:n.x=0;break;case O.Hi:this.fa.parentNode&&s===this.fa.parentNode.offsetWidth&&(e=this.fa.parentNode.offsetHeight),os(this.wb.left)?n.x=parseFloat(this.wb.left)*s/100:n.x=this.wb.left,n.x-=t/2,os(this.wb.top)?n.y=parseFloat(this.wb.top)*e/100:n.y=this.wb.top,n.y-=i/2}return n}function as(t){return 0<Lv.filter((function(i){return new RegExp(i).test(t)})).length}function cs(){this.Wa.forEach((function(t){return t.resize()}))}function fs(t){Pv.warn("VAST error occurred in ad",t)}function ls(t){var i=this;t.addEventListener("VASTAdStarted",this.dispatchEvent.bind(this)),t.addEventListener("VASTAdError",fs.bind(this,t)),t.addEventListener(zo.Oi,this.S.dispatchEvent.bind(this.S)),t.addEventListener(zo.Pi,this.S.dispatchEvent.bind(this.S)),t.addEventListener(zo.Dg,this.S.dispatchEvent.bind(this.S)),t.addEventListener(zo.Di,this.S.dispatchEvent.bind(this.S)),t.fg(this.S.getVolume()),t.Ea&&t.Ea.jd&&t.Ea.jd.forEach((function(n){return new Iv(n,i.da,i.yd).Oy(t)}))}function vs(t){var i=this;ys.call(this,t),this.ad=t,this.Xs&&(this.ad=Us.call(this)||t),this.hc=[],this.jh=[],this.ad.Ia.forEach((function(t){t instanceof ka?i.hc.push(t):t instanceof hc&&i.jh.push(t)})),this.ad.Pq(this.tb,{Xz:this.getCreativeDuration()},this.N.gg())}function ds(){var t=this;this.ad.lc.forEach((function(i){i.prepare(t)}))}function ps(){var t=this;this.ad.iz.forEach((function(i){t.O.Ya(ea).prepare(i,t.ad)}))}function ms(){var t=this;this.ad.nd.forEach((function(i){var n=i.kb,s=i.ml;i=i.Tl,n&&n.prepare(null,t.S),s&&s.prepare(null,t.S),i&&i.prepare(null,t.S)}))}function bs(t){this.tb.ng(t,this.ba)}function ys(t){var i=this;Uv.forEach((function(n){return t.addEventListener(n,bs.bind(i))})),t.addEventListener(Fu.Fc,(function(t){return i.yo(t.$c())})),t.addEventListener(ia.td,(function(t){var n=Vv[t.Td];n&&i.Ja(n,t.data)}))}function gs(t,i){this.yc.uk(),t=new Nv(this.yc,this.na.ads[0]||this.ad,t,this.Qb,i,this.S,this),this.Wa.push(t),t.addEventListener("VASTAdStarted",this.lk.bind(this,t)),t.addEventListener("VASTAdEngineComplete",Es.bind(this)),t.addEventListener("VASTAdInteraction",Os.bind(this)),t.addEventListener("VASTAdEngineComplete",Ls.bind(this,t)),ls.call(this,t),this.N.Zw()?t=t.wa.kl:(i=t.wb.xq,isNaN(i)&&(i=t.wa.kl),t=i),t&&t!==Number.POSITIVE_INFINITY&&!isNaN(t)&&(t*=1e3,this.yc.El(Ds.bind(this),t))}function ws(t){this.vg("loaded",t)}function Es(){this.Pd("started")?this.Ja("finished"):this.Ja("failover")}function Os(t){this.vb(zo.Yl,{action:t.data})}function As(t){var i=this;this.Pd("started")?this.Kc.wg("ad",null,"ad failed after start"):this.ua.Ld(Fu.bb,{error:t}),this.Id=null,this.Xm++;var n=this.na.Jp(),s=n||this.na;if(this.na.nw(n).forEach((function(n){var s=new Fu(Fu.bb,null,null,{error:t});n.dispatchEvent(s),i.tb.ng(s)})),s){if(n=0,-1===this.ha.Jd)for(var e=0;e<s.ads.length;e++)if(s.ads[e]&&!s.ads[e].xb){n=e;break}if(e=s.ads[n])return this.vb(zo.sm,{Xu:{ad:this.ad&&this.ad.qc||null,Ea:this.Ga&&this.Ga.qc||null},gv:!0,jb:t}),this.na=s,e.hg?_s.call(this,n):(this.na.ads.splice(n,1),this.be&&this.be.ta(),vs.call(this,e),Ss.call(this)),!0}return this.Pd("loaded")&&!this.Pd("started")&&this.Ja("failover"),!1}function _s(t){this.Nb.ug(),this.Nb.Hx(this.na,t)}function Ts(){var t=this;this.$d=Bo.a.group(Bo.a.bind(this.ua,"VASTAdEngineComplete",(function(i){Ls.call(t,t.ua,i)})),Bo.a.bind(this.ua,Kl.TYPE,Rs.bind(this)),Bo.a.bind(this.ua,zo.Eg,Is.bind(this)),Bo.a.bind(this.ua,"VASTAdImpression",this.cl.bind(this)),Bo.a.bind(this.ua,"VASTAdStarting",(function(i){t.Bo(i,t.ua)})),Bo.a.bind(this.ua,"VASTAdStarted",(function(i){t.lk(t.ua,i),i=+t.ua.getDuration();var n=+t.Ga.duration;0<i&&(i>1.8*n||n>1.8*i)&&t.Kc.wg("ad",null,"ad duration mismatch: expected ".concat(n," but real duration: ").concat(i))})),Bo.a.bind(this.ua,"VASTAdPaused",this.zo.bind(this)),Bo.a.bind(this.ua,"VASTAdResumed",this.Ao.bind(this)),Bo.a.bind(this.ua,"VASTAdVolumeChanged",this.vu.bind(this)),Bo.a.bind(this.ua,"VASTAdTimeUpdate",(function(i){t.ht=t.getDuration(),t.Co(i);var n=t.Ga||{};if(n.oi&&!t.Pt){var s=0;i=i.data||{},n.ni?s=n.ni:n.mi&&(s=i.duration*n.mi/100),i.currentTime>=s&&(t.Pt=!0)}})),Bo.a.bind(this.ua,"VASTAdWaiting",this.wu.bind(this)),Bo.a.bind(this.ua,"VASTAdInteraction",this.Vy.bind(this)),Bo.a.bind(this.ua,ql.rm,js.bind(this)))}function Ss(){if(this.dn=!1,0===this.hc.length)if(this.ad){this.ua=new rv(this.ad,{},this.S,this);var t=vu;As.call(this,t)||(this.$e(new wl(t.description,null,null,t)),this.complete())}else this.complete();else if((t=this.ad)&&(t=this.ad,t=((new Date).getTime()-t.bx)/1e3>t.expires),t)this.ua=new rv(this.ad,{},this.S,this),t=eu,As.call(this,t)||(this.$e(new wl(t.description,null,null,t)),this.complete());else{this.Bb=null,this.Ga=this.hc.shift(),this.ad.dispatchEvent(new Fu(Fu.LOADED,this.Ga)),this.kn?this.kn=!1:this.jk(),this.pa.Fl(this.ad&&this.ad.qc||null,this.Ga&&this.Ga.qc),t=this.fa.offsetWidth;var i=this.fa.offsetHeight;0===t&&(this.fa.style.width="100%",t=this.fa.offsetWidth),0===i&&(this.fa.style.height="100%",i=this.fa.offsetHeight),(t=kv.gi(t,i,this.Ga.Qe))?(this.Qb=t[0],ds.call(this),ps.call(this),this.be=new _v(this.ad,this.Ga,this.S),this.Ga.Yo.prepare(this.O,this.ad),this.ad.nd&&ms.call(this),this.S.dispatchEvent(new Fo("VASTAdLoading",{ad:this.ba,url:this.Qb.url})),this.ua=t=new rv(this.ad,this.Ga,this.S,this).zr(t).rz(this.Ga.jq),this.$d&&(this.$d.ta(),this.$d=null),Ts.call(this),this.Wa.push(t),this.Fn&&(this.dn=!0,ls.call(this,t))):Ss.call(this)}}function js(t){this.Kc.wg("ad",null,'VPAID sends "'.concat(t.data,'" event twice'))}function Is(t){t.data.isLinear||this.Ja("non-linear"),this.S.dispatchEvent("AdSystem.LinearChange",t)}function Ns(){var t=this.na.ads[0];return t?(t.hg?(t=this.na,this.Nb.ug(),this.Nb.We(t)):(this.na.ads.shift(),vs.call(this,t),Ss.call(this)),!0):!!(t=Ms.call(this))&&(this.Nb.ug(),this.Nb.We(t),!0)}function Ms(){for(var t=this.na.parent;t&&t.parent&&(0===t.ads.length||!t.ads[0].xb);)this.Nb.Zu(),t=t.parent;return t}function Rs(t){t=new Kl(t.Rq),this.dispatchEvent(t),this.S.dispatchEvent(t)}function Ds(t,i){if(this.gt=!0,this.yc.stop(),this.hc=[],0<this.Wa.length){var n=this.Wa;t||(this.Wa=[]),n.forEach((function(t){return t.stop(i)}))}else Ls.call(this)}function ks(t,i){var n=[];return this.Wa.forEach((function(i){i!==t&&n.push(i)})),this.Wa=[],0===n.length?null:(new Ll(n,Ls.bind(this,t,i)).ez(),n.forEach((function(t){return t.stop()})),n)}function Ls(t,i){if(this.yc.stop(),this.oj=!1,i){if(null!=ks.call(this,t,i))return;var n=t.yp();if(n&&(this.$e(new wl(n.message||n.description,null,null,n)),this.Id=xs.call(this,n)),i.force&&(this.oj=!0),this.uh(i.currentTime,i.data),t instanceof rv)return this.be&&this.be.ta(),void(this.Bb?(this.Id||(this.Id=xs.call(this)),As.call(this,this.Id)||Ls.call(this)):((t=-1===this.ha.Jd)&&(t=!(!(t=this.na.ads[0])||!t.xb)),(this.S.oq()||t)&&Ns.call(this)||Ls.call(this)));if(t instanceof Nv)return void Ls.call(this)}this.oj||this.complete()}function Cs(t){if(t=t.wa)return to.a.Mk(t.url)||t.url}function Ps(){var t=[];if(this.ad&&this.ad.Ia&&this.ad.Ia.length)t=Mv.Tv(this.ad.Ia);else if(this.Wa&&this.Wa.length)t=this.Wa.map((function(t){return Cs(t)}));else if(this.ua){var i=Cs(this.ua);i&&t.push(i)}return t.join(",")}function xs(t){return(t=Object(Vh.g)(t||{})).code=t.code||this.Bb.code||xv.code,t.description=t.description||this.Bb&&this.Bb.message||xv.description,t}function Us(){return Object(Vh.l)(this.na.ads,(function(t){return!isNaN(t.vv)}))}function Vs(){this.Xs=!0}function Bs(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 Fs(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Bs(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bs(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function zs(){return kv.gi(this.fa.offsetWidth,this.fa.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return Fs({},t,{mimeType:t.contentType})})))}function Hs(){var t=this.fb.Ce,i=[];switch(this.fb.Xf()){case"viewabilityDefVideo3P":i.push([Av,t]);break;case"viewabilityDefStatic3P":i.push([cv,t])}return i}function Gs(){var t=this,i=Ys.call(this);0<i.length&&i.map((function(i){return t.O.Ya(Xv).Jl(i)}))}function Ys(){var t=this,i=[];return Object.keys(Qv).forEach((function(n){var s=Qv[n],e=t.fb[s]||[];if("GEMINI_IMP"===n){if(!t.Zm)return;var r=[t.Zm]}else{if(!t.ef[n])return;r=t.ef[n]}Array.isArray(e)||(e=[e]),e.forEach((function(t){i.push(new Ia(s,t,r))}))})),i}function qs(t){if(-1===this.eo.indexOf(t)){var i=this.ef&&this.ef[t];i&&this.Kj.up({Jq:i}),this.eo.push(t)}}function Ws(t,i){this.W!==nd.LOADED&&this.W!==nd.Li&&(this.W=nd.LOADED,t&&t(i.data),this.M.dispatchEvent(zo.Vd,i))}function Xs(t){var i=t.data&&t.data.Zc;i.nq=!!t.data.loaded,this.Mb.release(i),t.data&&t.data.error?(this.Mb.wq(i),Zs.call(this,"all ads are failed",t.data&&t.data.Sf,t.data&&t.data.error&&t.data.error.jb,i)):(this.reset(),this.W=nd.uc,this.dispatchEvent(new Fo(Fo.Bi))),this.M.dispatchEvent(zo.Ud,t)}function Zs(t,i,n,s){this.stop(),this.dispatchEvent(new Fo(Fo.Bi,{Zc:s,Sf:i,error:t,jb:n}))}function Qs(t){t=new t(this.M),this.vm[t.getType()]=t}function Js(){var t=this;this.M.addEventListener(oa.LOADING,ne.bind(this)),this.M.addEventListener(oa.LOADED,se.bind(this,"LOADED")),this.M.addEventListener(oa.Gg,se.bind(this,"FAILED")),this.M.addEventListener(zo.Cg,ee.bind(this)),this.M.addEventListener(zo.$b,te.bind(this)),this.M.addEventListener(zo.si,(function(i){t.vc||ne.call(t),t.cc&&!t.cc.end&&ee.call(t),t.cc={ads:[],duration:null,end:null,label:"aegGroup",start:+new Date},t.vc.adGroups.push(t.cc),ie.call(t,i)})),this.M.addEventListener(_l,(function(i){i=i.data;var n=he.call(t,i.ad);n&&n.adChain.push({duration:null,end:null,start:+new Date,url:i.url})})),this.M.addEventListener(Il,(function(i){i=i.data,Bo.a.Xa(i.ad,Fu.bb,oe.bind(t,i))})),this.M.addEventListener(Tl,(function(i){(i=(i=he.call(t,i.data.ad))&&i.adChain||[]).length&&((i=i[i.length-1]).end=+new Date,i.duration=i.end-i.start)})),this.M.addEventListener("VASTAdLoading",(function(i){i=i.data;var n=he.call(t,i.ad);n&&(t.Zg={duration:null,end:null,start:+new Date,url:i.url},n.adMediaFiles.push(t.Zg))})),this.M.addEventListener(zo.im,(function(i){if(i=i[0]&&i[0].rootElem,!t.Cb&&i&&"IFRAME"!==i.lastChild.nodeName){t.Cb=document.createElement("iframe"),t.Cb.style.display="none";var n=t.M.O.T("urls");t.Cb.src=n.Bw(),i.appendChild(t.Cb)}})),this.M.addEventListener(zo.df,$s.bind(this,zo.df)),this.M.addEventListener(zo.Gi,$s.bind(this,zo.df)),window.addEventListener("message",Ks.bind(this))}function Ks(t){this.Cb&&t.origin===to.a.og(this.Cb.src).origin&&t.data&&!t.data.optIn&&this.Cb.parentNode&&this.Cb.parentNode.removeChild(this.Cb)}function $s(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"SUCCESS";if(this.Cb&&this.Cb.contentWindow){var i=this.M.Lk();this.Cb.contentWindow.postMessage({data:this.Ua,date:Date.now(),key:"vapa-data",method:"set",playerInfo:{Wz:"0.0.132",TC:i.Tp(),UC:i.Mh()},publisherUrl:window.location.href,status:t},"*")}}function te(t){this.Ua.adStartTime||(this.Ua.startAdTime=+new Date,this.Ua.adStartTime=this.Ua.startAdTime-this.Ua.initTime,ee.call(this),t&&t.data&&(t=he.call(this,t.data.ad))&&t.adMediaFiles.length&&((t=t.adMediaFiles[t.adMediaFiles.length-1]).end=this.Ua.startAdTime?this.Ua.startAdTime:+new Date,t.duration=t.end-t.start),$s.call(this))}function ie(t){if(t){var i=re.call(this,t);t.addEventListener(zo.Vd,(function(){i.end=+new Date,i.duration=i.end-i.start})),t.addEventListener(zo.Ud,(function(){i.complete=+new Date}))}}function ne(t){var i=t&&t.data||{};return this.vc&&!this.vc.adServerResponse&&se.call(this,"FAILED",t),this.vc={adGroups:[],adStrategy:i.uu,duration:null,end:null,label:"adServerRequest",requestUrl:null,start:+new Date,type:i.type},this.Ua.adServerRequests.push(this.vc),this.vc}function se(t,i){this.vc||ne.call(this);var n=this.vc;if(!(n.end&&n.status||(n.end=+new Date,n.duration=n.end-n.start,n.requestUrl=i&&i.data&&i.data.YC||null,n.status=t,"FAILED"!==t))){var s="Failed ad server response";i&&i.data&&i.data.error&&i.data.error.Nl&&(s="Ad server response timeout: ".concat(i.data.error.request.timeout,"ms")),n.error=s,$s.call(this,t)}}function ee(){this.cc&&(this.cc.end=+new Date,this.cc.duration=this.cc.end-this.cc.start)}function re(t){var i="",n="",s="",e="",r="",h="";return(t=t.Za())&&(i=t.getAcid(),n=t.getType(),s=t.getVendor(),e=t.Xf(),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.tm.push({ad:n,Ek:t}),this.cc.ads.push(n),n}function he(t){var i=this.tm.filter((function(i){return i.Ek===t})).slice(-1);return(i=qo()(i,1)[0])&&i.ad||null}function oe(t,i){var n=he.call(this,t.Ek);if(n){var s,e=n.adChain;if(0<e.length)i=i.data.error.code===yu.code&&i.data.details?i.data.details:"".concat(i.data.error.description," ").concat(i.data.details),t.wr?e.forEach((function(i){i.url===t.wr&&(s=i)})):s=e[e.length-1],s.error=i,0<(n=n.adMediaFiles).length&&(n[n.length-1].error=i)}}function ue(t){var i=this.O.Ya(uv);return i.Jl(new Ia("default",t)),i}function ae(){return this.M.isMuted()?2:1}function ce(){var t=this.Vc.Ca();return 0>t?3:50>t?2:1}function fe(){return this.da.Yk()}function le(){return this.da.Nk()}function ve(){return this.Hb.inView100.Sc}function de(){return this.Hb.inView50.Sc}function pe(){return this.Hb.inView50Continuous.Sc}function me(){var t=1e3*this.M.getDuration()||3e4;return this.Hb.inView50Continuous.Sc>Math.min(t/2,15e3)?1:0}function be(){return L()&&C()}function ye(){return encodeURIComponent(this.qt.fw())}function ge(){return this.N.rq()}function we(){var t=this.ha.kr;return t&&!Object(Vh.r)(t)?1:0}function Ee(){return 1}function Oe(){return Date.now()}function Ae(){var t=(new Date).getTime(),i=document.createElement("template"),n=document.createElement("details"),s=document.createElement("img");return(new od).append(this.Z.Uo&&this.Z.Uo.LD).append(document.documentMode).append(document.fonts&&document.fonts.ready).append(1&t).append(this.Z.ActiveXObject).append(this.Z.Uo).append(this.ub.serviceWorker).append(this.Z.opera).append(this.Z.sidebar).append(!1).append(2&t).append(!this.Z.ActiveXObject).append(Pe.call(this,"-ms-ime-align")).append(Pe.call(this,"-ms-scroll-limit")).append(Ce.call(this,"-webkit-font-feature-settings")).append(4&t).append(this.Z.ActiveXObject).append(Pe.call(this,"-moz-appearance")||Pe.call(this,"mozAppearance")).append(this.Z.Sz).append(this.Z.oA).append(Object.prototype.hasOwnProperty.call(i,"content")).append(this.Z.performance&&Object.prototype.hasOwnProperty.call(this.Z.performance,"getEntriesByType")).append(8&t).append(Ce.call(this,"image-rendering")).append(Ce.call(this,"object-fit")).append(Object.prototype.hasOwnProperty.call(n,"open")).append(this.Z.screen&&Object.prototype.hasOwnProperty.call(this.Z.screen,"orientation")).append(this.Z.performance).append(Ce.call(this,"shape-image-threshold")).append(this.Nc[0]).append(Object.prototype.hasOwnProperty.call(s,"srcset")).append(this.ju).Tc}function _e(){var t=(new Date).getTime(),i=ud.a.Ku();return(new od).append(this.ku).append(32&t).append(this.Nc[1]).append(this.Nc[2]).append(ud.a.Su()).append(ud.a.Ru()).append(ud.a.Mu()).append(64&t).append(i||Object(Vh.x)(this.ub.vibrate)?1:0).append(i).append(this.Nc[3]).append(ud.a.Pu()).append(xe.call(this,"image-rendering","pixelated")).append(Object(Vh.x)(document.elementsFromPoint)).append(xe.call(this,"object-fit","inherit")).append(xe.call(this,"shape-image-threshold",.9)).append(xe.call(this,"word-break","keep-all")).append(ud.a.Ou()).append(this.an&&Object(Vh.x)(this.Mm.supports)).append(this.Z.Intl&&Object(Vh.x)(this.Z.Intl.Collator)).append(Object(Vh.x)(document.createElement("dialog").show)).append(256&t).append(this.Nc[4]).append(this.Nc[5]).append(document.documentElement&&Object(Vh.x)(document.documentElement.webkitRequestFullScreen)).append(Object(Vh.x)(this.ub.getBattery)).append(this.ub.permissions&&Object(Vh.x)(this.ub.permissions.query)).append(this.Z.AudioContext&&Object(Vh.x)((new this.Z.AudioContext).createBuffer)).append(this.Nc[6]).append(this.Z.webkitRequestAnimationFrame&&Object(Vh.x)(this.Z.webkitRequestAnimationFrame)).append(this.Z.BroadcastChannel&&Object(Vh.x)(this.Z.BroadcastChannel.call)).Tc}function Te(){var t=(new Date).getTime();return(new od).append(Object(Vh.x)(this.Z.FontFace)).append(Object(Vh.x)(this.Z.Gamepad)).append(1024&t).append(Object(Vh.x)(this.Z.MutationEvent)).append(Object(Vh.x)(this.Z.MutationObserver)).append(this.Z.crypto&&Object(Vh.x)(this.Z.crypto.getRandomValues)).append(Object(Vh.x)(document.body.createShadowRoot)).append(Object(Vh.x)(document.body.webkitCreateShadowRoot)).append(Object(Vh.x)(this.Z.fetch)).append(Object(Vh.x)(this.Z.createImageBitmap)).append(this.ub.serviceWorker&&Object(Vh.x)(this.ub.serviceWorker.register)).append(Object(Vh.x)(this.ub.webkitGetGamepads)).append(this.Z.speechSynthesis&&Object(Vh.x)(this.Z.speechSynthesis.speak)).append(Object(Vh.x)(this.Z.webkitRTCPeerConnection)).append(xe.call(this,"--fake-var",0)).append(4096&t).append(xe.call(this,"cursor","grab")).append(xe.call(this,"cursor","zoom-in")).append(xe.call(this,"image-orientation","270deg")).append(Object(Vh.x)(this.Z.Proxy)).append(xe.call(this,"position","sticky")).append(void 0===document.createElement("style").bD).append(this.se&&this.se.getEntriesByType&&this.se.getEntriesByType("resource")instanceof Array).append(void 0===this.Z.zz).append(ud.a.Lu()).append("boolean"==typeof this.ub.onLine).append(16384&t).append(void 0===this.ub.KD).append(this.se&&this.se.now&&"number"==typeof this.se.now()).append(ud.a.Qu()).append(ud.a.Iu()).append(ud.a.Nu()).Tc}function Se(){return this.Nc[7]}function je(){return(new Date).getTimezoneOffset()}function Ie(){return"".concat(this.Z.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"x").concat(this.Z.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)}function Ne(){return"".concat(this.Z.outerWidth||document&&document.body&&document.body.offsetWidth,"x").concat(this.Z.outerHeight||document&&document.body&&document.body.offsetHeight)}function Me(){return"".concat(this.Z.screen.availWidth,"x").concat(this.Z.screen.availHeight)}function Re(){return"".concat(this.Z.screen.width,"x").concat(this.Z.screen.height)}function De(){return ud.a.btoa(this.ub.userAgent)}function ke(){return ud.a.btoa(this.ub.platform)}function Le(){return ud.a.btoa(this.ub.vendor)}function Ce(t){return this.Cm&&Object.prototype.hasOwnProperty.call(this.Cm,t)}function Pe(t){return this.Rm&&Object.prototype.hasOwnProperty.call(this.Rm,t)}function xe(t,i){return this.an&&this.Mm.supports(t,i)}function Ue(t){var i=this;return t.filter((function(t){return t.$o(i.ra)})).map((function(t){return t.prepare(i.Pb,i.ra)}))}function Ve(t,i,n){clearTimeout(this.Ui),this.Kn=!0,this.Tm.ta(),this.ce=0,this.sa.reset(),this.zd=this.ha.Jd,Qt(this.ra)&&(t={adPodsPlayed:this.jf,engineErrors:i,reason:t,vastError:n},this.Yi?(this.dispatchEvent(new zo(zo.Bg,this.ra,t)),this.Yi=!1):this.dispatchEvent(new zo(zo.df,this.ra,t)))}function Be(t,i,n){this.xc&&this.xc(t?{Sf:i,error:t,jb:n}:void 0),this.Bn&&Ve.call(this,t,i,n)}function Fe(t){if(this.Xn||this.Tf)Ve.call(this,"STOPPED_BY_TIMER",t&&t.data&&t.data.Sf,t&&t.data&&t.data.jb);else if(t&&t.data&&t.data.error){var i=t.data.error,n=t.data.Sf,s=t.data.jb;t=t.data.Zc;var e=!0;this.N.Cp().disableFailoverOnDlvFailure&&(e=0===this.ce);var r=this.Mb.Gk(this.ra);this.Qc=Ue.call(this,r),this.sa.reset(),vd.warn("on ad group failed:",i,this.Qc),this.Qc.length&&this.oq()&&e?(i=this.xc?this.xc:$e.bind(this),this.dispatchEvent(new zo(zo.Xl,null,{Zc:t,jb:s})),this.sa.load(this.Qc,i)):(--this.zd,this.dispatchEvent(new zo(zo.Gi,null,{Zc:t,jb:s})),Be.call(this,"AD_GROUP_FAILED",n,s))}else--this.zd,Be.call(this)}function ze(){this.dispatchEvent(new zo(zo.Bg,this.ra))}function He(){this.stop(!0)}function Ge(t){t.data.isLinear||(1>=this.zd?this.dispatchEvent(zo.Eg,t):this.lx())}function Ye(t){this.ya=t.data.muted?0:t.data.volume}function qe(t){this.Y=t}function We(t){this.Y=t.Zc}function Xe(){clearTimeout(this.Ui),this.jf+=1}function Ze(){this.ce+=1,this.Lg+=1}function Qe(t,i){var n=this.Mb.Gk(this.ra);this.Df=i.Df;var s=i.Mj;s&&(this.zd=s,this.ha.Jd=s),this.Dd&&this.Dd.pause(),s=n[0]&&n[0].yf,n=n[0]&&n[0].ed(),s&&this.N.Cy(s),n&&this.N.Jy(n),t&&t({bi:i.data.bi})}function Je(t){t&&t({bi:[]})}function Ke(t){var i=this;[{Dc:function(){var t;return(t=i.N).Ey.apply(t,arguments)},tc:t.pid},{Dc:function(){var t;return(t=i.N).oy.apply(t,arguments)},tc:t.bcid},{Dc:function(){var t;return(t=i.U).cr.apply(t,arguments)},tc:t.vid},{Dc:function(){var t;return(t=i.N).ny.apply(t,arguments)},tc:t.bckt},{Dc:function(){var t;return(t=i.N).wy.apply(t,arguments)},tc:t.expn},{Dc:function(){var t;return(t=i.N).vy.apply(t,arguments)},tc:t.expb},{Dc:function(){var t;return(t=i.N).uy.apply(t,arguments)},tc:t.device},{Dc:function(){var t;return(t=i.N).Hy.apply(t,arguments)},tc:t.region},{Dc:function(){var t;return(t=i.N).Iy.apply(t,arguments)},tc:t.site}].forEach((function(t){return t.tc&&t.Dc(t.tc)}))}function $e(){this.sa.Xq()}function tr(t){var i=t.body;if(t=this.sa.ma){var n=t.pa,s=t.ua;i={adl:n.Ih(),crid:s.Ea.id,ecode:"600-2",estring:"".concat(i.id," ").concat(i.message),mf_bit:s.Hh(),mf_url:s.wa.url,ms_lat:n.Rp()},this.dispatchEvent(new zo(zo.ti,t.Za().getType(),i))}}function ir(t){var i={};this.Qa({at:(t.data.type||"Preroll").toLowerCase(),device:this.N.gj,ps:Object(Vh.m)(!1),region:this.N.Oj,site:this.N.Sj,spaceid:this.fc.ed(),vid:this.U.lf},{},i),this.yg(i),this.Ba("ad-request.gif",i)}function nr(t){var i={};cr.call(this,t,i),fr.call(this,t,i),this.Qa({},{sact:this.N.Gd},i),this.Ba("ad-issue.gif",i)}function sr(t){var i={};cr.call(this,t,i),this.yg(i),this.Qa({},{auid:t.data.auid,h:t.data.Pf,sact:this.N.Gd},i),this.Ba("ad-engine-request.gif",i),this.Ks&&(i.acid||i.rid)&&rr.call(this,this.Pa.Cv(),i)}function er(t){var i={};cr.call(this,t,i);var n=t.data.latency/100,s=this.ha.gd;this.Qa({aert:t.data.latency,ar:t.data.Yw?"yes":t.data.timeout?"timeout":"no",fo:t.data.gz,ft:n<=this.ha.tg?0:n<=s?1:2},{to:t.data.timeout},i),this.Qa({},{auid:t.data.auid,h:t.data.Pf,sact:this.N.Gd},i),this.Ba("ad-engine-response.gif",i)}function rr(t,i){var n={};Object(Vh.g)(this.N.getParameters(),n),Object(Vh.g)(i,n),t+=n?"?".concat(Object(Vh.H)(n)):"",this.Xc(t)}function hr(t){var i={};cr.call(this,t,i),fr.call(this,t,i);var n=t.data.uv||0;this.Qa({ap:t.data.Fu,atsub:"LOOKAHEAD"===t.data.zu?"SKIPPABLE_PREROLL":"",avid:t.data.xh,cpm:t.data.Ib,fo:t.data.wh&&"win"!==t.data.wh&&"loaded"!==t.data.wh?n:void 0,h:t.data.Pf,m:t.data.muted},{ltc:t.data.latency},i),this.vl(i),this.yg(i),this.Qa({},{auid:t.data.auid,bsfv:"started"===i.stg&&t.data.bsfv?t.data.bsfv.sort().toString():"",sact:this.N.Gd},i),this.Ba("ad-engine-flow.gif",i),"started"===i.stg&&(i.acid||i.rid)&&rr.call(this,this.Pa.zv(),i)}function or(t){var i={};cr.call(this,t,i);var n=this.U.lb;this.Qa({cd:t.data.pb||"none",ct:t.data.Xo,t:n&&n.time||0},{},i),this.Ba("click.gif",i)}function ur(t){var i={};cr.call(this,t,i),this.Qa({atsub:"",slot:t.data.slot},{},i),this.yg(i),this.vl(i),this.Ba("slot-opp.gif",i)}function ar(t){if(t=t.data.yq){var i=t.oc;return i=i&&i[0]&&i[0].mimeType||t.mimeType,t.gb?"".concat(t.gb," ").concat(i):i}}function cr(t,i){var n=(t=t.data).gp||{};return this.Qa({at:(t.type||"Preroll").toLowerCase()},{acid:t.acid,adIdx:t.sequence||-1,adseq:t.slotAdSeq,aen:t.name,asid:t.asid,device:this.N.gj,itg:this.U.Wg,pbl:t.isPayable,pc:t.profitCenter,pid:this.N.Fd,poid:t.podId,ps:Object(Vh.m)(!1),rcid:t.ruleCompanyId,region:this.N.Oj,rid:t.ruleId||n.Mn,scope:t.isHouseAd?"ha":null,seq:this.U.lb?this.U.lb.sequence:-1,sfbid:t.bookingId,sfliid:t.lineItemId,site:this.N.Sj,spaceid:this.fc.ed(),txid:t.transactionId,usid:t.usid,v:t.vendor,vid:this.U.lf,w:t&&t.Dk},i)}function fr(t,i){var n=t.data;return this.Qa({crt:ar(t)||"",curl:n.url||"",stg:n.wh},{aid:n.vh,al:n.qu,crl:n.sv,dt:n.details,el:n.Md,et:n.mv,st:n.lv},i)}function lr(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.Ta=t.slot,t=t.aeg&&t.aeg[0]&&t.aeg[0][0],this.Fs=this.on[this.ra]||t}function vr(t){this.on=[],this.mf=t.mf,this.Cf=t.data&&t.data.source&&t.data.source.slots||[]}function dr(t){if(!t)return"";var i=to.a.og(t),n=function(t){for(var i in gd)if(t.endsWith(i))return gd[i];return"OTHER"}(i.host);i=i.pathname;var s={get:function(i){return to.a.Ub(i,t,!1)}};switch(n){case"DOUBLECLICK":return s.get("iu");case"GEMINI":return s.get("se");case"TREMOR":return s.get("adCode");case"DSP":return function(t){return(t=t.split("/"))[t.length-1]}(i);case"ADXTPC":return pr(s,"iu");case"ADXIMA":return pr(s,"client");case"FREEWHEEL":return function(t){return t?t.split(";")[0]:""}(s.get("prof"));case"RUBICON":return"".concat(s.get("account_id"),"-").concat(s.get("site_id"),"-").concat(s.get("zone_id"));default:return""}}function pr(t,i){return(t=t.get("adTagUrl")||t.get("adtagurl"))?(t=decodeURI(unescape(t)),to.a.Ub(i,t,!1)):""}function mr(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 br(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?mr(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function yr(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 gr(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 wr(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 Er(){var t=this;this.Na&&this.Na.Ia&&this.Na.Ia.forEach((function(i){t.Pg[i.qc]=new _d(i,t.fa,t.ra)}))}function Or(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 Ar(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Or(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function _r(){var t=this;this.na&&this.na.ads&&this.na.ads.forEach((function(i){t.Gc[i.qc]=new Td(i,t.fa,t.Lq,t.Pa)}))}function Tr(t){if((t=t.Cc.Ia)&&0<t.length)return t[0].id}function Sr(t){if(!this.mn)return{crid:t,v_cr_id:t};for(var i=this.na||{};i.parent&&i.parent.Cc;)t||(t=Tr(i)),i=i.parent||{};return this.Lm=Tr(i),this.Zj=t||this.Lm,{crid:this.Lm,v_cr_id:this.Zj}}function jr(t){return t?t=this.Gc[t]:t=0<(t=Object.keys(this.Gc)).length?this.Gc[t[0]]:null,t}function Ir(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 Nr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Ir(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ir(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Mr(){if(!this.Si){var t=this.M.getDuration();this.Si=t&&Math.round(t)||""}return{ad_lng:this.Si,adReplay:this.xm,medT:this.ah,num_rtry:this.Sg,view:this.Fb.Ca(),vrmsdk:this.M.U.vo}}function Rr(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?Rr(Object(n),!0).forEach((function(i){Vu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function kr(){var t=this;[[zo.$b,[Cd,qd],qr.bind(this)],[zo.xi,[],Yr.bind(this)],[zo.Dg,[],Xr.bind(this)],[zo.Bg,[],null,Kr.bind(this)],[zo.df,[],null,Kr.bind(this)],[zo.zi,[Ud],null,nh.bind(this)],[zo.Wd,[],sh.bind(this)],[zo.vi,[Rd]],[zo.am,[Cd]],[zo.wi,[Pd],Jr.bind(this)],[zo.Zl,[],Qr.bind(this)],[zo.Wl,[null,Wd],Lr.bind(this)],[zo.Yl,[],th.bind(this)],["Reporting.Ad.Slot.Opportunity",[],Gr.bind(this)],[zo.sm,[],Fr.bind(this)],[zo.Oi,[],oh.bind(this)],[zo.Di,[],uh.bind(this)],[zo.Pi,[],Wr.bind(this)],[zo.Vd,[],xr.bind(this)],[zo.Xl,[],Ur.bind(this)],[zo.Gi,[],Vr.bind(this)],[zo.si,[],hh.bind(this)],[zo.$l,[],Pr.bind(this)],[zo.yi,[],ih.bind(this)],[zo.ti,[],Cr.bind(this)]].forEach((function(i){var n=(i=qo()(i,4))[0],s=qo()(i[1],2),e=s[0],r=s[1],h=i[2],o=i[3];t.M.addEventListener(n,(function(i){h&&h(i),i&&i.data&&"Overlay"===i.data.adType&&r?t.$a(r,null,i.data):e&&t.$a(e,null,i&&i.data),o&&o(i)}))}))}function Lr(t){ah.call(this,{cd:t.data.clickThroughUrl,evt:"ad_click"})}function Cr(t){t=Dr({evt:"ad_pberr"},t.data),ah.call(this,t)}function Pr(){var t=Dr({evt:"ad_req"},(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data||{});ah.call(this,t)}function xr(){this.wd=!0,ah.call(this,{evt:"ad_call",r_code:2}),this.th=!1,this.Nf=!0}function Ur(t){this.di(),Br.call(this,!0,t.data),this.Nf=!1}function Vr(t){Br.call(this,!1,t.data),this.Nf=!1}function Br(t,i){var n=i.jb;i={ou:i.Zc&&i.Zc.Kg},this.Nf?t&&zr.call(this,{a_dlv_err:n&&n.ea||ou.ea,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.ea||au.ea},"r_code",!1,i)}function Fr(t){if(this.th=!1,t.data.gv){var i=t.data.jb;zr.call(this,{a_dlv_err:i&&i.ea||yu.ea,evt:"ad_dlvf"},"a_dlv_err",null,t.data.Xu)}this.pa.pk(),this.Nf=!1}function zr(t,i,n,s){var e=this;null!==this.Od&&void 0!==this.Od?Hr.call(this,t,i,n,s):this.ff.Ka.then((function(r){e.Od=r,Hr.call(e,t,i,n,s)}))}function Hr(t,i,n,s){this.Od&&(t[i]=tu.ea),ah.call(this,t,s&&s.ou||null,s&&s.ad||null,s&&s.Ea||null),n&&this.pa.Gu()}function Gr(t){if(!this.Db){var i=t.data&&t.data.gp,n=i&&i.Kg,s=t.data&&t.data.type&&t.data.type.toLowerCase()||"";"AVAIL"!==t.data.slot||t.data.Mw?this.bh.dispatchEvent(Gd,{evt:"ad_oppty",medS:1,medT:1,ntwk:"Plugin Communicator",pos:s,slot:t.data.slot,taken:2}):ah.call(this,{evt:"ad_oppty",ntwk:i&&i.Yp()||"",pos:s,taken:1},n)}}function Yr(t){t&&t.data&&"application/javascript"===t.data.mimeType&&ah.call(this,{evt:"ad_beg"})}function qr(){this.zm=!1,this.os=setTimeout(Zr.bind(this),2e3),eh.call(this),this.Hc=!0,this.Ej=this.M.isMuted(),this.pn=0}function Wr(){ah.call(this,{evt:"ad_init"}),this.th=!0}function Xr(){ah.call(this,{evt:"ad_dlv"})}function Zr(){this.zm||(ah.call(this,{dur:2,dur_d:rh.call(this,2),evt:"ad_view",skippable:this.M.isSkippable()?1:0}),this.zm=!0)}function Qr(t){var i=Math.floor(this.M.getCurrentTime()||this.qn);if("finished"===t.data.adStage)ah.call(this,{dur:i,dur_d:rh.call(this,i),evt:"ad_comp"});else{var n=25;switch(t.data.adStage){case"q2":n=50;break;case"q3":n=75}ah.call(this,{dur:i,dur_d:rh.call(this,i),evt:"ad_prog",q:n})}}function Jr(){var t=Math.floor(this.M.getCurrentTime()||this.qn);ah.call(this,{dur:t,dur_d:rh.call(this,t),evt:"ad_skip"})}function Kr(t){var i=this,n=t.data.vastError;this.Hc&&!n?(this.Hc=!1,this.$a(Dd,null,{}),clearTimeout(this.os)):(eh.call(this),null!==this.Od&&void 0!==this.Od?$r.call(this,n,this.Od):this.ff.Ka.then((function(t){$r.call(i,n,t)}))),this.Nf=!1}function $r(t,i){var n={estring:t&&t.description||"",evt:"ad_err"};(t=i?tu.ea:t&&t.ea)||(t=this.th?ju.ea:Ou.ea),n.a_dlv_err=t,this.$a(Ld,null,n),this.wd&&(this.di(),ah.call(this,n))}function th(t){"Overlay"===t.data.Kf&&"close"===t.data.action&&this.$a(Xd,null,t.data||{})}function ih(t){var i=this;t.data.raw.forEach((function(t){var n=Object.keys(t.Vf)[0];i.$a(Hd,{track:Dr({},t,{format:n,language:t.lang,url:t.Vf[n]})},null)}))}function nh(t){(t.data.muted&&!1===this.Ej||!1===t.data.muted&&this.Ej)&&this.$a(Md,null,{muteState:t.data.muted?"muted":"unmuted"}),this.Ej=t.data.muted}function sh(t){var i=t&&t.data&&t.data.currentTime||this.M.getCurrentTime()||0;this.$a(xd,i,t.data||{}),this.qn=i,2<=i&&(Zr.call(this),this.hs||(this.$a(Bd,null,{}),this.hs=!0))}function eh(){this.$a(Yd,this.M.getTimeLog())}function rh(t){var i=t-this.pn;return this.pn=t,i}function hh(t){t&&this.ye.$y(t.Za(),this.M.Jk())}function oh(){this.th=!1,ah.call(this,{evt:"ad_iframe_load"})}function uh(){ah.call(this,{evt:"ad_iframe_loaded"})}function ah(t,i,n,s){t=this.pa.Nq(t,i,n,s),this.bh.dispatchEvent(Gd,t)}function ch(){var t=this;this.Cj.forEach((function(i){t.V.dispatchEvent(i.event,i.yx)})),this.Cj=[]}function fh(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 lh(t){return{assets:[{mediaInfo:t.mediaInfo,usageType:"VIDEO_PRIMARY"}],callToAction:t.callToAction||"",clickUrl:t.clickUrl,headline:t.headline||"",source:t.source||""}}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}function dh(){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:E(),adPluginMimeType:"adplugin/vrm",customInfo:{slot:t},duration:30,instream:!1,resolvedState:"notResolved",source:{streams:[{url:"dummy.mp4"}]},type:"Bumper"===t.type?"bumper":"ad"})})),i}function ph(t){return Object(Vh.n)(t,[0,"customInfo","slot","aeg",0],[]).some((function(t){return t.isNative()}))}function mh(t){var i=this;return new Uh.a((function(n,s){i.M.uq(t.customInfo.slot.aeg,(function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).error?s():n(t)}),t.customInfo.slot.type)}))}function bh(){this.Ti=this.wd=this.xn=!1,this.ji(!1),this.Ef=null,this.M.Uq()}function yh(t){var i=this;return bh.call(this),this.bh.Fx(),mh.call(this,t).then((function(){i.wd=!0,i.Ef=null,i.V.dispatchEvent(sp.Vl,t)}),(function(){i.wd=!1,i.Ti=!0,i.Ef=null}))}function gh(t){this.xn=!0,this.ye.vr(t.customInfo.slot,t.isRepeated)}function wh(t){switch(t.getType()){case ap.a.cm:cp.error("Error while interacting with IFRAME",t.getData())}}function Eh(t,i){if(Array.isArray(t)){var n=Object(Vh.f)(t);(t=n.pop()).ca=n}return(n=t.ca)||((n=(n=/\(((?:\s*\w*\s*,?)+)\)/g).exec(t.toString()))&&(n=n[1].replace(/\s+/g,"")),n=n&&n.split(",")||[]),t={$u:n,Uh:this,Jx:t},i?new vp(t):new lp(t)}function Oh(t){var i;return t.forEach((function(t){var n=t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type||null;n&&n.toLowerCase()===tp.d&&!i&&(i=t)})),i||t[0]}function Ah(t){this.cb.ji(t),this.ac.ji(t),this.Db=t}function _h(t){Ah.call(this,!1),this.cb.Hc?this.M.ay():this.ac.resume(t)}function Th(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=t&&t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type;n.evt=i,s&&(n.pos=s.toLowerCase()),this.cb.ey(n)}function Sh(t){var i=t.YVAP,n=t.url||t.vastXml;return this.N.By(!!i||!!n),i?this.O.Ya($d).Ol(t):n?this.O.Ya(Ph).Ol(t):t}n.r(i);var jh={};n.r(jh),n.d(jh,"ITEM_LOADED",(function(){return Nd})),n.d(jh,"MUTE_CHANGED",(function(){return Md})),n.d(jh,"PAUSED",(function(){return Rd})),n.d(jh,"PLAY_COMPLETE",(function(){return Dd})),n.d(jh,"PLAY_REQUESTED",(function(){return kd})),n.d(jh,"PLAYBACK_ERROR",(function(){return Ld})),n.d(jh,"PLAYING",(function(){return Cd})),n.d(jh,"SKIPPED",(function(){return Pd})),n.d(jh,"TIME_UPDATE",(function(){return xd})),n.d(jh,"VOLUME_CHANGED",(function(){return Ud})),n.d(jh,"AD_BREAKS_AVAILABLE",(function(){return Vd})),n.d(jh,"AD_BREAK_PLAYING",(function(){return Bd})),n.d(jh,"RESOLVE_ERROR",(function(){return Fd})),n.d(jh,"RESOLVED",(function(){return zd})),n.d(jh,"AD_SUBTITLES_FOUND",(function(){return Hd})),n.d(jh,"METRICS",(function(){return Gd})),n.d(jh,"DIAGNOSTIC",(function(){return Yd})),n.d(jh,"NONLINEAR_AD_RENDERED",(function(){return qd})),n.d(jh,"NONLINEAR_AD_CLICKED",(function(){return Wd})),n.d(jh,"NONLINEAR_AD_DISMISSED",(function(){return Xd})),O.Ji="TOP",O.lm="RIGHT",O.jm="BOTTOM",O.km="LEFT",O.Ii="FULL",O.Hi="CUSTOM-CENTER";var Ih,Nh,Mh,Rh,Dh,kh,Lh,Ch,Ph=function(){function t(){}return t.prototype.Ol=function(t){if(!t.url&&!t.vastXml)return t;var i=t.type||"Preroll",n={bcid:"5afc769f7239855a15fcee15",pid:"5afc75ea3a04293dad9f1a1f",schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"VAST",adTypes:[i],isNative:!!t.adOnly,name:"Empty - Preroll",position:t.position||O.Ii,url:t.url,vastXml:t.vastXml,vendorName:t.vendor||"simplified_ad_config"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:i.toUpperCase()}],type:i.toUpperCase()}]},slot:"AVAIL",version:"2",vid:"5ba51c50007d0c73e2b8eddd"};return 0<(t=+(t.offsetTime||0))&&("midroll"===i.toLowerCase()?n.schema.pods[0].time=t:"overlay"===i.toLowerCase()&&(n.schema.pods[0].slots[0].aeg[0][0].delay=t)),n},t}(),xh=n(6),Uh=n(12),Vh=n(1),Bh=n(11),Fh=n(66),zh=n(8),Hh=new(function(){function t(){this.Dx=[],this.Sx=[]}var i=t.prototype;return i.cx=function(t){0===zh.a.Op()&&this.Dx.push({ts:+new Date,url:t})},i.dx=function(t){0===zh.a.Op()&&this.Sx.push({ts:+new Date,url:t})},t}()),Gh=function(){function t(){}var i=t.prototype;return i.check=function(t){return S.call(this,t)},i.reset=function(){this.Ka=null},i.uw=function(){return this.Ka},t}(),Yh=n(18),qh=n(0),Wh=n.n(qh),Xh=(Nh=xh.a.hb().document,kh=null,Lh=null,Ch=null,["","webkit","moz","ms","o"].forEach((function(t){Mh=t?"".concat(t,"VisibilityState"):"visibilityState",Rh=t?"".concat(t,"Hidden"):"hidden",Dh="".concat(t,"visibilitychange"),kh||void 0===Nh[Mh]||(kh=Mh),Lh||void 0===Nh[Rh]||(Lh=Rh),Ch||void 0===Nh[Rh]||(Ch=Dh)})),{hidden:Lh,visibilityState:kh,ID:Ch}),Zh=function(){function t(){}return t.hasFocus=function(){return!(!j(xh.a.hb())&&!j(xh.a.hb().top))},t.isVisible=function(){return!!t.hasFocus()||!1===xh.a.hb().document[Xh.hidden]||"visible"===xh.a.hb().document[Xh.visibilityState]},t}(),Qh=function(){function t(){this.ve=[],this.hj=[],this.Eb=!1}var i=t.prototype;return i.add=function(t){var i=this;return new Uh.a((function(n){i.ve.push((function(){var s=t();n(i.ve[i.ve.length-1]),s&&s.then?s.then(I.bind(i)):(void 0===s||s)&&I.call(i)})),i.Eb||I.call(i)}))},i.wA=function(){var t=this;return new Uh.a((function(i){t.ve.length?t.hj.push(i):i()}))},i.next=function(){I.call(this)},i.empty=function(){this.ve=[],I.call(this)},t}(),Jh=function(){function t(i){this.N=i.config,this.Is=i.debugInfo,this.Pa=i.urls,this.Ls=this.N.zw(),Ih=t.Kx}var i=t.prototype;return i.Ba=function(t,i){i=i||{},this.N.sq()&&(i.itg="tbv"),this.N.Fj||this.Xc(N.call(this,t,i))},i.Xc=function(t){if(this.Ls&&"string"==typeof t&&-1!==t.indexOf("//")){xh.a.Bc()&&(t=Bh.a.Cl(t,"http://","https://")),0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t)),t=t.replace("[APID]",this.N.fe.utid);var i=document.createElement("img");i.src=t,Ih.add((function(){return!1}));var n=Ih.next.bind(Ih),s=setTimeout((function(){n(),i.onload=null,i.onerror=null}),1e3),e=function(){clearTimeout(s),n()};i.onload=e,i.onerror=e,this.Is.cx(t)}},t}();Jh.ca=["config","debugInfo","urls"],Jh.Kx=new Qh;var Kh=function(t){function i(i){var n=t.call(this,i)||this;return n.U=i.environment,n.Fb=i.smartViewability,n.fh=i.moatViewability,n.Kc=i.errorTracker,n.fc=i.hostWindowParamsObtainer,n}Wh()(i,t);var n=i.prototype;return n.Qa=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.yg=function(t){this.Qa({"p.vw.active":+Zh.isVisible(),"p.vw.sound":Math.round(100*this.U.getVolume()),vwa:this.Fb.Ca()},{vwm:this.fh.Ca()},t)},n.vl=function(t){var i=window.s_265||{};i={spaceid:this.fc.ed(),ss:i.channel||""},this.Qa(i,{},t)},i}(Jh);Kh.ca="config debugInfo urls environment smartViewability moatViewability errorTracker hostWindowParamsObtainer".split(" ");var $h=function(t){function i(i){var n=t.call(this,i)||this;return n.sp=[],n.O=i.injector,n.fc=i.hostWindowParamsObtainer,n}Wh()(i,t);var n=i.prototype;return n.DD=function(t){var i=M.call(this,"ResourceLoaded"),n=this.N.oa||{};i.c1="ResourceLoaded",i.c2=t,i.pv=n.jsVersion,i.pt=this.N.Yf(),this.Ba("action.gif",i)},n.click=function(t,i){var n={};void 0!==t&&(n.category=t),void 0!==i&&(n.clickName=i),this.Ba("click.gif",n)},n.display=function(t){this.O.Oe("adBlockerSniffer")?this.O.T("adBlockerSniffer").check().then(R.bind(this,t)):R.call(this,t)},n.action=function(t,i,n,s,e,r,h){(t=M.call(this,t)).ct=n,i&&(t.at=i),s&&(t.adId=s.Zz,t.rid=s.rid,t.txid=s.ED),e&&(t.externalId=e),r&&(t.c1=r.c1||r.Uz,t.c2=r.c2||r.Pz,t.c3=r.c3||r.Oz),h&&(t.PollId=h.VC,t.AnswerId=h.hA),this.Ba("action.gif",t)},n.zA=function(t,i){this.Ba("ad-fallback.gif",{Vz:t,jA:i.toLowerCase()})},n.wD=function(t){this.sp.push(t)},n.dD=function(){this.action("LoadExtra",null,null,null,null,{c1:this.sp.join(",")})},n.gD=function(t){this.action("videoSkipped",null,null,null,null,{c1:t})},i}(Kh);$h.ca="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var to=n(4),io=zh.a.La("Common"),no=document.createElement("video"),so={};document.createElement("video");var eo,ro,ho=function(t){function i(i){var n=t.call(this,i)||this;return n.U=i.environment,n}Wh()(i,t);var n=i.prototype;return n.wg=function(t,i,n,s,e,r){var h=this,o=Object(Vh.A)(n)||"",u={dt:o.substring(0,3e3),ec:s||"",edt:n&&n.edt?n.edt:null,et:t,itg:this.U.Wg,sact:this.N.Gd,st:i};t={code:s,details:n=Array.isArray(n)&&n[0].match(/([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]/g)?Object(Vh.A)(n.slice(1)):o,xD:i,type:t},Object(Vh.A)(t)!==Object(Vh.A)(ro)?(this.Ba("error.gif",u),eo=void 0):(Object(Vh.s)(eo)||(eo=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.Ba("error.gif",u)}),e||2e3,r||!1)),eo()),ro=Object(Vh.g)(t,ro)},n.CD=function(t,i,n){t={params:t},Object(Vh.g)(i,t),this.wg("no_params",void 0,t,void 0,void 0,n)},i}(Jh);ho.ca=["environment","config","debugInfo","urls"];var oo=document,uo=["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(" ")],ao=uo.find((function(t){return t[1]in oo}))||[];ao.forEach((function(t,i){return ao[uo[0][i]]=t}));var co=function(t){function i(i){var n=t.call(this,i)||this;return n.O=i.injector,n}Wh()(i,t);var n=i.prototype;return n.kz=function(t){var i=this.U.Vk()||{};i=Math.min(3*i.videoLength,i.currentPlayTime||i.currentTime||0),this.Qa({t:0<i?Math.floor(i):0},{},t)},n.Hu=function(t){if(this.O.Oe("bufferedCalculator")){var i=this.O.T("bufferedCalculator"),n=this.O.T("bitrateTracker");i=i.UA(void 0),n=n.RA(void 0),this.Qa({},{bft:i,bit:n},t)}},n.jz=function(t,i){i=i||this.U.lb||{};var n={cvt:Math.floor(void 0!==i.currentTime?i.currentTime:this.U.Qh()),fs:L()?+C():0,seq:i.xb,vid:this.U.lf||i.id||"",vpt:i.JD},s={vcdn:to.a.Lh(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.Qa(n,s,t)},n.ir=function(t){var i=this.U.Oh()||{};this.Qa({h:i.height,w:i.width},{},t)},n.jr=function(t){this.Qa({},{csid:null},t)},i}(Kh);co.ca="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var fo=function(t){function i(i){var n=t.call(this,i)||this;return n.U=i.environment,n.Ig=i.actionTracker,n.Xj=[],n}Wh()(i,t);var n=i.prototype;return n.sl=function(){this.Xj=[]},n.Zy=function(t){var i={};this.ir(i),this.jr(i),P.call(this,i,t),x.call(this,"video-play.gif",t,i)},n.Pl=function(t,i){t={q:t.progress},P.call(this,t,i),this.Ba("video-quartile.gif",t)},n.Yy=function(t,i){t={d:t.progress},P.call(this,t,i),this.Ba("video-decile.gif",t)},n.Uy=function(t){var i={};P.call(this,i,t),x.call(this,"video-3sec.gif",t,i)},n.tr=function(t){var i={pct:this.U.Vk().currentPercent||0};this.kz(i),P.call(this,i,t),x.call(this,"video-time.gif",t,i)},n.Xy=function(){var t={},i=this.U.sC()?this.U.Qh():null,n=this.U.dj;this.ir(t),this.jr(t),P.call(this,t,void 0),this.Ig.action("AutoPause",i,n)},i}(co);fo.ca="actionTracker config debugInfo environment errorTracker injector moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var lo=function(){function t(){this.Eb=!1}var i=t.prototype;return i.El=function(t,i){this.Pj=0,this.Ut=i,this.$i=t,this.Eb=!1,this.start()},i.start=function(){this.resume()},i.stop=function(){this.pause()},i.pause=function(){this.Eb&&(this.Eb=!1,this.Pj+=(new Date).getTime()-this.Hd,clearTimeout(this.bo))},i.resume=function(){!this.Eb&&this.$i&&(this.Eb=!0,this.Hd=(new Date).getTime(),this.bo=setTimeout(this.$i,this.Nx()))},i.zC=function(){return this.Eb||!1},i.Nx=function(){return Math.max(this.Ut-this.ev(),0)},i.ev=function(){return this.Pj+(this.Eb?(new Date).getTime()-this.Hd:0)},i.uk=function(){this.Eb=!1,clearTimeout(this.bo),this.$i=null},t}(),vo=function(){function t(t){this.ij=t}var i=t.prototype;return i.sg=function(t){this.ij=t},i.vw=function(t){return Math.floor(t/(this.ij/4))},i.Vv=function(t){return Math.floor(t/(this.ij/10))},t}(),po=function(){function t(t){this.Uc=t.videoTracker,this.kj=t.environment,this.ck=new vo,this.Ae=new lo}var i=t.prototype;return i.oD=function(t){this.kh=t},i.sg=function(t){this.ck.sg(t)},i.Zh=function(t){0<t&&(V.call(this,t),U.call(this,t))},i.ux=function(){this.sh=!0,this.me=this.ne=0,this.rh=this.kj.lb,this.Uc.Zy(this.rh),this.Ae.El(z.bind(this),3e3)},i.tx=function(){this.sh&&(this.ne=4,this.me=10,B.call(this),F.call(this),this.Ae.pause(),this.Uc.tr(this.kj.lb),this.sh=!1)},i.LC=function(){this.Uc.Xy()},i.sl=function(){this.Uc.sl()},i.OC=function(){this.Ae.resume()},i.NC=function(){this.Ae.pause()},i.MC=function(){this.sh&&(this.Ae.pause(),this.Uc.tr(this.kj.lb),this.sh=!1)},t}();po.ca=["videoTracker","environment"];var mo=n(38),bo=function(){function t(t){this.Vs=t.hostWindowProvider}return t.prototype.ed=function(){return H.call(this,"rapidConfig","spaceid")||(Vh.c.Wh()?793604935:793604934)},t}();bo.ca=["hostWindowProvider"];var yo=function(){function t(t){this.window=t}var i=t.prototype;return i.hb=function(){return this.window},i.hB=function(){return this.window.document},t}(),go=n(15),wo=n.n(go),Eo=function(){function t(t){this.R=t.viewabilitySubject}var i=t.prototype;return i.rc=function(t){this.R=t},i.isVisible=function(){return Zh.isVisible()},i.Ca=function(){},i.cg=function(){var t=this.Ca();return this.R&&-1!==t?!this.isVisible()||50>t?0:1:-1},t}();Eo.ca=["viewabilitySubject"];var Oo=function(t){function i(i){if((i=t.call(this,i)||this).fk=-1,void 0===window.IntersectionObserver)return wo()(i);var n=wo()(i);n.Vg=Fh.a.setTimeout(Y.bind(n),100);for(var s=window.IntersectionObserver,e=G.bind(n),r=[],h=0;100>h;h+=5)r.push(h/100);return r.push(1),n.hh=new s(e,{root:null,threshold:r}),n.hh.observe(n.R),i}Wh()(i,t);var n=i.prototype;return n.rc=function(t){this.fk=-1,this.hh&&(this.hh.unobserve(this.R),this.R=t,this.hh.observe(this.R))},n.isVisible=function(){return 0<this.Ca()},n.Ca=function(){return Zh.isVisible()?this.fk:0},i}(Eo);Oo.ca=["viewabilitySubject"];var Ao,_o=function(){function t(){var t=this;this.Ka=new Uh.a((function(i,n){t.resolve=i,t.reject=n}))}return t.prototype.uw=function(){return this.Ka},t}(),To=function(t){function i(i){var n=t.call(this,i)||this;return n.mb=i.dom,i=i.config,n.Qm=!!i.Tb("disable_3p")||!!i.Tb("disable_moat")||!!i.sw(),n.Qm||(Ao||(Ao=q.call(wo()(n))),n.rc(n.R)),n}Wh()(i,t);var n=i.prototype;return n.rc=function(t){var i=this;if(!this.Qm){if(this.Hf){if(this.Qg===t)return;this.Hf.destroy(),this.Hf=null}this.Qg=t,Ao.then((function(n){n.startTracking(t,{ready:W.bind(i,t)})}))}},n.Ca=function(){if(!this.Hf||!this.Qg||3>this.Qg.offsetHeight)return-1;var t=this.Hf.getPercentViewable();return isNaN(t)||null===t?-1:Math.min(Math.round(t),100)},n.cg=function(){var t=this.Ca();return 0>t||100<t?-1:50>t?0:1},i}(Eo);To.ca=["viewabilitySubject","dom","config"];var So=function(){function t(t){this.Fb=t.smartViewability,this.N=t.config,this.U=t.environment,this.fc=t.hostWindowParamsObtainer}var i=t.prototype;return i.eB=function(){var t=this.$p("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.N.je,t.pid=this.N.Fd,t.bid=this.N.Kk(),t},i.$p=function(t){var i=this.U.lb,n={};if(i&&i.id){n.vid=i.id,n.pt="html5",n.at=t?t.toLowerCase():"";var s=this.N.Rc;Object.keys(s).forEach((function(t){0===t.indexOf("m.vrm")&&(n[t]=s[t])}))}return n["p.vw.sound"]=Math.round(100*this.U.getVolume()),n.autoplayInit=this.N.gg()?1:0,n.space_id||(n.space_id=n.spaceid||this.fc.ed()),Object(Vh.g)(X.call(this),n)},i.NA=function(t){var i=this.U.lb,n={};return i&&(n.vid=i.id,(i=i.metadata||{}).duration&&(n.t=i.duration/1e3)),n.at=t?t.toLowerCase():"",Object(Vh.g)(X.call(this),n)},t}();So.ca=["smartViewability","config","environment","hostWindowParamsObtainer"];var jo=n(16),Io=n(10),No=n.n(Io),Mo={Dr:"aboveVisibleArea",Ir:"belowVisibleArea",pd:"hidden",rd:"inVisibleArea",Pr:"leftToVisibleArea",Tr:"rightToVisibleArea",zb:"NA"},Ro={Er:1,Ei:0},Do={Or:1,gm:0,zb:-1},ko={dm:3,fm:2,sd:1},Lo={Fi:1,Hg:0,zb:-1},Co={wz:Ro,xz:Do,yz:ko,Gz:Mo,Kz:Lo,qm:{Mr:function(){return this.Nr++},Nr:1,URL:"//redir.adap.tv/redir/client/VPixel.swf"},Kq:[],xg:{},lC:{},$v: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.Mz=n,t.Nz=s,{x:n,y:s}},Ke: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]:""},dd:function(t){var i={height:0,aa:0,X:0,width:0};if(t){i.width=t.offsetWidth,i.height=t.offsetHeight;var n=!1;try{var s=t.getBoundingClientRect();i.aa=Math.round(s.left),i.X=Math.round(s.top),n=!0}catch(t){}if(!n)try{var e=this.$v(t);i.aa=e.x,i.X=e.y}catch(t){}}return i},ld: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)})},fl:function(t,i){var n=this.tk(t);if((i=i||this.Ne(t))===ko.sd)return!0;if(i===ko.fm)return this.tk(t);try{var s=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}try{var e=this.Kp(s)}catch(t){return!0}for(t=0;t<e.length&&!n;t++)n=e[t],n=this.tk(n);return n},tk: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.Uk(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.Ke(t,"visibility")&&!n.call(this,t);e&&!s&&(s="hidden"===this.Ke(e,"visibility")||"none"===this.Ke(e,"display")||this.Rw(e),n.call(this,e)&&(s=!1),s=t||s,e!==e.ownerDocument.body);)e=e.parentNode;return s},Uk:function(t){var i=[],n=t.parentNode;try{for(;n&&n!==n.ownerDocument.body;)1===n.nodeType&&(i.push(this.ii(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.ii(n));for(;t;)null!=(t=t.previousSibling)&&1===t.nodeType&&i.push(this.ii(t));return i},Ty:function(t,i,n){var s,e=null,r=this.ld({length:t.width,offset:t.aa},{length:i.width,offset:i.aa}),h=this.ld({length:t.height,offset:t.X},{length:i.height,offset:i.X});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.kp(o[s].x,o[s].y,n))===t.node||u===i.node){e=u;break}}return e},kp:function(t,i,n){return(n=n||window).document.elementFromPoint(t,i)},Lw:function(t,i,n,s){var e=!0,r=this.dd(i),h=this.ld({length:t.width,offset:t.aa},{length:r.width,offset:r.aa+n.aa}),o=this.ld({length:t.height,offset:t.X},{length:r.height,offset:r.X+n.X}),u=h.length*o.length/(r.width*r.height);if(0===u)return{yk:!1};var a=this.kp(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.aa+t.width)*(t.X+t.height)==(r.aa+n.aa+r.width)*(r.X+n.X+r.height))&&(e=!1),this.Ty({height:t.height,aa:t.aa,node:t.node,X:t.X,width:t.width},{height:r.height,aa:r.aa+n.aa,node:i,X:r.X+n.X,width:r.width},s)===i&&(e=!1),{yk:e,height:o.length,aa:h.offset,Iq:u,X:o.offset,width:h.length}},Ro:function(t,i,n,s){var e;for(e=0;e<t.length;e++)if(1===t[e].node.nodeType&&this.So(t[e],i,n,[],t,s))return!0;return!1},So:function(t,i,n,s,e,r){var h=!1,o=t.node;if((t=this.Lw(t,i,n,r)).yk&&.5<=t.Iq)return!0;if(t.yk&&.5>t.Iq)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.ii(t[o]);h=h||this.So(u,i,n,s,e,r)}return h||this.kx(s,i,n)},ii:function(t){var i=this.dd(t);return i.node=t,i},kx:function(t,i,n){var s,e=0,r=0;if(this.dd(i),this.Ql(t),2>t.length)return!1;i=this.dd(i);var h=this.Ql(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.ld({length:h[s].Ch.width,offset:h[s].Ch.aa},{length:h[s].Dh.width,offset:h[s].Dh.aa});t=this.ld({length:h[s].Ch.height,offset:h[s].Ch.X},{length:h[s].Dh.height,offset:h[s].Dh.X}),o=this.ld({length:o.length,offset:o.offset},{length:i.width,offset:i.aa+n.aa}),t=this.ld({length:t.length,offset:t.offset},{length:i.height,offset:i.X+n.X}),r+=o.length*t.length}return.5<=(e-r)/(i.width*i.height)},Ql: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({Ch:t[0],Dh:t[n]});return 2>=t.length?i:this.Ql(t.slice(1),i)},wC:function(t){var i,n={aa:0,X:0};try{var s=this.Kp()}catch(t){s=[]}var e=this.Uk(t),r=window,h=this.Ro(e,t,n,r);for(i=0;i<s.length&&!h;i++){r=r.parent;var o=this.dd(s[i]);for(n.aa+=o.aa,n.X+=o.X,o=0;o<e.length;o++)e[o].aa+=n.aa,e[o].X+=n.X;o=this.Uk(s[i]),e=e.concat(o),h=h||this.Ro(e,t,n,r)}return h},Rw:function(t){var i=t.parentNode;return!(!i||"BODY"===t.tagName||"visible"===this.Ke(i,"overflow")&&"visible"===this.Ke(i,"overflow-x")&&"visible"===this.Ke(i,"overflow-y"))&&(0>t.offsetLeft||0>t.offsetTop||!(1<i.offsetWidth&&1<i.offsetHeight))},Kp:function(t){var i=[];for(t=t||window;t!==window.top;)i.push(t.frameElement),t=t.parent;return i},Ne:function(t){t=t||document.body;try{return window.top.location.href?t.ownerDocument.defaultView.frameElement?ko.dm:ko.fm:ko.sd}catch(t){return ko.sd}},aq:function(t){var i=t.document,n=i.compatMode&&"BackCompat"!==i.compatMode?i.documentElement:i.body,s={width:0,height:0,aa:0,X: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.aa=i.all?n.scrollLeft:t.pageXOffset,s.X=i.all?n.scrollTop:t.pageYOffset,s},Jh:function(t,i){return 0<i.width&&0<i.height&&0<t.width&&0<t.height?t.X+t.height<=i.X?Mo.Dr:t.X>=i.height+i.X?Mo.Ir:t.aa+t.width<=i.aa?Mo.Pr:t.aa>=i.width+i.aa?Mo.Tr:Mo.rd:Mo.pd},Xk:function(t,i){var n={aa:0,X:0,width:0,height:0},s=i.aa-t.aa;return n.aa=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.X-t.X,n.X=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},bw:function(t,i){return t=Math.min(i.width-t.aa,t.width+t.aa)/t.width*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Cw:function(t,i){return t=Math.min(i.height-t.X,t.height+t.X)/t.height*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Sp:function(t,i,n){var s=Co.Ne(t),e=0,r=0,h=Mo.zb;return s!==ko.sd&&(this.fl(t,s)?h=Mo.pd:(t={aa:0,X:0,width:n.width,height:n.height},(h=this.Jh(i,t))===Mo.rd&&(e=this.bw(i,t),r=this.Cw(i,t)),e&&r||(e=0))),{Lb:e,position:h,yb:e}},ow:function(t,i,n,s){var e={Lb:0,position:Mo.zb,yb:0},r=Co.Ne(t);if(r===ko.sd)return e;if(this.fl(t,r)&&(e.position=Mo.pd),e.position!==Mo.pd&&(t=n[n.length-1],r={height:s.height,aa:0,X:0,width:s.width},s=this.Jh(t,r),e.position=s,s===Mo.rd)){for(t=this.Xk(t,r),r=n.length-1;0<r&&(s=this.Jh(n[r-1],t))===Mo.rd;)t=this.Xk(n[r-1],t),r--;s===Mo.rd&&this.Jh(i,t)===Mo.rd?(n=(t=this.Xk(i,t)).width/i.width*100,n=Math.round(100*n)/100,n=Math.round(n),e.Lb=n,n=t.height/i.height*100,n=Math.round(100*n)/100,n=Math.round(n),e.yb=n):e.position=Mo.pd}return e},Bp:function(t){var i=window,n={nA:"NA",la:{Lb:0,height:0,aa:0,position:Mo.zb,X:0,yb:0,width:0},hostname:window.location.hostname,qb:{fp:!1,height:0,aa:0,Pe:0,zx:"",X:0,Sy:"",width:0},eg:!1,Ec:{height:0,aa:0,X:0,width:0}},s=this.dd(t);if(n.la.aa=s.aa,n.la.X=s.X,n.la.width=s.width,n.la.height=s.height,(s=Co.Ne(t))===ko.sd)return n.eg=!0,n.qb.fp=!0,n.qb.Pe=-1,n.la.Lb=100,n.la.yb=100,n;s===ko.dm&&(n.eg=!0,n.qb.Sy=window.top.location.href),this.fl(t,s)&&(n.la.position=Mo.pd);try{i=t.ownerDocument.defaultView||i}catch(t){}if(n.Ec=this.aq(i),(s=this.Sp(t,n.la,n.Ec)).position!==Mo.rd)return n.la.position=s.position,n.la.Lb=s.Lb,n.la.yb=s.yb,n.la.width=n.la.width<n.Ec.width?n.la.width:n.Ec.width,n.la.height=n.la.height<n.Ec.height?n.la.height:n.Ec.height,n;try{if(n.eg){window.parent&&window.parent.location&&(n.qb.zx=window.parent.location.href),n.Ec=this.aq(window.top);for(var e=[];i!==window.top;){var r=this.dd(i.frameElement);0===n.qb.Pe&&(n.qb.width=r.width,n.qb.height=r.height),n.qb.aa=r.aa,n.qb.X=r.X,e[n.qb.Pe]=r,n.qb.Pe+=1,i=i.parent}s=this.ow(t,n.la,e,n.Ec),n.la.position=s.position,n.la.Lb=s.Lb,n.la.yb=s.yb}}catch(t){n.qb.Pe=-1}return n.eg||(s=this.Sp(t,n.la,n.Ec),n.la.position=s.position,n.la.Lb=s.Lb,n.la.yb=s.yb),n},pw:function(t,i){var n=null;if(this.xg[t]&&this.xg[t][t]&&this.xg[t].parentNode)return this.xg[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.xg[t]=n),n},mw: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}},Ow:function(t){return null!==t&&"object"===No()(t)&&1===t.nodeType},wv:function(){if(void 0!==navigator.plugins&&"object"===No()(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},Mp:function(t,i,n,s){var e,r=Co.Kq,h=!this.wv(),o="7221 7658 7257 7386 7480 7716 7597 7865".split(" "),u=["mindjoltinc","cinesport"],a=!1;for(t=this.Ow(t)?t:this.pw(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=Co.Vp(t)).kb=s.Gh,s.qz=s.Gh,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 Co.Ki(i,t),r.push(c)),c.Mp(n)},XC:function(t){var i,n=Co.Kq;for(i=0;i<n.length;i++)if(n[i].id===t){n[i].dispose(),n.splice(i,1);break}},Vp:function(t){var i={active:Ro.Ei,cv:"",Gh:Lo.zb,hasFocus:Do.zb};if(t){var n=Co.Bp(t);if(i.SC=n.la.width,i.RC=n.la.height,i.cv=t.id,n.la.position!==Mo.zb){t=n.la.width*n.la.Lb/100;var s=n.la.height*n.la.yb/100;i.Gh=0===t||0===s?Lo.Hg:.5<=t*s/(n.la.width*n.la.height)?Lo.Fi:Lo.Hg}else n.eg&&(i.jv="inIframe"),n.qb.fp&&(i.jv="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?Ro.Ei:Ro.Er,i.hasFocus=Co.Tw()}return i},Tw:function(){return!0===document.hidden?Do.gm:Co.Ne()===ko.sd?Do.zb:window.top.document.hasFocus?window.top.document.hasFocus()?Do.Or:Do.gm:Do.zb},Ai:function(t){var i=Co.dd(this.hd),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=Co.mw(t);this.Ve=1,this.jx=3,this.hd=t,this.top=i.X+s,this.left=i.aa+n,this.width=i.width,this.height=i.height,this.minWidth=e.width,this.minHeight=e.height,this.Ar=this.minWidth/(this.Ve+1),this.Br=this.minHeight/(this.Ve+1)}};Co.Ai.prototype={constructor:Co.Ai,Qv:function(){return window.mk&&window.mk.Pw?[]:[{x:-1e4,y:-1e4}]},xw:function(){var t,i=[],n=this.left;for(t=0;t<this.Ve;t++)n+=this.Ar,i.push({x:n,y:this.top});return i},ww:function(){var t,i=[],n=this.top;for(t=0;t<this.Ve;t++)n+=this.Br,i.push({x:this.left+this.minWidth-1,y:n});return i},Hv:function(){var t,i=[],n=this.left;for(t=0;t<this.Ve;t++)n+=this.Ar,i.push({x:n,y:this.top+this.minHeight-1});return i},hw:function(){var t,i=[],n=this.top;for(t=0;t<this.Ve;t++)n+=this.Br,i.push({x:this.left,y:n});return i},Dv:function(){return[this.Qv(),this.xw(),this.ww(),this.Hv(),this.hw()]},Dp:function(){var t=this.Dv();return[].concat.apply([],t)}},Co.Ki=function(t,i){this.id=t,this.ib=new Co.Ai(i),this.Ll=!1,this.kb=-1,this.Xb=[],this.timeout=void 0,this.rr=1800,this.Kd=""},Co.Ki.prototype={constructor:Co.Ki,Mp:function(t){var i=this;if(!this.Ll){for(this.Kd=t,t=0;t<this.ib.Dp().length;t++){var n=new Co.Ni;n.iq(this,this.Py),this.Xb.push(n)}return setTimeout((function(){i.Qx()}),1),this.timeout=setTimeout((function(){clearTimeout(i.timeout),!i.nk()&&i.Oo()&&i.ib&&i.ib.hd[i.Kd](i.Pk())}),this.rr),this.Ll=!0,null}t&&this.ib.hd[t](this.Pk())},Qx:function(){var t;if(this.ib){var i=this.ib.Dp();for(t=0;t<i.length;t++){var n=i[t];this.Xb[t].Px(n.x,n.y)}}},Py:function(){if(this.nk()&&(clearTimeout(this.timeout),this.Oo())){var t=this.Pk();this.ib.hd[this.Kd](t)}},Pk:function(){var t,i=Co.Vp(this.ib.hd),n=0;if(this.nk()){for(t=0;t<this.Xb.length;t++){n+=this.Xb[t].kb}this.framerate=n>=this.ib.jx?Lo.Fi:Lo.Hg}else this.framerate=Lo.zb;return i.framerate=this.framerate,i.kb=this.framerate===Lo.zb?i.Gh:this.framerate,i.active===Ro.Ei&&i.kb===Lo.Fi&&(i.kb=Lo.Hg),i.qz=i.kb,i},nk:function(){var t,i=0;if(this.ib&&window.mk&&!window.mk.Pw&&0!==this.Xb[0].kb)return!1;for(t=0;t<this.Xb.length;t++)-1<this.Xb[t].kb&&i++;return i===this.Xb.length},Oo:function(){return this.Kd&&this.ib&&this.ib.hd&&this.ib.hd[this.Kd]&&"function"==typeof this.ib.hd[this.Kd]},dispose:function(){var t,i=this.Xb.length;for(t=0;t<i;t++)this.Xb[t].destroy();this.ib=null,this.Ll=!1,this.kb=-1,this.Xb=[],this.timeout=0,this.rr=1800,this.id=this.Kd=""}},Co.Ni=function(){var t=this;this.kb=-1,this.id=Co.qm.Mr(),this.il="__adaptv__spotnotify__".concat(this.id.toString()),this.interval=0,this.xl=this.Mf=this.pi=null,window[this.il]=function(i,n,s){t.kb=s,t.Mf&&(t.Mf.apply(t.xl),t.Mf=null)}},Co.Ni.prototype={constructor:Co.Ni,iq: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="1