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

+34 -31
View File
@@ -1,38 +1,41 @@
/* Metro module 5082; source: utils/getDeprecatedModalData.tsx; dependencies: [4502, 661, 2] */
import AccessibilityStore from '../modules/a11y/AccessibilityStore.tsx'; /* Metro dependency 4502 */
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 661 */
function _fun44114(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#44114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5260:6, offset: 0x01168978, size: 126 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */;
const env0_1 = (require(661) /* metro dependency 661: Constants */).ModalAnimation;
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/getDeprecatedModalData.tsx');
(FileImportTrackerModule).fileFinishedImporting('utils/getDeprecatedModalData.tsx');
exports.default = getDeprecatedModalData;
function getDeprecatedModalData(a0, a1, a2) { // fn#44115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5260:207, offset: 0x011689f6, size: 264 bytes, params: 4, frame: 7
let value = a3;
let r4 = value !== undefined ? value : null;
const object = {};
const key = a1.key;
value = null;
r4 = value != key ? key : r4;
object.key = value != r4 ? r4 : 'modal';
object.modal = a0;
const animation = a1.animation;
object.animation = value != animation ? animation : AccessibilityStore.useReducedMotion ? ModalAnimation.FADE : ModalAnimation.SLIDE_UP;
const shouldPersistUnderModals = a1.shouldPersistUnderModals;
object.shouldPersistUnderModals = value != shouldPersistUnderModals && shouldPersistUnderModals;
object.props = a2;
const backdropStyle = a1.backdropStyle;
object.backdropStyle = value != backdropStyle ? backdropStyle : value;
const backdropInstant = a1.backdropInstant;
object.backdropInstant = value != backdropInstant && backdropInstant;
const disableAnimation = a1.disableAnimation;
object.disableAnimation = value != disableAnimation && disableAnimation;
object.closable = typeof a1.closable !== 'boolean' || a1.closable;
const label = a1.label;
value = '';
object.label = value != label ? label : value;
object.callbacks = {};
return object;
}
}
function getDeprecatedModalData(a0, a1, a2) { // fn#44115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5260:207, offset: 0x011689f6, size: 264 bytes, params: 4, frame: 7
let value = a3;
let r4 = value !== undefined ? value : null;
const object2 = {};
const key = a1.key;
value = null;
r4 = value != key ? key : r4;
object2.key = value != r4 ? r4 : 'modal';
object2.modal = a0;
const animation = a1.animation;
object2.animation = value != animation ? animation : AccessibilityStore.useReducedMotion ? ModalAnimation.FADE : ModalAnimation.SLIDE_UP;
const shouldPersistUnderModals = a1.shouldPersistUnderModals;
object2.shouldPersistUnderModals = value != shouldPersistUnderModals && shouldPersistUnderModals;
object2.props = a2;
const backdropStyle = a1.backdropStyle;
object2.backdropStyle = value != backdropStyle ? backdropStyle : value;
const backdropInstant = a1.backdropInstant;
object2.backdropInstant = value != backdropInstant && backdropInstant;
const disableAnimation = a1.disableAnimation;
object2.disableAnimation = value != disableAnimation && disableAnimation;
object2.closable = typeof a1.closable !== 'boolean' || a1.closable;
const label = a1.label;
value = '';
object2.label = value != label ? label : value;
object2.callbacks = {};
return object2;
}
global.__d(_fun44114, 5082, [4502, 661, 2]) /* metro module 5082, dependencies: [4502, 661, 2] */;