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,43 +1,48 @@
/* Metro module 10703; source: modules/activities/native/getDefaultOrientationLockState.tsx; dependencies: [4092, 1581, 694, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as MetaQuestUtilsAndroidModule from '../../device/MetaQuestUtils.android.tsx'; /* Metro dependency 1581 */
import * as DeviceUtilsModule from '../../../utils/native/DeviceUtils.tsx'; /* Metro dependency 4092 */
function _fun82245(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10889:6, offset: 0x01ef080f, size: 184 bytes, params: 8, frame: 20
const closure = getIsTabletActivitySurface;
const closure2 = getDefaultOrientationLockState;
const getIsTabletActivitySurface2 = getIsTabletActivitySurface;
const getDefaultOrientationLockState2 = getDefaultOrientationLockState;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = (require(4092) /* metro dependency 4092: DeviceUtils */).isIpadOS();
const env0_3 = (require(1581) /* metro dependency 1581: MetaQuestUtilsAndroid */).isMetaQuest();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/native/getDefaultOrientationLockState.tsx');
exports.getIsTabletActivitySurface = closure;
const env0_2 = (DeviceUtilsModule).isIpadOS();
const env0_3 = (MetaQuestUtilsAndroidModule).isMetaQuest();
(FileImportTrackerModule).fileFinishedImporting('modules/activities/native/getDefaultOrientationLockState.tsx');
exports.getIsTabletActivitySurface = getIsTabletActivitySurface2;
exports.setOrientationLockState = setOrientationLockState;
exports.getDefaultOrientationLockState = closure2;
}
function getIsTabletActivitySurface() { // fn#82246, offset: 0x01ef08c7, size: 16 bytes, params: 1, frame: 3
return env0_2 || env0_3;
}
function getDefaultOrientationLockState(a0) { // fn#82247, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10889:191, offset: 0x01ef08d7, size: 68 bytes, params: 2, frame: 12
var value;
var getIsTabletActivitySurfaceBinding;
var isTabletActivitySurfaceBinding;
var embeddedActivityConfig;
var value3;
if (a0 != null) {
getIsTabletActivitySurfaceBinding = getIsTabletActivitySurface;
value = undefined;
isTabletActivitySurfaceBinding = getIsTabletActivitySurfaceBinding();
embeddedActivityConfig = a0.embeddedActivityConfig;
value3 = embeddedActivityConfig == null;
return isTabletActivitySurfaceBinding ? value3 ? value : embeddedActivityConfig.tablet_default_orientation_lock_state : value3 ? value : embeddedActivityConfig.default_orientation_lock_state;
exports.getDefaultOrientationLockState = getDefaultOrientationLockState2;
function getIsTabletActivitySurface() { // fn#82246, offset: 0x01ef08c7, size: 16 bytes, params: 1, frame: 3
return env0_2 || env0_3;
}
}
function setOrientationLockState(a0, a1) { // fn#82248, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10889:622, offset: 0x01ef091b, size: 95 bytes, params: 3, frame: 14
const r3 = a1 ?? getDefaultOrientationLockState(a0);
if (r3 != null) {
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'EMBEDDED_ACTIVITY_SET_ORIENTATION_LOCK_STATE',
applicationId: a0.id, lockState: r3});
function getDefaultOrientationLockState(a0) { // fn#82247, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10889:191, offset: 0x01ef08d7, size: 68 bytes, params: 2, frame: 12
var value;
var getIsTabletActivitySurfaceBinding;
var isTabletActivitySurfaceBinding;
var embeddedActivityConfig;
var value3;
if (a0 != null) {
getIsTabletActivitySurfaceBinding = getIsTabletActivitySurface;
value = undefined;
isTabletActivitySurfaceBinding = getIsTabletActivitySurfaceBinding();
embeddedActivityConfig = a0.embeddedActivityConfig;
value3 = embeddedActivityConfig == null;
return isTabletActivitySurfaceBinding ? value3 ? value : embeddedActivityConfig.tablet_default_orientation_lock_state : value3 ? value : embeddedActivityConfig.default_orientation_lock_state;
}
}
function setOrientationLockState(a0, a1) { // fn#82248, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10889:622, offset: 0x01ef091b, size: 95 bytes, params: 3, frame: 14
const r3 = a1 ?? getDefaultOrientationLockState(a0);
if (r3 != null) {
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'EMBEDDED_ACTIVITY_SET_ORIENTATION_LOCK_STATE',
applicationId: a0.id, lockState: r3});
}
}
}
global.__d(_fun82245, 10703, [4092, 1581, 694, 2]) /* metro module 10703, dependencies: [4092, 1581, 694, 2] */;