"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/extends"),t=require("@babel/runtime/helpers/objectWithoutProperties"),r=require("react"),i=require("@evo/emoji-text"),u=require("@prom-ui/core/Text");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=o(e),l=o(t),f=n(r),c=["children","size","type"],d={small:11,default:13,big:15,h1:24,h2:22,h3:20,h4:18,h5:16,h6:14},p=f.forwardRef((function(e,t){var r=e.children,o=e.size,n=void 0===o?d.default:o,p=e.type,s=void 0===p?"apple":p,b=l.default(e,c);return f.createElement(u.Text,a.default({ref:t},b),f.createElement(i.EmojiText,{size:d[b["text-size"]]||n,type:s},r))}));p.displayName="TextEmoji",exports.TextEmoji=p;
