PageSourceSearch

https://verifymrrnow.com/assets/js/StartupDetailsById-BoYLlA2q.js

js verifymrrnow.com collected 2026-10-04 23:16:37 UTC 24,653 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-ui-Hsg1kGQw.js";import{f as Z,g as ee,r as u,L as I}from"./vendor-router-QNN5nd0Y.js";import{u as se,f as te}from"./actGetStartupRevenue-yQBUbIP5.js";import{L as S}from"./Layout-BWsUbLUL.js";import{c as l,B as D,g as f,f as re}from"./button-kytu7P-0.js";import{B as j}from"./badge-BkvR1cpg.js";import{l as $,R as ae,a as oe}from"./react-country-flag.esm-DBACJL6t.js";import{u as ne}from"./index-y0_2tu7B.js";import{S as z,a as R,b as L,c as T,d as x}from"./select-lYgwlQYL.js";import{S as i}from"./skeleton-CwFsFez4.js";import{g as le}from"./actGeneratePrivateLink-CV08xHKS.js";import{g as ie,C as P,u as _,S as de,aP as M,e as ce,Q as me,K as xe,t as F,y as ue,G as ge,aM as he,aQ as fe,aR as U,a5 as be}from"./vendor-utils-C78z1f8K.js";import"./vendor-react-Cgg2GOmP.js";import"./card-CF0kvC4a.js";import"./hooks-Bn33xhEY.js";import"./vendor-redux-ziYH1vSe.js";import"./dialog-CFKtZWC_.js";import"./vendor-charts-DngvOcJt.js";function _e(){const k=Z(),{isDark:s}=ne(),B=(a,o)=>{if(!a)return null;const g=a.toLowerCase(),m=o??0;return g==="platinum"?e.jsxs(j,{className:"bg-linear-to-r from-slate-300 via-slate-100 to-slate-300 text-slate-900 border-none font-medium flex items-center gap-1 w-fit",children:[e.jsx(fe,{className:"w-3 h-3 text-sky-600"})," ",m]}):g==="gold"?e.jsxs(j,{className:"bg-linear-to-r from-amber-200 via-amber-100 to-amber-200 text-amber-900 border-none font-medium flex items-center gap-1 w-fit",children:[e.jsx(U,{className:"w-3 h-3 text-amber-600"})," ",m]}):g==="silver"?e.jsxs(j,{className:"bg-linear-to-r from-slate-200 via-slate-100 to-slate-200 text-slate-800 border-none font-medium flex items-center gap-1 w-fit",children:[e.jsx(be,{className:"w-3 h-3 text-slate-500"})," ",m]}):g==="bronze"?e.jsxs(j,{className:"bg-linear-to-r from-orange-200 via-orange-100 to-orange-200 text-orange-900 border-none font-medium flex items-center gap-1 w-fit",children:[e.jsx(U,{className:"w-3 h-3 text-orange-700"})," ",m]}):null},{id:N}=ee(),{getDetailsById:C,startup:V,loading:E}=se(),r=V,O=E,[G,y]=u.useState([]),[d,Q]=u.useState({total:0,previousTotal:null,growth:null,hasComparison:!1}),[H,b]=u.useState(!1),[c,J]=u.useState("revenue"),[p,K]=u.useState("last_4w"),[q,A]=u.useState(!1),W=async()=>{let a=window.location.href;if(t.isPrivate&&r?.id)try{const o=await le(r.id);a=`${window.location.origin}/startups/${o.token}/private-link`}catch(o){console.error("Failed to generate private link",o)}navigator.clipboard.writeText(a),A(!0),setTimeout(()=>A(!1),2e3),r?.id&&$({type:"Share",startupId:r.id,metadata:JSON.stringify({platform:"clipboard",isPrivateLink:t.isPrivate})})},X=a=>{const o=new Date,g=o.toISOString().split("T")[0];let m="month",h;if(["last_7d","last_4w"].includes(a)){m="day";const n=new Date(o);a==="last_7d"?n.setDate(o.getDate()-7):n.setDate(o.getDate()-28),h=n.toISOString().split("T")[0]}else if(["last_3m","last_6m","last_12m"].includes(a)){m="week";const n=new Date(o);a==="last_3m"?n.setMonth(o.getMonth()-3):a==="last_6m"?n.setMonth(o.getMonth()-6):n.setMonth(o.getMonth()-12),h=n.toISOString().split("T")[0]}else m="month";return{interval:m,startDate:h,endDate:g}};if(u.useEffect(()=>{N&&C(N)},[N,C]),u.useEffect(()=>{r?.id&&$({type:"Impression",startupId:r.id})},[r?.id]),u.useEffect(()=>{if(r?.id&&r.status==="Completed"){const a=new AbortController,o=setTimeout(()=>{b(!0);const{interval:g,startDate:m,endDate:h}=X(p);te(r.id,c,g,m,h,a.signal).then(n=>{y(n.data),Q({total:n.total,previousTotal:n.previousTotal,growth:n.growth,hasComparison:n.hasComparison})}).catch(n=>{n.name!=="CanceledError"&&n.code!=="ERR_CANCELED"&&console.error(n)}).finally(()=>{a.signal.aborted||b(!1)})},0);return()=>{clearTimeout(o),a.abort()}}},[r?.id,c,p]),O)return e.jsx(S,{hideLogo:!0,children:e.jsxs("div",{className:`min-h-screen pb-20 ${s?"bg-background":""}`,children:[e.jsx("div",{className:`sticky top-0 z-40 backdrop-blur-md pt-4 pb-3 ${s?"bg-background/80":""}`,children:e.jsx("div",{className:"w-full px-4 flex items-center justify-between",children:e.jsx(i,{className:l("h-8 w-8 rounded-full",s&&"bg-zinc-800")})})}),e.jsxs("div",{className:"max-w-7xl mx-auto px-2 py-8 space-y-12",children:[e.jsxs("div",{className:"flex items-center justify-between gap-6",children:[e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx(i,{className:l("w-16 h-16 md:w-20 md:h-20 rounded-xl",s&&"bg-zinc-800")}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{className:l("h-8 w-48",s&&"bg-zinc-800")}),e.jsx(i,{className:l("h-4 w-96",s&&"bg-zinc-800")})]})]}),e.jsx(i,{className:l("h-10 w-24 rounded-full",s&&"bg-zinc-800")})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[1,2,3,4].map(a=>e.jsxs("div",{className:`p-6 rounded-4xl border ${s?"bg-card border-border/50":"bg-white border-slate-200"} space-y-4`,children:[e.jsx(i,{className:l("h-4 w-24",s&&"bg-zinc-800")}),e.jsx(i,{className:l("h-8 w-32",s&&"bg-zinc-800")})]},a))}),e.jsxs("div",{className:`p-6 rounded-4xl border ${s?"bg-card border-border/50":"bg-white border-slate-200"}`,children:[e.jsxs("div",{className:"flex justify-between items-center mb-6",children:[e.jsx(i,{className:l("h-6 w-48",s&&"bg-zinc-800")}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(i,{className:l("h-9 w-[180px]",s&&"bg-zinc-800")}),e.jsx(i,{className:l("h-9 w-[140px]",s&&"bg-zinc-800")})]})]}),e.jsx(i,{className:l("h-[300px] w-full rounded-xl",s&&"bg-zinc-800")})]}),e.jsxs("div",{className:`p-8 rounded-4xl border space-y-4 ${s?"bg-card border-border/50":"bg-white border-slate-200"}`,children:[e.jsx(i,{className:l("h-6 w-48 mb-4",s&&"bg-zinc-800")}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{className:l("h-4 w-full",s&&"bg-zinc-800")}),e.jsx(i,{className:l("h-4 w-3/4",s&&"bg-zinc-800")})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 pt-4",children:[e.jsx(i,{className:l("h-24 w-full rounded-xl",s&&"bg-zinc-800")}),e.jsx(i,{className:l("h-24 w-full rounded-xl",s&&"bg-zinc-800")})]})]})]})]})});if(!r)return e.jsx(S,{hideLogo:!0,children:e.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center gap-4",children:[e.jsx("h1",{className:"text-2xl font-bold",children:"Startup not found"}),e.jsx(D,{onClick:()=>k("/"),children:"Return Home"})]})});const t={name:r.name,slug:r.id,description:r.description,category:r.industries?.[0]||"Uncategorized",logoUrl:r.logoUrl,website:r.website,grossRevenue:r.grossRevenue||0,mrr:r.mrr||0,activeSubscribers:r.activeSubscribers||0,founderName:r.founderName||"Unknown",foun
1derProfile:r.founderProfile,founderId:r.founderId,founderSlug:r.founderSlug,foundedAt:r.foundedAt,revenueData:G,tags:[...r.industries||["Startup"],"Verified"].filter(Boolean),logoColor:"bg-gradient-to-br from-indigo-500 to-purple-600",isAnonymous:r.isAnonymous||!1,isPrivate:r.isPrivate||!1,twitter:r.twitter,linkedIn:r.linkedIn,facebook:r.facebook,instagram:r.instagram,valueProposition:r.valueProposition,targetAudience:r.targetAudience,problemSolved:r.problemSolved,businessDetails:r.businessDetails,additionalInfo:r.additionalInfo,countryName:r.countryName,countryCode:r.countryCode,stateName:r.stateName,businessType:r.businessType,totalTrustScore:r.totalTrustScore||r.trustScore,trustScoreLevel:r.trustScoreLevel,visitorCount:r.visitors||0,shareCount:r.shares||0},v=a=>a?new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(a):"-",w=a=>new Intl.NumberFormat("en-US").format(a),Y=a=>{if(!a)return"Unknown";const o=new Date(a);return new Intl.DateTimeFormat("en-US",{month:"long",year:"numeric"}).format(o)};return e.jsx(S,{hideLogo:!0,children:e.jsxs("div",{className:`min-h-screen pb-20 ${s?"bg-background":""}`,children:[e.jsx("div",{className:`sticky top-0 z-40 backdrop-blur-md pt-4 pb-3 ${s?"bg-background/80":""}`,children:e.jsxs("div",{className:"w-full px-4 flex items-center justify-between",children:[e.jsxs("button",{onClick:()=>k(-1),className:`flex items-center gap-2 transition-colors text-sm font-medium cursor-pointer ${s?"text-muted-foreground hover:text-foreground":"text-gray-500 hover:text-gray-900"}`,children:[e.jsx(ie,{className:"w-4 h-4"}),"Back"]}),t.isPrivate&&e.jsx("button",{onClick:W,className:`flex items-center gap-2 transition-colors text-sm font-medium cursor-pointer ${s?"text-muted-foreground hover:text-foreground":"text-gray-500 hover:text-gray-900"}`,children:q?e.jsxs(e.Fragment,{children:[e.jsx(P,{className:"w-4 h-4 text-emerald-500"}),e.jsx("span",{className:"text-emerald-500",children:"Copied"})]}):e.jsxs(e.Fragment,{children:[e.jsx(_,{className:"w-4 h-4"}),"Share"]})}),e.jsx("div",{className:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2",children:e.jsxs(I,{to:"/",className:"flex items-center gap-2 text-base font-bold group",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-indigo-500 blur-sm opacity-20 group-hover:opacity-40 transition-opacity rounded-full"}),e.jsx(de,{className:"h-6 w-6 text-indigo-600 relative z-10"})]}),e.jsx("span",{className:`bg-clip-text text-transparent bg-gradient-to-r ${s?"from-white to-slate-400":"from-slate-900 to-slate-600"}`,children:"VerifyMRR"})]})})]})}),e.jsxs("div",{className:"max-w-7xl mx-auto px-2 py-8 space-y-12",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-4 md:gap-6 min-w-0 flex-1",children:[t.isAnonymous?e.jsx("div",{className:`w-16 h-16 md:w-20 md:h-20 rounded-xl flex items-center justify-center border shrink-0 ${s?"bg-muted border-border text-muted-foreground":"bg-slate-50 border-slate-100 text-slate-400"}`,children:e.jsx(M,{className:"w-8 h-8 md:w-10 md:h-10"})}):t.logoUrl?e.jsx("img",{src:t.logoUrl,alt:t.name,className:"w-16 h-16 md:w-20 md:h-20 rounded-xl object-cover shadow-sm border border-gray-100 shrink-0"}):e.jsx("div",{className:`${t.logoColor} w-16 h-16 md:w-20 md:h-20 rounded-xl flex items-center justify-center text-white text-xl md:text-2xl font-bold shadow-sm shrink-0`,children:t.name.charAt(0)}),e.jsxs("div",{className:"space-y-2 min-w-0 flex-1",children:[e.jsx("h1",{className:`text-lg md:text-xl font-bold tracking-tight ${s?"text-foreground":"text-gray-900"} ${t.isAnonymous?"blur-sm select-none":""}`,children:e.jsxs("div",{className:"flex items-center justify-between gap-2 flex-wrap",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[t.isAnonymous?"Hidden Startup":t.name,!t.isAnonymous&&B(t.trustScoreLevel,t.totalTrustScore)]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:`flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium ${s?"bg-zinc-800/60 text-zinc-300":"bg-slate-100 text-slate-600"}`,children:[e.jsx(ce,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(t.visitorCount).toLowerCase()})]}),e.jsxs("div",{className:`flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium ${s?"bg-zinc-800/60 text-zinc-300":"bg-slate-100 text-slate-600"}`,children:[e.jsx(_,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(t.shareCount).toLowerCase()})]})]})]})}),!t.isAnonymous&&t.description&&e.jsx("p",{className:`text-xs leading-relaxed ${s?"text-muted-foreground":"text-gray-500"} line-clamp-2 md:line-clamp-none`,children:t.description}),!t.isAnonymous&&(t.twitter||t.linkedIn||t.facebook||t.instagram)&&e.jsxs("div",{className:"flex gap-2 items-center mt-3",children:[t.twitter&&e.jsx("a",{href:f(t.twitter),target:"_blank",rel:"noopener noreferrer",className:`p-1.5 rounded-full border transition-colors ${s?"bg-card border-border text-muted-foreground hover:text-foreground":"bg-white border-gray-200 text-gray-500 hover:text-gray-900"}`,"aria-label":"Twitter",children:e.jsx("svg",{className:"w-4 h-4",fill:"
1currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:e.jsx("path",{d:"M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"})})}),t.linkedIn&&e.jsx("a",{href:f(t.linkedIn),target:"_blank",rel:"noopener noreferrer",className:`p-1.5 rounded-full border transition-colors ${s?"bg-card border-border text-muted-foreground hover:text-foreground":"bg-white border-gray-200 text-gray-500 hover:text-gray-900"}`,"aria-label":"LinkedIn",children:e.jsx("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:e.jsx("path",{fillRule:"evenodd",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",clipRule:"evenodd"})})}),t.facebook&&e.jsx("a",{href:f(t.facebook),target:"_blank",rel:"noopener noreferrer",className:`p-1.5 rounded-full border transition-colors ${s?"bg-card border-border text-muted-foreground hover:text-foreground":"bg-white border-gray-200 text-gray-500 hover:text-gray-900"}`,"aria-label":"Facebook",children:e.jsx("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:e.jsx("path",{fillRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987
1h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z",clipRule:"evenodd"})})}),t.instagram&&e.jsx("a",{href:f(t.instagram),target:"_blank",rel:"noopener noreferrer",className:`p-1.5 rounded-full border transition-colors ${s?"bg-card border-border text-muted-foreground hover:text-foreground":"bg-white border-gray-200 text-gray-500 hover:text-gray-900"}`,"aria-label":"Instagram",children:e.jsx(me,{className:"w-4 h-4"})})]})]})]}),!t.isAnonymous&&t.website&&e.jsx(D,{size:"sm",className:"gap-2 bg-blue-600 text-white hover:bg-blue-700 rounded-full shrink-0 cursor-pointer w-full md:w-auto",asChild:!0,children:e.jsxs("a",{href:f(t.website),target:"_blank",rel:"noopener noreferrer",onClick:a=>{if(!t.website){a.preventDefault();return}r?.id&&$({type:"Visit",startupId:r.id,metadata:JSON.stringify({source:"direct"})})},children:["Visit",e.jsx(xe,{className:"w-3 h-3"})]})})]}),e.jsxs("div",{className:`grid grid-cols-1 md:grid-cols-2 ${t.businessType==="eCommerce"?"lg:grid-cols-3":"lg:grid-cols-4"} gap-6`,children:[e.jsxs("div",{className:`p-6 rounded-4xl border ${s?"bg-card border-border":"bg-white border-gray-200"}`,children:[e.jsx("p",{className:`text-xs font-medium mb-4 ${s?"text-muted-foreground":"text-gray-600"}`,children:"All-time revenue"}),e.jsx("p",{className:`text-xl font-bold mb-2 ${s?"text-foreground":"text-gray-900"}`,children:v(t.grossRevenue)})]}),t.businessType!=="eCommerce"&&e.jsxs("div",{className:`p-6 rounded-4xl border ${s?"bg-card border-border":"bg-white border-gray-200"}`,children:[e.jsxs("div",{className:"flex items-center gap-1 mb-4",children:[e.jsx("p",{className:`text-xs font-medium ${s?"text-muted-foreground":"text-gray-600"}`,children:"MRR (estimated)"}),e.jsx(F,{className:"w-3 h-3 text-gray-400"})]}),e.jsx("p",{className:`text-xl font-bold mb-2 ${s?"text-foreground":"text-gray-900"}`,children:v(t.mrr)}),e.jsxs("p",{className:`text-xs ${s?"text-muted-foreground/70":"text-gray-400"}`,children:[w(t.activeSubscribers)," active subscriptions"]})]}),e.jsxs("div",{className:`p-6 rounded-4xl border ${s?"bg-card border-border":"bg-white border-gray-200"}`,children:[e.jsx("p",{className:`text-xs font-medium mb-4 ${s?"text-muted-foreground":"text-gray-600"}`,children:"Founder"}),e.jsx("div",{className:"flex items-center gap-3 mb-2",children:t.isAnonymous?e.jsx("span",{className:`text-2xl font-bold ${s?"text-foreground":"text-gray-900"}`,children:"-"}):t.founderId?e.jsxs(I,{to:`/founder/${t.founderSlug}`,className:"min-w-0 flex items-center gap-3 hover:opacity-80 transition-opacity",children:[t.founderProfile?e.jsx("img",{src:t.founderProfile,alt:"Founder",className:"w-10 h-10 rounded-full object-cover shrink-0"}):e.jsx("div",{className:"w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center text-gray-500 text-xs font-bold shrink-0",children:t.founderName.charAt(0)}),e.jsx("div",{className:"min-w-0",children:e.jsx("p",{className:`text-sm font-bold truncate ${s?"text-foreground":"text-gray-900"}`,children:t.founderName})})]}):e.jsxs("div",{className:"min-w-0 flex items-center gap-3",children:[t.founderProfile?e.jsx("img",{src:t.founderProfile,alt:"Founder",className:"w-10 h-10 rounded-full object-cover shrink-0"}):e.jsx("div",{className:"w-10 h-10 rounded-full bg-gray-200 flex items-center justify-center text-gray-500 text-xs font-bold shrink-0",children:t.founderName.charAt(0)}),e.jsx("div",{className:"min-w-0",children:e.jsx("p",{className:`text-sm font-bold truncate ${s?"text-foreground":"text-gray-900"}`,children:t.founderName})})]})})]}),e.jsxs("div",{className:`p-6 rounded-4xl border ${s?"bg-card border-border":"bg-white border-gray-200"}`,children:[e.jsx("p",{className:`text-xs font-medium mb-4 ${s?"text-muted-foreground":"text-gray-600"}`,children:"Founded"}),e.jsx("p",{className:`text-xl font-bold mb-2 ${s?"text-foreground":"text-gray-900"}`,children:t.isAnonymous?"-":Y(t.foundedAt)}),!t.isAnonymous&&t.countryName&&e.jsxs("div",{className:`flex items-center gap-1.5 text-xs font-medium ${s?"text-muted-foreground
1/70":"text-gray-500"}`,children:[t.countryCode?e.jsx(ae,{countryCode:t.countryCode,svg:!0,className:"w-3 h-3 rounded-sm"}):e.jsx(ue,{className:"w-3 h-3"}),e.jsx("span",{className:"truncate",children:t.countryName})]})]})]}),e.jsxs("div",{className:`p-6 rounded-4xl border ${s?"bg-card border-border/50":"bg-white border-gray-200"}`,children:[e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-6",children:[e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:`text-xs font-medium mb-1 ${s?"text-muted-foreground":"text-gray-500"}`,children:"Total"}),e.jsx("p",{className:`text-xl font-bold ${s?"text-foreground":"text-gray-900"}`,children:c==="churn"?`${d.total}%`:c==="visitors"||c==="active_subscribers"?w(d.total):v(d.total)})]}),d.hasComparison&&d.previousTotal!==null&&e.jsxs("div",{children:[e.jsx("p",{className:`text-xs font-medium mb-1 ${s?"text-muted-foreground":"text-gray-500"}`,children:"Previous Period"}),e.jsx("p",{className:`text-xl font-bold ${s?"text-muted-foreground":"text-gray-400"}`,children:c==="churn"?`${d.previousTotal}%`:c==="visitors"||c==="active_subscribers"?w(d.previousTotal):v(d.previousTotal)})]}),d.hasComparison&&d.growth!==null&&e.jsxs("div",{children:[e.jsx("p",{className:`text-xs font-medium mb-1 ${s?"text-muted-foreground":"text-gray-500"}`,children:"Growth"}),e.jsxs("p",{className:`text-xl font-bold ${d.growth>=0?"text-emerald-500":"text-red-500"}`,children:[d.growth>=0?"+":"",re(d.growth),"%"]})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs(z,{value:c,onValueChange:a=>{J(a),y([]),b(!0)},children:[e.jsx(R,{className:`w-[180px] h-9 focus:ring-0 focus:ring-offset-0 shadow-none outline-none ${s?"bg-muted border-border text-foreground hover:bg-muted/80":"bg-white border-gray-200 text-gray-600 hover:bg-gray-50"}`,"aria-label":"Select metric",children:e.jsx(L,{placeholder:"Select Metric"})}),e.jsxs(T,{children:[e.jsx(x,{value:"revenue",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-blue-500"}),"Revenue"]})}),e.jsx(x,{value:"visitors",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-cyan-500"}),"Visitors"]})}),t.businessType!=="eCommerce"&&e.jsxs(e.Fragment,{children:[e.jsx(x,{value:"mrr",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-emerald-500"}),"MRR"]})}),e.jsx(x,{value:"active_subscribers",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-purple-500"}),"Active Subscribers"]}
1)}),e.jsx(x,{value:"churn",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-500"}),"Churn"]})})]})]})]}),e.jsxs(z,{value:p,onValueChange:a=>{K(a),y([]),b(!0)},children:[e.jsx(R,{className:`w-[140px] h-9 focus:ring-0 focus:ring-offset-0 shadow-none outline-none ${s?"bg-muted border-border text-foreground hover:bg-muted/80":"bg-white border-gray-200 text-gray-600 hover:bg-gray-50"}`,"aria-label":"Select time period",children:e.jsx(L,{placeholder:"Select Period"})}),e.jsxs(T,{children:[e.jsx(x,{value:"last_7d",children:"Last 7 days"}),e.jsx(x,{value:"last_4w",children:"Last 4 weeks"}),e.jsx(x,{value:"last_3m",children:"Last 3 months"}),e.jsx(x,{value:"last_6m",children:"Last 6 months"}),e.jsx(x,{value:"last_12m",children:"Last 12 months"}),e.jsx(x,{value:"all_time",children:"All time"})]})]})]})]}),e.jsx("div",{className:"h-[300px] w-full",children:H?e.jsx("div",{className:"w-full h-full flex items-center justify-center",children:e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-indigo-600"})}):e.jsx(oe,{revenueData:t.revenueData,color:{mrr:"#10b981",revenue:"#3b82f6",active_subscribers:"#a855f7",churn:"#f97316",visitors:"#06b6d4"}[c]||"#6366f1",metricLabel:{mrr:"MRR",revenue:"Revenue",active_subscribers:"Active Subscribers",churn:"Churn",visitors:"Visitors"}[c]||"Revenue",format:{churn:"percent",active_subscribers:"number",visitors:"number"}[c]||"currency",isDark:s,period:p})})]}),!t.isAnonymous&&e.jsxs("div",{className:`p-8 rounded-4xl border space-y-8 ${s?"bg-card border-border/50":"bg-white border-gray-200"}`,children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx("h3",{className:`text-sm font-bold ${s?"text-foreground":"text-gray-900"}`,children:"About the Business"}),e.jsx("p",{className:`text-sm leading-relaxed ${s?"text-muted-foreground":"text-gray-600"}`,children:t.description||`${t.name} is a verified startup.`})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[t.valueProposition&&e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:`flex items-center gap-2 font-medium ${s?"text-foreground":"text-gray-900"}`,children:[e.jsx(P,{className:"w-4 h-4 text-emerald-500"}),"Value Proposition"]}),e.jsx("p",{className:`text-sm ${s?"text-muted-foreground":"text-gray-600"}`,children:t.valueProposition})]}),t.targetAudience&&e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:`flex items-center gap-2 font-medium ${s?"text-foreground":"text-gray-900"}`,children:[e.jsx(F,{className:`w-4 h-4 ${s?"text-muted-foreground":"text-gray-500"}`}),"Target Audience"]}),e.jsx("p",{className:`text-sm ${s?"text-muted-foreground":"text-gray-600"}`,children:t.targetAudience})]}),t.problemSolved&&e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:`flex items-center gap-2 font-medium ${s?"text-foreground":"text-gray-900"}`,children:[e.jsx(M,{className:`w-4 h-4 ${s?"text-muted-foreground":"text-gray-500"}`}),"Problem Solved"]}),e.jsx("p",{className:`text-sm ${s?"text-muted-foreground":"text-gray-600"}`,children:t.problemSolved})]}),t.businessDetails&&e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:`flex items-center gap-2 font-medium ${s?"text-foreground":"text-gray-900"}`,children:[e.jsx(ge,{className:`w-4 h-4 ${s?"text-muted-foreground":"text-gray-500"}`}),"Business Model"]}),e.jsx("p",{className:`text-sm ${s?"text-muted-foreground":"text-gray-600"}`,children:t.businessDetails})]}),t.additionalInfo&&e.jsxs("div",{className:"space-y-2 col-span-1 md:col-span-2",children:[e.jsxs("div",{className:`flex items-center gap-2 font-medium ${s?"text-foreground":"text-gray-900"}`,children:[e.jsx(he,{className:`w-4 h-4 ${s?"text-muted-foreground":"text-gray-500"}`}),"Additional Info"]}),e.jsx("p",{className:`text-sm ${s?"text-muted-foreground":"text-gray-600"}`,children:t.additionalInfo})]})]})]})]})]})})}export{_e 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.