suada-components 1.14.0 → 1.14.2

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 (68) hide show
  1. package/dist/{DailyMotion-C56t9uqg.js → DailyMotion-B879fZIp.js} +1 -1
  2. package/dist/{DailyMotion-BXMn6KAV.esm.js → DailyMotion-D4LmQO_W.esm.js} +1 -1
  3. package/dist/{components/Facebook-rKM0xK0D.js → Facebook-CFGbzZng.js} +1 -1
  4. package/dist/{components/Facebook-DsGMW_RL.esm.js → Facebook-DCRnzVX_.esm.js} +1 -1
  5. package/dist/{FilePlayer-83O8vSjE.esm.js → FilePlayer-CqRC-kkM.esm.js} +1 -1
  6. package/dist/{FilePlayer-BUnkIHrE.js → FilePlayer-wtmGupiY.js} +1 -1
  7. package/dist/{Kaltura-BRPnVmjt.js → Kaltura-B5biRnxh.js} +1 -1
  8. package/dist/{components/Kaltura-ZQWkFeP4.esm.js → Kaltura-CPYazPDy.esm.js} +1 -1
  9. package/dist/{Mixcloud-259gXxyM.esm.js → Mixcloud-B9j_DAsI.esm.js} +1 -1
  10. package/dist/{Mixcloud-DQgAbO_k.js → Mixcloud-BtZBdUYf.js} +1 -1
  11. package/dist/{Mux-DWnL8TPR.esm.js → Mux-CtskXAvA.esm.js} +1 -1
  12. package/dist/{components/Mux-D3pJndfu.js → Mux-CwX0Bvy9.js} +1 -1
  13. package/dist/{Preview-BRTt_uNR.js → Preview-CCZGgYW1.js} +1 -1
  14. package/dist/{components/Preview-RpbBLT9N.esm.js → Preview-CIM0vkwR.esm.js} +1 -1
  15. package/dist/{components/SoundCloud-C28YPmW_.esm.js → SoundCloud-BZlNC7Xh.esm.js} +1 -1
  16. package/dist/{components/SoundCloud-CzR3PzMR.js → SoundCloud-CflnI1iR.js} +1 -1
  17. package/dist/{Streamable-Cb7rcbl4.esm.js → Streamable-CIRaQ0HF.esm.js} +1 -1
  18. package/dist/{components/Streamable-B4LPla6Z.js → Streamable-ZxhRSx88.js} +1 -1
  19. package/dist/{Twitch-BTHbLK7l.js → Twitch-D9AdPTpo.js} +1 -1
  20. package/dist/{components/Twitch-7ZmI4OSu.esm.js → Twitch-yMBQnDvs.esm.js} +1 -1
  21. package/dist/{components/Vidyard-DoGAhruy.js → Vidyard-Bju6_sKd.js} +1 -1
  22. package/dist/{components/Vidyard-Dkbh64Qd.esm.js → Vidyard-Cjs-2g4S.esm.js} +1 -1
  23. package/dist/{components/Vimeo-BdL1RlXS.esm.js → Vimeo-BFGEEsUt.esm.js} +1 -1
  24. package/dist/{Vimeo-Dy4WCWO0.js → Vimeo-DAmTxe9O.js} +1 -1
  25. package/dist/{Wistia-BV-0ZDaX.esm.js → Wistia-C8RvCFio.esm.js} +1 -1
  26. package/dist/{components/Wistia-BC40Ou8t.js → Wistia-D5M5_5T-.js} +1 -1
  27. package/dist/{components/YouTube-CdIKWltm.esm.js → YouTube-Crw0CT86.esm.js} +1 -1
  28. package/dist/{YouTube-DCrrjdHh.js → YouTube-DLazCb1c.js} +1 -1
  29. package/dist/components/{DailyMotion-Cn9rjifa.esm.js → DailyMotion-78ieBST4.esm.js} +1 -1
  30. package/dist/components/{DailyMotion-DUHiBkc_.js → DailyMotion-C5kBQAJf.js} +1 -1
  31. package/dist/{Facebook-BfZ66Gg_.esm.js → components/Facebook-B9q7-PDn.esm.js} +1 -1
  32. package/dist/{Facebook-BashWh-t.js → components/Facebook-Da7aQfaR.js} +1 -1
  33. package/dist/components/{FilePlayer-B_bPxxOZ.js → FilePlayer-Bki_1uWK.js} +1 -1
  34. package/dist/components/{FilePlayer-3kHrIv6v.esm.js → FilePlayer-CIKqQwZX.esm.js} +1 -1
  35. package/dist/{Kaltura-b2if5uec.esm.js → components/Kaltura-C0imzBB8.esm.js} +1 -1
  36. package/dist/components/{Kaltura-D4YUb-Sh.js → Kaltura-C33u4-qE.js} +1 -1
  37. package/dist/components/{Mixcloud-D-n6bYpF.esm.js → Mixcloud-Cr_I5lD8.esm.js} +1 -1
  38. package/dist/components/{Mixcloud-DnqSt6XT.js → Mixcloud-eGPur5fP.js} +1 -1
  39. package/dist/{Mux-BLTI9IWB.js → components/Mux-CIfzMJLz.js} +1 -1
  40. package/dist/components/{Mux-DOfxn4oU.esm.js → Mux-D1FCYOKE.esm.js} +1 -1
  41. package/dist/{Preview--GBpExF1.esm.js → components/Preview-BWXSUQsu.esm.js} +1 -1
  42. package/dist/components/{Preview-DsNK125j.js → Preview-C0Uqc6DI.js} +1 -1
  43. package/dist/{SoundCloud-DfWVM3yS.esm.js → components/SoundCloud-DbmjchGb.esm.js} +1 -1
  44. package/dist/{SoundCloud-DeywKljz.js → components/SoundCloud-VBY93K9a.js} +1 -1
  45. package/dist/{Streamable-0FgClTJ4.js → components/Streamable-COc7XyOA.js} +1 -1
  46. package/dist/components/{Streamable-CM8kykFu.esm.js → Streamable-DRMoyO6V.esm.js} +1 -1
  47. package/dist/{Twitch-3U797dxt.esm.js → components/Twitch-ChSLkUP1.esm.js} +1 -1
  48. package/dist/components/{Twitch-XQcvQrnq.js → Twitch-mN9fqACg.js} +1 -1
  49. package/dist/components/VideoPlayer/NoteEditModal.d.ts +2 -1
  50. package/dist/{Vidyard-B-WO0bkJ.js → components/Vidyard-DXsKZ0PT.js} +1 -1
  51. package/dist/{Vidyard-TWbzYwmu.esm.js → components/Vidyard-QtMgQ8Pk.esm.js} +1 -1
  52. package/dist/components/{Vimeo-BpIo4ge7.js → Vimeo-BDBQu0Y2.js} +1 -1
  53. package/dist/{Vimeo-CO7Cw7dD.esm.js → components/Vimeo-BpVtxa_W.esm.js} +1 -1
  54. package/dist/{Wistia-DfJIi1rZ.js → components/Wistia-Bbz-GliZ.js} +1 -1
  55. package/dist/components/{Wistia-BcLwi8Yz.esm.js → Wistia-DxKm5_o-.esm.js} +1 -1
  56. package/dist/components/{YouTube-Dq0U0pD1.js → YouTube-C5Qo7-fp.js} +1 -1
  57. package/dist/{YouTube-BU4YqXA9.esm.js → components/YouTube-JyITLlOR.esm.js} +1 -1
  58. package/dist/components/components/VideoPlayer/NoteEditModal.d.ts +2 -1
  59. package/dist/components/{index-BhLinqT5.esm.js → index-NTw33r0X.esm.js} +83 -43
  60. package/dist/components/{index-CKyWHAG8.js → index-OwV2kJJo.js} +83 -43
  61. package/dist/components/index.esm.js +1 -1
  62. package/dist/components/index.js +1 -1
  63. package/dist/icons/components/VideoPlayer/NoteEditModal.d.ts +2 -1
  64. package/dist/{index-B4jmlZxa.js → index-Cy5Oe830.js} +83 -43
  65. package/dist/{index-Rgoxo2_5.esm.js → index-eu3Ub2H4.esm.js} +83 -43
  66. package/dist/index.esm.js +1 -1
  67. package/dist/index.js +1 -1
  68. package/package.json +1 -1
@@ -29997,7 +29997,7 @@ var RecordVoiceOverOutlined$1 = createSvgIcon$1( /*#__PURE__*/require$$2$2.jsx("
29997
29997
  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"
29998
29998
  }), 'RecordVoiceOverOutlined');
29999
29999
 
30000
- var _templateObject$q, _templateObject2$k, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$8, _templateObject7$6, _templateObject8$6, _templateObject9$5, _templateObject10$3, _templateObject11$3, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32;
30000
+ var _templateObject$q, _templateObject2$k, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$8, _templateObject7$6, _templateObject8$6, _templateObject9$5, _templateObject10$4, _templateObject11$3, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32;
30001
30001
  // CourseLayout
30002
30002
  dt.span(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral$1([""])));
30003
30003
  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"])));
@@ -30020,7 +30020,7 @@ var CardActionBar = dt.div(_templateObject9$5 || (_templateObject9$5 = _taggedTe
30020
30020
  var $switched = _ref4.$switched;
30021
30021
  return $switched ? "\n top: 0px;\n left: 0px;\n grid-template-columns: 1fr 35px;\n " : "\n bottom: 0px;\n right: 0px;\n justify-content: end;\n grid-template-columns: 35px 35px;\n ";
30022
30022
  });
30023
- var StylesCardWrapper = dt.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteral$1(["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n cursor: ", ";\n height: 100%;\n border-radius: 12px !important;\n &:hover {\n .action_block {\n background: rgba(255, 255, 255, 0.59) !important;\n }\n }\n"])), function (_ref5) {
30023
+ var StylesCardWrapper = dt.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteral$1(["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n cursor: ", ";\n height: 100%;\n border-radius: 12px !important;\n &:hover {\n .action_block {\n background: rgba(255, 255, 255, 0.59) !important;\n }\n }\n"])), function (_ref5) {
30024
30024
  var $canOpen = _ref5.$canOpen;
30025
30025
  return $canOpen ? 'pointer' : 'default';
30026
30026
  });
@@ -40642,7 +40642,7 @@ function requireCancel () {
40642
40642
  var CancelExports = /*@__PURE__*/ requireCancel();
40643
40643
  var CancelIcon = /*@__PURE__*/getDefaultExportFromCjs(CancelExports);
40644
40644
 
40645
- var _templateObject$k, _templateObject2$f, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$4, _templateObject8$4, _templateObject9$3, _templateObject10$2, _templateObject11$2, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23;
40645
+ var _templateObject$k, _templateObject2$f, _templateObject3$b, _templateObject4$8, _templateObject5$7, _templateObject6$6, _templateObject7$4, _templateObject8$4, _templateObject9$3, _templateObject10$3, _templateObject11$2, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23;
40646
40646
  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"])));
40647
40647
  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"])));
40648
40648
  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"])));
@@ -40653,7 +40653,7 @@ dt.div(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteral$1(["\n
40653
40653
  // Uploader
40654
40654
  var Container$3 = dt.div(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteral$1(["\n width: 100%;\n box-sizing: border-box;\n padding: 14px 10px;\n border: 1px solid rgba(0, 0, 0, 0.23);\n display: grid;\n grid-template-columns: 86px auto;\n align-items: center;\n position: relative;\n"])));
40655
40655
  var ItemContainer = dt.div(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteral$1([""])));
40656
- dt.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral$1(["\n width: 390px;\n"])));
40656
+ dt.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteral$1(["\n width: 390px;\n"])));
40657
40657
  var CancelButton = dt.div(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"])), function (_ref) {
40658
40658
  var right = _ref.right;
40659
40659
  return right || '-12px';
@@ -76934,7 +76934,7 @@ function requirePlayers () {
76934
76934
  canPlay: import_patterns.canPlay.youtube,
76935
76935
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76936
76936
  /* webpackChunkName: 'reactPlayerYouTube' */
76937
- './YouTube-DCrrjdHh.js'
76937
+ './YouTube-DLazCb1c.js'
76938
76938
  ); }).then(function (n) { return n.YouTube; }))
76939
76939
  },
76940
76940
  {
@@ -76943,7 +76943,7 @@ function requirePlayers () {
76943
76943
  canPlay: import_patterns.canPlay.soundcloud,
76944
76944
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76945
76945
  /* webpackChunkName: 'reactPlayerSoundCloud' */
76946
- './SoundCloud-DeywKljz.js'
76946
+ './SoundCloud-CflnI1iR.js'
76947
76947
  ); }).then(function (n) { return n.SoundCloud; }))
76948
76948
  },
76949
76949
  {
@@ -76952,7 +76952,7 @@ function requirePlayers () {
76952
76952
  canPlay: import_patterns.canPlay.vimeo,
76953
76953
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76954
76954
  /* webpackChunkName: 'reactPlayerVimeo' */
76955
- './Vimeo-Dy4WCWO0.js'
76955
+ './Vimeo-DAmTxe9O.js'
76956
76956
  ); }).then(function (n) { return n.Vimeo; }))
76957
76957
  },
76958
76958
  {
@@ -76961,7 +76961,7 @@ function requirePlayers () {
76961
76961
  canPlay: import_patterns.canPlay.mux,
76962
76962
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76963
76963
  /* webpackChunkName: 'reactPlayerMux' */
76964
- './Mux-BLTI9IWB.js'
76964
+ './Mux-CwX0Bvy9.js'
76965
76965
  ); }).then(function (n) { return n.Mux; }))
76966
76966
  },
76967
76967
  {
@@ -76970,7 +76970,7 @@ function requirePlayers () {
76970
76970
  canPlay: import_patterns.canPlay.facebook,
76971
76971
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76972
76972
  /* webpackChunkName: 'reactPlayerFacebook' */
76973
- './Facebook-BashWh-t.js'
76973
+ './Facebook-CFGbzZng.js'
76974
76974
  ); }).then(function (n) { return n.Facebook; }))
76975
76975
  },
76976
76976
  {
@@ -76979,7 +76979,7 @@ function requirePlayers () {
76979
76979
  canPlay: import_patterns.canPlay.streamable,
76980
76980
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76981
76981
  /* webpackChunkName: 'reactPlayerStreamable' */
76982
- './Streamable-0FgClTJ4.js'
76982
+ './Streamable-ZxhRSx88.js'
76983
76983
  ); }).then(function (n) { return n.Streamable; }))
76984
76984
  },
76985
76985
  {
@@ -76988,7 +76988,7 @@ function requirePlayers () {
76988
76988
  canPlay: import_patterns.canPlay.wistia,
76989
76989
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76990
76990
  /* webpackChunkName: 'reactPlayerWistia' */
76991
- './Wistia-DfJIi1rZ.js'
76991
+ './Wistia-D5M5_5T-.js'
76992
76992
  ); }).then(function (n) { return n.Wistia; }))
76993
76993
  },
76994
76994
  {
@@ -76997,7 +76997,7 @@ function requirePlayers () {
76997
76997
  canPlay: import_patterns.canPlay.twitch,
76998
76998
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76999
76999
  /* webpackChunkName: 'reactPlayerTwitch' */
77000
- './Twitch-BTHbLK7l.js'
77000
+ './Twitch-D9AdPTpo.js'
77001
77001
  ); }).then(function (n) { return n.Twitch; }))
77002
77002
  },
77003
77003
  {
@@ -77006,7 +77006,7 @@ function requirePlayers () {
77006
77006
  canPlay: import_patterns.canPlay.dailymotion,
77007
77007
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77008
77008
  /* webpackChunkName: 'reactPlayerDailyMotion' */
77009
- './DailyMotion-C56t9uqg.js'
77009
+ './DailyMotion-B879fZIp.js'
77010
77010
  ); }).then(function (n) { return n.DailyMotion; }))
77011
77011
  },
77012
77012
  {
@@ -77015,7 +77015,7 @@ function requirePlayers () {
77015
77015
  canPlay: import_patterns.canPlay.mixcloud,
77016
77016
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77017
77017
  /* webpackChunkName: 'reactPlayerMixcloud' */
77018
- './Mixcloud-DQgAbO_k.js'
77018
+ './Mixcloud-BtZBdUYf.js'
77019
77019
  ); }).then(function (n) { return n.Mixcloud; }))
77020
77020
  },
77021
77021
  {
@@ -77024,7 +77024,7 @@ function requirePlayers () {
77024
77024
  canPlay: import_patterns.canPlay.vidyard,
77025
77025
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77026
77026
  /* webpackChunkName: 'reactPlayerVidyard' */
77027
- './Vidyard-B-WO0bkJ.js'
77027
+ './Vidyard-Bju6_sKd.js'
77028
77028
  ); }).then(function (n) { return n.Vidyard; }))
77029
77029
  },
77030
77030
  {
@@ -77033,7 +77033,7 @@ function requirePlayers () {
77033
77033
  canPlay: import_patterns.canPlay.kaltura,
77034
77034
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77035
77035
  /* webpackChunkName: 'reactPlayerKaltura' */
77036
- './Kaltura-BRPnVmjt.js'
77036
+ './Kaltura-B5biRnxh.js'
77037
77037
  ); }).then(function (n) { return n.Kaltura; }))
77038
77038
  },
77039
77039
  {
@@ -77045,7 +77045,7 @@ function requirePlayers () {
77045
77045
  },
77046
77046
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77047
77047
  /* webpackChunkName: 'reactPlayerFilePlayer' */
77048
- './FilePlayer-BUnkIHrE.js'
77048
+ './FilePlayer-wtmGupiY.js'
77049
77049
  ); }).then(function (n) { return n.FilePlayer; }))
77050
77050
  }
77051
77051
  ];
@@ -77866,7 +77866,7 @@ function requireReactPlayer () {
77866
77866
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
77867
77867
  const Preview = (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77868
77868
  /* webpackChunkName: 'reactPlayerPreview' */
77869
- './Preview-BRTt_uNR.js'
77869
+ './Preview-CCZGgYW1.js'
77870
77870
  ); }).then(function (n) { return n.Preview; }));
77871
77871
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
77872
77872
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -78075,7 +78075,7 @@ function requireLib () {
78075
78075
  var libExports = /*@__PURE__*/ requireLib();
78076
78076
  var ReactPlayer = /*@__PURE__*/getDefaultExportFromCjs(libExports);
78077
78077
 
78078
- var _templateObject$a, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1;
78078
+ var _templateObject$a, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1;
78079
78079
  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"])));
78080
78080
  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);
78081
78081
  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"])));
@@ -78116,7 +78116,7 @@ var StyledNoteMarkersOverlay = dt.div(_templateObject8$2 || (_templateObject8$2
78116
78116
  return !props.$isFullscreen ? "\n ".concat(StyledWrapper, ":hover & {\n opacity: 1 !important;\n }\n ") : '';
78117
78117
  });
78118
78118
  var noteMarkerPulse = mt(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral$1(["\n 0% {\n transform: translate(-50%, -50%) scale(1);\n opacity: 0.4;\n }\n 50% {\n transform: translate(-50%, -50%) scale(1.1);\n opacity: 0.2;\n }\n 100% {\n transform: translate(-50%, -50%) scale(1);\n opacity: 0.4;\n }\n"])));
78119
- var StyledNoteMarker = dt.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n left: ", ";\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\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #ffd700;\n transform: translate(-50%, -50%);\n opacity: 0.4;\n animation: ", " 3s infinite;\n }\n"])), function (props) {
78119
+ var StyledNoteMarker = dt.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n ", "\n left: ", ";\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\n &::before {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: #ffd700;\n transform: translate(-50%, -50%);\n opacity: 0.4;\n animation: ", " 3s infinite;\n }\n"])), function (props) {
78120
78120
  return props.$isFullscreen ? "top: auto; bottom: 0; transform: translateX(-50%);" : "bottom: -2px; transform: translateX(-50%);";
78121
78121
  }, function (props) {
78122
78122
  return "".concat(props.$position, "%");
@@ -78149,7 +78149,7 @@ var StyledNoteModal = dt.div(_templateObject14$1 || (_templateObject14$1 = _tagg
78149
78149
  }
78150
78150
  });
78151
78151
 
78152
- var _templateObject$9, _templateObject2$7, _templateObject3$4, _templateObject4$2, _templateObject5$2, _templateObject6$2, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17;
78152
+ var _templateObject$9, _templateObject2$7, _templateObject3$4, _templateObject4$2, _templateObject5$2, _templateObject6$2, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17;
78153
78153
  var StyledControls = dt.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n /* Responsive padding adjustments */\n @media screen and (max-width: 768px) {\n padding: 8px 12px;\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n padding: 6px 8px;\n gap: 8px;\n }\n\n svg {\n cursor: pointer;\n transition: transform 0.2s ease, fill 0.2s ease;\n\n /* Desktop and large screens */\n @media screen and (min-width: 1501px) {\n width: 24px;\n height: 24px;\n }\n\n /* Medium to large screens */\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n /* Small to medium screens */\n @media screen and (max-width: 1000px) {\n width: 18px;\n height: 18px;\n }\n\n /* Tablet screens */\n @media screen and (max-width: 768px) {\n width: 20px;\n height: 20px;\n }\n\n /* Mobile screens */\n @media screen and (max-width: 480px) {\n width: 18px;\n height: 18px;\n }\n\n /* Very small mobile screens */\n @media screen and (max-width: 320px) {\n width: 16px;\n height: 16px;\n }\n\n &:hover {\n transform: scale(1.1);\n \n path {\n fill: ", " !important;\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), function (_ref) {
78154
78154
  var theme = _ref.theme;
78155
78155
  var _a, _b;
@@ -78254,7 +78254,7 @@ var BaseIconContainer = dt.div(_templateObject8$1 || (_templateObject8$1 = _tagg
78254
78254
  return 'var(--video-player-primary-color, #08C694)'; // fallback
78255
78255
  });
78256
78256
  var StyledHeartIconContainer = dt(BaseIconContainer)(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78257
- var StyledDownloadIconContainer = dt(BaseIconContainer)(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral$1(["\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 @media screen and (max-width: 768px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 480px) {\n width: 18px !important;\n height: 18px !important;\n }\n }\n"])));
78257
+ var StyledDownloadIconContainer = dt(BaseIconContainer)(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral$1(["\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 @media screen and (max-width: 768px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 480px) {\n width: 18px !important;\n height: 18px !important;\n }\n }\n"])));
78258
78258
  var StyledSubtitlesIconContainer = dt(BaseIconContainer)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78259
78259
  var StyledFullscreenIconContainer = dt(BaseIconContainer)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78260
78260
  var StyledPictureInPictureIconContainer = dt(BaseIconContainer)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral$1(["\n &.pip-active {\n background-color: ", ";\n \n & > svg > path {\n fill: ", " !important;\n }\n }\n"])), function (_ref9) {
@@ -78432,6 +78432,20 @@ var StyledPlaybackSpeedItem = dt.p(_templateObject3$3 || (_templateObject3$3 = _
78432
78432
  fontStyle: 'bodyS'
78433
78433
  });
78434
78434
 
78435
+ // Translation fallbacks for playback speed labels
78436
+ var getTranslationFallback = function getTranslationFallback(key) {
78437
+ var translations = {
78438
+ 'general.playback_speed': 'Playback Speed',
78439
+ 'playback_speed.2x': '2x',
78440
+ 'playback_speed.1_75x': '1.75x',
78441
+ 'playback_speed.1_5x': '1.5x',
78442
+ 'playback_speed.1_25x': '1.25x',
78443
+ 'playback_speed.1x': '1x',
78444
+ 'playback_speed.0_75x': '0.75x',
78445
+ 'playback_speed.0_5x': '0.5x'
78446
+ };
78447
+ return translations[key] || key;
78448
+ };
78435
78449
  var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
78436
78450
  var playbackSpeed = _ref.playbackSpeed,
78437
78451
  onPlaybackSpeedChange = _ref.onPlaybackSpeedChange,
@@ -78444,8 +78458,6 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
78444
78458
  isMenuActive = _useMenuToggle.isVisible,
78445
78459
  menuPosition = _useMenuToggle.menuPosition,
78446
78460
  toggleMenu = _useMenuToggle.toggleMenu;
78447
- var _useTranslation = useTranslation(),
78448
- t = _useTranslation.t;
78449
78461
  return require$$2$2.jsxs(StyledPlaybackMenuWrapper, {
78450
78462
  ref: menuRef,
78451
78463
  className: menuWrapperClassName,
@@ -78457,7 +78469,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
78457
78469
  "$position": menuPosition,
78458
78470
  style: customMenuStyles,
78459
78471
  children: [require$$2$2.jsx("h2", {
78460
- children: t('general.playback_speed')
78472
+ children: getTranslationFallback('general.playback_speed')
78461
78473
  }), PLAYBACK_SPEED_LIST.map(function (_ref2, index) {
78462
78474
  var label = _ref2.label,
78463
78475
  value = _ref2.value;
@@ -78466,7 +78478,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
78466
78478
  onPlaybackSpeedChange(value);
78467
78479
  toggleMenu();
78468
78480
  },
78469
- children: [t(label), value === playbackSpeed && require$$2$2.jsx(VideoCheckmarkIcon, {})]
78481
+ children: [getTranslationFallback(label), value === playbackSpeed && require$$2$2.jsx(VideoCheckmarkIcon, {})]
78470
78482
  }, index);
78471
78483
  })]
78472
78484
  })]
@@ -85240,15 +85252,16 @@ var useHLSSubtitles = function useHLSSubtitles(_ref) {
85240
85252
  };
85241
85253
  };
85242
85254
 
85243
- var _templateObject$7, _templateObject2$5, _templateObject3$2, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7, _templateObject8, _templateObject9;
85255
+ var _templateObject$7, _templateObject2$5, _templateObject3$2, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
85244
85256
  var StyledModalHeader = dt.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral$1(["\n padding: 16px 20px 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #e2e8f0;\n margin-bottom: 16px;\n"])));
85245
85257
  var StyledModalTitle = dt.h3(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral$1(["\n font-size: 16px;\n font-weight: 600;\n margin: 0;\n color: #1a202c;\n"])));
85246
- var StyledCloseButton = dt.button(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral$1(["\n background: none;\n border: none;\n font-size: 20px;\n cursor: pointer;\n color: #718096;\n padding: 0;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n color: #2d3748;\n }\n"])));
85247
- var StyledModalContent = dt.div(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral$1(["\n padding: 0 20px;\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 12px;\n"])));
85248
- var StyledInput = dt.input(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral$1(["\n width: 100%;\n padding: 8px 12px;\n border: 1px solid #e2e8f0;\n border-radius: 8px;\n font-size: 14px;\n outline: none;\n\n &:focus {\n border-color: #3182ce;\n box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);\n }\n"])));
85249
- var StyledTextarea = dt.textarea(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral$1(["\n width: 100%;\n padding: 8px 12px;\n border: 1px solid #e2e8f0;\n border-radius: 8px;\n font-size: 14px;\n outline: none;\n resize: vertical;\n min-height: 80px;\n flex: 1;\n\n &:focus {\n border-color: #3182ce;\n box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);\n }\n"])));
85250
- var StyledModalFooter = dt.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral$1(["\n padding: 16px 20px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-top: 1px solid #e2e8f0;\n margin-top: auto;\n"])));
85251
- var StyledButton = dt.button(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral$1(["\n padding: 8px 16px;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.2s;\n\n ", "\n"])), function (props) {
85258
+ var StyledTimestamp = dt.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral$1(["\n font-size: 12px;\n color: #718096;\n font-weight: 500;\n background: #f7fafc;\n padding: 4px 8px;\n border-radius: 4px;\n"])));
85259
+ var StyledCloseButton = dt.button(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral$1(["\n background: none;\n border: none;\n font-size: 20px;\n cursor: pointer;\n color: #718096;\n padding: 0;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:hover {\n color: #2d3748;\n }\n"])));
85260
+ var StyledModalContent = dt.div(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral$1(["\n padding: 0 20px;\n flex: 1;\n display: flex;\n flex-direction: column;\n gap: 12px;\n"])));
85261
+ var StyledInput = dt.input(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral$1(["\n width: 100%;\n padding: 8px 12px;\n border: 1px solid #e2e8f0;\n border-radius: 8px;\n font-size: 14px;\n outline: none;\n\n &:focus {\n border-color: #3182ce;\n box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);\n }\n"])));
85262
+ var StyledTextarea = dt.textarea(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral$1(["\n width: 100%;\n padding: 8px 12px;\n border: 1px solid #e2e8f0;\n border-radius: 8px;\n font-size: 14px;\n outline: none;\n resize: vertical;\n min-height: 80px;\n flex: 1;\n\n &:focus {\n border-color: #3182ce;\n box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);\n }\n"])));
85263
+ var StyledModalFooter = dt.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral$1(["\n padding: 16px 20px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-top: 1px solid #e2e8f0;\n margin-top: auto;\n"])));
85264
+ var StyledButton = dt.button(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral$1(["\n padding: 8px 16px;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n transition: all 0.2s;\n\n ", "\n"])), function (props) {
85252
85265
  switch (props.$variant) {
85253
85266
  case 'primary':
85254
85267
  return "\n background-color: #3182ce;\n color: white;\n &:hover { background-color: #2c5aa0; }\n ";
@@ -85258,19 +85271,33 @@ var StyledButton = dt.button(_templateObject8 || (_templateObject8 = _taggedTemp
85258
85271
  return "\n background-color: #f7fafc;\n color: #2d3748;\n border: 1px solid #e2e8f0;\n &:hover { background-color: #edf2f7; }\n ";
85259
85272
  }
85260
85273
  });
85261
- var StyledButtonGroup = dt.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral$1(["\n display: flex;\n gap: 8px;\n"])));
85274
+ var StyledButtonGroup = dt.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral$1(["\n display: flex;\n gap: 8px;\n"])));
85262
85275
  var NoteEditModal = function NoteEditModal(_ref) {
85263
- var editingTitle = _ref.editingTitle,
85276
+ var note = _ref.note,
85277
+ editingTitle = _ref.editingTitle,
85264
85278
  editingContent = _ref.editingContent,
85265
85279
  onTitleChange = _ref.onTitleChange,
85266
85280
  onContentChange = _ref.onContentChange,
85267
85281
  onCancel = _ref.onCancel,
85268
85282
  onDelete = _ref.onDelete,
85269
85283
  onSave = _ref.onSave;
85284
+ _ref.isNewNote;
85285
+ var isEmptyNote = !note.id || note.id.startsWith('note_');
85286
+ var modalTitle = isEmptyNote ? 'Add Note' : 'Edit Note';
85287
+ var timestamp = FormatSecondsToTimeString(note.moment);
85270
85288
  return require$$2$2.jsxs(require$$2$2.Fragment, {
85271
85289
  children: [require$$2$2.jsxs(StyledModalHeader, {
85272
- children: [require$$2$2.jsx(StyledModalTitle, {
85273
- children: "Edit Note"
85290
+ children: [require$$2$2.jsxs("div", {
85291
+ style: {
85292
+ display: 'flex',
85293
+ alignItems: 'center',
85294
+ gap: '12px'
85295
+ },
85296
+ children: [require$$2$2.jsx(StyledModalTitle, {
85297
+ children: modalTitle
85298
+ }), require$$2$2.jsxs(StyledTimestamp, {
85299
+ children: ["at ", timestamp]
85300
+ })]
85274
85301
  }), require$$2$2.jsx(StyledCloseButton, {
85275
85302
  onClick: onCancel,
85276
85303
  children: "\xD7"
@@ -85287,18 +85314,21 @@ var NoteEditModal = function NoteEditModal(_ref) {
85287
85314
  onChange: onContentChange
85288
85315
  })]
85289
85316
  }), require$$2$2.jsxs(StyledModalFooter, {
85290
- children: [require$$2$2.jsx(StyledButton, {
85317
+ children: [!isEmptyNote && require$$2$2.jsx(StyledButton, {
85291
85318
  onClick: onDelete,
85292
85319
  "$variant": "danger",
85293
85320
  children: "Delete"
85294
85321
  }), require$$2$2.jsxs(StyledButtonGroup, {
85322
+ style: {
85323
+ marginLeft: isEmptyNote ? 'auto' : 'initial'
85324
+ },
85295
85325
  children: [require$$2$2.jsx(StyledButton, {
85296
85326
  onClick: onCancel,
85297
85327
  children: "Cancel"
85298
85328
  }), require$$2$2.jsx(StyledButton, {
85299
85329
  onClick: onSave,
85300
85330
  "$variant": "primary",
85301
- children: "Save"
85331
+ children: isEmptyNote ? 'Add Note' : 'Save'
85302
85332
  })]
85303
85333
  })]
85304
85334
  })]
@@ -85427,10 +85457,13 @@ var VideoPlayer = function VideoPlayer(_ref) {
85427
85457
  // Handle adding new notes
85428
85458
  var handleAddNote = React.useCallback(function () {
85429
85459
  var _a;
85460
+ // Stop the video when adding a note
85461
+ setIsPlaying(false);
85430
85462
  if (onAddNote) {
85463
+ // If external handler is provided, use it (e.g., Notes tab modal)
85431
85464
  onAddNote();
85432
85465
  } else {
85433
- // Create a new note at current time if no external handler
85466
+ // Only create internal modal if no external handler
85434
85467
  var currentTime = ((_a = videoPlayerRef.current) === null || _a === void 0 ? void 0 : _a.getCurrentTime()) || 0;
85435
85468
  var newNote = {
85436
85469
  id: "note_".concat(Date.now()),
@@ -85442,7 +85475,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85442
85475
  setEditingTitle('');
85443
85476
  setEditingContent('');
85444
85477
  }
85445
- }, [onAddNote]);
85478
+ }, [onAddNote, setIsPlaying]);
85446
85479
  var _useHLSSubtitles = useHLSSubtitles({
85447
85480
  videoPlayerRef: videoPlayerRef,
85448
85481
  isSubtitlesChecked: isSubtitlesChecked,
@@ -85548,6 +85581,13 @@ var VideoPlayer = function VideoPlayer(_ref) {
85548
85581
  return _ref4.apply(this, arguments);
85549
85582
  };
85550
85583
  }();
85584
+ // Sync editing state when external editing note changes
85585
+ React.useEffect(function () {
85586
+ if (editingNote) {
85587
+ setEditingTitle(editingNote.title);
85588
+ setEditingContent(editingNote.description || '');
85589
+ }
85590
+ }, [editingNote]);
85551
85591
  var renderNoteEditModal = function renderNoteEditModal() {
85552
85592
  if (!currentEditingNote) return null;
85553
85593
  var noteMarker = noteMarkers === null || noteMarkers === void 0 ? void 0 : noteMarkers.find(function (marker) {
@@ -85569,8 +85609,8 @@ var VideoPlayer = function VideoPlayer(_ref) {
85569
85609
  note: currentEditingNote,
85570
85610
  notePosition: notePosition,
85571
85611
  alignment: modalAlignment,
85572
- editingTitle: editingNote ? currentEditingNote.title : editingTitle,
85573
- editingContent: editingNote ? currentEditingNote.description || '' : editingContent,
85612
+ editingTitle: editingTitle,
85613
+ editingContent: editingContent,
85574
85614
  onTitleChange: function onTitleChange(e) {
85575
85615
  return setEditingTitle(e.target.value);
85576
85616
  },