"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../src/modules/StillHaveQuestions/stillHaveQuestions.module.css"),n=require("./constants.cjs.js"),r=require("../../components/Typography/Typography.cjs.js"),m=require("../../components/Button/Button.cjs.js"),y=({variant:o,image:l,title:i,titleHighlight:c,description:d,button:p,buttonColor:u,colorScheme:h})=>{var a;const t=o?n.LEGACY_CONFIG[o]:i?{image:l||"https://methodical-vitality-96814f361f.media.strapiapp.com/still_Have_Questions_e6cfc3cba3.jpg",title:i,titleHighlight:c||"dark",description:d,button:p,buttonColor:u||"secondary",colorScheme:h||"dark"}:n.LEGACY_CONFIG.StillHaveQuestions;return e.jsx("section",{className:s.root,"data-color-scheme":t.colorScheme,children:e.jsx("div",{className:s.imageWrapper,style:{backgroundImage:`url(${t.image})`},children:e.jsxs("div",{className:s.contentBox,children:[e.jsx("div",{className:s.title,"data-color-scheme":t.titleHighlight,children:e.jsx(r.Typography,{as:"p",defaultVariant:"displayMd",mobileVariant:"displayXs",children:t.title})}),t.description&&e.jsx(r.Typography,{className:s.description,as:"p",defaultVariant:"bodyLg",mobileVariant:"bodyMd",children:t.description}),((a=t.button)==null?void 0:a.link)&&e.jsx("div",{className:s.button,children:e.jsx(m.Button,{as:"a",href:t.button.link,variant:t.buttonColor||"secondary",size:"lg",children:t.button.text||"Contact Us"})})]})})})};exports.StillHaveQuestions=y;
