'use client';
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{composeContainerStyles as r,composeTextareaStyles as m}from"./common/styles.js";import{createStyle as o,createClass as a}from"@gem-sdk/system";import{composeContainerClasses as s,composeTextareaClasses as l}from"./common/classes.js";let FormTextArea=({setting:i,builderProps:c,className:d,builderAttrs:n,advanced:p,children:u,styles:f})=>{let{text:x,name:y,placeholder:j,required:v}=i??{},h=""===y||void 0===y?"contact[note]":y,A=o(r(p,i)),F=o(m(p,i,f)),N=a(s(p,c)),T=a(l(i,c,d??""));return e("div",{...n,"data-id":c?.uid,className:N,style:A,children:[t("textarea",{className:T,placeholder:j,style:F,required:v,name:h,value:x}),u]})};export{FormTextArea as default};
