"use strict";var e=require("@gem-sdk/core");exports.useDotsSetting=t=>{let{loop:r,enabledSneakPeak:s,slideItemsPerPage:c=1,currentSlide:i=1,totalSlideItem:u,slideDuplicated:n}=t,o=e.useCurrentDevice(),v=e.getResponsiveValueByScreen(r,o,!1);return{isLoop:v,checkIsActive:e=>s||v?e===i||e===(n&&u?i-u/2:i):e===Math.ceil(i/c)}};
