decord/source/modules/age_assurance/GoogleWalletExperiment.tsx

21 lines
898 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 7742
// Function ID: 7743
2026-07-20 16:05:17 +00:00
// Name: useIsGoogleWalletEnabled
2026-07-29 08:29:29 +00:00
// Dependencies: [1452, 2]
2026-07-20 16:05:17 +00:00
// Exports: isGoogleWalletEnabled, useIsGoogleWalletEnabled
2026-08-05 07:35:12 +00:00
// Module 7742 (useIsGoogleWalletEnabled)
2026-07-23 10:11:24 +00:00
import ApexExperiment from "ApexExperiment";
2026-07-29 08:29:29 +00:00
const obj = { 1: null };
obj[1] = { enabled: true };
let closure_0 = ApexExperiment.createApexExperiment({ kind: "user", name: "2026-03-age-verification-google-wallet", defaultConfig: { enabled: false }, variations: obj });
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/age_assurance/GoogleWalletExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const useIsGoogleWalletEnabled = function useIsGoogleWalletEnabled(location) {
return closure_0.useConfig({ location }).enabled;
};
export const isGoogleWalletEnabled = function isGoogleWalletEnabled(age_verification_methods) {
return closure_0.getConfig({ location: age_verification_methods }).enabled;
};