@viewlift/player-backup 2.0.229-backup → 2.0.231-backup
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{@viewlift/player-backup/cjs/autoNextVideo-a96d73b9.js → cjs/autoNextVideo-7d7ab3d1.js} +1 -1
- package/{@viewlift/player/esm → cjs}/bundle.css +559 -559
- package/{@viewlift/player-backup/cjs/features-e0b20fb8.js → cjs/features-2de8aac9.js} +1 -1
- package/{@viewlift/player-backup/cjs/generic-6a2ba5db.js → cjs/generic-1b82ec6f.js} +1 -1
- package/{@viewlift/player-backup/cjs/index-f7a6741b.js → cjs/index-1fcf5f9b.js} +1 -1
- package/{@viewlift/player/cjs/index-f292ad41.js → cjs/index-47740d12.js} +1 -1
- package/{@viewlift/player-backup/cjs/index-3eef2a22.js → cjs/index-47928a86.js} +1 -1
- package/{@viewlift/player-backup/cjs → cjs}/index.js +1 -1
- package/{@viewlift/player-backup/cjs/multicamv2-c83f7ed2.js → cjs/multicamv2-09024455.js} +1 -1
- package/{@viewlift/player/cjs/multicamv2-62765979.js → cjs/multicamv2-d7d7ea94.js} +1 -1
- package/{@viewlift/player/cjs/nextEpisodeButton-82932303.js → cjs/nextEpisodeButton-8602ebca.js} +1 -1
- package/{@viewlift/player-backup/cjs/playlist-dd9bd2bd.js → cjs/playlist-e84aed86.js} +1 -1
- package/{@viewlift/player-backup/cjs/series-55942b92.js → cjs/series-8ae3ffe0.js} +1 -1
- package/{@viewlift/player-backup/cjs/series-v2-a6f4b9b9.js → cjs/series-v2-a5b7993e.js} +1 -1
- package/{@viewlift/player/cjs/series-v2-a80f7f84.js → cjs/series-v2-d6c6b7dd.js} +1 -1
- package/{@viewlift/player-backup/cjs/skin-158708bd.js → cjs/skin-02eb7456.js} +1 -1
- package/{@viewlift/player-backup/cjs/skin-e7fc7639.js → cjs/skin-1cab5b19.js} +1 -1
- package/{@viewlift/player-backup/cjs/skin-5e45a3fc.js → cjs/skin-271984a0.js} +1 -1
- package/{@viewlift/player-backup/cjs/skin-5cd92b41.js → cjs/skin-43e92429.js} +1 -1
- package/{@viewlift/player-backup/cjs/skin-adabac44.js → cjs/skin-bdb40384.js} +1 -1
- package/{@viewlift/player/cjs/skin-3da27707.js → cjs/skin-d144630c.js} +1 -1
- package/{@viewlift/player-backup/cjs/skin-6c0442c4.js → cjs/skin-dad5728b.js} +1 -1
- package/{@viewlift/player/cjs/skin-7791bfcc.js → cjs/skin-ee0adfc1.js} +1 -1
- package/{@viewlift/player-backup/cjs/skin-b90d17c5.js → cjs/skin-fa0f019a.js} +1 -1
- package/{@viewlift/player/cjs/util-7bd5a6bc.js → cjs/util-ec7d2fb9.js} +1 -1
- package/{@viewlift/player-backup/cjs/videoSelector-bdd3458b.js → cjs/videoSelector-632e0634.js} +1 -1
- package/{@viewlift/player/cjs/videoSelector-b63e0a55.js → cjs/videoSelector-cbb4fd7e.js} +1 -1
- package/{@viewlift/player-backup/esm/autoNextVideo-1c43df3b.js → esm/autoNextVideo-18708ace.js} +1 -1
- package/{@viewlift/player-backup/cjs → esm}/bundle.css +701 -701
- package/{@viewlift/player/esm/features-14645d28.js → esm/features-778a7117.js} +1 -1
- package/{@viewlift/player-backup/esm/generic-749be534.js → esm/generic-d3cb033f.js} +1 -1
- package/{@viewlift/player/esm/index-962adc0f.js → esm/index-3ef2827d.js} +1 -1
- package/{@viewlift/player/esm/index-b68f3de7.js → esm/index-d485bd0c.js} +1 -1
- package/{@viewlift/player/esm/index-2feba524.js → esm/index-fb68a3fc.js} +1 -1
- package/{@viewlift/player-backup/esm → esm}/index.js +1 -1
- package/{@viewlift/player/esm/multicamv2-71497045.js → esm/multicamv2-5f6ae02a.js} +1 -1
- package/{@viewlift/player/esm/multicamv2-4f51caf2.js → esm/multicamv2-a442705f.js} +1 -1
- package/{@viewlift/player-backup/esm/nextEpisodeButton-7dd08b7a.js → esm/nextEpisodeButton-0f62df3c.js} +1 -1
- package/{@viewlift/player/esm/playlist-495143be.js → esm/playlist-c4e41393.js} +1 -1
- package/{@viewlift/player-backup/esm/series-9cd0ff8f.js → esm/series-41530aa2.js} +1 -1
- package/{@viewlift/player/esm/series-v2-dc3b2cc0.js → esm/series-v2-7cb7da9b.js} +1 -1
- package/{@viewlift/player-backup/esm/series-v2-4672090b.js → esm/series-v2-ff0cb000.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-bbb8d8ac.js → esm/skin-1e085eaa.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-755ef0cf.js → esm/skin-42edfeef.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-f927be29.js → esm/skin-5acbd983.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-996aec07.js → esm/skin-6208ab0e.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-21d3ed15.js → esm/skin-69bd0539.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-aa1f01a4.js → esm/skin-87a6ca51.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-e665cba3.js → esm/skin-a832d373.js} +1 -1
- package/{@viewlift/player-backup/esm/skin-8efd151b.js → esm/skin-d5efcc88.js} +1 -1
- package/{@viewlift/player/esm/skin-e36f960c.js → esm/skin-fa248c90.js} +1 -1
- package/{@viewlift/player-backup/esm/util-cee0891f.js → esm/util-4e79be1c.js} +1 -1
- package/{@viewlift/player/esm/videoSelector-7ec3b7b4.js → esm/videoSelector-2691356b.js} +1 -1
- package/{@viewlift/player/esm/videoSelector-c49f57b3.js → esm/videoSelector-4d07e059.js} +1 -1
- package/package.json +21 -56
- package/@viewlift/player/cjs/autoNextVideo-aebb5b86.js +0 -1
- package/@viewlift/player/cjs/bundle.css +0 -2830
- package/@viewlift/player/cjs/caption-settings-34ca0188.js +0 -1
- package/@viewlift/player/cjs/caption-settings-d1eb3bf6.js +0 -1
- package/@viewlift/player/cjs/captions-dbc83a75.js +0 -1
- package/@viewlift/player/cjs/chromett-f925fb6c.js +0 -1
- package/@viewlift/player/cjs/currentVideoInfo-31d70bec.js +0 -1
- package/@viewlift/player/cjs/error-26d5a3c3.js +0 -1
- package/@viewlift/player/cjs/features-7c91a868.js +0 -1
- package/@viewlift/player/cjs/generic-5bea38c9.js +0 -1
- package/@viewlift/player/cjs/helper-a50a8ffc.js +0 -1
- package/@viewlift/player/cjs/icons-2609dbe4.js +0 -1
- package/@viewlift/player/cjs/index-3f0e537b.js +0 -1
- package/@viewlift/player/cjs/index-4905764c.js +0 -1
- package/@viewlift/player/cjs/index-a3e9c3fa.js +0 -1
- package/@viewlift/player/cjs/index-dc27b685.js +0 -1
- package/@viewlift/player/cjs/index.js +0 -1
- package/@viewlift/player/cjs/localisation-56e0a999.js +0 -1
- package/@viewlift/player/cjs/multicamv2-1efdbdb9.js +0 -1
- package/@viewlift/player/cjs/multicamv2-7a86b517.js +0 -1
- package/@viewlift/player/cjs/multicamv2-9b055a51.js +0 -1
- package/@viewlift/player/cjs/nextEpisodeButton-b6e6586f.js +0 -1
- package/@viewlift/player/cjs/player_instance-fcf6a8fb.js +0 -1
- package/@viewlift/player/cjs/playlist-1d71412d.js +0 -1
- package/@viewlift/player/cjs/playlist-df87ca90.js +0 -1
- package/@viewlift/player/cjs/resolution-f9dcc1b4.js +0 -1
- package/@viewlift/player/cjs/resolution-v2-e42e0101.js +0 -1
- package/@viewlift/player/cjs/series-9c237975.js +0 -1
- package/@viewlift/player/cjs/series-adbda303.js +0 -1
- package/@viewlift/player/cjs/series-v2-2105fd89.js +0 -1
- package/@viewlift/player/cjs/series-v2-8440f095.js +0 -1
- package/@viewlift/player/cjs/series-v2-e037e14e.js +0 -1
- package/@viewlift/player/cjs/settings-icon-8d364c01.js +0 -1
- package/@viewlift/player/cjs/settings-icon-b43f4406.js +0 -1
- package/@viewlift/player/cjs/skin-033b83d4.js +0 -1
- package/@viewlift/player/cjs/skin-225252ff.js +0 -1
- package/@viewlift/player/cjs/skin-37b25d7d.js +0 -1
- package/@viewlift/player/cjs/skin-38de8257.js +0 -1
- package/@viewlift/player/cjs/skin-49515c15.js +0 -1
- package/@viewlift/player/cjs/skin-5eee1389.js +0 -1
- package/@viewlift/player/cjs/skin-6c9a5185.js +0 -1
- package/@viewlift/player/cjs/skin-ba38afdb.js +0 -1
- package/@viewlift/player/cjs/skin-ddeeaf13.js +0 -1
- package/@viewlift/player/cjs/skin-eb0ecb8c.js +0 -1
- package/@viewlift/player/cjs/skin-f5e18b89.js +0 -1
- package/@viewlift/player/cjs/skin-fc1e7e52.js +0 -1
- package/@viewlift/player/cjs/start-begin-btn-5739a6c0.js +0 -1
- package/@viewlift/player/cjs/videoSelector-b6e03076.js +0 -1
- package/@viewlift/player/cjs/videoSelector-d080a65f.js +0 -1
- package/@viewlift/player/cjs/videoSelector-fcdf11eb.js +0 -1
- package/@viewlift/player/cjs/videojs-dash5.es-ec94e5f4.js +0 -1
- package/@viewlift/player/cjs/watch-live-btn-822534d1.js +0 -1
- package/@viewlift/player/esm/apis/index.d.ts +0 -11
- package/@viewlift/player/esm/assets/icons.d.ts +0 -25
- package/@viewlift/player/esm/autoNextVideo-45c813b4.js +0 -1
- package/@viewlift/player/esm/caption-settings-6001af40.js +0 -1
- package/@viewlift/player/esm/caption-settings-cb47408f.js +0 -1
- package/@viewlift/player/esm/captions-f507e8ee.js +0 -1
- package/@viewlift/player/esm/chromett-a3cbb2e1.js +0 -1
- package/@viewlift/player/esm/components/advertisement/advertisement.d.ts +0 -1
- package/@viewlift/player/esm/components/auto-next-video/autoNextVideo.d.ts +0 -2
- package/@viewlift/player/esm/components/big-mute-btn/index.d.ts +0 -9
- package/@viewlift/player/esm/components/broadcaster_image/index.d.ts +0 -1
- package/@viewlift/player/esm/components/caption-settings/caption-settings.d.ts +0 -14
- package/@viewlift/player/esm/components/dvr-seekbar/index.d.ts +0 -14
- package/@viewlift/player/esm/components/dvr-startover/helper.d.ts +0 -17
- package/@viewlift/player/esm/components/dvr-startover/index.d.ts +0 -1
- package/@viewlift/player/esm/components/dvr-startover/marker.d.ts +0 -3
- package/@viewlift/player/esm/components/dvr-startover/start-begin-btn.d.ts +0 -6
- package/@viewlift/player/esm/components/dvr-startover/watch-live-btn.d.ts +0 -6
- package/@viewlift/player/esm/components/multicam/multicam.d.ts +0 -18
- package/@viewlift/player/esm/components/multicam-v2/multicamv2.d.ts +0 -13
- package/@viewlift/player/esm/components/multicam-v2_TEMP/multicamv2.d.ts +0 -13
- package/@viewlift/player/esm/components/next-ep-preview/next-ep-preview.d.ts +0 -1
- package/@viewlift/player/esm/components/next-episode/nextEpisodeButton.d.ts +0 -13
- package/@viewlift/player/esm/components/playlist-tray/playlist.d.ts +0 -15
- package/@viewlift/player/esm/components/quality-selector/index.d.ts +0 -1
- package/@viewlift/player/esm/components/resolution/resolution-v2.d.ts +0 -18
- package/@viewlift/player/esm/components/resolution/resolution.d.ts +0 -20
- package/@viewlift/player/esm/components/series/series.d.ts +0 -10
- package/@viewlift/player/esm/components/series-v2/helper.d.ts +0 -3
- package/@viewlift/player/esm/components/series-v2/series-v2.d.ts +0 -25
- package/@viewlift/player/esm/components/series-v2_TEMP/helper.d.ts +0 -1
- package/@viewlift/player/esm/components/series-v2_TEMP/series-v2.d.ts +0 -21
- package/@viewlift/player/esm/components/settings-icon/settings-icon.d.ts +0 -17
- package/@viewlift/player/esm/components/trickplay/helper.d.ts +0 -13
- package/@viewlift/player/esm/components/trickplay/index.d.ts +0 -1
- package/@viewlift/player/esm/components/trickplay/videojs.thumbnails.d.ts +0 -1
- package/@viewlift/player/esm/components/video-selector/videoSelector.d.ts +0 -18
- package/@viewlift/player/esm/components/video-selector_TEMP/videoSelector.d.ts +0 -16
- package/@viewlift/player/esm/components/watch-history/handleWatchHistory.d.ts +0 -2
- package/@viewlift/player/esm/contentHandler/content_types/epg.d.ts +0 -4
- package/@viewlift/player/esm/contentHandler/content_types/external.d.ts +0 -4
- package/@viewlift/player/esm/contentHandler/content_types/index.d.ts +0 -5
- package/@viewlift/player/esm/contentHandler/content_types/series.d.ts +0 -4
- package/@viewlift/player/esm/contentHandler/content_types/vod.d.ts +0 -4
- package/@viewlift/player/esm/contentHandler/firePlayer.d.ts +0 -4
- package/@viewlift/player/esm/core/captions.d.ts +0 -10
- package/@viewlift/player/esm/core/generic.d.ts +0 -49
- package/@viewlift/player/esm/core/player_instance.d.ts +0 -6
- package/@viewlift/player/esm/core/renditions.d.ts +0 -6
- package/@viewlift/player/esm/core/util.d.ts +0 -19
- package/@viewlift/player/esm/core/volume.d.ts +0 -2
- package/@viewlift/player/esm/currentVideoInfo-a8a254c2.js +0 -1
- package/@viewlift/player/esm/dash/dashHandler.d.ts +0 -1
- package/@viewlift/player/esm/dash/linear_ssai.d.ts +0 -1
- package/@viewlift/player/esm/dash/sgai.d.ts +0 -14
- package/@viewlift/player/esm/error-2395864b.js +0 -1
- package/@viewlift/player/esm/features.d.ts +0 -33
- package/@viewlift/player/esm/generic-769f7ba2.js +0 -1
- package/@viewlift/player/esm/globalPlayerEvents.d.ts +0 -8
- package/@viewlift/player/esm/helper-349e076f.js +0 -1
- package/@viewlift/player/esm/helpers/browser.d.ts +0 -2
- package/@viewlift/player/esm/helpers/currentVideoInfo.d.ts +0 -21
- package/@viewlift/player/esm/helpers/errorHandling.d.ts +0 -2
- package/@viewlift/player/esm/helpers/loader.d.ts +0 -2
- package/@viewlift/player/esm/helpers/localisation.d.ts +0 -2
- package/@viewlift/player/esm/helpers/scriptLoader.d.ts +0 -2
- package/@viewlift/player/esm/helpers/secondary-switching.d.ts +0 -1
- package/@viewlift/player/esm/helpers/skin.d.ts +0 -20
- package/@viewlift/player/esm/helpers/sourceRetriever.d.ts +0 -11
- package/@viewlift/player/esm/helpers/ssaiEventHandler.d.ts +0 -27
- package/@viewlift/player/esm/helpers/token.d.ts +0 -9
- package/@viewlift/player/esm/icons-37daa6b3.js +0 -1
- package/@viewlift/player/esm/index-4cc8ac6f.js +0 -1
- package/@viewlift/player/esm/index-8e3eab6d.js +0 -1
- package/@viewlift/player/esm/index.d.ts +0 -44
- package/@viewlift/player/esm/index.js +0 -1
- package/@viewlift/player/esm/localisation-0bf399a1.js +0 -1
- package/@viewlift/player/esm/multicamv2-1fb5149a.js +0 -1
- package/@viewlift/player/esm/multicamv2-b7cec0cf.js +0 -1
- package/@viewlift/player/esm/nextEpisodeButton-6dfddf32.js +0 -1
- package/@viewlift/player/esm/nextEpisodeButton-a1556cdf.js +0 -1
- package/@viewlift/player/esm/player_instance-34118a5b.js +0 -1
- package/@viewlift/player/esm/playlist-7ecf432a.js +0 -1
- package/@viewlift/player/esm/plugins/chromecast.d.ts +0 -18
- package/@viewlift/player/esm/plugins/comscore_dist/index.d.ts +0 -50
- package/@viewlift/player/esm/plugins/index.d.ts +0 -2
- package/@viewlift/player/esm/plugins/library.d.ts +0 -8
- package/@viewlift/player/esm/plugins/videojs-dash5.es.d.ts +0 -51
- package/@viewlift/player/esm/plugins/videojs_contrib_dash.d.ts +0 -51
- package/@viewlift/player/esm/resolution-1c59b0f3.js +0 -1
- package/@viewlift/player/esm/resolution-v2-705ae275.js +0 -1
- package/@viewlift/player/esm/series-041152aa.js +0 -1
- package/@viewlift/player/esm/series-becf9249.js +0 -1
- package/@viewlift/player/esm/series-v2-6e9853f8.js +0 -1
- package/@viewlift/player/esm/series-v2-6effac8f.js +0 -1
- package/@viewlift/player/esm/series-v2-87343239.js +0 -1
- package/@viewlift/player/esm/settings-icon-1e7b0951.js +0 -1
- package/@viewlift/player/esm/settings-icon-1fbc99bc.js +0 -1
- package/@viewlift/player/esm/skin/carousel/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/default/events.d.ts +0 -1
- package/@viewlift/player/esm/skin/default/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/defaultV2/events.d.ts +0 -1
- package/@viewlift/player/esm/skin/defaultV2/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/index.d.ts +0 -1
- package/@viewlift/player/esm/skin/mini/events.d.ts +0 -1
- package/@viewlift/player/esm/skin/mini/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/minimalist/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/multiplayer/events.d.ts +0 -1
- package/@viewlift/player/esm/skin/multiplayer/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/news/events.d.ts +0 -1
- package/@viewlift/player/esm/skin/news/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/news_live/events.d.ts +0 -1
- package/@viewlift/player/esm/skin/news_live/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin/vl_one/events.d.ts +0 -1
- package/@viewlift/player/esm/skin/vl_one/skin.d.ts +0 -1
- package/@viewlift/player/esm/skin-11e8e90b.js +0 -1
- package/@viewlift/player/esm/skin-271fa63f.js +0 -1
- package/@viewlift/player/esm/skin-273ee9b8.js +0 -1
- package/@viewlift/player/esm/skin-2af1a28a.js +0 -1
- package/@viewlift/player/esm/skin-2c638dc1.js +0 -1
- package/@viewlift/player/esm/skin-3dcba1b2.js +0 -1
- package/@viewlift/player/esm/skin-52c3510b.js +0 -1
- package/@viewlift/player/esm/skin-5804a5af.js +0 -1
- package/@viewlift/player/esm/skin-71be210e.js +0 -1
- package/@viewlift/player/esm/skin-b9731ec0.js +0 -1
- package/@viewlift/player/esm/skin-d4a4342d.js +0 -1
- package/@viewlift/player/esm/skin-e6600a72.js +0 -1
- package/@viewlift/player/esm/skin-fbab87d5.js +0 -1
- package/@viewlift/player/esm/start-begin-btn-1e096fec.js +0 -1
- package/@viewlift/player/esm/util-06603bad.js +0 -1
- package/@viewlift/player/esm/utilities/analytics.d.ts +0 -3
- package/@viewlift/player/esm/utilities/beacon.d.ts +0 -3
- package/@viewlift/player/esm/utilities/comscore.d.ts +0 -5
- package/@viewlift/player/esm/utilities/controlsColor.d.ts +0 -1
- package/@viewlift/player/esm/utilities/conviva.d.ts +0 -5
- package/@viewlift/player/esm/utilities/keyboardShortcuts.d.ts +0 -5
- package/@viewlift/player/esm/utilities/replaceMacros.d.ts +0 -1
- package/@viewlift/player/esm/videoSelector-8e258d45.js +0 -1
- package/@viewlift/player/esm/videoSelector-def99d5e.js +0 -1
- package/@viewlift/player/esm/videojs-dash5.es-390dd922.js +0 -1
- package/@viewlift/player/esm/watch-live-btn-5419f3a7.js +0 -1
- package/@viewlift/player/package.json +0 -23
- package/@viewlift/player-backup/cjs/index-d7f46b96.js +0 -1
- package/@viewlift/player-backup/cjs/multicamv2-9990d70f.js +0 -1
- package/@viewlift/player-backup/cjs/nextEpisodeButton-cdcff8ec.js +0 -1
- package/@viewlift/player-backup/cjs/series-v2-588c92cf.js +0 -1
- package/@viewlift/player-backup/cjs/skin-391418cd.js +0 -1
- package/@viewlift/player-backup/cjs/skin-77a58b45.js +0 -1
- package/@viewlift/player-backup/cjs/util-7c5a46f3.js +0 -1
- package/@viewlift/player-backup/cjs/videoSelector-592002a3.js +0 -1
- package/@viewlift/player-backup/esm/bundle.css +0 -2830
- package/@viewlift/player-backup/esm/features-465db57c.js +0 -1
- package/@viewlift/player-backup/esm/index-9ac54b9b.js +0 -1
- package/@viewlift/player-backup/esm/index-ada7d4ee.js +0 -1
- package/@viewlift/player-backup/esm/index-c4f3477c.js +0 -1
- package/@viewlift/player-backup/esm/multicamv2-644cda07.js +0 -1
- package/@viewlift/player-backup/esm/multicamv2-e193da51.js +0 -1
- package/@viewlift/player-backup/esm/playlist-6d62bee9.js +0 -1
- package/@viewlift/player-backup/esm/series-v2-a9038834.js +0 -1
- package/@viewlift/player-backup/esm/skin-62bf8143.js +0 -1
- package/@viewlift/player-backup/esm/videoSelector-0cfed08d.js +0 -1
- package/@viewlift/player-backup/esm/videoSelector-65c51f5e.js +0 -1
- package/@viewlift/player-backup/package.json +0 -23
- package/@viewlift/player_legacy/cjs/autoNextVideo-0207f04b.js +0 -1
- package/@viewlift/player_legacy/cjs/bundle.css +0 -750
- package/@viewlift/player_legacy/cjs/caption-settings-34ca0188.js +0 -1
- package/@viewlift/player_legacy/cjs/caption-settings-b2f5caed.js +0 -1
- package/@viewlift/player_legacy/cjs/chromett-f925fb6c.js +0 -1
- package/@viewlift/player_legacy/cjs/dvr_skin-f7f770ae.js +0 -1
- package/@viewlift/player_legacy/cjs/error-26d5a3c3.js +0 -1
- package/@viewlift/player_legacy/cjs/features-a8748699.js +0 -1
- package/@viewlift/player_legacy/cjs/generic-84f939ad.js +0 -1
- package/@viewlift/player_legacy/cjs/icons-515b2da0.js +0 -1
- package/@viewlift/player_legacy/cjs/index.js +0 -1
- package/@viewlift/player_legacy/cjs/keyboardShortcuts-f767c579.js +0 -1
- package/@viewlift/player_legacy/cjs/loader-393b838a.js +0 -1
- package/@viewlift/player_legacy/cjs/localisation-56e0a999.js +0 -1
- package/@viewlift/player_legacy/cjs/multicam-8f3d061a.js +0 -1
- package/@viewlift/player_legacy/cjs/multicam-a41fe4a6.js +0 -1
- package/@viewlift/player_legacy/cjs/multicamv2-76d8530b.js +0 -1
- package/@viewlift/player_legacy/cjs/multicamv2-c4d6b48f.js +0 -1
- package/@viewlift/player_legacy/cjs/mwebPotrait-3c11d7cf.js +0 -1
- package/@viewlift/player_legacy/cjs/mwebPotraitTray-456078d4.js +0 -1
- package/@viewlift/player_legacy/cjs/nextEpisodeButton-b6e6586f.js +0 -1
- package/@viewlift/player_legacy/cjs/nextEpisodeButton-fe540cf1.js +0 -1
- package/@viewlift/player_legacy/cjs/nondvr_skin-ef2cb3b2.js +0 -1
- package/@viewlift/player_legacy/cjs/playlist-3932fd04.js +0 -1
- package/@viewlift/player_legacy/cjs/playlist-df87ca90.js +0 -1
- package/@viewlift/player_legacy/cjs/renditions-6e13cb32.js +0 -1
- package/@viewlift/player_legacy/cjs/resolution-93446685.js +0 -1
- package/@viewlift/player_legacy/cjs/series-9c237975.js +0 -1
- package/@viewlift/player_legacy/cjs/series-da129ad0.js +0 -1
- package/@viewlift/player_legacy/cjs/series-v2-4690c9b9.js +0 -1
- package/@viewlift/player_legacy/cjs/series-v2-fd7485a5.js +0 -1
- package/@viewlift/player_legacy/cjs/settings-icon-8d364c01.js +0 -1
- package/@viewlift/player_legacy/cjs/settings-icon-df80e58e.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-225252ff.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-63b8f7de.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-64ba51a6.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-6c47cc18.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-7bc2d995.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-7c1b43eb.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-983a2ea7.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-b361b474.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-c66e9b42.js +0 -1
- package/@viewlift/player_legacy/cjs/skin-fc1e7e52.js +0 -1
- package/@viewlift/player_legacy/cjs/util-fb2cc4c4.js +0 -1
- package/@viewlift/player_legacy/cjs/videoSelector-aff5bd81.js +0 -1
- package/@viewlift/player_legacy/cjs/videoSelector-fcdf11eb.js +0 -1
- package/@viewlift/player_legacy/esm/autoNextVideo-9849ba49.js +0 -1
- package/@viewlift/player_legacy/esm/bundle.css +0 -750
- package/@viewlift/player_legacy/esm/caption-settings-c487e1d4.js +0 -1
- package/@viewlift/player_legacy/esm/caption-settings-cb47408f.js +0 -1
- package/@viewlift/player_legacy/esm/chromett-a3cbb2e1.js +0 -1
- package/@viewlift/player_legacy/esm/dvr_skin-9cc1b144.js +0 -1
- package/@viewlift/player_legacy/esm/error-2395864b.js +0 -1
- package/@viewlift/player_legacy/esm/features-f0405edc.js +0 -1
- package/@viewlift/player_legacy/esm/generic-d6622897.js +0 -1
- package/@viewlift/player_legacy/esm/icons-3e9a1686.js +0 -1
- package/@viewlift/player_legacy/esm/index.js +0 -1
- package/@viewlift/player_legacy/esm/keyboardShortcuts-d3c02093.js +0 -1
- package/@viewlift/player_legacy/esm/loader-580278fe.js +0 -1
- package/@viewlift/player_legacy/esm/localisation-0bf399a1.js +0 -1
- package/@viewlift/player_legacy/esm/multicam-4b0e408e.js +0 -1
- package/@viewlift/player_legacy/esm/multicam-de741974.js +0 -1
- package/@viewlift/player_legacy/esm/multicamv2-d006cffa.js +0 -1
- package/@viewlift/player_legacy/esm/multicamv2-efe93b72.js +0 -1
- package/@viewlift/player_legacy/esm/mwebPotrait-3c1805d8.js +0 -1
- package/@viewlift/player_legacy/esm/mwebPotraitTray-5323453e.js +0 -1
- package/@viewlift/player_legacy/esm/nextEpisodeButton-172e786c.js +0 -1
- package/@viewlift/player_legacy/esm/nextEpisodeButton-a1556cdf.js +0 -1
- package/@viewlift/player_legacy/esm/nondvr_skin-64be70e5.js +0 -1
- package/@viewlift/player_legacy/esm/playlist-7ecf432a.js +0 -1
- package/@viewlift/player_legacy/esm/playlist-ce940630.js +0 -1
- package/@viewlift/player_legacy/esm/renditions-71ea4b1e.js +0 -1
- package/@viewlift/player_legacy/esm/resolution-9836657e.js +0 -1
- package/@viewlift/player_legacy/esm/series-041152aa.js +0 -1
- package/@viewlift/player_legacy/esm/series-90b99709.js +0 -1
- package/@viewlift/player_legacy/esm/series-v2-05347955.js +0 -1
- package/@viewlift/player_legacy/esm/series-v2-4cdbf9b1.js +0 -1
- package/@viewlift/player_legacy/esm/settings-icon-1fbc99bc.js +0 -1
- package/@viewlift/player_legacy/esm/settings-icon-982e8c56.js +0 -1
- package/@viewlift/player_legacy/esm/skin-271fa63f.js +0 -1
- package/@viewlift/player_legacy/esm/skin-28f20306.js +0 -1
- package/@viewlift/player_legacy/esm/skin-2c638dc1.js +0 -1
- package/@viewlift/player_legacy/esm/skin-35587f60.js +0 -1
- package/@viewlift/player_legacy/esm/skin-649d1a0c.js +0 -1
- package/@viewlift/player_legacy/esm/skin-96de1bc3.js +0 -1
- package/@viewlift/player_legacy/esm/skin-cd537931.js +0 -1
- package/@viewlift/player_legacy/esm/skin-dc0ea0bd.js +0 -1
- package/@viewlift/player_legacy/esm/skin-e9170fb9.js +0 -1
- package/@viewlift/player_legacy/esm/skin-fbc45594.js +0 -1
- package/@viewlift/player_legacy/esm/util-4a2489f5.js +0 -1
- package/@viewlift/player_legacy/esm/videoSelector-8e258d45.js +0 -1
- package/@viewlift/player_legacy/esm/videoSelector-e140c66d.js +0 -1
- package/@viewlift/player_legacy/package.json +0 -17
- package/@viewlift/web-multiplayer/cjs/bundle.css +0 -68
- package/@viewlift/web-multiplayer/cjs/index.js +0 -1
- package/@viewlift/web-multiplayer/esm/App.js +0 -1
- package/@viewlift/web-multiplayer/esm/bundle.css +0 -68
- package/@viewlift/web-multiplayer/esm/components/Multiplayer.js +0 -1
- package/@viewlift/web-multiplayer/esm/index.js +0 -1
- package/@viewlift/web-multiplayer/esm/reportWebVitals.js +0 -1
- package/@viewlift/web-multiplayer/package.json +0 -38
- package/player-micro-frontend/cjs/index.js +0 -1
- package/player-micro-frontend/esm/index.js +0 -1
- package/player-micro-frontend/package.json +0 -33
- /package/{@viewlift/player-backup/cjs → cjs}/caption-settings-34ca0188.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/caption-settings-d1eb3bf6.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/captions-dbc83a75.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/chromett-f925fb6c.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/currentVideoInfo-31d70bec.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/error-26d5a3c3.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/helper-a50a8ffc.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/icons-2609dbe4.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/index-3f0e537b.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/index-4905764c.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/localisation-56e0a999.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/multicamv2-1efdbdb9.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/multicamv2-7a86b517.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/nextEpisodeButton-b6e6586f.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/player_instance-fcf6a8fb.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/playlist-df87ca90.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/resolution-f9dcc1b4.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/resolution-v2-e42e0101.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/series-9c237975.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/series-v2-2105fd89.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/series-v2-e037e14e.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/settings-icon-8d364c01.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/settings-icon-b43f4406.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/skin-225252ff.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/skin-38de8257.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/skin-ba38afdb.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/skin-f5e18b89.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/skin-fc1e7e52.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/start-begin-btn-5739a6c0.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/videoSelector-b6e03076.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/videoSelector-fcdf11eb.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/videojs-dash5.es-ec94e5f4.js +0 -0
- /package/{@viewlift/player-backup/cjs → cjs}/watch-live-btn-822534d1.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/caption-settings-6001af40.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/caption-settings-cb47408f.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/captions-f507e8ee.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/chromett-a3cbb2e1.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/currentVideoInfo-a8a254c2.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/error-2395864b.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/helper-349e076f.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/icons-37daa6b3.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/index-4cc8ac6f.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/index-8e3eab6d.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/localisation-0bf399a1.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/multicamv2-1fb5149a.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/multicamv2-b7cec0cf.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/nextEpisodeButton-a1556cdf.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/player_instance-34118a5b.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/playlist-7ecf432a.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/resolution-1c59b0f3.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/resolution-v2-705ae275.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/series-041152aa.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/series-v2-6e9853f8.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/series-v2-87343239.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/settings-icon-1e7b0951.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/settings-icon-1fbc99bc.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/skin-271fa63f.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/skin-2c638dc1.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/skin-3dcba1b2.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/skin-71be210e.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/skin-fbab87d5.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/start-begin-btn-1e096fec.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/videoSelector-8e258d45.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/videoSelector-def99d5e.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/videojs-dash5.es-390dd922.js +0 -0
- /package/{@viewlift/player-backup/esm → esm}/watch-live-btn-5419f3a7.js +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export namespace adsQueuePointManager {
|
|
2
|
-
function setQueuePoints(points: any): void;
|
|
3
|
-
function getQueuePoints(): any[];
|
|
4
|
-
}
|
|
5
|
-
export function setupAdvertisementMarkers(playerId: any, watchHistoryResumeTime: any): Promise<void>;
|
|
6
|
-
export function getSGAIEnabledSource(playerId: any, entitlement_res: any): Promise<{
|
|
7
|
-
src: any;
|
|
8
|
-
type: string;
|
|
9
|
-
}>;
|
|
10
|
-
export namespace trackingUrlManager {
|
|
11
|
-
function set(param: any): void;
|
|
12
|
-
function get(): string;
|
|
13
|
-
}
|
|
14
|
-
export const trackMap: Map<any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n='.video-js .error-container {\n position: absolute;\n top: 60%;\n text-align: center;\n width: 100%;\n height: -moz-max-content;\n height: max-content;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.video-js .error-message {\n font-size: 17px;\n padding: 0 4rem;\n color: white;\n}\n\n/* .video-js.vjs-playing .vjs-tech {\n pointer-events: none;\n} \n.vjs-error-display.vjs-modal-dialog {\n display: none;\n}\n .video-js .vjs-big-play-button .vjs-icon-placeholder:before{\n content: "\\00d7";\n font-size: 35px;\n top: -8px;\n} */\n\n@media (max-width:600px){\n .video-js .error-container {\n top: 68%;\n }\n .video-js .error-message{\n font-size: 14px;\n }\n}\n\n/* .video-js.vjs-paused .vjs-big-play-button:focus{\n pointer-events: none;\n} */';export{n as default};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds Rewind Button to control bar
|
|
3
|
-
* @param {String} [playerId] [playerId of the player]
|
|
4
|
-
*/
|
|
5
|
-
export function addRewindButton(playerId?: string, skin: any, icon: any): void;
|
|
6
|
-
/**
|
|
7
|
-
* Adds Skip Button to control bar
|
|
8
|
-
* @param {String} [playerId] [playerId of the player]
|
|
9
|
-
*/
|
|
10
|
-
export function addSkipButton(playerId?: string, skin: any, icon: any): void;
|
|
11
|
-
/**
|
|
12
|
-
* Adds Slow Mo Button to control bar
|
|
13
|
-
* @param {String} [playerId] [playerId of the player]
|
|
14
|
-
*/
|
|
15
|
-
export function addSlowMotion(playerId?: string): void;
|
|
16
|
-
export function addResolutionModule(playerId: any, skin: any, icon: any): void;
|
|
17
|
-
export function addVideoSelector(playerId: any, related: any): void;
|
|
18
|
-
export function addMulticamView(playerId: any, config: any): void;
|
|
19
|
-
export function addSeriesModule(playerId: any, seriesData: any, config: any): void;
|
|
20
|
-
export function addNextEpisodeButton(sres: any, res: any, playerId: any): void;
|
|
21
|
-
export function addMulticamSelector(playerId: any, streams: any): void;
|
|
22
|
-
export function addPlaylistSelector(playerId: any, playlist: any): void;
|
|
23
|
-
export function addCaptionButton(playerId: any, options: any): void;
|
|
24
|
-
export function addSettingsButtonV2(playerId: any, options: any): void;
|
|
25
|
-
export function addSeriesSelectorV2(playerId: any, options: any): void;
|
|
26
|
-
export function addOutputtingOverlay(playerId: any, url: any): void;
|
|
27
|
-
export function addDBClickFullScreen(playerId: any): void;
|
|
28
|
-
export function addBigMuteButton(playerId: any, options: any): void;
|
|
29
|
-
export function addVideoSelector_DEFAULTV2_TEMP(playerId: any, related: any): void;
|
|
30
|
-
export function addSeriesSelectorV2_DEFAULTV2_TEMP(playerId: any, options: any): void;
|
|
31
|
-
export function addMulticamSelector_DEFAULTV2_TEMP(playerId: any, streams: any): void;
|
|
32
|
-
export function addStartFromBeginningButton(playerId: any, options: any): void;
|
|
33
|
-
export function addWatchLiveButton(playerId: any, options: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import n from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/regenerator";import o from"video.js";import i from"axios";import{g as r}from"./player_instance-34118a5b.js";import l from"js-cookie";import{a,e as d,g as u,h as s,s as c,i as v,d as m}from"./currentVideoInfo-a8a254c2.js";import{a as f,r as p}from"./captions-f507e8ee.js";import g from"@babel/runtime/helpers/typeof";import{t as h,c as w}from"./skin-3dcba1b2.js";import I from"@babel/runtime/helpers/toConsumableArray";import y from"@babel/runtime/helpers/slicedToArray";import{destroyComscoreTag as E,formulateComscorePayload as T,createComscoreStreamingTag as b,setComscorePlayerInstance as S}from"@viewlift/comscore/index.js";function _(){var e,n;null===(e=window)||void 0===e||null===(n=e.dataLayer)||void 0===n||n.push(arguments)}function O(e){window.dataLayer=window.dataLayer||[],_("js",new Date),_("config",e)}function A(e,n){_("event",e,n)}var D={apiBaseUrl:"https://prod-api.viewlift.com",getVideoDetails:"/entitlement/video/status",getSeriesDetails:"/entitlement/series/status",saveWatchHistoryV1:"/user/userId/history/video",saveWatchHistoryV2:"/v2/user/history",getVideoInfoV1:"/user/info/video",getVideoInfoV2:"/v2/user/info",getSeriesWatchHistoryV1:"/user/userId/history/video",getSeriesWatchHistoryV2:"/v2/user/history/series",getLinearChannelDetails:"/v3/entitlement/linearchannel",getBeaconUrl:"/analytics/player-beacon"};function L(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function P(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}var k={name:"@viewlift/player",version:"2.0.229-backup",main:"dist/bundle.cjs.js",types:"dist/@viewlift/player/esm/index.d.ts",amdName:"_playerCore",dependencies:{"@silvermine/videojs-airplay":"^1.3.0","@silvermine/videojs-chromecast":"^1.4.1","@viewlift/comscore":"^0.0.6",axios:"^1.2.3",ima:"npm:videojs-ima@2.2.0","js-cookie":"^3.0.5","video.js":"8.22.0","videojs-contrib-ads":"7.5.2","videojs-contrib-eme":"5.5.1","videojs-mux":"^4.21.7","videojs-contrib-quality-menu":"^1.0.3"},overrides:{"min-document":"^2.19.1"}};window.vl_player_version=k.version;var F,C=function(){var e,n,t,o;return null!==(e=window)&&void 0!==e&&null!==(n=e.customData)&&void 0!==n&&n.overrideEntitlementBaseUrl?(null===(t=window)||void 0===t||null===(o=t.customData)||void 0===o?void 0:o.overrideEntitlementBaseUrl)+"/video/status":U.get()+"".concat(null==D?void 0:D.getVideoDetails)},R=function(e,n){var t,o,r,l,a,d,u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return null!==(t=window)&&void 0!==t&&null!==(o=t.customData)&&void 0!==o&&o.overrideEntitlementResponse?new Promise((function(e,n){var t,o;return e({data:null===(t=window)||void 0===t||null===(o=t.customData)||void 0===o?void 0:o.overrideEntitlementResponse})})):i({url:C(),params:P({id:e,deviceType:"web_browser",contentConsumption:"web",ssaiDisable:u},null===(r=window)||void 0===r||null===(l=r.customData)||void 0===l?void 0:l.entitlement),method:"GET",headers:{Authorization:n,"Sdk-Version":k.version,"x-player-name":"videojs",adbTempToken:null===(a=window)||void 0===a||null===(d=a.customData)||void 0===d?void 0:d.adbTempToken},withCredentials:!0})},j=function(e,n){var t,o,r,l,a,d,u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return null!==(t=window)&&void 0!==t&&null!==(o=t.customData)&&void 0!==o&&o.overrideEntitlementResponse?new Promise((function(e,n){var t,o;return e({data:null===(t=window)||void 0===t||null===(o=t.customData)||void 0===o?void 0:o.overrideEntitlementResponse})})):i({url:U.get()+D.getLinearChannelDetails,params:P(P(P(P(P({id:null==e?void 0:e.id,deviceType:"web_browser",contentConsumption:"web",ssaiDisable:u},(null==e?void 0:e.channelId)&&{channelId:null==e?void 0:e.channelId}),(null==e?void 0:e.programId)&&{programId:null==e?void 0:e.programId}),(null==e?void 0:e.programTitle)&&{programTitle:null==e?void 0:e.programTitle}),(null==e?void 0:e.programSubType)&&{programSubType:null==e?void 0:e.programSubType}),null===(r=window)||void 0===r||null===(l=r.customData)||void 0===l?void 0:l.entitlement),method:"GET",headers:{Authorization:n,hdcp:"HDCP-1.4",sl:"SW_SECURE_CRYPTO",adbTempToken:null===(a=window)||void 0===a||null===(d=a.customData)||void 0===d?void 0:d.adbTempToken}})},N=function(e,n){var t,o,r=K(n),l=(null==r?void 0:r.site)||null;return null!==(t=window)&&void 0!==t&&null!==(o=t.customData)&&void 0!==o&&o.seriesData?new Promise((function(e,n){var t,o;return e({data:null===(t=window)||void 0===t||null===(o=t.customData)||void 0===o?void 0:o.seriesData})})):i({url:U.get()+"/v3/content/series/".concat(e),params:{site:l},method:"GET",headers:{Authorization:n}})},V=function(){var e=n(t.mark((function e(n){var o;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z();case 2:return o=e.sent,e.abrupt("return",i({url:U.get()+"".concat(null==D?void 0:D.saveWatchHistoryV2),method:"POST",headers:{Authorization:o},data:P({},n),params:P({},(null==n?void 0:n.profileId)&&{profileId:null==n?void 0:n.profileId})}));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),W=function(e,n){var t,o,r=window.contentType;return i({method:"GET",url:U.get()+"".concat(null==D?void 0:D.getVideoInfoV2,"/").concat(r,"/").concat(e),headers:{Authorization:n,"x-api-key":null===(t=window)||void 0===t||null===(o=t.watchHistory)||void 0===o?void 0:o.xApiKey},timeout:15e3})},B=function(e){var n=e.videoId;return i({method:"GET",url:U.get()+"".concat(null==D?void 0:D.getSeriesWatchHistoryV2,"/").concat(n),headers:{Authorization:e.token},timeout:15e3})},U=(F=null==D?void 0:D.apiBaseUrl,{set:function(e){e&&(F=e)},get:function(){return F}}),M=function(e,n,t,o){var r,l;return i({url:t,params:{id:e,deviceType:"web_browser",contentConsumption:"web",latitude:null==o?void 0:o.latitude,longitude:null==o?void 0:o.longitude},method:"GET",headers:{Authorization:n,adbTempToken:null===(r=window)||void 0===r||null===(l=r.customData)||void 0===l?void 0:l.adbTempToken},withCredentials:!0})},x=function(e){var n=JSON.parse(atob(null==e?void 0:e.split(".")[1])),t=null==n?void 0:n.exp;if(new Date(1e3*t).getTime()<(new Date).getTime())return!0},H=null;function G(){return{set:function(e){e&&(H=e)},get:function(){return H}}}var Q=function(){var e=n(t.mark((function e(){var n,o,r;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=G().get(),o=U.get(),e.prev=2,e.next=5,i({method:"GET",url:"".concat(o,"/identity/refresh/").concat(n)});case 5:return r=e.sent,e.abrupt("return",r);case 9:throw e.prev=9,e.t0=e.catch(2),console.error("Error fetching refresh token",e.t0),e.t0;case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),Y=null,z=function(){var e=n(t.mark((function e(){var n;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=sessionStorage.getItem("vlp_token"))||!x(n)){e.next=6;break}return Y||(Y=Q().then((function(e){var t,o,i=null==e||null===(t=e.data)||void 0===t?void 0:t.authorizationToken,r=null==e||null===(o=e.data)||void 0===o?void 0:o.refreshToken;return i&&sessionStorage.setItem("vlp_token",i),r&&G().set(r),i||n})).catch((function(e){return console.error("Error fetching refresh token",e),n})).finally((function(){Y=null}))),e.abrupt("return",Y);case 6:return e.abrupt("return",n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(e){var n=!0,t=null==e?void 0:e.videoSourceUrl,o=null==e?void 0:e.asat;return t&&!o&&(n=!1),n},K=function(e){if(e&&"string"==typeof e)return JSON.parse(atob(e.split(".")[1]))};function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function J(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?X(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):X(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}var $=function(){var e,n,t,o,i,r,l,d=a();return"linearchannel"===((null==d?void 0:d.contentType)||"video")?null==d||null===(e=d.linearchannel)||void 0===e||null===(n=e.channels)||void 0===n||null===(t=n.find((function(e){return(null==e?void 0:e.id)===(null==d?void 0:d.channelId)})))||void 0===t||null===(o=t.content)||void 0===o?void 0:o.id:(null==d||null===(i=d.video)||void 0===i||null===(r=i.gist)||void 0===r?void 0:r.id)||(null==d||null===(l=d.video)||void 0===l?void 0:l.id)||(null==d?void 0:d.id)};function Z(){var e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return"".concat(e()).concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e()).concat(e()).concat(e())}function ee(){return ne.apply(this,arguments)}function ne(){return(ne=n(t.mark((function e(){var n,o,i;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z();case 2:if(n=e.sent,o=K(n),!(i=null==o?void 0:o.userId)){e.next=9;break}return e.abrupt("return",i);case 9:return i=Z(),window.sessionStorage.setItem("uid",i),e.abrupt("return",i);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function te(){return oe.apply(this,arguments)}function oe(){return(oe=n(t.mark((function e(){var n,o;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z();case 2:if(!(n=e.sent)){e.next=6;break}return o=JSON.parse(atob(n.split(".")[1])),e.abrupt("return",null!=o&&o.anonymousId?"guest-user":null==o?void 0:o.userId);case 6:return e.abrupt("return","guest-user");case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}window.initialise=function(e){window.sid=Z(),window.environment="production",window.platform="WEBSITE",streamFailures(e),buffering(e),ads(e),ping(e)},window.streamFailures=function(e){var n=Math.floor(e.currentTime());e.on("error",(function(){var t,o,i,r=Math.floor(e.currentTime());clearInterval(window.bufferingTimer),window.buffering=null,window.handleBufferTimer=null,A(r?"FAILED_TO_START":"DROPPED_STREAM",J({pfm:window.platform,uid:ee(),vid:$(),videoPosition:Math.floor(e.currentTime())},null===(t=window)||void 0===t||null===(o=t.customData)||void 0===o||null===(i=o.beacon)||void 0===i?void 0:i.params)),fireEvent({eventName:n===r?"FAILED_TO_START":"DROPPED_STREAM",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1})}))},window.firstFrame=function(e,n){e.one("play",tryCatch((function(){var t,o,i;window.ttFirstFrame=0,window.ttFirstFrameTimer=setInterval((function(){window.ttFirstFrame=window.handleBufferTimer?window.handleBufferTimer(window.ttFirstFrame,e):null}),100),A("PLAY",J({pfm:window.platform,uid:ee(),vid:$(),videoPosition:Math.floor(e.currentTime())},null===(t=window)||void 0===t||null===(o=t.customData)||void 0===o||null===(i=o.beacon)||void 0===i?void 0:i.params)),fireEvent({eventName:"PLAY",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1}),n&&n("started_video_playback",{"Video ID":$(),watchTime:Math.floor(e.currentTime())})})))},window.buffering=function(e){e.on("waiting",tryCatch((function(){window.ttFirstFrameTimer||(e.currentTime(),clearInterval(window.bufferingTimer),window.bufferingTimer=setInterval((function(){var n,t;null!=e&&null!==(n=e.el_)&&void 0!==n&&null!==(t=n.className)&&void 0!==t&&t.includes("vjs-waiting")&&!e.paused()?window.totalBufferTime=window.handleBufferTimer?window.handleBufferTimer(window.totalBufferTime,e):null:clearInterval(window.bufferingTimer)}),100))})))},window.handleBufferTimer=function(e,n){var t,o;if(n.el_){var i,r,l,a=e+.1;if(+a.toFixed(2)%5==0&&null!=n&&null!==(t=n.el_)&&void 0!==t&&null!==(o=t.className)&&void 0!==o&&o.includes("vjs-waiting")&&bufferingFireCount<4)bufferingFireCount++,A("BUFFERING",J({pfm:window.platform,uid:ee(),vid:$(),videoPosition:n.el_&&Math.floor(n.currentTime())},null===(i=window)||void 0===i||null===(r=i.customData)||void 0===r||null===(l=r.beacon)||void 0===l?void 0:l.params)),fireEvent({eventName:"BUFFERING",videoPosition:n.el_&&Math.floor(n.currentTime()),isAdEvent:!1});return a}clearInterval(window.ttFirstFrameTimer)},window.endFirstFrame=function(e){e.one("timeupdate",(function(){var n,t,o;clearInterval(window.ttFirstFrameTimer),clearInterval(window.bufferingTimer),window.ttFirstFrameTimer=null,window.totalBufferTime=window.ttFirstFrame||0,A("FIRST_FRAME",J({eventName:"FIRST_FRAME",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1,ttFirstFrame:window.ttFirstFrame,bufferHealth:window.getRemainingBufferTime(e),pfm:window.platform,uid:ee(),vid:$()},null===(n=window)||void 0===n||null===(t=n.customData)||void 0===t||null===(o=t.beacon)||void 0===o?void 0:o.params)),fireEvent({eventName:"FIRST_FRAME",videoPosition:Math.floor(e.currentTime()),isAdEvent:!1,ttFirstFrame:window.ttFirstFrame,bufferHealth:window.getRemainingBufferTime(e)})}))},window.ads=function(e){e.on("adsready",(function(){e.ima.addEventListener(window.google.ima.AdEvent.Type.STARTED,(function(){var n,t,o,i,r,l;A("AD_REQUEST",J({eventName:"AD_REQUEST",videoPosition:Math.floor(e.currentTime()),isAdEvent:!0,bufferHealth:window.getRemainingBufferTime(e),pfm:window.platform,uid:ee(),vid:$(),resHeight:e.videoHeight(),resWidth:e.videoWidth()},null===(n=window)||void 0===n||null===(t=n.customData)||void 0===t||null===(o=t.beacon)||void 0===o?void 0:o.params)),fireEvent({eventName:"AD_REQUEST",videoPosition:Math.ceil(e.currentTime()),isAdEvent:!0,resHeight:e.videoHeight(),resWidth:e.videoWidth(),adPosition:1}),A("AD_IMPRESSION",J({eventName:"AD_IMPRESSION",videoPosition:Math.floor(e.currentTime()),isAdEvent:!0,bufferHealth:window.getRemainingBufferTime(e),pfm:window.platform,uid:ee(),resHeight:e.videoHeight(),resWidth:e.videoWidth(),vid:$()},null===(i=window)||void 0===i||null===(r=i.customData)||void 0===r||null===(l=r.beacon)||void 0===l?void 0:l.params)),fireEvent({eventName:"AD_IMPRESSION",videoPosition:Math.ceil(e.currentTime()),resHeight:e.videoHeight(),resWidth:e.videoWidth(),isAdEvent:!0,adPosition:1})})),e.ima.addEventListener(window.google.ima.AdEvent.Type.SKIPPED,(function(){window.ttFirstFrame=0})),e.ima.addEventListener(window.google.ima.AdEvent.Type.COMPLETE,(function(){window.ttFirstFrame=0}))}))},window.ping=function(e){var n=[];e.on("timeupdate",(function(){var t=Math.floor(e.currentTime());t>=30&&t%30==0&&!n.includes(t)&&(bufferingFireCount=0,n.push(t),fireEvent({eventName:"PING",videoPosition:t,isAdEvent:!1,duration:30,resHeight:e.videoHeight(),resWidth:e.videoWidth(),bufferHealth:window.getRemainingBufferTime(e),bitrate:e.tech_.vhs&&window.getBitrate(e)}))}))},window.getBitrate=function(e){return Math.round(e.tech_.vhs.selectPlaylist().attributes.BANDWIDTH/1e3)},window.getRemainingBufferTime=function(e){return tryCatch((function(){for(var n=e.currentTime(),t=e.duration(),o=e.buffered(),i=0;i<o.length;i++){var r=o.start(i),l=o.end(i);if(ie(n,r,l)){var a=Math.round(t-l);if(isFinite(a))return a}}}))()};var ie=function(e,n,t){return e>=n&&e<=t};function re(e,n){if("localhost"!==location.hostname&&"127.0.0.1"!==location.hostname){var t=r(e);window.initialise(t,n),window.firstFrame(t,n),t.on("loadedmetadata",(function(){window.endFirstFrame(t)}))}}window.fireEvent=function(){var e=n(t.mark((function e(n){var o,r,l,d,u,s,c,v,m,f,p,g,h,w,I,y,E,T,b,S,_;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z();case 2:return E=e.sent,T=K(E),b=null==T?void 0:T.site,S=null==T?void 0:T.siteId,e.t0=J,e.t1=J,e.t2=J({aid:b,cid:S,pfm:window.platform},null===(o=window)||void 0===o||null===(r=o.customData)||void 0===r||null===(l=r.beacon)||void 0===l?void 0:l.params),e.t3={},e.next=12,ee();case 12:return e.t4=e.sent,e.t5=$(),e.t6=n.url||document.location.href,e.t7=n.ref||document.referrer,e.t8=n.eventName,e.t9=null!==(d=n.videoPosition)&&void 0!==d?d:null,e.t10=window.environment,e.t11=n.dp1||"",e.t12=n.dp2||"",e.t13=n.dp3||"",e.t14=n.dp4||"",e.t15=n.dp5||"",e.t16=!0===n.isAdEvent?n.videoPosition:null,e.t17=!0===n.isAdEvent?(L=n.adPosition)?String(L):"":"",e.next=28,te();case 28:e.t18=e.sent,e.t19=n.playerType||"native",e.t20=n.mediaType||"VIDEO",e.t21=window.sid,e.t22=null!==(u=n.ttFirstFrame)&&void 0!==u?u:null,e.t23=null!==(s=n.bitrate)&&void 0!==s?s:null,e.t24=null!==(c=n.resHeight)&&void 0!==c?c:null,e.t25=null!==(v=n.resWidth)&&void 0!==v?v:null,e.t26=null!==(m=n.bufferHealth)&&void 0!==m?m:null,e.t27=null!==(t=void 0,O=void 0,A=void 0,O=a(),A=(null==O?void 0:O.contentType)||"video",f=(null==O||null===(t=O[A])||void 0===t?void 0:t.network)||null)&&void 0!==f?f:null,e.t28=null!=b?b:null,e.t29={uid:e.t4,vid:e.t5,url:e.t6,ref:e.t7,pa:e.t8,vpos:e.t9,environment:e.t10,dp1:e.t11,dp2:e.t12,dp3:e.t13,dp4:e.t14,dp5:e.t15,apos:e.t16,apod:e.t17,profid:e.t18,player:e.t19,media_type:e.t20,stream_id:e.t21,embedurl:"",ttfirstframe:e.t22,bitrate:e.t23,connectionspeed:null,resolutionheight:e.t24,resolutionwidth:e.t25,bufferhealth:e.t26,networkname:e.t27,brandname:e.t28},e.t30=(null==n?void 0:n.duration)&&{duration:n.duration},e.t31=(0,e.t1)(e.t2,e.t3,e.t29,e.t30),e.t32=null===(p=window)||void 0===p||null===(g=p.customData)||void 0===g||null===(h=g.beacon)||void 0===h?void 0:h.params,e.t33=(0,e.t0)(e.t31,e.t32),_=[e.t33],i({url:(null===(w=window)||void 0===w||null===(I=w.customData)||void 0===I||null===(y=I.beacon)||void 0===y?void 0:y.url)||U.get()+D.getBeaconUrl,method:"post",headers:{Authorization:E},contentType:"application/x-www-form-urlencoded",dataType:"text",data:_}).catch((function(e){console.error(e)}));case 46:case"end":return e.stop()}var t,O,A,L}),e)})));return function(n){return e.apply(this,arguments)}}(),window.tryCatch=function(e){return function(){try{return e.apply(window,arguments)}catch(e){return console.error(e),null}}};var le=function(){var e,n;return navigator.userAgent.indexOf("Edg")>-1&&"macOS"!=(null===(e=window.navigator)||void 0===e||null===(n=e.userAgentData)||void 0===n?void 0:n.platform)?"IE":-1!=(navigator.userAgent.indexOf("Opera")||navigator.userAgent.indexOf("OPR"))?"Opera":-1!=navigator.userAgent.indexOf("Chrome")?"Chrome":-1!=navigator.userAgent.indexOf("Safari")?"Safari":-1!=navigator.userAgent.indexOf("Firefox")?"Firefox":"Unknown"},ae=function(){return!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},de=function(e,n){var t=new Map;B({videoId:e,token:n}).then((function(e){e.data.map((function(e){t.set(e.videoId,{t:e.watchedTime,p:e.watchedPercentage})})),s(t)})).catch((function(e){return console.log(e)}))},ue=function(){var e=d.get();return e>=0?e+1:1},se=function(){var e,n,t,o=u(),i=a(),r=null==i||null===(e=i.video)||void 0===e?void 0:e.id,l=d.get(),s=null==o||null===(n=o[l])||void 0===n||null===(t=n.episodes)||void 0===t?void 0:t.findIndex((function(e){return(null==e?void 0:e.id)===r}));return s>=0?s+1:1};function ce(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function ve(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):ce(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}var me=function(e,n){return e&&n?"".concat(e,"x").concat(n):e>1024?"L":e>768?"M":"S"},fe=function(e){var n=pe(e,"video.tags",[]),t=pe(e,"video.gist.primaryCategory.title","VIEWLIFT_CONTENT_GENRE");return n.length>0?n.map((function(e){return e.title})).join(","):t},pe=function(e,n,t){for(var o=0,i=(n=n.split(".")).length;o<i;o++){var r;e=null===(r=e)||void 0===r?void 0:r[n[o]]}return e||t},ge=function(){var n,t,o,i,a,d,u,s,c,v,m,f,p,g,h,w,I,y,E,T,b,S,_,O,A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",D=arguments.length>1?arguments[1]:void 0,L=arguments.length>2?arguments[2]:void 0;if(null!==(n=window)&&void 0!==n&&null!==(t=n.customData)&&void 0!==t&&t.disableMacros)return A;var P=(null==L?void 0:L.siteName)||(null==L?void 0:L.site)||"",k=(null==L?void 0:L.contentType)||"video",F=(null==L||null===(o=L[k])||void 0===o?void 0:o.metadata)||(null==L||null===(i=L[k])||void 0===i||null===(a=i.gist)||void 0===a?void 0:a.metadata),C=r(D);if(!A.includes("VIEWLIFT_"))return A;var R,j=window.getComputedStyle(document.getElementById(D),null),N=Math.trunc(j.getPropertyValue("height").slice(0,-2)),V=Math.trunc(j.getPropertyValue("width").slice(0,-2)),W="linearchannel"===k?null==L||null===(d=L.linearchannel)||void 0===d||null===(u=d.channels)||void 0===u||null===(s=u.find((function(e){return(null==e?void 0:e.id)===(null==L?void 0:L.channelId)})))||void 0===s||null===(c=s.content)||void 0===c?void 0:c.id:pe(L,"video.gist.id",""),B="linearchannel"===k?null==L||null===(v=L.linearchannel)||void 0===v||null===(m=v.channels)||void 0===m||null===(f=m.find((function(e){return(null==e?void 0:e.id)===(null==L?void 0:L.channelId)})))||void 0===f?void 0:f.title:pe(L,"video.gist.title","VIEWLIFT_ENCODED_VIDEO_TITLE"),U=null,M=null;"function"==typeof window.__gpp&&(null===(R=window)||void 0===R||R.__gpp("ping",(function(e){U=null==e?void 0:e.gppString,M=null==e?void 0:e.sectionList[0]})));var x=ve(ve({},he(F)),{},(S={VIEWLIFT_WIDTH:V,VIEWLIFT_HEIGHT:N,VIEWLIFT_SIZE:me(V,N),VIEWLIFT_DOMAIN:window.location.hostname,VIEWLIFT_URL:window.location.href,VIEWLIFT_ENCODED_URL:encodeURIComponent(window.location.href),VIEWLIFT_DOUBLE_ENCODED_URL:encodeURIComponent(encodeURIComponent(window.location.href)),VIEWLIFT_CACHEBUSTER:"3708662946268",VIEWLIFT_TIMESTAMP:Date.now().toString().substring(0,10),VIEWLIFT_TIMESTAMP_MS:Date.now().toString(),VIEWLIFT_IP:(null===(p=window)||void 0===p?void 0:p.ip)||"VIEWLIFT_IP",VIEWLIFT_USER_AGENT:encodeURIComponent(encodeURIComponent(navigator.userAgent)),VIEWLIFT_DNT:"1"===navigator.doNotTrack?"1":"0",VIEWLIFT_DESCRIPTION:pe(L,"video.gist.description","VIEWLIFT_DESCRIPTION"),VIEWLIFT_DURATION:pe(L,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_MIN_DURATION:0,VIEWLIFT_MAX_DURATION:pe(L,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_AUTOPLAY:(null==C||null===(g=C.options_)||void 0===g?void 0:g.autoplay)||1,VIEWLIFT_MUTE:(null==C||null===(h=C.options_)||void 0===h?void 0:h.autoplay)||0,VIEWLIFT_DEVICE_ID:"spinco"==P||"usanetwork"==P?"":localStorage.getItem("deviceId")||"VIEWLIFT_DEVICE_ID",VIEWLIFT_DEVICETYPE:"WEB_BROWSER",VIEWLIFT_IDTYPE:"dpid",VIEWLIFT_KEYWORDS:fe(L),VIEWLIFT_MEDIA_ID:W,VIEWLIFT_ENCODED_VIDEO_TITLE:encodeURI(pe(L,"video.gist.title","VIEWLIFT_ENCODED_VIDEO_TITLE")),VIEWLIFT_VIDEO_ID:W,VIEWLIFT_VIDEO_URL:encodeURI(window.location.origin+pe(L,"video.gist.permalink","")),VIEWLIFT_CONSENT:l.get("cc")||"VIEWLIFT_CONSENT",VIEWLIFT_COPPA:pe(null===(w=window)||void 0===w||null===(I=w.app_data)||void 0===I||null===(y=I.site)||void 0===y?void 0:y.settings,"compliance.coppa")?1:0,VIEWLIFT_GDPR_CONSENT:"",VIEWLIFT_ROKU_AD_ID:"",VIEWLIFT_ROKU_AD_KEYS:"",VIEWLIFT_RDID:"",VIEWLIFT_GDPR:"spinco"==P||"usanetwork"==P?"":pe(null===(E=window)||void 0===E||null===(T=E.app_data)||void 0===T||null===(b=T.site)||void 0===b?void 0:b.settings,"compliance.gdpr")?1:0,VIEWLIFT_CONTENT_DURATION_MS:1e3*pe(L,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_CONTENT_DURATION:pe(L,"video.runtime","VIEWLIFT_DURATION"),VIEWLIFT_CONTENT_ID:W,VIEWLIFT_CONTENT_TITLE:B,VIEWLIFT_CONTENT_SERIES_TITLE:pe(L,"video.series.gist.title","VIEWLIFT_CONTENT_SERIES_TITLE"),VIEWLIFT_CONTENT_GENRE:pe(L,"video.gist.primaryCategory.title","VIEWLIFT_CONTENT_GENRE"),VIEWLIFT_USER:sessionStorage.getItem("uid")||"VIEWLIFT_USER",VIEWLIFT_EPISODE_NUMBER:se(),VIEWLIFT_SEASON_NUMBER:ue(),VIEWLIFT_CONTENT_TAGS:fe(L),VIEWLIFT_GPP_SID:M||"VIEWLIFT_GPP_SID",VIEWLIFT_GPP:U||"VIEWLIFT_GPP",VIEWLIFT_LAT:"",VIEWLIFT_APP_BUNDLE:"",VIEWLIFT_ATT_CONSENT:"",VIEWLIFT_APP_ID:"",VIEWLIFT_APP_STORE_URL:""},e(S,"VIEWLIFT_LAT",""),e(S,"VIEWLIFT_APP_BUNDLE",""),e(S,"VIEWLIFT_ATT_CONSENT",""),S),null===(_=window)||void 0===_||null===(O=_.customData)||void 0===O?void 0:O.macros);for(var H in x){var G=new RegExp(H,"g");A=A.replace(G,x[H])}return A},he=function(e){var n,t,o,i,r,l,a={},d=new Map;(null==e?void 0:e.length)>0&&(null==e||e.map((function(e){d.set(e.name,e.value)})));var u=(null===(n=window)||void 0===n||null===(t=n.customData)||void 0===t||null===(o=t.subscription)||void 0===o?void 0:o.SVOD)||!1,s=(null===(i=window)||void 0===i||null===(r=i.customData)||void 0===r||null===(l=r.subscription)||void 0===l?void 0:l.TVE)||!1;return u||s?(ae()?u?a=ve(ve({},a),{},{VIEWLIFT_CSID:d.get("csid.mweb.dtc")||""}):s&&(a=ve(ve({},a),{},{VIEWLIFT_CSID:d.get("csid.mweb.tve")||""})):u?a=ve(ve({},a),{},{VIEWLIFT_CSID:d.get("csid.web.dtc")||""}):s&&(a=ve(ve({},a),{},{VIEWLIFT_CSID:d.get("csid.web.tve")||""})),u?a=ve(ve({},a),{},{VIEWLIFT_SFID:d.get("sfid.dtc")||d.get("sfid.web.dtc")||""}):s&&(a=ve(ve({},a),{},{VIEWLIFT_SFID:d.get("sfid.tve")||d.get("sfid.web.tve")||""})),a=ae()?ve(ve({},a),{},{VIEWLIFT_PROF:d.get("prof.mweb")||""}):ve(ve({},a),{},{VIEWLIFT_PROF:d.get("prof.web")||""})):(a=ve(ve({},a),{},{VIEWLIFT_SFID:d.get("sfid.dtc")||d.get("sfid.web.dtc")||""}),a=ae()?ve(ve({},a),{},{VIEWLIFT_CSID:d.get("csid.mweb.dtc")||"",VIEWLIFT_PROF:d.get("prof.mweb")||""}):ve(ve({},a),{},{VIEWLIFT_CSID:d.get("csid.web.dtc")||"",VIEWLIFT_PROF:d.get("prof.web")||""})),a=ve(ve({},a),{},{VIEWLIFT_AFID:d.get("afid"),VIEWLIFT_NIELSEN_APP_ID:d.get("VIEWLIFT_NIELSEN_APP_ID")||"",VIEWLIFT_CHANNEL:d.get("VIEWLIFT_CHANNEL")||"",VIEWLIFT_GRACE_NOTE_ID:d.get("VIEWLIFT_GRACE_NOTE_ID")||""})},we=function(e,n){var t,o,i,r,l,a,d,u,s,c,v,m,f,p=(null==e?void 0:e.contentType)||"video",g=null==e||null===(t=e[p])||void 0===t?void 0:t.drmEnabled,h=null==e||null===(o=e[p])||void 0===o||null===(i=o.streamingInfo)||void 0===i?void 0:i.videoAssets,w=null==e||null===(r=e[p])||void 0===r||null===(l=r.streamingInfo)||void 0===l?void 0:l.audioAssets,I=(null==e||null===(a=e[p])||void 0===a||null===(d=a.streamingInfo)||void 0===d||null===(u=d.videoAssets)||void 0===u?void 0:u.hls)||!1;null==e||null===(s=e[p])||void 0===s||null===(c=s.liveDetails)||void 0===c||c.isDvrEnabled;var y=(null==e||null===(v=e[p])||void 0===v||null===(m=v.streamingInfo)||void 0===m||null===(f=m.videoAssets)||void 0===f?void 0:f.dash)||!1;if(null!=e&&e.directPlaybackUrl)return{src:null==e?void 0:e.directPlaybackUrl,type:null};if(null!=e&&e.audioAssetSource&&null!=w&&w.hls)return ye(w);if(g){var E=Ee(h,n);return E.src=ge(E.src,n,e),E}if("Safari"!==le()&&y)return Ie(h);if(I){var T=ye(h);return T.src=ge(T.src,n,e),T}if(null!=h&&h.mpeg){var b=function(e){var n=null==e?void 0:e.mpeg;return{src:n[n.length-1].url,type:"video/mp4"}}(h);return b.src=ge(b.src,n,e),b}return null},Ie=function(e){var n=null==e?void 0:e.dash;return n?{src:n,type:"application/dash+xml"}:null},ye=function(e){var n=null==e?void 0:e.hls;return n?{src:n,type:"application/x-mpegURL"}:null},Ee=function(e,n){var t=(null==e?void 0:e.drmProvider)||null,i=e.fairPlayCmaf||e.fairPlay,l=e.widevine,a=e.playReady,d=le();if(r(n),"Safari"===d){var u=function(e){var n=e.url;return{src:n,type:"application/x-mpegURL",keySystems:{"com.apple.fps.1_0":{getCertificate:function(n,t){var i={uri:e.certificateUrl,method:"GET",responseType:"arraybuffer"};o.xhr(i,(function(e,n,o){console.log(e),e&&t(e),t(null,new Uint8Array(o))}))},getContentId:function(e,n){if(n){var t=n.indexOf("\0")+1;return n.slice(t)}},getLicense:function(n,t,i,r){var l={uri:e.licenseUrl,method:"POST",responseType:"arraybuffer",body:i,headers:{"Content-type":"application/octet-stream","X-AxDRM-Message":e&&e.licenseToken}};o.xhr(l,(function(e,n,t){console.log(e),e&&r(e),r(null,t)}))}}}}}(i);return Te(n),u}var s,c={src:l.url,type:"application/dash+xml"};return"caliente"==(null===(s=window)||void 0===s?void 0:s.siteName)?(Te(n),c.keySystems={"com.widevine.alpha":{url:l.licenseUrl,licenseHeaders:{"X-AxDRM-Message":l.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"},"com.microsoft.playready":{url:null==a?void 0:a.licenseUrl,licenseHeaders:{"X-AxDRM-Message":null==a?void 0:a.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}}):"custom"==t?(c.keySystemOptions=[],c.keySystemOptions.push({name:"com.widevine.alpha",options:{serverURL:l.licenseUrl,httpRequestHeaders:{"Content-Type":"application/octet-stream"},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}}),c.keySystemOptions.push({name:"com.microsoft.playready",options:{serverURL:null==a?void 0:a.licenseUrl,httpRequestHeaders:{"Content-Type":"application/octet-stream"},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}})):(c.keySystemOptions=[],c.keySystemOptions.push({name:"com.widevine.alpha",options:{serverURL:l.licenseUrl,httpRequestHeaders:{"X-AxDRM-Message":l.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}}),c.keySystemOptions.push({name:"com.microsoft.playready",options:{serverURL:null==a?void 0:a.licenseUrl,httpRequestHeaders:{"X-AxDRM-Message":null==a?void 0:a.licenseToken},videoRobustness:"SW_SECURE_CRYPTO",audioRobustness:"SW_SECURE_CRYPTO"}})),c};var Te=function(e){var n=r(e);if("function"==typeof n.eme)try{n.eme(),"Safari"==le()&&n.eme.initLegacyFairplay()}catch(e){console.log("EME ERROR :",e)}},be=function(e,n){var t=e.src,o=e.type;if(!t||"string"!=typeof t||!t.includes(".com"))return{src:t,type:o};n=n.replace(/\/$/,"");var i=t.split(".com")[1]||"";return{src:i?"".concat(n).concat(i):t,type:o}},Se=function(e,n){if(import("./error-2395864b.js").then((function(e){var n=document.createElement("style");n.id="errorblock",n.append("".concat(e.default)),document.head.appendChild(n)})),document.getElementsByClassName("error-container")[0]){var t=document.getElementsByClassName("error-message")[0];t&&(t.innerHTML="".concat(n))}else{var o=document.getElementById(e);if(o){var i=document.createElement("div");i.className="error-container";var r=document.createElement("div");r.className="error-message",r.innerHTML="".concat(n),i.appendChild(r),o.append(i)}}},_e=function(){document.getElementsByClassName("error-container")[0]&&document.getElementsByClassName("error-container")[0].remove()};var Oe=!1,Ae=function(e,n,t){var o=ge(n,e,t),i=r(e);if(n&&window.google){if("function"!=typeof i.ima&&"object"!==g(i.ima))return;i.ima.initializeAdDisplayContainer&&i.ima.initializeAdDisplayContainer(),function(e,n){var t,o,i,l=r(e);if(null!==l.el_){Oe=!0;var a={id:e,adTagUrl:"".concat(n),adLabel:"Your video will resume after this sponsor message"};l.ima.initializeAdDisplayContainer&&l.ima.initializeAdDisplayContainer(),Oe&&null!==l.el_&&("function"==typeof l.ima?l.ima(a):setTimeout((function(){l.ima.setContentWithAdTag(null,n,!0),l.ima.requestAds()}),1e3));var d=document.getElementById("".concat(e));(navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i))&&d.hasAttribute("controls")&&d.removeAttribute("controls");var u="click",s=!1;(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i))&&(s=!0,u="touchend"),l.one(u,(function(){s&&l.ima.initializeAdDisplayContainer()}));var c=(null===(t=window)||void 0===t||null===(o=t.customData)||void 0===o||null===(i=o.ads)||void 0===i?void 0:i.adEventHandler)||null;l.one("ads-ad-started",(function(){c&&c({status:"STARTED",msg:"Advertisement Started"})})),l.one("ads-manager",(function(e){var n=e.adsManager;n.addEventListener(google.ima.AdEvent.Type.COMPLETE,(function(){c&&c({status:"ENDED",msg:"Advertisement Ended"})})),n.addEventListener(google.ima.AdEvent.Type.LOADED,(function(e){c&&c({status:"LOADED",msg:"Advertisement Loaded",data:e})}))})),l.on("adserror",(function(e){c&&c({status:"ERROR",msg:"Advertisement Error"})}))}}(e,o)}};function De(e,n){var t,o,i,l=r(e),a=null==l||null===(t=l.controlBar)||void 0===t||null===(o=t.playToggle)||void 0===o?void 0:o.el_,d=document.getElementsByTagName("video")[0];null===(i=document)||void 0===i||i.addEventListener("keydown",(function(t){var o,i,r,u,s,c,v,m,f;if(Pe.enabled&&!t.metaKey&&!t.ctrlKey&&"input"!=t.target.localName&&"textarea"!=t.target.localName){var p=t.key,g=!0===n.liveVideo||!0===n.liveui;switch([" ","m","M","f","F","ArrowLeft","ArrowRight"].includes(p)&&(t.preventDefault(),null==d||d.focus()),p){case" ":null==a||a.click();break;case"m":case"M":l.muted(!l.muted());break;case"f":case"F":null===(o=document.querySelector(".vjs-fullscreen-control"))||void 0===o||o.click();break;case"ArrowLeft":g&&!1===n.liveui||_n(e,10);break;case"ArrowRight":if("MEDIA_TAILOR"==(null===(i=window)||void 0===i||null===(r=i.app_data)||void 0===r||null===(u=r.appcmsMain)||void 0===u||null===(s=u.adsConfig)||void 0===s?void 0:s.vodAdSticherProvider)&&null!==(c=window)&&void 0!==c&&null!==(v=c.app_data)&&void 0!==v&&null!==(m=v.appcmsMain)&&void 0!==m&&null!==(f=m.adsConfig)&&void 0!==f&&f.vodAdClientSideTracking)return;g||Sn(e,10)}}}),!0)}var Le,Pe=(Le=!0,{enable:function(){Le=!0},disable:function(){Le=!1},get enabled(){return Le}}),ke="ssai-breakStart",Fe="ssai-adImpression",Ce="ssai-firstQuartile",Re="ssai-midpoint",je="ssai-thirdQuartile",Ne="ssai-complete",Ve="ssai-breakEnd",We={breakStart:ke,impression:Fe,firstQuartile:Ce,midpoint:Re,thirdQuartile:je,complete:Ne,breakEnd:Ve};function Be(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r(e);if(!t)return console.error("[SSAI] Player instance not found"),{};var o=n.eventType,i=We[o];i&&t.trigger(i,n)}function Ue(e){var n=r(e);if(!n)return console.error("[SSAI] Player instance not found"),{};var t=function(e,t){var o=function(e,n){return t(n)};return n.on(e,o),function(){return n.off(e,o)}};return{adBreakStart:function(e){return t(ke,e)},adImpression:function(e){return t(Fe,e)},adFirstQuartile:function(e){return t(Ce,e)},adMidpoint:function(e){return t(Re,e)},adThirdQuartile:function(e){return t(je,e)},adComplete:function(e){return t(Ne,e)},adBreakEnd:function(e){return t(Ve,e)}}}function Me(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function xe(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):Me(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}var He,Ge=(He=null,{get:function(){return He},set:function(e){He=e}});function Qe(e,n){var t,o,i,l,d,u,s,c,v,m,f,p,g=null==e?void 0:e.playerId,h=r(g);if(null!=e&&null!==(t=e.comscore)&&void 0!==t&&t.enable){var w=a(),I=(null==w||null===(o=w.video)||void 0===o?void 0:o.metadata)||[],y=(null==I?void 0:I.length)&&I.filter((function(e){return"advertisingGenre"===e.name}));if(null!==(i=y)&&void 0!==i&&i.length){var _=y.map((function(e){return e.value}));y=null==_?void 0:_.join(",")}E();var O,A,D,L=null===(l=window)||void 0===l?void 0:l.lcProgrammeDetails,P=Array.isArray(null==L?void 0:L.category)?null==L||null===(d=L.category)||void 0===d?void 0:d.join(","):(null==L?void 0:L.category)||null,k=xe(xe(xe({},null==w?void 0:w.video),null==w?void 0:w.linearchannel),{},{programId:(null==L?void 0:L.videotmsid)||null,programTitle:(null==L?void 0:L.lcProgrammeName)||null,episodeId:(null==L?void 0:L.videotmsid)||null,seasonNumber:(null==L||null===(u=L.seriesDetails)||void 0===u?void 0:u.season)||null,episodeNumber:(null==L||null===(s=L.seriesDetails)||void 0===s?void 0:s.episode)||null,episodeTitle:(null==L?void 0:L.lcSubTitle)||null,isCompleteEpisode:!!(null!=w&&null!==(c=w.video)&&void 0!==c&&c.series||null!=L&&null!==(v=L.seriesDetails)&&void 0!==v&&v.episode),genre:y||P,comscoreConfig:{implementationId:(null==e||null===(m=e.comscore)||void 0===m?void 0:m.implementationId)||null,projectId:(null==e||null===(f=e.comscore)||void 0===f?void 0:f.projectId)||null}});if(null!=k&&null!==(p=k.streamingInfo)&&void 0!==p&&p.isLiveStream&&(k.contentType="LIVE"),null==k||!k.network){var F,C=(null==k?void 0:k.metadata)||[],R=null==C||null===(F=C.find((function(e){return"network"===e.name})))||void 0===F?void 0:F.value;k.network=R||null}k.siteName=null==k?void 0:k.network,null!=k&&k.network&&null!=k&&k.genre&&(k.customGenre="".concat(k.network,"_").concat((null==k?void 0:k.programTitle)||(O=k,null!=O&&O.series?null==O||null===(D=O.series)||void 0===D?void 0:D.title:null==O||null===(A=O.gist)||void 0===A?void 0:A.title),"_").concat(k.genre)),null!=L&&L.airDate&&(k.publishDate=L.airDate);var j=T(k,h);console.log("comscoreOptions player data",j),b(xe({playerName:"Video.js"},j)),S(h)}}function Ye(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function ze(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):Ye(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}function qe(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return Ke(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ke(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){a=!0,r=e},f:function(){try{l||null==t.return||t.return()}finally{if(a)throw r}}}}function Ke(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t<n;t++)o[t]=e[t];return o}var Xe,Je=function(){var e="";return{set:function(n){n&&(e=n)},get:function(){return e}}}(),$e=(Xe=null,{set:function(e){Xe=e},get position(){return Xe}});function Ze(e,n){return en.apply(this,arguments)}function en(){return(en=n(t.mark((function e(n,o){var i,l,a,d,u,s,c,v,m,f,p,g,h,w,I,E,T,b;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(n),a=we(o,n),d=a.src,u=(null==o?void 0:o.contentType)||"video",null==o||null===(i=o[u])||void 0===i||null===(l=i.streamingInfo)||void 0===l||l.isLiveStream,s=d.replace("/dash/","/session/").replace("/master/","/session/"),s=ge(s,n,o),c=tn(s),v=y(c,2),m=v[0],f=v[1],p=nn(f)||{},s=new URL(s.split("?")[0]),Object.keys(f).length>0&&Object.entries(f).forEach((function(e){var n=y(e,2),t=n[0],o=n[1];s.searchParams.set(t,o)})),e.prev=11,e.next=14,fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ze({adsParams:ze({},m)},p))});case 14:return g=e.sent,e.next=17,g.json();case 17:return h=e.sent,w="https://"+new URL(s).hostname,I=h.trackingUrl,E=h.manifestUrl,T=w+I,b=w+E,Je.set(T),console.log("%c TRACKING URL","background: #bdf369; color: #000",T),a.src=b,e.abrupt("return",a);case 29:return e.prev=29,e.t0=e.catch(11),e.abrupt("return",a);case 32:case"end":return e.stop()}}),e,null,[[11,29]])})))).apply(this,arguments)}function nn(e){var n;return Object.fromEntries(null==Object||null===(n=Object.entries(e))||void 0===n?void 0:n.map((function(e){var n=y(e,2),t=n[0],o=n[1];return[null==t?void 0:t.replace(/^aws\./,""),String(o)]})))||{}}function tn(e){var n={};if(!e.split("?")[1])return[{},{}];var t,o=new URL(e,window.location.origin),i=qe((null==o?void 0:o.searchParams)||[]);try{for(i.s();!(t=i.n()).done;){var r=y(t.value,2),l=r[0],a=r[1];n[decodeURIComponent(l)]=decodeURIComponent(a||"")}}catch(e){i.e(e)}finally{i.f()}for(var d={},u={},s=0,c=Object.entries(n);s<c.length;s++){var v=y(c[s],2),m=v[0],f=v[1];if(m.startsWith("ads."))d[m.replace(/^ads\./,"")]=f;else u[m]=f}return[d,u]}var on,rn,ln,an,dn=(on=[],{setQueuePoints:function(e){console.log("%c Setting SGAI Queue Points ","background: #bdf369; color: #000",e),on=Array.isArray(e)?I(e):on},getQueuePoints:function(){return console.log("%c Getting SGAI Queue Points ","background: #bdf369; color: #000",on),I(on)}}),un=new Map;function sn(e,n){return cn.apply(this,arguments)}function cn(){return cn=n(t.mark((function e(o,i){var l,a,d,u,s,c,v,m,f,p,g,w,y,E,T,b,S,_,O,A,D,L;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:L=function(e,n,t,i,l,a){var d=r(o);if(!d.seeking()){n.startTimeInSeconds,n.durationInSeconds,Math.floor(d.currentTime());var u,s=qe(t);try{var c=function(){var t,r,s,c=u.value,v=c.eventType,m=c.beaconUrls,f=c.startTimeInSeconds,p=c.startTime,g=c.durationInSeconds,h=f||0,w=m,I=(null===(t=window)||void 0===t||null===(r=t.customData)||void 0===r||null===(s=r.ads)||void 0===s?void 0:s.adEventHandler)||null,y="".concat(h,"_").concat(v),E=un.get("pod-".concat(l))||[];if(console.warn(e,h,"map:",v,"condition1:",e>=h,"map:",un),e>=h&&!E.includes(y)){E.push(y),un.set("pod-".concat(l),E);try{D(v,n,w,d)}catch(e){console.error("Error when calling triggerAdBeacon:",e,v,n)}if("breakEnd"==v){var T=$e.position;$e.set(null),setTimeout((function(){null!=T&&(d.currentTime(T),a())}),500)}if("function"==typeof I)try{var b,S={eventType:v,startTimeInSeconds:f,startTime:p,durationInSeconds:g,ad:null==n||null===(b=n.ads)||void 0===b?void 0:b[i],pod:n,adIndex:i};I({adsData:S}),Be(o,S)}catch(e){console.error("Error when calling ads callback:",e)}var _=Ge.get();if(_&&0!==Object.keys(_).length){var O=_.formulateComscoreAdPayload,A=_.startComscoreAdTracking,L=_.finishComscoreAdTracking,P=_.endComscoreAdTracking;if("impression"===v){var k,F=Je.get();A(O(ze(ze({},null==n||null===(k=n.ads)||void 0===k?void 0:k[i]),{},{trackingUrl:F})))}else"complete"===v?L():"breakEnd"===v&&P()}}};for(s.s();!(u=s.n()).done;)c()}catch(e){s.e(e)}finally{s.f()}}},D=function(e,n,t,o){console.warn("%c SSAI BEACON ","background: #e25822; color: #fff",e,"Fired:".concat(Math.round(o.currentTime())),"AD_POD:",n),console.log("%c SSAI BEACON ","background: #e25822; color: #fff",e,"Fired:".concat(Math.round(o.currentTime())),"AD_POD:",n),null==t||t.forEach((function(e){fetch(e,{mode:"no-cors"}).catch((function(n){console.warn("Beacon failed:",e,n)}))}))},A=function(e){var n=Math.floor(e/60),t=Math.floor(e%60);return"".concat(n,":").concat(t.toString().padStart(2,"0"))},un.clear(),$e.set(i),f=Je.get(),(p=r(o)).one("loadeddata",(function(){f&&O(f)})),g=new Map,w=new Map,y=-1,E=(null===(l=document)||void 0===l||null===(a=l.getElementsByClassName("tvProviderImage"))||void 0===a?void 0:a[0])||null,T=(null==p||null===(d=p.controlBar)||void 0===d?void 0:d.getChild("videoSelector"))||null,b=(null==p||null===(u=p.controlBar)||void 0===u?void 0:u.getChild("seriesV2"))||null,S=(null==p||null===(s=p.el())||void 0===s||null===(c=s.getElementsByClassName("vjs-button vjs-rewind-button"))||void 0===c?void 0:c[0])||null,_=(null==p||null===(v=p.el())||void 0===v||null===(m=v.getElementsByClassName("vjs-button vjs-skip-button"))||void 0===m?void 0:m[0])||null,O=function(){var e=n(t.mark((function e(n){var l,a,d,u,s,c,v,m,f,p,O,D,P,k,F,C,R,j,N,V,W,B,U,M;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return V=function(e){document.removeEventListener("pointermove",N),document.removeEventListener("pointerup",V),0===e.button&&R()},N=function(e){},j=function(){var e,n=p.currentTime(),t=null,o=qe(f);try{for(o.s();!(e=o.n()).done;){var i=e.value,r=i.startTimeInSeconds,l=i.durationInSeconds,a=(i.ads,Math.floor(r+l));n>=r&&n<=a&&(t=a,g.set(r,!0))}}catch(e){o.e(e)}finally{o.f()}null!==t&&(console.log("Seeking to end of the ad pod:",t),setTimeout((function(){p.currentTime(t+2.2)}),100))},R=function(){var e,n=p.currentTime(),t=null,o=qe(f);try{for(o.s();!(e=o.n()).done;){var i=e.value,r=i.startTimeInSeconds,l=i.durationInSeconds,a=i.ads,d=Math.floor(r+l);(Array.isArray(a)&&(null==a?void 0:a.length)>0&&(n>d||n>r)&&!g.has(r)||n>=r&&n<=d)&&(t=r,g.set(r,!0),w.set(r,!0))}}catch(e){o.e(e)}finally{o.f()}null!==t&&(console.log("Seeking back to ad pod:",t),setTimeout((function(){p.currentTime(t+.4)}),100))},s=!1,e.next=7,fetch(n);case 7:return c=e.sent,e.next=10,c.json();case 10:v=e.sent,console.log("%c TRACKING URL RESPONSE ","background: #d9e7ff; color: #000",v),m=v.avails,f=[],p=r(o),O=p.controlBar.progressControl,D=O.seekBar.el(),null===(l=document)||void 0===l||l.querySelectorAll(".vjs-seekbar-marker").forEach((function(e){return null==e?void 0:e.remove()})),m.map((function(e,n){var t,o,i;0==n&&Array.isArray(null==e?void 0:e.ads)&&(null==e||null===(t=e.ads)||void 0===t?void 0:t.length)>0&&(s=!0),f.push({ads:null==e?void 0:e.ads,durationInSeconds:null==e?void 0:e.durationInSeconds,startTimeInSeconds:null==e?void 0:e.startTimeInSeconds,markerPositionInSeconds:Math.floor(null==e?void 0:e.startTimeInSeconds),podSlotImpressionBeacon:(null==e||null===(o=e.adBreakTrackingEvents)||void 0===o||null===(i=o.filter((function(e){return"breakStart"==(null==e?void 0:e.eventType)})))||void 0===i?void 0:i[0])||[]})})),!s&&i&&(p.currentTime(i),j()),null!=f&&f.length&&(console.log("%c SSAI AD PODS ","background: #bdf369; color: #000",f),window.adsQueueList=f,"function"==typeof(C=(null===(P=window)||void 0===P||null===(k=P.customData)||void 0===k||null===(F=k.ads)||void 0===F?void 0:F.onAdBreaksLoaded)||null)&&(null==f?void 0:f.length)>0&&C(f)),console.log(f,"data"),f.forEach((function(e){var n=e.markerPositionInSeconds,t=e.ads,o=p.duration();if(!(n>o||Array.isArray(t)&&0==(null==t?void 0:t.length))){var i=n/o*100,r=document.createElement("div");r.className="vjs-seekbar-marker",r.style.left="".concat(i,"%"),r.style.position="absolute",r.style.top="0",r.style.bottom="0",r.style.width="2px",r.style.backgroundColor="#fecc09",r.style.left="".concat(i,"%"),r.style.pointerEvents="none",D.appendChild(r)}})),p._timeUpdateHandler&&p.off("timeupdate",p._timeUpdateHandler),p._timeUpdateHandler=h((function(){var e=p.currentTime();if(e!==y){y=e;for(var n=!1,t=function(){var t=f[o],i=t.startTimeInSeconds,r=t.durationInSeconds,l=t.ads,a=i+r;if(e>=i-1.2&&e<=a+1.2){e>=i&&e<=a&&Array.isArray(l)&&(null==l?void 0:l.length)>0&&(n=!0),e>a&&g.set(i,!0),Pe.disable(),E&&E.classList.add("vjs-hidden"),S&&(S.style.pointerEvents="none",S.classList.add("vjs-hidden")),_&&(_.style.pointerEvents="none",_.classList.add("vjs-hidden")),T&&(T.el().style.pointerEvents="none",T.el().classList.add("vjs-hidden")),b&&(b.el().style.pointerEvents="none",b.el().classList.add("vjs-hidden")),O.el().classList.add("hide-progress-bar");for(var d=e-i,u=0,s=0,c=0;c<l.length;c++){var v,m=null==l||null===(v=l[c])||void 0===v?void 0:v.durationInSeconds;if(d<u+m){s=c;break}u+=m}l[s];var p=Math.max(0,r-d),h=Math.round(p);W.style.display="block",M.textContent="".concat(s+1," of ").concat(l.length," • ").concat(A(h));var y=[];return null==l||l.forEach((function(e){var n=e.trackingEvents.filter((function(e){return["breakStart","breakEnd","firstQuartile","secondQuartile","thirdQuartile","fourthQuartile","midpoint","impression","complete"].includes(e.eventType)}));y.push.apply(y,I(n))})),Array.isArray(l)&&0==(null==l?void 0:l.length)&&y.push(null==t?void 0:t.podSlotImpressionBeacon),L(e,t,y,s,o,j),"break"}w.delete(i)},o=0;o<f.length;o++){if("break"===t())break}n||(W.style.display="none",O.el().classList.remove("hide-progress-bar"),T&&(T.el().style.pointerEvents="auto",T.el().classList.remove("vjs-hidden")),b&&(b.el().style.pointerEvents="auto",b.el().classList.remove("vjs-hidden")),E&&E.classList.remove("vjs-hidden"),S&&(S.style.pointerEvents="auto",S.classList.remove("vjs-hidden")),_&&(_.style.pointerEvents="auto",_.classList.remove("vjs-hidden")),Pe.enable())}}),1e3),p.on("timeupdate",p._timeUpdateHandler),null===(a=document)||void 0===a||a.addEventListener("keydown",(function(e){Pe.enabled&&"ArrowRight"==e.key&&(R(),Sn(o,10),e.stopPropagation())})),O.el().addEventListener("pointerdown",(function(e){0===e.button&&(document.addEventListener("pointermove",N),document.addEventListener("pointerup",V))})),null===(d=document)||void 0===d||null===(u=d.querySelectorAll(".ssai-ad-container"))||void 0===u||u.forEach((function(e){return null==e?void 0:e.remove()})),(W=document.createElement("div")).className="ssai-ad-container",(B=document.createElement("div")).className="sponsored-adbox",(U=document.createElement("div")).className="sponsored-text",U.textContent="Sponsored Ad",B.append(U),(M=document.createElement("div")).className="ad-counter",document.createElement("div").className="ad-timer",W.append(B),W.append(M),p.el().appendChild(W);case 45:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();case 18:case"end":return e.stop()}}),e)}))),cn.apply(this,arguments)}function vn(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return mn(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?mn(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){a=!0,r=e},f:function(){try{l||null==t.return||t.return()}finally{if(a)throw r}}}}function mn(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t<n;t++)o[t]=e[t];return o}function fn(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function pn(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):fn(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}var gn={},hn=(null===(rn=window)||void 0===rn||null===(ln=rn.location)||void 0===ln||null===(an=ln.search)||void 0===an?void 0:an.includes("debug=true"))||!1,wn=null;function In(e){return yn.apply(this,arguments)}function yn(){return yn=n(t.mark((function e(o){var i,l,a,d,u,s,c,v,m,f,p,g,w,y,E,T,b,S,_,O,A,D,L,P,k,F,C;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:C=function(e,n,t,i,l){var a,d,u=r(o);if(!u.seeking()){var s=n.startTimeInSeconds;n.durationInSeconds;var c=(null==n||null===(a=n.ads)||void 0===a||null===(d=a[i])||void 0===d?void 0:d.adId)||s;Math.floor(u.currentTime());var v,m=vn(t);try{for(m.s();!(v=m.n()).done;){var f,p,g,h=v.value,w=h.eventType,I=h.beaconUrls,y=h.startTimeInSeconds,E=h.startTime,T=h.durationInSeconds,b=(h.eventId,y||s),S=I,_=(null===(f=window)||void 0===f||null===(p=f.customData)||void 0===p||null===(g=p.ads)||void 0===g?void 0:g.adEventHandler)||null,O="".concat(c,"_").concat(w),A="pod-".concat(s);P.has(A)||P.set(A,new Set);var D=P.get(A);if(hn&&console.warn(e,b,"map:",w,"condition1:",e>=b,"map:",P),e>=b&&e<=b+k&&!D.has(O)){D.add(O);try{F(w,n,S,u)}catch(e){console.error("Error when calling triggerAdBeacon:",e,w,n)}if("function"==typeof _)try{var L,C={eventType:w,startTimeInSeconds:y,startTime:E,durationInSeconds:T,ad:null==n||null===(L=n.ads)||void 0===L?void 0:L[i],pod:n,adIndex:i};_({adsData:C}),Be(o,C)}catch(e){console.error("Error when calling ads callback:",e)}}}}catch(e){m.e(e)}finally{m.f()}}},F=function(e,n,t,o){var i,r,l;"breakEnd"===e&&(null===(i=gn)||void 0===i?void 0:i.currentAdIndex)+1!=(null===(r=gn)||void 0===r?void 0:r.totalAds)&&(null==n||null===(l=n.ads)||void 0===l?void 0:l.length)>0||(hn&&console.warn("%c SSAI BEACON ","background: #e25822; color: #fff",e,"Fired:".concat(Math.round(o.currentTime())),"AD_POD:",n),null==t||t.forEach((function(e){fetch(e,{mode:"no-cors"}).catch((function(n){console.warn("Beacon failed:",e,n)}))})))},p=function(){wn&&clearInterval(wn)},m=Je.get(),(f=r(o)).one("loadeddata",(function(){p(),wn=setInterval((function(){m&&!f.paused()&&L(m)}),2e3)})),f.on("dispose",(function(){p()})),g=new Map,w=new Map,y=-1,E=null,T=(null===(i=document)||void 0===i||null===(l=i.getElementsByClassName("tvProviderImage"))||void 0===l?void 0:l[0])||null,b=(null==f||null===(a=f.controlBar)||void 0===a?void 0:a.getChild("videoSelector"))||null,S=(null==f||null===(d=f.controlBar)||void 0===d?void 0:d.getChild("seriesV2"))||null,_=(null==f||null===(u=f.el())||void 0===u||null===(s=u.getElementsByClassName("vjs-button vjs-rewind-button"))||void 0===s?void 0:s[0])||null,O=(null==f||null===(c=f.el())||void 0===c||null===(v=c.getElementsByClassName("vjs-button vjs-skip-button"))||void 0===v?void 0:v[0])||null,A=!1,D=function(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(0==(null==t?void 0:t.length))return I(o);var i=[],r=null==o?void 0:o.find((function(e){return"breakEnd"===(null==e?void 0:e.eventType)})),l=(null==r||null===(e=r.beaconUrls)||void 0===e?void 0:e.find((function(e){return e.includes("videoView")})))||null,a=(null==t?void 0:t.length)>1?null==t?void 0:t[(null==t?void 0:t.length)-1]:null==t?void 0:t[0],d=null==a||null===(n=a.trackingEvents)||void 0===n?void 0:n.filter((function(e){return["breakEnd"].includes(null==e?void 0:e.eventType)})),u=(null==d?void 0:d.some((function(e){var n;return null==e||null===(n=e.beaconUrls)||void 0===n?void 0:n.some((function(e){return e.includes("videoView")}))})))||!1;if(!u&&l){var s=null==d?void 0:d.map((function(e){return pn(pn({},e),{},{eventType:"videoView",beaconUrls:[l]})}));null!=s&&s[0]&&i.push(null==s?void 0:s[0])}return i},L=function(){var e=n(t.mark((function e(n){var i,l,a,d,u,s,c,v,m,f,p,L,P,k;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=new URL(n),E&&l.searchParams.append("nextToken",E),e.next=4,fetch(l.toString(),{method:"GET"});case 4:return a=e.sent,e.next=7,a.json();case 7:d=e.sent,u=d.avails,s=d.nextToken||null,E=s,c=[],v=r(o),m=v.controlBar.progressControl,f=m.seekBar.el(),null===(i=document)||void 0===i||i.querySelectorAll(".vjs-seekbar-marker").forEach((function(e){return null==e?void 0:e.remove()})),u.map((function(e,n){c.push({ads:null==e?void 0:e.ads,durationInSeconds:null==e?void 0:e.durationInSeconds,startTimeInSeconds:null==e?void 0:e.startTimeInSeconds,markerPositionInSeconds:Math.floor(null==e?void 0:e.startTimeInSeconds),podSlotImpressionBeacon:D(null==e?void 0:e.ads,null==e?void 0:e.adBreakTrackingEvents)})})),hn&&console.log("%c SSAI AD PODS ","background: #bdf369; color: #000",c),null!=c&&c.length&&(window.adsQueueList=c,"function"==typeof(k=(null===(p=window)||void 0===p||null===(L=p.customData)||void 0===L||null===(P=L.ads)||void 0===P?void 0:P.onAdBreaksLoaded)||null)&&(null==c?void 0:c.length)>0&&k(c)),c.forEach((function(e){var n=e.markerPositionInSeconds,t=e.ads,o=v.duration();if(!(n>o||Array.isArray(t)&&0==(null==t?void 0:t.length))){var i=n/o*100,r=document.createElement("div");r.className="vjs-seekbar-marker",r.style.left="".concat(i,"%"),r.style.position="absolute",r.style.top="0",r.style.bottom="0",r.style.width="2px",r.style.backgroundColor="#fecc09",r.style.left="".concat(i,"%"),r.style.pointerEvents="none",f.appendChild(r)}})),v._timeUpdateHandler&&v.off("timeupdate",v._timeUpdateHandler),v._timeUpdateHandler=h((function(){var e=v.currentTime();if(e!==y){y=e;for(var n=function(){var n=c[t],o=n.startTimeInSeconds,i=n.durationInSeconds,r=n.ads,l=o+i;if(e>=o-1.2&&e<=l+1.2){var a;A=!!(e>=o&&e<=l&&Array.isArray(r)&&(null==r?void 0:r.length)>0),e>l&&g.set(o,!0),Pe.disable(),T&&T.classList.add("vjs-hidden"),_&&(_.style.pointerEvents="none",_.classList.add("vjs-hidden")),O&&(O.style.pointerEvents="none",O.classList.add("vjs-hidden")),b&&(b.el().style.pointerEvents="none",b.el().classList.add("vjs-hidden")),S&&(S.el().style.pointerEvents="none",S.el().classList.add("vjs-hidden")),m.el().classList.add("hide-progress-bar");for(var d=e-o,u=0,s=0,v=0;v<r.length;v++){var f,p=null==r||null===(f=r[v])||void 0===f?void 0:f.durationInSeconds;if(d<u+p){s=v;break}u+=p}setTimeout((function(){gn.totalAds=null==r?void 0:r.length,gn.currentAdIndex=s}),1e3);var h=[];return null==r||r.forEach((function(e){var n=e.trackingEvents.filter((function(e){return["breakStart","breakEnd","firstQuartile","secondQuartile","thirdQuartile","fourthQuartile","midpoint","impression","complete"].includes(e.eventType)}));h.push.apply(h,I(n))})),(null==n||null===(a=n.podSlotImpressionBeacon)||void 0===a?void 0:a.length)>0&&h.push.apply(h,I(null==n?void 0:n.podSlotImpressionBeacon)),C(e,n,h,s),"break"}w.delete(o)},t=0;t<c.length;t++){if("break"===n())break}A||(gn={},m.el().classList.remove("hide-progress-bar"),b&&(b.el().style.pointerEvents="auto",b.el().classList.remove("vjs-hidden")),S&&(S.el().style.pointerEvents="auto",S.el().classList.remove("vjs-hidden")),T&&T.classList.remove("vjs-hidden"),_&&(_.style.pointerEvents="auto",_.classList.remove("vjs-hidden")),O&&(O.style.pointerEvents="auto",O.classList.remove("vjs-hidden")),Pe.enable())}}),1e3),v.on("timeupdate",v._timeUpdateHandler);case 23:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),P=new Map,k=2.5;case 22:case"end":return e.stop()}}),e)}))),yn.apply(this,arguments)}function En(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}var Tn=function(e){o(e).play()},bn=function(e){o(e).pause()},Sn=function(e,n){var t=o(e),i=t.currentTime()+n;t.currentTime(i)},_n=function(e,n){var t=o(e),i=t.currentTime(),r=i<=n?0:i-n;t.currentTime(r)},On=function(e){return!!o.getPlayer("".concat(e))},An=function(e){return o(e).paused()},Dn=function(){var e=n(t.mark((function e(o,i){var l,a,d,u=arguments;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=u.length>2&&void 0!==u[2]&&u[2],e.next=3,z();case 3:return a=e.sent,d=r(o),e.abrupt("return",new Promise((function(e,r){var u=(null==i?void 0:i.programs)||[];null==i||delete i.programs,j(i,a).then(function(){var r=n(t.mark((function n(r){var a,s,v,f,p,g,h,w;return t.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(g=null==r?void 0:r.data,window.sid=Z(),g.contentType="linearchannel",g.channelId=null==i?void 0:i.channelId,h=(null==g||null===(a=g.linearchannel)||void 0===a?void 0:a.isSSAIEnabled)&&"MEDIA_TAILOR"==(null===(s=window)||void 0===s||null===(v=s.app_data)||void 0===v||null===(f=v.appcmsMain)||void 0===f||null===(p=f.adsConfig)||void 0===p?void 0:p.vodAdSticherProvider)||!1,w=we(g,o),!h){n.next=11;break}return n.next=9,Ze(o,g);case 9:w=n.sent,l=!0;case 11:c(g),m(u),sessionStorage.setItem("program_switched",!0),w&&l?(Cn(o,w),h&&In(o),d.on("loadstart",(function(){e({status:!0,msg:"Feed authenticated and loaded",response:g})}))):e({status:!0,msg:"Feed authenticated",response:g});case 15:case"end":return n.stop()}}),n)})));return function(e){return r.apply(this,arguments)}}()).catch((function(e){r({status:!1,msg:"Cannot load feed",response:e})}))})));case 6:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Ln=function(){var e=n(t.mark((function e(o,i,l){var a,d,s,m,g,h,w;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z();case 2:return m=e.sent,(u()||null)&&v(i),g=0,h=0,w=null,null!==(a=window)&&void 0!==a&&a.watchHistory&&null!==(d=window)&&void 0!==d&&null!==(s=d.watchHistory)&&void 0!==s&&s.enable&&W(i,m).then((function(e){var n,t,o,i,r,l,a;(null!==(n=window)&&void 0!==n&&null!==(t=n.watchHistory)&&void 0!==t&&t.cb&&(null===(o=window)||void 0===o||null===(i=o.watchHistory)||void 0===i||i.cb(null==e?void 0:e.data)),g=(null==e||null===(r=e.data)||void 0===r?void 0:r.watchedTime)||null,(h=(null==e||null===(l=e.data)||void 0===l?void 0:l.watchedPercentage)||null)<95)&&(w=(null==e||null===(a=e.data)||void 0===a?void 0:a.watchedTime)||null)})).catch((function(e){var n,t,o,i;null!==(n=window)&&void 0!==n&&null!==(t=n.watchHistory)&&void 0!==t&&t.cb&&(null===(o=window)||void 0===o||null===(i=o.watchHistory)||void 0===i||i.cb(e))})),e.abrupt("return",new Promise((function(e,l){R(i,m).then(function(){var i=n(t.mark((function n(i){var a,d,u,s,v,m,I,y,E,T,b,S,_,O,A,D,L,P,k,F,C,R,j,N,V,W,B,U,M,x,H,G,Q,Y,z,q,K,X;return t.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(D=null==i?void 0:i.data,L=(null==D?void 0:D.contentType)||"video",P=(null==D||null===(a=D[L])||void 0===a?void 0:a.isSSAIEnabled)&&"MEDIA_TAILOR"==(null===(d=window)||void 0===d||null===(u=d.app_data)||void 0===u||null===(s=u.appcmsMain)||void 0===s||null===(v=s.adsConfig)||void 0===v?void 0:v.vodAdSticherProvider)||!1,k=(null==D||null===(m=D.video)||void 0===m||null===(I=m.streamingInfo)||void 0===I?void 0:I.isLiveStream)||!1,c(i.data),(F=(null==D||null===(y=D.ads)||void 0===y||null===(E=y.preRoll)||void 0===E||null===(T=E.adTags)||void 0===T||null===(b=T.web)||void 0===b?void 0:b.active)&&(null==D||null===(S=D.ads)||void 0===S||null===(_=S.preRoll)||void 0===_||null===(O=_.adTags)||void 0===O||null===(A=O.web)||void 0===A?void 0:A.url))&&Ae(o,F,D),C=we(D,o),!P){n.next=12;break}return n.next=11,Ze(o,D);case 11:C=n.sent;case 12:C?(G=(null==D||null===(R=D.video)||void 0===R||null===(j=R.gist)||void 0===j?void 0:j.videoImageUrl)||(null==D||null===(N=D.video)||void 0===N||null===(V=N.gist)||void 0===V||null===(W=V.imageGist)||void 0===W?void 0:W.r16x9),(Q=r(o)).poster(G),Cn(o,C),P&&sn(o,w),Q.on("loadstart",(function(){k&&e({status:!0,msg:"Video Loaded",response:D})})),Q.on("loadeddata",(function(){_e(),e({status:!0,msg:"Video Loaded",response:D})})),Q.one("play",(function(){g&&!P&&h<95&&setTimeout((function(){Q.currentTime(g)}),0)})),Q.one("error",(function(){var e;l({status:!1,msg:(null==Q||null===(e=Q.error())||void 0===e?void 0:e.message)||"Some error occured"})})),(null==D||null===(B=D.video)||void 0===B||null===(U=B.contentDetails)||void 0===U||null===(M=U.closedCaptions)||void 0===M?void 0:M.length)>0||(null==D||null===(x=D.video)||void 0===x||null===(H=x.closedCaptions)||void 0===H?void 0:H.length)>0?(X=(null==D||null===(z=D.video)||void 0===z||null===(q=z.contentDetails)||void 0===q?void 0:q.closedCaptions)||(null==D||null===(K=D.video)||void 0===K?void 0:K.closedCaptions),Y=X.filter((function(e){return"VTT"===e.format})),f(o,Y)):p(o)):(Se(o,"Incompatible Source, only hls,mp4,drm content is allowed"),l("Incompatible Source, only hls,mp4,drm content is allowed"));case 13:case"end":return n.stop()}}),n)})));return function(e){return i.apply(this,arguments)}}()).catch((function(e){Rn(e,o,l,i)}))})));case 10:case"end":return e.stop()}}),e)})));return function(n,t,o){return e.apply(this,arguments)}}(),Pn=function(e,n,t){var o=r(e);return o.src(n),new Promise((function(e,n){var i=0;o.one("loadedmetadata",(function(){clearTimeout(i),e({status:!0,msg:"video loaded"})})),o.one("loadstart",(function(e){i=setTimeout((function(){n("FAILED: Took too long to load")}),t)}))}))},kn=function(e){var n=(Ge.get()||{}).destroyComscoreTag,t=r(e);if(Fn(),"function"==typeof n&&n(),w(),window.onresize=null,t)t.dispose();else{var o=document.getElementById(e);o&&o.remove()}},Fn=function(){document.getElementById("carousel_homepage")&&document.getElementById("carousel_homepage").remove(),document.getElementById("dvr_skin")&&document.getElementById("dvr_skin").remove(),document.getElementById("nondvr_skin")&&document.getElementById("nondvr_skin").remove(),document.getElementById("multicam")&&document.getElementById("multicam").remove(),document.getElementById("errorblock")&&document.getElementById("errorblock").remove(),document.getElementById("def_skin")&&document.getElementById("def_skin").remove(),document.getElementById("video-selection")&&document.getElementById("video-selection").remove(),document.getElementById("multicam-v2")&&document.getElementById("multicam-v2").remove(),document.getElementById("default_v2")&&document.getElementById("default_v2").remove(),document.getElementById("video-captions")&&document.getElementById("video-captions").remove(),document.getElementById("playlist-selection")&&document.getElementById("playlist-selection").remove(),document.getElementById("multiplayer_css")&&document.getElementById("multiplayer_css").remove(),document.getElementById("chromett")&&document.getElementById("chromett").remove()},Cn=function(e,n){var t=r(e);t&&t.src(n)},Rn=function(n,t,o,i){var r,l,a,d,u,s,c=null==n||null===(r=n.response)||void 0===r||null===(l=r.data)||void 0===l?void 0:l.errorCode,v=(null==n||null===(a=n.response)||void 0===a||null===(d=a.data)||void 0===d?void 0:d.errorMessage)||(null==n?void 0:n.message);On(t)&&Se(t,(null===(u=window)||void 0===u?void 0:u.customErrors)&&(null===(s=window)||void 0===s?void 0:s.customErrors[c])||"".concat(v)),o&&o(function(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?En(Object(o),!0).forEach((function(t){e(n,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):En(Object(o)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}))}return n}({status:!1,response:n,msg:"".concat(v)},i&&{videoId:i}))},jn=function(e){var n=document.getElementById(e),t=n.getElementsByClassName("vjs-control-bar")[0];t&&(t.style.visibility="hidden");var o=n.getElementsByClassName("vjs-big-play-button")[0];o&&(o.style.display="none");var i=n.getElementsByClassName("vjs-fullscreen-control")[0];i&&(i.style.display="none")},Nn=function(e){var n,t=r(e);return!(null!=t&&null!==(n=t.liveTracker)&&void 0!==n&&n.atLiveEdge())||null};export{Tn as A,bn as B,_n as C,On as D,Ln as E,Dn as F,kn as G,M as H,dn as I,Ue as J,Nn as K,U as L,q as M,G as N,x as O,O as P,un as Q,De as R,ae as S,An as T,In as U,sn as V,B as W,se as a,ue as b,Ge as c,le as d,we as e,_e as f,ee as g,Se as h,Qe as i,jn as j,re as k,Cn as l,Ae as m,be as n,Ze as o,K as p,R as q,W as r,V as s,Rn as t,z as u,j as v,N as w,de as x,Pn as y,Sn as z};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fires internal player events which are generic for all skins
|
|
3
|
-
* @param {String} [playerId] [playerId of the player]
|
|
4
|
-
*/
|
|
5
|
-
export function globalPlayerEvents(playerId?: string, config: any, feedback: any, { res, sres }: {
|
|
6
|
-
res: any;
|
|
7
|
-
sres: any;
|
|
8
|
-
}): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as e}from"./currentVideoInfo-a8a254c2.js";function t(e){var t=e||{},n=t.dvrConfig,a=t.epg;return!(!t.isDvrEnabled||null==n||!n.enable)&&(null==a||!a.enable||c(a))}function n(e,t){var n=e.seekable();if(n&&n.length>0){var a=d(e,t);e.currentTime(a),e.play(),v({player:e,showWatchLive:!0,showStartOver:!0})}}function a(e){e&&e.seekable()&&(e.currentTime(e.seekable().end(0)),e.play(),v({player:e,showWatchLive:!1,showStartOver:!0}))}function l(e,t){var n=s(t);n?function(e,t){if(e&&e.seekable()){var n=Math.min(t,e.seekable().end(0));e.currentTime(n),e.play(),v({player:e,showWatchLive:!0,showStartOver:!0})}}(e,n):a(e)}function r(e,t){e.bigPlayButton.show(),e.controlBar.show(),t&&(t.style.display="none")}function o(e){var t,n;r(e,document.querySelector(".vjs-dvr-btn-overlay")),null==e||null===(t=e.startFromBeginningButton)||void 0===t||t.hide(),null==e||null===(n=e.watchLiveButton)||void 0===n||n.hide()}function i(e){e.pause(),e.bigPlayButton.hide(),e.controlBar.hide()}function u(e,t){sessionStorage.setItem("lastWatchedPosition-".concat(e),t.toFixed(2))}function s(e){return parseFloat(sessionStorage.getItem("lastWatchedPosition-".concat(e))||"0")}function d(t,n){var a=n||{},l=a.dvrConfig,r=a.epg,o=e()||[],i=null==l?void 0:l.startOverTime,u=0;if(i&&(u=i),null!=r&&r.enable&&c(r)&&null!=o&&o.length){var s=new Date,d=o.find((function(e){var t=new Date(e.formatted_startdate),n=new Date(e.formatted_enddate);return s>=t&&s<n})),v=t.seekable();if(v&&v.length>0){var h=v.start(0);if(u=h,null!=d&&d.formatted_startdate){var f=v.end(v.length-1)-h;u=h+(new Date(d.formatted_startdate).getTime()-new Date(s-1e3*f).getTime())/1e3}}}return u}var v=function(e){var t=e.player,n=e.showWatchLive,a=void 0===n||n,l=e.showStartOver,r=void 0===l||l;if(t.liveTracker){var o,i,u,s,d=t.liveTracker.atLiveEdge(),v=t.controlBar.getChild("SeekToLive");if(d?null==v||v.show():null==v||v.hide(),a)null==t||null===(o=t.watchLiveButton)||void 0===o||o.show();else null==t||null===(i=t.watchLiveButton)||void 0===i||i.hide();if(r)null==t||null===(u=t.startFromBeginningButton)||void 0===u||u.show();else null==t||null===(s=t.startFromBeginningButton)||void 0===s||s.hide()}},c=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=JSON.parse(sessionStorage.getItem("epgConfig"))||n;return(null==a||null===(e=a.contentType)||void 0===e?void 0:e.includes("game"))&&"LIVE"===(null==a||null===(t=a.programSubType)||void 0===t?void 0:t.toUpperCase())};function h(t){var n=(t||{}).epg,a=e()||[],l="";if(null!=n&&n.enable&&c(n)&&null!=a&&a.length){var r=new Date,o=a.find((function(e){var t=new Date(e.formatted_startdate),n=new Date(e.formatted_enddate);return r>=t&&r<n}));l=null!=o&&o.thumbnail?null==o?void 0:o.thumbnail:""}return l}export{l as a,h as b,t as c,i as d,d as e,r as f,s as g,v as h,a as i,n as p,o as r,u as s};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export function setCurrentSeries(data: any): void;
|
|
2
|
-
export function setCurrentVideo(data: any): void;
|
|
3
|
-
export function getCurrentSeries(): any;
|
|
4
|
-
export function getCurrentVideo(): any;
|
|
5
|
-
export function setVideoIdx(val: any): void;
|
|
6
|
-
export function getVideoIdx(): any;
|
|
7
|
-
export function createIdxMapping(arr: any): void;
|
|
8
|
-
export function setVideoIdxById(videoId: any): void;
|
|
9
|
-
export function setSeriesWatchMap(val: any): void;
|
|
10
|
-
export function getSeriesWatchMap(): any;
|
|
11
|
-
export function setCurrentEpgPrograms(data: any): void;
|
|
12
|
-
export function getCurrentEpgPrograms(): any[];
|
|
13
|
-
export namespace seasonIdxManager {
|
|
14
|
-
function set(idx: any): void;
|
|
15
|
-
function get(): number;
|
|
16
|
-
}
|
|
17
|
-
export namespace videoReplayTracker {
|
|
18
|
-
function set(res: any): void;
|
|
19
|
-
function get(videoId: any): any;
|
|
20
|
-
function clear(): void;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function switchToSecondaryAsset(res: any, playerId: any): boolean;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export function throttle(fn: any, delay: any): (...args: any[]) => void;
|
|
2
|
-
export function setUpdatedElHeight(playerId: any, el: any): void;
|
|
3
|
-
export function handleDrawerResizing(playerId: any, drawerEl: any): void;
|
|
4
|
-
export function createIconMarkup(icon: any): SVGSVGElement;
|
|
5
|
-
export function isNotAValidSkin(skin: any): boolean;
|
|
6
|
-
export function highlightVideo(i: any, DEFAULTV2_TEMP_PLAYER_ID: any): void;
|
|
7
|
-
export function closeOpenDrawers(): void;
|
|
8
|
-
export function parseSvgString(svgString: any): SVGSVGElement;
|
|
9
|
-
export function parseHtmlString(htmlString: any): HTMLBodyElement;
|
|
10
|
-
export function impolicy16x9(img: any): string;
|
|
11
|
-
export function on_orientation_change(playerId: any, element: any): void;
|
|
12
|
-
export function detectOrientationChange(playerId: any, element: any): void;
|
|
13
|
-
export function clearEventListeners(): void;
|
|
14
|
-
export function highlightVideo_DEFAULTV2_TEMP(i: any): void;
|
|
15
|
-
export function createSVGWithUse(iconId: any, viewBox?: string): {
|
|
16
|
-
svg: SVGSVGElement;
|
|
17
|
-
use: SVGUseElement;
|
|
18
|
-
};
|
|
19
|
-
export function injectSVG(targetElement: any, iconId: any): SVGUseElement;
|
|
20
|
-
export function debounce(fn: any, delay: any): (...args: any[]) => void;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export namespace SSAI_EVENTS {
|
|
2
|
-
const BREAK_START: string;
|
|
3
|
-
const IMPRESSION: string;
|
|
4
|
-
const FIRST_QUARTILE: string;
|
|
5
|
-
const MIDPOINT: string;
|
|
6
|
-
const THIRD_QUARTILE: string;
|
|
7
|
-
const COMPLETE: string;
|
|
8
|
-
const BREAK_END: string;
|
|
9
|
-
}
|
|
10
|
-
export function triggerSSAIEvents(playerId: any, adsData?: {}): {};
|
|
11
|
-
export function getSsaiEvents(playerId: any): {
|
|
12
|
-
adBreakStart?: undefined;
|
|
13
|
-
adImpression?: undefined;
|
|
14
|
-
adFirstQuartile?: undefined;
|
|
15
|
-
adMidpoint?: undefined;
|
|
16
|
-
adThirdQuartile?: undefined;
|
|
17
|
-
adComplete?: undefined;
|
|
18
|
-
adBreakEnd?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
adBreakStart: (cb: any) => () => any;
|
|
21
|
-
adImpression: (cb: any) => () => any;
|
|
22
|
-
adFirstQuartile: (cb: any) => () => any;
|
|
23
|
-
adMidpoint: (cb: any) => () => any;
|
|
24
|
-
adThirdQuartile: (cb: any) => () => any;
|
|
25
|
-
adComplete: (cb: any) => () => any;
|
|
26
|
-
adBreakEnd: (cb: any) => () => any;
|
|
27
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export function token_authentication_enabled(params: any): boolean;
|
|
2
|
-
export function getToken(): Promise<any>;
|
|
3
|
-
export function fetchRefreshToken(): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
-
export function refreshTokenManager(): {
|
|
5
|
-
set(token: any): void;
|
|
6
|
-
get(): any;
|
|
7
|
-
};
|
|
8
|
-
export function isTokenExpired(token: any): boolean;
|
|
9
|
-
export function getDecodedToken(token: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=function(n){return"<svg fill='".concat(n||"white","'\n class='icon icon-minimize'\n viewBox=\"0 0 70 70\"\n xmlns='http://www.w3.org/2000/svg'\n >\n <path fill='").concat(n||"white","' d='M40.397 37.511h6.971l-3.16-3.146h-9.593v9.714l3.146 3.077v-6.648l8.823 8.823 2.817-2.817-9.004-9.004z' />\n <path fill='").concat(n||"white","' d='M24.443 26.763h-6.971l3.16 3.146h9.593v-9.714l-3.146-3.077v6.648l-8.823-8.823-2.817 2.817 9.003 9.004z' />\n </svg>")},C=function(n){return"<svg fill='".concat(n||"white","'\n class='icon icon-maximize'\n viewBox=\"0 0 70 70\"\n xmlns='http://www.w3.org/2000/svg'\n >\n <path fill='").concat(n||"white","' d='M43.369 45.938h-6.971l3.16 3.146h9.593v-9.714l-3.146-3.077v6.648l-8.823-8.823-2.817 2.817 9.004 9.004z' />\n <path fill='").concat(n||"white","' d='M21.969 18.834h6.971l-3.16-3.146h-9.593v9.714l3.146 3.077v-6.648l8.823 8.823 2.817-2.817-9.003-9.003z' />\n </svg>")},t=function(n){return'<svg style="width:16px" class=\'rewindbtn\' viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M7.88817 16.9913L7.72176 18.5762C9.58746 18.8613 11.4677 18.5376 13.1023 17.6161C17.1941 15.3094 18.4803 9.98978 15.9732 5.74243C13.47 1.50156 8.13865 -0.0590307 4.03665 2.25351C3.35173 2.64307 2.7379 3.12124 2.20384 3.67698L3.34087 4.82569C3.77642 4.37247 4.27773 3.98196 4.83679 3.66398C8.20452 1.76539 12.5901 3.04913 14.644 6.5288C16.6894 9.99402 15.6429 14.3223 12.3046 16.2043C10.9636 16.9602 9.42195 17.2257 7.88817 16.9913Z" fill=\''.concat(window.color||"white",'\' />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M3.10742 0.462205L0.56205 5.24366L6.06202 5.79492L3.10742 0.462205Z" fill=\'').concat(window.color||"white",'\' />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.80172 14.1769C10.1682 14.1769 10.5096 14.1082 10.8258 13.9708C11.142 13.8333 11.416 13.6241 11.6479 13.343C11.8798 13.0619 12.0615 12.7059 12.1928 12.275C12.3242 11.8441 12.3898 11.3368 12.3898 10.753C12.3898 10.1661 12.3242 9.65803 12.1928 9.22868C12.0615 8.79934 11.8798 8.44413 11.6479 8.16305C11.416 7.88197 11.142 7.6727 10.8258 7.53525C10.5096 7.3978 10.1682 7.32907 9.80172 7.32907C9.43524 7.32907 9.09551 7.3978 8.78254 7.53525C8.46956 7.6727 8.19794 7.88197 7.96767 8.16305C7.7374 8.44413 7.5574 8.79934 7.42767 9.22868C7.29794 9.65803 7.23308 10.1661 7.23308 10.753C7.23308 11.3368 7.29794 11.8441 7.42767 12.275C7.5574 12.7059 7.7374 13.0619 7.96767 13.343C8.19794 13.6241 8.46956 13.8333 8.78254 13.9708C9.09551 14.1082 9.43524 14.1769 9.80172 14.1769ZM6.54713 14.1028V13.2457H5.28226V7.39394H4.2947L2.14929 9.13139L2.52875 9.62714C2.5547 9.66112 2.59443 9.69123 2.64794 9.71749C2.70145 9.74374 2.76064 9.75687 2.82551 9.75687C2.86767 9.75687 2.91064 9.75069 2.95443 9.73834C2.99821 9.72598 3.04118 9.70282 3.08335 9.66884L4.09524 8.86266C4.08551 9.02946 4.08064 9.18853 4.08064 9.33988V13.2457H2.65524V14.1028H6.54713ZM9.30308 13.1136C9.46362 13.1893 9.62983 13.2271 9.80172 13.2271C9.97686 13.2271 10.1455 13.1893 10.3077 13.1136C10.4698 13.038 10.6133 12.9059 10.7382 12.7175C10.8631 12.5291 10.9628 12.2758 11.0374 11.9576C11.112 11.6395 11.1493 11.238 11.1493 10.753C11.1493 10.2681 11.112 9.86652 11.0374 9.54838C10.9628 9.23023 10.8631 8.97695 10.7382 8.78853C10.6133 8.60011 10.4698 8.46807 10.3077 8.39239C10.1455 8.31672 9.97686 8.27888 9.80172 8.27888C9.62983 8.27888 9.46362 8.31672 9.30308 8.39239C9.14254 8.46807 9.00064 8.60011 8.8774 8.78853C8.75416 8.97695 8.65605 9.23023 8.58308 9.54838C8.5101 9.86652 8.47362 10.2681 8.47362 10.753C8.47362 11.238 8.5101 11.6395 8.58308 11.9576C8.65605 12.2758 8.75416 12.5291 8.8774 12.7175C9.00064 12.9059 9.14254 13.038 9.30308 13.1136Z" fill=\'').concat(window.color||"white","' />\n </svg>")},e=function(){return'<svg class=\'rewindbtn\' width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M1.22363 9.43675L3.152 11.3434L5.08151 9.43675M2.91616 10.8667C2.88115 10.5537 2.86319 10.2356 2.86319 9.91341C2.86319 5.17486 6.74945 1.3335 11.5434 1.3335C16.3374 1.3335 20.2236 5.17486 20.2236 9.91341C20.2236 14.652 16.3374 18.4933 11.5434 18.4933C8.8166 18.4933 6.38346 17.2505 4.79212 15.3067" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.3"/>\n <path d="M9.92694 13.0831V6.80067H8.94318C8.58633 7.20106 7.97871 7.53473 7.37109 7.64912V8.66918C7.68937 8.64058 8.22947 8.52618 8.51881 8.39272V13.0831H9.92694Z" fill="white"/>\n <path d="M13.6545 6.6958C11.8316 6.6958 11.1951 8.23065 11.1951 9.94664C11.1951 11.6817 11.7641 13.1975 13.6255 13.1975C15.5159 13.1975 16.0656 11.634 16.0656 9.9085C16.0656 8.12579 15.4291 6.6958 13.6545 6.6958ZM13.6545 7.78259C14.4839 7.78259 14.6382 8.69778 14.6382 9.91804C14.6382 11.1478 14.5225 12.1107 13.6448 12.1107C12.7479 12.1107 12.6128 11.0811 12.6128 9.92757C12.6128 8.57385 12.8443 7.78259 13.6545 7.78259Z" fill="white"/>\n </svg>'},i=function(){return'<svg width="16" height="16" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M11 14C12.6569 14 14 12.6569 14 11C14 9.34315 12.6569 8 11 8C9.34315 8 8 9.34315 8 11C8 12.6569 9.34315 14 11 14Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n <path d="M17.7273 13.7273C17.6063 14.0015 17.5702 14.3056 17.6236 14.6005C17.6771 14.8954 17.8177 15.1676 18.0273 15.3818L18.0818 15.4364C18.2509 15.6052 18.385 15.8057 18.4765 16.0265C18.568 16.2472 18.6151 16.4838 18.6151 16.7227C18.6151 16.9617 18.568 17.1983 18.4765 17.419C18.385 17.6397 18.2509 17.8402 18.0818 18.0091C17.913 18.1781 17.7124 18.3122 17.4917 18.4037C17.271 18.4952 17.0344 18.5423 16.7955 18.5423C16.5565 18.5423 16.3199 18.4952 16.0992 18.4037C15.8785 18.3122 15.678 18.1781 15.5091 18.0091L15.4545 17.9545C15.2403 17.745 14.9682 17.6044 14.6733 17.5509C14.3784 17.4974 14.0742 17.5335 13.8 17.6545C13.5311 17.7698 13.3018 17.9611 13.1403 18.205C12.9788 18.4489 12.8921 18.7347 12.8909 19.0273V19.1818C12.8909 19.664 12.6994 20.1265 12.3584 20.4675C12.0174 20.8084 11.5549 21 11.0727 21C10.5905 21 10.1281 20.8084 9.78708 20.4675C9.4461 20.1265 9.25455 19.664 9.25455 19.1818V19.1C9.24751 18.7991 9.15011 18.5073 8.97501 18.2625C8.79991 18.0176 8.55521 17.8312 8.27273 17.7273C7.99853 17.6063 7.69437 17.5702 7.39947 17.6236C7.10456 17.6771 6.83244 17.8177 6.61818 18.0273L6.56364 18.0818C6.39478 18.2509 6.19425 18.385 5.97353 18.4765C5.7528 18.568 5.51621 18.6151 5.27727 18.6151C5.03834 18.6151 4.80174 18.568 4.58102 18.4765C4.36029 18.385 4.15977 18.2509 3.99091 18.0818C3.82186 17.913 3.68775 17.7124 3.59626 17.4917C3.50476 17.271 3.45766 17.0344 3.45766 16.7955C3.45766 16.5565 3.50476 16.3199 3.59626 16.0992C3.68775 15.8785 3.82186 15.678 3.99091 15.5091L4.04545 15.4545C4.25503 15.2403 4.39562 14.9682 4.4491 14.6733C4.50257 14.3784 4.46647 14.0742 4.34545 13.8C4.23022 13.5311 4.03887 13.3018 3.79497 13.1403C3.55107 12.9788 3.26526 12.8921 2.97273 12.8909H2.81818C2.33597 12.8909 1.87351 12.6994 1.53253 12.3584C1.19156 12.0174 1 11.5549 1 11.0727C1 10.5905 1.19156 10.1281 1.53253 9.78708C1.87351 9.4461 2.33597 9.25455 2.81818 9.25455H2.9C3.2009 9.24751 3.49273 9.15011 3.73754 8.97501C3.98236 8.79991 4.16883 8.55521 4.27273 8.27273C4.39374 7.99853 4.42984 7.69437 4.37637 7.39947C4.3229 7.10456 4.18231 6.83244 3.97273 6.61818L3.91818 6.56364C3.74913 6.39478 3.61503 6.19425 3.52353 5.97353C3.43203 5.7528 3.38493 5.51621 3.38493 5.27727C3.38493 5.03834 3.43203 4.80174 3.52353 4.58102C3.61503 4.36029 3.74913 4.15977 3.91818 3.99091C4.08704 3.82186 4.28757 3.68775 4.50829 3.59626C4.72901 3.50476 4.96561 3.45766 5.20455 3.45766C5.44348 3.45766 5.68008 3.50476 5.9008 3.59626C6.12152 3.68775 6.32205 3.82186 6.49091 3.99091L6.54545 4.04545C6.75971 4.25503 7.03183 4.39562 7.32674 4.4491C7.62164 4.50257 7.9258 4.46647 8.2 4.34545H8.27273C8.54161 4.23022 8.77093 4.03887 8.93245 3.79497C9.09397 3.55107 9.18065 3.26526 9.18182 2.97273V2.81818C9.18182 2.33597 9.37338 1.87351 9.71435 1.53253C10.0553 1.19156 10.5178 1 11 1C11.4822 1 11.9447 1.19156 12.2856 1.53253C12.6266 1.87351 12.8182 2.33597 12.8182 2.81818V2.9C12.8193 3.19253 12.906 3.47834 13.0676 3.72224C13.2291 3.96614 13.4584 4.15749 13.7273 4.27273C14.0015 4.39374 14.3056 4.42984 14.6005 4.37637C14.8954 4.3229 15.1676 4.18231 15.3818 3.97273L15.4364 3.91818C15.6052 3.74913 15.8057 3.61503 16.0265 3.52353C16.2472 3.43203 16.4838 3.38493 16.7227 3.38493C16.9617 3.38493 17.1983 3.43203 17.419 3.52353C17.6397 3.61503 17.8402 3.74913 18.0091 3.91818C18.1781 4.08704 18.3122 4.28757 18.4037 4.50829C18.4952 4.72901 18.5423 4.96561 18.5423 5.20455C18.5423 5.44348 18.4952 5.68008 18.4037 5.9008C18.3122 6.12152 18.1781 6.32205 18.0091 6.49091L17.9545 6.54545C17.745 6.75971 17.6044 7.03183 17.5509 7.32674C17.4974 7.62164 17.5335 7.9258 17.6545 8.2V8.27273C17.7698 8.54161 17.9611 8.77093 18.205 8.93245C18.4489 9.09397 18.7347 9.18065 19.0273 9.18182H19.1818C19.664 9.18182 20.1265 9.37338 20.4675 9.71435C20.8084 10.0553 21 10.5178 21 11C21 11.4822 20.8084 11.9447 20.4675 12.2856C20.1265 12.6266 19.664 12.8182 19.1818 12.8182H19.1C18.8075 12.8193 18.5217 12.906 18.2778 13.0676C18.0339 13.2291 17.8425 13.4584 17.7273 13.7273Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>'},l=function(){return'<svg class=\'selected-stream\' width="25" height="25" viewBox="0 0 35 33" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_319_60943)">\n <path d="M0 0H35V33H0V0Z" fill="#D2393B"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M15.8689 17.6541L22.3039 11.2898C22.6966 10.9014 23.3372 10.9054 23.7299 11.2937C24.1225 11.6821 24.1265 12.3157 23.7338 12.704L16.6345 19.7253C16.6189 19.743 16.6026 19.7604 16.5856 19.7772C16.5158 19.8463 16.4381 19.9032 16.3554 19.9479C15.9716 20.1587 15.4758 20.1009 15.1503 19.779C15.126 19.755 15.1032 19.73 15.0819 19.7042L12.2919 16.9449C11.8992 16.5565 11.9032 15.9229 12.2958 15.5346C12.6885 15.1462 13.3291 15.1423 13.7218 15.5306L15.8689 17.6541Z" fill="white"/>\n </g>\n <defs>\n <clipPath id="clip0_319_60943">\n <path d="M0 0H35V33H8C3.58172 33 0 29.4183 0 25V0Z" fill="white"/>\n </clipPath>\n </defs>\n </svg>\n '},o=function(){return'<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M20.7275 8.7189V11.2811L18.0174 11.7913C17.8497 12.5312 17.558 13.2374 17.1546 13.88L18.71 16.1626L16.8874 17.9721L14.6149 16.43C13.9694 16.8283 13.2636 17.1194 12.5249 17.2919L12.0143 20H9.43828L8.92846 17.2919C8.18971 17.1194 7.48385 16.8284 6.8384 16.43L4.56591 17.9721L2.74302 16.1626L4.28649 13.88C3.88787 13.2349 3.5965 12.5296 3.42371 11.7913L0.727539 11.2811V8.7189L3.42371 8.1968C3.59774 7.4568 3.89356 6.75083 4.29909 6.10771L2.74337 3.837L4.56626 2.02785L6.83875 3.57C7.48173 3.16673 8.18841 2.8752 8.92881 2.70777L9.43863 0H12.0147L12.5252 2.70777C13.2656 2.87529 13.9723 3.16682 14.6153 3.57L16.8878 2.02785L18.7103 3.837L17.1549 6.11996C17.5582 6.75838 17.85 7.46066 18.0177 8.1968L20.7275 8.7189ZM5.19864 10.0057C5.2018 13.0538 7.67684 15.5222 10.7268 15.5191C12.1916 15.5176 13.5957 14.9347 14.6304 13.8985C15.665 12.8624 16.2454 11.4579 16.2438 9.99405C16.2405 6.94597 13.7654 4.47766 10.7154 4.48088C7.6654 4.4841 5.19548 6.95764 5.19864 10.0057Z" fill="white"/>\n </svg>'},w=function(n){return'<svg style="width:16px" class=\'skipbtn\' viewBox="0 0 18 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.99586 16.9937L10.1623 18.5786C8.29657 18.8638 6.41631 18.54 4.78178 17.6185C0.689955 15.3118 -0.596286 9.9922 1.9108 5.74486C4.41407 1.50398 9.74539 -0.0566045 13.8474 2.25594C14.5323 2.64549 15.1461 3.12366 15.6802 3.6794L14.5432 4.82812C14.1076 4.3749 13.6063 3.98438 13.0472 3.66641C9.67952 1.76782 5.29397 3.05156 3.24002 6.53123C1.1946 9.99645 2.24115 14.3247 5.57947 16.2067C6.92039 16.9626 8.46208 17.2281 9.99586 16.9937Z" fill=\''.concat(window.color?window.color:"white",'\' />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M14.7766 0.464616L17.322 5.24607L11.822 5.79733L14.7766 0.464616Z" fill=\'').concat(window.color?window.color:"white",'\' />\n <path fill-rule="evenodd" clip-rule="evenodd" d="M13.0245 14.115C13.391 14.115 13.7323 14.0463 14.0486 13.9088C14.3648 13.7714 14.6388 13.5621 14.8707 13.281C15.1026 13 15.2842 12.644 15.4156 12.2131C15.5469 11.7822 15.6126 11.2749 15.6126 10.6911C15.6126 10.1042 15.5469 9.59609 15.4156 9.16675C15.2842 8.73741 15.1026 8.38219 14.8707 8.10111C14.6388 7.82003 14.3648 7.61076 14.0486 7.47331C13.7323 7.33586 13.391 7.26714 13.0245 7.26714C12.658 7.26714 12.3183 7.33586 12.0053 7.47331C11.6923 7.61076 11.4207 7.82003 11.1904 8.10111C10.9602 8.38219 10.7802 8.73741 10.6504 9.16675C10.5207 9.59609 10.4559 10.1042 10.4559 10.6911C10.4559 11.2749 10.5207 11.7822 10.6504 12.2131C10.7802 12.644 10.9602 13 11.1904 13.281C11.4207 13.5621 11.6923 13.7714 12.0053 13.9088C12.3183 14.0463 12.658 14.115 13.0245 14.115ZM9.76991 14.0409V13.1837H8.50504V7.332H7.51748L5.37207 9.06945L5.75153 9.56521C5.77748 9.59918 5.81721 9.6293 5.87072 9.65555C5.92423 9.68181 5.98342 9.69493 6.04829 9.69493C6.09045 9.69493 6.13342 9.68876 6.17721 9.6764C6.22099 9.66405 6.26396 9.64088 6.30612 9.6069L7.31802 8.80073C7.30829 8.96752 7.30342 9.1266 7.30342 9.27795V13.1837H5.87802V14.0409H9.76991ZM12.5259 13.0517C12.6864 13.1274 12.8526 13.1652 13.0245 13.1652C13.1996 13.1652 13.3683 13.1274 13.5304 13.0517C13.6926 12.976 13.8361 12.844 13.961 12.6556C14.0859 12.4671 14.1856 12.2139 14.2602 11.8957C14.3348 11.5776 14.3721 11.176 14.3721 10.6911C14.3721 10.2061 14.3348 9.80459 14.2602 9.48644C14.1856 9.16829 14.0859 8.91501 13.961 8.7266C13.8361 8.53818 13.6926 8.40613 13.5304 8.33046C13.3683 8.25478 13.1996 8.21694 13.0245 8.21694C12.8526 8.21694 12.6864 8.25478 12.5259 8.33046C12.3653 8.40613 12.2234 8.53818 12.1002 8.7266C11.9769 8.91501 11.8788 9.16829 11.8059 9.48644C11.7329 9.80459 11.6964 10.2061 11.6964 10.6911C11.6964 11.176 11.7329 11.5776 11.8059 11.8957C11.8788 12.2139 11.9769 12.4671 12.1002 12.6556C12.2234 12.844 12.3653 12.976 12.5259 13.0517Z" fill=\'').concat(window.color?window.color:"white","' />\n </svg>")},h=function(){return'<svg class=\'skipbtn\' width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M19.7236 9.43675L17.7953 11.3434L15.8658 9.43675M18.0311 10.8667C18.0661 10.5537 18.0841 10.2356 18.0841 9.91341C18.0841 5.17486 14.1978 1.3335 9.40386 1.3335C4.6099 1.3335 0.723633 5.17486 0.723633 9.91341C0.723633 14.652 4.6099 18.4933 9.40386 18.4933C12.1307 18.4933 14.5638 17.2505 16.1551 15.3067" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.3"/>\n <path d="M7.80584 13.0831V6.80067H6.82209C6.46523 7.20106 5.85762 7.53473 5.25 7.64912V8.66918C5.56828 8.64058 6.10838 8.52618 6.39772 8.39272V13.0831H7.80584Z" fill="white"/>\n <path d="M11.5334 6.6958C9.71052 6.6958 9.07397 8.23065 9.07397 9.94664C9.07397 11.6817 9.64301 13.1975 11.5044 13.1975C13.3948 13.1975 13.9445 11.634 13.9445 9.9085C13.9445 8.12579 13.308 6.6958 11.5334 6.6958ZM11.5334 7.78259C12.3628 7.78259 12.5171 8.69778 12.5171 9.91804C12.5171 11.1478 12.4014 12.1107 11.5237 12.1107C10.6268 12.1107 10.4917 11.0811 10.4917 9.92757C10.4917 8.57385 10.7232 7.78259 11.5334 7.78259Z" fill="white"/>\n </svg>'},s=function(){return'<svg class=\'icon icon-episodes\' width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M1 11.7368C1 11.3299 1.32989 11 1.73684 11H16.2632C16.6701 11 17 11.3299 17 11.7368V21.2632C17 21.6701 16.6701 22 16.2632 22H1.73684C1.3299 22 1 21.6701 1 21.2632V11.7368Z" fill="white"/>\n <path d="M5 8H19.2632C19.6701 8 20 8.3299 20 8.73684V18" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n <path d="M8 4H22.2632C22.6701 4 23 4.3299 23 4.73684V13" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>'},r=function(){return'<svg width="18" height="16" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M5 6.5H10M5 10H13M7.68375 16H14.2C15.8802 16 16.7202 16 17.362 15.673C17.9265 15.3854 18.3854 14.9265 18.673 14.362C19 13.7202 19 12.8802 19 11.2V5.8C19 4.11984 19 3.27976 18.673 2.63803C18.3854 2.07354 17.9265 1.6146 17.362 1.32698C16.7202 1 15.8802 1 14.2 1H5.8C4.11984 1 3.27976 1 2.63803 1.32698C2.07354 1.6146 1.6146 2.07354 1.32698 2.63803C1 3.27976 1 4.11984 1 5.8V18.3355C1 18.8684 1 19.1348 1.10923 19.2716C1.20422 19.3906 1.34827 19.4599 1.50054 19.4597C1.67563 19.4595 1.88367 19.2931 2.29976 18.9602L4.68521 17.0518C5.17252 16.662 5.41617 16.4671 5.68749 16.3285C5.9282 16.2055 6.18443 16.1156 6.44921 16.0613C6.74767 16 7.0597 16 7.68375 16Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n </svg>'},d=function(){return'<svg width="21" height="18" viewBox="0 0 21 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M20.4541 15.8369V2H0.454102V15.8369H11.992L17.7874 18V15.8369H20.4541ZM2.4541 4H18.4541V13.8614H15.9182L15.9179 15L11.9664 13.8614H2.4541V4Z" fill="white"/>\n <rect x="3.4541" y="6" width="9" height="2" fill="white"/>\n <rect x="14.4541" y="6" width="3" height="2" fill="white"/>\n <rect x="8.4541" y="10" width="9" height="2" fill="white"/>\n <rect x="3.4541" y="10" width="3" height="2" fill="white"/>\n </svg>\n '},v=function(n){return'<svg className=\'icon-play-next\' width="16" height="16" viewBox="0 0 25 25" fill='.concat(n,' xmlns="http://www.w3.org/2000/svg">\n <path d="M14.8837 9.99984L0 0V20L14.8837 9.99984Z" fill=').concat(n,' />\n <rect x="18" width="2" height="20" fill=').concat(n," />\n </svg>")},c=function(){return'<svg width="13" height="13" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M0.273985 2.30391C-0.124672 1.74341 -0.0882695 0.933084 0.383092 0.418212C0.893733 -0.139565 1.72148 -0.13938 2.23191 0.418626L9.25 8.09082L16.2681 0.418626C16.7785 -0.13938 17.6063 -0.139565 18.1169 0.418212C18.5883 0.933084 18.6247 1.74341 18.226 2.30391L18.1173 2.43852L11.1987 10.0029L18.1169 17.5611C18.5883 18.0759 18.6247 18.8863 18.226 19.4468L18.1173 19.5814C17.6461 20.0965 16.9046 20.1362 16.3916 19.7006L16.2685 19.5818L9.25 11.9155L2.23153 19.5818L2.10835 19.7006C1.59542 20.1362 0.853882 20.0965 0.382714 19.5814L0.273985 19.4468C-0.124672 18.8863 -0.0882694 18.0759 0.383092 17.5611L7.30134 10.0029L0.382714 2.43852L0.273985 2.30391Z" fill="white"/>\n </svg>\n \n '},g=function(){return'<svg width="22" height="20" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M3.01316 12.1667L0.25 10.5V15.5L3.01316 14.25V18H15.25V8H3.01316V12.1667ZM7.67057 10.7216C7.53806 10.6283 7.35547 10.7231 7.35547 10.8852V15.1146C7.35547 15.2766 7.53806 15.3714 7.67057 15.2781L10.6757 13.1634C10.7889 13.0838 10.7889 12.916 10.6757 12.8363L7.67057 10.7216Z" fill="white"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M7.25 2H20.25H21.25V3V10H20.25V3H7.25V2ZM17.25 5H4.25V6H17.25V13H18.25V6V5H17.25Z" fill="white"/>\n </svg>\n '},a=function(){return'<svg width="13" height="13" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M10.6169 0.418212C11.0883 0.933084 11.1247 1.74341 10.726 2.30391L10.6173 2.43852L3.69866 10.0029L10.6169 17.5611C11.0883 18.0759 11.1247 18.8863 10.726 19.4468L10.6173 19.5814C10.1461 20.0965 9.40458 20.1362 8.89165 19.7006L8.76847 19.5818L0 10.0039L8.76809 0.418626C9.27852 -0.13938 10.1063 -0.139565 10.6169 0.418212Z" fill="white"/>\n </svg>\n '},L=function(){return'<svg width="28" height="28" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28">\n <path d="M21 10L11 20L7 16" stroke="white" stroke-width="2" fill="none"/>\n </svg>'},p=function(){return'<svg version="1.0" xmlns="http://www.w3.org/2000/svg"\n width="17" height="17" viewBox="0 0 512.000000 512.000000"\n preserveAspectRatio="xMidYMid meet">\n \n <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"\n fill="white" stroke="none">\n <path d="M340 4674 c-46 -20 -77 -50 -103 -99 -22 -40 -22 -45 -25 -754 -3\n -813 -5 -788 72 -859 69 -64 158 -77 238 -36 17 9 232 177 478 374 492 394\n 490 392 490 499 0 60 -23 112 -72 158 -62 60 -863 695 -900 714 -45 23 -128\n 25 -178 3z"/>\n <path d="M2045 4673 c-164 -86 -166 -300 -3 -384 37 -19 73 -19 1382 -17\n l1344 3 44 30 c138 97 118 306 -34 370 -33 13 -189 15 -1370 15 -1195 -1\n -1336 -2 -1363 -17z"/>\n <path d="M2045 3393 c-164 -86 -166 -300 -3 -384 37 -19 73 -19 1382 -17\n l1344 3 44 30 c138 97 118 306 -34 370 -33 13 -189 15 -1370 15 -1195 -1\n -1336 -2 -1363 -17z"/>\n <path d="M340 2114 c-173 -75 -161 -342 18 -394 26 -8 692 -10 2224 -8 l2186\n 3 44 30 c138 97 118 306 -34 370 -33 13 -272 15 -2220 15 -1927 -1 -2187 -3\n -2218 -16z"/>\n <path d="M340 834 c-173 -75 -161 -342 18 -394 26 -8 692 -10 2224 -8 l2186 3\n 44 30 c138 97 118 306 -34 370 -33 13 -272 15 -2220 15 -1927 -1 -2187 -3\n -2218 -16z"/>\n </g>\n </svg>'},f=function(){return'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M17 16L15 16L14.999 4L17 4L17 16ZM3 4.34473C3 4.19742 3.16454 4.10969 3.28711 4.19141L11.7695 9.84668C11.879 9.91969 11.879 10.0803 11.7695 10.1533L3.28711 15.8086C3.16454 15.8903 3 15.8026 3 15.6553L3 4.34473Z" fill="white"/>\n</svg>'},u=function(){return'<svg width="14" height="21" viewBox="0 0 14 21" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M-6.26643e-08 0.858398C-3.64345e-08 0.708381 0.169567 0.621119 0.29164 0.708315L13.7899 10.3499C13.8929 10.4235 13.8929 10.5765 13.7899 10.6501L0.291637 20.2917C0.169563 20.3789 -3.46048e-06 20.2916 -3.43425e-06 20.1416L-6.26643e-08 0.858398Z" fill="white"/>\n</svg>\n'},M=function(){return'<svg width="16" height="16" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.04907e-06 -1.22392e-06L2 -1.04907e-06L2.00098 12L0 12L1.04907e-06 -1.22392e-06ZM14 11.6553C14 11.8026 13.8355 11.8903 13.7129 11.8086L5.23047 6.15332C5.12096 6.08031 5.12096 5.91968 5.23047 5.84668L13.7129 0.191406C13.8355 0.109694 14 0.197416 14 0.344727L14 11.6553Z" fill="white"/></svg>'},V=function(){return'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M11.3206 14.3155C11.1375 14.0052 10.8796 13.7456 10.5704 13.5604C10.2613 13.3753 9.91067 13.2705 9.55061 13.2555C9.19055 13.2705 8.83996 13.3753 8.5308 13.5604C8.22163 13.7456 7.96373 14.0052 7.78061 14.3155C7.35864 15.014 7.1356 15.8145 7.1356 16.6305C7.1356 17.4466 7.35864 18.2471 7.78061 18.9455C7.96373 19.2559 8.22163 19.5155 8.5308 19.7007C8.83996 19.8858 9.19055 19.9906 9.55061 20.0055C9.91067 19.9906 10.2613 19.8858 10.5704 19.7007C10.8796 19.5155 11.1375 19.2559 11.3206 18.9455C11.7426 18.2471 11.9656 17.4466 11.9656 16.6305C11.9656 15.8145 11.7426 15.014 11.3206 14.3155V14.3155ZM9.55061 19.0355C8.77061 19.0355 8.11061 17.9355 8.11061 16.6255C8.11061 15.3155 8.77061 14.2155 9.55061 14.2155C10.3306 14.2155 10.9906 15.3155 10.9906 16.6255C10.9906 17.9355 10.3406 19.0355 9.55061 19.0355V19.0355ZM5.21061 20.0055V14.9055L4.73061 15.3855L4.05061 14.7055L5.35061 13.4055C5.41774 13.3382 5.50338 13.2923 5.59664 13.2737C5.68991 13.255 5.78661 13.2645 5.87446 13.301C5.96231 13.3374 6.03737 13.3991 6.09009 13.4783C6.14282 13.5574 6.17084 13.6504 6.17061 13.7455V20.0155L5.21061 20.0055V20.0055ZM21.4106 6.98555V19.5155C21.4089 19.6423 21.3577 19.7634 21.2681 19.853C21.1785 19.9427 21.0574 19.9938 20.9306 19.9955H14.6606V18.0655H19.4806V8.42555H7.91061V10.3555C7.91061 10.8855 7.55061 11.0755 7.11061 10.7855L2.93061 7.99555C2.78952 7.92442 2.68211 7.80061 2.63158 7.65091C2.58105 7.5012 2.59148 7.33762 2.66061 7.19555C2.71811 7.07805 2.81311 6.98305 2.93061 6.92555L7.11061 4.13555C7.55061 3.84555 7.91061 4.03555 7.91061 4.56555V6.49555H20.9206C21.05 6.49746 21.1735 6.54969 21.265 6.64118C21.3565 6.73266 21.4087 6.85618 21.4106 6.98555V6.98555Z" fill="white"/>\n </svg>'};export{a as B,d as C,s as E,n as M,r as N,v as P,t as R,i as S,L as T,C as a,w as b,h as c,e as d,c as e,V as f,p as g,o as h,g as i,l as j,f as k,M as s,u as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/classCallCheck";import t from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/inherits";import i from"@babel/runtime/helpers/possibleConstructorReturn";import o from"@babel/runtime/helpers/getPrototypeOf";import l from"video.js";import{e as s}from"./skin-3dcba1b2.js";import{g as n}from"./player_instance-34118a5b.js";import"@babel/runtime/helpers/toConsumableArray";function a(e){var t=u();return function(){var r,l=o(e);if(t){var s=o(this).constructor;r=Reflect.construct(l,arguments,s)}else r=l.apply(this,arguments);return i(this,r)}}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}var c=l.getComponent("Component"),m=function(i){r(u,c);var o=a(u);function u(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,u),(r=o.call(this,t,i)).playerId=i.playerId,r.mute_state=t.muted()||!1,r.initialiseStructure(),r}return t(u,[{key:"createEl",value:function(){return l.dom.createEl("div",{className:"vjs-custom-big-mute vjs-control ".concat(this.mute_state?"":"hide"," tl")})}},{key:"initialiseStructure",value:function(){var e=this.el(),t=n(this.playerId);null!=this&&this.mute_state&&e.classList.toggle("hide"),s(e,"#vjs-icon-big-mute"),e.onclick=function(){var r=null==t?void 0:t.volume();e.classList.toggle("hide"),t.muted()&&t.muted(!1),t.volume(0==r?100:r)},t.on("volumechange",(function(){var r=t.volume();t.muted()?(e.classList.toggle("hide"),t.volume(r)):r>0?e.classList.add("hide"):0==r&&e.classList.remove("hide")}))}}]),u}();export{m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/classCallCheck";import t from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/get";import o from"@babel/runtime/helpers/inherits";import a from"@babel/runtime/helpers/possibleConstructorReturn";import n from"@babel/runtime/helpers/getPrototypeOf";import i from"video.js";function l(e){var t=s();return function(){var r,o=n(e);if(t){var i=n(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return a(this,r)}}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}var u={startTime:0,timeLive:3600},p=0,c=u.timeLive,h=i.getComponent("Button"),d=i.getComponent("Component"),m=i.getComponent("ProgressControl"),v=m.getComponent("SeekBar"),f=m.getComponent("PlayProgressBar"),_=m.getComponent("LoadProgressBar"),y=i.getComponent("MouseTimeDisplay");_.prototype.update=function(e){var t=this.player_.buffered(),r=this.player_.duration(),o=this.player_.bufferedEnd(),a=this.partEls_,n=function(e,t){var r=e/t||0;return 100*(r>=1?1:r)+"%"};0!==n(o,r)&&(this.el_.style.width=n(o,r));for(var i=0;i<t.length;i++){var l=t.start(i),s=t.end(i),u=a[i];u||(u=this.el_.appendChild(document.createElement("div")),a[i]=u),0!==n(l,o)&&(u.style.left=n(l,o)),0!==n(s-l,o)&&(u.style.width=n(s-l,o))}for(var p=a.length;p>t.length;p--)this.el_.removeChild(a[p-1]);a.length=t.length},v.prototype.update_=function(e,t){var r=this.player_.duration(),o=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("aria-valuenow",(100*t).toFixed(2)),r!==Number.POSITIVE_INFINITY&&this.el_.setAttribute("aria-valuetext","-".concat(i.formatTime(r-o,r))),this.bar.update(i.dom.getBoundingClientRect(this.el_),t)},v.prototype.handleMouseMove=function(e){var t=1-this.calculateDistance(e),r=this.player_.seekable().end(0)-t*c;r===this.player_.duration()&&(r-=.1),this.player_.currentTime(r),this.update()},f.prototype.update=function(e,t){var r=this,o=this.player_.duration();this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var a=r.player_.scrubbing()?r.player_.getCache().currentTime:r.player_.currentTime(),n=i.formatTime(o-a,o);0!==t&&o!==Number.POSITIVE_INFINITY&&r.getChild("timeTooltip").update(e,t,"-".concat(n))}))},y.prototype.update=function(e,t){var r=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var o=i.formatTime(c-t*c,c);r.el_.style.left="".concat(e.width*t,"px"),0!==t&&r.player_.duration()!==Number.POSITIVE_INFINITY&&r.getChild("timeTooltip").update(e,t,"-".concat(o))}))};var C=function(e){var t=this;e||(e=u),this.on("timeupdate",(function(e){var r,o;(o=(r=t).seekable())&&o.length&&(o.end(0)-r.currentTime()<20?r.controlBar.liveButton.addClass("onair"):r.controlBar.liveButton.removeClass("onair"),r.duration(r.seekable().end(0)),p||(p=c=r.seekable().end(0)))})),this.on("pause",(function(e){t.controlBar.liveButton.removeClass("onair")})),this.ready((function(){var r;r=t,i.mergeOptions(u,e),r.addClass("vjs-dvr-seekbar"),r.controlBar.addClass("vjs-dvr-control-bar"),r.controlBar.progressControl.seekBar.__proto__.__proto__.update=function(){if(this.el_){var e;e="VolumeBar"===this.name_?this.getPercent():1-(this.player_.duration()-this.player_.currentTime())/c;var t=this.bar;if(t){("number"!=typeof e||e!=e||e<0||e===1/0)&&(e=0),e>1&&(e=1);var r=(100*e).toFixed(2)+"%",o=t.el().style;return 0!==e&&(this.vertical()?o.height=r:o.width=r),e}}},r.controlBar.progressControl&&r.controlBar.progressControl.addClass("vjs-dvr-progress-control"),r.controlBar.liveButton=r.controlBar.addChild("liveButton"),r.controlBar.el().insertBefore(r.controlBar.liveButton.el(),r.controlBar.progressControl.el())}))},b=function(a){o(s,h);var i=l(s);function s(t,r){var o;return e(this,s),(o=i.call(this,t,r)).el().innerHTML='<span class="liveCircle"></span><span class="liveText">LIVE</span>',t.paused()||o.addClass("onair"),o}return t(s,[{key:"buildCSSClass",value:function(){return"vjs-live-button ".concat(r(n(s.prototype),"buildCSSClass",this).call(this))}},{key:"handleClick",value:function(e){var t=this.player_.seekable().end(0);this.player_.currentTime(t),this.player_.play()}}]),s}();d.registerComponent("LiveButton",b),(i.registerPlugin||i.plugin)("dvrSeekbar",C);export{C as default};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export default VLPlayerCore;
|
|
2
|
-
declare function VLPlayerCore(): {
|
|
3
|
-
loadVideoInstantly: (playerId: any, src: any, cancelTimeout: any) => Promise<any>;
|
|
4
|
-
onTimeUpdate: (playerId: any, cb: any) => void;
|
|
5
|
-
getVideoDuration: (playerId: any) => any;
|
|
6
|
-
onVideoEnded: (playerId: any, cb: any) => void;
|
|
7
|
-
init: (config: any) => Promise<any>;
|
|
8
|
-
getRenditions: (playerId?: string) => any[];
|
|
9
|
-
skip: (playerId?: string, time?: number) => void;
|
|
10
|
-
getPlayer: (playerId?: string) => any;
|
|
11
|
-
play: (playerId?: string) => void;
|
|
12
|
-
pause: (playerId?: string) => void;
|
|
13
|
-
detectBrowser: () => "IE" | "Opera" | "Chrome" | "Safari" | "Firefox" | "Unknown";
|
|
14
|
-
rewind: (playerId?: string, time?: number) => void;
|
|
15
|
-
loadVideo: (playerId: any, src: string) => void;
|
|
16
|
-
seekToTimeStamp: (playerId: any, time: any, cb: any) => void;
|
|
17
|
-
isPlayerInitialised: (playerId?: string) => boolean;
|
|
18
|
-
load: (playerId: any, videoId: any, token_deprecated: any) => Promise<any>;
|
|
19
|
-
authenticateLC: (playerId: any, params: any, load_asset?: boolean) => Promise<any>;
|
|
20
|
-
dispose: (playerId: any) => void;
|
|
21
|
-
enableCaptions: (playerId: any, trackId: any) => void;
|
|
22
|
-
disableCaptions: (playerId: any, trackId: any) => void;
|
|
23
|
-
getCaptions: (playerId: any) => any;
|
|
24
|
-
playSelectedResolution: (playerId: any, obj: any, auto: any) => void;
|
|
25
|
-
getSource: (res: any, playerId: any) => {
|
|
26
|
-
src: any;
|
|
27
|
-
type: string;
|
|
28
|
-
};
|
|
29
|
-
setVolume: (playerId: any, volume: any, cb: any) => void;
|
|
30
|
-
getVolume: (playerId: any) => string;
|
|
31
|
-
disableControls: (playerId: any) => void;
|
|
32
|
-
setPlaybackSpeed: (playerId: any, speed: any) => string;
|
|
33
|
-
getEntitlementData: (id: any, token: any, url: any, locationData: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
34
|
-
adsQueuePointManager: {
|
|
35
|
-
setQueuePoints(points: any): void;
|
|
36
|
-
getQueuePoints(): any[];
|
|
37
|
-
};
|
|
38
|
-
getSsaiEvents: typeof getSsaiEvents;
|
|
39
|
-
playerEvents: typeof playerEvents;
|
|
40
|
-
onReplay: (playerId: any, cb: any) => void;
|
|
41
|
-
isBehindLive: (playerId: any) => true;
|
|
42
|
-
};
|
|
43
|
-
import { getSsaiEvents } from "./helpers/ssaiEventHandler";
|
|
44
|
-
import { playerEvents } from "./core/util";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"video.js/dist/video-js.min.css";import"./generic-769f7ba2.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"video.js";export{V as default}from"./index-962adc0f.js";import"./util-06603bad.js";import"./captions-f507e8ee.js";import"./resolution-1c59b0f3.js";import"./skin-3dcba1b2.js";import"./localisation-0bf399a1.js";import"./player_instance-34118a5b.js";import"axios";import"js-cookie";import"./currentVideoInfo-a8a254c2.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";import"./icons-37daa6b3.js";import"./helper-349e076f.js";import"@babel/runtime/helpers/classCallCheck";import"@babel/runtime/helpers/createClass";import"@babel/runtime/helpers/assertThisInitialized";import"@babel/runtime/helpers/inherits";import"@babel/runtime/helpers/possibleConstructorReturn";import"@babel/runtime/helpers/getPrototypeOf";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n={},o=function(o){n=o},r=function(o){var r;return(null===(r=n)||void 0===r?void 0:r[o])||""};export{r as g,o as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=".stream-selection {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.stream-selector-icon {\n cursor: pointer;\n}\n\n.stream-container {\n position: absolute;\n width: 350px;\n right: -350px;\n bottom: 0px;\n\n background: #00000080 !important;\n z-index: -1;\n transition: right 300ms ease-out;\n}\n\n.stream-container.hidden {\n visibility: hidden;\n}\n\n.stream-selection.open {\n background: rgba(255, 255, 255, 0.20) !important;\n}\n\n.stream-tray {\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n}\n\n.stream-selector-head {\n display: flex;\n align-items: center;\n padding-top: 18px;\n padding-left: 20px;\n margin-bottom: 20px;\n}\n\n.stream-selector-title {\n font-size: 18px;\n font-weight: 600;\n margin-left: 25px;\n user-select: none;\n}\n\n.stream-selector-cross-icon {\n cursor: pointer;\n}\n\n.stream-selector-content {\n height: 74%;\n overflow: scroll;\n /* background: yellowgreen; */\n}\n\n.stream-selector-content::-webkit-scrollbar {\n display: none;\n}\n\n/* Hide scrollbar for IE, Edge and Firefox */\n.stream-selector-content {\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */\n}\n\n.stream-selector-content-video {\n height: 300px;\n margin-bottom: 30px;\n /* background: red; */\n}\n\n.stream {\n position: relative;\n height: 175px;\n width: 303px;\n background-repeat: no-repeat;\n background-size: contain;\n margin-bottom: 10px;\n}\n\n.stream>svg {\n display: none;\n}\n\n\n.stream.selected>svg {\n display: block;\n position: absolute;\n right: 0;\n top: -1px;\n}\n\n.parent {\n margin: 21px 52px 23px 34px;\n}\n\n.stream:hover {\n cursor: pointer;\n}\n\n.info {\n font-size: 15px;\n padding: 7px;\n}\n.stream-thumbnail-image{\n width: 100%;\n height: 100%;\n}\n\n@media (max-width:600px){\n .stream-selector-head{\n padding-top: 11px !important;\n padding-left: 8px !important;\n margin-bottom: 17px !important;\n }\n .stream-selector-cross-icon>svg{\n height: 12px;\n }\n .stream-selector-title{\n font-size: 14px;\n }\n .stream-selector-content{\n height: 52%;\n }\n .stream-container{\n width: 200px !important;\n }\n .stream{\n height: 89px !important;\n width: 167px !important;\n }\n .info {\n font-size: 9px !important;\n }\n .selected-stream{\n height: 18px;\n width: 20px;\n }\n .stream-selector-title{\n margin-left: 13px;\n }\n}";export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=".video-js .stream-selection {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.video-js .stream-selection .stream-container.hidden{\n right: -250px;\n}\n\n.video-js .stream-selection .stream-selector-icon {\n cursor: pointer;\n}\n\n.video-js .stream-selection .stream-container {\n position: absolute;\n width: 250px;\n right: 0px;\n bottom: 0px;\n background: #000000 !important;\n z-index: 1;\n transition: right 300ms ease-out;\n}\n\n\n.video-js .stream-selection.open {\n background: rgba(255, 255, 255, 0.20) !important;\n}\n\n.video-js .stream-selection .stream-container .stream-tray{\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n}\n\n.video-js .stream-selection .stream-container .stream-selector-head{\n display: flex;\n align-items: center;\n margin-bottom: 20px;\n}\n\n.video-js .stream-selection .stream-container .stream-selector-head .stream-selector-title {\n text-align: left;\n background: #000;\n border-bottom: 1px solid #484848;\n width: 100%;\n padding: 0 3px 0 18px;\n font-size: 13px;\n line-height: 38px;\n}\n\n.video-js .stream-selection .stream-container .stream-selector-head .stream-selector-cross-icon {\n cursor: pointer;\n position: absolute;\n right: 10px;\n}\n\n.video-js .stream-selection .stream-container .stream-selector-content {\n height: 90%;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: thin;\n scrollbar-color: #666 #444;\n width: 100%;\n overflow: hidden auto;\n}\n\n.video-js .stream-selection .stream-container .stream-selector-content::-webkit-scrollbar {\n display: none;\n}\n\n/* Hide scrollbar for IE, Edge and Firefox */\n.video-js .stream-selection .stream-container .stream-selector-content {\n /* -ms-overflow-style: none; */\n /* IE and Edge */\n /* scrollbar-width: none; */\n /* Firefox */\n}\n\n/* .stream-selector-content-video {\n height: 300px;\n margin-bottom: 30px;\n} */\n\n.video-js .stream-selection .stream-container .stream-tray .stream{\n position: relative;\n height: 130px;\n width: 215px;\n background-repeat: no-repeat;\n background-size: contain;\n margin-bottom: 10px;\n}\n\n.video-js .stream-selection .stream-container .stream-tray .stream>svg{\n display: none;\n}\n\n\n.video-js .stream-selection .stream-container .stream-tray .stream.selected >svg{\n display: block;\n position: absolute;\n right: 0;\n top: -1px;\n}\n\n/* .parent { */\n /* margin: 21px 52px 23px 34px; */\n/* } */\n\n.video-js .stream-selection .stream-container .stream-tray .stream:hover {\n cursor: pointer;\n}\n\n.video-js .stream-selection .stream-container .stream-tray .stream .stream-thumbnail-image{\n width: 100%;\n height: 100%;\n}\n\n\n@media (max-width:600px){\n .video-js .stream-selection .stream-container .stream-selector-head{\n margin-bottom: 10px !important;\n }\n .video-js .stream-selection .stream-container .stream-selector-head .stream-selector-cross-icon > svg{\n height: 12px;\n }\n .video-js .stream-selection .stream-container .stream-selector-head .stream-selector-title{\n font-size: 14px;\n }\n .video-js .stream-selection .stream-container .stream-selector-content{\n height: 75%;\n }\n .video-js .stream-selection .stream-container {\n width: 200px !important;\n }\n .video-js .stream-selection .stream-container .stream-tray .stream{\n height: 89px !important;\n width: 167px !important;\n }\n .selected-stream{\n height: 18px;\n width: 20px;\n }\n}\n";export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/classCallCheck";import t from"@babel/runtime/helpers/createClass";import n from"@babel/runtime/helpers/inherits";import o from"@babel/runtime/helpers/possibleConstructorReturn";import i from"@babel/runtime/helpers/getPrototypeOf";import r from"video.js";import{P as l}from"./icons-37daa6b3.js";import{E as s}from"./generic-769f7ba2.js";import{s as a}from"./currentVideoInfo-a8a254c2.js";import{f as d}from"./skin-3dcba1b2.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"axios";import"./player_instance-34118a5b.js";import"js-cookie";import"./captions-f507e8ee.js";import"@babel/runtime/helpers/typeof";import"@babel/runtime/helpers/toConsumableArray";import"@babel/runtime/helpers/slicedToArray";import"@viewlift/comscore/index.js";function p(e){var t=u();return function(){var n,r=i(e);if(t){var l=i(this).constructor;n=Reflect.construct(r,arguments,l)}else n=r.apply(this,arguments);return o(this,n)}}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}var c=r.getComponent("Component"),m=function(o){n(s,c);var i=p(s);function s(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,s),(n=i.call(this,t,o)).playerId=o.playerId,n.seriesData=o.sres,n.currentVideoData=o.res,n.initialiseStructure(),n.loadCSS(),n}return t(s,[{key:"createEl",value:function(){var e=r.dom.createEl("div",{className:"play-next"}),t=r.dom.createEl("div",{className:"play-next-icon",innerHTML:"".concat(l(window.controlsColor?window.controlsColor:"white"))});return r.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){import("./nextEpisodeButton-a1556cdf.js").then((function(e){var t=document.createElement("style");t.id="multicam",t.append("".concat(e.default)),document.head.appendChild(t)}))}},{key:"initialiseStructure",value:function(){var e=this.el(),t=r.dom.createEl("div",{className:"next-eps nextepisode-hidden"}),n=r.dom.createEl("div",{className:"next",innerHTML:"Next Episode"}),o=r.dom.createEl("div",{className:"nextep-meta-details next-margin"}),i=r.dom.createEl("div",{className:"next-eps-image"}),l=r.dom.createEl("div",{className:"next-eps-description"});r.dom.appendContent(o,i),r.dom.appendContent(o,l),r.dom.appendContent(t,n),r.dom.appendContent(t,o),this.toggleContentOnHover(e,t),r.dom.appendContent(e,t)}},{key:"toggleContentOnHover",value:function(e,t){e.addEventListener("mouseover",(function(){r.dom.removeClass(t,"nextepisode-hidden")})),t.addEventListener("mouseover",(function(){r.dom.removeClass(t,"nextepisode-hidden")})),e.addEventListener("mouseout",(function(){r.dom.addClass(t,"nextepisode-hidden")})),t.addEventListener("mouseout",(function(){r.dom.addClass(t,"nextepisode-hidden")}))}}]),s}(),v=function(e,t){var n=f(e,t.video.gist.id),o=x(e[n],t.video.gist.id),i=h(e[n],o);C(i.nextEp)},f=function(e,t){for(var n=-1,o=0;o<e.length;o++)for(var i=0;i<e[o].episodes.length;i++)if(e[o].episodes[i].id===t){n=o;break}return n},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(!(e&&t>=0))return{prevEp:null,nextEp:null};var n=e.episodes.length,o=t-1>=0?t-1:n-1,i=(t+1)%n,r=n>1?e.episodes[o]:null,l=n>1?e.episodes[i]:null;return o===i&&(0===o?l=null:r=null),{prevEp:r,nextEp:l,prevEpIdx:o,nextEpIdx:i}},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=null;return e?(e.episodes.forEach((function(e,o){e.gist.id===t&&(n=o)})),n):null},C=function(e){var t,n;r.dom.$(".next-eps"),r.dom.$(".play-next").onclick=function(){var t;s("my-player",null==e||null===(t=e.gist)||void 0===t?void 0:t.id).then((function(e){a(e.response)}))};var o=r.dom.$(".next-eps-image"),i=d("<img src=".concat(null==e||null===(t=e.gist)||void 0===t?void 0:t.videoImageUrl," />")),l=null==i?void 0:i.firstChild;null==o||o.append(l);for(var p=r.dom.$(".next-eps-description"),u=d("<div class='next-eps-title'>".concat(null==e?void 0:e.title,"</div>\n <div class='next-eps-description-details'>").concat(null==e||null===(n=e.gist)||void 0===n?void 0:n.description,"</div>"));null!=u&&u.firstChild;)null==p||p.appendChild(u.firstChild)};export{m as default,v as initaliseFunctionality};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n="/* Next Episode */\n.video-js .play-next{\n width: 2.5rem;\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 4px;\n}\n\n.video-js .nextepisode-hidden{\n visibility: hidden;\n transition: visibility 250ms ease 0s;\n}\n\n.video-js .play-next-icon{\n cursor: pointer;\n}\n\n.video-js .next-eps-image{\n width: 124px;\n height: 70px;\n margin-right: 10px;\n}\n\n.video-js .next-eps-description{\n width: 58%;\n display: flex;\n flex-direction: column;\n line-height: 1.2;\n}\n\n.video-js .next-eps-title{\n font-size: 10pt;\n font-weight: 700;\n margin-bottom: 5px;\n}\n\n.video-js .next-eps-description-details{\n font-size: 8pt;\n padding-right: 5px;\n line-height: 1.4;\n}\n\n.video-js .nextep-meta-details{\n width: 100%;\n height: -webkit-fit-content;\n height: fit-content;\n padding: 10px 0;\n display: flex;\n flex-direction: row;\n cursor: pointer;\n border-radius: 0 0 10px 10px;\n}\n.video-js .nextep-meta-details:hover {\n background-color: rgba(0, 0, 0, 0.75);\n}\n\n\n.video-js .next{\n font-size: 16px;\n color: #9e9e9e;\n text-transform: uppercase;\n margin: 15px 0 5px;\n padding-left: 15px;\n}\n\n.video-js .next-margin {\n padding: 10px 0 10px 15px;\n}\n\n.video-js .next-eps{\n position: absolute;\n height: -webkit-fit-content;\n height: -moz-fit-content;\n height: fit-content;\n width: 330px;\n bottom: 38px;\n right: -15px;\n border-radius: 10px;\n background-color: #111;\n}\n\n.video-js .next-eps-title {\n font-size: 10pt;\n font-weight: 700;\n margin-bottom: 5px;\n}\n\n.video-js .next-eps-description-details {\n font-size: 8pt;\n padding-right: 5px;\n}\n\n@media (max-width: 600px) {\n .video-js .next-eps {\n display: none;\n /* position: absolute;\n height: -webkit-fit-content;\n height: -moz-fit-content;\n height: fit-content;\n width: 130px;\n bottom: 38px;\n right: -15px;\n border-radius: 10px;\n background-color: #111; */\n }\n\n .video-js .next {\n font-size: 12px;\n }\n\n .video-js .next-eps-image {\n display: none;\n }\n\n .video-js .next-margin {\n padding: 2px 8px 5px 9px;\n }\n .video-js .next-eps-title {\n font-size: 8pt;\n font-weight: 700;\n margin-bottom: 4px;\n }\n .video-js .next-eps-description {\n width: 100%;\n display: flex;\n flex-direction: column;\n line-height: 1.2;\n }\n}";export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"video.js";var t=function(t){return!!r.getPlayer("".concat(t))&&r.getPlayer("".concat(t))};export{t as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=".playlist-selection {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.playlist-selector-icon {\n cursor: pointer;\n}\n\n.selection-container {\n position: absolute;\n width: 350px;\n bottom: 0px;\n right: -350px;\n background: #00000080 !important;\n z-index: -1;\n transition: right 200ms ease-out;\n}\n\n.playlist-container {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n margin-bottom:4px;\n padding: 8px 12px;\n}\n\n.playlist-selection.open {\n background: rgba(255, 255, 255, 0.20) !important;\n}\n\n.playlist-selector-head {\n display: flex;\n align-items: center;\n padding-top: 18px;\n padding-left: 20px;\n margin-bottom: 20px;\n}\n\n.playlist-selector-title {\n font-size: 18px;\n font-weight: 600;\n margin-left: 25px;\n user-select: none;\n}\n\n.playlist-selector-cross-icon {\n cursor: pointer;\n}\n\n.playlist-selector-content {\n height: 74%;\n overflow: scroll;\n}\n\n.playlist-selector-content::-webkit-scrollbar {\n display: none;\n}\n\n/* Hide scrollbar for IE, Edge and Firefox */\n.playlist-selector-content {\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */\n}\n\n.playlist-selector-content-video {\n height: 300px;\n margin-bottom: 30px;\n}\n\n.recommended {\n height: 175px;\n width: 309px;\n background-repeat: no-repeat;\n background-size: contain;\n}\n\n.video {\n margin-bottom: 12px;\n}\n\n.parent {\n margin: 21px 52px 23px 34px;\n\n}\n\n.recommended:hover {\n cursor: pointer;\n}\n\n.info {\n font-size: 15px;\n padding: 7px;\n}\n\n\n.playlist-selector-content{\n padding: 0 18px;\n}\n\n.playlist-section{\n height: 3rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 4px;\n width: 100%;\n}\n\n.playlist-section-expanded{\n width: 100%;\n display: flex;\n transition: 300ms ease-in;\n}\n.playlist-section-expanded.hidden{\n visibility: hidden ;\n max-height: 0;\n}\n\n.playlist-title{\n font-size: 12px;\n font-weight: 800;\n text-align: start;\n pointer-events: none;\n}\n\n.playlist-title:hover{\n cursor: pointer;\n}\n.playlist-description{\n pointer-events: none;\n width: 50%;\n padding-left: 10px;\n text-align: start;\n}\n.playlist-image{\n width: 160px;\n height: 90px;\n background-repeat: no-repeat;\n background-size: contain;\n}\n\n\n.video-js .playlist-progress-bar {\n max-width: 100px;\n height: 3px;\n background-color: #7777777e;\n display: flex;\n width: 100%;\n}\n.video-js .playlist-progress-bar-value {\n background-color: white;\n height: 2px;\n margin: 0;\n}\n\n.playlist-section-expanded:hover{\n cursor: pointer;\n}\n\n\n@media (max-width:600px){\n .playlist-section-expanded {\n visibility: visible !important;\n display: flex !important;\n flex-direction: column;\n opacity: 1 !important;\n max-height: unset !important;\n }\n .playlist-section{\n display: none;\n }\n .playlist-description{\n display: none !important;\n }\n .playlist-selector-content{\n height: 52%;\n }\n .playlist-selector-cross-icon>svg{\n height: 12px;\n }\n .playlist-selector-title{\n font-size: 11px;\n margin-left: 5px;\n }\n .playlist-selector-head{\n margin-bottom: 10px;\n }\n .playlist-image {\n width: 137px;\n height: 76px;\n }\n .selection-container{\n width: 200px;\n }\n}";export{n as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns chromecast config object required by silvermine plugin
|
|
3
|
-
* @param {String} [res] [response of entitlement api]
|
|
4
|
-
* @param {String} [source] [source retrieved from cast-receiver as a param]
|
|
5
|
-
*/
|
|
6
|
-
export function getChromecastCustomData(res?: string, source?: string, tracks: any): {
|
|
7
|
-
isDrmEnabled: boolean;
|
|
8
|
-
licenseUrl: any;
|
|
9
|
-
licenseToken: any;
|
|
10
|
-
contentType: any;
|
|
11
|
-
duration: any;
|
|
12
|
-
mediaTitle: any;
|
|
13
|
-
mediaImage: any;
|
|
14
|
-
subTitles: any;
|
|
15
|
-
DVR: any;
|
|
16
|
-
};
|
|
17
|
-
export function addChromecastConfigurationDVR(playerId: any, startOverTime: any): void;
|
|
18
|
-
export function initialiseChromecastPlugin(config: any): Promise<void>;
|