"use strict";var helpers=require("../../../../helpers.js");const getTextDropContent=e=>e?.includes("$max_size")?e?.replace("$max_size","20MB"):e,getDisplayText=(e,t)=>{let{setting:r,styles:o,uid:s,pageContext:n}=t;return"Liquid"===e?helpers.getDynamicSourceLocales({val:r?.textContent,uid:s,settingId:"textContent",pageContext:n,isCapitalize:o?.typo?.attrs?.transform==="capitalize",translate:r?.translate}):getTextDropContent(r?.textContent)},removeHoverStyles=(e,t)=>{if(!1===t){let t={};return Object.keys(e).forEach(r=>{r.includes("--hvr")||r.includes("--text-hover-color")||(t[r]=e[r])}),t}return e};exports.getDisplayText=getDisplayText,exports.getTextDropContent=getTextDropContent,exports.removeHoverStyles=removeHoverStyles;
