import{filterTruthy as e}from"../../../common/helpers.js";import{composeTypographyClassName as s,genSizeClass as o}from"@gem-sdk/core";let composeClasses=s=>e(s),composeContainerClasses=({setting:e,advanced:s,builderProps:o,type:t})=>{let{hideOnClient:l}=e??{};return composeClasses({[o?.uid]:!!o?.uid,"!gp-hidden":l&&"liquid"===t,[s?.cssClass]:!!s?.cssClass,"flex flex-col":!0})},composeInnerClasses=(e,t)=>{let{typography:l,size:p,hideOnClient:m}=e??{},{uid:n}=t??{},r=s(e?.typo,l);return composeClasses({"gp-form-item":!0,[r]:!!r,[o(p?.type)]:!!p?.type,"!gp-outline-none !gp-bg-none":!0,"gp-opacity-50":m,[`email-form-${n}`]:!0})},getClassTitle=()=>({"gp-text-16":!0,"gp-text-[#121212]":!0});export{composeContainerClasses,composeInnerClasses,getClassTitle};
