/* Metro module 14446; source: modules/guilds_bar/native/GuildsBarItemIconPressable.tsx; dependencies: [57, 31, 27, 14385, 33, 4017, 7599, 4501, 697, 1357, 3860, 4504, 10083, 7701, 4507, 2] */ import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */ import Native from '../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */ import MobileVisualRefreshExperiment from '../../themes/experiments/MobileVisualRefreshExperiment.tsx'; /* Metro dependency 1357 */ import ReanimatedRexport from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */ 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 UseTokenModule from '../../../design/tokens/native/useToken.tsx'; /* Metro dependency 3860 */ 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 TimingModule from '../../../design/animation/reanimated/timing/timing.tsx'; /* Metro dependency 4504 */ import * as TimingPresetsModule from '../../../design/animation/reanimated/timing/timingPresets.tsx'; /* Metro dependency 4507 */ import * as ClipViewModule from '../../../design/components/Icon/native/ClipView.tsx'; /* Metro dependency 7599 */ import * as ClientThemesOverridesModule from '../../client_themes/native/ClientThemesOverrides.tsx'; /* Metro dependency 7701 */ import * as PlusSmallIconModule from '../../../design/components/Icon/native/redesign/generated/PlusSmallIcon.tsx'; /* Metro dependency 10083 */ import * as GuildsBarConstantsModule from './GuildsBarConstants.tsx'; /* Metro dependency 14385 */ function _fun109322(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#109322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:6, offset: 0x02345e50, size: 967 bytes, params: 8, frame: 32 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ReactModule; const {Image, Pressable} = ReactNativeModule; const GUILD_ITEM_SIZE = (GuildsBarConstantsModule).GUILD_ITEM_SIZE; const env0_10 = (ReanimatedRexport).createAnimatedComponent(Pressable); const env0_11 = (ReanimatedRexport).createAnimatedComponent(Image); const value6 = GUILD_ITEM_SIZE + 12; const value7 = 0.6666666666666666 * value6; const value8 = 0.4666666666666667 * value6; const env0_15 = 0.05 * value6; const value9 = 0.48333333333333334 * value6; const value10 = 0.11666666666666667 * value6; const env0_18 = 0.35 * value7; const value11 = 0.2857142857142857 * value8; const value12 = 0.5333333333333333 * value6; const value13 = 0.3125 * value12; const value14 = (value6 - value12) / 2; const value15 = 0.3333333333333333 * value6; const env0_25 = (value6 - GUILD_ITEM_SIZE) / 2; const env0_26 = value15 + value12 - GUILD_ITEM_SIZE; const env0_27 = GUILD_ITEM_SIZE / 2; object = {duration: 150}; const Easing = (ReanimatedRexportModule).Easing; let inOut = Easing.inOut; const Easing2 = (ReanimatedRexportModule).Easing; object.easing = Reflect.apply(inOut, Easing, [Easing2.ease]); object = {duration: 240}; inOut = Easing.inOut; const Easing3 = (ReanimatedRexportModule).Easing; object.easing = Reflect.apply(inOut, Easing, [Easing3.ease]); object = {}; const CutoutShape = (ClipViewModule).CutoutShape; let RoundedRect = CutoutShape.RoundedRect; object.shape = RoundedRect; object.x = value14 - 2; object.y = value15 - 2; const value16 = value12 + 4; object.width = value16; object.height = value16; object.cornerRadius = value13 + 2; RoundedRect = CutoutShape.RoundedRect; const value17 = value8 + 4; const env0_30 = [{shape: RoundedRect, x: value9 - 2, y: value10 - 2, width: value17, height: value17, cornerRadius: value11 + 2, rotationDegrees: 9}, object]; const env0_31 = [object]; const env0_32 = (CreateStylesModule).createStyles(_fun109334); object = {code: 'function GuildsBarItemIconPressableTsx1(){const{isExpandedSV,isSelectedSV,OVERLAY_BORDER_RADIUS,guildItemSelectedBorderRadius,OVERLAY_COLLAPSED_BORDER_RADIUS,withTiming,OVERLAY_ICON_SIZE,OVERLAY_COLLAPSED_SIZE,OVERLAY_TIMING,OVERLAY_ICON_OFFSET_X,OVERLAY_COLLAPSED_LEFT,OVERLAY_ICON_OFFSET_Y,OVERLAY_COLLAPSED_TOP,interpolateColor,styles}=this.__closure;const expanded=isExpandedSV.get()!==0;const selected=isSelectedSV.get()!==0;const taretBorderRadius=function(){if(expanded){return OVERLAY_BORDER_RADIUS;}if(selected){return guildItemSelectedBorderRadius;}return OVERLAY_COLLAPSED_BORDER_RADIUS;}();return{width:withTiming(expanded?OVERLAY_ICON_SIZE:OVERLAY_COLLAPSED_SIZE,OVERLAY_TIMING),height:withTiming(expanded?OVERLAY_ICON_SIZE:OVERLAY_COLLAPSED_SIZE,OVERLAY_TIMING),borderRadius:withTiming(taretBorderRadius,OVERLAY_TIMING),left:withTiming(expanded?OVERLAY_ICON_OFFSET_X:OVERLAY_COLLAPSED_LEFT,OVERLAY_TIMING),top:withTiming(expanded?OVERLAY_ICON_OFFSET_Y:OVERLAY_COLLAPSED_TOP,OVERLAY_TIMING),backgroundColor:withTiming(interpolateColor(selected?1:0,[0,1],[styles.newIconInactive.backgroundColor,styles.newIconActive.backgroundColor]),OVERLAY_TIMING)};}'}; object = {code: "function GuildsBarItemIconPressableTsx2(){const{isExpandedSV,withTiming,BG_LARGE_ICON_SIZE,GUILD_ICON_TIMING,BG_LARGE_ICON_ROTATION_DEGREES}=this.__closure;const expanded=isExpandedSV.get()!==0;return{transform:[{translateX:withTiming(expanded?0:BG_LARGE_ICON_SIZE/2,GUILD_ICON_TIMING)},{translateY:withTiming(expanded?0:BG_LARGE_ICON_SIZE/2,GUILD_ICON_TIMING)},{rotate:BG_LARGE_ICON_ROTATION_DEGREES+'deg'},{scale:withTiming(expanded?1:0,GUILD_ICON_TIMING)}]};}"}; object = {code: "function GuildsBarItemIconPressableTsx3(){const{isExpandedSV,withTiming,BG_SMALL_ICON_SIZE,GUILD_ICON_TIMING,BG_SMALL_ICON_ROTATION_DEGREES}=this.__closure;const expanded=isExpandedSV.get()!==0;return{transform:[{translateX:withTiming(expanded?0:-BG_SMALL_ICON_SIZE/2,GUILD_ICON_TIMING)},{translateY:withTiming(expanded?0:BG_SMALL_ICON_SIZE/2,GUILD_ICON_TIMING)},{rotate:BG_SMALL_ICON_ROTATION_DEGREES+'deg'},{scale:withTiming(expanded?1:0,GUILD_ICON_TIMING)}]};}"}; object = {code: 'function GuildsBarItemIconPressableTsx4(){const{stylesClientThemeOverride,styles,active,selected,withTiming,desaturated,timingStandard}=this.__closure;var _stylesClientThemeOve,_stylesClientThemeOve2;const defaultBackgroundColor=(_stylesClientThemeOve=(_stylesClientThemeOve2=stylesClientThemeOverride)===null||_stylesClientThemeOve2===void 0?void 0:_stylesClientThemeOve2.backgroundColor)!==null&&_stylesClientThemeOve!==void 0?_stylesClientThemeOve:styles.icon.backgroundColor;const isActive=active.get()||selected;return{backgroundColor:withTiming(isActive?desaturated?styles.iconColorDesaturated.color:styles.iconColorActive.color:defaultBackgroundColor,timingStandard)};}'}; object = {code: 'function GuildsBarItemIconPressableTsx5(){const{active,selected,withTiming,styles,desaturated,timingNone,timingStandard}=this.__closure;const isActive=active.get()||selected;return{tintColor:withTiming(isActive?styles.iconColor.color:desaturated?styles.iconColorDesaturated.color:styles.iconColorActive.color,isActive?timingNone:timingStandard)};}'}; value = value.memo(GuildsBarItemIconPresable); (FileImportTrackerModule).fileFinishedImporting('modules/guilds_bar/native/GuildsBarItemIconPressable.tsx'); exports.default = value; exports.BG_CONTAINER_SIZE = value6; function GuildsBarItemIconPressableWithGuildIcons({backgroundIcons, isExpanded, selected, onPress, onLayout, accessibilityLabel, style}) { // fn#109323, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:4161, offset: 0x02346217, size: 1372 bytes, params: 2, frame: 40 var r6; var jsxRuntimeEnv0_8Binding; var ClipView; var items3; var ClipView2; const value2 = (MobileVisualRefreshExperiment)('GuildsBarItemIconPressable'); let useToken = UseTokenModule.useToken; const GUILD_BAR_ITEM_SIZE = (Native).modules.mobile.GUILD_BAR_ITEM_SIZE; const value3 = Reflect.apply(useToken, UseTokenModule, [GUILD_BAR_ITEM_SIZE]); useToken = UseTokenModule.useToken; const GUILD_ITEM_SELECTED_BORDER_RADIUS = (Native).modules.mobile.GUILD_ITEM_SELECTED_BORDER_RADIUS; const value4 = Reflect.apply(useToken, UseTokenModule, [GUILD_ITEM_SELECTED_BORDER_RADIUS]); const styles = useStyles(value2, value3); let binding = env0_4Binding; var [property, env0_4] = binding.useRef(0)(env0_4Binding.useState(false), 2); binding = env0_4Binding; let closure = _fun109324; const value9 = binding.useCallback(closure, []); const r1 = isExpanded && property; const value10 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(r1 ? 1 : 0); const value11 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(selected ? 1 : 0); env0_4Binding.useEffect(_fun109325, [r1, value10, selected, value11]); const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */; let useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle; closure = GuildsBarItemIconPressableWithGuildIconsQ; object = {isExpandedSV: value10, isSelectedSV: value11, OVERLAY_BORDER_RADIUS: env0_21, guildItemSelectedBorderRadius: value4, OVERLAY_COLLAPSED_BORDER_RADIUS: env0_27}; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object.OVERLAY_ICON_SIZE = env0_20; object.OVERLAY_COLLAPSED_SIZE = GUILD_ITEM_SIZE; object.OVERLAY_TIMING = env0_28; object.OVERLAY_ICON_OFFSET_X = env0_22; object.OVERLAY_COLLAPSED_LEFT = env0_25; object.OVERLAY_ICON_OFFSET_Y = env0_23; object.OVERLAY_COLLAPSED_TOP = env0_26; object.interpolateColor = reanimatedRexportModule.interpolateColor; object.styles = styles; closure.__closure = object; closure.__workletHash = 9223164272732; closure.__initData = env0_33; const value12 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]); const moduleValue6 = reanimatedRexportModule; useAnimatedStyle = moduleValue6.useAnimatedStyle; closure = GuildsBarItemIconPressableWithGuildIcons$; object = {isExpandedSV: value10}; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object.BG_LARGE_ICON_SIZE = env0_13; object.GUILD_ICON_TIMING = env0_29; object.BG_LARGE_ICON_ROTATION_DEGREES = -8; closure.__closure = object; closure.__workletHash = 16484002406012; closure.__initData = env0_34; const value13 = Reflect.apply(useAnimatedStyle, moduleValue6, [closure]); const moduleValue7 = reanimatedRexportModule; useAnimatedStyle = moduleValue7.useAnimatedStyle; closure = GuildsBarItemIconPressableWithGuildIconsEe; object = {isExpandedSV: value10}; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object.BG_SMALL_ICON_SIZE = env0_14; object.GUILD_ICON_TIMING = env0_29; object.BG_SMALL_ICON_ROTATION_DEGREES = 9; closure.__closure = object; closure.__workletHash = 8721375757202; closure.__initData = env0_35; const value14 = Reflect.apply(useAnimatedStyle, moduleValue7, [closure]); const items2 = [styles.bgContainer, style]; const value15 = backgroundIcons.length >= 2; if (value15) { jsxRuntimeEnv0_8Binding = jsxRuntimeEnv0_8; ClipView = importDefault(7599) /* metro dependency 7599: ClipView */; binding = env0_11; items3 = [ {((Component) => )(binding)} , ]; ClipView2 = importDefault(7599) /* metro dependency 7599: ClipView */; binding = env0_11; items3[1] = ( {((Component) => )(binding)} ); r6 = ( <> {items3} ); } else { r6 = value15; } const View = (ReanimatedRexport).View; const items6 = [styles.overlayIconBase, value12]; const PlusSmallIcon = (PlusSmallIconModule).PlusSmallIcon; const colors = (Native).colors; return ( {r6} ); function _fun109324() { // fn#109324, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:4572, offset: 0x02346773, size: 54 bytes, params: 1, frame: 12 Module00057.current = Module00057.current + 1; if (Module00057.current >= 2) { env0_4(true); } } function _fun109325() { // fn#109325, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:4700, offset: 0x023467a9, size: 59 bytes, params: 1, frame: 14 let binding = env0_6; const value2 = 0; binding.set(env0_5 ? 1 : value2); binding = JsxRuntimeModule.jsx; binding.set(selected ? 1 : value2); } function GuildsBarItemIconPressableWithGuildIconsQ() { // fn#109326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:4786, owner: GuildsBarItemIconPressableWithGuildIcons.Q, offset: 0x023467e4, size: 420 bytes, params: 1, frame: 24 let binding = env0_6; let get = binding.get; const value2 = Reflect.apply(get, binding, []); const value3 = 0; const value4 = value3 !== value2; binding = JsxRuntimeModule.jsx; get = binding.get; const value5 = value3 !== Reflect.apply(get, binding, []); const r13 = value4 ? env1_21 : value5 ? env0_1 : env1_27; const object = {}; let withTiming = TimingModule.withTiming; object.width = Reflect.apply(withTiming, TimingModule, [value4 ? env1_20 : GUILD_ITEM_SIZE, env1_28]); object.height = TimingModule.withTiming(value4 ? env1_20 : GUILD_ITEM_SIZE, env1_28); object.borderRadius = TimingModule.withTiming(r13, env1_28); object.left = TimingModule.withTiming(value4 ? env1_22 : env1_25, env1_28); object.top = TimingModule.withTiming(value4 ? env1_23 : env1_26, env1_28); withTiming = TimingModule.withTiming; const interpolateColor = ReanimatedRexportModule.interpolateColor; const r8 = value5 ? 1 : value3; const stylesBinding = styles; object.backgroundColor = Reflect.apply(withTiming, TimingModule, [Reflect.apply(interpolateColor, ReanimatedRexportModule, [r8, [0, 1], [stylesBinding.newIconInactive.backgroundColor, stylesBinding.newIconActive.backgroundColor]]), env1_28]); return object; } function GuildsBarItemIconPressableWithGuildIcons$() { // fn#109327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:5627, owner: GuildsBarItemIconPressableWithGuildIcons.$, offset: 0x02346988, size: 228 bytes, params: 1, frame: 22 let value = env0_6.get(); const value2 = 0; value = value2 !== value; const items2 = [{translateX: TimingModule.withTiming(value ? value2 : env1_13 / 2, env1_29)}]; items2[1] = {translateY: TimingModule.withTiming(value ? value2 : env1_13 / 2, env1_29)}; items2[2] = {rotate: '-8deg'}; items2[3] = {scale: TimingModule.withTiming(value ? 1 : value2, env1_29)}; return {transform: items2}; } function GuildsBarItemIconPressableWithGuildIconsEe() { // fn#109328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:6035, owner: GuildsBarItemIconPressableWithGuildIcons.ee, offset: 0x02346a6c, size: 231 bytes, params: 1, frame: 22 let value = env0_6.get(); const value2 = 0; value = value2 !== value; const items2 = [{translateX: TimingModule.withTiming(value ? value2 : -env1_14 / 2, env1_29)}]; items2[1] = {translateY: TimingModule.withTiming(value ? value2 : env1_14 / 2, env1_29)}; items2[2] = {rotate: '9deg'}; items2[3] = {scale: TimingModule.withTiming(value ? 1 : value2, env1_29)}; return {transform: items2}; } } function GuildsBarItemIconPresableNoIcons({iconSource, selected, desaturated, onPress, onLayout, accessibilityLabel, style}) { // fn#109329, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:7975, offset: 0x02346b53, size: 658 bytes, params: 2, frame: 34 const value2 = (MobileVisualRefreshExperiment)('GuildsBarItemIconPressable'); const useToken = UseTokenModule.useToken; const GUILD_BAR_ITEM_SIZE = (Native).modules.mobile.GUILD_BAR_ITEM_SIZE; const styles = useStyles(value2, Reflect.apply(useToken, UseTokenModule, [GUILD_BAR_ITEM_SIZE])); const value4 = (ClientThemesOverridesModule).useClientThemesOverride(styles.iconBackground); const value5 = (ReanimatedRexportModule).useSharedValue(false); const env0_4 = value5; const value6 = env0_4.useCallback(_fun109330, [value5]); const value7 = env0_4.useCallback(_fun109331, [value5]); let useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle; let closure = GuildsBarItemIconPresableNoIconsE; object = {stylesClientThemeOverride: value4, styles: styles, active: value5, selected: selected}; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object.desaturated = desaturated; object.timingStandard = (require(4507) /* metro dependency 4507: timingPresets */).timingStandard; closure.__closure = object; closure.__workletHash = 15959074190934; closure.__initData = env0_36; const value8 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]); useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle; closure = GuildsBarItemIconPresableNoIconsT; object = {active: value5, selected: selected}; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object.styles = styles; object.desaturated = desaturated; object.timingNone = (require(4507) /* metro dependency 4507: timingPresets */).timingNone; object.timingStandard = (require(4507) /* metro dependency 4507: timingPresets */).timingStandard; closure.__closure = object; closure.__workletHash = 3048736124982; closure.__initData = env0_37; return ((Component) => {((Component) => )(env0_11)})(env0_10); function _fun109330() { // fn#109330, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:8328, offset: 0x02346de5, size: 21 bytes, params: 1, frame: 11 return env0_4.set(true); } function _fun109331() { // fn#109331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:8365, offset: 0x02346dfa, size: 21 bytes, params: 1, frame: 11 return env0_4.set(false); } function GuildsBarItemIconPresableNoIconsE() { // fn#109332, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:8416, owner: GuildsBarItemIconPresableNoIcons.E, offset: 0x02346e0f, size: 176 bytes, params: 1, frame: 18 let backgroundColor = Module00057?.backgroundColor; backgroundColor = backgroundColor ?? styles.icon.backgroundColor; const r5 = env0_4.get() || selected; const object = {}; object.backgroundColor = TimingModule.withTiming(r5 ? desaturated ? styles.iconColorDesaturated.color : styles.iconColorActive.color : backgroundColor, (require(4507) /* metro dependency 4507: timingPresets */).timingStandard); return object; } function GuildsBarItemIconPresableNoIconsT() { // fn#109333, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:8879, owner: GuildsBarItemIconPresableNoIcons.T, offset: 0x02346ebf, size: 160 bytes, params: 1, frame: 19 let r1 = env0_4.get() || selected; const withTiming = TimingModule.withTiming; const color = r1 ? styles.iconColor.color : desaturated ? styles.iconColorDesaturated.color : styles.iconColorActive.color; r1 = r1 ? TimingPresetsModule.timingNone : TimingPresetsModule.timingStandard; return {tintColor: Reflect.apply(withTiming, TimingModule, [color, r1])}; } } function _fun109334() { // fn#109334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:885, offset: 0x02346f5f, size: 670 bytes, params: 1, frame: 18 const value = a0; const value2 = a1; let r3 = value !== undefined ? value : false; const r7 = value2 !== undefined ? value2 : GUILD_ITEM_SIZE; const object = {}; let colors = (importDefault(697) /* metro dependency 697: native */).colors; let BACKGROUND_MOD_STRONG = colors.BACKGROUND_MOD_STRONG; object.iconBackground = {backgroundColor: BACKGROUND_MOD_STRONG}; const object3 = {}; let GUILD_BAR_ITEM_PADDING = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_PADDING; object3.marginTop = GUILD_BAR_ITEM_PADDING; let GUILD_BAR_ITEM_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_SIZE; object3.width = GUILD_BAR_ITEM_SIZE; GUILD_BAR_ITEM_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_SIZE; object3.height = GUILD_BAR_ITEM_SIZE; object3.borderRadius = r3 ? (importDefault(697) /* metro dependency 697: native */).radii.lg : r7 / 2; object3.justifyContent = 'center'; object3.alignItems = 'center'; colors = (importDefault(697) /* metro dependency 697: native */).colors; object3.backgroundColor = r3 ? colors.BACKGROUND_MOD_SUBTLE : colors.BACKGROUND_SURFACE_HIGH; object.icon = object3; const WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE; object.iconColor = {color: WHITE}; const defaultImport = importDefault(697) /* metro dependency 697: native */; r3 = r3 ? defaultImport.colors.MOBILE_GUILDBAR_ICON_DEFAULT : defaultImport.unsafe_rawColors.GREEN_360; object.iconColorActive = {color: r3}; const ICON_SUBTLE = defaultImport.colors.ICON_SUBTLE; object.iconColorDesaturated = {color: ICON_SUBTLE}; const BACKGROUND_BRAND = defaultImport.colors.BACKGROUND_BRAND; object.newIconActive = {backgroundColor: BACKGROUND_BRAND}; BACKGROUND_MOD_STRONG = defaultImport.colors.BACKGROUND_MOD_STRONG; object.newIconInactive = {backgroundColor: BACKGROUND_MOD_STRONG}; GUILD_BAR_ITEM_PADDING = defaultImport.modules.mobile.GUILD_BAR_ITEM_PADDING; const binding = env0_12; object.bgContainer = {marginTop: GUILD_BAR_ITEM_PADDING, width: binding, height: binding}; object.bgClipView = {width: binding, height: binding}; object.bgIconLarge = {left: env0_15, top: 0, width: env0_13, height: env0_13, borderRadius: env0_18}; object.bgSmallClipView = {position: 'absolute', width: binding, height: binding}; object.bgIconSmall = {position: 'absolute', left: env0_16, top: env0_17, width: env0_14, height: env0_14, borderRadius: env0_19}; object.overlayIconBase = {'position': 'absolute', 'justifyContent': 'center', 'alignItems': 'center'}; return object; } function GuildsBarItemIconPresable({iconSource, backgroundIcons, isExpanded, desaturated, selected, onPress, onLayout, accessibilityLabel, style}) { // fn#109335, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14643:9450, offset: 0x023471fd, size: 186 bytes, params: 2, frame: 22 isExpanded = !(isExpanded === undefined) && isExpanded; desaturated = !(desaturated === undefined) && desaturated; selected = !(selected === undefined) && selected; return ( backgroundIcons != null ? ( ) : ( ) ); } } global.__d(_fun109322, 14446, [57, 31, 27, 14385, 33, 4017, 7599, 4501, 697, 1357, 3860, 4504, 10083, 7701, 4507, 2]) /* metro module 14446, dependencies: [57, 31, 27, 14385, 33, 4017, 7599, 4501, 697, 1357, 3860, 4504, 10083, 7701, 4507, 2] */;