/* Metro module 4784; source: modules/stickers/StickerMessagePreviewStore.tsx; dependencies: [6, 7, 15, 17, 18, 4645, 566, 694, 2] */ function _fun41337(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#41337, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4962:6, offset: 0x0111c59b, size: 317 bytes, params: 8, frame: 19 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_0 = importDefault(6) /* metro dependency 6 */; const env0_1 = importDefault(7) /* metro dependency 7 */; const env0_2 = importDefault(15) /* metro dependency 15 */; const env0_3 = importDefault(17) /* metro dependency 17 */; const env0_4 = importDefault(18) /* metro dependency 18 */; const env0_5 = (require(4645) /* metro dependency 4645: DraftStore */).DraftType; let env0_6 = {}; let env0_7 = {}; const Store = (importDefault(566) /* metro dependency 566: flux */).Store; let value = _fun41341(Store); value.displayName = 'StickerMessagePreviewStore'; value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {ADD_STICKER_PREVIEW: ADD_STICKER_PREVIEW, CLEAR_STICKER_PREVIEW: CLEAR_STICKER_PREVIEW, LOGOUT: function() { env0_6 = {}; env0_7 = {}; }}); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/stickers/StickerMessagePreviewStore.tsx'); exports.default = value; } function _isNativeReflectConstruct_41338() { // fn#41338, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4962:168, offset: 0x0111c6d8, size: 94 bytes, params: 1, frame: 18 var Boolean; var prototype; var valueOf; var call; var Reflect; var construct; var closure; var value; var error; try { Boolean = global.Boolean; prototype = Boolean.prototype; valueOf = prototype.valueOf; call = valueOf.call; Reflect = global.Reflect; construct = Reflect.construct; Boolean = global.Boolean; closure = function() { }; value = Reflect.apply(construct, Reflect, [Boolean, [], closure]); value = Reflect.apply(call, valueOf, [value]); var result = !value; } catch (error) { } return (_isNativeReflectConstruct_41338_isNativeReflectConstruct = function() { return !!result; })(); } function _fun41341(a0) { // fn#41341, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4962:381, offset: 0x0111c736, size: 70 bytes, params: 2, frame: 15 const closure = StickerMessagePreviewStore; env0_4(closure, a0); return env0_1(closure, [{key: 'getStickerPreview', value: value_41343}]); } function ADD_STICKER_PREVIEW({channelId, sticker, draftType}) { // fn#41344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4962:906, offset: 0x0111c7a3, size: 63 bytes, params: 2, frame: 5 const FirstThreadMessage = DraftType.FirstThreadMessage; (draftType === FirstThreadMessage ? env0_7 : env0_6)[channelId] = [sticker]; } function CLEAR_STICKER_PREVIEW({channelId, draftType}) { // fn#41345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4962:1037, offset: 0x0111c7e2, size: 59 bytes, params: 2, frame: 4 const FirstThreadMessage = DraftType.FirstThreadMessage; const r0 = draftType === FirstThreadMessage ? env0_7 : env0_6; if (r0[channelId] != null) { delete r0[channelId]; } } function value_41343(a0, a1) { // fn#41343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4962:748, offset: 0x0111c77c, size: 39 bytes, params: 3, frame: 3 const FirstThreadMessage = DraftType.FirstThreadMessage; return (a1 === FirstThreadMessage ? env1_7 : env1_6)[a0]; }