1import{r as p,j as e,Y as N,s as I,n as y,x as M,Q as E,o as T,q as D,Z as O,a2 as L}from"./vendor-ui-DmDwaAyX.js";import{M as F,B as m,C as w,b as A,F as B}from"./App-B47Z6PY2.js";import"./vendor-react-Bzgz95E1.js";import"./index-BJDZa5WE.js";import"./vendor-router-BnnYBCQO.js";import"./vendor-stripe-BrQbAkpF.js";const j=[{id:"law",label:"Law Firm",icon:"âï¸"},{id:"real-estate",label:"Real Estate",icon:"ð "},{id:"construction",label:"Construction",icon:"ðï¸"},{id:"staffing",label:"Staffing Agency",icon:"ð¥"},{id:"insurance",label:"Insurance Agency",icon:"ð¡ï¸"},{id:"mortgage",label:"Mortgage Broker",icon:"ð¦"},{id:"accounting",label:"Accounting Firm",icon:"ð"},{id:"healthcare",label:"Healthcare Practice",icon:"ð¥"}],$={law:[{id:"drafting",question:"How much time does your team spend drafting documents manually?",weight:1.5},{id:"signatures",question:"How often do signature delays slow down client onboarding?",weight:1.2},{id:"compliance",question:"How concerned are you about compliance errors in documents?",weight:1.3},{id:"templates",question:"How inconsistent are your document templates across the firm?",weight:1},{id:"billing",question:"How much billable time is lost to administrative document work?",weight:1.4}],"real-estate":[{id:"speed",question:"How often do paperwork delays cause you to lose deals?",weight:1.5},{id:"disclosures",question:"How difficult is it to keep disclosure forms compliant?",weight:1.3},{id:"coordination",question:"How challenging is multi-party signature coordination?",weight:1.2},{id:"templates",question:"How much time is spent on offer and contract preparation?",weight:1.4},{id:"storage",question:"How organized is your document storage and retrieval?",weight:.8}],construction:[{id:"changeorders",question:"How often are change orders disputed due to poor documentation?",weight:1.5},{id:"liens",question:"How difficult is lien waiver compliance across subcontractors?",weight:1.4},{id:"contracts",question:"How long does subcontractor agreement preparation take?",weight:1.2},{id:"tracking",question:"How hard is it to track who has signed what across projects?",weight:1.1},{id:"bids",question:"How much time is spent preparing bid packages?",weight:1}],staffing:[{id:"placement",question:"How often do contract delays cause you to lose placements?",weight:1.5},{id:"fees",question:"How often are placement fees disputed due to contract gaps?",weight:1.4},{id:"onboarding",question:"How long does contractor onboarding documentation take?",weight:1.2},{id:"classification",question:"How concerned are you about worker classification compliance?",weight:1.3},{id:"msa",question:"How difficult is MSA negotiation with enterprise clients?",weight:1}],insurance:[{id:"eo",question:"How concerned are you about E&O exposure from documentation errors?",weight:1.5},{id:"onboarding",question:"How long does new client policy documentation take?",weight:1.3},{id:"compliance",question:"How difficult is state regulatory compliance documentation?",weight:1.4},{id:"claims",question:"How often do claims documentation delays create problems?",weight:1.2},{id:"renewals",question:"How much time is spent on policy renewal documentation?",weight:1}],mortgage:[{id:"respa",question:"How concerned are you about RESPA compliance in disclosures?",weight:1.5},{id:"speed",question:"How often do disclosure delays slow loan processing?",weight:1.4},{id:"closing",question:"How challenging is multi-party closing coordination?",weight:1.2},{id:"ratelocks",question:"How often do rate lock expirations cause problems?",weight:1.3},{id:"volume",question:"How difficult is managing documentation across 20+ loans?",weight:1.1}],accounting:[{id:"engagement",question:"How much time is spent on engagement letter preparation?",weight:1.5},{id:"scope",question:"How often does scope creep reduce your firm's profitability?",weight:1.4},{id:"renewals",question:"How burdensome is the annual engagement letter renewal process?",weight:1.3},{id:"auth",question:"How difficult is managing tax authorization forms for clients?",weight:1.2},{id:"onboarding",question:"How long does new client onboarding documentation take?",weight:1}],healthcare:[{id:"hipaa",question:"How concerned are you about HIPAA compliance in patient documents?",weight:1.5},{id:"intake",question:"How much time does patient intake documentation consume?",weight:1.4},{id:"consent",question:"How difficult is managing procedure-specific consent forms?",weight:1.3},{id:"capacity",question:"How much does intake bottleneck limit your daily patient capacity?",weight:1.2},{id:"providers",question:"How complex is provider agreement documentation?",weight:1}]};function Y(l){const s=l.docsPerMonth*l.hoursPerDoc*.85,i=s*l.hourlyRate,o=i*12,r=l.currentToolCost*12,u=o+r;let n,d;l.firmSize>=20||u>=5e4?(n="enterprise",d=2988):u>=1e4||l.firmSize>=5?(n="professional",d=588):(n="starter",d=228);const g=u-d,v=Math.max(1,Math.round(g/d)),b=Object.entries(l.painScores).sort(([,k],[,S])=>S-k).slice(0,3).map(([k])=>k),W=_(l,b,s,i);return{hoursSavedMonthly:Math.round(s),dollarsSavedMonthly:Math.round(i),annualSavings:Math.round(u),signovaAnnualCost:d,netROI:Math.round(g),roiMultiple:v,recommendedPlan:n,topPainAreas:b,personalizedInsights:W}}function _(l,c,s,i){const o=j.find(d=>d.id===l.vertical)?.label||"your industry",r=[];s>=40?r.push(`Your team is losing the equivalent of a full-time employee to document administration. At ${l.docsPerMonth} documents per month, Signova would recover ${Math.round(s)} hours â enough to handle ${Math.round(s/8)} additional client engagements monthly.`):s>=10?r.push(`Signova would recover ${Math.round(s)} hours per month for your team â time that can be redirected to billable work or client acquisition.`):r.push(`Even at your current volume, Signova would save ${Math.round(s)} hours per month and eliminate the compliance risk that comes with manual document preparation.`);const u={drafting:"Manual document drafting is your biggest time sink. Signova's AI generation reduces drafting time by 85% â from hours to minutes per document.",signatures:"Signature delays are costing you client relationships. Signova's automated reminders and mobile-friendly signing eliminate the follow-up burden entirely.",compliance:`Compliance errors in ${o.toLowerCase()} documents create serious liability. Signova's templates are maintained for regulatory compliance so you don't have to track changes manually.`,changeorders:"Undocumented change orders are the #1 cause of contractor disputes. Signova makes it effortless to generate and get signed change orders in real-time.",fees:"Placement fee disputes stem from contract gaps. Signova's non-circumvention clauses and fee protection language are built into every placement agreement.",eo:"E&O exposure from documentation errors is your highest-cost risk. Signova's audit trail provides defensible documentation for every client interaction.",respa:"RESPA compliance requires precise timing and content. Signova generates CFPB-compliant disclosures with timestamps that satisfy regulatory requirements.",engagement:"Engagement letter delays cost your firm billable time at the start of every client relationship. Signova reduces engagement letter prep from hours to minutes.",hipaa:"HIPAA compliance in patient documentation requires specific language and audit trails. Signova's templates are privacy-focused by design.",speed:"In competitive markets, speed wins. Signova lets you prepare and send a complete document package in under 15 minutes."},n=c[0];return n&&u[n]&&r.push(u[n]),l.currentTool==="docusign"?r.push(`You're currently paying for DocuSign but still drafting documents manually. Signova replaces both the drafting time AND the DocuSign cost â saving you $${Math.round(i+l.currentToolCost)} per month total.`):l.currentTool==="manual"?r.push(`Moving from fully manual processes to Signova automation typically delivers the fastest ROI â most ${o.toLowerCase()} firms see payback within the first week of use.`):r.push("Consolidating from your current tool to Signova eliminates the gap between document generation and e-signature â one platform, one workflow, one price."),r}const U={starter:{name:"Starter",price:"$19/mo",priceId:"starter",features:["5 AI documents/month","10 e-signatures/month","Basic templates","Email support"],color:"blue"},professional:{name:"Professional",price:"$49/mo",priceId:"professional",features:["50 AI documents/month","50 e-signatures/month","Custom templates","Priority support","Full audit trail"],color:"amber"},enterprise:{name:"Enterprise",price:"Custom",priceId:"enterprise",features:["Unlimited everything","Dedicated account manager","Custom SLA","API access","White-label options","Custom onboarding"],color:"purple"}};function X(){const[l,c]=p.useState(1),[s,i]=p.useState({vertical:"",firmSize:5,painScores:{},docsPerMonth:30,hoursPerDoc:2,hourlyRate:75,currentTool:"docusign",currentToolCost:65}),[o,r]=p.useState(null),u=typeof window<"u"?window.location.search:"",n=new URLSearchParams(u),d=n.get("source")||"direct",g=n.get("mode")||"standard",[v]=p.useState(()=>Math.random().toString(36).slice(2)+Date.now().toString(36));p.useEffect(()=>{g==="cost"&&l===1&&c(3)},[g]);const h=async(t,a={})=>{try{await fetch("/api/audit/log",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({event:t,sessionId:v,conversionSource:d,mode:g,vertical:s.vertical||null,firmSize:s.firmSize||null,docsPerMonth:s.docsPerMonth||null,currentProvider:s.currentTool||null,...a})})}catch{}},[b,W]=p.useState(""),[k,S]=p.useState(!1);p.useEffect(()=>{const t=new URLSearchParams(window.location.search),a=t.get("vertical"),x=t.get("teamSize"),q=t.get("docs");a&&i(f=>({...f,vertical:a})),x&&i(f=>({...f,firmSize:parseInt(x)})),q&&i(f=>({...f,docsPerMonth:parseInt(q)}))},[]);const C=s.vertical?$[s.vertical]||$.law:[],R=(t,a)=>{i(x=>({...x,painScores:{...x.painScores,[t]:a}}))},z=()=>{const t=Y(s);r(t),c(5),h("audit_completed",{annualSavings:t.annualSavings,recommendedPlan:t.recommendedPlan})},P=async t=>{await h("checkout_initiated",{recommendedPlan:t}),window.location.href=`/checkout?plan=${t}&source=${d}&vertical=${s.vertical}&audit=1`},H=Math.round(l/5*100);return e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:346",className:"min-h-screen bg-slate-950 text-slate-100",children:[e.jsx(F,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:347"}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:350",className:"border-b border-slate-800 bg-slate-900/50",children:e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:351",className:"container mx-auto px-4 py-8",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:352",className:"flex items-center gap-3 mb-2",children:[e.jsx(N,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:353",className:"h-6 w-6 text-amber-400"}),e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:354",className:"text-amber-400 text-sm font-medium",children:"AI Workflow Audit"})]}),e.jsx("h1",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:356",className:"text-3xl font-bold text-white mb-2",children:"Your Free AI Workflow Audit"}),e.jsx("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:357",className:"text-slate-400",children:"2-minute questionnaire. Personalized ROI report. No credit card required."}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:359",className:"mt-6 max-w-md",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:360",className:"flex justify-between text-xs text-slate-500 mb-2",children:[e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:361",children:["Step ",l," of 5"]}),e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:362",children:[H,"% complete"]})]}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:364",className:"h-2 bg-slate-800 rounded-full overflow-hidden",children:e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:365",className:"h-full bg-gradient-to-r from-blue-600 to-amber-500 rounded-full transition-all duration-500",style:{width:`${H}%`}})})]})]})}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:374",className:"container mx-auto px-4 py-12 max-w-3xl",children:[l===1&&e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:378",children:[e.jsx("h2",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:379",className:"text-2xl font-bold text-white mb-2",children:"What type of firm do you run?"}),e.jsx("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:380",className:"text-slate-400 mb-8",children:"Select your industry to get a personalized audit."}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:381",className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-8",children:j.map(t=>e.jsxs("button",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:383",onClick:()=>i(a=>({...a,vertical:t.id})),className:`p-4 rounded-xl border text-left transition-all ${s.vertical===t.id?"border-amber-500 bg-amber-500/10 text-white":"border-slate-700 bg-slate-900 text-slate-300 hover:border-slate-500"}`,children:[e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:392",className:"text-2xl mb-2",children:t.icon}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:393",className:"text-sm font-medium",children:t.label})]},t.id))}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:397",className:"mb-8",children:[e.jsx("label",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:398",className:"text-sm text-slate-400 mb-3 block",children:"How many people are on your team?"}),e.jsx("input",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:399",type:"range",min:1,max:100,value:s.firmSize,onChange:t=>i(a=>({...a,firmSize:+t.target.value})),className:"w-full accent-amber-500 mb-2"}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:404",className:"text-amber-400 font-bold text-xl",children:[s.firmSize," ",s.firmSize===1?"person":"people"]})]}),e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:406",size:"lg",disabled:!s.vertical,onClick:()=>{c(2),h("audit_started")},className:"bg-amber-500 hover:bg-amber-400 text-slate-900 font-bold px-8",children:["Continue",e.jsx(I,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:413",className:"ml-2 h-5 w-5"})]})]}),l===2&&e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:420",children:[e.jsx("h2",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:421",className:"text-2xl font-bold text-white mb-2",children:"Rate your current pain points"}),e.jsx("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:422",className:"text-slate-400 mb-8",children:"1 = Not a problem, 5 = Critical pain point"}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:423",className:"space-y-6 mb-8",children:C.map(t=>e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:425",className:"p-5 rounded-xl bg-slate-900 border border-slate-800",children:[e.jsx("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:426",className:"text-slate-200 mb-4",children:t.question}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:427",className:"flex gap-2",children:[1,2,3,4,5].map(a=>e.jsx("button",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:429",onClick:()=>R(t.id,a),className:`flex-1 py-2 rounded-lg text-sm font-medium transition-all ${s.painScores[t.id]===a?a>=4?"bg-red-600 text-white":a>=3?"bg-amber-600 text-white":"bg-blue-600 text-white":"bg-slate-800 text-slate-400 hover:bg-slate-700"}`,children:a},a))}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:446",className:"flex justify-between text-xs text-slate-600 mt-1",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:447",children:"Not a problem"}),e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:448",children:"Critical"})]})]},t.id))}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:453",className:"flex gap-3",children:[e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:454",variant:"outline",onClick:()=>c(1),className:"border-slate-700 text-slate-300",children:[e.jsx(y,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:455",className:"mr-2 h-4 w-4"})," Back"]}),e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:457",size:"lg",disabled
1:Object.keys(s.painScores).length<C.length,onClick:()=>c(3),className:"bg-amber-500 hover:bg-amber-400 text-slate-900 font-bold px-8",children:["Continue ",e.jsx(I,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:463",className:"ml-2 h-5 w-5"})]})]})]}),l===3&&e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:471",children:[e.jsx("h2",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:472",className:"text-2xl font-bold text-white mb-2",children:"Tell us about your document volume"}),e.jsx("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:473",className:"text-slate-400 mb-8",children:"We'll calculate your exact ROI from automation."}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:474",className:"space-y-6 mb-8",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:475",className:"p-5 rounded-xl bg-slate-900 border border-slate-800",children:[e.jsx("label",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:476",className:"text-slate-300 font-medium mb-4 block",children:"Documents processed per month"}),e.jsx("input",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:477",type:"range",min:5,max:500,step:5,value:s.docsPerMonth,onChange:t=>i(a=>({...a,docsPerMonth:+t.target.value})),className:"w-full accent-amber-500 mb-2"}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:482",className:"text-amber-400 font-bold text-2xl",children:[s.docsPerMonth," documents/month"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:484",className:"p-5 rounded-xl bg-slate-900 border border-slate-800",children:[e.jsx("label",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:485",className:"text-slate-300 font-medium mb-4 block",children:"Average hours spent per document (manual process)"}),e.jsx("input",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:486",type:"range",min:.25,max:8,step:.25,value:s.hoursPerDoc,onChange:t=>i(a=>({...a,hoursPerDoc:+t.target.value})),className:"w-full accent-amber-500 mb-2"}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:491",className:"text-amber-400 font-bold text-2xl",children:[s.hoursPerDoc," hours/document"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:493",className:"p-5 rounded-xl bg-slate-900 border border-slate-800",children:[e.jsx("label",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:494",className:"text-slate-300 font-medium mb-4 block",children:"Staff hourly cost (salary + benefits + overhead)"}),e.jsx("input",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:495",type:"range",min:20,max:300,step:5,value:s.hourlyRate,onChange:t=>i(a=>({...a,hourlyRate:+t.target.value})),className:"w-full accent-amber-500 mb-2"}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:500",className:"text-amber-400 font-bold text-2xl",children:["$",s.hourlyRate,"/hour"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:502",className:"p-5 rounded-xl bg-slate-900 border border-slate-800",children:[e.jsx("label",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:503",className:"text-slate-300 font-medium mb-3 block",children:"Current document tool"}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:504",className:"grid grid-cols-2 md:grid-cols-4 gap-2",children:[{id:"docusign",label:"DocuSign",cost:65},{id:"adobe",label:"Adobe Sign",cost:45},{id:"pandadoc",label:"PandaDoc",cost:49},{id:"manual",label:"Manual/Email",cost:0}].map(t=>e.jsxs("button",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:511",onClick:()=>i(a=>({...a,currentTool:t.id,currentToolCost:t.cost})),className:`p-3 rounded-lg text-sm font-medium transition-all ${s.currentTool===t.id?"border border-amber-500 bg-amber-500/10 text-white":"border border-slate-700 bg-slate-800 text-slate-400 hover:border-slate-500"}`,children:[t.label,t.cost>0&&e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:521",className:"text-xs text-slate-500 mt-1",children:["$",t.cost,"/mo"]})]},t.id))})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:527",className:"flex gap-3",children:[e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:528",variant:"outline",onClick:()=>{c(2),h("audit_started")},className:"border-slate-700 text-slate-300",children:[e.jsx(y,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:529",className:"mr-2 h-4 w-4"})," Back"]}),e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:531",size:"lg",onClick:()=>c(4),className:"bg-amber-500 hover:bg-amber-400 text-slate-900 font-bold px-8",children:["Continue ",e.jsx(I,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:536",className:"ml-2 h-5 w-5"})]})]})]}),l===4&&e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:544",children:[e.jsx("h2",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:545",className:"text-2xl font-bold text-white mb-2",children:"Ready to calculate your ROI"}),e.jsx("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:546",className:"text-slate-400 mb-8",children:"Here's a summary of your audit inputs. Click Calculate to see your personalized report."}),e.jsx(w,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:547",className:"bg-slate-900 border-slate-800 mb-8",children:e.jsx(A,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:548",className:"p-6",children:e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:549",className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:550",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:551",className:"text-slate-400",children:"Industry"}),e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:552",className:"text-white font-medium",children:j.find(t=>
1t.id===s.vertical)?.label})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:554",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:555",className:"text-slate-400",children:"Team size"}),e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:556",className:"text-white font-medium",children:[s.firmSize," people"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:558",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:559",className:"text-slate-400",children:"Docs/month"}),e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:560",className:"text-white font-medium",children:s.docsPerMonth})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:562",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:563",className:"text-slate-400",children:"Hours/doc"}),e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:564",className:"text-white font-medium",children:[s.hoursPerDoc," hrs"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:566",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:567",className:"text-slate-400",children:"Hourly cost"}),e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:568",className:"text-white font-medium",children:["$",s.hourlyRate,"/hr"]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:570",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:571",className:"text-slate-400",children:"Current tool"}),e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:572",className:"text-white font-medium capitalize",children:s.currentTool})]})]})})}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:577",className:"mb-6",children:[e.jsx("label",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:578",className:"text-sm text-slate-400 mb-2 block",children:"Email address (to receive your full report)"}),e.jsx("input",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:579",type:"email",value:b,onChange:t=>W(t.target.value),placeholder:"[email protected]",className:"w-full px-4 py-3 rounded-lg bg-slate-900 border border-slate-700 text-white placeholder-slate-500 focus:outline-none focus:border-amber-500"})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:587",className:"flex gap-3",children:[e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:588",variant:"outline",onClick:()=>c(3),className:"border-slate-700 text-slate-300",children:[e.jsx(y,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:589",className:"mr-2 h-4 w-4"})," Back"]}),e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:591",size:"lg",onClick:z,className:"bg-amber-500 hover:bg-amber-400 text-slate-900 font-bold px-8",children:[e.jsx(N,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:596",className:"mr-2 h-5 w-5"}),"Calculate My ROI"]})]})]}),l===5&&o&&e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:605",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:606",className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:607",className:"p-2 rounded-full bg-green-500/20 border border-green-500/30",children:e.jsx(M,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:608",className:"h-6 w-6 text-green-400"})}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:610",children:[e.jsx("h2",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:611",className:"text-2xl font-bold text-white",children:"Your AI Workflow Audit Report"}),e.jsxs("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:612",className:"text-slate-400 text-sm",children:["Based on your ",j.find(t=>t.id===s.vertical)?.label.toLowerCase()," workflow"]})]})]}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:617",className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-8",children:[{label:"Hours saved/month",value:`${o.hoursSavedMonthly} hrs`,icon:E,color:"blue"},{label:"Monthly savings",value:`$${o.dollarsSavedMonthly.toLocaleStr
1ing()}`,icon:T,color:"green"},{label:"Annual savings",value:`$${o.annualSavings.toLocaleString()}`,icon:D,color:"amber"},{label:"ROI multiple",value:`${o.roiMultiple}x`,icon:N,color:"purple"}].map((t,a)=>e.jsx(w,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:624",className:"bg-slate-900 border-slate-800",children:e.jsxs(A,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:625",className:"p-4 text-center",children:[e.jsx(t.icon,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:626",className:`h-5 w-5 mx-auto mb-2 ${t.color==="blue"?"text-blue-400":t.color==="green"?"text-green-400":t.color==="amber"?"text-amber-400":"text-purple-400"}`}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:631",className:`text-2xl font-bold mb-1 ${t.color==="blue"?"text-blue-400":t.color==="green"?"text-green-400":t.color==="amber"?"text-amber-400":"text-purple-400"}`,children:t.value}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:636",className:"text-xs text-slate-500",children:t.label})]})},a))}),e.jsx(w,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:643",className:"bg-slate-900 border-slate-800 mb-8",children:e.jsxs(A,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:644",className:"p-6",children:[e.jsxs("h3",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:645",className:"font-semibold text-white mb-4 flex items-center gap-2",children:[e.jsx(O,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:646",className:"h-5 w-5 text-amber-400"}),"Personalized Insights for Your Firm"]}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:649",className:"space-y-4",children:o.personalizedInsights.map((t,a)=>e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:651",className:"flex gap-3",children:[e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:652",className:"w-6 h-6 rounded-full bg-amber-500/20 border border-amber-500/30 flex items-center justify-center text-amber-400 text-xs font-bold shrink-0 mt-0.5",children:a+1}),e.jsx("p",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:655",className:"text-slate-300 text-sm leading-relaxed",children:t})]},a))})]})}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:663",className:"mb-8",children:[e.jsx("h3",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:664",className:"font-semibold text-white mb-4",children:"Recommended Plan for Your Firm"}),(()=>{const t=U[o.recommendedPlan];return e.jsx(w,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:668",className:`border-2 ${o.recommendedPlan==="enterprise"?"border-purple-500/50 bg-purple-950/20":o.recommendedPlan==="professional"?"border-amber-500/50 bg-amber-950/20":"border-blue-500/50 bg-blue-950/20"}`,children:e.jsxs(A,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:673",className:"p-6",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:674",className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:675",children:[e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:676",className:`text-sm font-medium mb-1 ${o.recommendedPlan==="enterprise"?"text-purple-400":o.recommendedPlan==="professional"?"text-amber-400":"text-blue-400"}`,children:"Recommended"}),e.jsx("h4",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:680",className:"text-xl font-bold text-white",children:t.name})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:682",className:"text-right",children:[e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:683",className:"text-3xl font-bold text-white",children:t.price}),o.recommendedPlan!=="enterprise"&&e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:684",className:"text-slate-400 text-sm",children:"billed monthly"})]})]}),e.jsx("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:687",className:"grid md:grid-cols-2 gap-2 mb-6",children:t.features.map((a,x)=>e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:689",className:"flex items-center gap-2 text-sm text-slate-300",children:[e.jsx(M,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:690",className:"h-4 w-4 text-green-500 shrink-0"}),a]},x))}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:695",className:"flex gap-3",children:[e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:696",size:"lg",className:"flex-1 bg-amber-500 hover:bg-amber-400 text-slate-900 font-bold",onClick:()=>P(o.recommendedPlan),children:["Activate Automation Now",e.jsx(I,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:702",className:"ml-2 h-5 w-5"})]}),o.recommendedPlan!=="enterprise"&&e.jsxs(m,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:705",variant:"outline",className:"border-slate-600 text-slate-300 hover:bg-slate-800",onClick:()=>P("enterprise"),children:[e.jsx(L,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:710",className:"mr-2 h-4 w-4"}),"Enterprise"]})]})]})})})()]}),e.jsx(w,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:722",className:"bg-slate-900 border-slate-800",children:e.jsxs(A,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:723",className:"p-6",children:[e.jsx("h3",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:724",className:"font-semibold text-white mb-4",children:"Your Investment vs. Return"}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:725",className:"space-y-3",children:[e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:726",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:727",className:"text-slate-400",children:"Signova annual cost"}),e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:728",className:"text-white",children:["$",o.signovaAnnualCost.toLocaleStr
1ing()]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:730",className:"flex justify-between py-2 border-b border-slate-800",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:731",className:"text-slate-400",children:"Annual savings from automation"}),e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:732",className:"text-green-400 font-medium",children:["$",o.annualSavings.toLocaleString()]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:734",className:"flex justify-between py-2",children:[e.jsx("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:735",className:"text-white font-semibold",children:"Net annual return"}),e.jsxs("span",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:736",className:"text-amber-400 font-bold text-xl",children:["$",o.netROI.toLocaleString()]})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:739",className:"mt-4 p-3 rounded-lg bg-amber-500/10 border border-amber-500/20 text-center text-sm text-amber-300",children:["Signova pays for itself in the first ",o.roiMultiple>10?"week":o.roiMultiple>5?"2 weeks":"month"," of use."]})]})})]})]}),e.jsx(B,{"data-loc":"client/src/pages/AIWorkflowAudit.tsx:748"})]})}export{X 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.