"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("../../src/modules/ImageWithBenefits/imageWithBenefits.module.css"),s=require("../../components/Typography/Typography.cjs.js"),p=require("../../components/TypeBadge/TypeBadge.cjs.js"),b=require("../ImageWithText/components/ButtonWithColors/ButtonWithColors.cjs.js"),x=({image:o,label:i,title:l,benefits:r,benefitsColor:n,mobileLabelColor:c,mobileTitleColor:d,mobileBenefitsColor:m,mobileImage:g,button:h})=>e.jsx("section",{className:a.root,children:e.jsxs("div",{className:a.container,children:[e.jsxs("div",{className:a.imageContainer,children:[e.jsx("img",{src:o,alt:"background image",className:a.image}),e.jsx("img",{src:g||o,alt:"mobile background image",className:a.mobileImage})]}),e.jsxs("div",{className:a.content,"data-label-color":i.color,"data-mobile-label-color":c,"data-title-color":l.color,"data-mobile-title-color":d,"data-benefits-color":n,"data-mobile-benefits-color":m,children:[e.jsx(s.Typography,{as:"p",defaultVariant:"labelXs",emphasis:!0,className:a.label,children:i.text}),e.jsx(s.Typography,{as:"h2",defaultVariant:"headingXl",mobileVariant:"headingMd",className:a.title,children:l.text}),e.jsx("div",{className:a.benefitContainer,children:r.map(t=>e.jsxs("div",{className:a.benefitItem,children:[e.jsx(p.TypeBadge,{type:t.badge}),e.jsx(s.Typography,{as:"p",defaultVariant:"bodyLg",mobileVariant:"bodyMd",className:a.benefitText,children:t.text})]},t.text))}),e.jsx(b.ButtonWithColors,{...h})]})]})});exports.ImageWithBenefits=x;
