31 lines
1.7 KiB
TypeScript
31 lines
1.7 KiB
TypeScript
/* Metro module 10904; source: components_native/common/Notifications.tsx; dependencies: [31, 10905, 33, 566, 10932, 2] */
|
|
function _fun83467(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83467, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11090:6, offset: 0x01f1be1a, size: 154 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const inAppNotificationStore = importDefault(10905) /* metro dependency 10905: InAppNotificationStore */;
|
|
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/common/Notifications.tsx');
|
|
exports.default = Notifications;
|
|
}
|
|
|
|
function Notifications() { // fn#83468, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11090:214, offset: 0x01f1beb4, size: 111 bytes, params: 1, frame: 17
|
|
var r0;
|
|
var value;
|
|
const currentNotification = (require(566) /* metro dependency 566: flux */).useStateFromStores([InAppNotificationStore],
|
|
function() {
|
|
return InAppNotificationStore.getCurrentNotification();
|
|
});
|
|
const value2 = null;
|
|
if (value2 == currentNotification) {
|
|
r0 = value2;
|
|
} else {
|
|
value = importDefault(10932) /* metro dependency 10932: InAppNotificationContainer */;
|
|
value = ((Component) => <Component notification={currentNotification} key={currentNotification.key} />)(value);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|