PageSourceSearch

https://iqpitch.com/assets/institutional-3uDdpzPA.js

js iqpitch.com collected 2026-10-08 03:19:21 UTC 8,259 bytes, 1 lines download raw bytes

1import{a as S,u as D,r as o,s as j,j as e,L as g,t as c}from"./index-BNsNbdQX.js";import{u as F}from"./useServerFn-CfLiPUIT.js";import{L as E}from"./Logo-DJATBESn.js";import{B as t}from"./button-Bq_4pBJg.js";import{u as P,C as U}from"./CheckoutDialog-Bl0hAcQ7.js";import{a as $}from"./report-access.functions-B-JLCVPe.js";import{F as L}from"./file-text-u2Ee268n.js";import{L as B}from"./loader-circle-bhTf_gU1.js";import{S as O}from"./sparkles-ByfZRYNb.js";import{S as A}from"./shield-check-DQmcBxbA.js";import{U as R}from"./users-lFMaxiMj.js";import{B as q}from"./building-2-Drk2DZyS.js";import{C as z}from"./check-Z58CrxWZ.js";import"./clsx-B-dksMZM.js";import"./index-CsNKwJAm.js";import"./x-DAh7vZs7.js";import"./createLucideIcon-BEZEpUvV.js";function ae(){const{user:a}=S(),m=D(),[r,u]=o.useState([]),[d,p]=o.useState(null),[i,l]=o.useState(""),[x,b]=o.useState(!1),N=F($),{openCheckout:_,isOpen:w,closeCheckout:C,checkoutElement:I}=P();o.useEffect(()=>{a?.id&&(async()=>{const[{data:s},{data:n}]=await Promise.all([j.from("decks").select("id,original_filename,status,access_level,created_at").eq("user_id",a.id).eq("status","analyzed").order("created_at",{ascending:!1}),j.from("usage_credits").select("plan,membership_level,included_remaining,included_total").eq("user_id",a.id).maybeSingle()]);u(s??[]),p(n),s?.[0]?.id&&l(s[0].id)})()},[a?.id]);const y=o.useMemo(()=>r.find(s=>
1s.id===i)??null,[r,i]),h=d?.membership_level??"none",f=(s,n)=>{_({priceId:s,deckId:n,returnUrl:`${window.location.origin}/checkout/return?session_id={CHECKOUT_SESSION_ID}${n?`&deck_id=${n}`:""}`})},k=async s=>{if(!i)return c.error("Choose an analysed deck first");b(!0);try{const n=await N({data:{deckId:i,level:s}});if(!n.ok){c.error(n.reason==="no_credits"?"No institutional deep dives remain this cycle":"Your current membership does not include this analysis level");return}c.success("Institutional access applied. Building the deep dive now."),m({to:"/report/$deckId",params:{deckId:i}})}catch(n){c.error(n?.message||"Could not apply institutional access")}finally{b(!1)}};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("header",{className:"sticky top-0 z-40 border-b border-border/60 bg-background/70 backdrop-blur-xl",children:e.jsxs("div",{className:"mx-auto flex h-16 max-w-7xl items-center justify-between px-6",children:[e.jsx(g,{to:"/",children:e.jsx(E,{})}),e.jsx(g,{to:"/dashboard",children:e.jsx(t,{variant:"ghost",size:"sm",children:"Dashboard"})})]})}),e.jsxs("main",{className:"mx-auto max-w-7xl px-6 py-12",children:[e.jsxs("div",{className:"max-w-3xl",children:[e.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:"Institutional Intelligence"}),e.jsx("h1",{className:"mt-2 font-display text-4xl font-semibold tracking-tight",children:"From pitch review to evidence-backed investment diligence."}),e.jsx("p",{className:"mt-4 text-muted-foreground",children:"Investor Deep Dive independently researches and tests the claims behind an opportunity before producing an evidence-linked investment memo. Deck claims, independent verification, contradictions and unresolved items are kept clearly separate."})]}),e.jsxs("section",{className:"mt-8 rounded-2xl border border-border/60 bg-card/40 backdrop-blur-xl p-6",children:[e.jsxs("div",{className:"flex flex-wrap items-end gap-4",children:[e.jsxs("div",{className:"min-w-[280px] flex-1",children:[e.jsx("label",{className:"text-[10px] uppercase tracking-[0.2em] text-muted-foreground mono",children:"Choose an existing analysed deck"}),e.jsxs("select",{value:i,onChange:s=>l(s.target.value),className:"mt-2 h-10 w-full rounded-md border border-input bg-background px-3 text-sm",children:[r.length===0&&e.jsx("option",{value:"",children:"No analysed decks yet"}),r.map(s=>e.jsx("option",{value:s.id,children:s.original_filename},s.id))]})]}),e.jsx(g,{to:"/upload",children:e.jsxs(t,{variant:"outline",children:[e.jsx(L,{className:"h-4 w-4 mr-2"})," Analyse a new deck"]})})]}),y&&e.jsxs("p",{className:"mt-3 text-xs text-muted-foreground",children:["Current access: ",y.access_level?.replace(/_/g," ")||"summary"]})]}),e.jsxs("div",{className:"mt-6 grid gap-4 lg:grid-cols-3",children:[e.jsx(v,{icon:e.jsx(A,{className:"h-5 w-5 text-primary"}),title:"Investor Due Diligence",price:"$49",period:"USD / opportunity",description:"For angels, family offices, syndicates and investment teams assessing a single opportunity.",bullets:["Independent company, founder and corporate verification","Evidence-backed market and competitor research","Customer, partner, IP and regulatory checks where publicly verifiable","Financial model, burn, runway and unit-economics analysis","Valuation analysis and disclosed comparable rounds","Claim-verification matrix with cited evidence and IC-ready memo"],action:h==="investor"||h==="fund_manager"?e.jsxs(t,{onClick:()=>k("investor_due_diligence"),disabled:!i||x,className:"w-full bg-primary text-primary-foreground font-semibold",children:[x?e.jsx(B,{className:"h-4 w-4 mr-2 animate-spin"}):e.jsx(O,{className:"h-4 w-4 mr-2"}),"Use included deep dive (",d?.included_remaining??0," left)"]}):e.jsx(t,{onClick:()=>i?f("investor_due_diligence_usd_49",i):c.error("Choose a deck first"),className:"w-full bg-primary text-primary-foreground font-semibold",children:"Run investor due diligence"})}),e.jsx(v,{icon:e.jsx(R,{className:"h-5 w-5 text-primary"}),title:"Investor Diligence Desk",price:"$199",period:"USD / month",description:"A recurring diligence workspace for active private-market investors.",bullets:["5 evidence-linked investor deep dives each month","Independent verification across every opportunity","Saved opportunity and diligence history","Repeatable IC-ready memo framework","Claim, contradiction and evidence-gap tracking"],action:e.jsx(t,{onClick:()=>f("investor_due_diligence_monthly_usd_199"),variant:"outline",className:"w-full",children:"Start Investor Desk"})}),e.jsx(v,{icon:e.jsx(q,{className:"h-5 w-5 text-primary"}),title:"Fund Manager Intelligence",price:"$799",period:"USD / month",description:"For VC, PE, family office and fund teams that need an investment-committee and portfolio-construction layer.",bullets:["25 IC-ready deep dives each month","Evidence-linked opportunity diligence","Portfolio and mandate-fit framing","Ownership, dilution and reserve strategy","Follow-on, concentration and return scenarios","Post-investment KPI watchlists"],action:h==="fund_manager"?e.jsxs(t,{onClick:()=>k("fund_manager_deep_dive"),disabled:!i||x,className:"w-full bg-primary text-primary-foreground font-semibold",children:["Use fund-manager deep dive (",d?.included_remaining??0," left)"]}):e.jsx(t,{onClick:()=>f("fund_manager_monthly_usd_799"),variant:"outline",className:"w-full",children:"Start Fund Manager"})})]}),e.jsxs("div",{className:"mt-8 rounded-xl border border-border/60 bg-card/40 p-5 text-sm text-muted-foreground",children:[e.jsx("strong",{className:"text-foreground",children:"How evidence is handled:"})," IQ Pitch separates company-supplied claims from independently verified evidence, contradictory evidence and items that cannot be verified from available public sources. Public-source diligence supports investment decision-making but is not a certified background check, legal opinion or financial audit."]})]}),e.jsx(U,{open:w,onOpenChange:s=>!s&&C(),children:I})]})}function v({icon:a,title:m,price:r,period:u,description:d,bullets:p,action:i}){return e.jsxs("div",{className:"rounded-2xl border border-border/60 bg-card/40 backdrop-blur-xl p-6 flex flex-col",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[a,e.jsx("h2",{className:"font-display text-xl font-semibold",children:m})]}),e.jsxs("div",{className:"mt-4 flex items-baseline gap-2",children:[e.jsx("span",{className:"font-display text-4xl font-semibold",children:r}),e.jsx("span",{className:"mono text-[10px] text-muted-foreground",children:u})]}),e.jsx("p",{className:"mt-3 text-sm text-muted-foreground",children:d}),e.jsx("ul",{className:"mt-5 space-y-2 flex-1",children:p.map(l=>e.jsxs("li",{className:"flex gap-2 text-sm",children:[e.jsx(z,{className:"h-4 w-4 mt-0.5 text-primary shrink-0"}),l]},l))}),e.jsx("div",{className:"mt-6",children:i})]})}export{ae as component};

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.