import{composeTypographyClassName as e,cls as s,getGlobalColorClass as r}from"@gem-sdk/core";let customClass=(o,t,p)=>{let{layout:a,typo:l,typographyPaginator:g}=p??{},i=e(l,g);return composeClasses(s(o,"gp-flex gp-items-center gp-justify-center gp-cursor-pointer",t?r("text",t):"",i,"simple"!==a?"gp-border gp-border-solid":""))},getPaginatorWrapperClass=()=>composeClasses("gf_collection-paginator-wrapper gp-inline-flex gp-flex-wrap"),getPaginatorClass=()=>composeClasses("gp_collection-paginator"),composeClasses=e=>e.trim().split(/\s+/).reduce((e,s)=>(e[s]=!0,e),{});export{customClass,getPaginatorClass,getPaginatorWrapperClass};
