2026-08-06 08:05:19 +00:00
|
|
|
// Module ID: 9457
|
|
|
|
|
// Function ID: 9458
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isApplicationAgeRestricted
|
2026-08-06 08:05:19 +00:00
|
|
|
// Dependencies: [4322, 9458, 4817, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-06 08:05:19 +00:00
|
|
|
// Module 9457 (isApplicationAgeRestricted)
|
2026-07-29 08:29:29 +00:00
|
|
|
import addApplication from "addApplication";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
const result = require("isAgeRestrictedContentClassification").fileFinishedImporting("modules/applications/utils/isApplicationAgeRestricted.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default function isApplicationAgeRestricted(arg0) {
|
2026-07-20 16:05:17 +00:00
|
|
|
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
|
2026-07-29 08:29:29 +00:00
|
|
|
application = application.getApplication(arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
let prop;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (application != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
prop = application.contentClassification;
|
|
|
|
|
}
|
2026-08-06 08:05:19 +00:00
|
|
|
return require(4817) /* isAgeRestrictedContentClassification */.isAgeRestrictedContentClassification(prop);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2026-08-06 08:05:19 +00:00
|
|
|
obj = importDefault(9458);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|