"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),system=require("@gem-sdk/system"),styles=require("../common/styles.js");const TextInline=({styles:e,setting:s,className:t,elementAttrs:r,...l})=>{let{text:o}=s??{},c=system.createClass({...core.composeClasses(core.cls(t,core.composeTypographyClassName(e?.typo)))}),n=()=>{let s=system.createStyle({...styles.getTextStyleInline(e)}),t=Object.entries(s).map(([e,s])=>`${e}:${s}`).join(";");return t};return`
    <span
      [object Object]
      class="${c}"
      style="${n()}"
      element-attrs='${r?.debugText}'
    >
      ${o}
    </span>
  `};exports.default=TextInline;
