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,EAAQ+I,GAAmB,OAAOA,EACtC,MAAM,IAAI9E,UAAU,+CACtB,CACA,OAA4B+E,OAAiBL,EAC/C,CDPY,CAAYhQ,GACE,WAAjBqH,EAAQtH,GAAoBA,EAAMsQ,OAAOtQ,IDGegQ,EAC/D,CCNa,IAAwB/P,EACjCD,CDMN,cGwBA,QAjCMuQ,WACJ,WAAYC,ICDC,SAAyB1U,EAAU2U,GAChD,KAAM3U,aAAoB2U,GACxB,MAAM,IAAIlF,UAAU,oCAExB,CDHqB,SACjBpQ,EAAEZ,QAAQa,GAAG,gBAAiBP,KAAMA,KAAK6V,QACzCvV,EAAEZ,QAAQa,GAAG,qBAAsBP,KAAMA,KAAK8V,YAC/C,CHMY,IAAsBF,EAAaG,SAAbH,KAAaG,4BGJhD,SAAYtT,EAAOT,GACb1B,EAAE,IAAM0B,EAASgU,KAAKrO,SAAS,SAGnC3F,EAASzB,GAAG,2BAA2B,SAAUkC,GAC/C,IAAIwT,EAAQ/R,SAASgS,eAAelW,KAAKgW,KACrCG,EAAanW,KAAKoW,KAAKD,WAY3BE,qBAAqBnW,KAAKoW,OAAQH,EAAYF,EAVjC,CACXM,KAAM,SACNC,OAAQ,UACRC,OAAQ,cACRC,QAAS,cACTC,QAAS,IACTC,QAAS,MAMXN,OAAOO,IAAIC,SAASC,sCAAqC,EAC1D,IAEDzW,EAAE,IAAM0B,EAASgU,KAAKtU,SAAS,OAChC,MHnBeuT,EAAkBW,EAAY9I,UAAWiJ,GAEzDlJ,OAAOI,eAAe2I,EAAa,YAAa,CAC9C7H,UAAU,MGdR2H,gBEWN,IAAIA,GAEJ,IAAIsB,MAAU9W,OAEdI,GAAE,WAAc","sources":["webpack://essence_site/./wp/wp-content/themes/pubstack/assets/js/utils/script-loaded.js","webpack://essence_site/./wp/wp-content/themes/pubstack/assets/js/video-jw.js","webpack://essence_site/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://essence_site/./wp/wp-content/themes/pubstack/assets/tvguide.js","webpack://essence_site/./wp/wp-content/themes/pubstack/assets/js/blocks/tv-guide.js","webpack://essence_site/external var \"jQuery\"","webpack://essence_site/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js","webpack://essence_site/./node_modules/@babel/runtime/helpers/typeof.js","webpack://essence_site/./node_modules/@babel/runtime/regenerator/index.js","webpack://essence_site/webpack/bootstrap","webpack://essence_site/webpack/runtime/compat get default export","webpack://essence_site/webpack/runtime/define property getters","webpack://essence_site/webpack/runtime/hasOwnProperty shorthand","webpack://essence_site/webpack/runtime/make namespace object","webpack://essence_site/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://essence_site/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://essence_site/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://essence_site/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://essence_site/./wp/wp-content/themes/pubstack/assets/js/ads/ias-video.js","webpack://essence_site/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://essence_site/./wp/wp-content/themes/filmfestival/assets/footer.js"],"sourcesContent":["// Callback on script loaded\nexport default function extScriptLoaded(test, fn) {\n const callbackTimer = setInterval(function () {\n let call = false;\n try {\n call = test.call();\n } catch (e) {}\n\n if (call) {\n clearInterval(callbackTimer);\n fn.call();\n }\n }, 100);\n}\n","/**\n * JWPlayer\n *\n **/\n\nconst { default: extScriptLoaded } = require(\"./utils/script-loaded\");\n\nwindow.is_essence_video_playing = false;\nwindow.essence_video_currently_playing = false;\nwindow.essence_video_in_view = null;\n\nfunction VideoJw() {\n this.observer = null;\n this.init = function () {\n extScriptLoaded(\n () => typeof jwplayer !== \"undefined\",\n () => {\n this.setupPlayers();\n this.initObserver();\n $(window).on(\"jw:loadplayers\", this, this.loadPlayers);\n $(window).on(\"jw:loadplayers\", this, this.observeNewPlayers);\n\n $(window).trigger(\"jw:loadplayers\");\n }\n );\n };\n\n this.setupPlayers = () => {\n while (typeof (i = jwplayerQueue.shift()) !== \"undefined\") {\n const { instanceId, playerId, config } = i;\n const instance = jwplayer(playerId).setup(config);\n if (instanceId) {\n window[instanceId] = instance;\n }\n }\n };\n\n this.initObserver = () => {\n this.observer = new IntersectionObserver(\n (entries, observer) => {\n entries.forEach((entry) => {\n const $videoBox = $(entry.target);\n const player_id = $videoBox.addClass(\"played\").data(\"video\");\n\n if (!entry.isIntersecting) {\n // Out of view. Enable floating of the current playing video.\n if (window.essence_video_currently_playing === player_id) {\n const myPlayer = window[\"playerInstance_\" + player_id];\n if (myPlayer) {\n myPlayer.setFloating(true);\n }\n }\n\n // Remove the video from the in-view list\n if (window.essence_video_in_view === player_id) {\n window.essence_video_in_view = null;\n }\n } else if (entry.intersectionRatio > 0) {\n const myPlayer = window[\"playerInstance_\" + player_id];\n // In view. Disable floating.\n myPlayer.setFloating(false);\n\n // Store the video currently in view\n window.essence_video_in_view = player_id;\n\n // Check if no one else is playing or is forced to play.\n if (\n $videoBox.attr(\"force-autoplay\") ||\n !window.is_essence_video_playing\n ) {\n // Autoplay the new video\n const myPlayer = window[\"playerInstance_\" + player_id];\n if (myPlayer) {\n myPlayer.play();\n }\n }\n }\n });\n },\n { threshold: 0.5 }\n );\n };\n\n this.observeNewPlayers = () => {\n if (!this.observer) {\n this.initObserver();\n }\n $(\".jw-video-box\")\n .not(\".observed\")\n .each((index, box) => {\n this.observer.observe(box);\n $(box).addClass(\"observed\");\n });\n };\n\n this.onPlay = (player_id, event) => {\n // Check if user clicked play.\n if (event.playReason === \"interaction\") {\n // Stop the existing autoplay/pip\n if (\n window.essence_video_currently_playing &&\n window.essence_video_currently_playing !== player_id\n ) {\n const oldPlayer =\n window[\"playerInstance_\" + window.essence_video_currently_playing];\n oldPlayer.pause();\n // Force to disable floating.\n oldPlayer.setFloating(false);\n }\n }\n\n window.is_essence_video_playing = true;\n window.essence_video_currently_playing = player_id;\n };\n\n this.onStop = (player_id, paused = false) => {\n if (window.essence_video_currently_playing === player_id) {\n window.essence_video_currently_playing = null;\n window.is_essence_video_playing = false;\n\n // When video is paused, if another video is already in view, play it.\n // Because at this point, intersection observer is not triggered.\n if (\n paused &&\n window.essence_video_in_view &&\n window.essence_video_in_view !== player_id\n ) {\n const playerInView =\n window[\"playerInstance_\" + window.essence_video_in_view];\n playerInView.play();\n }\n }\n };\n\n this.loadPlayers = () => {\n if (typeof jwplayer === \"undefined\") {\n return;\n }\n\n this.setupPlayers();\n\n const instance = this;\n\n $(\".jw-video-box\")\n .not(\".loaded\")\n .each(function (index, box) {\n const player_id = $(box).data(\"video\");\n const myPlayer = window[\"playerInstance_\" + player_id];\n\n if (!myPlayer) {\n return;\n }\n\n myPlayer.on(\"play\", function (event) {\n instance.onPlay(player_id, event);\n });\n\n myPlayer.on(\"adPlay\", function (event) {\n instance.onPlay(player_id, event);\n });\n\n myPlayer.on(\"pause\", function (event) {\n instance.onStop(player_id, true);\n });\n myPlayer.on(\"adPause\", function (event) {\n instance.onStop(player_id, true);\n });\n\n // Completing a PiP video does not close the PiP window\n // Completing a non-PiP video negates the PiP for that video from opening\n myPlayer.on(\"complete\", function (event) {\n if (!this.getFloating()) {\n instance.onStop(player_id);\n }\n });\n myPlayer.on(\"adComplete\", function (event) {\n if (!this.getFloating()) {\n instance.onStop(player_id);\n }\n });\n\n // with error\n myPlayer.on(\"error\", function (event) {\n if (!this.getFloating()) {\n instance.onStop(player_id);\n }\n });\n myPlayer.on(\"adError\", function (event) {\n if (!this.getFloating()) {\n instance.onStop(player_id);\n }\n });\n\n if ($(box).closest(\".article__media\").length) {\n const $article = $(box).closest(\".article\");\n myPlayer.on(\"captionsList\", (event) => {\n $article.find(\".article__scripts\").remove();\n // Check that we have a valid transcript file before showing iframe\n if (\"tracks\" in event && \"id\" in event[\"tracks\"][1]) {\n const captions_url = event[\"tracks\"][1][\"id\"];\n if (captions_url.endsWith(\".srt\")) {\n const html = `
\n\t\t\t\t\t\t\t\t
Transcript
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
`;\n $article.find(\".article__tags\").before(html);\n }\n }\n });\n }\n\n // On pip close, pause the video.\n $(box).on(\"click\", \".jw-float-icon\", function () {\n myPlayer.pauseAd(true);\n myPlayer.pause();\n instance.onStop(player_id);\n });\n\n $(window).trigger(\"ad:ias:playeradded\", [myPlayer]);\n $(window).trigger(`video_loaded_${player_id}`, [myPlayer]);\n $(box).addClass(\"loaded\");\n });\n\n // promo custom video auto scroll play\n if ($(\".essence-video-promo .essence-video-promo__custom-video\").length) {\n $(\".essence-video-promo .essence-video-promo__custom-video iframe\").each(\n function () {\n var iframeSrc = $(this).attr(\"src\");\n var iframeSrcArr = iframeSrc.split(\"&\");\n\n var iframeSrc = \"\";\n var index = 0;\n for (index = 0; index < iframeSrcArr.length; index++) {\n if (\n iframeSrcArr[index] !== \"autoplay\" &&\n iframeSrcArr[index] !== \"muted\"\n ) {\n iframeSrc += iframeSrcArr[index];\n iframeSrc += \"&\";\n }\n }\n\n iframeSrc = iframeSrc.substr(0, iframeSrc.length - 1);\n\n var iframeSrcAutoPlay = iframeSrc + \"&muted&autoplay\";\n\n var checkVideoPlaying = false;\n\n var windowHeight =\n window.innerHeight ||\n document.documentElement.clientHeight ||\n document.body.clientHeight;\n var self = this;\n jQuery(window).on(\n \"scroll\",\n essThrottle(function () {\n if (\n $(window).scrollTop() >= $(self).offset().top - windowHeight &&\n $(window).scrollTop() <=\n $(self).offset().top + $(self).outerHeight()\n ) {\n if (!checkVideoPlaying) {\n $(self).attr(\"src\", iframeSrcAutoPlay);\n checkVideoPlaying = true;\n }\n } else {\n if (checkVideoPlaying) {\n $(self).attr(\"src\", iframeSrc);\n checkVideoPlaying = false;\n }\n }\n })\n );\n }\n );\n }\n };\n}\n\nmodule.exports = VideoJw;\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","/**\n * Functionality to power the automatic and manual injection of editorial\n * defined widgets into the body of content.\n *\n * This is the file that Webpack is compiling into injector.[hash].js\n */\n\nimport \"./sass/tvguide.scss\";\nimport tvGuide from \"./js/blocks/tv-guide\";\n$(function () {\n tvGuide();\n});\n","function tvGuide() {\n if (!$(\".tv-guide-module\").length) {\n return;\n }\n\n var playerInstance;\n var fullscreenMode = false;\n\n /** Timeline Swiper */\n $(\".time-slider-swiper\").each((index, el) => {\n const $container = $(el).closest(\".schedule-channels-slider\");\n const $tracksToSync = $container.find(\n \".video-slider-row, .current-time-indicator-track\"\n );\n\n const timeSlider = new Swiper(el, {\n slidesPerView: \"auto\",\n navigation: {\n nextEl: $container.find(\".swiper-button-next\")[0],\n prevEl: $container.find(\".swiper-button-prev\")[0],\n },\n });\n\n timeSlider.on(\"setTranslate\", function onSliderMove() {\n $tracksToSync.css({ \"margin-left\": `${this.translate}px` });\n });\n });\n\n const calcTimeIndicatorPos = () => {\n $(\".current-time-indicator\").each((index, el) => {\n // Calculate the time difference between browser time now and timelineStart\n const timelineStart = $(el)\n .closest(\".schedule-tabcontent\")\n .find(\"#timeline_start\")\n .val(); // e.g. 2023-06-29T13:00:00Z\n const start = new Date(timelineStart);\n const now = new Date();\n\n const diff = now - start;\n if (diff < 0) {\n return;\n }\n\n const diffMinutes = Math.floor(diff / 1000 / 60);\n const totalMinutes =\n $(el).closest(\".schedule-container\").data(\"slotcount\") * 60; // X hours\n\n const percent = (diffMinutes / totalMinutes) * 100;\n\n // Position the Current time indicator\n $(el).css(\"left\", `${percent}%`).show();\n });\n };\n\n /** Current time indicator on the timeline */\n if ($(\".current-time-indicator\").length) {\n calcTimeIndicatorPos();\n setInterval(calcTimeIndicatorPos, 1000 * 60); // Update every minute\n }\n\n /** Resize TV Guide Main video player */\n function resizeTVGuide() {\n let new_width;\n\n if ($(window).width() < 768) {\n // Below 768px: Keep the video width full. It's fine to overflow browser height.\n new_width = window.innerWidth;\n } else {\n // Keep everything within the viewport.\n let max_height = window.innerHeight;\n if (!fullscreenMode && $(\".site-header\").length) {\n max_height = max_height - $(\".site-header\").outerHeight(true);\n }\n max_height = max_height - $(\".tv-guide-module__header\").outerHeight(true);\n max_height = max_height - $(\".schedules\").outerHeight(true);\n max_height = max_height - $(\".tv-guide-module__footer\").outerHeight(true);\n new_width = max_height * (16 / 9) + 40; // Padding 40px\n }\n\n $(\".video-container\").css(\"max-width\", `${new_width}px`);\n\n if ($(\".tv-guide-module-inner\").hasClass(\"video-active\")) {\n $(\".schedules .tv-guide-module__container\").css(\n \"max-width\",\n `${new_width}px`\n );\n } else {\n $(\".schedules .tv-guide-module__container\").css(\"max-width\", \"\");\n }\n }\n resizeTVGuide();\n\n function startVideoPlayback() {\n // Play the video on the cover click.\n $(\".tv-guide__video-overlay\").on(\"click\", function (e) {\n e.preventDefault();\n $(\".tv-guide__video\").addClass(\"active\");\n if (playerInstance) {\n playerInstance.play();\n }\n });\n }\n\n const updateFullScreenMode = (isFullScreen) => {\n fullscreenMode = isFullScreen;\n $(\"html\").toggleClass(\"tv-guide-fullscreen\", fullscreenMode);\n };\n\n $(\".schedules-toggle\").on(\"click\", function () {\n updateFullScreenMode(true);\n\n // Check if TV Guide is showing the main video or the schedules tabs.\n if (!$(\".tv-guide-module-inner\").hasClass(\"schedule-active\")) {\n $(\".schedules-toggle\").text(\"Hide Program Guide\");\n\n $(\".tv-guide-module-inner\").addClass(\"schedule-active\");\n $(\".tv-guide-module-inner\").removeClass(\"video-active\");\n\n // Scroll to top of the section.\n $(\"html, body\").animate(\n {\n scrollTop:\n $(\".tv-guide-module\").offset().top - $(\".site-header\").height(),\n },\n 300\n );\n } else {\n $(\".schedules-toggle\").text(\"See Program Guide\");\n $(\".tv-guide-module-inner\").removeClass(\"schedule-active\");\n $(\".tv-guide-module-inner\").addClass(\"video-active\");\n }\n resizeTVGuide();\n });\n\n $(\".schedules-header a\").on(\"click\", function () {\n const $this = $(this);\n\n // Skip if the tab is already active.\n if ($this.hasClass(\"active\")) {\n return;\n }\n\n // Update active classes of tab.\n $(\".schedules-header a.active\").removeClass(\"active\");\n $this.addClass(\"active\");\n\n // Update active classes of tab content.\n $(\".schedule-tabcontent\").removeClass(\"active\");\n $($this.data(\"target\")).addClass(\"active\");\n });\n\n let efocResizeTimer = 0;\n $(window).on(\"resize\", function () {\n if ($(\".tv-guide-module-inner\").hasClass(\"video-active\")) {\n clearTimeout(efocResizeTimer);\n efocResizeTimer = setTimeout(() => {\n resizeTVGuide();\n }, 100);\n }\n });\n\n // Live channel init\n function loadJWPlayer(mediaId, channelId, playerId, muted) {\n const VOD_CONFIG = {\n pid: playerId,\n playlist: `https://cdn.jwplayer.com/v2/media/${mediaId}`,\n repeat: false,\n autostart: true,\n mute: muted,\n aspectratio: \"16:9\",\n sharing: { sites: [\"facebook\", \"twitter\", \"email\", \"linkedin\"] },\n floating: false,\n interactive: {},\n advertising: false,\n };\n\n const UPDATE_FREQUENCY = 10 * 1e3;\n const LIVESTREAM_COMPLETE_ERROR = 230001;\n const HLS_BUFFER_STALL_WARNING = 334001;\n const MAX_RETRIES = 3;\n\n let currentEventId;\n let intervalId;\n\n playerInstance = jwplayer(\"tv-guide-video-player\").setup(VOD_CONFIG);\n checkChannelStatus();\n\n // Catch video player completions\n playerInstance.on(\"complete\", handleLivestreamFinished); // VOD, just in case\n playerInstance.on(\"playlistComplete\", handleLivestreamFinished); // Live\n\n playerInstance.on(\"error\", (error) => {\n if (playerInstance.getPlaylistItem().mediaid !== currentEventId) {\n return;\n }\n if (error.code === LIVESTREAM_COMPLETE_ERROR) {\n handleLivestreamFinished();\n }\n });\n\n playerInstance.on(\"warning\", (warn) => {\n if (playerInstance.getPlaylistItem().mediaid !== currentEventId) {\n return;\n }\n if (warn.code === HLS_BUFFER_STALL_WARNING) {\n handleLivestreamFinished();\n }\n });\n\n function checkChannelStatus() {\n if (!intervalId) {\n intervalId = setInterval(checkChannelStatus, UPDATE_FREQUENCY);\n }\n getChannelStatus(channelId).then(\n (channelStatus) => {\n if (channelStatus[\"status\"] === \"active\") {\n const eventId = channelStatus[\"current_event\"];\n if (currentEventId === eventId) {\n return;\n }\n currentEventId = eventId;\n intervalId = clearInterval(intervalId);\n configurePlayer(eventId).catch((error) => {});\n }\n },\n (error) => {\n intervalId = clearInterval(intervalId);\n }\n );\n }\n\n async function configurePlayer(eventId) {\n let playlist;\n let attempts = 0;\n\n while (!playlist) {\n try {\n playlist = await getPlaylist(eventId);\n } catch (e) {\n ++attempts;\n if (attempts >= MAX_RETRIES) {\n playlist = {\n playlist: [\n {\n mediaid: eventId,\n file: `https://cdn.jwplayer.com/live/events/${eventId}.m3u8`,\n },\n ],\n };\n break;\n }\n await sleep(2 ** (attempts - 1) * 5 * 1000);\n }\n }\n\n playerInstance.setConfig({\n repeat: false,\n });\n playerInstance.load(playlist.playlist);\n playerInstance.play();\n\n // Show Live Indicator for the TV Guide.\n $(\".tv-guide-module\").addClass(\"tv-guide-module--live\");\n }\n\n async function fetchJSON(url, init) {\n return await fetch(url, init).then((response) => {\n if (!response.ok) {\n throw new Error(`Unable to fetch ${url}: ${response.statusText}`);\n }\n return response.json();\n });\n }\n function getChannelStatus(channelId) {\n return fetchJSON(\n `https://cdn.jwplayer.com/live/channels/${channelId}.json`\n );\n }\n\n function getPlaylist(mediaId) {\n return fetchJSON(`https://cdn.jwplayer.com/v2/media/${mediaId}`, {\n cache: \"no-cache\",\n });\n }\n\n function sleep(ms) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n }\n }\n\n function loadJWPlayerVideo() {\n const videoID = $('input[name=\"video_id\"]').val();\n const liveChannelID = $('input[name=\"live_channel_id\"]').val();\n const playerId = $('input[name=\"player_id\"]').val();\n loadJWPlayer(videoID, liveChannelID, playerId, true);\n }\n loadJWPlayerVideo();\n\n // Automatically respond to video ID changes\n $('input[name=\"video_id\"]').on(\"change\", function () {\n const videoID = $('input[name=\"video_id\"]').val();\n const liveChannelID = $('input[name=\"live_channel_id\"]').val();\n const playerId = $('input[name=\"player_id\"]').val();\n loadJWPlayer(videoID, liveChannelID, playerId, false);\n });\n\n function handleLivestreamFinished() {\n let videoID;\n let liveChannelID;\n\n // Remove Live Indicator for the TV Guide.\n $(\".tv-guide-module\").removeClass(\"tv-guide-module--live\");\n\n // get and play the next live show for this player instance.\n $.ajax({\n url: pubstack.ajaxUrl,\n method: \"POST\",\n dataType: \"JSON\",\n async: false,\n data: {\n action: \"get_current_live_schedule\",\n post_id: pubstack.postID,\n },\n }).done((response) => {\n if (response && response.channel_id) {\n liveChannelID = response.channel_id;\n videoID = response.video_id;\n }\n });\n\n if (!videoID || !liveChannelID) {\n // Something could be wrong. Play the first video of the schedule anyways.\n liveChannelID = $(\".video-slide-col\")\n .first()\n .find(\".jw_channel_id\")\n .val();\n videoID = $(\".video-slide-col\").first().find(\".segment_video_id\").val();\n }\n\n startVideoPlayback();\n }\n\n // Click function which detects the requested video and channel ID and starts playing.\n $(\".watch-video-trigger\").on(\"click\", function () {\n let segmentVideoID = $(this).data(\"video_id\"),\n segmentChannelID = $(this).data(\"channelid\");\n\n $(\".tv-guide__video div.player-wrapper\").attr(\n \"id\",\n \"tv-guide-video-player\"\n );\n $('input[name=\"video_id\"]').val(segmentVideoID).change();\n $('input[name=\"live_channel_id\"]').val(segmentChannelID).change();\n\n startVideoPlayback();\n $(\".schedules-toggle\").trigger(\"click\");\n });\n\n $(\".return-to-site\").on(\"click\", function () {\n if (false !== $(\".tv-guide-module-inner\").hasClass(\"schedule-active\")) {\n $(\".schedules-toggle\").trigger(\"click\");\n }\n\n updateFullScreenMode(false);\n resizeTVGuide();\n });\n}\n\nexport default tvGuide;\n","module.exports = jQuery;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n defineProperty = Object.defineProperty || function (obj, key, desc) {\n obj[key] = desc.value;\n },\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return defineProperty(generator, \"_invoke\", {\n value: makeInvokeMethod(innerFn, self, context)\n }), generator;\n }\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n exports.wrap = wrap;\n var ContinueSentinel = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n reject(record.arg);\n }\n var previousPromise;\n defineProperty(this, \"_invoke\", {\n value: function value(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method,\n method = delegate.iterator[methodName];\n if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n return next.value = undefined, next.done = !0, next;\n };\n return next.next = next;\n }\n }\n return {\n next: doneResult\n };\n }\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (val) {\n var object = Object(val),\n keys = [];\n for (var key in object) keys.push(key);\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// TODO(Babel 8): Remove this file.\n\nvar runtime = require(\"../helpers/regeneratorRuntime\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","class IasVideo {\n constructor(field) {\n $(window).on(\"ad:ias:update\", this, this.update);\n $(window).on(\"ad:ias:playeradded\", this, this.playerAdded);\n }\n\n playerAdded(event, myPlayer) {\n if ($(\"#\" + myPlayer.id_).hasClass(\"ias\")) {\n return;\n }\n myPlayer.on(\"ima3-ads-manager-loaded\", function (event) {\n let video = document.getElementById(this.id_);\n let adsManager = this.ima3.adsManager;\n\n let config = {\n anId: \"929481\",\n campId: \"1000x1v\",\n chanId: \"21700271609\",\n ias_xps: \"clicktoplay\",\n ias_xbp: \"1\",\n ias_xar: \"0\",\n };\n\n // Init IAS Integration\n googleImaVansAdapter.init(google, adsManager, video, config);\n\n google.ima.settings.setDisableCustomPlaybackForIOS10Plus(true);\n });\n\n $(\"#\" + myPlayer.id_).addClass(\"ias\");\n }\n}\n\nexport default IasVideo;\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","/**\n * All global frontend scripts required should be included here.\n *\n * This is the file that Webpack is compiling into main.[hash].js\n */\n\nimport \"../../pubstack/assets/tvguide\"; // Load before footer scss\nimport \"./sass/footer.scss\";\n\nimport VideoJw from \"../../pubstack/assets/js/video-jw\";\nimport IasVideo from \"../../pubstack/assets/js/ads/ias-video\";\nnew IasVideo();\n\nnew VideoJw().init();\n\n$(function () {});\n"],"names":["extScriptLoaded","test","fn","callbackTimer","setInterval","call","e","clearInterval","require","default","window","is_essence_video_playing","essence_video_currently_playing","essence_video_in_view","module","exports","this","observer","init","jwplayer","setupPlayers","initObserver","$","on","loadPlayers","observeNewPlayers","trigger","i","jwplayerQueue","shift","instanceId","playerId","config","instance","setup","IntersectionObserver","entries","forEach","entry","$videoBox","target","player_id","addClass","data","isIntersecting","intersectionRatio","setFloating","attr","myPlayer","play","threshold","not","each","index","box","observe","onPlay","event","playReason","oldPlayer","pause","onStop","paused","getFloating","closest","length","$article","find","remove","captions_url","endsWith","html","before","pauseAd","iframeSrcArr","iframeSrc","split","iframeSrcAutoPlay","substr","checkVideoPlaying","windowHeight","innerHeight","document","documentElement","clientHeight","body","self","jQuery","essThrottle","scrollTop","offset","top","outerHeight","asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","args","arguments","apply","err","undefined","playerInstance","fullscreenMode","el","$container","$tracksToSync","Swiper","slidesPerView","navigation","nextEl","prevEl","css","translate","calcTimeIndicatorPos","timelineStart","val","start","Date","diff","percent","Math","floor","show","resizeTVGuide","updateFullScreenMode","isFullScreen","toggleClass","hasClass","text","removeClass","animate","height","$this","efocResizeTimer","clearTimeout","setTimeout","loadJWPlayer","segmentVideoID","segmentChannelID","change","startVideoPlayback","new_width","width","innerWidth","max_height","preventDefault","mediaId","channelId","muted","currentEventId","intervalId","VOD_CONFIG","pid","playlist","repeat","autostart","mute","aspectratio","sharing","sites","floating","interactive","advertising","eventId","attempts","getPlaylist","mediaid","file","sleep","setConfig","load","fetchJSON","url","fetch","response","ok","Error","statusText","json","cache","ms","checkChannelStatus","getChannelStatus","channelStatus","configurePlayer","catch","handleLivestreamFinished","getPlaylistItem","code","warn","videoID","liveChannelID","ajax","pubstack","ajaxUrl","method","dataType","async","action","post_id","postID","channel_id","video_id","first","tvGuide","_typeof","_regeneratorRuntime","__esModule","Op","Object","prototype","hasOwn","hasOwnProperty","defineProperty","obj","desc","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","type","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","_invoke","AsyncIterator","PromiseImpl","invoke","record","result","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","state","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","methodName","TypeError","resultName","next","nextLoc","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","doneResult","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","runtime","regeneratorRuntime","accidentalStrictMode","globalThis","Function","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","d","a","definition","o","get","prop","r","_defineProperties","props","descriptor","input","hint","prim","toPrimitive","res","String","IasVideo","field","Constructor","update","playerAdded","protoProps","id_","video","getElementById","adsManager","ima3","googleImaVansAdapter","google","anId","campId","chanId","ias_xps","ias_xbp","ias_xar","ima","settings","setDisableCustomPlaybackForIOS10Plus","VideoJw"],"sourceRoot":""}