// Metro module 9344 (f9345). import EmojiStore from "../../emojis/EmojiStore"; import { EmojiIntention } from "../../emojis/EmojiConstants"; import { useStateFromStoresObject } from "../../../_bundle/defaultAreStatesEqual"; let c6154_4 = []; export default function useTopAndNewlyAddedEmojis(a0, a1) { return useStateFromStoresObject([EmojiStore], () => { if (EmojiStore !== void 0) { return { topEmojis: a1 !== EmojiIntention.REACTION ? EmojiStore.getTopEmoji(a0) : c6154_4, newlyAddedEmojis: a1 !== EmojiIntention.REACTION ? EmojiStore.getNewlyAddedEmoji(a0) : c6154_4 }; } }, [a0, a1]); }; export function getTopAndNewlyAddedEmojis({ emojiStoreInstance = EmojiStore, guildId, pickerIntention }) { return { topEmojis: pickerIntention !== EmojiIntention.REACTION ? emojiStoreInstance.getTopEmoji(guildId) : c6154_4, newlyAddedEmojis: pickerIntention !== EmojiIntention.REACTION ? emojiStoreInstance.getNewlyAddedEmoji(guildId) : c6154_4 }; }