PageSourceSearch

https://founder-spark-63.lovable.app/assets/Pricing-BjzKqt82.js

js founder-spark-63.lovable.app collected 2026-10-03 03:32:12 UTC 26,057 bytes, 1 lines download raw bytes

1import{j as e}from"./query-_koPiPsI.js";import{r as n,h as me,f as ue,L as xe}from"./react-vendor-h1rQ_Bae.js";import{T as he}from"./TeamWaitlistDialog-BYIJMm1F.js";import{F as pe}from"./FixRequestDialog-DEMwH9vL.js";import{f as ge,a7 as fe,s as v,g as a,aV as b,aC as be,ai as se,B as o,aW as je,a1 as g,C as S,o as W,Z as ye,p as R,n as F,aX as L,L as j,S as Ne,aY as we,aZ as ve,aN as ke,a_ as re}from"./index-Dq2zLArw.js";import{A as Ce,a as Pe,b as _e,c as Se,d as Fe,e as Ae,f as Te,g as Ie}from"./alert-dialog-DEwTsyDm.js";import{C as De}from"./crown-Uhwa5ZKt.js";import{U as Ee}from"./users-B5SvTFTu.js";import"./select-S0HS5dUY.js";import"./ui-radix-CKwvnS8F.js";import"./supabase-DL6nu9mS.js";import"./chevron-up-Dbq7Df3-.js";import"./charts-Xu79y1bN.js";import"./motion-nVmI7L5T.js";const Ve=()=>{const[l,k]=n.useState(!1),[u]=me(),h=ue(),{user:c,session:f,signOut:te}=ge(),ae=async()=>{try{sessionStorage.removeItem("checkout_grace_until")}catch{}await te(),h("/")},{subscribed:i,refreshSubscription:C,isTrial:A,trialEndsAt:T,tier:N}=fe(),w=ke(N),I=n.useRef(i);n.useEffect(()=>{I.current=i},[i]);const Y=n.useRef(A),D=n.useRef(T);n.useEffect(()=>{Y.current=A},[A]),n.useEffect(()=>{D.current=T},[T]);const[E,B]=n.useState(!1),[$,M]=n.useState(null),[U,X]=n.useState(null);n.useEffect(()=>{if(!c){B(!1),M(null),X(null);return}v.from("user_roles").select("role").eq("user_id",c.id).eq("role","admin").maybeSingle().then(({data:s})=>B(!!s)),v.from("profiles").select("trial_pass_expires_at, subscription_status").eq("id",c.id).maybeSingle().then(({data:s})=>{M(s?.trial_pass_expires_at??null),X(s?.subscription_status??null)})},[c,i]);const H=!!$&&new Date($)<=new Date,ie=!i&&!!U&&["canceled","incomplete_expired","unpaid"].includes(U);n.useEffect(()=>{if(u.get("test_conversion")==="1"){if(!E){a.error("Test conversion is admin-only");return}typeof window.gtag=="function"?(window.gtag("event","conversion",{send_to:"AW-18005268876/NzU3CO-gipocEIyzyolD",transaction_id:`test_${Date.now()}`,value:1,currency:"USD"}),a.success("Test conversion fired",{description:"Check Tag Assistant / Google Ads for the hit."})):a.error("gtag not loaded");return}if(u.get("trial_pass_success")==="true"){b("checkout_returned_success",{metadata:{session_id:u.get("session_id"),kind:"trial_pass"}});try{sessionStorage.setItem("checkout_grace_until",String(Date.now()+5*60*1e3))}catch{}if(typeof window.gtag=="function"){const p=u.get("session_id")||`tp_${c?.id??"anon"}_${Date.now()}`;window.gtag("event","conversion",{send_to:"AW-18005268876/NzU3CO-gipocEIyzyolD",transaction_id:p,value:29,currency:"USD"})}a.success("Activating your 7-day trial pass…",{description:"This can take up to a minute.",duration:8e3});let s=!1,r=0;const t=10,m=async()=>{if(!s&&(r+=1,await C(),!s)){if(I.current){a.success("Welcome to ThoughtForge",{description:"Your 7-day trial pass is now active."}),h("/dashboard",{replace:!0});return}if(r>=t){a.error("Still activating",{description:"Refresh in a moment, or contact support if this persists."});return}setTimeout(m,3e3)}};return m(),()=>{s=!0}}if(u.get("success")==="true"){b("checkout_returned_success",{metadata:{session_id:u.get("session_id")}});try{sessionStorage.setItem("checkout_grace_until",String(Date.now()+5*60*1e3))}catch{}if(typeof window.gtag=="function"){const p=u.get("session_id")||`wh_${c?.id??"anon"}_${Date.now()}`;window.gtag("event","conversion",{send_to:"AW-18005268876/NzU3CO-gipocEIyzyolD",transaction_id:p,value:0,currency:"USD"})}a.success("Starting your 7-day free trial…",{description:"One moment while we activate your workspace.",duration:8e3});let s=!1,r=0;const t=10,m=async()=>{if(!s&&(r+=1,await C(),!s)){if(I.current){const p=Y.current,ee=D.current?new Date(D.current).toLocaleDateString(void 0,{month:"short",day:"numeric"}):null;a.success("Welcome to ThoughtForge",{description:p&&ee?`Trial active — we won't charge until ${ee}. Cancel anytime.`:"Your subscription is now active."}),h("/dashboard",{replace:!0});return}if(r>=t){a.error("Still activating",{description:"Refresh in a moment, or contact support if this persists."});return}setTimeout(m,3e3)}};return m(),()=>{s=!0}}else if(u.get("canceled")==="true")b("checkout_returned_cancel"),a.info("Checkout canceled",{description:"No charges were made."});else try{const s="tf_pricing_viewed";sessionStorage.getItem(s)||(sessionStorage.setItem(s,"1"),b("pricing_viewed",{metadata:{authenticated:!!c}}))}catch{}},[u,C,h,i,E,c]);const[O,V]=n.useState(null),[x,P]=n.useState(null),[d,Z]=n.useState(!1),[ne,J]=n.useState(!1),_=async(s="subscriber")=>{if(!c||!f){h(`/auth?tab=signup&redirect=/pricing${s==="subscriber_pro"?"?plan=pro":""}`);return}k(!0),V(s),b("checkout_started",{metadata:{tier:s}});try{const{data:r,error:t}=await v.functions.invoke("create-checkout",{body:{tier:s},headers:{Authorization:`Bearer ${f.access_token}`}});if(t)throw t;if(r?.success===!1){b("dropoff_marked",{reason:"checkout_create_failed",metadata:{errorCode:r?.errorCode,error:r?.error,tier:s}}),a.error("Failed to start checkout",{description:r?.error||r?.errorCode||"Please try again or c
1ontact support."});return}r?.url&&(window.location.href=r.url)}catch(r){console.error("Checkout error:",r),b("dropoff_marked",{reason:"checkout_exception",metadata:{error:String(r),tier:s}}),a.error("Failed to start checkout",{description:"Please try again or contact support."})}finally{k(!1),V(null)}},z=s=>{if(!c||!f){h("/auth?tab=signup&redirect=/pricing");return}if(s===N){a.info("You're already on this plan.");return}const r={subscriber:1,subscriber_pro:2,subscriber_enterprise:3},t=r[N]??0,m=r[s]>t;P({target:s,isUpgrade:m})},oe=async()=>{if(!x||!f)return;const{target:s,isUpgrade:r}=x;Z(!0);try{const{data:t,error:m}=await v.functions.invoke("change-subscription-plan",{body:{target_tier:s},headers:{Authorization:`Bearer ${f.access_token}`}});if(m)throw m;if(t?.success===!1){if(t?.errorCode==="NO_ACTIVE_SUBSCRIPTION"){P(null),await _(s);return}a.error(r?"Upgrade failed":"Plan change failed",{description:t?.error||t?.errorCode||"Please try again or contact support."});return}if(t?.alreadyOnTier)a.info("You're already on this plan.");else if(r){const p=typeof t?.amountCharged=="number"?(t.amountCharged/100).toFixed(2):null;a.success("Upgraded to Forge Pro",{description:p?`Charged $${p} today (prorated). $299/mo going forward.`:"You're on Forge Pro now."})}else a.success("Switched to Forge",{description:"You're on Forge ($149/mo) now. Next invoice will reflect the new price."});P(null),await C()}catch(t){console.error("Plan change error:",t),a.error(r?"Upgrade failed":"Plan change failed",{description:"Please try again or contact support."})}finally{Z(!1)}},le=async()=>{if(f){k(!0);try{const{data:s,error:r}=await v.functions.invoke("create-checkout-test",{body:{},headers:{Authorization:`Bearer ${f.access_token}`}});if(r)throw r;if(s?.success===!1){a.error("Test checkout failed",{description:s.error||s.errorCode});return}s?.url&&window.open(s.url,"_blank")}catch(s){console.error("Test checkout error:",s),a.error("Failed to start sandbox checkout")}finally{k(!1)}}},K=()=>{h("/profile#subscription")},G=re.subscriber,q=re.subscriber_pro,ce=["Unlimited articles + atomization","GEO / SEO / AEO optimization built-in","AI Radar: ChatGPT, Claude, Gemini & Perplexity","Weekly citation probes · up to 30 tracked queries","LinkedIn / X / Threads publishing","AI Writing + Voice Learning","Personal site on you.thoughtforge.app","Humanity Signature (proof-of-human)","Newsletter + 2 sequences","Google Search Console rankings","Article analytics (views, scroll, AI referrals)"],de=["Everything in Forge, plus:","Daily checks across every AI engine + unlimited tracked phrases — spot a drop in 24 hours, not next week","Your own domain, zero ThoughtForge branding — your personal site lives on yourname.com","Shareable proof cards — auto image every time ChatGPT or Perplexity quotes your work","Also: priority AI models for drafts, unlimited email sequences, weekly performance PDF, priority support"],y=!!c,Q=e.jsxs(e.Fragment,{children:[e.jsx(be,{title:"Pricing — ThoughtForge · Get quoted by ChatGPT, Google & every AI engine",description:"One platform to write in your voice, get cited by ChatGPT, Claude, Gemini & Perplexity, and distribute everywhere. Forge $149/mo. Pro $299/mo.",canonicalUrl:"https://thoughtforge.app/pricing"}),e.jsxs("div",{className:"min-h-screen bg-background",children:[(!y||!i)&&e.jsxs("header",{className:"border-b border-border px-4 md:px-6 py-3 flex items-center justify-between gap-3",children:[e.jsxs(xe,{to:"/",className:"flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors",children:[e.jsx(se,{className:"h-4 w-4"}),e.jsx("span",{className:"font-semibold text-foreground",children:"ThoughtForge"})]}),y&&!i&&e.jsx(o,{variant:"ghost",size:"sm",onClick:ae,children:"Sign out"})]}),e.jsxs("div",{className:"container max-w-5xl py-12 px-4",children:[y&&i&&e.jsx("div",{className:"mb-6",children:e.jsxs(o,{variant:"ghost",size:"sm",onClick:()=>h("/dashboard"),className:"gap-2 -ml-2",children:[e.jsx(se,{className:"h-4 w-4"}),"Back to dashboard"]})}),y&&!i&&e.jsx(je,{currentStep:3}),e.jsxs("div",{className:"text-center mb-10 max-w-3xl mx-auto",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4 tracking-tight",children:"Stop writing content the AIs ignore."}),e.jsx("p",{className:"text-xl text-muted-foreground",children:"ThoughtForge gets you quoted by ChatGPT, Claude, Gemini and Perplexity — in a voice that actually sounds like you. One article, everywhere your buyers look."}),e.jsx("p",{className:"text-xs text-muted-foreground mt-4",children:"7-day free trial on Forge & Pro · card required · cancel anytime"})]}),e.jsxs("div",{className:"grid gap-4 md:grid-cols-2 max-w-4xl mx-auto mb-12",children:[e.jsxs("div",{className:"rounded-lg border border-border bg-muted/20 p-5",children:[e.jsx("p",{className:"text-xs uppercase tracking-wider font-semibold text-muted-foreground mb-3",children:"The problem you're feeling"}),e.jsxs("ul",{className:"space-y-2 text-sm",children:[e.jsxs("li",{className:"flex gap-2",children:[e.jsx("span",{className:"text-muted-foreground",children:"—"}),e.jsx("span",{children:"Google traffic is drying up as AI answers eat the clicks"})]}),e.jsxs("li",{className:"flex gap-2",children:[e.jsx("span",{className:"text-muted-foreground",children:"—"}),e.jsx("span",{children:"ChatGPT and Perplexity quote everyone but you"})]}),e.jsxs("li",{className:"flex gap-2",children:[e.jsx("span",{className:"text-muted-foreground",children:"—"}),e.jsx("span",{children:"Your AI-drafted posts sound like everyone else's AI-drafted posts"})]}),e.jsxs("li",{className:"flex gap-2",children:[e.jsx("span",{className:"text-muted-foreground",children:"—"}),e.jsx("span",{children:"You ship one article, then burn a weekend cutting it into LinkedIn and X"})]})]})]}),e.jsxs("div",{className:"rounded-lg border border-primary/30 bg-primary/5 p-5",children:[e.jsx("p",{className:"text-xs uppercase tracking-wider font-semibold text-primary mb-3",children:"What changes with ThoughtForge"}),e.jsxs("ul",{className:"space-y-2 text-sm",children:[e.jsxs("li",{className:"flex gap-2",children:[e.jsx(g,{className:"h-4 w-4 text-primary shrink-0 mt-0.5"}),e.jsx("span",{children:"Weekly proof you're being quoted across all four AI engines"})]}),e.jsxs("li",{className:"flex gap-2",children:[e.jsx(g,{className:"h-4 w-4 text-primary shrink-0 mt-0.5"}),e.jsx("span",{children:"A voice model learned from your own writing — every article signed as human-made"})]}),e.jsxs("li",{className:"flex gap-2",children:[e.jsx(g,{className:"h-4 w-4 text-primary shrink-0 mt-0.5"}),e.jsx("span",{children:"One article auto-atomized into LinkedIn posts, X threads, and a newsletter"})]}),e.jsxs("li",{className:"flex gap-2",children:[e.jsx(g,{className:"h-4 w-4 text-primary shrink-0 mt-0.5"}),e.jsx("span",{children:"Publish to ThoughtForge, WordPress, or Shopify from the same editor"})]})]})]})]}),y&&!i&&(H||ie)&&e.jsxs("div",{className:"mb-6 rounded-lg border border-primary/30 bg-primary/5 p-4 text-center",children:[e.jsx("p",{className:"font-medium",children:H?e.jsxs(e.Fragment,{children:["Your trial ended on"," ",new Date($).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),"."]}):U==="canceled"?e.jsx(e.Fragment,{children:"Your trial was canceled. Restart anytime — your workspace is still here."}):e.jsx(e.Fragment,{children:"Your free trial has ended."})}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Pick up where you left off — your articles, voice profile and connections are all saved."})]}),e.jsxs("div",{className:"grid gap-6 md:grid-cols-3 max-w-6xl mx-auto",children:[e.jsxs(S,{className:`border-border ${i&&!w?"ring-2 ring-primary":""}`,children:[e.jsxs(W,{className:"text-center pb-4",children:[e.jsx("div",{className:"mx-auto mb-4 p-3 rounded-full bg-primary/10 w-fit",children:e.jsx(ye,{className:"h-6 w-6 text-primary"})}),e.jsx(R,{className:"text-2xl",children:"Forge"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"For the founder-operator shipping in their own voice."})]}),e.jsxs(F,{children:[e.jsx("div",{className:"text-center mb-6",children:e.jsxs("div",{className:"flex items-baseline justify-center gap-1",children:[e.jsxs("span",{className:"text-5xl font-bold",children:["$",G.monthlyPrice]}),e.jsx("span",{className:"text-muted-foreground text-lg",children:"/mo"})]})}),e.jsx("ul",{className:"space-y-3",children:ce.map(s=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),e.jsx("span",{className:"text-sm",children:s})]},s))})]}),e.jsxs(L,{className:"pt-4 flex-col gap-3",children:[i&&!w?e.jsx(o,{variant:"outline",className:"w-full",onClick:K,disabled:l,children:"Manage Subscription"}):i&&w?e.jsxs(e.Fragment,{children:[e.jsxs(o,{variant:"outline",className:"w-full",onClick:()=>
1z("subscriber"),disabled:l||d,children:[d&&x?.target==="subscriber"?e.jsx(j,{className:"h-4 w-4 animate-spin mr-2"}):null,"Switch to Forge"]}),e.jsx("p",{className:"text-xs text-muted-foreground text-center -mt-1",children:"Downgrade takes effect next invoice · keep everything until then"})]}):e.jsxs(e.Fragment,{children:[e.jsxs(o,{className:"w-full",onClick:()=>_("subscriber"),disabled:l,size:"lg",children:[l&&O==="subscriber"?e.jsx(j,{className:"h-4 w-4 animate-spin mr-2"}):null,"Start 7-day free trial"]}),e.jsxs("p",{className:"text-xs text-muted-foreground text-center -mt-1",children:["Card required · $",G.monthlyPrice,"/mo after · cancel anytime"]})]}),E&&e.jsx(o,{variant:"outline",size:"sm",className:"w-full text-xs opacity-70",onClick:le,disabled:l,children:"🧪 Test checkout (sandbox)"})]})]}),e.jsxs(S,{className:`border-primary shadow-xl relative ${w?"ring-2 ring-primary":""}`,children:[e.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:e.jsx("span",{className:"text-[10px] uppercase tracking-wider font-semibold bg-primary text-primary-foreground px-3 py-1 rounded-full shadow",children:"Most popular"})}),e.jsxs(W,{className:"text-center pb-4",children:[e.jsx("div",{className:"mx-auto mb-4 p-3 rounded-full bg-primary/10 w-fit",children:e.jsx(De,{className:"h-6 w-6 text-primary"})}),e.jsx(R,{className:"text-2xl",children:"Forge Pro"}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"For operators who need to move faster and own the brand end-to-end."})]}),e.jsxs(F,{children:[e.jsx("div",{className:"text-center mb-6",children:e.jsxs("div",{className:"flex items-baseline justify-center gap-1",children:[e.jsxs("span",{className:"text-5xl font-bold",children:["$",q.monthlyPrice]}),e.jsx("span",{className:"text-muted-foreground text-lg",children:"/mo"})]})}),e.jsx("ul",{className:"space-y-3",children:de.map((s,r)=>e.jsxs("li",{className:"flex items-start gap-3",children:[r===0?e.jsx(Ne,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}):e.jsx(g,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),e.jsx("span",{className:`text-sm ${r===0?"font-medium":""}`,children:s})]},s))})]}),e.jsx(L,{className:"pt-4 flex-col gap-3",children:w?e.jsx(o,{variant:"outline",className:"w-full",onClick:K,disabled:l,children:"Manage Subscription"}):i?e.jsxs(e.Fragment,{children:[e.jsxs(o,{className:"w-full",onClick:()=>z("subscriber_pro"),disabled:l||d,size:"lg",children:[d&&x?.target==="subscriber_pro"?e.jsx(j,{className:"h-4 w-4 animate-spin mr-2"}):null,"Upgrade to Pro"]}),e.jsx("p",{className:"text-xs text-muted-foreground text-center -mt-1",children:"Prorated instantly · cancel anytime"})]}):e.jsxs(e.Fragment,{children:[e.jsxs(o,{className:"w-full",onClick:()=>_("subscriber_pro"),disabled:l,size:"lg",children:[l&&O==="subscriber_pro"?e.jsx(j,{className:"h-4 w-4 animate-spin mr-2"}):null,"Start 7-day free trial"]}),e.jsxs("p",{className:"text-xs text-muted-foreground text-center -mt-1",children:["Card required · $",q.monthlyPrice,"/mo after · cancel anytime"]})]})})]}),e.jsxs(S,{className:"border-border bg-muted/10",children:[e.jsxs(W,{className:"text-center pb-4",children:[e.jsx("div",{className:"mx-auto mb-4 p-3 rounded-full bg-foreground
1/5 w-fit",children:e.jsx(Ee,{className:"h-6 w-6 text-foreground/70"})}),e.jsxs(R,{className:"text-2xl flex items-center justify-center gap-2",children:["Agency",e.jsx("span",{className:"text-[10px] uppercase tracking-wider bg-primary/10 text-primary px-2 py-0.5 rounded-full",children:"Waitlist"})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"For teams managing multiple brands."})]}),e.jsxs(F,{children:[e.jsxs("div",{className:"text-center mb-6",children:[e.jsxs("div",{className:"flex items-baseline justify-center gap-1",children:[e.jsx("span",{className:"text-4xl font-bold",children:"$499+"}),e.jsx("span",{className:"text-muted-foreground text-lg",children:"/mo"})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Final pricing set at launch."})]}),e.jsx("ul",{className:"space-y-3",children:["Everything in Forge Pro","Multi-brand workspaces (up to 5)","Team seats & role management","Client-ready white-label reports","Slack / webhook alerts","Competitor share-of-voice tracking","Dedicated onboarding + Slack channel"].map(s=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"h-5 w-5 text-primary shrink-0 mt-0.5"}),e.jsx("span",{className:"text-sm",children:s})]},s))})]}),e.jsxs(L,{className:"pt-4 flex-col gap-2",children:[e.jsx(he,{trigger:e.jsx(o,{variant:"outline",className:"w-full",size:"lg",children:"Join the Agency waitlist"})}),e.jsx("p",{className:"text-xs text-muted-foreground text-center",children:"Launches when 20 agencies join. We'll email you."})]})]})]}),e.jsx("div",{className:"mt-10 max-w-6xl mx-auto",children:e.jsx(S,{className:`border-2 ${N==="subscriber_enterprise"?"ring-2 ring-primary border-primary":"border-foreground
1/20 bg-gradient-to-br from-foreground/[0.02] to-foreground/[0.05]"}`,children:e.jsx(F,{className:"p-8 md:p-10",children:e.jsxs("div",{className:"grid md:grid-cols-[1.4fr_1fr] gap-8 items-center",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[e.jsx("span",{className:"text-[10px] uppercase tracking-widest font-semibold px-2 py-1 rounded-full bg-foreground text-background",children:"Enterprise"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"GEO observability suite"})]}),e.jsx("h3",{className:"text-3xl font-bold mb-2",children:"Forge Enterprise"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-5 max-w-xl",children:"Everything in Forge Pro, plus the three GEO diagnostic engines built for teams that need to prove AI visibility, not guess at it."}),e.jsx("ul",{className:"grid sm:grid-cols-2 gap-x-6 gap-y-2 mb-6",children:["RAG Sandbox — vector chunking simulator","Adversarial Matrix — multi-turn model probing","Entity Reconciler — JSON-LD contradiction detection","Priority founder support","Unlimited everything in Pro","API + webhook access (on request)"].map(s=>e.jsxs("li",{className:"flex items-start gap-2 text-sm",children:[e.jsx(g,{className:"h-4 w-4 text-primary shrink-0 mt-0.5"}),e.jsx("span",{children:s})]},s))})]}),e.jsxs("div",{className:"md:border-l md:border-border md:pl-8",children:[e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex items-baseline gap-1",children:[e.jsx("span",{className:"text-4xl font-bold",children:"$2,499"}),e.jsx("span",{className:"text-muted-foreground text-lg",children:"/mo"})]}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1",children:"Self-serve · cancel anytime"})]}),N==="subscriber_enterprise"?e.jsx(o,{disabled:!0,className:"w-full mb-3",size:"lg",children:"You're on Enterprise"}):i?e.jsxs(o,{className:"w-full mb-3",size:"lg",onClick:()=>z("subscriber_enterprise"),disabled:d,children:[d&&x?.target==="subscriber_enterprise"?e.jsx(j,{className:"h-4 w-4 animate-spin mr-2"}):null,"Upgrade to Enterprise"]}):e.jsxs(o,{className:"w-full mb-3",size:"lg",onClick:()=>_("subscriber_enterprise"),disabled:l,children:[l&&O==="subscriber_enterprise"?e.jsx(j,{className:"h-4 w-4 animate-spin mr-2"}):null,"Start Enterprise"]}),e.jsx("button",{type:"button",onClick:()=>J(!0),className:"block w-full text-center text-xs text-muted-foreground hover:text-foreground underline underline-offset-4",children:"Need us to run it for you? Founder-managed from $10,000/mo — talk to founder →"})]})]})})})}),e.jsxs("div",{className:"mt-12 max-w-4xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-bold text-center mb-2",children:"Forge vs Forge Pro"}),e.jsx("p",{className:"text-sm text-muted-foreground text-center mb-6",children:"Both ship the full create → optimize → distribute → measure loop. Pro turns AI-visibility into daily, broadcastable proof."}),e.jsx("div",{className:"overflow-hidden rounded-lg border border-border",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{className:"bg-muted/40",children:e.jsxs("tr",{children:[e.jsx("th",{className:"text-left px-4 py-3 font-semibold",children:"Capability"}),e.jsxs("th",{className:"text-center px-4 py-3 font-semibold",children:["Forge · $",G.monthlyPrice,"/mo"]}),e.jsxs("th",{className:"text-center px-4 py-3 font-semibold",children:["Forge Pro · $",q.monthlyPrice,"/mo"]})]})}),e.jsx("tbody",{className:"divide-y divide-border",children:[["Articles & atomization","Unlimited","Unlimited"],["Publishing (LinkedIn / X / Threads)","Unlimited","Unlimited"],["GEO / SEO / AEO optimization","Included","Included + priority scoring"],["AI engines probed","ChatGPT · Claude · Gemini · Perplexity","ChatGPT · Claude · Gemini · Perplexity"],["Tracked queries","Up to 30","Up to 100"],["Probe cadence","Weekly","Daily (7× signal)"],["AI writing model tier","Standard (Claude Sonnet)","Priority routing (heavier models)"],["Personal site","you.thoughtforge.app","Custom domain · white-label"],["Newsletter sequences","2 max","Unlimited"],["Citation share-cards (PNG proof)","—","Auto-generated"],["Weekly AI-visibility PDF","—","Included"],["Support","Email","Priority · 24h response"]].map(([s,r,t])=>e.jsxs("tr",{className:"hover:bg-muted/20",children:[e.jsx("td",{className:"px-4 py-3 font-medium",children:s}),e.jsx("td",{className:"px-4 py-3 text-center text-muted-foreground",children:r}),e.jsx("td",{className:"px-4 py-3 text-center",children:t})]},s))})]})}),e.jsx("p",{className:"text-xs text-muted-foreground text-center mt-3",children:"vs Profound $399 · Peec $245 · Otterly $189 — none bundle creation + distribution + citation-share proof."})]}),e.jsx("div",{className:"mt-10 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Built by a foun
1der, used by founders."})}),e.jsx("div",{className:"mt-10 flex flex-col items-center gap-4",children:e.jsxs("div",{className:"flex flex-wrap justify-center gap-6 text-sm text-muted-foreground",children:[e.jsx("span",{children:"✓ Cancel anytime"}),e.jsx("span",{children:"✓ Secure Stripe checkout"})]})}),e.jsx("div",{className:"mt-12 text-center",children:e.jsxs("p",{className:"text-muted-foreground",children:["Questions? Contact us at"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})})]})]}),e.jsx(Ce,{open:!!x,onOpenChange:s=>{!s&&!d&&P(null)},children:e.jsxs(Pe,{children:[e.jsxs(_e,{children:[e.jsx(Se,{children:x?.isUpgrade?"Upgrade to Forge Pro?":"Switch to Forge?"}),e.jsx(Fe,{asChild:!0,children:e.jsx("div",{className:"space-y-2 text-sm text-muted-foreground",children:x?.isUpgrade?e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"We'll swap your current Forge subscription to Forge Pro right now on the card you already have on file."}),e.jsxs("p",{children:["Stripe charges the ",e.jsx("strong",{children:"prorated difference for the rest of this billing period today"}),", then ",e.jsx("strong",{children:"$299/mo"})," on your next renewal. No second subscription is created."]})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{children:"We'll move your subscription from Forge Pro to Forge ($149/mo)."}),e.jsxs("p",{children:["The change takes effect immediately — you'll keep Pro-only features until the end of this billing period, and your ",e.jsx("strong",{children:"next invoice will be $149"}),". No refund is issued for the current period."]})]})})})]}),e.jsxs(Ae,{children:[e.jsx(Te,{disabled:d,children:"Cancel"}),e.jsx(Ie,{onClick:s=>{s.preventDefault(),oe()},disabled:d,children:d?e.jsxs(e.Fragment,{children:[e.jsx(j,{className:"h-4 w-4 animate-spin mr-2"}),"Working…"]}):x?.isUpgrade?"Yes, upgrade & charge my card":"Yes, switch to Forge"})]})]})}),e.jsx(pe,{open:ne,onOpenChange:J,requestType:"managed_inquiry"})]});return y&&i?e.jsx(we,{children:e.jsxs("div",{className:"min-h-screen flex w-full",children:[e.jsx(ve,{}),e.jsx("main",{className:"flex-1 flex flex-col",children:Q})]})}):Q};export{Ve 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.