decord/source/modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

21 lines
1.1 KiB
TypeScript

// Module ID: 8575
// Function ID: 8576
// Name: useIsAgeVerificationExpressiveModalEverywhereEnabled
// Dependencies: [1433, 2]
// Exports: isAgeVerificationExpressiveModalEverywhereEnabled, useIsAgeVerificationExpressiveModalEverywhereEnabled
// Module 8575 (useIsAgeVerificationExpressiveModalEverywhereEnabled)
import set from "set" /* 2 */;
import ApexExperiment from "ApexExperiment" /* 1433 */;
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 = 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;
};