2026-09-22 07:41:18 +00:00
|
|
|
// Module ID: 17625
|
|
|
|
|
// Function ID: 17626
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useActivityUsers
|
2026-09-22 07:41:18 +00:00
|
|
|
// Dependencies: [1372, 2041, 563, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-22 07:41:18 +00:00
|
|
|
// Module 17625 (useActivityUsers)
|
2026-09-15 14:23:42 +00:00
|
|
|
import UserStore from "UserStore" /* 1372 */;
|
2026-09-22 07:41:18 +00:00
|
|
|
import EmbeddedActivitiesStore from "EmbeddedActivitiesStore" /* 2041 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const require = globalThis.__r;
|
|
|
|
|
|
|
|
|
|
const require = fn;
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/activities/useActivityUsers.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useActivityUsers(arg0, arg1) {
|
2026-09-10 05:38:07 +00:00
|
|
|
_require = arg0;
|
2026-08-24 06:08:38 +00:00
|
|
|
dependencyMap = arg1;
|
2026-09-10 05:38:07 +00:00
|
|
|
let items = [EmbeddedActivitiesStore, UserStore];
|
2026-07-20 16:05:17 +00:00
|
|
|
const items1 = [arg1, arg0];
|
2026-09-10 05:38:07 +00:00
|
|
|
return require("useStateFromStores").useStateFromStoresArray(items, () => {
|
2026-07-23 10:11:24 +00:00
|
|
|
if (null == closure_1) {
|
2026-07-20 16:05:17 +00:00
|
|
|
return [];
|
|
|
|
|
} else {
|
2026-09-10 05:38:07 +00:00
|
|
|
const embeddedActivitiesForChannel = EmbeddedActivitiesStore.getEmbeddedActivitiesForChannel(tmp);
|
|
|
|
|
const found = embeddedActivitiesForChannel.find((applicationId) => applicationId.applicationId === closure_1_0);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (null == found) {
|
|
|
|
|
let items = [];
|
|
|
|
|
} else {
|
|
|
|
|
const _Array = Array;
|
2026-09-10 05:38:07 +00:00
|
|
|
const mapped = Array.from(found.userIds).map((item) => user.getUser(item));
|
|
|
|
|
items = mapped.filter((item) => null != item);
|
2026-07-20 16:05:17 +00:00
|
|
|
const arr = Array.from(found.userIds);
|
|
|
|
|
}
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
}, items1);
|
|
|
|
|
};
|