import{getDynamicSourceLocales as t,createSettingId as e}from"../../../../helpers.js";import{FileUpload as r}from"../settings/configs/translate.js";let i=t=>t?.includes("$max_size")?t?.replace("$max_size","20MB"):t,n=(n,o)=>{let{setting:s,styles:a,uid:l,pageContext:p}=o;return"Liquid"===n?t({val:s?.textContent,uid:l,settingId:e({id:r?.textContent?.id}),pageContext:p??{},isCapitalize:a?.typo?.attrs?.transform==="capitalize"}):i(s?.textContent)},o=(t,e)=>{if(!1===e){let e={};return Object.keys(t).forEach(r=>{r.includes("--hvr")||r.includes("--text-hover-color")||(e[r]=t[r])}),e}return t};export{n as getDisplayText,i as getTextDropContent,o as removeHoverStyles};
