Files
discord-decomp/sources/modules/user_profile/PrivateProfilesStrictGbExperiment.tsx
2026-07-28 01:06:53 +03:00

31 lines
2.2 KiB
TypeScript

/* Metro module 10356; source: modules/user_profile/PrivateProfilesStrictGbExperiment.tsx; dependencies: [1854, 2] */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ApexModule from '../experiments/apex/index.tsx'; /* Metro dependency 1854 */
function _fun80240(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#80240, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10542:6, offset: 0x01e72a87, size: 209 bytes, params: 8, frame: 22
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = ApexModule;
value = value.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}}});
(FileImportTrackerModule).fileFinishedImporting('modules/user_profile/PrivateProfilesStrictGbExperiment.tsx');
exports.PrivateProfilesStrictGbExperiment = value;
exports.useIsInPrivateProfilesStrictGbExperiment = useIsInPrivateProfilesStrictGbExperiment;
exports.getIsInPrivateProfilesStrictGbExperiment = getIsInPrivateProfilesStrictGbExperiment;
function useIsInPrivateProfilesStrictGbExperiment(a0) { // fn#80241, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10542:457, offset: 0x00e364db, size: 34 bytes, params: 2, frame: 12
const binding = env0_0;
const useConfig = binding.useConfig;
return Reflect.apply(useConfig, binding, [{location: a0}]).enabled;
}
function getIsInPrivateProfilesStrictGbExperiment(a0) { // fn#80242, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10542:537, offset: 0x00e3651f, size: 34 bytes, params: 2, frame: 12
const binding = env0_0;
const getConfig = binding.getConfig;
return Reflect.apply(getConfig, binding, [{location: a0}]).enabled;
}
}
global.__d(_fun80240, 10356, [1854, 2]) /* metro module 10356, dependencies: [1854, 2] */;