36 lines
2.3 KiB
TypeScript
36 lines
2.3 KiB
TypeScript
/* Metro module 10827; source: modules/noise_cancellation/WindowsEffectsExperiment.tsx; dependencies: [1220, 1854, 566, 2] */
|
|
function _fun83065(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83065, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11013:6, offset: 0x01f0c0f4, size: 220 bytes, params: 8, frame: 23
|
|
var object3;
|
|
const env0_0 = require;
|
|
const closure = getWindowsAudioEffectsExperimentConfig;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const apexExperimentStore = importDefault(1220) /* metro dependency 1220: ApexExperimentStore */;
|
|
object3 = {preferSystemEffects: false};
|
|
const apexModule = require(1854) /* metro dependency 1854: apex */;
|
|
const createApexExperiment = apexModule.createApexExperiment;
|
|
const object5 = {'name': '2025-12-windows-audio-effects', 'kind': 'user'};
|
|
object5.defaultConfig = object3;
|
|
const object6 = {};
|
|
copyDataProperties(object6, object3, undefined);
|
|
object6['preferSystemEffects'] = true;
|
|
object5.variations = {[1]: object6};
|
|
const env0_3 = Reflect.apply(createApexExperiment, apexModule, [object5]);
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/noise_cancellation/WindowsEffectsExperiment.tsx');
|
|
exports.getWindowsAudioEffectsExperimentConfig = closure;
|
|
exports.useWindowsAudioEffectsExperimentConfig = function({location}) {
|
|
return require(dependencyMap[2]).useStateFromStores([ApexExperimentStore], _fun83068);
|
|
};
|
|
}
|
|
|
|
function getWindowsAudioEffectsExperimentConfig({location}) { // fn#83066, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11013:277, offset: 0x01f0c1d0, size: 34 bytes, params: 2, frame: 12
|
|
return env0_3.getConfig({location: location});
|
|
}
|
|
|
|
function useWindowsAudioEffectsExperimentConfig({location}) { // fn#83067, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11013:582, offset: 0x01f0c1f2, size: 71 bytes, params: 2, frame: 14
|
|
return (require(566) /* metro dependency 566: flux */).useStateFromStores([ApexExperimentStore], function() {
|
|
return getWindowsAudioEffectsExperimentConfig({location: location});
|
|
});
|
|
}
|
|
|