1import{c as d,aP as c,j as e,bM as o}from"./index-DmuA0bGG.js";import{H as m}from"./index-hQsUvcMs.js";import{F as n}from"./ArrowRightEndOnRectangleIcon-CA6CcHQs.js";import{F as x}from"./CheckIcon-DGNCGPKK.js";import"./icon-min-DdAHcYcJ.js";import"./useQuery-PBEgifbJ.js";import"./ShoppingCartIcon-GvAcQjAv.js";const g=()=>{const{t}=d(),a=c(),i=a.pathname.endsWith("/payment")||a.pathname.includes(".payment"),l=[{id:1,name:t("generals.account-registration"),isCompleted:i,isActive:!i},{id:2,name:t("generals.secure-payment"),isCompleted:!1,isActive:i}];return e.jsxs("div",{className:"dark:bg-dark-950 min-h-screen bg-[#101a34]",children:[e.jsx(m,{action:{to:"/login",label:t("Acceder"),icon:e.jsx(n,{className:"size-4 shrink-0"})}}),e.jsxs("div",{className:"mx-auto w-full max-w-5xl px-4 py-6 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"mb-5",children:[e.jsxs("h1",{className:"text-2xl font-black uppercase text-white",children:[t("payment.checkout-title-1")," ",e.jsx("span",{className:"text-[#e30613]",children:t("payment.checkout-title-brand")})]}),e.jsx("p",{className:"mt-2 text-sm text-white/60",children:t("payment.checkout-subtitle")}),e.jsx("div",{className:"mt-3 h-1 w-12 rounded-full bg-gradient-to-r from-[#e30613] to-yellow-400"})]}),e.jsx("div",{className:"mb-4 rounded-2xl border border-white/10 bg-white/5 p-4 shadow-lg backdrop-blur",children:e.jsx("ol",{className:"flex items-center",children:l.map((s,r)=>e.jsxs("li",{className:"flex flex-1 items-center",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:`flex h-9 w-9 items-center justify-center rounded-full border-2 text-sm font-bold transition-all ${s.isCompleted?"border-[#e30613] bg-[#e30613] text-white":s.isActive?"border-[#e30613] bg-white text-[#e30613]":"border-white/20 bg-white/5 text-white/40"}`,children:s.isCompleted?e.jsx(x,{className:"h-4 w-4"}):s.id}),e.jsxs("div",{className:"ml-3",children:[e.jsxs("div",{className:`text-[11px] font-bold tracking-wider uppercase ${s.isCompleted||s.isActive?"text-[#e30613]":"text-white/40"}`,children:[t("generals.step")," ",s.id]}),e.jsx("div",{className:`text-sm font-semibold ${s.isActive?"text-white":"text-white/50"}`,children:s.name})]})]}),r<l.length-1&&e.jsx("div",{className:`mx-4 h-0.5 flex-1 ${s.isCompleted?"bg-[#e30613]":"bg-white/10"}`})]},s.id))})}),e.jsxs("div",{className:"overflow-hidden rounded-2xl border border-white/10 bg-white/5 shadow-lg backdrop-blur",children:[e.jsx("div",{className:"h-1 bg-gradient-to-r from-[#e30613] via-red-500 to-[#e30613]"}),e.jsx("div",{className:"p-5 sm:p-6",children:e.jsx(o,{})})]})]})]})};export{g as MembershipCheckout,g as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.