@viewlift/player-backup 2.0.143-backup → 2.0.144-backup
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/autoNextVideo-92f6e1a1.js +1 -0
- package/cjs/bundle.css +129 -976
- package/cjs/caption-settings-d2d5e85a.js +1 -0
- package/cjs/captions-68e263dd.js +1 -0
- package/cjs/currentVideoInfo-701b6888.js +1 -0
- package/cjs/features-4fc83252.js +1 -0
- package/cjs/generic-2a1f9a8b.js +1 -0
- package/cjs/helper-f5c238fa.js +1 -0
- package/cjs/{icons-eb807ef0.js → icons-2609dbe4.js} +1 -1
- package/cjs/index-84cce26a.js +1 -0
- package/cjs/index-ab47df07.js +1 -0
- package/cjs/index-c53dbd8e.js +1 -0
- package/cjs/index.js +1 -1
- package/cjs/multicamv2-84bee493.js +1 -0
- package/cjs/multicamv2-fc53b4ac.js +1 -0
- package/cjs/nextEpisodeButton-a01f5767.js +1 -0
- package/cjs/player_instance-fcf6a8fb.js +1 -0
- package/cjs/playlist-b6b69ca8.js +1 -0
- package/cjs/resolution-9c4872ec.js +1 -0
- package/cjs/resolution-v2-50cbd77b.js +1 -0
- package/cjs/series-bb3d3860.js +1 -0
- package/cjs/series-v2-51460f31.js +1 -0
- package/cjs/series-v2-7f7daa7e.js +1 -0
- package/cjs/settings-icon-9d3d7007.js +1 -0
- package/cjs/skin-12248e27.js +1 -0
- package/cjs/skin-12fb10da.js +1 -0
- package/cjs/skin-356f0596.js +1 -0
- package/cjs/skin-3abcf9f2.js +1 -0
- package/cjs/skin-71b7d779.js +1 -0
- package/cjs/skin-8fbed638.js +1 -0
- package/cjs/skin-ab9d3f59.js +1 -0
- package/cjs/skin-f68a156a.js +1 -0
- package/cjs/skin-fc3ed8c4.js +1 -0
- package/cjs/start-begin-btn-a41a373b.js +1 -0
- package/cjs/util-a3ed1133.js +1 -0
- package/cjs/videoSelector-8d5c8b75.js +1 -0
- package/cjs/videoSelector-e446b0f6.js +1 -0
- package/cjs/videojs-dash5.es-ced4b564.js +1 -0
- package/cjs/watch-live-btn-62a1ea99.js +1 -0
- package/esm/apis/index.d.ts +4 -4
- package/esm/assets/icons.d.ts +3 -0
- package/esm/autoNextVideo-b9d1e578.js +1 -0
- package/esm/bundle.css +129 -976
- package/esm/caption-settings-e7da6b4f.js +1 -0
- package/esm/captions-78bd2908.js +1 -0
- package/esm/components/dvr-startover/helper.d.ts +17 -0
- package/esm/components/dvr-startover/index.d.ts +1 -0
- package/esm/components/dvr-startover/marker.d.ts +3 -0
- package/esm/components/dvr-startover/start-begin-btn.d.ts +6 -0
- package/esm/components/dvr-startover/watch-live-btn.d.ts +6 -0
- package/esm/components/resolution/resolution-v2.d.ts +18 -0
- package/esm/components/resolution/resolution.d.ts +1 -0
- package/esm/core/util.d.ts +0 -1
- package/esm/currentVideoInfo-876f931f.js +1 -0
- package/esm/dash/linear_ssai.d.ts +1 -0
- package/esm/dash/sgai.d.ts +8 -0
- package/esm/features-6b8cac3a.js +1 -0
- package/esm/features.d.ts +2 -0
- package/esm/generic-5ad7e4b1.js +1 -0
- package/esm/helper-5b8543f8.js +1 -0
- package/esm/helpers/currentVideoInfo.d.ts +2 -5
- package/esm/helpers/token.d.ts +1 -1
- package/esm/{icons-699e8cf0.js → icons-37daa6b3.js} +1 -1
- package/esm/index-415347e6.js +1 -0
- package/esm/index-5d92eaa3.js +1 -0
- package/esm/index-dec898b0.js +1 -0
- package/esm/index.d.ts +5 -2
- package/esm/index.js +1 -1
- package/esm/multicamv2-a9da4df6.js +1 -0
- package/esm/multicamv2-ec09734e.js +1 -0
- package/esm/nextEpisodeButton-090c20d3.js +1 -0
- package/esm/player_instance-34118a5b.js +1 -0
- package/esm/playlist-1eb90403.js +1 -0
- package/esm/resolution-62be852a.js +1 -0
- package/esm/resolution-v2-6446fe47.js +1 -0
- package/esm/series-e9da779a.js +1 -0
- package/esm/series-v2-aead4281.js +1 -0
- package/esm/series-v2-b188f309.js +1 -0
- package/esm/settings-icon-bccd9e44.js +1 -0
- package/esm/skin-1d47c799.js +1 -0
- package/esm/skin-2a673f06.js +1 -0
- package/esm/skin-8925cc0a.js +1 -0
- package/esm/skin-9fece9a0.js +1 -0
- package/esm/skin-a9091282.js +1 -0
- package/esm/skin-abe5c289.js +1 -0
- package/esm/skin-bb6bccb5.js +1 -0
- package/esm/skin-e96c1083.js +1 -0
- package/esm/skin-eed161b7.js +1 -0
- package/esm/start-begin-btn-1c8ea964.js +1 -0
- package/esm/util-28923483.js +1 -0
- package/esm/utilities/beacon.d.ts +1 -1
- package/esm/videoSelector-100bc346.js +1 -0
- package/esm/videoSelector-366858ef.js +1 -0
- package/esm/videojs-dash5.es-2dcf13b7.js +1 -0
- package/esm/watch-live-btn-5ac0e12a.js +1 -0
- package/package.json +1 -1
- package/cjs/autoNextVideo-d850ee4e.js +0 -1
- package/cjs/browser-77c57718.js +0 -1
- package/cjs/caption-settings-097ff979.js +0 -1
- package/cjs/captions-72ec7e00.js +0 -1
- package/cjs/features-ba93a89c.js +0 -1
- package/cjs/generic-0991f3f4.js +0 -1
- package/cjs/index-3f0e537b.js +0 -1
- package/cjs/index-48cd83eb.js +0 -1
- package/cjs/index-edb14fce.js +0 -1
- package/cjs/multicamv2-d19fe295.js +0 -1
- package/cjs/multicamv2-e411dad6.js +0 -1
- package/cjs/nextEpisodeButton-55805da7.js +0 -1
- package/cjs/playlist-edd31cf2.js +0 -1
- package/cjs/renditions-aa9afb62.js +0 -1
- package/cjs/resolution-6bc4f52e.js +0 -1
- package/cjs/series-58e247c5.js +0 -1
- package/cjs/series-v2-359e101d.js +0 -1
- package/cjs/series-v2-dd1ab066.js +0 -1
- package/cjs/settings-icon-0617fef9.js +0 -1
- package/cjs/skin-0271d221.js +0 -1
- package/cjs/skin-03cd1be6.js +0 -1
- package/cjs/skin-0566fd3c.js +0 -1
- package/cjs/skin-292f29df.js +0 -1
- package/cjs/skin-5271b7d9.js +0 -1
- package/cjs/skin-b74beee5.js +0 -1
- package/cjs/skin-c52c7e46.js +0 -1
- package/cjs/skin-cb598572.js +0 -1
- package/cjs/skin-ecbe4359.js +0 -1
- package/cjs/util-9873783c.js +0 -1
- package/cjs/videoSelector-278007b2.js +0 -1
- package/cjs/videoSelector-e8cfb5bd.js +0 -1
- package/cjs/videojs-dash5.es-3854764f.js +0 -1
- package/esm/autoNextVideo-5a2b0157.js +0 -1
- package/esm/browser-d4613b36.js +0 -1
- package/esm/caption-settings-896d4b1e.js +0 -1
- package/esm/captions-c93ac538.js +0 -1
- package/esm/features-5e51d5de.js +0 -1
- package/esm/generic-3de3fe10.js +0 -1
- package/esm/index-7e2e5b17.js +0 -1
- package/esm/index-85ea3fd1.js +0 -1
- package/esm/index-8e3eab6d.js +0 -1
- package/esm/multicamv2-85d6075d.js +0 -1
- package/esm/multicamv2-df2f24d9.js +0 -1
- package/esm/nextEpisodeButton-362d6098.js +0 -1
- package/esm/playlist-5ade20d5.js +0 -1
- package/esm/renditions-18d9b04b.js +0 -1
- package/esm/resolution-62626802.js +0 -1
- package/esm/series-9b0857a9.js +0 -1
- package/esm/series-v2-683e0bb4.js +0 -1
- package/esm/series-v2-78cdef74.js +0 -1
- package/esm/settings-icon-c2a6e1bc.js +0 -1
- package/esm/skin/mini/events.d.ts +0 -1
- package/esm/skin/mini/skin.d.ts +0 -1
- package/esm/skin-0c68ec44.js +0 -1
- package/esm/skin-7194ddf8.js +0 -1
- package/esm/skin-8379a437.js +0 -1
- package/esm/skin-8915abea.js +0 -1
- package/esm/skin-96ea65f7.js +0 -1
- package/esm/skin-9d1cd41d.js +0 -1
- package/esm/skin-aac48b88.js +0 -1
- package/esm/skin-b979ec23.js +0 -1
- package/esm/skin-c4f16045.js +0 -1
- package/esm/util-431d94d8.js +0 -1
- package/esm/videoSelector-1d3c9609.js +0 -1
- package/esm/videoSelector-ecf5c473.js +0 -1
- package/esm/videojs-dash5.es-08c7635e.js +0 -1
package/cjs/skin-292f29df.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./features-ba93a89c.js"),l=require("./icons-eb807ef0.js"),i=require("./skin-b74beee5.js"),n=require("./renditions-aa9afb62.js"),t=require("./index-48cd83eb.js");require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/toConsumableArray");var o=require("./browser-77c57718.js"),r=require("./generic-0991f3f4.js");require("@babel/runtime/helpers/classCallCheck"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/inherits"),require("@babel/runtime/helpers/possibleConstructorReturn"),require("@babel/runtime/helpers/getPrototypeOf"),require("video.js"),require("./localisation-56e0a999.js"),require("./autoNextVideo-d850ee4e.js"),require("./util-9873783c.js"),require("@babel/runtime/helpers/typeof"),require("axios"),require("js-cookie"),require("./captions-72ec7e00.js"),exports.initialiseSkin=function(s,u){i.getPlayer(s).addClass("skin_mini"),"Chrome"==o.detectBrowser()&&Promise.resolve().then((function(){return require("./chromett-f925fb6c.js")})).then((function(e){var l=document.createElement("style");l.id="chromett",l.append("".concat(e.default)),document.head.appendChild(l)})),function(l,o){var r=i.getPlayer(l);r&&r.on("loadeddata",(function(){var i,r,s,u,d,a,v;(null===(i=n.getRenditions(l))||void 0===i?void 0:i.length)>0&&0!=(null==o||null===(r=o.skin_settings)||void 0===r?void 0:r.settingsToggle)&&e.addSettingsButtonV2(l,o),!(null!=o&&null!==(s=o.series)&&void 0!==s&&s.enable||null!==(u=window)&&void 0!==u&&null!==(d=u.app_data)&&void 0!==d&&null!==(a=d.appcmsMain)&&void 0!==a&&null!==(v=a.features)&&void 0!==v&&v.auto_play)||null!=o&&o.liveVideo||t.addNextEpPreview(l,o)}))}(s,u),function(e,l){var n,t,o,r,s,u,d,a,v,C,c,h,p,f,m,b,g,B,y=i.getPlayer(e);null===(n=y.controlBar)||void 0===n||n.removeChild("VolumePanel"),null===(t=y.controlBar)||void 0===t||t.addChild("VolumePanel",{inline:!1},1);var L=null===(o=y.controlBar)||void 0===o?void 0:o.getChild("ProgressControl"),j=document.createElement("div");j.className="custom-spaced-progress-bar",L&&j.append(L.el());null===(r=y.controlBar)||void 0===r||null===(s=r.el())||void 0===s||s.append(j);var V='<svg xmlns="http://www.w3.org/2000/svg" style="display : none">\n <defs>\n <symbol id="vjs-icon-pause" viewBox="0 0 17 16">\n <path d="M6.00138 15.4894C6.02138 15.7494 5.82138 15.9694 5.56138 15.9894C5.54138 15.9894 5.52138 15.9894 5.50138 15.9894H2.50138C2.24138 16.0094 2.02138 15.8094 2.00138 15.5494C2.00138 15.5294 2.00138 15.5094 2.00138 15.4894V0.499411C1.98138 0.239411 2.18138 0.0194107 2.44138 -0.000589337C2.46138 -0.000589337 2.48138 -0.000589337 2.50138 -0.000589337H5.50138C5.76138 -0.0205893 5.98138 0.179411 6.00138 0.439411C6.00138 0.459411 6.00138 0.479411 6.00138 0.499411V15.4894ZM14.0014 0.509411C14.0214 0.249411 13.8214 0.0294105 13.5614 0.00941051C13.5414 0.00941051 13.5214 0.00941051 13.5014 0.00941051H10.5014C10.2414 -0.0105895 10.0214 0.189411 10.0014 0.449411C10.0014 0.469411 10.0014 0.489411 10.0014 0.509411V15.4994C9.98138 15.7594 10.1814 15.9794 10.4414 15.9994C10.4614 15.9994 10.4814 15.9994 10.5014 15.9994H13.5014C13.7614 16.0194 13.9814 15.8194 14.0014 15.5594C14.0014 15.5394 14.0014 15.5194 14.0014 15.4994V0.509411Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-play" viewBox="0 0 17 16">\n <path d="M0.38279 15.9526C0.28279 16.0326 0.142791 16.0126 0.0527906 15.9126C0.0127906 15.8626 -0.00720943 15.8026 0.00279057 15.7326V0.262601C-0.0172094 0.132601 0.0727907 0.0226013 0.192791 0.00260128C0.262791 -0.00739872 0.32279 0.0126014 0.38279 0.0426014L15.8528 7.8126C16.0628 7.9226 16.0628 8.0926 15.8528 8.1926L0.38279 15.9526Z" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-fullscreen" viewBox="0 0 24 24">\n <path d="M19.8621 5.44209L19.0221 10.4521C18.9821 10.7221 18.7821 10.7821 18.5821 10.5921L17.1421 9.15209L14.3521 11.9421L12.9321 10.5221L15.7221 7.73209L14.2821 6.29209C14.0921 6.10209 14.1521 5.90209 14.4221 5.85209L19.4321 5.01209C19.6121 4.96209 19.7921 5.07209 19.8421 5.25209C19.8821 5.32209 19.8821 5.38209 19.8621 5.44209ZM9.15209 17.1621L11.9421 14.3721L10.5221 12.9521L7.73209 15.7421L6.29209 14.3021C6.10209 14.1121 5.90209 14.1721 5.85209 14.4421L5.01209 19.4521C4.96209 19.6321 5.07209 19.8121 5.25209 19.8621C5.30209 19.8821 5.37209 19.8821 5.42209 19.8621L10.4321 19.0221C10.7021 18.9821 10.7621 18.7821 10.5721 18.5821L9.15209 17.1621Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-fullscreen-back" viewBox="0 0 24 24">\n <path d="M10.92 13.49L10.08 18.5C10.04 18.77 9.84001 18.83 9.64001 18.64L8.20001 17.2L5.41001 19.99L3.99001 18.57L6.78001 15.78L5.34001 14.34C5.15001 14.15 5.21001 13.95 5.48001 13.9L10.49 13.06C10.67 13.01 10.85 13.12 10.9 13.3C10.94 13.37 10.94 13.43 10.92 13.49ZM17.21 8.21L20 5.42L18.58 4L15.79 6.79L14.35 5.35C14.16 5.16 13.96 5.22 13.91 5.49L13.07 10.5C13.02 10.68 13.13 10.86 13.31 10.91C13.36 10.93 13.43 10.93 13.48 10.91L18.49 10.07C18.76 10.03 18.82 9.83 18.63 9.63L17.21 8.21Z" fill="#EBEBEB"/>\n </symbol>\n\n <symbol id="vjs-icon-volume1" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume2" viewBox="0 0 24 24"> \n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-volume3" viewBox="0 0 24 24">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M13.62 16V14C14.73 14 15.62 13.11 15.62 12C15.62 10.89 14.73 10 13.62 10V8C15.83 8 17.62 9.79 17.62 12C17.62 14.21 15.83 16 13.62 16Z" fill="#EBEBEB"/>\n <path d="M21.62 12C21.62 7.58 18.04 4 13.62 4V6C16.93 6 19.62 8.69 19.62 12C19.62 15.31 16.93 18 13.62 18V20C18.04 19.99 21.61 16.41 21.62 12Z" fill="#EBEBEB"/>\n </symbol>\n <symbol id="vjs-icon-mute" viewBox="0 0 24 24"> \n <g clip-path="url(#clip0_19_559)">\n <path d="M11.65 4.28V19.72C11.65 20 11.48 20.08 11.27 19.89L5.86 15.09H2.9C2.62 15.09 2.38 14.86 2.38 14.57V9.43C2.38 9.15 2.61 8.91 2.9 8.91H5.86L11.27 4.11C11.48 3.92 11.65 3.99 11.65 4.28Z" fill="#EBEBEB"/>\n <path d="M19.0909 12.5238L21.2626 14.6955L19.8146 16.1436L17.6429 13.9718L15.4711 16.1436L14.0231 14.6955L16.1948 12.5238L14.0231 10.352L15.4711 8.904L17.6429 11.0757L19.8146 8.904L21.2626 10.352L19.0909 12.5238Z" fill="white"/>\n </g>\n <defs>\n <clipPath id="clip0_19_559">\n <rect width="24" height="24" fill="white"/>\n </clipPath>\n </defs>\n </symbol>\n\n <symbol id="vjs-icon-pip" viewBox="0 0 24 16">\n <rect x="1" y="1" width="22" height="14" rx="1" stroke="white" stroke-width="2"/>\n <rect x="9.33331" y="6.66666" width="10.6667" height="5.33333" rx="1" fill="white"/>\n </symbol>\n\n <symbol id="vjs-icon-captions" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" fill="white" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="#050910"/>\n </symbol>\n\n <symbol id="vjs-icon-captions-off" viewBox="0 0 29 16">\n <rect x="1" y="1" width="27" height="14" rx="1" stroke="white" stroke-width="2"/>\n <path d="M11.9795 5.25488C11.6377 5.25488 11.3317 5.31673 11.0615 5.44043C10.7946 5.56413 10.5684 5.74316 10.3828 5.97754C10.1973 6.20866 10.0557 6.49023 9.95801 6.82227C9.86035 7.15104 9.81152 7.52214 9.81152 7.93555C9.81152 8.48893 9.88965 8.96582 10.0459 9.36621C10.2021 9.76335 10.4398 10.0693 10.7588 10.2842C11.0778 10.4958 11.4814 10.6016 11.9697 10.6016C12.2725 10.6016 12.5671 10.5723 12.8535 10.5137C13.14 10.4551 13.4362 10.3753 13.7422 10.2744V11.2705C13.4525 11.3844 13.1595 11.4674 12.8633 11.5195C12.5671 11.5716 12.2253 11.5977 11.8379 11.5977C11.1087 11.5977 10.5033 11.4463 10.0215 11.1436C9.54297 10.8408 9.1849 10.4144 8.94727 9.86426C8.71289 9.31413 8.5957 8.6696 8.5957 7.93066C8.5957 7.3903 8.67057 6.89551 8.82031 6.44629C8.97005 5.99707 9.18815 5.6097 9.47461 5.28418C9.76107 4.9554 10.1143 4.70312 10.5342 4.52734C10.9574 4.34831 11.4408 4.25879 11.9844 4.25879C12.3424 4.25879 12.694 4.29948 13.0391 4.38086C13.3874 4.45898 13.7096 4.57129 14.0059 4.71777L13.5957 5.68457C13.3483 5.56738 13.0895 5.46647 12.8193 5.38184C12.5492 5.2972 12.2692 5.25488 11.9795 5.25488ZM17.9174 5.25488C17.5756 5.25488 17.2696 5.31673 16.9994 5.44043C16.7325 5.56413 16.5062 5.74316 16.3207 5.97754C16.1352 6.20866 15.9936 6.49023 15.8959 6.82227C15.7982 7.15104 15.7494 7.52214 15.7494 7.93555C15.7494 8.48893 15.8275 8.96582 15.9838 9.36621C16.14 9.76335 16.3777 10.0693 16.6967 10.2842C17.0157 10.4958 17.4193 10.6016 17.9076 10.6016C18.2104 10.6016 18.5049 10.5723 18.7914 10.5137C19.0779 10.4551 19.3741 10.3753 19.6801 10.2744V11.2705C19.3904 11.3844 19.0974 11.4674 18.8012 11.5195C18.5049 11.5716 18.1632 11.5977 17.7758 11.5977C17.0466 11.5977 16.4411 11.4463 15.9594 11.1436C15.4809 10.8408 15.1228 10.4144 14.8852 9.86426C14.6508 9.31413 14.5336 8.6696 14.5336 7.93066C14.5336 7.3903 14.6085 6.89551 14.7582 6.44629C14.9079 5.99707 15.126 5.6097 15.4125 5.28418C15.699 4.9554 16.0521 4.70312 16.4721 4.52734C16.8952 4.34831 17.3786 4.25879 17.9223 4.25879C18.2803 4.25879 18.6319 4.29948 18.977 4.38086C19.3253 4.45898 19.6475 4.57129 19.9437 4.71777L19.5336 5.68457C19.2862 5.56738 19.0274 5.46647 18.7572 5.38184C18.487 5.2972 18.2071 5.25488 17.9174 5.25488Z" fill="white"/>\n </symbol>\n\n </defs>';y.el().insertBefore(i.parseSvgString(V),null!==(u=y.el().firstChild)&&void 0!==u?u:null);var E=(null==y||null===(d=y.controlBar)||void 0===d||null===(a=d.getChild("PlayToggle"))||void 0===a||null===(v=a.el())||void 0===v?void 0:v.firstChild)||null;if(E){E.style.height="16px",E.style.width="16px";var w=i.injectSVG(E,y.paused()?"#vjs-icon-play":"#vjs-icon-pause");y.on("pause",(function(){return w.setAttributeNS(null,"href","#vjs-icon-play")})),y.on("play",(function(){return w.setAttributeNS(null,"href","#vjs-icon-pause")}))}var x=(null==y||null===(C=y.controlBar)||void 0===C||null===(c=C.getChild("FullscreenToggle"))||void 0===c||null===(h=c.el())||void 0===h?void 0:h.firstChild)||null;if(x){x.style.height="24px",x.style.width="24px";var S=i.injectSVG(x,"#vjs-icon-fullscreen");y.on("fullscreenchange",(function(){var e=y.isFullscreen_;null==S||S.setAttributeNS(null,"href",e?"#vjs-icon-fullscreen-back":"#vjs-icon-fullscreen")}))}var M=(null==y||null===(p=y.controlBar)||void 0===p||null===(f=p.getChild("VolumePanel"))||void 0===f?void 0:f.el())||null;if(M){var q=M.querySelector(".vjs-mute-control .vjs-icon-placeholder");q.classList.add("vjs-svg-icon"),q.style.height="24px",q.style.width="24px";var k=i.injectSVG(q,y.muted()?"#vjs-icon-mute":"#vjs-icon-volume1");y.on("volumechange",(function(e){var l=y.volume();0==l||y.muted()?k.setAttributeNS(null,"href","#vjs-icon-mute"):l>0&&l<=.3?k.setAttributeNS(null,"href","#vjs-icon-volume1"):l>=.3&&l<=.7?k.setAttributeNS(null,"href","#vjs-icon-volume2"):k.setAttributeNS(null,"href","#vjs-icon-volume3")}))}var P=(null==y||null===(m=y.controlBar)||void 0===m||null===(b=m.getChild("PictureInPictureToggle"))||void 0===b?void 0:b.el())||null;if(P){var T=null==P?void 0:P.querySelector(".vjs-icon-placeholder");T.style.height="25px",T.style.width="25px";var A=i.injectSVG(T,"#vjs-icon-pip");y.on("enterpictureinpicture",(function(){A.setAttributeNS(null,"href","#vjs-icon-pip")}))}var Z=(null==y||null===(g=y.controlBar)||void 0===g||null===(B=g.getChild("SubsCapsButton"))||void 0===B?void 0:B.el())||null;if(Z){var _=Z.querySelector(".vjs-subs-caps-button .vjs-icon-placeholder");_.classList.add("vjs-svg-icon"),_.style.height="29px",_.style.width="29px";var N=i.injectSVG(_,"#vjs-icon-caps");N.setAttributeNS(null,"href","#vjs-icon-captions-off"),y.textTracks().on("change",(function(e){for(var l=y.textTracks(),i=!1,n=0;n<l.length;n++){var t=l[n];if(("captions"===t.kind||"subtitles"===t.kind)&&"showing"===t.mode){i=!0;break}}i?N.setAttributeNS(null,"href","#vjs-icon-captions"):N.setAttributeNS(null,"href","#vjs-icon-captions-off")}))}y&&null!=l&&l.liveVideo&&null!=l&&l.liveui&&(y.liveTracker.on("liveedgechange",(function(){G(y)})),y.on("timeupdate",(function(){G(y)})));function H(e){var l=Math.floor(e/60),i=Math.floor(e%60);return"".concat(l,":").concat(i<10?"0":"").concat(i)}function D(e){var l=e.seekable();if(l&&l.length>0){var i=l.end(0);return Math.max(0,i-e.currentTime())}return 0}function G(e){var l,i,n=e.liveTracker.atLiveEdge(),t=D(e),o=null==e||null===(l=e.controlBar)||void 0===l||null===(i=l.remainingTimeDisplay)||void 0===i?void 0:i.el();if(o){var r=o.querySelector(".vjs-remaining-time-display");n?o.style.display="none":(o.style.display="flex",r&&(r.innerText=H(t)))}}}(s,u),function(i,n){var t,o,s,u,d,a,v,C,c,h=(null==n||null===(t=n.res)||void 0===t||null===(o=t.video)||void 0===o?void 0:o.isSSAIEnabled)||!1,p=(null==n?void 0:n.skin_settings)||{};null==p||p.slowMoBtn;var f=(null==n||null===(s=n.customData)||void 0===s?void 0:s.ads)||{};null!=p&&p.skipBtn&&0==(null==n?void 0:n.liveVideo)&&0==(null==n?void 0:n.liveui)&&e.addSkipButton(i,"VL_ONE",SkipSvgV2());null!=p&&p.rewindBtn&&(0==(null==n?void 0:n.liveVideo)&&0==(null==n?void 0:n.liveui)||1==(null==n?void 0:n.liveui))&&e.addRewindButton(i,"VL_ONE",l.RewindSvgV3());(null==n||null===(u=n.relatedVideos)||void 0===u||null===(d=u.content)||void 0===d?void 0:d.length)>0&&e.addVideoSelector_DEFAULTV2_TEMP(i,null==n?void 0:n.relatedVideos);(null==n||null===(a=n.streams)||void 0===a?void 0:a.length)>1&&e.addMulticamSelector_DEFAULTV2_TEMP(i,null==n?void 0:n.streams);(null==n||null===(v=n.playlist)||void 0===v||null===(C=v.content)||void 0===C?void 0:C.length)>0&&e.addPlaylistSelector(i,null==n?void 0:n.playlist);null!=n&&null!==(c=n.series)&&void 0!==c&&c.enable&&e.addSeriesSelectorV2_DEFAULTV2_TEMP(i,n);if("MEDIA_TAILOR"==(null==f?void 0:f.vodAdSticherProvider)&&null!=f&&f.vodAdClientSideTracking&&h){var m,b=null;if(null!=n&&null!==(m=n.series)&&void 0!==m&&m.enable){var g,B,y,L=null===(g=r.getCurrentVideo())||void 0===g||null===(B=g.video)||void 0===B||null===(y=B.gist)||void 0===y?void 0:y.id,j=r.getSeriesWatchMap(),V=(null==j?void 0:j.get(L))||{t:0,p:0},E=V.t;V.p<95&&(b=E)}else{var w=n.watchHistoryResumeTime;n.watchedPercentage<95&&(b=w)}r.setupAdvertisementMarkers(i,b)}}(s,u),t.addTVProviderImage(s,u)};
|
package/cjs/skin-5271b7d9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./generic-0991f3f4.js"),r=require("./skin-b74beee5.js");require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("video.js"),require("axios"),require("./browser-77c57718.js"),require("js-cookie"),require("./captions-72ec7e00.js"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/slicedToArray");var i=function(i){var n=r.getPlayer(i),t=document.getElementById("".concat(i));t&&t.addEventListener("touchstart",(function(){n.paused()?e.play(i):e.pause(i)}))},n=function(e){var i=r.getPlayer(e);i.requestFullscreen=function(){},i.controlBar.hide()};exports.initaliseSkin=function(e){n(e),i(e)};
|
package/cjs/skin-b74beee5.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/toConsumableArray"),t=require("video.js"),n=function(e){return!!t.getPlayer("".concat(e))&&t.getPlayer("".concat(e))},i=["live","carousel","V2","defaultV2","multiplayer","minimalist","VL_ONE","news","mini"],r=function(e){var t=(new DOMParser).parseFromString(e,"image/svg+xml");return null==t?void 0:t.querySelector("svg")},o="http://www.w3.org/2000/svg";var l=function(t){e(document.querySelectorAll("[video-idx]")).map((function(e){var n=e.getAttribute("video-idx");e.style.border=n==t?"2px solid white":"none"}))},a="",u=function(e,t){var n;if(t){var i=document.getElementById(e),r=null===(n=window.getComputedStyle(i,null))||void 0===n?void 0:n.height;t.style.height!==r&&(t.style.height="".concat(r))}};exports.clearEventListeners=function(){window._orientationChangeHandler&&(window.removeEventListener("resize",window._orientationChangeHandler),delete window._orientationChangeHandler),window._multiplayer_dbClickHandler&&(window.removeEventListener("dblclick",window._multiplayer_dbClickHandler),delete window._multiplayer_dbClickHandler),window._multiplayer_dbTapHandler&&(window.removeEventListener("touchend",window._multiplayer_dbTapHandler),delete window._multiplayer_dbTapHandler)},exports.closeOpenDrawers=function(){var t=e(document.getElementsByClassName("vjs-control vjs-button open"));null==t||t.map((function(e){var t,n;null==e||null===(t=e.childNodes)||void 0===t||null===(n=t[0])||void 0===n||n.click()}))},exports.createIconMarkup=function(e){return r(e)},exports.debounce=function(e,t){var n;return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];var l=this;clearTimeout(n),n=setTimeout((function(){e.apply(l,r)}),t)}},exports.detectOrientationChange=function(e,t){var n,i=function(){return function(e,t){var n=window.matchMedia("(orientation: portrait)").matches?"potrait":"landscape",i=document.getElementById(e);if(i&&a!==n){var r=window.getComputedStyle(i,null).getPropertyValue("height");t&&(t.style.height="".concat(r)),a=n}}(e,t)};window._orientationChangeHandler=i;window.addEventListener("resize",(function(){clearTimeout(n),n=setTimeout((function(){i()}),100)}))},exports.getPlayer=n,exports.handleDrawerResizing=function(e,t){var i,r=n(e),o=n(e).el(),l=new ResizeObserver((function(){var n;null!==(n=t.classList)&&void 0!==n&&n.contains("hidden")||(i&&clearTimeout(i),i=setTimeout((function(){u(e,t)}),300))}));l.observe(o),r.on("dispose",(function(){l.disconnect()})),r.on("fullscreenchange",(function(){setTimeout((function(){u(e,t)}),50)}))},exports.highlightVideo=function(t,i){if(i){var r,o,a=n(i);if(a&&"function"==typeof a.el&&null!=a&&null!==(r=a.el())&&void 0!==r&&null!==(o=r.classList)&&void 0!==o&&o.contains("skin_defaultv2"))return void l(t)}var u=e(document.querySelectorAll("[video-idx]"));console.log(u),u.map((function(e){var n=e.parentNode,i=e.getAttribute("video-idx");n.style.background=i==t?"gray":"none"}))},exports.highlightVideo_DEFAULTV2_TEMP=l,exports.impolicy16x9=function(e){return e&&!e.includes("?impolicy")?e+"?impolicy=resize&w=1920&h=1080":null},exports.injectSVG=function(e,t){if(!e)return null;e.classList.add("vjs-svg-icon");var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0 0 48 48",n=document.createElementNS(o,"svg");n.setAttribute("viewBox",t),n.setAttribute("preserveAspectRatio","xMidYMid meet");var i=document.createElementNS(o,"use");return i.setAttributeNS(null,"href",e),n.appendChild(i),{svg:n,use:i}}(t),i=n.svg,r=n.use;return e.appendChild(i),r},exports.isNotAValidSkin=function(e){return!i.includes(e)},exports.parseHtmlString=function(e){var t=(new DOMParser).parseFromString(e,"text/html");return null==t?void 0:t.querySelector("body")},exports.parseSvgString=r,exports.setUpdatedElHeight=u,exports.throttle=function(e,t){var n=null,i=null;return function(){for(var r=this,o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];i?(clearTimeout(n),n=setTimeout((function(){Date.now()-i>=t&&(e.apply(r,l),i=Date.now())}),t-(Date.now()-i))):(e.apply(this,l),i=Date.now())}};
|
package/cjs/skin-c52c7e46.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./features-ba93a89c.js"),l=require("./icons-eb807ef0.js"),i=require("./skin-b74beee5.js"),n=require("./renditions-aa9afb62.js"),r=require("./captions-72ec7e00.js"),o=require("./index-48cd83eb.js"),t=require("./index-edb14fce.js"),d=require("./browser-77c57718.js");require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/classCallCheck"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/inherits"),require("@babel/runtime/helpers/possibleConstructorReturn"),require("@babel/runtime/helpers/getPrototypeOf"),require("video.js"),require("./generic-0991f3f4.js"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("axios"),require("js-cookie"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/slicedToArray"),require("./localisation-56e0a999.js"),require("./autoNextVideo-d850ee4e.js"),require("./util-9873783c.js"),require("@babel/runtime/helpers/typeof"),exports.initialiseSkin=function(u,a){i.getPlayer(u).addClass("skin_defaultv2"),function(){"Chrome"==d.detectBrowser()&&Promise.resolve().then((function(){return require("./chromett-f925fb6c.js")})).then((function(e){var l=document.createElement("style");l.id="chromett",l.append("".concat(e.default)),document.head.appendChild(l)}));Promise.resolve().then((function(){return require("./skin-38de8257.js")})).then((function(e){var l=document.createElement("style");l.id="default_v2",l.append("".concat(e.default)),document.head.appendChild(l)}))}(),function(l,u){var a=i.getPlayer(l);a&&(a.on("loadeddata",(function(){var i,a,s,v,c,p,m;(null===(i=n.getRenditions(l))||void 0===i?void 0:i.length)>0&&e.addSettingsButtonV2(l,u),(null===(a=r.getCaptions(l))||void 0===a?void 0:a.length)>0&&e.addCaptionButton(l,u),!(null!=u&&null!==(s=u.series)&&void 0!==s&&s.enable||null!==(v=window)&&void 0!==v&&null!==(c=v.app_data)&&void 0!==c&&null!==(p=c.appcmsMain)&&void 0!==p&&null!==(m=p.features)&&void 0!==m&&m.auto_play)||null!=u&&u.liveVideo||o.addNextEpPreview(l,u),null!=u&&u.liveVideo||d.isMobile()||t.initiateTrickplay(l)})),a.one("play",(function(){var i,n,r,o;null!==(i=window)&&void 0!==i&&null!==(n=i.customData)&&void 0!==n&&n.iframeOverlayUrl&&e.addOutputtingOverlay(l,null===(r=window)||void 0===r||null===(o=r.customData)||void 0===o?void 0:o.iframeOverlayUrl)})))}(u,a),function(e,n){var r,o,t,d,u,a,s,v,c,p,m,h,g,b=i.getPlayer(e);null===(r=b.controlBar)||void 0===r||r.removeChild("VolumePanel"),null===(o=b.controlBar)||void 0===o||o.addChild("VolumePanel",{inline:!1},1);var q=null===(t=b.controlBar)||void 0===t?void 0:t.getChild("ProgressControl"),C=null===(d=b.controlBar)||void 0===d?void 0:d.getChild("CurrentTimeDisplay"),f=null===(u=b.controlBar)||void 0===u?void 0:u.getChild("SeekToLive"),y=document.createElement("div");y.className="custom-spaced-progress-bar",q&&C&&f&&y.append(q.el(),C.el(),f.el());null===(a=b.controlBar)||void 0===a||null===(s=a.el())||void 0===s||s.append(y),null==b||null===(v=b.controlBar)||void 0===v||null===(c=v.getChild("FullscreenToggle"))||void 0===c||null===(p=c.el())||void 0===p||p.appendChild(i.createIconMarkup(l.MinimizeSvg(window.controlsColor))),null==b||null===(m=b.controlBar)||void 0===m||null===(h=m.getChild("FullscreenToggle"))||void 0===h||null===(g=h.el())||void 0===g||g.appendChild(i.createIconMarkup(l.MaximizeSvg(window.controlsColor)));var V=document.getElementsByClassName("vjs-time-control");n.liveVideo&&V[0]&&(V[0].style.display="none")}(u,a),function(i,n){var r,o,t,d,u,a,s=(null==n?void 0:n.skin_settings)||{},v=0!=(null==s?void 0:s.slowMoBtn);0==(null==n?void 0:n.liveVideo)&&0==(null==n?void 0:n.liveui)&&e.addSkipButton(i,"defaultV2",l.SkipSvgV2());(0==(null==n?void 0:n.liveVideo)&&0==(null==n?void 0:n.liveui)||1==(null==n?void 0:n.liveui))&&e.addRewindButton(i,"defaultV2",l.RewindSvgV2());!n.liveVideo&&v&&e.addSlowMotion(i);(null==n||null===(r=n.relatedVideos)||void 0===r||null===(o=r.content)||void 0===o?void 0:o.length)>0&&e.addVideoSelector_DEFAULTV2_TEMP(i,null==n?void 0:n.relatedVideos);(null==n||null===(t=n.streams)||void 0===t?void 0:t.length)>1&&e.addMulticamSelector_DEFAULTV2_TEMP(i,null==n?void 0:n.streams);(null==n||null===(d=n.playlist)||void 0===d||null===(u=d.content)||void 0===u?void 0:u.length)>0&&e.addPlaylistSelector(i,null==n?void 0:n.playlist);null!=n&&null!==(a=n.series)&&void 0!==a&&a.enable&&e.addSeriesSelectorV2_DEFAULTV2_TEMP(i,n)}(u,a),o.addTVProviderImage(u,a)};
|
package/cjs/skin-cb598572.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./generic-0991f3f4.js"),r=require("./skin-b74beee5.js");require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("video.js"),require("axios"),require("./browser-77c57718.js"),require("js-cookie"),require("./captions-72ec7e00.js"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/slicedToArray");var i=function(){var e=document.getElementsByClassName("vjs-control-bar")[0];e&&(e.style.visibility="hidden")};exports.initaliseSkin=function(n){Promise.resolve().then((function(){return require("./skin-225252ff.js")})).then((function(e){var r=document.createElement("style");r.id="carousel_homepage",r.append("".concat(e.default)),document.head.appendChild(r)})),i(),function(i){var n=document.getElementById("".concat(i)),t=r.getPlayer(i);n&&n.addEventListener("touchstart",(function(){t.paused()?e.play(i):e.pause(i)}))}(n)};
|
package/cjs/skin-ecbe4359.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./features-ba93a89c.js"),l=require("./skin-b74beee5.js"),i=require("./index-48cd83eb.js"),r=require("./index-edb14fce.js"),o=require("./browser-77c57718.js");require("videojs-contrib-quality-menu");var n=require("video.js"),u=require("./generic-0991f3f4.js"),d=require("./icons-eb807ef0.js");require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/classCallCheck"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/inherits"),require("@babel/runtime/helpers/possibleConstructorReturn"),require("@babel/runtime/helpers/getPrototypeOf"),require("./renditions-aa9afb62.js"),require("./localisation-56e0a999.js"),require("@babel/runtime/helpers/toConsumableArray"),require("./autoNextVideo-d850ee4e.js"),require("./util-9873783c.js"),require("@babel/runtime/helpers/typeof"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/slicedToArray"),require("axios"),require("js-cookie"),require("./captions-72ec7e00.js");function a(n,u){var d,a=l.getPlayer(n),t=(null==u||null===(d=u.res)||void 0===d?void 0:d.siteId)||"";a&&(a.on("loadeddata",(function(){var e,d,a,s,v;!function(e){var i=l.getPlayer(e);i&&(null==i||i.qualityMenu,i.qualityMenu({useResolutionLabels:!0}))}(n),!(null!=u&&null!==(e=u.series)&&void 0!==e&&e.enable||null!==(d=window)&&void 0!==d&&null!==(a=d.app_data)&&void 0!==a&&null!==(s=a.appcmsMain)&&void 0!==s&&null!==(v=s.features)&&void 0!==v&&v.auto_play)||null!=u&&u.liveVideo||i.addNextEpPreview(n,u),null!=u&&u.liveVideo||o.isMobile()||"b13633d9-f778-40c6-a5ea-c330617cdf55"===t||r.initiateTrickplay(n)})),a.one("play",(function(){var l,i,r,o;null!==(l=window)&&void 0!==l&&null!==(i=l.customData)&&void 0!==i&&i.iframeOverlayUrl&&e.addOutputtingOverlay(n,null===(r=window)||void 0===r||null===(o=r.customData)||void 0===o?void 0:o.iframeOverlayUrl)})))}var t=function(e,i){var r,o,u,d,a,t,s,v,c,p,b,y,m=l.getPlayer(e),g=(null==i?void 0:i.theme)||{},q=n.dom.$(".vjs-play-progress"),h=n.dom.$(".video-js .vjs-big-play-button .vjs-icon-placeholder");h&&(h.style.color="".concat(null===(r=window)||void 0===r||null===(o=r.app_data)||void 0===o||null===(u=o.appcmsMain)||void 0===u||null===(d=u.brand)||void 0===d||null===(a=d.cta)||void 0===a||null===(t=a.primary)||void 0===t?void 0:t.backgroundColor)),q&&(q.style.background="".concat(null===(s=window)||void 0===s||null===(v=s.app_data)||void 0===v||null===(c=v.appcmsMain)||void 0===c||null===(p=c.brand)||void 0===p||null===(b=p.cta)||void 0===b||null===(y=b.primary)||void 0===y?void 0:y.backgroundColor));var w=m.getChild("BigPlayButton")||null;(null==g?void 0:g.progressBarColor)&&q&&(q.style.background=g.progressBarColor),(null==g?void 0:g.playButtonBackgroundColor)&&w&&(w.el().style.background=g.playButtonBackgroundColor),(null==g?void 0:g.playButtonColor)&&h&&(h.style.color=g.playButtonColor),(null==g?void 0:g.playButtonType)&&("square"==(null==g?void 0:g.playButtonType)?w.el().style.borderRadius=".3em":w.el().style.borderRadius="1.3em")};exports.initialiseSkin=function(r,o){l.getPlayer(r).addClass("skin_vlone"),a(r,o),function(l,r){var o,n,a,t,s,v,c,p=(null==r||null===(o=r.res)||void 0===o||null===(n=o.video)||void 0===n?void 0:n.isSSAIEnabled)||!1,b=u.getSource(null==r?void 0:r.res,l)||{};b.src;var y=(null==r?void 0:r.skin_settings)||{},m=(null==r||null===(a=r.customData)||void 0===a?void 0:a.ads)||{};null!=y&&y.skipBtn&&0==(null==r?void 0:r.liveVideo)&&0==(null==r?void 0:r.liveui)&&e.addSkipButton(l,"VL_ONE",d.SkipSvgV2());(null!=y&&y.rewindBtn&&0==(null==r?void 0:r.liveVideo)&&0==(null==r?void 0:r.liveui)||1==(null==r?void 0:r.liveui))&&e.addRewindButton(l,"VL_ONE",d.RewindSvgV2());(null==r||null===(t=r.relatedVideos)||void 0===t||null===(s=t.content)||void 0===s?void 0:s.length)>0&&e.addVideoSelector(l,null==r?void 0:r.relatedVideos);null!=r&&null!==(v=r.series)&&void 0!==v&&v.enable&&e.addSeriesSelectorV2(l,r);(null==r||null===(c=r.streams)||void 0===c?void 0:c.length)>1&&e.addMulticamSelector(l,null==r?void 0:r.streams);if(i.addTVProviderImage(l,r),u.initialiseKeyboardEvents(l,r),"MEDIA_TAILOR"==(null==m?void 0:m.vodAdSticherProvider)&&null!=m&&m.vodAdClientSideTracking&&p){var g,q=null;if(null!=r&&null!==(g=r.series)&&void 0!==g&&g.enable){var h,w,f,j,k,C=null===(h=u.getCurrentVideo())||void 0===h||null===(w=h.video)||void 0===w||null===(f=w.gist)||void 0===f?void 0:f.id,B=u.getSeriesWatchMap(),S=(null==B?void 0:B.get(C))||{t:0,p:0},V=S.t,P=S.p;"function"==typeof(null===(j=window)||void 0===j||null===(k=j.watchHistory)||void 0===k?void 0:k.cb)&&window.watchHistory.cb({watchedTime:V}),P<95&&(q=V)}else{var M=r.watchHistoryResumeTime;r.watchedPercentage<95&&(q=M)}u.setupAdvertisementMarkers(l,q)}}(r,o),t(r,o)};
|
package/cjs/util-9873783c.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var n=require("@babel/runtime/helpers/typeof"),e=require("./generic-0991f3f4.js"),t=require("./skin-b74beee5.js"),o=!1;exports.getVideoDuration=function(n){var e=t.getPlayer(n);return e?e.duration():"Cannot find player with id: '".concat(n,"'")},exports.onReplay=function(n,i){var a=t.getPlayer(n);a?(a.on("ended",(function(){return o=!0})),a.on("timeupdate",(function(){if(o){var n,t,a=null===(n=e.getCurrentVideo())||void 0===n||null===(t=n.video)||void 0===t?void 0:t.id;e.videoReplayTracker.get(a)&&(e.videoReplayTracker.clear(),i(),e.videoReplayTracker.set(a)),o=!1}}))):i("Cannot find player with id: '".concat(n,"'"))},exports.onTimeUpdate=function(n,e){var o=t.getPlayer(n);o?o.on("timeupdate",(function(){return e(o.currentTime())})):e("Cannot find player with id: '".concat(n,"'"))},exports.onVideoEnded=function(n,e){var o=t.getPlayer(n);o?o.on("ended",(function(){return e(!0)})):e("Cannot find player with id: '".concat(n,"'"))},exports.playerEvents=function(){var e=function(n,e){var o=t.getPlayer(n);if(!o)throw"Cannot find player with id: '".concat(n,"'");if("function"!=typeof e)throw"Callback function (cb) is missing or not a function";return o};return{onPlay:function(n,t){e(n,t).on("play",(function(){return t()}))},onPause:function(n,t){e(n,t).on("pause",(function(){return t()}))},onMute:function(n,t){var o=e(n,t);o.on("volumechange",(function(){o.muted()?t({muted:!0}):t({muted:!1})}))},onPictureInPictureChange:function(n,t){var o=e(n,t);o.on("enterpictureinpicture",(function(){t({pip:!0})})),o.on("leavepictureinpicture",(function(){t({pip:!1})}))},onFullScreenChange:function(n,t){var o=e(n,t);o.on("fullscreenchange",(function(n){o.isFullscreen_?t({isFullscreen:!0}):t({isFullscreen:!1})}))},onSetVolume:function(n,t){var o=e(n,t);o.on("volumechange",(function(){var n=100*o.volume().toFixed(2);o.muted()?t({vol:0}):t({vol:n})}))},onSeeked:function(n,t){var o=e(n,t);o.on("seeked",(function(){t({seeked:o.currentTime()})}))},onSubtitleEnable:function(n,t){var o=e(n,t);o.textTracks().on("change",(function(n){console.log(o.textTracks());var e=o.textTracks().tracks_.filter((function(n){return("subtitles"===n.kind||"captions"===n.kind)&&"showing"===n.mode}));e.length>0&&t({enabled:e[0]})}))},onDisableSubtitles:function(n,t){var o=e(n,t);o.textTracks().on("change",(function(n){var e,i;console.log(o.textTracks()),(null==o||null===(e=o.textTracks())||void 0===e||null===(i=e.tracks_)||void 0===i?void 0:i.every((function(n){return"showing"!=n.mode})))&&t({captions_disabled:!0})}))},onSubtitleCueChange:function(t,o){var i=e(t,o);i.on("loadeddata",(function(){var e,t,a,r,c,u=i.textTracks();"object"==n(i.dash)&&null!=i.dash&&i.dash.mediaPlayer.on(null===(t=window)||void 0===t||null===(a=t.dashjs)||void 0===a||null===(r=a.MediaPlayer)||void 0===r||null===(c=r.events)||void 0===c?void 0:c.CAPTION_RENDERED,(function(n){o(n)}));for(var l=0;l<u.length;l++){var d=u[l];"metadata"===d.kind&&(d.mode="hidden",e=d)}e&&e.addEventListener("cuechange",(function(){var n=e.activeCues;if(n&&n.length>0)for(var t=0;t<n.length;t++){var i=n[t];o(i)}else console.log("no active cue at this moment")}))}))}}},exports.seekToTimeStamp=function(n,e,o){var i=t.getPlayer(n);i?e>=0&&e<=i.duration()?(o({status:!0,msg:"Successfully seeked to timestamp : ".concat(e)}),i.currentTime(e)):o({status:!1,msg:"Out of bounds, please provide a valid timestamp"}):o("Cannot find player with id: '".concat(n,"'"))},exports.setPlaybackSpeed=function(n,e){var o=t.getPlayer(n);if(!o)return"Cannot find player with id: '".concat(n,"'");try{return o.playbackRate(e),"Playback speed set to ".concat(e,"x")}catch(n){return"Error: ".concat(n)}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/classCallCheck"),t=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),i=require("@babel/runtime/helpers/possibleConstructorReturn"),o=require("@babel/runtime/helpers/getPrototypeOf"),r=require("video.js"),a=require("./icons-eb807ef0.js"),l=require("./generic-0991f3f4.js"),d=require("./skin-b74beee5.js"),s=require("./autoNextVideo-d850ee4e.js"),c=require("./localisation-56e0a999.js");function u(e){var t=v();return function(){var n,r=o(e);if(t){var a=o(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return i(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("./browser-77c57718.js"),require("js-cookie"),require("./captions-72ec7e00.js"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/slicedToArray"),require("./util-9873783c.js"),require("@babel/runtime/helpers/typeof");var m=r.getComponent("Component"),p=function(i){n(v,m);var o=u(v);function v(t){var n,i,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,v),(r=o.call(this,t,a)).playerId=a.playerId,r.seriesData=a.sres,r.videos=a.related.content,r.cb=(null==a||null===(n=a.related)||void 0===n?void 0:n.cb)||null,r.autoNext=(null==a||null===(i=a.related)||void 0===i?void 0:i.autoNext)||!1,r.currentVideoData=a.res,r.initialiseStructure(),r.loadCSS(),r.autoNext&&(l.setVideoIdx(0),s.autoPlayNext({playerId:r.playerId,content:r.videos,cb:r.cb})),r}return t(v,[{key:"createEl",value:function(){var e=r.dom.createEl("div",{className:"video-selection vjs-control vjs-button"});e.style.position="unset";var t=r.dom.createEl("div",{className:"video-selector-icon",innerHTML:"".concat(a.EpisodesSvg())});return r.dom.appendContent(e,t),e}},{key:"loadCSS",value:function(){Promise.resolve().then((function(){return require("./videoSelector-fcdf11eb.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=r.dom.createEl("div",{className:"video-selection-container hidden"});r.dom.$(".video-selector-icon",this.el()).onclick=function(){var i;null!==(i=n.classList)&&void 0!==i&&i.contains("hidden")?(d.closeOpenDrawers(),n.classList.remove("hidden"),t.classList.add("open"),n.style.right="0px",d.setUpdatedElHeight(e.playerId,n)):(n.classList.add("hidden"),t.classList.remove("open"),n.style.right="-350px")};var i=document.getElementById(this.playerId);if(i){var o=window.getComputedStyle(i,null).getPropertyValue("height");n.style.height="".concat(o),r.dom.appendContent(t,n),i.style.overflow="hidden",this.addFunctionality(n),d.detectOrientationChange(this.playerId,n)}}},{key:"toggleOpenClose",value:function(){}},{key:"addFunctionality",value:function(e){var t=this,n=this.el(),i=r.dom.createEl("div",{className:"video-selector-head"}),o=r.dom.createEl("div",{className:"video-selector-cross-icon",innerHTML:"".concat(a.crossIconSvg())});o.onclick=function(){e.classList.add("hidden"),n.classList.remove("open"),e.style.right="-350px"};for(var s=r.dom.createEl("div",{className:"video-selector-title",innerHTML:c.getLocalisation("relatedVideoTitle")||"Recommended"}),u=r.dom.createEl("div",{className:"video-selector-content"}),v=r.dom.createEl("div",{className:"video-container"}),m=function(e){var n,i,o,a,s,c=r.dom.createEl("div",{className:"video -".concat(e)}),m=r.dom.createEl("div",{className:"recommended -".concat(e)});m.setAttribute("video-idx",e),m.onclick=function(){l.setVideoIdx(e+1);for(var n=r.dom.$$(".recommended"),i=0;i<n.length;i++)n[i].style.border="none";d.highlightVideo_DEFAULTV2_TEMP(e),l.load(t.playerId,t.videos[e].id).then((function(e){t.cb&&t.cb(e)})).catch((function(e){t.cb&&t.cb(e)}))};var p=document.createElement("img");p.className="related-thumbnail-image",p.src="".concat((null==t||null===(n=t.videos)||void 0===n||null===(i=n[e])||void 0===i?void 0:i.img)||(null===(o=window)||void 0===o||null===(a=o.customData)||void 0===a?void 0:a.fallbackImage)),p.alt="No Thumbnail Available",m.append(p);var h=r.dom.createEl("div",{className:"info -".concat(e),innerHTML:"".concat((null==t||null===(s=t.videos[e])||void 0===s?void 0:s.title)||"")});r.dom.appendContent(c,m),r.dom.appendContent(c,h),r.dom.appendContent(v,c),r.dom.appendContent(u,v)},p=0;p<this.videos.length;p++)m(p);r.dom.appendContent(i,o),r.dom.appendContent(i,s),r.dom.appendContent(e,i),r.dom.appendContent(e,u),d.handleDrawerResizing(this.playerId,e)}}]),v}();exports.default=p;
|
|
@@ -1 +0,0 @@
|
|
|
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-eb807ef0.js"),r=require("./generic-0991f3f4.js"),d=require("./skin-b74beee5.js"),s=require("./autoNextVideo-d850ee4e.js"),c=require("./localisation-56e0a999.js");function u(e){var t=m();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 m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function(){return!!e})()}require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("axios"),require("./browser-77c57718.js"),require("js-cookie"),require("./captions-72ec7e00.js"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/slicedToArray"),require("./util-9873783c.js"),require("@babel/runtime/helpers/typeof");var v=l.getComponent("Component"),p=function(o){n(m,v);var i=u(m);function m(t){var n,o,l,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(this,m),(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&&(r.setVideoIdx(0),s.autoPlayNext({playerId:l.playerId,content:l.videos,cb:l.cb})),l}return t(m,[{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")?(d.closeOpenDrawers(),n.classList.remove("hidden"),t.classList.add("open"),d.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),d.detectOrientationChange(this.playerId,n)}}},{key:"loadVideoAssetById",value:function(e){var t=this;r.setVideoIdx(e+1);for(var n=l.dom.$$(".recommended"),o=0;o<n.length;o++)n[o].style.border="none";d.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:c.getLocalisation("relatedVideoTitle")||"Recommended"}),s=l.dom.createEl("div",{className:"video-selector-content",tabIndex:-1}),u=l.dom.createEl("div",{className:"video-container video-accessibility"}),m=function(e){var n,o,i,a,r,c,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(d.impolicy16x9(null==t||null===(n=t.videos)||void 0===n||null===(o=n[e])||void 0===o?void 0:o.img)||d.impolicy16x9(null===(i=window)||void 0===i||null===(a=i.app_data)||void 0===a||null===(r=a.appcmsMain)||void 0===r||null===(c=r.images)||void 0===c?void 0:c.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(u,p),l.dom.appendContent(s,u)},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,s),d.handleDrawerResizing(this.playerId,e)}}]),m}();exports.default=p;
|