suada-components 1.18.1 → 1.20.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 (71) hide show
  1. package/dist/{DailyMotion-CltB9Fwx.esm.js → DailyMotion-BLFAoBjg.esm.js} +1 -1
  2. package/dist/{DailyMotion-CU-mEwwt.js → DailyMotion-C4jYmkvx.js} +1 -1
  3. package/dist/{components/Facebook-D96yZ-Wv.js → Facebook--OIPCKLV.js} +1 -1
  4. package/dist/{components/Facebook-DDWWEbeK.esm.js → Facebook-D4aqTR_u.esm.js} +1 -1
  5. package/dist/{FilePlayer-BkFHURpZ.js → FilePlayer-8sGf_JAf.js} +1 -1
  6. package/dist/{FilePlayer-15mK_T2y.esm.js → FilePlayer-CneTu0el.esm.js} +1 -1
  7. package/dist/{Kaltura-CZC5JjxC.js → Kaltura-BprRnirx.js} +1 -1
  8. package/dist/{components/Kaltura-Btn1U8Zf.esm.js → Kaltura-Cn7PzjsF.esm.js} +1 -1
  9. package/dist/{Mixcloud-C2W41_xU.esm.js → Mixcloud-BCPdfe2X.esm.js} +1 -1
  10. package/dist/{components/Mixcloud-BlY20QI9.js → Mixcloud-CgLgU1Fc.js} +1 -1
  11. package/dist/{components/Mux-BU7bD4pe.esm.js → Mux-Ccp4w4M-.esm.js} +1 -1
  12. package/dist/{Mux-B7VqwEAU.js → Mux-DYFL-j5a.js} +1 -1
  13. package/dist/{components/Preview-DsGgU4H5.esm.js → Preview-DSXHvRO2.esm.js} +1 -1
  14. package/dist/{Preview-D7VLiRWL.js → Preview-oUz9COHv.js} +1 -1
  15. package/dist/{SoundCloud-BuJ6yNTP.esm.js → SoundCloud-9VX-Z7vz.esm.js} +1 -1
  16. package/dist/{SoundCloud-CczyZgu_.js → SoundCloud-B_SpPAKN.js} +1 -1
  17. package/dist/{components/Streamable-B602PXxI.esm.js → Streamable-B072M6wX.esm.js} +1 -1
  18. package/dist/{Streamable-D4JFFtoC.js → Streamable-DVdNDaFn.js} +1 -1
  19. package/dist/{components/Twitch-BHVmZejB.js → Twitch-BJNa92-u.js} +1 -1
  20. package/dist/{Twitch-DvrY7N_t.esm.js → Twitch-E7ie2Uhy.esm.js} +1 -1
  21. package/dist/{components/Vidyard-CN_G9dre.esm.js → Vidyard-DLiYqJli.esm.js} +1 -1
  22. package/dist/{components/Vidyard-ClFsw8nL.js → Vidyard-_V_d7bw0.js} +1 -1
  23. package/dist/{Vimeo-CFofcECV.js → Vimeo-hnYq-kPy.js} +1 -1
  24. package/dist/{components/Vimeo-vOGC9mBk.esm.js → Vimeo-iFgsCgGo.esm.js} +1 -1
  25. package/dist/{components/Wistia-BNx386Rg.esm.js → Wistia-D_w-vbDC.esm.js} +1 -1
  26. package/dist/{Wistia-B2cvtDql.js → Wistia-UwhTbZ-1.js} +1 -1
  27. package/dist/{YouTube-CL56XD1_.js → YouTube-5xM6iQwB.js} +1 -1
  28. package/dist/{components/YouTube-CQ70BkZw.esm.js → YouTube-CPhYQEkl.esm.js} +1 -1
  29. package/dist/components/{DailyMotion-Cigxd-Jz.esm.js → DailyMotion-DWpcl8z8.esm.js} +1 -1
  30. package/dist/components/{DailyMotion-Dc8Jt5rL.js → DailyMotion-ncf2EGzH.js} +1 -1
  31. package/dist/{Facebook-C5bsXWOw.esm.js → components/Facebook-DW4sCJ25.esm.js} +1 -1
  32. package/dist/{Facebook-1PeZXckV.js → components/Facebook-F1hTNyHn.js} +1 -1
  33. package/dist/components/{FilePlayer-B60YEygK.js → FilePlayer-BIUb9xkU.js} +1 -1
  34. package/dist/components/{FilePlayer-B3meC4EP.esm.js → FilePlayer-CInlN9-9.esm.js} +1 -1
  35. package/dist/{Kaltura-DMRyYkly.esm.js → components/Kaltura-BLEfYwcO.esm.js} +1 -1
  36. package/dist/components/{Kaltura-DK-h5jtl.js → Kaltura-UmW08K7Z.js} +1 -1
  37. package/dist/components/{Mixcloud-D3hCVvRi.esm.js → Mixcloud-CBWX9OlC.esm.js} +1 -1
  38. package/dist/{Mixcloud-CobFyox1.js → components/Mixcloud-CQ_ABR83.js} +1 -1
  39. package/dist/components/{Mux-Bp6MFxPb.js → Mux-CJzLFb5n.js} +1 -1
  40. package/dist/{Mux-CR4kJZz1.esm.js → components/Mux-fVVwHTdP.esm.js} +1 -1
  41. package/dist/components/{Preview-Ipafps1S.js → Preview-BFqTVez2.js} +1 -1
  42. package/dist/{Preview-ChyEERBP.esm.js → components/Preview-Bur7AltA.esm.js} +1 -1
  43. package/dist/components/{SoundCloud-CLTAypO_.js → SoundCloud-BhXPdJiG.js} +1 -1
  44. package/dist/components/{SoundCloud-Cezo6lfg.esm.js → SoundCloud-CwSX1HSQ.esm.js} +1 -1
  45. package/dist/components/{Streamable-BYw1N66m.js → Streamable-B2K7lHBF.js} +1 -1
  46. package/dist/{Streamable-CjvpmkOH.esm.js → components/Streamable-DyF17zKD.esm.js} +1 -1
  47. package/dist/{Twitch-B1vASMAw.js → components/Twitch-Ci9mpiwN.js} +1 -1
  48. package/dist/components/{Twitch-tLysm9DK.esm.js → Twitch-D7Jkv6yP.esm.js} +1 -1
  49. package/dist/components/VideoPlayer/Player.interface.d.ts +7 -0
  50. package/dist/components/VideoPlayer/Player.styles.d.ts +6 -0
  51. package/dist/{Vidyard-CZtc16q9.esm.js → components/Vidyard-B9H_2-k5.esm.js} +1 -1
  52. package/dist/{Vidyard-s3lK5PSZ.js → components/Vidyard-CS8k2GVk.js} +1 -1
  53. package/dist/{Vimeo-BWyRDwE0.esm.js → components/Vimeo-B99859at.esm.js} +1 -1
  54. package/dist/components/{Vimeo-D3_12JJC.js → Vimeo-DvGEL0c6.js} +1 -1
  55. package/dist/components/{Wistia-DyxKLkXI.js → Wistia-BuZhl_AZ.js} +1 -1
  56. package/dist/{Wistia-sSsycsJH.esm.js → components/Wistia-QRXurXF5.esm.js} +1 -1
  57. package/dist/{YouTube-B6EhYDWl.esm.js → components/YouTube-B4zxb1pq.esm.js} +1 -1
  58. package/dist/components/{YouTube-aCsy9GCc.js → YouTube-DAIEadSc.js} +1 -1
  59. package/dist/components/components/VideoPlayer/Player.interface.d.ts +7 -0
  60. package/dist/components/components/VideoPlayer/Player.styles.d.ts +6 -0
  61. package/dist/components/{index-BIuwQ7Ul.js → index-MyuG3QrE.js} +269 -77
  62. package/dist/components/{index-WnDl7x-R.esm.js → index-de31WudA.esm.js} +269 -77
  63. package/dist/components/index.esm.js +1 -1
  64. package/dist/components/index.js +1 -1
  65. package/dist/icons/components/VideoPlayer/Player.interface.d.ts +7 -0
  66. package/dist/icons/components/VideoPlayer/Player.styles.d.ts +6 -0
  67. package/dist/{index-c5_4-PQZ.js → index-BG54T_ot.js} +269 -77
  68. package/dist/{index-D2OcKIp8.esm.js → index-DaQssQT2.esm.js} +269 -77
  69. package/dist/index.esm.js +1 -1
  70. package/dist/index.js +1 -1
  71. package/package.json +1 -1
@@ -29998,7 +29998,7 @@ var RecordVoiceOverOutlined$1 = createSvgIcon$1( /*#__PURE__*/require$$2$2.jsx("
29998
29998
  d: "M9 13c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 8c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4m-6 4c.22-.72 3.31-2 6-2 2.7 0 5.8 1.29 6 2zM15.08 7.05c.84 1.18.84 2.71 0 3.89l1.68 1.69c2.02-2.02 2.02-5.07 0-7.27zM20.07 2l-1.63 1.63c2.77 3.02 2.77 7.56 0 10.74L20.07 16c3.9-3.89 3.91-9.95 0-14"
29999
29999
  }), 'RecordVoiceOverOutlined');
30000
30000
 
30001
- var _templateObject$q, _templateObject2$k, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$8, _templateObject7$6, _templateObject8$6, _templateObject9$5, _templateObject10$4, _templateObject11$4, _templateObject12$4, _templateObject13$3, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32;
30001
+ var _templateObject$q, _templateObject2$k, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$8, _templateObject7$6, _templateObject8$6, _templateObject9$5, _templateObject10$4, _templateObject11$4, _templateObject12$4, _templateObject13$3, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32;
30002
30002
  // CourseLayout
30003
30003
  dt.span(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral$1([""])));
30004
30004
  var GridItemContentHeader = dt.header(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral$1(["\n display: flex;\n justify-content: space-between;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
@@ -30031,10 +30031,10 @@ var CourseStatusContainer = dt.div(_templateObject13$3 || (_templateObject13$3 =
30031
30031
  var $status = _ref6.$status;
30032
30032
  return !$status ? '#EA382A' : '#00905E';
30033
30033
  });
30034
- dt.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
30035
- var TooltipContent = dt.div(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteral$1(["\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"])));
30036
- var StyledCardBottomContainer = dt.div(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteral$1(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
30037
- var StyledActionsContainer = dt.div(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
30034
+ dt.div(_templateObject14$3 || (_templateObject14$3 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
30035
+ var TooltipContent = dt.div(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteral$1(["\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"])));
30036
+ var StyledCardBottomContainer = dt.div(_templateObject16$3 || (_templateObject16$3 = _taggedTemplateLiteral$1(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
30037
+ var StyledActionsContainer = dt.div(_templateObject17$3 || (_templateObject17$3 = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
30038
30038
  var StyledActionItem = dt.span(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n height: 14px;\n cursor: ", ";\n color: ", ";\n font-size: 14px;\n padding-bottom: 10px;\n width: 100%;\n justify-content: center;\n gap: 8px;\n padding: 12px 4px;\n svg path {\n fill: ", ";\n width: 16px;\n height: 16px;\n }\n svg {\n width: 16px;\n height: 16px;\n }\n &:hover {\n color: ", ";\n svg path {\n fill: ", ";\n }\n }\n"])), function (_ref7) {
30039
30039
  var disabled = _ref7.disabled;
30040
30040
  return disabled ? 'default' : 'pointer';
@@ -40677,7 +40677,7 @@ function requireCancel () {
40677
40677
  var CancelExports = /*@__PURE__*/ requireCancel();
40678
40678
  var CancelIcon = /*@__PURE__*/getDefaultExportFromCjs(CancelExports);
40679
40679
 
40680
- var _templateObject$k, _templateObject2$f, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$4, _templateObject8$4, _templateObject9$3, _templateObject10$3, _templateObject11$3, _templateObject12$3, _templateObject13$2, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
40680
+ var _templateObject$k, _templateObject2$f, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$4, _templateObject8$4, _templateObject9$3, _templateObject10$3, _templateObject11$3, _templateObject12$3, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
40681
40681
  dt.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral$1(["\n position: relative;\n cursor: pointer;\n overflow: hidden;\n padding: 10px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n height: 100%;\n transition: border 0.2s ease;\n\n .image_wrapper {\n position: relative;\n padding-top: 10px;\n width: 100px;\n height: 100px;\n border-radius: 4px;\n svg {\n position: absolute;\n right: -11px;\n top: 0px;\n }\n img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n }\n\n .video_wrapper {\n padding: 5px 10px;\n background: #eee;\n margin-top: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n svg {\n color: red;\n }\n }\n\n .file_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n svg {\n font-size: 20px;\n color: red;\n margin-left: 10px;\n }\n }\n\n label {\n cursor: pointer;\n display: flex;\n .MuiSvgIcon-fontSizeLarge {\n font-size: 5.1875rem;\n }\n\n svg {\n transform: scale(0.8);\n transition: transform 0.2s ease;\n }\n }\n input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &.full {\n display: flex;\n align-items: center;\n justify-content: center;\n\n header {\n margin-right: 15px;\n }\n\n label {\n align-items: center;\n justify-content: center;\n width: 100%;\n }\n\n label svg {\n transform: scale(1);\n }\n }\n\n &.uploaded {\n border: 1px solid rgba(0, 0, 0, 0.3);\n\n header {\n color: rgba(0, 0, 0, 0.74);\n }\n\n label svg {\n transform: scale(1);\n }\n }\n"])));
40682
40682
  dt.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral$1(["\n position: absolute;\n z-index: 2;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: #fff;\n border-radius: 4px;\n"])));
40683
40683
  dt.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n padding: 0 30px;\n > div {\n width: 100%;\n text-align: center;\n }\n"])));
@@ -40698,9 +40698,9 @@ var CancelButton = dt.div(_templateObject11$3 || (_templateObject11$3 = _taggedT
40698
40698
  });
40699
40699
  var InputFileContainer = dt.div(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteral$1(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\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"])));
40700
40700
  var UploadInput = dt.input(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteral$1(["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"])));
40701
- dt.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteral$1(["\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"])));
40702
- var ImagePlaceholder = dt.div(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteral$1(["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"])));
40703
- var InputLabel = dt.label(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref3) {
40701
+ dt.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteral$1(["\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"])));
40702
+ var ImagePlaceholder = dt.div(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteral$1(["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"])));
40703
+ var InputLabel = dt.label(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref3) {
40704
40704
  var theme = _ref3.theme;
40705
40705
  var _a;
40706
40706
  var primaryColor = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary;
@@ -40709,7 +40709,7 @@ var InputLabel = dt.label(_templateObject16$1 || (_templateObject16$1 = _taggedT
40709
40709
  return 'var(--primary-color, #06c68f)';
40710
40710
  });
40711
40711
  // UploaderButton
40712
- dt.label(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 4px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n"])), function (_ref4) {
40712
+ dt.label(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteral$1(["\n cursor: pointer;\n color: #fff;\n background: ", ";\n font-size: 11px;\n padding: 4px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n"])), function (_ref4) {
40713
40713
  var theme = _ref4.theme;
40714
40714
  var _a;
40715
40715
  var primaryColor = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary;
@@ -76987,7 +76987,7 @@ function requirePlayers () {
76987
76987
  canPlay: import_patterns.canPlay.youtube,
76988
76988
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76989
76989
  /* webpackChunkName: 'reactPlayerYouTube' */
76990
- './YouTube-aCsy9GCc.js'
76990
+ './YouTube-DAIEadSc.js'
76991
76991
  ); }).then(function (n) { return n.YouTube; }))
76992
76992
  },
76993
76993
  {
@@ -76996,7 +76996,7 @@ function requirePlayers () {
76996
76996
  canPlay: import_patterns.canPlay.soundcloud,
76997
76997
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76998
76998
  /* webpackChunkName: 'reactPlayerSoundCloud' */
76999
- './SoundCloud-CLTAypO_.js'
76999
+ './SoundCloud-BhXPdJiG.js'
77000
77000
  ); }).then(function (n) { return n.SoundCloud; }))
77001
77001
  },
77002
77002
  {
@@ -77005,7 +77005,7 @@ function requirePlayers () {
77005
77005
  canPlay: import_patterns.canPlay.vimeo,
77006
77006
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77007
77007
  /* webpackChunkName: 'reactPlayerVimeo' */
77008
- './Vimeo-D3_12JJC.js'
77008
+ './Vimeo-DvGEL0c6.js'
77009
77009
  ); }).then(function (n) { return n.Vimeo; }))
77010
77010
  },
77011
77011
  {
@@ -77014,7 +77014,7 @@ function requirePlayers () {
77014
77014
  canPlay: import_patterns.canPlay.mux,
77015
77015
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77016
77016
  /* webpackChunkName: 'reactPlayerMux' */
77017
- './Mux-Bp6MFxPb.js'
77017
+ './Mux-CJzLFb5n.js'
77018
77018
  ); }).then(function (n) { return n.Mux; }))
77019
77019
  },
77020
77020
  {
@@ -77023,7 +77023,7 @@ function requirePlayers () {
77023
77023
  canPlay: import_patterns.canPlay.facebook,
77024
77024
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77025
77025
  /* webpackChunkName: 'reactPlayerFacebook' */
77026
- './Facebook-D96yZ-Wv.js'
77026
+ './Facebook-F1hTNyHn.js'
77027
77027
  ); }).then(function (n) { return n.Facebook; }))
77028
77028
  },
77029
77029
  {
@@ -77032,7 +77032,7 @@ function requirePlayers () {
77032
77032
  canPlay: import_patterns.canPlay.streamable,
77033
77033
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77034
77034
  /* webpackChunkName: 'reactPlayerStreamable' */
77035
- './Streamable-BYw1N66m.js'
77035
+ './Streamable-B2K7lHBF.js'
77036
77036
  ); }).then(function (n) { return n.Streamable; }))
77037
77037
  },
77038
77038
  {
@@ -77041,7 +77041,7 @@ function requirePlayers () {
77041
77041
  canPlay: import_patterns.canPlay.wistia,
77042
77042
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77043
77043
  /* webpackChunkName: 'reactPlayerWistia' */
77044
- './Wistia-DyxKLkXI.js'
77044
+ './Wistia-BuZhl_AZ.js'
77045
77045
  ); }).then(function (n) { return n.Wistia; }))
77046
77046
  },
77047
77047
  {
@@ -77050,7 +77050,7 @@ function requirePlayers () {
77050
77050
  canPlay: import_patterns.canPlay.twitch,
77051
77051
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77052
77052
  /* webpackChunkName: 'reactPlayerTwitch' */
77053
- './Twitch-BHVmZejB.js'
77053
+ './Twitch-Ci9mpiwN.js'
77054
77054
  ); }).then(function (n) { return n.Twitch; }))
77055
77055
  },
77056
77056
  {
@@ -77059,7 +77059,7 @@ function requirePlayers () {
77059
77059
  canPlay: import_patterns.canPlay.dailymotion,
77060
77060
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77061
77061
  /* webpackChunkName: 'reactPlayerDailyMotion' */
77062
- './DailyMotion-Dc8Jt5rL.js'
77062
+ './DailyMotion-ncf2EGzH.js'
77063
77063
  ); }).then(function (n) { return n.DailyMotion; }))
77064
77064
  },
77065
77065
  {
@@ -77068,7 +77068,7 @@ function requirePlayers () {
77068
77068
  canPlay: import_patterns.canPlay.mixcloud,
77069
77069
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77070
77070
  /* webpackChunkName: 'reactPlayerMixcloud' */
77071
- './Mixcloud-BlY20QI9.js'
77071
+ './Mixcloud-CQ_ABR83.js'
77072
77072
  ); }).then(function (n) { return n.Mixcloud; }))
77073
77073
  },
77074
77074
  {
@@ -77077,7 +77077,7 @@ function requirePlayers () {
77077
77077
  canPlay: import_patterns.canPlay.vidyard,
77078
77078
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77079
77079
  /* webpackChunkName: 'reactPlayerVidyard' */
77080
- './Vidyard-ClFsw8nL.js'
77080
+ './Vidyard-CS8k2GVk.js'
77081
77081
  ); }).then(function (n) { return n.Vidyard; }))
77082
77082
  },
77083
77083
  {
@@ -77086,7 +77086,7 @@ function requirePlayers () {
77086
77086
  canPlay: import_patterns.canPlay.kaltura,
77087
77087
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77088
77088
  /* webpackChunkName: 'reactPlayerKaltura' */
77089
- './Kaltura-DK-h5jtl.js'
77089
+ './Kaltura-UmW08K7Z.js'
77090
77090
  ); }).then(function (n) { return n.Kaltura; }))
77091
77091
  },
77092
77092
  {
@@ -77098,7 +77098,7 @@ function requirePlayers () {
77098
77098
  },
77099
77099
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77100
77100
  /* webpackChunkName: 'reactPlayerFilePlayer' */
77101
- './FilePlayer-B60YEygK.js'
77101
+ './FilePlayer-BIUb9xkU.js'
77102
77102
  ); }).then(function (n) { return n.FilePlayer; }))
77103
77103
  }
77104
77104
  ];
@@ -77919,7 +77919,7 @@ function requireReactPlayer () {
77919
77919
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
77920
77920
  const Preview = (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77921
77921
  /* webpackChunkName: 'reactPlayerPreview' */
77922
- './Preview-Ipafps1S.js'
77922
+ './Preview-BFqTVez2.js'
77923
77923
  ); }).then(function (n) { return n.Preview; }));
77924
77924
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
77925
77925
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -78128,7 +78128,7 @@ function requireLib () {
78128
78128
  var libExports = /*@__PURE__*/ requireLib();
78129
78129
  var ReactPlayer = /*@__PURE__*/getDefaultExportFromCjs(libExports);
78130
78130
 
78131
- var _templateObject$a, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$2, _templateObject13$1;
78131
+ var _templateObject$a, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$2, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1;
78132
78132
  var StyledVideoPlayerWrapper = dt.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral$1(["\n cursor: pointer;\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > .react-player {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n border-radius: 8px;\n height: 50%;\n\n & > video {\n height: fit-content;\n width: 100%;\n object-fit: contain;\n border-radius: 8px;\n background-color: var(--neutral-colors-dark);\n }\n }\n"])));
78133
78133
  var StyledWrapper = dt.div(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral$1(["\n position: relative;\n z-index: 1;\n width: 100%;\n border-radius: 8px;\n overflow: hidden;\n\n &::before {\n content: '';\n display: block;\n padding-top: 56.25%;\n }\n\n & > ", " {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n"])), StyledVideoPlayerWrapper);
78134
78134
  var StyledPlayerLoader = dt.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral$1(["\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"])));
@@ -78139,6 +78139,19 @@ var StyledSubtitles = dt.div(_templateObject7$2 || (_templateObject7$2 = _tagged
78139
78139
  var $controls = _ref.$controls;
78140
78140
  return $controls ? '60px' : '10px';
78141
78141
  });
78142
+ var StyledKeyboardIndicatorContainer = dt.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n z-index: 110;\n pointer-events: none;\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: 88px;\n min-height: 72px;\n padding: 14px 18px;\n border-radius: 12px;\n background: rgba(2, 2, 16, 0.62);\n color: #fff;\n backdrop-filter: blur(4px);\n"])), function (_ref2) {
78143
+ var $position = _ref2.$position;
78144
+ if ($position === 'center') {
78145
+ return "\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n ";
78146
+ }
78147
+ if ($position === 'left') {
78148
+ return "\n top: 50%;\n left: 24px;\n transform: translateY(-50%);\n ";
78149
+ }
78150
+ return "\n top: 50%;\n right: 24px;\n transform: translateY(-50%);\n ";
78151
+ });
78152
+ var StyledKeyboardSeekContainer = dt.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 16px;\n font-weight: 700;\n line-height: 1;\n"])));
78153
+ var StyledKeyboardVolumeContainer = dt.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral$1(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n"])));
78154
+ var StyledKeyboardVolumeLabel = dt.span(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral$1(["\n font-size: 14px;\n font-weight: 700;\n line-height: 1;\n"])));
78142
78155
  var HLS_SUBTITLE_STYLES = "\n /* Hide native HLS subtitles completely - comprehensive approach */\n video::cue {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::-webkit-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::cue-region {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::-webkit-media-text-track-container {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n /* Target ReactPlayer specifically */\n .react-player video::cue {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .react-player video::-webkit-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .react-player video::cue-region {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .react-player video::-webkit-media-text-track-container {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n /* Additional selectors for different browsers */\n video::-moz-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n video::-ms-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n /* Hide any subtitle overlays */\n .react-player video + div[style*=\"position: absolute\"] {\n display: none !important;\n }\n \n /* Target HLS video player specifically */\n .hls-video-player::cue {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .hls-video-player::-webkit-media-text-track-display {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .hls-video-player::-webkit-media-text-track-container {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n \n .hls-video-player::cue-region {\n display: none !important;\n visibility: hidden !important;\n opacity: 0 !important;\n }\n";
78143
78156
  var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
78144
78157
  var addSubtitleStyles = function addSubtitleStyles() {
@@ -78161,14 +78174,14 @@ var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
78161
78174
  };
78162
78175
  };
78163
78176
  // Notes functionality styles
78164
- var StyledNoteMarkersOverlay = dt.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 45px;\n left: 5px;\n right: 5px;\n height: 6px;\n z-index: ", ";\n opacity: 0;\n transition: opacity 0.3s ease;\n pointer-events: none;\n overflow: visible;\n\n ", "\n\n ", "\n\n &.controls-visible {\n opacity: 1 !important;\n }\n"])), function (props) {
78177
+ var StyledNoteMarkersOverlay = dt.div(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 45px;\n left: 5px;\n right: 5px;\n height: 6px;\n z-index: ", ";\n opacity: 0;\n transition: opacity 0.3s ease;\n pointer-events: none;\n overflow: visible;\n\n ", "\n\n ", "\n\n &.controls-visible {\n opacity: 1 !important;\n }\n"])), function (props) {
78165
78178
  return props.$isFullscreen ? 2147483646 : 15;
78166
78179
  }, function (props) {
78167
78180
  return props.$isFullscreen ? "\n position: absolute;\n left: 5px;\n right: 5px;\n bottom: 42px;\n top: auto;\n height: 6px;\n z-index: 2147483646;\n width: 100%;\n opacity: 1;\n visibility: visible;\n " : '';
78168
78181
  }, function (props) {
78169
78182
  return !props.$isFullscreen ? "\n ".concat(StyledWrapper, ":hover & {\n opacity: 1 !important;\n }\n ") : '';
78170
78183
  });
78171
- var StyledNoteMarker = dt.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n left: 0;\n right: 0;\n bottom: -3px;\n width: ", ";\n height: ", ";\n background-color: #ffd700;\n border-radius: 50%;\n cursor: pointer;\n pointer-events: auto;\n border: 2px solid #fff;\n box-shadow: ", ";\n transition: all 0.2s ease;\n z-index: ", ";\n\n &:hover {\n transform: translateX(-50%) scale(1.2);\n background-color: #ffed4e;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);\n }\n"])), function (props) {
78184
+ var StyledNoteMarker = dt.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n left: 0;\n right: 0;\n bottom: -3px;\n width: ", ";\n height: ", ";\n background-color: #ffd700;\n border-radius: 50%;\n cursor: pointer;\n pointer-events: auto;\n border: 2px solid #fff;\n box-shadow: ", ";\n transition: all 0.2s ease;\n z-index: ", ";\n\n &:hover {\n transform: translateX(-50%) scale(1.2);\n background-color: #ffed4e;\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);\n }\n"])), function (props) {
78172
78185
  return props.$isFullscreen ? "top: auto; bottom: 0; transform: translateX(-50%);" : "bottom: -3px; transform: translateX(-50%);";
78173
78186
  }, function (props) {
78174
78187
  return props.$isFullscreen ? '12px' : '10px';
@@ -78179,12 +78192,12 @@ var StyledNoteMarker = dt.div(_templateObject9$2 || (_templateObject9$2 = _tagge
78179
78192
  }, function (props) {
78180
78193
  return props.$isFullscreen ? 2147483647 : 20;
78181
78194
  });
78182
- var StyledNoteTooltip = dt.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 20px;\n left: 50%;\n transform: translateX(-50%);\n background: rgba(0, 0, 0, 0.9);\n color: white;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n white-space: nowrap;\n max-width: 200px;\n text-overflow: ellipsis;\n overflow: hidden;\n pointer-events: none;\n z-index: 2147483647;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n border: 4px solid transparent;\n border-top-color: rgba(0, 0, 0, 0.9);\n }\n"])));
78183
- var StyledNoteTime = dt.div(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral$1(["\n font-size: 10px;\n opacity: 0.8;\n margin-top: 2px;\n"])));
78184
- dt.div(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: ", ";\n pointer-events: none;\n"])), function (props) {
78195
+ var StyledNoteTooltip = dt.div(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 20px;\n left: 50%;\n transform: translateX(-50%);\n background: rgba(0, 0, 0, 0.9);\n color: white;\n padding: 8px 12px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n white-space: nowrap;\n max-width: 200px;\n text-overflow: ellipsis;\n overflow: hidden;\n pointer-events: none;\n z-index: 2147483647;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n border: 4px solid transparent;\n border-top-color: rgba(0, 0, 0, 0.9);\n }\n"])));
78196
+ var StyledNoteTime = dt.div(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteral$1(["\n font-size: 10px;\n opacity: 0.8;\n margin-top: 2px;\n"])));
78197
+ dt.div(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: ", ";\n pointer-events: none;\n"])), function (props) {
78185
78198
  return props.$isFullscreen ? 2147483646 : 999;
78186
78199
  });
78187
- var StyledNoteModal = dt.div(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 70px;\n background: white;\n border-radius: 16px;\n box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n border: 1px solid #e2e8f0;\n z-index: ", ";\n width: 320px;\n height: 270px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n\n ", "\n\n &::after,\n &::before {\n content: '';\n position: absolute;\n top: 100%;\n transform: translateX(-50%);\n border: 8px solid transparent;\n }\n\n &::after {\n border-top-color: white;\n z-index: 2;\n }\n\n &::before {\n border-top-color: #e2e8f0;\n z-index: 1;\n margin-top: 1px;\n }\n"])), function (props) {
78200
+ var StyledNoteModal = dt.div(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n bottom: 70px;\n background: white;\n border-radius: 16px;\n box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n border: 1px solid #e2e8f0;\n z-index: ", ";\n width: 320px;\n height: 270px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n\n ", "\n\n &::after,\n &::before {\n content: '';\n position: absolute;\n top: 100%;\n transform: translateX(-50%);\n border: 8px solid transparent;\n }\n\n &::after {\n border-top-color: white;\n z-index: 2;\n }\n\n &::before {\n border-top-color: #e2e8f0;\n z-index: 1;\n margin-top: 1px;\n }\n"])), function (props) {
78188
78201
  return props.$isFullscreen ? 2147483647 : 1000;
78189
78202
  }, function (props) {
78190
78203
  var position = props.$position || 50;
@@ -84815,9 +84828,14 @@ function usePlayerControls(_ref) {
84815
84828
  _useState14 = _slicedToArray$1(_useState13, 2),
84816
84829
  currentSubtitle = _useState14[0],
84817
84830
  setCurrentSubtitle = _useState14[1];
84831
+ var _useState15 = React.useState(null),
84832
+ _useState16 = _slicedToArray$1(_useState15, 2),
84833
+ keyboardIndicator = _useState16[0],
84834
+ setKeyboardIndicator = _useState16[1];
84818
84835
  var lastSubtitleIndexRef = React.useRef(null);
84819
84836
  var lastPlaybackTimeRef = React.useRef(0);
84820
84837
  var lastCallTimeRef = React.useRef(Date.now());
84838
+ var keyboardIndicatorTimeoutRef = React.useRef(null);
84821
84839
  // Use PiP context instead of local state
84822
84840
  var _usePiP = usePiP(),
84823
84841
  isPiPActive = _usePiP.isPiPActive,
@@ -84897,6 +84915,23 @@ function usePlayerControls(_ref) {
84897
84915
  React.useEffect(function () {
84898
84916
  setStartPlayed(false);
84899
84917
  }, [url]);
84918
+ React.useEffect(function () {
84919
+ var _a;
84920
+ var activeElement = document.activeElement;
84921
+ var isEditableTarget = activeElement instanceof HTMLInputElement || activeElement instanceof HTMLTextAreaElement || activeElement instanceof HTMLElement && activeElement.isContentEditable;
84922
+ if (!isEditableTarget) {
84923
+ (_a = playerContainerRef.current) === null || _a === void 0 ? void 0 : _a.focus({
84924
+ preventScroll: true
84925
+ });
84926
+ }
84927
+ }, [url]);
84928
+ React.useEffect(function () {
84929
+ return function () {
84930
+ if (keyboardIndicatorTimeoutRef.current) {
84931
+ window.clearTimeout(keyboardIndicatorTimeoutRef.current);
84932
+ }
84933
+ };
84934
+ }, []);
84900
84935
  // Cleanup effect to handle component unmounting while in PiP mode
84901
84936
  React.useEffect(function () {
84902
84937
  var currentVideoPlayerRef = videoPlayerRef.current;
@@ -85158,21 +85193,51 @@ function usePlayerControls(_ref) {
85158
85193
  enterPiP(videoElement, pipVideoState);
85159
85194
  }
85160
85195
  };
85196
+ var showKeyboardIndicator = React.useCallback(function (indicator) {
85197
+ setKeyboardIndicator(indicator);
85198
+ if (keyboardIndicatorTimeoutRef.current) {
85199
+ window.clearTimeout(keyboardIndicatorTimeoutRef.current);
85200
+ }
85201
+ keyboardIndicatorTimeoutRef.current = window.setTimeout(function () {
85202
+ setKeyboardIndicator(null);
85203
+ }, 900);
85204
+ }, []);
85161
85205
  var handleKeyDown = React.useCallback(function (event) {
85162
85206
  if ('code' in event) {
85163
85207
  switch (event.code) {
85164
85208
  case 'ArrowLeft':
85165
85209
  event.preventDefault();
85166
- rewindHandler();
85210
+ if (videoPlayerRef.current) {
85211
+ var current = videoPlayerRef.current.getCurrentTime();
85212
+ videoPlayerRef.current.seekTo(Math.max(current - 15, 0));
85213
+ }
85214
+ showKeyboardIndicator({
85215
+ type: 'seek-backward',
85216
+ position: 'left'
85217
+ });
85167
85218
  break;
85168
85219
  case 'ArrowRight':
85169
85220
  event.preventDefault();
85170
- handleFastForward();
85221
+ if (videoPlayerRef.current) {
85222
+ var _current = videoPlayerRef.current.getCurrentTime();
85223
+ var _duration = videoPlayerRef.current.getDuration();
85224
+ var nextTime = _current + 15;
85225
+ videoPlayerRef.current.seekTo(_duration ? Math.min(nextTime, _duration) : nextTime);
85226
+ }
85227
+ showKeyboardIndicator({
85228
+ type: 'seek-forward',
85229
+ position: 'right'
85230
+ });
85171
85231
  break;
85172
85232
  case 'ArrowUp':
85173
85233
  event.preventDefault();
85174
85234
  setVideoState(function (prev) {
85175
85235
  var newVolume = Math.min(prev.volume + 0.1, 1);
85236
+ showKeyboardIndicator({
85237
+ type: 'volume-up',
85238
+ position: 'center',
85239
+ volume: newVolume
85240
+ });
85176
85241
  return _objectSpread2$1(_objectSpread2$1({}, prev), {}, {
85177
85242
  volume: newVolume,
85178
85243
  muted: newVolume === 0,
@@ -85184,6 +85249,11 @@ function usePlayerControls(_ref) {
85184
85249
  event.preventDefault();
85185
85250
  setVideoState(function (prev) {
85186
85251
  var newVolume = Math.max(prev.volume - 0.1, 0);
85252
+ showKeyboardIndicator({
85253
+ type: 'volume-down',
85254
+ position: 'center',
85255
+ volume: newVolume
85256
+ });
85187
85257
  return _objectSpread2$1(_objectSpread2$1({}, prev), {}, {
85188
85258
  volume: newVolume,
85189
85259
  muted: newVolume === 0,
@@ -85193,7 +85263,7 @@ function usePlayerControls(_ref) {
85193
85263
  break;
85194
85264
  }
85195
85265
  }
85196
- }, [rewindHandler, handleFastForward, setVideoState]);
85266
+ }, [setVideoState, showKeyboardIndicator]);
85197
85267
  var handleSpaceKeyDown = React.useCallback(function (event) {
85198
85268
  if ('code' in event) {
85199
85269
  switch (event.code) {
@@ -85252,6 +85322,7 @@ function usePlayerControls(_ref) {
85252
85322
  isControlsActive: isControlsActive,
85253
85323
  currentSubtitle: currentSubtitle,
85254
85324
  setCurrentSubtitle: setCurrentSubtitle,
85325
+ keyboardIndicator: keyboardIndicator,
85255
85326
  playing: isPlaying
85256
85327
  };
85257
85328
  }
@@ -85421,28 +85492,138 @@ var NoteEditModal = function NoteEditModal(_ref) {
85421
85492
 
85422
85493
  var MAX_FULLSCREEN_Z_INDEX = 2147483646;
85423
85494
  var MAX_FULLSCREEN_MARKER_Z_INDEX = 2147483647;
85424
- var VideoPlayer = function VideoPlayer(_ref) {
85425
- var customStyles = _ref.customStyles,
85426
- _ref$startTime = _ref.startTime,
85427
- startTime = _ref$startTime === void 0 ? 0 : _ref$startTime,
85428
- loading = _ref.loading,
85429
- setLoading = _ref.setLoading,
85430
- handleTrackProgress = _ref.handleTrackProgress,
85431
- url = _ref.url,
85432
- subtitleUrl = _ref.subtitle,
85433
- handleNextVideo = _ref.handleNextVideo,
85434
- handlePreviousVideo = _ref.handlePreviousVideo,
85435
- isNextVideo = _ref.isNextVideo,
85436
- isPreviousVideo = _ref.isPreviousVideo,
85437
- isPlaying = _ref.isPlaying,
85438
- setIsPlaying = _ref.setIsPlaying,
85439
- _ref$shouldPlayerBeFo = _ref.shouldPlayerBeFocusedOnSpaceClick,
85440
- shouldPlayerBeFocusedOnSpaceClick = _ref$shouldPlayerBeFo === void 0 ? false : _ref$shouldPlayerBeFo,
85441
- showFavorite = _ref.showFavorite,
85442
- _ref$isFavorite = _ref.isFavorite,
85443
- isFavorite = _ref$isFavorite === void 0 ? false : _ref$isFavorite,
85444
- _ref$toggleFavorite = _ref.toggleFavorite,
85445
- toggleFavorite = _ref$toggleFavorite === void 0 ? /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
85495
+ var VolumeIndicatorIcon = function VolumeIndicatorIcon(_ref) {
85496
+ var _ref$volume = _ref.volume,
85497
+ volume = _ref$volume === void 0 ? 0 : _ref$volume,
85498
+ isVolumeDown = _ref.isVolumeDown;
85499
+ var percent = Math.round(volume * 100);
85500
+ var isMuted = percent === 0;
85501
+ var isLow = percent > 0 && percent <= 30;
85502
+ var isMedium = percent > 30 && percent <= 70;
85503
+ var isHigh = percent > 70;
85504
+ return require$$2$2.jsxs("svg", {
85505
+ width: '44',
85506
+ height: '44',
85507
+ viewBox: '0 0 24 24',
85508
+ fill: 'none',
85509
+ "aria-hidden": true,
85510
+ children: [require$$2$2.jsx("path", {
85511
+ d: 'M3 9V15H7L12 20V4L7 9H3Z',
85512
+ fill: 'white'
85513
+ }), isMuted && require$$2$2.jsx("path", {
85514
+ d: 'M14 9L20 15M20 9L14 15',
85515
+ stroke: 'white',
85516
+ strokeWidth: '2',
85517
+ strokeLinecap: 'round'
85518
+ }), (isLow || isMedium || isHigh) && require$$2$2.jsx("path", {
85519
+ d: 'M15.8 12C15.8 11.08 15.27 10.28 14.5 9.9V14.1C15.27 13.72 15.8 12.92 15.8 12Z',
85520
+ fill: 'white'
85521
+ }), (isMedium || isHigh) && require$$2$2.jsx("path", {
85522
+ d: 'M17.8 12C17.8 10.23 16.78 8.7 15.3 7.98V9.6C16.1 10.14 16.6 11.02 16.6 12C16.6 12.98 16.1 13.86 15.3 14.4V16.02C16.78 15.3 17.8 13.77 17.8 12Z',
85523
+ fill: 'white'
85524
+ }), isHigh && require$$2$2.jsx("path", {
85525
+ d: 'M14.6 5.4V7.05C16.97 7.83 18.7 9.72 18.7 12C18.7 14.28 16.97 16.17 14.6 16.95V18.6C17.86 17.79 20.2 15.18 20.2 12C20.2 8.82 17.86 6.21 14.6 5.4Z',
85526
+ fill: 'white'
85527
+ }), isVolumeDown ? require$$2$2.jsxs(require$$2$2.Fragment, {
85528
+ children: [require$$2$2.jsx("path", {
85529
+ d: 'M9 12H15',
85530
+ stroke: 'white',
85531
+ strokeWidth: '2',
85532
+ strokeLinecap: 'round'
85533
+ }), require$$2$2.jsx("path", {
85534
+ d: 'M17.6 9.4L20 12L17.6 14.6',
85535
+ stroke: 'white',
85536
+ strokeWidth: '1.6',
85537
+ strokeLinecap: 'round'
85538
+ })]
85539
+ }) : require$$2$2.jsxs(require$$2$2.Fragment, {
85540
+ children: [require$$2$2.jsx("path", {
85541
+ d: 'M9 12H15',
85542
+ stroke: 'white',
85543
+ strokeWidth: '2',
85544
+ strokeLinecap: 'round'
85545
+ }), require$$2$2.jsx("path", {
85546
+ d: 'M12 9V15',
85547
+ stroke: 'white',
85548
+ strokeWidth: '2',
85549
+ strokeLinecap: 'round'
85550
+ }), require$$2$2.jsx("path", {
85551
+ d: 'M17.6 14.6L20 12L17.6 9.4',
85552
+ stroke: 'white',
85553
+ strokeWidth: '1.6',
85554
+ strokeLinecap: 'round'
85555
+ })]
85556
+ })]
85557
+ });
85558
+ };
85559
+ var KeyboardIndicator = function KeyboardIndicator(_ref2) {
85560
+ var indicator = _ref2.indicator;
85561
+ var _a;
85562
+ if (!indicator) return null;
85563
+ return require$$2$2.jsxs(StyledKeyboardIndicatorContainer, {
85564
+ "$position": indicator.position,
85565
+ children: [(indicator.type === 'volume-up' || indicator.type === 'volume-down') && require$$2$2.jsxs(StyledKeyboardVolumeContainer, {
85566
+ children: [require$$2$2.jsx(VolumeIndicatorIcon, {
85567
+ volume: indicator.volume,
85568
+ isVolumeDown: indicator.type === 'volume-down'
85569
+ }), require$$2$2.jsxs(StyledKeyboardVolumeLabel, {
85570
+ children: [Math.round(((_a = indicator.volume) !== null && _a !== void 0 ? _a : 0) * 100), "%"]
85571
+ })]
85572
+ }), indicator.type === 'seek-backward' && require$$2$2.jsxs(StyledKeyboardSeekContainer, {
85573
+ children: [require$$2$2.jsxs("svg", {
85574
+ width: '34',
85575
+ height: '34',
85576
+ viewBox: '0 0 24 24',
85577
+ fill: 'white',
85578
+ "aria-hidden": true,
85579
+ children: [require$$2$2.jsx("path", {
85580
+ d: 'M15.7 6.3A1 1 0 0 1 17 7.9L12.9 12L17 16.1A1 1 0 1 1 15.6 17.5L10.8 12.7A1 1 0 0 1 10.8 11.3L15.7 6.3Z'
85581
+ }), require$$2$2.jsx("path", {
85582
+ d: 'M11.4 6.3A1 1 0 0 1 12.8 7.7L8.5 12L12.8 16.3A1 1 0 0 1 11.4 17.7L6.4 12.7A1 1 0 0 1 6.4 11.3L11.4 6.3Z'
85583
+ })]
85584
+ }), require$$2$2.jsx("span", {
85585
+ children: "-15s"
85586
+ })]
85587
+ }), indicator.type === 'seek-forward' && require$$2$2.jsxs(StyledKeyboardSeekContainer, {
85588
+ children: [require$$2$2.jsx("span", {
85589
+ children: "+15s"
85590
+ }), require$$2$2.jsxs("svg", {
85591
+ width: '34',
85592
+ height: '34',
85593
+ viewBox: '0 0 24 24',
85594
+ fill: 'white',
85595
+ "aria-hidden": true,
85596
+ children: [require$$2$2.jsx("path", {
85597
+ d: 'M8.3 6.3A1 1 0 0 0 7 7.9L11.1 12L7 16.1A1 1 0 1 0 8.4 17.5L13.2 12.7A1 1 0 0 0 13.2 11.3L8.3 6.3Z'
85598
+ }), require$$2$2.jsx("path", {
85599
+ d: 'M12.6 6.3A1 1 0 0 0 11.2 7.7L15.5 12L11.2 16.3A1 1 0 0 0 12.6 17.7L17.6 12.7A1 1 0 0 0 17.6 11.3L12.6 6.3Z'
85600
+ })]
85601
+ })]
85602
+ })]
85603
+ });
85604
+ };
85605
+ var VideoPlayer = function VideoPlayer(_ref3) {
85606
+ var customStyles = _ref3.customStyles,
85607
+ _ref3$startTime = _ref3.startTime,
85608
+ startTime = _ref3$startTime === void 0 ? 0 : _ref3$startTime,
85609
+ loading = _ref3.loading,
85610
+ setLoading = _ref3.setLoading,
85611
+ handleTrackProgress = _ref3.handleTrackProgress,
85612
+ url = _ref3.url,
85613
+ subtitleUrl = _ref3.subtitle,
85614
+ handleNextVideo = _ref3.handleNextVideo,
85615
+ handlePreviousVideo = _ref3.handlePreviousVideo,
85616
+ isNextVideo = _ref3.isNextVideo,
85617
+ isPreviousVideo = _ref3.isPreviousVideo,
85618
+ isPlaying = _ref3.isPlaying,
85619
+ setIsPlaying = _ref3.setIsPlaying,
85620
+ _ref3$shouldPlayerBeF = _ref3.shouldPlayerBeFocusedOnSpaceClick,
85621
+ shouldPlayerBeFocusedOnSpaceClick = _ref3$shouldPlayerBeF === void 0 ? false : _ref3$shouldPlayerBeF,
85622
+ showFavorite = _ref3.showFavorite,
85623
+ _ref3$isFavorite = _ref3.isFavorite,
85624
+ isFavorite = _ref3$isFavorite === void 0 ? false : _ref3$isFavorite,
85625
+ _ref3$toggleFavorite = _ref3.toggleFavorite,
85626
+ toggleFavorite = _ref3$toggleFavorite === void 0 ? /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
85446
85627
  return _regeneratorRuntime().wrap(function _callee$(_context) {
85447
85628
  while (1) switch (_context.prev = _context.next) {
85448
85629
  case 0:
@@ -85450,22 +85631,22 @@ var VideoPlayer = function VideoPlayer(_ref) {
85450
85631
  return _context.stop();
85451
85632
  }
85452
85633
  }, _callee);
85453
- })) : _ref$toggleFavorite,
85454
- showDownload = _ref.showDownload,
85455
- downloadUrl = _ref.downloadUrl,
85456
- downloadFileName = _ref.downloadFileName,
85457
- onDownload = _ref.onDownload,
85458
- _ref$showPictureInPic = _ref.showPictureInPicture,
85459
- showPictureInPicture = _ref$showPictureInPic === void 0 ? true : _ref$showPictureInPic,
85460
- notes = _ref.notes,
85461
- videoDuration = _ref.videoDuration,
85462
- onNoteClick = _ref.onNoteClick,
85463
- editingNote = _ref.editingNote,
85464
- onNoteEdit = _ref.onNoteEdit,
85465
- onNoteSave = _ref.onNoteSave,
85466
- onNoteDelete = _ref.onNoteDelete,
85467
- onNoteCancelEdit = _ref.onNoteCancelEdit,
85468
- onAddNote = _ref.onAddNote;
85634
+ })) : _ref3$toggleFavorite,
85635
+ showDownload = _ref3.showDownload,
85636
+ downloadUrl = _ref3.downloadUrl,
85637
+ downloadFileName = _ref3.downloadFileName,
85638
+ onDownload = _ref3.onDownload,
85639
+ _ref3$showPictureInPi = _ref3.showPictureInPicture,
85640
+ showPictureInPicture = _ref3$showPictureInPi === void 0 ? true : _ref3$showPictureInPi,
85641
+ notes = _ref3.notes,
85642
+ videoDuration = _ref3.videoDuration,
85643
+ onNoteClick = _ref3.onNoteClick,
85644
+ editingNote = _ref3.editingNote,
85645
+ onNoteEdit = _ref3.onNoteEdit,
85646
+ onNoteSave = _ref3.onNoteSave,
85647
+ onNoteDelete = _ref3.onNoteDelete,
85648
+ onNoteCancelEdit = _ref3.onNoteCancelEdit,
85649
+ onAddNote = _ref3.onAddNote;
85469
85650
  var _a, _b, _c;
85470
85651
  var videoRef = React.useRef(null);
85471
85652
  var overlayRef = React.useRef(null);
@@ -85533,7 +85714,8 @@ var VideoPlayer = function VideoPlayer(_ref) {
85533
85714
  isPiPActive = _usePlayerControls.isPiPActive,
85534
85715
  isControlsActive = _usePlayerControls.isControlsActive,
85535
85716
  currentSubtitle = _usePlayerControls.currentSubtitle,
85536
- setCurrentSubtitle = _usePlayerControls.setCurrentSubtitle;
85717
+ setCurrentSubtitle = _usePlayerControls.setCurrentSubtitle,
85718
+ keyboardIndicator = _usePlayerControls.keyboardIndicator;
85537
85719
  // Initialize PiP state on component mount/URL change
85538
85720
  React.useEffect(function () {
85539
85721
  // Sync PiP state with actual browser state on mount and URL changes
@@ -85593,7 +85775,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85593
85775
  }
85594
85776
  }, [onNoteClick, onNoteEdit]);
85595
85777
  var handleSaveNote = /*#__PURE__*/function () {
85596
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
85778
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
85597
85779
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
85598
85780
  while (1) switch (_context2.prev = _context2.next) {
85599
85781
  case 0:
@@ -85625,7 +85807,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85625
85807
  }, _callee2);
85626
85808
  }));
85627
85809
  return function handleSaveNote() {
85628
- return _ref3.apply(this, arguments);
85810
+ return _ref5.apply(this, arguments);
85629
85811
  };
85630
85812
  }();
85631
85813
  var handleCancelEdit = function handleCancelEdit() {
@@ -85638,7 +85820,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85638
85820
  }
85639
85821
  };
85640
85822
  var handleDeleteNote = /*#__PURE__*/function () {
85641
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
85823
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
85642
85824
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
85643
85825
  while (1) switch (_context3.prev = _context3.next) {
85644
85826
  case 0:
@@ -85663,7 +85845,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85663
85845
  }, _callee3);
85664
85846
  }));
85665
85847
  return function handleDeleteNote() {
85666
- return _ref4.apply(this, arguments);
85848
+ return _ref6.apply(this, arguments);
85667
85849
  };
85668
85850
  }();
85669
85851
  // Sync editing state when external editing note changes
@@ -85795,10 +85977,18 @@ var VideoPlayer = function VideoPlayer(_ref) {
85795
85977
  videoRef.current = videoElement;
85796
85978
  }
85797
85979
  };
85980
+ var handleWrapperInteraction = function handleWrapperInteraction() {
85981
+ var _a;
85982
+ (_a = playerContainerRef.current) === null || _a === void 0 ? void 0 : _a.focus({
85983
+ preventScroll: true
85984
+ });
85985
+ };
85798
85986
  return require$$2$2.jsxs(StyledWrapper, {
85799
85987
  ref: playerContainerRef,
85800
85988
  tabIndex: 0,
85801
85989
  onMouseMove: mouseMoveHandler,
85990
+ onMouseDown: handleWrapperInteraction,
85991
+ onTouchStart: handleWrapperInteraction,
85802
85992
  style: customStyles,
85803
85993
  onClick: function onClick(e) {
85804
85994
  return e.stopPropagation();
@@ -85855,6 +86045,8 @@ var VideoPlayer = function VideoPlayer(_ref) {
85855
86045
  }), isSubtitlesChecked && currentSubtitle && require$$2$2.jsx(StyledSubtitles, {
85856
86046
  "$controls": isControlsActive,
85857
86047
  children: currentSubtitle
86048
+ }), require$$2$2.jsx(KeyboardIndicator, {
86049
+ indicator: keyboardIndicator
85858
86050
  })]
85859
86051
  }), require$$2$2.jsx(StyledControlsContainer, {
85860
86052
  ref: controlRef,