function getMaxStockQuantity(l,t){return(null==l?void 0:l.purchase_limit)?null==l?void 0:l.purchase_limit:(null==l?void 0:l.stock_enabled)&&!(null==l?void 0:l.allow_out_of_stock_purchases)?t?null==t?void 0:t.available_stock:null==l?void 0:l.available_stock:null}export{getMaxStockQuantity as g};