2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 8709
|
|
|
|
|
// Function ID: 8710
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: isApplicationAgeRestricted
|
2026-09-28 16:18:32 +00:00
|
|
|
// Dependencies: [5063, 8710, 5424, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 8709 (isApplicationAgeRestricted)
|
|
|
|
|
import utils from "utils" /* 5424 */;
|
|
|
|
|
import AgeRestrictedApplicationCommandsExperimentDefault from "AgeRestrictedApplicationCommandsExperiment" /* 8710 */;
|
|
|
|
|
import ApplicationStore from "ApplicationStore" /* 5063 */;
|
2026-10-01 14:13:23 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
|
|
|
|
const result = size.fileFinishedImporting("modules/applications/utils/isApplicationAgeRestricted.tsx");
|
|
|
|
|
|
|
|
|
|
export default function isApplicationAgeRestricted(arg0) {
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj = AgeRestrictedApplicationCommandsExperimentDefault;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
|
|
|
|
|
const application = ApplicationStore.getApplication(arg0);
|
|
|
|
|
let prop;
|
2026-10-01 14:13:23 +00:00
|
|
|
const isAgeRestrictedContentClassification = utils.isAgeRestrictedContentClassification;
|
|
|
|
|
utils;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (application != null) {
|
|
|
|
|
prop = application.contentClassification;
|
|
|
|
|
}
|
2026-10-01 14:13:23 +00:00
|
|
|
return isAgeRestrictedContentClassification(prop);
|
2026-09-18 19:45:33 +00:00
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
};
|