19 lines
932 B
TypeScript
19 lines
932 B
TypeScript
// Module ID: 7601
|
|
// Function ID: 60581
|
|
// Name: useIsAgeVerificationIncodeEnabled
|
|
// Dependencies: [1428, 2]
|
|
// Exports: isAgeVerificationIncodeEnabled, useIsAgeVerificationIncodeEnabled
|
|
|
|
// Module 7601 (useIsAgeVerificationIncodeEnabled)
|
|
import ApexExperiment from "ApexExperiment";
|
|
|
|
const obj = { kind: "user", name: "2026-06-age-verification-incode", defaultConfig: { enabled: false }, variations: { [1]: { enabled: true } } };
|
|
let closure_0 = ApexExperiment.createApexExperiment(obj);
|
|
const result = require("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;
|
|
};
|