decord/source/modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx

20 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 7557
2026-07-27 11:26:19 +00:00
// Function ID: 60580
2026-07-20 16:05:17 +00:00
// Name: useIsAgeVerificationExpressiveModalEverywhereEnabled
2026-07-23 10:11:24 +00:00
// Dependencies: [1428, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAgeVerificationExpressiveModalEverywhereEnabled, useIsAgeVerificationExpressiveModalEverywhereEnabled
2026-07-25 08:10:48 +00:00
// Module 7557 (useIsAgeVerificationExpressiveModalEverywhereEnabled)
2026-07-23 10:11:24 +00:00
import ApexExperiment from "ApexExperiment";
const obj = { kind: "user", name: "2025-11-age-verification-expressive-everywhere", defaultConfig: { enabled: false }, variations: { [1]: { enabled: true } } };
let closure_0 = ApexExperiment.createApexExperiment(obj);
const result = require("set").fileFinishedImporting("modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx");
2026-07-20 16:05:17 +00:00
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;
};