/* 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] */ 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 var object2; const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(57) /* metro dependency 57 */; let value = importAll(31) /* metro dependency 31 */; const {Image, Pressable} = require(27) /* metro dependency 27 */; const GUILD_ITEM_SIZE = (require(14385) /* metro dependency 14385: GuildsBarConstants */).GUILD_ITEM_SIZE; const value3 = require(33) /* metro dependency 33 */; const env0_7 = value3.jsx; const env0_8 = value3.Fragment; const env0_9 = value3.jsxs; const env0_10 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(Pressable); const env0_11 = (importDefault(4017) /* metro dependency 4017: 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; object2 = {duration: 150}; const Easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing; let inOut = Easing.inOut; const Easing2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing; object2.easing = Reflect.apply(inOut, Easing, [Easing2.ease]); object2 = {duration: 240}; inOut = Easing.inOut; const Easing3 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing; object2.easing = Reflect.apply(inOut, Easing, [Easing3.ease]); object2 = {}; const CutoutShape = (require(7599) /* metro dependency 7599: ClipView */).CutoutShape; let RoundedRect = CutoutShape.RoundedRect; object2.shape = RoundedRect; object2.x = value14 - 2; object2.y = value15 - 2; const value16 = value12 + 4; object2.width = value16; object2.height = value16; object2.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}, object2]; const env0_31 = [object2]; const env0_32 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun109334); object2 = {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)};}'}; object2 = {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)}]};}"}; object2 = {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)}]};}"}; object2 = {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)};}'}; object2 = {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); (require(2) /* metro dependency 2 */).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 object2; var r6; var jsxRuntimeEnv0_8Binding; var ClipView; var items3; var ClipView2; const value2 = (importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('GuildsBarItemIconPressable'); const useTokenModule = require(3860) /* metro dependency 3860: useToken */; let useToken = useTokenModule.useToken; const GUILD_BAR_ITEM_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_SIZE; const value3 = Reflect.apply(useToken, useTokenModule, [GUILD_BAR_ITEM_SIZE]); const moduleValue2 = useTokenModule; useToken = moduleValue2.useToken; const GUILD_ITEM_SELECTED_BORDER_RADIUS = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_ITEM_SELECTED_BORDER_RADIUS; const value4 = Reflect.apply(useToken, moduleValue2, [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; object2 = {isExpandedSV: value10, isSelectedSV: value11, OVERLAY_BORDER_RADIUS: env0_21, guildItemSelectedBorderRadius: value4, OVERLAY_COLLAPSED_BORDER_RADIUS: env0_27}; object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object2.OVERLAY_ICON_SIZE = env0_20; object2.OVERLAY_COLLAPSED_SIZE = GUILD_ITEM_SIZE; object2.OVERLAY_TIMING = env0_28; object2.OVERLAY_ICON_OFFSET_X = env0_22; object2.OVERLAY_COLLAPSED_LEFT = env0_25; object2.OVERLAY_ICON_OFFSET_Y = env0_23; object2.OVERLAY_COLLAPSED_TOP = env0_26; object2.interpolateColor = reanimatedRexportModule.interpolateColor; object2.styles = styles; closure.__closure = object2; closure.__workletHash = 9223164272732; closure.__initData = env0_33; const value12 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]); const moduleValue6 = reanimatedRexportModule; useAnimatedStyle = moduleValue6.useAnimatedStyle; closure = GuildsBarItemIconPressableWithGuildIcons$; object2 = {isExpandedSV: value10}; object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object2.BG_LARGE_ICON_SIZE = env0_13; object2.GUILD_ICON_TIMING = env0_29; object2.BG_LARGE_ICON_ROTATION_DEGREES = -8; closure.__closure = object2; closure.__workletHash = 16484002406012; closure.__initData = env0_34; const value13 = Reflect.apply(useAnimatedStyle, moduleValue6, [closure]); const moduleValue7 = reanimatedRexportModule; useAnimatedStyle = moduleValue7.useAnimatedStyle; closure = GuildsBarItemIconPressableWithGuildIconsEe; object2 = {isExpandedSV: value10}; object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object2.BG_SMALL_ICON_SIZE = env0_14; object2.GUILD_ICON_TIMING = env0_29; object2.BG_SMALL_ICON_ROTATION_DEGREES = 9; closure.__closure = object2; 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 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View; const items6 = [styles.overlayIconBase, value12]; const PlusSmallIcon = (require(10083) /* metro dependency 10083: PlusSmallIcon */).PlusSmallIcon; const colors = (importDefault(697) /* metro dependency 697: native */).colors; return ( {r6} ); } 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 var object2; const value2 = (importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('GuildsBarItemIconPressable'); const useTokenModule = require(3860) /* metro dependency 3860: useToken */; const useToken = useTokenModule.useToken; const GUILD_BAR_ITEM_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_SIZE; const styles = useStyles(value2, Reflect.apply(useToken, useTokenModule, [GUILD_BAR_ITEM_SIZE])); const value4 = (require(7701) /* metro dependency 7701: ClientThemesOverrides */).useClientThemesOverride(styles.iconBackground); const value5 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(false); const env0_4 = value5; const value6 = env0_4.useCallback(_fun109330, [value5]); const value7 = env0_4.useCallback(_fun109331, [value5]); const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */; let useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle; let closure = GuildsBarItemIconPresableNoIconsE; object2 = {stylesClientThemeOverride: value4, styles: styles, active: value5, selected: selected}; object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object2.desaturated = desaturated; object2.timingStandard = (require(4507) /* metro dependency 4507: timingPresets */).timingStandard; closure.__closure = object2; closure.__workletHash = 15959074190934; closure.__initData = env0_36; const value8 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]); const moduleValue5 = reanimatedRexportModule; useAnimatedStyle = moduleValue5.useAnimatedStyle; closure = GuildsBarItemIconPresableNoIconsT; object2 = {active: value5, selected: selected}; object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object2.styles = styles; object2.desaturated = desaturated; object2.timingNone = (require(4507) /* metro dependency 4507: timingPresets */).timingNone; object2.timingStandard = (require(4507) /* metro dependency 4507: timingPresets */).timingStandard; closure.__closure = object2; closure.__workletHash = 3048736124982; closure.__initData = env0_37; return ((Component) => {((Component) => )(env0_11)})(env0_10); } 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 object2 = {}; let colors = (importDefault(697) /* metro dependency 697: native */).colors; let BACKGROUND_MOD_STRONG = colors.BACKGROUND_MOD_STRONG; object2.iconBackground = {backgroundColor: BACKGROUND_MOD_STRONG}; const object4 = {}; let GUILD_BAR_ITEM_PADDING = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_PADDING; object4.marginTop = GUILD_BAR_ITEM_PADDING; let GUILD_BAR_ITEM_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_SIZE; object4.width = GUILD_BAR_ITEM_SIZE; GUILD_BAR_ITEM_SIZE = (importDefault(697) /* metro dependency 697: native */).modules.mobile.GUILD_BAR_ITEM_SIZE; object4.height = GUILD_BAR_ITEM_SIZE; object4.borderRadius = r3 ? (importDefault(697) /* metro dependency 697: native */).radii.lg : r7 / 2; object4.justifyContent = 'center'; object4.alignItems = 'center'; colors = (importDefault(697) /* metro dependency 697: native */).colors; object4.backgroundColor = r3 ? colors.BACKGROUND_MOD_SUBTLE : colors.BACKGROUND_SURFACE_HIGH; object2.icon = object4; const WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE; object2.iconColor = {color: WHITE}; const defaultImport = importDefault(697) /* metro dependency 697: native */; r3 = r3 ? defaultImport.colors.MOBILE_GUILDBAR_ICON_DEFAULT : defaultImport.unsafe_rawColors.GREEN_360; object2.iconColorActive = {color: r3}; const ICON_SUBTLE = defaultImport.colors.ICON_SUBTLE; object2.iconColorDesaturated = {color: ICON_SUBTLE}; const BACKGROUND_BRAND = defaultImport.colors.BACKGROUND_BRAND; object2.newIconActive = {backgroundColor: BACKGROUND_BRAND}; BACKGROUND_MOD_STRONG = defaultImport.colors.BACKGROUND_MOD_STRONG; object2.newIconInactive = {backgroundColor: BACKGROUND_MOD_STRONG}; GUILD_BAR_ITEM_PADDING = defaultImport.modules.mobile.GUILD_BAR_ITEM_PADDING; const binding = env0_12; object2.bgContainer = {marginTop: GUILD_BAR_ITEM_PADDING, width: binding, height: binding}; object2.bgClipView = {width: binding, height: binding}; object2.bgIconLarge = {left: env0_15, top: 0, width: env0_13, height: env0_13, borderRadius: env0_18}; object2.bgSmallClipView = {position: 'absolute', width: binding, height: binding}; object2.bgIconSmall = {position: 'absolute', left: env0_16, top: env0_17, width: env0_14, height: env0_14, borderRadius: env0_19}; object2.overlayIconBase = {'position': 'absolute', 'justifyContent': 'center', 'alignItems': 'center'}; return object2; } 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 ? : ; } 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 const binding = env0_3; binding.current = binding.current + 1; if (binding.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 = env0_7; 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 = env0_7; get = binding.get; const value5 = value3 !== Reflect.apply(get, binding, []); const r13 = value4 ? env1_21 : value5 ? env0_1 : env1_27; const object2 = {}; const timingModule = require(4504) /* metro dependency 4504: timing */; let withTiming = timingModule.withTiming; object2.width = Reflect.apply(withTiming, timingModule, [value4 ? env1_20 : GUILD_ITEM_SIZE, env1_28]); const moduleValue2 = timingModule; object2.height = moduleValue2.withTiming(value4 ? env1_20 : GUILD_ITEM_SIZE, env1_28); object2.borderRadius = timingModule.withTiming(r13, env1_28); const moduleValue4 = timingModule; object2.left = moduleValue4.withTiming(value4 ? env1_22 : env1_25, env1_28); const moduleValue5 = timingModule; object2.top = moduleValue5.withTiming(value4 ? env1_23 : env1_26, env1_28); const moduleValue6 = timingModule; withTiming = moduleValue6.withTiming; const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */; const interpolateColor = reanimatedRexportModule.interpolateColor; const r8 = value5 ? 1 : value3; const stylesBinding = styles; object2.backgroundColor = Reflect.apply(withTiming, moduleValue6, [Reflect.apply(interpolateColor, reanimatedRexportModule, [r8, [0, 1], [stylesBinding.newIconInactive.backgroundColor, stylesBinding.newIconActive.backgroundColor]]), env1_28]); return object2; } 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 timingModule = require(4504) /* metro dependency 4504: timing */; const items2 = [{translateX: timingModule.withTiming(value ? value2 : env1_13 / 2, env1_29)}]; const moduleValue2 = timingModule; items2[1] = {translateY: moduleValue2.withTiming(value ? value2 : env1_13 / 2, env1_29)}; items2[2] = {rotate: '-8deg'}; const moduleValue3 = timingModule; items2[3] = {scale: moduleValue3.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 timingModule = require(4504) /* metro dependency 4504: timing */; const items2 = [{translateX: timingModule.withTiming(value ? value2 : -env1_14 / 2, env1_29)}]; const moduleValue2 = timingModule; items2[1] = {translateY: moduleValue2.withTiming(value ? value2 : env1_14 / 2, env1_29)}; items2[2] = {rotate: '9deg'}; const moduleValue3 = timingModule; items2[3] = {scale: moduleValue3.withTiming(value ? 1 : value2, env1_29)}; return {transform: items2}; } 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 = env0_3?.backgroundColor; backgroundColor = backgroundColor ?? styles.icon.backgroundColor; const r5 = env0_4.get() || selected; const object2 = {}; const timingModule = require(4504) /* metro dependency 4504: timing */; object2.backgroundColor = timingModule.withTiming(r5 ? desaturated ? styles.iconColorDesaturated.color : styles.iconColorActive.color : backgroundColor, (require(4507) /* metro dependency 4507: timingPresets */).timingStandard); return object2; } 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 timingModule = require(4504) /* metro dependency 4504: timing */; const withTiming = timingModule.withTiming; const color = r1 ? styles.iconColor.color : desaturated ? styles.iconColorDesaturated.color : styles.iconColorActive.color; const value = require(4507) /* metro dependency 4507: timingPresets */; r1 = r1 ? value.timingNone : value.timingStandard; return {tintColor: Reflect.apply(withTiming, timingModule, [color, r1])}; }