1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33067],{12651:(e,r,s)=>{s.d(r,{A:()=>t});let t=(0,s(78340).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},25237:(e,r,s)=>{s.d(r,{A:()=>t});let t=(0,s(78340).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},33067:(e,r,s)=>{s.r(r),s.d(r,{BundledProfileOverview:()=>K,BundledProfileRelatedTab:()=>el,ConferenceSidebar:()=>Y,ExitInvestorExitsTab:()=>ec,ExitSimilarTab:()=>eo,RoundInvestorRoundsTab:()=>ed,RoundParticipantsTab:()=>q,RoundSimilarTab:()=>ei});var t=s(95155),a=s(12115),n=s(98500),l=s.n(n),i=s(66959),d=s(37595),o=s(38194),c=s(57420),m=s(24538),x=s(92451),u=s(22164),h=s(7810),p=s(94290),g=s(48368),f=s(25237),j=s(67233),b=s(50049),v=s(44071),N=s(77122),y=s(65224),_=s(90606),w=s(12258),S=s(81477),k=s(89239),A=s(77012),F=s(73321),C=s(42763),R=s(60529),P=s(33807),E=s(18349),$=s(24752),L=s(13545),D=s(6296),T=s(12651),U=s(40980);let O=new Date().getFullYear(),z=[O,O-1,O-2,O-3];function I({label:e,hint:r,value:s,onChange:a,lowLabel:n,highLabel:l}){return(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",children:e}),(0,t.jsxs)("span",{className:"text-lg font-bold text-foreground tabular-nums",children:[s,(0,t.jsx)("span",{className:"text-xs text-muted-foreground font-normal",children:"/10"})]})]}),r&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:r}),(0,t.jsx)($.A,{min:1,max:10,step:1,value:[s],onValueChange:e=>a(e[0])}),(n||l)&&(0,t.jsxs)("div",{className:"flex justify-between text-[10px] uppercase tracking-wider text-muted-foreground",children:[(0,t.jsx)("span",{children:n}),(0,t.jsx)("span",{children:l})]})]})}function W({open:e,onOpenChange:r,conferenceSlug:s,conferenceName:n}){let l=(0,F.useRouter)(),[i,d]=(0,a.useState)(!1),[o,c]=(0,a.useState)(null),[m,x]=(0,a.useState)(null),[u,h]=(0,a.useState)(null),[g,f]=(0,a.useState)(O),[j,b]=(0,a.useState)(7),[v,N]=(0,a.useState)(""),[y,_]=(0,a.useState)(""),[w,S]=(0,a.useState)(5),[$,W]=(0,a.useState)(6),[M,Z]=(0,a.useState)(""),[V,B]=(0,a.useState)(""),[H,J]=(0,a.useState)(null),[q,G]=(0,a.useState)("");async function Y(){h(null),d(!0);try{let e=await fetch(`/api/conferences/${s}/reviews`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({edition_year:g,overall_rating:j,clients_earned:v?Number(v):void 0,inbound_messages:y?Number(y):void 0,spam_intensity:w,cost_value_rating:$,best_track:M||void 0,worst_track:V||void 0,would_attend_again:H,free_text:q||void 0})});if(401===e.status)return void h("Please log in to submit a review.");let r=await e.json();if(!e.ok)return void h(r.error||"Something went wrong. Try again.");r.rewarded?c({action:r.action,trial_expires_at:r.trial_expires_at}):x(r.reason||"review_recorded"),l.refresh()}catch(e){h(e?.message||"Network error. Try again.")}finally{d(!1)}}(0,a.useEffect)(()=>{if(!e){let e=setTimeout(()=>{c(null),x(null),h(null),d(!1)},200);return()=>clearTimeout(e)}},[e]);let Q=o||m;return(0,t.jsx)(C.Dialog,{open:e,onOpenChange:r,children:(0,t.jsx)(C.DialogContent,{className:"max-w-lg max-h-[90vh] overflow-y-auto",children:Q?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(C.DialogHeader,{children:[(0,t.jsxs)(C.DialogTitle,{className:"flex items-center gap-2",children:[(0,t.jsx)(T.A,{size:18,className:"text-emerald-600"}),"Review submitted"]}),(0,t.jsxs)(C.DialogDescription,{children:["Thanks for the honest verdict on ",n,"."]})]}),(0,t.jsx)("div",{className:"py-4 space-y-3",children:o?(0,t.jsxs)("div",{className:"rounded-lg border border-primary/30 bg-primary/[0.04] p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm font-semibold text-foreground",children:[(0,t.jsx)(A.A,{size:14,className:"text-primary"}),"extended"===o.action?"Pro Mini extended by 7 days":"7 days of Pro Mini unlocked"]}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground mt-1",children:["Trial expires ",(0,t.jsx)("strong",{children:new Date(o.trial_expires_at).toLocaleDateString(void 0,{month:"long",day:"numeric",year:"numeric"})}),". Check your inbox for confirmation."]})]}):(0,t.jsxs)("div",{className:"rounded-lg border border-border bg-muted/40 p-4 text-sm text-muted-foreground",children:["already_subscribed"===m&&"Your active subscription already covers Pro Mini. Review noted; the reward only applies to free accounts.","already_rewarded_for_this_conference"===m&&"You already earned the reward for this conference. Review noted.","user_not_found"===m&&"Review noted. Reward could not be applied.",!["already_subscribed","already_rewarded_for_this_conference","user_not_found"].includes(m||"")&&"Review recorded. Thank y
1ou."]})}),(0,t.jsx)(C.DialogFooter,{children:(0,t.jsx)(k.$,{onClick:()=>r(!1),children:"Done"})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(C.DialogHeader,{children:[(0,t.jsxs)(C.DialogTitle,{className:"flex items-center gap-2",children:[(0,t.jsx)(p.A,{size:16,className:"fill-amber-500 text-amber-500"}),"Rate ",n]}),(0,t.jsx)(C.DialogDescription,{children:"Honest verdict from a real attendee. Takes 60 seconds. You'll get 7 days of Pro Mini when submitted."})]}),(0,t.jsxs)("div",{className:"space-y-5 py-2",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",children:"Which edition did you attend?"}),(0,t.jsx)("div",{className:"flex gap-1.5 flex-wrap",children:z.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>f(e),className:(0,U.cn)("px-3 py-1.5 rounded-full text-xs font-medium border transition-all",g===e?"bg-primary text-primary-foreground border-primary":"bg-card text-muted-foreground border-border hover:text-foreground"),children:e},e))})]}),(0,t.jsx)(I,{label:"Overall rating",value:j,onChange:b,lowLabel:"Skip it",highLabel:"Don't miss"}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",htmlFor:"clients",children:"Clients earned"}),(0,t.jsx)(R.p,{id:"clients",type:"number",min:0,placeholder:"0",value:v,onChange:e=>N(e.target.value)})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",htmlFor:"inbound",children:"Inbound after event"}),(0,t.jsx)(R.p,{id:"inbound",type:"number",min:0,placeholder:"0",value:y,onChange:e=>_(e.target.value)})]})]}),(0,t.jsx)(I,{label:"Spam intensity",hint:"How aggressively were vendors targeting attendees?",value:w,onChange:S,lowLabel:"Quiet",highLabel:"Swarmed"}),(0,t.jsx)(I,{label:"Cost vs value",hint:"Was the total cost (ticket + travel + hotel) worth what you got?",value:$,onChange:W,lowLabel:"Overpriced",highLabel:"Steal"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-3",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",htmlFor:"best",children:"Best track or session"}),(0,t.jsx)(R.p,{id:"best",placeholder:"e.g. Fundraising deep-dive on day 2",value:M,onChange:e=>Z(e.target.value),maxLength:200})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",htmlFor:"worst",children:"Worst track or session"}),(0,t.jsx)(R.p,{id:"worst",placeholder:"e.g. Crypto sponsor stage",value:V,onChange:e=>B(e.target.value),maxLength:200})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",children:"Would you attend again?"}),(0,t.jsx)("div",{className:"flex gap-1.5",children:[{v:!0,label:"Yes"},{v:!1,label:"No"},{v:null,label:"Undecided"}].map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>J(e.v),className:(0,U.cn)("px-3 py-1.5 rounded-full text-xs font-medium border transition-all",H===e.v?"bg-primary text-primary-foreground border-primary":"bg-card text-muted-foreground border-border hover:text-foreground"),children:e.label},String(e.v)))})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(P.J,{className:"text-sm font-medium",htmlFor:"freetext",children:"Anything else?"}),(0,t.jsx)(E.T,{id:"freetext",placeholder:"One paragraph max. What surprised you, what disappointed you, who you'd send.",value:q,onChange:e=>G(e.target.value),maxLength:1500,rows:3}),(0,t.jsxs)("p",{className:"text-[10px] text-muted-foreground text-right",children:[q.length,"/1500"]})]}),u&&(0,t.jsxs)("div",{className:"flex items-start gap-2 p-3 rounded-md border border-red-500/30 bg-red-500/5 text-sm text-red-700",children:[(0,t.jsx)(L.A,{size:14,className:"shrink-0 mt-0.5"}),(0,t.jsx)("span",{children:u})]})]}),(0,t.jsxs)(C.DialogFooter,{children:[(0,t.jsx)(k.$,{variant:"outline",onClick:()=>r(!1),disabled:i,children:"Cancel"}),(0,t.jsx)(k.$,{onClick:Y,disabled:i,children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.A,{className:"h-4 w-4 mr-1 animate-spin"})," Submitting"]}):"Submit & claim 7 days Pro Mini"})]})]})})})}function M({conferenceSlug:e,conferenceName:r}){let[s,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{"1"===new URLSearchParams(window.location.search).get("review")&&n(!0)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Zp,{className:"border-border bg-gradient-to-br from-primary/[0.04] to-transparent",children:(0,t.jsxs)(S.Wu,{className:"p-5 flex items-center gap-4",children:[(0,t.jsx)("div",{className:"hidden sm:flex h-12 w-12 rounded-full bg-primary/10
1items-center justify-center shrink-0",children:(0,t.jsx)(A.A,{className:"h-5 w-5 text-primary"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsxs)("p",{className:"text-sm font-semibold text-foreground flex items-center gap-1.5",children:[(0,t.jsx)(p.A,{size:14,className:"fill-amber-500 text-amber-500"})," Attended ",r,"? Rate it for 7 days of Pro Mini."]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Honest verdict in 60 seconds. Trial activates the moment you submit."})]}),(0,t.jsx)(k.$,{size:"sm",onClick:()=>n(!0),className:"shrink-0",children:"Write review"})]})}),(0,t.jsx)(W,{open:s,onOpenChange:n,conferenceSlug:e,conferenceName:r})]})}function Z(e){if(!e)return"";try{let r=new Date(e);if(isNaN(r.getTime()))return e;return r.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch{return e}}function V(e){try{return new URL(e).hostname.replace(/^www\./,"")}catch{return e}}function B({investor:e}){let r=e.website?V(e.website):null;return(0,t.jsxs)(l(),{href:`/investors/${e.slug||e.id}`,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors group min-w-0",children:[e.logoUrl?(0,t.jsx)("img",{src:(0,_.dE)(e.logoUrl,{width:96}),alt:"",className:"h-8 w-8 rounded-md border border-border bg-card object-contain shrink-0"}):r?(0,t.jsx)("div",{className:"h-8 w-8 rounded-md border border-border bg-card flex items-center justify-center p-1 shrink-0",children:(0,t.jsx)("img",{src:`https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://${r}&size=64`,alt:"",className:"max-w-full max-h-full object-contain",loading:"lazy"})}):(0,t.jsx)("div",{className:"h-8 w-8 rounded-md border border-border bg-muted flex items-center justify-center text-[10px] font-bold text-muted-foreground shrink-0",children:(e.name||"?").charAt(0)}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground group-hover:text-primary transition-colors truncate flex-1 min-w-0",children:e.name||"Investor"}),e.isLead&&(0,t.jsx)(i.Ex,{variant:"default",className:"text-[10px] py-0 px-1.5 shrink-0",children:"Lead"})]})}function H({fund:e,isLead:r}){let s=e.website?V(e.website):null,a=e.fund_name||e.title||"Fund";return(0,t.jsxs)(l(),{href:`/investment_funds/${e.slug||e.id}`,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors group min-w-0",children:[e.logoUrl?(0,t.jsx)("img",{src:(0,_.dE)(e.logoUrl,{width:96}),alt:"",className:"h-8 w-8 rounded-md border border-border bg-card object-contain shrink-0"}):s?(0,t.jsx)("div",{className:"h-8 w-8 rounded-md border border-border bg-card flex items-center justify-center p-1 shrink-0",children:(0,t.jsx)("img",{src:`https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://${s}&size=64`,alt:"",className:"max-w-full max-h-full object-contain",loading:"lazy"})}):(0,t.jsx)("div",{className:"h-8 w-8 rounded-md border border-border bg-muted flex items-center justify-center text-[10px] font-bold text-muted-foreground shrink-0",children:a.charAt(0)}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground group-hover:text-primary transition-colors truncate flex-1 min-w-0",children:a}),r&&(0,t.jsx)(i.Ex,{variant:"default",className:"text-[10px] py-0 px-1.5 shrink-0",children:"Lead vehicle"})]})}function J({title:e,count:r,grid:s,tableHeadCols:n,tableRows:l}){let[c,m]=(0,a.useState)("grid");return 0===r?null:(0,t.jsxs)(i.Zp,{children:[(0,t.jsxs)(i.aR,{className:"px-4 pt-3 pb-2.5 border-b border-border/60 flex flex-row items-center justify-between space-y-0",children:[(0,t.jsxs)(i.ZB,{className:"text-sm font-semibold",children:[e," (",r,")"]}),(0,t.jsxs)("div",{className:"inline-flex rounded-md border border-border p-0.5 gap-0.5",children:[(0,t.jsx)("button",{type:"button",onClick:()=>m("grid"),"aria-label":"Grid view",className:`p-1 rounded ${"grid"===c?"bg-muted text-foreground":"text-muted-foreground hover:text-foreground"}`,children:(0,t.jsx)(d.A,{size:14})}),(0,t.jsx)("button",{type:"button",onClick:()=>m("table"),"aria-label":"Table view",className:`p-1 rounded ${"table"===c?"bg-muted text-foreground":"text-muted-foreground hover:text-foreground"}`,children:(0,t.jsx)(o.A,{size:14})})]})]}),(0,t.jsx)(i.Wu,{className:"p-0",children:"grid"===c?(0,t.jsx)("div",{className:"grid gap-2 sm:grid-cols-2 p-3.5",children:s}):(0,t.jsxs)("table",{className:"w-full text-sm table-fixed",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{className:"border-b border-border bg-muted/50 text-left",children:n.map(e=>(0,t.jsx)("th",{className:"px-4 py-2 text-xs font-medium text-muted-foreground",children:e},e))})}),(0,t.jsx)("tbody",{children:l})]})})]})}function q({company:e}){let r=e._roundInvestors||[],s=e._roundFunds||[],a=new Set(e._roundRaw?.lead_investor_fund_uuids||[]),n=[...r].sort((e,r)=>Number(!!r.isLead)-Number(!!e.isLead));return 0===n.length&&0===s.length?null:(0,t.jsxs)("div",{className:"space-y-4 sm:sp
1ace-y-6",children:[(0,t.jsx)(J,{title:"Investors",count:n.length,grid:n.map(e=>(0,t.jsx)(B,{investor:e},e.id||e.slug||e.name)),tableHeadCols:["Investor","Role"],tableRows:n.map(e=>(0,t.jsxs)("tr",{className:"border-b border-border last:border-0 hover:bg-muted/30",children:[(0,t.jsx)("td",{className:"px-4 py-2.5 truncate",children:(0,t.jsx)(l(),{href:`/investors/${e.slug||e.id}`,className:"font-medium text-foreground hover:text-primary",children:e.name||"Investor"})}),(0,t.jsx)("td",{className:"px-4 py-2.5 text-muted-foreground",children:e.isLead?"Lead":"Participating"})]},e.id||e.slug||e.name))}),(0,t.jsx)(J,{title:"Funds",count:s.length,grid:s.map(e=>(0,t.jsx)(H,{fund:e,isLead:a.has(e.id||"")},e.id||e.slug||e.fund_name||e.title)),tableHeadCols:["Fund","Role"],tableRows:s.map(e=>(0,t.jsxs)("tr",{className:"border-b border-border last:border-0 hover:bg-muted/30",children:[(0,t.jsx)("td",{className:"px-4 py-2.5 truncate",children:(0,t.jsx)(l(),{href:`/investment_funds/${e.slug||e.id}`,className:"font-medium text-foreground hover:text-primary",children:e.fund_name||e.title||"Fund"})}),(0,t.jsx)("td",{className:"px-4 py-2.5 text-muted-foreground",children:a.has(e.id||"")?"Lead vehicle":"Vehicle"})]},e.id||e.slug||e.fund_name||e.title))})]})}function G(e){let r=[];return e._patentNumber&&r.push({label:"Patent ID",value:e._patentNumber}),e._patentStatus&&r.push({label:"Status",value:e._patentStatus}),e._dateGranted&&r.push({label:"Granted",value:Z(e._dateGranted)}),e._publicationDate&&r.push({label:"Published",value:Z(e._publicationDate)}),e._filingDate&&r.push({label:"Filed",value:Z(e._filingDate)}),r}function Y({company:e}){let r,s,a=null==e._confSpamScore?"text-foreground":e._confSpamScore>=60?"text-red-600":e._confSpamScore>=40?"text-amber-600":"text-emerald-600",n=null==e._confValuePerSpend?"text-foreground":e._confValuePerSpend>=70?"text-emerald-600":e._confValuePerSpend>=40?"text-foreground":"text-amber-600",d=[{label:"Cost to attend",value:null!=(r=e._confCostOfAttending)?`$${(r/1e3).toFixed(1)}k`:"â"},{label:"Value per spend",value:null!=e._confValuePerSpend?`${Math.round(e._confValuePerSpend)}/100`:"â",className:n},{label:"Spam score",value:null!=e._confSpamScore?`${Math.round(e._confSpamScore)}/100`:"â",className:a},{label:"Paid-pitch ratio",value:null!=e._confPaidPitchRatio?`${Math.round(e._confPaidPitchRatio)}%`:"â"},{label:"Avg clients earned",value:null!=e._confAvgClients?e._confAvgClients.toFixed(1):"â"},{label:"Avg inbound",value:null!=e._confAvgInbound?`${Math.round(e._confAvgInbound)}`:"â"}],o="number"==typeof e.totalScore?e.totalScore:0,c=e._confOrganizer;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.Zp,{children:[(0,t.jsx)(i.aR,{className:"px-4 pt-3 pb-2.5 border-b border-border/60",children:(0,t.jsx)(i.ZB,{className:"text-sm font-semibold",children:"Conference score"})}),(0,t.jsxs)(i.Wu,{className:"px-4 py-3.5 space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-foreground tabular-nums",children:o>0?o.toFixed(1):"â"}),(0,t.jsx)("span",{className:"text-[11px] text-muted-foreground",children:"composite"})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-2 text-[11px]",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Editorial score"}),(0,t.jsx)("span",{className:"text-foreground font-medium",children:null!=e._confEditorialScore?`${e._confEditorialScore.toFixed(1)}/100`:"â"})]}),(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-2 text-[11px]",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Community rating"}),(0,t.jsx)("span",{className:"text-foreground font-medium",children:null!=e._confCommunityRating?`${e._confCommunityRating.toFixed(1)}/10 (${e._confCommunityReviewCount??0})`:"â"})]})]})]})]}),(0,t.jsxs)(i.Zp,{children:[(0,t.jsx)(i.aR,{className:"px-4 pt-3 pb-2.5 border-b border-border/60",children:(0,t.jsx)(i.ZB,{className:"text-sm font-semibold",children:"Attendee ROI"})}),(0,t.jsx)(i.Wu,{className:"px-4 py-3.5 space-y-1.5",children:d.map(e=>(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-2 text-[11px]",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:e.label}),(0,t.jsx)("span",{className:`font-medium tabular-nums ${e.className||"text-foreground"}`,children:e.value})]},e.label))})]}),c?.name&&(0,t.jsxs)(i.Zp,{children:[(0,t.jsx)(i.aR,{className:"px-4 pt-3 pb-2.5 border-b border-border/60",children:(0,t.jsx)(i.ZB,{className:"text-sm font-semibold",children:"Organized by"})}),(0,t.jsx)(i.Wu,{className:"px-4 py-3.5",children:(s=(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"h-9 w-9 rounded-lg border border-border overflow-hidden bg-muted shrink-0 flex items-center justify-center",children:c.logoUrl?(0,t.jsx)("img",{src:(0,_.dE)(c.logoUrl,{width:256}),alt:"",className:"h-full w-full object-contain"}):(0,t.jsx)("span",{className:"text-xs font-bold text-muted-foreground",children:c.name.charAt(0)})}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground truncate",children:c.name})]}),"startup"===c.type&&c.slug?(0,t.jsx)(l(),{href:`/startups/${c.slug}`,className:"hover:opacity-80 transition-opacity",children:s}):"investor"===c.type&&c.slug?(0,t.jsx)(l(),{href:`/investors/${c.slug}`,className:"hover:opacity-80 transition-opacity",children:s}):s)})]})]})}function Q({company:e}){let r=e._confOrganizer,s=e._confReviews||[],a=(e._confStrengths?.length??0)>0||(e._confWeaknesses?.length??0)>0||!!e._confSummary;
1return(0,t.jsxs)("div",{className:"space-y-4 sm:space-y-6",children:[(0,t.jsxs)(i.Zp,{children:[(0,t.jsx)(i.aR,{className:"p-4 sm:p-6",children:(0,t.jsx)(i.ZB,{className:"text-lg sm:text-xl",children:"About"})}),(0,t.jsxs)(i.Wu,{className:"space-y-4 p-4 sm:p-6 pt-0",children:[r?.name&&(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-xs",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"By"}),r.logoUrl&&(0,t.jsx)("img",{src:(0,_.dE)(r.logoUrl,{width:96}),alt:r.name,className:"h-4 w-4 rounded-sm object-contain border border-border"}),"startup"===r.type&&r.slug?(0,t.jsx)(l(),{href:`/startups/${r.slug}`,className:"font-semibold text-foreground hover:underline",children:r.name}):"investor"===r.type&&r.slug?(0,t.jsx)(l(),{href:`/investors/${r.slug}`,className:"font-semibold text-foreground hover:underline",children:r.name}):(0,t.jsx)("span",{className:"font-semibold text-foreground",children:r.name})]}),(0,t.jsxs)("div",{className:"flex items-center flex-wrap gap-x-4 gap-y-1 text-xs text-muted-foreground",children:[e._confDateStr&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)(c.A,{size:12})," ",e._confDateStr]}),e.location&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)(m.A,{size:12})," ",e.location]}),e._confVenue&&(0,t.jsx)("span",{className:"text-muted-foreground/80",children:e._confVenue}),e._confRecurrence&&(0,t.jsx)(i.Ex,{variant:"outline",className:"text-[10px]",children:e._confRecurrence})]}),e.description?(0,t.jsx)("div",{className:"text-foreground/90 text-[13px] leading-relaxed prose prose-sm max-w-none whitespace-pre-wrap",children:e.description}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"No description available."}),e._confAttendeeArchetype&&(0,t.jsxs)("p",{className:"text-sm text-foreground italic",children:[(0,t.jsx)("span",{className:"text-[10px] font-semibold text-muted-foreground uppercase tracking-wider mr-2",children:"Who goes"}),e._confAttendeeArchetype]}),e._confOfficialUrl&&(0,t.jsxs)("a",{href:(0,y.Lj)(e._confOfficialUrl,"profile"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-xs text-foreground hover:underline",children:[(0,t.jsx)(x.A,{size:12})," Official site ",(0,t.jsx)(u.A,{size:10})]})]})]}),a&&(0,t.jsxs)(i.Zp,{className:"border-border",children:[(0,t.jsx)(i.aR,{className:"p-4 sm:p-6",children:(0,t.jsx)(i.ZB,{className:"text-sm",children:"Editorial review"})}),(0,t.jsxs)(i.Wu,{className:"space-y-4 p-4 sm:p-6 pt-0",children:[e._confSummary&&(0,t.jsx)("p",{className:"text-sm text-foreground italic leading-relaxed",children:e._confSummary}),(e._confStrengths?.length??0)>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[10px] font-semibold text-emerald-600 uppercase tracking-wider mb-1.5",children:"What works"}),(0,t.jsx)("ul",{className:"space-y-1",children:e._confStrengths.map((e,r)=>(0,t.jsxs)("li",{className:"text-sm text-foreground flex gap-2",children:[(0,t.jsx)("span",{className:"text-emerald-600",children:"+"}),e]},r))})]}),(e._confWeaknesses?.length??0)>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[10px] font-semibold text-red-600 uppercase tracking-wider mb-1.5",children:"What doesn't"}),(0,t.jsx)("ul",{className:"space-y-1",children:e._confWeaknesses.map((e,r)=>(0,t.jsxs)("li",{className:"text-sm text-foreground flex gap-2",children:[(0,t.jsx)("span",{className:"text-red-600",children:"â"}),e]},r))})]})]})]}),(0,t.jsx)(M,{conferenceSlug:e.slug,conferenceName:e.name}),(0,t.jsxs)(i.Zp,{className:"border-border",children:[(0,t.jsx)(i.aR,{className:"p-4 sm:p-6",children:(0,t.jsxs)(i.ZB,{className:"text-sm flex items-center gap-2",children:[(0,t.jsx)(h.A,{size:14})," Attendee reviews (",s.length,")"]})}),(0,t.jsx)(i.Wu,{className:"p-0",children:0===s.length?(0,t.jsx)("p",{className:"px-6 pb-6 text-sm text-muted-foreground",children:"No attendee reviews yet. Be the first: write a quick verdict and we'll grant 7 days of Pro Mini."}):(0,t.jsx)("div",{className:"divide-y divide-border",children:s.map(e=>(0,t.jsxs)("div",{className:"px-4 py-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(p.A,{size:12,className:"fill-amber-500 text-amber-500"}),(0,t.jsxs)("span",{className:"text-sm font-semibold text-foreground tabular-nums",children:[String(e.overall_rating),"/10"]}),null!=e.edition_year&&(0,t.jsxs)(i.Ex,{variant:"outline",className:"text-[10px]",children:[String(e.edition_year)," edition"]}),!0===e.verified_attendee&&(0,t.jsx)(i.Ex,{variant:"outline",className:"text-[10px] border-emerald-500/40 text-emerald-700",children:"Verified"})]}),null!=e.created_at&&(0,t.jsx)("span",{className:"text-[10px] text-muted-foreground",children:new Date(String(e.created_at)).toLocaleDateString()})]}),(0,t.jsxs)("div",{className:"flex items-center flex-wrap gap-x-4 gap-y-1 mt-2 text-[11px] text-muted-foreground",children:[null!=e.clients_earned&&(0,t.jsxs)("span",{children:[String(e.clients_earned)," clients"]}),null!=e.inbound_messages&&(0,t.jsxs)("span",{children:[String(e.inbound_messages)," inbound"]}),null!=e.spam_intensity&&(0,t.jsxs)("span",{children:["spam ",String(e.spam_intensity),"/10"]}),null!=e.cost_value_rating&&(0,t.jsxs)("span",{children:["value ",String(e.cost_value_rating),"/10"]}),null!=e.would_attend_again&&(0,t.jsx)("span",{children:e.would_attend_again?"going again":"not going again"})]}),null!=e.free_text&&(0,t.jsx)("p",{className:"text-sm text-foreground mt-2",children:String(e.free_text)}),(null!=e.best_track||null!=e.worst_track)&&(0,t.jsxs)("div",{className:"mt-2 text-xs text-muted-foreground space-y-0.5",children:[null!=e.best_track&&(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"text-emerald-600 font-semibold",children:"Best:"}
1)," ",String(e.best_track)]}),null!=e.worst_track&&(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"text-red-600 font-semibold",children:"Worst:"})," ",String(e.worst_track)]})]})]},String(e.id)))})})]})]})}function K({company:e,entityType:r}){let s,a,n,d,o,c=e._assigneeStartup,m=e._fundInvestor,h=(s=(e.affiliate_url||"").trim()||null,n="string"==typeof(a=e.meta_fields)?(()=>{try{return JSON.parse(a||"{}")}catch{return{}}})():a||{},d=e.slug?`/startups/${e.slug}`:void 0,{href:o=(0,y.hh)({website:e.website,affiliateUrl:s,dealUrl:(0,y.hq)(n),campaign:"profile",sourcePage:d,keyword:e.name}),rel:(0,y.iN)(o,s)}),p=!!h.href;return"Conference"===r?(0,t.jsx)(Q,{company:e}):(0,t.jsxs)("div",{className:"space-y-4 sm:space-y-6",children:[!("FundingRound"===r&&!e.description)&&(0,t.jsxs)(i.Zp,{children:[(0,t.jsx)(i.aR,{className:"px-4 pt-3 pb-2.5 border-b border-border/60",children:(0,t.jsx)(i.ZB,{className:"text-sm font-semibold",children:"About"})}),(0,t.jsxs)(i.Wu,{className:"space-y-3 px-4 py-3.5",children:[e.description&&(0,t.jsx)("div",{className:"text-foreground/90 text-[13px] leading-relaxed prose prose-sm max-w-none whitespace-pre-wrap",children:e.description}),"Patent"===r&&G(e).length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsx)("div",{className:"grid gap-2 sm:grid-cols-2 text-sm",children:G(e).map(e=>(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground shrink-0",children:e.label}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:e.value})]},e.label))})]}),"Research"===r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-muted-foreground",children:e.shortDescription&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,t.jsx)(g.A,{className:"h-4 w-4"}),e.shortDescription]})})]}),"ExitEvent"===r&&(()=>{let r=[];if(e._exitTransactionType&&r.push({label:"Type",value:String(e._exitTransactionType)}),e._exitAcquirerName&&r.push({label:"Acquirer",value:String(e._exitAcquirerName)}),"number"==typeof e._exitConsideration&&e._exitConsideration>0&&r.push({label:"Consideration",value:(0,N.vv)(e._exitConsideration)}),"number"==typeof e._exitValuation&&e._exitValuation>0&&r.push({label:"Valuation",value:(0,N.vv)(e._exitValuation)}),"number"==typeof e._exitMultiple&&e._exitMultiple>0&&r.push({label:"Exit multiple",value:`${e._exitMultiple.toFixed(1)}x`}),e._exitDate){let s=new Date(String(e._exitDate));isNaN(s.getTime())||r.push({label:"Announced",value:s.toLocaleDateString("en-US",{month:"long",year:"numeric"})})}return r.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsx)("div",{className:"grid gap-2 sm:grid-cols-2 text-sm",children:r.map(e=>(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground shrink-0",children:e.label}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:e.value})]},e.label))})]}):null})(),"MCPServer"===r&&p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsxs)("a",{href:h.href,target:"_blank",rel:h.rel,className:"inline-flex items-center gap-2 text-sm text-primary hover:underline",children:[(0,t.jsx)(u.A,{className:"h-4 w-4"}),"Documentation / URL"]})]}),"Plugin"===r&&p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsxs)("a",{href:h.href,target:"_blank",rel:h.rel,className:"inline-flex items-center gap-2 text-sm text-primary hover:underline",children:[(0,t.jsx)(u.A,{className:"h-4 w-4"}),"Homepage"]})]}),"Product"===r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsxs)("div",{className:"grid gap-2 sm:grid-cols-2 text-sm",children:[e._productPricingType&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground shrink-0",children:"Pricing"}),(0,t.jsx)(i.Ex,{variant:"secondary",className:"capitalize",children:e._productPricingType.replace("_"," ")})]}),e._productStatus&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground shrink-0",children:"Status"}),(0,t.jsx)(i.Ex,{variant:"active"===e._productStatus?"default":"outline",className:"capitalize",children:e._productStatus.replace("_"," ")})]}),e._productCategory&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground shrink-0",children:"Category"}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:e._productCategory})]}),e._productLaunchedAt&&(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground shrink-0",children:"Launched"}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:Z(e._productLaunchedAt)})]})]}),Array.isArray(e.sectors)&&e.sectors.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h3",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mt-2",children:"Sectors"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.sectors.slice(0,5).map(e=>(0,t.jsx)(i.Ex,{variant:"outline",children:e},e))})]}),p&&(0,t.jsxs)("a",{href:h.href,target:"_blank",rel:h.rel,className:"inline-flex items-center gap-2 text-sm text-primary hover:underline",children:[(0,t.jsx)(x.A,{className:"h-4 w-4"}),"Website"]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[e._productAppStoreUrl&&(0,t.jsxs)("a",{href:(0,y.Lj)(e._productAppStoreUrl,"profile"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm text-primary hover:underline",children:[(0,t.jsx)(f.A,{className:"h-4 w-4"})," App Store"]}),e._productPlayStoreUrl&&(0,t.jsxs)("a",{href:(0,y.Lj)(e._productPlayStoreUrl,"profile"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm text-primary hover:underline",children:[(0,t.jsx)(f.A,{className:"h-4 w-4"})," Play Store"]}),e._productDocumentationUrl&&(0,t.jsxs)("a",{href:(0,y.Lj)(e._productDocumentationUrl,"profile"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm text-primary hover:underline",children:[(0,t.jsx)(g.A,{className:"h-4 w-4"})," Docs"]}),e._productGithubRepo&&(0,t.jsxs)("a",{href:e._productGithubRepo,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm text-foreground hover:text-primary",children:[(0,t.jsx)(j.A,{className:"h-4 w-4"})," GitHub"]})]}),Array.isArray(e._productScreenshots)&&e._productScreenshots.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsx)("h3",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2",children:"Screenshots"}),(0,t.jsx)("div",{className:"grid gap-2 sm:grid-cols-2",children:e._productScreenshots.map((e,r)=>(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"rounded-lg border border-border overflow-hidden hover:ring-2 hover:ring-primary/30 transition-all",children:(0,t.jsx)("img",{src:e,alt:`Screenshot ${r+1}`,className:"w-full h-auto",loading:"lazy"})},r))})]}),Array.isArray(e._productFeatures)&&e._productFeatures.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsx)("h3",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2",children:"Features"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e._productFeatures.map((e,r)=>(0,t.jsx)(i.Ex,{variant:"outline",children:"string"==typeof e?e:e.name||"Feature"},r))})]})]}),c&&("Patent"===r||"Research"===r)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)(l(),{href:`/startups/${c.slug||c.id}`,className:"shrink-0",children:(0,t.jsx)("div",{className:"h-16 w-16 rounded-xl border border-border bg-card p-1 shadow-sm",children:(0,t.jsx)(w.L,{name:c.name||c.title||"Startup",url:c.logoUrl||"",className:"h-full w-full rounded-lg"})})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-1",children:"FundingRound"===r||"ExitEvent"===r?"Company":"Assignee / startup"}),(0,t.jsx)(l(),{href:`/startups/${c.slug||c.id}`,className:"text-base font-semibold text-foreground hover:text-primary",children:c.name||c.title||"Startup"}),c.headquarters_location&&(0,t.jsxs)("p",{className:"text-sm text-muted-foreground mt-1 flex items-center gap-1",children:[(0,t.jsx)(b.A,{className:"h-3.5 w-3.5"}),c.headquarters_location]})]})]})]}),m&&"InvestmentFund"===r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)(l(),{href:`/investors/${m.slug||m.id}`,className:"shrink-0",children:(0,t.jsx)("div",{className:"h-16 w-16 rounded-xl border border-border bg-card p-1 shadow-sm",children:(0,t.jsx)(w.L,{name:m.name||"Investor",url:m.logoUrl||"",className:"h-full w-full rounded-lg"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-1",children:"Investor"}),(0,t.jsx)(l(),{href:`/investors/${m.slug||m.id}`,className:"text-base font-semibold text-foreground hover:text-primary",children:m.name})]})]})]}),"Research"===r&&Array.isArray(e._authors)&&e._authors.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsx)("h3",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2",children:"Authors"}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e._authors.map(e=>e.slug?(0,t.jsx)(l(),{href:`/people/${e.slug}`,children:(0,t.jsx)(i.Ex,{variant:"secondary",className:"cursor-pointer hover:bg-secondary/80",children:e.name||"Author"})},e.id||e.slug):(0,t.jsx)(i.Ex,{variant:"secondary",children:e.name||"Author"},e.id||e.name))})]}),Array.isArray(e.sectors)&&e.sectors.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.sectors.slice(0,5).map(e=>(0,t.jsx)(i.Ex,{variant:"outline",children:e},e))})]}),"MCPServer"===r&&e.socialLinks?.some(e=>"github"===e.network)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.wv,{}),(0,t.jsxs)("a",{href:e.socialLinks.find(e=>"github"===e.network).url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-foreground hover:text-primary",children:[(0,t.jsx)(j.A,{className:"h-4 w-4"}),"GitHub repository"]})]})]})]}),"FundingRound"===r&&(0,t.jsx)(q,{company:e})]})}function X(e,r){return null==r||!1===r?null:(0,t.jsxs)(i.Zp,{children:[(0,t.jsx)(i.aR,{className:"px-4 pt-3 pb-2.5 border-b border-border/60",children:(0,t.jsx)(i.ZB,{className:"text-sm font-semibold",children:e})}),(0,t.jsx)(i.Wu,{className:"px-4 py-3.5 space-y-3",children:r})]})}function ee(e){let r=e.title||e.patent_id||"Patent",s=e.slug?`/patents/${e.slug}`:"#";return(0,t.jsxs)(l(),{href:s,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:[(0,t.jsx)(g.A,{className:"h-4 w-4 text-muted-foreground shrink-0"}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:r})]})}function er(e){let r=e.slug?`/startups/${e.slug}`:"#";return(0,t.jsxs)(l(),{href:r,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:[(0,t.jsx)("div",{className:"h-10 w-10 rounded-lg border border-border overflow-hidden bg-muted shrink-0",children:e.logoUrl?(0,t.jsx)("img",{src:(0,_.dE)(e.logoUrl,{width:256}),alt:"",className:"h-full w-full object-cover"}):(0,t.jsx)("div",{className:"h-full w-full flex items-center justify-center text-xs font-bold text-muted-foreground",children:(e.name||e.title||"?").charAt(0)})}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:e.name||e.title||"Startup"})]})}function es(e){return e.slug?(0,t.jsxs)(l(),{href:`/research/${e.slug}`,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:[(0,t.jsx)(g.A,{className:"h-4 w-4 text-muted-foreground shrink-0"}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:e.title||"Research"})]}):null}function et(e){if(!e.slug)return null;let r=e.startup_name||e.title||e.series||"Round",s=Number(e.investment_amount)||0,a=Number(e.valuation_post_money)||0,n=e.date_announced?Z(e.date_announced):null;
1return(0,t.jsxs)(l(),{href:`/investment_rounds/${e.slug}`,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors group",children:[e.companyLogoUrl?(0,t.jsx)("img",{src:(0,_.dE)(e.companyLogoUrl,{width:96}),alt:"",className:"h-9 w-9 rounded-md border border-border bg-card object-contain shrink-0"}):(0,t.jsx)("div",{className:"h-9 w-9 rounded-md border border-border bg-muted flex items-center justify-center text-xs font-bold text-muted-foreground shrink-0",children:r.charAt(0)}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-foreground group-hover:text-primary transition-colors truncate",children:r}),e.series&&(0,t.jsx)(i.Ex,{variant:"outline",className:"text-[10px] py-0 px-1.5 shrink-0",children:e.series})]}),n&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:n})]}),(0,t.jsxs)("div",{className:"text-right shrink-0",children:[s>0&&(0,t.jsx)("p",{className:"text-sm font-semibold text-foreground tabular-nums",children:(0,N.vv)(s)}),a>0&&(0,t.jsxs)("p",{className:"text-[11px] text-muted-foreground tabular-nums",children:[(0,N.vv)(a)," val"]})]})]})}function ea(e){return e.slug?(0,t.jsx)(l(),{href:`/investment_funds/${e.slug}`,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:e.fund_name||e.title||"Fund"})}):null}function en(e){if(!e.slug)return null;let r=e.acquirer_name&&e.target_name?`${e.acquirer_name} â ${e.target_name}`:e.title||e.target_name||e.transaction_type||"Exit";return(0,t.jsxs)(l(),{href:`/exit-events/${e.slug}`,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:[(0,t.jsx)(v.A,{className:"h-4 w-4 text-muted-foreground shrink-0"}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground truncate",children:r})]})}function el({company:e,entityType:r}){return(0,t.jsxs)("div",{className:"space-y-6",children:["Patent"===r&&(0,t.jsxs)(t.Fragment,{children:[X("Categories",e._profileCategories?.length?(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e._profileCategories.map(e=>(0,t.jsx)(i.Ex,{variant:"secondary",children:e.name},e.id||e.name))}):null),X("Other patents",e._otherPatents?.map(e=>ee(e))),X("Similar patents",e._similarPatents?.map(e=>ee(e)))]}),"Research"===r&&(0,t.jsxs)(t.Fragment,{children:[X("Other publications",e._otherResearch?.map(e=>es(e))),X("Similar research",e._similarResearch?.map(e=>es(e)))]}),"FundingRound"===r&&(0,t.jsxs)(t.Fragment,{children:[X("Investors",e._roundInvestors?.map(e=>{let r;return r=e.slug?`/investors/${e.slug}`:"#",(0,t.jsxs)(l(),{href:r,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:[(0,t.jsx)(h.A,{className:"h-4 w-4 text-muted-foreground shrink-0"}),(0,t.jsxs)("span",{className:"text-sm font-medium text-foreground",children:[e.name,e.isLead?(0,t.jsx)("span",{className:"text-xs text-primary ml-2",children:"(Lead)"}):null]})]})})),X("Funds",e._roundFunds?.map(e=>ea(e))),X("Other rounds",e._otherRounds?.map(e=>
1et(e))),X("Similar rounds",e._similarRounds?.map(e=>et(e)))]}),"InvestmentFund"===r&&(0,t.jsxs)(t.Fragment,{children:[X("Portfolio",e._fundPortfolio?.map(e=>er(e))),X("Other funds",e._otherFunds?.map(e=>ea(e))),X("Similar funds",e._similarFunds?.map(e=>ea(e)))]}),"ExitEvent"===r&&(0,t.jsxs)(t.Fragment,{children:[X("Other exits for this company",e._otherExits?.map(e=>en(e))),X("Similar exits",e._similarExits?.map(e=>en(e)))]}),("MCPServer"===r||"Plugin"===r||"Product"===r)&&X("Related startups",(0,t.jsx)(t.Fragment,{children:("MCPServer"===r?e._mcpStartups:"Product"===r?e._productStartups:e._pluginStartups)?.map(e=>er(e))})),"Product"===r&&(e._similarProducts?.length??0)>0&&X("Similar products",(0,t.jsx)(t.Fragment,{children:e._similarProducts?.map(e=>{let r,s;return r=e.slug?`/products/${e.slug}`:"#",s=e.logoUrl||e.logo_url,(0,t.jsxs)(l(),{href:r,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:[(0,t.jsx)("div",{className:"h-10 w-10 rounded-lg border border-border overflow-hidden bg-muted shrink-0",children:s?(0,t.jsx)("img",{src:(0,_.dE)(s,{width:256}),alt:"",className:"h-full w-full object-cover"}):(0,t.jsx)("div",{className:"h-full w-full flex items-center justify-center text-xs font-bold text-muted-foreground",children:(e.name||e.title||"?").charAt(0)})}),(0,t.jsx)("span",{className:"text-sm font-medium text-foreground",children:e.name||e.title||"Product"})]})})})),"Conference"===r&&(e._confSiblings?.length??0)>0&&X(`More from ${e._confOrganizer?.name||"this organizer"}`,(0,t.jsx)(t.Fragment,{children:e._confSiblings?.map(e=>{let r,s;return r=e.slug?`/conferences/${e.slug}`:"#",s=[e.location_city,e.location_country].filter(Boolean).join(", "),(0,t.jsxs)(l(),{href:r,className:"flex items-center gap-3 rounded-lg border border-border p-3 hover:bg-muted/40 transition-colors",children:[(0,t.jsx)("div",{className:"h-10 w-10 rounded-lg border border-border overflow-hidden bg-muted shrink-0",children:e.logo_url?(0,t.jsx)("img",{src:(0,_.dE)(e.logo_url,{width:256}),alt:"",className:"h-full w-full object-contain"}):(0,t.jsx)("div",{className:"h-full w-full flex items-center justify-center text-xs font-bold text-muted-foreground",children:(e.name||"?").charAt(0)})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground truncate",children:e.name||"Conference"}),s&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:s})]})]})})}))]})}function ei({company:e}){return(0,t.jsxs)("div",{className:"space-y-4 sm:space-y-6",children:[X("Comparable rounds",e._similarRounds?.map(e=>et(e))),X("Other rounds for this company",e._otherRounds?.map(e=>et(e)))]})}function ed({company:e}){return(0,t.jsx)("div",{className:"space-y-4 sm:space-y-6",children:X("Recent rounds backed by these investors",e._roundInvestorRounds?.map(e=>et(e)))})}function eo({company:e}){return(0,t.jsxs)("div",{className:"space-y-4 sm:space-y-6",children:[X("Similar exits",e._similarExits?.map(e=>en(e))),X("Other exits for this company",e._otherExits?.map(e=>en(e)))]})}function ec({company:e}){return(0,t.jsx)("div",{className:"space-y-4 sm:space-y-6",children:X("Other exits these investors were on",e._exitInvestorExits?.map(e=>en(e)))})}},77012:(e,r,s)=>{s.d(r,{A:()=>t});let t=(0,s(78340).A)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])}}]);
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.