"use strict";var React=require("react");const useSlideCarousel=e=>{let{layoutType:t,ilNumberPerRow:r}=e,s=React.useMemo(()=>{let e=5;switch(t){case"bottom-center":e=r||5;break;case"two-col":e=2;break;case"one-col":e=1;break;default:e=5}return e},[r,t]);return{itemSlideGrid:s,itemSlideList:1}};exports.useSlideCarousel=useSlideCarousel;
