suada-components 1.14.1 → 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-CZtI_HFS.js → DailyMotion-B879fZIp.js} +1 -1
  2. package/dist/{DailyMotion-kXSB4KC8.esm.js → DailyMotion-D4LmQO_W.esm.js} +1 -1
  3. package/dist/{components/Facebook-CvrwL8oT.js → Facebook-CFGbzZng.js} +1 -1
  4. package/dist/{components/Facebook-CyJ6hBKd.esm.js → Facebook-DCRnzVX_.esm.js} +1 -1
  5. package/dist/{FilePlayer-B0Quc9zY.esm.js → FilePlayer-CqRC-kkM.esm.js} +1 -1
  6. package/dist/{FilePlayer-xox0cwKA.js → FilePlayer-wtmGupiY.js} +1 -1
  7. package/dist/{Kaltura-D6CKVgz4.js → Kaltura-B5biRnxh.js} +1 -1
  8. package/dist/{Kaltura-Bhrp8C0O.esm.js → Kaltura-CPYazPDy.esm.js} +1 -1
  9. package/dist/{components/Mixcloud-CH17IE7T.esm.js → Mixcloud-B9j_DAsI.esm.js} +1 -1
  10. package/dist/{components/Mixcloud-DwX3HLBJ.js → Mixcloud-BtZBdUYf.js} +1 -1
  11. package/dist/{Mux-CkbzJN9A.esm.js → Mux-CtskXAvA.esm.js} +1 -1
  12. package/dist/{Mux-Cu2wtPwj.js → Mux-CwX0Bvy9.js} +1 -1
  13. package/dist/{components/Preview-BSN4ubgN.js → Preview-CCZGgYW1.js} +1 -1
  14. package/dist/{Preview-C7XDM3wL.esm.js → Preview-CIM0vkwR.esm.js} +1 -1
  15. package/dist/{SoundCloud-1nICRPx_.esm.js → SoundCloud-BZlNC7Xh.esm.js} +1 -1
  16. package/dist/{components/SoundCloud-Dkt1JMEu.js → SoundCloud-CflnI1iR.js} +1 -1
  17. package/dist/{components/Streamable-CcU_5Rdf.esm.js → Streamable-CIRaQ0HF.esm.js} +1 -1
  18. package/dist/{components/Streamable-DczCq1Xl.js → Streamable-ZxhRSx88.js} +1 -1
  19. package/dist/{Twitch-B5ZylcKE.js → Twitch-D9AdPTpo.js} +1 -1
  20. package/dist/{Twitch-D5ruN6WR.esm.js → Twitch-yMBQnDvs.esm.js} +1 -1
  21. package/dist/{components/Vidyard-DiiuYWNx.js → Vidyard-Bju6_sKd.js} +1 -1
  22. package/dist/{components/Vidyard-U_U3RL0f.esm.js → Vidyard-Cjs-2g4S.esm.js} +1 -1
  23. package/dist/{components/Vimeo-CgJhQfQS.esm.js → Vimeo-BFGEEsUt.esm.js} +1 -1
  24. package/dist/{Vimeo-fdugXx1T.js → Vimeo-DAmTxe9O.js} +1 -1
  25. package/dist/{components/Wistia-DBl99mQP.esm.js → Wistia-C8RvCFio.esm.js} +1 -1
  26. package/dist/{Wistia-BKn9iZmC.js → Wistia-D5M5_5T-.js} +1 -1
  27. package/dist/{components/YouTube-DccRdJSI.esm.js → YouTube-Crw0CT86.esm.js} +1 -1
  28. package/dist/{components/YouTube-BHGgzYGY.js → YouTube-DLazCb1c.js} +1 -1
  29. package/dist/components/{DailyMotion-DJJDIwue.esm.js → DailyMotion-78ieBST4.esm.js} +1 -1
  30. package/dist/components/{DailyMotion-DeJSts_G.js → DailyMotion-C5kBQAJf.js} +1 -1
  31. package/dist/{Facebook-Cz_ZNlb9.esm.js → components/Facebook-B9q7-PDn.esm.js} +1 -1
  32. package/dist/{Facebook-a9zMZ4bZ.js → components/Facebook-Da7aQfaR.js} +1 -1
  33. package/dist/components/{FilePlayer-DW8NNRmy.js → FilePlayer-Bki_1uWK.js} +1 -1
  34. package/dist/components/{FilePlayer-C9KWJuif.esm.js → FilePlayer-CIKqQwZX.esm.js} +1 -1
  35. package/dist/components/{Kaltura-DIRYnFwH.esm.js → Kaltura-C0imzBB8.esm.js} +1 -1
  36. package/dist/components/{Kaltura-DxC8Q23-.js → Kaltura-C33u4-qE.js} +1 -1
  37. package/dist/{Mixcloud-DTH3dqhr.esm.js → components/Mixcloud-Cr_I5lD8.esm.js} +1 -1
  38. package/dist/{Mixcloud-KBq15mLA.js → components/Mixcloud-eGPur5fP.js} +1 -1
  39. package/dist/components/{Mux-C8orpnZN.js → Mux-CIfzMJLz.js} +1 -1
  40. package/dist/components/{Mux-zMEGXa6m.esm.js → Mux-D1FCYOKE.esm.js} +1 -1
  41. package/dist/components/{Preview-CCvhiQdh.esm.js → Preview-BWXSUQsu.esm.js} +1 -1
  42. package/dist/{Preview-BAdyr9MQ.js → components/Preview-C0Uqc6DI.js} +1 -1
  43. package/dist/components/{SoundCloud-CiDCcxQA.esm.js → SoundCloud-DbmjchGb.esm.js} +1 -1
  44. package/dist/{SoundCloud-DbXtzk2K.js → components/SoundCloud-VBY93K9a.js} +1 -1
  45. package/dist/{Streamable-NMb7RlcH.js → components/Streamable-COc7XyOA.js} +1 -1
  46. package/dist/{Streamable-D9KPxJCi.esm.js → components/Streamable-DRMoyO6V.esm.js} +1 -1
  47. package/dist/components/{Twitch-C4L1pOoE.esm.js → Twitch-ChSLkUP1.esm.js} +1 -1
  48. package/dist/components/{Twitch-CzZICNs7.js → Twitch-mN9fqACg.js} +1 -1
  49. package/dist/components/VideoPlayer/NoteEditModal.d.ts +2 -1
  50. package/dist/{Vidyard-D6DP7LvX.js → components/Vidyard-DXsKZ0PT.js} +1 -1
  51. package/dist/{Vidyard-BRuZJVG-.esm.js → components/Vidyard-QtMgQ8Pk.esm.js} +1 -1
  52. package/dist/components/{Vimeo-DJkAUgzX.js → Vimeo-BDBQu0Y2.js} +1 -1
  53. package/dist/{Vimeo-BXrAUyi5.esm.js → components/Vimeo-BpVtxa_W.esm.js} +1 -1
  54. package/dist/components/{Wistia-HXhXUxps.js → Wistia-Bbz-GliZ.js} +1 -1
  55. package/dist/{Wistia-BVDIP_cu.esm.js → components/Wistia-DxKm5_o-.esm.js} +1 -1
  56. package/dist/{YouTube-DJyN_cwE.js → components/YouTube-C5Qo7-fp.js} +1 -1
  57. package/dist/{YouTube-D1zyOhgZ.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-3IkDOjMU.esm.js → index-NTw33r0X.esm.js} +67 -39
  60. package/dist/components/{index-Br1iBNb-.js → index-OwV2kJJo.js} +67 -39
  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-Bes_plew.js → index-Cy5Oe830.js} +67 -39
  65. package/dist/{index-DwaJVGQK.esm.js → index-eu3Ub2H4.esm.js} +67 -39
  66. package/dist/index.esm.js +1 -1
  67. package/dist/index.js +1 -1
  68. package/package.json +1 -1
@@ -29977,7 +29977,7 @@ var RecordVoiceOverOutlined$1 = createSvgIcon$1( /*#__PURE__*/jsx$1("path", {
29977
29977
  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"
29978
29978
  }), 'RecordVoiceOverOutlined');
29979
29979
 
29980
- 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;
29980
+ 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;
29981
29981
  // CourseLayout
29982
29982
  dt.span(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral$1([""])));
29983
29983
  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"])));
@@ -30000,7 +30000,7 @@ var CardActionBar = dt.div(_templateObject9$5 || (_templateObject9$5 = _taggedTe
30000
30000
  var $switched = _ref4.$switched;
30001
30001
  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 ";
30002
30002
  });
30003
- 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) {
30003
+ 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) {
30004
30004
  var $canOpen = _ref5.$canOpen;
30005
30005
  return $canOpen ? 'pointer' : 'default';
30006
30006
  });
@@ -40622,7 +40622,7 @@ function requireCancel () {
40622
40622
  var CancelExports = /*@__PURE__*/ requireCancel();
40623
40623
  var CancelIcon = /*@__PURE__*/getDefaultExportFromCjs(CancelExports);
40624
40624
 
40625
- 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;
40625
+ 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;
40626
40626
  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"])));
40627
40627
  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"])));
40628
40628
  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"])));
@@ -40633,7 +40633,7 @@ dt.div(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteral$1(["\n
40633
40633
  // Uploader
40634
40634
  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"])));
40635
40635
  var ItemContainer = dt.div(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteral$1([""])));
40636
- dt.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral$1(["\n width: 390px;\n"])));
40636
+ dt.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteral$1(["\n width: 390px;\n"])));
40637
40637
  var CancelButton = dt.div(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral$1(["\n position: absolute;\n right: ", ";\n top: ", ";\n cursor: pointer;\n"])), function (_ref) {
40638
40638
  var right = _ref.right;
40639
40639
  return right || '-12px';
@@ -76914,7 +76914,7 @@ function requirePlayers () {
76914
76914
  canPlay: import_patterns.canPlay.youtube,
76915
76915
  lazyPlayer: (0, import_utils.lazy)(() => import(
76916
76916
  /* webpackChunkName: 'reactPlayerYouTube' */
76917
- './YouTube-DccRdJSI.esm.js'
76917
+ './YouTube-JyITLlOR.esm.js'
76918
76918
  ).then(function (n) { return n.Y; }))
76919
76919
  },
76920
76920
  {
@@ -76923,7 +76923,7 @@ function requirePlayers () {
76923
76923
  canPlay: import_patterns.canPlay.soundcloud,
76924
76924
  lazyPlayer: (0, import_utils.lazy)(() => import(
76925
76925
  /* webpackChunkName: 'reactPlayerSoundCloud' */
76926
- './SoundCloud-CiDCcxQA.esm.js'
76926
+ './SoundCloud-DbmjchGb.esm.js'
76927
76927
  ).then(function (n) { return n.S; }))
76928
76928
  },
76929
76929
  {
@@ -76932,7 +76932,7 @@ function requirePlayers () {
76932
76932
  canPlay: import_patterns.canPlay.vimeo,
76933
76933
  lazyPlayer: (0, import_utils.lazy)(() => import(
76934
76934
  /* webpackChunkName: 'reactPlayerVimeo' */
76935
- './Vimeo-CgJhQfQS.esm.js'
76935
+ './Vimeo-BpVtxa_W.esm.js'
76936
76936
  ).then(function (n) { return n.V; }))
76937
76937
  },
76938
76938
  {
@@ -76941,7 +76941,7 @@ function requirePlayers () {
76941
76941
  canPlay: import_patterns.canPlay.mux,
76942
76942
  lazyPlayer: (0, import_utils.lazy)(() => import(
76943
76943
  /* webpackChunkName: 'reactPlayerMux' */
76944
- './Mux-zMEGXa6m.esm.js'
76944
+ './Mux-D1FCYOKE.esm.js'
76945
76945
  ).then(function (n) { return n.M; }))
76946
76946
  },
76947
76947
  {
@@ -76950,7 +76950,7 @@ function requirePlayers () {
76950
76950
  canPlay: import_patterns.canPlay.facebook,
76951
76951
  lazyPlayer: (0, import_utils.lazy)(() => import(
76952
76952
  /* webpackChunkName: 'reactPlayerFacebook' */
76953
- './Facebook-CyJ6hBKd.esm.js'
76953
+ './Facebook-B9q7-PDn.esm.js'
76954
76954
  ).then(function (n) { return n.F; }))
76955
76955
  },
76956
76956
  {
@@ -76959,7 +76959,7 @@ function requirePlayers () {
76959
76959
  canPlay: import_patterns.canPlay.streamable,
76960
76960
  lazyPlayer: (0, import_utils.lazy)(() => import(
76961
76961
  /* webpackChunkName: 'reactPlayerStreamable' */
76962
- './Streamable-CcU_5Rdf.esm.js'
76962
+ './Streamable-DRMoyO6V.esm.js'
76963
76963
  ).then(function (n) { return n.S; }))
76964
76964
  },
76965
76965
  {
@@ -76968,7 +76968,7 @@ function requirePlayers () {
76968
76968
  canPlay: import_patterns.canPlay.wistia,
76969
76969
  lazyPlayer: (0, import_utils.lazy)(() => import(
76970
76970
  /* webpackChunkName: 'reactPlayerWistia' */
76971
- './Wistia-DBl99mQP.esm.js'
76971
+ './Wistia-DxKm5_o-.esm.js'
76972
76972
  ).then(function (n) { return n.W; }))
76973
76973
  },
76974
76974
  {
@@ -76977,7 +76977,7 @@ function requirePlayers () {
76977
76977
  canPlay: import_patterns.canPlay.twitch,
76978
76978
  lazyPlayer: (0, import_utils.lazy)(() => import(
76979
76979
  /* webpackChunkName: 'reactPlayerTwitch' */
76980
- './Twitch-C4L1pOoE.esm.js'
76980
+ './Twitch-ChSLkUP1.esm.js'
76981
76981
  ).then(function (n) { return n.T; }))
76982
76982
  },
76983
76983
  {
@@ -76986,7 +76986,7 @@ function requirePlayers () {
76986
76986
  canPlay: import_patterns.canPlay.dailymotion,
76987
76987
  lazyPlayer: (0, import_utils.lazy)(() => import(
76988
76988
  /* webpackChunkName: 'reactPlayerDailyMotion' */
76989
- './DailyMotion-DJJDIwue.esm.js'
76989
+ './DailyMotion-78ieBST4.esm.js'
76990
76990
  ).then(function (n) { return n.D; }))
76991
76991
  },
76992
76992
  {
@@ -76995,7 +76995,7 @@ function requirePlayers () {
76995
76995
  canPlay: import_patterns.canPlay.mixcloud,
76996
76996
  lazyPlayer: (0, import_utils.lazy)(() => import(
76997
76997
  /* webpackChunkName: 'reactPlayerMixcloud' */
76998
- './Mixcloud-CH17IE7T.esm.js'
76998
+ './Mixcloud-Cr_I5lD8.esm.js'
76999
76999
  ).then(function (n) { return n.M; }))
77000
77000
  },
77001
77001
  {
@@ -77004,7 +77004,7 @@ function requirePlayers () {
77004
77004
  canPlay: import_patterns.canPlay.vidyard,
77005
77005
  lazyPlayer: (0, import_utils.lazy)(() => import(
77006
77006
  /* webpackChunkName: 'reactPlayerVidyard' */
77007
- './Vidyard-U_U3RL0f.esm.js'
77007
+ './Vidyard-QtMgQ8Pk.esm.js'
77008
77008
  ).then(function (n) { return n.V; }))
77009
77009
  },
77010
77010
  {
@@ -77013,7 +77013,7 @@ function requirePlayers () {
77013
77013
  canPlay: import_patterns.canPlay.kaltura,
77014
77014
  lazyPlayer: (0, import_utils.lazy)(() => import(
77015
77015
  /* webpackChunkName: 'reactPlayerKaltura' */
77016
- './Kaltura-DIRYnFwH.esm.js'
77016
+ './Kaltura-C0imzBB8.esm.js'
77017
77017
  ).then(function (n) { return n.K; }))
77018
77018
  },
77019
77019
  {
@@ -77025,7 +77025,7 @@ function requirePlayers () {
77025
77025
  },
77026
77026
  lazyPlayer: (0, import_utils.lazy)(() => import(
77027
77027
  /* webpackChunkName: 'reactPlayerFilePlayer' */
77028
- './FilePlayer-C9KWJuif.esm.js'
77028
+ './FilePlayer-CIKqQwZX.esm.js'
77029
77029
  ).then(function (n) { return n.F; }))
77030
77030
  }
77031
77031
  ];
@@ -77846,7 +77846,7 @@ function requireReactPlayer () {
77846
77846
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
77847
77847
  const Preview = (0, import_utils.lazy)(() => import(
77848
77848
  /* webpackChunkName: 'reactPlayerPreview' */
77849
- './Preview-CCvhiQdh.esm.js'
77849
+ './Preview-BWXSUQsu.esm.js'
77850
77850
  ).then(function (n) { return n.P; }));
77851
77851
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
77852
77852
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -78055,7 +78055,7 @@ function requireLib () {
78055
78055
  var libExports = /*@__PURE__*/ requireLib();
78056
78056
  var ReactPlayer = /*@__PURE__*/getDefaultExportFromCjs(libExports);
78057
78057
 
78058
- 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;
78058
+ 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;
78059
78059
  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"])));
78060
78060
  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);
78061
78061
  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"])));
@@ -78096,7 +78096,7 @@ var StyledNoteMarkersOverlay = dt.div(_templateObject8$2 || (_templateObject8$2
78096
78096
  return !props.$isFullscreen ? "\n ".concat(StyledWrapper, ":hover & {\n opacity: 1 !important;\n }\n ") : '';
78097
78097
  });
78098
78098
  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"])));
78099
- 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) {
78099
+ 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) {
78100
78100
  return props.$isFullscreen ? "top: auto; bottom: 0; transform: translateX(-50%);" : "bottom: -2px; transform: translateX(-50%);";
78101
78101
  }, function (props) {
78102
78102
  return "".concat(props.$position, "%");
@@ -78129,7 +78129,7 @@ var StyledNoteModal = dt.div(_templateObject14$1 || (_templateObject14$1 = _tagg
78129
78129
  }
78130
78130
  });
78131
78131
 
78132
- 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;
78132
+ 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;
78133
78133
  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) {
78134
78134
  var theme = _ref.theme;
78135
78135
  var _a, _b;
@@ -78234,7 +78234,7 @@ var BaseIconContainer = dt.div(_templateObject8$1 || (_templateObject8$1 = _tagg
78234
78234
  return 'var(--video-player-primary-color, #08C694)'; // fallback
78235
78235
  });
78236
78236
  var StyledHeartIconContainer = dt(BaseIconContainer)(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78237
- 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"])));
78237
+ 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"])));
78238
78238
  var StyledSubtitlesIconContainer = dt(BaseIconContainer)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78239
78239
  var StyledFullscreenIconContainer = dt(BaseIconContainer)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78240
78240
  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) {
@@ -85232,15 +85232,16 @@ var useHLSSubtitles = function useHLSSubtitles(_ref) {
85232
85232
  };
85233
85233
  };
85234
85234
 
85235
- var _templateObject$7, _templateObject2$5, _templateObject3$2, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7, _templateObject8, _templateObject9;
85235
+ var _templateObject$7, _templateObject2$5, _templateObject3$2, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
85236
85236
  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"])));
85237
85237
  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"])));
85238
- 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"])));
85239
- 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"])));
85240
- 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"])));
85241
- 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"])));
85242
- 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"])));
85243
- 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) {
85238
+ 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"])));
85239
+ 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"])));
85240
+ 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"])));
85241
+ 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"])));
85242
+ 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"])));
85243
+ 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"])));
85244
+ 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) {
85244
85245
  switch (props.$variant) {
85245
85246
  case 'primary':
85246
85247
  return "\n background-color: #3182ce;\n color: white;\n &:hover { background-color: #2c5aa0; }\n ";
@@ -85250,19 +85251,33 @@ var StyledButton = dt.button(_templateObject8 || (_templateObject8 = _taggedTemp
85250
85251
  return "\n background-color: #f7fafc;\n color: #2d3748;\n border: 1px solid #e2e8f0;\n &:hover { background-color: #edf2f7; }\n ";
85251
85252
  }
85252
85253
  });
85253
- var StyledButtonGroup = dt.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral$1(["\n display: flex;\n gap: 8px;\n"])));
85254
+ var StyledButtonGroup = dt.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral$1(["\n display: flex;\n gap: 8px;\n"])));
85254
85255
  var NoteEditModal = function NoteEditModal(_ref) {
85255
- var editingTitle = _ref.editingTitle,
85256
+ var note = _ref.note,
85257
+ editingTitle = _ref.editingTitle,
85256
85258
  editingContent = _ref.editingContent,
85257
85259
  onTitleChange = _ref.onTitleChange,
85258
85260
  onContentChange = _ref.onContentChange,
85259
85261
  onCancel = _ref.onCancel,
85260
85262
  onDelete = _ref.onDelete,
85261
85263
  onSave = _ref.onSave;
85264
+ _ref.isNewNote;
85265
+ var isEmptyNote = !note.id || note.id.startsWith('note_');
85266
+ var modalTitle = isEmptyNote ? 'Add Note' : 'Edit Note';
85267
+ var timestamp = FormatSecondsToTimeString(note.moment);
85262
85268
  return jsxs(Fragment, {
85263
85269
  children: [jsxs(StyledModalHeader, {
85264
- children: [jsx$1(StyledModalTitle, {
85265
- children: "Edit Note"
85270
+ children: [jsxs("div", {
85271
+ style: {
85272
+ display: 'flex',
85273
+ alignItems: 'center',
85274
+ gap: '12px'
85275
+ },
85276
+ children: [jsx$1(StyledModalTitle, {
85277
+ children: modalTitle
85278
+ }), jsxs(StyledTimestamp, {
85279
+ children: ["at ", timestamp]
85280
+ })]
85266
85281
  }), jsx$1(StyledCloseButton, {
85267
85282
  onClick: onCancel,
85268
85283
  children: "\xD7"
@@ -85279,18 +85294,21 @@ var NoteEditModal = function NoteEditModal(_ref) {
85279
85294
  onChange: onContentChange
85280
85295
  })]
85281
85296
  }), jsxs(StyledModalFooter, {
85282
- children: [jsx$1(StyledButton, {
85297
+ children: [!isEmptyNote && jsx$1(StyledButton, {
85283
85298
  onClick: onDelete,
85284
85299
  "$variant": "danger",
85285
85300
  children: "Delete"
85286
85301
  }), jsxs(StyledButtonGroup, {
85302
+ style: {
85303
+ marginLeft: isEmptyNote ? 'auto' : 'initial'
85304
+ },
85287
85305
  children: [jsx$1(StyledButton, {
85288
85306
  onClick: onCancel,
85289
85307
  children: "Cancel"
85290
85308
  }), jsx$1(StyledButton, {
85291
85309
  onClick: onSave,
85292
85310
  "$variant": "primary",
85293
- children: "Save"
85311
+ children: isEmptyNote ? 'Add Note' : 'Save'
85294
85312
  })]
85295
85313
  })]
85296
85314
  })]
@@ -85419,10 +85437,13 @@ var VideoPlayer = function VideoPlayer(_ref) {
85419
85437
  // Handle adding new notes
85420
85438
  var handleAddNote = useCallback(function () {
85421
85439
  var _a;
85440
+ // Stop the video when adding a note
85441
+ setIsPlaying(false);
85422
85442
  if (onAddNote) {
85443
+ // If external handler is provided, use it (e.g., Notes tab modal)
85423
85444
  onAddNote();
85424
85445
  } else {
85425
- // Create a new note at current time if no external handler
85446
+ // Only create internal modal if no external handler
85426
85447
  var currentTime = ((_a = videoPlayerRef.current) === null || _a === void 0 ? void 0 : _a.getCurrentTime()) || 0;
85427
85448
  var newNote = {
85428
85449
  id: "note_".concat(Date.now()),
@@ -85434,7 +85455,7 @@ var VideoPlayer = function VideoPlayer(_ref) {
85434
85455
  setEditingTitle('');
85435
85456
  setEditingContent('');
85436
85457
  }
85437
- }, [onAddNote]);
85458
+ }, [onAddNote, setIsPlaying]);
85438
85459
  var _useHLSSubtitles = useHLSSubtitles({
85439
85460
  videoPlayerRef: videoPlayerRef,
85440
85461
  isSubtitlesChecked: isSubtitlesChecked,
@@ -85540,6 +85561,13 @@ var VideoPlayer = function VideoPlayer(_ref) {
85540
85561
  return _ref4.apply(this, arguments);
85541
85562
  };
85542
85563
  }();
85564
+ // Sync editing state when external editing note changes
85565
+ useEffect(function () {
85566
+ if (editingNote) {
85567
+ setEditingTitle(editingNote.title);
85568
+ setEditingContent(editingNote.description || '');
85569
+ }
85570
+ }, [editingNote]);
85543
85571
  var renderNoteEditModal = function renderNoteEditModal() {
85544
85572
  if (!currentEditingNote) return null;
85545
85573
  var noteMarker = noteMarkers === null || noteMarkers === void 0 ? void 0 : noteMarkers.find(function (marker) {
@@ -85561,8 +85589,8 @@ var VideoPlayer = function VideoPlayer(_ref) {
85561
85589
  note: currentEditingNote,
85562
85590
  notePosition: notePosition,
85563
85591
  alignment: modalAlignment,
85564
- editingTitle: editingNote ? currentEditingNote.title : editingTitle,
85565
- editingContent: editingNote ? currentEditingNote.description || '' : editingContent,
85592
+ editingTitle: editingTitle,
85593
+ editingContent: editingContent,
85566
85594
  onTitleChange: function onTitleChange(e) {
85567
85595
  return setEditingTitle(e.target.value);
85568
85596
  },