2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 9810
|
|
|
|
|
// Function ID: 9811
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: useIsSocialLayerParentApplication
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [19, 676, 7912, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: default, getIsSocialLayerParentApplication
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 9810 (useIsSocialLayerParentApplication)
|
|
|
|
|
import getApplicationFlags from "getApplicationFlags" /* 7912 */;
|
|
|
|
|
import closure_2 from "noop" /* 19 */;
|
|
|
|
|
import { ApplicationFlags } from "ME" /* 676 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/applications/useIsSocialLayerParentApplication.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useIsSocialLayerParentApplication(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = arg0;
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [arg0];
|
2026-08-24 06:08:38 +00:00
|
|
|
return React.useMemo(() => callback(closure_1_1[2]).hasApplicationFlag(callback, closure_1_3.PARENT), items);
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
export const getIsSocialLayerParentApplication = function getIsSocialLayerParentApplication(application) {
|
2026-08-24 06:08:38 +00:00
|
|
|
return getApplicationFlags.hasApplicationFlag(application, ApplicationFlags.PARENT);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|