"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../../src/modules/CursorImageBlock/cursorImageBlock.module.css"),m=require("../../components/Cursor/Cursor.cjs.js"),s=require("../../components/Typography/Typography.cjs.js"),h=({title:i,description:r,cursorLabel:t,link:l,image:o})=>{const n=()=>{window.location.href=l},c=d=>{d.stopPropagation()};return a.jsxs("div",{className:e.root,children:[a.jsx("div",{className:e.desktopLayout,children:a.jsx(m.Cursor,{label:t,colorScheme:"dark",children:a.jsxs("div",{className:e.desktopLink,onClick:n,children:[a.jsx("img",{src:o,alt:"",className:e.image}),a.jsxs("div",{className:e.textContent,children:[a.jsx("a",{href:l,className:e.titleLink,onClick:c,children:a.jsx(s.Typography,{defaultVariant:"displayLg",className:e.title,children:i})}),r&&a.jsx(s.Typography,{defaultVariant:"headingSm",className:e.description,children:r})]})]})})}),a.jsxs("div",{className:e.mobileLayout,children:[a.jsx("img",{src:o,alt:"",className:e.image}),a.jsxs("div",{className:e.textContent,children:[a.jsx(s.Typography,{defaultVariant:"displayLg",mobileVariant:"headingXl",className:e.title,children:i}),r&&a.jsx(s.Typography,{defaultVariant:"headingSm",mobileVariant:"headingXs",className:e.description,children:r})]}),a.jsx("a",{href:l,className:e.mobileButton,children:a.jsx("div",{className:e.cursorVisual,children:a.jsx("div",{className:e.cursorVisualText,children:a.jsx(s.Typography,{defaultVariant:"labelLg",mobileVariant:"labelLg",emphasis:!0,children:t})})})})]})]})};exports.CursorImageBlock=h;
