1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-geo-CiUUcGs-.js","assets/vendor-react-DXfu0YkJ.js"])))=>i.map(i=>d[i]); 2import{_ as C}from"./vendor-pdf-v-sEuCgt.js";import{j as e,H as xe}from"./index-A5apO8sf.js";import{r as s,R as ue,L as V}from"./vendor-react-DXfu0YkJ.js";import{P as me}from"./PhoneInput-C3fIbpmz.js";import{W as he}from"./WorkspaceHeader-ltcEY-ok.js";import{h as I,S as be,f as fe,k as S,C as L,a4 as ge,aW as je,e as Ne,aa as F,af as we}from"./vendor-icons-DAn0tkMA.js";import"./vendor-ui--7kLNIgQ.js";import"./vendor-charts-odGm-fv0.js";import"./vendor-supabase-BVvKO2AB.js";const u=[{id:1,title:"Select Pass"},{id:2,title:"Personal Details"},{id:3,title:"Location Prefs"},{id:4,title:"Identity Verify"},{id:5,title:"Checkout Review"}],P=[{id:"daily",name:"Daily Access Pass",price:"PKR 1,200",period:"per day",tag:"Flexible",description:"Ideal for quick study sessions, remote workdays, or short-term travel.",features:["Access to open coworking desks","High-speed Wi-Fi & Power backup","Free coffee & tea access","Valid for 24 hours from activation"],color:"from-emerald-500 to-teal-600"},{id:"weekly",name:"Weekly Access Pass",price:"PKR 5,000",period:"per week",tag:"Most Popular",description:"Best for continuous project weeks, exams preparation, or short bootcamps.",features:["Access to open coworking desks","High-speed Wi-Fi & Power backup","Free coffee & tea access","2 hours of meeting room credits","Access during standard office hours"],color:"from-brand-purple to-purple-800",popular:!0},{id:"monthly",name:"Elite Coach Monthly Pass",price:"PKR 18,000",period:"per month",tag:"Premium Experience",description:"Tailored for senior trainers, coaches, and professionals delivering regular courses.",features:["Priority coworking desks / executive lounge","High-speed Wi-Fi & Power backup","Free coffee & tea access","10 hours of boardroom usage included","Mail handling & print credits","24/7 keycard access to verified nodes"],color:"from-amber-500 to-orange-600"}],We=({session:m})=>{var M;const[r,h]=s.useState(1),[T,D]=s.useState(!1),[E,U]=s.useState("weekly"),[c,H]=s.useState(""),[b,O]=s.useState(((M=m==null?void 0:m.user)==null?void 0:M.email)||""),[R,Y]=s.useState(""),[f,B]=s.useState("Student"),[d,q]=s.useState("US"),[W,g]=s.useState("NY"),[j,n]=s.useState("New York"),[G,$]=s.useState("20-30 hours"),[K,z]=s.useState([]),[N,_]=s.useState([]),[w,p]=s.useState([]);ue.useEffect(()=>{C(async()=>{const{Country:t,State:a,City:l}=await import("./vendor-geo-CiUUcGs-.js");return{Country:t,State:a,City:l}},__vite__mapDeps([0,1])).then(({Country:t,State:a,City:l})=>{z(t.getAllCountries()),_(a.getStatesOfCountry("US")),p(l.getCitiesOfState("US","NY"))})},[]);const J=async t=>{const{State:a,City:l}=await C(async()=>{const{State:x,City:o}=await import("./vendor-geo-CiUUcGs-.js");return{State:x,City:o}},__vite__mapDeps([0,1])),i=a.getStatesOfCountry(t);if(_(i),p([]),q(t),g(""),n(""),i[0]){const x=i[0].isoCode;g(x);const o=l.getCitiesOfState(t,x);p(o),o[0]&&n(o[0].name)}},Q=async t=>{const{City:a}=await C(async()=>{const{City:i}=await import("./vendor-geo-CiUUcGs-.js");return{City:i}},__vite__mapDeps([0,1])),l=a.getCitiesOfState(d,t);p(l),g(t),l[0]?n(l[0].name):n("")},[v,X]=s.useState(null),[A,Z]=s.useState(null),[ee,te]=s.useState(""),[k,se]=s.useState("card"),[ae,re]=s.useState(""),[le,ie]=s.useState(""),[ne,oe]=s.useState(""),ce=()=>{if(r===2&&(!c||!b||!R)){alert("Please fill out all personal details.");return}r<u.length&&h(t=>t+1)},de=()=>{r>1&&h(t=>t-1)},pe=t=>{t.preventDefault(),D(!0)},y=P.find(t=>t.id===E)||P[1];return e.jsxs("div",{className:"min-h-screen bg-slate-50 relative overflow-hidden",children:[e.jsx(xe,{defer:!1,children:e.jsx("title",{children:"Apply for Membership Pass | WeVersity"})}),e.jsx("div",{className:"absolute top-[-10%] left-[-10%] w-[50%] h-[50%] bg-brand-purple/5 rounded-full blur-[120px] pointer-events-none"}),e.jsx("div",{className:"absolute bottom-[-10%] right-[-10%] w-[50%] h-[50%] bg-brand-purple/5 rounded-full blur-[120px] pointer-events-none"}),e.jsx(he,{}),e.jsx("div",{className:"py-12 px-4 md:px-8 relative z-10",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsxs("div",{className:"mb-6 flex justify-between items-center",children:[e.jsxs(V,{to:"/workspace",className:"inline-flex items-center gap-1.5 text-slate-600 hover:text-brand-purple transition-all font-semibold text-xs uppercase tracking-wider cursor-pointer",children:[e.jsx(I,{className:"h-4 w-4"})," Back to Directory"]}),e.jsx("span",{className:"text-[11px] font-black uppercase text-brand-purple bg-purple-50 border border-purple-100 px-3.5 py-1 rounded-full",children:"Frontend Registration Mock"})]}),e.jsxs("div",{className:"bg-white/60 backdrop-blur-xl border border-white/80 rounded-[32px] shadow-2xl overflow-hidden transition-all duration-300",children:[e.jsxs("div",{className:"bg-gradient-to-br from-[#1E1B4B] via-[#4C1D95] to-[#6D28D9] text-white p-8 md:p-10 relative",children:[e.jsx("div",{className:"absolute right-0 top-0 w-32 h-32 bg-brand-purple/20 rounded-full blur-2xl"}),e.jsx("div",{className:"absolute left-1/3 bottom-0 w-24 h-24 bg-purple-400/10 rounded-full blur-xl"}),e.jsxs("div",{className:"relative z-10 space-y-2",children:[e.jsxs("span",{className:"bg-white/10 border border-white/20 text-purple-300 text-[10px] font-black uppercase tracking-widest px-3 py-1 rounded-full inline-flex items-center gap-1.5 mb-2",children:[e.jsx(be,{className:"h-3.5 w-3.5"})," Membership Pass Portal"]}),e.jsx("h1",{className:"text-2xl md:text-4.5 font-black tracking-tight leading-tight",children:"Get Your WeVersity Workspace Pass"}),e.jsx("p",{className:"text-purple-100/80 text-xs md:text-sm max-w-xl font-medium leading-relaxed",children:"Join a global network of verified premium workspaces. Select your access tier, verify your ID, and generate your instant checkout mockup."})]})]}),T?e.jsxs("div",{className:"p-8 md:p-12 text-center space-y-8 animate-fade-in",children:[e.jsx("div",{className:"w-16 h-16 bg-purple-50 text-brand-purple roun
2ded-full flex items-center justify-center mx-auto border border-purple-100 shadow-inner",children:e.jsx(fe,{className:"h-9 w-9"})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h2",{className:"text-2xl font-black text-slate-900 tracking-tight",children:"Your Workspace Pass is Ready!"}),e.jsx("p",{className:"text-xs text-slate-500 max-w-md mx-auto leading-relaxed",children:"Your registration mockup has been processed successfully. Here is your verified pass template to gain entry at physical nodes."})]}),e.jsxs("div",{className:"max-w-md mx-auto bg-gradient-to-br from-slate-900 via-[#6D28D9] to-slate-950 text-white rounded-[24px] p-6 text-left relative overflow-hidden shadow-2xl border border-white/10 group",children:[e.jsx("div",{className:"absolute -right-16 -top-16 w-40 h-40 bg-purple-500/10 rounded-full blur-3xl"}),e.jsx("div",{className:"absolute -left-16 -bottom-16 w-40 h-40 bg-brand-purple/10 rounded-full blur-3xl"}),e.jsxs("div",{className:"flex justify-between items-start mb-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:"https://res.cloudinary.com/dn93gd6yw/image/upload/f_auto,q_auto/v1762151396/weversity-logo_p9owli.png",alt:"WeVersity Logo",className:"w-8 h-6 object-contain invert"}),e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-purple-300",children:"Workspace Pass"})]}),e.jsx("span",{className:"bg-purple-500/20 border border-purple-500/30 text-purple-400 text-[8px] font-extrabold uppercase tracking-widest px-2.5 py-0.5 rounded-full",children:"Verified Active"})]}),e.jsxs("div",{className:"space-y-4 mb-6",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[9px] text-slate-400 uppercase font-black block tracking-wider",children:"Pass Holder"}),e.jsx("span",{className:"text-base font-black tracking-tight text-white",children:c||"WeVersity Guest Member"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[9px] text-slate-400 uppercase font-black block tracking-wider",children:"Access Tier"}),e.jsx("span",{className:"text-xs font-bold text-purple-300",children:y.name})]}),e.jsxs("div",{children:[e.jsx("span",{className:"text-[9px] text-slate-400 uppercase font-black block tracking-wider",children:"Primary Node"}),e.jsx("span",{className:"text-xs font-bold text-white",children:j})]})]})]}),e.jsxs("div",{className:"border-t border-white/10 pt-4 flex items-center justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[8px] text-slate-400 uppercase font-black block tracking-wider",children:"Member ID"}),e.jsxs("span",{className:"text-[10px] font-mono font-bold tracking-widest",children:["WVP-",1e5+Math.floor(Math.random()*9e5)]})]}),e.jsxs("div",{className:"flex flex-col items-end gap-1",children:[e.jsx("div",{className:"flex gap-[1.5px] h-6 items-center",children:[2,1,3,1,2,4,1,2,3,1,4,2,1,2,3,1].map((t,a)=>e.jsx("div",{className:"bg-white h-full",style:{width:`${t}px`,opacity:a%3===0?.3:.9}},a))}),e.jsx("span",{className:"text-[7px] font-mono text-slate-500 tracking-widest",children:"SCAN AT DESK"})]})]})]}),e.jsxs("div",{className:"flex justify-center gap-4 pt-4",children:[e.jsx(V,{to:"/workspace",className:"bg-brand-purple hover:bg-brand-purple-dark text-white py-3 px-8 rounded-full font-black text-xs uppercase tracking-wider transition-all shadow-lg cursor-pointer",children:"Explore Directories"}),e.jsx("button",{type:"button",onClick:()=>{D(!1),h(1)},className:"border border-slate-200 text-slate-600 hover:bg-slate-100 py-3 px-8 rounded-full font-black text-xs uppercase tracking-wider transition-all cursor-pointer",children:"Register Another"})]})]}):e.jsxs("form",{onSubmit:pe,children:[e.jsx("div",{className:"bg-brand-purple/5 border-b border-white/60 px-6 md:px-8 py-5 flex items-center justify-between overflow-x-auto gap-4 scrollbar-none",children:u.map(t=>e.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[e.jsx("div",{className:`w-7 h-7 rounded-full flex items-center justify-center text-xs font-black transition-all duration-300 ${r>=t.id?"bg-brand-purple text-white shadow-md":"bg-slate-200 text-slate-500"}`,children:r>t.id?e.jsx(S,{className:"h-3.5 w-3.5"}):t.id}),e.jsx("span",{className:`text-[10px] font-black uppercase tracking-wider hidden sm:inline ${r===t.id?"text-brand-purple":"text-slate-400"}`,children:t.title}),t.id<u.length&&e.jsx(L,{className:"h-3.5 w-3.5 text-slate-300 hidden sm:inline"})]},t.id))}),e.jsxs("div",{className:"p-6 md:p-8",children:[r===1&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"text-center max-w-md mx-auto mb-4",children:[e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-brand-purple",children:"Step 1 of 5"}),e.jsx("h3",{className:"text-lg font-black text-slate-800 mt-1",children:"Select Access Membership Pass"}),e.jsx("p",{className:"text-xs text-slate-500 mt-1",children:"Choose the rate plan that matches your frequency and professional setup."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:P.map(t=>{const a=E===t.id;return e.jsxs("div",{onClick:()=>U(t.id),className:`bg-white rounded-3xl border p-5 transition-all duration-300 flex flex-col justify-between cursor-pointer relative ${a?"border-brand-purple ring-2 ring-brand-purple/10 shadow-xl -translate-y-1.5":"border-slate-200/80 hover:border-slate-300 hover:shadow-md"}`,children:[t.popular&&e.jsx("span",{className:"absolute -top-3 left-1/2 -translate-x-1/2 bg-brand-purple text-white text-[8px] font-black uppercase tracking-widest px-3 py-1 rounded-full shadow-sm",children:t.tag}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("span",{className:"inline-block text-[8px] font-black uppercase tracking-wider px-2 py-0.5 rounded bg-slate-100 text-slate-500",children:t.tag}),e.jsx("h4",{className:"text-sm font-black text-slate-800",children:t.name})]}),e.jsxs("div",{className:"py-2 border-y border-slate-100 flex items-baseline gap-1",children:[e.jsx("span",{className:"text-xl font-black text-slate-900",children:t.price}),e.jsx("span",{className:"text-[10px] text-slate-400 font-semibold",children:t.period})]}),e.jsx("p",{className:"text-[11px] text-slate-500 leading-relaxed font-medium",children:t.description}),e.jsx("ul",{className:"space-y-2 pt-2",children:t.features.map((l,i)=>e.jsxs("li",{className:"flex items-start gap-1.5 text-[10px] text-slate-600 font-semibold leading-tight",children:[e.jsx(S,{className:"h-3.5 w-3.5 text-brand-purple shrink-0 mt-0.5"}),e.jsx("span",{children:l})]},i))})]}),e.jsx("div",{className:"pt-5",children:e.jsx("div",{className:`w-full py-2 rounded-xl text-center text-xs font-black uppercase tracking-wider transition-colors ${a?"bg-brand-purple text-white":"bg-slate-50 text-slate-600 hover:bg-slate-100"}`,children:a?"Tier Selected":"Choose Tier"})})]},t.id)})})]}),r===2&&e.jsxs("div",{className:"space-y-6 max-w-xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-4",children:[e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-brand-purple",children:"Step 2 of 5"}),e.jsx("h3",{className:"text-lg font-black text-slate-800 mt-1",children:"Personal & Profile Details"}),e.jsx("p",{className:"text-xs text-slate-500 mt-1",children:"We require verified contact information for security and entry clearance."})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5 flex items-center gap-1",children:[e.jsx(ge,{className:"h-3.5 w-3.5 text-brand-purple"})," Full Legal Name"]}),e.jsx("input",{type:"text",required:!0,placeholder:"Enter your full name (matching CNIC/Passport)",value:c,onChange:t=>H(t.target.value),className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm"})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5",children:"Email Address"}),e.jsx("input",{type:"email",required:!0,placeholder:"[email protected]",value:b,onChange:t=>O(t.target.value),className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5",children:"Phone Number"}),e.jsx(me,{value:R,onChange:t=>Y(t),defaultCountryCode:d,required:!0})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5 flex items-center gap-1",children:[e.jsx(je,{className:"h-3.5 w-3.5 text-brand-purple"})," WeVersity Portal Role"]}),e.jsxs("select",{"aria-label":"WeVersity Portal Role",value:f,onChange:t=>B(t.target.value),className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm cursor-pointer",children:[e.jsx("option",{value:"Student",children:"Student (Enrolled in WeVersity Course)"}
2),e.jsx("option",{value:"Coach",children:"Coach / Instructor / Trainer"}),e.jsx("option",{value:"Corporate Partner",children:"Corporate Remote Employee"}),e.jsx("option",{value:"Guest",children:"Guest Learner"})]})]})]})]}),r===3&&e.jsxs("div",{className:"space-y-6 max-w-xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-4",children:[e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-brand-purple",children:"Step 3 of 5"}),e.jsx("h3",{className:"text-lg font-black text-slate-800 mt-1",children:"Location & Booking Node Preferences"}),e.jsx("p",{className:"text-xs text-slate-500 mt-1",children:"Help us allocate desk logs by selecting your primary workspace city."})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5",children:"Country"}),e.jsx("select",{"aria-label":"Country",value:d,onChange:t=>J(t.target.value),className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm cursor-pointer",children:K.map(t=>e.jsx("option",{value:t.isoCode,children:t.name},t.isoCode))})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5",children:"State / Province"}),e.jsx("select",{"aria-label":"State or Province",value:W,onChange:t=>Q(t.target.value),disabled:N.length===0,className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm cursor-pointer disabled:opacity-50",children:N.length>0?N.map(t=>e.jsx("option",{value:t.isoCode,children:t.name},t.isoCode)):e.jsx("option",{value:"",children:"No states found"})})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5",children:"City / County"}),e.jsx("select",{"aria-label":"City or County",value:j,onChange:t=>n(t.target.value),disabled:w.length===0,className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm cursor-pointer disabled:opacity-50",children:w.length>0?w.map(t=>e.jsx("option",{value:t.name,children:t.name},t.name)):e.jsx("option",{value:"",children:"No cities found"})})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider mb-1.5 flex items-center gap-1",children:[e.jsx(Ne,{className:"h-3.5 w-3.5 text-brand-purple"})," Estimated Usage per Week"]}),e.jsxs("select",{"aria-label":"Estimated Usage per Week",value:G,onChange:t=>$(t.target.value),className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm cursor-pointer",children:[e.jsx("option",{value:"Less than 10 hours",children:"Less than 10 hours"}),e.jsx("option",{value:"10-20 hours",children:"10 - 20 hours per week"}),e.jsx("option",{value:"20-30 hours",children:"20 - 30 hours per week"}),e.jsx("option",{value:"Full-time 40+ hours",children:"Full-time desk access (40+ hours)"})]})]})]})]}),r===4&&e.jsxs("div",{className:"space-y-6 max-w-xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-4",children:[e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-brand-purple",children:"Step 4 of 5"}),e.jsx("h3",{className:"text-lg font-black text-slate-800 mt-1",children:"Identity & Affiliation Documents"}),e.jsx("p",{className:"text-xs text-slate-500 mt-1",children:"To ensure security for other learners, please upload supporting identification."})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider",children:"CNIC or Passport Document (Copy)"}),e.jsxs("div",{className:"border border-dashed border-slate-300 hover:border-brand-purple roun
2ded-2xl p-5 text-center bg-white/40 cursor-pointer transition-colors relative",children:[e.jsx("input",{type:"file",accept:"image/*,.pdf",onChange:t=>{var a;return X(((a=t.target.files)==null?void 0:a[0])||null)},className:"absolute inset-0 opacity-0 cursor-pointer"}),e.jsx(F,{className:"h-6 w-6 text-slate-400 mx-auto mb-2"}),e.jsx("span",{className:"block text-[11px] font-semibold text-slate-600",children:v?v.name:"Drag your ID file or click to select"}),e.jsx("span",{className:"block text-[9px] text-slate-400 mt-0.5",children:"JPEG, PNG or PDF formats. Max 5MB."})]})]}),f==="Coach"?e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider",children:"Coach Profile Link or CV"}),e.jsx("input",{type:"url",placeholder:"https://linkedin.com/in/username",value:ee,onChange:t=>te(t.target.value),className:"w-full bg-white/70 border border-slate-200 rounded-[14px] py-2.5 px-4 text-xs font-semibold focus:outline-none focus:border-brand-purple focus:bg-white transition-all shadow-sm"})]}):e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"block text-xs font-bold text-slate-500 uppercase tracking-wider",children:"Student Card or Enrollment Proof (Optional)"}),e.jsxs("div",{className:"border border-dashed border-slate-300 hover:border-brand-purple rounded-2xl p-5 text-center bg-white/40 cursor-pointer transition-colors relative",children:[e.jsx("input",{type:"file",accept:"image/*,.pdf",onChange:t=>{var a;return Z(((a=t.target.files)==null?void 0:a[0])||null)},className:"absolute inset-0 opacity-0 cursor-pointer"}),e.jsx(F,{className:"h-6 w-6 text-slate-400 mx-auto mb-2"}),e.jsx("span",{className:"block text-[11px] font-semibold text-slate-600",children:A?A.name:"Drag student card copy or select"}),e.jsx("span",{className:"block text-[9px] text-slate-400 mt-0.5",children:"PDF or Image copy format."})]})]})]})]}),r===5&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"text-center max-w-md mx-auto mb-4",children:[e.jsx("span",{className:"text-[10px] font-black uppercase tracking-widest text-brand-purple",children:"Step 5 of 5"}),e.jsx("h3",{className:"text-lg font-black text-slate-800 mt-1",children:"Review Pass Details & Checkout"}),e.jsx("p",{className:"text-xs text-slate-500 mt-1",children:"Confirm your credentials and choose a mock payment format below."})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"bg-slate-50 border border-slate-100 rounded-2xl p-5 space-y-4",children:[e.jsx("h4",{className:"text-xs font-black uppercase text-slate-400 tracking-wider",children:"Pass Overview"}),e.jsxs("div",{className:"flex justify-between items-baseline py-2.5 border-b border-slate-200",children:[e.jsx("span",{className:"text-xs font-extrabold text-slate-700",children:y.name}),e.jsx("span",{className:"text-base font-black text-slate-900",children:y.price})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"text-[11px] flex justify-between font-bold text-slate-500",children:[e.jsx("span",{children:"Full Name:"}),e.jsx("span",{className:"text-slate-800",children:c||"N/A"})]}),e.jsxs("div",{className:"text-[11px] flex justify-between font-bold text-slate-500",children:[e.jsx("span",{children:"Role / Location:"}),e.jsxs("span",{className:"text-slate-800",children:[f," (",j,", ",W,", ",d,")"]})]}),e.jsxs("div",{className:"text-[11px] flex justify-between font-bold text-slate-500",children:[e.jsx("span",{children:"Email:"}),e.jsx("span",{className:"text-slate-800",children:b})]}),e.jsxs("div",{className:"text-[11px] flex justify-between font-bold text-slate-500",children:[e.jsx("span",{children:"Identification file:"}),e.jsx("span",{className:"text-brand-purple font-black",children:v?"â Uploaded":"â Not Uploaded (Skip verification for Mock)"})]})]})]}),e.jsxs("div",{className:"bg-white border border-slate-200/80 rounded-2xl p-5 space-y-4",children:[e.jsxs("h4",{className:"text-xs font-black uppercase text-slate-400 tracking-wider flex items-center gap-1.5",children:[e.jsx(we,{className:"h-4 w-4 text-brand-purple"})," Simulated Payment Checkout"]}),e.jsx("div",{className:"flex gap-2",children:["card","paypal","easypaisa"].map(t=>e.jsx("button",{type:"button",onClick:()=>se(t),className:`flex-1 py-1.5 rounded-lg border text-[10px] font-black uppercase tracking-wider transition-all ${k===t?"bg-brand-purple border-brand-purple text-white":"bg-slate-50 border-slate-100 hover:border-slate-200 text-slate-600"}`,children:t},t))}),k==="card"?e.jsxs("div",{className:"space-y-3 pt-1",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-[9px] font-bold text-slate-500 uppercase tracking-wide mb-1",children:"Card Number"}),e.jsx("input",{type:"text",placeholder:"4242 â¢â¢â¢â¢ â¢â¢â¢â¢ 4242",value:ae,onChange:t=>re(t.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-[10px] py-1.5 px-3 text-xs focus:outline-none focus:border-brand-purple transition-colors"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-[9px] font-bold text-slate-500 uppercase tracking-wide mb-1",children:"Expiry Date"}),e.jsx("input",{type:"text",placeholder:"MM/YY",value:le,onChange:t=>ie(t.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-[10px] py-1.5 px-3 text-xs focus:outline-none focus:border-brand-purple transition-colors"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[9px] font-bold text-slate-500 uppercase tracking-wide mb-1",children:"CVC Code"}),e.jsx("input",{type:"text",placeholder:"123",value:ne,onChange:t=>oe(t.target.value),className:"w-full bg-slate-50 border border-slate-200 rounded-[10px] py-1.5 px-3 text-xs focus:outline-none focus:border-brand-purple transition-colors"})]})]})]}):e.jsxs("div",{className:"bg-slate-50 text-slate-500 rounded-xl p-4 text-[10px] font-semibold text-center border border-slate-100 leading-relaxed",children:["You have selected ",e.jsx("strong",{children:k.toUpperCase()}),' gateway checkout mockup. Clicking "Submit" below bypasses payment gates and prints the verified pass directly.']})]})]})]})]}),e.jsxs("div",{className:"bg-brand-purple/5 border-t border-white/60 px-6 md:px-8 py-5 flex items-center justify-between",children:[e.jsxs("button",{type:"button",onClick:de,disabled:r===1,className:"bg-transparent hover:bg-slate-200/50 text-slate-600 disabled:opacity-30 disabled:hover:bg-transparent py-2.5 px-5 rounded-full font-black text-xs uppercase tracking-wider transition-all flex items-center gap-1.5 cursor-pointer",children:[e.jsx(I,{className:"h-4 w-4"})," Back"]}),r<u.length?e.jsxs("button",{type:"button",onClick:ce,className:"bg-brand-purple hover:bg-brand-purple-dark text-white py-2.5 px-6 rounded-full font-black text-xs uppercase tracking-wider transition-all flex items-center gap-1.5 shadow-md shadow-purple-950/20 cursor-pointer",children:["Next Step ",e.jsx(L,{className:"h-4 w-4"})]}):e.jsxs("button",{type:"submit",className:"bg-brand-purple hover:bg-brand-purple-dark text-white py-2.5 px-8 rounded-full font-black text-xs uppercase tracking-wider transition-all flex items-center gap-1.5 shadow-md shadow-purple-900/20 cursor-pointer",children:["Generate verified pass ",e.jsx(S,{className:"h-4 w-4"})]})]})]})]})]})})]})};export{We 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.