"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),i=require("classnames"),t=require("react"),s=require("./Text.scss.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(i),l={36:s.size_36,32:s.size_32,24:s.size_24,20:s.size_20,18:s.size_18,16:s.size_16,14:s.size_14,12:s.size_12},c={bold:s.bold,medium:s.medium,regular:s.regular},d={T1:s.color_t1,T6:s.color_t6,T7:s.color_t7,T8:s.color_t8,T9:s.color_t9},u=t.forwardRef((function(i,t){var o=i.children,u=i.size,_=void 0===u?16:u,n=i.weight,m=void 0===n?"regular":n,f=i.color,z=void 0===f?"T1":f,v=i.italic,g=void 0!==v&&v,T=i.tagName,b=void 0===T?"span":T,j=i.className,x=i.testId,h=e.__rest(i,["children","size","weight","color","italic","tagName","className","testId"]);return r.jsx(b,e.__assign({ref:t,className:a.default(s.root,l[_],c[m],d[z],g&&s.italic,j),"data-testid":x},h,{children:o}))}));exports.Text=u;
