decord/source/modules/age_assurance/AgeVerificationIncodeExperiment.tsx
2026-08-26 06:04:24 +00:00

21 lines
975 B
TypeScript

// Module ID: 8033
// Function ID: 8034
// Name: useIsAgeVerificationIncodeEnabled
// Dependencies: [1472, 2]
// Exports: isAgeVerificationIncodeEnabled, useIsAgeVerificationIncodeEnabled
// Module 8033 (useIsAgeVerificationIncodeEnabled)
import set from "set" /* 2 */;
import ApexExperiment from "ApexExperiment" /* 1472 */;
const obj = { 1: null };
obj[1] = { enabled: true };
let closure_0 = ApexExperiment.createApexExperiment({ kind: "user", name: "2026-06-age-verification-incode", defaultConfig: { enabled: false }, variations: obj });
const result = set.fileFinishedImporting("modules/age_assurance/AgeVerificationIncodeExperiment.tsx");
export const useIsAgeVerificationIncodeEnabled = function useIsAgeVerificationIncodeEnabled(location) {
return closure_0.useConfig({ location }).enabled;
};
export const isAgeVerificationIncodeEnabled = function isAgeVerificationIncodeEnabled(entryPoint) {
return closure_0.getConfig({ location: entryPoint }).enabled;
};