suada-components 1.13.1 → 1.13.3

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 (67) hide show
  1. package/dist/{DailyMotion-CG-3NvMg.js → DailyMotion-BAM-voxR.js} +1 -1
  2. package/dist/{DailyMotion-Dptie97D.esm.js → DailyMotion-BfvWl8GF.esm.js} +1 -1
  3. package/dist/{components/Facebook-B7FCfUpD.js → Facebook-3tK7pj--.js} +1 -1
  4. package/dist/{components/Facebook-CiTsKO4-.esm.js → Facebook-DB_J40nk.esm.js} +1 -1
  5. package/dist/{FilePlayer-aWIbaUEm.js → FilePlayer-Bst4Fs8D.js} +1 -1
  6. package/dist/{FilePlayer-Bq8zb8mE.esm.js → FilePlayer-D7nNSmQ4.esm.js} +1 -1
  7. package/dist/{components/Kaltura-TidG8mDI.esm.js → Kaltura-C8b2N48k.esm.js} +1 -1
  8. package/dist/{Kaltura-B7v-_e10.js → Kaltura-E5CUKZxs.js} +1 -1
  9. package/dist/{components/Mixcloud-DW2AI4Ph.js → Mixcloud-Co1LwZpB.js} +1 -1
  10. package/dist/{Mixcloud-Bhu8vzRo.esm.js → Mixcloud-DcIusrLu.esm.js} +1 -1
  11. package/dist/{components/Mux-CqfG3EBq.js → Mux-BabemoFL.js} +1 -1
  12. package/dist/{Mux-DFGpy8ou.esm.js → Mux-DVygWbm2.esm.js} +1 -1
  13. package/dist/{components/Preview-m6h9KmUl.esm.js → Preview-CdqqVLJz.esm.js} +1 -1
  14. package/dist/{Preview-BUBe9HXB.js → Preview-CleV75rl.js} +1 -1
  15. package/dist/{components/SoundCloud-DlwCJI5x.js → SoundCloud-CU-Ut439.js} +1 -1
  16. package/dist/{components/SoundCloud-BhEUPGnH.esm.js → SoundCloud-n9mDvHcX.esm.js} +1 -1
  17. package/dist/{Streamable-yQbFXf5t.js → Streamable-Bn7g8F4x.js} +1 -1
  18. package/dist/{components/Streamable-CuRDxd8R.esm.js → Streamable-Bow8WRjE.esm.js} +1 -1
  19. package/dist/{Twitch-B95sCWzf.js → Twitch-Dcu4TkiI.js} +1 -1
  20. package/dist/{components/Twitch-CdiVCze2.esm.js → Twitch-mV4GerZD.esm.js} +1 -1
  21. package/dist/{components/Vidyard-BI43sYmw.esm.js → Vidyard-7oPyREiT.esm.js} +1 -1
  22. package/dist/{components/Vidyard-CSnrD4RI.js → Vidyard-CzYsGSGc.js} +1 -1
  23. package/dist/{components/Vimeo-BGYlevog.esm.js → Vimeo-CmbK7Tng.esm.js} +1 -1
  24. package/dist/{Vimeo-Dzc4a1Tk.js → Vimeo-D5IBvHh3.js} +1 -1
  25. package/dist/{Wistia-DBfNMSNF.esm.js → Wistia-LB2uwfTl.esm.js} +1 -1
  26. package/dist/{components/Wistia-gUJ-L_ku.js → Wistia-tSwqRHs6.js} +1 -1
  27. package/dist/{components/YouTube-B9r-Uikf.js → YouTube-De0Zcr48.js} +1 -1
  28. package/dist/{YouTube-B1rsjlOl.esm.js → YouTube-FnXuhpNR.esm.js} +1 -1
  29. package/dist/components/{DailyMotion-CGiycR9D.esm.js → DailyMotion-C0Cj_RwM.esm.js} +1 -1
  30. package/dist/components/{DailyMotion-LhtnGd3X.js → DailyMotion-D9v9s3TG.js} +1 -1
  31. package/dist/{Facebook-C3BJvR0K.js → components/Facebook-Cimr8xRV.js} +1 -1
  32. package/dist/{Facebook-CuiTxCKW.esm.js → components/Facebook-b9jede50.esm.js} +1 -1
  33. package/dist/components/{FilePlayer-IuTvOXH-.js → FilePlayer-BCztD8ue.js} +1 -1
  34. package/dist/components/{FilePlayer-B8fGSK8a.esm.js → FilePlayer-DfNRHh8F.esm.js} +1 -1
  35. package/dist/components/{Kaltura-cUh2-AS2.js → Kaltura-js23nVOn.js} +1 -1
  36. package/dist/{Kaltura-CuDQUmzI.esm.js → components/Kaltura-xd-oaun9.esm.js} +1 -1
  37. package/dist/components/{Mixcloud-hZOsCo-a.esm.js → Mixcloud-Cajsr6ih.esm.js} +1 -1
  38. package/dist/{Mixcloud-DN4d9IKn.js → components/Mixcloud-DU9Qakq7.js} +1 -1
  39. package/dist/components/{Mux-DViOuZEf.esm.js → Mux-BkYFN2pY.esm.js} +1 -1
  40. package/dist/{Mux-CcuhwsTR.js → components/Mux-DG9MzWJJ.js} +1 -1
  41. package/dist/components/{Preview-DNbkRhZ8.js → Preview-C9bqWbVA.js} +1 -1
  42. package/dist/{Preview-BOoNVzWj.esm.js → components/Preview-CvY6EjBK.esm.js} +1 -1
  43. package/dist/{SoundCloud-CnTQnuQT.esm.js → components/SoundCloud-7Ab4OXuR.esm.js} +1 -1
  44. package/dist/{SoundCloud-B4UxbuD7.js → components/SoundCloud-CKIpaRPF.js} +1 -1
  45. package/dist/components/{Streamable-DtBwFW6g.js → Streamable-BXVCZ2H_.js} +1 -1
  46. package/dist/{Streamable-CQhDHunK.esm.js → components/Streamable-Eomyo3dI.esm.js} +1 -1
  47. package/dist/components/{Twitch-DAT7hefU.js → Twitch-D5EBDFfA.js} +1 -1
  48. package/dist/{Twitch-AwC64wBC.esm.js → components/Twitch-q9m2yaxb.esm.js} +1 -1
  49. package/dist/{Vidyard-BoOdEweO.js → components/Vidyard-4vG3cxFA.js} +1 -1
  50. package/dist/{Vidyard-D2jOYQNm.esm.js → components/Vidyard-kdCt5iEq.esm.js} +1 -1
  51. package/dist/components/{Vimeo-C1hVa5qC.js → Vimeo-BGba-yjE.js} +1 -1
  52. package/dist/{Vimeo-B0bDbrZt.esm.js → components/Vimeo-DmUEnY19.esm.js} +1 -1
  53. package/dist/{Wistia-yP0ZdJZ4.js → components/Wistia-D43lEDD3.js} +1 -1
  54. package/dist/components/{Wistia-nFgW0-Dm.esm.js → Wistia-DeDxfilT.esm.js} +1 -1
  55. package/dist/{YouTube-_Cfhqutp.js → components/YouTube-7DrfCbvc.js} +1 -1
  56. package/dist/components/{YouTube-CGiZiIY7.esm.js → YouTube-Bfj3wxRA.esm.js} +1 -1
  57. package/dist/components/{index-BFXefxJq.js → index-DhbM8agv.js} +154 -56
  58. package/dist/components/{index-BbHra_-k.esm.js → index-DyvBNraz.esm.js} +154 -56
  59. package/dist/components/index.esm.js +1 -1
  60. package/dist/components/index.js +1 -1
  61. package/dist/icons/index.esm.js +2 -2
  62. package/dist/icons/index.js +2 -2
  63. package/dist/{index-DFDwHEXv.js → index-B6vRfOUc.js} +154 -56
  64. package/dist/{index-DdlZLa-7.esm.js → index-BbvE58zB.esm.js} +154 -56
  65. package/dist/index.esm.js +1 -1
  66. package/dist/index.js +1 -1
  67. package/package.json +1 -1
@@ -483,6 +483,15 @@ function _toPropertyKey(t) {
483
483
  var i = _toPrimitive(t, "string");
484
484
  return "symbol" == typeof i ? i : i + "";
485
485
  }
486
+ function _typeof$2(o) {
487
+ "@babel/helpers - typeof";
488
+
489
+ return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
490
+ return typeof o;
491
+ } : function (o) {
492
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
493
+ }, _typeof$2(o);
494
+ }
486
495
  function _unsupportedIterableToArray$1(r, a) {
487
496
  if (r) {
488
497
  if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
@@ -35002,7 +35011,7 @@ var CheckBoxIcon = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
35002
35011
  var className = _ref.className,
35003
35012
  onClick = _ref.onClick,
35004
35013
  _ref$fill = _ref.fill,
35005
- fill = _ref$fill === void 0 ? '#68707A' : _ref$fill,
35014
+ fill = _ref$fill === void 0 ? 'currentColor' : _ref$fill,
35006
35015
  props = _objectWithoutProperties$1(_ref, _excluded$Q);
35007
35016
  return require$$2$2.jsxs("svg", _objectSpread2$1(_objectSpread2$1({
35008
35017
  ref: ref,
@@ -35586,7 +35595,7 @@ var CheckBoxOutlineBlankIcon = /*#__PURE__*/React.forwardRef(function (_ref, ref
35586
35595
  var className = _ref.className,
35587
35596
  onClick = _ref.onClick,
35588
35597
  _ref$fill = _ref.fill,
35589
- fill = _ref$fill === void 0 ? '#68707A' : _ref$fill,
35598
+ fill = _ref$fill === void 0 ? 'currentColor' : _ref$fill,
35590
35599
  props = _objectWithoutProperties$1(_ref, _excluded$v);
35591
35600
  return require$$2$2.jsxs("svg", _objectSpread2$1(_objectSpread2$1({
35592
35601
  ref: ref,
@@ -76902,7 +76911,7 @@ function requirePlayers () {
76902
76911
  canPlay: import_patterns.canPlay.youtube,
76903
76912
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76904
76913
  /* webpackChunkName: 'reactPlayerYouTube' */
76905
- './YouTube-_Cfhqutp.js'
76914
+ './YouTube-De0Zcr48.js'
76906
76915
  ); }).then(function (n) { return n.YouTube; }))
76907
76916
  },
76908
76917
  {
@@ -76911,7 +76920,7 @@ function requirePlayers () {
76911
76920
  canPlay: import_patterns.canPlay.soundcloud,
76912
76921
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76913
76922
  /* webpackChunkName: 'reactPlayerSoundCloud' */
76914
- './SoundCloud-B4UxbuD7.js'
76923
+ './SoundCloud-CU-Ut439.js'
76915
76924
  ); }).then(function (n) { return n.SoundCloud; }))
76916
76925
  },
76917
76926
  {
@@ -76920,7 +76929,7 @@ function requirePlayers () {
76920
76929
  canPlay: import_patterns.canPlay.vimeo,
76921
76930
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76922
76931
  /* webpackChunkName: 'reactPlayerVimeo' */
76923
- './Vimeo-Dzc4a1Tk.js'
76932
+ './Vimeo-D5IBvHh3.js'
76924
76933
  ); }).then(function (n) { return n.Vimeo; }))
76925
76934
  },
76926
76935
  {
@@ -76929,7 +76938,7 @@ function requirePlayers () {
76929
76938
  canPlay: import_patterns.canPlay.mux,
76930
76939
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76931
76940
  /* webpackChunkName: 'reactPlayerMux' */
76932
- './Mux-CcuhwsTR.js'
76941
+ './Mux-BabemoFL.js'
76933
76942
  ); }).then(function (n) { return n.Mux; }))
76934
76943
  },
76935
76944
  {
@@ -76938,7 +76947,7 @@ function requirePlayers () {
76938
76947
  canPlay: import_patterns.canPlay.facebook,
76939
76948
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76940
76949
  /* webpackChunkName: 'reactPlayerFacebook' */
76941
- './Facebook-C3BJvR0K.js'
76950
+ './Facebook-3tK7pj--.js'
76942
76951
  ); }).then(function (n) { return n.Facebook; }))
76943
76952
  },
76944
76953
  {
@@ -76947,7 +76956,7 @@ function requirePlayers () {
76947
76956
  canPlay: import_patterns.canPlay.streamable,
76948
76957
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76949
76958
  /* webpackChunkName: 'reactPlayerStreamable' */
76950
- './Streamable-yQbFXf5t.js'
76959
+ './Streamable-Bn7g8F4x.js'
76951
76960
  ); }).then(function (n) { return n.Streamable; }))
76952
76961
  },
76953
76962
  {
@@ -76956,7 +76965,7 @@ function requirePlayers () {
76956
76965
  canPlay: import_patterns.canPlay.wistia,
76957
76966
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76958
76967
  /* webpackChunkName: 'reactPlayerWistia' */
76959
- './Wistia-yP0ZdJZ4.js'
76968
+ './Wistia-tSwqRHs6.js'
76960
76969
  ); }).then(function (n) { return n.Wistia; }))
76961
76970
  },
76962
76971
  {
@@ -76965,7 +76974,7 @@ function requirePlayers () {
76965
76974
  canPlay: import_patterns.canPlay.twitch,
76966
76975
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76967
76976
  /* webpackChunkName: 'reactPlayerTwitch' */
76968
- './Twitch-B95sCWzf.js'
76977
+ './Twitch-Dcu4TkiI.js'
76969
76978
  ); }).then(function (n) { return n.Twitch; }))
76970
76979
  },
76971
76980
  {
@@ -76974,7 +76983,7 @@ function requirePlayers () {
76974
76983
  canPlay: import_patterns.canPlay.dailymotion,
76975
76984
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76976
76985
  /* webpackChunkName: 'reactPlayerDailyMotion' */
76977
- './DailyMotion-CG-3NvMg.js'
76986
+ './DailyMotion-BAM-voxR.js'
76978
76987
  ); }).then(function (n) { return n.DailyMotion; }))
76979
76988
  },
76980
76989
  {
@@ -76983,7 +76992,7 @@ function requirePlayers () {
76983
76992
  canPlay: import_patterns.canPlay.mixcloud,
76984
76993
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76985
76994
  /* webpackChunkName: 'reactPlayerMixcloud' */
76986
- './Mixcloud-DN4d9IKn.js'
76995
+ './Mixcloud-Co1LwZpB.js'
76987
76996
  ); }).then(function (n) { return n.Mixcloud; }))
76988
76997
  },
76989
76998
  {
@@ -76992,7 +77001,7 @@ function requirePlayers () {
76992
77001
  canPlay: import_patterns.canPlay.vidyard,
76993
77002
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
76994
77003
  /* webpackChunkName: 'reactPlayerVidyard' */
76995
- './Vidyard-BoOdEweO.js'
77004
+ './Vidyard-CzYsGSGc.js'
76996
77005
  ); }).then(function (n) { return n.Vidyard; }))
76997
77006
  },
76998
77007
  {
@@ -77001,7 +77010,7 @@ function requirePlayers () {
77001
77010
  canPlay: import_patterns.canPlay.kaltura,
77002
77011
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77003
77012
  /* webpackChunkName: 'reactPlayerKaltura' */
77004
- './Kaltura-B7v-_e10.js'
77013
+ './Kaltura-E5CUKZxs.js'
77005
77014
  ); }).then(function (n) { return n.Kaltura; }))
77006
77015
  },
77007
77016
  {
@@ -77013,7 +77022,7 @@ function requirePlayers () {
77013
77022
  },
77014
77023
  lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77015
77024
  /* webpackChunkName: 'reactPlayerFilePlayer' */
77016
- './FilePlayer-aWIbaUEm.js'
77025
+ './FilePlayer-Bst4Fs8D.js'
77017
77026
  ); }).then(function (n) { return n.FilePlayer; }))
77018
77027
  }
77019
77028
  ];
@@ -77834,7 +77843,7 @@ function requireReactPlayer () {
77834
77843
  var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
77835
77844
  const Preview = (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
77836
77845
  /* webpackChunkName: 'reactPlayerPreview' */
77837
- './Preview-BUBe9HXB.js'
77846
+ './Preview-CleV75rl.js'
77838
77847
  ); }).then(function (n) { return n.Preview; }));
77839
77848
  const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
77840
77849
  const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
@@ -78077,83 +78086,90 @@ var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
78077
78086
  };
78078
78087
 
78079
78088
  var _templateObject$8, _templateObject2$6, _templateObject3$3, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
78080
- var StyledControls = dt.div(_templateObject$8 || (_templateObject$8 = _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: ", ";\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) {
78089
+ var StyledControls = dt.div(_templateObject$8 || (_templateObject$8 = _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) {
78081
78090
  var theme = _ref.theme;
78082
- var _a, _b, _c;
78091
+ var _a, _b;
78083
78092
  // Handle different theme structures
78084
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78085
- return theme.colors.primary.main;
78093
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78094
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78086
78095
  }
78087
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78088
- return theme.colors.primary;
78096
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78097
+ return theme.colors.primary; // suada-students structure
78089
78098
  }
78090
- return 'var(--brand-colors-accent)';
78099
+ return 'var(--brand-colors-accent, #08C694)'; // fallback
78091
78100
  }, {
78092
78101
  fontStyle: 'descriptor'
78093
78102
  });
78094
78103
  var StyledSlider = dt.input(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral$1(["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n /* Enhanced mobile touch target */\n @media (hover: none) and (pointer: coarse) {\n height: 4px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n border: none;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n /* Enhance visibility on focus for accessibility */\n &:focus {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"])), function (_ref2) {
78095
78104
  var value = _ref2.value,
78096
78105
  theme = _ref2.theme;
78097
- var _a, _b, _c;
78106
+ var _a, _b;
78098
78107
  // Handle different theme structures
78099
78108
  var primaryColor = 'var(--brand-colors-accent)';
78100
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78101
- primaryColor = theme.colors.primary.main;
78102
- } else if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78103
- primaryColor = theme.colors.primary;
78109
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78110
+ primaryColor = theme.colors.primary.main || '#08C694'; // suada-components structure
78111
+ } else if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78112
+ primaryColor = theme.colors.primary; // suada-students structure
78104
78113
  }
78105
78114
  return "linear-gradient(\n to right,\n ".concat(primaryColor, " 0%,\n ").concat(primaryColor, " ").concat(value, "%,\n var(--level-dark-200) ").concat(value, "%,\n var(--level-dark-200) 100%\n )");
78106
78115
  }, function (_ref3) {
78107
78116
  var theme = _ref3.theme;
78108
78117
  var _a, _b;
78109
- return ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) || 'var(--brand-colors-accent)';
78118
+ // Handle different theme structures
78119
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78120
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78121
+ }
78122
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78123
+ return theme.colors.primary; // suada-students structure
78124
+ }
78125
+ return 'var(--brand-colors-accent)'; // fallback
78110
78126
  }, function (_ref4) {
78111
78127
  var theme = _ref4.theme;
78112
- var _a, _b, _c;
78128
+ var _a, _b;
78113
78129
  // Handle different theme structures
78114
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78115
- return theme.colors.primary.main;
78130
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78131
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78116
78132
  }
78117
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78118
- return theme.colors.primary;
78133
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78134
+ return theme.colors.primary; // suada-students structure
78119
78135
  }
78120
- return 'var(--brand-colors-accent)';
78136
+ return 'var(--brand-colors-accent)'; // fallback
78121
78137
  });
78122
78138
  var StyledVolumeWrapper = dt.div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral$1(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n & > svg {\n cursor: pointer;\n }\n\n & > input {\n display: none;\n }\n\n &:hover > input {\n display: block;\n }\n\n /* Always show volume slider on touch devices */\n @media (hover: none) and (pointer: coarse) {\n & > input {\n display: block;\n }\n }\n\n /* Hide volume slider on very small screens */\n @media screen and (max-width: 320px) {\n & > input {\n display: none !important;\n }\n }\n"])));
78123
78139
  var StyledVolumeSlider = dt.input(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral$1(["\n width: 100px;\n height: 4px;\n border-radius: 5px;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n\n /* Responsive width adjustments */\n @media screen and (max-width: 768px) {\n width: 80px;\n }\n\n @media screen and (max-width: 480px) {\n width: 60px;\n }\n\n @media screen and (max-width: 320px) {\n width: 50px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: ", ";\n cursor: pointer;\n border: none;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n"])), function (_ref5) {
78124
78140
  var value = _ref5.value,
78125
78141
  theme = _ref5.theme;
78126
- var _a, _b, _c;
78142
+ var _a, _b;
78127
78143
  // Handle different theme structures
78128
78144
  var primaryColor = 'var(--neutral-colors-light)';
78129
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78130
- primaryColor = theme.colors.primary.main;
78131
- } else if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78132
- primaryColor = theme.colors.primary;
78145
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78146
+ primaryColor = theme.colors.primary.main || '#08C694'; // suada-components structure
78147
+ } else if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78148
+ primaryColor = theme.colors.primary; // suada-students structure
78133
78149
  }
78134
78150
  return "linear-gradient(\n to right,\n ".concat(primaryColor, " 0%,\n ").concat(primaryColor, " ").concat(value, "%,\n var(--level-grey-500) ").concat(value, "%,\n var(--level-grey-500) 100%\n )");
78135
78151
  }, function (_ref6) {
78136
78152
  var theme = _ref6.theme;
78137
- var _a, _b, _c;
78153
+ var _a, _b;
78138
78154
  // Handle different theme structures
78139
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78140
- return theme.colors.primary.main;
78155
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78156
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78141
78157
  }
78142
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78143
- return theme.colors.primary;
78158
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78159
+ return theme.colors.primary; // suada-students structure
78144
78160
  }
78145
- return 'var(--neutral-colors-light)';
78161
+ return 'var(--neutral-colors-light)'; // fallback
78146
78162
  }, function (_ref7) {
78147
78163
  var theme = _ref7.theme;
78148
- var _a, _b, _c;
78164
+ var _a, _b;
78149
78165
  // Handle different theme structures
78150
- if ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) {
78151
- return theme.colors.primary.main;
78166
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78167
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78152
78168
  }
78153
- if (typeof ((_c = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _c === void 0 ? void 0 : _c.primary) === 'string') {
78154
- return theme.colors.primary;
78169
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78170
+ return theme.colors.primary; // suada-students structure
78155
78171
  }
78156
- return 'var(--neutral-colors-light)';
78172
+ return 'var(--neutral-colors-light)'; // fallback
78157
78173
  });
78158
78174
  var StyledControllerLeft = dt.div(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n \n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n /* Hide rewind/forward controls on very small screens */\n @media screen and (max-width: 480px) {\n .rewind-control,\n .forward-control {\n display: none;\n }\n }\n"])));
78159
78175
  var StyledControllerRight = dt.div(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n \n /* Hide less essential controls on mobile */\n .skip-control,\n .favorite-control,\n .download-control {\n display: none;\n }\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
@@ -78164,16 +78180,48 @@ var StyledTimeTrack = dt.div(_templateObject7 || (_templateObject7 = _taggedTemp
78164
78180
  var BaseIconContainer = dt.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral$1(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n min-width: 24px;\n min-height: 24px;\n border-radius: 4px;\n transition: background-color 0.2s ease, transform 0.1s ease;\n\n /* Enhanced touch targets for mobile */\n @media (hover: none) and (pointer: coarse) {\n min-width: 32px;\n min-height: 32px;\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n \n & > svg > path {\n fill: ", " !important;\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n /* Focus styles for accessibility */\n &:focus-visible {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"])), function (_ref8) {
78165
78181
  var theme = _ref8.theme;
78166
78182
  var _a, _b;
78167
- return ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) || 'var(--video-player-primary-color, #08C694)';
78183
+ // Handle different theme structures
78184
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78185
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78186
+ }
78187
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78188
+ return theme.colors.primary; // suada-students structure
78189
+ }
78190
+ return 'var(--video-player-primary-color, #08C694)'; // fallback
78168
78191
  });
78169
78192
  var StyledHeartIconContainer = dt(BaseIconContainer)(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78170
78193
  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"])));
78171
78194
  var StyledSubtitlesIconContainer = dt(BaseIconContainer)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78172
78195
  var StyledFullscreenIconContainer = dt(BaseIconContainer)(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78173
- var StyledPictureInPictureIconContainer = dt(BaseIconContainer)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral$1(["\n &.pip-active {\n background-color: rgba(8, 198, 148, 0.2);\n \n & > svg > path {\n fill: ", " !important;\n }\n }\n"])), function (_ref9) {
78196
+ 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) {
78174
78197
  var theme = _ref9.theme;
78175
78198
  var _a, _b;
78176
- return ((_b = (_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) === null || _b === void 0 ? void 0 : _b.main) || 'var(--video-player-primary-color, #08C694)';
78199
+ // Handle different theme structures for background color (with opacity)
78200
+ var primaryColor;
78201
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78202
+ primaryColor = theme.colors.primary.main || '#08C694'; // suada-components structure
78203
+ } else if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78204
+ primaryColor = theme.colors.primary; // suada-students structure
78205
+ } else {
78206
+ primaryColor = '#08C694'; // fallback
78207
+ }
78208
+ // Convert hex to rgba with opacity
78209
+ var hex = primaryColor.replace('#', '');
78210
+ var r = parseInt(hex.substr(0, 2), 16);
78211
+ var g = parseInt(hex.substr(2, 2), 16);
78212
+ var b = parseInt(hex.substr(4, 2), 16);
78213
+ return "rgba(".concat(r, ", ").concat(g, ", ").concat(b, ", 0.2)");
78214
+ }, function (_ref10) {
78215
+ var theme = _ref10.theme;
78216
+ var _a, _b;
78217
+ // Handle different theme structures
78218
+ if (((_a = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _a === void 0 ? void 0 : _a.primary) && _typeof$2(theme.colors.primary) === 'object' && 'main' in theme.colors.primary) {
78219
+ return theme.colors.primary.main || '#08C694'; // suada-components structure
78220
+ }
78221
+ if (typeof ((_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === 'string') {
78222
+ return theme.colors.primary; // suada-students structure
78223
+ }
78224
+ return 'var(--video-player-primary-color, #08C694)'; // fallback
78177
78225
  });
78178
78226
  var StyledVolumeIconContainer = dt(BaseIconContainer)(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
78179
78227
  var StyledPlayPauseIconContainer = dt(BaseIconContainer)(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral$1(["\n /* Additional specific styles if needed */\n"])));
@@ -84499,10 +84547,60 @@ var PiPProvider = function PiPProvider(_ref) {
84499
84547
  });
84500
84548
  };
84501
84549
 
84550
+ // Default implementation when PiPProvider is not available
84551
+ var defaultPiPContext = {
84552
+ isPiPActive: false,
84553
+ pipVideoState: null,
84554
+ enterPiP: function () {
84555
+ var _enterPiP = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
84556
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
84557
+ while (1) switch (_context.prev = _context.next) {
84558
+ case 0:
84559
+ console.warn('PiP functionality requires PiPProvider wrapper');
84560
+ return _context.abrupt("return", false);
84561
+ case 2:
84562
+ case "end":
84563
+ return _context.stop();
84564
+ }
84565
+ }, _callee);
84566
+ }));
84567
+ function enterPiP() {
84568
+ return _enterPiP.apply(this, arguments);
84569
+ }
84570
+ return enterPiP;
84571
+ }(),
84572
+ exitPiP: function () {
84573
+ var _exitPiP = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
84574
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
84575
+ while (1) switch (_context2.prev = _context2.next) {
84576
+ case 0:
84577
+ console.warn('PiP functionality requires PiPProvider wrapper');
84578
+ return _context2.abrupt("return", false);
84579
+ case 2:
84580
+ case "end":
84581
+ return _context2.stop();
84582
+ }
84583
+ }, _callee2);
84584
+ }));
84585
+ function exitPiP() {
84586
+ return _exitPiP.apply(this, arguments);
84587
+ }
84588
+ return exitPiP;
84589
+ }(),
84590
+ updateVideoState: function updateVideoState() {
84591
+ console.warn('PiP functionality requires PiPProvider wrapper');
84592
+ },
84593
+ registerVideoElement: function registerVideoElement() {
84594
+ // No-op when provider is not available
84595
+ },
84596
+ unregisterVideoElement: function unregisterVideoElement() {
84597
+ // No-op when provider is not available
84598
+ }
84599
+ };
84502
84600
  var usePiP = function usePiP() {
84503
84601
  var context = React.useContext(PiPContext);
84504
84602
  if (context === undefined) {
84505
- throw new Error('usePiP must be used within a PiPProvider');
84603
+ return defaultPiPContext;
84506
84604
  }
84507
84605
  return context;
84508
84606
  };