suada-components 1.5.0 → 1.6.0
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/dist/components/{DailyMotion-D1GfS99W.js → DailyMotion-Cyo9mQyt.js} +1 -1
- package/dist/components/{DailyMotion-DIc5BN6G.esm.js → DailyMotion-MzOn9ju_.esm.js} +1 -1
- package/dist/components/{Facebook-B1WhW-N8.esm.js → Facebook-CJbuSY04.esm.js} +1 -1
- package/dist/components/{Facebook-CCzLezvE.js → Facebook-CPs-Ms_X.js} +1 -1
- package/dist/components/{FilePlayer-BVX0TAd4.esm.js → FilePlayer-CQvxGYWG.esm.js} +1 -1
- package/dist/components/{FilePlayer-CSeIQE-t.js → FilePlayer-DNH6fpJi.js} +1 -1
- package/dist/components/{Kaltura-Ybj6tj4c.js → Kaltura-CyreQk0X.js} +1 -1
- package/dist/components/{Kaltura-Dv3nF_qk.esm.js → Kaltura-UmIP8SbX.esm.js} +1 -1
- package/dist/components/{Mixcloud-DgO-TXVn.esm.js → Mixcloud-CIGHRTPD.esm.js} +1 -1
- package/dist/components/{Mixcloud-NSXYlse6.js → Mixcloud-DJ_299OT.js} +1 -1
- package/dist/components/{Mux-CWsIfXgR.js → Mux-BWxS553y.js} +1 -1
- package/dist/components/{Mux-BVKUzr2W.esm.js → Mux-CPaUZQah.esm.js} +1 -1
- package/dist/components/{Preview-YEvp75ub.js → Preview-BO_4FDai.js} +1 -1
- package/dist/components/{Preview-BYYoOVhE.esm.js → Preview-CMj6CzdF.esm.js} +1 -1
- package/dist/components/{SoundCloud-oy_T9Aiu.esm.js → SoundCloud-CFXXBy2Z.esm.js} +1 -1
- package/dist/components/{SoundCloud-D5RE0hBN.js → SoundCloud-CWfPIUXj.js} +1 -1
- package/dist/components/{Streamable-cVBLCtV4.js → Streamable-Dqtzhuip.js} +1 -1
- package/dist/components/{Streamable-BEA6SKQj.esm.js → Streamable-DrNjqXjt.esm.js} +1 -1
- package/dist/components/{Twitch-DK8g5mI9.js → Twitch-CJuQ6-kx.js} +1 -1
- package/dist/components/{Twitch-DPtzkrmp.esm.js → Twitch-DjgALZAq.esm.js} +1 -1
- package/dist/components/VideoPlayer/Controls/Controls.js +9 -9
- package/dist/components/VideoPlayer/Controls/Controls.js.map +1 -1
- package/dist/components/VideoPlayer/Controls/Controls.styles.js +4 -4
- package/dist/components/VideoPlayer/Controls/Controls.styles.js.map +1 -1
- package/dist/components/VideoPlayer/Player.styles.js +1 -1
- package/dist/components/VideoPlayer/Player.styles.js.map +1 -1
- package/dist/components/{Vidyard-BfoXiL7u.js → Vidyard-BkuV0Ftd.js} +1 -1
- package/dist/components/{Vidyard-C80XYDQJ.esm.js → Vidyard-M-vpaxMt.esm.js} +1 -1
- package/dist/components/{Vimeo-BuGV9164.esm.js → Vimeo-0VVg6nMH.esm.js} +1 -1
- package/dist/components/{Vimeo-C71PHmy8.js → Vimeo-BCG247ek.js} +1 -1
- package/dist/components/{Wistia-ZeBeRmW3.esm.js → Wistia-CEi72MTW.esm.js} +1 -1
- package/dist/components/{Wistia-DZLhakqM.js → Wistia-D2KJJODu.js} +1 -1
- package/dist/components/{YouTube-D2V4Z5LG.js → YouTube-Bko04PXB.js} +1 -1
- package/dist/components/{YouTube-DVacs1Or.esm.js → YouTube-kQuElqJG.esm.js} +1 -1
- package/dist/components/{index-0oGMHkIv.esm.js → index-BYbdvIBD.esm.js} +36 -32
- package/dist/components/{index-CUdpL49N.js → index-Cb05_mlX.js} +36 -32
- package/dist/components/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -99,15 +99,15 @@ var Controls = function (_a) {
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
}); };
|
|
102
|
-
return (_jsxs(StyledControls, { children: [_jsx(StyledSlider, { type: 'range', min: 0, max: 100, value: played * 100, onMouseDown: onSeekMouseDownHandler, onChange: seekHandler, onMouseUp: seekMouseUpHandler }), _jsxs(StyledControllerLeft, { children: [_jsx(CustomTooltip, { title: playing ? 'Pause' : 'Play', children: _jsx(StyledPlayPauseIconContainer, { onClick: playPauseHandler, children: playing ? _jsx(PauseIcon, {}) : _jsx(PlayIcon, {}) }) }), _jsx(CustomTooltip, { title: "Rewind 10 seconds", children: _jsx(StyledRewindIconContainer, { children: _jsx(RewindIcon, { onClick: rewindHandler }) }) }), _jsx(CustomTooltip, { title: "Forward 10 seconds", children: _jsx(StyledRewindIconContainer, { children: _jsx(RewindIcon, { forward: true, onClick: handleFastForward }) }) }), _jsxs(StyledVolumeWrapper, { children: [_jsx(CustomTooltip, { title: muted ? 'Unmute' : 'Mute', children: _jsx(StyledVolumeIconContainer, { onClick: muteHandler, children: muted ? _jsx(VolumeMuteIcon, {}) : _jsx(VolumeUpIcon, {}) }) }), _jsx(StyledVolumeSlider, { type: 'range', value: volume * 100, onChange: volumeChangeHandler })] }), _jsxs(StyledTimeTrack, { children: [formatCurrentTime, " /", formatDuration] })] }), _jsxs(StyledControllerRight, { children: [handleSkipBackward && (_jsx(CustomTooltip, { title: "Previous video", children: _jsx(SkipIcon, { onClick: function () {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
102
|
+
return (_jsxs(StyledControls, { children: [_jsx(StyledSlider, { type: 'range', min: 0, max: 100, value: played * 100, onMouseDown: onSeekMouseDownHandler, onChange: seekHandler, onMouseUp: seekMouseUpHandler }), _jsxs(StyledControllerLeft, { children: [_jsx(CustomTooltip, { title: playing ? 'Pause' : 'Play', children: _jsx(StyledPlayPauseIconContainer, { onClick: playPauseHandler, children: playing ? _jsx(PauseIcon, {}) : _jsx(PlayIcon, {}) }) }), _jsx(CustomTooltip, { title: "Rewind 10 seconds", children: _jsx(StyledRewindIconContainer, { children: _jsx(RewindIcon, { onClick: rewindHandler }) }) }), _jsx(CustomTooltip, { title: "Forward 10 seconds", children: _jsx(StyledRewindIconContainer, { children: _jsx(RewindIcon, { forward: true, onClick: handleFastForward }) }) }), _jsxs(StyledVolumeWrapper, { children: [_jsx(CustomTooltip, { title: muted ? 'Unmute' : 'Mute', children: _jsx(StyledVolumeIconContainer, { onClick: muteHandler, children: muted ? _jsx(VolumeMuteIcon, {}) : _jsx(VolumeUpIcon, {}) }) }), _jsx(StyledVolumeSlider, { type: 'range', value: volume * 100, onChange: volumeChangeHandler })] }), _jsxs(StyledTimeTrack, { children: [formatCurrentTime, " /", formatDuration] })] }), _jsxs(StyledControllerRight, { children: [handleSkipBackward && (_jsx(CustomTooltip, { title: "Previous video", children: _jsx(StyledRewindIconContainer, { children: _jsx(SkipIcon, { onClick: function () {
|
|
103
|
+
if (!isPreviousVideo)
|
|
104
|
+
return;
|
|
105
|
+
handleSkipBackward();
|
|
106
|
+
}, className: isPreviousVideo ? '' : 'skip-icon-disabled' }) }) })), handleSkipForward && (_jsx(CustomTooltip, { title: "Next video", children: _jsx(StyledRewindIconContainer, { children: _jsx(SkipIcon, { forward: true, onClick: function () {
|
|
107
|
+
if (!isNextVideo)
|
|
108
|
+
return;
|
|
109
|
+
handleSkipForward();
|
|
110
|
+
}, className: isNextVideo ? '' : 'skip-icon-disabled' }) }) })), showFavorite && (_jsx(CustomTooltip, { title: isFavorite ? 'Remove from favorites' : 'Add to favorites', children: _jsx(StyledHeartIconContainer, { children: _jsx(HeartIcon, { active: isFavorite, onClick: toggleIsFavorite }) }) })), showDownload && downloadUrl && (_jsx(CustomTooltip, { title: "Download video", children: _jsx(StyledDownloadIconContainer, { children: _jsx(DownloadIcon, { onClick: handleDownloadClick }) }) })), _jsx(PlaybackSpeedMenu, { playbackSpeed: playbackRate, onPlaybackSpeedChange: function (speed) {
|
|
111
111
|
return setVideoState(function (prev) { return (__assign(__assign({}, prev), { playbackRate: speed })); });
|
|
112
112
|
}, customMenuWrapperStyles: {
|
|
113
113
|
position: 'unset',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Controls.js","sourceRoot":"","sources":["../../../../src/components/VideoPlayer/Controls/Controls.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,aAAa,EACb,cAAc,EACd,YAAY,EACZ,YAAY,GACb,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,OAAO,iBAAiB,MAAM,sBAAsB,CAAA;AAEpD,IAAM,QAAQ,GAAsB,UAAC,EAiCpC;QAhCC,aA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,GACV,GACjB,EAChB,KAAC,aAAa,IAAC,KAAK,EAAC,mBAAmB,YACtC,KAAC,yBAAyB,cACxB,KAAC,UAAU,IAAC,OAAO,EAAE,aAAa,GAAI,GACZ,GACd,EAChB,KAAC,aAAa,IAAC,KAAK,EAAC,oBAAoB,YACvC,KAAC,yBAAyB,cACxB,KAAC,UAAU,IAAC,OAAO,QAAC,OAAO,EAAE,iBAAiB,GAAI,GACxB,GACd,EAChB,MAAC,mBAAmB,eAClB,KAAC,aAAa,IAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,YAC7C,KAAC,yBAAyB,IAAC,OAAO,EAAE,WAAW,YAC5C,KAAK,CAAC,CAAC,CAAC,KAAC,cAAc,KAAG,CAAC,CAAC,CAAC,KAAC,YAAY,KAAG,GACpB,GACd,EAChB,KAAC,kBAAkB,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,MAAM,GAAG,GAAG,EAAE,QAAQ,EAAE,mBAAmB,GAAI,IACnE,EACtB,MAAC,eAAe,eACb,iBAAiB,QAAI,cAAc,IACpB,IACG,EACvB,MAAC,qBAAqB,eACnB,kBAAkB,IAAI,CACrB,KAAC,aAAa,IAAC,KAAK,EAAC,gBAAgB,YACnC,KAAC,QAAQ,IACP,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"Controls.js","sourceRoot":"","sources":["../../../../src/components/VideoPlayer/Controls/Controls.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,S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5E,KAAC,4BAA4B,cAC3B,KAAC,aAAa,IAAC,MAAM,EAAE,kBAAkB,EAAE,OAAO,EAAE,oBAAoB,GAAI,GAC/C,GACjB,CACjB,EACD,KAAC,aAAa,IAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,kBAAkB,YACzE,KAAC,6BAA6B,IAAC,OAAO,EAAE,gBAAgB,YACrD,YAAY,CAAC,CAAC,CAAC,KAAC,YAAY,KAAG,CAAC,CAAC,CAAC,KAAC,YAAY,KAAG,GACrB,GAClB,IACM,IACT,CAClB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
|
@@ -3,7 +3,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
5
|
import styled from 'styled-components';
|
|
6
|
-
export var StyledControls = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background:
|
|
6
|
+
export var StyledControls = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), { fontStyle: 'descriptor' });
|
|
7
7
|
export var StyledSlider = styled.input(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"], ["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"])), function (_a) {
|
|
8
8
|
var value = _a.value;
|
|
9
9
|
return "linear-gradient(\n to right,\n var(--brand-colors-accent) 0%,\n var(--brand-colors-accent) ".concat(value, "%,\n var(--level-dark-200) ").concat(value, "%,\n var(--level-dark-200) 100%\n )");
|
|
@@ -13,8 +13,8 @@ export var StyledVolumeSlider = styled.input(templateObject_4 || (templateObject
|
|
|
13
13
|
var value = _a.value;
|
|
14
14
|
return "linear-gradient(\n to right,\n var(--neutral-colors-light) 0%,\n var(--neutral-colors-light) ".concat(value, "%,\n var(--level-grey-500) ").concat(value, "%,\n var(--level-grey-500) 100%\n )");
|
|
15
15
|
});
|
|
16
|
-
export var StyledControllerLeft = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n"])));
|
|
17
|
-
export var StyledControllerRight = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
16
|
+
export var StyledControllerLeft = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"])));
|
|
17
|
+
export var StyledControllerRight = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
18
18
|
export var StyledTimeTrack = styled.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"])), { fontStyle: 'descriptor' });
|
|
19
19
|
export var StyledHeartIconContainer = styled.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
20
20
|
export var StyledDownloadIconContainer = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
@@ -22,6 +22,6 @@ export var StyledSubtitlesIconContainer = styled.div(templateObject_10 || (templ
|
|
|
22
22
|
export var StyledFullscreenIconContainer = styled.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
23
23
|
export var StyledVolumeIconContainer = styled.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
24
24
|
export var StyledPlayPauseIconContainer = styled.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
25
|
-
export var StyledRewindIconContainer = styled.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
25
|
+
export var StyledRewindIconContainer = styled.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n \n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n \n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
26
26
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
|
|
27
27
|
//# sourceMappingURL=Controls.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Controls.styles.js","sourceRoot":"","sources":["../../../../src/components/VideoPlayer/Controls/Controls.styles.tsx"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,MAAM,CAAC,IAAM,cAAc,GAAG,MAAM,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"Controls.styles.js","sourceRoot":"","sources":["../../../../src/components/VideoPlayer/Controls/Controls.styles.tsx"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,MAAM,CAAC,IAAM,cAAc,GAAG,MAAM,CAAC,GAAG,6qBAAA,+lBA+BlC,EAA2B,SAEhC,KAFK,EAAE,SAAS,EAAE,YAAY,EAAE,CAEhC,CAAA;AAMD,MAAM,CAAC,IAAM,YAAY,GAAG,MAAM,CAAC,KAAK,orBAAa,uHAOrC,EAOZ,wfAwBH,KA/Be,UAAC,EAAS;QAAP,KAAK,WAAA;IACpB,OAAA,8GAG6B,KAAK,2CACV,KAAK,4CAE7B;AANA,CAMA,CAwBH,CAAA;AAED,MAAM,CAAC,IAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,wUAAA,qQAmB5C,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,6rBAAa,0EAI3C,EAOZ,8iBA0BH,KAjCe,UAAC,EAAS;QAAP,KAAK,WAAA;IACpB,OAAA,gHAG8B,KAAK,2CACX,KAAK,4CAE7B;AANA,CAMA,CA0BH,CAAA;AAED,MAAM,CAAC,IAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,2IAAA,wEAK7C,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,qQAAA,kMAa9C,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,eAAe,GAAG,MAAM,CAAC,GAAG,gJAAA,yBAErC,EAA2B,kDAG9B,KAHG,EAAE,SAAS,EAAE,YAAY,EAAE,CAG9B,CAAA;AAED,MAAM,CAAC,IAAM,wBAAwB,GAAG,MAAM,CAAC,GAAG,4TAAA,yPAcjD,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,2BAA2B,GAAG,MAAM,CAAC,GAAG,ynBAAA,sjBA6BpD,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,4BAA4B,GAAG,MAAM,CAAC,GAAG,8TAAA,yPAcrD,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,6BAA6B,GAAG,MAAM,CAAC,GAAG,8TAAA,yPActD,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,yBAAyB,GAAG,MAAM,CAAC,GAAG,8TAAA,yPAclD,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,4BAA4B,GAAG,MAAM,CAAC,GAAG,8TAAA,yPAcrD,IAAA,CAAA;AAED,MAAM,CAAC,IAAM,yBAAyB,GAAG,MAAM,CAAC,GAAG,kUAAA,6PAelD,IAAA,CAAA"}
|
|
@@ -8,7 +8,7 @@ export var StyledWrapper = styled.div(templateObject_2 || (templateObject_2 = __
|
|
|
8
8
|
export var StyledPlayerLoader = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background: #e7e9ed;\n display: flex;\n align-items: center;\n top: 0;\n bottom: 0;\n margin: auto 0;\n color: var(--neutral-colors-light);\n justify-content: center;\n z-index: 5;\n"], ["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background: #e7e9ed;\n display: flex;\n align-items: center;\n top: 0;\n bottom: 0;\n margin: auto 0;\n color: var(--neutral-colors-light);\n justify-content: center;\n z-index: 5;\n"])));
|
|
9
9
|
var rotate = keyframes(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"], ["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
10
10
|
export var StyledLoader = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin: 60px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 3px solid var(--neutral-colors-light);\n border-right: 3px solid var(--neutral-colors-light);\n border-bottom: 3px solid var(--neutral-colors-light);\n border-left: 3px solid var(--brand-colors-accent);\n transform: translateZ(0);\n animation: ", " 1.1s infinite linear;\n border-radius: 50%;\n width: 46px;\n height: 46px;\n\n &:after {\n border-radius: 50%;\n width: 46px;\n height: 46px;\n }\n"], ["\n margin: 60px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 3px solid var(--neutral-colors-light);\n border-right: 3px solid var(--neutral-colors-light);\n border-bottom: 3px solid var(--neutral-colors-light);\n border-left: 3px solid var(--brand-colors-accent);\n transform: translateZ(0);\n animation: ", " 1.1s infinite linear;\n border-radius: 50%;\n width: 46px;\n height: 46px;\n\n &:after {\n border-radius: 50%;\n width: 46px;\n height: 46px;\n }\n"])), rotate);
|
|
11
|
-
export var StyledControlsContainer = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n z-index: 2;\n"], ["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n z-index: 2;\n"])));
|
|
11
|
+
export var StyledControlsContainer = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 2;\n"], ["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 2;\n"])));
|
|
12
12
|
export var StyledSubtitles = styled.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: rgba(2, 2, 16, 0.32);\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 150%;\n padding: 8px;\n position: absolute;\n z-index: 100;\n bottom: ", ";\n right: 0;\n left: 0;\n width: fit-content;\n margin: 0 auto;\n max-width: 80%;\n width: fit-content;\n"], ["\n background-color: rgba(2, 2, 16, 0.32);\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 150%;\n padding: 8px;\n position: absolute;\n z-index: 100;\n bottom: ", ";\n right: 0;\n left: 0;\n width: fit-content;\n margin: 0 auto;\n max-width: 80%;\n width: fit-content;\n"])), function (_a) {
|
|
13
13
|
var $controls = _a.$controls;
|
|
14
14
|
return ($controls ? '60px' : '10px');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Player.styles.js","sourceRoot":"","sources":["../../../src/components/VideoPlayer/Player.styles.tsx"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAErD,MAAM,CAAC,IAAM,wBAAwB,GAAG,MAAM,CAAC,GAAG,ghBAAA,6cAwBjD,IAAA,CAAA;AAED,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AAA,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;AAA7B,CAA6B,CAOnE,CAAA;AAED,MAAM,CAAC,IAAM,mBAAmB,GAAG,i1EA6FlC,CAAA;AAED,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACrC,IAAM,iBAAiB,GAAG;QACxB,IAAM,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAA;QACpE,IAAI,aAAa,EAAE,CAAC;YAClB,aAAa,CAAC,MAAM,EAAE,CAAA;QACxB,CAAC;QAED,IAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QAC7C,KAAK,CAAC,EAAE,GAAG,qBAAqB,CAAA;QAChC,KAAK,CAAC,WAAW,GAAG,mBAAmB,CAAA;QACvC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IAClC,CAAC,CAAA;IAED,iBAAiB,EAAE,CAAA;IAEnB,0BAA0B;IAC1B,OAAO;QACL,IAAM,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAA;QACpE,IAAI,aAAa,EAAE,CAAC;YAClB,aAAa,CAAC,MAAM,EAAE,CAAA;QACxB,CAAC;IACH,CAAC,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-
|
|
1
|
+
import { r as requireUtils, a as requirePatterns, g as getDefaultExportFromCjs } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -81335,7 +81335,7 @@ function requirePlayers () {
|
|
|
81335
81335
|
canPlay: import_patterns.canPlay.youtube,
|
|
81336
81336
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81337
81337
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
81338
|
-
'./YouTube-
|
|
81338
|
+
'./YouTube-kQuElqJG.esm.js'
|
|
81339
81339
|
).then(function (n) { return n.Y; }))
|
|
81340
81340
|
},
|
|
81341
81341
|
{
|
|
@@ -81344,7 +81344,7 @@ function requirePlayers () {
|
|
|
81344
81344
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
81345
81345
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81346
81346
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
81347
|
-
'./SoundCloud-
|
|
81347
|
+
'./SoundCloud-CFXXBy2Z.esm.js'
|
|
81348
81348
|
).then(function (n) { return n.S; }))
|
|
81349
81349
|
},
|
|
81350
81350
|
{
|
|
@@ -81353,7 +81353,7 @@ function requirePlayers () {
|
|
|
81353
81353
|
canPlay: import_patterns.canPlay.vimeo,
|
|
81354
81354
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81355
81355
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
81356
|
-
'./Vimeo-
|
|
81356
|
+
'./Vimeo-0VVg6nMH.esm.js'
|
|
81357
81357
|
).then(function (n) { return n.V; }))
|
|
81358
81358
|
},
|
|
81359
81359
|
{
|
|
@@ -81362,7 +81362,7 @@ function requirePlayers () {
|
|
|
81362
81362
|
canPlay: import_patterns.canPlay.mux,
|
|
81363
81363
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81364
81364
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
81365
|
-
'./Mux-
|
|
81365
|
+
'./Mux-CPaUZQah.esm.js'
|
|
81366
81366
|
).then(function (n) { return n.M; }))
|
|
81367
81367
|
},
|
|
81368
81368
|
{
|
|
@@ -81371,7 +81371,7 @@ function requirePlayers () {
|
|
|
81371
81371
|
canPlay: import_patterns.canPlay.facebook,
|
|
81372
81372
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81373
81373
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
81374
|
-
'./Facebook-
|
|
81374
|
+
'./Facebook-CJbuSY04.esm.js'
|
|
81375
81375
|
).then(function (n) { return n.F; }))
|
|
81376
81376
|
},
|
|
81377
81377
|
{
|
|
@@ -81380,7 +81380,7 @@ function requirePlayers () {
|
|
|
81380
81380
|
canPlay: import_patterns.canPlay.streamable,
|
|
81381
81381
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81382
81382
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
81383
|
-
'./Streamable-
|
|
81383
|
+
'./Streamable-DrNjqXjt.esm.js'
|
|
81384
81384
|
).then(function (n) { return n.S; }))
|
|
81385
81385
|
},
|
|
81386
81386
|
{
|
|
@@ -81389,7 +81389,7 @@ function requirePlayers () {
|
|
|
81389
81389
|
canPlay: import_patterns.canPlay.wistia,
|
|
81390
81390
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81391
81391
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
81392
|
-
'./Wistia-
|
|
81392
|
+
'./Wistia-CEi72MTW.esm.js'
|
|
81393
81393
|
).then(function (n) { return n.W; }))
|
|
81394
81394
|
},
|
|
81395
81395
|
{
|
|
@@ -81398,7 +81398,7 @@ function requirePlayers () {
|
|
|
81398
81398
|
canPlay: import_patterns.canPlay.twitch,
|
|
81399
81399
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81400
81400
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
81401
|
-
'./Twitch-
|
|
81401
|
+
'./Twitch-DjgALZAq.esm.js'
|
|
81402
81402
|
).then(function (n) { return n.T; }))
|
|
81403
81403
|
},
|
|
81404
81404
|
{
|
|
@@ -81407,7 +81407,7 @@ function requirePlayers () {
|
|
|
81407
81407
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
81408
81408
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81409
81409
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
81410
|
-
'./DailyMotion-
|
|
81410
|
+
'./DailyMotion-MzOn9ju_.esm.js'
|
|
81411
81411
|
).then(function (n) { return n.D; }))
|
|
81412
81412
|
},
|
|
81413
81413
|
{
|
|
@@ -81416,7 +81416,7 @@ function requirePlayers () {
|
|
|
81416
81416
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
81417
81417
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81418
81418
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
81419
|
-
'./Mixcloud-
|
|
81419
|
+
'./Mixcloud-CIGHRTPD.esm.js'
|
|
81420
81420
|
).then(function (n) { return n.M; }))
|
|
81421
81421
|
},
|
|
81422
81422
|
{
|
|
@@ -81425,7 +81425,7 @@ function requirePlayers () {
|
|
|
81425
81425
|
canPlay: import_patterns.canPlay.vidyard,
|
|
81426
81426
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81427
81427
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
81428
|
-
'./Vidyard-
|
|
81428
|
+
'./Vidyard-M-vpaxMt.esm.js'
|
|
81429
81429
|
).then(function (n) { return n.V; }))
|
|
81430
81430
|
},
|
|
81431
81431
|
{
|
|
@@ -81434,7 +81434,7 @@ function requirePlayers () {
|
|
|
81434
81434
|
canPlay: import_patterns.canPlay.kaltura,
|
|
81435
81435
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81436
81436
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
81437
|
-
'./Kaltura-
|
|
81437
|
+
'./Kaltura-UmIP8SbX.esm.js'
|
|
81438
81438
|
).then(function (n) { return n.K; }))
|
|
81439
81439
|
},
|
|
81440
81440
|
{
|
|
@@ -81446,7 +81446,7 @@ function requirePlayers () {
|
|
|
81446
81446
|
},
|
|
81447
81447
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81448
81448
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
81449
|
-
'./FilePlayer-
|
|
81449
|
+
'./FilePlayer-CQvxGYWG.esm.js'
|
|
81450
81450
|
).then(function (n) { return n.F; }))
|
|
81451
81451
|
}
|
|
81452
81452
|
];
|
|
@@ -82267,7 +82267,7 @@ function requireReactPlayer () {
|
|
|
82267
82267
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
82268
82268
|
const Preview = (0, import_utils.lazy)(() => import(
|
|
82269
82269
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
82270
|
-
'./Preview-
|
|
82270
|
+
'./Preview-CMj6CzdF.esm.js'
|
|
82271
82271
|
).then(function (n) { return n.P; }));
|
|
82272
82272
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
82273
82273
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -82481,7 +82481,7 @@ var StyledWrapper = dt.div(templateObject_2$7 || (templateObject_2$7 = __makeTem
|
|
|
82481
82481
|
var StyledPlayerLoader = dt.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background: #e7e9ed;\n display: flex;\n align-items: center;\n top: 0;\n bottom: 0;\n margin: auto 0;\n color: var(--neutral-colors-light);\n justify-content: center;\n z-index: 5;\n"], ["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background: #e7e9ed;\n display: flex;\n align-items: center;\n top: 0;\n bottom: 0;\n margin: auto 0;\n color: var(--neutral-colors-light);\n justify-content: center;\n z-index: 5;\n"])));
|
|
82482
82482
|
var rotate = mt(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"], ["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
82483
82483
|
var StyledLoader = dt.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n margin: 60px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 3px solid var(--neutral-colors-light);\n border-right: 3px solid var(--neutral-colors-light);\n border-bottom: 3px solid var(--neutral-colors-light);\n border-left: 3px solid var(--brand-colors-accent);\n transform: translateZ(0);\n animation: ", " 1.1s infinite linear;\n border-radius: 50%;\n width: 46px;\n height: 46px;\n\n &:after {\n border-radius: 50%;\n width: 46px;\n height: 46px;\n }\n"], ["\n margin: 60px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 3px solid var(--neutral-colors-light);\n border-right: 3px solid var(--neutral-colors-light);\n border-bottom: 3px solid var(--neutral-colors-light);\n border-left: 3px solid var(--brand-colors-accent);\n transform: translateZ(0);\n animation: ", " 1.1s infinite linear;\n border-radius: 50%;\n width: 46px;\n height: 46px;\n\n &:after {\n border-radius: 50%;\n width: 46px;\n height: 46px;\n }\n"])), rotate);
|
|
82484
|
-
var StyledControlsContainer = dt.div(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n z-index: 2;\n"], ["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n z-index: 2;\n"])));
|
|
82484
|
+
var StyledControlsContainer = dt.div(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 2;\n"], ["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 2;\n"])));
|
|
82485
82485
|
var StyledSubtitles = dt.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n background-color: rgba(2, 2, 16, 0.32);\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 150%;\n padding: 8px;\n position: absolute;\n z-index: 100;\n bottom: ", ";\n right: 0;\n left: 0;\n width: fit-content;\n margin: 0 auto;\n max-width: 80%;\n width: fit-content;\n"], ["\n background-color: rgba(2, 2, 16, 0.32);\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 150%;\n padding: 8px;\n position: absolute;\n z-index: 100;\n bottom: ", ";\n right: 0;\n left: 0;\n width: fit-content;\n margin: 0 auto;\n max-width: 80%;\n width: fit-content;\n"])), function (_a) {
|
|
82486
82486
|
var $controls = _a.$controls;
|
|
82487
82487
|
return $controls ? '60px' : '10px';
|
|
@@ -82509,7 +82509,7 @@ var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
|
|
|
82509
82509
|
};
|
|
82510
82510
|
var templateObject_1$9, templateObject_2$7, templateObject_3$4, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$1;
|
|
82511
82511
|
|
|
82512
|
-
var StyledControls = dt.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background:
|
|
82512
|
+
var StyledControls = dt.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), {
|
|
82513
82513
|
fontStyle: 'descriptor'
|
|
82514
82514
|
});
|
|
82515
82515
|
var StyledSlider = dt.input(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"], ["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"])), function (_a) {
|
|
@@ -82521,8 +82521,8 @@ var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __
|
|
|
82521
82521
|
var value = _a.value;
|
|
82522
82522
|
return "linear-gradient(\n to right,\n var(--neutral-colors-light) 0%,\n var(--neutral-colors-light) ".concat(value, "%,\n var(--level-grey-500) ").concat(value, "%,\n var(--level-grey-500) 100%\n )");
|
|
82523
82523
|
});
|
|
82524
|
-
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n"])));
|
|
82525
|
-
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
82524
|
+
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"])));
|
|
82525
|
+
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
82526
82526
|
var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"])), {
|
|
82527
82527
|
fontStyle: 'descriptor'
|
|
82528
82528
|
});
|
|
@@ -82532,7 +82532,7 @@ var StyledSubtitlesIconContainer = dt.div(templateObject_10 || (templateObject_1
|
|
|
82532
82532
|
var StyledFullscreenIconContainer = dt.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82533
82533
|
var StyledVolumeIconContainer = dt.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82534
82534
|
var StyledPlayPauseIconContainer = dt.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82535
|
-
var StyledRewindIconContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82535
|
+
var StyledRewindIconContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n \n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n \n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82536
82536
|
var templateObject_1$8, templateObject_2$6, templateObject_3$3, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
|
|
82537
82537
|
|
|
82538
82538
|
var PLAYBACK_SPEED_LIST = [{
|
|
@@ -82850,22 +82850,26 @@ var Controls = function Controls(_a) {
|
|
|
82850
82850
|
}), jsxRuntimeExports.jsxs(StyledControllerRight, {
|
|
82851
82851
|
children: [handleSkipBackward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82852
82852
|
title: "Previous video",
|
|
82853
|
-
children: jsxRuntimeExports.jsx(
|
|
82854
|
-
|
|
82855
|
-
|
|
82856
|
-
|
|
82857
|
-
|
|
82858
|
-
|
|
82853
|
+
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82854
|
+
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82855
|
+
onClick: function onClick() {
|
|
82856
|
+
if (!isPreviousVideo) return;
|
|
82857
|
+
handleSkipBackward();
|
|
82858
|
+
},
|
|
82859
|
+
className: isPreviousVideo ? '' : 'skip-icon-disabled'
|
|
82860
|
+
})
|
|
82859
82861
|
})
|
|
82860
82862
|
}), handleSkipForward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82861
82863
|
title: "Next video",
|
|
82862
|
-
children: jsxRuntimeExports.jsx(
|
|
82863
|
-
|
|
82864
|
-
|
|
82865
|
-
|
|
82866
|
-
|
|
82867
|
-
|
|
82868
|
-
|
|
82864
|
+
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82865
|
+
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82866
|
+
forward: true,
|
|
82867
|
+
onClick: function onClick() {
|
|
82868
|
+
if (!isNextVideo) return;
|
|
82869
|
+
handleSkipForward();
|
|
82870
|
+
},
|
|
82871
|
+
className: isNextVideo ? '' : 'skip-icon-disabled'
|
|
82872
|
+
})
|
|
82869
82873
|
})
|
|
82870
82874
|
}), showFavorite && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82871
82875
|
title: isFavorite ? 'Remove from favorites' : 'Add to favorites',
|
|
@@ -81355,7 +81355,7 @@ function requirePlayers () {
|
|
|
81355
81355
|
canPlay: import_patterns.canPlay.youtube,
|
|
81356
81356
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81357
81357
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
81358
|
-
'./YouTube-
|
|
81358
|
+
'./YouTube-Bko04PXB.js'
|
|
81359
81359
|
); }).then(function (n) { return n.YouTube; }))
|
|
81360
81360
|
},
|
|
81361
81361
|
{
|
|
@@ -81364,7 +81364,7 @@ function requirePlayers () {
|
|
|
81364
81364
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
81365
81365
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81366
81366
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
81367
|
-
'./SoundCloud-
|
|
81367
|
+
'./SoundCloud-CWfPIUXj.js'
|
|
81368
81368
|
); }).then(function (n) { return n.SoundCloud; }))
|
|
81369
81369
|
},
|
|
81370
81370
|
{
|
|
@@ -81373,7 +81373,7 @@ function requirePlayers () {
|
|
|
81373
81373
|
canPlay: import_patterns.canPlay.vimeo,
|
|
81374
81374
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81375
81375
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
81376
|
-
'./Vimeo-
|
|
81376
|
+
'./Vimeo-BCG247ek.js'
|
|
81377
81377
|
); }).then(function (n) { return n.Vimeo; }))
|
|
81378
81378
|
},
|
|
81379
81379
|
{
|
|
@@ -81382,7 +81382,7 @@ function requirePlayers () {
|
|
|
81382
81382
|
canPlay: import_patterns.canPlay.mux,
|
|
81383
81383
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81384
81384
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
81385
|
-
'./Mux-
|
|
81385
|
+
'./Mux-BWxS553y.js'
|
|
81386
81386
|
); }).then(function (n) { return n.Mux; }))
|
|
81387
81387
|
},
|
|
81388
81388
|
{
|
|
@@ -81391,7 +81391,7 @@ function requirePlayers () {
|
|
|
81391
81391
|
canPlay: import_patterns.canPlay.facebook,
|
|
81392
81392
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81393
81393
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
81394
|
-
'./Facebook-
|
|
81394
|
+
'./Facebook-CPs-Ms_X.js'
|
|
81395
81395
|
); }).then(function (n) { return n.Facebook; }))
|
|
81396
81396
|
},
|
|
81397
81397
|
{
|
|
@@ -81400,7 +81400,7 @@ function requirePlayers () {
|
|
|
81400
81400
|
canPlay: import_patterns.canPlay.streamable,
|
|
81401
81401
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81402
81402
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
81403
|
-
'./Streamable-
|
|
81403
|
+
'./Streamable-Dqtzhuip.js'
|
|
81404
81404
|
); }).then(function (n) { return n.Streamable; }))
|
|
81405
81405
|
},
|
|
81406
81406
|
{
|
|
@@ -81409,7 +81409,7 @@ function requirePlayers () {
|
|
|
81409
81409
|
canPlay: import_patterns.canPlay.wistia,
|
|
81410
81410
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81411
81411
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
81412
|
-
'./Wistia-
|
|
81412
|
+
'./Wistia-D2KJJODu.js'
|
|
81413
81413
|
); }).then(function (n) { return n.Wistia; }))
|
|
81414
81414
|
},
|
|
81415
81415
|
{
|
|
@@ -81418,7 +81418,7 @@ function requirePlayers () {
|
|
|
81418
81418
|
canPlay: import_patterns.canPlay.twitch,
|
|
81419
81419
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81420
81420
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
81421
|
-
'./Twitch-
|
|
81421
|
+
'./Twitch-CJuQ6-kx.js'
|
|
81422
81422
|
); }).then(function (n) { return n.Twitch; }))
|
|
81423
81423
|
},
|
|
81424
81424
|
{
|
|
@@ -81427,7 +81427,7 @@ function requirePlayers () {
|
|
|
81427
81427
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
81428
81428
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81429
81429
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
81430
|
-
'./DailyMotion-
|
|
81430
|
+
'./DailyMotion-Cyo9mQyt.js'
|
|
81431
81431
|
); }).then(function (n) { return n.DailyMotion; }))
|
|
81432
81432
|
},
|
|
81433
81433
|
{
|
|
@@ -81436,7 +81436,7 @@ function requirePlayers () {
|
|
|
81436
81436
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
81437
81437
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81438
81438
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
81439
|
-
'./Mixcloud-
|
|
81439
|
+
'./Mixcloud-DJ_299OT.js'
|
|
81440
81440
|
); }).then(function (n) { return n.Mixcloud; }))
|
|
81441
81441
|
},
|
|
81442
81442
|
{
|
|
@@ -81445,7 +81445,7 @@ function requirePlayers () {
|
|
|
81445
81445
|
canPlay: import_patterns.canPlay.vidyard,
|
|
81446
81446
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81447
81447
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
81448
|
-
'./Vidyard-
|
|
81448
|
+
'./Vidyard-BkuV0Ftd.js'
|
|
81449
81449
|
); }).then(function (n) { return n.Vidyard; }))
|
|
81450
81450
|
},
|
|
81451
81451
|
{
|
|
@@ -81454,7 +81454,7 @@ function requirePlayers () {
|
|
|
81454
81454
|
canPlay: import_patterns.canPlay.kaltura,
|
|
81455
81455
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81456
81456
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
81457
|
-
'./Kaltura-
|
|
81457
|
+
'./Kaltura-CyreQk0X.js'
|
|
81458
81458
|
); }).then(function (n) { return n.Kaltura; }))
|
|
81459
81459
|
},
|
|
81460
81460
|
{
|
|
@@ -81466,7 +81466,7 @@ function requirePlayers () {
|
|
|
81466
81466
|
},
|
|
81467
81467
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
81468
81468
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
81469
|
-
'./FilePlayer-
|
|
81469
|
+
'./FilePlayer-DNH6fpJi.js'
|
|
81470
81470
|
); }).then(function (n) { return n.FilePlayer; }))
|
|
81471
81471
|
}
|
|
81472
81472
|
];
|
|
@@ -82287,7 +82287,7 @@ function requireReactPlayer () {
|
|
|
82287
82287
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
82288
82288
|
const Preview = (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
82289
82289
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
82290
|
-
'./Preview-
|
|
82290
|
+
'./Preview-BO_4FDai.js'
|
|
82291
82291
|
); }).then(function (n) { return n.Preview; }));
|
|
82292
82292
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
82293
82293
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -82501,7 +82501,7 @@ var StyledWrapper = dt.div(templateObject_2$7 || (templateObject_2$7 = __makeTem
|
|
|
82501
82501
|
var StyledPlayerLoader = dt.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background: #e7e9ed;\n display: flex;\n align-items: center;\n top: 0;\n bottom: 0;\n margin: auto 0;\n color: var(--neutral-colors-light);\n justify-content: center;\n z-index: 5;\n"], ["\n position: absolute;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background: #e7e9ed;\n display: flex;\n align-items: center;\n top: 0;\n bottom: 0;\n margin: auto 0;\n color: var(--neutral-colors-light);\n justify-content: center;\n z-index: 5;\n"])));
|
|
82502
82502
|
var rotate = mt(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"], ["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
82503
82503
|
var StyledLoader = dt.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n margin: 60px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 3px solid var(--neutral-colors-light);\n border-right: 3px solid var(--neutral-colors-light);\n border-bottom: 3px solid var(--neutral-colors-light);\n border-left: 3px solid var(--brand-colors-accent);\n transform: translateZ(0);\n animation: ", " 1.1s infinite linear;\n border-radius: 50%;\n width: 46px;\n height: 46px;\n\n &:after {\n border-radius: 50%;\n width: 46px;\n height: 46px;\n }\n"], ["\n margin: 60px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 3px solid var(--neutral-colors-light);\n border-right: 3px solid var(--neutral-colors-light);\n border-bottom: 3px solid var(--neutral-colors-light);\n border-left: 3px solid var(--brand-colors-accent);\n transform: translateZ(0);\n animation: ", " 1.1s infinite linear;\n border-radius: 50%;\n width: 46px;\n height: 46px;\n\n &:after {\n border-radius: 50%;\n width: 46px;\n height: 46px;\n }\n"])), rotate);
|
|
82504
|
-
var StyledControlsContainer = dt.div(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n z-index: 2;\n"], ["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n z-index: 2;\n"])));
|
|
82504
|
+
var StyledControlsContainer = dt.div(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 2;\n"], ["\n width: 100%;\n height: fit-content;\n display: flex;\n align-items: flex-end;\n position: absolute;\n flex-direction: column;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 2;\n"])));
|
|
82505
82505
|
var StyledSubtitles = dt.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n background-color: rgba(2, 2, 16, 0.32);\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 150%;\n padding: 8px;\n position: absolute;\n z-index: 100;\n bottom: ", ";\n right: 0;\n left: 0;\n width: fit-content;\n margin: 0 auto;\n max-width: 80%;\n width: fit-content;\n"], ["\n background-color: rgba(2, 2, 16, 0.32);\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: 150%;\n padding: 8px;\n position: absolute;\n z-index: 100;\n bottom: ", ";\n right: 0;\n left: 0;\n width: fit-content;\n margin: 0 auto;\n max-width: 80%;\n width: fit-content;\n"])), function (_a) {
|
|
82506
82506
|
var $controls = _a.$controls;
|
|
82507
82507
|
return $controls ? '60px' : '10px';
|
|
@@ -82529,7 +82529,7 @@ var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
|
|
|
82529
82529
|
};
|
|
82530
82530
|
var templateObject_1$9, templateObject_2$7, templateObject_3$4, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$1;
|
|
82531
82531
|
|
|
82532
|
-
var StyledControls = dt.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background:
|
|
82532
|
+
var StyledControls = dt.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), {
|
|
82533
82533
|
fontStyle: 'descriptor'
|
|
82534
82534
|
});
|
|
82535
82535
|
var StyledSlider = dt.input(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"], ["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"])), function (_a) {
|
|
@@ -82541,8 +82541,8 @@ var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __
|
|
|
82541
82541
|
var value = _a.value;
|
|
82542
82542
|
return "linear-gradient(\n to right,\n var(--neutral-colors-light) 0%,\n var(--neutral-colors-light) ".concat(value, "%,\n var(--level-grey-500) ").concat(value, "%,\n var(--level-grey-500) 100%\n )");
|
|
82543
82543
|
});
|
|
82544
|
-
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n"])));
|
|
82545
|
-
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
82544
|
+
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"])));
|
|
82545
|
+
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
82546
82546
|
var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"])), {
|
|
82547
82547
|
fontStyle: 'descriptor'
|
|
82548
82548
|
});
|
|
@@ -82552,7 +82552,7 @@ var StyledSubtitlesIconContainer = dt.div(templateObject_10 || (templateObject_1
|
|
|
82552
82552
|
var StyledFullscreenIconContainer = dt.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82553
82553
|
var StyledVolumeIconContainer = dt.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82554
82554
|
var StyledPlayPauseIconContainer = dt.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82555
|
-
var StyledRewindIconContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82555
|
+
var StyledRewindIconContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n \n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n \n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover > svg > path {\n fill: #08C694 !important;\n }\n"])));
|
|
82556
82556
|
var templateObject_1$8, templateObject_2$6, templateObject_3$3, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
|
|
82557
82557
|
|
|
82558
82558
|
var PLAYBACK_SPEED_LIST = [{
|
|
@@ -82870,22 +82870,26 @@ var Controls = function Controls(_a) {
|
|
|
82870
82870
|
}), jsxRuntimeExports.jsxs(StyledControllerRight, {
|
|
82871
82871
|
children: [handleSkipBackward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82872
82872
|
title: "Previous video",
|
|
82873
|
-
children: jsxRuntimeExports.jsx(
|
|
82874
|
-
|
|
82875
|
-
|
|
82876
|
-
|
|
82877
|
-
|
|
82878
|
-
|
|
82873
|
+
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82874
|
+
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82875
|
+
onClick: function onClick() {
|
|
82876
|
+
if (!isPreviousVideo) return;
|
|
82877
|
+
handleSkipBackward();
|
|
82878
|
+
},
|
|
82879
|
+
className: isPreviousVideo ? '' : 'skip-icon-disabled'
|
|
82880
|
+
})
|
|
82879
82881
|
})
|
|
82880
82882
|
}), handleSkipForward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82881
82883
|
title: "Next video",
|
|
82882
|
-
children: jsxRuntimeExports.jsx(
|
|
82883
|
-
|
|
82884
|
-
|
|
82885
|
-
|
|
82886
|
-
|
|
82887
|
-
|
|
82888
|
-
|
|
82884
|
+
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82885
|
+
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82886
|
+
forward: true,
|
|
82887
|
+
onClick: function onClick() {
|
|
82888
|
+
if (!isNextVideo) return;
|
|
82889
|
+
handleSkipForward();
|
|
82890
|
+
},
|
|
82891
|
+
className: isNextVideo ? '' : 'skip-icon-disabled'
|
|
82892
|
+
})
|
|
82889
82893
|
})
|
|
82890
82894
|
}), showFavorite && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82891
82895
|
title: isFavorite ? 'Remove from favorites' : 'Add to favorites',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AudioPlayer, k as Badge, h as Breadcrumb, B as Button, e as Checkbox, j as ColorPicker, o as ColumnNavigation, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, d as DatePicker, u as DrawerTips, D as DropDown, G as GridActionMenu, L as Loader, N as NavigationBar, f as Pagination, P as PhoneCountryCode, R as RadioButton, v as RangeSlider, S as SearchInput, n as SplashScreen, p as StatusIndicator, s as TabNavigation, q as TabPanel, b as ThemeProvider, i as Tile, l as TooltipHeight, T as TranslationProvider, U as Uploader, V as VideoPlayer, t as activeTabClassName } from './index-
|
|
1
|
+
export { A as AudioPlayer, k as Badge, h as Breadcrumb, B as Button, e as Checkbox, j as ColorPicker, o as ColumnNavigation, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, d as DatePicker, u as DrawerTips, D as DropDown, G as GridActionMenu, L as Loader, N as NavigationBar, f as Pagination, P as PhoneCountryCode, R as RadioButton, v as RangeSlider, S as SearchInput, n as SplashScreen, p as StatusIndicator, s as TabNavigation, q as TabPanel, b as ThemeProvider, i as Tile, l as TooltipHeight, T as TranslationProvider, U as Uploader, V as VideoPlayer, t as activeTabClassName } from './index-BYbdvIBD.esm.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|