2026-09-19 06:52:51 +00:00
|
|
|
// Module ID: 5323
|
|
|
|
|
// Function ID: 5324
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: utils
|
2026-09-19 06:52:51 +00:00
|
|
|
// Dependencies: [5324, 5326, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isAgeRestrictedContentClassification
|
|
|
|
|
|
2026-09-19 06:52:51 +00:00
|
|
|
// Module 5323 (utils)
|
|
|
|
|
import ContentClassificationToAgeRestriction from "ContentClassificationToAgeRestriction" /* 5324 */;
|
|
|
|
|
import AgeRestrictionStatus from "AgeRestrictionStatus" /* 5326 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
let result = size.fileFinishedImporting("modules/content_classification/utils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const isAgeRestrictedContentClassification = function isAgeRestrictedContentClassification(contentClassification) {
|
|
|
|
|
let tmp = null != contentClassification;
|
|
|
|
|
if (tmp) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj2 = { type: ContentClassificationToAgeRestriction.ContentClassificationVariant.MINIMAL, data: contentClassification };
|
|
|
|
|
const result = ContentClassificationToAgeRestriction.contentClassificationToAgeRestriction(obj2);
|
2026-08-24 06:08:38 +00:00
|
|
|
tmp = result === AgeRestrictionStatus.AgeRestrictionStatus.ADULT;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|