Files
discord-decomp/sources/modules/safety_flows/SafetyFlowsExperiment.tsx
T
2026-07-28 01:06:53 +03:00

30 lines
2.1 KiB
TypeScript

/* Metro module 15847; source: modules/safety_flows/SafetyFlowsExperiment.tsx; dependencies: [1358, 2] */
import ApexExperiment from '../experiments/apex/ApexExperiment.tsx'; /* Metro dependency 1358 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun121871(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121871, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16055:6, offset: 0x0255330b, size: 186 bytes, params: 8, frame: 20
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = ApexExperiment;
value = value({'name': '2026-04-safety-flows', 'kind': 'user', defaultConfig: {enabled: false},
variations: {[0]: {enabled: false}, [1]: {enabled: true}}});
(FileImportTrackerModule).fileFinishedImporting('modules/safety_flows/SafetyFlowsExperiment.tsx');
exports.default = value;
exports.isEligibleForSafetyFlowsExperiment = isEligibleForSafetyFlowsExperiment;
exports.useIsEligibleForSafetyFlowsExperiment = useIsEligibleForSafetyFlowsExperiment;
function isEligibleForSafetyFlowsExperiment({location}) { // fn#121872, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16055:356, offset: 0x01195c54, size: 39 bytes, params: 2, frame: 12
const binding = env0_0;
const getConfig = binding.getConfig;
return Reflect.apply(getConfig, binding, [{location: location}]).enabled;
}
function useIsEligibleForSafetyFlowsExperiment({location}) { // fn#121873, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16055:496, offset: 0x01195c7b, size: 39 bytes, params: 2, frame: 12
const binding = env0_0;
const useConfig = binding.useConfig;
return Reflect.apply(useConfig, binding, [{location: location}]).enabled;
}
}
global.__d(_fun121871, 15847, [1358, 2]) /* metro module 15847, dependencies: [1358, 2] */;