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,31 +1,37 @@
/* Metro module 10342; source: modules/game_relationships/hooks/useIsGameFriends.tsx; dependencies: [57, 5242, 661, 566, 6274, 2] */
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
import GameRelationshipStore from '../GameRelationshipStore.tsx'; /* Metro dependency 5242 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as FluxModule from '../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as SecondaryIndexMapUtilsModule from '../../../utils/SecondaryIndexMapUtils.tsx'; /* Metro dependency 6274 */
function _fun80180(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#80180, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10528:6, offset: 0x01e704ad, size: 152 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(57) /* metro dependency 57 */;
const gameRelationshipStore = importDefault(5242) /* metro dependency 5242: GameRelationshipStore */;
const env0_4 = (require(661) /* metro dependency 661: Constants */).RelationshipTypes;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_relationships/hooks/useIsGameFriends.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/game_relationships/hooks/useIsGameFriends.tsx');
exports.useIsGameFriends = useIsGameFriends;
function useIsGameFriends(a0) { // fn#80181, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10528:250, offset: 0x01e70545, size: 118 bytes, params: 2, frame: 21
const env0_0 = a0;
const useStateFromStores = FluxModule.useStateFromStores;
return Module00057(Reflect.apply(useStateFromStores, FluxModule, [[GameRelationshipStore], _fun80182, [a0],
(SecondaryIndexMapUtilsModule).isVersionEqual]), 1)[0];
function _fun80182() { // fn#80182, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10528:317, offset: 0x01e705bb, size: 71 bytes, params: 1, frame: 13
let value = environment.__proto__;
const gameRelationshipStoreBinding = GameRelationshipStore;
const getGameRelationshipsForUserByType = gameRelationshipStoreBinding.getGameRelationshipsForUserByType;
const binding = env0_0;
const FRIEND = RelationshipTypes.FRIEND;
value = Reflect.apply(getGameRelationshipsForUserByType, gameRelationshipStoreBinding, [binding, FRIEND]);
const gameRelationshipsVersion = gameRelationshipStoreBinding.getGameRelationshipsVersion();
value = value.length > 0;
return [value, gameRelationshipsVersion];
}
}
}
function useIsGameFriends(a0) { // fn#80181, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10528:250, offset: 0x01e70545, size: 118 bytes, params: 2, frame: 21
const env0_0 = a0;
const fluxModule = require(566) /* metro dependency 566: flux */;
const useStateFromStores = fluxModule.useStateFromStores;
return env0_2(Reflect.apply(useStateFromStores, fluxModule, [[GameRelationshipStore], _fun80182, [a0],
(require(6274) /* metro dependency 6274: SecondaryIndexMapUtils */).isVersionEqual]), 1)[0];
}
function _fun80182() { // fn#80182, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10528:317, offset: 0x01e705bb, size: 71 bytes, params: 1, frame: 13
let value = environment.__proto__;
const getGameRelationshipsForUserByType = GameRelationshipStore.getGameRelationshipsForUserByType;
const binding = env0_0;
const FRIEND = RelationshipTypes.FRIEND;
value = Reflect.apply(getGameRelationshipsForUserByType, GameRelationshipStore, [binding, FRIEND]);
const gameRelationshipsVersion = GameRelationshipStore.getGameRelationshipsVersion();
value = value.length > 0;
return [value, gameRelationshipsVersion];
}
global.__d(_fun80180, 10342, [57, 5242, 661, 566, 6274,
2]) /* metro module 10342, dependencies: [57, 5242, 661, 566, 6274, 2] */;