suada-components 1.2.1 → 1.4.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.
Files changed (76) hide show
  1. package/dist/components/Button/Button.js +1 -1
  2. package/dist/components/Button/Button.js.map +1 -1
  3. package/dist/components/{DailyMotion-C87ZJeRt.js → DailyMotion-QLITiLX6.js} +1 -1
  4. package/dist/components/{DailyMotion-DbDeP0dq.esm.js → DailyMotion-dJVL9e3H.esm.js} +1 -1
  5. package/dist/components/{Facebook-DigX8u_u.js → Facebook-DUSQsxT0.js} +1 -1
  6. package/dist/components/{Facebook-B1XpGyBt.esm.js → Facebook-oiv7CRN4.esm.js} +1 -1
  7. package/dist/components/{FilePlayer-BSL_U8r8.esm.js → FilePlayer-B0iX_VuG.esm.js} +1 -1
  8. package/dist/components/{FilePlayer-BTuFK59w.js → FilePlayer-YziZ0BSF.js} +1 -1
  9. package/dist/components/{Kaltura-DAkp5nY0.esm.js → Kaltura-D84ZFqY1.esm.js} +1 -1
  10. package/dist/components/{Kaltura-CKV92aVd.js → Kaltura-uXGe7isE.js} +1 -1
  11. package/dist/components/{Mixcloud-CtWhrXiZ.esm.js → Mixcloud-BTbWN-a0.esm.js} +1 -1
  12. package/dist/components/{Mixcloud-CAgtZPq5.js → Mixcloud-D7KPYi8f.js} +1 -1
  13. package/dist/components/{Mux-BRYGMFV_.js → Mux-DRlgrJfr.js} +1 -1
  14. package/dist/components/{Mux-C0xOzOps.esm.js → Mux-s9nPEsa_.esm.js} +1 -1
  15. package/dist/components/Pagination/Pagination.d.ts +1 -1
  16. package/dist/components/Pagination/Pagination.js +2 -2
  17. package/dist/components/Pagination/Pagination.js.map +1 -1
  18. package/dist/components/Pagination/Pagination.stories.js +2 -0
  19. package/dist/components/Pagination/Pagination.stories.js.map +1 -1
  20. package/dist/components/Pagination/pagination.interface.d.ts +1 -0
  21. package/dist/components/Pagination/styled-components.d.ts +3 -1
  22. package/dist/components/Pagination/styled-components.js +7 -1
  23. package/dist/components/Pagination/styled-components.js.map +1 -1
  24. package/dist/components/{Preview-DSBoVsm9.js → Preview-C-BGR8lx.js} +1 -1
  25. package/dist/components/{Preview-Crcz-S0c.esm.js → Preview-rhSMz_hY.esm.js} +1 -1
  26. package/dist/components/{SoundCloud-1V8ahw7A.js → SoundCloud-B00ur_Qj.js} +1 -1
  27. package/dist/components/{SoundCloud-BC8iiobM.esm.js → SoundCloud-DrNeCiTx.esm.js} +1 -1
  28. package/dist/components/{Streamable-BhhnBO_c.js → Streamable-B-JUOMxP.js} +1 -1
  29. package/dist/components/{Streamable-CGxErYVF.esm.js → Streamable-Dffnss84.esm.js} +1 -1
  30. package/dist/components/{Twitch-E9YQS4X8.js → Twitch-DSAnP3JT.js} +1 -1
  31. package/dist/components/{Twitch-8quL43Fw.esm.js → Twitch-DvucdzzS.esm.js} +1 -1
  32. package/dist/components/VideoPlayer/Controls/Controls.interface.d.ts +4 -0
  33. package/dist/components/VideoPlayer/Controls/Controls.js +97 -13
  34. package/dist/components/VideoPlayer/Controls/Controls.js.map +1 -1
  35. package/dist/components/VideoPlayer/Controls/Controls.styles.d.ts +2 -0
  36. package/dist/components/VideoPlayer/Controls/Controls.styles.js +9 -7
  37. package/dist/components/VideoPlayer/Controls/Controls.styles.js.map +1 -1
  38. package/dist/components/VideoPlayer/Player.d.ts +1 -1
  39. package/dist/components/VideoPlayer/Player.interface.d.ts +4 -0
  40. package/dist/components/VideoPlayer/Player.js +3 -3
  41. package/dist/components/VideoPlayer/Player.js.map +1 -1
  42. package/dist/components/VideoPlayer/VideoPlayer.stories.d.ts +3 -0
  43. package/dist/components/VideoPlayer/VideoPlayer.stories.js +35 -0
  44. package/dist/components/VideoPlayer/VideoPlayer.stories.js.map +1 -1
  45. package/dist/components/{Vidyard-DsG0WHnh.esm.js → Vidyard--Qb_wLtp.esm.js} +1 -1
  46. package/dist/components/{Vidyard-B3v7M2i3.js → Vidyard-BFd5mrx4.js} +1 -1
  47. package/dist/components/{Vimeo-ddQ8CMRR.js → Vimeo-CIc5nmCA.js} +1 -1
  48. package/dist/components/{Vimeo-CXKbdxkV.esm.js → Vimeo-CR7Tdpoi.esm.js} +1 -1
  49. package/dist/components/{Wistia-B93lpDSs.js → Wistia-CH6tXv5E.js} +1 -1
  50. package/dist/components/{Wistia-CJDzE0TP.esm.js → Wistia-QMqy-uQw.esm.js} +1 -1
  51. package/dist/components/{YouTube-631v_AIH.js → YouTube-kg1XVxyv.js} +1 -1
  52. package/dist/components/{YouTube-CdjuPIIO.esm.js → YouTube-yMeWWl4H.esm.js} +1 -1
  53. package/dist/components/components/Pagination/Pagination.d.ts +1 -1
  54. package/dist/components/components/Pagination/pagination.interface.d.ts +1 -0
  55. package/dist/components/components/Pagination/styled-components.d.ts +3 -1
  56. package/dist/components/components/VideoPlayer/Controls/Controls.interface.d.ts +4 -0
  57. package/dist/components/components/VideoPlayer/Controls/Controls.styles.d.ts +2 -0
  58. package/dist/components/components/VideoPlayer/Player.d.ts +1 -1
  59. package/dist/components/components/VideoPlayer/Player.interface.d.ts +4 -0
  60. package/dist/components/{index-CyUx723z.esm.js → index-7zJZUuRi.esm.js} +184 -76
  61. package/dist/components/{index-Ciqeqnts.js → index-CDSxMyXo.js} +184 -76
  62. package/dist/components/index.esm.js +1 -1
  63. package/dist/icons/DownloadIcon.js +2 -2
  64. package/dist/icons/DownloadIcon.js.map +1 -1
  65. package/dist/icons/VolumeUpIcon.js +2 -2
  66. package/dist/icons/VolumeUpIcon.js.map +1 -1
  67. package/dist/icons/components/Pagination/Pagination.d.ts +1 -1
  68. package/dist/icons/components/Pagination/pagination.interface.d.ts +1 -0
  69. package/dist/icons/components/Pagination/styled-components.d.ts +3 -1
  70. package/dist/icons/components/VideoPlayer/Controls/Controls.interface.d.ts +4 -0
  71. package/dist/icons/components/VideoPlayer/Controls/Controls.styles.d.ts +2 -0
  72. package/dist/icons/components/VideoPlayer/Player.d.ts +1 -1
  73. package/dist/icons/components/VideoPlayer/Player.interface.d.ts +4 -0
  74. package/dist/icons/index.esm.js +8 -9
  75. package/dist/main.js.map +1 -1
  76. package/package.json +1 -1
@@ -2425,7 +2425,7 @@ var Button$1 = function Button(_a) {
2425
2425
  style: customStyles,
2426
2426
  onClick: onClick,
2427
2427
  type: htmlType,
2428
- className: className,
2428
+ className: "".concat(className, " button-theme-color"),
2429
2429
  children: [iconLeft, label, iconRight]
2430
2430
  });
2431
2431
  };
@@ -32371,11 +32371,11 @@ var StylesCardWrapper = dt.div(templateObject_10$2 || (templateObject_10$2 = __m
32371
32371
  });
32372
32372
  var StyledChecked = dt.div(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n background-color: rgb(0 0 0 / 23%);\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n background-color: rgb(0 0 0 / 23%);\n"])));
32373
32373
  dt.div(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n position: relative;\n cursor: pointer;\n .icon_button {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"], ["\n position: relative;\n cursor: pointer;\n .icon_button {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"])));
32374
- var CourseStatusContainer = dt.div(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
32374
+ var CourseStatusContainer = dt.div(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n color: #fff;\n height: 32px;\n padding: 4px 12px;\n text-transform: capitalize;\n border-radius: 4px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
32375
32375
  var $status = _a.$status;
32376
32376
  return !$status ? '#EA382A' : '#00905E';
32377
32377
  });
32378
- dt.div(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
32378
+ dt.div(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
32379
32379
  var TooltipContent = dt.div(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"])));
32380
32380
  var StyledCardBottomContainer = dt.div(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"], ["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
32381
32381
  var StyledActionsContainer = dt.div(templateObject_17$1 || (templateObject_17$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
@@ -32426,7 +32426,7 @@ var GridItem = dt.div(templateObject_32 || (templateObject_32 = __makeTemplateOb
32426
32426
  var $isFromUser = _a.$isFromUser;
32427
32427
  return $isFromUser && "\n figure {\n position: relative;\n &:after {\n content: 'View Analytics';\n position: absolute;\n top: 0;\n opacity: 0;\n color: #06c68f;\n left: 0;\n font-size: 24px;\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.9);\n width: 100%;\n height: 100%;\n transition: opacity 0.3s ease;\n z-index: 10;\n }\n }\n\n &:hover {\n figure {\n &:after {\n opacity: 1;\n }\n }\n }\n " || '';
32428
32428
  });
32429
- var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
32429
+ var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$1, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24$1, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
32430
32430
 
32431
32431
  var TooltipHeight$1 = function TooltipHeight(_a) {
32432
32432
  var text = _a.text,
@@ -34740,7 +34740,9 @@ DocumentAttachment.displayName = 'DocumentAttachment';
34740
34740
  var DownloadIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
34741
34741
  var className = _a.className,
34742
34742
  onClick = _a.onClick,
34743
- props = __rest(_a, ["className", "onClick"]);
34743
+ _b = _a.fill,
34744
+ fill = _b === void 0 ? '#FFFFFF' : _b,
34745
+ props = __rest(_a, ["className", "onClick", "fill"]);
34744
34746
  return jsxRuntimeExports.jsxs("svg", __assign({
34745
34747
  ref: ref,
34746
34748
  width: '24',
@@ -34753,10 +34755,10 @@ var DownloadIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
34753
34755
  }, props, {
34754
34756
  children: [jsxRuntimeExports.jsx("path", {
34755
34757
  d: 'M19.5 18V21H4.5V18H3V21C3 21.3978 3.15804 21.7794 3.43934 22.0607C3.72064 22.342 4.10218 22.5 4.5 22.5H19.5C19.8978 22.5 20.2794 22.342 20.5607 22.0607C20.842 21.7794 21 21.3978 21 21V18H19.5Z',
34756
- fill: '#020210'
34758
+ fill: fill
34757
34759
  }), jsxRuntimeExports.jsx("path", {
34758
34760
  d: 'M19.5 10.5L18.4425 9.4425L12.75 15.1275V1.5H11.25V15.1275L5.5575 9.4425L4.5 10.5L12 18L19.5 10.5Z',
34759
- fill: '#020210'
34761
+ fill: fill
34760
34762
  })]
34761
34763
  }));
34762
34764
  });
@@ -37674,7 +37676,7 @@ var VolumeUpIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
37674
37676
  _b = _a.fill,
37675
37677
  fill = _b === void 0 ? '#68707A' : _b,
37676
37678
  props = __rest(_a, ["className", "onClick", "fill"]);
37677
- return jsxRuntimeExports.jsxs("svg", __assign({
37679
+ return jsxRuntimeExports.jsx("svg", __assign({
37678
37680
  ref: ref,
37679
37681
  width: '24',
37680
37682
  height: '24',
@@ -37684,13 +37686,10 @@ var VolumeUpIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
37684
37686
  className: className,
37685
37687
  onClick: onClick
37686
37688
  }, props, {
37687
- children: [jsxRuntimeExports.jsx("path", {
37688
- d: 'M0 0h24v24H0V0z',
37689
- fill: 'none'
37690
- }), jsxRuntimeExports.jsx("path", {
37689
+ children: jsxRuntimeExports.jsx("path", {
37691
37690
  d: 'M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z',
37692
37691
  fill: fill
37693
- })]
37692
+ })
37694
37693
  }));
37695
37694
  });
37696
37695
  VolumeUpIcon.displayName = 'VolumeUpIcon';
@@ -42810,14 +42809,14 @@ var ItemContainer = dt.div(templateObject_11$1 || (templateObject_11$1 = __makeT
42810
42809
  return width || '100%';
42811
42810
  });
42812
42811
  dt.div(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n width: 390px;\n"], ["\n width: 390px;\n"])));
42813
- var CancelButton = dt.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"], ["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"])), function (_a) {
42812
+ var CancelButton = dt.div(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"], ["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"])), function (_a) {
42814
42813
  var right = _a.right;
42815
42814
  return right || '-13px';
42816
42815
  }, function (_a) {
42817
42816
  var top = _a.top;
42818
42817
  return top || '5px';
42819
42818
  });
42820
- var InputFileContainer = dt.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"], ["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"])));
42819
+ var InputFileContainer = dt.div(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"], ["\n position: relative;\n display: flex;\n justify-content: flex-end;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"])));
42821
42820
  var UploadInput = dt.input(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"], ["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"])));
42822
42821
  dt.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"], ["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"])));
42823
42822
  var ImagePlaceholder = dt.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n\n img {\n position: relative;\n border: 1px solid #08c694;\n width: 100%;\n height: ", "px;\n object-fit: cover;\n top: 2px;\n }\n"], ["\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n\n img {\n position: relative;\n border: 1px solid #08c694;\n width: 100%;\n height: ", "px;\n object-fit: cover;\n top: 2px;\n }\n"])), function (_a) {
@@ -42841,7 +42840,7 @@ var Title = dt.h2(templateObject_24 || (templateObject_24 = __makeTemplateObject
42841
42840
  var $required = _a.$required;
42842
42841
  return $required ? "\n &::after {\n content: '*';\n color: red;\n margin-left: 3px;\n }\n " : '';
42843
42842
  });
42844
- var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24;
42843
+ var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24;
42845
42844
 
42846
42845
  var InsertDriveFile = {};
42847
42846
 
@@ -61137,7 +61136,13 @@ var Checkbox = function Checkbox(_a) {
61137
61136
  });
61138
61137
  };
61139
61138
 
61140
- var PaginationWrapper = dt.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: #08c694;\n color: white;\n\n &:hover {\n background: #08c694;\n border: none;\n }\n }\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: #08c694;\n color: white;\n\n &:hover {\n background: #08c694;\n border: none;\n }\n }\n }\n"])));
61139
+ var PaginationWrapper = dt.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: ", ";\n color: white;\n\n &:hover {\n background: ", ";\n border: none;\n }\n }\n }\n"], ["\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 20px;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n\n .MuiPagination-ul {\n flex-wrap: nowrap;\n }\n .MuiPaginationItem-root {\n background: #ffffff;\n border: 1px solid #e7e9ed !important;\n border-radius: 4px !important;\n width: 32px !important;\n height: 32px !important;\n padding: 6px 6px !important;\n\n &:hover {\n border: 1px solid #cdccd0;\n background-color: #ffffff;\n }\n\n &.Mui-selected {\n background: ", ";\n color: white;\n\n &:hover {\n background: ", ";\n border: none;\n }\n }\n }\n"])), function (_a) {
61140
+ var $themeColor = _a.$themeColor;
61141
+ return $themeColor || '#08c694';
61142
+ }, function (_a) {
61143
+ var $themeColor = _a.$themeColor;
61144
+ return $themeColor || '#08c694';
61145
+ });
61141
61146
  var templateObject_1$e;
61142
61147
 
61143
61148
  var Pagination = function Pagination(_a) {
@@ -61145,8 +61150,10 @@ var Pagination = function Pagination(_a) {
61145
61150
  totalPages = _a.totalPages,
61146
61151
  handleChange = _a.handleChange,
61147
61152
  perPage = _a.perPage,
61153
+ themeColor = _a.themeColor,
61148
61154
  handlePerPageChange = _a.handlePerPageChange;
61149
61155
  return jsxRuntimeExports.jsxs(PaginationWrapper, {
61156
+ "$themeColor": themeColor,
61150
61157
  children: [perPage && jsxRuntimeExports.jsxs(Select$1, {
61151
61158
  variant: 'standard',
61152
61159
  "native": true,
@@ -81389,7 +81396,7 @@ function requirePlayers () {
81389
81396
  canPlay: import_patterns.canPlay.youtube,
81390
81397
  lazyPlayer: (0, import_utils.lazy)(() => import(
81391
81398
  /* webpackChunkName: 'reactPlayerYouTube' */
81392
- './YouTube-CdjuPIIO.esm.js'
81399
+ './YouTube-yMeWWl4H.esm.js'
81393
81400
  ).then(function (n) { return n.Y; }))
81394
81401
  },
81395
81402
  {
@@ -81398,7 +81405,7 @@ function requirePlayers () {
81398
81405
  canPlay: import_patterns.canPlay.soundcloud,
81399
81406
  lazyPlayer: (0, import_utils.lazy)(() => import(
81400
81407
  /* webpackChunkName: 'reactPlayerSoundCloud' */
81401
- './SoundCloud-BC8iiobM.esm.js'
81408
+ './SoundCloud-DrNeCiTx.esm.js'
81402
81409
  ).then(function (n) { return n.S; }))
81403
81410
  },
81404
81411
  {
@@ -81407,7 +81414,7 @@ function requirePlayers () {
81407
81414
  canPlay: import_patterns.canPlay.vimeo,
81408
81415
  lazyPlayer: (0, import_utils.lazy)(() => import(
81409
81416
  /* webpackChunkName: 'reactPlayerVimeo' */
81410
- './Vimeo-CXKbdxkV.esm.js'
81417
+ './Vimeo-CR7Tdpoi.esm.js'
81411
81418
  ).then(function (n) { return n.V; }))
81412
81419
  },
81413
81420
  {
@@ -81416,7 +81423,7 @@ function requirePlayers () {
81416
81423
  canPlay: import_patterns.canPlay.mux,
81417
81424
  lazyPlayer: (0, import_utils.lazy)(() => import(
81418
81425
  /* webpackChunkName: 'reactPlayerMux' */
81419
- './Mux-C0xOzOps.esm.js'
81426
+ './Mux-s9nPEsa_.esm.js'
81420
81427
  ).then(function (n) { return n.M; }))
81421
81428
  },
81422
81429
  {
@@ -81425,7 +81432,7 @@ function requirePlayers () {
81425
81432
  canPlay: import_patterns.canPlay.facebook,
81426
81433
  lazyPlayer: (0, import_utils.lazy)(() => import(
81427
81434
  /* webpackChunkName: 'reactPlayerFacebook' */
81428
- './Facebook-B1XpGyBt.esm.js'
81435
+ './Facebook-oiv7CRN4.esm.js'
81429
81436
  ).then(function (n) { return n.F; }))
81430
81437
  },
81431
81438
  {
@@ -81434,7 +81441,7 @@ function requirePlayers () {
81434
81441
  canPlay: import_patterns.canPlay.streamable,
81435
81442
  lazyPlayer: (0, import_utils.lazy)(() => import(
81436
81443
  /* webpackChunkName: 'reactPlayerStreamable' */
81437
- './Streamable-CGxErYVF.esm.js'
81444
+ './Streamable-Dffnss84.esm.js'
81438
81445
  ).then(function (n) { return n.S; }))
81439
81446
  },
81440
81447
  {
@@ -81443,7 +81450,7 @@ function requirePlayers () {
81443
81450
  canPlay: import_patterns.canPlay.wistia,
81444
81451
  lazyPlayer: (0, import_utils.lazy)(() => import(
81445
81452
  /* webpackChunkName: 'reactPlayerWistia' */
81446
- './Wistia-CJDzE0TP.esm.js'
81453
+ './Wistia-QMqy-uQw.esm.js'
81447
81454
  ).then(function (n) { return n.W; }))
81448
81455
  },
81449
81456
  {
@@ -81452,7 +81459,7 @@ function requirePlayers () {
81452
81459
  canPlay: import_patterns.canPlay.twitch,
81453
81460
  lazyPlayer: (0, import_utils.lazy)(() => import(
81454
81461
  /* webpackChunkName: 'reactPlayerTwitch' */
81455
- './Twitch-8quL43Fw.esm.js'
81462
+ './Twitch-DvucdzzS.esm.js'
81456
81463
  ).then(function (n) { return n.T; }))
81457
81464
  },
81458
81465
  {
@@ -81461,7 +81468,7 @@ function requirePlayers () {
81461
81468
  canPlay: import_patterns.canPlay.dailymotion,
81462
81469
  lazyPlayer: (0, import_utils.lazy)(() => import(
81463
81470
  /* webpackChunkName: 'reactPlayerDailyMotion' */
81464
- './DailyMotion-DbDeP0dq.esm.js'
81471
+ './DailyMotion-dJVL9e3H.esm.js'
81465
81472
  ).then(function (n) { return n.D; }))
81466
81473
  },
81467
81474
  {
@@ -81470,7 +81477,7 @@ function requirePlayers () {
81470
81477
  canPlay: import_patterns.canPlay.mixcloud,
81471
81478
  lazyPlayer: (0, import_utils.lazy)(() => import(
81472
81479
  /* webpackChunkName: 'reactPlayerMixcloud' */
81473
- './Mixcloud-CtWhrXiZ.esm.js'
81480
+ './Mixcloud-BTbWN-a0.esm.js'
81474
81481
  ).then(function (n) { return n.M; }))
81475
81482
  },
81476
81483
  {
@@ -81479,7 +81486,7 @@ function requirePlayers () {
81479
81486
  canPlay: import_patterns.canPlay.vidyard,
81480
81487
  lazyPlayer: (0, import_utils.lazy)(() => import(
81481
81488
  /* webpackChunkName: 'reactPlayerVidyard' */
81482
- './Vidyard-DsG0WHnh.esm.js'
81489
+ './Vidyard--Qb_wLtp.esm.js'
81483
81490
  ).then(function (n) { return n.V; }))
81484
81491
  },
81485
81492
  {
@@ -81488,7 +81495,7 @@ function requirePlayers () {
81488
81495
  canPlay: import_patterns.canPlay.kaltura,
81489
81496
  lazyPlayer: (0, import_utils.lazy)(() => import(
81490
81497
  /* webpackChunkName: 'reactPlayerKaltura' */
81491
- './Kaltura-DAkp5nY0.esm.js'
81498
+ './Kaltura-D84ZFqY1.esm.js'
81492
81499
  ).then(function (n) { return n.K; }))
81493
81500
  },
81494
81501
  {
@@ -81500,7 +81507,7 @@ function requirePlayers () {
81500
81507
  },
81501
81508
  lazyPlayer: (0, import_utils.lazy)(() => import(
81502
81509
  /* webpackChunkName: 'reactPlayerFilePlayer' */
81503
- './FilePlayer-BSL_U8r8.esm.js'
81510
+ './FilePlayer-B0iX_VuG.esm.js'
81504
81511
  ).then(function (n) { return n.F; }))
81505
81512
  }
81506
81513
  ];
@@ -82321,7 +82328,7 @@ function requireReactPlayer () {
82321
82328
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
82322
82329
  const Preview = (0, import_utils.lazy)(() => import(
82323
82330
  /* webpackChunkName: 'reactPlayerPreview' */
82324
- './Preview-Crcz-S0c.esm.js'
82331
+ './Preview-rhSMz_hY.esm.js'
82325
82332
  ).then(function (n) { return n.P; }));
82326
82333
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
82327
82334
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -82577,15 +82584,17 @@ var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __
82577
82584
  });
82578
82585
  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"])));
82579
82586
  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"])));
82580
- var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: var(--neutral-colors-light);\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: var(--neutral-colors-light);\n ", "\n text-align: right;\n white-space: nowrap;\n"])), {
82587
+ 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"])), {
82581
82588
  fontStyle: 'descriptor'
82582
82589
  });
82583
- var StyledHeartIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > svg > path {\n fill: var(--neutral-colors-light);\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > svg > path {\n fill: var(--neutral-colors-light);\n }\n"])));
82584
- var StyledSubtitlesIconContainer = dt.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
82585
- var StyledFullscreenIconContainer = dt.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
82586
- var StyledVolumeIconContainer = dt.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
82587
- var StyledPlayPauseIconContainer = dt.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"])));
82588
- 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;
82590
+ var StyledHeartIconContainer = dt.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"])));
82591
+ var StyledDownloadIconContainer = dt.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"])));
82592
+ var StyledSubtitlesIconContainer = dt.div(templateObject_10 || (templateObject_10 = __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"])));
82593
+ 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"])));
82594
+ 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"])));
82595
+ 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"])));
82596
+ 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"])));
82597
+ 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;
82589
82598
 
82590
82599
  var PLAYBACK_SPEED_LIST = [{
82591
82600
  label: 'playback_speed.2x',
@@ -82799,7 +82808,60 @@ var Controls = function Controls(_a) {
82799
82808
  handleSkipForward = _a.handleSkipForward,
82800
82809
  isNextVideo = _a.isNextVideo,
82801
82810
  isPreviousVideo = _a.isPreviousVideo,
82802
- showFavorite = _a.showFavorite;
82811
+ showFavorite = _a.showFavorite,
82812
+ showDownload = _a.showDownload,
82813
+ downloadUrl = _a.downloadUrl,
82814
+ downloadFileName = _a.downloadFileName,
82815
+ onDownload = _a.onDownload;
82816
+ var handleDownloadClick = function handleDownloadClick() {
82817
+ return __awaiter(void 0, void 0, void 0, function () {
82818
+ var response, blob, blobUrl, link, error_1, link;
82819
+ return __generator(this, function (_a) {
82820
+ switch (_a.label) {
82821
+ case 0:
82822
+ if (!onDownload) return [3 /*break*/, 1];
82823
+ onDownload();
82824
+ return [3 /*break*/, 6];
82825
+ case 1:
82826
+ if (!downloadUrl) return [3 /*break*/, 6];
82827
+ _a.label = 2;
82828
+ case 2:
82829
+ _a.trys.push([2, 5,, 6]);
82830
+ return [4 /*yield*/, fetch(downloadUrl)];
82831
+ case 3:
82832
+ response = _a.sent();
82833
+ if (!response.ok) throw new Error('Download failed');
82834
+ return [4 /*yield*/, response.blob()];
82835
+ case 4:
82836
+ blob = _a.sent();
82837
+ blobUrl = window.URL.createObjectURL(blob);
82838
+ link = document.createElement('a');
82839
+ link.href = blobUrl;
82840
+ link.download = downloadFileName || 'video-download';
82841
+ link.style.display = 'none';
82842
+ document.body.appendChild(link);
82843
+ link.click();
82844
+ document.body.removeChild(link);
82845
+ // Clean up blob URL
82846
+ window.URL.revokeObjectURL(blobUrl);
82847
+ return [3 /*break*/, 6];
82848
+ case 5:
82849
+ error_1 = _a.sent();
82850
+ console.error('Download failed:', error_1);
82851
+ link = document.createElement('a');
82852
+ link.href = downloadUrl;
82853
+ link.download = downloadFileName || 'video-download';
82854
+ link.style.display = 'none';
82855
+ document.body.appendChild(link);
82856
+ link.click();
82857
+ document.body.removeChild(link);
82858
+ return [3 /*break*/, 6];
82859
+ case 6:
82860
+ return [2 /*return*/];
82861
+ }
82862
+ });
82863
+ });
82864
+ };
82803
82865
  return jsxRuntimeExports.jsxs(StyledControls, {
82804
82866
  children: [jsxRuntimeExports.jsx(StyledSlider, {
82805
82867
  type: 'range',
@@ -82810,18 +82872,34 @@ var Controls = function Controls(_a) {
82810
82872
  onChange: seekHandler,
82811
82873
  onMouseUp: seekMouseUpHandler
82812
82874
  }), jsxRuntimeExports.jsxs(StyledControllerLeft, {
82813
- children: [jsxRuntimeExports.jsx(StyledPlayPauseIconContainer, {
82814
- onClick: playPauseHandler,
82815
- children: playing ? jsxRuntimeExports.jsx(PauseIcon, {}) : jsxRuntimeExports.jsx(PlayIcon, {})
82816
- }), jsxRuntimeExports.jsx(RewindIcon, {
82817
- onClick: rewindHandler
82818
- }), jsxRuntimeExports.jsx(RewindIcon, {
82819
- forward: true,
82820
- onClick: handleFastForward
82875
+ children: [jsxRuntimeExports.jsx(CustomTooltip, {
82876
+ title: playing ? 'Pause' : 'Play',
82877
+ children: jsxRuntimeExports.jsx(StyledPlayPauseIconContainer, {
82878
+ onClick: playPauseHandler,
82879
+ children: playing ? jsxRuntimeExports.jsx(PauseIcon, {}) : jsxRuntimeExports.jsx(PlayIcon, {})
82880
+ })
82881
+ }), jsxRuntimeExports.jsx(CustomTooltip, {
82882
+ title: "Rewind 10 seconds",
82883
+ children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
82884
+ children: jsxRuntimeExports.jsx(RewindIcon, {
82885
+ onClick: rewindHandler
82886
+ })
82887
+ })
82888
+ }), jsxRuntimeExports.jsx(CustomTooltip, {
82889
+ title: "Forward 10 seconds",
82890
+ children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
82891
+ children: jsxRuntimeExports.jsx(RewindIcon, {
82892
+ forward: true,
82893
+ onClick: handleFastForward
82894
+ })
82895
+ })
82821
82896
  }), jsxRuntimeExports.jsxs(StyledVolumeWrapper, {
82822
- children: [jsxRuntimeExports.jsx(StyledVolumeIconContainer, {
82823
- onClick: muteHandler,
82824
- children: muted ? jsxRuntimeExports.jsx(VolumeMuteIcon, {}) : jsxRuntimeExports.jsx(VolumeUpIcon, {})
82897
+ children: [jsxRuntimeExports.jsx(CustomTooltip, {
82898
+ title: muted ? 'Unmute' : 'Mute',
82899
+ children: jsxRuntimeExports.jsx(StyledVolumeIconContainer, {
82900
+ onClick: muteHandler,
82901
+ children: muted ? jsxRuntimeExports.jsx(VolumeMuteIcon, {}) : jsxRuntimeExports.jsx(VolumeUpIcon, {})
82902
+ })
82825
82903
  }), jsxRuntimeExports.jsx(StyledVolumeSlider, {
82826
82904
  type: 'range',
82827
82905
  value: volume * 100,
@@ -82831,23 +82909,39 @@ var Controls = function Controls(_a) {
82831
82909
  children: [formatCurrentTime, " /", formatDuration]
82832
82910
  })]
82833
82911
  }), jsxRuntimeExports.jsxs(StyledControllerRight, {
82834
- children: [handleSkipBackward && jsxRuntimeExports.jsx(SkipIcon, {
82835
- onClick: function onClick() {
82836
- if (!isPreviousVideo) return;
82837
- handleSkipBackward();
82838
- },
82839
- className: isPreviousVideo ? '' : 'skip-icon-disabled'
82840
- }), handleSkipForward && jsxRuntimeExports.jsx(SkipIcon, {
82841
- forward: true,
82842
- onClick: function onClick() {
82843
- if (!isNextVideo) return;
82844
- handleSkipForward();
82845
- },
82846
- className: isNextVideo ? '' : 'skip-icon-disabled'
82847
- }), showFavorite && jsxRuntimeExports.jsx(StyledHeartIconContainer, {
82848
- children: jsxRuntimeExports.jsx(HeartIcon, {
82849
- active: isFavorite,
82850
- onClick: toggleIsFavorite
82912
+ children: [handleSkipBackward && jsxRuntimeExports.jsx(CustomTooltip, {
82913
+ title: "Previous video",
82914
+ children: jsxRuntimeExports.jsx(SkipIcon, {
82915
+ onClick: function onClick() {
82916
+ if (!isPreviousVideo) return;
82917
+ handleSkipBackward();
82918
+ },
82919
+ className: isPreviousVideo ? '' : 'skip-icon-disabled'
82920
+ })
82921
+ }), handleSkipForward && jsxRuntimeExports.jsx(CustomTooltip, {
82922
+ title: "Next video",
82923
+ children: jsxRuntimeExports.jsx(SkipIcon, {
82924
+ forward: true,
82925
+ onClick: function onClick() {
82926
+ if (!isNextVideo) return;
82927
+ handleSkipForward();
82928
+ },
82929
+ className: isNextVideo ? '' : 'skip-icon-disabled'
82930
+ })
82931
+ }), showFavorite && jsxRuntimeExports.jsx(CustomTooltip, {
82932
+ title: isFavorite ? 'Remove from favorites' : 'Add to favorites',
82933
+ children: jsxRuntimeExports.jsx(StyledHeartIconContainer, {
82934
+ children: jsxRuntimeExports.jsx(HeartIcon, {
82935
+ active: isFavorite,
82936
+ onClick: toggleIsFavorite
82937
+ })
82938
+ })
82939
+ }), showDownload && downloadUrl && jsxRuntimeExports.jsx(CustomTooltip, {
82940
+ title: "Download video",
82941
+ children: jsxRuntimeExports.jsx(StyledDownloadIconContainer, {
82942
+ children: jsxRuntimeExports.jsx(DownloadIcon, {
82943
+ onClick: handleDownloadClick
82944
+ })
82851
82945
  })
82852
82946
  }), jsxRuntimeExports.jsx(PlaybackSpeedMenu, {
82853
82947
  playbackSpeed: playbackRate,
@@ -82865,14 +82959,20 @@ var Controls = function Controls(_a) {
82865
82959
  right: '8px',
82866
82960
  left: 'auto'
82867
82961
  }
82868
- }), subtitle && jsxRuntimeExports.jsx(StyledSubtitlesIconContainer, {
82869
- children: jsxRuntimeExports.jsx(SubtitlesIcon, {
82870
- active: isSubtitlesChecked,
82871
- onClick: toggleSubtitlesCheck
82962
+ }), subtitle && jsxRuntimeExports.jsx(CustomTooltip, {
82963
+ title: isSubtitlesChecked ? 'Hide subtitles' : 'Show subtitles',
82964
+ children: jsxRuntimeExports.jsx(StyledSubtitlesIconContainer, {
82965
+ children: jsxRuntimeExports.jsx(SubtitlesIcon, {
82966
+ active: isSubtitlesChecked,
82967
+ onClick: toggleSubtitlesCheck
82968
+ })
82969
+ })
82970
+ }), jsxRuntimeExports.jsx(CustomTooltip, {
82971
+ title: isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen',
82972
+ children: jsxRuntimeExports.jsx(StyledFullscreenIconContainer, {
82973
+ onClick: handleFullScreen,
82974
+ children: isFullscreen ? jsxRuntimeExports.jsx(MinimizeIcon, {}) : jsxRuntimeExports.jsx(MaximizeIcon, {})
82872
82975
  })
82873
- }), jsxRuntimeExports.jsx(StyledFullscreenIconContainer, {
82874
- onClick: handleFullScreen,
82875
- children: isFullscreen ? jsxRuntimeExports.jsx(MinimizeIcon, {}) : jsxRuntimeExports.jsx(MaximizeIcon, {})
82876
82976
  })]
82877
82977
  })]
82878
82978
  });
@@ -89117,7 +89217,11 @@ var VideoPlayer = function VideoPlayer(_a) {
89117
89217
  return [2 /*return*/];
89118
89218
  });
89119
89219
  });
89120
- } : _h;
89220
+ } : _h,
89221
+ showDownload = _a.showDownload,
89222
+ downloadUrl = _a.downloadUrl,
89223
+ downloadFileName = _a.downloadFileName,
89224
+ onDownload = _a.onDownload;
89121
89225
  var videoRef = useRef(null);
89122
89226
  var _j = usePlayerControls({
89123
89227
  startTime: startTime,
@@ -89269,7 +89373,11 @@ var VideoPlayer = function VideoPlayer(_a) {
89269
89373
  handleSkipForward: handleNextVideo,
89270
89374
  isNextVideo: isNextVideo,
89271
89375
  isPreviousVideo: isPreviousVideo,
89272
- showFavorite: showFavorite
89376
+ showFavorite: showFavorite,
89377
+ showDownload: showDownload,
89378
+ downloadUrl: downloadUrl,
89379
+ downloadFileName: downloadFileName,
89380
+ onDownload: onDownload
89273
89381
  })
89274
89382
  })]
89275
89383
  });