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,81 +1,86 @@
/* Metro module 9964; source: modules/game_profile/native/hooks/useInAppBrowserReturn.tsx; dependencies: [31, 9965, 478, 4078, 9959, 9963, 2] */
import GameProfileStore from '../../GameProfileStore.tsx'; /* Metro dependency 9965 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as GameProfileAnalyticUtilsModule from '../../GameProfileAnalyticUtils.tsx'; /* Metro dependency 9963 */
function _fun78010(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#78010, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:6, offset: 0x01e15ea0, size: 137 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const gameProfileStore = importDefault(9965) /* metro dependency 9965: GameProfileStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_profile/native/hooks/useInAppBrowserReturn.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/game_profile/native/hooks/useInAppBrowserReturn.tsx');
exports.default = useInAppBrowserReturn;
}
function useInAppBrowserReturn({gameId, scrollOffsetRef}) { // fn#78011, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:219, offset: 0x01e15f29, size: 66 bytes, params: 2, frame: 15
env0_3.useEffect(_fun78012, [gameId, scrollOffsetRef]);
}
function _fun78012() { // fn#78012, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:293, offset: 0x01e15f6b, size: 114 bytes, params: 1, frame: 13
var environment;
var value;
if (gameId != null) {
value = environment.__proto__;
var moduleValue = require(478) /* metro dependency 478: PlatformUtils */;
if (moduleValue.isIOS()) {
var env0_1 = (require(4078) /* metro dependency 4078: BrowserManager */).subscribeToIsInAppBrowserOpen(_fun78013);
return _fun78014;
}
}
}
function _fun78013(a0, a1) { // fn#78013, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:377, offset: 0x01e15fdd, size: 235 bytes, params: 3, frame: 16
var value;
var setGameProfilePendingReturn;
var value2;
var pendingReturn;
const GameProfileSources = (require(9963) /* metro dependency 9963: GameProfileAnalyticUtils */).GameProfileSources;
if (a1) {
if (a1) {
if (!a0) {
env0_1();
value = environment.__proto__.__proto__;
pendingReturn = GameProfileStore.getPendingReturn();
if (pendingReturn != null) {
(importDefault(9959) /* metro dependency 9959: GameProfileActionCreatorsNative */).returnToGameProfile({gameId: pendingReturn.gameId,
source: GameProfileSources.InAppBrowserReturn,
initialScrollOffset: pendingReturn.initialScrollOffset});
function useInAppBrowserReturn({gameId, scrollOffsetRef}) { // fn#78011, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:219, offset: 0x01e15f29, size: 66 bytes, params: 2, frame: 15
ReactModule.useEffect(_fun78012, [gameId, scrollOffsetRef]);
function _fun78012() { // fn#78012, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:293, offset: 0x01e15f6b, size: 114 bytes, params: 1, frame: 13
var environment;
var value;
if (gameId != null) {
value = environment.__proto__;
var moduleValue = require(478) /* metro dependency 478: PlatformUtils */;
if (moduleValue.isIOS()) {
var env0_1 = (require(4078) /* metro dependency 4078: BrowserManager */).subscribeToIsInAppBrowserOpen(_fun78013);
return _fun78014;
}
}
}
} else if (a0) {
value = environment.__proto__.__proto__;
value = importDefault(9959) /* metro dependency 9959: GameProfileActionCreatorsNative */;
setGameProfilePendingReturn = value.setGameProfilePendingReturn;
value2 = environment.__proto__;
Reflect.apply(setGameProfilePendingReturn, value, [{gameId: gameId,
initialScrollOffset: scrollOffsetRef.current}]);
} else if (a1) {
if (!a0) {
env0_1();
value = environment.__proto__.__proto__;
pendingReturn = GameProfileStore.getPendingReturn();
if (pendingReturn != null) {
(importDefault(9959) /* metro dependency 9959: GameProfileActionCreatorsNative */).returnToGameProfile({gameId: pendingReturn.gameId,
source: GameProfileSources.InAppBrowserReturn,
initialScrollOffset: pendingReturn.initialScrollOffset});
function _fun78013(a0, a1) { // fn#78013, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:377, offset: 0x01e15fdd, size: 235 bytes, params: 3, frame: 16
var value;
var setGameProfilePendingReturn;
var value2;
var pendingReturn;
const GameProfileSources = (GameProfileAnalyticUtilsModule).GameProfileSources;
if (a1) {
if (a1) {
if (!a0) {
env0_1();
value = environment.__proto__.__proto__;
pendingReturn = GameProfileStore.getPendingReturn();
if (pendingReturn != null) {
(importDefault(9959) /* metro dependency 9959: GameProfileActionCreatorsNative */).returnToGameProfile({gameId: pendingReturn.gameId,
source: GameProfileSources.InAppBrowserReturn,
initialScrollOffset: pendingReturn.initialScrollOffset});
}
}
}
} else if (a0) {
value = environment.__proto__.__proto__;
value = importDefault(9959) /* metro dependency 9959: GameProfileActionCreatorsNative */;
setGameProfilePendingReturn = value.setGameProfilePendingReturn;
value2 = environment.__proto__;
Reflect.apply(setGameProfilePendingReturn, value, [{gameId: gameId,
initialScrollOffset: scrollOffsetRef.current}]);
} else if (a1) {
if (!a0) {
env0_1();
value = environment.__proto__.__proto__;
pendingReturn = GameProfileStore.getPendingReturn();
if (pendingReturn != null) {
(importDefault(9959) /* metro dependency 9959: GameProfileActionCreatorsNative */).returnToGameProfile({gameId: pendingReturn.gameId,
source: GameProfileSources.InAppBrowserReturn,
initialScrollOffset: pendingReturn.initialScrollOffset});
}
}
}
}
function _fun78014() { // fn#78014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:689, offset: 0x01e160c8, size: 24 bytes, params: 1, frame: 9
if (!env0_0) {
env0_1();
}
}
}
}
}
function _fun78014() { // fn#78014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10150:689, offset: 0x01e160c8, size: 24 bytes, params: 1, frame: 9
if (!env0_0) {
env0_1();
}
}
global.__d(_fun78010, 9964, [31, 9965, 478, 4078, 9959, 9963,
2]) /* metro module 9964, dependencies: [31, 9965, 478, 4078, 9959, 9963, 2] */;