PageSourceSearch

https://dcx.one/assets/Diagnostic-DZzMfjRM.js

js dcx.one collected 2026-10-04 23:44:35 UTC 15,113 bytes, 1 lines download raw bytes

1import{a as p,j as e}from"./vendor-react-CAGjIq8T.js";import{b8 as R,a9 as W}from"./vendor-_JPAUOII.js";import{ap as g,aq as Y,ar as C,al as v,ao as b}from"./index-CkDcQFiz.js";import{D as P}from"./DcxCard-BcuAwBRL.js";import{m as f,A as T}from"./vendor-motion-BVnH0gO6.js";import{I}from"./InnerHero-TtpCD0yq.js";import"./vendor-tanstack-Bth7MolB.js";import"./vendor-radix-D9pnEWe6.js";import"./heroImages-CpKVjM1F.js";const O=({diagnostic:i,role:a})=>{const c=i.dimensions.flatMap(t=>t.questions),l=c.length,[s,w]=p.useState(0),[d,N]=p.useState({}),[j,k]=p.useState(!1),n=c[s],S=t=>{N(o=>({...o,[n.id]:t}))},q=()=>{if(s<l-1)w(t=>t+1);else{const t=c.length*4,o=c.reduce((u,h)=>u+(d[h.id]||0),0),r=t>0?Math.round(o/t*100):0;C("diagnostic_complete",{role:a??null,score:r}),k(!0)}},H=()=>{s>0&&w(t=>t-1)};if(j){const t=i.dimensions.map(o=>{const r=o.questions;let u=r.length*4,h=r.reduce((M,A)=>M+(d[A.id]||0),0);const y=Math.round(h/u*100);let x="",m="";return y>=75?(x="Solid",m="Your fundamentals are strong. Focus on scaling and optimization rather than fixing leaks. Maintain discipline to keep this edge."):y>=50?(x="Workable",m="There is a foundation, but it's cracking under pressure. You are losing deals you should win due to unforced errors. Intervention needed."):(x="At Risk",m="The system is broken. You need a structural rebuild before attempting to scale. Focus on the core mechanics immediately."),{name:o.name,score:y,status:x,diagnosis:m}});return e.jsxs(f.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"w-full max-w-[720px] mx-auto space-y-8",children:[e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx("p",{className:"font-heading font-semibold text-[1rem] tracking-[0.08em] uppercase text-[var(--color-dcx-slate)]",children:"Results"}),e.jsx("h2",{className:"font-heading font-extrabold text-[clamp(2.2rem,5vw,3.8rem)] text-[var(--color-dcx-navy)] leading-tight",children:"The Truth."})]}),e.jsx("div",{className:"space-y-6",children:t.map((o,r)=>e.jsxs(P,{className:"space-y-4",children:[e.jsxs("div",{className:"flex flex-wrap justify-between items-end gap-x-4 gap-y-1",children:[e.jsx("h3",{className:"font-heading font-extrabold text-[clamp(1.2rem,4vw,1.4rem)] text-[var(--color-dcx-navy)] leading-tight min-w-0 flex-1 break-words",children:o.name}),e.jsxs("span",{className:"font-heading font-bold text-[1.4rem] text-[var(--color-dcx-navy)] shrink-0",children:[o.score,"/100"]})]}),e.jsx("div",{className:"h-2 w-full bg-[var(--color-dcx-border)] overflow-hidden",style:{borderRadius:"3px"},children:e.jsx("div",{className:"h-full bg-[var(--color-dcx-navy)]",style:{width:`${o.score}%`,borderRadius:"3px"}})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[var(--color-dcx-slate)] font-semibold uppercase tracking-wider text-sm mb-2",children:o.status}),e.jsx("p",{className:"text-[var(--color-dcx-body)] text-[1.05rem] leading-relaxed",children:o.diagnosis})]})]},r))}),e.jsx("div",{className:"text-center pt-8",children:e.jsx(g,{href:"/contact/",variant:"primary-light",children:"Start the Conversation"})})]})}const D=(s+1)/l*100;return e.jsxs("div",{className:"w-full max-w-[720px] mx-auto space-y-8",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"h-[1px] w-full bg-[var(--color-dcx-border)] relative",children:e.jsx(f.div,{className:"absolute top-0 left-0 h-full bg-[var(--color-dcx-navy)]",initial:{width:0},animate:{width:`${D}%`},transition:{duration:.3}})}),e.jsxs("p",{className:"font-sans font-semibold text-[0.85rem] text-[var(--color-dcx-slate)] tracking-wider uppercase text-right",children:["Question ",s+1," of ",l]})]}),e.jsx(T,{mode:"wait",children:e.jsxs(f.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.2},className:"space-y-8",children:[e.jsx("h2",{className:"font-heading font-extrabold text-[clamp(1.35rem,4.5vw,1.6rem)] text-[var(--color-dcx-navy)] leading-snug",children:n.stem}),e.jsx("div",{className:"space-y-3",children:n.options.map((t,o)=>{const r=d[n.id]===t.score;return e.jsx("button",{onClick:()=>S(t.score),className:Y("w-full text-left p-4 sm:p-5 min-h-[44px] rounded-[3px] border transition-all duration-200",r?"bg-[var(--color-dcx-offwhite)] border-[var(--color-dcx-navy)]":"bg-white border-[var(--color-dcx-border)] hover:bg-[var(--color-dcx-card-hover)]"),children:e.jsx("p",{className:"font-sans text-[1.05rem] text-[var(--color-dcx-navy)] font-medium",children:t.text})},o)})})]},s)}),e.jsxs("div",{className:"flex justify-between pt-8 border-t border-[var(--color-dcx-border)]",children:[e.jsx(g,{variant:"outline-light",onClick:H,disabled:s===0,className:s===0?"invisible":"",children:"Back"}),e.jsx(g,{variant:"primary-light",onClick:q,disabled:!d[n.id],children:s===l-1?"See Results":"Next"})]})]})},E={role:"seller",title:"Seller Diagnostic",dimensions:[{name:"Pipeline Health",questions:[{id:"s1",stem:"How much of your current pipeline was sourced entirely outbound by you?",options:[{text:"Over 70%",score:4}
1,{text:"50-70%",score:3},{text:"30-50%",score:2},{text:"Under 30%",score:1}]},{id:"s2",stem:"When you lose a deal, what is the most common reason?",options:[{text:"They stayed with status quo",score:4},{text:"Price or budget",score:2},{text:"Lost to a competitor",score:3},{text:"Ghosted",score:1}]},{id:"s3",stem:"How many deals in your pipeline have a scheduled next step on the calendar?",options:[{text:"All of them",score:4},{text:"Most of them",score:3},{text:"Some of them",score:2},{text:"Very few",score:1}]}]},{name:"Deal Hygiene",questions:[{id:"s4",stem:"When was the last time a deal stalled because pricing wasn't pre-aligned with the buyer?",options:[{text:"Can't remember",score:4},{text:"This quarter",score:3},{text:"This month",score:2},{text:"This week",score:1}]},{id:"s5",stem:"How often do you walk into a buyer meeting with their P&L line items in front of you?",options:[{text:"Every meeting",score:4},{text:"Most",score:3},{text:"Sometimes",score:2},{text:"Never",score:1}]},{id:"s6",stem:"Do you document the decision criteria for every stakeholder in a deal?",options:[{text:"Always",score:4},{text:"Usually",score:3},{text:"Rarely",score:2},{text:"Never",score:1}]},{id:"s7",stem:"How often do you involve your manager in a deal before the proposal stage?",options:[{text:"Always",score:4},{text:"Usually",score:3},{text:"Rarely",score:2},{text:"Never",score:1}]}]},{name:"Forecast Honesty",questions:[{id:"s8",stem:"What percent of your committed forecast hits within 10 percent each quarter?",options:[{text:">90%",score:4},{text:"70-90%",score:3},{text:"50-70%",score:2},{text:"<50%",score:1}]},{id:"s9",stem:"When you update close dates, how often do you move them to the next quarter?",options:[{text:"Rarely",score:4},{text:"Sometimes",score:3},{text:"Often",score:2},{text:"Almost always",score:1}]},{id:"s10",stem:"If you had to bet your own money on your commit number this quarter, would you?",options:[{text:"Absolutely",score:4},{text:"Probably",score:3},{text:"Unsure",score:2},{text:"No way",score:1}]}]}]},U={role:"manager",title:"Sales Manager Diagnostic",dimensions:[{name:"Coaching Cadence",questions:[{id:"m1",stem:"How much of your 1:1 time is spent reviewing the forecast vs coaching?",options:[{text:"Mostly coaching",score:4},{text:"Half and half",score:3},{text:"Mostly forecast",score:2},{text:"Almost entirely forecast",score:1}]},{id:"m2",stem:"How often do you listen to call recordings with your reps?",options:[{text:"Weekly",score:4},{text:"Monthly",score:3},{text:"Quarterly",score:2},{text:"Never",score:1}]},{id:"m3",stem:"Do you have a structured framework for diagnosing rep performance?",options:[{text:"Yes, fully adopted",score:4},{text:"Yes, loosely followed",score:3},{text:"No, it's ad hoc",score:2},{text:"No framework",score:1}]},{id:"m4",stem:"When a rep is struggling, how quickly do you intervene with a specific plan?",options:[{text:"Within a week",score:4},{text:"Within a month",score:3},{text:"End of quarter",score:2},{text:"Rarely",score:1}]}]},{name:"Pipeline Discipline",questions:[{id:"m5",stem:"What percentage of deals in your team's pipeline have been there longer than your average sales cycle?",options:[{text:"Under 10%",score:4},{text:"10-25%",score:3},{text:"25-50%",score:2},{text:"Over 50%",score:1}]},{id:"m6",stem:"How strictly do you enforce CRM hygiene?",options:[{text:"Non-negotiable",score:4},{text:"Usually enforced",score:3},{text:"Loosely encouraged",score:2},{text:"Ignored",score:1}]},{id:"m7",stem:"How often do you pressure-test the 'commit' deals with the rep?",options:[{text:"Every week",score:4},{text:"Bi-weekly",score:3},{text:"Monthly",score:2},{text:"Quarterly",score:1}]},{id:"m8",stem:"Do you have a clear definition of what constitutes a qualified opportunity?",options:[{text:"Yes, and it's enforced",score:4},{text:"Yes, but loosely followed",score:3},{text:"Sort of",score:2},{text:"No",score:1}]}]},{name:"Performance Diagnosis",questions:[{id:"m9",stem:"Can you accurately predict which reps will hit quota next quarter?",options:[{text:"Yes, with high confidence",score:4},{text:"Mostly",score:3},{text:"Somewhat",score:2},{text:"No idea",score:1}]},{id:"m10",stem:"When a deal is lost, do you conduct a thorough post-mortem?",options:[{text:"Always",score:4},{text:"Often",score:3},{text:"Sometimes",score:2},{text:"Rarely",score:1}]},{id:"m11",stem:"Do you tailor your coaching style to the individual rep?",options:[{text:"Always",score:4},{text:"Often",score:3},{text:"Sometimes",score:2},{text:"Rarely",score:1}]},{id:"m12",stem:"How effective is your team at multi-threading within accounts?",options:[{text:"Highly effective",score:4},{text:"Moderately",score:3},{text:"Slightly",score:2},{text:"Not effective",score:1}]}]}]},F={role:"owner",title:"Revenue Owner Diagnostic",dimensions:[{name:"Org & Talent",questions:[{id:"o1",
1stem:"How aligned are your sales, marketing, and customer success teams?",options:[{text:"Fully aligned",score:4},{text:"Mostly",score:3},{text:"Siloed",score:2},{text:"Conflict",score:1}]},{id:"o2",stem:"What is your voluntary turnover rate among top performers?",options:[{text:"Under 5%",score:4},{text:"5-10%",score:3},{text:"10-20%",score:2},{text:"Over 20%",score:1}]},{id:"o3",stem:"Do you have a clear succession plan for key sales leadership roles?",options:[{text:"Yes, documented",score:4},{text:"In progress",score:3},{text:"Vaguely",score:2},{text:"No",score:1}]},{id:"o4",stem:"How effective is your sales onboarding program?",options:[{text:"Highly effective",score:4},{text:"Adequate",score:3},{text:"Needs improvement",score:2},{text:"Non-existent",score:1}]},{id:"o5",stem:"Are compensation plans driving the right behaviors?",options:[{text:"Absolutely",score:4},{text:"Mostly",score:3},{text:"Somewhat",score:2},{text:"No",score:1}]}]},{name:"Offering & Pricing",questions:[{id:"o6",stem:"How clearly differentiated is your offering from competitors?",options:[{text:"Very clear",score:4},{text:"Somewhat clear",score:3},{text:"Vague",score:2},{text:"Not clear",score:1}]},{id:"o7",stem:"When was the last time you successfully increased prices without losing major accounts?",options:[{text:"Within 6 months",score:4},{text:"Last year",score:3},{text:"2+ years",score:2},{text:"Never",score:1}]},{id:"o8",stem:"How often do deals require custom pricing or packaging?",options:[{text:"Rarely (<10%)",score:4},{text:"Sometimes (10-30%)",score:3},{text:"Often (30-60%)",score:2},{text:"Always (>60%)",score:1}]},{id:"o9",stem:"Do you have a scalable strategy for upselling existing clients?",options:[{text:"Yes, very scalable",score:4},{text:"Somewhat",score:3},{text:"No, it's ad hoc",score:2},{text:"No strategy",score:1}]},{id:"o10",stem:"How well does your product roadmap align with sales needs?",options:[{text:"Perfect alignment",score:4},{text:"Good alignment",score:3},{text:"Misaligned",score:2},{text:"Completely disconnected",score:1}]}]},{name:"Sales Motion",questions:[{id:"o11",stem:"Is your sales process documented and followed by everyone?",options:[{text:"Yes, strictly",score:4},{text:"Yes, loosely",score:3},{text:"Documented, not followed",score:2},{text:"Not documented",score:1}]},{id:"o12",stem:"How accurate is your revenue forecast at the beginning of the quarter?",options:[{text:"Within 5%",score:4},{text:"Within 15%",score:3},{text:"Within 30%",score:2},{text:"Wild guess",score:1}]},{id:"o13",stem:"What percentage of deals are won on value vs. price?",options:[{text:"Mostly value",score:4},{text:"Balanced",score:3},{text:"Mostly price",score:2},{text:"Entirely price",score:1}]},{id:"o14",stem:"How effective is your lead generation engine?",options:[{text:"Highly effective",score:4},{text:"Adequate",score:3},{text:"Struggling",score:2},{text:"Failing",score:1}]},{id:"o15",stem:"Do you have the right tech stack to support your sales motion?",options:[{text:"Yes, optimized",score:4},{text:"Yes, but bloated",score:3},{text:"Missing key pieces",score:2},{text:"Terrible stack",score:1}]}]},{name:"Market & Buyer",questions:[{id:"o16",stem:"How well do you understand your buyer's evolving challenges?",options:[{text:"Deeply",score:4},{text:"Adequately",score:3},{text:"Superficially",score:2},{text:"Poorly",score:1}]},{id:"o17",stem:"Are you actively entering new markets or verticals?",options:[{text:"Yes, successfully",score:4},{text:"Trying to",score:3},{text:"Thinking about it",score:2},{text:"No",score:1}]},{id:"o18",stem:"How strong is your brand presence in your target market?",options:[{text:"Market leader",score:4},{text:"Strong contender",score:3},{text:"Known player",score:2},{text:"Unknown",score:1}]},{id:"o19",stem:"How effectively do you use data to inform market strategy?",options:[{text:"Highly effectively",score:4},{text:"Adequately",score:3},{text:"Poorly",score:2},{text:"Not at all",score:1}]},{id:"o20",stem:"How agile is your organization in responding to market shifts?",options:[{text:"Very agile",score:4},{text:"Somewhat agile",score:3},{text:"Slow",score:2},{text:"Rigid",score:1}]}]}]},B={seller:E,manager:U,owner:F},Q="/assets/diagnostic-D9YdbNjI.webp",Z=()=>{const{role:i}=R(),a=i?B[i]:null;return a?e.jsxs("div",{className:"min-h-screen bg-white flex flex-col",children:[e.jsx(v,{forceSolid:!0}),e.jsx(I,{eyebrow:"Diagnostic",title:a.title,subtitle:"An honest, self-scoring read on where you stand. Answer the questions, get the truth - no email required.",backgroundImage:Q}),e.jsx("main",{className:"flex-1 pt-[2.5rem] sm:pt-[3rem] pb-[4rem] sm:pb-[5rem] px-[1rem] sm:px-[1.5rem]",children:e.jsx(O,{diagnostic:a,role:i})}),e.jsx(b,{})]}):e.jsxs("div",{className:"min-h-screen flex flex-col bg-white",children:[e.jsx(v,{forceSolid:!0}),e.jsxs("main",{className:"flex-1 flex flex-col items-center justify-center p-6 text-center pt-[var(--dcx-page-top)]",children:[e.jsx("h1",{className:"font-heading font-extrabold text-3xl text-[var(--color-dcx-navy)] mb-4",children:"Diagnostic N
1ot Found"}),e.jsx(W,{href:"/",className:"text-[var(--color-dcx-blue)] underline font-sans",children:"Return to digitalCORE"})]}),e.jsx(b,{})]})};export{Z 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.