1import{c as ie,b as ne,r as C,j as e,L as Z}from"./index-D3Vf-90J.js";import de from"./html2canvas.esm-CBrSDip1.js";import{h as oe,D as ce,N as E,b as L,k as V,M as me}from"./Footer-ByKrdv9y.js";import{u as xe}from"./useS3Data-CEIw81cJ.js";import{f as pe,g as he}from"./image-utils-Dh8CG_2V.js";import{A as fe,s as ge}from"./sportfolio-logoNew-CjOg_fzk.js";import{h as be,a as Y,r as ue,s as je}from"./meet-results-feed-DZyUfI0F.js";import{U as I}from"./user-xJOrGjMy.js";import{A as Q}from"./arrow-left-Bu2EJJni.js";import{S as ye}from"./share-2-DuV6AAj9.js";import{S as we}from"./shield-BFm3-wpM.js";import{A as Ne}from"./award-zB4uOCw9.js";import{B as ve}from"./building-2-ClyoXCZh.js";import{U as Ae}from"./users-CKaxzwPa.js";import{B as Se}from"./badge-check-D9byvTh6.js";import{C as ke}from"./calendar-DfHtJt0Z.js";import{C as ee}from"./circle-check-BVR9LRcs.js";import{L as Te}from"./lock-DFBrtIrK.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Ce=ie("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Ee=p=>{if(!p)return"";try{const j=new Date(p);return isNaN(j.getTime())?"":j.toLocaleDateString("en-US",{month:"short",year:"numeric"})}catch{return""}},Xe=()=>{var M,U,D,$;const{athleteSlug:p}=ne(),[j,B]=C.useState(!1),{data:h,loading:te}=xe(ce.athletes,oe),A=a=>a==null||a===""?"":String(a).trim(),P=p?decodeURIComponent(p):"",t=(M=h==null?void 0:h.athletes)==null?void 0:M.find(a=>{var c;return[A(a.registrationNumber),A(a.reg_id),A(a.id),(c=a.name)==null?void 0:c.toLowerCase().replace(/\s+/g,"-")].filter(Boolean).some(f=>{const g=encodeURIComponent(f);return f===P||g===p||f.toString()===P})}),[R,se]=C.useState(null);C.useEffect(()=>{let a=!1;return be().then(n=>{a||se(n)}).catch(()=>{}),()=>{a=!0}},[]);const _=Y(t==null?void 0:t.name),re=!!_&&((h==null?void 0:h.athletes)||[]).filter(a=>Y(a.name)===_).length===1,y=R&&t?ue(R,{userId:je(t.image),name:t.name,district:t.district,matchByName:re}):null,S=y?{gold:y.medals[0],silver:y.medals[1],bronze:y.medals[2]}:{gold:((U=t==null?void 0:t.medals)==null?void 0:U.gold)||0,silver:((D=t==null?void 0:t.medals)==null?void 0:D.silver)||0,bronze:(($=t==null?void 0:t.medals)==null?void 0:$.bronze)||0};if(te)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(E,{}),e.jsxs("div",{className:"container mx-auto px-4 py-32 flex flex-col items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full border-4 border-primary border-t-transparent animate-spin"}),e.jsx("p",{className:"font-inter text-muted-foreground",children:"Loading athlete profileâ¦"})]}),e.jsx(L,{})]});if(!t)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(E,{}),e.jsxs("div",{className:"container mx-auto px-4 py-32 text-center",children:[e.jsx(I,{className:"w-16 h-16 mx-auto mb-4 text-muted-foreground/40"}),e.jsx("h1",{className:"font-poppins text-3xl font-bold mb-3 text-foreground",children:"Athlete Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"The athlete profile you are looking for does not exist."}),e.jsxs(Z,{to:"/athletes",className:"inline-flex items-center gap-2 text-primary hover:underline font-medium",children:[e.jsx(Q,{className:"w-4 h-4"}),"Back to Athletes"]})]}),e.jsx(L,{})]});const K=t.district||"",ae=pe(t.category)||"Athlete Member",F=t.discipline||"",O=t.org_name||"",q=t.clubName||"",z=t.coach||"",H=t.personalBest||"",w=t.registrationNumber||t.reg_id||"",k=Ee(t.membershipJoinedAt||t.created_at),le=async()=>{var f;const a=document.getElementById("athlete-front-card"),n=window.location.href,c=`${t.name} - Athlete profile on Kerala State Athletics Association 7${n} 8 9One profile. Endless opportunities. 10Powered by Kerala State Athletics Association and Sportfolio 11Join thousands shaping the future of sports! 12 13#Sportfolio #KSAA #SportsKerala #SportsCommunity #LetsPlay #Athletics #SportsTech #PlayWithPride`;if(!a){navigator.share?navigator.share({title:`${t.name} - KSAA Athlete`,text:c,url:n}).catch(()=>{}):navigator.clipboard.writeText(c);return}B(!0);try{const g=Array.from(a.querySelectorAll("img"));await Promise.all(g.map(i=>
13i.complete&&i.naturalWidth>0?Promise.resolve():new Promise(d=>{i.addEventListener("load",()=>d(),{once:!0}),i.addEventListener("error",()=>d(),{once:!0})}))),(f=document.fonts)!=null&&f.ready&&await document.fonts.ready,await Promise.all(g.map(async i=>{try{i.decode&&await i.decode()}catch{}}));const W=a.getBoundingClientRect(),G=await de(a,{useCORS:!0,allowTaint:!1,backgroundColor:"#ffffff",scale:2,width:Math.ceil(W.width),height:Math.ceil(W.height),onclone:i=>{const d=i.getElementById("athlete-front-card");if(!d)return;const b=d.querySelector(".relative.w-full.rounded-2xl");b&&(b.style.borderRadius="16px",b.style.overflow="hidden",b.style.backgroundColor="#ffffff",b.style.border="1px solid #a7f3d0",b.style.boxShadow="none");const N=d.querySelector(".bg-gradient-hero");N&&(N.style.background="linear-gradient(135deg, #1c522f 0%, #26633b 50%, #337a4c 100%)",N.style.borderTopLeftRadius="16px",N.style.borderTopRightRadius="16px");const l=d.querySelector(".absolute.top-3.left-4 span");if(l){l.style.backdropFilter="none",l.style.webkitBackdropFilter="none",l.style.backgroundColor="rgba(255, 255, 255, 0.25)",l.style.color="#ffffff",l.style.border="1px solid rgba(255, 255, 255, 0.4)",l.style.display="inline-block",l.style.height="24px",l.style.lineHeight="24px",l.style.padding="0px 12px",l.style.borderRadius="9999px",l.style.whiteSpace="nowrap";const s=l.querySelector("svg");s&&(s.setAttribute("width","12"),s.setAttribute("height","12"),s.style.display="inline-block",s.style.verticalAlign="middle",s.style.width="12px",s.style.height="12px",s.style.marginRight="6px",s.style.position="static");let r=l.querySelector("span.role-text-span");if(!r){const m=Array.from(l.childNodes).filter(x=>x.nodeType===Node.TEXT_NODE).map(x=>x.textContent).join("").trim();m&&(Array.from(l.childNodes).forEach(x=>{x.nodeType===Node.TEXT_NODE&&l.removeChild(x)}),r=document.createElement("span"),r.className="role-text-span",r.textContent=m,l.appendChild(r))}r&&(r.style.display="inline-block",r.style.verticalAlign="middle",r.style.lineHeight="1",r.style.color="#ffffff",r.style.fontSize="10px",r.style.fontWeight="700",r.style.letterSpacing="0.1em",r.style.textTransform="uppercase",r.style.position="relative",r.style.top="-4.5px")}const o=d.querySelector(".rounded-full.bg-emerald-50");if(o){o.style.display="inline-flex",o.style.alignItems="center",o.style.justifyContent="center",o.style.height="24px",o.style.lineHeight="1",o.style.padding="0px 12px",o.style.borderRadius="9999px";const s=o.innerHTML;o.innerHTML=`<span style="position: relative; top: -3px; display: inline-flex; align-items: center; gap: 6px;">${s}</span>`}const v=d.querySelector(".grid-cols-2");v&&(v.style.display="grid",v.style.gridTemplateColumns="repeat(2, minmax(0, 1fr))",v.style.gap="8px"),d.querySelectorAll(".rounded-xl.bg-emerald-50\\/70").forEach(s=>{const r=!!s.closest(".grid-cols-2");s.style.display="flex",s.style.alignItems="center",s.style.padding=r?"6px 8px":"8px 12px",s.style.backgroundColor="#f0fdf4",s.style.borderColor="#dcfce7",s.style.borderRadius="12px",s.style.boxSizing="border-box";const m=s.querySelector(".min-w-0");m&&(m.style.position="relative",m.style.top=r?"0px":"-2px",m.style.overflow="visible"),s.querySelectorAll("p").forEach(u=>{r?(u.style.overflow="visible",u.style.textOverflow="clip",u.style.whiteSpace="nowrap"):(u.style.whiteSpace="normal",u.style.wordBreak="break-word",u.style.lineHeight="1.3")})});const T=d.querySelector(".border-t.border-emerald-100");if(T){const s=T.querySelector(".uppercase"),r=T.querySelector("svg");s&&(s.style.position="relative",s.style.top="-3px"),r&&(r.style.position="relative",r.style.top="5px")}}}),J=await new Promise(i=>G.toBlob(i,"image/png"));if(!J)throw new Error("Failed to create image");const X=new File([J],`${t.name.replace(/\s+/g,"_")}_KSAA_Athlete_Card.png`,{type:"image/png"});if(navigator.share&&navigator.canShare&&navigator.canShare({files:[X]}))await navigator.share({title:`${t.name} - KSAA Athlete Profile`,text:c,files:[X]});else{const i=document.createElement("a");i.href=G.toDataURL("image/png"),i.download=`${t.name.replace(/\s+/g,"_")}_KSAA_Athlete_Card.png`,i.click(),navigator.clipboard.writeText(c)}}catch(g){console.error("Card share failed:",g),navigator.share?navigator.share({title:`${t.name} - KSAA Athlete`,text:c,url:n}).catch(()=>{}):navigator.clipboard.writeText(c)}finally{B(!1)}};return e.jsxs("div",{className:"min-h-screen font-inter flex flex-col bg-background",children:[e.jsx(E,{}),e.jsxs("main",{className:"flex-grow container mx-auto px-4 py-8 max-w-4xl mb-16",children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs(Z,{to:"/athletes",className:"inline-flex items-center gap-2 text-sm font-medium text-muted-foreground hover:text-primary transition-colors group",children:[e.jsx(Q,{className:"w-4 h-4 group-hover:-translate-x-1 transition-transform"}),"Back to All Athletes"]}),e.jsx("button",{type:"button",onClick:le,disabled:j,className:"inline-flex items-center gap-2 px-4 py-2 text-sm font-semibold rounded-full bg-emerald-600 text-white shadow-sm hover:bg-emerald-700 transition disabled:opacity-50",children:j?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-4 h-4 rounded-full border-2 border-white border-t-transparent animate-spin"}),e.jsx("span",{children:"Preparing Card Imageâ¦"})]}):e.jsxs(e.Fragment,{children:[e.jsx(ye,{className:"w-4 h-4"}),e.jsx("span",{children:"Share Profile Card"})]})})]}),e.jsxs("div",{id:"athlete-id-card-wrapper",className:"grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-10 items-stretch bg-white p-4 rounded-3xl border border-emerald-100 shadow-sm",children:[e.jsxs("div",{id:"athlete-front-card",className:"flex flex-col items-center w-full h-full",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("div",{className:"w-8 h-3 rounded-t-md bg-gradient-to-b from-gray-300 to-gray-400 border border-gray-400/60 shadow-sm"}),e.jsx("div",{className:"flex flex-col items-center gap-0",children:[...Array(3)].map((a,n)=>e.jsx("div",{className:"w-2.5 h-3.5 border-2 border-gray-400/50 rounded-full",style:{marginTop:n===0?0:-3}},n))}),e.jsx("div",{className:"w-6 h-6 rounded-full bg-white border-2 border-gray-300 shadow-inner mt-[-3px] z-10 relative",children:e.jsx("div",{className:"absolute inset-1 rounded-full bg-gray-100"})})]}),e.jsxs("div",{className:"relative w-full h-full flex flex-col justify-between rounded-2xl overflow-hidden mt-[-14px] bg-white border border-emerald-200/80",style:{boxShadow:"0 20px 50px hsla(142,45%,27%,0.12), 0 4px 20px hsla(142,45%,27%,0.08)"},children:[e.jsxs("div",{children:[e.jsxs("div",{className:"h-32 relative overflow-hidden bg-gradient-hero",children:[e.jsx("div",{className:"absolute inset-0 opacity-10",children:e.jsx("div",{className:"absolute top-0 left-0 w-full h-full",style:{backgroundImage:` 14 linear-gradient(60deg, transparent 30%, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.12) 32%, transparent 32%), 15 linear-gradient(-60deg, transparent 30%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 32%, transparent 32%) 16 `}})}),e.jsx("div",{className:"absolute -top-6 -right-6 w-24 h-24 rounded-full bg-white/10 blur-xl"}),e.jsx("div",{className:"absolute top-3 right-4 opacity-20",children:e.jsx("img",{src:V,alt:"",className:"w-12 h-12 object-contain brightness-200"})}),e.jsx("div",{className:"absolute top-3 left-4",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5 bg-white/20 backdrop-blur-md text-white text-[10px] font-bold uppercase tracking-widest px-3 py-1 rounded-full border border-white/25 shadow-sm",children:[e.jsx(we,{className:"w-3 h-3"}),ae]})})]}),e.jsx("div",{className:"relative -mt-16 mx-auto z-20 flex justify-center",children:e.jsx("div",{className:"w-36 h-44 rounded-xl overflow-hidden border-4 border-white bg-slate-50 shadow-[0_10px_25px_rgba(0,0,0,0.15)]",children:e.jsx(fe,{src:t.image?he(t.image):"",alt:t.name,className:"w-full h-full object-contain p-0.5",children:e.jsxs("div",{className:"w-full h-full flex flex-col items-center justify-center bg-emerald-50 text-emerald-600",children:[e.jsx(I,{className:"w-14 h-14 mb-1"}),e.jsx("span",{className:"text-[9px] font-mono text-emerald-700/60 uppercase",children:"PASSPORT PHOTO"})]})})})}),e.jsxs("div",{className:"px-6 pt-3 pb-2",children:[e.jsxs("div",{className:"text-center mb-3",children:[e.jsx("h1",{className:"font-poppins text-xl font-bold text-slate-800 tracking-wide uppercase",children:t.name}),w&&e.jsxs("p",{className:"font-mono text-xs font-semibold text-emerald-700 tracking-wider mt-0.5",children:["KSAA ID: ",w]}),F&&e.jsxs("div",{className:"mt-1.5 inline-flex items-center gap-1.5 rounded-full bg-emerald-50 border border-emerald-200 px-3 py-1 text-[11px] font-semibold text-emerald-700",children:[e.jsx(Ne,{className:"h-3 w-3"}),e.jsx("span",{children:F})]})]}),e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"flex-1 h-px bg-gradient-to-r from-transparent via-emerald-200 to-transparent"}),e.jsx("div",{className:"w-2 h-2 rotate-45",style:{background:"hsl(43,74%,49%)"}}),e.jsx("div",{className:"flex-1 h-px bg-gradient-to-r from-transparent via-emerald-200 to-transparent"})]}),e.jsxs("div",{className:"space-y-2 mb-4",children:[K&&e.jsxs("div",{className:"flex items-start gap-3 rounded-xl px-3 py-2 bg-emerald-50/70 border border-emerald-100",children:[e.jsx("div",{className:"w-7 h-7 rounded-lg bg-emerald-100 flex items-center justify-center flex-shrink-0",children:e.jsx(me,{className:"w-3.5 h-3.5 text-emerald-600"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[9px] uppercase font-bold tracking-widest text-emerald-600/70",children:"District"}),e.jsx("p",{className:"text-xs font-medium text-slate-700 break-words",children:K})]})]}),O&&e.jsxs("div",{className:"flex items-start gap-3 rounded-xl px-3 py-2 bg-emerald-50/70 border border-emerald-100",children:[e.jsx("div",{className:"w-7 h-7 rounded-lg bg-emerald-100 flex items-center justify-center flex-shrink-0 mt-0.5",children:e.jsx(ve,{className:"w-3.5 h-3.5 text-emerald-600"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[9px] uppercase font-bold tracking-widest text-emerald-600/70",children:"Organisation"}),e.jsx("p",{className:"text-xs font-medium text-slate-700 break-words whitespace-normal leading-snug",children:O})]})]}),q&&e.jsxs("div",{className:"flex items-start gap-3 rounded-xl px-3 py-2 bg-emerald-50/70 border border-emerald-100",children:[e.jsx("div",{className:"w-7 h-7 rounded-lg bg-emerald-100 flex items-center justify-center flex-shrink-0 mt-0.5",children:e.jsx(Ae,{className:"w-3.5 h-3.5 text-emerald-600"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[9px] uppercase font-bold tracking-widest text-emerald-600/70",children:"Club"}),e.jsx("p",{className:"text-xs font-medium text-slate-700 break-words whitespace-normal leading-snug",children:q})]})]}),z&&e.jsxs("div",{className:"flex items-start gap-3 rounded-xl px-3 py-2 bg-emerald-50/70 border border-emerald-100",children:[e.jsx("div",{className:"w-7 h-7 rounded-lg bg-emerald-100 flex items-center justify-center flex-shrink-0",children:e.jsx(Se,{className:"w-3.5 h-3.5 text-emerald-600"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[9px] uppercase font-bold tracking-widest text-emerald-600/70",children:"Coach"}),e.jsx("p",{className:"text-xs font-medium text-slate-700 break-words",children:z})]})]}),H&&e.jsxs("div",{className:"flex items-start gap-3 rounded-xl px-3 py-2 bg-emerald-50/70 border border-emerald-100",children:[e.jsx("div",{className:"w-7 h-7 rounded-lg bg-amber-50 flex items-center justify-center flex-shrink-0",children:e.jsx(Ce,{className:"w-3.5 h-3.5 text-amber-600"})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[9px] uppercase font-bold tracking-widest text-amber-700",children:"Personal Best"}),e.jsx("p",{className:"text-xs font-bold text-slate-700 break-words",children:H})]})]}),(t.gender||k)&&e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[t.gender&&e.jsxs("div",{className:"flex items-center gap-2 rounded-xl px-2.5 py-1.5 bg-emerald-50/70 border border-emerald-100 min-w-0",children:[e.jsx("div",{className:"w-6 h-6 rounded-lg bg-emerald-100 flex items-center justify-center flex-shrink-0",children:e.jsx(I,{className:"w-3.5 h-3.5 text-emerald-600"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[8px] uppercase font-bold tracking-wider text-emerald-600/70 leading-none mb-0.5",children:"Gender"}),e.jsx("p",{className:"text-[11px] font-semibold text-slate-700 leading-tight whitespace-nowrap overflow-visible",children:t.gender})]})]}),k&&e.jsxs("div",{className:"flex items-center gap-2 rounded-xl px-2.5 py-1.5 bg-emerald-50/70 border border-emerald-100 min-w-0",children:[e.jsx("div",{className:"w-6 h-6 rounded-lg bg-emerald-100 flex items-center justify-center flex-shrink-0",children:e.jsx(ke,{className:"w-3.5 h-3.5 text-emerald-600"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-[8px] uppercase font-bold tracking-wider text-emerald-600/70 leading-none mb-0.5",children:"Member Since"}),e.jsx("p",{className:"text-[11px] font-semibold text-slate-700 leading-tight whitespace-nowrap overflow-visible",children:k})]})]})]})]}),e.jsxs("div",{className:"mt-3 mb-2",children:[e.jsx("p",{className:"text-[9px] uppercase font-bold tracking-widest text-emerald-700/80 mb-1.5 px-1",children:"Medals & Achievements"}),e.jsxs("div",{className:"grid grid-cols-3 gap-2 rounded-xl overflow-hidden border border-emerald-100 p-2 bg-emerald-50/40 text-center",children:[e.jsxs("div",{className:"py-2 bg-amber-50/90 rounded-lg border border-amber-200/60 shadow-2xs",children:[e.jsx("p",{className:"text-[10px] font-bold text-amber-700 uppercase",children:"ð¥ Gold"}),e.jsx("p",{className:"font-poppins font-bold text-amber-600 text-base mt-0.5",children:S.gold})]}),e.jsxs("div",{className:"py-2 bg-slate-50/90 rounded-lg border border-slate-200/60 shadow-2xs",children:[e.jsx("p",{className:"text-[10px] font-bold text-slate-600 uppercase",children:"ð¥ Silver"}),e.jsx("p",{className:"font-poppins font-bold text-slate-500 text-base mt-0.5",children:S.silver})]}),e.jsxs("div",{className:"py-2 bg-orange-50/90 rounded-lg border border-orange-200/60 shadow-2xs",children:[e.jsx("p",{className:"text-[10px] font-bold text-orange-700 uppercase",children:"ð¥ Bronze"}),e.jsx("p",{className:"font-poppins font-bold text-orange-600 text-base mt-0.5",children:S.bronze})]})]})]})]})]}),e.jsxs("div",{className:"px-6 pb-6 pt-2",children:[e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-emerald-100",children:[e.jsxs("div",{className:"flex items-center gap-1.5 text-[9px] text-emerald-700 font-semibold uppercase tracking-wider",children:[e.jsx(ee,{className:"w-3.5 h-3.5 text-emerald-600"}),e.jsx("span",{children:"Official Registry"})]}),e.jsx("a",{href:"https://sportfolio.in",target:"_blank",rel:"noopener noreferrer",className:"relative inline-flex items-center justify-center",children:e.jsx("img",{src:ge,alt:"Sportfolio",className:"h-5 w-auto opacity-70"})})]}),e.jsx("p",{className:"text-center text-[8px] text-slate-400 tracking-[0.25em] mt-3 font-mono uppercase font-semibold",children:"ATHLETE PROFILE"})]})]})]}),e.jsxs("div",{className:"flex flex-col items-center w-full h-full",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("div",{className:"w-8 h-3 rounded-t-md bg-gradient-to-b from-gray-300 to-gray-400 border border-gray-400/60 shadow-sm"}),e.jsx("div",{className:"flex flex-col items-center gap-0",children:[...Array(3)].map((a,n)=>e.jsx("div",{className:"w-2.5 h-3.5 border-2 border-gray-400/50 rounded-full",style:{marginTop:n===0?0:-3}},n))}),e.jsx("div",{className:"w-6 h-6 rounded-full bg-white border-2 border-gray-300 shadow-inner mt-[-3px] z-10 relative",children:e.jsx("div",{className:"absolute inset-1 rounded-full bg-gray-100"})})]}),e.jsxs("div",{className:"relative w-full h-full flex flex-col justify-between rounded-2xl bg-white border border-emerald-200/80 mt-[-14px]",style:{boxShadow:"0 20px 50px hsla(142,45%,27%,0.12), 0 4px 20px hsla(142,45%,27%,0.08)"},children:[e.jsx
16s("div",{children:[e.jsxs("div",{className:"h-32 relative overflow-hidden bg-gradient-hero rounded-t-2xl flex flex-col items-center justify-center text-center px-4",children:[e.jsx("div",{className:"absolute inset-0 opacity-10",children:e.jsx("div",{className:"absolute top-0 left-0 w-full h-full",style:{backgroundImage:` 17 linear-gradient(60deg, transparent 30%, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.12) 32%, transparent 32%), 18 linear-gradient(-60deg, transparent 30%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 32%, transparent 32%) 19 `}})}),e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.25em] text-white/80",children:"KERALA STATE"}),e.jsx("h2",{className:"text-base font-poppins font-bold text-white tracking-wide",children:"ATHLETICS ASSOCIATION"}),e.jsx("p",{className:"text-[9px] text-white/70 font-mono tracking-widest mt-0.5",children:"ATHLETE PROFILE"})]}),e.jsxs("div",{className:"px-6 pt-6 pb-2",children:[e.jsx("div",{className:"flex justify-center mb-4",children:e.jsx("img",{src:V,alt:"KSAA Logo",className:"w-16 h-16 object-contain drop-shadow-sm"})}),e.jsxs("div",{className:"flex items-center justify-center gap-2 py-1.5 px-3 rounded-full bg-emerald-50 border border-emerald-200 text-emerald-800 text-xs font-semibold mb-2 mx-auto w-fit",children:[e.jsx(ee,{className:"w-4 h-4 text-emerald-600"}),e.jsx("span",{children:"Official Athlete Member"})]}),w&&e.jsxs("p",{className:"text-center font-mono text-[11px] font-semibold text-emerald-700 tracking-wider mb-4",children:["KSAA ID: ",w]}),e.jsxs("div",{className:"rounded-xl bg-emerald-50/50 border border-emerald-100 p-4 space-y-3 text-xs text-slate-600 leading-relaxed",children:[e.jsxs("p",{className:"flex items-start gap-2",children:[e.jsx(Te,{className:"w-3.5 h-3.5 text-emerald-600 shrink-0 mt-0.5"}),e.jsx("span",{children:"This card is an official credential issued by the Kerala State Athletics Association (KSAA) recognizing the holder as a registered athlete member."})]}),e.jsx("p",{children:"Information displayed on this credential is directly synchronized with the official KSAA membership registry."}),e.jsx("p",{className:"font-semibold text-emerald-800 pt-2 border-t border-emerald-100",children:"For validation or inquiries, please visit keralaathletics.org or contact the Kerala State Athletics Association."})]})]})]}),e.jsxs("div",{className:"px-6 pb-6 pt-2",children:[e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-emerald-100 text-xs",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] text-slate-400 uppercase tracking-wider font-bold",children:"ISSUING AUTHORITY"}),e.jsx("p",{className:"font-semibold text-slate-700",children:"Kerala State Athletics Association"})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"text-[9px] text-slate-400 uppercase tracking-wider font-bold",children:"WEBSITE"}),e.jsx("a",{href:"https://keralaathletics.org",target:"_blank",rel:"noreferrer",className:"font-semibold text-emerald-600 hover:underline",children:"keralaathletics.org"})]})]}),e.jsx("p",{className:"text-center text-[8px] text-slate-400 tracking-[0.25em] mt-3 font-mono uppercase font-semibold",children:"ATHLETE PROFILE"})]})]})]})]})]}),e.jsx(L,{})]})};export{Xe 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.