import{a as i,b as r,c}from"/build/_shared/chunk-BQWU2MNQ.js";import{a as m,v as t}from"/build/_shared/chunk-OQBK2LQE.js";import{c as n}from"/build/_shared/chunk-Q3IECNXJ.js";var d=n(m());var e=n(t());function u({isPro:s,showButton:l,modifyCallback:a}){let{_:o}=(0,d.useContext)(i);return s?l?(0,e.jsx)(e.Fragment,{}):(0,e.jsx)(r,{className:"recommend no-hover m-b-xl",style:{width:"100%"},to:"/profile?source=index",children:(0,e.jsxs)("div",{className:"row-column-responsive full",style:{display:"flex",justifyContent:"space-between",gap:"16px"},children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"label3 sec",style:{display:"block"},children:o`Current plan: `}),(0,e.jsx)("div",{className:"h5 accent",style:{display:"block"},children:o`Songs Like X Pro`})]}),a&&(0,e.jsx)("div",{children:(0,e.jsx)("button",{className:"button sec",onClick:a,children:o`Change payment method`})})]})}):(0,e.jsx)(c,{className:"recommend no-hover m-b-xl",style:{width:"100%",flexDirection:"column",gap:"16px"},href:l?"/plans":"/plans/#plans",children:(0,e.jsxs)("div",{className:"row-column-responsive ",style:{display:"flex"},children:[(0,e.jsx)("img",{src:"/assets/offer.webp",alt:"offer",width:"240px",height:"160px",style:{alignSelf:"center"}}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column"},className:"left-items center-mobile",children:[(0,e.jsx)("div",{className:"label3 accent-inverse",style:{display:"block",padding:"2px 8px",borderRadius:"4px",marginBottom:"16px"},children:o`Exclusive Offer`}),(0,e.jsx)("div",{className:"h5",children:o`Join our visionary community of early supporters and secure your Songs Like X Pro subscription now for only $3 per month.`}),!l&&(0,e.jsx)("div",{className:"sec small ",children:o`Embark on a lifelong musical adventure with unrivaled features that shape the future of music discovery. Don't miss out—unlock your musical journey today!`}),l&&!s&&(0,e.jsx)("button",{type:"button",className:" full-mobile sec label3 accent",style:{alignSelf:"left",marginTop:"20px",border:0,background:"none"},children:o`Learn More`})]})]})})}export{u as a};
