/** * @license Copyright (c) 2015-2018 Radiant Media Player * Radiant Media Player 5.1.3 | https://www.radiantmediaplayer.com * Terms of service: https://www.radiantmediaplayer.com/terms-of-service.html * Contact information: https://www.radiantmediaplayer.com/contact.html */ !function r(o,n,l){function d(t,e){if(!n[t]){if(!o[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(h)return h(t,!0);var a=new Error("Cannot find module '"+t+"'");throw a.code="MODULE_NOT_FOUND",a}var s=n[t]={exports:{}};o[t][0].call(s.exports,function(e){return d(o[t][1][e]||e)},s,s.exports,r,o,n,l)}return n[t].exports}for(var h="function"==typeof require&&require,e=0;ethis.video360MaxFocalLength?this.fov=this.video360MaxFocalLength:this.fov>2,r=(3&t)<<4|(i=h>4,o=(15&i)<<2|(a=h>6,n=63&a,Number.isNaN(i)?o=n=64:Number.isNaN(a)&&(n=64),d+=l.charAt(s)+l.charAt(r)+l.charAt(o)+l.charAt(n);return d}(e)+"&assetId="+encodeURIComponent(t.contentId)};"function"==typeof this.fpsDrm.licenseRequestMessage&&(s=this.fpsDrm.licenseRequestMessage),this.fpsDrm.licenseRequestMessage=s;var r=function(e){var t=e.target,i=t.session,a=t.responseText.trim();""===a.substr(0,5)&&""===a.substr(-6)&&(a=a.slice(5,-6));var s=function(e){for(var t=window.atob(e),i=t.length,a=new Uint8Array(new ArrayBuffer(i)),s=0;s1e3*this.adSkipOffset)g.default.clearInterval(this.adSkipInterval),this.dom.adSkipWaiting.style.display="none",this.dom.adSkipMessage.style.display="block",this.dom.skipIcon.style.display="block";else if(-11e3*this.adSkipOffset&&(g.default.createStdEvent("adskipped",this.dom.container),this.stopAds())}.bind(this)),this.dom.adSkipButton.appendChild(this.dom.adSkipWaiting),this.dom.adSkipButton.appendChild(this.dom.adSkipMessage),this.dom.adSkipButton.appendChild(this.dom.skipIcon),"ima"===this.adParser)this.dom.adContainer.appendChild(this.dom.adSkipButton);else{var e=this.dom.container.querySelector(".rmp-ad-container");null!==e&&e.appendChild(this.dom.adSkipButton)}this.dom.adSkipButton.style.display="block",this.adSkipOffset<=0?(this.dom.adSkipWaiting.style.display="none",this.dom.adSkipMessage.style.display="block",this.dom.skipIcon.style.display="block"):(this.dom.adSkipWaiting.style.display="block",this.dom.adSkipMessage.style.display="none",this.dom.skipIcon.style.display="none"),0/i.test(t)?i.adsResponse=t:i.adTagUrl=t,i.linearAdSlotWidth=this.width,i.linearAdSlotHeight=this.height,i.nonLinearAdSlotWidth=this.width,i.nonLinearAdSlotHeight=this.height,i.vastLoadTimeout=this.adLoadVastTimeout,this.adForceNonLinearFullSlot&&(i.forceNonLinearFullSlot=!0),0t.bandwidth});if(0===r.length)return[d(i)];switch(this.shakaOfflinePreferredTrackQuality){case-3:t=r[r.length-1];break;case-2:t=r[0];break;case-1:t=d(r);break;default:t=0<=this.shakaOfflinePreferredTrackQuality&&r[this.shakaOfflinePreferredTrackQuality]?r[this.shakaOfflinePreferredTrackQuality]:d(r)}return[t]}.bind(this)),window.rmpStorage.configure(e)},n.attach=function(e){e.prototype.isOnline=function(){return s.default.isOnline()},e.prototype.hasDownloadSupport=function(){return!!("undefined"!=typeof shaka&&shaka.offline&&shaka.offline.Storage&&shaka.offline.Storage.support())},e.prototype.getDownloadedList=function(){return this.hasDownloadSupport()?this.shakaOfflineList:(r.default.warning.call(this,"offline storage is not supported in this environment",3007,null),null)},e.prototype.listDownloadedContent=function(){var t=this;this.hasDownloadSupport()?window.rmpStorage?window.rmpStorage.list().then(function(e){t.shakaOfflineList=e,a.default.createStdEvent("downloadlistavailable",t.dom.container)}).catch(function(e){r.default.warning.call(t,"could not list offline downloaded content",3003,e)}):r.default.warning.call(this,"storage has not been initialized",3001,null):r.default.warning.call(this,"offline storage is not supported in this environment",3007,null)},e.prototype.download=function(e){var t=this;if(this.hasDownloadSupport())if(window.rmpStorage){var i={};a.default.isObject(e)&&(i=e),this.shakaOfflineDownloadProgress=0,a.default.createStdEvent("downloadstarted",this.dom.container),window.rmpStorage.store(this.startingBitratePath,i).then(function(){l.call(t,null,1),a.default.createStdEvent("downloadcompleted",t.dom.container)}).catch(function(e){l.call(t,null,-1),r.default.warning.call(t,"could not download offline content",3002,e)})}else r.default.warning.call(this,"storage has not been initialized",3001,null);else r.default.warning.call(this,"offline storage is not supported in this environment",3007,null)},e.prototype.getDownloadProgress=function(){return this.hasDownloadSupport()?this.shakaOfflineDownloadProgress:(r.default.warning.call(this,"offline storage is not supported in this environment",3007,null),-1)},e.prototype.loadDownload=function(e){this.hasDownloadSupport()?window.rmpStorage?e&&e.offlineUri?this.setSrc(e.offlineUri):r.default.warning.call(this,"could not load offline content - invalid input",3005,null):r.default.warning.call(this,"storage has not been initialized",3001,null):r.default.warning.call(this,"offline storage is not supported in this environment",3007,null)},e.prototype.removeDownload=function(e){var t=this;this.hasDownloadSupport()?window.rmpStorage?window.rmpStorage.remove(e.offlineUri).then(function(){a.default.createStdEvent("downloadremoved",t.dom.container)}).catch(function(e){r.default.warning.call(t,"could not remove offline downloaded content",3004,e)}):r.default.warning.call(this,"storage has not been initialized",3001,null):r.default.warning.call(this,"offline storage is not supported in this environment",3007,null)}};var h=n;i.default=h},{"../core/utils/error":46,"../fw/env":54,"../fw/fw":55,"core-js/modules/es6.array.filter":157,"core-js/modules/es6.array.find":159,"core-js/modules/es6.array.sort":165,"core-js/modules/es6.function.bind":168,"core-js/modules/es6.object.define-property":174}],21:[function(e,t,i){"use strict";e("core-js/modules/es6.object.define-property"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("core-js/modules/es6.array.is-array"),e("core-js/modules/es6.function.bind");var h=r(e("../fw/fw")),c=r(e("../abr/shaka")),u=r(e("../abr/hls")),m=r(e("../core/ui/core-ui")),f=r(e("../core/modules/modules")),p=r(e("../core/modules/quality")),v=r(e("../vtt/captions")),a=r(e("../ads/ima-ads")),g=r(e("../vtt/thumbnails")),y=r(e("../core/utils/error")),s=r(e("../core/utils/utils"));function r(e){return e&&e.__esModule?e:{default:e}}var o={};o.attach=function(e){var o=function(){this.changingSrc=!1,h.default.createStdEvent("srcchanged",this.dom.container)},n=function(){"ima"===this.adParser?this.getAdLinear()?(this.setSrcResetIMA=function(){this.dom.container.removeEventListener("adcontentresumerequested",this.setSrcResetIMA),a.default.resetAdsForNewRequest.call(this),this.setSrcAdReset=!0}.bind(this),this.dom.container.addEventListener("adcontentresumerequested",this.setSrcResetIMA),this.stopAds()):(a.default.resetAdsForNewRequest.call(this),this.setSrcAdReset=!0):(this.setSrcResetRmpVast=function(){this.dom.container.removeEventListener("addestroyed",this.setSrcResetRmpVast),this.setSrcAdReset=!0}.bind(this),this.dom.container.addEventListener("addestroyed",this.setSrcResetRmpVast),this.stopAds())},l=function(){s.default.checkStreams.call(this,function(){this.dom.video.src=this.startingBitratePath;try{this.dom.video.load()}catch(e){h.default.trace(e)}}.bind(this),this.backupSrc,this.getStreamType())},d=function(){var t=this;this.dom.container.addEventListener("loadedmetadata",this.afterSrcSwitch),this.dom.container.addEventListener("error",this.afterSrcSwitch),this.readingHlsJS?(u.default.destroy.call(this),u.default.init.call(this)):this.readingDash||this.readingHlsShaka?this.shakaPlayer?(c.default.destroy.call(this),this.shakaPlayer.destroy().then(function(){c.default.init.call(t)}).catch(function(e){h.default.trace(e),c.default.init.call(t)})):c.default.init.call(this):l.call(this)};e.prototype.setSrc=function(e,t,i){var a=this;if(this.get5Ready()&&!this.readingFps&&!this.readingOutstream)if(this.changingSrc)y.default.warning.call(this,"setSrc currently running - wait for completion before invoking",1005,null);else{var s=function(e){var t=this.getStreamType(),i="",a=!1;if("string"==typeof e)a=!0;else if(!h.default.isObject(e))return i;switch(t){case"hlsHevc":a?i=e:e.hlsHevc&&(i=e.hlsHevc);break;case"hls":a?i=e:e.hls&&(i=e.hls);break;case"dash":a?i=e:e.dash&&(i=e.dash);break;case"mp4":a?i=e:e.mp4&&e.mp4[0]&&(i=e.mp4[0]);break;case"mp4Hevc":a?i=e:e.mp4Hevc&&e.mp4Hevc[0]&&(i=e.mp4Hevc[0]);break;case"webm":a?i=e:e.webm&&e.webm[0]&&(i=e.webm[0]);break;case"m4a":a?i=e:e.m4a&&(i=e.m4a);break;case"mp3":a?i=e:e.mp3&&(i=e.mp3);break;case"ogg":a?i=e:e.ogg&&(i=e.ogg)}return i}.call(this,e);if(""!==s){if(this.readingMse&&this.msePreloadRequested){if(!this.msePreloadCompleted)return void 0;this.msePreloadRequested=!1}this.changingSrc=!0,h.default.createStdEvent("srcchanging",this.dom.container);var r="";if(void 0!==t&&Array.isArray(t)&&(r=t),this.backupSrc={},r&&(this.backupSrc=t),this.src=e,this.castUrl=s,this.startingBitratePath=s,f.default.show.call(this),this.readingMp4&&h.default.isObject(e)&&(Array.isArray(e.webm)&&0'),this.dom.adContainer=this.dom.container.getElementsByClassName("rmp-ad-container")[0]}this.dom.outline=this.dom.container.getElementsByClassName("rmp-outline")[0],(this.readingMse&&this.msePreloadRequested||this.readingPDorNative&&"none"!==this.preload)&&r.default.removeClass(this.dom.outline,"rmp-force-invisibility"),this.dom.playPause=this.dom.container.getElementsByClassName("rmp-play-pause")[0],S.default.makeAccessible.call(this,this.dom.playPause,"Play",!1),this.dom.volume=this.dom.container.getElementsByClassName("rmp-volume")[0],S.default.makeAccessible.call(this,this.dom.volume,"Volume",!0),this.dom.fullscreen=this.dom.container.getElementsByClassName("rmp-fullscreen")[0],this.hideFullscreen&&r.default.addClass(this.dom.fullscreen,"rmp-no-display"),s.default.isIos[0]&&this.ads&&!this.hideFullscreen&&(r.default.addClass(this.dom.fullscreen,"rmp-no-display"),this.onIosStartShowFS=I.bind(this),this.dom.container.addEventListener("adloaded",this.onIosStartShowFS),this.dom.container.addEventListener("aderror",this.onIosStartShowFS),this.dom.container.addEventListener("playing",this.onIosStartShowFS)),this.dom.timeElapsed=this.dom.container.getElementsByClassName("rmp-time-elapsed")[0],this.dom.timeElapsedText=this.dom.container.getElementsByClassName("rmp-time-elapsed-text")[0],this.isLiveDvr&&(r.default.addEvent(["touchend","click"],this.dom.timeElapsed,C.default.setLiveMode.bind(this)),C.default.resyncAfterLivePause.call(this)),r.default.hideAria(this.dom.timeElapsed),this.dom.seekBar=this.dom.container.getElementsByClassName("rmp-seek-bar")[0],this.hideSeekBar&&r.default.addClass(this.dom.seekBar,"rmp-no-display"),S.default.makeAccessible.call(this,this.dom.seekBar,"Seek",!1),this.dom.duration=this.dom.container.getElementsByClassName("rmp-duration")[0],r.default.hideAria(this.dom.duration),this.pauseFn=c.default.pause.bind(this),this.dom.video.addEventListener("pause",this.pauseFn),this.playFn=c.default.play.bind(this),this.dom.video.addEventListener("play",this.playFn),this.isLive||(this.dom.current=this.dom.container.getElementsByClassName("rmp-current")[0],this.dom.handle=this.dom.container.getElementsByClassName("rmp-handle")[0],this.dom.timetotal=this.dom.container.getElementsByClassName("rmp-time-total")[0],this.dom.seekBar.addEventListener("touchend",u.default.touchend.bind(this)),this.dom.seekBar.addEventListener("touchmove",u.default.touchmove.bind(this),!!s.default.hasPassiveEventListeners&&{passive:!0}),this.mouseupDoc=u.default.mouseupDoc.bind(this),this.mousemoveDoc=u.default.mousemoveDoc.bind(this),this.dom.timetotal.addEventListener("mousedown",function(e){e&&e.stopPropagation(),t.draggingTimeCursor=!0,document.addEventListener("mouseup",t.mouseupDoc),document.addEventListener("mousemove",t.mousemoveDoc)})),this.timeupdateFn=c.default.timeupdate.bind(this),this.dom.video.addEventListener("timeupdate",this.timeupdateFn),this.dom.currentVolume=this.dom.container.getElementsByClassName("rmp-current-volume")[0];var i=this.dom.container.querySelector(".rmp-background-volume");this.dom.volumeBar=this.dom.container.getElementsByClassName("rmp-volume-bar")[0],r.default.addEvent(["touchend","click"],this.dom.volume,g.default.volumeInteraction.bind(this)),this.volumechangeFn=g.default.change.bind(this),this.dom.video.addEventListener("volumechange",this.volumechangeFn);var a=!0;(this.permanentMuted||s.default.isMobile||this.adOutStreamSkin)&&(a=!1),a&&(this.dom.volume.addEventListener("mouseenter",function(e){e&&e.stopPropagation(),r.default.fadeIn(i)}),this.dom.volume.addEventListener("mouseleave",function(e){e&&e.stopPropagation(),r.default.fadeOut(i)})),i.addEventListener("click",g.default.setHtml5Volume.bind(this)),this.readingMp4&&1=a.start(n)){o=n;break}0\s*\d*?:?\d*?:?\d+(\.\d+)?\s*$/,n=0,l=a.length;nLink to media',f+='',m.innerHTML=f,this.dom.sharingOverlayLevelsArea.appendChild(m),""!==this.sharingCode){this.sharingCode=this.sharingCode.replace(/&/g,"&").replace(//g,">").replace(/"/g,""");var p=document.createElement("div");p.className="rmp-sharing-code";var v='';v+='',v+='',p.innerHTML=v,this.dom.sharingOverlayLevelsArea.appendChild(p)}if(!E.default.isMobile&&this.dom.sharingOverlay)for(var g=this.dom.sharingOverlay.querySelectorAll(".rmp-sharing-input"),y=0,b=g.length;ye.startUpPlay&&(e.startUpTime=e.startUpPlaying-e.startUpPlay),e.firstFrameReached=!0,a.default.createStdEvent("firstframe",e.dom.container),a.default.createStdEvent("startuptimeavailable",e.dom.container)},1)}.bind(this),this.dom.container.addEventListener("playing",this.startUpLogPlaying),this.dom.container.addEventListener("adloaded",this.startUpLogPlaying),this.ads&&!this.adImaDai?(this.autoplay&&p.call(this),function(){this.emptyInitAdTagUrl?c.default.playPromise.call(this):(this.adScheduleInput&&(this.adTagUrl=d.default.replaceAdTagVar.call(this,this.adSchedule.preroll)),"ima"===this.adParser?n.default.requestAds.call(this,this.adTagUrl):l.default.loadAds.call(this,this.adTagUrl))}.call(this)):c.default.playPromise.call(this)},g=function(){if(this.googleCast){if(u.default.castingAPIAvailable.call(this))return void this.remotePlayerController.playOrPause();if(this.castConnected&&"ENDED"===this.remotePlayerState)return void this.loadCastMedia()}if(this.firstPlay)return this.firstPlay=!1,void v.call(this);this.dom.video.paused?c.default.playPromise.call(this):this.dom.video.pause()},y=function e(){var t=this;null!==this.processInitiatePlayback&&this.dom.container.removeEventListener("loadedmetadata",this.processInitiatePlayback),this.video360&&this.firstPlay&&"undefined"==typeof THREE?setTimeout(function(){e.call(t)},10):this.ads&&this.firstPlay&&this.adParserLoaded?g.call(this):this.getAdOnStage()&&this.getAdLinear()&&!this.adImaDai?d.default.playPause.call(this):this.adOutStream||g.call(this)};f.init=function(e){if(e&&(e.stopPropagation(),"touchend"===e.type&&e.preventDefault()),this.get5Ready()){if(this.firstPlay){if(this.ads&&!this.adParserLoaded)return void 0;this.startUpPlay=a.default.getNow(),a.default.removeClass(this.dom.outline,"rmp-force-invisibility")}this.playerInitialized||(this.playerInitialized=!0,a.default.hide(this.dom.poster),h.default.showLoadingSpin.call(this),this.ads?"ima"===this.adParser&&this.adDisplayContainer?(this.adDisplayContainer.initialize(),this.adDCInitialized=!0,s.default.isMobile?this.dom.video.load():this.readingMse||this.hasLoadedMetadata||this.dom.video.load()):"rmp-vast"===this.adParser&&this.rmpVast&&(this.rmpVast.initialize(),s.default.isMacosSafari[0]||s.default.isMobile||this.readingMse||this.hasLoadedMetadata||this.dom.video.load()):this.ads||(s.default.isMobile||s.default.isMacosSafari[0]&&!this.readingMse||s.default.isMacosSafari[0]&&this.readingHlsJS&&!this.hasLoadedMetadata?this.dom.video.load():this.readingMse||this.hasLoadedMetadata||this.dom.video.load()),this.readingHlsJS?r.default.init.call(this):(this.readingDash||this.readingHlsShaka)&&o.default.init.call(this)),this.hasLoadedMetadata?y.call(this):null===this.processInitiatePlayback&&(this.processInitiatePlayback=y.bind(this),this.dom.container.addEventListener("loadedmetadata",this.processInitiatePlayback))}};var b=f;i.default=b},{"../abr/hls":4,"../abr/shaka":5,"../ads/ads-helpers":7,"../ads/ima-ads":8,"../ads/rmp-vast":10,"../cast/cast":23,"../fw/env":54,"../fw/fw":55,"./ui/core-ui":43,"./utils/utils":48,"core-js/modules/es6.function.bind":168,"core-js/modules/es6.object.define-property":174}],37:[function(e,t,i){"use strict";e("core-js/modules/es6.object.define-property"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("core-js/modules/es6.array.filter"),e("core-js/modules/es6.array.is-array"),e("core-js/modules/es6.function.bind");var a=v(e("../fw/fw")),s=v(e("../fw/env")),r=v(e("../vtt/captions")),o=v(e("../ads/ima-ads")),n=v(e("../ads/rmp-vast")),l=v(e("../ads/ads-helpers")),d=v(e("./resize/resize")),h=v(e("./ui/core-ui")),c=v(e("./ui/logo")),u=v(e("./modules/custom")),m=v(e("../cast/airplay")),f=v(e("./modules/modules")),p=v(e("./utils/utils"));function v(e){return e&&e.__esModule?e:{default:e}}var g={dispatchEvent:function(){this.fadeInPlayer&&a.default.fadeIn(this.dom.container),a.default.removeClass(this.dom.container,"rmp-preparing"),g.updateTime.call(this),a.default.createStdEvent("ready",this.dom.container)},updateTime:function(){this.timeReady=a.default.getNow()-this.refTime}};g.minimalFire=function(){this.playerReady||(this.playerReady=!0,d.default.resize.call(this),g.dispatchEvent.call(this))},g.fire=function(){if(!this.playerReady){this.playerReady=!0,d.default.resize.call(this);var e="00:00";if(this.dom.timeElapsed&&this.dom.timeElapsedText&&(this.isVod||(a.default.addClass(this.dom.timeElapsed,"rmp-i rmp-i-live"),e=this.labels.hint.live),this.dom.timeElapsedText.textContent=e),this.dom.duration){var t=this.dom.duration.textContent;"string"==typeof t&&""!==t||(this.dom.duration.textContent=e)}if(s.default.isMobile&&(this.initialVolume=1,this.rememberVolume=!1),this.allowLocalStorage||(this.rememberVolume=!1),this.muted)this.setMute(!0);else if(this.rememberVolume&&1===this.initialVolume&&s.default.localStorage(this.allowLocalStorage)&&null!==window.localStorage.getItem("rmpVolume")){var i=JSON.parse(window.localStorage.getItem("rmpVolume"));i.value&&(0===(i=parseFloat(i.value))?this.setMute(!0):i<=1&&0=this.initialWidth?(a=this.initialWidth,s=this.initialHeight):s=(a=r)/this.initialAspectRatio,0===a||0===s?(this.autoHeightMode&&(this.autoHeightMode=!1,this.initialWidth=640,this.initialHeight=360,this.initialAspectRatio=1.7777777778),this.width=this.initialWidth,this.height=this.initialHeight,a=this.initialWidth+"px",s=this.initialHeight+"px"):(this.width=a,this.height=s,this.autoHeightMode?a="100%":(this.audioOnly&&(s=40),a+="px"),s+="px");var o={width:a,height:s};k.default.setStyle(this.dom.container,o),l.auxResize.call(this,this.width)}}},l.fullscreenInteraction=function(){var e=this;if(this.hasNativeFullscreenSupport)this.isInFullscreen?this.ads&&"rmp-vast"===this.adParser&&this.getAdOnStage()&&this.getAdLinear()&&this.rmpVast&&"function"==typeof this.rmpVast.getVastPlayer?n.default.exitFullscreen(this.rmpVast.getVastPlayer()):n.default.exitFullscreen(this.dom.video):this.ads&&"rmp-vast"===this.adParser&&this.getAdOnStage()&&this.getAdLinear()&&this.rmpVast&&"function"==typeof this.rmpVast.getVastPlayer?n.default.requestFullscreen(this.dom.container,this.rmpVast.getVastPlayer()):n.default.requestFullscreen(this.dom.container,this.dom.video);else if(this.fullWindowMode){var t=-1,i=-1;if(this.isInFullscreen)this.isInFullscreen=!1,t=this.initialWidth,i=this.initialHeight,k.default.removeClass(this.dom.fullscreen,"rmp-i-resize-small"),k.default.addClass(this.dom.fullscreen,"rmp-i-resize-full"),k.default.removeClass(this.dom.container,"rmp-full-window-on"),k.default.updateAriaLabel(this.dom.fullscreen,"Enter fullscreen"),k.default.createStdEvent("exitfullscreen",this.dom.container),this.setPlayerSize(t,i),setTimeout(function(){l.resize.call(e)},1);else{var a=n.default.getViewportSize();if(!(-1=d[0]&&s=this.thumbnailURIsTimestamps[c]&&(h=this.thumbnailURIs[c]);h&&h!==this.currentThumbnailURI&&(this.currentThumbnailURI=h,this.dom.thumbnailsImg.style.backgroundImage='url("'+this.currentThumbnailURI+'")')}var m=d[2].split(","),f=m[0].trim(),p=m[1].trim(),v=m[2].trim(),g=m[3].trim();this.dom.thumbnailsImg.style.backgroundPosition="-"+f+"px -"+p+"px",this.dom.thumbnailsImg.style.height=g+"px",this.dom.thumbnailsImg.style.width=v+"px",this.dom.thumbnailsImg.style.top="-"+g+"px",this.dom.indicator.style.width=v+"px",this.dom.indicator.style.marginLeft=-v/2+"px"}}}}.bind(this)),y.default.addEvent("mouseenter",this.dom.timetotal,function(){this.hasLoadedMetadata&&y.default.fadeIn(this.dom.indicator)}.bind(this)),y.default.addEvent("mouseleave",this.dom.timetotal,function(){this.hasLoadedMetadata&&y.default.fadeOut(this.dom.indicator)}.bind(this))};var r=s;i.default=r},{"../../fw/fw":55,"core-js/modules/es6.function.bind":168,"core-js/modules/es6.object.define-property":174,"core-js/modules/es6.regexp.split":181,"core-js/modules/es6.string.trim":184}],45:[function(e,t,i){"use strict";e("core-js/modules/es6.object.define-property"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("core-js/modules/es6.function.bind");var a=o(e("../../fw/fw")),s=o(e("../utils/error")),r=o(e("../utils/utils"));function o(e){return e&&e.__esModule?e:{default:e}}var n={init:function(){this.audioOnly&&(this.logo=""),""!==this.logo&&"bottomleft"!==this.logoPosition&&"topleft"!==this.logoPosition&&"topright"!==this.logoPosition&&"bottomright"!==this.logoPosition&&(this.logoPosition="topleft")}};n.append=function(){/(\.png|\.jpg|\.gif)/i.test(this.logo)&&(this.dom.logoImg=document.createElement("img"),this.dom.logoImg.alt="Media player logo",this.logoWatermark?this.dom.logoImg.className="rmp-logo rmp-force-show":this.dom.logoImg.className="rmp-logo","8px"!==this.logoMargin&&(this.dom.logoImg.style.margin=this.logoMargin),"topleft"===this.logoPosition?a.default.addClass(this.dom.logoImg,"rmp-logo-top-left"):"bottomleft"===this.logoPosition?a.default.addClass(this.dom.logoImg,"rmp-logo-bottom-left"):"topright"===this.logoPosition?a.default.addClass(this.dom.logoImg,"rmp-logo-top-right"):"bottomright"===this.logoPosition&&a.default.addClass(this.dom.logoImg,"rmp-logo-bottom-right"),this.onLogoLoad=function(){this.dom.logoImg.removeEventListener("load",this.onLogoLoad),this.dom.logoImg.removeEventListener("error",this.onLogoError),this.logoAppended||(this.dom.container.insertBefore(this.dom.logoImg,this.dom.outline.nextSibling),this.logoAppended=!0)}.bind(this),this.onLogoError=function(e){this.dom.logoImg.removeEventListener("load",this.onLogoLoad),this.dom.logoImg.removeEventListener("error",this.onLogoError),a.default.removeEvent(["touchend","click"],this.dom.logoImg,this.openLogoUrl);var t=null;e&&(t=e),s.default.warning.call(this,"failed to load logo at "+this.logo,1e3,t)}.bind(this),this.dom.logoImg.addEventListener("load",this.onLogoLoad),this.dom.logoImg.addEventListener("error",this.onLogoError),this.openLogoUrl=r.default.openUrl.bind(this,this.logoLoc),a.default.addEvent(["touchend","click"],this.dom.logoImg,this.openLogoUrl),this.dom.logoImg.src=this.logo)},n.update=function(){this.dom.logoImg.removeEventListener("load",this.onLogoLoad),this.dom.logoImg.removeEventListener("error",this.onLogoError),a.default.removeEvent(["touchend","click"],this.dom.logoImg,this.openLogoUrl),this.dom.logoImg.addEventListener("load",this.onLogoLoad),this.dom.logoImg.addEventListener("error",this.onLogoError),this.openLogoUrl=r.default.openUrl.bind(this,this.logoLoc),a.default.addEvent(["touchend","click"],this.dom.logoImg,this.openLogoUrl),this.dom.logoImg.src=this.logo};var l=n;i.default=l},{"../../fw/fw":55,"../utils/error":46,"../utils/utils":48,"core-js/modules/es6.function.bind":168,"core-js/modules/es6.object.define-property":174}],46:[function(e,t,i){"use strict";e("core-js/modules/es6.object.define-property"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("core-js/modules/es6.regexp.to-string"),e("core-js/modules/es6.date.to-string");var s=a(e("../../fw/fw")),r=a(e("../ui/core-ui")),o=a(e("../modules/modules")),n=a(e("../ready")),l=a(e("../../abr/shaka")),d=a(e("../../abr/hls"));function a(e){return e&&e.__esModule?e:{default:e}}var h={errorLayout:function(){var t=this;this.playerReady||(this.googleCast=!1,n.default.minimalFire.call(this));var e=this.dom.container.querySelector(".rmp-error");if(null!==e&&s.default.removeElement(e),(e=document.createElement("div")).className="rmp-error",""!==this.labels.error.customErrorMessage){var i=document.createElement("div");i.className="rmp-error-text",s.default.setText(i,this.labels.error.customErrorMessage),e.appendChild(i)}this.dom.content||(this.dom.content=document.createElement("div"),s.default.addClass(this.dom.content,"rmp-content"),s.default.hideAria(this.dom.content),this.dom.container.insertBefore(this.dom.content,this.dom.container.firstChild)),this.dom.content.appendChild(e);var a=!1;(this.readingMp4&&1i.viewablePreviousRatio?i.viewablePlayPause?i.play():i.viewableAutoplay&&!t&&(i.play(),r.destroy.call(i)):i.viewablePlayPause&&t&&i.pause(),i.viewablePreviousRatio=e.intersectionRatio})}.bind(this),e),this.viewableObserver.observe(this.dom.container)};r.set=function(){this.attachViewableObserver=o.bind(this),this.dom.container.addEventListener("ready",this.attachViewableObserver)};var n=r;i.default=n},{"../../fw/fw":55,"core-js/modules/es6.array.for-each":160,"core-js/modules/es6.function.bind":168,"core-js/modules/es6.object.define-property":174,"core-js/modules/web.dom.iterable":190}],50:[function(e,t,i){"use strict";e("core-js/modules/es6.object.define-property"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("core-js/modules/es6.regexp.to-string"),e("core-js/modules/es6.date.to-string");var a=n(e("../../fw/fw")),s=n(e("../../fw/env")),r=n(e("../ui/core-ui")),o=n(e("../../cast/cast"));function n(e){return e&&e.__esModule?e:{default:e}}var l={getVolumeAds:function(){return"ima"===this.adParser&&this.adsManager&&"function"==typeof this.adsManager.getVolume?this.adsManager.getVolume():"rmp-vast"===this.adParser&&this.rmpVast&&"function"==typeof this.rmpVast.getVolume?this.rmpVast.getVolume():-2},setVolumeAds:function(e){"ima"===this.adParser&&this.adsManager&&"function"==typeof this.adsManager.setVolume?this.adsManager.setVolume(e):"rmp-vast"===this.adParser&&this.rmpVast&&"function"==typeof this.rmpVast.setVolume&&this.rmpVast.setVolume(e)},protoMute:function(){this.currentVolume=this.getVolume(),o.default.castingAPIAvailable.call(this)?(this.remotePlayerController.muteOrUnmute(),l.change.call(this)):(this.muted=!0,this.dom.video.muted=!0,this.getAdOnStage()&&this.getAdLinear()&&("ima"===this.adParser?l.setVolumeAds.call(this,0):"rmp-vast"===this.adParser&&this.rmpVast&&"function"==typeof this.rmpVast.setMute&&this.rmpVast.setMute(!0))),this.dom.currentVolume.style.height="0px",a.default.addClass(this.dom.volume,"rmp-i-volume-off"),a.default.removeClass(this.dom.volume,"rmp-i-volume-up")},protoUnmute:function(){if(o.default.castingAPIAvailable.call(this))this.remotePlayerController.muteOrUnmute(),l.change.call(this);else{if(this.permanentMuted)return;this.muted=!1,this.dom.video.muted=!1,this.getAdOnStage()&&this.getAdLinear()&&"rmp-vast"===this.adParser&&this.rmpVast&&"function"==typeof this.rmpVast.setMute&&this.rmpVast.setMute(!1),0 video::cue {font-size: "+t+"px;} ",e+=".rmp-fullscreen-on .rmp-cc-cue, .rmp-fullscreen-on > .rmp-content > video::cue {font-size: "+i+"px;} "}if("FFFFFF"!==this.ccTextColor||"000000"!==this.ccBackgroundColor||.8!==this.ccBackgroundAlpha){var a=f.default.hexToRgb("#"+this.ccBackgroundColor);a="rgba("+a.r+", "+a.g+", "+a.b+", "+this.ccBackgroundAlpha+")",e+=".rmp-cc-cue {color: #"+this.ccTextColor+" !important; background: "+a+" !important;;} ",e+=".rmp-content > video::cue {color: #"+this.ccTextColor+";} ",e+=".rmp-content > video::-webkit-media-text-track-display-backdrop {background: "+a+" !important;} "}f.default.appendStyle(e)}.call(this)}if(p.default.append.call(this,"captions"),p.default.appendOverlay.call(this,"captions"),p.default.deferredShow.call(this,"captions"),!this.hasCC&&this.readingMse&&0\s*\d*?:?\d*?:?\d+(\.\d+)?\s*$/,l=0,d=a.length;lo;)r.call(e,a=s[o++])&&t.push(a);return t}},{"./_object-gops":117,"./_object-keys":120,"./_object-pie":121}],83:[function(e,t,i){var p=e("./_global"),v=e("./_core"),g=e("./_hide"),y=e("./_redefine"),b=e("./_ctx"),S="prototype",E=function(e,t,i){var a,s,r,o,n=e&E.F,l=e&E.G,d=e&E.S,h=e&E.P,c=e&E.B,u=l?p:d?p[t]||(p[t]={}):(p[t]||{})[S],m=l?v:v[t]||(v[t]={}),f=m[S]||(m[S]={});for(a in l&&(i=t),i)r=((s=!n&&u&&void 0!==u[a])?u:i)[a],o=c&&s?b(r,p):h&&"function"==typeof r?b(Function.call,r):r,u&&y(u,a,r,e&E.U),m[a]!=r&&g(m,a,o),h&&f[a]!=r&&(f[a]=r)};p.core=v,E.F=1,E.G=2,E.S=4,E.P=8,E.B=16,E.W=32,E.U=64,E.R=128,t.exports=E},{"./_core":75,"./_ctx":77,"./_global":88,"./_hide":90,"./_redefine":127}],84:[function(e,t,i){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],85:[function(e,t,i){"use strict";e("./es6.regexp.exec");var h=e("./_redefine"),c=e("./_hide"),u=e("./_fails"),m=e("./_defined"),f=e("./_wks"),p=e("./_regexp-exec"),v=f("species"),g=!u(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),y=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var i="ab".split(e);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(i,e,t){var a=f(i),r=!u(function(){var e={};return e[a]=function(){return 7},7!=""[i](e)}),s=r?!u(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},"split"===i&&(t.constructor={},t.constructor[v]=function(){return t}),t[a](""),!e}):void 0;if(!r||!s||"replace"===i&&!g||"split"===i&&!y){var o=/./[a],n=t(m,a,""[i],function(e,t,i,a,s){return t.exec===p?r&&!s?{done:!0,value:o.call(t,i,a)}:{done:!0,value:e.call(i,t,a)}:{done:!1}}),l=n[0],d=n[1];h(String.prototype,i,l),c(RegExp.prototype,a,2==e?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}}},{"./_defined":78,"./_fails":84,"./_hide":90,"./_redefine":127,"./_regexp-exec":129,"./_wks":155,"./es6.regexp.exec":177}],86:[function(e,t,i){"use strict";var a=e("./_an-object");t.exports=function(){var e=a(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{"./_an-object":65}],87:[function(e,t,i){var u=e("./_ctx"),m=e("./_iter-call"),f=e("./_is-array-iter"),p=e("./_an-object"),v=e("./_to-length"),g=e("./core.get-iterator-method"),y={},b={};(i=t.exports=function(e,t,i,a,s){var r,o,n,l,d=s?function(){return e}:g(e),h=u(i,a,t?2:1),c=0;if("function"!=typeof d)throw TypeError(e+" is not iterable!");if(f(d)){for(r=v(e.length);cdocument.F=Object<\/script>"),e.close(),h=e.F;i--;)delete h[d][o[i]];return h()};e.exports=Object.create||function(e,t){var i;return null!==e?(l[d]=s(e),i=new l,l[d]=null,i[n]=e):i=h(),void 0===t?i:r(i,t)}},{"./_an-object":65,"./_dom-create":80,"./_enum-bug-keys":81,"./_html":91,"./_object-dps":113,"./_shared-key":133}],112:[function(e,t,i){var a=e("./_an-object"),s=e("./_ie8-dom-define"),r=e("./_to-primitive"),o=Object.defineProperty;i.f=e("./_descriptors")?Object.defineProperty:function(e,t,i){if(a(e),t=r(t,!0),a(i),s)try{return o(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},{"./_an-object":65,"./_descriptors":79,"./_ie8-dom-define":92,"./_to-primitive":147}],113:[function(e,t,i){var o=e("./_object-dp"),n=e("./_an-object"),l=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){n(e);for(var i,a=l(t),s=a.length,r=0;rs;)o(a,i=t[s++])&&(~l(r,i)||r.push(i));return r}},{"./_array-includes":68,"./_has":89,"./_shared-key":133,"./_to-iobject":144}],120:[function(e,t,i){var a=e("./_object-keys-internal"),s=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return a(e,s)}},{"./_enum-bug-keys":81,"./_object-keys-internal":119}],121:[function(e,t,i){i.f={}.propertyIsEnumerable},{}],122:[function(e,t,i){var s=e("./_export"),r=e("./_core"),o=e("./_fails");t.exports=function(e,t){var i=(r.Object||{})[e]||Object[e],a={};a[e]=t(i),s(s.S+s.F*o(function(){i(1)}),"Object",a)}},{"./_core":75,"./_export":83,"./_fails":84}],123:[function(e,t,i){t.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},{}],124:[function(e,t,i){var a=e("./_an-object"),s=e("./_is-object"),r=e("./_new-promise-capability");t.exports=function(e,t){if(a(e),s(t)&&t.constructor===e)return t;var i=r.f(e);return(0,i.resolve)(t),i.promise}},{"./_an-object":65,"./_is-object":98,"./_new-promise-capability":109}],125:[function(e,t,i){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],126:[function(e,t,i){var s=e("./_redefine");t.exports=function(e,t,i){for(var a in t)s(e,a,t[a],i);return e}},{"./_redefine":127}],127:[function(e,t,i){var r=e("./_global"),o=e("./_hide"),n=e("./_has"),l=e("./_uid")("src"),a="toString",s=Function[a],d=(""+s).split(a);e("./_core").inspectSource=function(e){return s.call(e)},(t.exports=function(e,t,i,a){var s="function"==typeof i;s&&(n(i,"name")||o(i,"name",t)),e[t]!==i&&(s&&(n(i,l)||o(i,l,e[t]?""+e[t]:d.join(String(t)))),e===r?e[t]=i:a?e[t]?e[t]=i:o(e,t,i):(delete e[t],o(e,t,i)))})(Function.prototype,a,function(){return"function"==typeof this&&this[l]||s.call(this)})},{"./_core":75,"./_global":88,"./_has":89,"./_hide":90,"./_uid":151}],128:[function(e,t,i){"use strict";var s=e("./_classof"),r=RegExp.prototype.exec;t.exports=function(e,t){var i=e.exec;if("function"==typeof i){var a=i.call(e,t);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==s(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},{"./_classof":73}],129:[function(e,t,i){"use strict";var a,s,r=e("./_flags"),o=RegExp.prototype.exec,n=String.prototype.replace,l=o,d="lastIndex",h=(a=/a/,s=/b*/g,o.call(a,"a"),o.call(s,"a"),0!==a[d]||0!==s[d]),c=void 0!==/()??/.exec("")[1];(h||c)&&(l=function(e){var t,i,a,s;return c&&(i=new RegExp("^"+this.source+"$(?!\\s)",r.call(this))),h&&(t=this[d]),a=o.call(this,e),h&&a&&(this[d]=this.global?a.index+a[0].length:t),c&&a&&1i;)t.push(arguments[i++]);return g[++v]=function(){n("function"==typeof e?e:Function(e),t)},a(v),v},m=function(e){delete g[e]},"process"==e("./_cof")(c)?a=function(e){c.nextTick(o(b,e,1))}:p&&p.now?a=function(e){p.now(o(b,e,1))}:f?(r=(s=new f).port2,s.port1.onmessage=S,a=o(r.postMessage,r,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(a=function(e){h.postMessage(e+"","*")},h.addEventListener("message",S,!1)):a=y in d("script")?function(e){l.appendChild(d("script"))[y]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(o(b,e,1),0)}),t.exports={set:u,clear:m}},{"./_cof":74,"./_ctx":77,"./_dom-create":80,"./_global":88,"./_html":91,"./_invoke":94}],141:[function(e,t,i){var a=e("./_to-integer"),s=Math.max,r=Math.min;t.exports=function(e,t){return(e=a(e))<0?s(e+t,0):r(e,t)}},{"./_to-integer":143}],142:[function(e,t,i){var a=e("./_to-integer"),s=e("./_to-length");t.exports=function(e){if(void 0===e)return 0;var t=a(e),i=s(t);if(t!==i)throw RangeError("Wrong length!");return i}},{"./_to-integer":143,"./_to-length":145}],143:[function(e,t,i){var a=Math.ceil,s=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(0>1,h=23===t?P(2,-24)-P(2,-77):0,c=0,u=e<0||0===e&&1/e<0?1:0;for((e=T(e))!=e||e===L?(s=e!=e?1:0,a=l):(a=I(j(e)/M),e*(r=P(2,-a))<1&&(a--,r*=2),2<=(e+=1<=a+d?h/r:h*P(2,1-d))*r&&(a++,r/=2),l<=a+d?(s=0,a=l):1<=a+d?(s=(e*r-1)*P(2,t),a+=d):(s=e*P(2,d-1)*P(2,t),a=0));8<=t;o[c++]=255&s,s/=256,t-=8);for(a=a<>1,n=s-7,l=i-1,d=e[l--],h=127&d;for(d>>=7;0>=-n,n+=t;0>8&255]}function q(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function W(e){return V(e,52,8)}function J(e){return V(e,23,4)}function G(e,t,i){p(e[S],t,{get:function(){return this[i]}})}function z(e,t,i,a){var s=m(+i);if(s+t>e[O])throw A(E);var r=e[R]._b,o=s+e[F],n=r.slice(o,o+t);return a?n:n.reverse()}function K(e,t,i,a,s,r){var o=m(+i);if(o+t>e[O])throw A(E);for(var n=e[R]._b,l=o+e[F],d=a(+s),h=0;h$;)(Y=Q[$++])in w||n(w,Y,_[Y]);r||(X.constructor=w)}var Z=new k(new w(2)),ee=k[S].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||l(k[S],{setInt8:function(e,t){ee.call(this,e,t<<24>>24)},setUint8:function(e,t){ee.call(this,e,t<<24>>24)}},!0)}else w=function(e){h(this,w,y);var t=m(e);this._b=v.call(new Array(t),0),this[O]=t},k=function(e,t,i){h(this,k,b),h(e,w,b);var a=e[O],s=c(t);if(s<0||a>24},getUint8:function(e){return z(this,1,e)[0]},getInt16:function(e){var t=z(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=z(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return U(z(this,4,e,arguments[1]))},getUint32:function(e){return U(z(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return N(z(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return N(z(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){K(this,1,e,H,t)},setUint8:function(e,t){K(this,1,e,H,t)},setInt16:function(e,t){K(this,2,e,B,t,arguments[2])},setUint16:function(e,t){K(this,2,e,B,t,arguments[2])},setInt32:function(e,t){K(this,4,e,q,t,arguments[2])},setUint32:function(e,t){K(this,4,e,q,t,arguments[2])},setFloat32:function(e,t){K(this,4,e,J,t,arguments[2])},setFloat64:function(e,t){K(this,8,e,W,t,arguments[2])}});g(w,y),g(k,b),n(k[S],o.VIEW,!0),i[y]=w,i[b]=k},{"./_an-instance":64,"./_array-fill":67,"./_descriptors":79,"./_fails":84,"./_global":88,"./_hide":90,"./_library":106,"./_object-dp":112,"./_object-gopn":116,"./_redefine-all":126,"./_set-to-string-tag":132,"./_to-index":142,"./_to-integer":143,"./_to-length":145,"./_typed":150}],150:[function(e,t,i){for(var a,s=e("./_global"),r=e("./_hide"),o=e("./_uid"),n=o("typed_array"),l=o("view"),d=!(!s.ArrayBuffer||!s.DataView),h=d,c=0,u="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(a=s[u[c++]])?(r(a.prototype,n,!0),r(a.prototype,l,!0)):h=!1;t.exports={ABV:d,CONSTR:h,TYPED:n,VIEW:l}},{"./_global":88,"./_hide":90,"./_uid":151}],151:[function(e,t,i){var a=0,s=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++a+s).toString(36))}},{}],152:[function(e,t,i){var a=e("./_global").navigator;t.exports=a&&a.userAgent||""},{"./_global":88}],153:[function(e,t,i){var a=e("./_global"),s=e("./_core"),r=e("./_library"),o=e("./_wks-ext"),n=e("./_object-dp").f;t.exports=function(e){var t=s.Symbol||(s.Symbol=r?{}:a.Symbol||{});"_"==e.charAt(0)||e in t||n(t,e,{value:o.f(e)})}},{"./_core":75,"./_global":88,"./_library":106,"./_object-dp":112,"./_wks-ext":154}],154:[function(e,t,i){i.f=e("./_wks")},{"./_wks":155}],155:[function(e,t,i){var a=e("./_shared")("wks"),s=e("./_uid"),r=e("./_global").Symbol,o="function"==typeof r;(t.exports=function(e){return a[e]||(a[e]=o&&r[e]||(o?r:s)("Symbol."+e))}).store=a},{"./_global":88,"./_shared":134,"./_uid":151}],156:[function(e,t,i){var a=e("./_classof"),s=e("./_wks")("iterator"),r=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(null!=e)return e[s]||e["@@iterator"]||r[a(e)]}},{"./_classof":73,"./_core":75,"./_iterators":105,"./_wks":155}],157:[function(e,t,i){"use strict";var a=e("./_export"),s=e("./_array-methods")(2);a(a.P+a.F*!e("./_strict-method")([].filter,!0),"Array",{filter:function(e){return s(this,e,arguments[1])}})},{"./_array-methods":69,"./_export":83,"./_strict-method":136}],158:[function(e,t,i){"use strict";var a=e("./_export"),s=e("./_array-methods")(6),r="findIndex",o=!0;r in[]&&Array(1)[r](function(){o=!1}),a(a.P+a.F*o,"Array",{findIndex:function(e){return s(this,e,1=e.length?(this._t=void 0,s(1)):s(0,"keys"==t?i:"values"==t?e[i]:[i,e[i]])},"values"),r.Arguments=r.Array,a("keys"),a("values"),a("entries")},{"./_add-to-unscopables":62,"./_iter-define":102,"./_iter-step":104,"./_iterators":105,"./_to-iobject":144}],165:[function(e,t,i){"use strict";var a=e("./_export"),s=e("./_a-function"),r=e("./_to-object"),o=e("./_fails"),n=[].sort,l=[1,2,3];a(a.P+a.F*(o(function(){l.sort(void 0)})||!o(function(){l.sort(null)})||!e("./_strict-method")(n)),"Array",{sort:function(e){return void 0===e?n.call(r(this)):n.call(r(this),s(e))}})},{"./_a-function":61,"./_export":83,"./_fails":84,"./_strict-method":136,"./_to-object":146}],166:[function(e,t,i){var a=e("./_export");a(a.S,"Date",{now:function(){return(new Date).getTime()}})},{"./_export":83}],167:[function(e,t,i){var a=Date.prototype,s="Invalid Date",r=a.toString,o=a.getTime;new Date(NaN)+""!=s&&e("./_redefine")(a,"toString",function(){var e=o.call(this);return e==e?r.call(this):s})},{"./_redefine":127}],168:[function(e,t,i){var a=e("./_export");a(a.P,"Function",{bind:e("./_bind")})},{"./_bind":72,"./_export":83}],169:[function(e,t,i){var a=e("./_object-dp").f,s=Function.prototype,r=/^\s*function ([^ (]*)/;"name"in s||e("./_descriptors")&&a(s,"name",{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},{"./_descriptors":79,"./_object-dp":112}],170:[function(e,t,i){"use strict";var a=e("./_global"),s=e("./_has"),r=e("./_cof"),o=e("./_inherit-if-required"),h=e("./_to-primitive"),n=e("./_fails"),l=e("./_object-gopn").f,d=e("./_object-gopd").f,c=e("./_object-dp").f,u=e("./_string-trim").trim,m="Number",f=a[m],p=f,v=f.prototype,g=r(e("./_object-create")(v))==m,y="trim"in String.prototype,b=function(e){var t=h(e,!1);if("string"==typeof t&&2w;w++)s(p,S=E[w])&&!s(f,S)&&c(f,S,d(p,S));(f.prototype=v).constructor=f,e("./_redefine")(a,m,f)}},{"./_cof":74,"./_descriptors":79,"./_fails":84,"./_global":88,"./_has":89,"./_inherit-if-required":93,"./_object-create":111,"./_object-dp":112,"./_object-gopd":114,"./_object-gopn":116,"./_redefine":127,"./_string-trim":138,"./_to-primitive":147}],171:[function(e,t,i){var a=e("./_export"),s=e("./_global").isFinite;a(a.S,"Number",{isFinite:function(e){return"number"==typeof e&&s(e)}})},{"./_export":83,"./_global":88}],172:[function(e,t,i){var a=e("./_export");a(a.S,"Number",{isNaN:function(e){return e!=e}})},{"./_export":83}],173:[function(e,t,i){var a=e("./_export");a(a.S+a.F,"Object",{assign:e("./_object-assign")})},{"./_export":83,"./_object-assign":110}],174:[function(e,t,i){var a=e("./_export");a(a.S+a.F*!e("./_descriptors"),"Object",{defineProperty:e("./_object-dp").f})},{"./_descriptors":79,"./_export":83,"./_object-dp":112}],175:[function(e,t,i){var a=e("./_to-object"),s=e("./_object-keys");e("./_object-sap")("keys",function(){return function(e){return s(a(e))}})},{"./_object-keys":120,"./_object-sap":122,"./_to-object":146}],176:[function(i,e,t){"use strict";var a,s,r,o,n=i("./_library"),l=i("./_global"),d=i("./_ctx"),h=i("./_classof"),c=i("./_export"),u=i("./_is-object"),m=i("./_a-function"),f=i("./_an-instance"),p=i("./_for-of"),v=i("./_species-constructor"),g=i("./_task").set,y=i("./_microtask")(),b=i("./_new-promise-capability"),S=i("./_perform"),E=i("./_user-agent"),w=i("./_promise-resolve"),k="Promise",C=l.TypeError,A=l.process,L=A&&A.versions,_=L&&L.v8||"",T=l[k],P="process"==h(A),I=function(){},j=s=b.f,M=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[i("./_wks")("species")]=function(e){e(I,I)};return(P||"function"==typeof PromiseRejectionEvent)&&e.then(I)instanceof t&&0!==_.indexOf("6.6")&&-1===E.indexOf("Chrome/66")}catch(e){}}(),x=function(e){var t;return!(!u(e)||"function"!=typeof(t=e.then))&&t},D=function(h,i){if(!h._n){h._n=!0;var a=h._c;y(function(){for(var l=h._v,d=1==h._s,e=0,t=function(e){var t,i,a,s=d?e.ok:e.fail,r=e.resolve,o=e.reject,n=e.domain;try{s?(d||(2==h._h&&F(h),h._h=1),!0===s?t=l:(n&&n.enter(),t=s(l),n&&(n.exit(),a=!0)),t===e.promise?o(C("Promise-chain cycle")):(i=x(t))?i.call(t,r,o):r(t)):o(l)}catch(e){n&&!a&&n.exit(),o(e)}};a.length>e;)t(a[e++]);h._c=[],h._n=!1,i&&!h._h&&R(h)})}},R=function(r){g.call(l,function(){var e,t,i,a=r._v,s=O(r);if(s&&(e=S(function(){P?A.emit("unhandledRejection",a,r):(t=l.onunhandledrejection)?t({promise:r,reason:a}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",a)}),r._h=P||O(r)?2:1),r._a=void 0,s&&e.e)throw e.v})},O=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(t){g.call(l,function(){var e;P?A.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},V=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},N=function(e){var i,a=this;if(!a._d){a._d=!0,a=a._w||a;try{if(a===e)throw C("Promise can't be resolved itself");(i=x(e))?y(function(){var t={_w:a,_d:!1};try{i.call(e,d(N,t,1),d(V,t,1))}catch(e){V.call(t,e)}}):(a._v=e,a._s=1,D(a,!1))}catch(e){V.call({_w:a,_d:!1},e)}}};M||(T=function(e){f(this,T,k,"_h"),m(e),a.call(this);try{e(d(N,this,1),d(V,this,1))}catch(e){V.call(this,e)}},(a=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i("./_redefine-all")(T.prototype,{then:function(e,t){var i=j(v(this,T));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=P?A.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&D(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),r=function(){var e=new a;this.promise=e,this.resolve=d(N,e,1),this.reject=d(V,e,1)},b.f=j=function(e){return e===T||e===o?new r(e):s(e)}),c(c.G+c.W+c.F*!M,{Promise:T}),i("./_set-to-string-tag")(T,k),i("./_set-species")(k),o=i("./_core")[k],c(c.S+c.F*!M,k,{reject:function(e){var t=j(this);return(0,t.reject)(e),t.promise}}),c(c.S+c.F*(n||!M),k,{resolve:function(e){return w(n&&this===o?T:this,e)}}),c(c.S+c.F*!(M&&i("./_iter-detect")(function(e){T.all(e).catch(I)})),k,{all:function(e){var o=this,t=j(o),n=t.resolve,l=t.reject,i=S(function(){var a=[],s=0,r=1;p(e,!1,function(e){var t=s++,i=!1;a.push(void 0),r++,o.resolve(e).then(function(e){i||(i=!0,a[t]=e,--r||n(a))},l)}),--r||n(a)});return i.e&&l(i.v),t.promise},race:function(e){var t=this,i=j(t),a=i.reject,s=S(function(){p(e,!1,function(e){t.resolve(e).then(i.resolve,a)})});return s.e&&a(s.v),i.promise}})},{"./_a-function":61,"./_an-instance":64,"./_classof":73,"./_core":75,"./_ctx":77,"./_export":83,"./_for-of":87,"./_global":88,"./_is-object":98,"./_iter-detect":103,"./_library":106,"./_microtask":108,"./_new-promise-capability":109,"./_perform":123,"./_promise-resolve":124,"./_redefine-all":126,"./_set-species":131,"./_set-to-string-tag":132,"./_species-constructor":135,"./_task":140,"./_user-agent":152,"./_wks":155}],177:[function(e,t,i){"use strict";var a=e("./_regexp-exec");e("./_export")({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},{"./_export":83,"./_regexp-exec":129}],178:[function(e,t,i){e("./_descriptors")&&"g"!=/./g.flags&&e("./_object-dp").f(RegExp.prototype,"flags",{configurable:!0,get:e("./_flags")})},{"./_descriptors":79,"./_flags":86,"./_object-dp":112}],179:[function(e,t,i){"use strict";var c=e("./_an-object"),u=e("./_to-length"),m=e("./_advance-string-index"),f=e("./_regexp-exec-abstract");e("./_fix-re-wks")("match",1,function(a,s,d,h){return[function(e){var t=a(this),i=null==e?void 0:e[s];return void 0!==i?i.call(e,t):new RegExp(e)[s](String(t))},function(e){var t=h(d,e,this);if(t.done)return t.value;var i=c(e),a=String(this);if(!i.global)return f(i,a);for(var s,r=i.unicode,o=[],n=i.lastIndex=0;null!==(s=f(i,a));){var l=String(s[0]);""===(o[n]=l)&&(i.lastIndex=m(a,u(i.lastIndex),r)),n++}return 0===n?null:o}]})},{"./_advance-string-index":63,"./_an-object":65,"./_fix-re-wks":85,"./_regexp-exec-abstract":128,"./_to-length":145}],180:[function(e,t,i){"use strict";var C=e("./_an-object"),a=e("./_to-object"),A=e("./_to-length"),L=e("./_to-integer"),_=e("./_advance-string-index"),T=e("./_regexp-exec-abstract"),P=Math.max,I=Math.min,u=Math.floor,m=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;e("./_fix-re-wks")("replace",2,function(s,r,E,w){return[function(e,t){var i=s(this),a=null==e?void 0:e[r];return void 0!==a?a.call(e,i,t):E.call(String(i),e,t)},function(e,t){var i=w(E,e,this,t);if(i.done)return i.value;var a=C(e),s=String(this),r="function"==typeof t;r||(t=String(t));var o=a.global;if(o){var n=a.unicode;a.lastIndex=0}for(var l=[];;){var d=T(a,s);if(null===d)break;if(l.push(d),!o)break;""===String(d[0])&&(a.lastIndex=_(s,A(a.lastIndex),n))}for(var h,c="",u=0,m=0;m>>0,h=new RegExp(e.source,n+"g");(a=u.call(h,i))&&!(l<(s=h[p])&&(o.push(i.slice(l,a.index)),1=d));)h[p]===a.index&&h[p]++;return l===i[f]?!r&&h.test("")||o.push(""):o.push(i.slice(l)),o[f]>d?o.slice(0,d):o}:"0"[a](void 0,0)[f]?function(e,t){return void 0===e&&0===t?[]:v.call(this,e,t)}:v,[function(e,t){var i=s(this),a=null==e?void 0:e[r];return void 0!==a?a.call(e,i,t):y.call(String(i),e,t)},function(e,t){var i=g(y,e,this,t,y!==v);if(i.done)return i.value;var a=b(e),s=String(this),r=S(a,RegExp),o=a.unicode,n=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(A?"y":"g"),l=new r(A?a:"^(?:"+a.source+")",n),d=void 0===t?4294967295:t>>>0;if(0===d)return[];if(0===s.length)return null===k(l,s)?[s]:[];for(var h=0,c=0,u=[];c=t.length?{value:void 0,done:!0}:(e=a(t,i),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":102,"./_string-at":137}],184:[function(e,t,i){"use strict";e("./_string-trim")("trim",function(e){return function(){return e(this,3)}})},{"./_string-trim":138}],185:[function(e,t,i){"use strict";var a=e("./_global"),o=e("./_has"),s=e("./_descriptors"),r=e("./_export"),n=e("./_redefine"),l=e("./_meta").KEY,d=e("./_fails"),h=e("./_shared"),c=e("./_set-to-string-tag"),u=e("./_uid"),m=e("./_wks"),f=e("./_wks-ext"),p=e("./_wks-define"),v=e("./_enum-keys"),g=e("./_is-array"),y=e("./_an-object"),b=e("./_is-object"),S=e("./_to-iobject"),E=e("./_to-primitive"),w=e("./_property-desc"),k=e("./_object-create"),C=e("./_object-gopn-ext"),A=e("./_object-gopd"),L=e("./_object-dp"),_=e("./_object-keys"),T=A.f,P=L.f,I=C.f,j=a.Symbol,M=a.JSON,x=M&&M.stringify,D="prototype",R=m("_hidden"),O=m("toPrimitive"),F={}.propertyIsEnumerable,V=h("symbol-registry"),N=h("symbols"),U=h("op-symbols"),H=Object[D],B="function"==typeof j,q=a.QObject,W=!q||!q[D]||!q[D].findChild,J=s&&d(function(){return 7!=k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,i){var a=T(H,t);a&&delete H[t],P(e,t,i),a&&e!==H&&P(H,t,a)}:P,G=function(e){var t=N[e]=k(j[D]);return t._k=e,t},z=B&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},K=function(e,t,i){return e===H&&K(U,t,i),y(e),t=E(t,!0),y(i),o(N,t)?(i.enumerable?(o(e,R)&&e[R][t]&&(e[R][t]=!1),i=k(i,{enumerable:w(0,!1)})):(o(e,R)||P(e,R,w(1,{})),e[R][t]=!0),J(e,t,i)):P(e,t,i)},Y=function(e,t){y(e);for(var i,a=v(t=S(t)),s=0,r=a.length;ss;)o(N,t=i[s++])||t==R||t==l||a.push(t);return a},Z=function(e){for(var t,i=e===H,a=I(i?U:S(e)),s=[],r=0;a.length>r;)!o(N,t=a[r++])||i&&!o(H,t)||s.push(N[t]);return s};B||(n((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=u(0te;)m(ee[te++]);for(var ie=_(m.store),ae=0;ie.length>ae;)p(ie[ae++]);r(r.S+r.F*!B,"Symbol",{for:function(e){return o(V,e+="")?V[e]:V[e]=j(e)},keyFor:function(e){if(!z(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),r(r.S+r.F*!B,"Object",{create:function(e,t){return void 0===t?k(e):Y(k(e),t)},defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),M&&r(r.S+r.F*(!B||d(function(){var e=j();return"[null]"!=x([e])||"{}"!=x({a:e})||"{}"!=x(Object(e))})),"JSON",{stringify:function(e){for(var t,i,a=[e],s=1;arguments.length>s;)a.push(arguments[s++]);if(i=t=a[1],(b(t)||void 0!==e)&&!z(e))return g(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!z(t))return t}),a[1]=t,x.apply(M,a)}}),j[D][O]||e("./_hide")(j[D],O,j[D].valueOf),c(j,"Symbol"),c(Math,"Math",!0),c(a.JSON,"JSON",!0)},{"./_an-object":65,"./_descriptors":79,"./_enum-keys":82,"./_export":83,"./_fails":84,"./_global":88,"./_has":89,"./_hide":90,"./_is-array":97,"./_is-object":98,"./_library":106,"./_meta":107,"./_object-create":111,"./_object-dp":112,"./_object-gopd":114,"./_object-gopn":116,"./_object-gopn-ext":115,"./_object-gops":117,"./_object-keys":120,"./_object-pie":121,"./_property-desc":125,"./_redefine":127,"./_set-to-string-tag":132,"./_shared":134,"./_to-iobject":144,"./_to-primitive":147,"./_uid":151,"./_wks":155,"./_wks-define":153,"./_wks-ext":154}],186:[function(e,t,i){var a=e("./_export");a(a.G+a.W+a.F*!e("./_typed").ABV,{DataView:e("./_typed-buffer").DataView})},{"./_export":83,"./_typed":150,"./_typed-buffer":149}],187:[function(e,t,i){e("./_typed-array")("Uint16",2,function(a){return function(e,t,i){return a(this,e,t,i)}})},{"./_typed-array":148}],188:[function(e,t,i){e("./_typed-array")("Uint8",1,function(a){return function(e,t,i){return a(this,e,t,i)}})},{"./_typed-array":148}],189:[function(e,t,i){e("./_wks-define")("asyncIterator")},{"./_wks-define":153}],190:[function(e,t,i){for(var a=e("./es6.array.iterator"),s=e("./_object-keys"),r=e("./_redefine"),o=e("./_global"),n=e("./_hide"),l=e("./_iterators"),d=e("./_wks"),h=d("iterator"),c=d("toStringTag"),u=l.Array,m={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=s(m),p=0;peventCallback","A check loading is launched"),null===t._var.bait&&t._creatBait(),setTimeout(function(){t.check()},1))},1)};void 0!==a.addEventListener?a.addEventListener("load",i,!1):a.attachEvent("onload",i)};e.prototype._options=null,e.prototype._var=null,e.prototype._bait=null,e.prototype._log=function(e,t){console.log("[adblockDetector]["+e+"] "+t)},e.prototype.setOption=function(e,t){if(void 0!==t){var i=e;(e={})[i]=t}for(var a in e)this._options[a]=e[a],!0===this._options.debug&&this._log("setOption",'The option "'+a+'" was assigned to "'+e[a]+'"');return this},e.prototype._creatBait=function(){var e=document.createElement("div");e.setAttribute("class",this._options.baitClass),e.setAttribute("style",this._options.baitStyle),this._var.bait=a.document.body.appendChild(e),this._var.bait.offsetParent,this._var.bait.offsetHeight,this._var.bait.offsetLeft,this._var.bait.offsetTop,this._var.bait.offsetWidth,this._var.bait.clientHeight,this._var.bait.clientWidth,!0===this._options.debug&&this._log("_creatBait","Bait has been created")},e.prototype._destroyBait=function(){a.document.body.removeChild(this._var.bait),!(this._var.bait=null)===this._options.debug&&this._log("_destroyBait","Bait has been removed")},e.prototype.check=function(e){if(void 0===e&&(e=!0),!0===this._options.debug&&this._log("check","An audit was requested "+(!0===e?"with a":"without")+" loop"),!0===this._var.checking)return!0===this._options.debug&&this._log("check","A check was canceled because there is already an ongoing"),!1;this._var.checking=!0,null===this._var.bait&&this._creatBait();var t=this;return!(this._var.loopNumber=0)===e&&(this._var.loop=setInterval(function(){t._checkBait(e)},this._options.loopCheckTime)),setTimeout(function(){t._checkBait(e)},1),!0===this._options.debug&&this._log("check","A check is in progress ..."),!0},e.prototype._checkBait=function(e){var t=!1;if(null===this._var.bait&&this._creatBait(),null===a.document.body.getAttribute("abp")&&null!==this._var.bait.offsetParent&&0!==this._var.bait.offsetHeight&&0!==this._var.bait.offsetLeft&&0!==this._var.bait.offsetTop&&0!==this._var.bait.offsetWidth&&0!==this._var.bait.clientHeight&&0!==this._var.bait.clientWidth||(t=!0),void 0!==a.getComputedStyle){var i=a.getComputedStyle(this._var.bait,null);!i||"none"!==i.getPropertyValue("display")&&"hidden"!==i.getPropertyValue("visibility")||(t=!0)}!0===this._options.debug&&this._log("_checkBait","A check ("+(this._var.loopNumber+1)+"/"+this._options.loopMaxNumber+" ~"+(1+this._var.loopNumber*this._options.loopCheckTime)+"ms) was conducted and detection is "+(!0===t?"positive":"negative")),!0===e&&(this._var.loopNumber++,this._var.loopNumber>=this._options.loopMaxNumber&&this._stopLoop()),!0===t?(this._stopLoop(),this._destroyBait(),this.emitEvent(!0),!0===e&&(this._var.checking=!1)):null!==this._var.loop&&!1!==e||(this._destroyBait(),this.emitEvent(!1),!0===e&&(this._var.checking=!1))},e.prototype._stopLoop=function(){clearInterval(this._var.loop),this._var.loop=null,!(this._var.loopNumber=0)===this._options.debug&&this._log("_stopLoop","A loop has been stopped")},e.prototype.emitEvent=function(e){!0===this._options.debug&&this._log("emitEvent","An event with a "+(!0===e?"positive":"negative")+" detection was called");var t=this._var.event[!0===e?"detected":"notDetected"];for(var i in t)!0===this._options.debug&&this._log("emitEvent","Call function "+(parseInt(i)+1)+"/"+t.length),t.hasOwnProperty(i)&&t[i]();return!0===this._options.resetOnEnd&&this.clearEvent(),this},e.prototype.clearEvent=function(){this._var.event.detected=[],this._var.event.notDetected=[],!0===this._options.debug&&this._log("clearEvent","The event list has been cleared")},e.prototype.on=function(e,t){return this._var.event[!0===e?"detected":"notDetected"].push(t),!0===this._options.debug&&this._log("on",'A type of event "'+(!0===e?"detected":"notDetected")+'" was added'),this},e.prototype.onDetected=function(e){return this.on(!0,e)},e.prototype.onNotDetected=function(e){return this.on(!1,e)},a.FuckAdBlock=e,void 0===a.fuckAdBlock&&(a.fuckAdBlock=new e({checkOnLoad:!0,resetOnEnd:!0}))}(window);