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,224 +1,299 @@
/* Metro module 14543; source: modules/guild_sidebar/native/VoiceUserItem.tsx; dependencies: [31, 27, 4502, 33, 1305, 8518, 4501, 697, 10981, 566, 4017, 4504, 1423, 14544, 9250, 9252, 9246, 9248, 9759, 8379, 9436, 2] */
import AccessibilityStore from '../../a11y/AccessibilityStore.tsx'; /* Metro dependency 4502 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as NativeModule from '../../../design/void/native.tsx'; /* Metro dependency 1305 */
import * as ReanimatedRexportModule from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */
import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
import * as UseScaledTextLineHeightAndroidModule from '../../screen/native/useScaledTextLineHeight.android.tsx'; /* Metro dependency 8518 */
import * as ChannelListLayoutModule from '../../main_tabs_v2/native/shared_components/guild_channels/layouts/ChannelListLayout.tsx'; /* Metro dependency 10981 */
function _fun110021(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110021, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:6, offset: 0x023662c5, size: 474 bytes, params: 8, frame: 26
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).View;
const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */;
const value2 = require(33) /* metro dependency 33 */;
const env0_5 = value2.jsx;
const env0_6 = value2.jsxs;
const AvatarSizes = (require(1305) /* metro dependency 1305: native */).AvatarSizes;
let value = ReactModule;
const AvatarSizes = (NativeModule).AvatarSizes;
const env0_7 = AvatarSizes.XSMALL_20;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
object2 = {voiceState: {'flex': 1, 'flexDirection': 'row', 'alignItems': 'center', 'paddingVertical': 5}};
object2.disabled = {opacity: 0.5};
const object5 = {'marginTop': 4, 'marginRight': 8, 'width': 32, 'height': 32, 'borderRadius': null,
const createStyles = CreateStylesModule.createStyles;
object = {voiceState: {'flex': 1, 'flexDirection': 'row', 'alignItems': 'center', 'paddingVertical': 5}};
object.disabled = {opacity: 0.5};
const object3 = {'marginTop': 4, 'marginRight': 8, 'width': 32, 'height': 32, 'borderRadius': null,
'borderWidth': 4, 'borderColor': null, 'alignItems': 'center', 'overflow': 'hidden'};
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
const BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object5.borderColor = BACKGROUND_BASE_LOW;
object2.voiceStateCollapsed = object5;
const object6 = {marginLeft: 6};
const channelListLayoutModule = require(10981) /* metro dependency 10981: ChannelListLayout */;
copyDataProperties(object6, channelListLayoutModule.makeSizeStyle(14), undefined);
object2.voiceStateIcon = object6;
object3.borderColor = BACKGROUND_BASE_LOW;
object.voiceStateCollapsed = object3;
const object4 = {marginLeft: 6};
copyDataProperties(object4, ChannelListLayoutModule.makeSizeStyle(14), undefined);
object.voiceStateIcon = object4;
const REDESIGN_CHANNEL_NAME_MUTED_TEXT = (importDefault(697) /* metro dependency 697: native */).colors.REDESIGN_CHANNEL_NAME_MUTED_TEXT;
object2.legacyVoiceStateIcon = {tintColor: REDESIGN_CHANNEL_NAME_MUTED_TEXT, marginLeft: 6};
const env0_8 = Reflect.apply(createStyles, createStylesModule, [object2]);
object2 = {code: 'function VoiceUserItemTsx1(){const{ringing,shouldAnimate,PULSE_ENDING_OPACITY,withRepeat,withSequence,withDelay,INNER_PULSE_DELAY,withTiming,PULSE_DURATION,Easing,PULSE_STARTING_OPACITY,FADE_DURATION}=this.__closure;if(!ringing){return{opacity:1.0};}else if(!shouldAnimate){return{opacity:PULSE_ENDING_OPACITY};}return{opacity:withRepeat(withSequence(withDelay(INNER_PULSE_DELAY,withTiming(PULSE_ENDING_OPACITY,{duration:PULSE_DURATION,easing:Easing.bezier(0.4,0.0,1,1)})),withDelay(PULSE_DURATION,withTiming(PULSE_STARTING_OPACITY,{duration:FADE_DURATION}))),-1)};}'};
object.legacyVoiceStateIcon = {tintColor: REDESIGN_CHANNEL_NAME_MUTED_TEXT, marginLeft: 6};
const env0_8 = Reflect.apply(createStyles, CreateStylesModule, [object]);
object = {code: 'function VoiceUserItemTsx1(){const{ringing,shouldAnimate,PULSE_ENDING_OPACITY,withRepeat,withSequence,withDelay,INNER_PULSE_DELAY,withTiming,PULSE_DURATION,Easing,PULSE_STARTING_OPACITY,FADE_DURATION}=this.__closure;if(!ringing){return{opacity:1.0};}else if(!shouldAnimate){return{opacity:PULSE_ENDING_OPACITY};}return{opacity:withRepeat(withSequence(withDelay(INNER_PULSE_DELAY,withTiming(PULSE_ENDING_OPACITY,{duration:PULSE_DURATION,easing:Easing.bezier(0.4,0.0,1,1)})),withDelay(PULSE_DURATION,withTiming(PULSE_STARTING_OPACITY,{duration:FADE_DURATION}))),-1)};}'};
value = value.memo(VoiceUserItem);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_sidebar/native/VoiceUserItem.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/guild_sidebar/native/VoiceUserItem.tsx');
exports.default = value;
exports.getVoiceUserHeight = getVoiceUserHeight;
}
function VoiceUserItem(a0) { // fn#110022, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:1317, offset: 0x0236649f, size: 1462 bytes, params: 2, frame: 35
var object2;
var r10;
var r17;
var view;
var View2;
var items2;
var value5;
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
var defaultImport2;
var value14;
const env0_0 = a0.member;
const env0_1 = a0.user;
const env0_2 = a0.guildId;
const collapsed = a0.collapsed;
const stream = a0.stream;
const serverMute = a0.serverMute;
const serverDeaf = a0.serverDeaf;
const mute = a0.mute;
const deaf = a0.deaf;
const localMute = a0.localMute;
const video = a0.video;
const disabled = a0.disabled;
const platform = a0.platform;
const isInEmbeddedActivity = a0.isInEmbeddedActivity;
const voicePlatform = a0.voicePlatform;
const ringing = a0.ringing;
const styles = useStyles();
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([AccessibilityStore], function() {
return !AccessibilityStore.useReducedMotion;
});
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
let closure = VoiceUserItemC;
object2 = {ringing: ringing, shouldAnimate: value2, PULSE_ENDING_OPACITY: 0.4};
object2.withRepeat = reanimatedRexportModule.withRepeat;
object2.withSequence = reanimatedRexportModule.withSequence;
object2.withDelay = reanimatedRexportModule.withDelay;
object2.INNER_PULSE_DELAY = 100;
object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
object2.PULSE_DURATION = 250;
const Easing = reanimatedRexportModule.Easing;
object2.Easing = Easing;
object2.PULSE_STARTING_OPACITY = 0.1;
object2.FADE_DURATION = 500;
closure.__closure = object2;
closure.__workletHash = 9430639809025;
closure.__initData = env0_9;
const value3 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
closure = source;
if (collapsed) {
view = <View style={styles.voiceStateCollapsed}>{((Avatar) => <Avatar source={closure} size={XSMALL_20} />)((require(1305) /* metro dependency 1305: native */).Avatar)}</View>;
} else {
View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
object2 = {};
r10 = disabled && styles.disabled;
object2.style = [styles.voiceState, r10, value3];
items2 = [((Avatar) => <Avatar source={closure} size={XSMALL_20} />)((require(1305) /* metro dependency 1305: native */).Avatar)];
items2[1] = ((Component) => <Component variant="text-sm/medium" color="redesign-channel-name-muted-text" {...a0} />)(importDefault(14544) /* metro dependency 14544: VoiceUserNameItem */);
value5 = null;
if (disabled) {
r10 = value5;
} else if (serverMute) {
const MicrophoneDenyIcon = (require(9250) /* metro dependency 9250: MicrophoneDenyIcon */).MicrophoneDenyIcon;
r10 = <MicrophoneDenyIcon style={styles.voiceStateIcon} color="text-feedback-critical" size="custom" />;
} else if (localMute) {
const MicrophoneDenyIcon2 = (require(9250) /* metro dependency 9250: MicrophoneDenyIcon */).MicrophoneDenyIcon;
r10 = <MicrophoneDenyIcon2 style={styles.voiceStateIcon} size="custom" color="redesign-channel-name-muted-text" />;
} else if (mute) {
const MicrophoneSlashIcon = (require(9252) /* metro dependency 9252: MicrophoneSlashIcon */).MicrophoneSlashIcon;
r10 = <MicrophoneSlashIcon style={styles.voiceStateIcon} size="custom" color="redesign-channel-name-muted-text" />;
function VoiceUserItem(a0) { // fn#110022, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:1317, offset: 0x0236649f, size: 1462 bytes, params: 2, frame: 35
var r10;
var r17;
var view;
var View2;
var items2;
var value5;
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
var defaultImport2;
var value14;
const env0_0 = a0.member;
const env0_1 = a0.user;
const env0_2 = a0.guildId;
const collapsed = a0.collapsed;
const stream = a0.stream;
const serverMute = a0.serverMute;
const serverDeaf = a0.serverDeaf;
const mute = a0.mute;
const deaf = a0.deaf;
const localMute = a0.localMute;
const video = a0.video;
const disabled = a0.disabled;
const platform = a0.platform;
const isInEmbeddedActivity = a0.isInEmbeddedActivity;
const voicePlatform = a0.voicePlatform;
const ringing = a0.ringing;
const styles = useStyles();
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([AccessibilityStore], function() {
return !AccessibilityStore.useReducedMotion;
});
const useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle;
let closure = VoiceUserItemC;
object = {ringing: ringing, shouldAnimate: value2, PULSE_ENDING_OPACITY: 0.4};
object.withRepeat = ReanimatedRexportModule.withRepeat;
object.withSequence = ReanimatedRexportModule.withSequence;
object.withDelay = ReanimatedRexportModule.withDelay;
object.INNER_PULSE_DELAY = 100;
object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
object.PULSE_DURATION = 250;
const Easing = ReanimatedRexportModule.Easing;
object.Easing = Easing;
object.PULSE_STARTING_OPACITY = 0.1;
object.FADE_DURATION = 500;
closure.__closure = object;
closure.__workletHash = 9430639809025;
closure.__initData = env0_9;
const value3 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]);
closure = source;
if (collapsed) {
view = (
<View style={styles.voiceStateCollapsed}>
{((Avatar) => <Avatar source={closure} size={XSMALL_20} />)((require(1305) /* metro dependency 1305: native */).Avatar)}
</View>
);
} else {
r10 = value5;
}
items2[2] = r10;
if (disabled) {
r10 = value5;
} else if (serverDeaf) {
const HeadphonesDenyIcon = (require(9246) /* metro dependency 9246: HeadphonesDenyIcon */).HeadphonesDenyIcon;
r10 = <HeadphonesDenyIcon style={styles.voiceStateIcon} color="text-feedback-critical" size="custom" />;
} else if (deaf) {
const HeadphonesSlashIcon = (require(9248) /* metro dependency 9248: HeadphonesSlashIcon */).HeadphonesSlashIcon;
r10 = <HeadphonesSlashIcon style={styles.voiceStateIcon} size="custom" color="redesign-channel-name-muted-text" />;
} else {
r10 = value5;
}
items2[3] = r10;
if (video) {
View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
object = {};
r10 = disabled && styles.disabled;
object.style = [styles.voiceState, r10, value3];
const Avatar = (require(1305) /* metro dependency 1305: native */).Avatar;
items2 = [
<Avatar source={closure} size={XSMALL_20} />,
];
items2[1] = ((Component) => <Component variant="text-sm/medium" color="redesign-channel-name-muted-text" {...a0} />)(importDefault(14544) /* metro dependency 14544: VoiceUserNameItem */);
value5 = null;
if (disabled) {
r10 = value5;
} else if (serverMute) {
const MicrophoneDenyIcon = (require(9250) /* metro dependency 9250: MicrophoneDenyIcon */).MicrophoneDenyIcon;
r10 = (
<MicrophoneDenyIcon
style={styles.voiceStateIcon}
color="text-feedback-critical"
size="custom"
/>
);
} else if (localMute) {
const MicrophoneDenyIcon2 = (require(9250) /* metro dependency 9250: MicrophoneDenyIcon */).MicrophoneDenyIcon;
r10 = (
<MicrophoneDenyIcon2
style={styles.voiceStateIcon}
size="custom"
color="redesign-channel-name-muted-text"
/>
);
} else if (mute) {
const MicrophoneSlashIcon = (require(9252) /* metro dependency 9252: MicrophoneSlashIcon */).MicrophoneSlashIcon;
r10 = (
<MicrophoneSlashIcon
style={styles.voiceStateIcon}
size="custom"
color="redesign-channel-name-muted-text"
/>
);
} else {
const VideoIcon = (require(9759) /* metro dependency 9759: VideoIcon */).VideoIcon;
r10 = <VideoIcon size="custom" color="redesign-channel-name-muted-text" style={styles.voiceStateIcon} />;
r10 = value5;
}
} else {
r10 = value5;
items2[2] = r10;
if (disabled) {
r10 = value5;
} else if (serverDeaf) {
const HeadphonesDenyIcon = (require(9246) /* metro dependency 9246: HeadphonesDenyIcon */).HeadphonesDenyIcon;
r10 = (
<HeadphonesDenyIcon
style={styles.voiceStateIcon}
color="text-feedback-critical"
size="custom"
/>
);
} else if (deaf) {
const HeadphonesSlashIcon = (require(9248) /* metro dependency 9248: HeadphonesSlashIcon */).HeadphonesSlashIcon;
r10 = (
<HeadphonesSlashIcon
style={styles.voiceStateIcon}
size="custom"
color="redesign-channel-name-muted-text"
/>
);
} else {
r10 = value5;
}
items2[3] = r10;
if (video) {
if (disabled) {
r10 = value5;
} else {
const VideoIcon = (require(9759) /* metro dependency 9759: VideoIcon */).VideoIcon;
r10 = (
<VideoIcon
size="custom"
color="redesign-channel-name-muted-text"
style={styles.voiceStateIcon}
/>
);
}
} else {
r10 = value5;
}
items2[4] = r10;
r10 = (
isInEmbeddedActivity
? (
<Icon
source={importDefault(8379) /* metro dependency 8379 */}
size={(require(1305) /* metro dependency 1305: native */).Icon.Sizes.REFRESH_SMALL_16}
style={styles.legacyVoiceStateIcon}
/>
)
: value5
);
items2[5] = r10;
defaultImport2 = importDefault(9436) /* metro dependency 9436: getConsoleIcon */;
r10 = value5 != platform ? platform : '';
value14 = defaultImport2(r10);
r17 = value5 != value14 ? value14 : (require(9436) /* metro dependency 9436: getConsoleIcon */).getConsoleIconForVoicePlatform(voicePlatform);
r10 = (
value5 != r17
? (
<Icon
source={r17}
size={(require(1305) /* metro dependency 1305: native */).Icon.Sizes.REFRESH_SMALL_16}
style={styles.legacyVoiceStateIcon}
/>
)
: value5
);
items2[6] = r10;
items2[7] = (
stream
? ((LiveTag) => <LiveTag style={styles.legacyVoiceStateIcon} />)((require(1305) /* metro dependency 1305: native */).LiveTag)
: value5
);
view = (
<View2 {...object}>
{items2}
</View2>
);
}
items2[4] = r10;
r10 = isInEmbeddedActivity ? <Icon source={importDefault(8379) /* metro dependency 8379 */} size={(require(1305) /* metro dependency 1305: native */).Icon.Sizes.REFRESH_SMALL_16} style={styles.legacyVoiceStateIcon} /> : value5;
items2[5] = r10;
defaultImport2 = importDefault(9436) /* metro dependency 9436: getConsoleIcon */;
r10 = value5 != platform ? platform : '';
value14 = defaultImport2(r10);
r17 = value5 != value14 ? value14 : (require(9436) /* metro dependency 9436: getConsoleIcon */).getConsoleIconForVoicePlatform(voicePlatform);
r10 = value5 != r17 ? <Icon source={r17} size={(require(1305) /* metro dependency 1305: native */).Icon.Sizes.REFRESH_SMALL_16} style={styles.legacyVoiceStateIcon} /> : value5;
items2[6] = r10;
items2[7] = stream ? ((LiveTag) => <LiveTag style={styles.legacyVoiceStateIcon} />)((require(1305) /* metro dependency 1305: native */).LiveTag) : value5;
view = <View2 {...object2}>{items2}</View2>;
}
return view;
}
function getVoiceUserHeight(a0) { // fn#110026, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:3689, offset: 0x02366bfa, size: 100 bytes, params: 2, frame: 17
const value2 = (require(8518) /* metro dependency 8518: useScaledTextLineHeightAndroid */).scaleTextLineHeight('text-sm/medium',
a0);
const AVATAR_SIZE_MAP = (require(1305) /* metro dependency 1305: native */).AVATAR_SIZE_MAP;
const property = AVATAR_SIZE_MAP[XSMALL_20];
const Math = global.Math;
return Math.max(value2, property) + 10;
}
function VoiceUserItemC() { // fn#110024, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:1661, owner: VoiceUserItem.c, offset: 0x02366a67, size: 308 bytes, params: 1, frame: 34
var withRepeat;
var moduleValue;
var withSequence;
var moduleValue2;
var withDelay;
var moduleValue3;
var withTiming;
var object3;
var value3;
var moduleValue4;
var moduleValue5;
var value;
const ringingBinding = ringing;
const object4 = {};
if (ringingBinding) {
if (env0_4) {
value = environment.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withRepeat = value.withRepeat;
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withSequence = moduleValue.withSequence;
moduleValue2 = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withDelay = moduleValue2.withDelay;
moduleValue3 = require(4504) /* metro dependency 4504: timing */;
withTiming = moduleValue3.withTiming;
object3 = {duration: 250};
object3.easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing.bezier(0.4, 0, 1, 1);
value3 = Reflect.apply(withDelay, moduleValue2, [100, Reflect.apply(withTiming, moduleValue3, [0.4,
object3])]);
moduleValue4 = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withDelay = moduleValue4.withDelay;
moduleValue5 = require(4504) /* metro dependency 4504: timing */;
withTiming = moduleValue5.withTiming;
object4.opacity = Reflect.apply(withRepeat, value, [Reflect.apply(withSequence, moduleValue, [value3,
Reflect.apply(withDelay, moduleValue4, [250, Reflect.apply(withTiming, moduleValue5, [0.1,
{duration: 500}])])]), -1]);
} else {
object4.opacity = 0.4;
return view;
function VoiceUserItemC() { // fn#110024, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:1661, owner: VoiceUserItem.c, offset: 0x02366a67, size: 308 bytes, params: 1, frame: 34
var withRepeat;
var moduleValue;
var withSequence;
var moduleValue2;
var withDelay;
var moduleValue3;
var withTiming;
var object;
var value3;
var moduleValue4;
var moduleValue5;
var value;
const ringingBinding = ringing;
const object2 = {};
if (ringingBinding) {
if (env0_4) {
value = environment.__proto__;
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withRepeat = value.withRepeat;
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withSequence = moduleValue.withSequence;
moduleValue2 = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withDelay = moduleValue2.withDelay;
moduleValue3 = require(4504) /* metro dependency 4504: timing */;
withTiming = moduleValue3.withTiming;
object = {duration: 250};
object.easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing.bezier(0.4, 0, 1, 1);
value3 = Reflect.apply(withDelay, moduleValue2, [100, Reflect.apply(withTiming, moduleValue3, [0.4,
object])]);
moduleValue4 = require(4017) /* metro dependency 4017: ReanimatedRexport */;
withDelay = moduleValue4.withDelay;
moduleValue5 = require(4504) /* metro dependency 4504: timing */;
withTiming = moduleValue5.withTiming;
object2.opacity = Reflect.apply(withRepeat, value, [Reflect.apply(withSequence, moduleValue, [value3,
Reflect.apply(withDelay, moduleValue4, [250, Reflect.apply(withTiming, moduleValue5, [0.1,
{duration: 500}])])]), -1]);
} else {
object2.opacity = 0.4;
}
} else {
object2.opacity = 1;
}
return object2;
}
} else {
object4.opacity = 1;
function source() { // fn#110025, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:2288, owner: VoiceUserItem.source, offset: 0x02366b9b, size: 95 bytes, params: 1, frame: 14
var r0;
var userBinding;
var value2;
var defaultImport;
if (member == null) {
userBinding = user;
r0 = userBinding.getAvatarSource(guildId);
} else if (member.avatar != null) {
value2 = environment.__proto__;
defaultImport = importDefault(1423) /* metro dependency 1423: AvatarUtils */;
r0 = defaultImport.getGuildMemberAvatarSource(member, user);
} else {
userBinding = user;
r0 = userBinding.getAvatarSource(guildId);
}
return r0;
}
}
return object4;
}
function source() { // fn#110025, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:2288, owner: VoiceUserItem.source, offset: 0x02366b9b, size: 95 bytes, params: 1, frame: 14
var r0;
var userBinding;
var value2;
var defaultImport;
if (member == null) {
userBinding = user;
r0 = userBinding.getAvatarSource(guildId);
} else if (member.avatar != null) {
value2 = environment.__proto__;
defaultImport = importDefault(1423) /* metro dependency 1423: AvatarUtils */;
r0 = defaultImport.getGuildMemberAvatarSource(member, user);
} else {
userBinding = user;
r0 = userBinding.getAvatarSource(guildId);
function getVoiceUserHeight(a0) { // fn#110026, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14740:3689, offset: 0x02366bfa, size: 100 bytes, params: 2, frame: 17
const value2 = (UseScaledTextLineHeightAndroidModule).scaleTextLineHeight('text-sm/medium',
a0);
const AVATAR_SIZE_MAP = (NativeModule).AVATAR_SIZE_MAP;
const property = AVATAR_SIZE_MAP[XSMALL_20];
const Math = global.Math;
return Math.max(value2, property) + 10;
}
return r0;
}
global.__d(_fun110021, 14543, [31, 27, 4502, 33, 1305, 8518, 4501, 697, 10981, 566, 4017, 4504, 1423, 14544, 9250,
9252, 9246, 9248, 9759, 8379, 9436,
2]) /* metro module 14543, dependencies: [31, 27, 4502, 33, 1305, 8518, 4501, 697, 10981, 566, 4017, 4504, 1423, 14544, 9250, 9252, 9246, 9248, 9759, 8379, 9436, 2] */;