decord/beta/source/modules/age_assurance/HideManualAgeVerificationExperiment.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

34 lines
1.3 KiB
TypeScript

// Module ID: 8858
// Function ID: 8859
// Name: HideManualAgeVerificationExperiment
// Dependencies: [1438, 558, 568, 2]
// Exports: isManualAgeVerificationHidden
// Module 8858 (HideManualAgeVerificationExperiment)
import c from "c" /* 568 */;
import ApexExperiment from "ApexExperiment" /* 1438 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
const obj = { kind: "user", name: "2025-11-hide-manual-link", defaultConfig: { isHidden: false }, variations: null };
let obj2 = { 1: null };
obj2[1] = { isHidden: true };
obj.variations = obj2;
let closure_2 = ApexExperiment.createApexExperiment(obj);
const result = size.fileFinishedImporting("modules/age_assurance/HideManualAgeVerificationExperiment.tsx");
export const useIsManualAgeVerificationHidden = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => {
const cResult = c.c(2);
if (cResult[0] !== location) {
const obj2 = { location };
cResult[0] = location;
cResult[1] = obj2;
let tmp2 = obj2;
} else {
tmp2 = cResult[1];
}
return closure_2.useConfig(tmp2).isHidden;
}) : ((location) => closure_2.useConfig({ location }).isHidden);
export const isManualAgeVerificationHidden = function isManualAgeVerificationHidden(location) {
return closure_2.getConfig({ location }).isHidden;
};