'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 s}from"@gem-sdk/system";import{composeContainerClasses as a,composeTextareaClasses as l}from"./common/classes.js";let i=({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=o(r(p,i)),N=o(m(p,i,f)),g=s(a(p,c)),k=s(l(i,c,d??""));return e("div",{...n,"data-id":c?.uid,className:g,style:h,children:[t("textarea",{className:k,placeholder:j,style:N,required:v,name:""===y||void 0===y?"contact[note]":y,value:x}),u]})};export{i as default};
