import{Body as e,Button as t,Container as n,Head as r,Heading as i,Html as a,Img as o,Preview as s,Section as c,Tailwind as l,Text as u}from"@react-email/components";import{jsx as d,jsxs as f}from"react/jsx-runtime";const p=({username:p,planName:m,organizationName:h,errorDate:g,retryPaymentLink:_})=>{let v=`There was an issue with your ${m} subscription payment`;return f(a,{children:[d(r,{}),d(s,{children:v}),d(l,{children:d(e,{className:`m-auto px-2 font-sans`,children:f(n,{className:`mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]`,children:[d(c,{className:`mt-[32px]`,children:d(o,{src:`https://intlayer.org/apple-touch-icon.png`,width:`40`,height:`37`,alt:`Intlayer`,className:`mx-auto my-0`})}),d(i,{className:`mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black`,children:`Payment Issue Detected`}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Hello `,p,`,`]}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`We encountered an issue processing your payment for the`,` `,d(`strong`,{children:m}),` plan on `,d(`strong`,{children:g}),`. Please update your payment information to ensure continued access to your subscription.`]}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Organization: `,d(`strong`,{children:h})]}),d(c,{className:`my-[32px] text-center`,children:d(t,{className:`rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline`,href:_,children:`Retry Payment`})})]})})})]})},m=({username:p,planName:m,organizationName:h,errorDate:g,retryPaymentLink:_})=>{let v=`Un problème est survenu avec votre paiement pour l'abonnement ${m}`;return f(a,{children:[d(r,{}),d(s,{children:v}),d(l,{children:d(e,{className:`m-auto px-2 font-sans`,children:f(n,{className:`mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]`,children:[d(c,{className:`mt-[32px]`,children:d(o,{src:`https://intlayer.org/apple-touch-icon.png`,width:`40`,height:`37`,alt:`Intlayer`,className:`mx-auto my-0`})}),d(i,{className:`mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black`,children:`Problème de Paiement`}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Bonjour `,p,`,`]}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Nous avons rencontré un problème lors du traitement de votre paiement pour le plan `,d(`strong`,{children:m}),` le`,` `,d(`strong`,{children:g}),`. Veuillez mettre à jour vos informations de paiement pour garantir un accès continu à votre abonnement.`]}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Organisation : `,d(`strong`,{children:h})]}),d(c,{className:`my-[32px] text-center`,children:d(t,{className:`rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline`,href:_,children:`Réessayer le Paiement`})})]})})})]})},h=({username:p,planName:m,organizationName:h,errorDate:g,retryPaymentLink:_})=>{let v=`Hubo un problema con el pago de tu suscripción ${m}`;return f(a,{children:[d(r,{}),d(s,{children:v}),d(l,{children:d(e,{className:`m-auto px-2 font-sans`,children:f(n,{className:`mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]`,children:[d(c,{className:`mt-[32px]`,children:d(o,{src:`https://intlayer.org/apple-touch-icon.png`,width:`40`,height:`37`,alt:`Intlayer`,className:`mx-auto my-0`})}),d(i,{className:`mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black`,children:`Problema de Pago`}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Hola `,p,`,`]}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Hubo un problema al procesar tu pago para el plan`,` `,d(`strong`,{children:m}),` el `,d(`strong`,{children:g}),`. Por favor, actualiza tu información de pago para garantizar el acceso continuo a tu suscripción.`]}),f(u,{className:`text-[14px] text-black leading-[24px]`,children:[`Organización : `,d(`strong`,{children:h})]}),d(c,{className:`my-[32px] text-center`,children:d(t,{className:`rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline`,href:_,children:`Reintentar el Pago`})})]})})})]})},g={username:`John Doe`,email:`john.doe@example.com`,planName:`Pro Plan`,organizationName:`My Organization`,errorDate:`November 18, 2024`,retryPaymentLink:`https://intlayer.org/retry-payment`};p.PreviewProps=g,m.PreviewProps=g,h.PreviewProps=g;export{p as SubscriptionPaymentErrorEN,h as SubscriptionPaymentErrorES,m as SubscriptionPaymentErrorFR};
//# sourceMappingURL=SubscriptionPaymentError.mjs.map