suada-components 1.9.1 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DailyMotion-BAvo3Toe.esm.js → DailyMotion-CfbMMyt6.esm.js} +1 -1
- package/dist/{DailyMotion-B-Q4fBEb.js → DailyMotion-DIieYZc6.js} +1 -1
- package/dist/{components/Facebook-CDrTA2_L.esm.js → Facebook-Bv9gRyEj.esm.js} +1 -1
- package/dist/{components/Facebook-YxZce26V.js → Facebook-q8URvYqO.js} +1 -1
- package/dist/{FilePlayer-CQ80KWY2.js → FilePlayer-2u_FXCSj.js} +1 -1
- package/dist/{FilePlayer-BOZIvaDy.esm.js → FilePlayer-BwAlBw7n.esm.js} +1 -1
- package/dist/{Kaltura-B12Xdl6X.esm.js → Kaltura-DH3DF-Gt.esm.js} +1 -1
- package/dist/{components/Kaltura-krSxvIBr.js → Kaltura-DqIQeJq5.js} +1 -1
- package/dist/{Mixcloud-DGQnlDAK.js → Mixcloud-BUjkrx5l.js} +1 -1
- package/dist/{Mixcloud-JfeQIOki.esm.js → Mixcloud-D02r0ol_.esm.js} +1 -1
- package/dist/{components/Mux-BZleoaJh.esm.js → Mux-BuB2BfAv.esm.js} +1 -1
- package/dist/{Mux-CiKZc8gj.js → Mux-CZ2OeleY.js} +1 -1
- package/dist/{Preview-DvZKrgm5.js → Preview-DqDPuC88.js} +1 -1
- package/dist/{Preview-DSovY9gr.esm.js → Preview-e_g825ee.esm.js} +1 -1
- package/dist/{SoundCloud-Di7z3nmP.js → SoundCloud-CM1YouqE.js} +1 -1
- package/dist/{SoundCloud-j_R0lK8D.esm.js → SoundCloud-CjEwKAy7.esm.js} +1 -1
- package/dist/{Streamable-CRhXZIKP.esm.js → Streamable-D_AVn6rL.esm.js} +1 -1
- package/dist/{Streamable-CV1mgzRv.js → Streamable-DsBfdV-g.js} +1 -1
- package/dist/{Twitch-Dj66vkCD.js → Twitch-CmERSXRT.js} +1 -1
- package/dist/{components/Twitch-CXOhay4a.esm.js → Twitch-DaRYziKs.esm.js} +1 -1
- package/dist/{components/Vidyard-Cn_LcGwi.js → Vidyard-CiO_bL8b.js} +1 -1
- package/dist/{components/Vidyard-YcZH6kkW.esm.js → Vidyard-CwapqxZ-.esm.js} +1 -1
- package/dist/{Vimeo-Ba9C6utC.esm.js → Vimeo-CMoL8SJi.esm.js} +1 -1
- package/dist/{Vimeo-DePzl7Sn.js → Vimeo-CpvhoTnW.js} +1 -1
- package/dist/{components/Wistia-COWrV8QC.js → Wistia-CijRSDbl.js} +1 -1
- package/dist/{components/Wistia-PneZ48dn.esm.js → Wistia-DhksCdDm.esm.js} +1 -1
- package/dist/{YouTube-vwMoW93C.js → YouTube-CiPFMNNG.js} +1 -1
- package/dist/{components/YouTube-BUyvzJQw.esm.js → YouTube-DW3AvX0m.esm.js} +1 -1
- package/dist/components/Button/Button.stories.d.ts +2 -0
- package/dist/components/{DailyMotion-D2n1NDDi.esm.js → DailyMotion-CCnmtX_9.esm.js} +1 -1
- package/dist/components/{DailyMotion-Cr_8IZRR.js → DailyMotion-Du0LVn2-.js} +1 -1
- package/dist/{Facebook-CASik-P5.js → components/Facebook-CjZ7HsBA.js} +1 -1
- package/dist/{Facebook-C8GOujDt.esm.js → components/Facebook-DUDgDWjz.esm.js} +1 -1
- package/dist/components/{FilePlayer-DqqTufgX.js → FilePlayer-CRftl62T.js} +1 -1
- package/dist/components/{FilePlayer-BzkVMbQ8.esm.js → FilePlayer-_3t-0Yxs.esm.js} +1 -1
- package/dist/components/{Kaltura-B0UZLr6g.esm.js → Kaltura-C0ZIVeQR.esm.js} +1 -1
- package/dist/{Kaltura-nYc5k7UB.js → components/Kaltura-CSTN5Rul.js} +1 -1
- package/dist/components/{Mixcloud-D9qk3D6i.esm.js → Mixcloud-CLpsSMW9.esm.js} +1 -1
- package/dist/components/{Mixcloud-BCT5e47d.js → Mixcloud-DWbtn99D.js} +1 -1
- package/dist/components/{Mux-D_si09u2.js → Mux-4tmUDWpp.js} +1 -1
- package/dist/{Mux-BHWzpAR-.esm.js → components/Mux-BvvlblBZ.esm.js} +1 -1
- package/dist/components/{Preview-CmduMeEZ.js → Preview-DGQ-4L3t.js} +1 -1
- package/dist/components/{Preview-DQLbQ8_C.esm.js → Preview-DYNCjWc6.esm.js} +1 -1
- package/dist/components/{SoundCloud-BgnX8kOF.esm.js → SoundCloud-BjSURWDI.esm.js} +1 -1
- package/dist/components/{SoundCloud-BHgTfaW7.js → SoundCloud-qATRbAFQ.js} +1 -1
- package/dist/components/{Streamable-DTAzjVwd.js → Streamable-BTFjBDV_.js} +1 -1
- package/dist/components/{Streamable-DbRbUflP.esm.js → Streamable-DuoO_OaU.esm.js} +1 -1
- package/dist/{Twitch-6icfp-ZE.esm.js → components/Twitch-BLM7sM5U.esm.js} +1 -1
- package/dist/components/{Twitch-CnEk-l9R.js → Twitch-BQaXeGDA.js} +1 -1
- package/dist/components/VideoPlayer/Controls/Controls.styles.js +29 -7
- package/dist/components/VideoPlayer/Controls/Controls.styles.js.map +1 -1
- package/dist/components/VideoPlayer/usePlayerControls.js +37 -27
- package/dist/components/VideoPlayer/usePlayerControls.js.map +1 -1
- package/dist/{Vidyard--KX47pZ0.esm.js → components/Vidyard-CYSoFkXJ.esm.js} +1 -1
- package/dist/{Vidyard-B-qmApe9.js → components/Vidyard-DE_V8Pca.js} +1 -1
- package/dist/components/{Vimeo-BUVxWt7t.js → Vimeo-BCY2SATj.js} +1 -1
- package/dist/components/{Vimeo-Cv0qx3aR.esm.js → Vimeo-D-Wnyri7.esm.js} +1 -1
- package/dist/{Wistia-CXYB3Yus.js → components/Wistia-Cp8prs3r.js} +1 -1
- package/dist/{Wistia-DWJcdcY2.esm.js → components/Wistia-D2ifexFL.esm.js} +1 -1
- package/dist/{YouTube-DdBVPxzz.esm.js → components/YouTube-BKIxt4bj.esm.js} +1 -1
- package/dist/components/{YouTube-DeQdfkWm.js → YouTube-Do1mvujm.js} +1 -1
- package/dist/components/{index-C4Mk2H3N.esm.js → index-BKfTO00H.esm.js} +217 -180
- package/dist/components/{index-Bs-XxxV4.js → index-BaygwC_K.js} +217 -180
- package/dist/components/index.esm.js +1 -1
- package/dist/components/theme/Theme.d.ts +2 -0
- package/dist/components/theme/interfaces.d.ts +17 -17
- package/dist/icons/theme/Theme.d.ts +2 -0
- package/dist/icons/theme/interfaces.d.ts +17 -17
- package/dist/{index-CSj9NYxJ.js → index-BKi6wPDv.js} +217 -180
- package/dist/{index-Bp-idbg5.esm.js → index-Dc7wycLL.esm.js} +217 -180
- package/dist/index.esm.js +1 -1
- package/dist/theme/Theme.d.ts +2 -0
- package/dist/theme/Theme.js +29 -28
- package/dist/theme/Theme.js.map +1 -1
- package/dist/theme/interfaces.d.ts +17 -17
- package/package.json +1 -1
|
@@ -81355,7 +81355,7 @@ function requirePlayers () {
|
|
|
81355
81355
|
canPlay: import_patterns.canPlay.youtube,
|
|
81356
81356
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81357
81357
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
81358
|
-
'./YouTube-
|
|
81358
|
+
'./YouTube-DW3AvX0m.esm.js'
|
|
81359
81359
|
).then(function (n) { return n.Y; }))
|
|
81360
81360
|
},
|
|
81361
81361
|
{
|
|
@@ -81364,7 +81364,7 @@ function requirePlayers () {
|
|
|
81364
81364
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
81365
81365
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81366
81366
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
81367
|
-
'./SoundCloud-
|
|
81367
|
+
'./SoundCloud-CjEwKAy7.esm.js'
|
|
81368
81368
|
).then(function (n) { return n.S; }))
|
|
81369
81369
|
},
|
|
81370
81370
|
{
|
|
@@ -81373,7 +81373,7 @@ function requirePlayers () {
|
|
|
81373
81373
|
canPlay: import_patterns.canPlay.vimeo,
|
|
81374
81374
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81375
81375
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
81376
|
-
'./Vimeo-
|
|
81376
|
+
'./Vimeo-CMoL8SJi.esm.js'
|
|
81377
81377
|
).then(function (n) { return n.V; }))
|
|
81378
81378
|
},
|
|
81379
81379
|
{
|
|
@@ -81382,7 +81382,7 @@ function requirePlayers () {
|
|
|
81382
81382
|
canPlay: import_patterns.canPlay.mux,
|
|
81383
81383
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81384
81384
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
81385
|
-
'./Mux-
|
|
81385
|
+
'./Mux-BuB2BfAv.esm.js'
|
|
81386
81386
|
).then(function (n) { return n.M; }))
|
|
81387
81387
|
},
|
|
81388
81388
|
{
|
|
@@ -81391,7 +81391,7 @@ function requirePlayers () {
|
|
|
81391
81391
|
canPlay: import_patterns.canPlay.facebook,
|
|
81392
81392
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81393
81393
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
81394
|
-
'./Facebook-
|
|
81394
|
+
'./Facebook-Bv9gRyEj.esm.js'
|
|
81395
81395
|
).then(function (n) { return n.F; }))
|
|
81396
81396
|
},
|
|
81397
81397
|
{
|
|
@@ -81400,7 +81400,7 @@ function requirePlayers () {
|
|
|
81400
81400
|
canPlay: import_patterns.canPlay.streamable,
|
|
81401
81401
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81402
81402
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
81403
|
-
'./Streamable-
|
|
81403
|
+
'./Streamable-D_AVn6rL.esm.js'
|
|
81404
81404
|
).then(function (n) { return n.S; }))
|
|
81405
81405
|
},
|
|
81406
81406
|
{
|
|
@@ -81409,7 +81409,7 @@ function requirePlayers () {
|
|
|
81409
81409
|
canPlay: import_patterns.canPlay.wistia,
|
|
81410
81410
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81411
81411
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
81412
|
-
'./Wistia-
|
|
81412
|
+
'./Wistia-DhksCdDm.esm.js'
|
|
81413
81413
|
).then(function (n) { return n.W; }))
|
|
81414
81414
|
},
|
|
81415
81415
|
{
|
|
@@ -81418,7 +81418,7 @@ function requirePlayers () {
|
|
|
81418
81418
|
canPlay: import_patterns.canPlay.twitch,
|
|
81419
81419
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81420
81420
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
81421
|
-
'./Twitch-
|
|
81421
|
+
'./Twitch-DaRYziKs.esm.js'
|
|
81422
81422
|
).then(function (n) { return n.T; }))
|
|
81423
81423
|
},
|
|
81424
81424
|
{
|
|
@@ -81427,7 +81427,7 @@ function requirePlayers () {
|
|
|
81427
81427
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
81428
81428
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81429
81429
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
81430
|
-
'./DailyMotion-
|
|
81430
|
+
'./DailyMotion-CfbMMyt6.esm.js'
|
|
81431
81431
|
).then(function (n) { return n.D; }))
|
|
81432
81432
|
},
|
|
81433
81433
|
{
|
|
@@ -81436,7 +81436,7 @@ function requirePlayers () {
|
|
|
81436
81436
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
81437
81437
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81438
81438
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
81439
|
-
'./Mixcloud-
|
|
81439
|
+
'./Mixcloud-D02r0ol_.esm.js'
|
|
81440
81440
|
).then(function (n) { return n.M; }))
|
|
81441
81441
|
},
|
|
81442
81442
|
{
|
|
@@ -81445,7 +81445,7 @@ function requirePlayers () {
|
|
|
81445
81445
|
canPlay: import_patterns.canPlay.vidyard,
|
|
81446
81446
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81447
81447
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
81448
|
-
'./Vidyard
|
|
81448
|
+
'./Vidyard-CwapqxZ-.esm.js'
|
|
81449
81449
|
).then(function (n) { return n.V; }))
|
|
81450
81450
|
},
|
|
81451
81451
|
{
|
|
@@ -81454,7 +81454,7 @@ function requirePlayers () {
|
|
|
81454
81454
|
canPlay: import_patterns.canPlay.kaltura,
|
|
81455
81455
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81456
81456
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
81457
|
-
'./Kaltura-
|
|
81457
|
+
'./Kaltura-DH3DF-Gt.esm.js'
|
|
81458
81458
|
).then(function (n) { return n.K; }))
|
|
81459
81459
|
},
|
|
81460
81460
|
{
|
|
@@ -81466,7 +81466,7 @@ function requirePlayers () {
|
|
|
81466
81466
|
},
|
|
81467
81467
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81468
81468
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
81469
|
-
'./FilePlayer-
|
|
81469
|
+
'./FilePlayer-BwAlBw7n.esm.js'
|
|
81470
81470
|
).then(function (n) { return n.F; }))
|
|
81471
81471
|
}
|
|
81472
81472
|
];
|
|
@@ -82287,7 +82287,7 @@ function requireReactPlayer () {
|
|
|
82287
82287
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
82288
82288
|
const Preview = (0, import_utils.lazy)(() => import(
|
|
82289
82289
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
82290
|
-
'./Preview-
|
|
82290
|
+
'./Preview-e_g825ee.esm.js'
|
|
82291
82291
|
).then(function (n) { return n.P; }));
|
|
82292
82292
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
82293
82293
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -82532,14 +82532,34 @@ var templateObject_1$9, templateObject_2$7, templateObject_3$4, templateObject_4
|
|
|
82532
82532
|
var StyledControls = dt.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\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;\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\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"], ["\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;\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\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"])), {
|
|
82533
82533
|
fontStyle: 'descriptor'
|
|
82534
82534
|
});
|
|
82535
|
-
var StyledSlider = dt.input(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\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:
|
|
82536
|
-
var
|
|
82537
|
-
|
|
82535
|
+
var StyledSlider = dt.input(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\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"], ["\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 (_a) {
|
|
82536
|
+
var _b, _c, _d, _e;
|
|
82537
|
+
var value = _a.value,
|
|
82538
|
+
theme = _a.theme;
|
|
82539
|
+
return "linear-gradient(\n to right,\n ".concat(((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || 'var(--brand-colors-accent)', " 0%,\n ").concat(((_e = (_d = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _d === void 0 ? void 0 : _d.primary) === null || _e === void 0 ? void 0 : _e.main) || 'var(--brand-colors-accent)', " ").concat(value, "%,\n var(--level-dark-200) ").concat(value, "%,\n var(--level-dark-200) 100%\n )");
|
|
82540
|
+
}, function (_a) {
|
|
82541
|
+
var _b, _c;
|
|
82542
|
+
var theme = _a.theme;
|
|
82543
|
+
return ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || 'var(--brand-colors-accent)';
|
|
82544
|
+
}, function (_a) {
|
|
82545
|
+
var _b, _c;
|
|
82546
|
+
var theme = _a.theme;
|
|
82547
|
+
return ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || 'var(--brand-colors-accent)';
|
|
82538
82548
|
});
|
|
82539
82549
|
var StyledVolumeWrapper = dt.div(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\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"], ["\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"])));
|
|
82540
|
-
var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\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:
|
|
82541
|
-
var
|
|
82542
|
-
|
|
82550
|
+
var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\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"], ["\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 (_a) {
|
|
82551
|
+
var _b, _c, _d, _e;
|
|
82552
|
+
var value = _a.value,
|
|
82553
|
+
theme = _a.theme;
|
|
82554
|
+
return "linear-gradient(\n to right,\n ".concat(((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || 'var(--neutral-colors-light)', " 0%,\n ").concat(((_e = (_d = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _d === void 0 ? void 0 : _d.primary) === null || _e === void 0 ? void 0 : _e.main) || 'var(--neutral-colors-light)', " ").concat(value, "%,\n var(--level-grey-500) ").concat(value, "%,\n var(--level-grey-500) 100%\n )");
|
|
82555
|
+
}, function (_a) {
|
|
82556
|
+
var _b, _c;
|
|
82557
|
+
var theme = _a.theme;
|
|
82558
|
+
return ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || 'var(--neutral-colors-light)';
|
|
82559
|
+
}, function (_a) {
|
|
82560
|
+
var _b, _c;
|
|
82561
|
+
var theme = _a.theme;
|
|
82562
|
+
return ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || 'var(--neutral-colors-light)';
|
|
82543
82563
|
});
|
|
82544
82564
|
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\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"], ["\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"])));
|
|
82545
82565
|
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\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"], ["\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"])));
|
|
@@ -82549,7 +82569,11 @@ var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTempl
|
|
|
82549
82569
|
fontStyle: 'descriptor'
|
|
82550
82570
|
});
|
|
82551
82571
|
// Base styles for icon containers
|
|
82552
|
-
var BaseIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\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:
|
|
82572
|
+
var BaseIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\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"], ["\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 (_a) {
|
|
82573
|
+
var _b, _c;
|
|
82574
|
+
var theme = _a.theme;
|
|
82575
|
+
return ((_c = (_b = theme === null || theme === void 0 ? void 0 : theme.colors) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) || '#08C694';
|
|
82576
|
+
});
|
|
82553
82577
|
var StyledHeartIconContainer = dt(BaseIconContainer)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
82554
82578
|
var StyledDownloadIconContainer = dt(BaseIconContainer)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\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"], ["\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"])));
|
|
82555
82579
|
var StyledSubtitlesIconContainer = dt(BaseIconContainer)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
@@ -88738,6 +88762,131 @@ var useEventListener = function useEventListener(eventName, handler, element, sh
|
|
|
88738
88762
|
}, [eventName, element, shouldRun]);
|
|
88739
88763
|
};
|
|
88740
88764
|
|
|
88765
|
+
var PiPContext = /*#__PURE__*/createContext(undefined);
|
|
88766
|
+
var PiPProvider = function PiPProvider(_a) {
|
|
88767
|
+
var children = _a.children;
|
|
88768
|
+
var _b = useState(false),
|
|
88769
|
+
isPiPActive = _b[0],
|
|
88770
|
+
setIsPiPActive = _b[1];
|
|
88771
|
+
var _c = useState(null),
|
|
88772
|
+
pipVideoState = _c[0],
|
|
88773
|
+
setPipVideoState = _c[1];
|
|
88774
|
+
var videoElementRef = useRef(null);
|
|
88775
|
+
var updateVideoState = useCallback(function (state) {
|
|
88776
|
+
setPipVideoState(function (prev) {
|
|
88777
|
+
return prev ? __assign(__assign({}, prev), state) : null;
|
|
88778
|
+
});
|
|
88779
|
+
}, []);
|
|
88780
|
+
var registerVideoElement = useCallback(function (element) {
|
|
88781
|
+
videoElementRef.current = element;
|
|
88782
|
+
}, []);
|
|
88783
|
+
var unregisterVideoElement = useCallback(function () {
|
|
88784
|
+
videoElementRef.current = null;
|
|
88785
|
+
}, []);
|
|
88786
|
+
var enterPiP = useCallback(function (videoElement, videoState) {
|
|
88787
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
88788
|
+
var error_1;
|
|
88789
|
+
return __generator(this, function (_a) {
|
|
88790
|
+
switch (_a.label) {
|
|
88791
|
+
case 0:
|
|
88792
|
+
if (!document.pictureInPictureEnabled) {
|
|
88793
|
+
console.warn('Picture-in-Picture is not supported in this browser');
|
|
88794
|
+
return [2 /*return*/, false];
|
|
88795
|
+
}
|
|
88796
|
+
if (document.pictureInPictureElement) {
|
|
88797
|
+
console.warn('Another video is already in Picture-in-Picture mode');
|
|
88798
|
+
return [2 /*return*/, false];
|
|
88799
|
+
}
|
|
88800
|
+
_a.label = 1;
|
|
88801
|
+
case 1:
|
|
88802
|
+
_a.trys.push([1, 5,, 6]);
|
|
88803
|
+
// Store video state
|
|
88804
|
+
setPipVideoState(videoState);
|
|
88805
|
+
videoElementRef.current = videoElement;
|
|
88806
|
+
if (!(videoElement.paused && videoState.isPlaying)) return [3 /*break*/, 3];
|
|
88807
|
+
return [4 /*yield*/, videoElement.play()];
|
|
88808
|
+
case 2:
|
|
88809
|
+
_a.sent();
|
|
88810
|
+
_a.label = 3;
|
|
88811
|
+
case 3:
|
|
88812
|
+
return [4 /*yield*/, videoElement.requestPictureInPicture()];
|
|
88813
|
+
case 4:
|
|
88814
|
+
_a.sent();
|
|
88815
|
+
return [2 /*return*/, true];
|
|
88816
|
+
case 5:
|
|
88817
|
+
error_1 = _a.sent();
|
|
88818
|
+
console.error('Failed to enter picture-in-picture:', error_1);
|
|
88819
|
+
return [2 /*return*/, false];
|
|
88820
|
+
case 6:
|
|
88821
|
+
return [2 /*return*/];
|
|
88822
|
+
}
|
|
88823
|
+
});
|
|
88824
|
+
});
|
|
88825
|
+
}, []);
|
|
88826
|
+
var exitPiP = useCallback(function () {
|
|
88827
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
88828
|
+
var error_2;
|
|
88829
|
+
return __generator(this, function (_a) {
|
|
88830
|
+
switch (_a.label) {
|
|
88831
|
+
case 0:
|
|
88832
|
+
_a.trys.push([0, 3,, 4]);
|
|
88833
|
+
if (!document.pictureInPictureElement) return [3 /*break*/, 2];
|
|
88834
|
+
return [4 /*yield*/, document.exitPictureInPicture()];
|
|
88835
|
+
case 1:
|
|
88836
|
+
_a.sent();
|
|
88837
|
+
_a.label = 2;
|
|
88838
|
+
case 2:
|
|
88839
|
+
return [2 /*return*/, true];
|
|
88840
|
+
case 3:
|
|
88841
|
+
error_2 = _a.sent();
|
|
88842
|
+
console.error('Failed to exit picture-in-picture:', error_2);
|
|
88843
|
+
return [2 /*return*/, false];
|
|
88844
|
+
case 4:
|
|
88845
|
+
return [2 /*return*/];
|
|
88846
|
+
}
|
|
88847
|
+
});
|
|
88848
|
+
});
|
|
88849
|
+
}, []);
|
|
88850
|
+
// Listen for PiP events
|
|
88851
|
+
useEffect(function () {
|
|
88852
|
+
var handlePiPEnter = function handlePiPEnter() {
|
|
88853
|
+
setIsPiPActive(true);
|
|
88854
|
+
};
|
|
88855
|
+
var handlePiPLeave = function handlePiPLeave() {
|
|
88856
|
+
setIsPiPActive(false);
|
|
88857
|
+
// Keep the video state for potential restoration
|
|
88858
|
+
// but don't clear it immediately
|
|
88859
|
+
};
|
|
88860
|
+
document.addEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88861
|
+
document.addEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88862
|
+
return function () {
|
|
88863
|
+
document.removeEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88864
|
+
document.removeEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88865
|
+
};
|
|
88866
|
+
}, []);
|
|
88867
|
+
var value = {
|
|
88868
|
+
isPiPActive: isPiPActive,
|
|
88869
|
+
pipVideoState: pipVideoState,
|
|
88870
|
+
enterPiP: enterPiP,
|
|
88871
|
+
exitPiP: exitPiP,
|
|
88872
|
+
updateVideoState: updateVideoState,
|
|
88873
|
+
registerVideoElement: registerVideoElement,
|
|
88874
|
+
unregisterVideoElement: unregisterVideoElement
|
|
88875
|
+
};
|
|
88876
|
+
return jsxRuntimeExports.jsx(PiPContext.Provider, {
|
|
88877
|
+
value: value,
|
|
88878
|
+
children: children
|
|
88879
|
+
});
|
|
88880
|
+
};
|
|
88881
|
+
|
|
88882
|
+
var usePiP = function usePiP() {
|
|
88883
|
+
var context = useContext(PiPContext);
|
|
88884
|
+
if (context === undefined) {
|
|
88885
|
+
throw new Error('usePiP must be used within a PiPProvider');
|
|
88886
|
+
}
|
|
88887
|
+
return context;
|
|
88888
|
+
};
|
|
88889
|
+
|
|
88741
88890
|
var count = 0;
|
|
88742
88891
|
var defaultVideoState = {
|
|
88743
88892
|
muted: false,
|
|
@@ -88769,26 +88918,30 @@ function usePlayerControls(_a) {
|
|
|
88769
88918
|
isSubtitlesChecked = _e[0],
|
|
88770
88919
|
setIsSubtitlesChecked = _e[1];
|
|
88771
88920
|
var _f = useState(false),
|
|
88772
|
-
|
|
88773
|
-
|
|
88921
|
+
isFullscreen = _f[0],
|
|
88922
|
+
setIsFullscreen = _f[1];
|
|
88774
88923
|
var _g = useState(false),
|
|
88775
|
-
|
|
88776
|
-
|
|
88777
|
-
var _h = useState(false),
|
|
88778
|
-
isControlsActive = _h[0],
|
|
88779
|
-
setIsControlsActive = _h[1];
|
|
88924
|
+
isControlsActive = _g[0],
|
|
88925
|
+
setIsControlsActive = _g[1];
|
|
88780
88926
|
var videoPlayerRef = useRef(null);
|
|
88781
88927
|
var controlRef = useRef(null);
|
|
88782
88928
|
var playerContainerRef = useRef(null);
|
|
88783
|
-
var
|
|
88784
|
-
subtitles =
|
|
88785
|
-
setSubtitles =
|
|
88786
|
-
var
|
|
88787
|
-
currentSubtitle =
|
|
88788
|
-
setCurrentSubtitle =
|
|
88929
|
+
var _h = useState([]),
|
|
88930
|
+
subtitles = _h[0],
|
|
88931
|
+
setSubtitles = _h[1];
|
|
88932
|
+
var _j = useState(''),
|
|
88933
|
+
currentSubtitle = _j[0],
|
|
88934
|
+
setCurrentSubtitle = _j[1];
|
|
88789
88935
|
var lastSubtitleIndexRef = useRef(null);
|
|
88790
88936
|
var lastPlaybackTimeRef = useRef(0);
|
|
88791
88937
|
var lastCallTimeRef = useRef(Date.now());
|
|
88938
|
+
// Use PiP context instead of local state
|
|
88939
|
+
var _k = usePiP(),
|
|
88940
|
+
isPiPActive = _k.isPiPActive,
|
|
88941
|
+
enterPiP = _k.enterPiP,
|
|
88942
|
+
exitPiP = _k.exitPiP,
|
|
88943
|
+
registerVideoElement = _k.registerVideoElement,
|
|
88944
|
+
unregisterVideoElement = _k.unregisterVideoElement;
|
|
88792
88945
|
var muted = videoState.muted,
|
|
88793
88946
|
volume = videoState.volume,
|
|
88794
88947
|
prevVolume = videoState.prevVolume,
|
|
@@ -88818,10 +88971,21 @@ function usePlayerControls(_a) {
|
|
|
88818
88971
|
setIsFullscreen(!!document.fullscreenElement);
|
|
88819
88972
|
};
|
|
88820
88973
|
var handlePiPEnter = function handlePiPEnter() {
|
|
88821
|
-
|
|
88974
|
+
var _a;
|
|
88975
|
+
// Use context method to update global PiP state
|
|
88976
|
+
var videoElement = (_a = videoPlayerRef.current) === null || _a === void 0 ? void 0 : _a.getInternalPlayer();
|
|
88977
|
+
if (videoElement && videoElement instanceof HTMLVideoElement) {
|
|
88978
|
+
enterPiP(videoElement, {
|
|
88979
|
+
url: url,
|
|
88980
|
+
currentTime: videoElement.currentTime,
|
|
88981
|
+
isPlaying: isPlaying,
|
|
88982
|
+
volume: videoState.volume,
|
|
88983
|
+
muted: videoState.muted
|
|
88984
|
+
});
|
|
88985
|
+
}
|
|
88822
88986
|
};
|
|
88823
88987
|
var handlePiPLeave = function handlePiPLeave() {
|
|
88824
|
-
|
|
88988
|
+
exitPiP();
|
|
88825
88989
|
};
|
|
88826
88990
|
document.addEventListener('fullscreenchange', handleFullscreenChange);
|
|
88827
88991
|
document.addEventListener('enterpictureinpicture', handlePiPEnter);
|
|
@@ -88831,6 +88995,8 @@ function usePlayerControls(_a) {
|
|
|
88831
88995
|
if (videoElement && videoElement instanceof HTMLVideoElement) {
|
|
88832
88996
|
videoElement.addEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88833
88997
|
videoElement.addEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88998
|
+
// Register video element with PiP context
|
|
88999
|
+
registerVideoElement(videoElement);
|
|
88834
89000
|
}
|
|
88835
89001
|
return function () {
|
|
88836
89002
|
document.removeEventListener('fullscreenchange', handleFullscreenChange);
|
|
@@ -88841,8 +89007,10 @@ function usePlayerControls(_a) {
|
|
|
88841
89007
|
videoElement.removeEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88842
89008
|
videoElement.removeEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88843
89009
|
}
|
|
89010
|
+
// Unregister video element from PiP context
|
|
89011
|
+
unregisterVideoElement();
|
|
88844
89012
|
};
|
|
88845
|
-
}, [url]); // Re-run when URL changes to ensure proper cleanup and setup
|
|
89013
|
+
}, [url, enterPiP, exitPiP, registerVideoElement, unregisterVideoElement, isPlaying, videoState.volume, videoState.muted]); // Re-run when URL changes to ensure proper cleanup and setup
|
|
88846
89014
|
useEffect(function () {
|
|
88847
89015
|
setStartPlayed(false);
|
|
88848
89016
|
}, [url]);
|
|
@@ -89055,25 +89223,19 @@ function usePlayerControls(_a) {
|
|
|
89055
89223
|
console.warn('Picture-in-Picture is not supported in this browser');
|
|
89056
89224
|
return;
|
|
89057
89225
|
}
|
|
89058
|
-
if (
|
|
89059
|
-
|
|
89060
|
-
|
|
89061
|
-
});
|
|
89226
|
+
if (isPiPActive) {
|
|
89227
|
+
// Exit PiP using context method
|
|
89228
|
+
exitPiP();
|
|
89062
89229
|
} else {
|
|
89063
|
-
//
|
|
89064
|
-
|
|
89065
|
-
|
|
89066
|
-
|
|
89067
|
-
|
|
89068
|
-
|
|
89069
|
-
|
|
89070
|
-
|
|
89071
|
-
|
|
89072
|
-
} else {
|
|
89073
|
-
videoElement.requestPictureInPicture()["catch"](function (error) {
|
|
89074
|
-
console.error('Failed to enter picture-in-picture:', error);
|
|
89075
|
-
});
|
|
89076
|
-
}
|
|
89230
|
+
// Enter PiP using context method
|
|
89231
|
+
var pipVideoState = {
|
|
89232
|
+
url: url,
|
|
89233
|
+
currentTime: videoElement.currentTime,
|
|
89234
|
+
isPlaying: isPlaying,
|
|
89235
|
+
volume: videoState.volume,
|
|
89236
|
+
muted: videoState.muted
|
|
89237
|
+
};
|
|
89238
|
+
enterPiP(videoElement, pipVideoState);
|
|
89077
89239
|
}
|
|
89078
89240
|
};
|
|
89079
89241
|
var handleKeyDown = useCallback(function (event) {
|
|
@@ -89448,131 +89610,6 @@ var VideoPlayer = function VideoPlayer(_a) {
|
|
|
89448
89610
|
});
|
|
89449
89611
|
};
|
|
89450
89612
|
|
|
89451
|
-
var PiPContext = /*#__PURE__*/createContext(undefined);
|
|
89452
|
-
var PiPProvider = function PiPProvider(_a) {
|
|
89453
|
-
var children = _a.children;
|
|
89454
|
-
var _b = useState(false),
|
|
89455
|
-
isPiPActive = _b[0],
|
|
89456
|
-
setIsPiPActive = _b[1];
|
|
89457
|
-
var _c = useState(null),
|
|
89458
|
-
pipVideoState = _c[0],
|
|
89459
|
-
setPipVideoState = _c[1];
|
|
89460
|
-
var videoElementRef = useRef(null);
|
|
89461
|
-
var updateVideoState = useCallback(function (state) {
|
|
89462
|
-
setPipVideoState(function (prev) {
|
|
89463
|
-
return prev ? __assign(__assign({}, prev), state) : null;
|
|
89464
|
-
});
|
|
89465
|
-
}, []);
|
|
89466
|
-
var registerVideoElement = useCallback(function (element) {
|
|
89467
|
-
videoElementRef.current = element;
|
|
89468
|
-
}, []);
|
|
89469
|
-
var unregisterVideoElement = useCallback(function () {
|
|
89470
|
-
videoElementRef.current = null;
|
|
89471
|
-
}, []);
|
|
89472
|
-
var enterPiP = useCallback(function (videoElement, videoState) {
|
|
89473
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
89474
|
-
var error_1;
|
|
89475
|
-
return __generator(this, function (_a) {
|
|
89476
|
-
switch (_a.label) {
|
|
89477
|
-
case 0:
|
|
89478
|
-
if (!document.pictureInPictureEnabled) {
|
|
89479
|
-
console.warn('Picture-in-Picture is not supported in this browser');
|
|
89480
|
-
return [2 /*return*/, false];
|
|
89481
|
-
}
|
|
89482
|
-
if (document.pictureInPictureElement) {
|
|
89483
|
-
console.warn('Another video is already in Picture-in-Picture mode');
|
|
89484
|
-
return [2 /*return*/, false];
|
|
89485
|
-
}
|
|
89486
|
-
_a.label = 1;
|
|
89487
|
-
case 1:
|
|
89488
|
-
_a.trys.push([1, 5,, 6]);
|
|
89489
|
-
// Store video state
|
|
89490
|
-
setPipVideoState(videoState);
|
|
89491
|
-
videoElementRef.current = videoElement;
|
|
89492
|
-
if (!(videoElement.paused && videoState.isPlaying)) return [3 /*break*/, 3];
|
|
89493
|
-
return [4 /*yield*/, videoElement.play()];
|
|
89494
|
-
case 2:
|
|
89495
|
-
_a.sent();
|
|
89496
|
-
_a.label = 3;
|
|
89497
|
-
case 3:
|
|
89498
|
-
return [4 /*yield*/, videoElement.requestPictureInPicture()];
|
|
89499
|
-
case 4:
|
|
89500
|
-
_a.sent();
|
|
89501
|
-
return [2 /*return*/, true];
|
|
89502
|
-
case 5:
|
|
89503
|
-
error_1 = _a.sent();
|
|
89504
|
-
console.error('Failed to enter picture-in-picture:', error_1);
|
|
89505
|
-
return [2 /*return*/, false];
|
|
89506
|
-
case 6:
|
|
89507
|
-
return [2 /*return*/];
|
|
89508
|
-
}
|
|
89509
|
-
});
|
|
89510
|
-
});
|
|
89511
|
-
}, []);
|
|
89512
|
-
var exitPiP = useCallback(function () {
|
|
89513
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
89514
|
-
var error_2;
|
|
89515
|
-
return __generator(this, function (_a) {
|
|
89516
|
-
switch (_a.label) {
|
|
89517
|
-
case 0:
|
|
89518
|
-
_a.trys.push([0, 3,, 4]);
|
|
89519
|
-
if (!document.pictureInPictureElement) return [3 /*break*/, 2];
|
|
89520
|
-
return [4 /*yield*/, document.exitPictureInPicture()];
|
|
89521
|
-
case 1:
|
|
89522
|
-
_a.sent();
|
|
89523
|
-
_a.label = 2;
|
|
89524
|
-
case 2:
|
|
89525
|
-
return [2 /*return*/, true];
|
|
89526
|
-
case 3:
|
|
89527
|
-
error_2 = _a.sent();
|
|
89528
|
-
console.error('Failed to exit picture-in-picture:', error_2);
|
|
89529
|
-
return [2 /*return*/, false];
|
|
89530
|
-
case 4:
|
|
89531
|
-
return [2 /*return*/];
|
|
89532
|
-
}
|
|
89533
|
-
});
|
|
89534
|
-
});
|
|
89535
|
-
}, []);
|
|
89536
|
-
// Listen for PiP events
|
|
89537
|
-
useEffect(function () {
|
|
89538
|
-
var handlePiPEnter = function handlePiPEnter() {
|
|
89539
|
-
setIsPiPActive(true);
|
|
89540
|
-
};
|
|
89541
|
-
var handlePiPLeave = function handlePiPLeave() {
|
|
89542
|
-
setIsPiPActive(false);
|
|
89543
|
-
// Keep the video state for potential restoration
|
|
89544
|
-
// but don't clear it immediately
|
|
89545
|
-
};
|
|
89546
|
-
document.addEventListener('enterpictureinpicture', handlePiPEnter);
|
|
89547
|
-
document.addEventListener('leavepictureinpicture', handlePiPLeave);
|
|
89548
|
-
return function () {
|
|
89549
|
-
document.removeEventListener('enterpictureinpicture', handlePiPEnter);
|
|
89550
|
-
document.removeEventListener('leavepictureinpicture', handlePiPLeave);
|
|
89551
|
-
};
|
|
89552
|
-
}, []);
|
|
89553
|
-
var value = {
|
|
89554
|
-
isPiPActive: isPiPActive,
|
|
89555
|
-
pipVideoState: pipVideoState,
|
|
89556
|
-
enterPiP: enterPiP,
|
|
89557
|
-
exitPiP: exitPiP,
|
|
89558
|
-
updateVideoState: updateVideoState,
|
|
89559
|
-
registerVideoElement: registerVideoElement,
|
|
89560
|
-
unregisterVideoElement: unregisterVideoElement
|
|
89561
|
-
};
|
|
89562
|
-
return jsxRuntimeExports.jsx(PiPContext.Provider, {
|
|
89563
|
-
value: value,
|
|
89564
|
-
children: children
|
|
89565
|
-
});
|
|
89566
|
-
};
|
|
89567
|
-
|
|
89568
|
-
var usePiP = function usePiP() {
|
|
89569
|
-
var context = useContext(PiPContext);
|
|
89570
|
-
if (context === undefined) {
|
|
89571
|
-
throw new Error('usePiP must be used within a PiPProvider');
|
|
89572
|
-
}
|
|
89573
|
-
return context;
|
|
89574
|
-
};
|
|
89575
|
-
|
|
89576
89613
|
var Whiteboard = dt.div(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n background-color: #ffffff;\n padding: 20px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 75vh;\n border: 1px solid #e7e9ed;\n border-radius: 4px;\n flex-direction: column;\n padding: 40px;\n"], ["\n background-color: #ffffff;\n padding: 20px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 75vh;\n border: 1px solid #e7e9ed;\n border-radius: 4px;\n flex-direction: column;\n padding: 40px;\n"])));
|
|
89577
89614
|
var CenteredText = dt.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n font-weight: 800;\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: 20px;\n font-family: 'Open Sans', sans-serif;\n text-align: center;\n gap: 8px;\n margin-top: ", ";\n\n h1 {\n font-size: 18px;\n font-weight: 800;\n }\n\n h4 {\n color: #68707a;\n font-size: 16px;\n font-weight: 500;\n }\n"], ["\n font-weight: 800;\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: 20px;\n font-family: 'Open Sans', sans-serif;\n text-align: center;\n gap: 8px;\n margin-top: ", ";\n\n h1 {\n font-size: 18px;\n font-weight: 800;\n }\n\n h4 {\n color: #68707a;\n font-size: 16px;\n font-weight: 500;\n }\n"])), function (_a) {
|
|
89578
89615
|
var marginTop = _a.marginTop;
|
package/dist/index.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { z as ActivityIcon, _ as AddAlt, bV as AddCircleIcon, a5 as AddIcon, a0 as AddStudent, Z as Analytics, a6 as AnalyticsIcon, bl as ArchiveIcon, Y as ArrowDropDownIcon, aE as ArrowDropUpIcon, a7 as AssignTutor, A as AudioPlayer, bm as BackspaceRoundedIcon, bn as BackupIcon, k as Badge, a8 as Book, a9 as BookWithBookmark, h as Breadcrumb, aa as BusinessIcon, B as Button, bW as CancelIcon, ab as CaretDown, bX as Check, bY as CheckBoxIcon, ch as CheckBoxOutlineBlankIcon, bZ as CheckCircleIcon, b_ as CheckCircleOutlineOutlinedIcon, bo as CheckCircleOutlineRoundedIcon, e as Checkbox, ac as CheckedIcon, ad as Checkmark, ae as CheckmarkOutline, af as CheckmarkOutlineAction, ci as ChevronRightIcon, a3 as Circle, aF as CircleNotificationsIcon, ag as Close, ah as CloseIcon, ai as CloseOutline, aj as CloseOutlineAction, bp as ClosedCaptionIcon, bq as CloudDownloadIcon, ak as Coach, j as ColorPicker, p as ColumnNavigation, $ as Company, br as ContactSupportOutlinedIcon, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, al as DarkAddAlt, am as DarkAiAssistent, an as DarkCloseOutline, ao as DarkTrashCan, cg as DashboardIcon, d as DatePicker, ap as DefaultAvatar, aq as Delete, bF as DeleteForeverRoundedIcon, ba as DeleteIcon, cj as DeleteIconRounded, ar as DocumentAttachment, at as Download, as as DownloadIcon, b$ as DragIndicatorIcon, x as DrawerTips, D as DropDown, au as Edit, c0 as EditIcon, av as EditRounded, aw as EditUsers, ax as Education, ay as EducationDefault, az as EmailIcon, c1 as ErrorOutlineIcon, bs as ErrorOutlineRoundedIcon, aA as EventIcon, c2 as ExpandMoreIcon, bG as FeaturedPlayListIcon, bH as FiberManualRecordIcon, bt as FileCopyIcon, cf as FileUploadOutlinedIcon, aH as FilterIcon, c3 as GetAppIcon, aI as GrayDownload, aO as GrayPlayIcon, G as GridActionMenu, aP as GridView, aQ as Group, aR as GroupDefault, bI as GroupOutlined, bJ as GroupsOutlined, bu as HeadsetIcon, H as HeartIcon, aS as Help, aK as HelpIcon, c4 as HighlightOffRoundedIcon, aT as HorizontalView, bK as HourglassEmptyIcon, bL as ImageIcon, aU as Information, c5 as InsertDriveFileIcon, aG as KeyboardBackspaceIcon, a1 as Learning, a4 as Library, L as Loader, aB as LocationCityIcon, aC as LocationOnIcon, bv as LockIcon, aV as Locked, aW as Logout, aD as MarkunreadMailboxIcon, F as MaximizeIcon, X as MeterIcon, M as MinimizeIcon, bM as MoreHorizIcon, aX as MoreVertRoundedIcon, aY as MyProfile, N as NavigationBar, aZ as NewFilter, a_ as Notification, bw as NotificationsOutlined, c6 as OndemandVideoIcon, f as Pagination, I as PauseIcon, bN as PermMediaIcon, aJ as Person, P as PhoneCountryCode, aL as PhoneIphoneIcon, n as PiPProvider, c7 as PictureInPictureIcon, a$ as PlayButton, bx as PlayCircleOutlineIcon, aN as PlayGrayButton, K as PlayIcon, bO as PlaylistAddIcon, by as PlaylistPlayIcon, b0 as PresentationScreen, b1 as Profile, aM as PublicIcon, c8 as PublishIcon, R as RadioButton, y as RangeSlider, bP as RecordVoiceOverOutlined, b2 as RedDeleteIcon, b3 as RemoveAlt, b4 as RemoveAltDisable, c9 as RemoveCircleIcon, b5 as RemoveFilter, ca as ReportProblemIcon, b6 as Reset, O as RewindIcon, ck as SchoolIcon, bz as SchoolOutlinedIcon, b7 as Search, S as SearchInput, b8 as SearchRounded, bQ as Send, b9 as SendAlt, cb as SettingsApplicationsIcon, bA as SettingsOutlinedIcon, Q as SkipIcon, o as SplashScreen, cc as StarsRoundedIcon, q as StatusIndicator, W as SubtitlesIcon, bc as SwitchCompany, t as TabNavigation, s as TabPanel, b as ThemeProvider, i as Tile, bB as Timeline, l as TooltipHeight, T as TranslationProvider, bd as TrashCan, be as TrashCanAction, bf as TrashCanRed, bC as TrendingUpOutlinedIcon, bg as UnfillPlay, bh as Unlock, bb as Unlocked, U as Uploader, bi as UserActivity, bj as UserSpeaker, a2 as UsersIcon, cd as VideoCallIcon, E as VideoCheckmarkIcon, V as VideoPlayer, bR as ViewCompactIcon, bS as ViewListIcon, bD as Visibility, bE as VisibilityOff, J as VolumeMuteIcon, ce as VolumeUpIcon, bk as WhiteAiAssistant, bT as WorkOutlineOutlinedIcon, bU as ZoomInIcon, w as activeTabClassName, u as usePiP, v as version } from './index-
|
|
1
|
+
export { z as ActivityIcon, _ as AddAlt, bV as AddCircleIcon, a5 as AddIcon, a0 as AddStudent, Z as Analytics, a6 as AnalyticsIcon, bl as ArchiveIcon, Y as ArrowDropDownIcon, aE as ArrowDropUpIcon, a7 as AssignTutor, A as AudioPlayer, bm as BackspaceRoundedIcon, bn as BackupIcon, k as Badge, a8 as Book, a9 as BookWithBookmark, h as Breadcrumb, aa as BusinessIcon, B as Button, bW as CancelIcon, ab as CaretDown, bX as Check, bY as CheckBoxIcon, ch as CheckBoxOutlineBlankIcon, bZ as CheckCircleIcon, b_ as CheckCircleOutlineOutlinedIcon, bo as CheckCircleOutlineRoundedIcon, e as Checkbox, ac as CheckedIcon, ad as Checkmark, ae as CheckmarkOutline, af as CheckmarkOutlineAction, ci as ChevronRightIcon, a3 as Circle, aF as CircleNotificationsIcon, ag as Close, ah as CloseIcon, ai as CloseOutline, aj as CloseOutlineAction, bp as ClosedCaptionIcon, bq as CloudDownloadIcon, ak as Coach, j as ColorPicker, p as ColumnNavigation, $ as Company, br as ContactSupportOutlinedIcon, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, al as DarkAddAlt, am as DarkAiAssistent, an as DarkCloseOutline, ao as DarkTrashCan, cg as DashboardIcon, d as DatePicker, ap as DefaultAvatar, aq as Delete, bF as DeleteForeverRoundedIcon, ba as DeleteIcon, cj as DeleteIconRounded, ar as DocumentAttachment, at as Download, as as DownloadIcon, b$ as DragIndicatorIcon, x as DrawerTips, D as DropDown, au as Edit, c0 as EditIcon, av as EditRounded, aw as EditUsers, ax as Education, ay as EducationDefault, az as EmailIcon, c1 as ErrorOutlineIcon, bs as ErrorOutlineRoundedIcon, aA as EventIcon, c2 as ExpandMoreIcon, bG as FeaturedPlayListIcon, bH as FiberManualRecordIcon, bt as FileCopyIcon, cf as FileUploadOutlinedIcon, aH as FilterIcon, c3 as GetAppIcon, aI as GrayDownload, aO as GrayPlayIcon, G as GridActionMenu, aP as GridView, aQ as Group, aR as GroupDefault, bI as GroupOutlined, bJ as GroupsOutlined, bu as HeadsetIcon, H as HeartIcon, aS as Help, aK as HelpIcon, c4 as HighlightOffRoundedIcon, aT as HorizontalView, bK as HourglassEmptyIcon, bL as ImageIcon, aU as Information, c5 as InsertDriveFileIcon, aG as KeyboardBackspaceIcon, a1 as Learning, a4 as Library, L as Loader, aB as LocationCityIcon, aC as LocationOnIcon, bv as LockIcon, aV as Locked, aW as Logout, aD as MarkunreadMailboxIcon, F as MaximizeIcon, X as MeterIcon, M as MinimizeIcon, bM as MoreHorizIcon, aX as MoreVertRoundedIcon, aY as MyProfile, N as NavigationBar, aZ as NewFilter, a_ as Notification, bw as NotificationsOutlined, c6 as OndemandVideoIcon, f as Pagination, I as PauseIcon, bN as PermMediaIcon, aJ as Person, P as PhoneCountryCode, aL as PhoneIphoneIcon, n as PiPProvider, c7 as PictureInPictureIcon, a$ as PlayButton, bx as PlayCircleOutlineIcon, aN as PlayGrayButton, K as PlayIcon, bO as PlaylistAddIcon, by as PlaylistPlayIcon, b0 as PresentationScreen, b1 as Profile, aM as PublicIcon, c8 as PublishIcon, R as RadioButton, y as RangeSlider, bP as RecordVoiceOverOutlined, b2 as RedDeleteIcon, b3 as RemoveAlt, b4 as RemoveAltDisable, c9 as RemoveCircleIcon, b5 as RemoveFilter, ca as ReportProblemIcon, b6 as Reset, O as RewindIcon, ck as SchoolIcon, bz as SchoolOutlinedIcon, b7 as Search, S as SearchInput, b8 as SearchRounded, bQ as Send, b9 as SendAlt, cb as SettingsApplicationsIcon, bA as SettingsOutlinedIcon, Q as SkipIcon, o as SplashScreen, cc as StarsRoundedIcon, q as StatusIndicator, W as SubtitlesIcon, bc as SwitchCompany, t as TabNavigation, s as TabPanel, b as ThemeProvider, i as Tile, bB as Timeline, l as TooltipHeight, T as TranslationProvider, bd as TrashCan, be as TrashCanAction, bf as TrashCanRed, bC as TrendingUpOutlinedIcon, bg as UnfillPlay, bh as Unlock, bb as Unlocked, U as Uploader, bi as UserActivity, bj as UserSpeaker, a2 as UsersIcon, cd as VideoCallIcon, E as VideoCheckmarkIcon, V as VideoPlayer, bR as ViewCompactIcon, bS as ViewListIcon, bD as Visibility, bE as VisibilityOff, J as VolumeMuteIcon, ce as VolumeUpIcon, bk as WhiteAiAssistant, bT as WorkOutlineOutlinedIcon, bU as ZoomInIcon, w as activeTabClassName, u as usePiP, v as version } from './index-Dc7wycLL.esm.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
package/dist/theme/Theme.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const themes: {
|
|
|
9
9
|
700: string;
|
|
10
10
|
};
|
|
11
11
|
neutral: {
|
|
12
|
+
main: string;
|
|
12
13
|
100: string;
|
|
13
14
|
400: string;
|
|
14
15
|
900: string;
|
|
@@ -34,6 +35,7 @@ export declare const themes: {
|
|
|
34
35
|
700: string;
|
|
35
36
|
};
|
|
36
37
|
neutral: {
|
|
38
|
+
main: string;
|
|
37
39
|
100: string;
|
|
38
40
|
400: string;
|
|
39
41
|
900: string;
|