;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.125","config":null,"expiry":600,"req":{"ypv":null,"path":"/p/oath/js/1/video-quartile.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.125/",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}},"+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("EOV8"),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.tE(t);case s.PluginType.AD:return e.isAdPlugin(t);case s.PluginType.VISUAL_SEEK:return this.iE(t);case s.PluginType.BRANDING:return this.nE(t);case s.PluginType.PLAYLIST:return this.sE(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.tE=function(t){return!(!t||e.isNullOrUndefined(t.resolve)||!e.isFunction(t.resolve)||e.isNullOrUndefined(t.cancel)||!e.isFunction(t.cancel))},t.prototype.iE=function(t){return!(!t||e.isNullOrUndefined(t.getThumbnailData)||e.isNullOrUndefined(t.update)||!e.isFunction(t.getThumbnailData)||!e.isFunction(t.update))},t.prototype.nE=function(t){return!(!t||e.isNullOrUndefined(t.create)||!e.isFunction(t.create))},t.prototype.sE=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.eE(t),f.call(this,t,i),this.name=l.CMD_SEGMENT_LOAD,this.rE=t.segment,this.hE=t.stream,this.__controller=this.data.controller,this.oE=this.__controller.model,this.uE=this.rE?this.rE.url:t.url,this.aE=this.rE?this.rE.streamIndex:t.stream.index,this.cE=this.rE?this.rE.encryptionData:null,this.fE=!1,this.lE=new o,this.vE=0,this.dE=null;var n=t.controller.services;this._t=[403],this._i=n.getNewLoader(this.qi()),this.cE&&this.cE.keyUri&&(this.pE=n.getNewLoader(this.mE())),this.bE=this.__controller.services.bandwidthEstimator,this.yE=new u(this.bE.COLLECTION_INTERVAL),this.yE.addEventListener(this.gE,this),this.wE()}s.inherits(d,f),d.prototype.destroy=function(){this.cancel(),this._i.destroy(),this.yE.destroy(),this.lE.destroy(),this.pE&&this.pE.destroy(),this.EE&&this.EE.destroy(),f.prototype.destroy.call(this)},d.prototype.eE=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.mE=function(){var t={responseType:"arraybuffer",isChunkedLoad:!1,headerFields:{},retryExclusion:this._t};return this.oE.metadata.skt&&(t.headerFields.skt=this.oE.metadata.skt),t},d.prototype.qi=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,headerFields:{},retryExclusion:this._t},i=this.rE?this.rE.bitrate*this.rE.duration/8:0;return this.rE.brStartOffset>=0&&this.rE.brEndOffset>=0&&(t.headerFields.Range="bytes="+this.rE.brStartOffset+"-"+this.rE.brEndOffset,i=this.rE.brEndOffset-this.rE.brStartOffset+1),t.minChunkSize=.025*i,"atlas"===this.rE.cdn&&(t.headerFields.Accept="*/*; X-PB-SESSION-ID="+this.rE.sessionId),0===this.rE.streamIndex&&(t.timeout=1e4),t},d.prototype.wE=function(){var t=this.OE();t.containerFormat=this.rE.containerFormat,t.encryptionData=this.cE;var i=this.__controller.create(r,t);i&&(i.addEventListener(h.DATA_PROCESS_PROGRESS,this.AE,this),i.addEventListener(h.DATA_PROCESS_COMPLETE,this._E,this),i.addEventListener(h.DATA_PROCESS_ERROR,this.TE,this),this.EE=i)},d.prototype.OE=function(){return{seqNum:this.rE.seqNum,discontinuity:this.rE.discontinuity,demux:this.oE.config.demux,width:this.hE?this.hE.width:640,height:this.hE?this.hE.height:360,timescale:this.hE.timescale?this.hE.timescale:this.oE.timescale,duration:this.oE.duration,segDuration:this.rE.duration?this.rE.duration:-1,pcr:this.oE.getPCR(),frameRate:this.hE?this.hE.frameRate:30,mp4State:this.data.state?this.data.state.mp4:null,startOffsetTimestamp:this.oE.startOffsetTimestamp,startTime:this.rE.startTime,lastChunkEndTs:this.data.state?this.data.state.lastChunkEndTs:null,lastFrameDuration:this.data.state?this.data.state.lastFrameDuration:null,prevSegEndTimeStamps:this.oE.getPrevSegEndTimestamps(this.hE,this.rE),isAltAudioActive:!!this.data.state&&this.data.state.isAltAudioActive,live:this.oE.live,onlyMetadata:this.data.onlyMetadata,useEditBox:!0,userAgent:this.oE.userAgent,dash:this.oE.isDash(),type:this.hE.type}},d.prototype.execute=function(){this.vE=0,this.SE=!1,this.fE=!0,this.IE=Date.now(),this.jE=0,this.ME=0,this.rE&&(this.rE.totalDownloadTime=0,this.rE.timeToFirstByte=0),this.NE=Date.now(),this.yE.start(),this.cE&&this.pE&&this.RE(),this.DE()},d.prototype.cancel=function(){this.LE(),this._i.reset()},d.prototype.LE=function(){this.yE.reset(),this.EE&&this.EE.close(),this.fE=!1},d.prototype.RE=function(){var t=this;if(t.cE&&t.pE){var i=t.hE.lastKey,n=t.cE.keyUri;if(i&&i.keyUri&&i.key&&i.keyUri===n)t.kE(i.key);else{t.pE.addEventListener(e.COMPLETE,(function(i){t.kE(i)}),t),t.pE.addEventListener(e.ERROR,(function(i){t.publish(v.CMD_ERROR,t,i)}),t),t.pE.load(n)}}},d.prototype.DE=function(){var t=this;if(t._i){var i=t.uE;t._i.addEventListener(e.COMPLETE,(function(){t.CE()}),t),t._i.addEventListener(e.PROGRESS,(function(i,n){t.PE(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.xE(i,n)}),t),t._i.load(i)}},d.prototype.xE=function(t,i){this.rE&&0===this.rE.timeToFirstByte&&(this.rE.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.vE,0),this.vE=t},d.prototype.PE=function(t,i){i!==this.vE&&this.xE(i),this.EE&&this.EE.append(t)},d.prototype.CE=function(){this.gE(),this.yE.stop();var t=this.UE();this.EE&&this.EE.endOfSegment(),t>0&&this.bE.replaceSamples(this.vE,t)},d.prototype.kE=function(t){t.type="key",t.initVector=this.cE.initVector,t.seqNum=this.rE.seqNum,this.rE.encryptionData.key=t,this.hE.lastKey=this.cE,this.EE.append(t)},d.prototype.AE=function(t){t&&(t.putParam&&(this.dE&&t.putParam("perfInfo",this.dE),t.putParam("bytesTotal",this.vE)),this.publish(v.CMD_PROGRESS,this,t))},d.prototype._E=function(t){this.publish(v.CMD_COMPLETE,this,t)},d.prototype.TE=function(){},d.prototype.gE=function(){var t=Math.max(this.jE,0),i=Date.now();this.ME=i-this.IE,this.yE.reset(),this.bE&&this.ME>10&&(this.IE=i,this.rE&&(this.rE.totalDownloadTime+=this.ME),this.jE=0,this.bE.addSample({size:t,time:this.ME})),this.yE.start()},d.prototype.UE=function(){var t=this.lE?this.lE.getPerformanceTiming(["startTime","requestStart","responseStart","responseEnd","secureConnectionStart","fetchStart","connectStart","domainLookupStart"],this.uE):null;return this.dE=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.VE="0.2.415",this.BE="1.1.258",this.FE=!1,this.zE="none",this.HE=!1,this.qE=new b.default,this.qE.width=i&&i.width||this.qE.width,this.qE.height=i&&i.height||this.qE.height,this.qE.videoWidth=this.qE.width,this.qE.videoHeight=this.qE.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.WE=[],this.ZE=i,this.QE=this.XE(i),this.JE(),this.KE(),this.$E(),this.tO(n),this.iO(),this.nO(),this.QE.mediaItems&&this.QE.mediaItems.length&&(this.firstItemAdsSitePrefetched=!!this.QE.mediaItems[0].adConfig),this.playlist=new m.default(this.sO),this.QE.mediaItems&&this.QE.mediaItems.forEach((function(t){t.adConfigPrefetched=!!t.adConfig})),this.playlist.addItems(this.QE.mediaItems),this.ccUserPreferences={show:!1,lang:"en-US",fontSize:24,fontName:"Arial, Helvetica, sans-serif",fontColor:"#ffffff",fontOpacity:1,fontEffect:"none",bgColor:"#000000",bgOpacity:.75,ccPos:"bottom",isAvailable:!1},this.rendered=!1}return t.prototype.destroy=function(){this.playlist.destroy(),this.rendererTypes=[],this.adsRendererTypes=[]},Object.defineProperty(t.prototype,"config",{get:function(){return this.QE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.QE.site||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.QE.region||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.QE.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.QE.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.QE.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.QE.ui;return t?t.docking:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logos",{get:function(){var t=this.QE.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.QE.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.QE.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.QE.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.QE.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.QE.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.QE.ui;i&&i.startScreen&&(i.startScreen.show=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFullscreenButton",{get:function(){var t=this.QE.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.QE.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.QE.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.QE.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.QE.ui;return i?i.playlist:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){var t=this.QE.continuousPlay;return void 0===t?d.defaultConfigs.continuousPlay:t},set:function(t){this.QE.continuousPlay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"adPlaybackOnly",{get:function(){var t=this.QE.adPlaybackOnly;return void 0===t?d.defaultConfigs.adPlaybackOnly:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoplay",{get:function(){var t=this.QE.autoplay;return void 0===t?d.defaultConfigs.autoplay:t},set:function(t){this.QE.autoplay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stopBufferingOnPause",{get:function(){var t=this.QE.stopBufferingOnPause;return void 0===t?d.defaultConfigs.stopBufferingOnPause:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preload",{get:function(){var t=this.QE.preload;return void 0===t?d.defaultConfigs.preload:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fullscreen",{get:function(){var t=this.QE.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.qE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackState",{get:function(){return this.eO},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"waitingForUserTap",{get:function(){return this.FE},set:function(t){this.FE=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preloadBufferSize",{get:function(){var t=this.QE.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.QE.skipOnError||d.SkipOnError.NEVER},set:function(t){this.QE.skipOnError=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveUnloadOnPause",{get:function(){return this.QE.liveUnloadOnPause||!0},set:function(t){this.QE.liveUnloadOnPause=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDrmAvailable",{set:function(t){this.HE=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"drmSystem",{set:function(t){t&&(this.zE=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.VE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jshlsVersion",{get:function(){return this.BE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"casting",{get:function(){return void 0===this.QE.casting||this.QE.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.ZE},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.WE},set:function(t){this.WE=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.eO)throw new Error("playbackState is already set");this.eO=t,this.rO(),this.hO()},t.prototype.isPlaylistStructured=function(){return!1},t.prototype.isLocal=function(){return this.VE.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.QE.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.QE.loop=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this.eO&&this.eO.mute},set:function(t){this.eO&&l.isBoolean(t)&&(this.eO.mute=t)},enumerable:!0,configurable:!0}),t.prototype.getState=function(){return this.playbackState.state},t.prototype.setState=function(t){this.eO&&(Object.keys(a.States).indexOf(t.toUpperCase())>-1&&(this.playbackState.state=t))},Object.defineProperty(t.prototype,"volume",{get:function(){return this.eO&&this.eO.volume},set:function(t){this.eO&&l.isNumber(t)&&t>=0&&t<=1&&(this.eO.volume=t)},enumerable:!0,configurable:!0}),t.prototype.isPaused=function(){return this.playbackState&&this.playbackState.paused},t.prototype.setPaused=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.paused=t)},t.prototype.isSeeking=function(){return this.playbackState&&this.playbackState.seeking},t.prototype.setSeeking=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.seeking=t)},t.prototype.isLoading=function(){return this.playbackState&&this.playbackState.loading},t.prototype.setLoading=function(t){this.playbackState&&l.isBoolean(t)&&(this.playbackState.loading=t)},t.prototype.getPlaylistRenderingType=function(){var t=this.playlist&&this.playlist.playlistId,i=this.ZE&&this.ZE.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.sO},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"seekControls",{get:function(){return this.QE.ui&&this.QE.ui.seekControls||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundPause",{get:function(){return this.QE.backgroundPause?this.QE.backgroundPause:d.defaultConfigs.backgroundPause},enumerable:!0,configurable:!0}),t.prototype.getEventsDto=function(){var t={rendererType:this.playbackState&&this.playbackState.rendererType,playerVersion:this.VE,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.zE,drm:this.HE,playbackMode:this.playbackState&&this.playbackState.playbackMode,currentMediaType:this.playbackState&&this.playbackState.currentMediaType,currentTs:Date.now(),pbst:this.getState(),pbstd:this.oO(),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.XE=function(t){var i=v.default.deepCopy(t);return i=v.default.mergeObjects(i,d.defaultConfigs),i=this.uO(i)},t.prototype.oO=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.uO=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.JE=function(){!c.LocalStorage.get("vp-dont-autoplay")&&this.isAutoplayAllowed()||(this.autoplay=!1)},t.prototype.hO=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.rO=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.ZE.volume;l.isNumber(s)&&s>=0&&s<=1&&(t=s),l.isBoolean(this.ZE.mute)&&(i=this.QE.mute),this.volume=t,this.mute=i},t.prototype.$E=function(){(!this.autoplay||this.playbackState&&this.waitingForUserTap)&&!this.chromeless&&(this.showStartScreen=!0)},t.prototype.aO=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.cO(t)},t.prototype.cO=function(t){var i=this,n={};return t?(t.forEach((function(t){var s=h.default.get(t);s&&(n[t]=s,!i.config.enableDash||t!==o.RendererType.HTML5_HLS&&t!==o.RendererType.HTML5_HLS_360||(n[t].preferredFormats.unshift("mpd"),n[t].acceptedFormats.unshift("mpd")),i.GE.skipFormats.length>0&&(n[t].preferredFormats=n[t].preferredFormats.filter((function(t){return-1===i.GE.skipFormats.indexOf(t)}))))})),n):n},t.prototype.tO=function(t){this.aO(),this.sO=t||new p.default(this.rendererTypes,this.adsRendererTypes,this.capabilities)},t.prototype.iO=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.KE=function(){f.default.canPlayInline&&f.default.autoplayByUIEvtOnly&&this.autoplay&&(this.waitingForUserTap=!0)},t.prototype.nO=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("EOV8"),o=n("Na72"),u=function(){function t(t,i,n,s){this.fO=t,this.lO=i,this.oE=n,this.vO=s}return t.prototype.syncState=function(){var t=this.oE.getState();t===o.States.INIT||t===o.States.WAITING||t===o.States.VIDEO?this.dO():t===o.States.END&&this.pO()},t.prototype.destroy=function(){this.pO()},t.prototype.dO=function(){var t=this.oE.playlist&&this.oE.playlist.getCurrentItem();if(this.vO&&t&&t.brandingData&&!this.mO){var i=this.vO.getPlugin(h.PluginType.BRANDING,t.brandingData.mimetype),n=i&&i.create(t.brandingData);n&&(this.mO=n,this.mO.style.visibility="hidden",this.bO(),this.yO=this.mO.offsetHeight,this.gO(),this.mO.style.visibility=null,this.wO())}},t.prototype.bO=function(){var t=this.lO.getContentNode(),i=this.lO.getPlaylistController(),n=i.getPlaylistRootElement(),s=i.isPlaylistShown(),r=i.getPlaylistUIPosition();s&&r===e.PLAYLIST_POS.BOTTOM&&n?n.parentNode.insertBefore(this.mO,n):t.appendChild(this.mO)},t.prototype.wO=function(){var t=this;this.EO||(this.EO=this.fO.on([s.ExternalEvt.PLAYER_DOCKED_CHANGE,r.FULLSCREEN_CHANGE],(function(i){t.OO&&(window.clearTimeout(t.OO),t.OO=null),i===r.FULLSCREEN_CHANGE?t.OO=window.setTimeout((function(){t.OO=null,t.gO()}),700):t.gO()}),this))},t.prototype.pO=function(){var t=this.lO.getMainElement();t&&(t.style.height="100%"),this.mO&&(this.mO.parentNode.removeChild(this.mO),this.mO=null,this.yO=null,this.AO())},t.prototype.AO=function(){this.EO&&(this.fO.removeEventListeners(this.EO),this.EO=null)},t.prototype.gO=function(){var t=this.lO.getContentNode(),i=this.lO.getMainElement();this.mO&&this.yO&&t&&i&&(i.style.height="calc(100% - "+this.yO+"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("MKj3"),l=n("EOV8"),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.fO=i,r.lO=n,r.oE=s,r.vO=e,r._O=!0,r.fO.addEventListener(c.VideoEvent.PLAYING,r.TO,r),r.fO.addEventListener(c.CAST.CAPTION_AVAILABILITY_CHANGED,r.updateClosedCaptionUI,r),r.fO.addEventListener(c.RELATED_ITEM_CLICK,r.SO,r),r.fO.addEventListener(c.FULLSCREEN_CHANGE,(function(){r.IO(r.lO.getFullscreen())}),r),r.fO.addEventListener(u.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,(function(t){r.jO&&A(r.jO)[t?"remove":"add"]("vp-hidden")}),r),r.fO.addEventListener(u.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,(function(t){r.jO&&A(r.jO)[t.connected?"add":"remove"]("vp-airplay-on")}),r),r.fO.addEventListener(c.KEYDOWN,r._c,r),r.fO.addEventListener(u.ExternalEvt.PLAYER_DOCKED_CHANGE,r.MO,r),r.fO.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.RO=this.NO.querySelector(".vp-slider"),this.DO=this.NO.querySelector(".vp-buffer-bar"),this.LO=this.NO.querySelector(".vp-time-container"),this.kO=this.NO.querySelector(".vp-menu-controls"),this.CO=this.NO.querySelector(".vp-current-time"),this.PO=this.NO.querySelector(".vp-total-time"),this.xO=this.NO.querySelector(".vp-handle"),this.UO=this.NO.querySelector(".vp-playback-bar"),this.VO=this.NO.querySelector(".vp-play-btn"),this.BO=this.NO.querySelector(".vp-forward-btn"),this.FO=this.NO.querySelector(".vp-backward-btn"),this.zO(),this.HO=this.NO.querySelector(".vp-seek"),this.qO=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.WO=this.NO.querySelector(".vp-fullscreen-btn"),this.ZO=this.NO.querySelector(".vp-volume-btn"),this.QO=this.NO.querySelector(".vp-volume-bar-container"),this.XO=this.NO.querySelector(".vp-volume-level"),this.JO=this.NO.querySelector(".vp-volume-bar"),this.KO=this.NO.querySelector(".vp-volume-value"),this.$O=this.NO.querySelector(".vp-volume-handle"),this.rA=i.multiAudioList,this._A=this.NO.querySelector(".vp-multiaudio-btn"),this.t_=i.logoContainer,this.i_=i.muteIndicator,this.n_=i.titleBar,this.s_=this.NO&&this.NO.parentNode.querySelector(".vp-playing-item-title-header"),this.e_=i.topBar,this.r_=this.e_&&this.e_.querySelector(".vp-content-type"),this.h_=this.oE.showTitleOnHover;var n=this.WO&&b.default.isOldIeBrowser()&&b.default.isIFrame();if(n=n||!this.oE.showFullscreenButton){var s=document.createElement("div");A(s).add("vp-fullscreen-btn-replacement"),this.WO&&(this.WO.parentNode.insertBefore(s,this.WO),this.WO.parentNode.removeChild(this.WO),this.WO=null)}return p.default.airplaySupported&&this.oE.casting||this.jO&&this.jO.parentNode&&(this.jO.parentNode.removeChild(this.jO),delete this.jO),this.o_(),!b.default.isOldIeBrowser()&&this.u_(),this.a_(),this.c_(),this.GO&&(this.f_?this.f_.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.l_(),this.v_(),i},i.prototype.syncAriaState=function(){this.oE.isPaused()?this.VO.setAttribute("aria-label",d.default.PLAY_VIDEO):this.VO.setAttribute("aria-label",d.default.PAUSE_VIDEO),this.WO&&(this.lO.getFullscreen()?this.WO.setAttribute("aria-label",d.default.GO_TO_NORMAL_SCREEN):this.WO.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN)),this.ZO&&(A(this.ZO).contains("muted")?this.ZO.setAttribute("aria-label",d.default.UNMUTE):this.ZO.setAttribute("aria-label",d.default.MUTE))},i.prototype.getBottomBar=function(){return this.NO},i.prototype.onMediaItemLoaded=function(t){this.d_=t.isLive(),this.p_=t.liveState,this.r_.innerHTML="",this.r_.setAttribute("aria-label",""),A(this.r_).add("hide"),"chrome"===t.liveLabel&&A(this.r_).add("vp-nonpersistent"),this.d_?this.m_():this.b_()},i.prototype.updateVolumeUI=function(t,i){"boolean"!=typeof i||m.isNullOrUndefined(i)?this.y_(!t):(this.y_(i),t=i?0:t),this.g_(t)},i.prototype.updateClosedCaptionUI=function(t){this._O=t,t?(A(this.GO).remove("vp-hide"),A(this.w_).remove("vp-hide"),this.E_(d.default.CAPTIONS_AVAILABLE)):(A(this.GO).add("vp-hide"),A(this.w_).add("vp-hide"),this.E_(d.default.CAPTIONS_NOT_AVAILABLE))},i.prototype.updateClosedCaptionButtonState=function(t){t?(A(this.GO).add("vp-on"),this.E_(d.default.CAPTIONS_ON)):(A(this.GO).remove("vp-on"),this.E_(d.default.CAPTIONS_OFF)),this.O_&&this.O_.updateCCToggleState(t),this._O||this.E_(d.default.CAPTIONS_NOT_AVAILABLE)},i.prototype.updateAvailableLanguages=function(t){this.O_&&this.O_.updateAvailableLanguages(t)},i.prototype.onPlayerResize=function(t){this.O_&&this.O_.onPlayerResize(t),t.width<=a.HideBreakpointDimensions.WIDTH&&t.height<=a.HideBreakpointDimensions.HEIGHT?A(this.A_).add("vp-hide"):A(this.A_).remove("vp-hide"),this.__&&this.__.onPlayerResize(t,this.T_)},i.prototype.onlanguageChange=function(t){this.lO&&this.lO.onlanguageChange(t)},i.prototype.updateClosedCaptionStyle=function(t){this.lO&&this.lO.updateClosedCaptionStyle(t)},i.prototype.onMediaItemCurrent=function(t){},i.prototype.onMediaItemPlaybackStarted=function(t){this.d_?this.m_():this.b_(),this.v_(),this.S_(),this.l_(),this.I_(),this.rA&&this.j_(),this.M_(),this.N_(t),this.__&&this.__.onPlaybackStarted(t);var i=this.oE.uiState.width<=a.HideBreakpointDimensions.WIDTH&&this.oE.uiState.height<=a.HideBreakpointDimensions.HEIGHT;this.__&&this.__.shouldEnableSettings()&&!i?A(this.A_).remove("vp-hide"):A(this.A_).add("vp-hide")},i.prototype.onMediaItemPlaybackProgress=function(t){var i=this.eO,n=t.buffered,s=i.currentTime,e=i.playbackMode;n&&this.R_(n),void 0!==s&&e===v.PlaybackMode.VIDEO&&this.D_(s)},i.prototype.onAdBreakStarted=function(){A(this.RO).add("vp-disable"),A(this.BO).add("vp-disable"),A(this.FO).add("vp-disable")},i.prototype.onAdPlaybackStarted=function(){this.v_(),this.L_(),this.k_(),this.C_(),A(this.RO).add("vp-disable"),A(this.r_).add("hide"),A(this.LO).add("vp-hide"),A(this.A_).add("vp-hide"),this.__&&this.__.isOpen()&&this.__.toggleSettings(this.T_)},i.prototype.onAdPlaybackEnded=function(){this.I_(),this.oE.seekControls.show&&(A(this.BO).remove("vp-disable"),A(this.FO).remove("vp-disable")),A(this.RO).remove("vp-disable"),A(this.LO).remove("vp-hide"),this.__&&this.__.shouldEnableSettings()&&A(this.A_).remove("vp-hide")},i.prototype.onAdPlaybackProgress=function(t){},i.prototype.onControlsBarChange=function(t){!this.h_||this.lO.isDocked()&&this.oE.docking.showInfoCard||(t?this.P_():(this.x_(),A(this.xO).remove("active"),A(this.RO).remove("vp-thick-slider"),this.k_()))},i.prototype.getCCElement=function(){return this.lO?this.lO.getCCElement():null},i.prototype.getMainElement=function(){return this.lO.getMainElement()},i.prototype.updateCurrentItemTitle=function(t){this.n_.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.U_=new w.default(h,(function(t){t.stopPropagation(),i.publish(r.CUSTOM_ELEMENT,"click",s)})),h},i.prototype.destroy=function(){this.V_&&this.V_.destroy(),this.B_&&this.B_.destroy(),this.F_&&this.F_.destroy(),this.z_&&this.VO&&(this.z_.destroy(),this.WO&&this.H_&&this.H_.destroy(),this.q_&&this.q_.destroy(),this.G_&&this.G_.destroy(),this.Y_&&this.Y_.destroy(),this.C_(),this.W_()),this.Z_&&(this.Q_.removeEventListener("tap",this.X_),this.Z_.destroy()),this.J_&&this.J_.destroy(),this.U_&&this.U_.destroy(),this.K_&&this.K_.destroy(),this.tT&&this.tT.destroy(),this.i_&&this.iT(),this.lO.getContentNode().removeEventListener("keydown",this.nT,!1),this.sT&&this.sT.destroy()},i.prototype.MO=function(){var t=this,i=this.oE.logos;i&&!A(this.t_).contains("vp-hide")&&this.t_.querySelector(".vp-logo")&&Object.keys(i).forEach((function(n){var s=t.t_.querySelector(".vp-logo-type-"+n+" img");t.eT(s,i[n])}))},i.prototype.l_=function(){var t=this,i=this.oE.logos;this.t_&&i&&(Object.keys(i).forEach((function(n){i[n]&&t.rT(i[n],n)})),A(this.t_).remove("vp-hide"))},i.prototype.zO=function(){if(this.NO){o.userAgent.android&&(this.BO.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"),this.FO.querySelector("svg").setAttribute("transform","scale(1.5, 1.5) translate(4.5, 4.5)"));var t=this.BO.querySelector(".vp-forward-time"),i=this.FO.querySelector(".vp-backward-time");t.innerHTML=i.innerHTML=this.oE.seekControls.offset,this.oE.seekControls.offset<10&&(t.setAttribute("transform","translate(2, 0.4)"),i.setAttribute("transform","translate(1.8, 0.4)"))}},i.prototype.rT=function(t,i){var n=this;if(t&&t.url){var s=this.t_.querySelector(".vp-logo-type-"+i);s||((s=document.createElement("div")).innerHTML="<img />",s.setAttribute("class","vp-logo vp-logo-type-"+i),this.J_=new w.default(s,(function(){return n.publish(r.LOGO_CLICK)})),this.t_.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.eT(e,t))}},i.prototype.a_=function(){var t=this;this.__=new g.default(this.oE),this.A_=this.NO.querySelector(".vp-setting-btn"),this.T_=this.NO.querySelector(".vp-setting-pointer"),this.A_&&(this.F_=new w.default(this.A_,(function(){var i=t.lO.getAdsOverlayNode();t.__&&t.__.toggleSettings(t.T_),i&&A(i).toggle("vp-ads-overlay-bg"),t.O_.hideActiveContainer(t.YO)}))),this.hT=this.__.create(),this.kO.parentNode.insertBefore(this.hT,this.kO.nextSibling),this.__.on(g.SettingsEvent.SET_QUALITY,(function(i){t.publish(r.SET_QUALITY,i)}),this),this.__.on(g.SettingsEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this)},i.prototype.eT=function(t,i){var n=this.lO.isDocked();i&&i.height&&t&&(t.height=n?Math.min(i.height,this.oE.docking.height/10):i.height),i&&i.width&&t&&(t.width=n?Math.min(i.width,this.oE.docking.width/10):i.width)},i.prototype.L_=function(){this.t_&&A(this.t_).add("vp-hide")},i.prototype.oT=function(){var t=this.t_.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.uT=function(t){var i=this;!this.oE.autoplay||this.lO.isDocked()&&this.oE.docking.showInfoCard||(A(this.n_).add("vp-title-standard"),this.aT(!0),this.cT=window.setTimeout((function(){A(i.n_).add("vp-hide"),i.fT(t)}),6e3))},i.prototype.S_=function(){this.cT&&clearTimeout(this.cT),this.lT=null;var t=this.vT(),i=t&&t.title||"";switch(this.dT(),this.updateCurrentItemTitle(i),A(this.n_).remove("vp-title-standard"),A(this.n_).remove("vp-secondary"),A(this.n_).remove("vp-hide"),this.lT&&this.s_&&(A(this.s_).remove("vp-title-header-standard"),A(this.s_).remove("vp-hide")),this.oE.showTitleOnStart||""){case"fadeoutall":this.uT(!0);break;case"standard":this.uT(!1)}},i.prototype.dT=function(){var t=this.s_;if(this.pT()){var i=this.lT,n=i&&i.open_label||i&&i.label||"";t.innerHTML=this.mT(n)}else t&&""!==t.innerHTML&&(t.innerHTML="",A(t).add("vp-hide"))},i.prototype.aT=function(t){if(this.pT()){var i=A(this.s_);i.remove("vp-hide"),i.add("vp-title-header-standard"),A(this.n_).add("vp-secondary"),t?i.add("vp-title-shown"):i.remove("vp-title-shown")}},i.prototype.fT=function(t){var i=this;if(this.bT&&clearTimeout(this.bT),this.yT&&clearTimeout(this.yT),this.pT()){var n=this.s_,s=A(n);s.remove("vp-title-shown"),s.add("vp-hide");var e=this.lT,r=e&&e.label||"";this.bT=window.setTimeout((function(){n.innerHTML=i.mT(r),s.remove("vp-hide"),t&&(i.yT=window.setTimeout((function(){n.innerHTML="",s.add("vp-hide")}),5e3))}),300)}},i.prototype.pT=function(){return!(!this.s_||!this.lT)},i.prototype.mT=function(t){if(!t||""===t)return"";return""+t.replace(/\*\*([^\*]+(\s[^\*]+)*)\*\*/gi,"<strong>$1</strong>")},i.prototype.P_=function(){A(this.n_).add("vp-title-standard"),A(this.n_).remove("vp-hide"),this.aT(!0)},i.prototype.x_=function(){A(this.n_).add("vp-title-standard"),A(this.n_).add("vp-hide"),this.aT(!1)},i.prototype.m_=function(){A(this.RO).add("vp-disable"),A(this.BO).add("vp-disable"),A(this.FO).add("vp-disable"),A(this.LO).add("vp-hide"),this.p_&&"live"===this.p_&&(this.r_.innerHTML=d.default.LIVE,this.r_.setAttribute("aria-label",d.default.LIVE),A(this.r_).remove("hide"),A(this.n_).add("vp-live"))},i.prototype.b_=function(){A(this.RO).remove("vp-disable"),this.oE.seekControls.show?(A(this.BO).remove("vp-disable"),A(this.FO).remove("vp-disable")):(A(this.BO).add("vp-disable"),A(this.FO).add("vp-disable")),A(this.LO).remove("vp-hide"),A(this.n_).remove("vp-live")},i.prototype.c_=function(){var t=this;if(this.z_=new w.default(this.VO,(function(i){i.stopPropagation();var n=t.lO.getCurrentViewState(),s=t.vT(),e=s&&s.id,h=t.oE.isPaused()?"ctrl-play-btn":"ctrl-pause-btn";"end-screen"===n?(t.fO.publish(c.RELATED_ITEM_CLICK,e,-1,!1,!1),t.gT()):(t.publish(r.UI_INTERACT,{srcElement:h}),t.publish(r.TOGGLE_PLAY_PAUSE))})),this.WO){this.H_=new w.default(this.WO,(function(i){i.stopPropagation(),t.lO.toggleFullscreen(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-fullscr-btn"})}))}this.wT=new w.default(this.NO,(function(t){t.stopPropagation()})),this.jO&&(this.B_=new w.default(this.jO,(function(){t.lO.showAirplayTargetMenu(),t.publish(r.UI_INTERACT,{srcElement:"ctrl-airplay-btn"})}))),this._A&&(this.tT=new w.default(this._A,(function(){A(t.rA).remove("vp-hidden"),t.publish(r.UI_INTERACT,{srcElement:"ctrl-multi-audio-btn"})}))),this.ET(),this.nT=function(i){t.fO.publish(c.KEYDOWN,{keyCode:i.keyCode,shiftDown:i.shiftKey,ctrlDown:i.ctrlKey,altDown:i.altKey,target:i.target,preventDefault:function(){i.preventDefault()}})},this.lO.getContentNode().addEventListener("keydown",this.nT,!1),this.sT=new w.default(this.RO,(function(t){t.stopPropagation()})),this.I_(),this.OT(),this.AT(),this._T()},i.prototype.u_=function(){this.O_=new y.default(this,this.oE),this.w_=this.O_.create(),o.userAgent.mobile&&A(this.w_).add("vp-hide"),this.kO.parentNode.insertBefore(this.w_,this.kO.nextSibling)},i.prototype.ET=function(){var t=this;this.GO&&(this.V_=new w.default(this.GO,(function(i){if(i.stopPropagation(),t._O){var n=!A(t.GO).contains("vp-on"),s="cc-"+(n?"on":"off")+(!(!t.oE.castState||!t.oE.castState.connected)?"-cast":"");t.publish(r.UI_INTERACT,{srcElement:s}),t.publish(r.TOGGLE_CC,n,!0),t.updateClosedCaptionButtonState(n)}})),this.O_&&this.TT())},i.prototype.TT=function(){var t=this;this.ST=null;this.IT=function(i){var n=t.lO.getAdsOverlayNode();o.userAgent.mobile||t.__&&t.__.isOpen()||(t.jT(i),t.O_.showActiveContainer(t.YO),n&&A(n).add("vp-ads-overlay-bg"),A(t.QO).remove("open"))},this.MT=function(i){var n=t.lO.getAdsOverlayNode();t.jT(i),t.ST&&clearTimeout(t.ST),t.ST=window.setTimeout((function(){t.O_.hideActiveContainer(t.YO),n&&A(n).remove("vp-ads-overlay-bg")}),1e3)},this.NT=function(i){o.userAgent.mobile||(t.jT(i),t.ST&&clearTimeout(t.ST))},this.RT(this.GO,this.IT,this.MT),this.RT(this.w_,this.NT,this.MT)},i.prototype.E_=function(t){this.f_&&this.f_.updateCCTooltip(t)},i.prototype.SO=function(){var t=this.vT(),i=t&&t.title||"";this.gT(),this.dT(),this.updateCurrentItemTitle(i)},i.prototype.gT=function(){this.CO.innerHTML="0:00",this.PO.innerHTML="0:00"},i.prototype.IO=function(t){this.WO&&(t?(A(this.WO).add("fullscreen"),this.DT(d.default.EXIT_FULLSCREEN)):(A(this.WO).remove("fullscreen"),this.DT(d.default.FULLSCREEN_SPACE))),this.LT(t),this.syncAriaState()},i.prototype.DT=function(t){if(this.WO){var i=this.WO.querySelector(".vp-tooltip-content");i&&(i.innerHTML=t)}},i.prototype.OT=function(){var t=this;if(this.oE.seekControls.show){this.G_=new w.default(this.BO,(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.FO,(function(i){i.stopPropagation(),t.publish(r.BACKWARD_SEEK),t.publish(r.UI_INTERACT,{srcElement:"ctrl-backward-seek-btn"})}))}},i.prototype.I_=function(){var t=this;this.HO&&(this.q_=new w.default(this.HO,(function(i){i.stopPropagation();var n=t.HO,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.CT=function(i){var n=t.lO.getAdsOverlayNode();t.fO.publish(c.SEEK_BAR_MOUSEOVER,i),A(t.xO).add("active"),A(t.RO).add("vp-thick-slider"),n&&A(n).add("vp-ads-overlay-bg"),t.PT(i),t.jT(i)},this.xT=function(i){var n=t.lO.getAdsOverlayNode();t.fO.publish(c.SEEK_BAR_MOUSEOUT,i),A(t.xO).remove("active"),A(t.RO).remove("vp-thick-slider"),n&&A(n).remove("vp-ads-overlay-bg"),t.k_(),t.jT(i)},this.RT(this.RO,this.CT,this.xT),this.UT=function(i){if(!isNaN(t.kT)){A(t.xO).add("active"),t.jT(i),t.VT=!0,t.fO.publish(c.CONTROLS_SEEK_START);var n=t.BT(i),s=Math.min(n*t.kT,Math.max(t.kT-1,0));t.fO.publish(c.CTRL_SEEK,Math.round(s)),t.FT(i)}},this.FT=function(i){if(t.VT){t.jT(i),A(t.NO).add("vp-drag"),A(t.xO).add("active"),A(t.RO).add("vp-thick-slider"),t.PT(i);var n=t.BT(i),s=Math.min(n*t.kT,Math.max(t.kT-1,0));s=s>1?s:1;var e="";e=t.oE.sliderColor?"width: "+100*n+"%; background-color: "+t.oE.sliderColor+";":"width: "+100*n+"%;",t.UO.setAttribute("style",e),t.DO.setAttribute("style","width: 0%;"),t.xO.setAttribute("style","left: "+100*n+"%;"),t.fO.publish(c.CONTROLS_SEEKING,s)}},this.zT=function(i){t.VT&&(A(t.NO).remove("vp-drag"),A(t.xO).remove("active"),A(t.RO).remove("vp-thick-slider"),t.k_(),t.jT(i),t.VT=!1,t.fO.publish(c.CONTROLS_SEEK_END))},this.HT(this.RO,this.UT,this.FT,this.zT)},i.prototype.C_=function(){this.qT(this.RO,this.CT,this.xT),this.GT(this.RO,this.UT,this.FT,this.zT)},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.RO.appendChild(n)}}))},i.prototype.M_=function(){for(var t=this.RO.querySelectorAll(".vp-ad-break"),i=0;i<t.length;i++)this.RO.removeChild(t[i])},i.prototype.TO=function(){this.oT()},i.prototype._c=function(t){var i,n=this.eO,s=this.oE.volume,e=n.currentTime,h=this.kT,o=n.playbackMode;switch(t.keyCode){case 13:this.fO.publish(c.TOGGLE_PLAY_PAUSE);break;case 27:this.lO.updateViewOnEscPress();break;case 32:t.preventDefault(),this.fO.publish(c.TOGGLE_PLAY_PAUSE);break;case 37:t.preventDefault(),o!==v.PlaybackMode.VIDEO||this.d_||(i=e-5,this.fO.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.d_||(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.lO.toggleFullscreen();break;case 77:this.publish(r.SET_MUTE,!this.oE.mute)}if(t.keyCode>=48&&t.keyCode<=57){var l=(t.keyCode-48)/10;h>0&&this.fO.publish(c.CONTROLS_SEEKING,h*l)}},i.prototype.D_=function(t){var i=Math.min(t/this.kT*100,100);if(this.CO&&m.isNumber(t)&&m.isNumber(this.kT)&&(this.CO.innerHTML=b.default.formatTime(t)),this.PO&&m.isNumber(this.kT)&&(this.PO.innerHTML=b.default.formatTime(this.kT)),m.isNumber(t)&&m.isNumber(this.kT)){var n="";n=this.oE.sliderColor?"width: "+i+"%; background-color: "+this.oE.sliderColor+";":"width: "+i+"%;",this.UO.setAttribute("style",n),this.VT||this.xO.setAttribute("style","left: "+i+"%;"),this.RO.setAttribute("aria-valuemax",this.kT.toString()),this.RO.setAttribute("aria-valuenow",t.toString()),this.RO.setAttribute("aria-valuetext",b.default.formatTime(t)+" of "+b.default.formatTime(this.kT))}},i.prototype.R_=function(t){var i=0;t.length>0&&(i=t.end(0)/this.kT*100),this.DO.setAttribute("style","width: "+i+"%;")},i.prototype.YT=function(t,i){if(!(this.vO&&t&&i&&i.mimetype))return null;if(!this.WT){var n=this.vO.getPlugin(l.PluginType.VISUAL_SEEK,i.mimetype);this.WT=n}return this.WT&&!this.WT.canSeek(t)&&this.WT.update(t,i),this.WT},i.prototype.PT=function(t){var i=this,n=this.vT(),s=this.YT(n.id,n.visualSeekData);if(s){var e=this.BT(t),r=e*n.getRawDuration(),h=e*n.duration,o=s.getThumbnailData(n.id,r);if(o&&o.url)if(!A(this.lO.getContentNode()).contains("vp-hide-controls")){var u;u=e<.09?.09:e>.91?.91:e,this.qO.style.display="block",this.qO.style.left=100*u+"%";var a=this.qO.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.qO.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.ZT=v,this.QT=this.QT||setTimeout((function(){var t=i.qO.querySelector(".vp-vs-thumbnail");i.ZT&&(t.style.background="url("+i.ZT+")"),clearTimeout(i.QT),i.QT=null}),50)}}},i.prototype.HT=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.RT=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.qT=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.v_=function(){this.ZO&&this.updateVolumeUI(this.oE.volume,this.oE.mute)},i.prototype.XT=function(){var t=this;this.JT=new w.default(this.ZO,(function(i){if(!t.KT){i.stopPropagation(),t.$T(),t.lO.clearAutoHideTimeout(),t.tS&&clearTimeout(t.tS);var n=!t.oE.mute;t.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(n?"on":"off")}),t.publish(r.SET_MUTE,n),t.iS(n)}}))},i.prototype.nS=function(){var t=this,i=function(i){var n,s=function(i){var n;return n=t.lO.getFullscreen()&&(o.userAgent.chrome||o.userAgent.safari)?i.pageX-b.default.getOffsetLeftFromEl(t.XO,a.VIDEO_MAIN_ELEMENT_CLASS):i.pageX-b.default.getOffsetLeftFromDocument(t.XO),t.XO.getBoundingClientRect().left?Math.max(0,Math.min(1,n/t.XO.clientWidth)):0}(i);n=0===s,t.oE.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.sS=new w.default(this.XO,(function(n){n.stopPropagation(),t.$T(),i(n)})),this.eS=function(i){t.jT(i),t.KT=!0,t.$T(),t.rS(i)},this.rS=function(n){t.KT&&(t.jT(n),t.$T(),i(n),t.hS(n))},this.oS=function(i){t.KT&&(t.jT(i),t.KT=!1)},this.HT(this.XO,this.eS,this.rS,this.oS)},i.prototype._T=function(){var t,i=this;this.uS=function(n){n.stopPropagation(),t||(t=window.setTimeout((function(){i.publish(r.UI_INTERACT,{srcElement:"ctrl-mute-btn-off"}),t=null}),600))},this.i_&&(["mouseenter","touchstart"].forEach((function(t){i.i_.addEventListener(t,i.uS)})),["mousemove","touchmove"].forEach((function(t){i.i_.addEventListener(t,i.uS)})))},i.prototype.iT=function(){var t=this;this.i_&&(["mouseenter","touchstart"].forEach((function(i){t.i_.removeEventListener(i,t.uS)})),["mousemove","touchmove"].forEach((function(i){t.i_.removeEventListener(i,t.uS)})))},i.prototype.iS=function(t){this.oE.ccOnMute&&(t?this.publish(r.TOGGLE_CC,!0,!1):this.publish(r.TOGGLE_CC,!1,!1),this.updateClosedCaptionButtonState(t))},i.prototype.$T=function(){this.$O&&A(this.$O).add("show")},i.prototype.aS=function(){var t=this;this.tS=null;var i=!1;this.hS=function(n){var s=t.lO.getAdsOverlayNode();t.jT(n),t.__&&t.__.isOpen()||(A(t.QO).add("open"),s&&A(s).add("vp-ads-overlay-bg"),i||(t.v_(),i=!0),t.$T(),t.O_&&t.O_.hideActiveContainer(t.YO))},this.cS=function(i){var n=t.lO.getAdsOverlayNode();t.jT(i),t.tS&&clearTimeout(t.tS),t.tS=window.setTimeout((function(){A(t.QO).remove("open"),n&&A(n).remove("vp-ads-overlay-bg")}),500)},this.fS=function(i){t.jT(i),t.tS&&clearTimeout(t.tS)},this.RT(this.ZO,this.hS,this.cS),this.RT(this.QO,this.fS,this.cS)},i.prototype.AT=function(){var t=this;this.ZO&&this.XT(),this.QO&&this.ZO&&(this.nS(),this.aS()),this.rA&&(this.K_=new w.default(this.rA,(function(i){i.stopPropagation();var n=b.default.findClosest(i.eventTarget,".vp-audio-item",t.rA);if(n){var s=t.rA.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.rA).add("vp-hidden")})))},i.prototype.W_=function(){this.ZO&&this.JT.destroy(),this.QO&&(this.sS.destroy(),this.GT(this.QO,this.eS,this.rS,this.oS),this.qT(this.ZO,this.hS,this.cS),this.qT(this.QO,this.fS,this.cS))},i.prototype.y_=function(t){var i=this.lO.getContentNode();this.ZO&&(t?(A(this.ZO).add("muted"),A(i).add("vp-muted")):(A(this.ZO).remove("muted"),A(i).remove("vp-muted"))),this.syncAriaState()},i.prototype.g_=function(t){if(this.JO){var i=Math.ceil(100*t),n=100-i;this.JO.setAttribute("style","width:"+i+"%"),this.KO.setAttribute("style","width:"+n+"%")}if(this.$O){var s=Math.ceil(t*(this.XO.clientWidth-this.$O.offsetWidth/2));this.$O.setAttribute("style","left:"+s+"px")}},i.prototype.j_=function(){var t=this.vT();t&&t.isMultiAudioAvailable()?(this.lS(),A(this.QO).add("vp-multi-audio-available"),this._A&&A(this._A).remove("vp-hidden")):(A(this.QO).remove("vp-multi-audio-available"),this._A&&A(this._A).add("vp-hidden"),this.rA.innerHTML="")},i.prototype.lS=function(){var t=this.vT(),i=b.default.render(O,{isMobile:o.userAgent.mobile,items:t&&t.languages||[],Strings:d.default});this.rA.appendChild(i)},i.prototype.BT=function(t){var i=((t.clientX||t.touches&&t.touches[0]&&t.touches[0].clientX||t.pageX)-this.RO.getBoundingClientRect().left)/this.RO.clientWidth;return Math.max(0,Math.min(1,i))},i.prototype.k_=function(){this.qO.style.display="none",this.ZT=""},i.prototype.LT=function(t){var i=this.lO.getContentNode(),n=this.lO.isStreamMode()||this.lO.isMiniStreamMode(),s=this.lO.isMiniStreamMode()?"vp-ministream":"vp-stream";n&&(t?A(i).remove(s):(A(i).add(s),this.f_&&this.f_.resetSettings()))},i.prototype.o_=function(){this.VO.setAttribute("aria-label",d.default.PLAY_VIDEO),this.RO.setAttribute("aria-label",d.default.SEEK_SLIDER),this.RO.setAttribute("aria-valuemin","0"),this.WO&&this.WO.setAttribute("aria-label",d.default.GO_TO_FULLSCREEN),this.ZO&&(A(this.ZO).contains("muted")?this.ZO.setAttribute("aria-label",d.default.UNMUTE):this.ZO.setAttribute("aria-label",d.default.MUTE))},Object.defineProperty(i.prototype,"kT",{get:function(){return this.eO.duration},enumerable:!0,configurable:!0}),i.prototype.vT=function(){return this.oE.playlist.getCurrentItem()},Object.defineProperty(i.prototype,"eO",{get:function(){return this.oE.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"},vS:{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.ZE=t,i.dS=null,i.pS=null,h.call(i,i.constructor.name),t.encryptionData&&t.encryptionData.method!==u.NONE&&(i.dS=i.__controller.create(o,t.encryptionData)),i.pS=s.create(i.__controller,t.containerFormat,t),i.dS&&i.pS.setSource(i.dS),i.mS=i.dS||i.pS,i.bS=i.pS,i.bS&&(i.bS.addEventListener(e.DATA_PROCESS_PROGRESS,(function(t,n){i.publish(e.DATA_PROCESS_PROGRESS,t,n)}),i),i.bS.addEventListener(e.DATA_PROCESS_COMPLETE,(function(t){i.publish(e.DATA_PROCESS_COMPLETE,t)}),i),i.bS.addEventListener(e.DATA_PROCESS_ERROR,(function(){i.publish(e.DATA_PROCESS_ERROR)}),i))}r.inherits(a,h),a.prototype.destroy=function(){this.dS&&(this.dS.destroy(),this.dS=null),this.pS&&(this.pS.destroy(),this.pS=null),this.mS=null,this.bS=null,h.prototype.destroy.call(this)},a.prototype.append=function(t){this.mS&&this.mS.append(t)},a.prototype.close=function(){this.mS&&this.mS.close()},a.prototype.endOfSegment=function(){this.mS&&this.mS.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"},yS:{type:"string"},ctv_di:{type:"string"},ctv_ddv:{type:"string"},ctv_dfv:{type:"string"},gS:{type:"string"},wS:{type:"string"},ES:{type:"string"},AS:{type:"string"},_S:{type:"string"},TS:{type:"string"},ctv_yb:{type:"string"},SS:{type:"string"},ctv_yr:{type:"string"},ctv_ybv:{type:"string"},ctv_yv:{type:"string"},IS:{type:"string"},jS:{type:"string"},MS:{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.RS=t,this.NS.forEach((function(t){i[t]=function(){return this.RS[t].apply(this.RS,arguments)}}))}return t.prototype.addItem=function(t){return this.RS.addItem(this.DS([t])[0])},t.prototype.addItems=function(t,i){return void 0===i&&(i=!1),this.RS.addItems(this.DS(t),i)},t.prototype.setItems=function(t){return this.RS.setItems(this.DS(t))},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.RS=t},enumerable:!1,configurable:!0}),t.prototype.DS=function(t){var i=this.LS();return t.map((function(t){return{id:t,mimetype:i}}))},t.prototype.LS=function(){var t=this.RS.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.125",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.MORE_ITEMS,this.kS=!1,this.CS=null,this.oE=t,this.RS=i,this.PS=new h.default(this.oE)}return t.prototype.resolve=function(t,i){var n=this;if(!this.kS&&this.xS(t))switch(t.playlistId=this.oE.playlistId,t.reason){case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE:case s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR:new Promise((function(s){n.PS.resolve(t,i,s)})).then((function(e){t.reason===s.Plugin.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR?n.CS=new Promise((function(s){n.US(t,i,s)})):n.CS=new Promise((function(t){t()})),n.CS.then((function(t){i.onPromisesResolved(!!e&&!!t)}))}));break;case s.Plugin.MoreItemsReason.CONTENT_LOAD_FINISHED:new Promise((function(s){n.PS.resolve(t,i,s)})).then((function(t){i.onPromisesResolved(!!t)}));break;default:this.PS.resolve(t,i)}},t.prototype.cancel=function(){this.PS.cancel()},t.prototype.destroy=function(){this.cancel(),this.kS=!0},t.prototype.prepare=function(){},Object.defineProperty(t.prototype,"playlist",{set:function(t){this.RS=t},enumerable:!1,configurable:!0}),t.prototype.xS=function(t){var i;if(!this.RS||this.oE.playlistMimetype===r.STRUCTURED_PLAYLIST_MIMETYPE)return!1;var n=this.RS.getPosition()+1===this.RS.getSize(),h=!(!this.oE.playlistId&&!this.oE.relatedVideoId),o=n&&this.oE.continuousPlay&&!this.oE.loop&&h&&!this.oE.showEndScreen,u=0===this.RS.getPosition(),a=null===(i=this.oE.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.oE.skipOnError!==e.SkipOnError.NEVER;case s.Plugin.MoreItemsReason.SOURCE_LOAD_COMPLETE:var c=this.RS;return!(this.oE.loop||this.oE.showEndScreen||!this.oE.videoRecommendations||!u||!a)&&c.getSize()-c.getPosition()<e.PLAYLIST_COUNT_PER_PAGE;case s.Plugin.MoreItemsReason.SCROLLED_TO_END:return this.oE.continuousPlay&&h;default:return!1}},t.prototype.US=function(t,i,n){this.kS||(t.start=0,t.count=this.oE.playlistItemCount,t.playlistId="",this.PS.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.VS=null,this.BS=i,this.FS=new s.default(t)}return t.prototype.verify=function(t){if(this.FS){var i={onComplete:function(){t(!0)},onError:function(){t(!1)},onProgress:function(){},onApiCallInfo:function(){}};this.BS&&this.FS.resolve([this.BS],{},{},i)}},t.prototype.scheduleVerification=function(t,i){var n=this;this.zS(),this.VS=window.setTimeout((function(){n.verify(t)}),i)},t.prototype.destroy=function(){this.zS(),this.FS=null,this.BS=null},t.prototype.zS=function(){this.VS&&(clearTimeout(this.VS),this.VS=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.oE=n.__controller.model,n.ERR_INTERVAL_AFTER_BUFFER_EMPTY=1e4,n.HS=new u(n.ERR_INTERVAL_AFTER_BUFFER_EMPTY,1),n.HS.addEventListener((function(){n.HS.destroy(),n.qS()}),n),n.GS(t.streamIndex),n.YS=-1}s.inherits(l,r),l.prototype.destroy=function(){this.HS&&this.HS.destroy(),r.prototype.destroy.call(this)},l.prototype.execute=function(t){if(!this.HS.running||-1===this.YS||t===this.YS)if(this.data.error&&this.data.error.code===f.ERR_XHR_LOAD_FORBIDDEN[0])this.qS();else{if(this.oE.getABRMode()===a.AUTO){if(this.WS.length){var i=this.WS.shift();return this.publish(o.CMD_PROGRESS,this,{index:i}),void(this.YS=i)}if(0!==this.oE.currentLoadingStreamIndex)return this.publish(o.CMD_PROGRESS,this,{index:0}),void(this.YS=0)}this.oE.bufferLength>.15||this.HS.start()}},l.prototype.cancel=function(){},l.prototype.GS=function(t){if(this.WS=[],!(t<0||t>=this.oE.streams.length)){var i,n=t;for(i=n-1;i>=0;i--)this.WS.push(i);for(i=n+1;i<this.oE.streams.length;i++)this.WS.push(i)}},l.prototype.qS=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.oE=this.__controller.model,this.ZS=t,this.QS=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.ZS.executeCommand(s.CMD_STREAM_LOAD,{stream:t,retryOpts:i},this))},a.prototype.cancel=function(){this.ZS.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.oE.build(this.QS.parse(s)),this.ZS.removeCommand(t),this.loaded=!0,this.publish(u.STREAM_LOADED,n)}else this.ZS.removeCommand(t)},a.prototype.onStreamLoadError=function(t,i){this.ZS.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)}},"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.XS(t,i)}function a(t,i){this.XS(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.XS=u.prototype.XS=function(t,i){this.constructor.super_.call(this,t,i),this.JS=this.constructor.super_.prototype,this.KS={},this.$S=h.CMD_SUBTITLE_SEGMENT_LOAD,this.primary=!1,this.tI=t.isReady()?this.STATES.INITIALIZED:this.STATES.NONE},a.prototype.destroy=u.prototype.destroy=function(){this.KS={},this.JS.destroy.call(this)},a.prototype.onPlay=u.prototype.onPlay=function(t){this.JS.onPlay.call(this,t)},a.prototype.onTimeUpdate=u.prototype.onTimeUpdate=function(t){this.iI=t},a.prototype.nI=u.prototype.nI=function(){return this.sI(this.iI)>=this.eI},a.prototype.rI=u.prototype.rI=function(){return this.sI()>=this.oE.config.maxTotalBuffer},a.prototype.hI=u.prototype.hI=function(t){var i=this.oI;return i?{subtitleStream:i,segment:i.getSegmentfromSeqNum(t),live:this.oE.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.KS[n.sequenceNum]={start:n.startTime,end:n.startTime+n.duration}}this.JS.onSegmentLoadComplete.call(this,t)},a.prototype.onSubtitleSegmentLoadError=u.prototype.onSubtitleSegmentLoadError=function(t){this.tI=this.STATES.NONE,this.ZS.removeCommand(t)},a.prototype.uI=u.prototype.uI=function(t){var i=this.oI,n=t;if(!isNaN(n))for(;this.KS[n];)n++;return!this.aI&&n>i.endSeqNum?(this.cI(!0),i.endSeqNum):n},a.prototype.sI=u.prototype.sI=function(t){var i=this.oI,n=i.getSeqNumBeforePosition(t);if(isNaN(n))return 0;for(var s=0;n<=i.endSeqNum;n++){var e=this.KS[n];if(!e)break;s=e.end-t}return s},a.prototype.fI=u.prototype.fI=function(){var t=this,i=0;return Object.keys(t.KS).forEach((function(n){var s=t.KS[n];s&&(i+=s.end-s.start)})),i},a.prototype.lI=u.prototype.lI=function(){this.oI},a.prototype.vI=u.prototype.vI=function(){},a.prototype.dI=u.prototype.dI=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("EOV8"),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.fE=!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.fE&&!this.kS){var t=this.data,i=t.cb,n=t.mimetype,s=t.reason,e=t.start,r=this.vO.getPlugin(h.PluginType.MORE_ITEMS,n);this._e=i;var o={mimetype:n,reason:s,start:e};r&&(this.pI=r,this.fE=!0,r.resolve(o,this))}},i.prototype.cancel=function(){this.pI&&this.fE&&(this.pI.cancel(),this.fE=!1)},i.prototype.onComplete=function(t){this.fE&&!this.kS&&(this.fE=!1,this.publish(a.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.fE&&!this.kS&&(this.fE=!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)}}},"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.mI,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("EOV8"),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.vO=i,n.bI=null,n.yI=l.default.noop,n.gI=n.wI(o.default.mimetype),n}return e(i,t),Object.defineProperty(i.prototype,"node",{get:function(){return this.EI},enumerable:!0,configurable:!0}),i.prototype.create=function(){return this.EI||(this.EI=document.createElement("div"),v(this.EI).add("vp-adview-wrapper"),v(this.EI).add("vp-hidden")),this.EI},i.prototype.onAdBreakStart=function(t){this.OI()},i.prototype.onAdBreakEnd=function(t){this.AI(),this._I(),this.TI(null)},i.prototype.onAdBreakItemCurrent=function(t){this.SI=!1,this._I();var i=t.adBreak,n=i.adBreakItems.indexOf(t);if(t.interactionConfig&&t.interactionConfig.chromeless)this.TI(null);else{this.TI(this.II(t));var s=this.bI.renderUI(t.rawItemData,{position:n,total:i.adBreakItems.length,adBreakDuration:i.duration,adBreakItems:i.adBreakItems.map((function(t){return t.rawItemData}))});s?this.EI.appendChild(s):this.TI(null)}},i.prototype.enableClickBlocking=function(t){this.EI&&v(this.EI)[t?"add":"remove"]("vp-block-pointer-evts")},i.prototype.destroy=function(){this.AI(),this._I(),this.TI(null),this.gI=null,this.vO=null,this.EI=null},i.prototype.OI=function(){this.EI&&v(this.EI).remove("vp-hidden")},i.prototype.AI=function(){this.EI&&v(this.EI).add("vp-hidden")},i.prototype._I=function(){if(this.bI&&this.bI.unrenderUI(),this.EI)for(;this.EI.firstChild;)this.EI.removeChild(this.EI.firstChild)},i.prototype.jI=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.TI=function(t){t!==this.bI&&(this.yI(),t?(this.bI=t,this.yI=a.listenEventDispatcherEvts(this.bI,Object.keys(u.AdPluginUIEvent).map((function(t){return u.AdPluginUIEvent[t]})),this.jI.bind(this))):(this.bI=null,this.yI=l.default.noop))},i.prototype.II=function(t){var i=this.wI(t.adPluginMimeType);return i&&f.isAdViewAdPlugin(i)&&i.canRenderUI(t.rawItemData)?i:this.gI},i.prototype.wI=function(t){return t?this.vO.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"]}},"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.MI=this.NI()}t.exports=s,s.prototype.NI=function(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}},s.prototype.writeProperty=function(t,i){this.MI&&(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.MI){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.RI=n>0?n:Number.POSITIVE_INFINITY,s.DI=0,s.running=!1,s.startTime=0,s.LI=null,s.kI={},s.CI={},s}return e(i,t),i.prototype.destroy=function(){this.reset(),this.kI={},t.prototype.removeEventListeners.call(this,this.CI),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.CI[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.CI)},i.prototype.start=function(){var t=this;this.LI||this.running||(this.LI=window.setInterval((function(){t.DI++,t.DI>=t.RI&&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.LI&&this.running&&(window.clearInterval(this.LI),this.LI=null,this.running=!1,this.startTime=0)},i.prototype.reset=function(){this.stop(),this.DI=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.xI=[],r.UI=!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.UI=!0,this.node.load(),this.VI()},a.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.BI=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.FI(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.FI=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.xI.push(["setABRMode",[t]])},a.prototype.setAudioLanguage=function(t){this.controller?this.controller.setAudioLanguage(t):this.xI.push(["setAudioLanguage",[t]])},a.prototype.play=function(t){this.controller?this.controller.play(t):this.xI.push(["play",[t]])},a.prototype.pause=function(){this.controller?this.controller.pause():this.xI.push(["pause"])},a.prototype.preload=function(t){this.controller?this.controller.preload(t):this.xI.push(["preload",[t]])},a.prototype.getCurrentDate=function(){return this.controller?this.controller.getCurrentDate():null},a.prototype.suspendStreaming=function(){this.controller&&(this.UI=!1,this.controller.suspendStreaming())},a.prototype.resumeStreaming=function(){this.controller&&!this.UI&&(this.controller.resumeStreaming(),this.UI=!0)},a.prototype.destroy=function(){this.controller&&this.controller.destroy(),this.appModel&&this.appModel.destroy(),this.mediaSource=null,this.UI=!1,e.prototype.destroy.call(this)},a.prototype.VI=function(){var t=this,i=t.xI;t.xI=[],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("MKj3"),f=n("S8wC"),l=n("EOV8"),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_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.oE=i,s.zI=n,s.HI=null,s.qI={},s.GI={},s.YI={},s.WI={},s.ZI={},s.QI={},s.XI={};var e=s.oE.config.ads.timeout,r=e.load+e.start;return s.JI={},s.KI=new v.default(1e3*r,1),s.$I=s.KI.addEventListener(v.default.TIMER_EVENT,s._j,s),s}return e(i,t),i.prototype.prepareAdsForItem=function(t){var i=t.refPlaybackId;if(t.adConfig&&t.adConfig.mimetype){var n=this.zI.getPlugin(l.PluginType.AD,t.adConfig.mimetype),s=this.tM(i,n);if(n&&s&&d.isAdResolverAdPlugin(n)){this.JI[i]={item:t,beginTS:Date.now()},this.iM({evt:"ad_fetch"},t);var e=this.oE.playlist.position;n.fetchAdBreaks({refId:i,config:t.adConfig.value,pos:e})}}else this.tM(i,null)},i.prototype.startTracking=function(t){var i=this,n=t.refPlaybackId;n!==this.nM&&(this.sM(),this.eM(t),this.qI[n]={},this.GI[n]={},this.ZI[n]=[],this.YI={},this.WI={},this.rM=[],this.hM=null,this.oM=!1,this.HI=null,this.uM=null,this.aM=null,this.cM.adBreaks&&(this.KI.reset(),this.cM.adBreaks.forEach((function(n){i.fM(t,n)}))))},i.prototype.resolveAdBreaks=function(t,i){var n=this,s=t.refPlaybackId,e=this.qI[s]&&this.qI[s][i],r=this.QI[s];d.isAdResolverAdPlugin(r)&&e&&0!==e.length&&e.forEach((function(t){t.hasResolved()||t.error||n.YI[t.adBreakId]||n.WI[t.adBreakId]||(n.YI[t.adBreakId]=t.mediaItem,r.resolveAdBreak(t.rawItemData))}))},i.prototype.getPlayingInstreamAd=function(){return this.HI||null},i.prototype.updatePlaybackProgress=function(t){var i=t.currentTime;if(t.playingItem===this.cM){var n=this.lM(i);if(n!==this.HI){var s=this.HI;this.HI=n,this.vM(s,n)}}},i.prototype.onMediaItemPlaybackEnded=function(t){},i.prototype.handleMediaItemSeeked=function(t,i,n){if(t===this.cM&&(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.cM===t){this.oE.playbackState.currentMediaType=i;var s=Object.keys(this.JI).map((function(t){return n.JI[t].item})).some((function(t){return t===n.cM}));if(this.dM(i,t),!s){var e=t.refPlaybackId,h=this.qI[e]&&this.qI[e][i]||[],o=this.GI[e]&&this.GI[e][i]||[];if(0===h.length&&0===o.length)return this.sM(),void this.publish(r.AD_CLIENT_COMPLETED,i,t);this.resolveAdBreaks(t,i),this.pM(t,i)}}},i.prototype.pauseClientAdStartTimer=function(){this.KI&&this.KI.stop()},i.prototype.resumeClientAdStartTimer=function(){this.mM()&&this.KI&&!this.KI.running&&this.KI.start()},i.prototype.handleAdBreakResolved=function(t,i){t&&i&&(delete this.YI[i.adBreakId],this.fM(t,i),this.bM(t,[i])&&this.pM(t,i.type))},i.prototype.handleAdBreakItemPlaybackStarted=function(t){t.instream||(this.yM(),this.publish(r.AD_BREAK_ITEM_STARTED,t))},i.prototype.handleAdBreakItemEnded=function(t){this.gM(t,!1,!1)},i.prototype.handleAdBreakItemError=function(t){this.gM(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.KI.removeEventListener(v.default.TIMER_EVENT,this.$I),this.KI.destroy(),this.KI=null,Object.keys(this.XI).forEach((function(t){i.XI[t]()})),this.JI=null},i.prototype.gM=function(t,i,n){if(!t.instream){this.publish(r.AD_BREAK_ITEM_ENDED,t),this.hM=null;var s=t.adBreak,e=s.mediaItem;this.oE.loop&&s.type===c.AdBreakType.NATIVE||(n||t===s.adBreakItems[s.adBreakItems.length-1])&&this.publish(r.AD_BREAK_ENDED,s),n||(this.oM=!1,this.pM(e,s.type))}},i.prototype.lM=function(t){for(var i=0,n=this.rM.length-1;i<=n;){var s=i+Math.floor((n-i)/2),e=this.rM[s];if(t>=e.startOffset&&t<e.endOffset)return e.adBreakItem;t>e.endOffset?i=s+1:n=s-1}return null},i.prototype.vM=function(t,i){if(i&&!t){if(i===i.adBreak.adBreakItems[0]){if(!i.adBreak.active)return this.HI=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.fM=function(t,i){var n=this,s=i.type,e=t.refPlaybackId;this.qI[e]=this.qI[e]||{},this.qI[e][s]=this.qI[e][s]||[],this.GI[e]=this.GI[e]||{},this.GI[e][s]=this.GI[e][s]||[],i.hasResolved()||i.error?i.adBreakItems.forEach((function(t,r){if(t.instream){var h=0===r?i.startOffset:n.rM[n.rM.length-1].endOffset;n.rM.push({adBreakItem:t,startOffset:h,endOffset:h+t.duration})}else n.GI[e][s].push(t)})):this.qI[e][s].push(i)},i.prototype.sM=function(){if(this.yM(),this.cM){var t=this.nM;this.JI&&this.JI[t]&&delete this.JI[t]}this.oM=!1,this.YI={},this.WI={}},i.prototype.pM=function(t,i){var n=this;if(!this.oM){var s,e=t.refPlaybackId,h=this.GI[e]&&this.GI[e][i]||[],o=h.filter((function(t){return-1===(n.ZI[e]||[]).indexOf(t.adBreakItemId)}));if(!(s=i===c.AdBreakType.NATIVE&&this.oE.loop?h[0]:o[0]))return Object.keys(this.YI).length>0?void 0:(this.sM(),void this.publish(r.AD_CLIENT_COMPLETED,i,this.cM));this.oM=!0,this.ZI[e]=this.ZI[e]||[],this.ZI[e].push(s.adBreakItemId),s===s.adBreak.adBreakItems[0]&&this.publish(r.AD_BREAK_STARTED,s.adBreak),this.iM({evt:"ad_play"},t),this.hM=s,this.publish(r.AD_BREAK_ITEM_PLAY,s)}},i.prototype.dM=function(t,i){this.yM(),this.uM=t,this.aM=i,this.KI.start()},i.prototype._j=function(){var t=this.uM,i=this.aM;this.hM&&this.gM(this.hM,!0,!0),this.sM(),this.publish(r.AD_CLIENT_TIMEOUT,t,i)},i.prototype.yM=function(){this.KI.reset(),this.uM=null,this.aM=null},i.prototype.bM=function(t,i){var n=this;return!(t!==this.cM||t!==this.aM||!this.KI)&&i.some((function(t){return t.type===n.uM}))},i.prototype.wM=function(t,i){return!(t!==this.cM||t!==this.aM||!this.KI)},i.prototype.mM=function(){return!!this.uM},i.prototype.EM=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.YI[n.adBreakId]))return;this.WI[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.oE.adsRendererTypes,this.oE.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_BREAKS_AVAILABLE:var v=h[0],p=this.JI[v.refId];if(s=p.item,delete this.JI[v.refId],this.iM({evt:"ad_fetched",latency:Date.now()-p.beginTS},s),!s||!v.refId)return;var m=v.adBreaks;m||(m=[]);var b=s.addAdBreaks(v.adBreaks);b.forEach((function(t){e.fM(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.wM(s,b)?this.playClientAdBreaks(s,this.uM):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.iM(E,this.cM)}}},i.prototype.tM=function(t,i){return!this.QI[t]&&(this.QI[t]=i,i&&(this.XI[i.mimetype]||(this.XI[i.mimetype]=a.listenEventDispatcherEvts(i,Object.keys(u.AdPluginEvent).map((function(t){return u.AdPluginEvent[t]})),this.EM.bind(this)))),!0)},i.prototype.eM=function(t){this.cM=t,this.nM=t.refPlaybackId},i.prototype.iM=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_ERROR="playerError",t.PLAYER_FULLSCREEN_CHANGE="fullscreenChange",t.PLAYER_INFO="playerInfo",t.PLAYER_MUTE_CHANGE="muteChange",t.PLAYER_READY="playerReady",t.PLAYER_RENDERED="render",t.PLAYER_VIEWPORT_CHANGE="playerViewportChange",t.PLAYER_VOLUME_CHANGE="volumeChange",t.PLAYER_WARNING="playerWarning",t.PLAYLIST_POSITION_CHANGE="playlistPositionChange",t.PLAYLIST_COMPLETE="playlistComplete",t.RECOVERY_METADATA_READY="recoveryMetadataReady",t.START_SCREEN_RENDERED="startScreenRenderered",t.UI_INTERACT="uiInteract",t.VIDEO_STARTED="video-started",t.VIDEO_REQUEST="videoRequest",t.SEG_INFO_AVAILABLE="segInfoAvailable",t.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",t.THREE_SIXTY_INTERACT="threeSixtyInteract",t.THREE_SIXTY_PIE_INTERACT="threeSixtyPieInteract",t.TIMED_METADATA_RECEIVED="timedMetadataReceived",t.PRELOAD_START="preloadStart",t.PRELOAD_PROGRESS="preloadProgress",t.PRELOAD_COMPLETE="preloadComplete",t.ACTIVE_RENDERER_PLAYING="activeRendererPlaying",t.RENDERER_READY="rendererReady"}(r=i.ExternalEvt||(i.ExternalEvt={}));var u=((s={})[r.AD_BREAK_ENDED]=h.AD_BREAK_ENDED,s[r.AD_BREAK_ITEM_CLICKED]=h.AD_BREAK_ITEM_CLICKED,s[r.AD_BREAK_ITEM_CURRENT]=h.AD_BREAK_ITEM_CURRENT,s[r.AD_BREAK_ITEM_PLAYBACK_STARTED]=h.AD_BREAK_ITEM_PLAYBACK_STARTED,s[r.AD_BREAK_ITEM_ENDED]=h.AD_BREAK_ITEM_ENDED,s[r.AD_BREAK_ITEM_ERROR]=h.AD_BREAK_ITEM_ERROR,s[r.AD_BREAK_ITEM_SKIPPED]=h.AD_BREAK_ITEM_SKIPPED,s[r.AD_BREAK_STARTED]=h.AD_BREAK_STARTED,s[r.AD_METRICS]=h.AD_METRICS,s[r.CC_LANGUAGE_CHANGE]=h.CCEvent.LANGUAGE_CHANGE,s[r.CC_SETTINGS]=h.CCEvent.SETTINGS,s[r.CC_UI_TOGGLE]=h.CCEvent.UI_TOGGLE,s[r.CC_UPDATE_STYLE]=h.CCEvent.UPDATE_STYLE,s[r.CMS_API_CALLED]=h.API_CALLED,s[r.CONTROLS_AUDIO_CHANGE]=h.CONTROLS_AUDIO_CHANGE,s[r.CTRL_PLAYPAUSE]=h.CTRL_PLAYPAUSE,s[r.CTRL_PLAYREQUEST]=h.CTRL_PLAYREQUEST,s[r.CTRL_REPLAY]=h.CTRL_REPLAY,s[r.CTRL_SEEK]=h.CTRL_SEEK,s[r.CTRL_SETTINGS]=h.CTRL_SETTINGS,s[r.CTRL_VOLUME]=h.CTRL_VOLUME,s[r.MEDIA_ITEM_ADDED]=h.MEDIA_ITEM_ADDED,s[r.MEDIA_ITEM_CURRENT]=h.MEDIA_ITEM_CURRENT,s[r.MEDIA_ITEM_COMPLETE]=h.MEDIA_ITEM_COMPLETE,s[r.MEDIA_ITEM_ERROR]=h.MEDIA_ITEM_ERROR,s[r.MEDIA_ITEM_METADATA]=h.MEDIA_ITEM_METADATA,s[r.MEDIA_ITEM_NEED_SOURCE]=h.MEDIA_ITEM_NEED_SOURCE,s[r.MEDIA_ITEM_REMOVED]=h.MEDIA_ITEM_REMOVED,s[r.METADATA_READY]=h.METADATA_AVAILABLE,s[r.MULTI_AUDIO_AVAILABLE]=h.MULTI_LANGUAGES_AVAILABLE,s[r.PLAYBACK_COMPLETE]=h.PLAYBACK_COMPLETE,s[r.PLAYBACK_STOPPED]=h.PLAYBACK_STOPPED,s[r.PLAYBACK_PAUSE]=o.VideoEvent.PAUSE,s[r.PLAYBACK_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_ERROR]=h.INTERNAL_ERROR,s[r.PLAYER_FULLSCREEN_CHANGE]=h.FULLSCREEN_CHANGE,s[r.PLAYER_INFO]=h.INTERNAL_INFO,s[r.PLAYER_WARNING]=h.WARNING,s[r.RECOVERY_METADATA_READY]=h.RECOVERY_METADATA_READY,s[r.SEG_INFO_AVAILABLE]=h.SEG_INFO_AVAILABLE,s[r.SEGMENT_FIRST_BYTE_LOADED]=h.SEGMENT_FIRST_BYTE_LOADED,s[r.START_SCREEN_RENDERED]=h.START_SCREEN_RENDERED,s[r.THREE_SIXTY_INTERACT]=h.THREE_SIXTY_INTERACT,s[r.THREE_SIXTY_PIE_INTERACT]=h.THREE_SIXTY_PIE_INTERACT,s[r.TIMED_METADATA_RECEIVED]=h.TIMED_METADATA_RECEIVED,s[r.VIDEO_REQUEST]=h.VIDEO_REQUEST,s[r.PRELOAD_START]=h.PRELOAD_START,s[r.PRELOAD_PROGRESS]=h.PRELOAD_PROGRESS,s[r.PRELOAD_COMPLETE]=h.PRELOAD_COMPLETE,s[h.OPSS_VISIBILITY_CHANGED]=h.OPSS_VISIBILITY_CHANGED,s[h.PLAYLIST_BOTTOM_HEIGHT_CHANGE]=h.PLAYLIST_BOTTOM_HEIGHT_CHANGE,s),a=function(){function t(t,i,n){this.OM=t,this.AM=i,this.fO=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.fO.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.AM&&t.AM.getEventsDto()||{};r.push(h),setTimeout((function(){var n;(n=t.OM).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.JS=this.constructor.super_.prototype,this._M=null,this.GS(t)}function l(t,i){e.call(this,t,i),this.JS=this.constructor.super_.prototype,this._M=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.TM(t);var i=[{type:this.SM,mimeType:this.SM+'/mp4; codecs="'+this.IM+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(u.MessageIds.CREATE_SRC_BUFFER,[i],["tracks"])},l.prototype.TM=f.prototype.TM=function(t){t.type===o.AUDIO?(this.IM=this.oE.userAgent.android?"mp4a.40.2":t.audioCodec||"mp4a.40.2",this.SM="audio"):(this.IM=t.videoCodec||"avc1.640021",this.SM="video")},l.prototype.setCurrentStream=f.prototype.setCurrentStream=function(t){t&&this.oI&&!t.equals(this.oI)&&(this.oI=t,this.tI===this.STATES.LOADING&&this.abortCurrentSegment(this.jM),this.isStreamReady()||(this.tI=this.STATES.NONE))},l.prototype.MM=f.prototype.MM=function(t,i,n,s){var e=this.oI;this.ZS.removeRelatedCommands(h.CMD_MP4_INIT_SEGMENT_LOAD);var r={stream:e,segment:i,initSegment:t,comboLoad:n,cached:s};this.ZS.executeCommand(h.CMD_MP4_INIT_SEGMENT_LOAD,r,this)},l.prototype.NM=f.prototype.NM=function(t){if(!(this.tI>=this.STATES.INITIALIZING)){var i=c.isNullOrUndefined(t)?this.RM(this.DM):t,n=this.oI,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.tI=this.STATES.INITIALIZING,e&&e.periodId!==this._M&&this.LM(e.periodId),this.kM(e?e.periodId:null),this.MM(r,e,o,h)}}},l.prototype.onMp4InitSegmentLoadProgress=f.prototype.onMp4InitSegmentLoadProgress=function(t,i){var n=this.oI;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.CM.mp4BoxParser.parse(o,"sidx",r.sidxOffset));break;case"first":return void this.onSegmentLoadProgress(t,i)}n.equals(r)&&r.isReady()&&(this.PM(h),this.tI=this.STATES.INITIALIZED,i.comboLoad&&s&&(this.xM=s.seqNum,this.tI=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.tI<this.STATES.INITIALIZED&&this.oI.equals(i.stream)&&(this.tI=this.STATES.INITIALIZED),this.ZS.removeCommand(t))}},l.prototype.onMp4InitSegmentLoadError=f.prototype.onMp4InitSegmentLoadError=function(t,i){this.ZS.removeCommand(t)},l.prototype.onSegmentLoadProgress=f.prototype.onSegmentLoadProgress=function(t,i){var n=this.oI;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.IM,type:this.SM,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.dI([e])}r.prototype.onSegmentLoadProgress.call(this,t,i)}}},l.prototype.LM=f.prototype.LM=function(t){if(this._M!==t){this._M=t;var i=this.oI;"MAIN"!==this.type&&"AUDIO"!==this.type||this.UM(t,i),this.kM(t)}},l.prototype.UM=f.prototype.UM=function(t,i){for(var n=this.oE.streams,s=(this.type,0);s<n.length;s++)n[s].groupId;i.groupId},l.prototype.kM=f.prototype.kM=function(t){var i=this,n=i.oI;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.PM=f.prototype.PM=function(t){var i=this.oI;if(t){var n=t.data;if(n){var s={data:new Uint8Array(n.buffer),codec:this.IM,type:this.SM,minBufferTime:this.__controller.getMinimumBufferTime(),onlyMetadata:!0};this.dI([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.dI([s]))}}}},l.prototype.lI=f.prototype.lI=function(t,i){},l.prototype.VM=f.prototype.VM=function(t){var i=this.oI.getSegmentfromSeqNum(t);i&&i.periodId!==this._M&&this.LM(i.periodId),this.tI=this.STATES.NONE,this.BM=!0,this.xM=t,this.NM(t)},f.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},l.prototype.FM=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.JS.FM.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||{}},"7hrf":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={}))},"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)}}))},"91sO":function(t,i,n){"use strict";t.exports=e;var s=n("zbCN");function e(){this.zM=null,this.HM=new s}e.prototype.destroy=function(){this.zM=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.qM(i,h))?n.length:0}t.frames.length&&(r+=(s=this.GM(i))?s.length:0,r+=(e=this.YM(i))?e.length:0),this.zM=new Uint8Array(r);var o=0;n&&(this.zM.set(n,o),o+=n.length),s&&(this.zM.set(s,o),o+=s.length),e&&(this.zM.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.zM,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.qM=function(t,i){if(!t||!t.length)return null;var n=this.HM.initSegment(t,i);return n||null},e.prototype.GM=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.WM(t.type.track.config.timescale),n.duration}))})),i.HM.moof(n,t)):null},e.prototype.YM=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.HM.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.WM=function(t,i){return("audio"===t?.0232199546:.0333333333)*i}},"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.ZE=t,this.ZM=null,this.QM="start",this.hE=new u,this.XM=!1,this.CI={},this.JM=this.__controller.create(s,t,this.KM.bind(this)),this.$M=t.lastChunkEndTs?t.lastChunkEndTs.audio:NaN,this.tN=t.lastFrameDuration?t.lastFrameDuration.audio:NaN,r.isNullOrUndefined(this.ZE.pcr)&&(this.CI[a]=this.__controller.addEventListener(a,this.iN,this))}e.inherits(c,h),c.prototype.destroy=function(){this.close(),this.JM.destroy(),this.hE.destroy(),h.prototype.destroy.call(this)},c.prototype.setSource=function(t){this.nN=t,this.sN()},c.prototype.sN=function(){var t=this;t.nN&&(t.nN.addEventListener(o.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.nN.addEventListener(o.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.nN.addEventListener(o.DATA_PROCESS_ERROR,(function(i){t.publish(o.DATA_PROCESS_ERROR,i)}),t))},c.prototype.close=function(){this.ZM=null,this.__controller.removeEventListener(a,this.CI[a]),this.JM.close()},c.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.ZM&&(s=(n=this.ZM).length);var e=s+i;this.ZM=new Uint8Array(e),n&&this.ZM.set(n),this.ZM.set(t,s),this.eN()}}},c.prototype.iN=function(t){this.ZE.pcr=t,this.eN(),this.__controller.removeEventListener(a,this.CI[a])},c.prototype.eN=function(){var t=this.ZE.pcr;if(!r.isNullOrUndefined(t)){if(this.ZM&&this.ZM.length>0){var i;i=this.$M&&this.tN?t+this.$M+this.tN:t+this.ZE.startTime*this.ZE.timescale;var n=this.hE.readFramesFromBitstream(this.ZM,i);this.ZM=this.ZM.subarray(n)}var s=this.hE.getLastFrameDetails();s&&(this.$M=s.timestamp-t,this.tN=s.duration),(this.hE.ready||this.XM)&&this.rN()}},c.prototype.rN=function(){var t=this.hE.getFrames(),i=t&&t.length>0;if("end"===this.QM||i){var n=i?t[0].dts:null,s={audio:{frames:t,config:this.hE.getConfig()},pcr:n};this.JM.processSegmentData({avData:s,pos:this.QM}),"start"===this.QM&&(this.QM="middle")}},c.prototype.endOfSegment=function(){this.QM="end",this.XM=!0,this.eN(),this.JM.endOfSegment()},c.prototype.KM=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"},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]},"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.hN=!1,u.oN=!1,u.version="8.2.125",u.playerType="desktop",u.jshlsVer="1.1.258",u.vdmsVer="0.2.415",u.uN=i,u.aN=Date.now(),u.cN=null,i.playerId=i.playerId||_.default.generateGuid(),i=JSON.parse(JSON.stringify(i)),i=_.default.isLegacyConfig(i)?_.default.transformLegacyConfig(i):i,u.AM=new c.default(i,n,u),u.fN=new f.default(u.AM),u.playlist=new A.default(u.AM.getPlaylist()),u.lN(i),u.vN(i);var v=[u.version,u.aN];a.default.sendPlayerInitBeacon.apply(a.default,r([i],v)),u.dN(i),u.AM.initialize(),u.pN(),u.hN&&(u.cN=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.hN&&this.oN&&(null===(i=this.cN)||void 0===i||i.setupIframeToPageCommunication(),null===(n=this.cN)||void 0===n||n.sendClearIframeNameToPage()),this.AM.render(t),this},i.prototype.destroy=function(){this.AM.destroy(),t.prototype.destroy.call(this)},i.prototype.getCurrentTime=function(){return this.AM.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.AM.getCurrentDate()},i.prototype.getVolume=function(){return this.AM.getVolume()},i.prototype.setQueryString=function(t){},i.prototype.removeAllMediaItems=function(){return!0},i.prototype.play=function(t,i){this.fN.play(t,i)},i.prototype.pause=function(t){this.fN.pause(t)},i.prototype.mute=function(){this.fN.setMute(!0)},i.prototype.unMute=function(){this.fN.setMute(!1)},i.prototype.setVolume=function(t){this.fN.setVolume(t)},i.prototype.seek=function(t){this.fN.seek(t)},i.prototype.getMediaStore=function(){return this.AM.getMediaStore()},i.prototype.isPlaying=function(){return this.AM.isPlayMode()},i.prototype.isPlayMode=function(){return this.AM.isPlayMode()},i.prototype.isDocked=function(){return this.AM.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.AM.setMediaItemTitle(t,i)},i.prototype.isLoading=function(){return this.AM.isLoading()},i.prototype.getVideoElement=function(){return this.AM.getVideoElement()},i.prototype.getRootElement=function(){return this.AM.getRootElement()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.AM.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.AM&&this.AM.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.AM.addVdmsListener(i,n);e=function(){r.AM.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.AM.suspend()},i.prototype.resume=function(){this.AM.resume(),this.playlist.playlist=this.AM.getPlaylist()},i.prototype.isSuspended=function(){return this.AM&&this.AM.isSuspended()||!1},i.prototype.isRendered=function(){return this.AM&&this.AM.isRendered()||!1},i.prototype.updateGeoConfig=function(t){this.AM.updateGeoConfig(t)},i.prototype.getPlaybackStartDto=function(){return this.AM.getPlaybackStartDto()},i.prototype.getInitTime=function(){return this.aN},Object.defineProperty(i.prototype,"guid",{get:function(){return this.AM&&this.AM.guid||""},enumerable:!1,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.AM.getMediaItemMarkers(t)},i.prototype.addCustomControlElement=function(t){return this.AM.addCustomControlElement(t)},Object.defineProperty(i.prototype,"oathConfig",{get:function(){return this.uN},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iframeController",{get:function(){return this.cN},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"controls",{get:function(){return this.fN},set:function(t){this.fN=t},enumerable:!1,configurable:!0}),i.prototype.__setError=function(t,i,n,s,e){this.AM.setError(t,i,n,s,e)},i.prototype.pN=function(){if(_.default.isOathDomain()){this.controls=this.fN,this.config=this.uN}},i.prototype.dN=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.lN=function(t){this.hN=(null==t?void 0:t.iframeRender)||!1,this.oN=(null==t?void 0:t.insideIframeConfig)||!1},i.prototype.vN=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).mN()},t.sendBeacon=function(){this.runExperiment()},t.prototype.bN=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.yN=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.mN=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.gN(i)})).catch((function(t){}))},t.prototype.gN=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.wN(s)}},t.prototype.wN=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.EN("0",s,f,i.yN(a,h),o,u,c)}}else i.EN("6",s,null,i.yN(a,h),o,u,c)})).catch((function(t){f?i.EN("5",s,null,"",o,u,c):i.EN("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.EN("0",s,h,"",o,u,v)}}else i.EN("3",s,null,"",o,u,v)})).catch((function(t){l?i.EN("2",s,null,"",o,u,v):i.EN("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.EN=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.bN(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.oE=this.__controller.model,this.CM=this.__controller.services,this.ZS=this.__controller.create(p),this.AN=this.CM.segmentMetrics,this._N={},this.TN=0,this.SN=0,this.IN={},this.jN=null,this.MN=0,this.FAST_UP_SWITCH_INTERVAL=.3,this.NN=this.__controller.create(h,this.ZS),this.NN.addEventListener(this.NN.SWITCH_ON_ERROR,this.RN,this),this.DN=this.__controller.create(r),this.DN.addEventListener(this.DN.SWITCH_BEGIN,this.LN,this),this.DN.addEventListener(this.DN.SWITCH_END,this.kN,this),this.CN=new o(1e3*this.oE.config.segmentLoadMonitorInterval),this.CN.addEventListener(this.PN,this),this.xN=new o(1e3*this.FAST_UP_SWITCH_INTERVAL),this.xN.addEventListener(this.UN,this),this.VN={},this.xI=[],this.BN=!1,this.FN=!1,this.zN=!1,this.HN=this.DN.SCENARIOS.STARTUP,this.STATES={ERROR:-1,INITIAL:0,STREAM_METADATA_LOADED:1,INITIALIZED:2},this.tI=this.STATES.INITIAL}l.inherits(g,v),g.prototype.loadStream=function(t){var i=this;t&&i.tI===i.STATES.INITIAL&&(i.qN(t).load(t),i.TN++,Object.keys(t.altRenditionGroups).forEach((function(n){var s=t.getAlternateStream(n);s&&s.url&&(i.qN(s).load(s),i.TN++)})))},g.prototype.loadAllSubtitleStreams=function(){var t=this;if(t.tI===t.STATES.INITIAL){var i=[];t.oE.streams.forEach((function(n){var s=n.getAlternateStream(f.SUBTITLES);s&&i.indexOf(s.url)<0&&(i.push(s.url),t.qN(s).load(s),t.TN++)})),t.tI=t.STATES.STREAM_METADATA_LOADED,t.publish(y.STREAM_METADATA_LOADED)}},g.prototype.qN=function(t){var i=this.__controller.create(a,this.ZS);return i.addEventListener(c.STREAM_LOADED,this.GN,this),i.addEventListener(c.STREAM_LOAD_ERROR,this.YN,this),this._N[t.url]=i,t.type===f.SUBTITLES&&this.SN++,i},g.prototype.WN=function(){var t=this;Object.keys(t._N).forEach((function(i){var n=t._N[i];n&&n.destroy()})),t._N={},t.TN=0},g.prototype.GN=function(t){if(t){var i=this._N[t.url];if(i){if(this.tI>=this.STATES.STREAM_METADATA_LOADED)return i.destroy(),delete this._N[t.url],void this.oE.synchStreamTimelines(t.type);t.type!==f.SUBTITLES&&this.SN++,this.SN>=this.TN&&(this.tI=this.STATES.STREAM_METADATA_LOADED,this.oE.synchStreamTimelines(),this.publish(y.STREAM_METADATA_LOADED)),i.destroy(),delete this._N[t.url]}}},g.prototype.YN=function(t,i){t&&t.type===f.SUBTITLES||(this.tI=this.STATES.ERROR,this.publish(y.STREAM_METADATA_LOAD_ERROR,i))},g.prototype.init=function(){var t=this;if(t.tI!==t.STATES.ERROR&&t.tI!==t.STATES.INITIALIZED){var i=t.oE.getCurrentLoadingStream();if(i){t.SN=0;var n=t.ZN(i);n.addEventListener(s.PRELOAD_COMPLETE,t.QN,t),n.addEventListener(s.LIVE_SYNCH,t.XN,t),t.IN.MAIN=n,t.jN=n,t.MN++,Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);if(s){var e=t.ZN(s);e&&(t.IN[n]=e,t.MN++)}})),t.JN(),t.KN(),t.tI=t.STATES.INITIALIZED}}},g.prototype.isInitialized=function(){return this.tI>=this.STATES.INITIALIZED},g.prototype.ZN=function(t){if(!t)return null;var i=e.create(this.__controller,t,this.oE.live);return this.$N(i),i},g.prototype.tR=function(){var t=this;Object.keys(t.IN).forEach((function(i){t.IN[i].destroy()})),t.IN={},t.jN=null},g.prototype.$N=function(t){var i=this;if(t){var n={};n[s.SEG_LOAD_START]=i.iR,n[s.SEG_LOAD_PROGRESS]=i.nR,n[s.SEG_LOAD_COMPLETE]=i.sR,n[s.SEG_LOAD_ERROR]=i.eR,n[s.STREAM_LOAD_ERROR]=i.rR,n[s.STREAM_LOAD_COMPLETE]=i.hR,Object.keys(s).forEach((function(e){var r=s[e];t.addEventListener(r,n[r],i)}))}},g.prototype.JN=function(){var t=this.IN.AUDIO;this.jN&&this.jN.setAltAudioActive(t&&t.isActive())},g.prototype.oR=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=t.jN;s&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i),Object.keys(t.IN).forEach((function(e){e!==f.MAIN&&(s=t.IN[e])&&s[n]&&"function"==typeof s[n]&&s[n].apply(s,i)}))},g.prototype.process=function(){this.oR("process"),this.HN=this.DN.SCENARIOS.LOAD},g.prototype.suspendStreaming=function(){this.oR("suspendStreaming")},g.prototype.resumeStreaming=function(){this.oR("resumeStreaming")},g.prototype.setABRMode=function(t){var i=this.oE;i.setABRMode(t)&&i.getABRMode()!==m.AUTO&&(this.uR("video"),this.FN=!1,this.KN())},g.prototype.uR=function(t){this.zN=!0,this.__controller.sendMessage(b.MessageIds.PAUSE_BEFORE_STREAM_CHANGE,[t],["streamType"]),this.oR("onManualStreamChange")},g.prototype.setAudioLanguage=function(t){var i=this.oE;if(i.setAudioLanguage(t)){this.uR("audio");var n=f.AUDIO,s=i.getCurrentLoadingStream(),e=s?s.getAlternateStream(n):null,r=this.IN[n];e&&r&&r.setCurrentStream(e),this.JN()}},g.prototype.getMetrics=function(){return this.AN.getMetrics()},g.prototype.onPlay=function(t){this.CN.start(),this.aR()?(this.oR("onPlay",t),this.BN=!1,this.zN=!1):this.xI.push([this,this.onPlay,[t]])},g.prototype.onPlaying=function(){this.oR("onPlaying"),this.xN.start()},g.prototype.onPause=function(){this.CN.stop(),this.oR("onPause"),this.BN=!0},g.prototype.onSeeking=function(t){this.oE.live||this.KN(),this.oR("onSeeking",t)},g.prototype.onSeeked=function(t){this.oR("onSeeked",t)},g.prototype.onComplete=function(){this.AN.onComplete(),this.oR("onComplete")},g.prototype.onError=function(){this.oR("onError")},g.prototype.onTimeUpdate=function(t){this.oR("onTimeUpdate",t),this.AN.onTimeUpdate(t)},g.prototype.onSynchMetadataReady=function(t){this.KN(),this.oR("onSynchMetadataReady",t)},g.prototype.onSynchComplete=function(){this.oR("onSynchComplete")},g.prototype.onPreloadBegin=function(){this.oR("onPreloadBegin")},g.prototype.onPreloadEnd=function(){this.oR("onPreloadEnd")},g.prototype.RN=function(t){this.FN=!1,this.KN(this.DN.SCENARIOS.ERROR,{index:t})},g.prototype.LN=function(){var t=this,i=t.oE.getCurrentLoadingStream();t.FN=!0,t.jN.setCurrentStream(i),Object.keys(i.altRenditionGroups).forEach((function(n){var s=i.getAlternateStream(n);s&&t.IN[n]&&t.IN[n].setCurrentStream(s)})),t.JN()},g.prototype.kN=function(){this.FN=!1,this.oR("onSwitchEnd")},g.prototype.PN=function(){var t=this.jN?this.jN.getSegLoadCommand():null;t&&this.KN(this.DN.SCENARIOS.MIDSEGMENT,{command:t,position:t.position})},g.prototype.UN=function(){this.FN=!1,this.KN(),this.oE.getCurrentLoadingStream().bitrate>this.oE.getCurrentPlayingStream().bitrate&&(this.xN.reset(),this.oR("midSegUpSwitch"))},g.prototype.cR=function(t,i,n,s,e){var r=this.oE.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.CM.bandwidthEstimator.averageBandwidth,o.timeToFirstByte=h?h.timeToFirstByte:NaN,o.endTime=h?h.startTime+h.duration:NaN,this.AN.segmentLoadBegin(i,o)):"end"===t&&(o.perfInfo=e,o.timeToDownload=h?h.totalDownloadTime:NaN,o.segmentInWorker=!!s,this.AN.segmentLoadEnd(i,o))},g.prototype.fR=function(){this.CN.reset(),this.BN||this.NN.running||this.CN.start()},g.prototype.KN=function(t,i){if(t=t||this.HN,!this.FN)if(t!==this.DN.SCENARIOS.MIDSEGMENT){var n=i?i.index:null;this.DN.switchStream(t,null,n)}else{var s=i?i.command:null,e=i?i.position:null;this.lR(t,s,e)}},g.prototype.lR=function(t,i,n){if("end"!==n&&(this.jN&&this.jN.canSwitch(t)&&this.DN.switchStream(t,"down"))){var s=this.jN.abortCurrentSegment(i);s&&this.cR("end",s),this.process()}},g.prototype.iR=function(){this.fR()},g.prototype.nR=function(t,i){if(this.vR(t)&&i){this.publish(y.SEG_LOAD_PROGRESS,i.bytesTotal),"firstByte"===i.position&&this.DN.switchComplete();var n=i.position,s=i.bytesTotal,e=i.inWorkerScope,r=i.perfInfo,h=i.seqNum;this.cR(n,h,s,e,r),this.fR()}},g.prototype.sR=function(t){this.dR(),this.vR(t)&&this.KN()},g.prototype.eR=function(t,i){this.vR(t)&&this.cR("end",i.seqNum),this.pR(i.err,i.stream)},g.prototype.hR=function(t,i){if(this.dR(),this.vR(t)||this.oE.synchStreamTimelines(t.type),this.__controller.sendEvent(d.STREAM_UPDATED,i),this.xI.length>0&&this.VI(),this.zN){for(var n=0,s=Object.keys(this.IN),e=0;e<this.MN;e++)this.IN[s[e]].isActive()&&n++;++this.SN>=n&&(this.SN=0,this.__controller.sendMessage(b.MessageIds.PLAY_AFTER_STREAM_CHANGE))}},g.prototype.rR=function(t,i){this.pR(i.err,i.stream)},g.prototype.pR=function(t,i){this.CN.stop(),this.NN.handle(t,i)},g.prototype.dR=function(){var t=this,i=!0;t.NN.running&&(Object.keys(t.IN).forEach((function(n){var s=t.IN[n],e=s?s.getCurrentStream():null;e&&e.type!==f.SUBTITLES&&(i=i&&!s.isInError())})),i&&(t.NN.onLoadComplete(),t.fR()))},g.prototype.QN=function(){this.onPreloadEnd(),this.publish(y.PRELOAD_COMPLETE)},g.prototype.XN=function(t,i){this.vR(t)&&this.__controller.sendEvent(d.LIVE_SYNCH,i)},g.prototype.vR=function(t){return t&&t.type===f.MAIN},g.prototype.aR=function(){var t=this;if(t.tI!==t.STATES.INITIALIZED)return!1;var i=!0;return Object.keys(t.IN).forEach((function(n){if(n!==f.SUBTITLES){var s=t.IN[n];i=i&&(!s.isActive()||s.isStreamReady())}})),i},g.prototype.VI=function(){var t=this.xI;this.xI=[],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.tR(),this.WN(),this.NN&&(this.NN.destroy(),this.NN=null),this.ZS&&(this.ZS.destroy(),this.ZS=null),this.DN&&(this.DN.destroy(),this.DN=null),this.xN&&(this.xN.destroy(),this.xN=null),this.AN&&(this.AN.destroy(),this.AN=null),this.CN.destroy(),this.xI=[],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.ZM=null,this.mR=t||{},this.bR=i,this.yR=0,this.gR=NaN,this.wR={},this.ER={},this.OR=[],this.tI="initial",this.QM="start",this.XM=!1}r.prototype.destroy=function(){this.ZM=null,this.OR=[],this.tI="initial",this.QM="start";var t=this.ER;for(var i in t)t.hasOwnProperty(i)&&t[i].destroy();this.ER={}},r.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.ZM&&(s=(n=this.ZM).length);var r=s+i;return this.ZM=new Uint8Array(r),n&&this.ZM.set(n),this.ZM.set(t,s),-2===this.eN()?{error:e.ERR_SEGMENT_PARSE}:void 0}}},r.prototype.endOfSegment=function(){this.XM=!0,this.ZM&&this.ZM.length<188&&this.AR()},r.prototype.eN=function(){if(!this.ZM)return-1;for(var t=0;this.ZM.length;){var i=this.TR(this.ZM.subarray(0,188));if(0===i)t++,this.ZM=this.ZM.subarray(188),t>=500&&(this.SR(),t=0);else{if(-2!==i)break;var n=this.IR(this.ZM);if(!(n>=0))break;this.ZM=this.ZM.subarray(n)}}return this.XM&&0===this.ZM.length?this.AR():this.SR(),0},r.prototype.TR=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.yR&&n.adaptationFieldLength>=7&&this.jR(t.subarray(i,i+6)),i+=n.adaptationFieldLength-1);return!n.payloadExists||n.adaptationFieldLength>=183||this.MR(t.subarray(i),n),0},r.prototype.jR=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.NR||(this.NR=h)}},r.prototype.MR=function(t,i){var n,s,e;if(t&&i&&!isNaN(i.pid)&&(this.wR.aac&&(n=this.wR.aac),this.wR.avc&&(s=this.wR.avc),this.wR.id3&&(e=this.wR.id3),!(i.pid>=1&&i.pid<=15||8191===i.pid)))switch(i.pid){case 0:this.RR(t,i);break;case this.gR:this.DR(t,i);break;case n:this.LR("audio",n,t,i);break;case s:this.LR("video",s,t,i);break;case e:this.LR("id3",e,t,i),this.kR();break;default:this.CR(t,i)}},r.prototype.RR=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.gR=((31&t[n++])<<8)+t[n++]),this.tI="patParsed"}},r.prototype.DR=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.yR=((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.wR.mp3=u;break;case 15:this.wR.aac=u;break;case 27:this.wR.avc=u;break;case 21:this.wR.id3=u}this.tI="pmtParsed"}},r.prototype.LR=function(t,i,n,e){if(n){var r=this.ER,h=r[i];e.startIndicator?(h||(r[i]=new s(t,i,this.mR),h=r[i]),h.addPacket(n)):h&&h.append(n)}},r.prototype.CR=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.wR.avc=i.pid,this.LR("video",this.wR.avc,t,i)):12!==h&&13!==h||(this.wR.aac=i.pid,this.LR("audio",this.wR.aac,t,i))}else 2===r&&this.DR(t,i)}},r.prototype.PR=function(){var t=!0;for(var i in this.wR)if("id3"!==i&&this.wR.hasOwnProperty(i)){var n=this.wR[i];this.ER[n]&&(t=t&&this.ER[n].isReady())}return t},r.prototype.SR=function(){if(this.PR()){var t={},i=!1,n=!1,s=this.ER,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.QM}),config:h.getConfig(),streamId:h.streamId};"audio"===h.streamType&&r===this.wR.aac.toString()?(t.audio=o,i=t.audio.frames&&t.audio.frames.length):"video"===h.streamType&&r===this.wR.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.QM||i||n)&&(this.bR&&this.bR({pos:this.QM,avData:t}),"start"===this.QM&&(this.QM="middle"))}},r.prototype.kR=function(){var t=this,i=t.ER,n=null;Object.keys(i).forEach((function(s){var e=i[s];e&&"id3"===e.streamType&&s===t.wR.id3.toString()&&(n=e.getTimedMetadata())})),n&&t.bR&&t.bR({pos:"timedMetadata",timedMetadata:n})},r.prototype.IR=function(t){if(!t)return-1;for(var i=0;i<t.length;i++)if(71===t[i])return i;return-1},r.prototype.AR=function(){this.QM="end";var t=this.ER;for(var i in t)t.hasOwnProperty(i)&&(t[i].endOfSegment(),"id3"===t[i].streamType&&this.kR());this.SR()}},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("Vqcw"),w=n("DdJv"),E=n("Qn5d"),O=n("ablw"),A=n("yf6s"),_=n("bM0F"),T=n("pBvk").Validator,S=function(t){function i(i,n){var s=t.call(this,"VdmsPlayer")||this;return s.xR=!1,s.version="0.2.415",s.playerType="PLAYER_TYPE",s.language="SCRIPT_LANGUAGE_I18N",s.config=i,s.mediaStore=n,s.dN(i),s.guid=i.playerId||A.default.generateGuid(),s.UR(),s.VR(i,n),s}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this),this.BR&&this.BR.destroy(),this.AM&&(this.AM.destroy(),this.AM=null),this.FR(),window.removeEventListener("pageshow",this.zR,!1)},i.prototype.initialize=function(){this.AM&&this.AM.initialize()},i.prototype.render=function(t){return this.HR(),this.qR=t,this.AM&&this.AM.render(t),this},i.prototype.getMediaItems=function(){return this.GR.getMediaItems()},i.prototype.removeAllMediaItems=function(){this.GR.removeAllMediaItems()},i.prototype.removeMediaItems=function(t){this.GR.removeMediaItems(t)},i.prototype.insertMediaItems=function(t,i){this.GR.insertMediaItems(t,i)},i.prototype.appendMediaItems=function(t){this.GR.appendMediaItems(t)},i.prototype.getCurrentMediaItem=function(){return this.GR.getCurrentMediaItem()},i.prototype.setCurrentMediaItem=function(t){this.GR.setCurrentMediaItem(t)},i.prototype.setMediaItemTitle=function(t,i){this.GR.setMediaItemTitle(t,i);var n=this.getCurrentMediaItem();n&&n.id===t&&this.AM.updateCurrentItemTitle(i)},i.prototype.getMediaItemMarkers=function(t){return this.GR.getMediaItemMarkers(t)},i.prototype.getCurrentAdBreak=function(){return this.YR.getCurrentAdBreak()},i.prototype.getCurrentAdBreakItem=function(){return this.YR.getCurrentAdBreakItem()},i.prototype.play=function(t,i){this.WR.play(t,i)},i.prototype.pause=function(t){this.WR.pause(t)},i.prototype.mute=function(){this.WR.setMute(!0)},i.prototype.unMute=function(){this.WR.setMute(!1)},i.prototype.setVolume=function(t){O.isNumber(t)&&this.WR.setVolume(t)},i.prototype.seek=function(t){this.WR.seek(t)},i.prototype.registerPlugin=function(t){this.AM&&this.AM.registerPlugin(t)},i.prototype.getVideoElement=function(){return this.HR(),this.AM?this.AM.videoElement:null},i.prototype.getRootElement=function(){return this.HR(),this.AM?this.AM.rootElement:null},i.prototype.suspendState=function(){if(!h.userAgent.desktop&&!this.isSuspended()){this.HR();var t={boundEvents:this.ZR,currentTime:this.WR.getCurrentTime(),mediaStore:this.getMediaStore(),playlist:this.AM.getPlaylistItems(),position:this.QR.getPosition(),selector:this.qR};return this.xR=!0,this.destroy(),t}},i.prototype.resumeState=function(t){this.isSuspended()&&t&&(this.xR=!1,this.VR(this.config,t.mediaStore),this.QR.setItems(t.playlist),this.QR.setPosition(t.position),this.AM.startTime=t.currentTime,this.ZR=t.boundEvents)},i.prototype.isSuspended=function(){return this.xR},i.prototype.isRendered=function(){return this.HR(),!!this.AM&&this.AM.rendered},i.prototype.preload=function(){this.WR.preload()},i.prototype.disableControls=function(){this.WR.disableControls()},i.prototype.enableControls=function(){this.WR.enableControls()},i.prototype.enableCC=function(t){this.WR.enableCC(t)},i.prototype.disableCC=function(){this.WR.disableCC()},i.prototype.isPlayMode=function(){return this.AM.isPlayMode()},i.prototype.isLoading=function(){return this.AM.isLoading()},i.prototype.getPlaybackState=function(){return this.WR.getPlaybackState()},i.prototype.getCurrentTime=function(){return this.WR.getCurrentTime()},i.prototype.getRawCurrentTime=function(){return this.WR.getRawCurrentTime()},i.prototype.getDuration=function(){return this.WR.getDuration()},i.prototype.getRawDuration=function(){return this.WR.getRawDuration()},i.prototype.getTimeRemaining=function(){return this.WR.getTimeRemaining()},i.prototype.setFullscreen=function(t){void 0===t&&(t=!0),this.WR.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.WR.getFullscreen()},i.prototype.getVolume=function(){return this.WR.getVolume()},i.prototype.setMute=function(t){void 0===t&&(t=!0),this.WR.setMute(t)},i.prototype.getMute=function(){return this.WR.getMute()},i.prototype.addCustomControlElement=function(t){return this.AM.addCustomControlElement(t)},i.prototype.setLoop=function(t){this.WR.setLoop(t)},i.prototype.setContinuousPlay=function(t){void 0===t&&(t=!0),this.WR.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(){this.WR.resumeContinuousPlay()},i.prototype.getCurrentDate=function(){return this.WR.getCurrentDate()},i.prototype.addItems=function(t,i){this.QR.addItems(t,i)},i.prototype.addMetricsEventListener=function(t,i){var n=this.XR.getAllExternalEvtNames();return this.addEventListeners(n,t,i)},i.prototype.setAudioLanguage=function(t){this.WR.setAudioLanguage(t)},i.prototype.getPlaylist=function(){return this.QR},i.prototype.getMediaStore=function(){return this.HR(),{JR:this.AM.mediaStore}},i.prototype.getPlaybackStartDto=function(){var t=this.AM.model,i=this.BR;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)}},i.prototype.getInitTime=function(){return this.BR.startTime},i.prototype.__setError=function(t,i,n,s,e){if(this.HR(),!this.AM)return null;this.AM.setCustomError(t,i,n,s,e)},i.prototype.isDocked=function(){return this.HR(),this.AM&&this.AM.docked},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.HR(),this.AM.updateDockingConfig(t,i,n,s,e,r)},i.prototype.undockVideoPlayer=function(t){this.HR(),this.AM.undockVideoPlayer(t)},i.prototype.dN=function(t){try{var i=new T;i.addSchema(y.streamSchema,"/streamSchema"),i.addSchema(b.sourceSchema,"/sourceSchema"),i.addSchema(m.mediaItemSchema,"/mediaItemSchema"),i.addSchema(g.uiSchema,"/uiSchema"),i.addSchema(w.vrmSchema,"/vrmSchema"),i.validate(t,p.configSchema,{throwError:!0})}catch(t){var n="Invalid player config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.VR=function(t,i){this.fO=new r.default("internal"),this.KR();var n=null;i&&(n=i.JR||null),this.$R(),this.BR=new E.Profiler(this.fO),this.AM=new v.default(t,n,this.guid,this.fO,this.BR),this.XR=new c.ExternalEvtAPI(this,this.AM,this.fO),this.XR.enablePublish(),this.AM.initNewPlayback(),this.WR=new a.default(this.AM),this.QR=new l.default(this.AM),this.GR=new f.default(this.AM),this.YR=new u.default(this.AM)},i.prototype.$R=function(){var t=this;this.zR=function(i){i.persisted&&t.lD()},h.userAgent.safari&&window.addEventListener("pageshow",this.zR,!1)},i.prototype.HR=function(){if(this.isSuspended()||!this.AM)throw new Error("INVALID_STATE_ERR: Player instance no longer usable");return!0},i.prototype.lD=function(){this.destroy(),this.VR(this.config,this.mediaStore),this.render(this.qR)},i.prototype.FR=function(){this._D.forEach((function(t){t.destroy()})),this._D=[]},i.prototype.KR=function(){var t=this;this._D=this._D||[],!0===this.config.analytics&&this._D.push(new _.default(this));var i=!1;this.fO.addEventListener(c.ExternalEvt.NIELSEN_REQUIRED,(function(){if(!i){var n=(t.config.nielsenConfig||{}).nielsenAppId||null;t._D.push(new o.default(t,n)),i=!0}}),this)},i.prototype.UR=function(){var t=this.config.cssTheme,i=A.default.getCssBuildUrl("7d686f4c59".indexOf("local")>-1,"7d686f4c59",t);A.default.loadCssAsset("vp-css",i,(function(){A.default.setSingleton("isCSSLoaded",!0)}),(function(){A.default.setSingleton("isCSSError",!0)}))},i}(r.default);i.default=S},"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.tI=0,this.jD=!1,this.YD=void 0,this.WD=[],d(t,this)}function a(t,i){for(;3===t.tI;)t=t.YD;0!==t.tI?(t.jD=!0,u.ZD((function(){var n=1===t.tI?i.onFulfilled:i.onRejected;if(null!==n){var s;try{s=n(t.YD)}catch(t){return void f(i.promise,t)}c(i.promise,s)}else(1===t.tI?c:f)(i.promise,t.YD)}))):t.WD.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.tI=3,t.YD=i,void l(t);if("function"==typeof n)return void d((s=n,e=i,function(){s.apply(e,arguments)}),t)}t.tI=1,t.YD=i,l(t)}catch(i){f(t,i)}var s,e}function f(t,i){t.tI=2,t.YD=i,l(t)}function l(t){2===t.tI&&0===t.WD.length&&u.ZD((function(){t.jD||u.XD(t.YD)}));for(var i=0,n=t.WD.length;i<n;i++)a(t,t.WD[i]);t.WD=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.ZD="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.hE=t.stream,this.$D=[],this.tL=!!t.comboLoad,this.iL=t.initSegment,this.rE=t.segment,this.nL=t.cached,this.JS=this.constructor.super_.prototype,this.constructor.super_.call(this,t,i),this.uE=t.initSegment.url,this.name=r.CMD_MP4_INIT_SEGMENT_LOAD}s.inherits(u,o),u.prototype.destroy=function(){this.$D=[],this.JS.destroy.call(this)},u.prototype.eE=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.sL=function(){if(this.$D.push(this.iL),this.tL){var t=this.hE.getMp4Chunk("sidx"),i=this.hE.getMp4Chunk("first");t&&this.$D.push(t),i&&this.rE&&this.$D.push(i)}},u.prototype.qi=function(){var t={responseType:"arraybuffer",isChunkedLoad:!0,minChunkSize:1e3,headerFields:{}};this.sL();var i=-1,n=-1;if(this.$D.length){var s=this.$D[0].range,e=this.$D[this.$D.length-1].range;s&&e&&(i=s.start,n=e.end)}if(i>=0&&n>=0&&(t.headerFields.Range="bytes="+i+"-"+n,this.eL=n-i+1),"atlas"===(this.hE.cdn||this.rE&&this.rE.cdn)){var r=this.hE.sessionId||this.rE&&this.rE.sessionId;t.headerFields.Accept="*/*; X-PB-SESSION-ID="+r}return t},u.prototype.wE=function(){this.rE&&this.JS.wE.call(this)},u.prototype.DE=function(){!this.tL&&this.nL&&this.iL.loaded?this.CE():this.JS.DE.call(this)},u.prototype.PE=function(t,i){t&&(this.tL?this.rL(t,i):this.hL(t,i))},u.prototype.rL=function(t,i){if(t){var n=0,s=t.byteLength,e=t;i!==this.vE&&this.xE(i);for(var r=null,o=0;o<this.$D.length;o++){if(r=this.$D[o],!e)return;if(r.loaded||(n+=r.append(e),"first"===r.name&&this.EE&&this.EE.append(e),r.loaded&&"first"!==r.name&&this.publish(h.CMD_PROGRESS,this,{chunk:r,stream:this.hE,comboLoad:this.tL})),n>=s)return;if(n>0&&(e=t.subarray(n)),!r.loaded)return}}},u.prototype.hL=function(t,i){i!==this.vE?this.xE(i):this.EE.append(t)},u.prototype.CE=function(){if(!this.tL){var t=this.$D[0];t&&(t.loaded=!0,this.publish(h.CMD_PROGRESS,this,{chunk:t,stream:this.hE,comboLoad:this.tL}),this.publish(h.CMD_COMPLETE,this,{stream:this.hE,comboLoad:this.tL}))}this.JS.CE.call(this)},u.prototype._E=function(){this.publish(h.CMD_COMPLETE,this,{stream:this.hE,comboLoad:this.tL})},u.prototype.AE=function(t,i){if(t){if(!this.tL){var n=this.$D[0];return n&&!n.loaded&&n.append(t.data),void this.publish(h.CMD_PROGRESS,this,{chunk:n,stream:this.hE,comboLoad:this.tL})}t.stream=this.hE,t.chunk={name:"first"},this.JS.AE.call(this,t,i)}},u.prototype.UE=function(){return 0},u.prototype.getSegment=function(){return this.rE}},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.XE(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.oL();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.oL()},enumerable:!0,configurable:!0}),t.prototype.XE=function(t){this.dN(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.oL()+"://"+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.uL(this.url))},t.prototype.dN=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.oL=function(){var t="http",i=this.url.split(":");return i.length>1&&(t=i[0]),t},t.prototype.uL=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.aL=this.__controller.model.userAgent,r.call(this,this.constructor.name),"undefined"==typeof window?this.cL=crypto||msCrypto:this.cL=window.crypto||window.msCrypto,this.cL=this.cL.subtle||this.cL.webkitSubtle,this.ZM=null,this.fL=null,this.lL={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.ZM=null,this.vL=null,this.fL=null,this.dL=null},u.prototype.append=function(t){t&&("key"===t.type?this.pL(t):this.mL(t))},u.prototype.mL=function(t){if(t)if(this.vL){var i=new Uint8Array(this.vL.byteLength+t.byteLength);i.set(new Uint8Array(this.vL),0),i.set(new Uint8Array(t),this.vL.byteLength),this.vL=i}else this.vL=t},u.prototype.pL=function(t){var i=this;t&&(t.initVector||(t.initVector=i.bL(t.seqNum)),i.fL=t,i.lL.iv=i.yL(t.initVector).buffer,11!==i.aL.ie?i.cL.importKey("raw",t.data,i.lL,!0,["decrypt"]).then((function(t){i.dL=t,i.gL()}),(function(t){i.wL(h,t)})):i.EL(t))},u.prototype.EL=function(t){var i=this,n=i.cL.importKey("raw",t.data,i.lL,!0,["decrypt"]);n?(n.onerror=function(t){i.wL(h,t)},n.oncomplete=function(t){i.dL=t&&t.target?t.target.result:null,i.gL()}):i.wL("Key Import operation is not created in IE-11")},u.prototype.gL=function(){var t=this;if(t.dL&&t.vL&&t.vL.byteLength&&t.XM){var i=t.vL.buffer,n=i.byteLength-i.byteLength%16,s=i.slice(0,n);t.vL=new Uint8Array(i.slice(n)),11!==t.aL.ie?t.cL.decrypt(t.lL,t.dL,s).then((function(i){t.OL(i)}),(function(i){t.wL(o,i)})).catch((function(i){t.wL("Exception",i.toString())})):t.AL(s)}},u.prototype.AL=function(t){var i=this;if(i.dL&&t){var n=i.cL.decrypt(i.lL,i.dL,t);n?(n.onerror=function(t){i.wL(o,t)},n.oncomplete=function(t){t&&t.target&&i.OL(t.target.result)}):i.wL("Decryption operation is not created in IE-11")}},u.prototype.OL=function(t){this.publish(s.DATA_PROCESS_PROGRESS,new Uint8Array(t)),this.XM&&(0===this.vL.byteLength?this.publish(s.DATA_PROCESS_COMPLETE):this.gL())},u.prototype.yL=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.XM=!0,this.fL&&this.dL&&this.gL()},u.prototype.wL=function(t,i){this.publish(s.DATA_PROCESS_ERROR)},u.prototype.bL=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"}},required:["mediaItems"]}},CLCl:function(t,i,n){"use strict";t.exports=e;var s=n("9m1L").HLSEvent;function e(){this.oE=this.__controller.model,this._L=!1,this.TL=!1,this.SL=[],this.IL=[],this.jL=null,this.ML=null,this.CI={},this.NL=NaN,this.RL(),this.DL=0,this.LL=0,this.kL=0,this.CL=!0}function r(){this.seqNum=-1,this.beginTime=NaN,this.endTime=NaN,this.bitrateIndex=-1,this.switchReason="none",this.bufferCount=0,this.bufferTime=0,this.timeToFirstByte=0,this.timeToDownload=0,this.timeToRequest=0,this.observedBitrate=0,this.actualBitrate=0,this.frameDrop=0,this.frameRateSum=0,this.frameRateSampleCount=0,this.frameRate=30}e.prototype.destroy=function(){this.SL=[],this.IL=[],this.ML=null,this.jL=null,this.PL()},e.prototype.RL=function(){this.CI[s.WAITING]=this.__controller.addEventListener(s.WAITING,this.xL,this)},e.prototype.PL=function(){this.__controller.removeEventListeners(this.CI)},e.prototype.onComplete=function(){this.segmentRenderNext()},e.prototype.onTimeUpdate=function(t){var i=this.oE.getCurrentPlayingStream();if(this.DL=t,this.updateRenderState(this.ML,this.DL),this.oE.live&&i&&i.cuepoints.length>0&&this.cuepointEventDispatcher(this.DL,i.cuepoints),t>0&&this.ML){var n=this.UL();n&&this.__controller.sendEvent(s.TIMED_METADATA_READY,n.payload)}},e.prototype.UL=function(){var t=this,i=t.ML.seqNum,n=t.oE.timedMetadataStore[i],s=t.DL;if(!n||!n.length)return null;t.oE.live&&Object.keys(t.oE.timedMetadataStore).forEach((function(n){n>i||t.oE.timedMetadataStore[n].every((function(i){return s-i.timestamp>=t.oE.config.pastBufferLengthLimit.live}))&&delete t.oE.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.xL=function(t){t&&(t.bufferInit||(t.value?this.VL():this.BL(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,this.jL&&this.SL.push(this.jL),this.jL=n,this.ML&&t===this.ML.seqNum||!this.ML){if(this.ML&&n.bitrateIndex!==this.ML.bitrateIndex){var e=this.oE.streams,h={bitrate:Math.round(e[n.bitrateIndex].bitrate/1e3),reason:"fast-up",oldFrameRate:this.ML.frameRate,newFrameRate:n.frameRate};this.__controller.sendEvent(s.STREAM_SWITCHED,h)}this.segmentRenderNext(n)}}},e.prototype.segmentLoadEnd=function(t,i){var n=this.jL;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.SL.push(n),this.jL=null)},e.prototype.segmentRenderNext=function(t){this.ML&&(this.IL.push(this.ML),this.ML=null,this.__controller.sendEvent(s.SEGMENT_RENDERED)),t&&(this.ML=t,this.oE.setCurrentPlayingStream(t.bitrateIndex))},e.prototype.updateRenderState=function(t,i){if(!(isNaN(i)||i<=0)&&(t||(t=this.FL(i))&&this.segmentRenderNext(t),t&&(this.zL&&(t.frameDrop=this.zL.frameDrop,t.frameRateSum+=Number(this.zL.frameRate.toFixed(2)),t.frameRateSampleCount++),!(i>=t.beginTime&&i<t.endTime)))){var n=this.FL(i);if(n&&(this.segmentRenderNext(n),n.bitrateIndex!==t.bitrateIndex)){var e=this.oE.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.zL=t)},e.prototype.FL=function(t){if(this.jL&&t>=this.jL.beginTime&&t<this.jL.endTime)return this.jL;if(this.SL.length)for(var i=this.SL.length-1;i>=0;i--)if(t>=this.SL[i].beginTime&&t<this.SL[i].endTime)return this.SL[i];return null},e.prototype.VL=function(){this.TL||(this.TL=!0,this.ML,this.jL)},e.prototype.BL=function(t){if(this.TL){this.HL=NaN,this.TL=!1;var i=this.ML,n=i&&!isNaN(t)&&t>0;i&&(i.bufferTime+=n?t:0,i.bufferCount+=n?1:0)}},e.prototype.getMetrics=function(){var t=this.ML,i=[];if(this.IL.length){for(var n=0;n<this.IL.length;n++)i.push(this.qL(this.IL[n]));this.IL=[]}return t&&(i.push(this.qL(t)),t.bufferCount=0,t.bufferTime=0,t.timeToFirstByte=NaN,t.timeToDownload&&(t.timeToDownload=NaN)),i},e.prototype.qL=function(t){if(!t)return null;var i=this.oE.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.NL?0:t.averageBandwidth;return this.NL!==t.averageBandwidth&&(this.NL=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.GL(t);return!i.isCueOutFired&&n===i.startSeqNum&&t>i.startTime},e.prototype.GL=function(t){var i=this.oE.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.YL={},this.CI={},r)r.hasOwnProperty(t)&&(this.YL[r[t]]={})}u.prototype.destroy=function(){this.removeAllCommands(),this.YL=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.CI[u+t+s.key]=s.addEventListener(u,n[a],n))}return this.YL[t][s.key]=s,s},u.prototype.removeCommand=function(t){if(t){var i=this.YL[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.CI[s+t.name+t.key]),delete this.CI[s+t.name+t.key])}t.destroy()}}},u.prototype.removeRelatedCommands=function(t){if(this.YL.hasOwnProperty(t)){var i=this.YL[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.YL)this.YL.hasOwnProperty(t)&&this.removeRelatedCommands(t)},u.prototype.getCommand=function(t){var i=this.YL[t];if(!i)return null;var n=Object.keys(i);return n.length<1?null:i[n[n.length-1]]}},D8uh:function(t,i,n){"use strict";function s(t){this.name=t||"unnamed",this.ZR={},this.WL=0}t.exports=s,s.prototype.addEventListener=function(t,i,n){if(this.ZR){this.ZR[t]||(this.ZR[t]={});var s=t+"_"+ ++this.WL;return this.ZR[t][s]={subscriber:n,cb:i},s}},s.prototype.removeEventListener=function(t,i){this.ZR&&t in this.ZR&&this.ZR[t].hasOwnProperty(i)&&delete this.ZR[t][i]},s.prototype.removeEventListeners=function(t){var i=this;i.ZR&&t&&Object.keys(t).forEach((function(n){var s=t[n];n in i.ZR&&i.ZR[n].hasOwnProperty(s)&&(delete i.ZR[n][s],delete t[n])}))},s.prototype.publish=function(t){var i=this;if(i.ZR&&t in i.ZR){var n=i.ZR[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.ZR=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.125",type:"string"},jshlsVersion:{default:"1.1.258",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.oE=t,this.name="SapiMetadataPlugin",this.version="8.2.125",this.mimetype=e.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=e.Plugin.PluginType.METADATA,this.ZL=!1,this.QL="",this.ZE={};var i=this.oE.config&&this.oE.config.CMS;this.XL=i&&i.host||c.default.getEnv(i&&i.env||""),this.FS=new a.default(this.oE),r.Loader.preconnect("preconnect-sapi","//"+this.XL)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.ZE=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.FS.parseMediaItemsResponse(i),Array.isArray(i)&&i.every(this.JL))t((function(){s.onComplete(i)}));else{var o=this.ZE.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.ZL=!0},i.prototype.destroy=function(){this.cancel()},i.prototype.KL=function(t,i,n,s){var e=this,r=this._k(t,i,n),h=2,o=function(i){e.ZL||e.Dk(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.ZL)if(h>0)h--,e._C(r,o,a);else{var c=t.message+"; "+r+"; "+i+"; "+n;e.$L(null,null,u.getErrorCode(t,i,n),c,s)}};this._C(r,o,a)},i.prototype._C=function(t,i,n){r.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,withCookie:!1})},i.prototype._k=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.QL=r.width+"x"+r.height;var u=[this.QL,h.PLAYLIST_THUMB_DIMENSION],c={dev_type:this.FS.getDeviceType(),region:this.oE.region||"US",lang:this.oE.lang,site:this.oE.site,image_sizes:u.join(",")};return c=o.default.extend(i,c),"//"+this.XL+"/v1/video/videos/"+e+"?"+s.stringify(c)},i.prototype.Dk=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.tP(t,i),r.splice(n,1),!0)}))})),n(null,t)}catch(t){n(t.message)}},i.prototype.tP=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.iP(i.thumbnails)||a.DEFAULT_MEDIA_ITEM_META.posterUrl,n.thumbnail=this.nP(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.iP=function(t){var i=this;if(!t||0===t.length)return"";var n=t.filter((function(t){return t.tag===i.QL})),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.nP=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.sP=null,e.fO=i,e.oE=n,e.lO=s,e.eP=e.oE.ccUserPreferences||{},e.rP(),e.fO.addEventListener(a.VideoEvent.PLAYING,e.onMediaItemPlaybackStarted,e),o.userAgent.tv||e.fO.addEventListener(a.AD_BREAK_ENDED,e.onAdBreakEnded,e),e.fO.addEventListener(a.PLAYBACK_PROGRESS,e.hP,e),e.fO.addEventListener(a.FULLSCREEN_CHANGE,e.oP,e),e.fO.addEventListener(u.ExternalEvt.PLAYER_VIEWPORT_CHANGE,e.oP,e),e.fO.addEventListener(a.VTT_SEGMENT_LOADED,e.uP,e),e.fO.addEventListener(a.CCEvent.LANGUAGE_CHANGE,e.onLanguageChange,e),e.fO.addEventListener(a.CCEvent.UPDATE_STYLE,e.updateCCStyle,e),e.fO.addEventListener(a.CCEvent.POSITION_CHANGE,e.aP,e),e.fO.addEventListener(a.CCEvent.POSITION_FLOAT,e.cP,e),e.fO.addEventListener(a.CCEvent.USER_STYLE_PREFERENCES_CHANGE,e.fP,e),e.fO.addEventListener(a.SUBTITLE_TRACK_RECEIVED,e.lP,e),e.fO.addEventListener(a.AD_SUBTITLE_TRACK_ADDED,e.vP,e),e.dP=[],e.pP=null,e.mP=null,e.bP="en-us",e.yP={},e.gP=document.createElement("div"),v.default.classList(e.gP).add("vp-cc-element"),e.wP=document.createElement("span"),e.gP.appendChild(e.wP),e.EP=e.eP.fontSize,e.updateCCStyle();var r=e.lO.getMainElement();return r&&r.appendChild(e.gP),o.userAgent.tv&&(e.OP=new d.default(e.fO,e.oE)),e.AP=!1,e.oE.ccOnMute&&e.oE.mute&&(e.AP=!0),e._P="",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.pP&&this.pP.id!==t.id&&delete this.yP[this.pP.id],this.pP=t,this.d_=t.isLive(),!this.yP[t.id]){var i={ccAvailable:!1,vttPresent:!1,parsedCaptions:null};this.yP[t.id]=i,this.TP(t)?(i.vttPresent=!0,this.SP(!0)):(i.ccAvailable=!0,i.vttPresent=!1,this.IP=null,this.publish(p.CC_AVAILABILITY_UPDATE,!0),this.jP(t.closedCaptions))}this.OP&&this.OP.onMediaItemLoaded(t)}},n.prototype.destroy=function(){this.yP=null},n.prototype.enableAndPersist=function(t){this.MP(!0,t)},n.prototype.disable=function(){this.NP(!1)},n.prototype.disableAndPersist=function(){this.NP(!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.mP=t}),0)},n.prototype.onAdPlaybackProgress=function(t){var i=t.currentTime,n=t.duration;if(this.mP){var s=this.mP.adId||this.mP.id||null;s&&this.RP(s,i,n)}},n.prototype.onAdBreakEnded=function(){this.DP()||this.SP(!0),this.resetCC()},n.prototype.resetCC=function(){this.mP=null,this.DP()&&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.gP){var t=v.default.cssHexToRgb(this.eP.bgColor)||{r:0,g:0,b:0},i=0===this.eP.bgOpacity?"transparent":"rgba("+t.r+","+t.g+","+t.b+","+this.eP.bgOpacity+")",n=m[this.eP.fontEffect];this.gP.style.fontFamily=this.eP.fontName,this.oP(),this.gP.style.color=this.eP.fontColor,this.wP.style.backgroundColor=i,this.gP.style.textShadow=n,this.aP("top"===this.eP.ccPos),o.userAgent.tv&&(o.userAgent.samsung&&this.kP(),Object.assign(this.gP.style,{position:"absolute",width:"100%",textAlign:"center",bottom:"14%",zIndex:"30"}))}},n.prototype.rP=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.eP[s]=n[s])},n.prototype.LP=function(){var t,i,n=["en-us"],s=this.CP(),e=s?this.yP[s]:null;if(this.dP&&this.dP.length&&(n=this.dP.map((function(t){return t.lang}))),i=this.IP&&this.IP.lang||this.eP.lang,this.PP(!1),e&&!e.hasNonNativeCC){var r=e&&e.tracks||null;r&&r.length&&(n=r.map((function(t){return t.language})),i=this.xP&&this.xP.language||this.eP.lang,this.PP(!0))}this.publish(p.CC_LIST_FETCHED,{langList:n,selectedLang:i});var h=this.eP.show||this.AP;null===(t=this.lO.controls)||void 0===t||t.updateClosedCaptionButtonState(h),this.publish(p.CC_AVAILABILITY_UPDATE,!0),(this.eP.show||this.AP)&&this.enable()},n.prototype.CP=function(){var t,i,n=this.oE.playbackState;return n&&n.playingItem&&n.playingItem.adBreakItemId?t=n.playingItem.adBreakItemId:(i=this.oE.playlist.getCurrentItem())&&(t=i&&i.id),t},n.prototype.PP=function(t){this.publish(p.TOGGLE_SIMPLE_CC_CONTROLS,t)},n.prototype.MP=function(t,i){var n=this,s=this.CP(),e=s?this.yP[s]:null;if(!e||!e.ccAvailable)return!1;var r=function(){var s=e.tracks||[];return!(!s||s.length<1)&&(n.xP=n.VP(e,i),!!n.xP&&(s.forEach((function(t){t===n.xP?t.mode="showing":t.mode="hidden"})),n.BP({show:!0,lang:n.xP.language},t),!0))};if(e.vttPresent||o.userAgent.ios){if(v.default.classList(this.gP).remove("vp-hide"),v.default.classList(this.gP).add("vp-show"),this.d_&&v.default.classList(this.gP).add("vp-live-cc"),e&&e.hasNonNativeCC)return this.BP({show:!0,lang:"en-us"},t),!0;var h=r();return h||this.publish(p.CC_AVAILABILITY_UPDATE,!1),h}return this.IP=this.FP(i),this.IP||(this.IP=this.FP(this.eP.lang)||this.dP[0]),!!(o.userAgent.desktop||o.userAgent.tv||o.userAgent.android)&&(this.zP(this.IP,(function(i){i?(e.parsedCaptions=n.IP.parsedCC,v.default.classList(n.gP).remove("vp-hide"),v.default.classList(n.gP).add("vp-show"),n.BP({show:!0,lang:n.IP.lang},t)):r()})),!0)},n.prototype.FP=function(t){for(var i,n=0,s=this.dP;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.zP=function(t,i){var n=this;if(t){var s=this.CP(),e=s?this.yP[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.SP(),i&&i(!1)},successHandler:function(s){h===r.srt?e.parsedCaptions=t.parsedCC=n.HP(s):h===r.vtt&&(e.parsedCaptions=t.parsedCC=n.qP(s||"",0,!1)),e.parsedCaptions&&(e.hasNonNativeCC=!0,n.pP&&n.pP.setCCAvailability(!0),i&&i(!0)),i&&i(!1)}})}else i&&i(!1)}else i&&i(!1)},n.prototype.SP=function(t){if(this.publish(p.CC_AVAILABILITY_UPDATE,!1),this.IP=null,this.xP=null,this.disable(),t){var i=this.CP(),n=i?this.yP[i]:null;n&&(n.ccAvailable=!1),this.dP=[]}},n.prototype.NP=function(t){var i=this.CP(),n=i?this.yP[i]:null;return this.BP({show:!1},t),this.d_&&!this.oE.playbackState.ad||!n||n.vttPresent||(n.parsedCaptions=null),n&&n.tracks&&n.tracks.forEach((function(t){t.mode="hidden"})),v.default.classList(this.gP).remove("vp-show"),v.default.classList(this.gP).add("vp-hide"),!0},n.prototype.BP=function(t,i){t||(t={});var s=t&&t.show,e=t&&t.lang;this.fO.publish(a.CCEvent.TOGGLE,s),i&&(l.isBoolean(s)&&(this.eP.show=s,this.AP=s),e&&l.isString(e)&&(this.eP.lang=e),n.saveCCSettingsToLocalStorage({ccSettings:this.eP}))},n.prototype.hP=function(t,i,n){var s=this.pP&&this.pP.id||null;s&&!this.mP&&(this.d_?this.GP(s,i):this.RP(s,i,n))},n.prototype.GP=function(t,i){var n=this;if(t){var s=this.yP[t];if(s&&s.hasNonNativeCC&&this.YP(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.WP(h,s.parsedCaptions[e].settings)}else this.ZP||(this.ZP=setTimeout((function(){n.WP(""),clearTimeout(n.ZP),n.ZP=null}),1e3))}else""!==this.wP.innerHTML&&this.WP("")}},n.prototype.RP=function(t,i,n){if(t){var s=this.yP[t];if(s&&s.hasNonNativeCC&&this.YP(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.WP(u,s.parsedCaptions[h].settings)}else this.WP("")}else this.WP("")}},n.prototype.WP=function(t,i){if(t!==this._P)if(this._P=t,t){if(this.wP.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.gP.style.textAlign="left":"line"!==r||this.eP.ccPos?"position"===r&&(this.gP.style.left=h,this.XP(),this.gP.style.right=""):this.gP.style.top=h}}else this.wP.innerHTML=""},n.prototype.XP=function(){var t=parseInt(getComputedStyle(this.gP).left,10),i=this.oE.uiState.videoWidth-t-10+"px";this.gP.style.width=i},n.prototype.lP=function(t){if(t&&t.itemId){var i=t.itemId,n=this.yP[i];n||(n={ccAvailable:!1,vttPresent:!1,parsedCaptions:null,tracks:[]},this.yP[i]=n);var s=t.track;s&&(s.mode="hidden",n.ccAvailable=!0,n.tracks||(n.tracks=[]),n.tracks.push(s));var e=this.CP();e&&e===i&&this.LP()}},n.prototype.vP=function(t){var i=this;this.yP[t.itemId]={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.dP.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.zP(t.track,(function(n){i.IP=i.FP(t.track.lang),i.IP.ccAvailable=!0,v.default.classList(i.gP).remove("vp-hide"),v.default.classList(i.gP).add("vp-show"),i.yP[t.itemId]=i.IP,i.LP(),i.BP({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.wP.innerHTML=t;var s=Math.floor(this.wP.offsetHeight/(this.EP+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.YP=function(t){(t&&t.tracks||[]).forEach((function(t){t.mode="hidden"}))},n.prototype.fP=function(){this.updateCCStyle()},n.prototype.oP=function(t){var i,n=this,s=0,e=this.lO.getMainElement();e&&(s=e.offsetWidth);var r=Math.ceil(this.eP.fontSize*(s/640));if(s>640?r=Math.ceil(.8*r):s<640?r<10&&(r=10):r=this.eP.fontSize,this.EP=r,this.gP.style.fontSize=this.EP+"px",o.userAgent.ios){var h=this.CP(),u=null===(i=h?this.yP[h]:null)||void 0===i?void 0:i.tracks;if(!0===t){if(!u||0===u.length)return;this.sP=null,this.sP=setInterval((function(){var t,i=!1;u.forEach((function(t){i="showing"===t.mode})),null===(t=n.lO.controls)||void 0===t||t.updateClosedCaptionButtonState(i)}),1e3)}else!1===t&&(this.sP&&window.clearInterval(this.sP),this.sP=null)}},n.prototype.uP=function(t,i){if(t){var n=t.itemId;if(n){var s=this.yP[n];if(s||(s={ccAvailable:!1,vttPresent:!1,parsedCaptions:null},this.yP[n]=s),s.hasNonNativeCC=!0,!s.parsedCaptions||!s.ccAvailable){s.parsedCaptions=s.parsedCaptions||[],s.vttPresent=!0,s.ccAvailable=!0;var e=this.oE.playlist.getMediaItemById(n);e&&e.setCCAvailability(!0);var r=this.CP();r&&r===n&&this.LP()}if(s.vttPresent){var h=t.adjustedTime?t.adjustedTime:0,o=this.qP(t.data||"",h,i);s.parsedCaptions=this.JP(s.parsedCaptions,o)}}}},n.prototype.JP=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.TP=function(t){if(!t)return!1;if(this.d_||!this.d_&&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.jP=function(t){var i=this;this.KP((function(t){i.dP=t,i.dP.length>0?(o.userAgent.mobile?i.publish(p.CC_LIST_FETCHED_MOBILE,{langList:i.dP,selectedLang:i.eP.lang}):(i.publish(p.CC_LIST_FETCHED,{langList:i.dP.map((function(t){return t.lang})),selectedLang:i.eP.lang}),i.pP&&i.pP.setCCAvailability(!0)),i.eP.show||i.AP?i.enable(i.eP.lang):i.disable()):i.SP(!0)}),t,o.userAgent.desktop||o.userAgent.tv)},n.prototype.KP=function(t,i,n){t(i.filter((function(t){return"text/vtt"===t.content_type})))},n.prototype.HP=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.qP=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.$P||o.userAgent.tizen||(this.$P=1e3*this._x(p[1]));var m=1e3*this._x(p[1]),y=1e3*this._x(p[2]);n&&!o.userAgent.tizen?(m-=this.$P,y-=this.$P):(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._x=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.VP=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.eP.lang||"en-us"),!n&&this.eP.lang&&e(this.eP.lang),!n&&s[0]&&(n=s[0]),n},n.prototype.cP=function(t){var i=this.gP,n=this.CP(),s=n?this.yP[n]:null;s&&s.ccAvailable&&!v.default.classList(i).contains("vp-hide")&&("bottom"===this.eP.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.DP=function(){var t=this.pP?this.yP[this.pP.id]:null;return t&&t.ccAvailable||!1},n.prototype.aP=function(t){var i=this.gP;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.kP=function(){var t=m[this.eP.fontEffect],i=this.eP.windowBgColor&&v.default.cssHexToRgb(this.eP.windowBgColor)||{r:0,g:0,b:0},n=0===this.eP.windowBgOpacity?"transparent":"rgba("+i.r+","+i.g+","+i.b+","+this.eP.windowBgOpacity+")";this.gP.style.backgroundColor=n;var s=this.eP.fontColor&&v.default.cssHexToRgb(this.eP.fontColor)||{r:255,g:255,b:255},e=0===this.eP.fontOpacity?"transparent":"rgba("+s.r+","+s.g+","+s.b+","+this.eP.fontOpacity+")";this.wP.style.color=e;var r=this.eP.fontEdgeColor&&v.default.cssHexToRgb(this.eP.fontEdgeColor)||{r:255,g:255,b:255};switch(this.eP.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.eP.fontEdgeColor)}this.gP.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.XS(t,i)}function c(t,i){this.XS(t,i),this.SEGMENT_OFFSET=2}s.inherits(a,e),s.inherits(c,r),c.prototype.XS=a.prototype.XS=function(t,i){this.constructor.super_.call(this,t,i),this.JS=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastChunkEndTs={audio:NaN,video:NaN},this.lastFrameDuration={audio:NaN,video:NaN},this.tU(),this.$S=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.tI=this.STATES.INITIALIZED},c.prototype.destroy=a.prototype.destroy=function(){this.tU(),this.JS.destroy.call(this)},c.prototype.onSeeking=a.prototype.onSeeking=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.JS.onSeeking.call(this,t)},c.prototype.onSwitchBegin=a.prototype.onSwitchBegin=function(){this.tU(),this.JS.onSwitchBegin.call(this)},c.prototype.VM=a.prototype.VM=function(){this.tU()},c.prototype.hI=a.prototype.hI=function(t){return{segment:this.oE.getSegment(this.oE.currentLoadingStreamIndex,t),stream:this.oI,state:{mp4:this.iU,lastChunkEndTs:this.lastChunkEndTs,lastFrameDuration:this.lastFrameDuration,isAltAudioActive:this.nU},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.oE.setPCR(s.pcr),o.isNumber(s.frameRate)&&this.oI.setFrameRate(s.frameRate),o.isNumber(s.startOffsetTimestamp)&&this.oE.setStartOffset(s.startOffsetTimestamp),s.lastChunkEndTs&&(this.lastChunkEndTs=s.lastChunkEndTs),s.lastFrameDuration&&(this.lastFrameDuration=s.lastFrameDuration)),this.JS.onSegmentLoadProgress.call(this,t,i,n)}},c.prototype.dI=a.prototype.dI=function(t,i){var n=this;t&&(n.JS.dI.call(n,t,i),t.forEach((function(t){n.iU[t.type].shouldInit=!1})))},c.prototype.onSynchMetadataReady=a.prototype.onSynchMetadataReady=function(t){this.processOnlyMetadata=!1,this.JS.onSynchMetadataReady.call(this,t)},c.prototype.onManualStreamChange=a.prototype.onManualStreamChange=function(){this.tU(),this.lastChunkEndTs={audio:NaN,video:NaN},this.JS.onManualStreamChange.call(this)},c.prototype.midSegUpSwitch=a.prototype.midSegUpSwitch=function(){this.tU(),this.lastChunkEndTs={audio:NaN,video:NaN},this.JS.midSegUpSwitch.call(this)},c.prototype.tU=a.prototype.tU=function(){this.iU={audio:{shouldInit:!0,seqNum:0},video:{shouldInit:!0,seqNum:0}}},c.prototype.lI=a.prototype.lI=function(t,i){},a.prototype.onSynchBegin=function(){this.processOnlyMetadata=!0},c.prototype.FM=function(t){this.lastChunkEndTs={audio:NaN,video:NaN},this.JS.FM.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.sU=[],u.eU=u.__controller.create(h),n){(n=u.rU(n)).forEach((function(t){var i=u.__controller.create(s,t);u.sU.push(i),u.eU.addStream(i)}));var a=u.hU("default");a||(a=u.hU("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.oU())}u.uU()}o.prototype.hU=function(t){for(var i=0;i<this.sU.length;i++)if(this.sU[i][t])return this.sU[i];return null},o.prototype.destroy=function(){this.sU.forEach((function(t){t.destroy()})),this.sU=[],this.eU.destroy()},o.prototype.getCurrentStream=function(){return this.oI},o.prototype.setCurrentStream=function(t){t&&(this.oI=t)},o.prototype.setCurrentStreamWithName=function(t){if(!t||!this.oI||t===this.oI.name)return!1;for(var i=0;i<this.sU.length;i++){var n=this.sU[i];if(t===n.name)return this.setCurrentStream(n),!0}return!1},o.prototype.update=function(t){this.eU.update(t)},o.prototype.adjustStartTime=function(t,i){var n=this;n.sU.forEach((function(s){s.adjusted||n.eU.adjustStartTime(s,t,i)}))},o.prototype.getContainerFormat=function(){return this.oI?this.oI.containerFormat:null},o.prototype.setContainerFormat=function(t){this.sU.forEach((function(i){i.containerFormat||(i.containerFormat=t)}))},o.prototype.getDrmInfo=function(){for(var t=[],i=0;i<this.sU.length;i++){var n=this.sU[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.sU.length>0},o.prototype.uU=function(){return!0},o.prototype.oU=function(){var t=this,i={},n=[];t.sU.forEach((function(s){i[s.name]||(i[s.name]=1,n.push({name:s.name,language:s.language,selected:t.oI&&s.name===t.oI.name}))})),n.length>1&&t.__controller.sendEvent(e.MULTI_LANGUAGES_AVAILABLE,{sessionId:t.__controller.model.sessionId,languages:n})},o.prototype.rU=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.BI.node,s.kS=!1,s.type=i,s.mimeType=n,s.aU=t,s.buffer=t.addSourceBuffer(n),s.cU=[],s.fU=[],s.lU=[],s.vU=!1,s.dU=.1,s.ready=!1,s.TIMESTAMP_COMPARE_EPSILON=.065,s.GOP_LENGTH=2,s.pU=s.mU.bind(s),s.buffer.addEventListener("updateend",s.pU),s.NN=function(){s.abort()},s.buffer.addEventListener("error",s.NN),s.state="open"}r.prototype.destroy=function(){this.remove(),this.cU=[],this.fU=[],this.lU=[],this.state="closed"},r.prototype.remove=function(){this.kS||(this.kS=!0,this.abort(),this.buffer.removeEventListener("updateend",this.pU),this.buffer.removeEventListener("error",this.NN),"closed"!==this.aU.readyState&&this.aU.removeSourceBuffer(this.buffer))},r.prototype.setMinBufferTime=function(t){this.dU=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.cU.push(h),this.bU()}},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.fU.push(s),this.bU()},r.prototype.abort=function(){if("open"===this.aU.readyState&&!this.kS){this.cU=[],this.fU=[],this.lU=[];try{this.buffer.abort()}catch(t){}}},r.prototype.clearAll=function(){if("closed"!==this.aU.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.vU=t,this.kS||(t?(this.yU(),this.bU()):this.state=this.cU.length?this.state:"empty")},r.prototype.yU=function(){this.vU&&"empty"===this.state&&!this.lU.length&&(this.state="closed")},r.prototype.mU=function(){if(!this.kS){if(this.ready=!0,this.lU.length)this.lU.shift().cb(null,this);this.cU.length||(this.state="empty"),this.bU(),this.yU()}},r.prototype.bU=function(){for(;this.fU.length;){if(this.buffer.updating)return;this.gU(this.fU.shift())}for(;this.cU.length;){if(this.buffer.updating)return;var t=this.getBufferLength()+this.getTotalPendingBufferLength(),i=this.cU.length&&this.cU[0]&&this.cU[0].onlyMetadata;if(!this.vU&&t<this.dU&&!i)return;this.gU(this.cU.shift())}},r.prototype.gU=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.lU.push(t),this.state="updating"}catch(i){if("QuotaExceededError"===i.name)this.wU()&&t.type===s&&this.cU.unshift(t)}},r.prototype.wU=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.cU.forEach((function(i){i&&i.time&&(t+=i.time)})),t},r.prototype.getBufferLength=function(){var t,i=this.BI.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}},EOV8:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.BASE="plugin",t.METADATA="metadata-plugin",t.SOURCE_METADATA="source-metadata-plugin",t.MORE_ITEMS="more-items",t.AD="ad-plugin",t.VISUAL_SEEK="visual-seek",t.BRANDING="branding",t.PLAYLIST="playlist"}(i.PluginType||(i.PluginType={})),function(t){t.MEDIA_ITEM_PLAYBACK_STARTED="media-item-playback-started",t.MEDIA_ITEM_PLAYBACK_ENDED="media-item-playback-ended",t.MEDIA_ITEM_PLAYBACK_PROGRESS="media-item-playback-progress",t.AD_PLAYBACK_PROGRESS="ad-playback-progress",t.PLAYER_RENDERED="player-rendered"}(i.PluginPlayerEvent||(i.PluginPlayerEvent={})),function(t){t.PLAYBACK_STARTED="playbackStarted",t.PLAYLIST_COMPLETE="playlistComplete",t.PLAYLIST_COMPLETE_ON_ERROR="playlistCompleteOnError",t.SCROLLED_TO_END="scrolledToEnd",t.PLAYLISTID_NEED_RESOLVE="playlistNeedResolve",t.SOURCE_LOAD_COMPLETE="sourceLoadComplete",t.CONTENT_LOAD_FINISHED="ContentLoadFinished"}(i.MoreItemsReason||(i.MoreItemsReason={})),function(t){t.IMAGE="image",t.SPRITE="sprite"}(i.VisualSeekType||(i.VisualSeekType={}))},Emy5:function(t,i,n){"use strict";t.exports=function(t){t.EU={},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.EU[s]=Object.create(e[h].prototype),e[h].apply(n.EU[s],u);break;case r.DESTROY:n.EU.hasOwnProperty(s)&&(n.EU[s].destroy(),delete n.EU[s]);break;case r.CALL_METHOD:if(n.EU.hasOwnProperty(s)){var a=n.EU[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.hE=t.subtitleStream,this.__controller=t.controller,this.rE=t.segment||null,this.CI={},this.OU()}s.inherits(c,o),c.prototype.destroy=function(){this._i.destroy(),this.__controller.removeEventListeners(this.CI),o.prototype.destroy.call(this)},c.prototype.execute=function(){this.rE&&this._i&&this._i.load(this.rE.url)},c.prototype.cancel=function(){},c.prototype.OU=function(){var t=this;t._i=t.__controller.services.getNewLoader();t._i.addEventListener(e.COMPLETE,(function(i){t.CE(i)}),t),t._i.addEventListener(e.ERROR,(function(i){t.publish(a.CMD_ERROR,t,i)}),t)},c.prototype.CE=function(t){if(this.rE){this.rE.data=t.data;var i=this.rE.pcr();null!=i?this.eN():this.__controller.addEventListener(r.PCR_AVAILABLE,this.eN,this)}},c.prototype.eN=function(){this.rE.parseSegment(),this.publish(a.CMD_COMPLETE,this,{data:this.rE.toObject(),url:this.rE.url})}},FKKO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.AM=t,this.RS=this.AM.getPlaylist()}return t.prototype.getMediaItems=function(){return this.RS.getItems()},t.prototype.removeAllMediaItems=function(){var t=this.RS.size;this.RS.removeItems(0,t)},t.prototype.removeMediaItems=function(t){var i=this;t.forEach((function(t){var n=i.RS.getItemPosition(t.id);i.RS.removeItems(n,1)}))},t.prototype.insertMediaItems=function(t,i){if(Array.isArray(t)){for(var n=this.AU(t),s=i,e=0,r=t;e<r.length;e++){var h=r[e];this.RS.addItemAtIndex(h,s),s++}n&&this.AM.fetchMetadata()}},t.prototype.appendMediaItems=function(t){if(Array.isArray(t)){var i=this.AU(t);this.RS.addItems(t),i&&this.AM.fetchMetadata()}},t.prototype.getCurrentMediaItem=function(){return this.RS.getCurrentItem()},t.prototype.getMediaItemMarkers=function(t){var i=this.AM.mediaStore.getById(t);return i&&i.getMarkers()},t.prototype.setCurrentMediaItem=function(t){if(this.AM.mediaStore.get(t.id)){var i=this.RS.getItemPosition(t.id);this.RS.setPosition(i)}else this.RS.addItems([t]),this.AM.fetchMetadata(),this.RS.setPosition(this.RS.size-1)},t.prototype.setMediaItemTitle=function(t,i){var n=this.RS.getMediaItemById(t);n&&(n.title=i)},t.prototype.AU=function(t){var i=this.AM.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.415".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.415/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.OM=t,this._U=null,this.TU="",this.SU=!1,this.IU=!1,this.jU=!1,this.MU=[],this.NU=!1,this.RU="",this.DU=!1,this.LU=[{evt:s.ExternalEvt.PLAYBACK_START,cb:this.kU.bind(this)},{evt:s.ExternalEvt.TIMED_METADATA_RECEIVED,cb:this.CU.bind(this)},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.PU.bind(this)},{evt:s.ExternalEvt.PLAYBACK_STOPPED,cb:this.PU.bind(this)},{evt:s.ExternalEvt.MEDIA_ITEM_ERROR,cb:this.PU.bind(this)}],this.xU="P77FED7E1-92A2-4B10-A9AA-16756377EB20",t&&(h.Privacy.initIframeForGDPR(),this.UU(),this.TU="vp-player-"+Math.floor(1e4*Math.random()),i&&i.length&&(this.xU=i),this.VU(),this.BU={},this.FU(),this.zU(),this.RU=this.OM.addEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.zU.bind(this),this))}return t.prototype.destroy=function(){this._U&&(this.OM.removeEventListeners(this.BU),window.removeEventListener("message",this.HU),this._U=null,this.MU=null,this.BU={},this.OM.removeEventListener(s.ExternalEvt.NIELSEN_REQUIRED,this.RU))},t.prototype.zU=function(){this.jU||(this.c_(),this.IU=!1,this.SU=!1,this.jU=!0)},t.prototype.qU=function(){this.jU&&(this.OM.removeEventListeners(this.BU),window.removeEventListener("beforeunload",this.PU.bind(this)),this.IU=!0,this.jU=!1)},t.prototype.VU=function(){var t=this;this._U=document.getElementById("vp-nielsen-iframe"),this._U?(this.GU(),this.NU=!0):(this._U=document.createElement("iframe"),this._U.id="vp-nielsen-iframe",this._U.style.display="none",this._U.onload=function(){t.GU(),t.NU=!0,t.DU&&t.YU()},this._U.src=u,document.body.appendChild(this._U))},t.prototype.GU=function(){this.WU(f.INITIALIZE,null,{appid:this.xU})},t.prototype.WU=function(t,i,n){if(this._U&&this._U.contentWindow){var s={messageType:t,nielsenEvent:i,payload:n,playerid:this.TU};this._U.contentWindow.postMessage(s,o)}},t.prototype.c_=function(){var t=this;window.addEventListener("beforeunload",this.PU.bind(this)),this.LU.forEach((function(i){t.BU[i.evt]=t.OM.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.SU=!0)}},t.prototype.ZU=function(t,i){var n=this;this.MU.push((function(){n.WU(f.SEND_BEACON,t,i)})),this._U&&this.NU&&this.DU&&this.YU()},t.prototype.YU=function(){this.MU.forEach((function(t){t()})),this.MU=[]},t.prototype.kU=function(t){var i=this.OM.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.ZU(c.LOAD_METADATA,s)},t.prototype.PU=function(){if(this.SU&&!this.IU){var t=Date.now()/1e3;this.ZU(c.END,t),this.SU=!1,this.qU()}},t.prototype.CU=function(t){var i=r.default.detectRegexPattern(e.ID3_MATCH_PATTERN.NIELSEN,t);i&&this.SU&&this.ZU(c.SEND_ID3,i)},t.prototype.UU=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.DU=!r||!!(null===(e=i)||void 0===e?void 0:e.hasConsent),t.DU||t.qU()}else t.qU()}))},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.OM=i,s.oE=n,s.QU=0,s.BU={},s.XU=[],s.VT=!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},{evt:o.ExternalEvt.BUFFERING_START,cb:s.aV},{evt:o.ExternalEvt.BUFFERING_END,cb:s.BL}].forEach((function(t){s.BU[t.evt]=s.OM.addEventListener(t.evt,t.cb,s)})),s}return e(i,t),i.prototype.destroy=function(){this.OM.removeEventListeners(this.BU),this.cV()},i.prototype.updatePlaybackStats=function(t){var i=this.fV();t.dur=Math.floor(this.QU)||"",t.dur_d=Math.floor(this.QU)-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.QU},enumerable:!0,configurable:!0}),i.prototype.nV=function(t,i){this.cV()},i.prototype.sV=function(t){t.playbackMode!==u.PlaybackMode.AD&&this.lV(c.BEACONS.PLAYBACK_PROGRESS),this.BL()},i.prototype.hV=function(t){this.VT=!0,this.BL()},i.prototype.oV=function(){this.VT=!1,this.oE.lastKnownPlaybackTime=this.oE.currentTime},i.prototype.eV=function(t){this.XU=this.XU.concat(t.val)},i.prototype.rV=function(t,i){if(!(this.VT||a.isNullOrUndefined(t)||t<0||i.playbackMode===u.PlaybackMode.AD))if(a.isNullOrUndefined(this.oE.lastKnownPlaybackTime))this.oE.lastKnownPlaybackTime=t;else if(t>0&&(this.BL(),this.KU))this.vV();else{var n=t-this.oE.lastKnownPlaybackTime;this.oE.lastKnownPlaybackTime=t,n>0&&(this.QU+=n),this.dV()}},i.prototype.dV=function(){var t=this;c.PROGRESS_BEACON_INTERVALS.forEach((function(i){var n=t.QU,s=t.oE.progressBeaconsInfo.timeLastSent[i.key],e=-1===s?0:s;(i.recurring&&n>e+i.time||!i.recurring&&-1===s&&n>i.time)&&(t.oE.progressBeaconsInfo.timeLastSent[i.key]=Math.floor(n),t.lV(i.beacon))}))},i.prototype.lV=function(t){this.publish(r.VIDEO_PROGRESS,t),this.JU=Math.floor(this.QU)},i.prototype.cV=function(){this.XU=[],this.QU=0,this.JU=0,this.oE.lastKnownPlaybackTime=null,this.oE.resetProgressBeaconsState(),this.tV=null,this.KU=!1,this.iV=0},i.prototype.fV=function(){var t;return this.KU?(this.pV(),t=[{buf_dur:this.iV}],this.iV=0):t=this.XU.splice(0,Math.min(c.MAX_SEG_INFO_ENTRIES_PER_BEACON,this.XU.length)),{segInfo:JSON.stringify({seg:t}),bufDur:t.reduce((function(t,i){return i.buf_dur+t}),0)}},i.prototype.aV=function(){this.tV=Date.now()},i.prototype.BL=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.KU=!0,this.$U="recovering",this.lV(c.BEACONS.PLAYBACK_PROGRESS)},i.prototype.vV=function(){this.$U="recovered",this.lV(c.BEACONS.PLAYBACK_PROGRESS),this.KU=!1,this.$U=""},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.ZL=!1,this.oE=t}return i.prototype.resolve=function(i,n,s){var e=this;if(this.oE.playlistId||this.oE.relatedVideoId){var r=2,h=this.mV(i),o=function(t){e.ZL||e.Dk(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.ZL)if(r>0)r--,e._C(h,o,a);else{var f=t.message+"; "+h+"; "+i+"; "+c;e.$L(null,null,u.getErrorCode(t,i,c),f,n,s)}};this._C(h,o,a)}else t((function(){e.$L(null,null,u.getErrorCode(),"No playlist and video id",n,s)}))},i.prototype.cancel=function(){this.ZL=!0},i.prototype._C=function(t,i,n){h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n})},i.prototype.Dk=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.oE,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.JS=this.constructor.super_.prototype}s.inherits(r,e),r.prototype.destroy=function(){this.JS.destroy.call(this)}},GA5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("pUuq"),r=n("EOV8"),h={title:"",description:"",posterUrl:"",thumbnail:"",duration:0,type:e.MediaItemType.VOD},o=function(){function t(){this.version="0.2.415",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.ZL=!1;var r=function(){s.ZL=!0};this.yV.push(r),Promise.all(e).then((function(t){s.ZL||(s.EV(r),n.onComplete(t))})).catch((function(t){if(!s.ZL){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.ZL||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.ZL||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.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.IV(t,i),this.updateConfig(t)),this.jV=new u}c.prototype.destroy=function(){var t=this;t.segments=[],t.cuepoints=[],"mp4"===t.containerFormat&&Object.keys(t.mp4Chunks).forEach((function(i){var n=t.mp4Chunks[i];n&&n.destroy()})),t.SV.destroy()},c.prototype.IV=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.MV("sidx",i.sidxOffset,i.sidxLength,i.hlsInfo.mp4_url),i.mp4Chunks.first=i.MV("first",i.firstSegOffset,i.firstSegLength,i.hlsInfo.mp4_url)),t.drmInfo&&(i.drmInfo=t.drmInfo)),i.url&&i.url.length&&i.url.indexOf("_60fps")>=0?i.frameRate=60:i.frameRate="AUDIO"===i.type?0:30,t&&t.segmentInfoList){var h=[];t.segmentInfoList.forEach((function(t){t.levelIndex=i.index,t.bitrate=i.bitrate,t.sessionId=i.sessionId,t.cdn=i.cdn;var n=i.getSegmentfromSeqNum(t.sequenceNum);n&&(t.endTimestamps=n.endTimestamps),h.push(i.__controller.create(e,t))})),h.length&&(i.segments=h,i.startSeqNum=h[0].seqNum,i.endSeqNum=h[h.length-1].seqNum,t.cuepointList&&t.cuepointList.length&&(t.cuepointList.forEach((function(t){i.hasCuepoint(t.startSeqNum)||i.cuepoints.push(new r(t))})),i.updateCuepointTime()))}i.segments&&i.segments.length&&(i.refreshInterval=1e3*i.segments[i.segments.length-1].duration);var o=i.altRenditionGroups?i.altRenditionGroups.AUDIO:null;i.type===s.MAIN&&o&&i.containerFormat&&!o.getContainerFormat()&&o.setContainerFormat("ts"===i.containerFormat?"aac":"mp4")},c.prototype.addInitSegment=function(t){return"mp4"===this.containerFormat?this.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.MV=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.jV.parse(t.data,"mdhd");if(i&&i.timescale>0)this.timescale=i.timescale;else{var n=this.jV.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}},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}();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("pUuq"),e=n("EOV8"),r=function(){function t(){this.version="0.2.415",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},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.vO=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/"),I=n("ablw"),j=n("yf6s"),M=n("svu7"),N=n("u1Zl"),R=n("xPTa"),D=n("j/Iz"),L=n("OfeT"),k=n("5JRy");j.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 j.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.NV=i,o.oE=n,o.fO=s,o.BR=e,o.vO=r,o.RV=h,o.DV=a.NORMAL,o.LV=!1,o.kV=!1,o.CV=0;var c=0,f=0;return o.NV&&(c=o.NV.clientWidth,f=o.NV.clientHeight,o.DV=o.PV(c,f)),o.fO.addEventListener(A.VideoEvent.SRC_SWITCHING,(function(){o.xV(u.SWITCHING,!0)}),o),o.fO.addEventListener(A.VideoEvent.SRC_SWITCHED,(function(){o.xV(u.SWITCHING,!1)}),o),o.fO.publish(A.PLAYER_DIMENSION_CHANGE,{height:o.NV&&o.NV.clientHeight||o.oE.uiState.height||0,width:o.NV&&o.NV.clientWidth||o.oE.uiState.width||0,videoWidth:o.UV&&o.UV.clientWidth||o.oE.uiState.videoWidth||0,videoHeight:o.UV&&o.UV.clientHeight||o.oE.uiState.videoHeight||0}),o.fO.addEventListener(w.ExternalEvt.PLAYER_MUTE_CHANGE,o.VV,o),o.fO.addEventListener(A.UP_NEXT_PG_CLICK,o.BV,o),o.fO.addEventListener(A.PLAYER_DIMENSION_CHANGE,o.FV,o),o.fO.addEventListener(A.Device.ORIENTATION_CHANGE,o.zV,o),o.fO.addEventListener(A.PLAYBACK_INFO,o.HV,o),o.fO.addEventListener(w.ExternalEvt.PLAYLIST_POSITION_CHANGE,o.qV,o),l.userAgent.mobile&&S.default.canPlayInline&&(o.oE.uiState.deviceOrientation=o.GV(),o.YV()),o}return e(i,t),i.prototype.render=function(){var t=this;this.oE.rendered=!0,this.WV=j.default.render(L,{enableDocking:this.oE.docking&&(this.oE.docking.enableOnScrollDown||this.oE.docking.enableOnScrollUp)}),this.UV=this.WV.querySelector("."+E.VIDEO_MAIN_ELEMENT_CLASS),this.NV&&this.NV.appendChild(this.WV),F(this.WV).add(this.DV),Object.keys(l.userAgent).filter((function(t){return l.userAgent[t]})).forEach((function(i){"os"===i&&(i=l.userAgent.os),"ie"===i&&F(t.WV).add("vp-"+i.toLowerCase()+l.userAgent[i]),F(t.WV).add("vp-browser-"+i.toLowerCase())})),S.default.deviceType&&F(this.WV).add("vp-device-"+S.default.deviceType),l.userAgent.mobile&&S.default.canPlayInline&&F(this.WV).add("vp-browser-playsinline"),this.oE.chromeless||(this.ZV=this.QV(y.LoadingScreen)),this.oE.showControls&&S.default.canPlayInline&&(this.fN=new p.Controls(this.fO,this,this.oE,this.vO),this.XV()),this.oE.showControls||F(this.WV).add("vp-no-controls");var i=function(i){t.JV()},n=function(i){t.KV(i)},s=function(){t.$V()};this._B=function(){t.tF={},t.iF=t.WV,t.WV.addEventListener("mousemove",(function(n){t.tF.x!==n.clientX&&t.tF.y!==n.clientY&&(i(),t.tF.x=n.clientX,t.tF.y=n.clientY,t.iF=n.target)})),t.WV.addEventListener("mouseover",(function(n){var s=null;t.iF&&(s=t.iF.parentElement),!s||F(s).contains("vp-play-controls")||F(s).contains("vp-menu-controls")||i()})),t.WV.addEventListener("mouseout",(function(i){var s=null,e=t.WV.getBoundingClientRect();t.iF&&(s=t.iF.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.nF=new g.default(this.WV,(function(){(!t.getFullscreen()||l.userAgent.android&&j.default.getFullscreenElement()===t.WV)&&t.toggleControlsVisibility()})),this.WV.addEventListener("click",s),this.fO.addEventListener(A.CONTROLS_SEEKING,(function(){t.sF&&clearTimeout(t.sF),t.sF=window.setTimeout(t.eF.bind(t),5e3)}),this)},l.userAgent.tv||l.userAgent.mobile?l.userAgent.mobile&&this.fN&&S.default.canPlayInline&&this._h():this._B(),this.rF=function(){t.WV.removeEventListener("mousemove",i),t.WV.removeEventListener("mouseover",i),t.WV.removeEventListener("mouseout",n)},this.hF=function(){t.WV.removeEventListener("click",s)},I.isFunction(this.oF.bind)&&(this.uF=this.oF.bind(this),P.forEach((function(i){document.addEventListener(i,t.uF)}))),this.aF(),this.cF=new N.PlaylistController(this,this.vO),this.fF(),this.lF(),this.vF(),l.userAgent.desktop&&this.UV&&this.UV.addEventListener("contextmenu",(function(i){var n=t.eO.rendererType;n!==R.RendererType.HTML5_HLS&&n!==R.RendererType.HTML5_RAW||i.preventDefault()}));var e=document.querySelector("#vp-css");j.default.isOldIeBrowser()&&setTimeout((function(){e&&e.sheet.cssRules&&e.sheet.cssRules.length>0?t.dF():t.pF()}),150),j.default.isOldIeBrowser()||!this.oE.uiState||this.oE.uiState.isCSSLoaded||(!0===j.default.getSingleton("isCSSLoaded")?this.dF():!0===j.default.getSingleton("isCSSError")?this.pF():e&&(e.addEventListener("error",this.pF.bind(this)),e.addEventListener("load",this.dF.bind(this)))),this.mF=new d.default(this.fO,this,this.oE,this.vO)},i.prototype.getEventBus=function(){return this.fO},i.prototype.getModel=function(){return this.oE},i.prototype.getAdsOverlay=function(){return this.bF},i.prototype.getAdsOverlayNode=function(){var t;return(null===(t=this.bF)||void 0===t?void 0:t.view.node)||null},i.prototype.toggleControlsVisibility=function(){var t,i;F(this.WV).contains("vp-hide-controls")?(F(this.WV).remove("vp-hide-controls"),this.yF(!1),null===(i=this.fN)||void 0===i||i.onControlsBarChange(!0),this.gF&&F(this.gF).remove("vp-overlay-hide-cursor"),this.sF&&clearTimeout(this.sF),this.eO.seeking||(this.sF=window.setTimeout(this.eF.bind(this),5e3))):(F(this.WV).add("vp-hide-controls"),this.yF(!0),null===(t=this.fN)||void 0===t||t.onControlsBarChange(!1))},i.prototype.toggleAdViewClickBlocking=function(){var t=F(this.WV).contains("vp-hide-controls");this.wF.enableClickBlocking(!!t)},i.prototype.isDocked=function(){return this.kV},i.prototype.dockVideoPlayer=function(){var t=window.scrollY,i=!0,n=this.oE.docking.width,s=this.oE.docking.height;if(this.CV>t&&(i=!1),this.oE.docking.enableOnScrollDown===i&&this.oE.docking.enableOnScrollUp!==i&&!this.EF&&(this.oE.docking.enableOnMuted||!this.oE.mute)&&!(l.userAgent.mobile&&this.oE.docking.mobile&&this.oE.docking.mobile.disable)){if(this.OF=this.WV.clientWidth,this.AF=this.WV.clientHeight,"full"===n){if(this.oE.uiState.deviceOrientation===o.LANDSCAPE)return;n=window.innerWidth,s=this.AF/this.OF*n}if(this.kV=!0,this._F(),this.cF.togglePlaylistUI(!0),F(this.WV).add("vp-docked"),this.oE.docking.showInfoCard&&F(this.WV).add("vp-docked-show-meta"),this.oE.docking.fadeInAnimation){if(F(this.WV).add("vp-docked-fadein"),F(this.NV).add("vp-docked-mode"),(u=l.userAgent.mobile&&this.oE.docking.mobile?this.oE.docking.mobile.position||{}:this.oE.docking.position||{}).top>-1&&(this.WV.style.top=u.top+"px"),u.bottom>-1&&u.top<0){var e=0;this.oE.docking.showInfoCard&&(e=84),this.WV.style.bottom=e+u.bottom+"px"}u.right>-1&&u.left<0&&(this.WV.style.right=u.right+"px"),u.left>-1&&(this.WV.style.left=u.left+"px")}else{this.TF();var r=this.WV.getBoundingClientRect(),h=document.querySelector("body");if(!h)return;var u,a=h.clientWidth,c=window.innerHeight,f=0,v=0;if((u=this.oE.docking.position||{}).top>-1&&(v=u.top,this.WV.style.top="0px"),u.bottom>-1){var d=0;this.oE.docking.showInfoCard&&(d=84),v=c-s-d-u.bottom,this.WV.style.bottom=""}u.right>-1&&(f=a-r.left-n-u.right,this.WV.style.right=""),u.left>-1&&(f=u.left,this.WV.style.left="0px"),this.WV.style.transform="translate3d("+f+"px, "+v+"px, 0)",F(this.WV).add("vp-docked-animated"),F(this.NV).add("vp-docked-mode")}this.WV.style.width=n+"px",this.WV.style.height=s+"px",this.fO.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!1),this.fO.publish(A.PLAYER_DIMENSION_CHANGE,this.getPlayerDimensions()),this.oE.uiState.isDocked=!0,this.fO.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!0)}},i.prototype.undockVideoPlayer=function(t){var i=this;void 0===t&&(t=!1),F(this.WV).remove("vp-docked"),F(this.WV).remove("vp-docked-show-meta"),this.oE.docking.fadeInAnimation?(F(this.WV).remove("vp-docked-fadein"),this.WV.style.top="",this.WV.style.right="",this.WV.style.bottom="",this.WV.style.left="",this.WV.style.width="",this.WV.style.height=""):(this.WV.style.transform="translate3d(0, 0, 0)",this.TF()),this.kV=!1,this.cF.togglePlaylistUI(!1),t&&!this.oE.isPaused()&&this.fO.publish(A.TOGGLE_PLAY_PAUSE),window.setTimeout((function(){i.kV||(i.oE.uiState.isDocked=!1,i.oE.docking.fadeInAnimation||(i.WV.style.width="",i.WV.style.height="",F(i.WV).remove("vp-docked-animated"),i.WV.style.position="",i.WV.style.transform="",i.WV.style.top="",i.WV.style.right="",i.WV.style.bottom="",i.WV.style.left=""),i.SF&&(i.NV.removeChild(i.SF),i.SF=null),F(i.NV).remove("vp-docked-mode"),i.fO.publish(w.ExternalEvt.PLAYER_VIEWPORT_CHANGE,!0),i.fO.publish(A.PLAYER_DIMENSION_CHANGE,i.getPlayerDimensions())),i.fO.publish(w.ExternalEvt.PLAYER_DOCKED_CHANGE,!1)}),250)},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){"boolean"==typeof t&&(this.oE.docking.enableOnScrollDown=t),"boolean"==typeof i&&(this.oE.docking.enableOnScrollUp=i),this.oE.docking.position=this.oE.docking.position||{},isNaN(n)||(this.oE.docking.position.top=n),isNaN(s)||(this.oE.docking.position.right=s),isNaN(e)||(this.oE.docking.position.left=e),isNaN(r)||(this.oE.docking.position.bottom=r),t||i?(this.lF(),this.kV&&this.dockVideoPlayer()):(this.IF(),this.kV&&this.undockVideoPlayer())},i.prototype.createAdsOverlay=function(){if(this.bF)return this.bF.view.innerHTML="",this.bF.view.node;if(!this.UV)return null;this.bF=new y.AdsOverlay;var t=this.bF.view.node,i=this.UV.querySelector(".vp-adview-wrapper");return i?this.UV.insertBefore(t,i):this.UV.appendChild(t),t},i.prototype.destroyAdsOverlay=function(){this.bF&&(this.bF.destroy(),this.bF=null)},i.prototype.showAirplayTargetMenu=function(){this.publish(C.SYNC_SHOW_AIRPLAY_TARGET_MENU)},i.prototype.getContentNode=function(){return this.WV},i.prototype.getOpenSimSim=function(){return this.jF},i.prototype.getMainElement=function(){return this.UV},i.prototype.getCCElement=function(){return this.UV?this.UV.querySelector(".vp-cc-element"):null},i.prototype.getRootElement=function(){return this.NV},i.prototype.getVideoElement=function(){return this.NV&&this.NV.getElementsByTagName("video")[0]},i.prototype.setKeyboardFocus=function(){this.WV.focus()},i.prototype.updateViewOnEscPress=function(){this.jF&&this.jF.isOpen()?this.jF.close():this.getFullscreen()&&this.setFullscreen(!1)},i.prototype.disableControls=function(){F(this.WV).add("vp-disable-controls")},i.prototype.enableControls=function(){F(this.WV).remove("vp-disable-controls")},i.prototype.resetState=function(){this.MF(),this.NF(),this.RF()},i.prototype.syncViewState=function(){var t=this.oE,i=t.playlist&&this.vT(),n=this.eO,s=t.castState,e=s&&s.connected,r=h.START_SCREEN;if(this.xV(u.CASTING,e),e){var o=F(this.WV);s.mediaLoaded&&!s.paused?o.add("vp-cast-playing"):o.remove("vp-cast-playing")}var a=F(this.WV).contains("vp-flag-"+u.LOADING),c=t.isLoading();switch(this.xV(u.LOADING,c),!a&&c?(this.fO.publish(w.ExternalEvt.LOADING_BEGIN),this.ZV&&this.ZV.show()):a&&!c&&(this.fO.publish(w.ExternalEvt.LOADING_END),this.ZV&&this.ZV.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===M.SkipOnError.ALWAYS||t.skipOnError===M.SkipOnError.TIMEBASED;d&&p&&n.hasStartedPlayback||this.DF()}break;case T.States.VIDEO:this.LF(n),this.kF(),r=h.VIDEO;break;case T.States.END:this.oE.continuousPlay||this.setFullscreen(!1),n.criticalError?(t.chromeless?this.fO.publish(w.ExternalEvt.PLAYER_ERROR,n.criticalError):this.CF(n.criticalError,i,t.guid),r=h.ERROR):(this.PF(n.previousItem),r=h.END_SCREEN)}this.xF=r,this.UF(r),this.VF(),this.mF&&this.mF.syncState()},i.prototype.getCurrentViewState=function(){return this.xF},i.prototype.setFullscreen=function(t){var i,n=this.WV;(l.userAgent.ios||l.userAgent.android&&!this.fN)&&(n=null===(i=this.RV.getActiveRenderer())||void 0===i?void 0:i.node),t&&!this.LV?D.default.enterFullscreen(n):!t&&this.LV&&D.default.exitFullscreen(n),this.fO.publish(A.CTRL_FULLSCREEN,t?"ON":"OFF"),t&&l.userAgent.mobile&&S.default.autoplaySupported&&this.eO.mute&&!this.oE.muteMode&&this.publish(C.SET_MUTE,!1),this.VF()},i.prototype.getFullscreen=function(){var t=this.RV.getActiveRenderer(),i=!!t&&D.default.isFullscreenOnMobile(t.node);return j.default.getFullscreenElement()===this.WV||i},i.prototype.toggleFullscreen=function(){this.setFullscreen(!this.getFullscreen())},i.prototype.updateVolumeUI=function(t,i){this.fN&&this.fN.updateVolumeUI(t,i)},i.prototype.updateClosedCaptionUI=function(t){this.fN&&this.fN.updateClosedCaptionUI(t)},i.prototype.clearAutoHideTimeout=function(){this.sF&&window.clearTimeout(this.sF)},i.prototype.setOverlayActive=function(t){t?F(this.WV).add("vp-overlay-active"):F(this.WV).remove("vp-overlay-active")},i.prototype.destroyFullscreenChangeListeners=function(){var t=this;this.uF&&P.forEach((function(i){document.removeEventListener(i,t.uF)}))},i.prototype.getPlayerDimensions=function(){return{width:this.WV.clientWidth,height:this.WV.clientHeight,videoWidth:this.UV.clientWidth,videoHeight:this.UV.clientHeight}},Object.defineProperty(i.prototype,"controls",{get:function(){return this.fN},enumerable:!0,configurable:!0}),i.prototype.getPlaylistController=function(){return this.cF},i.prototype.isStreamMode=function(){return l.userAgent.desktop&&(this.DV===a.SMALL||F(this.WV).contains("vp-stream"))},i.prototype.isMiniStreamMode=function(){return l.userAgent.desktop&&(this.DV===a.VERY_SMALL||F(this.WV).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.WV).add("vp-live"):F(this.WV).remove("vp-live"),this.isStreamMode()&&!this.getFullscreen()&&F(this.WV).add("vp-stream"),this.isMiniStreamMode()&&!this.getFullscreen()&&F(this.WV).add("vp-ministream"),this.fN&&this.fN.onMediaItemLoaded(t)},i.prototype.onMediaItemCurrent=function(t){this.fN&&this.fN.onMediaItemCurrent(t)},i.prototype.onMediaItemPlaybackStarted=function(t){(this.oE.docking.enableOnScrollDown||this.oE.docking.enableOnScrollUp)&&this.kV&&this._F(),this.fN&&this.fN.onMediaItemPlaybackStarted(t)},i.prototype.onMediaItemPlaybackProgress=function(t){this.fN&&this.fN.onMediaItemPlaybackProgress(t)},i.prototype.onAdBreakStarted=function(t){this.wF.onAdBreakStart(t),this.fN.onAdBreakStarted()},i.prototype.onAdBreakEnded=function(t){this.wF.onAdBreakEnd(t)},i.prototype.onAdBreakItemCurrent=function(t){this.wF.onAdBreakItemCurrent(t)},i.prototype.onAdBreakItemStarted=function(t){this.fN&&this.fN.onAdPlaybackStarted()},i.prototype.onAdBreakItemEnded=function(t){this.fN&&this.fN.onAdPlaybackEnded()},i.prototype.onAdPlaybackProgress=function(t){var i=t.playingItem,n=this.eO;i&&I.isNumber(n.currentTime)&&I.isNumber(n.duration)&&this.fN&&this.fN.onAdPlaybackProgress(t)},i.prototype.setTheme=function(t){t&&F(this.WV).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.fN.updateCurrentItemTitle(t),this.kV&&this.BF&&(this.BF.textContent=t),this.FF&&this.FF.updateTitle(t)},i.prototype.addCustomControlElement=function(t){return this.fN.addCustomControlElement(t)},i.prototype.onRendererSwitch=function(t,i){this.jF&&this.jF.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.jF&&(i=this.jF).onVideoEvent.apply(i,r([t],n))},i.prototype.destroy=function(){this.fN&&this.fN.destroy(),this.zF&&this.zF.destroy(),this.HF&&this.HF.destroy(),this.qF&&this.qF.destroy(),this.ZV&&this.ZV.destroy(),this.wF&&this.wF.destroy(),this.cF&&this.cF.destroy(),this.FF&&this.FF.destroy(),this.nF&&this.nF.destroy(),this.destroyAdsOverlay(),this.destroyFullscreenChangeListeners(),l.userAgent.tv||l.userAgent.mobile||!this.rF||this.rF(),l.userAgent.mobile&&S.default.canPlayInline&&this.hF&&this.hF(),this.GF&&(window.removeEventListener("resize",this.GF),this.GF=null),this.jF&&this.jF.destroy(),this.NV&&(this.NV.innerHTML=""),this.IF()},i.prototype.vF=function(){var t=this;this.zF=new m.default("NORMAL",(function(){t.jF||(t.jF=t.QV(b.default,t.oE,t.vO.getExternalPlugins()),t.jF.on(b.OpssEvent.VISIBILITY_CHANGED,(function(i,n){t.publish(C.OPSS_VISIBILITY_CHANGED,i,n.node)}),t));var i=t.RV.getRendererController().getActiveRenderer();t.jF.render(i)}))},i.prototype.zV=function(t){this.oE.uiState.deviceOrientation=t,this.oE.uiState.isDocked&&"full"===this.oE.docking.width&&t===o.LANDSCAPE&&!this.getFullscreen()&&this.undockVideoPlayer(!0)},i.prototype.HV=function(t){this.jF&&this.jF.onPlaybackInfo(t)},i.prototype.qV=function(){this.jF&&this.jF.onPlaylistPositionChange()},i.prototype.YV=function(){this.GF=this.YF.bind(this),window.addEventListener("resize",this.GF)},i.prototype.GV=function(){var t=o.LANDSCAPE;return window.innerHeight>window.innerWidth&&(t=o.PORTRAIT),t},i.prototype.YF=function(){this.fO.publish(A.Device.ORIENTATION_CHANGE,this.GV())},i.prototype.lF=function(){this.WF&&this.IF(),(!(l.userAgent.ie>0&&l.userAgent.ie<10)&&!l.userAgent.mobile||l.userAgent.mobile&&S.default.canPlayInline)&&this.oE.docking&&(this.oE.docking.enableOnScrollDown||this.oE.docking.enableOnScrollUp)&&(this.WF=this.ZF.bind(this),window.addEventListener("scroll",this.WF))},i.prototype.IF=function(){this.WF&&(window.removeEventListener("scroll",this.WF),this.WF=null)},i.prototype.ZF=function(){var t=window.pageYOffset;if(t!==this.CV&&!this.LV){this.CV=t;var i=j.default.getElementViewability(this.NV)>=this.oE.docking.threshold;i||this.kV||this.oE.getState()!==T.States.VIDEO||this.oE.isPaused()?i&&this.kV&&this.undockVideoPlayer():this.dockVideoPlayer()}},i.prototype.aF=function(){var t=this;return this.wF||(this.wF=new v.default(this.vO),this.wF.addEventListener(v.AdsViewEvent.SKIP_AD_REQUESTED,(function(){t.publish(C.SKIP_AD_REQUESTED)}),this),this.wF.addEventListener(v.AdsViewEvent.CLICKED,(function(){t.publish(C.AD_CLICKED)}),this),this.UV.appendChild(this.wF.create()),l.userAgent.mobile&&this.fN&&S.default.canPlayInline&&this.wF.enableClickBlocking(!0)),this.wF},i.prototype.TF=function(){var t=this.NV.getBoundingClientRect(),i=document.querySelector("body");if(i){var n=i.clientWidth,s=this.oE.docking.position||{};s.top>-1&&(this.WV.style.top=t.top+"px"),s.bottom>-1&&(this.WV.style.bottom=t.bottom+"px"),s.right>-1&&(this.WV.style.right=n-t.right+"px"),s.left>-1&&(this.WV.style.left=t.left+"px"),this.WV.style.width=this.OF+"px",this.WV.style.height=this.AF+"px",this.WV.style.position="fixed"}},i.prototype._F=function(){var t=this,i=this.oE.docking;if(i.enableOnScrollDown||i.enableOnScrollUp){this.BF&&this.SF||(this.BF=this.WV.querySelector(".vp-docked-title"),this.QF=this.WV.querySelector(".vp-docked-provider"),this.SF=document.createElement("div"),this.SF.setAttribute("class","vp-docked-bg"),this.XF=document.createElement("img"),this.XF.setAttribute("class","vp-docked-img"),this.JF=document.createElement("div"),this.JF.setAttribute("class","vp-docked-overlay"),this.KF=document.createElement("div"),this.KF.setAttribute("class","vp-docked-overlay-text"),this.KF.innerHTML="Scroll back up to restore default view.",this.JF.appendChild(this.KF),this.SF.appendChild(this.XF),this.SF.appendChild(this.JF),this.$F||(this.$F=document.createElement("div"),this.$F.setAttribute("class","vp-docked-close-button"),this.tz=new g.default(this.$F,(function(i){i.stopPropagation(),t.undockVideoPlayer(!t.oE.isPaused()),t.publish(C.UI_INTERACT,{srcElement:"ui_pop_close_clk"})})),i.closeButtonFadeIn||F(this.$F).add("vp-nofade")),this.UV&&this.UV.appendChild(this.$F),this.NV&&this.NV.appendChild(this.SF));var n=this.vT();n&&(n.thumbnail&&this.XF.setAttribute("src",n.thumbnail),this.BF&&n.title&&(this.BF.innerHTML=n.title))}},i.prototype.dF=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.UV.style.height="",this.oE.uiState.isCSSLoaded=!0},i.prototype.pF=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.oE.uiState.isCSSLoaded=!1,this.fO.publish(A.WARNING,j.default.createErr(O.ErrorGroup.Streaming,this.eO,O.E_WARNING,O.WARNING_CODES.E_CSS_DOWNLOAD_FAILED),!1)},i.prototype.UF=function(t){var i="vp-state-"+t,n=F(this.WV);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.xV=function(t,i){var n=F(this.WV),s="vp-flag-"+t,e=n.contains(s);i?e||n.add(s):e&&n.remove(s)},i.prototype.DF=function(){var t=this.oE,i=this.vT();i&&!this.FF&&(t.showStartScreen&&(this.FF=this.QV(y.StartScreen,i,t.startScreenConfig,t.uiState),this._z()),this.fO.publish(A.START_SCREEN_RENDERED))},i.prototype.MF=function(){var t=this.FF&&this.FF.view;t&&(this.UV&&this.UV.removeChild(t.node),this.FF.destroy(),this.FF=null)},i.prototype.PF=function(t){var i=this;if(t){var n=this.oE.showEndScreen;if(n){if(!this.WV.querySelector(".vp-end-replay")){var s=j.default.render(k,{});this.tH=new g.default(s,(function(){i.fO.publish(A.RELATED_ITEM_CLICK,t.id,-1,!1,!1)})),this.UV&&this.UV.appendChild(s),this.iH=s}!this.FF&&n&&this.DF(),this.fO.publish(A.END_SCREEN_RENDERED),this.publish(C.UI_INTERACT,{srcElement:"es-view"})}}},i.prototype.NF=function(){this.iH&&this.UV&&(this.UV.removeChild(this.iH),this.iH=null),this.tH&&this.tH.destroy()},i.prototype.CF=function(t,i,n){if(!this.qF){var s=(i=i||this.vT())&&i.videoSession||"",e=i?i.thumbnail:null,r=e||"";this.qF=this.QV(y.ErrorScreen,t,n,s,r),this.publish(C.UI_INTERACT,{srcElement:"err-view-"+t.category+"-"+t.subcategory})}},i.prototype.VF=function(){this.fN&&this.fN.syncAriaState()},i.prototype.VV=function(t){t?F(this.WV).add("vp-muted"):F(this.WV).remove("vp-muted")},i.prototype.$V=function(){(!this.getFullscreen()||l.userAgent.android&&j.default.getFullscreenElement()===this.WV)&&this.toggleAdViewClickBlocking()},i.prototype.JV=function(){var t;this.sF&&window.clearTimeout(this.sF),F(this.WV).remove("vp-hide-controls"),this.yF(!1),this.gF&&F(this.gF).remove("vp-overlay-hide-cursor"),this.oE.isSeeking()||this.oE.isPaused()||(this.sF=window.setTimeout(this.eF.bind(this),5e3)),null===(t=this.fN)||void 0===t||t.onControlsBarChange(!0),this.getFullscreen()||this.fO.publish(_.CCEvent.POSITION_FLOAT,!0)},i.prototype.KV=function(t){var i;"mouseout"===t.type&&(this.sF&&window.clearTimeout(this.sF),F(this.WV).add("vp-hide-controls"),!this.oE.isPaused()&&this.yF(!0),null===(i=this.fN)||void 0===i||i.onControlsBarChange(!1),this.getFullscreen()||this.fO.publish(_.CCEvent.POSITION_FLOAT,!1))},i.prototype.eF=function(){var t;this.gF=this.WV&&this.WV.querySelector(".vp-object-overlay"),this.sF&&(window.clearTimeout(this.sF),this.sF=null),l.userAgent.mobile&&this.fN&&S.default.canPlayInline&&this.wF.enableClickBlocking(!0),F(this.WV).add("vp-hide-controls"),!this.oE.isPaused()&&this.yF(!0),null===(t=this.fN)||void 0===t||t.onControlsBarChange(!1)},i.prototype.BV=function(){this.sF&&window.clearTimeout(this.sF),this.oE.isSeeking()||(this.sF=window.setTimeout(this.eF.bind(this),5e3))},i.prototype.oF=function(t){var i="boolean"==typeof t?t:this.getFullscreen();i?(F(this.WV).add("vp-state-fullscreen"),this.kV&&(this.EF=!0,this.undockVideoPlayer())):(F(this.WV).remove("vp-state-fullscreen"),(this.kV||this.EF)&&(this.EF=!1,this.CV=window.scrollY,this.dockVideoPlayer())),this.LV!==i&&(this.oE.uiState.isFullscreen=i,this.fO.publish(A.FULLSCREEN_CHANGE,i),this.LV=i)},i.prototype.FV=function(t){var i,n=t.width||1,s=t.height||1,e=this.PV(n,s);(this.isStreamMode()||this.isMiniStreamMode())&&e===a.NORMAL&&this.nH(),l.userAgent.desktop&&(e===a.VERY_SMALL?F(this.WV).add("vp-ministream"):e===a.SMALL&&(F(this.WV).add("vp-stream"),this.cF.detachUpNextMouseEvents(),(i=this.getContentNode().querySelector(".vp-upnext-playlist"))&&F(i).add("hide")))},i.prototype.nH=function(){var t=this.getContentNode();F(t).remove("vp-ministream"),F(t).remove("vp-stream"),this.cF.attachUpNextMouseEvents();var i=this.getContentNode().querySelector(".vp-upnext-playlist");i&&F(i).remove("hide")},i.prototype.PV=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.sH=function(t){this.publish(C.UI_INTERACT,t)},i.prototype.LF=function(t){var i=this.getContentNode(),n="vp-mode-"+this.eO.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.kF=function(){!this.oE.isPaused()?(this.xV(u.PLAYING,!0),this.xV(u.PAUSED,!1)):(this.xV(u.PLAYING,!1),this.xV(u.PAUSED,!0)),this.publish(C.SYNC_PLAYBACK_STATE)},i.prototype.XV=function(){var t=this,i=this.fN,n=i?i.create():null;n&&Object.keys(n).forEach((function(i){t.UV&&n[i]&&t.UV.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.sH(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.eO.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.RV.setQuality(i)}),this),i.on(p.ControlsEvent.CUSTOM_ELEMENT,(function(i,n){t.publish(C.CUSTOM_ELEMENT,i,n)}),this)},i.prototype.fF=function(){var t=this,i=this.cF;i.on(N.PlaylistEvent.UI_INTERACT,(function(i){t.sH(i)}),this),i.on(N.PlaylistEvent.SCROLLED_TO_END,(function(){t.publish(C.SCROLLED_TO_END)}),this),i.on(N.PlaylistEvent.BOTTOM_HEIGHT_CHANGE,(function(i){t.publish(C.PLAYLIST_BOTTOM_HEIGHT_CHANGE,i)}),this)},i.prototype._z=function(){var t=this,i=this.FF;i.on(y.StartScreenEvent.UI_INTERACT,(function(i){t.sH(i)}),this),i.on(y.StartScreenEvent.START_SCREEN_CLICK,(function(){t.publish(C.START_SCREEN_CLICK)}),this)},i.prototype.vT=function(){return this.oE.playlist.getCurrentItem()},i.prototype.RF=function(){this.mF&&this.mF.destroy()},Object.defineProperty(i.prototype,"eO",{get:function(){return this.oE.playbackState},enumerable:!0,configurable:!0}),i.prototype.QV=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.UV.appendChild(s.view.node),s},i.prototype.yF=function(t){if(this.bF&&this.fN){var i=this.bF.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.ZE=t,this.sO=i,this.eH(),this.offNetwork=a.default.isOffNetwork(),this.rH(t.watchHistory)}return t.prototype.getEventsDto=function(){var t,i=this.ZE.rapidConfig||{},n=i.pageParams||{},e=i.clickParams||{},r={pageSpaceId:this.ZE.pageSpaceId||i&&i.Spaceid||"1111",experienceName:this.ZE.expName||"",experienceBucket:this.ZE.expBucket||"",experienceType:this.ZE.expType||"",cpos:this.ZE.cpos||"",ccode:this.ZE.ccode||"",offNetwork:this.offNetwork,site:this.ZE.site||"",siteAnalytics:this.ZE.siteAnalytics||"",comscoreC4:this.ZE.comscoreC4||o.NULL_DEFAULT,region:this.ZE.region||"",referrer:this.ZE.referrer||"",lang:this.ZE.lang||"",pageLatency:this.hH||"",playlistId:(null===(t=this.ZE.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.ZE.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.ZE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoRecommendations",{get:function(){return void 0===this.ZE.videoRecommendations||this.ZE.videoRecommendations},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"site",{get:function(){return this.ZE.site||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"region",{get:function(){return this.ZE.region||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lang",{get:function(){return this.ZE.lang||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceBucket",{get:function(){return this.ZE.expBucket||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"experienceName",{get:function(){return this.ZE.expName||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"yvapAccountId",{get:function(){return this.ZE.YVAP&&this.ZE.YVAP.accountId||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"syndication",{get:function(){return this.ZE.synd||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cTopic",{get:function(){return this.ZE.cTopic||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pspid",{get:function(){return this.ZE.CMS&&this.ZE.CMS.suppressAdContext?"":this.ZE.pageSpaceId||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.ZE.playlist&&this.ZE.playlist.id||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loop",{get:function(){return this.ZE.loop||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.ZE.continuousPlay||!1},set:function(t){this.ZE.continuousPlay=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"relatedVideoId",{get:function(){var t=this.ZE.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.ZE.ui&&this.ZE.ui.playlist&&this.ZE.ui.playlist.mimetype||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistItemCount",{get:function(){return this.ZE.ui&&this.ZE.ui.playlist&&h.TypeChecker.isNumber(this.ZE.ui.playlist.numberOfItems)?Math.max(this.ZE.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.ZE.allowGeoRequest||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"geoData",{get:function(){return this.ZE.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.ZE.ui&&this.ZE.ui.endScreen&&this.ZE.ui.endScreen.show||!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"skipOnError",{get:function(){return this.ZE.skipOnError||u.SkipOnError.NEVER},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return h.TypeChecker.isNumber(this.ZE.aspectRatio)?this.ZE.aspectRatio:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistoryConfig",{get:function(){return this.ZE.watchHistory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"watchHistory",{get:function(){return this.oH||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playlistUI",{get:function(){var t,i;return null===(i=null===(t=this.ZE)||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.ZE.pblob)&&this.ZE.pblob.length<=512?this.ZE.pblob:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDockable",{get:function(){var t=this.ZE.ui&&this.ZE.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.ZE.allowGeoRequest=t.allowGeoRequest);var i=t.geoData;i&&h.TypeChecker.isString(i.latitude)&&h.TypeChecker.isString(i.longitude)&&h.TypeChecker.isString(i.accuracy)?this.ZE.geoData=i:null===i&&(this.ZE.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.eH=function(){window.performance&&window.performance.timing&&window.performance.timing.navigationStart&&(this.hH=(new Date).getTime()-window.performance.timing.navigationStart)},t.prototype.rH=function(t){this.oH=null,t&&t.enabled&&(this.oH=new c.default({watchHistoryEnabled:t.enabled,watchedPeriod:t.watchedPeriod,watchHistoryExpiry:t.expiry},this),this.oH.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.uH=c.default.noop,n}return e(i,t),i.canUse=function(){return!0},Object.defineProperty(i.prototype,"mimetype",{get:function(){return this.OM?this.OM.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.OM},i.prototype.setExternalPlayer=function(t){this.OM&&this.OM!==t&&this.aH(),this.OM=t,this.cH()},i.prototype.play=function(t){this.OM&&this.fH&&this.OM.play(this.fH.rawItemData)},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){return void 0===i&&(i=0),!(!t||!this.OM)&&(this.lH=null,this.OM.preparePlayback(t.rawItemData,this.node,this.container),!this.lH&&(this.fH=t,!0))},i.prototype.waitForReady=function(t){t&&t()},i.prototype.seek=function(t){this.OM&&this.OM.seek(t)},i.prototype.pause=function(){this.OM&&this.OM.pause()},i.prototype.skip=function(){this.OM&&this.OM.skip()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.OM?this.OM.getCurrentTime():0},i.prototype.getDuration=function(){return this.OM?this.OM.getDuration():0},i.prototype.getMuted=function(){return!(!this.OM||!this.OM.isMuted())},i.prototype.getVolume=function(){return this.OM?this.OM.getVolume():NaN},i.prototype.setQuality=function(t){},i.prototype.setError=function(t){},i.prototype.setVolume=function(t){this.OM&&this.OM.setVolume(t)},i.prototype.setMute=function(t){this.OM&&this.OM.mute(t)},i.prototype.setAudioLanguage=function(t){},i.prototype.stopMedia=function(){return!!this.OM&&(this.OM.stop(),!0)},i.prototype.bindCustomEvents=function(){},i.prototype.destroy=function(){var t=this.container;t&&t.parentNode&&t.parentNode.removeChild(t),this.OM&&(this.OM.unload(),this.aH(),this.OM=null)},i.prototype.detachNode=function(){this.node&&this.node.pause()},i.prototype.reattachNode=function(){},i.prototype.setActive=function(t){this.vH=t},i.prototype.showAirplayTargetMenu=function(){},i.prototype.setPIPMode=function(t){},i.prototype.suspendStreaming=function(){},i.prototype.resumeStreaming=function(){},i.prototype.cH=function(){this.OM&&(this.uH=o.listenEventDispatcherEvts(this.OM,Object.keys(f.ExternalPlayerEvent).map((function(t){return f.ExternalPlayerEvent[t]})),this.dH.bind(this)))},i.prototype.aH=function(){this.uH(),this.uH=c.default.noop},i.prototype.dH=function(t,i){for(var n=[],s=2;s<arguments.length;s++)n[s-2]=arguments[s];f.ExternalPlayerEvent.TIME_UPDATE;var e=this.OM;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.lH=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},KCCg:function(t,i){var n,s,e=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function h(){throw new Error("clearTimeout has not been defined")}function o(t){if(n===setTimeout)return setTimeout(t,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(i){try{return n.call(null,t,0)}catch(i){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{s="function"==typeof clearTimeout?clearTimeout:h}catch(t){s=h}}();var u,a=[],c=!1,f=-1;function l(){c&&u&&(c=!1,u.length?a=u.concat(a):f=-1,a.length&&v())}function v(){if(!c){var t=o(l);c=!0;for(var i=a.length;i;){for(u=a,a=[];++f<i;)u&&u[f].run();f=-1,i=a.length}u=null,c=!1,function(t){if(s===clearTimeout)return clearTimeout(t);if((s===h||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(t);try{s(t)}catch(i){try{return s.call(null,t)}catch(i){return s.call(this,t)}}}(t)}}function d(t,i){this.fun=t,this.array=i}function p(){}e.nextTick=function(t){var i=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)i[n-1]=arguments[n];a.push(new d(t,i)),1!==a.length||c||o(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=p,e.addListener=p,e.once=p,e.off=p,e.removeListener=p,e.removeAllListeners=p,e.emit=p,e.prependListener=p,e.prependOnceListener=p,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},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,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.pH()}),500):r.pH()})),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.pH=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.mH=t,this.bH=i?i.sort((function(t,i){return t-i})):[],this.reservoirLength=n||10,this.cushionLength=s||20,this.currentBitrate=0,this.yH={},this.bH.forEach((function(t){e.yH[t]=0})),t&&t.addEventListener("waiting",(function(){e.yH[e.currentBitrate]=e.yH[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.mH.buffered,i=this.mH.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.mH.length-i?Number.MAX_VALUE:n}return n},t.prototype.getRecommendedBitrate=function(t,i,n){i=i||this.bH,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.gH(i,n),a=s;return u>=h?a=this.wH(i,u):u<=o&&(a=this.EH(i,u)),a},t.prototype.getNumberOfBufferingsForBitrate=function(t){return this.yH[t]},t.prototype.gH=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.wH=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.EH=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.ZM=[],this.length=0,this.or=t||Uint8Array,i&&this.set(i)}t.exports=e,e.prototype.destroy=function(){this.ZM=[],this.length=0},e.prototype.set=function(t){this.ZM.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.ZM.length;r++){var h=this.ZM[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.ZM.length;u++){var a=this.ZM[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.LI=null,this.kI={},this.CI={}}n("juTp").inherits(e,s),e.prototype.destroy=function(){this.reset(),this.kI={},s.prototype.removeEventListeners.call(this,this.CI),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.CI.timedOut=n},e.prototype.removeEventListener=function(t,i){if(!i)throw new Error("Invalid Argument: No context");s.removeEventListeners(this.CI)},e.prototype.start=function(){var t=this;t.LI||t.running||(t.LI=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.LI&&this.running&&(clearInterval(this.LI),this.LI=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.ZR={},this.WL=0}return t.prototype.destroy=function(){this.ZR={}},t.prototype.addEventListener=function(t,i,n){return this.ZR?this.OH(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.ZR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.OH(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.ZR&&t in this.ZR&&Object.prototype.hasOwnProperty.call(this.ZR[t],i)&&delete this.ZR[t][i]},t.prototype.removeEventListeners=function(t){if(this.ZR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.ZR&&Object.prototype.hasOwnProperty.call(this.ZR[s],e)&&(delete this.ZR[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.ZR&&t in this.ZR){var s=this.ZR[t];s&&this.AH(s,t,!1,i);var e=this.ZR["*"];e&&this.AH(e,t,!0,i)}},t.prototype.AH=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.OH=function(t,i,n){this.ZR[t]||(this.ZR[t]={});var s=t+"_"+ ++this.WL;return this.ZR[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.IH=[1e3,1e3,2e3,2e3,3e3,3e3,5e3],this.jH=5e3,this.MH=new o(1e3,1),this.MH.addEventListener(this.load,this),this.MIN_TIMEOUT=2e3,this.MAX_TIMEOUT=15e3,this.NH=0,this._=t.maxRetries,this.RH=new o(this.DH(),1),this.RH.addEventListener(this.LH,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.kH(),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.pR.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.pR();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.LH=function(){this.zH(),this.pR()},l.prototype.qH=function(){this.reset(),this.$L(h.ERR_PARTIAL_LOAD)},l.prototype.GH=function(){var t=this.IH.length,i=this.NH;return i<t?this.IH[i]:this.IH[t-1]+this.jH*(i-t+1)},l.prototype.pR=function(){this.kH(),this.NH<this._&&(!this.request.retryExclusion||-1===this.request.retryExclusion.indexOf(this.TH.status))?(this.NH++,this.MH.delay=this.GH(),this.MH.reset(),this.MH.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.kH=function(){this.TH&&this.TH.readyState!==c&&this.TH.readyState!==u&&(this.TH.PH=!0,this.TH.abort()),this.MH.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.kH(),this.TH=null,this.request=null},l.prototype.destroy=function(){this.reset(),this.MH.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.pR():void t.qH();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.LH=function(){this.zH(),this.TH.CH>0&&this.TH.readyState===a?this.qH():this.pR()},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.pR();var n=t.TH.response;if(t.YH||(t.YH=t._H?new MSStreamReader:new t.window.MSStreamReader),t.YH.readyState===f)return;t.YH.readAsArrayBuffer(n),t.YH.onprogress=function(){t.RH.stop();var n=t.YH.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.YH.onload=function(){t.RH.stop(),t.publish(i.Events.COMPLETE)},t.YH.onerror=function(){t.RH.stop()}}}},d.prototype.VH=function(){this.TH.responseType="ms-stream"},d.prototype.reset=function(){l.prototype.reset.call(this),this.YH&&this.YH.abort()}},MKj3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.PREROLL="preroll",t.POSTROLL="postroll",t.MIDROLL="midroll",t.TRIGGER="trigger",t.NON_LINEAR="nonlinear",t.NATIVE="native"}(i.AdBreakType||(i.AdBreakType={})),function(t){t.DUMMY="ad/dummy"}(i.AdBreakMimeType||(i.AdBreakMimeType={}))},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.oE=this.__controller.model,this.WH=this.oE.config.useWorker,this.aL=this.oE.userAgent,this.ZH="HlsTransformer",this.QH=r.guid(),this.XH=t,this.JH=i,this.MIN_BUFFER_LENGTH=5,this.KH()){if(this.$H=this.__controller.services.getWorker(this.ZH),this.$H)return this.$H.addEventListener("message",this.dq.bind(this)),void this._q(e.MessageIds.CREATE,[t]);this.oE.config.useWorker=!1}this.tG=new s(t,i),this.WH=!1}u.prototype.destroy=function(){this.WH&&this.$H?this._q(e.MessageIds.DESTROY):this.tG.destroy()},u.prototype.close=function(){this.WH&&this.$H?this._q(e.MessageIds.CALL_METHOD,null,"close"):this.tG.close()},u.prototype.append=function(t){this.WH&&this.$H?this._q(e.MessageIds.CALL_METHOD,[t],"append",[t.buffer]):this.tG.append(t)},u.prototype.endOfSegment=function(){this.WH&&this.$H?this._q(e.MessageIds.CALL_METHOD,null,"endOfSegment"):this.tG.endOfSegment()},u.prototype.dq=function(t){if(t){var i=t.data?new o(t.data):t;if(i&&i.instanceId===this.QH&&(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.aL.chrome&&!this.aL.win7?this.WH=!(this.__controller&&this.__controller.getState()>=h.PLAY_REQUESTED)||this.oE.bufferLength>this.MIN_BUFFER_LENGTH:this.WH=!1,this.WH)},u.prototype._q=function(t,i,n,s){if(this.$H&&t){var r={type:e.MessageTypes.MESSAGE,id:t,moduleName:this.ZH,instanceId:this.QH,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.BI.node,this.aU=this.BI.mediaSource,this.DN=null,this.iG=[],this.nG=!1,this.oE=this.BI.appModel,this.sG=this.oE.config.pastBufferLengthLimit}r.prototype.destroy=function(){this.eG(),this.iG=[]},r.prototype.setSwitchManager=function(t){this.DN=t},r.prototype.process=function(){this.rG()&&"open"===this.aU.readyState&&this.aU.endOfStream()},r.prototype.onError=function(){this.nG=!0},r.prototype.onSeeking=function(t,i){t&&this.eG(),i&&this.hG()},r.prototype.oG=function(t){for(var i=0;i<this.iG.length;i++)if(t===this.iG[i].type)return this.iG[i];return null},r.prototype.setMinimumBufferTime=function(t){this.iG.forEach((function(i){i.setMinBufferTime(t)}))},r.prototype.createSourceBuffer=function(t,i,n){if(!this.aU||this.nG)return null;var r=this.oG(t);if(!r)if(this.BI.isMimetypeSupported(i)){r=this.BI.create(s,this.aU,t,i),this.iG.push(r);var h=this.oE.config.minBufferTime,o=isNaN(n)?this.oE.live?h.live:h.vod:n;this.setMinimumBufferTime(o)}else{var u=new e.Error(e.ERR_MIMETYPE_NOT_SUPPORTED);this.BI.notifyError(u)}return r},r.prototype.uG=function(){if(this.aU&&!this.nG)for(;this.iG.length>0;){this.iG.shift().destroy()}},r.prototype.hG=function(){var t=this,i=[];t.aU&&!t.nG&&"open"===t.aU.readyState&&(t.iG.forEach((function(t){i.push({type:t.type,mimeType:t.mimeType})})),t.uG(),i.forEach((function(i){t.createSourceBuffer(i.type,i.mimeType,NaN)})))},r.prototype.eG=function(){this.aU&&!this.nG&&this.iG.forEach((function(t){t.abort()}))},r.prototype.clear=function(t,i){if(this.aU&&!this.nG)if(t){if(!(t&&t.end-t.start<10)&&i){i.clearBuffer(t.start,t.end,(function(t){}))}}else this.iG.forEach((function(t){t.clearAll()}))},r.prototype.clearSrcBuffer=function(t,i){var n=this.oG(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.nG&&t.data&&t.data.length&&s.appendBuffer(t.data,t.startTime,t.endTime,t.onlyMetadata,(function(t,s){n.aG(t,s),i(t,s)}))},r.prototype.endOfStream=function(t){this.iG.forEach((function(i){i.setEndOfStream(t)}))},r.prototype.rG=function(){if(!this.iG.length)return!1;var t=!0;return this.iG.forEach((function(i){t=t&&"closed"===i.state})),t},r.prototype.getPendingBufferLength=function(){var t=0;return this.iG.forEach((function(i){var n=i.getTotalPendingBufferLength();t<n&&(t=n)})),t},r.prototype.getBufferedAndPending=function(){var t={};return this.iG.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.iG.forEach((function(t){t.ready=!1}))},r.prototype.areSrcBuffersReady=function(){for(var t=0;t<this.iG.length;t++)if(!this.iG[t].ready)return!1;return!0},r.prototype.aG=function(t,i){i&&(this.clear(this.cG(i),i),this.clear(this.fG(i),i))},r.prototype.cG=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.oE.live?this.sG.live:this.sG.vod;return n&&n.length&&(s=n.start(0),e=Math.max(i-r,0)),{start:s,end:e}},r.prototype.fG=function(t){var i=this._node.currentTime,n=null;try{n=t.buffer.buffered}catch(t){n=null}var s=this.oE.live?this.sG.live:this.sG.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("EOV8"),e=n("ablw"),r=n("yf6s"),h=function(){function t(){this.version="0.2.415",this.type=s.PluginType.VISUAL_SEEK,this.mimetype="visualseek/uplynk",this.lG={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.lG={}},t.prototype.canSeek=function(t){return t&&!!this.lG[t]},t.prototype.update=function(t,i){var n=this.lG[t]||{};n.assetInfo=i&&i.assetInfo||n.assetInfo,n.adBreaks=i&&i.adBreaks||n.adBreaks,this.lG[t]=n},t.prototype.getThumbnailData=function(t,i,n){if(!e.isString(t)||!e.isNumber(i))return null;var s=this.lG[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.lG[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.lG[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.JS=this.constructor.super_.prototype,this.segments=[],t&&this.updateConfig(t)}r.inherits(f,u),f.prototype.destroy=function(){this.segments=[],this.JS.destroy.call(this)},f.prototype.updateConfig=function(t){var i=this;i.JS.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.AM=t}return t.prototype.play=function(t,i){void 0===t&&(t=0),this.AM.getPlaybackState()===e.States.INIT&&t>0&&t<this.getDuration()&&(this.AM.startTime=t),this.AM.play(this.vG(i))},t.prototype.pause=function(t){this.AM.pause(this.vG(t))},t.prototype.preload=function(){this.AM.preload()},t.prototype.seek=function(t){this.AM.seek(t)},t.prototype.disableControls=function(){this.AM.disableControls()},t.prototype.enableControls=function(){this.AM.enableControls()},t.prototype.enableCC=function(t){this.AM.enableCC(t)},t.prototype.disableCC=function(){this.AM.disableCC()},t.prototype.isPlayMode=function(){return this.AM.isPlayMode()},t.prototype.getPlaybackState=function(){return this.AM.getPlaybackState()},t.prototype.isLoading=function(){return this.AM.isLoading()},t.prototype.getDuration=function(){return this.AM.duration},t.prototype.getRawDuration=function(){return this.AM.rawDuration},t.prototype.getCurrentTime=function(){return this.AM.currentTime},t.prototype.getRawCurrentTime=function(){return this.AM.rawCurrentTime},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.AM.fullscreen=t},t.prototype.getFullscreen=function(){return this.AM.fullscreen},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.AM.volume=t},t.prototype.getVolume=function(){return this.AM.volume},t.prototype.setMute=function(t){this.AM.mute=t},t.prototype.getMute=function(){return this.AM.mute},t.prototype.setLoop=function(t){this.AM.loop=t},t.prototype.setContinuousPlay=function(t){this.AM.continuousPlay=t},t.prototype.resumeContinuousPlay=function(){this.AM.resumeContinuousPlay(this.vG())},t.prototype.getCurrentDate=function(){return this.AM.currentDate},t.prototype.setAudioLanguage=function(t){},t.prototype.vG=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.dG={isPlaying:null,getPlaybackState:null,getDuration:null,getCurrentTime:null,getTimeRemaining:null,getFullscreen:null,getVolume:null,getMute:null},s.pG={getCurrentItemTitle:null,getCurrentItemDescription:null,getCurrentItemProviderName:null,getCurrentItemLiveStatus:null},s.mG="VID-"+Math.floor(1e3*Math.random()),s.bG=JSON.parse(JSON.stringify(i)),s.OM=n,s.yG=null,s.gG=null,s.wG=Date.now(),s.NU=!1,s.EG=null,s.OG=null,s.AG="https://s.yimg.com",i.insideIframeConfig||(s.EG=s._G.bind(s),window.addEventListener("message",s.EG,!1)),s}return e(n,t),n.prototype.destroy=function(){this.EG&&window.removeEventListener("message",this.EG,!1),this.OG&&window.removeEventListener("message",this.OG,!1),this.EG=null,this.OG=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.gG=a,this.bG.insideIframeConfig={startTime:this.wG,iframeVID:this.mG,parentURL:u.location.protocol+"//"+u.location.host},this.bG.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.bG)),l=this.AG+"/rx/up/builds/8.2.125/ifcp.html";c.setAttribute("src",l),c.setAttribute("name",f),c.setAttribute("id",this.mG),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.yG=c,this.yG.onload=function(){r.NU=!0}}else this.OM.__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.TG("controls",i,n)}},e=function(i){return function(){return t.dG[i]}},r=function(s){return-1!==i.indexOf(s)?function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];t.TG("playlist",s,i)}:-1!==n.indexOf(s)?function(){return t.pG[s]}:function(){throw new Error("playlist API "+s+" is not supported when safe frame is enabled")}};for(var h in this.OM.controls)if(o.TypeChecker.isFunction(this.OM.controls[h])){if(void 0!==this.dG[h]){this.OM.controls[h]=e(h);continue}this.OM.controls[h]=s(h)}for(var u in this.OM.playlist)o.TypeChecker.isFunction(this.OM.playlist[u])&&(this.OM.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.OM[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.OM.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.bG.insideIframeConfig.iframeVID),n.SG(JSON.stringify(t))}),this.OM)},n.prototype.sendClearIframeNameToPage=function(){var t=[i.MessageType.CLEAR_IFRAME_NAME,this.bG.insideIframeConfig.iframeVID];this.SG(JSON.stringify(t))},n.prototype.refreshControlsAPIData=function(){return{isPlaying:this.OM.controls.isPlaying(),getPlaybackState:this.OM.controls.getPlaybackState(),getDuration:this.OM.controls.getDuration(),getCurrentTime:this.OM.controls.getCurrentTime(),getTimeRemaining:this.OM.controls.getTimeRemaining(),getFullscreen:this.OM.controls.getFullscreen(),getVolume:this.OM.controls.getVolume(),getMute:this.OM.controls.getMute(),getCurrentItemTitle:this.OM.playlist.getCurrentItemTitle(),getCurrentItemDescription:this.OM.playlist.getCurrentItemDescription(),getCurrentItemProviderName:this.OM.playlist.getCurrentItemProviderName(),getCurrentItemLiveStatus:this.OM.playlist.getCurrentItemLiveStatus()}},n.prototype.setupIframeToPageCommunication=function(){this.OG=this.IG.bind(this),window.addEventListener("message",this.OG,!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.bG.insideIframeConfig.iframeVID];this.SG(JSON.stringify(n))}},n.prototype.TG=function(){for(var t,i,n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];if(this.yG&&this.NU){var e=JSON.stringify(n);null===(i=null===(t=this.yG)||void 0===t?void 0:t.contentWindow)||void 0===i||i.postMessage(e,this.AG)}},n.prototype._G=function(t){var n,s,e=this,r=null,h={},u="",a=this.dG,c=this.pG;if(t.origin===this.AG){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.mG!==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.dG,t)?a[t]=h[t]:Object.prototype.hasOwnProperty.call(e.pG,t)&&(c[t]=h[t])})),this.OM.iframeController&&(this.OM.iframeController.dG=a,this.OM.iframeController.pG=c),this.OM.publish.apply(this.OM,s);break;case i.MessageType.CLEAR_IFRAME_NAME:null===(n=this.yG)||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.jG(l)}}}},n.prototype.SG=function(t){var i="";this.bG.insideIframeConfig&&(i=this.bG.insideIframeConfig.parentURL),window.parent.postMessage(t,i)},n.prototype.IG=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.OM&&this.OM[i]&&this.OM[i][n]&&this.OM[i][n].apply(this.OM[i],s)}},n.prototype.jG=function(t){this.gG&&(this.gG.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.oE=this.__controller.model,this.MG={},this.bandwidthEstimator=new r(this.oE.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.MG&&Object.keys(t.MG).forEach((function(i){t.MG[i].terminate()}))},f.prototype.getNewLoader=function(t,i){var n=this.oE,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.oE.config.useWorker&&"undefined"!=typeof Worker)try{return this.MG[t]||(this.MG[t]=a(u)),this.MG[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("pUuq"),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.oE=i,n.KU=!1,n.NG=0,n.RG=null,n.DG=!1,n.LG(),n.kG=0,n}return e(i,t),i.prototype.recover=function(t){var i,n,s=this.eO;if(!s.ad&&!v.default.isAdBreakType(s.currentMediaType)&&!(this.KU&&this.kG!==t||this.DG)){if(this.CG(this.PG),this.PG=null,!this.KU){this.KU=!0;var e="recovering;"+(this.RG?(null===(i=this.RG)||void 0===i?void 0:i.rep)+";"+(null===(n=this.RG)||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.kG=t||3,2!==this.kG&&(this.RG=null);var h=this.vT();h&&(h.failoverCount++,h.recoveryStatus=a.ItemRecoveryStatus.RECOVERING),this.publish(r.RECOVERY_START)}},i.prototype.destroy=function(){this.xG()},i.prototype.stopTimers=function(){this.CG(this.PG),this.PG=null,this.CG(this.UG),this.UG=null,this.CG(this.VG),this.VG=null},i.prototype.toggleRecoverer=function(t){t&&t.value?this.BG(1):(this.KU&&this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,this.eO,o.E_WARNING,d.E_RECOVERY_STATUS,null,"recovered")),this.xG())},i.prototype.onRecoveryMetadataReady=function(){if(this.kG)this.publish(u.WARNING,v.default.createErr(o.ErrorGroup.Streaming,this.eO,o.E_WARNING,d.E_PLAYBACK_FROZEN_DETECTED,null,this.FG())),this.oE.getState()!==c.default.VIDEO?this.xG():this.LG(),this.publish(r.RECOVERY_METADATA_READY);else{var t=this.vT();t&&t.failoverCount--}},i.prototype.onMetadataLoadFailed=function(){this.KU&&1===this.kG&&this.zG(),this.KU=!1},i.prototype.onPause=function(){this.KU&&this.oE.getState()===c.default.VIDEO&&this.xG()},i.prototype.onPlaybackStartBlocked=function(){this.DG=!0,this.xG()},i.prototype.onPlaybackStartNotBlocked=function(){this.DG=!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.HG(t),t.isRecoverable))if(this.NG>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.NG++,this.RG=t,"400"===t.category.toString()&&"7"===t.subcategory.toString())return this.CG(this.UG),this.UG=new f.default(1e4*Math.random(),1),this.UG.addEventListener(f.default.TIMER_EVENT,(function(){i.BG(n)}),this),void this.UG.start();this.BG(n)}},i.prototype.HG=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.LG=function(){this.GG=1e4*Math.random()+1e4,this.YG=2e3,this.CG(this.PG),this.PG=null},i.prototype.vT=function(){return this.oE.playlist?this.oE.playlist.getCurrentItem():null},i.prototype.BG=function(t){this.WG(),1!==t?this.recover(t):this.ZG(this.GG)},i.prototype.xG=function(){this.LG(),this.stopTimers(),this.KU=!1,this.kG=0,this.RG=null,this.NG=0},i.prototype.ZG=function(t){var i=this;this.CG(this.PG),this.PG=new f.default(t,1),this.PG.addEventListener(f.default.TIMER_EVENT,(function(){i.recover(i.kG?i.kG:1)}),this),this.PG.start()},i.prototype.zG=function(t){(t=!!l.isNullOrUndefined(t)||t)&&(this.GG+=this.YG,this.YG*=2),this.ZG(this.GG)},i.prototype.WG=function(){var t=this;this.VG||(this.VG=new f.default(1e3*this.oE.recoveryFailureTimeout,1),this.VG.addEventListener(f.default.TIMER_EVENT,(function(){t.qG()}),this),this.VG.start())},i.prototype.qG=function(){var t=v.default.createErr(o.ErrorGroup.Streaming,this.eO,o.E_PLAYER,p.E_RECOVERY_FAILURE,null,this.FG());this.publish(u.ERROR,t),this.xG()},i.prototype.CG=function(t){t&&t.destroy(),t=null},i.prototype.FG=function(){var t=this.RG,i=this.kG;return 2===i?i+"-"+t.category+"-"+t.subcategory+"-"+t.message:i.toString()},Object.defineProperty(i.prototype,"eO",{get:function(){return this.oE.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.jF=new s.default}return t.prototype.updateOathPlayerOpss=function(t,i,n){this.jF.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.QG=function(t,i){for(var n=i,s=0;this.XG(t,i);)s+=10,s+=this.JG(t,i+6),this.KG(t,i+10)&&(s+=10),i+=s;return s>0?t.subarray(n,n+s):null},s.prototype.XG=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.KG=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.JG=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.QG(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.$G=function(t){return 100===t[5]?self.JG(t,10):0},s.prototype.tY=function(t,i){var n=t.subarray(i,i+4);return String.fromCharCode.apply(null,n)},s.prototype.getID3Payload=function(t){var i=this.QG(t,0);if(!i||!i.length)return null;var n=10+this.$G(i);return{key:this.tY(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.XG(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,iY:9,"{":10,"&":11,nY: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.iY||"_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={nY:!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"))},iY:function(t,i){i.code+="t.b(t.v(t."+b(t.n)+'("'+m(t.n)+'",c,p,0)));'},nY: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.oL(),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.sY=function(i){this.eY(i),t.prototype.sY.call(this,i)},i.prototype.rY=function(i,n){switch(i.evt&&i.evt.toLowerCase()){case"ad_dlv":this.eY(n)}t.prototype.rY.call(this,i,n)},i.prototype.hY=function(t){return new u.default(t)},i.prototype.eY=function(t){t.pgltcy=this.oE.pageLatency&&this.oE.pageLatency.toString()||"na";var i=this.oE.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.125",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,I,j,M,N,R,D,L,k,C,P,x,U,V,B,F,z,H,q,G,Y,W,Z,Q,X=[],J=1;J<arguments.length;J++)X[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:X[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===(I=null===(S=t.rapidConfig)||void 0===S?void 0:S.clickParams)||void 0===I?void 0:I.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===(j=t.playback)||void 0===j?void 0:j.startTime)?"1":"0",videoRecommendations:!0===t.videoRecommendations?"1":"0",disadf:!0===(null===(R=null===(N=null===(M=t.pluginConfigs)||void 0===M?void 0:M[h.Plugin.PluginType.SOURCE_METADATA])||void 0===N?void 0:N[h.MediaItemInterfaces.MediaItemMimeType.SAPI])||void 0===R?void 0:R.disableAdFetch)?"1":"0",dopl:(null===(k=null===(L=null===(D=t.ui)||void 0===D?void 0:D.docking)||void 0===L?void 0:L.position)||void 0===k?void 0:k.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===(G=null===(q=t.ui)||void 0===q?void 0:q.docking)||void 0===G?void 0:G.threshold)||"",dow:(null===(W=null===(Y=t.ui)||void 0===Y?void 0:Y.docking)||void 0===W?void 0:W.width)||"",doh:(null===(Q=null===(Z=t.ui)||void 0===Z?void 0:Z.docking)||void 0===Q?void 0:Q.height)||"",t:Math.random(),ts:Date.now()-X[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,I,j,M,N,R,D,L,k,C,P,x,U,V,B,F,z,H,q,G,Y,W,Z,Q,X,J,K,$={_R:document.referrer||"",_V:"V",_w:document.location.href||"",bckt:o.default.getBckt()||"",evt:"pb_err",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.125",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===(j=null===(I=i.rapidConfig)||void 0===I?void 0:I.pageParams)||void 0===j?void 0:j.ver)||"",pstaid_p:(null===(N=null===(M=i.rapidConfig)||void 0===M?void 0:M.clickParams)||void 0===N?void 0:N.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===(k=null===(L=null===(D=i.pluginConfigs)||void 0===D?void 0:D[h.Plugin.PluginType.SOURCE_METADATA])||void 0===L?void 0:L[h.MediaItemInterfaces.MediaItemMimeType.SAPI])||void 0===k?void 0:k.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===(Y=null===(G=null===(q=i.ui)||void 0===q?void 0:q.docking)||void 0===G?void 0:G.position)||void 0===Y?void 0:Y.bottom)||"",doth:(null===(Z=null===(W=i.ui)||void 0===W?void 0:W.docking)||void 0===Z?void 0:Z.threshold)||"",dow:(null===(X=null===(Q=i.ui)||void 0===Q?void 0:Q.docking)||void 0===X?void 0:X.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);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.oY=null,this.uY=null,this.aY=null,this.cY=null,this.fY=null,this.lY=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.oY&&this.oY.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.oY=new e.default(this._node,t),this},t.prototype.onDrag=function(t,i,n){return this.uY=t,this.aY=i,this.cY=n,this.vY(["mousedown","touchstart"],t),this.vY(["mousemove","touchmove"],i),this.vY(["mouseup","touchend"],n),this},t.prototype.removeDragEvents=function(){return this.dY(["mousedown","touchstart"],this.uY),this.dY(["mousemove","touchmove"],this.aY),this.dY(["mouseup","touchend"],this.cY),this.uY=null,this.aY=null,this.cY=null,this},t.prototype.onScroll=function(t,i){return this.fY=t,this.lY=i,this.vY(["mouseenter","touchstart"],t),this.vY(["mousemove","touchmove"],t),this.vY(["mouseleave","touchend"],i),this},t.prototype.removeScrollEvents=function(){return this.dY(["mouseenter","touchstart"],this.fY),this.dY(["mousemove","touchmove"],this.fY),this.dY(["mouseleave","touchend"],this.lY),this.fY=null,this.lY=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.vY=function(t,i){var n=this;t.forEach((function(t){n.addEventListener(t,i)}))},t.prototype.dY=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.oE=i,n.pY=null,n.mY="hidden",n.bY=null,n.pY=n.yY(),n.pY&&(n.gY=n.gY.bind(n),document.addEventListener(n.pY,n.gY,!1)),n}return e(i,t),i.prototype.destroy=function(){this.pY&&(document.removeEventListener(this.pY,this.gY,!1),this.pY=null)},i.prototype.isPlayerVisible=function(){var t=this.wY();return!(document[this.mY]||t&&null===t.offsetParent||!1)},i.prototype.yY=function(){var t=u.filter((function(t){return t.prop in document})),i=t&&t[0];return i?(this.mY=i.prop,i.name):null},i.prototype.wY=function(){if(this.bY)return this.bY;var t=this.oE.playerRootElement,i=t&&void 0!==t.getElementsByClassName&&t.getElementsByClassName(o.VIDEO_MAIN_ELEMENT_CLASS);return this.bY=i&&i.length&&i[0]||null,this.bY},i.prototype.gY=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.EY=[],this.fO=t,this.CI={},this.wO()}return t.prototype.getItem=function(t){var i=this.OY(t);return i>-1?this.EY[i]:null},t.prototype.destroy=function(){this.fO.removeEventListeners(this.CI)},t.prototype.OY=function(t){for(var i=0;i<this.EY.length;i++){var n=this.EY[i];if(t.type===n.type)return i}return-1},t.prototype.wO=function(){var t=this;this.CI[e.PROFILE_START]=this.fO.addEventListener(e.PROFILE_START,(function(i){void 0===i&&(i=[]),(i=r.isArray(i)?i:[i]).forEach((function(i){t.AY(i)}))}),this),this.CI[e.PROFILE_END]=this.fO.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._Y.apply(t,s([i],n))}))}),this)},t.prototype.AY=function(t){var i=this.OY(t);i>-1&&this.EY.splice(i,1),this.EY.push({type:t.type,startTime:Date.now()-this.startTime,endTime:void 0})},t.prototype._Y=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},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.OM=t,this.RS=i,this.TY="",this.gdpr=null,this.gdpr_consent=null,this.SY=!1,t&&i&&(e.Privacy.initIframeForGDPR(),this.UU(),this.IY={},this.jY())}return t.prototype.destroy=function(){this.IY=null},t.prototype.c_=function(){this.OM.addEventListener(s.Events.PLAYBACK_START,this.MY,this),this.OM.addEventListener(s.Events.PLAYBACK_RESUMED,this.NY,this),this.OM.addEventListener(s.Events.PLAYBACK_COMPLETE,this.RY,this),this.OM.addEventListener(s.Events.PLAYBACK_STOPPED,this.RY,this),this.OM.addEventListener(s.Events.PLAYBACK_STALLED,this.RY,this),this.OM.addEventListener(s.Events.PLAYBACK_BLOCKED,this.RY,this),this.OM.addEventListener(s.Events.PLAYBACK_PAUSE,this.DY,this),this.OM.addEventListener(s.Events.AD_BREAK_ITEM_PLAYBACK_STARTED,this.LY,this),this.OM.addEventListener(s.Events.AD_BREAK_ITEM_ENDED,this.kY,this)},t.prototype.jY=function(){var t,i=this,n="local"===this.OM.version?"/comscore-6.3.5.min.js":"https://assets.video.yahoo.net/oath/builds/"+this.OM.version+"/comscore-6.3.5.min.js";if(null===(t=window.ns_)||void 0===t?void 0:t.ReducedRequirementsStreamingAnalytics)this.CY();else{r.default.lazyLoad(n,(function(t){var n;t&&(null===(n=window.ns_)||void 0===n?void 0:n.ReducedRequirementsStreamingAnalytics)&&i.CY()}))}},t.prototype.CY=function(){this.IY=new window.ns_.ReducedRequirementsStreamingAnalytics({publisherId:"27061346"}),this.c_()},t.prototype.MY=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.PY(t,"meta"),o=this.PY(t,"license"),u=this.PY(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.xY(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.UY());this.IY.playVideoContentPart(d,c)}},t.prototype.LY=function(t,i){var n,s;this.VY=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.xY(i,"CA2")},c=Object.assign({},a,this.UY());this.IY.playVideoAdvertisement(c,u),this.SY=!0},t.prototype.RY=function(t){"video"===(null==t?void 0:t.playbackMode)&&this.IY.stop()},t.prototype.kY=function(t,i){!0===this.SY&&(this.IY.stop(),this.SY=!1,this.VY=null)},t.prototype.NY=function(t,i){t&&i&&("video"===i.playbackMode&&this.MY(i),"ad"===i.playbackMode&&"background"===i.requestAction&&this.LY(this.VY,i))},t.prototype.DY=function(t){"video"===(null==t?void 0:t.playbackMode)&&this.RY(t),"ad"===(null==t?void 0:t.playbackMode)&&"background"===(null==t?void 0:t.requestAction)&&this.IY.stop()},t.prototype.UY=function(){return{cs_ucfr:this.TY,gdpr:this.gdpr,gdpr_consent:this.gdpr_consent}},t.prototype.xY=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.PY=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.UU=function(){var t=this;e.Privacy.getUSPDoNotSell((function(i,n){n&&(t.TY=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.BY()})):this.BY()},t.prototype.BY=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.TY&&s&&(t.TY=!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.FY=s.capabilities[c.RendererType.HTML5_RAW],e.zY(),(r.userAgent.desktop||r.userAgent.mobile&&v.default.hasNativeAutoplaySupport)&&(e.HY=!0),e.qY=new g.default,e.qY.on(g.RebufferingEvent.WAITING,e.xL,e),e.qY.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.GY&&this.GY.destroy(),t.prototype.destroy.call(this)},i.prototype.play=function(t){if(void 0===t&&(t=0),this.ended=!1,this.node){if(this.nG)return this.publish(c.RendererEvent.ERROR,this.nG),void(this.nG=null);if(this.YY){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.vT(),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.YY=!1,this.fO.publish(a.PROFILE_START,u.METRICS.STREAM_PLAY_TO_RENDER),this.WY(),this.ZY||(this.qY.publishWaitingEvent(!0),this.ZY=!0)}},i.prototype.preload=function(t){},i.prototype.setPlayableItem=function(t,i){void 0===i&&(i=0),this.zY(),this.QY=b.default.getPlaybackMode(t);var n=t.streams||[],s=!1,e=null;this.XY=n,this.JY=n.slice(0),this.qY.init(this.node),(r.userAgent.safari>=6||r.userAgent.tv)&&n.forEach((function(t){t.format&&t.format.indexOf("m3u8")>-1&&(t.isPrimary||t.is_primary||!e)&&(e=t,s=!0)}));var h=[];if(s){if(e)return this.KY(e,i),this.fH=t,!0}else{n.forEach((function(t){h.push(parseInt(t.videoMetadata.bitrate+"",10))})),h=h.sort(),this.$Y=new l.default(this.node,h);var o=this.$Y.getTargetBitrate();if(e=this.tW(o))return this.KY(e,i),this.iW(e),this.oE.mp4Abr&&h.length>1&&(this.nW=this.on(c.RendererEvent.TIMEUPDATE,this.hP,this),this.sW=0),this.fH=t,!0}return!1},i.prototype.setQuality=function(t){this.eW(t.stream.url),this.iW(t.stream)},i.prototype.retryStreams=function(t){var i=this,n=this.oI;if(n&&this.rW<=2)window.setTimeout((function(){i.hW(n,t)}),1e3*w[this.rW-1]);else{this.rW=0;var s=this.JY.indexOf(n);if(this.JY.splice(s,1),0===this.JY.length)return n;var e=p.default.findStreamByProperty(this.JY,p.default.BITRATE,this.$Y.getTargetBitrate(),this.FY);this.hW(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.fO.publish(a.LIVE_RELOAD_MEDIA)},i.prototype.setAudioLanguage=function(t){if(this.node&&this.node.audioTracks&&this.node.audioTracks.length){for(var i,n=-1,s=0;s<this.node.audioTracks.length;s++)(i=this.node.audioTracks[s]).enabled=!1,i.label===t&&-1===n&&(n=s);n>-1&&(this.node.audioTracks[n].enabled=!0)}},i.prototype.oW=function(t,i){var n=this;if(this.node)switch(t===c.NativeVideoEvent.PLAYING&&this.fO.publish(a.PROFILE_END,[u.METRICS.STREAM_PLAY_TO_RENDER,u.METRICS.STREAM_REQUEST_TO_RENDER]),t){case c.NativeVideoEvent.TIMEUPDATE:this.qY.playbackStuck||(this.uW||(this.uW=!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.aW&&r.userAgent.chrome<33&&s>1&&s<2)(d=this.vT())&&d.isLive()?(this.node.pause(),this.WY()):this.seek(0),this.aW=!0;!this.cW&&r.userAgent.androidVersion<=4.4&&this.node.addEventListener("webkitfullscreenchange",(function(){if(n.node){var t=n.node.currentTime;n.cW=!0,n.node.load();var i=n.on(c.RendererEvent.LOADEDMETADATA,(function(){if(n.node){n.WY();var s=n.vT();s&&s.isLive()&&(n.node.currentTime=parseInt(t+"",10)),n.removeEventListener(c.RendererEvent.LOADEDMETADATA,i)}}),n)}}),!1)}this.fW||this.qY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.lW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKING:this.seeking=!0,this.qY.onSeeking(),this.fW||this.qY.playbackStuck||this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.lW=this.node.currentTime;break;case c.NativeVideoEvent.SEEKED:this.fW?this.vW():this.qY.playbackStuck||(this.seeking=!1,this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered})),this.lW=this.node.currentTime;break;case c.NativeVideoEvent.ERROR:var e=this.node.error,h=this.dW(e),f=this.JY.length<=1&&this.rW>=2,l=o.E_WARNING;f&&(l=o.E_PLAYER);var v=b.default.createErr(o.ErrorGroup.Streaming,this.eO,l,h,null,this.node.src);if(this.QY!==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.rW++,f||this.fO.publish(a.WARNING,v);var d,p=null;return(p=(d=this.vT())&&!d.isLive()?this.retryStreams(this.lW):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.aW=!1,this.qY.onEnded(),this.qY.playbackStuck&&this.qY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.LOADEDDATA:if(this.fW){this.pW();break}this.fO.publish(a.PROFILE_END,u.METRICS.LOAD_TO_LOADED_DATA),this.publish(i),this.node.audioTracks&&this.node.audioTracks.length>1&&this.mW();break;case c.NativeVideoEvent.PAUSE:if(this.ended||this.node.ended)break;if(this.seeking)break;if(!this.node.paused)break;this.qY.playbackStuck&&this.qY.publishWaitingEvent(!1),this.publish(i);break;case c.NativeVideoEvent.PLAY:case c.NativeVideoEvent.PLAYING:if(this.fW){t===c.NativeVideoEvent.PLAYING&&this.bW();break}this.qY.playbackStuck||(this.uW=t===c.NativeVideoEvent.PLAYING,this.publish(i));break;case c.NativeVideoEvent.WAITING:case c.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.yW=function(t,i){return t.indexOf(i)>-1},i.prototype.gW=function(t,i){return this.yW(t,"mp4")&&this.yW(i,"m3u8")||this.yW(t,"m3u8")&&this.yW(i,"mp4")},i.prototype.zY=function(){this.fW=!1,this.wW="",this.oI=null,this.rW=0,this.JY=[],this.EW=null,this.ZY=!1,this.lW=0,this.uW=!1,this.fH=null,this.QY=c.PlaybackMode.VIDEO,this.aW=!1,this.cW=!1,this.sW=0,this.nW&&(this.removeEventListener(c.RendererEvent.TIMEUPDATE,this.nW),this.nW=null),this.seeking=!1,this.ended=!1},i.prototype.OW=function(){var t=null;if(this.XY)for(var i=0,n=this.XY;i<n.length;i++){var s=n[i];if(s.isPrimary){t=s;break}}return t},i.prototype.tW=function(t){var i=this.OW();return i||(i=p.default.findStreamByProperty(this.XY,"bitrate",t,this.FY)),!i&&this.XY&&this.XY.length>0&&(i=this.XY[0]),i},i.prototype.hP=function(t){if(t-this.sW>10){this.sW=t;var i=this.tW(this.$Y.getRecommendedBitrate());i&&(this.eW(i.url),this.iW(i))}},i.prototype.iW=function(t){this.$Y&&(this.$Y.currentBitrate=t.videoMetadata.bitrate),this.fO.publish(a.PLAYBACK_INFO,{currentStreamBitrate:t.videoMetadata.bitrate,qualityLevels:this.XY.length})},i.prototype.KY=function(t,i,n){var s=this;if(this.node){var e=this.vT();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.fO.publish(a.INFO,b.default.createErr(o.ErrorGroup.Streaming,this.eO,o.E_INFO,l,null,this.node.src))}if(r.userAgent.safari&&(this.GY?e.isRecovering()&&this.GY.init():this.GY=new h.default(this.node,t.fairplayCertificatePath,this.AW.bind(this),this.reportError.bind(this))),this.ended=!1,this.aW=!1,this.node.src!==t.url||n){if(r.userAgent.iphone&&Object.prototype.hasOwnProperty.call(this.node,"webkitDisplayingFullscreen")&&!this.node.webkitDisplayingFullscreen&&t.format&&this.gW(t.format,this.wW)){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.eO,o.E_INFO,o.INFO_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED);return void this.fO.publish(a.INFO,y)}if(this._W(),this.fO.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.YY=!0,this.wW=t.format||"",this.oI=t,this.QY===c.PlaybackMode.VIDEO&&this.fO.publish(a.PROFILE_START,u.METRICS.LOAD_TO_LOADED_DATA),r.userAgent.mobile?v.default.hasNativeAutoplaySupport&&this.node.load():(this.node.load(),this.oE.getState()===f.States.VIDEO&&this.play())}}},i.prototype.TW=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.pW=function(){this.seek(this.SW)},i.prototype.AW=function(){this.oE.isDrmAvailable=!0,this.oE.drmSystem="fairplay"},i.prototype.vW=function(){if(this.node){this.WY();var t=this.IW.parentNode;t&&t.removeChild(this.IW)}},i.prototype.bW=function(){this.publish(c.CustomRendererEvent.SRC_SWITCHED),this.fW=!1},i.prototype.eW=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.fW=!0,this.node.pause(),this.SW=this.node.currentTime;var e=document.createElement("canvas");this.IW=e,e.className="vp-switching-canvas",e.width=n,e.height=s;var r=this.TW();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.hW=function(t,i){this.KY(t,i,!0),this.iW(t)},i.prototype.mW=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.vT();i&&(i.setMultiLanguages(t),this.fO.publish(a.MULTI_LANGUAGES_AVAILABLE))}},i.prototype.xL=function(t){t.value&&(this.uW=!1),t.ignoreBuffering=t.ignoreBuffering||this.seeking,this.publish(c.RendererEvent.WAITING,t)},i.prototype.eV=function(t){this.fO.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.vO=t,this.YL={},this.CI={},e.CmdName)if(Object.prototype.hasOwnProperty.call(e.CmdName,i)){var n=e.CmdName[i];this.YL[n]={}}}return t.prototype.destroy=function(){this.removeAllCommands(),this.YL={}},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.vO)}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.CI[u+t+h.key]=h.addEventListener(u,n[a],n))}return this.YL[t][h.key]=h,h},t.prototype.removeCommand=function(t){if(t){var i=this.YL[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.CI[s+t.cmdName+t.key]),delete this.CI[s+t.cmdName+t.key])}t.destroy()}}},t.prototype.removeRelatedCommands=function(t){if(Object.prototype.hasOwnProperty.call(this.YL,t)){var i=this.YL[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.YL)Object.prototype.hasOwnProperty.call(this.YL,t)&&this.removeRelatedCommands(t)},t.prototype.getCommand=function(t){var i=this.YL[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("MKj3"),c=n("pUuq"),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},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.QM=0,r.XY=[],r.jW=NaN,r.MW={},r.NW=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.fL},enumerable:!0,configurable:!0}),i.prototype.hasStreams=function(){return 0!==this.XY.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.RW=n,this.FY=s,this.DW=o.default.deepCopy(t),this.XE(t),t.source&&t.source.streams&&this.LW(t.source.streams,i,s),t.adBreaks&&this.kW(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.jW},i.prototype.setRawDuration=function(t){this.jW=t},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return this.DW},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.QM},set:function(t){this.QM=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"refPlaybackId",{get:function(){return this.fL+"#"+this.videoSession},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"samplingId",{get:function(){return this.PW},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.XY},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"visualSeekData",{get:function(){return this.xW},set:function(t){this.xW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"brandingData",{get:function(){return this.UW},set:function(t){this.UW=t},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"viewCount",{get:function(){return this.metadata&&!isNaN(this.metadata.viewCount)?this.metadata.viewCount:NaN},enumerable:!0,configurable:!0}),i.prototype.updateAdBreak=function(t,i,n,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.RW,i.FY);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.XY.length>0?this.XY[0].cdn:null},i.prototype.hasLiveStreams=function(){for(var t=0,i=this.XY;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.XY[0].getType():"none"},i.prototype.getStreamProtocol=function(){return this.hasStreams()?this.XY[0].streamProtocol:"none"},i.prototype.getSubtitleStreams=function(){return this.altStreams.filter((function(t){return"SUBTITLES"===t.type}))},i.prototype.mayUpdateVideoSession=function(){this.VW||this.BW()},i.prototype.useVideoSession=function(){this.VW=!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.FW=s,s.selected=!0):s.selected=!1}},i.prototype.getCurrLanguage=function(){return this.FW},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.VW=!0,this.PW=this.generateSamplingId()},i.prototype.getAspectRatio=function(){return this.XY.length>0?this.XY[0].aspectRatio:null},i.prototype.updateCompletedAdBreak=function(t){t&&(this.removeAdBreaks([t]),this.MW[this.videoSession]=this.MW[this.videoSession]||[],this.MW[this.videoSession].push(t))},i.prototype.kW=function(t,i,n){var s=this;this.adBreaks=t.map((function(t){return new u.default(s,t,i,n)}))},i.prototype.XE=function(t){this.dN(t);var n=o.default.deepCopy(t);n=o.default.mergeObjects(n,b),o.default.mergeObjects(this,n,!0),o.default.mergeObjects(this,this.NW,!0),this.fL=i.createKey(this.id,this.mimetype)},i.prototype.dN=function(t){try{var i=new m;i.addSchema(d.streamSchema,"/streamSchema"),i.addSchema(v.sourceSchema,"/sourceSchema"),i.validate(t,l.mediaItemSchema,{throwError:!0})}catch(t){var n="Invalid media item config: "+t.property+" "+t.message;throw new Error(n)}},i.prototype.LW=function(t,i,n){var s=this;if(t&&t.length){this.XY=[];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.XY=f;break}}}this.XY.length>0&&this.XY.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i.prototype.BW=function(){this.updateVideoSession(),this.zW()},i.prototype.zW=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.HW=null,i.qW=0,i.tV=null,i.GW=0,i.reset(),i}return e(i,t),i.prototype.destroy=function(){this.YW()},i.prototype.init=function(t){t&&(this._node=t,this.reset(),this.WW())},i.prototype.onSeeking=function(){this.ZW()},i.prototype.onEnded=function(){this.YW()},i.prototype.reset=function(){this._L=!0,this.playbackStuck=!1,this.QW=NaN,this.XW=0,this.JW=null,this.qW=0,this.GW=0,this.tV=null},i.prototype.publishWaitingEvent=function(t){if((!this.playbackStuck||!t)&&(this.playbackStuck||t)){var i={type:"waiting",value:t,ignoreBuffering:this._L};this.publish(r.WAITING,i),this.playbackStuck=t,t?(this.QW=this._node&&this._node.currentTime||0,this._L||(this.tV=Date.now())):(this._L=!1,this.QW=NaN,this.tV&&(this.qW+=Date.now()-this.tV,this.tV=null))}},i.prototype.WW=function(){this.YW(),this.HW=new a.default(250),this.HW.on(a.default.TIMER_EVENT,this.KW,this),this.HW.start()},i.prototype.KW=function(){this.ZW(),this.$W()>5e3&&(this.tZ(),this.GW=0)},i.prototype.ZW=function(t){if(void 0===t&&(t=!1),this&&this._node){var i=this.iZ();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.XW&&!s||this._node.paused?!isNaN(this.QW)&&n>this.QW&&this.publishWaitingEvent(!1):this.playbackStuck||(this._L=n<=.02,this.publishWaitingEvent(!0)),this.XW=n,this.JW=Date.now()}}else this.YW()},i.prototype.iZ=function(){var t=Date.now();return this.JW=this.JW||t,t-this.JW},i.prototype.$W=function(){var t=Date.now();return this.GW=this.GW||t,t-this.GW},i.prototype.tZ=function(){this.publish(r.SEG_INFO_AVAILABLE,{val:[{buf_dur:this.qW}]}),this.qW=0},i.prototype.YW=function(){this.HW&&(this.HW.destroy(),this.HW=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.nZ=[],this.sZ=[],this.eZ=null,this.rZ=r.default.hasTouchRestrictions,this.hZ=1,this.fill()}return t.getPool=function(){return t.oZ||(t.oZ=new t),t.oZ},t.prototype.get=function(){this.nZ.length<=2&&this.fill();var t=this.nZ.shift();if(t)return e.default.isUnmuteRestrictionRemoved(t)||this.sZ.push(t),t.setAttribute("data-vp-ridx",this.hZ+""),t.__rendererIndex=this.hZ,this.hZ++,t},t.prototype.fill=function(){this.uZ(10-this.nZ.length)},t.prototype.discard=function(t){e.default.cleanupVideoNode(t);var i=this.sZ.indexOf(t);-1!==i&&this.sZ.splice(i,1)},t.prototype.destroy=function(){this.eZ&&this.eZ(),this.nZ.length=0,this.sZ.length=0,this.sZ=this.nZ=[],this.eZ=null},t.prototype.uZ=function(t){for(var i=0;i<t;i++){var n=s.userAgent.mobile?e.default.createMobileVideoNode():h.default.createVideoNode();this.nZ.push(n)}this.rZ&&this.aZ()},t.prototype.aZ=function(){var t=this;this.eZ||(this.eZ=e.default.waitForValidUserGestureEvent((function(){t.eZ=null,t.sZ.forEach(e.default.removeUnmuteRestriction),t.nZ.forEach(e.default.removeUnmuteRestriction),t.sZ.forEach(e.default.removeTouchToPlayRestriction),t.nZ.forEach(e.default.removeTouchToPlayRestriction),t.sZ.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.b("    <img class='vp-start-screen-image' src='"),s.b(s.v(s.f("imageSrc",t,i,0))),s.b("' width='"),s.b(s.v(s.f("width",t,i,0))),s.b("' height='"),s.b(s.v(s.f("height",t,i,0))),s.b("' aria-hidden='true'>"),s.b("\n"+n),s.s(s.d("config.showButton",t,i,1),t,i,0,231,350,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("        <div class='vp-start-screen-button' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.PLAY_VIDEO",t,i,0))),s.b("' role='button'></div>"),s.b("\n"+n)})),t.pop()),s.b("    <div class='vp-start-screen-bar-wrapper'>"),s.b("\n"+n),s.b("        <div class='vp-start-screen-bar' tabindex='-1'>"),s.b("\n"+n),s.s(s.d("config.showProvider",t,i,1),t,i,0,511,618,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h4 class='vp-start-screen-provider' tabindex='1'>"),s.b(s.v(s.d("item.provider.name",t,i,0))),s.b("</h4>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showTitle",t,i,1),t,i,0,676,772,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <h3 class='vp-start-screen-title' tabindex='2'>"),s.b(s.v(s.d("item.title",t,i,0))),s.b("</h3>"),s.b("\n"+n)})),t.pop()),s.s(s.d("config.showDescription",t,i,1),t,i,0,833,939,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("                <p class='vp-start-screen-description' tabindex='3'>"),s.b(s.v(s.d("item.description",t,i,0))),s.b("</p>"),s.b("\n"+n)})),t.pop()),s.b("        </div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},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.cZ=[],this.fZ=0,this.sO=t}return t.prototype.destroy=function(){this.cZ=[],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.sO.addItem(s);this.contains(r)||(this.cZ.push(r),this.sO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,r))}this.cZ.length&&-1===this.position&&(this.position=0)}},t.prototype.addItemAtIndex=function(t,i){if(t&&void 0!==i&&!(i<0)){var n=this.sO.addItem(t);this.contains(n)||(this.cZ.splice(i,0,n),this.sO.publish(e.MediaStoreEvent.MEDIA_ITEM_ADDED,n)),this.cZ.length&&-1===this.position&&(this.position=0)}},t.prototype.removeItems=function(t,i){var n=this;this.cZ.slice(t,t+i).forEach((function(t){return n.sO.publish(e.MediaStoreEvent.MEDIA_ITEM_REMOVED,t)})),this.cZ.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.sO.getByData(t)&&n.push(i.sO.updateItem(t))})),n):n},t.prototype.updateMediaItemsState=function(t,i){var n=this;t&&t.forEach((function(t){n.sO.updateItemState(t,i)}))},t.prototype.updateMediaItemsSourceState=function(t,i){var n=this;t&&t.forEach((function(t){n.sO.updateItemSourceState(t,i)}))},t.prototype.contains=function(t){return this.cZ.indexOf(t)>=0},t.prototype.getMediaItemAt=function(t){return t<0||t>=this.cZ.length?null:this.sO.get(this.cZ[t])},t.prototype.getMediaItemById=function(t){return t?this.sO.getById(t):null},t.prototype.getMediaItemBySessionId=function(t){return t?this.sO.getBySessionId(t):null},t.prototype.getCurrentItem=function(){return this.getMediaItemAt(this.position)},t.prototype.appendItem=function(t){if(t){var i=this.cZ.length;return this.cZ.push(t.key),i}return-1},t.prototype.getItems=function(){for(var t=[],i=0;i<this.cZ.length;i++){var n=this.getMediaItemAt(i);n&&t.push(n)}return t},t.prototype.getItemIds=function(){for(var t=[],i=0;i<this.cZ.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.cZ;n<s.length;n++){if(0===s[n].indexOf(t))return i;i++}return-1},Object.defineProperty(t.prototype,"size",{get:function(){return this.cZ.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.cZ.length)return-1;var s=this.position+1;if(n.playlistLoop&&s===this.cZ.length)return n.looped=!0,0;if(t){if(s<this.cZ.length)return s;if(i&&s===this.cZ.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.cZ.length-1},Object.defineProperty(t.prototype,"playlistId",{get:function(){return this.lZ},set:function(t){this.lZ=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playlistFetchIndex",{get:function(){return this.fZ},set:function(t){this.fZ=t},enumerable:!0,configurable:!0}),t.prototype.vZ=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("pUuq"),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.ZS=i,s.oE=n,s.sO=n.mediaStore,s}return e(i,t),i.prototype.destroy=function(){this.ZS.removeRelatedCommands(u.CmdName.CMD_METADATA_LOAD),this.ZS.removeRelatedCommands(u.CmdName.CMD_SOURCE_METADATA_LOAD),t.prototype.destroy.call(this)},i.prototype.loadItem=function(t){var i=t.rawItemData;this.ZS.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i]},this.dZ()),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.RS.getItemPosition(t.id)+1;this.publish(c.PROFILE_START,c.METRICS.CMS_SOURCE_REQUEST),this.ZS.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],playlistPosition:n},this.dZ()),this)}},i.prototype.recover=function(t){var i=t.rawItemData;this.ZS.executeCommand(u.CmdName.CMD_SOURCE_METADATA_LOAD,r({mimetype:t.mimetype,mediaItemDataArr:[i],recovering:!0},this.dZ()),this)},i.prototype.loadMetadata=function(t){var i,n=this;if((i=t&&t.length?t:this.RS.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.pZ(s)&&this.publish(c.PROFILE_START,c.METRICS.CMS_REQUEST),Object.keys(e).forEach((function(t){n.ZS.executeCommand(u.CmdName.CMD_METADATA_LOAD,r({mimetype:t,mediaItemDataArr:e[t]},n.dZ()),n)}))}},i.prototype.loadMoreItems=function(t,i){var n=this.RS.getItems();n&&n.length&&(this.publish(c.PROFILE_START,c.METRICS.CMS_MORE_ITEMS_REQUEST),this.ZS.executeCommand(u.CmdName.CMD_MORE_ITEMS_LOAD,{cb:i,mimetype:n[0].mimetype,reason:t,start:this.RS.playlistFetchIndex},this))},i.prototype.onSourceMetadataLoadComplete=function(t,i){var n=this;this.publish(c.PROFILE_END,c.METRICS.CMS_SOURCE_REQUEST),this.ZS.removeCommand(t),this.RS.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.RS.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.ZS.removeCommand(t);var e=v.default.createErr(n.group,this.oE.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.ZS.removeCommand(t),this.mZ(i),this.pZ(i)&&this.publish(c.PROFILE_END,c.METRICS.CMS_REQUEST),this.RS.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.RS.updateMediaItemsState(i,n)},i.prototype.onMetadataLoadInfo=function(t,i){i&&this.publish(h.API_INFO_AVAILABLE,i)},i.prototype.onMetadataLoadError=function(t,i){this.ZS.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.oE.playbackState,a.E_WARNING,i.subcategory,i.message);this.publish(c.WARNING,n)},i.prototype.onMoreItemsLoadComplete=function(t,i){this.ZS.removeCommand(t),this.publish(c.PROFILE_END,c.METRICS.CMS_MORE_ITEMS_REQUEST);var n=this.RS;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.ZS.removeCommand(t);var n=v.default.createErr(a.ErrorGroup.Configuration,this.oE.playbackState,i.category,i.subcategory,null,i.debugMessage);this.publish(c.INFO,n)},i.prototype.pZ=function(t){var i=this.RS.getCurrentItem();return i&&t&&t.length&&t.some((function(t){return t.id===i.id}))},i.prototype.dZ=function(){var t=this.oE,i={autoplay:t.autoplay,privacyConsent:t.consent,rendererCapabilities:t.capabilities,rendererTypes:t.rendererTypes,thumbnailDimensions:t.thumbnailDimensions},n=this.RS.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.mZ=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,"RS",{get:function(){return this.oE.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.bZ="",n.yZ="",n.pl_type="",n.pl_uuid="",n.pl_intr="",n.pl_sec="",n.bckt=u.default.getBckt(),n.loc=n.gZ(),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.wZ(n)||this.pl_intr,this.pl_sec=this.EZ(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.yZ&&(this.yZ=i.getJSDownloadTime()),this.yZ},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"cssdt",{get:function(){if(""===this.bZ){var t=u.default.getResourceLoadTime(/vdms-video-player\.css$/);this.bZ=o.TypeChecker.isNumber(t)?Math.round(t).toString():"na"}return this.bZ},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.gZ=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.wZ=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.EZ=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 I=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.aL=e,this.group=t,this.phase=this.OZ(s),this.category=i,this.subcategory=n,this.AZ=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.OZ=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.aL&&(this.aL.android||this.aL.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.aL&&(this.aL.android||this.aL.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.aL):s,this.AZ||s||e.default.ERR_TECH_DIFFICULTIES},enumerable:!0,configurable:!0}),t}();i.default=I},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._Z=!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._Z},t.prototype.handleEvent=function(t){switch(t.type){case"mousedown":if(this.isTouchDevice())return;case"touchstart":this.AY(t);break;case"touchmove":this.TZ(t);break;case"mouseup":if(this.isTouchDevice())return;case"touchend":this._Y(t);break;case"touchcancel":this.SZ()}},t.prototype.AY=function(t){var i,n="touchstart"===t.type;n&&(this._Z=!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.TZ=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._Y=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.SZ=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.IZ=t,this.jZ=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.jZ.call(s,this.IZ)},i.enroll=function(t,i){clearTimeout(t.MZ),t.NZ=i},i.unenroll=function(t){clearTimeout(t.MZ),t.NZ=-1},i.RZ=i.active=function(t){clearTimeout(t.MZ);var i=t.NZ;i>=0&&(t.MZ=setTimeout((function(){t.LH&&t.LH()}),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.jV=null,this.ZM="",e.prototype.destroy.call(this)},c.prototype.destroy=function(){this.jV=null,this.ZM="",r.prototype.destroy.call(this)},c.prototype.GS=a.prototype.GS=function(){this.SM="subtitle",this.jV=new h,this.DZ()},c.prototype.VM=a.prototype.VM=function(t){this.DZ(),e.prototype.VM.call(this,t)},c.prototype.onSegmentLoadProgress=a.prototype.onSegmentLoadProgress=function(t,i){var n=this,s=n.oI;if(i&&s&&s.timescale){var e=i.stream;if((!e||s.equals(e))&&"firstByte"!==i.position){var r=n.jV.extractVttCaptions(i.data);if(r.length){var h=n.jV.parse(i.data,"trun"),o=h?h.sampleData:[];if(o.length===r.length){var u=n.jV.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.LZ(t.cueTime)+a,u=null!==h?h+r:c+r;n.ZM+="\n"+n.kZ(h)+" --\x3e "+n.kZ(u),n.ZM+="\n"+t.cueText+"\n"}c+=r})),n.ZM+="\n"}}}}},c.prototype.onSegmentLoadComplete=a.prototype.onSegmentLoadComplete=function(t,i){var n=this.oI;if(n){var s=n.getSegmentfromSeqNum(this.xM);s&&this.__controller.sendEvent(u.VTT_SEGMENT_LOADED,this.qL(s))}this.JS.onSegmentLoadComplete.call(this,t,i),this.ZM=""},c.prototype.DZ=a.prototype.DZ=function(){this.ZM="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n"},c.prototype.LZ=a.prototype.LZ=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.kZ=a.prototype.kZ=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.qL=a.prototype.qL=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.ZM,i.offset=0,i.adjustedTime=0),i},c.prototype.lI=a.prototype.lI=function(){},c.prototype.PM=a.prototype.PM=function(t){this.oI.activeInitSegment=t},c.prototype.kM=a.prototype.kM=function(){}},VVuu:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Q534"),e=function(){function t(t){this.IW=new s.default(document.createElement("canvas")),this.CZ=this.IW.node.getContext("2d"),this.IW.setSize("80","80").add("vp-360-pie"),t.appendChild(this.IW.node),this.PZ=1,this.xZ()}return t.prototype.addClickListener=function(t){this.pH=function(i){i.preventDefault(),i.stopPropagation(),t&&t()},this.UZ=function(t){t.preventDefault(),t.stopPropagation()},this.IW.addEventListener("click",this.pH,!1).addEventListener("mousedown",this.UZ,!1).addEventListener("mouseup",this.UZ,!1)},t.prototype.update=function(t){var i=t%360;i<0&&(i=360+i),i*=-1,this.PZ=i/90+Math.PI/4-3.79,this.xZ()},t.prototype.destroy=function(){this.IW.removeEventListener("click",this.pH,!1).removeEventListener("mousedown",this.UZ,!1).removeEventListener("mouseup",this.UZ,!1).removeFromParent().destroy()},t.prototype.xZ=function(){var t=this.CZ;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.PZ;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.VZ={}}e.prototype.destroy=function(){var t=this;Object.keys(t.VZ).forEach((function(i){var n=t.VZ[i];n&&n.destroy()})),t.VZ={}},e.prototype.add=function(t){if(!t||!t.url)return null;var i=this.BZ(t);return this.VZ[i]||(this.VZ[i]=new s({name:"init",url:t.url,range:t.range})),this.VZ[i]},e.prototype.remove=function(t){if(t&&t.url){var i=this.BZ(t);(t=this.VZ[i])&&(t.destroy(),delete this.VZ[i])}},e.prototype.get=function(t){if(!t||!t.url)return null;var i=this.BZ(t);return this.VZ[i]},e.prototype.getFirst=function(){var t=Object.keys(this.VZ);return t&&t.length?this.VZ[t[0]]:null},e.prototype.BZ=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"}}},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("EOV8"),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.PLAY_COMPLETE="ActiveRendererPlayComplete"}(h=i.ActiveRendererEvent||(i.ActiveRendererEvent={})),function(t){t.SRC_SWITCHING="NextRendererSrcSwitching",t.SRC_SWITCHED="NextRendererSrcSwitched",t.PAUSE="NextRendererPaused",t.ENDED="NextRendererEnded",t.ERROR="NextRendererVideoError",t.INFO="NextRendererVideoInfo",t.LOADEDMETADATA="NextRendererLoadedMetadata",t.LOADEDDATA="NextRendererLoadedData",t.STALLED="NextRendererStalled",t.LOADSTART="NextRendererLoadStart",t.PLAY="NextRendererPlay",t.PLAYING="NextRendererPlaying",t.SEEKING="NextRendererSeeking",t.SEEKED="NextRendererSeeked",t.TIMEUPDATE="NextRendererTimeupdate",t.VOLUMECHANGE="NextRendererVolumechange",t.WAITING="NextRendererWaiting"}(o=i.NextRendererEvent||(i.NextRendererEvent={}));var I=function(t){function i(i,n,s){var e=t.call(this,"RendererController")||this;return e.vO=s,e.oE=i,e.fO=n,e.FZ=null,e.zZ=null,e.HZ=null,e.qZ=null,e.GZ={},e.YZ={},e.WZ={},e.ZZ=e.QZ(),e.XZ=!1,e}return e(i,t),Object.defineProperty(i.prototype,"activeRendererType",{get:function(){var t,i;return(null===(i=null===(t=this.FZ)||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.JZ(t),e=s?T.RendererType.EXTERNAL:t.rendererType;if(!e){var h=void 0,o=void 0,u=void 0;return v.default.isHtml5MseAvailable()?(h=m.PLAYER_CODES.E_NO_RENDERER_FOUND,o="no renderer type is applicable for the playable item",u=p.default.createErr(m.ErrorGroup.Configuration,this.oE.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.oE.playbackState,m.E_INFO,h,"",o)),void i(u)}var a=this.KZ(t);if(this.HZ!==a)!this.ZZ&&this.FZ&&this.FZ.type===e&&this.FZ.type!==T.RendererType.EXTERNAL||t.isRecovering()&&this.FZ?this.zZ=this.FZ:(this.zZ=e===T.RendererType.EXTERNAL?this.$Z(s):this.tQ(e),this.iQ(this.zZ)),this.HZ=a,this.XZ=!0,this.zZ.waitForReady((function(t){n.XZ=!1,t&&(n.publish(r.RENDERER_TIMEOUT),n.zZ&&n.nQ(n.zZ)),i(t)}));else{if(this.XZ)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.KZ(t);if(this.HZ!==s)return this.prepareNextRenderer(t,(function(){n.setItemNextRenderer(t,i)})),!0;var e=this.KZ(t,i);return this.qZ===e||!!this.zZ&&(this.qZ=e,this.zZ.setPlayableItem(t,i))},i.prototype.preloadNextRenderer=function(t){if(this.zZ&&this.zZ.preload){var i=this.zZ.getPlayableItem();if(i&&(this.oE.preload||t)&&this.zZ.type===T.RendererType.HTML5_HLS){var n={startOffset:i.customConfig&&i.customConfig.playbackStart||NaN,bufferLimit:this.oE.preloadBufferSize||30};this.zZ.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.zZ&&(delete this.GZ[this.zZ.type],this.sQ(this.zZ),this.switchToRenderer(this.zZ,t),this.HZ=null,this.qZ=null)},i.prototype.didRendererTimeOut=function(){return!(!this.FZ||!this.FZ.timedOut)},i.prototype.getActiveRenderer=function(){return this.FZ},i.prototype.getNextRendererNode=function(){return this.zZ&&this.zZ.node||null},i.prototype.syncPlaybackState=function(){this.FZ&&(this.FZ.paused=this.oE.isPaused(),this.FZ.seeking=this.oE.isSeeking())},i.prototype.rewindAfterEnd=function(t){if(this.FZ)if(t)switch(this.FZ.type){case T.RendererType.HTML5_RAW:case T.RendererType.HTML5_HLS:this.FZ.node&&(this.FZ.node.src="")}else this.FZ.seek(0)},i.prototype.play=function(t){this.publish(r.PLAY_CALLED),this.FZ&&this.FZ.play(t)},i.prototype.pause=function(){this.FZ&&(this.FZ.type===T.RendererType.HTML5_TV_TIZEN||this.FZ.type===T.RendererType.HTML5_TV_ORSAY||(d.isFunction(this.FZ.pause)?this.FZ.pause():this.FZ.node&&this.FZ.node.pause()))},i.prototype.getCurrentDate=function(){return this.FZ&&this.FZ.getCurrentDate()||0},i.prototype.endVideo=function(){var t=this.FZ;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.FZ&&this.FZ.seek(t)},i.prototype.getCurrentTime=function(){return this.FZ?this.FZ.getCurrentTime():0},i.prototype.getDuration=function(){return this.FZ?this.FZ.getDuration():NaN},i.prototype.getMuted=function(){if(this.FZ)return this.FZ.getMuted()},i.prototype.getVolume=function(){return this.FZ?this.FZ.getVolume():NaN},i.prototype.setQuality=function(t){this.FZ&&this.FZ.setQuality(t)},i.prototype.showAirplayTargetMenu=function(){this.FZ&&this.FZ.showAirplayTargetMenu&&this.FZ.showAirplayTargetMenu()},i.prototype.setPIPMode=function(t){var i;null===(i=this.FZ)||void 0===i||i.setPIPMode(t)},i.prototype.setVolume=function(t){this.FZ&&this.FZ.setVolume(t)},i.prototype.setMute=function(t){this.FZ&&this.FZ.setMute(!!t)},i.prototype.setAudioLanguage=function(t){this.FZ&&this.FZ.setAudioLanguage&&this.FZ.setAudioLanguage(t)},i.prototype.stopMedia=function(){if(this.FZ)return this.FZ.detachNode(),this.FZ.stopMedia()},i.prototype.stopNextRenderer=function(t){if(this.zZ)return this.zZ.setError(t),this.zZ.detachNode(),this.zZ.stopMedia()},i.prototype.skip=function(){this.FZ&&d.isFunction(this.FZ.skip)&&this.FZ.skip()},i.prototype.switchToRenderer=function(t,i){this.eQ(this.FZ);var n=this.FZ,s=n&&n!==t;s&&a.userAgent.mobile&&v.default.exitFullscreen(n.node),this.rQ(t),this.oE.playbackState.rendererType=t.type,this.setVolume(this.oE.volume),this.setMute(this.oE.mute),this.hQ(this.FZ),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.nQ(n):this.oQ(n)),this.uQ(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.FZ&&this.FZ.enableMobileNativeCC&&this.FZ.enableMobileNativeCC(t)},i.prototype.handleAdvancePreparePreloadNextRenderer=function(t){var i=this;t&&t.rendererType===T.RendererType.HTML5_HLS&&this.prepareNextRenderer(t,(function(n){n||i.zZ===i.FZ||t.isLive()||(i.setItemNextRenderer(t,0),i.preloadNextRenderer(!0))}))},i.prototype.suspendStreaming=function(){this.FZ&&this.FZ.suspendStreaming()},i.prototype.resumeStreaming=function(){this.FZ&&this.FZ.resumeStreaming()},i.prototype.destroy=function(){this.FZ&&this.FZ.destroy(),this.zZ&&this.zZ.destroy()},i.prototype.hQ=function(t){t&&(this.aQ(t,T.CustomRendererEvent,h,this.YZ),this.aQ(t,T.RendererEvent,h,this.YZ))},i.prototype.eQ=function(t){t&&(t.removeEventListeners(this.YZ),this.YZ={})},i.prototype.iQ=function(t){t&&t!==this.FZ&&this.aQ(t,T.RendererEvent,o,this.WZ)},i.prototype.sQ=function(t){t&&(t.removeEventListeners(this.WZ),this.WZ={})},i.prototype.aQ=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.cQ=function(t){var i=this.oE,n=this.fO,s=this.GZ[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.fQ(s,t),s},i.prototype.tQ=function(t){return this.cQ(t)},i.prototype.$Z=function(t){if(this.FZ&&this.FZ.type===T.RendererType.EXTERNAL&&this.FZ.getExternalPlayer()===t)return this.FZ;var i=this.tQ(T.RendererType.EXTERNAL);return i.setExternalPlayer(t),i},i.prototype.oQ=function(t){var i=[T.RendererType.HTML5_RAW_360,T.RendererType.HTML5_HLS_360,T.RendererType.EXTERNAL];if(t){var n=t.type;this.uQ(t,!1),this.GZ[n]||-1!==i.indexOf(n)?t.destroy():this.fQ(t,n)}},i.prototype.uQ=function(t,i){t&&(i?(t.detachNode&&t.detachNode(),t.reattachNode&&t.reattachNode()):(t.detachNode&&t.detachNode(),t.stopMedia&&t.stopMedia()))},i.prototype.JZ=function(t){if(!(t instanceof c.default&&t.adPluginMimeType))return null;if(!this.oE.config.ads.preferExternalPlayback)return null;var i,n=this.vO.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.KZ=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.QZ=function(){var t=a.userAgent.mobile&&!l.default.hasNativeAutoplaySupport;return!(a.userAgent.tv||a.userAgent.ios||t)},i.prototype.nQ=function(t){return delete this.GZ[t.type],t.destroy()},i.prototype.rQ=function(t){t&&(this.FZ=t,t.setActive(!0))},i.prototype.fQ=function(t,i){t&&(this.GZ[i]=t,t.setActive(!1))},i}(u.default);i.RendererController=I},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.AM=t}return t.prototype.getCurrentAdBreak=function(){var t=this.getCurrentAdBreakItem();return t?t.adBreak:null},t.prototype.getCurrentAdBreakItem=function(){var t=this.AM.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 ka(t){var i=0;return function(){return i<t.length?{done:!1,value:t[i++]}:{done:!0}}}var Xa="function"==typeof Object.defineProperties?Object.defineProperty:function(t,i,n){return t==Array.prototype||t==Object.prototype||(t[i]=n.value),t};function $a(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 Rb=$a(this);function Dc(t,i){if(i)t:{var n=Rb;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&&Xa(n,t,{configurable:!0,writable:!0,value:i})}}function Ec(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function Pd(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 Qd(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 Kh(t){return t||Array.prototype.fill}function Lh(t){var i="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return i?i.call(t):{next:ka(t)}}Dc("Symbol",(function(t){function i(t,i){this.Ur=t,Xa(this,"description",{configurable:!0,writable:!0,value:i})}if(t)return t;i.prototype.toString=function(){return this.Ur};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)}})),Dc("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=Rb[i[n]];"function"==typeof s&&"function"!=typeof s.prototype[t]&&Xa(s.prototype,t,{configurable:!0,writable:!0,value:function(){return Ec(ka(this))}})}return t})),Dc("Symbol.asyncIterator",(function(t){return t||Symbol("Symbol.asyncIterator")})),Dc("Array.prototype.keys",(function(t){return t||function(){return Pd(this,(function(t){return t}))}})),Dc("String.prototype.startsWith",(function(t){return t||function(t,i){var n=Qd(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}})),Dc("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}})),Dc("Int8Array.prototype.fill",Kh),Dc("Uint8Array.prototype.fill",Kh),Dc("Uint8ClampedArray.prototype.fill",Kh),Dc("Int16Array.prototype.fill",Kh),Dc("Uint16Array.prototype.fill",Kh),Dc("Int32Array.prototype.fill",Kh),Dc("Uint32Array.prototype.fill",Kh),Dc("Float32Array.prototype.fill",Kh),Dc("Float64Array.prototype.fill",Kh),Dc("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}})),Dc("Object.getOwnPropertySymbols",(function(t){return t||function(){return[]}})),Dc("Promise",(function(t){function i(t){this.kf=0,this.yg=void 0,this.bf=[],this.Eq=!1;var i=this.Qk();try{t(i.resolve,i.reject)}catch(t){i.reject(t)}}function n(){this.bd=null}function s(t){return t instanceof i?t:new i((function(i){i(t)}))}if(t)return t;n.prototype.Uo=function(t){if(null==this.bd){this.bd=[];var i=this;this.Vo((function(){i.Ev()}))}this.bd.push(t)};var e=Rb.setTimeout;n.prototype.Vo=function(t){e(t,0)},n.prototype.Ev=function(){for(;this.bd&&this.bd.length;){var t=this.bd;this.bd=[];for(var i=0;i<t.length;++i){var n=t[i];t[i]=null;try{n()}catch(t){this.Ru(t)}}}this.bd=null},n.prototype.Ru=function(t){this.Vo((function(){throw t}))},i.prototype.Qk=function(){function t(t){return function(s){n||(n=!0,t.call(i,s))}}var i=this,n=!1;return{resolve:t(this.ky),reject:t(this.Ul)}},i.prototype.ky=function(t){if(t===this)this.Ul(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof i)this.Zy(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.jy(t):this.Lp(t)}},i.prototype.jy=function(t){var i=void 0;try{i=t.then}catch(t){return void this.Ul(t)}"function"==typeof i?this.$y(i,t):this.Lp(t)},i.prototype.Ul=function(t){this.Ar(2,t)},i.prototype.Lp=function(t){this.Ar(1,t)},i.prototype.Ar=function(t,i){if(0!=this.kf)throw Error("Cannot settle("+t+", "+i+"): Promise already settled in state"+this.kf);this.kf=t,this.yg=i,2===this.kf&&this.ry(),this.Fv()},i.prototype.ry=function(){var t=this;e((function(){if(t.Bx()){var i=Rb.console;void 0!==i&&i.error(t.yg)}}),1)},i.prototype.Bx=function(){if(this.Eq)return!1;var t=Rb.CustomEvent,i=Rb.Event,n=Rb.dispatchEvent;return void 0===n||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof i?t=new i("unhandledrejection",{cancelable:!0}):(t=Rb.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.yg,n(t))},i.prototype.Fv=function(){if(null!=this.bf){for(var t=0;t<this.bf.length;++t)r.Uo(this.bf[t]);this.bf=null}};var r=new n;return i.prototype.Zy=function(t){var i=this.Qk();t.Nh(i.resolve,i.reject)},i.prototype.$y=function(t,i){var n=this.Qk();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.Nh(s(t,e),s(n,r)),h},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.Nh=function(t,i){function n(){switch(s.kf){case 1:t(s.yg);break;case 2:i(s.yg);break;default:throw Error("Unexpected state: "+s.kf)}}var s=this;null==this.bf?r.Uo(n):this.bf.push(n),this.Eq=!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=Lh(t),r=e.next();!r.done;r=e.next())s(r.value).Nh(i,n)}))},i.all=function(t){var n=Lh(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).Nh(r(h.length-1),i),e=n.next()}while(!e.done)}))},i})),Dc("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}})),Dc("Object.is",(function(t){return t||function(t,i){return t===i?0!==t||1/t==1/i:t!=t&&i!=i}})),Dc("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}})),Dc("String.prototype.includes",(function(t){return t||function(t,i){return-1!==Qd(this,t,"includes").indexOf(t,i||0)}})),Dc("String.prototype.endsWith",(function(t){return t||function(t,i){var n=Qd(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 Mh=window;function Nh(){return function(t){function i(s){if(n[s])return n[s].exports;var e=n[s]={sq:s,nx:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.nx=!0,e.exports}var n={};return i.QC=t,i.c=n,i.d=function(t,n,s){i.Cx(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.Cx=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.kD=136)}([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=X.xg()?"playsinline muted":"";return new z.a(t).Ax(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.Yf&&window.vdb.Yf.createElement?window.vdb.Yf.createElement(t):document.createElement(t),i=i||{})if(Object.prototype.hasOwnProperty.call(i,e)){var r=i[e];null!==r&&("style"===e&&"object"===F()(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 H.a((function(i,n){setTimeout((function(){n(Error("timeout ".concat(t," ms reached")))}),t)}))}function T(){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 S(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=G.a.fb();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 j(t){return q.a.cl(t)===Y.ks}function M(t){if(!t)return null;if("string"==typeof t)return t;var i=[];if(t&&"object"===F()(t))for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=t[n];if(0===s||s&&"function"!=typeof s){var e="".concat(encodeURIComponent(n),"=");e+=encodeURIComponent(String(s)),i.push(e)}}return i.join("&")}function N(t){for(var i,n=[],s=0;s<t.length;s++)(i=M(t[s]))&&n.push(i);return n.join("&")}function R(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 D(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 k(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 C(t,i){return null!=t?t:i}function P(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 x(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.HD?r.toLowerCase():r]=t[e],s}),{})}function U(t){var i=!1;t=V(t);var n=!1,s=V(t),e=B(s);if(s&&e)try{var r,h=s.parent;if(r=h){var o=B(s=V(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 V(t){try{t=(t=t||window).Object?t:null}catch(i){t=null}return t}function B(t,i){var n=null;try{(n=(t=V(t))&&t.top||null)&&i&&(n=n.document?n:null)}catch(t){n=null}return n}n(22),t=n(12),n.n(t),t=n(9);var F=n.n(t),z=n(30);n(2);var H=n(10),q=n(4),G=n(5);n.d(i,"F",(function(){return e})),n.d(i,"d",(function(){return r})),n.d(i,"I",(function(){return h})),n.d(i,"i",(function(){return o})),n.d(i,"m",(function(){return u})),n.d(i,"s",(function(){return c})),n.d(i,"D",(function(){return f})),n.d(i,"r",(function(){return l})),n.d(i,"x",(function(){return v})),n.d(i,"y",(function(){return d})),n.d(i,"K",(function(){return p})),n.d(i,"H",(function(){return m})),n.d(i,"h",(function(){return b})),n.d(i,"a",(function(){return y})),n.d(i,"C",(function(){return g})),n.d(i,"E",(function(){return w})),n.d(i,"q",(function(){return E})),n.d(i,"j",(function(){return O})),n.d(i,"f",(function(){return A})),n.d(i,"B",(function(){return _})),n.d(i,"o",(function(){return T})),n.d(i,"w",(function(){return S})),n.d(i,"e",(function(){return I})),n.d(i,"t",(function(){return j})),n.d(i,"G",(function(){return M})),n.d(i,"A",(function(){return N})),n.d(i,"z",(function(){return R})),n.d(i,"b",(function(){return D})),n.d(i,"g",(function(){return L})),n.d(i,"J",(function(){return k})),n.d(i,"n",(function(){return C})),n.d(i,"l",(function(){return P})),n.d(i,"k",(function(){return x})),n.d(i,"c",(function(){return X})),n.d(i,"u",(function(){return J})),n.d(i,"p",(function(){return K})),n.d(i,"v",(function(){return U}));var Y={Oz:"m3u",ks:"m3u8",Pz:"mp4",Qz:"ogg",Rz:"ogv",Xz:"webm"},W=navigator.userAgent.toLowerCase();i=navigator.platform.toLowerCase(),(n=W.match(/(samsungbrowser|edge)[\s\/:]([\w\d\.]+)/))||(n=W.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,X={LA:{qA:!!window.jD,json:!!window.JSON,query:!!document.querySelector,VD:!!document.evaluate},hx:function(){return"ios"===X.platform.name},yl:function(){return/android|blackberry|iphone|ipad|ipod|opera mini|iemobile/i.test(W)},name:"version"===n[1]?n[3]:n[1],platform:{name:W.match(/ip(?:ad|od|hone)/)?"ios":(W.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)||""},xg:function(){var t=X.hx();return!X.yl()||a()||t&&"safari"===X.name&&10<=X.version||t&&"chrome"===X.name&&54<=X.version||t&&"fxios"===X.name&&10.3<=X.version||t&&"fban"===X.name||!!X.platform.android&&"chrome"===X.name&&53<=X.version||!!X.platform.android&&"firefox"===X.name||!!X.platform.android&&"samsungbrowser"===X.name&&6.2<=X.version},version:t||parseFloat("opera"===n[1]&&n[4]?n[4]:n[2])};X[X.name]=!0,X[X.name+parseInt(X.version,10)]=!0,X.platform[X.platform.name]=!0;var J=0<=navigator.userAgent.indexOf("MSIE ")||0<=navigator.userAgent.indexOf("Trident/"),K=0<=navigator.userAgent.toLowerCase().indexOf("chrome");try{var $=document.createElement("canvas");window.WebGLRenderingContext&&($.getContext("webgl")||$.getContext("experimental-webgl"))}catch(Z){}},function(t,i,n){function s(){if(this.ko&&this.ra(),this.sb){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.sb.apply(window,i)}}n.d(i,"a",(function(){return o}));var e=n(49),r=n(71).default,h=n(16).default,o=function(){function t(){}var i=t.prototype;return i.ra=function(){this.fc?this.fc.ra():void 0!==this.ta.nodeType?r.removeEventListener(this.ta,this.yj,this.ih):this.ta.removeEventListener(this.yj,this.ih,this.Fo)},i.link=function(){if(!arguments.length)return this;this.fc||(this.fc=new e.a(this));for(var t=0;t<arguments.length;++t){var i=0>t||arguments.length<=t?void 0:arguments[t];i.fc?this.fc.wx(i.fc):this.fc.Tb(i)}return this.fc.commit(),this},t.bind=function(i,n,e,h,o){h=!!h,o=!!o;var u=new t;return u.ta=i,u.yj=n,u.sb=e,u.Fo=h,u.ko=o,u.ih=s.bind(u),void 0!==i.nodeType?r.addEventListener(i,n,u.ih):i.addEventListener(n,u.ih,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.ta=new h,i.yj="DOESN'T_MATTER",i.Fo=!0,i.ko=!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,"r",(function(){return g})),n.d(i,"s",(function(){return w})),n.d(i,"t",(function(){return E})),n.d(i,"u",(function(){return O})),n.d(i,"v",(function(){return A})),n.d(i,"w",(function(){return _})),n.d(i,"x",(function(){return T})),n.d(i,"y",(function(){return S})),n.d(i,"z",(function(){return I})),n.d(i,"A",(function(){return j})),n.d(i,"g",(function(){return M}));var s="AdClickThru",e="AdDurationChange",r="AdError",h="AdExpandedChange",o="AdImpression",u="AdInteraction",a="AdLinearChange",c="AdLoaded",f="AdLog",l="AdPaused",v="AdPlaying",d="AdRemainingTimeChange",p="AdSizeChange",m="AdSkippableStateChange",b="AdSkipped",y="AdStarted",g="AdStopped",w="AdUserAcceptInvitation",E="AdUserClose",O="AdUserMinimize",A="AdVideoComplete",_="AdVideoFirstQuartile",T="AdVideoMidpoint",S="AdVideoStart",I="AdVideoThirdQuartile",j="AdVolumeChange",M="AdIntervention"},function(t,i,n){var s=n(13),e=function(){function t(){}return t.Vb=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(5);n.d(i,"a",(function(){return h}));var h=function(){function t(){}return t.wg=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.cl=function(i){if(!i||"string"!=typeof i)return"";var n=(i=t.wg(i).pathname||"").lastIndexOf(".");return-1!==n?i.substring(n+1).toLowerCase():""},t.Fc=function(){return r.a.Fc()},t.Ik=function(t){return r.a.Fc()&&(t=s.a.Vl(t,"http://","https://")),t},t.Yh=function(t){return(t=/(?:(?:[\w]+:)?\/\/)?([^?#\/:]+)/.exec(void 0!==t?t:r.a.ld()))?t[1]:""},t.Vb=function(t,i){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];return e.Vb(t,void 0!==i?i:r.a.ld(),n)},t}()},function(t,i,n){t=n(12);var s=n.n(t),e=function(){function t(){}return t.ld=function(t){t=t||window;var i=this.bi(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.bi=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.kl=function(t){t=t||window;try{return t.parent}catch(t){}return null},t.Fc=function(){return-1===(window.location.protocol||this.ld()||"").indexOf("http:")},t}();n.d(i,"a",(function(){return r}));var r=function(){function t(){}return t.fb=function(){return window},t.ld=function(t){return e.ld(t)},t.bi=function(t){return e.bi(t)},t.kl=function(t){return e.kl(t)},t.Fc=function(){return e.Fc()},t.Ow=function(){return window.navigator.userAgent},t.Ve=function(){try{return window.self!==window.top}catch(t){return!0}},t.qw=function(){for(var t=window.self,i=0;t!==window.top&&t.parent;){try{if(t.parent&&t.parent.location&&!t.parent.location.href)throw Error("HandleSafari")}catch(t){if(!(2>i))break;i++}t=t.parent}return i},t}()},function(t){t.exports=function(t,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){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.cr?" ".concat(v.cr):"")].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.Kj){var t=parseInt(u.a.Vb("aolplayerloglvl"),10);v.Kj=isNaN(t)?Number(a.a["logger.level"]):t}return v.Kj}n(22),t=n(9);var o=n.n(t),u=n(4),a=n(14),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={Nz:v,mA:function(t){f.push(t)},cq:h,Ka:function(t){return l[t]||(l[t]=new v(t)),l[t]},uD:function(t){v.Kj=t},zD:function(t){v.cr=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){function s(){}function e(t,i){for(;3===t.V;)t=t.Ie;0===t.V?t.wf.push(i):v((function(){var n=1===t.V?i.Fx:i.Uq;if(null===n)(1===t.V?r:h)(i.promise,t.Ie);else{try{var s=n(t.Ie)}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.V=3,t.Ie=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.V=1,t.Ie=i,o(t)}catch(i){h(t,i)}}function h(t,i){for(var n,s=0,e=t.wf.length;!n&&s<e;s++)n=t.wf[s].Uq;n||"1"!==l.a.Vb("logpromisereject")||window.console,t.V=2,t.Ie=i,o(t)}function o(t){t.wf.forEach((function(i){return e(t,i)})),t.wf=null}function u(t,i,n){this.Fx="function"==typeof t?t:null,this.Uq="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(12);var c=n.n(t);t=n(9);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.V=0,this.Ie=void 0,this.wf=[],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.Gz=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.Gz((function(){}))(),i.a=d},function(t){t=t.exports="undefined"!=typeof window&&Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=t)},function(t,i,n){var s=n(57),e=n(58),r=n(59);t.exports=function(t){return s(t)||e(t)||r()}},function(t,i,n){n.d(i,"a",(function(){return s}));var s=function(){function t(){}return t.gi=function(i){return!i||""===t.trim(i)},t.trim=function(i,n){return t.sx(t.qr(i,n),n)},t.sx=function(t,i){return null==i&&(i="\\s"),t&&t.replace(new RegExp("^[".concat(i,"]+"),"g"),"")},t.qr=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.Vl=function(t,i,n){return t&&t.replace(new RegExp(i,"g"),n)},t.Bp=function(){return!1},t.fp=function(t){if(t)return(t=t.toLowerCase()).charAt(0).toUpperCase()+t.slice(1)},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.dev":"https://s.yimg.com/cv/apiv2/default/20201013/","cdn.url.yimg.prod":"https://s.yimg.com/cv/apiv2/default/20201013/","delivery.url":"https://delivery".concat(s).concat(".vidible.tv","/"),"hls.js.path":"player/js/21.1.168/lib/hls.min.js","ima.url":"https://s0.2mdn.net/instream/html5/ima3".concat(n?"_debug":"",".js"),"logger.level":n?"0":"3","s3.url":"https://s3.amazonaws.com/vdb-cdn-files/","tracking.url":"https://trk".concat(s).concat(".vidible.tv","/trk/"),"vapa.url":n?"https://localhost:3000/local-storage.html":"https://cdn-ssl.vidible.tv/prod/player/ad-time/local-storage.html"};Object.keys(r).forEach((function(i){t[i]=r[i]}))},t}()},function(t,i,n){t.exports=!n(29)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,i,n){n.r(i),n.d(i,"default",(function(){return e}));var s=n(8),e=function(){function t(){this.mb={},this.Ym=[],this.ze=s.a.Ka("EventBus")}var i=t.prototype;return i.addEventListener=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;this.mb[t]||(this.mb[t]=[]),this.mb[t].push({Ec:i,priority:n})},i.removeEventListener=function(t,i){this.mb[t]&&(this.mb[t]=this.mb[t].filter((function(t){return t.Ec!==i})))},i.kA=function(t){this.Ym.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.mb[n];e&&((e=e.slice()).sort((function(t,i){return i.priority-t.priority})),e.forEach((function(t){return i.Pn(n,s,t.Ec)}))),this.Ym.forEach((function(t){return t.call({},n,s)}))},i.Pn=function(t,i,n){try{n.apply({},i)}catch(n){this.ze.error(n,"event",{args:i,type:t})}},i.kr=function(){var t=this;this.ze.info("Removing all listeners."),Object.keys(this.mb).forEach((function(i){Array.isArray(t.mb[i])&&delete t.mb[i]}))},t}()},function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,i,n){n.d(i,"a",(function(){return s}));var s={xm:"errorEvent",ls:"mediaEvent",ns:"pixelEvent",qs:"scriptEvent",vs:"xhrEvent"}},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(62),e=n(51);t.exports=function(t){return s(e(t))}},function(t,i,n){t=n(23).Kb,i=Function.prototype;var s=/^\s*function ([^ (]*)/;"name"in i||n(15)&&t(i,"name",{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},function(t,i,n){var s=n(24),e=n(36),r=n(37),h=Object.defineProperty;i.Kb=n(15)?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){var i={}.hasOwnProperty;t.exports=function(t,n){return i.call(t,n)}},function(t,i,n){var s=n(81),e=n(82),r=n(83);t.exports=function(t,i){return s(t)||e(t,i)||r()}},function(t,i,n){var s=n(23),e=n(31);t.exports=n(15)?function(t,i,n){return s.Kb(t,i,e(1,n))}:function(t,i,n){return t[i]=n,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){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,i,n){var s=n(28),e=n(10);n.d(i,"a",(function(){return r}));var r=function(){function t(t){this.nb=this.yh=t}var i=t.prototype;return i.BD=function(t){this.nb=t},t.Tf=function(t,i,n){if(void 0===n)return t.getAttribute(i);null===n?t.removeAttribute(i):t.setAttribute(i,n)},i.Ln=function(t,i,n){var s="TABLE"===t.nodeName,e=this.nb.createElement("div");e.innerHTML="<".concat(t.nodeName,">").concat(i,"</").concat(t.nodeName,">"),n(s?t.lastChild:t,s?e.lastChild.lastChild:e.lastChild)},i.Ax=function(t){var i=this.nb.createElement("div");return i.innerHTML=t,i.lastChild},i.vn=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.vn(i.childNodes));return n},i.replace=function(t,i){this.Ln(t,i,(function(i,n){return t.replaceChild(n,i),i}))},i.append=function(t,i){this.Ln(t,i,(function(t,i){return t.appendChild(i.firstChild),i.firstChild}))},i.xC=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.vn([i]):(t.empty(i),i.appendChild(this.nb.createTextNode(n)),null)},t.empty=function(t){if(t&&t.removeChild)for(;t.firstChild;)t.removeChild(t.firstChild)},i.createElement=function(t){return this.nb.createElement(t)},i.createDocumentFragment=function(){return this.nb.createDocumentFragment()},i.Xh=function(t){return(t=t||this.nb).head||t.getElementsByTagName("head")[0]},i.cn=function(i,n,s,e){var r=this.createElement("script");return t.Tf(r,"type","text/javascript"),e&&Object.keys(e).forEach((function(i){return t.Tf(r,i,e[i])})),s&&t.Tf(r,"async","true"),i&&t.Tf(r,"src",i),n&&t.Tf(r,"crossorigin","anonymous"),r},i.Yd=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.cn(t,i,n,void 0),h=this.Xh(this.yh);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.Vw=function(t){var i=this.cn();return this.text(i,t),this.Xh().appendChild(i),i},i.BB=function(t,i,n){var s="VDBCallback".concat(Math.round(1e4*Math.random())),e=n||this.yh&&this.yh.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.Yd(t.replace("[callback]",s))},i.PC=function(t){var i=this.nb.createElement("link");this.Xh().appendChild(i),i.rel="stylesheet",i.type="text/css",i.href=t},i.Ap=function(t,i){i=i||this.Xh();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.nb.getElementById(n)){var s=this.nb.createElement("style");s.setAttribute("id",n),s.type="text/css",s.appendChild(this.nb.createTextNode(t)),i.appendChild(s)}},i.JA=function(t,i){this.Ap(t,i)},i.FA=function(t){var i=this.nb.createElement("img");return i.src=t,i},i.EA=function(t){var i=this.nb.createElement("div");return null!=t&&(i.className=t),i},i.log=function(t){this.Id||(this.Id=this.nb.createElement("div"),this.Id.style.position="fixed",this.Id.style.top="0px",this.Id.style.left="0px",this.yh.getElementsByTagName("body")[0].appendChild(this.Id)),this.Id.innerHTML="".concat(t,"<br>").concat(this.Id.innerHTML)},t}()},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(11),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(50)?"pure":"global",BA:"© 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,k,g){g.d(k,"a",(function(){return p})),t=g(9);var r=g.n(t),x=g(1),z=g(5),p=function(){function n(){}return n.gv=function(){try{var m=function(){var l=!1;eval('func = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{(void 0)()}catch(t){l=!0}return l}()}catch(t){m=0}return m},n.fv=function(){var t=!1;try{({}).Kb()}catch(i){t=!0}return t},n.av=function(){var t=z.a.fb();return!!(Object(x.e)(t.AudioContext)&&(t=new t.AudioContext,t=Object(x.e)(t.createBufferSource)&&t.createBufferSource()||{},t.detune&&Object.prototype.hasOwnProperty.call(t.detune,"value")))&&(t.detune.value=100,100===t.detune.value)},n.Zu=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}},n.dv=function(){try{var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}catch(t){return!1}},n.cv=function(){try{return eval("1 == [for (item of [1,2,3]) item][0]")}catch(t){return!1}},n.$u=function(){var t=z.a.fb();try{return"object"===r()(t.Intl.Collator().resolvedOptions())}catch(t){return!1}},n.ev=function(){var t=z.a.fb();try{return 0===new t.Uint16Array(1)[0]}catch(t){return!1}},n.Xu=function(){var t=z.a.fb();try{return t.ActiveXObject&&-1===t.ActiveXObject.toString().indexOf("native")}catch(t){return!1}},n.bv=function(){var t=z.a.fb();try{return-1===Object.prototype.toString.call(t.HTMLElement).indexOf("Constructor")}catch(t){return!1}},n.btoa=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=z.a.fb();if(!Object(x.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)},n.Yu=function(t){try{return t.animate&&Object(x.w)(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}},n}()},function(t,i,n){t.exports=!n(15)&&!n(29)((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(45);var s=n(72),e=n(21),r=n(75),h=n(76);t(t.Im,"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){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(11).document,e=i(s)&&i(s.createElement);t.exports=function(t){return e?s.createElement(t):{}}},function(t,i,n){var s=n(11),e=n(27),r=n(25),h=n(32)("src"),o=n(60),u=(""+o).split("toString");n(20).BC=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(18),e=function(){function t(){}var i=t.prototype;return i.Av=function(){return this.type=s.a.xm,this},i.Qx=function(){return this.type=s.a.ns,this},i.mD=function(){return this.type=s.a.qs,this},i.UD=function(){return this.type=s.a.vs,this},i.RC=function(){return this.type=s.a.ls,this},i.Rh=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.bp=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.cp=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.vB=function(){return this.eventName},i.getData=function(){return this.data},i.Fw=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})),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){function s(t,i,n){var a=t&s.$r,c=t&s.cs,f=t&s.Im,l=t&s.ms,v=t&s.Yr;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.rs),p[d]!=i&&h(p,d,c),l&&m[d]!=i&&(m[d]=i)}var e=n(11),r=n(20),h=n(27),o=n(41),u=n(46);e.CA=r,s.$r=1,s.cs=2,s.Im=4,s.ms=8,s.Yr=16,s.rs=64,t.exports=s},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,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.fc=null,t.ra()}function r(t){t.fc=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.wx=function(t){var i=this;s.call(t,(function(t){i.Tb(t)}))},i.ra=function(){s.call(this,e)},i.commit=function(){s.call(this,r)},i.Tb=function(t){-1===this.a.indexOf(t)&&this.a.push(t)},i.lA=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.Tb(i[t])},t}()},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(33)("keys"),e=n(32);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(34),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(33)("native-function-to-string",Function.toString)},function(t,i,n){var s=n(25),e=n(21),r=n(63)(!1),h=n(52)("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){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(21),e=n(55),r=n(64);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(34),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){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(t,k){function g(t){var i=+(1e6*Math.random()).toFixed(0);return t[i]?g(t):i}function r(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=x,(i=new window.BlobBuilder).append(t),i=i.getBlob()}return window.URL.createObjectURL(i)}var x=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 p=!1;try{p=eval("(_ => true)()")}catch(t){}if(!window.Worker||!window.Promise||!p||!window.Blob&&!x)return!1;window.URL=window.URL||window.webkitURL;try{var n=new window.Worker(r(z))}catch(t){return!1}var m={},l={};return n.onmessage=function(t){"setTimeout"===(t=t.data).type&&m[t.id]&&(m[t.id](),delete m[t.id]),"setInterval"===t.type&&l[t.id]&&l[t.id]()},{clearInterval:function(t){delete l[t],n.postMessage({id:t,type:"clearInterval"})},clearTimeout:function(t){delete m[t],n.postMessage({id:t,type:"clearTimeout"})},setInterval:function(t,i){var s=g(l);return l[s]=t,n.postMessage({id:s,timeout:i,type:"setInterval"}),s},setTimeout:function(t,i){var s=g(m);return m[s]=t,n.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){i.a={bs:"fullscreen",zm:"normal",Vz:"thumbnail"}},function(t){function i(t,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}t.exports=function(t,n,s){return n&&i(t.prototype,n),s&&i(t,s),t}},function(t,i,n){t.exports=n(100)},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,Ec:n,my: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.Rh=i,e.initEvent(i,!0,!0),!t.dispatchEvent(e)):(s(e=e.createEventObject(),t),e.data=n,i.match(/:/)?(e.Rh=i,e.Dv="ondataavailable",t.fireEvent(e.Dv,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].Ec!==n?u[e++]=u[r]:s=u[r].my;u.length=e,n=s,document.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent(h(i),n)}},t.nm=function(i){var n={addEventListener:function(n,s){t.addEventListener(i,n,s)},TC:function(t,i){t=t.split(" ");for(var s=0;s<t.length;s++)n.removeEventListener(t[s],i)},UC: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,i,n){var s=n(73),e=n(74),r=n(24);i=n(11).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(61),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(31),r=n(21),h=n(37),o=n(25),u=n(36),a=Object.getOwnPropertyDescriptor;i.Kb=n(15)?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(23),e=n(31);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){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.Dn=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.pa=h;;){if((r=n.Wf)&&(r=a(r,n))){if(r===I)continue;return r}if("next"===n.method)n.ty=n.$t=n.pa;else if("throw"===n.method){if(e===A)throw e=S,n.pa;n.sv(n.pa)}else"return"===n.method&&n.Bu("return",n.pa);if(e=T,"normal"===(r=s(t,i,n)).type){if(e=n.done?S:_,r.pa===I)continue;return{value:r.pa,done:n.done}}"throw"===r.type&&(e=S,n.method="throw",n.pa=r.pa)}}}(t,n,r),i}function s(t,i,n){try{return{type:"normal",pa:t.call(i,n)}}catch(t){return{type:"throw",pa:t}}}function e(){}function r(){}function h(){}function o(t){["next","throw","return"].forEach((function(i){t[i]=function(t){return this.Dn(i,t)}}))}function u(t){var i;this.Dn=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.pa;return(n=o.value)&&"object"==typeof n&&b.call(n,"__await")?Promise.resolve(n.ws).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.pa)}(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.Wf=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.pa=p,a(t,i),"throw"===i.method))return I;i.method="throw",i.pa=new TypeError("The iterator does not provide a 'throw' method")}return I}return"throw"===(n=s(n,t.iterator,i.pa)).type?(i.method="throw",i.pa=n.pa,i.Wf=null,I):(n=n.pa)?n.done?(i[t.iD]=n.value,i.next=t.SC,"return"!==i.method&&(i.method="next",i.pa=p),i.Wf=null,I):n:(i.method="throw",i.pa=new TypeError("iterator result is not an object"),i.Wf=null,I)}function c(t){var i={tryLoc:t[0]};1 in t&&(i.catchLoc=t[1]),2 in t&&(i.finallyLoc=t[2],i.Pu=t[3]),this.$b.push(i)}function f(t){var i=t.Pe||{};i.type="normal",delete i.pa,t.Pe=i}function l(t){this.$b=[{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:{}).nm=n;var A="suspendedStart",_="suspendedYield",T="executing",S="completed",I={};(i={})[g]=function(){return this},(y=(y=Object.getPrototypeOf)&&y(y(v([]))))&&y!==m&&b.call(y,g)&&(i=y);var j=h.prototype=e.prototype=Object.create(i);r.prototype=j.constructor=h,h.constructor=r,h[E]=r.displayName="GeneratorFunction",O.dx=function(t){return!!(t="function"==typeof t&&t.constructor)&&(t===r||"GeneratorFunction"===(t.displayName||t.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,E in t||(t[E]="GeneratorFunction")),t.prototype=Object.create(j),t},O.wA=function(t){return{ws: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.dx(i)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},o(j),j[E]="Generator",j[g]=function(){return this},j.toString=function(){return"[object Generator]"},O.keys=function(t){var i,n=[];for(i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var s=n.pop();if(s in t)return i.value=s,i.done=!1,i}return i.done=!0,i}},O.values=v,l.prototype={constructor:l,reset:function(t){if(this.next=this.Xb=0,this.ty=this.$t=p,this.done=!1,this.Wf=null,this.method="next",this.pa=p,this.$b.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.$b[0].Pe;if("throw"===t.type)throw t.pa;return this.qy},sv:function(t){function i(i,s){return r.type="throw",r.pa=t,n.next=i,s&&(n.method="next",n.pa=p),!!s}if(this.done)throw t;for(var n=this,s=this.$b.length-1;0<=s;--s){var e=this.$b[s],r=e.Pe;if("root"===e.tryLoc)return i("end");if(e.tryLoc<=this.Xb){var h=b.call(e,"catchLoc"),o=b.call(e,"finallyLoc");if(h&&o){if(this.Xb<e.catchLoc)return i(e.catchLoc,!0);if(this.Xb<e.finallyLoc)return i(e.finallyLoc)}else if(h){if(this.Xb<e.catchLoc)return i(e.catchLoc,!0)}else{if(!o)throw Error("try statement without catch or finally");if(this.Xb<e.finallyLoc)return i(e.finallyLoc)}}}},Bu:function(t,i){for(var n=this.$b.length-1;0<=n;--n){var s=this.$b[n];if(s.tryLoc<=this.Xb&&b.call(s,"finallyLoc")&&this.Xb<s.finallyLoc){var e=s;break}}return e&&("break"===t||"continue"===t)&&e.tryLoc<=i&&i<=e.finallyLoc&&(e=null),(n=e?e.Pe:{}).type=t,n.pa=i,e?(this.method="next",this.next=e.finallyLoc,I):this.complete(n)},complete:function(t,i){if("throw"===t.type)throw t.pa;return"break"===t.type||"continue"===t.type?this.next=t.pa:"return"===t.type?(this.qy=this.pa=t.pa,this.method="return",this.next="end"):"normal"===t.type&&i&&(this.next=i),I},finish:function(t){for(var i=this.$b.length-1;0<=i;--i){var n=this.$b[i];if(n.finallyLoc===t)return this.complete(n.Pe,n.Pu),f(n),I}},catch:function(t){for(var i=this.$b.length-1;0<=i;--i){var n=this.$b[i];if(n.tryLoc===t){if("throw"===(t=n.Pe).type){var s=t.pa;f(n)}return s}}throw Error("illegal catch attempt")}}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},,,,,,,,,,,,function(t,i,n){i=n(101),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(84),s)i.regeneratorRuntime=e;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},function(t,i,n){(t.exports=n(102)(!1)).push([t.sq,".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.CD+t+" */"})),[n].concat(i).concat([t]).join("\n")):[n].join("\n"):n}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n})).join("")},i.sq=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?bh(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bh(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.sg,r=s.bitrate||s.sg;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.sg?900>=i.sg?t.low.push(i):t.high.push(i):t.Pq.push(i),t}),{high:[],low:[],Pq:[]})}(t)).low,!0).concat(n(t.high)).concat(n(t.Pq))}function r(){this.value=this.ql=""}function h(t){this.type=t}function o(){this.type=null,this.value=this.mimeType=""}function u(){this.value="",this.Hz=!1}function a(){this.height=this.width=null,this.lm=this.Mk=this.Lk=this.Fr=this.Ig=this.Hg="",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.Zb=[],this.id=this.Hu="",this.zb=null}function v(){this.name=this.version=""}function d(){this.mm=this.El=this.jb=""}function p(){this.vendor="",this.Iq=[],this.Ep=[],this.Zb=[],this.km=[]}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=Hu.ya(i)}function g(t,i){var n=this;this.cg={},i?(this.lang=t.getAttribute("language"),this.yp=Zu[this.lang],this.cg=Wu()({},t.getAttribute("type").split("/")[1],Hu.ya(t))):(this.lang=t.getAttribute("lang"),this.yp=t.getAttribute("displayText"),(Hu.Ca(t).Format||[]).forEach((function(t){return n.cg[t.getAttribute("type")]=Hu.ya(t)})))}function w(t){function i(i){return new Jo(i,new t(i))}return i.ba=t.ba.concat(Jo.ba),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.Mq=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.mi)}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.mi=i.mi||"",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(Zh.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.lf=200<=s.status&&300>s.status||304===s.status||0===s.status&&s.responseText,e.lf?i.lf&&i.lf(e,s):i.error&&Qh.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.mi=Object(Wh.G)(t),h},end:function(t){return i.complete=t,n(),h},uC:function(t,n){return i.headers[t]=n,h},send:function(t,s){return i.mi=Object(Wh.G)(t),i.complete=s,n(),h}};return h}function _(t,i,n){return new Yh.a((function(s,e){!function(t,i,n,s,e,r){void 0===r&&(r={}),r.lf=n,r.error=s,r.method="get",t&&Jh.rx(t),A(t,r).send(i,e)}(t,i||null,s,(function(t,i,n){e({request:i,response:t,gm:n})}),null,n)}))}function T(){var t=Object(Wh.h)("div",{class:"adsbox"},document.body);return t.style.height="1px",t.style.width="1px",new Yh.a((function(i){window.setTimeout((function(){i(0===t.offsetHeight),Object(Wh.D)(t)}),100)}))}function S(t){return this.Ja||(this.Ja=_(t||"https://video.adaptv.advertising.com/ad/ads/advertisers/advertisers.txt").then(function(){return!(!Wh.c.safari||!Gh.a.Fc())&&T.call(this)}.bind(this),function(){return!0}.bind(this))),this.Ja}function I(t){try{var i=t.document.hasFocus&&t.document.hasFocus()}catch(t){}return i}function j(){this.Fb=!1,(this.jo=this.Ee.shift())?(this.Fb=!0,this.jo()):(this.sj.forEach((function(t){return t()})),this.sj=[])}function M(t,i){var n={bckt:this.M.Uv()||"",expb:this.M.lw()||"",expn:this.M.mw()||""};return n=Object(Wh.A)([this.M.Vp(),this.M.Uc,this.M.$n,{apid:this.M.pe.utid},n]),i=Object(Wh.G)(i),this.Co=this.Co||this.Oa.Mw(),"".concat(this.Co,"/").concat(t,"?").concat(n).concat(i?"&".concat(i):"","&cb=").concat(Math.random())}function N(t){var i=this.T.kb;t={action:t,seq:i?i.zb:"",vid:this.T.uf};var n=!(!i||"youtube"!==i.OD)&&this.T.Qa();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.M.Bj,s=this.M.na,e=this.T.gh;6e4<n&&(this.Oc.Eg("player load time failure","outliers",{edt:n}),n=null),this.Aa("display.gif",{ab:+i,csid:s&&s.playerTemplate&&s.playerTemplate.csid||null,dt:n,h:t.height,itg:e,sact:this.M.Md,spaceid:this.hc.kd(),w:t.width})}function D(t){Object(Wh.y)(t)?window.open(t,"_blank"):ao.error("Failed to open new tab due to invalid url",t)}function L(t){var i=fo[t];if(void 0===i){try{var n=co&&"function"==typeof co.canPlayType&&!(Wh.p&&t&&0<=t.indexOf("video/3gpp"))&&(!t||co.canPlayType(t))}catch(t){n=!1}i=!!n,fo[t]=i}return i}function k(){return!!yo&&!!mo[yo.fullscreenEnabled]}function C(){return!!mo[yo.fullscreenElement]}function P(t,i){this.Wu(t),this.xz(t,i),this.Gg(t),this.Nl(t)}function x(t,i,n){i=t+(i?i.id:""),-1===this.mk.indexOf(i)&&(this.Aa(t,n),this.mk.push(i))}function U(t){var i=this.tk.Jw(t);this.we=this.we||0,this.we<i&&4>i&&(this.we++,F.call(this),U.call(this,t))}function V(t){var i=this.tk.jw(t);this.ve=this.ve||0,this.ve<i&&10>i&&(this.ve++,B.call(this),V.call(this,t))}function B(){this.Zc.lz({progress:this.ve},this.Fh),this.vh&&this.vh.dispatchEvent("trackDecile")}function F(){var t={progress:this.we};this.Zc.im(t,this.Fh),this.vh&&this.vh.dispatchEvent("trackQuartile",t)}function z(){this.Je.Kk(),this.Zc.hz(this.Fh)}function H(){var t=this.rt.fb();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 q(t){t=t[t.length-1].intersectionRatio,isNaN(t)||(this.fh&&G.call(this),this.wk=Math.round(100*t))}function G(){this.fh&&(Qh.a.clearTimeout(this.fh),delete this.fh)}function Y(){var t=Gh.a.bi(window),i="moatApiInit".concat(+new Date),n=new Do,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.lb.Yd(s),n.Ja}function W(t,i){this.Zg===t?this.Pf=i:i.destroy()}function Z(){var t=this.M.Uc;t=t?Object(Wh.g)(t):{};var i=this.M.pe,n=this.T.ai(),s=this.M.$h();return i&&(t.APID=i.ND),t.width=n.width,t.height=n.height,t["p.vw.active"]=this.Gb.isVisible()?1:0,t["p.vw.viewable"]=this.Gb.kg(),t["p.vw.viewableOpportunity"]=this.Gb.Ba(),t.moatViewableOpportunity=this.Gb.Ba(),t.adapViewableOpportunity=this.Gb.Ba(),t.r=Gh.a.ld(window),t.ps="html5-vpaid",t.plseq=this.T.uk+1,t.sid=this.M.fl(),t.vvuid=this.M.Bf.vvuid,t.lookahead=!0,s&&(t.euconsent=s.gdprConsentData,t.gdpr=Number(s.gdprApplies),t.isOathFirstParty=s.isOathFirstParty),t}function Q(t,i){"function"==typeof t.setAttribute&&t.setAttribute(i,"")}function X(t){"function"==typeof t.getAttribute&&t.getAttribute("playsinline")||Q(t,"playsinline"),"function"==typeof t.getAttribute&&t.getAttribute("webkit-playsinline")||Q(t,"webkit-playsinline")}function J(){return Object(Wh.G)({bcid:this.M.se,pid:this.M.Ld})}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.V===nu.PAUSED,n=this.V===nu.LOADING;this.V=nu.PLAYING,i?this.dispatchEvent("VideoResumeEvent",t):(n&&this.dispatchEvent("VideoStartEvent",t),this.dispatchEvent("VideoPlayEvent",t))}function it(){this.dispatchEvent("VideoTimeUpdateEvent",{buffered:this.Yv(),currentTime:this.getCurrentTime(),duration:this.getDuration(),durationWithoutAds:0})}function nt(){this.R.paused&&!this.R.ended&&(this.V=nu.PAUSED,this.dispatchEvent("VideoPauseEvent"))}function st(){this.dispatchEvent("VideoWaiting")}function et(t){this.V!==nu.IDLE&&(this.V=nu.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.xa=this.R.volume),this.dispatchEvent("VideoVolumeChangedEvent",{muted:this.isMuted(),volume:this.getVolume()})}function ot(){this.dispatchEvent("VideoClickEvent")}function ut(){var t=this;this.xk&&clearTimeout(this.xk),this.ta.removeEventListener("volumechange",ht,this),this.xk=setTimeout((function(){t.xk=null,t.ta.addEventListener("volumechange",ht,t)}),100)}function at(){Object(Wh.s)(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.lb.Yd(this.Oa.ow()).then(i)}function ft(t,i){if(this.Xn=!1,this.R=i,this.ta&&(this.ta.kr(),delete this.ta),this.ta=new iu(this.R),this.setVolume(this.xa),this.ta.addEventListener("loadstart",$,this),this.ta.addEventListener("progress",K,this),this.ta.addEventListener("timeupdate",it,this),this.ta.addEventListener("pause",nt,this),this.ta.addEventListener("waiting",st,this),this.ta.addEventListener("ended",et,this),this.ta.addEventListener("abort",et,this),this.ta.addEventListener("error",rt,this),this.ta.addEventListener("volumechange",ht,this),this.ta.addEventListener("click",ot,this),this.ta.addEventListener("playing",tt,this),Object(Wh.t)(t)&&!L("application/vnd.apple.mpegurl"))ct.call(this,t);else try{this.R.setAttribute("src",t),this.R.load()}catch(t){}return this.V=nu.LOADING,!1}function lt(t){if(this.V!==nu.IDLE)if(this.isMuted()){("function"==typeof this.R.getAttribute?this.R.getAttribute("playsinline"):void 0)||this.Xn?t===this.au&&rt.call(this,{data:{code:5}}):(this.Xn=!0,"function"==typeof this.R.setAttribute&&this.R.setAttribute("playsinline",""),this.play())}else this.V=nu.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.an[t.Rb]=t}))}function dt(t,i){var n=this;this.Jb.Tb(Zo.a.bind(t,i,(function(){"clickThru"===n.type&&n.Aa()})))}function pt(t,i){var n="0.0.113".includes("-pr");return t="".concat(t).concat("player/vrm-plugin","/").concat("0.0.113","/"),n&&(t="".concat(i).concat("player/vrm-plugin","/").concat("0.0.113","/")),t}function mt(t){return{adSessionId:this.Ds,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.Kd.km[0]&&this.Kd.km[0].value},timestamp:+new Date,type:t}}function bt(t){this.Vt&&this.ic.uy(mt.call(this,t)),wt.call(this,t)}function yt(){this.ic&&this.ic.Oe()}function gt(){bt.call(this,sa.SESSION_FINISH)}function wt(t){var i=mt.call(this,t);this.mb[t]?this.ic.Cp(t,i):(this.te[t]||(this.te[t]=[]),this.te[t].push(i))}function Et(t){var i=this;this.mb[t]||(this.mb[t]={}),this.te[t]&&(this.te[t].forEach((function(n){return i.ic.Cp(t,n)})),delete this.te[t])}function Ot(){this.Vt=1,bt.call(this,sa.SESSION_START)}function At(){var t=this;this.Ma.addEventListener(aa.Bd,(function(i){wt.call(t,i.be)})),this.U.addEventListener(Xo.vd,gt.bind(this))}function _t(t){var i=this;this.Ob=this.lb.createElement("iframe");var n=pt(Co.a["cdn.url"],Co.a["cdn.url.dev"]);return n="".concat(n,"xdomain-adverifications.html?id=").concat(fa++),this.Ob.id="$adverificationloaderframe".concat(fa),this.Ob.style.display="none",this.ic=new ua(this.Ob,t),this.Ob.onload=function(){i.ic.Gv(Ot.bind(i),Et.bind(i)),i.ic.Ey(yt.bind(i)),i.ic.mc(),i.ic.Yd()},this.Ob.src=n,document.body.appendChild(this.Ob),this.ic.Kf.Ja}function Tt(){var t=this;if(0<this.Kd.Zb.length){var i=new Qu("verificationNotExecuted");i.Se=this.Kd.Zb.map((function(i){return i.url.replace(/\[REASON]/g,t.pj)})),this.Ma.dispatchEvent(i)}}function St(){var t=this;this.scripts.forEach((function(i){return i.prepare(t.Jb,t.ad,t.P)}))}function It(){var t=this;this.Hr.forEach((function(i){return i.prepare(t.Jb,t.ad,t.P)}))}function jt(){var t=this;this.wp.forEach((function(i){return i.prepare(t.Jb,t.vz)}))}function Mt(){var t=this;this.bg.forEach((function(i){return i.prepare(t.P)}))}function Nt(){var t=this;this.To.forEach((function(i){t.fi.Ya(la).prepare(i,t.ad)}))}function Rt(){this.Jb&&(this.Jb.ra(),this.Jb=null)}function Dt(){this.Nk.replace=!0,this.Nk.type="Overlay",this.Dx=this.Yj.sh.aegOverride,this.Yj.xr(this.Nk),Zo.a.group(Zo.a.Xa(this.P,pa.LOADED,Lt.bind(this)),Zo.a.Xa(this.P,pa.Pg,Lt.bind(this))),this.Ex=this.P.ga.Ml,this.P.ga.Ml="00:00:01"}function Lt(){this.Yj.xr(this.Dx),this.P.ga.Ml=this.Ex}function kt(){"url"===this.ly?(this.value=this.P.Pb.resolve(this.value),this.Yf.Yd(this.value)):this.Zt=this.Yf.Vw(this.value)}function Ct(){Object(Wh.D)(this.Zt)}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.Tb(Zo.a.bind(this.P,t,(function(){clearTimeout(n.Yo),n.Yo=setTimeout(n.Aa.bind(n),n.timeout),n.Jb.Tb(Zo.a.Xa(n.P,i,Ut.bind(n))),n.Jb.Tb(Zo.a.bind(n.P,Xo.vd,Ut.bind(n)))})))}function Ut(){clearTimeout(this.Yo)}function Vt(t,i){return t.$o-i.$o}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 Gu(i))})),t}function zt(t,i){return t[i]&&t[i][0]?Hu.Ca(t[i][0]).rule.map((function(t){return new xa(t,i)})):[]}function Ht(){var t=[],i=this.hd(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 qt(t,i){return t?Ht.call(this,Hu.Ca(t[0])[i],i):[]}function Gt(t,i){i.forEach((function(i){(i=i.url)&&t.Se.push(i)}))}function Yt(t){return this.Ha.filter((function(i){return i.__proto__===t.__proto__}))[0]}function Wt(t,i,n,s){var e=this;t&&t.Zb&&t.Zb.forEach((function(t){var r;if(r=t.type===n&&t.url){var h=Zh.a.trim(t.offset||"");s&&s.be===ga.PROGRESS&&h?(r=s.data||{}).duration?(h=-1===h.indexOf("%")?Object(Wh.J)(h):r.duration*Number(h.substr(0,h.length-1))/100,(r=r.currentTime>=h&&-1===e.Ao.indexOf(t))&&e.Ao.push(t)):r=!1:r=!0}r&&(r=t.url,function(t){return 0<wc.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 Zt(t){var i=t.clone();t.Dy(i),this.dispatchEvent(i)}function Qt(t,i){throw new ou(t,i||Iu)}function Xt(t,i){return-1<(i?Qc:Qc.concat(["All"])).indexOf(t)}function Jt(){this.Nc=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).concat(),this.ze.debug("Register",this.Nc);var t=(new Date).getTime();this.Nc.forEach((function(i,n){return i.Jf="".concat(t,"_").concat(n)}))}function Kt(t,i){this.ze.warn("Unable to release",t,"(Reason: ".concat(i,")"))}function $t(t,i){var n=this,s=t.aeg||[];this.M.vy({audiences:[],utid:this.Ks});var e=[];return s.forEach((function(s){var r=[];s.forEach((function(s){try{if(s instanceof Xc)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.lu||t.txid,s.adxResult=n.oe||t.adxResult,s.usid=n.Eh||t.usid,s.auid=n.hj||t.auid,s.parentSlot=t.slot,e=Kc.parse(s,n.ga,n.N.S("adSystem"));r.push(e)}catch(t){ef.error("Error in entry parsing logic: ".concat(t.message))}})),e.push(r)})),e}function ti(t,i){var n=this;return t.map((function(t){return $t.call(n,t,i)}))}function ii(t){return t.aeg.some((function(t){return 0<t.length}))}function ni(t){return"Midroll"===t||"Overlay"===t}function si(t){var i=this;this.Dc={};var n={};return t.forEach((function(t){var s=t.type;ni(s)&&(i.Dc[s]||(i.Dc[s]={}),i.Dc[s][t.time]||(i.Dc[s][t.time]=[]),i.Dc[s][t.time].push(t),n[s]||(n[s]=""),n[s]+="".concat(t.time,";"))})),n}function ei(t){t.forEach((function(t){t.type=Zh.a.fp(t.type),t.slots&&t.slots.forEach((function(t){t.type=Zh.a.fp(t.type)}))}))}function ri(t){var i=this,n=t.filter((function(t){return t.type===i.Ea}));return t=t.filter((function(t){return t.type!==i.Ea&&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.nk=n.length,n.concat(t)}function hi(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 oi(){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 sf(t);i.ge="aem_".concat(cf++),t.forEach((function(t){return t.ge=i.ge})),n.push(i)})),t.Ra.push(n)}))}function ui(){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 ai(t){if(this.yk)for(;0<t.length&&t[0].getEntries()[0].Xw();)t.splice(0,1)}function ci(){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.rn[vi(i)]})).length}))}function fi(t){oi.call(this),this.U.dispatchEvent(new pa(pa.Pg,{error:t,ib:fu}))}function li(t,i){var n=this;this.Jj.load(t,i).then((function(i){return di.call(n,i,t)}),fi.bind(this))}function vi(t){return t&&t.ge&&t.Jf?"".concat(t.ge,".").concat(t.Jf):null}function di(t,i){try{var n=this.Nt.parse(t,i),s=new pa(pa.LOADED,n,i,t&&t.timings,t&&t.podSize,t&&t.defaultSlot,t&&t.version);oi.call(this,s.data.Gu),this.U.dispatchEvent(s)}catch(t){fi.call(this)}}function pi(t){var i=[];return t.forEach((function(t){var n,s=t.length-1,e=t[s];t=(n=Array.prototype).concat.apply(n,wl()(t.slice(0,s))),i.push(new El(t,e))})),new Al(i)}function mi(t,i){return new Al([new Ol(t,i)])}function bi(){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.M.Ub(t)||i)}function yi(){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.M.Ub(t)||""))}function gi(){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.T.kb||{}).metadata&&i.metadata[t])}function wi(){var t=this.T.ai()||{};return{height:parseInt(t.height,10)||0,width:parseInt(t.width,10)||0}}function Ei(){return this.T.kb||{}}function Oi(t,i,n){var s=this,e=this.ga.md;this.L.dispatchEvent(new Qo(Nl,{ad:this.Z,url:t}));var r=(new Date).getTime();return _(t,null,{timeout:e,withCredentials:!0}).then((function(n){return _i.call(s,i,n,t,0)}),(function(h){var o=(new Date).getTime()-r;return e<=o?_i.call(s,n,h,t,0):Ai.call(s,t,e-o,i,n)}))}function Ai(t,i,n,s){var e=this;return _(t,null,{timeout:i}).then((function(i){return _i.call(e,n,i,t,1)}),(function(i){return _i.call(e,s,i,t,1)}))}function _i(t,i,n,s){if(this.L.dispatchEvent(new Qo(Rl,{ad:this.Z,url:n})),t)return t(i,s,n)}function Ti(t){Ri.call(this,Uu),Si.call(this),ji.call(this,new Il("Loading timeout ".concat(t," ms is exceeded"),t),Uu)}function Si(){var t={ads:[],ae:this.Gj};this.zk&&this.zk(t),this.rk=t}function Ii(t,i,n){this.oa.gf(t,i,n,this.hn),this.L.dispatchEvent(new Qo(Xo.tm,{ad_url:this.Go}))}function ji(t,i){if(!1!==this.ye){Qh.a.clearTimeout(this.vo),this.ye=!1,Dl.warn("interruptOnError",t);var n=(new Date).getTime()-this.rf;Ii.call(this,this.rk,i,n);var s=t instanceof hu?t.message:t;t=t instanceof Il?t.Ir:null,i=new jl(s,"No ads provided"===s?jl.Jm:jl.Yi,t,t?Uu:i),this.$e&&this.$e(i,n)}}function Mi(t,i){return this.Gj=t?this.sk.mq(t,this.Lo):this.Go=this.sk.mq(null,this.Lo),this.zk=i,this.sk.dy(this.Gj,function(t,n,s){if(!1!==this.ye){var e=t.data;if(this.hn=n,e||(e=t.text),!Zh.a.gi(t.text))return this.Ox(e,i,s);this.Ud("Empty VAST error",null,vu)}}.bind(this),function(t,i,n){!1!==this.ye&&(this.hn=i,i=du,t.gm?i=au:Gh.a.Fc()&&0!==n.indexOf("https:")&&(i=Tu),Si.call(this),this.Ud("VAST ajax error",t.gm?"request timeout":null,i))}.bind(this))}function Ni(t){t.ads.sort((function(t,i){return t.zb-i.zb}))}function Ri(t){this.bb&&(this.dispatchEvent("ISSUE_WITH_AD",t),this.bb.rv(this.sb,t))}function Di(t){return t.ads=t.ads.filter((function(t){return t instanceof Vc||(t.Ha=(t.Ha||[]).filter((function(t){return t instanceof dc||t.Ye&&0<t.Ye.length})),t.Ha&&0<t.Ha.length)})),t}function Li(t){var i=this;return 0!==t.ads.length||(t.Re&&t.Re.forEach((function(t){i.Oc.dd(t.url.replace(/\[ERRORCODE\]|%5BERRORCODE%5D|\{errNo\}/g,"303"))})),(t=0<this.Me&&gu)?Ri.call(this,t):t=wu,this.Ud("No ads provided",null,t),!1)}function ki(t){var i=this;return this.Me+=1,this.Af.ads.splice(t,1),this.Lo=this.bb.Sf,this.bb.Ne&&this.re.vr(this.bb.Ne),8>=this.Me?(this.bb.gr(this.sb,{},this.M.og()),Mi.call(this,this.bb.jp.url,(function(t){i.bb.Tu(t),i.bb.Wx(t,i.bb),t.parent=i.Af,t.Gc=i.bb,i.zk=null}))):(this.Af=null,Ri.call(this,xu),this.Ud("Max number of wrapper redirects ".concat(8," is exceeded"),null,xu),null)}function Ci(t,i){var n=t.Gc,s=new Qu(Qu.Za,null,null,{error:i});return n.dispatchEvent(s),this.sb.vg(s),(t=t.parent).parent&&t.ads&&0===t.ads.length&&Ci.call(this,t,i),t}function Pi(t){var i=this,n=t.data.thirdPartyImpressionTrackers||[];try{var s=t.data.vastModelAd.ei[0].url}catch(t){s=null}s&&n.push(s),n.forEach((function(t){t=t.replace(xl,"");var n=/\?/.test(t)?"&":"?";t=/&cb=[^&]*?/.test(t)?t:"".concat(t).concat(n,"cb=[CACHE_BUSTER]"),i.Bo.dd(i.L.Pb.resolve(t))})),Ul=n}function xi(t){return!!t&&0<Ul.filter((function(i){return t.replace(/(https?:)?/,"").replace(/&cb=[^&]*/,"").replace(/&apid=\[object\sObject]/,"&apid=[APID]").replace(/;ord=[^;]*/,";ord=[timestamp]")===i})).length}function Ui(t,i){var n=this;t.Se.forEach((function(s){if(!xi.call(n,s)){if(s=n.L.Pb.resolve(s),t.type===Qu.Za){var e=Su;i&&"Overlay"===i.getType()&&(e=mu),e=t.data.error||e;var r=encodeURIComponent((t.data.details||"").slice(0,100));s=pi([gc.concat(e.code),df.concat(e.va),bl.concat(r)]).resolve(s)}n.Bo.dd(s)}}))}function Vi(t,i){for(;t;)Ui.call(this,t,i),t=t.$v()}function Bi(){0===this.Qf.length&&(this.reset(),this.bn&&this.bn())}function Fi(){var t=this;this.Om||(this.O.Oh(),this.Om=setTimeout((function(){return t.Om=null}),100))}function zi(t){this.td(t.message,t.code)}function Hi(){this.V=ql.PAUSED,this.track(ga.PAUSE),this.O.Tq()}function qi(t){this.O.ki(t),!0===t.muted?this.track(ga.MUTE):this.track(ga.UNMUTE)}function Gi(){this.O.Kx()}function Yi(){this.V=ql.PLAYING,this.track(ga.RESUME),this.O.Vq()}function Wi(t){this.O.qz(t.url)}function Zi(t){t.complete&&this.rb(ga.COMPLETE),this.ca.nr(),this.V=ql.vc,this.Na.ra(),this.O.complete(!1,t)}function Qi(){this.Tl(),this.V=ql.PLAYING}function Xi(){this.yf||(this.oa.am((new Date).getTime()-this.As),this.Tl(),this.rb(ga.START),this.Kl(),this.tg())}function Ji(t){this.O.ji(t),this.im(this.ca.iw())}function Ki(t){var i=this;(this.ik=this.ik||t.data.skippable)&&(this.Nd=en.call(this,t),null!==this.Nd&&(rn.call(this),setTimeout((function(){return Object(Wh.E)(i.vb,"collapse-skip-button","expand-skip-button")}),800)))}function $i(t){var i=Math.floor(t.data.currentTime);0<this.gk&&this.Nd-this.gk<i&&(0>=(i=this.Nd-i)?sn.call(this,t):hn.call(this,i))}function tn(){this.Sj&&this.L.removeEventListener(Xo.fe,this.Sj),Object(Wh.E)(this.vb,"expand-skip-button","collapse-skip-button"),Object(Wh.C)(this.vb,"skippable"),this.ie=!0}function nn(){this.ie&&(this.L.skip(),Object(Wh.C)(this.vb,"skippable"),this.ie=!1)}function sn(t){if(!this.ie){var i="";this.bu&&(i="| ".concat(Math.round((t?t.data.duration:0)-(t?Math.floor(t.data.currentTime):0)))),this.fk.innerHTML=this.eu.replace("%t",i).trim(),Object(Wh.a)(this.vb,"skippable"),this.ie=!0,Zo.a.Xa(this.vb,"click",nn.bind(this)).link(this.La)}}function en(t){var i=t.data;t=i.duration;var n=i.skipOffsetTime;i=i.skipOffsetPercent;var s=this.cu;return n||0===n?s=n:(i||0===i)&&(s=~~(t*i/100)),s<Math.min(this.Bt,t)?s:null}function rn(){if(Zo.a.Xa(this.L,Xo.vd,tn.bind(this)).link(this.La),0<this.Nd&&(this.Sj=$i.bind(this),this.L.addEventListener(Xo.fe,this.Sj)),!this.vb){var t=this.Xg.querySelector("#".concat("ad-skip-button"));t?(this.vb=t,this.fk=this.vb.querySelector("#".concat("ad-skip-button-text"))):(this.lb.Ap(Wl.a),Object(Wh.a)(this.Xg,"ad-skip-button-container"),this.vb=Object(Wh.h)("div",{id:"ad-skip-button"},this.Xg),this.fk=Object(Wh.h)("div",{id:"ad-skip-button-text"},this.vb))}0<this.Nd?hn.call(this,this.Nd):sn.call(this)}function hn(t){this.ie||(this.gk=t,this.fk.innerHTML=this.ku.replace("%d",this.gk))}function on(){var t=this;this.subscribe((function(i){t.V=i.data}),"statechange")}function un(t){var i=this.xj[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 an(){var t=this,i=[[Jl.i,Un],[Jl.a,Nn],[Jl.b,In],[Jl.c,gn],[Jl.d,Tn],[Jl.e,Mn],[Jl.f,Rn],[Jl.h,xn],[Jl.j,wn],[Jl.k,qn],[Jl.l,dn],[Jl.m,jn],[Jl.n,Sn],[Jl.o,_n],[Jl.p,zn],[Jl.q,Vn],[Jl.r,Fn],[Jl.s,En],[Jl.t,An],[Jl.u,On],[Jl.v,Pn],[Jl.w,Ln],[Jl.x,kn],[Jl.y,Dn],[Jl.z,Cn],[Jl.A,Hn],[Jl.g,Wn]],n=this;this.Ss={addEventListener:function(t,i){n.xj[t]=i,vn.call(n,"subscribe",un.bind(n,t),t,n)},removeEventListener:function(t){delete n.xj[t];try{vn.call(n,"unsubscribe",un,t)}catch(t){}}},i.forEach((function(i){return cn.call(t,i[0],i[1])})),this.eh=0}function cn(t,i){var n=this;this.ue.link(Zo.a.bind(this.Ss,t,(function(){try{if(-1!==ov.indexOf(t)){if(-1!==n.pn.indexOf(t))return void n.O.dispatchEvent(new Qo(Kl.Lm,t));n.pn.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){ev.error("Failed to handle ".concat(t," event:"),i)}})))}function fn(t){var i=document.createEvent("MouseEvent");i.initEvent(t.type,!t.cancelBubble,t.cancelable),this.Yt.dispatchEvent(i)}function ln(t){this.element.style.visibility=t?"visible":"hidden"}function vn(t){if(this.Ga)try{for(var i=this.Ga[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.Ga,s):this.Ga.ed(t,s)}catch(i){ev.error(t,i)}}function dn(){this.O.Vq()}function pn(){this.An=(new Date).getTime(),this.Hj=this.An-this.Xc,this.oa.$l(this.Hj),vn.call(this,"subscribe",fn.bind(this),"mousemove"),vn.call(this,"subscribe",fn.bind(this),"mouseover"),k()&&mo.addEventListener(yo.fullscreenchange,this.tn)}function mn(t){ev.error(t);var i=yn.call(this);this.error=bn(i,t),this.wj&&(this.wj.call(this,this.error),this.kh===Du&&this.wj.call(this,bn(this.kh,t))),this.Kp()}function bn(t,i){return{da:t.da,code:t.code,description:"".concat(t.description," ").concat(i),Td:t.Td,va:t.va}}function yn(t){var i=this.kh||rv;return this.Qb&&!this.Ga?i=Vu:this.Ga&&!this.Ac?i=t?Nu:Mu:this.Ac&&!this.wb?i=t?Cu:ku:this.wb&&(i=Lu),i}function gn(t){t=Object(Wh.x)(t)?Object(Wh.x)(t.data)?t.data.message||t.data.errorMessage:"Internal Vpaid Error":t,ev.warn("VPAID_UNIT:",t),-1===hv.indexOf(t)?this.td(t):this.stop()}function wn(){}function En(){var t=vn.call(this,"getAdLinear");this.track(ga.ACCEPT_INVITATION),this.O.dispatchEvent(new Qo("VASTAdInteraction",t?"acceptInvitationLinear":"acceptInvitation"))}function On(){this.track(ga.COLLAPSE)}function An(){var t=vn.call(this,"getAdLinear");this.track(ga.CLOSE),this.O.dispatchEvent(new Qo("VASTAdInteraction",t?"closeLinear":"close"))}function _n(){-1!==this.Sb.indexOf("//imasdk.googleapis.com")||this.O.dispatchEvent(new Qo(Xo.Ng,{$d:this.getAdSkippableState()}))}function Tn(){vn.call(this,"getAdExpanded")?(this.track(ga.EXPAND),this.O.Xq(),this.O.dispatchEvent(new Qo("VASTAdInteraction","expand"))):(this.track(ga.COLLAPSE),this.O.pr(),this.O.dispatchEvent(new Qo("VASTAdInteraction","collapse")))}function Sn(){}function In(){}function jn(){this.O.Xl()}function Mn(){var t=this;this.yf||(Bn.call(this),this.Tl(),this.tg(),this.Kl(),(this.xl()||"Overlay"===this.Ea)&&ln.call(this,!0),setTimeout((function(){return t.gu=!0}),500))}function Nn(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.O.Oh(i,s,!n)}function Rn(){this.O.dispatchEvent(new Qo("VASTAdInteraction"))}function Dn(){this.rb(ga.START)}function Ln(){this.rb(ga.FIRST_QUARTILE)}function kn(){this.rb(ga.MIDPOINT)}function Cn(){this.rb(ga.THIRD_QUARTILE)}function Pn(){this.rb(ga.COMPLETE),Fn.call(this)}function xn(){var t=vn.call(this,"getAdLinear");t!==this.Fj&&(this.Fj=t,this.O.qg(t))}function Un(){this.Ac=!0,this.Dj=(new Date).getTime()-this.An,this.oa.Zl(this.Dj),this.setVolume(this.xa),this.O.dispatchEvent(new Qo(Xo.aj,{nc:this.O.ad&&this.O.ad.nc||""})),this.Il()}function Vn(){Bn.call(this),this.setVolume(this.xa),this.Ip(),this.O.Ci()}function Bn(){this.Bh||(this.Bh=(new Date).getTime()-this.Es,this.oa.cm(this.Bh))}function Fn(){this.Rs||(this.Rs=!0,this.yf||this.jc||(this.error=Pu),this.Dh&&clearTimeout(this.Dh),this.dispose(),this.O.complete(!1,{currentTime:this.getCurrentTime()}))}function zn(){this.L.dispatchEvent(new Qo(Xo.Ii)),this.Kp()}function Hn(){var t=this.getVolume();if(t!==this.xa&&this.wb){var i=!t;i?this.track(ga.MUTE):this.track(ga.UNMUTE),this.xa=t,this.O.ki({muted:i,volume:this.xa})}}function qn(){this.O.Tq(),!this.gu&&0<this.getVolume()&&!this.Gf&&(this.setVolume(0),this.resume())}function Gn(t){switch(t.type){case $l.b:mn.call(this,"function getVPAIDAd does not exist");break;case $l.c:mn.call(this,"getVPAIDAd() does not return a creative");break;case $l.a:mn.call(this,"API function ".concat(t.name," is missing"));break;case $l.d:this.kh=this.vt?Du:Ru,mn.call(this,"Vpaid url ".concat(t.url," is unavailable"));break;default:this.td("Error with vpaid: ".concat(t))}}function Yn(){C()?(this.rb(ga.FULLSCREEN),this.rb(ga.PLAYER_EXPAND)):(this.rb(ga.EXIT_FULLSCREEN),this.rb(ga.PLAYER_COLLAPSE)),this.resize()}function Wn(t){return Zn.apply(this,arguments)}function Zn(){return(Zn=na()(ta.a.mark((function t(i){var n,s,e,r;return ta.a.nm((function(t){for(;;)switch(t.Xb=t.next){case 0:n=JSON.parse(i.data),s=n.body,e="".concat(s.id," ").concat(s.message),r={adl:this.oa.Vh(),crid:this.O.Da.id,ecode:"600-1",estring:e,mf_bit:this.O.Uh(),mf_url:this.Sb,ms_lat:this.oa.gq()},this.L.dispatchEvent(new Xo(Xo.Fi,this.Ea,r)),0===s.message.indexOf("Ad was removed")&&this.td(e);case 5:case"end":return t.stop()}}),t,this)})))).apply(this,arguments)}function Qn(){var t=this.fa.Vd();if(0>=t)clearInterval(this.wh);else{this.dispatchEvent(new Fl(1e3*t)),t=this.fa.getCurrentTime();var i=this.fa.getDuration()||t;this.ji({currentTime:Math.min(t,i),duration:i})}}function Xn(t){this.Bn=!0,this.Sd(Qu.Za,{error:t},!0)}function Jn(){this.Ac||this.af(new hu("ad engine did not finish loading")),this.dispatchEvent(new Xo(Xo.ce,this.aa.getType(),{fd:this.Qa(),$f:this.uj,error:this.uw(),loaded:this.Ac}))}function Kn(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return i.Pr?i.Pr===t?i.level:"error":i.level||"error"}function $n(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],n=(i=tu()(i,2))[0];if(i=i[1],n&&i)return Array.isArray(i)||(i=[i]),i.map((function(i){var s=t.N.Ya(vv);return s.addEventListener(vv.Hm,(function(){n(i)})),s.bm(i),s}))}function ts(t){var i=$n.call(this,t.lf),n=$n.call(this,t.Az);return t=$n.call(this,t.zz),n=i.concat(n,t),this.ro=i[0],n.filter((function(t){return t}))}function is(){return this.Ma.lc.filter((function(t){return"ViewabilityRules"===t.type}))[0]}function ns(){var t=[],i=this.Ma.lc.filter((function(t){return"Viewability3P"===t.type}))[0],n=this.Ma.lc.filter((function(t){return"adaptv_iab_viewable_beacons"===t.type}))[0];return n&&(t=t.concat(n.Qr)),i&&(t=t.concat(i.Bz)),t}function ss(t,i){var n=this;this.wu.filter((function(i){return i.type===t})).forEach((function(t){var s=[];i&&s.push([jv,i.Le]),t.prepare(null,n.L,s),t.Aa()}))}function es(t){var i=this;this.Ma.ud.forEach((function(n){var s=n.jb,e=n.El;if(n=n.mm,"iab_viewable"===t&&s)return s.Aa();if("iab_detection_failed"===t){if(n&&-1===i.zj.Ba())return n.Aa();if(e)return e.Aa()}}))}function rs(t,i){this.Ma.dispatchEvent(new Qu(t,this.Ga)),ss.call(this,t,i),!this.Ma.ud||"iab_viewable"!==t&&"iab_detection_failed"!==t||es.call(this,t)}function hs(){this.O.Oh()}function os(){this.Aj.ra(),Object(Wh.D)(this.element)}function us(t){t.data.currentTime>this.icon.offset&&(this.O.lg.appendChild(this.element),0===this.icon.duration&&this.O.removeEventListener("VASTAdTimeUpdate",this.fm)),0<this.icon.duration&&t.data.currentTime>this.icon.offset+this.icon.duration&&(Object(Wh.D)(this.element),this.O.removeEventListener("VASTAdTimeUpdate",this.fm))}function as(){var t="string"==typeof this.icon.Ig?this.icon.Ig.toLowerCase():"";switch("string"==typeof this.icon.Hg?this.icon.Hg.toLowerCase():""){case"left":this.element.style.left="0px";break;case"right":this.element.style.right="0px";break;default:"number"==typeof this.icon.Hg&&(this.element.style.left="".concat(this.icon.Hg,"px"))}switch(t){case"bottom":this.element.style.bottom="0px";break;default:this.element.style.top="".concat("number"==typeof this.icon.Ig?this.icon.Ig:0,"px")}}function cs(t){this.Fd.dd(t)}function fs(t){return-1!=="".concat(t).indexOf("%")}function ls(t,i){var n={height:i,width:t,x:0,y:0};this.pd()&&(this.yb.position=O.Vi),n.x="calc(50% - ".concat(t/2,"px)"),n.y="calc(50% - ".concat(i/2,"px)");var s=this.ea.offsetWidth,e=this.ea.offsetHeight;switch(this.yb.position){case O.Vi:n.y=0;break;case O.Fm:n.x="calc(100% - ".concat(t,"px)");break;case O.Dm:n.y="calc(100% - ".concat(i,"px)");break;case O.Em:n.x=0;break;case O.Ti:this.ea.parentNode&&s===this.ea.parentNode.offsetWidth&&(e=this.ea.parentNode.offsetHeight),fs(this.yb.left)?n.x=parseFloat(this.yb.left)*s/100:n.x=this.yb.left,n.x-=t/2,fs(this.yb.top)?n.y=parseFloat(this.yb.top)*e/100:n.y=this.yb.top,n.y-=i/2}return n}function vs(t){return 0<Vv.filter((function(i){return new RegExp(i).test(t)})).length}function ds(){this.Wa.forEach((function(t){return t.resize()}))}function ps(t){Fv.warn("VAST error occurred in ad",t)}function ms(t){var i=this;t.addEventListener("VASTAdStarted",this.dispatchEvent.bind(this)),t.addEventListener("VASTAdError",ps.bind(this,t)),t.addEventListener("VastMediaElementReady",Us.bind(this,t)),t.addEventListener(Xo.$i,this.P.dispatchEvent.bind(this.P)),t.addEventListener(Xo.aj,this.P.dispatchEvent.bind(this.P)),t.addEventListener(Xo.Lg,this.P.dispatchEvent.bind(this.P)),t.addEventListener(Xo.Ng,this.P.dispatchEvent.bind(this.P)),t.addEventListener(Xo.Pi,this.P.dispatchEvent.bind(this.P)),t.ng(this.P.getVolume()),t.Da&&t.Da.od&&t.Da.od.forEach((function(n){return new Lv(n,i.ca,i.Fd).bz(t)}))}function bs(t){var i=this;Os.call(this,t),this.ad=t,this.Ej&&(this.ad=Hs.call(this)||t),this.zc=[],this.Vj=[],this.ad.Ha.forEach((function(t){t instanceof Fa?i.zc.push(t):t instanceof dc&&i.Vj.push(t)})),this.ad.gr(this.sb,{iA:this.getCreativeDuration()},this.M.og())}function ys(){var t=this;this.ad.lc.forEach((function(i){i.prepare(t)}))}function gs(){var t=this;this.ad.wz.forEach((function(i){t.N.Ya(la).prepare(i,t.ad)}))}function ws(){var t=this;this.ad.ud.forEach((function(i){var n=i.jb,s=i.El;i=i.mm,n&&n.prepare(null,t.P),s&&s.prepare(null,t.P),i&&i.prepare(null,t.P)}))}function Es(t){this.sb.vg(t,this.aa)}function Os(t){var i=this;Hv.forEach((function(n){return t.addEventListener(n,Es.bind(i))})),t.addEventListener(Qu.Jc,(function(t){return i.No(t.gd())})),t.addEventListener(aa.Bd,(function(t){var n=qv[t.be];n&&i.Ia(n,t.data)}))}function As(t,i){this.Cc.Kk(),t=new kv(this.Cc,this.ma.ads[0]||this.ad,t,this.Qb,i,this.P,this),this.Wa.push(t),t.addEventListener("VASTAdStarted",this.Ck.bind(this,t)),t.addEventListener("VASTAdEngineComplete",Ts.bind(this)),t.addEventListener("VASTAdInteraction",Ss.bind(this)),t.addEventListener("VASTAdEngineComplete",Vs.bind(this,t)),ms.call(this,t),this.M.mx()?t=t.ua.Cl:(i=t.yb.Mq,isNaN(i)&&(i=t.ua.Cl),t=i),t&&t!==Number.POSITIVE_INFINITY&&!isNaN(t)&&(t*=1e3,this.Cc.ti(Ps.bind(this),t))}function _s(t){this.Dg("loaded",t)}function Ts(){this.Xd("started")?this.Ia("finished"):this.Ia("failover")}function Ss(t){this.xb(Xo.rm,{action:t.data})}function Is(t){var i=this;this.Xd("started")?this.Oc.Eg("ad",null,"ad failed after start"):this.wa.Sd(Qu.Za,{error:t}),this.Od=null,this.sn++;var n=this.ma.Yp(),s=n||this.ma;if(this.ma.Bw(n).forEach((function(n){var s=new Qu(Qu.Za,null,null,{error:t});n.dispatchEvent(s),i.sb.vg(s)})),s){if(n=0,-1===this.ga.Pd)for(var e=0;e<s.ads.length;e++)if(s.ads[e]&&!s.ads[e].zb){n=e;break}if(e=s.ads[n])return this.xb(Xo.Mm,{mv:{ad:this.ad&&this.ad.qc||null,Da:this.Fa&&this.Fa.qc||null},xv:!0,ib:t}),this.ma=s,e.pg?js.call(this,n):(this.ma.ads.splice(n,1),this.me&&this.me.ra(),bs.call(this,e),this.rd(),Ns.call(this)),!0}return this.Xd("loaded")&&!this.Xd("started")&&this.Ia("failover"),!1}function js(t){this.Nb.Cg(),this.Nb.Vx(this.ma,t)}function Ms(){var t=this;this.ke=Zo.a.group(Zo.a.bind(this.wa,"VASTAdEngineComplete",(function(i){Vs.call(t,t.wa,i)})),Zo.a.bind(this.wa,Fl.TYPE,Cs.bind(this)),Zo.a.bind(this.wa,Xo.Mg,Ds.bind(this)),Zo.a.bind(this.wa,"VASTAdImpression",this.ul.bind(this)),Zo.a.bind(this.wa,"VASTAdStarting",(function(i){t.Qo(i,t.wa)})),Zo.a.bind(this.wa,"VASTAdStarted",(function(i){t.Ck(t.wa,i),i=+t.wa.getDuration();var n=+t.Fa.duration;0<i&&(i>1.8*n||n>1.8*i)&&t.Oc.Eg("ad",null,"ad duration mismatch: expected ".concat(n," but real duration: ").concat(i))})),Zo.a.bind(this.wa,"VASTAdPaused",this.Oo.bind(this)),Zo.a.bind(this.wa,"VASTAdResumed",this.Po.bind(this)),Zo.a.bind(this.wa,"VASTAdVolumeChanged",this.Ku.bind(this)),Zo.a.bind(this.wa,"VASTAdTimeUpdate",(function(i){t.zt=t.getDuration(),t.Ro(i);var n=t.Fa||{};if(n.$d&&!t.du){var s=0;i=i.data||{},n.zi?s=n.zi:n.yi&&(s=i.duration*n.yi/100),i.currentTime>=s&&(t.du=!0,t.P.dispatchEvent(new Qo(Xo.Ng,{$d:t.getAdSkippableState()})))}})),Zo.a.bind(this.wa,"VASTAdWaiting",this.Lu.bind(this)),Zo.a.bind(this.wa,"VASTAdInteraction",this.iz.bind(this)),Zo.a.bind(this.wa,Kl.Lm,Rs.bind(this)))}function Ns(){if(0===this.zc.length)if(this.ad){this.wa=new cv(this.Ta,this.ad,{},this.P,this);var t=Eu;Is.call(this,t)||(this.hf(new jl(t.description,null,null,t)),this.complete())}else this.complete();else if((t=this.ad)&&(t=this.ad,t=((new Date).getTime()-t.px)/1e3>t.expires),t)this.wa=new cv(this.Ta,this.ad,{},this.P,this),t=lu,Is.call(this,t)||(this.hf(new jl(t.description,null,null,t)),this.complete());else{this.Db=null,this.Fa=this.zc.shift(),this.ad.dispatchEvent(new Qu(Qu.LOADED,this.Fa)),this.En?this.En=!1:this.Ak(),this.oa.Yl(this.ad&&this.ad.qc||null,this.Fa&&this.Fa.qc),t=this.ea.offsetWidth;var i=this.ea.offsetHeight;0===t&&(this.ea.style.width="100%",t=this.ea.offsetWidth),0===i&&(this.ea.style.height="100%",i=this.ea.offsetHeight),(t=Uv.ri(t,i,this.Fa.Ye))?(this.Qb=t[0],ys.call(this),gs.call(this),this.me=new Mv(this.ad,this.Fa,this.P),this.Fa.op.prepare(this.N,this.ad),this.ad.ud&&ws.call(this),this.P.dispatchEvent(new Qo("VASTAdLoading",{ad:this.aa,url:this.Qb.url})),this.wa=t=new cv(this.Ta,this.ad,this.Fa,this.P,this).Rr(t).Fz(this.Fa.yq),this.ke&&(this.ke.ra(),this.ke=null),Ms.call(this),this.Wa.push(t),ms.call(this,t)):Ns.call(this)}}function Rs(t){this.Oc.Eg("ad",null,'VPAID sends "'.concat(t.data,'" event twice'))}function Ds(t){t.data.isLinear||this.Ia("non-linear"),this.P.dispatchEvent("AdSystem.LinearChange",t)}function Ls(){var t=this.ma.ads[0];return t?(t.pg?(t=this.ma,this.Nb.Cg(),this.Nb.df(t)):(this.ma.ads.shift(),bs.call(this,t),this.rd(),Ns.call(this)),!0):!!(t=ks.call(this))&&(this.Nb.Cg(),this.Nb.df(t),!0)}function ks(){for(var t=this.ma.parent;t&&t.parent&&(0===t.ads.length||!t.ads[0].zb);)this.Nb.ov(),t=t.parent;return t}function Cs(t){t=t.jr,this.Ta&&(t=Math.min(this.Ta.ir(),t)),t=new Fl(t),this.dispatchEvent(t),this.P.dispatchEvent(t)}function Ps(t,i){if(this.yt=!0,this.Cc.stop(),this.zc=[],0<this.Wa.length){var n=this.Wa;t||(this.Wa=[]),n.forEach((function(t){return t.stop(i)}))}else Vs.call(this)}function xs(t,i){var n=[];return this.Wa.forEach((function(i){i!==t&&n.push(i)})),this.Wa=[],0===n.length?null:(new Bl(n,Vs.bind(this,t,i)).rz(),n.forEach((function(t){return t.stop()})),n)}function Us(t){"Overlay"===this.Qa().getType()?t.sd():(this.Rd(),this.P.dispatchEvent(new Qo(Xo.uc)))}function Vs(t,i){if(this.Cc.stop(),this.bh=!1,i){if(null!=xs.call(this,t,i))return;var n=t.Np();if(n&&(this.hf(new jl(n.message||n.description,null,null,n)),this.Od=zs.call(this,n)),i.force&&(this.bh=!0),this.Ih(i.currentTime,i.data),t instanceof cv)return this.me&&this.me.ra(),void(this.Db?(this.Od||(this.Od=zs.call(this)),Is.call(this,this.Od)||Vs.call(this)):((t=-1===this.ga.Pd)&&(t=!(!(t=this.ma.ads[0])||!t.zb)),(this.P.Dq()||t)&&Ls.call(this)||Vs.call(this)));if(t instanceof kv)return void Vs.call(this)}this.bh||this.complete()}function Bs(t){if(t=t.ua)return uo.a.cl(t.url)||t.url}function Fs(){var t=[];if(this.ad&&this.ad.Ha&&this.ad.Ha.length)t=Cv.hw(this.ad.Ha);else if(this.Wa&&this.Wa.length)t=this.Wa.map((function(t){return Bs(t)}));else if(this.wa){var i=Bs(this.wa);i&&t.push(i)}return t.join(",")}function zs(t){return(t=Object(Wh.g)(t||{})).code=t.code||this.Db.code||zv.code,t.description=t.description||this.Db&&this.Db.message||zv.description,t}function Hs(){return Object(Wh.l)(this.ma.ads,(function(t){return!isNaN(t.Kv)}))}function qs(){this.Ej=!0}function Gs(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 Ys(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Gs(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gs(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Ws(){return Uv.ri(this.ea.offsetWidth,this.ea.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return Ys({},t,{mimeType:t.contentType})})))}function Zs(){var t=this.cb.Le,i=[];switch(this.cb.eg()){case"viewabilityDefVideo3P":i.push([jv,t]);break;case"viewabilityDefStatic3P":i.push([pv,t])}return i}function Qs(){var t=this,i=Xs.call(this);0<i.length&&i.map((function(i){return t.N.Ya($v).bm(i)}))}function Xs(){var t=this,i=[];return Object.keys(id).forEach((function(n){var s=id[n],e=t.cb[s]||[];if("GEMINI_IMP"===n){if(!t.un)return;var r=[t.un]}else{if(!t.nf[n])return;r=t.nf[n]}Array.isArray(e)||(e=[e]),e.forEach((function(t){i.push(new Pa(s,t,r))}))})),i}function Js(t){if(-1===this.yo.indexOf(t)){var i=this.nf&&this.nf[t];i&&this.Xj.Jp({Zq:i}),this.yo.push(t)}}function Ks(){this.Rd(),this.P.dispatchEvent(Xo.uc)}function $s(t,i){this.V!==od.LOADED&&this.V!==od.Xi&&(this.V=od.LOADED,t&&t(i.data),this.L.dispatchEvent(Xo.ee,i))}function te(t){var i=t.data&&t.data.fd;i.Cq=!!t.data.loaded,this.Mb.release(i),t.data&&t.data.error?(this.Mb.Lq(i),ie.call(this,"all ads are failed",t.data&&t.data.$f,t.data&&t.data.error&&t.data.error.ib,i)):(this.reset(),this.V=od.vc,this.dispatchEvent(new Qo(Qo.Ni))),this.L.dispatchEvent(Xo.ce,t)}function ie(t,i,n,s){this.stop(),this.dispatchEvent(new Qo(Qo.Ni,{fd:s,$f:i,error:t,ib:n}))}function ne(t){t=new t(this.L),this.Pm[t.getType()]=t}function se(){var t=this;this.L.addEventListener(pa.LOADING,ue.bind(this)),this.L.addEventListener(pa.LOADED,ae.bind(this,"LOADED")),this.L.addEventListener(pa.Pg,ae.bind(this,"FAILED")),this.L.addEventListener(Xo.Kg,ce.bind(this)),this.L.addEventListener(Xo.ac,he.bind(this)),this.L.addEventListener(Xo.Ei,(function(i){t.xc||ue.call(t),t.dc&&!t.dc.end&&ce.call(t),t.dc={ads:[],duration:null,end:null,label:"aegGroup",start:+new Date},t.xc.adGroups.push(t.dc),oe.call(t,i)})),this.L.addEventListener(Nl,(function(i){i=i.data;var n=le.call(t,i.ad);n&&n.adChain.push({duration:null,end:null,start:+new Date,url:i.url})})),this.L.addEventListener(kl,(function(i){i=i.data,Zo.a.Xa(i.ad,Qu.Za,ve.bind(t,i))})),this.L.addEventListener(Rl,(function(i){(i=(i=le.call(t,i.data.ad))&&i.adChain||[]).length&&((i=i[i.length-1]).end=+new Date,i.duration=i.end-i.start)})),this.L.addEventListener("VASTAdLoading",(function(i){i=i.data;var n=le.call(t,i.ad);n&&(t.jh={duration:null,end:null,start:+new Date,url:i.url},n.adMediaFiles.push(t.jh))})),this.L.addEventListener(Xo.Cm,(function(i){if(i=i[0]&&i[0].rootElem,!t.Eb&&i&&"IFRAME"!==i.lastChild.nodeName){t.Eb=document.createElement("iframe"),t.Eb.style.display="none";var n=t.L.N.S("urls");t.Eb.src=n.Pw(),i.appendChild(t.Eb)}})),this.L.addEventListener(Xo.mf,re.bind(this,Xo.mf)),this.L.addEventListener(Xo.Si,re.bind(this,Xo.mf)),window.addEventListener("message",ee.bind(this))}function ee(t){this.Eb&&t.origin===uo.a.wg(this.Eb.src).origin&&t.data&&!t.data.optIn&&this.Eb.parentNode&&this.Eb.parentNode.removeChild(this.Eb)}function re(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"SUCCESS";if(this.Eb&&this.Eb.contentWindow){var i=this.L.bl();this.Eb.contentWindow.postMessage({data:this.Va,date:Date.now(),key:"vapa-data",method:"set",playerInfo:{hA:"0.0.113",cD:i.iq(),dD:i.Zh()},publisherUrl:window.location.href,status:t},"*")}}function he(t){this.Va.adStartTime||(this.Va.startAdTime=+new Date,this.Va.adStartTime=this.Va.startAdTime-this.Va.initTime,ce.call(this),t&&t.data&&(t=le.call(this,t.data.ad))&&t.adMediaFiles.length&&((t=t.adMediaFiles[t.adMediaFiles.length-1]).end=this.Va.startAdTime?this.Va.startAdTime:+new Date,t.duration=t.end-t.start),re.call(this))}function oe(t){if(t){var i=fe.call(this,t);t.addEventListener(Xo.ee,(function(){i.end=+new Date,i.duration=i.end-i.start})),t.addEventListener(Xo.ce,(function(){i.complete=+new Date}))}}function ue(t){var i=t&&t.data||{};return this.xc&&!this.xc.adServerResponse&&ae.call(this,"FAILED",t),this.xc={adGroups:[],adStrategy:i.Ju,duration:null,end:null,label:"adServerRequest",requestUrl:null,start:+new Date,type:i.type},this.Va.adServerRequests.push(this.xc),this.xc}function ae(t,i){this.xc||ue.call(this);var n=this.xc;if(!(n.end&&n.status||(n.end=+new Date,n.duration=n.end-n.start,n.requestUrl=i&&i.data&&i.data.hD||null,n.status=t,"FAILED"!==t))){var s="Failed ad server response";i&&i.data&&i.data.error&&i.data.error.gm&&(s="Ad server response timeout: ".concat(i.data.error.request.timeout,"ms")),n.error=s,re.call(this,t)}}function ce(){this.dc&&(this.dc.end=+new Date,this.dc.duration=this.dc.end-this.dc.start)}function fe(t){var i="",n="",s="",e="",r="",h="";return(t=t.Qa())&&(i=t.getAcid(),n=t.getType(),s=t.getVendor(),e=t.eg(),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.Nm.push({ad:n,Uk:t}),this.dc.ads.push(n),n}function le(t){var i=this.Nm.filter((function(i){return i.Uk===t})).slice(-1);return(i=tu()(i,1)[0])&&i.ad||null}function ve(t,i){var n=le.call(this,t.Uk);if(n){var s,e=n.adChain;if(0<e.length)i=i.data.error.code===Su.code&&i.data.details?i.data.details:"".concat(i.data.error.description," ").concat(i.data.details),t.Or?e.forEach((function(i){i.url===t.Or&&(s=i)})):s=e[e.length-1],s.error=i,0<(n=n.adMediaFiles).length&&(n[n.length-1].error=i)}}function de(t){var i=this.N.Ya(vv);return i.bm(new Pa("default",t)),i}function pe(){return this.L.isMuted()?2:1}function me(){var t=this.$c.Ba();return 0>t?3:50>t?2:1}function be(){return this.ca.pl()}function ye(){return this.ca.dl()}function ge(){return this.Hb.inView100.Vc}function we(){return this.Hb.inView50.Vc}function Ee(){return this.Hb.inView50Continuous.Vc}function Oe(){var t=1e3*this.L.getDuration()||3e4;return this.Hb.inView50Continuous.Vc>Math.min(t/2,15e3)?1:0}function Ae(){return k()&&C()}function _e(){return encodeURIComponent(this.Gt.tw())}function Te(){return this.M.Gq()}function Se(){var t=this.ga.Er;return t&&!Object(Wh.q)(t)?1:0}function Ie(){return 1}function je(){return Date.now()}function Me(){var t=(new Date).getTime(),i=document.createElement("template"),n=document.createElement("details"),s=document.createElement("img");return(new ld).append(this.X.kp&&this.X.kp.SD).append(document.documentMode).append(document.fonts&&document.fonts.ready).append(1&t).append(this.X.ActiveXObject).append(this.X.kp).append(this.tb.serviceWorker).append(this.X.opera).append(this.X.sidebar).append(!1).append(2&t).append(!this.X.ActiveXObject).append(ze.call(this,"-ms-ime-align")).append(ze.call(this,"-ms-scroll-limit")).append(Fe.call(this,"-webkit-font-feature-settings")).append(4&t).append(this.X.ActiveXObject).append(ze.call(this,"-moz-appearance")||ze.call(this,"mozAppearance")).append(this.X.cA).append(this.X.zA).append(Object.prototype.hasOwnProperty.call(i,"content")).append(this.X.performance&&Object.prototype.hasOwnProperty.call(this.X.performance,"getEntriesByType")).append(8&t).append(Fe.call(this,"image-rendering")).append(Fe.call(this,"object-fit")).append(Object.prototype.hasOwnProperty.call(n,"open")).append(this.X.screen&&Object.prototype.hasOwnProperty.call(this.X.screen,"orientation")).append(this.X.performance).append(Fe.call(this,"shape-image-threshold")).append(this.Rc[0]).append(Object.prototype.hasOwnProperty.call(s,"srcset")).append(this.yu).Wc}function Ne(){var t=(new Date).getTime(),i=vd.a.Zu();return(new ld).append(this.zu).append(32&t).append(this.Rc[1]).append(this.Rc[2]).append(vd.a.gv()).append(vd.a.fv()).append(vd.a.av()).append(64&t).append(i||Object(Wh.w)(this.tb.vibrate)?1:0).append(i).append(this.Rc[3]).append(vd.a.dv()).append(He.call(this,"image-rendering","pixelated")).append(Object(Wh.w)(document.elementsFromPoint)).append(He.call(this,"object-fit","inherit")).append(He.call(this,"shape-image-threshold",.9)).append(He.call(this,"word-break","keep-all")).append(vd.a.cv()).append(this.wn&&Object(Wh.w)(this.gn.supports)).append(this.X.Intl&&Object(Wh.w)(this.X.Intl.Collator)).append(Object(Wh.w)(document.createElement("dialog").show)).append(256&t).append(this.Rc[4]).append(this.Rc[5]).append(document.documentElement&&Object(Wh.w)(document.documentElement.webkitRequestFullScreen)).append(Object(Wh.w)(this.tb.getBattery)).append(this.tb.permissions&&Object(Wh.w)(this.tb.permissions.query)).append(this.X.AudioContext&&Object(Wh.w)((new this.X.AudioContext).createBuffer)).append(this.Rc[6]).append(this.X.webkitRequestAnimationFrame&&Object(Wh.w)(this.X.webkitRequestAnimationFrame)).append(this.X.BroadcastChannel&&Object(Wh.w)(this.X.BroadcastChannel.call)).Wc}function Re(){var t=(new Date).getTime();return(new ld).append(Object(Wh.w)(this.X.FontFace)).append(Object(Wh.w)(this.X.Gamepad)).append(1024&t).append(Object(Wh.w)(this.X.MutationEvent)).append(Object(Wh.w)(this.X.MutationObserver)).append(this.X.crypto&&Object(Wh.w)(this.X.crypto.getRandomValues)).append(Object(Wh.w)(document.body.createShadowRoot)).append(Object(Wh.w)(document.body.webkitCreateShadowRoot)).append(Object(Wh.w)(this.X.fetch)).append(Object(Wh.w)(this.X.createImageBitmap)).append(this.tb.serviceWorker&&Object(Wh.w)(this.tb.serviceWorker.register)).append(Object(Wh.w)(this.tb.webkitGetGamepads)).append(this.X.speechSynthesis&&Object(Wh.w)(this.X.speechSynthesis.speak)).append(Object(Wh.w)(this.X.webkitRTCPeerConnection)).append(He.call(this,"--fake-var",0)).append(4096&t).append(He.call(this,"cursor","grab")).append(He.call(this,"cursor","zoom-in")).append(He.call(this,"image-orientation","270deg")).append(Object(Wh.w)(this.X.Proxy)).append(He.call(this,"position","sticky")).append(void 0===document.createElement("style").lD).append(this.Be&&this.Be.getEntriesByType&&this.Be.getEntriesByType("resource")instanceof Array).append(void 0===this.X.Mz).append(vd.a.$u()).append("boolean"==typeof this.tb.onLine).append(16384&t).append(void 0===this.tb.RD).append(this.Be&&this.Be.now&&"number"==typeof this.Be.now()).append(vd.a.ev()).append(vd.a.Xu()).append(vd.a.bv()).Wc}function De(){return this.Rc[7]}function Le(){return(new Date).getTimezoneOffset()}function ke(){return"".concat(this.X.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,"x").concat(this.X.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)}function Ce(){return"".concat(this.X.outerWidth||document&&document.body&&document.body.offsetWidth,"x").concat(this.X.outerHeight||document&&document.body&&document.body.offsetHeight)}function Pe(){return"".concat(this.X.screen.availWidth,"x").concat(this.X.screen.availHeight)}function xe(){return"".concat(this.X.screen.width,"x").concat(this.X.screen.height)}function Ue(){return vd.a.btoa(this.tb.userAgent)}function Ve(){return vd.a.btoa(this.tb.platform)}function Be(){return vd.a.btoa(this.tb.vendor)}function Fe(t){return this.Wm&&Object.prototype.hasOwnProperty.call(this.Wm,t)}function ze(t){return this.mn&&Object.prototype.hasOwnProperty.call(this.mn,t)}function He(t,i){return this.wn&&this.gn.supports(t,i)}function qe(t){var i=this;return t.filter((function(t){return t.qp(i.qa)})).map((function(t){return t.prepare(i.Pb,i.qa)}))}function Ge(t,i,n){clearTimeout(this.ej),this.co=!0,this.on.ra(),this.ne=0,this.sa.reset(),this.Gd=this.ga.Pd,Xt(this.qa)&&(t={adPodsPlayed:this.sf,engineErrors:i,reason:t,vastError:n},this.ij?(this.dispatchEvent(new Xo(Xo.Jg,this.qa,t)),this.ij=!1):this.dispatchEvent(new Xo(Xo.mf,this.qa,t)))}function Ye(t,i,n){this.Bc&&this.Bc(t?{$f:i,error:t,ib:n}:void 0),this.Vn&&Ge.call(this,t,i,n)}function We(t){if(this.qo||this.Sh)Ge.call(this,"STOPPED_BY_TIMER",t&&t.data&&t.data.$f,t&&t.data&&t.data.ib);else if(t&&t.data&&t.data.error){var i=t.data.error,n=t.data.$f,s=t.data.ib;t=t.data.fd;var e=!0;this.M.Rp().disableFailoverOnDlvFailure&&(e=0===this.ne);var r=this.Mb.Wk(this.qa);this.Tc=qe.call(this,r),this.sa.reset(),yd.warn("on ad group failed:",i,this.Tc),this.Tc.length&&this.Dq()&&e?(i=this.Bc?this.Bc:hr.bind(this),this.dispatchEvent(new Xo(Xo.qm,null,{fd:t,ib:s})),this.sa.load(this.Tc,i)):(--this.Gd,this.dispatchEvent(new Xo(Xo.Si,null,{fd:t,ib:s})),Ye.call(this,"AD_GROUP_FAILED",n,s))}else--this.Gd,Ye.call(this)}function Ze(){this.dispatchEvent(new Xo(Xo.Jg,this.qa))}function Qe(){this.stop(!0)}function Xe(t){t.data.isLinear||(1>=this.Gd?this.dispatchEvent(Xo.Mg,t):this.zx())}function Je(t){this.xa=t.data.muted?0:t.data.volume}function Ke(t){this.Z=t}function $e(t){this.Z=t.fd}function tr(){clearTimeout(this.ej),this.sf+=1}function ir(){this.ne+=1,this.Ug+=1}function nr(t,i){var n=this.Mb.Wk(this.qa);this.Mf=i.Mf;var s=i.Zj;s&&(this.Gd=s,this.ga.Pd=s),this.Jd&&this.Jd.pause(),s=n[0]&&n[0].Hf,n=n[0]&&n[0].kd(),s&&this.M.Qy(s),n&&this.M.Xy(n),t&&t({li:i.data.li})}function sr(t){t&&t({li:[]})}function er(t){var i=this;[{Hc:function(){var t;return(t=i.M).Sy.apply(t,arguments)},tc:t.pid},{Hc:function(){var t;return(t=i.M).By.apply(t,arguments)},tc:t.bcid},{Hc:function(){var t;return(t=i.T).wr.apply(t,arguments)},tc:t.vid},{Hc:function(){var t;return(t=i.M).Ay.apply(t,arguments)},tc:t.bckt},{Hc:function(){var t;return(t=i.M).Jy.apply(t,arguments)},tc:t.expn},{Hc:function(){var t;return(t=i.M).Iy.apply(t,arguments)},tc:t.expb},{Hc:function(){var t;return(t=i.M).Hy.apply(t,arguments)},tc:t.device},{Hc:function(){var t;return(t=i.M).Vy.apply(t,arguments)},tc:t.region},{Hc:function(){var t;return(t=i.M).Wy.apply(t,arguments)},tc:t.site}].forEach((function(t){return t.tc&&t.Hc(t.tc)}))}function rr(){this.removeEventListener(Xo.uc,rr.bind(this)),this.Bi()}function hr(){this.addEventListener(Xo.uc,rr.bind(this)),this.Zd()}function or(t){var i=t.body;if(t=this.sa.ka){var n=t.oa,s=t.wa;i={adl:n.Vh(),crid:s.Da.id,ecode:"600-2",estring:"".concat(i.id," ").concat(i.message),mf_bit:s.Uh(),mf_url:s.ua.url,ms_lat:n.gq()},this.dispatchEvent(new Xo(Xo.Fi,t.Qa().getType(),i))}}function ur(t){var i={};this.Pa({at:(t.data.type||"Preroll").toLowerCase(),device:this.M.rj,ps:Object(Wh.m)(!1),region:this.M.ak,site:this.M.ek,spaceid:this.hc.kd(),vid:this.T.uf},{},i),this.Gg(i),this.Aa("ad-request.gif",i)}function ar(t){var i={};br.call(this,t,i),yr.call(this,t,i),this.Pa({},{sact:this.M.Md},i),this.Aa("ad-issue.gif",i)}function cr(t){var i={};br.call(this,t,i),this.Gg(i),this.Pa({},{auid:t.data.auid,h:t.data.Xf,sact:this.M.Md},i),this.Aa("ad-engine-request.gif",i),this.$s&&(i.acid||i.rid)&&lr.call(this,this.Oa.Rv(),i)}function fr(t){var i={};br.call(this,t,i);var n=t.data.latency/100,s=this.ga.md;this.Pa({aert:t.data.latency,ar:t.data.lx?"yes":t.data.timeout?"timeout":"no",fo:t.data.uz,ft:n<=this.ga.Bg?0:n<=s?1:2},{to:t.data.timeout},i),this.Pa({},{auid:t.data.auid,h:t.data.Xf,sact:this.M.Md},i),this.Aa("ad-engine-response.gif",i)}function lr(t,i){var n={};Object(Wh.g)(this.M.getParameters(),n),Object(Wh.g)(i,n),t+=n?"?".concat(Object(Wh.G)(n)):"",this.dd(t)}function vr(t){var i={};br.call(this,t,i),yr.call(this,t,i);var n=t.data.Jv||0;this.Pa({ap:t.data.Uu,atsub:"LOOKAHEAD"===t.data.Ou?"SKIPPABLE_PREROLL":"",avid:t.data.Lh,cpm:t.data.Ib,fo:t.data.Kh&&"win"!==t.data.Kh&&"loaded"!==t.data.Kh?n:void 0,h:t.data.Xf,m:t.data.muted},{ltc:t.data.latency},i),this.Nl(i),this.Gg(i),this.Pa({},{auid:t.data.auid,bsfv:"started"===i.stg&&t.data.bsfv?t.data.bsfv.sort().toString():"",sact:this.M.Md},i),this.Aa("ad-engine-flow.gif",i),"started"===i.stg&&(i.acid||i.rid)&&lr.call(this,this.Oa.Ov(),i)}function dr(t){var i={};br.call(this,t,i);var n=this.T.kb;this.Pa({cd:t.data.ob||"none",ct:t.data.np,t:n&&n.time||0},{},i),this.Aa("click.gif",i)}function pr(t){var i={};br.call(this,t,i),this.Pa({atsub:"",slot:t.data.slot},{},i),this.Gg(i),this.Nl(i),this.Aa("slot-opp.gif",i)}function mr(t){if(t=t.data.Nq){var i=t.oc;return i=i&&i[0]&&i[0].mimeType||t.mimeType,t.eb?"".concat(t.eb," ").concat(i):i}}function br(t,i){var n=(t=t.data).vp||{};return this.Pa({at:(t.type||"Preroll").toLowerCase()},{acid:t.acid,adIdx:t.sequence||-1,adseq:t.slotAdSeq,aen:t.name,asid:t.asid,device:this.M.rj,itg:this.T.gh,pbl:t.isPayable,pc:t.profitCenter,pid:this.M.Ld,poid:t.podId,ps:Object(Wh.m)(!1),rcid:t.ruleCompanyId,region:this.M.ak,rid:t.ruleId||n.eo,scope:t.isHouseAd?"ha":null,seq:this.T.kb?this.T.kb.sequence:-1,sfbid:t.bookingId,sfliid:t.lineItemId,site:this.M.ek,spaceid:this.hc.kd(),txid:t.transactionId,usid:t.usid,v:t.vendor,vid:this.T.uf,w:t&&t.Tk},i)}function yr(t,i){var n=t.data;return this.Pa({crt:mr(t)||"",curl:n.url||"",stg:n.Kh},{aid:n.Jh,al:n.Fu,crl:n.Hv,dt:n.details,el:n.Td,et:n.Cv,st:n.Bv},i)}function gr(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.Ua=t.slot,t=t.aeg&&t.aeg[0]&&t.aeg[0][0],this.Vs=this.In[this.qa]||t}function wr(t){this.In=[],this.vf=t.vf,this.Lf=t.data&&t.data.source&&t.data.source.slots||[]}function Er(t){if(!t)return"";var i=uo.a.wg(t),n=function(t){for(var i in _d)if(t.endsWith(i))return _d[i];return"OTHER"}(i.host);i=i.pathname;var s={get:function(i){return uo.a.Vb(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 Or(s,"iu");case"ADXIMA":return Or(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 Or(t,i){return(t=t.get("adTagUrl")||t.get("adtagurl"))?(t=decodeURI(unescape(t)),uo.a.Vb(i,t,!1)):""}function Ar(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 _r(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Ar(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ar(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Tr(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 Sr(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 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 jr(){var t=this;this.Ma&&this.Ma.Ha&&this.Ma.Ha.forEach((function(i){t.Yg[i.qc]=new Md(i,t.ea,t.qa)}))}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 Nr(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){Wu()(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 Rr(){var t=this;this.ma&&this.ma.ads&&this.ma.ads.forEach((function(i){t.Kc[i.qc]=new Nd(i,t.ea,t.br,t.Oa)}))}function Dr(t){if((t=t.Gc.Ha)&&0<t.length)return t[0].id}function Lr(t){if(!this.Gn)return{crid:t,v_cr_id:t};for(var i=this.ma||{};i.parent&&i.parent.Gc;)t||(t=Dr(i)),i=i.parent||{};return this.fn=Dr(i),this.pk=t||this.fn,{crid:this.fn,v_cr_id:this.pk}}function kr(t){return t?t=this.Kc[t]:t=0<(t=Object.keys(this.Kc)).length?this.Kc[t[0]]:null,t}function Cr(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 Pr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Cr(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Cr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function xr(){if(!this.dj){var t=this.L.getDuration();this.dj=t&&Math.round(t)||""}return{ad_lng:this.dj,adReplay:this.Rm,dlvretry:this.ah,medT:this.mh,view:this.Gb.Ba()}}function Ur(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 Vr(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Ur(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function Br(){var t=this;[[Xo.ac,[Bd,Xd],Kr.bind(this)],[Xo.Ji,[],Jr.bind(this)],[Xo.Lg,[],th.bind(this)],[Xo.Jg,[],null,eh.bind(this)],[Xo.mf,[],null,eh.bind(this)],[Xo.Li,[Hd],null,uh.bind(this)],[Xo.fe,[],ah.bind(this)],[Xo.Hi,[Pd]],[Xo.um,[Bd]],[Xo.Ii,[Fd],sh.bind(this)],[Xo.sm,[],nh.bind(this)],[Xo.pm,[null,Jd]],[Xo.rm,[],hh.bind(this)],["Reporting.Ad.Slot.Opportunity",[],Xr.bind(this)],[Xo.Mm,[],Wr.bind(this)],[Xo.$i,[],vh.bind(this)],[Xo.Pi,[],dh.bind(this)],[Xo.aj,[],$r.bind(this)],[Xo.ee,[],Hr.bind(this)],[Xo.qm,[],qr.bind(this)],[Xo.Si,[],Gr.bind(this)],[Xo.Ei,[],lh.bind(this)],[Xo.tm,[],zr.bind(this)],[Xo.Ki,[],oh.bind(this)],[Xo.Fi,[],Fr.bind(this)]].forEach((function(i){var n=(i=tu()(i,4))[0],s=tu()(i[1],2),e=s[0],r=s[1],h=i[2],o=i[3];t.L.addEventListener(n,(function(i){h&&h(i),i&&i.data&&"Overlay"===i.data.adType&&r?t.hb(r,null,i.data):e&&t.hb(e,null,i&&i.data),o&&o(i)}))}))}function Fr(t){t=Vr({evt:"ad_pberr"},t.data),ph.call(this,t)}function zr(){var t=Vr({evt:"ad_req"},(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data||{});ph.call(this,t)}function Hr(){this.wc=!0,ph.call(this,{evt:"ad_call",r_code:2}),this.Hh=!1,this.Vf=!0}function qr(t){this.ni(),Yr.call(this,!0,t.data),this.Vf=!1}function Gr(t){Yr.call(this,!1,t.data),this.Vf=!1}function Yr(t,i){var n=i.ib;i={Du:i.fd&&i.fd.Tg},this.Vf?t&&Zr.call(this,{a_dlv_err:n&&n.da||pu.da,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.da||bu.da},"r_code",!1,i)}function Wr(t){if(this.Hh=!1,t.data.xv){var i=t.data.ib;Zr.call(this,{a_dlv_err:i&&i.da||Su.da,evt:"ad_dlvf"},"a_dlv_err",null,t.data.mv)}this.oa.Fk(),this.Vf=!1}function Zr(t,i,n,s){var e=this;null!==this.Wd&&void 0!==this.Wd?Qr.call(this,t,i,n,s):this.pf.Ja.then((function(r){e.Wd=r,Qr.call(e,t,i,n,s)}))}function Qr(t,i,n,s){this.Wd&&(t[i]=uu.da),ph.call(this,t,s&&s.Du||null,s&&s.ad||null,s&&s.Da||null),n&&this.oa.Vu()}function Xr(t){if(!this.ub){var i=t.data&&t.data.vp,n=i&&i.Tg,s=t.data&&t.data.type&&t.data.type.toLowerCase()||"";"AVAIL"!==t.data.slot||t.data.$w?this.nh.dispatchEvent(Zd,{evt:"ad_oppty",medS:1,medT:1,ntwk:"Plugin Communicator",pos:s,slot:t.data.slot,taken:2}):ph.call(this,{evt:"ad_oppty",ntwk:i&&i.nq()||"",pos:s,taken:1},n)}}function Jr(t){t&&t.data&&"application/javascript"===t.data.mimeType&&ph.call(this,{evt:"ad_beg"})}function Kr(){this.Tm=!1,this.Is=setTimeout(ih.bind(this),2e3),ch.call(this),this.Lc=!0,this.Qj=this.L.isMuted(),this.Jn=0}function $r(){ph.call(this,{evt:"ad_init"}),this.Hh=!0}function th(){ph.call(this,{evt:"ad_dlv"})}function ih(){this.Tm||(ph.call(this,{dur:2,dur_d:fh.call(this,2),evt:"ad_view",skippable:this.L.isSkippable()?1:0}),this.Tm=!0)}function nh(t){var i=Math.floor(this.L.getCurrentTime()||this.Kn);if("finished"===t.data.adStage)ph.call(this,{dur:i,dur_d:fh.call(this,i),evt:"ad_comp"});else{var n=25;switch(t.data.adStage){case"q2":n=50;break;case"q3":n=75}ph.call(this,{dur:i,dur_d:fh.call(this,i),evt:"ad_prog",q:n})}}function sh(){var t=Math.floor(this.L.getCurrentTime()||this.Kn);ph.call(this,{dur:t,dur_d:fh.call(this,t),evt:"ad_skip"})}function eh(t){var i=this,n=t.data.vastError;this.Lc&&!n?(this.Lc=!1,this.hb(xd,null,{}),clearTimeout(this.Is)):(ch.call(this),null!==this.Wd&&void 0!==this.Wd?rh.call(this,n,this.Wd):this.pf.Ja.then((function(t){rh.call(i,n,t)}))),this.Vf=!1}function rh(t,i){var n={estring:t&&t.description||"",evt:"ad_err"};(t=i?uu.da:t&&t.da)||(t=this.Hh?Cu.da:Nu.da),n.a_dlv_err=t,this.hb(Vd,null,n),this.wc&&(this.ni(),ph.call(this,n))}function hh(t){"Overlay"===t.data.Sf&&"close"===t.data.action&&this.hb(Kd,null,t.data||{})}function oh(t){var i=this;t.data.raw.forEach((function(t){var n=Object.keys(t.cg)[0];i.hb(Wd,{track:Vr({},t,{format:n,language:t.lang,url:t.cg[n]})},null)}))}function uh(t){(t.data.muted&&!1===this.Qj||!1===t.data.muted&&this.Qj)&&this.hb(Cd,null,{muteState:t.data.muted?"muted":"unmuted"}),this.Qj=t.data.muted}function ah(t){var i=t&&t.data&&t.data.currentTime||this.L.getCurrentTime()||0;this.hb(zd,i,t.data||{}),this.Kn=i,2<=i&&ih.call(this)}function ch(){this.hb(Qd,this.L.getTimeLog())}function fh(t){var i=t-this.Jn;return this.Jn=t,i}function lh(t){t&&this.Ge.nz(t.Qa(),this.L.Zk())}function vh(){this.Hh=!1,ph.call(this,{evt:"ad_iframe_load"})}function dh(){ph.call(this,{evt:"ad_iframe_loaded"})}function ph(t,i,n,s){t=this.oa.dr(t,i,n,s),this.nh.dispatchEvent(Zd,t)}function mh(){var t=this;this.Oj.forEach((function(i){t.U.dispatchEvent(i.event,i.Mx)})),this.Oj=[]}function bh(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 yh(t){return(t&&t.aeg&&t.aeg[0]||[]).some((function(t){return t.isNative()}))}function gh(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 wh(){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 Eh(t){var i=this,n=this.Uj,s=n&&n.adBreakItems[0];s&&t>=n.startTime&&(this.preparePlayback(s,!0).then((function(){i.play(s)})),this.Uj=null)}function Oh(t){var i=this;return new Yh.a((function(n,s){i.L.Jq(t.customInfo.slot.aeg,(function(){(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).error?s():n(t)}),t.customInfo.slot.type)}))}function Ah(t){this.Ge.Nr(t.customInfo.slot,t.isRepeated)}function _h(){this.wc=this.Nj=this.Rn=!1,this.vi(!1),this.rh=this.Cf=this.Yc=null,this.L.removeEventListener(Xo.uc,this.Ec),this.L.mr()}function Th(t){var i=this;return _h.call(this),this.nh.Tx(),Oh.call(this,t).then((function(){i.wc=!0,i.Yc=null,i.U.dispatchEvent(op.om,t)}),(function(){i.wc=!1,i.rh=null,i.Yc=null,i.Cf=null}))}function Sh(t){var i=this;(this.Yc||Yh.a.resolve()).then((function(){i.L.Ry(),i.ub||(i.Rn=!0,Ah.call(i,t),i.wc||(i.Cf=null,i.Nj=!1,i.L.removeEventListener(Xo.uc,i.Ec),i.L.oy()))}))}function Ih(t){var i=this;return(this.Yc||Yh.a.resolve()).then((function(){Ah.call(i,t),i.wc&&i.L.Bi()}))}function jh(t){switch(t.getType()){case vp.a.xm:dp.error("Error while interacting with IFRAME",t.getData())}}function Mh(t,i){if(Array.isArray(t)){var n=Object(Wh.f)(t);(t=n.pop()).ba=n}return(n=t.ba)||((n=(n=/\(((?:\s*\w*\s*,?)+)\)/g).exec(t.toString()))&&(n=n[1].replace(/\s+/g,"")),n=n&&n.split(",")||[]),t={qv:n,fi:this,Xx:t},i?new bp(t):new mp(t)}function Nh(t){var i;return t.forEach((function(t){var n=t.customInfo&&t.customInfo.slot&&t.customInfo.slot.type||null;n&&n.toLowerCase()===ep.d&&!i&&(i=t)})),i||t[0]}function Rh(t){this.$a.vi(t),this.bc.vi(t),this.ub=t}function Dh(t){Rh.call(this,!1),this.$a.Lc?this.L.ny():this.bc.resume(t)}function Lh(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.$a.sy(n)}function kh(t){var i=t.YVAP,n=t.url||t.vastXml;return this.M.Py(!!i||!!n),i?this.N.Ya(sp).hm(t):n?this.N.Ya(qh).hm(t):t}n.r(i);var Ch={};n.r(Ch),n.d(Ch,"ITEM_LOADED",(function(){return kd})),n.d(Ch,"MUTE_CHANGED",(function(){return Cd})),n.d(Ch,"PAUSED",(function(){return Pd})),n.d(Ch,"PLAY_COMPLETE",(function(){return xd})),n.d(Ch,"PLAY_REQUESTED",(function(){return Ud})),n.d(Ch,"PLAYBACK_ERROR",(function(){return Vd})),n.d(Ch,"PLAYING",(function(){return Bd})),n.d(Ch,"SKIPPED",(function(){return Fd})),n.d(Ch,"TIME_UPDATE",(function(){return zd})),n.d(Ch,"VOLUME_CHANGED",(function(){return Hd})),n.d(Ch,"AD_BREAKS_AVAILABLE",(function(){return qd})),n.d(Ch,"RESOLVE_ERROR",(function(){return Gd})),n.d(Ch,"RESOLVED",(function(){return Yd})),n.d(Ch,"AD_SUBTITLES_FOUND",(function(){return Wd})),n.d(Ch,"METRICS",(function(){return Zd})),n.d(Ch,"DIAGNOSTIC",(function(){return Qd})),n.d(Ch,"NONLINEAR_AD_RENDERED",(function(){return Xd})),n.d(Ch,"NONLINEAR_AD_CLICKED",(function(){return Jd})),n.d(Ch,"NONLINEAR_AD_DISMISSED",(function(){return Kd})),O.Vi="TOP",O.Fm="RIGHT",O.Dm="BOTTOM",O.Em="LEFT",O.Ui="FULL",O.Ti="CUSTOM-CENTER";var Ph,xh,Uh,Vh,Bh,Fh,zh,Hh,qh=function(){function t(){}return t.prototype.hm=function(t){if(!t.url&&!t.vastXml)return t;var i=(t.type||"Preroll").toLowerCase(),n={bcid:"5afc769f7239855a15fcee15",pid:"5afc75ea3a04293dad9f1a1f",schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"VAST",adTypes:[i],name:"Empty - Preroll",position:t.position||O.Ui,url:t.url,vastXml:t.vastXml,vendorName:t.vendor||"simplified_ad_config"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:i}],type:i}]},slot:"AVAIL",version:"2",vid:"5ba51c50007d0c73e2b8eddd"};return 0<(t=+(t.offsetTime||0))&&("midroll"===i?n.schema.pods[0].time=t:"overlay"===i&&(n.schema.pods[0].slots[0].aeg[0][0].delay=t)),n},t}(),Gh=n(5),Yh=n(10),Wh=n(1),Zh=n(13),Qh=n(66),Xh=n(8),Jh=new(function(){function t(){this.Rx=[],this.ey=[]}var i=t.prototype;return i.qx=function(t){0===Xh.a.cq()&&this.Rx.push({ts:+new Date,url:t})},i.rx=function(t){0===Xh.a.cq()&&this.ey.push({ts:+new Date,url:t})},t}()),Kh=function(){function t(){}var i=t.prototype;return i.check=function(t){return S.call(this,t)},i.reset=function(){this.Ja=null},i.Iw=function(){return this.Ja},t}(),$h=n(16),to=n(0),io=n.n(to),no=(xh=Gh.a.fb().document,Fh=null,zh=null,Hh=null,["","webkit","moz","ms","o"].forEach((function(t){Uh=t?"".concat(t,"VisibilityState"):"visibilityState",Vh=t?"".concat(t,"Hidden"):"hidden",Bh="".concat(t,"visibilitychange"),Fh||void 0===xh[Uh]||(Fh=Uh),zh||void 0===xh[Vh]||(zh=Vh),Hh||void 0===xh[Vh]||(Hh=Bh)})),{hidden:zh,visibilityState:Fh,PD:Hh}),so=function(){function t(){}return t.hasFocus=function(){return!(!I(Gh.a.fb())&&!I(Gh.a.fb().top))},t.isVisible=function(){return!!t.hasFocus()||!1===Gh.a.fb().document[no.hidden]||"visible"===Gh.a.fb().document[no.visibilityState]},t}(),eo=function(){function t(){this.Ee=[],this.sj=[],this.Fb=!1}var i=t.prototype;return i.add=function(t){var i=this;return new Yh.a((function(n){i.Ee.push((function(){var s=t();n(i.Ee[i.Ee.length-1]),s&&s.then?s.then(j.bind(i)):(void 0===s||s)&&j.call(i)})),i.Fb||j.call(i)}))},i.HA=function(){var t=this;return new Yh.a((function(i){t.Ee.length?t.sj.push(i):i()}))},i.next=function(){j.call(this)},i.empty=function(){this.Ee=[],j.call(this)},t}(),ro=function(){function t(i){this.M=i.config,this.Ys=i.debugInfo,this.Oa=i.urls,this.bt=this.M.Nw(),Ph=t.Yx}var i=t.prototype;return i.Aa=function(t,i){i=i||{},this.M.Hq()&&(i.itg="tbv"),this.M.Rj||this.dd(M.call(this,t,i))},i.dd=function(t){if(this.bt&&"string"==typeof t&&-1!==t.indexOf("//")){Gh.a.Fc()&&(t=Zh.a.Vl(t,"http://","https://")),0===t.indexOf("//")&&0!==window.location.protocol.indexOf("http")&&(t="https:".concat(t)),t=t.replace("[APID]",this.M.pe.utid);var i=document.createElement("img");i.src=t,Ph.add((function(){return!1}));var n=Ph.next.bind(Ph),s=setTimeout((function(){n(),i.onload=null,i.onerror=null}),1e3),e=function(){clearTimeout(s),n()};i.onload=e,i.onerror=e,this.Ys.qx(t)}},t}();ro.ba=["config","debugInfo","urls"],ro.Yx=new eo;var ho=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.Gb=i.smartViewability,n.qh=i.moatViewability,n.Oc=i.errorTracker,n.hc=i.hostWindowParamsObtainer,n}io()(i,t);var n=i.prototype;return n.Pa=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.Gg=function(t){this.Pa({"p.vw.active":+so.isVisible(),"p.vw.sound":Math.round(100*this.T.getVolume()),vwa:this.Gb.Ba()},{vwm:this.qh.Ba()},t)},n.Nl=function(t){var i=window.s_265||{};i={spaceid:this.hc.kd(),ss:i.channel||""},this.Pa(i,{},t)},i}(ro);ho.ba="config debugInfo urls environment smartViewability moatViewability errorTracker hostWindowParamsObtainer".split(" ");var oo=function(t){function i(i){var n=t.call(this,i)||this;return n.Hp=[],n.N=i.injector,n.hc=i.hostWindowParamsObtainer,n}io()(i,t);var n=i.prototype;return n.KD=function(t){var i=N.call(this,"ResourceLoaded"),n=this.M.na||{};i.c1="ResourceLoaded",i.c2=t,i.pv=n.jsVersion,i.pt=this.M.fg(),this.Aa("action.gif",i)},n.click=function(t,i){var n={};void 0!==t&&(n.category=t),void 0!==i&&(n.clickName=i),this.Aa("click.gif",n)},n.display=function(t){this.N.We("adBlockerSniffer")?this.N.S("adBlockerSniffer").check().then(R.bind(this,t)):R.call(this,t)},n.action=function(t,i,n,s,e,r,h){(t=N.call(this,t)).ct=n,i&&(t.at=i),s&&(t.adId=s.jA,t.rid=s.rid,t.txid=s.LD),e&&(t.externalId=e),r&&(t.c1=r.c1||r.fA,t.c2=r.c2||r.aA,t.c3=r.c3||r.$z),h&&(t.PollId=h.eD,t.AnswerId=h.sA),this.Aa("action.gif",t)},n.KA=function(t,i){this.Aa("ad-fallback.gif",{gA:t,uA:i.toLowerCase()})},n.DD=function(t){this.Hp.push(t)},n.nD=function(){this.action("LoadExtra",null,null,null,null,{c1:this.Hp.join(",")})},n.qD=function(t){this.action("videoSkipped",null,null,null,null,{c1:t})},i}(ho);oo.ba="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var uo=n(4),ao=Xh.a.Ka("Common"),co=document.createElement("video"),fo={};document.createElement("video");var lo,vo,po=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n}io()(i,t);var n=i.prototype;return n.Eg=function(t,i,n,s,e,r){var h=this,o=Object(Wh.z)(n)||"",u={dt:o.substring(0,3e3),ec:s||"",edt:n&&n.edt?n.edt:null,et:t,itg:this.T.gh,sact:this.M.Md,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(Wh.z)(n.slice(1)):o,ED:i,type:t},Object(Wh.z)(t)!==Object(Wh.z)(vo)?(this.Aa("error.gif",u),lo=void 0):(Object(Wh.r)(lo)||(lo=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.Aa("error.gif",u)}),e||2e3,r||!1)),lo()),vo=Object(Wh.g)(t,vo)},n.JD=function(t,i,n){t={params:t},Object(Wh.g)(i,t),this.Eg("no_params",void 0,t,void 0,void 0,n)},i}(ro);po.ba=["environment","config","debugInfo","urls"];var mo=document,bo=["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(" ")],yo=bo.find((function(t){return t[1]in mo}))||[];yo.forEach((function(t,i){return yo[bo[0][i]]=t}));var go=function(t){function i(i){var n=t.call(this,i)||this;return n.N=i.injector,n}io()(i,t);var n=i.prototype;return n.yz=function(t){var i=this.T.ml()||{};i=Math.min(3*i.videoLength,i.currentPlayTime||i.currentTime||0),this.Pa({t:0<i?Math.floor(i):0},{},t)},n.Wu=function(t){if(this.N.We("bufferedCalculator")){var i=this.N.S("bufferedCalculator"),n=this.N.S("bitrateTracker");i=i.eB(void 0),n=n.bB(void 0),this.Pa({},{bft:i,bit:n},t)}},n.xz=function(t,i){i=i||this.T.kb||{};var n={cvt:Math.floor(void 0!==i.currentTime?i.currentTime:this.T.ci()),fs:k()?+C():0,seq:i.zb,vid:this.T.uf||i.id||"",vpt:i.QD},s={vcdn:uo.a.Yh(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.Pa(n,s,t)},n.Cr=function(t){var i=this.T.ai()||{};this.Pa({h:i.height,w:i.width},{},t)},n.Dr=function(t){this.Pa({},{csid:null},t)},i}(ho);go.ba="config debugInfo urls environment smartViewability moatViewability errorTracker injector hostWindowParamsObtainer".split(" ");var wo=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.Rg=i.actionTracker,n.mk=[],n}io()(i,t);var n=i.prototype;return n.Ll=function(){this.mk=[]},n.mz=function(t){var i={};this.Cr(i),this.Dr(i),P.call(this,i,t),x.call(this,"video-play.gif",t,i)},n.im=function(t,i){t={q:t.progress},P.call(this,t,i),this.Aa("video-quartile.gif",t)},n.lz=function(t,i){t={d:t.progress},P.call(this,t,i),this.Aa("video-decile.gif",t)},n.hz=function(t){var i={};P.call(this,i,t),x.call(this,"video-3sec.gif",t,i)},n.Lr=function(t){var i={pct:this.T.ml().currentPercent||0};this.yz(i),P.call(this,i,t),x.call(this,"video-time.gif",t,i)},n.kz=function(){var t={},i=this.T.CC()?this.T.ci():null,n=this.T.oj;this.Cr(t),this.Dr(t),P.call(this,t,void 0),this.Rg.action("AutoPause",i,n)},i}(go);wo.ba="actionTracker config debugInfo environment errorTracker injector moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var Eo=function(){function t(){this.Fb=!1}var i=t.prototype;return i.ti=function(t,i,n){this.bk=0,this.iu=i,this.kj=t,this.Fb=!1,(n||void 0===n)&&this.start()},i.start=function(){this.resume()},i.stop=function(){this.pause()},i.pause=function(){this.Fb&&(this.Fb=!1,this.bk+=(new Date).getTime()-this.Xc,clearTimeout(this.wo))},i.resume=function(){!this.Fb&&this.kj&&(this.Fb=!0,this.Xc=(new Date).getTime(),this.wo=setTimeout(this.kj,this.ir()))},i.JC=function(){return this.Fb||!1},i.ir=function(){return Math.max(this.iu-this.vv(),0)},i.vv=function(){return this.bk+(this.Fb?(new Date).getTime()-this.Xc:0)},i.Kk=function(){this.Fb=!1,clearTimeout(this.wo),this.kj=null},t}(),Oo=function(){function t(t){this.tj=t}var i=t.prototype;return i.Ag=function(t){this.tj=t},i.Jw=function(t){return Math.floor(t/(this.tj/4))},i.jw=function(t){return Math.floor(t/(this.tj/10))},t}(),Ao=function(){function t(t){this.Zc=t.videoTracker,this.vj=t.environment,this.tk=new Oo,this.Je=new Eo}var i=t.prototype;return i.yD=function(t){this.vh=t},i.Ag=function(t){this.tk.Ag(t)},i.ji=function(t){0<t&&(V.call(this,t),U.call(this,t))},i.Ix=function(){this.Gh=!0,this.ve=this.we=0,this.Fh=this.vj.kb,this.Zc.mz(this.Fh),this.Je.ti(z.bind(this),3e3)},i.Hx=function(){this.Gh&&(this.we=4,this.ve=10,B.call(this),F.call(this),this.Je.pause(),this.Zc.Lr(this.vj.kb),this.Gh=!1)},i.VC=function(){this.Zc.kz()},i.Ll=function(){this.Zc.Ll()},i.YC=function(){this.Je.resume()},i.XC=function(){this.Je.pause()},i.WC=function(){this.Gh&&(this.Je.pause(),this.Zc.Lr(this.vj.kb),this.Gh=!1)},t}();Ao.ba=["videoTracker","environment"];var _o=n(30),To=function(){function t(t){this.rt=t.hostWindowProvider}return t.prototype.kd=function(){return H.call(this,"rapidConfig","spaceid")||(Wh.c.yl()?793604935:793604934)},t}();To.ba=["hostWindowProvider"];var So=function(){function t(t){this.window=t}var i=t.prototype;return i.fb=function(){return this.window},i.sB=function(){return this.window.document},t}(),Io=n(17),jo=n.n(Io),Mo=function(){function t(t){this.R=t.viewabilitySubject}var i=t.prototype;return i.rc=function(t){this.R=t},i.isVisible=function(){return so.isVisible()},i.Ba=function(){},i.kg=function(){var t=this.Ba();return this.R&&-1!==t?!this.isVisible()||50>t?0:1:-1},t}();Mo.ba=["viewabilitySubject"];var No=function(t){function i(i){if((i=t.call(this,i)||this).wk=-1,void 0===window.IntersectionObserver)return jo()(i);var n=jo()(i);n.fh=Qh.a.setTimeout(G.bind(n),100);for(var s=window.IntersectionObserver,e=q.bind(n),r=[],h=0;100>h;h+=5)r.push(h/100);return r.push(1),n.th=new s(e,{root:null,threshold:r}),n.th.observe(n.R),i}io()(i,t);var n=i.prototype;return n.rc=function(t){this.wk=-1,this.th&&(this.th.unobserve(this.R),this.R=t,this.th.observe(this.R))},n.isVisible=function(){return 0<this.Ba()},n.Ba=function(){return so.isVisible()?this.wk:0},i}(Mo);No.ba=["viewabilitySubject"];var Ro,Do=function(){function t(){var t=this;this.Ja=new Yh.a((function(i,n){t.resolve=i,t.reject=n}))}return t.prototype.Iw=function(){return this.Ja},t}(),Lo=function(t){function i(i){var n=t.call(this,i)||this;return n.lb=i.dom,i=i.config,n.ln=!!i.Ub("disable_3p")||!!i.Ub("disable_moat")||!!i.Gw(),n.ln||(Ro||(Ro=Y.call(jo()(n))),n.rc(n.R)),n}io()(i,t);var n=i.prototype;return n.rc=function(t){var i=this;if(!this.ln){if(this.Pf){if(this.Zg===t)return;this.Pf.destroy(),this.Pf=null}this.Zg=t,Ro.then((function(n){n.startTracking(t,{ready:W.bind(i,t)})}))}},n.Ba=function(){if(!this.Pf||!this.Zg||3>this.Zg.offsetHeight)return-1;var t=this.Pf.getPercentViewable();return isNaN(t)||null===t?-1:Math.min(Math.round(t),100)},n.kg=function(){var t=this.Ba();return 0>t||100<t?-1:50>t?0:1},i}(Mo);Lo.ba=["viewabilitySubject","dom","config"];var ko=function(){function t(t){this.Gb=t.smartViewability,this.M=t.config,this.T=t.environment,this.hc=t.hostWindowParamsObtainer}var i=t.prototype;return i.pB=function(){var t=this.pq("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.M.se,t.pid=this.M.Ld,t.bid=this.M.$k(),t},i.pq=function(t){var i=this.T.kb,n={};if(i&&i.id){n.vid=i.id,n.pt="html5",n.at=t?t.toLowerCase():"";var s=this.M.Uc;Object.keys(s).forEach((function(t){0===t.indexOf("m.vrm")&&(n[t]=s[t])}))}return n["p.vw.sound"]=Math.round(100*this.T.getVolume()),n.autoplayInit=this.M.og()?1:0,n.space_id||(n.space_id=n.spaceid||this.hc.kd()),Object(Wh.g)(Z.call(this),n)},i.YA=function(t){var i=this.T.kb,n={};return i&&(n.vid=i.id,(i=i.metadata||{}).duration&&(n.t=i.duration/1e3)),n.at=t?t.toLowerCase():"",Object(Wh.g)(Z.call(this),n)},t}();ko.ba=["smartViewability","config","environment","hostWindowParamsObtainer"];var Co=n(14),Po=n(9),xo=n.n(Po),Uo={Vr:"aboveVisibleArea",Zr:"belowVisibleArea",wd:"hidden",yd:"inVisibleArea",js:"leftToVisibleArea",os:"rightToVisibleArea",Bb:"NA"},Vo={Wr:1,Qi:0},Bo={hs:1,Bm:0,Bb:-1},Fo={ym:3,Am:2,zd:1},zo={Ri:1,Qg:0,Bb:-1},Ho={Jz:Vo,Kz:Bo,Lz:Fo,Sz:Uo,Wz:zo,Km:{ds:function(){return this.gs++},gs:1,URL:"//redir.adap.tv/redir/client/VPixel.swf"},$q:[],Fg:{},vC:{},nw: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.Yz=n,t.Zz=s,{x:n,y:s}},Te: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]:""},jd:function(t){var i={height:0,Y:0,W:0,width:0};if(t){i.width=t.offsetWidth,i.height=t.offsetHeight;var n=!1;try{var s=t.getBoundingClientRect();i.Y=Math.round(s.left),i.W=Math.round(s.top),n=!0}catch(t){}if(!n)try{var e=this.nw(t);i.Y=e.x,i.W=e.y}catch(t){}}return i},qd: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)})},wl:function(t,i){var n=this.Jk(t);if((i=i||this.Ve(t))===Fo.zd)return!0;if(i===Fo.Am)return this.Jk(t);try{var s=t.ownerDocument.defaultView||t.ownerDocument.parentWindow}catch(t){}try{var e=this.Zp(s)}catch(t){return!0}for(t=0;t<e.length&&!n;t++)n=e[t],n=this.Jk(n);return n},Jk: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.ll(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.Te(t,"visibility")&&!n.call(this,t);e&&!s&&(s="hidden"===this.Te(e,"visibility")||"none"===this.Te(e,"display")||this.ex(e),n.call(this,e)&&(s=!1),s=t||s,e!==e.ownerDocument.body);)e=e.parentNode;return s},ll:function(t){var i=[],n=t.parentNode;try{for(;n&&n!==n.ownerDocument.body;)1===n.nodeType&&(i.push(this.ui(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.ui(n));for(;t;)null!=(t=t.previousSibling)&&1===t.nodeType&&i.push(this.ui(t));return i},gz:function(t,i,n){var s,e=null,r=this.qd({length:t.width,offset:t.Y},{length:i.width,offset:i.Y}),h=this.qd({length:t.height,offset:t.W},{length:i.height,offset:i.W});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.zp(o[s].x,o[s].y,n))===t.node||u===i.node){e=u;break}}return e},zp:function(t,i,n){return(n=n||window).document.elementFromPoint(t,i)},Zw:function(t,i,n,s){var e=!0,r=this.jd(i),h=this.qd({length:t.width,offset:t.Y},{length:r.width,offset:r.Y+n.Y}),o=this.qd({length:t.height,offset:t.W},{length:r.height,offset:r.W+n.W}),u=h.length*o.length/(r.width*r.height);if(0===u)return{Ok:!1};var a=this.zp(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.Y+t.width)*(t.W+t.height)==(r.Y+n.Y+r.width)*(r.W+n.W+r.height))&&(e=!1),this.gz({height:t.height,Y:t.Y,node:t.node,W:t.W,width:t.width},{height:r.height,Y:r.Y+n.Y,node:i,W:r.W+n.W,width:r.width},s)===i&&(e=!1),{Ok:e,height:o.length,Y:h.offset,Yq:u,W:o.offset,width:h.length}},hp:function(t,i,n,s){var e;for(e=0;e<t.length;e++)if(1===t[e].node.nodeType&&this.ip(t[e],i,n,[],t,s))return!0;return!1},ip:function(t,i,n,s,e,r){var h=!1,o=t.node;if((t=this.Zw(t,i,n,r)).Ok&&.5<=t.Yq)return!0;if(t.Ok&&.5>t.Yq)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.ui(t[o]);h=h||this.ip(u,i,n,s,e,r)}return h||this.yx(s,i,n)},ui:function(t){var i=this.jd(t);return i.node=t,i},yx:function(t,i,n){var s,e=0,r=0;if(this.jd(i),this.jm(t),2>t.length)return!1;i=this.jd(i);var h=this.jm(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.qd({length:h[s].Ph.width,offset:h[s].Ph.Y},{length:h[s].Qh.width,offset:h[s].Qh.Y});t=this.qd({length:h[s].Ph.height,offset:h[s].Ph.W},{length:h[s].Qh.height,offset:h[s].Qh.W}),o=this.qd({length:o.length,offset:o.offset},{length:i.width,offset:i.Y+n.Y}),t=this.qd({length:t.length,offset:t.offset},{length:i.height,offset:i.W+n.W}),r+=o.length*t.length}return.5<=(e-r)/(i.width*i.height)},jm: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({Ph:t[0],Qh:t[n]});return 2>=t.length?i:this.jm(t.slice(1),i)},GC:function(t){var i,n={Y:0,W:0};try{var s=this.Zp()}catch(t){s=[]}var e=this.ll(t),r=window,h=this.hp(e,t,n,r);for(i=0;i<s.length&&!h;i++){r=r.parent;var o=this.jd(s[i]);for(n.Y+=o.Y,n.W+=o.W,o=0;o<e.length;o++)e[o].Y+=n.Y,e[o].W+=n.W;o=this.ll(s[i]),e=e.concat(o),h=h||this.hp(e,t,n,r)}return h},ex:function(t){var i=t.parentNode;return!(!i||"BODY"===t.tagName||"visible"===this.Te(i,"overflow")&&"visible"===this.Te(i,"overflow-x")&&"visible"===this.Te(i,"overflow-y"))&&(0>t.offsetLeft||0>t.offsetTop||!(1<i.offsetWidth&&1<i.offsetHeight))},Zp:function(t){var i=[];for(t=t||window;t!==window.top;)i.push(t.frameElement),t=t.parent;return i},Ve:function(t){t=t||document.body;try{return window.top.location.href?t.ownerDocument.defaultView.frameElement?Fo.ym:Fo.Am:Fo.zd}catch(t){return Fo.zd}},qq:function(t){var i=t.document,n=i.compatMode&&"BackCompat"!==i.compatMode?i.documentElement:i.body,s={width:0,height:0,Y:0,W: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.Y=i.all?n.scrollLeft:t.pageXOffset,s.W=i.all?n.scrollTop:t.pageYOffset,s},Wh:function(t,i){return 0<i.width&&0<i.height&&0<t.width&&0<t.height?t.W+t.height<=i.W?Uo.Vr:t.W>=i.height+i.W?Uo.Zr:t.Y+t.width<=i.Y?Uo.js:t.Y>=i.width+i.Y?Uo.os:Uo.yd:Uo.wd},ol:function(t,i){var n={Y:0,W:0,width:0,height:0},s=i.Y-t.Y;return n.Y=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.W-t.W,n.W=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},pw:function(t,i){return t=Math.min(i.width-t.Y,t.width+t.Y)/t.width*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},Qw:function(t,i){return t=Math.min(i.height-t.W,t.height+t.W)/t.height*100,t=Math.round(100*Math.min(Math.max(0,t),100))/100,Math.round(t)},hq:function(t,i,n){var s=Ho.Ve(t),e=0,r=0,h=Uo.Bb;return s!==Fo.zd&&(this.wl(t,s)?h=Uo.wd:(t={Y:0,W:0,width:n.width,height:n.height},(h=this.Wh(i,t))===Uo.yd&&(e=this.pw(i,t),r=this.Qw(i,t)),e&&r||(e=0))),{Lb:e,position:h,Ab:e}},Cw:function(t,i,n,s){var e={Lb:0,position:Uo.Bb,Ab:0},r=Ho.Ve(t);if(r===Fo.zd)return e;if(this.wl(t,r)&&(e.position=Uo.wd),e.position!==Uo.wd&&(t=n[n.length-1],r={height:s.height,Y:0,W:0,width:s.width},s=this.Wh(t,r),e.position=s,s===Uo.yd)){for(t=this.ol(t,r),r=n.length-1;0<r&&(s=this.Wh(n[r-1],t))===Uo.yd;)t=this.ol(n[r-1],t),r--;s===Uo.yd&&this.Wh(i,t)===Uo.yd?(n=(t=this.ol(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.Ab=n):e.position=Uo.wd}return e},Qp:function(t){var i=window,n={yA:"NA",la:{Lb:0,height:0,Y:0,position:Uo.Bb,W:0,Ab:0,width:0},hostname:window.location.hostname,pb:{up:!1,height:0,Y:0,Xe:0,Nx:"",W:0,fz:"",width:0},mg:!1,Ic:{height:0,Y:0,W:0,width:0}},s=this.jd(t);if(n.la.Y=s.Y,n.la.W=s.W,n.la.width=s.width,n.la.height=s.height,(s=Ho.Ve(t))===Fo.zd)return n.mg=!0,n.pb.up=!0,n.pb.Xe=-1,n.la.Lb=100,n.la.Ab=100,n;s===Fo.ym&&(n.mg=!0,n.pb.fz=window.top.location.href),this.wl(t,s)&&(n.la.position=Uo.wd);try{i=t.ownerDocument.defaultView||i}catch(t){}if(n.Ic=this.qq(i),(s=this.hq(t,n.la,n.Ic)).position!==Uo.yd)return n.la.position=s.position,n.la.Lb=s.Lb,n.la.Ab=s.Ab,n.la.width=n.la.width<n.Ic.width?n.la.width:n.Ic.width,n.la.height=n.la.height<n.Ic.height?n.la.height:n.Ic.height,n;try{if(n.mg){window.parent&&window.parent.location&&(n.pb.Nx=window.parent.location.href),n.Ic=this.qq(window.top);for(var e=[];i!==window.top;){var r=this.jd(i.frameElement);0===n.pb.Xe&&(n.pb.width=r.width,n.pb.height=r.height),n.pb.Y=r.Y,n.pb.W=r.W,e[n.pb.Xe]=r,n.pb.Xe+=1,i=i.parent}s=this.Cw(t,n.la,e,n.Ic),n.la.position=s.position,n.la.Lb=s.Lb,n.la.Ab=s.Ab}}catch(t){n.pb.Xe=-1}return n.mg||(s=this.hq(t,n.la,n.Ic),n.la.position=s.position,n.la.Lb=s.Lb,n.la.Ab=s.Ab),n},Dw:function(t,i){var n=null;if(this.Fg[t]&&this.Fg[t][t]&&this.Fg[t].parentNode)return this.Fg[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.Fg[t]=n),n},Aw: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}},bx:function(t){return null!==t&&"object"===xo()(t)&&1===t.nodeType},Lv:function(){if(void 0!==navigator.plugins&&"object"===xo()(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},aq:function(t,i,n,s){var e,r=Ho.$q,h=!this.Lv(),o="7221 7658 7257 7386 7480 7716 7597 7865".split(" "),u=["mindjoltinc","cinesport"],a=!1;for(t=this.bx(t)?t:this.Dw(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=Ho.kq(t)).jb=s.Th,s.Ez=s.Th,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 Ho.Wi(i,t),r.push(c)),c.aq(n)},gD:function(t){var i,n=Ho.$q;for(i=0;i<n.length;i++)if(n[i].id===t){n[i].dispose(),n.splice(i,1);break}},kq:function(t){var i={active:Vo.Qi,tv:"",Th:zo.Bb,hasFocus:Bo.Bb};if(t){var n=Ho.Qp(t);if(i.bD=n.la.width,i.aD=n.la.height,i.tv=t.id,n.la.position!==Uo.Bb){t=n.la.width*n.la.Lb/100;var s=n.la.height*n.la.Ab/100;i.Th=0===t||0===s?zo.Qg:.5<=t*s/(n.la.width*n.la.height)?zo.Ri:zo.Qg}else n.mg&&(i.zv="inIframe"),n.pb.up&&(i.zv="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?Vo.Qi:Vo.Wr,i.hasFocus=Ho.gx()}return i},gx:function(){return!0===document.hidden?Bo.Bm:Ho.Ve()===Fo.zd?Bo.Bb:window.top.document.hasFocus?window.top.document.hasFocus()?Bo.hs:Bo.Bm:Bo.Bb},Mi:function(t){var i=Ho.jd(this.nd),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=Ho.Aw(t);this.cf=1,this.xx=3,this.nd=t,this.top=i.W+s,this.left=i.Y+n,this.width=i.width,this.height=i.height,this.minWidth=e.width,this.minHeight=e.height,this.Sr=this.minWidth/(this.cf+1),this.Tr=this.minHeight/(this.cf+1)}};Ho.Mi.prototype={constructor:Ho.Mi,ew:function(){return window.Dk&&window.Dk.cx?[]:[{x:-1e4,y:-1e4}]},Lw:function(){var t,i=[],n=this.left;for(t=0;t<this.cf;t++)n+=this.Sr,i.push({x:n,y:this.top});return i},Kw:function(){var t,i=[],n=this.top;for(t=0;t<this.cf;t++)n+=this.Tr,i.push({x:this.left+this.minWidth-1,y:n});return i},Wv:function(){var t,i=[],n=this.left;for(t=0;t<this.cf;t++)n+=this.Sr,i.push({x:n,y:this.top+this.minHeight-1});return i},vw:function(){var t,i=[],n=this.top;for(t=0;t<this.cf;t++)n+=this.Tr,i.push({x:this.left,y:n});return i},Sv:function(){return[this.ew(),this.Lw(),this.Kw(),this.Wv(),this.vw()]},Sp:function(){var t=this.Sv();return[].concat.apply([],t)}},Ho.Wi=function(t,i){this.id=t,this.gb=new Ho.Mi(i),this.dm=!1,this.jb=-1,this.Yb=[],this.timeout=void 0,this.Jr=1800,this.Qd=""},Ho.Wi.prototype={constructor:Ho.Wi,aq:function(t){var i=this;if(!this.dm){for(this.Qd=t,t=0;t<this.gb.Sp().length;t++){var n=new Ho.Zi;n.xq(this,this.cz),this.Yb.push(n)}return setTimeout((function(){i.cy()}),1),this.timeout=setTimeout((function(){clearTimeout(i.timeout),!i.Ek()&&i.ep()&&i.gb&&i.gb.nd[i.Qd](i.gl())}),this.Jr),this.dm=!0,null}t&&this.gb.nd[t](this.gl())},cy:function(){var t;if(this.gb){var i=this.gb.Sp();for(t=0;t<i.length;t++){var n=i[t];this.Yb[t].by(n.x,n.y)}}},cz:function(){if(this.Ek()&&(clearTimeout(this.timeout),this.ep())){var t=this.gl();this.gb.nd[this.Qd](t)}},gl:function(){var t,i=Ho.kq(this.gb.nd),n=0;if(this.Ek()){for(t=0;t<this.Yb.length;t++){n+=this.Yb[t].jb}this.framerate=n>=this.gb.xx?zo.Ri:zo.Qg}else this.framerate=zo.Bb;return i.framerate=this.framerate,i.jb=this.framerate===zo.Bb?i.Th:this.framerate,i.active===Vo.Qi&&i.jb===zo.Ri&&(i.jb=zo.Qg),i.Ez=i.jb,i},Ek:function(){var t,i=0;if(this.gb&&window.Dk&&!window.Dk.cx&&0!==this.Yb[0].jb)return!1;for(t=0;t<this.Yb.length;t++)-1<this.Yb[t].jb&&i++;return i===this.Yb.length},ep:function(){return this.Qd&&this.gb&&this.gb.nd&&this.gb.nd[this.Qd]&&"function"==typeof this.gb.nd[this.Qd]},dispose:function(){var t,i=this.Yb.length;for(t=0;t<i;t++)this.Yb[t].destroy();this.gb=null,this.dm=!1,this.jb=-1,this.Yb=[],this.timeout=0,this.Jr=1800,this.id=this.Qd=""}},Ho.Zi=function(){var t=this;this.jb=-1,this.id=Ho.Km.ds(),this.Al="__adaptv__spotnotify__".concat(this.id.toString()),this.interval=0,this.Ql=this.Uf=this.Ai=null,window[this.Al]=function(i,n,s){t.jb=s,t.Uf&&(t.Uf.apply(t.Ql),t.Uf=null)}},Ho.Zi.prototype={constructor:Ho.Zi,xq:function(t,i){var n="adaptvSpotDiv_".concat(this.id),s="adaptvVWSpot_".concat(this.id);if(!document.getElementById(n)){var e=['<object width="1px" height="1px" id="{spotId}" name="{spotId}" align="center" style="height: 1px !important; width: 1px !important;"><param name="movie" value="','" /><param name="bgcolor" value="#000000"/><param name="allowScriptAccess" value="always" /><param name="FlashVars" value="autoStart=true&callback={callback}"/><embed src="','" width="1px" height="1px" id="{spotId}" name="{spotId}" align="center" bgcolor="#000000" allowScriptAccess="always" FlashVars="autoStart=true&callback={callback}" type="application/x-shockwave-flash"/></object>'].join(Ho.Km.URL);e=(e=e.split("{spotId}").join(s)).split("{callback}").join(this.Al),s=document.body||document.getElementsByTagName("body")[0]||document.documentElement;var r=document.createElement("div");r.id=n,r.style.height="1px",r.style.width="1px",r.style.position="absolute",r.innerHTML=e,s.appendChild(r),this.Ai=r,this.Ql=t,this.Uf=i}},by:function(t,i){this.Ai.style.left="".concat(t,"px"),this.Ai.style.top="".concat(i,"px")},destroy:function(){var t=document.body||document.getElementsByTagName("body")[0]||document.documentElement,i=document.getElementById("adaptvSpotDiv_".concat(this.id));i&&t.removeChild(i),this.Ql=this.Uf=this.Ai=null,delete window[this.Al]}};var qo=Ho,Go=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i.prototype.Ba=function(t){if(!this.R)return-1;var i=qo.Qp(this.R).la,n=i.Lb*i.Ab/100;return t&&i.W<t&&(n=Math.max(0,100*(i.Ab*i.height/100-t+Math.max(0,i.W))/i.height)),Math.min(Math.round(n),100)},i}(Mo),Yo=function(t){function i(i){var n=t.call(this,i)||this;return n.qh=i.moatViewability,n.Cn=i.intersectionViewability,n.Um=new Go(i),n}io()(i,t);var n=i.prototype;return n.rc=function(i){t.prototype.rc.call(this,i),this.Cn.rc(i),this.qh.rc(i),this.Um.rc(i)},n.Ba=function(){var t=this.qh.Ba();return-1===t&&(-1===(t=this.Cn.Ba())&&(t=this.Um.Ba())),t},i}(Mo);Yo.ba=["viewabilitySubject","moatViewability","intersectionViewability"];var Wo=function(){function t(t,i){this.De=t,this.Mn=i}var i=t.prototype;return i.zw=function(){return this.Mn||this.De},i.WB=function(){return this.De},i.Ny=function(t){X(t),this.Mn=t},i.yr=function(t){X(t),this.De=t},t}(),Zo=n(2),Qo=function(){function t(t,i){this.type=t,this.data=i||{},this.target=null}var i=t.prototype;return i.clone=function(){return new t(this.type,this.data)},i.toString=function(){return"Event{type=".concat(this.type,"}")},t}();Qo.Ni="complete";var Xo=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).data.adType=n,i.Sf=null,i}return io()(i,t),i.prototype.clone=function(){return new i(this.type,this.Sf,this.data)},i}(Qo);Xo.mf="Ads.Resolve.Error",Xo.Jg="Ads.Blocker.Complete",Xo.Xr="Ads.Blocker.Started",Xo.Ei="Ads.Engines.Load",Xo.ee="Ads.Engine.Ready",Xo.Kg="Ads.Engine.Run",Xo.ce="Ads.Engine.Complete",Xo.Lg="Ads.Engine.Impression",Xo.rm="Ads.Engine.Interaction",Xo.Mg="Ads.Engine.LinearChange",Xo.tm="Ads.Ad.Request",Xo.Gi="Ads.Ad.Loaded",Xo.Ji="Ads.Ad.Starting",Xo.ac="Ads.Ad.Started",Xo.vd="Ads.Ad.Finished",Xo.Hi="Ads.Ad.Paused",Xo.um="Ads.Ad.Resumed",Xo.Li="Ads.Ad.VolumeChanged",Xo.pm="Ads.Ad.Click",Xo.sm="Ads.Ad.Quartile",Xo.fe="Ads.Ad.TimeUpdate",Xo.wm="Ads.Ad.Waiting",Xo.Ii="Ads.Ad.Skipped",Xo.Ng="Ads.Ad.SkippableStateChange",Xo.Ki="Ads.Ad.SubtitlesFound",Xo.Mm="Ads.Ad.VastFailover",Xo.$i="Ads.Ad.VpaidInitializing",Xo.aj="Ads.Ad.VpaidLoaded",Xo.qm="Ads.Ad.AdGroupFailover",Xo.Si="Ads.Ad.LastAdGroupFailed",Xo.vm="Ads.Ad.AdTimeoutReached",Xo.Ki="Ads.Ad.AdSubtitlesFound",Xo.uc="Ads.Ad.AdElementReady",Xo.Cm="Ads.PlayerRendered",Xo.Pi="Ads.IframeLoaded",Xo.Fi="Ads.AdIntervention";var Jo=function(){function t(t,i){var n=this;t=t.eventBus,this.xf=!0,this.$c=i,Zo.a.group(Zo.a.Xa(t,Xo.ce,(function(){return n.xf=!1})),Zo.a.Xa(t,Xo.ee,(function(){return n.xf=!1})))}var i=t.prototype;return i.rc=function(t){this.$c.rc(t)},i.isVisible=function(){return this.xf?1:this.$c.isVisible()},i.Ba=function(t){return this.xf?100:this.$c.Ba(t)},i.kg=function(){return this.xf?1:this.$c.kg()},t}();Jo.ba=["eventBus"];var Ko=function(){function t(t,i){this.M=t;var n={ads:Co.a["adserver.url"],adt:Co.a["adstracker.url"],cdn:Co.a["cdn.url"],trk:Co.a["tracking.url"]},s={};Object.keys(n).forEach((function(t){s[t]=Zh.a.qr(i&&i[t]||n[t],"\\s/")})),this.Hd=s}var i=t.prototype;return i.UA=function(){return"".concat(this.Hd.ads,"/vrm?").concat(J.call(this))},i.Pv=function(){return"".concat(this.Hd.ads,"/vrm/pods?").concat(J.call(this))},i.TA=function(){return"".concat(this.Hd.ads,"/ads?").concat(J.call(this))},i.Zv=function(t){return"".concat(this.Hd.cdn,"/").concat(t||"")},i.ow=function(){return this.Zv(Co.a["hls.js.path"])},i.Pw=function(){return Co.a["vapa.url"]},i.Mw=function(){return this.Hd.trk},i.Ov=function(){return this.Hd.ads+"/".concat("ads/ad-start.gif")+""},i.Rv=function(){return this.Hd.adt+"/".concat("ads/ad-request.gif")+""},t}(),$o=n(26),tu=n.n($o),iu=function(){function t(t){this.ta=t||new $h.default,this.jj=[]}var i=t.prototype;return i.addEventListener=function(t,i,n){n=n?i.bind(n):i,this.jj.push([t,i,n]),this.ta.addEventListener(t,n)},i.removeEventListener=function(t,i){for(var n=this.jj,s=0;s<n.length;++s){var e=tu()(n[s],3),r=e[1],h=e[2];e[0]===t&&(r!==i&&i||this.ta.removeEventListener(t,h))}},i.kr=function(){for(var t=this.jj,i=0;i<t.length;++i){var n=tu()(t[i],3);this.ta.removeEventListener(n[0],n[2])}},i.dispatchEvent=function(t,i){this.ta.dispatchEvent(t,i)},t}(),nu={Iz:"cleaning",IDLE:"idle",LOADING:"loading",PAUSED:"paused",PLAYING:"playing"},su=function(){function t(t){this.Ke=t.videoTagProvider,this.Oa=t.urls,this.V=nu.IDLE,this.U=new $h.default,this.lb=new _o.a(window.document)}var i=t.prototype;return i.dispatchEvent=function(){var t;(t=this.U).dispatchEvent.apply(t,arguments)},i.addEventListener=function(){var t;(t=this.U).addEventListener.apply(t,arguments)},i.removeEventListener=function(){var t;(t=this.U).removeEventListener.apply(t,arguments)},i.tB=function(){return this.R},i.VB=function(){return this.Ke.De},i.xA=function(){return this.V=nu.PLAYING,this.R=this.Ke.De,this},i.play=function(){if(this.R){var t=Math.random();this.au=t;var i=this.R.play();i&&i.catch(lt.bind(this,t))}},i.setVolume=function(t){try{this.xa=t,this.R&&(this.R.volume=t,at.call(this))}catch(t){}this.mute(0===t)},i.getVolume=function(){return this.xa},i.isMuted=function(){return this.R&&this.R.muted||0===this.getVolume()},i.mute=function(){this.R&&(this.R.muted=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],at.call(this))},i.getDuration=function(){return Math.min(Math.max(this.R&&this.R.duration||0,0),1e8)},i.Vd=function(){return this.getDuration()-this.getCurrentTime()},i.getCurrentTime=function(){return Math.max(Math.min(this.R&&this.R.currentTime||0,this.getDuration()),0)},i.Yv=function(){return this.R&&this.R.buffered},i.iw=function(){return this.getCurrentTime()/this.getDuration()||0},i.pause=function(){this.R&&this.R.pause()},i.nr=function(){this.isPlaying()&&this.pause(),this.V=nu.IDLE,this.R&&(_o.a.empty(this.R),"function"==typeof this.R.setAttribute&&this.R.setAttribute("src",""),"function"==typeof this.R.removeAttribute&&this.R.removeAttribute("src"))},i.stop=function(){this.R&&(this.ta.removeEventListener("progress",K),this.R.pause(),this.R.load())},i.Uy=function(t){ft.call(this,t,this.Ke.De)},i.My=function(t){ft.call(this,t,this.Ke.zw())},i.isPlaying=function(){return this.V===nu.PLAYING},i.pl=function(){return this.R&&this.R.offsetWidth||0},i.dl=function(){return this.R&&this.R.offsetHeight||0},i.Op=function(){return this.Dt?this.Dt:this.R&&this.R.currentSrc},t}();su.ba=["videoTagProvider","urls"];var eu=function(){function t(t){this.Ua=t.adContainerProvider.Sc,this.gh=t.config.Hq()?"tbv":"",this.xo=0}var i=t.prototype;return i.zg=function(t){this.L=t},i.Fy=function(t){(this.kb=t)&&t.id&&this.wr(t.id)},i.lB=function(){return this.kb},i.mB=function(){return this.uf},i.wr=function(){this.uf=0<arguments.length&&void 0!==arguments[0]?arguments[0]:""},i.tD=function(t){this.uk=t},i.nB=function(){return this.uk},i.Gy=function(t){this.$g=t},i.oB=function(){return this.$g},i.Qa=function(){return this.L.Qa()},i.getVolume=function(){return this.L.getVolume()||0},i.isMuted=function(){return this.L.isMuted()},i.Ww=function(){return!this.kb},i.ai=function(){return{height:this.Ua.offsetHeight,width:this.Ua.offsetWidth}},i.ml=function(){var t=this.ai();return{currentPercent:(+this.ci()/this.getVideoDuration()||0).toFixed(2),currentTime:this.ci(),h:t.height,totalVideoCount:this.xo,videoLength:this.getVideoDuration(),w:t.width}},i.AB=function(){return this.gh},i.ci=function(){return this.oj||0},i.getVideoDuration=function(){return this.Xs||0},i.Ag=function(t){this.Xs=t},i.iB=function(){return this.oj},i.Jx=function(){this.xo++},i.zr=function(t){this.oj=t},t}();eu.ba=["adContainerProvider","config"];var ru=function(){function t(t){this.Ff=this.Sc=t}var i=t.prototype;return i.Oy=function(t){this.Ff=t},i.DB=function(){return this.Sc},i.HB=function(){return this.Ff},i.dw=function(){return{Eu:this.Sc,$C:this.Ff}},t}();n(22);var hu=function(){function t(t,i){this.message=t||"",this.code=i}return t.prototype.toString=function(){return"Error{message=".concat(this.message,"}")},t}(),ou=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i}(hu),uu={da:124},au={da:102,code:301,description:"URI reached a timeout as defined by the video player.",va:9402},cu={code:205,description:"InLine ad is skipped due to a category violation"},fu={da:100,description:"Ad entries loading timeout, ajax error or parsing error"},lu={code:301,description:"Ad has expired"},vu={da:5122,code:100,description:"Empty response",va:9401},du={da:104,code:401,description:"File not found. Unable to find Linear/MediaFile from URI",va:9521},pu={da:114,code:400,description:"General    Linear    error. Video player is unable to display the Linear Ad",va:9524},mu={code:500,description:"General NonLinearAds error."},bu={da:5130,code:300,description:"General Wrapper error",va:9413},yu={da:114,code:405,description:"Problem displaying MediaFile.",va:9521},gu={da:125,code:303,description:"No ads VAST response after one or more Wrappers. Also includes number of empty VAST responses from fallback.",Td:{level:"warning"},va:9432},wu={da:1,code:303,description:"No ads VAST response ",Td:{level:"warning"},va:9432},Eu={da:120,code:403,description:"Couldn’t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.",va:9412},Ou={code:502,description:"Unable to fetch NonLinearAds/NonLinear resource."},Au={code:501,description:"Unable to display non-linear ad because creative dimensions do not align with creative display area"},_u={code:503,description:"Could not find NonLinear resource with supported type."},Tu={da:121,code:401,description:"SSL mismatch",va:9521},Su={da:112,code:900,description:"Undefined error."},Iu={da:108,code:100,description:"VAST parsing error",va:9401},ju={da:5125,code:101,description:"VAST schema validation",va:9411},Mu={da:203,code:901,description:"VPAID ad init error",Td:{level:"warning",Pr:"VPAID ad init error NO_FILL"},va:9416},Nu={da:204,code:901,description:"VPAID ad init timeout",va:9526},Ru={da:202,code:901,description:"VPAID ad load error",va:9416},Du={da:202,code:409,description:"Interactive unit in the InteractiveCreativeFile node was not executed",va:9416},Lu={da:114,code:901,description:"VPAID ad renderer error",va:9416},ku={da:301,code:901,description:"VPAID ad start error",va:9416},Cu={da:302,code:304,description:"VPAID ad start timeout",va:9522},Pu={da:401,code:901,description:"vpaid creative stopped without impression",va:9416},xu={da:125,code:302,description:"Wrapper limit reached, as defined by the video player. Too many Wrapper responses have been received with no InLine response.",va:9413},Uu={da:105,code:301,description:"Timeout of VAST URI provided in Wrapper element, or of VAST URI provided in a subsequent Wrapper element. (URI was either unavailable or reached a timeout as defined by the video player.)",va:9402},Vu={da:201,code:901,description:"VPAID setup error",va:9416},Bu=function(){function t(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[];this.Rb=t,this.an={},vt.call(this,i)}var i=t.prototype;return i.hd=function(t){return this.an[t]},i.jf=function(){},i.ia=function(){},i.parse=function(t){return this.jf&&this.jf(t)?this.ia(t):null},i.jC=function(){return this.Rb},t}(),Fu=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i.prototype.jf=function(t){return t&&t.nodeName===this.Rb&&t.hasChildNodes()&&t.firstElementChild},i}(Bu),zu=n(28),Hu=function(){function t(){}return t.sl=function(t){var i={};t=t.childNodes;for(var n=0;n<t.length;n++){var s=t[n],e=s.nodeName;1===s.nodeType&&(i[e]||(i[e]=s))}return i},t.rl=function(t,i){t=t.childNodes;for(var n=0;n<t.length;n++){var s=t[n];if(1===s.nodeType&&s.nodeName===i)return s}return null},t.Ca=function(t){var i={};return t&&Array.prototype.forEach.call(t.childNodes||[],(function(t){var n=t.nodeName;1===t.nodeType&&(i[n]||(i[n]=[]),i[n].push(t))})),i},t.Rw=function(t){return!!t&&(3===t.nodeType||2===t.nodeType||!!t.hasChildNodes()&&!t.firstElementChild)},t.ya=function(t){return function t(i){for(var n,s="",e=0;null!=(n=i[e++]);)n.nodeType===zu.c||n.nodeType===zu.a?(n=n.nodeValue&&n.nodeValue.trim())&&(s+=n):n.nodeType!==zu.b&&(s+=t(n.childNodes));return s}([t])},t}(),qu=function(){function t(t){this.type=t.getAttribute("type")}return t.prototype.prepare=function(t){t.pp={fD:this.type||"Equirectangular"}},t}(),Gu=function(){function t(t){t&&(this.type=t.getAttribute("type"),this.value=Hu.ya(t))}var i=t.prototype;return i.prepare=function(t,i,n){this.Jb=t,this.P=i,this.Pl=n,this.tx=i.Pb},i.Aa=function(){(new Image).src=this.tx.resolve(this.value,this.Pl)},t}(),Yu=n(6),Wu=n.n(Yu),Zu={ar:"العربية",de:"deutsch",en:"english",es:"español",fr:"français",he:"עברית",id:"Indonesian",it:"Italiano",ja:"日本語",ru:"русский",tl:"Filipino",zh:"简体中文 (中国)","zh-tw":"繁體中文 (台灣)"},Qu=function(t){function i(i,n,s,e){return(i=t.call(this,i,e)||this).so=n,i.$m=s,i.Se=[],i.Fq=!0,i}io()(i,t);var n=i.prototype;return n.Dy=function(t){t.Fq=!1,this.Qs=t},n.jq=function(){return this.so||null},n.gd=function(){return this.$m||null},n.$v=function(){return this.Qs||null},n.clone=function(){return new i(this.type,this.so,this.$m,this.data)},i}(Qo);Qu.Og="VastEventAttempt",Qu.xd="VastEventImpression",Qu.Jc="VastEventClick",Qu.Za="VastEventError",Qu.LOADED="loaded";var Xu=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i.prototype.prepare=function(i,n){switch(t.prototype.prepare.call(this,i,n.P),this.type){case"clickThru":dt.call(this,n.ad,Qu.Jc)}},i}(Gu),Ju=n(49),Ku=function(){function t(t,i){var n=this;this.Gr={},this.Zx=t,this.N=i,t.forEach((function(t){var i=t.yp,s=t.cg;Object.keys(s).map((function(t){return s[t]=uo.a.Ik(s[t])})),n.Gr[t.lang]={displayText:i,formats:s}}))}return t.prototype.prepare=function(t){var i=this;this.N||(this.N=t);var n=this.N.S("eventBus");Zo.a.Xa(n,Xo.Ji,(function(){n.dispatchEvent(new Xo(Xo.Ki,null,{raw:i.Zx,subtitles:i.Gr}))}))},t}(),$u=n(70),ta=n.n($u);n(84);var ia=n(80),na=n.n(ia),sa=n(65),ea=n(69),ra=n.n(ea),ha=Xh.a.Ka("IframeSecure"),oa=function(){function t(t,i){this.xe=t,this.Sb=i,this.Kf=new Do,this.Na=Zo.a.empty()}var i=t.prototype;return i.mc=function(){this.tq=uo.a.wg(this.xe.src).origin,Zo.a.bind(this.xe.contentWindow.parent,"message",this.Hl.bind(this),!1)},i.YB=function(){return this.Kf.Ja},i.Oe=function(){this.Na.ra(),Object(Wh.D)(this.xe)},i.ii=function(t){this.Oe(),this.Kf.reject(t)},i.ed=function(){this.ff.apply(this,arguments)},i.ff=function(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];if(i={data:1===n.length?n[0]:n,type:t},this.xe.contentWindow)try{this.xe.contentWindow.postMessage(i,this.tq)}catch(t){ha.error("Unable to send message",i,t)}},i.Hl=function(t){var i=t.data||{};t.origin===this.tq&&i.location===this.xe.src?(t.preventDefault(),this.di(t)):ha.debug("Ignore message from ".concat(t.origin))},i.di=function(){},ra()(t,[{key:"iframeOrigin",set:function(t){this.dh=t},get:function(){return this.dh}}]),t}(),ua=function(t){function i(){return t.apply(this,arguments)||this}io()(i,t);var n=i.prototype;return n.Cp=function(t,i){this.ed("eventCallbackListenerInvoke",{event:i,type:t})},n.Yd=function(){this.ed("loadScript",{url:this.Sb})},n.Gv=function(t,i){this.hr=t,this.Dp=i},n.Ey=function(t){this.lp=t},n.uy=function(t){this.ed("sessionObserverCallback",t)},n.di=function(t){var i=t.data||{},n=i.type;"registerSessionObserverCallback"===n&&this.hr?this.hr():"addEventListenerCallback"===n&&this.Dp?this.Dp((i.data||{}).type):"error"===n?this.ii(t.data.data):"sessionObserverCallbackCompleted"===n&&i.data.type===sa.SESSION_FINISH&&this.lp&&this.lp()},i}(oa),aa=function(t){function i(n,s,e){return(s=t.call(this,i.Bd,s,null)||this).be=n,s.data=e||{},s}return io()(i,t),i.prototype.clone=function(){return new i(this.be,this.jq(),this.data)},i}(Qu);aa.Bd="VASTEventVideoTracking";var ca=["*"],fa=0,la=function(){function t(t){this.lb=t.dom,this.Xg=t.adContainerProvider.Sc,this.Ke=t.videoTagProvider,this.U=t.eventBus,this.pj=2,this.mb={},this.te={},this.Ds=E()}return t.prototype.prepare=function(){var t=na()(ta.a.mark((function t(i,n){var s;return ta.a.nm((function(t){for(;;)switch(t.Xb=t.next){case 0:if(this.Kd=i,this.Ma=n,-1<ca.indexOf(this.Kd.vendor)||-1<ca.indexOf("*")?s=this.Kd.Iq[0]||this.Kd.Ep[0]:(this.pj=1,s=void 0),!s){t.next=17;break}return At.call(this),t.Xb=5,t.next=8,_t.call(this,s.url);case 8:t.next=15;break;case 10:t.Xb=10,t.GD=t.catch(5),this.pj=3,Tt.call(this),yt.call(this);case 15:t.next=18;break;case 17:Tt.call(this);case 18:case"end":return t.stop()}}),t,this,[[5,10]])})));return function(i,n){return t.apply(this,arguments)}}(),t}();la.ba=["dom","adContainerProvider","videoTagProvider","eventBus"];var va=function(){function t(){this.type=null,this.zq={},this.scripts=[],this.Hr=[],this.wp=[],this.Qr=[],this.gp=[],this.Bl=null,this.bg=[],this.To=[]}return t.prototype.prepare=function(t){switch(this.Jb=new Ju.a,this.vz=t,this.P=t.P,this.fi=this.P.N,this.ad=t.ad,this.type){case"adaptv_scripts":St.call(this);break;case"adaptv_timeout_beacons":It.call(this);break;case"one_video_custom_tracking_beacons":jt.call(this);break;case"vidible_captions":new Ku(this.gp,this.fi).prepare();break;case"vidible_360":this.Cu.prepare(this.ad);break;case"o2Player_leaveBehind":this.Bl&&this.Bl.prepare(this.P,this.Jb);break;case"one_video_feacons":Mt.call(this);break;case"AdVerifications":Nt.call(this)}Zo.a.Xa(this.P,Xo.vd,Rt.bind(this))},t}(),da=function(){function t(t){var i=this;this.bg=[],t.forEach((function(t){(Hu.Ca(t).Feacon||[]).forEach((function(t){return i.bg.push(Hu.ya(t))}))}))}return t.prototype.prepare=function(t){var i=t.Pb;this.bg.forEach((function(t){return(new Image).src=i.resolve(t)}))},t}(),pa=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n)||this).Mf=e,i.Zj=r,i.Ea=s,i.vf=h,i.Jo=o,i}io()(i,t);var n=i.prototype;return n.lC=function(){return this.Mf},n.UB=function(){return this.Zj},n.Zk=function(){return this.Ea},n.qB=function(){return this.vf},n.qC=function(){return this.Jo},n.clone=function(){return new i(this.type,this.data,this.Ea,this.Mf,this.Zj,this.vf,this.Jo)},i}(function(){function t(t,i){this.type=t,this.data=i}return t.prototype.clone=function(){return new t(this.type,this.data)},t}());pa.LOADING="EntriesManagerEvent.LOADING",pa.LOADED="EntriesManagerEvent.LOADED",pa.Pg="EntriesManagerEvent.FAILED";var ma,ba,ya=function(){function t(t){this.Nk=JSON.parse(Hu.ya(t))}return t.prototype.prepare=function(t,i){this.P=t,i.Tb(Zo.a.bind(t,Xo.vd,Dt.bind(this))),this.Yj=this.P.N.S("config")},t}(),ga=n(7),wa=function(){function t(t){this.ly=t.getAttribute("resourceType"),this.event=t.getAttribute("event"),this.value=Hu.ya(t)}return t.prototype.prepare=function(t,i,n){this.P=n,this.Yf=n.N.S("dom"),t.Tb(Zo.a.bind(n,Xo.vd,Ct.bind(this))),this.event===ga.IMPRESSION?t.Tb(Zo.a.bind(i,Qu.xd,kt.bind(this))):kt.call(this)},t}(),Ea=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i.prototype.prepare=function(i,n,s){if(this.ad=n,t.prototype.prepare.call(this,i,s),(i=Pt.call(this))&&(this.timeout=i.zq[this.type]),!this.timeout)switch(this.type){case"ad_loaded_timeout":this.timeout=5e3;break;case"ad_started_timeout":this.timeout=7e3;break;case"break_loaded_timeout":this.timeout=3e4}switch(this.type){case"ad_loaded_timeout":xt.call(this,Xo.Gi,Xo.ac);break;case"ad_started_timeout":xt.call(this,Xo.ac,Xo.fe);break;case"break_loaded_timeout":xt.call(this,Xo.Kg,Xo.ac)}},i}(Gu),Oa=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i.prototype.jf=function(t){return t&&t.nodeName===this.Rb&&Hu.Rw(t)},i}(Bu),Aa=function(t){function i(){return t.apply(this,arguments)||this}io()(i,t);var n=i.prototype;return n.ia=function(t){var i=this.Qe();return i.url=Zh.a.trim(Hu.ya(t)),i},n.Qe=function(){return new b},i}(Oa),_a=new Aa("Survey"),Ta=new Aa("Attempt"),Sa=new Aa("Impression"),Ia=new Aa("Error"),ja=new Aa("VASTAdTagURI"),Ma=new Aa("NonLinearClickThrough"),Na=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return io()(i,t),i.prototype.ia=function(i){var n=t.prototype.ia.call(this,i);return n.eb=i.getAttribute("apiFramework"),n.$o=i.getAttribute("browserOptional"),n},i}(Aa)),Ra=new(function(t){function i(){return t.call(this,"JavaScriptResource")||this}return io()(i,t),i.prototype.ia=function(i){var n=t.prototype.ia.call(this,i);return n.eb=i.getAttribute("apiFramework"),n.type=i.getAttribute("type"),n},i}(Aa)),Da=new(function(t){function i(){return t.call(this,"VerificationParameters")||this}return io()(i,t),i.prototype.ia=function(t){var i=new m;return i.value=Hu.ya(t),i},i}(Oa)),La=function(t){function i(i,n,s){return(i=t.call(this,i)||this).type=n,i.offset=s,i}return io()(i,t),i}(b),ka=new(function(t){function i(){return t.call(this,"Tracking")||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.type=i.getAttribute("event"),n.offset=i.getAttribute("offset"),n},n.Qe=function(){return new La},i}(Aa)),Ca=new(function(t){function i(){return t.call(this,"Verification",[Na,Ra,Da,ka])||this}return io()(i,t),i.prototype.ia=function(t){var i=new p,n=Hu.Ca(t),s=n.JavaScriptResource||[],e=n.ExecutableResource||[],r=n.VerificationParameters||[];return n=Hu.Ca((n.TrackingEvents||[])[0]).Tracking||[],i.Iq=s.map((function(t){return Na.parse(t)})).sort(Vt),i.Ep=e.map((function(t){return Ra.parse(t)})),i.km=r.map((function(t){return Da.parse(t)})),i.Zb=n.map((function(t){return ka.parse(t)})),i.vendor=t.getAttribute("vendor"),i},i}(Fu)),Pa=function(t){function i(i,n,s){var e=t.call(this)||this;return n=n||{},e.Ef=i,e.ph=+n.d||t.prototype.fq.call(jo()(e)),e.oh=+n.p||t.prototype.eq.call(jo()(e)),e.Wg=Bt(n.c,t.prototype.Bq.call(jo()(e))),e.Vg=Bt(n.a,t.prototype.Aq.call(jo()(e))),e.Le=+n.t||t.prototype.oq.call(jo()(e)),e.Tn=s||[],e}io()(i,t);var n=i.prototype;return n.eg=function(){return this.Ef},n.fq=function(){return this.ph},n.eq=function(){return this.oh},n.Bq=function(){return this.Wg},n.Aq=function(){return this.Vg},n.oq=function(){return this.Le},n.NB=function(){return this.Tn},n.HC=function(){return 1===this.Le},i}(function(){function t(){this.ph=2,this.oh=50,this.Vg=this.Wg=!1,this.Le=null}var i=t.prototype;return i.fq=function(){return this.ph},i.eq=function(){return this.oh},i.Bq=function(){return this.Wg},i.Aq=function(){return this.Vg},i.oq=function(){return this.Le},t}()),xa=function(t){function i(i,n){return t.call(this,n,{a:i.getAttribute("a"),c:i.getAttribute("c"),d:i.getAttribute("d"),p:i.getAttribute("p"),t:i.getAttribute("t")})||this}return io()(i,t),i}(Pa),Ua=new(function(t){function i(){return t.call(this,"Extension")||this}io()(i,t);var n=i.prototype;return n.ia=function(t){var i=new va;i.type=t.getAttribute("type");var n=Hu.Ca(t);switch(i.type){case"adaptv_scripts":i.scripts=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new wa(i))})),t}(n.Script);break;case"one_video_inventory_attributes":i.zq=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i={};return Object.keys(t).forEach((function(n){n=new y(n,t[n][0]),i[n.type]=n.value})),i}(n);break;case"adaptv_timeout_beacons":i.Hr=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Ea(i))})),t}(n.Beacon);break;case"adaptv_iab_viewable_beacons":i.Qr=Ft(n.Beacon);break;case"Viewability3P":i.Bz=Ft(n.Beacon);break;case"ViewabilityRules":i.Dz=zt(n,"viewabilityDefVideo"),i.Cz=zt(n,"viewabilityDefVideo3P");break;case"one_video_custom_tracking_beacons":i.wp=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new Xu(i))})),t}(n.Beacon);break;case"o2Player_leaveBehind":i.Bl=new ya(t);break;case"vidible_captions":i.gp=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.push(new g(i))})),t}(n.Caption);break;case"vidible_360":i.Cu=function(){return new qu(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[])}(n.Projection[0]);break;case"one_video_feacons":i.bg.push(new da(n.Feacons));break;case"AdVerifications":i.To=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){t=(Hu.Ca(i).Verification||[]).map((function(t){return Ca.parse(t)}))})),t}(n.AdVerifications)}return i},n.jf=function(t){return t&&t.nodeName===this.Rb},i}(Fu)),Va=new(function(t){function i(){return t.call(this,"ViewableImpression")||this}return io()(i,t),i.prototype.ia=function(t){var i=new d;return t=Hu.sl(t),i.jb=new Gu(t.Viewable),i.El=new Gu(t.NotViewable),i.mm=new Gu(t.ViewUndetermined),i},i}(Fu)),Ba=new(function(t){function i(){return t.call(this,"AdSystem")||this}return io()(i,t),i.prototype.ia=function(t){var i=new v;return i.version=t.getAttribute("version"),i.name=Hu.ya(t),i},i}(Oa)),Fa=function(t){function i(){var i=t.call(this)||this;return i.mp=[],i.Ye=[],i.yq=null,i.od=[],i.duration=null,i.$d=!1,i.zi=null,i.yi=null,i.parameters=null,i.ob=null,i.nv=null,i.op=new Ku([]),i.Oq=null,i}return io()(i,t),i}(l),za=new c("STREAMING"),Ha=new c("PROGRESSIVE"),qa=function(t){function i(i,n){return(i=t.call(this,i)||this).id=n,i}return io()(i,t),i}(b),Ga=function(t){function i(i,n){return(i=t.call(this,i,n)||this).xp=null,i.mimeType="",i.width=null,i.height=null,i.jv="",i.bitrate=null,i.sg=null,i.maxBitrate=null,i.ef=!0,i.rg=!0,i.eb="",i}return io()(i,t),i}(qa),Ya=function(t){function i(){return t.apply(this,arguments)||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.id=i.getAttribute("id"),n},n.Qe=function(){return new qa},i}(Aa),Wa=new Ya("ClickThrough"),Za=new Ya("ClickTracking"),Qa=new Ya("CustomClick"),Xa=new Ya("NonLinearClickTracking"),Ja=new(function(t){function i(){return t.call(this,"MediaFile")||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);switch(String(i.getAttribute("delivery"))){case"streaming":n.xp=za;break;case"progressive":n.xp=Ha}var s=i.getAttribute("height");return n.height=isNaN(s)?0:s,s=i.getAttribute("width"),n.width=isNaN(s)?0:s,n.jv=i.getAttribute("codec"),n.bitrate=i.getAttribute("bitrate"),n.sg=i.getAttribute("minBitrate"),n.maxBitrate=i.getAttribute("maxBitrate"),s=i.getAttribute("scalable"),n.ef=!s||("true"===s||0<parseInt(s)),n.rg="true"===i.getAttribute("maintainAspectRatio"),n.mimeType=i.getAttribute("type"),n.eb=i.getAttribute("apiFramework"),n.url&&-1!==n.url.indexOf("acds.prod.vidible.tv")&&(n.nc=uo.a.Vb("placementId",n.url)),n},n.Qe=function(){return new Ga},i}(Ya)),Ka=function(t){function i(i,n){return(i=t.call(this,i,n)||this).type=void 0,i.eb="",i.sz=!1,i}return io()(i,t),i}(qa),$a=new(function(t){function i(){return t.call(this,"InteractiveCreativeFile")||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.eb=i.getAttribute("apiFramework")||"vpaid",n.type=i.getAttribute("type"),n.sz=i.getAttribute("variableDuration")||!1,n},n.Qe=function(){return new Ka},i}(Ya)),tc=new(function(t){function i(){return t.call(this,"Icon")||this}return io()(i,t),i.prototype.ia=function(t){var i=new a;i.width=+t.getAttribute("width")||0,i.height=+t.getAttribute("height")||0,i.Hg=+t.getAttribute("xPosition")||t.getAttribute("xPosition"),i.Ig=+t.getAttribute("yPosition")||t.getAttribute("yPosition"),i.offset=Object(Wh.J)(t.getAttribute("offset")||""),i.duration=Object(Wh.J)(t.getAttribute("duration")||""),t=Hu.Ca(t);var n=Hu.Ca(t.IconClicks[0]),s=n.IconClickThrough&&n.IconClickThrough[0];return n=n.IconClickTracking&&n.IconClickTracking[0],t.StaticResource&&t.StaticResource[0]&&(i.Fr=Hu.ya(t.StaticResource[0]).trim()),t.IconViewTracking&&t.IconViewTracking[0]&&(i.lm=Hu.ya(t.IconViewTracking[0]).trim()),s&&(i.Lk=Hu.ya(s).trim()),n&&(i.Mk=Hu.ya(n).trim()),i},i}(Fu)),ic=new(function(t){function i(){return t.call(this,"AdParameters")||this}return io()(i,t),i.prototype.ia=function(t){var i=new u;return i.value=Hu.ya(t),i.Hz=t.getAttribute("xmlEncoded"),i},i}(Oa)),nc=["application/x-shockwave-flash","video/x-flv"],sc=(ma={},Wu()(ma,"application/javascript","cjs"),Wu()(ma,"text/javascript","cjs"),Wu()(ma,"application/x-javascript","cjs"),Wu()(ma,"application/vnd.apple.mpegurl","cm3u8"),Wu()(ma,"application/x-mpegurl","cm3u8"),Wu()(ma,"application/x-shockwave-flash","cswf"),Wu()(ma,"uplynk/m3u8","cm3u8"),Wu()(ma,"video/3gpp","c3gpp"),Wu()(ma,"video/x-flv","cflv"),Wu()(ma,"video/mp4","cmp4"),Wu()(ma,"video/webm","cwebm"),ma),ec=new(function(t){function i(){return t.call(this,"Linear",[ka,Wa,Za,Qa,Ja,tc,ic])||this}return io()(i,t),i.prototype.ia=function(t){var i=new Fa,n=Hu.sl(t);if((t=t.getAttribute("skipoffset"))&&(i.$d=!0,"%"===t.slice(-1)?i.yi=Number(t.slice(0,-1)):i.zi=Object(Wh.J)(t)),t=Hu.ya(n.Duration),i.duration=t?Object(Wh.J)(t):NaN,(t=n.AdParameters)&&(i.parameters=ic.parse(t)),(t=n.TrackingEvents)&&(Hu.Ca(t).Tracking||[]).forEach((function(t){return i.Zb.push(ka.parse(t))})),t=n.VideoClicks){var s=(t=Hu.Ca(t)).ClickThrough;s&&(s=s[0])&&(i.ob=Wa.parse(s)),(s=t.ClickTracking)&&s.forEach((function(t){return i.mp.push(Za.parse(t))})),(t=t.CustomClick)&&(t=t[0])&&(i.nv=Qa.parse(t))}return(t=n.Icons)&&(t=Hu.Ca(t).Icon)&&t.forEach((function(t){return i.od.push(tc.parse(t,!0))})),t=(n=n.MediaFiles)&&Hu.Ca(n).MediaFile||[],function(t,i){var n=[],s=[],e=new f;i.forEach((function(t){if(t=Ja.parse(t)){var i=t.mimeType&&t.mimeType.toLowerCase()||"",r=sc[i];r?e[r]+=1:e.kv+=1,(r=t.url)&&!Zh.a.startsWith(r,"rtmp",!0)&&i&&0<i.length&&-1===nc.indexOf(i)&&("vpaid"!==(t.eb&&t.eb.toLowerCase()||"")?n.push(t):("application/javascript"===i||"text/javascript"===i||"application/x-javascript"===i)&&s.push(t))}})),t.Oq=e,t.Ye=0<n.length?n:s}(i,t),t=n&&Hu.rl(n,"ClosedCaptionFiles")||[],t=(n&&t&&Hu.Ca(t).ClosedCaptionFile||[]).map((function(t){return new g(t,!0)})),i.op=new Ku(t),(n=(n&&Hu.Ca(n).InteractiveCreativeFile||[])[0])&&(n=$a.parse(n))&&(i.yq=n),i},i}(Fu)),rc=function(t){function i(){var i=t.call(this)||this;return i.ef=!0,i.rg=!0,i.Cl=null,i}return io()(i,t),i}((function(){this.height=this.width=null,this.id="",this.parameters=this.hv=this.ob=this.Fp=this.Gp=null,this.eb="",this.oc=[]})),hc=new h("STATIC"),oc=new h("IFRAME"),uc=new h("HTML"),ac=function(t){function i(i,n){return(i=t.call(this,i)||this).Xt=n,i}return io()(i,t),i.prototype.ia=function(t){var i=new o;return i.type=this.Xt,i.value=Hu.ya(t),i.mimeType=t.getAttribute("creativeType"),i},i}(Oa),cc=new ac("StaticResource",hc),fc=new ac("IFrameResource",oc),lc=new ac("HTMLResource",uc),vc=new(function(t){function i(){return t.call(this,"NonLinear",[Ma,Xa])||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=i.getAttribute("scalable");n.ef=!s||("true"===s||0<parseInt(s));var e="true"===(s=i.getAttribute("maintainAspectRatio"))||0<parseInt(s);return n.rg=!s||e,i=i.getAttribute("minSuggestedDuration"),n.Cl=i?Object(Wh.J)(i):NaN,n},n.lv=function(){return new rc},n.Wp=function(){return Ma.Rb},n.Xp=function(){return Xa.Rb},i}(function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([cc,fc,lc,ic,ka]))||this}io()(i,t);var n=i.prototype;return n.ia=function(t){var i=this,n=this.lv();n.height=t.getAttribute("height"),n.width=t.getAttribute("width"),n.id=t.getAttribute("id");var s=t.getAttribute("expandedWidth");return n.Gp=isNaN(s)?0:s,s=t.getAttribute("expandedHeight"),n.Fp=isNaN(s)?0:s,n.eb=t.getAttribute("apiFramework"),[(t=Hu.Ca(t)).StaticResource||[],t.IFrameResource||[],t.HTMLResource||[]].forEach((function(t){t.forEach((function(t){(t=i.hd(t.nodeName).parse(t))&&n.oc.push(t)}))})),(s=t.AdParameters)&&(n.parameters=ic.parse(s[0])),(s=t[this.Wp()])&&(n.ob=this.aw().parse(s[0])),(t=t[this.Xp()])&&(n.hv=this.bw().parse(t[0])),n},n.aw=function(){return this.hd(this.Wp())},n.bw=function(){return this.hd(this.Xp())},i}(Fu))),dc=function(t){function i(){var i=t.call(this)||this;return i.Dl=[],i}return io()(i,t),i}(l),pc=new(function(t){function i(){return t.call(this,"NonLinearAds",[ka,vc])||this}return io()(i,t),i.prototype.ia=function(t){var i=new dc,n=(t=Hu.Ca(t)).NonLinear;return n&&n.forEach((function(t){return i.Dl.push(vc.parse(t))})),(t=t.TrackingEvents)&&(Hu.Ca(t[0]).Tracking||[]).forEach((function(t){return i.Zb.push(ka.parse(t))})),i},i}(Fu)),mc=new(function(t){function i(){return t.call(this,"UniversalAdId")||this}return io()(i,t),i.prototype.ia=function(t){var i=new r;return i.value=Hu.ya(t),i.ql=t.getAttribute("idRegistry"),i},i}(Oa)),bc=new(function(t){function i(){return t.call(this,"Creative",[ec,pc])||this}return io()(i,t),i.prototype.ia=function(t){var i,n=this,s=null;return[].slice.call(t.childNodes).forEach((function(e){if("UniversalAdId"===e.nodeName)i=e;else{var r=n.hd(e.nodeName);r&&(s=r.parse(e))&&(s.id=t.getAttribute("id"),e=t.getAttribute("sequence"),s.zb=isNaN(e)?0:e,s.Hu=t.getAttribute("adID")||t.getAttribute("AdID"))}})),s&&(s.Mr=mc.parse(i)),s},i}(Fu)),yc=function(t){function i(i){return t.call(this,i,(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).concat([Ba,Ta,Ia,Sa,bc,Ua,Ca,Va]))||this}return io()(i,t),i.prototype.ia=function(t){var i=this.sp(),n=(t=Hu.Ca(t)).AdSystem&&t.AdSystem[0];return i.P=n&&Ba.parse(n)||{},i.Xo=Ht.call(this,t.Attempt,"Attempt"),i.ei=Ht.call(this,t.Impression,"Impression"),i.ei.forEach((function(t){-1===t.url.indexOf("log.adaptv.advertising.com")||i.nc||(i.nc=uo.a.Vb("5",t.url))})),i.Re=Ht.call(this,t.Error,"Error"),i.Ha=qt.call(this,t.Creatives,"Creative"),i.Ha.sort((function(t,i){return t.zb-i.zb})),i.Ha=i.Ha.map((function(t,i){return t.qc=i,t})),i.lc=qt.call(this,t.Extensions,"Extension"),i.wz=qt.call(this,t.AdVerifications,"Verification"),t.ViewableImpression&&(i.ud=[Va.parse(t.ViewableImpression[0])]),i},i}(Fu),gc=["[ERRORCODE]","%5BERRORCODE%5D"],wc=["[cachebuster]","[CACHEBUSTER]","[CACHE_BUSTER]","[CACHE_BREAKER]","[CACHEBUSTING]"],Ec=["[OMIDPARTNER]"],Oc=["[timestamp]","[TIMESTAMP]"],Ac=["[ADTYPE]"],_c=["[ADSERVINGID]"],Tc=["[ASSETURI]","[AD_MEDIA_FILE_URL]","AD_MEDIA_FILE_URL"],Sc=["[BLOCKEDADCATEGORIES]"],Ic=["[BREAKPOSITION]"],jc=["[CLIENTUA]","[clientua]"],Mc=["[CONTENTPLAYHEAD]","[MEDIAPLAYHEAD]"],Nc=["[PAGEURL]","[pageurl]"],Rc=["[UNIVERSALADID]"],Dc=["[ADCOUNT]"],Lc="[TRANSACTIONID] [PLACEMENTTYPE] [IFA] [IFATYPE] [SERVERSIDE] [DOMAIN] [APPBUNDLE] [VASTVERSIONS] [EXTENSIONS] [VERIFICATIONVENDORS] [MEDIAMIME] [PLAYERCAPABILITIES] [CLICKTYPE] [PLAYERSTATE] [INVENTORYSTATE] [PLAYERSIZE] [ADPLAYHEAD] [CONTENTID] [CONTENTURI] [PODSEQUENCE] [CLICKPOS] [LIMITADTRACKING] [REGULATIONS] [GDPRCONSENT] [ADCATEGORIES] [SERVERUA] [DEVICEUA] [DEVICEIP]".split(" "),kc=["[LATLONG]"],Cc=function(t){function i(){var i=t.call(this)||this;return i.Ao=[],i.Xo=[],i.ei=[],i.Re=[],i.Ha=[],i.lc=[],i.pg=!1,i.id="",i.state={loaded:!1},i}io()(i,t);var n=i.prototype;return n.gr=function(t,i,n){var s=this,e=new Qu(Qu.Og,null,null,i);this.qe=function(){s.dispatchEvent(e),t.vg(e),s.qe=null},(this.state.loaded||n)&&this.qe()},n.dispatchEvent=function(i){var n=i.jq();switch(n=i.Fq?n:!Object(Wh.q)(n)&&Yt.call(this,n),i.type){case Qu.Og:this.Ms||(Gt(i,this.Xo),this.Ms=!0);break;case Qu.xd:Gt(i,this.ei);break;case Qu.Za:this.qe&&this.qe(),Gt(i,this.Re);break;case Qu.Jc:n instanceof Fa&&(Gt(i,n.mp),n.Zb&&n.Zb.forEach((function(t){"clickThru"===t.type&&t.url&&i.Se.push(t.url)})));break;case aa.Bd:Wt.call(this,n,i.Se,i.be,i);break;case Qu.LOADED:this.qe&&this.qe(),this.state.loaded=!0;case"iab_detection_started":case"iab_viewable":case"iab_detection_failed":case"VIDEO_VIEW_3P":case"stopped":case"linearChange":Wt.call(this,n,i.Se,i.type)}return t.prototype.dispatchEvent.call(this,i)},n.rv=function(t,i){this.gt||(this.gt=!0,i=new Qu(Qu.Za,null,null,{error:i}),this.dispatchEvent(i),t.vg(i))},i}($h.default),Pc=function(t){function i(){var i=t.call(this)||this;return i.title="",i.description="",i.Nu="",i.dz=null,i.px=Date.now(),i}return io()(i,t),i}(Cc),xc=new(function(t){function i(){return t.call(this,"InLine",[_a])||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return i=Hu.sl(i),n.title=Hu.ya(i.AdTitle),n.description=Hu.ya(i.Description),n.Nu=Hu.ya(i.Advertiser),n.dz=_a.parse(i.Survey),n.Iu=Hu.ya(i.AdServingId),n.Hk=Hu.ya(i.Category),n.expires=parseInt(Hu.ya(i.Expires),10),n},n.sp=function(){return new Pc},i}(yc)),Uc=[Qu.Og,Qu.xd,Qu.Jc,Qu.LOADED,aa.Bd,"iab_detection_started","iab_viewable","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange"],Vc=function(t){function i(){var i=t.call(this)||this;return i.pg=!0,i.jp=null,i}io()(i,t);var n=i.prototype;return n.Tu=function(t){var i=this;t.ads.forEach((function(t){return Uc.forEach((function(n){return t.addEventListener(n,Zt.bind(i))}))}))},n.Wx=function(t,i){t.ads.forEach((function(t){i.lc&&(t.lc=(t.lc||[]).concat(i.lc)),i.ud&&(t.ud=(t.ud||[]).concat(i.ud)),t.Ha.forEach((function(t){var n=0<i.Ha.length&&i.Ha[0]instanceof Fa;t.od&&0===t.od.length&&n&&(t.od=t.od.concat(i.Ha[0].od))})),t.Ne&&t.pg&&(t.Ne=i.Ne.concat(t.Ne).filter((function(t,i,n){return n.indexOf(t)===i})))}))},i}(Cc),Bc=new(function(t){function i(){return t.call(this,"Wrapper",[ja])||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i),s=Hu.rl(i,"BlockedAdCategories");return n.jp=ja.parse(Hu.rl(i,"VASTAdTagURI")),n.Ne=s&&(Hu.ya(s).split(",")||[]),n},n.sp=function(){return new Vc},i}(yc)),Fc=new(function(t){function i(){return t.call(this,"Ad",[xc,Bc])||this}return io()(i,t),i.prototype.ia=function(t){var i=null,n=t.firstElementChild,s=this.hd(n.nodeName);return s&&((i=s.parse(n)).Sf=t.getAttribute("adType")||"video",i.id=t.getAttribute("id"),n=t.getAttribute("sequence"),t=t.getAttribute("fallbackSequence"),n&&(i.zb=+n),t&&(i.Kv=+t)),i},i}(Fu)),zc=function(t){function i(i,n){return(i=t.call(this,i)||this).version=n,i}return io()(i,t),i}(b),Hc=new(function(t){function i(){return t.call(this,"Error")||this}io()(i,t);var n=i.prototype;return n.ia=function(i){var n=t.prototype.ia.call(this,i);return n.version=i.getAttribute("version"),n},n.Qe=function(){return new zc},i}(Aa)),qc=function(){function t(){this.ads=[],this.Re=[]}var i=t.prototype;return i.Yp=function(){return 0<this.ads.length?this:this.parent?this.parent.Yp():null},i.Bw=function(t){for(var i=[],n=this;;){if(n.Gc&&i.push(n.Gc),n.parent===t||!t)return i;if(!n.parent)return[];n=n.parent}},t}(),Gc=function(t){function i(i){var n=t.call(this,"VAST",[Fc,Hc])||this;return n.L=i,n}io()(i,t);var n=i.prototype;return n.jf=function(){return!0},n.ia=function(t){var i=this,n=new qc,s=Hu.Ca(t);if(n.FD=t.getAttribute("adaptvFailover")||!1,t=s.Error){var e=this.hd("Error");t.forEach((function(t){(t=e.parse(t))&&n.Re.push(t)}))}if((t=s.Extensions)&&this.L&&t.forEach((function(t){(Hu.Ca(t).Extension||[]).forEach((function(t){"one_video_feacons"===(t&&t.getAttribute("type"))&&(t=Hu.Ca(t).Feacons,new da(t).prepare(i.L))}))})),s=s.Ad){var r=this.hd("Ad");s.forEach((function(t,i){(t=r.parse(t))&&(t.qc=i+1,n.ads.push(t))}))}return n},i}(Fu),Yc=Xh.a.Ka("VastParser"),Wc=function(){function t(t){this.L=t}return t.prototype.parse=function(t){return new Gc(this.L).parse(function(t){t:{var i=xo()(t);if("string"===i)try{if(void 0!==window.DOMParser){var n=(new window.DOMParser).parseFromString(t,"text/xml");(0<n.getElementsByTagName("parsererror").length||!n.documentElement)&&Qt("Invalid XML");var s=n}else Qt("No XML parser found"),s=void 0;break t}catch(i){Yc.error(i,"Invalid VAST xml",t),Qt("Invalid VAST: ".concat(i.message||i))}else{if("object"===i){s=t;break t}Qt("Cannot parse VAST: non-supported type",i)}s=void 0}return"VAST"!==(t=s.documentElement).nodeName&&Qt("Invalid VAST XML",ju),t}(t))},t}(),Zc=["Bumper","Midroll","Overlay","Preroll"],Qc=["Bumper","Midroll","Preroll"],Xc=function(){function t(){}var i=t.prototype;return i.parse=function(t,i,n){if(this.xt=/OneVideo\sVIP/.test(t.vendorName),this.ga=i||{},this.Do=t.transactionId,this.oe=t.adxResult,this.Eh=t.usid,this.ho=t.rcid,this.Lt=t.overlayURL,this.ju=t.thumbnail,this.ot=t.fullsizeThumbnail,this.vu=t.videoTitle,this.tu=t.videoId,this.su=t.videoDuration,this.xs=t.acid,this.Ls=t.asid,this.hj=t.auid,this.eo=t.rid,this.Ua=t.parentSlot,this.Hf=t.pblob||"",this.Ah=t.spaceId||"",t.cpm&&(this.Ib=Number(t.cpm),isNaN(this.Ib)&&(this.Ib=Number(Object(Wh.b)(t.cpm)))),this.Ib=this.Ib||0,(this.Qc=t.impTracker)&&(this.Qc=this.Qc.replace(/\[ECPM]/g,this.Ib||"")),this.Oa=t.urls||[],t.url&&-1===this.Oa.indexOf(t.url)&&this.Oa.unshift(t.url),this.nu=this.Oa.length,this.ez(),this.cj=t.adEngineType||"VAST",this.Nf=t.vastXml)try{"GEMINI"===this.cj?this.Ky(JSON.parse(this.Nf)):(this.ma=new Wc(n).parse(this.Nf),this.ma.ae=this.Mc),this.xn=!!(this.ma&&this.ma.ads&&0<this.ma.ads.length||this.yc&&this.yc.ads&&0<this.yc.ads.length)}catch(t){this.Ho=t}if(this.qk=t.vastAds,this.M=t.config,!this.Mc&&!this.Nf&&!this.qk&&"PREBID"!==this.cj)throw Error("URL, VAST XML or Ads should be specified for each ad config entry");return this.qu=t.vendor&&t.vendor.match(/[0-9a-zA-Z]{24}/g)?t.vendor:"",this.Io=t.vendorName,this.Ef=t.name,this.Ch=1e3*t.startTimeout||2147483647,this.Tt=Number(t.priorityBoost)||1,this.qa=t.type||t.adTypes&&t.adTypes[0]||"All",this.Eo=t.types||[],this.tt=t.houseAd||!1,this.hu=t.strictSiteCheck||!1,this.Pt=void 0===t.pbl||t.pbl,this.Ut=t.profitCenter,i=t.saleforce||{},this.Ps=i.bookingId,this.At=i.lineItemId,this.uo=(t.trackers||{}).Impression||[],this.qn=t.extraProperties||{},this.Yn=t.podId,this.no=t.slotAdSeq,this.Xm=t.bsfv,this.Tg=Math.random().toString(36).substr(2,9),this.hk=t.skipVastRequestRetry||!1,this.$g=n&&n.T.$g||0,this.xt&&1<this.$g&&(this.hk=!1),this.wt=t.isNative,this},i.oA=function(t){this.Oa.push(t)},i.gC=function(){return{adxResult:this.oe,slot:this.Ua,txid:this.Do,usid:this.Eh}},i.getUrl=function(t){return ba?ba.resolve(this.Mc,t):this.Mc},i.mC=function(){return this.nu},i.ez=function(){0<this.Oa.length&&(this.Mc=this.Oa.shift())},i.bl=function(){return this.M},i.$p=function(){var t=this,i=0;return this.Oa.forEach((function(n){return i+=t.lq(n)})),i+=this.lq(this.Mc)},i.lq=function(t){return-1===uo.a.Yh(t||"").indexOf("konduit.me")?this.ga.md:1e4},i.xB=function(){return 1e4},i.getVendor=function(){return this.qu||""},i.nq=function(){return this.Io||""},i.Vv=function(){return this.Ps||""},i.ww=function(){return this.At||""},i.Hw=function(){return this.Ut||""},i.getAdEngineType=function(){return this.cj||""},i.getType=function(){return this.qa||""},i.getAcid=function(){return this.xs||""},i.getOverlayURL=function(){return this.Lt||""},i.getThumbnail=function(){return this.ju||""},i.getFullsizeThumbnail=function(){return this.ot||""},i.getVideoTitle=function(){return this.vu||""},i.getVideoId=function(){return this.tu||""},i.getVideoDuration=function(){return this.su},i.kC=function(){return this.uo},i.getAsid=function(){return this.Ls||""},i.Tv=function(){return this.hj||""},i.jg=function(){return this.Nf||""},i.oC=function(){return this.ma},i.yB=function(){return this.yc},i.Ky=function(t){this.yc=t},i.tC=function(){return this.xn},i.pC=function(){return this.Ho},i.nC=function(){return this.qk},i.eg=function(){return this.Ef||""},i.MC=function(){return this.hk},i.isNative=function(){return this.wt||!1},i.OC=function(){return this.hu||!1},i.fx=function(){return this.tt||!1},i.rw=function(){if(this.Qc)return ba?ba.resolve(this.Qc):this.Qc},i.XB=function(){return this.Ib*this.Tt},i.jB=function(){return this.Ib},i.getRuleId=function(){return this.eo},i.iC=function(){return this.Ch},i.getTransactionId=function(){return this.Do},i.ZA=function(){return this.oe},i.getUsid=function(){return this.Eh},i.cC=function(){return this.ho},i.wB=function(){return this.qn},i.IC=function(){return Xt(this.qa)},i.ix=function(){return this.Pt},i.TB=function(){return this.Yn},i.hC=function(){return this.no},i.qp=function(t){return this.qa===t||"All"===this.qa&&Xt(t,!0)||-1!==this.Eo.indexOf(t)||-1!==this.Eo.indexOf("All")},i.Xw=function(){var t=0===(this.Mc||"").indexOf("https://tpc.googlesyndication.com")||0===(this.Mc||"").indexOf("https://ima3vpaid.appspot.com");return 0<((this.Io||"").match(/.*ADX.*/g)||[]).length||t},i.prepare=function(t,i){if(!(-1<Zc.indexOf(i)))throw Error("Bad type value: ".concat(i));var n=this.clone();return n.qa=i,ba=t,n},i.clone=function(){var i=new t;return Object(Wh.g)(this,i),i},i.MB=function(){return this.Hf},i.kd=function(){return this.Ah},i.sr=function(t){this.Bs=t},i.Op=function(){return this.Bs},i.dB=function(){return this.Xm},i.NA=function(){return this.Tg},t}(),Jc=function(t){function i(){var i=t.call(this)||this;return i.sc=null,i}io()(i,t);var n=i.prototype;return n.clone=function(){var t=new i;return Object(Wh.g)(this,t),t},n.parse=function(i,n){if(t.prototype.parse.call(this,i,n),i=i.slot||i||{},this.sc=new O,this.sc.delay=i.delay||1,this.sc.width=i.width,this.sc.height=i.height,this.sc.top=i.top,this.sc.left=i.left,this.sc.Mq=1e3*i.maxShowTime||this.ga.maxLinearShowTime||Number.POSITIVE_INFINITY,this.sc.position=i.position||O.Ui,i=this.sc.position,-1===[O.Dm,O.Ui,O.Em,O.Fm,O.Vi,O.Ti].indexOf(i))throw Error("Bad overlay slot position: ".concat(i));return this},i}(Xc),Kc=function(){function t(){}return t.parse=function(t,i,n){var s=t.type||t.adTypes[0];switch(s){case"Overlay":return(new Jc).parse(t,i);case"Preroll":case"Midroll":case"Bumper":case"All":case null:return(new Xc).parse(t,i,n);default:throw Error("Bad ad config entry type: ".concat(s))}},t}(),$c=function(){function t(t){this.yv=[],t=t.config.Rp(),this.tA=t.asids||[],this.Mu=null==t.prerollInterleave?1:t.prerollInterleave,this.Pd=t.podSize||1,this.uv=t.domainOptimisation,this.Ml=t.overlayTiming;var i=t.timeout||{};this.vx=1e3*(i.maxLinearShow||90),this.Bg=1e3*i.soft||400,this.md=1e3*i.hard||8*this.Bg,this.em=Math.min(1e3*i.start||6*this.md,2147483647),this.ux=Math.min(1e3*i.maxAdSearch||0,2147483647),this.md<this.Bg&&(i=[this.md,this.Bg],this.Bg=i[0],this.md=i[1]),this.volume=t.volume,this.Ju=t.adStrategy||"ADSET_BASED",this.Yw=t.isBrandedContent,this.Er=t.skipSettings||{},this.ob=t.clickThroughUrl,this.yy(t.aeg||[])}return t.prototype.yy=function(){var t=this;(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){return t.yv.push(i.map((function(i){return Kc.parse(i,t)})))}))},t}();$c.ba=["config"];var tf=n(78),nf=function(t){this.Rg=t.actionTracker};nf.ba=["actionTracker"];var sf=function(t){function i(i,n){var s=t.call(this)||this;return s.ze=Xh.a.Ka(n||"Pool"),s.dA=!1,Jt.call(jo()(s),i),s}io()(i,t);var n=i.prototype;return n.getEntries=function(){return this.Nc},n.size=function(){return this.Nc.length},n.gi=function(){return 0===this.size()},n.addEventListener=function(n,s){t.prototype.addEventListener.call(this,n,s),n===i.Event.Gm&&this.gi()&&this.Pn(n,[this],s)},n.release=function(t){if(t)if(t.Jf){for(var n=0;n<this.Nc.length;n++)if(this.Nc[n].Jf===t.Jf)return t=this.Nc.splice(n,1),this.ze.debug("Released",t,"pool",this.Nc),void(this.gi()&&this.dispatchEvent(i.Event.Gm,this));Kt.call(this,t,"not found")}else Kt.call(this,t,"entry w/o pool key");else Kt.call(this,t,"invalid entry value")},i}($h.default);sf.Event={Gm:"Pool.Released.All"};var ef=Xh.a.Ka("EntriesServerResponseParser"),rf=function(){function t(t){this.M=t.config,this.ga=t.adsConfig,this.N=t.injector}return t.prototype.parse=function(t,i){var n=this;if(!Object(Wh.x)(t))throw Error("Received bad source ".concat(t));this.Ks=t.apid,this.lu=t.txid,this.oe=t.adxResult,this.Eh=t.usid,this.hj=t.auid,i=ti.call(this,t.slots||(t.aeg?[t]:[]),i);var s=t.pods||[];if(s.forEach((function(t){t.slots&&t.slots.forEach((function(i,s){i.adSeq=s+1,i.podId=t.id,i.aeg=$t.call(n,i),i.hasAds=ii(i)}))})),0===s.length){s=i[0]&&i[0][0]&&i[0][0][0]&&i[0][0][0].getType()||"Preroll";var e={aeg:i[0]||[],type:s};e.hasAds=ii(e),s=[{slots:[e],type:s}]}return{Gu:i,li:s,source:t}},t}();rf.ba=["config","adsConfig","injector"];var hf=Xh.a.Ka("BaseAdEntriesLoader"),of=function(t){function i(i){var n=t.call(this)||this;return n.Oa=i.urls,n.Mt=i.parametersCombine,n}return io()(i,t),i.prototype.load=function(t,i){return i=i&&Object(Wh.G)(i)||"",_("".concat(t,"&").concat(i),null,{timeout:5e3,withCredentials:!0}).then((function(t){return t.data})).catch((function(t){hf.error("Failed to load entries",t)}))},i}($h.default);of.ba=["parametersCombine","urls"];var uf=function(t){function i(){return t.apply(this,arguments)||this}io()(i,t);var n=i.prototype;return n.reset=function(){this.Ea=this.nk=this.Dc=this.io=null},n.load=function(i,n){if(this.Ea=i,i=this.Mt.pq(this.Ea),ni(this.Ea)){if((n=this.Dc[this.Ea]&&this.Dc[this.Ea][n]&&this.Dc[this.Ea][n].shift()).calculated)return Yh.a.resolve(this.Rl({schema:{pods:[n]}}));i.schemaId=this.io,i.podId=n.id}return t.prototype.load.call(this,this.Oa.Pv(),i).then(this.Rl.bind(this))},n.Rl=function(t,i){i&&(this.Ea=i),(i=t.schema||{}).id&&(this.io=i.id),i=i.pods||[],ei.call(this,i),hi.call(this,i);var n=ri.call(this,i),s=si.call(this,i),e=this.nk;return this.nk=null,{defaultSlot:t.slot,podSize:e,pods:i,slots:n,timings:s,version:t.version}},i}(of);uf.ba=["parametersCombine","urls"];var af=Xh.a.Ka("AdEntriesManager"),cf=1,ff=function(){function t(t){this.U=t.eventBus,this.M=t.config,this.Nt=t.injector.Ya(rf),this.Jj=new uf(t),this.reset()}var i=t.prototype;return i.reset=function(){this.Jj.reset(),this.Ra=[],this.rn={},this.yk=!1},i.release=function(t){for(var i=0;i<this.Ra.length;i++){for(var n=this.Ra[i],s=0;s<n.length;s++){var e=n[s];if(e.ge===t.ge)return e.release(t),void(0===e.size()&&(n.splice(s,1),this.yk=this.yk||t.Cq))}0===n.length&&this.Ra.splice(i,1)}af.warn("Unable to release entry because pool doesn't exist",t,this.Ra)},i.$x=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;this.U.dispatchEvent(new Qo("Reporting.Ad.Request",{type:t})),n?di.call(this,this.Jj.Rl(n,t),t):li.call(this,t,i)},i.Lq=function(t){(t=vi(t))&&(this.rn[t]=t)},i.Wk=function(t){ui.call(this),ci.call(this);var i=this.Ra[0]||[];return ai.call(this,i),(i=i.filter((function(i){return i.getEntries().filter((function(i){return i.qp(t)}))})))[0]&&i[0].getEntries()||[]},i.wy=function(t){oi.call(this,[t])},t}();ff.ba=["eventBus","adsConfig","config","injector"];var lf=["[AD_DURATION]","{ad_duration}"],vf=["{adSpotTime}"],df=["{errNo}"],pf=["[ADAP_VIEWABLE_OPPORTUNITY]"],mf=["{adNumber}","{adSeq}"],bf=["[APID]"],yf=["[APP_ID]"],gf=["|ap|","[AUTOPLAY]","[AUTO_INITIATION]"],wf=["[BCID]","[bcid]"],Ef=["|beoncw|","[BEON_CW]"],Of=["|beonvid|","[BEON_VIDEO_ID]"],Af=["[BID]"],_f=["[container_height]","[CONTAINER_HEIGHT]"],Tf=["[container_width]","[CONTAINER_WIDTH]"],Sf=["{creativeLoadTime}"],If=["[DE_RSS_ID]"],jf=["|DE_URL|","[DE_URL]"],Mf=["[DEPTH]"],Nf=["[DOMAIN_ROOT]"],Rf=["[DOMAIN_NAME]"],Df=["[ECPM]"],Lf=["[EUCONSENT]","EUCONSENT","[GDPR_CONSENT]"],kf=["[P_VW_ACTIVE]","<a.active>"],Cf=["[GDPR]","GDPR"],Pf=["[IP_ADDR]","[IPADDRESS]","IPADDRESS"],xf=["[OATH_FIRSTPARTY]","OATH_FIRSTPARTY"],Uf=["[LOCATION_LAT]","[LATITUDE]","LATITUDE"],Vf=["[LOCATION_LON]","[LONGITUDE]","LONGITUDE"],Bf=["[MOAT_PREBID]"],Ff=["|muted|","[MUTED]"],zf=["[MCC]","[MNC]","[APPNAME]"],Hf=["[PID]"],qf=["{PlayerInitTime}"],Gf=["{playerRev}"],Yf=["[P_VW_SIZE]","<a.psize>","{psize}"],Wf=["[PLAYER_TYPE]"],Zf=["[PLAYLIST_SEQUENCE]"],Qf=["[RSS_ID]"],Xf=["[SID]"],Jf=["[SOUND]"],Kf=["[SPACE_ID]","SPACE_ID"],$f=["[USER_AGENT]","[USERAGENT]","USERAGENT"],tl=["[VAST_DURATION]","{vast_duration}"],il=["[VIDEO_COMPANY_ID]"],nl=["[VIDEO_DESCRIPTION]","VIDEO_DESCRIPTION"],sl=["[VIDEO_DETAIL_PAGE]","VIDEO_DETAIL_PAGE"],el=["[VIDEO_DURATION]","VIDEO_DURATION"],rl=["[VIDEO_FILE_URL]","VIDEO_FILE_URL"],hl=["[video_height]","[VIDEO_HEIGHT]"],ol=["[VIDEO_ID]","VIDEO_ID"],ul=["[VIDEO_KEYWORDS]","VIDEO_KEYWORDS"],al=["|%|","[VIDEO_PERCENT]"],cl=["[VIDEO_TITLE]","VIDEO_TITLE"],fl=["[VIDEO_TITLE_ENC]"],ll="[VIDEO_URL] VIDEO_URL |URL| [CONTENT_URL] [EMBEDDING_PAGE_URL] EMBEDDING_PAGE_URL [URL] [A_D_PAGEURL]".split(" "),vl=["[video_width]","[VIDEO_WIDTH]"],dl=["[P_VW_VIEWABLE]","<a.viewable>"],pl=["[P_VW_VIEWABLE_OPPORTUNITY]","<a.viewableOpportunity>"],ml=["[VVUID]"],bl=["[VPAID_ERROR_MESSAGE]","{errmsg}"],yl=["[SS_REQ]","SS_REQ"],gl=n(12),wl=n.n(gl),El=function(){function t(t,i){Array.isArray(t)||(t=[t]),this.Wc=i,this.Ce=t.slice(0)}var i=t.prototype;return i.OB=function(){return this.Ce},i.apply=function(t){if(!t||!this.Ce.some((function(i){return-1<t.indexOf(i)})))return t;var i=t,n=this.Wc;n=null!=(n=Object(Wh.r)(n)?n():n)?n.toString():"";for(var s=0;s<this.Ce.length;s++){var e=this.Ce[s],r=null!=e.match(/^[^\w%\s]/g),h=null!=e.match(/[^\w%\s]$/g);e=e.replace(/([{}\(\)\^$&.\*\?\/\+\|\[\\\\]|\]|\-)/g,"\\$1"),i=i.replace(new RegExp((r?"":"([^\\w%\\s]|^)")+e+(h?"":"([^\\w%\\s]|$)"),"g"),(r?"":"$1")+n+(h?"":"$2"))}return i},i.Bp=function(t){return t.Ce[0]===this.Ce[0]},t}(),Ol=function(){function t(t,i){this.Ot=t,this.Wt=i}return t.prototype.apply=function(t){return t.replace(this.Ot,this.Wt)},t}(),Al=function(){function t(t){this.cb=t||[]}var i=t.prototype;return i.join=function(i){if(!i)return this;var n=new t,s=this;return n.resolve=function(t){return i.resolve(s.resolve(t))},n},i.resolve=function(t){if(!t)return t;for(var i=0;i<this.cb.length;i++)t=this.cb[i].apply(t);return t},t}(),_l=function(){function t(t,i){var n=this;this.T=t.environment,this.M=t.config,this.Gb=t.smartViewability,this.ca=t.display,this.hc=t.hostWindowParamsObtainer,this.si=(i||[]).concat([[wc,function(){return Math.random().toString().slice(2,10)}],[Ec,"unknown"],[Oc,function(){return(new Date).getTime()}],[Tc,function(){return n.T.Qa()&&n.T.Qa().Op()}],[bf,function(){var t=n.M.pe;return t&&t.utid}],[yf,function(){return n.M.Ub("app_id")}],[gf,function(){return n.M.og()?1:0}],[wf,function(){return n.M.se}],[Ef,function(){return Object(Wh.n)(n.M.Ub("beoncw"),0)}],[Of,function(){return Object(Wh.n)(n.M.Ub("beonvid"),1)}],[Af,function(){return n.M.$k()}],[_f,function(){return wi.call(n).height}],[Tf,function(){return wi.call(n).width}],[Mc,function(){var t=n.ca.getCurrentTime(),i=Math.round(t),s=~~(i/3600),e=i-3600*s;return e=~~(e-60*(i=~~(e/60)))-(500<(t=+(t%1).toFixed(3).substring(2))?1:0),"".concat("".concat((10>s?"0":"")+s,":")+(10>i?"0":"")+i,":").concat(10>e?"0":"").concat(e).concat(t?".".concat(t):"")}],[If,function(){return Ei.call(n).deRssId}],[jf,function(){return encodeURIComponent(n.jl())}],[Nf,function(){return n.kw()}],[Rf,function(){return location.host}],[kf,function(){return so.isVisible()?1:0}],[Ff,function(){return n.ca.isMuted()?1:0}],[zf,function(){return""}],[Hf,function(){return n.M.Ld}],[Wf,function(){return n.M.fg()}],[Yf,function(){var t=wi.call(n);return 0===(t=Math.max(t.width,t.height))?-1:350>t?1:500>t?2:3}],[Qf,function(){return Ei.call(n).rssVideoId}],[$f,function(){return encodeURIComponent(Gh.a.Ow())}],[il,function(){return Ei.call(n).AA}],[nl,function(){return Ei.call(n).description}],[sl,function(){return Ei.call(n).detailPage}],[el,function(){var t=Ei.call(n).metadata||{};return t.duration?Math.round(t.duration/1e3):""}],[rl,function(){var t=Ei.call(n);return t.videoUrls&&t.videoUrls[0]}],[hl,function(){return wi.call(n).height}],[ol,function(){return Ei.call(n).id}],[ul,function(){return Ei.call(n).keywords}],[al,function(){return(n.T.ml()||{}).GA}],[cl,function(){return Ei.call(n).title}],[fl,function(){return encodeURIComponent(Ei.call(n).title||"")}],[ll,function(){return n.jl()}],[vl,function(){return wi.call(n).width}],[pf.concat(Bf),function(){return n.Gb.Ba()}],[dl.concat(pl),function(){return n.Gb.kg()}],[ml,function(){return n.M.Bf.vvuid}],[Uf,function(){return n.M.Ue()?n.M.Ue().latitude:""}],[Vf,function(){return n.M.Ue()?n.M.Ue().longitude:""}],[Pf,function(){return n.M.Ue()?n.M.Ue().ipAddress:""}],[Mf,function(){return Gh.a.qw()}],[Xf,function(){return n.M.Ub("sid")||n.M.fl()}],[Jf,function(){return parseInt(100*n.T.getVolume(),10)}],[Kf,this.hc.kd()],[Lf,function(){var t=n.M.$h();return t&&t.gdprConsentData}],[Cf,function(){var t=n.M.$h();return t&&Number(t.gdprApplies)}],[Zf,function(){var t=n.T.uk;return 0<=t?t+1:""}],[xf,function(){var t=n.M.$h();return t&&t.isOathFirstParty}],[yl,0]]),this.cb=this.si.map((function(t){return t=tu()(t,2),new El(t[0],t[1])}))}var i=t.prototype;return i.Qu=function(t){return t.reduce((function(t,i){i=tu()(i,2);var n=new El(i[0],i[1]);return(i=Object(Wh.l)(t,(function(t){return t.Bp(n)})))?t[t.indexOf(i)]=n:t.push(n),t}),wl()(this.cb))},i.resolve=function(t,i){return i=i?this.Qu(i):this.cb,new Al(i).join(mi(/(\[MACROS:)(.+?)(\])/g,bi.bind(this)).join(mi(/(\|MACROS:)(.+?)(\|)/g,bi.bind(this))).join(mi(/(\[ENC_MACROS:)(.+?)(\])/g,yi.bind(this))).join(mi(/(\|ENC_MACROS:)(.+?)(\|)/g,yi.bind(this)))).join(mi(/(\[META:)(.+?)(\])/g,gi.bind(this)).join(mi(/(\|meta:)(.+?)(\|)/g,gi.bind(this)))).resolve(t)},i.kw=function(){var t=location.hostname.split(/\./);switch(t.length){case 2:return t.slice(-2)[0];default:return t.slice(-3)[0]}},i.jl=function(){return encodeURIComponent(this.M.Ub("url")||Gh.a.ld(window))},t}();_l.ba=["environment","config","smartViewability","display","hostWindowParamsObtainer"];var Tl=function(t){function i(i){var n=i.geminiMacrosResolver,s=t.call(this,i,[[mf,function(){return s.L.hg()}],[Df,function(){return s.L.Qa()&&s.L.Qa().Ib||""}],[Sf,function(){return s.je.gw()}],[qf,function(){return s.je.Ew()}],[vf,function(){return s.je.Qv()}],[Gf,function(){return s.M.Zh()}],[tl,function(){return s.L.getCreativeDuration()}],[lf,function(){return Math.round(s.L.getDuration())}],[Ic,function(){return s.Xv()}],[Dc,function(){return s.L.Ug}],[Ac,function(){return s.L.ig()}],[_c,function(){return s.L.dg()}],[Rc,function(){return s.L.gg()}],[Sc,function(){return s.Os.tf.join(",")}],[jc,function(){return s.L.cw()}],[Nc,function(){return s.jl()}],[Lc,function(){return-1}],[kc,function(){return-2}]].concat(n.si))||this;return s.je=i.adTimeLogger,s.M=i.config,s.T=i.environment,s.Os=i.blockedCategoriesHandler,s.bA=n,s}io()(i,t);var n=i.prototype;return n.zg=function(t){return this.L=t,this},n.Xv=function(){var t=this.L.Zk();if(this.T.Ww())return"4";switch(t){case"Preroll":case"Bumper":return"1";case"Midroll":return"2";case"Overlay":return"0";default:throw Error("Bad ad type: ".concat(t))}},i}(_l);Tl.ba="adTimeLogger adsConfig environment config smartViewability display blockedCategoriesHandler hostWindowParamsObtainer geminiMacrosResolver".split(" ");var Sl=function(){function t(t){this.L=t}var i=t.prototype;return i.Pk=function(){},i.getType=function(){return null},i.VA=function(){return this.L},t}(),Il=function(t){function i(i,n){return(i=t.call(this,i)||this).Ir=n||0,i}return io()(i,t),i}(hu),jl=function(t){function i(n,s,e,r){return(n=t.call(this,n)||this).severity=void 0===s?i.Yi:s,n.timeout=e,n.ib=r,n}return io()(i,t),i}(hu);jl.Jm=0,jl.Yi=1,jl.Uz=2;var Ml=function(){function t(t,i,n,s){this.re=t,this.Z=i,this.ga=n,this.L=s}var i=t.prototype;return i.dy=function(t,i,n){return Oi.call(this,t,i,n)},i.mq=function(t,i){return i=[[Dc,this.L.Nv()],[Ac,i],[Sc,this.re.tf.join(",")]],t=t||this.Z&&this.Z.getUrl(i),t=this.L.Pb.resolve(t,i),t=uo.a.Ik(t),Zh.a.Vl(t,"#",encodeURIComponent("#"))},t}(),Nl="VastLoader.Vast.Loading",Rl="VastLoader.Vast.Loaded",Dl=Xh.a.Ka("VastLoader"),Ll=function(t){function i(i,n,s){var e=t.call(this)||this;return e.L=i,e.sb=n,e.Z=s,e.Me=0,e.pu=new Wc(e.L),e.rk=null,e.N=e.L.N,e.Oc=e.N.S("errorTracker"),e.M=e.N.S("config"),e.ga=e.N.S("adsConfig"),e.re=e.N.S("blockedCategoriesHandler"),e.re.vr([]),e.oa=e.N.S("beaconDataHolder"),e.sk=new Ml(e.re,e.Z,e.ga,e.L),e}io()(i,t);var n=i.prototype;return n.vq=function(){this.Me=0},n.Cg=function(){this.rf=(new Date).getTime(),this.ye=!0},n.Ox=function(t,i,n){try{var s=this.pu.parse(t);return s.ae=n,i&&i(s),this.df(s,null,0,n)}catch(t){Dl.error("Failed to parse VAST ",t),this.Ud(t.message,null,t.code||ju)}},n.df=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length?arguments[3]:void 0;if(this.rk=t,t=Di(t),Li.call(this,t)){if(i||Ni(t),this.bb=t.ads[n],this.L.dispatchEvent(new Qo(kl,{ad:this.bb,Uk:this.Z,Or:s})),this.Af=t,this.bb.pg)var e=ki.call(this,n);else(n=this.bb).Hk&&-1!==this.re.tf.indexOf(n.Hk)?(Ri.call(this,cu),this.Ud("Inline ad with category ".concat(this.Z.Hk," has been blocked"),null,cu)):(n=t,!1!==this.ye&&(Qh.a.clearTimeout(this.vo),this.ye=!1,s=(new Date).getTime()-this.rf,Ii.call(this,n,null,s),this.Ze&&this.Ze(n,s)));return e}},n.Vx=function(t,i){this.df(t,void 0,i)},n.load=function(t,i){this.vq(),this.Cg(),this.Ze=t,this.$e=i,t=this.Z?this.Z.$p():this.ga.md,this.vo=Qh.a.setTimeout(Ti.bind(this,t),t),Mi.call(this,void 0,void 0)},n.ov=function(){--this.Me},n.Ud=function(t,i,n){var s=this.Af;this.Af=null,this.kh=n=n||bu,s&&(s.ads&&0<s.ads.length||s.parent)?("VAST ajax error"===t&&Ri.call(this,n),0===s.ads.length&&s.parent&&(s=Ci.call(this,s,n)),0<s.ads.length&&this.bb===s.ads[0]&&s.ads.shift(),0<s.ads.length?this.df(s,!0):ji.call(this,t+(i?" (".concat(i,")"):""),n)):ji.call(this,t+(i?" (".concat(i,")"):""),n)},i}($h.default),kl="VastLoader.Vast.ProcessAd",Cl=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).Z=s,i}return io()(i,t),i.prototype.load=function(t,i){this.vq(),this.Cg(),this.Ze=t,this.$e=i,(t=this.Z.ma)?this.df(t):(t=this.Z.Ho,this.Ud(t.message,null,t.code||ju))},i}(Ll),Pl=Xh.a.Ka("VastEventHandler"),xl=/https?:/,Ul=[],Vl=function(){function t(t){this.L=t,this.ga=this.L.ga,t=this.L.N,this.U=t.S("eventBus"),this.Bo=t.S("externalTracker"),this.M=t.S("config"),this.ga.Yw&&this.U.addEventListener("Reporting.Ad.Engine.Response",Pi.bind(this))}return t.prototype.vg=function(t,i){if(t.type===Qu.xd?Object(Wh.d)(Vi.bind(this,t,i)):Vi.call(this,t,i),t.type===Qu.Jc)try{var n=t.gd();n&&D(n)}catch(t){Pl.error("onVastEvent",t)}},t}(),Bl=function(){function t(t,i){this.Qf=t.slice(),this.bn=i,this.La=[],Bi.call(this)}var i=t.prototype;return i.reset=function(){for(var t=0;t<this.La.length;t++)this.La[t].ra();this.La=[]},i.release=function(t){-1!==(t=this.Qf.indexOf(t))&&(this.Qf.splice(t,1),Bi.call(this))},i.rz=function(){for(var t=0;t<this.Qf.length;t++){var i=this.Qf[t];i=Zo.a.bind(i,"VASTAdEngineComplete",this.release.bind(this,i)),this.La.push(i)}},t}(),Fl=function(t){function i(n){var s=t.call(this,i.TYPE)||this;return s.jr=n,s}return io()(i,t),i.prototype.clone=function(){return new i(this.jr)},i}(Qo);Fl.TYPE="AdRemainingTimeUpdateEvent";var zl=function(){function t(t){this.ca=t,this.zo=[]}var i=t.prototype;return i.sd=function(){},i.vl=function(){},i.createElement=function(){},i.load=function(){this.element=this.createElement()},i.Kl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=this.O.Da;t.duration=i.duration,t.skippable=i.$d||!1,t.skipOffsetTime=i.zi||null,t.skipOffsetPercent=i.yi||null,(i=this.O.ad?this.O.ad.zb:null)&&(t.sequence=i),this.Ip(t),this.O.dispatchEvent(new Qo("VASTAdStarted",t))},i.Il=function(){this.O.dispatchEvent(new Qo("VastMediaElementReady"))},i.Ip=function(t){this.Fs||(this.O.dispatchEvent(new Qo("VASTAdStarting",t)),this.Fs=!0)},i.tg=function(){this.yf||(this.yf=!0,this.O.ul(),this.O.Sd(Qu.xd),this.O.dispatchEvent(new Qo(Xo.Lg,{Da:this.O.Da,nc:this.O.ad&&this.O.ad.nc||""})),this.track(ga.CREATIVE_VIEW))},i.im=function(t){.25<t&&this.rb(ga.FIRST_QUARTILE),.5<t&&this.rb(ga.MIDPOINT),.75<t&&this.rb(ga.THIRD_QUARTILE)},i.stop=function(){this.O.complete(!0)},i.td=function(){this.stop()},i.skip=function(){this.O.stop()},i.track=function(t,i){this.O.Sk(t,i)},i.rb=function(t){t===ga.COMPLETE&&!this.wb||-1!==this.zo.indexOf(t)||(this.zo.push(t),this.track(t,void 0))},i.resize=function(){},i.invokeAdMethod=function(){},i.setVolume=function(){},i.resume=function(){},i.pause=function(){},i.getCurrentTime=function(){var t=this.Vd(),i=this.getDuration();return 0<i&&0<t?i-t:0},i.Vd=function(){return-1},i.getDuration=function(){return-1},i.Tl=function(){this.wb=!0},i.NC=function(){return this.wb},t}(),Hl=Xh.a.Ka("SimpleVideoMediaElement"),ql={Oi:"created",PAUSED:"paused",PLAYING:"playing",vc:"stopped"},Gl=function(t){function i(i,n,s,e){return(i=t.call(this,i)||this).V=ql.Oi,i.Ko=n.url,i.ea=s,i.As=(new Date).getTime(),i.oa=e.S("beaconDataHolder"),i}io()(i,t);var n=i.prototype;return n.load=function(){t.prototype.load.call(this),this.O.Zf()},n.vl=function(){try{this.jx()?this.ca.Uy(this.Ko):this.ca.My(this.Ko),this.V!==ql.vc&&(this.uu=!0,this.Na=Zo.a.group(Zo.a.bind(this.ca,"VideoClickEvent",Fi.bind(this)),Zo.a.bind(this.ca,"VideoErrorEvent",zi.bind(this)),Zo.a.bind(this.ca,"VideoPlayEvent",Qi.bind(this)),Zo.a.bind(this.ca,"VideoStartEvent",Xi.bind(this)),Zo.a.bind(this.ca,"VideoResumeEvent",Yi.bind(this)),Zo.a.bind(this.ca,"VideoPauseEvent",Hi.bind(this)),Zo.a.bind(this.ca,"VideoEndEvent",Zi.bind(this)),Zo.a.bind(this.ca,"VideoVolumeChangedEvent",qi.bind(this)),Zo.a.bind(this.ca,"VideoTimeUpdateEvent",Ji.bind(this)),Zo.a.bind(this.ca,"VideoWaiting",Gi.bind(this)),Zo.a.bind(this.ca,"VideoFallbackEvent",Wi.bind(this)),Zo.a.bind(this.ea,"click",Fi.bind(this))),this.O.Da.ob&&((this.ca.R.style||{}).cursor="pointer"),this.Il())}catch(t){Hl.error("Failed to set video: ".concat(t.message)),this.td(t.message)}},n.jx=function(){var t=this.O.Qa();return t&&"Preroll"===t.getType()},n.sd=function(){this.V!==ql.vc&&this.ca.play()},n.stop=function(){if(this.V=ql.vc,this.uu){this.Na.ra(),this.ca.stop(),this.ca.nr();var i=this.ca.R.style;i&&(i.cursor="")}t.prototype.stop.call(this)},n.pause=function(){this.V===ql.PLAYING&&this.ca.pause()},n.resume=function(){this.V===ql.PAUSED&&this.ca.play()},n.Vd=function(){return this.ca.Vd()},n.td=function(t,i){this.V=ql.vc;var n=pu,s="video playback error";switch(i){case 2:n=du;break;case 3:case 4:n=yu;break;case 5:n=yu,s="autoplay issue"}this.error=n,this.O.dispatchEvent(new Qo("VASTAdError"),t),this.yf||this.O.Sd(Qu.Za,{details:s,error:n}),this.stop()},n.setVolume=function(t){this.ca.setVolume(t),this.ca.mute(0===t)},n.getDuration=function(){return this.ca.getDuration()},i}(zl),Yl=n(96),Wl=n.n(Yl),Zl=function(){function t(t){var i=this,n=t.adsConfig.Er||{};this.ik=!Object(Wh.q)(n),this.L=t.adSystem,this.lb=t.dom,this.Xg=t.adContainerProvider.Sc,this.Ke=t.videoTagProvider,this.eu=n.skippableText||"Skip ad %t",this.ku=n.timerText||"Skip ad in %ds",this.bu=n.showTimer||!1,this.cu=n.skipInSeconds||5,this.Bt=n.maxLinearShowTime||90,this.ie=!1,this.La=Zo.a.group(Zo.a.bind(this.L,Xo.ac,Ki.bind(this)),Zo.a.bind(this.L,Xo.Ng,(function(t){t.data.$d&&!i.vb&&(i.Nd=0,rn.call(i),Object(Wh.E)(i.vb,"collapse-skip-button","expand-skip-button"))})))}return t.prototype.destroy=function(){this.La.ra(),Object(Wh.D)(this.vb)},t}();Zl.ba="adSystem adsConfig display dom adContainerProvider videoTagProvider".split(" ");var Ql=function(t){function i(i,n,s,e,r,h){var o=t.call(this)||this;return o.He=i,o.ad=n,o.Da=s,o.ua=e,o.ao=!0,o.L=r,o.N=r.N,o.Dd=o.N.S("adContainerProvider"),o.ea=o.Dd.Sc,o.Oc=o.N.S("errorTracker"),o.M=o.N.S("config"),o.Z=h.Qa(),o.ka=h,o.lg=Object(Wh.h)("div",{class:"ad-icons-layer",style:"position: relative"}),o.type="AdView",o}io()(i,t);var n=i.prototype;return n.ng=function(t){var i=this;(this.fa=this.pi())?(this.L.addEventListener("AdSystem.Resize",this.fa.resize.bind(this.fa)),this.L.addEventListener("AdSystem.InvokeAdMethod",(function(t){i.fa.invokeAdMethod(t.name,t.data)})),this.fa.O=this,this.setVolume(t),this.fa.load()):this.complete(!0)},n.noResize=function(){this.ao=!1},n.Zf=function(){this.resize(),this.fa.element&&this.ea.appendChild(this.fa.element),this.ea.appendChild(this.lg),this.fa.vl()},n.sd=function(){this.fa&&this.fa.sd()},n.resize=function(){if(this.ao&&this.fa.element){var t=this.fa.element.style;t.position="absolute";var i=this.Gk(this.ea.offsetWidth,this.ea.offsetHeight,this.getAdWidth(),this.getAdHeight(),this.Yk(),this.Xk());t.top=isNaN(i.y)?i.y:"".concat(i.y,"px"),t.left=isNaN(i.x)?i.x:"".concat(i.x,"px"),t.width=this.pd()?"100%":"".concat(i.width,"px"),t.height=this.pd()?"100%":"".concat(i.height,"px")}},n.stop=function(t){this.fa?t?this.fa.td("Stopping ad initiation: start timeout reached"):this.fa.stop():this.complete(!0)},n.skip=function(){this.fa?this.fa.skip():this.complete(!0)},n.complete=function(t,i){this.fa&&Object(Wh.D)(this.fa.element),Object(Wh.D)(this.lg),this.fa&&this.fa.error?this.dispatchEvent(new Qo("VASTAdError")):t?this.dispatchEvent(new Qo("VASTAdFinishedForce")):this.dispatchEvent(new Qo("VASTAdFinished")),this.Rk(t,i)},n.Rk=function(t,i){var n=new Qo("VASTAdEngineComplete");i&&(n.data=i.data,n.currentTime=i.currentTime),n.force=t,this.dispatchEvent(n)},n.Sd=function(t,i){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(t===Qu.Za){if(!n&&this.ht)return;this.ht=!0,this.ka.Dg("loaded",i.error,i.details)}this.ad.dispatchEvent(new Qu(t,this.Da,null,i))},n.Sk=function(t,i){this.ad.dispatchEvent(new aa(t,this.Da,i))},n.Oh=function(t,i,n){var s;this.Wn=!n,n||(s=this.gd())&&!i||!t||"string"!=typeof t||(s=t),this.ad.dispatchEvent(new Qu(Qu.Jc,this.Da,s))},n.setVolume=function(t){void 0!==t&&(this.xa=t),this.fa&&this.fa.setVolume(this.xa)},n.pause=function(){this.fa&&this.fa.pause()},n.ul=function(){this.dispatchEvent(new Qo("VASTAdImpression"))},n.Tq=function(){this.Ol(),this.Xq(),this.dispatchEvent(new Qo("VASTAdPaused",void 0))},n.ki=function(t){this.dispatchEvent(new Qo("VASTAdVolumeChanged",t))},n.ji=function(t){t.pp=this.ad.pp,this.dispatchEvent(new Qo("VASTAdTimeUpdate",t)),this.Sk(ga.PROGRESS,t)},n.Kx=function(){this.dispatchEvent(new Qo("VASTAdWaiting"))},n.Xq=function(){this.He&&this.He.pause()},n.resume=function(){this.fa&&this.fa.resume()},n.Vq=function(){this.Xl(),this.pr(),this.dispatchEvent(new Qo("VASTAdResumed"))},n.pr=function(){this.He&&this.He.resume()},n.Np=function(){if(this.fa){var t=this.fa.error;return t&&"object"===xo()(t)&&(t.nc=this.ad.nc||"",t.Da=this.Da),t}return null},n.Gk=function(t,i,n,s,e,r){void 0===e&&(e=!0),void 0===r&&(r=!0);var h=t,o=i;return e?r&&(h/o<n/s?o=s*h/n:h=n*o/s):(h=n,o=s),{height:o,width:h,x:(t-h)/2,y:(i-o)/2}},n.getAdWidth=function(){return-1},n.getAdHeight=function(){return-1},n.Yk=function(){return!0},n.Xk=function(){return!0},n.qg=function(){this.ad.dispatchEvent(new Qu("linearChange",this.Da))},n.pi=function(){},n.Qa=function(){return this.Z},n.gd=function(){},n.kB=function(){return this.Da.id},n.Ol=function(){},n.Xl=function(){},n.GB=function(){return this.ua},n.RB=function(){return this.Wn},n.pd=function(t){return(t=t||this.ua)&&t.eb&&"vpaid"===t.eb.toLowerCase()},i}($h.default),Xl=n(68),Jl=n(3),Kl=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i}(Qo);Kl.Lm="UNIQUE_ERROR";var $l=n(53),tv=function(){function t(t){this.lb=t}var i=t.prototype;return i.So=function(){},i.show=function(){},i.wC=function(){},t}(),iv=function(t){function i(i,n){return(i=t.call(this,i,n)||this).V={size:{}},i.La=[],i}io()(i,t);var n=i.prototype;return n.Tw=function(t,i,n){var s=Object(Wh.v)(window);s&&(window.secureVPAIDController=this.di.bind(this)),this.ed("init",{creativeData:n,desiredBitrate:i,isInSafeFrame:s,url:this.Sb,viewMode:t})},n.ed=function(){for(var i,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];"setAdVolume"===s[0]&&this.mute(0===s[1][0]),(i=t.prototype.ed).call.apply(i,[this].concat(s))},n.subscribe=function(t,i){this.La[i]||(this.La[i]=[]),this.La[i].push({Rh:i,listener:t})},n.unsubscribe=function(t,i){this.La[i]&&(this.La[i]=this.La[i].filter((function(i){return i.listener!==t})),0===this.La[i].length&&this.ed("unsubscribe",{eventName:i}))},n.resizeAd=function(t,i,n){this.ff.call(this,"onChangeViewMode",n)},n.getAdVolume=function(){return this.V.volume},n.getAdSkippableState=function(){return this.V.isSkippable},n.getAdExpanded=function(){return this.V.isExpanded},n.getAdWidth=function(){return this.V.size.width},n.getAdHeight=function(){return this.V.size.height},n.getAdDuration=function(){return this.V.duration},n.getAdLinear=function(){return this.V.isLinear},n.getAdRemainingTime=function(){return this.V.remainingTime},n.Oe=function(){this.La=[],t.prototype.Oe.call(this)},n.mute=function(t){this.ff("mute",t)},n.di=function(t){"ready"===t.data.type?(this.Kf.resolve(),on.call(this)):"error"===t.data.type?this.ii(t.data.data):(t.data.data.property&&(this.V[t.data.data.property]=t.data.data.value),this.La[t.data.type]&&this.La[t.data.type].forEach((function(i){return i.listener(t.data)})))},i}(oa),nv=0,sv=function(t){function i(i){return t.call(this,i.S("dom"))||this}return io()(i,t),i.prototype.So=function(t,i,n){var s="".concat(Co.a["cdn.url.yimg.prod"],"xdomain-vpaid.html?id=").concat(nv++),e=this.lb.createElement("iframe");e.id="xdomainFrame",e.style.position="absolute",e.style.top=0,e.style.width="100%",e.style.height="100%",e.style.zIndex=2,e.style.pointerEvents="auto !important",e.setAttribute("frameborder","0"),e.setAttribute("allow","autoplay");var r=new iv(e,i);return e.onload=function(){n&&n(r)},e.src=s,t.appendChild(e),r.Kf.Ja},i}(tv),ev=Xh.a.Ka("VPAIDMediaElement"),rv={da:203,code:901,description:"General VPAID error.",va:9416},hv=["There was an error in the google ad. AdError 1009: The VAST response document is empty."],ov=[Jl.q,Jl.r,Jl.p,Jl.i,Jl.e,Jl.y,Jl.w,Jl.x,Jl.z,Jl.v],uv=function(t){function i(i,n,s){var e=3<arguments.length&&void 0!==arguments[3]&&arguments[3],r=t.call(this,s.S("display"))||this;return r.xj={},r.Fj=!0,r.Qb=i,r.Ea=n,r.N=s,r.pn=[],r.ue=Zo.a.empty(),r.Yt=r.N.S("adContainerProvider").Sc,r.M=r.N.S("config"),r.L=r.N.S("adSystem"),r.ga=r.N.S("adsConfig"),r.xa=0,r.Sb=r.Qb.url||r.Qb.value,r.tn=Yn.bind(jo()(r)),r.vt=e,r.oa=r.N.S("beaconDataHolder"),r.ck=new sv(r.N),r}io()(i,t);var n=i.prototype;return n.ii=function(t){return this.wj=t,this},n.load=function(){t.prototype.load.call(this),this.O.noResize(),this.O.Zf(),ln.call(this,!(this.xl()||"Overlay"===this.Ea))},n.createElement=function(){return Object(Wh.h)("div",{style:"position: absolute; width: 100%; height: 100%; z-index: 6; text-align: left; top:0px;"})},n.vl=function(){ln.call(this,!(this.xl()||"Overlay"===this.Ea)),this.Xc=(new Date).getTime(),this.O.dispatchEvent(new Qo(Xo.$i)),this.ck.So(this.element,this.Sb,this.Gx.bind(this)).then(pn.bind(this),Gn.bind(this))},n.Gx=function(t){this.Ga=t,this.O.dispatchEvent(new Qo(Xo.Pi)),this.Ga.mc(),an.call(this),this.vk=Xl.a.zm,t=this.O.Pp(),this.Ga.Tw(this.vk,this.O.Uh()||"900",{AdParameters:t&&t.value})},n.xl=function(){return"Midroll"===this.Ea},n.sd=function(){this.L.Qa().sr(this.Sb),this.jc||(this.Es=(new Date).getTime(),vn.call(this,"startAd"))},n.resize=function(){t.prototype.resize.call(this),this.vk=k()&&C()?Xl.a.bs:Xl.a.zm,vn.call(this,"resizeAd",this.ca.pl(),this.ca.dl(),this.vk)},n.td=function(t){this.error=yn.call(this,"Stopping ad initiation: start timeout reached"===t),this.O.dispatchEvent(new Qo("VASTAdError"),t),this.O.Sd(Qu.Za,{details:t,error:this.error}),this.stop(this.error)},n.getAdSkippableState=function(){return-1===this.Sb.indexOf("//imasdk.googleapis.com")&&vn.call(this,"getAdSkippableState")},n.getDuration=function(){if(!this.Ga)return 0;var t=vn.call(this,"getAdDuration");return(!t||0>=t)&&0<this.eh&&(t=this.eh),t},n.stop=function(t){this.jc||(this.jc=!0,this.Ga?(this.ue&&(this.ue.ra(),cn.call(this,Jl.r,Fn)),-1!==this.Sb.indexOf("vista.js")&&t?vn.call(this,"stopAd",{details:t.description,errorCode:t.code,internalErrorCode:t.da}):vn.call(this,"stopAd"),this.Dh=setTimeout(Fn.bind(this),400)):Fn.call(this))},n.Kp=function(){this.dispose(),this.Dh&&clearTimeout(this.Dh),this.O.complete(!0)},n.dispose=function(){this.ue&&(this.ue.ra(),this.ue=null),this.Ga&&(this.Ga.Oe&&this.Ga.Oe(),this.Ga=null),k()&&mo.removeEventListener(yo.fullscreenchange,this.tn)},n.skip=function(){vn.call(this,"skipAd")},n.setVolume=function(t){this.xa=t,vn.call(this,"setAdVolume",t)},n.getVolume=function(){return vn.call(this,"getAdVolume")},n.pause=function(){vn.call(this,"pauseAd"),this.Gf=!0},n.resume=function(){vn.call(this,"resumeAd")},n.expandAd=function(){vn.call(this,"expandAd")},n.collapseAd=function(){vn.call(this,"collapseAd")},n.invokeAdMethod=function(t,i){vn.call(this,"invokeAdMethod",t,i)},n.getAdRemainingTime=function(){return vn.call(this,"getAdRemainingTime")},n.Vd=function(){if(!this.Ga)return 0;var t=this.getAdRemainingTime();return t>this.eh&&(this.eh=t),t},n.tg=function(){t.prototype.tg.call(this),this.Fj=vn.call(this,"getAdLinear"),this.ck&&this.ck.show()},i}(zl),av=["o2unit"],cv=function(t){function i(i,n,s,e,r){if((i=t.call(this,i,n,s,null,e,r)||this).Mj=[],i.hh=null,i.Ea=i.Z.getType(),i.M=i.N.S("config"),i.ca=i.N.S("display"),i.M.oz({ID:new Do}),!i.pd()&&"string"==typeof(s=(s=(n=jo()(i)).Da||{}).parameters&&s.parameters.value))try{n.fj=s}catch(t){}return-1===av.indexOf(i.M.fg())&&(i.lo=i.N.Ya(Zl)),i}io()(i,t);var n=i.prototype;return n.ki=function(i){t.prototype.ki.call(this,i),this.Df&&this.Df.ZC(i.muted)},n.qz=function(t){this.ua=this.Mj.filter((function(i){return i.url===t}))[0]},n.Fz=function(t){return this.hh=t,this},n.Rr=function(t){return this.ua=(this.Mj=t)&&t[0],this},n.ng=function(i){t.prototype.ng.call(this,i)},n.pi=function(){if(!this.Ws&&this.hh&&this.pd(this.hh)){var t=this.hh;this.gj="vpaid";var i=new uv(t,this.Ea,this.N,!0).ii(Xn.bind(this))}else t=this.ua,this.pd()?(this.gj="vpaid",i=new uv(t,this.Ea,this.N)):i=new Gl(this.ca,this.Mj[0],this.ea,this.N);return this.Ws=t,i},n.complete=function(i,n){this.Df&&this.Df.destroy(),this.lo&&this.lo.destroy(),this.Ol(),t.prototype.complete.call(this,i,n)},n.Rk=function(i,n){this.Bn?(this.Bn=!1,this.ng()):t.prototype.Rk.call(this,i,n)},n.qg=function(i){t.prototype.qg.call(this,i),i=new Xo(Xo.Mg,this.Ea,{isLinear:i}),this.dispatchEvent(i)},n.Pp=function(){return this.Da.parameters},n.Uh=function(){return this.ua.bitrate},n.Xk=function(){return this.ua.rg},n.Yk=function(){return this.ua.ef},n.getAdHeight=function(){return this.ua.height},n.getAdWidth=function(){return this.ua.width},n.gd=function(){var t=this.fj&&this.fj.clickThroughUrl?this.fj.clickThroughUrl:this.L.ga.ob;return t||(t=(t=this.Da.ob)?t.url:null),t},n.getDuration=function(){if(this.fa)return this.fa.getDuration()},n.getCurrentTime=function(){if(this.fa)return this.fa.getCurrentTime()},n.getAdSkippableState=function(){if(this.fa&&this.fa.getAdSkippableState)return this.fa.getAdSkippableState()},n.aB=function(){return this.gj},n.RA=function(){return this.ad.id},n.stop=function(i){this.Df&&this.Df.destroy(),t.prototype.stop.call(this,i)},n.skip=function(){this.getAdSkippableState()?t.prototype.skip.call(this):t.prototype.stop.call(this)},n.Ci=function(){this.wh||(0<this.fa.Vd()?this.wh=setInterval(Qn.bind(this),1e3):(clearTimeout(this.jk),this.jk=setTimeout(this.Ci.bind(this),200)))},n.Ol=function(){clearInterval(this.wh),clearTimeout(this.jk),this.jk=this.wh=null},n.Xl=function(){this.Ci()},i}(Ql),fv=function(t){function i(i,n,s){var e=t.call(this)||this;return e.P=i,e.aa=n,e.Nb=s,e.Ac=!1,e.ub=!1,e.eA=!1,e.oo=[],e.N=e.P.N,e.Qc=e.N.S("externalTracker"),e.Rg=e.N.S("actionTracker"),e.ca=e.N.S("display"),e.M=e.N.S("config"),e.ga=e.N.S("adsConfig"),e.Dd=e.N.S("adContainerProvider"),e.ea=e.Dd.Sc,e.oa=e.N.S("beaconDataHolder"),e}io()(i,t);var n=i.prototype;return n.Qa=function(){return this.aa},n.OA=function(){return this.ea||null},n.uw=function(){return this.Db||null},n.hf=function(t){t&&!t.ib&&this.Db&&this.Db.ib&&(t.ib=this.Db.ib),(this.Db=t)&&t.message&&(this.uj=this.uj?this.uj+", ".concat(t.message):t.message)},n.xi=function(){this.Xc=(new Date).getTime(),this.Ia("loaded")},n.rd=function(t,i){var n=this;this.lh=t||this.lh||0,t=this.aa.Ch,i=i||Math.min(t,this.ga.em),i=Math.floor(i),this.Rd(),0<i&&this.M.xg()&&(this.kk=setTimeout((function(){n.wb||n.lk||(n.P.dispatchEvent(new Qo(Xo.vm,n.aa.getType())),n.ag(!0))}),i)),this.Xc=(new Date).getTime(),0<this.lh&&(this.Ta=new Eo,this.Ta.ti((function(){n.bh=!0,n.stop()}),this.lh,!1))},n.load=function(){this.track("Reporting.Ad.Engine.Request",{Xf:this.ea.offsetHeight,Tk:this.ea.offsetWidth}),this.Db=null,this.Nb&&this.Nb.load&&this.Nb.load(this.ug.bind(this),this.af.bind(this))},n.ug=function(t,i,n){this.Ij=n,this.ready(!0,t,i)},n.af=function(t,i){this.Ij=i,this.hf(t)},n.stop=function(){this.jc||(this.lk=this.wb=!1,this.jc=!0,this.Ta&&this.Ta.stop(),Jn.call(this))},n.skip=function(){this.stop()},n.complete=function(){this.Rd(),this.lk=this.wb=!1,this.jc||this.Ac||this.Kr(!1,this.Db&&this.Db.timeout),this.jc||(this.jc=!0,Jn.call(this))},n.ready=function(t,i,n){this.Ac=!0,this.Kr(t),this.dk({ad:this.aa,adModel:i,params:n})},n.dk=function(t){this.dispatchEvent(new Xo(Xo.ee,this.aa.getType(),t))},n.Ak=function(){this.xb(Xo.Gi,void 0),this.jz()},n.jz=function(){this.Ia("loaded")},n.ul=function(){var t=this.aa.rw();t&&(t=this.P.Pb.resolve(t),this.Qc.dd(t))},n.Qo=function(t,i){this.lk=!0,this.Rd(),i&&i instanceof cv&&(t.mimeType=(i.ua||{}).mimeType),this.xb(Xo.Ji,t)},n.Ck=function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.Rd(),this.ub=!1,this.Cd=t,this.Ta&&this.Ta.start(),this.P.Sh&&(this.P.Sh=!1,this.Ia("boost"));var n=i.data||{};t&&t instanceof cv&&(n.apiType=t.gj,n.adId=t.ad.id,n.adIconsContainer=t.lg,n.mimeType=(t.ua||{}).mimeType),n.parameters||(n.parameters={}),n.parameters.minibar=!!this.aa.qn.minibar,n.latency=(new Date).getTime()-this.Xc,this.wb=!0,this.xb(Xo.ac,n),this.Ia("started",i.data),this.Gf&&(this.pause(),this.Gf=!1)},n.Oo=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.ub=!0,this.Ta&&this.Ta.pause(),this.xb(Xo.Hi,t.data)},n.Ku=function(){this.xb(Xo.Li,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).data)},n.Ro=function(t){var i=(t=t.data).data||t,n=i.currentTime;0<(i=Math.min(i.duration,this.lh))?(t.timeRemaining=i-n,t.progressPercent=n/i*100):(t.progressPercent=0,t.timeRemaining=0),this.xb(Xo.fe,t)},n.Lu=function(){this.xb(Xo.wm)},n.pause=function(){this.wb||(this.Gf=!0)},n.Po=function(){this.ub=!1,this.Ta&&this.Ta.resume(),this.xb(Xo.um)},n.resume=function(){this.Gf=!1},n.zl=function(){return this.ub},n.No=function(t){this.xb(Xo.pm,{clickThroughUrl:t,playerHandle:this.Cd.Wn}),this.track("Reporting.Basic.Click",{ob:t,np:"ad"})},n.Ih=function(t,i){this.Rd(),this.bh||this.yt?this.Ia("killed",i):this.wb&&(this.mo?this.Ia("skipped",i):this.Ia("finished",i)),this.xb(Xo.vd,{currentTime:t})},n.ag=function(){this.P.Sh=!0,this.Ia("failover")},n.IA=function(t){this.hf(new jl(t)),this.Ia("early-stop")},n.track=function(t,i){i=Object(Wh.g)(i),i=Object(Wh.j)(i,{acid:this.aa.getAcid(),asid:this.aa.getAsid(),auid:this.aa.Tv(),bookingId:this.aa.Vv(),bsfv:this.aa.Xm,costPerImpression:this.aa.Ib,fullsizeThumbnail:this.aa.getFullsizeThumbnail(),isHouseAd:this.aa.fx(),isPayable:this.aa.ix(),lineItemId:this.aa.ww(),name:this.aa.eg(),overlayURL:this.aa.getOverlayURL(),podId:this.aa.Yn,profitCenter:this.aa.Hw(),ruleCompanyId:this.aa.ho,ruleId:this.aa.getRuleId(),slotAdSeq:this.aa.no,thirdPartyImpressionTrackers:this.aa.uo,thumbnail:this.aa.getThumbnail(),transactionId:this.aa.getTransactionId(),type:this.aa.getType(),url:i.url||this.aa.getUrl(),usid:this.aa.getUsid(),vastXml:this.aa.jg(),vendor:this.aa.getVendor(),videoDuration:this.aa.getVideoDuration(),videoTitle:this.aa.getVideoTitle()}),this.P.dispatchEvent(new Qo(t,i))},n.iz=function(t){this.Rg.action("AdInteraction",null,null,null,null,{c1:"string"==typeof t.data?t.data:""}),this.Ta&&this.Ta.stop()},n.Ia=function(t,i){function n(t){return e?t+e:t}var s=null,e=this.P.ne;i&&(e=i.zb||e,s=i.pA||null);var r=this.Cd&&this.Cd.ad?this.Cd.ad:this.ad;if(r&&(s=s||r.id||null),r=n(t),"killed"===t){var h=n("started"),o=n("loaded");!this.Xd(h)&&this.Xd(o)&&(t="failover")}if(!this.Xd(r)){switch(h={Ou:this.aa.oe,Uu:this.M.Gq(),Ib:this.aa.Ib,Xf:this.ea.offsetHeight,Tk:this.ea.offsetWidth,muted:this.P.isMuted(),MD:this.aa.getUsid()},e&&(h.sequence=e),t){case"loaded":h.latency=this.Ij;break;case"starting":case"started":h.latency=(new Date).getTime()-this.Xc;break;case"failover":this.bo&&(h.latency=(new Date).getTime()-this.bo)}Object(Wh.g)(i,h),i=this.Mh(t,h,s),"IMA"===this.aa.getAdEngineType()&&(i.Nq={mimeType:"IMA"}),this.track("Reporting.Ad.Engine.Flow",i),this.oo[r]=!0,-1!==["q1","q2","q3","finished"].indexOf(t)&&this.xb(Xo.sm,i)}},n.Dg=function(t,i,n,s){n="".concat(i.description).concat(n?" ".concat(n):""),this.track("Reporting.Ad.Issue",this.Mh(t,{details:n,Td:Kn(n,i.Td),Bv:i.va,Cv:i.code,Hv:s}))},n.Kr=function(t,i){this.bo=(new Date).getTime(),this.track("Reporting.Ad.Engine.Response",{Xf:this.ea.offsetHeight,Tk:this.ea.offsetWidth,lx:t,latency:this.Ij,timeout:void 0===i?null:i,uz:this.Ac?this.ou:0})},n.Mh=function(t,i,n){var s={};return null!=n&&(s.adImpressionId=n,s.Jh=n),null!=t&&(s.adStage=t,s.Kh=t),Object(Wh.g)(i,s),s},n.Xd=function(t){return this.oo[t]||!1},n.xb=function(t,i){i||(i={}),i.ad=this.aa,this.dispatchEvent(new Xo(t,this.aa.getType(),i)),this.P.dispatchEvent(new Xo(t,this.aa.getType(),i))},n.Rd=function(){this.kk&&(clearTimeout(this.kk),this.kk=null)},i}($h.default),lv=function(t){function i(i){var n=t.call(this)||this;return n.U=i.eventBus,n.$c=i.smartViewability,n.Di=0,n.Zo(),n}io()(i,t);var n=i.prototype;return n.Zo=function(){this.Na=Zo.a.group(Zo.a.bind(this.U,Xo.ac,this.Fl.bind(this)),Zo.a.bind(this.U,Xo.fe,this.hi.bind(this)),Zo.a.bind(this.U,Xo.Hi,this.oi.bind(this)),Zo.a.bind(this.U,Xo.wm,this.oi.bind(this)),Zo.a.bind(this.U,Xo.Jg,this.Rq.bind(this)),Zo.a.bind(this.U,"VASTAdEngineComplete",this.complete.bind(this)))},n.Ba=function(){return this.$c.Ba()},n.oi=function(){this.Di=0},n.complete=function(){},n.Fl=function(){this.Wl()},n.hi=function(){},n.Rq=function(){},n.Wl=function(){this.oi()},n.ra=function(){this.Na.ra()},i}($h.default);lv.ba=["eventBus","smartViewability"];var vv=function(t){function i(i){var n=t.call(this,i)||this;return n.T=i.environment,n.Fe=!1,n.uq(),n}io()(i,t);var n=i.prototype;return n.bm=function(t){this.cb=t},n.uq=function(){this.Vc=this.xh=0},n.complete=function(){t.prototype.oi.call(this),this.uq(),this.reset()},n.hi=function(){var t=+new Date;this.Di&&(!(this.Ba()>=this.cb.oh)||this.cb.Vg&&this.T.isMuted()?this.cb.Wg&&(this.xh=0):this.xh+=t-this.Di,this.Vc=Math.max(this.Vc,this.xh)),this.Di=t,t=this.Vc/1e3,!this.Fe&&t>=this.cb.ph&&this.Jl()},n.Jl=function(){this.Fe=!0,this.dispatchEvent(i.Hm)},n.KC=function(){return this.Fe},n.reset=function(){this.Fe=!1,this.Zo()},n.sC=function(){return this.Vc},i}(lv);vv.ba=["eventBus","environment","smartViewability"],vv.Hm="VM.RuleSatisfied";var dv=function(t){function i(i){var n=t.call(this,i)||this;return n.Hb=[],n.N=i.injector,n}io()(i,t);var n=i.prototype;return n.Cy=function(t){this.fu=t.start,this.lt=t.Iv,this.Hb=ts.call(this,t)},n.Fl=function(){t.prototype.Fl.call(this),this.po=!0,this.fu()},n.hi=function(){this.ro.Fe||this.Hb.forEach((function(t){return t.hi()}))},n.Rq=function(){var t=this.ro.Fe;this.po&&!t&&this.lt()},n.Wl=function(){t.prototype.Wl.call(this),this.po=!1,this.Hb.forEach((function(t){return t.reset()}))},i}(lv);dv.ba=["eventBus","smartViewability","injector"];var pv=["$(S_VIEW_TYPE)"],mv=["$(V_AUD_INFO)"],bv=["$(V_AUD_TIME_INVIEW_100)"],yv=["$(V_AUTOPLAYED)"],gv=["$(V_EXPANDED)"],wv=["$(V_IS_INVIEW_100_HALFTIME)"],Ev=["$(V_MOAT_IVT)"],Ov=["$(V_PLAYER_HEIGHT)"],Av=["$(V_PLAYER_WIDTH)"],_v=["$(V_SKIP_AVAIL)"],Tv=["$(V_TIME_INVIEW_50)"],Sv=["$(V_TIME_INVIEW_50_MAX_CONTINUOUS)"],Iv=["$(V_VIEW_INFO)"],jv=["$(V_VIEW_TYPE)"],Mv=function(){function t(t,i,n){this.Ma=t,this.Ga=i,this.L=n,this.zj=this.L.N.Ya(dv),this.wu=ns.call(this),t=[],i=[],(n=is.call(this))&&(t=n.Cz,i=n.Dz),n=new Pa("iab_viewable",{d:2,p:50}),this.zj.Cy({Iv:rs.bind(this,"iab_detection_failed"),start:rs.bind(this,"iab_detection_started"),lf:[rs.bind(this,"iab_viewable"),n],zz:[rs.bind(this,"VIDEO_VIEW"),i],Az:[rs.bind(this,"VIDEO_VIEW_3P"),t]})}return t.prototype.ra=function(){this.zj.ra()},t}(),Nv=function(){function t(){}return t.prototype.parse=function(t){this.Jh=t.id},t}(),Rv=function(){function t(){}return t.prototype.parse=function(t){var i=t.Ha[0].Zb[0];i.type===ga.START&&(i=i.url,this.Bk=/cid=(\d+)/.exec(i)[1],this.Lh=/src=(\d+)/.exec(i)[1]),this.Jh=t.id},t}();Rv.us="collective";var Dv=function(t){function i(i,n){return(n=t.call(this,n)||this).Sb=uo.a.Ik(i),n}io()(i,t);var n=i.prototype;return n.createElement=function(){var t=Object(Wh.h)("img",{style:{position:"absolute",zIndex:1}});return this.Aj=Zo.a.group(Zo.a.Xa(t,"load",this.Gl.bind(this)),Zo.a.Xa(t,"error",this.Sq.bind(this))),t.src=this.Sb.replace(/\s+/g,""),t},n.sd=function(){this.Kl(),this.tg(),this.O.Zf()},n.Gl=function(){this.element.addEventListener("click",hs.bind(this)),this.Il()},n.Sq=function(){this.element.offsetWidth?this.Gl():(this.O.Sd(Qu.Za,{error:Ou}),this.O.complete(!0))},n.stop=function(){this.Aj&&this.Aj.ra(),t.prototype.stop.call(this)},i}(zl),Lv=function(t){function i(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=2<arguments.length?arguments[2]:void 0,s=t.call(this,i.Fr,1<arguments.length?arguments[1]:void 0)||this;return s.icon=i,s.Fd=n,s}io()(i,t);var n=i.prototype;return n.bz=function(t){this.O=t,this.load(),Object(Wh.H)(this.element,{height:"".concat(this.icon.height,"px"),width:"".concat(this.icon.width,"px"),zIndex:6}),this.O.addEventListener("VASTAdError",os.bind(this)),this.O.addEventListener("VASTAdFinished",os.bind(this)),this.O.addEventListener("VASTAdFinishedForce",os.bind(this))},n.Sq=function(){this.O.Sd(Qu.Za,{error:Ou})},n.Gl=function(){var t=this;as.call(this),this.icon.Lk&&(this.element.style.cursor="pointer",this.element.addEventListener("click",(function(i){i.stopPropagation(),t.O.Oh(t.icon.Lk,!0)}))),this.icon.Mk&&this.element.addEventListener("click",cs.bind(this,this.icon.Mk)),this.icon.lm&&this.Fd.dd(this.icon.lm),0===this.icon.offset&&this.O.lg.appendChild(this.element),0===this.icon.offset&&0===this.icon.duration||(this.fm=us.bind(this),this.O.addEventListener("VASTAdTimeUpdate",this.fm))},i}(Dv),kv=function(t){function i(i,n,s,e,r,h,o){return(i=t.call(this,i,n,s,e,h,o)||this).ea=i.Dd.Ff,i.ca=i.N.S("display"),i.yb=r,i}io()(i,t);var n=i.prototype;return n.pi=function(){var i=this.ua.oc[0]||{};if(i.type===hc){if(this.pd())return new uv(i,"Overlay",this.N);var n=this.ua,s=n.oc[0]||{};return i=s.value,-1!==["video/ogg","video/mp4","video/webm"].indexOf(s.mimeType)&&n.ob&&(n=encodeURIComponent(n.ob.url),n="clickTAG=".concat(n,"&clickTag=").concat(n),i+=-1===i.indexOf("?")?"?":"&",i+=n),this.L.Qa().sr(i),new Dv(i,this.ca)}return t.prototype.pi.call(this)},n.Zf=function(){t.prototype.Zf.call(this),this.He.start(),this.ad.dispatchEvent(new Qu(Qu.LOADED,this.Da))},n.Pp=function(){return this.ua.parameters},n.Xk=function(){return this.ua.rg},n.Yk=function(){return this.ua.ef},n.getAdHeight=function(){return Math.max(this.ua.height,this.ua.Fp)},n.getAdWidth=function(){return Math.max(this.ua.width,this.ua.Gp)},n.gd=function(){var t=this.ua.ob;return t?t.url:null},n.Gk=function(i,n,s,e,r,h){void 0===r&&(r=!0),void 0===h&&(h=!0);var o=this.yb.width,u=this.yb.height;return fs(o)&&(o=parseFloat(this.yb.width)*this.ea.offsetWidth/100),fs(u)&&(h?u=o/(u=this.getAdWidth()/this.getAdHeight()):u=parseFloat(this.yb.height)*this.ea.offsetHeight/100),o=o||i,u=u||n,this.pd()&&(o=i,u=n),i=t.prototype.Gk.call(this,o,u,s,e,r,h),"application/javascript"===(this.ua.oc[0]||{}).mimeType?ls.call(this,o,u):ls.call(this,Math.min(i.width,o),Math.min(i.height,u))},n.qg=function(i){t.prototype.qg.call(this),this.L.dispatchEvent(new Xo(Xo.Mg,"Overlay",{isLinear:i})),i?this.pause():this.resume()},n.Uh=function(){return 0},n.Ci=function(){},n.noResize=function(){},i}(Ql),Cv=function(){function t(){}return t.hw=function(i){var n=[];return Object(Wh.K)(i).forEach((function(i){(i.Ye||[]).forEach((function(i){return n.push(t.yw(i))}))})),n},t.yw=function(t){return t=t||{},uo.a.cl(t.url||"")||t.mimeType},t}(),Pv=Xh.a.Ka("LinearResolver"),xv=["uplynk/m3u8","application/vnd.apple.mpegurl","application/x-mpegurl"],Uv=function(){function t(){}return t.ri=function(t,i,n){if(!(n=n||[]).length||function(t){return t.eb&&"vpaid"===t.eb.toLowerCase()}(n[0]))return n;var s=function(t){return t.reduce((function(t,i){var n="".concat(i.height/i.width);return t[n]=t[n]||[],t[n].push(i),t}),{})}(n),r=i/t;return 0===(i=Object.keys(s).sort((function(t,i){return Math.abs(+t-r)-Math.abs(+i-r)})).reduce((function(i,n){return n=function(t){return t.reduce((function(t,i){var n=(i.mimeType||"").toLowerCase();return L(n)?"video/mp4"===n?t.Qq.push(i):t.Wq.push(i):-1<xv.indexOf(n)&&Object(Wh.o)()&&t.rq.push(i),t}),{rq:[],Qq:[],Wq:[]})}(s[n]),i.concat(e(n.Qq,t)).concat(e(n.Wq,t)).concat(e(n.rq,t))}),[])).length?Pv.warn("No supported media files found",n):Pv.debug("Resolved media files",i),i},t}(),Vv=["image/.*","application/javascript","application/x-javascript"],Bv=function(){function t(){}return t.resolve=function(t,i){var n,s=function(){var t=[],i=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(n){var s=n.oc[0];if(s)switch(s.type){case hc:vs(s.mimeType)&&i.push(n);break;case oc:case uc:t.push(n)}})),t.concat(i)}(i=Object(Wh.I)(i.slice(),!1));return 0<i.length&&0===s.length&&(n=_u),i=s.filter((function(i){return i.ef||i.width<=t.width&&i.height<=t.height})),0<s.length&&0===i.length&&(n=Au),i[0]||{error:n}},t}(),Fv=Xh.a.Ka("VastEngine"),zv=Su,Hv=[Qu.Og,Qu.xd,Qu.Za,Qu.Jc,Qu.LOADED,"iab_viewable","iab_detection_started","iab_detection_failed","VIDEO_VIEW_3P","stopped","linearChange","verificationNotExecuted",aa.Bd],qv={};qv[ga.FIRST_QUARTILE]="q1",qv[ga.MIDPOINT]="q2",qv[ga.THIRD_QUARTILE]="q3",qv[ga.COMPLETE]="finished";var Gv=function(t){function i(i,n,s,e){return(i=t.call(this,i,n,s)||this).Sn=i.Dd.Ff,i.sb=e,i.zc=[],i.Vj=[],i.En=!0,i.sn=0,i.Wa=[],i.Cc=new Eo,i.Oc=i.N.S("errorTracker"),i.Fd=i.N.S("adTracker"),i.P.addEventListener("AdSystem.Resize",ds.bind(jo()(i))),i.Nb.addEventListener("ISSUE_WITH_AD",_s.bind(jo()(i))),i.P.addEventListener(Xo.vm,qs.bind(jo()(i))),i}io()(i,t);var n=i.prototype;return n.ug=function(i,n){if(this.ou=i.ads.length,!this.jc){this.ma=i,i=this.ma.ads.shift();t:switch(this.aa.getVendor()){case Rv.us:var s=new Rv;break t;default:s=new Nv}this.Pc=s,this.Pc.parse(i),bs.call(this,i),this.Ac?Ns.call(this):t.prototype.ug.call(this,i,{urls:this.qt()},n)}},n.qt=function(){var t=[];return function i(n){t.push(n.ae),n.parent&&i(n.parent)}(this.ma),t.reverse()},n.dk=function(i){this.zc.length&&(i.crid=this.zc[0].id||""),t.prototype.dk.call(this,i)},n.Zd=function(){this.yn=(new Date).getTime(),this.rd(void 0),this.Ak(),Ns.call(this)},n.Br=function(){this.yn=(new Date).getTime(),this.rd(void 0),this.wa.sd()},n.xi=function(){var i=this;t.prototype.xi.call(this);var n,s=this.aa.sc,e=this.Sn.offsetWidth,r=this.Sn.offsetHeight,h=isNaN(s.width)?e:Math.min(s.width,e),o=isNaN(s.height)?r:Math.min(s.height,r);Object(Wh.l)(this.Vj,(function(t){i.oa.Yl(i.ad.qc,t.qc);var e=Bv.resolve({height:o,width:h,x:0,y:0},t.Dl);if(e)return e.oc&&e.oc[0]&&e.oc[0].value?(i.Qb=e,i.Cc.ti(As.bind(i,t,s),1e3*s.delay),!0):(n=i.Qb&&i.Qb.error,!1)}))||(this.ad&&this.ad.dispatchEvent(new Qu(Qu.Za,null,null,{error:n})),this.Dg("loaded",_u,"Unable to find suitable overlay creatives"))},n.stop=function(i){this.jc||(this.Cc.stop(),this.ad&&this.ad.state.loaded?Ps.call(this,!1,i):this.Ia("early-stop"),this.ke&&(this.ke.ra(),this.ke=null),this.Fa=null,t.prototype.stop.call(this))},n.skip=function(){this.mo=!0,this.Cd?(this.Cd.Sk(ga.SKIP),this.Cd.skip()):Ps.call(this,!0)},n.pause=function(){t.prototype.pause.call(this),this.wb&&(this.Cc.pause(),this.Wa.forEach((function(t){return t.pause()})))},n.resume=function(){t.prototype.resume.call(this),this.wb&&(this.Cc.resume(),this.Wa.forEach((function(t){return t.resume()})))},n.setVolume=function(t){this.Wa.forEach((function(i){return i.setVolume(t)}))},n.getDuration=function(){var t=this.zt||0;return this.Wa.forEach((function(i){i.getDuration&&(t=Math.max(t,i.getDuration()))})),t},n.getCurrentTime=function(){var t=this.Wa.find((function(t){return t.getCurrentTime}));return t?t.getCurrentTime():0},n.getCreativeDuration=function(){return this.Fa?this.Fa.duration:0<this.zc.length?this.zc[0].duration:0},n.getAdSkippableState=function(){var t=!!this.Fa&&this.Fa.$d;if(this.wa.getAdSkippableState){var i=this.wa.getAdSkippableState();t=void 0===i?t:i}return t},n.isSkippable=function(){return!!this.Fa&&this.Fa.skippable},n.hg=function(){return this.ad&&this.ad.qc},n.ig=function(){return this.ad&&this.ad.Sf},n.dg=function(){return this.ad&&this.ad.Iu},n.gg=function(){if(this.Fa)return this.Fa.Mr},n.Mh=function(i,n,s){return!s&&this.Pc&&(s=this.Pc.Jh),t.prototype.Mh.call(this,i,n,s)},n.Ia=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};n.Fu=this.getCreativeDuration()||"NULL",this.Pc&&(this.Pc.Bk&&(n.Bk=this.Pc.Bk),this.Pc.Lh&&(n.Lh=this.Pc.Lh),this.Qb&&(n.Nq=this.Qb)),n.Jv=this.sn,t.prototype.Ia.call(this,i,n)},n.af=function(i,n){var s=i;s instanceof jl||(s=s instanceof Il?new jl(i.message,jl.Yi,i.Ir):new jl(i.message)),t.prototype.af.call(this,s,n),Vs.call(this)},n.Ih=function(i,n){t.prototype.Ih.call(this,i,n),this.ad&&this.ad.dispatchEvent(new Qu("stopped",this.Fa)),ks.call(this)||0!==this.ma.ads.length||this.stop(),this.ad=null,this.mo=!1},n.track=function(i){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(n.vastModelAd=this.ad,"Reporting.Ad.Issue"===i){for(var s="",e=this.ma;e&&e.ae;)s="".concat(e.ae," ").concat(s),e=e.parent;n.url=s}t.prototype.track.call(this,i,n)},n.Dg=function(i,n,s){t.prototype.Dg.call(this,i,n,s,Fs.call(this))},n.ag=function(i){t.prototype.ag.call(this),Ps.call(this,!1,i)},n.complete=function(){t.prototype.complete.call(this),this.me&&this.me.ra()},n.rd=function(i){var n=Math.min(this.aa.Ch,this.ga.em),s=.8*n;!this.Ej&&Hs.call(this)&&(n=0<s-((new Date).getTime()-this.yn)?s:1),t.prototype.rd.call(this,i,n),this.Ej=!1},i}(fv),Yv=function(t){function i(i){var n=t.call(this,i)||this;return n.sb=new Vl(i),n}io()(i,t);var n=i.prototype;return n.Pk=function(t){var i=this.L,n=new(this.xw(t))(i,this.sb,t.jg()?t:t.qk||t);return new Gv(i,t,n,this.sb)},n.xw=function(t){var i=t.ma;return t.jg()&&(t.hk||i&&i.ads&&0<i.ads.length)?Cl:Ll},n.getType=function(){return"VAST"},i}(Sl),Wv=function(t){function i(){return t.apply(this,arguments)||this}return io()(i,t),i.prototype.getType=function(){return"VIDEO"},i}(Yv);n(38);var Zv=n(97),Qv=n.n(Zv),Xv=!1,Jv=function(){function t(t,i){this.tag=t,this.rp=i,this.lb=new _o.a(window.document),Xv||this.ox(),this.rp.classList.add(this.containerClass),this.Lx=Object(Wh.h)("div",{class:"overlay-wrap"},this.rp,this.template)}var i=t.prototype;return i.ay=function(){this.Lx.remove()},i.ox=function(){Object(Wh.h)("style",{},document.head,Qv.a),Xv=!0},ra()(t,[{key:"containerClass",get:function(){return"vrm-plg"}},{key:"template",get:function(){var t=Object(Wh.F)(this.tag.source),i=Object(Wh.F)(this.tag.headline),n=Object(Wh.F)(this.tag.callToAction);return'\n            <div class="title">\n                <small>Ad: <span>'.concat(t,"</span></small>\n                <h5>").concat(i,'</h5>\n            </div>\n            <button class="overlay-btn">').concat(n,"</button>\n        ")}}]),t}(),Kv=function(t){function i(i,n,s){return(n=t.call(this,null,i,{},n,s)||this).load(i),n}io()(i,t);var n=i.prototype;return n.Ly=function(t){this.He=t},n.load=function(t){var i=this;try{var n=JSON.parse(t.tag)}catch(t){n={}}this.Rr(Ws.call(this,t.mediaInfo)),this.Da={ob:{url:n.clickUrl}},n.callToAction&&(this.Sw(n),this.addEventListener("VASTAdEngineComplete",(function(){i.adOverlay.ay()})))},n.Sw=function(t){this.Cs=new Jv(t,this.ea)},ra()(i,[{key:"adOverlay",get:function(){return this.Cs}}]),i}(cv),$v=function(t){function i(i){var n=t.call(this,i)||this;return n.Xj=i.geminiPixelsTracker,n}return io()(i,t),i.prototype.Jl=function(){t.prototype.Jl.call(this),this.ra(),this.Xj.Jp({Zq:this.cb.Tn,Pl:Zs.call(this)})},i}(vv);$v.ba=["eventBus","smartViewability","geminiPixelsTracker","environment"];var td,id=(td={},Wu()(td,"GEMINI_IMP","viewabilityDefStatic"),Wu()(td,"STATIC_VIEW","viewabilityDefStatic"),Wu()(td,"STATIC_VIEW_3P","viewabilityDefStatic3P"),Wu()(td,"VIDEO_VIEW","viewabilityDefVideo"),Wu()(td,"VIDEO_VIEW_3P","viewabilityDefVideo3P"),td),nd=function(){function t(t){this.N=t}return t.prototype.resolve=function(t){t=t.ads[0]||{},this.cb=t.rules||{},this.nf=t.actionUrls||{},this.un=t.beacon,Qs.call(this)},t}(),sd=function(t){function i(i,n,s){return(i=t.call(this,i,n,s)||this).le=new Do,i.wq(),i.Xj=i.N.S("geminiPixelsTracker"),i}io()(i,t);var n=i.prototype;return n.ug=function(i,n){var s=this,e=(i.ads||[])[0]||{};this.nf=e.actionUrls||{},new nd(this.N).resolve(i),e.dispatchEvent=function(t){var i="function"==typeof t.gd&&t.gd();switch(t.type){case Qu.Jc:i&&(s.No(i),D(i));break;case Qu.xd:s.Ck(s.Sa);break;case aa.Bd:var n;switch(i=t.be,i=(n={},Wu()(n,ga.FIRST_QUARTILE,"VIDEO_QUARTILE_25"),Wu()(n,ga.MIDPOINT,"VIDEO_QUARTILE_50"),Wu()(n,ga.THIRD_QUARTILE,"VIDEO_QUARTILE_75"),Wu()(n,ga.COMPLETE,"VIDEO_QUARTILE_100"),n)[i],Js.call(s,i),t.be){case ga.PROGRESS:s.Ro(t),Js.call(s,"VIDEO_START"),30<t.data.currentTime&&Js.call(s,"VIDEO_30_SEC");break;case ga.COMPLETE:s.Ia("finished",t.data),s.complete();break;case ga.PAUSE:s.Oo(t);break;case ga.FIRST_QUARTILE:s.Ia("q1",t.data);break;case ga.MIDPOINT:s.Ia("q2",t.data);break;case ga.THIRD_QUARTILE:s.Ia("q3",t.data)}}},this.Sa=new Kv(e,this.P,this),t.prototype.ug.call(this,i,null,n),this.le.resolve(this.Sa)},n.wq=function(){this.yo=[]},n.Zd=function(){this.rd(void 0),this.Ak(),this.Sa.Ly(this.Ta),this.oa.Yl(null,null),this.Na=Zo.a.group(Zo.a.bind(this.Sa,"VastMediaElementReady",Ks.bind(this)),Zo.a.bind(this.Sa,"VASTAdFinished",this.Ih.bind(this)),Zo.a.bind(this.Sa,"VASTAdResumed",this.Po.bind(this)),Zo.a.bind(this.Sa,"VASTAdEngineComplete",this.complete.bind(this)),Zo.a.bind(this.Sa,Xo.Lg,this.P.dispatchEvent.bind(this.P))),this.Sa.ng(this.P.getVolume())},n.Br=function(){this.rd(void 0),this.Qo(),this.Sa.sd()},n.xi=function(){throw Error("overlay is not supported")},n.stop=function(t){this.le.Ja.then((function(i){return i.stop(t)}))},n.ag=function(i){t.prototype.ag.call(this,i),this.stop(i)},n.complete=function(){this.wq(),this.Sa.L.dispatchEvent("VASTAdEngineComplete"),this.Na&&(this.Na.ra(),this.Na=null);var i=this.Sa&&this.Sa.Np();i&&this.hf(new jl(i.message||i.description,null,null,i)),t.prototype.complete.call(this)},n.af=function(i,n){t.prototype.af.call(this,i,n),t.prototype.complete.call(this)},n.skip=function(){this.le.Ja.then((function(t){return t.skip()}))},n.pause=function(){this.le.Ja.then((function(t){return t.pause()}))},n.resume=function(){this.le.Ja.then((function(t){return t.resume()}))},n.setVolume=function(t){this.le.Ja.then((function(i){return i.setVolume(t)}))},n.getDuration=function(){return this.Sa&&this.Sa.getDuration()||0},n.getCurrentTime=function(){return this.Sa&&this.Sa.getCurrentTime()||0},n.getCreativeDuration=function(){return this.getDuration()},n.getAdSkippableState=function(){return!1},n.isSkippable=function(){return!1},i}(fv),ed=function(){function t(t,i){this.N=t.N,this.L=t,this.Z=i,this.oa=this.N.S("beaconDataHolder")}return t.prototype.load=function(t,i){if(this.rf=(new Date).getTime(),this.Ze=t,this.$e=i,function(t){var i=(t=(t=t||{}).ads||[])[0]||{};try{var n=JSON.parse(i.tag)}catch(t){n={}}return n=((n.assets||[]).find((function(t){return"VIDEO_PRIMARY"===t.usageType}))||{}).mediaInfo||[],i.mediaInfo=n,i=n.some((function(t){return!!t.url})),0<t.length&&i}(t=this.Z.yc))i=(new Date).getTime()-this.rf,this.oa.gf(t,null,i,0),this.Ze&&this.Ze(t,i);else{t=wu,i=(new Date).getTime()-this.rf;var n=new jl("No ads provided",jl.Jm,null,t);this.oa.gf(null,t,i,0),this.$e&&this.$e(n,i)}},t}(),rd=function(t){function i(){return t.apply(this,arguments)||this}io()(i,t);var n=i.prototype;return n.Pk=function(t){var i=this.L;return new sd(i,t,new ed(i,t))},n.getType=function(){return"GEMINI"},i}(Sl),hd=Xh.a.Ka("AdsRunner"),od={Oi:"Created",LOADED:"Loaded",Tz:"Ready",Xi:"Running",vc:"Stopped"},ud=function(t){function i(i,n){var s=t.call(this)||this;return s.L=i,s.Mb=n,s.Pm={},s.oa=s.L.N.S("beaconDataHolder"),s.reset(),i=jo()(s),ne.call(i,Yv),ne.call(i,Wv),ne.call(i,rd),s}io()(i,t);var n=i.prototype;return n.reset=function(){this.V=od.Oi,this.ka=null,this.xa=0,this.Z=null},n.py=function(){this.kx()?ie.call(this,"Runner either not loaded or already stopped"):(this.V=od.Xi,this.L.dispatchEvent(Xo.Kg,this.Z),"Overlay"===this.Z.getType()?this.ka.xi():this.ka.Br())},n.load=function(t,i){if(0===t.length)ie.call(this,"no ad entries");else{this.Z=t[0],t=this.Z.getAdEngineType();var n=this.Pm[t];n?(this.ka=n.Pk(this.Z),Zo.a.Xa(this.ka,Xo.ee,$s.bind(this,i)),Zo.a.bind(this.ka,Xo.ce,te.bind(this)),this.L.dispatchEvent(Xo.Ei,this.ka),this.oa.Uw(this.Z),this.xa&&this.ka.setVolume(this.xa),this.ka&&this.ka.load()):(hd.error("Ignore ad config entry ",this.Z," Unknown ad engine type ",t),this.Mb.Lq(this.Z),ie.call(this,"Unknown ad engine type ".concat(t)))}},n.Zd=function(){this.ka&&this.ka.Zd()},n.stop=function(t){this.V=od.vc,this.ka&&this.ka.stop(t)},n.skip=function(){this.ka&&this.ka.skip()},n.pause=function(){this.ka&&this.ka.pause()},n.zl=function(){if(this.ka)return this.ka.zl()},n.resume=function(){this.Wb()&&this.ka.resume()},n.QA=function(){return this.ka},n.setVolume=function(t){this.xa=t,this.Wb()&&this.ka.setVolume(t)},n.getDuration=function(){if(this.Wb())return this.ka.getDuration()},n.getCreativeDuration=function(){if(this.Wb())return this.ka.getCreativeDuration()},n.getAdSkippableState=function(){if(this.Wb())return this.ka.getAdSkippableState()},n.isSkippable=function(){return!!this.Wb()&&this.ka.isSkippable()},n.hg=function(){if(this.Wb())return this.ka.hg()},n.ig=function(){if(this.Wb())return this.ka.ig()},n.dg=function(){if(this.Wb())return this.ka.dg()},n.gg=function(){if(this.Wb())return this.ka.gg()},n.getCurrentTime=function(){if(this.Wb())return this.ka.getCurrentTime()},n.kx=function(){return this.V===od.vc},n.Cq=function(){return this.V===od.LOADED},n.Wb=function(){return this.ka&&this.V===od.Xi},n.cleanupAdBreak=function(){this.reset()},i}($h.default),ad=function(){function t(t){this.Va={adServerRequests:[],adStartTime:null,initTime:+new Date,startAdTime:null},this.dc=this.xc=null,this.Nm=[],this.L=t,se.call(this),(t=(t=this.L.N).We("vpaidLoadTime")&&t.S("vpaidLoadTime"))&&(this.Va.vpaidLoadTime=t)}var i=t.prototype;return i.EB=function(){return this.Va},i.gw=function(){return this.jh?this.jh.end-this.jh.start:0},i.Ew=function(){return 0<this.Va.adServerRequests.length?this.Va.adServerRequests[0].start-this.Va.initTime:0},i.Qv=function(){return this.Va.adStartTime||0},t}(),cd=function(){function t(){this.tf=[]}var i=t.prototype;return i.cB=function(){return this.tf},i.vr=function(t){this.tf=t},t}(),fd=function(){function t(t){this.M=t.config,this.ga=t.adsConfig,this.ca=t.display,this.$c=t.smartViewability,this.Gt=t.moatIvtResolver,this.N=t.injector,t=100;var i=this.ca.pl()*this.ca.dl();(Wh.c.yl||3e4<i)&&(t=80),this.Hb={},this.Hb.inView100=de.call(this,{a:1,c:0,p:100}),this.Hb.inView50=de.call(this,{a:0,c:0,p:50}),this.Hb.inView50Continuous=de.call(this,{a:0,c:1,p:50}),this.Hb.inView50Continuous=de.call(this,{a:0,c:1,p:t}),this.si=[[yv,Te.bind(this)],[_v,Se.bind(this)],[Av,be.bind(this)],[Ov,ye.bind(this)],[Iv,me.bind(this)],[mv,pe.bind(this)],[gv,Ae.bind(this)],[bv,ge.bind(this)],[Ev,_e.bind(this)],[Tv,we.bind(this)],[Sv,Ee.bind(this)],[wv,Oe.bind(this)]],this.Un=pi(this.si)}var i=t.prototype;return i.zg=function(t){return this.L=t,this},i.resolve=function(t,i){return i?(i=pi(i),i=this.Un.join(i)):i=this.Un,i.resolve(t)},t}();fd.ba="injector adsConfig config display moatIvtResolver smartViewability".split(" ");var ld=function(){function t(){this.Wc=this.Jt=0}var i=t.prototype;return i.bC=function(){return this.Wc},i.append=function(t){return this.Wc|=(t?1:0)<<this.Jt++,this},t}(),vd=n(35),dd=Xh.a.Ka("MoatIvtResolver"),pd=function(){function t(){this.zu=this.yu=0,this.Wm=document&&document.body&&document.body.style?document.body.style:{},this.mn=document&&document.documentElement&&document.documentElement.style?document.documentElement.style:{},this.X=Gh.a.fb(),this.gn=this.X.CSS,this.tb=this.X.navigator,this.Be=this.X.performance,this.wn=!(!this.X.CSS||!this.X.CSS.supports);var t=document.createElement("div"),i={};if(t.style){t.style.wordSpacing="10%",i[0]="10%"===t.style.wordSpacing?1:0,t.style.width="1px",t.style.width="-webkit-min-content",t.style.width="min-content",i[1]="1px"===t.style.width?0:1,t.style.width="1px",t.style.width="calc(1px - 1px)",t.style.width="-webkit-calc(1px - 1px)",i[2]="1px"===t.style.width?0:1,i[3]=Object(Wh.w)(t.matches),i[4]=vd.a.Yu(t),i[5]=t.animate&&Object(Wh.w)(t.animate)?1:0,t.style.fontStretch="ultra-condensed",i[6]="ultra-condensed"===t.style.fontStretch?1:0;var n=null,s=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];if(Wh.u)try{t.addBehavior("#default#clientCaps");for(var e=0;e<s.length;e++)if(n=t.hB(s[e],"componentid").replace(/,/g,".")){i[7]=n.split(".")[0];break}}catch(t){}i[7]=i[7]||0}this.Rc=i,this.Hn={a:Ie,b:je,c:Me.bind(this),d:Ne.bind(this),e:Re.bind(this),i:De.bind(this),j:Le,k:ke.bind(this),l:Ce.bind(this),m:Pe.bind(this),n:xe.bind(this),o:Ue.bind(this),p:Ve.bind(this),q:Be.bind(this)}}return t.prototype.tw=function(){var t=this,i=[];return Object.keys(this.Hn).forEach((function(n){try{var s=t.Hn[n]();i.push("".concat(n,"=").concat(s))}catch(t){dd.debug("can't compose ivt signal '".concat(n,"': ").concat(t.message))}})),i.join("&")},t}(),md=new _o.a(window.document),bd=function(){function t(t){this.lb=t.dom,this.Pb=t.geminiMacrosResolver}return t.prototype.Jp=function(t){var i=this,n=t.Pl;t.Zq.forEach((function(t){i.lb.createElement("img").src=i.Pb.resolve(t,n)}))},t}();bd.ba=["dom","geminiMacrosResolver"];var yd=Xh.a.Ka("AdSystem"),gd=function(){function t(t){this.Dd=t.adContainerProvider,this.Fd=t.adTracker,this.M=t.config,this.N=t.injector,this.ga=t.adsConfig,this.U=t.eventBus,this.T=t.environment,this.Mb=this.N.Ya(ff),this.mc(),this.N.Sl("blockedCategoriesHandler",cd).za("scriptLoader",nf).za("moatIvtResolver",pd).za("geminiMacrosResolver",fd).qb("adTimeLogger",this.je).Sl("geminiPixelsTracker",bd),this.N.S("geminiMacrosResolver").zg(this),this.Pb=this.N.Ya(Tl).zg(this),this.It=!!uo.a.Vb("nosyncpixels")||!!this.M.Ub("nosyncpixels")||!1,this.M.ax()||this.It||(.2>=Math.random()||uo.a.Vb("forceSmartPixel"))&&md.Yd("https://tag.sp.advertising.com/sp.js",!1,!0),this.addEventListener(Xo.Gi,ir.bind(this)),this.addEventListener(Xo.ac,tr.bind(this)),this.addEventListener(Xo.Kg,Ke.bind(this)),this.addEventListener(Xo.ce,$e.bind(this)),this.addEventListener(Xo.Li,Je.bind(this)),this.addEventListener("AdSystem.LinearChange",Xe.bind(this)),this.Fd.zy(this.ga),this.Fd.Su(),tf.a(or.bind(this))}var i=t.prototype;return i.mc=function(){this.Ug=this.sf=this.xa=this.Rt=this.ne=this.Gd=0,this.qo=!1,this.on=new Ju.a,this.Tc=[],this.ij=!1,this.je=new ad(this),this.Mb.reset(),this.sa=new ud(this,this.Mb),this.sa.setVolume(this.xa),this.sa.addEventListener(Qo.Ni,We.bind(this))},i.Ry=function(){this.Vn=!0},i.oy=function(){this.co||Ge.call(this,"AD_GROUP_FAILED")},i.mr=function(){this.Sh=this.Vn=this.co=!1,this.removeEventListener(Xo.uc,rr.bind(this))},i.load=function(t,i){this.Kq(t,this.Jq.bind(this,null,i,null))},i.Kq=function(t,i){(t=t||{}).type&&(this.qa=t.type),"Preroll"===this.qa&&0!=this.Rt++%this.ga.Mu?i():(t.preloadedConfig&&er.call(this,t.preloadedConfig),Zo.a.group(Zo.a.Xa(this.U,pa.Pg,sr.bind(this,i)),Zo.a.Xa(this.U,pa.LOADED,nr.bind(this,i))),this.Mb.$x(this.qa,t.originalTime,t.preloadedConfig),clearTimeout(this.ej),clearTimeout(this.Jd),0<(i=this.ga.ux)&&(this.ej=setTimeout(Qe.bind(this),i)),t.loadTimeLimit&&"Preroll"===this.qa&&(this.Jd=new Eo(Ze.bind(this),t.loadTimeLimit,!0)))},i.Jq=function(t,i,n){var s=this;n&&(n===this.qa?(this.Gd=this.ga.Pd,this.sf=0):this.qa=n),this.Jd&&this.Jd.resume(),this.uh=i,t&&(this.Mb.wy(t),this.Tc=qe.call(this,this.Mb.Wk(this.qa))),this.Bc=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};s.Jd&&s.Jd.Kk(),t.timings=s.Mf,s.uh&&s.uh(t),s.Bc=null,s.uh=null},0<this.Tc.length?this.sa.load(this.Tc,this.Bc):this.Bc&&this.Bc()},i.Zd=function(){this.sa.Zd()},i.Bi=function(){this.ij=!0,0<this.Tc.length?(Xt(this.qa)&&this.on.Tb(Zo.a.Xa(this,Xo.ac,this.dispatchEvent.bind(this,new Xo(Xo.Xr,this.qa)))),this.sa.py()):Ge.call(this,"NO_ADS")},i.Px=function(){this.sa.pause()},i.isPlaying=function(){return!this.sa.zl()},i.ny=function(){this.sa.resume()},i.setVolume=function(t){this.xa=t,this.sa.setVolume(this.xa)},i.mute=function(t){t?(this.Qn=this.xa,this.setVolume(0)):0<this.Qn?this.setVolume(this.Qn):0===this.xa&&this.setVolume(1)},i.isMuted=function(){return!this.xa},i.getDuration=function(){return this.sa.getDuration()},i.getCreativeDuration=function(){return this.sa.getCreativeDuration()},i.getAdSkippableState=function(){return this.sa.getAdSkippableState()},i.isSkippable=function(){return this.sa.isSkippable()},i.getVolume=function(){return this.xa},i.gB=function(){return this.ga.ob},i.hg=function(){return this.sa.hg()},i.ig=function(){return this.sa.ig()},i.cw=function(){return"".concat(this.M.iq(),"/").concat(this.M.Zh()," ").concat("VerizonAdPlugin","/").concat("0.0.113")},i.stop=function(t){t&&(this.qo=!0),this.uh=this.Bc=null,this.sa&&this.sa.stop(t)},i.skip=function(){this.dispatchEvent(new Qo("Reporting.Basic.Click",{np:"skipAhead"})),this.sa.skip(),this.dispatchEvent(new Xo(Xo.Ii,this.qa))},i.aC=function(){return this.Pb},i.zx=function(){this.sa.stop(),We.call(this)},i.CB=function(){return this.Gd},i.XA=function(){return this.ne},i.WA=function(){return this.ga},i.bl=function(){return this.M},i.Dq=function(){return this.sf<this.ga.Pd},i.Mv=function(){return this.Dd.dw()},i.resize=function(){this.dispatchEvent("AdSystem.Resize")},i.sw=function(){return this.N},i.Qa=function(){return this.Z},i.getTimeLog=function(){return this.je.Va},i.Zk=function(){return this.qa},i.addEventListener=function(t,i,n){this.U.addEventListener(t,i,n)},i.removeEventListener=function(t,i){this.U.removeEventListener(t,i)},i.dispatchEvent=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];this.U.dispatchEvent.apply(this.U,i)},i.invokeAdMethod=function(t,i){this.dispatchEvent("AdSystem.InvokeAdMethod",{data:i,name:t})},i.getCurrentTime=function(){return this.sa.getCurrentTime()},i.PA=function(){return this.Ug},i.dg=function(){return this.sa.dg()||-1},i.gg=function(){var t=-1,i=this.sa.gg();return i&&(t=encodeURIComponent("".concat(i.ql," ").concat(i.value))),t},i.Nv=function(){var t=this.ga.Pd;return-1===t?12341234:t},i.uB=function(){return this.T},i.cleanupAdBreak=function(){this.mr(),this.sa.cleanupAdBreak()},t}();gd.ba="injector adTracker config eventBus adsConfig adContainerProvider externalTracker errorTracker urls display parametersCombine smartViewability moatViewability slotOpportunityHandler environment".split(" ");var wd=function(t){function i(i){var n=t.call(this,i)||this;return n.U=i.eventBus,n.hc=i.hostWindowParamsObtainer,n}io()(i,t);var n=i.prototype;return n.Su=function(){this.Na||(this.Na=Zo.a.group(Zo.a.bind(this.U,"Reporting.Ad.Request",ur.bind(this)),Zo.a.bind(this.U,"Reporting.Ad.Issue",ar.bind(this)),Zo.a.bind(this.U,"Reporting.Ad.Engine.Request",cr.bind(this)),Zo.a.bind(this.U,"Reporting.Ad.Engine.Response",fr.bind(this)),Zo.a.bind(this.U,"Reporting.Ad.Engine.Flow",vr.bind(this)),Zo.a.bind(this.U,"Reporting.Basic.Click",dr.bind(this)),Zo.a.bind(this.U,"Reporting.Ad.Slot.Opportunity",pr.bind(this))))},n.detach=function(){this.Na&&this.Na.ra()},n.zy=function(t){this.ga=t,this.$s=t.uv},i}(ho);wd.ba="config debugInfo environment eventBus moatViewability smartViewability urls hostWindowParamsObtainer".split(" ");var Ed=function(){function t(t){this.na=t,this.se=this.na.bcid,this.Ld=this.na.id,this.Bj=this.na.timestamp,this.sh={},this.pe={},this.qf={},this.Zm=!1,this.Uc=this.na.macros||{},this.$n=Wh.k(this.Uc,"rm."),this.Bf={vvuid:t.vvuid||E(this.Bj)},this.ut=this.na.isEU,this.Rj=!1}var i=t.prototype;return i.sD=function(t){this.Zm=t},i.KB=function(){return this.Tj},i.wD=function(t){t&&(this.Tj=t)},i.QB=function(){return this.If},i.xD=function(t){t&&(this.If=t)},i.fl=function(){return this.na.sid},i.rD=function(t){this.na.bid=this.na.bid||{},this.na.bid.id=t},i.$k=function(){return this.na.bid&&this.na.bid.id||""},i.rC=function(){return{}},i.JB=function(){return this.sh},i.xr=function(t){this.sh.aegOverride=t},i.fB=function(){return this.se},i.By=function(t){this.se=t},i.SB=function(){return this.Ld},i.Sy=function(t){this.Ld=t},i.fg=function(){return this.na.playerType||"o2unit"},i.iq=function(){return this.na.playerName||"unknown"},i.mx=function(){return"VDMS"===this.fg()},i.zB=function(){return this.Bj},i.SA=function(){return this.qf},i.vy=function(t){this.pe=t},i.MA=function(){return this.pe},i.Zh=function(){return this.na.jsVersion},i.getParameters=function(){var t={};return Wh.g(this.Vp(),t),Wh.g(this.Uc,t),t},i.Vp=function(){var t={bcid:this.se,bid:this.$k(),pid:this.Ld,pt:this.fg(),pv:this.Zh(),r:Gh.a.ld(window),s:uo.a.Fc()?"true":void 0,sid:this.fl(),vvuid:this.Bf.vvuid};return this.Tj&&(t.orgId=this.Tj),this.If&&(t.plcid=this.If),this.Ah&&(t.spid=this.Ah),this.Hf&&(t.pblob=this.Hf),this.xu&&(t.vrid=this.xu),t},i.oz=function(t){Wh.g(t,this.qf)},i.Ub=function(t){return t="string"==typeof t?t.toLowerCase():t,this.Uc["m."+t]||this.Uc[t]},i.$A=function(){return this.Uc},i.$B=function(){return this.$n},i.FB=function(){return this.Bf},i.pz=function(t){this.Bf.vvuid=t},i.LB=function(t){return this.sh[t]||{}},i.PB=function(){return this.na},i.Hq=function(){return-1!==(this.na.queryString||"").indexOf("tbv=on")},i.Ue=function(){return this.na.geo},i.xg=function(){return this.Zm||Wh.c.xg()},i.AD=function(t){this.Md=t},i.dC=function(){return this.Md},i.Rp=function(){return this.na.adSettings},i.Py=function(t){this.Rj=t},i.IB=function(){return this.Rj},i.Nw=function(){return this.na.trackingEnabled},i.og=function(){return this.na.autoplay},i.Gq=function(){var t=this.og();if(!t)return 0;var i=this.xg();return void 0===i?t:t&&i?1:0},i.EC=function(){return this.na.aggressiveMode},i.FC=function(){return this.na.frosOnly},i.LC=function(){return"1"===this.Ub("secureVPAIDsMode")},i.$h=function(){return this.na.privacyData},i.Gw=function(){return this.na.preview},i.ax=function(){return this.ut},i.fC=function(){return null},i.Ay=function(t){this.na.bckt=t},i.Uv=function(){return this.na.bckt},i.Jy=function(t){this.na.expn=t},i.mw=function(){return this.na.expn},i.Iy=function(t){this.na.expb=t},i.lw=function(){return this.na.expb},i.Qy=function(t){this.Hf=t},i.Xy=function(t){this.Ah=t},i.Hy=function(t){this.rj=t},i.rB=function(){return this.rj},i.Vy=function(t){this.ak=t},i.ZB=function(){return this.ak},i.Wy=function(t){this.ek=t},i.eC=function(){return this.ek},t}(),Od=function(){function t(t){this.U=t.eventBus,Zo.a.bind(this.U,pa.LOADED,wr.bind(this))}var i=t.prototype;return i.Nr=function(t,i){var n;t:{for(n=0;n<this.Lf.length;n++)if(!this.Lf[n].type||this.Lf[n].type===t.type){this.Lf.splice(n,n+1),n=!0;break t}n=!1}(n||i)&&(this.qa=t.type,gr.call(this,t),this.U.dispatchEvent(new Qo("Reporting.Ad.Slot.Opportunity",{vp:this.Vs,$w:!this.Ua,slot:this.Ua||this.vf,type:this.qa})),this.oe=this.Ua=void 0)},i.rr=function(){var t=this;wl()(this.Lf).forEach((function(i){"Preroll"!==i.type&&"Bumper"!==i.type||t.Nr(i)}))},i.nz=function(t,i){this.In[i]=t},t}();Od.ba=["eventBus"];var Ad,_d=(Ad={},Wu()(Ad,".adaptv.advertising.com","VSSP"),Wu()(Ad,"pubads.g.doubleclick.net","DOUBLECLICK"),Wu()(Ad,".v.fwmrm.net","FREEWHEEL"),Wu()(Ad,"gemini.yahoo.com","GEMINI"),Wu()(Ad,"pmp.ybp.yahoo.com","DSP"),Wu()(Ad,".yahoo.com","YAHOO"),Wu()(Ad,"ima3vpaid.appspot.com","ADXIMA"),Wu()(Ad,"tpc.googlesyndication.com","ADXTPC"),Wu()(Ad,"rubiconproject.com","RUBICON"),Wu()(Ad,"tremorhub.com","TREMOR"),Ad),Td=function(){function t(t,i){this.Ht=(this.Z=t)?this.Z.nq():"",this.br=(t=this.Z&&this.Z.getType())?t.toLowerCase():"",this.Et=this.Z&&this.Z.jg()?this.Z.xn?2:3:1,this.Sg=0,this.Ed=i}var i=t.prototype;return i.wi=function(t){this.Od=t},i.Fk=function(){this.Sg+=1},i.Vh=function(){return this.Vm},i.ur=function(t){this.Vm=t},i.xy=function(t){this.Hs=t},i.Up=function(){var t=this.Z&&this.Z.ga,i=this.Vm,n=this.Ed,s=this.Sg,e=this.Z&&this.Z.eg(),r=t&&t.vx,h=this.Et,o=this.Ht,u=Er(this.Hs),a=this.br,c=2;return this.Od&&(c=this.Od.da||bu.da),{adl:i,adseq:n,at:s,ibn:e,max_lst:r,medS:h,ntwk:o,plcid:u,pos:a,r_code:c,tmout:this.Z&&this.Z.$p(),vptm:this.Z&&Math.min(this.Z.Ch||2147483647,t.em)}},t}(),Sd=function(){function t(){}var i=t.prototype;return i.Tp=function(){return{ms_lat:this.Nn,vil:this.Dj,vsl:this.Hj,vst:this.Bh}},i.$l=function(t){this.Hj=t},i.Zl=function(t){this.Dj=t},i.cm=function(t){this.Bh=t},i.am=function(t){this.Nn=t},t}(),Id=function(t){function i(i,n){var s=t.call(this)||this;return s.Ma=i,n=n||{},s.Rb=i.tag&&JSON.parse(i.tag),i=jo()(s).Ma.priceType,s.St=i,i=function(){var t=1<arguments.length?arguments[1]:void 0;return(t=Uv.ri(t.offsetWidth,t.offsetHeight,(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return _r({},t,{mimeType:t.contentType})}))))&&0<t.length?t[0]:null}(s.Ma.mediaInfo,n),jo()(s),s.Ft=i?i.mimeType:"",n=jo()(s).Rb.advertiser_id,s.Js=n,n=jo()(s).Ma.creativeId,s.dn=n,s.$j=s.Rb.assets&&0<s.Rb.assets.length?"ad":"no-ad",s.ys="".concat(i?"".concat(i.width||0,"x").concat(i.height||0):"",":").concat(i&&i.bitrate||null),s.Pj=i&&i.url||null,s}return io()(i,t),i.prototype.Vk=function(){return _r({},this.Tp(),{},{adfmt:this.ys,adv_id:this.Js,apt:this.St,crid:this.dn,mf_url:this.Pj,mtype:this.Ft,r_type:this.$j,v_cr_id:this.dn})},i}(Sd),jd=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).ea=n,i}io()(i,t);var n=i.prototype;return n.gf=function(t,i,n){this.wi(i),this.ur(n),this.yc=t,this.xy(this.Z.Mc),(t=this.yc&&this.yc.ads&&this.yc.ads[0])&&(this.Kc=new Id(t,this.ea))},n.nl=function(){return function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Tr(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},this.Up(),{},this.Kc?this.Kc.Vk():{r_type:"no-ad"})},n.Mp=function(){return this.Kc},i}(Td),Md=function(){function t(t,i,n){this.Ga=t,this.pk=t.id;var s=t.Mr,e=null;s&&(e=encodeURIComponent("".concat(s.ql," ").concat(s.value))),this.mu=e,this.ea=i,i="Overlay"===n?(i=(i=this.Ga&&this.Ga.Dl)&&i[0]&&i[0].oc)&&i[0]||null:(i=Uv.ri(this.ea.offsetWidth,this.ea.offsetHeight,this.Ga.Ye))&&0<i.length?i[0]:null,this.Lj=i?i.mimeType:"",this.Ns=i?i.bitrate:"",this.Zs=i?"".concat(i.width||0,"x").concat(i.height||0):"",this.$j=this.Lj&&"application/javascript"===this.Lj?"vpaid":"ad",this.Ct=function(t){var i={},n=t&&t.Oq||{};return Object.keys(n).forEach((function(t){0<n[t]&&(i[t]=n[t])})),i}(t),this.Pj=i?i.url:""}return t.prototype.fw=function(){return function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Sr(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sr(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},this.Ct,{adfmt:"".concat(this.Zs,":").concat(this.Ns),mf_url:this.Pj,mtype:this.Lj,r_type:this.$j,uadid:this.mu,v_cr_id:this.pk})},t}(),Nd=function(t){function i(i,n,s){var e=3<arguments.length&&void 0!==arguments[3]?arguments[3]:[],r=t.call(this)||this;return r.Ma=i,r.ea=n,r.qa=s,(e=Er(e[0]))||(e=jo()(r).Ma.nc),r.If=e,r.Gs=i&&i.P&&i.P.name||"",r.zs=i.id,r.Yg={},jr.call(jo()(r)),r}return io()(i,t),i.prototype.Vk=function(t){var i=this.Tp(),n={ad_sys:this.Gs,adid:this.zs,plcid:this.If};return t?t=this.Yg[t]:t=0<(t=Object.keys(this.Yg)).length?this.Yg[t[0]]:null,function(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){Wu()(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}({},i,{},n,{},t=t&&t.fw()||{})},i}(Sd),Rd=function(t){function i(i,n,s){return(i=t.call(this,i,s)||this).ea=n,i.Kc={},i}io()(i,t);var n=i.prototype;return n.gf=function(t,i,n,s){if(this.wi(i),this.ur(n),this.Ts=s,this.Gn=(this.ma=t)&&t.Gc,i=this.Z.getUrl(),t=[],this.ma)for(i=this.ma,t.push(i.ae);i.parent;)i=i.parent,t.push(i.ae);else t.push(i);this.Oa=t.reverse(),this.Sg=0,t=this.Oa,this.jt=uo.a.Yh(t[0]||""),1<t.length?(this.kt=uo.a.Yh(t[1]||""),this.On=t.length-1):this.On=0,Rr.call(this)},n.nl=function(t,i){var n=this.Up(),s={crd:this.Ts,f_call:this.jt,f_hop:this.kt,n_hop:this.On},e=kr.call(this,t);if(this.Gn){for(t=this.ma;t.parent&&t.parent.Gc;)t=t.parent;t={plcid:t.Gc&&t.Gc.nc||""}}else t={};return e?t=Nr({},i=e.Vk(i),{},e=Lr.call(this,i.v_cr_id),{},t):t=Nr({r_type:"no-ad"},i=Lr.call(this),{},t),Nr({},n,{},s,{},t)},n.Mp=function(t){return kr.call(this,t)},i}(Td),Dd=function(){function t(){}var i=t.prototype;return i.Yy=function(t){this.qf={},this.L=t,this.Ed=this.ah=0,this.Gb=t.N.S("smartViewability"),this.Rm=0},i.Uw=function(t){this.jn=this.nj=null;var i=t.Tg;if(this.Us=i,this.Ed+=1,!this.mh||2!==this.mh){var n=1;t.jg()&&(n=2),this.mh=n}n=this.L.Mv().Eu,this.Cb="GEMINI"===t.getAdEngineType()?new jd(t,n,this.Ed):new Rd(t,n,this.Ed),this.qf[i]=this.Cb},i.gf=function(t,i,n,s){this.Cb&&this.Cb.gf(t,i,n,s)},i.wi=function(t){this.Cb&&this.Cb.wi(t)},i.Fk=function(){this.Cb&&this.Cb.Fk()},i.Vu=function(){this.ah+=1},i.tr=function(t){this.Rm=+t||0},i.Yl=function(t,i){this.nj=t,this.jn=i,this.cc=this.Cb&&this.Cb.Mp([this.nj])},i.$l=function(t){this.cc&&this.cc.$l(t)},i.Zl=function(t){this.cc&&this.cc.Zl(t)},i.cm=function(t){this.cc&&this.cc.cm(t)},i.am=function(t){this.cc&&this.cc.am(t)},i.gq=function(){if(this.cc)return this.cc.Nn},i.Vh=function(){if(this.Cb)return this.Cb.Vh()},i.lr=function(){this.ah=this.Ed=0,this.mh=this.dj=null},i.dr=function(t,i,n,s){return i&&i!==this.Us?t=i&&(s=this.qf[i])?Pr({},xr.call(this),{},s.nl(void 0,void 0),{},t||{}):t||{}:(i=this.Cb,n=n||this.nj,s=s||this.jn,t=i?Pr({},xr.call(this),{},i.nl(n,s),{},t||{}):t||{}),t},t}();Co.a.mc(uo.a.Vb("oathPlayerBuildEnvironment")||"prod");var Ld=function(){function t(t){this.N=t}var i=t.prototype;return i.az=function(t){this.Ua=t.slot;var i=this.Ua.ownerDocument||window.document;t.dontPredefineVideoTag||(this.kc=t.video||this.Ua.appendChild(Object(Wh.i)(i)),this.kc=Array.isArray(this.kc)?this.kc:[this.kc]),this.lb=new _o.a(i),this.ha={adSettings:{adStrategy:"ADSET_BASED",aeg:[],asids:[],domainOptimisation:!0,podSize:-1,prerollInterleave:1,timeout:{hard:7,maxLinearShow:3600}},id:Co.a["default.pid"],isEU:!0,jsVersion:"0.0.113",sid:E(),timestamp:+new Date},i="boolean"==typeof t.disableFailoverOnDlvFailure&&t.disableFailoverOnDlvFailure;var n="boolean"==typeof t.adCallWithCredentialsAlways&&t.adCallWithCredentialsAlways;this.ha.frosOnly=t.frosOnly,this.ha.playerType=t.playerType||"VRM_plgn",this.ha.trackingEnabled=!0,this.ha.bcid=t.buyerCompanyId,this.ha.geo=t.geo,this.ha.id=t.playerId,this.ha.sid=t.sid||this.ha.sid,this.ha.jsVersion=t.jsVersion||this.ha.jsVersion,this.ha.vvuid=t.vvuid,this.ha.autoplay=t.autoplay,this.ha.macros=t.macros,this.ha.overrideUrls=t.overrideUrls,this.ha.currentVideo=t.currentVideo,this.ha.aggressiveMode=t.aggressiveMode,this.ha.adSettings=this.ha.adSettings||{},this.ha.adSettings.timeout=t.timeout||{},this.ha.adSettings.adStrategy=t.adStrategy||"CONTENT_BASED",this.ha.adSettings.skipSettings=t.skipSettings||{},this.ha.adSettings.asids=t.asids,this.ha.adSettings.aeg=t.aeg,this.ha.adSettings.podSize=t.podSize,this.ha.adSettings.prerollInterleave=t.prerollInterleave,this.ha.adSettings.domainOptimisation=t.domainOptimisation,this.ha.adSettings.chromeHackPreinitialisation=t.chromeHackPreinitialisation,this.ha.adSettings.isBrandedContent=t.isBrandedContent,this.ha.adSettings.clickThroughUrl=t.clickThroughUrl,this.ha.adSettings.disableFailoverOnDlvFailure=i,this.ha.adSettings.adCallWithCredentialsAlways=n,this.mt=t.fakeViewability,this.ha.privacyData=t.privacyConsent,this.ha.isEU=!1!==t.isEU,this.ha.playerName=t.playerName},i.iy=function(){var t=new Ed(this.ha),i=new Ko(t,this.ha.overrideUrls),n=new Wo;if(this.kc&&1<this.kc.length){var s=this.kc[0].parentElement||this.kc[0];n.yr(this.kc[0]),n.Ny(this.kc[1])}else s=this.Ua;var e=Gh.a.kl(window)||window;this.N.qb("config",t).qb("debugInfo",Jh).qb("urls",i).qb("videoTagProvider",n).qb("adContainerProvider",new ru(this.Ua)).qb("dom",this.lb).qb("viewabilitySubject",s).qb("hostWindowProvider",new So(e)).za("eventBus",$h.default).za("environment",eu).za("hostWindowParamsObtainer",To).za("adsConfig",$c).za("primalTracker",ro).za("display",su).za("slotOpportunityHandler",Od).za("errorTracker",po).za("beaconDataHolder",Dd),this.mt?this.N.za("moatViewability",w(Lo)).za("intersectionViewability",w(No)).za("smartViewability",w(Yo)):this.N.za("moatViewability",Lo).za("intersectionViewability",No).za("smartViewability",Yo),this.N.za("adTracker",wd).za("parametersCombine",ko).za("externalTracker",ho).za("actionTracker",oo).za("adSystem",gd).za("videoTracker",wo).za("videoTrackerManager",Ao),t=this.N.S("adSystem"),(i=this.N.S("environment")).zg(t),this.ha.currentVideo&&i.Fy(this.ha.currentVideo)},i.bl=function(){return this.ha},i.sw=function(){return this.N},t}(),kd="external-player-item-loaded",Cd="external-player-mute-changed",Pd="external-player-paused",xd="external-player-play-complete",Ud="external-player-play-requested",Vd="external-player-error",Bd="external-player-playing",Fd="external-player-item-skipped",zd="external-player-time-update",Hd="external-player-volume-changed",qd="ad-plugin--breaks-available",Gd="ad-plugin--break-resolve-error",Yd="ad-plugin--break-resolved",Wd="ad-plugin--subtitles-found",Zd="ad-plugin--metrics",Qd="ad-plugin--diagnostics",Xd="ad-plugin-nonlinear-ad-rendered",Jd="ad-plugin-nonlinear-ad-clicked",Kd="ad-plugin-nonlinear-ad-dismissed",$d=n(44),tp=function(){function t(t){this.L=t.adSystem,this.U=t.pluginEventBus,this.pf=t.adBlockerSniffer,this.Ge=t.slotOpportunityHandler,this.nh=t.metricsEventHandler,this.oa=t.beaconDataHolder,this.Lc=!1,Br.call(this),this.U.addEventListener(Gd,ch.bind(this))}var i=t.prototype;return i.DC=function(){return this.Lc},i.ni=function(){this.wc=!1},i.fy=function(){this.Wd=void 0},i.hb=function(t,i,n){var s;n&&(s=this.oa.dr(n)),null!=i&&s?this.U.dispatchEvent(t,i,s):null!=i?this.U.dispatchEvent(t,i):this.U.dispatchEvent(t,s)},i.vi=function(t){this.ub=t},i.sy=function(t){ph.call(this,t)},t}();tp.ba="adSystem pluginEventBus adBlockerSniffer slotOpportunityHandler metricsEventHandler beaconDataHolder".split(" ");var ip=function(){function t(t){this.Of=t.videoTrackerManager,this.Ge=t.slotOpportunityHandler,this.T=t.environment,this.L=t.adSystem}return t.prototype.onPlayerEvent=function(t,i){switch(t){case $d.c:t=tu()(i,1)[0],this.Ge.rr(),this.T.Jx(),this.T.zr(0),this.T.Ag(t.duration),this.Of.Ll(),this.Of.Ag(t.duration),this.Of.Ix();break;case $d.b:t=tu()(i,1)[0],this.T.zr(t),this.Of.ji(t);break;case $d.a:this.Of.Hx();break;case $d.d:this.L.dispatchEvent(Xo.Cm,i)}},t}();ip.ba=["adSystem","slotOpportunityHandler","videoTrackerManager","environment"];var np=function(){function t(t){this.U=t.pluginEventBus,this.Oj=[]}var i=t.prototype;return i.dispatchEvent=function(t,i){if("ad_oppty"===i.evt)var n=this.Qm=!0;this.Qm||"ad_req"===i.evt?this.U.dispatchEvent(t,i):this.Oj.push({event:t,Mx:i}),n&&mh.call(this)},i.Tx=function(){this.Qm=!1},t}();np.ba=["pluginEventBus"];var sp=function(){function t(){}return t.prototype.hm=function(t){var i=(t=t.YVAP.standaloneAd).gemini;return t={ads:[{actionUrls:t.beacons,rules:t.rules,tag:JSON.stringify({assets:[{mediaInfo:i.mediaInfo,usageType:"VIDEO_PRIMARY"}],callToAction:i.callToAction||"",clickUrl:i.clickUrl,headline:i.headline||"",source:i.source||""})}]},{bcid:"5b32606132679a7241fe5ca9",pid:"5b3260f8dbaab35b11ca3a6e",schema:{pods:[{calculated:!0,slots:[{adxResult:"SHOW_ADS",aeg:[[{adEngineType:"GEMINI",adTypes:["Preroll"],isNative:!0,name:"Empty - Preroll",rcid:"5512a39b09eab108e072da23",rid:"5c4ef9c68fcaa91a27b5d264",url:"http://s3.amazonaws.com/vdb-cdn-files/dev/player-auto-tests/vast/empty.xml",usesShim:!1,vastXml:JSON.stringify(t),vendor:"5d7bd3fa10ca046303bc3d36",vendorName:"standalone_gemini_native"}]],rids:["5ade359bc673db38c7f14e5e"],slot:"AVAIL",type:"PREROLL"}],type:"PREROLL"}]},slot:"AVAIL",version:"2",vid:"5b3261c2cd472447b9cd4d4b"}},t}(),ep=n(39),rp=Xh.a.Ka("AdBreakManager"),hp=0,op=function(){function t(t){this.L=t.adSystem,this.Ge=t.slotOpportunityHandler,this.nh=t.metricsEventHandler,this.oa=t.beaconDataHolder,this.bj=[],this.U=new $h.default,this.mj={}}var i=t.prototype;return i.Ty=function(t){this.Uj&&Eh.call(this,t)},i.Ux=function(){var t=this.bj.find((function(t){return t.type===ep.c}));t&&(this.Uj=t)},i.preparePlayback=function(t,i){var n=this;if("resolving"!==t.resolvedState&&(t.isRepeated=this.mj.adBreakItemId===t.adBreakItemId,t.isRepeated&&hp++,this.oa.tr(hp),this.Yc=Th.call(this,t)),this.mj=t,this.rh=i)return this.Yc;(this.Yc||Yh.a.resolve()).then((function(){n.wc&&n.L.Zd()})),this.Cf=new Yh.a((function(t){n.Ec=function(){n.L.removeEventListener(Xo.uc,n.Ec),t()},n.L.addEventListener(Xo.uc,n.Ec)}))},i.Sx=function(t){this.Yc=Th.call(this,t)},i.play=function(t){var i=this;return t.isRepeated=this.mj.isRepeated,this.rh?Ih.call(this,t):(Sh.call(this,t),this.Cf.then((function(){i.Cf=null,i.Nj=!0,i.ub||i.L.Bi()})))},i.fetchAdBreaks=function(t){var i=this;if(this.L.mc(),hp=0,this.oa.tr(hp),t){!function(t){(t=t.aeg)&&t.forEach((function(t){t.forEach((function(t){"overlay"===(t.type||t.adTypes&&t.adTypes[0]).toLowerCase()&&(t.slot=t.slot||{},(t=t.slot).width="45%",t.position=O.Ti,t.left="18.5%",t.top="90%")}))}))}(t);try{t=JSON.parse(JSON.stringify(t))}catch(t){rp.error("Failed to clone vrmConfig",t)}}return new Yh.a((function(n){i.L.Kq({preloadedConfig:t},(function(t){i.bj=function(){var t=[];return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[]).forEach((function(i){var n=wh(i);if(0<n.length||"Midroll"===i.type){var s=0;i.time&&isNaN(i.time)?s=Object(Wh.J)(i.time):isNaN(i.time)||(s=i.time),s={adBreakId:E(),mimetype:"adplugin/vrm",startOffset:s,startTime:s},n[0]&&n[0].customInfo&&yh(n[0].customInfo.slot)?(s.type=ep.b,s.adBreakItems=n):i.type&&"Overlay"===i.type?(s.type=ep.c,s.adBreakItems=n):(s.customInfo=n,s.type=i.type&&i.type.toLowerCase()),s.type=s.type||"preroll",t.push(s)}})),t}(t.li),t=i.bj.map((function(t){var i=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?gh(Object(n),!0).forEach((function(i){Wu()(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gh(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}({},t);return t.customInfo&&(i.customInfo=t.customInfo.slice()),t.adBreakItems&&(i.adBreakItems=t.adBreakItems.slice()),i})),n(t)}))}))},i.cleanupAdBreak=function(){_h.call(this),this.Ge.rr()},i.addEventListener=function(t,i){this.U.addEventListener(t,i)},i.removeEventListener=function(t,i){this.U.removeEventListener(t,i)},i.resume=function(t){this.wc&&!this.Rn&&Ah.call(this,t),this.Nj&&this.L.Bi()},i.vi=function(t){this.ub=t},t}();op.ba=["adSystem","slotOpportunityHandler","metricsEventHandler","beaconDataHolder"],op.om="AdBreakManager.AD_BREAK_PREPARED";var up=0,ap=function(){function t(){}return t.tp=function(t){var i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=document.createElement("iframe");return n.id="xdomainIframe:".concat(t,":").concat(up++),i&&(n.style.position="absolute",n.style.top=0,n.style.width="100%",n.style.height="100%",n.style.zIndex=2,n.style.pointerEvents="auto !important",n.setAttribute("allow","autoplay")),n.setAttribute("frameborder","0"),i=pt(Co.a["cdn.url"],Co.a["s3.url"]),i="".concat(i).concat(t,".html?id=").concat(up++),n.src=i,n},t.Wo=function(t,i){return new Yh.a((function(n){t.onload=function(){n()},i?i.appendChild(t):document.body.appendChild(t)}))},t}(),cp=n(43),fp=Xh.a.Ka("IframeXDomainMessenger"),lp=function(){function t(t,i){this.Kt=i}var i=t.prototype;return i.mc=function(t){this.Na=Zo.a.empty(),this.Ob=t,this.dh=uo.a.wg(t.src).origin,this.kn=[],this.zn=!1},i.loaded=function(){var t=this;Zo.a.bind(this.Ob.contentWindow.parent,"message",this.Hl.bind(this)).link(this.Na),this.zn=!0,this.kn.forEach((function(i){return t.ff(i)}))},i.destroy=function(){this.Na&&this.Na.ra()},i.ff=function(t){if(this.Ob.contentWindow)try{this.zn?this.Ob.contentWindow.postMessage(JSON.stringify(t.Fw()),this.dh):this.kn.push(t)}catch(t){fp.error("Error while interacting with IFRAME",cp.a.cp().Av().Rh("error").data({error:t.message}).bp().getData())}},i.Hl=function(t){t:{try{var i=JSON.parse(t.data);break t}catch(i){fp.warn("Error Parsing",t,i)}i=void 0}i&&t.origin===this.dh&&i.location===this.Ob.src&&i.type&&(t.preventDefault(),this.Kt(cp.a.clone(i)))},t}(),vp=n(18),dp=Xh.a.Ka("IframeXDomainCommunicator"),pp=function(){function t(){this.Rf=new lp(this,jh.bind(this)),this.Mo=new lp(this,jh.bind(this))}var i=t.prototype;return i.zC=function(){var t=this;this.Rf.destroy();var i=ap.tp("vrm-xdomain");this.Rf.mc(i),ap.Wo(i).then((function(){t.Rf.loaded()}))},i.yC=function(t){var i=this;this.Rf.destroy();var n=ap.tp("vrm-xdomain-media",!0);this.Mo.mc(n),ap.Wo(n,t).then((function(){i.Mo.loaded()}))},i.pD=function(t){this.Rf.ff(cp.a.cp().Qx().data(t).bp())},i.vA=function(){},i.oD=function(){},i.nA=function(){},i.TD=function(){},t}(),mp=function(){function t(t){this.N=t.fi,this.qj=t.qv,this.Zn=t.Xx}var i=t.prototype;return i.hl=function(){var t=this;return this.Ja||(this.Ja=this.N.gy(this.qj).then((function(i){return t.Cj.apply(t,wl()(i))}))),this.Ja},i.il=function(){if(!this.Ae){var t=this.N.hy(this.qj);if(t=this.lj.apply(this,wl()(t)),!this.Fn(t))throw Error("can't be created synchronously");this.Ae=t}return this.Ae},i.Fn=function(t){return null==t||"function"!=typeof t.then},i.lj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return this.Zn.apply(null,i)},i.Cj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s=this;return new Yh.a((function(t){s.Ae=s.lj.apply(s,i),t(s.Ae)}))},t}(),bp=function(t){function i(){return t.apply(this,arguments)||this}io()(i,t);var n=i.prototype;return n.lj=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];var s={};return this.qj.forEach((function(t,n){s[t]=i[n]})),new this.Zn(s)},n.Cj=function(){for(var i=this,n=arguments.length,s=Array(n),e=0;e<n;e++)s[e]=arguments[e];return t.prototype.Cj.apply(this,s).then((function(t){var n=t;return i.Ae.bq&&(n=i.Ae.bq().then((function(){return t}))),n}))},n.Fn=function(t){return"function"!=typeof t.bq},i}(mp),yp=function(){function t(t){this.zf={},this.nn=!0,(this.Ef=t)&&this.qb(t,this)}var i=t.prototype;return i.er=function(t,i,n){if(this.zf[t]){if(this.nn)throw Error("".concat(t," can't be provided twice"))}else this.zf[t]=Mh.call(this,i,n);return this},i.Sl=function(t,i){return this.er(t,i,!0)},i.za=function(t,i){return this.qb(t,this.Ya(i))},i.qb=function(t,i){return this.er(t,(function(){return i}))},i.We=function(t){return void 0!==this.zf[t]},i.resolve=function(t){var i=this.zf[t];return i=i?i.hl():Yh.a.reject("no such dependency ".concat(t)),Yh.a.race([i,Object(Wh.B)(8e3).catch((function(){throw Error("".concat(t," isn't resolved in ").concat(8e3,"ms"))}))])},i.S=function(t){var i=this.zf[t];if(!i)throw Error("no such dependency ".concat(t));return i.il()},i.gy=function(t){var i=this;return Yh.a.all(t.map((function(t){return i.resolve(t)})))},i.hy=function(t){var i=this;return t.map((function(t){return i.S(t)}))},i.DA=function(t){return Mh.call(this,t,!0).hl()},i.Ya=function(t){return Mh.call(this,t,!0).il()},i.xq=function(t){return Mh.call(this,t).hl()},i.AC=function(t){return Mh.call(this,t).il()},i.vD=function(t){void 0!==t.wv&&(this.nn=t.wv)},t}();!function(t){function i(i){var n=t.call(this,i.Ef)||this;return n.Wj=i,n}io()(i,t);var n=i.prototype;n.resolve=function(i){var n=this;return t.prototype.resolve.call(this,i).catch((function(t){if(!/no such dependency/.exec(t))throw t;return t=n.Wj.resolve(i)}))},n.We=function(i){return t.prototype.We.call(this,i)||this.Wj.We(i)},n.S=function(i){try{return t.prototype.S.call(this,i)}catch(t){return this.Wj.S(i)}}}(yp);var gp=function(){function t(t){this.N=t||new yp("injector"),this.pf=new Kh,this.Sm=new Ld(this.N),this.U=new $h.default,this.Au=new pp,this.pf.check(),this.N.qb("pluginEventBus",this.U),this.N.qb("adBlockerSniffer",this.pf),this.N.qb("xdomainCommunicator",this.Au),this.type="ad-plugin",this.mimetype="adplugin/vrm",this.version="0.0.113"}var i=t.prototype;return i.getCapabilities=function(){return["1","2"]},i.prepare=function(t){var i=this;t=s(t),this.Ua=t.slot,this.Sm.az(t),this.Sm.iy(),this.N.Sl("metricsEventHandler",np),this.Qt=this.N.Ya(ip),this.$a=this.N.Ya(tp),this.bc=this.N.Ya(op),this.M=this.N.S("config"),this.bc.addEventListener(op.om,(function(t){i.$a.hb(kd,t,{})})),this.T=this.N.S("environment"),this.L=this.N.S("adSystem"),this.oa=this.N.S("beaconDataHolder")},i.addEventListener=function(t,i){this.U.addEventListener(t,i)},i.removeEventListener=function(t,i){this.U.removeEventListener(t,i)},i.onPlayerEvent=function(t){for(var i=arguments.length,n=Array(1<i?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];this.Qt.onPlayerEvent(t,n),t===$d.b&&this.bc.Ty(n[0])},i.fetchAdBreaks=function(){var t=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.oa.Yy(this.L),this.$a.fy();var n=i.refId,s=i.pos+1;s&&this.T.Gy(s),i=kh.call(this,i.config),this.nt?this.M.pz(E()):this.nt=!0,this.bc.fetchAdBreaks(i).then((function(i){t.$a.hb(qd,{adBreaks:i,refId:n})}))},i.resolveAdBreak=function(t){var i=t.customInfo;delete t.customInfo,0<i.length?(this.oa.lr(),this.$a.ni(),Rh.call(this,!1),t.adBreakItems=i,(i=Nh.call(this,i)).resolvedState="resolving",this.bc.Sx(i),this.$a.hb(Yd,t)):this.$a.hb(Gd,t,{r_code:100})},i.preparePlayback=function(t,i,n){Lh.call(this,t,"ad_prepare_pb_plg"),"resolving"!==t.resolvedState&&(this.oa.lr(),this.$a.ni(),Rh.call(this,!1)),t.customInfo.slot.aeg.every((function(t){return!(0<t.length)})),n&&this.Ua&&n.appendChild(this.Ua),i&&this.N.S("videoTagProvider").yr(i),this.bc.preparePlayback(t)},i.play=function(t){var i=this;Lh.call(this,t,"ad_play_plg",{ad_started:this.$a.Lc,paused:this.ub}),this.ub||this.$a.Lc?Dh.call(this,t):this.bc.play(t).then((function(){i.$a.hb(Ud,null,{})}))},i.pause=function(){Lh.call(this,null,"ad_paused_plg"),Rh.call(this,!0),this.$a.Lc?this.L.Px():this.$a.hb(Pd,null,{})},i.seek=function(){},i.stop=function(){this.L.stop(!0)},i.skip=function(){this.L.skip()},i.mute=function(t){this.L.mute(t)},i.isMuted=function(){return this.L.isMuted()},i.setVolume=function(t){this.L.setVolume(t)},i.getVolume=function(){return this.L.getVolume()},i.getCurrentTime=function(){return this.L.getCurrentTime()},i.getDuration=function(){return this.L.getDuration()},i.unload=function(){this.L&&this.L.stop()},i.destroy=function(){this.Ua=void 0,this.L&&this.L.stop()},i.canRenderUI=function(t){return yh(t.customInfo.slot)},i.renderUI=function(){return null},i.unrenderUI=function(){},i.setNonlinearAdContainer=function(t){t&&this.N.S("adContainerProvider").Oy(t),this.bc.Ux()},i.cleanupAdBreak=function(){this.ub=!1,this.L.cleanupAdBreak(),this.bc.cleanupAdBreak()},t}();n.d(i,"VrmAdPlugin",(function(){return gp})),n.d(i,"AdPluginEvent",(function(){return Ch}))}])}module.exports=Nh()}).call(this,__webpack_require__("yLpj"))},Y4D7:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=function(){function t(t,i){this.lQ=t.watchHistoryEnabled||!1,this.vQ=t.watchedPeriod||.5,this.dQ=t.watchHistoryExpiry||129600,this.oE=i}return t.prototype.isWatched=function(t,i){if(!this.lQ)return!1;if(!t)throw new Error("UUID not passed for isWatched!");var n=s.LocalStorage.get("vpResumeTimeItems");if(!n||!n[t])return!1;var e=n[t].position;return this.isDeemedWatched(e,i)},t.prototype.clearExpired=function(){var t=s.LocalStorage.get("vpResumeTimeItems"),i=(new Date).getTime(),n=!1;t&&(Object.keys(t).forEach((function(s){var e=t[s].expiryTime;e&&i-e>0&&(delete t[s],n=!0)})),n&&s.LocalStorage.put("vpResumeTimeItems",t))},t.prototype.saveProgress=function(t,i){var n=s.LocalStorage.get("vpResumeTimeItems")||{},e=this.dQ;n[t.id]={position:t.position},i&&(n[t.id].expiryTime=(new Date).getTime()+1e3*e,this.isDeemedWatched(t.position,t.duration)?this.oE.setMediaItemWatched(t.id,!0):this.oE.setMediaItemWatched(t.id,!1)),s.LocalStorage.put("vpResumeTimeItems",n)},t.prototype.getProgress=function(t){if(!t)throw new Error("UUID not passed for getProgress!");var i=s.LocalStorage.get("vpResumeTimeItems");return i?i[t]:null},t.prototype.isDeemedWatched=function(t,i){var n=this.vQ;return!(!this.lQ||!i)&&(n>=0&&n<=1?t>=i*n:i<=n?t>=i-5:t>=n)},t}();i.default=e},Y4Rh:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.yvapSchema=void 0,i.yvapSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/yvapSchema",type:["object","null"],properties:{accountId:{type:"string"},timeout:{type:["number","string"]},cTopic:{type:"string"},standaloneAd:{type:"object",properties:{xml:{type:"string"},showAdSlug:{type:"boolean"}}},vpaidTimeout:{type:"number"},adsReady:{type:"boolean"},preInitVpaid:{type:"boolean"}}}},YBdB:function(t,i,n){(function(t,i){!function(t,n){"use strict";if(!t.setImmediate){var s,e,r,h,o,u=1,a={},c=!1,f=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?s=function(t){i.nextTick((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var i=!0,n=t.onmessage;return t.onmessage=function(){i=!1},t.postMessage("","*"),t.onmessage=n,i}}()?t.MessageChannel?((r=new MessageChannel).port1.onmessage=function(t){d(t.data)},s=function(t){r.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(e=f.documentElement,s=function(t){var i=f.createElement("script");i.onreadystatechange=function(){d(t),i.onreadystatechange=null,e.removeChild(i),i=null},e.appendChild(i)}):s=function(t){setTimeout(d,0,t)}:(h="setImmediate$"+Math.random()+"$",o=function(i){i.source===t&&"string"==typeof i.data&&0===i.data.indexOf(h)&&d(+i.data.slice(h.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),s=function(i){t.postMessage(h+i,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var i=new Array(arguments.length-1),n=0;n<i.length;n++)i[n]=arguments[n+1];var e={callback:t,args:i};return a[u]=e,s(u),u++},l.clearImmediate=v}function v(t){delete a[t]}function d(t){if(c)setTimeout(d,0,t);else{var i=a[t];if(i){c=!0;try{!function(t){var i=t.callback,n=t.args;switch(n.length){case 0:i();break;case 1:i(n[0]);break;case 2:i(n[0],n[1]);break;case 3:i(n[0],n[1],n[2]);break;default:i.apply(void 0,n)}}(i)}finally{v(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n("yLpj"),n("KCCg"))},YqpE:function(t,i,n){"use strict";t.exports=n("9mgm").userAgent},YqzD:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("P2OX"),r=n("EOV8"),h=n("ablw"),o=n("yf6s"),u=n("Vj4b"),a=function(){function t(){this.version="0.2.415",this.mimetype="playlist/simple",this.type=r.PluginType.PLAYLIST}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t,i,n){var s=this.pQ(t,i),e=document.createElement("div");return e.innerHTML=u.render({items:s,strings:n}),Array.prototype.slice.call(e.children)},t.prototype.mQ=function(t){return t&&h.isNumber(t)?o.default.formatTime(t):""},t.prototype.bQ=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.yQ=function(t,i){return t===e.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.pQ=function(t,i){var n=this,s=[];return i.forEach((function(i){i&&i.metadata&&i.metadata.thumbnail&&s.push({id:i.id,title:n.bQ(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.mQ(i.metadata.duration),provider:n.yQ(t,i.brandingData)})})),s},t}();i.default=a},YuTi:function(t,i){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"Z5/A":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("yf6s"),o=n("peh1"),u=n("BNqR"),a=function(t){function i(i,n,s,e){var r=t.call(this)||this;return r.XY=[],r.gQ=i,r.wQ=n,r.id=n.adBreakItemId,r.adBreakItemId=n.adBreakItemId,r.adPluginMimeType=n.adPluginMimeType,r.customConfig=n.customInfo||null,r.duration=n.duration||NaN,r.instream=n.instream,r.interactionConfig=n.interactionConfig,r.type=n.type,r.resolvedState=n.resolvedState,r.videoSession=r.EQ(),n.source&&n.source.streams&&r.LW(n.source.streams,s,e),r}return e(i,t),i.prototype.hasStreams=function(){return this.streams.length>1},i.prototype.equals=function(t){return!!t&&(t.id===this.id&&this.adBreakItemId===t.adBreakItemId)},i.prototype.getPlayableItemType=function(){return o.PlayableItemType.AD_BREAK_ITEM},i.prototype.setDuration=function(t){this.duration=t},i.prototype.getDuration=function(){return this.duration},i.prototype.getStreamType=function(){return this.gQ&&this.gQ.type||""},Object.defineProperty(i.prototype,"adBreak",{get:function(){return this.gQ},enumerable:!0,configurable:!0}),i.prototype.skip=function(){},Object.defineProperty(i.prototype,"rawItemData",{get:function(){return h.default.deepCopy(this.wQ)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streams",{get:function(){return this.XY},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"streamProfiles",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"altStreams",{get:function(){return[]},set:function(t){},enumerable:!0,configurable:!0}),i.prototype.getCurrLanguage=function(){return null},i.prototype.EQ=function(){for(var t=[],i="abcdefghijklmnopqrstuvwxyz123456789",n=0;n<8;n++)t.push(i.charAt(Math.floor(Math.random()*i.length)));return t.join("")},i.prototype.LW=function(t,i,n){if(t&&t.length&&0===this.XY.length){for(var s=t.map((function(t){return new u.default(t)})),e=0,h=i;e<h.length;e++){var o=h[e],a=n[o],c=r.default.findAcceptedStreams(s,a);if(0!==c.length){this.rendererType=o,this.XY=c;break}}this.XY.length>0&&this.XY.sort((function(t,i){return t.videoMetadata.bitrate-i.videoMetadata.bitrate}))}},i}(o.PlayableItem);i.default=a},ZESv:function(t,i){var n=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var i,s={},e=n(t).split("\n"),r=0;r<e.length;r++){var h=e[r],o=h.indexOf(":"),u=n(h.slice(0,o)).toLowerCase(),a=n(h.slice(o+1));void 0===s[u]?s[u]=a:(i=s[u],"[object Array]"===Object.prototype.toString.call(i)?s[u].push(a):s[u]=[s[u],a])}return s}},ZOXl:function(t,i,n){"use strict";t.exports=o;var s=n("l+r/").StreamingMode,e=n("l+r/").MetadataTypes,r=n("ckAm"),h=n("havJ");function o(){this.ERRORS={INVALID_M3U8:1,EMPTY_DATA:2,NO_SEGMENTS:3},this.mpdParser=new r}o.prototype.destroy=function(){this.mpdParser.destroy()},o.prototype.parse=function(t){if(!t)return null;return t.type===e.STRUCTURED?(new h).parseStructuredMetadata(t):this.OQ(t)},o.prototype.OQ=function(t){var i={},n=t.rawData;return""!==n&&n?-1!==n.indexOf("<MPD")?(t.streamingMode=s.DASH,this.mpdParser.parse(t)):-1!==n.indexOf("#EXTM3U")?(t.streamingMode=s.HLS,(new h).parse(t)):(i.error=this.ERRORS.INVALID_M3U8,i):(i.error=this.ERRORS.EMPTY_DATA,i)}},Zn3a:function(t,i){},a29t:function(t,i,n){"use strict";t.exports=l;var s=n("juTp"),e=n("yUCA"),r=e.Streamer,h=e.Events,o=e.SynchTypes,u=n("LmPb"),a=n("9m1L").HLSEvent,c=n("HNSW").StreamTypes,f=n("zY0b");function l(t,i){r.call(this,t,i),this.CI={},this.CI[a.MEDIA_LOADED]=this.__controller.addEventListener(a.MEDIA_LOADED,this.AQ,this),this.DEFAULT_STREAM_UPDATE_INTERVAL=8e3,this.MAX_STREAM_UPDATE_INTERVAL=1e4,this.PAST_BUFFER_LENGTH_LIMIT=this.oE.config.pastBufferLengthLimit.live,this.LONG_PAUSE_INTERVAL=24e3,this._Q=new u(this.DEFAULT_STREAM_UPDATE_INTERVAL),this._Q.addEventListener(this.TQ,this),this.SQ=null,this.IQ=null,this.jQ=!1,this.MQ=new u(this.LONG_PAUSE_INTERVAL,1),this.MQ.addEventListener(this.NQ,this)}s.inherits(l,r),l.prototype.destroy=function(){this._Q.destroy(),this.MQ.destroy(),this.__controller.removeEventListeners(this.CI),r.prototype.destroy.call(this)},l.prototype.onPlay=function(t){if(this.RQ(),this.DQ()){var i=this.IQ?o.TIME_GAP:o.INIT;this.FM(i),this.process(this.DM),this.IQ=null}else this.zN&&(this.DM=t,this.BN=!1,this.process(this.DM),this.IQ=null);r.prototype.onPlay.call(this),this.MQ.stop()},l.prototype.onPause=function(){this.IQ=Date.now(),this.MQ.start(),r.prototype.onPause.call(this)},l.prototype.onSeeking=function(t){this.cI(!1),this.jQ&&(this.LQ(),this.process(t))},l.prototype.onSynchComplete=function(){this.SQ=null,this.DM=null,this.type===c.MAIN&&this.oE.setLivePlaybackStartTime(null)},l.prototype.suspendStreaming=function(){this._Q&&this._Q.stop()},l.prototype.resumeStreaming=function(){this._Q&&this._Q.start()},l.prototype.DQ=function(){if(!this.IQ)return!0;var t=this.oI,i=t&&t.targetDuration?3*t.targetDuration*1e3:this.LONG_PAUSE_INTERVAL;return Date.now()-this.IQ>i},l.prototype.FM=function(t){if(this.oE.hasEndlist)this.cI(!0);else{var i=this.oI;if(i.segments.length&&!f.isNullOrUndefined(i.endSeqNum)&&!f.isNullOrUndefined(i.startSeqNum)){var n=this.kQ(),s=i.getSegmentfromSeqNum(n);this.DM=s?s.startTime:null,this.SQ=this.DM,i.type===c.MAIN&&this.oE.setLivePlaybackStartTime(this.SQ);var e=this.oE.userAgent;this.jQ=e&&e.safariDesktop&&t===o.TIME_GAP,this.publish(h.LIVE_SYNCH,this,{synchPosition:this.SQ,synchType:t})}}},l.prototype.NQ=function(){},l.prototype.CQ=function(){return!this.PQ&&this.tI!==this.STATES.LOADING&&!this.BN&&!this.nI()},l.prototype.xQ=function(){this.isActive()&&(!this.FN&&this.tI!==this.STATES.INITIALIZING||this.UQ||(this.TQ(),this.RQ()))},l.prototype.kQ=function(){var t=this.oI,i=this.oE.getLivePlaybackStartTime();return t.type===c.MAIN||f.isNullOrUndefined(i)?Math.max(t.endSeqNum-this.SEGMENT_OFFSET,t.startSeqNum):t.getSeqNumBeforePosition(i)},l.prototype.uI=function(t){return t},l.prototype.onStreamLoaded=function(t){this.RQ(),r.prototype.onStreamLoaded.call(this,t)},l.prototype.AQ=function(){this.RQ()},l.prototype.RQ=function(){var t,i;this.oE.hasEndlist||this.oI.isDash()&&this.type!==c.MAIN?this._Q.destroy():(t=this._Q.startTime>0?Date.now()-this._Q.startTime:0,this._Q.reset(),i=this.oE.getStreamRefreshInterval()||this.DEFAULT_STREAM_UPDATE_INTERVAL,i-=t,i=Math.max(i,100),i=Math.min(i,this.MAX_STREAM_UPDATE_INTERVAL),this._Q.delay=i,this._Q.start())},l.prototype.VQ=function(){var t={url:this.oI.url,withResponseHeaders:this.oE.isDash()};return this.BN&&(t.stopStreamLoadOnError=!0,t.maxRetries=1),t},l.prototype.stopStreamUpdate=function(){this._Q.reset()},l.prototype.canSwitch=function(t){return!this.SQ&&("mid-segment"!==t||this.tI===this.STATES.LOADING)},l.prototype.BQ=function(){var t=this.oI;t&&t.endSeqNum===this.xM&&this.oE.hasEndlist&&this.cI(!0)}},a4Db:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.failoverSchema=void 0,i.failoverSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/failoverSchema",type:"object",properties:{fastInitRecoverer:{type:"boolean"},beaconDisasterMode:{default:!1,type:"boolean"},sapiUrl:{type:"string"},convivaSamplingRate:{type:"object",properties:{vod:{default:0,type:"number"},live:{default:0,type:"number"}}},recoveryFailureTimeout:{default:120,type:"number"}}}},aAGJ:function(t,i,n){"use strict";t.exports=u;var s=n("w4Wb"),e=n("LCGo"),r=n("PAFL"),h=s.AACStream,o=s.AVCStream;function u(t,i,n){this.streamType=t,this.streamId=i,this.FQ=[],this.XM=!1,this.mR=n,this.zQ=null,this.HQ=new r,"audio"===t?this.hE=new h(this.mR):"video"===t&&(this.hE=new o(this.mR))}function a(t){this.ZM=new e(Uint8Array,t),this.complete=!1}u.prototype.destroy=function(){this.FQ=[],this.hE&&(this.hE.destroy(),this.hE=null)},u.prototype.isReady=function(){var t=!!this.hE&&this.hE.ready;return this.XM||t},u.prototype.addPacket=function(t){this.FQ.length&&this.TR(),this.FQ.push(new a(t))},u.prototype.append=function(t){var i=this.FQ.length;t&&i&&this.FQ[i-1].append(t)},u.prototype.endOfSegment=function(){this.XM=!0,this.TR()},u.prototype.getFrames=function(t){return this.hE?this.hE.getFrames(t):null},u.prototype.getTimedMetadata=function(){return this.zQ?this.zQ:null},u.prototype.getConfig=function(){return this.hE?this.hE.getConfig():null},u.prototype.TR=function(){var t=this.FQ.length;if(t){var i=this.FQ[t-1];i.complete=!0,0===i.parse()&&("id3"===this.streamType?this.zQ={payload:this.HQ.getID3Payload(i.packetInfo.streamData),pts:this.FQ.length&&this.FQ[0].packetInfo.pts}:this.hE&&this.hE.readFrames(i),this.FQ.pop())}},a.prototype.append=function(t){this.ZM&&this.ZM.set(t)},a.prototype.parse=function(){if(this.packetInfo={},!this.complete||!this.ZM||!this.ZM.length)return this.packetInfo.result=-1,-1;if(this.ZM.length<6)return this.packetInfo.result=-2,-2;var t=0;if(1!==(this.ZM.get(t++)<<16)+(this.ZM.get(t++)<<8)+this.ZM.get(t++))return this.packetInfo.result=-3,-3;this.packetInfo.streamId=this.ZM.get(t++),t+=2,t++;var i=(192&this.ZM.get(t++))>>6,n=this.ZM.get(t++);return 2!==i&&3!==i||(this.packetInfo.pts=this.qQ(this.ZM.subArray(t,t+5)),this.packetInfo.dts=this.packetInfo.pts,t+=5,n-=5,3===i&&(this.packetInfo.dts=this.qQ(this.ZM.subArray(t,t+5)),t+=5,n-=5)),t+=n,this.packetInfo.streamData=this.ZM.subArray(t),this.packetInfo.result=0,0},a.prototype.qQ=function(t){if(!t||!t.length)return 0;var i=0,n=(14&t[i++])>>>1,s=(t[i++]<<8)+(254&t[i++])>>>1,e=(4&n)>>2,r=2*((n&=3)<<29)+(s<<=15)+((t[i++]<<8)+t[i++]>>>1);return e?-1*Math.pow(2,32)+r:r}},aAR2:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(){}return t.prototype.updateOathPlayerInfo=function(t,i,n){if(!1!==t){var s=i&&i.querySelector(".vp-opss-info");if(s){var e=s.querySelector(".vp-opss-title"),r=this.GQ(n.version),h=s.querySelector(".vp-opss-lmsid");s.insertBefore(r,e);var o=this.YQ(),u=s.querySelector(".vp-opss-hosting");u&&(u.innerHTML=o);var a=s.querySelector(".vp-opss-profile");a&&(a.innerHTML=JSON.stringify(n.config,void 0,2)),h&&(h.innerHTML="<span class='vp-details'> License Id(LMS ID): </span> "+n.lmsId)}}},t.prototype.GQ=function(t){var i=document.createElement("div");i.classList.add("vp-opss-oath-title");var n=document.createElement("div");n.classList.add("vp-opss-title"),n.innerHTML="OATH PLAYER";var s=document.createElement("div");return s.innerHTML=t,i.appendChild(n),i.appendChild(s),i},t.prototype.YQ=function(){var t=window.OATH,i=t&&t.VideoPlatform&&t.VideoPlatform.PlayerHosting||"local";return JSON.stringify(i,void 0,2)},t}();i.default=s},aJ6b:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("wqBe"),u=n("xPTa"),a=n("j/Iz"),c=n("yf6s"),f=n("VVuu"),l=n("qkPt"),v=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e}return e(i,t),i.canUse=function(){return!h.userAgent.tv&&(a.default.is360Supported()&&t.canUse.call(this))},i.prototype.create=function(i){return t.prototype.create.call(this,i),this.WQ(),this.container},i.prototype.destroy=function(){this.ZQ(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.PR?(this.QQ(),t()):this.XQ=this.fO.addEventListener(o.THREE_SIXTY_READY,(function(){i.QQ(),t()}),this)},i.prototype.WQ=function(){var t=this;this.PR=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.JQ=document.createElement("div"),this.JQ.classList.add("vp-360-node"),this.JQ.style.position="absolute",this.container=document.createElement("div"),this.container.setAttribute("id",c.default.generateGuid()),this.container.classList.add("vp-360-video"),this.container.appendChild(this.node),this.container.appendChild(this.JQ),this.KQ().then((function(){t.$Q()})).catch((function(t){})))},i.prototype.KQ=function(){return new Promise((function(t,i){n.e(1).then(function(){r=n("Womt"),t(r)}.bind(null,n)).catch((function(t){i(t)}))}))},i.prototype.$Q=function(){this.tX=new r.PerspectiveCamera(70,16/9,.01,1e3),this.tX.target=new r.Vector3(0,0,0);var t=new r.SphereBufferGeometry(500,64,32);t.scale(-1,1,1);var i=new r.VideoTexture(this.node);i.minFilter=r.NearestFilter;var n=new r.MeshBasicMaterial({map:i}),s=new r.Mesh(t,n);this.iX=new r.Scene,this.iX.add(s),this.nX=new r.WebGLRenderer,this.nX.setPixelRatio(window.devicePixelRatio),this.JQ&&this.JQ.appendChild(this.nX.domElement),this.sX=new f.default(this.container),this.eX=0,this.rX=0,this.hX=!0,this.oX(),this.PR=!0,this.fO.publish(o.THREE_SIXTY_READY)},i.prototype.oX=function(){var t=this;this.uX=this.aX.bind(this),this.JV=this.cX.bind(this),this.fX=this.lX.bind(this),this.vX=this.dX.bind(this),this.KV=this.pX.bind(this),this.GF=this.mX.bind(this),this.container&&(this.container.addEventListener("mousedown",this.uX,!1),this.container.addEventListener("mousemove",this.JV,!1),this.container.addEventListener("mouseup",this.fX,!1),this.container.addEventListener("mouseover",this.vX,!1),this.container.addEventListener("mouseout",this.KV,!1),this.container.addEventListener("resize",this.GF,!1)),this.bX=this.sV.bind(this),this.yX=this.gX.bind(this),this.wX=this.EX.bind(this),this.node&&(this.node.addEventListener("pause",this.bX),this.node.addEventListener("playing",this.yX),this.node.addEventListener("seeked",this.wX)),this.sX&&this.sX.addClickListener(this.OX.bind(this)),this.AX={},this.AX[o.PLAYER_RESIZE]=this.fO.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t._X&&(i=window.screen.width,n=window.screen.height),t.TX(i,n)}),1)}),this),this.AX[o.FULLSCREEN_CHANGE]=this.fO.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t._X=!!i}),this),this.AX[o.PLAYER_DIMENSION_CHANGE]=this.fO.addEventListener(o.PLAYER_DIMENSION_CHANGE,(function(){var i,n,s;t.node&&t.node.parentNode&&((i=window.getComputedStyle(t.node.parentNode))&&(n=parseInt(i.getPropertyValue("width"),10),s=parseInt(i.getPropertyValue("height"),10)),n&&!isNaN(n)&&s&&!isNaN(s)&&t.TX(n,s))}),this)},i.prototype.OX=function(){this.eX=0,this.rX=0,this.SX(),this.sX&&this.sX.update(this.eX),this.fO.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.IX=function(){var t=this;this.AX&&Object.keys(this.AX).forEach((function(i){t.fO.removeEventListener(i,t.AX[i])})),this.uX&&(this.container&&this.container.removeEventListener("mousedown",this.uX,!1),this.uX=null),this.JV&&(this.container&&this.container.removeEventListener("mousemove",this.JV,!1),this.JV=null),this.fX&&(this.container&&this.container.removeEventListener("mouseup",this.fX,!1),this.fX=null),this.vX&&(this.container&&this.container.removeEventListener("mouseover",this.vX,!1),this.vX=null),this.GF&&(this.container&&this.container.removeEventListener("resize",this.GF,!1),this.GF=null),this.vX&&(this.container&&this.container.removeEventListener("mouseover",this.vX,!1),this.vX=null),this.bX&&(this.node&&this.node.removeEventListener("pause",this.bX),this.bX=null),this.yX&&(this.node&&this.node.removeEventListener("playing",this.yX),this.yX=null),this.wX&&(this.node&&this.node.removeEventListener("seeked",this.wX),this.wX=null),this.XQ&&(this.fO.removeEventListener(o.THREE_SIXTY_READY,this.XQ),this.XQ=null)},i.prototype.jX=function(){this.MX=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.NX&&(this.NX=!1,this.hX=!0)},i.prototype.TX=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.tX&&(this.tX.setViewOffset(t,i,t-n,i-s,n,s),this.tX.updateProjectionMatrix()),this.nX&&this.nX.setSize(t,i)},i.prototype.RX=function(){var t=this.RX.bind(this);if(this.hX&&this.DX)return window.cancelAnimationFrame(this.DX),void(this.DX=null);this.DX=window.requestAnimationFrame(t),this.SX()},i.prototype.SX=function(){this.rX=Math.max(-85,Math.min(85,this.rX));var t=r.Math.degToRad(90+this.rX),i=r.Math.degToRad(this.eX);this.tX&&(this.tX.position.x=500*Math.sin(t)*Math.cos(i),this.tX.position.y=500*Math.cos(t),this.tX.position.z=500*Math.sin(t)*Math.sin(i),this.tX.lookAt(this.tX.target),this.tX.position.copy(this.tX.target).negate(),this.iX&&this.nX&&this.nX.render(this.iX,this.tX))},i.prototype.ZQ=function(){this.DX&&window.cancelAnimationFrame(this.DX),this.hX=!0,this.IX(),this.sX&&(this.sX.destroy(),this.sX=null),this.JQ&&(this.JQ.parentNode&&this.JQ.parentNode.removeChild(this.JQ),this.JQ=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.tX=null,this.iX=null,this.nX=null},i.prototype.sV=function(){this.LX=!0,this.hX=!0},i.prototype.gX=function(){this.LX=!1,this.hX=!1,this.RX()},i.prototype.EX=function(){this.SX()},i.prototype.dX=function(){this.container&&this.container.classList.add("over-360")},i.prototype.aX=function(t){this.kX=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.MX=!0,this.CX=t.clientX,this.PX=t.clientY,this.xX=this.eX,this.UX=this.rX},i.prototype.cX=function(t){this.MX&&(this.LX&&!this.NX&&(this.NX=!0,this.hX=!1,this.RX()),this.kX=!0,this.eX=.1*(this.CX-t.clientX)+this.xX,this.rX=.1*(t.clientY-this.PX)+this.UX,this.sX&&this.sX.update(this.eX))},i.prototype.lX=function(){this.MX&&(this.jX(),this.kX?this.fO.publish(o.THREE_SIXTY_INTERACT):this.fO.publish(o.TOGGLE_PLAY_PAUSE)),this.kX=!1},i.prototype.pX=function(){this.jX()},i.prototype.mX=function(){this.container&&this.TX(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.QQ=function(){this.XQ&&(this.fO.removeEventListener(o.THREE_SIXTY_READY,this.XQ),this.XQ=null),!this.VX&&this.nX&&this.container&&(this.nX.setSize(this.container.offsetWidth,this.container.offsetHeight),this.VX=!0)},i.type=u.RendererType.HTML5_HLS_360,i}(l.default);i.default=v},aKiy:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("he5r"),e=function(){function t(t){this.AM=t}return t.prototype.play=function(t,i){this.AM.play(t,i)},t.prototype.pause=function(t){this.AM.pause(t)},t.prototype.preload=function(t){this.AM.preload(t)},t.prototype.seek=function(t){this.AM.seek(t)},t.prototype.disableControls=function(){this.AM.disableControls()},t.prototype.enableControls=function(){this.AM.enableControls()},t.prototype.enableCC=function(t){this.AM.enableCC(t)},t.prototype.disableCC=function(){this.AM.disableCC()},t.prototype.isPlaying=function(){return this.AM.isPlayMode()},t.prototype.isPlayMode=function(){return this.AM.isPlayMode()},t.prototype.getPlaybackState=function(){return this.AM.getPlaybackState()},t.prototype.isLoading=function(){return this.AM.isLoading()},t.prototype.getDuration=function(){var t=this.AM.getCurrentMediaItem();return t&&t.duration},t.prototype.getCurrentTime=function(){return this.AM.getCurrentTime()},t.prototype.getTimeRemaining=function(){return this.getDuration()-this.getCurrentTime()},t.prototype.setFullscreen=function(t){this.AM.setFullscreen(t)},t.prototype.getFullscreen=function(){return this.AM.getFullscreen()},t.prototype.setVolume=function(t){t=(t=t<0?0:t)>1?1:t,this.AM.setVolume(t)},t.prototype.getVolume=function(){return this.AM.getVolume()},t.prototype.setMute=function(t){this.AM.setMute(t)},t.prototype.getMute=function(){return this.AM.getMute()},t.prototype.setLoop=function(t){this.AM.setLoop(t)},t.prototype.setContinuousPlay=function(t){this.AM.setContinuousPlay(t)},t.prototype.resumeContinuousPlay=function(){this.AM.resumeContinuousPlay({type:s.REQUEST_TYPES.API})},t.prototype.getBitrate=function(){throw new Error("getBitrate is unimplemented!")},t.prototype.setResolution=function(){throw new Error("setResolution is unimplemented!")},t.prototype.displayClosedCaptions=function(){throw new Error("displayClosedCaptions is unimplemented!")},t.prototype.getCurrentDate=function(){return this.AM.getCurrentDate()},t.prototype.setAudioLanguage=function(t){this.AM.setAudioLanguage(t)},t}();i.default=e},aZDc:function(t,i,n){"use strict";var s=n("H0QZ"),e=s.ValidatorResult,r=s.SchemaError,h={ignoreProperties:{id:!0,default:!0,description:!0,title:!0,additionalItems:!0,then:!0,else:!0,$schema:!0,$ref:!0,extends:!0}},o=h.validators={};function u(t,i,n,s,e){var r=i.throwError,h=i.throwAll;i.throwError=!1,i.throwAll=!1;var o=this.validateSchema(t,e,i,n);return i.throwError=r,i.throwAll=h,!o.valid&&s instanceof Function&&s(o),o.valid}function a(t,i){if(Object.hasOwnProperty.call(t,i))return t[i];if(i in t)for(;t=Object.getPrototypeOf(t);)if(Object.propertyIsEnumerable.call(t,i))return t[i]}function c(t,i,n,s,e,r){if(this.types.object(t)&&(!i.properties||void 0===i.properties[e]))if(!1===i.additionalProperties)r.addError({name:"additionalProperties",argument:e,message:"is not allowed to have the additional property "+JSON.stringify(e)});else{var h=i.additionalProperties||{};"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,e,h,n,s);var o=this.validateSchema(t[e],h,n,s.makeChild(h,e));o.instance!==r.instance[e]&&(r.instance[e]=o.instance),r.importErrors(o)}}o.type=function(t,i,n,s){if(void 0===t)return null;var r=new e(t,i,n,s),h=Array.isArray(i.type)?i.type:[i.type];if(!h.some(this.testType.bind(this,t,i,n,s))){var o=h.map((function(t){if(t){var i=t.$id||t.id;return i?"<"+i+">":t+""}}));r.addError({name:"type",argument:o,message:"is not of a type(s) "+o})}return r},o.anyOf=function(t,i,n,s){if(void 0===t)return null;var h=new e(t,i,n,s),o=new e(t,i,n,s);if(!Array.isArray(i.anyOf))throw new r("anyOf must be an array");if(!i.anyOf.some(u.bind(this,t,n,s,(function(t){o.importErrors(t)})))){var a=i.anyOf.map((function(t,i){var n=t.$id||t.id;return n?"<"+n+">":t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+i+"]"}));n.nestedErrors&&h.importErrors(o),h.addError({name:"anyOf",argument:a,message:"is not any of "+a.join(",")})}return h},o.allOf=function(t,i,n,s){if(void 0===t)return null;if(!Array.isArray(i.allOf))throw new r("allOf must be an array");var h=new e(t,i,n,s),o=this;return i.allOf.forEach((function(i,e){var r=o.validateSchema(t,i,n,s);if(!r.valid){var u=i.$id||i.id||i.title&&JSON.stringify(i.title)||i.$ref&&"<"+i.$ref+">"||"[subschema "+e+"]";h.addError({name:"allOf",argument:{id:u,length:r.errors.length,valid:r},message:"does not match allOf schema "+u+" with "+r.errors.length+" error[s]:"}),h.importErrors(r)}})),h},o.oneOf=function(t,i,n,s){if(void 0===t)return null;if(!Array.isArray(i.oneOf))throw new r("oneOf must be an array");var h=new e(t,i,n,s),o=new e(t,i,n,s),a=i.oneOf.filter(u.bind(this,t,n,s,(function(t){o.importErrors(t)}))).length,c=i.oneOf.map((function(t,i){return t.$id||t.id||t.title&&JSON.stringify(t.title)||t.$ref&&"<"+t.$ref+">"||"[subschema "+i+"]"}));return 1!==a&&(n.nestedErrors&&h.importErrors(o),h.addError({name:"oneOf",argument:c,message:"is not exactly one from "+c.join(",")})),h},o.if=function(t,i,n,r){if(void 0===t)return null;if(!s.isSchema(i.if))throw new Error('Expected "if" keyword to be a schema');var h,o=u.call(this,t,n,r,null,i.if),a=new e(t,i,n,r);if(o){if(void 0===i.then)return;if(!s.isSchema(i.then))throw new Error('Expected "then" keyword to be a schema');h=this.validateSchema(t,i.then,n,r.makeChild(i.then)),a.importErrors(h)}else{if(void 0===i.else)return;if(!s.isSchema(i.else))throw new Error('Expected "else" keyword to be a schema');h=this.validateSchema(t,i.else,n,r.makeChild(i.else)),a.importErrors(h)}return a},o.propertyNames=function(t,i,n,h){if(this.types.object(t)){var o=new e(t,i,n,h),u=void 0!==i.propertyNames?i.propertyNames:{};if(!s.isSchema(u))throw new r('Expected "propertyNames" to be a schema (object or boolean)');for(var c in t)if(void 0!==a(t,c)){var f=this.validateSchema(c,u,n,h.makeChild(u));o.importErrors(f)}return o}},o.properties=function(t,i,n,s){if(this.types.object(t)){var h=new e(t,i,n,s),o=i.properties||{};for(var u in o){var c=o[u];if(void 0!==c){if(null===c)throw new r('Unexpected null, expected schema in "properties"');"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,u,c,n,s);var f=a(t,u),l=this.validateSchema(f,c,n,s.makeChild(c,u));l.instance!==h.instance[u]&&(h.instance[u]=l.instance),h.importErrors(l)}}return h}},o.patternProperties=function(t,i,n,s){if(this.types.object(t)){var h=new e(t,i,n,s),o=i.patternProperties||{};for(var u in t){var a=!0;for(var f in o){var l=o[f];if(void 0!==l){if(null===l)throw new r('Unexpected null, expected schema in "patternProperties"');try{var v=new RegExp(f,"u")}catch(t){v=new RegExp(f)}if(v.test(u)){a=!1,"function"==typeof n.preValidateProperty&&n.preValidateProperty(t,u,l,n,s);var d=this.validateSchema(t[u],l,n,s.makeChild(l,u));d.instance!==h.instance[u]&&(h.instance[u]=d.instance),h.importErrors(d)}}}a&&c.call(this,t,i,n,s,u,h)}return h}},o.additionalProperties=function(t,i,n,s){if(this.types.object(t)){if(i.patternProperties)return null;var r=new e(t,i,n,s);for(var h in t)c.call(this,t,i,n,s,h,r);return r}},o.minProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);return Object.keys(t).length>=i.minProperties||r.addError({name:"minProperties",argument:i.minProperties,message:"does not meet minimum property length of "+i.minProperties}),r}},o.maxProperties=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);return Object.keys(t).length<=i.maxProperties||r.addError({name:"maxProperties",argument:i.maxProperties,message:"does not meet maximum property length of "+i.maxProperties}),r}},o.items=function(t,i,n,s){var r=this;if(this.types.array(t)&&i.items){var h=new e(t,i,n,s);return t.every((function(t,e){var o=Array.isArray(i.items)?i.items[e]||i.additionalItems:i.items;if(void 0===o)return!0;if(!1===o)return h.addError({name:"items",message:"additionalItems not permitted"}),!1;var u=r.validateSchema(t,o,n,s.makeChild(o,e));return u.instance!==h.instance[e]&&(h.instance[e]=u.instance),h.importErrors(u),!0})),h}},o.minimum=function(t,i,n,s){if(this.types.number(t)){var r=new e(t,i,n,s);return i.exclusiveMinimum&&!0===i.exclusiveMinimum?t>i.minimum||r.addError({name:"minimum",argument:i.minimum,message:"must be greater than "+i.minimum}):t>=i.minimum||r.addError({name:"minimum",argument:i.minimum,message:"must be greater than or equal to "+i.minimum}),r}},o.maximum=function(t,i,n,s){if(this.types.number(t)){var r=new e(t,i,n,s);return i.exclusiveMaximum&&!0===i.exclusiveMaximum?t<i.maximum||r.addError({name:"maximum",argument:i.maximum,message:"must be less than "+i.maximum}):t<=i.maximum||r.addError({name:"maximum",argument:i.maximum,message:"must be less than or equal to "+i.maximum}),r}},o.exclusiveMinimum=function(t,i,n,s){if("boolean"!=typeof i.exclusiveMaximum&&this.types.number(t)){var r=new e(t,i,n,s);return t>i.exclusiveMinimum||r.addError({name:"exclusiveMinimum",argument:i.exclusiveMinimum,message:"must be strictly greater than "+i.exclusiveMinimum}),r}},o.exclusiveMaximum=function(t,i,n,s){if("boolean"!=typeof i.exclusiveMaximum&&this.types.number(t)){var r=new e(t,i,n,s);return t<i.exclusiveMaximum||r.addError({name:"exclusiveMaximum",argument:i.exclusiveMaximum,message:"must be strictly less than "+i.exclusiveMaximum}),r}};var f=function(t,i,n,h,o,u){if(this.types.number(t)){var a=i[o];if(0==a)throw new r(o+" cannot be zero");var c=new e(t,i,n,h),f=s.getDecimalPlaces(t),l=s.getDecimalPlaces(a),v=Math.max(f,l),d=Math.pow(10,v);return Math.round(t*d)%Math.round(a*d)!=0&&c.addError({name:o,argument:a,message:u+JSON.stringify(a)}),c}};function l(t,i,n){var e,r=n.length;for(e=i+1;e<r;e++)if(s.deepCompareStrict(t,n[e]))return!1;return!0}o.multipleOf=function(t,i,n,s){return f.call(this,t,i,n,s,"multipleOf","is not a multiple of (divisible by) ")},o.divisibleBy=function(t,i,n,s){return f.call(this,t,i,n,s,"divisibleBy","is not divisible by (multiple of) ")},o.required=function(t,i,n,s){var r=new e(t,i,n,s);return void 0===t&&!0===i.required?r.addError({name:"required",message:"is required"}):this.types.object(t)&&Array.isArray(i.required)&&i.required.forEach((function(i){void 0===a(t,i)&&r.addError({name:"required",argument:i,message:"requires property "+JSON.stringify(i)})})),r},o.pattern=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s),h=i.pattern;try{var o=new RegExp(h,"u")}catch(t){o=new RegExp(h)}return t.match(o)||r.addError({name:"pattern",argument:i.pattern,message:"does not match pattern "+JSON.stringify(i.pattern.toString())}),r}},o.format=function(t,i,n,r){if(void 0!==t){var h=new e(t,i,n,r);return h.disableFormat||s.isFormat(t,i.format,this)||h.addError({name:"format",argument:i.format,message:"does not conform to the "+JSON.stringify(i.format)+" format"}),h}},o.minLength=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s),h=t.match(/[\uDC00-\uDFFF]/g);return t.length-(h?h.length:0)>=i.minLength||r.addError({name:"minLength",argument:i.minLength,message:"does not meet minimum length of "+i.minLength}),r}},o.maxLength=function(t,i,n,s){if(this.types.string(t)){var r=new e(t,i,n,s),h=t.match(/[\uDC00-\uDFFF]/g);return t.length-(h?h.length:0)<=i.maxLength||r.addError({name:"maxLength",argument:i.maxLength,message:"does not meet maximum length of "+i.maxLength}),r}},o.minItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.length>=i.minItems||r.addError({name:"minItems",argument:i.minItems,message:"does not meet minimum length of "+i.minItems}),r}},o.maxItems=function(t,i,n,s){if(this.types.array(t)){var r=new e(t,i,n,s);return t.length<=i.maxItems||r.addError({name:"maxItems",argument:i.maxItems,message:"does not meet maximum length of "+i.maxItems}),r}},o.uniqueItems=function(t,i,n,s){if(!0===i.uniqueItems&&this.types.array(t)){var r=new e(t,i,n,s);return t.every(l)||r.addError({name:"uniqueItems",message:"contains duplicate item"}),r}},o.dependencies=function(t,i,n,s){if(this.types.object(t)){var r=new e(t,i,n,s);for(var h in i.dependencies)if(void 0!==t[h]){var o=i.dependencies[h],u=s.makeChild(o,h);if("string"==typeof o&&(o=[o]),Array.isArray(o))o.forEach((function(i){void 0===t[i]&&r.addError({name:"dependencies",argument:u.propertyPath,message:"property "+i+" not found, required by "+u.propertyPath})}));else{var a=this.validateSchema(t,o,n,u);r.instance!==a.instance&&(r.instance=a.instance),a&&a.errors.length&&(r.addError({name:"dependencies",argument:u.propertyPath,message:"does not meet dependency required by "+u.propertyPath}),r.importErrors(a))}}return r}},o.enum=function(t,i,n,h){if(void 0===t)return null;if(!Array.isArray(i.enum))throw new r("enum expects an array",i);var o=new e(t,i,n,h);return i.enum.some(s.deepCompareStrict.bind(null,t))||o.addError({name:"enum",argument:i.enum,message:"is not one of enum values: "+i.enum.map(String).join(",")}),o},o.const=function(t,i,n,r){if(void 0===t)return null;var h=new e(t,i,n,r);return s.deepCompareStrict(i.const,t)||h.addError({name:"const",argument:i.const,message:"does not exactly match expected constant: "+i.const}),h},o.not=o.disallow=function(t,i,n,s){var r=this;if(void 0===t)return null;var h=new e(t,i,n,s),o=i.not||i.disallow;return o?(Array.isArray(o)||(o=[o]),o.forEach((function(e){if(r.testType(t,i,n,s,e)){var o=e&&(e.$id||e.id)||e;h.addError({name:"not",argument:o,message:"is of prohibited type "+o})}})),h):null},t.exports=h},ablw:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("EOV8"),e=n("rBpt"),r=e.TypeChecker.isArray;i.isArray=r;var h=e.TypeChecker.isBoolean;i.isBoolean=h;var o=e.TypeChecker.isFunction;i.isFunction=o;var u=e.TypeChecker.isNullOrUndefined;i.isNullOrUndefined=u;var a=e.TypeChecker.isNumber;i.isNumber=a;var c=e.TypeChecker.isString;i.isString=c;var f=e.TypeChecker.isObject;i.isObject=f;var l=e.TypeChecker.isNonEmptyString;function v(t){return!!t&&o(t.onPlayerEvent)}function d(t){return!!t&&((t.type===s.PluginType.METADATA||t.type===s.PluginType.SOURCE_METADATA||t.type===s.PluginType.AD||t.type===s.PluginType.VISUAL_SEEK||t.type===s.PluginType.BRANDING||t.type===s.PluginType.PLAYLIST)&&c(t.mimetype)&&c(t.version)&&o(t.prepare)&&o(t.destroy))}function p(t){return!!t&&o(t.addEventListener)&&o(t.removeEventListener)}function m(t){return p(t)&&["getCapabilities","preparePlayback","play","pause","seek","stop","skip","mute","isMuted","setVolume","getVolume","getCurrentTime","getDuration","unload"].every((function(i){return o(t[i])}))}function b(t){return!!t&&m(t)}function y(t){return!!t&&p(t)&&["setNonlinearAdContainer"].every((function(i){return o(t[i])}))}function g(t){return p(t)&&v(t)&&["canRenderUI","renderUI","unrenderUI"].every((function(i){return o(t[i])}))}function w(t){return!!t&&o(t.fetchAdBreaks)&&o(t.resolveAdBreak)&&p(t)}i.isNonEmptyString=l,i.isPlayerPluginEventListener=v,i.isPlugin=d,i.isEventDispatcher=p,i.isExternalPlayer=m,i.isAdPlayerAdPlugin=b,i.isAdOverlayRendererAdPlugin=y,i.isAdViewAdPlugin=g,i.isAdResolverAdPlugin=w,i.isAdPlugin=function(t){return!!t&&d(t)&&(w(t)||g(t)||b(t)||y(t))}},afoZ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=n("6N1G"),r=function(){function t(){var t=this;this.BX=[],this.FX=new e.default(Object.create(s.Player.prototype),{get:function(i,n){var s=t;return function(){s.BX.push({method:n,args:arguments}),"render"===n&&arguments.length>0&&s.dO.call(s,arguments[0])}}})}return t.prototype.destroy=function(){var t=this.zX;this.FX=void 0,this.BX=[],t&&t.parentNode&&(t.parentNode.removeChild(t),this.zX=void 0)},t.prototype.execute=function(t){this.BX.forEach((function(i){var n=i.method,s=i.args;t[n].apply(t,s)})),this.BX=[]},t.prototype.getProxy=function(){return this.FX},t.prototype.dO=function(t){var i="string"==typeof t?document.querySelector(t):t;if(null!==i&&i instanceof window.HTMLElement){var n=document.createElement("div");n.setAttribute("style","width:100%;height:100%;background:#000;position:absolute;left:0;top:0;"),i.appendChild(n),this.zX=n}},t}();i.default=r},ap5D:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.XHR_TIMEOUT=i.XHR_CORS=i.XHR_ERROR=void 0;var s=n("ToqN"),e=n("7sdD"),r=n("38mS"),h=n("HyJy");i.XHR_ERROR="XHR error",i.XHR_CORS="XHR CORS",i.XHR_TIMEOUT="XHR request timed out";var o=function(){function t(){}return t.ajax=function(t,n){t=h.default.fixProtocol(t);var o=h.default.getWindow(),u=n.context,a=n.responseTypeJson,c=n.withCookie,f=n.timeout||3e3,l=h.default.once(n.successHandler),v=h.default.once(n.failureHandler),d=!1,p=null,m={url:t,cors:s.userAgent.ie&&s.userAgent.ie<10||c,withCredentials:c,timeout:f,responseType:n.responseType,headers:n.headers,method:n.method,body:n.body,beforeSend:n.beforeSend};if(u&&l&&v){var b=(new Date).getTime(),y=e.default(m,(function(s,e,h){var c,m;if(!d){if(n.collectPerfData){if(p={},r.isFunction(y.getResponseHeader)&&(p.resp_len=y.getResponseHeader("Content-Length")||"na"),o.performance&&o.performance.getEntriesByName){var g=0===t.indexOf("http")?t:location.protocol+t;p.resourceTiming=o.performance.getEntriesByName(g).pop(),p.resourceTimingEntries=o.performance.getEntries()}p.http_code=e.statusCode}if(e.timeDiff=(new Date).getTime()-b,s){var w=null;r.isFunction(y.getResponseHeader)&&(w=y.getResponseHeader("Access-Control-Allow-Origin"));var E=o.location.protocol+"//"+o.location.host;if(w&&w!==E){var O=i.XHR_CORS+": originHeader ="+(w||"")+": myOrigin ="+E;v.call(u,new Error(O),"default","cors")}else{var A=e.timeDiff>=f?i.XHR_TIMEOUT:i.XHR_ERROR;v.call(u,new Error(A+": timeDiff ="+e.timeDiff),(null==e?void 0:e.previousState)||(null===(c=null==e?void 0:e.rawRequest)||void 0===c?void 0:c.previousState),e.statusCode,e.timeDiff,p,y)}}else e.statusCode<200||e.statusCode>=300?v.call(u,new Error(i.XHR_ERROR+": statusCode = "+e.statusCode),(null==e?void 0:e.previousState)||(null===(m=null==e?void 0:e.rawRequest)||void 0===m?void 0:m.previousState),e.statusCode,e.timeDiff,p,y):l.call(u,a?JSON.parse(h):h,!1,p,y)}}));y.previousState=y.readyState;var g=y.onreadystatechange;y.onreadystatechange=function(){4===y.readyState?g.call(y):y.previousState=y.readyState}}return function(){d=!0}},t.preconnect=function(t,i){if(document&&!document.head.querySelector("#"+t)){var n=document.createElement("link");n.setAttribute("rel","preconnect"),n.setAttribute("id",t),n.setAttribute("href",i);var s=document.getElementsByTagName("head")[0];s&&s.appendChild(n)}},t}();i.default=o},b3J1:function(t,i,n){"use strict";function s(t){this.HX=t,this.rE=null,this.qX=!1,this.GX=0,this.YX=[],this.WX=null,this.ZX=0,this.QX=0,this.XX=0,this.JX=[],this.KX=0,this.$X=0,this.tJ=0,this.iJ=!1,this.nJ=4}t.exports=s,s.prototype.destroy=function(){this.HX=null},s.prototype.parse=function(t,i){this.rE=i;for(var n=0;n<t.length;n++)this.sJ(t[n]);this.rE=null},s.prototype.sJ=function(t){if(this.eJ(t.data1)&&this.eJ(t.data2)&&(this.tJ=t.pts/t.timescale,t.data1&=127,t.data2&=127,0!==t.data1||0!==t.data2))if(t.data1>=1&&t.data1<=14&&1===t.fieldType&&(this.qX=!0),15===t.data1&&this.qX&&1===t.fieldType)this.qX=!1;else{if(t.data1>=16&&t.data1<31){if(this.rJ(t.data1,t.data2))return;if(8!=(8&t.data1)&&0===t.fieldType?this.hJ(0):8==(8&t.data1)&&0===t.fieldType?this.hJ(1):8!=(8&t.data1)&&1===t.fieldType?this.hJ(2):8==(8&t.data1)&&1===t.fieldType&&this.hJ(3),null===this.WX)return;this.oJ(t),this.uJ(t),this.aJ(t);var i=119&t.data1;17===i&&48==(112&t.data2)?this.cJ(15&t.data2):18!==i&&26!==i||64&t.data2?19!==i&&27!==i||64&t.data2||this.fJ(63&t.data2):this.lJ(63&t.data2)}else{if(this.qX&&1===t.fieldType)return;if(t.data1>=32&&t.data1<=126){if(0===t.fieldType&&2===this.GX?this.hJ(0):0===t.fieldType&&3===this.GX?this.hJ(1):1===t.fieldType&&0===this.GX?this.hJ(2):1===t.fieldType&&1===this.GX&&this.hJ(3),null===this.WX)return;var n=this.vJ(t.data1);if(this.WX.appendChar(n),t.data2>=32&&t.data2<=126){var s=this.vJ(t.data2);this.WX.appendChar(s)}}}this.ZX=t.data1,this.QX=t.data2}},s.prototype.oJ=function(t){var i=119&t.data1,n=96&t.data2;17===i&&64===n?(this.WX.startNewRow(1),this.dJ(t.data2)):17===i&&96===n?(this.WX.startNewRow(2),this.dJ(t.data2)):18===i&&64===n?(this.WX.startNewRow(3),this.dJ(t.data2)):18===i&&96===n?(this.WX.startNewRow(4),this.dJ(t.data2)):21===i&&64===n?(this.WX.startNewRow(5),this.dJ(t.data2)):21===i&&96===n?(this.WX.startNewRow(6),this.dJ(t.data2)):22===i&&64===n?(this.WX.startNewRow(7),this.dJ(t.data2)):22===i&&96===n?(this.WX.startNewRow(8),this.dJ(t.data2)):23===i&&64===n?(this.WX.startNewRow(9),this.dJ(t.data2)):23===i&&96===n?(this.WX.startNewRow(10),this.dJ(t.data2)):16===i&&64===n?(this.WX.startNewRow(11),this.dJ(t.data2)):19===i&&64===n?(this.WX.startNewRow(12),this.dJ(t.data2)):19===i&&96===n?(this.WX.startNewRow(13),this.dJ(t.data2)):20===i&&64===n?(this.WX.startNewRow(14),this.dJ(t.data2)):20===i&&96===n&&(this.WX.startNewRow(15),this.dJ(t.data2))},s.prototype.uJ=function(t){17===(119&t.data1)&&32==(112&t.data2)&&(this.dJ(t.data2),this.WX.appendChar(" "))},s.prototype.aJ=function(t){var i=119&t.data1;20===i&&32===t.data2?this.WX.setMode(e.POP_ON_MODE):20===i&&33===t.data2?this.WX.backspace():20===i&&36===t.data2?this.WX.clearEndOfRow():20===i&&37===t.data2?this.WX.setMode(e.ROLL_UP_MODE,2):20===i&&38===t.data2?this.WX.setMode(e.ROLL_UP_MODE,3):20===i&&39===t.data2?this.WX.setMode(e.ROLL_UP_MODE,4):20===i&&41===t.data2?this.WX.setMode(e.PAINT_ON_MODE):20===i&&44===t.data2?this.WX.eraseDisplayMemory():20===i&&45===t.data2?this.WX.linebreak():20===i&&46===t.data2?this.WX.eraseNondisplayMemory():20===i&&47===t.data2?this.WX.endOfCaption():23===i&&33===t.data2?this.WX.setIndent(1):23===i&&34===t.data2?this.WX.setIndent(2):23===i&&35===t.data2&&this.WX.setIndent(3)},s.prototype.cJ=function(t){var i=["®","°","½","¿","™","¢","£","♪","à"," ","è","â","ê","î","ô","û"],n=t;n<0||n>=i.length||this.WX.appendChar(i[n])},s.prototype.lJ=function(t){var i=["Á","É","Ó","Ú","Ü","ü","´","¡","*","'","-","©","℠","·",'"','"',"À","Â","Ç","È","Ê","Ë","ë","Î","Ï","ï","Ô","Ù","ù","Û","«","»"],n=t-32;n<0||n>=i.length||this.WX.appendChar(i[n])},s.prototype.fJ=function(t){var i=["Ã","ã","Í","Ì","ì","Ò","ò","Õ","õ","{","}","\\","^","_","|","~","Ä","ä","Ö","ö","ß","¥","¤","¦","Å","å","Ø","ø","┌","┐","└","┘"],n=t-32;n<0||n>=i.length||this.WX.appendChar(i[n])},s.prototype.eJ=function(t){return[0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0][t]},s.prototype.vJ=function(t){return 42===t?"á":92===t?"é":94===t?"í":95===t?"ó":96===t?"ú":123===t?"ç":124===t?"÷":125===t?"Ñ":126===t?"ñ":String.fromCharCode(t)},s.prototype.rJ=function(t,i){return this.ZX===t&&this.QX===i},s.prototype.dJ=function(t){if(16==(16&t)){var i=0;0==(14&t)?i=0:2==(14&t)?i=4:4==(14&t)?i=8:6==(14&t)?i=12:8==(14&t)?i=16:10==(14&t)?i=20:12==(14&t)?i=24:14==(14&t)&&(i=28),this.WX.setColumn(i)}else 14==(14&t)&&this.WX.setItalic();1==(1&t)&&this.WX.setUnderlined()},s.prototype.hJ=function(t){this.YX[t]||(this.YX[t]=new r(t,this.onFlipMemories.bind(this),this.onEraseDisplayMemory.bind(this),this.onLinebreak.bind(this))),this.GX=t,this.WX=this.YX[t]},s.prototype.getChannel=function(t){return this.YX[t]},s.prototype.translate608RowToVTTLine=function(t){var i=[10,15.33,20.66,26,31.33,36.66,42,47.33,52.66,58,63.33,68.66,74,79.33,84.66];return t<1||t>i.length?i[0]:i[t-1]},s.prototype.translate608ColumnToVTTPosition=function(t){var i=0;return t<=4?i=10:t>=5&&t<=8?i=20:t>=9&&t<=12?i=30:t>=13&&t<=16?i=40:t>=17&&t<=20?i=50:t>=21&&t<=24?i=60:t>=25&&t<=29?i=70:t>=29&&(i=80),i},s.prototype.onFlipMemories=function(t){this.iJ&&this.onEraseDisplayMemory(t);var i=this.getChannel(t);if(i.getMode()===e.POP_ON_MODE){if(this.KX=this.tJ,t===this.XX){var n=this.JX;this.JX=i.getCaptionRows(),i.setCaptionRows(n);for(var s=0;s<this.JX.length;s++)this.JX[s]&&this.JX[s].hasCaptionData()&&(this.iJ=!0)}i.eraseNondisplayMemory()}},s.prototype.pJ=function(t,i){var n=[];n.push("snapToLines:false"),n.push("align:start");var s="line:"+this.translate608RowToVTTLine(i)+"%";n.push(s);var e="position:"+this.translate608ColumnToVTTPosition(t)+"%";return n.push(e),n},s.prototype.mJ=function(t,i,n){for(var s=i[t].toString();t<i.length-1;){var e=i[t+1];if(e&&e.hasCaptionData()){var r=e.toString();r.length>0&&(s+="\n"+r),n&&e.reset(),t++}else t++}return{rowIdx:t,rowText:s}},s.prototype.onEraseDisplayMemory=function(t){var i=this.getChannel(t),n=i.getMode();if(t===this.XX){if(n===e.POP_ON_MODE){this.$X=this.tJ;for(var s=0;s<this.JX.length;s++){var r=this.JX[s];if(r&&r.hasCaptionData()){var h=r.getStartPosition(),o=this.pJ(h,s+1),u=this.mJ(s,this.JX,!0);s=u.rowIdx;var a=u.rowText;this.$X-this.KX>this.nJ&&(this.$X=this.KX+this.nJ),this.bJ(a,o),this.KX+=.001,r.reset()}}}else n===e.ROLL_UP_MODE||n===e.PAINT_ON_MODE?(-1!==this.KX&&0!==this.KX||(this.KX=this.tJ),this.$X>this.KX&&(this.KX=this.$X),this.yJ(t),i.eraseNondisplayMemory()):n&&i.eraseNondisplayMemory();this.iJ=!1}else i.eraseNondisplayMemory()},s.prototype.onLinebreak=function(t){if(t===this.XX){var i=this.getChannel(t).getMode();i!==e.ROLL_UP_MODE&&i!==e.PAINT_ON_MODE||(-1!==this.KX&&0!==this.KX||(this.KX=this.tJ),this.$X>this.KX&&(this.KX=this.$X),this.yJ(t))}},s.prototype.yJ=function(t){for(var i=this.getChannel(t).getCaptionRows(),n=0;n<i.length;n++){var s=i[n];if(s&&s.hasCaptionData()){var e=this.pJ(12,n),r=this.mJ(n,i,!1);n=r.rowIdx;var h=r.rowText;this.$X=this.KX+1.5,this.bJ(h,e),this.KX+=.001}}this.KX=-1},s.prototype.bJ=function(t,i){var n="WEBVTT\nX-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0\n\n";n+=this.gJ(this.KX),n+=" --\x3e ",n+=this.gJ(this.$X);for(var s=0;s<i.length;s++)n+=" "+i[s];if(n+="\n",n+=t+"\n",this.HX){var e={discontinuity:this.rE.discontinuity,sequenceNum:this.rE.seqNum,startTime:this.rE.startTime,programDateTime:this.rE.programDateTime,url:this.rE.url,duration:this.rE.duration,clockReference:0,localCueTime:0,mpegTSTime:0,data:n,offset:0,adjustedTime:0};this.HX(e)}},s.prototype.gJ=function(t){var i=Math.floor(t/60/60);i=this.wJ(i);var n=Math.floor(t/60%60);n=this.wJ(n);var s=(t%60).toFixed(3);return i+":"+n+":"+(s=this.wJ(s))},s.prototype.wJ=function(t){return t<10&&(t="0"+t),t};var e={POP_ON_MODE:0,ROLL_UP_MODE:1,PAINT_ON_MODE:3};function r(t,i,n,s){this.EJ=t,this.OJ=0,this.AJ=[],this._J=null,this.TJ=null,this.QY=null,this.SJ=i,this.IJ=n,this.jJ=s}function h(){this.MJ=32,this.NJ=-1,this.RJ=!1,this.DJ=!1,this.LJ=0,this.kJ=[],this.MAX_CHARS=32}function o(){this.character="",this.isUnderlined=!1,this.isItalic=!1}r.prototype.setMode=function(t,i){this.QY=t,i<2?i=2:i>4&&(i=4),this.OJ=i},r.prototype.getMode=function(){return this.QY},r.prototype.CJ=function(t){if(!(t<1||t>15)){(t<this.OJ||null===this._J)&&(this._J=this.OJ);for(var i=this.AJ[0],n=0;n<this.AJ.length;n++)n<this.AJ.length-1?this.AJ[n]=this.AJ[n+1]:this.AJ[n]=i,(n>this._J||this._J-this.OJ>0&&n<this._J-this.OJ)&&this.AJ[n]&&this.AJ[n].reset()}},r.prototype.PJ=function(){this.jJ&&this.jJ(this.EJ)},r.prototype.startNewRow=function(t){if(!(t<1||t>15)){this.QY===e.ROLL_UP_MODE?this.CJ(t):this.QY===e.PAINT_ON_MODE&&this.PJ(),this._J=t,this.TJ=this.getCaptionRow(t),this.TJ.reset()}},r.prototype.getCaptionRows=function(){return this.AJ},r.prototype.setCaptionRows=function(t){this.AJ=t},r.prototype.setIndent=function(t){this.TJ&&this.TJ.tabIndex(t)},r.prototype.setColumn=function(t){this.TJ&&this.TJ.columnIndex(t)},r.prototype.setItalic=function(){this.TJ&&this.TJ.setIsItalic(!0)},r.prototype.setUnderlined=function(){this.TJ&&this.TJ.setIsUnderlined(!0)},r.prototype.appendChar=function(t){this.TJ&&this.TJ.writeChar(t)},r.prototype.linebreak=function(){this.jJ&&this.jJ(this.EJ)},r.prototype.eraseNondisplayMemory=function(){for(var t=0;t<this.AJ.length;t++)this.AJ[t]&&this.AJ[t].reset()},r.prototype.clearEndOfRow=function(){this.TJ&&this.TJ.clearToEnd()},r.prototype.backspace=function(){this.TJ&&this.TJ.backspace()},r.prototype.eraseDisplayMemory=function(){this.IJ(this.EJ)},r.prototype.endOfCaption=function(){this.SJ(this.EJ)},r.prototype.getCaptionRow=function(t){if(t<1||t>15)return null;var i=t-1;return this.AJ[i]||(this.AJ[i]=new h),this.AJ[i]},h.prototype.reset=function(){this.DJ=!1,this.RJ=!1;for(var t=0;t<this.kJ.length;t++)this.kJ[t]&&this.kJ[t].reset();this.LJ=0,this.MJ=32,this.NJ=-1},h.prototype.clearToEnd=function(){for(var t=this.LJ;t<this.kJ.length;t++)this.kJ[t]&&this.kJ[t].reset()},h.prototype.columnIndex=function(t){t<0||t>=this.MAX_CHARS||(this.LJ=t)},h.prototype.tabIndex=function(t){this.xJ(t)},h.prototype.writeChar=function(t){var i=this.kJ[this.LJ];i||(this.kJ[this.LJ]=new o,i=this.kJ[this.LJ]),i.setValue(t,this.DJ,this.RJ),this.LJ<this.MJ&&(this.MJ=this.LJ),this.LJ>this.NJ&&(this.NJ=this.LJ),this.xJ(1)},h.prototype.backspace=function(){this.LJ>0&&(this.kJ[this.LJ].reset(),this.LJ--)},h.prototype.xJ=function(t){this.LJ+t<this.MAX_CHARS?this.LJ+=t:this.LJ=this.MAX_CHARS-1},h.prototype.setIsItalic=function(t){this.DJ=t},h.prototype.setIsUnderlined=function(t){this.RJ=t},h.prototype.hasCaptionData=function(){return 32!==this.MJ||-1!==this.NJ},h.prototype.getCharacterAt=function(t){return t<0||t>=this.MAX_CHARS?null:this.kJ[t]},h.prototype.getStartPosition=function(){return this.MJ},h.prototype.getEndPosition=function(){return this.NJ},h.prototype.toString=function(){var t="",i=!1,n=!1;if(this.hasCaptionData())for(var s=this.MJ;s<=this.NJ;s++){var e=this.getCharacterAt(s);e.isItalic&&!n?(t+="<i>",n=!0):n&&!e.isItalic&&(t+="</i>",n=!1),e.isUnderlined&&!i?(t+="<u>",i=!0):i&&!e.isUnderlined&&(t+="</u>",i=!1),"&"===e.character?t+="&amp;":"<"===e.character?t+="&lt;":">"===e.character?t+="&gt;":t+=e.character}return i&&(t+="</u>",i=!1),n&&(t+="</i>",n=!1),t},o.prototype.reset=function(){this.character="",this.isItalic=!1,this.isUnderlined=!1},o.prototype.setValue=function(t,i,n){this.character=t,this.isItalic=i,this.isUnderlined=n}},b8vU:function(t,i,n){"use strict";t.exports=d;var s=n("zY0b"),e=n("juTp"),r=n("D8uh"),h=n("bpRV"),o=n("lx8G"),u=n("PAFL"),a=n("mvD1"),c=n("AbTv"),f=n("rzFi"),l=n("w4Wb").NAL_UNIT_TYPES,v=n("HNSW").StreamTypes;function d(t){r.call(this,this.constructor.name),this.ZM=null,this.ZE=t,this.UJ=new u,this.jV=new o,this.VJ=new f}e.inherits(d,r),d.prototype.destroy=function(){this.ZM=null,this.jV.destroy(),this.VJ.destroy(),r.prototype.destroy.call(this)},d.prototype.setSource=function(t){this.nN=t,this.sN()},d.prototype.sN=function(){var t=this;t.nN&&(t.nN.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.nN.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.nN.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},d.prototype.close=function(){this.ZM=null},d.prototype.append=function(t){if(t){var i=t.length;if(i){var n=null,s=0;this.ZM&&(s=(n=this.ZM).length);var e=s+i;this.ZM=new Uint8Array(e),n&&this.ZM.set(n),this.ZM.set(t,s),this.BJ()}}},d.prototype.BJ=function(){for(;this.ZM&&this.ZM.length>=8;){var t=this.ZM.length,i=new DataView(this.ZM.buffer),n=this.jV.parse(this.ZM,"styp"),s=this.jV.parse(this.ZM,"emsg"),e=this.jV.parse(this.ZM,"moof"),r=this.jV.parse(this.ZM,"ftyp"),o=this.jV.parse(this.ZM,"moov");if(r&&o){this.ZE.userAgent.android&&this.FJ();var u=[];r&&u.push(r),o&&u.push(o);var a=this.zJ(u),c=this.HJ(u),f=new Uint8Array(this.ZM.buffer.slice(a,c));this.publish(h.DATA_PROCESS_PROGRESS,{position:"init",data:f}),this.ZM.length>c?this.ZM=new Uint8Array(this.ZM.buffer.slice(c)):this.ZM=null}else{if(!e)return;var l=this.jV.findBoxOffset(i,"mdat");if(l<0)return;var d=this.jV.parseHeader(i,"mdat",l),p=[];n&&p.push(n),s&&p.push(s),e&&p.push(e),d&&p.push(d);var m=this.zJ(p),b=this.HJ(p);if(t<b)return;var y=this.qJ(),g=this.ZE.timescale,w=this.GJ(),E=this.YJ(),O=this.WJ(w,y);if(this.ZE.dash){var A=Math.round(this.ZE.startTime*g),_=this.ZE.segDuration*g;E!==A&&(E=A,this.ZJ(E)),O!==_&&(this.QJ(w,_),O=_)}var T=null;this.ZE.type!==v.MAIN&&this.ZE.type!==v.VIDEO||(T=this.XJ(l,w,E,g));var S=new Uint8Array(this.ZM.buffer.slice(m,b));this.QM="firstByte"===this.QM?"start":"middle",this.publish(h.DATA_PROCESS_PROGRESS,{position:this.QM,data:S,cea608TrackData:T,baseTime:E,defaultSampleDuration:y,totalDuration:O,samples:w.samples}),this.ZE.dash&&s&&this.JJ(s),this.ZM.length>b?this.ZM=new Uint8Array(this.ZM.buffer.slice(b)):this.ZM=null}}},d.prototype.endOfSegment=function(){this.BJ(),this.publish(h.DATA_PROCESS_COMPLETE)},d.prototype.zJ=function(t){if(!t||!t.length)return 0;var i=Number.POSITIVE_INFINITY;return t.forEach((function(t){i=Math.min(i,t.boxOffset)})),i},d.prototype.HJ=function(t){if(!t||!t.length)return 0;var i=0,n=t[0];return t.forEach((function(t){i<t.boxOffset&&(i=t.boxOffset,n=t)})),n.boxOffset+n.boxSize},d.prototype.YJ=function(){var t=this.jV.parse(this.ZM,"tfdt");return t?t.baseMediaDecodeTime:0},d.prototype.ZJ=function(t){this.jV.setSingleProp(this.ZM,"tfdt",{name:"baseMediaDecodeTime",value:t,length:32})},d.prototype.QJ=function(t,i){if(t&&t.totalDuration){var n=i-t.totalDuration,s=t.samples[t.samples.length-1].duration+n;s<0&&(s=0),this.jV.setSingleProp(this.ZM,"trun",{name:"sampleDuration",value:s,length:32,pos:-1})}},d.prototype.qJ=function(){var t=this.jV.parse(this.ZM,"tfhd");return t&&t.defaultSampleDuration>0?t.defaultSampleDuration:0},d.prototype.WJ=function(t,i){return t.totalDuration?t.totalDuration:t.samples.length*i},d.prototype.GJ=function(){var t=[],i=0,n=this.jV.parse(this.ZM,"trun");if(n&&n.sampleData)for(var e=n.sampleData.length,r=n.sampleData,h=0;h<e;h++){var o={};r[h].sampleDuration&&(o.duration=r[h].sampleDuration,i+=o.duration),r[h].sampleSize&&(o.size=r[h].sampleSize),r[h].sampleFlags&&(o.flags=r[h].sampleFlags),s.isNullOrUndefined(r[h].sampleCompositionTimeOffset)||(o.cto=r[h].sampleCompositionTimeOffset),t.push(o)}return{samples:t,totalDuration:i}},d.prototype.JJ=function(t){if(t){var i=this.KJ(t.presentationTimeDelta,t.timescale),n=t.message&&this.UJ.extractID3FromMessage(t.message),s={payload:n&&this.UJ.getID3Payload(n),timestamp:this.ZE.startTime+i},e=new c({type:a.MessageTypes.MESSAGE,id:a.MessageIds.TIMED_METADATA});e.putParam("timedMetadata",s),this.publish(h.DATA_PROCESS_PROGRESS,e)}},d.prototype.KJ=function(t,i){return 0===i?0:t/i},d.prototype.FJ=function(){var t=this.jV.parse(this.ZM,"esds");if(t){var i=t.audioSpecificConfig0>>3,n=t.audioSpecificConfig0<<1&14|t.audioSpecificConfig1>>7&1,s=t.audioSpecificConfig1>>3&7;if(5===i){var e=(i=2)<<3|(14&n)>>1,r=(1&n)<<7|s<<3;this.jV.setSingleProp(this.ZM,"esds",{name:"audioSpecificConfig0",value:e,length:8}),this.jV.setSingleProp(this.ZM,"esds",{name:"audioSpecificConfig1",value:r,length:8}),this.jV.setSingleProp(this.ZM,"esds",{name:"audioSpecificConfig2",value:0,length:8}),this.jV.setSingleProp(this.ZM,"esds",{name:"audioSpecificConfig3",value:0,length:8})}}},d.prototype.XJ=function(t,i,n,s){for(var e=[],r=this.ZM.slice(t+8),h=n,o=0,u=0,a=0;a<i.samples.length;a++){var c=i.samples[a];for(u+=c.size;o<u&&o<r.length;){var f=r[o]<<24|r[o+1]<<16|r[o+2]<<8|r[o+3];if((15&r[o+=4])===l.AD_INFO_SEI)for(var v=this.VJ.parse(r,o+1),d=0;d<v.length;d++){var p=v[d];p.pts=h+c.cto,p.dts=h,p.timescale=s,e.push(p)}o+=f}h+=c.duration}return e}},bAFD:function(t,i,n){"use strict";var s=n("4Qju"),e={wifi:!0,broadband:!0,dsl:!0,cable:!0};function r(){if("undefined"!=typeof navigator)return(navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection)||{}).type}function h(){if(!s.mobile)return!0;var t=s.android&&s.chrome>=50,i=s.ios&&!s.iosWebView&&s.safari>=10;return t||i}t.exports={getConnectionType:r,isAutoplaySupported:h,isAutoplayAllowed:function(t){return!s.mobile||!(!(t=(r()||t||"").replace(/^cs_/i,"").toLowerCase())||!e[t])&&h()}}},bBNp: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("hq3Z"),r=n("vkqS"),h=n("7hrf"),o=n("yf6s"),u=n("U3HQ"),a=n("EOV8"),c=n("IWlq"),f=n("u9uJ");function l(t){return o.default.classList(t)}var v=function(){function t(){this.version="0.2.415",this.mimetype=t.mimetype,this.type=a.PluginType.AD,this.$J=!1,this.fO=new e.default("DefaultAdPlugin"),this.tK={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.iK=null,this.nK=null,this.sK=null,this.eK=null,this.rK&&this.rK.destroy(),this.tK=null,this.$J=!1,this.fO.destroy()},t.prototype.canRenderUI=function(t){return!0},t.prototype.renderUI=function(t,i){var n=i.position,s=void 0===n?0:n,e=i.adBreakItems,r=this.hK();if(this.$J=!0,t.interactionConfig&&t.interactionConfig.clickUrl?(this.iK=t.interactionConfig.clickUrl,l(this.nK).remove("vp-hidden")):(this.iK=null,l(this.nK).add("vp-hidden")),t.type===h.AdBreakItemType.BUMPER)return this.oK=t.duration,l(this.sK.parentElement).add("vp-hidden"),r;l(this.sK.parentElement).remove("vp-hidden");var u=this.uK(e,s),a=u.position,f=u.totalAds,v=u.duration;if(this.oK=v,this.aK=o.default.strSubstitute(1===f?c.default.ADV_SHORT:c.default.ADV_MULT_SHORT,{position:a+1,total:f}),this.cK=o.default.strSubstitute(1===f?c.default.ADV_LONG:c.default.ADV_MULT_LONG,{position:a+1,total:f}),0===a){var d=this.aK.split("{")[0];this.sK.innerText=d}return r},t.prototype.unrenderUI=function(){this.$J=!1,this.fK()},t.prototype.onPlayerEvent=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];if(t===a.PluginPlayerEvent.AD_PLAYBACK_PROGRESS&&this.$J){var s=i[0];this.hP(s)}},t.prototype.addEventListener=function(t,i){var n=this.fO.addEventListener(t,i,null);this.tK[t]=this.tK[t]||[],this.tK[t].push([i,n])},t.prototype.removeEventListener=function(t,i){this.tK[t]=this.tK[t]||[];for(var n=0,s=this.tK[t];n<s.length;n++){var e=s[n],r=e[0],h=e[1];if(r===i)return void this.fO.removeEventListener(t,h)}},t.prototype.fK=function(){this.iK=null,this.sK&&(this.sK.innerText="")},t.prototype.hP=function(t){if(this.sK){var i=t.currentTime,n=t.duration;if(n){var s=Math.round(n-i);this.sK.innerText=o.default.strSubstitute(this.aK,{remaining:s})}}},t.prototype.uK=function(t,i){if(i<0||i>t.length-1)return{position:0,totalAds:0,duration:0};if(t[i].type===h.AdBreakItemType.BUMPER)return{position:0,totalAds:1,duration:t[i].duration};for(var n=-1,s=i-1;s>=0;s--){if((u=t[s]).type===h.AdBreakItemType.BUMPER){n=s;break}}var e=n+1,r=0,o=0;for(s=e;s<t.length;s++){var u;if((u=t[s]).type===h.AdBreakItemType.BUMPER)break;r++,o+=u.duration}return{position:i-e,totalAds:r,duration:o}},t.prototype.lK=function(t){for(var i,n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];(i=this.fO).publish.apply(i,s([t],n))},t.prototype.hK=function(){var t=this;return this.eK?(this.fK(),this.eK):(this.eK=o.default.render(f,c.default),this.sK=this.eK.querySelector(".vp-adbreak-progress span"),this.nK=this.eK.querySelector(".vp-adbreakitem-cta"),this.rK=new u.default(this.nK,(function(i){t.iK&&(window.open(t.iK,"_blank"),t.lK(r.AdPluginUIEvent.CTA_TRIGGERED))})),this.fK(),this.eK)},t.mimetype="adplugin/default-ad-view",t}();i.default=v},bM0F:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("7PPe"),e=n("xPTa"),r=n("ablw"),h=n("yf6s"),o=n("t7cw"),u=n("kHDx"),a=n("FNUl"),c=n("qS2y"),f=function(){function t(t){this.OM=t,this.vK=!1,this.dK=!1,this.LU=[{evt:s.ExternalEvt.VIDEO_REQUEST,cb:this.pK.bind(this,"VIDEO_REQUEST")},{evt:s.ExternalEvt.PLAYBACK_RESUMED,cb:this.pK.bind(this,"PLAYBACK_RESUMED")},{evt:s.ExternalEvt.PLAYBACK_STALLED,cb:this.pK.bind(this,"PLAYBACK_STALLED")},{evt:s.ExternalEvt.PLAYBACK_BLOCKED,cb:this.pK.bind(this,"PLAYBACK_BLOCKED")},{evt:s.ExternalEvt.CTRL_SEEK,cb:this.pK.bind(this,"CTRL_SEEK")},{evt:s.ExternalEvt.CTRL_VOLUME,cb:this.pK.bind(this,"CTRL_VOLUME")},{evt:s.ExternalEvt.CTRL_PLAYPAUSE,cb:this.pK.bind(this,"CTRL_PLAYPAUSE")},{evt:s.ExternalEvt.CTRL_REPLAY,cb:this.pK.bind(this,"CTRL_REPLAY")},{evt:s.ExternalEvt.CTRL_PLAYREQUEST,cb:this.pK.bind(this,"CTRL_PLAYREQUEST")},{evt:s.ExternalEvt.CTRL_SETTINGS,cb:this.pK.bind(this,"CTRL_SETTINGS")},{evt:s.ExternalEvt.CTRL_CUSTOM_ELEMENT,cb:this.pK.bind(this,"CTRL_CUSTOM_ELEMENT")},{evt:s.ExternalEvt.CONTROLS_AUDIO_CHANGE,cb:this.pK.bind(this,"CONTROLS_AUDIO_CHANGE")},{evt:s.ExternalEvt.THREE_SIXTY_INTERACT,cb:this.pK.bind(this,"THREE_SIXTY_INTERACT")},{evt:s.ExternalEvt.RENDERER_READY,cb:this.pK.bind(this,"RENDERER_READY")},{evt:s.ExternalEvt.ACTIVE_RENDERER_PLAYING,cb:this.pK.bind(this,"ACTIVE_RENDERER_PLAYING")},{evt:s.ExternalEvt.THREE_SIXTY_PIE_INTERACT,cb:this.pK.bind(this,"THREE_SIXTY_PIE_INTERACT")},{evt:s.ExternalEvt.CC_LANGUAGE_CHANGE,cb:this.pK.bind(this,"CC_LANGUAGE_CHANGE")},{evt:s.ExternalEvt.CC_UPDATE_STYLE,cb:this.pK.bind(this,"CC_UPDATE_STYLE")},{evt:s.ExternalEvt.CC_SETTINGS,cb:this.pK.bind(this,"CC_SETTINGS")},{evt:s.ExternalEvt.PLAY_CALLED_AFTER_PREROLL,cb:this.mK},{evt:s.ExternalEvt.PLAY_CALLED_ON_RENDERER,cb:this.pK.bind(this,"PLAY_CALLED_ON_RENDERER")},{evt:s.ExternalEvt.PRELOAD_START,cb:this.pK.bind(this,"PRELOAD_START")},{evt:s.ExternalEvt.PRELOAD_PROGRESS,cb:this.pK.bind(this,"PRELOAD_PROGRESS")},{evt:s.ExternalEvt.PRELOAD_COMPLETE,cb:this.pK.bind(this,"PRELOAD_COMPLETE")},{evt:s.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,cb:this.bK},{evt:s.ExternalEvt.BITRATE_CHANGE,cb:this.yK},{evt:s.ExternalEvt.UI_INTERACT,cb:this.gK},{evt:s.ExternalEvt.CC_UI_TOGGLE,cb:this.wK},{evt:s.ExternalEvt.PLAYER_FULLSCREEN_CHANGE,cb:this.EK},{evt:s.ExternalEvt.PLAYER_INFO,cb:this.OK},{evt:s.ExternalEvt.CMS_API_CALLED,cb:this.AK},{evt:s.ExternalEvt.PLAYER_ERROR,cb:this.wL},{evt:s.ExternalEvt.PLAYER_WARNING,cb:this._K},{evt:s.ExternalEvt.PLAYBACK_START,cb:this.sY},{evt:s.ExternalEvt.PLAYBACK_COMPLETE,cb:this.TK},{evt:s.ExternalEvt.AD_METRICS,cb:this.rY}],this.OM&&(this.oE=this.hY(this.OM),this.SK=new a.default(this.OM,this.oE),this.BU={},this.c_())}return t.prototype.destroy=function(){this.IK("destroy"),this.OM.removeEventListeners(this.BU),this.SK.destroy(),this.oE.destroy(),this.BU={}},t.prototype.sY=function(t){var i=this.OM.getPlaybackStartDto();t.ad=this.vK?1:0,t.rsm=i.isResume||"",t.pdtl=this.oE.programDateTimeLatency,this.jK(t,i),this.MK(t,o.BEACONS.PLAYBACK_START),this.NK(t)},t.prototype.mK=function(t){t.ad=this.vK?1:0,this.pK("PLAY_CALLED_AFTER_PREROLL",t)},t.prototype.hY=function(t){return new u.default(t)},t.prototype.rY=function(t,i){if(t&&t.evt){t.evt=t.evt.toLowerCase(),"ad_dlv"===t.evt&&(this.vK=!0,this.jK(i,this.OM.getPlaybackStartDto())),this.oE.adParams=t;for(var n=["string","number","boolean","undefined"],s=0,e=Object.getOwnPropertyNames(t);s<e.length;s++){var h=e[s];(n.indexOf(typeof t[h])>=0||null===t[h])&&r.isNullOrUndefined(i[h])&&(i[h]=t[h])}var o=t.adReplay;o&&+o>0&&(i.replay=o),i.V_sec="pb",this.NK(i),"ad_comp"===t.evt&&(this.oE.adParams=null)}},t.prototype.c_=function(){var t=this;window.addEventListener("unload",this.RK.bind(this)),this.OM.addEventListener(s.ExternalEvt.VIDEO_REQUEST,this.nV,this),this.SK.addEventListener(a.ProgressEvent.VIDEO_PROGRESS,this.DK,this),this.LU.forEach((function(i){t.BU[i.evt]=t.OM.addEventListener(i.evt,t.oW.bind(t,i),t)}))},t.prototype.oW=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var s=i.length-1,e=i[s]||{};this.oE.update(e);var h=this.oE.getCommonParams(),o=r.isObject(i[s])?Array.prototype.slice.call(i,0,s):i;t.cb.apply(this,o.concat([h]))},t.prototype.pK=function(t){for(var i=this,n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];var e=t&&o.BEACONS[t]||null,r=n[n.length-1];if(e){var h=Array.prototype.slice.call(n,0,n.length-1),u=e.payloadParams;if(h.length&&u&&u.length===h.length)for(var a=0;a<h.length;a++)r[u[a]]=h[a].toString();else if(u&&u.length)return;e.params&&e.params.forEach((function(t){r[t.key]=i.oE[t.value]})),this.MK(r,e),this.NK(r)}},t.prototype.NK=function(t){this.LK(t);var i="https://bats.video.yahoo.com/p?"+h.default.querystring(t,"&","=",(function(t){return encodeURIComponent(t).replace(/[!'()]/g,escape).replace(/\*/g,"%2A")}));c.default.sendImageBeacon(i),this.oE.onBeaconSent()},t.prototype.LK=function(t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&t[i]===this.oE.SKIP_PARAM_IN_BEACON&&delete t[i]},t.prototype.nV=function(t,i){this.vK=!1,this.dK=!1,this.oE.onVideoRequest(t,i)},t.prototype.yK=function(t,i,n){this.MK(n,o.BEACONS.BITRATE_CHANGE),n.value=t.toString(),n.value_e=this.oE.bitrate,n.reason=i.reason||"",n.fr=i.newFrameRate||"",n.fr_old=i.oldFrameRate||"",this.NK(n),this.oE.bitrate=t},t.prototype.bK=function(t,i){t.isInitialEvt||(this.MK(i,o.BEACONS.AIRPLAY_CONNECTION_STATE_CHANGE),i.value=t.connected?"1":"0",this.NK(i))},t.prototype.gK=function(t,i){this.MK(i,o.BEACONS.UI_INTERACT),i.evt=["ui_pl_nxt_clk","ui_pl_nxt_hvr","ui_pl_scrl","ui_pl_thmb_clk"].indexOf(t.srcElement)>-1?"ui_pl":i.evt,i.V_slk=t.srcElement,this.NK(i)},t.prototype.wK=function(t,i,n){this.MK(n,o.BEACONS.CC_TOGGLE),n.value=t?"1":"0",this.NK(n)},t.prototype.EK=function(t,i){this.MK(i,o.BEACONS.FULLSCREEN_CHANGE),i.value=t?"ON":"OFF",this.NK(i)},t.prototype.OK=function(t,i){this.MK(i,o.BEACONS.PLAYER_INFO),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",this.NK(i)},t.prototype.AK=function(t,i){var n=c.default.prepareApiInfo(t.url,t.perfObj);this.MK(i,o.BEACONS.CMS_API_CALLED),i.source=n.source||"na",i.url=n.url||"",i.latency=n.latency||"",i.http_code=n.http_code||"na",i.resp_len=n.resp_len||"na",i.instrument=n.instrument||"",i.perf_info=n.perfInfo||"",i.perf_stack=n.perfStack||"",this.NK(i)},t.prototype.wL=function(t,i){t.isRecoverable||(this.MK(i,o.BEACONS.PLAYER_ERROR),i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||"",i.dur=Math.round(this.SK.totalWatchTime)||"",this.NK(i),this.IK("error"))},t.prototype._K=function(t,i){this.MK(i,o.BEACONS.PLAYER_WARNING),i&&(i.ecode=t.rep||"",i.estring=t.debugMessage||t.message||""),this.NK(i)},t.prototype.TK=function(t,i){this.kK(o.BEACONS.PLAYBACK_COMPLETE,i)},t.prototype.RK=function(){this.IK("unload")},t.prototype.IK=function(t){this.oE.updateTs(Date.now());var i=this.oE.getCommonParams();i&&(i.ext_resn=t||"na"),this.kK(o.BEACONS.INCOMPLETE_EXIT,i)},t.prototype.kK=function(t,i){this.dK||(this.dK=!0,this.MK(i,t),i.pdtl=this.oE.programDateTimeLatency,i.alang=this.oE.audioLanguage,this.oE.playbackMode===e.PlaybackMode.AD?this.CK(i):this.SK.updatePlaybackStats(i),this.NK(i))},t.prototype.DK=function(t){var i=this.oE.getCommonParams();this.MK(i,t),this.SK.updatePlaybackStats(i),this.NK(i)},t.prototype.PK=function(t){return t&&r.isNumber(t.timeDiff)&&t.timeDiff.toString()||""},t.prototype.xK=function(t,i){return t&&t.startTime&&i&&(i+t.startTime).toString()||""},t.prototype.UK=function(t,i){return t&&r.isNumber(t.timeDiff)&&i&&r.isNumber(i.timeDiff)?(t.timeDiff-i.timeDiff).toString():this.PK(t)},t.prototype.MK=function(t,i){t&&i&&(t.evt=i.evt,t.V_sec=i.type)},t.prototype.CK=function(t){var i=this.OM.getCurrentTime(),n=this.oE.adParams&&this.oE.adParams.pos,s=this.oE.adParams&&this.oE.adParams.dur||null;t.pos=n||"ad",t.dur=i>0?Math.floor(i):0,t.dur_d=r.isNumber(s)&&i>s&&Math.floor(i-s)||0,t.buff_info="",t.buf_dur=0},t.prototype.jK=function(t,i){t.apallwd=i.autoPlayAllowed||"",t.jsdt=this.oE.jsdt,t.cssdt=this.oE.cssdt,t.req_type=this.oE.requestType||"",t.req_action=this.oE.requestAction||"",t.apl=this.UK(i.autoPlayLatency,i.deferringPlaybackLatency),t.bgl=this.PK(i.deferringPlaybackLatency),t.s_apl=this.xK(i.autoPlayLatency,i.initTime),t.ucl=this.PK(i.clickToPlayLatency),t.tpb=this.PK(i.playbackStartLatency),t.s_tpb=this.xK(i.playbackStartLatency,i.initTime),t.tmeta_call=this.PK(i.cmsLatency),t.s_tsapic=this.xK(i.cmsLatency,i.initTime),t.tsrc_call=this.PK(i.cmsSourceLatency),t.s_tssrcapic=this.xK(i.cmsSourceLatency,i.initTime),t.tadp=this.PK(i.adPluginLatency),t.s_tadpc=this.xK(i.adPluginLatency,i.initTime)},t}();i.default=f},bpRV:function(t,i,n){"use strict";t.exports={DATA_PROCESS_PROGRESS:"dataProcessProgress",DATA_PROCESS_ERROR:"dataProcessError",DATA_PROCESS_COMPLETE:"dataProcessComplete"}},bubU:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t){this.VK=t,this.BK=new Array}return t.prototype.destroy=function(){this.flush(!1)},t.prototype.enQueue=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];this.BK.push({args:i,job:t})},t.prototype.flush=function(t){var i=this;void 0===t&&(t=!1);var n=this.BK;this.BK=new Array,t&&n.forEach((function(t){if(i.VK){var n=t.job,s=t.args;n.apply(i.VK,s)}}))},t.prototype.deQueue=function(t,i){if(void 0===i&&(i=!1),t)for(var n=0;n<this.BK.length;n++){var s=this.BK[n],e=s.job,r=s.args;if(e===t){i&&this.VK&&e.apply(this.VK,r),this.BK.splice(n,1);break}}},t.prototype.getLength=function(){return this.BK.length},t}();i.default=s},bxxM: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("pUuq"),o=n("EOV8"),u=n("yf6s"),a=n("JBcr"),c=n("9wD4"),f=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=c.CmdName.CMD_METADATA_LOAD,s.fE=!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.fE&&!this.kS){var t=this.data,i=t.autoplay,n=t.failoverCount,s=t.privacyConsent,e=t.mimetype,a=t.mediaItemDataArr,f=t.rendererCapabilities,l=t.rendererTypes,v=t.sessionId,d=t.thumbnailDimensions,p=t.tryCount,m=this.vO.getPlugin(o.PluginType.METADATA,e),b={autoplay:i,failoverCount:n,privacyConsent:s,rendererCapabilities:f,rendererTypes:l,sessionId:v,thumbnailDimensions:d,tryCount:p};if(m)this.pI=m,this.fE=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.ItemState.FETCHING),m.resolve(a,b,this);else{var y="No metadata plugin found for mimetype = "+e,g=u.default.createErr(r.ErrorGroup.Service,null,r.E_PLAYER,r.PLAYER_CODES.E_NO_PLUGIN_FOUND,y);this.publish(c.CmdEvent.CMD_ERROR,this,g)}}},i.prototype.cancel=function(){this.pI&&this.fE&&(this.pI.cancel(),this.fE=!1)},i.prototype.onProgress=function(t){this.fE&&!this.kS&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.fE&&!this.kS&&(this.fE=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.fE&&!this.kS&&(this.fE=!1,t.code&&t.code.length)){var i=u.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code||r.PLAYER_CODES.E_CMS_XHR_RESPONSE_ABSENT,t.message);this.publish(c.CmdEvent.CMD_ERROR,this,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(c.CmdEvent.CMD_INFO,this,t)},i}(a.default);i.default=f},byOa:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("P2OX"),e=function(){function t(t){this.AM=t}return t.prototype.getSize=function(){return this.FK().length},t.prototype.getPosition=function(){var t=this.AM.getPlaylist();return t?t.position:null},t.prototype.sendPrefetchInfo=function(t){return this.AM.sendPrefetchInfo(t)},t.prototype.setPosition=function(t){this.zK(t,"setPosition");var i=this.AM.autoplay,n=i?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.AM.setPlaylistPosition(t,i,n)},t.prototype.setPositionById=function(t){var i=this.HK(t,"setPositionById"),n=this.AM.autoplay,e=n?{type:s.REQUEST_TYPES.API,action:s.REQUEST_TYPES.AUTOPLAY}:null;this.AM.setPlaylistPosition(i,n,e)},t.prototype.addItem=function(t){this.addItems([t])},t.prototype.addItems=function(t,i){if(Array.isArray(t)){var n=this.AM.getPlaylist();i&&n.removeItems(0,n.size),n.addItems(t);var s=t.map((function(t){var i=t.id;return n.getMediaItemById(i)}));s.length>0&&this.AM.fetchMetadata(s)}},t.prototype.setItems=function(t){this.addItems(t,!0)},t.prototype.getItems=function(){return this.qK()?this.qK().slice(0):null},t.prototype.getItemId=function(t){return this.zK(t,"getItemId"),this.qK()[t]},t.prototype.getCurrentItemId=function(){var t=this.AM.getCurrentMediaItem();return t?t.id:null},t.prototype.getCurrentItem=function(){var t=this.AM.getCurrentMediaItem();return t?this.getItemById(t.id):null},t.prototype.getCurrentItemTitle=function(){var t=this.getCurrentItem();return t?t.title:null},t.prototype.getCurrentItemLiveStatus=function(){var t=this.getCurrentItem();return t?t.isLive:null},t.prototype.getCurrentItemDescription=function(){var t=this.getCurrentItem();return t?t.description:null},t.prototype.getCurrentItemProviderName=function(){var t=this.getCurrentItem();return t&&t.provider?t.provider.name:null},t.prototype.getCurrentItemMarkers=function(){var t=this.AM.getCurrentMediaItem();return t&&t.videoMarkers||null},t.prototype.getItem=function(t){return this.zK(t,"getItem"),this.getItemById(this.qK()[t])},t.prototype.getItemById=function(t){var i=this,n=this.AM.mediaStore;if(!n)return null;var s=n.getById(t);return s?{id:s.id,mimetype:s.mimetype,title:s.title,description:s.description,duration:s.duration,publishTime:s.publishTime,provider:s.provider,credits:s.credits,shareUrl:s.shareUrl,setShareUrl:function(t){i.shareUrl=t,s.shareUrl=t},thumbnail:s.thumbnail,visualSeek:s.visualSeek,isLive:s.isLive(),closedCaptions:s.closedCaptions,streams:s.streams,videoMarkers:s.videoMarkers,viewCount:s.viewCount,languages:s.getMultiLanguages(),license:s.license}:null},t.prototype.getIndexForId=function(t){return this.qK().indexOf(t)},t.prototype.removeItem=function(t){this.zK(t,"removeItem"),this.AM.removePlaylistItems(t,1)},t.prototype.removeItems=function(t,i){var n=this.FK();if(!(t in n)||!(t+i-1 in n))throw new Error("removeItems called with invalid position/count");this.AM.removePlaylistItems(t,i)},t.prototype.removeItemById=function(t){var i=this.HK(t,"removeItemById");this.AM.removePlaylistItems(i,1)},t.prototype.removeItemsById=function(t){var i=this;t.forEach((function(t){i.removeItemById(t)}))},t.prototype.clear=function(){this.AM.removePlaylistItems(0,this.FK().length)},t.prototype.FK=function(){return this.AM.getPlaylistItems()},t.prototype.qK=function(){return this.AM.getPlaylistItemIds()},t.prototype.zK=function(t,i){if(!(t in this.FK()))throw new Error(i+" called with invalid position")},t.prototype.HK=function(t,i){var n=this.qK().indexOf(t);if(-1===n)throw new Error(i+" called with id not in playlist");return n},t}();i.default=e},"c+yx":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.SCRIPT_LOAD_STATE=void 0;var s,e=n("s4NR"),r=n("ToqN"),h=n("g6Is"),o=n("rBpt"),u=n("he5r"),a=["yahoo.com","yahoo.co.jp","yahoo.net","yahoo.fr","yimg.com","rivals.com","tumblr.com","txmblr.com","flickr.com","maktoob.com","grindtv.com","thepostgame.com","nfl.com","nfljapan.com","movie.yahoo-leisure.hk","mmovie.yahoo-leisure.hk","test.player.vdms.io"],c=["cdn.ampproject.org","amp.cloudflare.com","bing-amp.com"],f=["oath.com","verizondigitalmediaservices.com","ouroath.com","vzbuilders.com","cashay.com","dpk0sergzlt6z.cloudfront.net","sandbox.sdaily.samsung.com","verizon.com","autoblog.com","intheknow.com"].concat(a).concat(["aol.com","aol.co.uk","aol.ca","aol.jp","aol.de"]).concat(["huffpost.com","huffpost.net","huffingtonpost.co.uk","huffingtonpost.com.au","huffingtonpost.in","huffpostbrasil.com","huffingtonpost.ca","huffingtonpost.fr","huffingtonpost.es","huffingtonpost.it","huffingtonpost.kr","huffingtonpost.jp","huffingtonpost.gr"]);!function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOAD_COMPLETE=2]="LOAD_COMPLETE"}(s=i.SCRIPT_LOAD_STATE||(i.SCRIPT_LOAD_STATE={}));var l=function(){function t(){}return t.isOffNetwork=function(i,n){i=i||t.getHostUrl();var s=t.parseDomain(i);if(!i||r.userAgent.samsung)return!1;var e=n?a:f,h=[];return c.forEach((function(t){e.forEach((function(i){var n=i.replace(/-/g,"--").replace(/\./g,"-");h.push(n+"."+t)}))})),(h=h.concat(e)).push("localhost"),!s||!h.some((function(t){return-1!==s.indexOf(t,s.length-t.length)}))},t.isYahooDomain=function(i){return!1===t.isOffNetwork(i,!0)},t.isOathDomain=function(i){return!1===t.isOffNetwork(i,!1)},t.isAllowlistedDomain=function(i){var n=t.parseDomain(i||t.getHostUrl())||"";return["publishing.oath.com"].some((function(t){return!!n.match(new RegExp(t+"$"))}))},t.getHostUrl=function(){var t=document.referrer;try{window.top.location.href&&(t=window.top.location.href)}catch(t){}return t},t.parseDomain=function(t){var i=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(t);return i?i[1]:null},t.isValidUrl=function(t){return/^https:\/\/[a-z0-9-\.]+\.[a-z]{2,4}\/?([^\s<>\#%"\,\{\}\\|\\\^\[\]`]+)?$/.test(t)},t.getPageQueryString=function(){var i=t.getWindow().location.search;return i&&0===i.indexOf("?")&&(i=i.substr(1)),e.parse(i,void 0,void 0,{decodeURIComponent:window.decodeURIComponent})},t.isIframe=function(){var i=t.getWindow();try{return i.top!==i.self}catch(t){return!0}},t.sendIframeBeacon=function(i){i=t.fixProtocol(i);var n=Math.random(),s=document.querySelector("#vp-beacons"),e="vp-beacons-"+n;s||(s=t.createBeaconsIframe(document,"vp-beacons"),document.body.appendChild(s));var r=t.createBeaconsIframe(s.contentDocument,e);return r.src=i,"complete"===s.contentDocument.readyState?s.contentDocument.body.appendChild(r):s.contentDocument.body.onload=function(){s.contentDocument.body.appendChild(r)},!0},t.createBeaconsIframe=function(t,i){var n=t.createElement("iframe");return n.frameBorder=0,n.width=0,n.height=0,n.marginwidth=0,n.marginheight=0,n.hspace=0,n.vspace=0,n.frameborder=0,n.scrolling="no",n.id=i,n.style.display="none",n.title="",n},t.sendImageBeacon=function(i){i=t.fixProtocol(i);var n=new Image;n.onload=n.onabort=n.onerror=function(){n.onload=n.onabort=n.onerror=null,n=null},n.src=i},t.fixProtocol=function(t){return r.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.lazyLoad=function(i,n){var e=t.getLazyLoadState(i);if(e.state!==s.LOADING){if(e.state===s.LOAD_COMPLETE)return n(!0);e.state=s.LOADING,e.subscribers.push(n);t.loadScript(i,(function(t){e.state=s.LOAD_COMPLETE,e.subscribers.forEach((function(i){return i(t)}))}))}else e.subscribers.push(n)},t.getLazyLoadState=function(i){var n=t.getSingleton("lazyLoadState"),e={state:s.NOT_LOADED,subscribers:[]};if(n&&n[i])e=n[i];else if(n)n[i]=e;else{var r={};r[i]=e,t.setSingleton("lazyLoadState",r)}return e},t.loadScript=function(t,i){var n=document.createElement("script");n.async=!0,n.src=t,n.onload=function(){return i(!0)},n.onerror=function(){return i(!1)},document.body.appendChild(n)},t.setSingleton=function(t,i){window.OATH=window.OATH||{},window.OATH.VideoPlatform=window.OATH.VideoPlatform||{},window.OATH.VideoPlatform[t]=i},t.getSingleton=function(t){return window.OATH&&window.OATH.VideoPlatform&&window.OATH.VideoPlatform[t]?window.OATH.VideoPlatform[t]:null},t.isValidRequestAction=function(t){return-1!==[null,u.REQUEST_TYPES.CLICK,u.REQUEST_TYPES.AUTOPLAY,u.REQUEST_TYPES.HOVER,u.REQUEST_TYPES.PLAY,u.REQUEST_TYPES.PAUSE,u.REQUEST_TYPES.SCROLL,u.REQUEST_TYPES.SWIPE,u.REQUEST_TYPES.BACKGROUND].indexOf(t)},t.transformLegacyConfig=function(i){var n=Object.assign({mediaItems:[],ui:{},watchHistory:{enabled:!1,watchedPeriod:.5,expiry:129600,skipWatchedVideos:!0}},i),s=!1;if(i.playlist&&i.playlist.mediaItems){i.playlist=Object.assign({},i.playlist);for(var e=0,r=i.playlist.mediaItems;e<r.length;e++){var a=r[e],c=null;a.id===u.GEMINI_STUB_VIDEO_ID&&i.YVAP&&i.YVAP.standaloneAd&&(c=t.GK(a,i)),c||(c={mimetype:a.id?h.MediaItemInterfaces.MediaItemMimeType.SAPI:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,id:a.id||""},a.adConfig&&(c.adConfig=a.adConfig),(a.meta||a.streams)&&(c.customConfig={response:a}),a.streams&&c.mimetype===h.MediaItemInterfaces.MediaItemMimeType.CONTAINER&&(c.source=c.source||{},c.source.streams=a.streams),a.meta&&a.meta.playlist_config&&(s=!0));var f=a.images;f&&(f.thumbnail||f.large||f.medium||f.small)&&(c.metadata=c.metadata||{},c.metadata.thumbnail=f.thumbnail||f.large||f.medium||f.small),n.mediaItems.push(c)}void 0!==n.playlist.videoRecommendations&&(n.videoRecommendations=n.playlist.videoRecommendations),n.playlist.id?delete n.playlist.mediaItems:delete n.playlist}i.region&&(n.region=i.region.toUpperCase()),i.docking&&(n.ui.docking=Object.assign({},i.docking),n.ui.docking.position={},["Top","Right","Bottom","Left"].forEach((function(t){var s="position"+t,e=i.docking[s];n.ui.docking.position[t.toLowerCase()]="number"==typeof e?e:-1,delete n.ui.docking[s]})),delete n.docking);return[["ccOnMute","ccOnMute"],["chromeless","chromeless"],["showControls","showControls"],["showAgeGate","showAgeGate"],["fullscreenBtn","showFullscreenButton"]].forEach((function(t){void 0!==i[t[0]]&&(n.ui[t[1]]=!!i[t[0]]),delete n[t[0]]})),void 0!==i.startscreen&&"object"!=typeof i.startscreen?(n.ui.startScreen={show:!!i.startscreen},delete n.startscreen):"object"==typeof i.startscreen&&i.startscreen&&(n.ui.startScreen=n.ui.startScreen||{},["showButton","show","showDesc","showControls","showProvider","showTitle"].forEach((function(t){void 0!==i.startscreen[t]&&(n.ui.startScreen[t]=!!i.startscreen[t])})),n.ui.startScreen.showDescription=!!i.startscreen.showDesc,delete n.ui.startScreen.showDesc,delete n.startscreen),void 0!==i.endscreen&&"object"!=typeof i.endscreen?(n.ui.endScreen={show:!!i.endscreen},delete n.endscreen):"object"==typeof i.endscreen&&i.endscreen&&(n.ui.endScreen=i.endscreen,delete n.endscreen),void 0!==i.replayonlyendscreen&&"boolean"==typeof i.replayonlyendscreen&&(n.ui.endScreen={show:!!i.replayonlyendscreen},delete n.replayonlyendscreen),["Start","Hover"].forEach((function(t){var s="showTitleOn"+t;void 0!==i[s]&&(n.ui.title=n.ui.title||{},n.ui.title["showOn"+t]=i[s],delete n[s])})),void 0!==i.watchHistoryEnabled&&(n.watchHistory.enabled=i.watchHistoryEnabled,delete n.watchHistoryEnabled),void 0!==i.watchedPeriod&&(n.watchHistory.watchedPeriod=i.watchedPeriod,delete n.watchedPeriod),void 0!==i.watchHistoryExpiry&&(n.watchHistory.expiry=i.watchHistoryExpiry,delete n.watchHistoryExpiry),i.YVAP&&("number"==typeof i.YVAP.timeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.load=i.YVAP.timeout),"number"==typeof i.YVAP.vpaidTimeout&&(n.ads=n.ads||{timeout:{}},n.ads.timeout.start=i.YVAP.vpaidTimeout)),i.playlistUI&&(n.ui.playlist=i.playlistUI,i.playlistUI.playlistId&&(n.playlist=n.playlist||{},n.playlist.id=i.playlistUI.playlistId),delete n.playlistUI),s&&n.ui.playlist&&(n.ui.playlist.mimetype="playlist/structured"),["height","width"].forEach((function(t){i[t]&&o.TypeChecker.isString(i[t])&&(n[t]=parseInt(i[t],10),o.TypeChecker.isNumber(n[t])||delete n[t])})),n},t.isLegacyConfig=function(t){return!(!t||!t.playlist||!t.playlist.mediaItems&&!t.playlist.id)},t.formatTime=function(t){var i=Math.floor(t/3600),n=Math.floor((t-3600*i)/60),s=Math.floor(t-3600*i-60*n),e=s<10?"0"+s:s.toString(),r="";if(i>0){var h=n<10?"0"+n:n.toString();r=i.toString()+":"+h+":"+e}else o.TypeChecker.isNumber(n)&&(r=n.toString()+":"+e);return r},t.getPlayerType=function(){var i=t.getSingleton("PlayerHosting"),n="desktop";if(i&&i.type){var s=i.type.match(/^oath\-player\-([a-z\-]*)\.js/);s&&s[1]&&(n=s[1])}return"nextgen-"+(n="mobile-ios"===n?"ios":n)},t.getBckt=function(){var i=t.getSingleton("PlayerHosting");if(i){var n=i.bucket,s=i.env;return n||("prod"===s?"Treatment_Oath_Player":null)||"none"}return"Treatment_Oath_Player"},t.isInternalUser=function(){var i=t.getSingleton("PlayerHosting");return i&&"stage"===i.env},t.getCookie=function(t){t+="=";var i=document.cookie.split(/;\s*/),n=null;return i.forEach((function(i){i.indexOf(t)>-1&&(n=i.replace(t,""))})),n},t.extend=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return o.TypeChecker.isObject(t)||(t={}),i.forEach((function(i){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])})),t},t.getResourceLoadTime=function(t){if(window.performance&&window.performance.getEntriesByType){var i=window.performance.getEntriesByType("resource"),n=void 0;for(n in i)if(i[n]&&i[n].name&&i[n].name.match(t))return i[n].duration}return null},t.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t.getWindow=function(){return window},t.GK=function(t,i){return t&&i&&i.YVAP&&i.YVAP.standaloneAd&&i.YVAP.standaloneAd.gemini?{mimetype:h.MediaItemInterfaces.MediaItemMimeType.CONTAINER,metadata:{type:h.MediaItemInterfaces.MediaItemType.CONTAINER},id:"gemini-ad-"+Math.ceil(1e11*Math.random()),adConfig:{mimetype:u.VRM_PLUGIN_MIMETYPE,value:{YVAP:i.YVAP}}}:null},t}();i.default=l},c1df:function(t,i,n){"use strict";t.exports={ftyp:{fullBox:!1,properties:{majorBrand:{length:32,type:"string"},minorVersion:{length:32},compatibleBrands:{type:"array",itemSchema:{length:32,type:"string"}}}},moov:{fullBox:!1},styp:{fullBox:!1,properties:{majorBrand:{length:32,type:"string"},minorVersion:{length:32},compatibleBrands:{type:"array",itemSchema:{length:32,type:"string"}}}},moof:{fullBox:!1},mdat:{fullBox:!1},sidx:{fullBox:!0,properties:{referenceId:{length:32},timescale:{length:32},earliestPresentationTime:{length:32},firstOffset:{length:32},reserved:{length:16},referenceCount:{length:16},referenceData:{type:"array",lengthField:"referenceCount",itemSchema:{referenceType:{length:1},referencedSize:{length:31},subsegmentDuration:{length:32},startsWithSAP:{length:1},sapType:{length:3},sapDeltaTime:{length:28}}}}},emsg:{fullBox:!0,properties:{schemeIdUri:{type:"string"},value:{type:"string"},timescale:{length:32},presentationTimeDelta:{length:32},eventDuration:{length:32},id:{length:32},message:{type:"array",itemSchema:{length:8}}}},trak:{fullBox:!1,parents:["moov"]},mdia:{fullBox:!1,parents:["trak"]},mvhd:{fullBox:!0,parents:["moov"],properties:{creationTime:{length:32},modificationTime:{length:32},timescale:{length:32},duration:{length:32},rate:{length:32},volume:{length:16},reserved:{length:80},matrix:{type:"array",length:9,itemSchema:{length:32}},preDefined:{length:192},nextTrackId:{length:32}}},mdhd:{fullBox:!0,parents:["mdia"],properties:{creationTime:{length:32},modificationTime:{length:32},timescale:{length:32},duration:{length:32},language:{length:16},preDefined:{length:16}}},esds:{fullBox:!0,parents:["mp4a","enca"],properties:{descriptorTag:{length:8},descriptorLength:{length:8},esId:{length:16},streamPriority:{length:8},decoderConfigDesc:{length:8},decoderConfigLength:{length:8},codecTag:{length:8},streamType:{length:8},bufferSize:{length:8},bufferSize2:{length:16},maxBitrate:{length:32},avgBitrate:{length:32},decoderInfoDescriptor:{length:8},decoderInfoDescriptorLength:{length:8},audioSpecificConfig0:{length:8},audioSpecificConfig1:{length:8},audioSpecificConfig2:{length:8,validator:248,validationProperty:"audioSpecificConfig0",validationResult:40},audioSpecificConfig3:{length:8,validator:248,validationProperty:"audioSpecificConfig0",validationResult:40},slDescriptor:{length:8},slDescriptorLength:{length:8},slValue:{length:8}}},mp4a:{fullBox:!1,parents:["stsd"],payload:28,properties:{reserved0:{length:48},dataReferenceIndex:{length:16},reserved1:{length:32},reserved2:{length:32},channelCount:{length:16},sampleSize:{length:16},predefined:{length:16},reserved3:{length:16},sampleRate:{length:32}}},enca:{fullBox:!1,parents:["stsd"],payload:28,properties:{reserved0:{length:48},dataReferenceIndex:{length:16},reserved1:{length:32},reserved2:{length:32},channelCount:{length:16},sampleSize:{length:16},predefined:{length:16},reserved3:{length:16},sampleRate:{length:32}}},stsd:{fullBox:!0,parents:["stbl"],payload:4,properties:{entryCount:{length:32}}},stbl:{fullBox:!1,parents:["minf"]},minf:{fullBox:!1,parents:["mdia"]},traf:{fullBox:!1,parents:["moof"]},tfdt:{fullBox:!0,parents:["traf"],properties:{baseMediaDecodeTime:{length:32}}},tfhd:{fullBox:!0,parents:["traf"],properties:{trackId:{length:32},baseDataOffset:{length:64,validator:1},sampleDescriptionIndex:{length:32,validator:2},defaultSampleDuration:{length:32,validator:8},defaultSampleSize:{length:32,validator:16},defaultSampleFlags:{length:32,validator:32}}},trun:{fullBox:!0,parents:["traf"],properties:{sampleCount:{length:32},dataOffset:{validator:1,length:32},firstSampleFlags:{validator:4,length:32},sampleData:{type:"array",lengthField:"sampleCount",itemSchema:{sampleDuration:{validator:256,length:32},sampleSize:{validator:512,length:32},sampleFlags:{validator:1024,length:32},sampleCompositionTimeOffset:{validator:2048,length:32}}}}},vttc:{fullBox:!1},vtte:{fullBox:!1},vsid:{fullBox:!1,parents:["vttc"],properties:{sourceId:{length:32}}},ctim:{fullBox:!1,parents:["vttc"],properties:{cueTime:{type:"boxstring"}}},payl:{fullBox:!1,parents:["vttc"],properties:{cueText:{type:"boxstring"}}},iden:{fullBox:!1,parents:["vttc"],properties:{cueId:{type:"boxstring"}}},sttg:{fullBox:!1,parents:["vttc"],properties:{settings:{type:"boxstring"}}}}},cGOB:function(t,i,n){"use strict";var s=n("qudH").CmdNames,e=n("w+A1");t.exports.create=function(t,i,n){for(var r in s){if(s.hasOwnProperty(r))if(s[r]===t)return new(0,e[t+"Command"])(i,n)}return null}},cK6b:function(t,i,n){!function(t){function i(t,i,n){var s;return i&&"object"==typeof i&&(void 0!==i[t]?s=i[t]:n&&i.get&&"function"==typeof i.get&&(s=i.get(t))),s}t.Template=function(t,i,n,s){t=t||{},this.r=t.code||this.r,this.c=n,this.options=s||{},this.text=i||"",this.partials=t.partials||{},this.subs=t.subs||{},this.buf=""},t.Template.prototype={r:function(t,i,n){return""},v:function(t){return t=u(t),o.test(t)?t.replace(n,"&amp;").replace(s,"&lt;").replace(e,"&gt;").replace(r,"&#39;").replace(h,"&quot;"):t},t:u,render:function(t,i,n){return this.ri([t],i||{},n)},ri:function(t,i,n){return this.r(t,i,n)},ep:function(t,i){var n=this.partials[t],s=i[n.name];if(n.instance&&n.base==s)return n.instance;if("string"==typeof s){if(!this.c)throw new Error("No compiler available.");s=this.c.compile(s,this.options)}if(!s)return null;if(this.partials[t].base=s,n.subs){for(key in i.stackText||(i.stackText={}),n.subs)i.stackText[key]||(i.stackText[key]=void 0!==this.activeSub&&i.stackText[this.activeSub]?i.stackText[this.activeSub]:this.text);s=function(t,i,n,s,e,r){function h(){}function o(){}var u;h.prototype=t,o.prototype=t.subs;var a=new h;for(u in a.subs=new o,a.subsText={},a.buf="",s=s||{},a.stackSubs=s,a.subsText=r,i)s[u]||(s[u]=i[u]);for(u in s)a.subs[u]=s[u];for(u in e=e||{},a.stackPartials=e,n)e[u]||(e[u]=n[u]);for(u in e)a.partials[u]=e[u];return a}(s,n.subs,n.partials,this.stackSubs,this.stackPartials,i.stackText)}return this.partials[t].instance=s,s},rp:function(t,i,n,s){var e=this.ep(t,n);return e?e.ri(i,n,s):""},rs:function(t,i,n){var s=t[t.length-1];if(a(s))for(var e=0;e<s.length;e++)t.push(s[e]),n(t,i,this),t.pop();else n(t,i,this)},s:function(t,i,n,s,e,r,h){var o;return(!a(t)||0!==t.length)&&("function"==typeof t&&(t=this.ms(t,i,n,s,e,r,h)),o=!!t,!s&&o&&i&&i.push("object"==typeof t?t:i[i.length-1]),o)},d:function(t,n,s,e){var r,h=t.split("."),o=this.f(h[0],n,s,e),u=this.options.modelGet,c=null;if("."===t&&a(n[n.length-2]))o=n[n.length-1];else for(var f=1;f<h.length;f++)void 0!==(r=i(h[f],o,u))?(c=o,o=r):o="";return!(e&&!o)&&(e||"function"!=typeof o||(n.push(c),o=this.mv(o,n,s),n.pop()),o)},f:function(t,n,s,e){for(var r=!1,h=!1,o=this.options.modelGet,u=n.length-1;u>=0;u--)if(void 0!==(r=i(t,n[u],o))){h=!0;break}return h?(e||"function"!=typeof r||(r=this.mv(r,n,s)),r):!e&&""},ls:function(t,i,n,s,e){var r=this.options.delimiters;return this.options.delimiters=e,this.b(this.ct(u(t.call(i,s)),i,n)),this.options.delimiters=r,!1},ct:function(t,i,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(t,this.options).render(i,n)},b:function(t){this.buf+=t},fl:function(){var t=this.buf;return this.buf="",t},ms:function(t,i,n,s,e,r,h){var o,u=i[i.length-1],a=t.call(u);return"function"==typeof a?!!s||(o=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(a,u,n,o.substring(e,r),h)):a},mv:function(t,i,n){var s=i[i.length-1],e=t.call(s);return"function"==typeof e?this.ct(u(e.call(s)),s,n):e},sub:function(t,i,n,s){var e=this.subs[t];e&&(this.activeSub=t,e(i,n,this,s),this.activeSub=!1)}};var n=/&/g,s=/</g,e=/>/g,r=/\'/g,h=/\"/g,o=/[&<>\"\']/;function u(t){return String(null==t?"":t)}var a=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}}(i)},ckAm:function(t,i,n){"use strict";t.exports=h;var s=n("l+r/").StreamingMode,e=n("HNSW").StreamTypes,r=n("juTp");function h(){this.YK=[],this.WK=null,this.ZK="blah",this.QK=null,this.XK=null,this.ERRORS={INVALID_MPD:1,EMPTY_DATA:2,NO_SEGMENTS:3}}h.prototype.destroy=function(){},h.prototype.JK=function(t){return t?Date.parse(t):0},h.prototype.KK=function(t){var i=0;if(t&&"P"===t.charAt(0)){t.match(/[\d|.|\+]+[A-Z]/g).forEach((function(t){var n=t.charAt(t.length-1),s=parseFloat(t,10);"S"===n?s*=1e3:"M"===n?s*=6e4:"H"===n&&(s*=36e5),i+=s}))}else t&&!isNaN(t)&&(i=parseFloat(t,10));return i},h.prototype.$K=function(t,i){if(void 0===t||void 0===i)return"";if("08d"===t){for(var n=i.toString();n.length<8;)n="0"+n;return n}return i},h.prototype.t$=function(t,i,n,s,e,r){var h={brEndOffset:-1,brStartOffset:-1,containerFormat:"mp4",discontinuity:0,duration:t/1e3,levelIndex:0,periodId:i,sequenceNum:n,startTime:s/1e3,url:e,initSegment:{url:r}};return null===this.XK?(this.XK=h.startTime,h.startTime=0):(h.startTime-=this.XK,h.startTime=Math.round(1e3*h.startTime)/1e3),h},h.prototype.i$=function(t,i,n,r,h,o,u,a){var c=this.n$(i),f=this.s$(n),l=this.e$(n),v=h>l?h/f:l/f,d={groupId:n.id,bitrate:parseInt(n.bandwidth),codecs:[n.codecs],containerFormat:"mp4",drmInfo:[],duration:r/1e3,hasAudio:c===e.AUDIO,hasEndList:!h&&r>0,height:c===e.VIDEO?n.height:0,segmentInfoList:[],type:c,width:c===e.VIDEO?n.width:0,streamingMode:s.DASH,initSegment:{url:a},url:u,targetDuration:v};if(c===e.AUDIO?(d.audioCodec=n.codecs,d.language=i.lang,d.autoSelect=!1,d.default=!1,d.groupId=n.id,d.channels=n.audioChannnelConfiguration?n.audioChannnelConfiguration.value:0):c===e.VIDEO?(d.audioGroupId="audio",d.subtitlesGroupId="subs",d.videoCodec=n.codecs):c===e.SUBTITLES&&(d.language=i.lang,d.groupId=n.id,d.codec=n.codecs,d.autoSelect=!1,d.subtitlesCodec=n.codecs),i.drm.length>0){for(var p={},m=0;m<i.drm.length;m++){var b=i.drm[m];p.periodId=t.id;var y={prefix:null!==this.QK?this.QK:"",pssh:b.pssh};"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===b.schemeIdUri?(y.type="wv",p.widevine=y):"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95"===b.schemeIdUri&&(y.type="pr",y.pro=b.pro,p.playready=y)}d.drmInfo.push(p)}return d},h.prototype.s$=function(t){return t.segmentList?parseInt(t.segmentList.timescale,10):t.segmentTemplate?parseInt(t.segmentTemplate.timescale,10):1e3},h.prototype.e$=function(t){var i=this.s$(t);if(t.segmentList)return 1e3*parseInt(t.segmentList.duration,10)/i;if(t.segmentTemplate){var n=t.segmentTemplate;if(n.duration)return 1e3*parseInt(n.duration,10)/i;if(n.segmentTimeline){var s=0;return n.segmentTimeline.sElements.forEach((function(t){t.r&&t.r>0&&(s=1e3*parseInt(t.d,10)/i)})),s}}return 0},h.prototype.r$=function(t,i,n,s,e,h,o,u){var a=new RegExp(/\$Number%([\d|.|\+]*[a-zA-Z])\$/),c=t.startMS,f=t.durationMS,l=this.e$(i),v=[],d="";if(i.segmentList)for(var p=0;p<i.segmentList.segments.length;p++){var m=i.segmentList.segments[p],b=Math.min(l,f);f-=b,d=n&&!r.isAbsoluteUrl(m)?n+m:m,v.push(this.t$(b,t.id,p,c,d,s)),c+=b}else if(i.segmentTemplate){var y=i.segmentTemplate,g=parseInt(y.startNumber,10),w=0,E=Math.ceil(t.durationMS/l),O=0,A=0,_=0;if("dynamic"===u?(O=Math.min(Math.floor((h-t.startMS)/l),E),A=Math.max(Math.floor((h-t.startMS-o)/l),1)):(O=E,A=1),O<=0||A>O)w=0;else{var T=A-1;g+=T,w=O===A?1:O-A+1,_=t.startMS+T*l,f-=T*l,w<0&&(w=0)}for(var S=y.media.replace("$RepresentationID$",i.id),I=a.test(S)?S.match(a)[1]:"",j=g;j<w+g;j++){var M=S.replace(a,this.$K(I,j)),N=Math.min(l,f);f-=N,d=n&&!r.isAbsoluteUrl(M)?n+M:M;var R=this.t$(N,t.id,j-g,_,d,s);v.push(R),_+=N}}return v},h.prototype.h$=function(t,i){var n=null;return t.segmentList?n=t.segmentList.initialization.sourceURL:t.segmentTemplate&&(n=t.segmentTemplate.initialization.replace("$RepresentationID$",t.id)),i&&!r.isAbsoluteUrl(n)?i+n:n},h.prototype.o$=function(t){return(new DOMParser).parseFromString(t,"application/xml")},h.prototype.parse=function(t){var i=this,n={};if(!t)return null;var r=i.o$(t.rawData);if(null===r||null===r.documentElement||void 0===r.documentElement)return n.error=i.ERRORS.INVALID_MPD,n;if("MPD"!==r.documentElement.nodeName)return n.error=i.ERRORS.INVALID_MPD,n;t.headers&&t.headers.length>0&&t.headers.forEach((function(t){"x-uplynk-prefix"===t.name&&(i.QK=t.value)})),i.WK=r,i.u$(r.documentElement,n);var h=i.JK(n.publishTime),o=i.a$(h);n.streamingMode=s.DASH,n.drm=!1,n.reloadUrl=t.url;for(var u=[],a=r.documentElement.childNodes,c=0;c<a.length;c++){var f=a[c];if(1===f.nodeType)if("Period"===f.nodeName){var l=i.c$(f);null!==l&&u.push(l)}else"Location"===f.nodeName&&(n.reloadUrl=f.childNodes[0].nodeValue)}for(var v=[],d=[],p=[],m=i.KK(n.mediaPresentationDuration),b=i.KK(n.minimumUpdatePeriod),y=i.KK(n.suggestedPresentationDelay),g=i.JK(n.availabilityStartTime),w=0,E=-1,O=0;O<u.length;O++){var A=u[O];A.startMS=i.f$(A,g,w),-1===E&&(E=A.startMS);var _=O+1<u.length?u[O+1]:null;A.endMS=i.l$(A,A.startMS,g,_,E,m,b,o),A.durationMS=A.endMS-A.startMS;for(var T=0;T<A.adaptationSets.length;T++)for(var S=A.adaptationSets[T],I=i.n$(S),j=0;j<S.representations.length;j++){var M=S.representations[j],N=M.baseURL?M.baseURL:S.baseURL,R=i.h$(M,N),D=i.i$(A,S,M,m,b,n.type,n.reloadUrl,R),L=i.r$(A,M,N,R,E,o,y,n.type);L.length>0&&(Array.prototype.push.apply(D.segmentInfoList,L),I===e.VIDEO?i.v$(v,D):I===e.AUDIO?i.v$(d,D):I===e.SUBTITLES&&i.v$(p,D)),S.drm.length>0&&(n.drm=!0)}w+=A.durationMS}this.d$(d),this.d$(p);var k={AUDIO:{audio:d},SUBTITLES:{subs:p}};return n.streamInfoList=v,n.renditionGroups=k,n},h.prototype.d$=function(t){t&&t.length>0&&(t[0].autoSelect=!0,t[0].default=!0)},h.prototype.v$=function(t,i){for(var n=0;n<t.length;n++)if(t[n].groupId===i.groupId)return void this.p$(t[n],i);i.index=t.length,t.push(i)},h.prototype.n$=function(t){return"video/mp4"===t.mimeType?e.VIDEO:"audio/mp4"===t.mimeType?e.AUDIO:"application/mp4"===t.mimeType&&"text"===t.contentType?e.SUBTITLES:e.VIDEO},h.prototype.p$=function(t,i){for(var n=t.segmentInfoList[t.segmentInfoList.length-1].sequenceNum+1,s=0;s<i.segmentInfoList.length;s++){var e=i.segmentInfoList[s];e.sequenceNum=n+s,t.segmentInfoList.push(e)}for(var r=0;r<i.drmInfo.length;r++)t.drmInfo.push(i.drmInfo[r]);i.bitrate>t.bitrate&&(t.bitrate=i.bitrate)},h.prototype.u$=function(t,i){for(var n=t.attributes,s=0;s<n.length;s++)i[n[s].nodeName]=n[s].nodeValue;return n.length},h.prototype.c$=function(t){var i={adaptationSets:[]};this.u$(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("AssetIdentifier"===s.nodeName){var e={};this.u$(s,e),i.assetIdentifier=e}else if("AdaptationSet"===s.nodeName){var r=this.m$(s);null!==r&&i.adaptationSets.push(r)}}return i},h.prototype.m$=function(t){var i={representations:[],drm:[]};this.u$(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("Role"===s.nodeName){var e={};this.u$(s,e),i.role=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("ContentProtection"===s.nodeName){var r=this.b$(s);null!==r&&i.drm.push(r)}else if("Representation"===s.nodeName){var h=this.y$(s);null!==h&&i.representations.push(h)}else s.nodeName}return i},h.prototype.b$=function(t){var i={};this.u$(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if(-1!==s.nodeName.indexOf("pssh"))i.pssh=s.childNodes[0].nodeValue;else if("mspr:pro"===s.nodeName)i.pro=s.childNodes[0].nodeValue;else if("ms:laurl"===s.nodeName){var e={};this.u$(s,e),i.laurl=e}}return i},h.prototype.y$=function(t){var i={};this.u$(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("AudioChannelConfiguration"===s.nodeName){var e={};this.u$(s,e),i.audioChannnelConfiguration=e}else if("BaseURL"===s.nodeName)i.baseURL=s.childNodes[0].nodeValue;else if("SegmentTemplate"===s.nodeName){var r=this.g$(s);i.segmentTemplate=r}else if("SegmentList"===s.nodeName){var h=this.w$(s);null!==h&&(i.segmentList=h)}}return i},h.prototype.g$=function(t){var i={};this.u$(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType&&"SegmentTimeline"===s.nodeName){var e=this.E$(s);i.segmentTimeline=e}}return i},h.prototype.E$=function(t){var i={sElements:[]};this.u$(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType&&"S"===s.nodeName){var e={};this.u$(s,e),i.sElements.push(e)}}return i},h.prototype.w$=function(t){var i={segments:[]};this.u$(t,i);for(var n=0;n<t.childNodes.length;n++){var s=t.childNodes[n];if(1===s.nodeType)if("Initialization"===s.nodeName){var e={};this.u$(s,e),i.initialization=e}else if("SegmentURL"===s.nodeName){var r=s.getAttribute("media");null!==r&&i.segments.push(r)}}return i},h.prototype.f$=function(t,i,n){return t.start?i+this.KK(t.start):n},h.prototype.l$=function(t,i,n,s,e,r,h,o){return t.duration?i+this.KK(t.duration):s&&s.start?n+this.KK(s.start):r?n+e+r:h+o},h.prototype.a$=function(t){var i=Date.now();return this.O$||(this.O$=i-t),i-this.O$}},dbEI:function(t,i,n){"use strict";t.exports=E;var s=n("9m1L").HLSEvent,e=n("WYoP"),r=n("ANte"),h=r.StreamingController,o=r.Events,u=n("pk6O"),a=n("l+r/").MetadataTypes,c=n("qudH").CmdNames,f=n("CTQb"),l=n("LmPb"),v=n("t9DJ"),d=n("D8uh"),p=n("juTp"),m=n("l+r/").Model,b=n("ORzE"),y=n("mvD1"),g=n("AbTv"),w=n("9mgm").userAgent;function E(t,i){d.call(this,this.constructor.name),this.XH=t,this.JH=i,this.model=this.create(m,t),this.services=this.create(b),this.QS=this.services.metadataParser,this.ZS=this.create(f),this.A$=this.create(h),this._$=this.create(u),this.tI=v.INITIAL,this.CI={},this._H=this.XH.config.inWorkerScope,this.sN(),this.VT=!1,this.T$=!1,this.S$=new l(250),this.S$.addEventListener(this.I$,this),this.initialize()}p.inherits(E,d),E.prototype.create=function(){var t=this,i=Array.prototype.slice.call(arguments),n=i.shift(),s=Object.create(n.prototype);return s.__controller=t,n.apply(s,i),s},E.prototype.destroy=function(){this.A$&&(this.A$.destroy(),this.A$=null),this._$&&(this._$.destroy(),this._$=null),this.ZS&&(this.ZS.destroy(),this.ZS=null),this.services&&(this.services.destroy(),this.services=null),this.S$&&(this.S$.destroy(),this.S$=null),this.tI=v.INITIAL,this.removeEventListeners(this.CI),d.prototype.destroy.call(this)},E.prototype.initialize=function(){this.j$()},E.prototype.getSegInfo=function(){if(!this.A$)return null;var t=this.A$.getMetrics();return this._H&&this.sendEvent(s.SEG_INFO_METRICS_AVAILABLE,t),t},E.prototype.sendEvent=function(t,i){this.publish(t,i);var n=this.create(g,{type:y.MessageTypes.EVENT,id:t,args:[i],argNames:["eventData"]});this.M$(n)},E.prototype.sendMessage=function(t,i,n,s){var e=this.create(g,{type:y.MessageTypes.MESSAGE,id:t,args:i,argNames:n});this.M$(e,s)},E.prototype.notifyError=function(t){this.error=t;var i=this.tI;i!==v.ERROR&&this.N$(v.ERROR),i!==v.PAUSED&&this.sendEvent(s.ERROR,"HlsError"===this.error.constructor.name?this.error.dto():this.error)},E.prototype.M$=function(t,i){t&&this.JH&&(t.addMedia(),this.JH(t,i))},E.prototype.sN=function(){this.A$.addEventListener(o.STREAM_METADATA_LOADED,this.R$,this),this.A$.addEventListener(o.STREAM_METADATA_LOAD_ERROR,this.D$,this),this.A$.addEventListener(o.PRELOAD_COMPLETE,this.QN,this),this.A$.addEventListener(o.SEG_LOAD_PROGRESS,this.nR,this)},E.prototype.L$=function(t){},E.prototype.N$=function(t,i){this.L$(t),this.tI=t,this.sendEvent(s.STATE_CHANGED,t),this.k$(i)},E.prototype.getState=function(){return this.tI},E.prototype.k$=function(t){switch(this.tI){case v.MEDIA_METADATA_LOADING:this.C$();break;case v.MEDIA_METADATA_LOADED:if(this.sendEvent(s.MEDIA_METADATA_LOADED),this.model.isDash()){this.sendMessage(y.MessageIds.DRM_INIT),this.N$(v.MEDIA_LOADED);break}this.N$(v.STREAM_METADATA_LOADING);break;case v.STREAM_METADATA_LOADING:this.A$.loadStream(this.model.getCurrentLoadingStream());break;case v.STREAM_METADATA_LOADED:this.N$(v.MEDIA_LOADED);break;case v.MEDIA_LOADED:if(w.android&&w.chrome&&this.model.drmInfo&&this.model.drmInfo.length)return;this.P$();break;case v.PRELOADING:this.A$.onPreloadBegin(),this.sendEvent(s.PRELOAD_START),this.S$.start();break;case v.PLAY_REQUESTED:this.S$.start(),this.A$.onPlay(t),this.T$||(this._$.onPlayRequested(),this.T$=!0);break;case v.PLAYING:this.A$.onPlaying();break;case v.PLAY_COMPLETE:this.S$.stop(),this.A$.onComplete(),this._$.onComplete();break;case v.ERROR:this.S$.stop(),this.A$.onError(),this.ZS.removeAllCommands(),this._$.onError()}},E.prototype.j$=function(){var t=this.model.metadata;if(this.tI===v.INITIAL)return t.type===a.STRUCTURED?(this.model.build(this.QS.parse(t)),void(t.hasStreamMetadata?t.hasSubtitleMetadata?this.A$.loadAllSubtitleStreams():this.N$(v.MEDIA_LOADED):t.hasMediaMetadata&&this.N$(v.MEDIA_METADATA_LOADED))):void this.N$(v.MEDIA_METADATA_LOADING)},E.prototype.I$=function(){this.tI<v.MEDIA_LOADED||(this._$.checkBuffering(),this.A$.process())},E.prototype.onPlay=function(t){this.tI===v.ERROR&&this.error&&this.notifyError(this.error),this.tI<v.MEDIA_LOADED||(this.tI===v.PRELOADING&&(this.A$.onPreloadEnd(),this.sendEvent(s.PRELOAD_COMPLETE)),this.N$(v.PLAY_REQUESTED,t))},E.prototype.onPlaying=function(){this.tI<v.MEDIA_LOADED||(this.N$(v.PLAYING),this._$.onPlaying())},E.prototype.onPause=function(){this.tI<v.MEDIA_LOADED||(this.A$.onPause(),this._$.onPause(),this.N$(v.PAUSED))},E.prototype.onSeeking=function(t){this.tI<v.MEDIA_LOADED||(this.VT=!0,this.A$.onSeeking(t),this._$.onSeeking())},E.prototype.onSeeked=function(t){this.tI<v.MEDIA_LOADED||(this.VT=!1,this.A$.onSeeked(t),this._$.onSeeked())},E.prototype.onComplete=function(){this.tI<v.MEDIA_LOADED||this.N$(v.PLAY_COMPLETE)},E.prototype.onError=function(t){this.N$(v.ERROR)},E.prototype.onTimeUpdate=function(t){this.x$(t),this._$.onTimeUpdate(),this.A$.onTimeUpdate(this.model.currentTime)},E.prototype.onUpdate=function(t){this.x$(t),this._$.onTimeUpdate()},E.prototype.onSynchComplete=function(t){this.A$.onSynchComplete(),this._$.onVideoSync(t)},E.prototype.onSynchMetadataReady=function(t){this.A$.onSynchMetadataReady(t)},E.prototype.x$=function(t){t&&(this.model.currentTime=t.currentTime,this.model.bufferedAndPending=t.bufferedAndPending,this.model.bufferLength=t.bufferLength,this.model.pendingBufferLength=t.pendingBufferLength,this.model.bufferedRanges=t.bufferedRanges,this.model.dimensions=t.dimensions,this.model.pixelRatio=t.pixelRatio,this.services.segmentMetrics.updateFrameStats(t.frameStats))},E.prototype.C$=function(){var t=this.model.getMediaUrl(),i=t&&-1!==t.indexOf(".mpd"),n={url:t,withResponseHeaders:i};this.ZS.executeCommand(c.CMD_MEDIA_LOAD,n,this)},E.prototype.onMediaLoadComplete=function(t,i){if(t)if(i){var n={rawData:i.data,headers:i.headers,type:a.RAW,url:t.data?t.data.url:"",cdn:this.model.getMediaCdn()};this.model.build(this.QS.parse(n)),this.ZS.removeCommand(t),this.N$(v.MEDIA_METADATA_LOADED)}else this.ZS.removeCommand(t)},E.prototype.onMediaLoadError=function(t,i){t&&this.ZS.removeCommand(t),i&&1===i.code&&(this.N$(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD)))},E.prototype.R$=function(){this.tI<v.MEDIA_LOADED&&this.N$(v.STREAM_METADATA_LOADED)},E.prototype.D$=function(){this.N$(v.ERROR),this.notifyError(new e.Error(e.ERR_PLAYLIST_LOAD))},E.prototype.QN=function(){this.tI===v.PRELOADING&&(this.N$(v.MEDIA_LOADED),this.sendEvent(s.PRELOAD_COMPLETE)),this.S$.reset()},E.prototype.nR=function(){this._$.isBuffering()&&this.sendEvent(s.BUFFER_GROWTH_DETECTED)},E.prototype.U$=function(t){for(var i=Object.keys(v),n=0;n<i.length;n++)if(t===v[i[n]])return i[n]},E.prototype.preload=function(t){t&&(this.model.config.preloadBufferLimit=t,this.model.bufferLength+this.model.pendingBufferLength<t&&this.tI===v.MEDIA_LOADED&&this.N$(v.PRELOADING))},E.prototype.setABRMode=function(t){this.tI<v.MEDIA_LOADED||this.A$.setABRMode(t)},E.prototype.setAudioLanguage=function(t){this.tI<v.MEDIA_LOADED||this.A$.setAudioLanguage(t)},E.prototype.getMinimumBufferTime=function(){return this._$.getMinimumBufferTime()},E.prototype.suspendStreaming=function(){this.S$.stop(),this.A$.suspendStreaming()},E.prototype.resumeStreaming=function(){this.tI!==v.PRELOADING&&this.tI!==v.PLAY_REQUESTED&&this.tI!==v.PLAYING&&this.tI!==v.PAUSED||(this.A$.resumeStreaming(),this.S$.start())},E.prototype.P$=function(){this.A$.isInitialized()||(this.A$.init(),this.sendEvent(s.MEDIA_LOADED),!this.model.live&&this.model.bufferLength+this.model.pendingBufferLength<this.model.config.preloadBufferLimit&&this.N$(v.PRELOADING))},E.prototype.onGenerateRequestComplete=function(){this.P$()}},dbif:function(t){t.exports=JSON.parse('{"ERR_TITLE_CANNOT_PLAY_VIDEO":"Cannot Play Video"}')},ds4h:function(t,i,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},e26t:function(t,i,n){"use strict";function s(t){t&&(this.url=t.url,this.name=t.name,this.range=t.range);var i=this.range;this.loaded=!1,this.data=i&&i.end>=0&&i.start>=0&&i.end>i.start?new Uint8Array(i.end-i.start+1):null,this.V$=0,this.jE=this.data?this.data.byteLength:0}t.exports=s,s.prototype.destroy=function(){this.data=null},s.prototype.append=function(t){if(this.loaded||!t)return 0;var i=0;if(this.jE&&this.data){i=Math.min(t.byteLength,this.jE-this.V$);for(var n=0;n<i;n++)this.data[this.V$+n]=t[n];this.V$+=i,this.V$>=this.jE&&(this.loaded=!0)}else{var s=t.byteLength;if(!s)return;var e=null,r=0;this.data&&(r=(e=this.data).length),i=r+s,this.data=new Uint8Array(i),e&&this.data.set(e),this.data.set(t,r),this.V$+=i}return i},s.prototype.equals=function(t){return!!t&&(this.url===t.url&&this.name===t.name&&(!this.range||!t.range||this.range.start===t.range.start&&this.range.end===t.range.end))}},e6ei:function(t,i,n){"use strict";t.exports=O;var s=n("mvD1"),e=s.MessageIds,r=s.MessageTypes,h=n("juTp"),o=n("LmPb"),u=n("Emy5"),a=n("0r65"),c=n("dbEI"),f=n("sqXt"),l=n("N0hD"),v=n("9m1L").HLSEvent,d=n("wzly"),p=n("AbTv"),m=n("6W2X"),b=n("yUCA").SynchTypes,y=n("yU6z").LicenseManager,g="synchBegin",w="synchMetadataReady",E="synchDone";function O(t){this.ZH="Controller",this.QH=h.guid(),this._node=this.BI.node,this.aU=this.BI.mediaSource,this.oE=this.BI.appModel,this.mediaLoaded=!1,this.B$=!1,this.SQ=null,this.F$=t?t.sessionId:null,this.z$=new f(this._node,this.BI.mediaSource,this),this.H$=this.BI.create(l),this.q$=this.BI.create(d),this.G$=new m,this.Y$=new o(250),this.Y$.addEventListener(this.SX,this),this.xI=[];var i={userAgent:this.oE.userAgent,metadata:t,config:this.oE.config};if(i.config.bwHistory=this.W$(),this.WH=this.KH(i),this.WH){if(this.$H=this.Z$(this.ZH),this.$H)return i.config.inWorkerScope=!0,this.$H.addEventListener("message",this.dq.bind(this)),void this._q(e.CREATE,[i]);this.oE.config.useWorker=!1}this.AM=new c(i,this.Q$.bind(this)),this.WH=!1,this.BN=!1,this.X$=!1,this.J$=null,this.SQ=null,this.K$=E,this.$$=null,this.t0=!1}O.prototype.destroy=function(){this.z$.destroy(),this.H$.destroy(),this.q$.destroy(),this.xI=[],this.i0&&this.i0.destroy(),this.Y$&&(this.Y$.destroy(),this.Y$=null),this.WH&&this.$H?(this._q(e.DESTROY),this.$H.terminate()):this.AM.destroy()},O.prototype.KH=function(t){var i=t?t.userAgent:null,n=!t||!t.config||t.config.useWorker;if(!i)return n;if(i.chrome&&!i.win7)return!1;if(i.safariDesktop)return!1;var s=t?t.metadata:null;return!(s&&s.url&&s.url.indexOf(".mpd")>-1)&&(!(i.firefox&&s&&s.streams&&s.streams.length&&"m3u8:fmp4"===s.streams[0].format)&&((!this.n0(s)||!(i.safari||i.edge||i.ie))&&n))},O.prototype.n0=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.s0(t.streams[0]):null;return h.isUplynk(i||n)},O.prototype.s0=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},O.prototype.sendVideoEvent=function(t){if(t)switch(t.type){case"play":this.e0();break;case"playing":this.gX();break;case"pause":this.sV();break;case"seeking":this.hV(t);break;case"seeked":this.EX(t);break;case"ended":this.r0();break;case"error":this.wL();break;case"timeupdate":this.rV(t);break;case"resize":this.mX(t)}},O.prototype.onMediaSourceOpen=function(){this.mediaLoaded&&(this.Y$.reset(),this.Y$.start(),this.xI.length&&this.VI())},O.prototype.play=function(t){if(!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded){var i=this.oE.live?this._node.currentTime:this.oE.duration,n=t>0&&t<=i?t:null;n&&this.XN(n,b.INIT),this.h0()}else this.xI.push([this,this.play,[t]])},O.prototype.pause=function(){!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded?this._node.pause():this.xI.push([this,this.pause])},O.prototype.preload=function(t){!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded?this.o0("preload",[t]):this.xI.push([this,this.preload,[t]])},O.prototype.setABRMode=function(t){this.o0("setABRMode",[t])},O.prototype.setAudioLanguage=function(t){this.o0("setAudioLanguage",[t])},O.prototype.suspendStreaming=function(){this.o0("suspendStreaming")},O.prototype.resumeStreaming=function(){this.o0("resumeStreaming")},O.prototype.getSegInfo=function(){var t={mode:"sync",segInfo:null,bufferLen:null,sessionId:this.F$};return this.WH&&this.$H?(t.mode="async",this._q(e.CALL_METHOD,null,"getSegInfo")):t.segInfo=this.AM.getSegInfo(),t.bufferLen=this.oE.getBufferLength(),t},O.prototype.e0=function(){if(this.oE.setDimensions(),!this.aU||"closed"!==this.aU.readyState&&this.mediaLoaded){var t=this.SQ;this.J$&&(t=this.J$,this.J$=null),this.BN=!1,this.o0("onPlay",[t]),this.q$.onPlay()}else this.xI.push([this,this.e0])},O.prototype.gX=function(){this.o0("onPlaying"),this.q$.onPlaying()},O.prototype.sV=function(){this.BN=!0,this.o0("onPause"),this.q$.onPause()},O.prototype.hV=function(t){var i=t.target.currentTime,n=!this.oE.live,s=!1,e=this.oE.userAgent;e&&e.safariDesktop&&(s=!this.oE.live||this.t0),this.H$.onSeeking(n,s),this.t0=!1,this.o0("onSeeking",[i])},O.prototype.EX=function(t){var i=t.target.currentTime;this.o0("onSeeked",[i])},O.prototype.r0=function(){this.Y$.stop(),this.o0("onComplete")},O.prototype.wL=function(){var t=this._node.error?this._node.error.code:null;this.o0("onError",[t]),this.H$.onError()},O.prototype.mX=function(){this.oE.setDimensions()},O.prototype.rV=function(){this.u0("onTimeUpdate")},O.prototype.SX=function(){this.mediaLoaded&&this.u0("onUpdate")},O.prototype.u0=function(t){this.H$.process();var i={currentTime:this._node.currentTime,bufferedAndPending:this.H$.getBufferedAndPending(),bufferLength:this.oE.getBufferLength(),pendingBufferLength:this.H$.getPendingBufferLength(),bufferedRanges:this.oE.getBufferedDto(),dimensions:this.oE.getDimensions(),pixelRatio:this.oE.getPixelRatio(),frameStats:this.q$.getFpsStats()};this.o0(t,[i])},O.prototype.AQ=function(){this.mediaLoaded=!0,this.aU&&"closed"===this.aU.readyState||(this.Y$.start(),this.xI.length&&this.VI())},O.prototype.XN=function(t,i){this.SQ=t,this.K$=g,this.$$=i,this.oE.live&&(this.H$.resetReadyState(),this.H$.clear())},O.prototype.a0=function(t){this.SQ=null,this.K$=E,this.$$=null,this.oE.live&&this.o0("onSynchComplete",[t])},O.prototype.VI=function(){var t=this.xI;this.xI=[],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)}))},O.prototype.o0=function(t,i){this.WH&&this.$H?this._q(e.CALL_METHOD,i,t):this.AM[t].apply(this.AM,i)},O.prototype.Z$=function(t){if(!t)return null;if(this.WH&&"undefined"!=typeof Worker)try{return this.$H||(this.$H=a(u)),this.$H}catch(t){}return null},O.prototype.dq=function(t){if(t){var i=t.data?new p(t.data):t;if(i&&i.instanceId===this.QH){var n=i.getParam("media");if(n&&this.oE.update(n),i.type!==r.EVENT)switch(i.id){case e.CREATE_SRC_BUFFER:this.c0(i.getParam("tracks"));break;case e.APPEND_SRC_BUFFER:this.f0(i.getParam("tracks"));break;case e.SAVE_AVG_BANDWIDTH:this.l0(i.getParam("avgBwInfo"));break;case e.END_OF_STREAM:i.args&&i.args.length&&(this.H$.endOfStream(i.getParam("endOfStream")),this.BI.sendEvent(v.CONTENT_LOAD_FINISHED,i.args[0]));break;case e.PAUSE_BEFORE_STREAM_CHANGE:this.v0(i.getParam("streamType"));break;case e.PLAY_AFTER_STREAM_CHANGE:this.d0();break;case e.DRM_INIT:this.i0||(this.i0=new y(this.AM,this._node,this.BI));for(var s=0;s<this.oE.drmInfo.length;s++)this.i0.addDrmItem(this.oE.drmInfo[s]);break;case e.DRM_LICENSE_INFO:this.i0&&this.i0.addDrmItem(i.getParam("drmItem"));break;case e.SKIP_GAP:this._node.currentTime=i.getParam("seekPosition")}else this.p0(i.id,i.getParam("eventData"))}}},O.prototype.Q$=function(t){t.instanceId=this.QH,this.dq(t)},O.prototype.p0=function(t,i){if(t){switch(t){case v.MEDIA_LOADED:this.AQ();break;case v.WAITING:var n=i?i.minBufferTime:.1;this.H$.setMinimumBufferTime(n),this.q$.updateBufferingInfo(i);break;case v.LIVE_SYNCH:var s=i?i.synchPosition:null,e=i?i.synchType:b.INIT;this.XN(s,e);break;case v.SEG_INFO_METRICS_AVAILABLE:i={segInfo:i,bufferLen:this.oE.getBufferLength(),sessionId:this.F$};break;case v.VTT_SEGMENT_LOADED:i&&(i.sessionId=this.F$);break;case v.MEDIA_METADATA_LOADED:i=this.oE.streams;break;case v.ERROR:return i.error=new Error(i.message,i.code),void this.BI.notifyError(i)}this.BI.sendEvent(t,i)}},O.prototype.c0=function(t){var i=this;t&&(!i.aU||"closed"!==i.aU.readyState&&i.mediaLoaded?(i.m0(),t.forEach((function(t){i.H$.createSourceBuffer(t.type,t.mimeType,t.minBufferTime)}))):i.xI.push([i,i.c0,[t]]))},O.prototype.m0=function(){this.aU&&!this.aU.duration&&this.oE.duration>0&&(this.aU.duration=this.oE.duration)},O.prototype.f0=function(t){var i=this;t&&(t.forEach((function(t){i.H$.appendBuffer(t,(function(t,n){i.aG(t,n)}))})),i.oE.preloading&&!i.B$&&(i.BI.sendEvent(v.PRELOAD_PROGRESS),i.B$=!0))},O.prototype.aG=function(){if(!this.oE.live&&this.K$===g){if(!this.H$.areSrcBuffersReady())return;return this.H$.onSeeking(!0),this.K$=w,void this.o0("onSynchMetadataReady",[this.SQ])}if(this.SQ&&this.H$.areSrcBuffersReady()){var t=this.b0(this._node),i=this._node.buffered;if(t.length&&i.length){var n=t.start(t.length-1),s=t.end(t.length-1),e=this.oE.TIMESTAMP_COMPARE_EPSILON;if(this.SQ+e>=n&&this.SQ<=s){for(var r=this.SQ,h=0;h<i.length;h++)if(!(r>i.end(h))&&r<i.start(h)){r=i.start(h);break}var o=this.oE.userAgent;this.t0=o&&o.safariDesktop&&this.oE.live&&this.$$===b.TIME_GAP;try{this._node.currentTime=r}catch(t){}this.a0(r)}}}},O.prototype._q=function(t,i,n){if(this.$H&&t){var s={type:r.MESSAGE,id:t,moduleName:this.ZH,instanceId:this.QH,funcName:n,args:i,timestamp:Date.now()};this.$H.postMessage(s)}},O.prototype.W$=function(){var t=this.G$.readProperty("avgBW"),i=t?t.avgBWtimestamp:null;if((i?Date.now()-parseInt(i):Number.MAX_VALUE)<1e3*this.oE.config.bwHistoryMaxAge&&t){var n=t.avgBW;return n?parseInt(n):0}return 0},O.prototype.l0=function(t){t&&this.G$&&this.G$.writeProperty("avgBW",t)},O.prototype.d0=function(){this.X$&&(this.h0(),this.X$=!1,this.BI.sendEvent(v.WAITING,{value:!1,bufferInit:!1}))},O.prototype.v0=function(t){var i=this._node.currentTime,n=this.oE.live;n&&"audio"===t?this.H$.clearSrcBuffer(t):this.H$.clear(),this.BN||(this.BI.sendEvent(v.WAITING,{value:!0,bufferInit:!1}),this._node.pause(),this.X$=!0),n?this.J$=i:this._node.currentTime=i},O.prototype.h0=function(){var t=this;if(t._node){var i=t._node.play();return i&&"function"==typeof i.catch&&i.catch((function(){t._node.paused&&t.BI.sendEvent(v.PLAY_BLOCKED)})),i}},O.prototype.getCurrentDate=function(){return this.oE.getCurrentDate()},O.prototype.b0=function(t){var i=this.oE.userAgent;return this.oE.live&&i.edge&&i.edge>=17&&i.edge<18?t.buffered:t.seekable}},ecni:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=function(){function t(){this.name="SapiVisualSeek",this.version="8.2.125",this.type=s.Plugin.PluginType.VISUAL_SEEK,this.visualSeekType=s.Plugin.VisualSeekType.SPRITE,this.mimetype="visualseek/sapi",this.lG={}}return t.prototype.prepare=function(){},t.prototype.destroy=function(){this.lG={}},t.prototype.canSeek=function(t){return t&&!(!this.lG[t]||!this.lG[t].visualSeek)||!1},t.prototype.update=function(t,i){var n=this.lG[t]||{};n.visualSeek=i&&i.visualSeek||n.visualSeek,this.lG[t]=n},t.prototype.getThumbnailData=function(t,i){var n=this.lG[t]&&this.lG[t].visualSeek;if(!(n&&n.width&&n.height&&n.frequency&&n.images))return null;var s=Math.ceil(Math.floor(i)/n.frequency),e=this.nP(n.images,s);return e?{index:s,isAd:!1,url:e,width:n.width,height:n.height}:null},t.prototype.nP=function(t,i){for(var n=0,s=t;n<s.length;n++){var e=s[n],r=e.start_index,h=e.count,o=e.url;if(r<=i&&i-r<h)return o}return null},t}();i.default=e},fKQk:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("wqBe"),u=n("xPTa"),a=n("IWlq"),c=n("Fry/"),f=n("6u/y"),l=n("ablw"),v=n("KF4c"),d=n("Q534"),p=n("O5f/"),m=n("/tvQ"),b="<span class='vp-details'>",y=": </span>",g=".vp-opss-";!function(t){t.VISIBILITY_CHANGED="visibility-changed"}(r=i.OpssEvent||(i.OpssEvent={}));var w=function(){function t(t,i){var n=this;void 0===t&&(t=""),this.y0=t,this.qR=".vp-section-expand-",this.g0=g+"current-",this.qR+=this.y0,this.g0+=this.y0,this.w0=i.select(this.qR),this.E0=i.select(this.g0),this.w0.onTap((function(){var t=n.E0.contains("vp-hide");n.E0.addOrRemove("vp-hide",!t),n.w0.remove(t?"vp-expanded":"vp-collapsed").add(t?"vp-collapsed":"vp-expanded")}))}return t.prototype.render=function(t){},t.prototype.destroy=function(){this.E0.destroy(),this.w0.destroy()},t}(),E=function(t){function i(i){return t.call(this,"hosting",i)||this}return e(i,t),i.prototype.render=function(t){var i=window.VDMS,n=i&&i.VideoPlatform&&i.VideoPlatform.PlayerHosting||"local";this.E0.select(g+this.y0).innerHTML=JSON.stringify(n,void 0,2)},i}(w),O=function(t){function i(i){return t.call(this,"plugins",i)||this}return e(i,t),i.prototype.render=function(t){var i="",n=t.plugins,s=function(t){Object.prototype.hasOwnProperty.call(n,t)&&n[t].forEach((function(n){i+="<div>"+b+t+y+n.mimetype+" - "+n.version+"</div>"}))};for(var e in n)s(e);this.E0.select(g+this.y0).innerHTML=i},i}(w),A=function(t){function i(i){return t.call(this,"context",i)||this}return e(i,t),i.prototype.render=function(t){var i=this.E0,n=t.config||{};i.select(g+"expSiteName").innerHTML=b+"site"+y+n.site,i.select(g+"expName").innerHTML=b+"expName"+y+n.expName,i.select(g+"expBucketName").innerHTML=b+"expBucket"+y+n.expBucket,i.select(g+"expType").innerHTML=b+"expType"+y+n.expType},i}(w),_=function(t){function i(i){return t.call(this,"config",i)||this}return e(i,t),i.prototype.render=function(t){this.E0.select(g+"profile").innerHTML=JSON.stringify(t.config,void 0,2)},i}(w),T=function(){function t(t){this.y0=t,this.ZM=[],this.O0=[]}return t.prototype.push=function(t,i){this.ZM.push(parseFloat(t)),this.O0.push(i)},t.prototype.render=function(t){if(this.ZM.some((function(t){return l.isNumber(t)}))){var i=new d.default(document.createElement("div"));i.innerText=this.y0;var n=new d.default(document.createElement("div")).add("vp-opss-graph").appendView(i),s=document.createElement("canvas");s.width=150,s.height=60,n.appendChild(s),t.select(g+"graphs").appendView(n),this.xZ(s,150,60)}},t.prototype.xZ=function(t,i,n){var s=t.getContext("2d");if(s){for(var e=this.ZM.length-1,r=0,h=this.O0[e],o=this.ZM[e],u=o,a=e-1;a>=0;a--)if(o=Math.min(o,this.ZM[a]),u=Math.max(u,this.ZM[a]),a>0&&h-this.O0[a-1]>45){r=a;break}var c=this.O0[r];o>0&&(o=0),o===u&&(u=o+1),s.save(),s.translate(40,n),s.scale((i-40)/45,-1*n/(u-o)),s.beginPath(),s.moveTo(0,this.ZM[r]-o);for(var f=r+1;f<this.ZM.length;f++)s.lineTo(this.O0[f]-c,this.ZM[f]-o);s.restore(),s.lineWidth=1,s.lineCap="round",s.lineJoin="round",s.strokeStyle="white",s.stroke(),s.font="8pt Monospace",s.fillStyle="white",s.fillText(u.toFixed(1),0,10),s.fillText(o.toFixed(1),0,60)}},t}(),S=function(t){function i(i,n){var s=t.call(this,p,{version:i.version,strings:a.default})||this;return s.A0=[],s.oE=i,s._0=n,s.T0={},s.S0={bitrate:new T("Bit Rate History"),speed:new T("Download Speed History"),bufferLength:new T("Buffer Length History"),frameRate:new T("Frame Rate History")},s.I0(),s.j0=s.M0(g+"close-btn",(function(){s.close()})),s.N0=s.M0(".vp-profile-btn",(function(){s.R0(s.oE.inputConfig)})),s.D0(),s.A0.push(new _(s.view)),s.A0.push(new O(s.view)),s.A0.push(new E(s.view)),s.A0.push(new A(s.view)),s}return e(i,t),i.prototype.render=function(t){this.L0(t);var i={plugins:this._0,config:this.oE.inputConfig};this.A0.forEach((function(t){return t.render(i)})),this.k0(),this.C0(),this.view.setDisplay("block"),this.publish(r.VISIBILITY_CHANGED,!0,this.view)},i.prototype.isOpen=function(){return"none"!==this.view.node.style.display},i.prototype.close=function(){this.view.setDisplay("none"),this.publish(r.VISIBILITY_CHANGED,!1,this.view),this.P0()},i.prototype.onPlaybackInfo=function(t){this.T0=t;var i=Date.now()/1e3;this.S0.bitrate.push(t.currentStreamBitrate,i),this.S0.speed.push(t.currentKbps,i),this.S0.bufferLength.push(t.bufferLength,i),this.S0.frameRate.push(t.frameRate?t.frameRate:0,i),this.C0()},i.prototype.onPlaylistPositionChange=function(){this.k0()},i.prototype.onRendererSwitch=function(t,i){this.render(i)},i.prototype.onVideoEvent=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];switch(t){case o.VideoEvent.PLAYING:case o.VideoEvent.PAUSE:case o.VideoEvent.SEEKING:case o.VideoEvent.SEEKED:this.x0(g+"playback",t)}},i.prototype.destroy=function(){this.P0(),this.j0&&this.j0.destroy(),this.N0&&this.N0.destroy(),this.U0.destroy(),this.V0.destroy(),this.B0.destroy(),this.A0.forEach((function(t){return t.destroy()})),t.prototype.destroy.call(this)},i.prototype.F0=function(t){return this.view.select(t)},i.prototype.I0=function(){var t=this;this.U0=new f.default(1e3),this.U0.addEventListener(f.default.TIMER_EVENT,(function(){t.x0(g+"network",["network empty","network idle","network loading","network no source"][t.z0.networkState])}),this),this.V0=new f.default(1e3),this.V0.addEventListener(f.default.TIMER_EVENT,(function(){t.x0(g+"state",t.oE.getState())}),this),this.B0=new f.default(1e3),this.B0.addEventListener(f.default.TIMER_EVENT,(function(){t.x0(g+"ready",["have nothing","have metadata","have current data","have future data","have enough data"][t.z0.readyState])}),this)},i.prototype.x0=function(t,i){var n=this.F0(t);n&&(n.innerHTML=i)},i.prototype.M0=function(t,i){return this.F0(t).onTap((function(t){t.stopPropagation(),i()}))},i.prototype.L0=function(t){t&&(this.z0=t.node,this.H0()&&this.q0())},i.prototype.G0=function(t,i,n){this.F0(t).innerHTML=b+i+y+n},i.prototype.R0=function(t){var i;try{i=JSON.parse(JSON.stringify(t))}catch(t){i={}}var n=d.default.build(m,{config:JSON.stringify(i,null,2)}).node.innerHTML;if(h.userAgent.mobile)document.write(n);else{var s=window.open();s&&s.document.write(n)}},i.prototype.H0=function(){return h.userAgent.tv||h.userAgent.safari},i.prototype.Y0=function(t){var i="";return Object.keys(t).forEach((function(n){var s=t[n];i+="<div>"+b+n+y+s+"</div>"})),i},i.prototype.W0=function(t,i){var n=this,s="";return Object.keys(t).forEach((function(e){var r=t[e];r&&"object"==typeof r?isNaN(e)?(s+="<div>"+e+" :</div>",s+='<div style="padding-left: 10px">'+n.W0(r)+"</div>"):s+="<div>"+n.W0(r,e)+"</div>":s+="<div>"+(i?i+" : ":"")+e+" : "+r+"</div>"})),s},i.prototype.Z0=function(t){return'<div class="vp-opss-title">'+t+"</div>"},i.prototype.D0=function(){var t={OS:h.userAgent.os,Mobile:h.userAgent.mobile,"User Agent":h.userAgent.ua};if(h.userAgent.mobile){t["Can Play Inline"]=c.default.canPlayInline,t["Autoplay Supported"]=c.default.autoplaySupported,c.default.autoplaySupported&&(t["Has Native Autoplay Support"]=c.default.hasNativeAutoplaySupport);var i=c.default.network;t["Network Info Available"]=i.available,t["Network Connection Type (SAPI)"]=i.connectionType,t["Network Connection Type (User Agent)"]=h.capabilities.getConnectionType()||"n/a",t["Is Mobile Network"]="boolean"==typeof i.mobile?i.mobile:"n/a"}this.x0(g+"platform",this.Y0(t))},i.prototype.k0=function(){var t=this.oE.playlist.getCurrentItem(),i="",n="none",s=this.z0?this.z0.currentSrc:"";t&&(i=t.id,n=t.videoSession),this.G0(g+"uuid","UUID",i),this.G0(".vp-sessionId","SessionId",n),this.H0()&&this.x0(g+"url","Current Source URL : "+s)},i.prototype.C0=function(){var t=this.oE.playlist.getCurrentItem(),i=this.T0,n=i.deliveryProtocol;for(var s in t&&(n+=" / "+t.getType()),this.x0(g+"graphs",""),this.S0)this.S0[s].render(this.view);var e={"Total Quality Levels":i.qualityLevels,"Encoding Method":t&&t.streams.length>0?t.streams[0].rcMode:"na","Current Bitrate":i.currentStreamBitrate+" kbps",Protocol:n,CDN:t?t.getCDN():"","Recovery count":t?t.failoverCount:0,"Buffer Length":i.bufferLength+" secs","Frame Rate":i.frameRate,"Download Speed":i.currentKbps+" kbps","Dropped Frames":i.droppedFrames,"Media Size":i.mediaWidth+" x "+i.mediaHeight,"Buffering Count":0,"Total buffering time":"",Protected:i.drm?"Yes":"No"};t&&t.rendererType===u.RendererType.HTML5_HLS&&(e["Buffering Count"]=i.bufferingCount,e["Total buffering time"]=i.totalBufferingTime+" ms");var r=this.oE.playbackState.rendererType||"(no renderer yet)";r=r===u.RendererType.HTML5_HLS?r+" "+this.oE.jshlsVersion:r,this.x0(g+"detail",this.Y0(e)),this.G0(g+"renderertype","Renderer Type",r)},i.prototype.q0=function(){var t=this.F0(g+"tv");if(t){var i='<div class="vp-opss-url"></div>'+this.Z0("HTML5 Video States"),n='<span class="vp-opss-',s='"></span>',e={"Playback State":n+"playback"+s,"Player State":n+"state"+s,"Network State":n+"network"+s,"Ready State":n+"ready"+s};i+=this.Y0(e),t.innerHTML=i,this.Q0()}},i.prototype.Q0=function(){this.V0.start(),h.userAgent.samsung||(this.U0.start(),this.B0.start())},i.prototype.P0=function(){this.V0.stop(),this.U0.stop(),this.B0.stop()},i}(v.default);i.default=S},fYOM:function(t,i){},"fpO/":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("P2OX"),a=n("Na72"),c=n("6u/y"),f=n("yf6s"),l=5e3,v=2e4,d="BACKGROUND",p="SUSPEND";!function(t){t.SUSPEND_STREAMING="suspendStreaming",t.RESUME_STREAMING="resumeStreaming",t.CTRL_PLAYPAUSE="ctrlPlayPause"}(r=i.PauseHandlerEvents||(i.PauseHandlerEvents={}));var m=c.default.TIMER_EVENT,b=function(t){function i(i,n){var s=t.call(this,"pauseHandler")||this;if(s.AM=i,s.oE=n,s.X0=!1,!s.AM||!s.oE)throw new Error("[PauseHandler] Invalid arguments");var e=s.J0=Object.assign({},s.oE.backgroundPause);return s.J0.timeToPause=e.timeToPause?1e3*e.timeToPause:l,s.K0=e.onMute||e.onUnmute,s.J0.suspendStreamingTime=e.suspendStreamingTime?1e3*e.suspendStreamingTime:v,s.J0.backgroundSuspendStreaming=!0,s.$0={BACKGROUND:new c.default(e.timeToPause,1),SUSPEND:new c.default(e.suspendStreamingTime,1)},s.t1={BACKGROUND:s.$0.BACKGROUND.addEventListener(m,s.bX,s),SUSPEND:s.$0.SUSPEND.addEventListener(m,s.i1,s)},s.n1=!1,s.s1=!1,s}return e(i,t),i.prototype.destroy=function(){var t=this.$0.BACKGROUND;t.removeEventListener(m,this.t1.BACKGROUND),t.destroy(),(t=this.$0.SUSPEND).removeEventListener(m,this.t1.SUSPEND),t.destroy()},i.prototype.onPlaybackStart=function(){this.X0=!0},i.prototype.onPlaybackPlaying=function(t){if(this.X0&&!t&&this.e1())return this.X0=!1,void this.h1();this.X0=!1,this.n1&&o.userAgent.chrome&&this.AM.seek(this.AM.getCurrentTime()),this.n1=!1},i.prototype.onVisibilityChange=function(t){t?(this.o1(d),this.o1(p),this.u1()):this.e1()&&(this.a1()?this.h1():this.f1())},i.prototype.suspendStreaming=function(){this.d_()&&(this.s1=!0,this.publish(r.SUSPEND_STREAMING))},i.prototype.resumeStreaming=function(){this.o1(p),this.d_()&&this.s1&&(this.publish(r.RESUME_STREAMING),this.s1=!1)},i.prototype.scheduleSuspend=function(){this.J0.backgroundSuspendStreaming&&this.$0.SUSPEND.start()},i.prototype.i1=function(){this.o1(p),this.suspendStreaming()},i.prototype.e1=function(){if(!this.K0)return!1;if(!this.l1())return!1;var t=this.oE.mute;return!(t&&!this.J0.onMute||!t&&!this.J0.onUnmute)},i.prototype.f1=function(){this.$0.BACKGROUND.start()},i.prototype.bX=function(){this.o1(d),this.h1()},i.prototype.h1=function(){this.n1=!0,this.AM.pause({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"pause")},i.prototype.u1=function(){this.K0&&!this.l1()&&this.n1&&(this.resumeStreaming(),this.AM.startPlayback({type:u.REQUEST_TYPES.API,action:u.REQUEST_TYPES.BACKGROUND}),this.publish(r.CTRL_PLAYPAUSE,"play"))},i.prototype.l1=function(){return this.oE.getState()===a.default.VIDEO&&!this.oE.isPaused()&&!this.oE.playbackState.loading},i.prototype.o1=function(t){this.$0[t].reset()},i.prototype.d_=function(){var t=this.oE.playlist.getCurrentItem();return!!t&&t.isLive()},i.prototype.a1=function(){return f.default.isAdBreakType(this.oE.playbackState.currentMediaType)},i}(h.default);i.default=b},g2LC:function(t,i){t.exports=function(t){if(!t)return!1;var i=n.call(t);return"[object Function]"===i||"function"==typeof t&&"[object RegExp]"!==i||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var n=Object.prototype.toString},g6Is:function(t,i,n){t.exports=n("yAGZ")},gKvh: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("S8wC");!function(t){t.METADATA_AVAILABLE="mstMetadataAvailable",t.SOURCE_AVAILABLE="mstSourceAvailable",t.MEDIA_ITEM_ADDED="mstMediaItemAdded",t.MEDIA_ITEM_REMOVED="mstMediaItemRemoved"}(i.MediaStoreEvent||(i.MediaStoreEvent={}));var o=function(t){function i(i,n,s){var e=t.call(this,"MediaStore")||this;return e.v1={},e.d1=i,e.RW=n,e.FY=s,e}return e(i,t),i.prototype.destroy=function(){t.prototype.destroy.call(this)},i.prototype.addItems=function(t){for(var i=0,n=t;i<n.length;i++){var s=n[i];this.addItem(s)}},i.prototype.addItem=function(t){h.default.normalizeKey(t);var i=h.default.createKey(t.id,t.mimetype);if(this.v1[i])return i;var n=new h.default(t,this.d1,this.RW,this.FY);return this.v1[n.key]=n,n.key},i.prototype.updateItem=function(t){if(!t||!t.id||!t.mimetype)return null;var i=h.default.createKey(t.id,t.mimetype),n=this.v1[i];return n?n.build(t,this.d1,this.RW,this.FY):(n=new h.default(t,this.d1,this.RW,this.FY)).updateVideoSession(),this.v1[n.key]=n,n},i.prototype.updateItemState=function(t,i){if(t){var n=this.getByData(t);n&&n.state!==i&&n.setState(i)}},i.prototype.updateItemSourceState=function(t,i){if(t){var n=this.getByData(t);n&&n.sourceState!==i&&n.setSourceState(i)}},i.prototype.get=function(t){return t&&this.v1[t]||null},i.prototype.getById=function(t){if(!t)return null;for(var i in this.v1)if(0===i.indexOf(t))return this.v1[i];return null},i.prototype.getByData=function(t){if(!t)return null;var i=h.default.createKey(t.id,t.mimetype);return this.v1[i]||null},i.prototype.getBySessionId=function(t){if(!t)return null;for(var i=0,n=Object.keys(this.v1);i<n.length;i++){var s=n[i],e=this.v1[s];if(e&&e.videoSession===t)return e}return null},i}(r.default);i.default=o},hXW2:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h,o,u,a=n("hq3Z"),c=n("P2OX"),f=n("xPTa"),l=n("IWlq"),v=n("PssQ"),d=n("yf6s"),p=n("U3HQ"),m=n("hbZu");i.SUPPORTED_RENDERER_TYPES=[f.RendererType.HTML5_HLS,f.RendererType.HTML5_HLS_360],function(t){t.SET_QUALITY="qualitySet",t.UI_INTERACT="uiInteract"}(r=i.SettingsEvent||(i.SettingsEvent={})),function(t){t.OPEN="vp-open",t.ACTIVE="vp-active",t.DISABLE="vp-disable",t.ON="vp-on"}(h=i.activationClasses||(i.activationClasses={})),function(t){t.low="low",t.medium="medium",t.high="high",t.auto="auto"}(o=i.StreamQualities||(i.StreamQualities={})),function(t){t.hdIcon="vp-settings-hdicon",t.low="vp-quality-low",t.medium="vp-quality-medium",t.high="vp-quality-high",t.auto="vp-quality-auto"}(u=i.itemClasses||(i.itemClasses={}));var b=function(t){function n(i){var n=t.call(this,"settings")||this;return n.oE=i,n.m1={},n}return e(n,t),n.prototype.create=function(){return this._node=d.default.render(m,{strings:l.default,itemClasses:u}),this.b1={low:this._node.querySelector("."+u.low),medium:this._node.querySelector("."+u.medium),high:this._node.querySelector("."+u.high),auto:this._node.querySelector("."+u.auto)},this.g1=o.auto,this._node},n.prototype.onPlaybackStarted=function(t){this.shouldEnableSettings()&&(this.w1(t),this.activateItem(o.auto))},n.prototype.onPlayerResize=function(t,i){t.width<=c.HideBreakpointDimensions.WIDTH&&t.height<=c.HideBreakpointDimensions.HEIGHT&&this.isOpen()&&this.toggleSettings(i)},n.prototype.activateItem=function(t){d.default.classList(this.b1[this.g1]).remove(h.ACTIVE),d.default.classList(this.b1[o[t]]).add(h.ACTIVE),this.g1=o[t]},n.prototype.toggleSettings=function(t){this.shouldEnableSettings()&&(this.isOpen()?(d.default.classList(this._node).remove(h.OPEN),d.default.classList(t).remove(h.OPEN)):(d.default.classList(this._node).add(h.OPEN),d.default.classList(t).add(h.OPEN)))},n.prototype.isOpen=function(){return d.default.classList(this._node).contains(h.OPEN)&&!d.default.classList(this._node).contains(h.DISABLE)},n.prototype.destroy=function(){var t=this;Object.keys(this.m1).forEach((function(i){t.m1[i].destroy()}))},n.prototype.shouldEnableSettings=function(){var t=this.oE.playbackState.rendererType,n=this.oE.playlist.getCurrentItem();return i.SUPPORTED_RENDERER_TYPES.indexOf(t)>-1&&n&&(n.streams.length>1||n.streamProfiles.length>1||this.oE.bitrates.length>1)},n.prototype.E1=function(t,i){var n=this,s=this.b1[i];this.m1[i]=new p.default(s,(function(s){s.stopPropagation();var e="sr-"+i;n.publish(r.UI_INTERACT,{srcElement:e}),n.publish(r.SET_QUALITY,{preference:i,stream:t}),n.activateItem(i)}))},n.prototype.w1=function(t){var i=this;this.O1(t),Object.keys(this.b1).filter((function(t){return!d.default.classList(i.b1[t]).contains(h.DISABLE)})).forEach((function(t){i.E1(i.A1[t],t)}))},n.prototype.O1=function(t){var i=this,n=t.streams,s=t.streamProfiles,e=this.oE.capabilities[t.rendererType];if(n.length>1)this.A1=v.default.mapStreamsToQualities(n);else if(s.length>1)this.A1=v.default.mapStreamsToQualities(s);else if(this.oE.bitrates.length>1){var r=[];this.oE.bitrates.forEach((function(t,n){r.push({bitrate:t,height:i.oE.heights[n]})})),this.A1=v.default.mapStreamsToQualities(r)}this.A1=this.A1||{},this.A1.auto=v.default.findStreamByProperty(n,"bitrate",this.oE.desiredBitrate,e),Object.keys(this.b1).forEach((function(t){var n=i.A1[t];if(n){d.default.classList(i.b1[t]).remove(h.DISABLE);var s=i.b1[t].querySelector("."+u.hdIcon);s&&n.height&&n.height>=720&&d.default.classList(s).add(h.ON)}else d.default.classList(i.b1[t]).add(h.DISABLE)}))},n}(a.default);i.default=b},havJ:function(t,i,n){"use strict";t.exports=a;var s=n("l+r/"),e=s.MetadataTypes,r=s.StreamingMode,h=n("HNSW").StreamTypes,o="#EXT-X-MEDIA:TYPE=SUBTITLES,",u="#EXT-X-MEDIA-SEQUENCE:";function a(){this.YK=[],this.ERRORS={INVALID_M3U8:1,EMPTY_DATA:2,NO_SEGMENTS:3}}a.prototype.parse=function(t){if(!t)return null;return t.type===e.STRUCTURED?this.parseStructuredMetadata(t):this.OQ(t)},a.prototype.OQ=function(t){var i={},n=t.rawData;if(""===n||!n)return i.error=this.ERRORS.EMPTY_DATA,i;var s=n.split("\n");return 0!==s[0].indexOf("#EXTM3U")?(i.error=this.ERRORS.INVALID_M3U8,i):n.indexOf("#EXTINF:")>0?this._1(s,t):n.indexOf("#EXT-X-STREAM-INF:")>0?this.T1(s,t):(i.error=this.ERRORS.INVALID_M3U8,i)},a.prototype.parseStructuredMetadata=function(t){var i=this,n={};return n.streamInfoList=i.parseStreamInfo(t.streams),t.hasStreamMetadata&&n.streamInfoList.forEach((function(t){t.segmentInfoList=i.parseSegmentInfo(t.hlsInfo,t.initSegment,t.index),t.duration=0,t.segmentInfoList.forEach((function(i){t.duration+=i.duration})),t.hasEndList=!0,t.targetDuration=t.hlsInfo.segment_duration})),t.hasAltStreamMetadata&&(n.renditionGroups={},t.altStreams.forEach((function(t){var s,e=t.manifestContent;e&&0===e.indexOf(o)?((s=i.S1(e,t.host)).type=h.SUBTITLES,s.containerFormat="vtt"):(s=i.parseStreamInfo([t])[0]).hlsInfo&&(s.segmentInfoList=i.parseSegmentInfo(s.hlsInfo,s.initSegment)),i.I1(n.renditionGroups,s)}))),n},a.prototype.T1=function(t,i){for(var n=[],s={},e=i.url,r=i.cdn,h=0;h<t.length;h++){var o=null,u=t[h].trim();if(0===u.indexOf("#EXT-X-STREAM-INF:")){o=this.j1(this.M1(u.substr("#EXT-X-STREAM-INF:".length)));do{u=t[++h]}while(u.match(/^\s*$/));o.url=this.N1(u,e),o.cdn=r,n.push(o)}else 0===u.indexOf("#EXT-X-MEDIA:")&&(u=u.replace(/"/g,""),o=this.R1(this.M1(u.substr("#EXT-X-MEDIA:".length)),e),this.I1(s,o))}return{streamInfoList:n,renditionGroups:s}},a.prototype.I1=function(t,i){if(i.type&&i.groupId){var n=t[i.type];n||(n=t[i.type]={});var s=n[i.groupId];s&&s.length?s.push(i):n[i.groupId]=[i]}},a.prototype.M1=function(t){for(var i={},n=t.indexOf("=");-1!==n;){var s=t.substr(0,n),e=0;'"'===(t=t.substr(n+1)).charAt(0)?(e=t.substr(1).indexOf('"'),i[s]=t.substr(1,e),t=t.substr(e+3)):(e=-1===(e=t.indexOf(","))?t.length:e,i[s]=t.substr(0,e),t=t.substr(e+1)),n=t.indexOf("=")}return i},a.prototype._1=function(t,i){var n={},s={},e=[],o=[],a={streamInfoList:[],renditionGroups:{}};if(!t||!t.length)return a;var c=i.url,f=i.index;s.discontinuity=!1,s.sequenceNum=0,s.startTime=0,s.programDateTime=0,s.brStartOffset=-1,s.brEndOffset=-1,s.levelIndex=f,n.discontinuitySeqNum=0,n.index=f,n.targetDuration=0,n.hasEndList=!1,n.url=c,n.duration=0,n.containerFormat="",n.streamingMode=r.HLS;for(var l=0;l<t.length;l++){var v=t[l].trim();if(!v.match(/^\s*$/)){if(0===v.indexOf(u)&&(n.seqNum=parseInt(v.substr(u.length)),s.sequenceNum=n.seqNum),0===v.indexOf("#EXT-X-DISCONTINUITY-SEQUENCE:"))n.discontinuitySeqNum=parseInt(v.substr("#EXT-X-DISCONTINUITY-SEQUENCE:".length));else if(0===v.indexOf("#EXT-X-DISCONTINUITY"))s.discontinuity=!0;else if(0===v.indexOf("#EXT-X-TARGETDURATION:"))n.targetDuration=parseFloat(v.substr("#EXT-X-TARGETDURATION:".length));else if(0===v.indexOf("#EXT-X-MAP")){var d=this.D1(v,c);s.initSegment=d}else if(0===v.indexOf("#EXT-X-KEY"))s.encryptionData=this.L1(v,c);else if(0===v.indexOf("#EXT-X-PROGRAM-DATE-TIME:"))s.programDateTime=this.C1(v);else if(0===v.indexOf("#EXTINF:")){var p=v.indexOf(",");s.duration=-1===p?parseFloat(v.substr("#EXTINF:".length)):parseFloat(v.substr("#EXTINF:".length,p-"#EXTINF:".length)),n.duration+=s.duration;do{v=t[++l].trim()}while(v.match(/^\s*$/));if(0===v.indexOf("#EXT-X-BYTERANGE:")){var m=v.substr("#EXT-X-BYTERANGE:".length,v.length-"#EXT-X-BYTERANGE:".length),b=m.indexOf("@");s.brStartOffset=parseInt(m.substr(b+1,m.length-b-1)),s.brEndOffset=s.brStartOffset+parseInt(m.substr(0,b))-1;do{v=t[++l].trim()}while(v.match(/^\s*$/))}s.url=this.N1(v,c),s.containerFormat=this.P1(s.url),n.containerFormat=s.containerFormat,e.push(this.U1(s)),s.startTime+=s.duration,s.sequenceNum++,s.programDateTime=0,s.brStartOffset=-1,s.brEndOffset=-1,s.encryptionData&&(s.encryptionData.initVector=null)}else 0===v.indexOf("#EXT-X-ENDLIST")&&(n.hasEndList=!0);if(v.indexOf("#EXT-X-CUE-OUT:")>=0){var y=this.V1(s.sequenceNum,v);o.push(y)}}}if(e.length&&(n.segmentInfoList=e,n.initSegment=e[0].initSegment),o.length&&(n.cuepointList=o),i.streamType&&i.streamType!==h.MAIN){var g=a.renditionGroups;n.type=i.streamType,n.groupId=i.groupId,n.name=i.name,this.I1(g,n)}else a.streamInfoList.push(n);return a},a.prototype.j1=function(t){if(!t)return null;var i={streamingMode:r.HLS};return Object.keys(t).forEach((function(n){var s=t[n];switch(n){case"BANDWIDTH":i.bitrate=1*s;break;case"AVERAGE-BANDWIDTH":i.avgBitrate=1*s;break;case"RESOLUTION":var e=s.split("x");i.width=parseInt(e[0]),i.height=parseInt(e[1]);break;case"CODECS":i.codecs=s.split(","),i.hasAudio=-1!==s.indexOf("mp4a");break;case"AUDIO":i.audioGroupId=s.replace(/"/g,"");break;case"VIDEO":i.videoGroupId=s.replace(/"/g,"");break;case"SUBTITLES":i.subtitlesGroupId=s.replace(/"/g,"");break;case"CLOSED-CAPTIONS":i.ccGroupId=s.replace(/"/g,"")}})),i},a.prototype.P1=function(t,i){var n=null;return t&&t.length?t.indexOf(".ts")>-1?n="ts":t.indexOf(".mp4")>-1||t.indexOf(".m4s")>-1?n="mp4":t.indexOf(".aac")>-1?n="aac":t.indexOf(".vtt")>-1&&(n="vtt"):i&&(i.indexOf("mp2t")>-1?n="ts":i.indexOf("mp4")>-1?n="mp4":i.indexOf("aac")>-1?n="aac":i.indexOf("vtt")>-1&&(n="vtt")),n},a.prototype.N1=function(t,i){var n=null;return"http://"===t.substr(0,7)||"https://"===t.substr(0,8)?t:(i.indexOf("?")>-1&&(i=i.substr(0,i.indexOf("?"))),"/"===t.substr(0,1)?i.substr(0,i.indexOf("//")+2)+(n=i.substr(i.indexOf("//")+2)).substr(0,n.indexOf("/"))+t:i.substr(0,i.lastIndexOf("/")+1)+t)},a.prototype.S1=function(t,i){var n=(t=t.replace(/"/g,"")).substr(o.length).split(",");return this.B1(n,t,i)},a.prototype.B1=function(t,i,n){var s=this,e={};return t&&t.length&&(t.forEach((function(t){t.indexOf("GROUP-ID")>-1?e.groupId=t.split("=")[1]:t.indexOf("LANGUAGE")>-1?e.language=t.split("=")[1]:t.indexOf("NAME")>-1?e.name=t.split("=")[1]:t.indexOf("AUTOSELECT")>-1?e.autoSelect="YES"===t.split("=")[1]:t.indexOf("DEFAULT")>-1?e.default="YES"===t.split("=")[1]:t.indexOf("URI")>-1?e.url=s.N1(t.substr(4),n):t.indexOf("FORCED")>-1&&(e.forced="YES"===t.split("=")[1])})),e.streamingMode=r.HLS),e},a.prototype.R1=function(t,i){var n=this;if(!t)return null;var s={streamingMode:r.HLS};return Object.keys(t).forEach((function(e){var r=t[e];switch(e){case"TYPE":s.type=r,s.type===h.SUBTITLES&&(s.containerFormat="vtt");break;case"GROUP-ID":s.groupId=r;break;case"LANGUAGE":s.language=r;break;case"NAME":s.name=r;break;case"AUTOSELECT":s.autoSelect="YES"===r;break;case"DEFAULT":s.default="YES"===r;break;case"FORCED":s.forced="YES"===r;break;case"URI":s.url=n.N1(r,i)}})),s},a.prototype.F1=function(t){var i={};return i.discontinuity=t.discontinuity,i.sequenceNum=t.sequenceNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.url=t.url,i.duration=t.duration,i},a.prototype.D1=function(t,i){if(!t)return null;for(var n={},s=t.substr("#EXT-X-MAP".length+1).split(","),e=0;e<s.length;e++){var r=s[e].split("=");if(0===r[0].indexOf("URI"))n.url=this.N1(s[e].substr(5,s[e].length-6),i);else if(0===r[0].indexOf("BYTERANGE")){var h=r[1].indexOf("@");n.range={start:parseInt(r[1].substr(h+1,r[1].length-h-2)),end:parseInt(r[1].substr(1,h-1)-1)}}}return n},a.prototype.L1=function(t,i){if(!t)return null;for(var n={},s=t.substr("#EXT-X-KEY".length+1).split(","),e=0;e<s.length;e++){var r=s[e].split("=");0===r[0].indexOf("URI")?n.keyUri=this.N1(s[e].substr(5,s[e].length-6),i):0===r[0].indexOf("METHOD")?n.method=r[1]:0===r[0].indexOf("IV")&&(n.initVector=r[1])}return n},a.prototype.C1=function(t){if(!t)return 0;var i,n,s=t.substr("#EXT-X-PROGRAM-DATE-TIME:".length).split("T"),e=s[0].split("-"),r=parseInt(e[0]),h=parseInt(e[1])-1,o=parseInt(e[2]),u=s[1],a=0;if(u.indexOf("Z")>=0)i=u.substr(0,u.indexOf("Z")).split(":");else if(u.indexOf("+")>=0){var c=u.split("+");i=c[0].split(":"),n=c[1].split(":"),a=-1}else if(u.indexOf("-")>=0){var f=u.split("-");i=f[0].split(":"),n=f[1].split(":"),a=1}var l=0,v=0,d=0;(i&&(l=parseInt(i[0]),v=parseInt(i[1]),d=parseFloat(i[2])),n)&&(l=(24+l+a*parseInt(n[0]))%24,(v+=a*parseInt(n[1]))>=60?(l++,v-=60):v<0&&(l--,v+=60));return new Date(Date.UTC(r,h,o,l,v,d)).getTime()},a.prototype.U1=function(t){var i={};i.discontinuity=t.discontinuity,i.sequenceNum=t.sequenceNum,i.startTime=t.startTime,i.programDateTime=t.programDateTime,i.brStartOffset=t.brStartOffset,i.brEndOffset=t.brEndOffset,i.containerFormat=t.containerFormat,i.levelIndex=t.levelIndex,i.url=t.url,i.duration=t.duration;var n=t.encryptionData;n&&(i.encryptionData={keyUri:n.keyUri,method:n.method,initVector:n.initVector});var s=t.initSegment;return s&&(i.initSegment={url:s.url},s.range&&(i.initSegment.range={start:s.range.start,end:s.range.end})),i},a.prototype.parseStreamInfo=function(t){var i=this;if(!t)return null;var n=[];return t.forEach((function(t,s){var e=t.host;t.path&&""!==t.path?e+=t.path:t.url&&(e=t.url);var o={streamingMode:r.HLS,bitrate:1e3*t.bitrate,avgBitrate:t.avgBitrate?1e3*t.avgBitrate:0,channels:t.channels,height:t.height,width:t.width,url:e,index:s,hlsInfo:t.hls_info,cdn:t.cdn,rcMode:t.rcMode||"cbr",format:t.format,audioCodec:t.acodec,videoCodec:t.vcodec,autoSelect:t.auto_select,default:t.default,type:(t.type||h.MAIN).toUpperCase(),name:t.name,groupId:t.group_id,language:t.language,forced:t.forced};if(t.alt_renditions&&(o.audioGroupId=t.alt_renditions.audio_group_id,o.videoGroupId=t.alt_renditions.video_group_id,o.subtitlesGroupId=t.alt_renditions.subtitle_group_id,o.ccGroupId=t.alt_renditions.cc_group_id),o.hlsInfo&&o.hlsInfo.mp4_url){var u=o.hlsInfo;o.initSegment={url:u.mp4_url},u.init_segment_offset>=0&&u.init_segment_length>=0&&(o.initSegment.range={start:u.init_segment_offset,end:u.init_segment_offset+u.init_segment_length-1}),o.sidxOffset=u.sidx_offset,o.sidxLength=u.sidx_length,o.firstSegOffset=u.first_segment_offset,o.firstSegLength=u.first_segment_length}if(t.manifestContent&&t.manifestContent.indexOf("SUBTITLES")>-1){var a=t.manifestContent.split('SUBTITLES="')[1];o.subtitlesGroupId=a.substr(0,a.indexOf('"'))}if(o.hlsInfo){var c=o.hlsInfo.ts_url||o.hlsInfo.mp4_url;o.containerFormat=i.P1(c,o.hlsInfo.mime_type)}n.push(o)})),n},a.prototype.parseSegmentInfo=function(t,i,n){if(!t)return null;var s=[],e={brStartOffset:-1,brEndOffset:-1,programDateTime:0,discontinuity:!1};e.sequenceNum=t.start_index,e.startTime=0,e.initSegment=i;var r="";t.ts_url&&(r=t.ts_url.indexOf("?")>=0?"&":"?");for(var h=0;h<t.segments_count;h++){if(t.ts_url)if(t.ts_url.indexOf("_xx.ts")>=0){var o="_"+e.sequenceNum.toString()+".ts";e.url=t.ts_url.replace("_xx.ts",o),e.url=e.url+r+"yh=1"}else e.url=t.ts_url+r+"num="+e.sequenceNum.toString();else e.url=t.mp4_url,0===h&&(e.brStartOffset=t.first_segment_offset,e.brEndOffset=e.brStartOffset+t.first_segment_length-1);e.levelIndex=n,e.duration=t.segment_duration,h===t.segments_count-1&&(e.duration=t.last_segment_duration),e.containerFormat=this.P1(e.url,t.mime_type),s.push(this.U1(e)),e.sequenceNum++,e.startTime+=e.duration,e.brStartOffset=-1,e.brEndOffset=-1}return s},a.prototype.z1=function(t){var i=t.split(":"),n=0;return i.length>1&&(n=1e3*parseFloat(i[1])),n},a.prototype.V1=function(t,i){var n=t;if(!(n<0)){var s=this.z1(i),e={};return e.startSeqNum=n,e.startTime=NaN,e.cuepointDuration=s,e}}},hbZu:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-settings-container vp-vis-hidden' tabindex='0'>"),s.b("\n"+n),s.b("    <div class='vp-settings-item vp-settings-header' tabindex='0' aria-label='"),s.b(s.v(s.d("strings.VIDEO_QUALITY",t,i,0))),s.b("'>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.VIDEO_QUALITY",t,i,0))),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-divider'></div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.high",t,i,0))),s.b(" vp-disable' tabindex='2'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.HIGH",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.medium",t,i,0))),s.b(" vp-disable' tabindex='3'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.MEDIUM",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.low",t,i,0))),s.b(" vp-disable vp-last-item' tabindex='4'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.LOW",t,i,0))),s.b("\n"+n),s.b("        <div class='vp-settings-hdicon'></div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-settings-item "),s.b(s.v(s.d("itemClasses.auto",t,i,0))),s.b(" vp-active vp-disable' tabindex='1'>"),s.b("\n"+n),s.b("        <div class='vp-settings-checkmark'></div>"),s.b("\n"+n),s.b("        "),s.b(s.v(s.d("strings.AUTO",t,i,0))),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},he5r:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VRM_PLUGIN_MIMETYPE=i.SkipOnError=i.PLAYLIST_POS=i.PLAYLIST_COUNT_PER_PAGE=i.PLAYLIST_LABEL_ICON_DIMENSION=i.PLAYLIST_SECTION_ICON_DIMENSION=i.PLAYLIST_THUMB_DIMENSION=i.GEMINI_STUB_VIDEO_ID=i.REQUEST_TYPES=void 0,function(t){t.CLICK="click",t.AUTOPLAY="autoplay",t.API="api",t.CONTINUOUS="continuous",t.HOVER="hover",t.PLAY="play",t.PAUSE="pause",t.SCROLL="scroll",t.SWIPE="swipe",t.BACKGROUND="background"}(i.REQUEST_TYPES||(i.REQUEST_TYPES={})),i.GEMINI_STUB_VIDEO_ID="6bf451fd-11f9-37f9-a54c-d73d795839f6",i.PLAYLIST_THUMB_DIMENSION="260x144",i.PLAYLIST_SECTION_ICON_DIMENSION="14x14",i.PLAYLIST_LABEL_ICON_DIMENSION="70x70",i.PLAYLIST_COUNT_PER_PAGE=12,function(t){t.BOTTOM="bottom",t.RIGHT="right",t.HIDDEN="hidden"}(i.PLAYLIST_POS||(i.PLAYLIST_POS={})),function(t){t.ALWAYS="always",t.TIMEBASED="timebased",t.NEVER="never"}(i.SkipOnError||(i.SkipOnError={})),i.VRM_PLUGIN_MIMETYPE="adplugin/vrm"},hq3Z:function(t,i,n){t.exports=n("lrP1")},hvuW:function(t,i,n){"use strict";var s=n("DrHj"),e=n("3ZmJ"),r=n("7TGM"),h=n("zT5j"),o=n("UgsC"),u=n("HNSW").StreamTypes,a=s.TsStreamer,c=s.TsLiveStreamer,f=e.SubtitleStreamer,l=e.SubtitleLiveStreamer,v=r.Fmp4Streamer,d=r.Fmp4LiveStreamer,p=h.AacStreamer,m=h.AacLiveStreamer,b=o.Fmp4SubtitleStreamer,y=o.Fmp4SubtitleLiveStreamer;t.exports.create=function(t,i,n){if(!t||!i||"function"!=typeof t.create)return null;var s,e=i.type===u.SUBTITLES;switch(i.containerFormat){case"vtt":s=n?l:f;break;case"aac":s=n?m:p;break;case"mp4":s=e?n?y:b:n?d:v;break;case"ts":s=n?c:a}return s?t.create(s,i):null}},hzym: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("wqBe");!function(t){t.PRELOADING="preloading",t.IDLE="idle"}(r||(r={})),function(t){t.START_PRELOAD="startPreload",t.PLAYER_IDLE="playerIdle"}(h=i.PreloadEvent||(i.PreloadEvent={}));var a=function(t){function i(i){var n=t.call(this,"PreloadManager")||this;return n.fO=i,n.H1=r.IDLE,n.q1=null,n.fO.addEventListener(u.PRELOAD_START,n.G1,n),n.fO.addEventListener(u.PRELOAD_COMPLETE,n.QN,n),n}return e(i,t),i.prototype.destroy=function(){this.q1=null,this.H1=r.IDLE},i.prototype.startPreload=function(){if(this.H1===r.IDLE){var t=this.Y1();this.publish(h.START_PRELOAD,t)}},i.prototype.stopPreload=function(){},i.prototype.setPreloadItem=function(t){this.q1=t},i.prototype.Y1=function(){return this.q1},i.prototype.G1=function(){this.H1=r.PRELOADING},i.prototype.QN=function(){this.H1=r.IDLE,this.publish(h.PLAYER_IDLE)},i}(o.default);i.default=a},i0E3:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.sourceSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/sourceSchema",type:"object",properties:{streams:{type:"array",items:{$ref:"/streamSchema"},minItems:0}}}},iDLt:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("pUuq");i.mediaItemSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/mediaItemSchema",type:"object",properties:{adConfig:{type:"object",properties:{mimetype:{type:"string"},value:{type:{}}},required:["mimetype","value"]},customConfig:{type:"object"},id:{type:"string"},metadata:{type:"object",properties:{description:{type:"string"},duration:{type:"number"},title:{type:"string"},thumbnail:{type:"string"},posterUrl:{type:"string"},type:{type:"string",enum:Object.keys(s.MediaItemType).map((function(t){return s.MediaItemType[t]}))},videoTypes:{type:"array"}}},mimetype:{type:"string"},source:{$ref:"/sourceSchema"}},dependencies:{mimetype:["id"]}}},"j/Iz":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("ablw"),r=n("qkPt"),h=n("Fry/"),o=function(){function t(){}return t.isHtml5MseAvailable=function(){return!!e.isFunction(r.default)&&(!!t.isMSEAvailable()&&(t.isMSECompatible('video/mp4; codecs="avc1.640010"')&&t.isMSECompatible('audio/mp4; codecs="mp4a.40.2"')))},t.useHtml5MseDefault=function(){return s.userAgent.tv?!(s.userAgent.tizen||s.userAgent.orsay||s.userAgent.firetv||s.userAgent.presto)&&!!t.isHtml5MseAvailable():s.userAgent.mobile?!!(s.userAgent.android&&s.userAgent.chrome&&h.default.hasNativeAutoplaySupport):!s.userAgent.winXP&&!s.userAgent.winVista&&(s.userAgent.chrome>=47||s.userAgent.firefox>=44||s.userAgent.ie>=11||s.userAgent.edge>=12)},t.is360Supported=function(){return!!s.userAgent.desktop&&!!(s.userAgent.chrome||s.userAgent.firefox||s.userAgent.opera||s.userAgent.safari)},t.isMSEAvailable=function(){return"undefined"!=typeof MediaSource},t.isMSECompatible=function(t){var i=MediaSource;if(i&&!i.isTypeSupported){var n=document.createElement("video");return!(!n||!n.canPlayType(t))}return!(!i||!i.isTypeSupported(t))},t.isAndroidVersionAbove4=function(){return!!s.userAgent.androidVersion&&parseInt(s.userAgent.androidVersion,10)>=4},t.canPlayType=function(t,i){var n;try{i||(i=document.createElement("video")),n=!!i.canPlayType&&"probably"===i.canPlayType(t)}catch(t){n=!1}return n},t.enterFullscreen=function(t){var i=this.W1(t);if(i)try{i.call(t)}catch(t){}},t.exitFullscreen=function(t){var i=this.Z1();if(i)try{this.Q1()&&i.call(document)}catch(t){}else if(t&&t.webkitExitFullscreen)try{t.webkitExitFullscreen()}catch(t){}},t.isFullscreenOnMobile=function(t){var i=document,n=s.userAgent.mobile&&(i.isFullScreen||i.webkitIsFullScreen),e=s.userAgent.ios&&t&&t.webkitDisplayingFullscreen;return n||e},t.W1=function(t){return t?t.requestFullscreen||t.webkitRequestFullscreen||t.webkitEnterFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen:null},t.Z1=function(){var t=document;return t.exitFullscreen||t.webkitExitFullscreen||t.mozCancelFullScreen||t.msExitFullscreen},t.Q1=function(){var t=document;return t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement},t}();i.default=o},jC8G:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ablw"),e=n("yf6s"),r=n("Z5/A"),h=function(){function t(t,i,n,s){var h=this;this.nG=null,this.cM=t,i.adBreakId=i.adBreakId||e.default.generateGuid(),this.X1=e.default.deepCopy(i),this.RW=n,this.FY=s,this.adBreakId=i.adBreakId,Array.isArray(i.adBreakItems)&&(this.adBreakItems=i.adBreakItems.map((function(t){return new r.default(h,t,n,s)}))),this.kT=i.duration||0,0===this.kT&&this.adBreakItems&&this.adBreakItems.forEach((function(t){h.kT+=t.duration||0})),this.customInfo=i.customInfo,this.startOffset=i.startOffset,this.type=i.type,this.mimetype=i.mimetype||"",this.backToLiveDuration=i.backToLiveDuration||0,this.startTime=i.startTime||0,this.active=i.active||!0}return Object.defineProperty(t.prototype,"mediaItem",{get:function(){return this.cM},enumerable:!0,configurable:!0}),t.prototype.appendAdBreakItems=function(t){var i=this;t.forEach((function(t){if(!i.J1(t.adBreakItemId)){var n=new r.default(i,t,i.RW,i.FY);i.adBreakItems.push(n),i.kT+=n.duration||0}}))},t.prototype.insertAdBreakItems=function(t,i){var n=this,s=i;t.forEach((function(t){if(!n.J1(t.adBreakItemId)){var i=new r.default(n,t,n.RW,n.FY);n.adBreakItems.splice(s,0,i),n.kT+=i.duration||0,s++}}))},t.prototype.removeAdBreakItems=function(t){var i,n=this,s=this.adBreakItems.length;t.forEach((function(t){n.J1(t.adBreakItemId)&&function(t){for(i=0;i<s;i++)if(n.adBreakItems[i].adBreakItemId===t.adBreakItemId){n.kT-=t.duration||0,n.kT<0&&(n.kT=0),n.adBreakItems.splice(i,1);break}}(t)}))},t.prototype.setActive=function(t){s.isBoolean(t)&&(this.active=t)},t.prototype.backToLive=function(){},t.prototype.breakNow=function(){},Object.defineProperty(t.prototype,"rawItemData",{get:function(){return e.default.deepCopy(this.X1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.kT},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return this.nG},set:function(t){this.nG=t},enumerable:!0,configurable:!0}),t.prototype.hasResolved=function(){return!(!this.adBreakItems||0===this.adBreakItems.length)},t.prototype.J1=function(t){return this.adBreakItems.some((function(i){return i.adBreakItemId===t}))},t}();i.default=h},jMeJ:function(t,i,n){"use strict";t.exports=o;var s=n("D8uh"),e=n("juTp"),r=n("qudH").CmdNames,h=n("HNSW").StreamTypes;function o(t){this.oE=this.__controller.model,this.ZS=t,this.SWITCH_ON_ERROR="switchOnError",this.nG=null,s.call(this,this.constructor.name),this.running=!1}e.inherits(o,s),o.prototype.destroy=function(){this.oE=null,this.ZS=null,this.nG=null,this.running=!1},o.prototype.handle=function(t,i){if(t&&i&&i.type!==h.SUBTITLES){var n=i.index;this.nG=t;var s={streamIndex:n,error:t};this.running=!0;var e=this.ZS.getCommand(r.CMD_ERROR_HANDLE);e?e.execute(n):this.ZS.executeCommand(r.CMD_ERROR_HANDLE,s,this)}},o.prototype.onErrorHandleProgress=function(t,i){this.publish(this.SWITCH_ON_ERROR,i.index)},o.prototype.onErrorHandleError=function(t){this.running=!1,this.ZS.removeCommand(t),this.__controller.notifyError(this.nG)},o.prototype.onLoadComplete=function(){this.running=!1;var t=this.ZS.getCommand(r.CMD_ERROR_HANDLE);this.ZS.removeCommand(t)}},jNwf:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)});Object.defineProperty(i,"__esModule",{value:!0});var r,h=n("ToqN"),o=n("wqBe"),u=n("xPTa"),a=n("j/Iz"),c=n("yf6s"),f=n("VVuu"),l=n("Rsv0"),v=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.FY=s.capabilities[u.RendererType.HTML5_RAW_360],e}return e(i,t),i.canUse=function(){return!h.userAgent.tv&&(a.default.is360Supported()&&t.canUse.call(this))},i.prototype.create=function(i){return t.prototype.create.call(this,i),this.WQ(),this.container},i.prototype.destroy=function(){this.ZQ(),t.prototype.destroy.call(this)},i.prototype.waitForReady=function(t){var i=this;this.PR?(this.QQ(),t()):this.XQ=this.fO.addEventListener(o.THREE_SIXTY_READY,(function(){i.QQ(),t()}),this)},i.prototype.WQ=function(){var t=this;this.PR=!1,this.node&&(this.node.setAttribute("crossorigin","anonymous"),this.node.style.visibility="hidden",this.JQ=document.createElement("div"),this.JQ.classList.add("vp-360-node"),this.JQ.style.position="absolute",this.container=document.createElement("div"),this.container.setAttribute("id",c.default.generateGuid()),this.container.classList.add("vp-360-video"),this.container.appendChild(this.node),this.container.appendChild(this.JQ),this.KQ().then((function(){t.$Q()})).catch((function(t){})))},i.prototype.KQ=function(){return new Promise((function(t,i){n.e(1).then(function(){r=n("Womt"),t(r)}.bind(null,n)).catch((function(t){i(t)}))}))},i.prototype.$Q=function(){this.tX=new r.PerspectiveCamera(70,16/9,.01,1e3),this.tX.target=new r.Vector3(0,0,0);var t=new r.SphereBufferGeometry(500,64,32);t.scale(-1,1,1);var i=new r.VideoTexture(this.node);i.minFilter=r.NearestFilter;var n=new r.MeshBasicMaterial({map:i}),s=new r.Mesh(t,n);this.iX=new r.Scene,this.iX.add(s),this.nX=new r.WebGLRenderer,this.nX.setPixelRatio(window.devicePixelRatio),this.JQ&&this.JQ.appendChild(this.nX.domElement),this.sX=new f.default(this.container),this.eX=0,this.rX=0,this.hX=!0,this.oX(),this.PR=!0,this.fO.publish(o.THREE_SIXTY_READY)},i.prototype.oX=function(){var t=this;this.uX=this.aX.bind(this),this.JV=this.cX.bind(this),this.fX=this.lX.bind(this),this.vX=this.dX.bind(this),this.KV=this.pX.bind(this),this.GF=this.mX.bind(this),this.container&&(this.container.addEventListener("mousedown",this.uX,!1),this.container.addEventListener("mousemove",this.JV,!1),this.container.addEventListener("mouseup",this.fX,!1),this.container.addEventListener("mouseover",this.vX,!1),this.container.addEventListener("mouseout",this.KV,!1),this.container.addEventListener("resize",this.GF,!1)),this.bX=this.sV.bind(this),this.yX=this.gX.bind(this),this.wX=this.EX.bind(this),this.node&&(this.node.addEventListener("pause",this.bX),this.node.addEventListener("playing",this.yX),this.node.addEventListener("seeked",this.wX)),this.sX&&this.sX.addClickListener(this.OX.bind(this)),this.AX={},this.AX[o.PLAYER_RESIZE]=this.fO.addEventListener(o.PLAYER_RESIZE,(function(i,n){window.setTimeout((function(){t._X&&(i=window.screen.width,n=window.screen.height),t.TX(i,n)}),1)}),this),this.AX[o.FULLSCREEN_CHANGE]=this.fO.addEventListener(o.FULLSCREEN_CHANGE,(function(i){t._X=!!i}),this),this.AX[o.PLAYER_DIMENSION_CHANGE]=this.fO.addEventListener(o.PLAYER_DIMENSION_CHANGE,(function(){var i,n,s;t.node&&t.node.parentNode&&((i=window.getComputedStyle(t.node.parentNode))&&(n=parseInt(i.getPropertyValue("width"),10),s=parseInt(i.getPropertyValue("height"),10)),n&&!isNaN(n)&&s&&!isNaN(s)&&t.TX(n,s))}),this)},i.prototype.OX=function(){this.eX=0,this.rX=0,this.SX(),this.sX&&this.sX.update(this.eX),this.fO.publish(o.THREE_SIXTY_PIE_INTERACT)},i.prototype.IX=function(){var t=this;this.AX&&Object.keys(this.AX).forEach((function(i){t.fO.removeEventListener(i,t.AX[i])})),this.uX&&(this.container&&this.container.removeEventListener("mousedown",this.uX,!1),this.uX=null),this.JV&&(this.container&&this.container.removeEventListener("mousemove",this.JV,!1),this.JV=null),this.fX&&(this.container&&this.container.removeEventListener("mouseup",this.fX,!1),this.fX=null),this.vX&&(this.container&&this.container.removeEventListener("mouseover",this.vX,!1),this.vX=null),this.GF&&(this.container&&this.container.removeEventListener("resize",this.GF,!1),this.GF=null),this.vX&&(this.container&&this.container.removeEventListener("mouseover",this.vX,!1),this.vX=null),this.bX&&(this.node&&this.node.removeEventListener("pause",this.bX),this.bX=null),this.yX&&(this.node&&this.node.removeEventListener("playing",this.yX),this.yX=null),this.wX&&(this.node&&this.node.removeEventListener("seeked",this.wX),this.wX=null),this.XQ&&(this.fO.removeEventListener(o.THREE_SIXTY_READY,this.XQ),this.XQ=null)},i.prototype.jX=function(){this.MX=!1,this.container&&(this.container.classList.remove("grabbing-360"),this.container.classList.add("over-360")),this.NX&&(this.NX=!1,this.hX=!0)},i.prototype.TX=function(t,i){var n=t,s=i;i*(16/9)>t&&(s=t/(16/9)),this.tX&&(this.tX.setViewOffset(t,i,t-n,i-s,n,s),this.tX.updateProjectionMatrix()),this.nX&&this.nX.setSize(t,i)},i.prototype.RX=function(){var t=this.RX.bind(this);if(this.hX&&this.DX)return window.cancelAnimationFrame(this.DX),void(this.DX=null);this.DX=window.requestAnimationFrame(t),this.SX()},i.prototype.SX=function(){this.rX=Math.max(-85,Math.min(85,this.rX));var t=r.Math.degToRad(90+this.rX),i=r.Math.degToRad(this.eX);this.tX&&(this.tX.position.x=500*Math.sin(t)*Math.cos(i),this.tX.position.y=500*Math.cos(t),this.tX.position.z=500*Math.sin(t)*Math.sin(i),this.tX.lookAt(this.tX.target),this.tX.position.copy(this.tX.target).negate(),this.iX&&this.nX&&this.nX.render(this.iX,this.tX))},i.prototype.ZQ=function(){this.DX&&window.cancelAnimationFrame(this.DX),this.hX=!0,this.IX(),this.sX&&(this.sX.destroy(),this.sX=null),this.JQ&&(this.JQ.parentNode&&this.JQ.parentNode.removeChild(this.JQ),this.JQ=null),this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),this.tX=null,this.iX=null,this.nX=null},i.prototype.sV=function(){this.LX=!0,this.hX=!0},i.prototype.gX=function(){this.LX=!1,this.hX=!1,this.RX()},i.prototype.EX=function(){this.SX()},i.prototype.dX=function(){this.container&&this.container.classList.add("over-360")},i.prototype.aX=function(t){this.kX=!1,this.container&&(this.container.classList.remove("over-360"),this.container.classList.add("grabbing-360")),this.MX=!0,this.CX=t.clientX,this.PX=t.clientY,this.xX=this.eX,this.UX=this.rX},i.prototype.cX=function(t){this.MX&&(this.LX&&!this.NX&&(this.NX=!0,this.hX=!1,this.RX()),this.kX=!0,this.eX=.1*(this.CX-t.clientX)+this.xX,this.rX=.1*(t.clientY-this.PX)+this.UX,this.sX&&this.sX.update(this.eX))},i.prototype.lX=function(){this.MX&&(this.jX(),this.kX?this.fO.publish(o.THREE_SIXTY_INTERACT):this.fO.publish(o.TOGGLE_PLAY_PAUSE)),this.kX=!1},i.prototype.pX=function(){this.jX()},i.prototype.mX=function(){this.container&&this.TX(this.container.offsetWidth,this.container.offsetHeight)},i.prototype.QQ=function(){this.XQ&&(this.fO.removeEventListener(o.THREE_SIXTY_READY,this.XQ),this.XQ=null),!this.VX&&this.nX&&this.container&&(this.nX.setSize(this.container.offsetWidth,this.container.offsetHeight),this.VX=!0)},i.type=u.RendererType.HTML5_RAW_360,i}(l.default);i.default=v},jkz4:function(t,i,n){"use strict";t.exports=o;var s=n("+aGq"),e=n("zY0b"),r=n("juTp"),h=n("l+r/").StreamingMode;function o(t){if(!t||!t.userAgent)throw new Error("Invalid/incomplete configuration to AppModel");this.configure(t),this.streams=[],this.altRenditionGroups=[],this.live=!1,this.duration=0,this.timescale=9e4,this.TIMESTAMP_COMPARE_EPSILON=.065,this.PIXEL_RATIO_360=6,this.currentPlayingStreamIndex=0,this.currentLoadingStreamIndex=0,this.preloading=!1,this.currentKbps=0,this.infoUpdateSent=!0,this.streamingMode=h.HLS,this.drmRequired=!1,this.drmInfo=[],this.licenseType="none",this.is360=t.metadata&&t.metadata.is360||!1,this.setDimensions(t.dimensions)}o.prototype.destroy=function(){this.config=null,this.streams=[],this.altRenditionGroups=[]},o.prototype.configure=function(t){var i=this;i.config=i.config||e.deepCopy(s),i.userAgent=t.userAgent,t&&Object.keys(t).forEach((function(n){i.config.hasOwnProperty(n)&&(i.config[n]=t[n])})),i.config.demux.startChunkWithKeyFrame=!(i.userAgent.chrome&&i.userAgent.chrome>=50)||i.n0(t.metadata),i.config.demux.useTimer=!(i.userAgent.chrome||i.userAgent.ie||i.userAgent.edge)},o.prototype.n0=function(t){if(!t)return!1;var i=t.url,n=t.streams&&t.streams.length?this.s0(t.streams[0]):null;return r.isUplynk(i||n)},o.prototype.s0=function(t){if(!t)return null;var i=t.url;return!i&&t.host&&t.path&&(i=t.host+t.path),i},o.prototype.update=function(t){var i=this;t&&(Object.keys(t).forEach((function(n){("currentKbps"!==n||t.currentKbps||i.infoUpdateSent)&&i.hasOwnProperty(n)&&(i[n]=t[n])})),i.infoUpdateSent=!1)},o.prototype.setDimensions=function(t){var i=this.BI.node;this.K1=t||{width:i?i.clientWidth:0,height:i?i.clientHeight:0}},o.prototype.getBufferLength=function(){var t,i,n=this.BI.node,s=n.buffered,e=0,r=n.currentTime;if(0===r){for(t=0;t<s.length;t++)e+=s.end(t)-s.start(t);return e}var h=this.BI.mediaSource;e=1/0;for(var o=0;o<h.activeSourceBuffers.length;o++){var u=this.t2(r,h.activeSourceBuffers[o]);u>=0&&(e=Math.min(e,u))}for(t=0;t<s.length;t++)if(r>=s.start(t)&&r<s.end(t)){i=t;break}return i>=0&&s.length&&(e=Math.min(s.end(i)-r,e)),e===1/0&&(e=0),e},o.prototype.t2=function(t,i){if(!i)return-1;for(var n,s=i.buffered,e=0,r=0;r<s.length;r++)if(t>=s.start(r)&&t<s.end(r)){n=r;break}return n>=0&&s.length&&(e=s.end(n)-t),e},o.prototype.getBufferedDto=function(){for(var t=this.BI.node.buffered,i={length:t.length,ranges:[]},n=0;n<t.length;n++)i.ranges[n]={start:t.start(n),end:t.end(n)};return i},o.prototype.getCurrentPlayingStream=function(){return this.streams&&this.streams.length&&this.currentPlayingStreamIndex>=0&&this.currentPlayingStreamIndex<this.streams.length?this.streams[this.currentPlayingStreamIndex]:null},o.prototype.getDimensions=function(){return this.K1},o.prototype.getPixelRatio=function(){var t=1;try{window&&(t=window.devicePixelRatio)}catch(i){t=1}return t||(t=1),this.is360&&(t*=this.PIXEL_RATIO_360),t},o.prototype.getCurrentDate=function(){var t=this.getCurrentPlayingStream(),i=this.BI.node.currentTime,n=t?t.segments:null;if(n)for(var s=n.length-1;s>=0;s--)if(n[s].programDateTime>0&&i>=n[s].startTime){var e=parseInt(1e3*(i-n[s].startTime));return n[s].programDateTime+e}}},juTp:function(t,i,n){"use strict";var s=t.exports={};s.inherits=function(t,i){t.super_=i,t.prototype=Object.create(i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},s.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},s.base64ToBuffer=function(t){return new Uint8Array(atob(t).split("").map((function(t){return t.charCodeAt(0)})))},s.arrayToUint8Array=function(t){for(var i=t.length,n=new Uint8Array(i),s=new DataView(n.buffer),e=0;e<i;e++)s.setUint8(e,t[e]);return n},s.isDrmItemContained=function(t,i){if(!t||!i||0===i.length)return!1;for(var n=0;n<i.length;n++)if(t.widevine.pssh===i[n].widevine.pssh)return!0;return!1},s.isAbsoluteUrl=function(t){return 0===t.indexOf("http")},s.isUplynk=function(t){return!(!t||!t.length)&&((t=t.toLowerCase()).indexOf("uplynk.com")>-1||t.indexOf("downlynk.com")>-1||t.indexOf("uplynk.localhost")>-1||t.indexOf("downlynk.localhost")>-1)},s.isWithCreds=function(t){return t&&t.length&&s.isUplynk(t)&&t.indexOf("expand=finance")>-1}},kFLO:function(t,i,n){"use strict";function s(t){t&&(this.duration=t.duration,this.url=t.url,this.initSegment=t.initSegment,this.seqNum=t.sequenceNum,this.startTime=t.startTime,this.discontinuity=t.discontinuity,this.programDateTime=t.programDateTime,this.streamIndex=t.levelIndex,this.bitrate=t.bitrate,this.sessionId=t.sessionId,this.cdn=t.cdn,this.i2=this.streamIndex+"_"+this.seqNum,this.brStartOffset=t.brStartOffset,this.brEndOffset=t.brEndOffset,this.containerFormat=t.containerFormat,this.encryptionData=t.encryptionData,this.endTimestamps=t.endTimestamps,this.periodId=t.periodId),this.endTimestamps||(this.endTimestamps={audio:NaN,video:NaN}),this.totalDownloadTime=0,this.timeToFirstByte=0,this.n2=0}t.exports=s,s.prototype.setStreamIndex=function(t){this.streamIndex=t,this.i2=this.streamIndex+"_"+this.seqNum},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){"__controller"!==n&&(i[n]=t[n])})),i}},kHDx:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("P2OX"),e=n("MKj3"),r=n("pUuq"),h=n("xPTa"),o=n("ablw"),u=n("yf6s"),a=n("t7cw"),c=function(){function t(t){this.OM=t,this.viewability={value:0,timestamp:0,rect:{top:null,bottom:null,height:null},windowHeight:null,isVisible:0,invisibleElement:""},this.progressBeaconsInfo={timeLastSent:{}},this.SKIP_PARAM_IN_BEACON="___skip_param_in_beacon___",this.expm="na",this.pltype="vdms",this.pl_type="",this.s2=0,this._V="V",this.type="",this.ss="",this.vid="",this.pstaid="",this.prt="none",this.cprt="none",this.vs="",this.vlng="none",this.pver="",this.host=document.location.host,this._w=document.location.href,this._R=document.referrer,this.pls="",this.auto="",this.snd="",this.deos="",this.deom="",this.psz="",this.ccav="",this.cdn="uncalculated",this.smpl="",this.cont=1,this.replay=0,this.focus="",this.bit=0,this.endscreen=0,this.drmsys="none",this.drm=!1,this._sqno=0,this.ts=0,this.pbst="",this.pbstd="",this.soe="",this.siteadspref=0,this.resetProgressBeaconsState()}return t.getStreamType=function(i,n,s){return Object.values(e.AdBreakType).includes(n)?t.getAdType(n):Object.values(r.MediaItemType).includes(n)?t.getContentType(n,n,s):i===h.PlaybackMode.AD?"ad":n},t.getContentType=function(i,n,s){if(i===e.AdBreakType.NATIVE)return"ad native";switch(n){case r.MediaItemType.VOD:return 0===s?"":s>t.LONG_VOD_DURATION?"vod long":"vod short";case r.MediaItemType.LIVE_EVENT:case r.MediaItemType.LIVE_CHANNEL:return"live";case r.MediaItemType.CONTAINER:return"streamurl"}return""},t.getAdType=function(t){switch(t){case e.AdBreakType.PREROLL:return"ad pre-roll";case e.AdBreakType.MIDROLL:return"ad mid-roll";case e.AdBreakType.POSTROLL:return"ad post-roll";case e.AdBreakType.TRIGGER:return"ad trigger";case e.AdBreakType.NON_LINEAR:return"ad non-linear";case e.AdBreakType.NATIVE:return"ad native"}return""},t.prototype.destroy=function(){this.pls="",this._sqno=0},t.prototype.update=function(i){this.requestType=i.requestType||"",this.requestAction=i.requestAction||"none",this.audioLanguage=i.audioLanguage||"",this.e2=i.playerRootElement||this.e2,this.playbackMode=i.playbackMode,this.adParams=this.playbackMode!==h.PlaybackMode.AD?null:this.adParams,this.type=t.getContentType(i.currentMediaType,i.contentType,i.videoLength)||"",this.pls=this.OM.guid,this.ss=this.h2(i.currentMediaType)||this.ss,this.vid=i.videoId||this.vid,this.pstaid=i.videoId||this.pstaid,this.prt=this.o2(i.rendererType)||this.prt,this.cprt=this.o2(i.mediaItemRendererType)||this.cprt,this.vs=i.sessionId||this.vs,this.vlng=i.videoLength&&parseFloat(parseFloat(i.videoLength).toFixed(2)).toString()||this.vlng,this.pver="0.2.415"===i.playerVersion?"local":i.playerVersion,this.auto=!0===i.autoPlay?"true":"false",this.snd=!0===i.mute?"m":"um",this.deos=i.docking&&!0===i.docking.enableOnScrollDown?"1":"0",this.deom=i.docking&&!0===i.docking.enableOnMuted?"1":"0",this.psz=i.uiState&&i.uiState.width&&i.uiState.height?i.uiState.width+"x"+i.uiState.height:this.psz,this.ccav=!0===i.isCCAvailable?"1":"0",this.cdn=i.cdn||this.cdn,this.smpl=o.isNullOrUndefined(i.samplingId)?this.smpl:i.samplingId.toString(),this.focus=u.default.isPlayerInBackground()?"0":"1",this.expm=(i.uiState&&!0===i.uiState.isFullScreen?"fullscreen":i.uiState&&!0===i.uiState.isDocked&&"docked")||"na",this.endscreen=i.showEndScreen?1:0,this.drmsys=i.drmsys,this.drm=i.drm,this.ts=i.currentTs-this.OM.getInitTime(),this.pbst=i.pbst,this.pbstd=i.pbstd,this.pl_type=this.u2(),this.soe=i.soe,this.siteadspref=i.firstItemAdsSitePrefetched?1:0},t.prototype.updateTs=function(t){this.ts=t-this.OM.getInitTime()},t.prototype.getCommonParams=function(){var t=this,i={t:Math.random()};return a.PARAMS.forEach((function(n){i[n]=t[n]})),i},t.prototype.onVideoRequest=function(t,i){this.a2&&(i.videoId===this.a2?this.replay++:this.cont++),this.a2=i.videoId,this.bitrate=0},t.prototype.onBeaconSent=function(){this._sqno++},t.prototype.resetProgressBeaconsState=function(){this.progressBeaconsInfo.timeLastSent=a.PROGRESS_BEACON_INTERVALS.reduce((function(t,i){return t[i.key]=-1,t}),{})},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.OM.getCurrentTime()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){var t=this.OM.volume;return t&&t>0&&t.toString()||"0"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bitrate",{get:function(){return this.s2},set:function(t){this.s2=Math.round(t),this.bit=Math.round(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"programDateTimeLatency",{get:function(){var t=this.OM.getCurrentDate(),i=(new Date).getTime();return t>0?(i-t).toString():""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"play_pos",{get:function(){return parseFloat(this.currentTime.toFixed(2)).toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return this.f2(this.e2).toString()+"%"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewd",{get:function(){var t=this.viewability;return JSON.stringify({ts:this.viewability.timestamp,t:o.isNullOrUndefined(t.rect.top)?"":t.rect.top,b:o.isNullOrUndefined(t.rect.bottom)?"":t.rect.bottom,h:o.isNullOrUndefined(t.rect.height)?"":t.rect.height,wh:this.viewability.windowHeight||"",v:this.viewability.isVisible,i:this.viewability.invisibleElement})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"jsdt",{get:function(){return f},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssdt",{get:function(){return l},enumerable:!0,configurable:!0}),t.prototype.o2=function(t){if(!t)return"";switch(t){case h.RendererType.HTML5_HLS:return"html5-hls";case h.RendererType.HTML5_HLS_360:return"html5-hls-360";case h.RendererType.HTML5_RAW_360:return"html-360";case h.RendererType.EXTERNAL:case h.RendererType.HTML5_RAW:case h.RendererType.HTML5_TV:case h.RendererType.HTML5_TV_TIZEN:case h.RendererType.HTML5_TV_ORSAY:default:return"html"}},t.prototype.h2=function(t){return t===r.MediaItemType.LIVE_EVENT||t===r.MediaItemType.LIVE_CHANNEL?"live":"vod"},t.prototype.f2=function(t){var i=(new Date).getTime();if(t&&i-this.viewability.timestamp>1e3){var n=t&&void 0!==t.getElementsByClassName?t.getElementsByClassName(s.VIDEO_MAIN_ELEMENT_CLASS):null;n&&n.length&&(this.viewability.value=u.default.getElementViewability(n[0]),this.viewability.timestamp=i,this.viewability.rect=n[0].getBoundingClientRect(),this.viewability.windowHeight=window.innerHeight,this.viewability.isVisible=null!==n[0].offsetParent?1:0,this.viewability.invisibleElement=this.viewability.isVisible?"":this.l2(n[0]))}return this.viewability.value},t.prototype.l2=function(t){return t?t.parentElement&&"none"!==t.style.display?this.l2(t.parentElement):JSON.stringify({n:t.nodeName,i:t.id,cl:t.classList}):""},t.prototype.u2=function(){var t,i,n,e,r,h,o,u,c,f=this.OM.config,l=!0===(null===(n=null===(i=null===(t=f)||void 0===t?void 0:t.ui)||void 0===i?void 0:i.playlist)||void 0===n?void 0:n.show)&&(null===(h=null===(r=null===(e=f)||void 0===e?void 0:e.ui)||void 0===r?void 0:r.playlist)||void 0===h?void 0:h.position);return l!==s.PLAYLIST_POS.RIGHT||(null===(c=null===(u=null===(o=f)||void 0===o?void 0:o.ui)||void 0===u?void 0:u.playlist)||void 0===c?void 0:c.inStream)?l||a.PLAYLIST_POSITION.NONE:a.PLAYLIST_POSITION.HERO},t.LONG_VOD_DURATION=600,t}();i.default=c;var f=u.default.getResourceLoadTime(/vdms-player\.js/);f=o.isNumber(f)?Math.round(f).toString():"na";var l=u.default.getResourceLoadTime(/video-player\.css/);l=o.isNumber(l)?Math.round(l).toString():"na"},kQaT:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-ccs-listitem' data-item-type='"),s.b(s.v(s.f("itemType",t,i,0))),s.b("' >"),s.b("\n"+n),s.b("    <div class='vp-ccs-checkmark'></div>"),s.b("\n"+n),s.b("    <div class='vp-ccs-item' tabindex='0'>"),s.b(s.v(s.f("itemContent",t,i,0))),s.b("</div>"),s.b("\n"+n),s.s(s.f("valueRequired",t,i,1),t,i,0,188,259,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-value' tabindex='0'>"),s.b(s.v(s.f("valueContent",t,i,0))),s.b("</div>"),s.b("\n"+n)})),t.pop()),s.s(s.f("caratRequired",t,i,1),t,i,0,300,353,"{{ }}")&&(s.rs(t,i,(function(t,i,s){s.b("    <div class='vp-ccs-caret-icon right'></div>"),s.b("\n"+n)})),t.pop()),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},kd2E:function(t,i,n){"use strict";function s(t,i){return Object.prototype.hasOwnProperty.call(t,i)}t.exports=function(t,i,n,r){i=i||"&",n=n||"=";var h={};if("string"!=typeof t||0===t.length)return h;var o=/\+/g;t=t.split(i);var u=1e3;r&&"number"==typeof r.maxKeys&&(u=r.maxKeys);var a=t.length;u>0&&a>u&&(a=u);for(var c=0;c<a;++c){var f,l,v,d,p=t[c].replace(o,"%20"),m=p.indexOf(n);m>=0?(f=p.substr(0,m),l=p.substr(m+1)):(f=p,l=""),v=decodeURIComponent(f),d=decodeURIComponent(l),s(h,v)?e(h[v])?h[v].push(d):h[v]=[h[v],d]:h[v]=d}return h};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},"l+r/":function(t,i,n){"use strict";i.Model=d;var s=i.StreamingMode={DASH:"dash",HLS:"hls"};i.MetadataTypes={RAW:"raw",RAW_SUBTITLE:"rawSubtitle",STRUCTURED:"structured"};var e=i.AbrModes={AUTO:"auto",LOW:"low",MID:"medium",HIGH:"high"},r=n("HNSW"),h=r.Stream,o=r.StreamTypes,u=n("E2T+"),a=n("9m1L").HLSEvent,c=n("+aGq"),f=n("zY0b"),l=n("juTp"),v=n("vl8+");function d(t){if(!(t&&t.userAgent&&t.config&&t.metadata))throw new Error("Incomplete input parameters to Model");this.configure(t.config,t.userAgent),this.v2={},this.streams=[],this.altRenditionGroups=[],this.d2=this.__controller.create(v),this.m2(t.metadata),this.live=t.metadata&&t.metadata.live,this.hasEndlist=!1,this.duration=0,this.bufferLength=0,this.pendingBufferLength=0,this.bufferedRanges={length:0,ranges:[]},this.currentTime=0,this.timescale=9e4,this.TIMESTAMP_COMPARE_EPSILON=.065,this.preloading=!1,this.timedMetadataStore={},this.dimensions=t.config.dimensions?t.config.dimensions:{width:NaN,height:NaN},this.pixelRatio=1,this.bwHistory=t.config.bwHistory,this.b2=e.AUTO,this.g2=0,this.w2={},this.currentLoadingStreamIndex=-1,this.E2=null,this.O2=null,this.A2=t.metadata.url&&-1!==t.metadata.url.indexOf(".mpd")?s.DASH:s.HLS,this.drmRequired=!1,this.drmInfo=[]}d.prototype.destroy=function(){this.config=null,this.streams&&(this.streams.forEach((function(t){t.destroy()})),this.streams=[]),this.altRenditionGroups&&(this.altRenditionGroups.forEach((function(t){t.destroy()})),this.altRenditionGroups=[]),this.w2={},this.d2.destroy(),this.timedMetadataStore=null},d.prototype.configure=function(t,i){var n=this;n.config=n.config||f.deepCopy(c),n.userAgent=i,t&&(Object.keys(t).forEach((function(i){n.config.hasOwnProperty(i)&&(n.config[i]=t[i])})),n.inWorkerScope=t.inWorkerScope),f.isNullOrUndefined(n.config.demux.startChunkWithKeyFrame)&&n.userAgent&&(n.config.demux.startChunkWithKeyFrame=!(n.userAgent.chrome&&n.userAgent.chrome>=50))},d.prototype.build=function(t){if(t){t.streamingMode===s.DASH&&(this.A2=t.streamingMode,this.drmRequired=t.drm,this._2=t,this.live=!(!t.type||"dynamic"!==t.type.toLowerCase()));var i=this.T2(t.renditionGroups);this.LW(t.streamInfoList,i)}},d.prototype.S2=function(t){var i,n,s,e;for(i=0;i<t.length&&(s=t[i].getDrmInfo());i++)for(n=0;n<s.length;n++)e=s[n],l.isDrmItemContained(e,this.drmInfo)||this.drmInfo.push(e)},d.prototype.T2=function(t){var i=this;return t?(Object.keys(t).forEach((function(n){var s=t[n];s&&Object.keys(s).forEach((function(t){var e=i.I2(n,t),r=s[t];r&&r.length&&(i.j2(r[0]),e?i.M2(n,t,r):i.N2(n,t,r))}))})),i.S2(i.altRenditionGroups),i.altRenditionGroups):i.altRenditionGroups},d.prototype.I2=function(t,i){for(var n=0;n<this.altRenditionGroups.length;n++){var s=this.altRenditionGroups[n];if(s.type===t&&s.groupId===i)return s}return null},d.prototype.N2=function(t,i,n){var s=this.metadata&&this.metadata.currLang,e=this.__controller.create(u,t,i,n,s);this.altRenditionGroups.push(e)},d.prototype.M2=function(t,i,n){if(n&&n.length){var s=this.I2(t,i);n.forEach((function(t){s.update(t)}))}},d.prototype.LW=function(t,i){var n=this;t&&t.length&&((t=n.rU(t)).forEach((function(t){t.sessionId=n.sessionId,t.type=o.MAIN,n.j2(t);for(var s=!1,e=n.isDash()?"groupId":"url",r=0;r<n.streams.length;r++){if(n.streams[r][e]===t[e]){n.updateStream(r,t),s=!0;break}}s||n.addStream(t,i)})),n.S2(n.streams),n.R2(),n.duration=n.live?NaN:t[0].duration)},d.prototype.rU=function(t){return t&&t.length?(this.userAgent.firefox&&t[0].channels&&(t=this.D2(t)),t=t.filter((function(t){if(!t.url)return!1;var i=t.codecs;if(!i)return!0;for(var n=0;n<i.length;n++)if(-1===i[n].indexOf("avc1")&&-1===i[n].indexOf("mp4a")&&-1===i[n].indexOf("aac"))return!1;return!0}))):t},d.prototype.D2=function(t){for(var i=!1,n=t[0].channels,s=1;s<t.length;s++)if(t[s].channels&&n!==t[s].channels){i=!0;break}return i?t.filter((function(t){return 1!==t.channels})):t},d.prototype.isDash=function(){return this.A2===s.DASH},d.prototype.addStream=function(t,i){var n=this.__controller.create(h,t,i);this.streams.push(n),n.setStreamIndex(this.streams.length-1),this.d2.addStream(n),1===this.streams.length&&this.setCurrentLoadingStream(n.index)},d.prototype.updateStream=function(t,i){t>=this.streams.length||(!0===i.hasEndList&&(this.hasEndlist=!0),this.d2.update(i))},d.prototype.synchStreamTimelines=function(t){var i=this.getCurrentLoadingStream();if(i&&this.live&&i.segments.length){var n=i.segments[0].programDateTime,s=i.segments[0].startTime;f.isNullOrUndefined(n)||f.isNullOrUndefined(s)||this.altRenditionGroups.forEach((function(i){t&&i.type!==t||i.adjustStartTime(s,n)}))}},d.prototype.getCurrentLoadingStream=function(){return this.getStreamByIndex(this.currentLoadingStreamIndex)},d.prototype.setCurrentLoadingStream=function(t){this.streams&&this.streams.length&&(t<0||t>=this.streams.length||(this.currentLoadingStreamIndex=t))},d.prototype.getCurrentPlayingStream=function(){return this.getStreamByIndex(this.currentPlayingStreamIndex)},d.prototype.setCurrentPlayingStream=function(t){this.streams&&this.streams.length&&(t<0||t>=this.streams.length||(this.currentPlayingStreamIndex=t))},d.prototype.getTotalBufferLength=function(){for(var t=this.bufferedRanges,i=0,n=0;n<t.length;n++)i+=t.ranges[n].end-t.ranges[n].start;return i},d.prototype.setPCR=function(t){(null===this.E2||void 0===this.E2||isNaN(this.E2))&&(this.E2=t,this.__controller.sendEvent(a.PCR_AVAILABLE,t))},d.prototype.getPCR=function(){return this.E2},d.prototype.setLivePlaybackStartTime=function(t){this.O2=t},d.prototype.getLivePlaybackStartTime=function(){return this.O2},d.prototype.setStartOffset=function(t){this.startOffsetTimestamp&&!isNaN(this.startOffsetTimestamp)||(this.startOffsetTimestamp=t)},d.prototype.setSegEndTimeStamps=function(t,i,n,s){if(t&&s){var e=t===o.MAIN?this.streams:this.I2(t,i);e&&e.length&&e.forEach((function(t){var i=t.getSegmentfromSeqNum(n);i&&(i.endTimestamps.audio=s.audio,i.endTimestamps.video=s.video)}))}},d.prototype.getPrevSegEndTimestamps=function(t,i){if(!t||!i)return null;var n=t.getIndexFromSeqNum(i.seqNum);return n>=1&&t.segments&&n<t.segments.length?t.segments[n-1].endTimestamps:null},d.prototype.getStreamRefreshInterval=function(){var t=this.getCurrentLoadingStream();return t?t.refreshInterval:null},d.prototype.m2=function(t){if(t){this.sessionId=t?t.sessionId:null,this.is360=!!t&&t.is360,t.type=i.MetadataTypes.RAW,this.metadata=t;var n=t.streams,s=t.altStreams;n&&n.length>0&&((n[0].hls_info||n[0].hlsInfo||n.length>1)&&(this.metadata.type=i.MetadataTypes.STRUCTURED,this.metadata.hasMediaMetadata=!0),(n[0].hls_info||n[0].hlsInfo)&&(this.metadata.hasStreamMetadata=!0)),this.metadata.hasMediaMetadata||this.metadata.hasStreamMetadata||(this.v2=n&&1===n.length?n[0]:t),s&&s.length&&(this.metadata.hasAltStreamMetadata=!0)}},d.prototype.R2=function(){this.streams.sort((function(t,i){return t.bitrate-i.bitrate})),this.streams.forEach((function(t,i){t.index=i,t.segments.forEach((function(t){t.setStreamIndex(i)}))}))},d.prototype.getSegment=function(t,i){return t<0||t>=this.streams.length?null:this.streams[t].getSegmentfromSeqNum(i)},d.prototype.L2=function(t){var i=[];return this.streams.forEach((function(n){n.index!==t&&i.push({index:n.index,url:n.url})})),i},d.prototype.setABRMode=function(t){var i=this,n=i.b2;return i.b2=e.AUTO,Object.keys(e).forEach((function(n){e[n]===t.preference&&(i.b2=t.preference)})),i.g2=1e3*t.stream.bitrate,n!==i.b2},d.prototype.getABRMode=function(){return this.b2},d.prototype.setAudioLanguage=function(t){var i=!1;return this.altRenditionGroups.forEach((function(n){n.type===o.AUDIO&&(i=n.setCurrentStreamWithName(t)||i)})),i},d.prototype.getMediaDto=function(){var t={streams:[],altRenditionGroups:[],live:this.live,duration:this.duration,currentPlayingStreamIndex:this.currentPlayingStreamIndex,currentLoadingStreamIndex:this.currentLoadingStreamIndex,preloading:this.preloading,currentKbps:this.__controller.services.segmentMetrics.getMetricsBandwidthInfo(),abrMode:this.b2,streamingMode:this.A2,drmRequired:this.drmRequired,drmInfo:this.drmInfo};return this.streams.forEach((function(i){t.streams.push(i.dto())})),t},d.prototype.getUserReqBitrate=function(){return this.g2},d.prototype.j2=function(t){t&&t.segmentInfoList&&!f.isNullOrUndefined(t.hasEndList)&&f.isNullOrUndefined(this.live)&&(this.live=!t.hasEndList)},d.prototype.getMediaUrl=function(){var t=this.v2.url||"";return!t.length&&this.v2.host&&this.v2.path&&(t=this.v2.host+this.v2.path),t},d.prototype.getMediaCdn=function(){return this.v2.cdn||""},d.prototype.getStreamByIndex=function(t){return this.streams&&this.streams.length&&t>=0&&t<this.streams.length?this.streams[t]:null},d.prototype.getSegmentLength=function(){return this.streams&&this.streams.length?this.streams[0].targetDuration:NaN},d.prototype.updateTimedMetadata=function(t,i){if(t&&t.payload){this.timedMetadataStore[i]=this.timedMetadataStore[i]||[];for(var n=this.timedMetadataStore[i].length,s=0;s<this.timedMetadataStore[i].length;s++){var e=this.timedMetadataStore[i][s];if(Math.abs(e.timestamp-t.timestamp)<=.1&&this.C2(e.payload,t.payload))return!1;if(t.timestamp<e.timestamp){n=s;break}}return this.timedMetadataStore[i].splice(n,0,t),!0}},d.prototype.C2=function(t,i){return!(t.key!==i.key||!t.data||!i.data||t.data.byteLength!==i.data.byteLength)&&t.data.every((function(t,n){return t===i.data[n]}))}},lSF3:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.Promise=void 0;var s,e,r=n("B/eG");if(i.Promise=s,"undefined"!=typeof self?e=self:void 0!==t&&(e=t),e){var h=e.Promise,o=void 0;try{o=Object.prototype.toString.call(h.resolve())}catch(t){}"[object Promise]"===o&&(i.Promise=s=h)}s||(i.Promise=s=r.default)}).call(this,n("yLpj"))},lrP1: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.ZR={},this.WL=0}return t.prototype.destroy=function(){this.ZR={}},t.prototype.addEventListener=function(t,i,n){return this.ZR?this.OH(t,i,n):""},t.prototype.addEventListeners=function(t,i,n){var s=this,e={};return this.ZR&&t.length?(t.forEach((function(t){var r=i.bind(n,t);e[t]=s.OH(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.ZR&&t in this.ZR&&Object.prototype.hasOwnProperty.call(this.ZR[t],i)&&delete this.ZR[t][i]},t.prototype.removeEventListeners=function(t){if(this.ZR&&t)for(var i=0,n=Object.keys(t);i<n.length;i++){var s=n[i],e=t[s];s in this.ZR&&Object.prototype.hasOwnProperty.call(this.ZR[s],e)&&(delete this.ZR[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.ZR&&t in this.ZR){var s=this.ZR[t];s&&this.AH(s,t,!1,i);var e=this.ZR["*"];e&&this.AH(e,t,!0,i)}},t.prototype.AH=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.OH=function(t,i,n){this.ZR[t]||(this.ZR[t]={});var s=t+"_"+ ++this.WL;return this.ZR[t][s]={subscriber:n,listener:i},s},t}();i.default=e},lx8G:function(t,i,n){"use strict";t.exports=r;var s=n("c1df"),e=n("zY0b");function r(){this.P2=0}r.prototype.destroy=function(){this.P2=0},r.prototype.parse=function(t,i,n){if(!t||!i||!s[i])return null;this.P2=0;var r=new DataView(t.buffer);if(e.isNullOrUndefined(n)?(n=this.findBoxOffset(r,i),this.P2=n):this.P2=n,this.P2<0)return null;var h=this.parseHeader(r,i,this.P2);return!h||h.boxSize>r.byteLength?null:"sidx"===h.boxType?this.U2(r,h,n):this.eN(r,h)},r.prototype.V2=function(t){var i=[];if(!t)return i;this.P2=0;for(var n=new DataView(t.buffer);this.P2+8<=n.byteLength;){var e=this.P2,r=this.B2(n.getUint32(e+4),4);if(s[r]){var h=this.parseHeader(n,r,e);h&&("sidx"===h.boxType?i.push(this.U2(n,h)):i.push(this.eN(n,h)))}else this.P2++}return i},r.prototype.parseHeader=function(t,i,n){var e={boxOffset:n};this.P2=n;var r=this.F2(t,e);return-1===r||e.boxType!==i||s[i].fullBox&&-1===(r=this.z2(t,e))?null:e},r.prototype.extractVttCaptions=function(t){var i=[];if(this.P2=0,!t)return i;var n=new DataView(t.buffer),s=this.findBoxOffset(n,"mdat");if(s<0)return i;var e=t.slice(s+8),r=this.V2(e);if(!r.length)return i;for(var h=0;h<r.length;h++){var o=r[h];if(o)if("vttc"===o.boxType){this.P2=0;var u=e.slice(o.boxOffset+8,o.boxOffset+o.boxSize),a=this.V2(u);i.push(this.H2(a))}else"vtte"===o.boxType&&i.push({})}return i},r.prototype.eN=function(t,i,n){if(!t||!i||i.boxSize>t.byteLength)return i;var e=s[i.boxType],r=e.properties;if(!r)return this.P2+=i.boxSize-(e.fullBox?12:8),i;for(var h=Object.keys(r),o=0;o<h.length;o++){var u=h[o],a=r[u];if(this.q2(a.validator,i[a.validationProperty]||i.flags,a.validationResult))if("array"===a.type){i[u]=[];var c=a.length||a.lengthField&&i[a.lengthField],f=a.itemSchema;if(!f)break;c?this.G2(i,u,t,c,f,n):this.Y2(i,u,t,f)}else this.W2(t,a,n,u),i[u]=this.Z2(i,a,t)}return i},r.prototype.W2=function(t,i,n,s,e,r){if(n&&i){var h=!n.pos||n.pos&&n.pos===e||e===r-1&&-1===n.pos;n.name&&s===n.name&&n.length&&i.length&&n.length===i.length&&h&&this.Q2(t,n)}},r.prototype.G2=function(t,i,n,s,e,r){for(var h,o=0;o<s;o++){if(e.length)h=this.Z2(t,e,n);else{h={};for(var u=Object.keys(e),a=0;a<u.length;a++){var c=u[a],f=e[c];this.q2(f.validator,t.flags)&&(this.W2(n,f,r,c,o,s),h[c]=this.Z2(t,f,n))}}t[i].push(h)}},r.prototype.Y2=function(t,i,n,s){for(var e;this.P2<t.boxOffset+t.boxSize;)e=this.Z2(t,s,n),t[i].push(e)},r.prototype.q2=function(t,i,n){return!t||(n?(i&t)===n:i&t)},r.prototype.Z2=function(t,i,n){var s;return i.length&&(s=this.X2(n,i.length),this.P2+=s.readBytes,s.readBytes===i.length/8)?"string"===i.type?this.B2(s.value,4):s.value:"string"===i.type?this.J2(t,n):"boxstring"===i.type?this.K2(t,n):null},r.prototype.X2=function(t,i){var n={value:0,readBytes:0},s=i/8;if(this.P2+s<=t.byteLength){switch(i){case 8:n.value=t.getUint8(this.P2);break;case 16:n.value=t.getUint16(this.P2);break;case 32:n.value=t.getUint32(this.P2);break;case 64:for(var e=new Uint8Array(8),r=0;r<8;r++)e[r]=t.getUint8(this.P2+r);n.value=e}n.readBytes=s}return n},r.prototype.Q2=function(t,i){var n=i.value;switch(i.length){case 8:t.setUint8(this.P2,n);break;case 16:t.setUint16(this.P2,n);break;case 32:t.setUint32(this.P2,n)}},r.prototype.J2=function(t,i){var n="",s=this.X2(i,8);for(this.P2+=s.readBytes;s.readBytes>0&&s.value>0&&this.P2<t.boxOffset+t.boxSize;)n+=String.fromCharCode(s.value),s=this.X2(i,8),this.P2+=s.readBytes;return n},r.prototype.K2=function(t,i){var n=t.boxSize-(this.P2-t.boxOffset),s=String.fromCharCode.apply(null,new Uint8Array(i.buffer,this.P2,n));return this.P2+=n,s},r.prototype.findBoxOffset=function(t,i){if(!t||t.byteLength<8)return-1;var n,e=s[i].parents,r=0;if(e&&e.length>0){for(var h=!1,o=0;o<e.length;o++){var u=e[o];if((n=this.findBoxOffset(t,u))>=0){r=n+(s[u].fullBox?12:8);var a=s[u].payload;a&&(r+=a),h=!0;break}}if(!h)return-1}for(;r+8<=t.byteLength;){if(this.B2(t.getUint32(r+4),4)===i)return r;var c=t.getUint32(r);if(!(c>0))break;r+=c}return-1},r.prototype.F2=function(t,i){if(!t||!i||t.byteLength<8)return-1;i.boxSize=t.getUint32(this.P2),this.P2+=4;var n=t.getUint32(this.P2);return i.boxType=this.B2(n,4),this.P2+=4,1===i.boxSize&&(i.boxSize=this.t3(t),this.P2+=8),0},r.prototype.z2=function(t,i){if(!t||!i)return-1;var n=t.getUint32(this.P2);return i.boxVersion=n>>24,i.flags=16777215&n,this.P2+=4,0},r.prototype.U2=function(t,i,n){var s;if(!t||!i)return null;n=n||0,this.P2+=4,this.P2+=4,0===i.boxVersion?(t.getUint32(this.P2),this.P2+=4,s=t.getUint32(this.P2),this.P2+=4):(this.t3(t),this.P2+=8,s=this.t3(t),this.P2+=8),this.P2+=2;var e=t.getUint16(this.P2);this.P2+=2;for(var r=i.boxOffset+i.boxSize+s,h=[],o=0;o<e;o++){var u=t.getUint32(this.P2);if(this.P2+=4,1===u>>>31)return null;var a=2147483647&u;this.P2+=8,h.push({brStartOffset:r+n,brEndOffset:r+n+a-1}),r+=a}return h},r.prototype.setSingleProp=function(t,i,n){if(t&&i){var s=new DataView(t.buffer),e=this.findBoxOffset(s,i);if(!(e<0)){this.P2=e;var r=this.parseHeader(s,i,e);r&&this.eN(s,r,n)}}},r.prototype.B2=function(t,i){if(!t||!i)return"";for(var n=new Array(i),s=i-1;s>=0;s--){var e=255&t;n[s]=String.fromCharCode(e),t>>>=8}return n.join("")},r.prototype.t3=function(t){var i=this.P2,n=t.getUint32(i);i+=4;var s=t.getUint32(i);return n*Math.pow(2,32)+s},r.prototype.H2=function(t){for(var i={},n=0;n<t.length;n++){var s=t[n];if(s)switch(s.boxType){case"vsid":i.sourceId=s.sourceId;break;case"ctim":i.cueTime=s.cueTime;break;case"payl":i.cueText=s.cueText}}return i}},m1ef:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=n("c+yx"),r=function(){function t(t){this.OM=t,this.OM&&this.OM.addEventListener(s.Events.VIDEO_STARTED,this.i3,this)}return t.prototype.destroy=function(){this.OM=null},t.prototype.i3=function(t){var i=t.customConfig&&t.customConfig.metrics&&t.customConfig.metrics.mmActivityId;if(i&&e.default.isValidUrl(i)){var n=i+"?rnd="+Math.random();e.default.sendIframeBeacon(n)}},t}();i.default=r},mVgR:function(t,i,n){"use strict";function s(t){t&&(this.startSeqNum=t.startSeqNum,this.startTime=t.startTime,this.cuepointDuration=t.cuepointDuration,this.isCueOutFired=!1,this.isCueOutDetectedFired=!1)}t.exports=s,s.prototype.setCueOutFiredState=function(t){this.isCueOutFired=t},s.prototype.setCueOutDetectedState=function(t){this.isCueOutDetectedFired=t},s.prototype.setCueOutStartTime=function(t){this.startTime=t},s.prototype.dto=function(){var t=this,i={};return Object.keys(t).forEach((function(n){i[n]=t[n]})),i}},mfPw:function(t,i,n){"use strict";var s="undefined"!=typeof navigator?navigator.userAgent.toLowerCase().replace(/<[A-Za-z]+.*?(\/>|>.*?<\/[A-Za-z]+>)|javascript:/g,""):"",e="undefined"!=typeof window?window:{},r=function(t){if(null===t)return!1;var i=t[1];return parseFloat(i.replace("_",".").split(".",2).join("."))||1},h=function(t){for(var i=(e&&e.location&&e.location.search&&e.location.search.substring(1)||"").split("&"),n=0;n<i.length;n++){var s=i[n].split("=");if(decodeURIComponent(s[0])===t)return decodeURIComponent(s[1])}return null};if(i.ua=s,i.chromium=r(/chromium\/([^\s]*)/.exec(s)),i.edge=r(/edge\/([^\s]*)/.exec(s)),i.opera=/opr\/|opera\//.test(s),i.chrome=!i.chromium&&!i.edge&&!i.opera&&(r(/chrome\/([^\s]*)/.exec(s))||r(/crios\/([^\s]*)/.exec(s))),i.ie=r(/msie ([^;]*)/.exec(s))||r(/trident.*; rv:([0-9.]+)/.exec(s)),i.firefox=!i.ie&&r(/firefox\/([^\s]*)/.exec(s)),i.android=/android/.test(s),i.androidTablet=i.android&&!/mobile/.test(s),i.htc_one=/htc_one/.test(s),i.vizio=/Vizio/i.test(s)||"vizio"===h("man"),i.tivo=/TiVo/i.test(s),i.fios=/Verizon_STB|\(Verizon.*VMS1100|\(Verizon.*IPC1100|\(Verizon.*IPC3200/i.test(s),i.firetv=i.android&&/amazonwebappplatform/.test(s)&&/aft/.test(s),i.lg=/web0s/.test(s),i.tizen=/tizen/.test(s),i.orsay=/smarttv/.test(s)&&!i.tizen&&!i.lg,i.samsung=i.orsay||i.tizen,i.sony=/(sony)/.test(s),i.ps4=/(playstation 4)/.test(s),i.ios=/(ipad|iphone|ipod)/.test(s),i.iphone=/(iphone|ipod)/.test(s)&&!/ipad/.test(s),i.ipad=i.ios&&!i.iphone,i.androidBrowser=!i.chrome&&/android/.test(s),i.androidVersion=r(/android\s([0-9.]*)/.exec(s)),i.safari=!i.chrome&&!i.chromium&&!i.android&&/safari\/([^\s]*)/.test(s)&&r(/version\/([^\s]*)/.exec(s)),i.iosWebView=i.ios&&!navigator.standalone&&!i.safari,i.iosVersion=i.ios&&r(/\bos ((\d+_?){2,3})\s/.exec(s)),i.mobile=i.ios||i.android&&!i.firetv,i.safariDesktop=!i.mobile&&i.safari,i.tv=i.vizio||i.tivo||i.firetv||i.samsung||i.sony||i.ps4||i.lg||i.fios,i.desktop=!i.mobile&&!i.tv,i.phantomJS=e.window&&e.window.mI,i.tv)if(i.vizio)i.os="vizio",i.model=h("class")||h("soc");else if(i.tivo)i.os="tivo",/tcd849/.test(s)?(i.model="series6",i.version="tcd849"):/tcd8d9/.test(s)?(i.model="series6",i.version="tcd8d9"):/tcd8f9/.test(s)?(i.model="series6",i.version="tcd8f9"):/tcd8/.test(s)?(i.model="series5",i.version="tcd8"):/tcdd/.test(s)?(i.model="series5",i.version="tcdd"):i.model="series4";else if(i.firetv)i.os="firetv",/aftb/.test(s)?i.model="aftb":/afts/.test(s)?i.model="afts":(/aftm/.test(s),i.model="aftm");else if(i.lg)i.os="lg",i.model="lg";else if(i.samsung){i.os="samsung";var o=void 0!==o?o:window.tizen;o&&o.systeminfo?(i.model="tizen",i.version=o.systeminfo.getCapability("http://tizen.org/feature/platform.version")):i.model="orsay"}else i.sony?(i.os="sony",/bdp/.test(s)?i.model="bdp":i.model="tv"):i.ps4?(i.os="ps4",i.model="4"):i.fios?i.os="fios":i.os=null;else i.ios?i.os="ios":i.android?i.os="android":/windows|win32/.test(s)?(i.os="windows",i.winXP=/(windows nt 5\.[1-3])/.test(s),i.winVista=/(windows nt 6\.0)/.test(s),i.win7=/(windows nt 6\.1)/.test(s),i.win8=/(windows nt 6\.2)/.test(s),i.win8_1=/(windows nt 6\.3)/.test(s),i.win10=/(windows nt 10\.0)/.test(s),i.win64=/(wow64|win64)/.test(s)):/macintosh|mac_powerpc/.test(s)?i.os="macintosh":/symbos/.test(s)?i.os="symbos":/linux/.test(s)?i.os="linux":i.os=null},mn2t: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("Y3gr"),r=n("ToqN"),h=n("7PPe"),o=n("DnkH"),u=n("S7ET"),a=n("P2OX"),c=n("Thcf"),f=n("wqBe"),l=n("svu7"),v=n("S8wC"),d=n("pUuq"),p=n("gKvh"),m=n("/ZC+"),b=n("+nio"),y=n("EOV8"),g=n("xPTa"),w=n("Na72"),E=n("rBpt"),O=n("BpGj"),A=n("Fry/"),_=n("ablw"),T=n("yf6s"),S=n("JEH0"),I=n("T2TX"),j=n("uHL/"),M=n("hzym"),N=n("OU/s"),R=n("bBNp"),D=n("5JzN"),L=n("IB1X"),k=n("t0SV"),C=n("sHse"),P=n("y/qu"),x=n("GA5D"),U=n("xTZr"),V=n("YqzD"),B=n("NOhp"),F=function(){function t(t,i,n,s,e){this._p=[],this.ZE=t,this.BR=e,this.fO=s,this.fO.publish(f.PROFILE_START,[f.METRICS.VP_CONSTRUCTOR]),this.oE=new m.default(t,i,n),this.sO=this.oE.mediaStore,this.n3(),this.s3=[],this.vO=new b.default,this.ZS=new u.default(this.vO),this.e3=new M.default(this.fO),this.r3(),this.RV=new j.PlaybackController(this.oE,this.fO,this.vO),this.h3(),this.oE.autoplay&&this.fO.publish(f.PROFILE_START,f.METRICS.INIT_TO_START),this.o3(),this.c_(),this.fO.publish(f.PROFILE_END,f.METRICS.VP_CONSTRUCTOR),this.fO.publish(f.PROFILE_START,f.METRICS.INIT_RENDER_GAP),this.u3()}return t.prototype.initialize=function(){this.a3||(this.a3=new I.MetadataController(this.ZS,this.oE),this.f3(),this.fetchMetadata())},t.prototype.fetchMetadata=function(t){this.a3&&this.a3.loadMetadata(t)},t.prototype.destroy=function(){this.lO&&this.lO.destroy(),this.l3(),this.fO&&this.fO.destroy(),this.v3&&this.v3.destroy(),this.oE&&this.oE.destroy(),this.a3&&this.a3.destroy(),this.RV&&this.RV.destroy(),this.d3(),this.vO.destroy(),this.ZS.destroy()},t.prototype.render=function(t){this.fO.publish(f.PROFILE_END,f.METRICS.INIT_RENDER_GAP),this.fO.publish(f.PROFILE_START,f.METRICS.CREATE_RENDERER);var i=_.isString(t)?document.querySelector(t):t;if(null===i&&this.fO.publish(f.ERROR,this.m3(c.PLAYER_CODES.E_INVALID_CONFIG,!1,"Invalid DOM node or CSS selector specified. Cannot render player.")),this.lO=new S.default(i,this.oE,this.fO,this.BR,this.vO,this.RV),this.b3(),this.oE.playerRootElement=i,this.lO.render(),this.cF=this.lO.getPlaylistController(),_.isFunction(o.CCController)&&(this.v3=new o.CCController(this.fO,this.oE,this.lO),this.y3()),this.oE.firstCriticalError)this.wL(this.oE.firstCriticalError);else{if(this.g3=!1,this.lO.syncViewState(),this.oE.autoplay){var n={type:a.REQUEST_TYPES.AUTOPLAY,action:a.REQUEST_TYPES.AUTOPLAY};this.play(n)}else{var s=this.getCurrentMediaItem();this.e3.setPreloadItem(s),this.e3.startPreload()}this.fO.publish(h.ExternalEvt.PLAYER_RENDERED),this.fO.publish(f.PROFILE_END,f.METRICS.CREATE_RENDERER),this.lO.setTheme(this.ZE.cssTheme),this.w3(y.PluginPlayerEvent.PLAYER_RENDERED,{rootElem:i})}},Object.defineProperty(t.prototype,"model",{get:function(){return this.oE},enumerable:!0,configurable:!0}),t.prototype.registerPlugin=function(t){var i=this.oE.config,n=i.pluginConfigs&&i.pluginConfigs[t.type]&&i.pluginConfigs[t.type][t.mimetype];switch(t.type){case y.PluginType.AD:var s=this.oE.privacyConsent;n=Object.assign({autoplay:i.autoplay,playerGuid:this.oE.guid,timeout:{hard:i.ads.timeout.load,start:i.ads.timeout.start,maxAdSearch:i.ads.timeout.maxAdSearch||604800},privacyConsent:{gdprApplies:s.gdprApplies,gdprConsentData:s.gdprConsentData,uspString:s.uspString}},n),"adplugin/vrm"===t.mimetype&&(n.disableFailoverOnDlvFailure=!1,n.disableVIPAdCallRetry=!1,n.adCallWithCredentialsAlways=!1),n.playerName=n.playerName||"VDMSPlayer"}this.vO.register(t,n),_.isPlayerPluginEventListener(t)&&this.s3.push(t)},Object.defineProperty(t.prototype,"rootElement",{get:function(){return this.oE.rendered?this.lO.getRootElement():null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"videoElement",{get:function(){return this.oE.rendered?this.lO.getVideoElement():null},enumerable:!0,configurable:!0}),t.prototype.supportSendBeacon=function(){return!(r.userAgent.ie||r.userAgent.safari||r.userAgent.ios)},t.prototype.play=function(t){void 0===t&&(t=null),this.RV.startPlayback(t),this.fO.publish(f.CTRL_PLAYPAUSE,"play")},t.prototype.pause=function(t){!this.oE.isPaused()&&this.eO.shouldPlay&&(this.RV.pause(t),this.E3.onPause(),this.fO.publish(f.CTRL_PLAYPAUSE,"pause"))},t.prototype.seek=function(t){this.RV.seek(t)},t.prototype.recover=function(){this.E3&&this.E3.recover()},t.prototype.preload=function(){this.e3.startPreload()},t.prototype.stopPreload=function(){this.e3.stopPreload()},t.prototype.disableControls=function(){this.oE.rendered&&this.lO.disableControls()},t.prototype.enableControls=function(){this.oE.rendered&&this.lO.enableControls()},t.prototype.enableCC=function(t){this.v3&&this.v3.enable(t)},t.prototype.disableCC=function(){this.v3&&this.v3.disable()},t.prototype.isPlayMode=function(){var t=this.oE.getState();return(t===w.default.VIDEO||t===w.default.WAITING)&&!this.oE.isPaused()},t.prototype.isLoading=function(){return this.eO.videoLoading()},t.prototype.setCustomError=function(t,i,n,s,e){if(/^player-/.test(t)||(t="player-"+t),-1===[f.ERROR,f.WARNING,f.INFO].indexOf(t))throw new Error("invalid error level");if(-1===Object.keys(c.ErrorGroup).map((function(t){return c.ErrorGroup[t]})).indexOf(i))throw new Error("invalid error group");this.fO.publish(t,T.default.createErr(i,this.eO,n,s,e))},Object.defineProperty(t.prototype,"fullscreen",{get:function(){return!!this.oE.rendered&&this.lO.getFullscreen()},set:function(t){this.oE.rendered&&this.lO.setFullscreen(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){return this.oE.volume},set:function(t){t>0&&!this.oE.muteMode&&(this.oE.mute=!1),E.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:t,mute:this.oE.mute}),this.oE.rendered&&this.RV.setVolume(t),this.lO.updateVolumeUI(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.oE.rendered?this.RV.getCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rawCurrentTime",{get:function(){return this.oE.rendered?this.RV.getRawCurrentTime():0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mute",{get:function(){return this.oE.mute},set:function(t){this.oE.muteMode&&this.oE.mute||(E.LocalStorage.put(a.LocalStorageKey.VOLUME,{volume:this.oE.volume,mute:t}),this.oE.rendered&&this.RV.setMute(t),this.lO.updateVolumeUI(this.oE.volume,t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loop",{set:function(t){this.oE.loop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"continuousPlay",{get:function(){return this.oE.continuousPlay},set:function(t){this.oE.continuousPlay=t},enumerable:!0,configurable:!0}),t.prototype.resumeContinuousPlay=function(t){this.RV.resumeContinuousPlay(t)},Object.defineProperty(t.prototype,"autoplay",{get:function(){return this.oE.autoplay},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mediaStore",{get:function(){return this.oE.mediaStore},enumerable:!0,configurable:!0}),t.prototype.getPlaybackState=function(){return this.oE.getState()},t.prototype.getCurrentMediaItem=function(){return this.RS.getCurrentItem()},t.prototype.getPlaylistItems=function(){return this.RS.getItems().map((function(t){return{id:t.id,mimetype:t.mimetype}}))},t.prototype.getPlaylistItemIds=function(){return this.RS.getItemIds()},t.prototype.getPlaylist=function(){return this.RS},Object.defineProperty(t.prototype,"rendered",{get:function(){return this.oE.rendered},enumerable:!0,configurable:!0}),t.prototype.updateCurrentItemTitle=function(t){this.lO.updateCurrentItemTitle(t)},t.prototype.addCustomControlElement=function(t){return this.lO.addCustomControlElement(t)},t.prototype.setPlaylistPosition=function(t,i,n){this.RV.setPlaylistPosition(t,i,n)},t.prototype.sendPrefetchInfo=function(t){var i={url:t.url,source:t.source,latency:t.latency||"na",http_code:t.http_code||"na",resp_len:t.resp_len||"na",instrument:t.instrument||"na",perfInfo:t.perfInfo||"na",perfStack:t.perfStack||"na"};return!(!i.source||!i.url)&&(this.fO.publish(f.API_CALLED,i),!0)},t.prototype.removePlaylistItems=function(t,i){this.RS.removeItems(t,i)},t.prototype.error=function(t){t&&this.fO.publish(f.ERROR,this.m3(t.code,!1,t.msg))},Object.defineProperty(t.prototype,"docked",{get:function(){return!!this.oE.rendered&&this.lO.isDocked()},enumerable:!0,configurable:!0}),t.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.oE.rendered&&this.lO.updateDockingConfig(t,i,n,s,e,r)},t.prototype.dockVideoPlayer=function(){this.oE.rendered&&this.lO.dockVideoPlayer()},t.prototype.undockVideoPlayer=function(t){this.oE.rendered&&this.lO.undockVideoPlayer(t)},t.prototype.initNewPlayback=function(){var t=this.getCurrentMediaItem();this.RV.initNewPlayback(t)},Object.defineProperty(t.prototype,"startTime",{set:function(t){this.oE.startTime=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentDate",{get:function(){return this.oE.rendered?this.RV.getCurrentDate():0},enumerable:!0,configurable:!0}),t.prototype.getEventsDto=function(){return this.oE.getEventsDto()},t.prototype.getPlayingItem=function(){return this.RV.getPlayingItem()},Object.defineProperty(t.prototype,"duration",{get:function(){return this.RV.getDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rawDuration",{get:function(){return this.RV.getRawDuration()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"RS",{get:function(){return this.oE.playlist},enumerable:!0,configurable:!0}),t.prototype.c_=function(){var t=this;this.fO.addEventListener(f.ERROR,this.wL,this),this.fO.addEventListener(f.INFO,this.wL,this),this.fO.addEventListener(f.WARNING,this._K,this),this.fO.addEventListener(f.RELATED_ITEM_CLICK,this.SO,this),this.fO.addEventListener(f.TOGGLE_PLAY_PAUSE,this.O3,this),this.fO.addEventListener(f.CONTROLS_SEEK_START,this.A3,this),this.fO.addEventListener(f.CONTROLS_SEEK_END,this._3,this),this.fO.addEventListener(f.CONTROLS_SEEKING,this.T3,this),this.fO.addEventListener(f.PLAYBACK_REQUEST,this.S3,this),this.fO.addEventListener(f.PLAYER_DIMENSION_CHANGE,this.FV,this),this.fO.addEventListener(h.ExternalEvt.BITRATE_CHANGE,this.yK,this),this.fO.addEventListener(h.ExternalEvt.PLAYBACK_TIMEOUT,this.I3,this),this.fO.addEventListener(f.KEYDOWN,this._c,this),this.fO.addEventListener(f.ER_READY,this.j3,this),this.fO.addEventListener(f.CONTENT_LOAD_FINISHED,this.M3,this),this.fO.addEventListener(f.PRELOAD_COMPLETE,this.QN,this),this.fO.addEventListener(f.LIVE_RELOAD_MEDIA,this.N3,this),this.oE.waitingForUserTap&&this.fO.once(f.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){t.oE.waitingForUserTap=!1}),this)},t.prototype.u3=function(){var t=this;this._p.push(new U.default),this._p.push(new x.default),this._p.push(new B.default),this._p.push(new R.default),this._p.push(new L.default),this._p.push(new k.default),this._p.push(new e.VrmAdPlugin),this._p.push(new V.default),this.oE.isLocal()&&(this._p.push(new D.default),this._p.push(new C.default),this._p.push(new P.default)),this._p.forEach((function(i){t.registerPlugin(i)})),this.vO.defaultPlugins=this._p},t.prototype.d3=function(){this._p.forEach((function(t){t.destroy()})),this._p=[]},t.prototype.w3=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];for(var e=function(n){setTimeout((function(){try{n.onPlayerEvent.apply(n,s([t],i))}catch(t){}}),0)},r=0,h=this.s3;r<h.length;r++){var o=h[r];e(o)}},t.prototype.o3=function(){this.E3||(this.E3=new N.default(this.oE),this.R3())},t.prototype.D3=function(){this.L3||(this.fO.publish(f.PROFILE_END,[f.METRICS.PLAYBACK_START,f.METRICS.INIT_TO_START,f.METRICS.CLICK_TO_START]),this.fO.publish(h.ExternalEvt.VIDEO_STARTED),this.L3=!0),this.C3()},t.prototype.O3=function(){this.oE.castState&&this.oE.castState.connected||this.oE.getState()===w.default.VIDEO&&(this.oE.isPaused()?(this.RV.startPlayback({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PLAY}),this.fO.publish(f.CTRL_PLAYPAUSE,"play")):(this.RV.pause({type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.PAUSE}),this.fO.publish(f.CTRL_PLAYPAUSE,"pause")))},t.prototype._c=function(t){var i=t.keyCode,n="key-"+i;32!==i&&38!==i&&40!==i||(t.preventDefault(),this.fO.publish(h.ExternalEvt.UI_INTERACT,{srcElement:n}))},t.prototype.S3=function(){this.P3(),this.x3()},t.prototype.P3=function(){var t=this,i=this.getCurrentMediaItem();!this.U3&&i&&i.state!==d.ItemState.ERROR&&(this.U3=window.setTimeout((function(){t.fO.publish(h.ExternalEvt.PLAYBACK_TIMEOUT,t.V3(c.WARNING_CODES.E_PLAYBACK_TIMEOUT,!0,"No playback after 10 seconds of requesting to play on player"))}),1e4))},t.prototype.x3=function(){var t=this.getCurrentMediaItem();t&&t.rendererType===g.RendererType.HTML5_HLS&&this.fO.publish(f.CONVIVA_READY_FOR_SESSION_CREATION,t)},t.prototype.C3=function(){this.U3&&clearTimeout(this.U3)},t.prototype.FV=function(t){var i,n;this.oE.uiState.width=t.width,this.oE.uiState.height=t.height,this.oE.uiState.videoWidth=t.videoWidth,this.oE.uiState.videoHeight=t.videoHeight,null===(n=null===(i=this.lO)||void 0===i?void 0:i.controls)||void 0===n||n.onPlayerResize(t)},t.prototype.B3=function(){r.userAgent.mobile&&A.default.autoplaySupported&&this.eO.mute&&!this.oE.muteMode&&!this.oE.config.mute&&(this.mute=!1),this.fO.publish(f.CTRL_PLAYREQUEST,"ctp");var t={type:a.REQUEST_TYPES.CLICK,action:a.REQUEST_TYPES.CLICK};this.RV.startPlayback(t),this.lO.getContentNode().focus(),A.default.hasLoadRestriction&&this.oE.autoplay&&O.default&&(this.oE.waitingForUserTap=!1)},t.prototype.SO=function(t,i,n){var s=this.RS,e={srcElement:"next-vid-"+i},r=-1===i?f.CTRL_REPLAY:f.CTRL_ENDSCREEN_VID;-1===i&&(e.srcElement="es-rpl"),i>-2&&this.fO.publish(h.ExternalEvt.UI_INTERACT,e),this.fO.publish(r,{vid:t,vindex:i});var o={type:a.REQUEST_TYPES.CONTINUOUS,action:n?a.REQUEST_TYPES.AUTOPLAY:a.REQUEST_TYPES.CLICK},u=s.getItemPosition(t);this.setPlaylistPosition(u,!0,o)},t.prototype.wL=function(t){var i=this;if(this.E3.onError(t),!this.E3||!t.isRecoverable){t.category&&t.category===c.E_INFO?this.fO.publish(f.INTERNAL_INFO,t):this.fO.publish(f.INTERNAL_ERROR,t);try{throw new Error("Stack Trace")}catch(t){}this.oE.errors.push(t),this.F3((function(){var t=i.oE.firstCriticalError;t&&(i.E3.stopTimers(),i.RV.handleCriticalError(t),i.z3(t),i.disableCC(),i.lO&&i.lO.syncViewState())}))}},t.prototype._K=function(t,i){i&&this.wL(t)},t.prototype.z3=function(t){var i=c.PLAYER_CODES,n=function(){r.userAgent.desktop&&(t.category=c.E_PLAYER,t.subcategory=i.E_PLAYER_NOT_ENABLED)};switch(t.category){case c.E_SAPI_ABSTRACT:case c.E_SAPI_STREAM:case c.E_SAPI_PLAYLIST:case c.E_SAPI_RELATED:case c.E_SAPI_POPULAR:var s=c.INFO_CODES;switch(t.subcategory){case s.E_SAPI_UNSUPPORTED_LIVE_ON_HTML:r.userAgent.android?(t.category=c.E_INFO,t.subcategory=s.E_PLAYER_ANDROID_CHROME_REQUIRED):n();break;case c.SAPI_CODES.E_DRM_RESTRICTED:r.userAgent.desktop&&n()}break;case c.E_PLAYER:switch(t.subcategory){case i.E_NATIVE_ENCRYPT_MEDIA:n()}}},t.prototype.A3=function(){this.oE.isSeeking()||(this.oE.setSeeking(!0),this.lO.syncViewState())},t.prototype._3=function(){this.oE.isSeeking()&&(this.oE.isPaused()||this.RV.playCurrent(),this.oE.setSeeking(!1),this.lO.syncViewState())},t.prototype.T3=function(t){this.oE.castState&&this.oE.castState.connected||this.RV.seekCurrent(t)},t.prototype.yK=function(t){this.oE.bitrate=t},t.prototype.I3=function(t){this.fO.publish(f.WARNING,t)},t.prototype.uV=function(){this.oE.isLoading()||(this.oE.setLoading(!0),this.lO.syncViewState());var t=this.getCurrentMediaItem();t&&this.a3.recover(t)},t.prototype.H3=function(t){if(this.E3.recovering){var i=this.oE.getState();this.RV.getCurrentTime()>0&&(this.oE.startTime=this.RV.getCurrentTime()),this.E3.onRecoveryMetadataReady(),this.RV.handleSourceAvailable(t),this.E3.setItemRecoveryStatus(t,d.ItemRecoveryStatus.RECOVERED),i===w.default.VIDEO&&this.RV.playCurrent(this.oE.startTime)}else this.E3.setItemRecoveryStatus(t,d.ItemRecoveryStatus.NOT_RECOVERING)},t.prototype.j3=function(t){},t.prototype.l3=function(){this.E3&&(this.E3.destroy(),this.E3=null)},t.prototype.F3=function(t){var i=this,n=this.oE&&this.RS&&this.getCurrentMediaItem();switch(n&&n.is360Video()&&(this.oE.skipOnError=l.SkipOnError.TIMEBASED),this.oE.skipOnError){case l.SkipOnError.ALWAYS:this.q3(t);break;case l.SkipOnError.TIMEBASED:t(),window.setTimeout((function(){i.q3()}),1e4);break;case l.SkipOnError.NEVER:default:t()}},t.prototype.q3=function(t){var i=this.RS.getNextPosition(!0,this.oE.loop),n=this.RS.position,s=this.oE.autoplay||this.oE.continuousPlay&&this.eO.hasStartedPlayback;-1!==i&&i!==n?(this.setPlaylistPosition(i,s),this.lO&&this.lO.syncViewState()):-1===i&&this.G3(y.MoreItemsReason.PLAYLIST_COMPLETE_ON_ERROR)},t.prototype.G3=function(t){var i=this;this.a3.loadMoreItems(t,(function(t){var n=i.RS.getNextPosition(!0,i.oE.loop),s=i.oE.autoplay||i.oE.continuousPlay&&i.eO.hasStartedPlayback;t||-1===n?(i.oE.setState(w.default.END),i.eO.criticalError=i.oE.firstCriticalError,i.lO&&i.lO.syncViewState()):i.setPlaylistPosition(n,s)}))},t.prototype.M3=function(t){var i=this;t&&this.a3.loadMoreItems(y.MoreItemsReason.CONTENT_LOAD_FINISHED,(function(){var t,n=i.RS,s=n.getCurrentPosition(),e=n.getNextPosition(!0,i.oE.loop);-1!==e&&e!==s&&(t=n.getMediaItemAt(e))&&(t.mayUpdateVideoSession(),i.e3.setPreloadItem(t),i.e3.startPreload())}))},t.prototype.QN=function(){},t.prototype.N3=function(){this.E3.recover(4)},t.prototype.V3=function(t,i,n,s){return T.default.createErr(c.ErrorGroup.Streaming,this.eO,i?c.E_WARNING:c.E_PLAYER,t,n,s)},t.prototype.m3=function(t,i,n,s){return T.default.createErr(c.ErrorGroup.Configuration,this.eO,i?c.E_WARNING:c.E_PLAYER,t,n,s)},t.prototype.n3=function(){var t=this,i=this.sO;i.on(p.MediaStoreEvent.MEDIA_ITEM_ADDED,(function(i){t.fO.publish(f.MEDIA_ITEM_ADDED,i)}),this),i.on(p.MediaStoreEvent.MEDIA_ITEM_REMOVED,(function(i){t.fO.publish(f.MEDIA_ITEM_REMOVED,i)}),this)},t.prototype.Y3=function(t){return t?{id:t.id,duration:t.duration}:null},t.prototype.h3=function(){var t=this,i=this.RV;i.on(j.PlaybackEvent.PLAY_CAST,(function(){}),this),i.on(j.PlaybackEvent.PAUSE_CAST,(function(){}),this),i.on(j.PlaybackEvent.SEEK_CAST,(function(){}),this),i.on(j.PlaybackEvent.PLAYBACK_REQUEST,(function(){t.fO.publish(f.PLAYBACK_REQUEST)}),this),i.on(j.PlaybackEvent.PLAYBACK_ERROR_BEFORE_METADATA_READY,(function(){t.fO.publish(f.INFO,t.m3(c.PLAYER_CODES.E_NATIVE_PREMATURE_PLAY,!0,"Cannot play before metadata is available"))}),this),i.on(j.PlaybackEvent.PLAYLIST_NO_MORE_ITEM_TO_PLAY,(function(){t.l3()}),this),i.on(j.PlaybackEvent.PLAYLIST_COMPLETE,(function(){t.G3(y.MoreItemsReason.PLAYLIST_COMPLETE),t.fO.publish(h.ExternalEvt.PLAYLIST_COMPLETE)}),this),i.on(j.PlaybackEvent.PLAYBACK_LOADING,(function(i){t.lO.syncViewState(),t.oE.fullscreen&&t.lO.setFullscreen(!0)}),this),i.on(j.PlaybackEvent.PLAYBACK_PAUSING,(function(){t.lO.syncViewState()}),this),i.on(j.PlaybackEvent.AD_BREAK_STARTED,(function(i){t.lO.onAdBreakStarted(i),t.lO.syncViewState(),t.cF.onAdBreakStarted(),t.fO.publish(f.AD_BREAK_STARTED,i)}),this),i.on(j.PlaybackEvent.AD_BREAK_ENDED,(function(i){var n,s;t.lO.onAdBreakEnded(i),t.lO.syncViewState(),t.cF.onAdBreakEnded(),t.fO.publish(f.AD_BREAK_ENDED,i),null===(s=null===(n=i)||void 0===n?void 0:n.mediaItem)||void 0===s||s.updateCompletedAdBreak(i)}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_CURRENT,(function(i){t.lO.onAdBreakItemCurrent(i),t.fO.publish(f.AD_BREAK_ITEM_CURRENT,i)}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STARTED,(function(i){t.D3(),t.lO.syncViewState(),t.lO.onAdBreakItemStarted(i),t.v3.onAdPlaybackStarted(i);var n=i.adBreak;t.e3.setPreloadItem(n.mediaItem),t.e3.startPreload(),t.fO.publish(f.AD_BREAK_ITEM_PLAYBACK_STARTED,i)}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_SKIPPED,(function(i){t.fO.publish(f.AD_BREAK_ITEM_SKIPPED,i)}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_RESUMED,(function(i){t.fO.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_ENDED,(function(i){t.lO.onAdBreakItemEnded(i),t.fO.publish(f.AD_BREAK_ITEM_ENDED,i)}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_STOPPED,(function(t){}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_PLAYBACK_PROGRESS,(function(i){t.lO.onAdPlaybackProgress(i);var n=t.eO;t.w3(y.PluginPlayerEvent.AD_PLAYBACK_PROGRESS,{currentTime:n.currentTime,duration:n.duration}),t.v3.onAdPlaybackProgress(i)}),this),i.on(j.PlaybackEvent.AD_BREAK_ITEM_ERROR,(function(i){t.fO.publish(f.AD_BREAK_ITEM_ERROR,i)}),this),i.on(f.AD_SUBTITLE_TRACK_ADDED,(function(i){t.fO.publish(f.AD_SUBTITLE_TRACK_ADDED,i)}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_CURRENT,(function(i){t.lO&&t.lO.onMediaItemCurrent(i),t.v3&&t.v3.onMediaItemLoaded(i),t.cF&&t.cF.onMediaItemCurrent(i),t.fO.publish(f.MEDIA_ITEM_CURRENT,i)}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STARTED,(function(i){t.D3(),t.lO.onMediaItemPlaybackStarted(i),t.v3.onMediaItemPlaybackStarted(),t.w3(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_STARTED,t.Y3(i)),t.fO.publish(f.PLAYBACK_STARTED),t.a3.loadMoreItems(y.MoreItemsReason.PLAYBACK_STARTED)}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_PLAYBACK_RESUMED,(function(i){t.fO.publish(f.PLAYBACK_RESUMED,i?i.id:null)}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,(function(i){t.lO.syncViewState(),t.lO.onMediaItemPlaybackProgress(i),i&&i.currentTime&&t.w3(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_PROGRESS,i.currentTime,t.Y3(i.playingItem))}),this),i.on(j.PlaybackEvent.PLAYBACK_RESUME,(function(i){t.fO.publish(f.PLAYBACK_RESUMED,i?i.id:null),t.lO.syncViewState()}),this),i.on(j.PlaybackEvent.PLAYBACK_ERROR,(function(i){t.fO.publish(f.PLAYBACK_ERROR,i)}),this),i.on(j.PlaybackEvent.PLAYBACK_INFO,(function(i){t.fO.publish(f.INFO,i)}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_ERROR,(function(i,n){t.fO.publish(f.MEDIA_ITEM_ERROR,i),t.fO.publish(f.ERROR,n)}),this),i.on(j.PlaybackEvent.WAITING,(function(i){if(i){if(t.E3&&t.E3.toggleRecoverer(i),i.value&&!i.ignoreBuffering)t.fO.publish(f.PROFILE_START,f.METRICS.PLAYBACK_STALLED);else if(!i.ignoreBuffering){t.fO.publish(f.PROFILE_END,f.METRICS.PLAYBACK_STALLED);var n=t.BR.getItem(f.METRICS.PLAYBACK_STALLED);n&&t.fO.publish(f.PLAYBACK_STALLED,n.timeDiff?n.timeDiff/1e3:"")}var s=!0===i.value?h.ExternalEvt.BUFFERING_START:h.ExternalEvt.BUFFERING_END;t.fO.publish(s)}}),this),i.on(j.PlaybackEvent.END_FULLSCREEN,(function(){t.lO.setFullscreen(!1)}),this),i.on(j.PlaybackEvent.PLAYBACK_ERROR_NO_VALID_STREAM,(function(){t.fO.publish(f.ERROR,T.default.createErr(c.ErrorGroup.Service,t.eO,c.E_SAPI_STREAM,c.SAPI_CODES.E_NO_PLAYABLE_STREAMS))}),this),i.on(j.PlaybackEvent.PLAYBACK_ERROR_NO_RENDERER,(function(i){t.fO.publish(f.ERROR,i)}),this),i.on(j.PlaybackEvent.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,(function(i){t.fO.publish(f.INFO,i)}),this),i.on(j.PlaybackEvent.PLAYBACK_SYNC_VIEW,(function(){t.lO&&t.lO.syncViewState()}),this),i.on(j.PlaybackEvent.MUTE_CHANGED,(function(i){t.oE.mute=i,t.lO.updateVolumeUI(t.oE.volume,t.oE.mute)}),this),i.on(j.PlaybackEvent.VOLUME_CHANGED,(function(i){t.oE.volume=i,t.lO.updateVolumeUI(t.oE.volume,t.oE.mute),t.fO.publish(f.VideoEvent.VOLUMECHANGE)}),this),i.on(j.PlaybackEvent.PLAYBACK_START_BLOCKED,(function(){t.eO.paused=!0,t.eO.loading=!1,t.lO.syncViewState(),t.fO.publish(f.VideoEvent.BLOCKED),t.fO.publish(f.VideoEvent.PAUSE),t.E3.onPlaybackStartBlocked()}),this),i.on(j.PlaybackEvent.PLAYBACK_START_NOT_BLOCKED,(function(){t.E3.onPlaybackStartNotBlocked()}),this),i.on(j.PlaybackEvent.RENDERER_SWITCH,(function(i,n){r.userAgent.mobile&&t.lO.getFullscreen()&&i!==n&&n&&n.exitFullScreen&&n.exitFullScreen(),t.lO.onRendererSwitch(i,n)}),this),i.on(j.PlaybackEvent.RENDERER_TIMEOUT,(function(){t.lO.syncViewState()}),this),i.on(j.PlaybackEvent.RENDERER_CREATED,(function(i){t.lO.addRendererNode(i.create())}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_PLAYBACK_STOPPED,(function(i){t.E3&&t.E3.stopTimers(),t.lO.syncViewState(),t.oE.continuousPlay||t.lO.setFullscreen(!1),t.fO.publish(f.PLAYBACK_STOPPED,i)}),this),i.on(j.PlaybackEvent.PLAYLIST_POSITION_HAS_CHANGED,(function(i){i&&(t.lO.resetState(),t.fO.publish(h.ExternalEvt.PLAYLIST_POSITION_CHANGE,t.RS.position))}),this),i.on(j.PlaybackEvent.PLAYBACK_ERROR_INCONSISTENT_METADATA,(function(){t.fO.publish(f.WARNING,t.V3(c.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE,!0),!0)}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_IS_LOADED,(function(i){t.o3(),t.lO.onMediaItemLoaded(i),t.v3&&t.v3.onMediaItemLoaded(i);var n=i.customConfig,s=t.ZE.nielsenConfig;(n&&n.nielsenRequired||s&&s.enableNielsen)&&t.fO.publish(h.ExternalEvt.NIELSEN_REQUIRED),t.fO.publish(f.MEDIA_ITEM_METADATA,i)}),this),i.on(j.PlaybackEvent.SEEKING,(function(){var i=f.VideoEvent.SEEKING;t.lO.onVideoEvent(i),t.fO.publish(i)}),this),i.on(j.PlaybackEvent.SEEKED,(function(){t.lO.onVideoEvent(f.VideoEvent.SEEKED),t.fO.publish(h.ExternalEvt.PLAYBACK_SEEK_COMPLETE)}),this),i.on(j.PlaybackEvent.MEDIA_ITEM_PLAYBACK_ENDED,(function(i,n){t.lO.destroyAdsOverlay(),t.v3.onMediaItemPlaybackEnded(),t.fO.publish(f.PLAYBACK_COMPLETE,i),t.fO.publish(f.MEDIA_ITEM_COMPLETE,i),t.w3(y.PluginPlayerEvent.MEDIA_ITEM_PLAYBACK_ENDED,t.Y3(i))}),this),i.on(j.PlaybackEvent.STALLED,(function(){t.fO.publish(f.VideoEvent.STALLED)}),this),i.on(j.PlaybackEvent.LOADSTART,(function(){t.fO.publish(f.VideoEvent.LOADSTART)}),this),i.on(j.PlaybackEvent.LOADEDDATA,(function(){t.fO.publish(f.VideoEvent.LOADEDDATA)}),this),i.on(j.PlaybackEvent.LOADEDMETADATA,(function(){t.fO.publish(f.VideoEvent.LOADEDMETADATA)}),this),i.on(j.PlaybackEvent.PLAY,(function(){t.fO.publish(f.VideoEvent.PLAY)}),this),i.on(j.PlaybackEvent.PLAYING,(function(i){var n=f.VideoEvent.PLAYING;t.lO.onVideoEvent(n,i),t.fO.publish(n)}),this),i.on(j.PlaybackEvent.PAUSE,(function(){var i=f.VideoEvent.PAUSE;t.lO.onVideoEvent(i),t.fO.publish(i)}),this),i.on(j.PlaybackEvent.SRC_SWITCHING,(function(){t.fO.publish(f.VideoEvent.SRC_SWITCHING)}),this),i.on(j.PlaybackEvent.SRC_SWITCHED,(function(){t.fO.publish(f.VideoEvent.SRC_SWITCHED)}),this),i.on(j.PlaybackEvent.TIMEUPDATE,(function(i){t.fO.publish(f.VideoEvent.TIMEUPDATE,i&&i.currentTime)}),this),i.on(j.PlaybackEvent.CLICK,(function(){var i;t.fO.publish(h.ExternalEvt.UI_INTERACT,{srcElement:"video-click"}),r.userAgent.desktop&&(null===(i=t.lO)||void 0===i?void 0:i.controls)&&t.O3()}),this),i.on(j.PlaybackEvent.PLAYBACK_PROGRESS,(function(i){var n=i.currentItem,s=i.currentTime,e=i.duration,r=i.buffered,h=t.lO.getPlayerDimensions();T.default.areDimensionsEqual(h,t.oE.uiState)||t.fO.publish(f.PLAYER_DIMENSION_CHANGE,h),t.fO.publish(f.PLAYBACK_PROGRESS,n.id,s,e,r)}),this),i.on(j.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_METADATA,(function(i){t.a3.loadItem(i)}),this),i.on(j.PlaybackEvent.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,(function(i){t.a3.loadSource(i),t.fO.publish(f.MEDIA_ITEM_NEED_SOURCE,i)}),this),i.on(j.PlaybackEvent.AD_BREAK_NEED_RESOLVE,(function(t,i){}),this),i.on(j.PlaybackEvent.AD_METRICS,(function(i){t.fO.publish(f.AD_METRICS,i)}),this),i.on(j.PlaybackEvent.CREATE_OVERLAY_CONTAINER,(function(i){i(t.lO.createAdsOverlay())}),this),i.on(j.PlaybackEvent.PLAY_CALLED_AFTER_PREROLL,(function(){t.fO.publish(h.ExternalEvt.PLAY_CALLED_AFTER_PREROLL)}),this),i.on(j.PlaybackEvent.PLAY_CALLED_ON_RENDERER,(function(i){t.fO.publish(h.ExternalEvt.PLAY_CALLED_ON_RENDERER,i)}),this),this.W3(i)},t.prototype.b3=function(){var t=this,i=this.lO;i.on(S.ViewEvent.SKIP_AD_REQUESTED,(function(){var i=t.getPlayingItem();i&&T.default.getPlaybackMode(i)===g.PlaybackMode.AD&&t.RV.skipAd()}),this),i.on(S.ViewEvent.SYNC_PLAYBACK_STATE,(function(){t.RV.syncPlaybackState()}),this),i.on(S.ViewEvent.SYNC_SHOW_AIRPLAY_TARGET_MENU,(function(){t.RV.showAirplayTargetMenu()}),this),i.on(S.ViewEvent.SEEK,(function(i){t.RV.seekCurrent(i)}),this),i.on(S.ViewEvent.SET_VOLUME,(function(i){t.volume=i}),this),i.on(S.ViewEvent.SET_MUTE,(function(i){t.mute=i}),this),i.on(S.ViewEvent.TOGGLE_CC,(function(i,n){t.fO.publish(f.CCEvent.UI_TOGGLE,i,n),t.v3.toggleFromUI(i,n)}),this),i.on(S.ViewEvent.SET_AUDIO_LANGUAGE,(function(i,n){t.fO.publish(f.CONTROLS_AUDIO_CHANGE,i,n);var s=t.getCurrentMediaItem();s&&s.setCurrLanguage(i),t.RV.setAudioLanguage(i)}),this),i.on(S.ViewEvent.UI_INTERACT,(function(i){t.fO.publish(h.ExternalEvt.UI_INTERACT,i)}),this),i.on(S.ViewEvent.SCROLLED_TO_END,(function(){t.a3.loadMoreItems(y.MoreItemsReason.SCROLLED_TO_END)}),this),i.on(S.ViewEvent.PLAYLIST_BOTTOM_HEIGHT_CHANGE,(function(i){t.fO.publish(f.PLAYLIST_BOTTOM_HEIGHT_CHANGE,i)}),this),i.on(S.ViewEvent.TOGGLE_PLAY_PAUSE,(function(){t.O3()}),this),i.on(S.ViewEvent.START_SCREEN_CLICK,(function(){t.B3()}),this),i.on(S.ViewEvent.AD_CLICKED,(function(){t.fO.publish(f.AD_BREAK_ITEM_CLICKED)}),this),i.on(S.ViewEvent.CC_LANGUAGE_CHANGE,(function(i){t.v3.onLanguageChange(i)}),this),i.on(S.ViewEvent.CC_STYLE_CHANGE,(function(i){t.v3.updateCCStyle(),i&&t.fO.publish(f.CCEvent.UPDATE_STYLE,i)}),this),i.on(S.ViewEvent.OPSS_VISIBILITY_CHANGED,(function(i,n){t.fO.publish(f.OPSS_VISIBILITY_CHANGED,i,n)}),this),i.on(S.ViewEvent.FORWARD_SEEK,(function(){var i=t.RV.getCurrentTime(),n=Math.min(i+t.oE.seekControls.offset,t.duration-1);t.RV.seekCurrent(n)}),this),i.on(S.ViewEvent.BACKWARD_SEEK,(function(){var i=t.RV.getCurrentTime()-t.oE.seekControls.offset;t.RV.seekCurrent(i)}),this),i.on(S.ViewEvent.CUSTOM_ELEMENT,(function(i,n){var s={action:i,label:n};t.fO.publish(h.ExternalEvt.CTRL_CUSTOM_ELEMENT,JSON.stringify(s))}),this)},t.prototype.R3=function(){var t=this,i=this.E3;i.on(f.ERROR,(function(i){t.fO.publish(f.ERROR,i)}),this),i.on(f.WARNING,(function(i){t.fO.publish(f.WARNING,i)}),this),i.on(N.RecovererEvent.RECOVERY_START,this.uV,this),i.on(N.RecovererEvent.RECOVERY_METADATA_READY,(function(){t.fO.publish(f.RECOVERY_METADATA_READY)}),this)},t.prototype.y3=function(){var t=this,i=this.v3;i.on(o.CCControllerEvent.CC_AVAILABILITY_UPDATE,(function(i){t.lO.updateClosedCaptionUI(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED,(function(i){var n,s;null===(s=null===(n=t.lO)||void 0===n?void 0:n.controls)||void 0===s||s.updateAvailableLanguages(i)}),this),i.on(o.CCControllerEvent.CC_LIST_FETCHED_MOBILE,(function(i){t.RV.enableMobileNativeCC(i)}),this),i.on(o.CCControllerEvent.TOGGLE_SIMPLE_CC_CONTROLS,(function(t){}),this)},t.prototype.f3=function(){var t=this,i=this.a3;i.on(f.ERROR,(function(i){t.fO.publish(f.ERROR,i)}),this),i.on(f.WARNING,(function(i){t.fO.publish(f.WARNING,i)}),this),i.on(I.MetadataEvent.METADATA_AVAILABLE,(function(i){t.getCurrentMediaItem().equals(i)&&t.lO&&t.lO.syncViewState(),t.fO.publish(f.METADATA_AVAILABLE,i.id),t.g3||(t.g3=!0,t.fO.publish(h.ExternalEvt.PLAYER_READY)),t.cF&&t.cF.onMediaItemLoaded()}),this),i.on(I.MetadataEvent.SOURCE_AVAILABLE,(function(i){t.a3.loadMoreItems(y.MoreItemsReason.SOURCE_LOAD_COMPLETE),t.Z3(i)}),this),i.on(I.MetadataEvent.SOURCE_LOAD_FAILED,(function(i,n){var s=t.getCurrentMediaItem();s&&s.key===v.default.createKey(i.id,i.mimetype)&&(t.Q3(s)&&(t.E3.setItemRecoveryStatus(s,d.ItemRecoveryStatus.NOT_RECOVERING),t.E3.onMetadataLoadFailed()),t.fO.publish(f.ERROR,n))}),this),i.on(I.MetadataEvent.API_INFO_AVAILABLE,(function(i){t.fO.publish(f.API_CALLED,i)}),this),this.W3(this.a3)},t.prototype.W3=function(t){var i=this;[f.PROFILE_START,f.PROFILE_END].forEach((function(n){t.addEventListener(n,(function(t){i.fO.publish(n,t)}),i)}))},t.prototype.r3=function(){var t=this,i=this.e3;i.on(M.PreloadEvent.START_PRELOAD,(function(i){t.a3.loadSource(i)}),this),i.on(M.PreloadEvent.PLAYER_IDLE,(function(){}),this)},t.prototype.Z3=function(t){this.X3(t),this.Q3(t)?this.H3(t):this.RV.handleSourceAvailable(t)},t.prototype.Q3=function(t){var i=this.getCurrentMediaItem();return t.isRecovering()&&i&&i.equals(t)},t.prototype.X3=function(t){!(!(t&&t.customConfig&&t.customConfig.meta)||t.customConfig.meta.castable)&&r.userAgent.android&&"dash"===t.streams[0].getType()&&this.fO.publish(f.INFO,T.default.createErr(c.ErrorGroup.Configuration,this.eO,c.E_INFO,c.INFO_CODES.E_DRM_UNSUPPORTED_OS,null,"not castable stream on android"))},Object.defineProperty(t.prototype,"eO",{get:function(){return this.oE.playbackState},enumerable:!0,configurable:!0}),t}();i.default=F},mvD1:function(t,i,n){"use strict";t.exports.WorkerDefs={HlsTransformer:n("szY1"),Controller:n("dbEI")},t.exports.MessageTypes={EVENT:"event",MESSAGE:"message"},t.exports.MessageIds={CREATE:"create",DESTROY:"destroy",CALL_METHOD:"callMethod",EVENT:"eventPublish",CREATE_SRC_BUFFER:"createSrcBuffer",APPEND_SRC_BUFFER:"appendSrcBuffer",TIMED_METADATA:"timedMetadata",CLEAR_SRC_BUFFER:"clearSrcBuffer",END_OF_STREAM:"endOfStream",SAVE_AVG_BANDWIDTH:"saveAvgBandwidth",PLAY_AFTER_STREAM_CHANGE:"playAfterStreamChange",PAUSE_BEFORE_STREAM_CHANGE:"pauseBeforeStreamChange",DRM_INIT:"drmInit",DRM_LICENSE_INFO:"drmLicenseInfo",SKIP_GAP:"skipGap"}},n3YQ:function(t,i,n){"use strict";n.r(i);var s=n("JPst"),e=n.n(s)()(!1);e.push([t.i,".yvp-playlist-icon-wrapper{position:absolute;left:0;height:100%;width:24px;background:rgba(0,0,0,.7)}.yvp-playlist-icon-wrapper .yvp-playlist-icon.item{position:absolute;top:50%;margin-top:-7px;left:5px}.yvp-playlist-icon{display:inline-block;vertical-align:top;width:14px;height:14px}.yvp-playlist-icon.item{opacity:1;margin-right:5px}.yvp-playlist-item-watched{display:none;width:126px;top:0;position:absolute;height:70px;text-align:center;vertical-align:center;background:rgba(18,23,23,.75)}.yvp-playlist-item-watched.yvp-show{display:block}.yvp-playlist-item-watched.yvp-hide{display:none}.yvp-watched{font-size:11px;overflow:hidden;color:#9ea2af;font-style:italic;font-family:Helvetica Neue,Helvetica,helvetica,arial,sans-serif;line-height:16px;white-space:normal;text-overflow:ellipsis;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}",""]),i.default=e},"nD/R":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.metricsSchema=void 0,i.metricsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/metricsSchema",type:"object",properties:{disableAllBeacons:{type:"boolean"},comscoreC4:{type:"string"},ccode:{type:"string"},sec:{type:"string"},skipComscore:{type:"boolean"},skipABRBeacon:{type:"boolean"},ywaSamplingRate:{default:1,type:"number"},ultSamplingRate:{default:1,type:"number"},qosSamplingRate:{default:1,type:"number"},cpos:{type:"string"},progressBeaconStrategy:{type:"object",properties:{fixed:{type:"array",items:[{type:"number"}]},recurring:{type:"number"},playerUnload:{type:"boolean"},playPause:{type:"boolean"}}}}}},ndEW:function(t,i,n){"use strict";t.exports=o;var s=n("McK0"),e=n("juTp"),r=n("D8uh"),h=n("bpRV");function o(t){r.call(this,this.constructor.name),this.ZE=t,this.J3=this.__controller.create(s,t,this.KM.bind(this))}e.inherits(o,r),o.prototype.destroy=function(){this.J3.destroy(),r.prototype.destroy.call(this)},o.prototype.setSource=function(t){this.nN=t,this.sN()},o.prototype.sN=function(){var t=this;t.nN&&(t.nN.addEventListener(h.DATA_PROCESS_PROGRESS,(function(i){t.append(i)}),t),t.nN.addEventListener(h.DATA_PROCESS_COMPLETE,(function(){t.endOfSegment()}),t),t.nN.addEventListener(h.DATA_PROCESS_ERROR,(function(i){t.publish(h.DATA_PROCESS_ERROR,i)}),t))},o.prototype.close=function(){this.J3.close()},o.prototype.append=function(t){this.J3.append(t)},o.prototype.endOfSegment=function(){this.J3.endOfSegment()},o.prototype.KM=function(t){var i;t&&(this.publish(h.DATA_PROCESS_PROGRESS,t),t.getParam&&(i=t.getParam("parsedInfo")),"end"===(i?i.position:t.position)&&this.publish(h.DATA_PROCESS_COMPLETE,t))}},nrHX:function(t,i,n){"use strict";function s(){this.PIXEL_THRESHOLD_FACTOR=.5}function e(){this.BANDWIDTH_FACTOR_LOW=1.3,this.BANDWIDTH_FACTOR_HIGH=1.6,this.MIN_BW_FOR_LOW_FACTOR=25e5,this.MIN_BUFFER_TO_SWITCH_DOWN=10}function r(){this.BANDWIDTH_FACTOR_LOW=1.3,this.BANDWIDTH_FACTOR_HIGH=1.6,this.MIN_BW_FOR_LOW_FACTOR=25e5,this.MIN_BUFFER_TO_SWITCH_UP=6,this.MIN_LENGTH_DATA=2,this.ALLOWED_LOAD_TIME=500}function h(){this.MAX_WIDTH_240P=427,this.MAX_HEIGHT_240P=240,this.MAX_BITRATE_240P=9e5,this.MAX_BITRATE_LIMIT=1e7,this.PIXEL_RATIO_360=6}t.exports.StartupRule=s,t.exports.BandwidthRule=e,t.exports.BufferRule=r,t.exports.ResolutionRule=h,i.validateAbrInput=function(t){return!(!t||"object"!=typeof t||!t.bitrateList||!t.bitrateList.length||"number"!=typeof t.estimatedBandwidthInBps||isNaN(t.estimatedBandwidthInBps)||void 0===t.currentIndex||null===t.currentIndex||isNaN(t.currentIndex)||void 0===t.bufferLength||isNaN(t.bufferLength)||void 0===t.displayWidth||isNaN(t.displayWidth)||t.displayWidth<=0||void 0===t.displayHeight||isNaN(t.displayHeight)||t.displayHeight<=0||void 0===t.streams||t.streams.length<=0)},s.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;for(var n,s=t.displayWidth*t.displayHeight*this.PIXEL_THRESHOLD_FACTOR,e=t.streams.length-1;e>=0;e--){var r=t.streams[e].width*t.streams[e].height;if(!n&&r<s&&(n=r),n&&r<n)return e+1}return 0},e.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;for(var n=0,s=t.estimatedBandwidthInBps||t.bwHistory,e=this.K3(s),r=0;r<t.bitrateList.length&&!(s<e*t.bitrateList[r]);r++)n=r;return n<t.currentIndex&&t.bufferLength>this.MIN_BUFFER_TO_SWITCH_DOWN&&(n=t.currentIndex),n},e.prototype.K3=function(t){return t>=this.MIN_BW_FOR_LOW_FACTOR?this.BANDWIDTH_FACTOR_LOW:this.BANDWIDTH_FACTOR_HIGH},r.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;var n=t.segmentLength?Math.min(t.segmentLength,this.MIN_BUFFER_TO_SWITCH_UP):this.MIN_BUFFER_TO_SWITCH_UP;return 0===t.bufferLength?this.t4(t):t.bufferLength<n?t.currentIndex:t.bitrateList.length-1},r.prototype.t4=function(t){for(var i=0,n=t.estimatedBandwidthInBps||t.bwHistory,s=this.K3(n),e=this.ALLOWED_LOAD_TIME/1e3,r=0;r<t.bitrateList.length&&!(s*t.bitrateList[r]*this.MIN_LENGTH_DATA/n>e);r++)i=r;return i},r.prototype.K3=function(t){return t>=this.MIN_BW_FOR_LOW_FACTOR?this.BANDWIDTH_FACTOR_LOW:this.BANDWIDTH_FACTOR_HIGH},h.prototype.getNextStreamIndex=function(t){if(!i.validateAbrInput(t))return-1;var n=t.pixelRatio||this.getPixelRatio(t),s=t.displayWidth,e=t.displayHeight;!isNaN(n)&&n>1&&(s*=n,e*=n);for(var r=0,h=0;h<t.streams.length&&!(t.streams[h].width>s||t.streams[h].height>e);h++)r=h;var o=t.streams[r].width,u=t.streams[r].height,a=s<=this.MAX_WIDTH_240P||e<=this.MAX_HEIGHT_240P?this.MAX_BITRATE_240P:this.MAX_BITRATE_LIMIT;if((r=this.i4(t,o,u,a))<t.streams.length-1&&t.bitrateList[r+1]<a){var c=t.streams[r+1].width,f=t.streams[r+1].height,l=t.streams[r].height;Math.abs(f-e)<=Math.abs(l-e)&&(r=this.i4(t,c,f,a))}return r},h.prototype.i4=function(t,i,n,s){var e=0;return t.streams.forEach((function(r,h){var o=t.bitrateList[h];r&&r.width===i&&r.height===n&&o<=s&&h>e&&o>t.bitrateList[e]&&(e=h)})),e},h.prototype.getPixelRatio=function(t){var i=1;try{window&&(i=window.devicePixelRatio)}catch(t){i=1}return i||(i=1),t.is360&&(i*=this.PIXEL_RATIO_360),i}},nwj7:function(t,i,n){"use strict";var s=n("YqpE");i.apply=function(){e()};var e=function(){function t(t,i){i=i||{bubbles:!1,cancelable:!1,detail:void 0};var n=window.document.createEvent("CustomEvent");return n.initCustomEvent(t,i.bubbles,i.cancelable,i.detail),n}!s.ie&&window.CustomEvent||(t.prototype=window.Event.prototype,window.CustomEvent=t)}},otCu:function(t){t.exports=JSON.parse('{"EMBED":"Embed","NOW_PLAYING":"Now Playing","WATCHED":"watched","LIVE":"Live","PLAY_VIDEO":"Play Video","BACK":"Back","SETTINGS":"Settings","VIDEO_QUALITY":"Video Quality","QUALITY":"QUALITY","AUTO":"Auto","LOW":"Good","MEDIUM":"Better","HIGH":"Best","EMBED_NOT_ALLOWED":"This video cannot be embedded due to provider license restrictions.","TOP":"Top","BOTTOM":"Bottom","ON":"On","OFF":"Off","CC_PREVIEW":"Bottom","CC_PREVIEW_MESSAGE":"Captions will look like this","BACKGROUND":"background","EFFECTS":"Effects","RAISED":"Raised","CC":"Closed Captions","LANGUAGE":"Language","POSITION":"Position","ERR_ANDROID_LIVE_CHROME_REQUIRED":"This video requires Android 4.0 or above and the latest version of the Google Chrome browser.<br> You can get the latest version of Chrome from the <a href=\'https://play.google.com/store/apps/details?id=com.android.chrome\'>Google Play store</a>.","ERR_LIVE_PLAYBACK_COMPLETE":"This live event has ended.","ERR_NETWORK_ISSUE":"Videos cannot play due to a network issue. Please check your Internet connection and try again.","ERR_DEVICE":"Due to license restrictions; this video cannot be viewed on this device.","ERR_EMBED":"Due to license restrictions; this video can only be viewed on Yahoo.","ERR_GEO":"Unfortunately, this video is not available in your region.","ERR_BLACKOUT":"Due to local blackout restrictions, this live event cannot be viewed in your area.","ERR_TECH_DIFFICULTIES":"If this error is occurring repeatedly, we may be experiencing technical difficulties. We apologize for the inconvenience. <a class=\'vp-browser-refresh\' href=\'javascript:window.location.reload();\'>Refresh Browser</a>","ERR_UNAVAILABLE":"Unfortunately, this video is no longer available.","ERR_MISSING_OR_DAMAGED":"Unfortunately, this video is missing or damaged and cannot be played.","ERR_BROWSER_UNSUPPORTED":"This browser is unsupported. To view this video, try another browser.","ERR_BROWSER_UNSUPPORTED_SKIP_IN_10":"This browser is unsupported. To view this video, try another browser. In few seconds, we will go to the next video.","ERR_GENERAL_ERROR":"Unfortunately, an error occurred. To try again, <a href=\'javascript:window.location.reload();\'>refresh the browser</a>.","ERR_LIVE_IOS_PLAYBACK":"Unfortunately, an error occurred. To try again, either <a href=\'javascript:window.location.reload();\'>refresh</a> the browser or download the <a class=\'vp-browser-refresh\' href=\'https://mobile.yahoo.com/sports\'>Yahoo Sports app</a>","ERR_DRM_ANDROID_UNSUPPORTED_BROWSER":"This video requires DRM, which is not supported by this web browser. To view this video, use the <a href=\'https://play.google.com/store/apps/details?id=com.android.chrome\'>Google Chrome web browser</a> instead.","ERR_DRM_IOS_UNSUPPORTED_BROWSER":"This video requires DRM, which is not supported by this web browser. To view this video, use the Apple Safari web browser instead.","ERR_DRM_IOS_UNSUPPORTED_OS_VER":"This video requires DRM, which is not supported by the older version of iOS on your device. To view this video, update your device to the latest version of iOS.","ERR_DRM_UNSUPPORTED_NETWORK_WIFI":"Due to license restrictions, this video cannot be played over WiFi on your device. To view this video, turn off WiFi and use your cellular data connection instead.","ERR_TITLE_CANNOT_PLAY_360_VIDEO":"Cannot Play 360 Video","ERR_TITLE_SOMETHING_WENT_WRONG":"Something Went Wrong","ERR_TITLE_VIDEO_NOT_AVAILABLE":"Video Not Available","CHROMECAST":"Chromecast","DISCONNECT":"Disconnect","CAST_PLAYING_RECEIVER":"Playing on {device-name}","AIRPLAY":"Airplay","PAUSE_VIDEO":"Pause Video","GO_TO_FULLSCREEN":"Go to full screen","GO_TO_NORMAL_SCREEN":"Go to normal screen","UNMUTE":"Unmute","MUTE":"Mute","SEEK_SLIDER":"Seek slider","UP_NEXT":"Up next","FULLSCREEN_SPACE":"Full Screen","PRESETS":"Presets","CC_SETTINGS":"Closed Caption Settings","ADV_SHORT":"Ad: {remaining}s","ADV_LONG":"Ad: video resumes in {remaining}s","ADV_MULT_SHORT":"Ad {position}/{total}: {remaining}s","ADV_MULT_LONG":"Ad {position}/{total}: video resumes in {remaining}s","TEXT":"Text","STYLE_OPTIONS":"Style Options","PLAIN":"Plain","SHADOW":"Shadow","LOWERED":"Lowered","OUTLINE":"Outline","CAPTIONS_ON":"Captions On","CAPTIONS_OFF":"Captions Off","CAPTIONS_AVAILABLE":"Captions Available","MULTI_AUDIO":"Select Audio Language","AUDIO_TRACK":"Audio Track","CAPTIONS_NOT_AVAILABLE":"Captions Not Available","EXIT_FULLSCREEN":"Exit Full Screen","MORE_MARKERS":"+{count_markers} more","DROPSHADOW":"Dropshadow","DEPRESSED":"Depressed","UNIFORM":"Uniform","SIZE_EXTRA_SMALL":"Extra Small","SIZE_EXTRA_LARGE":"Extra Large","SIZE_SMALL":"Small","SIZE_MEDIUM":"Medium","SIZE_LARGE":"Large","WHITE":"White","GRAY":"Gray","LIGHT_GRAY":"Light Gray","DARK_GRAY":"Dark Gray","BLACK":"Black","RED":"Red","GREEN":"Green","BLUE":"Blue","CYAN":"Cyan","YELLOW":"Yellow","MAGENTA":"Magenta","TRANSPARENT":"Transparent","FONT_SIZE":"Font Size","FONT_FAMILY":"Font Family","FONT_COLOR":"Font Color","BACKGROUND_COLOR":"Background Color","BACKGROUND_TRANSPARENCY":"Background Transparency","CAPTION_LANGUAGES":"Caption Languages","MORE_CAPTION_SETTINGS":"More Captions Settings"}')},"p/Bv":function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=n("zW5x"),r=function(){function i(t){this.name="SapiSourcePlugin",this.version="8.2.125",this.mimetype=s.MediaItemInterfaces.MediaItemMimeType.SAPI,this.type=s.Plugin.PluginType.SOURCE_METADATA,this.KU=!1,this._=2,this.ZE={},this.n4=!0,this.FS=new e.default(t)}return i.prototype.prepare=function(t){void 0===t&&(t={}),this.ZE=t},i.prototype.resolve=function(i,n,s){var e;this.FS.parseMediaItemsResponse(i),!(Array.isArray(i)&&i.every(this.s4))||this.KU||this.n4?(e=this.KU?0:this._,this.FS.resolve(i,this.ZE,n,s,e)):i.length>0&&t((function(){s.onComplete(i)})),this.KU=!1},i.prototype.recover=function(t,i,n){t&&(this.KU=!0,this.resolve([t],i,n))},i.prototype.cancel=function(){this.FS.cancel()},i.prototype.destroy=function(){this.cancel()},i.prototype.s4=function(t){return!!(t&&t.source&&t.source.streams&&t.source.streams[0]&&t.source.streams[0].url)},i}();i.default=r}).call(this,n("URgk").setImmediate)},pBvk:function(t,i,n){"use strict";var s=t.exports.Validator=n("KUzV");t.exports.ValidatorResult=n("H0QZ").ValidatorResult,t.exports.ValidatorResultError=n("H0QZ").ValidatorResultError,t.exports.ValidationError=n("H0QZ").ValidationError,t.exports.SchemaError=n("H0QZ").SchemaError,t.exports.SchemaScanResult=n("DTfC").SchemaScanResult,t.exports.scan=n("DTfC").scan,t.exports.validate=function(t,i,n){return(new s).validate(t,i,n)}},pUuq:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.THREE_SIXTY="360"}(i.VIDEO_TYPE||(i.VIDEO_TYPE={})),function(t){t.VOD="vod",t.LIVE_EVENT="liveEvent",t.LIVE_CHANNEL="liveChannel",t.CONTAINER="container"}(i.MediaItemType||(i.MediaItemType={})),function(t){t.NO_DATA="no-data",t.FETCHING="fetching",t.HAS_DATA="has-data",t.ERROR="error"}(i.ItemState||(i.ItemState={})),function(t){t.NO_DATA="noSourceData",t.FETCHING="fetchingSource",t.HAS_DATA="hasSourceData",t.ERROR="sourceError"}(i.SourceState||(i.SourceState={})),function(t){t.NOT_RECOVERING="notRecovering",t.RECOVERING="recovering",t.RECOVERED="recovered"}(i.ItemRecoveryStatus||(i.ItemRecoveryStatus={})),function(t){t.UPLYNK="media/uplynk",t.SAPI="media/sapi",t.CONTAINER="media/container"}(i.MediaItemMimeType||(i.MediaItemMimeType={}))},pbqO:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("Na72"),e=n("yf6s"),r=function(){function t(){this.mute=!1,this.volume=.5,this.ad=null,this.state=s.States.INIT,this.paused=!1,this.seeking=!1,this.loading=!0,this.criticalError=null,this.previousItem=null,this.looped=!1,this.loadedItem=null,this.loadedAdBreakItem=null,this.rendererType=null,this.hasStartedPlayback=!1,this.hasCurrentItemPlayed=!1,this.hasRendererPlayCalled=!1,this.e4=null,this.shouldPlay=!0}return Object.defineProperty(t.prototype,"playingItem",{get:function(){return this.r4},set:function(t){this.r4=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.SW},set:function(t){this.SW=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentRawTime",{get:function(){return this.h4},set:function(t){this.h4=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"duration",{get:function(){return this.kT},set:function(t){this.kT=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"playbackMode",{get:function(){return e.default.getPlaybackMode(this.r4)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentMediaType",{get:function(){return this.e4},set:function(t){this.e4=t},enumerable:!0,configurable:!0}),t.prototype.attemptingPlayback=function(){return this.isVideoPlaying()||this.state===s.States.WAITING},t.prototype.isVideoPlaying=function(){return this.videoSet()&&!this.paused},t.prototype.videoSet=function(){return this.state===s.States.VIDEO},t.prototype.isOnCriticalError=function(){return!(this.state!==s.States.END||!this.criticalError)},t.prototype.isInitializing=function(){return this.state===s.States.INIT||this.state===s.States.WAITING},t.prototype.videoLoading=function(){return this.videoSet()&&this.loading},t.prototype.isAdPlaying=function(){return!(!this.videoSet()||!this.ad)},t}();i.default=r},peh1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("pUuq");!function(t){t.MEDIA_ITEM="media-item",t.AD_BREAK_ITEM="ad-break-item"}(i.PlayableItemType||(i.PlayableItemType={}));var e=function(){function t(){this.state=s.ItemState.NO_DATA,this.sourceState=s.SourceState.NO_DATA}return t.prototype.setState=function(t){this.state=t},t.prototype.setSourceState=function(t){this.sourceState=t},t.prototype.hasError=function(){return this.state===s.ItemState.ERROR},t.prototype.hasMetadata=function(){return this.state===s.ItemState.HAS_DATA},t.prototype.hasNoMetadata=function(){return this.state===s.ItemState.NO_DATA},t.prototype.hasExpiredMetadata=function(){return!1},t.prototype.isConsistentMetadata=function(){return!0},t.prototype.hasStreams=function(){return!1},t.prototype.hasSource=function(){return this.sourceState===s.SourceState.HAS_DATA},t.prototype.equals=function(t){return t&&t.id===this.id},t.prototype.getPlayableItemType=function(){return null},t.prototype.setDuration=function(t){},t.prototype.getDuration=function(){return NaN},t.prototype.isRecovering=function(){return!1},t.prototype.getStreamType=function(){return null},t.prototype.isReadyToPlay=function(){return this.hasMetadata()&&this.hasSource()&&this.hasStreams()&&!this.hasError()},t.prototype.isLive=function(){return!1},t.prototype.is360Video=function(){return!1},t}();i.PlayableItem=e},pk6O:function(t,i,n){"use strict";t.exports=r;var s=n("9m1L").HLSEvent,e=n("mvD1");function r(){this.oE=this.__controller.model,this.TL=!1,this.nG=!1,this.QW=NaN,this.o4=NaN,this.u4={},this.BN=!0,this.a4=-1,this.MIN_BUFFER_TO_PLAY=1,this.MIN_TIME_TO_BUFFER_CHECK=150,this.BUFFER_REPORT_THRESHOLD=20,this.MIN_BUFFER_TIME_UPPER_BOUND=5,this.WEIGHT=.5,this.CHROME_BUFFER_GAP_EPSILON=.15,this.f4=!0,this.VT=!1,this.l4()}r.prototype.onPlayRequested=function(){this.v4()},r.prototype.destroy=function(){},r.prototype.checkBuffering=function(t){var i=this.oE.bufferLength,n=this.oE.currentTime,s=this.oE.duration;if(!(isFinite(s)&&n+.05>s)){var e=this.iZ();!t&&e<this.MIN_TIME_TO_BUFFER_CHECK||(!(i<=.02||this.d4===n&&i<this.MIN_BUFFER_TO_PLAY)||this.BN||this.oE.preloading||this.TL?!isNaN(this.QW)&&n>this.QW?this.m4():!this.BN&&this.d4===n&&this.oE.getTotalBufferLength()>this.MIN_BUFFER_TO_PLAY&&this.b4():this.v4(),this.d4=n,this.JW=Date.now())}},r.prototype.onPlaying=function(){this.BN=!1},r.prototype.onPause=function(){this.BN=!0,this.TL&&(this.u4.bufferInit=!0,this.m4())},r.prototype.onSeeking=function(){this.VT=!0},r.prototype.onSeeked=function(){this.VT=!1},r.prototype.onTimeUpdate=function(){this.TL&&this.checkBuffering(!0)},r.prototype.onVideoSync=function(t){this.d4=t},r.prototype.onError=function(){this.TL&&this.m4()},r.prototype.onComplete=function(){this.TL&&this.m4(),this.l4()},r.prototype.b4=function(){if(!(this.oE.bufferedRanges.length<2)){var t=this.oE.TIMESTAMP_COMPARE_EPSILON,i=this.oE.currentTime;this.oE.userAgent&&this.oE.userAgent.chrome&&(i-=3);for(var n=this.oE.bufferedRanges.ranges,r=0;r<n.length-1;r++){var h=n[r],o=n[r+1];if(o.start-h.end>this.oE.config.skipGapLimit)this.oE.currentTime!==this.o4&&(this.__controller.sendEvent(s.BUFFER_GAP_DETECTED,o.start-h.end),this.o4=this.oE.currentTime);else{var u=h.end-t-(this.oE.userAgent.chrome?this.CHROME_BUFFER_GAP_EPSILON:0),a=o.start;i>u&&i<a&&this.__controller.sendMessage(e.MessageIds.SKIP_GAP,[o.start],["seekPosition"])}}}},r.prototype.v4=function(){if(!this.TL){this.TL=!0;var t=this.getMinimumBufferTime();this.y4(),this.QW=this.oE.currentTime,this.VT&&(this.f4=!0),this.u4={value:this.TL,bufferInit:this.f4,minBufferTime:t},this.__controller.sendEvent(s.WAITING,this.u4)}},r.prototype.m4=function(){this.TL&&(this.TL=!1,this.QW=NaN,this.u4={value:!1,waitTime:this.g4(),bufferInit:this.f4,minBufferTime:.1},this.__controller.sendEvent(s.WAITING,this.u4),this.u4={},this.f4=!1)},r.prototype.getMinimumBufferTime=function(){var t=this.__controller.services.bandwidthEstimator.instantaneousBandwidth,i=this.oE.getCurrentLoadingStream(),n=i?i.bitrate/1e6:0,s=this.oE.config.minBufferTime;return s=this.oE.live?s.live:s.vod,this.oE.config.variableMinBuffer&&n&&!isNaN(t)?this.w4(t/n,s):s},r.prototype.w4=function(t,i){var n=this.MIN_BUFFER_TIME_UPPER_BOUND;if(i>=n)return i;var s=Math.max(i,0);if(t>=1)return s;var e=t*n;return 1*Math.max(s,n-e*this.WEIGHT).toFixed(1)},r.prototype.iZ=function(){var t=Date.now();return this.JW=this.JW||t,t-this.JW},r.prototype.y4=function(){var t=this.iZ(),i=this.E4();this.tV=Date.now()-Math.max(t-i,0)},r.prototype.g4=function(){var t=this.E4(),i=Math.max(Date.now()-this.tV-t,0);return this.u4.bufferInit||i<this.BUFFER_REPORT_THRESHOLD?0:i},r.prototype.E4=function(){var t=0;return this.d4&&(t=1e3*(this.oE.currentTime-this.d4).toFixed(3)),t},r.prototype.l4=function(){this.JW=null,this.d4=null},r.prototype.isBuffering=function(){return this.TL}},pkSX:function(t,i,n){"use strict";function s(t){this.COLLECTION_INTERVAL=100,this.MIN_SAMPLE_SIZE=5e4,this.SAMPLE_QUEUE_LENGTH=40,this.INSTANCE_SAMPLE_QUEUE_LENGTH=15,this.BW_ADJUSTMENT_FACTOR=.8,this.O4=[],this.A4=[],this.averageBandwidth=t||0,this.instantaneousBandwidth=t||0}t.exports=s,s.prototype.destroy=function(){this.O4=[],this.A4=[],this.averageBandwidth=0,this.instantaneousTotalBandwidth=0},s.prototype.addSample=function(t){if(t&&!(t.time<=0)){this._4(t);var i=0,n=this.O4.length,s=n*(n+1)/2,e=1/s;this.O4.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.averageBandwidth=this.BW_ADJUSTMENT_FACTOR*i,i=0,n=this.A4.length,e=1/(s=n*(n+1)/2),this.A4.forEach((function(t,n){i+=(n+1)*e*t.bandwidth})),this.instantaneousBandwidth=this.BW_ADJUSTMENT_FACTOR*i}},s.prototype._4=function(t){!t||t.time<=0||(t.bandwidth=t.size/t.time*.008,t.bandwidth=Math.min(60,t.bandwidth),this.O4.push(t),this.A4.push(t),this.O4.length>this.SAMPLE_QUEUE_LENGTH&&this.O4.shift(),this.A4.length>this.INSTANCE_SAMPLE_QUEUE_LENGTH&&this.A4.shift())},s.prototype.replaceSamples=function(t,i){var n=t&&i?t/i*.008:0;if(n>0){this.averageBandwidth=n,this.O4=[];for(var s=Math.min(Math.ceil(i/this.COLLECTION_INTERVAL),this.SAMPLE_QUEUE_LENGTH),e=0;e<s;e++){var r={bandwidth:n};this.O4.push(r)}}}},qS2y:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("yf6s"),e=function(){function t(){}return t.sendImageBeacon=function(t){t=s.default.fixProtocol(t);var i=new Image;i.onload=i.onabort=i.onerror=function(){i.onload=i.onabort=i.onerror=null,i=null},i.src=t},t.sendUnloadBeacon=function(i){return i=s.default.fixProtocol(i),navigator&&navigator.sendBeacon?navigator.sendBeacon(i,null):t.sendImageBeacon(i),!0},t.sendIframeBeacon=function(i){i=s.default.fixProtocol(i);var n=Math.random(),e=document.querySelector("#vp-beacons"),r="vp-beacons-"+n;e||(e=t.createBeaconsIframe(document,"vp-beacons"),document.body.appendChild(e));var h=t.createBeaconsIframe(e.contentDocument,r);return h.src=i,"complete"===e.contentDocument.readyState?e.contentDocument.body.appendChild(h):e.contentDocument.body.onload=function(){e.contentDocument.body.appendChild(h)},!0},t.createBeaconsIframe=function(t,i){var n=t.createElement("iframe");return n.frameBorder=0,n.width=0,n.height=0,n.marginwidth=0,n.marginheight=0,n.hspace=0,n.vspace=0,n.frameborder=0,n.scrolling="no",n.id=i,n.style.display="none",n.title="",n},t.prepareApiInfo=function(t,i){(i=i||{}).url=t,i.instrument=i.instrument||"none",i.perfInfo="na",i.perfStack="na",i.source="player";var n=i.resourceTiming,s=i.resourceTimingEntries;if(n){var e={};["connectEnd","connectStart","domainLookupEnd","domainLookupStart","duration","fetchStart","redirectEnd","redirectStart","requestStart","responseEnd","responseStart","startTime"].forEach((function(t){e[t]=n[t].toFixed(2)})),i.latency=e&&e.duration||"",i.perfInfo=JSON.stringify(e);var r=[];i.resourceTimingEntries&&n.requestStart-n.connectStart>500&&s.forEach((function(t){t.startTime<n.startTime&&r.push({url:t.name,st:t.startTime.toFixed(2),du:(t.responseEnd-t.startTime).toFixed(2)})})),i.perfStack=0===r.length?"na":JSON.stringify(r)}return i},t}();i.default=e},qkPt: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("u0ul"),h=n("ToqN"),o=n("7PPe"),u=n("P2OX"),a=n("Thcf"),c=n("wqBe"),f=n("wqBe"),l=n("S8wC"),v=n("xPTa"),d=n("j/Iz"),p=n("ablw"),m=n("yf6s"),b=function(t){function i(n,s){var e=t.call(this,n,s)||this;return e.type=i.type,e.zY(),e}return e(i,t),i.canUse=function(){return d.default.useHtml5MseDefault()&&d.default.isHtml5MseAvailable()},i.prototype.create=function(i){this.node=t.prototype.create.call(this,i);var n=this.T4();return this.S4=new r(this.node,n),this.node},i.prototype.play=function(t){void 0===t&&(t=0),this.ended=!1,this.seeking=!1,this.fO.publish(c.PROFILE_START,f.METRICS.STREAM_PLAY_TO_RENDER),this.S4.play(t)},i.prototype.pause=function(){this.S4.pause()},i.prototype.preload=function(t){!t||p.isNumber(t.startOffset)&&t.startOffset>0||this.S4.preload(t.bufferLimit)},i.prototype.setPlayableItem=function(t,i){var n=this;if(void 0===i&&(i=0),!t)return!1;if(this.fH==t)return!0;this.zY(),this.QY=m.default.getPlaybackMode(t);var s,e=t.isLive(),r=t.streamProfiles;if(r&&r.length||(r=t.streams),!r)return!1;var o=[];if(r.forEach((function(t){t&&t.format&&t.format.indexOf("m3u8")>=0?(t.hls_info=t.hlsInfo,o.push(t),n.r_="hls"):t&&t.format&&t.format.indexOf("mpd")>=0&&(s=t.url,n.r_="dash")})),"hls"===this.r_){var u=[];if(t.altStreams&&(t.altStreams=this.I4(t.altStreams),t.altStreams.forEach((function(t){u.push(t)}))),this.fO.publish(c.PROFILE_START,f.METRICS.STREAM_REQUEST_TO_RENDER),this.QY===v.PlaybackMode.VIDEO&&this.fO.publish(c.PROFILE_START,f.METRICS.LOAD_TO_LOADED_DATA),o.length>0)return this.S4.setSrc({streams:o,altStreams:u,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e,skt:t instanceof l.default?t.skt:""}),this.fH=t,!0}else if("dash"===this.r_){if(59===h.userAgent.firefox){var d=m.default.createErr(a.ErrorGroup.Streaming,this.eO,a.E_PLAYER_JS_HLS,a.PLAYER_JS_HLS_CODES.MEDIA_ERR_DECODE);return this.publish(v.RendererEvent.ERROR,d),!1}if(null!==s)return this.S4.setSrc({url:s,sessionId:t.videoSession,currLang:t&&t.getCurrLanguage(),is360:t.is360Video(),live:e}),this.fH=t,!0}return!1},i.prototype.waitForReady=function(t){t()},i.prototype.getCurrentDate=function(){return this.S4.getCurrentDate()},i.prototype.setQuality=function(t){this.S4.setQuality(t)},i.prototype.setAudioLanguage=function(t){this.S4.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.S4.unload()},i.prototype.bindCustomEvents=function(){var t=this;if(this.node){this.unbindCustomEvents();this.j4=function(i){var n=i.type;t.M4(n,i)}.bind(this),Object.keys(f.HLSVideoEvent).forEach((function(i){t.node&&t.node.addEventListener(f.HLSVideoEvent[i],t.j4)}))}},i.prototype.unbindCustomEvents=function(){var t=this;this.node&&Object.keys(f.HLSVideoEvent).forEach((function(i){t.node&&t.node.removeEventListener(f.HLSVideoEvent[i],t.j4)}))},i.prototype.bindPlaybackEvents=function(){},i.prototype.unbindPlaybackEvents=function(){},i.prototype.suspendStreaming=function(){this.S4&&this.S4.suspendStreaming()},i.prototype.resumeStreaming=function(){this.S4&&this.S4.resumeStreaming()},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.S4&&this.S4.destroy()},i.prototype.c_=function(){t.prototype.c_.call(this),this.bindCustomEvents()},i.prototype.N4=function(){t.prototype.N4.call(this),this.unbindCustomEvents()},i.prototype.oW=function(t,i){switch(t===v.NativeVideoEvent.PLAYING&&this.fO.publish(c.PROFILE_END,[f.METRICS.STREAM_PLAY_TO_RENDER,f.METRICS.STREAM_REQUEST_TO_RENDER]),t){case v.NativeVideoEvent.SEEKING:case v.NativeVideoEvent.SEEKED:this.node&&this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered});break;case v.NativeVideoEvent.ERROR:if(!this.node)return;var n=this.node.error,s=this.S4.error||{},e=void 0,r=void 0;p.isNumber(s.code)?(e=s.code.toString(),r=s.message):(e=n.code.toString(),r=n.message);var h=m.default.createErr(a.ErrorGroup.Streaming,this.eO,a.E_PLAYER_JS_HLS,e,null,r);this.R4(h),this.publish(v.RendererEvent.ERROR,h);break;case v.NativeVideoEvent.ENDED:this.ended=!0;var o=this.vT();if(!o)return;o.isLive()&&this.fO.publish(c.WARNING,m.default.createErr(a.ErrorGroup.Streaming,this.eO,a.E_WARNING,a.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE),!0),this.publish(i);break;case v.NativeVideoEvent.PAUSE:if(this.ended)break;if(this.seeking)break;this.publish(i);break;case v.NativeVideoEvent.PLAY:this.D4=!1,this.publish(i);break;case v.NativeVideoEvent.PLAYING:this.D4=!0,this.publish(i);break;case v.NativeVideoEvent.TIMEUPDATE:if(!this.node)return;this.publish(i,{currentTime:this.node.currentTime,duration:this.node.duration,buffered:this.node.buffered}),this.D4||(this.D4=!0,this.publish(v.RendererEvent.PLAYING));break;case v.NativeVideoEvent.LOADEDDATA:this.fO.publish(c.PROFILE_END,f.METRICS.LOAD_TO_LOADED_DATA),this.publish(i);break;case v.NativeVideoEvent.WAITING:case v.NativeVideoEvent.VOLUMECHANGE:break;default:this.publish(i)}},i.prototype.M4=function(t,i){var n;switch(t){case f.HLSVideoEvent.INFO_UPDATE:if(this.vH){var s=i.detail.mediaInfo,e=s.currentStreamBitrate;0===this.oE.bitrate&&e>0&&this.fO.publish(o.ExternalEvt.BITRATE_CHANGE,e,{}),s.drmsys&&s.drm&&(this.oE.isDrmAvailable=s.drm,this.oE.drmSystem=s.drmsys),this.fO.publish(c.PLAYBACK_INFO,s)}break;case f.HLSVideoEvent.STREAM_SWITCHED:var r=i.detail.bitrate,h={reason:i.detail.reason,oldFrameRate:i.detail.oldFrameRate,newFrameRate:i.detail.newFrameRate};this.fO.publish(o.ExternalEvt.BITRATE_CHANGE,r,h);break;case f.HLSVideoEvent.HLS_WAITING:i&&i.detail&&!p.isNullOrUndefined(i.detail.bufferInit)&&this.publish(v.RendererEvent.WAITING,{value:i.detail.value,ignoreBuffering:i.detail.bufferInit});break;case f.HLSVideoEvent.SEGMENT_FIRST_BYTE_LOADED:this.fO.publish(c.SEGMENT_FIRST_BYTE_LOADED,i.detail);break;case f.HLSVideoEvent.SEGMENT_RENDERED:var l=this.S4.getSegInfo();l&&l.segInfo&&this.tZ(l);break;case f.HLSVideoEvent.VTT_SEGMENT_LOADED:var d=this.oE?this.RS:null;if(i.detail&&d){var b=void 0;if(this.eO.ad)b=this.fH.id;else{var y=d.getMediaItemBySessionId(i.detail.sessionId);b=y?y.id:null}i.detail.itemId=b}this.fO.publish(c.VTT_SEGMENT_LOADED,i.detail);break;case f.HLSVideoEvent.LIVE_LOADING_LATE:this.fO.publish(c.LIVE_LOADING_LATE);break;case f.HLSVideoEvent.STREAM_UPDATED:this.fO.publish(c.MEDIA_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.CUEPOINT_DETECTED:this.fO.publish(o.ExternalEvt.CUEPOINT_DETECTED,i.detail.cuepointDuration,i.detail.timeGapBeforeCUEOUT);break;case f.HLSVideoEvent.CUEPOINT_STARTED:this.fO.publish(o.ExternalEvt.CUEPOINT_STARTED,i.detail.cuepointDuration,i.detail.cuepointPlayedTime);break;case f.HLSVideoEvent.SUBTITLE_STREAM_UPDATED:this.fO.publish(c.SUBTITLE_PLAYLIST_UPDATED);break;case f.HLSVideoEvent.PRELOAD_PROGRESS:this.fO.publish(c.PROFILE_END,f.METRICS.STREAM_REQUEST_TO_RENDER),this.fO.publish(c.PRELOAD_PROGRESS);break;case f.HLSVideoEvent.SEGINFO_METRICS_AVAILABLE:this.tZ(i.detail);break;case f.HLSVideoEvent.CONTENT_LOAD_FINISHED:this.fO.publish(c.CONTENT_LOAD_FINISHED,i.detail);break;case f.HLSVideoEvent.PRELOAD_START:this.fO.publish(c.PRELOAD_START);break;case f.HLSVideoEvent.PRELOAD_COMPLETE:this.fO.publish(c.PRELOAD_COMPLETE);break;case f.HLSVideoEvent.BUFFER_GROWTH_DETECTED:this.fO.publish(c.BUFFER_GROWTH_DETECTED,i.detail);break;case f.HLSVideoEvent.CC_VTT_AVAILABLE:(n=this.RS.getMediaItemBySessionId(i.detail.sessionId))&&n.setCCAvailability(!0);break;case f.HLSVideoEvent.MULTI_LANGUAGES_AVAILABLE:(n=this.RS.getMediaItemBySessionId(i.detail.sessionId))&&n.setMultiLanguages(i.detail.languages),this.fO.publish(c.MULTI_LANGUAGES_AVAILABLE);break;case f.HLSVideoEvent.MEDIA_METADATA_LOADED:var g=this.oE.bitrates,w=this.oE.heights;this.oE.bitrates=g&&g.length?g:i.detail.map((function(t){return t.bitrate/1e3})),this.oE.heights=w&&w.length?w:i.detail.map((function(t){return t.height}));break;case f.HLSVideoEvent.TIMED_METADATA_READY:var E=m.default.extractID3Data(i.detail.data);if(E){var O=m.default.detectRegexPattern(u.ID3_MATCH_PATTERN.JSON,E);if(O)try{E=JSON.parse(O)}catch(t){}this.fO.publish(c.TIMED_METADATA_RECEIVED,E)}break;case f.HLSVideoEvent.BUFFER_GAP_DETECTED:var A=m.default.createErr(a.ErrorGroup.Streaming,this.eO,a.E_WARNING,a.WARNING_CODES.E_BUFFER_GAP);this.fO.publish(c.WARNING,A)}},i.prototype.R4=function(t){switch(t.subcategory){case a.PLAYER_JS_HLS_CODES.ERR_DRM_EME_MISSING:t.category=a.E_PLAYER_DRM,t.subcategory=a.PLAYER_DRM_CODES.E_EME_MISSING;break;case a.PLAYER_JS_HLS_CODES.ERR_DRM_INIT:t.category=a.E_PLAYER_DRM,t.subcategory=a.PLAYER_DRM_CODES.E_INIT;break;case a.PLAYER_JS_HLS_CODES.ERR_DRM_CONFIG:t.category=a.E_PLAYER_DRM,t.subcategory=a.PLAYER_DRM_CODES.E_CONFIG;break;case a.PLAYER_JS_HLS_CODES.ERR_DRM_LICENSE_REQUEST:t.category=a.E_PLAYER_DRM,t.subcategory=a.PLAYER_DRM_CODES.E_LICENSE_REQUEST}},i.prototype.T4=function(){return this.L4=!1,{useWorker:!0,sendAbrAnalytics:this.L4,stopBufferingOnPause:this.oE.stopBufferingOnPause,dimensions:{width:this.oE.uiState.width,height:this.oE.uiState.height}}},i.prototype.C4=function(){var t=document.getElementsByClassName(u.VIDEO_MAIN_ELEMENT_CLASS);return!m.default.isPlayerInBackground()&&t&&t.length>0&&0!==m.default.getElementViewability(t[0])},i.prototype.I4=function(t){if(!t)return t;var i={};return t.filter((function(t){var n=t.type+"_"+t.host+t.path;return!i[n]&&(i[n]=1,!0)}))},i.prototype.tZ=function(t){var i=t.segInfo,n=t.sessionId,s=this.C4();i.forEach((function(t){t.vis=s})),this.fO.publish(c.SEG_INFO_AVAILABLE,{val:i,session:n,bufferLen:t.bufferLen})},i.prototype.zY=function(){this.fH=null,this.r_=null,this.QY=v.PlaybackMode.VIDEO,this.D4=!0,this.seeking=!1,this.ended=!1},i.type=v.RendererType.HTML5_HLS,i}(n("r5Jr").default);i.default=b},qpJd:function(t,i,n){"use strict";t.exports=e;var s=n("nrHX");function e(){this.P4=[],this.P4.push(new s.BandwidthRule),this.P4.push(new s.BufferRule),this.P4.push(new s.ResolutionRule)}e.prototype.destroy=function(){this.P4=[]},e.prototype.getNextStreamIndex=function(t,i){if(!s.validateAbrInput(t))return-1;if(i)return(new s.StartupRule).getNextStreamIndex(t);var n=Number.MAX_VALUE;return this.P4.forEach((function(i){var s=i.getNextStreamIndex(t);s<0||(n=Math.min(n,s))})),n===Number.MAX_VALUE?-1:n}},qrnT:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("g6Is"),e=n("Ld5f"),r=function(){function t(){this.name="ProviderBrandingPlugin",this.version="8.2.125",this.type=s.Plugin.PluginType.BRANDING,this.mimetype="branding/provider"}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t){var i=document.createElement("div"),n=this.x4(t);return n?(i.innerHTML=n,i.children[0]):null},t.prototype.x4=function(t){var i=t&&t.branding&&t.branding.providerId,s=i&&e.PROVIDER_BRANDING_TEMPLATES[i];return this.U4(t)?(n("7fx/"),s.render()):null},t.prototype.U4=function(t){var i=t&&t.branding&&t.branding.providerId,n=i&&e.PROVIDER_BRANDING_TEMPLATES[i],s=t&&t.branding.gameOrigin||[];return!(n&&"video.nflhighlights.com"===i&&s.indexOf("vzw")>-1)&&!!n},t}();i.default=r},qudH:function(t,i,n){"use strict";t.exports.Command=r;var s=n("D8uh"),e=n("juTp");function r(t,i){this.data=t,this.client=i,s.call(this,this.constructor.name)}t.exports.CmdNames={CMD_MEDIA_LOAD:"MediaLoad",CMD_STREAM_LOAD:"StreamLoad",CMD_LICENSE_LOAD:"LicenseLoad",CMD_SEGMENT_LOAD:"SegmentLoad",CMD_MP4_INIT_SEGMENT_LOAD:"Mp4InitSegmentLoad",CMD_SUBTITLE_SEGMENT_LOAD:"SubtitleSegmentLoad",CMD_ERROR_HANDLE:"ErrorHandle"},t.exports.CmdEvents={CMD_COMPLETE:"Complete",CMD_PROGRESS:"Progress",CMD_ERROR:"Error"},e.inherits(r,s),r.prototype.destroy=function(){this.data=null,s.prototype.destroy.call(this)},r.prototype.execute=function(){},r.prototype.cancel=function(){}},r5Jr: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("ToqN"),u=n("7PPe"),a=n("Thcf"),c=n("wqBe"),f=n("SGQb"),l=n("BpGj"),v=n("Fry/"),d=n("yf6s"),p=n("U3HQ"),m=n("xPTa");v.default.hasTouchRestrictions&&(r=f.default.getPool()),function(t){t.INLINE="inline",t.PIP="picture-in-picture",t.FULLSCREEN="fullscreen"}(h||(h={}));var b=function(t){function i(n,s){var e=t.call(this,"html-renderer")||this;return e.type=i.type,e.HY=!1,e.fO=n,e.oE=s,e}return e(i,t),i.canUse=function(){return!0},i.prototype.create=function(t){var i=this;return this.node=t instanceof HTMLVideoElement?t:r?r.get():d.default.createVideoNode(),this.node||(this.node=d.default.createVideoNode()),this.oE.preload||this.node.setAttribute("preload","metadata"),this.V4()&&(this.node.controls=!0),this.node.setAttribute("id",d.default.generateGuid()),d.default.classList(this.node).add("vp-html5-video"),this.c_(),this.B4(this.node),o.userAgent.mobile&&v.default.autoplayByUIEvtOnly&&this.oE.autoplay&&l.default&&(this.F4=l.default.setupTouchToPlayRestrictionRemoval(this.node,(function(){i.F4=null,i.fO.publish(c.TOUCH_TO_PLAY_RESTRICTION_REMOVED)}))),this.vH=!1,this.node},i.prototype.destroy=function(){this.N4(),this.node&&(r&&r.discard(this.node),this.node.pause(),this.node.src="",this.node.load(),this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.node),this.F4&&(this.F4(),this.F4=null),this.nG=null},i.prototype.detachNode=function(){this.N4(),this.node&&this.node.pause&&this.node.pause()},i.prototype.getCurrentDate=function(){return null},i.prototype.getCurrentTime=function(){return this.node?this.node.currentTime:0},i.prototype.getDuration=function(){return this.node?this.node.duration:0},i.prototype.getMuted=function(){return!!this.node&&this.node.muted},i.prototype.getVolume=function(){return this.node?this.node.volume:NaN},i.prototype.isAirplaying=function(){return!(!this.node||!this.node.webkitCurrentPlaybackTargetIsWireless)},i.prototype.reattachNode=function(){this.c_()},i.prototype.seek=function(t){var i=this;if(this.node)try{this.node.currentTime=t}catch(s){if("InvalidStateError"===s.name)var n=this.on(m.RendererEvent.LOADEDMETADATA,(function(){i.node&&(i.node.currentTime=t,i.removeEventListener(m.RendererEvent.LOADEDMETADATA,n))}),this)}},i.prototype.setActive=function(t){this.vH=t},i.prototype.setMute=function(t){this.node&&"boolean"==typeof t&&(o.userAgent.mobile&&v.default.autoplaySupported&&l.default?l.default.setMuteSafe(this.node,t):this.node.muted=t)},i.prototype.setVolume=function(t){this.node&&this.node.volume!==t&&(this.node.volume=t)},i.prototype.setError=function(t){this.nG=t},i.prototype.showAirplayTargetMenu=function(){this.node&&"function"==typeof this.node.webkitShowPlaybackTargetPicker&&this.node.webkitShowPlaybackTargetPicker()},i.prototype.waitForReady=function(t){t()},i.prototype.reportError=function(t,i,n,s,e){var r=d.default.createErr(t,this.eO,i,n,s,e),h=i===a.E_INFO?m.RendererEvent.INFO:m.RendererEvent.ERROR;this.publish(h,r)},i.prototype.enableMobileNativeCC=function(t){if(this.node){var i=document.createDocumentFragment();this._W(),t.langList.forEach((function(n){var s=document.createElement("track");s.setAttribute("label","English"),s.setAttribute("srclang",n.lang),s.setAttribute("kind","subtitles"),s.setAttribute("type","text/vtt"),n.lang===t.selectedLang&&s.setAttribute("default","true"),s.src=n.url,s.track&&(s.track.mode="hidden"),i.appendChild(s)})),this.node.appendChild(i)}},i.prototype.setPIPMode=function(t){var i=this.node;o.userAgent.safari&&i.webkitSupportsPresentationMode&&(i.onwebkitpresentationmodechanged=t?d.default.noop:function(){i.webkitPresentationMode===h.PIP&&setTimeout((function(){i.webkitSetPresentationMode(h.INLINE)}),250)})},i.prototype.c_=function(){var t=this;if(this.node){this.z4=function(i){if(!t.ended){var n=i.type,s=m.RendererEvent[n.toUpperCase()];n===m.NativeVideoEvent.PLAYING&&t.node.paused||(n===m.NativeVideoEvent.VOLUMECHANGE&&t.publish(m.RendererEvent.VOLUMECHANGE,{volume:t.node.volume,mute:t.node.muted}),o.userAgent.iosWebView&&n===m.NativeVideoEvent.PAUSE&&t.H4(),t.oW(n,s))}}.bind(this),Object.keys(m.NativeVideoEvent).forEach((function(i){t.node.addEventListener(m.NativeVideoEvent[i],t.z4)})),o.userAgent.iphone&&!v.default.canPlayInline||(this.q4=new p.default(this.node,(function(){t.publish(m.CustomRendererEvent.CLICK)}))),o.userAgent.safari>=8&&this.G4(),o.userAgent.ios&&this.Y4(),v.default.airplaySupported&&this.oE.casting&&this.W4(),this.CI={},this.CI[c.FULLSCREEN_CHANGE]=this.fO.addEventListener(c.FULLSCREEN_CHANGE,(function(){t.node&&t.fO.publish(c.PLAYER_RESIZE,t.node.clientWidth,t.node.clientHeight)}),this)}},i.prototype.WY=function(){var t=this;if(this.node){var i=this.node.play();return i&&"function"==typeof i.catch&&i.catch((function(i){t.node.paused})),i}},i.prototype._W=function(){if(this.node)for(var t=this.node.querySelectorAll("track"),i=0;i<t.length;i++)this.node.removeChild(t[i])},i.prototype.dW=function(t){var i=a.PLAYER_CODES.E_NATIVE_ERROR;if(!(t&&t instanceof MediaError))return i;switch(t.code){case MediaError.MEDIA_ERR_ABORTED:return a.PLAYER_CODES.E_NATIVE_ABORTED;case MediaError.MEDIA_ERR_NETWORK:return a.PLAYER_CODES.E_NATIVE_NETWORK_FAILURE;case MediaError.MEDIA_ERR_DECODE:return a.PLAYER_CODES.E_NATIVE_DECODE_ERROR;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:return a.PLAYER_CODES.E_NATIVE_SRC_NOT_SUPPORTED}return i},i.prototype.W4=function(){var t=this;if(v.default.airplaySupported&&this.node){var i=function(i){t.fO.publish(u.ExternalEvt.AIRPLAY_AVAILABILITY_CHANGE,"available"===i.availability)},n=function(){t.fO.publish(u.ExternalEvt.AIRPLAY_CONNECTION_STATE_CHANGE,{connected:t.isAirplaying(),isInitialEvt:!t.Z4}),t.Z4||(t.Z4=!0)};this.node.addEventListener("webkitplaybacktargetavailabilitychanged",i),this.node.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",n),this.Q4=function(){t.node&&(t.node.removeEventListener("webkitplaybacktargetavailabilitychanged",i),t.node.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",n))}}},i.prototype.G4=function(){var t=this;if(this.node&&this.node.textTracks){var i=function(i){var n=i.track;n&&("metadata"===n.kind?(n.mode="hidden",n.addEventListener("cuechange",(function(i){var n=i.target,s=n&&n.activeCues[0],e=s&&s.value&&s.value.data,r=s&&s.value&&s.value.info;if(r)e=r;else if("string"==typeof e)try{e=JSON.parse(e)}catch(t){}else e=e instanceof ArrayBuffer?String.fromCharCode.apply(null,new Uint8Array(e)):{};t.fO.publish(c.TIMED_METADATA_RECEIVED,e)}))):"subtitles"!==n.kind&&"captions"!==n.kind||t.HY&&t.fO.publish(c.SUBTITLE_TRACK_RECEIVED,{itemId:t.fH.id,track:n}))},n=function(t){for(var i=0,n=t&&t.srcElement;i<n.length;i++){var s=n[i];"metadata"===s.kind&&"disabled"===s.mode&&(s.mode="hidden")}};this.node.textTracks.addEventListener("addtrack",i),this.node.textTracks.addEventListener("change",n),this.X4=function(){t.node&&t.node.textTracks&&(t.node.textTracks.removeEventListener("addtrack",i),t.node.textTracks.removeEventListener("change",n))}}},i.prototype.Y4=function(){var t=this;if(this.node){var i=function(){t.publish(m.CustomRendererEvent.END_FULLSCREEN)};this.node.addEventListener("webkitendfullscreen",i),this.J4=function(){t.J4=null,t.node.removeEventListener("webkitendfullscreen",i)}}},i.prototype.N4=function(){var t=this;this.X4&&this.X4(),this.J4&&this.J4(),this.Q4&&this.Q4(),Object.keys(m.NativeVideoEvent).forEach((function(i){t.node&&t.node.removeEventListener(m.NativeVideoEvent[i],t.z4)})),this.q4&&(this.q4.destroy(),this.q4=null),this.fO.removeEventListeners(this.CI)},Object.defineProperty(i.prototype,"RS",{get:function(){return this.oE.playlist},enumerable:!0,configurable:!0}),i.prototype.vT=function(){return this.RS.getCurrentItem()},Object.defineProperty(i.prototype,"eO",{get:function(){return this.oE.playbackState},enumerable:!0,configurable:!0}),i.prototype.B4=function(t){var i=this;t.__play||(t.__play=t.play.bind(t),t.play=function(){var n=t.__play();return n&&"function"==typeof n.then&&n.then((function(t){i.publish(m.CustomRendererEvent.PLAYBACK_START_NOT_BLOCKED)}),(function(n){t.paused&&i.publish(m.CustomRendererEvent.PLAYBACK_START_BLOCKED)})),n})},i.prototype.H4=function(){if(this.node){var t=this.node;!this.V4()&&t.controls&&(t.controls=!1)}},i.prototype.V4=function(){return this.oE.showControls&&!v.default.canPlayInline},i.type=m.RendererType.HTML5_RAW,i}(m.Renderer);i.default=b},rBpt:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.TypeChecker=i.Privacy=i.LocalStorage=i.LoaderConstants=i.Loader=i.errorCodes=void 0;var s=n("yFL1");i.errorCodes=s;var e=n("ap5D"),r=e;i.Loader=e.default,i.LoaderConstants=r;var h=n("Aeo1");i.LocalStorage=h.default;var o=n("XIK/");i.Privacy=o.default;var u=n("38mS");i.TypeChecker=u},rVi6:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("rBpt"),e=n("Thcf"),r=n("yf6s"),h=n("UJ/s"),o=e.PLAYER_DRM_CODES,u=e.INFO_CODES,a=e.ErrorGroup.Configuration,c=function(){function t(t,i,n,s){this.K4=null,this.t5=t,this.i5=i||"https://assets.video.yahoo.net/fairplay.cer",this.K4="https://assets.video.yahoo.net/fairplay.cer"===this.i5?h.CERT_DATA:null,this.n5=n,this.s5=s,this.e5=this.r5.bind(this),this.h5=this.o5.bind(this),this.u5=this.a5.bind(this),this.init()}return t.prototype.destroy=function(){this.t5.removeEventListener("webkitneedkey",this.e5),this.f5&&(this.l5(),this.f5=null)},t.prototype.init=function(){this.t5.addEventListener("webkitneedkey",this.e5)},t.prototype.l5=function(){this.f5.removeEventListener("webkitkeymessage",this.h5),this.f5.removeEventListener("webkitkeyerror",this.u5)},t.prototype.v5=function(){var t=this;null!==this.i5&&""!==this.i5?void 0!==window.WebKitMediaKeys?this.K4?this.d5():s.Loader.ajax(this.i5,{method:"GET",context:this,headers:{Pragma:"Cache-Control: no-cache","Cache-Control":"max-age=0"},responseType:"arraybuffer",successHandler:function(i){t.K4=new Uint8Array(i),null!==t.K4?t.d5():t.p5(o.E_CERT_NO_DATA)},failureHandler:function(i){t.p5(o.E_CERT_LOAD_FAILED,e.ErrorGroup.Streaming,i.toString())},timeout:1e4}):this.p5(u.E_DRM_UNSUPPORTED_BROWSER,a):this.p5(o.E_CERTPATH_MISSING,a)},t.prototype.d5=function(){var t=this.m5(this.b5),i=this.y5(t),n=this.g5(this.b5,i,this.K4);if(!this.t5.webkitKeys){var s=this.w5();this.t5.webkitSetMediaKeys(new WebKitMediaKeys(s))}this.t5.webkitKeys||this.p5(o.E_KEY_CREATION_FAILED),this.f5&&(this.l5(),this.f5.close()),this.f5=this.t5.webkitKeys.createSession("video/mp4",n),this.f5?(this.f5.contentId=i,this.f5.destinationURL=t,this.f5.addEventListener("webkitkeymessage",this.h5),this.f5.addEventListener("webkitkeyadded",(function(t){})),this.f5.addEventListener("webkitkeyerror",this.u5)):this.p5(o.E_KEY_SESSION_FAILED)},t.prototype.r5=function(t){this.n5(),null!==t.initData?(this.b5=t.initData,this.v5()):this.p5(o.E_INIT)},t.prototype.o5=function(t){this.E5(t.target,t.message)},t.prototype.a5=function(t){this.p5(o.E_KEY_ERROR,e.ErrorGroup.Streaming,t.currentTarget.error.code+"-"+t.currentTarget.error.systemCode)},t.prototype.y5=function(t){var i=document.createElement("a");i.href=t;var n=i.search.substr(1).split("&").filter((function(t){return t.length>2&&"b"===t[0]&&"="===t[1]}));return n.length?n[0].split("=")[1]:""},t.prototype.m5=function(t){var i=r.default.array16ToString(t).replace("skd://","https://");return i=i.substring(1,i.length)},t.prototype.g5=function(t,i,n){"string"==typeof i&&(i=r.default.stringToArray16(i));var s=0,e=new ArrayBuffer(t.byteLength+4+i.byteLength+4+n.byteLength),h=new DataView(e);new Uint8Array(e,s,t.byteLength).set(t),s+=t.byteLength,h.setUint32(s,i.byteLength,!0),s+=4;var o=new Uint8Array(e,s,i.byteLength);return o.set(i),s+=o.byteLength,h.setUint32(s,n.byteLength,!0),s+=4,new Uint8Array(e,s,n.byteLength).set(n),new Uint8Array(e,0,e.byteLength)},t.prototype.w5=function(){return WebKitMediaKeys.isTypeSupported("com.apple.fps.1_0","video/mp4")?"com.apple.fps.1_0":(this.p5(o.E_NO_KEY_SYSTEM),null)},t.prototype.E5=function(t,i){var n=this,e={spc:r.default.base64EncodeUint8Array(i),assetId:t.contentId};s.Loader.ajax(t.destinationURL,{method:"POST",body:JSON.stringify(e),context:this,responseTypeJson:!0,beforeSend:function(i){i.session=t},successHandler:function(t,i,s,e){n.O5(t,e.session)},failureHandler:function(t,i,s){var e=403===s?u.E_DRM_FORBIDDEN_LICENSE:o.E_LICENSE_REQUEST;n.p5(e)}})},t.prototype.O5=function(t,i){i.update(r.default.base64DecodeUint8Array(t.ckc))},t.prototype.p5=function(t,i,n){var s,r;void 0===i&&(i=e.ErrorGroup.Streaming),e.isInfoCode(t)?(s=e.E_INFO,r=u):(s=e.E_PLAYER_DRM,r=o);Object.keys(r)[parseInt(t,10)-1];this.s5(i,s,t,"",n),this.destroy()},t}();i.default=c},rzFi:function(t,i,n){"use strict";function s(){}t.exports=s,s.prototype.destroy=function(){},s.prototype.parse=function(t,i){for(var n=[],s=0;255===t[i];)s+=255,i++;if(s+=t[i],!(++i>=t.length)){for(var e=0;255===t[i];)e+=255,i++;if(e+=t[i],i++,4===s){var r=t[i],h=t[i+1]<<8|t[i+2],o=t[i+3]<<24|t[i+4]<<16|t[i+5]<<8|t[i+6],u=t[i+7];if(181===r&&49===h&&1195456820===o&&3===u){var a=31&t[i+8];i+=9;var c,f,l=0;for(i++;l<a;){if(c=(4&t[i])>>2,f=3&t[i],c&&(0===f||1===f)){var v={fieldType:f,data1:t[i+1],data2:t[i+2]};n.push(v)}i+=3,l++}}}return i+=e,n}}},s4NR:function(t,i,n){"use strict";i.decode=i.parse=n("kd2E"),i.encode=i.stringify=n("4JlD")},sHse:function(t,i){},sVz5:function(t,i,n){"use strict";t.exports=u;var s=n("qpJd"),e=n("l+r/").AbrModes,r=n("D8uh"),h=n("juTp"),o=n("9m1L").HLSEvent;function u(){this.oE=this.__controller.model,this.A5=this.__controller.create(s),this._5={estimatedBandwidthInBps:0,bitrateList:[],currentIndex:0,bufferLength:0},this.CI={},this.AQ(),this.SWITCH_BEGIN="switchBegin",this.SWITCH_END="switchEnd",this.SCENARIOS={STARTUP:"startup",LOAD:"load",ERROR:"error",MIDSEGMENT:"mid-segment"},this.switching=!0,r.call(this,this.constructor.name),this.CI[o.MEDIA_LOADED]=this.__controller.addEventListener(o.MEDIA_LOADED,this.AQ,this)}h.inherits(u,r),u.prototype.destroy=function(){this.A5.destroy(),this.__controller.removeEventListeners(this.CI),r.prototype.destroy.call(this)},u.prototype.switchStream=function(t,i,n){var s=this;s.oE.getABRMode()!==e.AUTO&&s.oE.streams.forEach((function(t,i){s.oE.getUserReqBitrate()===t.bitrate&&(n=i)}));var r=s.oE.currentLoadingStreamIndex,h=s.T5(),o=s.S5(n,t,h);return!(o<0)&&(o!==r&&((!i||!("up"===i&&o<r||"down"===i&&o>r))&&(s.oE.setCurrentLoadingStream(o),s.switching=!0,s.publish(s.SWITCH_BEGIN,o),!0)))},u.prototype.S5=function(t,i,n){return"number"==typeof t?t:this.A5.getNextStreamIndex(n,i===this.SCENARIOS.STARTUP)},u.prototype.switchComplete=function(){this.switching=!1,this.publish(this.SWITCH_END)},u.prototype.T5=function(){this.I5();var t=this._5,i=this.__controller.services.bandwidthEstimator,n=this.oE.dimensions;return t.estimatedBandwidthInBps=1e3*i.averageBandwidth*1e3,t.currentIndex=this.oE.currentLoadingStreamIndex,t.bufferLength=this.oE.bufferLength,t.displayWidth=isNaN(n.width)?640:n.width,t.displayHeight=isNaN(n.height)?360:n.height,t.pixelRatio=this.oE.pixelRatio,t.is360=this.oE.is360,t.streams=this.oE.streams,t.segmentLength=this.oE.getSegmentLength(),t},u.prototype.AQ=function(){this.I5()},u.prototype.I5=function(){var t=this;t.oE.streams&&!t._5.bitrateList.length&&(t._5.bitrateList=[],t.oE.streams.forEach((function(i){t._5.bitrateList.push("VBR"===i.rcMode.toUpperCase()?i.avgBitrate:i.bitrate)})))}},skmB:function(t,i,n){"use strict";var s=n("GYWy"),e=n("ds4h");function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=g,i.resolve=function(t,i){return g(t,!1,!0).resolve(i)},i.resolveObject=function(t,i){return t?g(t,!1,!0).resolveObject(i):i},i.format=function(t){e.isString(t)&&(t=g(t));return t instanceof r?t.format():r.prototype.format.call(t)},i.Url=r;var h=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(a),f=["%","/","?",";","#"].concat(c),l=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=n("s4NR");function g(t,i,n){if(t&&e.isObject(t)&&t instanceof r)return t;var s=new r;return s.parse(t,i,n),s}r.prototype.parse=function(t,i,n){if(!e.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),o=-1!==r&&r<t.indexOf("#")?"?":"#",a=t.split(o);a[0]=a[0].replace(/\\/g,"/");var g=t=a.join(o);if(g=g.trim(),!n&&1===t.split("#").length){var w=u.exec(g);if(w)return this.path=g,this.href=g,this.pathname=w[1],w[2]?(this.search=w[2],this.query=i?y.parse(this.search.substr(1)):this.search.substr(1)):i&&(this.search="",this.query={}),this}var E=h.exec(g);if(E){var O=(E=E[0]).toLowerCase();this.protocol=O,g=g.substr(E.length)}if(n||E||g.match(/^\/\/[^@\/]+@[^@\/]+/)){var A="//"===g.substr(0,2);!A||E&&m[E]||(g=g.substr(2),this.slashes=!0)}if(!m[E]&&(A||E&&!b[E])){for(var _,T,S=-1,I=0;I<l.length;I++){-1!==(j=g.indexOf(l[I]))&&(-1===S||j<S)&&(S=j)}-1!==(T=-1===S?g.lastIndexOf("@"):g.lastIndexOf("@",S))&&(_=g.slice(0,T),g=g.slice(T+1),this.auth=decodeURIComponent(_)),S=-1;for(I=0;I<f.length;I++){var j;-1!==(j=g.indexOf(f[I]))&&(-1===S||j<S)&&(S=j)}-1===S&&(S=g.length),this.host=g.slice(0,S),g=g.slice(S),this.parseHost(),this.hostname=this.hostname||"";var M="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!M)for(var N=this.hostname.split(/\./),R=(I=0,N.length);I<R;I++){var D=N[I];if(D&&!D.match(v)){for(var L="",k=0,C=D.length;k<C;k++)D.charCodeAt(k)>127?L+="x":L+=D[k];if(!L.match(v)){var P=N.slice(0,I),x=N.slice(I+1),U=D.match(d);U&&(P.push(U[1]),x.unshift(U[2])),x.length&&(g="/"+x.join(".")+g),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),M||(this.hostname=s.toASCII(this.hostname));var V=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+V,this.href+=this.host,M&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==g[0]&&(g="/"+g))}if(!p[O])for(I=0,R=c.length;I<R;I++){var F=c[I];if(-1!==g.indexOf(F)){var z=encodeURIComponent(F);z===F&&(z=escape(F)),g=g.split(F).join(z)}}var H=g.indexOf("#");-1!==H&&(this.hash=g.substr(H),g=g.slice(0,H));var q=g.indexOf("?");if(-1!==q?(this.search=g.substr(q),this.query=g.substr(q+1),i&&(this.query=y.parse(this.query)),g=g.slice(0,q)):i&&(this.search="",this.query={}),g&&(this.pathname=g),b[O]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){V=this.pathname||"";var G=this.search||"";this.path=V+G}return this.href=this.format(),this},r.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var i=this.protocol||"",n=this.pathname||"",s=this.hash||"",r=!1,h="";this.host?r=t+this.host:this.hostname&&(r=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&e.isObject(this.query)&&Object.keys(this.query).length&&(h=y.stringify(this.query));var o=this.search||h&&"?"+h||"";return i&&":"!==i.substr(-1)&&(i+=":"),this.slashes||(!i||b[i])&&!1!==r?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),s&&"#"!==s.charAt(0)&&(s="#"+s),o&&"?"!==o.charAt(0)&&(o="?"+o),i+r+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(o=o.replace("#","%23"))+s},r.prototype.resolve=function(t){return this.resolveObject(g(t,!1,!0)).format()},r.prototype.resolveObject=function(t){if(e.isString(t)){var i=new r;i.parse(t,!1,!0),t=i}for(var n=new r,s=Object.keys(this),h=0;h<s.length;h++){var o=s[h];n[o]=this[o]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),a=0;a<u.length;a++){var c=u[a];"protocol"!==c&&(n[c]=t[c])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!b[t.protocol]){for(var f=Object.keys(t),l=0;l<f.length;l++){var v=f[l];n[v]=t[v]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||m[t.protocol])n.pathname=t.pathname;else{for(var d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var p=n.pathname||"",y=n.search||"";n.path=p+y}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),w=t.host||t.pathname&&"/"===t.pathname.charAt(0),E=w||g||n.host&&t.pathname,O=E,A=n.pathname&&n.pathname.split("/")||[],_=(d=t.pathname&&t.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(_&&(n.hostname="",n.port=null,n.host&&(""===A[0]?A[0]=n.host:A.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===d[0]?d[0]=t.host:d.unshift(t.host)),t.host=null),E=E&&(""===d[0]||""===A[0])),w)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,A=d;else if(d.length)A||(A=[]),A.pop(),A=A.concat(d),n.search=t.search,n.query=t.query;else if(!e.isNullOrUndefined(t.search)){if(_)n.hostname=n.host=A.shift(),(M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.hostname=M.shift());return n.search=t.search,n.query=t.query,e.isNull(n.pathname)&&e.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!A.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var T=A.slice(-1)[0],S=(n.host||t.host||A.length>1)&&("."===T||".."===T)||""===T,I=0,j=A.length;j>=0;j--)"."===(T=A[j])?A.splice(j,1):".."===T?(A.splice(j,1),I++):I&&(A.splice(j,1),I--);if(!E&&!O)for(;I--;I)A.unshift("..");!E||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),S&&"/"!==A.join("/").substr(-1)&&A.push("");var M,N=""===A[0]||A[0]&&"/"===A[0].charAt(0);_&&(n.hostname=n.host=N?"":A.length?A.shift():"",(M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.hostname=M.shift()));return(E=E||n.host&&A.length)&&!N&&A.unshift(""),A.length?n.pathname=A.join("/"):(n.pathname=null,n.path=null),e.isNull(n.pathname)&&e.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,i=o.exec(t);i&&(":"!==(i=i[0])&&(this.port=i.substr(1)),t=t.substr(0,t.length-i.length)),t&&(this.hostname=t)}},sqXt:function(t,i,n){"use strict";function s(t,i,n){t&&i&&n&&(this._node=t,this.VK=n,this.aU=i,this.sN())}t.exports=s,s.prototype.destroy=function(){this.j5()},s.prototype.sN=function(){var t=this;t.z$=t.M5.bind(t),t.N5=["play","playing","pause","seeking","seeked","ended","error","timeupdate"],t.N5.forEach((function(i){t._node.addEventListener(i,t.z$)})),t.R5=t.D5.bind(t),t.aU.addEventListener("sourceopen",t.R5),window.addEventListener("resize",t.z$)},s.prototype.j5=function(){var t=this;t.N5.forEach((function(i){t._node.removeEventListener(i,t.z$)})),t.aU.removeEventListener("sourceopen",t.R5),window.removeEventListener("resize",t.z$)},s.prototype.M5=function(t){this.VK.sendVideoEvent(t)},s.prototype.D5=function(t){this.VK.onMediaSourceOpen(t)}},svu7:function(t,i,n){"use strict";var s;Object.defineProperty(i,"__esModule",{value:!0}),function(t){t.ALWAYS="always",t.TIMEBASED="timebased",t.NEVER="never"}(s=i.SkipOnError||(i.SkipOnError={})),i.defaultConfigs={adPlaybackOnly:!1,analytics:!0,autoplay:!1,casting:!0,continuousPlay:!1,enableRecovery:!0,fullscreen:!1,height:0,lang:"",loop:!1,mute:!1,preload:!0,region:"",site:"",skipOnError:s.NEVER,stopAtLastFrame:!1,stopBufferingOnPause:!1,liveUnloadOnPause:!0,enableDash:!1,ads:{timeout:{load:3,start:10},preferExternalPlayback:!0},ui:{ccOnMute:!1,chromeless:!1,docking:{enableOnMuted:!0,enableOnScrollDown:!1,enableOnScrollUp:!1,fadeInAnimation:!0,closeButtonFadeIn:!1,height:180,position:{bottom:20,left:-1,right:20,top:-1},showInfoCard:!0,threshold:50,width:320},endScreen:{show:!1},logos:{network:null,provider:null,rating:null},playlist:{inStream:!1,show:!1,position:"hidden",theme:"dark",mimetype:"playlist/simple",numberOfItems:12},seekControls:{show:!1,offset:10},showControls:!0,showFullscreenButton:!0,sliderColor:"",startScreen:{show:!0,showButton:!0,showDescription:!0,showProvider:!0,showTitle:!0},title:{showOnHover:!0,showOnStart:""}},backgroundPause:{onMute:!0,onUnmute:!1,timeToPause:5,suspendStreamingTime:20,backgroundSuspendStreaming:!0},volume:1,width:0,iframeRender:!1,pauseLiveVideo:!1,pauseVODVideo:!1,preloadBufferSize:32}},svza:function(t,i){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNTcuMDQyIiBoZWlnaHQ9IjIwLjAxNSI+PHN3aXRjaD48Zm9yZWlnbk9iamVjdCByZXF1aXJlZEV4dGVuc2lvbnM9Imh0dHA6Ly9ucy5hZG9iZS5jb20vQWRvYmVJbGx1c3RyYXRvci8xMC4wLyIgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBmaWxsPSIjZmZmIiBkPSJNMTU2Ljk2IDEuODc3bC01LjI1NSAxOC4xMjZoLTcuOTkybDIuMTk4LTcuMzg0LTUuNDYgNi4zNGgtMi42bC0zLjExNC0xMS44M2gtNi4yMjdsMS4yNy01LjI1MmgxMS44OGwxLjI1NyA3LjI1IDYuMDQ3LTcuMjQ2di0uMDA1aDcuOTk1em0tMzIuNTEzIDEzLjI0Yy0uODA4IDIuNjg4LTMuNjQ1IDQuODg3LTYuMzAyIDQuODg3aC0xMS44NmMtMi42NiAwLTQuMTcyLTIuMi0zLjM2NC00Ljg4N2wxLjg5OC02LjMxMmg4LjQxNmwtMS44NjYgNS43NDdoNC42MWwyLjM3NS03LjM3NmgtMTMuMDI2Yy45NTgtMi41IDMuNzUyLTUuMjk4IDYuMjc1LTUuMjk4aDExLjg2YzIuNjU3IDAgNC4wNTYgMy4wMTggMy4yNDcgNS43MDVsLTIuMjY0IDcuNTM0em0tMjIuNTMtNS4yNzZoLTcuMzAybC44MDgtMi42MzJoLTMuOWwtMi4zNiA3LjMyMmgzLjlsLjU4Ny0xLjM2NWg3LjI2bC0xLjA4NCAzLjU4Yy0uODEgMi42ODgtMy4xNjMgMy4yNTgtNS44MiAzLjI1OGgtOS4yNGMtMi42NTYgMC00LjE3LTIuMi0zLjM2Mi00Ljg4N2wyLjI2NC03LjUzM2MuODA4LTIuNjg4IDIuOTEtNS43MDUgNi43MzUtNS43MDVoOC42NWMyLjg5MyAwIDQuMzQ4IDMuMyAzLjU2MiA1Ljg1bC0uNjk4IDIuMTEzek03MC45ODUgMjAuMDA3bDEuNjUtNi43MjJoNi40NGwtMS42NTIgNi43MjJoLTYuNDM4em0tNy4zOS02LjcyaDYuNDM4bC0xLjY1IDYuNzJoLS40OTV2LjAwM0g1NS43NjZ2LS4wMDdoLTUuNzJsNC43OC0xNi4wNThoLTEuOTEyTDU0LjA3LjA2NWgxLjkxbC4wMDQtLjAxaDkuMjM4TDYwLjM5NiAxNi4yN2gyLjQ2N2wuNzMyLTIuOTg0ek01MC4yNTggNi45MTJINDMuN2wuNzI0LTIuOTdoLTE0LjY1TDMwLjkzLjA2N2gyMC45MzZsLS4wMTQuMDZoLjA2TDUwLjI2IDYuOTE0ek0xNy41MTggMjBoLTYuNzgyTDguOSAzLjk0NUgyLjkxNUw0LjA3LjA2NWg0LjM4NnYtLjAxaDguNzdsMS43MjggMTUuMTIgNC41LTE1LjEyaDUuNDhsLTUuOTQgMTkuOTQ2aC01LjQ3N3pNNy41NzggNS40NWwuNDQgNC42NzMtMy4wMzcgOS44OEguMDUzTDQuNDk2IDUuNDVINy41OHptMzIuMzQ2LS4yNzhsLTEuMjE3IDQuMDMyaDcuMzk3bC0uODczIDMuNzRoLTcuNjVMMzUuNDUgMjBoLTguNjNsNC40NzYtMTQuODI4aDguNjN6bTkzLjI2NCAzLjUzbDEuNDU3IDYuNDctMS40MyA0LjgzMmgtNi43NjRMMTI5LjgxIDguN2gzLjM4eiIvPjwvc3dpdGNoPjwvc3ZnPg=="},szY1:function(t,i,n){"use strict";t.exports=u;var s=n("Agtm"),e=n("91sO"),r=n("zY0b"),h=n("mvD1"),o=n("AbTv");function u(t,i){this.XH=t,this.JH=i,this.L5=t.noDemux?null:new s(t.demux,this.processSegmentData.bind(this)),this.k5=new e,this.DEFAULT_WIDTH=640,this.DEFAULT_HEIGHT=360,this.GAP_EPSILON=100,this.C5=this.XH.startOffsetTimestamp,this.P5=this.XH.lastChunkEndTs||{audio:NaN,video:NaN},this.x5=this.XH.lastFrameDuration||{audio:NaN,video:NaN},this.nU=this.XH.isAltAudioActive,this.U5=this.XH.prevSegEndTimeStamps;var n=this.XH.mp4State;this.V5={audio:!n||!n.audio||n.audio.shouldInit,video:!n||!n.video||n.video.shouldInit},this.B5={audio:0,video:0},this.F5={audio:{dts:NaN,pts:NaN},video:{dts:NaN,pts:NaN}}}u.prototype.destroy=function(){this.L5&&(this.L5.destroy(),this.L5=null),this.k5.destroy()},u.prototype.close=function(){this.L5&&this.L5.destroy()},u.prototype.append=function(t){this.L5&&this.L5.append(t)},u.prototype.endOfSegment=function(){this.L5&&this.L5.endOfSegment()},u.prototype.processSegmentData=function(t){if(t&&!t.error){var i,n=t.avData,s=t.pos,e=t.timedMetadata,r=this.XH.startTime,u=this.XH.timescale,a=0;if(n){var c=this.XH.pcr;(null==c||isNaN(c))&&(this.XH.pcr=c=n.pcr-r*u);var f=[],l=n.audio,v=n.video,d=null,p=[];if(l&&l.frames&&l.frames.length&&!this.nU&&(l.type="audio",l.config.timescale=u,l.config.duration=this.XH.duration*l.config.timescale,l.config.useEditBox=this.XH.useEditBox,a=this.z5("audio",l.frames[0],c,r,u),l.frames.forEach((function(t){t.dts-=a,t.pts-=a})),l.startTime=l.frames[0].dts,l.endTime=l.frames[l.frames.length-1].dts,f.push(l)),v&&v.frames&&v.frames.length){if(v.type="video",v.config.timescale=u,v.config.duration=this.XH.duration*v.config.timescale,v.config.width=this.XH.width||this.DEFAULT_WIDTH,v.config.height=this.XH.height||this.DEFAULT_HEIGHT,v.config.useEditBox=this.XH.useEditBox,v.frames.length>1){var m=v.frames[1].dts-v.frames[0].dts;v.config.frameRate=v.config.timescale/m,this.XH.frameRate=v.config.frameRate}a=this.z5("video",v.frames[0],c,r,u),v.frames.forEach((function(t){t.dts-=a,t.pts-=a})),v.startTime=v.frames[0].dts,v.endTime=v.frames[v.frames.length-1].dts,d=v.frames[0].pts,f.push(v);for(var b=0;b<v.frames.length;b++)for(var y=0;y<v.frames[b].cea608Data.length;y++){var g=v.frames[b].cea608Data[y];g.pts=v.frames[b].pts,g.dts=v.frames[b].dts,g.timescale=v.config.timescale,p.push(g)}}i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.APPEND_SRC_BUFFER});var w={};w.position=this.position=s,w.pcr=c,w.frameRate=this.XH.frameRate,"number"!=typeof this.C5&&"number"==typeof d&&(this.C5=d),w.startOffsetTimestamp=this.C5;var E=this.H5(f);w.lastChunkEndTs=this.P5,w.lastFrameDuration=this.x5,i.putParam("parsedInfo",w);var O=[];E&&E.tracks&&(i.putParam("tracks",E.tracks),E.tracks.forEach((function(t){O.push(t.data.buffer)})),p&&p.length>0&&i.putParam("cea608TrackData",p),i.putParam("transferables",O))}else{if(!e)return;var A=e.pts-this.XH.pcr;a=this.q5(A,r,u),e.timestamp=(A-a)/u,delete e.pts,(i=new o({type:h.MessageTypes.MESSAGE,id:h.MessageIds.TIMED_METADATA})).putParam("timedMetadata",e)}this.JH&&this.JH(i)}},u.prototype.z5=function(t,i,n,s,e){var r=this.F5[t];isNaN(r.dts)&&isNaN(r.pts)&&(this.F5[t]={dts:i.dts-n,pts:i.pts-n});var h=this.B5[t];return 0!==h?h+n:(this.B5[t]=this.q5(this.F5[t].dts,s,e),this.B5[t]+n)},u.prototype.q5=function(t,i,n){if(!this.XH.discontinuity)return 0;var s=this.U5?this.U5.audio:NaN;return t-(i=isNaN(s)?i*n:s)},u.prototype.H5=function(t){var i=this;if(t&&t.length){var n={tracks:[]};return t.forEach((function(t){if(t){t.config.offset=i.XH.live?0:i.C5;var s=i.XH.mp4State,e=i.V5[t.type];t.config.shouldInit=r.isNullOrUndefined(e)?"start"===i.position:e,t.config.seqNum=s[t.type]?s[t.type].seqNum++:0,"video"===t.type?t.config.defaultFrameDuration=i.XH.timescale/i.XH.frameRate:"audio"===t.type&&(t.config.defaultFrameDuration=Math.ceil(1024*i.XH.timescale/t.config.samplingFreq)),i.G5(t.type,t.frames,t.config.defaultFrameDuration),i.V5[t.type]=!1,i.XH.onlyMetadata&&(t.frames=[]);var h=i.k5.generate(t);h.onlyMetadata=i.XH.onlyMetadata,n.tracks.push(h)}})),n}},u.prototype.G5=function(t,i,n){if(i&&i.length){var s=i[i.length-1].dts,e=i[0].dts;if(r.isNumber(this.P5[t])&&!isNaN(this.P5[t])){var h=e-this.P5[t],o=Math.ceil(2*this.x5[t])-this.GAP_EPSILON,u=Math.ceil(10*this.x5[t]);if(h>o);else if(h<this.x5[t]-this.GAP_EPSILON&&"audio"===t){var a=this.P5[t]+this.x5[t];a-e>n&&(a=e+n-1),i[0].pts=a,i[0].dts=i[0].pts}if(h>o&&h<u)for(var c=Math.floor(h/n),f=0;f<c;f++){var l=i[0].pts,v=i[0].dts;i.unshift(r.deepCopy(i[0])),i[0].pts=l-n,i[0].dts=v-n}}this.P5[t]=s,this.x5[t]=n}}},t0SV: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("pUuq"),h=n("EOV8"),o=function(t){function i(){var i=t.call(this)||this;return i.mimetype=r.MediaItemMimeType.CONTAINER,i.type=h.PluginType.SOURCE_METADATA,i}return e(i,t),i}(n("IB1X").default);i.default=o},t7Hg:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("9tgk"),e=n("g6Is"),r=function(){function t(t){this.OM=t,this.OM&&(this.Y5=this.OM.addEventListener(e.Events.PLAYER_RENDERED,this.W5,this))}return t.prototype.destroy=function(){this.OM&&this.Y5&&this.OM.removeEventListener(e.Events.PLAYER_RENDERED,this.Y5),this.OM=null},t.prototype.W5=function(){s.default.sendBeacon()},t}();i.default=r},t7cw:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.MAX_SEG_INFO_ENTRIES_PER_BEACON=15,function(t){t.HERO="hero",t.NONE="none"}(i.PLAYLIST_POSITION||(i.PLAYLIST_POSITION={})),i.BEACONS={VIDEO_REQUEST:{evt:"v_request",type:"pb",payloadParams:["prefetch"],params:[{key:"es",value:"endscreen"}]},PLAYBACK_RESUMED:{evt:"p_resm",type:"pb"},PLAYBACK_STALLED:{evt:"v_stall",type:"pb",payloadParams:["value"]},PLAYBACK_BLOCKED:{evt:"v_play_blocked",type:"pb"},BITRATE_CHANGE:{evt:"v_btrt",type:"pb"},PLAYER_INFO:{evt:"info",type:"pb"},CMS_API_CALLED:{evt:"v_api",type:"pb"},PLAY_CALLED_AFTER_PREROLL:{evt:"v_play_apr",type:"pb"},PLAY_CALLED_ON_RENDERER:{evt:"v_play_rdr",type:"pb",payloadParams:["rtype"]},RENDERER_READY:{evt:"renderer_ready",type:"pb",payloadParams:["rtype","shouldplay"]},ACTIVE_RENDERER_PLAYING:{evt:"renderer_playing",type:"pb",payloadParams:["rtype"]},PRELOAD_START:{evt:"v_plstart",type:"pb"},PRELOAD_PROGRESS:{evt:"v_plprog",type:"pb"},PRELOAD_COMPLETE:{evt:"v_plcomp",type:"pb"},PLAYER_ERROR:{evt:"error",type:"pb"},PLAYER_WARNING:{evt:"warn",type:"pb"},PLAYBACK_START:{evt:"v_start",type:"pb"},PLAYBACK_STREAM_START:{evt:"v_strm_view",type:"pb"},PLAYBACK_PROGRESS:{evt:"v_prog",type:"pb"},PLAYBACK_COMPLETE:{evt:"v_comp",type:"pb"},INCOMPLETE_EXIT:{evt:"v_ncomp",type:"pb",payloadParams:["ext_resn"]},CTRL_SEEK:{evt:"ui_seek",type:"ctrl",payloadParams:["value_e"],params:[{key:"value",value:"lastKnownPlaybackTime"}]},CTRL_PLAYPAUSE:{evt:"ui_pp",type:"ctrl",payloadParams:["value"],params:[{key:"req_type",value:"requestType"},{key:"req_action",value:"requestAction"}]},CTRL_VOLUME:{evt:"ui_cv",type:"ctrl",payloadParams:["value"],params:[{key:"value_e",value:"volume"}]},CTRL_REPLAY:{evt:"ui_esrpl",type:"ctrl"},CTRL_PLAYREQUEST:{evt:"ui_pb_req",type:"ctrl",payloadParams:["req_type"]},CTRL_SETTINGS:{evt:"ui_stgs",type:"ctrl"},CTRL_CUSTOM_ELEMENT:{evt:"ui_ce",type:"ctrl",payloadParams:["cust_ctrl_data"]},CONTROLS_AUDIO_CHANGE:{evt:"ui_aslng",type:"ctrl",payloadParams:["value","value_e"]},THREE_SIXTY_INTERACT:{evt:"ui_360_interact",type:"ctrl"},THREE_SIXTY_PIE_INTERACT:{evt:"ui_360_pie_interact",type:"ctrl"},AIRPLAY_CONNECTION_STATE_CHANGE:{evt:"ui_airp",type:"ctrl"},UI_INTERACT:{evt:"none",type:"ctrl"},CC_TOGGLE:{evt:"ui_cctog",type:"ctrl"},CC_LANGUAGE_CHANGE:{evt:"ui_cclng",type:"ctrl",payloadParams:["value"]},CC_UPDATE_STYLE:{evt:"ui_ccstl",type:"ctrl",payloadParams:["value"]},CC_SETTINGS:{evt:"ui_ccstg",type:"ctrl"},FULLSCREEN_CHANGE:{evt:"ui_fs",type:"ctrl"}},i.PROGRESS_BEACON_INTERVALS=[{time:3,beacon:i.BEACONS.PLAYBACK_STREAM_START,key:"vstrm-view"},{time:10,beacon:i.BEACONS.PLAYBACK_PROGRESS,key:"vprog--initial"},{time:30,beacon:i.BEACONS.PLAYBACK_PROGRESS,recurring:!0,key:"vprog--recurring"}],i.PARAMS=["_V","type","ss","vid","pstaid","prt","cprt","vs","vlng","pver","host","_w","_R","pls","pltype","auto","snd","deos","deom","play_pos","psz","ccav","cdn","smpl","cont","replay","focus","view","expm","bit","drm","drmsys","_sqno","ts","pbst","pbstd","pl_type","viewd","soe","siteadspref"]},t9DJ:function(t,i,n){"use strict";t.exports={ERROR:-1,INITIAL:0,MEDIA_METADATA_LOADING:1,MEDIA_METADATA_LOADED:2,STREAM_METADATA_LOADING:3,STREAM_METADATA_LOADED:4,MEDIA_LOADED:5,PRELOADING:6,PLAY_REQUESTED:7,PLAYING:8,PAUSED:9,PLAY_COMPLETE:10}},"tA/Z":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("OJEu"),h=n("JcWZ"),o=n("aKiy"),u=n("0zFh"),a=function(t){function i(i){var n=t.call(this,"IframeBridge")||this;return n.fN=new o.default({}),n.RS=new u.default({}),n.cN=new r.default(i,n),n}return e(i,t),i.prototype.render=function(t){return this.cN.constructIframe(t),this.cN.routeControlsApiToIframe(),this},i.prototype.play=function(t,i){this.fN.play(t,i)},i.prototype.pause=function(t){this.fN.pause(t)},i.prototype.mute=function(){this.fN.setMute(!0)},i.prototype.unMute=function(){this.fN.setMute(!1)},i.prototype.setVolume=function(t){this.fN.setVolume(t)},i.prototype.seek=function(t){this.fN.seek(t)},Object.defineProperty(i.prototype,"iframeController",{get:function(){return this.cN},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"controls",{get:function(){return this.fN},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"playlist",{get:function(){return this.RS},enumerable:!1,configurable:!0}),i}(h.default);i.default=a},u0ul:function(t,i,n){"use strict";t.exports=h;var s=n("78k4"),e=n("WYoP"),r=n("nwj7");function h(t,i){var n=this;n.Z5=i||{},n._node="string"==typeof t?document.querySelector(t):t||null,Object.defineProperty(n,"error",{enumerable:!0,get:function(){return n.BI?n.BI.error:null}}),r.apply()}h.prototype.setSrc=function(t){if(!this._node)throw new e.Error(e.ERR_API_NO_NODE).error;if(t){if(t!==this.Q5){this.Q5=t,this.BI&&this.unload();try{this.BI=new s(window,this._node,this.Q5,this.Z5)}catch(t){}}}else this._node.src=""},h.prototype.getSegInfo=function(){try{return this.BI?this.BI.getSegInfo():null}catch(t){return null}},h.prototype.setQuality=function(t){try{this.BI.setABRMode(t)}catch(t){}},h.prototype.setAudioLanguage=function(t){try{this.BI.setAudioLanguage(t)}catch(t){}},h.prototype.unload=function(){this.BI&&this.BI.destroy(),this.BI=null},h.prototype.play=function(t){this.BI&&this.BI.play(t)},h.prototype.pause=function(){this.BI?this.BI.pause():this._node&&this._node.pause()},h.prototype.preload=function(t){this.BI&&this.BI.preload(t)},h.prototype.getCurrentDate=function(){if(this.BI)return this.BI.getCurrentDate()||null},h.prototype.suspendStreaming=function(){this.BI&&this.BI.suspendStreaming()},h.prototype.resumeStreaming=function(){this.BI&&this.BI.resumeStreaming()},h.prototype.destroy=function(){this.BI&&this.BI.destroy(),this.BI=null,this.Q5=null,this.Z5=null,this._node=null}},u1Zl: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("P2OX"),a=n("wqBe"),c=n("wqBe"),f=n("yf6s"),l=n("xPNL"),v=n("U3HQ"),d=u.PLAYLIST_POS.BOTTOM,p=u.PLAYLIST_POS.RIGHT,m=u.PLAYLIST_POS.HIDDEN,b={hidden:200,bottom:540,right:627};function y(t){return f.default.classList(t)}!function(t){t.UI_INTERACT="playlistUiInteract",t.SCROLLED_TO_END="playlistScrolledToEnd",t.BOTTOM_HEIGHT_CHANGE="bottomHeightChange"}(r=i.PlaylistEvent||(i.PlaylistEvent={}));var g=function(t){function i(i,n){var s=t.call(this,"PlaylistController")||this;return s.lO=i,s.vO=n,s.NV=i.getRootElement(),s.UV=i.getMainElement(),s.WV=i.getContentNode(),s.oE=i.getModel(),s.fO=i.getEventBus(),s.X5={},s.GS(),s.J5(),s.K5(),s}return e(i,t),i.prototype.destroy=function(){this.GF&&(window.removeEventListener("resize",this.GF),this.GF=null),this.Z_&&(this.Z_.destroy(),this.Z_=null),this.t6(),this.X5&&(this.fO.removeEventListeners(this.X5),this.X5={})},i.prototype.attachUpNextMouseEvents=function(){var t=this;this.i6&&this.i6.addEventListener("mouseover",(function(){y(t.NO).contains("vp-bottom-upnext")||(y(t.NO).add("vp-bottom-upnext"),t.n6.style.top=t.s6()+"px",t.publish(r.UI_INTERACT,{srcElement:"ctrl-next-hover"}),t.publish(r.UI_INTERACT,{srcElement:"ui_pl_nxt_hvr"}))})),this.i6&&this.i6.addEventListener("mouseout",(function(){window.setTimeout((function(){parseInt(window.getComputedStyle(t.e6).zIndex,10)<0&&(y(t.NO).remove("vp-bottom-upnext"),t.n6&&t.n6.removeAttribute("style"))}),100)}))},i.prototype.detachUpNextMouseEvents=function(){var t=this;this.i6&&this.i6.addEventListener("mouseover",(function(){y(t.NO).remove("vp-bottom-upnext"),t.n6&&t.n6.removeAttribute("style")}))},i.prototype.togglePlaylistUI=function(t){if(!this.lO.getFullscreen()&&this.r6&&this.h6!==m){var i=".vp-playlist-mode-"+this.h6,n=this.WV&&this.WV.querySelector(i);switch(t?y(n).add("vp-hide-playlist"):this.WV.clientWidth>b[this.h6]&&y(n).remove("vp-hide-playlist"),this.h6){case p:!0===t?this.UV&&this.UV.removeAttribute("style"):this.YF();break;case d:!0===t?this.WV&&(this.WV.style.height=this.o6.rootElem.height+"px"):(this.WV&&(this.WV.style.height=this.o6.contentElem.height+"px"),this.NV&&(this.NV.style.height=this.o6.rootElem.height+"px"))}}},i.prototype.getPlaylistRootElement=function(){return this.u6},i.prototype.getPlaylistUIPosition=function(){return this.h6},i.prototype.isPlaylistInStream=function(){return this.a6},i.prototype.isPlaylistShown=function(){return this.r6},i.prototype.onMediaItemLoaded=function(){this.r6&&(this.f6?this.l6.syncView():this.dO())},i.prototype.onMediaItemCurrent=function(t){this.r6&&(this.v6(),this.l6&&this.l6.onMediaItemCurrent())},i.prototype.onAdBreakStarted=function(){this.r6&&this.d6(!1)},i.prototype.onAdBreakEnded=function(){this.v6()},i.prototype.J5=function(){this.r6&&(this.oE.continuousPlay=!0,this.p6(),this.X5[a.FULLSCREEN_CHANGE]=this.fO.addEventListener(a.FULLSCREEN_CHANGE,this.m6,this),this.X5[c.VideoEvent.ENDED]=this.fO.addEventListener(c.VideoEvent.ENDED,this.b6,this)),this.Q_&&(this.Z_=new v.default(this.Q_,this.X_.bind(this)))},i.prototype.b6=function(){this.d6(!1)},i.prototype.v6=function(){this.r6&&(this.RS.isEndOfPlaylist()?this.d6(!1):this.d6(!0))},i.prototype.d6=function(t){if(this.r6&&this.y6!==t&&this.i6){var i=this.RS,n=i?i.getCurrentItem():null;t&&n&&!n.isLive()?y(this.i6).remove("disabled"):y(this.i6).add("disabled"),this.y6=t}},i.prototype.X_=function(){if(o.userAgent.mobile&&this.g6)return this.g6.style.display="block",void(y(this.g6).contains("open")?(y(this.NO).remove("vp-bottom-upnext"),y(this.g6).remove("open"),this.n6&&this.n6.removeAttribute("style")):(y(this.g6).add("open"),this.n6&&(this.n6.style.top=this.s6()+"px"),y(this.NO).add("vp-bottom-upnext")));this.l6.upNextBtnTapHandler()},i.prototype.w6=function(){var t=this.lO.controls;return!!t&&(this.NO=t&&t.getBottomBar(),this.n6=this.NO.querySelector(".vp-bottom-container"),this.Q_=this.NO.querySelector(".vp-upnext-btn"),this.g6=this.NO.querySelector(".vp-upnext-playlist"),this.i6=this.NO.querySelector(".vp-upnext-container"),!0)},i.prototype.GS=function(){var t,i=this.oE.playlistUIConfig;if(this.f6=!1,this.h6=null,this.a6=!1,this.r6=!1,i&&!0===i.show&&(this.h6=i.position,!0===i.inStream&&this.h6===p&&(this.a6=!0),!o.userAgent.mobile)){t=this.NV&&this.NV.clientWidth;var n=b[this.h6];t&&t>=n&&(this.r6=!0)}this.r6&&(this.w6()||(this.r6=!1))},i.prototype.p6=function(){var t,i,n,s=this;if(this.r6&&this.h6!==m){switch(this.o6={rootElem:{height:null,width:null},contentElem:{height:null,width:null},mainElem:{height:null,width:null}},this.h6){case d:t=this.NV?this.NV.clientHeight:0,i=t+83,this.NV&&(this.NV.style.height=i+"px"),this.WV&&(this.WV.style.height=t+"px"),this.E6=t+"px",this.o6.rootElem.height=i,this.o6.rootElem.width=this.NV?this.NV.clientWidth:0,this.o6.contentElem.height=this.WV?this.WV.clientHeight:0,setTimeout((function(){s.publish(r.BOTTOM_HEIGHT_CHANGE,{height:i})}));break;case p:n=(this.WV?this.WV.clientWidth:0)-(this.a6?276:318),this.UV&&(this.UV.style.width=n+"px"),this.o6.rootElem.width=this.NV?this.NV.clientWidth:0,this.o6.mainElem.width=n}this.fO.publish(a.PLAYER_DIMENSION_CHANGE,this.lO.getPlayerDimensions())}},i.prototype.t6=function(){var t;if(this.r6)switch(this.h6){case d:t=(this.NV?this.NV.clientHeight:0)-83,this.NV&&(this.NV.style.height=t+"px"),this.o6.rootElem.height=t,this.publish(r.BOTTOM_HEIGHT_CHANGE,{height:t})}},i.prototype.s6=function(){return(this.WV?this.WV.clientHeight:0)-(this.n6?this.n6.clientHeight:0)},i.prototype.dO=function(){if(!o.userAgent.mobile||this.h6===m){switch(this.l6=new l.default(this.fO,this.lO,this.oE,this.vO),this.O6(),this.h6){case m:this.u6=this.l6.create(m),this.e6=this.u6,this.g6&&this.g6.appendChild(this.e6),y(this.i6).remove("hide"),o.userAgent.mobile||this.attachUpNextMouseEvents();break;case d:this.e6=this.l6.create(m),this.u6=this.l6.create(d),this.g6&&this.g6.appendChild(this.e6),this.WV&&this.WV.appendChild(this.u6),y(this.i6).remove("hide"),y(this.g6).add("hide");break;case p:this.e6=this.l6.create(m),this.u6=this.l6.create(p),this.g6&&this.g6.appendChild(this.e6),this.WV&&this.WV.appendChild(this.u6),y(this.i6).remove("hide"),y(this.g6).add("hide")}this.l6.setPlaylistViewSize(),this.f6=!0}},i.prototype.m6=function(){this.lO.isDocked()||this.h6!==m&&(!0===this.lO.getFullscreen()?this.h6===d?this.WV&&(this.WV.style.height="100%"):this.h6===p&&this.UV&&this.UV.style&&(this.UV&&(this.UV.style.width="100%"),this.UV&&(this.UV.style.zIndex="1")):this.h6===d?this.WV&&(this.WV.style.height=this.E6):this.h6===p&&(this.UV&&(this.UV.style.width=this.o6.mainElem.width),this.UV&&(this.UV.style.zIndex="auto")))},i.prototype.YF=function(){if(!this.lO.getFullscreen())if(this.f6){var t=this.WV?this.WV.clientWidth:0,i=b[this.h6];switch(this.h6){case p:var n=t-(this.a6?276:318);t>=i?(this.UV.style.width=n+"px",this.o6.mainElem.width=n,y(this.u6).remove("vp-hide-playlist")):(this.UV.style.width=t+"px",this.o6.mainElem.width=t,y(this.u6).add("vp-hide-playlist"));break;case d:this.l6&&this.l6.syncPgBtns(),t>=i?y(this.u6).remove("vp-hide-playlist"):y(this.u6).add("vp-hide-playlist")}var s=this.lO.getPlayerDimensions();f.default.areDimensionsEqual(s,this.oE.uiState)||this.fO.publish(a.PLAYER_DIMENSION_CHANGE,s)}else this.GS(),this.J5(),this.r6&&this.dO()},i.prototype.O6=function(){var t=this;this.l6.on(l.PlaylistViewEvent.UI_INTERACT,(function(i){t.publish(r.UI_INTERACT,i)}),this),this.l6.on(l.PlaylistViewEvent.SCROLLED_TO_END,(function(){t.publish(r.SCROLLED_TO_END)}),this)},i.prototype.K5=function(){this.GF=this.YF.bind(this),window.addEventListener("resize",this.GF)},Object.defineProperty(i.prototype,"RS",{get:function(){return this.oE.playlist},enumerable:!0,configurable:!0}),i}(h.default);i.PlaylistController=g},u9uJ:function(t,i,n){var s=n("Ruv9");t.exports=new s.Template({code:function(t,i,n){var s=this;return s.b(n=n||""),s.b("<div class='vp-adview-simple'>"),s.b("\n"+n),s.b("    <div class='vp-adbreak-progress'>"),s.b("\n"+n),s.b("        <span>Ad 1/3: 15s</span>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("    <div class='vp-adbreakitem-cta'>"),s.b("\n"+n),s.b("        <div class='vp-adview-btn'>Get Now</div>"),s.b("\n"+n),s.b("    </div>"),s.b("\n"+n),s.b("</div>"),s.b("\n"),s.fl()},partials:{},subs:{}})},"uHL/":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("ToqN"),a=n("7Meh"),c=n("XOUg"),f=n("7PPe"),l=n("P2OX"),v=n("wqBe"),d=n("MKj3"),p=n("Z5/A"),m=n("S8wC"),b=n("pbqO"),y=n("Na72"),g=n("bubU"),w=n("Fry/"),E=n("j/Iz"),O=n("ablw"),A=n("yf6s"),_=n("fpO/"),T=n("QX5s");!function(t){t.PLAY_CAST="playCast",t.PAUSE_CAST="pauseCast",t.SEEK_CAST="seekCast",t.SRC_SWITCHING="pbcSrcSwitching",t.SRC_SWITCHED="pbcSrcSwitched",t.CLICK="pbcVideoClick",t.PAUSE="pbcPaused",t.PLAYBACK_ERROR="pbcError",t.PLAYBACK_INFO="pbcInfo",t.LOADEDMETADATA="pbcLoadedMetadata",t.LOADEDDATA="pbcLoadedData",t.STALLED="pbcStalled",t.LOADSTART="pbcLoadstart",t.PLAY="pbcPlay",t.PLAYING="pbcPlaying",t.SEEKING="pbcSeeking",t.SEEKED="pbcSeeked",t.WAITING="pbcWaiting",t.TIMEUPDATE="pbcTimeUpdate",t.MUTE_CHANGED="pbcMuteChanged",t.VOLUME_CHANGED="pbcVolumeChanged",t.END_FULLSCREEN="pbcEndFullscreen",t.PLAYBACK_START_NOT_ALLOWED="pbcStartNotAllowed",t.PLAYBACK_START_BLOCKED="pbcPlayBlocked",t.PLAYBACK_START_NOT_BLOCKED="pbcPlayNotBlocked",t.PLAYBACK_RESUME="pbcResume",t.PLAYBACK_NEW_ATTEMPT="pbcNewAttempt",t.PLAYBACK_REQUEST="pbcRequest",t.PLAYBACK_LOADING="pbcLoading",t.PLAYBACK_PAUSING="pbcPausing",t.PLAYBACK_STARTED="pbcStarted",t.PLAYBACK_ERROR_NO_VALID_STREAM="pbcErrorNoValidStream",t.PLAYBACK_ERROR_BEFORE_METADATA_READY="pbcErrorBeforeMetadataReady",t.PLAYBACK_ERROR_INCONSISTENT_METADATA="pbcErrorInconsistentMetadata",t.PLAYBACK_ERROR_NO_RENDERER="pbcErrorNoRenderer",t.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED="pbcErrorFlashNotSupported",t.PLAYBACK_SYNC_VIEW="pbcSyncView",t.PLAYBACK_PROGRESS="pbcProgress",t.PLAYBACK_NEED_MEDIA_ITEM_METADATA="pbcNeedMediaItemMetadata",t.PLAYBACK_NEED_MEDIA_ITEM_SOURCE="pbcNeedMediaItemSource",t.MODE_CHANGE="pbcModeChange",t.RENDERER_SWITCH="pbcRendererSwitch",t.RENDERER_TIMEOUT="pbcRendererTimeout",t.RENDERER_CREATED="pbcRendererCreated",t.SET_PLAYLIST_POSITION_BEFORE="pbcSetPlaylistPositionBefore",t.STOP_CURRENT_PLAYBACK="pbcStopCurrentPlayback",t.MEDIA_ITEM_IS_LOADED="pbcMediaItemIsLoaded",t.MEDIA_ITEM_CURRENT="pbcMediaItemCurrent",t.MEDIA_ITEM_PLAYBACK_STARTED="pbcMediaItemStarted",t.MEDIA_ITEM_PLAYBACK_RESUMED="pbcMediaItemResumed",t.MEDIA_ITEM_PLAYBACK_PROGRESS="pbcMediaItemProgress",t.MEDIA_ITEM_PLAYBACK_ENDED="pbcMediaItemEnded",t.MEDIA_ITEM_PLAYBACK_STOPPED="pbcMediaItemStopped",t.MEDIA_ITEM_ERROR="pbcMediaItemError",t.PLAYLIST_POSITION_HAS_CHANGED="pbcPlaylistPositionChanged",t.PLAYLIST_NO_MORE_ITEM_TO_PLAY="pbcPlaylistNoMoreItemToPlay",t.PLAYLIST_COMPLETE="pbcPlaylistComplete",t.AD_BREAK_STARTED="pbcAdBreakStarted",t.AD_BREAK_ENDED="pbcAdBreakEnded",t.AD_BREAK_NEED_RESOLVE="pbcAdBreakNeedResolve",t.AD_BREAK_ITEM_CURRENT="pbcAdBreakItemCurrent",t.AD_BREAK_ITEM_PLAYBACK_STARTED="pbcAdBreakItemStarted",t.AD_BREAK_ITEM_PLAYBACK_SKIPPED="pbcAdBreakItemSkipped",t.AD_BREAK_ITEM_PLAYBACK_RESUMED="pbcAdBreakItemResumed",t.AD_BREAK_ITEM_PLAYBACK_PROGRESS="pbcAdBreakItemProgress",t.AD_BREAK_ITEM_PLAYBACK_ENDED="pbcAdBreakItemEnded",t.AD_BREAK_ITEM_PLAYBACK_STOPPED="pbcAdBreakItemStopped",t.AD_BREAK_ITEM_ERROR="pbcAdBreakItemError",t.CREATE_OVERLAY_CONTAINER="pbcCreateOverlayContainer",t.PLAY_CALLED_AFTER_PREROLL="playCalledAfterPreroll",t.PLAY_CALLED_ON_RENDERER="playCalledOnRenderer",t.AD_METRICS="adMetrics"}(h=i.PlaybackEvent||(i.PlaybackEvent={}));var S=function(t){function i(i,n,s){var e=t.call(this,"PlaybackController")||this;return e.A6=!1,e.YY=!0,e._6=!1,e.T6=!1,e.S6=!1,e.I6=!1,e.j6=!1,e.M6=null,e.N6=null,e.oE=i,e.fO=n,e.R6={},e.D6=new c.RendererController(i,n,s),e.L6(),e.eO=new b.default,e.oE.setPlaybackState(e.eO),e.k6=new a.AdPlaybackController(i,s),e.C6(),e.P6=new _.default(e,e.oE),e.x6(),e.U6=new T.default(e.oE),e.V6(),e.xI=new g.default(e),e}return e(i,t),Object.defineProperty(i.prototype,"RS",{get:function(){return this.oE.playlist},enumerable:!0,configurable:!0}),i.prototype.startPlayback=function(t){var i=this;if(void 0===t&&(t=null),!this.eO.criticalError){if(!this.U6.isPlayerVisible())return this.fO.publish(v.PROFILE_START,v.METRICS.DEFERRING_PLAYBACK),this.xI.enQueue(this.startPlayback,t),void(this.eO.shouldPlay=!1);if(this.eO.shouldPlay=!0,this.P6.resumeStreaming(),this.oE.getState()===y.default.VIDEO)return this.getPlayingItem()instanceof p.default&&!this.eO.hasCurrentItemPlayed&&this.k6.resumeClientAdStartTimer(),void this.B6(0);var n=this.vT();if(n&&this.oE.rendered&&!this.eO.attemptingPlayback())if(this.oE.autoplay||this.A6||(this.A6=!0,this.publish(v.PROFILE_START,v.METRICS.CLICK_TO_START)),this.oE.castState&&this.oE.castState.connected)this.publish(h.PLAY_CAST);else{if(t&&(this.oE.requestType=t.type,t.action&&A.default.isValidRequestAction(t.action)&&(this.oE.requestAction=t.action)),!this.F6())return this.oE.showStartScreen=!0,this.oE.autoplay=!1,void this.enterInitState();this.oE.waitingForUserTap?this.I6||(this.I6=!0,this.z6=this.once(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,(function(){i.I6=!1,i.startPlayback(t)}),this)):(this.H6=null,this.oE.isPaused()?this.playCurrent():w.default.autoplaySupported||n.fetchFinished()?this.q6(n):this.publish(h.PLAYBACK_ERROR_BEFORE_METADATA_READY))}}},i.prototype.playCurrent=function(t){this.oE.setState(y.default.VIDEO),this.D6.play(t)},i.prototype.handleSourceAvailable=function(t){var i=this.vT();i&&t&&(i.equals(t)?this.eO.playingItem instanceof p.default?this.D6.handleAdvancePreparePreloadNextRenderer(t):(this.k6.prepareAdsForItem(t),this.G6(t)):this.D6.handleAdvancePreparePreloadNextRenderer(t))},i.prototype.handleAdBreakResolved=function(t,i){this.k6.handleAdBreakResolved(t,i)},i.prototype.getRendererController=function(){return this.D6},i.prototype.skipAd=function(){this.D6.skip()},i.prototype.handleCriticalError=function(t){this.C3(),this.eO.criticalError=t,this.Y6(),this.D6.endVideo(),this.D6.stopMedia()},i.prototype.pause=function(t){if(this.eO.shouldPlay=!1,this.eO.hasRendererPlayCalled&&this.oE.rendered){var i=this.oE.castState;if(i&&i.connected&&!i.paused)this.publish(h.PAUSE_CAST);else{if(this.z6)return this.removeEventListener(v.TOUCH_TO_PLAY_RESTRICTION_REMOVED,this.z6),void delete this.z6;if(t&&(this.oE.requestType=t.type,A.default.isValidRequestAction(t.action)&&(this.oE.requestAction=t.action)),this.eO.attemptingPlayback())this.getPlayingItem()instanceof p.default&&!this.eO.hasCurrentItemPlayed&&this.k6.pauseClientAdStartTimer(),this.pauseCurrent(),this.C3(),this.P6.scheduleSuspend()}}},i.prototype.pauseCurrent=function(){this.D6.pause()},i.prototype.seek=function(t){this.oE.rendered&&(this.oE.castState&&this.oE.castState.connected?this.publish(h.SEEK_CAST,t):this.oE.getState()===y.default.VIDEO&&this.D6.seek(t))},i.prototype.seekCurrent=function(t){if(this.oE.rendered&&this.oE.getState()===y.default.VIDEO){var i=this.W6(t);this.seek(i)}},i.prototype.syncPlaybackState=function(){this.D6.syncPlaybackState()},i.prototype.getRawCurrentTime=function(){return this.D6.getCurrentTime()},i.prototype.getCurrentTime=function(){return this.SW||0},i.prototype.getCurrentDate=function(){return this.D6.getCurrentDate()},i.prototype.rewindAfterEnd=function(t){this.D6.rewindAfterEnd(t)},i.prototype.getRawDuration=function(){return this.D6.getDuration()},i.prototype.getDuration=function(){var t=this.getPlayingItem();if(!t){var i=this.vT();return i?i.duration:NaN}if(t instanceof m.default)return t.duration;if(t instanceof p.default){if(t.instream)return t.duration;var n=this.getRawDuration();return isNaN(n)?t.duration:n}return NaN},i.prototype.showAirplayTargetMenu=function(){this.D6.showAirplayTargetMenu()},i.prototype.setQuality=function(t){this.D6.setQuality(t)},i.prototype.setVolume=function(t){var i=this.oE.volume;this.oE.volume=t,this.D6.setVolume(t),this.fO.publish(v.CTRL_VOLUME,i),this.fO.publish(f.ExternalEvt.PLAYER_VOLUME_CHANGE,t)},i.prototype.setMute=function(t){this.oE.mute=t,this.D6.setMute(t),this.fO.publish(f.ExternalEvt.PLAYER_MUTE_CHANGE,t)},i.prototype.setAudioLanguage=function(t){this.D6.setAudioLanguage(t)},i.prototype.stopMedia=function(){this.D6.stopMedia()},i.prototype.enableMobileNativeCC=function(t){this.D6.enableMobileNativeCC(t)},i.prototype.resumeContinuousPlay=function(t){this.oE.continuousPlay=!0;var i={skipWatchedVideos:this.oE.skipWatchedVideos};if(this.oE.getState()===y.default.END){var n=this.RS.getNextPosition(this.oE.continuousPlay,this.oE.loop,i);-1!==n&&this.setPlaylistPosition(n,!0,t)}},i.prototype.setPlaylistPosition=function(t,i,n){if(this.oE.rendered){var s=this.RS,e=this.vT(),r=s.getMediaItemAt(t);if(!(e&&e.equals(r)&&this.eO.isInitializing())){this.stopCurrentPlayback(n),this.oE.errors=[],this.eO.criticalError=null,s.position=t;var o=this.vT();o?(this.initNewPlayback(o),i&&this.startPlayback(n),this.publish(h.PLAYLIST_POSITION_HAS_CHANGED,o)):this.publish(h.PLAYLIST_NO_MORE_ITEM_TO_PLAY),this.publish(h.PLAYBACK_SYNC_VIEW)}}},i.prototype.initNewPlayback=function(t){this.enterInitState(),this.Z6(t)},i.prototype.enterInitState=function(){this.oE.setState(y.default.INIT),this.Q6(),this.publish(h.PLAYBACK_SYNC_VIEW)},i.prototype.getPlayingItem=function(){var t=this.X6();return t instanceof m.default&&this.k6.getPlayingInstreamAd()||t},i.prototype.stopCurrentPlayback=function(t){var i=this.getPlayingItem();i instanceof p.default?(this.publish(h.AD_BREAK_ITEM_PLAYBACK_STOPPED,i),this.k6.handleAdBreakItemEnded(i)):i instanceof m.default&&(!t||t.type===l.REQUEST_TYPES.CONTINUOUS&&t.action!==l.REQUEST_TYPES.CLICK||this.publish(h.MEDIA_ITEM_PLAYBACK_STOPPED,i),i.position=0,this.eO.looped=!1,this.oE.startTime=NaN,this.Y6(i)),this.eO.playingItem=null;var n=this.vT(),s=n&&n.getStreamType()||null;this.J6(s),this.K6(),this.D6.endVideo(),this.D6.stopMedia()},i.prototype.getActiveRenderer=function(){return this.D6.getActiveRenderer()},i.prototype.suspendStreaming=function(){this.D6&&this.D6.suspendStreaming()},i.prototype.resumeStreaming=function(){this.D6&&this.D6.resumeStreaming()},i.prototype.handleVisibilityChange=function(t){this.fO.publish(v.PROFILE_END,v.METRICS.DEFERRING_PLAYBACK),this.xI.deQueue(this.startPlayback,!0),this.P6.onVisibilityChange(t)},i.prototype.destroy=function(){t.prototype.destroy.call(this),this.k6.destroy(),this.P6.destroy(),this.D6&&this.D6.destroy(),this.U6&&this.U6.destroy()},i.prototype.onActiveRendererClick=function(){this.publish(h.CLICK)},i.prototype.onActiveRendererPlaying=function(){this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),this.eO.hasCurrentItemPlayed=!0;var t=this.getPlayingItem();t instanceof m.default&&!this.R6[t.id]&&this.fO.publish(f.ExternalEvt.ACTIVE_RENDERER_PLAYING,this.D6.activeRendererType),this.eO.playingItem=t,this.N6=null,this.eO.videoLoading()&&(u.userAgent.android||(this.oE.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW))),this.oE.isPaused()&&(this.oE.setPaused(!1),this.t8&&clearTimeout(this.t8),t instanceof m.default?this.publish(h.MEDIA_ITEM_PLAYBACK_RESUMED,t):t instanceof p.default&&(this.eO.shouldPlay=!0,this.publish(h.AD_BREAK_ITEM_PLAYBACK_RESUMED,t))),t&&!this.R6[t.id]&&this.i8(t),this.P6.onPlaybackPlaying(this.U6.isPlayerVisible()),this.publish(h.PLAYING,t)},i.prototype.onActiveRendererTimeupdate=function(t){var i=t.currentTime,n=t.duration,s=t.buffered;u.userAgent.android&&!this.T6&&(this.oE.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW),this.T6=!0),this.k6.updatePlaybackProgress({currentTime:i,playingItem:this.X6()});var e=this.getPlayingItem();if(this.eO.playingItem=e,this.eO.currentRawTime=i,e&&(this.n8(e,i),e instanceof m.default&&(e.position=i),O.isNumber(i)&&O.isNumber(n)&&!(i>n+1))){if(e.getDuration()||e.isLive()||e.setDuration(n),this.eO.duration=this.getDuration(),this.oE.isLoading()&&(!u.userAgent.safari||u.userAgent.safari<6)){this.H6?i-this.H6>=1.5&&(this.H6=null,this.oE.setLoading(!1),this.publish(h.PLAYBACK_SYNC_VIEW)):this.H6=i}else this.H6=null;var r={playingItem:e,currentTime:i,duration:n,buffered:s};e instanceof m.default?this.publish(h.MEDIA_ITEM_PLAYBACK_PROGRESS,r):e instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_PROGRESS,r),this.publish(h.PLAYBACK_PROGRESS,{currentItem:e,currentTime:i,duration:n,buffered:s}),this.publish(h.TIMEUPDATE,t)}},i.prototype.onActiveRendererSeeking=function(t){null===this.N6&&(this.N6=this.eO.currentRawTime),this.oE.setLoading(!0),this.publish(h.SEEKING,t)},i.prototype.onActiveRendererSeeked=function(t){this.oE.setLoading(!1),this.H6=null;var i=this.N6;this.N6=null,this.k6.handleMediaItemSeeked(this.getPlayingItem(),t.currentTime,i),this.M6||this.publish(h.SEEKED,t)},i.prototype.onActiveRendererEnded=function(){this.eO.playingItem=null;var t=this.getPlayingItem();t instanceof m.default?this.s8(t):t instanceof p.default&&this.k6.handleAdBreakItemEnded(t)},i.prototype.onActiveRendererPause=function(){this.oE.getState()!==y.default.INIT&&this.oE.getState()!==y.default.END&&(this.oE.setPaused(!0),this.oE.setLoading(!1),this.publish(h.PAUSE))},i.prototype.onActiveRendererPlayComplete=function(t){this.publish(h.AD_METRICS,t)},i.prototype.onActiveRendererError=function(t){var i=this.getPlayingItem();i instanceof m.default?this.publish(h.MEDIA_ITEM_ERROR,i,t):i instanceof p.default&&this.e8(i,t)},i.prototype.onActiveRendererInfo=function(t){this.publish(h.PLAYBACK_INFO,t)},i.prototype.onActiveRendererWaiting=function(t){if(t){if(!u.userAgent.tv){var i=t.value;this.oE.setLoading(i),this.publish(h.PLAYBACK_SYNC_VIEW)}this.publish(h.WAITING,t)}},i.prototype.onActiveRendererStalled=function(){this.publish(h.STALLED)},i.prototype.onActiveRendererLoadStart=function(){this.publish(h.LOADSTART)},i.prototype.onActiveRendererPlay=function(){this.publish(h.PLAY)},i.prototype.onActiveRendererVolumeChange=function(t){var i=this.D6,n=t&&O.isBoolean(t.mute)?t.mute:i.getMuted(),s=t&&O.isNumber(t.volume)?t.volume:i.getVolume();n!==this.oE.mute&&this.publish(h.MUTE_CHANGED,n),s!==this.oE.volume&&this.publish(h.VOLUME_CHANGED,s)},i.prototype.onActiveRendererLoadedData=function(){this.publish(h.LOADEDDATA)},i.prototype.onActiveRendererLoadedMetadata=function(){this.publish(h.LOADEDMETADATA)},i.prototype.onActiveRendererSrcSwitching=function(){this.publish(h.SRC_SWITCHING)},i.prototype.onActiveRendererSrcSwitched=function(){this.publish(h.SRC_SWITCHED)},i.prototype.onActiveRendererPlayBlocked=function(){this.publish(h.PLAYBACK_START_BLOCKED)},i.prototype.onActiveRendererPlayNotBlocked=function(){this.publish(h.PLAYBACK_START_NOT_BLOCKED)},i.prototype.onActiveRendererSkipped=function(){var t=this.getPlayingItem();t instanceof p.default&&this.publish(h.AD_BREAK_ITEM_PLAYBACK_SKIPPED,t)},i.prototype.onActiveRendererEndFullscreen=function(){this.publish(h.END_FULLSCREEN)},i.prototype.r8=function(t){this.Q6(),this.oE.setState(y.default.VIDEO),this.oE.setLoading(!0),this.publish(h.PLAYBACK_LOADING,t)},i.prototype.h8=function(){this.oE.setPaused(!0),this.oE.setLoading(!1),this.publish(h.PLAYBACK_PAUSING)},i.prototype.q6=function(t){if(this.pP=t,this.o8(),this.Q6(),this.publish(v.PROFILE_START,v.METRICS.PLAYBACK_START),this.P6.onPlaybackStart(),t.isContainer()){if(this.k6.startTracking(t),t.adBreaks&&t.adBreaks.length||!t.adConfig)t.hasNativeAd()?this.k6.playClientAdBreaks(t,d.AdBreakType.NATIVE):t.hasStreams()&&this.h0(t);else{var i=t.hasStreams()?d.AdBreakType.PREROLL:d.AdBreakType.NATIVE;this.k6.prepareAdsForItem(t),this.k6.playClientAdBreaks(t,i)}this.publish(h.PLAYBACK_SYNC_VIEW)}else{if(t.hasSource())return this.h0(t),void this.publish(h.PLAYBACK_SYNC_VIEW);this.oE.setState(y.default.WAITING),this.oE.setLoading(!0),this.S6=!0,this.publish(h.PLAYBACK_NEED_MEDIA_ITEM_SOURCE,t),this.publish(h.PLAYBACK_SYNC_VIEW)}},i.prototype.X6=function(){var t=this.D6.getActiveRenderer();return t?t.getPlayableItem():null},i.prototype.G6=function(t){var i,n=this;if(t.hasLiveStreams()&&t.hasLiveStateForVod())this.publish(h.PLAYBACK_ERROR_INCONSISTENT_METADATA);else{if(this.eO.loadedItem=t,t.customConfig&&t.customConfig.meta&&t.customConfig.meta.videoMarkers){var s=t.customConfig.meta.videoMarkers.markers;s&&s.length>0&&this.fO.publish(f.ExternalEvt.MARKERS_RECEIVED,((i={})[t.id]=s,i))}if(t.hasMetadata())this.eO.attemptingPlayback()||this.j6||this.oE.firstCriticalError||this.enterInitState();else if(!(this.oE&&this.RS&&this.vT()).equals(t))return;var e=t.position||this.oE.startTime;this.D6.prepareNextRenderer(t,(function(i){if(i)return n.C3(),void(E.default.isHtml5MseAvailable()?n.publish(h.PLAYBACK_ERROR_NO_RENDERER,i):n.publish(h.PLAYBACK_ERROR_FLASH_NOT_SUPPORTED,i));if(n._6=!1,n.D6.setItemNextRenderer(t,e))if(n.S6){if(n.S6=!1,!n.F6())return void n.publish(h.PLAYBACK_START_NOT_ALLOWED);n.h0(t)}else n.D6.preloadNextRenderer();else n.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)})),this.publish(h.MEDIA_ITEM_IS_LOADED,t),this.j6=!1}},i.prototype.h0=function(t){t===this.vT()&&(this.u8()||(this.oE.setState(y.default.VIDEO),this.oE.setLoading(!0),this.publish(h.PLAYBACK_REQUEST,t.id),this.eO.hasStartedPlayback=!0,this.YY=!1,this.k6.prepareAdsForItem(t),this.k6.startTracking(t),this.publish(v.PROFILE_START,v.METRICS.AD_PLUGIN),this.k6.playClientAdBreaks(t,d.AdBreakType.PREROLL),this.publish(h.PLAYBACK_SYNC_VIEW)))},i.prototype.a8=function(t){var i=this;if(this.o8(),t===this.vT()){this.J6(t.getStreamType()),this.publish(v.PROFILE_END,v.METRICS.AD_PLUGIN),t.restartIfNeeded();var n=this.oE.startTime||0;t.isLongForm()&&isNaN(this.oE.startTime)&&t.position>0&&(this.oE.isResumingFromSavedPosition=!0,n=t.position),this.D6.prepareNextRenderer(t,(function(s){s?i.C3():i.D6.setItemNextRenderer(t,n)?i.D6.switchAndPlayNextRenderer(n):i.publish(h.PLAYBACK_ERROR_NO_VALID_STREAM)}))}},i.prototype.c8=function(t){var i=this;this.publish(h.AD_BREAK_ITEM_CURRENT,t),t.streams&&0!==t.streams.length?this.D6.prepareNextRenderer(t,(function(n){i.D6.setItemNextRenderer(t)?i.D6.switchAndPlayNextRenderer():i.e8(t)})):this.e8(t,new Error("No valid streams found"))},i.prototype.B6=function(t){this.playCurrent(t),this.D6.setPIPMode(this.pP.pip),this.eO.hasCurrentItemPlayed||this.eO.state===y.default.END||this.r8(t),this.eO.hasRendererPlayCalled=!0},i.prototype.F6=function(){if(!this.YY)return!0;var t=this.vT();return!(this.oE.requestType===l.REQUEST_TYPES.AUTOPLAY&&this.oE.autoplay&&t&&t.blockAutoplay)&&(!u.userAgent.mobile||this.f8())},i.prototype.f8=function(t){return void 0===t&&(t={}),!(this.oE.requestType!==l.REQUEST_TYPES.CLICK&&!this.oE.isAutoplayAllowed())},i.prototype.o8=function(){var t=this.eO;t.hasCurrentItemPlayed=!1,t.hasRendererPlayCalled=!1},i.prototype.u8=function(){for(var t=0,i=this.oE.errors;t<i.length;t++){var n=i[t];if(n.category||n.subcategory)return n}return null},i.prototype.C3=function(){this.U3&&clearTimeout(this.U3)},i.prototype.x6=function(){var t=this;this.P6&&(this.P6.on(_.PauseHandlerEvents.RESUME_STREAMING,(function(){t.resumeStreaming()}),this),this.P6.on(_.PauseHandlerEvents.SUSPEND_STREAMING,(function(){t.suspendStreaming()}),this),this.P6.on(_.PauseHandlerEvents.CTRL_PLAYPAUSE,(function(i){t.fO.publish(v.CTRL_PLAYPAUSE,i)}),this))},i.prototype.L6=function(){var t=this;this.D6.on(c.RendererControllerEvent.RENDERER_SWITCH,(function(i,n){t.publish(h.RENDERER_SWITCH,i,n)}),this),this.D6.on(c.RendererControllerEvent.RENDERER_TIMEOUT,(function(){t.publish(h.RENDERER_TIMEOUT)}),this),this.D6.on(c.RendererControllerEvent.RENDERER_CREATED,(function(i){t.publish(h.RENDERER_CREATED,i)}),this),this.D6.on(c.RendererControllerEvent.PLAY_CALLED,(function(){t.publish(h.PLAY_CALLED_ON_RENDERER,t.D6.activeRendererType)}),this),this.D6.on(c.RendererControllerEvent.RENDERER_READY_TO_PLAY,(function(i){t.fO.publish(f.ExternalEvt.RENDERER_READY,t.D6.activeRendererType,t.eO.shouldPlay),t.eO.shouldPlay?t.B6(i):(t.h8(),t.k6.pauseClientAdStartTimer())}),this),this.l8(),this.v8()},i.prototype.K6=function(){this.R6={}},i.prototype.Z6=function(t){t&&(t.mayUpdateVideoSession(),t.useVideoSession(),this.fO.publish(v.VIDEO_REQUEST,!1),this.publish(h.MEDIA_ITEM_CURRENT,t))},i.prototype.Q6=function(){var t=this.oE;t.setPaused(!1),t.setSeeking(!1),t.setLoading(!1)},i.prototype.Y6=function(t){t&&(t.position=0,this.eO.previousItem=t,this.rewindAfterEnd(t.isLive())),this.oE.setState(y.default.END),this.oE.endVideo(),this.Q6()},i.prototype.i8=function(t){this.T6=!1,this.R6[t.id]=!0;var i=!1;if(this.eO.duration=this.getDuration(),t instanceof m.default){this.M6=null,this.oE.startTime=NaN;var n=this.getRawDuration();t.setRawDuration(n);var s=t.adBreaks;if(s&&s.length&&s[0].type===d.AdBreakType.PREROLL){var e=s[0];e&&e.adBreakItems&&e.adBreakItems[0].instream&&(i=!0)}i||this.publish(h.MEDIA_ITEM_PLAYBACK_STARTED,t,this.getCurrentTime())}else t instanceof p.default&&this.k6.handleAdBreakItemPlaybackStarted(t)},i.prototype.e8=function(t,i){this.publish(h.AD_BREAK_ITEM_ERROR,t,i),this.k6.handleAdBreakItemError(t)},i.prototype.n8=function(t,i){var n;t instanceof m.default&&(n=this.d8(t,i)),t instanceof p.default&&(n=this.p8(t,i)),this.SW=n,this.eO.currentTime=n},i.prototype.d8=function(t,i){for(var n=i,s=t.adBreaks,e=s&&s.length||0,r=0;r<e;r++){var h=s[r];if(!(i>=h.startOffset))break;h.adBreakItems.forEach((function(t){t.instream&&(n-=t.duration)}))}return n},i.prototype.p8=function(t,i){var n=i,s=t.adBreak;if(t.instream){n=i-s.startOffset;for(var e=s.adBreakItems,r=0,h=e.length;r<h;r++){var o=e[r];if(t.adBreakItemId===o.adBreakItemId)break;o.instream&&(n-=o.duration)}}return n},i.prototype.W6=function(t){var i=this.X6(),n=t;if(i instanceof m.default)for(var s=i.adBreaks,e=s&&s.length||0,r=0;r<e;r++){var h=s[r];if(!(h.startOffset<=n))break;h.adBreakItems.forEach((function(t){t.instream&&(n+=t.duration)}))}return n},i.prototype.s8=function(t){this.K6(),this.M6=null;var i=this.RS,n=this.vT();if(n&&n===t){this.k6.onMediaItemPlaybackEnded(t);var s=this.oE.continuousPlay,e=this.oE.loop,r={playlistLoop:this.oE.playlistLoop,skipWatchedVideos:this.oE.skipWatchedVideos,looped:!1,ended:!1},o=i.getNextPosition(s,e,r);if(this.publish(h.MEDIA_ITEM_PLAYBACK_ENDED,t,r),this.oE.stopAtLastFrame)return this.pauseCurrent(),void this.onActiveRendererPause();if(this.Y6(n),-1!==o){var u=void 0;(s||e)&&(u={type:l.REQUEST_TYPES.CONTINUOUS,action:l.REQUEST_TYPES.AUTOPLAY}),this.setPlaylistPosition(o,s||e,u),this.eO.looped=r.looped}else this.publish(h.PLAYLIST_COMPLETE);this.publish(h.PLAYBACK_SYNC_VIEW)}},i.prototype.l8=function(){for(var t=0,i=Object.values(c.ActiveRendererEvent);t<i.length;t++){var n=i[t],s="on"+n;this.D6.on(n,this[s],this)}},i.prototype.v8=function(){var t=this.D6;t.on(c.NextRendererEvent.ERROR,this.m8,this),t.on(c.NextRendererEvent.INFO,this.b8,this)},i.prototype.m8=function(t){this.D6.stopNextRenderer(t)},i.prototype.b8=function(t){this.D6.stopNextRenderer(t)},i.prototype.C6=function(){var t=this,i=this.k6;i.on(a.AdPlaybackControllerEvent.AD_BREAK_NEED_RESOLVE,(function(i,n){t.publish(h.AD_BREAK_NEED_RESOLVE,i,n)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_PLAY,(function(i){t.c8(i)}),this),i.on(a.AdPlaybackControllerEvent.AD_CLIENT_COMPLETED,(function(i,n){switch(i){case d.AdBreakType.PREROLL:t.publish(h.PLAY_CALLED_AFTER_PREROLL),t.a8(n);break;case d.AdBreakType.NATIVE:}}),this),i.on(v.AD_SUBTITLE_TRACK_ADDED,(function(i){t.publish(v.AD_SUBTITLE_TRACK_ADDED,r(r({},i),{itemId:t.getPlayingItem().adBreakItemId}))}),this),i.on(a.AdPlaybackControllerEvent.AD_CLIENT_TIMEOUT,(function(i,n){switch(i){case d.AdBreakType.PREROLL:t.a8(n)}}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_STARTED,(function(i){t.publish(h.AD_BREAK_STARTED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ENDED,(function(i){var n=i.type;switch(i.setActive(!1),n){case d.AdBreakType.PREROLL:i.adBreakItems[i.adBreakItems.length-1].instream&&t.publish(h.MEDIA_ITEM_PLAYBACK_STARTED,i.mediaItem);break;case d.AdBreakType.NATIVE:t.s8(i.mediaItem)}t.publish(h.AD_BREAK_ENDED,i),t.M6&&(t.seek(t.M6.deferredSeekTime),t.M6=null)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_FORCE_PLAY_MIDROLL,(function(i){var n=t.getRawCurrentTime();i.type!==d.AdBreakType.MIDROLL||!i.active||i.startOffset>n||i.adBreakItems.length&&i.adBreakItems[0].instream&&(t.M6={adBreak:i,deferredSeekTime:n},t.seek(i.startOffset))}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_STARTED,(function(i){t.eO.playingItem=i,i.instream&&t.publish(h.AD_BREAK_ITEM_CURRENT,i),t.publish(h.AD_BREAK_ITEM_PLAYBACK_STARTED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_ITEM_ENDED,(function(i){t.publish(h.AD_BREAK_ITEM_PLAYBACK_ENDED,i)}),this),i.on(a.AdPlaybackControllerEvent.AD_BREAK_SKIP,(function(i,n){if(n){var s=i.startOffset+i.duration;s=(1e4*s+11)/1e4,t.seek(s)}}),this),i.on(a.AdPlaybackControllerEvent.AD_METRICS,(function(i){t.publish(h.AD_METRICS,i)}),this),i.on(a.AdPlaybackControllerEvent.CREATE_OVERLAY_CONTAINER,(function(i){t.publish(h.CREATE_OVERLAY_CONTAINER,i)}),this)},i.prototype.V6=function(){var t=this;this.U6.on(T.VisibilityEvent.PAGE_VISIBILITY_CHANGED,(function(i){t.handleVisibilityChange(i)}),this)},i.prototype.J6=function(t){this.eO.currentMediaType=t},i.prototype.vT=function(){return this.RS.getCurrentItem()},i}(o.default);i.PlaybackController=S},vVWs:function(t,i,n){"use strict";function s(){try{this.y8=this.getWindow()}catch(t){this.y8=null}this.g8=!1,this.y8&&this.y8.performance&&"function"==typeof this.y8.performance.clearResourceTimings&&"function"==typeof this.y8.performance.getEntriesByName&&(this.g8=!0,this.y8.performance.onresourcetimingbufferfull=this.w8.bind(this))}t.exports=s,i.entryTypes=["mark","measure","navigation","frame","resource","server"],s.prototype.getWindow=function(){return window},s.prototype.w8=function(){this.g8&&this.y8.performance.clearResourceTimings()},s.prototype.getPerformanceTiming=function(t,n,s){var e,r={};if(!t||!n&&!s)return null;if(s&&i.entryTypes.indexOf(s)<0)return null;if(!this.g8)return null;if(!(e=n?this.y8.performance.getEntriesByName(n,s||void 0):this.y8.performance.getEntriesByType(s))||!e.length)return null;var h=e[e.length-1];return t.forEach((function(t){r[t]=h[t]})),r},s.prototype.destroy=function(){this.g8&&this.y8&&(this.y8.performance.onresourcetimingbufferfull=null),this.y8=null,this.g8=!1}},vdrJ:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s,e,r,h,o,u,a,c,f,l=n("DnkH"),v=n("P2OX"),d=n("IWlq"),p=n("rBpt"),m=n("yf6s"),b=n("08fe"),y=n("U3HQ"),g={Plain:d.default.PLAIN,Dropshadow:d.default.DROPSHADOW,Raised:d.default.RAISED,Depressed:d.default.DEPRESSED,Uniform:d.default.UNIFORM,"Extra Small":d.default.SIZE_EXTRA_SMALL,"Extra Large":d.default.SIZE_EXTRA_LARGE,Small:d.default.SIZE_SMALL,Medium:d.default.SIZE_MEDIUM,Large:d.default.SIZE_LARGE,White:d.default.WHITE,Gray:d.default.GRAY,"Light Gray":d.default.LIGHT_GRAY,"Dark Gray":d.default.DARK_GRAY,Black:d.default.BLACK,Red:d.default.RED,Green:d.default.GREEN,Blue:d.default.BLUE,Cyan:d.default.CYAN,Yellow:d.default.YELLOW,Magenta:d.default.MAGENTA,Transparent:d.default.TRANSPARENT,Top:d.default.TOP,Bottom:d.default.BOTTOM,Effects:d.default.EFFECTS,Position:d.default.POSITION,"Font Size":d.default.FONT_SIZE,"Font Family":d.default.FONT_FAMILY,"Font Color":d.default.FONT_COLOR,"Background Color":d.default.BACKGROUND_COLOR,"Background Transparency":d.default.BACKGROUND_TRANSPARENCY,Language:d.default.LANGUAGE};!function(t){t.Main=".vp-ccs-main",t.Extra=".vp-ccs-extra",t.Options=".vp-ccs-options"}(s=i.SettingsSubContainers||(i.SettingsSubContainers={})),function(t){t.Toggle=".vp-ccs-toggle",t.ToggleLabel='.vp-ccs-listitem[data-item-type="Closed Captions"] .vp-ccs-value',t.LanguageListItem='.vp-ccs-listitem[data-item-type="Caption Languages"]',t.HeaderListItem='.vp-ccs-listitem[data-item-type="header"]',t.Item=".vp-ccs-item",t.Value=".vp-ccs-value",t.ListItem=".vp-ccs-listitem",t.ListOptions=".vp-ccs-listoptions",t.Pointer=".vp-ccs-pointer",t.CheckMark=".vp-ccs-checkmark",t.Preview="vp-ccs-preview"}(e=i.ItemClasses||(i.ItemClasses={})),function(t){t.Plain="none",t.Dropshadow="dropshadow",t.Raised="raised",t.Depressed="depressed",t.Uniform="uniform"}(r=i.CCEffects||(i.CCEffects={})),function(t){t.Top="top",t.Bottom="bottom"}(h=i.CCPosition||(i.CCPosition={})),function(t){t["Extra Small"]="16",t.Small="20",t.Medium="24",t.Large="28",t["Extra Large"]="32"}(o=i.CCFontSize||(i.CCFontSize={})),function(t){t.Georgia="Georgia, serif",t["Palatino Linotype"]='"Palatino Linotype", "Book Antiqua", Palatino, serif',t["Times New Roman"]='"Times New Roman", Times, serif',t.Helvetica="Helvetica, sans-serif",t.Arial="Arial, Helvetica, sans-serif",t["Arial Black"]='"Arial Black", Gadget, sans-serif',t["Comic Sans MS"]='"Comic Sans MS", cursive, sans-serif',t.Impact="Impact, Charcoal, sans-serif",t["Lucida Sans Unicode"]='"Lucida Sans Unicode", "Lucida Grande", sans-serif',t.Tahoma="Tahoma, Geneva, sans-serif",t["Trebuchet MS"]='"Trebuchet MS", Helvetica, sans-serif',t.Verdana="Verdana, Geneva, sans-serif",t["Courier New"]='"Courier New", Courier, monospace',t["Lucida Console"]='"Lucida Console", Monaco, monospace'}(u=i.CCFontFamily||(i.CCFontFamily={})),function(t){t.White="#FFFFFF",t.Grey="#E7E7E7",t.Black="#000000",t.Red="#FC2525",t.Green="#29FD2F",t.Blue="#2524FB",t.Cyan="#2CFEFE",t.Yellow="#FEF149",t.Magenta="#EC369C"}(a=i.CCFontColor||(i.CCFontColor={})),function(t){t.White="#FFFFFF",t["Light Gray"]="#c7c7c7",t.Gray="#919191",t["Dark Gray"]="#5b5b5b",t.Black="#000000",t.Red="#FC2424",t.Green="#29FD2F",t.Blue="#2424FB",t.Cyan="#2CFDFD",t.Yellow="#FDF048",t.Magenta="#EC359B"}(c=i.CCBackgroundColor||(i.CCBackgroundColor={})),function(t){t.Transparent="0",t["25%"]="25",t["50%"]="50",t["75%"]="75",t["100%"]="100"}(f=i.CCBackgroundTransparency||(i.CCBackgroundTransparency={}));var w={Effects:r,Position:h,"Font Size":o,"Font Family":u,"Font Color":a,"Background Color":c,"Background Transparency":f};i.ExtraSettingsDefaultValues={Effects:"Plain",Position:"Bottom","Font Size":"Medium","Font Family":"Helvetica","Font Color":"White","Background Color":"Black","Background Transparency":"75%"},i.DEFAULT_CC_DATA={selectedLang:"en-us",langList:["en-us"]},i.ACTIVATION_CLASSES={OPEN:"vp-open",VISBILITYHIDDEN:"vp-vis-hide",VISBILITYSHOW:"vp-vis-show",ACTIVE:"vp-active",ON:"vp-on"};var E=n("6ehb"),O=n("kQaT");function A(t){return m.default.classList(t)}var _=function(){function t(t,i){this.fN=t,this.oE=i}return t.prototype.create=function(){this.E8(),this.hT=m.default.render(E,{strings:d.default}),this.O8(),this.A8=this._8,this.T8(),this.S8=null,this.updateAvailableLanguages(i.DEFAULT_CC_DATA),this.I8=document.createElement("div"),this.I8.innerText=d.default.CC_PREVIEW_MESSAGE,A(this.I8).add(e.Preview),A(this.I8).add("vp-vis-hidden");var t=this.fN.getMainElement();return t&&t.appendChild(this.I8),this.syncMenuUI(),this.onPlayerResize(this.oE.uiState),this.hT},t.prototype.syncMenuUI=function(){this.j8(),this.M8(),this.N8()},t.prototype.showActiveContainer=function(t){this.R8&&clearTimeout(this.R8),this.A8&&A(t).add(i.ACTIVATION_CLASSES.OPEN),this.A8&&A(this.A8).add(i.ACTIVATION_CLASSES.OPEN)},t.prototype.hideActiveContainer=function(t){var n=this;this.A8&&A(this.A8).remove(i.ACTIVATION_CLASSES.OPEN),this.A8&&A(t).remove(i.ACTIVATION_CLASSES.OPEN),this.R8&&clearTimeout(this.R8),this.R8=window.setTimeout((function(){n.A8=n._8}),1e4)},t.prototype.updateCCToggleState=function(t){var n=this.D8.ccToggleNode,s=this.D8.ccToggleLabel;t?A(n).add(i.ACTIVATION_CLASSES.ON):A(n).remove(i.ACTIVATION_CLASSES.ON),s.innerText=(t?d.default.ON:d.default.OFF).toUpperCase()},t.prototype.destroy=function(){this.L8.forEach((function(t){return t.destroy()})),this.k8.forEach((function(t){return t.destroy()})),this.L8=null,this.k8=null,this.S8=null,this.C8=null,this.P8=null,this.x8=null,this.D8=null,this.U8=null,this.hT=null,this._8=null,this.V8=null,this.B8=null,this.A8=null},t.prototype.updateAvailableLanguages=function(t){this.P8=this.P8||[],this.x8=t.selectedLang||this.x8,t&&t.langList&&t.langList.length&&(this.P8=t.langList),this.N8()},t.prototype.onPlayerResize=function(t){t&&t.width&&t.height&&(t.width>=v.HideBreakpointDimensions.WIDTH&&t.height>=v.HideBreakpointDimensions.HEIGHT?this.hT&&A(this.hT).remove(i.ACTIVATION_CLASSES.VISBILITYHIDDEN):this.hT&&A(this.hT).add(i.ACTIVATION_CLASSES.VISBILITYHIDDEN))},t.prototype.F8=function(){var t=this;if(this.gP=this.fN.getCCElement(),this.gP){var n=this.gP.querySelector("span").style,s=this.gP.style;this.I8.style.fontFamily=s.fontFamily,this.I8.style.fontSize=s.fontSize,this.I8.style.top=this.oE.ccUserPreferences.ccPos===h.Top?"5%":"",this.I8.style.bottom=this.oE.ccUserPreferences.ccPos===h.Bottom?"16%":"",this.I8.style.left=s.left||"2.5%",this.I8.style.color=s.color,this.I8.style.textShadow=s.textShadow,this.I8.style.backgroundColor=n.backgroundColor,this.gP.style.visibility="hidden",A(this.I8).add(i.ACTIVATION_CLASSES.ACTIVE),this.z8&&clearTimeout(this.z8),this.z8=window.setTimeout((function(){t.gP.style.visibility="visible",A(t.I8).remove(i.ACTIVATION_CLASSES.ACTIVE)}),2e3)}},t.prototype.E8=function(){var t=p.LocalStorage.get(l.CC_LOCAL_STORAGE)?p.LocalStorage.get(l.CC_LOCAL_STORAGE).ccSettingsMenu:null;t||l.CCController.saveCCSettingsToLocalStorage({ccSettingsMenu:i.ExtraSettingsDefaultValues}),this.C8=t||i.ExtraSettingsDefaultValues},t.prototype.N8=function(){var t=l.CCController.getLanguageForCode(this.x8),i=this.D8.languageNode.querySelector(e.Value);i&&(i.innerText=t),this.S8&&"Language"===this.S8&&this.H8(t)},t.prototype.M8=function(){if(this.S8){var t=this.C8[this.S8];this.H8(t)}},t.prototype.H8=function(t){var n=this.B8.querySelectorAll(e.ListItem);Array.prototype.forEach.call(n,(function(n){var s=n.querySelector(e.CheckMark);n.dataset.itemType!==t?(A(n).remove(i.ACTIVATION_CLASSES.ACTIVE),A(s).remove(i.ACTIVATION_CLASSES.VISBILITYSHOW)):(A(n).add(i.ACTIVATION_CLASSES.ACTIVE),A(s).add(i.ACTIVATION_CLASSES.VISBILITYSHOW))}))},t.prototype.j8=function(){var t=this,i=this.V8.querySelectorAll(e.ListItem);Array.prototype.forEach.call(i,(function(i){var n,s=i.dataset.itemType;"header"!==s&&(i.querySelector(e.Value).innerHTML=(n=t.q8(t.C8[s]))&&n.replace(/\s/g,"&nbsp;"))}))},t.prototype.O8=function(){this._8=this.hT.querySelector(s.Main),this.D8={headerNode:this._8.querySelector(e.HeaderListItem),ccToggleNode:this._8.querySelector(e.Toggle),ccToggleLabel:this._8.querySelector(e.ToggleLabel),languageNode:this._8.querySelector(e.LanguageListItem)},this.G8()},t.prototype.G8=function(){var t=this;this.L8=[],this.L8.push(new y.default(this.D8.headerNode,(function(){t.Y8(s.Extra)}))),this.L8.push(new y.default(this.D8.languageNode,(function(){t.W8(),t.Y8(s.Options)}))),this.L8.push(new y.default(this.D8.ccToggleNode,this.Z8.bind(this)))},t.prototype.W8=function(){var t=this;this.Q8(this.q8("Language"),s.Main);var i=this.B8.querySelector(e.ListOptions);this.P8.forEach((function(n){var s=l.CCController.getLanguageForCode(n),e=t.X8(!1,s,null);i.appendChild(e),t.k8.push(new y.default(e,(function(){t.J8(n)})))})),this.S8="Language",this.N8()},t.prototype.J8=function(t){this.x8=t,this.fN.onlanguageChange(t),this.fN.updateClosedCaptionButtonState(!0),this.N8()},t.prototype.Z8=function(){var t=A(this.D8.ccToggleNode).contains(i.ACTIVATION_CLASSES.ON)||!1;this.fN.publish(b.ControlsEvent.TOGGLE_CC,!t,!0),this.fN.updateClosedCaptionButtonState(!t)},t.prototype.T8=function(){var t=this;this.V8=this.hT.querySelector(s.Extra),this.B8=this.hT.querySelector(s.Options),this.U8={headerNode:this.B8.querySelector(e.HeaderListItem),headerValue:this.B8.querySelector(e.Item)},this.L8.push(new y.default(this.V8.firstElementChild,(function(){t.Y8(s.Main)})));var i=this.V8.querySelector(e.ListOptions);Object.keys(this.C8).forEach((function(n){var e=t.X8(!0,n,t.q8(t.C8[n]));i.appendChild(e);var r=e.dataset.itemType;t.L8.push(new y.default(e,(function(){t.Y8(s.Options),t.K8(r)})))}))},t.prototype.X8=function(t,i,n){var s=this.q8(i);return m.default.render(O,{caratRequired:t,itemContent:s,itemType:i,valueContent:n,valueRequired:!!n})},t.prototype.Y8=function(t){var n=this;Object.keys(s).map((function(e){var r=n.hT.querySelector(s[e]);s[e]===t?(A(r).add(i.ACTIVATION_CLASSES.OPEN),n.A8=r):A(r).remove(i.ACTIVATION_CLASSES.OPEN)}))},t.prototype.Q8=function(t,i){var n=this;this.k8&&this.k8.length&&this.k8.forEach((function(t){return t.destroy()})),this.k8=[];var s=this.B8.querySelector(e.ListOptions),r=s.querySelectorAll(e.ListItem);Array.prototype.forEach.call(r,(function(t){"header"!==t.dataset.itemType&&s.removeChild(t)})),this.k8.push(new y.default(this.U8.headerNode,(function(){n.Y8(i)}))),this.U8.headerValue.innerText=t},t.prototype.q8=function(t){return g[t]||t},t.prototype.K8=function(t){var i=this;this.Q8(this.q8(t),s.Extra);var n=w[t],r=this.B8.querySelector(e.ListOptions);Object.keys(n).map((function(s){var e=i.X8(!1,s,null);r.appendChild(e),i.k8.push(new y.default(e,(function(){var e=n[s];i.t9(t,e,s)})))})),this.S8=t,this.H8(this.C8[t])},t.prototype.t9=function(t,i,n){if(this.oE.ccUserPreferences){var s,e=this.oE.ccUserPreferences;switch(t){case"Effects":e.fontEffect=i;break;case"Position":e.ccPos=i;break;case"Font Size":e.fontSize=Number(i),s="size: "+i;break;case"Font Family":e.fontName=i,s="font: "+i;break;case"Font Color":e.fontColor=i;break;case"Background Color":e.bgColor=i;break;case"Background Transparency":try{var r=Number(i);e.bgOpacity=r/100,s="opacity: "+r}catch(t){return}}this.fN.updateClosedCaptionStyle(s),this.C8[t]=n,l.CCController.saveCCSettingsToLocalStorage({ccSettings:e,ccSettingsMenu:this.C8}),this.syncMenuUI(),this.F8()}},t}();i.default=_},vgmO:function(t,i,n){(function(i){var n;n="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{},t.exports=n}).call(this,n("yLpj"))},vkqS:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("xPTa");i.AdPluginPlaybackCapability=s.ExternalPlayerCapability,i.AdPlayerEvent=s.ExternalPlayerEvent;var e,r,h,o,u=n("yf6s").default.mergeStringEnums;!function(t){t.METRICS="ad-plugin--metrics",t.DIAGNOSTICS="ad-plugin--diagnostics"}(e=i.AdPluginMetricsEvent||(i.AdPluginMetricsEvent={})),function(t){t.AD_BREAKS_AVAILABLE="ad-plugin--breaks-available",t.AD_BREAK_RESOLVED="ad-plugin--break-resolved",t.AD_BREAK_RESOLVE_ERROR="ad-plugin--break-resolve-error",t.AD_SUBTITLES_FOUND="ad-plugin--subtitles-found"}(r=i.AdPluginMetadataEvent||(i.AdPluginMetadataEvent={})),function(t){t.CTA_TRIGGERED="ad-plugin-ui-cta-triggered",t.SKIP_AD="ad-plugin-ui-skip-ad",t.CLICKED="ad-plugin-ui-clicked"}(h=i.AdPluginUIEvent||(i.AdPluginUIEvent={})),function(t){t.NONLINEAR_AD_RENDERED="ad-plugin-nonlinear-ad-rendered",t.NONLINEAR_AD_CLEARED="ad-plugin-nonlinear-ad-cleared",t.NONLINEAR_AD_DISMISSED="ad-plugin-nonlinear-ad-dismissed",t.NONLINEAR_AD_CLICKED="ad-plugin-nonlinear-ad-clicked"}(o=i.AdPluginOverlayAdEvent||(i.AdPluginOverlayAdEvent={})),i.AdPluginEvent=u(r,u(e,u(o,u(h,s.ExternalPlayerEvent))))},"vl8+":function(t,i,n){"use strict";t.exports=e;var s=n("zY0b");function e(){this.w2={},this.i9=Number.NaN,this.n9=!1,this.s9=NaN,this.XY=[]}e.prototype.destroy=function(){this.w2={},this.XY=[]},e.prototype.addStream=function(t){this.XY.push(t),this.XY.length&&(this.i9=this.XY[0].endSeqNum)},e.prototype.update=function(t){if(t){var i=this.e9(t);if(i){var n=this.__controller.model.live;if(n&&(t=i.isDash()?this.r9(t,i):this.h9(t)),i.updateConfig(t),this.o9(t),n&&!i.isDash()&&this.i9>=i.endSeqNum){var s=1e3*i.targetDuration,e=!isNaN(s)&&s>0?s:i.refreshInterval;i.refreshInterval=.5*e}this.i9=i.endSeqNum}}},e.prototype.e9=function(t){if(!t||!this.XY.length)return null;for(var i=0;i<this.XY.length;i++)if(this.XY[i].equals(t))return this.XY[i];return null},e.prototype.o9=function(t){if(t&&t.segmentInfoList&&t.segmentInfoList[0].programDateTime&&this.XY.length)for(var i=t.segmentInfoList[0],n=0;n<this.XY.length;n++)if(this.XY[n].index!==t.index&&this.XY[n].segments&&0!==this.XY[n].segments.length)for(var s=0;s<this.XY[n].segments.length;s++)this.XY[n].segments[s].seqNum===i.sequenceNum&&(this.XY[n].segments[s].programDateTime=i.programDateTime)},e.prototype.h9=function(t){var i=this;if(!t)return t;var n=t.segmentInfoList;if(!n||!n.length)return t;Object.keys(i.w2).length||(i.w2[n[0].sequenceNum]={startTime:n[0].startTime,programDateTime:n[0].programDateTime});var s,e,r,h,o=i.w2[n[0].sequenceNum];if(o&&"number"==typeof o.startTime)s=i.w2[n[0].sequenceNum].startTime;else{var u=Object.keys(i.w2),a=parseInt(u[u.length-1]);n[n.length-1].sequenceNum;var c=0;for(e=1;e<n.length;e++)if(-1!==u.indexOf(n[e].sequenceNum.toString())){c=e;break}if(c)for(s=i.w2[n[c].sequenceNum].startTime,e=c-1;e>=0;e--)s-=n[e].duration;else{if(n[0].sequenceNum>a)r=parseInt(u[u.length-1]),h=i.w2[r];else for(e=n[n.length-1].sequenceNum;e<=a;){if(-1!==u.indexOf(e.toString())){r=e,h=i.w2[r];break}e++}s="number"==typeof h.programDateTime?h.startTime+(n[0].programDateTime-h.programDateTime)/1e3:h.startTime+(n[0].sequenceNum-r)*n[0].duration}}var f=0;return n.forEach((function(t){t.startTime=s+f,f+=t.duration,!i.n9&&t.discontinuity&&(i.n9=!0,i.s9=t.startTime),i.n9&&!isNaN(i.s9)&&(t.discontinuity=t.startTime>=i.s9),i.w2[t.sequenceNum]||(i.w2[t.sequenceNum]={startTime:t.startTime,programDateTime:t.programDateTime})})),t},e.prototype.r9=function(t,i){if(!t||!i)return t;var n=t.segmentInfoList;if(!n||!n.length)return t;var s=i.segments;if(!s||!s.length)return t;for(var e=0,r=!1,h=0;h<s.length;h++)if(e=s[h].seqNum,s[h].startTime>=n[0].startTime){r=!0;break}r||e++;for(var o=0;o<n.length;o++)n[o].sequenceNum=e,e++;return t},e.prototype.adjustStartTime=function(t,i,n){var e=this;if(t&&!s.isNullOrUndefined(n)&&!s.isNullOrUndefined(i)){var r=Object.keys(e.w2),h=r.length?r[0]:null,o=h?e.w2[h]:null,u=o?(o.programDateTime-n)/1e3-(o.startTime-i):0;u?(r.forEach((function(t){(o=e.w2[t]).startTime+=u})),t.segments.forEach((function(t){o=e.w2[t.seqNum],t.startTime=o?o.startTime:t.startTime+u})),t.adjusted=!0):t.adjusted=!0}}},vyYH:function(t){t.exports=JSON.parse('{"ERR_RESTRICTED_NETWORK_TYPE":"Due to rights restrictions, this live stream is only available on cellular data. Turn off wifi to watch.","ERR_DRM_UNSUPPORTED_NETWORK_WIFI":"Due to license restrictions, this video cannot be played over WiFi on your device. To view this video, turn off WiFi and use your cellular data connection instead."}')},"w+A1":function(t,i,n){"use strict";t.exports={Command:n("qudH"),MediaLoadCommand:n("H12P"),StreamLoadCommand:n("O3QI"),LicenseLoadCommand:n("+NNo"),SegmentLoadCommand:n("/4Je"),Mp4InitSegmentLoadCommand:n("BNfT"),SubtitleSegmentLoadCommand:n("EtIN"),ErrorHandleCommand:n("3Kxk")}},w4Wb:function(t,i,n){"use strict";t.exports.AACStream=o,t.exports.AVCStream=u;var s=n("rzFi"),e=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],r=["Null","Main","LC","SSR","LTP"],h=t.exports.NAL_UNIT_TYPES={NON_IDR:1,IDR:5,AD_INFO_SEI:6,SPS:7,PPS:8,AUD:9};function o(t){this.u9=[],this.mR=t||{},this.ZE={},this.ready=!1,this.a9=0}function u(t){this.u9=[],this.mR=t||{},this.ZE={},this.c9=0,this.ready=!1,this.f9=0,this.a9=2970,this.VJ=new s}o.prototype.destroy=function(){this.u9=[]},o.prototype.readFrames=function(t){t&&t.packetInfo&&this.readFramesFromBitstream(t.packetInfo.streamData,t.packetInfo.pts)},o.prototype.readFramesFromBitstream=function(t,i){if(!t||t.length<6)return 0;for(var n=0,s=0,e=0;n<t.length;){var r=0,h=(t[n++]<<8)+t[n++],o=1&h;if(65520==(65520&h)&&0===(6&h)){this.l9(t.subarray(n,n+2)),this.ZE.codec="mp4a.40.2",n++;var u=(t[n++]<<16)+(t[n++]<<8)+t[n++];for(u=(262112&u)>>>5,s=1+(3&t[n++]),o?u-=7:(u-=9,n+=2);r<s&&n<t.length;){var a=i+e*this.a9;this.u9.push({data:t.subarray(n,n+u),dts:a,pts:a,keyframe:!1,flags:{isLeading:!1,dependsOn:!0,isDependedOn:!1,hasRedundancy:!1,paddingValue:!1,isNonSyncSample:!1,degradationPriority:1}}),n+=u,r++,e++}}else n--}return this.ready=this.v9(),n},o.prototype.l9=function(t){if(t&&!(t.length<2)){var i=1+((192&t[0])>>>6);i=i>4?4:i,this.ZE.audioObjectTypeIndex=i,this.ZE.audioObjectType=r[i],i=(i=(60&t[0])>>>2)<13?i:0,this.ZE.samplingFreqIndex=i,this.ZE.samplingFreq=e[i],this.ZE.channels=(1&t[0])<<2|(192&t[1])>>>6,this.ZE.sampleSize=16,this.a9=9216e4/this.ZE.samplingFreq}},o.prototype.v9=function(){var t=this.u9.length;return(t>0?this.u9[t-1].pts-this.u9[0].pts+this.a9:0)>=9e3},o.prototype.getFrames=function(){return this.ready=!1,this.u9.splice(0,this.u9.length)},o.prototype.getConfig=function(){return this.ZE},o.prototype.getLastFrameDetails=function(){return this.u9.length?{timestamp:this.u9[this.u9.length-1].dts,duration:this.a9}:null},u.prototype.destroy=function(){this.u9=[],this.VJ.destroy()},u.prototype.readFrames=function(t){if(t&&t.packetInfo){var i=t.packetInfo.streamData;if(i&&!(i.length<4)){for(var n,s,e=0,r=0,o=0,u=e,a={nalUnits:[],nalUnitSize:0,dts:t.packetInfo.dts,pts:t.packetInfo.pts,keyframe:!1,data:i,cea608Data:[],flags:{isLeading:0,dependsOn:0,isDependedOn:0,hasRedundancy:0,paddingValue:0,isNonSyncSample:!1,degradationPriority:0}},c=4294967295,f=!1;e<i.length;){if(s=NaN,1===(c=c<<8|i[e++])&&(s=4),1===(16777215&c)){if(!f&&e>s&&this.u9&&this.u9.length){var l=this.u9[this.u9.length-1],v=l.nalUnits,d=v[v.length-1];if(d){var p,m=e-s;l.nalUnitSize+=m,d.data?((p=new Uint8Array(d.data.byteLength+m)).set(d.data,0),p.set(i.subarray(0,m),d.data.byteLength)):(p=new Uint8Array(m)).set(i.subarray(0,m),0),d.data=p,(p=new Uint8Array(l.data.byteLength+m)).set(l.data,0),p.set(i.subarray(0,m),l.data.byteLength),l.data=p}}if(f=!0,c=4294967295,s=s||3,(r=a.nalUnits.length)>=1&&null===a.nalUnits[r-1].data)switch(o=e-u-s,n=i.subarray(u,u+o),a.nalUnitSize+=o,a.nalUnits[r-1].data=n,a.nalUnits[r-1].type){case h.SPS:this.ZE.profileIndication=n[1],this.ZE.profileCompatibility=n[2],this.ZE.levelIndication=n[3],this.ZE.numOfSPS=1,this.ZE.spsLength=n.length,this.ZE.sps=n;break;case h.PPS:this.ZE.numOfPPS=1,this.ZE.ppsLength=n.length,this.ZE.pps=n}u=e,o=0;var b=31&i[e++];if(b<h.AUD&&a.nalUnits.push({data:null,type:b}),b===h.IDR)this.c9=this.u9.length,a.keyframe=!0,a.flags.dependsOn=2,this.f9++;else if(b===h.NON_IDR)a.keyframe=!1,a.flags.dependsOn=1,a.flags.isNonSyncSample=!0;else if(b===h.AD_INFO_SEI)for(var y=this.VJ.parse(i,e),g=0;g<y.length;g++)a.cea608Data.push(y[g])}}(r=a.nalUnits.length)>=1&&null===a.nalUnits[r-1].data&&u<i.length&&(o=e-u,a.nalUnits[r-1].data=i.subarray(u,u+o),a.nalUnitSize+=o),this.ZE.codec=this.d9(this.ZE),a.nalUnitSize>0&&this.u9.push(a),this.ready=this.v9()}}},u.prototype.v9=function(){var t=this.u9.length,i=t>0?this.u9[t-1].pts-this.u9[0].pts+this.a9:0;return this.mR.startChunkWithKeyFrame?this.f9>=2:t>1&&i>=9e3},u.prototype.getFrames=function(t){var i=this.mR.startChunkWithKeyFrame&&t&&t.keyFrameBoundary,n=t.keyFrameBoundary?this.u9.length-1:this.u9.length;i&&(n=this.c9,this.f9=1,this.ready=!1);var s=this.u9.splice(0,n);return this.c9=0,s},u.prototype.getConfig=function(){return this.ZE},u.prototype.d9=function(t){var i=t&&t.profileIndication||66;return"avc1."+((i=Math.max(i,66))<<16|(t&&t.profileCompatibility||0)<<8|(t&&t.levelIndication||10)).toString(16)}},w7tx:function(t,i,n){"use strict";var s,e=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])})(t,i)},function(t,i){function n(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var i,n=1,s=arguments.length;n<s;n++)for(var e in i=arguments[n])Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e]);return t}).apply(this,arguments)},h=this&&this.__spreadArrays||function(){for(var t=0,i=0,n=arguments.length;i<n;i++)t+=arguments[i].length;var s=Array(t),e=0;for(i=0;i<n;i++)for(var r=arguments[i],h=0,o=r.length;h<o;h++,e++)s[e]=r[h];return s};Object.defineProperty(i,"__esModule",{value:!0});var o=n("JcWZ"),u=n("g6Is"),a=n("rBpt"),c=n("qrnT"),f=n("FOY8"),l=n("Db1k"),v=n("1+S/"),d=n("p/Bv"),p=n("z88l"),m=n("ecni"),b=n("Pu4D"),y=n("R9ZO"),g=n("m1ef"),w=n("t7Hg"),E=n("he5r"),O=n("Krh1"),A=n("JqHr"),_=n("1GgL"),T=n("0zFh"),S=n("FXl5"),I=n("afoZ"),j=n("c+yx"),M=n("Oj6Y"),N=function(t){function i(i,n,s){var e=t.call(this,"OathController")||this;return e._0=[],e.p9=null,e.m9=null,e.b9=null,e.ZE=i,e.sO=n,e.OM=s,e.oE=new A.default(i,n),e.PS=new f.default(e.oE),e.ZE.analytics=!1,e.y9=e.g9(),e.w9=new b.default(e.OM),e.E9=new g.default(e.OM),e.O9=new w.default(e.OM),e.A9=new y.default(e.OM,e.getPlaylist()),e.lO=new M.default,e.y9.on(u.Events.MEDIA_ITEM_CURRENT,e._9,e),e.y9.on(u.Events.PLAYBACK_PROGRESS,e.hP,e),e.T9(),e}return e(i,t),i.prototype.destroy=function(){var i;this.oE.destroy(),this.y9.destroy(),null===(i=this.w9)||void 0===i||i.destroy(),this.S9&&this.S9.destroy(),this.m9&&(this.m9.destroy(),this.m9=null),t.prototype.destroy.call(this)},i.prototype.initialize=function(){var t=this;this.y9.addMetricsEventListener((function(){for(var i,n,s,e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var u=Array.prototype.slice.call(e,1,e.length-1),a=e[0],c=e[e.length-1],f=t.oE.getEventsDto();f.playerVersion=t.OM.version,f.playlistUIConfig=null===(s=null===(n=t.ZE)||void 0===n?void 0:n.ui)||void 0===s?void 0:s.playlist,(i=t.OM).publish.apply(i,h([a],u.concat(r(r({},c),f)))),t.I9(a,u)}),this),this.c_(),this.j9(),this.y9.initialize()},i.prototype.render=function(t){this.y9.render(t)},i.prototype.getCurrentTime=function(){return this.y9.getCurrentTime()},i.prototype.getCurrentDate=function(){return this.y9.getCurrentDate()},i.prototype.getVolume=function(){return this.y9.getVolume()},i.prototype.getMediaStore=function(){return this.y9.getMediaStore()},i.prototype.getCurrentMediaItem=function(){return this.getPlaylist().getCurrentItem()},i.prototype.getPlaybackState=function(){return this.y9.getPlaybackState()},i.prototype.play=function(t,i){return this.y9.play(t,i)},i.prototype.pause=function(t){this.y9.pause(t)},i.prototype.preload=function(t){},i.prototype.seek=function(t){this.y9.seek(t)},i.prototype.disableControls=function(){this.y9.disableControls()},i.prototype.enableControls=function(){this.y9.enableControls()},i.prototype.enableCC=function(t){return this.y9.enableCC(t)},i.prototype.disableCC=function(){return this.y9.disableCC()},i.prototype.isPlayMode=function(){return this.y9.isPlayMode()},i.prototype.isLoading=function(){return this.y9.isLoading()},i.prototype.setFullscreen=function(t){this.y9.setFullscreen(t)},i.prototype.getFullscreen=function(){return this.y9.getFullscreen()},i.prototype.setVolume=function(t){this.y9.setVolume(t)},i.prototype.setMute=function(t){this.y9.setMute(t)},i.prototype.getMute=function(){return this.y9.getMute()},i.prototype.setLoop=function(t){return this.y9.setLoop(t)},i.prototype.setContinuousPlay=function(t){return this.y9.setContinuousPlay(t)},i.prototype.resumeContinuousPlay=function(t){this.y9.resumeContinuousPlay()},i.prototype.setAudioLanguage=function(t){this.y9.setAudioLanguage(t)},i.prototype.isDocked=function(){return this.y9.isDocked()},i.prototype.setMediaItemTitle=function(t,i){return this.y9.setMediaItemTitle(t,i)},i.prototype.addVdmsListener=function(t,i){return this.y9.addEventListener(t,i,this.OM)},i.prototype.removeVdmsListener=function(t,i){return this.y9.removeEventListener(t,i)},i.prototype.getPlaybackStartDto=function(){return this.y9.getPlaybackStartDto()},i.prototype.updateDockingConfig=function(t,i,n,s,e,r){this.y9.updateDockingConfig(t,i,n,s,e,r)},i.prototype.getPlaylist=function(){return this.y9.getPlaylist()},i.prototype.suspend=function(){var t=this.y9.suspendState();t&&(this.p9=t,this.M9())},i.prototype.resume=function(){this.p9&&(this.y9.resumeState(this.p9),this.j9(),this.y9.initialize(),this.y9.render(this.p9.selector),this.p9=null)},i.prototype.updateGeoConfig=function(t){this.oE.updateGeoConfig(t)},i.prototype.getVideoElement=function(){return this.y9.getVideoElement()},i.prototype.getRootElement=function(){return this.y9.getRootElement()},i.prototype.isSuspended=function(){return this.y9&&this.y9.isSuspended()||!1},i.prototype.undockVideoPlayer=function(t){return this.y9&&this.y9.undockVideoPlayer(t)},i.prototype.addCustomControlElement=function(t){return this.y9.addCustomControlElement(t)},i.prototype.isRendered=function(){return this.y9&&this.y9.isRendered()||!1},Object.defineProperty(i.prototype,"guid",{get:function(){return this.y9&&this.y9.guid||""},enumerable:!1,configurable:!0}),i.prototype.getMediaItemMarkers=function(t){return this.y9.getMediaItemMarkers(t)},i.prototype.setError=function(t,i,n,s,e){this.y9.__setError(t,i,n,s,e)},i.prototype.g9=function(t){void 0===t&&(t=!0);var i=this.ZE.mediaItems;if(this.oE.playlistId&&(!i||0===i.length)){var n=this.N9();return this.R9(),n}return this.D9()},i.prototype.N9=function(){return this.y9?this.y9:(this.S9=new I.default,this.S9.getProxy())},i.prototype.D9=function(){this.L9();var t=new u.Player(this.ZE,this.sO);return this.oE.guid=t.guid,t},i.prototype.R9=function(){var t=this;if(this.S9&&this.PS){var i={onComplete:function(i){t.S9&&(i&&(t.ZE.mediaItems=i),t.y9=t.D9(),t.S9.execute(t.y9),t.S9.destroy(),t.S9=void 0,t.OM.playlist=new T.default(t.getPlaylist()),t._0.forEach((function(i){i.type===u.Plugin.PluginType.MORE_ITEMS&&(i.playlist=t.getPlaylist())})))},onError:function(){throw new Error("Fetch more items with playlistId failed")},onApiCallInfo:function(){},onPromisesResolved:function(){}};this.PS.resolve({mimeType:u.MediaItemInterfaces.MediaItemMimeType.SAPI,playlistId:this.oE.playlistId,reason:u.Plugin.MoreItemsReason.PLAYLISTID_NEED_RESOLVE,start:0},i)}},i.prototype.c_=function(){this.y9.on(u.Events.MEDIA_ITEM_METADATA,this.k9,this),this.y9.on(u.Events.PLAYBACK_STOPPED,this.s8,this),this.y9.on(u.Events.MEDIA_ITEM_COMPLETE,this.s8,this),this.y9.once("opssVisibilityChanged",this.C9,this),this.y9.once("playlistBottomHeightChange",this.P9,this)},i.prototype.hP=function(t,i,n){this.oE.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.b9&&this.b9.onMediaPlaybackProgress(t,i,n)},i.prototype._9=function(t){if(this.oE.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE){var i=this.oE.isMediaItemWatched(t.id),n=this.oE.watchHistoryConfig&&this.oE.watchHistoryConfig.enabled&&this.oE.watchHistoryConfig.skipWatchedVideos;if(i&&n){var s=this.getPlaylist().getPosition();this.getPlaylist().setPosition(s+1)}}},i.prototype.k9=function(t,i){this.m9&&(this.m9.destroy(),this.m9=null),t.customConfig&&t.customConfig.allowedConnectionTypes&&(this.m9=new _.default(this.oE,t.rawItemData),this.x9())},i.prototype.s8=function(t){this.m9&&(this.m9.destroy(),this.m9=null),this.oE.playlistMimetype===p.STRUCTURED_PLAYLIST_MIMETYPE&&this.b9&&this.b9.onMediaItemEnded(t)},i.prototype.T9=function(){this.oE.videoRecommendations&&(this.setContinuousPlay(!0),this.oE.continuousPlay=!0)},i.prototype.C9=function(t,i){var n=this.getCurrentMediaItem(),s=n&&n.license,e={version:this.OM.version,config:this.OM.oathConfig,lmsId:s&&s.salesforceId||""};this.lO.updateOathPlayerOpss(t,i,e)},i.prototype.P9=function(t){var i;(null===(i=this.ZE)||void 0===i?void 0:i.iframeRender)&&this.OM.iframeController&&this.OM.iframeController.onPlaylistDimensionChange(t)},i.prototype.x9=function(t){var i=this;void 0===t&&(t=18e4),this.m9&&this.m9.scheduleVerification((function(t){t?i.x9():i.setError("info","R",a.errorCodes.E_PLAYER,a.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE,S.default.ERR_RESTRICTED_NETWORK_TYPE)}),t)},i.prototype.j9=function(){var t=this;this.b9=new p.default(this.oE),this._0.push(new c.default),this._0.push(new l.default(this.oE)),this._0.push(new d.default(this.oE)),this._0.push(new v.default(this.oE,this.getPlaylist())),this._0.push(new m.default),this._0.push(this.b9),this._0.forEach((function(i){t.y9.registerPlugin(i)}))},i.prototype.M9=function(){this._0.forEach((function(t){t.destroy()})),this._0=[]},i.prototype.I9=function(t,i){var n,s,e,r;switch(i=i||[],t){case u.Events.AD_BREAK_ITEM_PLAYBACK_STARTED:e=i[0]&&i[0].id||"",this.OM.publish(O.API.AD_PLAYBACK_START,e);break;case u.Events.AD_BREAK_ITEM_ENDED:e=i[0]&&i[0].id||"",this.OM.publish(O.API.AD_PLAYBACK_STOP,e);break;case u.Events.PLAYBACK_START:(n=this.OM).publish.apply(n,h([O.API.PLAYBACK_STARTED],i));break;case u.Events.PLAYBACK_RESUMED:(r=this.y9.getCurrentAdBreakItem())&&this.OM.publish(O.API.AD_PLAYBACK_RESUME,r.id);break;case u.Events.PLAYBACK_PAUSE:(r=this.y9.getCurrentAdBreakItem())&&this.OM.publish(O.API.AD_PLAYBACK_PAUSE);break;case u.Events.PLAYBACK_COMPLETE:(s=this.OM).publish.apply(s,h([O.API.PLAYBACK_ENDED],i))}},i.prototype.L9=function(){var t,i,n=((t={})[E.VRM_PLUGIN_MIMETYPE]={playerBucket:j.default.getBckt(),experienceName:this.oE.experienceName,experienceBucket:this.oE.experienceBucket,playerName:"VerizonMediaPlayer"},t),s=((i={})[u.Plugin.PluginType.AD]=n,i);this.ZE.pluginConfigs=j.default.extend(s,this.ZE.pluginConfigs)},i}(o.default);i.default=N},wqBe:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.MEDIA_ITEM_NEED_SOURCE="mediaItemNeedSource",i.MEDIA_ITEM_ERROR="mediaItemError",i.MEDIA_ITEM_METADATA="mediaItemMetadata",i.MEDIA_ITEM_ADDED="mediaItemAdded",i.MEDIA_ITEM_REMOVED="mediaItemRemoved",i.MEDIA_ITEM_CURRENT="mediaItemCurrent",i.MEDIA_ITEM_COMPLETE="mediaItemComplete",i.AD_BREAK_STARTED="adBreakStarted",i.AD_BREAK_ENDED="adBreakEnded",i.AD_BREAK_ITEM_CURRENT="adBreakItemCurrent",i.AD_BREAK_ITEM_PLAYBACK_STARTED="adPlaybackStarted",i.AD_BREAK_ITEM_ENDED="adBreakItemEnded",i.AD_BREAK_ITEM_ERROR="adBreakItemError",i.AD_BREAK_ITEM_SKIPPED="adBreakItemSkipped",i.AD_BREAK_ITEM_CLICKED="adBreakItemClicked",i.AD_METRICS="adMetrics",i.OPSS_VISIBILITY_CHANGED="opssVisibilityChanged",i.TIMED_METADATA_RECEIVED="timedMetadataReceived",i.ERROR="player-error",i.WARNING="player-warning",i.INFO="player-info",i.INTERNAL_INFO="playerInternalInfo",i.INTERNAL_ERROR="playerInternalError",i.KEYDOWN="keydown",i.WINDOW_ON_FOCUS="focus",i.WINDOW_ON_BLUR="blur",i.START_SCREEN_RENDERED="startScreenRendered",i.START_SCREEN_CLICK="startScreenClick",i.END_SCREEN_RENDERED="endScreenRendered",i.CTRL_ENDSCREEN_VID="selectedEndscreenVideo",i.RELATED_ITEM_CLICK="relatedItemClick",i.UP_NEXT_PG_CLICK="upNextPgClick",i.SEEK_BAR_MOUSEOVER="seekBarMouseover",i.SEEK_BAR_MOUSEOUT="seekBarMouseout",i.TOGGLE_PLAY_PAUSE="togglePlayPause",i.CONTROLS_SEEK_START="controlsSeekStart",i.CONTROLS_SEEK_END="controlsSeekEnd",i.CONTROLS_SEEKING="controlsSeeking",i.CONTROLS_SET_VOLUME="controlsSetVolume",i.CONTROLS_SET_MUTE="controlsSetMute",i.FULLSCREEN_CHANGE="fullscreenChange",i.PLAYER_DIMENSION_CHANGE="playerDimensionChange",i.PLAYLIST_BOTTOM_HEIGHT_CHANGE="playlistBottomHeightChange",i.METADATA_AVAILABLE="metadataAvailable",i.MORE_ITEMS_LOADED="moreItemsLoaded",i.RENDERER_SWITCHED="rendererSwitched",i.TOUCH_TO_PLAY_RESTRICTION_REMOVED="mobileTouchPlayRestrictionRemoved",i.RENDER_PLAYLIST_FIRST_BATCH="renderPlaylistFirstBatch",function(t){t.TOGGLE_PLAYING="cTogglePlaying",t.BUFFERING="cBuffering",t.MEDIA_CHANGED="cMediaChanged",t.PLAYBACK_PROGRESS="cPlaybackProgress",t.VIDEO_ENDED="cVideoEnded",t.PLAYLIST_ENDED="cPlaylistEnded",t.CONNECTION_STATUS_CHANGED="cConnChanged",t.VOLUME_CHANGED="cReceiverVolumeChanged",t.MUTE_CHANGED="cReceiverMuteChanged",t.CAPTION_AVAILABILITY_CHANGED="cCaptionsAvailabilityChanged"}(i.CAST||(i.CAST={})),i.CONTROLS_AUDIO_CHANGE="controlsAudioChange",i.MULTI_LANGUAGES_AVAILABLE="multiLanguagesAvailable",i.THREE_SIXTY_READY="360Ready",i.THREE_SIXTY_INTERACT="360Interact",i.THREE_SIXTY_PIE_INTERACT="360PieInteract",i.PLAYER_RESIZE="playerResize",i.VTT_SEGMENT_LOADED="vttSegmentLoaded",i.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",i.MEDIA_PLAYLIST_UPDATED="mediaPlaylistUpdated",i.SUBTITLE_PLAYLIST_UPDATED="subtitlePlaylistUpdated",i.LIVE_LOADING_LATE="liveLoadingLate",i.RECOVERY_START="recoveryStart",i.RECOVERY_METADATA_READY="recoveryMetadataReady",i.ER_READY="erReady",i.ER_ERROR="erError",i.CONVIVA_READY_FOR_SESSION_CREATION="convivaReadyForSessionCreation",i.PLAYBACK_INFO="playbackInfo",i.SUBTITLE_TRACK_RECEIVED="subtitleTrackReceived",i.AD_SUBTITLE_TRACK_ADDED="adSubtitleTrackAdded",i.PAGE_VISIBILITY_CHANGED="pageVisibilityChanged",i.LIVE_RELOAD_MEDIA="reloadMedia",function(t){t.INFO_UPDATE="infoUpdate",t.SEGMENT_FIRST_BYTE_LOADED="segmentFirstByteLoaded",t.SEGMENT_RENDERED="segmentRendered",t.VTT_SEGMENT_LOADED="vttSegmentLoaded",t.STREAM_SWITCHED="streamSwitched",t.LIVE_LOADING_LATE="liveLoadingLate",t.STREAM_UPDATED="streamUpdated",t.HLS_WAITING="hlsWaiting",t.CUEPOINT_DETECTED="cuepointDetected",t.CUEPOINT_STARTED="cuepointStarted",t.SUBTITLE_STREAM_UPDATED="subtitleStreamUpdated",t.PRELOAD_PROGRESS="preloadProgress",t.SEGINFO_METRICS_AVAILABLE="segInfoMetricsAvailable",t.CONTENT_LOAD_FINISHED="contentLoadFinished",t.PRELOAD_START="preloadStart",t.PRELOAD_COMPLETE="preloadComplete",t.BUFFER_GROWTH_DETECTED="bufferGrowthDetected",t.BUFFER_GAP_DETECTED="bufferGapDetected",t.CC_VTT_AVAILABLE="ccVttAvailable",t.MULTI_LANGUAGES_AVAILABLE="multiLanguagesAvailable",t.TIMED_METADATA_READY="timedMetadataReady",t.MEDIA_METADATA_LOADED="mediaMetadataLoaded"}(i.HLSVideoEvent||(i.HLSVideoEvent={})),i.SEG_INFO_AVAILABLE="segInfoAvailable",i.CONTENT_LOAD_FINISHED="contentLoadFinished",i.PRELOAD_START="preloadStart",i.PRELOAD_PROGRESS="preloadProgress",i.PRELOAD_COMPLETE="preloadComplete",i.BUFFER_GROWTH_DETECTED="bufferGrowthDetected",function(t){t.SRC_SWITCHING="videoSrcSwitching",t.SRC_SWITCHED="videoSrcSwitched",t.CLICK="videoClick",t.PAUSE="pause",t.ENDED="ended",t.ERROR="error",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting",t.BLOCKED="blocked"}(i.VideoEvent||(i.VideoEvent={})),i.VIDEO_REQUEST="videoRequest",i.PLAYBACK_REQUEST="playbackRequest",i.PLAYBACK_STARTED="playbackStarted",i.PLAYBACK_RESUMED="playbackResumed",i.PLAYBACK_PROGRESS="playbackProgress",i.PLAYBACK_STALLED="playbackStalled",i.PLAYBACK_COMPLETE="playbackComplete",i.PLAYBACK_STOPPED="playbackStopped",i.PLAYBACK_ERROR="playbackError",i.API_CALLED="apiCalled",i.CTRL_PLAYPAUSE="ctrlPlayPause",i.CTRL_SEEK="ctrlSeek",i.CTRL_VOLUME="ctrlVolume",i.CTRL_FULLSCREEN="ctrlFullscreen",i.CTRL_SETTINGS="ctrlSettings",i.CTRL_REPLAY="ctrlReplay",i.CTRL_PLAYREQUEST="ctrlPlayRequest",function(t){t.SETTINGS="ccSettings",t.TOGGLE="ccToggle",t.UI_TOGGLE="ccUiToggle",t.REQUEST_UI_DATA_FOR_MEDIA_ITEM="ccRequestUiDataForMediaItem",t.REMOVED="ccDestroy",t.SHOW_CONTROLS="ccShowControls",t.LANGUAGE_CHANGE="ccLangChange",t.CC_OPTIONS_LANGUAGE_CHANGE="ccOptionsLangChange",t.FONT_SIZE_CHANGE="ccFontSizeChange",t.FONT_FACE_CHANGE="ccFontFaceChange",t.BG_OPACITY_CHANGE="ccBgOpacityChange",t.USER_STYLE_PREFERENCES_CHANGE="ccUserStylePrefChange",t.UPDATE_STYLE="ccUpdateStyle",t.POSITION_CHANGE="ccPosChange",t.POSITION_FLOAT="ccPosFloat"}(i.CCEvent||(i.CCEvent={})),function(t){t.GET_BITRATE_FOR_OPSS="ctvGetBitrateForOpss"}(i.CTV||(i.CTV={})),i.BEFORE_PROGRESS_BEACON="beforeProgressBeacon",i.BEFORE_INCOMPLETE_EXIT="beforeIncompleteExit",i.METRICS={INIT_TO_STARTSCREEN:{type:"titssc"},CLICK_TO_START:{type:"ttsapf"},INIT_TO_START:{type:"ttsapt"},PLAYBACK_START:{type:"tpb"},INIT_CONT_PLAY_START:{type:"tcps"},PLAYBACK_STALLED:{type:"tps"},LOAD_TO_LOADED_DATA:{type:"tltld"},CMS_REQUEST:{type:"tsapic"},CMS_SOURCE_REQUEST:{type:"tssrcapic"},CMS_MORE_ITEMS_REQUEST:{type:"tsmiapic"},INIT_RENDER_GAP:{type:"tirg"},SET_WATCH_HISTORY:{type:"tsetwh"},VP_CONSTRUCTOR:{type:"tcons"},GET_USER_PREFS:{type:"tgetcc"},CREATE_RENDERER:{type:"trcreate"},STREAM_REQUEST_TO_RENDER:{type:"treqtr"},STREAM_PLAY_TO_RENDER:{type:"tsltps"},AD_PLUGIN:{type:"tadp"},DEFERRING_PLAYBACK:{type:"tdpb"}},function(t){t.ORIENTATION_CHANGE="deviceOrientationChange"}(i.Device||(i.Device={})),i.PROFILE_START="profileStart",i.PROFILE_END="profileEnd"},wzly:function(t,i,n){"use strict";t.exports=r;var s=n("9m1L").HLSEvent,e=n("LmPb");function r(){this.oE=this.BI.appModel,this._node=this.BI.node,this.U9={currentStreamBitrate:0,frameDrop:0,frameRateSum:0,frameRateSampleCount:0,currentKbps:0,deliveryProtocol:this.V9(),bufferingCount:0,totalBufferingTime:0,streamingMode:this.oE.streamingMode},this.FRAMERATE_SAMPLE_SIZE=4,this.B9={prevTotalFrames:0,prevTotalDroppedFrames:0,prevFrameRateMeasuredTime:0,frameRateSampleCollector:[],currentFrameRate:0},this.F9=new e(1e3),this.F9.addEventListener(this.z9,this)}r.prototype.destroy=function(){this.U9=null,this.F9.destroy()},r.prototype.onPlay=function(){this.F9.start()},r.prototype.onPlaying=function(){this.z9()},r.prototype.onPause=function(){this.F9.stop()},r.prototype.updateBufferingInfo=function(t){t&&(t.value||t.bufferInit||(this.U9.bufferingCount++,this.U9.totalBufferingTime+=t.waitTime))},r.prototype.z9=function(){var t=this.oE.streams,i=this.U9,n=this.oE.getCurrentPlayingStream(),e=this.getFpsStats();n&&(i.currentStreamIndex=this.oE.currentPlayingStreamIndex,i.currentStreamBitrate=n.bitrate/1e3,i.mediaWidth=n.width,i.mediaHeight=n.height),t.length&&(i.qualityLevels=t.length,i.minBitRate=t[0].bitrate,i.maxBitRate=t[i.qualityLevels-1].bitrate),i.bufferLength=this.oE.getBufferLength().toFixed(2),i.bufferLength<=5&&this._node.buffered.length,i.frameRate=e.frameRate.toFixed(2),i.droppedFrames=e.droppedFrames,i.currentKbps=(1e3*this.oE.currentKbps).toFixed(0),i.streamingMode=this.oE.streamingMode,i.drm=this.oE.drmRequired,i.drmsys=this.oE.licenseType,this.oE.infoUpdateSent=!0,this.BI.sendEvent(s.INFO_UPDATE,{mediaInfo:this.U9})},r.prototype.getWindow=function(){return window},r.prototype.V9=function(){var t=this.getWindow();return t&&t.location&&t.location.protocol?t.location.protocol.slice(0,-1):"http"},r.prototype.getFpsStats=function(){var t,i,n=this._node,s=0,e=this.B9,r=n.currentTime-e.prevFrameRateMeasuredTime,h=this.H9(),o=0;return(h.isWebKitFpsAvailable||h.isNonWebKitFpsAvailable)&&(t=h.isWebKitFpsAvailable?n:n.getVideoPlaybackQuality(),i=h.isWebKitFpsAvailable?t.webkitDecodedFrameCount:t.totalVideoFrames,o=h.isWebKitFpsAvailable?t.webkitDroppedFrameCount:t.droppedVideoFrames,(s=e.prevFrameRateMeasuredTime>0&&0!==r?(i-e.prevTotalFrames-(o-e.prevTotalDroppedFrames))/r:e.currentFrameRate)&&e.frameRateSampleCollector.push(s),this.q9(),e.prevTotalFrames=i,e.prevTotalDroppedFrames=o,e.prevFrameRateMeasuredTime=n.currentTime),{frameRate:e.currentFrameRate,droppedFrames:o}},r.prototype.H9=function(){var t=this._node;return{isWebKitFpsAvailable:void 0!==t.webkitDecodedFrameCount,isNonWebKitFpsAvailable:"function"==typeof t.getVideoPlaybackQuality}},r.prototype.q9=function(){var t=this.B9.frameRateSampleCollector;if(t.length>=this.FRAMERATE_SAMPLE_SIZE){var i=t.reduce((function(t,i){return t+i}));this.B9.currentFrameRate=i/t.length,t.splice(0,t.length)}}},xPNL: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("P2OX"),a=n("wqBe"),c=n("EOV8"),f=n("IWlq"),l=n("yf6s"),v=n("U3HQ"),d=n("Rt7R");function p(t){return l.default.classList(t)}!function(t){t.UI_INTERACT="playlistViewUiInteract",t.SCROLLED_TO_END="playlistViewScrolledToEnd"}(r=i.PlaylistViewEvent||(i.PlaylistViewEvent={}));var m=function(t){function i(i,n,s,e){var r=t.call(this,"PlaylistView")||this;return r.fO=i,r.lO=n,r.oE=s,r.vO=e,r.fO.addEventListener(a.PLAYER_DIMENSION_CHANGE,r.FV,r),r.fO.addEventListener(a.FULLSCREEN_CHANGE,r.G9,r),r.cF=r.lO.getPlaylistController(),r.Y9=r.W9.bind(r),r}return e(i,t),i.prototype.create=function(t){if(-1===[u.PLAYLIST_POS.BOTTOM,u.PLAYLIST_POS.RIGHT,u.PLAYLIST_POS.HIDDEN].indexOf(t))return null;var i="vp-playlist-mode-"+t;this.Z9=0,this.Q9=[],this.X9=this.J9(t),this.QY=t;var n=l.default.render(d,{strings:f.default,modeClass:i,isHiddenMode:t===u.PLAYLIST_POS.HIDDEN||!1,theme:this.X9,streamModeClass:this.K9.inStream?"vp-playlist-in-stream":""});return this.oE.uiState&&this.oE.uiState.isCSSLoaded&&p(n).remove("vp-vis-hidden"),this.t7(n),this.i7(),this.c_(!0),n},i.prototype.syncView=function(){this.i7()},i.prototype.upNextBtnTapHandler=function(){var t=this.n7();if(!t.isEndOfPlaylist()){var i=t.position+1,n=t.getMediaItemAt(i).id;this.publish(r.UI_INTERACT,{srcElement:"ctrl-next-click"}),this.publish(r.UI_INTERACT,{srcElement:"ui_pl_nxt_clk"}),this.fO.publish(a.RELATED_ITEM_CLICK,n,i,!1);var s=this.QY===u.PLAYLIST_POS.RIGHT;this.s7(this.QY,s)}},i.prototype.syncPgBtns=function(){this.e7.scrollWidth<=this.e7.scrollLeft+this.e7.offsetWidth?this.r7=!0:this.r7=!1,this.e7.scrollLeft<=0?this.h7=!0:this.h7=!1,this.h7?p(this.o7).add("disabled"):p(this.o7).remove("disabled"),this.r7?p(this.u7).add("disabled"):p(this.u7).remove("disabled")},i.prototype.destroy=function(){var t=this;(this.a7(),this.Q9&&this.Q9.forEach((function(t){t.destroy()})),this.Q9=[],this.RS)&&this.c7().forEach((function(i){i.removeEventListener("tap",t.Y9)}))},i.prototype.setPlaylistViewSize=function(){var t=Math.floor(this.e7.offsetWidth/134);this.r7=t>=this.n7().getItems().length,this.syncPgBtns()},i.prototype.onMediaItemCurrent=function(){var t=this.lO.getFullscreen()?u.PLAYLIST_POS.HIDDEN:this.QY;this.s7(t,!0)},i.prototype.W9=function(t){p(this._node).remove("open");var i=this.c7().indexOf(t.target);this.fO.publish(a.RELATED_ITEM_CLICK,t.target.getAttribute("data-id"),i,!1),this.publish(r.UI_INTERACT,{srcElement:"ui_pl_thmb_clk"}),this.onMediaItemCurrent()},i.prototype.i7=function(){var t=this.n7().getItems();t&&0!==t.length&&(this.Q9=[],this.f7(t),this.e7.scrollLeft=this.Z9,this.syncPgBtns())},i.prototype.c_=function(t){var i=this;if(this.l7=new v.default(this.o7),this.o7.addEventListener("tap",(function(){i.v7(!1)})),this.d7=new v.default(this.u7),this.u7.addEventListener("tap",(function(){i.v7(!0)})),this.QY===u.PLAYLIST_POS.RIGHT&&!o.userAgent.mobile){this.RS.addEventListener("scroll",(function(){t&&i.RS.scrollTop+i.RS.offsetHeight>=i.RS.scrollHeight&&i.publish(r.SCROLLED_TO_END)}));var n=function(t){var n=i.RS.scrollTop,s=i.RS.scrollHeight,e=i.RS.offsetHeight,r="DOMMouseScroll"===t.type?-40*t.detail:t.wheelDelta,h=r>0,o=function(){return t.stopPropagation(),t.preventDefault(),t.returnValue=!1,!1};return!h&&-r>s-e-n?(i.RS.scrollTop=s,o()):!(h&&r>n)||(i.RS.scrollTop=0,o())};this.e7.addEventListener("mousewheel",n),this.e7.addEventListener("DOMMouseScroll",n)}},i.prototype.f7=function(t){var i=this,n=t&&t.filter((function(t){var n='.vp-playlist-item[data-id="'+t.id+'"]';return!i.RS.querySelector(n)}))||[],s=this.vO.getPlugin(c.PluginType.PLAYLIST,this.K9.mimetype);if(s){var e=s.create(this.QY,n,this.e7,f.default),r=document.createDocumentFragment();e.forEach((function(t,n){i.Q9.push(new v.default(t,n)),t.addEventListener("tap",i.Y9),r.appendChild(t)})),this.RS.appendChild(r),this.setPlaylistViewSize(),p(this.p7).remove("vp-pl-loading"),this.lO.getFullscreen()||this.s7(this.QY,!1)}},i.prototype.v7=function(t){var i=this.lO.getFullscreen();if((this.QY!==u.PLAYLIST_POS.RIGHT||i)&&!(this.r7&&t||this.h7&&!t)){t&&this.e7.scrollWidth-2*this.e7.offsetWidth<=this.e7.scrollLeft&&this.publish(r.SCROLLED_TO_END),this.fO.publish(a.UP_NEXT_PG_CLICK);var n="next-";n=t?n+"right":n+"left",this.publish(r.UI_INTERACT,{srcElement:n});var s=148*Math.floor(this.e7.offsetWidth/148);t?this.e7.scrollLeft=Math.min(this.e7.scrollLeft+s,this.e7.scrollWidth-this.e7.offsetWidth):t||(this.e7.scrollLeft=Math.max(this.e7.scrollLeft-s,0)),this.Z9=this.e7.scrollLeft,this.syncPgBtns()}},i.prototype.s7=function(t,i){var n=this.n7().getCurrentItem(),s=n&&n.id,e=this.RS.querySelector(".vp-currently-playing"),r='.vp-playlist-item[data-id="'+s+'"]',h=this.RS.querySelector(r);if(e&&(p(e).remove("vp-currently-playing"),t!==u.PLAYLIST_POS.RIGHT)){var o=e.querySelector(".vp-pl-title"),a=e.querySelector(".vp-pl-dur"),c=e.querySelector(".vp-playlist-item-gradient"),f=e.querySelector(".vp-now-playing");p(o).remove("vp-show"),p(a).remove("vp-hide"),p(c).remove("vp-playlist-item-gradient-duration"),p(f).remove("vp-show")}if(h){var l=h.offsetLeft,v=h.offsetWidth,d='[data-label-for-id="'+s+'"]',m=this.RS.querySelector(d);if(p(h).add("vp-currently-playing"),t!==u.PLAYLIST_POS.RIGHT){var b=h.querySelector(".vp-pl-dur"),y=h.querySelector(".vp-playlist-item-gradient"),g=h.querySelector(".vp-now-playing");p(b).add("vp-hide"),p(y).add("vp-playlist-item-gradient-duration"),p(g).add("vp-show");var w=v+14;l=t===u.PLAYLIST_POS.HIDDEN?l+w:l,this.RS.parentElement.scrollLeft=l}else if(t===u.PLAYLIST_POS.RIGHT&&i){var E=h.offsetTop;this.RS.scrollTop=m?m.offsetTop:E-5}this.syncPgBtns()}},i.prototype.J9=function(t){var i,n=this.K9&&this.K9.theme||"dark";switch(t){case u.PLAYLIST_POS.BOTTOM:case u.PLAYLIST_POS.RIGHT:i=n;break;case u.PLAYLIST_POS.HIDDEN:i="dark";break;default:i="dark"}return i},i.prototype.t7=function(t){this._node=t,this.RS=t.querySelector(".vp-playlist-strip-list"),this.e7=t.querySelector(".vp-playlist-strip"),this.p7=t,this.o7=t.querySelector(".vp-playlist-pg-btn-prev"),this.u7=t.querySelector(".vp-playlist-pg-btn-next")},i.prototype.G9=function(){var t,i,n,s,e,r,h=this,o=this.lO.getFullscreen(),a=this.lO.getContentNode();if(this.FV(),this.cF.isPlaylistShown()&&this.setPlaylistViewSize(),this.QY===u.PLAYLIST_POS.BOTTOM||this.QY===u.PLAYLIST_POS.RIGHT){if(e=a.querySelector(".vp-upnext-playlist"),t=a.querySelector(".vp-playlist-mode-hidden"),i=a.querySelector(".vp-playlist-mode-"+this.QY),n=t.querySelector(".vp-playlist-strip-list"),s=i.querySelector(".vp-playlist-strip-list"),o)n.innerHTML=s.innerHTML,s.innerHTML="",p(e).remove("hide"),p(t).remove("vp-pl-loading"),this.t7(t),this.cF&&this.cF.attachUpNextMouseEvents(),setTimeout((function(){h.s7(u.PLAYLIST_POS.HIDDEN,!0)}),500);else{s.innerHTML=n.innerHTML,n.innerHTML="",r=this.QY===u.PLAYLIST_POS.RIGHT,p(e).add("hide"),this.t7(i),this.cF&&this.cF.detachUpNextMouseEvents();var c=this.RS.querySelector(".vp-currently-playing");c&&p(c).remove("vp-hide"),setTimeout((function(){h.s7(h.QY,r)}),500)}this.a7(),this.Q9&&this.Q9.forEach((function(t){t.destroy()})),this.Q9=[],this.c_(!1),this.c7().forEach((function(t){h.Q9.push(new v.default(t)),t.addEventListener("tap",h.Y9)}))}},i.prototype.FV=function(){var t=this;this.cF.isPlaylistShown()&&(this.Z9=0,setTimeout((function(){t.setPlaylistViewSize()}),1e3))},i.prototype.a7=function(){this.d7&&this.u7&&(this.d7.destroy(),this.u7.removeEventListener("tap",this.v7)),this.l7&&this.o7&&(this.l7.destroy(),this.o7.removeEventListener("tap",this.v7))},i.prototype.c7=function(){return Array.prototype.slice.call(this.RS.querySelectorAll(".vp-playlist-item"),0)},i.prototype.n7=function(){return this.oE.playlist},Object.defineProperty(i.prototype,"K9",{get:function(){return this.oE.playlistUIConfig},enumerable:!0,configurable:!0}),i}(h.default);i.default=m},xPTa: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");!function(t){t.EXTERNAL="EXTERNAL",t.HTML5_HLS="HTML5_HLS",t.HTML5_RAW="HTML5_RAW",t.HTML5_RAW_360="HTML5_RAW_360",t.HTML5_HLS_360="HTML5_HLS_360",t.HTML5_TV="HTML5_TV",t.HTML5_TV_TIZEN="HTML5_TV_TIZEN",t.HTML5_TV_ORSAY="HTML5_TV_ORSAY",t.UNKNOWN="UNKNOWN"}(r=i.RendererType||(i.RendererType={})),function(t){t.VIDEO="video",t.AD="ad"}(i.PlaybackMode||(i.PlaybackMode={})),function(t){t.ENDED="ended",t.ERROR="error",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.PAUSE="pause",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting"}(i.NativeVideoEvent||(i.NativeVideoEvent={})),function(t){t.PAUSE="pause",t.ENDED="ended",t.ERROR="error",t.INFO="info",t.LOADEDMETADATA="loadedmetadata",t.LOADEDDATA="loadeddata",t.STALLED="stalled",t.LOADSTART="loadstart",t.PLAY="play",t.PLAYING="playing",t.SEEKING="seeking",t.SEEKED="seeked",t.TIMEUPDATE="timeupdate",t.VOLUMECHANGE="volumechange",t.WAITING="waiting"}(i.RendererEvent||(i.RendererEvent={})),function(t){t.SRC_SWITCHING="srcSwitching",t.SRC_SWITCHED="srcSwitched",t.CLICK="rendererClick",t.PLAYBACK_START_BLOCKED="playBlocked",t.PLAYBACK_START_NOT_BLOCKED="playNotBlocked",t.SKIPPED="rendererItemSkipped",t.END_FULLSCREEN="endFullscreen",t.PLAY_COMPLETE="playComplete"}(i.CustomRendererEvent||(i.CustomRendererEvent={})),function(t){t.RENDER_PDL="1",t.RENDER_VPAID="2",t.RENDER_HLS="3"}(i.ExternalPlayerCapability||(i.ExternalPlayerCapability={})),function(t){t.PLAYBACK_ERROR="external-player-error",t.ITEM_LOADED="external-player-item-loaded",t.PLAY_REQUESTED="external-player-play-requested",t.PLAYING="external-player-playing",t.PAUSED="external-player-paused",t.PLAY_COMPLETE="external-player-play-complete",t.TIME_UPDATE="external-player-time-update",t.MUTE_CHANGED="external-player-mute-changed",t.VOLUME_CHANGED="external-player-volume-changed",t.SKIPPED="external-player-item-skipped"}(i.ExternalPlayerEvent||(i.ExternalPlayerEvent={}));var o=function(t){function i(n){void 0===n&&(n="renderer");var s=t.call(this,n)||this;return s.type=i.type,s.fH=null,s}return e(i,t),i.canUse=function(){return!1},i.prototype.getPlayableItem=function(){return this.fH},i.type=r.UNKNOWN,i}(h.default);i.Renderer=o,i.default=o},xTZr:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("pBvk"),e=n("rBpt"),r=n("MKj3"),h=n("7hrf"),o=n("pUuq"),u=n("EOV8"),a=n("ablw"),c={$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{playURL:{type:"string"}},required:["playURL"]},f=function(){function t(){this.version="0.2.415",this.mimetype=o.MediaItemMimeType.UPLYNK,this.type=u.PluginType.SOURCE_METADATA,this.yV=[],this.m7={},this.KU=!1,this.ZL=!1,e.Loader.preconnect("preconnect-uplynk","//content.uplynk.com")}return t.prototype.prepare=function(){},t.prototype.resolve=function(t,i,n){var s=this;if(Array.isArray(t)&&0!==t.length){this.m7=this.b7(i.privacyConsent);var e=t.map((function(t){return new Promise((function(i,e){s.wV(t,i,e,n)}))}));this.ZL=!1;var r=function(){s.ZL=!0};this.yV.push(r),Promise.all(e).then((function(t){s.ZL||(s.EV(r),n.onComplete(t))})).catch((function(t){if(!s.ZL){s.EV(r);var i={code:"1",message:t.toString()};n.onError(i)}})),this.KU=!1}},t.prototype.recover=function(t,i,n){t&&(this.KU=!0,this.resolve([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,e){var r=this;this.y7(t)&&!this.KU?i(t):this.g7(t,(function(h,u,a,f){var l=h&&s.validate(h,c);if(!l||!l.valid)return n("Invalid preplay response");var v=h.sid,d=t.metadata,p=d&&(d.type===o.MediaItemType.LIVE_EVENT||d.type===o.MediaItemType.LIVE_CHANNEL);t.source={streams:[{url:h.playURL,live:p}]},t.customConfig=t.customConfig||{},t.customConfig.sid=v,t.customConfig.prefix=h.prefix,h.ads&&h.ads.breaks&&h.ads.breaks.length>0&&(t.adBreaks=r.w7(h.ads.breaks,h.ads.breakOffsets),t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/uplynk"},t.visualSeekData.adBreaks=t.adBreaks),r.ZL||e.onApiCallInfo({url:f&&f.url||null,perfObj:a}),i(t)}),(function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var s=t&&t.length?t[0]:null,h=t.length?t[4]:null,o=t.length?t[5]:null;r.ZL||e.onApiCallInfo({url:o&&o.url||null,perfObj:h}),n(s)}))},t.prototype.g7=function(t,i,n){var s="/api/v3/preplay/{assetid}.json",e=t.metadata;e&&e.type===o.MediaItemType.LIVE_CHANNEL?s="/api/v3/preplay/channel/{assetid}.json":e&&e.type===o.MediaItemType.LIVE_EVENT&&(s="/api/v3/preplay/event/{assetid}.json");var r=t.customConfig||{},h="https://content.uplynk.com"+s.replace("{assetid}",t.id)+(r.preplay&&r.preplay.qs?"?"+r.preplay.qs:"");this.TV(h,i,n)},t.prototype.TV=function(t,i,n){var s=this,r=e.Loader.ajax(t,{context:this,successHandler:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];s.EV(r),i.apply(void 0,t)},failureHandler:function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];s.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.y7=function(t){return!!(t.source&&t.source.streams&&t.source.streams.length)},t.prototype.w7=function(t,i){var n=this;return t.map((function(t){var s=i&&i.find((function(i){if(i&&i.timeOffset===t.timeOffset)return!0}))||{};return{adBreakId:t.breakId||"",duration:t.duration||0,startOffset:t.timeOffset||0,type:n.E7(t.position),adBreakItems:n.O7(t.ads),customInfo:{index:s.index}}}))},t.prototype.O7=function(t){return t.map((function(t){return{adBreakItemId:t.creative||"",duration:t.duration||0,type:h.AdBreakItemType.AD,instream:!0,resolvedState:h.ResolvedState.RESOLVED,interactionConfig:{allowSeek:!1,allowSkipOffset:0,chromeless:!1},customInfo:{}}}))},t.prototype.E7=function(t){return"preroll"===t?r.AdBreakType.PREROLL:"midroll"===t?r.AdBreakType.MIDROLL:"postroll"===t?r.AdBreakType.POSTROLL:null},t.prototype.b7=function(t){return{gdpr:t&&!a.isNullOrUndefined(t.gdprApplies)?t.gdprApplies:"",euconsent:t&&t.gdprConsentData||""}},t}();i.default=f},xkpU:function(t,i,n){"use strict";var s=this;Object.defineProperty(i,"__esModule",{value:!0}),i.arrayIncludesPolyfill=i.objectValuesPolyfill=i.objectAssignPolyfill=void 0,i.objectAssignPolyfill=function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,i){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),s=1;s<arguments.length;s++){var e=arguments[s];if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},writable:!0,configurable:!0})},i.objectValuesPolyfill=function(){"function"!=typeof Object.values&&Object.defineProperty(Object,"values",{value:function(t){if(!t)throw new TypeError("Cannot get values of undefined or null object");var i=[];for(var n in t)"string"==typeof n&&Object.prototype.hasOwnProperty.call(t,n)&&Object.prototype.propertyIsEnumerable.call(t,n)&&i.push(t[n]);return i}})},i.arrayIncludesPolyfill=function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,i){if(null==s)throw new TypeError('"this" is null or not defined');var n=Object(s),e=n.length>>>0;if(0===e)return!1;var r,h,o=0|i,u=Math.max(o>=0?o:e-Math.abs(o),0);for(;u<e;){if((r=n[u])===(h=t)||"number"==typeof r&&"number"==typeof h&&isNaN(r)&&isNaN(h))return!0;u++}return!1}})}},"y/qu":function(t,i){},yAGZ:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0});var s=n("kHDx"),e=n("bM0F"),r=n("7PPe");i.Events=r.ExternalEvt;var h=n("byOa");i.Playlist=h.default;var o=n("vkqS"),u=n("pUuq");i.MediaItemInterfaces=u;var a=n("EOV8");i.Plugin=a;var c=n("xPTa");i.RendererType=c.RendererType;var f=n("AutE");i.Player=f.default;t.replaceVdmsPlayerSrc=function(t){var i=t.substring(t.lastIndexOf("/")+1),n=i.substring(0,i.indexOf("."));if(!t.includes("assets.video.yahoo.net"))return"/"+i;switch(n){case"vendors~three":return"https://assets.video.yahoo.net/three/THREE_VERSION/"+i;default:return t}},a.AdPluginEvent=o.AdPluginEvent,a.AdPluginPlaybackCapability=o.AdPluginPlaybackCapability,window.VDMS=window.VDMS||{},window.VDMS.Player=f.default,window.VDMS.Plugin=a,window.VDMS.Events=r.ExternalEvt;var l={VdmsAnalytics:e.default,VdmsAnalyticsModel:s.default};i.Analytics=l}).call(this,n("yLpj"))},yDF7: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("pUuq"),o=n("EOV8"),u=n("yf6s"),a=n("JBcr"),c=n("9wD4"),f=function(t){function i(i,n){var s=t.call(this,i,n)||this;return s.cmdName=c.CmdName.CMD_SOURCE_METADATA_LOAD,s.fE=!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.fE&&!this.kS){var t=this.data,i=t.autoplay,n=t.failoverCount,s=t.privacyConsent,e=t.mimetype,a=t.mediaItemDataArr,f=t.rendererCapabilities,l=t.rendererTypes,v=t.sessionId,d=t.recovering,p=t.thumbnailDimensions,m=t.tryCount,b=t.playlistPosition,y=this.vO.getPlugin(o.PluginType.SOURCE_METADATA,e),g={autoplay:i,failoverCount:n,privacyConsent:s,rendererCapabilities:f,rendererTypes:l,sessionId:v,thumbnailDimensions:p,tryCount:m,playlistPosition:b};if(y)this.pI=y,this.fE=!0,this.publish(c.CmdEvent.CMD_PROGRESS,this,a,h.SourceState.FETCHING),!0===d?y.recover(a[0],g,this):y.resolve(a,g,this);else{var w="No source metadata plugin found for mimetype = "+e,E=u.default.createErr(r.ErrorGroup.Service,null,r.E_PLAYER,r.PLAYER_CODES.E_NO_PLUGIN_FOUND,w);this.publish(c.CmdEvent.CMD_ERROR,this,E)}}},i.prototype.cancel=function(){this.pI&&this.fE&&(this.pI.cancel(),this.fE=!1)},i.prototype.onProgress=function(t){this.fE&&!this.kS&&this.publish(c.CmdEvent.CMD_PROGRESS,this,t)},i.prototype.onComplete=function(t){this.fE&&!this.kS&&(this.fE=!1,this.publish(c.CmdEvent.CMD_COMPLETE,this,t))},i.prototype.onError=function(t){if(this.fE&&!this.kS&&(this.fE=!1,t.code&&t.code.length)){var i=u.default.createErr(t.group||r.ErrorGroup.Service,null,t.category||r.E_PLAYER,t.code,t.message);this.publish(c.CmdEvent.CMD_ERROR,this,this.data.mediaItemDataArr,i)}},i.prototype.onApiCallInfo=function(t){t&&this.publish(c.CmdEvent.CMD_INFO,this,t)},i}(a.default);i.default=f},yFL1:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CAST_CODES=i.SAPI_CODES=i.PLAYER_JS_HLS_CODES=i.PLAYER_DRM_CODES=i.PLAYER_CODES=i.WARNING_CODES=i.INFO_CODES=i.AD_CLIENT_CODES=i.E_CAST=i.E_AD_CLIENT=i.E_SAPI_CLOSEDCAPTION=i.E_SAPI_POPULAR=i.E_SAPI_RELATED=i.E_SAPI_PLAYLIST=i.E_SAPI_STREAM=i.E_SAPI_ABSTRACT=i.E_PLAYER_JS_HLS=i.E_PLAYER_DRM=i.E_PLAYER_FAILOVER=i.E_PLAYER=i.E_YVAP=i.E_WARNING=i.E_INFO=void 0,i.E_INFO="100",i.E_WARNING="200",i.E_YVAP="300",i.E_PLAYER="400",i.E_PLAYER_FAILOVER="407",i.E_PLAYER_DRM="410",i.E_PLAYER_JS_HLS="430",i.E_SAPI_ABSTRACT="500",i.E_SAPI_STREAM="501",i.E_SAPI_PLAYLIST="502",i.E_SAPI_RELATED="503",i.E_SAPI_POPULAR="504",i.E_SAPI_CLOSEDCAPTION="505",i.E_AD_CLIENT="600",i.E_CAST="800",i.AD_CLIENT_CODES={E_INTERVENTION_VPAID_FRAME:"1",E_INTERVENTION_NON_VPAID_OR_PLAYER_FRAME:"2",E_INTERVENTION_FROM_PLAYER_FRAME:"3"},i.INFO_CODES={E_SAPI_LICENSE_ERROR:"200",E_SAPI_UNAVAILABLE_TEMP:"201",E_SAPI_GEO:"202",E_SAPI_DEVICE:"203",E_SAPI_EMBED:"204",E_SAPI_BLACKOUT:"208",E_SAPI_AUTH_FAILED:"210",E_SAPI_INVALID_AUTH_KEY_VERSION:"211",E_SAPI_GEO_POSITION_REQUIRED:"212",E_SAPI_RESTRICTED_NETWORK_TYPE:"214",E_SAPI_UNSUPPORTED_LIVE_ON_HTML:"305",E_DRM_UNSUPPORTED_OS:"401",E_DRM_UNSUPPORTED_BROWSER:"402",E_DRM_FORBIDDEN_LICENSE:"403",E_PLAYER_ANDROID_CHROME_REQUIRED:"500",E_FLASH_RENDERER_NOT_SUPPORTED:"605",E_PLAYER_NO_COMPATIBLE_FORMAT:"700",E_PLAYER_360_IS_NOT_SUPPORTED:"701"},i.WARNING_CODES={E_PLAYBACK_TIMEOUT:"1",E_RECOVER_LONG_PAUSE:"50",E_LIVE_PLAYBACK_COMPLETE:"800",E_SSL_MISMATCH:"803",E_CSS_DOWNLOAD_FAILED:"804",E_PLAYBACK_FROZEN_DETECTED:"900",E_ER_TRY:"901",E_RECOVERY_STATUS:"902",E_BUFFER_GAP:"903"},i.PLAYER_CODES={E_PLAYER_NOT_ENABLED:"200",E_FLASH_LIVE_NOT_SUPPORTED:"252",E_NATIVE_ERROR:"303",E_NATIVE_ABORTED:"304",E_NATIVE_NETWORK_FAILURE:"305",E_NATIVE_DECODE_ERROR:"306",E_NATIVE_SRC_NOT_SUPPORTED:"307",E_NATIVE_ENCRYPT_MEDIA:"308",E_NATIVE_PREMATURE_PLAY:"309",E_NATIVE_UNAUTHORIZED_URL:"310",E_NATIVE_URL_NOT_FOUND:"311",E_CMS_JSONP_REQUEST_FAILURE:"101",E_CMS_JSONP_REQUEST_SILENT_FAIL:"102",E_CMS_RESPONSE:"405",E_CMS_JSONP_REQ_TIMEOUT:"408",E_CMS_JSONP_REQ_TIMEOUT_SILENT_FAIL:"409",E_CMS_XHR_REQ_CONNECTION_FAILED:"700",E_CMS_XHR_REQ_CONNECTION_FAILED_TIMEOUT:"701",E_CMS_XHR_RESPONSE_ABSENT:"710",E_CMS_XHR_RESPONSE_ABSENT_TIMEOUT:"711",E_CMS_XHR_REQ_LOAD_FAILED:"720",E_CMS_XHR_REQ_LOAD_TIMEOUT:"721",E_CMS_XHR_REQ_LOAD_408:"722",E_CMS_XHR_REQ_INCOMPLETE:"730",E_CMS_XHR_REQ_INCOMPLETE_TIMEOUT:"731",E_CMS_XHR_REQ_408:"732",E_CMS_XHR_REQ_ERROR:"740",E_CMS_XHR_REQ_TIMEOUT:"750",E_CMS_XHR_REQ_CORS_ERROR:"760",E_INTERNAL_VIOLATION:"600",E_INVALID_CONFIG:"601",E_RECOVERY_FAILURE:"602",E_NO_PLUGIN_FOUND:"603",E_NO_RENDERER_FOUND:"604",E_FLASH_RENDERER_NOT_SUPPORTED:"605"},i.PLAYER_DRM_CODES={E_UNSUPPORTED_OS:"1",E_UNSUPPORTED_BROWSER:"2",E_EME_MISSING:"3",E_INIT:"4",E_CONFIG:"5",E_CERTPATH_MISSING:"6",E_CERT_LOAD_FAILED:"7",E_CERT_NO_DATA:"8",E_NO_KEY_SYSTEM:"9",E_KEY_CREATION_FAILED:"10",E_KEY_SESSION_FAILED:"11",E_KEY_ERROR:"12",E_LICENSE_REQUEST:"13",E_FORBIDDEN_LICENSE:"14"},i.PLAYER_JS_HLS_CODES={MEDIA_ERR_ABORTED:"1",MEDIA_ERR_NETWORK:"2",MEDIA_ERR_DECODE:"3",MEDIA_ERR_SRC_NOT_SUPPORTED:"4",ERR_XHR_LOAD:"11",ERR_PLAYLIST_LOAD:"12",ERR_SUBS_LOAD:"13",ERR_SEGMENT_LOAD:"14",ERR_PARTIAL_LOAD:"15",ERR_MASTER_PLAYLIST_PARSE:"16",ERR_MEDIA_PLAYLIST_PARSE:"17",ERR_SEGMENT_PARSE:"18",ERR_API_NO_NODE:"19",ERR_MIMETYPE_NOT_SUPPORTED:"20",ERR_XHR_LOAD_LIVE_PAUSE:"21",ERR_DRM_EME_MISSING:"22",ERR_DRM_INIT:"23",ERR_DRM_CONFIG:"24",ERR_DRM_LICENSE_REQUEST:"25",ERR_XHR_LOAD_FORBIDDEN:"27"},i.SAPI_CODES={E_INCOMPATIBLE_FORMAT:"100",E_NO_STREAMS:"103",E_UNAUTHORIZED_USER:"205",E_RESTRICTED_TO_INTERNAL:"206",E_DRM_RESTRICTED:"207",E_UNSUPPORTED_FORMAT:"300",E_EXTERNAL_NO_STREAMS:"301",E_NO_PLAYABLE_STREAMS:"302",E_NOT_FOUND:"400",E_EMPTY_LIST:"403",E_DOWNSTREAM_ISSUE:"555"},i.CAST_CODES={E_CONNECTION_REQUEST_FAILED:"1"}},yLpj:function(t,i){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},yU6z:function(t,i,n){"use strict";t.exports.LicenseManager=u;var s=n("juTp"),e=n("WYoP"),r=n("CTQb"),h=n("qudH").CmdNames,o=n("LmPb");function u(t,i,n){this.$S=h.CMD_LICENSE_LOAD,this.LICENSE_TYPE_NONE=0,this.LICENSE_TYPE_WIDEVINE=1,this.LICENSE_TYPE_PLAYREADY=2,this.A7=0,this.playreadyKeySystem={keySystem:"com.microsoft.playready",supportedConfig:[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"',robustness:""}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"',robustness:""}]}]},this.widevineKeySystem={keySystem:"com.widevine.alpha",supportedConfig:[{label:"foo",initDataTypes:["cenc"],sessionTypes:["temporary"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.5"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.640028"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.640028"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d001f"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.4d001f"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.42000d"',robustness:"HW_SECURE_ALL"},{contentType:'video/mp4; codecs="avc1.42000d"',robustness:"SW_SECURE_CRYPTO"}]}]},this.LICENSE_STATUS_DONE="DONE",this.LICENSE_STATUS_LOADING="LOADING",this.LICENSE_STATUS_NEW="NEW_REQ",this.ZS=t.create(r),this._7=[],window.addEventListener("beforeunload",this.T7.bind(this)),this.t5=i,this.BI=n,this.S7=null,this.I7=null,this.j7=null,this.M7=[],this.F9=new o(250),this.F9.addEventListener(this.N7,this),this.R7=0,this.AM=t,this.D7()}u.prototype.addDrmItem=function(t){s.isDrmItemContained(t,this.M7)||(t.status=this.LICENSE_STATUS_NEW,this.M7.push(t),this.L7(this))},u.prototype.D7=function(){var t=this;t.I7=null,navigator.requestMediaKeySystemAccess?navigator.requestMediaKeySystemAccess(t.widevineKeySystem.keySystem,t.widevineKeySystem.supportedConfig).then((function(i){t.A7=t.LICENSE_TYPE_WIDEVINE,t.BI.appModel.licenseType="widevine",i.createMediaKeys().then((function(i){t.k7(t,i)}),(function(){t.j7={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for Widevine"}}))}),(function(){navigator.requestMediaKeySystemAccess(t.playreadyKeySystem.keySystem,t.playreadyKeySystem.supportedConfig).then((function(i){t.A7=t.LICENSE_TYPE_PLAYREADY,t.BI.appModel.licenseType="playready",i.createMediaKeys().then((function(i){t.k7(t,i)}),(function(){t.j7={type:e.ERR_DRM_INIT,message:"LicenseManager - createMediaKeys() failed for PlayReady"}}))}),(function(){t.j7={type:e.ERR_DRM_CONFIG,message:"LicenseManager - Your browser/system does not support the requested configurations for playing DRM protected content."}}))})):t.j7={type:e.ERR_DRM_EME_MISSING,message:"LicenseManager - Browser EME components not detected! (also check URL for HTTPS)"}},u.prototype.k7=function(t,i){t.I7=i,t.F9.start()},u.prototype.N7=function(){var t=this;t.t5.mediaKeys||(t.F9.stop(),t.t5.setMediaKeys(t.I7).then((function(){t.L7(t)}),(function(i){t.j7={type:e.ERR_DRM_INIT,message:"LicenseManager - "+i}})))},u.prototype.L7=function(t){if(null===t.I7&&null!==t.j7)return t.C7(t.j7.type,t.j7.message),void(t.j7=null);if(null!==t.I7)for(var i=0;i<t.M7.length;i++){var n=t.M7[i];n.status===t.LICENSE_STATUS_NEW&&(t.A7===t.LICENSE_TYPE_WIDEVINE?(n.widevine.initData=s.base64ToBuffer(n.widevine.pssh),n.widevine.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.P7(t,n.widevine)):t.A7===t.LICENSE_TYPE_PLAYREADY&&(n.playready.initData=s.base64ToBuffer(n.playready.pssh),n.playready.initDataType="cenc",n.status=t.LICENSE_STATUS_LOADING,t.P7(t,n.playready)))}},u.prototype.P7=function(t,i){var n=t.I7.createSession("temporary");t._7.push(n),n.addEventListener("message",(function(n){t.x7(t,i,n)}),!1);var s=n.generateRequest(i.initDataType,i.initData);s.then((function(){t.R7++,t.R7===t.M7.length&&t.AM.onGenerateRequestComplete()})),s.catch((function(i){t.C7(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - keySession.generateRequest() failed: "+i)}))},u.prototype.U7=function(t,i){return t.A7===t.LICENSE_TYPE_PLAYREADY?i.prefix+"/pr":t.A7===t.LICENSE_TYPE_WIDEVINE?i.prefix+"/wv":""},u.prototype.x7=function(t,i,n){var s=t.U7(t,i),e=t.V7(t,n.message);t.ZS.executeCommand(t.$S,{challenge:e.challenge,headerFields:e.headerFields,url:s,drmInfo:i,event:n},t)},u.prototype.V7=function(t,i){var n,r={};if(t.A7===t.LICENSE_TYPE_PLAYREADY){var h=(new DOMParser).parseFromString(String.fromCharCode.apply(null,new Uint16Array(i)),"application/xml");h.getElementsByTagName("Challenge")[0]?n=s.base64ToBuffer(h.getElementsByTagName("Challenge")[0].childNodes[0].nodeValue).buffer:t.C7(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - Cannot find <Challenge> in key message");var o=h.getElementsByTagName("name"),u=h.getElementsByTagName("value");o.length!==u.length&&t.C7(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - Playready: Mismatched header <name>/<value> pair in key message");for(var a=0;a<o.length;a++)r[o[a].childNodes[0].nodeValue]=u[a].childNodes[0].nodeValue}else t.A7===t.LICENSE_TYPE_WIDEVINE&&(n=i);return{challenge:n,headerFields:r}},u.prototype.onLicenseLoadComplete=function(t,i){var n=this,s=t.data?t.data.event:null,r=t.data?t.data.drmInfo:null;s.target.update(i.data).catch((function(t){n.C7(e.ERR_DRM_LICENSE_REQUEST,"LicenseManager - call to MediaKeySession.update() failed: "+t)}));for(var h=0;h<n.M7.length;h++)n.M7[h].widevine.pssh!==r.pssh&&n.M7[h].playready.pssh!==r.pssh||(n.M7[h].status=n.LICENSE_STATUS_DONE)},u.prototype.onLicenseLoadError=function(){this.C7(e.ERR_XHR_LOAD,"LicenseManager - XHR failed")},u.prototype.C7=function(t,i){var n=new e.Error(t,i);this.BI.notifyError(n)},u.prototype.T7=function(){for(var t=0;t<this._7.length;t++)this._7[t].close().then((function(){}));this._7=[]},u.prototype.destroy=function(){this.B7=null,this.I7=null,this.M7=[],this.T7(),this.F9.destroy()}},yUCA:function(t,i,n){"use strict";t.exports.Streamer=b;var s=n("juTp"),e=n("D8uh"),r=n("qudH").CmdNames,h=n("WYoP"),o=n("9m1L").HLSEvent,u=n("3NxK"),a=u.StreamLoader,c=u.Events,f=n("mvD1"),l=n("CTQb"),v=n("HNSW").StreamTypes,d=n("b3J1"),p=t.exports.Events={SEG_LOAD_START:"streamerSegLoadStart",SEG_LOAD_PROGRESS:"streamerSegLoadProgress",SEG_LOAD_COMPLETE:"streamerSegLoadComplete",SEG_LOAD_ERROR:"streamerSegLoadError",PRELOAD_COMPLETE:"streamerPreloadComplete",STREAM_LOAD_COMPLETE:"StreamLoadComplete",STREAM_LOAD_ERROR:"StreamLoadError",LIVE_SYNCH:"streamerLiveSynch"},m=t.exports.SynchTypes={INIT:"synchAtInit",TIME_GAP:"synchAtTimeGap"};function b(t){var i=this.__controller;e.call(this,this.constructor.name),this.oE=i.model,this.CM=i.services,this.ZS=i.create(l),this.F7=i.create(a,this.ZS),this.F7.addEventListener(c.STREAM_LOADED,this.onStreamLoaded,this),this.F7.addEventListener(c.STREAM_LOAD_ERROR,this.onStreamLoadError,this),this.AVG_BW_MEASUREMENT_INTERVAL=30,this.z7=0,this.iI=0,this.$S=r.CMD_SEGMENT_LOAD,this.oI=t,this.type=t?t.type:null;var n=t.altRenditionGroups&&t.altRenditionGroups.SUBTITLES&&t.altRenditionGroups.SUBTITLES.hasStreams();this.type&&this.type!==v.VIDEO&&this.type!==v.MAIN||n||(this.H7=[],this.q7=new d(this.sendVttEventCB.bind(this))),this.STATES={ERROR:-1,NONE:0,INITIALIZING:1,INITIALIZED:2,LOADING:3},this.tI=this.STATES.NONE,this.UQ=!1,this.G7=!1,this.xM=NaN,this.vU=!1,this.DM=null,this.BN=!1,this.eI=this.oE.config.maxBuffer,this.aI=this.oE.live,this.nU=!1,this.zN=!1,this.Y7={audio:NaN,video:NaN},this.FN=!1,this._t=[403]}s.inherits(b,e),b.prototype.destroy=function(){this.F7.destroy(),this.tI=this.STATES.NONE,this.oI=null,this.ZS&&(this.ZS.destroy(),this.ZS=null),e.prototype.destroy.call(this)},b.prototype.setCurrentStream=function(t){t&&!t.equals(this.oI)&&(this.oI=t,this.onSwitchBegin())},b.prototype.isActive=function(){return this.oI&&this.oI.url&&this.oI.url.length>0},b.prototype.setAltAudioActive=function(t){this.nU=t},b.prototype.getCurrentStream=function(){return this.oI},b.prototype.process=function(t,i){if("number"==typeof t&&(this.DM=t),this.isStreamReady()||this.tI===this.STATES.ERROR){if(this.CQ()){var n=this.RM(this.DM,i),s=this.W7(n);"empty"!==s?"ahead"!==s&&("behind"!==s?this.CQ()&&(this.DM=null,this.Z7(n)):this.FM(m.TIME_GAP)):this.xQ()}}else this.NM()},b.prototype.suspendStreaming=b.prototype.resumeStreaming=function(){},b.prototype.onPlay=function(t){this.BN=!1,this.eI=this.oE.config.maxBuffer,t&&this.onSynchBegin()},b.prototype.onPlaying=function(){this.zN=!1},b.prototype.onPause=function(){this.BN=!0},b.prototype.onSeeking=function(t){this.LQ(),this.cI(!1),this.process(t)},b.prototype.onSeeked=function(){},b.prototype.onError=function(){this.ZS&&this.ZS.removeAllCommands()},b.prototype.onComplete=function(){},b.prototype.onTimeUpdate=function(t){if(this.iI){var i=t-this.iI;i>0&&(this.z7+=i)}this.z7>this.AVG_BW_MEASUREMENT_INTERVAL&&(this.l0(this.CM.bandwidthEstimator.averageBandwidth),this.z7=0),this.iI=t},b.prototype.onPreloadBegin=function(){this.G7=!0,this.eI=this.oE.config.preloadBufferLimit},b.prototype.onPreloadEnd=function(){this.G7=!1},b.prototype.FM=function(){},b.prototype.isStreamReady=function(){var t=this.oI;return t&&t.isReady()&&this.tI>=this.STATES.INITIALIZED},b.prototype.NM=function(){this.isActive()&&(this.tI=this.STATES.INITIALIZING,this.xQ())},b.prototype.CQ=function(){var t=this.nI(),i=this.oE.config.stopBufferingOnPause;return this.G7&&t&&this.publish(p.PRELOAD_COMPLETE,this),!this.vU&&this.tI!==this.STATES.LOADING&&((!this.BN||!i)&&(!t&&!this.rI()))},b.prototype.W7=function(t){var i=this.oI;if(!i||i.isEmpty()||isNaN(t))return"empty";if(!i.contains(t)){if(t<i.startSeqNum)return"behind";if(t>i.endSeqNum)return"ahead"}return"available"},b.prototype.nI=function(){if(this.type&&this.oE.bufferedAndPending){var t={buffered:0,pending:0},i=this.oE.bufferedAndPending.video||t;return this.type!==v.MAIN&&this.type!==v.VIDEO&&(i=this.oE.bufferedAndPending.audio||t),i.buffered+i.pending>=this.eI}return this.oE.bufferLength+this.oE.pendingBufferLength>=this.eI},b.prototype.rI=function(){var t=this.oE;return t.getTotalBufferLength()>=t.config.maxTotalBuffer},b.prototype.onSwitchBegin=function(){this.FN=!0,this.xQ()},b.prototype.onSwitchEnd=function(){this.FN=!1},b.prototype.xQ=function(){this.UQ||this.TQ()},b.prototype.TQ=function(){this.isActive()&&(this.UQ=!0,this.F7.load(this.oI,this.VQ()))},b.prototype.VQ=function(){return{url:this.oI.url,retryExclusion:this._t,withResponseHeaders:this.oE.isDash()}},b.prototype.onStreamLoaded=function(t){this.tI===this.STATES.INITIALIZING&&(this.tI=this.STATES.INITIALIZED),this.UQ=!1,this.publish(p.STREAM_LOAD_COMPLETE,this,{stream:t.dto()})},b.prototype.onStreamLoadError=function(t,i){i.code===h.ERR_XHR_LOAD_LIVE_PAUSE[0]&&this.stopStreamUpdate(),this.publish(p.STREAM_LOAD_ERROR,this,{err:i,stream:t}),this.tI=this.STATES.ERROR,this.UQ=!1,this.process()},b.prototype.RM=function(t,i){var n=this.oI,s=NaN;return s="number"==typeof t?n.getSeqNumBeforePosition(t+this.oE.TIMESTAMP_COMPARE_EPSILON):isNaN(this.xM)?this.kQ():this.tI===this.STATES.ERROR||this.BM?this.xM:this.xM+1,i||(s=this.uI(s)),this.aI||(s=Math.max(s,n.startSeqNum),s=Math.min(s,n.endSeqNum)),s},b.prototype.uI=function(t){var i=this.oI,n=this.oE.bufferedRanges,s=n.length,e=this.vI(t),r=this.oE.userAgent;if(r&&r.safariDesktop)return t;if(this.oE.isDash())return t;if(e>=0&&s&&e<s){var h=n.ranges[e].end;return!this.aI&&h>=this.oE.duration?(this.cI(!0),i.endSeqNum):i.getSeqNumBeforePosition(h)}return t},b.prototype.kQ=function(){return this.oI.getSeqNumBeforePosition(0)},b.prototype.vI=function(t){var i=this.oI.getSegmentfromSeqNum(t);if(!i)return-1;for(var n=this.oE.TIMESTAMP_COMPARE_EPSILON,s=this.oE.bufferedRanges,e=0;e<s.length;e++){var r=s.ranges[e],h=r.start-n,o=r.end+n;if(h=0===i.startTime&&h<.1?0:h,i.startTime>=h&&i.startTime+i.duration<=o)return e}return-1},b.prototype.VM=function(){},b.prototype.Z7=function(t){if(this.VM(t),!(this.tI<this.STATES.INITIALIZED)){this.LQ(),this.tI=this.STATES.LOADING,this.xM=t,this.BM=!1;var i=this.Q7(this.xM);i&&(this.lI(i,this.oI),this.publish(p.SEG_LOAD_START,this),this.X7(t))}},b.prototype.X7=function(){},b.prototype.Q7=function(t){var i=this.hI(t),n=i?i.segment:null;return n?(this.jM=this.ZS.executeCommand(this.$S,i,this),n):null},b.prototype.hI=function(t){var i=this.oI;return i?{segment:i.getSegmentfromSeqNum(t),stream:i}:null},b.prototype.onSegmentLoadProgress=function(t,i){var n,s,e,r,h,o=this;if(i)if(i.id!==f.MessageIds.TIMED_METADATA){i.getParam?(n=i.getParam("tracks"),s=i.getParam("perfInfo"),e=i.getParam("bytesTotal")||0,r=i.getParam("parsedInfo"),h=i.getParam("cea608TrackData")):i.cea608TrackData&&(h=i.cea608TrackData);var u=r?r.position:i.position,a=r&&r.inWorkerScope||!1;switch(o.publish(p.SEG_LOAD_PROGRESS,o,{seqNum:o.xM,position:u,bytesTotal:e,inWorkerScope:a,perfInfo:s}),o.oE.preloading=o.G7,u){case"firstByte":return;case"start":break;case"end":o.tI===o.STATES.LOADING&&(o.tI=o.STATES.INITIALIZED)}if(n&&(n.forEach((function(t){t.minBufferTime=o.__controller.getMinimumBufferTime(),o.Y7[t.type]=t.endTimestamp})),o.dI(n,i.getParam("transferables"))),o.H7&&h&&h.length>0)for(var c=0;c<h.length;c++)o.H7.push(h[c]);"end"===u&&(o.oE.setSegEndTimeStamps(o.type,o.oI.groupId,o.xM,o.Y7),o.Y7.audio=NaN,o.Y7.video=NaN)}else{var l=i.getParam("timedMetadata");o.oE.updateTimedMetadata(l,o.xM)}},b.prototype.onSegmentLoadComplete=function(t){if(this.tI===this.STATES.LOADING&&(this.tI=this.STATES.INITIALIZED),this.H7&&this.H7.length>0){for(var i=[],n=0;n<this.H7.length;n++){for(var s=this.H7[n],e=0;e<i.length&&s.pts>=i[e].pts;)e++;i.splice(e,0,s)}var r=this.oI.getSegmentfromSeqNum(this.xM);this.q7.parse(i,r),this.H7=[]}this.ZS.removeCommand(t),this.BQ(),this.publish(p.SEG_LOAD_COMPLETE,this,{stream:this.oI}),this.jM=null},b.prototype.onSegmentLoadError=function(t,i){this.abortCurrentSegment(t),this.jM=null;var n=i&&i.code===h.ERR_XHR_LOAD[0]?new h.Error(h.ERR_SEGMENT_LOAD):i;this.publish(p.SEG_LOAD_ERROR,this,{seqNum:this.xM,err:n,stream:this.oI})},b.prototype.abortCurrentSegment=function(t){return this.tI!==this.STATES.LOADING?null:(t&&this.ZS.removeCommand(t),this.tI===this.STATES.LOADING&&(this.tI=this.STATES.INITIALIZED),this.BM=!0,this.Y7.audio=NaN,this.Y7.video=NaN,this.xM)},b.prototype.LQ=function(){this.tI===this.STATES.LOADING&&(this.tI=this.STATES.INITIALIZED),this.Y7.audio=NaN,this.Y7.video=NaN,this.ZS.removeRelatedCommands(this.$S)},b.prototype.dI=function(t,i){t&&this.__controller.sendMessage(f.MessageIds.APPEND_SRC_BUFFER,[t],["tracks"],i)},b.prototype.cI=function(t){this.vU=t,this.Y7.audio=NaN,this.Y7.video=NaN,this.type===v.MAIN&&this.__controller.sendMessage(f.MessageIds.END_OF_STREAM,[t],["endOfStream"])},b.prototype.BQ=function(){var t=this.oI;t&&t.endSeqNum===this.xM&&this.cI(!0)},b.prototype.l0=function(t){var i={avgBWtimestamp:Date.now(),avgBW:t};this.type===v.MAIN&&this.__controller.sendMessage(f.MessageIds.SAVE_AVG_BANDWIDTH,[i],["avgBwInfo"])},b.prototype.onManualStreamChange=function(){this.cI(!1),this.zN=!0,this.LQ(),this.F7.cancel(),this.UQ=!1,this.tI=this.tI!==this.STATES.ERROR?this.STATES.INITIALIZING:this.tI,this.xQ()},b.prototype.midSegUpSwitch=function(){this.jM&&this.abortCurrentSegment(this.jM),this.F7.cancel(),this.UQ=!1,this.xQ(),this.process(this.iI,!0)},b.prototype.onSynchBegin=function(){},b.prototype.onSynchComplete=function(){},b.prototype.onSynchMetadataReady=function(t){this.LQ(),this.cI(!1),this.process(t)},b.prototype.canSwitch=function(t){return"mid-segment"!==t||this.tI===this.STATES.LOADING},b.prototype.isInError=function(){return this.tI===this.STATES.ERROR},b.prototype.getSegLoadCommand=function(){return this.ZS.getCommand(this.$S)},b.prototype.lI=function(){},b.prototype.sendVttEventCB=function(t){this.__controller.sendEvent(o.VTT_SEGMENT_LOADED,t)}},yf6s:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=n("ToqN"),e=n("P2OX"),r=n("Thcf"),h=n("MKj3"),o=n("Z5/A"),u=n("xPTa"),a=n("ablw"),c=function(){function t(){}return t.getWindow=function(){return window},t.getCssBuildUrl=function(i,n,s){var e="vdms-video-player.css",r=t.getWindow();return s&&"fuji"!==s&&(e="vdms-video-player-"+s+".css"),i?"//"+r.location.host+"/"+e:"prod"===n?t.assetDomainHttps+"/prod/"+e:t.assetDomainHttps+"/builds/"+n+"/"+e},t.loadCssAsset=function(t,i,n,s){if(!document.getElementById(t)){var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("id",t),e.setAttribute("href",i),e.addEventListener("load",n),e.addEventListener("error",s),document.head.appendChild(e)}},t.generateGuid=function(i){return i?(0|16*Math.random()).toString(16):"10000000-1000-4000-8000-100000000000".replace(/1|0/g,t.generateGuid)},t.isValidRequestAction=function(t){return[null,e.REQUEST_TYPES.CLICK,e.REQUEST_TYPES.AUTOPLAY,e.REQUEST_TYPES.HOVER,e.REQUEST_TYPES.PLAY,e.REQUEST_TYPES.PAUSE,e.REQUEST_TYPES.SCROLL,e.REQUEST_TYPES.SWIPE,e.REQUEST_TYPES.BACKGROUND].indexOf(t)>-1},t.isValidRequestType=function(t){return[null,e.REQUEST_TYPES.CLICK,e.REQUEST_TYPES.AUTOPLAY,e.REQUEST_TYPES.API,e.REQUEST_TYPES.CONTINUOUS].indexOf(t)>-1},t.sanitizeAndUnescape=function(t){if(a.isNullOrUndefined(t))return"";var i=t.toString().replace(/<\/?[^>]+>/g,""),n=document.createElement("div");return n.innerHTML=i,n.textContent},t.getHostname=function(t){var i=document.createElement("a");return i.href=t,i.hostname},t.getFormat=function(t){var i=null;return t=t.toLowerCase(),["mpd","mp4","m3u8","webm","flv","f4m","mp4b","m3u8_playlist","m3u8_master","m3u8:fmp4"].forEach((function(n){-1!==t.indexOf(n)&&(i=n)})),i},t.extend=function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return a.isObject(t)||(t={}),i.forEach((function(i){if(i)for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])})),t},t.mergeStringEnums=function(t,i){return Object.assign({},t,i)},t.formatTime=function(t){var i=Math.floor(t/3600),n=Math.floor((t-3600*i)/60),s=Math.floor(t-3600*i-60*n),e=s<10?"0"+s:s.toString(),r="";if(i>0){var h=n<10?"0"+n:n.toString();r=i.toString()+":"+h+":"+e}else a.isNumber(n)&&(r=n.toString()+":"+e);return r},t.findClosest=function(t,i,n){for(var s=n||document,e=t.matches||t.msMatchesSelector||t.webkitMatchesSelector;t&&t!==s;t=t.parentNode)if(e.call(t,i))return t;return null},t.getOffsetLeftFromEl=function(t,i){for(var n=0;t;)isNaN(t.offsetLeft)||(n+=t.offsetLeft),t=t.offsetParent,i&&this.classList(t).contains(i)&&(t=null);return n},t.getOffsetLeftFromDocument=function(t){var i=document.body,n=document.documentElement,s=0,e=window.pageXOffset||n.scrollLeft||i.scrollLeft,r=n.clientLeft||i.clientLeft||0;try{var h=t.getBoundingClientRect();s=h?h.left:0}catch(t){}return Math.round(s+e-r)},t.getScriptUrl=function(i,n,s){var e,r=t.scriptType;t.scriptType||(r="min");var h="-"+r+".js";i?e="/"+s+h:e=("https:"===document.location.protocol?t.assetDomainHttps:t.assetDomainHttp)+"/rx/builds/"+n+"/"+s+h;return e},t.createErr=function(t,i,n,e,h,o,u){return new r.default(t,n,e,{playbackState:i,msg:h,debugMsg:o,prefetch:u},s.userAgent)},t.insertCssIntoHead=function(t){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.appendChild(document.createTextNode(t)),i.appendChild(n)},t.classList=function(t){if(t&&t.classList)return t.classList;function i(i){return function(n){var s=t&&a.isString(t.className)?t.className.split(/\s+/):[],e=s.indexOf(n),r=i(s,e,n);return t&&a.isString(t.className)&&(t.className=s.join(" ")),r}}return{add:i((function(t,i,n){~i||t.push(n)})),remove:i((function(t,i){~i&&t.splice(i,1)})),toggle:i((function(t,i,n){~i?t.splice(i,1):t.push(n)})),contains:i((function(t,i){return!!~i}))}},t.render=function(t,i,n){var s=document.createElement("div");return s.innerHTML=t.render(i,n),s.children[0]},t.getFullscreenElement=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitCurrentFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},t.fixProtocol=function(t){return s.userAgent.samsung&&0===t.indexOf("//")?"https:"+t:t},t.setSingleton=function(t,i){window.VDMS=window.VDMS||{},window.VDMS.VideoPlayer=window.VDMS.VideoPlayer||{},window.VDMS.VideoPlayer[t]=i},t.getSingleton=function(t){return window.VDMS&&window.VDMS.VideoPlayer&&window.VDMS.VideoPlayer[t]?window.VDMS.VideoPlayer[t]:null},t.getAssetUrl=function(i,n,s){var e="https:"===t.getWindow().location.protocol?t.assetDomainHttps:t.assetDomainHttp;return i?"/"+s:e+"/rx/builds/"+n+"/assets/"+s},t.parseDomain=function(t){var i=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(t);return i?i[1]:null},t.getElementViewability=function(t){try{var i=t.getBoundingClientRect();if(!i||0===i.height||0===i.width)return 0;var n=void 0,s=window.innerHeight;return n=i.top>=0?i.bottom>s?s-i.top>0?s-i.top:0:i.height:i.bottom>s?s:i.bottom<0?0:i.bottom,Math.round(n/i.height*100)}catch(t){return 0}},t.hasUnwatchedClips=function(t){return!1},t.isIFrame=function(){var i=t.getWindow();try{return i.top!==i.self}catch(t){return!0}},t.isPlayerInBackground=function(){return this.hidden||(void 0!==document.hidden?this.hidden="hidden":void 0!==document.mozHidden?this.hidden="mozHidden":void 0!==document.msHidden?this.hidden="msHidden":void 0!==document.webkitHidden?this.hidden="webkitHidden":this.hidden="unsupported"),"unsupported"===this.hidden?!document.hasFocus():document[this.hidden]},t.isAdBreakType=function(t){return t===h.AdBreakType.PREROLL||t===h.AdBreakType.MIDROLL||t===h.AdBreakType.POSTROLL||t===h.AdBreakType.TRIGGER||t===h.AdBreakType.NON_LINEAR||t===h.AdBreakType.NATIVE},t.strSubstitute=function(t,i){return t.replace(/\{([^\{\}]*)\}/g,(function(t,n){var s="function"==typeof i?i(n):i[n];return a.isNullOrUndefined(s)?t:s}))},t.querystring=function(i,n,s,e){return n=n||"&",s=s||"=",e=e||encodeURIComponent,i?(a.isObject(i)&&(i=[i]),i.map((function(i){return Object.keys(i).map((function(r){var h=e(t.stringifyPrimitive(r));return null===i[r]?h:(h+=s,a.isArray(i[r])?i[r].map((function(i){return h+e(t.stringifyPrimitive(i))})).join(n):h+e(t.stringifyPrimitive(i[r])))})).join(n)})).join(n)):""},t.getHostUrl=function(){var t=document.referrer;try{window.top.location.href&&(t=window.top.location.href)}catch(t){}return t},t.stringifyPrimitive=function(t){return a.isString(t)?t:a.isBoolean(t)||a.isNumber(t)&&isFinite(t)?t.toString():""},t.uniquifyArray=function(t){return t.filter((function(t,i,n){return n.indexOf(t)===i}))},t.replaceStrParam=function(t,i,n){return t.replace(new RegExp(i+"=\\w*"),i+"="+n)},t.parseRootHost=function(i){var n=t.parseDomain(i),s="";if(n){var e=n.split(".");s=e.length>=2?e[e.length-2]:n}return s},t.redirect=function(t,i){try{i?window.top.location.replace(t):window.top.location.assign(t)}catch(t){window.DOMException}},t.noop=function(){},t.createVideoNode=function(){var t=document.createElement("div");return s.userAgent.tv?t.innerHTML='<video preload="metadata" crossorigin="anonymous"><source/></video>':t.innerHTML="<video preload></video>",t.children[0]},t.getUrlStatus=function(t,i){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onreadystatechange=function(){4===n.readyState&&i(n.status)},n.send()},t.bucketize=function(){return Math.floor(100*Math.random())},t.once=function(t){var i=this,n=function(){var s=Array.prototype.slice.call(arguments);return n.called||(n.called=!0,n.value=t.apply(i,s)),n.value};return n.called=!1,n},t.appendQueryString=function(t,i){var n=-1===t.indexOf("?")?"?":"&",s=[];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&s.push(e+"="+i[e]);return t+n+s.join("&")},t.cssHexToRgb=function(t){var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null},t.decimalToHexString=function(t,i,n){var s=Number(t).toString(16).toUpperCase();return i?s.padStart(i,n):s},t.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},t.deepCopy=function(t){var i=this;if(a.isNullOrUndefined(t))return t;var n={};return Object.keys(t).forEach((function(s){a.isArray(t[s])?n[s]=t[s].slice():a.isObject(t[s])?n[s]=i.deepCopy(t[s]):n[s]=t[s]})),n},t.mergeObjects=function(i,n,s){if(void 0===s&&(s=!1),a.isNullOrUndefined(i))return n;for(var e in n)if(a.isObject(i[e]))i[e]=this.mergeObjects(i[e],n[e],s);else if(void 0===i[e]||s){var r=n[e];a.isArray(r)?i[e]=r.slice():a.isObject(r)?i[e]=t.deepCopy(r):i[e]=r}return i},t.stringToArray16=function(t){for(var i=new ArrayBuffer(2*t.length),n=new Uint16Array(i),s=0,e=t.length;s<e;s++)n[s]=t.charCodeAt(s);return n},t.array16ToString=function(t){var i=new Uint16Array(t.buffer);return String.fromCharCode.apply(null,i)},t.base64DecodeUint8Array=function(t){for(var i=window.atob(t),n=i.length,s=new Uint8Array(new ArrayBuffer(n)),e=0;e<n;e++)s[e]=i.charCodeAt(e);return s},t.base64EncodeUint8Array=function(t){for(var i,n,s,e,r,h,o,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="",c=0;c<t.length;)e=(i=t[c++])>>2,r=(3&i)<<4|(n=c<t.length?t[c++]:Number.NaN)>>4,h=(15&n)<<2|(s=c<t.length?t[c++]:Number.NaN)>>6,o=63&s,isNaN(n)?h=o=64:isNaN(s)&&(o=64),a+=u.charAt(e)+u.charAt(r)+u.charAt(h)+u.charAt(o);return a},t.getResourceLoadTime=function(t){if(window.performance&&window.performance.getEntriesByType){var i=window.performance.getEntriesByType("resource"),n=void 0;for(n in i)if(i[n]&&i[n].name&&i[n].name.match(t))return i[n].duration}return null},t.getPlaybackMode=function(t){return t instanceof o.default?u.PlaybackMode.AD:u.PlaybackMode.VIDEO},t.getAdBreakStartOffset=function(t){var i=[];return t.forEach((function(n,s){var e,r=n.adBreakItems&&n.adBreakItems.some((function(t){return!!t.instream}));if(s>0&&r){for(var h=0,o=1;o<=s;o++)h+=t[o-1].duration;e=n.startOffset-h}else e=n.startOffset;var u={adBreakId:n.adBreakId,startOffset:e,type:n.type};i.push(u)})),i},t.detectRegexPattern=function(t,i){var n=new RegExp(t).exec(i);return n&&n[0]?n[0]:null},t.extractID3Data=function(t){if(!t||!t.length)return null;var i=0;for(i=0;i<t.length&&!(t[i]>31);i++);var n=0;for(n=t.length-1;n>=0&&!(t[n]<=31);n--);n=n<i?t.length:n;var s=t.subarray(i,n);return String.fromCharCode.apply(null,s)},t.areDimensionsEqual=function(t,i){return t.width===i.width&&t.height===i.height&&t.videoWidth===i.videoWidth&&t.videoHeight===i.videoHeight},t.isOldIeBrowser=function(){return!!(s.userAgent.ie&&s.userAgent.ie<=10)},t.assetDomainHttp="http://assets.video.yahoo.net",t.assetDomainHttps="https://assets.video.yahoo.net",t.scriptType="PLAYER_DEBUG_TYPE",t.yuiAdded=!1,t}();i.default=c},z88l:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.STRUCTURED_PLAYLIST_MIMETYPE=void 0;var s=n("ToqN"),e=n("g6Is"),r=n("rBpt"),h=n("he5r"),o=n("c+yx"),u=n("9s7j");i.STRUCTURED_PLAYLIST_MIMETYPE="playlist/structured";var a=function(){function t(t){this.name="StructuredPlaylistPlugin",this.version="8.2.125",this.mimetype=i.STRUCTURED_PLAYLIST_MIMETYPE,this.type=e.Plugin.PluginType.PLAYLIST,this.oE=t,this.J7=null}return t.prototype.prepare=function(){},t.prototype.destroy=function(){},t.prototype.create=function(t,i,s,e){var r=this.pQ(t,i),h=document.createElement("div");return this.J7=s,h.innerHTML=u.render({items:r,strings:e}),n("RyId"),Array.prototype.slice.call(h.children)},t.prototype.onMediaItemEnded=function(t){var i=t.id,n=this.oE.isMediaItemWatched(i),s={id:t.id,position:t.duration,duration:t.duration};this.K7(t)||(this.oE.watchHistory&&this.oE.watchHistory.saveProgress(s,!0),this.ttt(i,n))},t.prototype.onMediaPlaybackProgress=function(t,i,n){var s=this.oE.isMediaItemWatched(t),e={id:t,position:i,duration:n};this.oE.watchHistory&&this.oE.watchHistory.saveProgress(e,!0),i%10==0&&this.ttt(t,s)},t.prototype.pQ=function(t,i){var n=this,s=[];return i.forEach((function(i){if(!n.K7(i)&&i&&i.metadata&&i.metadata.thumbnail){var e=n.itt(i),r=!1;e&&s.push({sectionLabel:e,sectionLabelIcon:n.ntt(i),firstItemId:i.id}),n.oE.watchHistory&&n.oE.watchHistory.isWatched(i.id,i.metadata.duration||0)&&(n.oE.setMediaItemWatched(i.id,!0),r=!0),s.push({id:i.id,title:n.bQ(i.metadata.title),thumbnail:i.metadata.thumbnail,duration:n.mQ(i.metadata.duration),provider:i.brandingData?n.yQ(t,i.brandingData):"",labelIcon:n.stt(i),isItemWatched:r})}})),i.length>0&&this.ett(i)&&(this.oE.watchHistoryConfig.skipWatchedVideos=!1),s},t.prototype.mQ=function(t){return t&&r.TypeChecker.isNumber(t)?o.default.formatTime(t):""},t.prototype.bQ=function(t){var i=s.userAgent.chrome>43;return t?t.length>40&&!i?t.substring(0,40)+"...":t:""},t.prototype.yQ=function(t,i){return t===h.PLAYLIST_POS.RIGHT&&i&&i.branding&&i.branding.providerName?i.branding.providerName:""},t.prototype.stt=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.label&&i.label.icons?this.rtt(i.label.icons,h.PLAYLIST_LABEL_ICON_DIMENSION):""},t.prototype.itt=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.label||""},t.prototype.ntt=function(t){var i=t.customConfig&&t.customConfig.playlistConfig;return i&&i.section&&i.section.icons?this.rtt(i.section.icons,h.PLAYLIST_SECTION_ICON_DIMENSION):""},t.prototype.rtt=function(t,i){if(t)for(var n=0,s=t;n<s.length;n++){var e=s[n];if(e.tag===i)return e.url}return""},t.prototype.K7=function(t){return!!(t.customConfig&&t.customConfig.playlistConfig&&t.customConfig.playlistConfig.is_bumper)},t.prototype.ttt=function(t,i){var n='.vp-playlist-item[data-id="'+t+'"]',s=this.J7&&this.J7.querySelector(n);s&&(i?this.htt(s):this.ott(s))},t.prototype.htt=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.add("yvp-show")},t.prototype.ott=function(t){var i=t.querySelector(".yvp-playlist-item-watched");i&&i.classList.remove("yvp-show")},t.prototype.ett=function(t){var i=this;return t.every((function(t){if(!t||!t.metadata)return!1;if(i.K7(t))return!0;var n=t.metadata&&t.metadata.duration;return i.oE.watchHistory&&i.oE.watchHistory.isWatched(t.id,n||0)||!1}))},t}();i.default=a},zT5j:function(t,i,n){"use strict";t.exports.AacStreamer=u,t.exports.AacLiveStreamer=a;var s=n("juTp"),e=n("yUCA").Streamer,r=n("a29t"),h=n("mvD1"),o=n("zY0b");function u(t,i){this.XS(t,i)}function a(t,i){this.XS(t,i)}s.inherits(u,e),s.inherits(a,r),a.prototype.XS=u.prototype.XS=function(t,i){this.constructor.super_.call(this,t,i),this.JS=this.constructor.super_.prototype,this.processOnlyMetadata=!1,this.lastAudioTimestamp=NaN,this.lastAudioFrameDuration=NaN,this.primary=!1,this.IM="mp4a.40.2",this.SM="audio",this.tU();var n=[{type:this.SM,mimeType:this.SM+'/mp4; codecs="'+this.IM+'"',minBufferTime:this.__controller.getMinimumBufferTime()}];this.__controller.sendMessage(h.MessageIds.CREATE_SRC_BUFFER,[n],["tracks"]),this.tI=this.STATES.INITIALIZED},a.prototype.destroy=u.prototype.destroy=function(){this.JS.destroy.call(this)},a.prototype.onSeeking=u.prototype.onSeeking=function(t){this.lastAudioTimestamp=NaN,this.JS.onSeeking.call(this,t)},a.prototype.onSwitchBegin=u.prototype.onSwitchBegin=function(){this.tU(),this.JS.onSwitchBegin.call(this)},a.prototype.onManualStreamChange=u.prototype.onManualStreamChange=function(){this.tU(),this.lastAudioTimestamp=NaN,this.JS.onManualStreamChange.call(this)},a.prototype.VM=u.prototype.VM=function(){this.tU()},a.prototype.hI=u.prototype.hI=function(t){if(!this.isActive())return null;var i=this.oI;return{segment:i.getSegmentfromSeqNum(t),stream:i,state:{mp4:this.iU,lastChunkEndTs:{audio:this.lastAudioTimestamp,video:NaN},lastFrameDuration:{audio:this.lastAudioFrameDuration,video:NaN}},onlyMetadata:this.processOnlyMetadata}},a.prototype.onSegmentLoadProgress=u.prototype.onSegmentLoadProgress=function(t,i,n){if(i){var s=i.getParam?i.getParam("parsedInfo"):null;s&&(s.lastChunkEndTs&&o.isNumber(s.lastChunkEndTs.audio)&&(this.lastAudioTimestamp=s.lastChunkEndTs.audio),s.lastFrameDuration&&o.isNumber(s.lastFrameDuration.audio)&&(this.lastAudioFrameDuration=s.lastFrameDuration.audio)),this.JS.onSegmentLoadProgress.call(this,t,i,n)}},a.prototype.tU=u.prototype.tU=function(){this.iU={video:{shouldInit:!0,seqNum:0},audio:{shouldInit:!0,seqNum:0}}},a.prototype.lI=u.prototype.lI=function(t,i){},a.prototype.FM=function(t){this.lastAudioTimestamp=NaN,this.isActive()&&this.JS.FM.call(this,t)}},zW5x:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.DEFAULT_MEDIA_ITEM_META=i.DEFAULT_HEIGHT=i.DEFAULT_WIDTH=i.DEFAULT_AD_SYSTEM_VERSION=i.DEFAULT_AD_SYSTEM=void 0;var s=n("s4NR"),e=n("ToqN"),r=n("g6Is"),h=n("rBpt"),o=n("FXl5"),u=n("lSF3"),a=n("c+yx"),c=n("XevZ"),f=n("Ld5f"),l=n("XPHM"),v=n("25Pf");i.DEFAULT_AD_SYSTEM="vrm",i.DEFAULT_AD_SYSTEM_VERSION="2";var d=3e3,p=4e3;i.DEFAULT_WIDTH=640,i.DEFAULT_HEIGHT=360,i.DEFAULT_MEDIA_ITEM_META={title:"",description:"",thumbnail:"",posterUrl:"",duration:0,viewCount:NaN,shareUrl:"",liveState:"",liveLabel:"always",pip:!0};var m=function(){function t(t){this.ZL=!1,this.oE=t;var i=this.oE.config&&this.oE.config.CMS;this.XL=i&&i.host||v.default.getEnv(i&&i.env||""),h.Loader.preconnect("preconnect-sapi","//"+this.XL)}return t.prototype.resolve=function(t,i,n,s,e){var r=this;if(void 0===i&&(i={}),void 0===e&&(e=0),Array.isArray(t)&&0!==t.length){var u="",a=this.utt(t,i,n),f=e>0?e:0,l=function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(!r.ZL){var e=i[0],a=void 0,f=i[2],l=i[3];try{a=JSON.parse(e),f.instrument=a.query&&a.query.results&&a.query.results.instrument?JSON.stringify(a.query.results.instrument):"none"}catch(t){}s.onApiCallInfo({perfObj:f,url:u}),r.Dk(t,l,e,(function(t,i){if(!t&&i&&i.length){for(var n=0,e=i;n<e.length;n++){var u=(e[n].customConfig||{}).mediaItemStatus||{},a=parseInt(u.code,10);if(!isNaN(a)&&a>100){var f="",l=null,v=null;return r.att(h.errorCodes.INFO_CODES,u.code)&&(l=h.errorCodes.E_INFO),r.ctt(l,u.code)&&(v="R"),u.code===h.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE&&(f=o.default.ERR_RESTRICTED_NETWORK_TYPE),u.code===h.errorCodes.SAPI_CODES.E_UNSUPPORTED_FORMAT&&(v="S",l=h.errorCodes.E_SAPI_STREAM),void r.$L(v,l,u.code,f,s)}}s.onComplete(i)}else t=t||"",r.$L(null,null,c.getErrorCode(),t,s)}))}},v=function(t,i,n,e,h){if(!r.ZL)if(0!==f&&u)f--,r._C(u,l,v);else{s.onApiCallInfo({perfObj:h||{},url:u});var o=t.message+"; "+u+"; "+i+"; "+n;r.$L(null,null,c.getErrorCode(t,i,n),o,s)}};a.then((function(t){u=t,r._C(u,l,v)})).catch((function(){v.apply(r)}))}},t.prototype.cancel=function(){this.ZL=!0},t.prototype.parseMediaItemsResponse=function(t){var i=this;Array.isArray(t)&&t.length>0&&t.forEach((function(t){t.customConfig&&t.customConfig.response&&(i.tP(t,t.customConfig.response,!1),delete t.customConfig.response)}))},t.prototype.getDeviceType=function(){var t=navigator.platform.toLowerCase(),i=["mac","win"].some((function(i){return t.indexOf(i)>-1}));return e.userAgent.chromecast?"tv-widget,chromecast":e.userAgent.tv?"tv-widget":i||!e.userAgent.ipad&&!e.userAgent.androidTablet?!i&&e.userAgent.mobile?"smartphone":"desktop":"tablet"},t.prototype._C=function(t,i,n){var s=d;e.userAgent.mobile&&!e.userAgent.ios&&(s=p),h.Loader.ajax(t,{context:this,successHandler:i,failureHandler:n,collectPerfData:!0,withCookie:!0,timeout:s})},t.prototype.tP=function(t,n,s){var e=this;void 0===s&&(s=!0);var r=n.meta||{},o=n.streams||[],u=n.license||{},a=t.metadata||{},c=n.metrics||{},l=t.customConfig||{};if(a.title=r.title||r.description,a.description=r.description,a.thumbnail=r.thumbnail,a.posterUrl=r.posterUrl,a.duration=r.duration,a.liveState=r.live_state||i.DEFAULT_MEDIA_ITEM_META.liveState,a.liveLabel=r.live_label||i.DEFAULT_MEDIA_ITEM_META.liveLabel,a.pip=h.TypeChecker.isBoolean(r.pip)?r.pip:i.DEFAULT_MEDIA_ITEM_META.pip,a.videoTypes=r.video_types,t.skt=n.sktHeader||"",!l.playlistConfig&&r.playlist_config&&(l.playlistConfig=r.playlist_config),t.customConfig=t.customConfig||{},t.customConfig.nielsenRequired=r.nielsen_beacons||!1,n.status&&(t.customConfig.mediaItemStatus=n.status),r.allowed_connection_types&&(t.customConfig.allowedConnectionTypes=r.allowed_connection_types),t.customConfig.metrics={comscoreCM5:c.comscore_cm5||"",beacons:c.beacons||[],ywa:c.ywa||[],comscore6:c.comscore6||"",pspId:c.pspid||"",plidl:c.plidl||"",isrc:c.isrc||"",mmActivityId:c.mmActivityId||"",mediametrie:c.mediametrie||""},t.customConfig.meta={instrument:r.instrument||{},genre:r.genre||"",showName:r.show_name||"",credits:r.credits||{},eventStart:r.event_start||0,eventEnd:r.event_stop||0,videoMarkers:r.video_markers||null,castable:!(!1===r.castable)},s&&(a.title=a.title||i.DEFAULT_MEDIA_ITEM_META.title,a.description=a.description||i.DEFAULT_MEDIA_ITEM_META.description,a.thumbnail=a.thumbnail||i.DEFAULT_MEDIA_ITEM_META.thumbnail,a.posterUrl=a.posterUrl||i.DEFAULT_MEDIA_ITEM_META.posterUrl,a.duration=a.duration||i.DEFAULT_MEDIA_ITEM_META.duration,a.liveState=a.liveState||i.DEFAULT_MEDIA_ITEM_META.liveState,a.liveLabel=r.live_label||i.DEFAULT_MEDIA_ITEM_META.liveLabel),t.source={streams:o.map((function(t){return e.ftt(t)}))},a.type=this.n$(t.source.streams),t.metadata=a,u){var v={};v.title=u.title,v.accountName=u.account_name,v.originatingProperty=u.originating_property,v.accountId=u.account_id,v.salesforceId=u.salesforce_id,v.isDrm=u.is_drm,t.license=v}t.visualSeekData=t.visualSeekData||{mimetype:"visualseek/sapi"},t.visualSeekData.visualSeek=n.visualseek,r.provider&&(t.brandingData=t.brandingData||{branding:{}},r.provider.provider_id&&f.PROVIDER_BRANDING_TEMPLATES[r.provider.provider_id]&&(t.brandingData.mimetype="branding/provider"),t.brandingData.branding=t.brandingData.branding||{},t.brandingData.branding.providerId=r.provider.provider_id,t.brandingData.branding.providerName=r.provider.name,t.brandingData.branding.providerVideoId=r.provider.provider_video_id,t.brandingData.branding.gameOrigin=r.game_origin||[]),!t.adConfig&&n[i.DEFAULT_AD_SYSTEM]&&(t.adConfig={value:n[i.DEFAULT_AD_SYSTEM],mimetype:"adplugin/"+i.DEFAULT_AD_SYSTEM}),n.closedcaptions&&(t.closedCaptions=n.closedcaptions)},t.prototype.Dk=function(t,i,n,s){var e=this;try{var r=JSON.parse(n),o=r&&r.query&&r.query.results&&r.query.results.mediaObj;if(!o)return void s("Bad sapi response");var u="";i&&h.TypeChecker.isFunction(i.getResponseHeader)&&(u=i.getResponseHeader("skt")),t.forEach((function(t){o.some((function(i,n){return!(!i||t.id!==i.id)&&(i.sktHeader=u,e.tP(t,i),o.splice(n,1),!0)}))})),s(null,t)}catch(t){s(t.message)}},t.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)},t.prototype.att=function(t,i){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&t[n]===i)return!0;return!1},t.prototype.ctt=function(t,i){return t===h.errorCodes.E_INFO&&[h.errorCodes.INFO_CODES.E_SAPI_RESTRICTED_NETWORK_TYPE,h.errorCodes.INFO_CODES.E_SAPI_GEO,h.errorCodes.INFO_CODES.E_SAPI_BLACKOUT,h.errorCodes.INFO_CODES.E_SAPI_DEVICE,h.errorCodes.INFO_CODES.E_SAPI_EMBED].indexOf(i)>-1},t.prototype.utt=function(t,n,o){var c=this,f=this.oE,l=t.map((function(t){return t.id})).join(","),v=o.rendererTypes,d=o.rendererCapabilities,p={},m={},b=o.privacyConsent,y=o.thumbnailDimensions,g=t[0].adConfig?1:0;!0===(null==n?void 0:n.disableAdFetch)&&(g=1);var w="//"+this.XL+"/v1/video/sapi/streams/"+l;v&&v.forEach((function(t){var i=d[t],n=i.acceptedProtocols,s=i.preferredFormats;n.forEach((function(t){return p[t]=!0})),s.forEach((function(t){return m[t]=!0}))})),y&&y.width&&y.height||(y={width:i.DEFAULT_WIDTH,height:i.DEFAULT_HEIGHT});var E={srid:Math.floor(4294967295*Math.random()),protocol:Object.keys(p).join(","),format:Object.keys(m).join(","),rt:"html",devtype:this.getDeviceType(),offnetwork:!a.default.isOathDomain()&&!a.default.isAllowlistedDomain(),plid:f.guid,region:f.region||"US",site:f.site,expb:f.experienceBucket,expn:f.experienceName,bckt:a.default.getBckt(),lang:f.lang,width:y.width,height:y.height,resize:!0,ps:o.sessionId,autoplay:o.autoplay,image_sizes:"",excludePS:!0,isDockable:f.isDockable?"1":"0",acctid:f.yvapAccountId,synd:f.syndication,pspid:f.pspid,plidl:"",topic:f.cTopic,pver:"",try:h.TypeChecker.isNumber(Number(o.tryCount))?Number(o.tryCount):1,failover_count:h.TypeChecker.isNumber(Number(o.failoverCount))?Number(o.failoverCount):0,ads:i.DEFAULT_AD_SYSTEM+i.DEFAULT_AD_SYSTEM_VERSION,nad:g,"ad.pl":"up"};1===t.length&&(E["ad.plseq"]=o.playlistPosition);var O=a.default.getPageQueryString(),A=O.ad_debug,_=O.upet;A&&(E.ad_debug=A),_&&(E.upet=_),v&&-1!==v.indexOf(r.RendererType.HTML5_HLS)&&(E.hlspre=!0),f.aspectRatio&&(E.aspectr=f.aspectRatio),b&&!h.TypeChecker.isNullOrUndefined(b.gdprApplies)&&(E.gdpr=!0===b.gdprApplies,E.iabconsent=b.gdprConsentData||""),b&&!h.TypeChecker.isNullOrUndefined(b.uspString)&&(E.usprv=b.uspString||""),f.pblob&&(E.pblob=f.pblob);var T=n.qs||{};return E=a.default.extend(T,E),new u.Promise((function(t,i){f.allowGeoRequest&&e.userAgent.mobile?c.ltt(l).then((function(i){var n=Object.assign({},E,i);t(w+"?"+s.stringify(n))})).catch((function(){t(w+"?"+s.stringify(E))})):t(w+"?"+s.stringify(E))}))},t.prototype.ftt=function(t){return t?{url:t.host+t.path,live:t.live,format:t.format,cdn:t.cdn,rcMode:t.rc_mode,mimeType:t.mime_type,aspectRatio:t.aspect_ratio,videoMetadata:{avgBitrate:t.avgbitrate||0,bitrate:t.bitrate||0,framerate:t.framerate||0,height:t.height||0,width:t.width||0,profile:t.h264_profile},audioMetadata:{channels:t.channels||0,forced:t.forced,autoSelect:t.auto_select,default:t.default}}:null},t.prototype.ltt=function(t){var i=this;return new u.Promise((function(n,s){l.default.getXAuthParams(t,i.getDeviceType()).then((function(t){var s=i.oE.geoData;if(s&&s.latitude&&s.longitude&&s.accuracy){var e=s.latitude+";"+s.longitude+" epu="+s.accuracy,r=Object.assign({},t,{"geo-position":e});n(r)}else n(t)})).catch((function(){s({})}))}))},t.prototype.n$=function(t){return t.some((function(t){return t.live}))?r.MediaItemInterfaces.MediaItemType.LIVE_EVENT:r.MediaItemInterfaces.MediaItemType.VOD},t}();i.default=m},zY0b:function(t,i){i.isArray=function(t){return Array.isArray(t)},i.isBoolean=function(t){return"boolean"==typeof t},i.isNullOrUndefined=function(t){return null==t},i.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},i.isString=function(t){return"string"==typeof t},i.isObject=function(t){return"[object Object]"===(i=t,Object.prototype.toString.call(i));var i},i.isFunction=function(t){return"function"==typeof t},i.deepCopy=function(t){var n={};return i.isNullOrUndefined(t)?t:(Object.keys(t).forEach((function(s){i.isArray(t[s])?n[s]=t[s].slice():i.isObject(t[s])?n[s]=i.deepCopy(t[s]):n[s]=t[s]})),n)}},zbCN:function(t,i,n){"use strict";t.exports=s;function s(){}s.prototype.initSegment=function(t,i){var n=this.ftyp(i),s=this.moov(t),e=new Uint8Array(n.byteLength+s.byteLength);return e.set(n),e.set(s,n.byteLength),e},s.prototype.ftyp=function(t){t=t||"avc1";var i=new Uint8Array([105,115,111,109]),n=new Uint8Array([0,0,0,1]),s=new Uint8Array([t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);return this.dtt("ftyp",[i,n,s])},s.prototype.moov=function(t){var i=[];i.push(this.ptt(t[0].config.duration,t[0].config.timescale));for(var n=0;n<t.length;n++)i.push(this.mtt(t[n]));return i.push(this.btt(t)),this.dtt("moov",i)},s.prototype.moof=function(t,i){var n=[];n.push(this.ytt(t));for(var s=0;s<i.length;s++){var e=this.gtt(i[s]);n.push(e)}return this.dtt("moof",n)},s.prototype.mdat=function(t){var i=[];if(t&&t.frames)for(var n=0;n<t.frames.length;n++)i.push(t.frames[n].data);return this.dtt("mdat",i)},s.prototype.ytt=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t),this.wtt("mfhd",0,new Uint8Array(3),[i])},s.prototype.gtt=function(t){if(t){var i,n,s=[],e=32,r=this.Ett(t);return e+=r.length,s.push(r),t.frames&&t.frames.length&&(e+=(i=this.Ott(t.frames[0].dts)).length,s.push(i)),"video"===t.type&&(e+=(n=this.Att(t)).length),s.push(this._tt(t,e)),n&&s.push(n),this.dtt("traf",s)}},s.prototype.Ett=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,t.streamId),this.wtt("tfhd",0,new Uint8Array([0,0,0]),[i])},s.prototype.Ott=function(t){var i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,Math.max(0,t)),this.wtt("tfdt",0,new Uint8Array([0,0,0]),[i])},s.prototype._tt=function(t,i){var n=t.frames||[],s=n.length,e=this.Ttt(n),r=0,h=e[1],o=0;for(o=0;o<4;o++)r+=h&1<<o?1:0;var u=new Uint8Array(4*r*s),a=new DataView(u.buffer);i+=20+u.length+8;var c=this.Stt(s,i),f=0;for(o=0;o<s;o++){var l=n[o];if(1&h&&(a.setUint32(f,l.duration),f+=4),2&h&&(a.setUint32(f,l.size),f+=4),4&h){var v=(l.flags.isLeading<<2|l.flags.dependsOn)<<24|(l.flags.isDependedOn<<6|l.flags.hasRedundancy<<4|l.flags.paddingValue<<1|l.flags.isNonSyncSample)<<16|(240&l.flags.degradationPriority)<<8|15&l.flags.degradationPriority;a.setUint32(f,v),f+=4}8&h&&(a.setUint32(f,l.pts-l.dts),f+=4)}return this.wtt("trun",0,e,[c,u])},s.prototype.Att=function(t){for(var i=t.frames||[],n=i.length,s=new Uint8Array(n),e=0;e<n;e++){var r=i[e];r.flags&&(s[e]=r.flags.isLeading<<6|r.flags.dependsOn<<4|r.flags.isDependedOn<<2|r.flags.hasRedundancy)}return this.wtt("sdtp",0,new Uint8Array(3),[s])},s.prototype.Stt=function(t,i){var n=new Uint8Array(8),s=new DataView(n.buffer);return s.setUint32(0,t),s.setInt32(4,i),n},s.prototype.Ttt=function(t){var i=t.length,n=new Uint8Array(3);return n[2]=1,i&&(void 0!==t[0].duration&&(n[1]|=1),void 0!==t[0].size&&(n[1]|=2),void 0!==t[0].flags&&(n[1]|=4),void 0!==t[0].pts&&(n[1]|=8)),n},s.prototype.ptt=function(t,i){var n=new Uint8Array(96),s=new DataView(n.buffer);s.setUint32(0,1),s.setUint32(4,2);var e=i||9e4;return s.setUint32(8,e),t&&s.setUint32(12,t),s.setUint32(16,65536),s.setUint16(20,256),s.setUint32(32,65536),s.setUint32(48,65536),s.setUint32(64,1073741824),s.setUint32(92,4294967295),this.wtt("mvhd",0,new Uint8Array(3),[n])},s.prototype.mtt=function(t){t.config.duration=t.config.duration||4294967295;var i=[this.Itt(t)];return t.config.useEditBox&&i.push(this.jtt(t)),i.push(this.Mtt(t)),this.dtt("trak",i)},s.prototype.Itt=function(t){var i=new Uint8Array(80),n=new DataView(i.buffer);return n.setUint32(8,t.streamId),n.setUint32(16,t.config.duration),n.setUint8(32,"audio"===t.type?1:0),n.setUint32(36,65536),n.setUint32(52,65536),n.setUint32(68,1073741824),n.setUint16(72,t.config.width),n.setUint16(76,t.config.height),this.wtt("tkhd",0,new Uint8Array([0,0,7]),[i])},s.prototype.jtt=function(t){return this.dtt("edts",[this.Ntt(t)])},s.prototype.Ntt=function(t){var i=new Uint8Array(16),n=new DataView(i.buffer);return n.setUint32(0,1),n.setUint32(4,0),n.setUint32(8,t.config.offset),n.setUint16(12,1),n.setUint16(14,0),this.wtt("elst",0,new Uint8Array(3),[i])},s.prototype.Mtt=function(t){return this.dtt("mdia",[this.Rtt(t),this.Dtt(t.type),this.Ltt(t)])},s.prototype.Rtt=function(t){var i=new Uint8Array(20),n=new DataView(i.buffer);n.setUint32(0,2),n.setUint32(4,3);var s=t.config.timescale||9e4;return n.setUint32(8,s),n.setUint32(12,t.config.duration),n.setUint16(16,21956),this.wtt("mdhd",0,new Uint8Array(3),[i])},s.prototype.Dtt=function(t){var i={video:1986618469,audio:1936684398,hint:1751740020},n=new Uint8Array(32),s=new DataView(n.buffer);return s.setUint32(4,i[t]),s.setUint32(20,i[t]),s.setUint32(24,1214344804),s.setUint32(28,1818587648),this.wtt("hdlr",0,new Uint8Array(3),[n])},s.prototype.Ltt=function(t){var i="audio"===t.type?this.ktt():this.Ctt();return this.dtt("minf",[i,this.Ptt(),this.xtt(t)])},s.prototype.Ctt=function(){var t=new Uint8Array(8);return this.wtt("vmhd",0,new Uint8Array([0,0,1]),[t])},s.prototype.ktt=function(){var t=new Uint8Array(4);return this.wtt("smhd",0,new Uint8Array(3),[t])},s.prototype.Ptt=function(){return this.dtt("dinf",[this.Utt()])},s.prototype.Utt=function(){var t=new Uint8Array([0,0,0,1]),i=[];return i.push(t),i.push(this.uE(new Uint8Array([0,0,1]))),this.wtt("dref",0,new Uint8Array(3),i)},s.prototype.uE=function(t){return this.wtt("url ",0,t,[])},s.prototype.Vtt=function(t){return this.wtt("urn ",0,t,[])},s.prototype.xtt=function(t){return this.dtt("stbl",[this.Btt(t),this.Ftt(),this.ztt(),this.Htt(),this.qtt()])},s.prototype.Btt=function(t){var i="audio"===t.type?this.Gtt(t):this.Ytt(t),n=new Uint8Array([0,0,0,1]);return this.wtt("stsd",0,new Uint8Array(3),[n,i])},s.prototype.Ytt=function(t){var i=[];i.push((65280&t.config.ppsLength)>>>8),i.push(255&t.config.ppsLength);try{t.config.ppsLength>0&&(i=i.concat(Array.prototype.slice.call(t.config.pps)))}catch(t){}var n=[];n.push((65280&t.config.spsLength)>>>8),n.push(255&t.config.spsLength);try{t.config.spsLength>0&&(n=n.concat(Array.prototype.slice.call(t.config.sps)))}catch(t){}var s=new Uint8Array(78),e=new DataView(s.buffer);return e.setUint16(6,1),e.setUint16(24,t.config.width),e.setUint16(26,t.config.height),e.setUint32(28,4718592),e.setUint32(32,4718592),e.setUint16(40,1),e.setUint32(42,259613032),e.setUint32(46,1869557110),e.setUint32(50,1768187247),e.setUint32(54,761818227),e.setUint16(74,24),e.setUint16(76,65535),this.dtt("avc1",[s,this.dtt("avcC",[new Uint8Array([1,t.config.profileIndication,t.config.profileCompatibility,t.config.levelIndication,255].concat([255&t.config.numOfSPS|224]).concat(n).concat([255&t.config.numOfPPS]).concat(i))]),this.Wtt()])},s.prototype.Wtt=function(){var t=new Uint8Array(12);return new DataView(t.buffer).setUint32(0,1875072),this.dtt("btrt",[t])},s.prototype.Gtt=function(t){var i=new Uint8Array(8),n=new DataView(i.buffer);n.setUint16(6,1);var s=new Uint8Array(20);return(n=new DataView(s.buffer)).setUint16(8,t.config.channels),n.setUint16(10,t.config.sampleSize),n.setUint16(16,t.config.samplingFreq),this.dtt("mp4a",[i,s,this.Ztt(t)])},s.prototype.Ztt=function(t){var i=new Uint8Array(27),n=new DataView(i.buffer);return n.setUint8(0,3),n.setUint8(1,25),n.setUint8(5,4),n.setUint8(6,17),n.setUint8(7,64),n.setUint8(8,21),n.setUint16(10,1536),n.setUint8(20,5),n.setUint8(21,2),n.setUint8(22,t.config.audioObjectTypeIndex<<3|t.config.samplingFreqIndex>>>1),n.setUint8(23,t.config.samplingFreqIndex<<7|t.config.channels<<3),n.setUint8(24,6),n.setUint8(25,1),n.setUint8(26,2),this.wtt("esds",0,new Uint8Array(3),[i])},s.prototype.Ftt=function(){var t=new Uint8Array(4);return this.wtt("stts",0,new Uint8Array(3),[t])},s.prototype.ztt=function(){var t=new Uint8Array(4);return this.wtt("stsc",0,new Uint8Array(3),[t])},s.prototype.Htt=function(){var t=new Uint8Array(8);return this.wtt("stsz",0,new Uint8Array(3),[t])},s.prototype.qtt=function(){var t=new Uint8Array(4);return this.wtt("stco",0,new Uint8Array(3),[t])},s.prototype.btt=function(t){for(var i=[],n=0;n<t.length;n++)i.push(this.Qtt(t[n]));return this.dtt("mvex",i)},s.prototype.Qtt=function(t){var i=new Uint8Array(20),n=new DataView(i.buffer);return n.setUint32(0,t.streamId),n.setUint32(4,1),n.setUint32(16,65537),"video"!==t.type&&(i[i.length-1]=0),this.wtt("trex",0,new Uint8Array(3),[i])},s.prototype.wtt=function(t,i,n,s){var e=new Uint8Array(1);e[0]=i;var r=[e,n];return r=r.concat(s),this.dtt(t,r)},s.prototype.dtt=function(t,i){var n=0,s=new Uint8Array([t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]),e=0,r=0;for(r=0;r<i.length;r++)e+=i[r].length;var h=new Uint8Array(e+8);for(new DataView(h.buffer,h.byteOffset,h.byteLength).setUint32(0,h.byteLength),h.set(s,4),n=8,r=0;r<i.length;r++)h.set(i[r],n),n+=i[r].length;return h}},zuu9:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.closedcaptionsSchema=void 0,i.closedcaptionsSchema={$schema:"http://json-schema.org/draft-07/schema#",id:"/closedcaptionsSchema",type:"object",properties:{show:{type:"boolean"},lang:{default:"en-US",type:"string"},fontSize:{default:24,type:"number"},fontName:{default:"Arial, Helvetica, sans-serif",type:"string"},fontColor:{default:"#ffffff",type:"string"},fontOpacity:{default:1,type:"number"},fontEffect:{default:"none",type:"string"},bgColor:{default:"#000000",type:"string"},bgOpacity:{default:.75,type:"number"},ccPos:{default:"bottom",type:"string"},isAvailable:{type:"boolean"}}}}});
//# sourceMappingURL=oath-player-desktop.js.map