{"version":3,"file":"emojiRegex.mjs","names":[],"sources":["../../../../src/components/Message/emojiRegex.ts"],"sourcesContent":["import emojiRegex from 'emoji-regex';\n\n/**\n * Shared emoji regex, built once because `emojiRegex()` compiles a large source on every call. It\n * has the `g` flag and so a mutable `lastIndex`: use it only with consumers that reset it before\n * scanning (`String#match`, `String#replace`, `hast-util-find-and-replace`), never in stateful\n * `.test()` or `.exec()` loops.\n */\nexport const EMOJI_REGEX = emojiRegex();\n"],"mappings":";;;;;;;;AAQA,IAAa,cAAc,WAAW"}