decord/beta/source/modules/user_profile/PrivateProfilesStrictGbExperiment.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

31 lines
1.4 KiB
TypeScript

// Module ID: 13427
// Function ID: 13428
// Name: PrivateProfilesStrictGbExperiment
// Dependencies: [1438, 558, 568, 2]
// Exports: getIsInPrivateProfilesStrictGbExperiment
// Module 13427 (PrivateProfilesStrictGbExperiment)
import c from "c" /* 568 */;
import ApexExperiment from "ApexExperiment" /* 1438 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
const apexExperiment = ApexExperiment.createApexExperiment({ name: "2026-03-private-profiles-strict-gb", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true }, 2: { enabled: true }, 3: { enabled: true } } });
const result = size.fileFinishedImporting("modules/user_profile/PrivateProfilesStrictGbExperiment.tsx");
export const PrivateProfilesStrictGbExperiment = apexExperiment;
export const useIsInPrivateProfilesStrictGbExperiment = 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 apexExperiment.useConfig(tmp2).enabled;
}) : ((location) => apexExperiment.useConfig({ location }).enabled);
export const getIsInPrivateProfilesStrictGbExperiment = function getIsInPrivateProfilesStrictGbExperiment(location) {
return apexExperiment.getConfig({ location }).enabled;
};