/* Metro module 14782; source: modules/notification_center/useNotificationCenterItemAcked.tsx; dependencies: [14775, 566, 4788, 2] */ import NotificationCenterStore from './NotificationCenterStore.tsx'; /* Metro dependency 14775 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as FluxModule from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */ function _fun111659(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#111659, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14979:6, offset: 0x023aacff, size: 114 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/notification_center/useNotificationCenterItemAcked.tsx'); exports.useNotificationCenterItemAcked = useNotificationCenterItemAcked; function useNotificationCenterItemAcked(a0, a1) { // fn#111660, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14979:235, offset: 0x023aad71, size: 119 bytes, params: 3, frame: 17 var r1; var r0; const env0_0 = a0; var value; const value2 = (FluxModule).useStateFromStores([NotificationCenterStore], _fun111661); const forceUnacked = a0.forceUnacked; if (forceUnacked) { r0 = !forceUnacked; } else { if (value2) { r1 = value2; } else { value = require(4788) /* metro dependency 4788: NotificationCenterUtils */; value = value.isRemoteAcked(a0, a1); r1 = value; } r0 = r1; } return r0; function _fun111661() { // fn#111661, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14979:281, offset: 0x023aade8, size: 27 bytes, params: 1, frame: 11 return NotificationCenterStore.isLocalItemAcked(env0_0); } } } global.__d(_fun111659, 14782, [14775, 566, 4788, 2]) /* metro module 14782, dependencies: [14775, 566, 4788, 2] */;