PageSourceSearch

https://themindreader.ai/_next/static/chunks/pages/diagnose/quiz-de9c595995339670.js

js themindreader.ai collected 2026-10-05 13:50:09 UTC 26,721 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="42d471b2-368f-4ef0-a844-3aade5a31e13",e._sentryDebugIdIdentifier="sentry-dbid-42d471b2-368f-4ef0-a844-3aade5a31e13")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8653],{37984:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/diagnose/quiz",function(){return s(63036)}])},6043:function(e,t,s){"use strict";s.d(t,{k:function(){return i}});var a=s(34155);let n="true"===a.env.NEXT_PUBLIC_DEBUG,i={log:(...e)=>{},error:(...e)=>{n&&console.error(...e)},warn:(...e)=>{n&&console.warn(...e)},info:(...e)=>{},debug:(...e)=>{}};t.Z=i},49789:function(e,t,s){"use strict";var a=s(85893),n=s(29260),i=s.n(n),r=s(41664),l=s.n(r);s(67294);var o=s(90890),d=s(42822);t.Z=()=>(0,a.jsx)("nav",{className:"bg-white border-b border-gray-200",children:(0,a.jsx)("div",{className:"px-4 py-3",children:(0,a.jsx)("div",{className:"flex items-center justify-start",children:(0,a.jsx)(l(),{href:d.Z.HOME,className:"flex items-center",children:(0,a.jsx)(i(),{src:o.Z.LOGO_MRD_DARK,alt:"Mindreader",width:140,height:32,style:{width:"auto",height:"32px"},className:"h-8"})})})})})},63036:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return h},default:function(){return quiz}});var a=s(85893),n=s(9008),i=s.n(n),r=s(49789),l=s(67294),o=s(34651),d=s(15205),u=s(86429),c=s(6043);let createConfetti=()=>{let e=["#FFD700","#FF6B6B","#4ECDC4","#45B7D1","#96CEB4","#FECA57"];for(let t=0;t<50;t+=1){let t=document.createElement("div");t.style.position="fixed",t.style.width="8px",t.style.height="8px",t.style.backgroundColor=e[Math.floor(Math.random()*e.length)]||"#FFD700",t.style.left=`${100*Math.random()}vw`,t.style.top="-10px",t.style.zIndex="9999",t.style.borderRadius="50%",t.style.pointerEvents="none",t.style.opacity="0.8",document.body.appendChild(t);let s=2e3+500*Math.random(),a=window.innerHeight+20,n=(Math.random()-.5)*100;t.animate([{transform:"translateY(0px) translateX(0px) rotate(0deg)",opacity:.8},{transform:`translateY(${a}px) translateX(${n}px) rotate(360deg)`,opacity:0}],{duration:s,easing:"cubic-bezier(0.25, 0.46, 0.45, 0.94)"}).onfinish=()=>{document.body.contains(t)&&document.body.removeChild(t)}}},ProgressBar=({progress:e})=>(0,a.jsx)("div",{className:"w-full mb-6",children:(0,a.jsx)("div",{className:"w-full h-2 bg-gray-200 rounded-full overflow-hidden",children:(0,a.jsx)("div",{className:"h-full rounded-full transition-all duration-500 ease-out relative",style:{width:`${Math.min(e,100)}%`,backgroundColor:"#C67F67"},children:(0,a.jsx)("div",{className:"absolute right-0 top-0 h-full w-1 bg-white bg-opacity-60 animate-pulse"})})})}),m=[{id:1,question:"Which best describes your sales situation?",options:[{label:"Insurance or Financial Advisor",value:"insurance_financial"},{label:"High-Ticket B2C Sales (e.g. cars, education, clinics)",value:"high_ticket_b2c"},{label:"Consulting, Coaching, or Services (e.g. marketing, design)",value:"consulting_services"},{label:"Tech / SaaS Sales (B2B)",value:"tech_saas_b2b"},{label:"Real Estate Agent / Broker",value:"real_estate"},{label:"Account Manager / Client Success (e.g. post-sale, upsell, retention)",value:"account_manager"},{label:"Other (None of These Fit)",value:"other"}]},{id:2,question:"Picture your last promising sales call. What happened next?",options:[{label:"Radio silence — they vanished into thin air",value:"qn2_ghosting_3"},{label:"They asked for info, then went cold",value:"qn2_ghosting_2"},{label:"Hit or miss — sometimes they respond, sometimes I'm left hanging",value:"qn2_ghosting_1"},{label:"They stayed engaged and we moved forward together",value:"qn2_ghosting_0"}]},{id:3,question:"In a typical pitch, do you feel like you're connecting — or kind of winging it?",options:[{label:"I find myself repeating key points, hoping something sticks",value:"qn3_pitch_uncertainty_3"},{label:"It's a guessing game — sometimes I nail it, sometimes I crash",value:"qn3_pitch_uncertainty_2"},{label:"They nod along, but I honestly can't tell what they're thinking",value:"qn3_pitch_uncertainty_1"},{label:"I can feel it when I've hit the mark — there's a spark",value:"qn3_pitch_uncertainty_0"}]},{id:4,question:"What catches you most off-guard during sales conversations?",options:[{label:"When they get emotional and I freeze up",value:"qn4_curveballs_3"},{label:"Surprise objections that come out of nowhere",value:"qn4_curveballs_2"},{label:"Those awkward silences that kill the momentum",value:"qn4_curveballs_1"},{label:"Nothing really — I roll with whatever comes my way",value:"qn4_curveballs_0"}]},{id:5,question:"Before a big sales call, how prepared do you really feel?",options:[{label:"I barely know their name — crossing fingers and hoping",value:"qn5_rushed_prep_3"},{label:"I know the basics, but feel like I'm missing the real story",value:"qn5_rushed_prep_2"},{label:"Sometimes I'm locked and loaded, sometimes I'm scrambling",value:"qn5_rushed_prep_1"},{label:"I walk in knowing more about their situation than they expect",value:"qn5_rushed_prep_0"}]},{id:6,question:'Ever walk away from a call thinking "That went great!" ...but then crickets?',options:[{label:"All the time — I thought we clicked, but something was off",value:"qn6_emotional_misread_3"},{label:"Sometimes — they seemed friendly but never bought",value:"qn6_emotional_misread_2"},{label:"I take their words at face value instead of reading between the lines",value:"qn6_emotional_misread_1"}
1,{label:"Rarely — I can usually sense how it really went down",value:"qn6_emotional_misread_0"}]},{id:7,question:'They hit you with "I need to think about it." Your honest reaction?',options:[{label:"My mind goes blank — I stumble for words",value:"qn7_objection_anxiety_3"},{label:"I panic and throw out a discount",value:"qn7_objection_anxiety_2"},{label:'I jump straight into "overcoming" mode',value:"qn7_objection_anxiety_1"},{label:'I get curious — "What specifically are you thinking about?"',value:"qn7_objection_anxiety_0"}]},{id:8,question:'What\'s your biggest "Why am I not closing more deals?" frustration?',options:[{label:"I'm checking all the boxes but still missing my numbers",value:"qn8_quota_pressure_3"},{label:"I'm making the calls but deals aren't sticking",value:"qn8_quota_pressure_1"},{label:"I get nervous when the stakes are high",value:"qn8_quota_pressure_2"},{label:"The leads I get just aren't ready to buy",value:"qn8_quota_pressure_0"}]},{id:9,question:"Your biggest challenge when dealing with clients is...",options:[{label:"Feeling like you are 'taking' from your clients when you sell to them",value:"qn9_healer"},{label:"Following up with their questions with accuracy and promptness",value:"qn9_explorer"},{label:"Sharing too much information and losing their attention",value:"qn9_wizard"},{label:"When you are thrown off your presentation sequence",value:"qn9_knight"}]},{id:10,question:"When closing a deal, the most important thing you do is to...",options:[{label:"Give the client time and space to think for themselves",value:"qn10_explorer"},{label:"Make it easy for the client to buy",value:"qn10_wizard"},{label:"Assure the client that they are making a right decision",value:"qn10_healer"},{label:"Give them the straight truth about their situation",value:"qn10_knight"}]}];var DiagnoseQuiz=()=>{let[e,t]=(0,l.useState)(0),[s,n]=(0,l.useState)([]),[i,r]=(0,l.useState)(""),[h,g]=(0,l.useState)(!1),[p,x]=(0,l.useState)(!1),[b,f]=(0,l.useState)(!1),[,y]=(0,l.useState)(!1),[v,w]=(0,l.useState)(!1),[_,j]=(0,l.useState)(!1),[q,N]=(0,l.useState)(null),[k,I]=(0,l.useState)(Date.now()),z=(0,l.useRef)(null);l.useEffect(()=>{z.current||(z.current=o.ZP.get_session_id()||`quiz_${Date.now()}_${Math.random().toString(36).substr(2,9)}`);let t=Date.now();N(t),I(t),o.ZP.capture("sales-clarity-quiz.start",{session_id:z.current,timestamp:t,total_questions:m.length,user_id:o.ZP.get_distinct_id()}),window?.datafast?.("sales_clarity_quiz_started",{session_id:z.current,total_questions:m.length});let handleBeforeUnload=()=>{let t=(e+1)/m.length*100;o.ZP.capture("sales-clarity-quiz.page_exit",{session_id:z.current,timestamp:Date.now(),question_number:e+1,progress_percentage:t,time_spent:q?Date.now()-q:0,completed:!1,user_id:o.ZP.get_distinct_id()})};return window.addEventListener("beforeunload",handleBeforeUnload),()=>{window.removeEventListener("beforeunload",handleBeforeUnload)}},[]),l.useEffect(()=>{let t=sessionStorage.getItem("quizAnswers");if(t)try{let s=JSON.parse(t);n(s);let a=m[e]?.id,i=s.find(e=>e.questionId===a);i&&r(i.value)}catch(e){console.error("Error loading stored answers:",e)}},[]),l.useEffect(()=>{let t=m[e]?.id,a=s.find(e=>e.questionId===t);r(a?.value||""),I(Date.now())},[e,s]);let getEncouragementMessage=e=>3===e?"✨ You're doing great! Only 27% of people get this far — you’re ahead of the pack. Let’s uncover what’s really holding back your close rate.":6===e?"✨ Excellent progress — you're in the top 12%! Just 3 more questions to unlock your personalized sales blueprint. You're this close to breakthrough clarity.":8===e?"✨ Final stretch! You're seconds away from discovering your Sales Personality Type — and the strategies top closers use to win. One last question…":null,S=m[e],C=(e+1)/m.length*100,D=(0,l.useMemo)(()=>{let e=new Set(s.map(e=>e.questionId));return m.reduce((t,s,a)=>e.has(s.id)?Math.max(t,a):t,-1)},[s]),P=e<m.length-1&&(!!i||D>e),A=(0,l.useCallback)(a=>{let i=m[e];if(!i)return;if(v||p){c.Z.debug("❌ Ignoring click - already navigating");return}r(a);let l=document.querySelector(`[data-option-value="${a}"]`);l&&(l.classList.add("animate-pulse"),l.style.transform="scale(1.05)",setTimeout(()=>{l.style.transform="scale(1)",l.classList.remove("animate-pulse")},200));let d=s.find(e=>e.questionId===i.id),u=!d||d.value!==a,h=d&&d.value===a;if(h){setTimeout(()=>{v||p||(e<m.length-1?(c.Z.debug("➡️ Moving to next question (same selection)"),t(e=>e+1)):(c.Z.debug("\uD83C\uDFAF Attempting quiz completion (same selection)..."),g(!0),setTimeout(()=>createConfetti(),300)))},200);return}if(_){c.Z.debug("❌ Already processing, ignoring rapid click");return}if(j(!0),u){let t=Date.now()-k,r=(e+1)/m.length*100,l={questionId:i.id,answer:i.options.find(e=>e.value===a)?.label||"",value:a};o.ZP.capture(`sales-clarity-quiz.question_${i.id}_answered`,{session_id:z.current,question_number:i.id,question_text:i.question,answer_value:a,answer_text:l.answer,time_spent_seconds:Math.round(t/1e3),progress_percentage:r,timestamp:Date.now(),total_time_elapsed:q?Date.now()-q:0,user_id:o.ZP.get_distinct_id()});let d=s.filter(e=>e.questionId!==i.id),h=[...d,l];c.Z.debug("\uD83D\uDCDD Answer processing:",{questionId:i.id,currentQuestion:e+1,previousAnswersCount:s.length,filteredAnswersCount:d.length,updatedAnswersCount:h.length,newAnswer:l.value,isNewSelection:u}),n(h),sessionStorage.setItem("quizAnswers",JSON.stringify(h))}else c.Z.debug("\uD83D\uDCDD Same answer selected, not updating storage");if(u){let n=u?s.filter(e=>e.questionId!==i.id).concat([{questionId:i.id,answer:i.options.find(e=>e.value===a)?.label||"",value:a}]):s;setTimeout(()=>{if(c.Z.debug("\uD83D\uDD0D Question navigation check:",{currentQuestion:e,totalQuestions:m.length,isLastQuestion:e>=m.length-1,updatedAnswersCount:n.length}),e<m.length-1)c.Z.debug("➡️ Moving to next question"),t(e=>e+1),j(!1);else{c.Z.debug("\uD83C\uDFAF Attempting quiz completion...");let e=new Set(n.map(e=>e.questionId)),t=e.size===m.length&&n.length===m.length;if(!t){console.error("❌ Quiz completion validation failed:",{totalAnswers:n.length,uniqueQuestions:e.size,expectedQuestions:m.length,missingQuestions:m.filter(t=>!Array.from(e).includes(t.id)).map(e=>e.id)});let t=m.map(e=>e.id),s=Array.from(e),a=t.filter(e=>!s.includes(e));if(a.length>0){console.error("❌ Missing answers for questions:",a),alert(`Please answer all questions. Missing: Question(s) ${a.join(", ")}`);return}}c.Z.debug("✅ All 10 questions answered correctly");
1try{sessionStorage.setItem("quizAnswers",JSON.stringify(n));let e=sessionStorage.getItem("quizAnswers");if(!e){console.error("❌ Failed to save quiz answers to sessionStorage"),alert("Unable to save quiz data. Please try again.");return}let t=q?Date.now()-q:0;o.ZP.capture("sales-clarity-quiz.completed",{session_id:z.current,timestamp:Date.now(),total_questions:m.length,total_time_spent_seconds:Math.round(t/1e3),completion_rate:100,all_answers:n.map(e=>({question_number:e.questionId,answer_value:e.value,answer_text:e.answer})),user_id:o.ZP.get_distinct_id()}),window?.datafast?.("sales_clarity_quiz_completed",{session_id:z.current,total_time_spent_seconds:Math.round(t/1e3),completion_rate:100}),c.Z.debug("✅ Quiz completed successfully with",n.length,"answers"),c.Z.debug("\uD83D\uDCCB Final quiz data:",n.map(e=>`Q${e.questionId}: ${e.value}`)),setTimeout(()=>{v||p||(c.Z.debug("\uD83C\uDF89 Triggering completion screen..."),g(!0),j(!1),setTimeout(()=>createConfetti(),300))},800)}catch(e){console.error("❌ Error saving quiz completion:",e),alert("Unable to save quiz data. Please try again."),j(!1)}}},300)}},[e,s,_,v,p]),T=(0,l.useCallback)(()=>{try{if(v||p)return;o.ZP.capture("sales-clarity-quiz.results_viewed",{session_id:z.current,timestamp:Date.now(),total_time_spent:q?Date.now()-q:0,user_id:o.ZP.get_distinct_id()}),w(!0),x(!0);let e=sessionStorage.getItem("quizAnswers");if(!e){console.error("❌ No quiz answers found in session storage"),x(!1),alert("Quiz data not found. Please retake the quiz."),g(!1),t(0),n([]),sessionStorage.removeItem("quizAnswers");return}let s=JSON.parse(e);if(!s||!Array.isArray(s)){console.error("❌ Invalid quiz data format"),alert("Quiz data is corrupted. Please retake the quiz."),x(!1),g(!1),t(0),n([]),sessionStorage.removeItem("quizAnswers");return}let a=new Set(s.map(e=>e.questionId)),i=a.size===m.length&&s.length===m.length;if(!i){let e=m.map(e=>e.id),s=Array.from(a),i=e.filter(e=>!s.includes(e));console.error("❌ Incomplete quiz answers:",{missingQuestions:i}),alert(`Quiz appears incomplete. Missing answers for question(s): ${i.join(", ")}`),x(!1),g(!1),t(0),n([]),sessionStorage.removeItem("quizAnswers");return}setTimeout(()=>{window.location.href="/diagnose/results"},100);return}catch(e){console.error("❌ Error in handleGotItClick:",e),w(!1),x(!1),alert("An error occurred. Please try again or retake the quiz."),g(!1),t(0),n([]),sessionStorage.removeItem("quizAnswers")}},[s,v,p]);return m&&0!==m.length?e<0?(console.error("❌ Invalid currentQuestion index:",e,"Total questions:",m.length),t(0),(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary-500 mx-auto mb-4"}),(0,a.jsx)("p",{className:"text-gray-600",children:"Resetting quiz..."})]})})):(l.useEffect(()=>{if(h){f(!1),y(!0);let e=!1,t=0,s=Date.now(),checkPreloadComplete=()=>{t>=3&&Date.now()-s>=500&&!e&&(e=!0,f(!0),y(!1))},a=setTimeout(()=>{e||(e=!0,f(!0),y(!1))},3e3);return setTimeout(()=>{t++,checkPreloadComplete()},500),(()=>{try{let e=document.createElement("link");e.rel="prefetch",e.href="/diagnose/results",e.onload=()=>{t++,checkPreloadComplete()},e.onerror=()=>{t++,checkPreloadComplete()},document.head.appendChild(e)}catch(e){t++,checkPreloadComplete()}})(),(()=>{try{let e=document.createElement("link");e.rel="modulepreload",e.href="/_next/static/chunks/pages/diagnose/results.js",e.onload=()=>{t++,checkPreloadComplete()},e.onerror=()=>{t++,checkPreloadComplete()},document.head.appendChild(e)}catch(e){t++,checkPreloadComplete()}})(),()=>{clearTimeout(a),e=!0}}},[h]),e>=m.length)?(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary-500 mx-auto mb-4"}),(0,a.jsx)("p",{className:"text-gray-600",children:"Completing quiz..."})]})}):S?h?(0,a.jsxs)("section",{className:"relative isolate min-h-screen overflow-hidden bg-[#070b12]","data-testid":"quiz-completion-screen",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 -z-10 opacity-30 [background-image:radial-gradient(circle_at_1px_1px,rgba(148,163,184,0.35)_1px,transparent_0)] [background-size:22px_22px]"}),(0,a.jsx)("div",{className:"pointer-events-none absolute -left-24 -top-24 -z-10 h-80 w-80 rounded-full bg-amber-400/15 blur-3xl"}),(0,a.jsx)("div",{className:"pointer-events-none absolute -bottom-28 -right-28 -z-10 h-96 w-96 rounded-full bg-emerald-400/10 blur-3xl"}),(0,a.jsx)("div",{className:"mx-auto max-w-5xl px-6 py-10 md:py-14","data-testid":"completion-content",children:(0,a.jsx)(d.fZ,{variants:u.WS,children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-4xl overflow-hidden rounded-[28px] border border-white/10 bg-white/[0.04] p-7 shadow-[0_26px_70px_-50px_rgba(0,0,0,0.85)] backdrop-blur sm:p-10",children:[(0,a.jsxs)("div",{className:"mb-8",children:[(0,a.jsx)(ProgressBar,{progress:100}),(0,a.jsxs)("div",{className:"mt-2 flex justify-between text-xs font-semibold uppercase tracking-[0.18em] text-slate-300/70",children:[(0,a.jsx)("span",{children:"Qu
1iz complete"}),(0,a.jsx)("span",{children:"100% complete"})]})]}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.22em] text-slate-300/70",children:"Your result is ready"}),(0,a.jsx)("h2",{className:"mt-3 text-balance text-2xl font-bold leading-tight text-white sm:text-4xl",style:{fontFamily:"Fraunces, ui-serif, Georgia, Cambria, Times New Roman, serif"},children:"Your Sales Diagnosis Is In — Let's Unlock It"}),(0,a.jsx)("p",{className:"mx-auto mt-4 max-w-2xl text-pretty text-base leading-relaxed text-slate-200/85 sm:text-lg",children:"Well done — your 10-step quiz just unlocked premium tools most people pay full price for. Today, you get access as an exclusive reward for finishing."}),(0,a.jsx)("div",{className:"mt-7 flex justify-center",children:(0,a.jsx)("button",{"data-testid":"view-results-button",onClick:T,disabled:p||!b,className:`group inline-flex w-full max-w-[520px] items-center justify-center gap-3 rounded-2xl px-6 py-4 text-base font-semibold text-white shadow-[0_18px_40px_-22px_rgba(0,0,0,0.8)] transition ${b||p?p?"cursor-not-allowed opacity-75":"hover:-translate-y-0.5 hover:shadow-[0_22px_52px_-22px_rgba(0,0,0,0.85)]":"cursor-not-allowed opacity-60"}`,style:{background:b||p?p?"#1F2937":"linear-gradient(135deg, #C67F67 0%, #8C3B25 55%, #0F766E 120%)":"#374151",border:"1px solid rgba(255,255,255,0.12)"},children:p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"inline-flex h-5 w-5 animate-spin rounded-full border-b-2 border-white/80"}),"Loading your results…"]}):b?(0,a.jsxs)(a.Fragment,{children:["See my Sales Clarity Report",(0,a.jsx)("span",{"aria-hidden":!0,className:"transition group-hover:translate-x-0.5",children:"→"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"inline-flex h-4 w-4 animate-spin rounded-full border-b-2 border-white/50"}),"Preparing your report…"]})})}),(0,a.jsx)("p",{className:"mt-3 text-xs text-slate-200/70",children:"No login required \xb7 Instant access"})]}),(0,a.jsxs)("div",{className:"mt-10 grid gap-6 md:grid-cols-2",children:[(0,a.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-white/5 p-5",children:[(0,a.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.22em] text-slate-300/70",children:"Why this matters"}),(0,a.jsx)("div",{className:"mt-4 space-y-4 text-left",children:[{title:"How many deals have you already lost this way?",body:"What makes you effective can also backfire. Pinpoint the blind spots that turn buyers cold."},{title:"Top closers personalize. Everyone else guesses.",body:"Top reps decode buyer psychology. The rest rely on instinct — and leave revenue on the table."}].map(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-base font-semibold text-white",children:e.title}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-relaxed text-slate-200/80",children:e.body})]},e.title))})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-white/5 p-5",children:[(0,a.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.22em] text-slate-300/70",children:"Inside your report"}),(0,a.jsx)("ul",{className:"mt-4 space-y-3 text-left text-sm text-slate-100/90",children:["Your Sales DNA & profit triggers","The blind spots blocking your close rate","One insight that simplifies your next conversations","Your personalized pro-level action plan","A clear edge for your next meeting"].map(e=>(0,a.jsxs)("li",{className:"flex items-start gap-3",children:[(0,a.jsx)("span",{className:"mt-0.5 inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-200/15 text-emerald-200",children:"✓"}),(0,a.jsx)("span",{className:"flex-1",children:e})]},e))})]})]})]})})})]}):(0,a.jsx)("section",{className:"bg-white min-h-screen",children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-8",children:[(0,a.jsx)("div",{className:"mb-8",children:(0,a.jsxs)(d.fZ,{variants:u.WS,children:[(0,a.jsx)(ProgressBar,{progress:C}),(0,a.jsxs)("div",{className:"flex justify-between text-sm text-gray-600 mb-2",children:[(0,a.jsxs)("span",{children:["Question ",e+1," of ",m.length]}),(0,a.jsxs)("span",{children:[Math.round(C),"% Complete"]})]})]})}),(0,a.jsx)("div",{className:"mb-8",children:(0,a.jsx)(d.fZ,{variants:u.WS,children:(0,a.jsx)("h2",{className:"text-xl md:text-2xl lg:text-3xl font-bold text-gray-900 leading-tight",children:S.question})})}),getEncouragementMessage(e)&&(0,a.jsx)("div",{className:"mb-6",children:(0,a.jsx)(d.fZ,{variants:u.WS,children:(0,a.jsx)("div",{className:"bg-gradient-to-r from-amber-50 to-orange-50 border-l-4 border-amber-400 rounded-r-lg p-4 text-center",children:(0,a.jsxs)("p",{className:"text-amber-700 font-medium text-sm md:text-base italic",children:["✨ ",getEncouragementMessage(e)]})})})}),(0,a.jsx)("div",{className:"mb-12",children:(0,a.jsx)(d.fZ,{variants:u.WS,children:(0,a.jsx)("div",{className:"space-y-4",children:S.options.map(e=>(0,a.jsx)("button",{"data-option-value":e.value,onClick:()=>A(e.value),className:`w-full p-5 text-left rounded-xl border-2 transition-all duration-500 transform ${i===e.value?"border-[#212B36] bg-[#212B36] text-white shadow-lg scale-[1.02]":"border-gray-200 hover:border-gray-300 bg-white text-gray-900 hover:bg-gray-50 hover:shadow-sm hover:scale-[1.01]"}`,style:{transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)"},children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:`w-5 h-5 rounded-full border-2 mr-4 flex-shrink-0 flex items-center justify-center transition-all duration-500 ${i===e.value?"border-white bg-white":"border-gray-300 bg-white"}`,children:(0,a.jsx)("div",{className:`rounded-full transition-all duration-500 ${i===e.value?"w-3 h-3 bg-[#212B36] animate-pulse":"w-0 h-0"}`})}),(0,a.jsx)("span",{className:`text-base md:text-lg font-medium leading-relaxed transition-all duration-500 ${i===e.value?"text-white font-semibold":""}`,children:e.label})]})},e.value))})})}),(0,a.jsxs)("div",{className:"flex justify-between items-center pt-6 border-t border-gray-100",children:[(0,a.jsx)("button",{onClick:()=>{e>0&&t(e=>e-1)},disabled:0===e,className:`px-6 py-3 rounded-lg font-medium text-sm transition-all duration-200 ${0===e?"text-gray-400 cursor-not-allowed":"text-primary-600 hover:text-primary-700 hover:bg-primary-50 border border-primary-200"}`,children:"← Previous"}),(0,a.jsxs)("div",{className:"text-sm text-gray-500 font-medium",children:[e
1+1," of ",m.length]}),(0,a.jsx)("div",{className:"flex justify-end",children:P?(0,a.jsx)("button",{type:"button",onClick:()=>t(e=>Math.min(e+1,m.length-1)),className:"px-6 py-3 rounded-lg font-medium text-sm transition-all duration-200 text-primary-600 hover:text-primary-700 hover:bg-primary-50 border border-primary-200",children:"Next →"}):(0,a.jsx)("div",{className:"w-20 flex justify-end",children:i&&(0,a.jsxs)("div",{className:"flex items-center text-green-600",children:[(0,a.jsx)("div",{className:"h-2 w-2 rounded-full bg-green-500 animate-pulse mr-2"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:"Selected"})]})})})]})]})}):(console.error("❌ currentQuestionData is undefined for question:",e),(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Question Loading Error"}),(0,a.jsxs)("p",{className:"text-gray-600 mb-6",children:["We couldn't load question ",e+1,". Please try again."]}),(0,a.jsx)("button",{onClick:()=>t(0),className:"px-6 py-2 bg-primary-500 text-white rounded-md hover:bg-primary-600 transition-colors mr-4",children:"Restart Quiz"}),(0,a.jsx)("button",{onClick:()=>window.location.reload(),className:"px-6 py-2 bg-gray-500 text-white rounded-md hover:bg-gray-600 transition-colors",children:"Reload Quiz"})]})})):(console.error("❌ QUIZ_QUESTIONS array is empty or undefined"),(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold text-red-600 mb-4",children:"Quiz Configuration Error"}),(0,a.jsx)("p",{className:"text-gray-600 mb-6",children:"The quiz questions are not properly configured. Please contact support."}),(0,a.jsx)("button",{onClick:()=>window.location.reload(),className:"px-6 py-2 bg-red-500 text-white rounded-md hover:bg-red-600 transition-colors",children:"Reload Page"})]})}))},h=!0,quiz=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:"Sales Personality Quiz - Discover Your Sales Style | Mindreader"}),(0,a.jsx)("meta",{name:"description",content:"Take our interactive 10-question quiz to discover your sales personality and get personalized insights to boost your conversion rates."}),(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,a.jsx)("meta",{property:"og:image",content:"https://themindreader.ai/assets/images/social/og-2026-v2.png"})]}),(0,a.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,a.jsx)(r.Z,{}),(0,a.jsx)(DiagnoseQuiz,{})]})]})}},function(e){e.O(0,[9774,9464,8024,5390,6202,4541,5075,2888,179],function(){return e(e.s=37984)}),_N_E=e.O()}]);

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.