import{j as e}from"./react-B_SyE9nW.js";import{a as i,T as t}from"./index-HT-5AD7E.js";import{B as s,j as o,n,G as x}from"./index-DVx3XUkT.js";import{L as l}from"./Link-BvG5xHxi.js";import{B as p}from"./Stack-DWxbwU3r.js";function r({sx:t}){return e.jsx(s,{sx:{...t,bgcolor:o.red,width:"68px",height:"22px",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center"},children:e.jsx(i,{sx:{fontWeight:500},size:"small",color:"white",text:n("free")})})}function a({Icon:a,title:h,text:u,buttonText:g,linkText:c,gap:d,showFree:f,isBusinessRegister:j}){return e.jsxs(s,{sx:{position:"relative",...x.isMobile?{height:"auto",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"end",mb:"50px",mt:"186px"}:{display:"flex",height:"416px",width:x.isDesktop?"878px":"672px",justifyContent:"start",alignItems:"center"}},children:[!x.isMobile&&e.jsx(a,{sx:{"&.MuiSvgIcon-root":{position:"absolute",width:"auto",height:""+(x.isDesktop?"320px":"240px"),...x.isMobile?{top:"10px"}:{right:""+(x.isDesktop?"23px":"0px")}}}}),f&&e.jsx(r,{sx:{position:"absolute",top:x.isMobile?"80px ":"20px",left:x.isDesktop?"20px":(x.isTablet,"unset"),right:x.isDesktop?"0":x.isTablet?"128px":"10px"}}),e.jsxs(s,{sx:{borderRadius:"16px",bgcolor:o.white,...x.isMobile?{display:"flex",flexDirection:"column",justifyContent:"end",py:3,px:2,alignItems:"center",width:"327px",gap:d}:{height:"416px",width:x.isDesktop?"720px":"558px",pr:x.isDesktop?"200px":"140px",pl:x.isDesktop?6:3,display:"flex",flexDirection:"column",justifyContent:"center",gap:3}},children:[x.isMobile&&e.jsx(s,{sx:{display:"flex",justifyContent:"center",alignItems:"start",height:"74px"},children:e.jsx(a,{sx:{"&.MuiSvgIcon-root":{position:"relative",width:"auto",height:""+(x.isDesktop?"320px":"240px"),...x.isMobile?{top:"-169px"}:{right:""+(x.isDesktop?"-425px":"0px"),top:0}}}})}),e.jsx(t,{align:x.isMobile?"center":"unset",margin:x.isMobile?"0 5px 0 10px":0,lineHeight:1.2,size:"large",text:n(h)}),e.jsx(i,{align:x.isMobile?"center":"unset",lineHeight:1.2,margin:0,size:x.isMobile?"small":"medium",text:n(u)}),e.jsxs(s,{sx:{display:"flex",justifyContent:"start",gap:2},children:[c&&g&&e.jsx(l,{href:n(c),children:e.jsx(p,{variant:"outlined",children:n(g)})}),e.jsx(l,{href:n(j?"route.business.register":"route.login"),children:e.jsx(p,{children:n(g||"joinNow")})})]})]})]})}function h({Icon:a,title:h,text:u,sx:g,buttonText:c,linkText:d,gap:f,left:j,showFree:b,isBusinessRegister:m}){return e.jsxs(s,{sx:{...g,position:"relative",...x.isMobile?{height:"auto",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"end",mb:"50px",mt:"186px"}:{display:"flex",height:"416px",width:x.isDesktop?"878px":"672px",justifyContent:"end",alignItems:"center"}},children:[!x.isMobile&&e.jsx(a,{sx:{"&.MuiSvgIcon-root":{position:"absolute",height:""+(x.isDesktop?"320px":"240px"),width:"auto",...x.isMobile?{top:"0px"}:{left:`${x.isDesktop?j||"6px":"0px"}`}}}}),b&&e.jsx(r,{sx:{position:"absolute",top:x.isMobile?"80px":"20px",right:x.isDesktop?"20px":x.isTablet?"unset":"10px",left:x.isDesktop?"unset":x.isTablet?"128px":"unset"}}),e.jsxs(s,{sx:{bgcolor:o.yellow,borderRadius:"16px",...x.isMobile?{display:"flex",flexDirection:"column",justifyContent:"end",py:3,px:2,alignItems:"center",width:"327px",gap:f}:{height:"416px",width:x.isTablet?"558px":"720px",pl:x.isDesktop?"200px":"140px",pr:x.isDesktop?6:3,display:"flex",flexDirection:"column",justifyContent:"center",gap:3}},children:[x.isMobile&&e.jsx(s,{sx:{display:"flex",justifyContent:"center",alignItems:"start",height:"74px"},children:e.jsx(a,{sx:{"&.MuiSvgIcon-root":{position:"relative",height:""+(x.isDesktop?"320px":"240px"),width:"auto",...x.isMobile?{top:"-169px"}:{left:""+(x.isDesktop?"-425px":"0px"),top:"18px"}}}})}),e.jsx(t,{align:x.isMobile?"center":"unset",margin:x.isMobile?"0 5px 0 10px":0,lineHeight:1.2,size:"large",text:n(h)}),e.jsx(i,{align:x.isMobile?"center":"unset",lineHeight:1.2,margin:0,size:x.isMobile?"small":"medium",text:n(u)}),e.jsxs(s,{sx:{display:"flex",justifyContent:"start",gap:2},children:[d&&c&&e.jsx(l,{href:n(d),children:e.jsx(p,{variant:"outlined",children:n(c)})}),e.jsx(l,{href:n(m?"route.business.register":"route.login"),children:e.jsx(p,{children:n(c||"startNow")})})]})]})]})}export{a as E,h as O};