"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.parseEmoji = void 0;
// @ts-nocheck

const parseEmoji = emoji => {
  var _emoji$name;
  return {
    name: emoji.name,
    emoji: emoji.emoji,
    unicode_version: emoji.v,
    slug: emoji === null || emoji === void 0 ? void 0 : (_emoji$name = emoji.name) === null || _emoji$name === void 0 ? void 0 : _emoji$name.replace(/ /g, '_'),
    toneEnabled: emoji.toneEnabled
  };
};
exports.parseEmoji = parseEmoji;
//# sourceMappingURL=parseEmoji.js.map