2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 8522
|
|
|
|
|
// Function ID: 8523
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: useIsSocialLayerParentApplication
|
2026-09-28 16:18:32 +00:00
|
|
|
// Dependencies: [19, 1074, 8321, 2]
|
2026-09-26 17:57:22 +00:00
|
|
|
// Exports: default, getIsSocialLayerParentApplication
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 8522 (useIsSocialLayerParentApplication)
|
|
|
|
|
import ApplicationFlagUtils from "ApplicationFlagUtils" /* 8321 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
|
|
|
|
|
|
require = fn;
|
2026-09-26 17:57:22 +00:00
|
|
|
const ApplicationFlags = fn(1074).ApplicationFlags;
|
2026-09-18 19:45:33 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/applications/useIsSocialLayerParentApplication.tsx");
|
|
|
|
|
|
2026-09-26 17:57:22 +00:00
|
|
|
export default function useIsSocialLayerParentApplication(arg0) {
|
2026-09-18 19:45:33 +00:00
|
|
|
closure_0 = arg0;
|
|
|
|
|
const items = [arg0];
|
|
|
|
|
return noop.useMemo(() => ApplicationFlagUtils.hasApplicationFlag(closure_0, ApplicationFlags.PARENT), items);
|
2026-09-26 17:57:22 +00:00
|
|
|
};
|
|
|
|
|
export const getIsSocialLayerParentApplication = function getIsSocialLayerParentApplication(application) {
|
|
|
|
|
return ApplicationFlagUtils.hasApplicationFlag(application, ApplicationFlags.PARENT);
|
|
|
|
|
};
|