text: ;YAHOO = window.YAHOO || {};YAHOO.VideoPlatform = YAHOO.VideoPlatform || {};require=function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return r(n?n:e)},c,c.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({TL7Kjz:[function(e,t,n){"use strict";function i(e){var t;return t="html"===e?{acceptedProtocols:["http"],preferredFormats:p,acceptedFormats:y}:"dash"===e?{acceptedProtocols:["http"],preferredFormats:["mp4dash"],acceptedFormats:["mp4dash","mpd"]}:{acceptedProtocols:["http","rtmp"],preferredFormats:["m3u8","mp4","flv","f4m"],acceptedFormats:["m3u8","m3u8_playlist","mp4","flv","f4m",""]}}function r(e){return"probably"===e}t.exports=i;var o,a=e("./user-agent"),s=document.createElement("video");try{if(o=!1,s.canPlayType){var l=s.canPlayType('application/vnd.apple.mpegURL; codecs="avc1.42E01E, mp4a.40.2"');o=a.android?!!l:r(l),!o&&a.tv&&(o=r(s.canPlayType("application/vnd.apple.mpegurl")))}}catch(c){o=!1}a.tv&&(window.noHLS&&(o=!1),"tivo"===a.os&&(o=!1),window.hls&&(o=!0));var u;try{u=s.canPlayType?r(s.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')):!1}catch(c){u=!1}var d;try{d=s.canPlayType?r(s.canPlayType('video/webm; codecs="vp8, vorbis"')):!1}catch(c){d=!1}a.tv&&(d=!1);var p=[];if(a.android&&p.push("mp4b"),o&&p.push("m3u8"),u&&p.push("mp4"),d){var _=p.indexOf("mp4");a.firefox&&_>-1?p.splice(_,0,"webm"):p.push("webm")}var y=p.slice(),M=y.indexOf("mp4b");M>-1&&y.splice(M+1,0,"mp4"),y.push("")},{"./user-agent":"ty5FFo"}],"./lib/capability.js":[function(e,t,n){t.exports=e("TL7Kjz")},{}],"./lib/event-bus.js":[function(e,t,n){t.exports=e("3ECu9u")},{}],"3ECu9u":[function(e,t,n){"use strict";function i(e){var t=this;t.name=e?e:"unnamed",t._events={}}t.exports=i;var r=e("./logger");i.prototype.subscribe=function(e,t,n){function i(){r._unsubscribe(e,o)}var r=this;if(r._events){r._events[e]||(r._events[e]=[]);var o={subscriber:n,cb:t};return r._events[e].push(o),i.detach=i,i}},i.prototype._unsubscribe=function(e,t){var n=this;if(n._events&&e in n._events){var i=n._events[e].indexOf(t);i>-1&&n._events[e].splice(i,1)}},i.prototype.publish=function(e){var t=this;if(t._events)if(e in t._events){var n=t._events[e].slice(0);t._log(e,n.length);for(var i=0;i<n.length;i++)try{n[i].cb.apply(n[i].subscriber,Array.prototype.slice.call(arguments,1))}catch(o){r.error("error in event handler:",o.message||o,o.stack)}}else t._log(e,0)},i.prototype._log=function(e,t){var n=this;-1===e.toLowerCase().indexOf("timeupdate")&&-1===e.toLowerCase().indexOf("progress")&&r.log("["+n.name+" bus][event]["+e+"]["+t+" subscribers]")},i.prototype.destroy=function(){var e=this;e._events=null}},{"./logger":"IS9j5T"}],"./lib/index.js":[function(e,t,n){t.exports=e("bRhrlU")},{}],bRhrlU:[function(e,t,n){function i(e){return Object.prototype.toString.call(e)}n.isArray=function(e){return Array.isArray(e)},n.isBoolean=function(e){return"boolean"==typeof e},n.isNullOrUndefined=function(e){return null==e},n.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},n.isString=function(e){return"string"==typeof e},n.isObject=function(e){return"[object Object]"===i(e)},n.isFunction=function(e){return"function"==typeof e}},{}],"./lib/logger.js":[function(e,t,n){t.exports=e("IS9j5T")},{}],IS9j5T:[function(e,t,n){var i=e("./index");n.keepConsoleLogs="undefined"==typeof false||false,function(){var e=function(){},t=["log","error","warn"];t.forEach(function(t){if(i.isNullOrUndefined(window.console)||"log"===t&&!n.keepConsoleLogs)n[t]=e;else if(console[t].apply)n[t]=function(){window.console[t].apply(console,arguments)};else{var r=Function.prototype.bind.apply(console[t],console);n[t]=function(){r.apply(console,arguments)}}})}()},{"./index":"bRhrlU"}],"./lib/user-agent.js":[function(e,t,n){t.exports=e("ty5FFo")},{}],ty5FFo:[function(e,t,n){"use strict";function i(e){if(null===e)return!1;var t=e[1];return parseFloat(t.split(".",2).join("."))||1}var r=navigator.userAgent.toLowerCase();n.chromium=i(/chromium\/([^\s]*)/.exec(r)),n.chrome=!n.chromium&&i(/chrome\/([^\s]*)/.exec(r)),n.ie=i(/msie ([^;]*)/.exec(r))||i(/trident.*; rv:([0-9.]+)/.exec(r)),n.opera=/opr\/|opera\//.test(r),n.firefox=i(/firefox\/([^\s]*)/.exec(r)),n.android=/android/.test(r),n.androidTablet=n.android&&!/mobile/.test(r),n.htc_one=/htc_one/.test(r),n.vizio=/Vizio/i.test(r)||window.YAHOO&&window.YAHOO.SmartTV&&"vizio"===window.YAHOO.SmartTV.manufacturer,n.tivo=/TiVo/i.test(r),n.firetv=n.android&&/amazonwebappplatform/.test(r)&&/aft/.test(r),n.ios=/(ipad|iphone|ipod)/.test(r),n.iphone=/(iphone|ipod)/.test(r),n.ipad=n.ios&&!n.iphone,n.androidBrowser=!n.chrome&&/android/.test(r),n.safari=!n.chrome&&!n.chromium&&!n.android&&i(/safari\/([^\s]*)/.exec(r)),n.iosWebView=n.ios&&!navigator.standalone&&!n.safari,n.mobile=n.ios||n.android,n.tv=n.vizio||n.tivo||n.firetv,n.desktop=!n.mobile&&!n.tv,n.tv?n.vizio?n.os="vizio":n.tivo?n.os="tivo":n.firetv?n.os="firetv":n.os=null:n.ios?n.os="ios":n.android?n.os="android":/windows|win32/.test(r)?n.os="windows":/macintosh|mac_powerpc/.test(r)?n.os="macintosh":/symbos/.test(r)?n.os="symbos":/linux/.test(r)?n.os="linux":n.os=null},{}],11:[function(e,t,n){"use strict";function i(e,t,n,i){var r=this,o=n.YVAP;if(!o||!o.accountId)return void(r._enabled=!1);r._enabled=!0,r._ads={},r._eventBus=e,r._model=n,r._view=i,r._adBreaks=[],r._lastBreaks=[],r._seeked=!1;var a=r._view.rootElem.querySelector(".yvp-content");a.setAttribute("id","yvp-content-node-"+Math.floor(1e4*Math.random())),t.skipAd=function(){r._enabled&&r._currentAdId&&(r.cancelAd(),r._maybePlayImpl())},o.volume=n.playbackState.volume,o.mute=n.playbackState.mute,r._view._profiler.add(s.Metrics.YVAP_READY),r._yvap=new y({yvap:o},r._eventBus,a,t,r._view.adsOverlay?r._view.adsOverlay.node:null),r._view._profiler.setEndTime(s.Metrics.YVAP_READY),r._targetBitrate=r._model.playback.desiredBitrate,r._eventBus.subscribe(s.ADS_OBJS_UPDATE,r._onAdsUpdate,r),r._eventBus.subscribe(s.ADS_READY,r._onAdsReady,r),r._eventBus.subscribe(s.AD_BREAK_TIMELINE,r._onAdBreakTimeline,r),r._eventBus.subscribe(s.AD_PLAYBACK_ENDED,r._onAdPlaybackEnded,r),r._eventBus.subscribe(s.Ad.PLAYING,r._onPlaying,r),r._eventBus.subscribe(s.Ad.PAUSE,r._onPaused,r),r._eventBus.subscribe(s.Ad.TIMEUPDATE,r._onTimeupdate,r),r._eventBus.subscribe(s.Ad.ENDED,r._onEnded,r),r._eventBus.subscribe(s.Ad.ERROR,r._onError,r),r._eventBus.subscribe(s.Ad.CLICK,r._onClick,r),r._eventBus.subscribe(s.CONTROLS_SEEK_END,r._onSeekEnd,r)}function r(e,t){return!p.isNullOrUndefined(o(e,t))}function o(e,t){for(var n=Object.keys(e),i=0;i<n.length;i++){var r=n[i],o=e[r];if(t(o))return r}return null}t.exports=i;var a=e("./yvap/ads-json"),s=e("./event"),l=e("./states"),c=e("./stream"),u=e("../../lib/user-agent"),d=e("./media-store"),p=e("../../lib"),_=e("../../lib/logger"),y=e("./yvap/video-ad-plugin");i.prototype.prepare=function(e){var t=this;if(t._enabled){t._ads={},t._lastBreaks=e.progress.adbreaks;try{t._adsReady=!1,e.isCCM?t._yvap.beginAdExperience(e.id,e.progress.position):t._yvap.getAdsFor({clipId:e.id})}catch(n){_.error("[yvap] prepare error",n.message||n,n.stack),t._enabled=!1}}},i.prototype._setupTimeout=function(){var e=this;if(u.desktop&&!e._adsReady){var t=e._model.YVAP?e._model.YVAP.timeout:0;e._adTimeout=setTimeout(function(){clearTimeout(e._adTimeout),e._adTimeout=null,e._adsReady=!0,e._maybePlayImpl()},1e3*t)}},i.prototype.maybePlay=function(e,t){var n=this;if(!n._enabled)return void t(!1);if(n._cb=t,"start"===e)n._currentAdPosition=a.POSITION.bumper,n._setupTimeout();else{if("end"!==e)return void n._cb(!1);n._currentAdPosition=a.POSITION.postroll}n._playCount=0,n._resetState(),n._adTimeout||n._maybePlayImpl()},i.prototype._maybePlayImpl=function(){var e=this,t=e._playCount>0;if(e._currentAdPosition!==a.POSITION.bumper||r(e._ads,function(e){return e.pos===a.POSITION.bumper})||(e._currentAdPosition=a.POSITION.preroll),e._currentAdId=o(e._ads,function(t){return t.pos===e._currentAdPosition}),e._currentAdId){var n=e._ads[e._currentAdId];e._model.playbackState.ad=n,e._currentAdPosition===a.POSITION.midroll?n.type!==a.ADTYPES.NO_AD&&(e._midrollCurrent++,e._eventBus.publish(s.UPDATE_AD_COUNT,e._midrollCurrent,e._midrollCount)):e._eventBus.publish(s.UPDATE_AD_COUNT),e._eventBus.publish(s.AD_PLAYBACK_REQUEST,n.playbackId),e._play(n)}else e._model.playback.adPlaybackOnly||e._cb(t)},i.prototype._resetState=function(){var e=this;e._currentAdId=null,e._model.playbackState.ad=null,e._hasPlaybackStarted=!1},i.prototype._play=function(e){var t=this,n=t._model.playbackState.rendererType;if(e.type===a.ADTYPES.VPAID)"flash"!==n?(_.warn("Got VPAID ad in non-flash renderer"),t._eventBus.publish(s.Ad.NO_PLAYABLE_STREAM,t._currentAdId),t._onEnded()):t._playVPAIDAd(e);else if(e.type===a.ADTYPES.NO_AD)_.log("Loss of ad opportunity: AdsJson type is NO_AD"),t._eventBus.publish(s.Ad.NO_AD,t._currentAdId),t._onAdPlaybackEnded();else{_.log("Trying to play ad: ",e);var i,r=t._model.capabilities[t._model.playbackState.rendererType];"flash"===n?r={acceptedFormats:["mp4","flv","x-flv"],acceptedProtocols:["http"]}:"dash"===n&&(r={acceptedFormats:["mp4dash","mp4"],acceptedProtocols:["http"]}),i=c.findStreamByProperty(e.streams,"bitrate",t._targetBitrate,r),i?(_.log("Playing ad: ",e),t._playCount++,t._currentAdBitrate=i.bitrate,t._requestedTime=Date.now(),t._model.playbackState.state=l.VIDEO,t._view.syncViewState(),t._view.setStreams({streams:[i]}),t._view.play(),t._model.playback.fullscreen&&t._view.setFullscreen(!0)):(_.log("Could not play ad due to no stream of playable format",e),t._eventBus.publish(s.Ad.NO_PLAYABLE_STREAM,t._currentAdId),t._onEnded())}},i.prototype._playVPAIDAd=function(e){var t=this;t._playCount++,t._model.playbackState.state=l.VIDEO,t._model.playbackState.loading=!1,t._view.syncViewState(),t._model.playbackState.paused||t._view.pause(),t._yvap.renderVPAIDAd(e.playbackId,t._targetBitrate,t._view.rootElem.clientWidth,t._view.rootElem.clientHeight,t._model.playbackState.volume,t._model.playbackState.mute)},i.prototype.updateYVAPData=function(e){var t=this;if(t._enabled)try{t._yvap.updatePlayerData(e)}catch(n){_.error("[yvap] updatePlayerData error",n.message||n,n.stack),t._enabled=!1}},i.prototype._onAdsUpdate=function(e){var t=this;e.forEach(function(e){var n=e.playbackId;if(t._ads[n]?Object.keys(e).forEach(function(i){t._ads[n][i]=e[i]}):t._ads[n]=e,e.streams){var i=e.streams.map(function(e){return new d.Stream(e)});t._ads[n].streams=i}})},i.prototype._onAdsReady=function(){var e=this;e._adsReady=!0,e._model.YVAP&&(e._model.YVAP.adsReady=!0),e._adTimeout&&(clearTimeout(e._adTimeout),e._adTimeout=null,e._maybePlayImpl())},i.prototype._onPaused=function(){var e=this;e._model.playbackState.paused=!0,e._eventBus.publish(s.AD_PLAYBACK_PAUSED),e._view.syncViewState()},i.prototype._onPlaying=function(){var e=this;if(e._hasPlaybackStarted)e._eventBus.publish(s.AD_PLAYBACK_RESUMED,e._currentAdId);else{e._hasPlaybackStarted=!0,e._model.playbackState.loading=!1,e._view.syncViewState();var t=Date.now()-e._requestedTime;e._eventBus.publish(s.AD_PLAYBACK_STARTED,e._currentAdId,e._currentAdBitrate,t)}e._model.playbackState.paused=!1,e._view.syncViewState()},i.prototype._onTimeupdate=function(e,t,n){var i=this;i._eventBus.publish(s.AD_PLAYBACK_PROGRESS,i._currentAdId,e,t,n)},i.prototype.cancelAd=function(){var e=this;e._enabled&&(e._eventBus.publish(s.Ad.CANCELED,e._currentAdId),e._clearAndResetAdState(),e._view.syncViewState())},i.prototype._clearAndResetAdState=function(){var e=this;e._currentAdId&&(delete e._ads[e._currentAdId],e._resetState())},i.prototype._onEnded=function(){var e=this;e._eventBus.publish(s.AD_PLAYBACK_ENDED,e._currentAdId)},i.prototype._onAdPlaybackEnded=function(){var e=this;e._clearAndResetAdState(),e._maybePlayImpl()},i.prototype._onError=function(e,t){var n=this;_.error("Ad errored out",e),n._eventBus.publish(s.AD_PLAYBACK_ERROR,n._currentAdId,e,t),n._ads[n._currentAdId].pos===a.POSITION.midroll&&(n._midrollCount-=1,n._midrollCurrent-=1),n._onEnded()},i.prototype._onClick=function(e){var t=this;if(t._currentAdId){var n=t._ads[t._currentAdId];t._eventBus.publish(s.AD_CLICK,t._currentAdId,e),window.open(n.clickUrl,"_blank")}},i.prototype.hasOccured=function(e){var t=(new Date).getTime(),n=t-e;return 36e5>n},i.prototype._onAdBreakTimeline=function(e){var t=this;u.mobile||(t._adBreaks=e.map(function(e,n){return{time:e,occurred:t.hasOccured(t._lastBreaks[n]||0)}}),t._eventBus.publish(s.UPDATE_AD_BREAKS,t._adBreaks))},i.prototype._startAdBreak=function(e,t,n){var i=this;i._playCount=0,i._resetState(),i._currentAdPosition=a.POSITION.midroll,t.occurred=!0,i._eventBus.publish(s.UPDATE_AD_BREAKS,i._adBreaks),i._nextBreak=null,i._cb=function(r){i._eventBus.publish(s.AD_BREAK_ENDED,e,t.time),n(r)};var r=i._yvap.getMidrollAds(t.time);i._eventBus.publish(s.AD_BREAK_STARTED,e,t.time),r.length>0?(i._midrollCount=r.filter(function(e){return e.type!==a.ADTYPES.NO_AD}).length,i._midrollCurrent=0,i._eventBus.publish(s.ADS_OBJS_UPDATE,r),i._maybePlayImpl()):i._cb(!1)},i.prototype.maybeAdBreak=function(e,t){var n=this;if(!(10>e)){if(!n._enabled)return void t(!1);if(!n._model.playbackState.seeking){n._nextBreak||(n._nextBreak=n._findNextBreak(e,n._adBreaks.filter(function(e){return!e.occurred})));var i=function(e){t(e,o)};if(n._seeked){n._seeked=!1,n._nextBreak=null;var r=n._findPreviousBreak(e,n._adBreaks),o=n._adBreaks.indexOf(r);r&&!r.occurred&&n._startAdBreak(e,r,i)}else n._nextBreak&&n._nextBreak.time<e?n._startAdBreak(e,n._nextBreak,i):t(!1)}}},i.prototype._findNextBreak=function(e,t){var n=null;return t.forEach(function(t){_.log(t),t.time>e&&(!n||t.time<n.time)&&(n=t)}),n},i.prototype._findPreviousBreak=function(e,t){var n=null;return t.forEach(function(t){t.time<e&&(!n||t.time>n.time)&&(n=t)}),n},i.prototype._onSeekEnd=function(){var e=this;e._seeked=!0}},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","../../lib/user-agent":"ty5FFo","./event":"YJm+dH","./media-store":23,"./states":45,"./stream":"Af6MnA","./yvap/ads-json":90,"./yvap/video-ad-plugin":130}],12:[function(e,t,n){"use strict";function i(e,t,n,i){var r=this;r._eventBus=e,r._view=n,r._model=t,r._controller=i}t.exports=i,t.exports.AGE_GATE_SCREEN_TYPES=l;var r=e("./util"),o=e("../../lib"),a=e("./event"),s=e("./strings"),l={login:"login",birthday:"birthday",warning:"warning",block:"block"},c="vpReleaseTime",u=864e5,d="WAIT";i.prototype._initiateAgeGateScreen=function(e){var t=this;t._view.destroyAgeGateScreen(),t._view.renderAgeGateScreen(t._getScreenStringsObj(e),t),t._activeScreenType=e,t._eventBus.publish(a.API.UI_INTERACT,{srcElement:"age-"+t._ageGateType}),t._model.ui.showAgeGate=!0,t._waitTimeout&&clearTimeout(t._waitTimeout)},i.prototype.run=function(){var e=this,t=e._model.userPreferences.isAuthenticated,n=!r.isOffNetwork(),i=e._model.userPreferences.isAdult,o=e._isUser24HrsBanned();e._ageGateType=e._model.playlist.getCurrentItem()&&e._model.playlist.getCurrentItem().ageGate;var a=e._getApplicableAgeGateScreen(t,n,i,o);a&&"none"!==e._ageGateType?a===d?e._waitTimeout=setTimeout(function(){e._model.ui.showAgeGate||this._initiateAgeGateScreen(l.warning)},1e4):this._initiateAgeGateScreen(a):e._continuePlayerFlow()},i.prototype._getApplicableAgeGateScreen=function(e,t,n,i){var r=this;return e||i?!i&&n?null:o.isNullOrUndefined(r._model.userPreferences.isAdult)&&!i?d:l.block:t?l[r._ageGateType]:r._ageGateType===l.birthday?l[r._ageGateType]:l.warning},i.prototype._getScreenStringsObj=function(e){var t=this,n={title:t._getLocalizedString("CONTENT_RESTRICTED"),desc:"",button:"",isBirthday:!1,isBlock:!1};e===l.login?(n.desc=t._getLocalizedString("AGE_GATE_DESC"),n.button=t._getLocalizedString("SIGN_IN_TO_VIEW_ACTION")):e===l.warning?(n.desc=t._getLocalizedString("AGE_GATE_DESC"),n.button=t._getLocalizedString("CONTINUE_ACTION")):e===l.birthday?(n.desc=t._getLocalizedString("AGE_GATE_BDAY_DESC"),n.button=t._getLocalizedString("SUBMIT_ACTION"),n.isBirthday=!0):e===l.block&&(n.desc=t._getLocalizedString("AGE_GATE_NOT_ALLOWED_DESC"),n.isBlock=!0);var i=t._model.playlist.getCurrentItem();return n.imageSrc=i.images.defaultThumbnail,n.width=t._model.uiState.width,n.height=t._model.uiState.height,n},i.prototype._isUser24HrsBanned=function(){var e=this;if(!e._user24HrsBanned){var t=r.localStorage.get(c);isNaN(parseInt(t))||(e._user24HrsBanned=(new Date).getTime()-t<0)}return e._user24HrsBanned},i.prototype._continuePlayerFlow=function(){var e=this;e._model.ui.showAgeGate=!1,e._view.destroyAgeGateScreen(),e._activeScreenType=null,e._waitTimeout&&clearTimeout(e._waitTimeout),e._controller.play()},i.prototype._getLocalizedString=function(e){return s.i18n[e]},i.prototype._handleLoginClick=function(){var e=this;e._eventBus.publish(a.UI_LOGIN,"ui_agebl"),r.showUserAuthPage(e._model)},i.prototype._handleBirthDayClick=function(e,t){if(t){var n=this,i=n._isValidDate(t.inputMonth.value,t.inputDay.value,t.inputYear.value);r.classList(t.inputMonth).remove("validate-error"),r.classList(t.inputDay).remove("validate-error"),r.classList(t.inputYear).remove("validate-error");for(var o=n._getInvalidDateInputNodes(t.inputMonth,t.inputDay,t.inputYear),a=0;a<o.length;a++)r.classList(o[a]).add("validate-error");if(!i||o.length>0)return;n._isUserAdult(new Date(t.inputYear.value,t.inputMonth.value-1,t.inputDay.value),n._model.baseConfig.region)?n._continuePlayerFlow():(n._initiateAgeGateScreen(l.block),r.localStorage.put(c,(new Date).getTime()+u))}},i.prototype._handleWarningClick=function(){var e=this;e._continuePlayerFlow()},i.prototype.handleClickEvent=function(e,t){var n=this;n._activeScreenType===l.login?n._handleLoginClick(e):n._activeScreenType===l.birthday?(n._eventBus.publish(a.CTRL_AGEGATE_BDAY),n._handleBirthDayClick(e,t)):n._activeScreenType===l.warning&&n._handleWarningClick(e),n._eventBus.publish(a.API.UI_INTERACT,{srcElement:"age-"+n._activeScreenType+"-btn"})},i.prototype._isValidDate=function(e,t,n){var i=/^\d{1,2}$/,r=/^\d{4}$/;if(!(i.test(e)&&i.test(t)&&r.test(n)))return!1;var o=parseInt(t),a=parseInt(e),s=parseInt(n);if(1e3>s||s>3e3||0===a||a>12)return!1;var l=[31,28,31,30,31,30,31,31,30,31,30,31];return(s%400===0||s%100!==0&&s%4===0)&&(l[1]=29),o>0&&o<=l[a-1]},i.prototype._getInvalidDateInputNodes=function(e,t,n){var i,r,o,a,s,l,c=[];try{i=parseInt(e.value),a=i>=1&&12>=i}catch(u){a=!1}try{r=parseInt(t.value),s=r>=1&&31>=r}catch(u){s=!1}try{o=parseInt(n.value),l=o>=1900&&o<=(new Date).getFullYear()}catch(u){l=!1}return a||c.push(e),s||c.push(t),l||c.push(n),c},i.prototype._isUserAdult=function(e,t){if(o.isNullOrUndefined(e))return!1;var n=new Date((new Date).getTime()-e.getTime()).getUTCFullYear()-1970;return t.toLowerCase()in["kr","sg","th"]?n>=21:n>=18},i.prototype.filterNonDigitInput=function(e){var t,n,i,r,o=[9,37,39];return e?(i=e.keyCode,r=e.shiftKey,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,t=i>=48&&57>=i||i>=96&&105>=i||8===i||46===i,n=o.indexOf(i)>-1,!r&&t||n?!0:(e.preventDefault?e.preventDefault():e.returnValue=!1,!1)):!1},i.prototype.isWaitingAuthentication=function(){var e=this;return!o.isNullOrUndefined(e._waitTimeout)},i.prototype.getPlayerWidth=function(){var e=this;return e._model.uiState.width},i.prototype.getPlayerHeight=function(){var e=this;return e._model.uiState.height},i.prototype.destroy=function(){var e=this;e._model.ui.showAgeGate=!0}},{"../../lib":"bRhrlU","./event":"YJm+dH","./strings":"XwKsC9","./util":"jJTEqU"}],13:[function(e,t,n){"use strict";function i(e,t,n,i){function r(e,t){return e-t}var o=this;o._videoTag=e,o._availableBitrates=t?t.sort(r):[],o.reservoirLength=n||s,o.cushionLength=i||l,o.currentBitrate=0,o._bufferingEventsForBitrates={},o._availableBitrates.forEach(function(e){o._bufferingEventsForBitrates[e]=0}),e&&e.addEventListener("waiting",function(){o._bufferingEventsForBitrates[o.currentBitrate]=o._bufferingEventsForBitrates[o.currentBitrate]+1},!1)}t.exports=i;var r=e("./util"),o="yvpTargetBitrate",a=900,s=10,l=20;i.prototype.setTargetBitrate=function(e){r.localStorage.put(o,e)},i.prototype.getTargetBitrate=function(){var e=this,t=r.localStorage.get(o);return t||(t=a,e.setTargetBitrate(a)),t},i.prototype.getBufferOccupancy=function(){for(var e=this,t=e._videoTag.buffered,n=e._videoTag.currentTime,i=0;i<t.length;i++){var r=t.start(i),o=t.end(i);if(n>=r&&o>=n){var a=o-n;if(a>=e._videoTag.length-n)return Number.MAX_VALUE}return a}return 0},i.prototype._getIdealRecommendedBitrate=function(e,t){var n=this;if(t===Number.MAX_VALUE)return n.currentBitrate;var i=e[0];if(t>n.reservoirLength){var r=e[0],o=e[e.length-1],a=(o-r)/n.cushionLength;i=(t-n.reservoirLength)*a+r}return i},i.prototype._findMaxLessEqualIdealRate=function(e,t){for(var n=e.length-1;n>=0;n--){var i=e[n];if(t>=i)return i}return e[0]},i.prototype._findMinGreaterEqualIdealRate=function(e,t){for(var n=0;n<e.length;n++){var i=e[n];if(i>=t)return i}return e[e.length-1]},i.prototype.getRecommendedBitrate=function(e,t,n){var i=this;t=t||i._availableBitrates,n=void 0===n?i.getBufferOccupancy():n,e=void 0===e?t.indexOf(i.currentBitrate):e;var r=t[e],o=t[0],a=t[t.length-1],s=r===a?a:t[e+1],l=r===o?o:t[e-1],c=i._getIdealRecommendedBitrate(t,n),u=r;return c>=s?u=i._findMaxLessEqualIdealRate(t,c):l>=c&&(u=i._findMinGreaterEqualIdealRate(t,c)),u},i.prototype.getNumberOfBufferingsForBitrate=function(e){var t=this;return t._bufferingEventsForBitrates[e]}},{"./util":"jJTEqU"}],zKzgQw:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._eventBus=e,i._model=t,i._view=n,i._userPreferences=i._model.userPreferences.closedCaptions;var r=o.localStorage.get(_);i._syncCCLocalData(r),i._eventBus.subscribe(l.CONTROLS_SET_MUTE,i._onMuteChange,i),i._eventBus.subscribe(l.Video.PLAYING,i._onVideoPlaybackStarted,i),i._eventBus.subscribe(l.PLAYBACK_STARTED,i._onVideoPlaybackStarted,i),i._eventBus.subscribe(l.AD_PLAYBACK_STARTED,i._onAdPlaybackStarted,i),i._eventBus.subscribe(l.Ad.PLAYING,i._onAdPlaybackStarted,i),i._eventBus.subscribe(l.AD_BREAK_STARTED,i._onAdPlaybackStarted,i),i._eventBus.subscribe(l.PLAYBACK_ENDED,i.disable,i),i._eventBus.subscribe(l.SETTINGS_CONTROLLER_CHANGE,i._saveToServer,i),i._eventBus.subscribe(l.PLAYBACK_PROGRESS,i._onPlaybackProgress,i),i._eventBus.subscribe(l.FULLSCREEN_CHANGE,i._adjustCCSizeToScreen,i),i._eventBus.subscribe(l.MEDIA_ITEM_LOADED,i._onMediaItemLoaded,i),i._eventBus.subscribe(l.VTT_SEGMENT_LOADED,i._loadVttSegment,i),i._eventBus.subscribe(l.CC.REQUEST_UI_DATA_FOR_MEDIA_ITEM,i._onMediaItemLoaded,i),i._eventBus.subscribe(l.CC.LANGUAGE_CHANGE,i._onLanguageChange,i),i._eventBus.subscribe(l.CC.UI_TOGGLE,i._toggle,i),i._eventBus.subscribe(l.CC.UPDATE_STYLE,i._updateCCStyle,i),i._eventBus.subscribe(l.CC.POSITION_CHANGE,i._updateCCPosition,i);var a=i._eventBus.subscribe(l.CC.FETCHED,function(){a(),i._onMuteChange(i._model.playbackState.mute)},i);i._eventBus.subscribe(l.CC.USER_STYLE_PREFERENCES_CHANGE,i._syncCCPreferences,i),i._isAvailable=!1,i._currentMediaCCPool=[],i._defaultLang=u,i._muteCounts=0,i._ccElement=document.createElement("div"),o.classList(i._ccElement).add("cc-element"),i._CCElementInnerSpan=document.createElement("span"),i._ccElement.appendChild(i._CCElementInnerSpan),i._updateCCStyle(),i._view.getMainElement()&&i._view.getMainElement().appendChild(i._ccElement)}var r=e("xhr"),o=e("./util"),a=e("../../lib"),s=e("../../lib/logger"),l=e("./event"),c=e("../../lib/user-agent");t.exports=i;var u="en-us",d=".vtt",p=".ttml",_="yvpCC",y={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"};i.prototype._onPlaybackProgress=function(e,t,n){var i=this;if(i._isLive)i._renderLiveCC(t);else{if(!i._isAvailable||!i._currentCCParsedCaptions||!i._currentCCParsedCaptions.length)return void(i._CCElementInnerSpan.innerHTML="");var r=t/n,o=Math.floor(r*i._currentCCParsedCaptions.length);if(t<i._currentCCParsedCaptions[o].begin)for(;o>0&&t<i._currentCCParsedCaptions[o].begin;)o--;else if(t>i._currentCCParsedCaptions[o].end)for(;o<i._currentCCParsedCaptions.length&&t>i._currentCCParsedCaptions[o].end;)o++;var a=i._currentCCParsedCaptions[o].begin<=t&&t<=i._currentCCParsedCaptions[o].end;a?i._CCElementInnerSpan.innerHTML=i._currentCCParsedCaptions[o].text||"":i._CCElementInnerSpan.innerHTML=""}},i.prototype._renderLiveCC=function(e){var t=this;if(t._currentCCParsedCaptions&&t._currentCCParsedCaptions.length>0){for(var n=0;t._currentCCParsedCaptions[n].end<e&&n<t._currentCCParsedCaptions.length;)n++;if(n>0)var i=setTimeout(function(){t._currentCCParsedCaptions.splice(0,n),i=null},100);var r=e>=t._currentCCParsedCaptions[n].begin&&e<=t._currentCCParsedCaptions[n].end;r?t._CCElementInnerSpan.innerHTML=t._currentCCParsedCaptions[n].text||"":t._ccLiveClearTO||(t._ccLiveClearTO=setTimeout(function(){!r&&(t._CCElementInnerSpan.innerHTML=""),clearTimeout(t._ccLiveClearTO),t._ccLiveClearTO=null},1e3))}},i.prototype._saveToServer=function(e){var t=this;e||t._eventBus.publish(l.CC.SAVE_USER_PREFERENCES)},i.prototype._syncCCLocalData=function(e){var t=this;if(e&&e.ccSettings)for(var n in e.ccSettings)if(e.ccSettings.hasOwnProperty(n)&&!a.isNullOrUndefined(e.ccSettings[n])){if("hasChanged"===n)continue;t._userPreferences[n]=e.ccSettings[n]}},i.prototype._syncCCPreferences=function(){var e=this;e._updateCCStyle()},i.prototype._adjustCCSizeToScreen=function(){var e=this,t=e._view.getMainElement()&&e._view.getMainElement().offsetWidth,n=Math.ceil(e._userPreferences.fontSize*(t/640));t>640?n=Math.ceil(.8*n):640>t?12>n&&(n=12):n=e._userPreferences.fontSize,e._ccElement.style.fontSize=n+"px"},i.prototype._onLanguageChange=function(e){var t=this;t._userPreferences.lang=e,t._userPreferences.hasChanged=!0,t.enable(e)},i.prototype._toggle=function(e){var t=this;t._userPreferences.show=e,e?t.enable():t.disable()},i.prototype._onVideoPlaybackStarted=function(){var e=this;e._previouslyPlayingAd&&(e._isAvailable&&(e._userPreferences.show&&e.enable(),e._eventBus.publish(l.CC.SHOW_CONTROLS,!0)),e._previouslyPlayingAd=null)},i.prototype._onAdPlaybackStarted=function(){var e=this;e._previouslyPlayingAd=!0,e._hideAndDisableCC()},i.prototype._hideAndDisableCC=function(e){var t=this;t._eventBus.publish(l.CC.SHOW_CONTROLS,!1),t._currentCC=null,t.disable(),e&&(t._isAvailable=!1,t._currentMediaCCPool=[],t._eventBus.publish(l.CC.REMOVED))},i.prototype._loadVttSegment=function(e){var t=this;if(t._isLive){t._currentCCParsedCaptions||(t._currentCCParsedCaptions=[],t._isAvailable=!0,t._eventBus.publish(l.CC.FETCHED,{langList:["en-US"],selectedLang:"en-US"}),t._eventBus.publish(l.CC.SHOW_CONTROLS,!0),t._userPreferences.show&&t.enable());var n=e.mpegTSTime-e.localCueTime-e.clockReference;t._currentCCParsedCaptions=t._currentCCParsedCaptions.concat(t._parseVTT(e.data,n))}},i.prototype._onMediaItemLoaded=function(e){var t=this;t._isLive=e.isLive(),e&&e.closedCaptions.length>0?(t._isAvailable=!0,t._currentCC=null,t._eventBus.publish(l.CC.SHOW_CONTROLS,!0),t._processAndPropagateCC(e.closedCaptions)):t._hideAndDisableCC(!0)},i.prototype._processAndPropagateCC=function(e){var t=this,n=function(e){t._currentMediaCCPool=e,t._currentMediaCCPool.length>0?(c.mobile?t._eventBus.publish(l.CC.FETCH_MOBILE,{langList:t._currentMediaCCPool,selectedLang:t._userPreferences.lang}):t._eventBus.publish(l.CC.FETCHED,{langList:t._currentMediaCCPool.map(function(e){return e.lang}),selectedLang:t._userPreferences.lang}),t._userPreferences.show?t.enable(t._userPreferences.lang):t.disable()):(t._hideAndDisableCC(!0),s.warn("CC could not load for current mediaItem"))};t._getCCByRenderer(n,e,c.desktop||c.tv)},i.prototype._transformTTMLToVTT=function(e,t){var n=this,i=!1,r=[],o=function(n){r.push(n),r.length===t.length&&e(r)};t.forEach(function(t){n._ccUrlToVttBlobUrl(t.url,function(n){n?(t.url=n,o(t)):(!i&&e(r),i=!0)})})},i.prototype._ccUrlToVttBlobUrl=function(e,t){var n=this,i={url:e};c.ie&&c.ie<10&&(i.cors=!0),r(i,function(i,r,o){if(i)return void t(null);try{var a=e.indexOf("ttml")>-1?n._ttmlToVtt(o):o,l=new Uint8Array(n._utf8ToBytes(a)),c=URL.createObjectURL(new Blob([l],{type:"text/vtt"}));t(c)}catch(i){s.log("Exception occurred in converting TTML to VTT",i),t(null)}})},i.prototype._getCCByRenderer=function(e,t,n){var i,r=this,o=function(e){return-1===e.url.indexOf(i)};if(n)i=d,e(t.filter(o));else{i=p;var a=t.filter(o);0===a.length?r._transformTTMLToVTT(e,t):e(a)}},i.prototype._utf8ToBytes=function(e){for(var t=[],n=0;n<e.length;n++){var i=e.charCodeAt(n);if(127>=i)t.push(i);else{var r=n;i>=55296&&57343>=i&&n++;for(var o=encodeURIComponent(e.slice(r,n+1)).substr(1).split("%"),a=0;a<o.length;a++)t.push(parseInt(o[a],16))}}return t},i.prototype._ttmlToVtt=function(e){var t="WEBVTT\n\n",n=new window.DOMParser,i=n.parseFromString(e,"application/xml"),r=i.documentElement.querySelectorAll("p");return Array.prototype.forEach.call(r,function(e){var n=e.getAttribute("id"),i=e.getAttribute("begin"),r=e.getAttribute("end"),o="";Array.prototype.forEach.call(e.childNodes,function(e){""!==e.textContent&&(o+=e.textContent+" ")}),o=o.replace(/<br.*?\/\>/," "),t+=n+"\n",t+=i+" --> "+r+"\n",t+=o+"\n\n"}),t},i.prototype._grabCCFromTTML=function(e){var t=this,n=[],i=new window.DOMParser,r=i.parseFromString(e,"application/xml"),o=r.documentElement.querySelectorAll("p");Array.prototype.forEach.call(o,function(e){var i={};i.begin=t._parseToSeconds(e.getAttribute("begin")),i.end=t._parseToSeconds(e.getAttribute("end")),i.end||(i.end=t._parseToSeconds(e.getAttribute("dur"))&&t._parseToSeconds(e.getAttribute("begin"))+t._parseToSeconds(e.getAttribute("dur")),i.end||(n=null,t._hideAndDisableCC(!0))),""!==e.textContent&&(i.text=e.textContent),n.push(i)}),t._currentCCParsedCaptions=t._currentCC.parsedCC=n},i.prototype._parseVTT=function(e,t){for(var n=this,i=/\r\n|\r|\n/,r=e.split(i),o=/(\d{2}.?\d{2}.?\d{2}\.?\d{3})\s+.+\s+(\d{2}.?\d{2}.?\d{2}\.?\d{3})/,a=[],s=0,l=0,c=0;c<r.length;c++)if(o.test(r[c])){if(l>0){for(var u=l;c>u;u++)a[s].text+=r[u]+(c>u+2?"<br/>":"");s++}var d=r[c].match(o),p=1e3*n._parseToSeconds(d[1])+t,_=1e3*n._parseToSeconds(d[2])+t;a[s]={begin:p/1e3,end:_/1e3,text:""},l=c+1}if(l<r.length)for(u=l;u<r.length;u++)a[s].text+=r[u]+(u+2<r.length?"<br/>":"");return a},i.prototype._parseToSeconds=function(e){if(e){for(var t=0,n=e.split(":"),i=2;i>=0;i--)t+=n[n.length-1-i]*Math.pow(60,i);return t}},i.prototype._saveAndPropagateData=function(e,t){var n=this;n._userPreferences.lang=t||n._userPreferences.lang,n._userPreferences.hasChanged=!0,n._eventBus.publish(l.CC.TOGGLE,e),n._eventBus.publish(l.CC.SAVE_TO_LOCAL_STORAGE,{ccSettings:n._userPreferences})},i.prototype._prepareCCForRendering=function(e){var t=this,n={url:e.url};c.ie&&c.ie<10&&(n.cors=!0),e.parsedCC||r(n,function(e,n,i){return e?(s.warn("Could not fetch CC from endpoint: "+e),void t._hideAndDisableCC()):void t._grabCCFromTTML(i)})},i.prototype.enable=function(e){var t=this;return t._isAvailable?t._isLive?(t._ccElement.style.display="block",t._ccElement.style.textAlign="left",t._ccElement.style.left="5.2%",!0):(t._currentCC=t._getCCByLanguage(e),t._currentCC||(t._currentCC=t._getCCByLanguage(t._userPreferences.lang)||t._currentMediaCCPool[0]),c.desktop||c.tv?(t._prepareCCForRendering(t._currentCC),t._currentCCParsedCaptions=t._currentCC.parsedCC,t._ccElement.style.display="block",t._saveAndPropagateData(!0,t._currentCC.lang),!0):(!c.desktop&&o.warn("Renderer was unable to enable CC"),!c.desktop)):(s.log("ERROR can't enable un-available CC"),!1)},i.prototype.disable=function(){var e=this;return this._saveAndPropagateData(!1),e._isLive||(e._currentCCParsedCaptions=null),e._ccElement.style.display="none",!0},i.prototype._getCCByLanguage=function(e){for(var t,n=this,i=0;i<n._currentMediaCCPool.length;i++){if(e&&n._currentMediaCCPool[i].lang.toLowerCase()===e.toLowerCase().replace("_","-"))return n._currentMediaCCPool[i];
  n._currentMediaCCPool[i].lang===u&&(t=n._currentMediaCCPool[i])}return t},i.prototype._updateCCStyle=function(){var e=this;if(e._ccElement){var t=o.cssHexToRgb(e._userPreferences.bgColor)||{r:0,g:0,b:0},n=0===e._userPreferences.bgOpacity?"transparent":"rgba("+t.r+","+t.g+","+t.b+","+e._userPreferences.bgOpacity+")",i=y[e._userPreferences.fontEffect];e._ccElement.style.fontFamily=e._userPreferences.fontName,e._adjustCCSizeToScreen(),e._ccElement.style.color=e._userPreferences.fontColor,e._CCElementInnerSpan.style.backgroundColor=n,e._CCElementInnerSpan.style.outline=n+" solid thick",e._ccElement.style.textShadow=i,c.tv&&(e._ccElement.style.position="absolute",e._ccElement.style.width="100%",e._ccElement.style.textAlign="center",e._ccElement.style.bottom="12%",e._ccElement.style.zIndex="30")}},i.prototype._updateCCPosition=function(e){var t=this;t._ccElement.style.bottom=e?"97%":"25%"},i.prototype._onMuteChange=function(e){var t=this;e&&t._muteCounts++<2&&t.enable()},i.prototype.hasUserPreferencesChanged=function(){var e=this;return e._userPreferences.hasChanged},i.prototype.resetPreferenceChange=function(){var e=this;e._userPreferences.hasChanged=!1},i.prototype.destroy=function(){},i.prototype.getLanguageForCode=function(e){e=e.toLowerCase().split("-"),e.length>1&&(e.pop(),e=e.join("-"));var t={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:"日本人"};return t[e]}},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","../../lib/user-agent":"ty5FFo","./event":"YJm+dH","./util":"jJTEqU",xhr:150}],"./nextgen/src/cc.js":[function(e,t,n){t.exports=e("zKzgQw")},{}],16:[function(e,t,n){"use strict";function i(e,t){var n=this;n._profiler=new _(e),n._profiler.add(s.Metrics.INIT_TO_STARTSCREEN),n._profiler.add(s.Metrics.INIT_TO_SAPI),n._profiler.add(s.Metrics.RENDER_TO_SWF),n._profiler.add(s.Metrics.INIT_TO_APPS_INIT),n._profiler.add(s.Metrics.VP_CONSTRUCTOR),n._eventBus=new l("internal"),n._model=new p.Model(e,t),n._restAPI=new A(n._model,n._profiler),n._showFujiUI=v.showFujiUI(n._model),M.mobile?n._model.playback.autoplay=!1:n._model.playback.adPlaybackOnly?n._model.playback.autoplay=!0:n._model.playback.autoplay&&v.localStorage.get("yvp-dont-autoplay")&&(n._model.playback.autoplay=!1),v.localStorage.get("yvp-dont-autoplay")&&!n._model.ui.showStartScreen&&(n._model.ui.showStartScreen=!0),n._model.playback.autoplay&&(n._profiler.add(s.Metrics.INIT_TO_START),n._profiler.add(s.Metrics.HLS_FIRST_TS_LOAD_START)),n._metrics=new d.Metrics(n._model,n._eventBus,n._profiler),n._eventBus.subscribe(s.ERROR,n._onError,n),n._eventBus.subscribe(s.START_SCREEN_CLICK,n._onStartScreenClick,n),n._eventBus.subscribe(s.END_SCREEN_CLICK,n._onEndScreenClick,n),n._eventBus.subscribe(s.RELATED_ITEM_CLICK,n._onRelatedItemClick,n),n._eventBus.subscribe(s.FETCH_MORE_RELATED_ITEMS,n._onFetchMoreRelatedItems,n),n._eventBus.subscribe(s.WATCH_LATER_VIDEO_CLICK,n._onWatchLaterVideoClick,n),n._eventBus.subscribe(s.WL_CHANGE_REQUEST,n._onWatchLaterChangeRequest,n),n._eventBus.subscribe(s.MEDIA_ITEM_LOADED,n._onMediaItemLoaded,n),n._eventBus.subscribe(s.TOGGLE_PLAY_PAUSE,n._togglePlayPause,n),n._eventBus.subscribe(s.CONTROLS_SEEK_START,n._onControlsSeekStart,n),n._eventBus.subscribe(s.CONTROLS_SEEK_END,n._onControlsSeekEnd,n),n._eventBus.subscribe(s.Video.CLICK,n._onVideoClick,n),n._eventBus.subscribe(s.Video.PLAYING,n._onPlaybackPlaying,n),n._eventBus.subscribe(s.Video.TIMEUPDATE,n._onPlaybackProgress,n),n._eventBus.subscribe(s.Video.PAUSE,n._onPlaybackPaused,n),n._eventBus.subscribe(s.Video.SEEKING,n._onSeeking,n),n._eventBus.subscribe(s.Video.SEEKED,n._onSeeked,n),n._eventBus.subscribe(s.Video.ENDED,n._onPlaybackEnded,n),n._eventBus.subscribe(s.Video.ERROR,n._onPlaybackError,n),n._eventBus.subscribe(s.Video.WAITING,n._onWaiting,n),n._eventBus.subscribe(s.PLAYBACK_REQUEST,n._setPlaybackTimeout,n),n._playbackStartEvenUnsubscriber=n._eventBus.subscribe(s.PLAYBACK_STARTED,function(){n._notifyVideoStarted()}),n._adPlaybackStartEvenUnsubscriber=n._eventBus.subscribe(s.AD_PLAYBACK_STARTED,function(){n._notifyVideoStarted()}),n._eventBus.subscribe(s.SELECTED_STREAM_CHANGE,n._onSelectedStreamChange,n),n._eventBus.subscribe(s.SELECTED_STREAM_URL_CHANGE,n._onSelectedStreamChange,n),n._eventBus.subscribe(s.PLAYER_DIMENSION_CHANGE,n._onDimensionChange,n),n._eventBus.subscribe(s.MEDIA_RELOAD_BEGIN,n._onMediaReloadBegin,n),n._eventBus.subscribe(s.MEDIA_RELOAD_END,n._onMediaReloadEnd,n),n._eventBus.subscribe(s.QUALITY_CHANGE,n._onQualityChange,n),n._eventBus.subscribe(s.METADATA_AVAILABLE,n._onMetadata,n),n._eventBus.subscribe(s.REFRESH_METADATA_AVAILABLE,n._updateYVAPData,n),n._eventBus.subscribe(s.SAPI_REFRESH_REQUEST,n._refreshMetadata,n),n._eventBus.subscribe(s.USER_AUTHENTICATED,n._onUserAuthentication,n),n._eventBus.subscribe(s.CONTROLS_SET_VOLUME,n._onVolumeChange,n),n._eventBus.subscribe(s.CONTROLS_SET_MUTE,n._onMuteChange,n),n._eventBus.subscribe(s.CC.SAVE_USER_PREFERENCES,n._saveCCStyleToUserPreferences,n),n._eventBus.subscribe(s.CC.SAVE_TO_LOCAL_STORAGE,n.saveCCSettingsToLocalStorage,n),n._eventBus.subscribe(s.API.BITRATE_CHANGE,n._onBitrateChange,n),n._eventBus.subscribe(s.KEYDOWN,n._onKeyDown,n),n._eventBus.subscribe(s.QUALITY_SELECTED,n._onQualitySelected,n),n._eventBus.subscribe(s.BITRATE_LIST_CHANGED,n._onBitrateListChanged,n),n._eventBus.subscribe(s.LIVE_PLAYBACK_COMPLETE,n._onError,n),n._fetcher=new c(n._model,n._eventBus,n._profiler),n._eventBus.publish(s.PLAYBACK_INIT),n._playbackStarted={},n._profiler.setEndTime(s.Metrics.VP_CONSTRUCTOR),n._profiler.add(s.Metrics.INIT_RENDER_GAP)}t.exports=i;var r=e("./ads-controller"),o=e("./age-gate-controller"),a=e("./error"),s=e("./event"),l=e("../../lib/event-bus"),c=e("./metadata-fetcher"),u=e("./media-store"),d=e("./metrics/metrics"),p=e("./model"),_=e("./profiler"),y=e("./states"),M=e("../../lib/user-agent"),v=e("./util"),L=e("../../lib"),m=e("../../lib/logger"),E=e("./view"),g=e("./lazy-loader"),A=e("./restapi"),T=e("./cc"),b="yvpVolume",I="yvpCC",C=1e4,f=30,N="yvpResumeTimeItems";i.prototype._togglePlayPause=function(){var e=this;e._model.playbackState.state===y.VIDEO&&(e._model.playbackState.paused?(e.play(),e._eventBus.publish(s.CTRL_PLAYPAUSE,"play")):(e.pause(),e._eventBus.publish(s.CTRL_PLAYPAUSE,"pause")))},i.prototype.render=function(e){var t=this;t._profiler.setEndTime(s.Metrics.INIT_RENDER_GAP),t._profiler.add(s.Metrics.CREATE_RENDERER);var n;n=L.isString(e)?document.querySelector(e):e._node||e,null===n&&t._eventBus.publish(s.Error,new a.Error(a.E_PLAYER,a.PLAYER_CODES.E_INVALID_CONFIGURATION,{msg:"Invalid DOM node or CSS selector specified. Cannot render player."})),t._metrics.setRootElem(n),t._view=new E(n,t._model,t._eventBus,t._profiler),t._view.render(t._model),L.isFunction(T)&&(t._ccController=new T(t._eventBus,t._model,t._view));var i={play:function(){t.play()},pause:function(){t.pause()},setOverlayActive:function(e){t._view.setOverlayActive(e)}};return t._initVolume(),L.isFunction(r)&&(t._adsController=new r(t._eventBus,i,t._model,t._view)),t._playerReadyEventFired=!1,t._enterInitState(),t._model.playlist.id?t._fetcher.fetchPlaylist(function(){t._model.playback.autoplay&&t.play()}):t._fetcher.updateMetadata(),t._view.setDefaultRendererType(),t._fetcher.getUserPreferences(),t._model.playback.autoplay&&t.play(),L.isFunction(g)&&L.isNullOrUndefined(t._lazyLoader)&&t._model.ui.showVideoApps!==!1&&v.showFujiUI(t._model)===!1&&(t._lazyLoader=new g(t._model,t._view,t._eventBus,t._fetcher),t._lazyLoader.loadAppsScript()),t._eventBus.publish(s.API.PLAYER_RENDERED),t._metrics.setFlashRenderer(t._view._renderer),t._profiler.setEndTime(s.Metrics.CREATE_RENDERER),t},i.prototype._initVolume=function(){var e=this,t=1,n=!1,i=v.localStorage.get(b);i&&(t=i.volume,n=i.mute),null===e._model.playbackState.volume&&(e._model.playbackState.volume=t),null===e._model.playbackState.mute&&(e._model.playbackState.mute=n)},i.prototype._onVolumeChange=function(e){var t=this,n=t._model.playbackState.volume;t._model.playbackState.volume=e,e>0&&(t._model.playbackState.mute=!1),t._view.isRendererSet()&&t._view.setVolume(e),v.localStorage.put(b,{volume:e,mute:t._model.playbackState.mute}),t._eventBus.publish(s.CTRL_VOLUME,n)},i.prototype._onMuteChange=function(e){var t=this;t._model.playbackState.mute=e,t._view.isRendererSet()&&t._view.setMute(e),v.localStorage.put(b,{volume:t._model.playbackState.volume,mute:e})},i.prototype._onKeyDown=function(e){(32===e.keyCode||38===e.keyCode||40===e.keyCode)&&e.preventDefault()},i.prototype.getCustomControlsNode=function(){var e=this;return e._view.getCustomControlsNode()},i.prototype._saveCCStyleToUserPreferences=function(){var e=this;e._ccController.hasUserPreferencesChanged()&&(e._ccController.resetPreferenceChange(),e._fetcher.updateUserPreferences(e._model.userPreferences.closedCaptions),e.saveCCSettingsToLocalStorage({ccSettings:e._model.userPreferences.closedCaptions}))},i.prototype.saveCCSettingsToLocalStorage=function(e){var t=v.localStorage.get(I)||{};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);v.localStorage.put(I,t)},i.prototype.supportSendBeacon=function(){return!(M.ie||M.safari||M.ios)},i.prototype.saveResumeTime=function(e){var t=this,n=v.localStorage.get(N)||{};n[e.id]=e.progress,v.localStorage.put(N,n),t._model.userPreferences.isAuthenticated&&t._fetcher.updateResume(e.id,e.progress)},i.prototype._onMetadata=function(e){var t=this,n=t._model.playlist.getCurrentItem();t._updateYVAPData(e),n&&-1!==e.indexOf(n.id)&&t._loadMediaItem(n)},i.prototype._updateYVAPData=function(e){var t=this,n=[];t._adsController&&(e.forEach(function(e){var i=t._model.mediaStore.get(e),r="dash"===i.rendererType?"html":i.rendererType;n.push({clipId:i.id,clipDuration:i.duration,licenseId:i.license.licenseId,spaceId:i.metrics.pageSpaceId,playlistId:t._model.playlist.id,yvap:i.yvap,isLive:i.isLive(),rendererType:r})}),t._adsController.updateYVAPData(n))},i.prototype._refreshMetadata=function(e){var t=this;t._fetcher.refreshMetadata(e)},i.prototype._setupRenderer=function(e,t){var n=this,i=e.rendererType;n._model.playbackState.rendererType=i,n._view.setRendererType(i),n._view.setVolume(n._model.playbackState.volume),n._view.setMute(n._model.playbackState.mute),n._view.waitForRenderer(t)},i.prototype._loadMediaItem=function(e){var t=this,n=e.status.code,i=t._model.playback.startTime;e.state===u.ItemState.HAS_DATA?(t._model.playbackState.attemptingPlayback()||t._findCriticalError()||t._enterInitState(),t._setupRenderer(e,function(n){return n?(t._clearPlaybackTimeout(),void m.warn("Renderer failed to initialize. Is flash blocked?")):(t._notifedVideoStarted=!1,t._setVideoSrc(e,i)?t._adsController&&t._adsController.prepare(e):t._eventBus.publish(s.ERROR,new a.Error(a.E_SAPI_STREAM,a.SAPI_CODES.E_SAPI_NOT_FOUND,{msg:"No playable streams found"})),t._model.playbackState.loadedItem=e,void t._eventBus.publish(s.MEDIA_ITEM_LOADED,e))})):(n&&n.length>0||(n=a.SAPI_CODES.E_SAPI_NOT_FOUND),t._isCMSError(n)||t._eventBus.publish(s.ERROR,new a.Error(a.isSapiWarning(n)?a.E_WARNING:a.E_SAPI_STREAM,n)),t._model.playbackState.loadedItem=e,t._eventBus.publish(s.MEDIA_ITEM_LOADED,e))},i.prototype._isCMSError=function(e){return e===a.E_PLAYER_CMS_JSONP_REQUEST_FAILURE||e===a.E_PLAYER_CMS_JSONP_REQUEST_FAILURE_SILENT_FAIL||e===a.E_PLAYER_CMS_RESPONSE||e===a.E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT||e===a.E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT_SILENT_FAIL||e===a.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED||e===a.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_TIMEOUT||e===a.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_404||e===a.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_408||e===a.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_502||e===a.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_503||e===a.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED||e===a.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_TIMEOUT||e===a.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_408||e===a.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_502||e===a.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_503||e===a.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED||e===a.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_TIMEOUT||e===a.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_408||e===a.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE||e===a.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_TIMEOUT||e===a.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_408||e===a.E_PLAYER_CMS_XHR_REQUEST_ERROR||e===a.E_PLAYER_CMS_XHR_REQUEST_TIMEOUT},i.prototype._onMediaItemLoaded=function(e){var t=this;t._playerReadyEventFired||(t._playerReadyEventFired=!0,t._eventBus.publish(s.API.PLAYER_READY)),t._attachWatchHistoryHandler(e)},i.prototype._attachWatchHistoryHandler=function(e){var t=this,n=function(){t._watchHistoryHandlerUnsub&&t._watchHistoryHandlerUnsub(),t._watchHistoryHandlerUnsub=null},i=function(){n(),t._model.userPreferences.isAuthenticated&&t._restAPI.saveToWatchHistory(e.id,function(e,t){e?m.warn("watch history call failed",e):m.log("watch history saved",t)},t)};n(),e.duration<=f?t._watchHistoryHandlerUnsub=t._eventBus.subscribe(s.PLAYBACK_ENDED,i,t):t._watchHistoryHandlerUnsub=t._eventBus.subscribe(s.PLAYBACK_PROGRESS,function(e,t){t>=f&&i()},t)},i.prototype.play=function(){m.log("Controller.play()");var e=this;if(e._model.playbackState.paused&&e._model.playbackState.isVpaidAdPlaying())return e._eventBus.publish(s.RESUME_VPAID),e._onPlaybackResumed(),void m.log("Controller.play(): paused, informing VPAID ad to resume");if(e._model.playbackState.attemptingPlayback())return void m.log("Controller.play(): Cannot play, already attempting playback");var t=e._model.playlist.getCurrentItem();if(!t)return void m.log("Controller.play(): No current item, cannot play");if(e._spinnerMonitorStartTime=null,e._model.playbackState.paused)return void e._view.play();if(t.ageGate&&e._model.ui.showAgeGate)return void e._initiateAgeGate();if(e._model.ui.showAgeGate&&e._view.destroyAgeGateScreen(),e._profiler.add(s.Metrics.PLAYBACK_START),e._resetStateFlags(),t===e._model.playbackState.loadedItem)e._model.playbackState.loading=!0,e.setSelectedStreams(),e._eventBus.publish(s.PLAYBACK_REQUEST,t.id),e._startPlaying(t);else if(M.mobile)e._eventBus.publish(s.ERROR,new a.Error(a.E_WARNING,a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_PLAY_INITIATED_BEFORE_METADATA_READY,{msg:"Cannot play before metadata is available"}));else{e._model.playbackState.state=y.WAITING,e._model.playbackState.loading=!0;var n=e._eventBus.subscribe(s.MEDIA_ITEM_LOADED,function(i){if(i===t){if(n(),e.setSelectedStreams(),t.ageGate&&e._model.ui.showAgeGate)return e._model.playbackState.state=y.INIT,void e._initiateAgeGate();e._eventBus.publish(s.PLAYBACK_REQUEST,t.id),e._startPlaying(t)}})}e._view.syncViewState()},i.prototype.setSelectedStreams=function(){var e=this,t=e._model.playlist.getCurrentItem();t&&t.selectedStreams&&0===t.selectedStreams.length&&t.streams.length&&e._view.setSelectedStreams(t.streams)},i.prototype._startPlaying=function(e){var t=this,n="start";if(e===t._model.playlist.getCurrentItem()&&!t._findCriticalError()){e.restartIfNeeded();var i=function(){var n=e.progress.position;n>0?(t._model.playback.isResume=!0,t._view.play(n),t._eventBus.publish(s.PLAYBACK_STARTED,e.id,e.progress.position)):(t._view.play(t._model.playback.startTime),t._model.playback.startTime=NaN),t._model.playback.fullscreen&&t._view.setFullscreen(!0)},r=function(){t._model.playbackState.state=y.VIDEO,t._resetStateFlags(),t._model.playbackState.loading=!0,t._view.syncViewState()};t._adsController?t._adsController.maybePlay(n,function(n){r(),n&&(t._profiler.add(s.Metrics.PLAYBACK_START),t._setVideoSrc(e)),i()}):(r(),i())}},i.prototype._setPlaybackTimeout=function(){var e=this,t=e._model.playlist.getCurrentItem();e._view.didRendererTimeOut()||e._playbackTimeout||"error"===t.state||(e._playbackTimeout=setTimeout(function(){e._eventBus.publish(s.API.PLAYBACK_TIMEOUT,new a.Error(a.E_WARNING,a.WARNING_CODES.E_PLAYBACK_TIMEOUT,{msg:"No playback after 10 seconds of requesting to play on player"}))},C))},i.prototype._clearPlaybackTimeout=function(){var e=this;e._playbackTimeout&&clearTimeout(e._playbackTimeout)},i.prototype._notifyVideoStarted=function(){var e=this;e._notifedVideoStarted||(e._eventBus.publish(s.API.VIDEO_STARTED),e._notifedVideoStarted=!0),e._clearPlaybackTimeout()},i.prototype.pause=function(){var e=this;e._model.playbackState.isVpaidAdPlaying()?(e._eventBus.publish(s.PAUSE_VPAID),e._onPlaybackPaused()):e._model.playbackState.attemptingPlayback()&&e._view.pause()},i.prototype.seek=function(e){var t=this;t._model.playbackState.state===y.VIDEO&&t._view.seek(e)},i.prototype.disableControls=function(){var e=this;e._view.disableControls()},i.prototype.enableControls=function(){var e=this;e._view.enableControls()},i.prototype.setCC=function(e,t){var n=this;n._ccController&&(e?n._ccController.enable(t):n._ccController.disable())},i.prototype.isPlaying=function(){var e=this;return"video"===e._model.playbackState.state&&!e._model.playbackState.paused},i.prototype.setFullscreen=function(e){var t=this;t._view.setFullscreen(e)},i.prototype.getFullscreen=function(){var e=this;return e._view.getFullscreen()},i.prototype.setVolume=function(e){var t=this;t._eventBus.publish(s.CONTROLS_SET_VOLUME,e)},i.prototype.getVolume=function(){var e=this;return e._model.playbackState.volume},i.prototype.setMute=function(e){var t=this;t._eventBus.publish(s.CONTROLS_SET_MUTE,e)},i.prototype.getMute=function(){var e=this;return e._model.playbackState.mute},i.prototype.setLoop=function(e){var t=this;t._model.playback.loop=e},i.prototype.getLoop=function(){var e=this;return e._model.playback.loop},i.prototype.setContinuousPlay=function(e){var t=this;t._model.playback.continuousPlay=e},i.prototype.getContinuousPlay=function(){var e=this;return e._model.playback.continuousPlay},i.prototype.resumeContinuousPlay=function(){var e=this;if(e.setContinuousPlay(!0),e._model.playbackState.state===y.END){var t=e._model.playlist.getNextPosition(e._model.playback.continuousPlay,e._model.playback.loop);-1!==t&&e.setPlaylistPosition(t,!0)}},i.prototype._onDimensionChange=function(e){var t=this;t._model.uiState.width=e.width,t._model.uiState.height=e.height},i.prototype._onSelectedStreamChange=function(e,t){var n,i=this,r=i._model.playlist.getCurrentItem();if(t){t.cdn=v.getMediaCDNName(r,e,t.selectedStreamUrl),t.url=t.selectedStreamUrl;var o=[t];n=o}else{for(var a=e.length,s=0;a>s;s++)e[s].cdn=v.getMediaCDNName(r,e,null);n=e}r.fillSelectedStreams(n,null)},i.prototype._findCriticalError=function(){for(var e=this,t=e._model.errors,n=0;n<t.length;n++)if(t[n].code||t[n].type)return t[n];return null},i.prototype._onStartScreenClick=function(){var e=this;e._eventBus.publish(s.CTRL_PLAYREQUEST),e._profiler.add(s.Metrics.CLICK_TO_START),e._profiler.add(s.Metrics.HLS_FIRST_TS_LOAD_START),e.play()},i.prototype._onVideoClick=function(){var e=this;if(e._view.controls)if("flash"===e._model.playbackState.rendererType){var t=e._model.playbackState.paused?"play":"pause";e._eventBus.publish(s.CTRL_PLAYPAUSE,t),e._view.setKeyboardFocus()}else e._togglePlayPause()},i.prototype._onEndScreenClick=function(e,t){var n=this,i=n._model.playlist;0===t?(n._eventBus.publish(s.API.UI_INTERACT,{srcElement:"es-rpl"}),n._eventBus.publish(s.CTRL_REPLAY)):(n._eventBus.publish(s.API.UI_INTERACT,{srcElement:"es-vid-"+t}),n._eventBus.publish(s.CTRL_ENDSCREEN_VID,{vid:e,vindex:t})),n.setPlaylistPosition(i.appendItem(e),!0)},i.prototype._onRelatedItemClick=function(e,t){var n=this,i=n._model.playlist;n._eventBus.publish(s.API.UI_INTERACT,{srcElement:"es-vid-"+t}),n._eventBus.publish(s.CTRL_ENDSCREEN_VID,{vid:e,vindex:t}),n.setPlaylistPosition(i.appendItem(e),!0)},i.prototype._onFetchMoreRelatedItems=function(e,t,n){var i=this,r={start:t||0,count:48,videoUuid:e.id};i._fetcher.getRelatedVideosChannel(e,r,function(t,r){if(t)m.warn("sAPI data errors encountered while getting related videos!"),n&&n(t);else if(r){var o=r.map(function(e){return i._model.mediaStore.get(e)});n?n(null,o):i._eventBus.publish(s.RELATED_ITEMS_LOADED,e,o)}})},i.prototype._onWatchLaterVideoClick=function(e,t){var n=this,i=n._model.playlist;n._eventBus.publish(s.API.UI_INTERACT,{srcElement:"menu_watchlater_tn_"+t,newVideo:e}),n._model.playback.playInlineVideo&&n.setPlaylistPosition(i.appendItem(e),!0)},i.prototype.setPlaylistPosition=function(e,t){var n=this;n._model.errors=[],n._model.playbackState.criticalError=null,n._model.playbackState.isAdPlaying()&&n._adsController.cancelAd();var i=n._model.playlist,r=i.getCurrentItem();n._view.endVideo(),i.position=e;var o=i.getCurrentItem();if(n._model.playbackState.looped=!1,o){if(o.id===r.id)o.playSession=o.generatePSid();else{var a=o.streams.length>0&&o.streams[0].path?u.getSapiPsId(o.streams[0].path):"";o.playSession=a+"_"+o.generatePSid(),u.updatePsInStreams(o.streams,o.playSession)}n._view.resetState(),n._eventBus.publish(s.API.PLAYLIST_POSITION_CHANGE,i.position),o.fetchFinished()&&n._loadMediaItem(o)}else t=!1;t?(n._enterInitState(),n._eventBus.publish(s.PLAYBACK_INIT),n.play()):o&&"error"!==o.state?(n._enterInitState(),n._eventBus.publish(s.PLAYBACK_INIT)):n._endPlayback(r)},i.prototype.setContentHeightForNFL=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=t?t.provider:null;n&&"video.nflhighlights.com"===n.providerId&&e._view._setContentHeightForNFL()},i.prototype._endPlayback=function(e){var t=this;t._view.setFullscreen(!1),t._model.playbackState.previousItem=e,t._model.playbackState.state=y.END,t._resetStateFlags(),t._view.syncViewState()},i.prototype._enterInitState=function(){var e=this;e._model.playbackState.state=y.INIT,e._resetStateFlags(),e._view.syncViewState()},i.prototype._resetStateFlags=function(){var e=this,t=e._model.playbackState;t.paused=!1,t.seeking=!1,t.loading=!1},i.prototype.removePlaylistItems=function(e,t){var n=this,i=n._model.playlist;i.items.splice(e,t),i.position>=e+t?i.position-=t:e<=i.position&&i.position<e+t&&n.setPlaylistPosition(-1)},i.prototype.prefetch=function(e){var t=this,n=null!==t._model.playbackState.loadedItem&&(t._model.playbackState.state===y.INIT||t._model.playbackState.state===y.VIDEO);t._fetcher.prefetch(e,n)},i.prototype._onPlaybackError=function(e){var t=this;t._eventBus.publish(s.PLAYBACK_ERROR,e)},i.prototype._onError=function(e){var t=this;try{throw new Error("Stack Trace")}catch(n){m.error(n.stack)}t._model.errors.push(e);var i=t._findCriticalError();i&&(t._clearPlaybackTimeout(),t._applyErrorFilters(i),t._model.playbackState.criticalError=i,t._model.playbackState.state=y.END,t._resetStateFlags(),t._view.syncViewState(),t._view.adjustErrorMsg())},i.prototype._onWatchLaterChangeRequest=function(e){var t=this,n=e&&e.uuid||t._model.playlist.getCurrentItem().id,i=e&&e.operation||"add",r=t._watchLaterAddCallback(n),o=t._watchLaterDeleteCallback(n);"add"===i?t._restAPI.addWatchLater(n,r,t):"delete"===i&&t._restAPI.deleteWatchLater(n,o,t)},i.prototype._watchLaterAddCallback=function(e){var t=this;return function(n,i){var r=i.watchlater&&i.watchlater[0]&&"success"===i.watchlater[0].status;if(n||!r)return m.warn("watch later add failed. Error=",n,"response=",i.watchlater),void t._eventBus.publish(s.WL_CHANGE_REQUEST_COMPLETE,{status:"fail",operation:"add",uuid:e,err:n});t._eventBus.publish(s.WL_CHANGE_REQUEST_COMPLETE,{status:"success",operation:"add",uuid:e});var o=t._model.userPreferences.watchLaterVideos;-1===o.indexOf(e)&&(o.push(e),t._eventBus.publish(s.WATCH_LATER_VIDEOS_CHANGED,o,{operation:"add",uuid:e}))}},i.prototype._watchLaterDeleteCallback=function(e){var t=this;return function(n,i){var r=i.status&&i.status.error,o=i.status&&i.status.result&&"success"===i.status.result[0];if(n||r||!o)return m.warn("watch later delete failed. error=",n||r,"response=",i.status),void t._eventBus.publish(s.WL_CHANGE_REQUEST_COMPLETE,{status:"fail",operation:"delete",uuid:e,err:n||r});t._eventBus.publish(s.WL_CHANGE_REQUEST_COMPLETE,{status:"success",operation:"delete",uuid:e});var a=t._model.userPreferences.watchLaterVideos,l=a.indexOf(e);l>-1&&(a.splice(l,1),t._eventBus.publish(s.WATCH_LATER_VIDEOS_CHANGED,a,{operation:"delete",uuid:e}))}},i.prototype._applyErrorFilters=function(e){var t=this,n=function(){!v.isFlashInstalled()&&M.desktop&&(e.type=a.E_PLAYER,e.code=a.PLAYER_CODES.E_PLAYER_NOT_ENABLED)};switch(e.type){case a.E_SAPI_ABSTRACT:case a.E_SAPI_STREAM:case a.E_SAPI_PLAYLIST:case a.E_SAPI_RELATED:case a.E_SAPI_POPULAR:switch(e.code){case a.SAPI_CODES.E_SAPI_EXTERNAL_NO_STREAMS:var i=t._model.playlist.getCurrentItem();i&&i.shareUrl&&v.redirect(i.shareUrl,!0);break;case a.SAPI_CODES.E_SAPI_UNSUPPORTED_FORMAT:n();break;case a.SAPI_CODES.E_SAPI_UNSUPPORTED_LIVE_ON_HTML:M.android?(e.type=a.E_WARNING,e.code=a.WARNING_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED):n();break;case a.SAPI_CODES.E_SAPI_DRM_RESTRICTED:M.desktop&&n()}break;case a.E_PLAYER:switch(e.code){case a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_ENCRYPTED:n()}}},i.prototype._initiateAgeGate=function(){var e=this;e._ageGateController||(e._ageGateController=new o(e._eventBus,e._model,e._view,e)),e._ageGateController.run()},i.prototype._onUserAuthentication=function(){var e=this;e._ageGateController&&e._ageGateController.isWaitingAuthentication()&&e._initiateAgeGate()},i.prototype._onPlaybackStarted=function(e){var t=this;t._eventBus.publish(s.PLAYBACK_STARTED,e.id),t._playbackStarted[e.id]=!0,t._showFujiUI&&!e.isLive()&&(t._model.playback.loop||t._model.ui.showReplayOnlyEndScreen||t._onFetchMoreRelatedItems(e,0))},i.prototype._onPlaybackPlaying=function(){var e=this,t=e._model.playlist.getCurrentItem();e._model.playbackState.videoLoading()?(e._toggleSpinner(!1),e._onPlaybackStarted(t),e._showFujiUI||!e._model.ui.showEndScreen||e._model.playback.loop||e._model.ui.showReplayOnlyEndScreen||e._fetcher.getRelatedVideos(t,!1,function(e){e&&m.warn("sAPI data errors encountered while getting related videos!")})):e._model.playbackState.paused?(e._eventBus.publish(s.PLAYBACK_RESUMED,t.id),e._onPlaybackResumed()):e._playbackStarted[t.id]||e._onPlaybackStarted(t)},i.prototype._onPlaybackProgress=function(e,t,n){var i=this,r=i._model.playlist.getCurrentItem();if(r){var o=1.5;if(i._eventBus.publish(s.PLAYBACK_PROGRESS,r.id,e,t,n),L.isNumber(e)&&L.isNumber(t)&&!(e>t+1)){i._model.playbackState.loading&&(i._spinnerMonitorStartTime?e-i._spinnerMonitorStartTime>=o&&(m.warn("overrode loader"),i._spinnerMonitorStartTime=null,i._toggleSpinner(!1)):i._spinnerMonitorStartTime=e),i._adsController&&i._adsController.maybeAdBreak(e,function(t,n){t&&(i._model.playbackState.state=y.VIDEO,i._resetStateFlags(),i._model.playbackState.loading=!0,i._view.syncViewState(),i._setVideoSrc(i._model.playlist.getCurrentItem(),e),i._view.play(e),r.progress.adbreaks[n]=(new Date).getTime())});var a=10*Math.floor(e/10);!r.isLongForm()||a===r.progress.position||i._model.playbackState.seeking||i._model.playbackState.ad||(r.progress.position=a,i.saveResumeTime(r))}}},i.prototype._onControlsSeekStart=function(){var e=this;e._model.playbackState.seeking||(e._model.playbackState.seeking=!0,e._view.syncViewState())},i.prototype._onControlsSeekEnd=function(){var e=this;e._model.playbackState.seeking&&(e._model.playbackState.paused||e._view.play(),e._model.playbackState.seeking=!1,e._view.syncViewState())},i.prototype._onPlaybackPaused=function(){var e=this;e._model.playbackState.state!==y.INIT&&e._model.playbackState.state!==y.END&&(e._model.playbackState.paused=!0,e._view.syncViewState())},i.prototype._onPlaybackResumed=function(){var e=this;e._model.playbackState.paused=!1,e._view.syncViewState()},i.prototype._onPlaybackEnded=function(){var e=this,t=e._model.playlist,n=t.getCurrentItem();if(n){var i=e._model.playback.continuousPlay,r=e._model.playback.loop,o={},a=t.getNextPosition(i,r,o);e._eventBus.publish(s.PLAYBACK_ENDED,n.id,o.ended);var l=function(){-1!==a?(e.setPlaylistPosition(a,i||r),e._model.playbackState.looped=o.looped):(e._endPlayback(n),e._eventBus.publish(s.API.PLAYLIST_COMPLETE))};e._adsController?e._adsController.maybePlay("end",l):l()}},i.prototype._onSeeking=function(){var e=this;e._toggleSpinner(!0)},i.prototype._onSeeked=function(){var e=this;e._toggleSpinner(!1),e._eventBus.publish(s.API.PLAYBACK_SEEK_COMPLETE),e._spinnerMonitorStartTime=null},i.prototype._onBitrateChange=function(e){var t=this;t._model.playback.bitrate=e},i.prototype._setVideoSrc=function(e,t){var n=this,i={streams:e.streams,abr:n._model.playback.abr,uuid:e.id,isCCM:e.isCCM,startTime:t,ignoreEndlist:e.isLive()&&n._model.playback.ignoreEndlist};return n._view.setStreams(i)},i.prototype.startSnapItMode=function(){var e=this;e._model.ui.enableSnapItAPI&&e._eventBus.publish(s.START_SNAP_IT)},i.prototype.endSnapItMode=function(){var e=this;e._model.ui.enableSnapItAPI&&e._eventBus.publish(s.END_SNAP_IT)},i.prototype.error=function(e){var t=this;e&&t._eventBus.publish(s.ERROR,new a.Error(e.type,e.code,{msg:e.msg}))},i.prototype._onMediaReloadBegin=function(){var e=this;e._toggleSpinner(!0)},i.prototype._onMediaReloadEnd=function(){var e=this;e._toggleSpinner(!1)},i.prototype._onQualityChange=function(){return!1},i.prototype._toggleSpinner=function(e){var t=this;t._model.playbackState.loading=e,t._view.syncViewState()},i.prototype._onQualitySelected=function(e){var t=this;t._view.setQuality(e)},i.prototype._onBitrateListChanged=function(e,t){var n=this;n._model.playback.bitrates=e,n._model.playback.heights=t},i.prototype._onWaiting=function(e){var t=this,n=e&&e.value;if(t._model.playlist.getCurrentItem().isLive()&&"flash"===t._view.getRendererType()&&t._toggleSpinner(n),"flash"===t._view.getRendererType())if(n&&!e.ignoreBuffering)t._profiler.add(s.Metrics.PLAYBACK_STALLED);else if(!e.ignoreBuffering){t._profiler.setEndTime(s.Metrics.PLAYBACK_STALLED);var i=t._profiler.getItem(s.Metrics.PLAYBACK_STALLED);i&&t._eventBus.publish(s.PLAYBACK_STALLED,i.timeDiff?i.timeDiff/1e3:"")}},i.prototype.destroy=function(){var e=this;e._model.destroy(),e._view.destroy(),e._fetcher.destroy(),e._eventBus.destroy(),e._ccController.destroy()}},{"../../lib":"bRhrlU","../../lib/event-bus":"3ECu9u","../../lib/logger":"IS9j5T","../../lib/user-agent":"ty5FFo","./ads-controller":11,"./age-gate-controller":12,"./cc":"zKzgQw","./error":18,"./event":"YJm+dH","./lazy-loader":22,"./media-store":23,"./metadata-fetcher":"QCpdmG","./metrics/metrics":30,"./model":36,"./profiler":37,"./restapi":43,"./states":45,"./util":"jJTEqU","./view":55}],17:[function(e,t,n){"use strict";function i(e){var t=this;t._cb=e,t._touches=[],t._bindTouchEvents(),t._bindKeys()}t.exports=i;var r={UP:"up",DOWN:"down",LEFT:"left",RIGHT:"right",TAP:"tap"},o=[r.UP,r.DOWN,r.LEFT,r.RIGHT,r.TAP,r.TAP];i.prototype._bindKeys=function(){var e=this,t=[79,80,69,78,83,73,77,83,73,77],n=[79,80,83,83];e._keyPressed=[],e._onKeyDown=function(i){e._keyPressed.push(i.keyCode),e._keyPressed.length>t.length&&e._keyPressed.shift();var r=e._keyPressed.slice(Math.max(e._keyPressed.length-4,0));(e._keyPressed.toString()===t.toString()||r.toString()===n.toString())&&e._cb()},document.addEventListener("keydown",e._onKeyDown,!1)},i.prototype._bindTouchEvents=function(){var e=this;e._touchstart=function(t){e._startX=t.changedTouches[0].pageX,e._startY=t.changedTouches[0].pageY,e._stopX=0,e._stopY=0},document.addEventListener("touchstart",e._touchstart,!1),e._touchmove=function(t){if(1===t.touches.length){var n=t.touches[0];e._stopX=n.pageX,e._stopY=n.pageY}},document.addEventListener("touchmove",e._touchmove,!1),e._touchend=function(){var t;if(e._stopX||e._stopY){var n=Math.abs(e._startX-e._stopX),i=Math.abs(e._startY-e._stopY);
  t=n>i?e._startX-e._stopX<0?r.RIGHT:r.LEFT:e._startY-e._stopY<0?r.DOWN:r.UP}else t=r.TAP;e._touches.push(t),e._touches.length>o.length&&e._touches.shift(),e._touches.length===o.length&&e._touches.every(function(e,t){return e===o[t]})&&e._cb()},document.addEventListener("touchend",e._touchend,!1)},i.prototype.destroy=function(){var e=this;document.removeEventListener("keydown",e._onKeyDown,!1),document.removeEventListener("touchstart",e._touchstart,!1),document.removeEventListener("touchmove",e._touchmove,!1),document.removeEventListener("touchend",e._touchend,!1)}},{}],18:[function(e,t,n){"use strict";function i(e,t){return e=e||a,t=t||_.E_PLAYER_PLAYBACK_ERROR,o.i18n.ERROR_CODE+": "+e+"-"+t}function r(e,t,n){var i=this;i.type=e||"",i.code=t||"",i._msg=n?n.msg:null,i.debugMessage=n?n.debugMsg:null,i.prefetch=n&&void 0!==n.prefetch?n.prefetch:!1}var o=e("./strings");n.E_WARNING="200",n.E_YVAP="300";var a=n.E_PLAYER="400",s=n.E_PLAYER_FAILOVER="407",l=n.E_PLAYER_DRM="410",c=n.E_PLAYER_DASH="420",u=n.E_SAPI_ABSTRACT="500";n.E_SAPI_STREAM="501",n.E_SAPI_PLAYLIST="502",n.E_SAPI_RELATED="503",n.E_SAPI_POPULAR="504";var d=n.E_SAPI_CLOSEDCAPTION="505",p=n.WARNING_CODES={E_PLAYBACK_TIMEOUT:"1",E_PLAYER_ANDROID_CHROME_REQUIRED:"500",E_PLAYER_NO_COMPATIBLE_FORMAT:"700",E_SAPI_LICENSE_ERROR:"200",E_SAPI_UNAVAILABLE_TEMP:"201",E_SAPI_GEO:"202",E_SAPI_DEVICE:"203",E_SAPI_EMBED:"204",E_PLAYER_FLASH_IS_BLOCKED_SAFARI_STYLE_NONE:"610",E_PLAYER_FLASH_IS_BLOCKED_GENERAL_STYLE_NONE:"611",E_PLAYER_FLASH_IS_BLOCKED_REPLACED_BY_BGINACTIVE:"612",E_PLAYER_FLASH_IS_BLOCKED_POWER_SAVING:"613",E_PLAYER_FLASH_IS_BLOCKED_BLOCKERS_SCREEN:"614",E_LIVE_PLAYBACK_COMPLETE:"800"},_=n.PLAYER_CODES={E_PLAYER_PLAYBACK_ERROR:"100",E_PLAYER_SECURITY_CROSS_DOMAIN_XML_ERROR:"2",E_PLAYER_MEDIA_LOAD_FAILURE:"7",E_PLAYER_INVALID_F4M:"23",E_PLAYER_BIT_RATE_UPDATE_ERROR:"57",E_PLAYER_FLASH_CONNECTION_REJECTED:"11",E_PLAYER_FLASH_CONNECTION_APP_INVALID:"12",E_PLAYER_FLASH_CONNECTION_FAILED:"13",E_PLAYER_FLASH_CONNECTION_TIMEOUT:"14",E_PLAYER_FLASH_STREAM_FAILED:"15",E_PLAYER_FLASH_STREAM_NOT_FOUND:"16",E_PLAYER_FLASH_DRM_SYSTEM_UPDATE_FAILURE:"54",E_PLAYER_NOT_ENABLED:"200",E_PLAYER_NOT_UPTO_DATE:"201",E_PLAYER_FLASH_PLAYBACK_ERROR:"301",E_PLAYER_FLASH_PLAYBACK_URL_ERROR:"302",E_PLAYER_HTML5_PLAYBACK_ERROR:"303",E_PLAYER_HTML5_PLAYBACK_ERROR_ABORTED:"304",E_PLAYER_HTML5_PLAYBACK_ERROR_NETWORK:"305",E_PLAYER_HTML5_PLAYBACK_ERROR_DECODE:"306",E_PLAYER_HTML5_PLAYBACK_ERROR_SRC_NOT_SUPPORTED:"307",E_PLAYER_HTML5_PLAYBACK_ERROR_ENCRYPTED:"308",E_PLAYER_HTML5_PLAYBACK_ERROR_PLAY_INITIATED_BEFORE_METADATA_READY:"309",E_PLAYER_HTML5_PLAYBACK_ERROR_URL_NOT_AUTHORIZED:"310",E_PLAYER_HTML5_PLAYBACK_ERROR_URL_NOT_FOUND:"311",E_PLAYER_CMS_JSONP_REQUEST_FAILURE:"101",E_PLAYER_CMS_JSONP_REQUEST_FAILURE_SILENT_FAIL:"102",E_PLAYER_CMS_RESPONSE:"405",E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT:"408",E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT_SILENT_FAIL:"409",E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED:"700",E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_TIMEOUT:"701",E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_404:"702",E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_408:"703",E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_502:"704",E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_503:"705",E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED:"710",E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_TIMEOUT:"711",E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_408:"712",E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_502:"713",E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_503:"714",E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED:"720",E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_TIMEOUT:"721",E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_408:"722",E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE:"730",E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_TIMEOUT:"731",E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_408:"732",E_PLAYER_CMS_XHR_REQUEST_ERROR:"740",E_PLAYER_CMS_XHR_REQUEST_TIMEOUT:"750",E_INTERNAL_VIOLATION:"600",E_INVALID_CONFIGURATION:"601"},y=n.FLASH_CODES={E_FLASH_DRM_CONTENT_DATA_NOT_SET_ERROR:52,E_FLASH_DRM_TIMEOUT_LOAD_VOUCHER_ERROR:53,E_FLASH_DRM_SYSTEM_UPDATE_ERROR:54,E_FLASH_HLS_FRAGMENT_PARSING_ERROR:55,E_FLASH_HLS_FRAGMENT_HTTP_GET_ERROR:56,E_FLASH_HLS_FRAGMENT_TIMEOUT_ERROR:57,E_FLASH_HLS_FRAGMENT_NW_ERROR:58,E_FLASH_DRM_LOWER_BOUND_ERROR:3301,E_FLASH_DRM_UPPER_BOUND_ERROR:3766,E_FLASH_DRM_INCOGNITO_MODE_ERROR:3365,E_FLASH_DRM_VOUCHER_INVALID:3300,E_FLASH_DRM_INTERNAL_ACCESS_FAILURE:3307,E_FLASH_DRM_FILE_SYSTEM_WRITE:3313,E_FLASH_DRM_DEVICE_BINDING:3322,E_FLASH_DRM_INTERNAL_STORES_CORRUPT_SCENARIO_1:3323,E_FLASH_DRM_RESET_LICENSE_FILES:3324,E_FLASH_DRM_INTERNAL_STORES_CORRUPT_SCENARIO_2:3325,E_FLASH_DRM_VOUCHER_EXPIRED:3332,E_FLASH_DRM_INTERNAL_ERROR:3343,E_FLASH_DRM_FAILED_MIGRATING_DATA:3346,E_FLASH_DRM_CHROME_SETTING_ERROR:3370},M=n.PLAYER_DRM_CODES={E_PLAYER_DRM_CONTENT_DATA_NOT_SET_ERROR:"600",E_PLAYER_DRM_UNSUPPORTED_STREAM_ERROR:"601",E_PLAYER_DRM_TIMEOUT_LOAD_VOUCHER_ERROR:"602"},v=n.PLAYER_DASH_CODES={E_DASH_REQUEST_FAILURE:"1",E_DASH_REQUEST_LENGTH:"2",E_DASH_REQUEST_TIMEOUT:"3",E_DASH_METADATA_LENGTH:"4",E_DASH_METADATA_FORMAT:"5",E_DASH_NO_FRAGMENTS:"6",E_DASH_ALIGNMENT:"7",E_DASH_BAD_MIME_TYPE:"8",E_DASH_DESTROYED:"9",E_DASH_OPERATION_ABORTED:"10",E_DASH_BUFFFER_APPEND:"11",E_DASH_MANIFEST_LOAD:"12",E_DASH_MANIFEST_PARSE:"13"},L=n.SAPI_CODES={E_SAPI_INCOMPATIBLE_FORMAT:"100",E_SAPI_USER_NOT_AUTHORIZED:"205",E_SAPI_RESTRICTED_TO_INTERNAL:"206",E_SAPI_UNSUPPORTED_FORMAT:"300",E_SAPI_DRM_RESTRICTED:"207",E_SAPI_EXTERNAL_NO_STREAMS:"301",E_SAPI_UNSUPPORTED_LIVE_ON_HTML:"305",E_SAPI_NOT_FOUND:"400",E_SAPI_TEMP_ERR_1:"500",E_SAPI_TEMP_ERR_2:"502",E_SAPI_TEMP_ERR_3:"503",E_SAPI_TEMP_ERR_4:"550",E_SAPI_EMPTY_ATLAS_ACCOUNT_NAME:"401",E_SAPI_EMPTY_SECURE_KEY:"402",E_SAPI_EMPTY_LIST:"403",E_SAPI_INVALID_DATA:"404",E_SAPI_INVALID_VIDEO:"405",E_SAPI_EMPTY_STREAM_URL:"406",E_SAPI_MISSING_PROVIDER:"501",E_SAPI_SYSTEM_ERROR:"504"},m={};m[L.E_SAPI_CRITICAL_ERR_1]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_CRITICAL_ERR_2]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_CRITICAL_ERR_3]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_CRITICAL_ERR_4]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_CRITICAL_ERR_5]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_CRITICAL_ERR_6]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_CRITICAL_ERR_7]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_CRITICAL_ERR_8]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_EXTERNAL_NO_STREAMS]=o.i18n.ERR_TITLE_VIDEO_NOT_AVAILABLE,m[L.E_SAPI_NOT_FOUND]=o.i18n.ERR_TITLE_VIDEO_NOT_AVAILABLE,m[L.E_SAPI_RESTRICTED_TO_INTERNAL]=o.i18n.ERR_TITLE_VIDEO_NOT_AVAILABLE,m[L.E_SAPI_TEMP_ERR_1]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_TEMP_ERR_2]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_TEMP_ERR_3]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_TEMP_ERR_4]=o.i18n.ERR_TITLE_CMS,m[L.E_SAPI_UNSUPPORTED_FORMAT]=o.i18n.ERR_TITLE_CONFIGURATION,m[L.E_SAPI_USER_NOT_AUTHORIZED]=o.i18n.ERR_TITLE_USER_NOT_AUTHORIZED;var E={};E[p.E_SAPI_DEVICE]=o.i18n.ERR_TITLE_DEVICE,E[p.E_SAPI_EMBED]=o.i18n.ERR_TITLE_EMBED,E[p.E_SAPI_GEO]=o.i18n.ERR_TITLE_GEO,E[p.E_SAPI_LICENSE_ERROR]=o.i18n.ERR_TITLE_VIDEO_NOT_AVAILABLE,E[p.E_SAPI_UNAVAILABLE_TEMP]=o.i18n.ERR_TITLE_VIDEO_NOT_AVAILABLE,E[p.E_SAPI_UNSUPPORTED_LIVE_ON_HTML]=o.i18n.ERR_TITLE_CONFIGURATION;var g={};g[_.E_PLAYER_FLASH_DRM_SYSTEM_UPDATE_FAILURE]=o.i18n.ERR_TITLE_BROWSER,g[_.E_PLAYER_BIT_RATE_UPDATE_ERROR]=o.i18n.ERR_TITLE_PLAYBACK,[_.E_PLAYER_CMS_JSONP_REQUEST_FAILURE,_.E_PLAYER_CMS_JSONP_REQUEST_FAILURE_SILENT_FAIL,_.E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT,_.E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT_SILENT_FAIL,_.E_PLAYER_CMS_RESPONSE,_.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED,_.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_TIMEOUT,_.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_404,_.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_408,_.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_502,_.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_503,_.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED,_.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_TIMEOUT,_.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_408,_.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_502,_.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_503,_.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED,_.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_TIMEOUT,_.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_408,_.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE,_.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_TIMEOUT,_.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_408,_.E_PLAYER_CMS_XHR_REQUEST_ERROR,_.E_PLAYER_CMS_XHR_REQUEST_TIMEOUT].forEach(function(e){g[e]=o.i18n.ERR_TITLE_CMS}),g[_.E_PLAYER_FLASH_CONNECTION_REJECTED]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_FLASH_CONNECTION_APP_INVALID]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_FLASH_CONNECTION_TIMEOUT]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_FLASH_CONNECTION_FAILED]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_FLASH_STREAM_FAILED]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_FLASH_STREAM_NOT_FOUND]=o.i18n.ERR_TITLE_VIDEO_NOT_AVAILABLE,g[_.E_PLAYER_FLASH_PLAYBACK_ERROR]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_FLASH_PLAYBACK_URL_ERROR]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_HTML5_PLAYBACK_ERROR]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_HTML5_PLAYBACK_ERROR_ABORTED]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_HTML5_PLAYBACK_ERROR_NETWORK]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_HTML5_PLAYBACK_ERROR_DECODE]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_HTML5_PLAYBACK_ERROR_SRC_NOT_SUPPORTED]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_HTML5_PLAYBACK_ERROR_ENCRYPTED]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_INVALID_F4M]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_MEDIA_LOAD_FAILURE]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_NOT_ENABLED]=o.i18n.ERR_TITLE_FLASH_MISSING,g[_.E_PLAYER_NOT_UPTO_DATE]=o.i18n.ERR_TITLE_FLASH_OLD,g[_.E_PLAYER_PLAYBACK_ERROR]=o.i18n.ERR_TITLE_PLAYBACK,g[_.E_PLAYER_SECURITY_CROSS_DOMAIN_XML_ERROR]=o.i18n.ERR_TITLE_PLAYBACK,g[y.E_FLASH_DRM_CHROME_SETTING_ERROR]=o.i18n.ERR_TITLE_CHROME_SETTING,E[p.E_PLAYER_ANDROID_CHROME_REQUIRED]=o.i18n.ERR_TITLE_BROWSER,E[p.E_PLAYER_FLASH_IS_BLOCKED_SAFARI_STYLE_NONE]=o.i18n.ERR_TITLE_FLASH_BLOCKER,E[p.E_PLAYER_FLASH_IS_BLOCKED_GENERAL_STYLE_NONE]=o.i18n.ERR_TITLE_FLASH_BLOCKER,E[p.E_PLAYER_FLASH_IS_BLOCKED_REPLACED_BY_BGINACTIVE]=o.i18n.ERR_TITLE_FLASH_BLOCKER,E[p.E_PLAYER_FLASH_IS_BLOCKED_POWER_SAVING]=o.i18n.ERR_TITLE_FLASH_BLOCKER,E[p.E_PLAYER_FLASH_IS_BLOCKED_BLOCKERS_SCREEN]=o.i18n.ERR_TITLE_FLASH_BLOCKER,E[p.E_LIVE_PLAYBACK_COMPLETE]=o.i18n.ERR_TITLE_LIVE_PLAYBACK_COMPLETE,E[p.E_PLAYER_NO_COMPATIBLE_FORMAT]=o.i18n.ERR_TITLE_BROWSER;var A={};A[L.E_SAPI_EMPTY_ATLAS_ACCOUNT_NAME]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_EMPTY_SECURE_KEY]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_EMPTY_LIST]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_INVALID_DATA]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_INVALID_VIDEO]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_EMPTY_STREAM_URL]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_MISSING_PROVIDER]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_SYSTEM_ERROR]=o.i18n.ERR_MISSING_METADATA,A[L.E_SAPI_EXTERNAL_NO_STREAMS]=o.i18n.ERR_UNAVAILABLE,A[L.E_SAPI_NOT_FOUND]=o.i18n.ERR_UNAVAILABLE,A[L.E_SAPI_RESTRICTED_TO_INTERNAL]=o.i18n.ERR_NO_LONGER_AVAILABLE,A[L.E_SAPI_UNSUPPORTED_FORMAT]=o.i18n.ERR_UNSUPPORTED_FORMAT,A[L.E_SAPI_USER_NOT_AUTHORIZED]=o.i18n.ERR_UNAUTHORIZED,A[L.E_SAPI_DRM_RESTRICTED]=o.i18n.ERR_DRM_RESTRICTED;var T={};T[p.E_SAPI_DEVICE]=o.i18n.ERR_DEVICE,T[p.E_SAPI_EMBED]=o.i18n.ERR_EMBED,T[p.E_SAPI_GEO]=o.i18n.ERR_GEO,T[p.E_SAPI_LICENSE_ERROR]=o.i18n.ERR_UNAVAILABLE,T[p.E_SAPI_UNSUPPORTED_LIVE_ON_HTML]=o.i18n.ERR_UNSUPPORTED_LIVE_ON_HTML5,T[p.E_SAPI_UNAVAILABLE_TEMP]=o.i18n.ERR_UNAVAILABLE,T[p.E_PLAYER_NO_COMPATIBLE_FORMAT]=o.i18n.ERR_NO_COMPATIBLE_FORMAT;var b={};b[_.E_PLAYER_FLASH_DRM_SYSTEM_UPDATE_FAILURE]=o.i18n.ERR_FLASH_DRM_SYSTEM_UPDATE_FAILURE,b[_.E_PLAYER_FLASH_CONNECTION_REJECTED]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,b[_.E_PLAYER_FLASH_CONNECTION_APP_INVALID]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,b[_.E_PLAYER_FLASH_CONNECTION_TIMEOUT]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,b[_.E_PLAYER_FLASH_CONNECTION_FAILED]=o.i18n.ERR_FIREWALL,b[_.E_PLAYER_FLASH_STREAM_FAILED]=o.i18n.ERR_LOST_CONNECTION,b[_.E_PLAYER_FLASH_STREAM_NOT_FOUND]=o.i18n.ERR_CDN_ERROR_UNAVAILABLE,b[_.E_PLAYER_HTML5_PLAYBACK_ERROR_NETWORK]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,b[_.E_PLAYER_HTML5_PLAYBACK_ERROR_SRC_NOT_SUPPORTED]=o.i18n.ERR_UNSUPPORTED_FORMAT,b[_.E_PLAYER_NOT_ENABLED]=o.i18n.ERR_FLASH_NOT_ENABLED,b[_.E_PLAYER_NOT_UPTO_DATE]=o.i18n.ERR_FLASH_NOT_UPTO_DATE,b[_.E_PLAYER_SECURITY_CROSS_DOMAIN_XML_ERROR]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,T[p.E_PLAYER_ANDROID_CHROME_REQUIRED]=o.i18n.ERR_ANDROID_LIVE_CHROME_REQUIRED,T[p.E_PLAYER_FLASH_IS_BLOCKED_SAFARI_STYLE_NONE]=o.i18n.ERR_FLASH_IS_BLOCKED,T[p.E_PLAYER_FLASH_IS_BLOCKED_GENERAL_STYLE_NONE]=o.i18n.ERR_FLASH_IS_BLOCKED,T[p.E_PLAYER_FLASH_IS_BLOCKED_REPLACED_BY_BGINACTIVE]=o.i18n.ERR_FLASH_IS_BLOCKED,T[p.E_PLAYER_FLASH_IS_BLOCKED_POWER_SAVING]=o.i18n.ERR_FLASH_IS_BLOCKED,T[p.E_PLAYER_FLASH_IS_BLOCKED_BLOCKERS_SCREEN]=o.i18n.ERR_FLASH_IS_BLOCKED,T[p.E_LIVE_PLAYBACK_COMPLETE]=o.i18n.ERR_LIVE_PLAYBACK_COMPLETE,b[y.E_FLASH_HLS_FRAGMENT_HTTP_GET_ERROR]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,b[y.E_FLASH_HLS_FRAGMENT_TIMEOUT_ERROR]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,b[y.E_FLASH_HLS_FRAGMENT_NW_ERROR]=o.i18n.ERR_LOST_CONNECTION;var I={};I[y.E_FLASH_DRM_VOUCHER_INVALID]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_INTERNAL_ACCESS_FAILURE]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_FILE_SYSTEM_WRITE]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_DEVICE_BINDING]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_INTERNAL_STORES_CORRUPT_SCENARIO_1]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_RESET_LICENSE_FILES]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_INTERNAL_STORES_CORRUPT_SCENARIO_1]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_VOUCHER_EXPIRED]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_INTERNAL_ERROR]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_FAILED_MIGRATING_DATA]=o.i18n.ERR_DRM_BAD_LICENSE_FILE,I[y.E_FLASH_DRM_INCOGNITO_MODE_ERROR]=o.i18n.ERR_DRM_INCOGNITO_MODE,I[M.E_PLAYER_DRM_UNSUPPORTED_STREAM_ERROR]=o.i18n.ERR_DRM_UNSUPPORTED_STREAM,I[y.E_FLASH_DRM_CHROME_SETTING_ERROR]=o.i18n.ERR_DRM_CHROME_SETTING;var C={};C[v.E_DASH_REQUEST_FAILURE]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,C[v.E_DASH_REQUEST_LENGTH]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,C[v.E_DASH_REQUEST_TIMEOUT]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,C[v.E_DASH_BAD_MIME_TYPE]=o.i18n.ERR_UNSUPPORTED_FORMAT,C[v.E_DASH_MANIFEST_LOAD]=o.i18n.ERR_CDN_ERROR_CONNECTIVITY,n.Error=r,Object.defineProperty(r.prototype,"rep",{get:function(){return i(this.type,this.code)}}),r.prototype.isSAPIError=function(){var e=this;return e.type>=u&&e.type<=d},Object.defineProperty(r.prototype,"title",{get:function(){var e=this,t=null;if(e.isSAPIError())t=m;else if(e.type===a||e.type===s)t=g;else if(e.type===n.E_WARNING)t=E;else{if(e.type===l)return o.i18n.ERR_DRM;if(e.type===c)return o.i18n.ERR_PLAYBACK}return t&&t[e.code]||o.i18n.ERR_TITLE_SOMETHING_WENT_WRONG}}),Object.defineProperty(r.prototype,"message",{get:function(){var e=this,t=null;return e.isSAPIError()?t=A:e.type===a||e.type===s?t=b:e.type===n.E_WARNING?t=T:e.type===l?t=I:e.type===c&&(t=C),this._msg||t&&t[e.code]||o.i18n.ERR_TECH_DIFFICULTIES}}),n.isSapiWarning=function(e){return e>=200&&204>=e||"305"===e||"700"===e}},{"./strings":"XwKsC9"}],"./nextgen/src/event.js":[function(e,t,n){t.exports=e("YJm+dH")},{}],"YJm+dH":[function(e,t,n){"use strict";n.API={PLAYER_RENDERED:"render",PLAYER_READY:"playerReady",PLAYER_ERROR:"playerError",PLAYER_FULLSCREEN_CHANGE:"fullscreenChange",PLAYER_VOLUME_CHANGE:"volumeChange",PLAYER_MUTE_CHANGE:"muteChange",PLAYBACK_ERROR:"playbackError",PLAYBACK_READY:"playbackReady",PLAYBACK_START:"playbackStart",DURATION_CHANGE:"durationChange",BITRATE_CHANGE:"bitrateChange",PLAYBACK_PAUSE:"playbackPause",PLAYBACK_RESUMED:"playbackResumed",PLAYBACK_TIME_UPDATE:"playbackTimeUpdate",PLAYBACK_SEEK_COMPLETE:"playbackSeek",PLAYBACK_COMPLETE:"playbackComplete",AD_PLAYBACK_START:"adStart",AD_PLAYBACK_PAUSE:"adPause",AD_PLAYBACK_RESUME:"adResume",AD_PLAYBACK_PROGRESS:"adProgress",AD_PLAYBACK_STOP:"adComplete",AD_NONE:"adNone",AD_ERROR:"adError",PLAYLIST_COMPLETE:"playlistComplete",PLAYLIST_POSITION_CHANGE:"playlistPositionChange",UI_INTERACT:"uiInteract",BEACON_SEND:"beaconSend",LOADING_BEGIN:"loading-begin",LOADING_END:"loading-end",PLAYBACK_TIMEOUT:"playback-timeout",VIDEO_STARTED:"video-started",METADATA_READY:"metadata-ready",SNAP_IT_MODE_START:"snap-it-mode-start",SNAP_IT_MODE_END:"snap-it-mode-end",CC_AVAILABLE:"media-item-cc-available"},n.ERROR="player-error",n.WARNING="player-warning",n.KEYDOWN="keydown",n.START_SCREEN_RENDERED="start-screen-rendered",n.START_SCREEN_CLICK="start-screen-click",n.END_SCREEN_RENDERED="end-screen-rendered",n.END_SCREEN_CLICK="end-screen-click",n.CTRL_ENDSCREEN_VID="selected-endscreen-video",n.RELATED_ITEM_CLICK="related-item-click",n.FETCH_MORE_RELATED_ITEMS="fetch-more-related-items",n.SEEK_BAR_MOUSEOVER="seek-bar-mouseover",n.SEEK_BAR_MOUSEOUT="seek-bar-mouseout",n.TOGGLE_PLAY_PAUSE="toggle-play-pause",n.CONTROLS_SEEK_START="controls-seek-start",n.CONTROLS_SEEK_END="controls-seek-end",n.CONTROLS_SET_VOLUME="controls-set-volume",n.CONTROLS_SET_MUTE="controls-set-mute",n.FULLSCREEN_CHANGE="fullscreen-change",n.SETTINGS_CONTROLLER_CHANGE="settings-controller-change",n.SETTINGS_COMPONENT_SHOW="setting-component-show",n.PLAYER_DIMENSION_CHANGE="player-dimension-change",n.CONTROLS_BAR_CHANGE="controls-bar-change",n.METADATA_AVAILABLE="metadata-available",n.REFRESH_METADATA_AVAILABLE="refresh-metadata-available",n.RELATED_ITEMS_LOADED="related-items-loaded",n.MEDIA_ITEM_LOADED="media-item-loaded",n.SWF_READY="swf-ready",n.SWF_READY_TIMEOUT="swf-ready-timeout",n.PAUSE_VPAID="pause-vpaid",n.RESUME_VPAID="resume-vpaid",n.PLAYER_RESIZE="player-resize",n.SELECTED_STREAM_CHANGE="selectedStreamChange",n.SELECTED_STREAM_URL_CHANGE="selectedStreamUrlChange",n.RENDERER_PLUGIN_LOADED="rendererPluginLoaded",n.RENDERER_PLUGIN_LOAD_FAILED="rendererPluginLoadFailed",n.RENDERER_PLUGIN_LOAD_TIMED_OUT="rendererPluginLoadTimedOut",n.VTT_SEGMENT_LOADED="vttSegmentLoaded",n.MEDIA_RELOAD_BEGIN="mediaReloadBegin",n.MEDIA_RELOAD_END="mediaReloadEnd",n.MEDIA_PLAYLIST_LOADED="mediaPlaylistLoaded",n.MEDIA_PLAYLIST_UPDATED="mediaPlaylistUpdated",n.FRAGMENT_METRICS_AVAILABLE="fragmentMetricsAvailable",n.QUALITY_CHANGE="qualityChange",n.QUALITY_SELECTED="qualitySelected",n.BITRATE_LIST_CHANGED="bitrateListChanged",n.LIVE_PLAYBACK_COMPLETE="livePlaybackComplete",n.PLAYBACK_INFO="playback-info",n.USER_AUTHENTICATED="user-authenticated",n.WATCH_LATER_VIDEOS_CHANGED="watch-later-videos-changed",n.VIDEO_APPS_LOADED="video-apps-loaded",n.WL_CHANGE_REQUEST="watch-later-change-request",n.WL_CHANGE_REQUEST_COMPLETE="watch-later-change-request-complete",n.OPEN_FEEDBACK="open-feedback",n.CC_HOVER="cc-hover",n.VOLUME_HOVER="volume-hover",n.nativeVideoEvents=["ended","error","loadedmetadata","loadeddata","pause","stalled","loadstart","play","playing","seeking","seeked","timeupdate","volumechange","waiting"],n.Video={CLICK:"video-click",SWITCHING:"switching",SWITCHED:"switched",WARNING:"warning"},n.Ad={CLICK:"ad-click",NO_AD:"ad-no-ad",NO_PLAYABLE_STREAM:"ad-no-playable-stream",CANCELED:"ad-canceled"},n.nativeVideoEvents.forEach(function(e){n.Video[e.toUpperCase()]="video-"+e,n.Ad[e.toUpperCase()]="ad-"+e}),n.PLAYBACK_INIT="playbackInit",n.PLAYBACK_REQUEST="playback-request",n.PLAYBACK_STARTED="playback-started",n.PLAYBACK_RESUMED="playback-resumed",n.PLAYBACK_PROGRESS="playback-progress",n.PLAYBACK_STALLED="playback-stalled",n.PLAYBACK_ENDED="playback-ended",n.PLAYBACK_ERROR="playback-error",n.HLS_FIRST_TS_LOAD_START="hls-first-ts-load-start",n.HLS_FIRST_TS_FIRST_BYTE_ARRIVE="hls-first-ts-first-byte-arrive",n.CTRL_PLAYPAUSE="ctrl-play-pause",n.CTRL_SEEK="ctrl-seek",n.CTRL_VOLUME="ctrl-volume",n.CTRL_FULLSCREEN="ctrl-fullscreen",n.CTRL_SETTINGS="ctrl-settings",n.CTRL_AGEGATE_BDAY="ctrl-agegate-bday",n.CTRL_SHARE="ctrl-share",n.CTRL_REPLAY="ctrl-replay",n.CTRL_TIMER="ctrl-timer",n.CTRL_PLAYREQUEST="ctrl-playrequest",n.UI_LOGIN="ui-login",n.AD_PLAYBACK_REQUEST="ad-playback-request",n.AD_PLAYBACK_STARTED="ad-playback-started",n.AD_PLAYBACK_PAUSED="ad-playback-paused",n.AD_PLAYBACK_RESUMED="ad-playback-resumed",n.AD_PLAYBACK_PROGRESS="ad-playback-progress",n.AD_PLAYBACK_ENDED="ad-playback-ended",n.AD_BREAK_STARTED="ad-break-started",n.AD_BREAK_ENDED="ad-break-ended",n.AD_PLAYBACK_ERROR="ad-playback-error",n.AD_CLICK="ad-exposed-click",n.UPDATE_AD_COUNT="update-ad-count",n.UPDATE_AD_BREAKS="update-ad-breaks",n.ADS_OBJS_UPDATE="ads-object-update",n.ADS_READY="ads-ready",n.AD_BREAK_TIMELINE="ad-break-timeline",n.YVAP_INFO_UPDATE="yvap-info-update",n.YVAP_SWF_PROXIED_EVENT="yvap-swf-proxied-event",n.AD_METRICS="ad-metrics",n.SAPI_REFRESH_REQUEST="sapi-refresh-request",n.RENDERER_TYPE_CHANGE="renderer-type-change",n.CC={SETTINGS:"cc-settings",TOGGLE:"cc-toggle",UI_TOGGLE:"cc-ui-toggle",FETCHED:"cc-fetched",FETCH_MOBILE:"cc-fetche-mobile",REQUEST_UI_DATA_FOR_MEDIA_ITEM:"cc-request-ui-data-for-media-item",REMOVED:"cc-destroy",SHOW_CONTROLS:"cc-show-controls",LANGUAGE_CHANGE:"cc-language-change",CC_OPTIONS_LANGUAGE_CHANGE:"cc-options-language-change",FONT_SIZE_CHANGE:"cc-font-size-change",FONT_FACE_CHANGE:"cc-font-face-change",BG_OPACITY_CHANGE:"cc-bg-opacity-change",USER_STYLE_PREFERENCES_CHANGE:"cc-user-style-preferences-change",SAVE_USER_PREFERENCES:"cc-save-user-preferences",SAVE_TO_LOCAL_STORAGE:"cc-save-to-local-storage",UPDATE_STYLE:"cc-update-style",POSITION_CHANGE:"cc-position-change"},n.WATCH_LATER_VIDEO_CLICK="watch-later-video-click",n.START_SNAP_IT="start-snap-it",n.END_SNAP_IT="end-snap-it",n.SNAP_IT_MODE_STARTED="snapt-it-mode-started",n.SNAP_IT_MODE_ENDED="snapt-it-mode-ended",n.Metrics={INIT_TO_STARTSCREEN:{type:"titssc",desc:"VideoPlayer init to StartScreen Rendered"},HLS_FIRST_TS_LOAD_START:{type:"hftls",desc:"First ts loading starts in HLS"},HLS_FIRST_TS_FIRST_BYTE_ARRIVE:{type:"hftfba",desc:"First byte arrives for the first ts loading in HLS"},CLICK_TO_START:{type:"ttsapf",desc:"Player click to playback start"},INIT_TO_START:{type:"ttsapt",desc:"Init to playback start (autoplay)"},PLAYBACK_START:{type:"tpb",desc:"Playback request to playback start"},PLAYBACK_STALLED:{type:"tps",desc:"Playback buffering start to buffering end"},LOAD_TO_LOADED_DATA:{type:"tltld",desc:"Time from load() to loaded data"},SAPI_REQUEST:{type:"tsapic",desc:"SAPI request to SAPI response"},SWF_READY:{type:"tswfr",desc:"Player SWF is ready"},INIT_RENDER_GAP:{type:"tirg",desc:"Time gap between end of construction and beginning of render"},INIT_TO_SAPI:{type:"titsc",desc:"Time from beginning of construction to first updateMetaData"},RENDER_TO_SWF:{type:"trtswf",desc:"Time from init to object tag creation"},DRM_METADATA_IS_SET:{type:"tdmds",desc:"Time interval from play to drm meta data is set"},DRM_AUTH_COMPLETE:{type:"ttauth",desc:"Time to complete DRM authentication after drm metadata is set"},INIT_TO_APPS_INIT:{type:"ttapp",desc:"Player init to Video Apps Init"},SET_WATCH_HISTORY:{type:"tsetwh",desc:"YQL+ call to save watch history"},VP_CONSTRUCTOR:{type:"tcons",desc:"VideoPlayer Constructor"},GET_USER_PREFS:{type:"tgetcc",desc:"YQL+ call to get captions preferences"},PLAYLIST_LOADED:{type:"tploaded",desc:"Playlist loaded"},SAPI_LOADCLIPS:{type:"tsapiclips",desc:"SAPI request for clips"},CREATE_RENDERER:{type:"trcreate",desc:"Creating the renderer (swf/html)"},YVAP_READY:{type:"tyvapr",desc:"VideoAdPlugin is ready"},YVAP_NOAD:{type:"tyvapadn",desc:"Ad None"},YVAP_ADSTARTED:{type:"tyvapads",desc:"Ad Started"},STREAM_REQUEST_TO_RENDER:{type:"treqtr",desc:"Stream Latency (From request to render)"},STREAM_PLAY_TO_RENDER:{type:"tsltps",desc:"Media playback start to video render"},SAPI_LOADRELATED:{type:"tsapilr",desc:"SAPI Get for related videos"}}},{}],21:[function(e,t,n){"use strict";var i=e("./event"),r=e("./util"),o=e("./video-player");r.setSingleton("VideoPlayer",o),r.setSingleton("API_Events",i.API)},{"./event":"YJm+dH","./util":"jJTEqU","./video-player":54}],22:[function(e,t,n){"use strict";function i(e,t,n,i){var r=this;r._model=e,r._view=t,r._eventBus=n,r._fetcher=i}t.exports=i;var r=e("./util"),o=e("../../lib"),a=e("../../lib/logger"),s="videoplayer-nextgen-apps",l=1e4;i.prototype._initScript=function(t){if(t)return void a.warn("[error] app script load failed");var n=this,i=e("../videoapps/loader.js"),r=new i(n._model,n._view,n._eventBus,n._fetcher);r.initApps()},i.prototype.loadAppsScript=function(){var e=this,t=r.getScriptUrl(e._model.isLocal(),e._model.version,s),n=o.isFunction(e._initScript.bind)&&e._initScript.bind(e)||e._initScript;r.lazyLoad(t,l,n,!1)}},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","../videoapps/loader.js":"95MkhV","./util":"jJTEqU"}],23:[function(e,t,n){"use strict";function i(e){return v.isString(e)&&""!==e}function r(e,t){var n=this;s(T,e,n,t),v.isString(n.url)&&0!==n.url.length||(n.url=n.host+n.path),n.format||(n.format=M.getFormat(n.url)),n.host||(n.host=M.getHostname(n.url))}function o(){var e=this;e.streams=[],e.selectedStreams=[],e.relatedVideoIds=[],e.state=_.NO_DATA,e.isCCM=!0}function a(){var e=this;e._items={},e._finishedListeners=[]}function s(e,t,n,i){l(e,t,n,null,i)}function l(e,t,n,i,r){var o=n,a=t,s=!0,u=!1;if("configName"in e&&(i=e.configName),i&&(v.isObject(t)&&i in t?(a=t[i],u=!0):s=!1),s&&"transform"in e&&(a=e.transform(a)),"defaultVal"in e){var d=e.defaultVal;if(void 0===n&&(o=v.isFunction(d)?d():d),u){var p=!0;if("overwrite"in e){var _=e.overwrite;v.isFunction(e.overwrite)?p=_(o,a):_||(p=o===d)}p&&("validator"in e?e.validator(a)?o=a:c("Bad configuration data for '"+i+"'",r):o=a)}else e.required&&c("Missing required configuration parameter '"+i+"'",r)}else{o=n||{},s&&!v.isObject(a)&&(i?c("Expecting object in configuration for '"+i+"'",r):c("Expecting object for configuration",r),s=!1),s||(a={});for(var y in e)if(e.hasOwnProperty(y)&&-1===C.indexOf(y)){var M=e[y];o[y]=l(M,a,o[y],y,r)}}return o}function c(e,t){L.warn(e);var n=new Error(e);if(!t)throw n;t.push(n)}function u(e){if(!e)return"";for(var t=e.split("&"),n=0;n<t.length;n++)if(0===t[n].indexOf("ps=")&&t[n].length>3)return t[n].substring(3);return""}function d(e,t){for(var n=e.split("&"),i=0;i<n.length;i++)if(0===n[i].indexOf("ps=")&&n[i].length>3){n[i]=n[i].replace(n[i].substring(3),t);break}return n.join("&")}function p(e,t){e&&e.length>0&&e.forEach(function(e){e.path&&(e.path=d(e.path,t)),e.url&&(e.url=d(e.url,t)),e.hlsInfo&&e.hlsInfo.ts_url&&(e.hlsInfo.ts_url=d(e.hlsInfo.ts_url,t))})}var _={NO_DATA:"no-data",FETCHING:"fetching",HAS_DATA:"has-data",ERROR:"error"};t.exports={MediaStore:a,Stream:r,MediaItem:o,ItemState:_,fillFromConfig:s,addError:c,getSapiPsId:u,updatePsInStreams:p};var y=e("./event"),M=e("./util"),v=e("../../lib"),L=e("../../lib/logger"),m=e("./stream"),E="yvpResumeTimeItems",g=10,A={Community:{providerId:"video.community.sony.com"},"Sin City Saints":{providerId:""},"Other Space":{providerId:""}},T={mimeType:{configName:"mime_type",defaultVal:"",validator:i},format:{defaultVal:"",transform:function(e){if(!v.isString(e))return null;var t=e.toLowerCase().split("/");return t[t.length-1]},validator:i},width:{defaultVal:0,validator:v.isNumber},height:{defaultVal:0,validator:v.isNumber},bitrate:{defaultVal:0,validator:v.isNumber},duration:{defaultVal:0,validator:v.isNumber},host:{defaultVal:"",validator:i},path:{defaultVal:"",validator:v.isString},url:{defaultVal:"",validator:i},live:{defaultVal:!1,validator:v.isBoolean},isPrimary:{configName:"is_primary",defaultVal:!1,validator:v.isBoolean},cdn:{configName:"cdn",defaultVal:"",validator:v.isString},hlsInfo:{configName:"hls_info",defaultVal:null},dashInfo:{configName:"dash_info",defaultVal:null},drmType:{configName:"drm_type",defaultVal:null},deliveryType:{defaultVal:""}};r.prototype.isRTMP=function(){var e=this,t=/^rtmp(?:e|t|te|s)?:\/\//;return t.test(e.host)||t.test(e.url)},r.prototype.isRTX=function(){var e=this;return e.url.indexOf("/rtx/")>-1},r.prototype.isAtlas=function(){var e=this,t=e.host;return e.hlsInfo&&(t=e.hlsInfo.ts_url),/atlas\.cdn\.yimg\.com/.test(t)},r.prototype.isDrmProtected=function(){var e=this;return"adobe"===e.drmType||"apple"===e.drmType},r.prototype.isStreamCompatibleForDrm=function(e){var t=this;return t.isDrmProtected()?"flash"===e&&"f4m"===t.format?1:-1:0},r.prototype._getProtocol=function(){var e=this,t="http",n=e.url.split(":");return n.length>1&&(t=n[0]),t},r.prototype.getType=function(){var e=this,t="unknown",n=e.url,i=e._getProtocol();return n&&(i&&(i.indexOf("rtmp")>-1||i.indexOf("rtsp")>-1)?t=i:/\/*\.f4m/i.test(n)?t=e.isRTX()?"rtx-hds":"hds":/\/*\.m3u8/i.test(n)||n.length>0&&n.indexOf("content=hls")>-1?t=e.isRTX()?"rtx-hls":"hls":/\/*\.mp4/i.test(n)&&(t="mp4")),t};var b={id:{configName:"id",defaultVal:null,validator:v.isString},license:{configName:"license",licensorName:{configName:"account_name",defaultVal:"",validator:v.isString},licensorId:{configName:"account_id",defaultVal:"",validator:v.isString},licenseName:{configName:"title",defaultVal:"",validator:v.isString},licenseId:{configName:"salesforce_id",defaultVal:"",validator:v.isString},originatingProperty:{configName:"originating_property",defaultVal:"",validator:v.isString}},metrics:{ywa:{defaultVal:[],validator:function(e){return v.isArray(e)&&e.every(v.isString)}},comscoreC5:{configName:"comscore_cm5",defaultVal:"",validator:v.isString},comscoreC6:{configName:"comscore6",defaultVal:"",validator:v.isString},pageSpaceId:{configName:"pspid",defaultVal:"",validator:v.isString},beacons:{defaultVal:{},transform:function(e){if(!v.isArray(e))return null;for(var t={},n=0;n<e.length;n++){var i=e[n],r=i.events,o=i.target||"",a=i.data||"",s=i.urlTemplate;if(!v.isArray(r))return null;v.isString(s)||(s=null);for(var l=0;l<r.length;l++){var c=r[l],u=c.param||"";if(!v.isObject(c)||!v.isString(c.name))return null;c.name in t||(t[c.name]=[]);var d={url:s};a&&u&&(d.target=o,d.addParam="&"+a+u),t[c.name].push(d)}}return t},validator:v.isObject},mmActivityId:{configName:"mmActivityId",defaultVal:"",validator:v.isString},mediametrie:{configName:"mediametrie",defaultVal:null,validator:v.isString}},status:{code:{defaultVal:"",validator:v.isString},msg:{defaultVal:"",validator:v.isString}},yvap:{defaultVal:{}},closedCaptions:{configName:"closedcaptions",defaultVal:[],url:{validator:v.isString},lang:{validator:v.isString}},visualSeek:{configName:"visualseek",defaultVal:{},frequency:{defaultVal:0,validator:v.isNumber},width:{defaultVal:0,validator:v.isNumber},height:{defaultVal:0,validator:v.isNumber},images:{defaultVal:[],validator:v.isArray}},progress:{position:{defaultVal:null,validator:v.isNumber},adbreaks:{defaultVal:[],validator:v.isArray}},seriesInfo:{defaultVal:{},series_id:{configName:"series_id",defaultVal:null,validator:v.isNumber},videoType:{configName:"type",defaultVal:"",validator:v.isString},seasonNumber:{configName:"season_number",defaultVal:0,validator:v.isNumber},episodeNumber:{configName:"episode_number",defaultVal:0,validator:v.isNumber}},annotations:{configName:"annotations",defaultVal:{},content:{defaultVal:[],validator:v.isArray},theme:{defaultVal:"dark",validator:v.isString},transition:{defaultVal:{},"class":{defaultVal:"dissolve",validator:v.isString}},version:{defaultVal:"1",validator:v.isString}},algo:{defaultVal:null,transform:function(e){return e.algo_name},validator:v.isString},instrument:{defaultVal:null,transform:function(e){return e.algo},validator:v.isString}},I={description:{defaultVal:"",validator:v.isString,transform:function(e){return M.sanitizeAndUnescape(e)}},title:{defaultVal:"",validator:v.isString,transform:function(e){return M.sanitizeAndUnescape(e)}},snapshots:{count:{defaultVal:null,validator:v.isNumber},height:{defaultVal:null,validator:v.isNumber},width:{defaultVal:null,validator:v.isNumber},url:{defaultVal:null,validator:v.isString}},provider:{name:{defaultVal:"",validator:v.isString},providerId:{configName:"provider_id",defaultVal:null,validator:v.isString},providerVideoId:{configName:"provider_video_id",
  defaultVal:null,validator:v.isString},publisherId:{configName:"publisher_id",defaultVal:null,validator:v.isString},providerLogoUrl:{configName:"logourl",defaultVal:null,validator:v.isString}},provisioningSource:{configName:"provisioning_source",defaultVal:"",validator:v.isString},genres:{configName:"genre",defaultVal:[],transform:function(e){return v.isString(e)?e.split(","):null},validator:v.isArray},duration:{defaultVal:null,validator:v.isNumber},credits:{mainArtists:{configName:"main_artists",defaultVal:[],transform:function(e){return v.isString(e)?e.split(/[,;]/):null},validator:v.isArray},label:{defaultVal:null,validator:v.isString}},images:{large:{defaultVal:null,validator:v.isString},medium:{defaultVal:null,validator:v.isString},small:{defaultVal:null,validator:v.isString},provider:{defaultVal:null,validator:v.isString},thumbnail:{defaultVal:null,validator:v.isString}},_thumbnail:{configName:"thumbnail",defaultVal:null,validator:v.isString},showName:{configName:"show_name",defaultVal:"",validator:v.isString},shareUrl:{configName:"url",defaultVal:"",overwrite:!1,validator:v.isString},embedCode:{configName:"embedCode",defaultVal:"",overwrite:!1,validator:v.isString},embedRights:{configName:"embed_rights",defaultVal:!1,validator:v.isBoolean},eventBeginTime:{configName:"event_start",defaultVal:null,validator:v.isNumber},eventEndTime:{configName:"event_stop",defaultVal:null,validator:v.isNumber},liveState:{configName:"live_state",defaultVal:null,validator:v.isString},ageGate:{configName:"age_gate",defaultVal:"",validator:v.isString},seriesInfo:{configName:"seriesInfo",defaultVal:{},type:{defaultVal:"",validator:v.isString}}};o.prototype.fetchFinished=function(){var e=this;return e.state===_.HAS_DATA||e.state===_.ERROR},o.prototype.isLongForm=function(){var e=this;return e.duration>600},o.prototype.fillFromRaw=function(e,t,n,i){var r=this;e.shareUrl&&(e.url=e.shareUrl),s(b,e,r,i);var o=e.meta||e;if(s(I,o,r,i),null===r.id&&(r.isCCM=!1,r.id=M.generateGuid()),null!==r.duration&&r.isLongForm()){if(null===r.progress.position){var a=M.localStorage.get(E);a&&a[r.id]?r.progress=a[r.id]:r.progress.position=0}r.restartIfNeeded()}r.images.thumbnail=r.images.thumbnail||r._thumbnail,r.images.defaultThumbnail=r.images.large||r.images.thumbnail||r.images.medium||r.images.small||r.images.provider,r.fillStreamsFromRaw(e.streams,t,n,i),r.isCCM?r.hasStreams()&&r.hasThumbnail()?r.state=_.HAS_DATA:r.hasStreams()&&r.state===_.FETCHING&&(r.state=_.HAS_DATA):r.hasStreams()?r.state=_.HAS_DATA:r.state=_.ERROR},o.prototype.restartIfNeeded=function(){var e=this;e.progress.position+g>e.duration&&(e.progress.position=0)},o.prototype.hasStreams=function(){var e=this;return 0!==e.streams.length},o.prototype.getCDN=function(){var e=this;return e.selectedStreams.length>0?e.selectedStreams[0].cdn:null},o.prototype.isLive=function(){for(var e=this,t=0;t<e.streams.length;t++)if(e.streams[t].live)return!0;return null!==e.liveState?!0:!1},o.prototype.hasThumbnail=function(){var e=this;return!!e.images.defaultThumbnail},o.prototype.fillStreamsFromRaw=function(e,t,n,i){var o=this;if(e&&0===o.streams.length){var a=e.map(function(e){return new r(e,i)});if(a.length)for(var s=0;s<t.length;s++){var l=t[s],c=n[l],u=m.findAcceptedStreams(a,c);if(0!==u.length){o.rendererType=l,o.streams=u;break}}if(0===o.streams.length){var d=new Error("None of the streams is accepted. Possible mismatch in accepted format or/and protocol.");L.error(d.message),i.push(d)}else o.streams.sort(function(e,t){return e.bitrate-t.bitrate})}},o.prototype.generatePSid=function(){for(var e=[],t="abcdefghijklmnopqrstuvwxyz123456789",n=0;8>n;n++)e.push(t.charAt(Math.floor(Math.random()*t.length)));var i=e.join("");return i},o.prototype.fillSelectedStreams=function(e,t){var n=this,i=e.map(function(e){return new r(e,t)});i.length&&(n.selectedStreams=i),n.selectedStreams&&n.selectedStreams.length>1&&n.selectedStreams.sort(function(e,t){return e.bitrate-t.bitrate})},o.prototype.hasDrmStreams=function(){for(var e=this,t=0;t<e.streams.length;t++)if(e.streams[t].isDrmProtected())return!0;return!1},o.prototype.getType=function(){var e=this;return e.hasStreams()?e.selectedStreams.length>0?e.selectedStreams[0].getType():e.streams[0].getType():"none"},o.prototype.getShowName=function(){var e=this;return e.showName},o.prototype.isOriginalShow=function(e){var t=this;return e||(e=t.getShowName()),e&&A[e]?!0:!1},o.prototype.isSeriesEpisode=function(){var e=this;return e.seriesInfo&&"episode"===e.seriesInfo.videoType?!0:!1},o.prototype.updatePlaySession=function(e){var t=this;e.streams&&e.streams.length>0?(t.playSession=u(e.streams[0].path)+"_"+t.generatePSid(),p(e.streams,t.playSession)):e.algo||(t.playSession=t.generatePSid())},a.prototype.get=function(e){var t=this;return e?t._items[e]||null:null},a.prototype.getAll=function(){var e=this;return e._items},a.prototype.updateItemFromRaw=function(e,t,n,i){var r=this,a=r.get(e.id);return a||(a=new o,a.updatePlaySession(e)),a.fillFromRaw(e,t,n,i),r._items[a.id]=a,a},a.prototype.fillFromSapi=function(e,t,n,i){var r=this;if(v.isArray(e))return e.map(function(e){return r.updateItemFromRaw(e,t,n,i).id});var o=new Error("No SAPI data available");return L.warn(o.message),i.push(o),[]},a.prototype.notifyFetchFinished=function(e,t){var n=this;e.forEach(function(e){var i=n.get(e);i.state!==_.HAS_DATA&&(i.state=_.ERROR,t&&(i.status.code=t))}),n._finishedListeners.forEach(function(t){t(e)})},a.prototype.registerFinished=function(e){var t=this,n=function(t){e.publish(y.METADATA_AVAILABLE,t)};return t._finishedListeners.push(n),function(){var e=t._finishedListeners.indexOf(n);-1!==e&&t._finishedListeners.splice(e,1)}};var C=["configName","defaultVal","validator","transform","overwrite"]},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","./event":"YJm+dH","./stream":"Af6MnA","./util":"jJTEqU"}],QCpdmG:[function(e,t,n){function i(e,t,n){var i=this;i._model=e,i._eventBus=t,i._profiler=n,i._sapi=new s(i._model.guid,i._model.CMS.env,t,n),i._showFujiUI=l.showFujiUI(e),i._prefetchEmitted=!1,i._unsubNotifyFinished=i._model.mediaStore.registerFinished(i._eventBus)}var r=e("./error"),o=e("./event"),a=e("./media-store"),s=e("./sapi"),l=e("./util"),c=e("../../lib"),u=e("../../lib/logger");t.exports=i,i.prototype._emitPrefetchAvailable=function(){var e=this,t=[],n=e._model.mediaStore.getAll();for(var i in n)if(n.hasOwnProperty(i)){var r=n[i];r.state===a.ItemState.HAS_DATA&&t.push(i)}t.length&&e._eventBus.publish(o.METADATA_AVAILABLE,t)},i.prototype.updateMetadata=function(e,t,n){var i=this;i._prefetchEmitted||(i._emitPrefetchAvailable(),i._prefetchEmitted=!0,i._profiler.setEndTime(o.Metrics.INIT_TO_SAPI));var r=[],s=i._model.mediaStore.getAll();for(var l in s)if(s.hasOwnProperty(l)){var c=s[l];c.state===a.ItemState.NO_DATA&&(r.push(l),c.state=a.ItemState.FETCHING)}i._updateUUIDsFromSAPI(r,e,!1,t,n)},i.prototype._getMetaConfig=function(){var e=this;return{width:e._model.ui.thumbnailDimensions.width||e._model.uiState.width,height:e._model.ui.thumbnailDimensions.height||e._model.uiState.height,site:e._model.baseConfig.site,expb:e._model.baseConfig.experienceBucket,expn:e._model.baseConfig.experienceName,lang:e._model.baseConfig.lang,region:e._model.baseConfig.region,synd:e._model.baseConfig.syndication,pspid:e._model.CMS.suppressAdContext?"":e._model.baseConfig.pageSpaceId,acctid:e._model.YVAP.accountId,topic:e._model.YVAP.cTopic,plidl:e._model.CMS.suppressAdContext?"":e._model.YVAP.playContext,rt:e._model.rendererTypes}},i.prototype.fetchPlaylist=function(e){var t=this;e=e||function(){};var n=t._getMetaConfig();n.uuid=t._model.playlist.id,t._profiler.add(o.Metrics.PLAYLIST_LOADED),t._sapi.loadPlaylist(n,t._model.capabilities,function(n,i){if(n)return void e(n);try{var a=i.query.results.mediaObj;t._profiler.setEndTime(o.Metrics.PLAYLIST_LOADED)}catch(n){var s=new r.Error(r.E_PLAYER,r.PLAYER_CODES.E_PLAYER_CMS_RESPONSE);return t._eventBus.publish(o.ERROR,s),void e(s)}a&&(t._model.playlist.appendFromRaw(a,t._model.rendererTypes,t._model.capabilities,[]),t.updateMetadata(e))})},i.prototype._updateUUIDsFromSAPI=function(e,t,n,i,r){var a=this;t=t||function(){};var s=a._getMetaConfig();if(s.uuids=e,e.length>0){if(a._model.playlist){var l=a._model.playlist.getCurrentItem();l&&l.id===e[0]&&(s.ps=l.playSession)}a._profiler.add(o.Metrics.SAPI_LOADCLIPS),a._sapi.loadClips(s,a._model.capabilities,function(o,s,l){t(a._onSAPI(o,s,e,n,l,i,r))},r)}else t(null)},i.prototype.refreshMetadata=function(e){var t=this;t._updateUUIDsFromSAPI(e,void 0,!0)},i.prototype._onSAPI=function(e,t,n,i,a,s,d){var p=this;s=c.isNullOrUndefined(s)?!1:s,d=c.isNullOrUndefined(d)?!1:d;var _=null;if(e){_=e;var y,M=s?o.WARNING:o.ERROR,v=s?r.E_WARNING:r.E_PLAYER;y=e.message===l.JSONP_ERROR?s?r.PLAYER_CODES.E_PLAYER_CMS_JSONP_REQUEST_FAILURE_SILENT_FAIL:r.PLAYER_CODES.E_PLAYER_CMS_JSONP_REQUEST_FAILURE:e.message===l.JSONP_TIMED_OUT?s?r.PLAYER_CODES.E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT_SILENT_FAIL:r.PLAYER_CODES.E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT:e.code,_=new r.Error(v,y,{msg:null,debugMsg:a+" timeout: "+Date.now()+"; "+_.debugMessage,prefetch:d}),p._eventBus.publish(M,_)}else{var L;try{L=t.query.results.mediaObj,p._profiler.setEndTime(o.Metrics.SAPI_LOADCLIPS)}catch(e){_=new r.Error(r.E_PLAYER,r.PLAYER_CODES.E_PLAYER_CMS_RESPONSE),p._eventBus.publish(o.ERROR,_)}if(!_){var m=[];p._model.mediaStore.fillFromSapi(L,p._model.rendererTypes,p._model.capabilities,m),m.length&&u.warn("SAPI data errors encountered!")}p._model.CMS.colo=t.query?t.query.results.colo:"none",i?p._eventBus.publish(o.REFRESH_METADATA_AVAILABLE,n):p._model.mediaStore.notifyFetchFinished(n,_?_.code:null)}return _},i.prototype.prefetch=function(e,t){for(var n=this,i=!0,r=0,a=e.length;a>r;r++){var s=n._model.mediaStore.get(e[r]);if(!s||"has-data"!==s.state){i=!1;break}}return i?void n._eventBus.publish(o.API.METADATA_READY,e):(e.forEach(function(e){n._model.mediaStore.updateItemFromRaw({id:e})}),void n.updateMetadata(function(){},t,!0))},i.prototype.getRelatedVideos=function(e,t,n){var i=this,r=0,a=60;return n=n||function(){},0===e.relatedVideoIds.length||t?(r=e.relatedVideoIds.length,i._showFujiUI||(r=0,a=3),i._profiler.add(o.Metrics.SAPI_LOADRELATED),void i._sapi.loadRelated({start:r,count:a,uuid:e.id,width:i._model.ui.thumbnailDimensions.width||i._model.uiState.width,height:i._model.ui.thumbnailDimensions.height||i._model.uiState.height,region:i._model.baseConfig.region,site:i._model.baseConfig.site,lang:i._model.baseConfig.lang},function(t,r){if(t)return void n(t);var a;try{a=r.query.results.result[0].mediaObj}catch(t){return void n(t)}var s=[],l=i._model.mediaStore.fillFromSapi(a,i._model.rendererTypes,i._model.capabilities,s);return i._profiler.setEndTime(o.Metrics.SAPI_LOADRELATED),s.length?void n(s[0]):void i.updateMetadata(function(t){t?n(t):(e.relatedVideoIds&&e.relatedVideoIds.length>0?e.relatedVideoIds.concat(l):e.relatedVideoIds=l,n(null,e.relatedVideoIds))})})):void n(null)},i.prototype.getWatchLaterVideos=function(e,t){var n=this;t=t||function(){},n._sapi.loadWatchLater({count:e.count,start:e.start,region:n._model.baseConfig.region,site:n._model.baseConfig.site,lang:n._model.baseConfig.lang},function(e,i){if(e)return void t(e);var r;try{if(r=i.channel.result[0].videos,c.isNullOrUndefined(r))return void t(null);r.forEach(function(e){e.credits&&!e.credits.mainArtists&&delete e.credits})}catch(e){return void t(e)}var a=[],s=n._model.mediaStore.fillFromSapi(r,n._model.rendererTypes,n._model.capabilities,a);if(s.length>0){var u=n._model.userPreferences.watchLaterVideos.concat(s);u=l.uniquifyArray(u),n._model.userPreferences.watchLaterVideos=u,n._eventBus.publish(o.WATCH_LATER_VIDEOS_CHANGED,u)}n.updateMetadata(function(e){t(e?e:null)})})},i.prototype.updateUserPreferences=function(e){var t=this;t._sapi.updateUserPreferences(function(){},e)},i.prototype.getUserPreferences=function(){var e=this;if(e._model.userPreferences.isAuthenticated){if(e._model.userPreferences.closedCaptions.isAvailable&&!c.isNullOrUndefined(e._model.userPreferences.isAdult))return;var t=l.getSingleton("userPrefs");if(!c.isNullOrUndefined(t))return void e._updateUserPreferencesData(t);e._profiler.add(o.Metrics.GET_USER_PREFS),e._sapi.getUserPreferences(function(t,n){return t?void u.error("User preferences failed on SAPI call.",t):void(n.userprefs&&(e._profiler.setEndTime(o.Metrics.GET_USER_PREFS),e._updateUserPreferencesData(n.userprefs,!0)))})}},i.prototype._updateUserPreferencesData=function(e){var t=this,n=e[0]?e[0].closedcaptionprefs:null;if(t._model.userPreferences.isAdult=e[1]?e[1].isAdult:null,!n&&"Invalid_GUID"===e[0].err)return t._model.userPreferences.isAuthenticated=!1,void t._eventBus.publish(o.USER_AUTHENTICATED);if(t._model.userPreferences.isAuthenticated=!0,t._eventBus.publish(o.USER_AUTHENTICATED),n&&!n.err){var i;e[0].closedcaptionprefs.show=t._model.userPreferences.closedCaptions.show,a.fillFromConfig(t._model.getModelSchema().userPreferences.closedCaptions,e[0],t._model.userPreferences.closedCaptions,i),i||(t._model.userPreferences.closedCaptions.isAvailable=!0,t._eventBus.publish(o.CC.USER_STYLE_PREFERENCES_CHANGE),l.setSingleton("userPrefs",e))}},i.prototype.getRelatedVideosChannel=function(e,t,n){var i=this;n=n||function(){},i._sapi.loadRelatedVideosChannel({count:t.count||12,start:t.start||0,region:i._model.baseConfig.region,site:i._model.baseConfig.site,lang:i._model.baseConfig.lang,videoUuid:t.videoUuid},function(t,r){if(t)return void n(t);var o;try{if(o=r.channel.result[0].videos,c.isNullOrUndefined(o))return void n(null);o.forEach(function(e){e.credits&&!e.credits.mainArtists&&delete e.credits})}catch(t){return void n(t)}var a=[],s=i._model.mediaStore.fillFromSapi(o,i._model.rendererTypes,i._model.capabilities,a);i.updateMetadata(function(t){t?n(t):(s.length>0&&(e.relatedVideoIds=e.relatedVideoIds.concat(s),e.relatedVideoIds=l.uniquifyArray(e.relatedVideoIds)),n(null,s))})})},i.prototype.updateResume=function(e,t){var n=this,i=n._model.mediaStore.get(e);n._sapi.updateResume(e,t,!!i.series_id)},i.prototype.destroy=function(){var e=this;e._unsubNotifyFinished(),e._sapi.cancelAll()}},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","./error":18,"./event":"YJm+dH","./media-store":23,"./sapi":44,"./util":"jJTEqU"}],"./nextgen/src/metadata-fetcher.js":[function(e,t,n){t.exports=e("QCpdmG")},{}],26:[function(e,t,n){"use strict";function i(e){var t=this,n=("https:"===document.location.protocol?"https://sb":"http://b")+".scorecardresearch.com/p",i={rn:e.randomVal,C4:e.comscoreC4,C5:e.comscoreC5,C6:e.comscoreC6,C1:function(){return"1"},C2:function(){return"7241469"},cv:function(){return"2.0"}};t.sendOpts={baseUrl:n,target:"cs",paramGetters:i,beginningKeys:["C1","C2","C4","C5","C6","cv","rn"]},t.beaconMappings={PLAYBACK_START:{keys:[],data:{}},AD_START:{keys:[],data:{C5:"09"}}}}t.exports=i},{}],27:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._model=e,i._eventBus=t,i._commonFields=n;var o=e.metrics.skipComscore;if(i._streamSenseTag=o?function(){}:null,i._comscoreBeaconQueue=[],i._comscorePersistentLabels={},i._eventBus.subscribe(s.MEDIA_ITEM_LOADED,i._onMediaItemChanged,i),i._eventBus.subscribe(s.PLAYBACK_ENDED,i._onPlaybackComplete,i),i._eventBus.subscribe(s.Video.SEEKING,i._onPlaybackSeeking,i),i._eventBus.subscribe(s.Video.SEEKED,i._onPlaybackSeeked,i),i._eventBus.subscribe(s.Video.PAUSE,i._onPlaybackPaused,i),i._eventBus.subscribe(s.PLAYBACK_RESUMED,i._onPlaybackResumed,i),i._eventBus.subscribe(s.Video.WAITING,i._onWaiting,i),i._eventBus.subscribe(s.PLAYBACK_STARTED,i.setVideoClipLabels,i),i._eventBus.subscribe(s.Video.PLAYING,i._onPlaying,i),i._eventBus.subscribe(s.CONTROLS_SET_VOLUME,i._onVolumeChanged,i),i._eventBus.subscribe(s.AD_PLAYBACK_ENDED,i._onAdPlaybackComplete,i),i._eventBus.subscribe(s.AD_PLAYBACK_STARTED,i.setAdClipLabels,i),i._eventBus.subscribe(s.AD_PLAYBACK_PAUSED,i._onAdPaused,i),i._eventBus.subscribe(s.AD_PLAYBACK_RESUMED,i._onAdResumed,i),!o&&!p.tv){var c=r.getAssetUrl(e.isLocal(),e.version,l);window.ns_&&window.ns_.StreamSense?i._createStreamingTag():r.lazyLoad(c,u,function(e){return e?void a.warn("Failed to load comscore streamsense js:-"+e):void i._createStreamingTag()},o)}}t.exports=i;var r=e("../util"),o=e("../../../lib"),a=e("../../../lib/logger"),s=e("../event"),l="streamsense.min.js",c="scorecardresearch.com/p?c1=2&c2=7241469",u=1e4,d=e("./metrics-constants"),p=e("../../../lib/user-agent");i.prototype._createStreamingTag=function(){var e=this,t=("https:"===document.location.protocol?"https://sb.":"http://b.")+c;e._streamSenseTag=new window.ns_.StreamSense({},t),e._eventMap={play:window.ns_.StreamSense.PlayerEvents.PLAY,pause:window.ns_.StreamSense.PlayerEvents.PAUSE,buffer:window.ns_.StreamSense.PlayerEvents.BUFFER,end:window.ns_.StreamSense.PlayerEvents.END}},i.prototype._onMediaItemChanged=function(){var e=this,t=e._commonFields;e._currentIndex=0,e._contentIndex=null,e._partNumber=0;var n;switch(t.location()){case"3":n="Emb onNet";break;case"4":n="Emb offNet";break;default:n="onProp"}e.setComscorePersistentLabels(e._commonFields),e.addToComscoreQueue(function(){e.setPlaylist({y_lms:t.licenseId(),c6:t.comscoreC6(),y_sp:t.streamProtocol(),y_stype:t.streamType(),ns_st_pl:t.videoTitle(),ns_st_cs:t.dimensions(),y_st:t.site(),y_rg:t.region(),y_lc:n,y_pb:d.STRING_DEFAULT})})},i.prototype._onPlaybackSeeking=function(e){var t=this,n=e>0?e:t._commonFields.playbackPosition();t.addToComscoreQueue(function(){t.notifyState("pause",{ns_st_ui:"seeking"},(1e3*n).toString())})},i.prototype._onPlaybackSeeked=function(e){var t=this;t.addToComscoreQueue(function(){t.notifyState("play",{ns_st_ui:"seeking"},(1e3*e).toString())})},i.prototype._onWaiting=function(e){var t=this;if(!e||!e.ignoreBuffering&&e.value){var n=t._commonFields.playbackPosition();t.addToComscoreQueue(function(){t.notifyState("buffer",{},(1e3*n).toString())}),t._bufferingStart=!0}},i.prototype._onPlaying=function(){var e=this,t=e._commonFields.playbackPosition();e._bufferingStart&&(e.addToComscoreQueue(function(){e.notifyState("play",{},(1e3*t).toString())}),e._bufferingStart=!1)},i.prototype._onPlaybackComplete=function(e,t){var n=this,i=n._commonFields.playbackPosition(),r=n._model.playback.bitrate,o={ns_st_br:r.toString()};t&&(o.ns_st_pe="1"),n.addToComscoreQueue(function(){n.notifyState("end",o,(1e3*i).toString())})},i.prototype._onPlaybackPaused=function(){var e=this,t=e._commonFields.playbackPosition();e.addToComscoreQueue(function(){e.notifyState("pause",{},(1e3*t).toString())})},i.prototype._onPlaybackResumed=function(){var e=this,t=e._commonFields.playbackPosition();e.addToComscoreQueue(function(){e.notifyState("play",{},(1e3*t).toString())})},i.prototype._onAdPaused=function(){var e=this,t=e._commonFields.playbackPosition();e.addToComscoreQueue(function(){e.notifyState("pause",{},(1e3*t).toString())})},i.prototype._onVolumeChanged=function(e){var t=this;t.addToComscoreQueue(function(){t.updateClipAttrs({ns_st_vo:Math.round(100*e)})})},i.prototype._onAdResumed=function(){var e=this,t=e._commonFields.playbackPosition();e.addToComscoreQueue(function(){e.notifyState("play",{},(1e3*t).toString())})},i.prototype._onAdOrContentStarted=function(){var e=this,t=e._commonFields.playbackPosition();e.addToComscoreQueue(function(){var n=e._model.playback.bitrate,i={};0!==n&&(n=n.toString(),i.ns_st_br=n),e.notifyState("play",i,(1e3*t).toString())})},i.prototype._onAdPlaybackComplete=function(){var e=this,t=e._commonFields.adPlaybackPosition();e.addToComscoreQueue(function(){e.notifyState("end",{},(1e3*t).toString())})},i.prototype.setComscorePersistentLabels=function(){var e=this,t=e._commonFields,n=e._comscorePersistentLabels;n.ns_site="yahoo-video","dash"===t.rendererType()?n.ns_st_mp="dash":"html"===t.rendererType()?n.ns_st_mp="h":n.ns_st_mp="f",n.ns_st_mv=t.playerVersion(),n.c3="*null",n.c4=t.comscoreC4(),n.c7=t.pageUrl(),n.c9=t.pageReferrer(),e.addToComscoreQueue(function(){e.setPersistentLabels(n)})},i.prototype.setVideoClipLabels=function(){var e=this,t=e._commonFields,n="true"===t.autoplay()?"1":"0";o.isNullOrUndefined(e._contentIndex)&&(e._currentIndex++,e._contentIndex=e._currentIndex);var i={ns_st_pr:t.videoTitle(),ns_st_ep:t.videoShowName(),ns_st_ge:t.genre(),ns_st_cu:t.pageUrl(),ns_st_vo:Math.round(t.volumeLevel()),ns_st_ty:t.contentType(),ns_st_cn:e._contentIndex,ns_st_ci:t.videoId(),y_pid:t.providerId(),y_lbl:t.label(),ns_st_pn:++e._partNumber,y_art:t.mainArtist(),y_pvid:t.providerVideoId(),y_s:t.pageSpaceId(),y_c:t.cdn(),y_ap:n},r=t.videoLength(),a="vc11";if("na"!==r&&r>600&&(a="vc12"),t.isLive()){var s=t.eventBegin(),l=t.eventEnd();r=""!==s&&""!==l?l-s:null,i.ns_st_li="1",a="vc23"}i.ns_st_ct=a,i.ns_st_cl=r&&"na"!==r?(1e3*r).toString():d.INT_DEFAULT;var c=e._model.playbackState.looped;e.addToComscoreQueue(function(){c?e.setClip(i,!0):e.setClip(i)}),e._onAdOrContentStarted()},i.prototype.setAdClipLabels=function(){var e=this,t=e._commonFields,n="true"===t.autoplay()?"1":"0",i="va11",r=t.adId()||d.INT_DEFAULT,o=t.adPosition(),a=t.adDuration();t.isLive()?i="va21":"postroll"===o?i="va13":"midroll"===o&&(i="va12");var s={ns_st_ty:t.contentType(),ns_st_ct:i,ns_st_ad:"1",ns_st_pr:"ad",ns_st_ep:"ad",ns_st_cu:d.STRING_DEFAULT,ns_st_vo:Math.round(t.volumeLevel()),ns_st_cn:++e._currentIndex,ns_st_ci:r,ns_st_cl:a?(1e3*a).toString():d.STRING_DEFAULT,ns_st_pn:"1",y_pid:t.providerId(),y_lbl:t.label(),y_art:t.mainArtist(),y_pvid:t.providerVideoId(),y_s:t.pageSpaceId(),y_ap:n};e.addToComscoreQueue(function(){e.setClip(s)}),e._onAdOrContentStarted()},i.prototype.setPersistentLabels=function(e){var t=this;t._streamSenseTag.setLabels(e)},i.prototype.setPlaylist=function(e){var t=this;t._streamSenseTag.setPlaylist(e)},i.prototype.setClip=function(e){var t=this;t._streamSenseTag.setClip(e)},i.prototype.notifyState=function(e,t,n){var i=this;i._streamSenseTag.notify(i._eventMap[e],t,n)},i.prototype.updateClipAttrs=function(e){var t=this,n=t._streamSenseTag.getClip();n&&n.setLabels(e)},i.prototype._fireComscoreBeacons=function(){var e=this,t=e._comscoreBeaconQueue;t.forEach(function(e){e()}),e._comscoreBeaconQueue=[]},i.prototype.addToComscoreQueue=function(e){var t=this,n=t._comscoreBeaconQueue;n.push(e),t._streamSenseTag&&t._fireComscoreBeacons()}},{"../../../lib":"bRhrlU","../../../lib/logger":"IS9j5T","../../../lib/user-agent":"ty5FFo","../event":"YJm+dH","../util":"jJTEqU","./metrics-constants":29}],28:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._model=e,i._eventBus=t,i._commonFields=n;var c=e.metrics.skipComscore;i._streamTag=c?function(){}:null;var u=r.getAssetUrl(e.isLocal(),e.version,s);i._mediaMetrieQueue=[],i._position=0,i._eventBus.subscribe(a.PLAYBACK_STARTED,i._setVideoLabels,i),i._eventBus.subscribe(a.Video.TIMEUPDATE,i._onPlaybackProgress,i),i._eventBus.subscribe(a.PLAYBACK_ENDED,i._onPlaybackComplete,i),i._eventBus.subscribe(a.Video.PAUSE,i._onPlaybackPaused,i),i._eventBus.subscribe(a.PLAYBACK_RESUMED,i._onPlaybackResumed,i),i._eventBus.subscribe(a.Video.SEEKING,i._onPlaybackSeeking,i),i._eventBus.subscribe(a.Video.SEEKED,i._onPlaybackSeeked,i),i._eventBus.subscribe(a.MEDIA_ITEM_LOADED,i._onMediaItemLoaded,i),c||(window.eStatTag?i._mediaMetrieJSLoaded=!0:r.lazyLoad(u,l,function(e){return e?void o.warn("Failed to load mediaMetrie js:-"+e):void(i._mediaMetrieJSLoaded=!0)},c))}t.exports=i;var r=e("../util"),o=e("../../../lib/logger"),a=e("../event"),s="mu-yahoo-integration-5.0.js",l=1e4,c=e("./metrics-constants"),u=220020212974;i.prototype._onMediaItemLoaded=function(){var e=this;e._mediaMetrieJSLoaded&&e._createTags()},i.prototype._createTags=function(){var e=this;e._streamTag&&(e._streamTag=null,e.confStreamingAnalyticsMediametrie=null),e.confStreamingAnalyticsMediametrie={serial:e._getSerial(),measure:"streaming",levels:{level_1:"",level_2:"",level_3:"",level_4:"",level_5:""},streaming:{diffusion:"replay",callbackPosition:function(){return e._position},playerObj:e._model.guid,streamDuration:"",playerName:"yahoo video player",playerVersion:e._model.version,streamName:"",streamURL:"",streamGenre:""}},e._mediaMetrieJSLoaded&&(e._streamTag=new window.eStatTag(e.confStreamingAnalyticsMediametrie))},i.prototype._getSerial=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=t&&t.metrics.mediametrie;return n?n:u},i.prototype._setVideoLabels=function(){var e=this,t=e._commonFields;e.addToMediaMetrieQueue(function(){var n=e.confStreamingAnalyticsMediametrie;if(n){n.serial=e._getSerial(),n.levels.level_1=t.site(),n.levels.level_2=t.providerId(),n.levels.level_3=t.licenseId(),n.levels.level_4=t.mediaMetaTags(),t.isLive()&&(n.levels.diffusion="live");var i=t.videoLength();n.streaming.streamDuration=i&&"na"!==i?i.toString():c.INT_DEFAULT,n.streaming.streamName=t.videoTitle(),n.streaming.streamGenre=t.genre(),n.streaming.streamURL=t.pageUrl(),e.setLabels(n)}});var n=t.playbackPosition();e.addToMediaMetrieQueue(function(){e.notifyState("play",n.toString())})},i.prototype._onPlaybackProgress=function(e){var t=this,n=t._commonFields;t._position=parseInt(e),t.addToMediaMetrieQueue(function(){var e=t.confStreamingAnalyticsMediametrie;e&&n.isLive()&&(e.levels.diffusion="timeshifting",t.setLabels(e))})},i.prototype._onPlaybackComplete=function(){var e=this,t=e._commonFields,n=t.playbackPosition();e.addToMediaMetrieQueue(function(){e.notifyState("stop",n.toString())})},i.prototype._onPlaybackPaused=function(){var e=this,t=e._commonFields,n=t.playbackPosition();e.addToMediaMetrieQueue(function(){e.notifyState("pause",n.toString())})},i.prototype._onPlaybackResumed=function(){var e=this,t=e._commonFields,n=t.playbackPosition();e.addToMediaMetrieQueue(function(){e.notifyState("play",n.toString())})},i.prototype._onPlaybackSeeking=function(e){var t=this,n=t._commonFields,i=e>0?e:n.playbackPosition();t.addToMediaMetrieQueue(function(){t.notifyState("pause",i.toString())})},i.prototype._onPlaybackSeeked=function(e){var t=this;t._model.playbackState.paused||t.addToMediaMetrieQueue(function(){t.notifyState("play",e.toString())})},i.prototype.setLabels=function(e){var t=this;t._streamTag.set(e)},i.prototype.notifyState=function(e,t){var n=this;n._position=parseInt(t),n._streamTag.notifyPlayer(e,n._position)},i.prototype._fireMediaMetrieBeacons=function(){var e=this;e._mediaMetrieQueue.forEach(function(e){e()}),e._mediaMetrieQueue=[]},i.prototype.addToMediaMetrieQueue=function(e){var t=this,n=t._mediaMetrieQueue;n.push(e),t._streamTag&&t._fireMediaMetrieBeacons()}},{"../../../lib/logger":"IS9j5T","../event":"YJm+dH","../util":"jJTEqU","./metrics-constants":29}],29:[function(e,t,n){"use strict";t.exports={PROGRESS_INTERVAL:10,TRUE_STREAMS_INTERVAL:3,QUARTILE_PROGRESS_INTERVAL:25,BEACON_HIDE_VALUE:{},BEACON_HIDE_KEY_VALUE:{},STRING_DEFAULT:"none",INT_DEFAULT:""}},{}],30:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._model=e,i._eventBus=t,i._profiler=n,i._eventBus.subscribe(p.PLAYBACK_INIT,i._onPlaybackInit,i),i._eventBus.subscribe(p.START_SCREEN_RENDERED,i._onStartScreenRendered,i),i._eventBus.subscribe(p.HLS_FIRST_TS_LOAD_START,i._onContentFirstTSLoadStart,i),i._eventBus.subscribe(p.HLS_FIRST_TS_FIRST_BYTE_ARRIVE,i._onContentFirstTSFirstByteArrive,i),i._eventBus.subscribe(p.PLAYBACK_STARTED,i._onContentStarted,i),i._eventBus.subscribe(p.PLAYBACK_REQUEST,i._onPlaybackRequested,i),i._eventBus.subscribe(p.PLAYBACK_RESUMED,i._onPlaybackResumed,i),i._eventBus.subscribe(p.PLAYBACK_STALLED,i._onPlaybackStalled,i),i._eventBus.subscribe(p.API.UI_INTERACT,i._onUIInteraction,i),i._eventBus.subscribe(p.VIDEO_APPS_LOADED,i._onVideoAppsLoaded,i),i._eventBus.subscribe(p.API.BITRATE_CHANGE,i._onBitrateChange,i),i._eventBus.subscribe(p.FRAGMENT_METRICS_AVAILABLE,i._onBufferInfo,i),i._eventBus.subscribe(p.CTRL_PLAYPAUSE,i._onCtrlPlayPause,i),i._eventBus.subscribe(p.CTRL_SEEK,i._onSeek,i),i._eventBus.subscribe(p.CTRL_VOLUME,i._onVolume,i),i._eventBus.subscribe(p.CTRL_FULLSCREEN,i._onFullscreen,i),i._eventBus.subscribe(p.CTRL_SETTINGS,i._onSettings,i),i._eventBus.subscribe(p.CTRL_PLAYREQUEST,i._onCtrlPlayRequest,i),i._eventBus.subscribe(p.CC.UI_TOGGLE,i._onCCTog,i),i._eventBus.subscribe(p.CC.LANGUAGE_CHANGE,i._onCCLang,i),i._eventBus.subscribe(p.CC.UPDATE_STYLE,i._onCCStyle,i),i._eventBus.subscribe(p.CC.SETTINGS,i._onCCSettings,i),i._eventBus.subscribe(p.CTRL_AGEGATE_BDAY,i._onAgeBday,i),i._eventBus.subscribe(p.CTRL_SHARE,i._onShare,i),i._eventBus.subscribe(p.CTRL_REPLAY,i._onReplay,i),i._eventBus.subscribe(p.QUALITY_SELECTED,i._onQualitySelected,i),i._eventBus.subscribe(p.WL_CHANGE_REQUEST,i._onWatchLaterUpdate,i),i._eventBus.subscribe(p.CTRL_TIMER,i._onTimerUpdate,i),i._eventBus.subscribe(p.UI_LOGIN,i._onUILogin,i),i._eventBus.subscribe(p.CTRL_ENDSCREEN_VID,i._onSelectedEndscreenVideo,i),i._eventBus.subscribe(p.Video.LOADEDDATA,i._onVideoLoadedData,i),i._eventBus.subscribe(p.Video.TIMEUPDATE,i._onPlaybackProgress,i),i._eventBus.subscribe(p.PLAYBACK_ENDED,i._onPlaybackComplete,i),i._eventBus.subscribe(p.Video.PAUSE,i._onPlaybackPaused,i),i._eventBus.subscribe(p.Video.SEEKING,i._onPlaybackSeeking,i),i._eventBus.subscribe(p.Video.SEEKED,i._onPlaybackSeeked,i),i._eventBus.subscribe(p.Video.WAITING,i._onWaiting,i),i._eventBus.subscribe(p.AD_METRICS,i._onAdMetrics,i),i._eventBus.subscribe(p.AD_PLAYBACK_STARTED,i._onAdPlaybackStarted,i),i._eventBus.subscribe(p.AD_PLAYBACK_PROGRESS,i._onAdPlaybackProgress,i),i._eventBus.subscribe(p.AD_PLAYBACK_ENDED,i._onAdPlaybackComplete,i),i._eventBus.subscribe(p.AD_PLAYBACK_ERROR,i._onAdError,i),i._eventBus.subscribe(p.RENDERER_PLUGIN_LOADED,i._onRendererPluginLoaded,i),i._eventBus.subscribe(p.RENDERER_PLUGIN_LOAD_FAILED,i._onRendererPluginLoadFailed,i),i._eventBus.subscribe(p.RENDERER_PLUGIN_LOAD_TIMED_OUT,i._onRendererPluginLoadTimedOut,i),i._rendererPluginLoadStatus=0,i._rootElem=null,i._renderer=null,i._eventBus.subscribe(p.ERROR,i._onError,i),i._eventBus.subscribe(p.WARNING,i._onWarning,i),i._eventBus.subscribe(p.API.PLAYBACK_TIMEOUT,i._onError,i),i._commonFields=i._getCommonFieldsTable(),i._continuousPlayCount=0,i._guid=i._model.guid,i._trueStreamsProgressFired=!1,i._trueStreamsAdProgressFired=!1,i._totalWatchedPlaybackTime=0,i._totalBufferingTime=0,i._bufferInfo=[],i._qosBufferInfo=[],i._systems=[],i._guidMap={},i._videoQuartile=0,i._adQuartile=0,Math.random()<=i._model.metrics.ywaSamplingRate&&i._systems.push(new L(i._commonFields)),Math.random()<=i._model.metrics.ultSamplingRate&&i._systems.push(new m(i._commonFields)),Math.random()<=i._model.metrics.qosSamplingRate&&i._systems.push(new E(i._commonFields)),"vidible"===i._model.baseConfig.syndication&&i._systems.push(new g(i._commonFields)),i._systems.push(new T(i._commonFields)),i._systems.push(new A(i._commonFields)),i._templateMetrics=new r(e,i._commonFields),i._comscoreMetrics=new b(e,i._eventBus,i._commonFields),"FR"===i._model.baseConfig.region.toUpperCase()&&(i._mediaMetrie=new I(e,i._eventBus,i._commonFields)),i._sendPageView(),i._sendPlayerLoaded()}function r(e,t){var n=this;n._model=e,n._paramGetters={RANDOM_VALUE:t.randomVal,PLAYLIST_INDEX:t.playlistPosition,VOLUME_LEVEL:t.volumeLevel,DEVICE_NAME:t.deviceName,MAKE:t.deviceMake,MODEL:t.deviceModel,OS:t.deviceOS,AD_ID:t.adId,AD_LOADED:function(){return t.adLoaded()?"yes":"no"},AD_TYPE:t.adType,EVT_NAME:function(e){switch(e){case"PLAYBACK_START":case"AD_START":return"play";case"PLAYBACK_PAUSE":return"pause";case"PLAYBACK_COMPLETE":case"AD_COMPLETE":return"end";default:return"unknown"}}}}function o(e,t){return y.strSubstitute(e,function(e){var n=t(e);return null!==n?n:(v.error("Metrics: unknown substitution key: "+e),"")})}function a(e,t,n,i,r){var o=n.beginningKeys||[],a=n.endKeys||[],l=n.paramGetters,c=[].concat(o,e,a),u=[];c.forEach(function(e){var n;if(n=e in t?t[e]:e in l?l[e]():null,M.isNullOrUndefined(n)&&(v.error("Metrics: missing data for beacon key: "+e),n=C.BEACON_HIDE_KEY_VALUE),n===C.BEACON_HIDE_VALUE&&(n=null),n!==C.BEACON_HIDE_KEY_VALUE){var i={};i[e]=n,u.push(i)}});var d=n.baseUrl+"?"+y.querystring(u,"&","=",s);return i&&(d+=i),n.iFrameBeacon?y.sendIframeBeacon(d):(y.sendImageBeacon(d),void r.publish(p.API.BEACON_SEND,{
  url:d,date:new Date}))}function s(e){return encodeURIComponent(e).replace(/[!'()]/g,escape).replace(/\*/g,"%2A")}function l(e){return M.isBoolean(e)&&(e=e?"1":"0"),M.isArray(e)&&(e=e.toString()),e&&""!==e?e:C.STRING_DEFAULT}function c(){try{return window.top.document}catch(e){return null}}function u(e){return e=d(e),e?e.split("?")[0]:""}function d(e){return e?e.replace(/(_ylt(.)+(\?)|_ylt(.)+)/,"?"):e}t.exports={Metrics:i};var p=e("../event"),_=e("../../../lib/user-agent"),y=e("../util"),M=e("../../../lib"),v=e("../../../lib/logger"),L=e("./ywa-metrics"),m=e("./ult-metrics"),E=e("./qos-metrics"),g=e("./vidible-metrics"),A=e("./sizmek-metrics"),T=e("./comscore-metrics"),b=e("./comscore"),I=e("./media-metrie"),C=e("./metrics-constants");i.prototype._createClipGuid=function(e){var t=this,n=Math.floor(4294967295*Math.random());return e&&!t._guidMap[e.id]&&(t._guidMap[e.id]=n),n},i.prototype._getCommonFieldsTable=function(){var e=this,t=e._model,n=function(){return t.playlist.getCurrentItem()},i=function(t){var n=e._profiler.getItem(t);return n&&!M.isNullOrUndefined(n.timeDiff)?n.timeDiff:C.INT_DEFAULT},r={yvapID:function(){return e._model.YVAP&&e._model.YVAP.accountId?e._model.YVAP.accountId:""},currVolume:function(){return e._model.playbackState.volume},tsapic:function(){var t=e._profiler.getItem(p.Metrics.SAPI_REQUEST);return t&&t.timeDiff&&0!==t.timeDiff?t.timeDiff:""},sapiColo:function(){return e._model.CMS.colo||""},flashVersion:function(){return e._renderer&&"flash"===e._model.playbackState.rendererType?e._renderer.getFlashVersion().join("."):"na"},site:function(){var e=t.baseConfig.siteAnalytics.toLowerCase();return l(e?e.toLowerCase():t.baseConfig.site.toLowerCase())},region:function(){return l(t.baseConfig.region.toLowerCase())},autoplay:function(){return t.playback.autoplay?"true":"false"},dimensions:function(){return t.uiState.width+"x"+t.uiState.height},videoSeqNum:function(){return e._seqNum},isLive:function(){var e=n();return e&&e.isLive()?1:0},isResume:function(){return t.playback.isResume?1:0},liveState:function(){var e=n();return e&&e.liveState?e.liveState:""},bitrate:function(){return t.playback.bitrate},quality:function(){return t.playback.quality},continuousPlay:function(){return t.playback.continuousPlay?1:0},continuousPlayCount:function(){return e._continuousPlayCount},location:function(){return y.isOffNetwork()?4:y.isIFrame()?3:1},offNetwork:function(){return y.isOffNetwork()?1:C.BEACON_HIDE_KEY_VALUE},lang:function(){return t.baseConfig.lang.toLowerCase()},licensorName:function(){var e=n();return l(e?e.license.licensorName:null)},licenseId:function(){var e=n();return e?e.license.licenseId:C.INT_DEFAULT},videoId:function(){var e=n();return e?e.id:C.INT_DEFAULT},videoTitle:function(){var e=n();return l(e?e.title:null)},videoShowName:function(){var e=n();return l(e?e.showName||e.license.licenseName:null)},videoQuartile:function(t){return t===!0?e._adQuartile:e._videoQuartile},playbackPosition:function(){return Math.round(e._playbackPosition)},adPlaybackPosition:function(){return Math.round(e._adPlaybackPosition)},seqStart:function(){return Math.round(e._seqStart)},playerInt32Guid:function(){return e._guid},clipGuid:function(){return e._clipGuid||""},masterPlayerInt32Guid:function(){return e._masterPlayerGuid},videoLength:function(){var e=n();return l(e?e.duration:null)},pageTitle:function(){var e=c();return e?e.title:C.STRING_DEFAULT},pageUrl:function(){return d(y.getHostUrl())},eventBegin:function(){var e=n();return e&&e.eventBeginTime?e.eventBeginTime:""},eventEnd:function(){var e=n();return e&&e.eventEndTime?e.eventEndTime:""},pageReferrer:function(){var e=c();return e?u(e.referrer):C.STRING_DEFAULT},streamProtocol:function(){var e=n(),t=e?e.streams[0]:null;return l(t?t.url.split(":")[0]:null)},streamType:function(){var e=n();return e?e.getType():"none"},errorCode:function(){for(var e=t.errors,n=0;n<e.length;n++)if(e[n].code)return e[n].code;return 100},syndication:function(){return t.baseConfig.syndication},playerVersion:function(){return t.version},experienceName:function(){return t.baseConfig.experienceName.toLowerCase()},experienceType:function(){return t.baseConfig.experienceType.toLowerCase()},experienceBucket:function(){return t.baseConfig.experienceBucket},playListId:function(){return l(t.playlist.id)},jurisdiction:function(){return t.baseConfig.jurisdiction},randomVal:function(){return Math.random()},pageSpaceId:function(){return t.baseConfig.pageSpaceId||C.INT_DEFAULT},videoSpaceId:function(){var e=n();return e?e.metrics.pageSpaceId:C.INT_DEFAULT},percentWatched:function(e,t){return t>0?Math.floor(100*e/t):0},ccode:function(){return t.metrics.ccode},sec:function(){return t.metrics.sec},cpos:function(){return t.metrics.cpos},comscoreC4:function(){return t.metrics.comscoreC4},comscoreC5:function(){var e=n();return e?e.metrics.comscoreC5:C.INT_DEFAULT},comscoreC6:function(){var e=n();return e?e.metrics.comscoreC6:C.INT_DEFAULT},rendererType:function(){return t.playbackState.rendererType||C.STRING_DEFAULT},playerType:function(){return"nextgen-desktop"},jsDownloadTime:function(){return l(t.pageLatency.pagePlayerJsDownloadTime)},providerId:function(){var e=n();return e&&e.provider.providerId?e.provider.providerId:C.INT_DEFAULT},providerVideoId:function(){var e=n();return e&&e.provider.providerVideoId?e.provider.providerVideoId:C.INT_DEFAULT},publisherId:function(){var e=n();return l(e?e.provider.publisherId:null)},genre:function(){var e=n();return l(e&&e.genres.length?e.genres[0]:null)},syndicationId:function(){return t.baseConfig.syndication.split("-")[0]},mainArtist:function(){var e=n();return l(e&&e.credits.mainArtists.length?e.credits.mainArtists[0]:null)},label:function(){var e=n();return l(e&&e.credits?e.credits.label:null)},tripleplay:function(){var e=n();return e&&"tripleplay"===e.provisioningSource?1:C.INT_DEFAULT},playlistPosition:function(){return t.playlist.position},volumeLevel:function(){return t.playbackState.mute?0:100*t.playbackState.volume},deviceName:function(){return f.name},deviceMake:function(){return f.make},deviceModel:function(){return f.model},deviceOS:function(){return f.os},adId:function(){var e=t.playbackState.ad;return l(e?e.adId:null)},adDuration:function(){var e=t.playbackState.ad;return l(e?e.duration:null)},adPosition:function(){var e=t.playbackState.ad;return l(e?e.position:null)},adLoaded:function(){return!!t.playbackState.ad},adType:function(){var e=t.playbackState.ad;return l(e?e.position:null)},mediaMetaTags:function(){var e=n();return l(e?e.metrics.ywa:null)},isDrm:function(){var e=n();return l(e?e.hasDrmStreams():null)},playSession:function(){var e=n();return e&&e.playSession?e.playSession:C.STRING_DEFAULT},isMature:function(){var e=n();return e&&"none"!==e.ageGate?1:0},isMute:function(){return t.playbackState.mute?"m":"um"},cdn:function(){var e=n(),t=e?e.getCDN():null;return t?t:"uncalculated"},contentType:function(){return e._getContentType()},playerLocation:function(){var e=y.isOffNetwork()?4:y.isIFrame()?3:1;switch(e){case"3":return"Emb onNet";case"4":return"Emb offNet";default:return"onProp"}},ucLatency:function(){var t=e._profiler.getItem(p.Metrics.CLICK_TO_START),n=t?t.timeDiff:null;return n?n:""},apLatency:function(){var t=e._profiler.getItem(p.Metrics.INIT_TO_START),n=t?t.timeDiff:null;return n?n:""},viewability:function(){return e.viewability+"%"},playbackWatchedTime:function(){return Math.round(e._totalWatchedPlaybackTime)},bufferingTime:function(){return Math.round(e._totalBufferingTime)},rendererPluginLoadStatus:function(){return e._rendererPluginLoadStatus},loadFirstFragmentTime:function(){var t=e._profiler.getItem(p.Metrics.HLS_FIRST_TS_LOAD_START),n=t?t.timeDiff:null;return n?n:C.INT_DEFAULT},firstByteFirstFragmentTime:function(){var t=e._profiler.getItem(p.Metrics.HLS_FIRST_TS_FIRST_BYTE_ARRIVE),n=t?t.timeDiff:null;return n?n:C.INT_DEFAULT},mmActivityId:function(){var e=n();return e.metrics.mmActivityId},wrapInFn:function(e){return function(){return e}},hostingEnv:function(){var e=y.getSingleton("PlayerHosting");return e&&e.env?e.env:t.isLocal()?"l":"p"},hostingBucket:function(){var e=y.getSingleton("PlayerHosting");return e&&e.bucket?e.bucket:C.STRING_DEFAULT},hostingColo:function(){var e=y.getSingleton("PlayerHosting");return e&&e.colo?e.colo:C.STRING_DEFAULT},algo:function(){var e=n();if(e){if(e.relatedVideoIds.length){var i=t.mediaStore.get(e.relatedVideoIds[0]);return i.algo?i.algo:i.instrument?i.instrument:""}return e.algo?e.algo:e.instrument?e.instrument:""}return null},displayMode:function(){return e.fullScreenMode?"full":"window"},constructLatency:function(){return i(p.Metrics.VP_CONSTRUCTOR)},renderCreateLatency:function(){return i(p.Metrics.CREATE_RENDERER)},sapiLatency:function(){return i(p.Metrics.SAPI_REQUEST)},swfLatency:function(){return i(p.Metrics.SWF_READY)},initToSapiLatency:function(){return i(p.Metrics.INIT_TO_SAPI)},renderToSwfLatency:function(){return i(p.Metrics.RENDER_TO_SWF)},initRenderGapLatency:function(){return i(p.Metrics.INIT_RENDER_GAP)},ccPrefLatency:function(){return i(p.Metrics.GET_USER_PREFS)},hlsPlaylistLatency:function(){return i(p.Metrics.LOAD_TO_LOADED_DATA)},streamLatency:function(){return i(p.Metrics.STREAM_REQUEST_TO_RENDER)},playToRenderLatency:function(){return i(p.Metrics.STREAM_PLAY_TO_RENDER)},bufferInfo:function(){var t=e._bufferInfo.length>3?3:e._bufferInfo.length;return JSON.stringify({seg:e._bufferInfo.splice(0,t)})},qosBufferInfo:function(){var t=e._qosBufferInfo.length>3?3:e._qosBufferInfo.length;return JSON.stringify({seg:e._qosBufferInfo.splice(0,t)})},watchPercent:function(){var t=n(),i=t&&t.duration>0?Math.round(100*e._totalWatchedPlaybackTime/t.duration):"";return i>100?100:i}};return r},i.prototype.setRootElem=function(e){var t=this;t._rootElem=e},i.prototype.setFlashRenderer=function(e){var t=this;t._renderer=e},i.prototype._sendBeacon=function(e){var t=this,n=Array.prototype.slice.call(arguments,1),i=[],r=null;n.length>0&&(i=[n[0].data],r=n[0].fireCriteria),t._systems.forEach(function(n){var o=n.beaconMappings[e];if(o){var s=t._model.playlist,l=s?s.getCurrentItem():null;if(!n.shouldFire||n.shouldFire(l)!==!1){var c=o.keys;M.isFunction(c)&&(c=c.apply(n,i));var u=o.data;M.isFunction(u)&&(u=u.apply(n,i));var d=y.extend({},n.sendOpts);if(o.overrideBaseKeys&&(d.beginningKeys=d.endKeys=[]),o.baseUrl&&(d.baseUrl=o.baseUrl),l){var p,_=l.metrics.beacons;if(e in _)for(var v=l.metrics.beacons[e]||[],L=0;L<v.length;L++){var m=v[L];if(m.target===d.target&&m.addParam){p=t._generateStackedBeaconParams(m.addParam);break}}}(!r||o.firingCriteria.indexOf(r)>=0)&&a(c,u,d,p,t._eventBus)}}}),t._templateMetrics.sendBeacon(e,i)},i.prototype._generateStackedBeaconParams=function(e){var t=this,n=t._commonFields;return M.isString(e)?e.replace("{COMSCORE_C4}",n.comscoreC4()).replace("{COMSCORE_C5}",n.comscoreC5()).replace("{COMSCORE_C6}",n.comscoreC6()):null},i.prototype._sendPageView=function(){var e=this,t=y.getSingleton("Metrics");t||(t={},y.setSingleton("Metrics",t)),t.PageView?e._masterPlayerGuid=t.MasterPlayer:(e._masterPlayerGuid=e._guid,t.MasterPlayer=e._masterPlayerGuid,t.PageView=!0,e._sendBeacon("PAGE_VIEW"))},i.prototype._onPlaybackInit=function(){var e=this;e._sendBeacon("PLAYBACK_INIT")},i.prototype._onCtrlPlayRequest=function(){var e=this;e._sendBeacon("CTRL_PLAYREQUEST")},i.prototype._sendPlayerLoaded=function(){var e=this;e._sendBeacon("PLAYER_LOADED")},i.prototype._onStartScreenRendered=function(){var e=this;e._profiler.setEndTime(p.Metrics.INIT_TO_STARTSCREEN);var t=e._profiler.getItem(p.Metrics.INIT_TO_STARTSCREEN);t&&e._sendBeacon("INIT_TO_STARTSCREEN",{data:t.timeDiff})},i.prototype._onVideoLoadedData=function(){var e=this;e._videoLoadedFired||(e._sendBeacon("VIDEO_LOADEDDATA"),e._videoLoadedFired=!0)},i.prototype._onPlaybackRequested=function(){var e=this;e._seeking=!1,e._playbackPosition=0,e._lastProgressBeaconPosition=e._playbackPosition,e._totalWatchedPlaybackTime=0,e._totalBufferingTime=0,e._seqNum=1,e._seqStart=e._playbackPosition,e._continuousPlayCount++},i.prototype._onUIInteraction=function(e){var t=this;t._sendBeacon("UI_INTERACT",{data:e.srcElement})},i.prototype._onSeek=function(e){var t=this;t._sendBeacon("CTRL_SEEK",{data:e?e:""})},i.prototype._onVolume=function(e){var t=this,n=t._model.playbackState.volume;n!==e&&t._sendBeacon("CTRL_VOLUME",{data:e})},i.prototype._onCCTog=function(e){var t=this;t._sendBeacon("CC_TOGGLE",{data:e?"1":"0"})},i.prototype._onCCLang=function(e){var t=this;t._sendBeacon("CC_LANG",{data:e?e:"na"})},i.prototype._onCCStyle=function(e){var t=this;t._sendBeacon("CC_STYLE",{data:e?e:"na"})},i.prototype._onCCSettings=function(){var e=this;e._sendBeacon("CC_SETTINGS")},i.prototype._onAgeBday=function(){var e=this;e._sendBeacon("CTRL_AGEGATE_BDAY")},i.prototype._onFullscreen=function(e){var t=this;t.fullScreenMode="ON"===e,t._sendBeacon("FULLSCREEN",{data:e})},i.prototype._onSettings=function(){var e=this;e._sendBeacon("CTRL_SETTINGS")},i.prototype._onShare=function(e){var t=this;t._sendBeacon("CTRL_SHARE",{data:e})},i.prototype._onQualitySelected=function(e){var t=this;t._sendBeacon("QUALITY_SELECTED",{data:e.preference})},i.prototype._onReplay=function(){var e=this;e._sendBeacon("CTRL_REPLAY")},i.prototype._onWatchLaterUpdate=function(e){var t=this,n="";"add"===e.operation?n="1":"delete"===e.operation&&(n="0"),t._sendBeacon("WL_CHANGE_REQUEST",{data:n})},i.prototype._onTimerUpdate=function(e){var t=this;t._sendBeacon("CTRL_TIMER",{data:e})},i.prototype._onUILogin=function(e){var t=this;t._sendBeacon("UI_LOGIN",{data:e})},i.prototype._onSelectedEndscreenVideo=function(e){var t=this;t._sendBeacon("CTRL_ENDSCREEN_VID",{data:e})},i.prototype._updatePlayerViewability=function(){var e=this,t=e._rootElem,n=t.getElementsByClassName("yvp-main");e.viewability=y.getElementViewability(n[0])},i.prototype._onContentFirstTSLoadStart=function(){var e=this,t=e._profiler.getItem(p.Metrics.HLS_FIRST_TS_LOAD_START);t&&null===t.endTime&&(e._profiler.setEndTime(p.Metrics.HLS_FIRST_TS_LOAD_START),e._profiler.add(p.Metrics.HLS_FIRST_TS_FIRST_BYTE_ARRIVE))},i.prototype._onContentFirstTSFirstByteArrive=function(){var e=this,t=e._profiler.getItem(p.Metrics.HLS_FIRST_TS_FIRST_BYTE_ARRIVE);t&&null===t.endTime&&e._profiler.setEndTime(p.Metrics.HLS_FIRST_TS_FIRST_BYTE_ARRIVE)},i.prototype._onContentStarted=function(e,t){var n=this;t&&(n._playbackPosition=t);var i=n._profiler.getItem(p.Metrics.PLAYBACK_START);i&&null===i.endTime&&(n._profiler.setEndTime(p.Metrics.PLAYBACK_START),n._onAdOrContentStarted(),n._clipGuid=n._createClipGuid(n._model.playlist.getCurrentItem()),n._updatePlayerViewability(),n._sendBeacon("PLAYBACK_START",{data:i.timeDiff}))},i.prototype._getContentType=function(){var e,t=this,n=t._commonFields,i=n.isLive()?"live":n.adLoaded()?"ad":"",r=n.adPosition();switch(i){case"ad":e="ad pre-roll","postroll"===r?e="ad post-roll":"midroll"===r&&(e="ad mid-roll");break;case"live":e=n.liveState()||"live";break;default:e="vod short";var o=t._model.playlist.getCurrentItem();if(!o)break;var a=n.videoLength();o.isCCM?"na"!==a&&a>600&&(e="vod long"):e="streamurl"}return e},i.prototype._onAdOrContentStarted=function(){var e=this,t={},n=e._profiler.getItem(p.Metrics.LOAD_TO_LOADED_DATA);n&&(t[p.Metrics.LOAD_TO_LOADED_DATA.type]=n.timeDiff);var i=e._profiler.getItem(p.Metrics.DRM_METADATA_IS_SET);i&&(t[p.Metrics.DRM_METADATA_IS_SET.type]=i.timeDiff);var r=e._profiler.getItem(p.Metrics.DRM_AUTH_COMPLETE);r&&(t[p.Metrics.DRM_AUTH_COMPLETE.type]=r.timeDiff);var o=e._profiler.getItem(p.Metrics.STREAM_REQUEST_TO_RENDER);o&&(t[p.Metrics.STREAM_REQUEST_TO_RENDER.type]=o.timeDiff),e._trueStreamsProgressFired=!1,e._trueStreamsAdProgressFired=!1;var a=e._profiler.getItem(p.Metrics.CLICK_TO_START);if(a&&null===a.endTime){e._profiler.setEndTime(p.Metrics.CLICK_TO_START),t[p.Metrics.CLICK_TO_START.type]=a.timeDiff;var s=a.timeDiff;e._sendBeacon("CLICK_TO_START",{data:t}),e._comscoreMetrics.addToComscoreQueue(function(){e._comscoreMetrics.updateClipAttrs({y_ucl:s?s.toString():C.INT_DEFAULT})})}var l=e._profiler.getItem(p.Metrics.INIT_TO_START);if(l&&null===l.endTime){e._profiler.setEndTime(p.Metrics.INIT_TO_START),t[p.Metrics.INIT_TO_START.type]=l.timeDiff,e._sendBeacon("INIT_TO_START",{data:t});var c=l.timeDiff;e._comscoreMetrics.addToComscoreQueue(function(){e._comscoreMetrics.updateClipAttrs({y_apl:c?c.toString():C.INT_DEFAULT})})}},i.prototype._getVideoQuartile=function(e,t){var n=this,i=n._commonFields,r=i.percentWatched(e,t);return Math.floor(r/C.QUARTILE_PROGRESS_INTERVAL)},i.prototype._onPlaybackProgress=function(e){var t=this;if(!t._seeking){var n=t._model.playlist.getCurrentItem(),i=n?n.duration:0,r=e-t._playbackPosition;r&&(t._totalWatchedPlaybackTime+=r),t._playbackPosition=e,t._bufferingStart&&(t._bufferingStart=!1,t._totalBufferingTime+=Date.now()-t._bufferingStartTime);var o=t._getVideoQuartile(e,i);o&&o!==t._videoQuartile&&(t._videoQuartile=o,t._sendBeacon("PLAYBACK_PROGRESS",{fireCriteria:C.QUARTILE_PROGRESS_INTERVAL})),!t._trueStreamsProgressFired&&t._totalWatchedPlaybackTime>=C.TRUE_STREAMS_INTERVAL?(t._trueStreamsProgressFired=!0,t._updatePlayerViewability(),t._sendBeacon("PLAYBACK_PROGRESS",{fireCriteria:C.TRUE_STREAMS_INTERVAL}),t._sendBeacon("PLAYBACK_STREAM_START",{fireCriteria:C.TRUE_STREAMS_INTERVAL}),t._sendBeacon("VIDEO_STREAMS"),t._totalBufferingTime=0):t._totalWatchedPlaybackTime>=t._lastProgressBeaconPosition+C.PROGRESS_INTERVAL&&(t._lastProgressBeaconPosition+=C.PROGRESS_INTERVAL,t._updatePlayerViewability(),t._sendBeacon("PLAYBACK_PROGRESS",{fireCriteria:C.PROGRESS_INTERVAL}),t._totalBufferingTime=0)}},i.prototype._onAdPlaybackProgress=function(e,t){var n=this,i=n._commonFields;n._adPlaybackPosition=t,!n._trueStreamsAdProgressFired&&t>=C.TRUE_STREAMS_INTERVAL?(n._trueStreamsAdProgressFired=!0,n._updatePlayerViewability(),n._sendBeacon("AD_PROGRESS",{fireCriteria:C.TRUE_STREAMS_INTERVAL}),n._sendBeacon("AD_STREAMS")):t>=n._lastAdProgressBeaconPosition+C.PROGRESS_INTERVAL&&(n._lastAdProgressBeaconPosition+=C.PROGRESS_INTERVAL,n._updatePlayerViewability(),n._sendBeacon("AD_PROGRESS",{fireCriteria:C.PROGRESS_INTERVAL}));var r=n._getVideoQuartile(t,i.adDuration());r&&r!==n._adQuartile&&(n._adQuartile=r,n._sendBeacon("AD_PROGRESS",{fireCriteria:C.QUARTILE_PROGRESS_INTERVAL}))},i.prototype._onPlaybackComplete=function(){var e=this;e._updatePlayerViewability(),e._sendBeacon("PLAYBACK_COMPLETE"),e._totalBufferingTime=0},i.prototype._onPlaybackPaused=function(){var e=this;e._sendBeacon("PLAYBACK_PAUSE")},i.prototype._onPlaybackStalled=function(e){var t=this;t._sendBeacon("PLAYBACK_STALLED",{data:e?e:""})},i.prototype._onPlaybackResumed=function(){var e=this;e._sendBeacon("PLAYBACK_RESUMED")},i.prototype._onCtrlPlayPause=function(e){var t=this;t._sendBeacon("CTRL_PLAYPAUSE",{data:e?e:""})},i.prototype._onVideoAppsLoaded=function(){var e=this;e._profiler.setEndTime(p.Metrics.INIT_TO_APPS_INIT);var t=e._profiler.getItem(p.Metrics.INIT_TO_APPS_INIT);t&&e._sendBeacon("INIT_TO_APPS_INIT",{data:t.timeDiff})},i.prototype._onBitrateChange=function(e){var t=this;t._sendBeacon("BITRATE_CHANGE",{data:e})},i.prototype._onPlaybackSeeking=function(e){var t=this;t._seeking||(t._seqStart=e,t._seeking=!0)},i.prototype._onPlaybackSeeked=function(e){var t=this;t._seeking=!1,t._seqNum++,t._playbackPosition=e,t._sendBeacon("PLAYBACK_SEEK"),t._seqStart=e},i.prototype._onWaiting=function(e){var t=this;if(e){if(e.ignoreBuffering===!0)return;if(e.value===!1)return t._bufferingStart=!1,void(t._totalBufferingTime+=Date.now()-t._bufferingStartTime)}t._bufferingStart=!0,t._bufferingStartTime=Date.now()},i.prototype._onError=function(e){var t=this;"400"===e.type&&"304"===e.code?setTimeout(function(){t._sendBeacon("PLAYER_ERROR",{data:e})},1e3):t._sendBeacon("PLAYER_ERROR",{data:e})},i.prototype._onWarning=function(e){var t=this;t._sendBeacon("PLAYER_WARNING",{data:e})},i.prototype._onAdMetrics=function(e){var t=this;e.ywa.aplc="",Object.keys(e.ywa).forEach(function(t){M.isNullOrUndefined(e.ywa[t])&&(e.ywa[t]="")}),t._sendBeacon("AD_METRICS",{data:e})},i.prototype._onAdPlaybackStarted=function(){var e=this;e._adPlaybackPosition=0,e._lastAdProgressBeaconPosition=e._adPlaybackPosition,e._onAdOrContentStarted(),e._clipGuid=e._createClipGuid(),e._updatePlayerViewability(),e._sendBeacon("AD_START")},i.prototype._onAdPlaybackComplete=function(){var e=this;e._updatePlayerViewability();var t=e._guidMap[e._model.playlist.getCurrentItem().id];t&&(e._clipGuid=t),e._sendBeacon("AD_COMPLETE")},i.prototype._onAdError=function(){var e=this;e._sendBeacon("AD_ERROR")},i.prototype._onRendererPluginLoaded=function(){var e=this;e._rendererPluginLoadStatus=1},i.prototype._onRendererPluginLoadFailed=function(){var e=this;e._rendererPluginLoadStatus=2},i.prototype._onRendererPluginLoadTimedOut=function(){var e=this;e._rendererPluginLoadStatus=3},i.prototype._onBufferInfo=function(e){var t=this;t._bufferInfo.push(e),t._qosBufferInfo.push(e)},r.prototype.sendBeacon=function(e,t){var n=this,i=n._model.playlist.getCurrentItem();if(i){var r=function(i){var r=n._paramGetters[i];return r?r.apply(null,[e].concat(t)):null},a=i.metrics.beacons[e]||[];a.forEach(function(e){var t=e.url;t&&(t=o(t,r),y.sendImageBeacon(t))})}};var f=function(){return _.android?{name:"android",make:"unknown",model:"android",os:"android"}:_.ipad?{name:"iPad",make:"apple",model:"ipad",os:"ios"}:_.iphone?{name:"iPhone",make:"apple",model:"iphone",os:"ios"}:_.chrome?{name:"web",make:"chrome",model:_.chrome,os:_.os}:_.firefox?{name:"web",make:"firefox",model:_.firefox,os:_.os}:_.ie?{name:"web",make:"ie",model:_.ie,os:_.os}:_.safari?{name:"web",make:"safari",model:_.safari,os:_.os}:{name:"web",make:"na",model:"na",os:_.os}}()},{"../../../lib":"bRhrlU","../../../lib/logger":"IS9j5T","../../../lib/user-agent":"ty5FFo","../event":"YJm+dH","../util":"jJTEqU","./comscore":27,"./comscore-metrics":26,"./media-metrie":28,"./metrics-constants":29,"./qos-metrics":31,"./sizmek-metrics":32,"./ult-metrics":33,"./vidible-metrics":34,"./ywa-metrics":35}],31:[function(e,t,n){"use strict";function i(e){var t=this,n=["env","colo","pver","pltype","vp","b","r","vid","vn","reg","site","vtyp","sn","lid","loc","apl","psid","expn","expt","expb","jsdl","drm","ps","sp","st","cdn","brr","os"],i={rn:e.randomVal,pver:e.playerVersion,vp:e.playerInt32Guid,b:e.hostingBucket,r:e.rendererType,vid:e.videoId,vn:e.videoTitle,reg:e.region,site:e.site,sn:e.videoShowName,lid:e.licenseId,loc:e.location,apl:e.autoplay,psid:e.pageSpaceId,expn:e.experienceName,expt:e.experienceType,expb:e.experienceBucket,vpurl:e.pageUrl,vtyp:e.contentType,dur:e.videoLength,pltype:e.playerType,jsdl:e.jsDownloadTime,br:e.bitrate,sbr:e.quality,drm:e.isDrm,ps:e.playSession,sp:e.streamProtocol,st:e.streamType,buff:e.bufferingTime,buff_info:e.qosBufferInfo,prog:e.playbackWatchedTime,colo:e.hostingColo,env:e.hostingEnv,cdn:e.cdn,tswf_ready:e.swfLatency,tirg:e.initRenderGapLatency,titsc:e.initToSapiLatency,trtswf:e.renderToSwfLatency,trcreate:e.renderCreateLatency,tsltps:e.playToRenderLatency,brr:function(){return e.deviceName()+","+e.deviceMake()},os:e.deviceOS,rsm:e.isResume};t.sendOpts={baseUrl:"//qos.video.yimg.com/yep/3/qos",target:"qos",paramGetters:i,beginningKeys:n,endKeys:["rn","vpurl"]},t.beaconMappings={PLAYBACK_INIT:{keys:["bId"],data:{bId:"p20"}},PLAYER_LOADED:{keys:["bId"],data:{bId:"p12"}},INIT_TO_STARTSCREEN:{keys:["bId","titssc"],data:function(e){return{bId:"p13",titssc:e}}},CLICK_TO_START:{keys:["bId","tltld","tdmds","ttauth","ttsapf","treqtr","tswf_ready","tirg","titsc","trtswf","trcreate","tsltps"],data:function(e){return{bId:"p9",ttsapf:e.ttsapf||r.STRING_DEFAULT,tltld:e.tltld||r.STRING_DEFAULT,tdmds:e.tdmds||r.STRING_DEFAULT,ttauth:e.ttauth||r.STRING_DEFAULT,treqtr:e.treqtr||r.STRING_DEFAULT}}},INIT_TO_START:{keys:["bId","tltld","tdmds","ttauth","ttsapt","treqtr","tswf_ready","tirg","titsc","trtswf","trcreate","tsltps"],data:function(e){return{bId:"p8",ttsapt:e.ttsapt||r.STRING_DEFAULT,tltld:e.tltld||r.STRING_DEFAULT,tdmds:e.tdmds||r.STRING_DEFAULT,ttauth:e.ttauth||r.STRING_DEFAULT,treqtr:e.treqtr||r.STRING_DEFAULT}}},PLAYBACK_START:{keys:["bId","tpb","cls","lfts","fbfts","rsm","fver","tsapic","sapiColo","tswf_ready","tirg","titsc","trtswf","trcreate","tsltps","acctid"],data:function(t){return{bId:"p3",tpb:t,cls:e.rendererPluginLoadStatus(),lfts:e.loadFirstFragmentTime(),fbfts:e.firstByteFirstFragmentTime(),rsm:e.isResume(),fver:e.flashVersion(),tsapic:e.tsapic(),sapiColo:e.sapiColo(),acctid:e.yvapID()}}},PLAYBACK_PROGRESS:{keys:["bId","dur","br","prog","buff","sbr","fver","buff_info"],firingCriteria:[r.TRUE_STREAMS_INTERVAL,r.PROGRESS_INTERVAL],data:function(){return{bId:"p4",fver:e.flashVersion()}}},PLAYBACK_COMPLETE:{keys:["bId","dur","buff","fver","buff_info"],data:function(){return{bId:"p6",fver:e.flashVersion()}}},PLAYER_ERROR:{keys:["bId","vm","e","fver","prefetch","sapiColo"],data:function(t){return{bId:"p1",vm:t.debugMessage||t.message,e:t.type+"."+t.code,fver:e.flashVersion(),prefetch:t.prefetch,sapiColo:e.sapiColo()}}},PLAYER_WARNING:{keys:["bId","vm","e","prefetch","sapiColo"],data:function(t){return{bId:"p1",vm:t.debugMessage||t.message,e:t.type+"."+t.code,prefetch:t.prefetch,sapiColo:e.sapiColo()}}},AD_METRICS:{baseUrl:"//qos.video.yimg.com/yvap/4/qos",keys:function(e){return Object.keys(e.qos)},data:function(e){return e.qos}},AD_ERROR:{keys:["bId"],data:{bId:"a3"}},INIT_TO_APPS_INIT:{keys:["bId","ttapp"],data:function(e){return{bId:"p14",ttapp:e}}}}}t.exports=i;var r=e("./metrics-constants")},{"./metrics-constants":29}],32:[function(e,t,n){"use strict";function i(e){var t=this,n="https://bs.serving-sys.com/Serving/ActivityServer.bs",i=["cn","ActivityId","rnd"],r={cn:e.wrapInFn("as"),ActivityId:e.mmActivityId,rnd:e.randomVal},o={baseUrl:n,keys:[],data:{}};t.sendOpts={baseUrl:n,target:"sizmek",paramGetters:r,beginningKeys:i,iFrameBeacon:!0},t.beaconMappings={PLAYBACK_START:o}}t.exports=i,i.prototype.shouldFire=function(e){return""!==e.metrics.mmActivityId}},{}],33:[function(e,t,n){"use strict";function i(e){var t=this,n=["t","_V","s","V_sec","evt","ccode","sec","cpos","type","_ex","_NOL"],i=["vid","pstaid","prt","lms_id","vs","psz","cdn","st","sp","bit","pls","vlng","site","lang","intl","lbl","synd","pver","expn","expt","expb","loc","auto","cont","bckt","snd","test","_w","vsid","_R","ps","pltype"],o={t:e.randomVal,s:e.pageSpaceId,vsid:e.videoSpaceId,vid:e.videoId,adid:e.adId,pstaid:e.videoId,lms_id:e.licenseId,pls:e.playerInt32Guid,vs:e.clipGuid,psz:e.dimensions,site:e.site,lang:e.lang,intl:e.region,prt:e.rendererType,pltype:e.playerType,lbl:e.label,synd:e.syndicationId,_w:e.pageUrl,ccode:e.ccode,sec:e.sec,cpos:e.cpos,pver:e.playerVersion,expn:e.experienceName,expt:e.experienceType,expb:e.experienceBucket,loc:e.playerLocation,_R:e.pageReferrer,dur:e.playbackWatchedTime,vlng:e.videoLength,adlng:e.adDuration,_ex:e.offNetwork,_NOL:e.offNetwork,auto:e.autoplay,cont:e.continuousPlayCount,cdn:e.cdn,ucl:e.ucLatency,apl:e.apLatency,bit:e.bitrate,view:e.viewability,sp:e.streamProtocol,st:e.streamType,bckt:e.hostingBucket,snd:e.isMute,type:e.contentType,rsm:e.isResume,test:e.experienceBucket,algo:e.algo,disp:e.displayMode,consl:e.constructLatency,trcreate:e.renderCreateLatency,tmeta_call:e.sapiLatency,tswf_ready:e.swfLatency,tcc_pref:e.ccPrefLatency,thls_plist:e.hlsPlaylistLatency,strml:e.streamLatency,buff_info:e.bufferInfo,ps:e.playSession,_V:function(){return"V"}};t.sendOpts={baseUrl:"//geo.yahoo.com/p",target:"ult",paramGetters:o,beginningKeys:n,endKeys:i},t.beaconMappings={PLAYBACK_INIT:{keys:[],data:function(){return{V_sec:"pb",evt:"v_pb_init"}}},PLAYBACK_START:{keys:["ucl","apl","dur","view","rsm","disp","consl","trcreate","tmeta_call","tswf_ready","tcc_pref","thls_plist","strml"],data:function(){return{V_sec:"pb",evt:"v_start",rsm:e.isResume(),tmeta_call:e.tsapic()}}},PLAYBACK_PROGRESS:{keys:["dur","view","buff_info"],firingCriteria:[r.PROGRESS_INTERVAL],data:function(){return{V_sec:"pb",evt:"v_prog"}}},PLAYBACK_STREAM_START:{keys:["view"],firingCriteria:[r.TRUE_STREAMS_INTERVAL],data:function(){return{V_sec:"pb",evt:"v_strm_view"}}},PLAYBACK_COMPLETE:{keys:["dur","view","watchpct","stall_t","buff_info"],data:function(){return{V_sec:"pb",evt:"v_comp",dur:e.playbackPosition(),watchpct:e.watchPercent(),stall_t:e.bufferingTime()}}},PLAYBACK_RESUMED:{keys:[],data:function(){return{V_sec:"pb",evt:"p_resm"}}},PLAYBACK_STALLED:{keys:["value","play_pos","dur"],data:function(t){return{V_sec:"pb",evt:"v_stall",value:t,play_pos:e.playbackPosition()}}},PLAYER_ERROR:{keys:["etype","ecode","estring"],data:function(e){return{V_sec:"pb",evt:"error",etype:e.type,ecode:e.code,estring:e.debugMessage||e.message}}},BITRATE_CHANGE:{keys:["play_pos","value","value_e","dur"],data:function(t){return{V_sec:"pb",evt:"v_btrt",play_pos:e.playbackPosition(),value:t,value_e:e.bitrate()}}},AD_START:{keys:["adid","adlng","ucl","apl","dur","view"],data:function(){return{V_sec:"pb",evt:"ad_start",dur:e.adPlaybackPosition()}}},AD_PROGRESS:{keys:["dur","adlng","adid","view"],firingCriteria:[r.TRUE_STREAMS_INTERVAL,r.PROGRESS_INTERVAL],data:function(){return{V_sec:"pb",evt:"ad_prog",dur:e.adPlaybackPosition()}}},AD_COMPLETE:{keys:["dur","adlng","adid","view"],data:function(){return{V_sec:"pb",evt:"ad_comp",dur:e.adPlaybackPosition()}}},UI_INTERACT:{keys:["V_slk","dur","algo"],data:function(e){return{V_sec:"ctrl",evt:"none",V_slk:e}}},CTRL_PLAYPAUSE:{keys:["value","dur","play_pos"],data:function(t){return{V_sec:"ctrl",evt:"ui_pp",value:t,play_pos:e.playbackPosition()}}},CTRL_SEEK:{keys:["value","value_e","dur"],data:function(t){return{V_sec:"ctrl",evt:"ui_seek",value:e.playbackPosition(),value_e:t}}},CTRL_VOLUME:{keys:["value","value_e","play_pos"],data:function(t){return{V_sec:"ctrl",evt:"ui_cv",value:t,value_e:e.currVolume(),play_pos:e.playbackPosition()}}},CTRL_SHARE:{keys:["value"],data:function(e){return{evt:"ui_shbtn",V_sec:"ctrl",value:e}}},CTRL_REPLAY:{keys:[],data:function(){return{evt:"ui_esrpl",V_sec:"ctrl"}}},CTRL_PLAYREQUEST:{keys:[],data:function(){return{V_sec:"ctrl",evt:"ui_ctp"}}},QUALITY_SELECTED:{keys:["play_pos","value","dur"],data:function(t){return{evt:"ui_qual",V_sec:"ctrl",value:t,play_pos:e.playbackPosition()}}},CC_TOGGLE:{keys:["value","play_pos"],data:function(t){return{V_sec:"ctrl",evt:"ui_cctog",value:t,play_pos:e.playbackPosition()}}},CC_LANG:{keys:["play_pos","value"],data:function(t){return{V_sec:"ctrl",evt:"ui_cclng",play_pos:e.playbackPosition(),value:t}}},CC_STYLE:{keys:["play_pos","value"],data:function(t){return{V_sec:"ctrl",evt:"ui_ccstl",play_pos:e.playbackPosition(),value:t}}},CC_SETTINGS:{keys:["play_pos"],data:function(){return{V_sec:"ctrl",evt:"ui_ccstg",play_pos:e.playbackPosition()}}},CTRL_AGEGATE_BDAY:{keys:[],data:function(){return{V_sec:"ctrl",evt:"ui_agesm"}}},FULLSCREEN:{keys:["value","play_pos"],data:function(t){return{V_sec:"ctrl",evt:"ui_fs",value:t,play_pos:e.playbackPosition()}}},CTRL_SETTINGS:{keys:["play_pos"],data:function(){return{V_sec:"ctrl",evt:"ui_stgs",play_pos:e.playbackPosition()}}},WL_CHANGE_REQUEST:{keys:["value","play_pos"],data:function(t){return{V_sec:"ctrl",evt:"ui_wltr",play_pos:e.playbackPosition(),value:t}}},CTRL_TIMER:{keys:["value","play_pos"],data:function(t){return{V_sec:"ctrl",evt:"ui_timer",play_pos:e.playbackPosition(),value:t}}},UI_LOGIN:{keys:["value"],data:function(e){return{V_sec:"ctrl",evt:"ui_login",value:e}}},CTRL_ENDSCREEN_VID:{keys:["value","value_e"],data:function(e){return{V_sec:"ctrl",evt:"ui_esvid",value:e.vindex,value_e:e.vid}}}}}t.exports=i;var r=e("./metrics-constants")},{"./metrics-constants":29}],34:[function(e,t,n){"use strict";function i(e){var t=this,n=["pid","vid","vpt","r","cb"],i={pid:function(){return a},vid:e.videoId,vpt:e.autoplay,w:function(){var t=e.dimensions().split("x");return t[0]},h:function(){var t=e.dimensions().split("x");return t[1]},q:e.videoQuartile,r:e.pageUrl,cb:e.randomVal},a=r(e,n,i);t.sendOpts={baseUrl:"//trk.vidible.tv/trk/",target:"vidible",paramGetters:i,beginningKeys:n},
  t.beaconMappings={PLAYBACK_START:{baseUrl:t.sendOpts.baseUrl+"video-play.gif",keys:["h","w"],data:{}},PLAYBACK_PROGRESS:{baseUrl:t.sendOpts.baseUrl+"video-quartile.gif",firingCriteria:[o.QUARTILE_PROGRESS_INTERVAL],keys:["q"],data:{}}}}function r(e,t,n){var i=decodeURIComponent(e.experienceType().replace(/&(amp;)+/g,"%26")),r=i.split("&"),o=r.shift();return r.forEach(function(e){var i=e.split("="),r=i[0],o=i[1];n[r]=function(){return o},-1===t.indexOf(r)&&t.push(r)}),o}t.exports=i;var o=e("./metrics-constants")},{"./metrics-constants":29}],35:[function(e,t,n){"use strict";function i(e){var t=this,n="115488662",i="ywadp"+n,a=r.getCookie(i);a||(a=""+Math.floor(4294967295*Math.random()),r.setCookie(i,a,{expires:new Date(Date.now()+94608e6)}));var s={rn:e.randomVal,vpos:e.playbackPosition,vstpos:e.seqStart,vq:e.videoSeqNum,vt:e.isLive,cf63:e.autoplay,vpl:e.location,cf15:e.continuousPlay,cf53:e.continuousPlayCount,cf62:e.dimensions,cf64:e.label,cf201:e.site,cf202:e.region,cf203:e.lang,cf204:e.contentType,cf205:e.licensorName,cf206:e.mediaMetaTags,cf208:e.licenseId,vid:e.videoId,vn:e.videoTitle,vsn:e.videoShowName,vp:e.playerInt32Guid,vpm:e.masterPlayerInt32Guid,vlng:e.videoLength,vb:e.pageTitle,vf:e.pageUrl,vss:e.eventBegin,vse:e.eventEnd,ve:e.pageReferrer,sp:e.streamProtocol,cf97:e.syndicationId,cf99:e.isMature,cf98:e.tripleplay,cf08:e.hostingEnv,cf01:e.hostingBucket,cf102:e.playerVersion,cf103:e.playerType,cf104:e.experienceType,cf105:e.experienceName,cf106:e.experienceBucket,cf09:e.experienceType,cf10:e.experienceName,".ys":e.pageSpaceId,cf52:e.videoSpaceId,cf13:e.playerType,cf71:e.experienceBucket,b:e.pageTitle,f:e.pageUrl,e:e.pageReferrer,cf87:e.providerId,cf91:e.providerVideoId,cf88:e.publisherId,cf58:e.mainArtist,cf59:e.genre,cf180:e.isResume,a:function(){return"1000"+n},dpid:function(){return a}};t.sendOpts={baseUrl:"//z.analytics.yahoo.com/fpc.pl",target:"ywa",paramGetters:s,beginningKeys:["a","dpid","vp","vpm","vid","vn","cf97","vt","cf204"],endKeys:["rn"]},t.beaconMappings={PAGE_VIEW:{keys:["a","dpid","vp","vpm","cf08","cf01",".ys","b","rn","f","e"],data:{},overrideBaseKeys:!0},VIDEO_LOADEDDATA:{keys:["vlng","vx","vb","cf63","vpl","cf201","cf202","cf203","cf64","cf205","cf206","cf208","cf15","vsn","vss","vse","cf87","cf91","cf88","cf58","cf59","cf98","cf102","cf103","cf104","cf105","cf106","cf52","vf","ve"],data:{vx:215}},VIDEO_STREAMS:{keys:["vx","cf51","cf63","vpl","vq","cf201","cf202","cf203","cf64","cf205","cf206","cf208","cf15","cf53","vsn","vss","vse","cf87","cf91","cf88","cf58","cf59","cf98","cf52"],data:function(){return{vx:1,cf51:e.errorCode()}}},PLAYBACK_START:{keys:["vpos","vstpos","vq","vbt","cf63","vpl","cf201","cf202","cf203","cf64","cf205","cf206","cf208","cf15","cf53","cf62","vsn","vss","vse","cf87","cf91","cf88","cf58","cf59","cf98","cf180","cf52","cf102","cf103","cf104","cf105","cf106"],data:function(e){return{vpos:1,vbt:e}}},PLAYBACK_PROGRESS:{keys:["vlng","vss","vse","vpos","vstpos","vq","cf102","cf103","cf104","cf105","cf106"],firingCriteria:[o.TRUE_STREAMS_INTERVAL,o.PROGRESS_INTERVAL],data:{}},AD_STREAMS:{keys:["vx","cf51","cf63","vpl","cf201","cf202","cf203","cf64","cf205","cf206","cf208","cf15","cf53","vsn","vss","vse","cf87","cf91","cf88","cf58","cf59","cf98","cf52"],data:{vx:4,cf51:e.errorCode()}},PLAYBACK_SEEK:{keys:["vpos","vstpos","vx","vq"],data:{vx:210}},PLAYBACK_COMPLETE:{keys:["vpos","vstpos","vq"],data:{}},AD_METRICS:{keys:function(e){return Object.keys(e.ywa).concat(["cf201","cf202","cf206","cf208","cf63","cf64",".ys","cf09","cf10","cf87","cf91","cf88","cf58","cf59","cf98","cf13","cf71","cf52"])},data:function(e){return e.ywa}},UI_INTERACT:{keys:["vx","cf57","cf99","cf201","cf202","cf203","cf64","cf206","vsn","cf87","cf52","cf91","cf88","cf59","vf"],data:function(e){return{vx:5,cf57:e}}}}}t.exports=i;var r=e("../util"),o=e("./metrics-constants")},{"../util":"jJTEqU","./metrics-constants":29}],36:[function(e,t,n){"use strict";function i(e){return!!e}function r(e,t){var n={defaultVal:e||!1,transform:i};return t&&(n.configName=t),n}function o(){return m.isFlashInstalled()&&E.isFunction(y)}function a(){if(!E.isFunction(_))return!1;var e=window.MediaSource;return e&&e.isTypeSupported('video/mp4; codecs="avc1.640028"')&&e.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')?!0:!1}function s(){return L.mobile?!1:L.chrome&&L.chrome>=37?!0:L.ie?!0:!1}function l(e){var t=this;t.items=[],t.position=-1,t._mediaStore=e}function c(){var e=this;e.ad=null,e.state=v.INIT,e.paused=!1,e.seeking=!1,e.loading=!0,e.criticalError=null,e.previousItem=null,e.looped=!1,e.loadedItem=null,e.rendererType=null}function u(e,t){var n=this;if(n.guid=m.generateGuid(),n.mediaStore=t||new M.MediaStore,n.errors=[],e){n.playbackState=new c,M.fillFromConfig(T,e,n,n.errors),(e.userprefs||{}).closedcaptionprefs?n.userPreferences.closedCaptions.isAvailable=!0:n.userPreferences.closedCaptions.isAvailable=!1,n.ui.chromeless&&(n.ui.showStartScreen=!1,n.ui.showControls=!1,n.ui.showEndScreen=!1,n.ui.showPauseScreen=!1,n.ui.showVideoApps=!1,n.ui.showAgeGate=!1),n.rendererTypes=[],("dash"===n.baseConfig._html5||s())&&a()&&n.rendererTypes.push("dash"),n.baseConfig._html5===!1&&o()&&!E.isFunction(A)&&n.rendererTypes.push("flash"),n.rendererTypes.push("html"),n.capabilities={},n.rendererTypes.forEach(function(e){n.capabilities[e]=p(e),n.playback.skipFormats.length>0&&(n.capabilities[e].preferredFormats=n.capabilities[e].preferredFormats.filter(function(e){return-1===n.playback.skipFormats.indexOf(e)}))}),n.errors.length&&g.warn("Errors encountered while parsing configuration!");var i=(((e.prefetch||{}).query||{}).results||{}).mediaObj;i&&n.mediaStore.fillFromSapi(i,n.rendererTypes,n.capabilities,n.errors);var r=e.prefetchIds;if(r&&E.isArray(r)){var u=r.map(function(e){return{id:e}});n.mediaStore.fillFromSapi(u,n.rendererTypes,n.capabilities,n.errors)}n.playlist=new l(n.mediaStore),e.playlist&&(n.playlist.initializeFromRaw(e.playlist,n.rendererTypes,n.capabilities,n.errors),n.errors.length&&g.warn("Errors encountered while parsing playlist!")),m.showFujiUI(n)&&(n.ui.showPauseScreen=!1),e.ignoreEndlist&&(n.playback.ignoreEndlist=!0)}}t.exports={Model:u,Playlist:l,_PlaybackState:c};var d=e("./yvap/ads-json"),p=e("../../lib/capability"),_=e("./renderers/html5-dash"),y=e("./renderers/flash"),M=e("./media-store"),v=e("./states"),L=e("../../lib/user-agent"),m=e("./util"),E=e("../../lib"),g=e("../../lib/logger"),A=e("./views/tumblr-controls"),T={version:{defaultVal:"5.327.0.1438368681",validator:E.isString},playlist:{id:{defaultVal:null,validator:E.isString}},CMS:{colo:{defaultVal:null,validator:E.isString},env:{defaultVal:null,validator:E.isString},suppressAdContext:r()},pageLatency:{pagePlayerJsDownloadTime:{defaultVal:null,validator:E.isNumber}},ui:{configName:null,contentTypeLabel:{defaultVal:null,validator:E.isString},chromeless:r(!1,"chromeless"),startScreenConfig:{configName:"startscreen",transform:function(e){return E.isObject(e)?e:{}},showProvider:r(!0),showDescription:r(!0,"showDesc"),showButton:r(!0),showTitle:r(!0)},showStartScreen:{configName:"startscreen",defaultVal:!0,transform:function(e){return E.isObject(e)?!0:i(e)}},showControls:r(!0),showEndScreen:r(!0,"endscreen"),showPauseScreen:r(!0,"pausescreen"),showSettingScreen:r(!0,"settingscreen"),showWatchLaterScreen:r(!0,"watchlaterscreen"),showFullscreen:r(!0,"fullscreenBtn"),showFujiUI:r(!1,"showFujiUI"),showSnapItInAdvancedMenu:r(!1,"enabledSnapItInAdvancedMenu"),enableSnapItAPI:r(!1,"enableSnapItAPI"),enableFakeStoreMeme:r(!1,"enableFakeStoreMeme"),showVideoApps:r(!0,"videoapps"),showReplayOnlyEndScreen:r(!1,"replayonlyendscreen"),showAgeGate:{defaultVal:r(!0),validator:E.isBoolean},thumbnailDimensions:{height:{defaultVal:null,validator:E.isNumber},width:{defaultVal:null,validator:E.isNumber}}},YVAP:{accountId:{defaultVal:null,validator:E.isString},playContext:{defaultVal:null,validator:E.isString},timeout:{defaultVal:3,transform:function(e){return parseInt(e)}},cTopic:{defaultVal:null,validator:E.isString},adsReady:r()},metrics:{configName:null,comscoreC4:{defaultVal:"",validator:function(e){return E.isString(e)&&""!==e}},ccode:{defaultVal:"",validator:E.isString},sec:{defaultVal:"",validator:E.isString},skipComscore:{defaultVal:!1,validator:E.isBoolean},ywaSamplingRate:{defaultVal:1,validator:E.isNumber},ultSamplingRate:{defaultVal:1,validator:E.isNumber},qosSamplingRate:{defaultVal:1,validator:E.isNumber},cpos:{defaultVal:"",validator:E.isString}},playback:{configName:null,continuousPlay:r(),autoplay:r(),bitrate:{configName:null,defaultVal:0,validator:E.isNumber},targetBitrate:{defaultVal:NaN,validator:E.isNumber},quality:{defaultVal:"auto",validator:E.isString},bitrates:{defaultVal:[],validator:function(e){return E.isArray(e)&&e.every(function(e){return E.isNumber(e)})}},heights:{defaultVal:[],validator:function(e){return E.isArray(e)&&e.every(function(e){return E.isNumber(e)})}},desiredBitrate:{defaultVal:900,validator:E.isNumber},loop:r(),startTime:{defaultVal:NaN,validator:E.isNumber},stopBufferingOnPause:r(!1),conviva:r(!0),preload:r(!1,"preload"),preconnect:r(!0),fullscreen:r(),abr:r(),adPlaybackOnly:r(),protocol:{configName:null,defaultVal:"",validator:E.isString},skipFormats:{defaultVal:[],validator:function(e){return E.isArray(e)&&e.every(function(e){return E.isString(e)})}},playInlineVideo:r(!0,"playinlinevideos"),isResume:r(!1),ignoreEndlist:r(!1)},playbackState:{configName:null,mute:{defaultVal:null,transform:i},volume:{defaultVal:null,validator:function(e){return E.isNumber(e)&&e>=0&&1>=e}}},uiState:{configName:null,width:{configName:null,defaultVal:null},height:{configName:null,defaultVal:null},startScreenRendered:{configName:null,defaultVal:!1}},userPreferences:{configName:"userprefs",validator:E.isObject,closedCaptions:{configName:"closedcaptionprefs",show:r(!1),lang:{defaultVal:"en-US",validator:E.isString},fontSize:{defaultVal:24,validator:E.isNumber},fontName:{defaultVal:"Arial, Helvetica, sans-serif",validator:E.isString},fontColor:{defaultVal:"#ffffff",validator:E.isString},fontOpacity:{defaultVal:1,validator:E.isNumber},fontEffect:{defaultVal:"none",validator:E.isString},bgColor:{defaultVal:"#000000",validator:E.isString},bgOpacity:{defaultVal:.75,validator:E.isNumber},isAvailable:r(!1),hasChanged:r(!1)},isAdult:{defaultVal:null,validator:E.isBoolean},isAuthenticated:{defaultVal:r(!0),validator:E.isBoolean},watchLaterVideos:{defaultVal:[],validator:E.isArray()}},baseConfig:{configName:null,site:{defaultVal:"",validator:E.isString},siteAnalytics:{configName:"site_analytics",defaultVal:"",validator:E.isString},region:{defaultVal:"",transform:function(e){return E.isString(e)?e.toUpperCase():void 0},validator:E.isString},lang:{defaultVal:"",validator:E.isString},jurisdiction:{defaultVal:"",validator:E.isString},_html5:{configName:"html5",defaultVal:!1,validator:function(e){return"dash"===e||E.isBoolean(e)}},experienceType:{configName:"expType",defaultVal:"",validator:E.isString},experienceName:{configName:"expName",defaultVal:"",validator:E.isString},experienceBucket:{configName:"expBucket",defaultVal:"",validator:E.isString},pageSpaceId:{defaultVal:"",validator:E.isString},syndication:{configName:"synd",defaultVal:"",validator:E.isString}}};l.prototype.initializeFromRaw=function(e,t,n,i){var r=this;e&&(E.isObject(e)?e.id?r.id=e.id:r.appendFromRaw(e.mediaItems,t,n,i):M.addError("Playlist must be an object",i))},l.prototype.appendFromRaw=function(e,t,n,i){var r=this;if(e){if(!E.isArray(e))return void M.addError("mediaItems must be an array",i);for(var o=e.length,a=0;o>a;a++){var s=e[a],l=r._mediaStore.updateItemFromRaw(s,t,n,i);r.items.push(l.id)}o&&-1===r.position&&(r.position=0)}},l.prototype.getMediaItemAt=function(e){var t=this;return 0>e||e>=t.items.length?null:t._mediaStore.get(t.items[e])},l.prototype.getCurrentItem=function(){var e=this;return e.getMediaItemAt(e.position)},l.prototype.appendItem=function(e){var t=this,n=t.items.length;return t.items.push(e),n},l.prototype.getNextPosition=function(e,t,n){var i=this;if(n=n||{},n.looped=!1,n.ended=!1,-1===i.position)return-1;if(!i.items.length)return-1;if(e){var r=i.position+1;if(r<i.items.length)return r;if(t&&r===i.items.length)return n.looped=!0,0;i.playbackStopped=!0}return!e&&t?(n.looped=!0,i.position):(n.ended=!0,-1)},l.prototype.getCurrentVideoShowName=function(){var e=this,t=e.getCurrentItem();return t&&t.getShowName()},l.prototype.isCurrentVideoOriginalShow=function(){var e=this,t=e.getCurrentItem();return t&&t.isOriginalShow()===!0?!0:!1},l.prototype.isCurrentVideoSeriesEpisode=function(){var e=this,t=e.getCurrentItem();return t&&t.isSeriesEpisode()===!0?!0:!1},c.prototype.attemptingPlayback=function(){var e=this;return e.videoSet()&&!e.paused||e.state===v.WAITING},c.prototype.videoSet=function(){var e=this;return e.state===v.VIDEO},c.prototype.isOnCriticalError=function(){var e=this;return e.state===v.END&&e.criticalError},c.prototype.videoLoading=function(){var e=this;return e.videoSet()&&e.loading},c.prototype.isAdPlaying=function(){var e=this;return e.videoSet()&&e.ad},c.prototype.isVpaidAdPlaying=function(){var e=this;return e.isAdPlaying()&&e.ad.type===d.ADTYPES.VPAID},u.prototype.isLocal=function(){var e=this;return e.version.indexOf("local")>-1},u.prototype.destroy=function(){var e=this;e.playlist.position=-1},u.prototype.getModelSchema=function(){return T}},{"../../lib":"bRhrlU","../../lib/capability":"TL7Kjz","../../lib/logger":"IS9j5T","../../lib/user-agent":"ty5FFo","./media-store":23,"./renderers/flash":38,"./renderers/html5-dash":40,"./states":45,"./util":"jJTEqU","./views/tumblr-controls":134,"./yvap/ads-json":90}],37:[function(e,t,n){"use strict";function i(e){var t=this;t._config=e,t.startTime=Date.now(),t._profileItems=[]}t.exports=i;var r=e("../../lib/user-agent"),o=e("./util"),a=e("./views/profiler.html");i.prototype.add=function(e){var t=this,n=t._findItem(e);n>-1&&t._profileItems.splice(n,1),t._profileItems.push({type:e.type,desc:e.desc,startTime:Date.now()-t.startTime,endTime:null})},i.prototype._findItem=function(e){for(var t=this,n=0;n<t._profileItems.length;n++){var i=t._profileItems[n];if(e.type===i.type)return n}return-1},i.prototype.getItem=function(e){var t=this,n=t._findItem(e);return n>-1?t._profileItems[n]:null},i.prototype.setEndTime=function(e,t){var n=this,i=n.getItem(e);i&&(i.endTime=t||Date.now()-n.startTime,i.timeDiff=i.endTime-i.startTime)},i.prototype.render=function(e){var t=this,n=t._profileItems.slice(0);n.forEach(function(e){e.startWidth=e.startTime/4,e.barWidth=e.timeDiff/4});var i=o.render(a,{config:JSON.stringify(t._config,null,2),profileItems:n});if(e){var s=document.createElement("div");s.appendChild(i),s.appendChild(e),i=s}if(r.mobile)document.write(i.innerHTML);else{var l=window.open();l&&l.document.write(i.innerHTML)}}},{"../../lib/user-agent":"ty5FFo","./util":"jJTEqU","./views/profiler.html":78}],38:[function(e,t,n){"use strict";function i(e){var t='<object id="'+e.id+'" class="yvp-flash-video yvp-swf-not-ready" type="application/x-shockwave-flash" data="'+e.swfUrl+'" width="100%" height="100%">';e.params.forEach(function(e){t+='<param name="'+e.name+'" value="'+e.value+'">'}),t+="</object>";var n=document.createElement("div");return n.innerHTML=t,n.children[0]}function r(e,t,n){var i=this;i._error=o,i._eventBus=e,i._model=t,i._profiler=n,i.seeking=!1,i.ended=!1,i._isSeeking=!1,i.mode=s.VIDEO,i._commandQueue=[],i._swfReady=!1,i.timedOut=!1,i._drmState=y.NO_DRM}t.exports=r;var o=e("../error.js"),a=e("../event"),s=e("./modes"),l=e("../../../lib/user-agent"),c=e("../util"),u=e("../../../lib/logger"),d=e("../states"),p="player.swf",_=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],y={NO_DRM:"no-drm",DRM_INITIAL:"drm-initial",DRM_METADATA_IS_SET:"drm-metadata-set",DRM_AUTH_COMPLETE:"drm-auth-complete"},M={validateScenarioOne:function(e){var t=e.querySelector("object");return t&&"none"===t.style.display?(u.log("flash block scenario #1 : ad/flash blocker applied style tone on flash"),l.safari?new o.Error(o.E_WARNING,o.WARNING_CODES.E_PLAYER_FLASH_IS_BLOCKED_SAFARI_STYLE_NONE):new o.Error(o.E_WARNING,o.WARNING_CODES.E_PLAYER_FLASH_IS_BLOCKED_GENERAL_STYLE_NONE)):null},validateScenarioTwo:function(e){return e.querySelector("div[bginactive]")?(u.log("flash block scenario #2 : ad/flash blocker replaced flash object with bginactive"),new o.Error(o.E_WARNING,o.WARNING_CODES.E_PLAYER_FLASH_IS_BLOCKED_REPLACED_BY_BGINACTIVE)):null},validateScenarioThree:function(e){return l.safari&&e.querySelector('div[aria-label~="Safari Power Saver"]')?(u.log("flash block scenario #3 : Safari pauses Flash component to power save"),new o.Error(o.E_WARNING,o.WARNING_CODES.E_PLAYER_FLASH_IS_BLOCKED_POWER_SAVING)):null},validateScenarioFour:function(e){return e.querySelector('div[style~="chrome-extension"]')?(u.log("flash block scenario #4 : browser blocks flash view with blocker's screen"),o.Error(o.E_WARNING,o.WARNING_CODES.E_PLAYER_FLASH_IS_BLOCKED_BLOCKERS_SCREEN)):null}};r.prototype.create=function(){var e=this,t=c.generateGuid(),n=c.getAssetUrl(e._model.isLocal(),e._model.version,p);return e._eventHandlerName="__YVPFlashHandler_"+e._model.guid,e._bindEvents(),e.node=i({id:t,swfUrl:n,params:[{name:"allowscriptaccess",value:"always"},{name:"allowFullScreen",value:"true"},{name:"wmode",value:e._determineWindowMode()},{name:"flashVars",value:"YUIBridgeCallback="+e._eventHandlerName+"&allowedDomain="+document.location.hostname}]}),e.node.pause=function(){e._swfReady?e._pause():e._commandQueue.push(["_pause"])},e._removeSWFNotReadyTimeout=setTimeout(function(){c.classList(e.node).remove("yvp-swf-not-ready")},1e3),e._swfReadyTimeout=setTimeout(function(){e.timedOut=!0,e._eventBus.publish(a.SWF_READY_TIMEOUT,e.node)},7e3),e._profiler&&(e._profiler.setEndTime(a.Metrics.RENDER_TO_SWF),e._profiler.add(a.Metrics.SWF_READY)),e.node},r.prototype.waitForReady=function(e){var t=this;if(t._swfReady)return void e();if(t.timedOut)return void e(new Error("swf timeout"));var n=!1;t._eventBus.subscribe(a.SWF_READY_TIMEOUT,function(){n||(n=!0,e(new Error("swf timeout")))}),t._eventBus.subscribe(a.SWF_READY,function(){n||(n=!0,e())})},r.prototype.isReady=function(){var e=this;return e._swfReady},r.prototype._determineWindowMode=function(){return"macintosh"===l.os&&(l.chrome||l.safari||l.firefox)?"direct":"opaque"},r.prototype._flushCommandQueue=function(){var e=this,t=e._commandQueue;e._commandQueue=[],t.forEach(function(t){var n=t[0],i=t[1];e[n].apply(e,i)})},r.prototype._removeFromCommandQueue=function(e){for(var t=this,n=0;n<t._commandQueue.length;n++){var i=t._commandQueue[0];if(i[0]===e){t._commandQueue.splice(n,1);break}}},r.prototype.setSelectedStreams=function(e){var t=this;t._eventBus.publish(a.SELECTED_STREAM_CHANGE,e)},r.prototype._bindEvents=function(){var e=this;window[e._eventHandlerName]=function(t){try{a.Video[t.type.toUpperCase()]?e._onVideoEvent(t):e._onFlashEvent(t)}catch(n){u.error("Error in flash event handler:",n.message||n,n.stack)}},e._onVideoEvent=function(t){var n,i=t.type;if(e.mode===s.VIDEO)n=a.Video[i.toUpperCase()];else{if(e.mode!==s.AD)return;n=a.Ad[i.toUpperCase()]}switch("playing"===i&&e._profiler&&(e._profiler.setEndTime(a.Metrics.STREAM_PLAY_TO_RENDER),e._profiler.setEndTime(a.Metrics.STREAM_REQUEST_TO_RENDER)),i){case"timeupdate":case"seeking":case"seeked":if("timeupdate"===i&&e._isSeeking)break;if("seeked"===i&&(e._isSeeking=!1),e._model.playbackState.isOnCriticalError()||e._model.playbackState.state===d.END)break;var r=t.buffered,o={length:1,start:function(){return r?r.start:0},end:function(){return r?r.end:0}};e._eventBus.publish(n,t.currentTime,t.duration,o);break;case"error":if(e.mode===s.VIDEO){u.log("Flash Error: critical? ",t.critical," ",t.msg,".",t.detail);var l,c=e._error;t.code===c.FLASH_CODES.E_FLASH_DRM_CONTENT_DATA_NOT_SET_ERROR?l=new c.Error(c.E_PLAYER_DRM,c.PLAYER_DRM_CODES.E_PLAYER_DRM_CONTENT_DATA_NOT_SET_ERROR):t.code===c.FLASH_CODES.E_FLASH_DRM_TIMEOUT_LOAD_VOUCHER_ERROR?l=new c.Error(c.E_PLAYER_DRM,c.PLAYER_DRM_CODES.E_PLAYER_DRM_TIMEOUT_LOAD_VOUCHER_ERROR):t.code===c.FLASH_CODES.E_FLASH_DRM_SYSTEM_UPDATE_ERROR?l=new c.Error(c.E_PLAYER,c.PLAYER_CODES.E_PLAYER_FLASH_DRM_SYSTEM_UPDATE_FAILURE,{msg:null,debugMsg:t.msg+"; "+t.detail}):t.code===c.FLASH_CODES.E_FLASH_DRM_CHROME_SETTING_ERROR?l=new c.Error(c.E_PLAYER_DRM,c.FLASH_CODES.E_FLASH_DRM_CHROME_SETTING_ERROR):t.code>=c.FLASH_CODES.E_FLASH_DRM_LOWER_BOUND_ERROR&&t.code<=c.FLASH_CODES.E_FLASH_DRM_UPPER_BOUND_ERROR?l=new c.Error(c.E_PLAYER_DRM,t.code,{msg:null,debugMsg:t.msg+t.detail}):(0===t.code&&(t.code=c.PLAYER_CODES.E_PLAYER_PLAYBACK_ERROR),l=new c.Error(c.E_PLAYER,t.code,{msg:null,debugMsg:t.msg+"; "+t.detail})),t.critical&&e.node.stopMedia(),e._eventBus.publish(a.ERROR,l)}else e._eventBus.publish(a.Ad.ERROR,e.node.get("error"));break;case"ended":e.ended=!0,e._eventBus.publish(n);break;case"pause":if(e.ended)break;if(e.seeking)break;e._eventBus.publish(n);break;case"loadeddata":e._profiler&&e._profiler.setEndTime(a.Metrics.LOAD_TO_LOADED_DATA),e._eventBus.publish(n);break;default:e._eventBus.publish(n,t)}},e._onFullscreenEvent=function(){e._eventBus.publish(a.FULLSCREEN_CHANGE)};for(var t=0;t<_.length;t++)window.document.addEventListener(_[t],e._onFullscreenEvent)},r.prototype._onFlashEvent=function(e){var t=this,n=e.type;switch(n){case"infoupdate":var i=e.mediaInfo;t._model.playback.bitrate=i.currentStreamBitrate,t._model.playback.protocol=i.deliveryProtocol,t._eventBus.publish(a.PLAYBACK_INFO,i);break;case"swfReady":u.log(n),t._swfReady=!0,t._profiler.setEndTime(a.Metrics.SWF_READY),clearTimeout(t._swfReadyTimeout),c.classList(t.node).remove("yvp-swf-not-ready"),t._setPlayerInfo(),t._flushCommandQueue(),t._eventBus.publish(a.SWF_READY,t.node);break;case"playerPluginResize":t._eventBus.publish(a.PLAYER_RESIZE,e.width,e.height);break;case"selectedStreamChange":t._eventBus.publish(a.SELECTED_STREAM_CHANGE,e.selectedStreams);break;case"selectedStreamUrlChange":t._eventBus.publish(a.SELECTED_STREAM_URL_CHANGE,null,e);break;case"jsLog":u.log("[flash log]",e.message);break;case"yvap_flash":t._eventBus.publish(a.YVAP_SWF_PROXIED_EVENT,e);break;case"drmMetadataSet":t._profiler&&(t._profiler.setEndTime(a.Metrics.DRM_METADATA_IS_SET),t._profiler.add(a.Metrics.DRM_AUTH_COMPLETE),t._drmState=y.DRM_METADATA_IS_SET);break;case"drmAuthComplete":t._profiler&&(t._profiler.setEndTime(a.Metrics.DRM_AUTH_COMPLETE),t._drmState=y.DRM_AUTH_COMPLETE);break;case"uiInteract":t.mode===s.VIDEO?t._eventBus.publish(a.Video.CLICK):t.mode===s.AD&&(u.log(t.node.get("currentTime")),t._eventBus.publish(a.Ad.CLICK,t.node.get("currentTime")));break;case"bitratechange":t._eventBus.publish(a.API.BITRATE_CHANGE,e.bitrate),u.log("Bit rate changed to ",e.bitrate);break;case"durationchange":u.log("Duration changed to ",e.duration);break;case"pluginLoadComplete":t._eventBus.publish(a.RENDERER_PLUGIN_LOADED);break;case"pluginLoadError":t._eventBus.publish(a.RENDERER_PLUGIN_LOAD_FAILED);break;case"pluginLoadTimedOut":t._eventBus.publish(a.RENDERER_PLUGIN_LOAD_TIMED_OUT);break;case"loadFirstFragment":t._eventBus.publish(a.HLS_FIRST_TS_LOAD_START);break;case"firstFragmentFirstByteFReceived":t._eventBus.publish(a.HLS_FIRST_TS_FIRST_BYTE_ARRIVE);break;case"reloadBegin":t._eventBus.publish(a.MEDIA_RELOAD_BEGIN);break;case"reloadEnd":t._eventBus.publish(a.MEDIA_RELOAD_END);break;case"mediaPlaylistLoaded":t._eventBus.publish(a.MEDIA_PLAYLIST_LOADED);break;case"mediaPlaylistUpdated":t._eventBus.publish(a.MEDIA_PLAYLIST_UPDATED,e.interval);break;case"qualityChanged":t._eventBus.publish(a.QUALITY_CHANGE);break;case"streamLoadBegin":t._profiler&&t._profiler.add(a.Metrics.STREAM_REQUEST_TO_RENDER);break;case"vttSegmentLoaded":t._eventBus.publish(a.VTT_SEGMENT_LOADED,e.vttSegmentInfo);break;case"bitrateListChanged":t._eventBus.publish(a.BITRATE_LIST_CHANGED,e.bitrates,e.heights);break;case"fragmentPlaybackComplete":t._eventBus.publish(a.FRAGMENT_METRICS_AVAILABLE,e.bufferingInfo);break;case"playbackComplete":t._model.playlist.getCurrentItem().isLive()&&t._eventBus.publish(a.LIVE_PLAYBACK_COMPLETE,new o.Error(o.E_WARNING,o.WARNING_CODES.E_LIVE_PLAYBACK_COMPLETE));break;default:u.log("Unhandled event from .swf",e)}},r.prototype._setPlayerInfo=function(){var e=this,t=e._model,n={name:"Fireball",site:t.baseConfig.site,version:t.version,region:t.baseConfig.region,autoplay:t.playback.autoplay,spaceid:t.baseConfig.pageSpaceId,hostEnv:t.isLocal()?"l":"p",lang:t.baseConfig.lang,conviva:t.playback.conviva,bucket:c.bucketize(),browserName:e._getBrowserName(),expType:t.baseConfig.experienceType,expName:t.baseConfig.experienceName};e.node.set("playerInfo",n)},r.prototype._getBrowserName=function(){var e="";return l.chrome?e="chrome":l.firefox?e="firefox":l.safari?e="safari":l.ie?e="ie":l.opera&&(e="opera"),e},r.prototype.setStreams=function(e){var t=this;return e.mode=t.mode,t._swfReady?t._setStreamsImpl(e):t._commandQueue.push(["_setStreamsImpl",[e]]),!0},r.prototype._setStreamsImpl=function(e){var t=this,n=(t._error,e.streams),i=e.mode;t.ended=!1,t._isSeeking=!1,!n||n.length<=0||(i===s.AD?t._setAdSrc(e):e.isCCM?t._setVideoSrc(e):t._setStreamUrlSrc(e))},r.prototype._setSrc=function(e){var t=this;t._model.playback.preconnect?t._setSrcImpl(e):(t._removeFromCommandQueue("_setSrcImpl"),t._commandQueue.push(["_setSrcImpl",[e]]))},r.prototype._setSrcImpl=function(e){var t=this;t.node.set("src",e)},r.prototype._setAdSrc=function(e){var t=this,n=e.streams;try{t.node.set("src",{live:!1,rtx:!1,url:n[0].url})}catch(i){t._eventBus.publish(a.Ad.ERROR)}},r.prototype._setStreamUrlSrc=function(e){var t=this,n=e.streams[0],i=t._error;t._profiler.add(a.Metrics.LOAD_TO_LOADED_DATA);try{t.node.set("src",{live:!1,rtx:!1,url:n.url})}catch(r){var i=new i.Error(i.E_PLAYER,i.PLAYER_CODES.E_PLAYER_FLASH_PLAYBACK_URL_ERROR);return void t._eventBus.publish(a.ERROR,i)}n.isDrmProtected()&&(t._drmState=y.DRM_INITIAL)},r.prototype._setVideoSrc=function(e){var t=this,n=t._error,i=e.streams;e.mode;t._profiler.add(a.Metrics.LOAD_TO_LOADED_DATA);var r=[],o=!1;if(i.forEach(function(e){e=c.extend({},e),"m3u8_playlist"===e.format&&(e.format="m3u8"),e.path&&e.path.indexOf("content=hls")>-1&&(e.format="m3u8"),e.isAtlas()&&t._fixPathForFlash(e);var n=e.isStreamCompatibleForDrm("flash");return-1===n?void(o=!0):(1===n&&(t._drmState=y.DRM_INITIAL),void r.push(e))}),r.length<=0){if(o){var s=new n.Error(n.E_PLAYER_DRM,n.PLAYER_DRM_CODES.E_PLAYER_DRM_UNSUPPORTED_STREAM_ERROR);t._eventBus.publish(a.ERROR,s)}}else{var l=r.filter(function(e){return!t._isProgressiveDownload(e)}),u=t._model.playlist.getCurrentItem(),d={uuid:e.uuid,showName:u?u.showName:"",title:u?u.title:"",duration:u?u.duration:0};e.startTime&&(d.startTime=e.startTime),l.length>0?(d.streamType=l[0].getType(),d.streams=l,d.live=l[0].live,d.rtx=l[0].isRTX()):(r=r.sort(function(e,t){return t.bitrate-e.bitrate}),d.streamType=r[0].getType(),d.url=r[0].url,d.rtx=r[0].isRTX());try{t.node.set("stopBufferingOnPause",t._model.playback.stopBufferingOnPause),t.node.set("preload",t._model.playback.preload),t.node.set("ignoreEndlist",e.ignoreEndlist),t._setSrc(d),t._model.playback.targetBitrate&&t._setQuality({preference:"config",bitrate:t._model.playback.targetBitrate})}catch(s){t._eventBus.publish(a.ERROR,new t._error.Error(t._error.E_PLAYER,t._error.PLAYER_CODES.E_PLAYER_FLASH_PLAYBACK_ERROR))}}},r.prototype._fixPathForFlash=function(e){if(e.format){var t="mp4"===e.format.toLowerCase(),n=e.path.replace(/^\/?mp4:/,"");(t||"flv"===e.format.toLowerCase())&&(n=n.replace(/^\//,"")),t&&e.isRTMP()&&(n="mp4:"+n),e.path=n}},r.prototype._isProgressiveDownload=function(e){return!e.host||/^http[s]?:\/\//.test(e.host)&&"m3u8"!==e.format&&"f4m"!==e.format},r.prototype.play=function(e){var t=this,n=t._error;if(!t.seeking||t._model.playbackState.paused)if(t._profiler&&t._profiler.add(a.Metrics.STREAM_PLAY_TO_RENDER),t._swfReady){t.seeking=!1,t.ended=!1,t._isSeeking=!1;var i=0;if(t._model.playback.preconnect||(t.mode===s.VIDEO?t._flushCommandQueue():t.mode===s.AD&&(i=1)),t._commandQueue.length>i&&t._eventBus.publish(a.ERROR,new n.Error(n.E_PLAYER,n.PLAYER_CODES.E_INTERNAL_VIOLATION)),t.node.playMedia(e),t._profiler&&t._drmState===y.DRM_INITIAL){var r=t._profiler.getItem(a.Metrics.DRM_METADATA_IS_SET);r||t._profiler.add(a.Metrics.DRM_METADATA_IS_SET)}}else t._commandQueue.push(["play",[e]])},r.prototype._pause=function(){var e=this;e.node.pauseMedia()},r.prototype.seek=function(e){var t=this;if(t._swfReady)if(t._isSeeking=!0,t.node.get("seekable"))t.node.set("currentTime",e);else var n=t._eventBus.subscribe(a.Video.PLAYING,function(){t.node.set("currentTime",e),n.detach()});else t._commandQueue.push(["seek",[e]])},r.prototype.getCurrentTime=function(){var e=this;return e.node.get("currentTime")},r.prototype.getFlashVersion=function(){var e=this;return e._swfReady?e.node.get("flashVersion"):null},r.prototype.setVolume=function(e){var t=this;t._swfReady?t.node.set("volume",e):t._commandQueue.push(["setVolume",[e]])},r.prototype.setQuality=function(e){var t=this;t._setQuality({preference:e.preference,bitrate:e.stream.bitrate})},r.prototype._setQuality=function(e){var t=this;t._swfReady?t.node.set("quality",e):t._commandQueue.push(["_setQuality",[e]])},r.prototype._isFlashBlocked=function(e){var t=this;if(e)for(var n in M)if(M.hasOwnProperty(n)){var i=M[n].call(t,e);if(i)return t._eventBus.publish(a.ERROR,i),t._DOMChangeObserver&&t._DOMChangeObserver.disconnect(),!0}return!1},r.prototype.detectFlashBlockers=function(e){var t=this;if(!t._isFlashBlocked(e)){var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(l.ie&&l.ie<11||"undefined"==typeof n)return;t._DOMChangeObserver=new n(function(n){var i={};try{n.forEach(function(n){if(u.log("DOM change has been detected."),t._isFlashBlocked(e))throw i})}catch(r){if(r!==i)throw r;t._DOMChangeObserver.disconnect()}});var i={attributes:!0,childList:!0,characterData:!0};t._DOMChangeObserver.observe(e,i)}},r.prototype._unbindEvents=function(){for(var e=this,t=0;t<_.length;t++)window.document.removeEventListener(_[t],e._onFullscreenEvent)},r.prototype.destroy=function(){var e=this;e._swfReady&&e.node.stopMedia&&e.node.stopMedia(),delete window[e._eventHandlerName],e._unbindEvents(),clearTimeout(e._removeSWFNotReadyTimeout),clearTimeout(e._swfReadyTimeout),e.node=null}},{"../../../lib/logger":"IS9j5T","../../../lib/user-agent":"ty5FFo","../error.js":18,"../event":"YJm+dH","../states":45,"../util":"jJTEqU","./modes":42}],39:[function(e,t,n){"use strict";function i(){var e=document.createElement("div");return u.iosWebView?e.innerHTML='<video class="yvp-html5-video" style="top: 0" webkit-playsinline preload></video>':u.tv?e.innerHTML='<video class="yvp-html5-video" preload="meta" crossorigin="anonymous"><source/></video>':e.innerHTML='<video class="yvp-html5-video" preload></video>',e.children[0]}function r(){}t.exports=r;var o=e("../cc"),a=e("../error"),s=e("../event"),l=e("./modes"),c=e("../tap"),u=e("../../../lib/user-agent"),d=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];r.prototype.create=function(e){var t=this;return t.node=e||i(),t._bindEvents(),t.node},r.prototype.detachNode=function(){var e=this;e._unbindEvents(),e.node.pause()},r.prototype.reattachNode=function(){var e=this;e._bindEvents()},r.prototype._bindEvents=function(){var e=this;e._onVideoEvent=function(t){if(!e.ended){var n,i=t.type;if(e.mode===l.VIDEO)n=s.Video[i.toUpperCase()];else{if(e.mode!==l.AD)return;n=s.Ad[i.toUpperCase()]}e._handleVideoEvent(i,n)}},s.nativeVideoEvents.forEach(function(t){e.node.addEventListener(t,e._onVideoEvent)}),e._onFullscreenEvent=function(){e._eventBus.publish(s.FULLSCREEN_CHANGE),e._eventBus.publish(s.PLAYER_RESIZE,e.node.clientWidth,e.node.clientHeight)};for(var t=0;t<d.length;t++)window.document.addEventListener(d[t],e._onFullscreenEvent);u.iphone||(e._videoTap=new c(e.node),e._onVideoTap=function(){e.mode===l.VIDEO?e._eventBus.publish(s.Video.CLICK):e.mode===l.AD&&(e._eventBus.publish(s.Ad.CLICK,e.node.currentTime),
  e.node.pause())},e.node.addEventListener("tap",e._onVideoTap)),e._eventBus.subscribe(s.CC.FETCH_MOBILE,e._enableMobilCC,e)},r.prototype.setSelectedStreams=function(e){var t=this;t._eventBus.publish(s.SELECTED_STREAM_CHANGE,e)},r.prototype.seek=function(e){var t=this;try{t.node.currentTime=e}catch(n){if("InvalidStateError"===n.name)var i=t._eventBus.subscribe(s.Video.LOADEDMETADATA,function(){t.node.currentTime=e,i.detach()})}},r.prototype.getCurrentTime=function(){var e=this;return e.node.currentTime},r.prototype.setVolume=function(e){var t=this;t.node&&(t.node.volume=e)},r.prototype._enableMobilCC=function(e){var t=this,n=document.createDocumentFragment();t._deleteTracks(),e.langList.forEach(function(t){var i=document.createElement("track");i.setAttribute("label",o.prototype.getLanguageForCode.call(null,t.lang)),i.setAttribute("srclang",t.lang),i.setAttribute("kind","subtitles"),i.setAttribute("type","text/vtt"),t.lang===e.selectedLang&&i.setAttribute("default",!0),i.src=t.url,i.track.mode="hidden",n.appendChild(i)}),t.node.appendChild(n)},r.prototype._deleteTracks=function(){for(var e=this,t=e.node.querySelectorAll("track"),n=0;n<t.length;n++)e.node.removeChild(t[n])},r.prototype._unbindEvents=function(){var e=this;s.nativeVideoEvents.forEach(function(t){e.node.removeEventListener(t,e._onVideoEvent)});for(var t=0;t<d.length;t++)window.document.removeEventListener(d[t],e._onFullscreenEvent);e._videoTap&&(e._videoTap.destroy(),e.node.removeEventListener("tap",e._onVideoTap))},r.prototype._getCodeForNodeError=function(e){if(!e instanceof window.MediaError)return a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR;switch(e.code){case window.MediaError.MEDIA_ERR_ABORTED:return a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_ABORTED;case window.MediaError.MEDIA_ERR_NETWORK:return a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_NETWORK;case window.MediaError.MEDIA_ERR_DECODE:return a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_DECODE;case window.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:return a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_SRC_NOT_SUPPORTED;case window.MediaError.MEDIA_ERR_ENCRYPTED:return a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_ENCRYPTED;default:return a.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR}},r.prototype.destroy=function(){var e=this;e._unbindEvents(),e.node.pause(),e.node.src="",e.node.load(),e._CCStyleTag&&(e._CCStyleTag.parentNode.removeChild(e._CCStyleTag),e._CCStyleTag=null),e.node.parentNode.removeChild(e.node),e.node=null}},{"../../../lib/user-agent":"ty5FFo","../cc":"zKzgQw","../error":18,"../event":"YJm+dH","../tap":"dsc79Q","./modes":42}],40:[function(e,t,n){"use strict";function i(e,t){var n=this;n._eventBus=e,n._model=t,n.mode=l.VIDEO,n.seeking=!1,n.ended=!1,n._numVideoStreams=0}t.exports=i;var r=e("../error"),o=e("dash"),a=e("../event"),s=e("./html5-base.js"),l=e("./modes"),c=e("../util"),u=e("../../../lib"),d=e("../../../lib/logger"),p=300,_=40;c.inherits(i,s),i.prototype.create=function(){var e=this;return s.prototype.create.apply(e,arguments),e._dashPlayer=new o(e.node,{debug:c.keepConsoleLogs}),e.node},i.prototype.waitForReady=function(e){e(null)},i.prototype._handleVideoEvent=function(e,t){var n=this;switch(e){case"seeking":case"seeked":n._eventBus.publish(t,n.node.currentTime,n.node.duration,n.node.buffered);break;case"error":var i=n.node.error;if(n.mode===l.VIDEO){var o,s,c=n._dashPlayer.error||{};u.isNumber(c.code)?(o=c.code.toString(),s=new r.Error(r.E_PLAYER_DASH,o,{msg:null,debugMsg:c.message})):(o=n._getCodeForNodeError(i),s=new r.Error(r.E_PLAYER,o)),n._eventBus.publish(a.Video.ERROR,i),n._eventBus.publish(a.ERROR,s)}else n._eventBus.publish(a.Ad.ERROR,i);break;case"ended":n.ended=!0,n._eventBus.publish(t);break;case"pause":if(n.ended)break;if(n.seeking)break;n._eventBus.publish(t);break;case"timeupdate":case"loadeddata":var d=n._dashPlayer.getMetrics();n._model.playback.bitrate=d.streamInfo.nominalBitrate;var p={currentStreamBitrate:d.streamInfo.nominalBitrate,currentKbps:d.networkBandwidth,bufferLength:d.bufferOccupancy,deliveryProtocol:"dash",frameRate:0,qualityLevels:n._numVideoStreams,playbackBytesPerSecond:d.streamInfo.currentBitrate,mediaWidth:d.streamInfo.videoWidth,mediaHeight:d.streamInfo.videoHeight};n._eventBus.publish(a.PLAYBACK_INFO,p),"timeupdate"===e?n._eventBus.publish(t,n.node.currentTime,n.node.duration,n.node.buffered):n._eventBus.publish(t);break;default:n._eventBus.publish(t)}},i.prototype.setStreams=function(e){var t=this,n=e.streams;t.ended=!1,t._numVideoStreams=0;var i=0;if(t.mode===l.AD)return n.length>0?(t.node.src=n[0].url,t._numVideoStreams=1,!0):!1;for(var r=t._model.playback.preload?"auto":"none",o=[],a=n.length,s=0;a>s;s++){var c=n[s];if("mp4dash"===c.format){var u={url:c.url,mimeType:c.mimeType,bitrate:c.bitrate,indexStart:c.dashInfo.index_start,indexEnd:c.dashInfo.index_end,initialFetchEnd:c.dashInfo.init_fetch_end};"video/mp4"===c.mimeType?(u.width=c.width,u.height=c.height,c.bitrate>p&&(t._numVideoStreams++,o.push(u))):c.bitrate>_&&(i++,o.push(u))}else if("mpd"===c.format)return t._dashPlayer.setSrc({mpdUrl:c.url,preload:r}),!0}return t._numVideoStreams>0&&i>0?(d.log("Setting DASH streams:",JSON.stringify(o)),t._dashPlayer.setSrc({streams:o,preload:r}),!0):!1},i.prototype.setQuality=function(){return!1},i.prototype.play=function(e){var t=this;u.isNumber(e)&&e>0&&e<t.node.duration&&(t.node.currentTime=e),t.ended=!1,t.seeking=!1,t.node.play()}},{"../../../lib":"bRhrlU","../../../lib/logger":"IS9j5T","../error":18,"../event":"YJm+dH","../util":"jJTEqU","./html5-base.js":39,"./modes":42,dash:140}],41:[function(e,t,n){"use strict";function i(e,t,n,i){var r=this;r._eventBus=e,r._model=i,r._capabilities=t,r._profiler=n,r.mode=l.VIDEO,r.seeking=!1,r.ended=!1,r._isSwitching=!1,r._currentSrcFormat="",r._currentStream=null,r._lastUpdatedTime=0,r._retryCount=0,r._retryStreams=[],r._retryState=null,r._waitingEventTimer=null,r._lastTime=0,r._playbackStuck=!1,r._seeked=!1}t.exports=i;var r=e("../bitrate-selector"),o=e("../error"),a=e("../event"),s=e("./html5-base.js"),l=e("./modes"),c=e("../stream"),u=e("../../../lib/user-agent"),d=e("../util"),p=e("../../../lib"),_=e("../../../lib/logger"),y=e("../states"),M=10,v=2,L=[1,5],m=100;d.inherits(i,s),i.prototype.waitForReady=function(e){e(null)},i.prototype._handleVideoEvent=function(e,t){var n=this;switch("playing"===e&&n._profiler&&(n._profiler.setEndTime(a.Metrics.STREAM_PLAY_TO_RENDER),n._profiler.setEndTime(a.Metrics.STREAM_REQUEST_TO_RENDER)),e){case"timeupdate":case"seeking":case"seeked":"seeked"===e&&(n._seeked=!0),n._isSwitching?"seeked"===e&&n._playNewStream():n._eventBus.publish(t,n.node.currentTime,n.node.duration,n.node.buffered),n._lastUpdatedTime=n.node.currentTime;break;case"error":var i=n.node.error;if(n.mode===l.VIDEO){var r=n._getCodeForNodeError(i),s=o.E_WARNING,c=a.WARNING,u=1===n._retryStreams.length&&n._retryCount===v;u&&(s=o.E_PLAYER,c=a.ERROR);var p=new o.Error(s,r,{msg:null,debugMsg:n.node.src});if(_.log("Video node errored out because: ",i),parseInt(p.code)>=303&&parseInt(p.code)<=308){n._retryCount++,u||n._eventBus.publish(c,p);var y=null;return y=n._model.playlist.getCurrentItem().isLive()?n.retryStreams(0):n.retryStreams(n._lastUpdatedTime),y?void d.getUrlStatus(y.url,function(e){401===e?p.code=o.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_URL_NOT_AUTHORIZED:404===e&&(p.code=o.PLAYER_CODES.E_PLAYER_HTML5_PLAYBACK_ERROR_URL_NOT_FOUND),n._eventBus.publish(a.ERROR,p)}):void 0}n._eventBus.publish(a.Video.ERROR,i),n._eventBus.publish(c,p)}else n._eventBus.publish(a.Ad.ERROR,i);break;case"ended":n.ended=!0,n._waitingEventTimer&&clearInterval(n._waitingEventTimer),n._eventBus.publish(t);break;case"loadeddata":if(n._isSwitching){n._seekToCurrentTime();break}n._profiler&&n._profiler.setEndTime(a.Metrics.LOAD_TO_LOADED_DATA),n._eventBus.publish(t);break;case"pause":if(n.ended||n.node.ended)break;if(n.seeking)break;if(!n.node.paused)break;n._eventBus.publish(t);break;case"play":case"playing":if(n._isSwitching){"playing"===e&&n._finishSwitching();break}n._eventBus.publish(t);break;case"waiting":break;default:n._eventBus.publish(t)}},i.prototype._checkFormat=function(e,t){return e.indexOf(t)>-1},i.prototype._areFormatsCrashy=function(e,t){var n=this;return n._checkFormat(e,"mp4")&&n._checkFormat(t,"m3u8")||n._checkFormat(e,"m3u8")&&n._checkFormat(t,"mp4")},i.prototype.setStreams=function(e){var t=this,n=e.streams;t._streams=n,t._retryStreams=n,t._handleWaitingEvent();var i=[];n.forEach(function(e){i.push(parseInt(e.bitrate))}),i=i.sort(),t._bitrateSelector=new r(t.node,i);var o=t._model.playback.targetBitrate?t._model.playback.targetBitrate:t._bitrateSelector.getTargetBitrate(),s=t._getBestStream(o);return s?(t._setSrc(s,e.startTime),t._updateStreamBitrateInfo(s),e.abr&&i.length>1&&(t._eventBus.subscribe(a.Video.TIMEUPDATE,t._onPlaybackProgress,t),t._lastABRCheckTime=0),!0):!1},i.prototype.setQuality=function(e){var t=this;t._switchSrc(e.stream.url),t._updateStreamBitrateInfo(e.stream)},i.prototype.retryStreams=function(e){var t=this,n=t._currentStream;if(t._retryCount<=v)setTimeout(function(){t._retryStream(n,e)},1e3*L[t._retryCount-1]);else{t._retryCount=0;var i=t._retryStreams.indexOf(n);if(t._retryStreams.splice(i,1),0===t._retryStreams.length)return n;var r=c.findStreamByProperty(t._retryStreams,c.BITRATE,t._bitrateSelector.getTargetBitrate(),t._capabilities);t._retryStream(r,e)}return null},i.prototype._getFirstPrimaryStream=function(){var e=this,t=null;if(e._streams)for(var n=0;n<e._streams.length;n++)if(e._streams[n].isPrimary){t=e._streams[n];break}return t},i.prototype._getBestStream=function(e){var t=this,n=t._getFirstPrimaryStream();return n?n:c.findStreamByProperty(t._streams,"bitrate",e,t._capabilities)},i.prototype._onPlaybackProgress=function(e){var t=this;if(e-t._lastABRCheckTime>M){t._lastABRCheckTime=e;var n=t._getBestStream(t._bitrateSelector.getRecommendedBitrate());n&&(t._switchSrc(n.url),t._updateStreamBitrateInfo(n))}},i.prototype._updateStreamBitrateInfo=function(e){var t=this;t._bitrateSelector.currentBitrate=e.bitrate,t._eventBus.publish(a.PLAYBACK_INFO,{currentStreamBitrate:e.bitrate,qualityLevels:t._streams.length}),_.log("Set stream with bitrate: ",e.bitrate)},i.prototype._setSrc=function(e,t,n){var i=this;if(i.ended=!1,i.node.src!==e.url||n){if(u.iphone&&i.node.hasOwnProperty("webkitDisplayingFullscreen")&&!i.node.webkitDisplayingFullscreen&&i._areFormatsCrashy(e.format,i._currentSrcFormat)){var r=i.node.parentNode;i.destroy(),r.appendChild(i.create())}if(u.android&&!u.chrome&&e.live){var s=new o.Error(o.E_WARNING,o.WARNING_CODES.E_PLAYER_ANDROID_CHROME_REQUIRED);return void i._eventBus.publish(a.ERROR,s)}if(i._deleteTracks(),u.mobile&&e.drmType&&("adobe"===e.drmType||"apple"===e.drmType)&&(e.url=e.url+"&dv=0"),i._profiler&&i._profiler.add(a.Metrics.STREAM_REQUEST_TO_RENDER),i.node.src=e.url,t)var c=i._eventBus.subscribe(a.Video.LOADEDMETADATA,function(){i.node.currentTime=t,c.detach()});i._firstPlay=!0,i._currentSrcFormat=e.format,i._currentStream=e,i._profiler&&i.mode===l.VIDEO&&i._profiler.add(a.Metrics.LOAD_TO_LOADED_DATA),u.mobile||(i.node.load(),i._model.playbackState.state===y.VIDEO&&i.play())}},i.prototype._calculateCanvasPosition=function(){var e=this,t=e.node.videoWidth,n=e.node.videoHeight,i=t/n,r=e.node.clientWidth,o=e.node.clientHeight,a=r/o,s=0,l=0;a>i?(l=o.toFixed(2),s=(i*o).toFixed(2)):(s=r.toFixed(2),l=(r/i).toFixed(2));var c=Math.max((r-s)/2,0),u=Math.max((o-l)/2,0);return{width:s,height:l,left:c,top:u}},i.prototype._seekToCurrentTime=function(){var e=this;e.seek(e._currentTime)},i.prototype._playNewStream=function(){var e=this;e.node.play(),e._canvas.parentNode.removeChild(e._canvas)},i.prototype._finishSwitching=function(){var e=this;e._eventBus.publish(a.Video.SWITCHED),e._isSwitching=!1},i.prototype._switchSrc=function(e){var t=this,n=t.node.clientWidth,i=t.node.clientHeight;if(t.node.src===e)return t._eventBus.publish(a.Video.SWITCHING),void t._eventBus.publish(a.Video.SWITCHED);t._isSwitching=!0,t.node.pause(),t._currentTime=t.node.currentTime;var r=document.createElement("canvas");t._canvas=r,r.className="yvp-switching-canvas",r.width=n,r.height=i;var o=t._calculateCanvasPosition();r.style.cssText="width:"+o.width+"px;height:"+o.height+"px;left:"+o.left+"px;top:"+o.top+"px",t.node.parentNode.appendChild(r),r.getContext("2d").drawImage(t.node,0,0,n,i),t._eventBus.publish(a.Video.SWITCHING),t.node.src=e},i.prototype._retryStream=function(e,t){var n=this;n._setSrc(e,t,!0),n._updateStreamBitrateInfo(e)},i.prototype.play=function(e){var t=this;if(t.ended=!1,t._firstPlay){if(u.ios){var n=t.node.src;t.node.src="",t.node.load(),t.node.src=n}u.mobile&&t.node.load()}t._firstPlay=!1;var i=isNaN(t.node.duration)?t._model.playlist.getCurrentItem().duration:t.node.duration;p.isNumber(e)&&e>0&&i>e&&(t.node.currentTime=e),t.seeking=!1,t._profiler&&t._profiler.add(a.Metrics.STREAM_PLAY_TO_RENDER),t.node.play()},i.prototype._handleWaitingEvent=function(){var e=this;e._waitingEventTimer=setInterval(function(){var t=e.node.currentTime;e.node.seeking?t!==e._lastTime&&e._publishWaitingEvent(!0,!0):t!==e._lastTime||e._playbackStuck||e.node.paused||0===t?t>e._lastTime&&e._playbackStuck&&(e._publishWaitingEvent(!1,e._seeked),e._seeked=!1):e._publishWaitingEvent(!0,!1),e._lastTime=t},m)},i.prototype._publishWaitingEvent=function(e,t){var n=this;n._eventBus.publish(a.Video.WAITING,{type:"waiting",value:e,ignoreBuffering:t}),n._playbackStuck=e}},{"../../../lib":"bRhrlU","../../../lib/logger":"IS9j5T","../../../lib/user-agent":"ty5FFo","../bitrate-selector":13,"../error":18,"../event":"YJm+dH","../states":45,"../stream":"Af6MnA","../util":"jJTEqU","./html5-base.js":39,"./modes":42}],42:[function(e,t,n){t.exports={VIDEO:"video",AD:"ad",VPAID:"vpaid"}},{}],43:[function(e,t,n){"use strict";function i(e,t){var n=this;n._model=e,n._profiler=t}t.exports=i;var r=e("./util"),o=e("./event"),a="https://video.media.yql.yahoo.com/v2/video/user/activity/",s="//video.media.yql.yahoo.com/v1/video/user/watchlater/set?wl={%22uuid%22:%22{video-uuid}%22}",l="//video.media.yql.yahoo.com/v1/video/user/watchhistory/set?wh=";i.prototype._jsonp=function(e,t,n,i){var o=this;n=n||null,i&&o._profiler.add(i),r.jsonp(e,function(r,a){r=r||a.error,i&&o._profiler.setEndTime(i),r?t.call(n,r,null,e):t.call(n,null,a)})},i.prototype.addWatchLater=function(e,t,n){var i=this,o=r.strSubstitute(s,{"video-uuid":e});i._jsonp(o,t,n)},i.prototype.deleteWatchLater=function(e,t,n){var i=this,o=a+"delete?type={activity}&uuid={video-uuid}",s=r.strSubstitute(o,{activity:"watchlater","video-uuid":e});i._jsonp(s,t,n)},i.prototype.saveToWatchHistory=function(e,t,n){var i=this,r={uuid:e},a=l+encodeURIComponent(JSON.stringify(r));i._jsonp(a,t,n,o.Metrics.SET_WATCH_HISTORY)}},{"./event":"YJm+dH","./util":"jJTEqU"}],44:[function(e,t,n){"use strict";function i(e,t,n,i){var r=this;r.guid=e,r.env=t,r._outstandingRequests=[],r._eventBus=n,r._profiler=i,r._xhrErrorCodes={0:{404:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_404,408:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_408,502:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_502,503:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_503,timeout:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED_TIMEOUT,"default":a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_SERVER_CONNECTION_FAILED},1:{408:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_408,502:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_502,503:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_503,timeout:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED_TIMEOUT,"default":a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_RESPONSE_NOT_RECEIVED},2:{408:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_408,timeout:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED_TIMEOUT,"default":a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_LOAD_FAILED},3:{408:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_408,timeout:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE_TIMEOUT,"default":a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_NOT_COMPLETE},"default":{timeout:a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_TIMEOUT,"default":a.PLAYER_CODES.E_PLAYER_CMS_XHR_REQUEST_ERROR}}}t.exports=i;var r=e("../../lib/user-agent"),o=e("./util"),a=e("./error"),s=e("./event"),l=e("../../lib"),c=e("../../lib/logger"),u="//video.media.yql.yahoo.com/v1/video/sapi",d="//video.media.yql.yahoo.com/v1/video/user/prefs/get",p="//video.media.yql.yahoo.com/v1/video/user/ccprefs/set",_="//video.media.yql.yahoo.com/v3/video/user/activity/watched/progress",y="//video.media.yql.yahoo.com/v1/video/alias/channels",M=2;i.prototype._buildClipParams=function(e,t){var n=[],i=[];e.rt.forEach(function(e){var r=t[e];n=n.concat(r.acceptedProtocols),i=i.concat(r.preferredFormats)}),n=o.uniquifyArray(n),i=o.uniquifyArray(i);var a=e.rt.indexOf("flash")>=0?"flash":"html",s={protocol:n.join(","),format:i.join(","),srid:Math.floor(4294967295*Math.random()),rt:a,devtype:r.tv?"tv-widget":r.mobile?"smartphone":"desktop",offnetwork:o.isOffNetwork(),region:e.region,site:e.site,expb:e.expb,expn:e.expn,lang:e.lang,width:e.width,height:e.height,resize:!0,ps:e.ps,acctid:e.acctid,synd:e.synd,pspid:e.pspid,plidl:e.plidl,topic:e.topic};return r.tv&&(s.dv=0,s.devtype="tv-widget"),"flash"===a&&(s.hlspre="true"),s},i.prototype.loadClips=function(e,t,n,i){var r=this,o=r._buildClipParams(e,t);""===o.format?r._eventBus.publish(s.ERROR,new a.Error(a.E_WARNING,a.WARNING_CODES.E_PLAYER_NO_COMPATIBLE_FORMAT)):r._makeSapiYqlpRequest(e.uuids,"/streams",o,n,null,i)},i.prototype.loadRelated=function(e,t){var n=this,i={start:e.start||"0",count:e.count||"3",devtype:r.mobile||r.tv?"smartphone":"desktop",offnetwork:o.isOffNetwork(),site:e.site,region:e.region,lang:e.lang,width:e.width,height:e.height,resize:!0};n._makeSapiYqlpRequest(e.uuid,"/related",i,t)},i.prototype.loadWatchLater=function(e,t){var n=this,i="wf-channel=watch-later",a=y+"/"+i,s={count:e.count,start:e.start,dev_type:r.mobile?"smartphone":"desktop",offnetwork:o.isOffNetwork(),site:e.site,region:e.region,lang:e.lang,vp:0,img_sizes:"208x117",ssl:!0};a+="?"+o.querystring(s),n._makeSAPIRequest(a,t)},i.prototype.loadRelatedVideosChannel=function(e,t){var n=this,i="wf-channel=related-videos",a=y+"/"+i,s={video_uuid:e.videoUuid,count:e.count,start:e.start,dev_type:r.mobile?"smartphone":"desktop",offnetwork:o.isOffNetwork(),site:e.site,region:e.region,lang:e.lang,vp:0,img_sizes:"208x117",algo:"ssbe",ssl:!0};a+="?"+o.querystring(s),n._makeSAPIRequest(a,t)},i.prototype.loadPlaylist=function(e,t,n){var i=this,r=i._buildClipParams(e,t);i._makeSapiYqlpRequest(e.uuid,"/playlist",r,n)},i.prototype.cancelAll=function(){var e=this;e._outstandingRequests.forEach(function(e){e()}),e._outstandingRequests=[]},i.prototype._makeSapiYqlpRequest=function(e,t,n,i,r,a){var s=this,l=u;l+=t,l+="/"===l[l.length-1]?"":"/",s.env&&"prod"!==s.env&&("beta"===s.env?l=l.replace(/video/i,"video.beta"):(l=l.replace(/.yql/i,""),l=l.replace(/video/i,"video-yql.rc-staging")),n.env=s.env),l+=e+"?"+o.querystring(n),s._makeSAPIRequest(l,i,r,a)},i.prototype._makeSAPIRequest=function(e,t,n,i){var r=this;l.isNullOrUndefined(n)&&(n=M),l.isNullOrUndefined(i)&&(i=!1);var c=function(e){var t=new a.Error(a.E_WARNING,e.code,e.moreInfo);r._eventBus.publish(s.WARNING,t)},d=function(e){if(r._profiler){var t=r._profiler.getItem(s.Metrics.SAPI_REQUEST),n=e?t.startTime:null;t&&!t.endTime&&r._profiler.setEndTime(s.Metrics.SAPI_REQUEST,n)}},p={method:"GET",context:r,timeout:2e4,responseTypeJson:!0,jsonpHandler:function(s,l){if(s=s||l.error,r._outstandingRequests.splice(r._outstandingRequests.indexOf(y),1),s)if(0===n)d(!0),t(s,null,e);else{var u=a.PLAYER_CODES.E_PLAYER_CMS_JSONP_REQUEST_FAILURE;s.message===o.JSONP_TIMED_OUT&&(u=a.PLAYER_CODES.E_PLAYER_CMS_JSONP_REQUEST_TIMEOUT),c({code:u,moreInfo:{msg:null,debugMsg:e+" timeout: "+Date.now(),prefetch:i}}),r._makeSAPIRequest(e,t,n-1,i)}else d(!1),t(null,l)},successHandler:function(e){r._outstandingRequests.splice(r._outstandingRequests.indexOf(y),1),d(!1),t(null,e)},failureHandler:function(s,u,p){r._outstandingRequests.splice(r._outstandingRequests.indexOf(y),1),u=l.isNullOrUndefined(u)||l.isNullOrUndefined(r._xhrErrorCodes[u])?"default":u,s.message===o.XHR_TIMEOUT?p="timeout":l.isNullOrUndefined(r._xhrErrorCodes[u][p])&&(p="default");var _=r._xhrErrorCodes[u][p];0===n?(d(!0),t(new a.Error(s,_),null,e)):(c({code:_,moreInfo:{msg:null,debugMsg:e+" timeout: "+Date.now(),prefetch:i}}),r._makeSAPIRequest(e,t,n-1,i))}},_=e.indexOf(u+"/streams")>-1;_&&!i&&r._profiler&&!r._profiler.getItem(s.Metrics.SAPI_REQUEST)&&r._profiler.add(s.Metrics.SAPI_REQUEST);var y,v=!0;y=v?o.jsonp(e,p.jsonpHandler):o.ajax(e,p),r._outstandingRequests.push(y)},i.prototype.updateUserPreferences=function(e,t){var n=this;n._makeSAPIRequest(p+"?userccp="+encodeURIComponent(JSON.stringify(t)),e)},i.prototype.getUserPreferences=function(e){var t=this;t._makeSAPIRequest(d,e)},i.prototype.updateResume=function(e,t,n){var i=this,r=_+"?id="+e+"&progress="+t.position+"&collection="+n;t.adbreaks.forEach(function(e){r+="&adBreaks="+e}),i._makeSAPIRequest(r,function(){c.log("resume updated")})}},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","../../lib/user-agent":"ty5FFo","./error":18,"./event":"YJm+dH","./util":"jJTEqU"}],45:[function(e,t,n){t.exports={INIT:"init",WAITING:"waiting",VIDEO:"video",END:"end"}},{}],Af6MnA:[function(e,t,n){"use strict";function i(e,t){return t.some(function(t){return e===t})}function r(e,t){var n=!1;return t.forEach(function(t){e.indexOf(t)>-1&&(n=!0)}),n}var o=function(e,t,n){var i=null;return e&&e.forEach(function(e){i?e[n]<=t&&(i=e):i=e}),i};n.findAcceptedStreams=function(e,t){return e.filter(function(e){return i(e.format,t.acceptedFormats)&&r(e._getProtocol(),t.acceptedProtocols)})},n.findStreamByProperty=function(e,t,i,r){return e=n.findAcceptedStreams(e,r).sort(function(e,n){return e[t]-n[t]}),"resolution"===t&&(t="height"),o(e,i,t)},n.BITRATE="bitrate",n.RESOLUTION="resolution"},{}],"./nextgen/src/stream.js":[function(e,t,n){t.exports=e("Af6MnA")},{}],"./nextgen/src/strings.js":[function(e,t,n){t.exports=e("XwKsC9")},{}],XwKsC9:[function(e,t,n){"use strict";n.i18n={ON:"On",OFF:"Off",MENU:"Menu",ELAPSED_TIME:"elapsed time",REMAINING_TIME:"remaining time",NUM_SECONDS:"{num-seconds} seconds",NUM_SECOND:"{num-seconds} second",OPTIONS:"Options",LINK:"Link",EMBED:"Embed",SHARE:"Share",SHARING:"Sharing",SHARING_UNAVAILABLE_MESSAGE:"Sharing is not available for this video.",TIMESTAMP:"Starts at",NOW_WATCHING:"Now Watching",ADVERTISEMENT:"Advertisement",LIVE:"Live",FEEDBACK:"Feedback",PLAY_VIDEO:"Play Video",REPLAY:"Replay",BACK:"Back",FEEDBACK_BUTTON:"Submit Feedback",FEEDBACK_TITLE:"Yahoo Videoplayer Feedback",FEEDBACK_SUBTITLE_RESPONSE_MESSAGE:"Thank you for your feedback.",FEEDBACK_SUBTITLE_RESPONSE_ID:"Feedback Id: ",FEEDBACK_DISCLAIMER:"* By submitting this feedback, you agree to allow Yahoo! to collect video playback data from your current session to help us deliver a great experience to all users. Thanks for your help!",CONTENT_RESTRICTED:"Content Restricted",AGE_GATE_DESC:"This content is intended for mature audiences. Viewer discretion advised.",SIGN_IN_TO_VIEW_ACTION:"Sign-in to view",CONTINUE_ACTION:"Continue",AGE_GATE_BDAY_DESC:"This content is intended for mature audiences. Please enter your date of birth below to continue.",SUBMIT_ACTION:"Submit",AGE_GATE_NOT_ALLOWED_DESC:"Sorry. This content is intended for mature audiences.",MATURE:"Mature",SETTINGS:"Settings",PREFERENCES:"Preferences",VIDEO_QUALITY:"Video Quality",QUALITY:"QUALITY",AUTO:"Auto",LOW:"Low",MEDIUM:"Medium",HIGH:"High (HD)",QUALITY_INDICATOR:"Quality Indicator",AUTOPLAY:"Autoplay",AUTOPLAY_DESCRIPTION:"When applicable, the video will automatically start playing as soon as it can do so without stopping.",HTML5_PREFERENCE:"HTML5 Preference",PREFERENCE_DESCRIPTION:"Where possible, the HTML5 player is used by default instead of Flash player.",SIGN_IN:"Sign In",LOGIN_MESSAGE:"Please sign in to use this feature.",EMBED_NOT_ALLOWED:"This video cannot be embedded due to provider license restrictions.",TOP:"Top",BOTTOM:"Bottom",CC_PREVIEW:"Bottom",CC_PREVIEW_MESSAGE:"Captions will look like this",FONT:"font",BACKGROUND:"background",EFFECTS:"effects",NONE:"none",DROPSHADOW:"dropshadow",RAISED:"raised",DEPRESSED:"depressed",UNIFORM:"uniform",NO_ITEM_AVAILABLE:"No item available",SEE_MORE:"See More",EXAMPLE:"Example",CC:"Closed Captions",CAPTION:"Caption",EXPIRED_VIDEO:"[Expired Video]",LANGUAGE:"Language",SIZE:"Size",STYLE:"Style",REMOVE:"Remove",POSITION:"Position",WATCH_LATER:"Watch Later",LOGIN_BUTTON_LABEL:"Sign in to Yahoo",LOADING:"Loading your saved videos ...",NO_WATCH_LATER:"There are no videos in your Watch Later list. You can add one by clicking the clock in lower right corner of the video.",WATCH_LATER_ADDED:"Added to Watch Later",WATCH_LATER_REMOVED:"Removed from Watch Later",WATCH_LATER_JUST_ADDED:"Just Added",WATCH_LATER_ERROR_MESSAGE:"Sorry! We are unable to fetch your watch later videos. Please reload the page to try again.",ICON:"Icon",SOCIAL:"Social",MY_STUFF:"My Stuff",SNAP_IT:"Snap It",ERROR_CODE:"Error Code",SHORTCUTS:"Shortcuts",ESC:"Esc",CLOSE_SETTINGS:"Close Settings",SPACE:"Space",PLAY_PAUSE:"Play/Pause",FULLSCREEN:"Fullscreen",UP_ARROW:"Up Arrow",DOWN_ARROW:"Down Arrow",INCREASE_VOLUME:"Increase Volume",DECREASE_VOLUME:"Decrease Volume",MSG_BROWSER_REFRESH:"<a class='yvp-browser-refresh' href='javascript:window.location.reload();'>Refresh Browser</a>",MSG_FLASH_DOWNLOAD:"<a class='yvp-error-flash-download-wrapper' href='http://get.adobe.com/flashplayer/'><div>Download the free Flash Player Now! </div><img class='yvp-error-flash-download-icon'></a>",ERR_FLASH_DRM_SYSTEM_UPDATE_FAILURE:"This old browser version is not supported, please upgrade.",ERR_ANDROID_LIVE_CHROME_REQUIRED:"Please use Chrome browser to watch this live event.",ERR_LIVE_PLAYBACK_COMPLETE:"Live event has ended.",ERR_CDN_ERROR_CONNECTIVITY:"Hmm. We are unable to connect to the content delivery network (CDN) that delivers the video stream.",ERR_CDN_ERROR_UNAVAILABLE:"Sorry! We are unable to provide this video to you. We did not find it on the content delivery network (CDN).",ERR_DEVICE:"Sorry! The content provider has not given us the rights to play this video on this device.",ERR_DRM_BAD_LICENSE_FILE:"Sorry! The cached video license file must be reset to watch this video. Reference <a href='http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html'> Flash Settings Manager </a> support page for instructions to <a href='http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager08.html'>Reset License Files.</a> <a class='yvp-browser-refresh' href='javascript:window.location.reload();'>Refresh Browser</a>",ERR_DRM_INCOGNITO_MODE:"Sorry! Flash does not allow DRM protected playback when the browser is in incognito or private browsing mode.",ERR_DRM_UNSUPPORTED_STREAM:"Oops! This video does not have a valid stream configured.",ERR_DRM_RESTRICTED:"Please download Yahoo! <a href='https://yho.com/5xx'>Screen App</a> to watch this video.",ERR_EMBED:"Sorry! The content provider has not given us the rights to play this video outside of Yahoo!",ERR_FIREWALL:"Hmm. Something is blocking us from playing video. You may be behind a firewall. ",ERR_EXTERNAL_NO_STREAMS:"Video is external and does not have streams",ERR_FLASH_IS_BLOCKED:"Unfortunately, Flash is blocked from loading. Verify Flash is not disabled in the browser or Flash blocker turned on, then reload the page.",ERR_FLASH_NOT_ENABLED:"You need Adobe Flash to play this video. <a class='yvp-error-flash-download-wrapper' href='http://get.adobe.com/flashplayer/'><div>Download the free Flash Player Now! </div><img class='yvp-error-flash-download-icon'></a>",ERR_FLASH_NOT_UPTO_DATE:"Your Adobe Flash is an old version. Please upgrade to view this video. <a class='yvp-error-flash-download-wrapper' href='http://get.adobe.com/flashplayer/'><div>Download the free Flash Player Now! </div><img class='yvp-error-flash-download-icon'></a>",ERR_GEO:"Sorry! The content provider has not given us the rights to play this video in your location.",ERR_LOST_CONNECTION:"We lost connection to the video stream. Sometimes happens when your internet quickly loses and regains connection without your knowledge. <a class='yvp-browser-refresh' href='javascript:window.location.reload();'>Refresh Browser</a>",ERR_MISSING_METADATA:"Sorry! We are unable to provide this video to you. It is missing some important metadata.",ERR_NO_LONGER_AVAILABLE:"Sorry! This video is no longer available.",ERR_REL_VIDEO:"Please check out one of these related videos:",ERR_REL:"Feel free to check out one of these related videos:",ERR_RESTRICTED:"Video playback is not permitted due to unspecified license restrictions",ERR_SESSION_TIMEOUT:"Your session has timed out.",ERR_TECH_DIFFICULTIES:"If this error is occurring repeatedly, we may be experiencing technical difficulties. We apologize for the inconvenience. <a class='yvp-browser-refresh' href='javascript:window.location.reload();'>Refresh Browser</a>",ERR_UNAUTHORIZED:"Sorry! This video is available only to paid subscribers.",ERR_UNAVAILABLE:"Sorry! From time to time, content providers ask us to remove videos we've already placed on our site.",ERR_UNAVAILABLE_TEMP:"This video is currently not available due to provider license restrictions.",ERR_UNSUPPORTED_FORMAT:"Oops! This video does not have a valid stream configured.",ERR_UNSUPPORTED_LIVE_ON_HTML5:"Sorry! You are trying to watch a Live event that requires Flash to be active. Please enable Flash and try again.",ERR_DRM_CHROME_SETTING:"Please adjust your Chrome browser settings to watch this secure video. Open chrome://settings/content in Chrome browser. Then, check 'Allow identifiers for protected content' checkbox.",ERR_NO_COMPATIBLE_FORMAT:"There is no compatible stream format supporting your browser environment.",ERR_TITLE_BROWSER:"Unsupported Browser",ERR_TITLE_CMS:"CMS Error",ERR_TITLE_CONFIGURATION:"Configuration Error",ERR_TITLE_DEVICE:"Device Restriction",ERR_TITLE_DRM:"DRM Error",ERR_TITLE_EMBED:"Embed Restriction",ERR_TITLE_FLASH_BLOCKER:"Flash Blocker",ERR_TITLE_FLASH_MISSING:"Flash Not Installed",ERR_TITLE_FLASH_OLD:"Old Flash Version",ERR_TITLE_GEO:"Geo Restriction",ERR_TITLE_PLAYBACK:"Playback Error",ERR_TITLE_SOMETHING_WENT_WRONG:"Something Went Wrong",ERR_TITLE_USER_NOT_AUTHORIZED:"Subscription Required",ERR_TITLE_VIDEO_NOT_AVAILABLE:"Video Not Available",ERR_TITLE_CHROME_SETTING:"Browser Error",ERR_TITLE_LIVE_PLAYBACK_COMPLETE:"Live Ended",PAUSE_VIDEO:"Pause Video",GO_TO_FULLSCREEN:"Go to full screen",GO_TO_NORMAL_SCREEN:"Go to normal screen",UNMUTE:"Unmute",MUTE:"Mute",CLOSE:"Close",REMOVE_FROM_WATCH_LATER:"Remove from watch later",SEEK_SLIDER:"Seek slider"}},{}],dsc79Q:[function(e,t,n){"use strict";function i(e,t){var n=this;e=r.isString(e)?document.getElementById(e):e,n.element=e,n.shouldPropagate=r.isBoolean(t)?t:!1,n.moved=!1,o.forEach(function(t){e.addEventListener(t,n,!1)})}t.exports=i;var r=e("../../lib"),o=["touchstart","touchmove","touchend","touchcancel","mousedown","mouseup"];i.isTouchDevice=!1,i.prototype._start=function(e){var t=this,n="touchstart"===e.type;if(n){i.isTouchDevice=!0;var r=e.touches[0]}t.startX=n?r.clientX:e.clientX,t.startY=n?r.clientY:e.clientY,t.lastPageX=n?r.pageX:e.pageX,t.lastPageY=n?r.pageY:e.pageY,t.moved=!1},i.prototype._move=function(e){var t=this,n=e.touches[0];t.lastPageX=n.pageX,t.lastPageY=n.pageY,(Math.abs(n.clientX-t.startX)>10||Math.abs(n.clientY-t.startY)>10)&&(t.moved=!0)},i.prototype._end=function(e){var t,n=this;n.moved||(void 0!==document.CustomEvent?t=new document.CustomEvent("tap",{bubbles:!0,cancelable:!0}):(t=document.createEvent("Event"),t.initEvent("tap",!0,!0)),t.pageX=e.pageX||n.lastPageX,t.pageY=e.pageY||n.lastPageY,t.eventSource=e.srcElement,t.eventTarget=e.target,
  (!e.handled||n.shouldPropagate)&&n.element.dispatchEvent(t),e.handled=!0)},i.prototype._cancel=function(){var e=this;e.moved=!1},i.prototype.destroy=function(){var e=this,t=e.element;t&&(o.forEach(function(n){t.removeEventListener(n,e,!1)}),e.element=null)},i.prototype.handleEvent=function(e){var t=this;switch(e.type){case"mousedown":if(i.isTouchDevice)return;case"touchstart":t._start(e);break;case"touchmove":t._move(e);break;case"mouseup":if(i.isTouchDevice)return;case"touchend":t._end(e);break;case"touchcancel":t._cancel(e)}}},{"../../lib":"bRhrlU"}],"./nextgen/src/tap.js":[function(e,t,n){t.exports=e("dsc79Q")},{}],"./nextgen/src/util.js":[function(e,t,n){t.exports=e("jJTEqU")},{}],jJTEqU:[function(e,t,n){"use strict";function i(e){return a.isString(e)?e:a.isBoolean(e)?e.toString():a.isNumber(e)&&isFinite(e)?e.toString():""}function r(e,t){var n=new XMLHttpRequest;return"withCredentials"in n?n.open(e,t,!0):void 0!==typeof XDomainRequest?(n=new XDomainRequest,n.open(e,t)):n=null,n}var o=e("../../lib/user-agent"),a=e("../../lib"),s=e("../../lib/logger"),l=!1;n.setSingleton=function(e,t){window.YAHOO=window.YAHOO||{},window.YAHOO.VideoPlatform=window.YAHOO.VideoPlatform||{},window.YAHOO.VideoPlatform[e]=t,window.YUI&&!l&&(l=!0,window.YUI.add("videoplayer",function(e){Object.keys(window.YAHOO.VideoPlatform).forEach(function(t){var n=window.YAHOO.VideoPlatform[t];e.namespace("VideoPlatform")[t]=n})}))},n.getSingleton=function(e){return window.YAHOO&&window.YAHOO.VideoPlatform&&window.YAHOO.VideoPlatform[e]?window.YAHOO.VideoPlatform[e]:null},n.extend=function(e){a.isObject(e)||(e={});var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t)for(var n in t)e[n]=t[n]}),e},n.once=function(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments),t.value)};return t.called=!1,t},n.querystring=function(e,t,n,r){return t=t||"&",n=n||"=",r=r||encodeURIComponent,a.isObject(e)&&(e=[e]),e.map(function(e){return Object.keys(e).map(function(o){var s=r(i(o));return null===e[o]?s:(s+=n,a.isArray(e[o])?e[o].map(function(e){return s+r(i(e))}).join(t):s+r(i(e[o])))}).join(t)}).join(t)},n.getCookie=function(e,t){t=t||{},e+="=";for(var n=document.cookie.split(/;\s*/),i=n.length-1;i>=0;i--)if(!n[i].indexOf(e)){var r=n[i].replace(e,"");return t.raw?r:decodeURIComponent(r)}},n.setCookie=function(e,t,n){n=n||{},n.raw||(t=encodeURIComponent(t));var i=e+"="+t,r=n.expires?n.expires.toGMTString():"Thu, 01-Jan-1970 00:00:01 GMT";n.session||(i+="; expires="+r);var o=n.path;o&&(i+="; path="+o);var a=n.domain;a&&(i+="; domain="+a),document.cookie=i},n.generateGuid=function(){return Math.floor(4294967295*Math.random()).toString()},n.sanitizeAndUnescape=function(e){if(a.isNullOrUndefined(e))return"";var t=e.toString().replace(/<\/?[^>]+>/g,""),n=document.createElement("div");return n.innerHTML=t,n.textContent},n.getHostUrl=function(){var e=document.referrer;try{window.top.location.href&&(e=window.top.location.href)}catch(t){}return e},n.generateLoginUrl=function(e,t,i){var r="https://login.yahoo.com",o={".src":"vp",".intl":e,".lang":t,".done":i||n.getHostUrl()};return n.fillUrl(r,o)},n.fillUrl=function(e,t){return e+"?"+n.querystring(t)},n.isOffNetwork=function(e){e=e||n.getHostUrl();var t=n.parseDomain(e),i=["yahoo.com","yahoo.net","yahoo.fr","yimg.com","rivals.com","tumblr.com","flickr.com","maktoob.com","grindtv.com","thepostgame.com","localhost"];return e?!t||!i.some(function(e){return-1!==t.indexOf(e,t.length-e.length)}):!1},n.isIFrame=function(){try{return window.top!==window.self}catch(e){return!0}},n.render=function(e,t,n){var i=document.createElement("div");return i.innerHTML=e.render(t,n),i.children[0]},n.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},n.getTextFromNode=function(e){return e?e.textContent.trim():null},n.parseDomain=function(e){var t=/^https?:\/\/([A-Za-z0-9\.\-]*)(?:$|\/|:)/.exec(e);return t?t[1]:null},n.localStorage={get:function(e){var t=null;try{t=JSON.parse(localStorage.getItem(e))}catch(n){t=null}return t},put:function(e,t){if(!e||!t)return!1;try{return t=JSON.stringify(t),localStorage.setItem(e,t),!0}catch(n){return!1}},remove:function(e){localStorage.removeItem(e)}},n.sendImageBeacon=function(e){function t(){n.onload=n.onabort=n.onerror=null,n=null}var n=new Image;n.onload=n.onabort=n.onerror=t,n.src=e},n.sendIframeBeacon=function(e){var t,n=this,i=document.querySelector("#vp-beacons");i||(i=n.createBeaconsIframe()),t=i.contentDocument.createElement("script"),t.async=!0,t.src=e,i.contentDocument.body.appendChild(t)},n.createBeaconsIframe=function(){var e=document.createElement("iframe");return e.frameBorder=0,e.width=0,e.height=0,e.marginwidth=0,e.marginheight=0,e.hspace=0,e.vspace=0,e.frameborder=0,e.scrolling="no",e.id="vp-beacons",e.style.display="none",e.title="",document.body.appendChild(e),e},n.getAssetUrl=function(e,t,n){var i;if(e)i="assets/"+n;else{var r="https:"===document.location.protocol?"https://s.yimg.com":"http://l.yimg.com";i=r+"/rx/builds/"+t+"/assets/"+n}return i},n.getScriptUrl=function(e,t,n){var i,r=window.location.href.match(/videoplayer.*\-debug.js/)||window.location.href.match(/minimal\.html/)?"-debug.js":"-min.js";if(e)i="/"+n+"-debug.js";else{var o="https:"===document.location.protocol?"https://s.yimg.com":"http://l.yimg.com";i=o+"/rx/builds/"+t+"/"+n+r}return i},n.classList=function(e){function t(t){return function(n){var i=e&&a.isString(e.className)?e.className.split(/\s+/):[],r=i.indexOf(n),o=t(i,r,n);return e&&a.isString(e.className)&&(e.className=i.join(" ")),o}}if(e.classList)return e.classList;var n={add:t(function(e,t,n){~t||e.push(n)}),remove:t(function(e,t){~t&&e.splice(t,1)}),toggle:t(function(e,t,n){~t?e.splice(t,1):e.push(n)}),contains:t(function(e,t){return!!~t})};return n},n.forceDOMRedrawOnElement=function(e){e&&e.offsetHeight},n.uniquifyArray=function(e){return e.filter(function(e,t,n){return n.indexOf(e)===t})},n.isInternalUser=function(){var e=n.getSingleton("PlayerHosting");return e&&"s"===e.env},n.makePOSTRequest=function(e,t){var n=r("POST",e);return n?(n.onload=function(){s.log("makePOSTRequest:Response from CORS request to "+e)},n.onerror=function(){s.log("makePOSTRequest::An error making the request.")},n.setRequestHeader("Content-Type","application/json"),void n.send(t)):void s.log("makePOSTRequest:CORS not supported "+e)},n.strSubstitute=function(e,t){return e.replace(/\{([^\{\}]*)\}/g,function(e,n){var i="function"==typeof t?t(n):t[n];return a.isNullOrUndefined(i)?e:i})},n.showUserAuthPage=function(e){var t="https://login.yahoo.com/?.src=vp&.intl={region}&.lang={language}&.done={referrer}",i=n.strSubstitute(t,{region:e.baseConfig.region,language:e.baseConfig.lang,referrer:encodeURI(n.getHostUrl())});n.redirect(i)},n.lazyLoad=function(e,t,n,i){function r(t){o.loadedScripts[e]&&o.loadedScripts[e].forEach(function(e){e(t)}),o.loadComplete[e]=t,clearTimeout(l)}var o=this,s=document.createElement("script");if(a.isNullOrUndefined(o.loadedScripts)&&(o.loadedScripts={},o.loadComplete={}),a.isNullOrUndefined(o.loadedScripts[e])&&(o.loadedScripts[e]=[],o.loadComplete[e]=!1),o.loadedScripts&&o.loadedScripts.hasOwnProperty(e)){if(o.loadComplete[e]!==!1)return n(o.loadComplete[e]);if(o.loadedScripts[e].push(n),o.loadedScripts[e].length>1)return}s.async=!0,s.src=e;var l=window.setTimeout(function(){o.loadedScripts[e]&&o.loadedScripts[e].forEach(function(e){e("Script load timeout")}),o.loadComplete[e]="Script load timeout"},t);return s.onload=function(){r(null)},s.onerror=function(){r("Failed to load script")},i&&r("Cancelling script execution"),document.body.appendChild(s),function(){r("Cancelling script execution")}},n.XHR_ERROR="XHR error",n.XHR_TIMEOUT="XHR request timed out",n.ajax=function(e,t){var i=t.method,r=t.context,o=t.params,a=t.responseTypeJson,l=n.once(t.successHandler),c=n.once(t.failureHandler),u=new XMLHttpRequest;if(u.previousState=u.UNSENT,r&&l&&c){u.onreadystatechange=function(){var e;u.readyState===u.DONE?200===u.status?l.call(r,a?JSON.parse(u.responseText):u.responseText):(e=(new Date).getTime(),e-u.startTime<u.timeout&&c.call(r,new Error(n.XHR_ERROR),u.previousState,u.status)):u.previousState=u.readyState},u.ontimeout=function(){c.call(r,new Error(n.XHR_TIMEOUT),u.previousState,u.status)};try{u.startTime=(new Date).getTime(),"GET"===i?(u.open("GET",e,!0),u.timeout=t.timeout||3e3,u.send(null)):"POST"===i&&(u.open("POST",e,!0),u.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),u.send(o))}catch(d){c.call(r,new Error(n.XHR_ERROR),"default","default")}}return function(){s.log("XMLHttpRequest: cancelled"),u.onreadystatechange=function(){},u.ontimeout=function(){}}},n.JSONP_ERROR="jsonp error",n.JSONP_TIMED_OUT="jsonp request timed out",n.jsonp=function(e,t){function i(e){s.log("JSONP "+l+": "+e)}function r(e){a.removeChild(u),e?delete window[l]:window[l]=function(){},clearTimeout(d)}function o(){i("cancelled"),window[l]&&r(!1)}var a=document.getElementsByTagName("head")[0];t=n.once(t);var l;do l="_callback"+Math.round(1e7*Math.random());while(void 0!==window[l]);var c=e+(e.indexOf("?")+1?"&":"?");c+="callback="+l;var u=document.createElement("script");u.type="text/javascript",u.src=c;var d=window.setTimeout(function(){i("timeout"),r(!1),t(new Error(n.JSONP_TIMED_OUT))},2e4);return u.onerror=function(){r(!0),t(new Error(n.JSONP_ERROR))},window[l]=function(e){r(!0),t(null,e)},a.appendChild(u),o},n.isFlashInstalled=function(){if(void 0!==n.isFlashInstalledMem)return n.isFlashInstalledMem;var e=null;if(o.ie)try{var t=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash");e=t.GetVariable("$version").replace(/[A-Za-z\s]+/g,"").split(",")}catch(i){}else{var r=navigator.mimeTypes["application/x-shockwave-flash"];if(r){var a=r.enabledPlugin;a&&(e=a.description.replace(/\s[rd]/g,".").replace(/[A-Za-z\s]+/g,"").split("."))}}return e?n.isFlashInstalledMem="0"!==e[0]:n.isFlashInstalledMem=!1,n.isFlashInstalledMem},n.getMediaCDNName=function(e,t,n){var i,r="unknown";if(t&&t.length>0){if(t[0].cdn&&t[0].cdn.length>0)return t[0].cdn;var o=t[0].host,a=t[0].path;i=o+a,!e.isLive()&&t[0].hlsInfo&&(i=t[0].hlsInfo.ts_url)}else n&&n.length>0&&(i=n);return i&&i.length>0&&(i.indexOf("akamai")>-1||0===i.indexOf("rtmp")&&e.isLive()?r="akamai":i.indexOf("yahoo.com")>-1||i.indexOf("yimg.com")>-1?r="atlas":i.indexOf("llnwd.net")>-1?r="limelight":i.indexOf("fastly.com")>-1&&(r="fastly")),r},n.redirect=function(e,t){try{t?window.top.location.replace(e):window.top.location.assign(e)}catch(n){typeof n===window.DOMException&&s.log("Unable to redirect: "+n)}},n.showHide=function(e,t){e.style.display=t?"block":"none"},n.formatTime=function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n),r="";return 10>i&&(i="0"+i),t>0?(10>n&&(n="0"+n),t+":"+n+":"+i):a.isNumber(n)?n+":"+i:r},n.getOffsetTopFromEl=function(e,t){for(var i=0;e;)isNaN(e.offsetTop)||(i+=e.offsetTop),e=e.offsetParent,t&&n.classList(e).contains(t)&&(e=null);return i},n.getOffsetTopFromDocument=function(e){var t=e.getBoundingClientRect(),n=document.body,i=document.documentElement,r=window.pageYOffset||i.scrollTop||n.scrollTop,o=i.clientTop||n.clientTop||0;return Math.round(t.top+r-o)},n.setupMouseWheelListener=function(e){var t=function(t){var n=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),i=n>0,r=e.scrollHeight>e.offsetHeight,o=i&&e.scrollTop<1,a=!i&&e.scrollTop>=e.scrollHeight-e.offsetHeight;r&&(o||a)&&t.preventDefault()};return e&&(e.addEventListener("mousewheel",t),e.addEventListener("DOMMouseScroll",t)),t},n.destroyMouseWheelListener=function(e,t){e&&a.isFunction(t)&&(e.removeEventListener("mousewheel",t),e.removeEventListener("DOMMouseScroll",t))},n.bucketize=function(){var e=Math.floor(100*Math.random());return 1>=e?1:5>=e?4:10>=e?5:25>=e?15:50>=e?25:50},n.cssHexToRgb=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},n.getElementViewability=function(e){var t,n=e.getBoundingClientRect();return t=n.top>=0?n.bottom>window.innerHeight?window.innerHeight-n.top>0?window.innerHeight-n.top:0:n.height:n.bottom>window.innerHeight?window.innerHeight:n.bottom<0?0:n.bottom,Math.round(t/n.height*100)},n.noPropagation=function(e){a.isFunction(e.stopPropagation)&&e.stopPropagation()},n.getHostname=function(e){var t=document.createElement("a");return t.href=e,t.hostname},n.getFormat=function(e){var t=["mp4","m3u8","webm","flv","f4m","mp4b","m3u8_playlist"],n=null;return t.forEach(function(t){-1!==e.indexOf(t)&&(n=t)}),n},n.mapStreamsToQualities=function(e){var t=1,n=2,i=1500,r=2500,o=null,a=null,s=null;if(e.bitrates){for(var l=[],c=0;c<e.bitrates[c];c++)l.push({bitrate:e.bitrates[c],height:e.heights[c]});e=l}for(c=0;c<e.length;c++){var u,d=e[c],p=t*d.bitrate+n*d.height;i>=p?o?(u=o.bitrate+2*o.height,p>u&&(o=d)):o=d:r>=p?a?(u=a.bitrate+2*a.height,p>u&&(a=d)):a=d:s?(u=s.bitrate+2*s.height,p>u&&(s=d)):s=d}return{low:o,medium:a,high:s}},n.getUrlStatus=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.status)},n.send()},n.shouldEnableQualitySelector=function(e){var t=["html","flash"],n=e.playbackState.rendererType,i=e.playlist.getCurrentItem();if(t.indexOf(n)>-1&&i){if("flash"!==n)return i.streams.length>1;if("hls"===i.streams[0].getType())return i.isLive()?!0:i.streams.length>1}return!1},n.showFujiUI=function(e){return e&&e.ui&&e.ui.showFujiUI===!0}},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","../../lib/user-agent":"ty5FFo"}],54:[function(e,t,n){"use strict";function i(e,t){function n(e){var t=u[e];i._eventBus.subscribe(t,function(){var t=Array.prototype.slice.call(arguments,0);setTimeout(function(){i.publish.apply(i,[d[e]].concat(t))})})}var i=this;l.call(i,"API");var c=null;t&&(c=t._privateMediaStore||null),i._controller=new a(e,c),i.controls=new r(i._controller),i.playlist=new o(i._controller),i._eventBus=i._controller._eventBus;var u=[s.PLAYBACK_STARTED,s.Video.PAUSE,s.PLAYBACK_RESUMED,s.PLAYBACK_PROGRESS,s.PLAYBACK_ENDED,s.AD_PLAYBACK_STARTED,s.Ad.PAUSE,s.AD_PLAYBACK_RESUMED,s.AD_PLAYBACK_PROGRESS,s.AD_PLAYBACK_ENDED,s.AD_PLAYBACK_ERROR,s.Ad.NO_AD,s.ERROR,s.METADATA_AVAILABLE,s.SNAP_IT_MODE_STARTED,s.SNAP_IT_MODE_ENDED,s.CC.FETCHED],d=[s.API.PLAYBACK_START,s.API.PLAYBACK_PAUSE,s.API.PLAYBACK_RESUMED,s.API.PLAYBACK_TIME_UPDATE,s.API.PLAYBACK_COMPLETE,s.API.AD_PLAYBACK_START,s.API.AD_PLAYBACK_PAUSE,s.API.AD_PLAYBACK_RESUME,s.API.AD_PLAYBACK_PROGRESS,s.API.AD_PLAYBACK_STOP,s.API.AD_ERROR,s.API.AD_NONE,s.API.PLAYER_ERROR,s.API.METADATA_READY,s.API.SNAP_IT_MODE_START,s.API.SNAP_IT_MODE_END,s.API.CC_AVAILABLE];for(var p in s.API)if(-1===d.indexOf(p)){var _=s.API[p];u.push(_),d.push(_)}for(var y=0;y<u.length;y++)n(y);i._eventBus.subscribe(s.FULLSCREEN_CHANGE,function(){i.publish(s.API.PLAYER_FULLSCREEN_CHANGE,i._controller.getFullscreen()),i._controller.setContentHeightForNFL()})}function r(e){var t=this;t._controller=e,t._model=e._model}function o(e){var t=this;t._controller=e,t._model=e._model}t.exports=i;var a=e("./controller"),s=e("./event"),l=e("../../lib/event-bus"),c=e("./util"),u=e("../../lib"),d=e("./states");c.inherits(i,l),i.prototype.apiVersion=i.apiVersion=2,i.prototype.render=function(e){var t=this;return t._controller.render(e),t},i.prototype.getCustomControlsNode=function(){var e=this;return e._controller.getCustomControlsNode()},i.prototype.destroy=function(){var e=this;return e._controller.destroy(),l.prototype.destroy.call(e),e},i.prototype.fetchMetaData=function(e){var t=this;if(!u.isArray(e)||!e.every(u.isString))throw new Error("fetchMetaData called with invalid list of ids");return t._controller.prefetch(e),t},i.prototype.getMediaStore=function(){var e=this;return{_privateMediaStore:e._controller._model.mediaStore}},i.prototype.on=i.prototype.subscribe,i.prototype.before=i.prototype.subscribe,i.prototype.after=i.prototype.subscribe,i.prototype.fire=i.prototype.publish,r.prototype.play=function(e){var t=this;t._model.playbackState.state===d.INIT&&u.isNumber(e)&&e>0&&e<t.getDuration()&&(t._model.playlist.getCurrentItem().progress.position=e),t._controller.play()},r.prototype.pause=function(){var e=this;e._controller.pause()},r.prototype.seek=function(e){var t=this;t._controller.seek(e)},r.prototype.disableControls=function(){var e=this;e._controller.disableControls()},r.prototype.enableControls=function(){var e=this;e._controller.enableControls()},r.prototype.enableCC=function(e){var t=this;t._controller.setCC(!0,e)},r.prototype.disableCC=function(){var e=this;e._controller.setCC(!1)},r.prototype.isPlaying=function(){var e=this;return e._controller.isPlaying()},r.prototype.getDuration=function(){var e=this;return e._model.playlist.getCurrentItem().duration},r.prototype.getCurrentTime=function(){var e=this;return e._controller._view&&e._controller._view.currentTime||0},r.prototype.getTimeRemaining=function(){var e=this;return e.getDuration()-e.getCurrentTime()},r.prototype.setFullscreen=function(e){var t=this;t._controller.setFullscreen(e)},r.prototype.getFullscreen=function(){var e=this;return e._controller.getFullscreen()},r.prototype.setVolume=function(e){var t=this;e=0>e?0:e,e=e>1?1:e,t._controller.setVolume(e)},r.prototype.getVolume=function(){var e=this;return e._controller.getVolume()},r.prototype.setMute=function(e){var t=this;t._controller.setMute(e)},r.prototype.getMute=function(){var e=this;return e._controller.getMute()},r.prototype.setLoop=function(e){var t=this;return t._controller.setLoop(e)},r.prototype.setContinuousPlay=function(e){var t=this;return t._controller.setContinuousPlay(e)},r.prototype.resumeContinuousPlay=function(){var e=this;e._controller.resumeContinuousPlay()},r.prototype.getBitrate=function(){throw new Error("getBitrate is unimplemented!")},r.prototype.setResolution=function(){throw new Error("setResolution is unimplemented!")},r.prototype.displayClosedCaptions=function(){throw new Error("displayClosedCaptions is unimplemented!")},r.prototype.startSnapItMode=function(){var e=this;e._controller.startSnapItMode()},r.prototype.endSnapItMode=function(){var e=this;e._controller.endSnapItMode()},o.prototype.getSize=function(){var e=this;return e._model.playlist.items.length},o.prototype.getPosition=function(){var e=this;return e._model.playlist.position},o.prototype.setPosition=function(e){var t=this;if(!(e in t._model.playlist.items))throw new Error("setPosition called with invalid position");t._controller.setPlaylistPosition(e,t._model.playback.autoplay)},o.prototype.setPositionById=function(e){var t=this,n=t._model.playlist.items.indexOf(e);if(-1===n)throw new Error("setPositionById called with id not in playlist");t._controller.setPlaylistPosition(n,t._model.playback.autoplay)},o.prototype.addItem=function(e){var t=this;t.addItems([e])},o.prototype.addItems=function(e){var t=this,n=e.filter(function(e){return null===t._model.mediaStore.get(e)});n.length>0&&t._controller.prefetch(n),e.forEach(function(e){t._model.playlist.items.push(e)})},o.prototype.getItems=function(){var e=this;return e._model.playlist.items.slice(0)},o.prototype.getItemId=function(e){var t=this;if(!(e in t._model.playlist.items))throw new Error("getItemId called with invalid position");return t._model.playlist.items[e]},o.prototype.getCurrentItemId=function(){var e=this,t=e._model.playlist;return-1!==t.position?t.items[t.position]:null},o.prototype.getCurrentItem=function(){var e=this,t=e._model.playlist.getCurrentItem();return t?e.getItemById(t.id):null},o.prototype.getItem=function(e){var t=this;if(!(e in t._model.playlist.items))throw new Error("getItem called with invalid position");return t.getItemById(t._model.playlist.items[e])},o.prototype.getItemById=function(e){var t=this,n=t._model.mediaStore.get(e);return n?{id:n.id,title:n.title,description:n.description,duration:n.duration,provider:n.provider,credits:n.credits,shareUrl:n.shareUrl,setShareUrl:function(e){this.shareUrl=e,n.shareUrl=e},thumbnail:n.images.defaultThumbnail}:null},o.prototype.getIndexForId=function(e){var t=this;return t._model.playlist.items.indexOf(e)},o.prototype.removeItem=function(e){var t=this;if(!(e in t._model.playlist.items))throw new Error("removeItem called with invalid position");t._controller.removePlaylistItems(e,1)},o.prototype.removeItems=function(e,t){var n=this;if(!(e in n._model.playlist.items&&e+t-1 in n._model.playlist.items))throw new Error("removeItems called with invalid position/count");n._controller.removePlaylistItems(e,t)},o.prototype.removeItemById=function(e){var t=this,n=t._model.playlist.items.indexOf(e);if(-1===n)throw new Error("removeItemById called with id not in playlist");t._controller.removePlaylistItems(n,1)},o.prototype.removeItemsById=function(e){var t=this;e.forEach(function(e){t.removeItemById(e)})},o.prototype.clear=function(){var e=this;e._controller.removePlaylistItems(0,e._model.playlist.items.length)}},{"../../lib":"bRhrlU","../../lib/event-bus":"3ECu9u","./controller":16,"./event":"YJm+dH","./states":45,"./util":"jJTEqU"}],55:[function(e,t,n){"use strict";function i(e,t,n,i){var r=this;r.rootElem=e,r._model=t,r._eventBus=n,r._profiler=i,r._nflBarDimensions=V,r._nflBranding=null,r._viewSize=P.NORMAL,r._renderers={},r._renderer=null,r._rendererType="",r._showFujiUI=D.showFujiUI(t);var o=r.rootElem.clientWidth,a=r.rootElem.clientHeight;o<z.VERY_SMALL_WIDTH||a<z.VERY_SMALL_HEIGHT?r._viewSize=P.VERY_SMALL:(o<z.SMALL_WIDTH||a<z.SMALL_HEIGHT)&&(r._viewSize=P.SMALL),r._eventBus.subscribe(_.MEDIA_ITEM_LOADED,function(e){r.toggleSettings(null,!1),e.isLive()?D.classList(r._contentElem).add("yvp-live"):D.classList(r._contentElem).remove("yvp-live")},r),r._eventBus.subscribe(_.Video.SWITCHING,function(){r._setFlag(x.SWITCHING,!0)}),r._eventBus.subscribe(_.Video.SWITCHED,function(){r._setFlag(x.SWITCHING,!1)}),r._eventBus.publish(_.PLAYER_DIMENSION_CHANGE,{width:r.rootElem.clientWidth||1,height:r.rootElem.clientHeight||1}),r._eventBus.subscribe(_.RENDERER_TYPE_CHANGE,r._onRendererTypeChange,r),r._eventBus.subscribe(_.API.PLAYER_MUTE_CHANGE,r._onMuteChange,r)}t.exports=i;var r=(e("fs"),e("insert-css")),o=e("./views/controls"),a=e("./fujiviews/fuji-controls"),s=e("./views/nfl-branding"),l=e("./easter-egg"),c=e("./views/end-screen"),u=e("./fujiviews/fuji-end-screen"),d=e("./views/error-screen"),p=e("./views/age-gate-screen"),_=e("./event"),y=e("./renderers/flash"),M=e("./renderers/html5-dash"),v=e("./renderers/html5-raw"),L=e("./renderers/html5-tv"),m=e("./views/loading-screen"),E=e("./views/open-sim-sim"),g=e("./views/feedback-screen"),A=e("./renderers/modes"),T=e("./views/start-screen"),b=e("./fujiviews/fuji-start-screen"),I=e("./states"),C=e("./views/tumblr-controls"),f=e("./views/tumblr-loading-screen"),N=e("../../lib/user-agent"),D=e("./util"),h=e("../../lib"),S=e("../../lib/logger"),w=e("./views/pause-screen"),R=e("./views/ads-overlay"),j="flash_download_logo.svg",O=e("./views/base.html"),k={END_SCREEN:"end-screen",ERROR:"error",VIDEO:"video",START_SCREEN:"start-screen",BLOCKED:"blocked"},x={LOADING:"loading",SWITCHING:"switching",PLAYING:"playing"},P={NORMAL:"normal",SMALL:"smallscreen",VERY_SMALL:"verysmallscreen"},z={SMALL_WIDTH:350,SMALL_HEIGHT:210,VERY_SMALL_WIDTH:175,VERY_SMALL_HEIGHT:175},B=["webkitfullscreenchange","mozfullscreenchange","msfullscreenchange","fullscreenchange"],U="yvp-state-",Y="yvp-flag-",Q="yvp-mode-",G="yvp-browser-",F=3600,V={DESKTOP:{HEIGHT:36},MOBILE:{HEIGHT:52}};r('.yvp-content{position:relative;width:100%;height:100%;overflow:hidden;font-family:Helvetica Neue Regular,Helvetica Neue,helvetica,arial,sans-serif;font-size:16px;cursor:default;background-color:#000;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.yvp-content [tabindex]{outline:none}.yvp-content h3,.yvp-content h4,.yvp-content p,.yvp-content label,.yvp-content input,.yvp-content div,.yvp-content button,.yvp-content img,.yvp-content li,.yvp-content ul{margin:0;padding:0;border:0}.yvp-main{position:relative;width:100%;height:100%}.yvp-state-error .yvp-error-screen{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}.yvp-state-error .yvp-start-screen,.yvp-state-error .yvp-end-screen,.yvp-state-error .yvp-html5-video,.yvp-state-error .yvp-end-screen-fuji{display:none}.yvp-state-end-screen .yvp-end-screen,.yvp-state-end-screen .yvp-end-screen-fuji{display:block}.yvp-state-end-screen .yvp-start-screen,.yvp-state-end-screen .yvp-error-screen,.yvp-state-end-screen .yvp-html5-video{display:none}.yvp-state-video .yvp-html5-video,.yvp-state-blocked .yvp-html5-video,.yvp-flag-playing.yvp-state-video.yvp-browser-iphone .yvp-html5-video{display:block}.yvp-state-video .yvp-start-screen,.yvp-state-blocked .yvp-start-screen,.yvp-flag-playing.yvp-state-video.yvp-browser-iphone .yvp-start-screen,.yvp-state-video .yvp-end-screen,.yvp-state-blocked .yvp-end-screen,.yvp-flag-playing.yvp-state-video.yvp-browser-iphone .yvp-end-screen,.yvp-state-video .yvp-error-screen,.yvp-state-blocked .yvp-error-screen,.yvp-flag-playing.yvp-state-video.yvp-browser-iphone .yvp-error-screen,.yvp-state-video .yvp-end-screen-fuji,.yvp-state-blocked .yvp-end-screen-fuji,.yvp-flag-playing.yvp-state-video.yvp-browser-iphone .yvp-end-screen-fuji{display:none}.yvp-state-start-screen .yvp-start-screen,.yvp-state-video.yvp-browser-iphone .yvp-start-screen{display:block}.yvp-state-start-screen .yvp-end-screen,.yvp-state-video.yvp-browser-iphone .yvp-end-screen,.yvp-state-start-screen .yvp-error-screen,.yvp-state-video.yvp-browser-iphone .yvp-error-screen,.yvp-state-start-screen .yvp-html5-video,.yvp-state-video.yvp-browser-iphone .yvp-html5-video,.yvp-state-start-screen .yvp-end-screen-fuji,.yvp-state-video.yvp-browser-iphone .yvp-end-screen-fuji{display:none}.yvp-state-start-screen .yvp-html5-video,.yvp-state-video.yvp-browser-iphone .yvp-html5-video{top:-2000px}object.yvp-swf-not-ready.yvp-flash-video{opacity:0}.yvp-loading-screen{display:none}.yvp-flag-loading .yvp-loading-screen,.yvp-flag-switching .yvp-loading-screen{display:block}.yvp-state-blocked .yvp-loading-screen{display:none}.yvp-content.yvp-settings-disabled .yvp-cc-menu{left:-19px}.yvp-state-video{z-index:5}.yvp-content{z-index:0}.yvp-html5-video{z-index:5}.yvp-switching-canvas{z-index:15}.yvp-loading-screen .yvp-spinner-outer,.yvp-loading-screen .yvp-spinner-inner{z-index:20}.yvp-flash-video{position:absolute;left:0;visibility:hidden}.yvp-flash .yvp-flash-video{visibility:visible}.yvp-html5-video{position:absolute;width:100%;height:100%;top:0;cursor:pointer;visibility:hidden}.yvp-html .yvp-html5-video{visibility:visible}.yvp-switching-canvas{position:absolute}.yvp-start-screen,.yvp-end-screen{position:absolute;height:100%;width:100%;background-color:#000;cursor:pointer}.yvp-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 0%, #103155 40%, #011832 100%);background-image:-o-linear-gradient(left, #011832 0%, #103155 40%, #011832 100%);background-image:linear-gradient(left, #011832 0%, #103155 40%, #011832 100%);*background:#011832;white-space:nowrap}.yvp-browser-mobile .yvp-nfl-branding-container{height:52px}.yvp-nfl-branding{position:relative;margin:10px auto;vertical-align:middle;display:inline-block;zoom:1;width:30%}.yvp-browser-mobile .yvp-nfl-branding{margin:15px auto}.yvp-nfl-branding-container .yvp-nfl-brand-span{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik05Ljk4MywxOS4zNzljMCwwLDAuNDE3LTAuNzE4LDAuODI0LTEuMTExYzAuNTc0LTAuNTUxLDEuMzktMC44OTcsMi40OTEtMS4wNTYNCgkJYzEuMzgxLTAuMiwyLjM4NC0wLjY2OSwyLjk3NS0xLjM4MmMwLjQ3OC0wLjU4MSwwLjU0OS0xLjE2MiwwLjU1MS0xLjQ1NlYyLjcyN2gtMC40NTVjLTAuNTg4LDAuNDItMS43MTQ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AuMDM4LTAuMzUsMC4xNjktMS4xMjQsMC41Ni0xLjk1Ng0KCQkJQzguOTQ3LDUuNzcxLDguODMzLDUuNzUsOC44MzMsNS43NUM4Ljg3NSw1LjY2Nyw4LjkzLDUuNTYxLDguOTMsNS41NjFjMC4yODgsMC4wNTQsMC41NDIsMC4xNzYsMC43NjQsMC4zNQ0KCQkJQzkuNjQyLDUuOTk2LDkuNjA2LDYuMDUxLDkuNTgsNi4wOThDOS41MDEsNi4wMzUsOS40MjMsNS45ODQsOS4zMzgsNS45MzVDOC44OTgsNi43MDIsOC42OTQsNy40MjgsOC42MSw3LjgwNw0KCQkJYzAuMDA2LDAuMDIyLDAuMDUzLDAuMDM2LDAuMDkzLDAuMDNjMS44MDQtMC4yMzUsMi42NDktMS4xNTQsMi45MDUtMi4xNTJjMC4xNjktMC42NTQsMC4xMTQtMS4zMzctMC4xMTItMS44OTYNCgkJCUMxMS40OCwzLjc1LDExLjQ1LDMuNjg1LDExLjM5OCwzLjY4OSIvPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K");background-repeat:no-repeat;position:absolute;width:20px;height:20px;margin:-2px 0 0 10px}.yvp-browser-mobile .yvp-nfl-branding-container .yvp-nfl-brand-span{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy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DVjMi43MDYtMC4zNTIsMy45NzMtMS43Myw0LjM1OC0zLjIyOGMwLjI1My0wLjk4MSwwLjE3Mi0yLjAwNi0wLjE2OC0yLjg0NQ0KCQkJQzE3LjI0NCw1LjY0OSwxNy4xOTcsNS41NSwxNy4xMiw1LjU1NyIvPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K");background-repeat:no-repeat;width:30px;height:30px}.yvp-nfl-branding-container .yvp-nfl-brand-logo{background-image:url("data:image/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIiBbCgk8IUVOVElUWSBuc19leHRlbmQgImh0dHA6Ly9ucy5hZG9iZS5jb20vRXh0ZW5zaWJpbGl0eS8xLjAvIj4KCTwhRU5USVRZIG5zX2FpICJodHRwOi8vbnMuYWRvYmUuY29tL0Fkb2JlSWxsdXN0cmF0b3IvMTAuMC8iPgoJPCFFTlRJVFkgbnNfZ3JhcGhzICJodHRwOi8vbnMuYWRvYmUuY29tL0dyYXBocy8xLjAvIj4KCTwhRU5USVRZIG5zX3ZhcnMgImh0dHA6Ly9ucy5hZG9iZS5jb20vVmFyaWFibGVzLzEuMC8iPgoJPCFFTlRJVFkgbnNfaW1yZXAgImh0dHA6Ly9ucy5hZG9iZS5jb20vSW1hZ2VSZXBsYWNlbWVudC8xLjAvIj4KCTwhRU5USVRZIG5zX3NmdyAiaHR0cDovL25zLmFkb2JlLmNvbS9TYXZlRm9yV2ViLzEuMC8iPgoJPCFFTlRJVFkgbnNfY3VzdG9tICJodHRwOi8vbnMuYWRvYmUuY29tL0dlbmVyaWNDdXN0b21OYW1lc3BhY2UvMS4wLyI+Cgk8IUVOVElUWSBuc19hZG9iZV94cGF0aCAiaHR0cDovL25zLmFkb2JlLmNvbS9YUGF0aC8xLjAvIj4KXT48c3ZnIHhtbG5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wNC00LjA5IDQuNzE3LTQuMDloNi4wNTZjMi4wMjcgMCAzLjA0NSAyLjQ2IDIuNDk2IDQuMTg4bC0uNDkgMS40MzN6bS0yMS42NiA3LjMzbDEuMTU1LTQuOTk4aDQuNTFMNTQuMiAxMy45NzZoLTQuNTA4em0tNS4xNzUtNC45OThoNC41MDhsLTEuMTU2IDQuOTk4aC0uMzQ2di4wMDJoLTguNDl2LS4wMDRIMzUuMDNMMzguMzc2IDIuNjVoLTEuMzRsLjgxLTIuNjNoMS4zNFYuMDE2aDYuNDdMNDIuMjc3IDExaDEuNzI4bC41MTMtMi4wMjJ6bS05LjM0LTQuMzE3aC00LjU5bC40MjMtMS42NjRoLTEwTDIxLjY0NS4wMmgxNC42NmwtLjAxLjA0MmguMDQzbC0xLjE2IDQuNnpNMTIuMjUgMTMuOTc1SDcuNTA0TDYuMjE2IDIuNjVoLTQuMTlsLjgxLTIuNjNoMy4wN1YuMDE2aDYuMTRMMTMuMjYgMTAuMjYgMTYuNDA4LjAxNWgzLjgzOGwtNC4xNTggMTMuOTZIMTIuMjV6TTUuMjkzIDMuNjdMNS42IDYuODM0bC0yLjEyNiA3LjE0SC4wMkwzLjEzNSAzLjY2OGgyLjE1OHptMjIuNDguMzI2bC0uNjQyIDIuNDZoNS4xOGwtLjYxMiAyLjUzNUgyNi4zNGwtMS41MzIgNC45ODRoLTYuMDQzbDMuMDEtOS45OGg1Ljk5OHptNjUuNDggMS44NzdsMS4wMiA0LjM4NS0xLjAwMiAzLjcxOGgtNC43MzZsMi4zNTItOC4xMDNoMi4zNjV6Ii8+PC9zd2l0Y2g+PC9zdmc+");background-repeat:no-repeat;width:110px;height:14px;display:block;position:absolute;margin-left:40px;margin-top:2px}.yvp-browser-mobile .yvp-nfl-branding-container .yvp-nfl-brand-logo{background-image:url("data:image/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcv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uNDY3bC43MzItMi45ODR6TTUwLjI1OCA2LjkxMkg0My43bC43MjQtMi45N2gtMTQuNjVMMzAuOTMuMDY3aDIwLjkzNmwtLjAxNC4wNmguMDZMNTAuMjYgNi45MTR6TTE3LjUxOCAyMGgtNi43ODJMOC45IDMuOTQ1SDIuOTE1TDQuMDcuMDY2aDQuMzg2di0uMDFoOC43N2wxLjcyOCAxNS4xMiA0LjUtMTUuMTJoNS40OGwtNS45NCAxOS45NDVoLTUuNDc3ek03LjU3NyA1LjQ1bC40NCA0LjY3My0zLjAzNiA5Ljg4SC4wNTJMNC40OTYgNS40NUg3LjU4em0zMi4zNDctLjI3OGwtMS4yMTcgNC4wMzJoNy4zOTdsLS44NzMgMy43NEgzNy41OEwzNS40NSAyMGgtOC42M2w0LjQ3Ni0xNC44MjhoOC42M3ptOTMuMjY0IDMuNTNsMS40NTcgNi40Ny0xLjQzIDQuODMyaC02Ljc2NEwxMjkuODEgOC43aDMuMzh6Ii8+PC9zd2l0Y2g+PC9zdmc+");background-repeat:no-repeat;margin-left:50px;margin-top:2px;width:157px;height:20px}div.yvp-agegate-container{width:100%;height:100%;color:#fff;font-family:\'Helvetica Neue Regular\',\'Helvetica Neue\',helvetica,arial,sans-serif;position:absolute;background-color:#000;z-index:25}.yvp-agegate-container .yvp-agegate-info-wrapper{padding:5%}.yvp-agegate-info-wrapper{position:absolute;top:0}.yvp-agegate-container .yvp-agegate-title{font-size:20px;font-weight:normal;padding-bottom:2%;margin-bottom:2%;border-bottom:2px solid #5f33ff}.yvp-agegate-container.small .yvp-agegate-title{font-size:12px}.yvp-agegate-container.small .yvp-agegate-desc{font-size:10px}.yvp-agegate-container .yvp-agegate-action-wrapper{margin-top:4%}.yvp-agegate-container .yvp-agegate-date-input,p.yvp-agegate-input{display:inline}.yvp-agegate-container .yvp-agegate-date-input /*input*/{width:51px;border:none;color:#fff;height:31px;margin:0 8px 0 0;text-align:center;border-radius:0;background-color:rgba(204,204,204,0.7)}input.yvp-agegate-date-input.validate-error{border:1px solid #cc4a4a}.yvp-agegate-container.small .yvp-agegate-date-input /*input*/{height:27px;font-size:14px}.yvp-agegate-container.xsmall .yvp-agegate-date-input /*input*/{width:40px;height:22px;font-size:12px}.yvp-agegate-container .yvp-agegate-btn{padding:8px 20px;background-color:rgba(95,51,255,0.6);border:none;outline:none;color:#fff;font-family:\'Helvetica Neue Regular\',\'Helvetica Neue\',helvetica,arial,sans-serif;font-size:14px;cursor:pointer}.yvp-agegate-container.small .yvp-agegate-btn{padding:6px 11px;font-size:10px}.yvp-agegate-container.gatebday.narrow .yvp-agegate-btn{display:block;margin-top:8px}.yvp-agegate-container.gatebday.narrow.xsmall .yvp-agegate-btn{padding:7px 11px;display:inline-block;margin-top:0}.yvp-agegate-container .yvp-agegate-btn.disable{display:none}.yvp-agegate-container .yvp-agegate-icon{position:absolute;right:20px;bottom:20px;background-size:100%;display:inline-block;zoom:1}.yvp-agegate-container.small .yvp-agegate-icon{height:116px;width:116px}.yvp-agegate-container.xsmall .yvp-agegate-icon{display:none}div.yvp-agegate-icon{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMH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MjM1LDIxLjYwOS01Mi4xNzFDMzcuOTg0LDkuNjc1LDU2LjUxMiwyLDc2LjIyLDIgTTc2LjIyLDANCgkJCUM1Ni44MjYsMCwzNy40MzIsNy4zOTksMjIuNjM1LDIyLjE5NmMtMjkuNTk0LDI5LjU5NC0yOS41OTQsNzcuNTc2LDAsMTA3LjE2OGMxNC43OTcsMTQuNzk4LDM0LjE5MSwyMi4xOTYsNTMuNTg0LDIyLjE5Ng0KCQkJczM4Ljc4Ny03LjM5OCw1My41ODQtMjIuMTk2YzI5LjU5Ni0yOS41OTMsMjkuNTk2LTc3LjU3NCwwLTEwNy4xNjhDMTE1LjAwNyw3LjM5OSw5NS42MTMsMCw3Ni4yMiwwTDc2LjIyLDB6Ii8+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=")}.yvp-agegate-back-image{opacity:.4;display:block;width:100%;height:auto}.yvp-start-screen{z-index:21;}.yvp-start-screen .yvp-start-screen-image{display:block;width:100%;height:auto}.yvp-start-screen .yvp-start-screen-provider{font-size:91%;font-weight:normal;margin-bottom:5px}.yvp-start-screen .yvp-start-screen-title{font-weight:bold;font-size:100%;margin-bottom:3px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yvp-start-screen .yvp-start-screen-description{-webkit-font-smoothing:antialiased;font-weight:200;font-size:85%;letter-spacing:.07em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yvp-start-screen .yvp-start-screen-bar-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.yvp-start-screen:hover .yvp-start-screen-bar-wrapper{background-color:rgba(0,0,0,0.4)}.yvp-start-screen .yvp-start-screen-bar{position:absolute;width:96%;min-height:30px;max-height:70px;bottom:0;color:#fff;overflow:hidden;padding:10px 2%;text-shadow:#000 0 1px 3px;background-image:-webkit-linear-gradient(top, transparent, rgba(0,0,0,0.7));background-image:-o-linear-gradient(top, transparent, rgba(0,0,0,0.7));background-image:linear-gradient(top, transparent, rgba(0,0,0,0.7))}.yvp-start-screen .yvp-start-screen-button{position:absolute;left:50%;top:50%;width:65px;height:45px;background-color:#5f32fb;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGhlaWdodD0iNTRweCIgdmlld0JveD0iMCAwIDc2IDU0IiB3aWR0aD0iNzZweCIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDc2IDU0Ij4KICAgICAgICA8cG9seWdvbiBwb2ludHM9IjUxLjExNiAyNy42MzcgMzEgMzguNTIyIDMxIDE2Ljc1IiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPg==");background-position:50% 50%;background-repeat:no-repeat;background-size:59px 50px;border-radius:7px;margin-left:-32px;margin-top:-22px}.yvp-fuji .yvp-start-screen .yvp-start-screen-button{background-color:#6d00f6}div.yvp-feedback-btn{position:absolute;background:#7f6af6;color:#fff;font-size:11px;font-weight:100;padding:3px;overflow:hidden;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.8;}div.yvp-feedback-btn:hover{opacity:1}.yvp-browser-mobile div.yvp-feedback-btn{font-size:10px}.yvp-end-screen{position:absolute;font-family:HelveticaNeue,Helvetica,Arial,sans-serif;color:#fff;text-align:center;box-sizing:border-box;}.yvp-end-screen.yvp-replay-only .yvp-metadata{display:none}.yvp-end-screen-tile{position:relative;width:50%;height:50%;background-repeat:no-repeat;background-size:cover;box-sizing:border-box;cursor:pointer;float:left;padding:5px;}.yvp-end-screen-tile .yvp-gradient{position:absolute;top:0;left:0;width:100%;height:100%;background-image:-webkit-linear-gradient(top, rgba(255,0,0,0) 0%, rgba(0,0,0,0.6) 100%);background-image:-o-linear-gradient(top, rgba(255,0,0,0) 0%, rgba(0,0,0,0.6) 100%);background-image:linear-gradient(top, rgba(255,0,0,0) 0%, rgba(0,0,0,0.6) 100%)}.yvp-end-screen-tile .yvp-overlay{position:relative;top:50%;width:100px;font-size:13px;margin:-23px auto 0;overflow:hidden;}.yvp-end-screen-tile .yvp-overlay .yvp-replay-button{display:block;width:39px;height:43px;background-color:transparent;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGhlaWdodD0iNDIuNXB4IiB2aWV3Qm94PSIwIDAgMzguNSA0Mi41IiB3aWR0aD0iMzguNXB4IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzguNSA0Mi41Ij4KPHBhdGggZD0ibTEuNTc4IDIzLjAzNmMwIDkuNzM0IDcuODkgMTcuNjI0IDE3LjYyMyAxNy42MjQgOS43MzIgMCAxNy42MjMtNy44OSAxNy42MjMtMTcuNjI0IDAtOS43MzMtNy44OTEtMTcuNjIzLTE3LjYyMy0xNy42MjMtMS4wMjggMC0yLjAzNCAwLjA5NC0zLjAxNCAwLjI2MnYtNC4xMDVsLTYuNTg0IDYuNTk4IDYuNTg0IDYuNjExdi00LjEwNmMwLjk2Ny0wLjIzNiAxLjk3Ni0wLjM2NCAzLjAxNC0wLjM2NCA3LjAxOCAwIDEyLjcyOCA1LjcxIDEyLjcyOCAxMi43MjggMCA3LjAxOS01LjcxIDEyLjcyOS0xMi43MjggMTIuNzI5cy0xMi43MjktNS43MTEtMTIuNzI5LTEyLjczaC00Ljg5NHoiIGZpbGw9IiNmZmYiLz4KPC9zdmc+Cg==");cursor:pointer;margin:auto}.yvp-end-screen-tile .yvp-overlay .yvp-play-button{width:33px;height:23px;background-color:transparent;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIGhlaWdodD0iMjIuODI4cHgiIHZpZXdCb3g9IjAgMCAzMS45MDEgMjIuODI4IiB3aWR0aD0iMzEuOTAxcHgiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAzMS45MDEgMjIuODI4Ij4KCTxwYXRoIGQ9Im0wLjE0NiA0LjQzOGMwLTIuMzIxIDEuODU5LTQuMjA1IDQuMTU0LTQuMjA1IDAgMCAxMS40NzMtMC41MjMgMjMuMjI5IDAgMi4yOTQgMCA0LjE1NSAxLjg4NCA0LjE1NSA0LjIwNSAwIDAgMC40ODYgNi43OTcgMCAxNC4wMzkgMCAyLjMyMi0xLjg2MSA0LjIwMy00LjE1NSA0LjIwMyAwIDAtMTEuODA0IDAuMzM0LTIzLjIyOSAwLTIuMjk1IDAtNC4xNTQtMS44ODEtNC4xNTQtNC4yMDMgMCAwLTAuMzMtMy4zNiAwLTE0LjAzOXoiIGZpbGw9IiMzMjRGRTEiLz4KCTxwb2x5Z29uIHBvaW50cz0iMjEuMDk4IDExLjQxNCAxMy4wNyAxNS44MDcgMTMuMDcgNy4wMiIgZmlsbD0iI2ZmZiIvPgo8L3N2Zz4K");background-position:0 0,0 0;background-repeat:no-repeat;cursor:pointer}.yvp-end-screen-tile.yvp-replay .yvp-overlay{margin:-43px auto 0}.yvp-end-screen-tile .yvp-metadata{position:absolute;width:100%;height:35px;bottom:0;}.yvp-end-screen-tile .yvp-metadata .yvp-title{color:#fff;font-size:13px;line-height:14px;margin:16px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yvp-1-grid .yvp-end-screen-tile{width:100%;height:100%}.yvp-error-screen{position:absolute;width:100%;height:100%;font-family:HelveticaNeue-Light,HelveticaNeue,Helvetica,Arial,sans-serif;font-weight:300;}.yvp-error-screen .yvp-error-screen-image{position:absolute;display:block;width:100%;height:100%}.yvp-error-screen .yvp-error-screen-background{position:absolute;height:100%;width:100%;background-image:-webkit-linear-gradient(210deg, rgba(0,0,0,0.4), #000);background-image:-o-linear-gradient(210deg, rgba(0,0,0,0.4), #000);background-image:linear-gradient(210deg, rgba(0,0,0,0.4), #000)}.yvp-error-screen .yvp-error-header{position:absolute;top:5%;left:5%;display:inline-block;width:90%;font-size:17px;}.smallscreen .yvp-error-screen .yvp-error-header,.verysmallscreen .yvp-error-screen .yvp-error-header{font-size:14px}.yvp-error-screen .yvp-error-header .yvp-error-title{color:#ccc;overflow:hidden;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.yvp-browser-mobile .yvp-error-screen .yvp-error-header .yvp-error-title{font-size:14px}.yvp-error-screen .yvp-error-header .yvp-error-divider{position:relative;height:1px;bottom:0;background-color:#714fff}.yvp-error-screen .yvp-error-desc{position:absolute;width:80%;top:14%;left:5%;color:#ccc;font-size:14px;line-height:18px;letter-spacing:0;}.yvp-error-screen .yvp-error-desc a:link{color:#ccc}.yvp-error-screen .yvp-error-desc a:visited{color:#ccc}.yvp-error-screen .yvp-error-desc a:active{color:#714fff}.smallscreen .yvp-error-screen .yvp-error-desc,.verysmallscreen .yvp-error-screen .yvp-error-desc{top:18%;font-size:12px;line-height:14px}.yvp-browser-mobile .yvp-error-screen .yvp-error-desc{top:16%;font-size:12px;line-height:14px}.yvp-error-screen .yvp-error-desc .yvp-browser-refresh{display:block;padding-top:10px;}.yvp-browser-mobile .yvp-error-screen .yvp-error-desc .yvp-browser-refresh{font-size:12px;line-height:14px}.yvp-error-screen .yvp-error-desc .yvp-error-flash-download-wrapper{display:block;padding-top:10px;background-color:transparent;cursor:pointer}.yvp-error-screen .yvp-error-desc .yvp-error-flash-download-icon{display:block;width:30%;height:25%;margin-top:10px;background-repeat:no-repeat;}.yvp-browser-mobile .yvp-error-screen .yvp-error-desc .yvp-error-flash-download-icon{visibility:hidden}.yvp-error-screen .yvp-error-debug{position:absolute;left:5%;font-size:11px;font-weight:100;padding:3px;overflow:hidden;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.yvp-browser-mobile .yvp-error-screen .yvp-error-debug{font-size:10px}.yvp-error-screen .yvp-error-code{bottom:45px;color:#ccc;display:inline-block}.yvp-error-screen .yvp-error-guid{bottom:30px;color:#7a7a7a}.yvp-error-screen .yvp-error-sessionId{bottom:15px;color:#7a7a7a}.yvp-error-screen .yvp-error-feedback-btn{bottom:65px;left:5%}.yvp-error-screen .yvp-error-indicator{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTU0cHgiIGhlaWdodD0iMTU0cHgiIHZpZXdCb3g9Ii0xIC0xIDE1NCAxNTQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTEgLTEgMTU0IDE1NCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8Zz4NCgk8Zz4NCgkJPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNzQ1NEZGIiBzdHJva2Utd2lkdGg9IjUiIHN0cm9rZS1taXRlcmxpb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4xNzFDMzcuOTg0LDkuNjc1LDU2LjUxMiwyLDc2LjIyLDIgTTc2LjIyLDANCgkJCUM1Ni44MjYsMCwzNy40MzIsNy4zOTksMjIuNjM1LDIyLjE5NmMtMjkuNTk0LDI5LjU5NC0yOS41OTQsNzcuNTc2LDAsMTA3LjE2OGMxNC43OTcsMTQuNzk4LDM0LjE5MSwyMi4xOTYsNTMuNTg0LDIyLjE5Ng0KCQkJczM4Ljc4Ny03LjM5OCw1My41ODQtMjIuMTk2YzI5LjU5Ni0yOS41OTMsMjkuNTk2LTc3LjU3NCwwLTEwNy4xNjhDMTE1LjAwNyw3LjM5OSw5NS42MTMsMCw3Ni4yMiwwTDc2LjIyLDB6Ii8+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=");background-repeat:no-repeat;background-size:100%;position:absolute;bottom:15px;right:5%;padding:3px;height:46%;width:24%;opacity:0;-webkit-animation-name:fadeInOut;animation-name:fadeInOut;-webkit-animation-duration:2s;-moz-animation-duration:2s;animation-duration:2s}.yvp-loading-screen .yvp-spinner-outer,.yvp-loading-screen .yvp-spinner-inner{position:absolute;top:50%;left:50%;background-size:100% 100%;visibility:hidden;-webkit-transition:visibility 0 linear 500ms;-moz-transition:visibility 0 linear 500ms;-o-transition:visibility 0 linear 500ms;transition:visibility 0 linear 500ms}.yvp-loading-screen .yvp-spinner-outer{max-width:176px;max-height:176px;width:176px;height:176px;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRF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jZGNEZGO3N0b3Atb3BhY2l0eTowLjEwMjgiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC4yODQ0IiBzdHlsZT0ic3RvcC1jb2xvcjojREZENkZGO3N0b3Atb3BhY2l0eTowLjI4NDQiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC41MjMzIiBzdHlsZT0ic3RvcC1jb2xvcjojQjlBNkZGO3N0b3Atb3BhY2l0eTowLjUyMzMiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC44MDcxIiBzdHlsZT0ic3RvcC1jb2xvcjojODU2NEZGO3N0b3Atb3BhY2l0eTowLjgwNzEiLz4NCgkJPHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzVGMzNGRiIvPg0KCTwvbGluZWFyR3JhZGllbnQ+DQoNCgkJPGNpcmNsZSBjbGlwLXBhdGg9InVybCgjU1ZHSURfMl8pIiBmaWxsPSJub25lIiBzdHJva2U9InVybCgjU1ZHSURfM18pIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjY1Ljk4MiIgY3k9IjcxLjA2NCIgcj0iMjEuNjk5Ii8+DQo8L2c+DQo8L3N2Zz4=");margin-top:-88px;margin-left:-88px}.yvp-loading-screen .yvp-spinner-inner{max-width:156px;max-height:156px;width:156px;height:156px;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnI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0Y2RjRGRjtzdG9wLW9wYWNpdHk6MC4xMDI4Ii8+DQoJCTxzdG9wICBvZmZzZXQ9IjAuMjg0NCIgc3R5bGU9InN0b3AtY29sb3I6I0RGRDZGRjtzdG9wLW9wYWNpdHk6MC4yODQ0Ii8+DQoJCTxzdG9wICBvZmZzZXQ9IjAuNTIzMyIgc3R5bGU9InN0b3AtY29sb3I6I0I5QTZGRjtzdG9wLW9wYWNpdHk6MC41MjMzIi8+DQoJCTxzdG9wICBvZmZzZXQ9IjAuODA3MSIgc3R5bGU9InN0b3AtY29sb3I6Izg1NjRGRjtzdG9wLW9wYWNpdHk6MC44MDcxIi8+DQoJCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiM1RjMzRkYiLz4NCgk8L2xpbmVhckdyYWRpZW50Pg0KCTxwYXRoIGNsaXAtcGF0aD0idXJsKCNTVkdJRF8yXykiIGZpbGw9Im5vbmUiIHN0cm9rZT0idXJsKCNTVkdJRF8zXykiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNNTIuMTY5LDYwLjEyNw0KCQljNi4xNDUtNy40MDIsMTcuMTI3LTguNDIzLDI0LjUzMS0yLjI3NmM3LjQsNi4xNDksOC40MjIsMTcuMTM1LDIuMjc1LDI0LjUzOGMtNi4xNDUsNy40MDEtMTcuMTI5LDguNDIyLTI0LjUzMSwyLjI3Mw0KCQlDNDcuMDQyLDc4LjUxOCw0Ni4wMjEsNjcuNTMzLDUyLjE2OSw2MC4xMjd6Ii8+DQo8L2c+DQo8L3N2Zz4=");margin-top:-78px;margin-left:-78px}.yvp-loading-screen.yvp-show-spinner .yvp-spinner-outer,.yvp-loading-screen.yvp-show-spinner .yvp-spinner-inner{visibility:visible}.yvp-opensimsim{display:none;position:absolute;z-index:40;background-color:rgba(0,0,0,0.6);width:100%;height:100%;color:rgba(255,255,255,0.8);overflow-x:scroll;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;}.yvp-opensimsim .yvp-close-btn{display:block;position:absolute;top:10px;right:10px;width:27px;height:27px;background:url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKICAgIHdpZHRoPSIxMHB4IiBoZWlnaHQ9IjEwcHgiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAgMTAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cG9seWdvbiBmaWxsPSIjQ0NDQ0NDIiBwb2ludHM9IjEwLDEuNTAyIDguNDk4LDAgNSwzLjQ5OSAxLjUwMiwwLjAwMSAwLDEuNTAzIDMuNDk4LDUgMCw4LjQ5OCAxLjUwMiwxMCA1LDYuNTAyIDguNDk4LDEwIDEwLDguNDk4IAogICAgNi41MDIsNSAiLz4KPC9zdmc+Cg==") no-repeat center center;cursor:pointer;z-index:10;opacity:.8;}.yvp-opensimsim .yvp-close-btn:hover{opacity:1}.yvp-opensimsim .yvp-opensimsim-info{font-size:10px;margin-left:20px;}.yvp-opensimsim .yvp-opensimsim-info .yvp-opensimsim-title{color:#714fff;padding-top:20px;padding-bottom:10px}.yvp-opensimsim .yvp-opensimsim-info .yvp-opensimsim-graphs{width:100%;height:80px;margin-bottom:25px;}.yvp-opensimsim .yvp-opensimsim-info .yvp-opensimsim-graphs .yvp-opensimsim-graph{float:left;width:150px;}.yvp-opensimsim .yvp-opensimsim-info .yvp-opensimsim-graphs .yvp-opensimsim-graph div{margin-bottom:5px}.yvp-opensimsim .yvp-opensimsim-info .yvp-profile-btn{padding-top:20px;color:#fff;margin-bottom:20px;font-size:14px;cursor:pointer;}.yvp-opensimsim .yvp-opensimsim-info .yvp-profile-btn:hover{text-decoration:underline}.yvp-feedback-screen{display:none;position:absolute;z-index:40;background-color:#000;width:100%;height:100%;color:#ccc;overflow-x:scroll;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;}.yvp-feedback-screen .yvp-feedback-screen-close-btn{display:block;position:absolute;top:10px;right:10px;width:27px;height:27px;background:url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKICAgIHdpZHRoPSIxMHB4IiBoZWlnaHQ9IjEwcHgiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAgMTAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cG9seWdvbiBmaWxsPSIjQ0NDQ0NDIiBwb2ludHM9IjEwLDEuNTAyIDguNDk4LDAgNSwzLjQ5OSAxLjUwMiwwLjAwMSAwLDEuNTAzIDMuNDk4LDUgMCw4LjQ5OCAxLjUwMiwxMCA1LDYuNTAyIDguNDk4LDEwIDEwLDguNDk4IAogICAgNi41MDIsNSAiLz4KPC9zdmc+Cg==") no-repeat center center;cursor:pointer;z-index:10;opacity:.8;}.yvp-feedback-screen .yvp-feedback-screen-close-btn:hover{opacity:1}.yvp-feedback-screen .yvp-feedback-screen-info{font-size:10px;margin-top:0;margin-right:20px;margin-left:20px;height:100%;}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-title{font-size:18px;color:#ccc;display:inline-block;padding-top:10px;padding-bottom:7px}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-response{color:#ccc;padding-top:20px;padding-bottom:5px;font-size:14px;margin-left:0}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-refid{color:#ccc;padding-top:0;padding-bottom:0;margin-left:0;font-size:10px}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-text{box-sizing:border-box;margin-top:10px;margin-bottom:10px;overflow:auto;resize:none;width:100%;height:105px;border:1px solid #ccc;opacity:.8;padding:5px}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-button-container{text-align:right}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-btn{display:inline-block;background-color:#7f6af6;color:#ccc;cursor:pointer;font-size:12px;text-align:center;padding:5px;opacity:.8;}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-btn:hover{opacity:1}.yvp-feedback-screen .yvp-feedback-screen-info .yvp-feedback-screen-disclaimer{position:absolute;bottom:10px;padding-right:10px}.yvp-anim-rotate{-webkit-animation:yvp-anim-rotate-clockwise 2.1s linear infinite;-moz-animation:yvp-anim-rotate-clockwise 2.1s linear infinite;animation:yvp-anim-rotate-clockwise 2.1s linear infinite;}.yvp-anim-rotate.yvp-anim-faster{-webkit-animation-duration:.9s;-moz-animation-duration:.9s;animation-duration:.9s}.yvp-anim-rotate.yvp-anim-rotate-reverse{-webkit-animation-name:yvp-anim-rotate-anticlockwise;animation-name:yvp-anim-rotate-anticlockwise}.yvp-main .yvp-tooltip{display:inline-block;position:absolute;}.yvp-main .yvp-tooltip:hover{text-decoration:none;}.yvp-main .yvp-tooltip:hover .yvp-tooltip-wrapper .yvp-tooltip-content{display:table}.yvp-main .yvp-tooltip .yvp-tooltip-wrapper{bottom:27px;margin:auto;position:absolute;display:block;z-index:5;text-align:center;left:-1000px;right:-1000px;}.yvp-main .yvp-tooltip .yvp-tooltip-wrapper .yvp-tooltip-content{background:#ccc;color:#3e3e3e;font-size:11px;display:none;margin:auto;padding:5px 11px;white-space:nowrap;text-align:center;pointer-events:none;}.yvp-main .yvp-tooltip .yvp-tooltip-wrapper .yvp-tooltip-content:before{border:solid;border-color:#ccc transparent;border-width:5px 3px 0;bottom:-5px;content:\'\';display:block;left:50%;margin-left:-3px;position:absolute;z-index:5}.yvp-main .yvp-tooltip .yvp-tooltip-wrapper.yvp-tooltip-pos-bottom{top:30px;bottom:0;}.yvp-main .yvp-tooltip .yvp-tooltip-wrapper.yvp-tooltip-pos-bottom .yvp-tooltip-content:before{border-width:0 3px 5px;top:-5px;bottom:0}.yvp-main .yvp-tooltip.yvp-tooltip-hidden .yvp-tooltip-wrapper{display:none}.yvp-ads-overlay{position:absolute;height:100%;width:100%;display:none;-webkit-transition:height .2s ease-in-out 2s;-moz-transition:height .2s ease-in-out 2s;-o-transition:height .2s ease-in-out 2s;transition:height .2s ease-in-out 2s}.yvp-fuji .yvp-end-screen-fuji{position:absolute;font-family:HelveticaNeue,Helvetica,Arial,sans-serif;color:#fff;text-align:center;overflow:hidden;top:40px;left:20px;right:20px;bottom:80px;white-space:nowrap}.yvp-fuji .yvp-end-screen-fuji-grid{position:absolute;left:20px;right:20px;top:0;bottom:0;list-style-type:none;-webkit-transition:left .7s ease-in-out;-moz-transition:left .7s ease-in-out;-o-transition:left .7s ease-in-out;-webkit-transition:all .7s ease-in-out;-moz-transition:all .7s ease-in-out;-o-transition:all .7s ease-in-out;transition:all .7s ease-in-out;}.yvp-fuji .yvp-end-screen-fuji-grid.yvp-end-screen-grid-right{-webkit-transform:translateX(600px);-moz-transform:translateX(600px);-ms-transform:translateX(600px);-o-transform:translateX(600px);transform:translateX(600px)}.yvp-fuji .yvp-end-screen-fuji-grid.yvp-end-screen-grid-left{-webkit-transform:translateX(-600px);-moz-transform:translateX(-600px);-ms-transform:translateX(-600px);-o-transform:translateX(-600px);transform:translateX(-600px)}.yvp-fuji .yvp-end-screen-fuji-grid li{padding:10px}.yvp-fuji .yvp-end-screen-fuji-tile{position:relative;width:177px;height:111px;background-repeat:no-repeat;background-size:cover;box-sizing:border-box;cursor:pointer;float:left;padding:10px;}.yvp-fuji .yvp-end-screen-fuji-tile .yvp-end-screen-fuji-tile-image{width:100%}.yvp-fuji .yvp-end-screen-fuji-tile .yvp-overlay-fuji{opacity:0;position:absolute;top:0;left:0;width:100%;height:100%;color:#fff;font-size:13px;line-height:14px;background-image:-webkit-linear-gradient(top, rgba(255,0,0,0) 0%, rgba(0,0,0,0.6) 100%);background-image:-o-linear-gradient(top, rgba(255,0,0,0) 0%, rgba(0,0,0,0.6) 100%);background-image:linear-gradient(top, rgba(255,0,0,0) 0%, rgba(0,0,0,0.6) 100%);}.yvp-fuji .yvp-end-screen-fuji-tile .yvp-overlay-fuji:hover{opacity:1}.yvp-fuji .yvp-end-screen-fuji-tile .yvp-overlay-fuji.yvp-end-screen-up-next{opacity:1}.yvp-fuji .yvp-end-screen-fuji-tile .yvp-overlay-fuji .yvp-end-screen-up-next-box{margin:20px 0 0 20px;text-align:left;width:80px;background-color:rgba(0,0,0,0.7)}.yvp-fuji .yvp-end-screen-fuji-tile .yvp-metadata-fuji{position:absolute;width:100%;height:35px;bottom:0;}.yvp-fuji .yvp-end-screen-fuji-tile .yvp-metadata-fuji .yvp-title-fuji{margin:16px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yvp-fuji .yvp-end-screen-pg-btn{width:9px;height:15px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDkgMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPmljb24tcGFnZS1iYWNrLWZwbzwvdGl0bGU+PHBhdGggZD0iTTguMTY3LjI5M2MtLjM5LS4zOS0xLjAyMy0uMzktMS40MTQgMEwwIDcuMDQ2IDYuNzUyIDEzLjhjLjE5Ni4xOTQuNDUyLjI5Mi43MDguMjkyLjI1NiAwIC41MS0uMDk4LjcwNi0uMjkzLjM5LS4zOTIuMzktMS4wMjUgMC0xLjQxNWwtNS4zMzgtNS4zNCA1LjM0LTUuMzM4Yy4zOS0uMzkuMzktMS4wMjMgMC0xLjQxNCIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+");position:absolute;top:50%;cursor:pointer;z-index:10;}.yvp-fuji .yvp-end-screen-pg-btn.disabled{display:none}.yvp-fuji .yvp-end-screen-pg-btn.yvp-end-screen-pg-next{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDkgMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPmljb24tcGFnZS1uZXh0LWZwbzwvdGl0bGU+PHBhdGggZD0iTTUuNjMyIDcuMDQ2bC01LjM0IDUuMzRjLS4zOS4zOS0uMzkgMS4wMjMgMCAxLjQxMy4zOS4zOSAxLjAyNC4zOSAxLjQxNSAwTDguNDYgNy4wNDUgMS43MDcuMjkzQzEuNTEyLjA5OCAxLjI1NyAwIDEgMCAuNzQ0IDAgLjQ5LjA5OC4yOTMuMjkzYy0uMzkuMzktLjM5IDEuMDI0IDAgMS40MTRsNS4zNCA1LjM0IiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=");right:10px}.yvp-fuji .yvp-end-screen-loader{position:absolute;width:100%;height:100%;background-color:rgba(0,0,0,0.6);display:none;z-index:11;}.yvp-fuji .yvp-end-screen-loader.loading{display:block}.yvp-fuji .yvp-end-screen-loader .yvp-spinner-outer,.yvp-fuji .yvp-end-screen-loader .yvp-spinner-inner{position:absolute;top:50%;left:50%;background-size:100% 100%;visibility:visible;-webkit-transition:visibility 0 linear 500ms;-moz-transition:visibility 0 linear 500ms;-o-transition:visibility 0 linear 500ms;transition:visibility 0 linear 500ms}.yvp-fuji .yvp-end-screen-loader .yvp-spinner-outer{max-width:176px;max-height:176px;width:176px;height:176px;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZ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yYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAtMSAyNzM5LjA0NjkgMTI3My41NDg4KSI+DQoJCTxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiNGRkZGRkY7c3RvcC1vcGFjaXR5OjAiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC4xMDI4IiBzdHlsZT0ic3RvcC1jb2xvcjojRjZGNEZGO3N0b3Atb3BhY2l0eTowLjEwMjgiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC4yODQ0IiBzdHlsZT0ic3RvcC1jb2xvcjojREZENkZGO3N0b3Atb3BhY2l0eTowLjI4NDQiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC41MjMzIiBzdHlsZT0ic3RvcC1jb2xvcjojQjlBNkZGO3N0b3Atb3BhY2l0eTowLjUyMzMiLz4NCgkJPHN0b3AgIG9mZnNldD0iMC44MDcxIiBzdHlsZT0ic3RvcC1jb2xvcjojODU2NEZGO3N0b3Atb3BhY2l0eTowLjgwNzEiLz4NCgkJPHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6IzVGMzNGRiIvPg0KCTwvbGluZWFyR3JhZGllbnQ+DQoNCgkJPGNpcmNsZSBjbGlwLXBhdGg9InVybCgjU1ZHSURfMl8pIiBmaWxsPSJub25lIiBzdHJva2U9InVybCgjU1ZHSURfM18pIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjY1Ljk4MiIgY3k9IjcxLjA2NCIgcj0iMjEuNjk5Ii8+DQo8L2c+DQo8L3N2Zz4=");margin-top:-88px;margin-left:-88px}.yvp-fuji .yvp-end-screen-loader .yvp-spinner-inner{max-width:156px;max-height:156px;width:156px;height:156px;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXR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6Ii8+DQo8L2c+DQo8L3N2Zz4=");margin-top:-78px;margin-left:-78px}@-moz-keyframes fadeInOut{0%{opacity:0}45%{opacity:1}55%{opacity:1}100%{opacity:0}}@-webkit-keyframes fadeInOut{0%{opacity:0}45%{opacity:1}55%{opacity:1}100%{opacity:0}}@-o-keyframes fadeInOut{0%{opacity:0}45%{opacity:1}55%{opacity:1}100%{opacity:0}}@-ms-keyframes fadeInOut{0%{opacity:0}45%{opacity:1}55%{opacity:1}100%{opacity:0}}@keyframes fadeInOut{0%{opacity:0}45%{opacity:1}55%{opacity:1}100%{opacity:0}}@-webkit-keyframes yvp-anim-rotate-clockwise{0%{-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-ms-transform:rotateZ(0);-o-transform:rotateZ(0);transform:rotateZ(0)}100%{-webkit-transform:rotateZ(360deg);-moz-transform:rotateZ(360deg);-ms-transform:rotateZ(360deg);-o-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@keyframes yvp-anim-rotate-clockwise{0%{-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-ms-transform:rotateZ(0);-o-transform:rotateZ(0);transform:rotateZ(0)}100%{-webkit-transform:rotateZ(360deg);-moz-transform:rotateZ(360deg);-ms-transform:rotateZ(360deg);-o-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@-webkit-keyframes yvp-anim-rotate-anticlockwise{0%{-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-ms-transform:rotateZ(0);-o-transform:rotateZ(0);transform:rotateZ(0)}100%{-webkit-transform:rotateZ(-360deg);-moz-transform:rotateZ(-360deg);-ms-transform:rotateZ(-360deg);-o-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}@keyframes yvp-anim-rotate-anticlockwise{0%{-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-ms-transform:rotateZ(0);-o-transform:rotateZ(0);transform:rotateZ(0)}100%{-webkit-transform:rotateZ(-360deg);-moz-transform:rotateZ(-360deg);-ms-transform:rotateZ(-360deg);-o-transform:rotateZ(-360deg);transform:rotateZ(-360deg)}}'),
  Object.defineProperty(i.prototype,"currentTime",{get:function(){var e=this;return e._renderer?e._renderer.getCurrentTime():0}}),i.prototype.setDefaultRendererType=function(){var e=this;return""!==e._rendererType||N.mobile||!h.isFunction(y)?!0:e.setRendererType("flash")},i.prototype.setRendererType=function(e){var t=this;if(e!==t._rendererType){t._eventBus.publish(_.RENDERER_TYPE_CHANGE,e),t._renderer&&t._renderer.detachNode&&t._renderer.detachNode(),t._rendererType=e,t._renderer=t._renderers[e];var n;if(t._renderer)t._renderer.reattachNode&&t._renderer.reattachNode();else{var i=t._model.capabilities[t._model.playbackState.rendererType];N.tv?t._renderer=new L(t._eventBus,i,t._profiler,t._model):"flash"===e?t._renderer=new y(t._eventBus,t._model,t._profiler):"dash"===e?(n=t._renderers.html,t._renderer=new M(t._eventBus,t._model)):(n=t._renderers.dash,t._renderer=new v(t._eventBus,i,t._profiler,t._model)),t._renderers[e]=t._renderer,n?t._renderer.create(n.node):t._mainElem.appendChild(t._renderer.create()),"flash"===e?t._renderer.detectFlashBlockers(t._mainElem):t._model.ui.showControls&&(N.iphone||N.android)&&(t._renderer.node.controls=!0),t._renderer.mode=A.VIDEO}return!t._renderer.isReady||t._renderer.isReady()}},i.prototype._onRendererTypeChange=function(e){var t=this;"flash"===e?(D.classList(t._contentElem).remove("yvp-html"),D.classList(t._contentElem).add("yvp-flash")):(D.classList(t._contentElem).remove("yvp-flash"),D.classList(t._contentElem).add("yvp-html"))},i.prototype.waitForRenderer=function(e){var t=this;t._renderer.waitForReady(function(n){n&&t._handleRendererTimeout(),e(n)})},i.prototype.didRendererTimeOut=function(){var e=this;return e._renderer&&!!e._renderer.timedOut},i.prototype.render=function(){var e=this;if(e._contentElem=D.render(O,{isFujiView:e._showFujiUI}),e._mainElem=e._contentElem.querySelector(".yvp-main"),e.rootElem.appendChild(e._contentElem),D.classList(e._contentElem).add(e._viewSize),Object.keys(N).filter(function(e){return N[e]}).forEach(function(t){"os"===t&&(t=N.os),"ie"===t&&D.classList(e._contentElem).add("yvp-"+t.toLowerCase()+N[t]),D.classList(e._contentElem).add(G+t.toLowerCase())}),h.isFunction(C)?e._loadingScreen=new f:!e._model.ui.chromeless&&h.isFunction(m)&&(e._loadingScreen=new m(e._eventBus)),e._loadingScreen&&e._mainElem.appendChild(e._loadingScreen.create()),h.isFunction(w)&&e._model.ui.showPauseScreen&&(e._pauseScreen=new w(e._eventBus,e,e._model),e._mainElem.appendChild(e._pauseScreen.create())),e._model.ui.showSettingScreen||D.classList(e._contentElem).add("yvp-settings-disabled"),e._model.ui.showControls&&!N.iphone&&!N.android){e._showFujiUI?e.controls=new a(e._eventBus,e,e._model):e.controls=new o(e._eventBus,e,e._model);var t=e.controls.create();t.forEach(function(t){e._mainElem.appendChild(t)})}var n=function(t){e._mouseMoveHandler(t)};e.bindMouseEvents=function(){e._lastMouseMoveCoordinates={},e._contentElem.addEventListener("mousemove",function(t){e._lastMouseMoveCoordinates.x!==t.clientX&&e._lastMouseMoveCoordinates.y!==t.clientY&&(n(t),e._lastMouseMoveCoordinates.x=t.clientX,e._lastMouseMoveCoordinates.y=t.clientY)}),e._contentElem.addEventListener("mouseover",n),e._contentElem.addEventListener("mouseout",n)},N.tv||N.mobile||(e.bindMouseEvents(),e.unbindMouseEvents=function(){e._contentElem.removeEventListener("mousemove",n),e._contentElem.removeEventListener("mouseover",n),e._contentElem.removeEventListener("mouseout",n)}),h.isFunction(e._handleFullscreenChange.bind)&&(e._fullscreenChangeEventHandler=e._handleFullscreenChange.bind(e),B.forEach(function(t){document.addEventListener(t,e._fullscreenChangeEventHandler)})),e._openSimSim=new E(e._model,e._eventBus,e._profiler),e._mainElem.appendChild(e._openSimSim.create()),e._easterEgg=new l(function(){e._openSimSim.render()}),e._setRendererModeClasses(A.VIDEO),N.mobile||e._model.ui.chromeless||(e.adsOverlay=new R(e._eventBus,e),e._mainElem.appendChild(e.adsOverlay.create())),e._feedbackScreen=new g(e._model,e._eventBus,e),e._showFujiUI&&(e._fujiSettings=e.getSettingsNode())},i.prototype.isRendererSet=function(){var e=this;return!!e._renderer},i.prototype.getRendererType=function(){var e=this;return e._rendererType},i.prototype.getContentNode=function(){var e=this;return e._contentElem},i.prototype.getMainElement=function(){var e=this;return e._mainElem},i.prototype.getCustomControlsNode=function(){var e=this;return e.rootElem.querySelector(".yvp-custom-controls")},i.prototype.getSettingsNode=function(){var e=this;return e.rootElem.querySelector(".yvp-fuji .yvp-settings-container")},i.prototype._setContentHeightForNFL=function(){var e=this;setTimeout(function(){e._setContentHeight()},700)},i.prototype._setContentHeight=function(){var e=this;if(e._contentElem&&e._mainElem){var t=N.mobile?e._nflBarDimensions.MOBILE.HEIGHT:e._nflBarDimensions.DESKTOP.HEIGHT,n=e._contentElem.offsetHeight-t+"px";e._mainElem.style.height=n}},i.prototype._loadNFLBranding=function(){var e=this;e._nflBranding||(e._setContentHeight(),e._nflBranding=new s(e._eventBus,e,e._model),e._contentElem.appendChild(e._nflBranding.create()))},i.prototype._removeNFLBranding=function(){var e=this;e._mainElem&&(e._mainElem.style.height="100%"),e._nflBranding&&(e._contentElem.removeChild(e._nflBranding.node),e._nflBranding.destroy(),e._nflBranding=null)},i.prototype.setKeyboardFocus=function(){var e=this;e._contentElem.focus()},i.prototype.updateViewOnEscPress=function(){var e=this;e._openSimSim&&e._openSimSim.isOpen()?e._openSimSim.close():e._feedbackScreen&&e._feedbackScreen.isOpen()?e._feedbackScreen.close():D.classList(e._contentElem).contains("yvp-show-settings")?e.toggleSettings(null,!1):e._pauseScreen&&e._pauseScreen.isOpen()?e._pauseScreen.close():e.getFullscreen()&&e.setFullscreen(!1)},i.prototype.toggleSettings=function(e,t){var n=this;if(e&&(n._settingBtn=e),n._settingBtn||(n._settingBtn=n._contentElem.querySelector(".yvp-setting-btn")),n._settingBtn){var i="";D.classList(n._settingBtn).contains("selected")&&t!==!0||t===!1?(D.classList(n._contentElem).remove("yvp-show-settings"),D.classList(n._settingBtn).remove("selected"),i="OFF"):D.classList(n._settingBtn).contains("selected")&&t!==!0||(D.classList(n._contentElem).add("yvp-show-settings"),D.classList(n._settingBtn).add("selected"),i="ON"),n._eventBus.publish(_.CTRL_SETTINGS),n._eventBus.publish(_.SETTINGS_CONTROLLER_CHANGE,-1!==i.indexOf("ON"))}},i.prototype.toggleFujiSettings=function(e,t){var n=this;if(e&&(n._settingBtn=e),n._settingBtn||(n._settingBtn=n._contentElem.querySelector(".yvp-setting-btn")),n._settingBtn){var i="";D.classList(n._settingBtn).contains("selected")&&t!==!0||t===!1?(D.classList(n._fujiSettings).remove("open"),D.classList(n._settingBtn).remove("selected"),i="OFF"):D.classList(n._settingBtn).contains("selected")&&t!==!0||(D.classList(n._fujiSettings).add("open"),D.classList(n._settingBtn).add("selected"),i="ON"),n._eventBus.publish(_.CTRL_SETTINGS),n._eventBus.publish(_.SETTINGS_CONTROLLER_CHANGE,-1!==i.indexOf("ON"))}},i.prototype.disableControls=function(){var e=this;D.classList(e._contentElem).add("yvp-disable-controls")},i.prototype.enableControls=function(){var e=this;D.classList(e._contentElem).remove("yvp-disable-controls")},i.prototype._setRendererModeClasses=function(e){var t=this;Object.keys(A).forEach(function(e){D.classList(t._contentElem).remove(Q+A[e])}),D.classList(t._contentElem).add(Q+e)},i.prototype._handleRendererTimeout=function(){var e=this;e.syncViewState(),"flash"===e._rendererType&&(N.safari||N.firefox)&&e._setViewState(k.BLOCKED)},i.prototype.resetState=function(){var e=this;e._destroyStartScreen(),e._destroyEndScreen(),e._removeNFLBranding()},i.prototype.checkForNFLBranding=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=t?t.provider:null;n&&"video.nflhighlights.com"===n.providerId&&e._loadNFLBranding()},i.prototype.syncViewState=function(){var e=this,t=e._model,n=t.playbackState;S.log("setting view state: ",n);var i,r=D.classList(e._contentElem).contains(Y+x.LOADING);switch(e._setFlag(x.LOADING,n.loading),!r&&n.loading?e._eventBus.publish(_.API.LOADING_BEGIN):r&&!n.loading&&e._eventBus.publish(_.API.LOADING_END),n.state){case I.INIT:case I.WAITING:i=k.START_SCREEN;var o=e._model.playlist.getCurrentItem();e._nflBranding||e.checkForNFLBranding(),e._model.playback.continuousPlay&&0!==e._model.playlist.position||e._model.playback.autoplay||!o||!(o.hasThumbnail()&&!N.mobile||o.fetchFinished())||e._renderStartScreen();break;case I.VIDEO:var a,s=n.isVpaidAdPlaying();e._nflBranding||e.checkForNFLBranding(),a=s?A.VPAID:n.isAdPlaying()?A.AD:A.VIDEO,e._renderer.mode=a,e._setRendererModeClasses(a),i=k.VIDEO;var l=!n.paused;e._setFlag(x.PLAYING,l),e._renderer.paused=!l,e._renderer.seeking=n.seeking;break;case I.END:e.endVideo(),e._removeNFLBranding(),n.criticalError?(e._model.ui.chromeless||e._renderErrorScreen(n.criticalError,e._model.playlist.getCurrentItem(),e._model.guid),i=k.ERROR):(e.isRendererSet()&&e._renderer.seek(0),e._renderEndScreen(n.previousItem),i=k.END_SCREEN)}e._setViewState(i),e._synchAriaState()},i.prototype._setViewState=function(e){var t=this;Object.keys(k).forEach(function(e){D.classList(t._contentElem).remove(U+k[e])}),D.classList(t._contentElem).add(U+e)},i.prototype.setSelectedStreams=function(e){var t=this;t._renderer.setSelectedStreams(e)},i.prototype.play=function(e){var t=this;t._renderer.play(e)},i.prototype.pause=function(){var e=this;e._renderer.node.pause()},i.prototype._setFlag=function(e,t){var n=this;D.classList(n._contentElem).remove(Y+e),t&&D.classList(n._contentElem).add(Y+e)},i.prototype.renderAgeGateScreen=function(e,t){if(e){var n=this;n._ageGateScreen=new p(n._eventBus,t),n._mainElem.appendChild(n._ageGateScreen.create(e))}},i.prototype.destroyAgeGateScreen=function(){var e=this;e._ageGateScreen&&(e._mainElem.removeChild(e._ageGateScreen.node),e._ageGateScreen.destroy(),e._ageGateScreen=null)},i.prototype._renderStartScreen=function(){var e=this,t=null,n=null,i=e._model.YVAP;if(!e._startScreen){var r=function(){n&&(n(),clearTimeout(t),n=t=null),e._renderStartScreenImpl(e._model.playlist.getCurrentItem(),e._model)};N.mobile&&i&&i.accountId&&!i.adsReady?(n=e._eventBus.subscribe(_.ADS_READY,r,e),t=setTimeout(r,1e3)):r()}},i.prototype._renderStartScreenImpl=function(e,t){var n=this;n._startScreen||(t.ui.showStartScreen&&(n._showFujiUI?n._startScreen=new b(n._eventBus):n._startScreen=new T(n._eventBus),n._mainElem.appendChild(n._startScreen.create(e,t))),n._eventBus.publish(_.START_SCREEN_RENDERED))},i.prototype._destroyStartScreen=function(){var e=this,t=e._startScreen&&e._startScreen.node;t&&(e._mainElem.removeChild(t),e._startScreen.destroy(),e._startScreen=null)},i.prototype._renderEndScreen=function(e){var t=this;if(!t._endScreen){if(t._model.ui.showEndScreen){var n=e.relatedVideoIds.map(function(e){return t._model.mediaStore.get(e)});t._showFujiUI?t._endScreen=new u(t._eventBus,t._model.ui.showReplayOnlyEndScreen):t._endScreen=new c(t._eventBus,t._model.ui.showReplayOnlyEndScreen),t._mainElem.appendChild(t._endScreen.create(e,n))}t._eventBus.publish(_.END_SCREEN_RENDERED),t._eventBus.publish(_.API.UI_INTERACT,{srcElement:"es-view"})}},i.prototype._destroyEndScreen=function(){var e=this;e._endScreen&&(e._mainElem.removeChild(e._endScreen.node),e._endScreen.destroy(),e._endScreen=null)},i.prototype._renderErrorScreen=function(e,t,n){var i=this;if(!i._errorScreen){i._errorScreen=new d(i._eventBus);var r=t?t.images.defaultThumbnail:"",o=D.getAssetUrl(i._model.isLocal(),i._model.version,j);if(i._model.isLocal())o="assets/flash_download_logo.svg";else{var a="https:"===document.location.protocol?"https://s.yimg.com":"http://l.yimg.com";o=a+"/rx/builds/"+i._model.version+"/assets/flash_download_logo.svg"}t=t?t:i._model.playlist.getCurrentItem(),i._mainElem.appendChild(i._errorScreen.create(e,n,t.playSession,r,o)),i._eventBus.publish(_.API.UI_INTERACT,{srcElement:"err-view-"+e.type+"-"+e.code})}},i.prototype._synchAriaState=function(){var e=this;e.controls&&e.controls.syncAriaState()},i.prototype.setStreams=function(e){var t=this;return t._renderer.setStreams(e)},i.prototype.adjustErrorMsg=function(){var e=this;document.querySelector(".verysmallscreen")&&e._errorScreen.adjustText(document.querySelector("#yvp-error-message"))},i.prototype.endVideo=function(){var e=this;e.isRendererSet()&&!e._renderer.ended&&(e._renderer.ended=!0,e._renderer.node.pause())},i.prototype.seek=function(e){var t=this;t._renderer.seek(e)},i.prototype.setQuality=function(e){var t=this;t._renderer.setQuality(e)},i.prototype.setFullscreen=function(e){var t=this,n=t._contentElem,i=n.requestFullscreen||n.webkitRequestFullscreen||n.mozRequestFullScreen||n.msRequestFullscreen,r=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen;e?(N.ios?t._renderer.node.webkitEnterFullscreen():N.android&&!t.controls?t._renderer.node.webkitEnterFullscreen():i?i.call(n):t._enterLightbox(),t._eventBus.publish(_.CTRL_FULLSCREEN,"ON")):(N.ios?t._renderer.node.webkitExitFullScreen():r?r.call(document):t._exitLightbox(),t._eventBus.publish(_.CTRL_FULLSCREEN,"OFF")),t._synchAriaState()},i.prototype._enterLightbox=function(){var e=this,t=document.querySelector("body");if(!D.classList(t).contains("yvp-lightbox")){for(var n=e._contentElem.parentNode;"BODY"!==n.nodeName;)D.classList(n).add("yvp-lightbox-ancestor"),n=n.parentNode;D.classList(t).add("yvp-lightbox")}},i.prototype._exitLightbox=function(){var e=this,t=document.querySelector("body");if(D.classList(t).contains("yvp-lightbox")){D.classList(t).remove("yvp-lightbox");for(var n=e._contentElem.parentNode;"BODY"!==n.nodeName;)D.classList(n).remove("yvp-lightbox-ancestor"),n=n.parentNode}},i.prototype.getFullscreen=function(){var e=this,t=document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;return t===e._contentElem||D.classList(document.querySelector("body")).contains("yvp-lightbox")},i.prototype.toggleFullscreen=function(){var e=this;e.setFullscreen(!e.getFullscreen())},i.prototype.setVolume=function(e){var t=this;t._renderer.setVolume(e),t._eventBus.publish(_.API.PLAYER_VOLUME_CHANGE,e)},i.prototype._onMuteChange=function(e){var t=this;e?D.classList(t._contentElem).add("yvp-muted"):D.classList(t._contentElem).remove("yvp-muted")},i.prototype.setMute=function(e){var t=this;e=!!e,t.setVolume(e?0:t._model.playbackState.volume),t._eventBus.publish(_.API.PLAYER_MUTE_CHANGE,e)},i.prototype._mouseMoveHandler=function(){var e=this;e._autoHideControlsTimeout?clearTimeout(e._autoHideControlsTimeout):(D.classList(e._contentElem).remove("yvp-hide-controls"),e._objectOverlay&&D.classList(e._objectOverlay).remove("yvp-overlay-hide-cursor")),e._model.playbackState.seeking||(e._autoHideControlsTimeout=setTimeout(e._onAutoHideControls.bind(e),F)),e._eventBus.publish(_.CONTROLS_BAR_CHANGE,!0)},i.prototype._onAutoHideControls=function(){var e=this;e._objectOverlay=e._contentElem&&e._contentElem.querySelector(".yvp-object-overlay"),clearTimeout(e._autoHideControlsTimeout),e._autoHideControlsTimeout=null,D.classList(e._contentElem).add("yvp-hide-controls"),e._objectOverlay&&(e.unbindMouseEvents(),D.classList(e._objectOverlay).add("yvp-overlay-hide-cursor"),setTimeout(e.bindMouseEvents,300)),e._eventBus.publish(_.CONTROLS_BAR_CHANGE,!1)},i.prototype._handleFullscreenChange=function(){var e=this;e.getFullscreen()?D.classList(e._contentElem).add("yvp-state-fullscreen"):D.classList(e._contentElem).remove("yvp-state-fullscreen")},i.prototype.setOverlayActive=function(e){var t=this;e?D.classList(t._contentElem).add("yvp-overlay-active"):D.classList(t._contentElem).remove("yvp-overlay-active")},i.prototype.destroyFullscreenChangeListeners=function(){var e=this;e._fullscreenChangeEventHandler&&B.forEach(function(t){document.removeEventListener(t,e._fullscreenChangeEventHandler)})},i.prototype.destroy=function(){var e=this;e.controls&&e.controls.destroy(),e._easterEgg&&e._easterEgg.destroy(),e._pauseScreen&&e._pauseScreen.destroy(),e._endScreen&&e._endScreen.destroy(),e._errorScreen&&e._errorScreen.destroy(),e._loadingScreen&&e._loadingScreen.destroy(),e._renderer&&e._renderer.destroy(),e._startScreen&&e._startScreen.destroy(),e.destroyAgeGateScreen(),e.destroyFullscreenChangeListeners(),e.unbindMouseEvents&&e.unbindMouseEvents(),e._ageGateController&&e._ageGateController.destroy(),e._openSimSim&&e._openSimSim.destroy(),e._feedbackScreen&&e._feedbackScreen.destroy(),e.rootElem.innerHTML=""}},{"../../lib":"bRhrlU","../../lib/logger":"IS9j5T","../../lib/user-agent":"ty5FFo","./easter-egg":17,"./event":"YJm+dH","./fujiviews/fuji-controls":134,"./fujiviews/fuji-end-screen":134,"./fujiviews/fuji-start-screen":134,"./renderers/flash":38,"./renderers/html5-dash":40,"./renderers/html5-raw":41,"./renderers/html5-tv":134,"./renderers/modes":42,"./states":45,"./util":"jJTEqU","./views/ads-overlay":58,"./views/age-gate-screen":60,"./views/base.html":61,"./views/controls":63,"./views/end-screen":65,"./views/error-screen":67,"./views/feedback-screen":69,"./views/loading-screen":71,"./views/nfl-branding":73,"./views/open-sim-sim":75,"./views/pause-screen":77,"./views/start-screen":85,"./views/tumblr-controls":134,"./views/tumblr-loading-screen":134,fs:134,"insert-css":149}],56:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div>"),i.b("\n"+n),i.b("    <table border='1'>"),i.b("\n"+n),i.b("        <tr>"),i.b("\n"+n),i.b("            <th>Clip</th>"),i.b("\n"+n),i.b("            <th>Position</th>"),i.b("\n"+n),i.b("        </tr>"),i.b("\n"+n),i.b("        "),i.b("\n"+n),i.s(i.f("clipStats",e,t,1),e,t,0,143,1206,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("            <tr>"),i.b("\n"+n),i.b("                <td>"),i.b(i.v(i.f("clipId",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b("\n"+n),i.b("                	<table border='1'>"),i.b("\n"+n),i.b("                	<tr>"),i.b("\n"+n),i.s(i.f("data",e,t,1),e,t,0,303,362,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b("                		<th>"),n.b(n.v(n.f("position",e,t,0))),n.b("</th>"),n.b("\n")}),e.pop()),i.b("                	</tr>"),i.b("\n"+n),i.b("                	<tr>"),i.b("\n"+n),i.s(i.f("data",e,t,1),e,t,0,443,1111,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("                		<td>"),i.b("\n"+n),i.s(i.f("data",e,t,1),e,t,0,495,1060,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("	                		<ul>"),i.b("\n"+n),i.b("	                			<li>Ad Opportunity: "),i.b(i.v(i.f("taken",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                			<li>Communicator: "),i.b(i.v(i.f("communicator",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                			<li>Response Code: "),i.b(i.v(i.f("responseCode",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                			<li>Response Type: "),i.b(i.v(i.f("responseType",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                			<li>First Redirect: "),i.b(i.v(i.f("firstRedirect",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                			<li>Redirect count: "),i.b(i.v(i.f("redirectCount",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                			<li>Ad Delivery error: "),i.b(i.v(i.f("error",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                			<li>Ad Media Start latency: "),i.b(i.v(i.f("mediaStartLatency",e,t,0))),i.b("</li>"),i.b("\n"+n),i.b("	                		</ul>"),i.b("\n")}),e.pop()),i.b("                		</td>"),i.b("\n")}),e.pop()),i.b("                	</tr>"),i.b("\n"+n),i.b("                	</table>"),i.b("\n"+n),i.b("				</td>"),i.b("\n"+n),i.b("            </tr>"),i.b("\n")}),e.pop()),i.b("    </table>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],57:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-ads-overlay'></div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],58:[function(e,t,n){"use strict";function i(e,t){var n=this;n._eventBus=e,n._view=t,n._controlsBottomBar=n._view.rootElem.querySelector(".yvp-bottom-bar"),n._controlsSlider=n._view.rootElem.querySelector(".yvp-slider"),n._eventBus.subscribe(o.CONTROLS_BAR_CHANGE,n._adjustOverlayHeight,n)}t.exports=i;var r=e("../util"),o=e("../event"),a=e("./ads-overlay.html");i.prototype.create=function(){var e=this;return e.node=r.render(a),e.node},i.prototype._adjustOverlayHeight=function(e){var t,n=this,i=n._controlsBottomBar.offsetHeight,r=n._view.rootElem.offsetHeight;t=e?r-i:r,n.node.style.height=t+"px"},i.prototype.destroy=function(){var e=this;e.node=null}},{"../event":"YJm+dH","../util":"jJTEqU","./ads-overlay.html":57}],59:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-agegate-container'>"),i.b("\n"+n),i.b("    <img class='yvp-agegate-back-image' src='"),i.b(i.v(i.f("imageSrc",e,t,0))),i.b("' width='"),i.b(i.v(i.f("width",e,t,0))),i.b("' height='"),i.b(i.v(i.f("height",e,t,0))),i.b("'>"),i.b("\n"+n),i.b("    <div class='yvp-agegate-info-wrapper'>"),i.b("\n"+n),i.b("        <h3 class='yvp-agegate-title'>"),i.b(i.v(i.f("title",e,t,0))),i.b("</h3>"),i.b("\n"+n),i.b("        <p class='yvp-agegate-desc'>"),i.b(i.v(i.f("desc",e,t,0))),i.b("</p>"),i.b("\n"+n),i.b("        <div class='yvp-agegate-action-wrapper'>"),i.b("\n"+n),i.s(i.f("isBirthday",e,t,1),e,t,0,355,779,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("                <p class='yvp-agegate-input'>"),i.b("\n"+n),i.b("                    <input type='text' name='month' class='yvp-agegate-date-input' maxlength='2' placeholder='MM'>"),i.b("\n"+n),i.b("                    <input type='text' name='day' class='yvp-agegate-date-input' maxlength='2' placeholder='DD'>"),i.b("\n"+n),i.b("                    <input type='text' name='year' class='yvp-agegate-date-input' maxlength='4' placeholder='YYYY'>"),i.b("\n"+n),i.b("                </p>"),i.b("\n")}),e.pop()),i.s(i.f("isBlock",e,t,1),e,t,1,0,0,"")||(i.b("                <button class='yvp-agegate-btn'>"),i.b(i.v(i.f("button",e,t,0))),i.b("</button>"),i.b("\n")),i.b("        </div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.s(i.f("isBlock",e,t,1),e,t,0,955,1016,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b("        <div class='yvp-agegate-icon restricted'></div>"),n.b("\n")}),e.pop()),i.s(i.f("isBlock",e,t,1),e,t,1,0,0,"")||(i.b("        <div class='yvp-agegate-icon'></div>"),i.b("\n")),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],60:[function(e,t,n){"use strict";function i(e,t){var n=this;n._eventBus=e,n._controller=t}t.exports=i;var r=e("../util"),o=e("../tap"),a=e("./age-gate-screen.html");i.prototype.create=function(e){var t=this;if(t.node=r.render(a,e),t._ageGateObj=e,t._actionButton=t.node.querySelector(".yvp-agegate-btn"),t._ageGateObj.isBirthday){var n=t.node.querySelectorAll(".yvp-agegate-date-input");t._inputMonth="month"===n[0].name?n[0]:null,t._inputDay="day"===n[1].name?n[1]:null,t._inputYear="year"===n[2].name?n[2]:null}var i=t._controller.getPlayerWidth(),o=t._controller.getPlayerHeight();return 470>i&&r.classList(t.node).add("narrow"),350>i||222>o?(r.classList(t.node).add("small"),r.classList(t.node).add("xsmall")):(401>i||271>o)&&r.classList(t.node).add("small"),t._bindUI(),t.node},i.prototype._bindUI=function(){var e=this;e._ageGateObj.isBlock||(e._actionButtonTap=new o(e._actionButton),e._onButtonTap=function(t){t.stopPropagation();var n=e._ageGateObj.isBirthday&&{inputMonth:e._inputMonth,inputDay:e._inputDay,inputYear:e._inputYear};e._controller.handleClickEvent(t,n)},e._actionButton.addEventListener("tap",e._onButtonTap)),e._ageGateObj.isBirthday&&(e._onKeyDown=function(t){e._controller.filterNonDigitInput(t)},e._inputMonth.addEventListener("keydown",e._onKeyDown),e._inputDay.addEventListener("keydown",e._onKeyDown),e._inputYear.addEventListener("keydown",e._onKeyDown))},i.prototype._unBindUI=function(){var e=this;e._ageGateObj.isBlock||(e._actionButtonTap.destroy(),e._actionButton.removeEventListener("tap",e._onButtonTap)),e._ageGateObj.isBirthday&&(e._inputMonth.removeEventListener("keydown",e._onKeyDown),e._inputDay.removeEventListener("keydown",e._onKeyDown),e._inputYear.removeEventListener("keydown",e._onKeyDown))},i.prototype.getNode=function(){var e=this;return e.node},i.prototype.destroy=function(){var e=this;e._unBindUI(),e.node=null}},{"../tap":"dsc79Q","../util":"jJTEqU","./age-gate-screen.html":59}],61:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div tabindex='0' class='"),i.s(i.f("isFujiView",e,t,1),e,t,0,40,48,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b("yvp-fuji")}),e.pop()),i.b(" yvp-content yvp-hide-controls'>"),i.b("\n"+n),i.b("    <div class='yvp-main'></div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],62:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div>"),i.b("\n"+n),i.b("    <div class='yvp-top-bar'>"),i.b("\n"+n),i.b("        <div class='yvp-ad'>"),i.b(i.v(i.d("strings.ADVERTISEMENT",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-bottom-bar'>"),i.b("\n"+n),i.b("        <div class='yvp-play-btn' role='button' tabindex='0'></div>"),i.b("\n"+n),i.b("        <div class='yvp-seek'>"),i.b("\n"+n),i.b("            <div class='yvp-current-time' tabindex='-1' aria-hidden='true'></div>"),i.b("\n"+n),i.b("            <div class='yvp-slider' role='slider' tabindex='0'>"),i.b("\n"+n),i.b("                <div class='yvp-handle'></div>"),i.b("\n"+n),i.b("                <div class='yvp-buffer-bar'></div>"),i.b("\n"+n),i.b("                <div class='yvp-playback-bar'></div>"),i.b("\n"+n),i.b("                <div class='yvp-visual-seek'>"),i.b("\n"+n),i.b("                    <div class='yvp-vs-thumbnail'></div>"),i.b("\n"+n),i.b("                    <div class='yvp-vs-time'></div>"),i.b("\n"+n),i.b("                </div>"),i.b("\n"+n),i.b("            </div>"),i.b("\n"+n),i.b("        </div>"),i.b("\n"+n),i.b("        <div class='yvp-fullscreen-btn' role='button' tabindex='0'></div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-object-overlay'></div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],63:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._eventBus=e,i._view=t,i._model=n,i._adBreaks=[],i._eventBus.subscribe(o.PLAYBACK_PROGRESS,i._onPlaybackProgress,i),i._eventBus.subscribe(o.AD_PLAYBACK_PROGRESS,i._onPlaybackProgress,i),i._eventBus.subscribe(o.Ad.PLAYING,i._onAdPlaying,i),i._eventBus.subscribe(o.Ad.ENDED,i._onAdEnded,i),i._eventBus.subscribe(o.Ad.CANCELED,i._onAdEnded,i),i._eventBus.subscribe(o.PLAYBACK_STARTED,i._syncVolumeUI,i),i._eventBus.subscribe(o.AD_PLAYBACK_STARTED,i._syncVolumeUI,i),i._eventBus.subscribe(o.FULLSCREEN_CHANGE,function(){i._updateFullscreen(i._view.getFullscreen())}),i._eventBus.subscribe(o.CONTROLS_SET_VOLUME,function(e){i._updateVolumeUI(e)}),i._eventBus.subscribe(o.CONTROLS_SET_MUTE,function(e){i._updateVolumeUI(i._model.playbackState.volume,e)}),i._eventBus.subscribe(o.CC_HOVER,i._removeVolumeHover,i),i._eventBus.subscribe(o.VIDEO_APPS_LOADED,i._onVideoAppsLoaded,i)}t.exports=i;var r=(e("fs"),e("insert-css")),o=e("../event"),a=(e("../renderers/modes"),e("../tap")),s=e("../util"),l=e("../../../lib"),c=e("../../../lib/user-agent"),u=e("../strings"),d=e("./tumblr-controls"),p=e("./yahoo-controls"),_=e("./controls.html");r('.yvp-drag .yvp-handle,.yvp-drag .yvp-playback-bar{-webkit-transition:none !important;-moz-transition:none !important;-o-transition:none !important;transition:none !important}.yvp-top-bar{position:absolute;z-index:28;width:100%;top:0;height:0;}.yvp-top-bar .yvp-ad{display:none;position:absolute;top:14px;left:24px;color:#fff;font-family:\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:14px}.yvp-mode-ad .yvp-ad,.yvp-mode-vpaid .yvp-ad{display:block}.yvp-bottom-bar{position:absolute;z-index:30;cursor:pointer;width:100%;bottom:-3px;height:30px;background-image:-webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);background-image:-o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);background-image:linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);}.yvp-state-video .yvp-bottom-bar{display:block}.yvp-state-start-screen .yvp-bottom-bar,.yvp-state-error .yvp-bottom-bar,.yvp-state-end-screen .yvp-bottom-bar,.yvp-state-loading .yvp-bottom-bar{display:none}.yvp-mode-ad .yvp-bottom-bar .yvp-slider,.yvp-mode-vpaid .yvp-bottom-bar .yvp-slider,.yvp-mode-ad .yvp-bottom-bar .yvp-handle,.yvp-mode-vpaid .yvp-bottom-bar .yvp-handle,.yvp-mode-ad .yvp-bottom-bar .yvp-buffer-bar,.yvp-mode-vpaid .yvp-bottom-bar .yvp-buffer-bar,.yvp-mode-ad .yvp-bottom-bar .yvp-playback-bar,.yvp-mode-vpaid .yvp-bottom-bar .yvp-playback-bar{pointer-events:none;height:4px !important;bottom:0 !important}.yvp-mode-ad .yvp-bottom-bar .yvp-handle,.yvp-mode-vpaid .yvp-bottom-bar .yvp-handle,.yvp-mode-ad .yvp-bottom-bar .yvp-buffer-bar,.yvp-mode-vpaid .yvp-bottom-bar .yvp-buffer-bar{display:none}.yvp-mode-ad .yvp-bottom-bar .yvp-content-type,.yvp-mode-vpaid .yvp-bottom-bar .yvp-content-type{display:block}.yvp-mode-ad .yvp-bottom-bar .yvp-ad-break,.yvp-mode-vpaid .yvp-bottom-bar .yvp-ad-break{display:none}.yvp-bottom-bar .yvp-play-btn{position:absolute;left:0;top:0;display:block;height:30px;width:50px;background-color:transparent;background-position:15px 10px,0 0;background-repeat:no-repeat;}.yvp-state-video .yvp-bottom-bar .yvp-play-btn{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiI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pbGw9IiNGRkZGRkYiIHBvaW50cz0iMCwtMC4wMTUgMCw0LjQ4NyAwLDguOTg1IDcuMDAxLDQuNDg3ICIvPg0KPC9zdmc+DQo=")}.yvp-state-video.yvp-flag-playing .yvp-bottom-bar .yvp-play-btn{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iN3B4IiBoZWlnaHQ9IjlweCIgdmlld0JveD0iMCAwLjUgNyA5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMC41IDcgOSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cmVjdCB4PSIwLjAwOCIgeT0iMC41IiBmaWxsPSIjQ0NDQ0NDIiB3aWR0aD0iMiIgaGVpZ2h0PSI5Ii8+DQo8cmVjdCB4PSI0Ljk5MSIgeT0iMC41IiBmaWxsPSIjQ0NDQ0NDIiB3aWR0aD0iMiIgaGVpZ2h0PSI5Ii8+DQo8L3N2Zz4NCg==");}.yvp-state-video.yvp-flag-playing .yvp-bottom-bar .yvp-play-btn:hover{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iN3B4IiBoZWlnaHQ9IjlweCIgdmlld0JveD0iMCAwLjUgNyA5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMC41IDcgOSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cmVjdCB4PSIwLjAwOCIgeT0iMC41IiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iMiIgaGVpZ2h0PSI5Ii8+DQo8cmVjdCB4PSI0Ljk5MSIgeT0iMC41IiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iMiIgaGVpZ2h0PSI5Ii8+DQo8L3N2Zz4NCg==")}.yvp-bottom-bar .yvp-seek{position:relative;margin:0 44px 0 44px;cursor:pointer;height:9px;border-top:13px solid transparent;border-bottom:14px solid transparent}.yvp-bottom-bar .yvp-slider,.yvp-bottom-bar .yvp-handle,.yvp-bottom-bar .yvp-buffer-bar,.yvp-bottom-bar .yvp-playback-bar{height:7px;border-radius:4px}.yvp-bottom-bar .yvp-slider{width:100%;position:relative;background:#000;background:rgba(0,0,0,0.4);border:1px solid #555;border-color:rgba(255,255,255,0.1)}.yvp-bottom-bar .yvp-current-time,.yvp-bottom-bar .yvp-vs-time{position:absolute;text-align:center;font-size:14px;color:#fff;text-shadow:1px 1px 2px #000;background-color:rgba(0,0,0,0.5);border-radius:5px;width:48px;padding:3px 0}.yvp-bottom-bar .yvp-current-time{top:-24px;margin-left:-24px}.yvp-bottom-bar .yvp-handle{width:7px;height:7px;position:absolute;top:0;margin-left:-4px;margin-top:0;background:#fff;border:0;z-index:3}.yvp-bottom-bar .yvp-buffer-bar{width:0;background:rgba(95,51,255,0.5)}.yvp-bottom-bar .yvp-playback-bar{width:0;position:absolute;top:0;background:#846dff}.yvp-bottom-bar .yvp-handle,.yvp-bottom-bar .yvp-buffer-bar,.yvp-bottom-bar .yvp-playback-bar{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.yvp-bottom-bar .yvp-visual-seek{display:none;position:absolute;top:-65px;width:112px;margin-left:-57px;height:63px;z-index:2;background-color:#000;border:1px solid #424242;text-align:center}.yvp-bottom-bar .yvp-vs-thumbnail{image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;-ms-interpolation-mode:nearest-neighbor}.yvp-bottom-bar .yvp-vs-time{bottom:2px;left:34px}.yvp-bottom-bar .yvp-ad-break{background-color:rgba(204,204,204,0.5);position:absolute;top:0;width:3px;height:100%;}.yvp-bottom-bar .yvp-ad-break:hover{background-color:rgba(255,255,255,0.5)}.yvp-bottom-bar .yvp-ad-break.occurred{background-color:rgba(0,0,0,0.25)}.yvp-bottom-bar .yvp-fullscreen-btn{position:absolute;bottom:0;right:0;height:20px;width:20px;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjIwcHgiIGhlaWdodD0iMjBweCIgdmlld0JveD0iMCAwIDIwIDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9ImZ1bGxzY3JlZW4iIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMTEuMjg3LDExLjI4MiBMNy40OTIsMTUuMDc3IEw1LDEyLjU4NSBMNSwxOC45OTkgTDExLjQxNCwxOC45OTkgTDkuMTQxLDE2LjcyNiBMMTIuOTM2LDEyLjkzMSBMMTEuMjg3LDExLjI4MiBMMTEuMjg3LDExLjI4MiBaIE0xMy41ODYsNCBMMTYuMDA0LDYuNDE5IEwxMi4zNTUsMTAuMDY4IEwxNC4wMDQsMTEuNzE4IEwxNy42NTQsOC4wNjggTDIwLDEwLjQxNCBMMjAsNCBMMTMuNTg2LDQgTDEzLjU4Niw0IFoiIGlkPSJJbXBvcnRlZC1MYXllcnMiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=");background-position:0 0,0 0;margin-bottom:8px;margin-right:14px;background-repeat:no-repeat}.yvp-bottom-bar .yvp-fullscreen-btn-replacement{width:9px;height:30px;position:relative;float:right}body.yvp-lightbox{overflow:hidden !important;}body.yvp-lightbox .yvp-lightbox-ancestor{z-index:2147483647 !important;}body.yvp-lightbox .yvp-lightbox-ancestor .yvp-content.yvp-browser-desktop{position:fixed;top:0;left:0;width:100% !important;height:100% !important;z-index:2147483647}.yvp-fuji.yvp-state-end-screen .yvp-bottom-bar{display:block}'),
  i.prototype.create=function(){var e,t=this;l.isFunction(d)||l.isFunction(p)?(l.isFunction(d)?t._desktopControls=new d(t._eventBus,t._view,t._model):t._desktopControls=new p(t._eventBus,t._view,t._model),e=t._desktopControls.create()):e=[s.render(_).querySelector(".yvp-bottom-bar"),s.render(_,{strings:u.i18n}).querySelector(".yvp-top-bar")],t._bottomBar=e[0],l.isFunction(d)?t._slider=t._bottomBar.querySelector(".yvp-seek"):t._slider=t._bottomBar.querySelector(".yvp-slider"),t._bufferBar=t._bottomBar.querySelector(".yvp-buffer-bar"),t._currentTimeLabel=t._bottomBar.querySelector(".yvp-current-time"),t._totalTimeLabel=t._bottomBar.querySelector(".yvp-total-time"),t._handle=t._bottomBar.querySelector(".yvp-handle"),t._playbackBar=t._bottomBar.querySelector(".yvp-playback-bar"),t._playBtn=t._bottomBar.querySelector(".yvp-play-btn"),t._seekBar=t._bottomBar.querySelector(".yvp-seek"),t._visualSeekContainer=t._bottomBar.querySelector(".yvp-visual-seek"),t._fullscreenBtn=t._bottomBar.querySelector(".yvp-fullscreen-btn"),t._volumeBtn=t._bottomBar.querySelector(".yvp-volume-btn"),t._volumeBarContainer=t._bottomBar.querySelector(".yvp-volume-bar-container"),t._volumeIndicator=t._bottomBar.querySelector(".yvp-volume-level"),t._volumeBar=t._bottomBar.querySelector(".yvp-volume-bar"),t._volumeHandle=t._bottomBar.querySelector(".yvp-volume-handle"),t._settingBtn=t._bottomBar.querySelector(".yvp-setting-btn"),t._settingBtn&&!t._model.ui.showSettingScreen&&(t._settingBtn.parentNode.removeChild(t._settingBtn),t._settingBtn=null);var n=t._fullscreenBtn&&c.ie&&c.ie<=10&&s.isIFrame();if(n=n||!t._model.ui.showFullscreen){var i=document.createElement("div");s.classList(i).add("yvp-fullscreen-btn-replacement"),t._fullscreenBtn.parentNode.insertBefore(i,t._fullscreenBtn),t._fullscreenBtn.parentNode.removeChild(t._fullscreenBtn),t._fullscreenBtn=null}return t._initAriaProperties(),t._bindEvents(),e},i.prototype._onAdPlaying=function(){var e=this;e._hideVisualSeek(),e._sliderRemoveEventListener()},i.prototype._onAdEnded=function(){var e=this;e._sliderAddEventListener()},i.prototype._bindEvents=function(){var e=this;e._playTap=new a(e._playBtn),e._onPlayTap=function(t){t.stopPropagation(),e._eventBus.publish(o.TOGGLE_PLAY_PAUSE)},e._playBtn.addEventListener("tap",e._onPlayTap),e._fullscreenBtn&&(e._fullscreenTap=new a(e._fullscreenBtn),e._onFullscreenTap=function(t){t.stopPropagation(),e._view.toggleFullscreen()},e._fullscreenBtn.addEventListener("tap",e._onFullscreenTap)),e._bottomBarClick=new a(e._bottomBar),e._onBottomBarClick=function(e){e.stopPropagation()},e._bottomBar.addEventListener("tap",e._onBottomBarClick),e._sliderAddEventListener(),e._bindVolume(),e._settingBtn&&(e._settingTap=new a(e._settingBtn),e._onSettingTap=function(t){t.stopPropagation(),e._view.toggleSettings(e._settingBtn)},e._settingBtn.addEventListener("tap",e._onSettingTap))},i.prototype._updateFullscreen=function(e){var t=this;t._fullscreenBtn&&(e?s.classList(t._fullscreenBtn).add("fullscreen"):s.classList(t._fullscreenBtn).remove("fullscreen")),t.syncAriaState()},i.prototype._sliderAddEventListener=function(){var e=this;e._seekBar&&(e._seekTap=new a(e._seekBar),e._onSeekTap=function(t){t.stopPropagation();var n=t.pageX-e._seekBar.getBoundingClientRect().left,i=n/e._seekBar.clientWidth,r=Math.min(i*e._duration,Math.max(e._duration-1,0));e._view.seek(r)},e._seekBar.addEventListener("tap",e._onSeekTap)),e._onSliderMove=function(t){e._eventBus.publish(o.SEEK_BAR_MOUSEOVER,t),e._updateVisualSeek(t),e._preventTouchDefault(t)},e._onSliderLeave=function(t){e._eventBus.publish(o.SEEK_BAR_MOUSEOUT,t),e._hideVisualSeek(t),e._preventTouchDefault(t)},e._bindScrollOverEvents(e._slider,e._onSliderMove,e._onSliderLeave),e._onSeekDown=function(t){s.classList(e._handle).add("active"),e._preventTouchDefault(t),e._seeking=!0,e._eventBus.publish(o.CONTROLS_SEEK_START);var n=e._getSeekFraction(t),i=Math.min(n*e._duration,Math.max(e._duration-1,0));e._eventBus.publish(o.CTRL_SEEK,Math.round(i)),e._onSeekMove(t)},e._onSeekMove=function(t){if(e._seeking){e._preventTouchDefault(t),s.classList(e._bottomBar).add("yvp-drag");var n=e._getSeekFraction(t),i=Math.min(n*e._duration,Math.max(e._duration-1,0));e._playbackBar.setAttribute("style","width: "+100*n+"%;"),e._bufferBar.setAttribute("style","width: 0%;"),e._handle.setAttribute("style","left: "+100*n+"%;"),e._view.seek(i)}},e._onSeekUp=function(t){e._seeking&&(s.classList(e._bottomBar).remove("yvp-drag"),s.classList(e._handle).remove("active"),e._preventTouchDefault(t),e._seeking=!1,e._eventBus.publish(o.CONTROLS_SEEK_END))},e._bindDragEvents(e._slider,e._onSeekDown,e._onSeekMove,e._onSeekUp)},i.prototype._sliderRemoveEventListener=function(){var e=this;e._unbindScrollOverEvents(e._slider,e._onSliderMove,e._onSliderLeave),e._unbindDragEvents(e._slider,e._onSeekDown,e._onSeekMove,e._onSeekUp)},i.prototype._preventTouchDefault=function(e){-1!==e.type.indexOf("touch")&&e.preventDefault()},i.prototype._onPlaybackProgress=function(e,t,n,i){var r=this;void 0!==n&&r._duration!==n&&(r._duration=n),i&&r._updateBuffer(i),void 0!==t&&(r._updateProgress(t),r._currentTime=t)},i.prototype._updateProgress=function(e){var t=this,n=t._duration,i=e/t._duration*100;t._currentTimeLabel&&l.isNumber(e)&&l.isNumber(t._duration)&&(n-=e,t._currentTimeLabel.innerHTML=s.formatTime(e),t._currentTimeLabel.setAttribute("style","left: "+i+"%;")),t._totalTimeLabel&&l.isNumber(n)&&(t._totalTimeLabel.innerHTML=s.formatTime(n)),l.isNumber(e)&&l.isNumber(t._duration)&&(t._playbackBar.setAttribute("style","width: "+i+"%;"),t._seeking||t._handle.setAttribute("style","left: "+i+"%;"),t._slider.setAttribute("aria-valuemax",t._duration),t._slider.setAttribute("aria-valuenow",e),t._slider.setAttribute("aria-valuetext",s.formatTime(e)+" of "+s.formatTime(t._duration)))},i.prototype._updateBuffer=function(e){var t=this,n=0;e.length>0&&(n=e.end(0)/t._duration*100),t._bufferBar.setAttribute("style","width: "+n+"%;")},i.prototype._updateVisualSeek=function(e){var t=this,n=t._model.playlist.getCurrentItem().visualSeek;if(0!==Object.keys(n).length){var i=t._getSeekFraction(e);t._visualSeekContainer.style.display="block",t._visualSeekContainer.style.left=100*i+"%";var r=i*t._duration;t._visualSeekContainer.querySelector(".yvp-vs-time").innerHTML=s.formatTime(r);var o=10,a=10,l=o*a,c=Math.ceil(Math.floor(r)/n.frequency),u=n.images[Math.floor(c/l)];if(u){var d=c%l,p=d%a,_=Math.floor(d/a),y=p*n.width,M=_*n.height,v=t._visualSeekContainer.querySelector(".yvp-vs-thumbnail");v.style.width=n.width+"px",v.style.height=n.height+"px",v.style.background="url('"+u.url+"')",v.style.backgroundPosition="-"+y+"px -"+M+"px"}}},i.prototype._bindDragEvents=function(e,t,n,i){["mousedown","touchstart"].forEach(function(n){e.addEventListener(n,t)}),["mousemove","touchmove"].forEach(function(e){document.addEventListener(e,n)}),["mouseup","touchend"].forEach(function(e){document.addEventListener(e,i)})},i.prototype._unbindDragEvents=function(e,t,n,i){["mousedown","touchstart"].forEach(function(n){e.removeEventListener(n,t)}),["mousemove","touchmove"].forEach(function(e){document.removeEventListener(e,n)}),["mouseup","touchend"].forEach(function(e){document.removeEventListener(e,i)})},i.prototype._bindScrollOverEvents=function(e,t,n){["mouseenter","touchstart"].forEach(function(n){e.addEventListener(n,t)}),["mousemove","touchmove"].forEach(function(n){e.addEventListener(n,t)}),["mouseleave","touchend"].forEach(function(t){e.addEventListener(t,n)})},i.prototype._unbindScrollOverEvents=function(e,t,n){["mouseenter","touchstart"].forEach(function(n){e.removeEventListener(n,t)}),["mousemove","touchmove"].forEach(function(n){e.removeEventListener(n,t)}),["mouseleave","touchend"].forEach(function(t){e.removeEventListener(t,n)})},i.prototype._syncVolumeUI=function(){var e=this;e._volumeBtn&&e._updateVolumeUI(e._model.playbackState.volume,e._model.playbackState.mute)},i.prototype._bindMute=function(){var e=this,t=0;e._volumeTap=new a(e._volumeBtn),e._onVolumeTap=function(n){e._isVolumeInChange||(n.stopPropagation(),e._eventBus.publish(o.API.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(e._model.playbackState.mute?"off":"on")}),e._eventBus.publish(o.CONTROLS_SET_MUTE,!e._model.playbackState.mute),1>=t?t++:2===t&&(e._view.getContentNode().querySelector(".yvp-mute-indicator").style.display="none"))},e._volumeBtn.addEventListener("tap",e._onVolumeTap)},i.prototype._bindVolumeBar=function(){var e=this;e._getVolumeFromEvt=function(t){var n,i=e._view.getFullscreen()&&(c.chrome||c.safari);return n=i?t.pageY-s.getOffsetTopFromEl(e._volumeIndicator,"yvp-main"):t.pageY-s.getOffsetTopFromDocument(e._volumeIndicator),e._volumeIndicator.getBoundingClientRect().top?1-Math.max(0,Math.min(1,n/e._volumeIndicator.clientHeight)):1},e._volumeBarTap=new a(e._volumeBarContainer),e._onVolumeBarTap=function(t){t.stopPropagation(),e._showVolumeHandle(),e._initiateVolumeEvents(t)},e._syncMute=function(t){e._model.playbackState.mute!==t&&(e._eventBus.publish(o.API.UI_INTERACT,{srcElement:"ctrl-mute-btn-"+(t?"on":"off")}),e._eventBus.publish(o.CONTROLS_SET_MUTE,t))},e._initiateVolumeEvents=function(t){var n=e._getVolumeFromEvt(t);e._syncMute(0===n),e._eventBus.publish(o.CONTROLS_SET_VOLUME,n)},e._volumeBarContainer.addEventListener("tap",e._onVolumeBarTap),e._onVolumeBarDown=function(t){e._preventTouchDefault(t),e._isVolumeInChange=!0,e._showVolumeHandle(),e._onVolumeBarMove(t)},e._onVolumeBarMove=function(t){e._isVolumeInChange&&(e._preventTouchDefault(t),e._showVolumeHandle(),s.classList(e._bottomBar).add("yvp-drag"),e._initiateVolumeEvents(t),e._onVolumeBtnHover(t))},e._onVolumeBarUp=function(t){e._isVolumeInChange&&(e._preventTouchDefault(t),s.classList(e._bottomBar).remove("yvp-drag"),e._isVolumeInChange=!1)},e._bindDragEvents(e._volumeBarContainer,e._onVolumeBarDown,e._onVolumeBarMove,e._onVolumeBarUp)},i.prototype._showVolumeHandle=function(){var e=this;e._volumeHandleTimeout&&clearTimeout(e._volumeHandleTimeout),s.classList(e._volumeHandle).add("show")},i.prototype._removeVolumeHover=function(){var e=this;e._volumeBarContainer&&s.classList(e._volumeBarContainer).remove("open")},i.prototype._bindVolumeBtnHover=function(){var e,t=this;t._hasVolumeBarUpdatedOnInit=!1,t._onVolumeBtnHover=function(e){t._preventTouchDefault(e),s.classList(t._volumeBarContainer).add("open"),t._hasVolumeBarUpdatedOnInit||(t._syncVolumeUI(),t._hasVolumeBarUpdatedOnInit=!0),t._showVolumeHandle(),t._eventBus.publish(o.VOLUME_HOVER)},t._onVolumeBtnLeave=function(n){t._preventTouchDefault(n),e&&clearTimeout(e),e=setTimeout(function(){s.classList(t._volumeBarContainer).remove("open")},500)},t._bindScrollOverEvents(t._volumeBtn,t._onVolumeBtnHover,t._onVolumeBtnLeave)},i.prototype._bindVolume=function(){var e=this;e._volumeBtn&&e._bindMute(),e._volumeBarContainer&&e._volumeBtn&&(e._bindVolumeBar(),e._bindVolumeBtnHover())},i.prototype._unbindVolume=function(){var e=this;e._volumeBtn&&(e._volumeTap.destroy(),e._volumeBtn.removeEventListener("tap",e._onVolumeTap)),e._volumeBarContainer&&(e._volumeBarTap.destroy(),e._volumeBarContainer.removeEventListener("tap",e._onVolumeBarTap),e._unbindDragEvents(e._volumeBarContainer,e._onVolumeBarDown,e._onVolumeBarMove,e._onVolumeBarUp),e._unbindScrollOverEvents(e._volumeBtn,e._onVolumeBtnHover,e._onVolumeBtnLeave))},i.prototype._updateMuteBtn=function(e){var t=this;t._volumeBtn&&(e?s.classList(t._volumeBtn).add("muted"):s.classList(t._volumeBtn).remove("muted")),t.syncAriaState()},i.prototype._updateVolumeBar=function(e){var t=this;if(t._volumeBar){var n=Math.ceil(100*(1-e));t._volumeBar.setAttribute("style","height:"+n+"%")}if(t._volumeHandle){var i=Math.ceil((1-e)*(t._volumeIndicator.clientHeight-t._volumeHandle.clientHeight));t._volumeHandle.setAttribute("style","top:"+i+"px")}},i.prototype._updateVolumeUI=function(e,t){var n=this;l.isNullOrUndefined(t)?n._updateMuteBtn(!e):(n._updateMuteBtn(t),e=t?0:e),n._updateVolumeBar(e)},i.prototype._getSeekFraction=function(e){var t=this,n=e.pageX-t._slider.getBoundingClientRect().left,i=n/t._slider.clientWidth;return Math.max(0,Math.min(1,i))},i.prototype._hideVisualSeek=function(){var e=this;e._visualSeekContainer.style.display="none"},i.prototype._onVideoAppsLoaded=function(){var e=this;e._settingBtn&&s.classList(e._settingBtn).remove("hide")},i.prototype._initAriaProperties=function(){var e=this;e._model.playbackState;e._playBtn.setAttribute("aria-label",u.i18n.PLAY_VIDEO),e._slider.setAttribute("aria-label",u.i18n.SEEK_SLIDER),e._slider.setAttribute("aria-valuemin",0),e._fullscreenBtn&&e._fullscreenBtn.setAttribute("aria-label",u.i18n.GO_TO_FULLSCREEN),e._volumeBtn&&(s.classList(e._volumeBtn).contains("muted")?e._volumeBtn.setAttribute("aria-label",u.i18n.UNMUTE):e._volumeBtn.setAttribute("aria-label",u.i18n.MUTE))},i.prototype.syncAriaState=function(){var e=this,t=e._model.playbackState;t.paused?e._playBtn.setAttribute("aria-label",u.i18n.PLAY_VIDEO):e._playBtn.setAttribute("aria-label",u.i18n.PAUSE_VIDEO),e._fullscreenBtn&&(e._view.getFullscreen()?e._fullscreenBtn.setAttribute("aria-label",u.i18n.GO_TO_NORMAL_SCREEN):e._fullscreenBtn.setAttribute("aria-label",u.i18n.GO_TO_FULLSCREEN)),e._volumeBtn&&(s.classList(e._volumeBtn).contains("muted")?e._volumeBtn.setAttribute("aria-label",u.i18n.UNMUTE):e._volumeBtn.setAttribute("aria-label",u.i18n.MUTE)),e._desktopControls&&e._desktopControls.syncAriaState()},i.prototype.destroy=function(){var e=this;e._desktopControls&&e._desktopControls.destroy(),e._playTap&&e._playBtn&&(e._playTap.destroy(),e._playBtn.removeEventListener("tap",e._onPlayTap),e._fullscreenBtn&&e._fullscreenTap&&(e._fullscreenTap.destroy(),e._fullscreenBtn.removeEventListener("tap",e._onFullscreenTap)),e._seekTap&&e._seekBar&&(e._seekTap.destroy(),e._seekBar.removeEventListener("tap",e._onSeekTap)),e._sliderRemoveEventListener(),e._unbindVolume()),e._settingBtn&&(e._settingTap.destroy(),e._settingBtn.removeEventListener("tap",e._onSettingTap))}},{"../../../lib":"bRhrlU","../../../lib/user-agent":"ty5FFo","../event":"YJm+dH","../renderers/modes":42,"../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./controls.html":62,"./tumblr-controls":134,"./yahoo-controls":89,fs:134,"insert-css":149}],64:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<ul class='yvp-end-screen "),i.b(i.v(i.f("gridClass",e,t,0))),i.b("'>"),i.b("\n"+n),i.s(i.f("videos",e,t,1),e,t,0,57,754,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("        <li class='yvp-end-screen-tile "),i.b(i.v(i.f("replayClass",e,t,0))),i.b("' data-id='"),i.b(i.v(i.f("id",e,t,0))),i.b("' style='background-image:url(\""),i.b(i.v(i.d("images.thumbnail",e,t,0))),i.b("\")'>"),i.b("\n"+n),i.b("            <div class='yvp-gradient'></div>"),i.b("\n"+n),i.b("            <div class='yvp-overlay'>"),i.b("\n"+n),i.s(i.f("replay",e,t,1),e,t,1,0,0,"")||(i.b("                    <button class='yvp-play-button'></button>"),i.b("\n"+n),i.b("                    <p>"),i.b(i.v(i.d("strings.PLAY_VIDEO",e,t,0))),i.b("</p>"),i.b("\n")),i.s(i.f("replay",e,t,1),e,t,0,463,596,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("                    <button class='yvp-replay-button'></button>"),i.b("\n"+n),i.b("                    <span>"),i.b(i.v(i.d("strings.REPLAY",e,t,0))),i.b("</span>"),i.b("\n")}),e.pop()),i.b("            </div>"),i.b("\n"+n),i.b("            <div class='yvp-metadata'>"),i.b("\n"+n),i.b("                <p class='yvp-title'>"),i.b(i.v(i.f("title",e,t,0))),i.b("</p>"),i.b("\n"+n),i.b("            </div>"),i.b("\n"+n),i.b("        </li>"),i.b("\n")}),e.pop()),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],65:[function(e,t,n){"use strict";function i(e,t){var n=this;n._eventBus=e,n._replayOnly=t}t.exports=i;var r=e("../event"),o=e("../tap"),a=e("../util"),s=e("../strings"),l=e("./end-screen.html");i.prototype.create=function(e,t){var n=this;e=a.extend({},e),e.replay=!0,e.replayClass="yvp-replay";var i=[e];n._replayOnly||(i=i.concat(t));var c=1===i.length?"yvp-1-grid":"yvp-2-grid";return n.node=a.render(l,{videos:i,gridClass:c,strings:s.i18n}),n._replayOnly&&a.classList(n.node).add("yvp-replay-only"),n._onEndScreenTap=function(){n._eventBus.publish(r.END_SCREEN_CLICK,this.getAttribute("data-id"),this.tileIndex)},n._endScreenTaps=[],n._endScreenTiles=Array.prototype.slice.call(n.node.querySelectorAll(".yvp-end-screen-tile"),0),n._endScreenTiles.forEach(function(e,t){e.tileIndex=t,n._endScreenTaps.push(new o(e)),e.addEventListener("tap",n._onEndScreenTap)}),n.node},i.prototype.destroy=function(){var e=this;e._endScreenTaps.forEach(function(e){e.destroy()}),e._endScreenTaps=null,e._endScreenTiles.forEach(function(t){t.removeEventListener("tap",e._onEndScreenTap)}),e._endScreenTiles=null,e.node=null}},{"../event":"YJm+dH","../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./end-screen.html":64}],66:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-error-screen'>"),i.b("\n"+n),i.b("    <img class='yvp-error-screen-image' src='"),i.b(i.v(i.f("imageSrc",e,t,0))),i.b("'>"),i.b("\n"+n),i.b("    <div class='yvp-error-screen-background'></div>"),i.b("\n"+n),i.b("    <div class='yvp-error-header'>"),i.b("\n"+n),i.b("        <div class='yvp-error-title'>"),i.b(i.v(i.d("error.title",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("        <div class='yvp-error-divider'></div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-error-desc' id='yvp-error-message'>"),i.b(i.v(i.d("error.message",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("    <div class='yvp-error-code yvp-error-debug'>"),i.b(i.v(i.d("error.rep",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("    <div class='yvp-error-guid yvp-error-debug'>"),i.b(i.v(i.f("guid",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("    <div class='yvp-error-sessionId yvp-error-debug'>"),i.b(i.v(i.f("sessionId",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("    <div class='yvp-feedback-btn yvp-error-feedback-btn'>"),i.b("\n"+n),i.b("        <p>"),i.b(i.v(i.d("strings.FEEDBACK_BUTTON",e,t,0))),i.b("</p>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-error-indicator'></div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],67:[function(e,t,n){"use strict";function i(e){var t=this;t._eventBus=e}t.exports=i;var r=e("../util"),o=e("../tap"),a=e("../strings"),s=e("../event"),l=e("./error-screen.html");i.prototype.create=function(e,t,n,i,c){var u=this;return u.node=r.render(l,{error:e,guid:t,sessionId:n,imageSrc:i,strings:a.i18n}),u.errorMsg=u.node.querySelector("#yvp-error-message"),u.errorMsg.innerHTML=e.message,u.flashIcon=u.node.querySelector(".yvp-error-flash-download-icon"),u.flashIcon&&c&&(u.flashIcon.src=c),u._feedbackLink=u.node.querySelector(".yvp-error-feedback-btn"),r.isInternalUser()?(u._feedbackLinkTap=new o(u._feedbackLink),u._onFeedbackLinkTap=function(e){u._eventBus.publish(s.OPEN_FEEDBACK,{srcView:"error-screen"})},u._feedbackLink.addEventListener("tap",u._onFeedbackLinkTap)):u._feedbackLink&&(u._feedbackLink.parentNode.removeChild(u._feedbackLink),u._feedbackLink=null),u.node},i.prototype.adjustText=function(e,t){var n=e.style.lineHeight||14,i=t||3;if(!(e.clientHeight<=n*i)){var r=e.innerHTML;if(-1!==r.indexOf("<a")&&e.clientHeight>n*i)e.style.fontSize="8px",e.style.lineHeight="10px";else for(;e.clientHeight>n*i;)r=r.slice(0,r.lastIndexOf(" ")),e.innerHTML=r+"..."}},i.prototype.destroy=function(){var e=this;e._feedbackLinkTap&&(e._feedbackLinkTap.destroy(),e._feedbackLink.removeEventListener("tap",e._onFeedbackLinkTap)),e.node=null}},{"../event":"YJm+dH","../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./error-screen.html":66}],68:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-feedback-screen'>"),i.b("\n"+n),i.b("    <button class='yvp-feedback-screen-close-btn'></button>"),i.b("\n"+n),i.b("    <div class='yvp-feedback-screen-info'>"),i.b("\n"+n),i.b("        <div class='yvp-feedback-screen-title'>"),i.b(i.v(i.d("strings.FEEDBACK_TITLE",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("        <div class='yvp-feedback-screen-response'></div>"),i.b("\n"+n),i.b("        <div class='yvp-feedback-screen-refid'></div>"),i.b("\n"+n),i.b('        <textarea class=\'yvp-feedback-screen-text\' id="feedback_input" placeholder="Enter your feedback here."></textarea>'),i.b("\n"+n),i.b("        <div class='yvp-feedback-screen-button-container'>"),i.b("\n"+n),i.b("             <div class='yvp-feedback-screen-btn'>"),i.b(i.v(i.d("strings.FEEDBACK_BUTTON",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("        </div>"),i.b("\n"+n),i.b("        <div class='yvp-feedback-screen-disclaimer'>"),i.b(i.v(i.d("strings.FEEDBACK_DISCLAIMER",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],69:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._model=e,i._view=n,i._viewMainElem=n.getMainElement(),i._eventBus=t,i._isSwfReady=!1,i._playbackInfo={},i._source="unknown",i._playerEvents=[],[r.API.PLAYER_READY,r.API.VIDEO_STARTED,r.API.PLAYBACK_SEEK_COMPLETE,r.API.PLAYER_MUTE_CHANGE,r.API.PLAYER_ERROR,r.API.PLAYBACK_COMPLETE,r.API.PLAYBACK_PAUSE,r.API.PLAYBACK_START,r.API.AD_PLAYBACK_STOP,r.API.AD_PLAYBACK_START,r.API.PLAYER_READY].forEach(function(e){i._eventBus.subscribe(e,function(t){i._playerEvents.push(e),i._playerEvents.length>30&&i._playerEvents.shift()})}),i._eventBus.subscribe(r.OPEN_FEEDBACK,function(e){var t;switch(e.srcView){case"loading-screen":t="loading-screen";break;case"error-screen":t="error-screen";break;case"settings-controller":t="advance-menu"}i._source=t,i.render()})}t.exports=i;var r=e("../event"),o=(e("../../../lib/user-agent"),e("../util")),a=e("../tap"),s=e("./feedback-screen.html"),l=e("../strings");i.prototype.create=function(){var e=this;e._node=o.render(s,{strings:l.i18n});var t=e._node.querySelector(".yvp-feedback-screen-close-btn");e._closeTap=new a(t),e._onCloseTap=function(t){t.stopPropagation(),e.close(),e._view.setKeyboardFocus()},t.addEventListener("tap",e._onCloseTap),e._feedbackTextForm=e._node.querySelector(".yvp-feedback-screen-text"),e._onFeedbackTextKeyDown=function(e){e.stopPropagation()},e._feedbackTextForm.addEventListener("keydown",e._onFeedbackTextKeyDown);var n=e._node.querySelector(".yvp-feedback-screen-btn");return e._feedbackTap=new a(n),e._onFeedbackTap=function(t){var n={};n.guid=e._model.guid,n.model=e._model,n.eventLog=e._playerEvents,n.source=e._source,n.feedbackText=e._feedbackTextForm.value;var i="http://unknowngrown.corp.ne1.yahoo.com:3000/feedback";o.makePOSTRequest(i,JSON.stringify(n)),e._feedbackRefId=e._node.querySelector(".yvp-feedback-screen-refid"),e._feedbackRefId.textContent=l.i18n.FEEDBACK_SUBTITLE_RESPONSE_ID+e._model.guid,e._feedbackResponse=e._node.querySelector(".yvp-feedback-screen-response"),e._feedbackResponse.textContent=l.i18n.FEEDBACK_SUBTITLE_RESPONSE_MESSAGE,e._node.querySelector(".yvp-feedback-screen-text").remove(),e._node.querySelector(".yvp-feedback-screen-button-container").remove(),e._node.querySelector(".yvp-feedback-screen-disclaimer").remove()},n.addEventListener("tap",e._onFeedbackTap),e._node},i.prototype.render=function(){var e=this;e._viewMainElem.appendChild(e.create()),o.showHide(e._node,!0)},i.prototype.isOpen=function(){var e=this;return e._node&&"none"!==e._node.style.display},i.prototype.close=function(){var e=this;e._node.style.display="none",e._viewMainElem.querySelector(".yvp-feedback-screen").remove()},i.prototype.destroy=function(){var e=this;e._closeTap&&e._closeTap.destroy(),e._feedbackTextForm&&e._feedbackTextForm.removeEventListener("keydown",e._onFeedbackTextKeyDown),e._feedbackTap&&(e._viewMainElem.querySelector(".yvp-feedback-screen").remove(),e._feedbackTap.destroy())}},{"../../../lib/user-agent":"ty5FFo","../event":"YJm+dH","../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./feedback-screen.html":68}],70:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-loading-screen'>"),i.b("\n"+n),i.b("    <div class='yvp-spinner-outer yvp-anim-rotate'></div>"),i.b("\n"+n),i.b("    <div class='yvp-spinner-inner yvp-anim-rotate yvp-anim-faster'></div>"),i.b("\n"+n),i.b("    <div class='yvp-feedback-btn yvp-error-feedback'>"),i.b("\n"+n),i.b("        <p>"),i.b(i.v(i.d("strings.FEEDBACK_BUTTON",e,t,0))),i.b("</p>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],71:[function(e,t,n){"use strict";function i(e){var t=this;t._eventBus=e,t._resizeScheduled=!1,t._eventBus.subscribe(o.FULLSCREEN_CHANGE,t._scheduleResize,t),t._scheduleResize()}t.exports=i;var r=e("../util"),o=e("../event"),a=e("../tap"),s=e("../strings"),l=e("./loading-screen.html");i.OUTER_SPINNER_MAX_WIDTH=176,i.INNER_SPINNER_MAX_WIDTH=156,i.FEEDBACK_POPUP_TIMEOUT=3e4,i.prototype.create=function(){var e=this;return e.node=r.render(l,{strings:s.i18n}),e._outerSpinnerEl=e.node.querySelector(".yvp-spinner-outer"),e._innerSpinnerEl=e.node.querySelector(".yvp-spinner-inner"),e._feedbackLink=e.node.querySelector(".yvp-error-feedback"),e._eventBus.subscribe(o.API.LOADING_BEGIN,e._onLoadingScreenVisible,e),e._eventBus.subscribe(o.API.LOADING_END,e.hide,e),e._feedbackLinkTap=new a(e._feedbackLink),e._onFeedbackLinkTap=function(t){e._eventBus.publish(o.OPEN_FEEDBACK,{srcView:"loading-screen"})},e._feedbackLink.addEventListener("tap",e._onFeedbackLinkTap),e.node},i.prototype._adjustScale=function(){},i.prototype._resize=function(){var e=this,t=Math.min(2*e.node.clientWidth/640,1);e._outerSpinnerEl.style.width=t*i.OUTER_SPINNER_MAX_WIDTH+"px",e._outerSpinnerEl.style.height=t*i.OUTER_SPINNER_MAX_WIDTH+"px",e._innerSpinnerEl.style.width=t*i.INNER_SPINNER_MAX_WIDTH+"px",e._innerSpinnerEl.style.height=t*i.INNER_SPINNER_MAX_WIDTH+"px",e._outerSpinnerEl.style.marginLeft=-1*(t*i.OUTER_SPINNER_MAX_WIDTH/2)+"px",e._outerSpinnerEl.style.marginTop=-1*(t*i.OUTER_SPINNER_MAX_WIDTH/2)+"px",e._innerSpinnerEl.style.marginLeft=-1*(t*i.INNER_SPINNER_MAX_WIDTH/2)+"px",e._innerSpinnerEl.style.marginTop=-1*(t*i.INNER_SPINNER_MAX_WIDTH/2)+"px"},i.prototype._scheduleResize=function(){var e=this;if(!e._resizeScheduled){var t=e._eventBus.subscribe(o.API.LOADING_BEGIN,function(){e._resizeScheduled=!1,e._resize(),t()},e);e._resizeScheduled=!0}},i.prototype._onLoadingScreenVisible=function(){var e=this;r.forceDOMRedrawOnElement(e.node),r.classList(e.node).add("yvp-show-spinner"),r.showHide(e._feedbackLink,!1),r.isInternalUser()&&(e.feedbackLinkRenderTimeOut=setTimeout(e._showFeedbackButton.bind(e),i.FEEDBACK_POPUP_TIMEOUT))},i.prototype._showFeedbackButton=function(){var e=this;r.showHide(e._feedbackLink,!0)},i.prototype.hide=function(){var e=this;r.classList(e.node).remove("yvp-show-spinner"),clearTimeout(e.feedbackLinkRenderTimeOut),e.feedbackLinkRenderTimeOut=null},i.prototype.destroy=function(){var e=this;e._outerSpinnerEl=null,e._innerSpinnerEl=null,e.node=null,e._feedbackLinkTap&&(e._feedbackLinkTap.destroy(),e._feedbackLink.removeEventListener("tap",e._onFeedbackLinkTap))}},{"../event":"YJm+dH","../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./loading-screen.html":70}],72:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-nfl-branding-container'>"),i.b("\n"+n),i.b("    <div class='yvp-nfl-branding'>"),i.b("\n"+n),i.b("      <a href='http://www.nfl.com/' target='nfl_site'>"),i.b("\n"+n),i.b("          <span class='yvp-nfl-brand-span'></span>"),i.b("\n"+n),i.b("          <span class='yvp-nfl-brand-logo'></span>"),i.b("\n"+n),i.b("      </a>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],73:[function(e,t,n){"use strict";function i(){}t.exports=i;var r=e("../util"),o=e("./nfl-branding.html");i.prototype.create=function(){var e=this;return e.node=r.render(o),e.node},i.prototype.destroy=function(){var e=this;e.node=null}},{"../util":"jJTEqU","./nfl-branding.html":72}],74:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-opensimsim' style='display: none'>"),i.b("\n"+n),i.b("    <button class='yvp-opensimsim-close-btn yvp-close-btn'></button>"),i.b("\n"+n),i.b("    <div class='yvp-opensimsim-info'>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-title'>Yahoo Fireball Video Player</div>"),i.b("\n"+n),i.b("        <div>Version : "),i.b(i.v(i.f("version",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("        <div>Page SpaceID : "),i.b(i.v(i.f("spaceId",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("        <div class='yvp-sessionId'></div>"),i.b("\n"+n),i.b("        <div>YVAP Acct. ID : "),i.b(i.v(i.f("yvap_accountId",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("        <div>YVAP Play Context : "),i.b(i.v(i.f("yvap_playContext",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("        <div class='yvp-videoSpaceId'></div>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-title'>Current Media</div>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-uuid'></div>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-lmsid'></div>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-renderertype'></div>"),i.b("\n"+n),i.b("        <br>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-graphs'></div>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-detail'></div>"),i.b("\n"+n),i.b("        <div class='yvp-swf-ready'></div>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-title'>Platform</div>"),i.b("\n"+n),i.b("        <div class='yvp-opensimsim-platform'></div>"),i.b("\n"+n),i.b("        <div class='yvp-profile-btn'>Profile</div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],75:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._model=e,i._eventBus=t,i._profiler=n,i._isSwfReady=!1,i._playbackInfo={},i._timestamps=[],i._history={bitrate:{title:"Bit Rate History",data:[]},speed:{title:"Download Speed History",data:[]},bufferLength:{title:"Buffer Length History",data:[]},frameRate:{title:"Frame Rate History",data:[]}},i._eventBus.subscribe(r.PLAYBACK_INFO,function(e){i._playbackInfo=e,i._timestamps.push(Date.now()/1e3),i._history.bitrate.data.push(parseFloat(e.currentStreamBitrate)),i._history.speed.data.push(parseFloat(e.currentKbps)),i._history.bufferLength.data.push(parseFloat(e.bufferLength)),i._history.frameRate.data.push(parseFloat(e.frameRate)),i._updateInfo()}),i._eventBus.subscribe(r.SWF_READY,function(){i._isSwfReady=!0}),i._eventBus.subscribe(r.YVAP_INFO_UPDATE,function(e){i._yvapDom=e}),i._eventBus.subscribe(r.API.PLAYLIST_POSITION_CHANGE,function(){i._updateBasicMediaItemInfo()})}t.exports=i;var r=e("../event"),o=e("../../../lib/user-agent"),a=e("../util"),s=e("../../../lib"),l=e("../tap"),c=e("./open-sim-sim.html"),u=45,d=40;i.prototype.create=function(){var e=this;
  e._node=a.render(c,{version:e._model.version,spaceId:e._model.baseConfig.pageSpaceId,yvap_accountId:e._model.YVAP.accountId,yvap_playContext:e._model.YVAP.playContext});var t=e._node.querySelector(".yvp-opensimsim-close-btn");e._closeTap=new l(t),e._onCloseTap=function(t){t.stopPropagation(),e.close()},t.addEventListener("tap",e._onCloseTap);var n=e._node.querySelector(".yvp-profile-btn");return e._profileTap=new l(n),e._onProfileTap=function(t){t.stopPropagation(),e._profiler.render(e._yvapDom)},n.addEventListener("tap",e._onProfileTap),e._updatePlatformInfo(),e._node},i.prototype.render=function(){var e=this;e._node.style.display="block",e._updateBasicMediaItemInfo(),e._updateInfo()},i.prototype.isOpen=function(){var e=this;return"none"!==e._node.style.display},i.prototype.close=function(){var e=this;e._node.style.display="none"},i.prototype._renderGraph=function(e,t,n,i,r){for(var o=t.length-1,a=0,s=e[o],l=t[o],c=t[o],p=o-1;p>=0;p--)if(l=Math.min(l,t[p]),c=Math.max(c,t[p]),p>0&&s-e[p-1]>u){a=p;break}var _=e[a];l>0&&(l=0),l===c&&(c=l+1),n.save(),n.translate(d,r),n.scale((i-d)/u,-1*r/(c-l)),n.beginPath(),n.moveTo(0,t[a]-l);for(var y=a+1;y<t.length;y++)n.lineTo(e[y]-_,t[y]-l);n.restore(),n.lineWidth=1,n.lineCap="round",n.lineJoin="round",n.strokeStyle="white",n.stroke(),n.font="8pt Monospace",n.fillStyle="white",n.fillText(c.toFixed(1),0,10),n.fillText(l.toFixed(1),0,60)},i.prototype._generateHtmlFromKeyValues=function(e){var t="",n=Object.keys(e);return n.forEach(function(n){var i=e[n];t+="<div>"+n+" : "+i+"</div>"}),t},i.prototype._updatePlatformInfo=function(){var e=this,t={OS:o.os,Mobile:o.mobile,"User Agent":navigator.userAgent.toLowerCase()},n=e._node.querySelector(".yvp-opensimsim-platform");n.innerHTML=e._generateHtmlFromKeyValues(t)},i.prototype._updateBasicMediaItemInfo=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=e._node.querySelector(".yvp-opensimsim-uuid");n.innerHTML="UUID : "+(t?t.id:""),n=e._node.querySelector(".yvp-opensimsim-lmsid"),n.innerHTML="License Id (LMS ID) : "+(t?t.license.licenseId:""),n=e._node.querySelector(".yvp-opensimsim-renderertype"),n.innerHTML="Renderer Type : "+(t?t.rendererType:""),n=e._node.querySelector(".yvp-videoSpaceId"),n.innerHTML="Video SpaceID : "+(t?t.metrics.pageSpaceId:""),n=e._node.querySelector(".yvp-sessionId"),n.innerHTML="SessionId : "+(t?t.playSession:"none")},i.prototype._updateInfo=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=e._playbackInfo,i=n.deliveryProtocol;t&&(i+=" / "+t.getType());var r=e._node.querySelector(".yvp-opensimsim-graphs");r.innerHTML="";var o=Object.keys(e._history);o.forEach(function(t){var n=e._history[t].data;if(n.some(function(e){return s.isNumber(e)})){var i=150,o=60,l=document.createElement("div");a.classList(l).add("yvp-opensimsim-graph");var c=document.createElement("div");c.innerHTML=e._history[t].title,l.appendChild(c);var u=document.createElement("canvas");u.width=i,u.height=o,l.appendChild(u),r.appendChild(l);var d=u.getContext("2d");e._renderGraph(e._timestamps,n,d,i,o)}});var l={"Total Quality Levels":n.qualityLevels,"Current Bitrate":n.currentStreamBitrate+" kbps",Protocol:i,cdn:t?t.getCDN():"","Buffer Length / Time":n.bufferLength+" secs / "+n.bufferTime+" secs","Frame Rate":n.frameRate,"Download Speed":n.currentKbps+" kbps","Dropped Frames":n.droppedFrames,"Hardware Decoding":n.hwDecoding?"Yes":"No","Hardware Rendering":n.hwRendering?"Yes":"No","Buffering Ratio":n.bufferingRatio?n.bufferingRatio.toFixed(2)+" %":0,"Memory Used":n.totalMemory+" MB","Media Size":n.mediaWidth+" x "+n.mediaHeight,"High Quality Play Ratio":n.highestQualityPlaybackRatio+" %","Stream Playback Rate":n.playbackBytesPerSecond+" kbps"},c=e._node.querySelector(".yvp-opensimsim-detail");c.innerHTML=e._generateHtmlFromKeyValues(l),c=e._node.querySelector(".yvp-swf-ready"),c.innerHTML="Is SWF ready? "+e._isSwfReady},i.prototype.destroy=function(){var e=this;e._closeTap&&e._closeTap.destroy(),e._profileTap&&e._profileTap.destroy()}},{"../../../lib":"bRhrlU","../../../lib/user-agent":"ty5FFo","../event":"YJm+dH","../tap":"dsc79Q","../util":"jJTEqU","./open-sim-sim.html":74}],76:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-pause-screen'>"),i.b("\n"+n),i.b("    <div class='yvp-sharing-panel-box'>"),i.b("\n"+n),i.b("        <button class='yvp-sharing-panel-close-btn'></button>"),i.b("\n"+n),i.b("\n"+n),i.b("        <div class='yvp-vid-info-container'>"),i.b("\n"+n),i.b("            <div class='yvp-now-watch-wrapper'>"),i.b("\n"+n),i.b("                <div class='yvp-now-watch-play-icon'></div>"),i.b("\n"+n),i.b("                <span class='yvp-now-watch-label'>"),i.b(i.v(i.f("now-watching-label",e,t,0))),i.b("</span>"),i.b("\n"+n),i.b("            </div>"),i.b("\n"+n),i.b("            <span class='yvp-now-watch-title'></span>"),i.b("\n"+n),i.b("        </div>"),i.b("\n"+n),i.b("\n"+n),i.b("        <div class='yvp-social-section-container'></div>"),i.b("\n"+n),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],77:[function(e,t,n){function i(e,t,n){var i=this;i._eventBus=e,i._view=t,i._model=n,i._socialSection=new u(e,t,n,{mode:"light",src_element_prefix:"btn-"}),i._eventBus.subscribe(o.MEDIA_ITEM_LOADED,i._updatePauseScreen,i)}t.exports=i;var r=(e("fs"),e("insert-css")),o=e("../event"),a=e("../tap"),s=e("../util"),l=e("../strings"),c=e("./pause-screen.html"),u=e("./social-section.js");r('.yvp-state-video .yvp-pause-screen{display:block}.yvp-state-video.yvp-show-settings .yvp-pause-screen,.yvp-state-video.yvp-overlay-active .yvp-pause-screen,.yvp-state-end-screen .yvp-pause-screen,.yvp-state-start-screen .yvp-pause-screen,.yvp-state-error .yvp-pause-screen,.yvp-state-video.yvp-flag-playing .yvp-pause-screen,.yvp-mode-ad .yvp-pause-screen,.yvp-mode-vpaid .yvp-pause-screen,.yvp-state-blocked .yvp-pause-screen{display:none}.yvp-pause-screen{position:absolute;z-index:29;width:100%;height:100%;top:0;display:none;cursor:pointer;}.yvp-pause-screen.yvp-pause-screen-closed{display:none}.yvp-pause-screen .yvp-vid-info-container{float:left;position:relative;padding:8px}.yvp-now-watch-wrapper{display:inline-block;}.yvp-now-watch-wrapper ::after{display:block;content:\'\';clear:both}.yvp-now-watch-play-icon,.yvp-now-watch-label{float:left}.yvp-now-watch-play-icon{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDE2IDE2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxyZWN0IHg9IjAiIHk9Ii0wLjAwMSIgZmlsbD0iIzcxNEZGRiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2LjAwMSIvPg0KPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSI2LjI3OSw0LjY4OCA2LjI3OSw3LjkwMyA2LjI3OSwxMS4xMTUgMTEuMjY1LDcuOTAzICIvPg0KPC9zdmc+DQo=") no-repeat center center;width:16px;height:16px}.yvp-now-watch-label{font-size:11px;margin-left:5px;height:16px;line-height:16px}.yvp-now-watch-label,.yvp-now-watch-title{color:#fff}.yvp-now-watch-title{display:block;font-size:14px;padding-top:2px;font-weight:300}.yvp-sharing-panel-close-btn{display:block;position:absolute;top:0;right:0;width:27px;height:27px;padding:0;background:url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKICAgIHdpZHRoPSIxMHB4IiBoZWlnaHQ9IjEwcHgiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAgMTAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cG9seWdvbiBmaWxsPSIjQ0NDQ0NDIiBwb2ludHM9IjEwLDEuNTAyIDguNDk4LDAgNSwzLjQ5OSAxLjUwMiwwLjAwMSAwLDEuNTAzIDMuNDk4LDUgMCw4LjQ5OCAxLjUwMiwxMCA1LDYuNTAyIDguNDk4LDEwIDEwLDguNDk4IAogICAgNi41MDIsNSAiLz4KPC9zdmc+Cg==") no-repeat center center;cursor:pointer;outline:none;z-index:10;border:none;outline:none;opacity:.8;}.yvp-sharing-panel-close-btn:hover{opacity:1}.yvp-sharing-panel-box{background-color:rgba(0,0,0,0.7);cursor:default;margin:auto;height:100%;width:100%;}.yvp-sharing-panel-box.show{display:block}.yvp-sharing-panel-box .yvp-social-section-container{position:absolute;z-index:3;left:0;right:0;bottom:0;top:0;margin:auto;height:118px;width:52%;text-align:center}'),i.prototype.create=function(){var e=this;return e._node=s.render(c,{"link-label":l.i18n.LINK,"embed-label":l.i18n.EMBED,"now-watching-label":l.i18n.NOW_WATCHING}),e._videoTitle=e._node.querySelector(".yvp-now-watch-title"),e._sharingpanelCloseBtn=e._node.querySelector(".yvp-sharing-panel-close-btn"),e._socialSectionContainer=e._node.querySelector(".yvp-social-section-container"),e._socialSectionContainer.appendChild(e._socialSection.create()),e._sharingPanelCloseTap=new a(e._sharingpanelCloseBtn),e._onSharingPanelCloseTap=function(t){t.stopPropagation(),e.close(),e._view.setKeyboardFocus()},e._sharingpanelCloseBtn.addEventListener("tap",e._onSharingPanelCloseTap),e._sharingPanel=e._node.querySelector(".yvp-sharing-panel-box"),e._sharingPanelTap=new a(e._sharingPanel),e._onSharingPanelTap=function(t){t.stopPropagation(),e._eventBus.publish(o.TOGGLE_PLAY_PAUSE)},e._sharingPanel.addEventListener("tap",e._onSharingPanelTap),e._eventBus.subscribe(o.Video.PAUSE,function(){s.classList(e._node).remove("yvp-pause-screen-closed")},e),e._eventBus.subscribe(o.Video.PLAY,function(){e.close()},e),e._node},i.prototype._updatePauseScreen=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=t.shareUrl;e._videoTitle.innerText=t.title,n?s.classList(e._node).remove("yvp-pause-screen-no-sharing-data"):s.classList(e._node).add("yvp-pause-screen-no-sharing-data")},i.prototype.close=function(){var e=this;s.classList(e._node).add("yvp-pause-screen-closed")},i.prototype.isOpen=function(){var e=this;return!s.classList(e._node).contains("yvp-pause-screen-closed")},i.prototype.destroy=function(){var e=this;e._sharingPanelCloseTap.destroy(),e._sharingpanelCloseBtn.removeEventListener("tap",e._onSharingPanelCloseTap),e._sharingPanelTap.destroy(),e._sharingPanel.removeEventListener("tap",e._onSharingPanelTap)}},{"../event":"YJm+dH","../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./pause-screen.html":76,"./social-section.js":"BtWrdN",fs:134,"insert-css":149}],78:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div>"),i.b("\n"+n),i.b("    <pre>"),i.b("\n"+n),i.b(i.v(i.f("config",e,t,0))),i.b("\n"+n),i.b("    </pre>"),i.b("\n"+n),i.b("    <table border='1'>"),i.b("\n"+n),i.b("        <style>"),i.b("\n"+n),i.b("            .bars {"),i.b("\n"+n),i.b("                white-space: nowrap;"),i.b("\n"+n),i.b("            }"),i.b("\n"+n),i.b("            .bars div {"),i.b("\n"+n),i.b("                display: inline-block;"),i.b("\n"+n),i.b("                height: 25px;"),i.b("\n"+n),i.b("            }"),i.b("\n"+n),i.b("            .bar {"),i.b("\n"+n),i.b("                background-color: #714fff;"),i.b("\n"+n),i.b("                border: 1px solid #000;"),i.b("\n"+n),i.b("            }"),i.b("\n"+n),i.b("        </style>"),i.b("\n"+n),i.b("        <tr>"),i.b("\n"+n),i.b("            <th>Type</th>"),i.b("\n"+n),i.b("            <th>Description</th>"),i.b("\n"+n),i.b("            <th>Start</th>"),i.b("\n"+n),i.b("            <th>End</th>"),i.b("\n"+n),i.b("            <th>Diff</th>"),i.b("\n"+n),i.b("            <th>Bar</th>"),i.b("\n"+n),i.b("        </tr>"),i.b("\n"+n),i.s(i.f("profileItems",e,t,1),e,t,0,602,1024,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("            <tr>"),i.b("\n"+n),i.b("                <td>"),i.b(i.v(i.f("type",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b(i.v(i.f("desc",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b(i.v(i.f("startTime",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b(i.v(i.f("endTime",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b(i.v(i.f("timeDiff",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td class='bars'>"),i.b("\n"+n),i.b("                    <div style='width: "),i.b(i.v(i.f("startWidth",e,t,0))),i.b("px;'></div>"),i.b("\n"+n),i.b("                    <div class='bar' style='width: "),i.b(i.v(i.f("barWidth",e,t,0))),i.b("px;'></div>"),i.b("\n"+n),i.b("                </td>"),i.b("\n"+n),i.b("            </tr>"),i.b("\n")}),e.pop()),i.b("    </table>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],79:[function(e,t,n){"use strict";function i(){var e={tumblr:{type:"button",className:".yvp-sharing-tumblr-btn",urlTemplateMethod:"TUMBLR_URL_TEMPLATE",srcElement:"sh-tumblr",metricsName:"tumblr"},facebook:{type:"button",className:".yvp-sharing-facebook-btn",urlTemplateMethod:"FACEBOOK_URL_TEMPLATE",srcElement:"sh-fb",metricsName:"facebook"},twitter:{type:"button",className:".yvp-sharing-twitter-btn",urlTemplateMethod:"TWITTER_URL_TEMPLATE",srcElement:"sh-twitter",metricsName:"twitter"},mail:{type:"button",className:".yvp-sharing-mail-btn",urlTemplateMethod:"MAIL_URL_TEMPLATE",srcElement:"sh-email",metricsName:"email"},weblink:{type:"input",className:".yvp-url-input",srcElement:"sh-emb-lnk",metricsName:"link"},embedlink:{type:"input",className:".yvp-embed-input",srcElement:"sh-emb-emb",metricsName:"embed"}};return e}t.exports=i},{}],80:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-sharing-btns'>"),i.b("\n"+n),i.b("    <div class='yvp-sharing-btn yvp-tumblr'>"),i.b("\n"+n),i.b("        <a class='button yvp-sharing-tumblr-btn' target='_blank'></a>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-sharing-btn yvp-facebook'>"),i.b("\n"+n),i.b("        <a class='button yvp-sharing-facebook-btn' target='_blank'></a>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-sharing-btn yvp-twitter'>"),i.b("\n"+n),i.b("        <a class='button yvp-sharing-twitter-btn' target='_blank'></a>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-sharing-btn mail'>"),i.b("\n"+n),i.b("        <a target='_top' class='button yvp-sharing-mail-btn'></a>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.s(i.f("custom-btns",e,t,1),e,t,0,551,675,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("        <div class='yvp-sharing-btn "),i.b(i.v(i.f("btn-name",e,t,0))),i.b("'>"),i.b("\n"+n),i.b("            <a class='button "),i.b(i.v(i.f("btn-classname",e,t,0))),i.b("'></a>"),i.b("\n"+n),i.b("        </div>"),i.b("\n")}),e.pop()),i.b("</div>"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],81:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-social-section "),i.b(i.v(i.f("mode-classname",e,t,0))),i.b("'>"),i.b("\n"+n),i.b("    <div class='yvp-social-section-sharing'>"),i.b("\n"+n),i.s(i.f("is-light-mode",e,t,1),e,t,0,123,141,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b(n.rp("sharing-btns",e,t,""))}),e.pop()),i.b("        <table class='yvp-social-section-sharing-table'>"),i.b("\n"+n),i.s(i.f("is-full-mode",e,t,1),e,t,0,246,434,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("            <tr class='yvp-sharing-btns-box'>"),i.b("\n"+n),i.b("                <td class='yvp-sharing-label'>"),i.b(i.v(i.f("share-label",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b(i.rp("sharing-btns",e,t,"")),i.b("</td>"),i.b("\n"+n),i.b("            </tr>"),i.b("\n")}),e.pop()),i.b("            <tr class='yvp-link-url-box'>"),i.b("\n"+n),i.b("                <td class='yvp-sharing-label'>"),i.b(i.v(i.f("link-label",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b("\n"+n),i.b("                    <div class='yvp-input-container yvp-url-input-container'>"),i.b("\n"+n),i.b("                        <input type='text' class='yvp-url-input' value='' data-link-type='lnk' readonly />"),i.b("\n"+n),i.b("                        <div class='yvp-sharing-timestamp'>"),i.b("\n"+n),i.b("                            <input type='text' class='yvp-sharing-timestamp-input' value='' data-link-type='tmstp' readonly />"),i.b("\n"+n),i.b("                            <input type='checkbox' class='yvp-sharing-timestamp-checkbox' id='"),i.b(i.v(i.f("unique-checkbox-id",e,t,0))),i.b("' />"),i.b("\n"+n),i.b("                            <label for='"),i.b(i.v(i.f("unique-checkbox-id",e,t,0))),i.b("' class='yvp-sharing-timestamp-label'>"),i.b("\n"+n),i.b("                                <span class='yvp-sharing-timestamp-checkbox-icon'></span>"),i.b(i.v(i.f("timestamp-label",e,t,0))),i.b("\n"+n),i.b("                            </label>"),i.b("\n"+n),i.b("                        </div>"),i.b("\n"+n),i.b("                    </div>"),i.b("\n"+n),i.b("                </td>"),i.b("\n"+n),i.b("            </tr>"),i.b("\n"+n),i.b("            <tr class='yvp-embed-url-box'>"),i.b("\n"+n),i.b("                <td class='yvp-sharing-label'>"),i.b(i.v(i.f("embed-label",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b("\n"+n),i.b("                    <div class='yvp-input-container yvp-embed-input-container'>"),i.b("\n"+n),i.b("                        <input type='text' class='yvp-embed-input' value='' data-link-type='emb' readonly />"),i.b("\n"+n),i.b("                    </div>"),i.b("\n"+n),i.b("                </td>"),i.b("\n"+n),i.b("            </tr>"),i.b("\n"+n),i.s(i.f("is-icons-bottom-mode",e,t,1),e,t,0,1843,2031,"{{ }}")&&(i.rs(e,t,function(e,t,i){i.b("            <tr class='yvp-sharing-btns-box'>"),i.b("\n"+n),i.b("                <td class='yvp-sharing-label'>"),i.b(i.v(i.f("share-label",e,t,0))),i.b("</td>"),i.b("\n"+n),i.b("                <td>"),i.b(i.rp("sharing-btns",e,t,"")),i.b("</td>"),i.b("\n"+n),i.b("            </tr>"),i.b("\n")}),e.pop()),i.b("        </table>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-social-section-sharing-unavailable-message'>"),i.b(i.v(i.f("sharing-unavailable-message",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],"./nextgen/src/views/social-section.js":[function(e,t,n){t.exports=e("BtWrdN")},{}],BtWrdN:[function(e,t,n){function i(e,t,n,i){var r=this,o=i&&i.custom_btns,a=i&&i.custom_share_properties;r._eventBus=e,r._view=t,r._model=n,r._mode=i&&i.mode&&y.indexOf(i.mode)>-1?i.mode:"full",r._srcElementPrefix=i&&i.src_element_prefix||"",r._socialItems={},r._socialConfig=new u,l.isObject(o)&&(r.customBtnsData=[],Object.keys(o).forEach(function(e){r._socialConfig[e]=o[e];var t={"btn-name":e,"btn-classname":o[e].className.slice(1)};r.customBtnsData.push(t)})),l.isObject(a)&&Object.keys(a).forEach(function(e){var t=r._socialConfig[e];t.custom_share_properties={},s.extend(t.custom_share_properties,a[e])})}t.exports=i;var r=(e("fs"),e("insert-css")),o=e("../event"),a=e("../tap"),s=e("../util"),l=e("../../../lib"),c=e("../strings"),u=e("./social-config"),d=e("./social-section.html"),p=e("./social-section-share-buttons.html"),_="yvp-social-section-sharing-unavailable",y=["light","full","icons-bottom"];r('.yvp-social-section{position:relative;width:100%;max-width:650px;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.yvp-social-section.yvp-social-section-sharing-unavailable .yvp-social-section-sharing,.yvp-social-section:not(.yvp-social-section-sharing-unavailable) .yvp-social-section-sharing-unavailable-message{display:none}.yvp-social-section .yvp-sharing-btns{display:inline-block}.yvp-social-section-sharing-table{width:100%;border-spacing:0;}.yvp-social-section-sharing-table td{padding-bottom:10px}.yvp-sharing-label{width:10px;max-width:120px;padding-right:10px;font-size:14px;color:#ccc;text-shadow:0 1px 1px rgba(0,0,0,0.4);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yvp-sharing-btn{display:inline-block;vertical-align:middle;}.yvp-sharing-btn a{height:32px;width:32px;background-size:32px;margin:0 15px;background-position:0 0,0 0;background-repeat:no-repeat;display:inline-block;cursor:pointer;background-position:center;text-decoration:none;vertical-align:middle;}.yvp-sharing-btn a:first-child{margin-left:0}.yvp-sharing-tumblr-btn,.yvp-sharing-facebook-btn,.yvp-sharing-twitter-btn,.yvp-sharing-mail-btn,.yvp-sharing-snapit-btn{opacity:.78;}.yvp-sharing-tumblr-btn:hover div,.yvp-sharing-facebook-btn:hover div,.yvp-sharing-twitter-btn:hover div,.yvp-sharing-mail-btn:hover div,.yvp-sharing-snapit-btn:hover div{color:#fff}.yvp-sharing-tumblr-btn:hover,.yvp-sharing-facebook-btn:hover,.yvp-sharing-twitter-btn:hover,.yvp-sharing-mail-btn:hover,.yvp-sharing-snapit-btn:hover{opacity:1}.yvp-sharing-tumblr-btn{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d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")}.yvp-sharing-btn .yvp-sharing-snapit-btn-disabled{opacity:.3;cursor:default}.yvp-link-url-box .yvp-input-container,.yvp-embed-url-box .yvp-input-container{padding:5px 7px;background-color:rgba(255,255,255,0.1)}.yvp-link-url-box input,.yvp-embed-url-box input{display:block;width:100%;height:16px;font-size:12px;color:#ccc;background:transparent;outline:none;box-shadow:none;text-overflow:ellipsis;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.yvp-link-url-box input:hover,.yvp-embed-url-box input:hover{color:#fff;cursor:pointer}.yvp-sharing-timestamp{display:none !important;height:26px;right:0;top:0;width:133px;white-space:nowrap;}.yvp-sharing-timestamp .yvp-sharing-timestamp-checkbox{display:none;}.yvp-sharing-timestamp .yvp-sharing-timestamp-checkbox:checked + .yvp-sharing-timestamp-label .yvp-sharing-timestamp-checkbox-icon{background:rgba(255,255,255,0.8);border-color:rgba(0,0,0,0.2)}.yvp-sharing-timestamp .yvp-sharing-timestamp-label{float:right;vertical-align:top;font-size:12px;line-height:12px;margin:7px 6px 0 0;color:#ccc;cursor:pointer}.yvp-sharing-timestamp .yvp-sharing-timestamp-input{float:right;vertical-align:top;height:22px;width:45px;padding:0 5px;margin:1px 0 0;background:rgba(255,255,255,0.05);font-size:12px;font-weight:bold;color:#ccc;border:1px solid rgba(255,255,255,0.1);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.yvp-sharing-timestamp-checkbox-icon{display:inline-block;height:10px;width:10px;margin-right:6px;margin-bottom:3px;cursor:pointer;outline:none;vertical-align:middle;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.4);-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.yvp-social-section.yvp-social-section-light-mode{max-width:500px;margin:0 auto;}.yvp-social-section.yvp-social-section-light-mode.yvp-social-section-sharing-unavailable{position:absolute;top:50%;width:100%;margin-top:-20px;}.yvp-social-section.yvp-social-section-light-mode.yvp-social-section-sharing-unavailable .yvp-social-section-sharing-unavailable-message{color:#fff;text-align:center;font-size:15px}.yvp-social-section.yvp-social-section-light-mode .yvp-sharing-btns{display:inline-block;height:42px;width:100%;margin-bottom:10px;text-align:justify;overflow:hidden;}.yvp-social-section.yvp-social-section-light-mode .yvp-sharing-btns:after{content:\'\';display:inline-block;width:100%}.yvp-social-section.yvp-social-section-light-mode .yvp-sharing-btns .yvp-sharing-btn a{height:42px;width:42px;background-size:42px;margin:0}.yvp-social-section.yvp-social-section-light-mode .yvp-sharing-label-buttons{display:none}.yvp-social-section.yvp-social-section-light-mode .yvp-url-share-box .yvp-link-url-box,.yvp-social-section.yvp-social-section-light-mode .yvp-url-share-box .yvp-embed-url-box{margin-top:9px}.yvp-social-section.yvp-social-section-light-mode .yvp-url-share-box .yvp-sharing-label{font-size:12px}'),
  i.prototype.create=function(){var e=this;return e._node&&e.destroy(),e._node=s.render(d,{"share-label":c.i18n.SHARE,"link-label":c.i18n.LINK,"embed-label":c.i18n.EMBED,"timestamp-label":c.i18n.TIMESTAMP,"sharing-unavailable-message":c.i18n.SHARING_UNAVAILABLE_MESSAGE,"unique-checkbox-id":e._generateUniqueCheckboxId(),"mode-classname":"yvp-social-section-"+e._mode+"-mode","is-full-mode":"full"===e._mode,"is-light-mode":"light"===e._mode,"is-icons-bottom-mode":"icons-bottom"===e._mode,"custom-btns":e.customBtnsData},{"sharing-btns":p}),e._linkUrlInputBox=e._node.querySelector(".yvp-link-url-box input"),e._embedUrlInputBox=e._node.querySelector(".yvp-embed-url-box input"),e._timestampCheckbox=e._node.querySelector(".yvp-sharing-timestamp-checkbox"),e._timestampLabel=e._node.querySelector(".yvp-sharing-timestamp-input"),e._onCheckboxChangeHandler=l.isFunction(e._onCheckboxChange.bind)&&e._onCheckboxChange.bind(e)||e._onCheckboxChange,e._socialSectionTap=new a(e._node),e._onSocialSectionTap=function(e){e.stopPropagation()},e._node.addEventListener("tap",e._onSocialSectionTap),e._bindSharingPanel(),e._eventBus.subscribe(o.MEDIA_ITEM_LOADED,e._bindSharingPanel,e),e._node},i.prototype._bindSharingPanel=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=e._getShareUrl();if(e._node&&n){var i={title:t.title,shareUrl:n,embedlink:t.embedCode||n,description:t.description,embedRights:t.embedRights};e._bindSharingEventListeners(i),e._linkUrlInputBox.value=n,e._embedUrlInputBox.value=i.embedRights?e.generateEmbedCode(i.embedlink):c.i18n.EMBED_NOT_ALLOWED,s.classList(e._node).remove(_)}else e._node&&s.classList(e._node).add(_)},i.prototype._bindSharingEventListeners=function(e){var t=this;Object.keys(t._socialConfig).forEach(function(n){t._socialItems[n]=t._socialItems[n]||{};var i=t._socialItems[n];if(i.config=t._socialConfig[n],i.srcElement=t._srcElementPrefix+i.config.srcElement,i.tap&&i.node&&i.tapHandler&&(i.tap.destroy(),i.node.removeEventListener("tap",i.tapHandler)),i.node=t._node.querySelector(i.config.className),i.tap=new a(i.node),"button"===i.config.type){if(i.config.urlTemplateMethod){var r;if("string"==typeof i.config.urlTemplateMethod&&"function"==typeof t[i.config.urlTemplateMethod]&&(r=t[i.config.urlTemplateMethod].bind(t)),r){var s=r(e);s&&s.length>1024&&(s=s.substring(0,1023)),i.node.setAttribute("href",s)}}i.tapHandler=function(e){t._eventBus.publish(o.API.UI_INTERACT,{srcElement:i.srcElement}),t._eventBus.publish(o.CTRL_SHARE,i.config.metricsName)}}else i.tapHandler=function(e){e.target.focus(),e.target.setSelectionRange(0,e.target.value.length),t._eventBus.publish(o.API.UI_INTERACT,{srcElement:i.srcElement})};i.node.addEventListener("tap",i.tapHandler)})},i.prototype._onPlaybackProgress=function(e,t,n,i){var r=this,o=r._timestampCheckbox&&r._timestampCheckbox.checked;r._currentTime=t,r._timestampLabel&&!o&&(r._timestampLabel.value=s.formatTime(t))},i.prototype._onCheckboxChange=function(){var e=this,t=e._getShareUrl(),n=Math.floor(e._currentTime);return t?void(e._timestampCheckbox.checked?e._linkUrlInputBox.value=t+"?t="+n:e._linkUrlInputBox.value=t):!1},i.prototype.FACEBOOK_URL_TEMPLATE=function(e){var t=this,n="https://www.facebook.com/dialog/feed?",i={};return i.app_id="90376669494",i.link=e.shareUrl,i.display="page",i.redirect_uri=e.shareUrl,n=t._assembleShareUrl("facebook",n,i)},i.prototype.TWITTER_URL_TEMPLATE=function(e){var t=this,n="https://twitter.com/intent/tweet?",i={};return i.url=e.shareUrl,i.text=e.title.substring(0,140),i.via="Yahoo",n=t._assembleShareUrl("twitter",n,i)},i.prototype.MAIL_URL_TEMPLATE=function(e){var t=this,n="mailto:?",i={};return i.subject=e.title,i.body=e.shareUrl+"\n\n"+e.description,n=t._assembleShareUrl("mail",n,i)},i.prototype.TUMBLR_URL_TEMPLATE=function(e){var t=this,n="https://www.tumblr.com/share/video?",i={};return i.embed=e.shareUrl,i.caption=e.description.length>0?e.description:e.title,n=t._assembleShareUrl("tumblr",n,i)},i.prototype._assembleShareUrl=function(e,t,n){var i=this,r=i._socialItems[e],o=r&&r.config,a=o&&o.custom_share_properties,l={},c="",u=t;a&&a.shareUrl&&(u=a.shareUrl);var d=a&&a.queryParams;return s.extend(l,n,d),c=s.querystring(l),u+=c},i.prototype._getShareUrl=function(){var e=this,t=e._model.playlist&&e._model.playlist.getCurrentItem(),n=t&&t.shareUrl;return!e._model.playback.playInlineVideo&&window.location.pathname.indexOf(".html")>-1&&(n=window.location.protocol+"//"+window.location.host+window.location.pathname),n},i.prototype.generateEmbedCode=function(e){return e.match(/<iframe/)?e:"<iframe width='640' height='360' scrolling='no' frameborder='0' src='"+e+"?format=embed' allowfullscreen='true' mozallowfullscreen='true' webkitallowfullscreen='true' allowtransparency='true'></iframe>"},i.prototype._generateUniqueCheckboxId=function(){return"yvp-sharing-timestamp-id-"+(new Date).getTime()},i.prototype.destroy=function(){var e=this;Object.keys(e._socialItems).forEach(function(t){var n=e._socialItems[t];n&&n.tap&&n.tap.destroy(),n&&n.node&&n.tapHandler&&n.node.removeEventListener("tap",n.tapHandler)}),e._socialSectionTap&&(e._socialSectionTap.destroy(),e._node.removeEventListener("tap",e._onSocialSectionTap)),e._node&&(e._node.parentNode.removeChild(e._node),e._node=null)}},{"../../../lib":"bRhrlU","../event":"YJm+dH","../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./social-config":79,"./social-section-share-buttons.html":80,"./social-section.html":81,fs:134,"insert-css":149}],84:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-start-screen'>"),i.b("\n"+n),i.b("    <img class='yvp-start-screen-image' src='"),i.b(i.v(i.f("imageSrc",e,t,0))),i.b("' width='"),i.b(i.v(i.f("width",e,t,0))),i.b("' height='"),i.b(i.v(i.f("height",e,t,0))),i.b("'>"),i.b("\n"+n),i.b("    <div class='yvp-start-screen-bar-wrapper'>"),i.b("\n"+n),i.b("        <div class='yvp-start-screen-bar'>"),i.b("\n"+n),i.s(i.d("config.showProvider",e,t,1),e,t,0,255,350,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b("                <h4 class='yvp-start-screen-provider'>"),n.b(n.v(n.d("item.provider.name",e,t,0))),n.b("</h4>"),n.b("\n")}),e.pop()),i.s(i.d("config.showTitle",e,t,1),e,t,0,408,492,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b("                <h3 class='yvp-start-screen-title'>"),n.b(n.v(n.d("item.title",e,t,0))),n.b("</h3>"),n.b("\n")}),e.pop()),i.s(i.d("config.showDescription",e,t,1),e,t,0,553,647,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b("                <p class='yvp-start-screen-description'>"),n.b(n.v(n.d("item.description",e,t,0))),n.b("</p>"),n.b("\n")}),e.pop()),i.b("        </div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.s(i.d("config.showButton",e,t,1),e,t,0,727,784,"{{ }}")&&(i.rs(e,t,function(e,t,n){n.b("        <div class='yvp-start-screen-button'></div>"),n.b("\n")}),e.pop()),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],85:[function(e,t,n){"use strict";function i(e){var t=this;t._eventBus=e}t.exports=i;var r=e("../event"),o=e("../tap"),a=e("../util"),s=e("../../../lib/user-agent"),l=e("./start-screen.html");i.prototype.create=function(e,t){var n=this,i=t.ui.startScreenConfig,c={showTitle:i.showTitle&&e.title,showButton:i.showButton,showDescription:i.showDescription&&e.description,showProvider:i.showProvider&&e.provider&&e.provider.name},u=e.images.large||e.images.thumbnail||e.images.medium||e.images.small||e.images.provider;return n.node=a.render(l,{item:e,config:c,width:t.uiState.width,height:t.uiState.height,imageSrc:u}),n._startScreenTap=new o(n.node),n._onStartScreenTap=function(){var e=function(){n._eventBus.publish(r.START_SCREEN_CLICK),n._eventBus.publish(r.API.UI_INTERACT,{srcElement:"startScreen"})};s.htc_one?setTimeout(e,500):e()},n.node.addEventListener("tap",n._onStartScreenTap),n.node},i.prototype.destroy=function(){var e=this;e._startScreenTap.destroy(),e.node.removeEventListener("tap",e._onStartScreenTap),e.node=null}},{"../../../lib/user-agent":"ty5FFo","../event":"YJm+dH","../tap":"dsc79Q","../util":"jJTEqU","./start-screen.html":84}],86:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div class='yvp-tooltip-wrapper'>"),i.b("\n"+n),i.b("    <div class='yvp-tooltip-content'>"),i.b("\n"+n),i.b("        "),i.b(i.v(i.f("tooltip-msg",e,t,0))),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],87:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i.node=e,i._tooltipText=o.isString(t)?t:"";var a=r.render(s,{"tooltip-msg":i._tooltipText});i._tooltipTextNode=a.querySelector(".yvp-tooltip-content"),i._tooltipWrapperNode=a,i.node.appendChild(a),i.setEnabled(!0),i._onMouseLeave=function(e){e.stopPropagation(),r.classList(i.node).remove("yvp-tooltip-hidden")},n&&(n.hideUponClick&&i.hideOnClick(),n.positionBottom&&i.setPositionBottom())}t.exports=i;var r=e("../../util"),o=e("../../../../lib"),a=e("../../tap"),s=e("./tooltip.html");i.prototype.setText=function(e){var t=this;t._tooltipText=e,t._tooltipTextNode.innerHTML=t._tooltipText},i.prototype.setEnabled=function(e){var t=this;t._isEnabled=e,e?r.classList(t.node).add("yvp-tooltip"):r.classList(t.node).remove("yvp-tooltip")},i.prototype.hideOnClick=function(){var e=this;e._hideOnClick||(e._elemTap=new a(e.node),e._onElemTap=function(t){e.node&&r.classList(e.node).add("yvp-tooltip-hidden")},e.node.addEventListener("tap",e._onElemTap,e),["mouseleave","touchend"].forEach(function(t){e.node.addEventListener(t,e._onMouseLeave)}),e._hideOnClick=!0)},i.prototype.setPositionBottom=function(){var e=this;r.classList(e._tooltipWrapperNode).add("yvp-tooltip-pos-bottom")},i.prototype.destroy=function(){var e=this;e.node&&(e._elemTap&&(e._elemTap.destroy(),e.node.removeEventListener("tap",e._onElemTap)),["mouseleave","touchend"].forEach(function(t){e.node.removeEventListener(t,e._onMouseLeave)})),e._tooltipTextNode=null,e.node=null}},{"../../../../lib":"bRhrlU","../../tap":"dsc79Q","../../util":"jJTEqU","./tooltip.html":86}],88:[function(e,t,n){var i=new(e("hogan.js/lib/template").Template)(function(e,t,n){var i=this;return i.b(n=n||""),i.b("<div>"),i.b("\n"+n),i.b("    <div class='yvp-top-bar'>"),i.b("\n"+n),i.b("        <a class='yvp-provider-logo' target='_blank'></a>"),i.b("\n"+n),i.b("        <div class='yvp-content-type'></div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-login-prompt' id='yvp-login-prompt' role='dialog' tabindex='0'>"),i.b("\n"+n),i.b("        <div class='yvp-login-prompt-close' role='button' tabindex='0'></div>"),i.b("\n"+n),i.b("        <p class='yvp-login-prompt-msg' tabindex='0'>"),i.b(i.v(i.d("strings.LOGIN_MESSAGE",e,t,0))),i.b("</p>"),i.b("\n"+n),i.b("        <div class='yvp-login-yahoo-icn' role='button' tabindex='0'></div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-bottom-bar'>"),i.b("\n"+n),i.b("        <div class='yvp-slider' role='slider' tabindex='0'>"),i.b("\n"+n),i.b("            <div class='yvp-slider-extension'></div>"),i.b("\n"+n),i.b("            <div class='yvp-handle'></div>"),i.b("\n"+n),i.b("            <div class='yvp-buffer-bar'></div>"),i.b("\n"+n),i.b("            <div class='yvp-playback-bar'></div>"),i.b("\n"+n),i.b("            <div class='yvp-visual-seek'>"),i.b("\n"+n),i.b("                <div class='yvp-vs-thumbnail'></div>"),i.b("\n"+n),i.b("                <div class='yvp-vs-time'></div>"),i.b("\n"+n),i.b("            </div>"),i.b("\n"+n),i.b("        </div>"),i.b("\n"+n),i.b("        <div class='yvp-play-btn' role='button' tabindex='0'></div>"),i.b("\n"+n),i.b("        <div class='yvp-time-container' tabindex='-1' aria-hidden='true'>"),i.b("\n"+n),i.b("            <div class='yvp-current-time yvp-hide'></div>"),i.b("\n"+n),i.b("            <div class='yvp-total-time'></div>"),i.b("\n"+n),i.b("        </div>"),i.b("\n"+n),i.b("        <div class='yvp-menu-controls'>"),i.b("\n"+n),i.b("            <div class='yvp-fullscreen-btn button' role='button' tabindex='0'></div>"),i.b("\n"+n),i.b("            <div class='yvp-volume-btn button' role='button' tabindex='0'>"),i.b("\n"+n),i.b("                <div class='yvp-volume-bar-container'>"),i.b("\n"+n),i.b("                    <div class='yvp-volume-level'>"),i.b("\n"+n),i.b("                        <div class='yvp-volume-bar'>"),i.b("\n"+n),i.b("                            <div class='yvp-volume-handle'></div>"),i.b("\n"+n),i.b("                        </div>"),i.b("\n"+n),i.b("                    </div>"),i.b("\n"+n),i.b("                </div>"),i.b("\n"+n),i.b("            </div>"),i.b("\n"+n),i.b("            <div class='yvp-cc-btn button hide'></div>"),i.b("\n"+n),i.b("            <div class='yvp-cc-menu'>"),i.b("\n"+n),i.b("                <div class='yvp-cc-menu-options'>"),i.b(i.v(i.d("strings.OPTIONS",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("                <ul class='yvp-cc-menu-languages-list'></ul>"),i.b("\n"+n),i.b("                <div class='yvp-cc-menu-toggle'>"),i.b(i.v(i.d("strings.ON",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("            </div>"),i.b("\n"+n),i.b("            <div class='yvp-watch-later-btn button' role='button' tabindex='0'></div>"),i.b("\n"+n),i.b("            <div class='yvp-setting-btn button hide'>"),i.b("\n"+n),i.b("                <div class='yvp-settings-notification'>"),i.b(i.v(i.d("strings.WATCH_LATER_ADDED",e,t,0))),i.b("</div>"),i.b("\n"+n),i.b("            </div>"),i.b("\n"+n),i.b("        </div>"),i.b("\n"+n),i.b("    </div>"),i.b("\n"+n),i.b("    <div class='yvp-mute-indicator'></div>"),i.b("\n"+n),i.b("    <div class='yvp-custom-controls'></div>"),i.b("\n"+n),i.b("    <div class='yvp-object-overlay'></div>"),i.b("\n"+n),i.b("</div>"),i.b("\n"),i.fl()});t.exports={render:function(){return i.render.apply(i,arguments)},r:function(){return i.r.apply(i,arguments)},ri:function(){return i.ri.apply(i,arguments)}}},{"hogan.js/lib/template":148}],89:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i._eventBus=e,i._view=t,i._model=n,i._isLive=!1,i._liveState=null,i._isWatchLaterEnqueued=!1,i._pendingWatchLaterClickAnimation=!1,i._eventBus.subscribe(s.MEDIA_ITEM_LOADED,i._onMediaItemLoaded,i),i._eventBus.subscribe(s.Video.PLAYING,i._onVideoPlaying,i),i._eventBus.subscribe(s.Video.ENDED,i._onVideoEnded,i),i._eventBus.subscribe(s.PLAYBACK_STARTED,i._onPlaybackStarted,i),i._eventBus.subscribe(s.AD_PLAYBACK_STARTED,i._onAdPlaying,i),i._eventBus.subscribe(s.PLAYBACK_PROGRESS,i._onPlaybackProgress,i),i._eventBus.subscribe(s.AD_PLAYBACK_PROGRESS,i._onAdPlaybackProgress,i),i._eventBus.subscribe(s.UPDATE_AD_BREAKS,i._updateAdBreaks,i),i._eventBus.subscribe(s.UPDATE_AD_COUNT,i._updateAdCount,i),i._eventBus.subscribe(s.VOLUME_HOVER,i._removeCCHover,i),i._eventBus.subscribe(s.CC.FETCHED,i._processAndPropagateCC,i),i._eventBus.subscribe(s.CC.SHOW_CONTROLS,i._setCCUIAvailability,i),i._eventBus.subscribe(s.CC.REMOVED,i._resetAndRemoveCC,i),i._eventBus.subscribe(s.CC.TOGGLE,i._toggleCC,i),i._eventBus.subscribe(s.CC.LANGUAGE_CHANGE,i._onLanguageChange,i),i._eventBus.subscribe(s.SETTINGS_CONTROLLER_CHANGE,i._setCCMenuOptionsButtonAvailability,i),i._eventBus.subscribe(s.KEYDOWN,i._onKeyDown,i),i._eventBus.subscribe(s.WL_CHANGE_REQUEST_COMPLETE,i._onWLChangeReqComplete,i),i._eventBus.subscribe(s.API.UI_INTERACT,function(e){"ctrl-settings-off"===e.srcElement&&i.hideLoginPrompt()},i)}t.exports=i;var r=(e("fs"),e("insert-css")),o=e("../../../lib/user-agent"),a=e("../cc"),s=(e("../error"),e("../event")),l=e("../stream"),c=e("../strings"),u=e("../tap"),d=e("../util"),p=e("../../../lib"),_=e("./uiwidgets/tooltip"),y=e("./yahoo-controls.html"),M="selected",v="on";r('.yvp-content.yvp-browser-desktop.yvp-state-video.yvp-hide-controls .yvp-bottom-bar{opacity:0;-webkit-transition:opacity .2s ease-in-out 2s;-moz-transition:opacity .2s ease-in-out 2s;-o-transition:opacity .2s ease-in-out 2s;transition:opacity .2s ease-in-out 2s}.yvp-content.yvp-browser-desktop.yvp-state-video.yvp-hide-controls.yvp-muted .yvp-bottom-bar{opacity:0;-webkit-transition:.2s ease-out .5s;-moz-transition:.2s ease-out .5s;-o-transition:.2s ease-out .5s;transition:.2s ease-out .5s}.yvp-content.yvp-browser-desktop.yvp-state-video.yvp-hide-controls.yvp-muted .yvp-mute-indicator{opacity:1;visibility:visible;-webkit-transition:visibility 0s linear .5s,opacity .5s ease-in .8s;-moz-transition:visibility 0s linear .5s,opacity .5s ease-in .8s;-o-transition:visibility 0s linear .5s,opacity .5s ease-in .8s;transition:visibility 0s linear .5s,opacity .5s ease-in .8s}.yvp-content:hover .yvp-bottom-bar{opacity:1;-webkit-transition:opacity 0s;-moz-transition:opacity 0s;-o-transition:opacity 0s;transition:opacity 0s}.yvp-content:hover .yvp-ads-overlay{-webkit-transition:height 0s;-moz-transition:height 0s;-o-transition:height 0s;transition:height 0s}.yvp-content:hover.yvp-muted .yvp-bottom-bar{opacity:1;-webkit-transition:.5s ease-in .8s;-moz-transition:.5s ease-in .8s;-o-transition:.5s ease-in .8s;transition:.5s ease-in .8s}.yvp-content:hover.yvp-muted .yvp-mute-indicator{opacity:0;visibility:hidden;-webkit-transition:visibility 0s linear .5s,opacity .2s ease-out .5s;-moz-transition:visibility 0s linear .5s,opacity .2s ease-out .5s;-o-transition:visibility 0s linear .5s,opacity .2s ease-out .5s;transition:visibility 0s linear .5s,opacity .2s ease-out .5s}.yvp-content:hover.yvp-muted .yvp-mute-indicator:hover{opacity:0;visibility:visible;-webkit-transition:visibility 0s linear .5s,opacity .2s ease-out 1s;-moz-transition:visibility 0s linear .5s,opacity .2s ease-out 1s;-o-transition:visibility 0s linear .5s,opacity .2s ease-out 1s;transition:visibility 0s linear .5s,opacity .2s ease-out 1s;}.yvp-content:hover.yvp-muted .yvp-mute-indicator:hover .yvp-bottom-bar{opacity:1;-webkit-transition:1s ease-out .5s;-moz-transition:1s ease-out .5s;-o-transition:1s ease-out .5s;transition:1s ease-out .5s}.yvp-content.yvp-user-inactive div.yvp-bottom-bar{cursor:none;}.yvp-content.yvp-user-inactive div.yvp-bottom-bar div.yvp-slider,.yvp-content.yvp-user-inactive div.yvp-bottom-bar div.yvp-buffer-bar,.yvp-content.yvp-user-inactive div.yvp-bottom-bar div.yvp-playback-bar{height:3px;bottom:2px;direction:ltr;-webkit-transition:height .5s linear 0s,bottom .5s linear 0s;-moz-transition:height .5s linear 0s,bottom .5s linear 0s;-o-transition:height .5s linear 0s,bottom .5s linear 0s;transition:height .5s linear 0s,bottom .5s linear 0s;-moz-transition:none}.yvp-content.yvp-user-inactive div.yvp-bottom-bar div.yvp-handle{-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);margin-top:-4px;-webkit-transition:all .51s linear 0s;-moz-transition:all .51s linear 0s;-o-transition:all .51s linear 0s;transition:all .51s linear 0s}.yvp-content.yvp-browser-desktop.yvp-state-video.yvp-disable-controls .yvp-bottom-bar{opacity:0 !important}.yvp-state-video.yvp-show-settings .yvp-login-prompt{display:none !important}.yvp-content .yvp-main .yvp-login-prompt{width:285px;min-width:260px;background-color:#222;z-index:22;position:absolute;top:50%;left:50%;margin-top:-45px;margin-left:-142.5px;padding:23px 12px 11px;color:#fff;font-size:13px;text-align:center;display:none;}.yvp-content .yvp-main .yvp-login-prompt.yvp-loginp-show{display:block}.yvp-content .yvp-main .yvp-login-prompt-close{display:block;position:absolute;top:-3px;right:-2px;width:27px;height:27px;background:url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKICAgIHdpZHRoPSIxMHB4IiBoZWlnaHQ9IjEwcHgiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAgMTAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cG9seWdvbiBmaWxsPSIjQ0NDQ0NDIiBwb2ludHM9IjEwLDEuNTAyIDguNDk4LDAgNSwzLjQ5OSAxLjUwMiwwLjAwMSAwLDEuNTAzIDMuNDk4LDUgMCw4LjQ5OCAxLjUwMiwxMCA1LDYuNTAyIDguNDk4LDEwIDEwLDguNDk4IAogICAgNi41MDIsNSAiLz4KPC9zdmc+Cg==") no-repeat center center;cursor:pointer;z-index:10;opacity:.8;}.yvp-content .yvp-main .yvp-login-prompt-close:hover{opacity:1}.yvp-content .yvp-main .yvp-login-yahoo-icn{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iNzFweCIgaGVpZ2h0PSIxOXB4IiB2aWV3Qm94PSIwIDAgNzEgMTkiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDcxIDE5IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGZpbGw9IiM0RTBBQkIiIGQ9Ik03MS4wNTIsMTYuOTEyYzAsMS4xMDUtMC44OTUsMi0yLDJIMS45NDhjLTEuMTA0LDAtMi0wLjg5NS0yLTJWMS45ODJj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jgwNSwxNC4wNjcsNTguMzA5LDE0LjA2N3ogTTU4LjMwOSwxMi45ODdjMC4zMDUsMCwwLjU2OC0wLjA2MywwLjc5My0wLjE5MQ0KCQkJYzAuMjI0LTAuMTI4LDAuNDA4LTAuMjk2LDAuNTUyLTAuNTA1YzAuMTQ0LTAuMjA4LDAuMjQ5LTAuNDQxLDAuMzE3LTAuNzAxYzAuMDY4LTAuMjYxLDAuMTAzLTAuNTI2LDAuMTAzLTAuNzk5DQoJCQljMC0wLjI2NC0wLjAzNC0wLjUyNy0wLjEwMy0wLjc5MmMtMC4wNjgtMC4yNjQtMC4xNzQtMC40OTgtMC4zMTctMC43MDFjLTAuMTQ0LTAuMjA0LTAuMzI4LTAuMzctMC41NTItMC40OTgNCgkJCWMtMC4yMjUtMC4xMjgtMC40ODgtMC4xOTItMC43OTMtMC4xOTJjLTAuMzA0LDAtMC41NjcsMC4wNjQtMC43OTEsMC4xOTJjLTAuMjI1LDAuMTI4LTAuNDA4LDAuMjk0LTAuNTUzLDAuNDk4DQoJCQljLTAuMTQ0LDAuMjAzLTAuMjUsMC40MzgtMC4zMTgsMC43MDFjLTAuMDY3LDAuMjY1LTAuMTAyLDAuNTI4LTAuMTAyLDAuNzkyYzAsMC4yNzIsMC4wMzQsMC41MzgsMC4xMDIsMC43OTkNCgkJCWMwLjA2OCwwLjI2LDAuMTc1LDAuNDkzLDAuMzE4LDAuNzAxYzAuMTQ1LDAuMjA5LDAuMzI4LDAuMzc3LDAuNTUzLDAuNTA1QzU3Ljc0MSwxMi45MjQsNTguMDA1LDEyLjk4Nyw1OC4zMDksMTIuOTg3eiIvPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K") no-repeat center center;height:34px;margin-top:5px;outline:none;-webkit-transition:background 100ms ease-in-out;-moz-transition:background 100ms ease-in-out;-o-transition:background 100ms ease-in-out;transition:background 100ms ease-in-out;cursor:pointer;}.yvp-content .yvp-main .yvp-login-yahoo-icn:hover{background-image:url("data:image/svg+xml;base64,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NDg4LTAuMTkyLTAuNzkzLTAuMTkyYy0wLjMwNCwwLTAuNTY3LDAuMDY0LTAuNzkxLDAuMTkyYy0wLjIyNSwwLjEyOC0wLjQwOCwwLjI5NC0wLjU1MywwLjQ5OA0KCQljLTAuMTQ0LDAuMjAzLTAuMjUsMC40MzgtMC4zMTgsMC43MDFjLTAuMDY3LDAuMjY1LTAuMTAyLDAuNTI4LTAuMTAyLDAuNzkyYzAsMC4yNzIsMC4wMzQsMC41MzgsMC4xMDIsMC43OTkNCgkJYzAuMDY4LDAuMjYsMC4xNzUsMC40OTMsMC4zMTgsMC43MDFjMC4xNDUsMC4yMDksMC4zMjgsMC4zNzcsMC41NTMsMC41MDVDNTcuNzQxLDEyLjkyNCw1OC4wMDUsMTIuOTg3LDU4LjMwOSwxMi45ODd6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==")}.yvp-top-bar{position:absolute;z-index:28;width:100%;top:0;}.yvp-state-video .yvp-top-bar{display:block}.yvp-state-start-screen .yvp-top-bar,.yvp-state-error .yvp-top-bar,.yvp-state-end-screen .yvp-top-bar,.yvp-state-loading .yvp-top-bar{display:none}.yvp-top-bar.hide{display:none}.yvp-top-bar .yvp-provider-logo{position:absolute;right:0;display:block;height:20px;width:55px;margin-top:20px;margin-right:10px;border:0;background-repeat:no-repeat;cursor:pointer;}.yvp-mode-ad .yvp-top-bar .yvp-provider-logo,.yvp-mode-vpaid .yvp-top-bar .yvp-provider-logo{display:none}.yvp-top-bar .yvp-provider-logo.yvp-hide{display:none}.yvp-top-bar .yvp-ad-count-container{display:none;position:absolute;left:16px;top:12px}.yvp-top-bar .yvp-ad-count,.yvp-top-bar .yvp-ad-countdowntimer{display:inline-block;color:#fff;position:relative;text-shadow:0 1px #000;font-size:11px;font-weight:normal}.yvp-top-bar .yvp-ad-countdowntimer{padding-left:14px;text-align:right}.yvp-mode-ad.yvp-flag-playing .yvp-top-bar .yvp-ad-count-container,.yvp-mode-vpaid.yvp-flag-playing .yvp-top-bar .yvp-ad-count-container{display:block}.yvp-top-bar div.yvp-content-type{display:block;height:22px;left:15px;top:8px;position:absolute;color:#ccc;text-shadow:rgba(0,0,0,0.75) 0 1px 8px;font-weight:bold;}.yvp-top-bar div.yvp-content-type.hide{display:none}div.yvp-bottom-bar{background:rgba(0,0,0,0.6);}div.yvp-bottom-bar div.yvp-play-btn{background-position:15px 6px,0 0;background-size:28%;bottom:0;margin-top:3px;width:30px;left:-4px}div.yvp-bottom-bar div.yvp-slider.yvp-disable{display:none;pointer-events:none}div.yvp-bottom-bar div.yvp-slider,div.yvp-bottom-bar div.yvp-handle,div.yvp-bottom-bar div.yvp-buffer-bar,div.yvp-bottom-bar div.yvp-playback-bar{height:10px;bottom:10px;border-radius:0;border:0 solid #fff;opacity:1;direction:ltr}div.yvp-bottom-bar div.yvp-slider{width:100%;position:relative;background:rgba(255,255,255,0.25);}div.yvp-bottom-bar div.yvp-slider .yvp-slider-extension{position:absolute;width:100%;height:4px;top:-4px}div.yvp-bottom-bar div.yvp-buffer-bar{background:rgba(255,255,255,0.25)}div.yvp-bottom-bar div.yvp-visual-seek{border:2px solid #846dff;top:-70px;pointer-events:none}div.yvp-bottom-bar div.yvp-handle{width:2px;border-width:2px;background-color:transparent;margin-top:-2px;margin-left:-4px;border-color:#fff;display:none;}div.yvp-bottom-bar div.yvp-handle.active{display:block}div.yvp-bottom-bar .yvp-time-container{display:inline-block;position:absolute;left:31px;top:3px;}div.yvp-bottom-bar .yvp-time-container.yvp-hide{display:none}div.yvp-bottom-bar div.yvp-current-time,div.yvp-bottom-bar div.yvp-vs-time,div.yvp-bottom-bar div.yvp-total-time{color:#a5a5a5;display:inline-block;font-size:11px;padding:3px 0;}div.yvp-bottom-bar div.yvp-current-time.yvp-hide,div.yvp-bottom-bar div.yvp-vs-time.yvp-hide,div.yvp-bottom-bar div.yvp-total-time.yvp-hide{display:none}div.yvp-bottom-bar div.yvp-current-time,div.yvp-bottom-bar div.yvp-total-time{top:0;margin-left:0;left:0 !important;background-color:transparent;position:relative;width:auto;text-shadow:0 1px 1px rgba(0,0,0,0.3);color:#ccc;}div.yvp-bottom-bar div.yvp-current-time:hover,div.yvp-bottom-bar div.yvp-total-time:hover{color:#fff}div.yvp-bottom-bar div.yvp-vs-time{background-color:rgba(0,0,0,0.25);color:#fff}div.yvp-bottom-bar .yvp-menu-controls{display:inline-block;position:absolute;right:0;top:0;}div.yvp-bottom-bar .yvp-menu-controls .button{height:30px;width:35px;bottom:1px;background-position:center;background-repeat:no-repeat;float:right;position:relative}div.yvp-bottom-bar .yvp-menu-controls div.yvp-fullscreen-btn{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTAuNzVweCIgaGVpZ2h0PSIxMC43NnB4IiB2aWV3Qm94PSIwIDAgMTAuNzUgMTAuNzYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwLjc1IDEwLjc2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHBvaW50cz0iNy45NDUsMS44MjggNS43OTMsMy45ODQgNi43NzcsNC45NzEgOC45MjgsMi44MTEgMTAuNzM4LDQuNjE3IDEwLjc1LDAgNi4xMzEsMC4wMjEgIi8+DQo8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjIuODA1LDguOTMxIDQuOTU5LDYuNzcyIDMuOTc1LDUuNzg5IDEuODI0LDcuOTQ2IDAuMDE0LDYuMTQyIDAsMTAuNzYgNC42MjEsMTAuNzM1ICIvPg0KPC9zdmc+DQo=");background-size:30%;left:1px;margin:0;opacity:.8;}div.yvp-bottom-bar .yvp-menu-controls div.yvp-fullscreen-btn.fullscreen{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTAuNzVweCIgaGVpZ2h0PSIxMC43NnB4IiB2aWV3Qm94PSIwIDAgMTAuNzUgMTAuNzYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwLjc1IDEwLjc2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHBvaW50cz0iOC41OTUsMy4xNCAxMC43NDcsMC45ODQgOS43NjMsLTAuMDAyIDcuNjEyLDIuMTU4IDUuODAyLDAuMzUxIDUuNzkxLDQuOTY4IDEwLjQwOSw0Ljk0NyAiLz4NCjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHBvaW50cz0iMi4xNTYsNy42MiAwLjAwMiw5Ljc3NiAwLjk4NiwxMC43NjEgMy4xMzcsOC42MDMgNC45NDcsMTAuNDA5IDQuOTYxLDUuNzkgMC4zNCw1LjgxMyAiLz4NCjwvc3ZnPg0K")}div.yvp-bottom-bar .yvp-menu-controls div.yvp-fullscreen-btn:hover{opacity:1}div.yvp-bottom-bar .yvp-menu-controls div.yvp-volume-btn{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTIuNzcxcHgiIGhlaWdodD0iMTFweCIgdmlld0JveD0iMCAwIDEyLjc3MSAxMSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTIuNzcxIDExIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNDQ0NDQ0MiIGQ9Ik03LjE3NiwzLjA5NUw2LjY1NCw0LjE0OXYwLjAyNUM2Ljk4Miw0LjQ0OSw3LjE5Nyw0Ljg2LDcuMTk3LDUuMzI5YzAsMC40NjgtMC4yMTUsMC44NzktMC41NDMsMS4xNTR2MC4wMDQNCglsMC41MjksMS4wN2MwLjcwMS0wLjQ4LDEuMTY4LTEuMjk5LDEuMTY4LTIuMjI5QzguMzUyLDQuMzk0LDcuODg1LDMuNTczLDcuMTc2LDMuMDk1eiIvPg0KPHBhdGggZmlsbD0iI0NDQ0NDQyIgZD0iTTExLDUuMzI5YzAtMS45ODgtMS4wNjQtMy43MTgtMi42MzgtNC42MzFMNy44NDgsMS43Mzd2MC4wMjdjMS4xOTUsMC43MTcsMS45OTksMi4wNDMsMS45OTksMy41NjQNCgljMCwxLjUyLTAuODA0LDIuODQ4LTEuOTk5LDMuNTY0djAuMDAybDAuNTI2LDEuMDU4QzkuOTM5LDkuMDQsMTEsNy4zMTIsMTEsNS4zMjl6Ii8+DQo8cG9seWdvbiBmaWxsPSIjQ0NDQ0NDIiBwb2ludHM9IjEuNzg2LDMuNTUzIDAsMy41NTMgMCw3LjExNyAxLjgsNy4xMTcgNS4zNDgsMTAuNjY4IDUuMzQ4LC0wLjAxNyAxLjc4NiwzLjU0NyAiLz4NCjwvc3ZnPg0K");background-size:55%;width:26px;left:6px;top:-1px;}div.yvp-bottom-bar .yvp-menu-controls div.yvp-volume-btn:hover,div.yvp-bottom-bar .yvp-menu-controls div.yvp-volume-btn:active{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dH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IiByPSIxLjA2Ii8+DQo8Y2lyY2xlIGZpbGw9IiNGRkZGRkYiIGN4PSIxLjA2IiBjeT0iMS4wNiIgcj0iMS4wNiIvPg0KPHJlY3QgeD0iMy42NzQiIHk9IjMuOCIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjguOTY5IiBoZWlnaHQ9IjIiLz4NCjxyZWN0IHg9IjMuNjc0IiB5PSI3LjU5MiIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjguOTY5IiBoZWlnaHQ9IjIiLz4NCjxyZWN0IHg9IjMuNjc0IiB5PSIwLjAwNyIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjguOTY5IiBoZWlnaHQ9IjIiLz4NCjwvc3ZnPg0K");left:19px;opacity:.8;}div.yvp-bottom-bar .yvp-menu-controls .yvp-setting-btn.hide{display:none}div.yvp-bottom-bar .yvp-menu-controls .yvp-setting-btn:hover{opacity:1}div.yvp-bottom-bar .yvp-menu-controls .yvp-setting-btn .yvp-settings-notification{position:relative;float:right;top:-44px;left:80px;border:2px solid #5f32fb;height:18px;line-height:18px;background:#5f32fb;color:#ddd;font-size:12px;display:none;opacity:0;margin:auto;padding:6px 14px;white-space:nowrap;text-align:center;pointer-events:none}div.yvp-bottom-bar .yvp-menu-controls .yvp-setting-btn.yvp-run-wl-add-anim{-webkit-animation:flash-button 1.5s linear 1.9s 1;-moz-animation:flash-button 1.5s linear 1.9s 1;animation:flash-button 1.5s linear 1.9s 1;}div.yvp-bottom-bar .yvp-menu-controls .yvp-setting-btn.yvp-run-wl-add-anim .yvp-settings-notification{display:block;opacity:1;-webkit-animation:wl-add-notification-anim .6s linear 1.3s 1 normal forwards;-moz-animation:wl-add-notification-anim .6s linear 1.3s 1 normal forwards;animation:wl-add-notification-anim .6s linear 1.3s 1 normal forwards}div.yvp-bottom-bar .yvp-menu-controls .yvp-setting-btn.yvp-run-wl-remove-anim .yvp-settings-notification{display:block;opacity:1;-webkit-animation:wl-remove-notification-anim .5s linear 1s 1 normal forwards;-moz-animation:wl-remove-notification-anim .5s linear 1s 1 normal forwards;animation:wl-remove-notification-anim .5s linear 1s 1 normal forwards}div.yvp-bottom-bar .yvp-menu-controls .yvp-setting-btn.yvp-show-growl-notification .yvp-settings-notification{display:block;opacity:1}div.yvp-bottom-bar .yvp-menu-controls .yvp-watch-later-btn{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMThweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSItMSAwIDE4IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IC0xIDAgMTggMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPGc+DQoJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik01LjMyNywxNS45MjdjLTMuNDU3LDAtNi4yNy0yLjgxNC02LjI3LTYuMjcxczIuODEzLTYuMjcsNi4yNy02LjI3YzMuNDYsMCw2LjI3NCwyLjgxMyw2LjI3NCw2LjI3DQoJCQlTOC43ODcsMTUuOTI3LDUuMzI3LDE1LjkyN3ogTTUuMzI3LDUuMzk1Yy0yLjM0OSwwLTQuMjU5LDEuOTEyLTQuMjU5LDQuMjYxYzAsMi4zNSwxLjkxMSw0LjI2Miw0LjI1OSw0LjI2Mg0KCQkJYzIuMzUsMCw0LjI2My0xLjkxMiw0LjI2My00LjI2MkM5LjU5LDcuMzA3LDcuNjc3LDUuMzk1LDUuMzI3LDUuMzk1eiIvPg0KCTwvZz4NCgk8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjYuMjkxLDYuOTE3IDQuNzY5LDYuOTE3IDQuNzY5LDEwLjEzIDcuODk3LDEwLjEzIDcuODk3LDguNjEgNi4yOTEsOC42MSAJIi8+DQo8L2c+DQo8L3N2Zz4NCg==");top:-3px;left:13px;opacity:.8;}div.yvp-bottom-bar .yvp-menu-controls .yvp-watch-later-btn:hover{opacity:1}div.yvp-bottom-bar .yvp-menu-controls .yvp-watch-later-btn.yvp-wl-enqueued{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMThweCIgaGVpZ2h0PSIxNnB4IiB2aWV3Qm94PSItMSAwIDE4IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IC0xIDAgMTggMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPGc+DQoJCTxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik01LjMyNywxNS45MjdjLTMuNDU3LDAtNi4yNy0yLjgxNC02LjI3LTYuMjcxczIuODEzLTYuMjcsNi4yNy02LjI3YzMuNDYsMCw2LjI3NCwyLjgxMyw2LjI3NCw2LjI3DQoJCQlTOC43ODcsMTUuOTI3LDUuMzI3LDE1LjkyN3ogTTUuMzI3LDUuMzk1Yy0yLjM0OSwwLTQuMjU5LDEuOTEyLTQuMjU5LDQuMjYxYzAsMi4zNSwxLjkxMSw0LjI2Miw0LjI1OSw0LjI2Mg0KCQkJYzIuMzUsMCw0LjI2My0xLjkxMiw0LjI2My00LjI2MkM5LjU5LDcuMzA3LDcuNjc3LDUuMzk1LDUuMzI3LDUuMzk1eiIvPg0KCTwvZz4NCgk8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjYuMjkxLDYuOTE3IDQuNzY5LDYuOTE3IDQuNzY5LDEwLjEzIDcuODk3LDEwLjEzIDcuODk3LDguNjEgNi4yOTEsOC42MSAJIi8+DQo8L2c+DQo8Zz4NCgk8cG9seWdvbiBmaWxsPSIjRkZGRkZGIiBwb2ludHM9IjEzLjE2OSw1LjI0IDEwLjU2MywyLjYzNCAxMS43NDgsMS40NDkgMTMuMTY5LDIuODcxIDE1Ljc3MiwwLjI2OSAxNi45NTgsMS40NTMgCSIvPg0KPC9nPg0KPC9zdmc+DQo=");}div.yvp-bottom-bar .yvp-menu-controls .yvp-watch-later-btn.yvp-wl-enqueued:hover{opacity:1}div.yvp-bottom-bar .yvp-menu-controls .yvp-cc-btn{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRv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wLjU0NS0wLjQ2OVMxMy43NjYsNS41ODUsMTMuNSw1LjU4NWMtMC42MDIsMC0xLjA2MiwwLjI0Mi0xLjM4NSwwLjcyNg0KCQljLTAuMjQyLDAuMzU5LTAuMzYzLDAuOTIzLTAuMzYzLDEuNjkxYzAsMC45NTEsMC4xNDUsMS42MDQsMC40MzUsMS45NThjMC4yODcsMC4zNTMsMC42OTUsMC41MjgsMS4yMTksMC41MjgNCgkJYzAuNTA4LDAsMC44OTMtMC4xNDMsMS4xNS0wLjQyOEMxNC44MTYsOS43NzUsMTUuMDA2LDkuMzYxLDE1LjEyMyw4LjgxOHoiLz4NCjwvZz4NCjwvc3ZnPg0K");background-position:4px 5px;background-size:66%;top:1px;left:11px;opacity:.8;}div.yvp-bottom-bar .yvp-menu-controls .yvp-cc-btn:hover{opacity:1}div.yvp-bottom-bar .yvp-menu-controls .yvp-cc-btn:active{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMjNweCIgaGVpZ2h0PSIxM3B4IiB2aWV3Qm94PSIwIDAgMjMgMTMiIGVuYWJsZS1iYW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ODI3LTEuMTQ1LDMuMjExLTEuMTQ1DQoJCWMxLjA4MiwwLDEuOTMyLDAuMjE5LDIuNTUxLDAuNjU2czEuMDgsMS4xMDksMS4zODEsMi4wMTZsLTIuMzQ0LDAuNTIxYy0wLjA4Mi0wLjI2My0wLjE2OC0wLjQ1My0wLjI1OC0wLjU3NA0KCQljLTAuMTQ4LTAuMjAzLTAuMzMtMC4zNTktMC41NDYtMC40NjljLTAuMjE1LTAuMTEtMC40NTQtMC4xNjQtMC43Mi0wLjE2NGMtMC42MDIsMC0xLjA2MiwwLjI0Mi0xLjM4NSwwLjcyNg0KCQljLTAuMjQyLDAuMzU5LTAuMzYzLDAuOTIzLTAuMzYzLDEuNjkxYzAsMC45NTEsMC4xNDUsMS42MDQsMC40MzYsMS45NThjMC4yODcsMC4zNTMsMC42OTQsMC41MjgsMS4yMTksMC41MjgNCgkJYzAuNTA4LDAsMC44OTMtMC4xNDQsMS4xNS0wLjQyOEMxNC44MTYsOS43NzUsMTUuMDA2LDkuMzYxLDE1LjEyMyw4LjgxOHoiLz4NCjwvZz4NCjxnPg0KCTxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHBvaW50cz0iMTkuNjA3LDQuNDUyIDE3LjI3MywyLjExOCAxOC4zMzQsMS4wNTcgMTkuNjA3LDIuMzMxIDIxLjkzOSwwIDIzLDEuMDYgCSIvPg0KPC9nPg0KPC9zdmc+DQo=");}div.yvp-bottom-bar .yvp-menu-controls .yvp-cc-btn.on:hover{opacity:1}div.yvp-bottom-bar .yvp-menu-controls .yvp-cc-btn.on:active{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUF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MzU5LTAuMzYzLDAuOTIzLTAuMzYzLDEuNjkxYzAsMC45NTEsMC4xNDUsMS42MDQsMC40MzUsMS45NThjMC4yODcsMC4zNTMsMC42OTUsMC41MjgsMS4yMTksMC41MjgNCgkJYzAuNTA4LDAsMC44OTMtMC4xNDMsMS4xNS0wLjQyOEMxNC44MTYsOS43NzUsMTUuMDA2LDkuMzYxLDE1LjEyMyw4LjgxOHoiLz4NCjwvZz4NCjxnPg0KCTxwb2x5Z29uIGZpbGw9IiM4NDZERkYiIHBvaW50cz0iMTkuNjA3LDQuNDUyIDE3LjI3MywyLjExOCAxOC4zMzQsMS4wNTcgMTkuNjA3LDIuMzMxIDIxLjkzOSwwIDIzLDEuMDYgCSIvPg0KPC9nPg0KPC9zdmc+DQo=")}div.yvp-bottom-bar div.yvp-volume-bar-container{position:relative;z-index:1;width:100%;background:rgba(0,0,0,0.7);padding-top:6px;padding-bottom:7px;display:none;height:53px;bottom:64px;}div.yvp-bottom-bar div.yvp-volume-bar-container.open{display:block}div.yvp-bottom-bar div.yvp-volume-bar-container{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:.4s;-moz-animation-duration:.4s;animation-duration:.4s;}div.yvp-bottom-bar div.yvp-volume-bar-container div.yvp-volume-level,div.yvp-bottom-bar div.yvp-volume-bar-container div.yvp-volume-bar{background:rgba(255,255,255,0.8);margin-top:3px;height:100%}div.yvp-bottom-bar div.yvp-volume-bar-container div.yvp-volume-level{background:#846dff;margin-left:9px;width:25%}div.yvp-bottom-bar div.yvp-volume-bar-container div.yvp-volume-handle{position:relative;margin-left:-4px;width:14px;height:4px;background:#fff;z-index:2;opacity:0;}div.yvp-bottom-bar div.yvp-volume-bar-container div.yvp-volume-handle.show{opacity:1}div.yvp-bottom-bar div.yvp-cc-menu{position:absolute;bottom:29px;left:50px;z-index:4;background:rgba(0,0,0,0.7);display:none;text-align:left;-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:.4s;-moz-animation-duration:.4s;animation-duration:.4s;}div.yvp-bottom-bar div.yvp-cc-menu.open{display:block}div.yvp-bottom-bar div.yvp-cc-menu:hover{display:block}div.yvp-bottom-bar div.yvp-cc-menu-options{display:block;border-bottom:1px rgba(84,84,84,0.9) solid;padding:8px 10px;}div.yvp-bottom-bar div.yvp-cc-menu-options.hide{display:none}div.yvp-bottom-bar .yvp-cc-menu-languages-list,div.yvp-bottom-bar .yvp-cc-menu-toggle,div.yvp-bottom-bar .yvp-cc-menu-options{color:#ccc;font-size:14px;padding:5px 10px;font-weight:500;text-shadow:1px 0 #000;}div.yvp-bottom-bar .yvp-cc-menu-languages-list.selected,div.yvp-bottom-bar .yvp-cc-menu-toggle.selected,div.yvp-bottom-bar .yvp-cc-menu-options.selected{color:#846dff}div.yvp-bottom-bar .yvp-cc-menu-toggle,div.yvp-bottom-bar .yvp-cc-menu-options{text-align:center}div.yvp-bottom-bar .yvp-cc-menu-languages-list{padding:5px 10px}div.yvp-bottom-bar .yvp-cc-lang{padding:4px 0;list-style-type:none;}div.yvp-bottom-bar .yvp-cc-lang.selected{color:#846dff;}div.yvp-bottom-bar .yvp-cc-lang.selected .yvp-cc-square{visibility:visible}div.yvp-bottom-bar .yvp-cc-menu-toggle{padding:8px 10px;border-top:1px rgba(84,84,84,0.9) solid}div.yvp-bottom-bar .yvp-cc-btn{display:block;}div.yvp-bottom-bar .yvp-cc-btn.hide{display:none}div.yvp-bottom-bar .yvp-cc-square{display:inline-block;font-size:10px;position:relative;top:-3px;margin-right:5px;visibility:hidden}.yvp-content .yvp-main .yvp-mute-indicator{position:relative;opacity:0;visibility:hidden;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMTIuNzcxcHgiIGhlaWdodD0iMTFweCIgdmlld0JveD0iMCAwIDEyLjc3MSAxMSIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTIuNzcxIDExIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIGZpbGw9IiM4NDZkZmYiIHBvaW50cz0iMS43ODYsMy41NTMgMCwzLjU1MyAwLDcuMTE3IDEuOCw3LjExNyA1LjM0OCwxMC42NjggNS4zNDgsLTAuMDE3IDEuNzg2LDMuNTQ3ICIvPg0KPHJlY3QgeD0iOS40NTUiIHk9IjIuNDg2IiB0cmFuc2Zvcm09Im1hdHJpeCgtMC43MDY2IC0wLjcwNzYgMC43MDc2IC0wLjcwNjYgMTMuNDQ5NCAxNi41NDcpIiBmaWxsPSIjODQ2ZGZmIiB3aWR0aD0iMS40IiBoZWlnaHQ9IjUuOTk3Ii8+DQo8cmVjdCB4PSI5LjQ1NiIgeT0iMi40ODYiIHRyYW5zZm9ybT0ibWF0cml4KC0wLjcwNzggMC43MDY0IC0wLjcwNjQgLTAuNzA3OCAyMS4yMTc4IDIuMTkzMykiIGZpbGw9IiM4NDZkZmYiIHdpZHRoPSIxLjM5OSIgaGVpZ2h0PSI1Ljk5OSIvPg0KPC9zdmc+DQo=");background-size:60%;background-color:rgba(229,229,229,0.7);z-index:31;width:13%;height:22%;float:right;background-repeat:no-repeat;background-position:50% 50%;border-radius:4px;top:73%;right:2.7%}.yvp-content.normal .yvp-main .yvp-mute-indicator{width:10%;height:17%;top:79.5%;right:2%;border-radius:7px}.yvp-content.yvp-state-fullscreen .yvp-main .yvp-mute-indicator{width:7%;height:12%;top:85%;right:2%;border-radius:18px}.yvp-overlay-hide-cursor{position:absolute;display:block;z-index:30;cursor:none;top:0;right:0;bottom:0;left:0}.yvp-custom-controls{position:absolute;z-index:29;display:none;height:100%;width:100%}#Stencil .channel-applet-wrap .yvp-state-start-screen .yvp-custom-controls,#Stencil .channel-applet-wrap .yvp-flag-playing .yvp-custom-controls{display:none}#Stencil .channel-applet-wrap .yvp-main .yvp-bottom-bar{z-index:30}@-moz-keyframes wl-add-notification-anim{40%{top:-29px;left:44px;opacity:1}100%{-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);top:-2px;left:58px;opacity:0}}@-webkit-keyframes wl-add-notification-anim{40%{top:-29px;left:44px;opacity:1}100%{-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);top:-2px;left:58px;opacity:0}}@-o-keyframes wl-add-notification-anim{40%{top:-29px;left:44px;opacity:1}100%{-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);top:-2px;left:58px;opacity:0}}@-ms-keyframes wl-add-notification-anim{40%{top:-29px;left:44px;opacity:1}100%{-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);top:-2px;left:58px;opacity:0}}@keyframes wl-add-notification-anim{40%{top:-29px;left:44px;opacity:1}100%{-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);-o-transform:scale(0);transform:scale(0);top:-2px;left:58px;opacity:0}}@-moz-keyframes wl-remove-notification-anim{70%{opacity:1}100%{opacity:0}}@-webkit-keyframes wl-remove-notification-anim{70%{opacity:1}100%{opacity:0}}@-o-keyframes wl-remove-notification-anim{70%{opacity:1}100%{opacity:0}}@-ms-keyframes wl-remove-notification-anim{70%{opacity:1}100%{opacity:0}}@keyframes wl-remove-notification-anim{70%{opacity:1}100%{opacity:0}}@-moz-keyframes flash-button{0%,100%{background-color:transparent}50%{background-color:#5f32fb}}@-webkit-keyframes flash-button{0%,100%{background-color:transparent}50%{background-color:#5f32fb}}@-o-keyframes flash-button{0%,100%{background-color:transparent}50%{background-color:#5f32fb}}@-ms-keyframes flash-button{0%,100%{background-color:transparent}50%{background-color:#5f32fb}}@keyframes flash-button{0%,100%{background-color:transparent}50%{background-color:#5f32fb}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}'),
  i.prototype.create=function(){var e=this,t={hideUponClick:!0},n=d.render(y,{strings:c.i18n});return e._topBar=n.querySelector(".yvp-top-bar"),e._bottomBar=n.querySelector(".yvp-bottom-bar"),e._customControls=n.querySelector(".yvp-custom-controls"),e._loginPrompt=n.querySelector(".yvp-login-prompt"),e._objectOverlay=n.querySelector(".yvp-object-overlay"),e._muteIndicator=n.querySelector(".yvp-mute-indicator"),e._playBtn=e._bottomBar.querySelector(".yvp-play-btn"),e._slider=e._bottomBar.querySelector(".yvp-slider"),e._timeDisplay=e._bottomBar.querySelector(".yvp-time-container"),e._settingBtn=e._bottomBar.querySelector(".yvp-setting-btn"),e._settingBtnNotification=e._settingBtn.querySelector(".yvp-settings-notification"),e._timeLabelContainer=e._bottomBar.querySelector(".yvp-time-container"),e._currentTimeLabel=e._bottomBar.querySelector(".yvp-current-time"),e._remainingTimeLabel=e._bottomBar.querySelector(".yvp-total-time"),e._timeLabelTooltip=new _(e._timeLabelContainer,c.i18n.REMAINING_TIME),e._watchLaterBtn=e._bottomBar.querySelector(".yvp-watch-later-btn"),e._ccBtn=e._bottomBar.querySelector(".yvp-cc-btn"),e._ccMenu=e._bottomBar.querySelector(".yvp-cc-menu"),e._ccToggleBtn=e._bottomBar.querySelector(".yvp-cc-menu-toggle"),e._CCLangNodes=e._bottomBar.querySelector(".yvp-cc-menu-languages-list"),e._CCOptionsBtn=e._bottomBar.querySelector(".yvp-cc-menu-options"),e._providerLogo=e._topBar.querySelector(".yvp-provider-logo"),e._contentType=e._topBar.querySelector(".yvp-content-type"),e._loginPromptCloseBtn=e._loginPrompt.querySelector(".yvp-login-prompt-close"),e._loginPromptLoginBtn=e._loginPrompt.querySelector(".yvp-login-yahoo-icn"),e._model.ui.showSettingScreen||(e._CCOptionsBtn&&(e._CCOptionsBtn.parentNode.removeChild(e._CCOptionsBtn),e._CCOptionsBtn=null),e._watchLaterBtn&&(e._watchLaterBtn.parentNode.removeChild(e._watchLaterBtn),e._watchLaterBtn=null)),e._sliderTap=new u(e._slider),e._onSliderTap=function(e){e.stopPropagation()},e._slider.addEventListener("tap",e._onSliderTap,e),e._timeLabelTap=new u(e._timeLabelContainer),e._onTimeLabelTap=function(t){t.stopPropagation(),e._eventBus.publish(s.API.UI_INTERACT,{srcElement:"ctrl-Timer"}),e._toggleSelectedTimeLabel()},e._timeLabelContainer.addEventListener("tap",e._onTimeLabelTap),e._watchLaterBtn&&(e._watchLaterTap=new u(e._watchLaterBtn),e._onWatchLaterTap=function(t){return t.preventDefault(),t.stopPropagation(),e._model.userPreferences.isAuthenticated?(e._watchLaterBtn.setAttribute("aria-haspopup",!1),e._pendingWatchLaterClickAnimation=!0,void(e._isWatchLaterEnqueued?(e._eventBus.publish(s.API.UI_INTERACT,{srcElement:"ctrl-watch-off"}),e._eventBus.publish(s.WL_CHANGE_REQUEST,{operation:"delete"})):(e._eventBus.publish(s.API.UI_INTERACT,{srcElement:"ctrl-watch-on"}),e._eventBus.publish(s.WL_CHANGE_REQUEST,{operation:"add"})))):void e.showLoginPrompt()},e._watchLaterBtn.addEventListener("tap",e._onWatchLaterTap),e._wlLabelTooltip=new _(e._watchLaterBtn,c.i18n.WATCH_LATER,t)),e._loginBtnTap=new u(e._loginPromptLoginBtn),e._onLoginBtnTap=function(t){t.preventDefault(),t.stopPropagation(),e._eventBus.publish(s.API.UI_INTERACT,{srcElement:"login-btn"}),e._eventBus.publish(s.UI_LOGIN,"ui_wltr"),d.showUserAuthPage(e._model)},e._loginPromptLoginBtn.addEventListener("tap",e._onLoginBtnTap),e._loginPromptCloseBtnTap=new u(e._loginPromptCloseBtn),e._onLoginPromptCloseBtnTap=function(t){t.preventDefault(),t.stopPropagation(),e.hideLoginPrompt()},e._loginPromptCloseBtn.addEventListener("tap",e._onLoginPromptCloseBtnTap),e._menuLabelTooltip=new _(e._settingBtn,c.i18n.MENU,t),e._bindCC(),e._handleKeyDown=function(t){var n=function(){t.preventDefault()};e._eventBus.publish(s.KEYDOWN,{keyCode:t.keyCode,shiftDown:t.shiftKey,ctrlDown:t.ctrlKey,altDown:t.altKey,target:t.target,preventDefault:n})},e._bindMuteIndicator(),e._view.getContentNode().addEventListener("keydown",e._handleKeyDown,!1),e._initAriaProperties(),[e._bottomBar,e._topBar,e._loginPrompt,e._customControls,e._objectOverlay,e._muteIndicator]},i.prototype._bindMuteIndicator=function(){var e,t=this;t._muteOnTimeout=function(n){n.stopPropagation(),e||(e=setTimeout(function(){t._eventBus.publish(s.CONTROLS_SET_MUTE,!1),t._eventBus.publish(s.API.UI_INTERACT,{srcElement:"ctrl-mute-btn-off"}),e=null},600))},["mouseenter","touchstart"].forEach(function(e){t._muteIndicator.addEventListener(e,t._muteOnTimeout)}),["mousemove","touchmove"].forEach(function(e){t._muteIndicator.addEventListener(e,t._muteOnTimeout)})},i.prototype._onKeyDown=function(e){var t=this,n=t._model.playbackState.volume,i=.05;switch(e.keyCode){case 27:t._view.updateViewOnEscPress();break;case 32:t._eventBus.publish(s.TOGGLE_PLAY_PAUSE);break;case 38:var r=n+i;t._eventBus.publish(s.CONTROLS_SET_VOLUME,r>1?1:r);break;case 40:var o=n-i;t._eventBus.publish(s.CONTROLS_SET_VOLUME,0>o?0:o);break;case 70:t._view.toggleFullscreen();break;case 191:e.shiftDown&&(t._view.toggleSettings(),t._eventBus.publish(s.SETTINGS_COMPONENT_SHOW,".yvp-settings-preferences"))}},i.prototype._syncMatureIndicator=function(){var e=this;e._isMature&&(e._contentType.innerHTML=c.i18n.MATURE,d.classList(e._contentType).remove("hide"))},i.prototype._onMediaItemLoaded=function(e){var t=this;t._isLive=e.isLive(),t._liveState=e.liveState,t._isMature=e&&e.ageGate&&"none"!==e.ageGate,t._contentType.innerHTML="",d.classList(t._contentType).add("hide"),t._isLive?t._setLiveMode():t._setVodMode()},i.prototype._bindCC=function(){var e=this;e._ccTap=new u(e._ccToggleBtn),e._onCCButtonTap=function(t){t.stopPropagation(),e._toggleCC(!e._isCCOn,!0)},e._ccToggleBtn.addEventListener("tap",e._onCCButtonTap,e),e._ccBtnTap=new u(e._ccBtn),e._ccBtn.addEventListener("tap",e._onCCButtonTap,e);var t;e._onCCBtnHover=function(n){n.stopPropagation(),t&&clearTimeout(t),d.classList(e._ccMenu).add("open"),e._eventBus.publish(s.CC_HOVER)},e._onCCBtnLeave=function(n){n.stopPropagation(),t=setTimeout(function(){d.classList(e._ccMenu).remove("open")},500)},["mouseenter","touchstart"].forEach(function(t){e._ccBtn.addEventListener(t,e._onCCBtnHover)}),["mousemove","touchmove"].forEach(function(t){e._ccBtn.addEventListener(t,e._onCCBtnHover)}),["mouseleave","touchend"].forEach(function(t){e._ccBtn.addEventListener(t,e._onCCBtnLeave)}),e._CCOptionsBtn&&(e._ccOptionTap=new u(e._CCOptionsBtn),e._onCCOptionTap=function(t){e._view.toggleSettings(e._settingBtn),e._eventBus.publish(s.API.UI_INTERACT,{srcElement:"cc-options-btn"}),e._eventBus.publish(s.CC.SETTINGS)},e._CCOptionsBtn.addEventListener("tap",e._onCCOptionTap))},i.prototype._unBindCC=function(){var e=this;e._ccTap&&e._ccToggleBtn&&(e._ccTap.destroy(),e._ccToggleBtn.removeEventListener("tap",e._onCCButtonTap,e)),e._ccBtnTap&&e._ccBtn&&(e._ccBtnTap.destroy(),e._ccBtn.removeEventListener("tap",e._onCCButtonTap,e)),e._resetAndRemoveCC()},i.prototype._processAndPropagateCC=function(e){var t=this;if(t._currentCCData!==e){t._CCLangNodes.innerHTML="",t._langTapList=[],t._currentCCData=e;var n=document.createDocumentFragment();e.langList.forEach(function(i){var r=document.createElement("li"),o=document.createElement("span");o.className="yvp-cc-square",o.appendChild(document.createTextNode("■")),r.className="yvp-cc-lang",r.appendChild(o),r.appendChild(document.createTextNode(a.prototype.getLanguageForCode.call(null,i))),r.langId=i,i===e.selectedLang&&(d.classList(r).add(M),t._selectedCCNode=r);var s=new u(r);t._langTapList.push(s),r.addEventListener("tap",function(e){e.stopPropagation(),t._onCCLangTap(r,!0)},t),n.appendChild(r)}),n.childNodes.length>0&&t._CCLangNodes.appendChild(n),t._setCCUIAvailability(!0)}},i.prototype._resetAndRemoveCC=function(){var e=this;e._langTapList&&e._langTapList.length>0&&e._langTapList.forEach(function(e){e.destroy()}),e._CCLangNodes.childNodes.length>0&&Array.prototype.forEach.call(e._CCLangNodes.childNodes,function(e){e.parentNode.removeChild(e)}),e._toggleCC(!1),e._selectedCCNode=null,e._setCCUIAvailability(!1)},i.prototype._toggleCC=function(e,t){var n=this;n._isCCOn!==e&&(n._setCCButtonsState(e),n._isCCOn=e),t&&(n._eventBus.publish(s.API.UI_INTERACT,{srcElement:"cc-"+(e?"on":"off")}),n._eventBus.publish(s.CC.UI_TOGGLE,e))},i.prototype._onCCLangTap=function(e,t){var n=this;e&&(e!==n._selectedCCNode&&(d.classList(n._selectedCCNode).remove(M),d.classList(e).add(M),n._selectedCCNode=e),t&&(n._eventBus.publish(s.API.UI_INTERACT,{srcElement:"cc-"+n._selectedCCNode.langId}),n._eventBus.publish(s.CC.LANGUAGE_CHANGE,n._selectedCCNode.langId)))},i.prototype._onLanguageChange=function(e){for(var t=this,n=0;n<t._CCLangNodes.childNodes.length;n++)if(t._CCLangNodes.childNodes[n].langId===e&&!d.classList(t._CCLangNodes.childNodes[n]).contains(M)){t._onCCLangTap(t._CCLangNodes.childNodes[n],!1),t._eventBus.publish(s.CC.LANGUAGE_CHANGE,e);break}},i.prototype._removeCCHover=function(){var e=this;e._ccMenu&&d.classList(e._ccMenu).remove("open")},i.prototype._setCCButtonsState=function(e){var t=this;e?(d.classList(t._ccToggleBtn).add(M),d.classList(t._ccBtn).add(v)):(d.classList(t._ccToggleBtn).remove(M),d.classList(t._ccBtn).remove(v))},i.prototype._setCCUIAvailability=function(e){var t=this;e?d.classList(t._ccBtn).remove("hide"):d.classList(t._ccBtn).add("hide")},i.prototype._setCCMenuOptionsButtonAvailability=function(e){var t=this;e?d.classList(t._CCOptionsBtn).add(M):d.classList(t._CCOptionsBtn).remove(M)},i.prototype._onWLChangeReqComplete=function(e){var t=this;"success"===e.status?"add"===e.operation?t._isWatchLaterEnqueued=!0:t._isWatchLaterEnqueued=!1:"add"===e.operation&&!e.err&&t._model.userPreferences.isAuthenticated?t._isWatchLaterEnqueued=!0:"delete"===e.operation&&t._model.userPreferences.isAuthenticated&&e.err&&e.err.details&&e.err.details.statusCode&&404===e.err.details.statusCode&&(t._isWatchLaterEnqueued=!1),t._updateWatchLaterIcon(),t._pendingWatchLaterClickAnimation=!1},i.prototype._updateWatchLaterIcon=function(){var e=this,t=o.ie&&o.ie<10;e._watchLaterBtn&&(e._isWatchLaterEnqueued?(e._settingBtnNotification.innerHTML=c.i18n.WATCH_LATER_ADDED,d.classList(e._watchLaterBtn).add("yvp-wl-enqueued"),d.classList(e._settingBtn).remove("yvp-run-wl-remove-anim"),!t&&e._pendingWatchLaterClickAnimation&&d.classList(e._settingBtn).add("yvp-run-wl-add-anim")):(e._settingBtnNotification.innerHTML=c.i18n.WATCH_LATER_REMOVED,d.classList(e._watchLaterBtn).remove("yvp-wl-enqueued"),d.classList(e._settingBtn).remove("yvp-run-wl-add-anim"),!t&&e._pendingWatchLaterClickAnimation&&d.classList(e._settingBtn).add("yvp-run-wl-remove-anim")),t&&e._pendingWatchLaterClickAnimation&&(clearTimeout(e._settingBtn.animTimeout),d.classList(e._settingBtn).add("yvp-show-growl-notification"),e._settingBtn.animTimeout=setTimeout(function(){d.classList(e._settingBtn).remove("yvp-show-growl-notification"),e._settingBtn.animTimeout=null},1e3)),e.syncAriaState())},i.prototype._onAdPlaying=function(){var e=this;e._setAdMode()},i.prototype._onVideoPlaying=function(){var e=this;e._isLive?e._setLiveMode():e._setVodMode()},i.prototype._onVideoEnded=function(){var e=this;e._isWatchLaterEnqueued=!1,d.classList(e._settingBtn).remove("yvp-run-wl-remove-anim"),d.classList(e._settingBtn).remove("yvp-run-wl-add-anim"),d.classList(e._settingBtn).remove("yvp-show-growl-notification"),e._watchLaterBtn&&d.classList(e._watchLaterBtn).remove("yvp-wl-enqueued")},i.prototype._updateAdBreaks=function(e){var t=this;if(t._adBreaks=e,t._duration){for(var n=t._slider.querySelectorAll(".yvp-ad-break"),i=0;i<n.length;i++)t._slider.removeChild(n[i]);e&&e.forEach(function(e){var n=document.createElement("div");d.classList(n).add("yvp-ad-break"),e.occurred&&d.classList(n).add("occurred"),n.style.left=e.time/t._duration*100+"%",t._slider.appendChild(n)})}},i.prototype._onPlaybackProgress=function(e,t,n,i){var r=this;p.isNumber(n)&&r._duration!==n&&(r._duration=n,r._updateAdBreaks(r._adBreaks))},i.prototype._onAdPlaybackProgress=function(e,t,n,i){var r=this;if(p.isNumber(t)&&p.isNumber(n)&&r._countdownTimeIndicator){var o=Math.round(n-t);if(o>0){var a=o>1?c.i18n.NUM_SECONDS:c.i18n.NUM_SECOND;r._countdownTimeIndicator.innerHTML=d.strSubstitute(a,{"num-seconds":o})}else r._countdownTimeIndicator.innerHTML=""}},i.prototype._updateAdCount=function(e,t){var n=this;n._countIndicatorContainer||(n._countIndicatorContainer=document.createElement("div"),d.classList(n._countIndicatorContainer).add("yvp-ad-count-container"),n._topBar.appendChild(n._countIndicatorContainer)),n._countIndicator||(n._countIndicator=document.createElement("div"),d.classList(n._countIndicator).add("yvp-ad-count"),n._countIndicatorContainer.appendChild(n._countIndicator)),n._countdownTimeIndicator||(n._countdownTimeIndicator=document.createElement("div"),d.classList(n._countdownTimeIndicator).add("yvp-ad-countdowntimer"),n._countIndicatorContainer.appendChild(n._countdownTimeIndicator)),n._countIndicator.innerHTML=c.i18n.ADVERTISEMENT,!p.isNullOrUndefined(e)&&!p.isNullOrUndefined(t)&&t>1&&(n._countIndicator.innerHTML+=" "+e+" of "+t),n._contentType.innerHTML=""},i.prototype._onPlaybackStarted=function(){var e=this;e._bindProviderLogo()},i.prototype.showLoginPrompt=function(){var e=this;e._watchLaterBtn&&(e._watchLaterBtn.setAttribute("aria-haspopup",!0),e._watchLaterBtn.setAttribute("aria-owns","yvp-login-prompt")),d.classList(e._loginPrompt).add("yvp-loginp-show"),e._loginPrompt.focus(),e._eventBus.publish(s.API.UI_INTERACT,{srcElement:"login-view"})},i.prototype.hideLoginPrompt=function(){var e=this;d.classList(e._loginPrompt).remove("yvp-loginp-show")},i.prototype._findStream=function(e){var t=this,n=t._model.playlist.getCurrentItem().streams,i=null;return i=e?l.findStreamByProperty(n,"resolution",e,t._model.capabilities[t._model.playbackState.rendererType]):l.findStreamByProperty(n,"bitrate",t._model.playback.desiredBitrate,t._model.capabilities[t._model.playbackState.rendererType])},i.prototype._setAdMode=function(){var e=this;d.classList(e._slider).add("yvp-disable"),d.classList(e._contentType).add("hide"),d.classList(e._timeDisplay).add("yvp-hide"),e._contentType.innerHTML=c.i18n.ADVERTISEMENT},i.prototype._setLiveMode=function(){var e=this;d.classList(e._slider).add("yvp-disable"),d.classList(e._timeDisplay).add("yvp-hide");var t=e._model.ui.contentTypeLabel;p.isString(t)?(e._contentType.innerHTML=t,d.classList(e._contentType).remove("hide")):e._liveState&&"live"===e._liveState&&(e._contentType.innerHTML=c.i18n.LIVE,d.classList(e._contentType).remove("hide"))},i.prototype._setVodMode=function(){var e=this;d.classList(e._slider).remove("yvp-disable"),d.classList(e._timeDisplay).remove("yvp-hide"),e._syncMatureIndicator()},i.prototype._bindProviderLogo=function(){var e=this,t=e._model.playlist.getCurrentItem(),n=t.provider.providerLogoUrl,i=t.shareUrl;n?(d.classList(e._providerLogo).remove("yvp-hide"),e._providerLogo.style.backgroundImage="url("+n+")",e._providerLogo.setAttribute("href",i)):d.classList(e._providerLogo).add("yvp-hide")},i.prototype._toggleSelectedTimeLabel=function(){var e=this,t=null;d.classList(e._currentTimeLabel).contains("yvp-hide")?(d.classList(e._currentTimeLabel).remove("yvp-hide"),d.classList(e._remainingTimeLabel).add("yvp-hide"),e._timeLabelTooltip.setText(c.i18n.ELAPSED_TIME),t="1"):(d.classList(e._currentTimeLabel).add("yvp-hide"),d.classList(e._remainingTimeLabel).remove("yvp-hide"),e._timeLabelTooltip.setText(c.i18n.REMAINING_TIME),t="2"),e._eventBus.publish(s.CTRL_TIMER,t)},i.prototype._unBindMuteIndicator=function(){var e=this;["mouseenter","touchstart"].forEach(function(t){e._muteIndicator.removeEventListener(t,e._muteOnTimeout)}),["mousemove","touchmove"].forEach(function(t){e._muteIndicator.removeEventListener(t,e._muteOnTimeout)})},i.prototype._initAriaProperties=function(){var e=this;e._watchLaterBtn&&e._watchLaterBtn.setAttribute("aria-label",c.i18n.WATCH_LATER),e._loginPrompt.setAttribute("aria-label",c.i18n.LOGIN_BUTTON_LABEL),e._loginPromptCloseBtn.setAttribute("aria-label",c.i18n.CLOSE),e._loginPromptLoginBtn.setAttribute("aria-label",c.i18n.LOGIN_BUTTON_LABEL)},i.prototype.syncAriaState=function(){var e=this;e._watchLaterBtn&&(e._isWatchLaterEnqueued?e._watchLaterBtn.setAttribute("aria-label",c.i18n.REMOVE_FROM_WATCH_LATER):e._watchLaterBtn.setAttribute("aria-label",c.i18n.WATCH_LATER))},i.prototype.destroy=function(){var e=this;e._view.getContentNode().removeEventListener("keydown",e._handleKeyDown,!1),e._sliderTap&&e._slider&&(e._sliderTap.destroy(),e._slider.removeEventListener("tap",e._onSliderTap)),e._webLinkTap&&e._webLinkBtn&&(e._weblinkTap.destroy(),e._weblinkBtn.removeEventListener("tap",e._onWebLinkTap)),e._embedLinkTap&&e._embedLinkBtn&&(e._embedlinkTap.destroy(),e._embedlinkBtn.removeEventListener("tap",e._onEmbedLinkTap)),this._unBindCC(),e._timeLabelTap&&e._timeLabelContainer&&(e._timeLabelTap.destroy(),e._timeLabelContainer.removeEventListener("tap",e._onTimeLabelTap)),e._watchLaterTap&&e._watchLaterBtn&&(e._watchLaterTap.destroy(),e._watchLaterBtn.removeEventListener("tap",e._onWatchLaterTap)),e._ccOptionTap&&e._CCOptionsBtn&&(e._ccOptionTap.destroy(),e._CCOptionsBtn.removeEventListener("tap",e._onCCOptionTap)),e._loginBtnTap&&e._loginPromptLoginBtn&&(e._loginBtnTap.destroy(),e._loginPromptLoginBtn.removeEventListener("tap",e._onLoginBtnTap)),e._loginPromptCloseBtnTap&&e._loginPromptCloseBtn&&(e._loginPromptCloseBtnTap.destroy(),e._loginPromptCloseBtn.removeEventListener("tap",e._onLoginPromptCloseBtnTap)),e._timeLabelTooltip.destroy(),e._menuLabelTooltip.destroy(),e._watchLaterBtn&&e._wlLabelTooltip&&e._wlLabelTooltip.destroy(),e._unBindMuteIndicator(),e.node=null}},{"../../../lib":"bRhrlU","../../../lib/user-agent":"ty5FFo","../cc":"zKzgQw","../error":18,"../event":"YJm+dH","../stream":"Af6MnA","../strings":"XwKsC9","../tap":"dsc79Q","../util":"jJTEqU","./uiwidgets/tooltip":87,"./yahoo-controls.html":88,fs:134,"insert-css":149}],90:[function(e,t,n){"use strict";function i(e,t,n,o,a,s,l){var c=this;c.playbackId=e,c.pos=i.AD_ORDER[t]||"",c.position=t||"",c.adId=s||"",c.streams=n||[],c.clickUrl=o||"http://screen.yahoo.com/",c.type=a||i.ADTYPES.NO_AD,c.duration=l||r.DEFAULT_AD_DURATION}t.exports=i;var r=e("./common/Constants");i.AD_ORDER={bumper:"start1",preroll:"start0",postroll:"end",midroll:"immediate"},i.POSITION={bumper:"start0",preroll:"start1",postroll:"end",midroll:"immediate"},i.ADTYPES={NORMAL:r.AD,NO_AD:r.NOAD,VPAID:r.VPAID}},{"./common/Constants":96}],91:[function(e,t,n){"use strict";function i(){var e=this;e.priorityList=[],e.communicatorAllocation={},e.settingMap=null,e.communicatorIdNameMap={},e.algoId=null,e.propertyId="",e.disableFallback=!1}t.exports=i;var r=e("./CommunicatorSpec");i.prototype._canService=function(e,t){for(var n=t&&t.length,i=0;i<t.length;i++)n=n&&e.indexOf(t[i])>-1;return n},i.prototype.pickCommunicator=function(e){var t,n,i=this,o=0,a=null,s=null;if(e){for(t in i.communicatorAllocation)i.communicatorAllocation.hasOwnProperty(t)&&i.communicatorAllocation[t]>o&&(o=i.communicatorAllocation[t],a=t);a&&(n=i.settingMap["NETWORK."+a+".adTypes"].split(","),i._canService(n,e.actionValues)&&(s=new r,s.communicatorId=a,s.communicatorName=i.communicatorIdNameMap[a],s.isFallback=!1,s.propertyMap=i.settingMap,s.propertyId=i.propertyId))}return s},i.prototype.pickFallbackCommunicator=function(e){var t,n,i=this,o=0,a=null;if(!i.disableFallback&&e){for(n=e.communicatorId,o=0;o<i.priorityList.length&&i.priorityList[o]!==n;o++);t=i.priorityList[o+1],t&&(a=new r,a.communicatorId=t,a.communicatorName=i.communicatorIdNameMap[t],a.isFallback=!0,a.propertyMap=i.settingMap,a.propertyId=i.propertyId)}return a},i.prototype.pickPossibleCommunicators=function(e){var t,n=this,i=[];for(t=n.pickCommunicator(e);t;)i.push(t),t=n.pickFallbackCommunicator(t);return i}},{"./CommunicatorSpec":93}],92:[function(e,t,n){"use strict";var i=(e("../../util"),e("./Allocation")),r=e("../../../../lib");n.understandAllocation=function(e){if(!e)return null;var t=e.Settings||{},n=e.AllocationModule||{},o=e.NetworkModules;r.isArray(o)||(o=[o.NetworkModule]);var a,s,l,c,u,d,p={},_=null;for(c=0;c<t.length;c++)l=t[c],u=l["@name"],d=l["@value"],p[u]=d;var y=p["SELECTOR.ID"],M="true"===p["SELECTOR."+y+".disablePriorityFallback"],v=p["SYSTEM.PID"];for(c=0;c<n.length;c++)a=n[c],a["@id"]===y&&a["@uri"].indexOf("PercentageAllocationManager")&&(_=new i,_.algoId=y,_.disableFallback=M,_.propertyId=v);if(_){var L,m,E={};for(c=0;c<o.length;c++)s=o[c],L=s["@id"],m=s["@name"],E[L]=m;_.communicatorIdNameMap=E;var g,A,T,b;for(g in E)E.hasOwnProperty(g)&&(b="SELECTOR."+y+".NETWORK."+g,A=parseInt(p[b],10),T=parseInt(p[b+".priority"],10),_.priorityList[T]=g,_.communicatorAllocation[g]=A);_.settingMap=p}return _}},{"../../../../lib":"bRhrlU","../../util":"jJTEqU","./Allocation":91}],93:[function(e,t,n){"use strict";function i(){var e=this;e.propertyMap={},e.communicatorId=null,e.communicatorName=null,e.isFallback=!1,e.propertyId=""}t.exports=i,i.prototype.getSetting=function(e){var t=this;return t.propertyMap["NETWORK."+t.communicatorId+"."+e]}},{}],94:[function(e,t,n){"use strict";function i(e,t,n){var i=this;i.timestamp=(new Date).getTime(),i.payload=t,i.key=e,i.cacheIdentifier=n}t.exports=i},{}],95:[function(e,t,n){"use strict";function i(e){var t=this;t._yvapBus=e,s.call(t,"cachemanager-bus"),t._IDENTIFIER="adCache"+Math.floor(100*Math.random())+(new Date).getTime(),t._ruleCache={},t._allocationCache={},t._playerDataCache={},t._cuePointsCache={},t._adCache={},t._adEngine=new r,t._positionsToPrefetch=[u.BUMPER,u.PREROLL,u.POSTROLL],t._midrollsCuePoints={}}t.exports=i;var r=e("../engine/AdEngine"),o=(e("../allocation/AllocationManager"),e("../communicator/Ad"),e("../communicator/AdResponse"),e("../communicator/CommunicatorFactory")),a=e("../../util"),s=e("../../../../lib/event-bus"),l=e("./CacheEntry"),r=e("../engine/AdEngine"),c=e("../common/Events"),u=e("../common/Constants"),d=e("../../../../lib/user-agent");a.inherits(i,s);var p=12e5,_=10;i.prototype.prefetchCompleteHandler=function(e,t,n){var i=this;i._yvapBus.publish(c.AD_CALL_END,n,e),i.addAdResponseForKey(e,t)},i.prototype.prefetchFailureHandler=function(e,t,n,i){var r,o=this;r=e.adSpec,o._yvapBus.publish(c.AD_CALL_END,n,e),e&&e.setNewRedirectUrl&&(e.adCallSequence=r.adCallSequence,e.errorState=i,o.addAdResponseForKey(e,t))},i.prototype.updateAdCache=function(e,t){var n,i,r,a,s,l,d,p,_,y,M=this,v=M.getRuleForClipId(t),L=M.getAllocationForClipId(t),m=M.getPlayerDataForClipId(t),E={},g="",A="-1";e=e||[];for(var T=0;T<e.length;T++)n=e[T],i=n.adXML,r=n.key,g=r.adSystem||"",A=r.brId||"-1",d=r.pos,a=r.network,d&&i&&(a===u.MME||a===u.BRX)&&("BMPR"===d?d=u.BUMPER:"VID"===d&&(d=u.PREROLL),E[d]=i);if(v&&L&&m)for(T=0;T<M._positionsToPrefetch.length;T++){d=M._positionsToPrefetch[T],p=M._adEngine.preEvaluate(d,v);for(var b=0;b<p.length;b++){_=p[b],y=L.pickPossibleCommunicators(_);for(var I=0;I<y.length;I++)if(l=y[I],s=o.getCommunicatorUsingSpec(l),s&&s.allowPrefetch())if(s.subscribe(c.AD_READY,M.prefetchCompleteHandler,M),s.subscribe(c.AD_FAILURE,M.prefetchFailureHandler,M),M._yvapBus.publish(c.AD_CALL_START,s),E[d]){var C=E[d];s.prefetchAd(C,_,m,g,A)}else s.getNewAd(_,m)}}},i.prototype.getAd=function(e,t,n){var i=this,r=null;if(e&&t&&n){var a=i.getPlayerDataForClipId(e),s=o.getCommunicatorUsingSpec(t);if(s){var l=s.getKey(n,a);r=i.getAdResponseForKey(l),r||i.getNewAd(s,n,a)}}return r},i.prototype.getNewAd=function(e,t,n){var i=this;e&&(e.subscribe(c.AD_READY,i.prefetchCompleteHandler,i),e.subscribe(c.AD_FAILURE,i.prefetchFailureHandler,i),i._yvapBus.publish(c.AD_CALL_START,e),e.getNewAd(t,n))},i.prototype.isMyOwn=function(e){var t=this;return e&&e.cacheIdentifier===t._IDENTIFIER},i.prototype.hasEntryExpired=function(e){return e&&(new Date).getTime()-e.timestamp>=p},i.prototype.hasBucketExpired=function(e){return e&&(new Date).getTime()-e.timestamp>=p},i.prototype._sortAscendingByTimeStamp=function(e,t){return e.timestamp>t.timestamp},i.prototype._cleanExpiredEntries=function(e){for(var t,n=this,i=[],r=0;r<e.length;r++)t=e[r],n.hasEntryExpired(t)||i.push(t);return i},i.prototype.sync=function(){var e,t,n,i,r,o,s=this,l=[],c=0;for(e in s._adCache)if(s._adCache.hasOwnProperty(e)){if(t=s._adCache[e]||[],l=s._cleanExpiredEntries(t),l.length>0&&!d.tv){for(r=a.localStorage.get(e),o=[],r&&(s.hasBucketExpired(r)?a.localStorage.remove(e):o=r.bucket||[]),o=s._cleanExpiredEntries(o),c=o.length,n=0;_-c>n;n++)i=l.shift(),i&&o.push(i);if(o.length>0){if(r={},r.bucket=o,r.timestamp=(new Date).getTime(),!a.localStorage.put(e,r)){for(c=l.length,n=0;_-c>n;n++)i=o.shift(),i&&!s.hasEntryExpired(i)&&l.push(i);a.localStorage.remove(e)}}else a.localStorage.remove(e)}s._adCache[e]=l}},i.prototype.addAdResponseForKey=function(e,t){var n=this,i=new l(t,e,n._IDENTIFIER),r=n._adCache[t]||[];r.push(i),n._adCache[t]=r,e.isCached=!0,n._yvapBus.publish(c.CACHE_UPDATE,t,e)},i.prototype.getAdResponseForKey=function(e){var t,n,i,r,o=this,s=null;for(n=o._adCache[e]||[],r=0;r<n.length;r++)if(t=n[r],!o.hasEntryExpired(t)){n.splice(r,1);break}if(t)s=t.payload;else if(i=a.localStorage.get(e)){for(o.hasBucketExpired(i)?(a.localStorage.remove(e),n=[]):n=i.bucket||[],r=0;r<n.length;r++)if(t=n[r],!o.hasEntryExpired(t)){n.splice(r,1);break}n.length>0?(i.bucket=n,i.timestamp=(new Date).getTime(),a.localStorage.put(e,i)):a.localStorage.remove(e)}return t&&(s=t.payload,s.cacheState=o.isMyOwn(t)?"l0":"l1"),s},i.prototype.addRuleForClipId=function(e,t){var n=this;e&&t&&(n._ruleCache[t]=e)},i.prototype.getRuleForClipId=function(e){var t=this;return t._ruleCache[e]},i.prototype.addAllocationForClipId=function(e,t){var n=this;e&&t&&(n._allocationCache[t]=e)},i.prototype.getAllocationForClipId=function(e){var t=this;return t._allocationCache[e]},i.prototype.addPlayerDataForClipId=function(e,t){var n=this;e&&t&&(n._playerDataCache[t]=e)},i.prototype.getPlayerDataForClipId=function(e){var t=this;return t._playerDataCache[e]},i.prototype.addCuePointsForClipId=function(e,t){var n=this;e&&t&&(n._midrollsCuePoints[t]=e)},i.prototype.getCuePointsForClipId=function(e){var t=this;return t._midrollsCuePoints[e]}},{"../../../../lib/event-bus":"3ECu9u","../../../../lib/user-agent":"ty5FFo","../../util":"jJTEqU","../allocation/AllocationManager":92,"../common/Constants":96,"../common/Events":99,"../communicator/Ad":101,"../communicator/AdResponse":102,"../communicator/CommunicatorFactory":106,"../engine/AdEngine":119,"./CacheEntry":94}],96:[function(e,t,n){"use strict";n.MARKETING_AD_BREAK=3,n.AD_CACHE_EXPTIME=12e5,n.HTTP="http://",n.HTTPS="https://",n.SSL="https:",n.HTML="html",n.PROGRESSIVE="progressive",n.AD="ad",n.NOAD="noad",n.VPAID="vpaid",n.OVERLAY="overlay",n.VPAID_FLASH_FORMAT="application/x-shockwave-flash",n.VPAID_JS_FORMAT="application/javascript",n.STATIC_RESORUCE="static",n.IFRAME_RESORUCE="iframe",n.HTML_RESORUCE="html",n.OVERLAY_IMAGE="image/jpeg",n.OVERLAY_VPAID="application/x-shockwave-flash",n.BUMPER="bumper",n.PREROLL="preroll",n.POSTROLL="postroll",n.NON_LINEAR="overlay",n.MIDROLL="midroll",n.CLIP_START="clip-start",n.CLIP_END="clip-end",n.COMPANION="companion",n.RULES_MISSING="rules-missing",n.CLIP_DATA_MISSING="clip-data-missing",n.CACHE_L0="l0",n.CACHE_L1="l1",n.CACHE_L2="l2",n.MME="MME",n.FREEWHEEL="FREEWHEEL_VAST",n.CBS="CBS",n.DFP="DFP",n.PREVIEW="PREVIEW",n.YAXv="YAXv",n.BRX="BRX",n.NFL_FREE_TIME=240,n.NFL_SESSION_TIME=14400,n.NFL_PREROLL="NFL_Preroll",n.NFL_ONLOAD="NFL_onLoad",n.NFL_NOW_LMSID="a0Vd0000003unOyEAI",n.NFL_SESSION_COOKIE="rvl_NFL",n.YVAP_INFO_AD_BREAKS="adBreaks",n.MAX_ADS_MIDROLL=4,n.MIDROLL_PREFETCH_TIMER=18e5,n.DEFAULT_AD_DURATION=30,n.VIEWABILITY_ON=!0,n.ADBLOCKER=!1,n.INTERNAL_POLLING_INTERVAL=200,n.TIME_FOR_VIEWABLE_IMPRESSION=2e3,n.VIEWABILITY_THRESHOLD=.5,n.VIEWABILITY_MEASURABLE=1,n.VIEWABILITY_NOT_MEASURABLE_IFRAME=2,n.VIEWABILITY_NOT_MEASURABLE_NO_DARLA=3,n.PLAYER_AUTO_PLAY_ON=1,n.PLAYER_AUTO_PLAY_OFF=2,n.PLAYER_SOUND_ON=1,n.PLAYER_SOUND_OFF=2,n.PLAYER_IN_BANNER=1,n.PLAYER_NOT_IN_BANNER=2,n.PLAYER_LOCATION_ABOVE_THE_FOLD=1,n.PLAYER_LOCATION_BELOW_THE_FOLD=2,n.UNKNOWN=3,n.STATUS_INITIALIZATION=0,n.STATUS_SWF_LOADED=1,n.STATUS_AD_INITED=2},{}],97:[function(e,t,n){"use strict";function i(){var e=o.getCookie("yvapF");return e?JSON.parse(e):{}}function r(e){var t=JSON.stringify(e);o.setCookie("yvapF",t,{expires:new Date(Date.now()+1e5),path:"/",session:!0})}var o=e("../../util");n.getTotalClipCount=function(){var e=i(),t=e.cc;return t?t:0},n.incrementTotalClipCount=function(){var e=i(),t=e.cc;t=t?t+1:1,e.cc=t,r(e)},n.resetTotalClipCount=function(){var e=i();e.cc=0,r(e)},n.getRecentClipCount=function(){var e=i(),t=e.rcc||0;return t},n.incrementRecentClipCount=function(){var e=i();e.rcc=(e.rcc||0)+1,r(e)},n.resetRecentClipCount=function(){var e=i();e.rcc=0,r(e)},n.getTotalVideoLength=function(){var e=i(),t=e.vl||0;return t},n.incrementTotalVideoLength=function(e){var t=i(),n=e||1;t.vl=(t.vl||0)+n,r(t)},n.resetTotalVideoLength=function(){var e=i();e.vl=0,r(e)},n.getRecentVideoLength=function(){var e=i(),t=e.rvl||0;return t},n.incrementRecentVideoLength=function(e){var t=i(),n=e||1;t.rvl=(t.rvl||0)+n,r(t)},n.incrementNFLVideoLength=function(e){var t=i(),n=e||1;t.rvl_NFL=(t.rvl_NFL||0)+n,r(t)},n.getNFLVideoLength=function(e){var t=i(),n=t.rvl_NFL||0;return n},n.resetRecentVideoLengthNFL=function(){var e=i();e.rvl_NFL=0,r(e)},n.createNFLSession=function(){var e=i();(0===parseInt(e.session_NFL,10)||isNaN(parseInt(e.session_NFL,10)))&&(e.session_NFL=(new Date).getTime()/1e3,r(e))},n.resetNFLSession=function(){var e=i();e.session_NFL=0,r(e)},n.getNFLSession=function(){var e=i(),t=e.session_NFL||0;return t},n.resetRecentVideoLength=function(){var e=i();e.rvl=0,r(e)},n.getAdLength=function(){var e=i(),t=e.al||0;return t},n.incrementAdLength=function(e){var t=i(),n=e||1;t.al=(t.al||0)+n,r(t)},n.resetAdLength=function(){var e=i();e.al=0,r(e)},n.getAdCount=function(){var e=i(),t=e.ac||0;return t},n.incrementAdCount=function(){var e=i();e.ac=(e.ac||0)+1,r(e)},n.resetAdCount=function(){var e=i();e.ac=0,r(e)}},{"../../util":"jJTEqU"}],98:[function(e,t,n){"use strict";n.AD_CALL_TIMEOUT="ERR_AD_CALL_TIMEOUT",n.XML_PARSING="ERR_XML_PARSING",n.RESPONSE_GENERIC="ERR_RESPONSE_GENERIC",n.EMPTY_RESPONSE="ERR_EMPTY_RESPONSE",n.NO_PARSER="ERR_NO_PARSER",n.MISSING_ADTGT="ERR_MISSING_ADTGT",n.REQUEST_GENERIC="ERR_REQUEST_GENERIC",n.INCOMPATIBLE_MEDIA="ERR_INCOMPATIBLE_MEDIA",n.MEDIA_PLAYBACK="ERR_MEDIA_PLAYBACK",n.PLAYER_TIMEOUT="PLAYER_TIMEOUT",n.GENERIC="ERR_GENERIC",n.VPAID_TIMEOUT="ERR_VPAID_TIMEOUT",n.THIRD_PARTY_NO_AD="THIRD_PARTY_NO_AD",n.SSL_MISMATCH="SSL_MISMATCH",n.MISSING_SPACEID="MISSING_SPACEID",n.ADBLOCKER="ADBLOCKER",n.VPAID_SWF_DOWNLOAD_ERROR="ERR_VPAID_SWF_DOWNLOAD_ERROR"},{}],99:[function(e,t,n){"use strict";n.AD_READY="ad-ready",n.AD_FAILURE="ad-failure",n.CACHE_UPDATE="cache-update",n.CACHE_REFRESH_REQUEST="cache-refresh-request",n.AD_METRIC="ad-metric",n.BEGIN_AD_EXP="begin-ad-experience",n.AD_OPPORTUNITY="ad-opportunity",n.NULL_AD_OPPORTUNITY="null-ad-opportunity",n.AD_CALL_START="ad-call-start",n.AD_CALL_END="ad-call-end",n.AD_REQUESTED="ad-requested",n.AD_SUBMITTED="ad-submitted",n.AD_DELIVERED="ad-delivered",n.AD_DELIVERY_ERROR="ad-delivery-error",n.VIDEO_START="video-start",n.VIDEO_END="video-end",n.AD_PAUSED="ad-paused",n.AD_RESUMED="ad-resumed",n.AD_STOPPED="ad-stopped",n.PLAYER_FULLSCREEN="player-fullscreen",n.ADBREAK_START="adbreak-start",n.MIDROLL_START="midroll_start",n.AD_BREAK_ENDED="ad-break-ended",n.AD_BREAK_SUBMITTED="ad-break-sumbitted",n.VPAID_AD_INITED="vpaid-ad-inited",n.VPAID_SWF_LOAD_START="vpaid-swf-load-start",n.VPAID_SWF_LOAD_END="vpaid-swf-load-end",n.OVERLAY_CLICK="overlay-click",n.OVERLAY_RENDERED="overlay-rendered",n.PLAYER_SWF_READY="player-swf-ready",n.VPAID_PREFETCH_REQUEST="vpaid-prefetch-request",n.COMPANION_ADS_DELIVERED="companion-ads-delivered"},{}],100:[function(e,t,n){"use strict";n.AdLoaded="AdLoaded",n.AdStarted="AdStarted",n.AdStopped="AdStopped",n.AdLinearChange="AdLinearChange",n.AdExpandedChange="AdExpandedChange",n.AdRemainingTimeChange="AdRemainingTimeChange",n.AdVolumeChange="AdVolumeChange",n.AdImpression="AdImpression",
  n.AdVideoStart="AdVideoStart",n.AdVideoFirstQuartile="AdVideoFirstQuartile",n.AdVideoMidpoint="AdVideoMidpoint",n.AdVideoThirdQuartile="AdVideoThirdQuartile",n.AdVideoComplete="AdVideoComplete",n.AdClickThru="AdClickThru",n.AdUserAcceptInvitation="AdUserAcceptInvitation",n.AdUserMinimize="AdUserMinimize",n.AdUserClose="AdUserClose",n.AdPaused="AdPaused",n.AdPlaying="AdPlaying",n.AdLog="AdLog",n.AdError="AdError",n.AdTimeout="AdTimeout",n.AdProgress="AdProgress",n.AdSwfDownloadError="VPAIDSwfDownloadError"},{}],101:[function(e,t,n){"use strict";function i(){var e=this;e.adId=null,e.creativeId=null,e.bookingId=null,e.redirectUrl="",e.adFormat=null,e.streams=[],e.beacons={},e.params={},e.url="",e.type="",e.nonLinearAd=null,e.companion=[],e.isSkippable=!1,e.skipCountdown=5,e.isFallback=!1,e.fallbackFor="",e.timestamp=0,e.adXmlParseErr=null}t.exports=i,i.prototype.addBeaconOfType=function(e,t){var n,i=this;t&&e&&(t=t.toLowerCase(),n=i.beacons[t]||[],e=e.trim(),n.push(e),i.beacons[t]=n)},i.prototype.addMedia=function(e,t,n,i){if(e&&t&&n){var r=this;r.streams.push({url:n,format:e,bitrate:t,deliveryType:i})}},i.prototype.merge=function(e){var t,n,i,r,o=this;if(e&&e.merge){for(i in e.beacons)e.beacons.hasOwnProperty(i)&&(t=e.beacons[i]||[],t.length>0&&(n=(o.beacons[i]||[]).concat(t),o.beacons[i]=n));for(r in e.params)e.params.hasOwnProperty(r)&&(o.params[r]=e.params[r]);o.creativeId=e.creativeId,o.bookingId=e.bookingId,o.timestamp=e.timestamp,o.impressionId=e.impressionId,o.serveTime=e.serveTime,o.serveId=e.serveId,o.spaceId=e.spaceId,o.position=e.position}},i.prototype.addParamOfName=function(e,t){var n=this;t&&e&&(n.params[t.toLowerCase()]=e)},i.prototype.getParamOfName=function(e){var t=this;return e?t.params[e.toLowerCase()]:void 0},i.prototype.getBeaconsOfType=function(e){var t=this;return e?t.beacons[e.toLowerCase()]:void 0}},{}],102:[function(e,t,n){"use strict";function i(){var e=this;e.adSpec=null,e.adObj=null,e.fallbackAdObj=null,e.isCached=!1,e.communicatorSpec=null,e.cacheState=null,e.errorState=null,e.redirectList=[],e.firstCall="",e.type="",e.adCallSequence=0,e.midrollbreak=null,e.midrolladsequence=null,e.adDuration=0,e.adIdBeacon=0}t.exports=i,i.prototype.toString=function(){return JSON.stringify(this)},i.prototype.setNewRedirectUrl=function(e){var t=this;t.redirectList&&t.redirectList.push(e)},i.prototype.clone=function(e){var t=this;if(e&&e.setNewRedirectUrl)for(var n in e)e.hasOwnProperty(n)&&("redirectList"===n?t.redirectList=[].concat(e.redirectList):t[n]=e[n])}},{}],103:[function(e,t,n){"use strict";function i(e){var t=this;o.call(t,e)}t.exports=i;var r=e("../../util"),o=e("./Communicator"),a=(e("./AdResponse"),e("../common/Constants"),e("../common/Errors")),s=e("../common/Events"),l=(e("./VMAP"),e("./ParserManager")),c=e("../yvap-util");r.inherits(i,o),i.prototype.getKey=function(e,t){var n=this,i=n.spec,r=i.communicatorName||"BRX",o=t.clipId||"";return r+"_"+o},i.prototype.processAdXml=function(e){var t,n,i,r,o,a,s,c=l.parseAdXml(e);for(r=0;r<c.length;r++)for(t=c[r],i="errorimpression",n=t.beacons[i]||[],o=0;o<n.length;o++)a=n[o],s=a.replace(/\[ERRORCODE\]/g,"{err_code}"),n[o]=s;return c},i.prototype.getNewAd=function(e,t){var n,i,r=this,o=r.spec;if(i=o.getSetting("AdServerUrl"),r.key=r.getKey(e,t),i){i=i.replace("http:",location.protocol),i=i.replace(/\[timestamp\]/g,c.getTimeStamp()),n=r.getNewAdResponseObject(e,i);try{r.fireRequest(i,n)}catch(l){r.publish(s.AD_FAILURE,n,r.key,r,l.message)}}else n=r.getNewAdResponseObject(e),r.publish(s.AD_FAILURE,n,r.key,r,a.REQUEST_GENERIC)},i.prototype.allowPrefetch=function(){return!1}},{"../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"../yvap-util":133,"./AdResponse":102,"./Communicator":105,"./ParserManager":111,"./VMAP":114}],104:[function(e,t,n){"use strict";function i(e){var t=this;o.call(t,e)}t.exports=i;var r=e("../../util"),o=e("./Communicator"),a=e("./ParserManager"),s=(e("./AdResponse"),e("../common/Constants"),e("../common/Errors")),l=e("../common/Events");r.inherits(i,o),i.prototype.getKey=function(e,t){var n=this,i=n.spec,r=i.communicatorName||"",o=t.clipId||"";return r+"_"+o},i.prototype.getNewAd=function(e,t){var n,i,r,o,c,u=this,d=t.adTargeting||"";if(o=a.parseXml(d),c=o.childNodes[0],u.key=u.getKey(e,t),c&&"adData"===c.nodeName&&(i=c.getAttribute("id"),"ad_url"===i&&(r=c.getAttribute("value"),r+=r.indexOf("xml=vast")>-1?";pos=1":";pos=1;xml=yahoo")),r){r=r.replace("http:",location.protocol),n=u.getNewAdResponseObject(e,r);try{u.fireRequest(r,n)}catch(p){u.publish(l.AD_FAILURE,n,u.key,u,p.message)}}else n=u.getNewAdResponseObject(e),u.publish(l.AD_FAILURE,n,u.key,u,s.MISSING_ADTGT)},i.prototype.allowPrefetch=function(){return!1}},{"../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"./AdResponse":102,"./Communicator":105,"./ParserManager":111}],105:[function(e,t,n){"use strict";function i(e){var t=this;a.call(t,"communicator"),t.spec=e||{}}t.exports=i;var r=e("../../util"),o=e("../../../../lib/logger"),a=e("../../../../lib/event-bus"),s=e("./ParserManager"),l=e("./VastValidator"),c=e("./AdResponse"),u=e("../common/Events"),d=e("../common/Errors"),p=e("../common/Constants"),_=e("../../../../lib/user-agent"),y=e("xhr");r.inherits(i,a);var M={"amgdgt.com":!0,"adap.tv":!0,"videohub.tv":!0,"doubleclick.net":!0,"undertone.com":!0,"jivox.com":!0,"adform.net":!0,"flashtalking.com":!0,"telemetryverification.net":!0,"fwmrm.net":!0,"eyereturn.com":!0,"zedo.com":!0,"tubemogul.com":!0,"tidaltv.com":!0,"yahoo.com":!0,"cbs.com":!0,"innovid.com":!0,"moatads.com":!0,"stickyadstv.com":!0,"btrll.com":!0,"ads.adaptv":!0};i.prototype.getNewAd=function(){},i.prototype.handleAdResponse=function(e){var t,n,i=this;t=e.adObj,t&&("redirect"===t.type?(n=t.redirectUrl,i.setNewRedirect(n,e)):(l.validateAdObj(t),i.publish(u.AD_READY,e,i.key,i)))},i.prototype.processAdObjects=function(e,t){for(var n,i,r,o=this,a=0;a<t.length;a++)n=t[a],r=new c,r.clone(e),i=e.adObj,i&&n.merge(i),r.adObj=n,o.handleAdResponse(r)},i.prototype.getKey=function(){return"null-key"},i.prototype.getFirstCall=function(){return"null-first-call"},i.prototype.getNewAdResponseObject=function(e,t){var n=this,i=new c;return i.adSpec=e,i.type=e.type,i.communicatorSpec=n.spec,i.firstCall=t||n.getFirstCall(),i},i.prototype.processAdXml=function(e){return s.parseAdXml(e)},i.prototype.prefetchAd=function(e,t,n,i,r){var a,s,l=this;if(e){s=l.getNewAdResponseObject(t),s.adSystem=i,s.brId=r,l.key=l.getKey(t,n);try{a=l.processAdXml(e),l.processAdObjects(s,a)}catch(c){o.log(c),l.publish(u.AD_FAILURE,s,l.key,l,c.message)}}},i.prototype._isWhiteListed=function(e){var t=!1;for(var n in M)if(M.hasOwnProperty(n)&&e.indexOf(n)>-1){t=M[n];break}return t},i.prototype.fireRequest=function(e,t){var n=this,i=(new Date).getTime(),a=r.parseDomain(e),s=n._isWhiteListed(a),l=n.httpTimeout||3e3;if(window.location.protocol===p.SSL&&0!==e.indexOf(p.SSL))throw new Error(d.SSL_MISMATCH);try{var c={url:e,method:"GET",cors:s,sync:!1,timeout:l};_.ie&&_.ie<10&&(c.responseType="text"),y(c,function(e,r,o){var a,s=r.statusText;a=(new Date).getTime(),a-i>=l?n.onAdCallFailure(t,"timeout"):e?n.onAdCallFailure(t,s):n.onAdCallSuccess(t,o)})}catch(u){throw o.log(u),new Error(d.REQUEST_GENERIC)}},i.prototype.setNewRedirect=function(e,t){var n=this;t.setNewRedirectUrl(e),n.fireRequest(e,t)},i.prototype.onAdCallSuccess=function(e,t){var n,i=this;if(t)try{n=i.processAdXml(t),i.processAdObjects(e,n)}catch(r){o.log(r),i.publish(u.AD_FAILURE,e,i.key,i,r.message)}else i.publish(u.AD_FAILURE,e,i.key,i,d.EMPTY_RESPONSE)},i.prototype.onAdCallFailure=function(e,t){var n,i=this;n="timeout"===t?d.AD_CALL_TIMEOUT:"SSLMismatch"===t?d.SSL_MISMATCH:p.ADBLOCKER?d.ADBLOCKER:d.RESPONSE_GENERIC,i.publish(u.AD_FAILURE,e,i.key,i,n)},i.prototype.allowPrefetch=function(){return!1}},{"../../../../lib/event-bus":"3ECu9u","../../../../lib/logger":"IS9j5T","../../../../lib/user-agent":"ty5FFo","../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"./AdResponse":102,"./ParserManager":111,"./VastValidator":116,xhr:150}],106:[function(e,t,n){"use strict";var i=e("../common/Constants"),r=e("./MMECommunicator"),o=e("./FreeWheelCommunicator"),a=e("./CBSCommunicator"),s=e("./DFPCommunicator"),l=e("./PreviewCommunicator"),c=e("./YAXvCommunicator"),u=e("./BRXCommunicator");n.getCommunicatorUsingSpec=function(e){var t=null;if(e){var n=e.communicatorName;n.indexOf(i.MME)>-1?t=new r(e):n.indexOf(i.FREEWHEEL)>-1?t=new o(e):n.indexOf(i.CBS)>-1?t=new a(e):n.indexOf(i.DFP)>-1?t=new s(e):n.indexOf(i.PREVIEW)>-1?t=new l(e):n.indexOf(i.YAXv)>-1?t=new c(e):n.indexOf(i.BRX)>-1&&(t=new u(e))}return t}},{"../common/Constants":96,"./BRXCommunicator":103,"./CBSCommunicator":104,"./DFPCommunicator":107,"./FreeWheelCommunicator":108,"./MMECommunicator":109,"./PreviewCommunicator":112,"./YAXvCommunicator":117}],107:[function(e,t,n){"use strict";function i(e){var t=this;a.call(t,e)}t.exports=i;var r=e("../../util"),o=e("../../../../lib/logger"),a=e("./Communicator"),s=(e("./AdResponse"),e("../common/Constants"),e("../common/Errors"),e("../common/Events"),e("./VMAP"),e("./ParserManager"),e("../common/Constants")),l=e("../../../../lib/user-agent.js"),c=e("../yvap-util");r.inherits(i,a),i.prototype._replaceAll=function(e,t,n){return n.replace(new RegExp(e,"g"),t)},i.prototype._parseAdTargeting=function(e){var t=this;e=t._replaceAll("nflnow:","",e),e=t._replaceAll("=",'":"',e),e=t._replaceAll(",",'","',e),e='{"'+e+'"}';try{return JSON.parse(e)}catch(n){return JSON.parse("{}")}},i.prototype.getKey=function(e,t){var n=this,i=n.spec,r=i.communicatorName||"",o=t.clipId||"";return r+"_"+o},i.prototype._getPlatform=function(){var e="nflnow/web/yahoo";return l.android?e=l.androidTablet?"nflnow/app/tablet/android/yahoo":"nflnow/app/phone/android/yahoo":l.ios&&(e=l.ipad?"nflnow/app/tablet/ios/yahoo":"nflnow/app/phone/ios/yahoo"),e},i.prototype._getValue=function(e){var t=function(e){return(new window.DOMParser).parseFromString(e,"text/xml")};if(null===e)return"";if("<"!==e.trim().charAt(0)&&">"!==e.trim().charAt(e.length-1))return"";var n=t(e);return n.getElementsByTagName("adData")[0].getAttribute("value")},i.prototype._populateMacro=function(e,t){var n,i,r,a=this,l={},u={},d={freeUserPeriodInSeconds:240,premiumUserPeriodInSeconds:720,publisherId:"1234567abcd",endpoint_preroll:"https://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/4595/nfl.${platform}&ciu_szs=&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&cust_params=test%3D%26slot%3Dpreroll%26s3%3D${channel_id}&url=${referrer_url}&correlator=${timestamp}",endpoint_loader:"https://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/4595/nfl.${platform}&ciu_szs=&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&cust_params=test%3D%26slot%3Donloader%26s3%3D${channel_id}&url=${referrer_url}&correlator=${timestamp}",endpoint_clubs:"https://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/4595/team.${club}.${platform}&ciu_szs=&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&cust_params=test%3D%26slot%3Dpreroll%26s3%3D${channel_id}&url=${referrer_url}&correlator=${timestamp}"};return l.serverUrl="",t.content_provider_data&&t.content_provider_data.rules&&(d=t.content_provider_data.rules),e.subType===s.NFL_ONLOAD?l.serverUrl=d.endpoint_loader:e.subType===s.NFL_PREROLL?(n=t.adTargeting||"",i=a._parseAdTargeting(a._getValue(n)),r=i.origin||"",u.channel_id=i.channel,"CLUBS"===r.toUpperCase()?(u.club=i.contentProvider,l.serverUrl=d.endpoint_clubs):l.serverUrl=d.endpoint_preroll):o.log("error case"),u.timestamp=c.getTimeStamp(),u.platform=a._getPlatform(),u.referrer_url=document.referrer,l.serverUrl=l.serverUrl.replace("[PLATFORM]","${platform}"),l.serverUrl=l.serverUrl.replace("[CLUB]","${club}"),l.serverUrl=l.serverUrl.replace("[CHANNEL_ID]","${channel_id}"),l.serverUrl=l.serverUrl.replace("[referrer_url]","${referrer_url}"),l.serverUrl=l.serverUrl.replace("[timestamp]","${timestamp}"),l.macroDict=u,l},i.prototype.updateProtocol=function(e){var t=window.location.protocol;return e=t===s.SSL?e.replace(s.HTTP,s.HTTPS):e.replace(s.HTTPS,s.HTTP)},i.prototype.getNewAd=function(e,t){var n,i,r=this,o={},a=r.spec,u=a.getSetting("AdServerUrl");if(t.licenseId!==s.NFL_NOW_LMSID)u=u.replace("[referrer_url]","${referrer_url}"),u=u.replace("[REQUESTID]","${requestid}"),u=u.replace("[timestamp]","${requestid}"),u=u.replace("[TIMESTAMP]","${requestid}"),u=u.replace("${REQUESTID}","${requestid}"),l.mobile&&(u=u.replace("iu=/4595/nfl.video.yahoo","iu=/4595/nfl.video.yahoo/mobileweb")),o.requestid=c.getTimeStamp(),o.referrer_url=document.referrer||"yahoo.com";else{var d=r._populateMacro(e,t);o=d.macroDict,u=d.serverUrl}n=c.expandMacro(u,o),null!==n&&""!==n&&(n=r.updateProtocol(n),i=r.getNewAdResponseObject(e,n),r.key=r.getKey(e,t),r.fireRequest(n,i))},i.prototype.allowPrefetch=function(){return!1}},{"../../../../lib/logger":"IS9j5T","../../../../lib/user-agent.js":"ty5FFo","../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"../yvap-util":133,"./AdResponse":102,"./Communicator":105,"./ParserManager":111,"./VMAP":114}],108:[function(e,t,n){"use strict";function i(e){var t=this;o.call(t,e)}t.exports=i;var r=e("../../util"),o=e("./Communicator"),a=(e("./AdResponse"),e("../common/Constants"),e("../common/Errors")),s=e("../common/Events"),l=(e("./VMAP"),e("./ParserManager"));r.inherits(i,o),i.prototype.getKey=function(e,t){var n=this,i=n.spec,r=i.communicatorName||"",o=t.clipId||"";return r+"_"+o},i.prototype.processAdXml=function(e){var t,n,i,r,o,a,s=l.parseAdXml(e);if(s&&s.adBreakMap){t=s.adBreakMap.preroll||{},n=t.adSource||{},i=n.vastAdData||[],r=t.trackingEvents||{},o=r.trackings||[];for(var c=0;c<o.length;c++)"breakStart"===o[c].event&&(a=o[c]);if(a)for(c=0;c<i.length;c++)i[c].addBeaconOfType(a.url,"ad-break-start");return i}return s},i.prototype.getNewAd=function(e,t){var n,i,o=this,l=o.spec,c=";;",u=";",d=t.clipCategory||"",p=t.adTargeting||"",_=new DOMParser,y=_.parseFromString(p,"application/xml");i=y.childNodes[0];var M,v,L,m,E,g,A,T,b,I,C="";if(b=l.getSetting("AdServerUrl"),n=o.getNewAdResponseObject(e,b),o.key=o.getKey(e,t),i&&"adData"===i.nodeName){M=i.getAttribute("id"),("TurnerVideoID"===M||"YahooPartnerVideoID"===M)&&(C=i.getAttribute("value")),v="true"===l.getSetting("OverrideSAPI")?l.getSetting("SiteSectionMapping"):d,L={nw:l.getSetting("YahooNetworkId"),metr:l.getSetting("CapabilitySupportFlags"),resp:l.getSetting("ResponseType"),sfid:l.getSetting("SiteSectionFallbackId"),ssnw:l.getSetting("SiteSectionNetworkId"),pvrn:Math.round(1e8*Math.random()).toString(),caid:C,csid:v,crtp:l.getSetting("CustomResponseType"),vprn:Math.round(1e8*Math.random()).toString(),afid:l.getSetting("VideoAssetFallbackId"),flag:l.getSetting("ImpressionFlags"),asnw:l.getSetting("VideoAssetNetworkId"),prof:l.getSetting("PlayerProfile")},g=r.querystring(L),m={tpcl:l.getSetting("SlotTimePositionClass"),slau:l.getSetting("CustomAdUnitName"),slid:l.getSetting("SlotCustomId"),ptgt:l.getSetting("SlotType"),flag:l.getSetting("SlotFlags"),h:l.getSetting("SlotHeight"),w:l.getSetting("SlotWidth"),tpos:l.getSetting("SlotTimePosition")},A=r.querystring(m),E={flag:l.getSetting("SlotFlags2"),h:l.getSetting("SlotHeight2"),w:l.getSetting("SlotWidth2"),tpcl:l.getSetting("SlotTimePositionClass2"),slau:l.getSetting("CustomAdUnitName2"),slid:l.getSetting("SlotCustomId2"),ptgt:l.getSetting("SlotType2"),tpos:l.getSetting("SlotTimePosition2")},T=r.querystring(E),b=b.replace("http:",location.protocol),I=b+"?"+g+c+A+u+T,n.firstCall=I;try{o.fireRequest(I,n)}catch(f){o.publish(s.AD_FAILURE,n,o.key,o,f.message)}}else o.publish(s.AD_FAILURE,n,o.key,o,a.MISSING_ADTGT)},i.prototype.allowPrefetch=function(){return!1}},{"../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"./AdResponse":102,"./Communicator":105,"./ParserManager":111,"./VMAP":114}],109:[function(e,t,n){"use strict";function i(e){var t=this;a.call(t,e)}t.exports=i;var r=e("../../util"),o=e("../yvap-util"),a=e("./Communicator"),s=(e("./AdResponse"),e("./ParserManager")),l=e("../common/Constants"),c=e("../common/Events"),u=e("../common/Errors"),d=e("../../../../lib/user-agent"),l=e("../common/Constants");r.inherits(i,a);var p="yvap.query.yahoo.com/v1/public/yql",_="flv_as3;xml_ver_2.0vast",y="vi_ct_1",M="vpaidt_none;fm_mp4;fm_webm;vi_ct_1",v={overlayC2V:"v4",overlayC2S:"v5",clickable:"v1;v7;v8",interactive:"v2",asq:"v6"},L={bumper:"BMPR",overlay:"VIDO",preroll:"VID",postroll:"VID",midroll:"VID"},m=["playback0","playback25","playback50","playback75","playback100"],E="csc.beap.bc.yahoo.com/yi";i.prototype._parseCSCImpressionBeacon=function(e,t){for(var n=/([^,()]+),|([^,():]+)\)/g,i=t.match(n),r={},o=null,a=0,s=null,l=0;l<i.length;l++)o=i[l],a=o.length-1,o=","===o.charAt(a)||")"===o.charAt(a)?o.substr(0,a):o,s=o.split("$"),s=2===s.length?s:o.split("="),2===s.length&&(r[s[0]]=s[1]);e.position=r.ypos,e.bookingId=r.bi,e.creativeId=r.cr,e.impressionId=r.aid,e.serveTime=r.st,e.serveId=r.gid,e.spaceId=r.sp},i.prototype.getNewAd=function(e,t){var n,i,a,s,m,E,g=this,A=g.spec,T=A.getSetting("adBaseUrl")||"us",b="true"===A.getSetting("sendRsParam")?"lmsid:"+t.licenseId:"",I=e.actionValues||[],C=L[e.type]||"",f=y,N="",D="",h="",S=t.spaceId;if(e.type===l.MIDROLL){f="";var w=A.getSetting("spaceIdOverride");w&&(S=w),N=' vid.forcead=1  adbreak="'+e.cdtBreak.toString()+'" ';var R=parseInt(A.getSetting("adsPerBreak"))||l.MAX_ADS_MIDROLL;e.cdtBreak===l.MARKETING_AD_BREAK&&R++,C=R>0&&"VID"===C?"n"+R+C:C}for(var j="",O=0;O<I.length;O++)j=j+v[I[O]]+";";if(d.mobile&&(f=M),t.showName&&(D='show_name="'+t.showName+'" '),t.topics&&(h='cTopId="'+t.topics.join()+'" '),j+=_+";"+f,E='content="'+j+'" '+N+D+h,i={pn:"'"+A.getSetting("partnerId")+"'",f:"'"+S+"'",p:"'"+A.propertyId+"'",c:"'x'",rand:"'"+Math.round(1e13*Math.random())+"'",rs:"'"+b+"'",l:"'"+C+"'",at:"'"+E+"'",rg:"'"+T+"'",pt:"'"+location.protocol+"'"},a={q:o.generateYqlQuery(i,"yahoo.ads.video.vat"),format:"json",env:"prod"},s=r.querystring(a),m=location.protocol+"//"+p+"?"+s,n=g.getNewAdResponseObject(e,m),n.timestamp=(new Date).getTime()/1e3,g.key=g.getKey(e,t),!S)return void g.publish(c.AD_FAILURE,n,g.key,g,u.MISSING_SPACEID);try{g.fireRequest(m,n)}catch(k){g.publish(c.AD_FAILURE,n,g.key,g,k.message)}},i.prototype.getFirstCall=function(){var e=this,t=e.spec,n=t.getSetting("adBaseUrl")||"us";return"http://"+n+p},i.prototype.getKey=function(e,t){var n=this,i=n.spec,r=i.communicatorName||"",o=t.spaceId||"",a=(t.clipId||"",t.licenseId||""),s=e.type||"",l=L[s]||"";return r+"_"+o+"_"+l+"_"+a},i.prototype.processAdXml=function(e){var t=this,n=null;if("<"===e.charAt(0))n=e;else try{var i=JSON.parse(e);if(!(i&&i.query&&i.query.results&&i.query.results.result))throw new Error(u.EMPTY_RESPONSE);n=i.query.results.result.xmlResponse||i.query.results.result}catch(r){throw new Error(u.XML_PARSING)}var o,a,l,c,d,p,_,y,M,v=s.parseAdXml(n);for(_=0;_<v.length;_++){for(o=v[_],y="impression",a=o.beacons[y]||[],p=0;p<a.length;p++)l=a[p],l.indexOf("csc.beap")>-1&&(t._parseCSCImpressionBeacon(o,l),l=l.replace(/eob\$/g,"cuuid${cuuid},eob$adb={ad_break}:sn={ad_sequence}:dur={duration}:pver={player_version}:"),a[p]=l);for(d=0;d<m.length;d++)for(y=m[d],a=o.beacons[y]||[],p=0;p<a.length;p++)l=a[p],l.indexOf("beap-bc")>-1&&(M=l.lastIndexOf("))"),M>-1&&(c=l.substring(0,M)+",{beap_client_event}))",a[p]=c));for(y="noadimpression",a=o.beacons[y]||[],p=0;p<a.length;p++)l=a[p],c=l.replace(/eob\$/g,"cuuid${cuuid},eob$yvap_code={err_code}:adb={ad_break}:sn={ad_sequence}:dur={duration}:dmn_1={initial_domain}:dmn_n={vendor_domain}:pver={player_version}:"),a[p]=c;for(y="errorimpression",a=o.beacons[y]||[],p=0;p<a.length;p++)l=a[p],l.indexOf(E)>-1&&a.splice(p,1);for(p=0;p<a.length;p++)l=a[p],c=l.replace(/\[ERRORCODE\]/g,"{err_code}"),a[p]=c}return v},i.prototype.allowPrefetch=function(){return!0}},{"../../../../lib/user-agent":"ty5FFo","../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"../yvap-util":133,"./AdResponse":102,"./Communicator":105,"./ParserManager":111}],110:[function(e,t,n){"use strict";function i(e,t){var n=this;n._yvapBus=e,n._cacheManager=t,n._communicator=null,n._midrollsAds=[],n._toUnsubscribe=[],n._cdtbreak=1}t.exports=i;var r=e("../../../../lib/logger"),o=(e("../../../../lib/event-bus"),e("./AdResponse"),e("../common/Events")),a=e("../common/Constants"),s=e("../engine/AdSpec"),l=e("./CommunicatorFactory"),c=e("../allocation/CommunicatorSpec"),u=e("../yvap-util");e("../ads-json");i.prototype._getNewAds=function(e,t){var n=this;if(e){var i=new s(a.MIDROLL,["clickable"]);i.cdtBreak=n.getCDTBreak(),i.fallbackParam=!1;var c=e.pickCommunicator(i);if(c&&c.communicatorName===a.MME){var u=l.getCommunicatorUsingSpec(c);n._toUnsubscribe.push(u.subscribe(o.AD_READY,n._adReadyHandler,n)),n._toUnsubscribe.push(u.subscribe(o.AD_FAILURE,n._adFailureHandler,n)),u.getNewAd(i,t)}else r.log("No suitable communicator found for midroll fetch")}},i.prototype._getCommunicator=function(e){var t=new c;return t.communicatorId=11,t.communicatorName="MME",t.isFallback=!1,t.propertyMap=e.settingMap,t.propertyId=e.propertyId,l.getCommunicatorUsingSpec(t)},i.prototype._checkForVPAIDPreInit=function(e){var t=this;if(e){var n=e.adObj;if(n&&n.type===a.VPAID){var i=n.streams||[],r=i[0];r&&"application/x-shockwave-flash"===r.format&&t._yvapBus.publish(o.VPAID_PREFETCH_REQUEST,n)}}},i.prototype._adReadyHandler=function(e,t,n,i){var r=this,s=[];e.type=a.MIDROLL,s=r._midrollsAds,s&&s[0]&&e.timestamp===s[0].timestamp||r.clearMidrollsAdCache(),r._addMidrollsAdCache(e),r._yvapBus.publish(o.AD_CALL_END,n,e)},i.prototype._adFailureHandler=function(e,t,n,i){var r=this;e.type=a.MIDROLL,e.errorState=i,r._addMidrollsAdCache(e),r._yvapBus.publish(o.AD_CALL_END,n,e)},i.prototype.startMidRollsFetchThread=function(e){var t=this,n=t._cacheManager.getPlayerDataForClipId(e),i=t._cacheManager.getAllocationForClipId(e);i&&n?(t.resetCDTBreak(),t._getNewAds(i,n),t.midRollFetchThread=setInterval(function(){t._getNewAds(i,n)},a.MIDROLL_PREFETCH_TIMER)):r.log("allocation, playerdata missing")},i.prototype.stopMidRollsFetchThread=function(){var e=this;e.midRollFetchThread&&clearInterval(e.midRollFetchThread);for(var t=0;t<e._toUnsubscribe.length;t++){var n=e._toUnsubscribe[t];n()}},i.prototype.getMidrollsAds=function(e,t){var n,i=this,r=i._midrollsAds||[],l=[],c=i._cacheManager.getPlayerDataForClipId(e),d=[],p=-1,_=new s(a.MIDROLL,["clickable"]),y=i._cacheManager.getAllocationForClipId(e),M=null,v=i._cacheManager.getCuePointsForClipId(e),L=0,m=0,E=0,g=function(e){var t=3;for(var n in v)if(v[n]){var i=v[n].timeOffset;if(i=u.convertTimeToSeconds(i),e+t>=i&&i>=e-t)return v[n].breakId}return 0};d=r.map(function(e){return e.timestamp||-1}),p=Math.max.apply(null,d);var A=g(t),T=i.getCDTBreak();if(y&&c&&v){M=y.pickCommunicator(_);var b=a.MAX_ADS_MIDROLL,I=0;M&&(I=M.getSetting("adsPerBreak")),parseInt(I)>0&&(b=I),T===a.MARKETING_AD_BREAK&&b++;for(var C=0;b>C;C++){var f=C+1;if(i._yvapBus.publish(o.AD_OPPORTUNITY,e,a.MIDROLL,_,M,c,f),r.length>C&&r[C].timestamp===p){n=r[C],n.midrollbreak=A,n.midrolladsequence=f,n.midrollnumber=T;var N=n.adObj;N&&(N.type===a.AD?m++:N.type===a.NOAD?L++:N.type===a.VPAID&&E++),l.push(n)}}i._yvapBus.publish(o.AD_BREAK_SUBMITTED,e,a.MIDROLL,b,l.length,L,m,E,g(t)),i.clearMidrollsAdCache()}return i.incrementCDTBreak(),y&&c&&i._getNewAds(y,c),l},i.prototype.clearMidrollsAdCache=function(){var e=this;e._midrollsAds=[]},i.prototype.updateMidrollsAdCache=function(e){var t=this;t._midrollsAds=e},i.prototype._addMidrollsAdCache=function(e){var t=this;t._midrollsAds.push(e),t._checkForVPAIDPreInit(e)},i.prototype.resetCDTBreak=function(){var e=this;e._cdtbreak=1},i.prototype.getCDTBreak=function(){var e=this;return e._cdtbreak},i.prototype.incrementCDTBreak=function(){var e=this;e._cdtbreak++}},{"../../../../lib/event-bus":"3ECu9u","../../../../lib/logger":"IS9j5T","../ads-json":90,"../allocation/CommunicatorSpec":93,"../common/Constants":96,"../common/Events":99,"../engine/AdSpec":120,"../yvap-util":133,"./AdResponse":102,"./CommunicatorFactory":106}],111:[function(e,t,n){"use strict";var i=e("./VASTParser"),r=e("./VMAPParser"),o=e("../common/Errors");n.parseAdXml=function(e){var t,i,r=null;if(!e)return null;e=n.cleanXml(e);try{t=n.parseXml(e,!0)}catch(a){throw new Error(o.XML_PARSING)}if(t.xml&&(i=t.xml.childNodes[0],r=n.parseDom(i)),"object"==typeof r&&null!==t.xmlParseErr)for(var s=0;s<r.length;s++)r[s].adXmlParseErr=t.xmlParseErr;return r},n.cleanXml=function(e){return e&&(e=e.replace(/>\s+</g,"><"),e=e.replace(/<!--[\s\S]*?-->/g,"")),e},n.parseXml=function(e,t){var n=null,i=null;if("undefined"!=typeof DOMParser){n=(new DOMParser).parseFromString(e,"text/xml");var r=n.getElementsByTagName("parsererror");r.length&&(i="NonIE")}else"undefined"!=typeof ActiveXObject?(n=document.implementation.createDocument(),n.loadXML(e),0!==n.parseError&&(i="IE")):i="All";return t===!0?{xml:n,xmlParseErr:i}:n},n.parseDom=function(e){var t,i,r;if(!e)throw new Error(o.XML_PARSING);if(t=n.getParser(e),!t)throw r=e.nodeName,"parsererror"===r?new Error(o.XML_PARSING):new Error(o.NO_PARSER);return i=t.parse(e)},n.getParser=function(e){var t=e?e.nodeName:"";return"VAST"===t?i:t.indexOf("VMAP")>-1?r:null}},{"../common/Errors":98,"./VASTParser":113,"./VMAPParser":115}],112:[function(e,t,n){"use strict";function i(e){var t=this;t.key=t.getKey(),a.call(t,e)}t.exports=i;var r=e("../../util"),o=e("../../../../lib"),a=e("./MMECommunicator"),s=e("../common/Events");r.inherits(i,a),i.prototype.getNewAd=function(e,t){var n,i=this;i.spec;if(o.isFunction(window.showAdInfo)&&i.subscribe(s.AD_READY,function(e){window.showAdInfo(e.adObj)}),o.isFunction(window.getAdXmlForPreview)){var r=window.getAdXmlForPreview();"tag"===r.type?(n=i.getNewAdResponseObject(e,r.value),i.fireRequest(r.value,n)):(n=i.getNewAdResponseObject(e),i.onAdCallSuccess(n,r.value))}},i.prototype.getKey=function(){return"preview-key"},i.prototype.allowPrefetch=function(){return!0}},{"../../../../lib":"bRhrlU","../../util":"jJTEqU","../common/Events":99,"./MMECommunicator":109}],113:[function(e,t,n){"use strict";function i(e,t,n){for(var i,r,o=e.childNodes,a=0;a<o.length;a++)i=o[a],r=t[i.nodeName],r&&r.call(void 0,n,i)}function r(e,t){var n={MediaFile:function(e,t){var n,i,r=t.getAttribute("type"),o=(t.getAttribute("apiFramework"),t.getAttribute("delivery"));n=t.getAttribute("bitrate")||100,n=parseInt(n,10),i=D.getTextFromNode(t),e.addMedia(r,n,i,o)}};i(t,n,e)}function o(e,t){var n={yahoo_video_ad_item:function(e,t){var n=t.getAttribute("name");n&&t.textContent&&e.addParamOfName(t.textContent,n)},yahoo_video_ad_beacon:function(e,t){var n=t.getAttribute("id");n&&t.textContent&&e.addBeaconOfType(t.textContent,n)},"#cdata-section":function(e,t){e.adParameters={AdParameters:t.nodeValue}},"#text":function(e,t){e.adParameters={AdParameters:t.nodeValue}}};i(t,n,e)}function a(e,t){var n={Tracking:function(e,t){var n,i=t.getAttribute("event");i&&t.textContent&&(n=R[i],n?e.addBeaconOfType(t.textContent,n):e.addBeaconOfType(t.textContent,i))}};i(t,n,e)}function s(e,t){var n={ClickThrough:function(e,t){t.textContent&&e.addParamOfName(t.textContent,"clickurl")},ClickTracking:function(e,t){var n=t.nodeName;n&&t.textContent&&e.addBeaconOfType(t.textContent,"clicktracking")}};i(t,n,e)}function l(e,t){var n={MediaFiles:r,AdParameters:o,TrackingEvents:a,VideoClicks:s,Duration:function(e,t){if(h.isNullOrUndefined(e.duration)){var n=D.getTextFromNode(t);e.duration=S.convertTimeToSeconds(n)}}};e.streams=[];for(var l in e.beacons)e.beacons.hasOwnProperty(l)&&"impression"!==l&&"errorimpression"!==l&&delete e.beacons[l];i(t,n,e)}function c(e,t){var n,i;e=e||{},t.textContent&&(n=t.getAttribute("creativeType")||"",i=t.textContent||"",e.resourceUrl=i.trim(),e.resourceType=n.trim())}function u(e,t){var n;e.nonLinearAd||{};t.textContent&&(n=t.textContent||"",n=n.trim(),e.addParamOfName(n,"clickurl"))}function d(e,t){var n={StaticResource:c,NonLinearClickThrough:u,AdParameters:o},r=e.nonLinearAd||{},a=t.getAttribute("width"),s=t.getAttribute("height"),l=t.getAttribute("scalable"),d=t.getAttribute("apiFramework");r.width=a,r.height=s,r.scalable=l,r.apiFramework=d,e.nonLinearAd=r,i(t,n,e),n={StaticResource:c},i(t,n,e.nonLinearAd)}function p(e,t){var n={TrackingEvents:a,NonLinear:d};i(t,n,e)}function _(e,t){e=e||{};t.textContent&&(e.companionClickThrough=t.textContent)}function y(e,t){var n,i;e=e||{},t.textContent&&(n=t.getAttribute("creativeType")||"",i=t.textContent||"",e.companionBannerSrc=i.trim(),e.companionMimeType=n)}function M(e,t){var n={},r=t.getAttribute("width"),o=t.getAttribute("height");n.companionWidth=r,n.companionHeight=o;var a=t.getElementsByTagName("StaticResource"),s=t.getElementsByTagName("IFrameResource"),l=t.getElementsByTagName("HTMLResource");a&&a.length>0?n.companionBannerType=w.STATIC_RESORUCE:s&&s.length>0?n.companionBannerType=w.IFRAME_RESORUCE:l&&l.length>0&&(n.companionBannerType=w.HTML_RESORUCE);var c={TrackingEvents:v,CompanionClickThrough:_,StaticResource:y,IFrameResource:y,HTMLResource:y};i(t,c,n),e.companion.push(n)}function v(e,t){var n={Tracking:function(e,t){var n=t.getAttribute("event");n&&t.textContent&&(e.companionImpression=t.textContent)}};i(t,n,e)}function L(e,t){var n={Companion:M};i(t,n,e)}function m(e,t){var n={Linear:l,CompanionAds:L,NonLinearAds:p};i(t,n,e)}function E(e,t){var n={Creative:m};i(t,n,e)}function g(e,t){var n=D.getTextFromNode(t);e.addBeaconOfType(n,"impression")}function A(e,t){var n,i,r,o,a,s=t.getAttribute("type");"SkipAd"===s?(n=t.childNodes[0],n&&"SkipDirective"===n.nodeName&&"2"===n.textContent&&(e.isSkippable=!0),i=t.childNodes[1],i&&"SkipBeacon"===i.nodeName&&i.textContent&&e.addBeaconOfType(i.textContent,"skip")):"CPCV"===s?(r=t.childNodes[0],r&&"Progress30SecBeacon"===r.nodeName&&r.textContent&&e.addBeaconOfType(r.textContent,"cpcv")):"CustomTracking"===s?(o=t.childNodes[0],o&&"NoAdImpression"===o.nodeName&&o.textContent&&e.addBeaconOfType(o.textContent,"noadimpression")):"YahooViewability"===s&&(a=t.childNodes[0],a&&"CustomTrackingViewableImpression"===a.nodeName&&a.textContent&&e.addBeaconOfType(a.textContent,"viewableimpression"))}function T(e,t){var n=D.getTextFromNode(t);e.addBeaconOfType(n,"errorimpression")}function b(e,t){var n={Extension:A};i(t,n,e)}function I(e,t){var n={VASTAdTagURI:function(e,t){e.redirectUrl=D.getTextFromNode(t),e.type="redirect"},Impression:g,Creatives:E,Extensions:b,Error:T};i(t,n,e)}function C(e,t){var n={Impression:g,Creatives:E,Extensions:b,Error:T};i(t,n,e)}function f(e,t){var n=t.getAttribute("fallbackfor"),r=t.getAttribute("id");r&&(e.adId=r),n&&(e.isFallback=!0,e.fallbackFor=n);var o={Wrapper:I,InLine:C};return i(t,o,e),e}var N=e("./Ad"),D=e("../../util"),h=e("../../../../lib"),S=e("../yvap-util"),w=e("../common/Constants"),R={start:"playback0",firstQuartile:"playback25",midpoint:"playback50",thirdQuartile:"playback75",complete:"playback100"};n.parse=function(e){var t,n=[];if(!e||"VAST"!==e.nodeName)return n;var r={Ad:function(e,t){e=new N,e.adFormat="vast",f(e,t),n.push(e)}};return i(e,r,t),0===n.length&&(t=new N,t.adFormat="vast",t.type=w.NOAD,n.push(t)),n}},{"../../../../lib":"bRhrlU","../../util":"jJTEqU","../common/Constants":96,"../yvap-util":133,"./Ad":101}],114:[function(e,t,n){"use strict";function i(){var e=this;e.adBreakMap={},e.version=""}function r(){var e=this;e.adSource=null,e.trackingEvents=null,e.timeOffset="",e.breakType=[],e.breakId="",e.repeatAfter="",e.extensions=null}function o(){var e=this;e.id="",e.allowMultipleAds=0,e.followRedirects=0,e.adTagURI="",e.customAdData="",e.vastAdData=""}function a(){var e=this;e.trackings=[]}function s(){var e=this;e.event="",e.url=""}function l(){var e=this;e.extensions=[]}function c(){var e=this;e.xml="",e.type=""}t.exports={VMAPObject:i,AdBreak:r,AdSource:o,TrackingEvents:a,Tracking:s,Extensions:l,Extension:c}},{}],115:[function(e,t,n){
  "use strict";function i(e,t,n){for(var i,r,o=e.childNodes,a=0;a<o.length;a++)i=o[a],r=t[i.nodeName],r&&r.call(void 0,n,i)}function r(e,t){var n=t.childNodes[0],i=c.getParser(n);e.vastAdData=i.parse(n)}function o(e,t){var n=new l.TrackingEvents,r={"vmap:Tracking":function(e,t){var n=new l.Tracking,i=t.getAttribute("event")||"";n.event=i,n.url=t.textContent,e.trackings.push(n)}};i(t,r,n),e.trackingEvents=n}function a(e,t){var n=new l.AdSource,o={"vmap:VASTAdData":r};i(t,o,n),e.adSource=n}function s(e,t){var n=new l.AdBreak,r=t.getAttribute("breakId")||"";r.indexOf("pre")>-1?n.breakId="preroll":n.breakId=r,n.breakType=(t.getAttribute("breakType")||"").split(","),n.timeOffset=t.getAttribute("timeOffset")||"";var s={"vmap:AdSource":a,"vmap:TrackingEvents":o};i(t,s,n),e.adBreakMap[n.breakId]=n}var l=e("./VMAP"),c=e("./ParserManager");e("../yvap-util");n.parse=function(e){var t=null;if(!e||"vmap:VMAP"!==e.nodeName)return t;t=new l.VMAPObject;var n={"vmap:AdBreak":s};return i(e,n,t),t}},{"../yvap-util":133,"./ParserManager":111,"./VMAP":114}],116:[function(e,t,n){"use strict";var i=e("../common/Constants");n._isVpaid=function(e){return e.format===i.VPAID_FLASH_FORMAT||e.format===i.VPAID_JS_FORMAT},n._setType=function(e){var t=i.NOAD;if(e.nonLinearAd)t=i.OVERLAY;else if(e.streams&&e.streams.length>0){var r=e.streams,o=[],a=[];r.forEach(function(e){n._isVpaid(e)?a.push(e):o.push(e)}),o.length>0?(t=i.AD,e.streams=o):a.length>0&&(t=i.VPAID,e.streams=a)}e.type=t},n.validateAdObj=function(e){for(var t=[n._setType],i=0;i<t.length;i++)e=t[i](e)}},{"../common/Constants":96}],117:[function(e,t,n){"use strict";function i(e){var t=this;o.call(t,e)}t.exports=i;var r=e("../../util"),o=e("./Communicator"),a=(e("./ParserManager"),e("./AdResponse"),e("../common/Constants"),e("../common/Errors")),s=e("../common/Events");e("../yvap-util");r.inherits(i,o),i.prototype.getKey=function(e,t){var n=this,i=n.spec,r=i.communicatorName||"YAXv",o=t.clipId||"";return r+"_"+o},i.prototype.getNewAd=function(e,t){var n,i,r=this;if(i="https://na.ads.yahoo.com/yax/vdo?ve=1&si=370&tc=ac958c0f81cbb7a6&vdn=0&vdm=30&vfo=2&xmlVersion=xml_ver_2.0vast_wrapper,xml_ver_2.0vast&vpaidt=vpaidt_none&u=tumblr.com",r.key=r.getKey(e,t),i){i=i.replace("http:",location.protocol),n=r.getNewAdResponseObject(e,i);try{r.fireRequest(i,n)}catch(o){r.publish(s.AD_FAILURE,n,r.key,r,o.message)}}else n=r.getNewAdResponseObject(e),r.publish(s.AD_FAILURE,n,r.key,r,a.REQUEST_GENERIC)}},{"../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"../yvap-util":133,"./AdResponse":102,"./Communicator":105,"./ParserManager":111}],118:[function(e,t,n){"use strict";function i(){var e=this;e.actionValues=null,e.placement=null,e.ruleFunctions=[],e.cookieUtil=o}var r=e("../../../../lib"),o=e("../common/CookieUtil");e("../common/Constants");t.exports=i,i.evaluateDefault=function(){var e=this,t=e.cookieUtil.getTotalClipCount()+1,n=e.start||0;return t>=n},i.evaluateStart=function(){var e=this,t=e.cookieUtil.getTotalClipCount()+1,n=e.start||0;return t===n},i.evaluateOverlay=function(){var e,t,n,i,r=this,o=r.clipDuration,a=r.timeUpdate,s=r.overlayStart||0,l=r.repeat||0,c=r.lastShown||0,u=r.padding||0,d=r.duration||0;return c=c>=a?0:c,e=a-c,t=a-s,n=a+d+u,i=t>=0&&(!c||e>=l)&&o>=n,i&&(r.lastShown=a),i},i.evaluateFrequency=function(){var e=this,t=e.cookieUtil.getRecentClipCount(),n=e.interval||0;return t>=n||1===n},i.evaluateLength=function(){var e=this,t=e.length||0,n=e.cookieUtil.getRecentVideoLength();return n>=t},i.evaluateRatio=function(){var e=this,t=e.ratio||0,n=e.cookieUtil.getAdLength(),i=e.cookieUtil.getTotalVideoLength(),r=i/n;return!isNaN(r)&&r>=t},i.evaluateMinimumDuration=function(){var e=this,t=e.clipDuration||0,n=e.minDuration||0;return t>=n},i.evaluatefirstAdProbability=function(){var e=this,t=e.probability||100,n=100*Math.random(),i=e.cookieUtil.getTotalClipCount()+1,r=e.start||0;return i===r&&t>=n},i.prototype.addRuleFunction=function(e){var t=this;r.isFunction(e)&&t.ruleFunctions.push(e)},i.prototype.evaluate=function(e,t){var n=this,i=0,r=n.ruleFunctions,o=!0;for(n.clipDuration=e||0,n.timeUpdate=t||0,i=0;i<r.length;i++)o=o&&r[i].call(this);return o}},{"../../../../lib":"bRhrlU","../common/Constants":96,"../common/CookieUtil":97}],119:[function(e,t,n){"use strict";function i(){}var r=e("./ActionRule"),o=e("./RuleGroup"),a=e("./AdSpec");t.exports=i,i.basisMap={bumper:"clipGateway",preroll:"preroll",postroll:"postroll",overlay:"videoTimeline"},i.prototype.understandRules=function(e){if(!e||"{}"===JSON.stringify(e))return null;var t,n,i,a,s,l,c,u,d,p,_,y=this,M=new o,v=e.ruleGroup;for(t=v[0],a=t.actionRule2,!a||a instanceof Array||(s=a,a=[],a.push(s)),i=0;i<a.length;i++){for(s=a[i],l=new r,c=s["@basis"]||"",u=s["@type"]||"",d=s.actionParam||[],n=0;n<d.length;n++)p=d[n],"id"===p["@name"]?l.actionValues=(p["@value"]||"").split(","):"placement"===p["@name"]&&(l.placement=p["@value"]);"videoTimeline"===c?(l.type=c,y._parseNonLinearRules(l,s)):"triggers"===c&&(l.type=u,y._parseLinearRules(l,s)),_=M[l.type]||[],_.push(l)}return M},i.prototype._parseNonLinearRules=function(e,t){e&&t&&(e.start=parseInt(t["@startatclip"],10),e.duration=parseInt(t["@duration"],10),e.interval=parseInt(t["@intervalbetweenclips"],10),e.overlayStart=parseInt(t["@start"],10),e.padding=parseInt(t["@padding"],10),e.repeat=parseInt(t["@interval"],10),e.addRuleFunction(r.evaluateOverlay))},i.prototype._parseLinearRules=function(e,t){var n=this,i=!1,o=!1,a=!1,s=!1;if(e&&t){i="true"===t["@ratioEnabled"],o="true"===t["@minDurEnabled"],a="true"===t["@lengthEnabled"],s="true"===t["@firstAdProbabilityEnabled"],e.interval=parseInt(t["@interval"],10),e.start=parseInt(t["@start"],10),e.addRuleFunction(r.evaluateDefault),o&&(e.minimumDuration=parseInt(t["@minDuration"],10),e.addRuleFunction(r.evaluateMinimumDuration));var l;s?(e.probability=parseInt(t["@firstAdProbability"],10),l=r.evaluatefirstAdProbability):l=r.evaluateStart;var c;i?(e.ratio=parseInt(t["@ratio"],10),c=r.evaluateRatio):a?(e.length=parseInt(t["@length"],10),c=r.evaluateLength):c=r.evaluateFrequency,e.addRuleFunction(n._combineFunctions(l,c,"OR"))}},i.prototype._combineFunctions=function(e,t,n){var i=function(){return!1};return"AND"===n?i=function(){var n=this;return e.call(n)&&t.call(n)}:"OR"===n&&(i=function(){var n=this;return e.call(n)||t.call(n)}),i},i.prototype.onAdEvent=function(e,t,n,i){var r=this.constructor,o=r.basisMap[e],s=null,l=null;return t&&t.preEvaluate&&(l=t.evaluate(o,n,i),l&&(s=new a(e,l.actionValues,l.placement,l.duration,l.subType))),s},i.prototype.preEvaluate=function(e,t){var n,i,r=this.constructor,o=r.basisMap[e],s=[],l=null;if(t&&t.preEvaluate)for(l=t.preEvaluate(o),i=0;i<l.length;i++)n=l[i],s.push(new a(e,n.actionValues,n.placement));return s}},{"./ActionRule":118,"./AdSpec":120,"./RuleGroup":122}],120:[function(e,t,n){"use strict";function i(e,t,n,i,r){var o=this;o.type=e||"",o.actionValues=t||[],o.placement=n||"",o.adCallSequence=1,o.duration=i||0,o.adCount=0,o.fallbackParam=!0,o.adIdBeacon=0,o.subType=r}t.exports=i},{}],121:[function(e,t,n){"use strict";function i(e,t){var n=this;n.actionValues=null,n.placement=null,n.ruleFunctions=[],n.cookieUtil=o,n.nfl_free_time=e,n.nfl_session_time=t,n.subType=""}var r=e("../../util"),o=e("../common/CookieUtil"),a=e("../common/Constants"),s=e("./ActionRule");r.inherits(i,s),t.exports=i,i.prototype._evaluateNFLPreroll=function(){var e=this,t=parseInt(e.cookieUtil.getNFLVideoLength(),10);return t>=e.nfl_free_time},i.prototype._isNFLSessionExpired=function(){var e=this,t=parseInt(e.cookieUtil.getNFLSession(),10);return(new Date).getTime()/1e3-t>=e.nfl_session_time},i.prototype.evaluate=function(){var e=this;return e._isNFLSessionExpired()?(e.actionValues=["clickable"],e.subType=a.NFL_ONLOAD,!0):e._evaluateNFLPreroll()?(e.actionValues=["clickable"],e.subType=a.NFL_PREROLL,!0):!1}},{"../../util":"jJTEqU","../common/Constants":96,"../common/CookieUtil":97,"./ActionRule":118}],122:[function(e,t,n){"use strict";function i(){var e=this;e.preroll=[],e.clipGateway=[],e.videoTimeline=[],e.postroll=[]}t.exports=i;e("./ActionRule.js");i.prototype.evaluate=function(e,t,n){var i,r,o=this,a=o[e]||[],s=null;for(r=0;r<a.length;r++)i=a[r],i.type===e&&i.evaluate(t,n)&&(s=i);return s},i.prototype.preEvaluate=function(e){var t=this;return t[e]||[]}},{"./ActionRule.js":118}],123:[function(e,t,n){"use strict";function i(e,t){var n,i=/\{(\w)+\}/g;return n=e.replace(i,function(e){var n,i=/(\w)+/g,r=e.match(i),o=r[0],a="";if("beap_client_event"===o.toLowerCase()){for(var s in t)t.hasOwnProperty(s)&&(a+=s+"$"+t[s]+",");return a=a.substring(0,a.length-1)}return"1x1pixel"===o.toLowerCase()?"http://ads.yimg.com/a/a/vdo/a/1x1.gif":(n=t[o],(null===t[o]||void 0===t[o])&&(n=e),n)})}function r(e,t){for(var n,r=[],a=0;a<e.length;a++)n=e[a],n=i(n,t),o.sendImageBeacon(n),r.push(n);return r}var o=e("../../util"),a=e("../common/Errors"),s=e("../common/Constants"),o=e("../../util"),l={};l[s.NOAD]=125,l[a.AD_CALL_TIMEOUT]=102,l[a.EMPTY_RESPONSE]=5122,l[a.XML_PARSING]=108,l[a.NO_PARSER]=5125,l[a.MISSING_ADTGT]=122,l[a.PLAYER_TIMEOUT]=105,l[a.REQUEST_GENERIC]=104,l[a.INCOMPATIBLE_MEDIA]=120,l[a.MEDIA_PLAYBACK]=114,l[a.ADBLOCKER]=124,l[a.SSL_MISMATCH]=121,l[a.VPAID_TIMEOUT]=127,l[a.RESPONSE_GENERIC]=5130,l[a.VPAID_SWF_DOWNLOAD_ERROR]=8121;var c={};c[s.NOAD]=303,c[a.AD_CALL_TIMEOUT]=301,c[a.EMPTY_RESPONSE]=912,c[a.XML_PARSING]=100,c[a.NO_PARSER]=101,c[a.MISSING_ADTGT]=913,c[a.PLAYER_TIMEOUT]=402,c[a.REQUEST_GENERIC]=900,c[a.INCOMPATIBLE_MEDIA]=200,c[a.MEDIA_PLAYBACK]=405,c[a.VPAID_TIMEOUT]=901,n.onAdProgress=function(e,t,n,i){var o=e.adObj,a=o.isSkippable?2:1;n=Math.floor(n),t=Math.round(t);var s=25*Math.floor(4*t/n),l="playback"+s,c=o.beacons[l]||[],u=[];return n=Math.floor(n),i.ad_dur=n,i.s=a,u=u.concat(r(c,i)),o.beacons[l]=null,t>=30&&(c=o.beacons.cpcv||[],u=u.concat(r(c,{ad_dur:n,s:a})),o.beacons.cpcv=null),u},n.onAdStart=function(e,t,n){var i=e.adObj,o=i.beacons.impression||[],a=e.midrollbreak||0,s=e.midrolladsequence||0,l=i.duration||0,c=[];return c=c.concat(r(o,{cuuid:n,player_version:"nextgen",ad_break:a,ad_sequence:s,duration:l})),i.beacons.impression=null,o=i.beacons.bitrate||[],c=c.concat(r(o,{type:"bitrate",value:t})),i.beacons.bitrate=null,c},n.onAdBreakStart=function(e){var t=e.adObj,n=[];if(t&&t.beacons){var i=t.beacons["ad-break-start"]||[];n=n.concat(r(i)),t.beacons["ad-break-start"]=null}return n},n.onAdClick=function(e,t,n){var i,o=e.adObj,a=o.beacons.interaction||[],s=o.beacons.clicktracking||[],l=a.concat(s),c=Math.floor(t||10),u=[];return i=(o.params.clickCount||0)+1,o.params.clickCount=i,u=u.concat(r(l,{type:"click",time:c,seq:i}))},n.onNoAd=function(e,t){var n,i,a,u,d=e.redirectList.length,p=d>0,_=e.adObj,y=[],M=o.parseDomain(e.redirectList[0]||"")||"",v=o.parseDomain(e.redirectList[d-1]||"")||"",L=e.midrollbreak||0,m=e.midrolladsequence||0,E=_.duration||0;return _=e.adObj||{},p||_.type!==s.NOAD?(i=e.errorState||_.type,a=l[i]||i,u=c[i],n=_.beacons.noadimpression||[],y=y.concat(r(n,{err_code:a,initial_domain:M,vendor_domain:v,cuuid:t,player_version:"nextgen",ad_break:L,ad_sequence:m,duration:E})),_.beacons.noadimpression=null,n=_.beacons.errorimpression||[],y=y.concat(r(n,{err_code:u})),_.beacons.errorimpression=null):(n=_.beacons.impression||[],y=y.concat(r(n,{cuuid:t,player_version:"nextgen",ad_break:L,ad_sequence:m,duration:E})),_.beacons.impression=null),y},n.onCompanionDisplayed=function(e){r(e,{})}},{"../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98}],124:[function(e,t,n){"use strict";function i(){var e=this;e.bumper=null,e.preroll=null,e.midroll=null,e.postroll=null}function r(){var e=this;e.adOppEvents=[],e.adCallEvents=[],e.adDeliveryEvents=[]}function o(){var e=this;e.playContext="",e.networkName="",e.adPosition="none",e.subType="",e.taken=!1}function a(){var e=this;e.responseCode="",e.responseType="",e.firstRedirect="",e.redirectCount=0,e.adCallSequence=0,e.networkName="",e.creativeId="",e.bookingId="",e.cacheHit="",e.cacheId="",e.latency=null,e.clipStarted=!1,e.midrollAdBreak="",e.midrollAdPos="",e.adSystem="",e.br_id=""}function s(){var e=this;e.mediaStartLatency=null,e.serveId=null,e.error=""}function l(){var e=this;e.latency=-1}function c(e,t,n,i){var r=this;r._yvapBus=e,r.yvapVersion=t||"default",r.accountId=n||"test",r.playerTimeout=i,r._adProfileMap={},r._allStats={},r._clipStartBoolean={},r._archiveStats={},r._yvapBus.subscribe(d.BEGIN_AD_EXP,r._onBeginAdExperience,r),r._yvapBus.subscribe(d.AD_OPPORTUNITY,r._onAdOpportunity,r),r._yvapBus.subscribe(d.NULL_AD_OPPORTUNITY,r._onNullAdOpportunity,r),r._yvapBus.subscribe(d.AD_CALL_START,r._onAdCallStart,r),r._yvapBus.subscribe(d.AD_CALL_END,r._onAdCallEnd,r),r._yvapBus.subscribe(d.AD_SUBMITTED,r._onAdSubmitted,r),r._yvapBus.subscribe(d.AD_DELIVERED,r._onAdDelivered,r),r._yvapBus.subscribe(d.AD_DELIVERY_ERROR,r._onAdDeliveryError,r),r._yvapBus.subscribe(d.VIDEO_START,r._onContentVideoStart,r),r._yvapBus.subscribe(d.VIDEO_END,r._onContentVideoEnd,r),r._yvapBus.subscribe(d.AD_BREAK_ENDED,r._midRollEnd,r),r._yvapBus.subscribe(d.AD_BREAK_SUBMITTED,r._onAdBreakSubmission,r)}var u=e("../../util"),d=e("../common/Events"),p=e("../common/Errors"),_=e("../common/Constants");t.exports=c;var y={};y[_.NOAD]=2,y[_.AD]=2,y[_.VPAID]=4,y.ERROR=106;var M={};M[_.NOAD]=1,M[_.AD]=2,M[_.VPAID]=2,M[p.AD_CALL_TIMEOUT]=102,M[p.EMPTY_RESPONSE]=5122,M[p.XML_PARSING]=108,M[p.NO_PARSER]=5125,M[p.MISSING_ADTGT]=122,M[p.PLAYER_TIMEOUT]=105,M[p.REQUEST_GENERIC]=104,M[p.THIRD_PARTY_NO_AD]=125,M[p.SSL_MISMATCH]=121,M[p.MISSING_SPACEID]=131,M[p.RESPONSE_GENERIC]=5130,M[p.ADBLOCKER]=124;var v={};v[_.CACHE_L0]=1,v[_.CACHE_L1]=2,v[_.CACHE_L2]=3;var L=[_.PREROLL,_.BUMPER,_.CLIP_START,_.MIDROLL,_.POSTROLL,_.CLIP_END],m={};m[p.INCOMPATIBLE_MEDIA]=120,m[p.MEDIA_PLAYBACK]=114,m[p.GENERIC]=112,m[p.VPAID_TIMEOUT]=115,m[p.ADBLOCKER]=124,m[p.VPAID_SWF_DOWNLOAD_ERROR]=8121;var E={};E[_.NOAD]=125,E[p.AD_CALL_TIMEOUT]=102,E[p.EMPTY_RESPONSE]=124,E[p.XML_PARSING]=108,E[p.MISSING_ADTGT]=122,E[p.PLAYER_TIMEOUT]=105,E[p.REQUEST_GENERIC]=104,E[p.INCOMPATIBLE_MEDIA]=120,E[p.MEDIA_PLAYBACK]=114,E[p.VPAID_TIMEOUT]=127;var g=1,A=2;a.prototype.translate=function(e){var t,n,i,r=this;e&&(t=e.adObj||{},e.errorState?r.responseType=y.ERROR:t.type&&(r.responseType=y[t.type]),n=e.errorState||t.type,r.responseCode=M[n]||"",r.firstRedirect=u.parseDomain(e.redirectList[0])||"",r.redirectCount=e.redirectList.length,n===_.NOAD&&r.redirectCount>0&&(r.responseCode=M[p.THIRD_PARTY_NO_AD]),i=e.cacheState||"",r.cacheHit=v[i]||"",r.creativeId=t.creativeId||"",r.bookingId=t.bookingId||"",r.adId=t.adId||"",r.adXmlParseErr=t.adXmlParseErr||"",e.type===_.MIDROLL&&(r.midrollAdBreak=e.midrollbreak,r.midrollAdPos=e.midrolladsequence))},l.prototype.start=function(){var e=this;e._startTime=(new Date).getTime()},l.prototype.end=function(){var e=this;e._startTime&&(e._latency=(new Date).getTime()-e._startTime)},l.prototype.getLatency=function(){var e=this;return e._latency},c.prototype._onBeginAdExperience=function(e){var t=this;e&&(t._clipStartBoolean[e]=!1,t._allStats[e]=null)},c.prototype._onNullAdOpportunity=function(e,t){var n=this,i=new o;i.adPosition=t,i.taken=A,n._fireAdOpportunity(i)},c.prototype._onAdOpportunity=function(e,t,n,i,r,a){var s,l=this,c=null!==n&&null!==i,u=new o;a||(a=0),u.adPosition=t,n&&(u.subType=n.subType||t),r&&(u.playContext=r.licenseId),i&&(u.networkName=i.communicatorName),u.taken=c?g:A,e&&(s=l._getPositionStats(e,t),s.adOppEvents[a]=u)},c.prototype._onAdCallStart=function(e){var t,n,i=this;e&&(t="adCall"+Math.floor(100*Math.random())+(new Date).getTime(),n=new l,n.start(),i._adProfileMap[t]=n,e.adCallIdentifier=t)},c.prototype._onAdCallEnd=function(e,t){var n,i,r=this;e&&t&&(n=e.adCallIdentifier||"",i=r._adProfileMap[n],i&&(i.end(),t.adCallIdentifier=n))},c.prototype._onAdSubmitted=function(e,t){var n,i,r,o,s,l,c,u,d=this,p=0;t&&e&&(n=t.adCallIdentifier,s=t.type,o=d._adProfileMap[n],c=t.communicatorSpec,u=t.adSpec,s===_.MIDROLL&&(p=t.midrolladsequence),i=new a,i.position=s,l=d._getPositionStats(e,s),l.adCallEvents[p]=i,i.latency=o?o.getLatency():0,i.clipStarted=d._clipStartBoolean[e]?g:A,i.adCallSequence=u.adCallSequence,i.networkName=c.communicatorName,i.translate(t),i.adSystem=t.adSystem||"",i.br_id=t.br_id||"",d._clipStartBoolean[e]&&s!==_.MIDROLL&&(l=d._getArchivedPositionStats(e,s),l&&(r=l.adOppEvents[p],l.adCallEvents[p]=i,d._fireAdCall(r,i))))},c.prototype._onAdBreakSubmission=function(e,t,n,i,r,o,a,s){var l,c,u=this;n=n||0,i=i||0,r=r||0,o=o||0,a=a||0,s=s||0,e&&t===_.MIDROLL&&(l={vx:"99",cf02:u.yvapVersion,brId:s},c={vx:"99",cf02:u.yvapVersion,brId:s,oppN:n,submit:i,noads:r,VAST:o,VPAID:a,ptval:u.playerTimeout},u._yvapBus.publish(d.AD_METRIC,{ywa:l,qos:c}))},c.prototype._getArchivedPositionStats=function(e,t){var n,i=this;return n=i._archiveStats[e],n?n[t]:null},c.prototype._getPositionStats=function(e,t){var n,o,a=this;return n=a._allStats[e]||new i,a._allStats[e]=n,o=n[t]||new r,n[t]=o,o},c.prototype._archivePositionStats=function(e,t,n){var o,a,s,l,c,u,d=this;n=n||0,o=d._allStats[e],s=o[t],o[t]&&(l=o[t].adOppEvents[n],u=o[t].adDeliveryEvents[n],c=o[t].adCallEvents[n],o[t].adOppEvents[n]=null,o[t].adCallEvents[n]=null,o[t].adDeliveryEvents[n]=null),a=d._archiveStats[e]||new i,a[t]=a[t]||new r,l&&(a[t].adOppEvents[n]=l),l&&(a[t].adCallEvents[n]=c),l&&(a[t].adDeliveryEvents[n]=u),d._archiveStats[e]=a},c.prototype._fireForPrecedingPositions=function(e,t){for(var n,i,r,o=this,a=0;a<L.length&&L[a]!==t;a++){if(n=o._getPositionStats(e,L[a]))for(var s=0;s<n.adOppEvents.length;s++)i=n.adOppEvents[s],o._fireAdOpportunity(i),r=n.adCallEvents[s],o._fireAdCall(i,r);o._archivePositionStats(e,L[a])}},c.prototype._onAdDelivered=function(e,t,n,i,r,o,a){var l,c,u,p,y,M,v,L=this,m=r||0,E=o||0,g=a||0,A=0,T=0;if(L._fireForPrecedingPositions(e,t),i&&(T=i.adObj.duration||0),i&&i.type===_.MIDROLL&&(A=i.midrolladsequence),e&&t){if(u=new s,u.mediaStartLatency=n,i&&i.adObj&&i.adObj.serveId&&(u.serveId=i.adObj.serveId),l=L._getPositionStats(e,t),c=L._getArchivedPositionStats(e,t),l.adDeliveryEvents[A]=u,p=l.adOppEvents[A],L._fireAdOpportunity(p),y=l.adCallEvents[A],L._fireAdCall(p,y),c&&(p=p||c.adOppEvents[A],y=y||c.adCallEvents[A]),p&&y&&(M={vx:"12",cf60:y.networkName,cf65:p.adPosition,cf66:y.firstRedirect,cf70:y.redirectCount,cf03:L.accountId,cf02:L.yvapVersion,cf47:y.responseCode,cf48:y.responseType,cf89:y.creativeId,cf90:y.bookingId,cf250:y.cacheHit,cf56:u.mediaStartLatency,cf84:y.adCallSequence,cf17:y.midrollAdBreak,cf39:T},v={vx:"12",cf60:y.networkName,cf65:p.adPosition,subT:p.subType,cf66:y.firstRedirect,cf70:y.redirectCount,cf03:L.accountId,cf02:L.yvapVersion,cf47:y.responseCode,cf48:y.responseType,cf89:y.creativeId,cf90:y.bookingId,cf250:y.cacheHit,cf56:u.mediaStartLatency,cf84:y.adCallSequence,midrolltime:y.midrollAdBreak,midrollpos:y.midrollAdPos,duration:T,ptval:L.playerTimeout,vsl:m,vil:E,vst:g,serveId:u.serveId,ad_id:y.adId,ad_xml_err:y.adXmlParseErr},L._yvapBus.publish(d.AD_METRIC,{ywa:M,qos:v}),window.showLatencies)){var b={vsl:m,vil:E,vst:g,aml:u.mediaStartLatency};window.showLatencies(b,!0)}L._archivePositionStats(e,t,A)}},c.prototype._onAdDeliveryError=function(e,t,n,i,r,o,a){var l,c,u,y,M,v,L,E=this,g=0;n!==_.NOAD&&(E._fireForPrecedingPositions(e,t),i&&i.type===_.MIDROLL&&(g=i.midrolladsequence),e&&t&&(u=new s,u.error=n||p.GENERIC,v=E._getPositionStats(e,t),L=E._getArchivedPositionStats(e,t),v.adDeliveryEvent=u,l=v.adOppEvents[g],E._fireAdOpportunity(l),c=v.adCallEvents[g],E._fireAdCall(l,c),L&&(l=l||L.adOppEvents[g],c=c||L.adCallEvents[g]),l&&c&&(y={vx:"18",cf60:c.networkName,cf65:l.adPosition,cf66:c.firstRedirect,cf70:c.redirectCount,cf03:E.accountId,cf02:E.yvapVersion,cf47:c.responseCode,cf48:c.responseType,cf93:m[u.error],cf84:c.adCallSequence},M={vx:"18",cf60:c.networkName,cf65:l.adPosition,subT:l.subType,cf66:c.firstRedirect,cf70:c.redirectCount,cf03:E.accountId,cf02:E.yvapVersion,cf47:c.responseCode,cf48:c.responseType,cf93:m[u.error],cf84:c.adCallSequence,midrolltime:c.midrollAdBreak,midrollpos:c.midrollAdPos,ptval:E.playerTimeout,vsl:r,vil:o,vpaidS:a,ad_id:c.adId,ad_xml_err:c.adXmlParseErr},E._yvapBus.publish(d.AD_METRIC,{ywa:y,qos:M})),E._archivePositionStats(e,t,g)))},c.prototype._onContentVideoStart=function(e){var t=this;t._clipStartBoolean[e]=!0,t._fireForPrecedingPositions(e,_.CLIP_START)},c.prototype._midRollEnd=function(e){var t=this;t._clipStartBoolean[e]=!0,t._fireForPrecedingPositions(e,_.POSTROLL)},c.prototype._onContentVideoEnd=function(e){var t=this;t._fireForPrecedingPositions(e,_.CLIP_END)},c.prototype._fireAdOpportunity=function(e){var t,n,i=this;e&&(t={vx:"16",cf60:e.networkName,cf65:e.adPosition,cf03:i.accountId,cf02:i.yvapVersion,cf82:e.taken},n={vx:"16",cf60:e.networkName,cf65:e.adPosition,subT:e.subType,cf03:i.accountId,cf02:i.yvapVersion,cf82:e.taken,ptval:i.playerTimeout},i._yvapBus.publish(d.AD_METRIC,{ywa:t,qos:n}))},c.prototype._fireAdCall=function(e,t){var n,i,r,o=this;if(e&&t&&(r=t.clipStarted?g:A,n={vx:"7",cf60:t.networkName,cf65:e.adPosition,cf66:t.firstRedirect,cf70:t.redirectCount,cf03:o.accountId,cf02:o.yvapVersion,cf47:t.responseCode,cf48:t.responseType,cf67:t.clipStarted,cf89:t.creativeId,cf90:t.bookingId,cf250:t.cacheHit,cf61:e.playContext,cf84:t.adCallSequence},i={vx:"7",cf60:t.networkName,cf65:e.adPosition,subT:e.subType,cf66:t.firstRedirect,cf70:t.redirectCount,cf03:o.accountId,cf02:o.yvapVersion,cf47:t.responseCode,cf48:t.responseType,cf67:t.latency,cf89:t.creativeId,cf90:t.bookingId,cf250:t.cacheHit,cf61:e.playContext,cf84:t.adCallSequence,timeout:t.clipStarted,ptval:o.playerTimeout,adblock:_.ADBLOCKER,adSystem:t.adSystem,br_id:t.br_id,ad_id:t.adId,ad_xml_err:t.adXmlParseErr},o._yvapBus.publish(d.AD_METRIC,{ywa:n,qos:i}),window.showLatencies)){var a={adl:t.latency};window.showLatencies(a)}},c.prototype.getArchive=function(){var e=this;return e._archiveStats}},{"../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99}],125:[function(e,t,n){"use strict";function i(){var e=this;e.diagnostic=null}var r=e("../../views/ads-diagnostics.html"),o=e("../../util"),a=e("../common/Constants");t.exports=i,i.prototype.generateDiagnostics=function(e){var t=this,n=[];for(var i in e)if(e.hasOwnProperty(i)){var s={};s.clipId=i;var l=e[i];s.data=[];var c={};c.position=a.PREROLL,c.data=t._generatePositionStat(l.preroll),s.data.push(c);var u={};u.position=a.BUMPER,u.data=t._generatePositionStat(l.bumper),s.data.push(u);var d={};d.position=a.MIDROLL,d.data=t._generatePositionStat(l.midroll),s.data.push(d);var p={};p.position=a.POSTROLL,p.data=t._generatePositionStat(l.postroll),s.data.push(p),n.push(s)}var _;return n&&(_=o.render(r,{clipStats:n})),_},i.prototype._generatePositionStat=function(e){var t=[];if(e)for(var n=e.adOppEvents,i=e.adCallEvents,r=e.adDeliveryEvents,o=0;o<n.length;o++){var a={},s=n[o];s&&(a.taken=1===s.taken?!0:!1,a.communicator=s.networkName);var l=i[o];l&&(a.responseCode=l.responseCode,a.responseType=l.responseType,a.firstRedirect=l.firstRedirect,a.redirectCount=l.redirectCount);var c=r[o];c&&(a.error=c.error,a.mediaStartLatency=c.mediaStartLatency),t.push(a)}return t}},{"../../util":"jJTEqU","../../views/ads-diagnostics.html":56,"../common/Constants":96}],126:[function(e,t,n){"use strict";function i(e,t){var n=this;n._reset(),n._eventBus=e,n._rendererDiv=t,n._rendererDivRect=t&&t.getClientRects?t.getClientRects()[0]:null,n._eventBus.subscribe(c.AD_PLAYBACK_ENDED,n._stop,n),n._eventBus.subscribe(c.Ad.PAUSE,n._pause,n),n._eventBus.subscribe(c.AD_PLAYBACK_RESUMED,n._resume,n),n._eventBus.subscribe(c.FULLSCREEN_CHANGE,n._toggleFullScreenSetting,n),n._rendererDiv&&(n._rendererDiv.id=n._rendererDiv.id?n._rendererDiv.id:"vidView001")}var r=e("../../util"),o=(e("../../../../lib"),e("../../../../lib/logger")),a=e("../yvap-util"),s=(e("../common/Events"),e("../common/Errors"),e("../common/Constants")),l=e("../communicator/CommunicatorFactory"),c=e("../../event");t.exports=i,i.prototype._reset=function(){var e=this;clearInterval(e._timer),e._timer=null,e._ad=null,e._communicatorName=null,e._isFullScreen=!1,e._firstCheck=!0,e._viewAtInit=0,e._viewabilityBeaconFired=!1,e._viewableTime=0,e._totalViewableTime=0,e._totalPlaybackDuration=0,e._started=0,e._percentViewArr=[],e._isViewabilityMeasurable=s.UNKNOWN},i.prototype._getViewability=function(){var e=this,t=null,n=0,i=e._rendererDiv.id;if(e._isIFrame){var r=top.document.querySelector('iframe[src="'+location.href+'"]');r.getAttribute("id")||r.setAttribute("id","vidView"+(new Date).getTime()),i=r.getAttribute("id")}e._isFullScreen?n=1:(e._darla&&e._darla.yvap.view&&(t=e._darla.yvap.view(i)),n=t?t.iv:0),e._handleViewability(n)},i.prototype._handleViewability=function(e){var t=this;if(t._totalPlaybackDuration=t._firstCheck?0:t._totalPlaybackDuration+s.INTERNAL_POLLING_INTERVAL,e>=s.VIEWABILITY_THRESHOLD&&!t._firstCheck?(t._viewableTime=t._viewableTime+s.INTERNAL_POLLING_INTERVAL,t._totalViewableTime=t._totalViewableTime+s.INTERNAL_POLLING_INTERVAL):t._viewableTime=0,t._firstCheck&&(t._firstCheck=!1,t._viewAtInit=e>=s.VIEWABILITY_THRESHOLD?1:0),t._percentViewArr.push(e),t._viewableTime>=s.TIME_FOR_VIEWABLE_IMPRESSION&&!t._viewabilityBeaconFired){var n=t._getAvBeaconUrl(e),i=t._ad.beacons.viewableimpression||[];if(n||i.length>0){if(n&&r.sendImageBeacon(n),i.length>0)for(var a=0;a<i.length;a++)t._processYamPlusBeacon(i[a],e);o.log("ViewabilityManager: beacon fired"),t._viewabilityBeaconFired=!0}else o.log("ViewabilityManager: beacon params not found.")}},i.prototype._processYamPlusBeacon=function(e,t){var n=this;if(e){var i,o={},a=(new Date).getTime();o.pctview=100*t,o.initview=n._viewAtInit,o.MeasurementType=1,o.Timestamp=a,i=n._populateYamPlusMacros(e,o),r.sendImageBeacon(i)}},i.prototype._populateYamPlusMacros=function(e,t){var n,i=/\{(\w)+\}|\%(\w)+\%/g,r=t,o=function(e){var t,n=/(\w)+/g,i=e.match(n),o=i[0];return t=r[o],"undefined"!=typeof t&&null!==t?t:e};return n=e.replace(i,o)},i.prototype._getAvBeaconUrl=function(e){var t=this,n=t._getBeaconData(e),i="";return n&&t._darla.yvap.avb&&(i=t._darla.yvap.avb(n.spaceId,n.pvId,n.position,n.serveTime)),i},i.prototype._getBeaconData=function(e){var t=this,n={},i={};return i.size=t._rendererDivRect?t._rendererDivRect.width+"x"+t._rendererDivRect.height:"",i.bookID=t._ad.bookingId,i.ioID=999999,i.lineID=999999,i.adID=999999,i.slotID=999999,i.creativeID=t._ad.creativeId,i.impID=t._ad.impressionId,i.pctIV=100*e,i.initIV=t._viewAtInit,n.spaceId=t._ad.spaceId,n.pvId=t._ad.serveId,n.serveTime=t._ad.serveTime,n.position={},n.position[t._ad.position]=i,n},i.prototype._toggleFullScreenSetting=function(){var e=this,t=e._isFullScreen;e._isFullScreen=t?!1:!0},i.prototype._pause=function(){var e=this;clearInterval(e._timer)},i.prototype._resume=function(e){var t=this;1===t._started&&(t._timer=setInterval(function(){t._getViewability()},s.INTERNAL_POLLING_INTERVAL))},i.prototype._stop=function(e){var t=this;clearInterval(t._timer),t._started=0},i.prototype.start=function(e,t){var n=this;if(n._reset(),n._rendererDiv&&e)if(n._ad=e.adObj,n._communicatorName=l.getCommunicatorUsingSpec(e.communicatorSpec).spec?l.getCommunicatorUsingSpec(e.communicatorSpec).spec.communicatorName:"",n._communicatorName===s.MME||n._communicatorName===s.PREVIEW)if(a.isViewabilityMeasurable()){var i=a.getDARLA();n._darla=i?i.darla:null,n._isIFrame=i?i.isIFrame:0,n._isViewabilityMeasurable=s.VIEWABILITY_MEASURABLE,n._started=1,n._timer=setInterval(function(){n._getViewability()},s.INTERNAL_POLLING_INTERVAL)}else n._isViewabilityMeasurable=a.getViewabilityNonMeasurableValue(),o.log("ViewabilityManager: Viewability Not measureable: "+n._isViewabilityMeasurable);else o.log("ViewabilityManager: Not a MME Ad. Viewability will not be measured");else o.log("ViewabilityManager: Ad object not present OR Videoplayer element not found")},i.prototype.getViewabilitySummary=function(){var e=this,t={data:e._percentViewArr,max:function(){return this.data.length?Math.max.apply(Math,this.data):0},min:function(){return this.data.length?Math.min.apply(Math,this.data):0},avg:function(){for(var e=this.data,t=e.length,n=0,i=0,r=0;t>r;r++)n+=e[r];return i=n/t||0}},n={vi_tpd:e._totalPlaybackDuration,vi_tvd:e._totalViewableTime,vi_mpv:(100*t.min()).toFixed(0),vi_mxpv:(100*t.max()).toFixed(0),vi_apv:(100*t.avg()).toFixed(0),vi_pw:e._rendererDivRect.width,vi_ph:e._rendererDivRect.height,vi_psnd:s.PLAYER_SOUND_ON,vi_ploc:s.UNKNOWN,vi_pib:s.UNKNOWN,vi_pap:s.UNKNOWN,vi_m:e._isViewabilityMeasurable};return n}},{"../../../../lib":"bRhrlU","../../../../lib/logger":"IS9j5T","../../event":"YJm+dH","../../util":"jJTEqU","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"../communicator/CommunicatorFactory":106,"../yvap-util":133}],127:[function(e,t,n){"use strict";function i(e,t,n,i,r){var o=this;t&&(o.playbackId=e||"",o.resourceType=t.resourceType||"",o.resourceUrl=t.resourceUrl||"",o.scalable=t.scalable||"",o.duration=i||0,o.position=n||"",r&&(o.adParams=r.AdParameters))}t.exports=i},{}],128:[function(e,t,n){"use strict";function i(e){var t=this;t._customParams={},t.rules=null,t.allocation=null,t.adList=null,t.rendererType=null,t.adTargeting=null,t.clipCategory=null,e&&(t.clipId=e.clipId,t.clipDuration=e.clipDuration,t.licenseId=e.licenseId,t.spaceId=e.spaceId,t.playlistId=e.playlistId,t.rendererType=e.rendererType,e.yvap&&t._processAdData(e.yvap),t.isLive=e.isLive||!1,t.isLive&&0===t.clipDuration&&(t.clipDuration=450))}t.exports=i;var r=e("./common/Constants");i.prototype.addCustomParams=function(e,t){var n=this;n._customParams[e]=t},i.prototype.getCustomParams=function(e){var t=this;return t._customParams[e]},i.prototype.setAdData=function(e){var t=this;t._processAdData(e)},i.prototype._processAdData=function(e){var t,n=this;e&&(e.adRules&&e.adRules.result&&(t=e.adRules.result,n.rules=t.ruleGroup||{},n.allocation=t.allocation||{},n.rendererType=t.rendererType||"",n.adList=t.adList||[]),n.adTargeting=e.ad_targeting||"",n.clipCategory=e.category||"",n[r.YVAP_INFO_AD_BREAKS]=e[r.YVAP_INFO_AD_BREAKS]||"",n.content_provider_data=e.content_provider_data,n.topics=e.topics)},i.prototype.clean=function(){var e=this;e.rules=null,e.allocation=null,e.rendererType=null,e.adList=null,e[r.YVAP_INFO_AD_BREAKS]=null}},{"./common/Constants":96}],129:[function(e,t,n){"use strict";function i(e,t){var n=this;n._yvapBus=e,t&&t.getElementsByTagName&&(n._container=t),n._overlayDiv=document.createElement("div"),n._overlayDiv.style.display="inline-block",n._overlayDiv.style.textAlign="auto",n._overlayDiv.style.position="absolute",n._currentDom=null,n._displayTimer=null;n.svgElem=document.createElement("div"),n.svgElem.style.display="block",n.svgElem.style.position="absolute",n.svgElem.style.top="0",n.svgElem.style.right="0",n.svgElem.style.backgroundColor="white",n.svgElem.style.pointerEvents="auto",n.svgElem.style.width="10px",n.svgElem.style.height="10px",n.svgElem.innerHTML='<svg width="10" height="10" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top:0px; right:0px;">        <g>        <title>Layer 1</title>        <polygon fill="#000000" points="10,1.502 8.498,0 5,3.499 1.502,0.001 0,1.503 3.498,5 0,8.498 1.502,10 5,6.502 8.498,10 10,8.498    6.502,5 " id="svg_1"/>        </g>        </svg>',n.svgElem.addEventListener("click",function(e){n.removeOverlay()})}var r=e("../common/Events"),o=e("../../../../lib/logger");t.exports=i,i.prototype.renderOverlay=function(e){var t,n,i,a,s,l,c,u=this,d=document.createElement("div");if(!u._currentDom&&e&&(c=e.playbackId||"",n=e.resourceType||"",t=e.resourceUrl||"",a=e.scalable||!1,s=e.duration||0,l=e.position,"image/jpeg"===n&&t?(i=document.createElement("img"),i.src=t,a&&o.log("scaling not implemented")):o.log("overlay is not known type: "+n+", aborting overlay rendering"),i&&u._container)){u._overlayDiv.style[l]="0px",d.appendChild(i),d.appendChild(u.svgElem),u._currentDom=d;var p=u._overlayDiv.style;p.position="absolute",p.display="block",u._overlayDiv.style[l]="0px",p.height="50px",p.width="100%",
  p.zIndex=100,p.pointerEvents="none",p.background="transparent",p.textAlign="center",d.style.position="relative",d.style.display="inline-block",d.style.textAlign="auto",d.style.background="transparent",d.style.textAlign="center",d.style.height="50px",u._container.appendChild(u._overlayDiv),u._overlayDiv.appendChild(d),u._displayTimer=setTimeout(function(){u.removeOverlay()},1e3*s),i.style.pointerEvents="auto",i.style.opacity="0.5",i.addEventListener("click",function(e){u._yvapBus&&u._yvapBus.publish(r.OVERLAY_CLICK,c)}),i.addEventListener("mouseover",function(e){e.target.style.opacity="1.0"}),i.addEventListener("mouseout",function(e){e.target.style.opacity="0.85"}),u._yvapBus&&u._yvapBus.publish(r.OVERLAY_RENDERED,c)}},i.prototype.removeOverlay=function(){var e=this;e._container&&e._currentDom&&e._overlayDiv&&(e._overlayDiv.removeChild(e._currentDom),e._container.removeChild(e._overlayDiv),e._currentDom=null),clearTimeout(e._displayTimer)}},{"../../../../lib/logger":"IS9j5T","../common/Events":99}],130:[function(e,t,n){"use strict";function i(e,t,n,i){var r=this,u=e.yvap.accountId,d=e.yvap.timeout;r._config=e,r._eventBus=t,r._yvapBus=new a("yvap"),r._rendererDiv=n||{},r._player=i||{},r._cacheManager=new v(r._yvapBus),r._analytics=new A(r._yvapBus,"fireball",u,d),r._viewabilityManager=new T(r._eventBus,r._rendererDiv),r._adEngine=new y,r._allocationManager=L,r._adPlaybackManager=E,r._diagnostics=new g;var p=r._rendererDiv.clientWidth,_=r._rendererDiv.clientHeight;r._vpaidjsRenderer=new m(r._eventBus),r._vpaidflashInterface=new I(r._eventBus,r._yvapBus,p,_,i),r._overlayRenderer=new C(r._yvapBus,r._rendererDiv),r._midrollsHelper=new w(r._yvapBus,r._cacheManager),(!s.ie||s.ie>=10)&&h.detectAdBlocker(function(e){c.ADBLOCKER=e}),r._currentClipId="",r.playbackMap={},r.waitlistMap={},r._videoStartTime=0,r._lastVolume=1,"number"==typeof e.yvap.volume&&(r._lastVolume=e.yvap.volume),r._mute=e.yvap.mute||!1,r._onVolumeChange(r._lastVolume),r._onMuteChange(r._mute),r._clipStarted=!1,r._yvapBus.subscribe(l.CACHE_UPDATE,r._onCacheUpdate,r),r._yvapBus.subscribe(l.CACHE_REFRESH_REQUEST,r._onCacheRefreshRequest,r),r._yvapBus.subscribe(l.CACHE_UPDATE,r._vpaidjsRenderer.onAdUpdateInCache,r._vpaidjsRenderer),r._yvapBus.subscribe(l.AD_METRIC,r._onAdMetric,r),t.subscribe(o.PLAYBACK_PROGRESS,r._onContentVideoProgress,r),t.subscribe(o.PLAYBACK_STARTED,r._onContentVideoStart,r),t.subscribe(o.PLAYBACK_ENDED,r._onContentVideoEnd,r),t.subscribe(o.AD_PLAYBACK_STARTED,r._onAdStart,r),t.subscribe(o.AD_PLAYBACK_PROGRESS,r._onAdProgress,r),t.subscribe(o.AD_PLAYBACK_ENDED,r._onAdEnd,r),t.subscribe(o.AD_CLICK,r._onAdClick,r),t.subscribe(o.Ad.NO_PLAYABLE_STREAM,r._onAdNotPlayable,r),t.subscribe(o.Ad.NO_AD,r._onNoAd,r),t.subscribe(o.AD_PLAYBACK_ERROR,r._onAdPlaybackError,r),t.subscribe(o.API.PLAYBACK_SEEK_COMPLETE,r._onContentVideoSeek,r),t.subscribe(o.PLAYER_RESIZE,r._onPlayerResize,r),t.subscribe(o.CONTROLS_SET_VOLUME,r._onVolumeChange,r),t.subscribe(o.CONTROLS_SET_MUTE,r._onMuteChange,r),t.subscribe(o.AD_PLAYBACK_REQUEST,r._onAdPlaybackRequest,r),t.subscribe(o.SWF_READY,r._onSwfReady,r),t.subscribe(o.PAUSE_VPAID,r._onPauseVpaid,r),t.subscribe(o.RESUME_VPAID,r._onResumeVpaid,r),r._yvapBus.subscribe(l.OVERLAY_CLICK,r._onOverlayAdClick,r),r._yvapBus.subscribe(l.OVERLAY_RENDERED,r._onOverlayAdStart,r),t.subscribe(o.AD_BREAK_STARTED,r._midRollStart,r),t.subscribe(o.AD_BREAK_ENDED,r._midRollEnd,r),r._secretCode="",r._theBestTeam()}t.exports=i;var r=e("../../../lib/logger"),o=e("../event"),a=e("../../../lib/event-bus"),s=e("../../../lib/user-agent"),l=e("./common/Events"),c=e("./common/Constants"),u=e("./common/Errors"),d=e("./ads-json"),p=e("./engine/AdSpec"),_=e("./player-data"),y=e("./engine/AdEngine"),M=e("./engine/NFLRules"),v=(e("./engine/ActionRule"),e("./cache/CacheManager")),L=e("./allocation/AllocationManager"),m=e("./vpaidjs-renderer"),E=e("./monitoring/AdPlaybackManager"),g=e("./monitoring/Diagnostics"),A=e("./monitoring/Analytics"),T=e("./monitoring/ViewabilityManager"),b=e("./engine/RuleGroup"),I=e("./vpaid/VPAIDFlashInterface"),C=e("./renderer/HTML5OverlayRenderer"),f=e("./communicator/CommunicatorFactory"),N=e("./allocation/CommunicatorSpec"),D=e("./common/CookieUtil"),h=e("./yvap-util"),S=e("./overlay-json"),w=e("./communicator/MidRollsHelper"),R={};R[c.BUMPER]=!0,R[c.PREROLL]=!0,R[c.POSTROLL]=!0,R[c.NON_LINEAR]=!1;var j=e("./communicator/ParserManager"),O=e("./yvap-util");e("./communicator/YAXvCommunicator");i.prototype.updatePlayerData=function(e){for(var t,n,i=this,r=0;r<e.length;r++){t=new _(e[r]);var o=t.clipId;c.YVAP_INFO_AD_BREAKS;if(t.hasOwnProperty(c.YVAP_INFO_AD_BREAKS)&&""!==t[c.YVAP_INFO_AD_BREAKS]){var a=j.parseAdXml(t[c.YVAP_INFO_AD_BREAKS])||{};a=a.adBreakMap,i._cacheManager.addCuePointsForClipId(a,o)}n=new b;var s=n.preroll,l=c.NFL_FREE_TIME,u=c.NFL_SESSION_TIME;if(t.licenseId===c.NFL_NOW_LMSID){t.content_provider_data&&t.content_provider_data.rules&&(l=parseInt(t.content_provider_data.rules.freeUserPeriodInSeconds,10),u=parseInt(t.content_provider_data.rules.onloaderPeriodInSeconds,10));var d=new M(l,u);d.type=c.PREROLL,s.push(d)}else{var p=t.rules;n=i._adEngine.understandRules(p)}n&&i._cacheManager.addRuleForClipId(n,o);var y=t.allocation,v=i._allocationManager.understandAllocation(y);v&&i._cacheManager.addAllocationForClipId(v,o),i._cacheManager.addPlayerDataForClipId(t,o);var L=t.adList;i._cacheManager.updateAdCache(L,o),t.clean()}},i.prototype.getAdsFor=function(e){var t,n,i,r,o,a=this,s=new N;return s.communicatorName=c.YAXv,t=f.getCommunicatorUsingSpec(s),e&&e.clipId?(o=e.clipId,t?(i=new _(e),n=new p(c.PREROLL,["clickable"]),r=t.getKey(n,i),a._cacheManager.addPlayerDataForClipId(i,o),a._yvapBus.publish(l.AD_OPPORTUNITY,o,c.PREROLL,n,s,i),a._cacheManager.getNewAd(t,n,i),a._addKeyToWaitlist(r,n),!0):!1):(a._yvapBus.publish(l.NULL_AD_OPPORTUNITY,o,c.CLIP_DATA_MISSING),!1)},i.prototype.beginAdExperience=function(e,t){var n,i=this;if(i.waitlistMap={},i._currentClipId=e,i._clipStarted=!1,i._overlayRenderer.removeOverlay(),i._vpaidflashInterface.stopAd(),i._yvapBus.publish(l.BEGIN_AD_EXP,e),n=i._cacheManager.getCuePointsForClipId(e)){var a=[];Object.keys(n).length||0;for(var s in n)if(n.hasOwnProperty(s)){var u=O.convertTimeToSeconds(n[s].timeOffset);a.push(u)}i._eventBus.publish(o.AD_BREAK_TIMELINE,a),i._midrollsHelper.stopMidRollsFetchThread(),i._midrollsHelper.startMidRollsFetchThread(e)}var d=i._cacheManager.getRuleForClipId(e);if(d){var p=i._getAd(c.PREROLL,e);i._updateAds(p);var _=i._getAd(c.BUMPER,e);i._updateAds(_)}else r.log("Rules missing"),i._yvapBus.publish(l.NULL_AD_OPPORTUNITY,e,c.RULES_MISSING);i._fireAdsReady()},i.prototype._fireAdsReady=function(){var e=this,t=!1;for(var n in e.waitlistMap)e.waitlistMap.hasOwnProperty(n)&&(t=t||e.waitlistMap[n]);t||e._eventBus.publish(o.ADS_READY)},i.prototype._getAd=function(e,t,n){var i=this,r=null,o=i._cacheManager.getRuleForClipId(t),a=i._cacheManager.getPlayerDataForClipId(t),s=i._cacheManager.getAllocationForClipId(t);if(o&&a&&s){var c=i._adEngine.onAdEvent(e,o,a.clipDuration,n),u=s.pickCommunicator(c);if(i._yvapBus.publish(l.AD_OPPORTUNITY,t,e,c,u,a),r=i._cacheManager.getAd(t,u,c),!r){var d=f.getCommunicatorUsingSpec(u);if(d){var p=d.getKey(c,a);i._addKeyToWaitlist(p,c)}}}return r},i.prototype._checkForVPAIDPreInit=function(e){var t,n=this;e&&(t=e.adObj,t&&t.type===c.VPAID&&n._yvapBus.publish(l.VPAID_PREFETCH_REQUEST,t))},i.prototype._createAdsJson=function(e){var t=null;if(e){var n=e.adObj,i=e.type,r="ad"+Math.floor(1e3*Math.random())+(new Date).getTime(),o=0;if(n&&!e.errorState){var a=n.type,s=n.streams,l=n.params?n.params.clickurl:null,u=n.adId;o=n.duration||c.DEFAULT_AD_DURATION,t=new d(r,i,s,l,a,u,o)}else t=new d(r,i,null,"",c.NOAD,"",o)}return t},i.prototype._updateAds=function(e){var t=this,n=[];if(e){var i=e.adObj,r=e.adSpec,a=e.communicatorSpec;if(i&&i.type===c.NOAD){var s=t._cacheManager.getAllocationForClipId(t._currentClipId),d=s.pickFallbackCommunicator(a);if(d){r.adCallSequence++;var p=t._cacheManager.getAd(t._currentClipId,d,r);if(p)p.adSpec=e.adSpec,p.type=e.type,e=p;else{var _=f.getCommunicatorUsingSpec(d);if(_){var y=t._cacheManager.getPlayerDataForClipId(t._currentClipId),M=_.getKey(r,y);t._addKeyToWaitlist(M,r),e=null}}}}}if(e){var v=t._createAdsJson(e),L=v.playbackId;if(t.playbackMap[L]=e,n.push(v),t._clipStarted){var m=e.type;(m===c.BUMPER||m===c.PREROLL)&&(e.errorState=u.PLAYER_TIMEOUT,E.onNoAd(e,t._currentClipId))}"l1"===e.cacheState&&t._checkForVPAIDPreInit(e),t._yvapBus.publish(l.AD_SUBMITTED,t._currentClipId,e)}n.length>0&&(t._eventBus.publish(o.ADS_OBJS_UPDATE,n),t._fireAdsReady())},i.prototype._renderOverlay=function(e){var t=this;if(e){var n=e.adSpec,i=e.adObj;if(i){var r="ad"+Math.floor(1e3*Math.random())+(new Date).getTime();t.playbackMap[r]=e;var o=new S(r,i.nonLinearAd,n.placement,n.duration,i.adParameters),a=o.resourceType;a===c.OVERLAY_VPAID?t._vpaidflashInterface.renderOverlayAd(o):a===c.OVERLAY_IMAGE&&t._overlayRenderer.renderOverlay(o)}}},i.prototype._addKeyToWaitlist=function(e,t){var n=this;e&&t&&(n.waitlistMap[e]=t)},i.prototype.renderVPAIDAd=function(e,t,n,i){var r,a,s,l=this;e?(a=l.playbackMap[e]||{},r=a.adObj||{},s=r.streams[0].format,s===c.VPAID_FLASH_FORMAT?l._vpaidflashInterface.renderAd(e,a):s===c.VPAID_JS_FORMAT?l._vpaidjsRenderer.render(e,n,i,t,r,l._rendererDiv):l._eventBus.publish(o.Ad.ERROR,u.INCOMPATIBLE_MEDIA)):l._eventBus.publish(o.Ad.ERROR,u.GENERIC)},i.prototype.getMidrollAds=function(e){for(var t=this,n=t._midrollsHelper.getMidrollsAds(t._currentClipId,t._cacheManager,e),i=[],r=0;r<n.length;r++){var o=n[r],a=t._createAdsJson(o),s=a.playbackId;t.playbackMap[s]=o,t._yvapBus.publish(l.AD_SUBMITTED,t._currentClipId,o),i.push(a)}return i},i.prototype._onAdPlaybackRequest=function(e){var t,n=this;e&&(t=n.playbackMap[e],t&&E.onAdBreakStart(t))},i.prototype._onCacheUpdate=function(e,t){var n,i,r=this;r._checkForVPAIDPreInit(t),e&&(n=r.waitlistMap[e],n&&(i=r._cacheManager.getAdResponseForKey(e),i&&(i.adSpec=n,i.type=n.type,r.waitlistMap[e]=null,i.type===c.NON_LINEAR?r._renderOverlay(i):r._updateAds(i))))},i.prototype._onCacheRefreshRequest=function(e){var t=this;e&&e.length>0&&t._eventBus.publish(o.SAPI_REFRESH_REQUEST,e)},i.prototype._onAdMetric=function(e){var t=this;t._eventBus.publish(o.AD_METRICS,e)},i.prototype._onContentVideoStart=function(e){var t=this;t._videoStartTime=0,D.incrementTotalClipCount(),D.incrementRecentClipCount(),t._clipStarted=!0,t._yvapBus.publish(l.VIDEO_START,e);var n=t._getAd(c.POSTROLL,e);t._updateAds(n),t._cacheManager.sync();var i=t._analytics.getArchive(),r=t._diagnostics.generateDiagnostics(i);t._eventBus.publish(o.YVAP_INFO_UPDATE,r)},i.prototype._onContentVideoProgress=function(e,t,n){var i,r=this,o=t-r._videoStartTime;r._videoStartTime=t,D.incrementTotalVideoLength(o),D.incrementRecentVideoLength(o);var a=r._getAd(c.NON_LINEAR,e,t);r._renderOverlay(a),i=r._cacheManager.getPlayerDataForClipId(e),i&&i.licenseId===c.NFL_NOW_LMSID&&(D.incrementNFLVideoLength(o),D.createNFLSession())},i.prototype._onContentVideoSeek=function(e){},i.prototype._onContentVideoEnd=function(e){var t=this;t._overlayRenderer.removeOverlay(),t._yvapBus.publish(l.VIDEO_END,t._currentClipId)},i.prototype._midRollStart=function(){},i.prototype._midRollEnd=function(){var e=this;e._yvapBus.publish(l.AD_BREAK_ENDED,e._currentClipId)},i.prototype._onAdEnd=function(e){var t=this;t.playbackMap[e]=null},i.prototype._onOverlayAdClick=function(e){var t,n,i,r=this;e&&(i=r.playbackMap[e],i&&(n=i.adObj||{},t=n.params?n.params.clickurl:null,E.onAdClick(i,0,0),t&&window.open(t,"_blank")))},i.prototype._onOverlayAdStart=function(e){var t,n=this;e&&(t=n.playbackMap[e],t&&E.onAdStart(t,"",n._currentClipId))},i.prototype._onAdStart=function(e,t,n,i,r,o){var a,s,u=this,d=n||"";u._videoStartTime=0,D.resetRecentVideoLength(),D.resetRecentClipCount(),D.incrementAdCount(),u._overlayRenderer.removeOverlay(),e&&(a=u.playbackMap[e],a&&(s=a.adSpec||{},s.placement===c.NFL_ONLOAD?D.resetNFLSession():s.placement===c.NFL_PREROLL&&D.resetRecentVideoLengthNFL(),E.onAdStart(a,t,u._currentClipId),c.VIEWABILITY_ON&&u._viewabilityManager.start(a,u._currentClipId),u._yvapBus.publish(l.AD_DELIVERED,u._currentClipId,a.type,d,a,i,r,o))),u._renderCompanionAd(a)},i.prototype._renderCompanionAd=function(e){var t,n=window.YAHOO_Yvap||{};if(e&&n&&n.load_companions){t=e.adObj,t.companion.list=t.companion;var i=n.load_companions(t.companion);E.onCompanionDisplayed(i)}},i.prototype._onAdProgress=function(e,t,n){var i,r,o=this,a=t-o._videoStartTime;o._videoStartTime=t,D.incrementAdLength(a),e&&(i=o.playbackMap[e],i&&(r=c.VIEWABILITY_ON&&h.isViewabilityMeasurable()?o._viewabilityManager.getViewabilitySummary():{},i.adDuration||(i.adDuration=n),E.onAdProgress(i,t,n,r)))},i.prototype._onAdClick=function(e,t,n){var i=this,r=i.playbackMap[e];r&&E.onAdClick(r,t,n)},i.prototype._onAdNotPlayable=function(e){var t=this,n=t.playbackMap[e];n&&(n.errorState=u.INCOMPATIBLE_MEDIA,t._yvapBus.publish(l.AD_DELIVERY_ERROR,t._currentClipId,n.type,u.INCOMPATIBLE_MEDIA,n),E.onNoAd(n,t._currentClipId))},i.prototype._onAdPlaybackError=function(e,t,n){var i=this,r=i.playbackMap[e],o="string"==typeof t?t:u.MEDIA_PLAYBACK;o=c.ADBLOCKER?u.ADBLOCKER:o;var a=-1,s=-1,d=2;n&&(a=n.swfLoadLatency,s=n.initLatency,d=n.timeoutStatus),r&&(r.errorState=o,i._yvapBus.publish(l.AD_DELIVERY_ERROR,i._currentClipId,r.type,o,r,a,s,d),E.onNoAd(r,i._currentClipId))},i.prototype._onNoAd=function(e){var t,n=this,i=n.playbackMap[e];i&&(t=i.adObj,t&&(n._yvapBus.publish(l.AD_DELIVERY_ERROR,n._currentClipId,i.type,c.NOAD,i),E.onNoAd(i,n._currentClipId)))},i.prototype._onSwfReady=function(e){var t=this;e&&(t._swfReady=!0,t._yvapBus.publish(l.PLAYER_SWF_READY,e))},i.prototype._onPauseVpaid=function(){var e=this;e._vpaidflashInterface.pauseAd(),e._vpaidjsRenderer.pauseAd()},i.prototype._onResumeVpaid=function(){var e=this;e._vpaidflashInterface.resumeAd(),e._vpaidjsRenderer.resumeAd()},i.prototype._onPlayerResize=function(e,t){var n=this;n._vpaidflashInterface.updateDimensions(e,t),n._vpaidjsRenderer.updateDimensions(e,t)},i.prototype._onVolumeChange=function(e){var t=this;e>=0&&(t._lastVolume=e,t._vpaidflashInterface.updateVolume(e),t._vpaidjsRenderer.updateVolume(e))},i.prototype._onMuteChange=function(e){var t=this,n=e?0:t._lastVolume;t._vpaidflashInterface.updateVolume(n),t._vpaidjsRenderer.updateVolume(n)},i.prototype._theBestTeam=function(){var e=this,t=[89,86,65,80,84,72,69,66,69,83,84],n=String.fromCharCode.apply(null,t);n=n.toLowerCase(),e._player&&"function"==typeof e._player.skipAd&&document.addEventListener("keydown",function(t){t=t||window.event;var i="number"==typeof t.which?t.which:t.keyCode;i&&0===n.indexOf(e._secretCode)?e._secretCode=e._secretCode+String.fromCharCode(i).toLowerCase():e._secretCode="",e._secretCode.toLowerCase()===n&&(r.log("skip ad"),e._player.skipAd(),e._vpaidflashInterface.stopAd())})}},{"../../../lib/event-bus":"3ECu9u","../../../lib/logger":"IS9j5T","../../../lib/user-agent":"ty5FFo","../event":"YJm+dH","./ads-json":90,"./allocation/AllocationManager":92,"./allocation/CommunicatorSpec":93,"./cache/CacheManager":95,"./common/Constants":96,"./common/CookieUtil":97,"./common/Errors":98,"./common/Events":99,"./communicator/CommunicatorFactory":106,"./communicator/MidRollsHelper":110,"./communicator/ParserManager":111,"./communicator/YAXvCommunicator":117,"./engine/ActionRule":118,"./engine/AdEngine":119,"./engine/AdSpec":120,"./engine/NFLRules":121,"./engine/RuleGroup":122,"./monitoring/AdPlaybackManager":123,"./monitoring/Analytics":124,"./monitoring/Diagnostics":125,"./monitoring/ViewabilityManager":126,"./overlay-json":127,"./player-data":128,"./renderer/HTML5OverlayRenderer":129,"./vpaid/VPAIDFlashInterface":131,"./vpaidjs-renderer":132,"./yvap-util":133}],131:[function(e,t,n){"use strict";function i(e,t,n,i,r){var o=this;o._externalBus=e,o._yvapBus=t,o._currentBitrate=0,o._prefetchList=[],o._vpaidCacheAd,o._renderWidth=n||0,o._renderHeight=i||0,o._yvapBus.subscribe(a.PLAYER_SWF_READY,o._onSwfReady,o),o._externalBus.subscribe(l.YVAP_SWF_PROXIED_EVENT,o._onFlashEvent,o),o.overlayLinearState=!1,o._player=r,window.flash_callback_yvap=function(e){o._onFlashEvent(e)}}t.exports=i;var r=e("../common/VPAIDEvent"),o=e("../common/Constants"),a=e("../common/Events"),s=e("../common/Errors"),l=e("../../event"),c=e("../../../../lib");i.prototype.renderAd=function(e,t){var n,i,r,a,s=this;n=t.adObj,n&&e&&n.type===o.VPAID&&(s._onPrefetchRequest(n),i=n.streams||[],r=i[0],a=n.vpaidId,r&&r.format===o.VPAID_FLASH_FORMAT&&a&&(s._swfNode&&s._swfNode.renderVPAIDAd?(s._swfNode.renderVPAIDAd({url:r.url,vpaidId:a,playbackId:e}),s.updateVolume(s._volume)):s._vpaidCacheAd={url:r.url,vpaidId:a,playbackId:e}))},i.prototype.renderOverlayAd=function(e){var t=this;if(t._swfNode){var n="vpaidO_"+Math.floor(100*Math.random())+(new Date).getTime(),i=e.playbackId||"",r=e.resourceType||"",a=e.resourceUrl||"",s=e.duration||0,l=e.position,c=e.adParams||"";r===o.OVERLAY_VPAID&&t._swfNode&&t._swfNode.renderVPAIDOverlayAd&&t._swfNode.renderVPAIDOverlayAd({url:a,vpaidId:n,playbackId:i,duration:s,position:l,adParam:c})}},i.prototype.stopAd=function(){var e=this;e._swfNode&&e._swfNode.resetVPAIDAd&&e._swfNode.resetVPAIDAd()},i.prototype.pauseAd=function(){var e=this;e._swfNode&&e._swfNode.pauseVPAIDAd&&e._swfNode.pauseVPAIDAd()},i.prototype.resumeAd=function(){var e=this;e._swfNode&&e._swfNode.resumeVPAIDAd&&e._swfNode.resumeVPAIDAd()},i.prototype.updateDimensions=function(e,t){var n=this;n._renderWidth=e||0,n._renderHeight=t||0,n._swfNode&&n._swfNode.updateVPAIDAdDimensions&&n._swfNode.updateVPAIDAdDimensions(e,t)},i.prototype.updateVolume=function(e){var t=this;t._volume=e,t._swfNode&&t._swfNode.updateVPAIDAdVolume&&t._swfNode.updateVPAIDAdVolume(t._volume)},i.prototype._onPrefetchRequest=function(e){var t,n,i,r,a,s=this;e&&e.type===o.VPAID&&(n=e.streams||[],i=n[0],r=e.adParameters&&e.adParameters.AdParameters?e.adParameters.AdParameters:"",i&&i.format===o.VPAID_FLASH_FORMAT&&(s._swfNode&&s._swfNode.prefetchVPAIDAd?(a="vpaid_"+Math.floor(100*Math.random())+(new Date).getTime(),e.vpaidId=a,s._swfNode.prefetchVPAIDAd({url:i.url,vpaidId:a,adParam:r})):(t=s._prefetchList||[],t.push(e),s._prefetchList=t)))},i.prototype._onSwfReady=function(e){var t,n,i=this,r=e.tagName||"",o=i._renderWidth||0,a=i._renderHeight||0;if(e&&"object"===r.toLowerCase()){if(i._swfNode=e,i._swfNode&&i._swfNode.updateVPAIDAdDimensions&&i._swfNode.updateVPAIDAdDimensions(o,a),i._swfNode.prefetchVPAIDAd)for(t=i._prefetchList||[];t.length>0;)n=t.shift(),i._onPrefetchRequest(n);i._swfNode.renderVPAIDAd&&i._vpaidCacheAd&&(i._swfNode.renderVPAIDAd(i._vpaidCacheAd),i._vpaidCacheAd=null)}},i.prototype._onFlashEvent=function(e){var t=this,n=e.name||"",i=t._vpaidEventHandlerMap[n],r=t[i];c.isFunction(r)&&r.call(this,e)},i.prototype._progressMap={},i.prototype._progressMap[r.AdVideoStart]=0,i.prototype._progressMap[r.AdVideoFirstQuartile]=.25,i.prototype._progressMap[r.AdVideoMidpoint]=.5,i.prototype._progressMap[r.AdVideoThirdQuartile]=.75,i.prototype._progressMap[r.AdVideoComplete]=1,i.prototype._onAdImpression=function(e){var t=this,n=e.playbackId||"";t._currentBitrate=e.bitrate;var i=e.swfLoadLatency||0,r=e.adInitLatency||0,o=e.latency||0,a=e.vpaidStartLatency;t._externalBus&&t._externalBus.publish(l.AD_PLAYBACK_STARTED,n,t._currentBitrate,o,i,r,a)},i.prototype._onAdQuartile=function(e){var t=this,n=e.name||"",i=t._progressMap[n],r=e.playbackId||"",o=e.duration||0,a=i*o;t._externalBus&&t._externalBus.publish(l.AD_PLAYBACK_PROGRESS,r,a,o)},i.prototype._onAdProgress=function(e){var t=this,n=e.timeupdate||0,i=e.duration||0,r=e.playbackId||"";t._externalBus&&t._externalBus.publish(l.AD_PLAYBACK_PROGRESS,r,n,i)},i.prototype._onAdEnd=function(e){var t=this,n=e.playbackId||"";t._externalBus&&t._externalBus.publish(l.AD_PLAYBACK_ENDED,n)},i.prototype._onAdClick=function(e){var t=this,n=e.playbackId||"",i=e.duration||0,r=e.timeupdate||0;t._externalBus&&t._externalBus.publish(l.AD_CLICK,n,r,i)},i.prototype._onAdError=function(e){var t=this;e.playbackId||"";t._externalBus&&t._externalBus.publish(l.Ad.ERROR,s.MEDIA_PLAYBACK)},i.prototype._onAdLinearChange=function(e){var t=this,n=e.adLinear||!1;n?(t._player.setOverlayActive(!0),t._player.pause()):(t._player.setOverlayActive(!1),t._player.play())},i.prototype._onAdTimeout=function(e){var t=this,n=(e.playbackId||"",{});n.swfLoadLatency=e.loadLatency||-1,n.initLatency=e.initLatency||-1,n.timeoutStatus=e.timeoutStatus,t._externalBus&&t._externalBus.publish(l.Ad.ERROR,s.VPAID_TIMEOUT,n)},i.prototype._onVPAIDSwfDownloadError=function(e){var t=this;t._externalBus&&t._externalBus.publish(l.Ad.ERROR,s.VPAID_SWF_DOWNLOAD_ERROR)},i.prototype._vpaidEventHandlerMap={},i.prototype._vpaidEventHandlerMap[r.AdImpression]="_onAdImpression",i.prototype._vpaidEventHandlerMap[r.AdVideoStart]="_onAdQuartile",i.prototype._vpaidEventHandlerMap[r.AdVideoFirstQuartile]="_onAdQuartile",i.prototype._vpaidEventHandlerMap[r.AdVideoMidpoint]="_onAdQuartile",i.prototype._vpaidEventHandlerMap[r.AdVideoThirdQuartile]="_onAdQuartile",i.prototype._vpaidEventHandlerMap[r.AdVideoComplete]="_onAdQuartile",i.prototype._vpaidEventHandlerMap[r.AdStopped]="_onAdEnd",i.prototype._vpaidEventHandlerMap[r.AdClickThru]="_onAdClick",i.prototype._vpaidEventHandlerMap[r.AdError]="_onAdError",i.prototype._vpaidEventHandlerMap[r.AdTimeout]="_onAdTimeout",i.prototype._vpaidEventHandlerMap[r.AdProgress]="_onAdProgress",i.prototype._vpaidEventHandlerMap[r.AdLinearChange]="_onAdLinearChange",i.prototype._vpaidEventHandlerMap[r.AdSwfDownloadError]="_onVPAIDSwfDownloadError"},{"../../../../lib":"bRhrlU","../../event":"YJm+dH","../common/Constants":96,"../common/Errors":98,"../common/Events":99,"../common/VPAIDEvent":100}],132:[function(e,t,n){"use strict";function i(e){var t=this;t._eventBus=e,t._creativeCallbacks={AdStarted:t._onAdStarted,AdStopped:t._onAdStopped,AdLoaded:t._onAdLoaded,AdVideoStart:t._onAdProgress,AdVideoFirstQuartile:t._onAdProgress,AdVideoMidpoint:t._onAdProgress,AdVideoThirdQuartile:t._onAdProgress,AdVideoComplete:t._onAdComplete,AdClickThru:t._onAdClickThru,AdError:t._onAdError,AdImpression:t._onAdImpression,AdSkipped:t._onAdSkipped,AdSkippableStateChange:t._onAdSkippableStateChange,AdSizeChange:t._onAdSizeChange,AdLinearChange:t._onAdLinearChange,AdDurationChange:t._onAdDurationChange,AdExpandedChange:t._onAdExpandedChange,AdVolumeChange:t._onAdVolumeChange,AdInteraction:t._onAdInteraction,AdUserAcceptInvitation:t._onAdInteraction,AdUserMinimize:t._onAdInteraction,AdUserClose:t._onAdInteraction},t._adloaderframe="adloaderframe",t._adrenderframe="adrenderframe",t._iframeCount=0,t._videoTag,t._videoTagOpacity=1,t._timer,t._targetBitrate=0,t._creative={},t._idToIframeMap={},t._vpaidAdLatencies={}}t.exports=i;var r=e("../event"),o=e("../../../lib");i.prototype.onAdUpdateInCache=function(e,t){var n,i=this;if(t&&t.adObj){var r=t.adObj;if(r.vpaidId||(r.vpaidId="vpaidjs_"+Math.floor(100*Math.random())+(new Date).getTime(),i._vpaidAdLatencies[r.vpaidId]={}),"vpaid"===t.adObj.type){var o=t.adObj.streams;if(!o)return;for(var a=0;a<o.length;a++)if("application/javascript"===o[a].format){n=o[a].url;break}}n&&i._load(n,!0,r.vpaidId)}},i.prototype.pauseAd=function(){var e=this,t=e._creative.creative;t&&t.pauseAd()},i.prototype.resumeAd=function(){var e=this,t=e._creative.creative;t&&t.resumeAd()},i.prototype.updateVolume=function(e){var t=this,n=t._creative.creative;n&&n.setAdVolume(e)},i.prototype.updateDimensions=function(e,t){var n=this,i=n._creative.creative;i&&i.resizeAd(e,t)},i.prototype._unload=function(){var e=this;e._creative.creative&&delete e._creative.creative,e._adProgressTimer&&clearInterval(e._adProgressTimer);var t=document.getElementById(e._adrenderframe);if(t&&t.parentNode.removeChild(t),e._videoTag){var n=e._videoTagOpacity||1;e._videoTag.style.opacity=n}e._timer&&window.clearInterval(e._timer)},i.prototype._isVPAIDAdValid=function(){var e,t=this,n=["handshakeVersion","initAd","startAd","stopAd","skipAd","resizeAd","pauseAd","resumeAd","expandAd","collapseAd","subscribe","unsubscribe"],i=t._creative.creative;if(!i)return!1;for(e=0;e<n.length;e++)if(!o.isFunction(i[n[e]]))return!1;return!0},i.prototype._subscribeCreative=function(){var e=this,t=e._creativeCallbacks,n=e._creative.creative;if(n)for(var i in t)t.hasOwnProperty(i)&&n.subscribe(t[i],i,e)},i.prototype._unsubscribeCreative=function(){var e=this,t=e._creativeCallbacks,n=e._creative.creative;if(n)for(var i in t)t.hasOwnProperty(i)&&n.unsubscribe(t[i])},i.prototype._onScriptLoad=function(e,t){var n=this,i=e.contentWindow.getVPAIDAd;return i&&"function"==typeof i&&(n._creative.creative=i(),n._creative.vpaidId=t,n._isVPAIDAdValid())?void n._onVPAIDAdFileLoaded():void n._onAdError({message:"vpaid creative is invalid"})},i.prototype._onVPAIDAdFileLoaded=function(){var e=this;e._subscribeCreative(),e._vpaidAdLatencies[e._creative.vpaidId].vil=(new Date).getTime(),e._creative.creative.initAd(e._adConfig.width,e._adConfig.height,e._adConfig.viewMode,e._adConfig.bitrate,e._adConfig.creativeData,e._adConfig.environmentVars)},i.prototype._onAdLoaded=function(e){var t=this,n=(new Date).getTime();t._vpaidAdLatencies[t._creative.vpaidId].vil=n-t._vpaidAdLatencies[t._creative.vpaidId].vil,t._vpaidAdLatencies[t._creative.vpaidId].vst=(new Date).getTime(),t._creative.creative.startAd()},i.prototype._onAdProgress=function(e){var t=this,n=t._creative.creative,i=t._adConfig.environmentVars.videoSlot;t._eventBus.publish(r.AD_PLAYBACK_PROGRESS,t._playbackId,i.currentTime,n.getAdDuration(),i.buffered)},i.prototype._onAdStarted=function(e){var t=this,n=t._creative.vpaidId,i=(new Date).getTime();t._vpaidAdLatencies[n].vst=i-t._vpaidAdLatencies[n].vst,t._vpaidAdLatencies[n].pst=i-t._vpaidAdLatencies[n].pst;var o=t._vpaidAdLatencies[n].vsl,a=t._vpaidAdLatencies[n].vil,s=t._vpaidAdLatencies[n].vst,l=t._vpaidAdLatencies[n].pst;t._eventBus.publish(r.AD_PLAYBACK_STARTED,t._playbackId,t._targetBitrate,l,o,a,s),t._timer&&window.clearInterval(t._timer),t._timer=window.setInterval(function(){t._onAdProgress()},200)},i.prototype._onAdComplete=function(e){var t=this,n=t._creative.creative;t._eventBus.publish(r.AD_PLAYBACK_PROGRESS,t._playbackId,n.getAdDuration(),n.getAdDuration()),n.stopAd()},i.prototype._onAdStopped=function(e){var t=this;t._unload(),t._eventBus.publish(r.AD_PLAYBACK_ENDED,t._playbackId)},i.prototype._onAdClickThru=function(e){var t,n=this;e.data&&(e.data.playerHandles&&(t=e.data.url?e.data.url:n._adConfig.clickThruUrl),t&&window.open(t,"_blank")),n._eventBus.publish(r.AD_CLICK,n._playbackId)},i.prototype._onAdError=function(e){var t=this;e.yvap_err_type||(e.yvap_err_type=r.AD_PLAYBACK_ERROR),t._unload(),t._eventBus.publish(e.yvap_err_type,e.message),t._eventBus.publish(r.Ad.ENDED)},i.prototype._onAdImpression=function(e){},i.prototype._onAdSkipped=function(e){},i.prototype._onAdSkippableStateChange=function(e){},i.prototype._onAdSizeChange=function(e){},i.prototype._onAdLinearChange=function(e){},i.prototype._onAdDurationChange=function(e){},i.prototype._onAdExpandedChange=function(e){},i.prototype._onAdVolumeChange=function(e){},i.prototype._onAdInteraction=function(e){},i.prototype._load=function(e,t,n){var i,r,o,a=this;if(!e)throw{message:"vpaid creativeUrl cannot be undefined, null or empty"};a._idToIframeMap[n]||(i=document,r=i.createElement("iframe"),r.id=a._adloaderframe+a._iframeCount,a._iframeCount=a._iframeCount+1,r.style.display="none",r.onload=function(){var i=r.contentDocument||r.contentWindow.document;o=r.contentWindow.document.createElement("script"),o.type="text/javascript",o.onload=function(){var e=(new Date).getTime();a._vpaidAdLatencies[n].vsl=e-a._vpaidAdLatencies[n].vsl,t?a._idToIframeMap[n]=r:a._onScriptLoad(r,n)},o.onerror=function(){a._onAdError({message:"error loading vpaidjs script"})},a._vpaidAdLatencies[n].vsl=(new Date).getTime(),o.src=e,i.getElementsByTagName("head")[0].appendChild(o)},i.body.appendChild(r))},i.prototype.render=function(e,t,n,i,r,o){var a,s,l=this,c=900,u="normal",d={type:"AdError"};if(l._playbackId=e,l._targetBitrate=!i||isNaN(i)?c:i,!t||isNaN(t)||!n||isNaN(n))return d.message="Video dimensions missing",void l._onAdError(d);if(!o||!o.nodeName&&!o.tagName)return d.message="Slot has to be a DOMElement",void l._onAdError(d);if(l._videoTag=o.getElementsByTagName("video")[0],l._videoTag&&(l._videoTagOpacity=l._videoTag.style.opacity,l._videoTag.style.opacity=0),!r)return d.message="Ad object cannot be undefined or null.",void l._onAdError(d);if(r.vpaidId||(r.vpaidId="vpaidjs_"+Math.floor(100*Math.random())+(new Date).getTime(),l._vpaidAdLatencies[r.vpaidId]={}),l._vpaidAdLatencies[r.vpaidId].pst=(new Date).getTime(),s=r.streams,!(s&&s instanceof Array&&s.length>0))return d.message="No valid media file in ad object.",void l._onAdError(d);for(var p=0;p<s.length;p++)if("application/javascript"===s[p].format){a=s[p].url;break}var _=o.childNodes[1];_||(_=o);var y=document.createElement("video");l._adConfig={width:t,height:n,viewMode:u,bitrate:l._targetBitrate,creativeData:r.adParameters,environmentVars:{videoSlot:y},clickThruUrl:r.params?r.params.clickurl:void 0};var M=document.createElement("iframe");M.id=l._adrenderframe,M.style.position="absolute",M.style.height="100%",M.style.width="100%",M.scrolling="no",M.style.border="0",M.style.zIndex=10,M.onload=function(){var e=M.contentDocument||M.contentWindow.document;e=e.body,e.style.margin="0",e.appendChild(y),l._adConfig.environmentVars.slot=e;try{var t=l._idToIframeMap[r.vpaidId];t?l._onScriptLoad(t,r.vpaidId):l._load(a,!1,r.vpaidId)}catch(n){d.message=n.message,l._onAdError(d)}},_.insertBefore(M,_.firstChild)}},{"../../../lib":"bRhrlU","../event":"YJm+dH"}],133:[function(e,t,n){"use strict";var i=e("./common/Constants"),r=e("../util"),o=e("xhr");n.convertTimeToSeconds=function(e){var t=e.split(":").reverse();t=t.map(function(e){return parseFloat(e,10)});var n=t[0];4===t.length?t=t.slice(1):n=0;var i=t.reduce(function(e,t,n,i){return e+Math.pow(60,n)*t});return i+=n/1e3,isNaN(i)?null:i},n.isViewabilityMeasurable=function(){return window.DARLA&&window.DARLA.yvap||top&&top.DARLA&&top.DARLA.yvap?!0:!1},n.getViewabilityNonMeasurableValue=function(){return window.location!==top.location?i.VIEWABILITY_NOT_MEASURABLE_IFRAME:i.VIEWABILITY_NOT_MEASURABLE_NO_DARLA},n.getDARLA=function(){return window.DARLA?{darla:window.DARLA,isIFrame:0}:top&&top.DARLA?{darla:top.DARLA,isIFrame:1}:null},n.getTimeStamp=function(){var e=new Date,t=[e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()],n=t.join("");return n},n.expandMacro=function(e,t){var n=/\$\{(\w)+\}/g,i=function(e){var n=/(\w)+/g,i=e.match(n),r=i[0];return t[r]?t[r]:""};return e=e.replace(n,i),e=this.cleanUpUrl(e)},n.cleanUpUrl=function(e){for(var t,n,i=/(\w)+=&/g;e.match(i);)e=e.replace(i,"");for(t=/(\w)+=($|;|;;)/;e.match(t);)e=e.replace(t,"$2");for(n=/(;|;;|&)$/;e.match(n);)e=e.replace(n,"");return e},n.generateYqlQuery=function(e,t){return"select * from "+t+" where "+r.querystring(e," and ",null,function(e){return e})},n.detectAdBlocker=function(e){var t=location.protocol+"//us.adserver.yahoo.com/a?c=x&p=&f=343121&pn=&rs=&l=VIDO&at=";try{o({url:t,method:"GET",sync:!1,timeout:3e3},function(t,n,i){e(!!t)})}catch(n){e(!0)}}},{"../util":"jJTEqU","./common/Constants":96,xhr:150}],134:[function(e,t,n){},{}],135:[function(e,t,n){"use strict";function i(e){var t=this;e=e||{},t._debug=e.debug,t._outstanding=[];var n=parseInt(localStorage.getItem(o));t._estimatedBandwidth=n||a,t._estimatedBandwidth>s&&(t._estimatedBandwidth=s),t._debug&&console.log("initial bandwidth estimate: ",t._estimatedBandwidth)}t.exports=i;var r=.25,o="DASHBandwidthEstimate",a=1e3,s=2e3,l=15e3;i.prototype.startTiming=function(e){var t=this,n=Date.now();t._accumulateTimes(n),e.bandwidthData.accumulated=0,e.bandwidthData.currentStart=n,t._outstanding.push(e)},i.prototype.cancelTiming=function(e){var t=this;t._removeFromOutstanding(e,Date.now())},i.prototype.endTiming=function(e){
  var t=this,n=Date.now();if(t._removeFromOutstanding(e,n)&&!(e.bandwidthData.size<l||e.bandwidthData.accumulated<=0)){var i=e.bandwidthData.size/e.bandwidthData.accumulated*8;t._estimatedBandwidth=r*i+(1-r)*t._estimatedBandwidth,localStorage.setItem(o,t._estimatedBandwidth.toString()),t._debug&&console.log("new bandwidth estimate: ",t._estimatedBandwidth)}},i.prototype.estimateBandwidth=function(){var e=this;return e._estimatedBandwidth},i.prototype._accumulateTimes=function(e){var t=this;t._outstanding.forEach(function(n){n.bandwidthData.accumulated+=(e-n.bandwidthData.currentStart)/t._outstanding.length,n.bandwidthData.currentStart=e})},i.prototype._removeFromOutstanding=function(e,t){var n=this,i=n._outstanding.indexOf(e);return 0>i?!1:(n._accumulateTimes(t),n._outstanding.splice(i,1),!0)}},{}],136:[function(e,t,n){"use strict";function i(e,t,n,i,r){var o=this;r=r||{},o._videoMetadata=e,o._audioMetadata=t,o._bandwidthEstimator=n,o._node=i,o._videoToAudioCache={},o._videoCeilingCache={},o._debug=r.debug,o._computeInitialTracks()}t.exports=i;var r=.75,o=.1,a=20,s=20,l=.2,c=120,u=1.5,d=5;i.prototype.chooseTrack=function(e,t,n,i,r){var o=this;return n>c?-1:"audio/mp4"===r?o._chooseAudioTrack(e):o._chooseVideoTrack(e,t,n,i,r)},i.prototype._chooseVideoTrack=function(e,t,n,i){var r=this;r._debug&&console.log("occupancy: ",n);for(var o=r._bandwidthEstimator.estimateBandwidth(),a=null,s=i;s>=0;s--){var l=r._predictOccupancy(s,e,n,o);if(r._debug&&console.log("occupancy prediction for stream ",s,": ",l),l.negative>=0&&null===a){var c=s>t?u:0,p=s>t?d:0;l.endRatio>c&&l.endOffset>p&&(a=s)}}return a||0},i.prototype.checkUpgrade=function(e,t,n,i){var r=this,o={track:-1,updateCeiling:!1,verified:!1},a="video/mp4"===i?r._videoMetadata.trackHistory:r._audioMetadata.trackHistory,s=a[e];if(s&&(o.updateCeiling=!0,s.ceiling<n&&s.track===s.ceiling)){var l;o.verified=!0,"video/mp4"===i?l=r._chooseVideoTrack(e,s.track,t,n,i):(l=r._chooseAudioTrack(e,!0),0>l&&(o.updateCeiling=!1)),l>s.track&&(o.track=l)}return o},i.prototype.getTrackCeiling=function(e){var t=this,n=window.devicePixelRatio||1,i=t._node.clientWidth*n,r=t._node.clientHeight*n,o=t._videoCeilingCache[i+"x"+r];if(void 0===o){var a=t._videoMetadata.trackData.length,s=!1;for(o=0;a-1>o;o++){var l=t._videoMetadata.trackData[o],c=l.width,u=l.height;if(u&&c){if(c>i||u>r)break;(c===i||u===r)&&(s=!0)}}s&&o--,t._debug&&(console.log("Display size: ",i,r),console.log("Track ceiling: ",o)),t._videoCeilingCache[i+"x"+r]=o}return"audio/mp4"===e?t._findAudioForVideo(o):o},i.prototype.chooseInitialTrack=function(e,t){var n,i=this;return n="audio/mp4"===e?i._initialAudioTrack:i._initialVideoTrack,void 0!==t&&n>t&&(n=t),n},i.prototype._chooseAudioTrack=function(e,t){var n=this,i=n.getTrackCeiling("video/mp4"),r=n._audioMetadata.chunks[e],o=n._videoMetadata.findChunk(r.startTime),a=n._videoMetadata.findChunk(r.endTime);0>a&&(a=n._videoMetadata.chunks.length-1);for(var s=null,l=o;a>=l;l++){var c=n._videoMetadata.trackHistory[l];if(c){t&&c.ceiling!==i||(s=c.track);break}}if(null===s)return-1;var u=n._findAudioForVideo(s);return u>=0&&n._debug&&console.log("audio track: ",u),u},i.prototype._computeInitialTracks=function(){var e=this,t=e._bandwidthEstimator.estimateBandwidth(),n=e._videoMetadata.trackData;e._initialVideoTrack=0,e._initialAudioTrack=0;for(var i=n.length-1;i>=0;i--){var o=e._findAudioForVideo(i),a=t;if(o>=0&&(a-=e._audioMetadata.trackData[o].bitrate),a*r>=n[i].bitrate){e._initialVideoTrack=i,e._initialAudioTrack=o;break}}e._debug&&(console.log("initial video track: ",e._initialVideoTrack),console.log("initial audio track: ",e._initialAudioTrack))},i.prototype._findAudioForVideo=function(e){var t=this;if(e in t._videoToAudioCache)return t._videoToAudioCache[e];for(var n=t._videoMetadata.trackData[e].bitrate,i=t._audioMetadata.trackData.length,r=-1,a=null,s=0;i>s;s++){var l=t._audioMetadata.trackData[s].bitrate,c=l/(n+l),u=Math.abs(c/o-1);(null===a||a>u)&&(a=u,r=s)}return t._videoToAudioCache[e]=r,r},i.prototype._predictOccupancy=function(e,t,n,i){var r=this,o=r._findAudioForVideo(e);o>=0&&(i-=r._audioMetadata.trackData[o].bitrate);for(var s=0,l=n,c={negative:0,endRatio:0,endOffset:0};;){var u=r._videoMetadata.chunks[t],d=u.tracks[e],p=8*d.size/(1e3*i),_=u.duration;l+=_-p,s+=p,t++;var y=r._getMinimumOccupancy(n,s),M=l-y;if(c.negative>M&&(c.negative=M),s>=a||t>=r._videoMetadata.chunks.length)return c.endRatio=l/y,c.endOffset=M,c}},i.prototype._getMinimumOccupancy=function(e,t){var n=e+l*t;return n>s&&(n=s),n}},{}],137:[function(e,t,n){"use strict";function i(e,t,n){var i=this;if(i.metadata=e,i.dashContext=t,i.mediaSource=t.mediaSource,i.mimeType=i.metadata.trackData[0].mimeType,"video/mp4"===i.mimeType)i.sourceBuffer=new a(i.mediaSource,'video/mp4; codecs="avc1.640028"');else{if("audio/mp4"!==i.mimeType)throw new r.Error(r.ERR_BAD_MIME_TYPE);i.sourceBuffer=new a(i.mediaSource,'audio/mp4; codecs="mp4a.40.2"')}i.dashContext.setStreamEnded(i.mimeType,!1),i.node=t.node,i._debug=n;var s=i.dashContext.policy.getTrackCeiling(i.mimeType),l=i.dashContext.policy.chooseInitialTrack(i.mimeType,s);i.currentTrack=l,i._bufferingBusy=!0,i._consecutiveErrors=0,i._destroyed=!1,i._forceInitSegment=!1,i._waitingMeta=0,i._lastChunk=-1,i._lastCeiling=null,i._playbackRequested=!i.dashContext.node.paused,i.node.addEventListener("play",function(){i._playbackRequested=!0,i.fillBuffer()}),i.node.addEventListener("waiting",i.fillBuffer.bind(i)),i.node.addEventListener("timeupdate",i.fillBuffer.bind(i)),i.metadata.saveTrackHistory(0,l,s),i.tracks=i.metadata.trackData.map(function(e,n){return new o(e,n,i.metadata,t.bandwidthEstimator,i.dashContext.rangeQueryOpts)}),i._waitingMeta=i.tracks.length,i._fetchTrackMetadata(i.tracks[l],!0),i.tracks.forEach(function(e,t){t!==l&&i._fetchTrackMetadata(e,!1)})}var r=e("./error"),o=e("./track"),a=e("./source-buffer-wrapper"),s=e("./util");t.exports=i;var l=1,c=5,u=1e3,d=5e3,p=5;i.prototype._shouldPreloadAt=function(e){var t=this;return t._playbackRequested?!0:e<t.dashContext.preload},i.prototype._onError=function(e){var t=this;t._bufferingBusy=!0,console.warn("Fragment failed: ",e),t.sourceBuffer.abort(),t._throttleRetry(e,function(){t._forceInitSegment=!0,t._lastChunk=-1,t._bufferingBusy=!1,t.fillBuffer()})},i.prototype._fetchTrackMetadata=function(e,t){var n=this,i=e.fetchInitSegment(t&&n._shouldPreloadAt(0),function(r){if(r)return console.error("Failed to download metadata: ",r),void n._throttleRetry(r,function(){n._fetchTrackMetadata(e,!1)});if("video/mp4"===n.mimeType&&n._waitingMeta===n.tracks.length){var o=n.metadata.chunks,a=n.metadata.chunks[o.length-1].endTime;n.dashContext.setDuration(a)}t&&!i&&(n._bufferingBusy=!1,n._forceInitSegment=!0),n._consecutiveErrors=0,n.dashContext.setError(n.mimeType,null),n._waitingMeta--,n.fillBuffer()});i&&n._bufferFromStream(i)},i.prototype._throttleRetry=function(e,t){var n=this;if(n.dashContext.setError(n.mimeType,e),n._consecutiveErrors>p)return console.error("Too many retries; erroring out"),void n.dashContext.notifyError();var i=u;n._consecutiveErrors>0&&(i=d),n._consecutiveErrors++,window.setTimeout(t,i)},i.prototype._bufferFromStream=function(e){var t=this;t.sourceBuffer.appendStream(e,function(e){return e?void t._onError(e):(t._bufferingBusy=!1,t._consecutiveErrors=0,t.dashContext.setError(t.mimeType,null),void t.fillBuffer())})};var _=5;i.prototype._chooseChunk=function(){var e=this,t=e.node.currentTime,n=s.findEndOfBuffer(e.sourceBuffer.buffer.buffered,t),i={currentTime:t,upgradeChunk:-1,end:n};if(null===n)i.chunk=e.metadata.findChunk(t);else{if(n>t+_){var r=e.metadata.findChunk(t+_);r>=0&&(i.upgradeChunk=r+1)}var o=e.metadata.findChunk(n+s.TIMESTAMP_EPSILON);i.chunk=o>=0?o:-1}return i},i.prototype.fillBuffer=function(){var e=this;if(!e._bufferingBusy&&!e._destroyed&&"closed"!==e.mediaSource.readyState){var t=e.dashContext.policy.getTrackCeiling(e.mimeType),n=e._chooseChunk();if(e._shouldPreloadAt(n.end||0)){var i,r=n.chunk,o=-1;if(!e._waitingMeta&&n.upgradeChunk>=0){var a=n.chunk;0>a&&(a=e.metadata.chunks.length);for(var s=n.upgradeChunk;a>s;s++){i=e.metadata.chunks[s].startTime-n.currentTime;var u=e.dashContext.policy.checkUpgrade(s,i,t,e.mimeType);if(o=u.track,u.track>=0){o=u.track,r=s;break}if(u.verified)break;var d=e.metadata.trackHistory[s];u.updateCeiling>=0&&(d.ceiling=t)}}if(0>r)return void e.dashContext.setStreamEnded(e.mimeType,!0);if(e._waitingMeta){if(o=e.currentTrack,!e.tracks[o].initSegment)return;if(i=e.metadata.chunks[r].startTime-n.currentTime,i>l)return}if(0>o&&(i=e.metadata.chunks[r].startTime-n.currentTime,0>i&&(i=0),o=e.dashContext.policy.chooseTrack(r,e.currentTrack,i,t,e.mimeType)),!(0>o)){var p=c>i;if(r===e._lastChunk&&t===e._lastCeiling)return void console.error("Fetching the same chunk twice");e._lastChunk=r,e._lastCeiling=t,e.metadata.saveTrackHistory(r,o,t),e.dashContext.historyAvailable(e.mimeType),e._debug&&(console.log("Chose track: ",o),console.log("Buffering chunk: ",r));var _=e.currentTrack!==o||e._forceInitSegment,y=e.tracks[o];e._bufferingBusy=!0,e.dashContext.setStreamEnded(e.mimeType,!1),_?e.sourceBuffer.appendBuffer(y.initSegment,function(t){return t?void console.error("Failed to append init segment"):(e.currentTrack=o,void e._bufferFromStream(y.streamFragment(r,p)))}):e._bufferFromStream(y.streamFragment(r,p))}}}},i.prototype.destroy=function(){var e=this;e._destroyed=!0,e.sourceBuffer.remove()}},{"./error":139,"./source-buffer-wrapper":145,"./track":146,"./util":147}],138:[function(e,t,n){"use strict";function i(){var e=this;e._flowing=!0,e.errorVal=null,e._listeners={data:[],done:[],error:[],cancel:[]}}t.exports=i,i.prototype.on=function(e,t){var n=this;n._listeners[e].push(t)},i.prototype.data=function(e){var t=this;t._flowing&&t._listeners.data.forEach(function(t){t(e)})},i.prototype.done=function(){var e=this;e._flowing&&(e._flowing=!1,e._listeners.done.forEach(function(e){e()}))},i.prototype.error=function(e){var t=this;t._flowing&&(t.errorVal=e,t.cancel(),t._listeners.error.forEach(function(t){t(e)}))},i.prototype.cancel=function(){var e=this;e._flowing&&(e._flowing=!1,e._listeners.cancel.forEach(function(e){e()}))}},{}],139:[function(e,t,n){"use strict";function i(e,t){var n=this;n.error=new Error,n.type=e,n.code=e[0],n.message=e[1],t&&(n.message+=": "+t),n.videoErrorType=e[2]}n.Error=i;var r="network",o="decode",a={ERR_REQUEST_FAILURE:[1,"Media GET request failed",r],ERR_REQUEST_LENGTH:[2,"Wrong media data length",r],ERR_REQUEST_TIMEOUT:[3,"Media GET request timed out",r],ERR_METADATA_LENGTH:[4,"Metadata too short",o],ERR_METADATA_FORMAT:[5,"Format error",o],ERR_NO_FRAGMENTS:[6,"No valid fragments in track",o],ERR_ALIGNMENT:[7,"Segments not aligned",o],ERR_BAD_MIME_TYPE:[8,"Invalid MIME type",null],ERR_DESTROYED:[9,"SourceBuffer already destroyed",null],ERR_OPERATION_ABORTED:[10,"SourceBuffer operation aborted",o],ERR_BUFFER_APPEND:[11,"Failed to append to SourceBuffer",o],ERR_MANIFEST_LOAD:[12,"Failed to load MPD",r],ERR_MANIFEST_PARSE:[13,"Failed to parse MPD",o]};Object.keys(a).forEach(function(e){n[e]=a[e]})},{}],140:[function(e,t,n){"use strict";function i(e,t){var n=this;n._opts=t||{},n._bandwidthEstimator=new a(n._opts),n._metadata=null,"string"==typeof e?n._node=document.querySelector(e):n._node=e,Object.defineProperty(n,"error",{enumerable:!0,get:function(){return n._context?n._context.error:null}})}function r(e,t){return e.bitrate-t.bitrate}function o(e,t,n,i){var r=this;r.node=e,r.bandwidthEstimator=n,r.opts=i,r.rangeQueryOpts=null,r.preload=p,r._errorTypes={},t.rangeQuery&&(r.rangeQueryOpts=t.rangeQuery),void 0!==t.preload&&("number"==typeof t.preload&&t.preload>=0?r.preload=t.preload:"none"===t.preload?r.preload=0:"auto"!==t.preload&&console.warn("Invalid preload argument")),t.mpdUrl?c(t.mpdUrl,function(e,t){return e?void r._setError(e):void r._setupMetadata(t.streams)}):r._setupMetadata(t.streams),r.mediaSource=new window.MediaSource,r._opened=!1,r.mediaSource.addEventListener("sourceopen",function(){if("open"===r.mediaSource.readyState){if(r.error)return void r.notifyError();!r._opened&&r._videoMetadata&&r._createControllers(),r._opened=!0}}),r.mediaSource.addEventListener("sourceclose",function(){r._videoController&&(r._videoController.destroy(),r._videoController=null),r._audioController&&(r._audioController.destroy(),r._audioController=null)}),r.node.src=window.URL.createObjectURL(r.mediaSource),r.node.load(),r.error=null}var a=e("./bandwidth-estimator"),s=e("./buffer-controller"),l=e("./metadata"),c=e("./mpd-handler").loadMPD,u=e("./bitrate-policy"),d=e("./util"),p=10;t.exports=i,i.prototype.getMetrics=function(){var e=this,t=0,n=e._node.currentTime,i=d.findEndOfBuffer(e._node.buffered,n);return null!==i&&(t=i-n),{networkBandwidth:e._bandwidthEstimator.estimateBandwidth(),streamInfo:e._context?e._context.getStreamInfo():{},bufferOccupancy:t}},i.prototype.setSrc=function(e){var t=this;return e?void(e!==t._metadata&&(t._metadata=e,t._context=new o(t._node,t._metadata,t._bandwidthEstimator,t._opts))):void(t._node.src="")},o.prototype._setupMetadata=function(e){var t=this,n=[],i=[];e.forEach(function(e){var t=e.mimeType,r=e.codecs;if(r){var o=t+'; codecs="'+r+'"';if(!window.MediaSource.isTypeSupported(o))return}"video/mp4"===t?n.push(e):"audio/mp4"===t&&i.push(e)}),n.sort(r),i.sort(r),t._videoMetadata=new l(n),t._audioMetadata=new l(i),t.policy=new u(t._videoMetadata,t._audioMetadata,t.bandwidthEstimator,t.node,t.opts),t._opened&&t._createControllers()},o.prototype.getStreamInfo=function(){var e=this,t={};if(!e._videoMetadata)return t;var n=e.node.currentTime;return[e._videoMetadata,e._audioMetadata].forEach(function(i){var r=i.findChunk(n),o=i.chunks[r],a=(i.trackHistory[r]||{}).track,s=i.trackData[a],l=0,c=0,u=0,d=0;if(s){d=s.height||0,u=s.width||0,l=s.bitrate||0;var p=o.tracks[a];c=p.size/o.duration*8/1e3}i===e._videoMetadata?(t.videoHeight=d,t.videoWidth=u,t.nominalVideoBitrate=l,t.currentVideoBitrate=c):(t.nominalAudioBitrate=l,t.currentAudioBitrate=c)}),t.nominalBitrate=t.nominalVideoBitrate+t.nominalAudioBitrate,t.currentBitrate=t.currentVideoBitrate+t.currentAudioBitrate,t},o.prototype._createControllers=function(){var e=this;e._endedTypes={},e._videoController=new s(e._videoMetadata,e,e.opts.debug),e._audioController=new s(e._audioMetadata,e,!1)},o.prototype.historyAvailable=function(e){var t=this;"video/mp4"===e&&t._audioController.fillBuffer()},o.prototype.setError=function(e,t){var n=this;t?n._errorTypes[e]||(n._errorTypes[e]=t):n._errorTypes[e]=null,n.error=n._errorTypes["video/mp4"]||n._errorTypes["audio/mp4"]||null},o.prototype.notifyError=function(){var e=this,t=e.error.videoErrorType||"decode";"open"===e.mediaSource.readyState&&e.mediaSource.endOfStream(t)},o.prototype.setStreamEnded=function(e,t){var n=this;if(!n.node.error&&(n._endedTypes[e]=t,t&&"open"===n.mediaSource.readyState)){var i=Object.keys(n._endedTypes).every(function(e){return n._endedTypes[e]});i&&n.mediaSource.endOfStream()}},o.prototype.setDuration=function(e){function t(){i._videoController.sourceBuffer.resume(),i._audioController.sourceBuffer.resume()}function n(n){if(!(0>=r)){if(n)return r=0,void t();r--,0===r&&("open"===i.mediaSource.readyState&&(i.mediaSource.duration=e),t())}}var i=this;if(i._videoController){var r=2;i._videoController.sourceBuffer.pause(n),i._audioController.sourceBuffer.pause(n)}}},{"./bandwidth-estimator":135,"./bitrate-policy":136,"./buffer-controller":137,"./metadata":141,"./mpd-handler":143,"./util":147}],141:[function(e,t,n){"use strict";function i(e,t){var n=this;n.startByte=e,n.size=t,n.endByte=e+t}function r(e,t){var n=this;n.startTime=e,n.duration=t,n.endTime=e+t,n.tracks={}}function o(e){var t=this;t.chunks=[],t.trackData=e,t.trackHistory={}}function a(e,t){var n=this;n.track=e,n.ceiling=t}var s=e("./error");t.exports=o,o.prototype.addData=function(e,t){var n=this;if(0===t.length)return new s.Error(s.ERR_NO_FRAGMENTS);for(var o=!n.chunks.length,a=0;a<t.length;a++){var l,c=t[a];if(o)l=new r(c.startTime,c.duration),n.chunks.push(l);else if(l=n.chunks[a],!l||c.startTime!==l.startTime||c.duration!==l.duration)return new s.Error(s.ERR_ALIGNMENT);l.tracks[e]=new i(c.startByte,c.size)}return null},o.prototype.findChunk=function(e){for(var t=this,n=0;n<t.chunks.length;n++){var i=t.chunks[n+1];if(!i)return e<=t.chunks[n].endTime?n:-1;if(i.startTime>e)return n}},o.prototype.saveTrackHistory=function(e,t,n){var i=this;i.trackHistory[e]=new a(t,n)}},{"./error":139}],142:[function(e,t,n){"use strict";function i(e,t,n){for(var i="",r=0;n>r;r++)i+=String.fromCharCode(e.getUint8(t+r));return i}function r(e,t){var n=this;n.size=e,n.timescaleDuration=t}function o(e,t){var n=this;n.fragments=[],n.timescale=0;try{n._parse(t)}catch(i){return console.error("MP4 parse error: ",i.message),void(n.fragments=[])}var r={time:n.earliestPresentationTime,"byte":e};n.fragments.forEach(function(e){e.fillData(r,n.timescale)})}var a=e("./error");t.exports=o,r.prototype.fillData=function(e,t){var n=this,i=e.time+n.timescaleDuration,r=e["byte"]+n.size;n.startTime=e.time/t,n.duration=n.timescaleDuration/t,n.startByte=e["byte"],e.time=i,e["byte"]=r},o.prototype._parse=function(e){for(var t=this,n=new DataView(e),i=0,r=!1;!r;){var o=t._parseBoxHeaders(n,i);-1===o.size&&(o.size=e.length-i);var s=i+o.headerLen;if(i+=o.size,i>n.byteLength)throw new a.Error(a.ERR_METADATA_LENGTH);switch(o.type){case"sidx":t._parseSidx(n,s,o.version),r=!0}}};var s=["sidx"];o.prototype._parseBoxHeaders=function(e,t){t=t||0;var n=t,r=[];return r.size=e.getUint32(t),t+=4,r.type=i(e,t,4),t+=4,0===r.size?r.size=-1:1===r.size&&(r.size=e.getUint32(t)*Math.pow(2,32)+e.getUint32(t+4),t+=8),-1!==s.indexOf(r.type)&&(r.version=e.getUint8(t),t+=1,r.flags=(e.getUint8(t)<<16)+e.getUint16(t+1),t+=3),r.headerLen=t-n,r},o.prototype._parseSidx=function(e,t,n){var i=this;if(t+=4,i.timescale=e.getUint32(t),t+=4,0===n)i.earliestPresentationTime=e.getUint32(t),t+=4,t+=4;else{if(1!==n)throw new a.Error(a.ERR_METADATA_FORMAT,"Unsupported SIDX version: "+n);i.earliestPresentationTime=e.getUint32(t)*Math.pow(2,32)+e.getUint32(t+4),t+=8,t+=8}t+=2;var o=e.getUint16(t);t+=2;for(var s=0;o>s;s++){var l=e.getUint32(t);t+=4,l&=~(1<<31);var c=e.getUint32(t);t+=4;var u=e.getUint32(t);t+=4;var d=!!(u&1<<31),p=u>>>28&7;if(!d||1!==p){var _="Unsupported SAP type: "+(d?p:"(none)");throw new a.Error(a.ERR_METADATA_FORMAT,_)}i.fragments.push(new r(l,c))}}},{"./error":139}],143:[function(e,t,n){"use strict";function i(e,t){var n=document.createElement("base");n.href=e;var i=document.head;i.insertBefore(n,i.firstChild);var r=document.createElement("a");r.href=t;var o=r.href;return i.removeChild(n),o}function r(e,t){var n=t.querySelector("MPD > Period"),r=n.querySelectorAll("Period > AdaptationSet"),o=[];return Array.prototype.forEach.call(r,function(t){var n=t.getAttribute("mimeType"),r=t.querySelectorAll("AdaptationSet > Representation");Array.prototype.forEach.call(r,function(t){var r=t.getAttribute("mimeType")||n,a=t.getAttribute("codecs"),s=t.querySelector("Representation > BaseURL"),l=t.querySelector("Representation > SegmentBase"),c=l.getAttribute("indexRange").split("-").map(function(e){return parseInt(e,10)}),u={url:i(e,s.textContent),mimeType:r,indexStart:c[0],indexEnd:c[1],bitrate:parseInt(t.getAttribute("bandwidth"),10)/1e3,codecs:a},d=l.getAttribute("firstFragmentEnd");null!==d&&(u.initFetchEnd=parseInt(d,10));var p=t.getAttribute("width");null!==p&&(u.width=parseInt(p,10));var _=t.getAttribute("height");null!==_&&(u.height=parseInt(_,10)),o.push(u)})}),{streams:o}}var o=e("./error"),a=4;n.loadMPD=function(e,t){var n=new XMLHttpRequest;n.overrideMimeType("application/xml"),n.open("GET",e),n.onreadystatechange=function(){if(n.readyState===a){if(n.status>=300||n.status<200)return void t(new o.Error(o.ERR_MANIFEST_LOAD));var i;try{i=r(e,n.responseXML)}catch(s){return void t(new o.Error(o.ERR_MANIFEST_PARSE))}t(null,i)}},n.send()}},{"./error":139}],144:[function(e,t,n){"use strict";function i(e){return e>=200&&300>e}function r(e,t,n,i,r,a){var s=this;s.stream=new o,s._estimator=r,s._size=n-t,s.bandwidthData={size:n-t},s._xhr=new window.XMLHttpRequest,a?(e+=-1===e.indexOf("?")?"?":"&",e+=a.begin+"="+t+"&"+a.end+"="+(n-1),s._xhr.open("GET",e)):(s._xhr.open("GET",e),s._xhr.setRequestHeader("Cache-Control","no-cache"),s._xhr.setRequestHeader("Range","bytes="+t+"-"+(n-1))),s._estimator.startTiming(s),s._finished=!1,s.stream.on("cancel",function(){s._xhr.abort()}),s._offset=0,i?window.MSStreamReader?(s._xhr.responseType="ms-stream",s._xhr.onreadystatechange=s._ieOnReadyStateChange.bind(s)):(s._xhr.overrideMimeType("text/plain; charset=x-user-defined"),s._xhr.onreadystatechange=s._webkitOnReadyStateChange.bind(s)):(s._xhr.responseType="arraybuffer",s._xhr.onreadystatechange=s._noStreamOnReadyStateChange.bind(s)),s._xhr.send()}var o=e("./buffer-stream"),a=e("./error"),s=3,l=4;t.exports=r,r.prototype._noStreamOnReadyStateChange=function(){var e=this;if(e._xhr.readyState===l)return i(e._xhr.status)?void(e._finished||(e._finished=!0,e._offset=e._xhr.response.byteLength,e.stream.data(e._xhr.response),e._onDone())):(e._estimator.cancelTiming(e),void e.stream.error(new a.Error(a.ERR_REQUEST_FAILURE)))},r.prototype._ieOnReadyStateChange=function(){var e=this;if(e._xhr.readyState===s){if(!i(e._xhr.status))return e._estimator.cancelTiming(e),void e.stream.error(new a.Error(a.ERR_REQUEST_FAILURE));var t=e._xhr.response,n=new window.MSStreamReader;n.readAsArrayBuffer(t),n.onprogress=function(){var t=n.result,i=t.slice(e._offset,t.byteLength);e._offset=t.byteLength,e.stream.data(i)},n.onload=function(){e._onDone()},n.onerror=function(){e._estimator.cancelTiming(e),e.stream.error(new a.Error(a.ERR_REQUEST_FAILURE))}}},r.prototype._webkitOnReadyStateChange=function(){var e=this;if(!e._finished&&(e._xhr.readyState===l||e._xhr.readyState===s)){if(!i(e._xhr.status))return e._estimator.cancelTiming(e),void e.stream.error(new a.Error(a.ERR_REQUEST_FAILURE));var t=e._xhr.responseText,n=t.length-e._offset;if(n>0){for(var r=new ArrayBuffer(n),o=new Uint8Array(r),c=0;n>c;c++)o[c]=255&t.charCodeAt(c+e._offset);e._offset=t.length,e.stream.data(r)}e._finished=e._xhr.readyState===l,e._finished&&e._onDone()}},r.prototype._onDone=function(e){var t=this;t._offset===t._size?(t._estimator.endTiming(t),t.stream.done()):(t._estimator.cancelTiming(t),t.stream.error(new a.Error(a.ERR_REQUEST_LENGTH)))}},{"./buffer-stream":138,"./error":139}],145:[function(e,t,n){"use strict";function i(e,t){var n=this;n._destroyed=!1,n._paused=!1,n._mediaSource=e,n.buffer=e.addSourceBuffer(t),n._waitingCallbacks=[],n.buffer.addEventListener("updateend",n._popCallbackQueue.bind(n)),n.buffer.addEventListener("error",function(){n.abort()})}var r=e("./error");t.exports=i,i.prototype.appendBuffer=function(e,t){var n=this;n._waitForNotUpdating(function(i){if(i)return void t(i);try{n.buffer.appendBuffer(e)}catch(o){i=new r.Error(r.ERR_BUFFER_APPEND,o.message)}n._waitForNotUpdating(function(e){t(i||e)},!0)})},i.prototype.abort=function(){var e=this;e._waitingCallbacks.forEach(function(e){e.aborted=!0}),console.warn("Aborting buffer");try{e.buffer.abort()}catch(t){}},i.prototype.pause=function(e){var t=this;t._paused||t._waitForNotUpdating(function(n){n||(t._paused=!0),e(n)})},i.prototype.resume=function(){var e=this;e._paused=!1,e._popCallbackQueue()},i.prototype.appendStream=function(e,t){var n=this,i=!1;e.on("data",function(r){n.appendBuffer(r,function(r){r&&(i||(e.cancel(),n.abort(),t(r)),i=!0)})}),e.on("done",function(){n._waitForNotUpdating(function(e){i||t(e),e&&(i=!0)})}),e.on("error",function(e){t(e),i=!0})},i.prototype._waitForNotUpdating=function(e,t){var n=this;if(n._destroyed)return void e(new r.Error(r.ERR_DESTROYED));var i={cb:e,aborted:!1};t?n._waitingCallbacks.unshift(i):n._waitingCallbacks.push(i),n._popCallbackQueue()},i.prototype._popCallbackQueue=function(){for(var e=this;;){if(0===e._waitingCallbacks.length)return;if(e._paused||e.buffer.updating)return;var t=e._waitingCallbacks[0];e._waitingCallbacks.shift(),t.cb(t.aborted?new r.Error(r.ERR_OPERATION_ABORTED):null)}},i.prototype.remove=function(){var e=this;e._destroyed||(e._destroyed=!0,e.abort(),"closed"!==e._mediaSource.readyState&&e._mediaSource.removeSourceBuffer(e.buffer))}},{"./error":139}],146:[function(e,t,n){"use strict";function i(e,t,n,i,r){var o=this;o._bandwidthEstimator=i,o._rangeQueryOpts=r,o.indexEnd=e.indexEnd,o._initialFetchEnd=e.initialFetchEnd||0,o.url=e.url,o.initSegment=null,o.metadata=n,o.trackNum=t}var r=e("./range-request"),o=e("./mp4-parser");t.exports=i,i.prototype.fetchInitSegment=function(e,t){var n=this,i=n.indexEnd+1,a=i;e&&n._initialFetchEnd>a&&(a=n._initialFetchEnd+1);var s=new Uint8Array(i),l=0,c=new r(n.url,0,a,!0,n._bandwidthEstimator,n._rangeQueryOpts),u=c.stream,d=!1;return u.on("error",function(e){n.initSegment||d||(d=!0,t(e))}),u.on("data",function(e){if(!n.initSegment&&!d){var r=Math.min(i-l,e.byteLength),a=new Uint8Array(e,0,r);if(s.set(a,l),l+=r,l===i){var c=new o(i,s.buffer),u=n.metadata.addData(n.trackNum,c.fragments);u?d=!0:n.initSegment=s.buffer.slice(0,n.indexEnd+1),t(u)}}}),e?u:null},i.prototype.streamFragment=function(e,t){var n=this,i=n.metadata.chunks[e].tracks[n.trackNum],o=new r(n.url,i.startByte,i.endByte,t,n._bandwidthEstimator,n._rangeQueryOpts);return o.stream}},{"./mp4-parser":142,"./range-request":144}],147:[function(e,t,n){"use strict";n.TIMESTAMP_EPSILON=.001,n.findEndOfBuffer=function(e,t){for(var i=0;i<e.length;i++){var r=e.start(i),o=e.end(i);if(t>=r-n.TIMESTAMP_EPSILON&&t<=o+n.TIMESTAMP_EPSILON)return o}return null}},{}],148:[function(e,t,n){var i={};!function(e,t){function n(e){return String(null===e||void 0===e?"":e)}function i(e){return e=n(e),c.test(e)?e.replace(r,"&amp;").replace(o,"&lt;").replace(a,"&gt;").replace(s,"&#39;").replace(l,"&quot;"):e}e.Template=function(e,n,i,r){this.r=e||this.r,this.c=i,this.options=r,this.text=n||"",this.buf=t?[]:""},e.Template.prototype={r:function(e,t,n){return""},v:i,t:n,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},rp:function(e,t,n,i){var r=n[e];return r?(this.c&&"string"==typeof r&&(r=this.c.compile(r,this.options)),r.ri(t,n,i)):""},rs:function(e,t,n){var i=e[e.length-1];if(!u(i))return void n(e,t,this);for(var r=0;r<i.length;r++)e.push(i[r]),n(e,t,this),e.pop()},s:function(e,t,n,i,r,o,a){var s;return u(e)&&0===e.length?!1:("function"==typeof e&&(e=this.ls(e,t,n,i,r,o,a)),s=""===e||!!e,!i&&s&&t&&t.push("object"==typeof e?e:t[t.length-1]),s)},d:function(e,t,n,i){var r=e.split("."),o=this.f(r[0],t,n,i),a=null;if("."===e&&u(t[t.length-2]))return t[t.length-1];for(var s=1;s<r.length;s++)o&&"object"==typeof o&&r[s]in o?(a=o,o=o[r[s]]):o="";return i&&!o?!1:(i||"function"!=typeof o||(t.push(a),o=this.lv(o,t,n),t.pop()),o)},f:function(e,t,n,i){for(var r=!1,o=null,a=!1,s=t.length-1;s>=0;s--)if(o=t[s],o&&"object"==typeof o&&e in o){r=o[e],a=!0;break}return a?(i||"function"!=typeof r||(r=this.lv(r,t,n)),r):i?!1:""},ho:function(e,t,n,i,r){var o=this.c,a=this.options;a.delimiters=r;var i=e.call(t,i);return i=null==i?String(i):i.toString(),this.b(o.compile(i,a).render(t,n)),!1},b:t?function(e){this.buf.push(e)}:function(e){this.buf+=e},fl:t?function(){var e=this.buf.join("");return this.buf=[],e}:function(){var e=this.buf;return this.buf="",e},ls:function(e,t,n,i,r,o,a){var s=t[t.length-1],l=null;if(!i&&this.c&&e.length>0)return this.ho(e,s,n,this.text.substring(r,o),a);if(l=e.call(s),"function"==typeof l){if(i)return!0;if(this.c)return this.ho(l,s,n,this.text.substring(r,o),a)}return l},lv:function(e,t,i){var r=t[t.length-1],o=e.call(r);return"function"==typeof o&&(o=n(o.call(r)),this.c&&~o.indexOf("{{"))?this.c.compile(o,this.options).render(r,i):n(o)}};var r=/&/g,o=/</g,a=/>/g,s=/\'/g,l=/\"/g,c=/[&<>\"\']/,u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}("undefined"!=typeof n?n:i)},{}],149:[function(e,t,n){var i={};t.exports=function(e){if(!i[e]){i[e]=!0;var t=document.createElement("style");t.setAttribute("type","text/css"),"textContent"in t?t.textContent=e:t.styleSheet.cssText=e;var n=document.getElementsByTagName("head")[0];n.appendChild(t)}}},{}],150:[function(e,t,n){function i(e,t){function n(){4===u.readyState&&i()}function i(){var e=null,n=u.statusCode=u.status,i=u.body=u.response||u.responseText||u.responseXML;if(1223===n&&(n=204),0===n||n>=400&&600>n){var r=u.responseText||s[String(u.status).charAt(0)];e=new Error(r),e.statusCode=u.status}if(L)try{i=u.body=JSON.parse(i)}catch(o){}t(e,u,i)}function o(e){t(e,u)}"string"==typeof e&&(e={uri:e}),e=e||{},t=a(t);var u=e.xhr||null;!u&&e.cors?u=new c:u||(u=new l);var d,p=u.url=e.uri||e.url,_=u.method=e.method||"GET",y=e.body||e.data,M=u.headers=e.headers||{},v=!!e.sync,L=!1;if("json"in e&&(L=!0,M.Accept="application/json","GET"!==_&&"HEAD"!==_&&(M["Content-Type"]="application/json",y=JSON.stringify(e.json))),u.onreadystatechange=n,u.onload=i,u.onerror=o,u.onprogress=function(){},u.ontimeout=r,u.open(_,p,!v),e.cors&&(u.withCredentials=!0),v||(u.timeout="timeout"in e?e.timeout:5e3),u.setRequestHeader)for(d in M)M.hasOwnProperty(d)&&u.setRequestHeader(d,M[d]);return"responseType"in e&&(u.responseType=e.responseType),u.send(y),u}function r(){}var o=e("global/window"),a=e("once"),s={0:"Internal XMLHttpRequest Error",4:"4xx Client Error",5:"5xx Server Error"},l=o.XMLHttpRequest||r,c="withCredentials"in new l?o.XMLHttpRequest:o.XDomainRequest;t.exports=i},{"global/window":151,once:152}],151:[function(e,t,n){(function(e){"undefined"!=typeof window?t.exports=window:"undefined"!=typeof e?t.exports=e:t.exports={}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],152:[function(e,t,n){function i(e){var t=!1;return function(){return t?void 0:(t=!0,e.apply(this,arguments))}}t.exports=i,i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0})})},{}]},{},[21]);
  ;YAHOO.VideoPlatform.PlayerHosting = {"bucket":50,"colo":"gq1","env":"p"};<!-- // p|gq1|pprd1-node29-lh2|50|5.327.0.1438368681|Tue Aug 04 2015 18:16:34 GMT+0000 (UTC)|600|0.6472129011526704 -->