/* Metro module 14878; source: modules/icymi/native/CaughtUpRow.tsx; dependencies: [5, 57, 31, 27, 33, 4017, 4573, 14815, 697, 9580, 14832, 14828, 4008, 4504, 3860, 10231, 1244, 4578, 14854, 4589, 676, 674, 2] */ import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */ import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */ import Module00674 from '../../../by-id/module-00674.js'; /* Metro dependency 674 */ import Native from '../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */ import ReanimatedRexport from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */ import ICYMIActionCreators from '../ICYMIActionCreators.tsx'; /* Metro dependency 9580 */ 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 ConstantsIOSModule from '../../../ConstantsIOS.tsx'; /* Metro dependency 676 */ import * as UseTokenModule from '../../../design/tokens/native/useToken.tsx'; /* Metro dependency 3860 */ import * as ReanimatedRexportModule from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */ import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */ import * as ButtonNativeModule from '../../../design/components/Button/native/Button.native.tsx'; /* Metro dependency 4578 */ import * as FlashIconModule from '../../../design/components/Icon/native/redesign/generated/FlashIcon.tsx'; /* Metro dependency 10231 */ import * as CreateICYMIStylesModule from './createICYMIStyles.tsx'; /* Metro dependency 14815 */ import * as ICYMISharedModule from './ICYMIShared.tsx'; /* Metro dependency 14854 */ function _fun112546(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#112546, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15075:6, offset: 0x023d0ee1, size: 330 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = JsxRuntimeModule; const env0_7 = value.jsx; const env0_8 = value.jsxs; value = importDefault(4017) /* metro dependency 4017: ReanimatedRexport */; const createAnimatedComponent = value.createAnimatedComponent; const Text = (TextModule).Text; const env0_9 = Reflect.apply(createAnimatedComponent, value, [Text]); const env0_10 = (CreateICYMIStylesModule).createICYMIStyles(_fun112547); object = {code: 'function CaughtUpRowTsx1(){const{visibleSharedValue,withTiming,Easing}=this.__closure;return{transform:[{translateY:visibleSharedValue.get()?withTiming(0,{duration:250,easing:Easing.bezier(0.5,1.8,0.5,1)}):-80}],opacity:visibleSharedValue.get()?withTiming(1,{duration:100,easing:Easing.out(Easing.bezierFn(0.33,1,0.68,1))}):0};}'}; object = {code: 'function CaughtUpRowTsx2(){const{visibleSharedValue,withDelay,withSequence,withTiming,Easing}=this.__closure;return{transform:[{translateY:visibleSharedValue.get()?withDelay(80,withSequence(withTiming(8,{duration:100,easing:Easing.inOut(Easing.ease)}),withTiming(0,{duration:300,easing:Easing.out(Easing.ease)}))):0}]};}'}; object = {code: 'function CaughtUpRowTsx3(){const{visibleSharedValue,withDelay,withSequence,withTiming,Easing}=this.__closure;return{transform:[{translateY:visibleSharedValue.get()?withDelay(115,withSequence(withTiming(8,{duration:150,easing:Easing.inOut(Easing.ease)}),withTiming(0,{duration:300,easing:Easing.out(Easing.ease)}))):0}]};}'}; (FileImportTrackerModule).fileFinishedImporting('modules/icymi/native/CaughtUpRow.tsx'); exports.default = ExploreServersRow; function _fun112547(a0) { // fn#112547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15075:245, offset: 0x023d102b, size: 344 bytes, params: 2, frame: 17 const object = {}; const PX_32 = (importDefault(697) /* metro dependency 697: native */).space.PX_32; object.container = {'flex': 1, 'display': 'flex', 'alignItems': 'center', 'justifyContent': 'center', marginVertical: PX_32}; const object3 = {}; object3.marginHorizontal = a0.margin; let PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object3.marginBottom = PX_24; object.textContainer = object3; PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object.recommendedGuildsContainer = {flex: 1, marginBottom: PX_24}; PX_24 = (importDefault(697) /* metro dependency 697: native */).space.PX_24; object.iconWrapper = {'display': 'flex', 'alignItems': 'center', 'justifyContent': 'center', marginBottom: PX_24}; object.icon = {'height': 40, 'width': 40}; const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8; object.headerText = {'alignSelf': 'center', 'marginBottom': null, 'textAlign': 'center', marginBottom: PX_8}; object.subtitleText = {'alignSelf': 'center', 'textAlign': 'center'}; const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12; object.buttonContainer = {'flex': 1, 'width': '100%', gap: PX_12, paddingHorizontal: a0.margin}; object.gradient = {'position': 'absolute', 'top': 0, 'left': 0, 'right': 0, 'height': 150}; return object; } function ExploreServersRow({visible}) { // fn#112548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15075:2017, offset: 0x023d1183, size: 1477 bytes, params: 2, frame: 33 const value2 = env0_10(); const value3 = (ReanimatedRexportModule).useSharedValue(false); let binding = ReactModule; binding.useEffect(_fun112549, [visible, value3]); const [property, env0_2] = Module00057(binding.useState(false), 2); const value7 = binding.useCallback(Module00005(_fun112552), []); let closure = _fun112555; const value8 = binding.useCallback(closure, []); let useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle; closure = ExploreServersRowE; object = {visibleSharedValue: value3}; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; const Easing = ReanimatedRexportModule.Easing; object.Easing = Easing; closure.__closure = object; closure.__workletHash = 6575188656069; closure.__initData = env0_11; const value9 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]); useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle; closure = ExploreServersRowB; object = {visibleSharedValue: value3}; object.withDelay = ReanimatedRexportModule.withDelay; object.withSequence = ReanimatedRexportModule.withSequence; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object.Easing = Easing; closure.__closure = object; closure.__workletHash = 469742746264; closure.__initData = env0_12; const value10 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]); useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle; closure = ExploreServersRowX; object = {visibleSharedValue: value3}; object.withDelay = ReanimatedRexportModule.withDelay; object.withSequence = ReanimatedRexportModule.withSequence; object.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming; object.Easing = Easing; closure.__closure = object; closure.__workletHash = 14933607481025; closure.__initData = env0_13; const value11 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [closure]); const useToken = UseTokenModule.useToken; const BACKGROUND_BRAND = (Native).colors.BACKGROUND_BRAND; const value12 = Reflect.apply(useToken, UseTokenModule, [BACKGROUND_BRAND]); const container = value2.container; const textContainer = value2.textContainer; const View2 = (ReanimatedRexport).View; const items4 = [value2.iconWrapper, value9]; const FlashIcon = (FlashIconModule).FlashIcon; const items2 = [ , ]; binding = env0_9; const items3 = [value2.headerText, value10]; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; items2[1] = ((Component) => {Reflect.apply(string, intl, [(require(1244) /* metro dependency 1244: indexNative */).t.xjxffq])})(binding); items2[2] = ((Component) => {intl.string((require(1244) /* metro dependency 1244: indexNative */).t.sAApb0)})(binding); const items5 = [ {items2} , ]; const buttonContainer = value2.buttonContainer; const Button = (ButtonNativeModule).Button; let value = (