"use strict";var e=require("@gem-sdk/core");function t(e){return e.split(" ").reduce((e,t)=>(e[t]=!0,e),{})}exports.getContentClasses=({isLiquid:e,autoHideWhenTimeout:s})=>{let r="gp-flex gp-flex-wrap gp-w-max gp-relative ";return e&&s&&(r+=" !gp-hidden"),{...t(r)}},exports.getDateClasses=e=>{let s="gp-flex-1 gp-text-center gp-min-w-max !gp-max-w-max";return e||(s+=" gp-content-center"),{...t(s)}},exports.getLinkClasses=()=>({...t("gp-absolute gp-inset-0 gp-z-1 gp-pointer-events-none")}),exports.getTextBackClasses=(s,r)=>{let p="",{colorLabel:g}=s||{};return e.getGlobalColorClass("text",g)&&(p+=` ${e.getGlobalColorClass("text",g)}`),r||(p+=" gp-hidden"),{...t(p)}},exports.getTextExpireClasses=()=>({...t("gp-flex gp-h-12 gp-items-center gp-justify-center gp-bg-[#d6d6d6] gp-opacity-70")}),exports.getTextFrontClasses=s=>{let r="gp-countdown-number",{colorNumber:p}=s||{};return e.getGlobalColorClass("text",p)&&(r+=` ${e.getGlobalColorClass("text",p)}`),{...t(r)}},exports.getWrapperClasses=e=>{let s="gp-flex";return e&&(s+=` ${e}`),{...t(s)}};
