2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 5284
|
|
|
|
|
// Function ID: 5285
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getFlattenedChannelList
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [12, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 5284 (getFlattenedChannelList)
|
|
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import applyDefault from "apply" /* 12 */;
|
|
|
|
|
|
|
|
|
|
const result = set.fileFinishedImporting("modules/channel/getFlattedChannelList.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getFlattenedChannelList(arg0, arg1) {
|
2026-08-24 06:08:38 +00:00
|
|
|
importDefault = arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
let fn = arg2;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (arg2 === undefined) {
|
|
|
|
|
fn = function l() {
|
|
|
|
|
return true;
|
|
|
|
|
};
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
const mapped = applyDefault(arg0).map((channel) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
if ("null" === channel.channel.id) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let items = dependencyMap[channel.channel.id];
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
items = [channel, dependencyMap[channel.channel.id]];
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return items;
|
|
|
|
|
});
|
2026-08-24 06:08:38 +00:00
|
|
|
const arr = applyDefault(arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
const flattenDeepResult = mapped.flattenDeep();
|
|
|
|
|
return mapped.flattenDeep().filter(fn).value();
|
|
|
|
|
};
|