import{useMemo as t}from"react";let e=({isInStock:e,props:r,isRequireSubscriptionConsent:c})=>{let i=t(()=>e?c?r?.setting?.requireAcceptTermLabel??"Accept terms to purchase":r?.setting?.text:r?.setting?.outOfStockLabel,[e,c,r?.setting?.text,r?.setting?.outOfStockLabel,r?.setting?.requireAcceptTermLabel]);return{text:i}};export{e as useGetTextSetting};
