"use strict";var e=require("@gem-sdk/core");const t=e=>e.trim().split(/\s+/).reduce((e,t)=>(e[t]=!0,e),{});exports.getClassButtonViewMore=({setting:r})=>{let s=e.composeTypographyClassName(r?.typo,r?.typography);return t(e.cls("p-description-show-more","gp-mt-4 hover:gp-opacity-80 gp-transition-all gp-w-full gp-items-center",s,e.getGlobalColorClass("text",r?.showMoreColor)))},exports.getClassContainerCollectionDes=({setting:r})=>{let s=e.composeTypographyClassName(r?.typo,r?.typography);return t(e.cls("gp-relative p-description-wrapper gp-p-description-text gp-break-words safari:[&_p]:gp-inline safari:[&_p]:after:gp-whitespace-pre",s,e.getGlobalColorClass("text",r?.color),"data-[browser=safari]:after:gp-content-[' '] data-[browser=safari]:after:gp-absolute data-[browser=safari]:after:gp-left-0 data-[browser=safari]:after:gp-right-0 data-[browser=safari]:after:gp-bottom-0 data-[browser=safari]:after:gp-w-full data-[browser=safari]:after:gp-h-1/2 data-[browser=safari]:after:gp-bg-gradient-to-t data-[browser=safari]:after:gp-from-white"))},exports.getClassEmptyCollectionDes=()=>t(e.cls("gp-p-2 gp-text-center gp-text-sm gp-font-semibold gp-text-gray-500 gp-py-2 !gp-text-center")),exports.getClassPreBuilt=()=>t(e.cls("gp-rotate-180 gp-hidden")),exports.getDescriptionClasses=({advanced:r})=>t(e.cls("gp-collection-description",r?.cssClass)),exports.getShowMoreIconClasses=()=>t(e.cls("gp-show-more-icon gp-ml-1 gp-flex gp-items-center")),exports.getShowMoreTextClasses=()=>t(e.cls("gp-show-more-text"));
