@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.
Files changed (440) hide show
  1. package/{@viewlift/player-backup/cjs/autoNextVideo-a96d73b9.js → cjs/autoNextVideo-7d7ab3d1.js} +1 -1
  2. package/{@viewlift/player/esm → cjs}/bundle.css +559 -559
  3. package/{@viewlift/player-backup/cjs/features-e0b20fb8.js → cjs/features-2de8aac9.js} +1 -1
  4. package/{@viewlift/player-backup/cjs/generic-6a2ba5db.js → cjs/generic-1b82ec6f.js} +1 -1
  5. package/{@viewlift/player-backup/cjs/index-f7a6741b.js → cjs/index-1fcf5f9b.js} +1 -1
  6. package/{@viewlift/player/cjs/index-f292ad41.js → cjs/index-47740d12.js} +1 -1
  7. package/{@viewlift/player-backup/cjs/index-3eef2a22.js → cjs/index-47928a86.js} +1 -1
  8. package/{@viewlift/player-backup/cjs → cjs}/index.js +1 -1
  9. package/{@viewlift/player-backup/cjs/multicamv2-c83f7ed2.js → cjs/multicamv2-09024455.js} +1 -1
  10. package/{@viewlift/player/cjs/multicamv2-62765979.js → cjs/multicamv2-d7d7ea94.js} +1 -1
  11. package/{@viewlift/player/cjs/nextEpisodeButton-82932303.js → cjs/nextEpisodeButton-8602ebca.js} +1 -1
  12. package/{@viewlift/player-backup/cjs/playlist-dd9bd2bd.js → cjs/playlist-e84aed86.js} +1 -1
  13. package/{@viewlift/player-backup/cjs/series-55942b92.js → cjs/series-8ae3ffe0.js} +1 -1
  14. package/{@viewlift/player-backup/cjs/series-v2-a6f4b9b9.js → cjs/series-v2-a5b7993e.js} +1 -1
  15. package/{@viewlift/player/cjs/series-v2-a80f7f84.js → cjs/series-v2-d6c6b7dd.js} +1 -1
  16. package/{@viewlift/player-backup/cjs/skin-158708bd.js → cjs/skin-02eb7456.js} +1 -1
  17. package/{@viewlift/player-backup/cjs/skin-e7fc7639.js → cjs/skin-1cab5b19.js} +1 -1
  18. package/{@viewlift/player-backup/cjs/skin-5e45a3fc.js → cjs/skin-271984a0.js} +1 -1
  19. package/{@viewlift/player-backup/cjs/skin-5cd92b41.js → cjs/skin-43e92429.js} +1 -1
  20. package/{@viewlift/player-backup/cjs/skin-adabac44.js → cjs/skin-bdb40384.js} +1 -1
  21. package/{@viewlift/player/cjs/skin-3da27707.js → cjs/skin-d144630c.js} +1 -1
  22. package/{@viewlift/player-backup/cjs/skin-6c0442c4.js → cjs/skin-dad5728b.js} +1 -1
  23. package/{@viewlift/player/cjs/skin-7791bfcc.js → cjs/skin-ee0adfc1.js} +1 -1
  24. package/{@viewlift/player-backup/cjs/skin-b90d17c5.js → cjs/skin-fa0f019a.js} +1 -1
  25. package/{@viewlift/player/cjs/util-7bd5a6bc.js → cjs/util-ec7d2fb9.js} +1 -1
  26. package/{@viewlift/player-backup/cjs/videoSelector-bdd3458b.js → cjs/videoSelector-632e0634.js} +1 -1
  27. package/{@viewlift/player/cjs/videoSelector-b63e0a55.js → cjs/videoSelector-cbb4fd7e.js} +1 -1
  28. package/{@viewlift/player-backup/esm/autoNextVideo-1c43df3b.js → esm/autoNextVideo-18708ace.js} +1 -1
  29. package/{@viewlift/player-backup/cjs → esm}/bundle.css +701 -701
  30. package/{@viewlift/player/esm/features-14645d28.js → esm/features-778a7117.js} +1 -1
  31. package/{@viewlift/player-backup/esm/generic-749be534.js → esm/generic-d3cb033f.js} +1 -1
  32. package/{@viewlift/player/esm/index-962adc0f.js → esm/index-3ef2827d.js} +1 -1
  33. package/{@viewlift/player/esm/index-b68f3de7.js → esm/index-d485bd0c.js} +1 -1
  34. package/{@viewlift/player/esm/index-2feba524.js → esm/index-fb68a3fc.js} +1 -1
  35. package/{@viewlift/player-backup/esm → esm}/index.js +1 -1
  36. package/{@viewlift/player/esm/multicamv2-71497045.js → esm/multicamv2-5f6ae02a.js} +1 -1
  37. package/{@viewlift/player/esm/multicamv2-4f51caf2.js → esm/multicamv2-a442705f.js} +1 -1
  38. package/{@viewlift/player-backup/esm/nextEpisodeButton-7dd08b7a.js → esm/nextEpisodeButton-0f62df3c.js} +1 -1
  39. package/{@viewlift/player/esm/playlist-495143be.js → esm/playlist-c4e41393.js} +1 -1
  40. package/{@viewlift/player-backup/esm/series-9cd0ff8f.js → esm/series-41530aa2.js} +1 -1
  41. package/{@viewlift/player/esm/series-v2-dc3b2cc0.js → esm/series-v2-7cb7da9b.js} +1 -1
  42. package/{@viewlift/player-backup/esm/series-v2-4672090b.js → esm/series-v2-ff0cb000.js} +1 -1
  43. package/{@viewlift/player-backup/esm/skin-bbb8d8ac.js → esm/skin-1e085eaa.js} +1 -1
  44. package/{@viewlift/player-backup/esm/skin-755ef0cf.js → esm/skin-42edfeef.js} +1 -1
  45. package/{@viewlift/player-backup/esm/skin-f927be29.js → esm/skin-5acbd983.js} +1 -1
  46. package/{@viewlift/player-backup/esm/skin-996aec07.js → esm/skin-6208ab0e.js} +1 -1
  47. package/{@viewlift/player-backup/esm/skin-21d3ed15.js → esm/skin-69bd0539.js} +1 -1
  48. package/{@viewlift/player-backup/esm/skin-aa1f01a4.js → esm/skin-87a6ca51.js} +1 -1
  49. package/{@viewlift/player-backup/esm/skin-e665cba3.js → esm/skin-a832d373.js} +1 -1
  50. package/{@viewlift/player-backup/esm/skin-8efd151b.js → esm/skin-d5efcc88.js} +1 -1
  51. package/{@viewlift/player/esm/skin-e36f960c.js → esm/skin-fa248c90.js} +1 -1
  52. package/{@viewlift/player-backup/esm/util-cee0891f.js → esm/util-4e79be1c.js} +1 -1
  53. package/{@viewlift/player/esm/videoSelector-7ec3b7b4.js → esm/videoSelector-2691356b.js} +1 -1
  54. package/{@viewlift/player/esm/videoSelector-c49f57b3.js → esm/videoSelector-4d07e059.js} +1 -1
  55. package/package.json +21 -56
  56. package/@viewlift/player/cjs/autoNextVideo-aebb5b86.js +0 -1
  57. package/@viewlift/player/cjs/bundle.css +0 -2830
  58. package/@viewlift/player/cjs/caption-settings-34ca0188.js +0 -1
  59. package/@viewlift/player/cjs/caption-settings-d1eb3bf6.js +0 -1
  60. package/@viewlift/player/cjs/captions-dbc83a75.js +0 -1
  61. package/@viewlift/player/cjs/chromett-f925fb6c.js +0 -1
  62. package/@viewlift/player/cjs/currentVideoInfo-31d70bec.js +0 -1
  63. package/@viewlift/player/cjs/error-26d5a3c3.js +0 -1
  64. package/@viewlift/player/cjs/features-7c91a868.js +0 -1
  65. package/@viewlift/player/cjs/generic-5bea38c9.js +0 -1
  66. package/@viewlift/player/cjs/helper-a50a8ffc.js +0 -1
  67. package/@viewlift/player/cjs/icons-2609dbe4.js +0 -1
  68. package/@viewlift/player/cjs/index-3f0e537b.js +0 -1
  69. package/@viewlift/player/cjs/index-4905764c.js +0 -1
  70. package/@viewlift/player/cjs/index-a3e9c3fa.js +0 -1
  71. package/@viewlift/player/cjs/index-dc27b685.js +0 -1
  72. package/@viewlift/player/cjs/index.js +0 -1
  73. package/@viewlift/player/cjs/localisation-56e0a999.js +0 -1
  74. package/@viewlift/player/cjs/multicamv2-1efdbdb9.js +0 -1
  75. package/@viewlift/player/cjs/multicamv2-7a86b517.js +0 -1
  76. package/@viewlift/player/cjs/multicamv2-9b055a51.js +0 -1
  77. package/@viewlift/player/cjs/nextEpisodeButton-b6e6586f.js +0 -1
  78. package/@viewlift/player/cjs/player_instance-fcf6a8fb.js +0 -1
  79. package/@viewlift/player/cjs/playlist-1d71412d.js +0 -1
  80. package/@viewlift/player/cjs/playlist-df87ca90.js +0 -1
  81. package/@viewlift/player/cjs/resolution-f9dcc1b4.js +0 -1
  82. package/@viewlift/player/cjs/resolution-v2-e42e0101.js +0 -1
  83. package/@viewlift/player/cjs/series-9c237975.js +0 -1
  84. package/@viewlift/player/cjs/series-adbda303.js +0 -1
  85. package/@viewlift/player/cjs/series-v2-2105fd89.js +0 -1
  86. package/@viewlift/player/cjs/series-v2-8440f095.js +0 -1
  87. package/@viewlift/player/cjs/series-v2-e037e14e.js +0 -1
  88. package/@viewlift/player/cjs/settings-icon-8d364c01.js +0 -1
  89. package/@viewlift/player/cjs/settings-icon-b43f4406.js +0 -1
  90. package/@viewlift/player/cjs/skin-033b83d4.js +0 -1
  91. package/@viewlift/player/cjs/skin-225252ff.js +0 -1
  92. package/@viewlift/player/cjs/skin-37b25d7d.js +0 -1
  93. package/@viewlift/player/cjs/skin-38de8257.js +0 -1
  94. package/@viewlift/player/cjs/skin-49515c15.js +0 -1
  95. package/@viewlift/player/cjs/skin-5eee1389.js +0 -1
  96. package/@viewlift/player/cjs/skin-6c9a5185.js +0 -1
  97. package/@viewlift/player/cjs/skin-ba38afdb.js +0 -1
  98. package/@viewlift/player/cjs/skin-ddeeaf13.js +0 -1
  99. package/@viewlift/player/cjs/skin-eb0ecb8c.js +0 -1
  100. package/@viewlift/player/cjs/skin-f5e18b89.js +0 -1
  101. package/@viewlift/player/cjs/skin-fc1e7e52.js +0 -1
  102. package/@viewlift/player/cjs/start-begin-btn-5739a6c0.js +0 -1
  103. package/@viewlift/player/cjs/videoSelector-b6e03076.js +0 -1
  104. package/@viewlift/player/cjs/videoSelector-d080a65f.js +0 -1
  105. package/@viewlift/player/cjs/videoSelector-fcdf11eb.js +0 -1
  106. package/@viewlift/player/cjs/videojs-dash5.es-ec94e5f4.js +0 -1
  107. package/@viewlift/player/cjs/watch-live-btn-822534d1.js +0 -1
  108. package/@viewlift/player/esm/apis/index.d.ts +0 -11
  109. package/@viewlift/player/esm/assets/icons.d.ts +0 -25
  110. package/@viewlift/player/esm/autoNextVideo-45c813b4.js +0 -1
  111. package/@viewlift/player/esm/caption-settings-6001af40.js +0 -1
  112. package/@viewlift/player/esm/caption-settings-cb47408f.js +0 -1
  113. package/@viewlift/player/esm/captions-f507e8ee.js +0 -1
  114. package/@viewlift/player/esm/chromett-a3cbb2e1.js +0 -1
  115. package/@viewlift/player/esm/components/advertisement/advertisement.d.ts +0 -1
  116. package/@viewlift/player/esm/components/auto-next-video/autoNextVideo.d.ts +0 -2
  117. package/@viewlift/player/esm/components/big-mute-btn/index.d.ts +0 -9
  118. package/@viewlift/player/esm/components/broadcaster_image/index.d.ts +0 -1
  119. package/@viewlift/player/esm/components/caption-settings/caption-settings.d.ts +0 -14
  120. package/@viewlift/player/esm/components/dvr-seekbar/index.d.ts +0 -14
  121. package/@viewlift/player/esm/components/dvr-startover/helper.d.ts +0 -17
  122. package/@viewlift/player/esm/components/dvr-startover/index.d.ts +0 -1
  123. package/@viewlift/player/esm/components/dvr-startover/marker.d.ts +0 -3
  124. package/@viewlift/player/esm/components/dvr-startover/start-begin-btn.d.ts +0 -6
  125. package/@viewlift/player/esm/components/dvr-startover/watch-live-btn.d.ts +0 -6
  126. package/@viewlift/player/esm/components/multicam/multicam.d.ts +0 -18
  127. package/@viewlift/player/esm/components/multicam-v2/multicamv2.d.ts +0 -13
  128. package/@viewlift/player/esm/components/multicam-v2_TEMP/multicamv2.d.ts +0 -13
  129. package/@viewlift/player/esm/components/next-ep-preview/next-ep-preview.d.ts +0 -1
  130. package/@viewlift/player/esm/components/next-episode/nextEpisodeButton.d.ts +0 -13
  131. package/@viewlift/player/esm/components/playlist-tray/playlist.d.ts +0 -15
  132. package/@viewlift/player/esm/components/quality-selector/index.d.ts +0 -1
  133. package/@viewlift/player/esm/components/resolution/resolution-v2.d.ts +0 -18
  134. package/@viewlift/player/esm/components/resolution/resolution.d.ts +0 -20
  135. package/@viewlift/player/esm/components/series/series.d.ts +0 -10
  136. package/@viewlift/player/esm/components/series-v2/helper.d.ts +0 -3
  137. package/@viewlift/player/esm/components/series-v2/series-v2.d.ts +0 -25
  138. package/@viewlift/player/esm/components/series-v2_TEMP/helper.d.ts +0 -1
  139. package/@viewlift/player/esm/components/series-v2_TEMP/series-v2.d.ts +0 -21
  140. package/@viewlift/player/esm/components/settings-icon/settings-icon.d.ts +0 -17
  141. package/@viewlift/player/esm/components/trickplay/helper.d.ts +0 -13
  142. package/@viewlift/player/esm/components/trickplay/index.d.ts +0 -1
  143. package/@viewlift/player/esm/components/trickplay/videojs.thumbnails.d.ts +0 -1
  144. package/@viewlift/player/esm/components/video-selector/videoSelector.d.ts +0 -18
  145. package/@viewlift/player/esm/components/video-selector_TEMP/videoSelector.d.ts +0 -16
  146. package/@viewlift/player/esm/components/watch-history/handleWatchHistory.d.ts +0 -2
  147. package/@viewlift/player/esm/contentHandler/content_types/epg.d.ts +0 -4
  148. package/@viewlift/player/esm/contentHandler/content_types/external.d.ts +0 -4
  149. package/@viewlift/player/esm/contentHandler/content_types/index.d.ts +0 -5
  150. package/@viewlift/player/esm/contentHandler/content_types/series.d.ts +0 -4
  151. package/@viewlift/player/esm/contentHandler/content_types/vod.d.ts +0 -4
  152. package/@viewlift/player/esm/contentHandler/firePlayer.d.ts +0 -4
  153. package/@viewlift/player/esm/core/captions.d.ts +0 -10
  154. package/@viewlift/player/esm/core/generic.d.ts +0 -49
  155. package/@viewlift/player/esm/core/player_instance.d.ts +0 -6
  156. package/@viewlift/player/esm/core/renditions.d.ts +0 -6
  157. package/@viewlift/player/esm/core/util.d.ts +0 -19
  158. package/@viewlift/player/esm/core/volume.d.ts +0 -2
  159. package/@viewlift/player/esm/currentVideoInfo-a8a254c2.js +0 -1
  160. package/@viewlift/player/esm/dash/dashHandler.d.ts +0 -1
  161. package/@viewlift/player/esm/dash/linear_ssai.d.ts +0 -1
  162. package/@viewlift/player/esm/dash/sgai.d.ts +0 -14
  163. package/@viewlift/player/esm/error-2395864b.js +0 -1
  164. package/@viewlift/player/esm/features.d.ts +0 -33
  165. package/@viewlift/player/esm/generic-769f7ba2.js +0 -1
  166. package/@viewlift/player/esm/globalPlayerEvents.d.ts +0 -8
  167. package/@viewlift/player/esm/helper-349e076f.js +0 -1
  168. package/@viewlift/player/esm/helpers/browser.d.ts +0 -2
  169. package/@viewlift/player/esm/helpers/currentVideoInfo.d.ts +0 -21
  170. package/@viewlift/player/esm/helpers/errorHandling.d.ts +0 -2
  171. package/@viewlift/player/esm/helpers/loader.d.ts +0 -2
  172. package/@viewlift/player/esm/helpers/localisation.d.ts +0 -2
  173. package/@viewlift/player/esm/helpers/scriptLoader.d.ts +0 -2
  174. package/@viewlift/player/esm/helpers/secondary-switching.d.ts +0 -1
  175. package/@viewlift/player/esm/helpers/skin.d.ts +0 -20
  176. package/@viewlift/player/esm/helpers/sourceRetriever.d.ts +0 -11
  177. package/@viewlift/player/esm/helpers/ssaiEventHandler.d.ts +0 -27
  178. package/@viewlift/player/esm/helpers/token.d.ts +0 -9
  179. package/@viewlift/player/esm/icons-37daa6b3.js +0 -1
  180. package/@viewlift/player/esm/index-4cc8ac6f.js +0 -1
  181. package/@viewlift/player/esm/index-8e3eab6d.js +0 -1
  182. package/@viewlift/player/esm/index.d.ts +0 -44
  183. package/@viewlift/player/esm/index.js +0 -1
  184. package/@viewlift/player/esm/localisation-0bf399a1.js +0 -1
  185. package/@viewlift/player/esm/multicamv2-1fb5149a.js +0 -1
  186. package/@viewlift/player/esm/multicamv2-b7cec0cf.js +0 -1
  187. package/@viewlift/player/esm/nextEpisodeButton-6dfddf32.js +0 -1
  188. package/@viewlift/player/esm/nextEpisodeButton-a1556cdf.js +0 -1
  189. package/@viewlift/player/esm/player_instance-34118a5b.js +0 -1
  190. package/@viewlift/player/esm/playlist-7ecf432a.js +0 -1
  191. package/@viewlift/player/esm/plugins/chromecast.d.ts +0 -18
  192. package/@viewlift/player/esm/plugins/comscore_dist/index.d.ts +0 -50
  193. package/@viewlift/player/esm/plugins/index.d.ts +0 -2
  194. package/@viewlift/player/esm/plugins/library.d.ts +0 -8
  195. package/@viewlift/player/esm/plugins/videojs-dash5.es.d.ts +0 -51
  196. package/@viewlift/player/esm/plugins/videojs_contrib_dash.d.ts +0 -51
  197. package/@viewlift/player/esm/resolution-1c59b0f3.js +0 -1
  198. package/@viewlift/player/esm/resolution-v2-705ae275.js +0 -1
  199. package/@viewlift/player/esm/series-041152aa.js +0 -1
  200. package/@viewlift/player/esm/series-becf9249.js +0 -1
  201. package/@viewlift/player/esm/series-v2-6e9853f8.js +0 -1
  202. package/@viewlift/player/esm/series-v2-6effac8f.js +0 -1
  203. package/@viewlift/player/esm/series-v2-87343239.js +0 -1
  204. package/@viewlift/player/esm/settings-icon-1e7b0951.js +0 -1
  205. package/@viewlift/player/esm/settings-icon-1fbc99bc.js +0 -1
  206. package/@viewlift/player/esm/skin/carousel/skin.d.ts +0 -1
  207. package/@viewlift/player/esm/skin/default/events.d.ts +0 -1
  208. package/@viewlift/player/esm/skin/default/skin.d.ts +0 -1
  209. package/@viewlift/player/esm/skin/defaultV2/events.d.ts +0 -1
  210. package/@viewlift/player/esm/skin/defaultV2/skin.d.ts +0 -1
  211. package/@viewlift/player/esm/skin/index.d.ts +0 -1
  212. package/@viewlift/player/esm/skin/mini/events.d.ts +0 -1
  213. package/@viewlift/player/esm/skin/mini/skin.d.ts +0 -1
  214. package/@viewlift/player/esm/skin/minimalist/skin.d.ts +0 -1
  215. package/@viewlift/player/esm/skin/multiplayer/events.d.ts +0 -1
  216. package/@viewlift/player/esm/skin/multiplayer/skin.d.ts +0 -1
  217. package/@viewlift/player/esm/skin/news/events.d.ts +0 -1
  218. package/@viewlift/player/esm/skin/news/skin.d.ts +0 -1
  219. package/@viewlift/player/esm/skin/news_live/events.d.ts +0 -1
  220. package/@viewlift/player/esm/skin/news_live/skin.d.ts +0 -1
  221. package/@viewlift/player/esm/skin/vl_one/events.d.ts +0 -1
  222. package/@viewlift/player/esm/skin/vl_one/skin.d.ts +0 -1
  223. package/@viewlift/player/esm/skin-11e8e90b.js +0 -1
  224. package/@viewlift/player/esm/skin-271fa63f.js +0 -1
  225. package/@viewlift/player/esm/skin-273ee9b8.js +0 -1
  226. package/@viewlift/player/esm/skin-2af1a28a.js +0 -1
  227. package/@viewlift/player/esm/skin-2c638dc1.js +0 -1
  228. package/@viewlift/player/esm/skin-3dcba1b2.js +0 -1
  229. package/@viewlift/player/esm/skin-52c3510b.js +0 -1
  230. package/@viewlift/player/esm/skin-5804a5af.js +0 -1
  231. package/@viewlift/player/esm/skin-71be210e.js +0 -1
  232. package/@viewlift/player/esm/skin-b9731ec0.js +0 -1
  233. package/@viewlift/player/esm/skin-d4a4342d.js +0 -1
  234. package/@viewlift/player/esm/skin-e6600a72.js +0 -1
  235. package/@viewlift/player/esm/skin-fbab87d5.js +0 -1
  236. package/@viewlift/player/esm/start-begin-btn-1e096fec.js +0 -1
  237. package/@viewlift/player/esm/util-06603bad.js +0 -1
  238. package/@viewlift/player/esm/utilities/analytics.d.ts +0 -3
  239. package/@viewlift/player/esm/utilities/beacon.d.ts +0 -3
  240. package/@viewlift/player/esm/utilities/comscore.d.ts +0 -5
  241. package/@viewlift/player/esm/utilities/controlsColor.d.ts +0 -1
  242. package/@viewlift/player/esm/utilities/conviva.d.ts +0 -5
  243. package/@viewlift/player/esm/utilities/keyboardShortcuts.d.ts +0 -5
  244. package/@viewlift/player/esm/utilities/replaceMacros.d.ts +0 -1
  245. package/@viewlift/player/esm/videoSelector-8e258d45.js +0 -1
  246. package/@viewlift/player/esm/videoSelector-def99d5e.js +0 -1
  247. package/@viewlift/player/esm/videojs-dash5.es-390dd922.js +0 -1
  248. package/@viewlift/player/esm/watch-live-btn-5419f3a7.js +0 -1
  249. package/@viewlift/player/package.json +0 -23
  250. package/@viewlift/player-backup/cjs/index-d7f46b96.js +0 -1
  251. package/@viewlift/player-backup/cjs/multicamv2-9990d70f.js +0 -1
  252. package/@viewlift/player-backup/cjs/nextEpisodeButton-cdcff8ec.js +0 -1
  253. package/@viewlift/player-backup/cjs/series-v2-588c92cf.js +0 -1
  254. package/@viewlift/player-backup/cjs/skin-391418cd.js +0 -1
  255. package/@viewlift/player-backup/cjs/skin-77a58b45.js +0 -1
  256. package/@viewlift/player-backup/cjs/util-7c5a46f3.js +0 -1
  257. package/@viewlift/player-backup/cjs/videoSelector-592002a3.js +0 -1
  258. package/@viewlift/player-backup/esm/bundle.css +0 -2830
  259. package/@viewlift/player-backup/esm/features-465db57c.js +0 -1
  260. package/@viewlift/player-backup/esm/index-9ac54b9b.js +0 -1
  261. package/@viewlift/player-backup/esm/index-ada7d4ee.js +0 -1
  262. package/@viewlift/player-backup/esm/index-c4f3477c.js +0 -1
  263. package/@viewlift/player-backup/esm/multicamv2-644cda07.js +0 -1
  264. package/@viewlift/player-backup/esm/multicamv2-e193da51.js +0 -1
  265. package/@viewlift/player-backup/esm/playlist-6d62bee9.js +0 -1
  266. package/@viewlift/player-backup/esm/series-v2-a9038834.js +0 -1
  267. package/@viewlift/player-backup/esm/skin-62bf8143.js +0 -1
  268. package/@viewlift/player-backup/esm/videoSelector-0cfed08d.js +0 -1
  269. package/@viewlift/player-backup/esm/videoSelector-65c51f5e.js +0 -1
  270. package/@viewlift/player-backup/package.json +0 -23
  271. package/@viewlift/player_legacy/cjs/autoNextVideo-0207f04b.js +0 -1
  272. package/@viewlift/player_legacy/cjs/bundle.css +0 -750
  273. package/@viewlift/player_legacy/cjs/caption-settings-34ca0188.js +0 -1
  274. package/@viewlift/player_legacy/cjs/caption-settings-b2f5caed.js +0 -1
  275. package/@viewlift/player_legacy/cjs/chromett-f925fb6c.js +0 -1
  276. package/@viewlift/player_legacy/cjs/dvr_skin-f7f770ae.js +0 -1
  277. package/@viewlift/player_legacy/cjs/error-26d5a3c3.js +0 -1
  278. package/@viewlift/player_legacy/cjs/features-a8748699.js +0 -1
  279. package/@viewlift/player_legacy/cjs/generic-84f939ad.js +0 -1
  280. package/@viewlift/player_legacy/cjs/icons-515b2da0.js +0 -1
  281. package/@viewlift/player_legacy/cjs/index.js +0 -1
  282. package/@viewlift/player_legacy/cjs/keyboardShortcuts-f767c579.js +0 -1
  283. package/@viewlift/player_legacy/cjs/loader-393b838a.js +0 -1
  284. package/@viewlift/player_legacy/cjs/localisation-56e0a999.js +0 -1
  285. package/@viewlift/player_legacy/cjs/multicam-8f3d061a.js +0 -1
  286. package/@viewlift/player_legacy/cjs/multicam-a41fe4a6.js +0 -1
  287. package/@viewlift/player_legacy/cjs/multicamv2-76d8530b.js +0 -1
  288. package/@viewlift/player_legacy/cjs/multicamv2-c4d6b48f.js +0 -1
  289. package/@viewlift/player_legacy/cjs/mwebPotrait-3c11d7cf.js +0 -1
  290. package/@viewlift/player_legacy/cjs/mwebPotraitTray-456078d4.js +0 -1
  291. package/@viewlift/player_legacy/cjs/nextEpisodeButton-b6e6586f.js +0 -1
  292. package/@viewlift/player_legacy/cjs/nextEpisodeButton-fe540cf1.js +0 -1
  293. package/@viewlift/player_legacy/cjs/nondvr_skin-ef2cb3b2.js +0 -1
  294. package/@viewlift/player_legacy/cjs/playlist-3932fd04.js +0 -1
  295. package/@viewlift/player_legacy/cjs/playlist-df87ca90.js +0 -1
  296. package/@viewlift/player_legacy/cjs/renditions-6e13cb32.js +0 -1
  297. package/@viewlift/player_legacy/cjs/resolution-93446685.js +0 -1
  298. package/@viewlift/player_legacy/cjs/series-9c237975.js +0 -1
  299. package/@viewlift/player_legacy/cjs/series-da129ad0.js +0 -1
  300. package/@viewlift/player_legacy/cjs/series-v2-4690c9b9.js +0 -1
  301. package/@viewlift/player_legacy/cjs/series-v2-fd7485a5.js +0 -1
  302. package/@viewlift/player_legacy/cjs/settings-icon-8d364c01.js +0 -1
  303. package/@viewlift/player_legacy/cjs/settings-icon-df80e58e.js +0 -1
  304. package/@viewlift/player_legacy/cjs/skin-225252ff.js +0 -1
  305. package/@viewlift/player_legacy/cjs/skin-63b8f7de.js +0 -1
  306. package/@viewlift/player_legacy/cjs/skin-64ba51a6.js +0 -1
  307. package/@viewlift/player_legacy/cjs/skin-6c47cc18.js +0 -1
  308. package/@viewlift/player_legacy/cjs/skin-7bc2d995.js +0 -1
  309. package/@viewlift/player_legacy/cjs/skin-7c1b43eb.js +0 -1
  310. package/@viewlift/player_legacy/cjs/skin-983a2ea7.js +0 -1
  311. package/@viewlift/player_legacy/cjs/skin-b361b474.js +0 -1
  312. package/@viewlift/player_legacy/cjs/skin-c66e9b42.js +0 -1
  313. package/@viewlift/player_legacy/cjs/skin-fc1e7e52.js +0 -1
  314. package/@viewlift/player_legacy/cjs/util-fb2cc4c4.js +0 -1
  315. package/@viewlift/player_legacy/cjs/videoSelector-aff5bd81.js +0 -1
  316. package/@viewlift/player_legacy/cjs/videoSelector-fcdf11eb.js +0 -1
  317. package/@viewlift/player_legacy/esm/autoNextVideo-9849ba49.js +0 -1
  318. package/@viewlift/player_legacy/esm/bundle.css +0 -750
  319. package/@viewlift/player_legacy/esm/caption-settings-c487e1d4.js +0 -1
  320. package/@viewlift/player_legacy/esm/caption-settings-cb47408f.js +0 -1
  321. package/@viewlift/player_legacy/esm/chromett-a3cbb2e1.js +0 -1
  322. package/@viewlift/player_legacy/esm/dvr_skin-9cc1b144.js +0 -1
  323. package/@viewlift/player_legacy/esm/error-2395864b.js +0 -1
  324. package/@viewlift/player_legacy/esm/features-f0405edc.js +0 -1
  325. package/@viewlift/player_legacy/esm/generic-d6622897.js +0 -1
  326. package/@viewlift/player_legacy/esm/icons-3e9a1686.js +0 -1
  327. package/@viewlift/player_legacy/esm/index.js +0 -1
  328. package/@viewlift/player_legacy/esm/keyboardShortcuts-d3c02093.js +0 -1
  329. package/@viewlift/player_legacy/esm/loader-580278fe.js +0 -1
  330. package/@viewlift/player_legacy/esm/localisation-0bf399a1.js +0 -1
  331. package/@viewlift/player_legacy/esm/multicam-4b0e408e.js +0 -1
  332. package/@viewlift/player_legacy/esm/multicam-de741974.js +0 -1
  333. package/@viewlift/player_legacy/esm/multicamv2-d006cffa.js +0 -1
  334. package/@viewlift/player_legacy/esm/multicamv2-efe93b72.js +0 -1
  335. package/@viewlift/player_legacy/esm/mwebPotrait-3c1805d8.js +0 -1
  336. package/@viewlift/player_legacy/esm/mwebPotraitTray-5323453e.js +0 -1
  337. package/@viewlift/player_legacy/esm/nextEpisodeButton-172e786c.js +0 -1
  338. package/@viewlift/player_legacy/esm/nextEpisodeButton-a1556cdf.js +0 -1
  339. package/@viewlift/player_legacy/esm/nondvr_skin-64be70e5.js +0 -1
  340. package/@viewlift/player_legacy/esm/playlist-7ecf432a.js +0 -1
  341. package/@viewlift/player_legacy/esm/playlist-ce940630.js +0 -1
  342. package/@viewlift/player_legacy/esm/renditions-71ea4b1e.js +0 -1
  343. package/@viewlift/player_legacy/esm/resolution-9836657e.js +0 -1
  344. package/@viewlift/player_legacy/esm/series-041152aa.js +0 -1
  345. package/@viewlift/player_legacy/esm/series-90b99709.js +0 -1
  346. package/@viewlift/player_legacy/esm/series-v2-05347955.js +0 -1
  347. package/@viewlift/player_legacy/esm/series-v2-4cdbf9b1.js +0 -1
  348. package/@viewlift/player_legacy/esm/settings-icon-1fbc99bc.js +0 -1
  349. package/@viewlift/player_legacy/esm/settings-icon-982e8c56.js +0 -1
  350. package/@viewlift/player_legacy/esm/skin-271fa63f.js +0 -1
  351. package/@viewlift/player_legacy/esm/skin-28f20306.js +0 -1
  352. package/@viewlift/player_legacy/esm/skin-2c638dc1.js +0 -1
  353. package/@viewlift/player_legacy/esm/skin-35587f60.js +0 -1
  354. package/@viewlift/player_legacy/esm/skin-649d1a0c.js +0 -1
  355. package/@viewlift/player_legacy/esm/skin-96de1bc3.js +0 -1
  356. package/@viewlift/player_legacy/esm/skin-cd537931.js +0 -1
  357. package/@viewlift/player_legacy/esm/skin-dc0ea0bd.js +0 -1
  358. package/@viewlift/player_legacy/esm/skin-e9170fb9.js +0 -1
  359. package/@viewlift/player_legacy/esm/skin-fbc45594.js +0 -1
  360. package/@viewlift/player_legacy/esm/util-4a2489f5.js +0 -1
  361. package/@viewlift/player_legacy/esm/videoSelector-8e258d45.js +0 -1
  362. package/@viewlift/player_legacy/esm/videoSelector-e140c66d.js +0 -1
  363. package/@viewlift/player_legacy/package.json +0 -17
  364. package/@viewlift/web-multiplayer/cjs/bundle.css +0 -68
  365. package/@viewlift/web-multiplayer/cjs/index.js +0 -1
  366. package/@viewlift/web-multiplayer/esm/App.js +0 -1
  367. package/@viewlift/web-multiplayer/esm/bundle.css +0 -68
  368. package/@viewlift/web-multiplayer/esm/components/Multiplayer.js +0 -1
  369. package/@viewlift/web-multiplayer/esm/index.js +0 -1
  370. package/@viewlift/web-multiplayer/esm/reportWebVitals.js +0 -1
  371. package/@viewlift/web-multiplayer/package.json +0 -38
  372. package/player-micro-frontend/cjs/index.js +0 -1
  373. package/player-micro-frontend/esm/index.js +0 -1
  374. package/player-micro-frontend/package.json +0 -33
  375. /package/{@viewlift/player-backup/cjs → cjs}/caption-settings-34ca0188.js +0 -0
  376. /package/{@viewlift/player-backup/cjs → cjs}/caption-settings-d1eb3bf6.js +0 -0
  377. /package/{@viewlift/player-backup/cjs → cjs}/captions-dbc83a75.js +0 -0
  378. /package/{@viewlift/player-backup/cjs → cjs}/chromett-f925fb6c.js +0 -0
  379. /package/{@viewlift/player-backup/cjs → cjs}/currentVideoInfo-31d70bec.js +0 -0
  380. /package/{@viewlift/player-backup/cjs → cjs}/error-26d5a3c3.js +0 -0
  381. /package/{@viewlift/player-backup/cjs → cjs}/helper-a50a8ffc.js +0 -0
  382. /package/{@viewlift/player-backup/cjs → cjs}/icons-2609dbe4.js +0 -0
  383. /package/{@viewlift/player-backup/cjs → cjs}/index-3f0e537b.js +0 -0
  384. /package/{@viewlift/player-backup/cjs → cjs}/index-4905764c.js +0 -0
  385. /package/{@viewlift/player-backup/cjs → cjs}/localisation-56e0a999.js +0 -0
  386. /package/{@viewlift/player-backup/cjs → cjs}/multicamv2-1efdbdb9.js +0 -0
  387. /package/{@viewlift/player-backup/cjs → cjs}/multicamv2-7a86b517.js +0 -0
  388. /package/{@viewlift/player-backup/cjs → cjs}/nextEpisodeButton-b6e6586f.js +0 -0
  389. /package/{@viewlift/player-backup/cjs → cjs}/player_instance-fcf6a8fb.js +0 -0
  390. /package/{@viewlift/player-backup/cjs → cjs}/playlist-df87ca90.js +0 -0
  391. /package/{@viewlift/player-backup/cjs → cjs}/resolution-f9dcc1b4.js +0 -0
  392. /package/{@viewlift/player-backup/cjs → cjs}/resolution-v2-e42e0101.js +0 -0
  393. /package/{@viewlift/player-backup/cjs → cjs}/series-9c237975.js +0 -0
  394. /package/{@viewlift/player-backup/cjs → cjs}/series-v2-2105fd89.js +0 -0
  395. /package/{@viewlift/player-backup/cjs → cjs}/series-v2-e037e14e.js +0 -0
  396. /package/{@viewlift/player-backup/cjs → cjs}/settings-icon-8d364c01.js +0 -0
  397. /package/{@viewlift/player-backup/cjs → cjs}/settings-icon-b43f4406.js +0 -0
  398. /package/{@viewlift/player-backup/cjs → cjs}/skin-225252ff.js +0 -0
  399. /package/{@viewlift/player-backup/cjs → cjs}/skin-38de8257.js +0 -0
  400. /package/{@viewlift/player-backup/cjs → cjs}/skin-ba38afdb.js +0 -0
  401. /package/{@viewlift/player-backup/cjs → cjs}/skin-f5e18b89.js +0 -0
  402. /package/{@viewlift/player-backup/cjs → cjs}/skin-fc1e7e52.js +0 -0
  403. /package/{@viewlift/player-backup/cjs → cjs}/start-begin-btn-5739a6c0.js +0 -0
  404. /package/{@viewlift/player-backup/cjs → cjs}/videoSelector-b6e03076.js +0 -0
  405. /package/{@viewlift/player-backup/cjs → cjs}/videoSelector-fcdf11eb.js +0 -0
  406. /package/{@viewlift/player-backup/cjs → cjs}/videojs-dash5.es-ec94e5f4.js +0 -0
  407. /package/{@viewlift/player-backup/cjs → cjs}/watch-live-btn-822534d1.js +0 -0
  408. /package/{@viewlift/player-backup/esm → esm}/caption-settings-6001af40.js +0 -0
  409. /package/{@viewlift/player-backup/esm → esm}/caption-settings-cb47408f.js +0 -0
  410. /package/{@viewlift/player-backup/esm → esm}/captions-f507e8ee.js +0 -0
  411. /package/{@viewlift/player-backup/esm → esm}/chromett-a3cbb2e1.js +0 -0
  412. /package/{@viewlift/player-backup/esm → esm}/currentVideoInfo-a8a254c2.js +0 -0
  413. /package/{@viewlift/player-backup/esm → esm}/error-2395864b.js +0 -0
  414. /package/{@viewlift/player-backup/esm → esm}/helper-349e076f.js +0 -0
  415. /package/{@viewlift/player-backup/esm → esm}/icons-37daa6b3.js +0 -0
  416. /package/{@viewlift/player-backup/esm → esm}/index-4cc8ac6f.js +0 -0
  417. /package/{@viewlift/player-backup/esm → esm}/index-8e3eab6d.js +0 -0
  418. /package/{@viewlift/player-backup/esm → esm}/localisation-0bf399a1.js +0 -0
  419. /package/{@viewlift/player-backup/esm → esm}/multicamv2-1fb5149a.js +0 -0
  420. /package/{@viewlift/player-backup/esm → esm}/multicamv2-b7cec0cf.js +0 -0
  421. /package/{@viewlift/player-backup/esm → esm}/nextEpisodeButton-a1556cdf.js +0 -0
  422. /package/{@viewlift/player-backup/esm → esm}/player_instance-34118a5b.js +0 -0
  423. /package/{@viewlift/player-backup/esm → esm}/playlist-7ecf432a.js +0 -0
  424. /package/{@viewlift/player-backup/esm → esm}/resolution-1c59b0f3.js +0 -0
  425. /package/{@viewlift/player-backup/esm → esm}/resolution-v2-705ae275.js +0 -0
  426. /package/{@viewlift/player-backup/esm → esm}/series-041152aa.js +0 -0
  427. /package/{@viewlift/player-backup/esm → esm}/series-v2-6e9853f8.js +0 -0
  428. /package/{@viewlift/player-backup/esm → esm}/series-v2-87343239.js +0 -0
  429. /package/{@viewlift/player-backup/esm → esm}/settings-icon-1e7b0951.js +0 -0
  430. /package/{@viewlift/player-backup/esm → esm}/settings-icon-1fbc99bc.js +0 -0
  431. /package/{@viewlift/player-backup/esm → esm}/skin-271fa63f.js +0 -0
  432. /package/{@viewlift/player-backup/esm → esm}/skin-2c638dc1.js +0 -0
  433. /package/{@viewlift/player-backup/esm → esm}/skin-3dcba1b2.js +0 -0
  434. /package/{@viewlift/player-backup/esm → esm}/skin-71be210e.js +0 -0
  435. /package/{@viewlift/player-backup/esm → esm}/skin-fbab87d5.js +0 -0
  436. /package/{@viewlift/player-backup/esm → esm}/start-begin-btn-1e096fec.js +0 -0
  437. /package/{@viewlift/player-backup/esm → esm}/videoSelector-8e258d45.js +0 -0
  438. /package/{@viewlift/player-backup/esm → esm}/videoSelector-def99d5e.js +0 -0
  439. /package/{@viewlift/player-backup/esm → esm}/videojs-dash5.es-390dd922.js +0 -0
  440. /package/{@viewlift/player-backup/esm → esm}/watch-live-btn-5419f3a7.js +0 -0
@@ -1 +1 @@
1
- "use strict";var e=require("@babel/runtime/helpers/classCallCheck"),t=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),i=require("@babel/runtime/helpers/getPrototypeOf"),l=require("video.js"),a=require("./icons-2609dbe4.js"),r=require("./generic-5bea38c9.js"),d=require("./currentVideoInfo-31d70bec.js"),s=require("./skin-f5e18b89.js"),c=require("./autoNextVideo-aebb5b86.js"),u=require("./localisation-56e0a999.js");function m(e){var t=v();return function(){var n,l=i(e);if(t){var a=i(this).constructor;n=Reflect.construct(l,arguments,a)}else n=l.apply(this,arguments);return o(this,n)}}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("axios"),require("./player_instance-fcf6a8fb.js"),require("js-cookie"),require("./captions-dbc83a75.js"),require("@babel/runtime/helpers/typeof"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/slicedToArray"),require("@viewlift/comscore/index.js"),require("./util-7bd5a6bc.js");var p=l.getComponent("Component"),h=function(o){n(v,p);var i=m(v);function v(t){var n,o,l,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,v),(l=i.call(this,t,a)).playerId=a.playerId,l.seriesData=a.sres,l.videos=a.related.content,l.cb=(null==a||null===(n=a.related)||void 0===n?void 0:n.cb)||null,l.autoNext=(null==a||null===(o=a.related)||void 0===o?void 0:o.autoNext)||!1,l.currentVideoData=a.res,l.initialiseStructure(),l.loadCSS(),l.autoNext&&(d.setVideoIdx(0),c.autoPlayNext({playerId:l.playerId,content:l.videos,cb:l.cb})),l}return t(v,[{key:"createEl",value:function(){var e=l.dom.createEl("div",{className:"video-selection vjs-control vjs-button"});e.style.position="unset";var t=l.dom.createEl("button",{className:"video-selector-icon",title:"video selector",innerHTML:"".concat(a.PlaylistIcon())});return l.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){Promise.resolve().then((function(){return require("./videoSelector-b6e03076.js")})).then((function(e){var t=document.createElement("style");t.id="video-selection",t.append("".concat(e.default)),document.head.appendChild(t)}))}},{key:"initialiseStructure",value:function(){var e=this,t=this.el(),n=l.dom.createEl("div",{className:"video-selection-container hidden"});l.dom.$(".video-selector-icon",this.el()).onclick=function(){var o;e.handleTabIndexSelector(),null!==(o=n.classList)&&void 0!==o&&o.contains("hidden")?(s.closeOpenDrawers(),n.classList.remove("hidden"),t.classList.add("open"),s.setUpdatedElHeight(e.playerId,n)):(n.classList.add("hidden"),t.classList.remove("open"))};var o=document.getElementById(this.playerId);if(o){var i=window.getComputedStyle(o,null).getPropertyValue("height");n.style.height="".concat(i),l.dom.appendContent(t,n),o.style.overflow="hidden",this.addFunctionality(n),s.detectOrientationChange(this.playerId,n)}}},{key:"loadVideoAssetById",value:function(e){var t=this;d.setVideoIdx(e+1);for(var n=l.dom.$$(".recommended"),o=0;o<n.length;o++)n[o].style.border="none";s.highlightVideo(e),r.load(this.playerId,this.videos[e].id).then((function(e){t.cb&&t.cb(e)})).catch((function(e){t.cb&&t.cb(e)}))}},{key:"handleTabIndexSelector",value:function(){var e,t,n;null!==(e=document.getElementsByClassName("video-selector-cross-icon"))&&void 0!==e&&e[0]&&(document.getElementsByClassName("video-selector-cross-icon")[0].tabIndex=0);for(var o=document.getElementsByClassName("video-accessibility"),i=(null==o||null===(t=o[0])||void 0===t||null===(n=t.children)||void 0===n?void 0:n.length)||0,l=0;l<i;l++)document.getElementsByClassName("recommended -".concat(l))[0]&&(document.getElementsByClassName("recommended -".concat(l))[0].tabIndex=0)}},{key:"handleCloseTabIndex",value:function(){var e,t,n;null!==(e=document.getElementsByClassName("video-selector-cross-icon"))&&void 0!==e&&e[0]&&(document.getElementsByClassName("video-selector-cross-icon")[0].tabIndex=-1);for(var o=document.getElementsByClassName("video-accessibility"),i=(null==o||null===(t=o[0])||void 0===t||null===(n=t.children)||void 0===n?void 0:n.length)||0,l=0;l<i;l++)document.getElementsByClassName("recommended -".concat(l))&&(document.getElementsByClassName("recommended -".concat(l))[0].tabIndex=-1)}},{key:"addFunctionality",value:function(e){var t=this,n=this.el(),o=l.dom.createEl("div",{className:"video-selector-head"}),i=l.dom.createEl("div",{className:"video-selector-cross-icon",ariaLabel:"close video selector",tabIndex:-1,innerHTML:"".concat(a.crossIconSvg())});i.onkeydown=function(o){"Enter"===o.key&&(e.classList.add("hidden"),n.classList.remove("open"),t.handleCloseTabIndex())},i.onclick=function(){e.classList.add("hidden"),n.classList.remove("open"),t.handleCloseTabIndex()};for(var r=l.dom.createEl("div",{className:"video-selector-title",innerHTML:u.getLocalisation("relatedVideoTitle")||"Recommended"}),d=l.dom.createEl("div",{className:"video-selector-content",tabIndex:-1}),c=l.dom.createEl("div",{className:"video-container video-accessibility"}),m=function(e){var n,o,i,a,r,u,m,v,p=l.dom.createEl("div",{className:"video -".concat(e)}),h=l.dom.createEl("div",{className:"recommended -".concat(e),ariaLabel:"".concat(t.videos[e].title),type:"button",tabIndex:-1});h.setAttribute("video-idx",e),h.onkeydown=function(n){"Enter"===n.key&&t.loadVideoAssetById(e)},h.onclick=function(){t.loadVideoAssetById(e)};var y=document.createElement("img");y.className="related-thumbnail-image",y.src="".concat(s.impolicy16x9(null==t||null===(n=t.videos)||void 0===n||null===(o=n[e])||void 0===o?void 0:o.img)||s.impolicy16x9(null===(i=window)||void 0===i||null===(a=i.app_data)||void 0===a||null===(r=a.appcmsMain)||void 0===r||null===(u=r.images)||void 0===u?void 0:u.placeholderCover)),y.alt="".concat((null==t||null===(m=t.videos[e])||void 0===m?void 0:m.title.trim().split(/\s+/).slice(0,2).join(" "))||""),h.append(y);var b=l.dom.createEl("div",{className:"info -".concat(e),innerHTML:"".concat((null==t||null===(v=t.videos[e])||void 0===v?void 0:v.title)||"")});l.dom.appendContent(p,h),l.dom.appendContent(p,b),l.dom.appendContent(c,p),l.dom.appendContent(d,c)},v=0;v<this.videos.length;v++)m(v);l.dom.appendContent(o,r),l.dom.appendContent(o,i),l.dom.appendContent(e,o),l.dom.appendContent(e,d),s.handleDrawerResizing(this.playerId,e)}}]),v}();exports.default=h;
1
+ "use strict";var e=require("@babel/runtime/helpers/classCallCheck"),t=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),i=require("@babel/runtime/helpers/getPrototypeOf"),l=require("video.js"),a=require("./icons-2609dbe4.js"),r=require("./generic-1b82ec6f.js"),d=require("./currentVideoInfo-31d70bec.js"),s=require("./skin-f5e18b89.js"),c=require("./autoNextVideo-7d7ab3d1.js"),u=require("./localisation-56e0a999.js");function m(e){var t=v();return function(){var n,l=i(e);if(t){var a=i(this).constructor;n=Reflect.construct(l,arguments,a)}else n=l.apply(this,arguments);return o(this,n)}}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("axios"),require("./player_instance-fcf6a8fb.js"),require("js-cookie"),require("./captions-dbc83a75.js"),require("@babel/runtime/helpers/typeof"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/slicedToArray"),require("@viewlift/comscore/index.js"),require("./util-ec7d2fb9.js");var p=l.getComponent("Component"),h=function(o){n(v,p);var i=m(v);function v(t){var n,o,l,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,v),(l=i.call(this,t,a)).playerId=a.playerId,l.seriesData=a.sres,l.videos=a.related.content,l.cb=(null==a||null===(n=a.related)||void 0===n?void 0:n.cb)||null,l.autoNext=(null==a||null===(o=a.related)||void 0===o?void 0:o.autoNext)||!1,l.currentVideoData=a.res,l.initialiseStructure(),l.loadCSS(),l.autoNext&&(d.setVideoIdx(0),c.autoPlayNext({playerId:l.playerId,content:l.videos,cb:l.cb})),l}return t(v,[{key:"createEl",value:function(){var e=l.dom.createEl("div",{className:"video-selection vjs-control vjs-button"});e.style.position="unset";var t=l.dom.createEl("button",{className:"video-selector-icon",title:"video selector",innerHTML:"".concat(a.PlaylistIcon())});return l.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){Promise.resolve().then((function(){return require("./videoSelector-b6e03076.js")})).then((function(e){var t=document.createElement("style");t.id="video-selection",t.append("".concat(e.default)),document.head.appendChild(t)}))}},{key:"initialiseStructure",value:function(){var e=this,t=this.el(),n=l.dom.createEl("div",{className:"video-selection-container hidden"});l.dom.$(".video-selector-icon",this.el()).onclick=function(){var o;e.handleTabIndexSelector(),null!==(o=n.classList)&&void 0!==o&&o.contains("hidden")?(s.closeOpenDrawers(),n.classList.remove("hidden"),t.classList.add("open"),s.setUpdatedElHeight(e.playerId,n)):(n.classList.add("hidden"),t.classList.remove("open"))};var o=document.getElementById(this.playerId);if(o){var i=window.getComputedStyle(o,null).getPropertyValue("height");n.style.height="".concat(i),l.dom.appendContent(t,n),o.style.overflow="hidden",this.addFunctionality(n),s.detectOrientationChange(this.playerId,n)}}},{key:"loadVideoAssetById",value:function(e){var t=this;d.setVideoIdx(e+1);for(var n=l.dom.$$(".recommended"),o=0;o<n.length;o++)n[o].style.border="none";s.highlightVideo(e),r.load(this.playerId,this.videos[e].id).then((function(e){t.cb&&t.cb(e)})).catch((function(e){t.cb&&t.cb(e)}))}},{key:"handleTabIndexSelector",value:function(){var e,t,n;null!==(e=document.getElementsByClassName("video-selector-cross-icon"))&&void 0!==e&&e[0]&&(document.getElementsByClassName("video-selector-cross-icon")[0].tabIndex=0);for(var o=document.getElementsByClassName("video-accessibility"),i=(null==o||null===(t=o[0])||void 0===t||null===(n=t.children)||void 0===n?void 0:n.length)||0,l=0;l<i;l++)document.getElementsByClassName("recommended -".concat(l))[0]&&(document.getElementsByClassName("recommended -".concat(l))[0].tabIndex=0)}},{key:"handleCloseTabIndex",value:function(){var e,t,n;null!==(e=document.getElementsByClassName("video-selector-cross-icon"))&&void 0!==e&&e[0]&&(document.getElementsByClassName("video-selector-cross-icon")[0].tabIndex=-1);for(var o=document.getElementsByClassName("video-accessibility"),i=(null==o||null===(t=o[0])||void 0===t||null===(n=t.children)||void 0===n?void 0:n.length)||0,l=0;l<i;l++)document.getElementsByClassName("recommended -".concat(l))&&(document.getElementsByClassName("recommended -".concat(l))[0].tabIndex=-1)}},{key:"addFunctionality",value:function(e){var t=this,n=this.el(),o=l.dom.createEl("div",{className:"video-selector-head"}),i=l.dom.createEl("div",{className:"video-selector-cross-icon",ariaLabel:"close video selector",tabIndex:-1,innerHTML:"".concat(a.crossIconSvg())});i.onkeydown=function(o){"Enter"===o.key&&(e.classList.add("hidden"),n.classList.remove("open"),t.handleCloseTabIndex())},i.onclick=function(){e.classList.add("hidden"),n.classList.remove("open"),t.handleCloseTabIndex()};for(var r=l.dom.createEl("div",{className:"video-selector-title",innerHTML:u.getLocalisation("relatedVideoTitle")||"Recommended"}),d=l.dom.createEl("div",{className:"video-selector-content",tabIndex:-1}),c=l.dom.createEl("div",{className:"video-container video-accessibility"}),m=function(e){var n,o,i,a,r,u,m,v,p=l.dom.createEl("div",{className:"video -".concat(e)}),h=l.dom.createEl("div",{className:"recommended -".concat(e),ariaLabel:"".concat(t.videos[e].title),type:"button",tabIndex:-1});h.setAttribute("video-idx",e),h.onkeydown=function(n){"Enter"===n.key&&t.loadVideoAssetById(e)},h.onclick=function(){t.loadVideoAssetById(e)};var y=document.createElement("img");y.className="related-thumbnail-image",y.src="".concat(s.impolicy16x9(null==t||null===(n=t.videos)||void 0===n||null===(o=n[e])||void 0===o?void 0:o.img)||s.impolicy16x9(null===(i=window)||void 0===i||null===(a=i.app_data)||void 0===a||null===(r=a.appcmsMain)||void 0===r||null===(u=r.images)||void 0===u?void 0:u.placeholderCover)),y.alt="".concat((null==t||null===(m=t.videos[e])||void 0===m?void 0:m.title.trim().split(/\s+/).slice(0,2).join(" "))||""),h.append(y);var b=l.dom.createEl("div",{className:"info -".concat(e),innerHTML:"".concat((null==t||null===(v=t.videos[e])||void 0===v?void 0:v.title)||"")});l.dom.appendContent(p,h),l.dom.appendContent(p,b),l.dom.appendContent(c,p),l.dom.appendContent(d,c)},v=0;v<this.videos.length;v++)m(v);l.dom.appendContent(o,r),l.dom.appendContent(o,i),l.dom.appendContent(e,o),l.dom.appendContent(e,d),s.handleDrawerResizing(this.playerId,e)}}]),v}();exports.default=h;
@@ -1 +1 @@
1
- import{s as n,j as t,k as o}from"./currentVideoInfo-a8a254c2.js";import{E as i,T as e}from"./generic-749be534.js";import{a as r}from"./util-cee0891f.js";import{h as s}from"./skin-3dcba1b2.js";import{g as a}from"./player_instance-34118a5b.js";var c,u=0,f=0,m=function(m){clearTimeout(u);var d=null==m?void 0:m.content;c=null==m?void 0:m.cb;var h=m.playerId;r(h,(function(){var r=a(h);0!==(null==r?void 0:r.currentTime())&&((f=t())>d.length-1||(o(f+1),i(h,d[f].id).then((function(t){s(f,h),n(t.response),f++,p(t)})).catch((function(n){p(n),s(f,h),f++,u=setTimeout((function(){e(h)&&l(f,h,d)}),5e3)}))))}))},l=function n(t,e,r,a){f=t,t>r.length-1||(o(f+1),i(e,r[t].id).then((function(n){s(f,e),f++,p(n)})).catch((function(t){p(t),setTimeout((function(){s(f,e),f++,n(f,e,r)}),5e3)})))},p=function(n){c&&c(n)};export{m as a,l as s};
1
+ import{s as n,j as t,k as o}from"./currentVideoInfo-a8a254c2.js";import{E as i,T as e}from"./generic-d3cb033f.js";import{a as r}from"./util-4e79be1c.js";import{h as s}from"./skin-3dcba1b2.js";import{g as a}from"./player_instance-34118a5b.js";var c,u=0,f=0,m=function(m){clearTimeout(u);var d=null==m?void 0:m.content;c=null==m?void 0:m.cb;var h=m.playerId;r(h,(function(){var r=a(h);0!==(null==r?void 0:r.currentTime())&&((f=t())>d.length-1||(o(f+1),i(h,d[f].id).then((function(t){s(f,h),n(t.response),f++,p(t)})).catch((function(n){p(n),s(f,h),f++,u=setTimeout((function(){e(h)&&l(f,h,d)}),5e3)}))))}))},l=function n(t,e,r,a){f=t,t>r.length-1||(o(f+1),i(e,r[t].id).then((function(n){s(f,e),f++,p(n)})).catch((function(t){p(t),setTimeout((function(){s(f,e),f++,n(f,e,r)}),5e3)})))},p=function(n){c&&c(n)};export{m as a,l as s};