import{filterTruthy as o}from"../../../common/helpers.js";import{getInsertLinkData as r}from"../../../../helpers.js";let t=(o,r)=>m({"data-id":o?.uid,id:o?.uid,"data-submit-action":r?.afterSubmitAction}),e=(o,t)=>{let{urlData:e}=r("",t?.callbackURL);return m({hidden:!0,id:`gp-form-callback-${o?.uid}`,href:e?.href,target:e?.target})},i=(o,r)=>"success"===r?m({id:`gp-form-success-${o?.uid}`}):m({id:`gp-form-error-${o?.uid}`}),s=o=>m({id:`my-popover-${o?.uid}`}),m=r=>o(r);export{e as composeAnchorAttrs,m as composeAttribute,t as composeContainerAttrs,i as composeFormAttrs,s as composePopoverAttrs};
