decord/source/modules/applications/utils/isApplicationAgeRestricted.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

28 lines
989 B
TypeScript

// Module ID: 9538
// Function ID: 9539
// Name: isApplicationAgeRestricted
// Dependencies: [4867, 9539, 5196, 2]
// Exports: default
// Module 9538 (isApplicationAgeRestricted)
import utils from "utils" /* 5196 */;
import AgeRestrictedApplicationCommandsExperimentDefault from "AgeRestrictedApplicationCommandsExperiment" /* 9539 */;
import ApplicationStore from "ApplicationStore" /* 4867 */;
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/applications/utils/isApplicationAgeRestricted.tsx");
export default function isApplicationAgeRestricted(arg0) {
if (obj.getConfig({ location: "isApplicationAgeRestricted" }).enabled) {
const application = ApplicationStore.getApplication(arg0);
let prop;
if (application != null) {
prop = application.contentClassification;
}
return utils.isAgeRestrictedContentClassification(prop);
} else {
return false;
}
obj = AgeRestrictedApplicationCommandsExperimentDefault;
};