'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../text/components/Text.js"),s=require("@gem-sdk/system"),r=require("../common/classes.js"),l=require("../common/styles.js"),a=require("@gem-sdk/core");exports.default=({setting:i={},styles:c={},style:u,builderAttrs:o,builderProps:x,children:y})=>{let{width:d,align:m}=c,{message:n}=i,j=s.createClass({...r.getCalloutTextWrapperClasses({align:m,builderProps:x})}),p=s.createStyle({...a.makeStyleResponsiveWidth(d)}),g={...l.getTextStyles(c)},q=s.createStyle(l.getCalloutTextStyle(u)),v=s.createAttr({...o});return e.jsxs("div",{...v,className:j,style:q,children:[e.jsx("div",{style:p,children:e.jsx(t.default,{setting:{text:n},styles:g})}),y]})};
