/* Metro module 10225; source: modules/user_profile/utils/shouldShowActivityTimeBar.tsx; dependencies: [661, 2] */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */ function _fun79525(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79525, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10411:6, offset: 0x01e566a1, size: 109 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/user_profile/utils/shouldShowActivityTimeBar.tsx'); exports.default = shouldShowActivityTimeBar; function shouldShowActivityTimeBar(a0) { // fn#79526, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10411:220, offset: 0x01e5670e, size: 98 bytes, params: 2, frame: 6 var timestamps; const type = a0.type; var value; const LISTENING = ActivityTypes.LISTENING; let r0 = type === LISTENING || a0.type === ActivityTypes.WATCHING; if (r0) { timestamps = a0.timestamps; value = undefined; value = (timestamps == null ? value : timestamps.start) != null; r0 = value; } r0 = r0 && a0.timestamps.end != null; return r0; } } global.__d(_fun79525, 10225, [661, 2]) /* metro module 10225, dependencies: [661, 2] */;