1import{a as e}from"./rolldown-runtime-CCT_m2FY.js";import{d as a}from"./react-Fyjr9G8a.js";import{At as s,B as r,L as t,R as i,V as l,_t as d,ut as n,w as o}from"./lucide-Du5NTjuW.js";import{l as c}from"./motion-DIT2RfQy.js";import{i as m,n as u}from"./auth-context-kM9U-ZIA.js";import{t as p}from"./utils-CbNGOHui.js";import{n as x}from"./dist-BVbUjs3x.js";import{r as b}from"./claim-index-context-o-C5eRr0.js";import{t as h}from"./page-header-DdcYubPZ.js";import{r as g}from"./shimmer-BNQTmbds.js";import{u as N}from"./api-CDoApT6I.js";import{t as j}from"./student-index-badge-CnLmddQ9.js";var f=e(s(),1),v=c();function y(e){const a=/^\d{12}$/.test(e),s=/^\d{9}[VvXx]$/.test(e);if(!a&&!s)return null;let r,t;a?(r=parseInt(e.slice(0,4),10),t=parseInt(e.slice(4,7),10)):(r=1900+parseInt(e.slice(0,2),10),t=parseInt(e.slice(2,5),10));const i=t>=500?"female":"male",l=t>=500?t-500:t,d=new Date(Date.UTC(r,0,l-1));return Number.isNaN(d.getTime())?null:{dob:d.toISOString().slice(0,10),gender:i}}var w=["Ampara","Anuradhapura","Badulla","Batticaloa","Colombo","Galle","Gampaha","Hambantota","Jaffna","Kalutara","Kandy","Kegalle","Kilinochchi","Kurunegala","Mannar","Matale","Matara","Monaragala","Mullaitivu","Nuwara Eliya","Polonnaruwa","Puttalam","Ratnapura","Trincomalee","Vavuniya"],C=[{value:"male",label:"Male"},{value:"female",label:"Female"},{value:"other",label:"Prefer not to say"}],q={firstName:"",lastName:"",dob:"",gender:"",nationalId:"",mobileNumber:"",whatsappNumber:"",examYear:"",stream:"",institute:"",school:"",district:"",nearestCity:"",address:"",parentName:"",parentNumber:""};function S({title:e,subtitle:a,isEditable:s,isEditing:r,onEditToggle:t}){return(0,v.jsxs)("div",{className:"flex items-center justify-between pb-4 border-b border-gray-100 w-full gap-4",children:[(0,v.jsxs)("div",{className:"flex items-center gap-3",children:[(0,v.jsx)("div",{className:"w-1 h-5 bg-primary rounded-full"}),(0,v.jsxs)("div",{className:"text-left",children:[(0,v.jsx)("h3",{className:"text-sm font-semibold text-gray-900",children:e}),a&&(0,v.jsx)("p",{className:"text-[11px] text-gray-400 font-medium",children:a})]})]}),s&&t&&(0,v.jsx)("button",{type:"button",onClick:t,className:p("h-8 transition-all border shrink-0 active:scale-95 flex items-center justify-center gap-1",r?"px-3 rounded-xl text-xs font-bold bg-slate-50 border-slate-200 text-slate-500 hover:bg-slate-100 hover:text-slate-700":"w-8 rounded-xl bg-primary/5 border-primary/10 text-primary hover:bg-primary/10 hover:text-primary-hover"),title:r?"Cancel editing":"Edit section",children:r?"Cancel":(0,v.jsx)(o,{className:"size-3.5"})})]})}function E({label:e,children:a,required:s,full:r,error:t}){return(0,v.jsxs)("div",{className:p("flex flex-col gap-1.5",r&&"sm:col-span-2"),children:[(0,v.jsxs)("label",{className:"text-[10px] font-semibold text-gray-400 uppercase tracking-widest px-1",children:[e,s&&(0,v.jsx)("span",{className:"text-primary ml-0.5",children:"*"})]}),a,t&&(0,v.jsx)("p",{className:"text-[11px] text-red-500 font-medium px-1",children:t})]})}var I="w-full px-4 py-3 rounded-2xl bg-gray-50 border border-gray-100 text-sm font-semibold text-gray-900 placeholder:text-gray-300 focus:outline-none focus:border-primary/30 focus:bg-white disabled:bg-slate-50/50 disabled:text-slate-400 disabled:border-slate-200/50 disabled:cursor-not-allowed transition-all",z="w-full px-4 py-3 rounded-2xl bg-red-50 border border-red-300 text-sm font-semibold text-gray-900 placeholder:text-gray-300 focus:outline-none focus:border-red-400 focus:bg-white disabled:opacity-75 disabled:cursor-not-allowed transition-all",P=p(I,"cursor-pointer appearance-none"),A=p(z,"cursor-pointer appearance-none"),Y="w-full px-4 py-3 rounded-2xl bg-gray-50/60 border border-dashed border-gray-200 text-sm font-semibold text-gray-400 cursor-not-allowed select-none flex items-center gap-2",k=()=>(0,v.jsxs)("svg",{className:"size-3.5 shrink-0",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,v.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,v.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,v.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z"}),(0,v.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]});function M(){return(0,v.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 lg:gap-8 items-start",children:[(0,v.jsxs)("div",{className:"lg:col-span-4 space-y-4",children:[(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 border border-gray-200 space-y-5",children:[(0,v.jsxs)("div",{className:"flex items-center gap-3 pb-4 border-b border-gray-100",children:[(0,v.jsx)("div",{className:"w-1 h-5 bg-primary/30 rounded-full"}),(0,v.jsxs)("div",{className:"space-y-1.5",children:[(0,v.jsx)(g,{className:"h-3 w-16"}),(0,v.jsx)(g,{className:"h-2.5 w-32"})]})]}),(0,v.jsxs)("div",{className:"flex flex-col items-center gap-4 py-2",children:[(0,v.jsx)(g,{className:"size-24 rounded-3xl"}),(0,v.jsxs)("div",{className:"space-y-2 flex flex-col items-center",children:[(0,v.jsx)(g,{className:"h-3.5 w-32"}),(0,v.jsx)(g,{className:"h-2.5 w-20"})]})]}),(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(g,{className:"h-11 rounded-2xl"}),(0,v.jsx)(g,{className:"h-11 rounded-2xl"})]})]}),(0,v.jsx)(g,{className:"hidden lg:block h-12 rounded-2xl"})]}),(0,v.jsx)("div",{className:"lg:col-span-8 space-y-6",children:[0,1,2].map(e=>(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 md:p-8 border border-gray-200 space-y-6",children:[(0,v.jsxs)("div",{className:"flex items-center gap-3 pb-4 border-b border-gray-100",children:[(0,v.jsx)("div",{className:"w-1 h-5 bg-primary/30 rounded-full"}),(0,v.jsx)(g,{className:"h-3.5 w-36"})]}),(0,v.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[0,1,2,3].map(e=>(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(g,{className:"h-2.5 w-20"}),(0,v.jsx)(g,{className:"h-11 rounded-2xl"})]},e))})]},e))})]})}
1function L(){const{user:e,refreshUser:a}=u(),{requestClaim:s}=b(),[i,o]=(0,f.useState)(!0),[c,h]=(0,f.useState)(q),[g,L]=(0,f.useState)(q),[$,V]=(0,f.useState)(!1),[D,F]=(0,f.useState)({}),[T,B]=(0,f.useState)([]),[G,O]=(0,f.useState)([]),[H,K]=(0,f.useState)([]);(0,f.useEffect)(()=>{Promise.all([N.getExamYears(),N.getStreams(),N.getInstitutes()]).then(([e,a,s])=>{B(e.map(e=>e.value.replace(/\s+A\/L$/i,"").trim())),O(a.map(e=>e.value)),K(s.map(e=>e.value))}).catch(()=>{})},[]);const[J,U]=(0,f.useState)({personal:!1,contact:!1,academic:!1,location:!1,parent:!1}),R=e=>{U(a=>{const s=a[e];return s&&h(a=>{const s={...a},r={personal:["firstName","lastName","nationalId","gender","dob"],contact:["mobileNumber","whatsappNumber"],academic:["examYear","stream","school","institute"],location:["district","nearestCity","address"],parent:["parentName","parentNumber"]};for(const t of r[e])s[t]=g[t];return F(a=>{const s={...a};for(const t of r[e])delete s[t];return s}),s}),{...a,[e]:!s}})},X=!e?.isProfileComplete,W=e=>X||J[e],_=JSON.stringify(c)!==JSON.stringify(g);function Q(e,a){const s=/^(\+94|0)[0-9]{9}$/;switch(e){case"firstName":return a.trim()?void 0:"First name is required";case"lastName":return a.trim()?void 0:"Last name is required";case"nationalId":return a.trim()?/^\d{12}$|^\d{9}[VvXx]$/.test(a)?void 0:"Valid NIC: 12 digits or 9 digits + V/X":"National ID is required";case"mobileNumber":return a.trim()?s.test(a.replace(/\s/g,""))?void 0:"Valid format: +94760417367 or 0760417367":"Mobile number is required";case"whatsappNumber":return a.trim()?s.test(a.replace(/\s/g,""))?void 0:"Valid format: +94760417367 or 0760417367":"WhatsApp number is required";case"dob":return a?void 0:"Date of birth is required";case"gender":return a?void 0:"Gender is required";case"examYear":return a?void 0:"Exam year is required";case"stream":return a?void 0:"Stream is required";case"institute":return a?void 0:"Institute is required";case"school":return a.trim()?void 0:"School name is required";case"district":return a?void 0:"District is required";case"nearestCity":return a.trim()?void 0:"Nearest city is required";case"address":return a.trim()?void 0:"Address is required";case"parentName":return a.trim()?void 0:"Parent name is required";case"parentNumber":return a.trim()?s.test(a.replace(/\s/g,""))?void 0:"Valid format: +94760417367 or 0760417367":"Parent mobile is required";default:return}}(0,f.useEffect)(()=>{m("/api/profile").then(({user:e})=>{const a={firstName:e.firstName??"",lastName:e.lastName??"",dob:e.dob?e.dob.slice(0,10):"",gender:e.gender??"",nationalId:e.nationalId??"",mobileNumber:e.mobileNumber??"",whatsappNumber:e.whatsappNumber??"",examYear:e.examYear??"",stream:e.stream??"",institute:e.institute??"",school:e.school??"",district:e.district??"",nearestCity:e.nearestCity??"",address:e.address??"",parentName:e.parentName??"",parentNumber:e.parentNumber??""};h(a),L(a)}).catch(()=>{}).finally(()=>o(!1))},[]);const Z=e=>a=>{const s=a.target.value;F(a=>({...a,[e]:Q(e,s)})),h(a=>{const r={...a,[e]:s};if("nationalId"===e){const e=y(s);e&&(r.dob=e.dob,r.gender=e.gender)}return r})};async function ee(){if(function(){const e=["firstName","lastName","dob","gender","nationalId","mobileNumber","whatsappNumber","examYear","stream","institute","school","district","nearestCity","address","parentName","parentNumber"],a={};for(const r of e){const e=Q(r,c[r]);e&&(a[r]=e)}F(a);const s=Object.keys(a).length;return!(s>0&&(x.error("Please fix the errors before saving",{description:`${s} field${s>1?"s need":" needs"} attention`}),1))}()){V(!0);try{const e=await m("/api/profile",{method:"PATCH",body:JSON.stringify(c)});await a(),e.user?.isProfileComplete&&!e.user.studentIndex&&s(),x.success("Profile saved!",{description:"Your details have been updated."}),L(c),U({personal:!1,contact:!1,academic:!1,location:!1,parent:!1})}catch(e){x.error("Failed to save",{description:e.message??"Please try again."})}finally{V(!1)}}}const ae=`${c.firstName?.[0]??""}${c.lastName?.[0]??""}`.toUpperCase(),se=()=>(0,v.jsx)("button",{type:"button",onClick:ee,disabled:$||!_,className:"w-full flex items-center justify-center gap-2 px-6 py-3.5 rounded-2xl font-semibold text-sm transition-all shadow-xl bg-primary text-white shadow-primary/20 hover:opacity-90 active:scale-[0.98] disabled:opacity-40 disabled:cursor-not-allowed disabled:shadow-none disabled:active:scale-100 disabled:hover:opacity-40",children:$?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l,{className:"size-4 animate-spin"})," Savingâ¦"]}):"Save Changes"});return!e||i?(0,v.jsx)(M,{}):(0,v.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 lg:gap-8 items-start",children:[(0,v.jsxs)("div",{className:"lg:col-span-4 lg:sticky lg:top-6 space-y-4",children:[(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 border border-gray-200 space-y-5",children:[(0,v.jsx)(S,{title:"Account",subtitle:"Login identity â read only"}),(0,v.jsxs)("div",{className:"flex flex-col items-center gap-4 py-2",children:[(0,v.jsxs)("div",{className:"relative",children:[e.avatar?(0,v.jsx)("img",{src:e.avatar,alt:c.firstName,referrerPolicy:"no-referrer",className:"size-24 rounded-3xl object-cover"}):(0,v.jsx)("div",{className:"size-24 rounded-3xl bg-primary text-white flex items-center justify-center text-3xl font-semibold",children:ae||"U"}),(0,v.jsx)("div",{className:"absolute -bottom-1 -right-1 size-8 rounded-full bg-white border border-gray-200 flex items-center justify-center shadow-sm",children:(0,v.jsx)(d,{className:"size-4 text-gray-400"})})]}),(0,v.jsxs)("div",{className:"text-center",children:[(0,v.jsxs)("p",{className:"font-semibold text-gray-900 flex items-center gap-1.5",children:[c.firstName," ",c.lastName,e.isProfileComplete&&(0,v.jsxs)("span",{className:"group/tick relative inline-flex",children:[(0,v.jsx)("img",{src:"/icons/verified.png",alt:"
1Verified",className:"size-4 cursor-default"}),(0,v.jsxs)("span",{className:"pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 whitespace-nowrap rounded-lg bg-gray-900 px-2.5 py-1.5 text-[10px] font-semibold text-white opacity-0 group-hover/tick:opacity-100 transition-opacity duration-150 shadow-lg",children:["Profile completed & verified",(0,v.jsx)("span",{className:"absolute top-full left-1/2 -translate-x-1/2 border-4 border-transparent border-t-gray-900"})]})]})]}),(0,v.jsxs)("p",{className:"text-xs text-gray-400 font-medium",children:[c.examYear?`${c.examYear.replace(/\s*A\/L\s*$/i,"").trim()} A/L`:"",c.examYear&&c.stream?" · ":"",c.stream]})]})]}),(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(j,{layout:"row"}),(0,v.jsxs)("div",{className:Y,children:[(0,v.jsx)(t,{className:"size-3.5 shrink-0"}),(0,v.jsx)("span",{className:"truncate text-xs",children:e.email}),(0,v.jsx)(r,{className:"size-3 ml-auto shrink-0"})]}),(0,v.jsxs)("div",{className:Y,children:[(0,v.jsx)(k,{}),(0,v.jsx)("span",{className:"text-xs",children:"Google Connected"}),(0,v.jsx)(r,{className:"size-3 ml-auto shrink-0"})]})]})]}),(0,v.jsx)("div",{className:"hidden lg:block",children:(0,v.jsx)(se,{})})]}),(0,v.jsxs)("div",{className:"lg:col-span-8 space-y-6",children:[(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 md:p-8 border border-gray-200 space-y-6",children:[(0,v.jsx)(S,{title:"Personal Details",isEditable:!X,isEditing:J.personal,onEditToggle:()=>R("personal")}),(0,v.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,v.jsx)(E,{label:"First Name",required:!0,error:D.firstName,children:(0,v.jsx)("input",{className:D.firstName?z:I,value:c.firstName,onChange:Z("firstName"),placeholder:"First name",disabled:!W("personal")})}),(0,v.jsx)(E,{label:"Last Name",required:!0,error:D.lastName,children:(0,v.jsx)("input",{className:D.lastName?z:I,value:c.lastName,onChange:Z("lastName"),placeholder:"Last name",disabled:!W("personal")})}),(0,v.jsxs)(E,{label:"National ID",required:!0,full:!0,error:D.nationalId,children:[(0,v.jsx)("input",{className:D.nationalId?z:I,value:c.nationalId,onChange:Z("nationalId"),placeholder:"e.g. 200212345678",maxLength:12,disabled:!W("personal")}),y(c.nationalId)&&(0,v.jsxs)("p",{className:"text-[10px] text-emerald-600 font-semibold px-1 flex items-center gap-1",children:[(0,v.jsx)(n,{className:"size-3"})," DOB & gender auto-filled from NIC"]})]}),(0,v.jsx)(E,{label:"Gender",required:!0,error:D.gender,children:(0,v.jsxs)("select",{className:D.gender?A:P,value:c.gender,onChange:Z("gender"),disabled:!W("personal"),children:[(0,v.jsx)("option",{value:"",children:"Select gender"}),C.map(e=>(0,v.jsx)("option",{value:e.value,children:e.label},e.value))]})}),(0,v.jsx)(E,{label:"Date of Birth",required:!0,error:D.dob,children:(0,v.jsx)("input",{className:D.dob?z:I,type:"date",value:c.dob,onChange:Z("dob"),disabled:!W("personal")})})]})]}),(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 md:p-8 border border-gray-200 space-y-6",children:[(0,v.jsx)(S,{title:"Contact",isEditable:!X,isEditing:J.contact,onEditToggle:()=>R("contact")}),(0,v.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,v.jsx)(E,{label:"Mobile Number",required:!0,error:D.mobileNumber,children:(0,v.jsx)("input",{className:D.mobileNumber?z:I,value:c.mobileNumber,onChange:Z("mobileNumber"),placeholder:"+94771234567",disabled:!W("contact")})}),(0,v.jsx)(E,{label:"WhatsApp Number",required:!0,error:D.whatsappNumber,children:(0,v.jsx)("input",{className:D.whatsappNumber?z:I,value:c.whatsappNumber,onChange:Z("whatsappNumber"),placeholder:"+94771234567",disabled:!W("contact")})})]})]}),(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 md:p-8 border border-gray-200 space-y-6",children:[(0,v.jsx)(S,{title:"Academic Information",isEditable:!X,isEditing:J.academic,onEditToggle:()=>R("academic")}),(0,v.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,v.jsx)(E,{label:"A/L Exam Year",required:!0,error:D.examYear,children:(0,v.jsxs)("select",{className:D.examYear?A:P,value:c.examYear,onChange:Z("examYear"),disabled:!W("academic"),children:[(0,v.jsx)("option",{value:"",children:"Select year"}),T.map(e=>(0,v.jsx)("option",{children:e},e))]})}),(0,v.jsx)(E,{label:"Stream",required:!0,error:D.stream,children:(0,v.jsxs)("select",{className:D.stream?A:P,value:c.stream,onChange:Z("stream"),disabled:!W("academic"),children:[(0,v.jsx)("option",{value:"",children:"Select stream"}),G.map(e=>(0,v.jsx)("option",{children:e},e))]})}),(0,v.jsx)(E,{label:"School",required:!0,error:D.school,children:(0,v.jsx)("input",{className:D.school?z:I,value:c.school,onChange:Z("school"),placeholder:"School name",disabled:!W("academic")})}),(0,v.jsx)(E,{label:"Institute",required:!0,error:D.institute,children:(0,v.jsxs)("select",{className:D.institute?A:P,value:c.institute,onChange:Z("institute"),disabled:!W("academic"),children:[(0,v.jsx)("option",{value:"",children:"Select institute"}),H.map(e=>(0,v.jsx)("option",{value:e,children:e},e))]})})]})]}),(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 md:p-8 border border-gray-200 space-y-6",children:[(0,v.jsx)(S,{title:"Location",isEditable:!X,isEditing:J.location,onEditToggle:()=>R("location")}),(0,v.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,v.jsx)(E,{label:"District",required:!0,error:D.district,children:(0,v.jsxs)("select",{className:D.district?A:P,value:c.district,onChange:Z("district"),disabled:!W("location"),children:[(0,v.jsx)("option",{value:"",children:"Select district"}),w.map(e=>(0,v.jsx)("option",{children:e},e))]})}),(0,v.jsx)(E,{label:"Nearest City",required:!0,error:D.nearestCity,children:(0,v.jsx)("input",{className:D.nearestCity?z:I,value:c.nearestCity,onChange:Z("nearestCity"),placeholder:"City or town",disabled:!W("location")})}),(0,v.jsx)(E,{label:"Address",full:!0,required:!0,error:D.address,children:(0,v.jsx)("textarea",{className:p(D.address?z:I,"resize-none h-20"),value:c.address,onChange:Z("address"),placeholder:"Full address",disabled:!W("location")})})]})]}),(0,v.jsxs)("div",{className:"bg-white rounded-3xl p-6 md:p-8 border border-gray-200 space-y-6",children:[(0,v.jsx)(S,{title:"Parent / Guardian",subtitle:"Required for student verification",isEditable:!X,isEditing:J.parent,onEditToggle:()=>R("parent")}),(0,v.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,v.jsx)(E,{label:"Parent Name",required:!0,error:D.parentName,children:(0,v.jsx)("input",{className:D.parentName?z:I,value:c.parentName,onChange:Z("parentName"),placeholder:"Full name",disabled:!W("parent")})}),(0,v.jsx)(E,{label:"Parent Mobile",required:!0,error:D.parentNumber,children:(0,v.jsx)("input",{className:D.parentNumber?z:I,value:c.parentNumber,onChange:Z("parentNumber"),placeholder:"+94771234567",disabled:!W("parent")})})]})]}),(0,v.jsx)("div",{className:"lg:hidden",children:(0,v.jsx)(se,{})})]})]})}function $(){const{logout:e}=u(),s=a();return(0,v.jsxs)("div",{className:"space-y-10 animate-in fade-in duration-150 motion-reduce:animate-none",children:[(0,v.jsx)(h,{title:"My Profile"}),(0,v.jsx)(L,{}),(0,v.jsxs)("button",{type:"button",onClick:()=>{e(),s("/")},className:"lg:hidden w-full flex items-center justify-center gap-3 px-4 py-3.5 rounded-2xl text-red-500 border border-red-200 hover:bg-red-50/50 transition-all font-semibold text-sm",children:[(0,v.jsx)(i,{className:"size-5"}
1),"Logout"]})]})}export{$ 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.