2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 12535
|
|
|
|
|
// Function ID: 12536
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useIsStreamFocused
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [4778, 4549, 589, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useIsStreamFocused
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 12535 (useIsStreamFocused)
|
|
|
|
|
import closure_2 from "getParticipants" /* 4778 */;
|
|
|
|
|
import { isStreamParticipant } from "ParticipantTypes" /* 4549 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/video_calls/useIsStreamFocused.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useIsStreamFocused = function useIsStreamFocused(id) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = id;
|
2026-08-24 06:08:38 +00:00
|
|
|
const items = [closure_2];
|
2026-07-29 08:29:29 +00:00
|
|
|
const stateFromStores = _require(589).useStateFromStores(items, () => {
|
2026-07-20 16:05:17 +00:00
|
|
|
let selectedParticipant = null;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (null != closure_0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
selectedParticipant = closure_1_2.getSelectedParticipant(tmp);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return selectedParticipant;
|
|
|
|
|
});
|
|
|
|
|
let tmp2 = null != stateFromStores;
|
|
|
|
|
if (tmp2) {
|
|
|
|
|
tmp2 = isStreamParticipant(stateFromStores);
|
|
|
|
|
}
|
|
|
|
|
return tmp2;
|
|
|
|
|
};
|