decord/source/modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx
2026-07-30 10:14:41 +00:00

20 lines
1.1 KiB
TypeScript

// Module ID: 7614
// Function ID: 7615
// Name: useIsAgeVerificationExpressiveModalEverywhereEnabled
// Dependencies: [1452, 2]
// Exports: isAgeVerificationExpressiveModalEverywhereEnabled, useIsAgeVerificationExpressiveModalEverywhereEnabled
// Module 7614 (useIsAgeVerificationExpressiveModalEverywhereEnabled)
import ApexExperiment from "ApexExperiment";
const obj = { 1: null };
obj[1] = { enabled: true };
let closure_0 = ApexExperiment.createApexExperiment({ kind: "user", name: "2025-11-age-verification-expressive-everywhere", defaultConfig: { enabled: false }, variations: obj });
const result = require("set").fileFinishedImporting("modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx");
export const useIsAgeVerificationExpressiveModalEverywhereEnabled = function useIsAgeVerificationExpressiveModalEverywhereEnabled(location) {
return closure_0.useConfig({ location }).enabled;
};
export const isAgeVerificationExpressiveModalEverywhereEnabled = function isAgeVerificationExpressiveModalEverywhereEnabled(entryPoint) {
return closure_0.getConfig({ location: entryPoint }).enabled;
};