import{getContents as e}from"./helpers.js";let getWrapperLiquidAttrs=(t,r,a)=>{let{invalidNumberMessageDisplay:s,invalidEmailMessageDisplay:i,requiredMessageDisplay:d,invalidLengthMessageDisplay:p}=e(t,r,a);return{"data-id":t??"","data-invalid":!1,"data-gp-setting":JSON.stringify(a).replaceAll('"',"&#34;"),"data-translate-setting":JSON.stringify({requiredMessage:d,invalidEmailMessage:i,invalidLengthMessage:p,invalidNumberMessage:s}).replaceAll('"',"&#34;")}},getWrapperTSXAttrs=(e,t)=>({"data-product-id":t??"","data-id":e??""}),getWrapperErrorMessageAttrs=()=>({"data-slot-type":"message","data-hidden":"true"});export{getWrapperErrorMessageAttrs,getWrapperLiquidAttrs,getWrapperTSXAttrs};
