'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),styles=require("./common/styles.js"),system=require("@gem-sdk/system"),classes=require("./common/classes.js");const FormTextArea=({setting:e,builderProps:s,className:t,builderAttrs:a,advanced:r,children:l,styles:o})=>{let{text:c,name:m,placeholder:i,required:y}=e??{},n=""===m||void 0===m?"contact[note]":m,u=system.createStyle(styles.composeContainerStyles(r,e)),x=system.createStyle(styles.composeTextareaStyles(r,e,o)),d=system.createClass(classes.composeContainerClasses(r,s)),j=system.createClass(classes.composeTextareaClasses(e,s,t??""));return jsxRuntime.jsxs("div",{...a,"data-id":s?.uid,className:d,style:u,children:[jsxRuntime.jsx("textarea",{className:j,placeholder:i,style:x,required:y,name:n,value:c}),l]})};exports.default=FormTextArea;
