PageSourceSearch

https://musbresearch.com/assets/ProfileSetup-C1K3Q342.js

js musbresearch.com collected 2026-10-06 16:26:30 UTC 41,566 bytes, 1 lines download raw bytes

1import{r as h,d as pe,u as me,j as e,m as j,A as q}from"./vendor-DyxzB9Av.js";import{j as P,A as ue,a as he,m as be,n as ge}from"./index-BqECBvsS.js";import{c as fe}from"./imageUtils-CILKrD_Y.js";import{u as ye}from"./usePostalLookup-h4lJraa-.js";import{C as M}from"./CustomDropdown-TQr-mr2b.js";import{C as W}from"./CountryCombobox-B9SCeQfj.js";import{A as H}from"./AddressAutocomplete-Bsul3EEK.js";import{M as J}from"./ModernErrorBanner-hx2ZuR-B.js";import{U as K,d as Q,cb as we,ad as A,c as je,G as Ne,aB as D,v as f,aE as X,y as ee,q as _e,aq as ae,K as te,P as ve,e as se,k as ke,l as Ce,A as Se,$ as Pe,a7 as Ae,f as le,aW as De,ak as Me,ae as Le}from"./lucide-CFsqSJ-d.js";function Ue(){const[i,N]=h.useState(1),[l,o]=h.useState({first_name:"",middle_name:"",last_name:"",gender:"",full_address:"",city:"",state:"",zip_code:"",country:"",place_of_origin:"",mobile_number:"",birth_year:"",age:"",highest_degree:"",graduation_institution:"",graduation_year:"",professional_licenses:[],research_certifications:[],competencies:[],therapeutic_areas:[],study_types_experience:[],languages:[]}),[L,I]=h.useState({professional_licenses:"",research_certifications:"",competencies:"",therapeutic_areas:"",study_types_experience:"",languages:""}),[y,re]=h.useState({medical_licence:null,insurance_certificate:null,cv_document:null,gcp_training:null,financial_disclosure:null}),[_,E]=h.useState(!1),[v,k]=h.useState(null),R=pe(),F=me(),b=P(),z=(b?.role||"").toUpperCase(),u=["PI","COORDINATOR"].includes(z),C=u?13:3;h.useEffect(()=>{let a=F.state?.screenerData;if(!a)try{const r=localStorage.getItem("screener_prefill");r&&(a=JSON.parse(r))}catch{}const s=P();o(r=>{const t={...r};if(s){const d=(s.full_name||"").split(" ");t.first_name=s.first_name||d[0]||t.first_name,t.last_name=s.last_name||(d.length>1?d[d.length-1]:t.last_name),t.middle_name=s.middle_name||t.middle_name,t.mobile_number=s.mobile_number||s.phone_number||s.decrypted_phone||t.mobile_number,t.zip_code=s.zip_code||t.zip_code,t.full_address=s.full_address||s.decrypted_address||t.full_address,t.city=s.city||t.city,t.state=s.state||t.state,t.country=s.country||t.country,t.birth_year=s.birth_year?.toString()||t.birth_year,t.age=s.age?.toString()||t.age,t.gender=s.gender||t.gender,t.place_of_origin=s.place_of_origin||s.country||t.place_of_origin,t.highest_degree=s.highest_degree||t.highest_degree,t.graduation_institution=s.graduation_institution||t.graduation_institution,t.graduation_year=s.graduation_year?.toString()||t.graduation_year,t.professional_licenses=s.professional_licenses||t.professional_licenses,t.research_certifications=s.research_certifications||t.research_certifications,t.competencies=s.competencies||t.competencies,t.therapeutic_areas=s.therapeutic_areas||t.therapeutic_areas,t.study_types_experience=s.study_types_experience||t.study_types_experience,t.languages=s.languages||t.languages}if(a){const d=(a.fullName||"").split(" ");t.first_name=t.first_name||a.firstName||d[0]||"",t.last_name=t.last_name||a.lastName||(d.length>1?d[d.length-1]:""),t.middle_name=t.middle_name||a.middleName||"",t.zip_code=t.zip_code||a.zipCode||a.zip_code||"",t.mobile_number=t.mobile_number||a.phone||a.mobile_number||"",t.full_address=t.full_address||a.full_address||a.location||a.address||"",t.city=t.city||a.city||"",t.state=t.state||a.state||"",t.country=t.country||a.country||"",t.place_of_origin=t.place_of_origin||a.place_of_origin||a.countryOfBirth||a.country||"",t.gender=t.gender||a.gender||"",t.age=t.age||a.age?.toString()||"",t.birth_year=t.birth_year||a.birthYear?.toString()||a.birth_year?.toString()||""}return!t.full_address&&(t.city||t.state||t.country)&&(t.full_address=[t.city,t.state,t.country].filter(Boolean).join(", ")),!t.place_of_origin&&t.country&&(t.place_of_origin=t.country),t})},[F.state]),h.useEffect(()=>{const a=P();if(a&&a.profile_completed){const s=(a.role||"participant").toLowerCase()==="coordinator"?"/dashboard/coordinator":(a.role||"participant").toLowerCase()==="pi"?"/dashboard/pi":"/dashboard/participant";R(s)}},[R]);const B=a=>{if(a!==""&&!/^\d+$/.test(a))return;const s=new Date().getFullYear();let r="";if(a&&a.length===4){const t=parseInt(a);t>1900&&t<=s&&(r=(s-t).toString())}o(t=>({...t,birth_year:a,age:r}))},T=a=>{a!==""&&!/^\d+$/.test(a)||o(s=>({...s,age:a}))},Y=a=>(a||"").replace(/\D/g,"").length>=7,{isLoading:O}=ye({zipCode:l.zip_code,country:l.country,onSuccess:(a,s)=>{o(r=>({...r,city:a.city||r.city||"",state:a.state||r.state||"",country:s?a.country||r.country||"":r.country}))},onClear:()=>{o(a=>({...a,city:"",state:"",country:""}))}}),n=a=>{const{name:s,value:r}=a.target;o(t=>({...t,[s]:r}))},ie=async a=>{if(a.target.files&&a.target.files[0]){const s=a.target.files[0],r=s.type.startsWith("image/")?await fe(s):s;re(t=>({...t,[a.target.name]:r}))}},ne=(a,s)=>{I(r=>({...r,[a]:s}))},U=a=>{const s=L[a];!s||!s.trim()||(o(r=>{const t=r[a]||[];return t.includes(s.trim())?r:{...r,[a]:[...t,s.trim()]}}),I(r=>({...r,[a]:""})))},ce=(a,s)=>{o(r=>{const t=r[a]||[];return{...r,[a]:t.filter((d,p)=>p!==s)}})},oe=(a,s)=>{a.key==="Enter"&&(a.preventDefault(),U(s))},m=a=>{if(!u)return a===1?!!l.first_name&&!!l.last_name&&!!l.gender&&!!l.birth_year&&!!l.age:a===2?!!l.full_address&&!!l.city&&!!l.state&&!!l.country&&!!l.place_of_origin&&Y(l.mobile_number):!0;switch(a){case 1:return!!l.first_name&&!!l.last_name;case 2:return Y(l.mobile_number);case 3:return!!l.gender&&!!l.birth_year&&!!l.age;case 4:return!!l.place_of_origin;case 5:return!!l.full_address&&!!l.city&&!!l.state&&!!l.country&&!!l.zip_code;case 6:return!!l.highest_degree&&!!l.graduation_institution&&!!l.graduation_year;case 7:case 8:case 9:case 10:return!0;case 11:return(!!y.medical_licence||!!b?.medical_licence)&&(!!y.insurance_certificate||!!b?.insurance_certificate)&&(!!y.cv_document||!!b?.cv_document);case 12:return!0;default:return!0}},de=()=>{if(!u)return m(1)?m(2)?3:2:1;let a=1;for(let s=1;s<=12;s++)if(m(s))a=s+1;else{a=s;break}return Math.min(a,12)},G=()=>N(i+1),V=()=>N(i-1),$=async()=>{E(!0),k(null);try{const a=ue||"http://localhost:8000",s=new FormData;Object.entries(l).forEach(([c,x])=>{Array.isArray(x)?s.append(c,JSON.stringify(x)):s.append(c,x)}
1),u&&Object.entries(y).forEach(([c,x])=>{x&&s.append(c,x)});const r=await he(`${a}/api/auth/complete-profile/`,{method:"POST",body:s}),t=await r.json();if(!r.ok)throw new Error(t.error||"Profile setup failed");const p={...P()||{},...t.user,profile_completed:!0};be(p),t.access&&(ge(t.access,p.role||"PARTICIPANT",void 0,t.refresh),window.dispatchEvent(new Event("auth-token-changed"))),N(C),setTimeout(()=>{const c=(p.role||"participant").toLowerCase();c==="super_admin"?window.location.href="/dashboard/super-admin":c==="admin"?window.location.href="/dashboard/admin":c==="coordinator"?window.location.href="/dashboard/coordinator":c==="pi"?window.location.href="/dashboard/pi":c==="sponsor"?window.location.href="/dashboard/sponsor":window.location.href="/dashboard/participant"},1500)}catch(a){k(a.message)}finally{E(!1)}},S=[{id:1,name:"Identity Info",desc:"Legal Name Details",icon:K},{id:2,name:"Contact Info",desc:"Email & Contact Numbers",icon:Q},{id:3,name:"Demographics",desc:"Gender & Birth Details",icon:we},{id:4,name:"Place of Origin",desc:"City & Country of Birth",icon:A},{id:5,name:"Residential Address",desc:"Contact Address & Zip",icon:je},{id:6,name:"Academic Profile",desc:"Degrees & Institution",icon:Ne},{id:7,name:"Professional Licenses",desc:"Medical & Board Registry",icon:D},{id:8,name:"Research Certifications",desc:"Research Training & GCP",icon:f},{id:9,name:"Clinical Competencies",desc:"Phlebotomy, ECG, etc.",icon:X},{id:10,name:"Domain Experience",desc:"Specialties & Languages",icon:ee},{id:11,name:"Regulatory Documents",desc:"Credentials & CV Upload",icon:_e},{id:12,name:"System Permissions",desc:"Assigned Platform Access",icon:ae}],Z=b?.permissions||[],xe=[{category:"Study Settings",perms:[{key:"create_study",label:"Create Study"},{key:"edit_study",label:"Edit Study"},{key:"delete_study",label:"Delete Study"},{key:"manage_study_settings",label:"Manage Settings"}]},{category:"Participant Management",perms:[{key:"view_participants",label:"View Participants"},{key:"add_participants",label:"Add Participants"},{key:"edit_participants",label:"Edit Participants"},{key:"delete_participants",label:"Delete Participants"}]},{category:"Visit Logging",perms:[{key:"schedule_visits",label:"Schedule Visits"},{key:"log_visits",label:"Log/Record Visits"},{key:"edit_visits",label:"Edit Visit Records"}]},{category:"Data & Forms",perms:[{key:"enter_data",label:"Enter CRF Data"},{key:"edit_data",label:"Edit CRF Data"},{key:"verify_data",label:"Verify/Sign Data"},{key:"export_data",label:"Export Clinical Data"}]},{category:"Samples & Logistics",perms:[{key:"log_samples",label:"Log Bio-samples"},{key:"ship_samples",label:"Ship Bio-samples"},{key:"track_samples",label:"Track Shipments"}]},{category:"Recruitment & Documents",perms:[{key:"manage_recruitment",label:"Manage Campaigns"},{key:"view_analytics",label:"View Analytics"},{key:"upload_documents",label:"Upload Documents"},{key:"approve_documents",label:"Approve Study Docs"}]},{category:"Safety & Support",perms:[{key:"report_sae",label:"Report SAEs"},{key:"review_sae",label:"Review Safety Events"}]},{category:"User Management",perms:[{key:"invite_users",label:"Invite Coordinators"},{key:"manage_roles",label:"Manage Roles"}]}],g=(a,s,r,t)=>{const d=l[a]||[],p=t;return e.jsxs("div",{className:"space-y-4 flex flex-col items-start w-full",children:[e.jsx("label",{className:"text-[12px] font-black text-[#555a7a] uppercase tracking-widest italic text-left",children:s}),e.jsxs("div",{className:"flex gap-3 w-full",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(p,{className:"absolute left-6 top-1/2 -translate-y-1/2 w-5 h-5 text-slate-700"}),e.jsx("input",{value:L[a]||"",onChange:c=>ne(a,c.target.value),onKeyDown:c=>oe(c,a),placeholder:r,className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl pl-16 pr-6 text-white placeholder:text-slate-800 outline-none focus:border-cyan-500/40 transition-all font-bold"})]}),e.jsx("button",{type:"button",onClick:()=>U(a),className:"h-[60px] w-[60px] bg-cyan-500/10 hover:bg-cyan-500/20 border border-cyan-500/20 hover:border-cyan-500/40 text-cyan-400 rounded-2xl flex items-center justify-center transition-all",children:e.jsx(De,{className:"w-6 h-6"})})]}),d.length>0?e.jsx("div",{className:"flex flex-wrap gap-2 w-full mt-2 bg-black/20 p-4 border border-white/5 rounded-2xl",children:d.map((c,x)=>e.jsxs("div",{className:"flex items-center gap-2 bg-cyan-500/10 border border-cyan-500/25 text-cyan-400 text-xs font-bold px-3 py-1.5 rounded-full",children:[e.jsx("span",{children:c}),e.jsx("button",{type:"button",onClick:()=>ce(a,x),className:"hover:text-red-400 transition-colors",children:e.jsx(Me,{className:"w-3.5 h-3.5"})})]},x))}):e.jsx("p",{className:"text-xs text-slate-600 italic",children:"No entries added yet. Add items above."})]})},w=(a,s,r,t)=>
1{const d=t,p=y[a],c=b?.[a],x=!!p||!!c;return e.jsxs("div",{className:"space-y-3 flex flex-col items-start w-full",children:[e.jsxs("label",{className:"text-[12px] font-black text-[#555a7a] uppercase tracking-widest italic text-left",children:[s," ",r?e.jsx("span",{className:"text-red-500",children:"*"}):e.jsx("span",{className:"text-slate-600",children:"(Optional)"})]}),e.jsxs("div",{className:"relative group w-full",children:[e.jsx(d,{className:`absolute left-6 top-1/2 -translate-y-1/2 w-5 h-5 transition-colors ${x?"text-emerald-400":"text-slate-700"}`}),e.jsx("input",{type:"file",name:a,onChange:ie,accept:".pdf,.jpg,.jpeg,.png",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl pl-16 pr-6 text-white file:hidden cursor-pointer hover:border-emerald-500/30 transition-all font-bold text-[12px]"}),!x&&e.jsx("span",{className:"absolute right-6 top-1/2 -translate-y-1/2 text-[12px] font-black text-slate-500 uppercase tracking-widest pointer-events-none",children:"Click to Upload"}),x&&e.jsxs("span",{className:"absolute right-6 top-1/2 -translate-y-1/2 text-[12px] font-black text-emerald-400 uppercase tracking-widest pointer-events-none flex items-center gap-2",children:[e.jsx(le,{className:"w-4 h-4 text-emerald-400"}),p?"New File Selected":"Existing Document"]})]})]},a)};return e.jsxs("div",{className:"min-h-screen bg-[#07091e] flex items-center justify-center p-3 sm:p-6 py-6 sm:py-10 relative overflow-hidden font-sans",children:[e.jsx("div",{className:"absolute top-0 left-0 w-[600px] h-[600px] bg-cyan-600/10 blur-[120px] rounded-full"}),e.jsx("div",{className:"absolute bottom-0 right-0 w-[600px] h-[600px] bg-purple-600/10 blur-[120px] rounded-full"}),e.jsx(j.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:`w-full ${u&&i<C?"max-w-6xl":"max-w-2xl"} bg-[#0f1133]/60 backdrop-blur-3xl border border-white/10 rounded-3xl sm:rounded-[2.5rem] md:rounded-[3rem] p-4 sm:p-8 md:p-12 shadow-2xl relative z-10`,children:u&&i<C?e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8",children:[e.jsxs("div",{className:"lg:col-span-4 border-r border-white/5 pr-6 space-y-6 hidden lg:block",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("span",{className:"text-[10px] bg-cyan-500/10 text-cyan-400 px-3 py-1 rounded-full font-black uppercase tracking-wider",children:[z," Profile Onboarding"]}),e.jsx("h3",{className:"text-xl font-black text-white italic uppercase tracking-wider",children:"Onboarding Progress"}),e.jsx("p",{className:"text-xs text-[#555a7a]",children:"Complete all 12 sections to activate your dashboard."})]}),e.jsx("div",{className:"space-y-2 max-h-[550px] overflow-y-auto pr-2 custom-scrollbar",children:S.map(a=>{const s=i===a.id,r=m(a.id),t=a.id<=de();return a.icon,e.jsxs("button",{disabled:!t,onClick:()=>N(a.id),className:`w-full flex items-center gap-4 p-3 rounded-2xl border text-left transition-all ${s?"bg-cyan-500/15 border-cyan-500/35 text-white shadow-[0_0_15px_rgba(6,182,212,0.1)]":r?"bg-emerald-500/5 border-emerald-500/15 text-emerald-400 hover:bg-emerald-500/10":t?"bg-white/5 border-white/5 text-slate-300 hover:bg-white/10":"bg-black/20 border-transparent text-slate-700 cursor-not-allowed"}`,children:[e.jsx("div",{className:`w-8 h-8 rounded-xl flex items-center justify-center font-bold text-sm ${s?"bg-cyan-500 text-slate-950":r?"bg-emerald-500/20 text-emerald-400":"bg-white/5 text-slate-500"}`,children:r?e.jsx(te,{className:"w-4 h-4"}):a.id}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("p",{className:"text-xs font-black uppercase tracking-wider truncate",children:a.name}),e.jsx("p",{className:"text-[10px] text-slate-500 truncate",children:a.desc})]}),!t&&e.jsx(ae,{className:"w-3.5 h-3.5 text-slate-800"})]},a.id)})})]}),e.jsxs("div",{className:"lg:col-span-8 flex flex-col justify-between min-h-[500px]",children:[e.jsxs("div",{className:"lg:hidden mb-6 bg-cyan-500/5 border border-cyan-500/10 p-4 rounded-2xl flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"text-[10px] font-black text-cyan-400 uppercase tracking-widest",children:["Section ",i," of 12"]}),e.jsx("h4",{className:"text-sm font-bold text-white uppercase",children:S[i-1]?.name})]}),e.jsxs("span",{className:"text-xs text-slate-500",children:[Math.round(i/12*100),"%"]})]}),e.jsx("div",{className:"space-y-8 flex-1",children:e.jsx(q,{mode:"wait",children:e.jsxs(j.div,{initial:{opacity:0,x:10}
1,animate:{opacity:1,x:0},exit:{opacity:0,x:-10},className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2 border-b border-white/5 pb-4",children:[e.jsx("h2",{className:"text-3xl font-black text-white italic uppercase tracking-tight flex items-center gap-3",children:S[i-1]?.name}),e.jsx("p",{className:"text-[11px] text-[#555a7a] font-bold uppercase tracking-wider",children:S[i-1]?.desc})]}),i===1&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["First Name ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{name:"first_name",value:l.first_name,onChange:n,placeholder:"First Name",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:"Middle Name"}),e.jsx("input",{name:"middle_name",value:l.middle_name,onChange:n,placeholder:"Middle Name",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Last Name ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{name:"last_name",value:l.last_name,onChange:n,placeholder:"Last Name",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]})]}),i===2&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:"Email Address"}),e.jsxs("div",{className:"relative w-full",children:[e.jsx(Q,{className:"absolute left-6 top-1/2 -translate-y-1/2 w-5 h-5 text-slate-700"}),e.jsx("input",{disabled:!0,value:b?.email||"",className:"w-full h-[60px] bg-black/50 border border-white/5 rounded-2xl pl-16 pr-6 text-slate-500 font-bold cursor-not-allowed"})]}),e.jsx("span",{className:"text-[10px] text-slate-600",children:"Your email is pre-configured and read-only."})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Mobile Number ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"relative w-full",children:[e.jsx(ve,{className:"absolute left-6 top-1/2 -translate-y-1/2 w-5 h-5 text-slate-700"}),e.jsx("input",{type:"tel",name:"mobile_number",value:l.mobile_number,onChange:n,placeholder:"Mobile / Phone number",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl pl-16 pr-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]})]})]}),i===3&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Gender Identity ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(M,{options:["Male","Female","Others"],value:l.gender,onChange:a=>o(s=>({...s,gender:a})),placeholder:"Select Gender",variant:"dark",className:"w-full"})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Birth Year ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"tel",inputMode:"numeric",name:"birth_year",maxLength:4,value:l.birth_year,onChange:a=>B(a.target.value),placeholder:"YYYY (e.g. 1990)",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Current Age ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"tel",inputMode:"numeric",name:"age",maxLength:3,value:l.age,onChange:a=>T(a.target.value),placeholder:"Age",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]})]}),i===4&&e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Country/City of Birth ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"relative w-full",children:[e.jsx(A,{className:"absolute left-6 top-1/2 -translate-y-1/2 w-5 h-5 text-slate-700"}),e.jsx("input",{name:"place_of_origin",value:l.place_of_origin,onChange:n,placeholder:"City, Country (e.g. New York, USA)",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl pl-16 pr-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]})]})}),i===5&&e.jsxs("div",{className:"space-y-6",children:[e.jsx(H,{label:"Full Street Address",required:!0,value:l.full_address,onChange:a=>o(s=>({...s,full_address:a})),onAddressSelect:a=>{o(s=>({...s,full_address:a.streetAddress,city:a.city||s.city,state:a.state||s.state,zip_code:a.zipCode||s.zip_code,country:a.country||s.country}))},placeholder:"Start typing street address (e.g. 68325 Marcellus Ave)...",variant:"dark",inputClassName:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"}),e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2 flex flex-col items-start w-full",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Country ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(W,{value:l.country,onChange:a=>o(s=>({...s,country:a})),variant:"darker",className:"w-full"})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["ZIP / Postal Code ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs("div",{className:"relative w-full",children:[e.jsx("input",{type:"text",name:"zip_code",value:l.zip_code,onChange:n,placeholder:"ZIP Code",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold pr-12"}),O&&e.jsx("div",{className:"absolute right-4 top-1/2 -translate-y-1/2",children:e.jsx(se,{className:"w-5 h-5 text-cyan-400 animate-spin"})})]})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["City ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{name:"city",value:l.city,onChange:n,placeholder:"City",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["State / Province ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{name:"state",value:l.state,onChange:n,placeholder:"State",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]})]})]}),i===6&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Highest Degree ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(M,{options:["MD","PhD","MSc","BSc","MBBS","PharmD","Other"],value:l.highest_degree,onChange:a=>o(s=>({...s,highest_degree:a})),placeholder:"Select Degree",variant:"dark",className:"w-full"})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Graduation Year ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"tel",inputMode:"numeric",maxLength:4,name:"graduation_year",value:l.graduation_year,onChange:n,placeholder:"YYYY",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]})]}),e.jsxs("div",{className:"space-y-2 flex flex-col items-start",children:[e.jsxs("label",{className:"text-[11px] font-bold text-[#555a7a] uppercase tracking-wider",children:["Graduation Institution ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{name:"graduation_institution",value:l.graduation_institution,onChange:n,placeholder:"University / Medical School Name",className:"w-full h-[60px] bg-black/40 border border-white/5 rounded-2xl px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold"})]})]}),i===7&&g("professional_licenses","Professional Licenses","License name or Registry ID (e.g. State Medical Registry #12345)",D),i===8&&g("research_certifications","Research Certifications","Research course or standard (e.g. GCP, Human Subjects, IATA)",f),i===9&&g("competencies","Clinical Competencies","Technical skills (e.g. Phlebotomy, ECG, IV Cannulation)",X),i===10&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[g("therapeutic_areas","Therapeutic Areas","Oncology, Cardiology...",ee),g("study_types_experience","Study Types","Phase I, Phase II, Observational...",D),g("languages","Languages Spoken","English, Spanish...",Le)]}),i===11&&e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-h-[420px] overflow-y-auto pr-2 custom-scrollbar",children:[w("medical_licence","Medical Licence",!0,f),w("insurance_certificate","Insurance Certificate",!0,D),w("cv_document","CV Document",!0,K),w("gcp_training","GCP Training Certificate",!1,f),w("financial_disclosure","Financial Disclosure Form",!1,A)]}),i===12&&e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"p-4 bg-cyan-500/5 border border-cyan-500/10 rounded-2xl",children:e.jsx("p",{className:"text-xs text-cyan-400 leading-relaxed font-bold",children:"🛡️ Assigned Clearance Matrix: The following privileges are associated with your security role profile. These are determined by your invitation and are completely read-only."})}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 max-h-[300px] overflow-y-auto pr-2 custom-scrollbar",children:xe.map(a=>{const s=a.perms.filter(r=>Z.includes(r.key)).length;return e.jsxs("div",{className:"bg-black/30 border border-white/5 rounded-2xl p-4 space-y-3",children:[e.jsxs("div",{className:"flex justify-between items-center border-b border-white/5 pb-1",children:[e.jsx("h4",{className:"text-[10px] font-black text-white uppercase tracking-wider",children:a.category}),e.jsxs("span",{className:"text-[9px] bg-cyan-500/10 text-cyan-400 px-2 py-0.5 rounded-full font-bold",children:[s," Active"]})]}),e.jsx("div",{className:"space-y-1.5",children:a.perms.map(r=>{const t=Z.includes(r.key);return e.jsxs("div",{className:"flex items-center justify-between text-[11px]",children:[e.jsx("span",{className:t?"text-slate-300 font-medium":"text-slate-600",children:r.label}),e.jsx("div",{className:`w-4 h-4 rounded flex items-center justify-center border transition-all ${t?"bg-cyan-500/20 border-cyan-500/40 text-cyan-400":"bg-black/20 border-white/5 text-slate-800"}`,children:t&&e.jsx(te,{className:"w-3 h-3"})})]},r.key)})})]},a.category)})})]})]},i)})}),v&&e.jsx("div",{className:"mt-6",children:e.jsx(J,{error:v,onDismiss:()=>k(null)})}),e.jsxs("div",{className:"flex gap-4 mt-8 pt-6 border-t border-white/5",children:[e.jsxs("button",{disabled:i===1,onClick:V,className:"px-6 h-[60px] bg-white/5 hover:bg-white/10 border border-white/5 text-slate-400 rounded-2xl font-black text-xs uppercase tracking-wider transition-all flex items-center justify-center gap-2 disabled:opacity-30 disabled:cursor-not-allowed",children:[e.jsx(ke,{className:"w-5 h-5"})," Back"]}),e.jsx("button",{onClick:i===12?$:G,disabled:_||!m(i),className:"flex-1 h-[60px] bg-cyan-500 hover:bg-cyan-400 text-slate-950 rounded-2xl font-black text-xs uppercase tracking-[0.2em] shadow-lg shadow-cyan-500/20 hover:scale-[1.01] active:scale-[0.99] transition-all flex items-center justify-center gap-3 disabled:opacity-50 disabled:hover:scale-100 disabled:cursor-not-allowed",children:i===12?e.jsxs(e.Fragment,{children:[_?"Activating Profile...":"Complete Profile Setup"," ",e.jsx(f,{className:"w-5 h-5"})]}):e.jsxs(e.Fragment,{children:["Continue ",e.jsx(Ce,{className:"w-5 h-5"})]})})]})]})]}):e.jsxs(q,{mode:"wait",children:[i===1&&!u&&e.jsxs(j.div,{initial:{opacity:0,x:20}
1,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},className:"space-y-6 sm:space-y-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[e.jsxs("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-black text-white italic uppercase tracking-tight",children:["Personal ",e.jsx("span",{className:"text-cyan-400",children:"Details"})]}),e.jsx("p",{className:"text-[11px] sm:text-[12px] text-[#555a7a] font-bold uppercase tracking-[0.2em] sm:tracking-[0.3em]",children:"Step 1 of 2 - Fill in your basic personal information"})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6 md:gap-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"First Name"}),e.jsx("input",{name:"first_name",value:l.first_name,onChange:n,placeholder:"John",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold text-sm sm:text-base"})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Middle Name"}),e.jsx("input",{name:"middle_name",value:l.middle_name,onChange:n,placeholder:"Optional",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold text-sm sm:text-base"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6 md:gap-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Last Name"}),e.jsx("input",{name:"last_name",value:l.last_name,onChange:n,placeholder:"Doe",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold text-sm sm:text-base"})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start w-full",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Gender Identity"}),e.jsx(M,{options:["Male","Female","Others"],value:l.gender,onChange:a=>o(s=>({...s,gender:a})),placeholder:"Select Gender",variant:"dark",className:"w-full"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6 md:gap-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Birth Year"}),e.jsx("input",{type:"tel",inputMode:"numeric",name:"birth_year",maxLength:4,value:l.birth_year,onChange:a=>B(a.target.value),placeholder:"YYYY (e.g. 1990)",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold text-sm sm:text-base"})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Current Age"}),e.jsx("input",{type:"tel",inputMode:"numeric",name:"age",maxLength:3,value:l.age,onChange:a=>T(a.target.value),placeholder:"Age",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-cyan-500/40 transition-all font-bold text-sm sm:text-base"})]})]}),!m(1)&&e.jsx("div",{className:"p-4 bg-red-500/10 border border-red-500/20 rounded-2xl text-red-400 text-xs font-bold uppercase tracking-wider",children:"⚠ All fields are required - please fill in First Name, Last Name, Gender, Birth Year and Age."}),e.jsxs("button",{onClick:G,disabled:!m(1),className:"w-full py-4 sm:py-5 bg-cyan-500 text-slate-950 rounded-2xl sm:rounded-[2rem] font-black text-xs uppercase tracking-[0.25em] italic hover:bg-white hover:-translate-y-0.5 active:translate-y-0 transition-all flex items-center justify-center gap-3 disabled:opacity-50 disabled:hover:translate-y-0 disabled:cursor-not-allowed cursor-pointer",children:["Next Step ",e.jsx(Se,{className:"w-4 h-4 sm:w-5 sm:h-5"})]})]},"p-step1"),i===2&&!u&&e.jsxs(j.div,{initial:{opacity:0,x:20}
1,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},className:"space-y-6 sm:space-y-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[e.jsxs("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-black text-white italic uppercase tracking-tight",children:["Address ",e.jsx("span",{className:"text-purple-400",children:"Details"})]}),e.jsx("p",{className:"text-[11px] sm:text-[12px] text-[#555a7a] font-bold uppercase tracking-[0.2em] sm:tracking-[0.3em]",children:"Please enter your address and contact information"})]}),e.jsxs("div",{className:"space-y-4 sm:space-y-6",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start w-full",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Full Address"}),e.jsx(H,{value:l.full_address,onChange:a=>o(s=>({...s,full_address:a})),onAddressSelect:a=>{o(s=>({...s,full_address:a.streetAddress,city:a.city||s.city,state:a.state||s.state,zip_code:a.zipCode||s.zip_code,country:a.country||s.country}))},placeholder:"Start typing your street address (e.g. 123 Research Way)...",variant:"dark",className:"w-full text-left",inputClassName:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-purple-500/40 transition-all font-bold placeholder:text-slate-600 text-sm sm:text-base"})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6 md:gap-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"City"}),e.jsx("input",{name:"city",value:l.city,onChange:n,placeholder:"City",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-purple-500/40 transition-all font-bold text-sm sm:text-base"})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"State / Province"}),e.jsx("input",{name:"state",value:l.state,onChange:n,placeholder:"State",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-purple-500/40 transition-all font-bold text-sm sm:text-base"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6 md:gap-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start w-full",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Country"}),e.jsx(W,{value:l.country,onChange:a=>o(s=>({...s,country:a})),variant:"darker",className:"w-full"})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"ZIP Code"}),e.jsxs("div",{className:"relative w-full",children:[e.jsx("input",{type:"text",name:"zip_code",value:l.zip_code,onChange:n,placeholder:"Enter Zip Code",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-purple-500/40 transition-all font-bold pr-12 text-sm sm:text-base"}),O&&e.jsx("div",{className:"absolute right-4 top-1/2 -translate-y-1/2",children:e.jsx(se,{className:"w-5 h-5 text-purple-400 animate-spin"})})]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6 md:gap-8",children:[e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Country of Birth"}),e.jsxs("div",{className:"relative w-full",children:[e.jsx(A,{className:"absolute left-4 sm:left-6 top-1/2 -translate-y-1/2 w-4 h-4 sm:w-5 sm:h-5 text-slate-600"}),e.jsx("input",{name:"place_of_origin",value:l.place_of_origin,onChange:n,placeholder:"City, Country",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl pl-12 sm:pl-16 pr-4 sm:pr-6 text-white outline-none focus:border-purple-500/40 transition-all font-bold text-sm sm:text-base"})]})]}),e.jsxs("div",{className:"space-y-2 sm:space-y-3 flex flex-col items-start w-full",children:[e.jsx("label",{className:"text-[11px] sm:text-[12px] font-black text-[#555a7a] uppercase tracking-wider italic text-left",children:"Mobile Number"}),e.jsx("input",{type:"tel",name:"mobile_number",value:l.mobile_number,onChange:n,placeholder:"Mobile Number",className:"w-full h-[50px] sm:h-[56px] md:h-[60px] bg-black/40 border border-white/5 rounded-xl sm:rounded-2xl px-4 sm:px-6 text-white outline-none focus:border-purple-500/40 transition-all font-bold text-sm sm:text-base"})]})]})]}),v&&e.jsx(J,{error:v,onDismiss:()=>k(null)}),!m(2)&&e.jsxs("div",{className:"p-4 bg-purple-500/10 border border-purple-500/20 rounded-2xl text-purple-200 text-[11px] font-bold uppercase tracking-wider flex items-center gap-2.5",children:[e.jsx(Pe,{className:"w-4 h-4 text-purple-400 shrink-0"}),e.jsx("span",{children:"Please confirm your Address, City, State, Country, Country of Birth, and Mobile Number before proceeding."})]}),e.jsxs("div",{className:"flex gap-3 sm:gap-4 pt-2",children:[e.jsxs("button",{onClick:V,className:"flex-1 py-4 sm:py-5 bg-white/5 border border-white/5 text-slate-400 hover:text-white rounded-2xl sm:rounded-[2rem] font-bold text-xs uppercase tracking-wider hover:bg-white/10 transition-all flex items-center justify-center gap-2 cursor-pointer",children:[e.jsx(Ae,{className:"w-4 h-4"})," Back"]}),e.jsxs("button",{onClick:$,disabled:_||!m(2),className:"flex-[2] py-4 sm:py-5 bg-purple-600 text-white rounded-2xl sm:rounded-[2rem] font-black text-xs uppercase tracking-[0.25em] italic shadow-xl shadow-purple-900/40 hover:scale-[1.01] active:scale-[0.99] transition-all flex items-center justify-center gap-3 disabled:opacity-50 disabled:hover:scale-100 disabled:cursor-not-allowed cursor-pointer",children:[_?"Saving...":"Save Profile"," ",e.jsx(f,{className:"w-4 h-4 sm:w-5 sm:h-5"})]})]})]},"p-step2"),i===C&&e.jsxs(j.div,{initial:{opacity:0,scale:.9}
1,animate:{opacity:1,scale:1},className:"text-center py-16 space-y-10",children:[e.jsxs("div",{className:"relative inline-block",children:[e.jsx("div",{className:"absolute inset-0 bg-cyan-500 blur-[80px] opacity-20 animate-pulse"}),e.jsx("div",{className:"w-32 h-32 bg-cyan-500/10 border border-cyan-500/20 rounded-[3rem] flex items-center justify-center mx-auto text-cyan-400 relative z-10",children:e.jsx(le,{className:"w-16 h-16"})})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("h3",{className:"text-3xl font-black text-white italic uppercase tracking-tighter",children:["Onboarding ",e.jsx("span",{className:"text-cyan-400",children:"Complete"})]}),e.jsxs("p",{className:"text-[12px] text-[#555a7a] font-black uppercase tracking-[0.3em] leading-relaxed",children:["Identity synchronized. Security clearance granted.",e.jsx("br",{}),"Redirecting to secure terminal..."]})]})]},"success-step")]})})]})}export{Ue 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.