2026-10-09 10:00:15 +00:00
|
|
|
// Module ID: 9780
|
|
|
|
|
// Function ID: 9781
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isApplicationAgeRestricted
|
2026-10-09 10:00:15 +00:00
|
|
|
// Dependencies: [5437, 9781, 6049, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-09 10:00:15 +00:00
|
|
|
// Module 9780 (isApplicationAgeRestricted)
|
|
|
|
|
import utils from "utils" /* 6049 */;
|
|
|
|
|
import AgeRestrictedApplicationCommandsExperimentDefault from "AgeRestrictedApplicationCommandsExperiment" /* 9781 */;
|
|
|
|
|
import ApplicationStore from "ApplicationStore" /* 5437 */;
|
2026-10-03 08:58:59 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.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-10-03 08:58:59 +00:00
|
|
|
const obj = AgeRestrictedApplicationCommandsExperimentDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const application = ApplicationStore.getApplication(arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
let prop;
|
2026-10-03 08:58:59 +00:00
|
|
|
const isAgeRestrictedContentClassification = utils.isAgeRestrictedContentClassification;
|
|
|
|
|
utils;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (application != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
prop = application.contentClassification;
|
|
|
|
|
}
|
2026-10-03 08:58:59 +00:00
|
|
|
return isAgeRestrictedContentClassification(prop);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
};
|