This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,40 @@
// Metro module 14699 (f14700).
import { createApexExperiment } from "../experiments/apex/index";
import { useIsInPrivateProfilesExperiment, getIsInPrivateProfilesExperiment } from "../user_profile/PrivateProfilesExperiment";
const apexExperiment = createApexExperiment({
name: "2026-02-activity-privacy-matching",
kind: "user",
defaultConfig: {
copyChanges: false,
upsell: false
},
variations: {
0: {
copyChanges: false,
upsell: false
},
1: {
copyChanges: true,
upsell: false
},
2: {
copyChanges: true,
upsell: true
}
}
});
export function useIsInActivityPrivacyCopyExperiment(a0) {
let r9 = useIsInPrivateProfilesExperiment(a0);
const config = apexExperiment.useConfig({
location: a0
});
if (!r9) {
r9 = config.copyChanges;
}
return r9;
}
export function getIsInActivityPrivacyUpsellExperiment(a0) {
return getIsInPrivateProfilesExperiment(a0) || apexExperiment.getConfig({
location: a0
}).upsell;
}