let t=t=>{let{label:e,iconSvg:l,iconAlign:n,iconVisible:i,shouldClearSpace:o,enableHoverEffect:r}=t??{};return{label:e,iconSvg:l,iconAlign:n,iconVisible:i,shouldClearSpace:o,htmlType:"submit",enableHoverEffect:r}},e=(t,e)=>{let{redirectNewTab:l}=t??{},n=e?.hasCollectionHandle?"{% if collection %}{{ collection.url }}/products/{{ product.handle }}{% else %}{{ product.url }}{% endif %}":"{{ product.url }}";return{btnLink:{link:n,target:l?"_blank":"_self"},enableBtnLink:!0}};export{e as getButtonLiquidSettings,t as getButtonSettings};
