decord/source/16611__getAppleDeclaredAgeRangeStatus.js

96 lines
3.4 KiB
JavaScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 16611
// Function ID: 16612
2026-08-04 21:03:28 +00:00
// Name: _getAppleDeclaredAgeRangeStatus
2026-08-12 06:57:52 +00:00
// Dependencies: [5, 17, 4080, 16612, 16613, 16614]
2026-08-04 21:03:28 +00:00
// Exports: getAppleDeclaredAgeRangeStatus, getIsConsideredOlderThan, setAgeRangeThresholds
2026-08-12 06:57:52 +00:00
// Module 16611 (_getAppleDeclaredAgeRangeStatus)
import importDefaultResult from "module_16614";
2026-08-04 21:03:28 +00:00
import { Platform } from "get ActivityIndicator";
2026-08-12 06:57:52 +00:00
import { NitroModules } from "module_4080";
2026-08-04 21:03:28 +00:00
let closure_0 = arg1;
function _getAppleDeclaredAgeRangeStatus() {
const self = this;
const tmp = importDefaultResult(function*() {
const ageRangeThresholdManager = v0(table[3]).ageRangeThresholdManager;
const thresholds = ageRangeThresholdManager.getThresholds();
yield outer1_3.requestDeclaredAgeRange(thresholds[0], thresholds[1], thresholds[2]);
return arg1;
});
const _getAppleDeclaredAgeRangeStatus = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
}
function getAndroidPlayAgeRangeStatus() {
const self = this;
const apply = _getAndroidPlayAgeRangeStatus.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
}
function _getAndroidPlayAgeRangeStatus() {
const self = this;
const tmp = importDefaultResult(function*() {
yield outer1_3.getPlayAgeRangeDeclaration();
return arg1;
});
const _getAndroidPlayAgeRangeStatus = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
}
let closure_3 = NitroModules.createHybridObject("PlayAgeRangeDeclaration");
closure_0 = importDefaultResult((arg0) => {
let closure_0 = arg0;
let c3 = 0;
let c4 = 0;
return (function*(arg0) {
let closure_2 = tmp5;
let closure_1 = tmp2;
closure_1 = yield outer1_5();
const obj = callback(outer1_1[4]);
return obj.getIsConsideredOlderThanAndroid(closure_1, callback);
})();
});
export const getAppleDeclaredAgeRangeStatus = function getAppleDeclaredAgeRangeStatus() {
const self = this;
const apply = _getAppleDeclaredAgeRangeStatus.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
};
export { getAndroidPlayAgeRangeStatus };
export const setAgeRangeThresholds = (arg0) => {
2026-08-12 06:57:52 +00:00
const ageRangeThresholdManager = callback(16612).ageRangeThresholdManager;
2026-08-04 21:03:28 +00:00
const result = ageRangeThresholdManager.setAgeRangeThresholds(arg0);
};
export const getIsConsideredOlderThan = function getIsConsideredOlderThan(arg0) {
const self = this;
const apply = closure_0.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
};
2026-08-12 06:57:52 +00:00
export const PlayAgeRangeDeclarationUserStatus = require("module_16614").PlayAgeRangeDeclarationUserStatus;
export const PlayAgeRangeDeclarationUserStatusString = require("module_16614").PlayAgeRangeDeclarationUserStatusString;