25 lines
858 B
TypeScript
25 lines
858 B
TypeScript
// Module ID: 9539
|
|
// Function ID: 9540
|
|
// Name: isApplicationAgeRestricted
|
|
// Dependencies: [4341, 9540, 4836, 2]
|
|
// Exports: default
|
|
|
|
// Module 9539 (isApplicationAgeRestricted)
|
|
import addApplication from "addApplication";
|
|
|
|
const require = arg1;
|
|
const result = require("isAgeRestrictedContentClassification").fileFinishedImporting("modules/applications/utils/isApplicationAgeRestricted.tsx");
|
|
|
|
export default function isApplicationAgeRestricted(arg0) {
|
|
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
|
|
application = application.getApplication(arg0);
|
|
let prop;
|
|
if (application != null) {
|
|
prop = application.contentClassification;
|
|
}
|
|
return require(4836) /* isAgeRestrictedContentClassification */.isAgeRestrictedContentClassification(prop);
|
|
} else {
|
|
return false;
|
|
}
|
|
obj = importDefault(9540);
|
|
};
|