@viewlift/player-backup 2.0.59-backup → 2.0.59-smarttv

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 (516) hide show
  1. package/cjs/autoNextVideo-0eba57c6.js +1 -0
  2. package/cjs/autoNextVideo-120cf971.js +1 -0
  3. package/cjs/autoNextVideo-58724888.js +1 -0
  4. package/cjs/autoNextVideo-6c691732.js +1 -0
  5. package/cjs/autoNextVideo-84ee5558.js +1 -0
  6. package/cjs/autoNextVideo-8650870a.js +1 -0
  7. package/cjs/autoNextVideo-b00a72ae.js +1 -0
  8. package/cjs/autoNextVideo-b867b839.js +1 -0
  9. package/cjs/autoNextVideo-be3e65ec.js +1 -0
  10. package/cjs/autoNextVideo-c18559ba.js +1 -0
  11. package/cjs/autoNextVideo-edea069d.js +1 -0
  12. package/cjs/browser-38ff3331.js +1 -0
  13. package/cjs/bundle.css +1559 -15
  14. package/cjs/caption-settings-80941f4e.js +1 -0
  15. package/cjs/captions-e4d4dc7d.js +1 -0
  16. package/cjs/features-1420e99e.js +1 -0
  17. package/cjs/features-1b5c0e20.js +1 -0
  18. package/cjs/features-22631e95.js +1 -0
  19. package/cjs/features-2b80b80b.js +1 -0
  20. package/cjs/features-2f5ae901.js +1 -0
  21. package/cjs/features-4847f075.js +1 -0
  22. package/cjs/{features-2ebaebe3.js → features-7653f224.js} +1 -1
  23. package/cjs/features-c54bc400.js +1 -0
  24. package/cjs/features-d3bb8ce7.js +1 -0
  25. package/cjs/features-e047b8a6.js +1 -0
  26. package/cjs/features-e59c5ffb.js +1 -0
  27. package/cjs/generic-361b33d3.js +1 -0
  28. package/cjs/generic-38738bbe.js +1 -0
  29. package/cjs/generic-3aabf0f9.js +1 -0
  30. package/cjs/generic-6361cf15.js +1 -0
  31. package/cjs/generic-69174b1a.js +1 -0
  32. package/cjs/generic-848ceb2a.js +1 -0
  33. package/cjs/generic-8894bcb8.js +1 -0
  34. package/cjs/generic-8da08075.js +1 -0
  35. package/cjs/generic-b7352598.js +1 -0
  36. package/cjs/generic-e19da081.js +1 -0
  37. package/cjs/generic-eb762976.js +1 -0
  38. package/cjs/index-05af7513.js +1 -0
  39. package/cjs/index-0a9631fa.js +1 -0
  40. package/cjs/index-318c3734.js +1 -0
  41. package/cjs/index-36b9afcd.js +1 -0
  42. package/cjs/index-4077e4b4.js +1 -0
  43. package/cjs/index-45b51a42.js +1 -0
  44. package/cjs/index-55d54d34.js +1 -0
  45. package/cjs/index-572bba67.js +1 -0
  46. package/cjs/index-5aa36681.js +1 -0
  47. package/cjs/index-5d161695.js +1 -0
  48. package/cjs/index-68b3b866.js +1 -0
  49. package/cjs/index-7911a119.js +1 -0
  50. package/cjs/index-8d3ac5d7.js +1 -0
  51. package/cjs/index-9674c0f2.js +1 -0
  52. package/cjs/index-9e6f23ec.js +1 -0
  53. package/cjs/index-a0844086.js +1 -0
  54. package/cjs/index-baabc440.js +1 -0
  55. package/cjs/index-bbfa514f.js +1 -0
  56. package/cjs/index-cc3636dc.js +1 -0
  57. package/cjs/index-d889e7e4.js +1 -0
  58. package/cjs/index-ed5e46af.js +1 -0
  59. package/cjs/index-f19ce809.js +1 -0
  60. package/cjs/index-fcc580d3.js +1 -0
  61. package/cjs/index-ff713f4f.js +1 -0
  62. package/cjs/index.js +1 -1
  63. package/cjs/multicamv2-069e0fb5.js +1 -0
  64. package/cjs/multicamv2-12f34514.js +1 -0
  65. package/cjs/multicamv2-23b170c8.js +1 -0
  66. package/cjs/multicamv2-320f0cdd.js +1 -0
  67. package/cjs/multicamv2-360c4491.js +1 -0
  68. package/cjs/{multicamv2-6cc049e2.js → multicamv2-404e28df.js} +1 -1
  69. package/cjs/multicamv2-49c0816f.js +1 -0
  70. package/cjs/multicamv2-517e90e8.js +1 -0
  71. package/cjs/multicamv2-587a967a.js +1 -0
  72. package/cjs/multicamv2-5b93920a.js +1 -0
  73. package/cjs/multicamv2-5d84e384.js +1 -0
  74. package/cjs/multicamv2-5f17d74b.js +1 -0
  75. package/cjs/{multicamv2-abf7d002.js → multicamv2-6b668bdd.js} +1 -1
  76. package/cjs/multicamv2-6eccb805.js +1 -0
  77. package/cjs/multicamv2-81ce6621.js +1 -0
  78. package/cjs/multicamv2-9ce8d0f1.js +1 -0
  79. package/cjs/multicamv2-9e0e2df3.js +1 -0
  80. package/cjs/multicamv2-c33454fb.js +1 -0
  81. package/cjs/multicamv2-dc160d36.js +1 -0
  82. package/cjs/multicamv2-e77bb903.js +1 -0
  83. package/cjs/multicamv2-f12ad2f4.js +1 -0
  84. package/cjs/multicamv2-fb5800a9.js +1 -0
  85. package/cjs/nextEpisodeButton-1c117c1c.js +1 -0
  86. package/cjs/nextEpisodeButton-4f843480.js +1 -0
  87. package/cjs/nextEpisodeButton-60dce71f.js +1 -0
  88. package/cjs/nextEpisodeButton-6909498b.js +1 -0
  89. package/cjs/{nextEpisodeButton-4c915527.js → nextEpisodeButton-6c1ae3b5.js} +1 -1
  90. package/cjs/nextEpisodeButton-79be6f9f.js +1 -0
  91. package/cjs/nextEpisodeButton-81cb8354.js +1 -0
  92. package/cjs/nextEpisodeButton-8a808c3c.js +1 -0
  93. package/cjs/nextEpisodeButton-c92562d7.js +1 -0
  94. package/cjs/nextEpisodeButton-ce704bca.js +1 -0
  95. package/cjs/nextEpisodeButton-e0ff2472.js +1 -0
  96. package/cjs/playlist-0a0b5426.js +1 -0
  97. package/cjs/playlist-1c556b9a.js +1 -0
  98. package/cjs/playlist-3921b593.js +1 -0
  99. package/cjs/{playlist-2e4f7b0a.js → playlist-4df96080.js} +1 -1
  100. package/cjs/playlist-52e47acb.js +1 -0
  101. package/cjs/playlist-5806e7e2.js +1 -0
  102. package/cjs/playlist-61f7fd25.js +1 -0
  103. package/cjs/playlist-82003213.js +1 -0
  104. package/cjs/playlist-9e632d8e.js +1 -0
  105. package/cjs/playlist-afd7facc.js +1 -0
  106. package/cjs/playlist-c8e9407f.js +1 -0
  107. package/cjs/renditions-268ef2ed.js +1 -0
  108. package/cjs/renditions-41110253.js +1 -0
  109. package/cjs/resolution-5e1f1897.js +1 -0
  110. package/cjs/{resolution-e46c9615.js → resolution-9d6ff5e5.js} +1 -1
  111. package/cjs/series-0280b335.js +1 -0
  112. package/cjs/series-14707a5e.js +1 -0
  113. package/cjs/series-1afb3f34.js +1 -0
  114. package/cjs/series-27c26852.js +1 -0
  115. package/cjs/series-3403e1e6.js +1 -0
  116. package/cjs/series-6f489839.js +1 -0
  117. package/cjs/series-86c34151.js +1 -0
  118. package/cjs/{series-47bdfe7c.js → series-92fbf821.js} +1 -1
  119. package/cjs/series-9ccf2a24.js +1 -0
  120. package/cjs/series-9d512cf7.js +1 -0
  121. package/cjs/series-dd8c37c7.js +1 -0
  122. package/cjs/series-v2-1a7bd847.js +1 -0
  123. package/cjs/series-v2-2a04aa88.js +1 -0
  124. package/cjs/series-v2-2a2f6f57.js +1 -0
  125. package/cjs/series-v2-33024d49.js +1 -0
  126. package/cjs/series-v2-360c8212.js +1 -0
  127. package/cjs/series-v2-3b7d5aa9.js +1 -0
  128. package/cjs/{series-v2-10f37029.js → series-v2-433e58b1.js} +1 -1
  129. package/cjs/series-v2-4f86c625.js +1 -0
  130. package/cjs/series-v2-5637c835.js +1 -0
  131. package/cjs/series-v2-59c45151.js +1 -0
  132. package/cjs/{series-v2-c87f9cf8.js → series-v2-71639f7e.js} +1 -1
  133. package/cjs/series-v2-73d4b750.js +1 -0
  134. package/cjs/series-v2-7de2be97.js +1 -0
  135. package/cjs/series-v2-838b08f9.js +1 -0
  136. package/cjs/series-v2-8bf4f157.js +1 -0
  137. package/cjs/series-v2-97508a20.js +1 -0
  138. package/cjs/series-v2-9ead5aef.js +1 -0
  139. package/cjs/series-v2-a6f4ba9b.js +1 -0
  140. package/cjs/series-v2-b83ac660.js +1 -0
  141. package/cjs/series-v2-b92a3650.js +1 -0
  142. package/cjs/series-v2-f099f252.js +1 -0
  143. package/cjs/series-v2-f5987414.js +1 -0
  144. package/cjs/{settings-icon-70f8857a.js → settings-icon-aa5f507b.js} +1 -1
  145. package/cjs/settings-icon-ef10c2b2.js +1 -0
  146. package/cjs/settings-icon-f79d1a4e.js +1 -0
  147. package/cjs/skin-00c0d89f.js +1 -0
  148. package/cjs/skin-0361563a.js +1 -0
  149. package/cjs/{skin-878c6e14.js → skin-059b7a1a.js} +1 -1
  150. package/cjs/skin-0669a4f7.js +1 -0
  151. package/cjs/skin-080721bd.js +1 -0
  152. package/cjs/skin-0b39bb57.js +1 -0
  153. package/cjs/skin-0b421219.js +1 -0
  154. package/cjs/skin-0cb14616.js +1 -0
  155. package/cjs/{skin-abc6b3c7.js → skin-0daf9f9b.js} +1 -1
  156. package/cjs/skin-0e6ae666.js +1 -0
  157. package/cjs/skin-0e864338.js +1 -0
  158. package/cjs/skin-15fc5a0b.js +1 -0
  159. package/cjs/skin-1d1ac7f1.js +1 -0
  160. package/cjs/skin-249ad081.js +1 -0
  161. package/cjs/skin-2652331c.js +1 -0
  162. package/cjs/skin-26556935.js +1 -0
  163. package/cjs/skin-2984658f.js +1 -0
  164. package/cjs/skin-2a6987cb.js +1 -0
  165. package/cjs/{skin-ac9a74fc.js → skin-2a9cd9f4.js} +1 -1
  166. package/cjs/skin-2f3243da.js +1 -0
  167. package/cjs/skin-302913cb.js +1 -0
  168. package/cjs/skin-3384bc85.js +1 -0
  169. package/cjs/skin-33bcab74.js +1 -0
  170. package/cjs/skin-38eca925.js +1 -0
  171. package/cjs/skin-3a5c0c5b.js +1 -0
  172. package/cjs/skin-3d19725a.js +1 -0
  173. package/cjs/skin-453f8ea5.js +1 -0
  174. package/cjs/skin-4777f76d.js +1 -0
  175. package/cjs/skin-5145a6f1.js +1 -0
  176. package/cjs/skin-557760d1.js +1 -0
  177. package/cjs/skin-55ddde94.js +1 -0
  178. package/cjs/skin-583f5849.js +1 -0
  179. package/cjs/{skin-17d8c34b.js → skin-5ab1654f.js} +1 -1
  180. package/cjs/skin-60d11e4b.js +1 -0
  181. package/cjs/skin-615ca1b6.js +1 -0
  182. package/cjs/skin-6230ec60.js +1 -0
  183. package/cjs/skin-6319b282.js +1 -0
  184. package/cjs/skin-65a009fd.js +1 -0
  185. package/cjs/skin-6819a118.js +1 -0
  186. package/cjs/skin-6da67ce6.js +1 -0
  187. package/cjs/skin-6f903ba2.js +1 -0
  188. package/cjs/skin-772dedd1.js +1 -0
  189. package/cjs/skin-7929c0f3.js +1 -0
  190. package/cjs/skin-7d0316ad.js +1 -0
  191. package/cjs/skin-7e6474c6.js +1 -0
  192. package/cjs/skin-7fe5d474.js +1 -0
  193. package/cjs/skin-80a75f42.js +1 -0
  194. package/cjs/skin-86bdb38c.js +1 -0
  195. package/cjs/skin-94c19815.js +1 -0
  196. package/cjs/skin-98177388.js +1 -0
  197. package/cjs/skin-9986b879.js +1 -0
  198. package/cjs/skin-9a124eeb.js +1 -0
  199. package/cjs/skin-a2efa402.js +1 -0
  200. package/cjs/{skin-c0ec3061.js → skin-a988ddba.js} +1 -1
  201. package/cjs/skin-b17e1ce1.js +1 -0
  202. package/cjs/skin-b4c2035e.js +1 -0
  203. package/cjs/skin-b8d97e1b.js +1 -0
  204. package/cjs/skin-b993c1cf.js +1 -0
  205. package/cjs/skin-ba7be3b0.js +1 -0
  206. package/cjs/skin-bf0086f8.js +1 -0
  207. package/cjs/skin-bf7792e2.js +1 -0
  208. package/cjs/skin-c49c6a48.js +1 -0
  209. package/cjs/skin-cc90d24c.js +1 -0
  210. package/cjs/skin-cf9286ba.js +1 -0
  211. package/cjs/skin-d1cb8690.js +1 -0
  212. package/cjs/skin-d31193f2.js +1 -0
  213. package/cjs/skin-d63ad20f.js +1 -0
  214. package/cjs/skin-da062774.js +1 -0
  215. package/cjs/skin-e6c1588f.js +1 -0
  216. package/cjs/skin-ece7245c.js +1 -0
  217. package/cjs/{skin-5e52d57c.js → skin-ed052a54.js} +1 -1
  218. package/cjs/skin-ed05a864.js +1 -0
  219. package/cjs/skin-ee1bfc72.js +1 -0
  220. package/cjs/skin-eeb5e36d.js +1 -0
  221. package/cjs/skin-ef5451f7.js +1 -0
  222. package/cjs/skin-f109ed07.js +1 -0
  223. package/cjs/skin-f1c5fe27.js +1 -0
  224. package/cjs/skin-f87e1c22.js +1 -0
  225. package/cjs/skin-f97739e3.js +1 -0
  226. package/cjs/skin-fdc53bb9.js +1 -0
  227. package/cjs/skin-fe9fb656.js +1 -0
  228. package/cjs/util-1bae0f60.js +1 -0
  229. package/cjs/util-47af43d1.js +1 -0
  230. package/cjs/videoSelector-1da32538.js +1 -0
  231. package/cjs/videoSelector-29c78eea.js +1 -0
  232. package/cjs/videoSelector-2cc65863.js +1 -0
  233. package/cjs/videoSelector-33817ccb.js +1 -0
  234. package/cjs/videoSelector-3e5a769c.js +1 -0
  235. package/cjs/{videoSelector-2af0bee1.js → videoSelector-536cfefd.js} +1 -1
  236. package/cjs/videoSelector-686b646a.js +1 -0
  237. package/cjs/videoSelector-81bd0a89.js +1 -0
  238. package/cjs/videoSelector-8aee6625.js +1 -0
  239. package/cjs/{videoSelector-24609ec8.js → videoSelector-93129ccd.js} +1 -1
  240. package/cjs/videoSelector-9b8ed70e.js +1 -0
  241. package/cjs/videoSelector-9c2efdc8.js +1 -0
  242. package/cjs/videoSelector-a849e747.js +1 -0
  243. package/cjs/videoSelector-a9df8a24.js +1 -0
  244. package/cjs/videoSelector-b2c5841e.js +1 -0
  245. package/cjs/videoSelector-c22bd812.js +1 -0
  246. package/cjs/videoSelector-d1ca27b1.js +1 -0
  247. package/cjs/videoSelector-dfe18433.js +1 -0
  248. package/cjs/videoSelector-e05b155c.js +1 -0
  249. package/cjs/videoSelector-ea9cbf9f.js +1 -0
  250. package/cjs/videoSelector-f983bed7.js +1 -0
  251. package/cjs/videoSelector-f992b83f.js +1 -0
  252. package/esm/autoNextVideo-07a370db.js +1 -0
  253. package/esm/autoNextVideo-2b3acea8.js +1 -0
  254. package/esm/autoNextVideo-32b4979f.js +1 -0
  255. package/esm/autoNextVideo-487b2161.js +1 -0
  256. package/esm/autoNextVideo-4eb0cf2b.js +1 -0
  257. package/esm/autoNextVideo-7602612d.js +1 -0
  258. package/esm/autoNextVideo-aaaf0eb1.js +1 -0
  259. package/esm/autoNextVideo-d1f69cd9.js +1 -0
  260. package/esm/autoNextVideo-e411e0e7.js +1 -0
  261. package/esm/autoNextVideo-e4bf6a7b.js +1 -0
  262. package/esm/autoNextVideo-f1ccc7b1.js +1 -0
  263. package/esm/browser-512cd55a.js +1 -0
  264. package/esm/bundle.css +1559 -15
  265. package/esm/{caption-settings-4ab479b0.js → caption-settings-370d8b1e.js} +1 -1
  266. package/esm/caption-settings-4f1c1a37.js +1 -0
  267. package/esm/captions-d155b725.js +1 -0
  268. package/esm/features-227741f6.js +1 -0
  269. package/esm/features-24211ada.js +1 -0
  270. package/esm/features-4fa0aa4b.js +1 -0
  271. package/esm/{features-5b96a9b6.js → features-58c68988.js} +1 -1
  272. package/esm/features-8cef1121.js +1 -0
  273. package/esm/features-c56bf58c.js +1 -0
  274. package/esm/features-d7525f76.js +1 -0
  275. package/esm/features-d96c2ef7.js +1 -0
  276. package/esm/features-dca4a0f7.js +1 -0
  277. package/esm/features-dea240ac.js +1 -0
  278. package/esm/features-fb138f87.js +1 -0
  279. package/esm/generic-09329d10.js +1 -0
  280. package/esm/generic-2fc3b831.js +1 -0
  281. package/esm/generic-479669e7.js +1 -0
  282. package/esm/generic-4badabea.js +1 -0
  283. package/esm/generic-552f44aa.js +1 -0
  284. package/esm/generic-6d869e12.js +1 -0
  285. package/esm/generic-71de3c7e.js +1 -0
  286. package/esm/generic-77035a87.js +1 -0
  287. package/esm/generic-a8a50fe0.js +1 -0
  288. package/esm/generic-e1be64b1.js +1 -0
  289. package/esm/generic-ee738b64.js +1 -0
  290. package/esm/{icons-8e47e640.js → icons-3bd3bd8f.js} +1 -1
  291. package/esm/index-15401710.js +1 -0
  292. package/esm/index-26840ca9.js +1 -0
  293. package/esm/index-284571ad.js +1 -0
  294. package/esm/index-2d00a5c0.js +1 -0
  295. package/esm/index-361d63d8.js +1 -0
  296. package/esm/index-38edadbc.js +1 -0
  297. package/esm/index-42184fc5.js +1 -0
  298. package/esm/index-538ea1b5.js +1 -0
  299. package/esm/index-56ef070e.js +1 -0
  300. package/esm/index-5d0e3cce.js +1 -0
  301. package/esm/index-607224af.js +1 -0
  302. package/esm/index-656ebb83.js +1 -0
  303. package/esm/index-715e2cec.js +1 -0
  304. package/esm/index-7cde70b7.js +1 -0
  305. package/esm/index-90febbdf.js +1 -0
  306. package/esm/index-ad71faa9.js +1 -0
  307. package/esm/index-d328aa6a.js +1 -0
  308. package/esm/index-d81549c9.js +1 -0
  309. package/esm/index-ddf2d3ea.js +1 -0
  310. package/esm/index-dea74cd1.js +1 -0
  311. package/esm/index-dffc876c.js +1 -0
  312. package/esm/index-e55e5f34.js +1 -0
  313. package/esm/index-f4a31bc9.js +1 -0
  314. package/esm/index-fe1444e9.js +1 -0
  315. package/esm/index.js +1 -1
  316. package/esm/multicamv2-05566754.js +1 -0
  317. package/esm/multicamv2-064b27d7.js +1 -0
  318. package/esm/multicamv2-0e77d8c6.js +1 -0
  319. package/esm/multicamv2-157997b7.js +1 -0
  320. package/esm/multicamv2-16cacb77.js +1 -0
  321. package/esm/multicamv2-1aa09e5b.js +1 -0
  322. package/esm/multicamv2-3b0877a1.js +1 -0
  323. package/esm/multicamv2-4109f288.js +1 -0
  324. package/esm/multicamv2-52705666.js +1 -0
  325. package/esm/{multicamv2-144ba484.js → multicamv2-610ca2a5.js} +1 -1
  326. package/esm/{multicamv2-b02f7f27.js → multicamv2-64f40f44.js} +1 -1
  327. package/esm/multicamv2-691974ef.js +1 -0
  328. package/esm/multicamv2-7facfccf.js +1 -0
  329. package/esm/multicamv2-81d7fc9c.js +1 -0
  330. package/esm/multicamv2-84e6ae3c.js +1 -0
  331. package/esm/multicamv2-86dcc76f.js +1 -0
  332. package/esm/multicamv2-a2170b11.js +1 -0
  333. package/esm/multicamv2-c2a4e668.js +1 -0
  334. package/esm/multicamv2-dc6853d8.js +1 -0
  335. package/esm/multicamv2-e0ebd6c4.js +1 -0
  336. package/esm/multicamv2-ec4acb18.js +1 -0
  337. package/esm/multicamv2-f7dd187a.js +1 -0
  338. package/esm/nextEpisodeButton-3fc6e847.js +1 -0
  339. package/esm/nextEpisodeButton-51ec8b29.js +1 -0
  340. package/esm/{nextEpisodeButton-3008690a.js → nextEpisodeButton-67aaa73d.js} +1 -1
  341. package/esm/nextEpisodeButton-67dc12af.js +1 -0
  342. package/esm/nextEpisodeButton-87a1b9e4.js +1 -0
  343. package/esm/nextEpisodeButton-acdb34b1.js +1 -0
  344. package/esm/nextEpisodeButton-b439331c.js +1 -0
  345. package/esm/nextEpisodeButton-b96578d4.js +1 -0
  346. package/esm/nextEpisodeButton-d85e9947.js +1 -0
  347. package/esm/nextEpisodeButton-e234d384.js +1 -0
  348. package/esm/nextEpisodeButton-f5a36358.js +1 -0
  349. package/esm/{playlist-d6ad7d59.js → playlist-130b4909.js} +1 -1
  350. package/esm/playlist-16164635.js +1 -0
  351. package/esm/playlist-39c6b7e3.js +1 -0
  352. package/esm/playlist-3ae1b290.js +1 -0
  353. package/esm/playlist-80a01dcb.js +1 -0
  354. package/esm/playlist-850393ff.js +1 -0
  355. package/esm/playlist-91783e20.js +1 -0
  356. package/esm/playlist-b1016439.js +1 -0
  357. package/esm/playlist-bb05fa01.js +1 -0
  358. package/esm/playlist-c6174dc7.js +1 -0
  359. package/esm/playlist-e55365b6.js +1 -0
  360. package/esm/renditions-30df958b.js +1 -0
  361. package/esm/renditions-53ee066f.js +1 -0
  362. package/esm/{resolution-920515d1.js → resolution-552f1dbe.js} +1 -1
  363. package/esm/resolution-69172876.js +1 -0
  364. package/esm/series-199c6000.js +1 -0
  365. package/esm/series-226ef0c7.js +1 -0
  366. package/esm/series-24968434.js +1 -0
  367. package/esm/series-24ee4e50.js +1 -0
  368. package/esm/series-29ec681a.js +1 -0
  369. package/esm/series-3e329d8a.js +1 -0
  370. package/esm/series-5e71497f.js +1 -0
  371. package/esm/series-8427e356.js +1 -0
  372. package/esm/series-a87ade78.js +1 -0
  373. package/esm/{series-cd09fde3.js → series-bc1bc4fb.js} +1 -1
  374. package/esm/series-db1c1ab0.js +1 -0
  375. package/esm/series-v2-1900a22a.js +1 -0
  376. package/esm/series-v2-19a54cf3.js +1 -0
  377. package/esm/{series-v2-e064314e.js → series-v2-29dd56ac.js} +1 -1
  378. package/esm/series-v2-3e3aef03.js +1 -0
  379. package/esm/series-v2-3e5bfc13.js +1 -0
  380. package/esm/series-v2-43fa363d.js +1 -0
  381. package/esm/series-v2-4855c673.js +1 -0
  382. package/esm/series-v2-51c00a2b.js +1 -0
  383. package/esm/series-v2-68fdb003.js +1 -0
  384. package/esm/series-v2-711404a9.js +1 -0
  385. package/esm/series-v2-722d764e.js +1 -0
  386. package/esm/series-v2-76c8f966.js +1 -0
  387. package/esm/series-v2-76ff4bf5.js +1 -0
  388. package/esm/series-v2-78d674e0.js +1 -0
  389. package/esm/series-v2-8cfbc6a3.js +1 -0
  390. package/esm/series-v2-96b2860f.js +1 -0
  391. package/esm/series-v2-ab0f18f6.js +1 -0
  392. package/esm/series-v2-b330ac1f.js +1 -0
  393. package/esm/{series-v2-64303b64.js → series-v2-d1881ea9.js} +1 -1
  394. package/esm/series-v2-d41c0715.js +1 -0
  395. package/esm/series-v2-d6bb95b5.js +1 -0
  396. package/esm/series-v2-d8926910.js +1 -0
  397. package/esm/{settings-icon-366126fa.js → settings-icon-01406155.js} +1 -1
  398. package/esm/settings-icon-0238b861.js +1 -0
  399. package/esm/settings-icon-1adaf42d.js +1 -0
  400. package/esm/skin-02f1cfa2.js +1 -0
  401. package/esm/{skin-abe1f796.js → skin-050e63bb.js} +1 -1
  402. package/esm/skin-05c57cc6.js +1 -0
  403. package/esm/{skin-ba705e79.js → skin-07484023.js} +1 -1
  404. package/esm/skin-0769a103.js +1 -0
  405. package/esm/skin-0bfc793d.js +1 -0
  406. package/esm/skin-0edd4c6f.js +1 -0
  407. package/esm/skin-154be57f.js +1 -0
  408. package/esm/skin-1644ef0f.js +1 -0
  409. package/esm/skin-18ee5b50.js +1 -0
  410. package/esm/skin-192d7acc.js +1 -0
  411. package/esm/skin-1c49eaf6.js +1 -0
  412. package/esm/skin-1e17469b.js +1 -0
  413. package/esm/skin-1f720d5b.js +1 -0
  414. package/esm/skin-25e52219.js +1 -0
  415. package/esm/skin-2d9bc783.js +1 -0
  416. package/esm/skin-32efd931.js +1 -0
  417. package/esm/skin-3df91b3b.js +1 -0
  418. package/esm/skin-44af7d3b.js +1 -0
  419. package/esm/skin-45824514.js +1 -0
  420. package/esm/skin-47dbec1a.js +1 -0
  421. package/esm/skin-487a501b.js +1 -0
  422. package/esm/skin-4d9324ff.js +1 -0
  423. package/esm/skin-50597a02.js +1 -0
  424. package/esm/skin-5a41ab20.js +1 -0
  425. package/esm/skin-5bbdd431.js +1 -0
  426. package/esm/skin-5d581101.js +1 -0
  427. package/esm/skin-5f9571b3.js +1 -0
  428. package/esm/skin-6da4a2c2.js +1 -0
  429. package/esm/skin-77c624be.js +1 -0
  430. package/esm/skin-782442a9.js +1 -0
  431. package/esm/skin-788180b0.js +1 -0
  432. package/esm/skin-79570cdf.js +1 -0
  433. package/esm/skin-7afab86b.js +1 -0
  434. package/esm/skin-7c216ea9.js +1 -0
  435. package/esm/skin-7c7d1421.js +1 -0
  436. package/esm/skin-82b39eb2.js +1 -0
  437. package/esm/skin-8570c915.js +1 -0
  438. package/esm/skin-86e7e2b5.js +1 -0
  439. package/esm/skin-8de18b79.js +1 -0
  440. package/esm/skin-8f0cd4f0.js +1 -0
  441. package/esm/skin-90b51b12.js +1 -0
  442. package/esm/skin-92ea164c.js +1 -0
  443. package/esm/skin-9b83274f.js +1 -0
  444. package/esm/skin-9c155216.js +1 -0
  445. package/esm/skin-a61876d8.js +1 -0
  446. package/esm/skin-aac012c7.js +1 -0
  447. package/esm/skin-ae62bcb2.js +1 -0
  448. package/esm/{skin-d57cd716.js → skin-b8ab618a.js} +1 -1
  449. package/esm/skin-bac5af08.js +1 -0
  450. package/esm/skin-bbdea1f7.js +1 -0
  451. package/esm/skin-bbecbd50.js +1 -0
  452. package/esm/skin-bd35ea53.js +1 -0
  453. package/esm/{skin-ee207a34.js → skin-bd7a3dd1.js} +1 -1
  454. package/esm/skin-be65953b.js +1 -0
  455. package/esm/skin-be8a02e7.js +1 -0
  456. package/esm/skin-bf24e875.js +1 -0
  457. package/esm/skin-bf835dd4.js +1 -0
  458. package/esm/skin-c090f244.js +1 -0
  459. package/esm/skin-c30842dc.js +1 -0
  460. package/esm/skin-cef1570c.js +1 -0
  461. package/esm/skin-d3624ad9.js +1 -0
  462. package/esm/skin-d38710e4.js +1 -0
  463. package/esm/{skin-6ba6be05.js → skin-d83c1d9d.js} +1 -1
  464. package/esm/skin-d958409a.js +1 -0
  465. package/esm/skin-dc652012.js +1 -0
  466. package/esm/skin-e19c56bc.js +1 -0
  467. package/esm/skin-e2ae2805.js +1 -0
  468. package/esm/skin-e76c87b9.js +1 -0
  469. package/esm/skin-e7f71c0b.js +1 -0
  470. package/esm/skin-e8b9334c.js +1 -0
  471. package/esm/skin-eb9bf5a6.js +1 -0
  472. package/esm/skin-ebb3617f.js +1 -0
  473. package/esm/skin-ec56c169.js +1 -0
  474. package/esm/{skin-0565c829.js → skin-f0e96993.js} +1 -1
  475. package/esm/skin-f235d510.js +1 -0
  476. package/esm/skin-f819e064.js +1 -0
  477. package/esm/skin-fb3dfafc.js +1 -0
  478. package/esm/skin-fdf12be2.js +1 -0
  479. package/esm/skin-fe225d0d.js +1 -0
  480. package/esm/skin-ffea0ba5.js +1 -0
  481. package/esm/util-42912ffd.js +1 -0
  482. package/esm/util-bf07d6ad.js +1 -0
  483. package/esm/util-d9a87b67.js +1 -0
  484. package/esm/videoSelector-0f4fdc42.js +1 -0
  485. package/esm/videoSelector-251380b8.js +1 -0
  486. package/esm/videoSelector-2d7958b5.js +1 -0
  487. package/esm/videoSelector-4a9261e8.js +1 -0
  488. package/esm/videoSelector-581f4717.js +1 -0
  489. package/esm/videoSelector-5b69e1f9.js +1 -0
  490. package/esm/{videoSelector-7cb2d3b6.js → videoSelector-63662915.js} +1 -1
  491. package/esm/videoSelector-6afc3e5a.js +1 -0
  492. package/esm/videoSelector-6d2750df.js +1 -0
  493. package/esm/{videoSelector-c57efe53.js → videoSelector-6f3d8213.js} +1 -1
  494. package/esm/videoSelector-7c71fb84.js +1 -0
  495. package/esm/videoSelector-872b1dad.js +1 -0
  496. package/esm/videoSelector-8fff66a0.js +1 -0
  497. package/esm/videoSelector-92b3e893.js +1 -0
  498. package/esm/videoSelector-95592425.js +1 -0
  499. package/esm/videoSelector-9a4cdfe6.js +1 -0
  500. package/esm/videoSelector-a3015a2c.js +1 -0
  501. package/esm/videoSelector-a7f651ac.js +1 -0
  502. package/esm/videoSelector-b8a5ac9f.js +1 -0
  503. package/esm/videoSelector-bd618168.js +1 -0
  504. package/esm/videoSelector-e3df553f.js +1 -0
  505. package/esm/videoSelector-e5dbbe4a.js +1 -0
  506. package/package.json +5 -3
  507. package/cjs/autoNextVideo-5690931f.js +0 -1
  508. package/cjs/browser-77c57718.js +0 -1
  509. package/cjs/generic-f1b9b69a.js +0 -1
  510. package/cjs/index-4397f647.js +0 -1
  511. package/cjs/index-458dd22d.js +0 -1
  512. package/esm/autoNextVideo-24ef26d3.js +0 -1
  513. package/esm/browser-d4613b36.js +0 -1
  514. package/esm/generic-1585a4cc.js +0 -1
  515. package/esm/index-56e9f148.js +0 -1
  516. package/esm/index-923e5e59.js +0 -1
@@ -1 +0,0 @@
1
- import"video.js/dist/video-js.min.css";import{g as e,a as n,b as t,c as o,d as r,s as i,e as l,l as a,f as s,h as u,i as c,j as d,k as v,r as f,m as p,n as m,o as y,p as h,q as g,t as b,u as w,v as k,w as O,x as j,y as S,z as T,A as I,B as E,C as P,D,E as x,F as C,G as A,H as R,I as L,J as N,K as M,L as _,M as V,N as U,O as B,P as H}from"./generic-1585a4cc.js";import F from"@babel/runtime/helpers/defineProperty";import q from"@babel/runtime/helpers/asyncToGenerator";import G from"@babel/runtime/regenerator";import K from"video.js";import{o as z,g as J,a as W,s as Q,b as X}from"./util-80257541.js";import{g as Y,d as $,a as Z,e as ee}from"./captions-b7fd8308.js";import{g as ne}from"./renditions-4c09c626.js";import{playSelectedResolution as te}from"./resolution-920515d1.js";import{g as oe,t as re,p as ie,i as le,a as ae}from"./skin-58b9263c.js";import{d as se}from"./browser-d4613b36.js";import{s as ue}from"./localisation-0bf399a1.js";import ce from"@babel/runtime/helpers/typeof";import de from"@babel/runtime/helpers/toConsumableArray";import ve from"@babel/runtime/helpers/slicedToArray";import{I as fe}from"./icons-8e47e640.js";var pe=function(e){return new Promise(function(n,t){if(me(e))t("".concat(e," is alread initialised"));else{var o=document.createElement("script");o.async=!0,o.src=e,o.onload=function(){n()},o.onerror=function(n){t("Error while loading script ".concat(e," : ").concat(n))},document.head.appendChild(o)}})},me=function(e){return document.querySelectorAll('script[src="'.concat(e,'"]')).length>0},ye=function(e,n,t){var o=oe(e);if(o)if(n>=0&&n<=100){o.muted()&&o.muted(!1);var r=parseFloat(n)/100;o.volume(r),t&&t({status:!0,msg:"Volume set to ".concat(n,"%")})}else t&&t({status:!1,msg:"Please enter a valid volume percentage (0 ≥ V ≤ 100)"});else t({status:!1,msg:"Cannot find player with id: '".concat(e,"'")})},he=function(e){var n=oe(e);return n?parseInt(100*n.volume())+"%":"Cannot find player with id: '".concat(e,"'")},ge=function(){var e=q(G.mark(function e(n){var t,o,r,i,l;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=oe(null==n?void 0:n.playerId),null!=n&&null!==(t=n.series)&&void 0!==t&&t.enable||null==n||!n.chromecastReceiverId){e.next=22;break}return e.next=4,import("@silvermine/videojs-chromecast");case 4:return i=e.sent,e.prev=5,e.next=8,pe("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1");case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(5),console.log("Error",e.t0);case 13:return e.prev=13,i.default(K),e.finish(13);case 16:(l=K.getTech("chromecast"))&&!l.prototype.seeking&&(l.prototype.seeking=function(){}),null!==(r=window)&&void 0!==r&&r.cast?null==o||o.chromecast({receiverAppID:null==n?void 0:n.chromecastReceiverId,addButtonToControlBar:"VL_ONE"==n.skin||"defaultV2"==n.skin,buttonPositionIndex:-5,addCastLabelToButton:!0}):window.__onGCastApiAvailable=function(){null==o||o.chromecast({receiverAppID:null==n?void 0:n.chromecastReceiverId,addButtonToControlBar:"VL_ONE"==n.skin||"defaultV2"==n.skin,buttonPositionIndex:-5,addCastLabelToButton:!0})},e.next=23;break;case 22:console.log("Chromecast plugin is not available");case 23:null!=n&&n.airplay&&"Safari"==se()?null==o||o.airPlay({addButtonToControlBar:"VL_ONE"==n.skin||"defaultV2"==n.skin,buttonPositionIndex:-5}):console.log("AirPlay plugin is not available");case 24:case"end":return e.stop()}},e,null,[[5,10,13,16]])}));return function(n){return e.apply(this,arguments)}}(),be=function(e,n){var t=oe(e);t&&n&&t.controlBar&&t.controlBar.progressControl.seekBar.on("click",function(n){var t,o,r,i,l,a=this.el(),s=K.dom.getPointerPosition(a,n).x;K.getPlayer(e).controlBar.durationDisplay.options_.playerOptions.disableRemotePlayback=!1;var u=window.cast&&window.cast.framework&&window.cast.framework.CastSession,c=null===(t=window)||void 0===t||null===(o=t.cast)||void 0===o||null===(r=o.framework)||void 0===r||null===(i=r.CastContext)||void 0===i||null===(l=i.getInstance())||void 0===l?void 0:l.S;if(console.log(u),u&&"CONNECTED"===c){window.cast.framework.RemotePlayer.canSeek=!0;var d=new window.cast.framework.RemotePlayerController(window.cast.framework.RemotePlayer),v=d.h.media[0].liveSeekableRange.end;d.getSeekPosition(),window.cast.framework.RemotePlayer.currentTime=v*s,d.seek()}})};var we=function(){var e=q(G.mark(function e(){return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([import("videojs-contrib-ads"),import("ima"),pe("https://imasdk.googleapis.com/js/sdkloader/ima3.js").then(function(){}).catch(function(e){return console.log(e)})]);case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),ke=function(){var e=q(G.mark(function e(){return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("utilising contrib eme"),e.next=3,import("videojs-contrib-eme").then(function(e){K.getPlugin("eme")||K.registerPlugin("eme",e.default)});case 3:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Oe=function(){var e=q(G.mark(function e(){var n;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,import("videojs-mux");case 3:if(!(n=e.sent)||"function"!=typeof n.register){e.next=7;break}return n.register(K),e.abrupt("return");case 7:console.log("Mux registration failed"),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.log("Failed to load Mux plugin:",e.t0);case 13:case"end":return e.stop()}},e,null,[[0,10]])}));return function(){return e.apply(this,arguments)}}(),je=function(){var e=q(G.mark(function e(){return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,import("./index-5d92eaa3.js");case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error("Failed to load dvr seekbar");case 8:case"end":return e.stop()}},e,null,[[0,5]])}));return function(){return e.apply(this,arguments)}}(),Se=function(){var e=q(G.mark(function e(){return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,import("./videojs_contrib_dash-f7d94714.js");case 3:console.log("utilising contrib dash"),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error("Failed to load contrib dash plugin");case 9:case"end":return e.stop()}},e,null,[[0,6]])}));return function(){return e.apply(this,arguments)}}(),Te=Object.freeze({__proto__:null,importChromecast:function(){import("@silvermine/videojs-chromecast").then(function(e){pe("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1").then(function(){e.default(K)}).catch(function(e){console.log(e)})})},importAirplay:function(){import("@silvermine/videojs-airplay").then(function(e){e.default(K)})},loadAdsLibrary:we,loadEMELibrary:ke,loadMuxPlugin:Oe,loadDvrSeekbar:je,loadContribDash:Se});function Ie(e){return Ee.apply(this,arguments)}function Ee(){return(Ee=q(G.mark(function e(n){var t;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=(null==n?void 0:n.airplay)||!1,e.next=3,we();case 3:t&&"Safari"==se()&&Promise.resolve().then(function(){return Te}).then(function(e){e.importAirplay()});case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Pe(e,n){return De.apply(this,arguments)}function De(){return(De=q(G.mark(function e(n,t){var o,r,i,l,a,s;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l=(null==t?void 0:t.contentType)||"video",a=null==t||null===(o=t[l])||void 0===o?void 0:o.drmEnabled,null==t||null===(r=t[l])||void 0===r||null===(i=r.liveDetails)||void 0===i||i.isDvrEnabled,null==n||n.showPositiveSeekbar,e.prev=4,e.next=7,Promise.allSettled([a?"Safari"==se()?ke():"caliente"!=(null===(s=window)||void 0===s?void 0:s.siteName)?Se():ke():null,ge(n)]);case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(4),console.log("Error",e.t0);case 12:case"end":return e.stop()}},e,null,[[4,9]])}))).apply(this,arguments)}function xe(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 Ce(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?xe(Object(t),!0).forEach(function(n){F(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xe(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var Ae=new Set,Re=null,Le=function(n,o,r){var i,l,a,s,u,c,d,v={},f=(null==n?void 0:n.contentType)||"video";v["c3.cm.id"]=(null===(i=n[f])||void 0===i?void 0:i.id)||"Null",v["c3.cm.contentType"]=He(n),v[null==r||null===(l=r.Constants)||void 0===l?void 0:l.IS_LIVE]=!(null==n||!n.linearchannel),v[null==r||null===(a=r.Constants)||void 0===a?void 0:a.STREAM_URL]=o.currentSrc(),v[null==r||null===(s=r.Constants)||void 0===s?void 0:s.VIEWER_ID]="undefined"===e()?"NULL":e(),v["c3.cm.categoryType"]=Ve(n),v["m3.net.t"]=function(){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(!e)return"Unknown";if(e.type)switch(e.type){case"wifi":return"WiFi";case"ethernet":return"Ethernet";default:return e.type}switch(e.effectiveType){case"slow-2g":case"2g":return"2G";case"3g":return"3G";case"4g":return e.downlink>=20?"WiFi":"4G";default:return"Unknown"}}(),v.DRMEnabled=(null===(u=n[f])||void 0===u?void 0:u.drmEnabled)||"None",v.DAIStream=null!==(c=n[f])&&void 0!==c&&null!==(d=c.gist)&&void 0!==d&&d.isSSAIEnabled?"YES":"NO",v[r.Constants.DEFAULT_RESOURCE]="AKAMAI",v["c3.cm.brand"]="NULL",v.CDVREnabled=Ue(n),v["c3.cm.genreList"]=Me(n),v["c3.cm.genre"]=Ne(n),v["c3.cm.channel"]=_e(n);var p=qe(t(),n);return v=Ce(Ce({},v),p)},Ne=function(e){var n,t,o,r=(null==e?void 0:e.contentType)||"video";return(null==e||null===(n=e[r])||void 0===n||null===(t=n.gist)||void 0===t||null===(o=t.primaryCategory)||void 0===o?void 0:o.title)||"Null"},Me=function(e){var n,t=(null==e?void 0:e.contentType)||"video";return((null==e||null===(n=e[t])||void 0===n?void 0:n.categories)||[]).map(function(e){return null==e?void 0:e.title}).join(", ")||"Null"},_e=function(e){var n,t,o=(null==e?void 0:e.contentType)||"video";return"video"===o?"VOD":(null==e||null===(n=e[o])||void 0===n||null===(t=n.channels[0])||void 0===t?void 0:t.title)||"NULL"},Ve=function(e){return(null==e?void 0:e.contentType)||"null"},Ue=function(e){var n,t,o=(null==e?void 0:e.contentType)||"video",r=(null==e||null===(n=e[o])||void 0===n||null===(t=n.liveDetails)||void 0===t?void 0:t.isDvrEnabled)||!1;return r?"YES":"NO"},Be=function(e,n){var t,o,r=(n||{}).epg;if(r&&null!=r&&r.enable&&null!=r&&r.programTitle)return r.programTitle;var i=(null==e?void 0:e.contentType)||"video",l=(null==e||null===(t=e[i])||void 0===t||null===(o=t.gist)||void 0===o?void 0:o.title)||"Null";return"".concat(l)},He=function(e){return"linearchannel"===((null==e?void 0:e.contentType)||"video")?"Live":"VOD"};var Fe,qe=function(e,t){var r,i,l,a,s,u={"c3.cm.seriesName":"Null","c3.cm.seasonNumber":"Null","c3.cm.showTitle":"Null","c3.cm.episodeNumber":"Null"};if(!e||!t||null!=t&&t.linearchannel)return u;var c=o(),d=n();return u["c3.cm.seriesName"]=(null==t||null===(r=t.video)||void 0===r||null===(i=r.series)||void 0===i?void 0:i.title)||"Null",u["c3.cm.seasonNumber"]=(null==c?void 0:c.toString())||"Null",u["c3.cm.showTitle"]=(null==e||null===(l=e[c-1])||void 0===l||null===(a=l.episodes)||void 0===a||null===(s=a[d-1])||void 0===s?void 0:s.title)||"Null",u["c3.cm.episodeNumber"]=(null==d?void 0:d.toString())||"Null",u},Ge=function(e){switch(e){case"com.widevine.alpha":return"Widevine";case"com.microsoft.playready":return"PlayReady";case"org.w3.clearkey":return"ClearKey";case"com.apple.fps.1_0":return"FairPlay";default:return"Unknown DRM System"}},Ke=function(e){switch(e){case"application/x-mpegURL":case"application/vnd.apple.mpegurl":return"HLS";case"application/dash+xml":return"DASH";default:return"Unknown"}},ze=function(){var e=q(G.mark(function e(n,t){var o,i,l,a,s,u,c,d,v,f;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=(null==t?void 0:t.convivaConfig)||{},i=o.trackConvivaPlayerEvent,l=o.paymentHandler,a=o.tveProvider,s=o.enable,u=o.appName,c=(t||{}).token,s){e.next=4;break}return e.abrupt("return");case 4:if(d=oe(n),"function"==typeof(v=i)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,v("getConvivaObject");case 10:if(f=e.sent){e.next=13;break}return e.abrupt("return");case 13:d.ready(function(){var e=d.tech(!0),n=!1;e.on("keysessioncreated",function(e){n=!0;var t=e.target;if(t&&t.keySystem){var o=Ge(t.keySystem);v("contentInfo",{DRMEnabled:o})}else v("contentInfo",{DRMEnabled:"None"})}),n||v("contentInfo",{DRMEnabled:"None"})}),d.on("loadstart",function(){var e,n;Re&&Re!==d.currentSrc()&&v("playbackEnded"),v("setPlayer",d),Ae.clear(),Re=d.currentSrc();var o=Ke(d.currentType()),i=r(),s=Le(i,d,f);s[null==f||null===(e=f.Constants)||void 0===e?void 0:e.PLAYER_NAME]=u||"WEB",s[null==f||null===(n=f.Constants)||void 0===n?void 0:n.ASSET_NAME]=Be(i,t),s.authToken=c||"NULL",s.streamType=o,s.D2CType=l||"NONE",s.subscriberType=a||(l?"D2C":"FREE"),s["c3.cm.affiliate"]=a||"NULL",v("contentInfo",s)}),d.on("loadedmetadata",function(){var e,n=d.videoHeight();e=n>=2160?"4K":n>=1440?"1440p":n>=1080?"1080p":n>=720?"720p":n>=480?"480p":"".concat(n,"p"),v("contentInfo",{screenResolution:e})}),d.on("play",function(){Ae.has(d.currentSrc())||(Ae.add(d.currentSrc()),v("playbackStarted",null))}),d.on("ended",function(){Ae.has(d.currentSrc())&&Ae.delete(d.currentSrc()),v("playbackEnded")}),d.on("ads-loader",function(e){e&&null!=e&&e.adsLoader&&v("initAdSensor",{player:d,adsLoader:null==e?void 0:e.adsLoader})}),d.on("dispose",function(){null==Ae||Ae.clear(),v("playbackEnded")});case 20:case"end":return e.stop()}},e)}));return function(n,t){return e.apply(this,arguments)}}(),Je=function(e,n){var t=null==n?void 0:n.skin;"default"==t?import("./skin-d57cd716.js").then(function(t){t.initialiseSkin(e,n)}):"carousel"==t?import("./skin-6ba6be05.js").then(function(n){n.initaliseSkin(e)}):"defaultV2"==t?import("./skin-ee207a34.js").then(function(t){t.initialiseSkin(e,n)}):"multiplayer"==t?import("./skin-0565c829.js").then(function(t){t.initialiseSkin(e,n)}):"minimalist"==t?import("./skin-abe1f796.js").then(function(t){t.initaliseSkin(e,n)}):"VL_ONE"==t&&import("./skin-ba705e79.js").then(function(t){t.initialiseSkin(e,n)})};function We(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 Qe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?We(Object(t),!0).forEach(function(n){F(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):We(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var Xe=[],Ye=0,$e=null;function Ze(e,n,t){var o,l,a,s,u,c=arguments.length>3&&void 0!==arguments[3]&&arguments[3];null==n||null===(o=n.watchHistory)||void 0===o||o.apiVersion;var d=null==n||null===(l=n.watchHistory)||void 0===l?void 0:l.profileId,v=Math.floor(e.currentTime()),f=Math.floor(e.duration());null==n||null===(a=n.watchHistory)||void 0===a||a.xapiKey;var p=(null==n||null===(s=n.video)||void 0===s?void 0:s.originalObjectId)||null,m=(null==n||null===(u=n.watchHistory)||void 0===u?void 0:u.saveOffline)||!1,y=Math.floor(e.currentTime()),h=c?100:Math.floor(v/f*100),g={};m?function(e,n,t){var o=n?"watchhistory-data-".concat(n):"watchhistory-data-guest-".concat(t),i=en(o),l=(new Date).getTime(),a=r(),s=(null==a?void 0:a.video)||{},u=["id","title","gist","categories","tags","status","publishDate","plans","isVerticalVideo","monetizationBadgeIdentifier","runtime"].reduce(function(e,n){return Qe(Qe({},e),{},F({},n,s[n]))},{}),c=i.findIndex(function(e){var n;return(null==e||null===(n=e.content)||void 0===n?void 0:n.id)===Fe});c<0?i.push(Qe(Qe({content:u},e),{},{addedDate:l,updateDate:l})):i[c]=Qe(Qe(Qe({},i[c]),e),{},{updateDate:l});localStorage.setItem("".concat(o),JSON.stringify(i))}(g={completed:c,watchedTime:y,watchedPercentage:h},d,n.siteOwner):(g=Qe(Qe({videoId:Fe,watchedTime:y,watchedPercentage:h,doneWatching:c,profileId:d},$e&&{seriesId:$e}),p&&{originalObjectId:p}),i(g).then(function(e){}).catch(function(e){})),Ye=v+t}function en(e){var n=[];return e&&(n=JSON.parse(localStorage.getItem("".concat(e))||"[]")),n}function nn(e,n,t){var o=en(e?"watchhistory-data-".concat(e):"watchhistory-data-guest-".concat(t)),r=[];return o&&Array.isArray(o)&&(r=o.filter(function(e){var t;return(null==e||null===(t=e.content)||void 0===t?void 0:t.id)===n})),r}var tn=!1,on=function(e,n){var t,o,r=(null==e?void 0:e.contentType)||"video";if(((null==e||null===(t=e[r])||void 0===t||null===(o=t.streamingInfo)||void 0===o?void 0:o.secondaryVideoAssets)||null)&&!tn){var i=rn(e,"videoAssets","secondaryVideoAssets"),s=l(i,n);return s&&a(n,s),tn=!0,console.log("switching to secondary source"),!0}return console.log("secondary source is either corrupted / not available"),!1};function rn(e,n,t){if(Array.isArray(e))return e.map(function(e){return rn(e,n,t)});if(null!==e&&"object"===ce(e)){var o={};return Object.keys(e).forEach(function(r){r===n&&void 0!==e[t]?o[r]=e[t]:r===t&&void 0!==e[n]?o[r]=e[n]:o[r]=rn(e[r],n,t)}),o}return e}function ln(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 an(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)?an(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,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,i=e},f:function(){try{l||null==t.return||t.return()}finally{if(a)throw i}}}}function an(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 sn(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 un(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?sn(Object(t),!0).forEach(function(n){F(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var cn=function(e,n,t,o){var i,l,a,v,f=o.res,p=o.sres,m=oe(e),y=(null==f?void 0:f.contentType)||"video",h=(null==f?void 0:f[y].drmEnabled)||!1,g=(null==f||null===(i=f[y])||void 0===i||null===(l=i.streamingInfo)||void 0===l?void 0:l.isLiveStream)||!1,b=(null==f||null===(a=f[y])||void 0===a||null===(v=a.liveDetails)||void 0===v?void 0:v.isDvrEnabled)||!1;s(f),m&&(m.on("loadstart",function(){g?t.resolve({status:!0,msg:"Video Loaded",response:f}):t.resolve(un({status:!0,msg:"Player Initialised"},p?{seriesResponse:p,response:f}:{response:f}))}),m.on("loadeddata",function(){var t,o,i,l=Y(e);if(null==l||l.map(function(n){return $(e,n.id)}),b&&"Safari"===se())try{var a;null==m||null===(a=m.liveTracker)||void 0===a||a.seekToLiveEdge()}catch(e){console.log("Cannot seek to Live Edge",e)}(null==m||!m.muted())&&ye(e,sessionStorage.getItem("volume")||"100");var s=r();if(u(),null!=n&&n.watchHistory&&null!=n&&null!==(t=n.watchHistory)&&void 0!==t&&t.enable&&(!n.isAnonymousUser||null!=n&&null!==(o=n.watchHistory)&&void 0!==o&&o.saveOffline)){var c,d,v=un(un({},n),f);!function(e,n,t){var o,r,i;null!=n&&n.series&&null!=n&&null!==(o=n.series)&&void 0!==o&&o.enable&&($e=null==n||null===(r=n.series)||void 0===r?void 0:r.id),Xe=[],Ye=0,Fe=t;var l=(null==n||null===(i=n.watchHistory)||void 0===i?void 0:i.interval)||30,a=oe(e);a&&(a.on("timeupdate",function(){var e=Math.floor(a.currentTime());Xe.includes(Ye)||(e==Ye?(Xe.push(e),Ze(a,n,l)):e>Ye&&(Ye=e+l))}),a.one("ended",function(){Ze(a,n,l,!0)}))}(e,v,null==s||null===(c=s.video)||void 0===c||null===(d=c.gist)||void 0===d?void 0:d.id)}if(null!=n&&null!==(i=n.analytics)&&void 0!==i&&i.muxKey&&null!=m&&m.mux){var p,y,h,g,w,k,O=(null===(p=r())||void 0===p?void 0:p.video)||(null==f?void 0:f.video),j=null==O?void 0:O.gist,S={env_key:null==n||null===(y=n.analytics)||void 0===y?void 0:y.muxKey,player_name:"vl-web-player",player_version:null===(h=window)||void 0===h?void 0:h.vl_player_version,video_id:null==j?void 0:j.id,video_title:null==j?void 0:j.title,video_series:null==O||null===(g=O.series)||void 0===g?void 0:g.title,video_stream_type:null!=O&&null!==(w=O.streamingInfo)&&void 0!==w&&w.isLiveStream?"live":"video",viewer_user_id:null==n||null===(k=n.analytics)||void 0===k?void 0:k.userId};m.mux({debug:!1,data:S})}}),m.textTracks().on("change",function(e){var n=this.tracks_.filter(function(e){if(("subtitles"===e.kind||"captions"===e.kind)&&"showing"===e.mode)return!0})[0];m.trigger("subtitlechanged",n)}),m.on("subtitlechanged",function(e,n){var t,o,r,i,l,a,s,u,c,d,v=window.cast&&window.cast.framework&&window.cast.framework.CastSession,f=null===(t=window)||void 0===t||null===(o=t.cast)||void 0===o||null===(r=o.framework)||void 0===r||null===(i=r.CastContext)||void 0===i||null===(l=i.getInstance())||void 0===l?void 0:l.S,p=null===(a=window)||void 0===a||null===(s=a.cast)||void 0===s||null===(u=s.framework)||void 0===u||null===(c=u.CastContext)||void 0===c||null===(d=c.getInstance())||void 0===d?void 0:d.getCurrentSession();if(v&&"CONNECTED"===f){var m,y=p.getMediaSession(),h=y.media.tracks.filter(function(e){return"TEXT"==e.type});m=n?new chrome.cast.media.EditTracksInfoRequest([h[0].trackId]):new chrome.cast.media.EditTracksInfoRequest([]),y.editTracksInfo(m)}}),m.tech_.on("retryplaylist",function(){g&&on(f,e)}),m.on("error",function(){var n,o;(console.log("ERROR",m.error(),m.error().code),4===m.error().code&&g)?on(f,e):(c(e,(null==m||null===(n=m.error())||void 0===n?void 0:n.message)||"Some error occured"),t.reject({status:!1,msg:(null==m||null===(o=m.error())||void 0===o?void 0:o.message)||"Some error occured",response:f}))}),m.one("play",function(){var e;if(null!=n&&null!==(e=n.series)&&void 0!==e&&e.enable){var t,o,i,l=null===(t=r())||void 0===t||null===(o=t.video)||void 0===o||null===(i=o.gist)||void 0===i?void 0:i.id,a=d(),s=(null==a?void 0:a.get(l))||{t:0,p:0},u=s.t,c=s.p;u&&c<95&&setTimeout(function(){m.currentTime(u)},0)}else null!=n&&n.watchHistoryResumeTime&&(null==n?void 0:n.watchedPercentage)<95&&setTimeout(function(){m.currentTime(null==n?void 0:n.watchHistoryResumeTime)},0);if(null!=m&&m.dvrSeekbar)try{m.dvrSeekbar()}catch(e){console.error("Error while initilizing dvr seekbar")}}),m.on("volumechange",function(){var e=100*m.volume().toFixed(2);m.muted()?sessionStorage.setItem("volume",0):sessionStorage.setItem("volume",e)}),m.on("chromecastDisconnected",function(){if(g){m.currentSource();for(var e=m.textTracks(),n=e.length-1;n>=0;n--)m.removeRemoteTextTrack(e[n])}}),m.one("loadeddata",function(){var e,n=(null==m||null===(e=m.audioTracks())||void 0===e?void 0:e.tracks_)||null;if(n)if("object"==ce(m.dash)){var t,o,r,i=null==m||null===(t=m.dash)||void 0===t||null===(o=t.mediaPlayer)||void 0===o?void 0:o.getTracksFor("audio"),l=null==i?void 0:i.find(function(e){var n;return null==e||null===(n=e.roles)||void 0===n?void 0:n.includes("main")}),a=ln(n);try{for(a.s();!(r=a.n()).done;){var s=r.value;if(l&&(null==s?void 0:s.id)=="dash-audio-".concat(l.index)){s.enabled=!0;break}}}catch(e){a.e(e)}finally{a.f()}}else{var u,c=ln(n);try{for(c.s();!(u=c.n()).done;){var d,v,f,p=u.value;("Chrome"==se()||"Edge"==se()&&(null!==(d=navigator)&&void 0!==d&&null!==(v=d.userAgent)&&void 0!==v&&v.includes("Macintosh")||!h))&&null!=p&&null!==(f=p.label)&&void 0!==f&&f.includes("5.1")?m.audioTracks().removeTrack(p):"main"==p.kind?p.enabled=!0:p.enabled=!1}}catch(e){c.e(e)}finally{c.f()}}}))};function dn(e,n){var t,o,r,i=oe(e),l=null==i||null===(t=i.controlBar)||void 0===t||null===(o=t.playToggle)||void 0===o?void 0:o.el_,a=document.getElementsByTagName("video")[0];null===(r=document)||void 0===r||r.addEventListener("keydown",function(t){var o;if(fn.enabled&&"input"!=t.target.localName){var r=t.key,s=!0===n.liveVideo||!0===n.liveui;switch([" ","m","M","f","F","ArrowLeft","ArrowRight"].includes(r)&&(t.preventDefault(),null==a||a.focus()),r){case" ":null==l||l.click();break;case"m":case"M":i.muted(!i.muted());break;case"f":case"F":null===(o=document.querySelector(".vjs-fullscreen-control"))||void 0===o||o.click();break;case"ArrowLeft":s&&!1===n.liveui||f(e,10);break;case"ArrowRight":s||v(e,10)}}},!0)}var vn,fn=(vn=!0,{enable:function(){vn=!0},disable:function(){vn=!1},get enabled(){return vn}});function pn(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 mn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pn(Object(t),!0).forEach(function(n){F(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function yn(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 hn(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)?hn(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,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,i=e},f:function(){try{l||null==t.return||t.return()}finally{if(a)throw i}}}}function hn(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 gn,bn=(gn="",{set:function(e){e&&(gn=e)},get:function(){return gn}});function wn(e,n){return kn.apply(this,arguments)}function kn(){return(kn=q(G.mark(function e(n,t){var o,r,i,a,s,u,c,d,v,f,m,y,h,g;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return oe(n),o=l(t,n),r=o.src,i=r.replace("dash","session").replace("master","session"),i=p(i,n,{}),a=On(i),s=ve(a,2),u=s[0],c=s[1],i=new URL(i.split("?")[0]),Object.keys(c).length>0&&Object.entries(c).forEach(function(e){var n=ve(e,2),t=n[0],o=n[1];i.searchParams.set(t,o)}),e.next=10,fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({adsParams:mn({},u)})});case 10:return d=e.sent,e.next=13,d.json();case 13:return v=e.sent,f="https://"+new URL(i).hostname,m=v.trackingUrl,y=v.manifestUrl,h=f+m,g=f+y,bn.set(h),console.log("%c TRACKING URL","background: #bdf369; color: #000",h),o.src=g,e.abrupt("return",o);case 23:case"end":return e.stop()}},e)}))).apply(this,arguments)}function On(e){var n={},t=e.split("?")[1];if(!t)return n;var o,r=yn(t.split("&"));try{for(r.s();!(o=r.n()).done;){var i=o.value.split("="),l=ve(i,2),a=l[0],s=l[1];n[decodeURIComponent(a)]=decodeURIComponent(s||"")}}catch(e){r.e(e)}finally{r.f()}for(var u={},c={},d=0,v=Object.entries(n);d<v.length;d++){var f=ve(v[d],2),p=f[0],m=f[1];if(p.startsWith("ads."))u[p.replace(/^ads\./,"")]=m;else c[p]=m}return[u,c]}function jn(e,n){return Sn.apply(this,arguments)}function Sn(){return Sn=q(G.mark(function e(n,t){var o,r,i,l,a,s,u,c;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:c=function(e,t,o,r,i,l){var c=l.redirectEl,d=l.redirectUrl,v=oe(n);if(!v.seeking()){var f=t.startTimeInSeconds,p=t.durationInSeconds,m=Math.floor(v.currentTime()),y=Math.floor(f+p);m>=f&&m<=y&&d?(c.style.display="block",a(c,d)):c.style.display="none";var h,g=yn(o);try{for(g.s();!(h=g.n()).done;){var b,w,k,O=h.value,j=O.eventType,S=O.beaconUrls,T=O.startTimeInSeconds,I=(O.startTime,O.durationInSeconds,T),E=S,P=(null===(b=window)||void 0===b||null===(w=b.customData)||void 0===w||null===(k=w.ads)||void 0===k||k.adEventHandler,"".concat(I,"_").concat(j)),D=s.get("pod-".concat(i))||[];if(console.warn(e,I,"map:",j,"condition1:",e>=I,"map:",s),e>=I&&!D.includes(P)){D.push(P),s.set("pod-".concat(i),D);try{u(j,t,E,v)}catch(e){console.error("Error when calling triggerAdBeacon:",e,j,t)}}}}catch(e){g.e(e)}finally{g.f()}}},u=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){navigator.sendBeacon(e)})},a=function(e,n){l&&e.removeEventListener("click",l),l=function(){return window.open(n,"_blank")},e.addEventListener("click",l)},i=function(e){var n=Math.floor(e/60),t=Math.floor(e%60);return"".concat(n,":").concat(t.toString().padStart(2,"0"))},o=bn.get(),oe(n).one("loadeddata",function(){o&&r(o)}),r=function(){var e=q(G.mark(function e(t){var o,r,l,a,u,d,v,f,p,m,y,h,g,b,w,k,O,j,S,T,I,E,P,D;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return O=function(e){document.removeEventListener("pointermove",k),document.removeEventListener("pointerup",O),0===e.button&&w()},k=function(e){},w=function(){var e,n=f.currentTime(),t=null,o=yn(v);try{for(o.s();!(e=o.n()).done;){var r=e.value,i=r.startTimeInSeconds,l=r.durationInSeconds,a=Math.floor(i+l);((n>a||n>i)&&!y.has(i)||n>=i&&n<=a)&&(t=i,y.set(i,!0))}}catch(e){o.e(e)}finally{o.f()}null!==t&&(console.log("Seeking back to ad pod:",t),setTimeout(function(){f.currentTime(t+.4)},100))},e.next=5,fetch(t);case 5:return a=e.sent,e.next=8,a.json();case 8:u=e.sent,d=u.avails,v=[],f=oe(n),p=f.controlBar.progressControl,m=p.seekBar.el(),d.map(function(e){var n;Array.isArray(null==e?void 0:e.ads)&&(null==e||null===(n=e.ads)||void 0===n?void 0:n.length)>0&&v.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)})}),v.forEach(function(e){var n=e.markerPositionInSeconds,t=f.duration();if(!(n>t)){var o=n/t*100,r=document.createElement("div");r.className="vjs-seekbar-marker",r.style.left="".concat(o,"%"),r.style.position="absolute",r.style.top="0",r.style.bottom="0",r.style.width="2px",r.style.backgroundColor="#fecc09",r.style.left="".concat(o,"%"),r.style.pointerEvents="none",m.appendChild(r)}}),y=new Map,h=-1,g=(null==f||null===(o=f.controlBar)||void 0===o?void 0:o.getChild("videoSelector"))||null,b=(null==f||null===(r=f.controlBar)||void 0===r?void 0:r.getChild("seriesV2"))||null,f.on("timeupdate",re(function(){var e=f.currentTime();if(e!==h){h=e;for(var n=!1,t=function(){var t=v[o],r=t.startTimeInSeconds,l=t.durationInSeconds,a=t.ads,u=r+l;if(e>=r-2.5&&e<=u+2.5){var d,f,m,h;e<=u&&(n=!0),e>u&&y.set(r,!0),fn.disable(),g&&(g.el().style.pointerEvents="none",g.el().classList.add("vjs-hidden")),b&&(b.el().style.pointerEvents="none",b.el().classList.add("vjs-hidden")),p.el().style.visibility="hidden";for(var w=e-r,k=0,O=0,S=0;S<a.length;S++){var T,I=null==a||null===(T=a[S])||void 0===T?void 0:T.durationInSeconds;if(w<k+I){O=S;break}k+=I}var E=a[O],x=w-k,C=Math.max(0,E.durationInSeconds-x),A=Math.round(C);j.style.display="block",P.textContent="".concat(O+1," of ").concat(a.length," • ").concat(i(A));var R=[];a.forEach(function(e){var n=e.trackingEvents.filter(function(e){return["breakStart","breakEnd","firstQuartile","secondQuartile","thirdQuartile","fourthQuartile","midpoint","impression","complete"].includes(e.eventType)});R.push.apply(R,de(n))});var L=(null==E||null===(d=E.trackingEvents)||void 0===d||null===(f=d.filter(function(e){var n;return null===(n=["clickThrough"])||void 0===n?void 0:n.includes(e.eventType)}))||void 0===f||null===(m=f[0])||void 0===m||null===(h=m.beaconUrls)||void 0===h?void 0:h[0])||null;return c(e,t,R,0,o,{redirectEl:D,redirectUrl:L}),"break"}s.delete("pod-".concat(o))},o=0;o<v.length;o++){if("break"===t())break}n||(j.style.display="none",p.el().style.visibility="visible",g&&(g.el().style.pointerEvents="auto",g.el().classList.remove("vjs-hidden")),b&&(b.el().style.pointerEvents="auto",b.el().classList.remove("vjs-hidden")),fn.enable())}},1e3)),p.el().addEventListener("pointerdown",function(e){0===e.button&&(document.addEventListener("pointermove",k),document.addEventListener("pointerup",O))}),(j=document.createElement("div")).className="ssai-ad-container",(S=document.createElement("div")).className="sponsored-adbox",(T=document.createElement("div")).className="sponsored-text",T.textContent="Sponsored Ad",(I=document.createElement("div")).className="ad-info-icon",E=ie(fe()),I.appendChild(E),S.append(T),S.append(I),(P=document.createElement("div")).className="ad-counter",document.createElement("div").className="ad-timer",(D=document.createElement("div")).className="ad-visit-advertiser",D.textContent="Visit Advertiser",(null===(l=document.getElementsByClassName("tvProviderImage"))||void 0===l?void 0:l[0])&&(D.style.right="8.6rem"),j.append(S),j.append(P),j.append(D),f.el().appendChild(j);case 49:case"end":return e.stop()}},e)}));return function(n){return e.apply(this,arguments)}}(),s=new Map;case 10:case"end":return e.stop()}},e)})),Sn.apply(this,arguments)}function Tn(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 In(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Tn(Object(t),!0).forEach(function(n){F(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var En=function(e,n,t,o){var r,i,s,u,d,v,f,p,b,w,k,O,j,S,T,I,E,P,D,x,C,A,R,L,N,M,_,V,U,B,H,z,J,W,Q,X=n.res,Y=void 0===X?null:X,$=n.sres,ee=void 0===$?null:$,ne=null!=t&&t.chromecastReceiverId?["chromecast","html5"]:["html5"],te=(null===(r=Y)||void 0===r?void 0:r.contentType)||"video",re=le(null===(i=Y)||void 0===i||null===(s=i[te])||void 0===s||null===(u=s.gist)||void 0===u?void 0:u.videoImageUrl)||le(null===(d=Y)||void 0===d||null===(v=d[te])||void 0===v||null===(f=v.gist)||void 0===f||null===(p=f.imageGist)||void 0===p?void 0:p.r16x9),ie=(null===(b=Y)||void 0===b||null===(w=b[te])||void 0===w||null===(k=w.liveDetails)||void 0===k?void 0:k.isDvrEnabled)||!1,ae=(null===(O=Y)||void 0===O||null===(j=O[te])||void 0===j||null===(S=j.streamingInfo)||void 0===S?void 0:S.isLiveStreafm)||!1,ue=(null===(T=Y)||void 0===T||null===(I=T.ads)||void 0===I||null===(E=I.preRoll)||void 0===E||null===(P=E.adTags)||void 0===P||null===(D=P.web)||void 0===D?void 0:D.active)&&(null===(x=Y)||void 0===x||null===(C=x.ads)||void 0===C||null===(A=C.preRoll)||void 0===A||null===(R=A.adTags)||void 0===R||null===(L=R.web)||void 0===L?void 0:L.url);Y=In(In({},Y),{},{audioAssetSource:null==t?void 0:t.audioAssetSource});var ce="MEDIA_TAILOR"==(null===(N=window)||void 0===N||null===(M=N.app_data)||void 0===M||null===(_=M.appcmsMain)||void 0===_||null===(V=_.adsConfig)||void 0===V?void 0:V.vodAdSticherProvider)||!1,de=(null==t?void 0:t.latency)||6,ve=(Q={enableSmoothSeeking:!0,controls:0!=(null==t?void 0:t.controls),playsinline:!0,fluid:!0,aspectRatio:"16:9",muted:(null==t?void 0:t.muted)||!1,autoplay:(null==t?void 0:t.autoplay)||!1,controlBar:{volumePanel:{inline:!1},fullscreenToggle:!0,audioTrackButton:!0,pictureInPictureToggle:!1},muteToggle:"multiplayer"==t.skin,liveui:ie},F(Q,"autoplay",null==t?void 0:t.autoplay),F(Q,"normalizeAutoplay",(null==t?void 0:t.autoplay)&&!ue),F(Q,"loop",(null==t?void 0:t.loop)||!1),F(Q,"audioPosterMode",null==t?void 0:t.audioPosterMode),F(Q,"html5",In(In({dash:In(In(In({},!K.browser.IS_SAFARI&&{useTTML:!0}),(null==t?void 0:t.debugConfig)&&(null==t||null===(U=t.debugConfig)||void 0===U?void 0:U.enable)&&{debug:!0,logLevel:null!=t&&null!==(B=t.debugConfig)&&void 0!==B&&B.logLevel?null==t||null===(H=t.debugConfig)||void 0===H?void 0:H.logLevel:"DEBUG"}),{},{updateSettings:{streaming:{delay:{liveDelay:de},text:{defaultEnabled:!1},liveCatchup:{maxDrift:0,playbackRate:{min:-.1,max:.1}},abr:{useDefaultABRRules:!0,additionalAbrRules:{insufficientBufferRule:!0,switchHistoryRule:!0,droppedFramesRule:!0,abandonRequestsRule:!0},autoSwitchBitrate:{video:!0,audio:!0}}}}}),vhs:In(In({liveRangeSafeTimeDelta:de,useDevicePixelRatio:!0,experimentalLLHLS:(null==t?void 0:t.lowLatency)||!1,limitRenditionByPlayerDimensions:!1,useNetworkInformationApi:!0},(null==t||null===(z=t.customData)||void 0===z?void 0:z.overrideNative)&&{overrideNative:!0}),{},{enableLowInitialPlaylist:!0}),debug:!0,nativeTextTracks:"Safari"==se()},0==(null==t||null===(J=t.customData)||void 0===J?void 0:J.nativeAudioTracks)&&{nativeAudioTracks:!1}),0==(null==t||null===(W=t.customData)||void 0===W?void 0:W.nativeVideoTracks)&&{nativeVideoTracks:!1})),F(Q,"poster",re),F(Q,"techOrder",ne),F(Q,"chromecast",{requestCustomDataFn:function(n){var t=oe(e),o=((null==t?void 0:t.textTracksJson_)||t.textTracks().tracks_).filter(function(e){return"captions"==e.kind||"subtitles"==e.kind});return function(e,n,t){var o,r,i,l,a,s,u,c,d,v,f=(null==e?void 0:e.contentType)||"video",p={};if(e&&null!=e&&e[f]&&null!=e&&e[f].drmEnabled){var m,y,h,g,b,w,k,O;p.isDrmEnabled=!0;var j=(null==n||null===(m=n.keySystems)||void 0===m?void 0:m["com.widevine.alpha"])||null,S=(null==j?void 0:j.url)||(null==n||null===(y=n.keySystemOptions)||void 0===y||null===(h=y[0])||void 0===h||null===(g=h.options)||void 0===g?void 0:g.serverURL);p.licenseUrl=S;var T=(null==j?void 0:j.licenseHeaders["X-AxDRM-Message"])||(null==n||null===(b=n.keySystemOptions)||void 0===b||null===(w=b[0])||void 0===w||null===(k=w.options)||void 0===k||null===(O=k.httpRequestHeaders)||void 0===O?void 0:O["X-AxDRM-Message"]);p.licenseToken=T}var I=(null==e||null===(o=e[f])||void 0===o||null===(r=o.gist)||void 0===r?void 0:r.contentType)||"VIDEO";p.contentType=I;var E=null==e||null===(i=e[f])||void 0===i||null===(l=i.gist)||void 0===l?void 0:l.runtime;p.duration=E;var P=null==e||null===(a=e[f])||void 0===a||null===(s=a.gist)||void 0===s?void 0:s.title;p.mediaTitle=P;var D=null==e||null===(u=e[f])||void 0===u||null===(c=u.gist)||void 0===c?void 0:c.videoImageUrl;return p.mediaImage=D,p.subTitles=t,p.DVR=(null==e||null===(d=e[f])||void 0===d||null===(v=d.liveDetails)||void 0===v?void 0:v.isDvrEnabled)||!1,console.log(p),p}(Y,n,o)},modifyLoadRequestFn:function(n){var t,o,r,i,l,a=oe(e),s=(null==a?void 0:a.currentSource())||{};!(null===(t=Y)||void 0===t||null===(o=t[te])||void 0===o||null===(r=o.streamingInfo)||void 0===r||null===(i=r.videoAssets)||void 0===i?void 0:i.is4K)&&1||null!=s&&s.src&&null!=s&&null!==(l=s.src)&&void 0!==l&&l.includes(".m3u8")&&(n.media.hlsSegmentFormat="fmp4",n.media.hlsVideoSegmentFormat="fmp4");return n}}),Q);if(!K.getPlayers()[e]){K.log.level("debug");var fe=K(e,ve,function(){var n=q(G.mark(function n(){var r,i,s,u,d,v,f,p,b,w,k,O,j,S,T,I,E,P,D,x;return G.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return console.log(fe),console.log(K.VERSION),console.log(K.getPlugins()),n.next=5,Pe(t,Y);case 5:if(O=null===(r=Y)||void 0===r||null===(i=r[te])||void 0===i||null===(s=i.liveDetails)||void 0===s?void 0:s.startOverTime,ae&&o.resolve(In({status:!0,msg:"Player Initialised"},ee?{seriesResponse:ee,response:Y}:{response:Y})),y(e,null==t?void 0:t.analyticsCb),ze(e,t),/Android/i.test(navigator.userAgent)&&(K.options.vhs.overrideNative=!0),ie&&be(e,O),!ue||null!=t&&null!==(u=t.customData)&&void 0!==u&&u.disableAds||h(e,ue,Y),j=l(Y,e),console.log(j),null!=t&&t.nearestClusterUrl&&(j=g(j,t.nearestClusterUrl)),!ce){n.next=19;break}return n.next=18,wn(e,Y);case 18:j=n.sent;case 19:j?a(e,j):(o.reject({status:!1,msg:"Incompatible / Missing Source",response:Y}),c(e,"Incompatible / Missing Source")),((null===(d=Y)||void 0===d||null===(v=d[te])||void 0===v||null===(f=v.contentDetails)||void 0===f||null===(p=f.closedCaptions)||void 0===p?void 0:p.length)>0||(null===(b=Y)||void 0===b||null===(w=b[te])||void 0===w||null===(k=w.closedCaptions)||void 0===k?void 0:k.length)>0)&&(x=(null===(T=Y)||void 0===T||null===(I=T[te])||void 0===I||null===(E=I.contentDetails)||void 0===E?void 0:E.closedCaptions)||(null===(P=Y)||void 0===P||null===(D=P[te])||void 0===D?void 0:D.closedCaptions),S=x.filter(function(e){return"VTT"===e.format}),Z(e,S)),null!=t&&t.disableControls?m(e):Je(e,In(In(In({},t),ve),{},{liveVideo:ae,isDvrEnabled:ie,res:Y,sres:ee})),cn(e,In(In(In({},t),ve),{},{liveVideo:ae}),o,{res:Y,sres:ee});case 23:case"end":return n.stop()}},n)}));return function(){return n.apply(this,arguments)}}())}},Pn={spinco:"e8f2c1a7-5d94-4a1f-93ea-7c0b9186f1cd"};function Dn(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 xn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Dn(Object(t),!0).forEach(function(n){F(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var Cn,An=function(e,n){var t=n.resolve,o=n.reject,r=null==e?void 0:e.playerId,i=Rn(e);En(r,{res:i},e,{resolve:t,reject:o})},Rn=function(e){var n,t,o=null==e?void 0:e.streamingInfo,r=null==e||null===(n=e.streamingInfo)||void 0===n?void 0:n.videoAssets,i=(null==e||null===(t=e.streamingInfo)||void 0===t?void 0:t.isDrmEnabled)||null,l=null==e?void 0:e.token,a=b(l),s=null==a?void 0:a.site;return xn(xn({id:null==Pn?void 0:Pn[s]},!i&&{directPlaybackUrl:null==r?void 0:r.url}),{},{video:{drmEnabled:i,streamingInfo:{videoAssets:{widevine:null==r?void 0:r.widevine,fairPlay:null==r?void 0:r.fairPlay,playReady:null==r?void 0:r.playReady}},liveDetails:{isDvrEnabled:null==o?void 0:o.isDvrEnabled}}})};function Ln(e,n){return Nn.apply(this,arguments)}function Nn(){return(Nn=q(G.mark(function e(n,t){var o,r,i,l,a,u;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.resolve,r=t.reject,i=null==n?void 0:n.videoId,l=null==n?void 0:n.playerId,a=!(null==n||!n.anonymousId),e.next=6,j();case 6:u=e.sent,w(i,u).then(function(e){var t,c,d,v;window.contentType=null==e||null===(t=e.data)||void 0===t||null===(c=t.video)||void 0===c||null===(d=c.gist)||void 0===d?void 0:d.contentType,s(null==e?void 0:e.data);var f,p=null==e?void 0:e.data;if(null!=n&&n.watchHistory&&null!=n&&null!==(v=n.watchHistory)&&void 0!==v&&v.enable&&!a)if((null===(f=n.watchHistory)||void 0===f?void 0:f.saveOffline)||!1){var m,y,h,g=nn((null===(m=n.watchHistory)||void 0===m?void 0:m.profileId)||"",i,null==n?void 0:n.siteOwner);if(g&&g.length)n.watchHistoryResumeTime=(null===(y=g[0])||void 0===y?void 0:y.watchedTime)||null,n.watchedPercentage=(null===(h=g[0])||void 0===h?void 0:h.watchedPercentage)||null;p.contentType="video",En(l,{res:p},n,{resolve:o,reject:r})}else k(i,u).then(function(e){var t,o,r,i,l,a;null!==(t=window)&&void 0!==t&&null!==(o=t.watchHistory)&&void 0!==o&&o.cb&&(null===(r=window)||void 0===r||null===(i=r.watchHistory)||void 0===i||i.cb(null==e?void 0:e.data)),n.watchHistoryResumeTime=(null==e||null===(l=e.data)||void 0===l?void 0:l.watchedTime)||null,n.watchedPercentage=(null==e||null===(a=e.data)||void 0===a?void 0:a.watchedPercentage)||null,p.contentType="video"}).catch(function(e){var n,t,o,r;null!==(n=window)&&void 0!==n&&null!==(t=n.watchHistory)&&void 0!==t&&t.cb&&(null===(o=window)||void 0===o||null===(r=o.watchHistory)||void 0===r||r.cb(e))}).finally(function(){En(l,{res:p},n,{resolve:o,reject:r})});else En(l,{res:p},n,{resolve:o,reject:r})}).catch(function(e){O(e,l,r,i)});case 8:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Mn(e,n){return _n.apply(this,arguments)}function _n(){return(_n=q(G.mark(function e(n,t){var o,r,i,l,a;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.resolve,r=t.reject,e.next=3,j();case 3:i=e.sent,l=null==n?void 0:n.playerId,a=null==n?void 0:n.epg,S(a,i).then(function(e){var t=null==e?void 0:e.data;t.contentType="linearchannel",t.channelId=null==a?void 0:a.channelId,En(l,{res:t},n,{resolve:o,reject:r})}).catch(function(e){O(e,l,r,videoId)});case 7:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Vn(e,n){return Un.apply(this,arguments)}function Un(){return(Un=q(G.mark(function e(n,t){var o,r,i,l,a,u,c;return G.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.resolve,i=t.reject,e.next=3,j();case 3:l=e.sent,a=null==n?void 0:n.playerId,u=sessionStorage.getItem("season-idx")||0,E.set(parseInt(u)),c=null==n||null===(o=n.series)||void 0===o?void 0:o.id,T(c,l).then(function(e){var t,o,u,d=e.data,v=e.data.seasons;P(v);var f=videoId||(null==v||null===(t=v[0])||void 0===t||null===(o=t.episodes)||void 0===o||null===(u=o[0])||void 0===u?void 0:u.id);I(c,l),w(f,l).then(function(e){var t,o,l;window.contentType=null==e||null===(t=e.data)||void 0===t||null===(o=t.video)||void 0===o||null===(l=o.gist)||void 0===l?void 0:l.contentType,s(e.data),En(a,{res:null==e?void 0:e.data,sres:d},n,{resolve:r,reject:i})}).catch(function(e){O(e,a,i,videoId)})}).catch(function(e){O(e,a,i)});case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Bn(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 Hn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Bn(Object(t),!0).forEach(function(n){F(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Bn(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Fn(){return{loadVideoInstantly:D,onTimeUpdate:z,getVideoDuration:J,onVideoEnded:W,init:function(e){return console.log("%c VIDEOJS-8 ","background: #bdf369; color: #000"),new Promise(function(){var n=q(G.mark(function n(t,o){var r,i,l,a,s,u,c,d,v,f,p,m,y,h,g,b,k,j,S,T,I,E,P;return G.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!A(null==e?void 0:e.playerId)){n.next=2;break}return n.abrupt("return");case 2:if(p=(null==e?void 0:e.videoSourceUrl)||!1,m=null==e?void 0:e.asat,y=(null==e||null===(r=e.epg)||void 0===r?void 0:r.enable)||!1,h=null==e?void 0:e.videoId,g=(null==e||null===(i=e.series)||void 0===i?void 0:i.enable)||!1,b=(null==e?void 0:e.streamingInfo)||!1,window.videoId=h,k=null==e?void 0:e.token,!V(e)){n.next=17;break}if(sessionStorage.setItem("vlp_token",k),U().set(null==e?void 0:e.refreshToken),k&&!B(k)){n.next=16;break}return o({status:!1,msg:"".concat(k?"Token is expired !":"Missing Authorization Token"),response:{token:k}}),n.abrupt("return");case 16:Cn=JSON.parse(atob(k.split(".")[1]));case 17:return e.isAnonymousUser=!(null===(l=Cn)||void 0===l||!l.anonymousId),e.siteOwner=(null===(a=Cn)||void 0===a?void 0:a.site)||null,e.userId=(null===(s=Cn)||void 0===s?void 0:s.userId)||null,window.sessionStorage.setItem("uid",null===(u=Cn)||void 0===u?void 0:u.userId),window.watchHistory=e.watchHistory||null,j=null==e?void 0:e.playerId,e.chromecastReceiverId=null!=e&&null!==(c=e.series)&&void 0!==c&&c.enable?null:null==e?void 0:e.chromecastReceiverId,S=(null==e||null===(d=e.analytics)||void 0===d?void 0:d.gaId)||null,(T=null==e?void 0:e.errors)&&(window.customErrors=T),window.customData=null==e?void 0:e.customData,ue(null==e||null===(v=e.customData)||void 0===v?void 0:v.localisation),_.set(e.apiBaseUrl),null!=e&&e.skin&&!ae(e.skin)||(e.skin="VL_ONE"),n.next=33,Ie(e);case 33:S&&pe("https://www.googletagmanager.com/gtag/js?id=".concat(S)).then(function(){return H(S)}).catch(function(e){}),(I=null===(f=document)||void 0===f?void 0:f.getElementById("".concat(j)))&&I.addEventListener("contextmenu",function(e){return e.preventDefault()}),p?(P={directPlaybackUrl:p,id:E="c09576ca-8202-4e8e-ba1e-06d1ab0ce063"},m?w(E,k).then(function(n){var r=(null==n?void 0:n.data)||{};En(j,{res:Hn(Hn({},r),P)},e,{resolve:t,reject:o})}).catch(function(e){O(e,j,o,E)}):En(j,{res:P},e,{resolve:t,reject:o})):b?An(e,{resolve:t,reject:o}):g?Vn(e,{resolve:t,reject:o}):y?Mn(e,{resolve:t,reject:o}):Ln(e,{resolve:t,reject:o});case 37:case"end":return n.stop()}},n)}));return function(e,t){return n.apply(this,arguments)}}())},getRenditions:ne,skip:v,getPlayer:oe,play:x,pause:C,detectBrowser:se,rewind:f,loadVideo:a,seekToTimeStamp:Q,isPlayerInitialised:A,load:R,authenticateLC:L,dispose:N,enableCaptions:ee,disableCaptions:$,getCaptions:Y,playSelectedResolution:te,getSource:l,setVolume:ye,getVolume:he,disableControls:m,setPlaybackSpeed:X,getEntitlementData:M}}export{Fn as V,dn as i,jn as s};
@@ -1 +0,0 @@
1
- import e from"@babel/runtime/helpers/toConsumableArray";import{g as t,p as n,t as r}from"./skin-58b9263c.js";import{Q as i,b as o,d as a}from"./generic-1585a4cc.js";import{s as l}from"./autoNextVideo-24ef26d3.js";import{e as u}from"./icons-8e47e640.js";import s from"@babel/runtime/helpers/typeof";import c from"video.js";import d from"@babel/runtime/helpers/asyncToGenerator";import p from"@babel/runtime/regenerator";import m from"@babel/runtime/helpers/defineProperty";import v from"@babel/runtime/helpers/slicedToArray";var f,g,h,b,y=[],x=!1,w=function(r,a){var l;if(x=!1,null!=a&&null!==(l=a.series)&&void 0!==l&&l.enable){var s;y=[];var c=o();null==c||c.map(function(t){var n;return(n=y).push.apply(n,e(t.episodes))}),null==a||null===(s=a.series)||void 0===s||s.cb}else{var d,p;y=(null==a||null===(d=a.relatedVideos)||void 0===d?void 0:d.content)||[],null==a||null===(p=a.relatedVideos)||void 0===p||p.cb}var m=t(r);m.on("timeupdate",function(){var e,t;if(!x){var n=Math.floor(m.currentTime()),r=m.duration(),o=null===(e=document.getElementsByClassName("next-ep-preview"))||void 0===e?void 0:e[0];r-n<=10&&i()<=(null===(t=y)||void 0===t?void 0:t.length)-1?o&&(o.style.visibility="visible"):o&&(o.style.visibility="hidden")}});var v,f=y.filter(function(e,t){return t==i()});if((null==f?void 0:f.length)>0)if(null!==(v=document.getElementsByClassName("next-ep-preview"))&&void 0!==v&&v[0]){var g,h,b,w,A,N,j,k,C,O,T,B;(null===(g=document.getElementsByClassName("next-ep-preview"))||void 0===g?void 0:g[0]).style.visibility="hidden";var I=null===(h=document.getElementsByClassName("next-ep-title"))||void 0===h?void 0:h[0],L=null===(b=document.getElementsByClassName("next-ep-img"))||void 0===b?void 0:b[0],S=null===(w=document.getElementsByClassName("next-ep-content"))||void 0===w?void 0:w[0],M=null===(A=f[0])||void 0===A?void 0:A.title;(null===(N=M)||void 0===N?void 0:N.length)>60&&(M=M.substr(0,60)+"..."),I.textContent="".concat(M),L.src=(null===(j=f[0])||void 0===j||null===(k=j.gist)||void 0===k||null===(C=k.imageGist)||void 0===C?void 0:C.r16x9)||(null==f||null===(O=f[0])||void 0===O?void 0:O.img)||(null===(T=window)||void 0===T||null===(B=T.customData)||void 0===B?void 0:B.fallbackImage),S.onclick=function(){return E(r)}}else{var P,R,D,$,X,U,F,_,q=document.createElement("div");q.className="next-ep-preview",q.style.visibility="hidden",document.getElementById(r).append(q);var G=document.createElement("div");G.className="next-heading-wrapper";var V=document.createElement("div");V.className="next-ep-header",V.textContent="Next up";var z=document.createElement("div");z.className="next-ep-close",z.onclick=function(){q.style.visibility="hidden",x=!0},z.appendChild(n(u())),G.append(V),G.append(z);var H=null===(P=f[0])||void 0===P?void 0:P.title,Q=document.createElement("img");Q.className="next-ep-img",Q.src=(null===(R=f[0])||void 0===R||null===(D=R.gist)||void 0===D||null===($=D.imageGist)||void 0===$?void 0:$.r16x9)||(null==f||null===(X=f[0])||void 0===X?void 0:X.img)||(null===(U=window)||void 0===U||null===(F=U.customData)||void 0===F?void 0:F.fallbackImage);var W=document.createElement("div");W.className="next-ep-title",(null===(_=H)||void 0===_?void 0:_.length)>60&&(H=H.substr(0,60)+"..."),W.textContent="".concat(H);var Y=document.createElement("div");Y.className="next-ep-content",Y.append(Q),Y.append(W),Y.onclick=function(){return E(r)},q.append(G),q.append(Y)}},E=function(e,n){var r=t(e),o=Math.floor(r.currentTime());if(Math.floor(r.duration())!=o){r.pause(e);var a=i();l(a,e,y)}};function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}f={0:{src:"data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",alt:"loading"}},g=function e(){var t,n,r,i,o;for(r in n=(t=Array.prototype.slice.call(arguments)).shift()||{},t)for(o in i=t[r])i.hasOwnProperty(o)&&("object"===s(i[o])?n[o]=e(n[o],i[o]):n[o]=i[o]);return n},h=function(e,t){return function(n){return window.getComputedStyle?window.getComputedStyle(e,t)[n]:e.currentStyle[n]}},b=function e(t){return"HTML"!==t.nodeName&&"static"===h(t)("position")?e(t.offsetParent):t},c.registerPlugin("thumbnails",function(e){var t,n,r,i,o,a,l,u;function s(){document.removeEventListener("pointermove",l),document.removeEventListener("pointerup",s),u()}n=g({},f,e),i=this,function(){var e,t,n;-1!==navigator.userAgent.toLowerCase().indexOf("android")&&(t=function(){e.addClass("fake-active")},n=function(){e.removeClass("fake-active")},(e=i.controlBar.progressControl).on("touchstart",t),e.on("touchend",n),e.on("touchcancel",n))}(),(t=document.createElement("div")).className="vjs-thumbnail-holder",r=document.createElement("img"),t.appendChild(r),r.src=n[0].src,r.className="vjs-thumbnail",g(r.style,n[0].style),r.style.left||r.style.right||(r.onload=function(){r.style.left=-r.naturalWidth/2+"px"}),a=i.duration(),i.on("durationchange",function(e){a=i.duration()}),i.on("loadedmetadata",function(e){a=i.duration()}),(o=i.controlBar.progressControl).el().appendChild(t),l=function(e){var i,l,u,s,c,d,p,m,v,f;for(l in u=0,v=(window.pageXOffset?{x:window.pageXOffset,y:window.pageYOffset}:{x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop}).x,p=((f=b(o.el()).getBoundingClientRect()).width||f.right)+v,d=e.pageX,e.changedTouches&&(d=e.changedTouches[0].pageX),s=d||e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,s-=b(o.el()).getBoundingClientRect().left+v,i=Math.floor((s-o.el().offsetLeft)/o.width()*a),n)i>l&&(u=Math.max(u,l));(c=n[u]).src&&r.src!=c.src&&(r.src=c.src),c.style&&r.style!=c.style&&g(r.style,c.style),s+(m=function(e,t){var n;return t?parseFloat(t):"auto"!==(n=h(e)("clip"))&&"inherit"!==n&&4===(n=n.split(/(?:\(|\))/)[1].split(/(?:,| )/)).length?parseFloat(n[1])-parseFloat(n[3]):0}(r,c.width||n[0].width)/2)>p?s-=s+m-p:s<m&&(s=m),t.style.left=s+"px"},o.on("mousemove",l),o.on("touchmove",l),o.on("pointerdown",function(e){document.addEventListener("pointermove",l),document.addEventListener("pointerup",s)}),u=function(e){t.style.left="-1000px"},o.on("mouseout",u),o.on("touchcancel",u),o.on("touchend",u),i.on("userinactive",u)});var j="my-player";function k(e){var t=e.split("\n"),n=[];return t.forEach(function(e){if((e=e.trim()).startsWith("#EXT-X-IMAGE-STREAM-INF")){var t=e.split(","),r={resolution:null,uri:null};t.forEach(function(e){e.includes("RESOLUTION")&&(r.resolution=e.split("=")[1]),e.includes("URI")&&(r.uri=e.split("=")[1].replace(/"/g,""))}),n.push(r)}}),n}function C(){return(C=d(p.mark(function e(t){var n,r,i,o,a,l,u,s,c,d,m,f,g,h,b,y,x,w,E,A,N,j,k,C;return p.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t._tiles){e.next=2;break}return e.abrupt("return",t._tiles);case 2:return e.prev=2,e.next=5,fetch(t.uri,{mode:"cors"});case 5:return n=e.sent,e.next=8,n.blob();case 8:return r=e.sent,e.next=11,createImageBitmap(r);case 11:for(i=e.sent,o=t.layout.split("x").map(Number),a=v(o,2),l=a[0],u=a[1],s=i.width/u,c=i.height/l,d=[],m=0;m<l;m++)for(f=0;f<u;f++)(g=document.createElement("canvas")).width=s,g.height=c,g.getContext("2d").drawImage(i,f*s,m*c,s,c,0,0,s,c),h=g.toDataURL("image/png"),d.push({uri:h,duration:t.duration}),t._tiles=d;return e.abrupt("return",d);case 20:for(e.prev=20,e.t0=e.catch(2),b=t.layout.split("x").map(Number),y=v(b,2),x=y[0],w=y[1],E=[],A=0;A<x*w;A++)E.push({uri:null===(N=window)||void 0===N||null===(j=N.app_data)||void 0===j||null===(k=j.appcmsMain)||void 0===k||null===(C=k.images)||void 0===C?void 0:C.placeholderCover,duration:t.duration});return e.abrupt("return",E);case 26:case"end":return e.stop()}},e,null,[[2,20]])}))).apply(this,arguments)}function O(e,t){return T.apply(this,arguments)}function T(){return(T=d(p.mark(function e(t,n){var r,i;return p.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return j=n,e.prev=1,e.next=4,fetch(t);case 4:return r=e.sent,e.next=7,r.text();case 7:return i=e.sent,e.abrupt("return",k(i));case 11:e.prev=11,e.t0=e.catch(1),console.error("Error fetching the M3U8 manifest:",e.t0);case 14:case"end":return e.stop()}},e,null,[[1,11]])}))).apply(this,arguments)}function B(e,n,r){var i=document.querySelector(".vjs-progress-holder.vjs-slider.vjs-slider-horizontal"),o=t(j);if(i&&o){var a=i.getBoundingClientRect(),l=(e.clientX-a.left)/a.width,u=function(e,t){var n,r;if(!t||0===t.length)return null;var i=0,o=t.length-1;for(;i<=o;){var a=Math.floor((i+o)/2),l=t[a];if(l===e)return l;l<e?i=a+1:o=a-1}var u=null!==(n=t[i])&&void 0!==n?n:1/0,s=null!==(r=t[o])&&void 0!==r?r:-1/0;return Math.abs(u-e)<Math.abs(s-e)?u:s}(Math.round(l*o.duration()),r),s=n[u];s&&!s.loading&&(s.loading=!0,function(e){return C.apply(this,arguments)}(s).then(function(e){var t=e[s.tileIndex],n=document.querySelector(".vjs-thumbnail-holder img");n&&t.uri&&(n.src=t.uri),s.loading=!1,s.src=t.uri}))}}function I(e){return L.apply(this,arguments)}function L(){return(L=d(p.mark(function e(t){var n,i,o,a;return p.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={},t.forEach(function(e,t){for(var r=e.layout.split("x").map(Number),i=v(r,2),o=i[0]*i[1],a=e.duration,l=0;l<o;l++){var u,s=Math.round((t*o+l)*a);n[s]=N(N({},e),{},{duration:e.duration,tileIndex:l,loading:!1,style:(u={left:"-60px",height:"85px",width:"130px"},m(u,"left","-60px"),m(u,"border","1px solid transparent"),m(u,"borderRadius","4px"),u)})}}),i=Object.keys(n).map(Number).sort(function(e,t){return e-t}),null==(o=document.querySelector(".vjs-progress-holder.vjs-slider.vjs-slider-horizontal"))||o.addEventListener("mousemove",r(function(e){return B(e,n,i)},500)),null==(a=document.querySelector(".vjs-progress-control.vjs-control"))||a.addEventListener("pointerdown",function(e){document.addEventListener("pointermove",r(function(e){return B(e,n,i)},500))}),e.abrupt("return",n);case 8:case"end":return e.stop()}},e)}))).apply(this,arguments)}var S=function(){var e=d(p.mark(function e(t,n){var r,i,o,a;return p.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t+n);case 2:return r=e.sent,e.next=5,r.text();case 5:return i=e.sent,o=i.split("\n"),a=[],o.forEach(function(e,n){e=e.trim();var r={resolution:null,duration:null,uri:null,layout:null};n>0&&o[n-1].includes("#EXT-X-TILES")&&(o[n-1]=o[n-1].split(","),r.uri=t+e,o[n-1].forEach(function(e){(e.includes(":")?e.split(":")[1]:e).split(",").forEach(function(e){var t=e.split("="),n=v(t,2),i=n[0],o=n[1];i=i.toLowerCase(),r[i]=o})}),a.push(r))}),e.abrupt("return",a);case 10:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}();function M(e){return e.replace(/AdSegmentFilter\/markers=\(.+?\)\//,"")}function P(e,t){return R.apply(this,arguments)}function R(){return(R=d(p.mark(function e(n,r){var i,o,l,u,s,c,d,m,f,g,h,b,y,x,w,E,A,N,k,C,O,T,B,I,L,S,P,R,X,U,F,_,q,G,V,z,H,Q,W,Y,J,K,Z,ee,te,ne,re,ie,oe,ae,le,ue,se,ce,de,pe,me,ve;return p.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return j=r,i=t(r),o=n.split("/"),l=o.findIndex(function(e){return"dash"===e.toLowerCase()}),u=M(-1!==l?o.slice(0,l+1).join("/"):new URL(n).origin),e.prev=5,e.next=8,fetch(n);case 8:return m=e.sent,e.next=11,m.text();case 11:f=e.sent,g=new DOMParser,h=g.parseFromString(f,"application/xml"),b=(null==i?void 0:i.duration())||(null===(s=a())||void 0===s||null===(c=s.video)||void 0===c?void 0:c.runtime),y=(null==h||null===(d=h.querySelector("MPD > BaseURL"))||void 0===d?void 0:d.textContent)||u+"/",x=h.getElementsByTagName("AdaptationSet"),w=0;case 18:if(!(w<x.length)){e.next=72;break}if(("image"!==(E=x[w]).getAttribute("contentType")||"image/png"!==E.getAttribute("mimeType"))&&"image/jpeg"!==E.getAttribute("mimeType")){e.next=69;break}if(N=E.getElementsByTagName("SegmentTemplate")[0],k=null===(A=N.getElementsByTagName("SegmentTimeline"))||void 0===A?void 0:A[0],!N||!k){e.next=48;break}if(T=k.getElementsByTagName("S"),B=parseInt(null===(C=T[0])||void 0===C?void 0:C.getAttribute("t")),I=parseInt(null===(O=T[0])||void 0===O?void 0:O.getAttribute("d")),L=E.getElementsByTagName("Representation")[0],S=L.getElementsByTagName("EssentialProperty")[0],P=S.getAttribute("value"),R=null==P?void 0:P.split("x"),X=v(R,2),U=X[0],F=X[1],!N){e.next=46;break}if(N.getAttribute("media"),_=N.getAttribute("timescale"),q=(_?I/_:I)/(U*F),G=L.getAttribute("id"),V=Math.round(b/q),z=Math.ceil(V/(U*F)),H=N.getAttribute("media"),parseInt(N.getAttribute("startNumber")),!isNaN(parseInt(z))){e.next=43;break}return e.abrupt("return");case 43:for(Q=[],w=0;w<z;w++)Y="/"==(W=H)[0]?new URL(u).origin:u+"/",Q.push({duration:q,layout:P,uri:Y+W.replace("$Time$",B+w*I).replace("$RepresentationID$",G)});return e.abrupt("return",Q);case 46:e.next=69;break;case 48:if(J=E.getElementsByTagName("Representation")[0],K=J.getElementsByTagName("EssentialProperty")[0],Z=K.getAttribute("value"),ee=null==Z?void 0:Z.split("x"),te=v(ee,2),ne=te[0],re=te[1],!N){e.next=69;break}if(N.getAttribute("media"),ie=N.getAttribute("duration"),oe=N.getAttribute("timescale"),ae=(oe?ie/oe:ie)/(ne*re),le=J.getAttribute("id"),ue=Math.round(b/ae),se=Math.ceil(ue/(ne*re)),ce=N.getAttribute("media"),de=parseInt(N.getAttribute("startNumber"))||0,!isNaN(parseInt(se))){e.next=65;break}return e.abrupt("return");case 65:for(pe=[],me=D(ce),w=0;w<se;w++)ve=me?$(me,w+de):ce,pe.push({duration:ae,layout:Z,uri:y+ve.replace("$Number$",w+de).replace("$RepresentationID$",le)});return e.abrupt("return",pe);case 69:w++,e.next=18;break;case 72:return console.log("No trickplay segment found."),e.abrupt("return",null);case 76:e.prev=76,e.t0=e.catch(5),console.error("Error fetching or parsing MPD:",e.t0);case 79:case"end":return e.stop()}},e,null,[[5,76]])}))).apply(this,arguments)}function D(e){var t=e.match(/Thumbnail_\$Number%0\d+d\$\.\w+/);return t?t[0]:null}function $(e,t){var n=e.match(/%0(\d+)d/);if(!n)return e;var r=parseInt(n[1],10),i=String(t).padStart(r,"0");return e.replace(/\$Number%0\d+d\$/,i)}function X(e){return U.apply(this,arguments)}function U(){return(U=d(p.mark(function e(n){var r,i,o,a,l,u,s,c,d,m,v,f,g,h,b,y;return p.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(u=t(n),s=u.currentSource(),c=s.src,c=null!==(r=c)&&void 0!==r&&r.includes("blob")?null===(i=window)||void 0===i||null===(o=i.player)||void 0===o?void 0:o.getSource():c,null===(a=c)||void 0===a||!a.includes("m3u8")){e.next=19;break}return e.next=6,O(c,n);case 6:if(!((null==(d=e.sent)?void 0:d.length)>0)){e.next=17;break}return m=(null==d?void 0:d[0])||null,v=m.uri,f=c.substring(0,c.lastIndexOf("/"))+"/",e.next=12,S(f,v);case 12:return g=e.sent,e.next=15,I(g);case 15:h=e.sent,u.thumbnails(h);case 17:e.next=28;break;case 19:if(null===(l=c)||void 0===l||!l.includes("mpd")){e.next=28;break}return e.next=22,P(c,n);case 22:if(!((null==(b=e.sent)?void 0:b.length)>0)){e.next=28;break}return e.next=26,I(b);case 26:y=e.sent,u.thumbnails(y);case 28:case"end":return e.stop()}},e)}))).apply(this,arguments)}function F(e,n){var r=t(e),i=null==n?void 0:n.tvProviderLogoUrl;if(i){var o=document.createElement("div");o.className="tvProviderImage";var a=document.createElement("img");a.src="".concat(i),a.alt="Provider Image",o.append(a),r.el().appendChild(o),r.on("useractive",function(){o.classList.remove("vjs-fade")}),r.on("userinactive",function(){r.paused()||o.classList.add("vjs-fade")}),r.on("fullscreenchange",function(){r.isFullscreen_?o.style.top="3.2rem":o.style.top="1rem"})}}export{w as a,F as b,X as i};