Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,104 @@
/* Metro module 8541; source: modules/reactions/native/BurstReactionToggle.tsx; dependencies: [31, 27, 4502, 1376, 33, 4017, 566, 3860, 697, 4504, 4577, 4501, 8542, 1244, 7952, 2] */
function _fun67711(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67711, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8726:6, offset: 0x01c2def3, size: 386 bytes, params: 8, frame: 21
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(27) /* metro dependency 27 */).Pressable;
const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */;
const env0_6 = (require(1376) /* metro dependency 1376: DismissibleContentConstants */).ContentDismissActionType;
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
object2 = {duration: 100};
const Easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
const out = Easing.out;
const Easing2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
object2.easing = Reflect.apply(out, Easing, [Easing2.quad]);
const env0_9 = {'stiffness': 750, 'mass': 2.5, 'damping': 70};
object2 = {code: 'function BurstReactionToggleTsx1(){const{reducedMotion,targetBackgroundColor,backgroundColor,rotation}=this.__closure;const _backgroundColor=reducedMotion?targetBackgroundColor:backgroundColor.get();const _rotation=reducedMotion?0:rotation.get();return{backgroundColor:_backgroundColor,transform:[{rotate:_rotation+"deg"}]};}'};
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
const BORDER_RADIUS = (importDefault(697) /* metro dependency 697: native */).modules.button.BORDER_RADIUS;
const env0_11 = Reflect.apply(createStyles, createStylesModule, [{container: {'borderRadius': null, 'padding': 8,
'marginLeft': 8, 'width': 40, 'height': 40, borderRadius: BORDER_RADIUS}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/BurstReactionToggle.tsx');
exports.default = BurstReactionToggle;
}
function BurstReactionToggle({onPress, isActive}) { // fn#67712, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8726:848, offset: 0x01c2e075, size: 380 bytes, params: 2, frame: 24
const styles = useStyles();
const colors = (importDefault(697) /* metro dependency 697: native */).colors;
const r9 = isActive ? colors.WHITE : colors.INTERACTIVE_TEXT_DEFAULT;
const value2 = env0_3.useRef(null);
const env0_1 = (importDefault(8542) /* metro dependency 8542: useBurstToggleCoachmark */)(value2);
const containerStyle = _fun67713(isActive).containerStyle;
const object2 = {onPress: onPress_67717, accessible: true};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
object2.accessibilityLabel = isActive ? Reflect.apply(string, intl, [t['5cRA/b']]) : Reflect.apply(string, intl,
[t.buV4av]);
object2.accessibilityRole = 'switch';
object2.accessibilityState = {checked: isActive};
const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
const items2 = [styles.container, containerStyle];
const SuperReactionIcon = (require(7952) /* metro dependency 7952: SuperReactionIcon */).SuperReactionIcon;
return (
<Pressable {...object2}>
<View style={items2} ref={value2}>
<SuperReactionIcon color={r9} />
</View>
</Pressable>
);
}
function _fun67713(a0) { // fn#67713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8726:1010, offset: 0x01c2e1f1, size: 356 bytes, params: 2, frame: 21
const useReducedMotion = (require(566) /* metro dependency 566: flux */).useStateFromStores([AccessibilityStore],
function() {
return AccessibilityStore.useReducedMotion;
});
const useTokenModule = require(3860) /* metro dependency 3860: useToken */;
const useToken = useTokenModule.useToken;
const colors = (importDefault(697) /* metro dependency 697: native */).colors;
const r7 = Reflect.apply(useToken, useTokenModule,
[a0 ? colors.BACKGROUND_BRAND : colors.INPUT_BACKGROUND_DEFAULT]) ?? '';
const r5 = a0 ? 360 : 0;
const value6 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(r7);
const value7 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(r5);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = c_67715;
closure.__closure = {reducedMotion: useReducedMotion, targetBackgroundColor: r7, backgroundColor: value6,
rotation: value7};
closure.__workletHash = 1525758595013;
closure.__initData = env1_10;
const value8 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
env1_3.useEffect(_fun67716, [value6, r7, value7, r5]);
return {containerStyle: value8};
}
function BurstReactionToggleOnPress() { // fn#67717, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8726:1667, owner: BurstReactionToggle.onPress, offset: 0x01c2e43b, size: 37 bytes, params: 1, frame: 12
const binding = env0_1;
const AUTO = ContentDismissActionType.AUTO;
binding(AUTO);
onPress();
}
function c_67715() { // fn#67715, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8726:1287, offset: 0x01c2e364, size: 107 bytes, params: 1, frame: 15
const object2 = {};
object2.backgroundColor = useReducedMotion ? env0_1 : env0_3.get();
object2.transform = [{rotate: '' + (useReducedMotion ? 0 : env0_4.get()) + 'deg'}];
return object2;
}
function _fun67716() { // fn#67716, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8726:1527, offset: 0x01c2e3cf, size: 108 bytes, params: 1, frame: 20
let binding = env0_3;
let set = binding.set;
const timingModule = require(4504) /* metro dependency 4504: timing */;
Reflect.apply(set, binding, [timingModule.withTiming(env0_1, env2_8)]);
binding = env0_4;
set = binding.set;
const springModule = require(4577) /* metro dependency 4577: spring */;
Reflect.apply(set, binding, [springModule.withSpring(env0_2, env2_9)]);
}
@@ -0,0 +1,116 @@
/* Metro module 11000; source: modules/reactions/native/EmojiReactionRowButton.tsx; dependencies: [31, 27, 1881, 33, 4501, 697, 4002, 5278, 1244, 7950, 1357, 6739, 1423, 3800, 2] */
function _fun84175(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84175, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11186:6, offset: 0x01f3d22d, size: 271 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
(require(27) /* metro dependency 27 */).Platform;
const env0_4 = (require(1881) /* metro dependency 1881: EmojiConstants */).EMOJI_URL_BASE_SIZE;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(function(a0) {
var object2 = {width: a0, height: a0, alignItems: 'center', justifyContent: 'center'};
object2.backgroundColor = importDefault(dependencyMap[5]).colors.MOBILE_EMOJI_BUTTON_BACKGROUND;
object2.borderRadius = importDefault(dependencyMap[5]).modules.button.BORDER_RADIUS;
object2.overflow = 'hidden';
return {emojiContainer: object2};
});
const env0_7 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(_fun84177);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/EmojiReactionRowButton.tsx');
exports.EmojiPickerRowButton = EmojiPickerRowButton;
exports.EmojiReactionRowButton = EmojiReactionRowButton;
exports.getEmojiKey = function(a0, a1) {
return a0 == null ? a1 : a0.type === require(dependencyMap[13]).EmojiTypes.UNICODE ? a0.surrogates : a0.id;
};
}
function _fun84177(a0, a1, a2, a3) { // fn#84177, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11186:434, offset: 0x01f3d3ae, size: 130 bytes, params: 5, frame: 16
let value = a0;
const value2 = a2;
const r2 = a3 ? value2 : value;
const object2 = {};
object2.emojiImage = {width: value, height: value};
const object4 = {lineHeight: value2, fontSize: a1};
value = undefined;
const INTERACTIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_DEFAULT;
object4.color = INTERACTIVE_TEXT_DEFAULT;
object4.textAlign = 'center';
object4.width = r2;
object4.height = r2;
copyDataProperties(object4, a3 ? value : null, importDefault);
object2.emojiText = object4;
return object2;
}
function EmojiPickerRowButton({emojiContainerSize, onPress, iconSize, styles}) { // fn#84178, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11186:743, offset: 0x01f3d430, size: 323 bytes, params: 2, frame: 23
const styles2 = useStyles(emojiContainerSize);
const sharedModule = require(4002) /* metro dependency 4002: shared */;
const useThemeContext = sharedModule.useThemeContext;
const isThemeLight2 = sharedModule.isThemeLight(Reflect.apply(useThemeContext, sharedModule, []).theme);
const unsafe_rawColors = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors;
const r6 = isThemeLight2 ? unsafe_rawColors.PRIMARY_500 : unsafe_rawColors.PRIMARY_300;
const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const lfIHs4 = (require(1244) /* metro dependency 1244: indexNative */).t.lfIHs4;
const items2 = [styles2.emojiContainer, styles];
const ReactionIcon = (require(7950) /* metro dependency 7950: ReactionIcon */).ReactionIcon;
return (
<PressableOpacity
activeOpacity={0.5}
accessibilityRole="button"
accessibilityLabel={Reflect.apply(string, intl, [lfIHs4])}
hitSlop={4}
onPress={onPress}
style={items2}
>
<ReactionIcon color={r6} size={iconSize ?? 'md'} />
</PressableOpacity>
);
}
function EmojiReactionRowButton({emoji, emojiSize, emojiFontSize, emojiContainerSize, emojiLineHeight, onPress, styles}) { // fn#84179, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11186:1219, offset: 0x01f3d573, size: 474 bytes, params: 2, frame: 28
var r4;
var Emoji;
var id;
const styles2 = useStyles(emojiContainerSize);
const styles3 = useStyles(emojiSize, emojiFontSize, emojiLineHeight,
(importDefault(1357) /* metro dependency 1357: MobileVisualRefreshExperiment */)('EmojiReactionRowButton'));
const value4 = env0_3.useMemo(function() {
return {foreground: true};
}, []);
const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const formatToPlainString = intl.formatToPlainString;
const property = (require(1244) /* metro dependency 1244: indexNative */).t['/iYSo6'];
const object = {};
object.emojiName = emoji?.name;
const items2 = [styles2.emojiContainer, styles];
if (emoji != null) {
Emoji = importDefault(6739) /* metro dependency 6739: Emoji */;
var defaultImport2Props = {textEmojiStyle: styles3.emojiText, fastImageStyle: styles3.emojiImage};
id = emoji.id;
defaultImport2Props.name = id == null ? emoji.surrogates : '';
id = emoji.id;
defaultImport2Props.src = id != null ? (importDefault(1423) /* metro dependency 1423: AvatarUtils */).getEmojiURL({id: emoji.id,
animated: emoji.animated, size: EMOJI_URL_BASE_SIZE}) : emoji.url;
r4 = <Emoji {...defaultImport2Props} />;
} else {
r4 = null;
}
return (
<PressableOpacity
androidRippleConfig={value4}
activeOpacity={0.5}
accessibilityRole="button"
accessibilityLabel={Reflect.apply(formatToPlainString, intl, [property, object])}
disabled={emoji == null}
hitSlop={4}
onPress={onPress}
style={items2}
>
{r4}
</PressableOpacity>
);
}
@@ -0,0 +1,49 @@
/* Metro module 9846; source: modules/reactions/native/MessagePreviewReactions.tsx; dependencies: [31, 9590, 33, 566, 6771, 6789, 9839, 2] */
function _fun77189(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77189, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10032:6, offset: 0x01df443c, size: 162 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 messagePreviewStore = importDefault(9590) /* metro dependency 9590: MessagePreviewStore */;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
const env0_5 = [];
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/MessagePreviewReactions.tsx');
exports.default = _default_77190;
}
function _default_77190({channelId, messageId, emoji}) { // fn#77190, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10032:146, offset: 0x01df44de, size: 235 bytes, params: 2, frame: 22
var r4;
let value = ((a0) => {
var env0_0 = a0;
return (require(566) /* metro dependency 566: flux */).useStateFromStores([MessagePreviewStore], _fun77192,
[a0]);
})(messageId);
const defaultImport = importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */;
const MESSAGE_PREVIEW_REACTIONS = (importDefault(6789) /* metro dependency 6789: AnalyticsLocation */).MESSAGE_PREVIEW_REACTIONS;
const analyticsLocations = defaultImport(MESSAGE_PREVIEW_REACTIONS).analyticsLocations;
const AnalyticsLocationProvider = (require(6771) /* metro dependency 6771: useAnalyticsLocations */).AnalyticsLocationProvider;
if (value.length > 0) {
const MessageReactionsContent = (require(9839) /* metro dependency 9839: MessageReactionsContent */).MessageReactionsContent;
value = <MessageReactionsContent channelId={channelId} messageId={messageId} emoji={emoji} reactions={value} />;
r4 = value;
} else {
const MessageReactionsEmpty = (require(9839) /* metro dependency 9839: MessageReactionsContent */).MessageReactionsEmpty;
r4 = <MessageReactionsEmpty />;
}
return (
<AnalyticsLocationProvider value={analyticsLocations}>
{r4}
</AnalyticsLocationProvider>
);
}
function usePreviewMessageReactions(a0) { // fn#77191, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10032:190, owner: _default_77190.usePreviewMessageReactions, offset: 0x01df45c9, size: 75 bytes, params: 2, frame: 16
const env0_0 = a0;
return (require(566) /* metro dependency 566: flux */).useStateFromStores([MessagePreviewStore], _fun77192, [a0]);
}
function _fun77192() { // fn#77192, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10032:268, offset: 0x01df4614, size: 45 bytes, params: 1, frame: 12
const message = MessagePreviewStore.getMessage(env0_0);
return message != null ? message.reactions : env2_5;
}
@@ -0,0 +1,102 @@
/* Metro module 9838; source: modules/reactions/native/MessageReactions.tsx; dependencies: [31, 4814, 33, 566, 6771, 6789, 9839, 2] */
function _fun77076(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77076, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10024:6, offset: 0x01deff6e, size: 166 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const messageStore = importDefault(4814) /* metro dependency 4814: MessageStore */;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
const env0_6 = [];
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/MessageReactions.tsx');
exports.default = _default_77077;
}
function _default_77077(a0) { // fn#77077, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10024:150, offset: 0x01df0014, size: 379 bytes, params: 2, frame: 26
var r4;
const channelId = a0.channelId;
const messageId = a0.messageId;
const emoji = a0.emoji;
const reactions = a0.reactions;
let isSelectedBurst = a0.isSelectedBurst;
isSelectedBurst = !(isSelectedBurst === undefined) && isSelectedBurst;
const object2 = {'channelId': 0, 'messageId': 0, 'emoji': 0, 'reactions': 0, 'isSelectedBurst': 0};
silentSetPrototypeOf(object2, null, undefined);
let value = copyDataProperties({}, a0, object2, undefined);
const defaultImport = importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */;
const MESSAGE_REACTIONS = (importDefault(6789) /* metro dependency 6789: AnalyticsLocation */).MESSAGE_REACTIONS;
const analyticsLocations = defaultImport(MESSAGE_REACTIONS).analyticsLocations;
const value3 = useMessageReactions(channelId, messageId);
const r14 = reactions == null ? value3 : reactions.length > 0 ? reactions : value3;
const items2 = [];
r14.forEach(_fun77082);
items2.sort(function(a0, a1) {
return (a1.burst_count > 0 ? a1.burst_count : a1.count) - (a0.burst_count > 0 ? a0.burst_count : a0.count);
});
const AnalyticsLocationProvider = (require(6771) /* metro dependency 6771: useAnalyticsLocations */).AnalyticsLocationProvider;
if (items2.length > 0) {
const MessageReactionsContent = (require(9839) /* metro dependency 9839: MessageReactionsContent */).MessageReactionsContent;
value = <MessageReactionsContent channelId={channelId} messageId={messageId} emoji={emoji} reactions={items2} isSelectedBurst={isSelectedBurst} {...value} />;
r4 = value;
} else {
const MessageReactionsEmpty = (require(9839) /* metro dependency 9839: MessageReactionsContent */).MessageReactionsEmpty;
r4 = <MessageReactionsEmpty />;
}
return (
<AnalyticsLocationProvider value={analyticsLocations}>
{r4}
</AnalyticsLocationProvider>
);
}
function useMessageReactions(a0, a1) { // fn#77078, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10024:288, owner: _default_77077.useMessageReactions, offset: 0x01df018f, size: 120 bytes, params: 3, frame: 18
const env0_0 = a0;
const env0_1 = a1;
return env1_3.useMemo(_fun77080, [(require(566) /* metro dependency 566: flux */).useStateFromStores([MessageStore],
_fun77079, [a0, a1])]);
}
function _fun77082(a0) { // fn#77082, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10024:588, offset: 0x01df0275, size: 132 bytes, params: 2, frame: 16
var binding;
var push;
var object2;
if (a0.burst_count > 0) {
if (a0.count > 0) {
binding = env0_0;
push = binding.push;
object2 = {};
copyDataProperties(object2, a0, undefined);
object2['count'] = 0;
Reflect.apply(push, binding, [object2]);
binding = env0_0;
push = binding.push;
object2 = {};
copyDataProperties(object2, a0, 'count');
object2['burst_count'] = 0;
Reflect.apply(push, binding, [object2]);
} else {
binding = env0_0;
push = binding.push;
object2 = {};
copyDataProperties(object2, a0, undefined);
Reflect.apply(push, binding, [object2]);
}
} else {
binding = env0_0;
push = binding.push;
object2 = {};
copyDataProperties(object2, a0, undefined);
Reflect.apply(push, binding, [object2]);
}
}
function _fun77079() { // fn#77079, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10024:360, offset: 0x01df0207, size: 50 bytes, params: 1, frame: 14
const message = MessageStore.getMessage(env0_0, require);
return message != null ? message.reactions : env2_6;
}
function _fun77080() { // fn#77080, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10024:445, offset: 0x01df0239, size: 28 bytes, params: 1, frame: 11
return env0_2.filter(function({count_details}) {
return count_details?.vote == null;
});
}
@@ -0,0 +1,702 @@
/* Metro module 9839; source: modules/reactions/native/MessageReactionsContent.tsx; dependencies: [57, 31, 27, 4502, 1379, 1945, 7150, 3784, 661, 33, 4017, 4573, 4501, 697, 566, 3795, 644, 7152, 7151, 6518, 22, 6771, 4617, 3995, 6746, 1305, 1423, 9210, 477, 5312, 8743, 7331, 9840, 1244, 9841, 4000, 3829, 6739, 9842, 4504, 1478, 4071, 4080, 9843, 1962, 6818, 6796, 9844, 4081, 4082, 1585, 8754, 6275, 6277, 587, 6860, 7172, 7213, 9845, 8140, 2] */
function _fun77084(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77084, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:6, offset: 0x01df0335, size: 1211 bytes, params: 8, frame: 26
var object2;
const env0_0 = require;
const closure = useReactors;
const closure2 = useReactorsOnScrollNative;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importDefault(57) /* metro dependency 57 */;
const env0_5 = importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
const env0_6 = value.ActivityIndicator;
value.Platform;
const env0_7 = value.Pressable;
const env0_8 = value.View;
const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const guildMemberStore = importDefault(1945) /* metro dependency 1945: GuildMemberStore */;
const messageReactionsStore = importDefault(7150) /* metro dependency 7150: MessageReactionsStore */;
const permissionStore = importDefault(3784) /* metro dependency 3784: PermissionStore */;
value = require(661) /* metro dependency 661: Constants */;
const env0_14 = value.DEFAULT_NUM_REACTION_USERS;
const env0_15 = value.Permissions;
value = require(33) /* metro dependency 33 */;
const env0_16 = value.jsx;
const env0_17 = value.jsxs;
value = importDefault(4017) /* metro dependency 4017: ReanimatedRexport */;
const createAnimatedComponent = value.createAnimatedComponent;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const env0_18 = Reflect.apply(createAnimatedComponent, value, [Text]);
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object2 = {};
object2.container = {flex: 1};
const object4 = {padding: 32};
object4.borderTopLeftRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object4.borderTopRightRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object2.containerEmpty = object4;
const MOBILE_ACTIONSHEET_BACKGROUND = (importDefault(697) /* metro dependency 697: native */).colors.MOBILE_ACTIONSHEET_BACKGROUND;
object2.listRow = {height: 48, backgroundColor: MOBILE_ACTIONSHEET_BACKGROUND};
const object6 = {'flexDirection': 'row', 'alignItems': 'center', 'borderRadius': null, 'padding': 8, 'marginTop': 8};
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object2.tabContainer = object6;
const INTERACTIVE_BACKGROUND_SELECTED = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_BACKGROUND_SELECTED;
object2.tabContainerSelected = {backgroundColor: INTERACTIVE_BACKGROUND_SELECTED};
object2.tab = {'padding': 0, 'marginHorizontal': 8, 'marginBottom': 8};
object2.tabSelected = {borderBottomColor: 'transparent'};
const object7 = {};
object7.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object2.tabActive = object7;
object2.reactionTab = {'display': 'flex', 'flexDirection': 'column'};
object2.removeButtonContainer = {'display': 'flex', 'flexDirection': 'row', 'justifyContent': 'space-between',
'alignItems': 'center'};
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
object2.emojiOptionsButton = {'flexDirection': 'row', 'alignItems': 'center', 'marginRight': null, 'gap': 2,
marginRight: PX_16};
const object9 = {'backgroundColor': null, 'borderRadius': null, 'height': 32, 'overflow': 'hidden', 'minWidth': 42,
'marginRight': 20, 'display': 'flex', 'flexDirection': 'row', 'alignItems': 'center', 'paddingHorizontal': 12};
const BACKGROUND_FEEDBACK_CRITICAL = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_FEEDBACK_CRITICAL;
object9.backgroundColor = BACKGROUND_FEEDBACK_CRITICAL;
object9.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xxl;
object2.removeAllButton = object9;
let INTERACTIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_DEFAULT;
object2.reactionCountText = {color: INTERACTIVE_TEXT_DEFAULT};
const INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE;
object2.reactionCountTextSelected = {color: INTERACTIVE_TEXT_ACTIVE};
object2.emoji = {marginRight: 8};
INTERACTIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_DEFAULT;
object2.emojiText = {'lineHeight': 24, 'fontSize': 20, 'textAlign': 'center', color: INTERACTIVE_TEXT_DEFAULT};
object2.emojiImage = {'resizeMode': 'contain', 'width': 24, 'height': 24};
object2.emojiTextIdentifier = {padding: 16};
object2.avatar = {marginRight: 10};
object2.buttonRow = {'flexDirection': 'row', 'justifyContent': 'flex-end', 'alignItems': 'center'};
object2.loadingSpinner = {'height': 48, 'padding': 6};
const env0_19 = Reflect.apply(createStyles, value, [object2]);
object2 = {code: 'function MessageReactionsContentTsx1(){const{useReducedMotion,buttonWidth,withTiming}=this.__closure;return{maxWidth:useReducedMotion?buttonWidth.get():withTiming(buttonWidth.get(),{duration:200})};}'};
object2 = {code: "function MessageReactionsContentTsx2(){const{useReducedMotion,textOpacity,withTiming}=this.__closure;return{opacity:useReducedMotion?textOpacity.get():withTiming(textOpacity.get(),{duration:125}),color:'white',fontSize:14,marginLeft:8,textAlignVertical:'center'};}"};
const Storage = (require(587) /* metro dependency 587: Storage */).Storage;
const env0_25 = Storage.get('MessageReactionsContent_SwipableBounced', false);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/MessageReactionsContent.tsx');
exports.useReactors = closure;
exports.useReactorsOnScrollNative = closure2;
exports.MessageReactionsEmpty = MessageReactionsEmpty;
exports.MessageReactionsContent = MessageReactionsContent;
}
function useReactors({channelId, messageId, reaction, reactionType}) { // fn#77085, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:1931, offset: 0x01df07f0, size: 284 bytes, params: 2, frame: 24
var object2;
const value3 = (require(566) /* metro dependency 566: flux */).useStateFromStores([MessageReactionsStore],
_fun77086, [channelId, messageId, reaction.emoji, reactionType], importDefault(644) /* metro dependency 644 */);
object2 = {reactors: value3};
const ReactionTypes = (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes;
const VOTE = ReactionTypes.VOTE;
object2.reactorsHasMore = (reactionType === VOTE ? reaction.count_details?.vote ?? 0 : reactionType === ReactionTypes.BURST ? reaction.burst_count : reaction.count) > value3.length;
return object2;
}
function useReactorsOnScrollNative({channelId, messageId, reactionSelected, reactors, reactorsHasMore, reactionType}) { // fn#77087, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2368, offset: 0x01df096d, size: 302 bytes, params: 2, frame: 21
const env0_5Binding = env0_5.useRef(false);
const value3 = env0_5Binding.useCallback(_fun77088, [channelId, messageId, reactionSelected, reactorsHasMore,
reactors.length > 0 ? reactors[reactors.length - 1].id : null, reactionType]);
const env0_8 = env0_5Binding.useRef(value3);
env0_5Binding.useEffect(_fun77090, [value3]);
const env0_9 = (importDefault(6518) /* metro dependency 6518: useInitialValue */)(_fun77091);
return (importDefault(6518) /* metro dependency 6518: useInitialValue */)(function() {
return _fun77094;
});
}
function useRenderFooter(a0, a1) { // fn#77095, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2951, offset: 0x01df0c09, size: 73 bytes, params: 3, frame: 16
const env0_0 = a0;
const env0_1 = a1;
const styles = useStyles();
return env0_5.useCallback(_fun77096, [a0, a1, styles]);
}
function useRenderItem(a0, a1, a2, a3, a4) { // fn#77097, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:3091, offset: 0x01df0c9a, size: 144 bytes, params: 6, frame: 21
const env0_0 = a0;
const env0_1 = a1;
const env0_2 = a2;
const env0_3 = a3;
const env0_4 = a4;
const styles = useStyles();
return styles.useCallback(_fun77098, [a0, a2, a4, a1, a3, styles,
(importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */)().analyticsLocations]);
}
function useRenderQuickActions(a0, a1, a2, a3) { // fn#77101, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:4147, offset: 0x01df10e4, size: 95 bytes, params: 5, frame: 18
const env0_0 = a0;
const env0_1 = a1;
const env0_2 = a2;
const env0_3 = a3;
const styles = useStyles();
return env0_5.useCallback(_fun77102, [a3, a0, a1, a2, styles]);
}
function ReactionTab({reaction, selected}) { // fn#77104, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:4697, offset: 0x01df1318, size: 703 bytes, params: 2, frame: 29
var r9;
var r3;
var r13;
var object2;
var moduleValue2;
var defaultImport;
var getEmojiURL;
const styles = useStyles();
const value3 = reaction.burst_count > 0;
const value5 = (require(9841) /* metro dependency 9841: useEmojiColorPalette */).useEmojiColorPalette(reaction.burst_colors ?? []);
const r14 = value5?.accentColor != null ? {color: value5.accentColor} : null;
if (value5 != null) {
moduleValue2 = require(4000) /* metro dependency 4000: ColorUtils */;
r9 = {backgroundColor: moduleValue2.hexOpacityToRgba(value5.backgroundColor, value5.opacity)};
} else {
r9 = null;
}
const emoji = reaction.emoji;
const useReducedMotion = (require(566) /* metro dependency 566: flux */).useStateFromStores([AccessibilityStore],
function() {
return AccessibilityStore.useReducedMotion;
});
const AnimateEmoji = (require(3829) /* metro dependency 3829: UserSettings */).AnimateEmoji;
if (emoji.id != null) {
defaultImport = importDefault(1423) /* metro dependency 1423: AvatarUtils */;
getEmojiURL = defaultImport.getEmojiURL;
object2 = {};
object2.id = emoji.id;
r3 = emoji.animated && !useReducedMotion;
r3 = r3 && AnimateEmoji.useSetting();
object2.animated = r3;
object2.size = 48;
r13 = Reflect.apply(getEmojiURL, defaultImport, [object2]);
} else {
r13 = undefined;
}
const viewProps = {style: [styles.tabContainer, selected ? styles.tabContainerSelected : null,
selected && value3 ? r9 : null], accessible: true, accessibilityLabel: emoji.name,
accessibilityState: {selected: selected}};
const value9 = ((Component) => <Component src={r13} name={emoji.name} textEmojiStyle={[styles.emoji,
styles.emojiText]} fastImageStyle={[styles.emoji,
styles.emojiImage]} />)(importDefault(6739) /* metro dependency 6739: Emoji */);
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
return (
<View {...viewProps} key={emoji.id ?? emoji.name}>
{value9}
<Text
variant="text-md/bold"
style={[styles.reactionCountText, selected ? styles.reactionCountTextSelected : null,
value3 ? r14 : null]}
>
{reaction.burst_count > 0 ? reaction.burst_count : reaction.count}
</Text>
</View>
);
}
function RemoveAllButton({reactions, reactionSelectedIndex, channelId, messageId}) { // fn#77106, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:6147, offset: 0x01df15d7, size: 776 bytes, params: 2, frame: 28
var object2;
var r0;
var View;
var items3;
var intl;
const styles = useStyles();
const fluxModule = require(566) /* metro dependency 566: flux */;
const useStateFromStores = fluxModule.useStateFromStores;
const value3 = (importDefault(9842) /* metro dependency 9842: useCanRemoveAllReactions */)(Reflect.apply(useStateFromStores,
fluxModule, [[ChannelStore], function() {
return ChannelStore.getChannel(channelId);
}, [channelId]]));
const useReducedMotion = AccessibilityStore.useReducedMotion;
const env0_4 = useReducedMotion;
let binding = env0_5;
var [env0_5, env0_6] = env0_4(binding.useState(true), 2);
const value6 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(64);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
let useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
let closure = RemoveAllButtonR;
object2 = {useReducedMotion: useReducedMotion, buttonWidth: value6};
object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
closure.__closure = object2;
closure.__workletHash = 16499689496895;
closure.__initData = env0_20;
const value7 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
const value8 = reanimatedRexportModule.useSharedValue(0);
const moduleValue5 = reanimatedRexportModule;
useAnimatedStyle = moduleValue5.useAnimatedStyle;
closure = RemoveAllButtonT;
object2 = {useReducedMotion: useReducedMotion, textOpacity: value8};
object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
closure.__closure = object2;
closure.__workletHash = 8698187840986;
closure.__initData = env0_21;
const value9 = Reflect.apply(useAnimatedStyle, moduleValue5, [closure]);
env0_5.useEffect(_fun77111, [reactionSelectedIndex, env0_5.useCallback(_fun77110, [value6, value8])]);
if (value3) {
object2 = {onPress: onPress_77112};
View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
var viewProps = {style: [styles.removeAllButton, value7]};
items3 = [((TrashIcon) => <TrashIcon color={(importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.WHITE} size="sm" />)((require(4071) /* metro dependency 4071: TrashIcon */).TrashIcon)];
binding = env0_18;
var bindingProps = {'style': null, 'variant': 'text-sm/semibold', 'color': 'white', style: value9};
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
items3[1] = ((Component) => <Component {...bindingProps}>{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['zx/e4P'])}</Component>)(binding);
r0 = <Pressable {...object2}><View {...viewProps}>{items3}</View></Pressable>;
} else {
r0 = null;
}
return r0;
}
function EmojiOptionsButton({reactions, reactionSelectedIndex, channelId, messageId}) { // fn#77113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:7494, offset: 0x01df1a81, size: 389 bytes, params: 2, frame: 25
const styles = useStyles();
const value4 = env0_5.useCallback(_fun77115, [channelId, messageId, reactions[reactionSelectedIndex],
(importDefault(9842) /* metro dependency 9842: useCanRemoveAllReactions */)((require(566) /* metro dependency 566: flux */).useStateFromStores([ChannelStore],
function() {
return ChannelStore.getChannel(channelId);
}, [channelId]))]);
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const text = <Text variant="text-xs/semibold" color="text-subtle">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.pCaYID)}</Text>;
const ChevronSmallRightIcon = (require(6818) /* metro dependency 6818: ChevronSmallRightIcon */).ChevronSmallRightIcon;
const ICON_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.ICON_SUBTLE;
return (
<Pressable onPress={value4} style={styles.emojiOptionsButton}>
{text}
<ChevronSmallRightIcon color={ICON_SUBTLE} size="xs" />
</Pressable>
);
}
function ReactionTabs(a0) { // fn#77116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:8111, offset: 0x01df1c86, size: 469 bytes, params: 2, frame: 29
const styles = useStyles();
const reactions = a0.reactions;
const reactionSelectedIndex = a0.reactionSelectedIndex;
const env0_1 = a0.setReactionSelectedIndex;
const defaultImport = importDefault(6796) /* metro dependency 6796: TidaWebformExperiment */;
const useExperiment = defaultImport.useExperiment;
const tidaWebformEnabled = Reflect.apply(useExperiment, defaultImport, [{location: 'ReactionTabs'},
{autoTrackExposure: false}]).tidaWebformEnabled;
const TabBar = importDefault(9844) /* metro dependency 9844: TabBar */;
const defaultImport2Props2 = {tabs: reactions.map(_fun77117), tabStyle: styles.tab,
tabStyleActive: styles.tabActive, tabStyleSelected: styles.tabSelected, tabIndexSelected: reactionSelectedIndex,
onSelect: function(a0) {
require(dependencyMap[48]).triggerHapticFeedback(importDefault(dependencyMap[49]).IMPACT_LIGHT);
setReactionSelectedIndex(a0);
}};
const MAX_REACTIONS = (require(3795) /* metro dependency 3795: ReactionUtils */).MAX_REACTIONS;
defaultImport2Props2.initialNumTabsToRender = MAX_REACTIONS;
const items2 = [<TabBar {...defaultImport2Props2} />];
items2[1] = ((Component) => <Component outer />)(importDefault(7331) /* metro dependency 7331: FormDivider */);
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const reactionUtilsModule = require(3795) /* metro dependency 3795: ReactionUtils */;
const getReactionEmojiName = reactionUtilsModule.getReactionEmojiName;
items2[2] = <View style={styles.removeButtonContainer}><Text style={styles.emojiTextIdentifier} variant="eyebrow" color="text-default">{Reflect.apply(getReactionEmojiName,
reactionUtilsModule,
[reactions[reactionSelectedIndex].emoji])}</Text>{((Component) => <Component {...a0} />)(tidaWebformEnabled ? EmojiOptionsButton : RemoveAllButton)}</View>;
return (
<View style={styles.reactionTab}>
{items2}
</View>
);
}
function MessageReactionsEmpty() { // fn#77119, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:9204, offset: 0x01df1f1a, size: 307 bytes, params: 1, frame: 25
const styles = useStyles();
const value2 = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)();
const value3 = (require(8754) /* metro dependency 8754: NoResults */).useNoResultsSource();
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
const bottom = value2.bottom;
const BottomSheetView = (require(6277) /* metro dependency 6277 */).BottomSheetView;
const RefreshEmptyState = (require(1305) /* metro dependency 1305: native */).RefreshEmptyState;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const HmPOrp = (require(1244) /* metro dependency 1244: indexNative */).t.HmPOrp;
return (
<BottomSheet scrollable startHeight={338 + bottom}>
<BottomSheetView style={styles.containerEmpty}>
<RefreshEmptyState
source={value3}
title={Reflect.apply(string, intl, [HmPOrp])}
body={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['pTJ5J/'])}
/>
</BottomSheetView>
</BottomSheet>
);
}
function MessageReactionsContent({channelId, messageId, emoji, reactions, isSelectedBurst, disableManage, disableTabs}) { // fn#77120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:9569, offset: 0x01df204d, size: 1041 bytes, params: 2, frame: 36
var object2;
disableManage = !(disableManage === undefined) && disableManage;
disableTabs = !(disableTabs === undefined) && disableTabs;
var value;
const styles = useStyles();
const {reactionSelected, reactionSelectedIndex,
setReactionSelectedIndex} = useReactionSelected({reactions: reactions, emoji: emoji,
isSelectedBurst: isSelectedBurst});
const r21 = reactionSelected.me_vote != null ? (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.VOTE : reactionSelected.burst_count > 0 ? (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.BURST : (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.NORMAL;
const {reactors, reactorsHasMore} = useReactors({channelId: channelId, messageId: messageId,
reaction: reactionSelected, reactionType: r21});
const fluxModule = require(566) /* metro dependency 566: flux */;
const useStateFromStores = fluxModule.useStateFromStores;
const value6 = (require(6860) /* metro dependency 6860: ThreadHooks */).useIsActiveChannelOrUnarchivableThread(Reflect.apply(useStateFromStores,
fluxModule, [[ChannelStore], function() {
return ChannelStore.getChannel(channelId);
}, [channelId]]));
const value7 = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)();
const r0 = ((a0) => {
var env0_0 = a0;
return (require(566) /* metro dependency 566: flux */).useStateFromStores([PermissionStore], _fun77126, [a0]);
})(channelId) && !disableManage && value6;
const r8 = reactionSelected.emoji.id ?? reactionSelected.emoji.name;
object2 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
object2.accessibilityLabel = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.gHp0C4);
object2.footerSize = 48;
object2.insetBottom = value7.bottom;
object2.onScroll = useReactorsOnScrollNative({channelId: channelId, messageId: messageId,
reactionSelected: reactionSelected, reactors: reactors, reactorsHasMore: reactorsHasMore, reactionType: r21});
object2.renderFooter = useRenderFooter(reactors, reactorsHasMore);
object2.renderItem = useRenderItem(reactors, messageId, channelId, reactionSelected, r0);
object2.renderQuickActions = useRenderQuickActions(channelId, messageId, reactionSelected, reactors);
object2.itemSize = 48;
object2.sections = [reactors.length];
object2.style = styles.container;
const value10 = env0_5.useCallback(function() {
env1_25 = true;
var Storage = require(dependencyMap[54]).Storage;
Storage.set('MessageReactionsContent_SwipableBounced', true);
}, []);
let r4 = (require(477) /* metro dependency 477: PlatformUtils */).isIOS() && r0;
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
const BACKDROP_OPACITY = (require(7172) /* metro dependency 7172: BurstReactionEffectUtils */).BACKDROP_OPACITY;
const ReactionTypes = (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes;
const BURST = ReactionTypes.BURST;
const r7 = r21 !== BURST ? null : ((Component) => <Component emoji={reactionSelected.emoji} reactionType={r21} messageId={messageId} channelId={channelId} />)(importDefault(7213) /* metro dependency 7213: BurstReactionAnimationPreview */);
const r5 = disableTabs === true ? null : <ReactionTabs reactions={reactions} reactionSelectedIndex={reactionSelectedIndex} setReactionSelectedIndex={setReactionSelectedIndex} messageId={messageId} channelId={channelId} />;
if (r4) {
r4 = ((Component) => <Component inActionSheet bounceFirstRowOnMount={!env0_25} onBounceSwipable={value10} {...object2} key={r8} />)(importDefault(9845) /* metro dependency 9845: SwipeableFastList */);
} else {
value = importDefault(8140) /* metro dependency 8140: FastList */;
value = ((Component) => <Component inActionSheet {...object2} key={r8} />)(value);
r4 = value;
}
return (
<BottomSheet
scrollable
backdropOpacity={BACKDROP_OPACITY}
backdropChildren={r7}
header={r5}
>
{r4}
</BottomSheet>
);
}
function _fun77086() { // fn#77086, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2048, offset: 0x01df090c, size: 97 bytes, params: 1, frame: 19
var r0;
let value = environment.__proto__;
value = MessageReactionsStore.getReactions(channelId, messageId, reaction.emoji, DEFAULT_NUM_REACTION_USERS,
reactionType);
const Array = global.Array;
const from = Array.from;
if (value == null) {
r0 = undefined;
} else {
value = value.values();
r0 = value;
}
r0 = r0 ?? [];
return Reflect.apply(from, Array, [r0]);
}
function _fun77088(a0, a1) { // fn#77088, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2564, offset: 0x01df0a9b, size: 190 bytes, params: 3, frame: 14
var environment;
var value2;
var moduleValue;
if (a0 / a1 > 0.75 && reactorsHasMore && !env0_5.current) {
env0_5.current = true;
value2 = environment.__proto__;
moduleValue = importAll(7151) /* metro dependency 7151: ReactionActionCreators */;
moduleValue.getReactors({channelId: channelId, messageId: messageId, emoji: reactionSelected.emoji,
limit: DEFAULT_NUM_REACTION_USERS, after: id, type: reactionType}).then(_fun77089);
}
}
function _fun77091() { // fn#77091, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2807, offset: 0x01df0b81, size: 51 bytes, params: 1, frame: 13
var environment;
const value = environment.__proto__;
return (importDefault(22) /* metro dependency 22 */).debounce(_fun77092, 16);
}
function _fun77093() { // fn#77093, offset: 0x01df0bce, size: 11 bytes, params: 1, frame: 1
return _fun77094;
}
function _fun77096() { // fn#77096, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:3013, offset: 0x01df0c52, size: 72 bytes, params: 1, frame: 14
return require ? <ActivityIndicator style={styles.loadingSpinner} size="large" /> : env0_0.length !== 0 ? null : <ActivityIndicator style={styles.loadingSpinner} size="large" />;
}
function _fun77098(a0, a1) { // fn#77098, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:3189, offset: 0x01df0d2a, size: 714 bytes, params: 3, frame: 34
var r12;
var r5;
var value;
const binding = env0_0;
const property = binding[a1];
const id = property.id;
const value2 = binding.length - 1;
const channel = ChannelStore.getChannel(importDefault);
const value5 = null;
const r1 = value5 != channel ? channel.getGuildId() : value5;
const value7 = undefined;
const nickname = (importDefault(4617) /* metro dependency 4617: NicknameUtils */).getNickname(r1, importDefault,
property);
const r16 = value5 != nickname ? nickname : (importDefault(3995) /* metro dependency 3995: UserUtils */).getGlobalName(property);
const r21 = value5 != r1 ? GuildMemberStore.getMember(r1, id) : value5;
const env0_2 = importAll.burst_count > 0 ? (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.BURST : (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.NORMAL;
const stylesBinding = styles;
const listRow = stylesBinding.listRow;
const FormRow = importDefault(6746) /* metro dependency 6746: FormRow */;
const object = {};
const Avatar = (require(1305) /* metro dependency 1305: native */).Avatar;
const avatarProps = {style: stylesBinding.avatar};
const AvatarSizes = (require(1305) /* metro dependency 1305: native */).AvatarSizes;
const SMALL = AvatarSizes.SMALL;
avatarProps.size = SMALL;
avatarProps.source = value5 == r1 || value5 == (value5 == r21 ? value7 : r21.avatar) ? property.getAvatarSource(r1) : (importDefault(1423) /* metro dependency 1423: AvatarUtils */).getGuildMemberAvatarSource(r21,
property);
object.leading = <Avatar {...avatarProps} />;
object.label = ((Component) => <Component user={property} nick={r16} />)(importDefault(9210) /* metro dependency 9210: DiscordTag */);
if (env0_4) {
value = require(477) /* metro dependency 477: PlatformUtils */;
r12 = value.isAndroid() ? <Pressable onPress={onPress_77099}>{((XSmallIcon) => <XSmallIcon />)((require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon)}</Pressable> : value5;
} else {
r12 = value5;
}
object.trailing = r12;
object.onLongPress = onLongPress_77100;
const items2 = [<FormRow {...object} />];
if (a1 === value2) {
r5 = value5;
} else {
value = importDefault(7331) /* metro dependency 7331: FormDivider */;
value = ((Component) => <Component />)(value);
r5 = value;
}
items2[1] = r5;
return (
<View style={listRow}>
{items2}
</View>
);
}
function _fun77102(a0, a1) { // fn#77102, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:4219, offset: 0x01df1143, size: 311 bytes, params: 3, frame: 23
const env0_0 = importAll[a1];
const env0_1 = importDefault.burst_count > 0 ? (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.BURST : (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes.NORMAL;
const SlideoutButton = importDefault(9840) /* metro dependency 9840: SlideoutButton */;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const N86XcP = (require(1244) /* metro dependency 1244: indexNative */).t.N86XcP;
const XSmallIcon = (require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon;
const RED_400 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.RED_400;
return (
<View style={styles.buttonRow}>
<SlideoutButton
title={Reflect.apply(string, intl, [N86XcP])}
IconComponent={XSmallIcon}
color={RED_400}
onPress={onPress_77103}
height={48}
/>
</View>
);
}
function RemoveAllButtonR() { // fn#77108, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:6425, owner: RemoveAllButton.R, offset: 0x01df18df, size: 92 bytes, params: 1, frame: 16
var r1;
var value2;
var moduleValue;
var withTiming;
var value;
if (useReducedMotion) {
r1 = env0_7.get();
} else {
value2 = environment.__proto__;
moduleValue = require(4504) /* metro dependency 4504: timing */;
withTiming = moduleValue.withTiming;
value = env0_7.get();
value = Reflect.apply(withTiming, moduleValue, [value, {duration: 200}]);
r1 = value;
}
return {maxWidth: r1};
}
function RemoveAllButtonT() { // fn#77109, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:6695, owner: RemoveAllButton.T, offset: 0x01df193b, size: 105 bytes, params: 1, frame: 16
var r1;
var value2;
var moduleValue;
var withTiming;
var value;
if (useReducedMotion) {
r1 = env0_8.get();
} else {
value2 = environment.__proto__;
moduleValue = require(4504) /* metro dependency 4504: timing */;
withTiming = moduleValue.withTiming;
value = env0_8.get();
value = Reflect.apply(withTiming, moduleValue, [value, {duration: 125}]);
r1 = value;
}
return {'opacity': null, 'color': 'white', 'fontSize': 14, 'marginLeft': 8, 'textAlignVertical': 'center',
opacity: r1};
}
function _fun77110() { // fn#77110, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:6990, offset: 0x01df19a4, size: 51 bytes, params: 1, frame: 13
env0_6(true);
env0_7.set(32);
env0_8.set(0);
}
function RemoveAllButtonOnPress() { // fn#77112, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:7082, owner: RemoveAllButton.onPress, offset: 0x01df19d7, size: 170 bytes, params: 1, frame: 18
var value2;
var moduleValue;
var binding;
var set;
var value3;
var moduleValue2;
if (env0_5) {
env0_6(false);
binding = env0_7;
set = binding.set;
value3 = environment.__proto__;
moduleValue2 = require(1478) /* metro dependency 1478: useWindowDimensionsNative */;
Reflect.apply(set, binding, [moduleValue2.getWindowDimensions().width]);
binding = env0_8;
binding.set(1);
} else {
value2 = environment.__proto__;
moduleValue = importAll(7151) /* metro dependency 7151: ReactionActionCreators */;
moduleValue.removeEmojiReactions(channelId, messageId, reactions[reactionSelectedIndex].emoji);
env0_9();
}
}
function _fun77115() { // fn#77115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:7669, offset: 0x01df1c06, size: 128 bytes, params: 1, frame: 18
let value = environment.__proto__;
const defaultImport = importDefault(dependencyMap[42]);
const openLazy = defaultImport.openLazy;
value = require(dependencyMap[44]);
value = value(dependencyMap[43], dependencyMap.paths);
Reflect.apply(openLazy, defaultImport, [value, 'ReactionEmojiOptionsActionSheet', {channelId: channelId,
messageId: messageId, reaction: env0_3, canRemoveReactions: env0_2}, 'replaceTopSheet']);
}
function _fun77117(a0, a1) { // fn#77117, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:8354, offset: 0x01df1e5b, size: 116 bytes, params: 3, frame: 18
let value = environment.__proto__;
value = environment;
const reactionSelectedIndexBinding = reactionSelectedIndex;
value = value + (a0.emoji.id ?? '') + ':' + a0.emoji.name;
return (
<ReactionTab
reaction={a0}
selected={a1 === reactionSelectedIndexBinding}
key={value}
/>
);
}
function useReactionSelected({reactions, emoji, isSelectedBurst}) { // fn#77121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:9687, owner: MessageReactionsContent.useReactionSelected, offset: 0x01df245e, size: 144 bytes, params: 2, frame: 16
var environment;
if (isSelectedBurst !== undefined) {
}
let value = environment.__proto__;
value = env1_4(env1_5.useState(_fun77122), 2);
const property = value[0];
const property2 = value[1];
const Math = global.Math;
value = Math.min(property, reactions.length - 1);
return {reactionSelected: reactions[value], reactionSelectedIndex: value, setReactionSelectedIndex: property2};
}
function MessageReactionsContentUseCanManageMessages(a0) { // fn#77125, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:10539, owner: MessageReactionsContent.useCanManageMessages, offset: 0x01df2591, size: 75 bytes, params: 2, frame: 16
const env0_0 = a0;
return (require(566) /* metro dependency 566: flux */).useStateFromStores([PermissionStore], _fun77126, [a0]);
}
function _fun77089() { // fn#77089, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2701, offset: 0x01df0b59, size: 19 bytes, params: 1, frame: 2
env1_5.current = false;
}
function _fun77092(a0, a1) { // fn#77092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2830, offset: 0x01df0bb4, size: 26 bytes, params: 3, frame: 13
return env1_8.current(a0, a1);
}
function _fun77094({nativeEvent}) { // fn#77094, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:2880, offset: 0x01df0bd9, size: 48 bytes, params: 2, frame: 13
return env1_9(nativeEvent.contentOffset.y, nativeEvent.contentSize.height);
}
function onPress_77099() { // fn#77099, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:3783, offset: 0x01df0ff4, size: 158 bytes, params: 1, frame: 17
let value = environment.__proto__.__proto__;
value = require(7151) /* metro dependency 7151: ReactionActionCreators */;
const removeReaction = value.removeReaction;
const object2 = {};
object2.channelId = importDefault;
object2.messageId = require;
object2.emoji = importAll.emoji;
const ReactionLocations = (require(7151) /* metro dependency 7151: ReactionActionCreators */).ReactionLocations;
const MESSAGE = ReactionLocations.MESSAGE;
object2.location = MESSAGE;
object2.userId = env0_0.id;
const binding = env0_2;
const ReactionTypes = (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes;
const BURST = ReactionTypes.BURST;
object2.options = {burst: binding === BURST};
return Reflect.apply(removeReaction, value, [object2]);
}
function onLongPress_77100() { // fn#77100, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:4011, offset: 0x01df1092, size: 82 bytes, params: 1, frame: 14
const value = environment.__proto__.__proto__;
(importDefault(8743) /* metro dependency 8743: showUserProfileActionSheet */)({userId: id, channelId: importDefault,
messageId: require, localUser: env0_0, sourceAnalyticsLocations: analyticsLocations});
}
function onPress_77103() { // fn#77103, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:4494, offset: 0x01df127a, size: 158 bytes, params: 1, frame: 17
let value = environment.__proto__.__proto__;
value = require(7151) /* metro dependency 7151: ReactionActionCreators */;
const removeReaction = value.removeReaction;
const object2 = {};
object2.channelId = env1_0;
object2.messageId = require;
object2.emoji = importDefault.emoji;
const ReactionLocations = (require(7151) /* metro dependency 7151: ReactionActionCreators */).ReactionLocations;
const MESSAGE = ReactionLocations.MESSAGE;
object2.location = MESSAGE;
object2.userId = env0_0.id;
const binding = env0_1;
const ReactionTypes = (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes;
const BURST = ReactionTypes.BURST;
object2.options = {burst: binding === BURST};
return Reflect.apply(removeReaction, value, [object2]);
}
function _fun77122() { // fn#77122, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:9778, offset: 0x01df24ee, size: 55 bytes, params: 1, frame: 11
if (emoji == null) {
return 0;
}
const index = reactions.findIndex(_fun77123);
const value2 = 0;
return index >= value2 ? index : value2;
}
function _fun77126() { // fn#77126, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:10612, offset: 0x01df25dc, size: 44 bytes, params: 1, frame: 14
const canWithPartialContext = PermissionStore.canWithPartialContext;
const MANAGE_MESSAGES = Permissions.MANAGE_MESSAGES;
return Reflect.apply(canWithPartialContext, PermissionStore, [MANAGE_MESSAGES, {channelId: env0_0}]);
}
function _fun77123({emoji, burst_count}) { // fn#77123, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10025:9822, offset: 0x01df2525, size: 108 bytes, params: 2, frame: 15
let value = environment.__proto__.__proto__.__proto__;
value = Reflect.apply((require(3795) /* metro dependency 3795: ReactionUtils */).emojiEquals, value, [emoji, emoji]);
const value4 = (burst_count ?? 0) > 0;
return isSelectedBurst ? value4 && value : !value4 && value;
}
@@ -0,0 +1,231 @@
/* Metro module 9843; source: modules/reactions/native/ReactionEmojiOptionsActionSheet.tsx; dependencies: [31, 27, 4502, 6540, 3969, 33, 4501, 697, 3829, 6796, 566, 8533, 1423, 4080, 8633, 8635, 4573, 1244, 8629, 3857, 6797, 3856, 7151, 6805, 6739, 6231, 6238, 2] */
function _fun77137(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77137, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:6, offset: 0x01df2b02, size: 622 bytes, params: 8, frame: 22
var object4;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importAll(31) /* metro dependency 31 */;
const env0_5 = (require(27) /* metro dependency 27 */).View;
const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */;
const emojiStore = importDefault(6540) /* metro dependency 6540: EmojiStore */;
const selectedGuildStore = importDefault(3969) /* metro dependency 3969: SelectedGuildStore */;
let value = require(33) /* metro dependency 33 */;
const env0_9 = value.jsx;
const env0_10 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object4 = {};
const object5 = {alignItems: 'center'};
let PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
object5.paddingTop = PX_8;
let PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
object5.gap = PX_16;
object4.header = object5;
const object6 = {'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'center',
'backgroundColor': null, 'borderRadius': null, 'borderWidth': 4};
const MESSAGE_HIGHLIGHT_BACKGROUND_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.MESSAGE_HIGHLIGHT_BACKGROUND_DEFAULT;
object6.backgroundColor = MESSAGE_HIGHLIGHT_BACKGROUND_DEFAULT;
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xl;
const BORDER_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_STRONG;
object6.borderColor = BORDER_STRONG;
PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
object6.paddingVertical = PX_8;
PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
object6.paddingHorizontal = PX_16;
PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
object6.gap = PX_8;
object4.reactionPill = object6;
object4.emoji = {'width': 50, 'height': 50};
object4.emojiText = {'fontSize': 24, 'lineHeight': 50, 'textAlign': 'center'};
object4.reactionText = {'fontSize': 24, 'lineHeight': 50};
object4.starIcon = {'height': 24, 'width': 24};
const ICON_FEEDBACK_WARNING = (importDefault(697) /* metro dependency 697: native */).colors.ICON_FEEDBACK_WARNING;
object4.starIconSelected = {tintColor: ICON_FEEDBACK_WARNING};
const INTERACTIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_DEFAULT;
object4.starIconUnselected = {tintColor: INTERACTIVE_TEXT_DEFAULT};
const env0_11 = Reflect.apply(createStyles, value, [object4]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/ReactionEmojiOptionsActionSheet.tsx');
exports.default = ReactionEmojiOptionsActionSheet;
}
function ReactionEmojiOptionsActionSheet({channelId, messageId, reaction, canRemoveReactions}) { // fn#77138, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:1012, offset: 0x01df2d70, size: 1572 bytes, params: 2, frame: 41
var r14;
var r12;
var defaultImport2;
var getEmojiURL;
var animated;
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var string;
var t;
const styles = useStyles();
const emoji = reaction.emoji;
const value3 = emoji.id != null;
const DeveloperMode = (require(3829) /* metro dependency 3829: UserSettings */).DeveloperMode;
const value4 = DeveloperMode.useSetting();
const defaultImport = importDefault(6796) /* metro dependency 6796: TidaWebformExperiment */;
const useExperiment = defaultImport.useExperiment;
let object2 = {location: 'ReactionEmojiOptionsActionSheet'};
const tidaWebformEnabled = Reflect.apply(useExperiment, defaultImport, [object2,
{autoTrackExposure: false}]).tidaWebformEnabled;
const guildId = (require(566) /* metro dependency 566: flux */).useStateFromStores([SelectedGuildStore],
function() {
return SelectedGuildStore.getGuildId();
});
const value5 = (require(566) /* metro dependency 566: flux */).useStateFromStores([EmojiStore], _fun77140,
[emoji.id]);
const env0_4 = value5;
const value6 = (require(8533) /* metro dependency 8533: EmojiPickerUtils */).useIsFavoriteEmoji(guildId, value5);
const useReducedMotion = (require(566) /* metro dependency 566: flux */).useStateFromStores([AccessibilityStore],
function() {
return AccessibilityStore.useReducedMotion;
});
const AnimateEmoji = (require(3829) /* metro dependency 3829: UserSettings */).AnimateEmoji;
if (emoji.id != null) {
defaultImport2 = importDefault(1423) /* metro dependency 1423: AvatarUtils */;
getEmojiURL = defaultImport2.getEmojiURL;
object2 = {};
object2.id = emoji.id;
animated = emoji.animated;
r14 = animated != null && animated;
r14 = r14 && !useReducedMotion;
r14 = r14 && AnimateEmoji.useSetting();
object2.animated = r14;
object2.size = 96;
r12 = Reflect.apply(getEmojiURL, defaultImport2, [object2]);
} else {
r12 = undefined;
}
const r29 = reaction.burst_count > 0 ? reaction.burst_count : reaction.count;
const binding = env0_4;
const value11 = binding.useCallback(_fun77142, []);
const value13 = binding.useCallback(_fun77144, [value11, value5, value6, binding.useCallback(_fun77143, [styles])]);
const value14 = binding.useCallback(_fun77148, [emoji.id, value11]);
const value15 = binding.useCallback(_fun77149, [r12, value11]);
const value16 = binding.useCallback(_fun77150, [channelId, messageId, emoji, value11]);
const r28 = emoji.name ?? '';
const ActionSheet = (require(6805) /* metro dependency 6805: ActionSheetNative */).ActionSheet;
const value18 = ((Component) => <Component src={r12} name={r28} textEmojiStyle={styles.emojiText} fastImageStyle={styles.emoji} />)(importDefault(6739) /* metro dependency 6739: Emoji */);
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const view = <View style={styles.header}><View style={styles.reactionPill}>{value18}<Text variant="text-lg/bold" color="text-default" style={styles.reactionText}>{r29}</Text></View><Text variant="text-lg/semibold" color="text-default">{value3 ? ':' + r28 + ':' : r28}</Text></View>;
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
let r19 = value3 && value5 != null;
if (r19) {
string = intl.string;
t = (require(1244) /* metro dependency 1244: indexNative */).t;
r19 = <TableRow label={value6 ? Reflect.apply(string, intl, [t.Ay49KA]) : Reflect.apply(string, intl,
[t.nNsr67])} onPress={value13} />;
}
const items5 = [r19];
items5[1] = value4 && value3 && <TableRow label={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.Ap2oVy)} onPress={value14} />;
items5[2] = value4 && tidaWebformEnabled && value3 && r12 != null && <TableRow label={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.cIoudn)} onPress={value15} />;
items5[3] = canRemoveReactions && <TableRow label={<Text variant="text-md/semibold" color="text-feedback-critical">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['zx/e4P'])}</Text>} onPress={value16} />;
return (
<ActionSheet>
{view}
<TableRowGroup hasIcons={false}>
{items5}
</TableRowGroup>
</ActionSheet>
);
}
function _fun77140() { // fn#77140, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:1389, offset: 0x01df3394, size: 50 bytes, params: 1, frame: 12
const id = emoji.id;
const value2 = null;
return value2 != id ? EmojiStore.getCustomEmojiById(emoji.id) : value2;
}
function _fun77142() { // fn#77142, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:1733, offset: 0x01df33c6, size: 37 bytes, params: 1, frame: 11
const value = environment.__proto__;
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
}
function _fun77143(a0) { // fn#77143, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:1788, offset: 0x01df33eb, size: 138 bytes, params: 2, frame: 15
const object2 = {};
const stylesBinding = styles;
copyDataProperties(object2, stylesBinding.starIcon, undefined);
if (a0) {
copyDataProperties(object2, stylesBinding.starIconSelected, undefined);
} else {
copyDataProperties(object2, stylesBinding.starIconUnselected, undefined);
}
return ((Component) => <Component style={object2} />)(a0 ? (require(8633) /* metro dependency 8633: StarIcon */).StarIcon : (require(8635) /* metro dependency 8635: StarOutlineIcon */).StarOutlineIcon);
}
function _fun77144() { // fn#77144, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:1967, offset: 0x01df3475, size: 207 bytes, params: 1, frame: 19
var environment;
var closure;
var binding;
var value2;
var moduleValue;
var value;
env0_7();
if (env0_4 != null) {
closure = content;
binding = env0_5;
value2 = environment.__proto__;
moduleValue = require(8629) /* metro dependency 8629: EmojiActionCreators */;
if (binding) {
moduleValue.unfavoriteEmoji(env0_4);
value = importDefault(3857) /* metro dependency 3857: ToastActionCreators */;
value.open({key: 'EMOJI_UNFAVORITED', icon: icon_77146, content: closure});
} else {
moduleValue.favoriteEmoji(env0_4);
value = importDefault(3857) /* metro dependency 3857: ToastActionCreators */;
value.open({key: 'EMOJI_FAVORITED', icon: icon_77147, content: closure});
}
}
}
function _fun77148() { // fn#77148, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:2403, offset: 0x01df3602, size: 97 bytes, params: 1, frame: 15
var value2;
var moduleValue;
if (emoji.id != null) {
value2 = environment.__proto__;
moduleValue = require(6797) /* metro dependency 6797: ClipboardUtilsNative */;
moduleValue.copy(emoji.id);
(require(3856) /* metro dependency 3856: ToastUtils */).presentCopiedToClipboard();
env0_7();
}
}
function _fun77149() { // fn#77149, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:2511, offset: 0x01df3663, size: 87 bytes, params: 1, frame: 15
var value2;
if (env0_6 != null) {
value2 = environment.__proto__;
(require(6797) /* metro dependency 6797: ClipboardUtilsNative */).copy(env0_6);
(require(3856) /* metro dependency 3856: ToastUtils */).presentCopiedToClipboard();
env0_7();
}
}
function _fun77150() { // fn#77150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:2610, offset: 0x01df36ba, size: 63 bytes, params: 1, frame: 17
let value = environment.__proto__;
value = importAll(7151) /* metro dependency 7151: ReactionActionCreators */;
value.removeEmojiReactions(channelId, messageId, emoji);
env0_7();
}
function content() { // fn#77145, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:2000, offset: 0x01df3544, size: 154 bytes, params: 1, frame: 19
const value = environment.__proto__.__proto__;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const binding = env1_5;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
return (
<Text style={{'marginLeft': 8, 'marginTop': 2}} variant="text-md/bold">
{binding ? Reflect.apply(string, intl, [t.in1rga]) : Reflect.apply(string, intl, [t.mE2e8A])}
</Text>
);
}
function icon_77146() { // fn#77146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:2245, offset: 0x01df35de, size: 18 bytes, params: 1, frame: 11
return env1_8(false);
}
function icon_77147() { // fn#77147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10029:2343, offset: 0x01df35f0, size: 18 bytes, params: 1, frame: 11
return env1_8(true);
}
@@ -0,0 +1,194 @@
/* Metro module 9837; source: modules/reactions/native/ReactionUtils.tsx; dependencies: [1379, 4814, 3969, 1878, 661, 1881, 33, 3795, 4081, 4082, 7151, 3802, 4080, 8565, 1962, 4015, 8529, 7152, 4863, 9838, 9846, 9847, 9848, 7950, 7952, 4647, 1244, 4573, 2] */
function _fun77068(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:6, offset: 0x01def736, size: 492 bytes, params: 8, frame: 21
var object3;
const env0_0 = require;
const closure = handleOutOfSuperReactions;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const messageStore = importDefault(4814) /* metro dependency 4814: MessageStore */;
const selectedGuildStore = importDefault(3969) /* metro dependency 3969: SelectedGuildStore */;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const constantsModule = require(661) /* metro dependency 661: Constants */;
const env0_7 = constantsModule.AnalyticEvents;
const env0_8 = constantsModule.AnalyticsPages;
const env0_9 = constantsModule.AnalyticsSections;
const env0_10 = (require(1881) /* metro dependency 1881: EmojiConstants */).EmojiIntention;
const env0_11 = (require(33) /* metro dependency 33 */).jsx;
object3 = {};
const ReactionTypes = (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes;
let NORMAL = ReactionTypes.NORMAL;
object3[NORMAL] = importDefault(9847) /* metro dependency 9847 */;
let BURST = ReactionTypes.BURST;
object3[BURST] = importDefault(9848) /* metro dependency 9848 */;
const object4 = {};
NORMAL = ReactionTypes.NORMAL;
const ReactionIcon = (require(7950) /* metro dependency 7950: ReactionIcon */).ReactionIcon;
object4[NORMAL] = ReactionIcon;
BURST = ReactionTypes.BURST;
const SuperReactionIcon = (require(7952) /* metro dependency 7952: SuperReactionIcon */).SuperReactionIcon;
object4[BURST] = SuperReactionIcon;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/ReactionUtils.tsx');
exports.handleOutOfSuperReactions = closure;
exports.handleAddNewReactions = handleAddNewReactions;
exports.handleViewReactions = handleViewReactions;
exports.handleViewPreviewReactions = handleViewPreviewReactions;
exports.ADD_REACTION_ICONS = object3;
exports.ADD_REACTION_ICON_COMPONENTS = object4;
exports.handleRemoveAllReactions = handleRemoveAllReactions;
}
function handleOutOfSuperReactions(a0) { // fn#77069, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:245, offset: 0x01def922, size: 149 bytes, params: 2, frame: 17
var r0;
var value3;
var moduleValue;
var defaultImport;
var openLazy;
var value;
const currentUser = UserStore.getCurrentUser();
if (currentUser != null) {
value3 = undefined;
moduleValue = require(dependencyMap[11]);
if (moduleValue.isPremium(currentUser)) {
r0 = value3;
} else {
defaultImport = importDefault(dependencyMap[12]);
openLazy = defaultImport.openLazy;
value = require(dependencyMap[14]);
value = value(dependencyMap[13], dependencyMap.paths);
value = Reflect.apply(openLazy, defaultImport, [value, 'SuperReactionUpsellActionSheet', {onDismiss: a0}]);
r0 = value;
}
return r0;
}
}
function handleAddNewReactions(a0, a1) { // fn#77070, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:805, offset: 0x01def9b7, size: 366 bytes, params: 3, frame: 20
var isPremium2;
var moduleValue2;
var value6;
var moduleValue3;
const ReactionTypes = (require(7152) /* metro dependency 7152: MessageReactionsTypes */).ReactionTypes;
let value = a2;
const env0_0 = a0;
const env0_1 = a1;
const value2 = undefined;
const r5 = value !== value2 ? value : (require(7151) /* metro dependency 7151: ReactionActionCreators */).ReactionLocations.MESSAGE;
value = (a3 == null ? value2 : a3.burst) === true;
const currentUser = UserStore.getCurrentUser();
if (currentUser != null) {
isPremium2 = (require(3802) /* metro dependency 3802: PremiumUtils */).isPremium(currentUser);
if (value && !isPremium2) {
handleOutOfSuperReactions();
}
moduleValue2 = require(4015) /* metro dependency 4015: ChatInputUtils */;
value6 = moduleValue2.getBestActiveInputForChannelId(a0.id);
if (value6 != null) {
value6.closeCustomKeyboard();
}
moduleValue3 = require(8529) /* metro dependency 8529: openEmojiPickerActionSheet */;
moduleValue3.openEmojiPickerActionSheet({onPressEmoji: onPressEmoji_77071, channel: a0,
pickerIntention: EmojiIntention.REACTION,
reactionType: value && isPremium2 ? ReactionTypes.BURST : ReactionTypes.NORMAL, analyticsObject: r5,
messageId: a1});
}
return value2;
}
function handleViewReactions(a0) { // fn#77072, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:1531, offset: 0x01defbec, size: 430 bytes, params: 2, frame: 28
var r12;
var message;
const messageId = a0.messageId;
const channelId = a0.channelId;
const location = a0.location;
const value = undefined;
const r13 = location !== value ? location : {};
const isPoll = a0.isPoll;
const emoji = a0.emoji;
const object5 = {'messageId': 0, 'channelId': 0, 'location': 0, 'isPoll': 0, 'emoji': 0};
silentSetPrototypeOf(object5, null, undefined);
const value2 = copyDataProperties({}, a0, object5, undefined);
const channel = ChannelStore.getChannel(channelId);
const r15 = channel == null ? AnalyticsPages.GUILD_CHANNEL : channel.isPrivate() ? AnalyticsPages.DM_CHANNEL : AnalyticsPages.GUILD_CHANNEL;
const r14 = channel == null ? channel == null ? AnalyticsSections.CHANNEL : channel.isForumPost() ? AnalyticsSections.FORUM_CHANNEL_POST : AnalyticsSections.CHANNEL : channel.isForumLikeChannel() ? AnalyticsSections.FORUM_CHANNEL_POST : channel == null ? AnalyticsSections.CHANNEL : channel.isForumPost() ? AnalyticsSections.FORUM_CHANNEL_POST : AnalyticsSections.CHANNEL;
if (isPoll != null) {
r12 = isPoll;
} else {
message = MessageStore.getMessage(channelId, messageId);
r12 = (message == null ? value : message.isPoll()) === true;
}
const defaultImport = importDefault(dependencyMap[18]);
const trackWithMetadata = defaultImport.trackWithMetadata;
const REACTION_ACTION_SHEET_OPENED = AnalyticEvents.REACTION_ACTION_SHEET_OPENED;
const object6 = {};
object6.guild_id = SelectedGuildStore.getGuildId();
object6.channel_id = channelId;
object6.location_message_id = messageId;
object6.location_message_is_poll = r12;
const object7 = {page: r15, section: r14};
copyDataProperties(object7, r13, object5);
object6.location = object7;
Reflect.apply(trackWithMetadata, defaultImport, [REACTION_ACTION_SHEET_OPENED, object6]);
const defaultImport2 = importDefault(dependencyMap[12]);
const openLazy = defaultImport2.openLazy;
const value7 = require(dependencyMap[14])(dependencyMap[19], dependencyMap.paths);
const object8 = {messageId: messageId, channelId: channelId, emoji: emoji};
copyDataProperties(object8, value2, object5);
Reflect.apply(openLazy, defaultImport2, [value7, 'MessageReactions', object8]);
return value;
}
function handleViewPreviewReactions(a0, a1, a2) { // fn#77073, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:2168, offset: 0x01defd9a, size: 104 bytes, params: 4, frame: 16
const defaultImport = importDefault(dependencyMap[12]);
const openLazy = defaultImport.openLazy;
let value = require(dependencyMap[14]);
value = value(dependencyMap[20], dependencyMap.paths);
Reflect.apply(openLazy, defaultImport, [value, 'MessagePreviewReactions', {messageId: a0, channelId: a1,
emoji: a2}]);
}
function handleRemoveAllReactions(a0, a1) { // fn#77074, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:2398, offset: 0x01defe02, size: 314 bytes, params: 3, frame: 23
const env0_0 = a0;
const env0_1 = a1;
const defaultImport = importDefault(4647) /* metro dependency 4647: AlertActionCreators */;
const show = defaultImport.show;
const object2 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const ZbtGBm = (require(1244) /* metro dependency 1244: indexNative */).t.ZbtGBm;
object2.title = Reflect.apply(string, intl, [ZbtGBm]);
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
string = intl.string;
const VpjOCo = (require(1244) /* metro dependency 1244: indexNative */).t.VpjOCo;
object2.children = <Text variant="text-md/normal">{Reflect.apply(string, intl, [VpjOCo])}</Text>;
object2.cancelText = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['ETE/oC']);
object2.confirmText = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.oyYWHE);
object2.onConfirm = onConfirm;
Reflect.apply(show, defaultImport, [object2]);
}
function handleAddNewReactionsOnPressEmoji(a0, a1) { // fn#77071, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:1145, owner: handleAddNewReactions.onPressEmoji, offset: 0x01defb25, size: 199 bytes, params: 3, frame: 24
var value2;
var moduleValue2;
var value;
const id = env0_0.id;
const binding = env0_2;
const object2 = {burst: a1};
if (a0 != null) {
value = environment.__proto__;
value2 = (require(3795) /* metro dependency 3795: ReactionUtils */).toReactionEmoji(a0);
if (!(object2 != null && object2.burst)) {
moduleValue2 = require(4081) /* metro dependency 4081: HapticUtilsNative */;
moduleValue2.triggerHapticFeedback((importDefault(4082) /* metro dependency 4082: HapticFeedbackTypes */).IMPACT_LIGHT);
}
value = require(7151) /* metro dependency 7151: ReactionActionCreators */;
value.addReaction(id, require, value2, binding, object2);
}
}
function handleRemoveAllReactionsOnConfirm() { // fn#77075, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10023:2716, owner: handleRemoveAllReactions.onConfirm, offset: 0x01deff3c, size: 50 bytes, params: 1, frame: 13
let value = environment.__proto__;
value = require(7151) /* metro dependency 7151: ReactionActionCreators */;
return value.removeAllReactions(env0_0, require);
}
@@ -0,0 +1,78 @@
/* Metro module 8542; source: modules/reactions/native/useBurstToggleCoachmark.tsx; dependencies: [57, 31, 27, 1878, 1376, 33, 1365, 4501, 697, 7952, 566, 3802, 7013, 1244, 8543, 2] */
function _fun67718(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8727:6, offset: 0x01c2e460, size: 357 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(57) /* metro dependency 57 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
const env0_5 = (require(27) /* metro dependency 27 */).View;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const env0_7 = (require(1376) /* metro dependency 1376: DismissibleContentConstants */).ContentDismissActionType;
const env0_8 = (require(33) /* metro dependency 33 */).jsx;
const DismissibleContent = (require(1365) /* metro dependency 1365: dismissible_content */).DismissibleContent;
const env0_9 = DismissibleContent.SUPER_REACTION_TOGGLE_EDUCATION_MOBILE;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = createStylesModule.createStyles;
const object = {'backgroundColor': null, 'borderRadius': null, 'height': 40, 'width': 40, 'display': 'flex',
'alignItems': 'center', 'justifyContent': 'center'};
const BACKGROUND_BRAND = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BRAND;
object.backgroundColor = BACKGROUND_BRAND;
object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
const env0_10 = Reflect.apply(createStyles, createStylesModule, [{upsellImageContainer: object}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/useBurstToggleCoachmark.tsx');
exports.default = useBurstToggleCoachmark;
}
function EducationCoachmarkImg() { // fn#67719, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8727:466, offset: 0x01c2e5c5, size: 122 bytes, params: 1, frame: 19
const styles = useStyles();
const SuperReactionIcon = (require(7952) /* metro dependency 7952: SuperReactionIcon */).SuperReactionIcon;
const WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE;
return (
<View style={styles.upsellImageContainer}>
<SuperReactionIcon color={WHITE} size="md" />
</View>
);
}
function useBurstToggleCoachmark(a0) { // fn#67720, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8727:726, offset: 0x01c2e63f, size: 232 bytes, params: 2, frame: 18
const currentUser = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
return UserStore.getCurrentUser();
});
const premiumUtilsModule = require(3802) /* metro dependency 3802: PremiumUtils */;
const value3 = env0_3((require(7013) /* metro dependency 7013: useSelectedDismissibleContent */).useSelectedDismissibleContent(premiumUtilsModule.isPremium(currentUser) ? [SUPER_REACTION_TOGGLE_EDUCATION_MOBILE] : []),
2);
const property = value3[0];
const property2 = value3[1];
const binding = env0_4;
const useMemo = binding.useMemo;
(require(8543) /* metro dependency 8543: useCoachmarkNative */).useCoachmark(a0, Reflect.apply(useMemo, binding,
[_fun67722, [property, property2]]));
return property2;
}
function _fun67722() { // fn#67722, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8727:937, offset: 0x01c2e727, size: 174 bytes, params: 1, frame: 18
const object2 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
object2.description = Reflect.apply(string, intl, [t.nyYohm]);
object2.onDismiss = onDismiss_67723;
object2.position = 'bottom';
object2.renderImgComponent = renderImgComponent;
string = intl.string;
const ORK94p = t.ORK94p;
object2.title = Reflect.apply(string, intl, [ORK94p]);
object2.visible = env0_0 === SUPER_REACTION_TOGGLE_EDUCATION_MOBILE;
return object2;
}
function onDismiss_67723() { // fn#67723, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8727:1005, offset: 0x01c2e7d5, size: 29 bytes, params: 1, frame: 11
const binding = env1_1;
const UNKNOWN = ContentDismissActionType.UNKNOWN;
binding(UNKNOWN);
}
function renderImgComponent() { // fn#67724, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8727:1061, offset: 0x01c2e7f2, size: 23 bytes, params: 1, frame: 13
return <EducationCoachmarkImg />;
}
@@ -0,0 +1,46 @@
/* Metro module 10998; source: modules/reactions/native/useEmojisForReactionRow.tsx; dependencies: [31, 1881, 8533, 1478, 3801, 2] */
function _fun84170(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84170, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11184:6, offset: 0x01f3cfd5, size: 143 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(1881) /* metro dependency 1881: EmojiConstants */).EmojiIntention;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reactions/native/useEmojisForReactionRow.tsx');
exports.useEmojisForReactionRow = useEmojisForReactionRow;
}
function useEmojisForReactionRow(a0, a1, a2) { // fn#84171, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11184:243, offset: 0x01f3d064, size: 194 bytes, params: 4, frame: 18
const env0_0 = a0;
let value = a0.getGuildId();
value = (require(8533) /* metro dependency 8533: EmojiPickerUtils */).useFrequentlyUsedReactionEmojis(value);
const width = (importDefault(1478) /* metro dependency 1478: useWindowDimensionsNative */)().width;
let Math = global.Math;
const value3 = Math.min(width, a1);
Math = global.Math;
const value4 = Math.floor(value3 / a2);
value = env0_3.useMemo(_fun84172, [value, a0, value4]);
return value.slice(0, value4 - 1);
}
function _fun84172() { // fn#84172, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11184:419, offset: 0x01f3d126, size: 66 bytes, params: 1, frame: 13
const value2 = env0_1.filter(_fun84173);
let length = value2.length;
if (length < env0_2) {
while (true) {
value2.push(null);
length = value2.length;
if (!(length < env0_2)) {
break;
}
}
}
return value2;
}
function _fun84173(a0) { // fn#84173, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11184:444, offset: 0x01f3d168, size: 77 bytes, params: 2, frame: 13
const defaultImport = importDefault(3801) /* metro dependency 3801: EmojiUtils */;
const isEmojiFilteredOrLocked = defaultImport.isEmojiFilteredOrLocked;
const REACTION = EmojiIntention.REACTION;
return !Reflect.apply(isEmojiFilteredOrLocked, defaultImport, [{emoji: a0, channel: env1_0, intention: REACTION}]);
}