1import{r as a,j as e,as as Ne,t as W,at as ve,au as re,av as H,ap as ye,$ as G,aw as ke,ax as Ce,ay as Se,M as Ie,az as Le,H as de,aA as Pe,u as Ee,a1 as Me,g as Ae,b as Te,c as le,A as De,l as _e,I as Fe,e as $e,d as Oe,f as ne,aB as Ue,D as qe,T as ze,U as Be,B as Qe,aC as Re,aD as Ge,a7 as We,aE as Ke,aF as Ve,k as oe,aG as J,E as Xe,ar as Ye,v as Je,w as Ze}from"./main-D1J5adwP.js";import{u as He}from"./useMutation-DB_19_-A.js";import{D as et,g as tt}from"./DashboardQueryError-Br6cJkE1.js";import{D as Z,g as st}from"./DashboardGroomingCard-BPu9YdXN.js";import{L as at}from"./list-page-pagination-BmheXJnv.js";import{u as rt,m as lt}from"./startupApplication2026Normalize-CDHEKqYe.js";import{u as nt,B as ot}from"./use-favorites-DZ4wU3qR.js";import{u as it}from"./use-toast-DWJasMFe.js";import{C as ct}from"./clock-C62y_Z2n.js";function _({checked:r,onChange:u,icon:i,label:x,accentClass:N,iconClass:d}){return e.jsxs("label",{className:`group flex cursor-pointer items-center gap-3 rounded-xl border px-3 py-2.5 transition-all duration-300 ${r?`${N} shadow-sm`:"border-black/8 bg-white/80 hover:border-teal-blue/25 hover:bg-teal-blue/[0.03]"}`,children:[e.jsx("input",{type:"checkbox",checked:r,onChange:b=>u(b.target.checked),className:"sr-only"}),e.jsx("span",{className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-lg ring-1 transition-transform duration-300 group-hover:scale-105 ${d}`,children:e.jsx(i,{className:"h-4 w-4",strokeWidth:2})}),e.jsx("span",{className:"min-w-0 flex-1 text-xs font-semibold text-dark-teal",children:x}),e.jsx("span",{className:`flex h-4 w-4 shrink-0 items-center justify-center rounded border transition-colors ${r?"border-teal-blue bg-teal-blue text-white":"border-dark-teal/25 bg-white"}`,"aria-hidden":!0,children:r?e.jsx(G,{className:"h-3 w-3"}):null})]})}function dt({searchTerm:r,setSearchTerm:u,selectedIndustry:i,setSelectedIndustry:x,showTop30Only:N,setShowTop30Only:d,showInvFestivalOnly:b,setShowInvFestivalOnly:c,showLocalOnly:m,setShowLocalOnly:F,showForeignOnly:$,setShowForeignOnly:n,industries:K,filteredCount:V,totalCount:g,totalIndustryCount:h,showSavedOnly:p=!1,setShowSavedOnly:k,showInterestedOnly:C=!1,setShowInterestedOnly:f,interestedCount:O=0,selectedFundingStages:j=[],setSelectedFundingStages:E}){const L=nt(),[P,M]=a.useState(!1),[U,v]=a.useState(!1),q=a.useRef(null);a.useEffect(()=>{const l=S=>{q.current&&!q.current.contains(S.target)&&v(!1)};return document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)}},[]);const A=()=>{u(""),x("all"),d(!1),c(!1),F(!1),n(!1),typeof E=="function"&&E([]),typeof window<"u"&&typeof k=="function"&&k(!1),typeof f=="function"&&f(!1)},B=r||i!=="all"||N||b||m||$||p||C||((j==null?void 0:j.length)??0)>0;return e.jsx("aside",{className:"w-full flex-shrink-0 lg:sticky lg:top-24 lg:z-20 lg:w-72 lg:self-start",children:e.jsxs("div",{className:"group relative min-w-0 overflow-hidden rounded-xl rounded-tl-none bg-white shadow-[0_12px_40px_rgba(15,23,42,0.12)] transition-shadow duration-500 sm:rounded-2xl sm:rounded-tl-none hover:shadow-[0_28px_70px_-12px_rgba(11,89,103,0.28)]",children:[e.jsx("div",{className:"absolute inset-x-0 top-0 h-1.5 bg-gradient-to-r from-cerise-red via-coral-orange to-sunset-yellow opacity-90","aria-hidden":!0}),e.jsx("div",{className:"absolute left-0 top-0 h-full w-1 rounded-r-full opacity-90 transition-all duration-300 group-hover:w-2 sm:w-1.5",style:{background:"linear-gradient(to bottom, #EA2C6F, #F26233)"},"aria-hidden":!0}),e.jsx("div",{className:"pointer-events-none absolute -right-14 -top-14 h-44 w-44 rounded-full bg-gradient-to-br from-teal-blue/10 via-coral-orange/10 to-cerise-red/10 opacity-0 blur-2xl transition-opacity duration-500 group-hover:opacity-100"}),e.jsxs("div",{className:"relative flex items-center justify-between gap-3 p-4 pb-3 pl-6 sm:pl-8",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-cerise-red/10 text-cerise-red ring-1 ring-slate-200/60",children:e.jsx(Ne,{className:"h-4 w-4",strokeWidth:2})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-dark-teal/40",children:"Refine"}),e.jsx("h2",{className:"text-base font-bold leading-snug text-dark-teal",children:"Filters"})]})]}),e.jsx(W,{variant:"ghost",size:"sm",onClick:()=>M(!P),className:"lg:hidden rounded-lg p-2 text-dark-teal hover:bg-coral-orange/10","aria-expanded":P,"aria-label":P?"Collapse filters":"Expand filters",children:P?e.jsx(ve,{className:"h-5 w-5"}):e.jsx(re,{className:"h-5 w-5"})})]}),e.jsxs("div",{className:`relative space-y-4 px-4 pb-5 pl-6 pt-1 sm:pl-8 ${P?"block":"hidden lg:block"}`,children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("label",{className:"flex items-center gap-2 text-xs font-semibold text-dark-teal",children:[e.jsx(H,{className:"h-3.5 w-3.5 text-teal-blue"}),"Search"]}),e.jsxs("div",{className:"relative",children:[e.jsx(H,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-teal-blue/60"}),e.jsx("input",{type:"text",placeholder:"Search startups, foundersâ¦",value:r,onChange:l=>u(l.target.value),className:"w-full rounded-xl border border-teal-blue/20 bg-white/90 py-2.5 pl-9 pr-9 text-sm text-dark-teal placeholder:text-dark-teal/40 shadow-sm transition-all focus:border-teal-blue/40 focus:outline-none focus:ring-2 focus:ring-teal-blue/20"}),r?e.jsx("button",{type:"button",onClick:()=>u(""),className:"absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-dark-teal/40 transition-colors hover:text-teal-blue","aria-label":"Clear search",children:e.jsx(ye,{className:"h-4 w-4"})}):null]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"text-xs font-semibold text-dark-teal",children:"Industry"}),e.jsxs("div",{className:"relative",ref:q,children:[e.jsxs("button",{type:"button",onClick:()=>v(!U),className:"flex w-full items-center justify-between rounded-xl border border-teal-blue/20 bg-white/90 p-2.5 text-sm text-dark-teal shadow-sm transition-all hover:bg-white focus:outline-none focus:ring-2 focus:ring-teal-blue/20",children:[e.jsx("span",{className:"truncate text-left",children:i==="all"?`All Industries (${h})`:i}),e.jsx(re,{className:`h-4 w-4 text-dark-teal/50 transition-transform duration-200 ${U?"rotate-180":""}`})]}),U?e.jsx("div",{className:"absolute z-50 mt-1 max-h-60 w-full overflow-y-auto rounded-xl border border-teal-blue/20 bg-white shadow-[0_16px_40px_rgba(15,23,42,0.12)]",children:e.jsxs("div",{className:"p-2",children:[e.jsxs("button",{type:"button",onClick:()=>{x("all"),v(!1)},className:`flex w-full items-center justify-between rounded-lg px-3 py-2 text-left text-sm transition-colors ${i==="all"?"border border-teal-blue/25 bg-teal-blue/10 text-dark-teal":"text-dark-teal/80 hover:bg-teal-blue/5"}`,children:[e.jsxs("span",{children:["All Industries (",h,")"]}),i==="all"?e.jsx(G,{className:"h-4 w-4 text-teal-blue"}):null]}
1),K.map(l=>e.jsxs("button",{type:"button",onClick:()=>{x(l),v(!1)},className:`flex w-full items-center justify-between rounded-lg px-3 py-2 text-left text-sm transition-colors ${i===l?"border border-teal-blue/25 bg-teal-blue/10 text-dark-teal":"text-dark-teal/80 hover:bg-teal-blue/5"}`,children:[e.jsx("span",{className:"truncate",children:l}),i===l?e.jsx(G,{className:"h-4 w-4 text-teal-blue"}):null]},l))]})}):null]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("label",{className:"text-xs font-semibold text-dark-teal",children:"Funding stage"}),e.jsx("div",{className:"space-y-1.5 rounded-xl border border-teal-blue/15 bg-gradient-to-br from-white via-slate-50/80 to-teal-blue/[0.04] p-2",children:ke.map(l=>{const S=j.includes(l);return e.jsxs("button",{type:"button",onClick:()=>{typeof E=="function"&&E(S?j.filter(T=>T!==l):[...j,l])},className:`flex w-full items-center justify-between rounded-lg px-2.5 py-1.5 text-xs transition-colors sm:text-sm ${S?"border border-teal-blue/25 bg-teal-blue/10 text-dark-teal":"border border-transparent bg-white/70 text-dark-teal/80 hover:border-teal-blue/15 hover:bg-white"}`,children:[e.jsx("span",{className:"truncate",children:l}),S?e.jsx(G,{className:"h-3.5 w-3.5 text-teal-blue"}):null]},l)})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs font-semibold text-dark-teal",children:"Quick filters"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(_,{checked:N,onChange:d,icon:Ce,label:"Main Conference Only",accentClass:"border-sunset-yellow/40 bg-sunset-yellow/10",iconClass:"bg-sunset-yellow/15 text-[#c47a00] ring-sunset-yellow/30"}),e.jsx(_,{checked:b,onChange:c,icon:Se,label:"Innovation Festival Only",accentClass:"border-coral-orange/30 bg-coral-orange/10",iconClass:"bg-coral-orange/10 text-coral-orange ring-coral-orange/20"}),e.jsx(_,{checked:m,onChange:F,icon:Ie,label:"Local Startups Only",accentClass:"border-emerald-500/30 bg-emerald-500/10",iconClass:"bg-emerald-500/10 text-emerald-600 ring-emerald-500/20"}),e.jsx(_,{checked:$,onChange:n,icon:Le,label:"Foreign Startups Only",accentClass:"border-teal-blue/30 bg-teal-blue/10",iconClass:"bg-teal-blue/10 text-teal-blue ring-teal-blue/20"}),L&&typeof k=="function"?e.jsx(_,{checked:!!(typeof window<"u"&&(p??!1)),onChange:k,icon:ot,label:"Saved",accentClass:"border-cerise-red/30 bg-cerise-red/10",iconClass:"bg-cerise-red/10 text-cerise-red ring-cerise-red/20"}):null,typeof f=="function"?e.jsx(_,{checked:!!C,onChange:f,icon:de,label:`Interested${O>0?` (${O})`:""}`,accentClass:"border-coral-orange/30 bg-coral-orange/10",iconClass:"bg-coral-orange/10 text-coral-orange ring-coral-orange/20"}):null]})]}),e.jsx("div",{className:"rounded-xl border border-teal-blue/15 bg-gradient-to-r from-teal-blue/5 via-white to-coral-orange/5 px-3 py-3 text-center",children:e.jsxs("p",{className:"text-xs font-semibold text-dark-teal",children:["Showing"," ",e.jsx("span",{className:"font-bold text-teal-blue",children:V})," of"," ",e.jsx("span",{className:"text-dark-teal/70",children:g})," startups"]})}),B?e.jsxs(W,{variant:"outline",onClick:A,className:"w-full rounded-xl border-teal-blue/25 bg-white text-dark-teal hover:border-teal-blue/40 hover:bg-teal-blue/5",children:[e.jsx(Pe,{className:"mr-2 h-4 w-4"}),"Clear All Filters"]}):null]})]})})}function ie(r,u){if(r)for(const i of u){const x=r[i];if(typeof x=="string"&&x.trim())return x}}const ut=new Date("2026-02-21T00:00:00+05:30"),ce=10;function xt(r){const[u,i]=a.useState({days:0,hours:0,minutes:0,seconds:0}),[x,N]=a.useState(!1);return a.useEffect(()=>{const d=()=>{const c=new Date,m=r.getTime()-c.getTime();if(m<=0){N(!0),i({days:0,hours:0,minutes:0,seconds:0});return}i({days:Math.floor(m/864e5),hours:Math.floor(m%864e5/36e5),minutes:Math.floor(m%36e5/6e4),seconds:Math.floor(m%6e4/1e3)})};d();const b=setInterval(d,1e3);return()=>clearInterval(b)},[r]),{...u,hasElapsed:x}}function vt(){var ae;const r=Ee(),{loginPath:u,changePasswordLoginPath:i}=rt(),x=Me(),{toast:N}=it(),d=Ae(),b=Te();a.useEffect(()=>{if(!d){r(u,{replace:!0});return}b&&r(i,{replace:!0})},[r,d,b,u,i]);const c=le({queryKey:["auth","me"],queryFn:Je,enabled:!!d&&!b,staleTime:1e3*60*5});a.useEffect(()=>{c.error instanceof De&&c.error.status===401&&(_e(),r(u,{replace:!0}))},[c.error,r,u]);const m=c.data?Fe(c.data):null;a.useEffect(()=>{c.isSuccess&&m&&m!=="investor"&&r("/dashboard",{replace:!0})},[c.isSuccess,m,r]);const F=$e(c.data),$=Oe(),n=a.useMemo(()=>ne(c.data,"investor"),[c.data]),K=a.useMemo(()=>{const t=[n==null?void 0:n.firstName,n==null?void 0:n.lastName].filter(
1Boolean).join(" ").trim();return $||t||F.name||"Account"},[$,F.name,n==null?void 0:n.firstName,n==null?void 0:n.lastName]),V=a.useMemo(()=>ie(n,["firm","company","companyName","organizationName","firmName"])||ie(n,["name","fullName"])||"Investor",[n]),g=le({queryKey:["startups","list"],queryFn:()=>Ze(d),enabled:!!d&&!b&&m==="investor"}),h=a.useMemo(()=>{var t;return(((t=g.data)==null?void 0:t.startups)??[]).filter(s=>s.goLive===!0)},[(ae=g.data)==null?void 0:ae.startups]),p=a.useMemo(()=>ne(c.data,"investor"),[c.data]),k=(p==null?void 0:p.id)??null,C=a.useMemo(()=>Array.isArray(p==null?void 0:p.interested)?p.interested:[],[p==null?void 0:p.interested]),f=a.useMemo(()=>new Set(C),[C]),O=He({mutationFn:t=>k&&d?Ye(k,{interested:t},d):Promise.reject(new Error("Not authenticated")),onSuccess:(t,s)=>{x.setQueryData(["auth","me"],o=>{if(!o||typeof o!="object")return o;const w=o,I={...w};w.investor&&typeof w.investor=="object"&&w.investor!==null&&(I.investor={...w.investor,interested:s});const y=w.data;if(y&&typeof y=="object"&&y!==null&&y.investor){const D=y;I.data={...D,investor:{...D.investor,interested:s}}}return I}),x.invalidateQueries({queryKey:["auth","me"]}),N({title:"List updated",description:"Your interested list has been updated.",variant:"default"})},onError:t=>{N({title:"Update failed",description:t.message??"Could not update interested list.",variant:"destructive"})}}),[j,E]=a.useState(""),[L,P]=a.useState("all"),[M,U]=a.useState(!1),[v,q]=a.useState(!1),[A,B]=a.useState(!1),[l,S]=a.useState(!1),[T,ue]=a.useState(!1),[Q,xe]=a.useState([]),z=xt(ut),ee=a.useMemo(()=>Array.from(new Set(h.map(s=>s.industry).filter(s=>!!s))).sort((s,o)=>s.localeCompare(o,void 0,{sensitivity:"base"})),[h]),R=a.useMemo(()=>{const t=j.trim().toLowerCase();return h.filter(s=>{const o=!t||(s.companyName??"").toLowerCase().includes(t)||(s.aboutFounder??"").toLowerCase().includes(t)||(s.companyOverview??"").toLowerCase().includes(t)||(s.productDescription??"").toLowerCase().includes(t)||(s.industry??"").toLowerCase().includes(t),w=L==="all"||s.industry===L,I=!M||!!s.isTop30,y=!v||!!s.invFestival,D=!A||!!s.isLocal,ge=!l,je=!T||f.has(s.id),we=lt(s.fundingStage,Q);return o&&w&&I&&y&&D&&ge&&je&&we}).sort((s,o)=>(s.companyName??"").localeCompare(o.companyName??"",void 0,{sensitivity:"base"}))},[h,j,L,M,v,A,l,T,Q,f]),te=g.isSuccess,X=g.isLoading||m==="investor"&&!te&&!g.isError,{safePage:me,totalPages:he,startIndex:pe,endIndex:fe,goToPage:be}=Ue({totalItems:R.length,pageSize:ce,ready:te,resetDeps:[j,L,M,v,A,l,T,Q]}),se=R.slice(pe,fe),Y=a.useMemo(()=>{const t=new Set(h.map(o=>o.industry).filter(Boolean)),s=new Set(h.map(o=>o.pavilion).filter(Boolean));return{totalStartups:h.length,totalIndustries:t.size,totalPavilions:s.size}},[h]);return e.jsx(qe,{displayName:K,sidebarSubtitle:"Dashboard",headerTitle:V,headerSubtitle:null,userRole:"Investor",dashboardPath:"/dashboard",startupsPath:"/dashboard/startups",startupsLabel:"View Startups",profilePath:"/dashboard/profile",profileLabel:"Profile Update",showScheduleMeeting:!0,active:"startups",children:e.jsxs("div",{className:"relative",children:[!z.hasElapsed&&e.jsx("div",{className:"fixed top-12 left-0 lg:left-64 right-0 bottom-0 z-20 flex flex-col items-center justify-center backdrop-blur-xl bg-white/40 pointer-events-auto",children:e.jsxs("div",{className:"flex flex-col items-center gap-6 px-6 py-10",children:[e.jsxs("div",{className:"flex items-center gap-2 text-dark-teal",children:[e.jsx(ct,{className:"h-5 w-5 shrink-0 text-teal-blue sm:h-6 sm:w-6"}),e.jsx("span",{className:"min-w-0 text-center text-base font-semibold sm:text-lg",children:"Startups will be revealed soon..."})]}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-4 sm:gap-6",children:[e.jsxs("div",{className:"flex flex-col items-center min-w-[72px] rounded-xl bg-white/90 border border-teal-blue/20 px-4 py-3 shadow-lg",children:[e.jsx("span",{className:"text-2xl sm:text-3xl font-bold text-teal-blue tabular-nums",children:z.days}),e.jsx("span",{className:"text-xs font-medium text-black/60 uppercase",children:"Days"})]}),e.jsxs("div",{className:"flex flex-col items-center min-w-[72px] rounded-xl bg-white/90 border border-teal-blue/20 px-4 py-3 shadow-lg",children:[e.jsx("span",{className:"text-2xl sm:text-3xl font-bold text-teal-blue tabular-nums",children:z.hours}),e.jsx("span",{className:"text-xs font-medium text-black/60 uppercase",children:"Hours"})]}),e.jsxs("div",{className:"flex flex-col items-center min-w-[72px] rounded-xl bg-white/90 border border-teal-blue/20 px-4 py-3 shadow-lg",children:[e.jsx("span",{className:"text-2xl sm:text-3xl font-bold text-teal-blue tabular-nums",children:z.minutes}),e.jsx("span",{className:"text-xs font-medium text-black/60 uppercase",children:"Min"})]}),e.jsxs("div",{className:"flex flex-col items-center min-w-[72px] rounded-xl bg-white/90 border border-teal-blue/20 px-4 py-3 shadow-lg",children:[e.jsx("span",{className:"text-2xl sm:text-3xl font-bold text-coral-orange tabular-nums",children:z.seconds}),e.jsx("span",{className:"text-xs font-medium text-black/60 uppercase",children:"Sec"})]})]}),e.jsx("p",{className:"text-sm text-black/60 text-center max-w-md",children:"Saturday, February 21, 2026"})]})}),e.jsxs(Z,{accentIndex:2,hoverLift:!1,contentClassName:"p-5 sm:p-6 text-center",children:[e.jsxs("div",{className:"mx-auto mb-5 flex flex-col items-center sm:flex-row sm:justify-center sm:gap-4",children:[e.jsx("div",{className:"mb-3 flex h-12 w-12 items-center justify-center rounded-xl bg-teal-blue/10 text-teal-blue ring-1 ring-slate-200/60 sm:mb-0",children:e.jsx(H,{className:"h-5 w-5",strokeWidth:2})}),e.jsx("h2",{className:"text-xl font-bold text-dark-teal sm:text-2xl md:text-3xl",children:"Discover Startups"})]}),e.jsx("p",{className:"mx-auto mb-6 max-w-2xl text-sm leading-relaxed text-dark-teal/65 md:text-base text-ju
1stify",children:"Browse and review startups for potential investment opportunities. Use filters and search to find companies by industry, stage, or funding status. Save your favorites to build a shortlist and click through to view full details, pitch decks, and founder profiles before reaching out."}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 text-sm text-dark-teal/70",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(ze,{className:"h-4 w-4 text-teal-blue"}),e.jsxs("span",{children:[Y.totalStartups," startups"]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Be,{className:"h-4 w-4 text-coral-orange"}),e.jsxs("span",{children:[Y.totalIndustries," domains"]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Qe,{className:"h-4 w-4 text-cerise-red"}),e.jsxs("span",{children:[Y.totalPavilions," pavilions"]})]})]})]}),g.isError?e.jsx("div",{className:"mt-6",children:e.jsx(et,{title:"Couldnât load startups",message:tt(g.error,"Failed to load startups. Check your connection and try again."),onRetry:()=>void g.refetch(),isRetrying:g.isFetching})}):null,e.jsxs("div",{className:"mt-8 flex flex-col items-start gap-6 lg:flex-row",children:[e.jsx(dt,{searchTerm:j,setSearchTerm:E,selectedIndustry:L,setSelectedIndustry:P,showTop30Only:M,setShowTop30Only:U,showInvFestivalOnly:v,setShowInvFestivalOnly:q,showLocalOnly:A,setShowLocalOnly:t=>{B(t),t&&S(!1)},showForeignOnly:l,setShowForeignOnly:t=>{S(t),t&&B(!1)},showInterestedOnly:T,setShowInterestedOnly:ue,interestedCount:C.length,selectedFundingStages:Q,setSelectedFundingStages:xe,industries:ee,filteredCount:R.length,totalCount:h.length,totalIndustryCount:ee.length}),e.jsxs("div",{className:"min-w-0 flex-1",children:[X?e.jsx(Re,{}):null,!X&&se.length===0?e.jsx(Z,{accentIndex:2,hoverLift:!1,contentClassName:"py-16 px-6 text-center",children:h.length===0?e.jsxs("div",{className:"mx-auto flex max-w-md flex-col items-center space-y-5",children:[e.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-teal-blue/10 text-teal-blue ring-1 ring-slate-200/60",children:e.jsx(Ge,{className:"h-8 w-8",strokeWidth:2})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-lg font-semibold text-dark-teal",children:"Startups are being selected"}),e.jsx("p",{className:"text-sm leading-relaxed text-dark-teal/65 text-justify",children:"We're curating our lineup of startups for this year. Check back soon to discover the innovators joining us."})]})]}):e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"font-medium text-dark-teal",children:"No startups found."}),e.jsx("p",{className:"text-sm text-dark-teal/55",children:"Try adjusting your filters or search terms."})]})}):null,X?null:e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"space-y-4",children:se.map((t,s)=>{const o=t.startupLogo?We(t.startupLogo):void 0,w=Ke(t.companyName||"startup"),I=st(s);return e.jsxs(Z,{as:"article",accent:I,contentClassName:"flex flex-col gap-4 p-5 pl-6 sm:p-6 sm:pl-8",children:[e.jsx("div",{className:"flex items-start justify-between gap-4",children:e.jsxs("div",{className:"flex min-w-0 items-start gap-4 sm:gap-5",children:[e.jsx("div",{className:`flex h-16 w-16 shrink-0 items-center justify-center overflow-hidden rounded-2xl shadow-sm ring-1 ring-slate-200/70 transition-transform duration-300 group-hover:scale-[1.04] sm:h-20 sm:w-20 ${o?"bg-white p-2.5 sm:p-3":I.iconClass}`,children:o?e.jsx("img",{src:o,alt:"",className:"h-full w-full object-contain"}):e.jsx(Ve,{className:"h-7 w-7 sm:h-8 sm:w-8",strokeWidth:2,"aria-hidden":!0})}),e.jsxs("div",{className:"min-w-0 pt-0.5",children:[e.jsx("h3",{className:"truncate text-base font-bold leading-snug text-dark-teal sm:text-lg",children:e.jsx(oe,{to:`/dashboard/startups/${w}`,className:"hover:text-teal-blue hover:underline underline-offset-4",children:t.companyName||"Startup"})}),e.jsx("p",{className:"mt-1 text-sm text-dark-teal/65",children:t.industry||"â"}),e.jsxs("div",{className:"mt-2.5 flex flex-wrap items-center gap-2",children:[t.isTop30?e.jsx(J,{className:"rounded-md border-0 bg-gradient-to-r from-sunset-yellow to-coral-orange text-[10px] text-white",children:"Main Conference"}):null,t.invFestival?e.jsx(J,{className:"rounded-md border-0 bg-gradient-to-r from-cerise-red to-coral-orange text-[10px] text-white",children:"Innovation Festival"}):null,t.isLocal?e.jsx(J,{variant:"secondary",className:"rounded-md border border-emerald-500/20 bg-emerald-500/10 text-[10px] text-emerald-700",children:"Local"}):null]})]})]})}),e.jsx("p",{className:"line-clamp-3 text-sm leading-relaxed text-dark-teal/65 whitespace-pre-line",children:t.companyOverview||t.productDescription||"No description provided."}),e.jsxs("ul",{className:"space-y-2.5 border-t border-slate-100 pt-4",children:[e.jsxs("li",{className:"flex items-center justify-between gap-3 text-sm text-dark-teal/75",children:[e.jsxs("span",{className:"inline-flex shrink-0 items-center gap-2.5",children:[e.jsx("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full bg-gradient-to-br from-coral-orange to-teal-blue","aria-hidden":!0}),"Country"]}),e.jsx("span",{className:"min-w-0 truncate text-right font-medium text-dark-teal",title:t.country??void 0,children:t.country??"â"})]}),e.jsxs("li",{className:"flex items-center justify-between gap-3 text-sm text-dark-teal/75",children:[e.jsxs("span",{className:"inline-flex shrink-0 items-center gap-2.5",children:[e.jsx("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full bg-gradient-to-br from-coral-orange to-teal-blue","aria-hidden":!0}),"Industry"]}),e.jsx("span",{className:"min-w-0 truncate text-right font-medium text-dark-teal",title:t.industry??void 0,children:t.industry??"â"})]})]}),e.jsxs("div",{className:"flex flex-col-reverse gap-2 pt-1 sm:flex-row sm:flex-wrap sm:items-center sm:justify-end",children:[k?e.jsxs(W,{variant:f.has(t.id)?"default":"outline",size:"sm",className:"w-full sm:w-auto "+(f.has(t.id)?"rounded-xl border-0 bg-gradient-to-r from-cerise-red to-coral-orange text-white shadow-md hover:opacity-[0.97]":"rounded-xl border-cerise-red/30 text-cerise-red hover:bg-cerise-red/5"),disabled:O.isPending,onClick:()=>{const y=f.has(t.id)?C.filter(D=>D!==t.id):[...C,t.id];O.mutate(y)},children:[e.jsx(de,{className:`mr-1.5 h-4 w-4 ${f.has(t.id)?"fill-current text-white":"text-cerise-red"}`}),f.has(t.id)?"Interested":"Add to Interested"]}):null,e.jsx(W,{asChild:!0,className:"w-full rounded-xl bg-gradient-to-r from-teal-blue to-dark-teal text-white shadow-md hover:opacity-[0.97] sm:w-auto",children:e.jsxs(oe,{to:`/dashboard/startups/${w}`,className:"inline-flex items-center justify-center gap-2",children:[e.jsx(Xe,{className:"h-4 w-4"}),"View details"]}
1)})]})]},t.id)})}),e.jsx(at,{currentPage:me,totalPages:he,totalItems:R.length,pageSize:ce,onPageChange:be,variant:"dashboard"})]})]})]})]})})}export{vt 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.