This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,36 +1,41 @@
/* Metro module 10678; source: modules/video_calls/native/SurfaceDirectRendererExperiment.tsx; dependencies: [1226, 1854, 566, 2] */
import AuthenticationStore from '../../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */
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 _fun82108(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82108, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10864:6, offset: 0x01eeb885, size: 212 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
const env0_3 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'kind': 'user',
const env0_3 = (ApexModule).createApexExperiment({'kind': 'user',
'name': '2026-03-surface-direct-renderer', defaultConfig: {enableSurfaceDirectRenderer: false},
variations: {[1]: {enableSurfaceDirectRenderer: true}}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/video_calls/native/SurfaceDirectRendererExperiment.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/video_calls/native/SurfaceDirectRendererExperiment.tsx');
exports.ANDROID_SURFACE_DIRECT_RENDERER_EXPERIMENT = '2026-03-surface-direct-renderer';
exports.isSurfaceDirectRendererExperimentEnabled = isSurfaceDirectRendererExperimentEnabled;
exports.useSurfaceDirectRendererExperiment = useSurfaceDirectRendererExperiment;
function isSurfaceDirectRendererExperimentEnabled() { // fn#82109, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10864:476, offset: 0x01eeb959, size: 38 bytes, params: 1, frame: 12
const binding = env0_3;
const getConfig = binding.getConfig;
return Reflect.apply(getConfig, binding,
[{location: 'RTCConnection_media_engine_connect'}]).enableSurfaceDirectRenderer;
}
function useSurfaceDirectRendererExperiment(a0, a1) { // fn#82110, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10864:662, offset: 0x01eeb97f, size: 117 bytes, params: 3, frame: 18
const env0_0 = a0;
const binding = env0_3;
const useConfig = binding.useConfig;
return a0 != null && !(require(566) /* metro dependency 566: flux */).useStateFromStores([AuthenticationStore],
_fun82111, [a0]) && Reflect.apply(useConfig, binding, [a1]).enableSurfaceDirectRenderer;
function _fun82111() { // fn#82111, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10864:794, offset: 0x01eeb9f4, size: 30 bytes, params: 1, frame: 10
const binding = env0_0;
const authenticationStoreBinding = AuthenticationStore;
const getId = authenticationStoreBinding.getId;
return binding === Reflect.apply(getId, authenticationStoreBinding, []);
}
}
}
function isSurfaceDirectRendererExperimentEnabled() { // fn#82109, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10864:476, offset: 0x01eeb959, size: 38 bytes, params: 1, frame: 12
const binding = env0_3;
const getConfig = binding.getConfig;
return Reflect.apply(getConfig, binding,
[{location: 'RTCConnection_media_engine_connect'}]).enableSurfaceDirectRenderer;
}
function useSurfaceDirectRendererExperiment(a0, a1) { // fn#82110, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10864:662, offset: 0x01eeb97f, size: 117 bytes, params: 3, frame: 18
const env0_0 = a0;
const binding = env0_3;
const useConfig = binding.useConfig;
return a0 != null && !(require(566) /* metro dependency 566: flux */).useStateFromStores([AuthenticationStore],
_fun82111, [a0]) && Reflect.apply(useConfig, binding, [a1]).enableSurfaceDirectRenderer;
}
function _fun82111() { // fn#82111, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10864:794, offset: 0x01eeb9f4, size: 30 bytes, params: 1, frame: 10
const binding = env0_0;
const getId = AuthenticationStore.getId;
return binding === Reflect.apply(getId, AuthenticationStore, []);
}
global.__d(_fun82108, 10678, [1226, 1854, 566, 2]) /* metro module 10678, dependencies: [1226, 1854, 566, 2] */;