1import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{i as t,r as n}from"./framework-DjPHiq1u.js";var r=e(t(),1),i=n(),a={messaging:{number:`01`,name:`Message`,short:`Can visitors understand the offer?`},trust:{number:`02`,name:`Trust`,short:`Does the site earn confidence?`},experience:{number:`03`,name:`Experience`,short:`Can people find what they need?`},conversion:{number:`04`,name:`Conversion`,short:`Is the next step clear and easy?`},local:{number:`05`,name:`Local Search`,short:`Are services and locations discoverable?`},mobile:{number:`06`,name:`Mobile`,short:`Does the journey work on a phone?`},technical:{number:`07`,name:`Technical`,short:`Is the foundation healthy and measurable?`}},o=[{id:`industry`,eyebrow:`CONTEXT 01 / 6`,prompt:`What kind of business are we diagnosing?`,help:`This changes the language and interpretationânot your score.`,answers:[`Home services or contracting`,`Professional services`,`Healthcare or wellness`,`Retail or hospitality`,`Automotive or transportation`,`Real estate or property services`,`Other local business`].map(e=>({label:e,value:0}))},{id:`geography`,eyebrow:`CONTEXT 02 / 6`,prompt:`How do you primarily serve customers?`,answers:[`Customers visit one location`,`Customers visit multiple locations`,`We travel within a service area`,`We serve customers remotely`,`A combination of these`].map(e=>({label:e,value:0}))},{id:`objective`,eyebrow:`CONTEXT 03 / 6`,prompt:`What is the most important action a visitor should take?`,answers:[`Call the business`,`Request a quote or estimate`,`Book an appointment`,`Visit our location`,`Purchase something`,`Submit an inquiry`,`Learn before contacting us`,`Iâm not sure`].map((e,t)=>({label:e,value:0,tag:t===7?`undefined-objective`:void 0}))},{id:`concern`,eyebrow:`CONTEXT 04 / 6`,prompt:`What concerns you most about the website?`,answers:[`Not enough people visit it`,`Visitors do not contact us`,`The wrong people contact us`,`It does not explain the business clearly`,`It looks outdated`,`It may not work well on mobile`,`I donât know whether it is helping`,`I want an objective evaluation`].map((e,t)=>({label:e,value:0,tag:t===0?`traffic-concern`:t===4?`redesign-concern`:void 0}))},{id:`role`,eyebrow:`CONTEXT 05 / 6`,prompt:`What role does the website play in winning new business?`,answers:[`It is a primary source`,`It supports referrals or advertising`,`Prospects check it before contacting us`,`It plays a limited role`,`Iâm not sure what role it plays`].map(e=>({label:e,value:0}))},{id:`trackingContext`,eyebrow:`CONTEXT 06 / 6`,prompt:`How well can you tell what visitors do on the website?`,answers:[{label:`We track visits, calls, forms, and important actions`,value:0,tag:`tracking-strong`},{label:`We have traffic data but limited conversion data`,value:0},{label:`Tracking exists, but we rarely review it`,value:0},{label:`I believe it exists, but Iâm not sure what it measures`,value:0,tag:`tracking-weak`},{label:`We do not track website activity`,value:0,tag:`tracking-weak`},{label:`I donât know`,value:0,tag:`tracking-weak`}]},{id:`m1`,category:`messaging`,eyebrow:`MESSAGE 01 / 2`,prompt:`How quickly could a first-time visitor understand what your business does?`,answers:[`Almost immediately`,`Within a few seconds of reading`,`After exploring the homepage`,`Only after visiting several pages`,`They may still be unsure`,`I donât know`].map((e,t)=>({label:e,value:t===5?-1:4-t,tag:t<2?`clarity-belief`:void 0}))},{id:`m2`,category:`messaging`,eyebrow:`MESSAGE 02 / 2`,prompt:`What do prospects ask that the website should already make clear?`,answers:[{label:`Very littleâthe site answers the important questions`,value:4},{label:`Pricing or what to expect`,value:3},{label:`Which service is right for them`,value:2,tag:`clarity-gap`},{label:`Whether we serve their area or situation`,value:1,tag:`clarity-gap`},{label:`Basic questions about what we do`,value:0,tag:`clarity-gap`},{label:`I donât know`,value:-1}]},{id:`t1`,category:`trust`,eyebrow:`TRUST 01 / 2`,prompt:`How do unfamiliar customers confirm that your business is credible?`,answers:[`Specific reviews, examples, and credentials on the site`,`Reviews or examples on the site`,`Mostly third-party reviews`,`Mostly referrals or speaking with us`,`The website provides little proof`,`I donât know`].map((e,t)=>({label:e,value:t===5?-1:4-t,tag:t>=3&&t<5?`trust-gap`:void 0}))},{id:`t2`,category:`trust`,eyebrow:`TRUST 02 / 2`,prompt:`What could make a potential customer hesitate after viewing the site?`,answers:[`Nothing obvious`,`The design looks dated`,`Information or pricing is incomplete`,`Reviews or work examples are limited`,`The people behind the business are not visible`,`Iâm not sure`].map((e,t)=>({label:e,value:t===5?-1:t===0?4:Math.max(0,4-t),tag:t===0?`no-trust-concern`:t>=2?`trust-gap`:void 0}))},{id:`u1`,category:`experience`,eyebrow:`EXPERIENCE 01 / 2`,prompt:`How easily can visitors find the service or information they need?`,answers:[`Immediately`,`Easily through the main navigation`,`With some searching`,`Important information is spread across pages`,`Visitors may not know where to go`,`I donât know`].map((e,t)=>({label:e,value:t===5?-1:4-t}))},{id:`u2`,category:`experience`,eyebrow:`EXPERIENCE 02 / 2`,prompt:`What best describes moving through the website?`,answers:[`Clear, focused, and easy to follow`,`Mostly easy with minor friction`,`Some pages feel cluttered or repetitive`,`The next step is inconsistent`,`The experience feels confusing`,`I havenât reviewed it as a customer`].map((e,t)=>({label:e,value:t===5?-1:4-t}))},{id:`v1`,category:`conversion`,eyebrow:`CONVERSION 01 / 2`,prompt:`How clearly does the website guide visitors toward the primary action?`,answers:[`The action is clear and consistent`,`It is visible on important pages`,`It is available but not emphasized`,`Different pages compete for different actions`,`Visitors receive little guidance`,`I donât know`].map((e,t)=>({label:e,value:t===5?-1:4-t}))},{id:`v2`,category:`conversion`,eyebrow:`CONVERSION 02 / 2`,prompt:`What typically happens when website visitors contact you?`,answers:[`We receive consistent, qualified opportunities`,`Good opportunities, but volume varies`,`Many inquiries are not a good fit`,`We get traffic but few inquiries`,`We receive very little activity`,`We do not track the outcome`,`I donât know`].map((e,t)=>({label:e,value:t>=5?-1:4-t,tag:t===2?`lead-quality`:t>=3&&t<5?`conversion-gap`:void 0}))},{id:`l1`,category:`local`,eyebrow:`LOCAL SEARCH 01 / 2`,prompt:`How do customers usually find the website?`,answers:[`Non-branded local searches`,`A mix of search, referrals, and direct visits`,`Mostly our business name`,`Mostly ads or referral links`,`We rarely appear in search`,`We have not evaluated this`,`I donât know`].map((e,t)=>({label:e,value:t>=5?-1:4-t}))},{id:`l2`,category:`local`,eyebrow:`LOCAL SEARCH 02 / 2`,prompt:`Does the website reflect every important service and location you want to grow?`,answers:[`Yes, with useful dedicated pages`,`Most are represented well`,`Several are grouped together`,`Some priorities are only mentioned briefly`,`Important services or areas are missing`,`I donât know`].map((e,t)=>({label:e,value:t===5?-1:4-t}))},{id:`p1`,category:`mobile`,eyebrow:`MOBILE 01 / 2`,prompt:`When did you last complete the full customer journey on a phone?`,answers:[`Within the past month`,`Within three months`,`Within the past year`,`Only when the site launched`,`I never have`,`I donât remember`].map((e,t)=>({label:e,value:t===5?-1:4-t,tag:t>=3&&t<5?`mobile-unverified`:void 0}))},{id:`p2`,category:`mobile`,eyebrow:`MOBILE 02 / 2`,prompt:`How easily can a mobile visitor call, book, buy, or inquire?`,answers:[`Easily, without unnecessary steps`,`Generally well`,`It works but could be simpler`,`Some buttons, menus, or forms are difficult`,`Important actions are unreliable`,`I donât know`].map((e,t)=>({label:e,value:t===5?-1:4-t,tag:t<2?`mobile-belief`:void 0}))},{id:`h1`,category:`technical`,eyebrow:`TECHNICAL 01 / 2`,prompt:`How is the website maintained?`,answers:[`Actively monitored and updated`,`Updated whenever changes are needed`,`Updated occasionally`,`It has received little attention since launch`,`No one is clearly responsible`,`Iâm not sure`].map((e,t)=>({label:e,value:t===5?-1:4-t}))},{id:`h2`,category:`technical`,eyebrow:`TECHNICAL 02 / 2`,prompt:`Which technical symptom concerns you most?`,answers:[{label:`None that Iâm aware of`,value:4},{label:`Spam or unreliable forms`,value:2,tag:`technical-risk`},{label:`Broken pages or links`,value:1,tag:`technical-critical`},{label:`Security or browser warnings`,value:0,tag:`technical-critical`},{label:`Unexpected traffic or tracking problems`,value:1,tag:`technical-risk`},{label:`I donât know`,value:-1}]}],s={messaging:.45,trust:.6,experience:.7,conversion:.55,local:.8,mobile:.85,technical:.9},c={messaging:.16,trust:.14,experience:.13,conversion:.18,local:.13,mobile:.12,technical:.14};function l(){let[e,t]=(0,r.useState)(`landing`),[n,a]=(0,r.useState)(``),[s,c]=(0,r.useState)(null),[l,f]=(0,r.useState)(``),[g,_]=(0,r.useState)(!1),[v,y]=(0,r.useState)(0),[b,x]=(0,r.useState)({}),[S,C]=(0,r.useState)({firstName:``,lastName:``,email:``,phone:``,company:``}),[w,T]=(0,r.useState)(!1),[E,D]=(0,r.useState)(!1),[O,k]=(0,r.useState)(0),A=(0,r.useRef)(null);function j(e){e.preventDefault(),f(``),_(!0),t(`questions`),A.current=fetch(`/api/scan`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({url:n})}).then(async e=>{let t=await e.json();if(!e.ok)throw Error(t.error||`We could not scan that website.`);return c(t),t}).catch(e=>(f(e instanceof Error?e.message:`We could not scan that website.`),null)).finally(()=>_(!1))}function M(e){let n=o[v];x(t=>({...t,[n.id]:e})),v<o.length-1?y(v+1):t(`contact`)}let N=(0,r.useMemo)(()=>m(b,s),[b,s]);async function P(e){e.preventDefault(),T(!0);let r=s;g&&A.current&&(D(!0),r=await A.current);let i=m(b,r),a=o.map(e=>({id:e.id,category:e.category||`context`,question:e.prompt,answer:b[e.id]?.label||`Not answered`}));try{await fetch(`/api/contact`,{method:`POST`,headers:{"content-type":`application/json`},body:JSON.stringify({...S,website:n,report:i,answers:a,scan:r})})}catch{}finally{T(!1)}D(!1),t(`results`)}if((0,r.useEffect)(()=>{window.scrollTo({top:0,behavior:`smooth`})},[e,v]),(0,r.useEffect)(()=>
1{if(!g)return;let e=window.setInterval(()=>k(e=>(e+1)%4),1900);return()=>window.clearInterval(e)},[g]),e===`landing`)return(0,i.jsx)(u,{onStart:()=>t(`url`)});if(e===`url`)return(0,i.jsx)(d,{children:(0,i.jsxs)(`section`,{className:`question-wrap`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`START WITH THE EVIDENCE`}),(0,i.jsx)(`h1`,{children:`What website should we inspect?`}),(0,i.jsx)(`p`,{className:`lede`,children:`Weâll scan the site in the background while you answer a few questions about the business. No access or login is required.`}),(0,i.jsxs)(`form`,{onSubmit:j,className:`url-form`,children:[(0,i.jsx)(`label`,{htmlFor:`website`,children:`Website address`}),(0,i.jsxs)(`div`,{className:`input-row`,children:[(0,i.jsx)(`input`,{id:`website`,type:`text`,required:!0,placeholder:`yourbusiness.com`,value:n,onChange:e=>a(e.target.value),autoFocus:!0}),(0,i.jsx)(`button`,{className:`primary`,children:`Start my health check â`})]}),(0,i.jsx)(`p`,{className:`fine`,children:`We inspect public pages only. We never change your website.`})]})]})});if(e===`questions`){let e=o[v],t=Math.round((v+1)/o.length*100);return(0,i.jsxs)(d,{compact:!0,children:[(0,i.jsx)(`div`,{className:`progress`,children:(0,i.jsx)(`span`,{style:{width:`${t}%`}})}),(0,i.jsxs)(`section`,{className:`question-wrap`,children:[(0,i.jsxs)(`div`,{className:`status-row`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:e.eyebrow}),(0,i.jsxs)(`p`,{children:[t,`% COMPLETE`]})]}),(0,i.jsx)(p,{scan:s,scanError:l,scanStep:O}),(0,i.jsx)(`h1`,{children:e.prompt}),e.help&&(0,i.jsx)(`p`,{className:`lede`,children:e.help}),(0,i.jsx)(`div`,{className:`answers`,children:e.answers.map((t,n)=>(0,i.jsxs)(`button`,{onClick:()=>M(t),className:b[e.id]?.label===t.label?`selected`:``,children:[(0,i.jsx)(`span`,{children:String(n+1).padStart(2,`0`)}),t.label,(0,i.jsx)(`b`,{children:`â`})]},t.label))}),(0,i.jsxs)(`div`,{className:`question-footer`,children:[(0,i.jsx)(`button`,{className:`back`,disabled:v===0,onClick:()=>y(Math.max(0,v-1)),children:`â Previous`}),(0,i.jsx)(`p`,{children:`Your answers and the scan are reviewed together`})]})]})]})}return e===`contact`?(0,i.jsx)(d,{children:(0,i.jsxs)(`section`,{className:`contact-wrap`,children:[(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`YOUR DIAGNOSIS IS READY`}),(0,i.jsx)(`h1`,{children:`See what is helpingâand quietly holding backâyour website.`}),(0,i.jsxs)(`p`,{className:`lede`,children:[`Your report combines your answers with `,s?`evidence from ${s.pagesScanned} public pages`:l?`the business context you provided`:`the website evidence being collected in the background`,`. Enter your details to view it now.`]}),(0,i.jsxs)(`div`,{className:`scan-mini ${s?`complete`:l?`unavailable`:`active`}`,children:[(0,i.jsx)(`i`,{children:s?`â`:l?`!`:``}),(0,i.jsxs)(`span`,{children:[(0,i.jsx)(`strong`,{children:s?`Website scan complete`:l?`Assessment ready without scan data`:`Website scan is finishing`}),(0,i.jsx)(`small`,{children:s?.url||n})]})]})]}),(0,i.jsxs)(`form`,{className:`contact-form`,onSubmit:P,children:[[`firstName`,`lastName`,`email`,`phone`,`company`].map(e=>(0,i.jsxs)(`label`,{children:[e===`firstName`?`First name`:e===`lastName`?`Last name`:e===`company`?`Business name`:e[0].toUpperCase()+e.slice(1),(0,i.jsx)(`input`,{required:e!==`phone`,type:e===`email`?`email`:`text`,value:S[e],onChange:t=>C({...S,[e]:t.target.value})})]},e)),(0,i.jsx)(`button`,{className:`primary`,disabled:w,children:E?`Finalizing website evidenceâ¦`:w?`Preparing reportâ¦`:`View my diagnosis â`}),(0,i.jsx)(`p`,{className:`fine`,children:`Useful results first. No obligation and no generic sales sequence.`})]})]})}):(0,i.jsx)(h,{report:N,scan:s,contact:S})}function u({onStart:e}){return(0,i.jsxs)(`main`,{children:[(0,i.jsxs)(`nav`,{children:[(0,i.jsx)(f,{}),(0,i.jsx)(`a`,{href:`#framework`,children:`How it works`})]}),(0,i.jsxs)(`section`,{className:`hero`,children:[(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`FREE 7-MINUTE WEBSITE DIAGNOSTIC`}),(0,i.jsxs)(`h1`,{children:[`Your website leaves clues. `,(0,i.jsx)(`em`,{children:`Find the constraint.`})]}),(0,i.jsx)(`p`,{className:`lede`,children:`A guided website scan that combines observable evidence with business contextâso you know
1what to fix, what to do next, and what can wait.`}),(0,i.jsx)(`button`,{className:`primary`,onClick:e,children:`Scan my website â`}),(0,i.jsx)(`p`,{className:`fine`,children:`Public pages only. No access required. Useful results immediately.`})]}),(0,i.jsxs)(`div`,{className:`signal-card`,children:[(0,i.jsxs)(`div`,{className:`scan-orbit`,children:[(0,i.jsx)(`span`,{children:`LIVE SCAN`}),(0,i.jsx)(`strong`,{children:`7`}),(0,i.jsx)(`small`,{children:`systems analyzed`})]}),(0,i.jsxs)(`div`,{className:`signal-foot`,children:[(0,i.jsx)(`span`,{children:`DIAGNOSTIC SIGNAL`}),(0,i.jsx)(`b`,{children:`Evidence before advice`})]})]})]}),(0,i.jsxs)(`section`,{id:`framework`,className:`framework`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`THE WEBSITE FRAMEWORK`}),(0,i.jsx)(`h2`,{children:`Seven systems. One clear diagnosis.`}),(0,i.jsx)(`p`,{className:`section-copy`,children:`We inspect what customers and search engines encounter, then interpret it through the goals of the business.`}),(0,i.jsx)(`div`,{className:`system-grid`,children:Object.entries(a).map(([e,t])=>(0,i.jsxs)(`article`,{children:[(0,i.jsx)(`span`,{children:t.number}),(0,i.jsx)(`h3`,{children:t.name}),(0,i.jsx)(`p`,{children:t.short})]},e))})]}),(0,i.jsxs)(`footer`,{children:[(0,i.jsx)(f,{}),(0,i.jsx)(`p`,{children:`Clarity before tactics. Evidence before investment.`}),(0,i.jsx)(`span`,{children:`© 2026 Your Market Pros`})]})]})}function d({children:e,compact:t=!1}){return(0,i.jsxs)(`main`,{className:t?`shell compact`:`shell`,children:[(0,i.jsxs)(`nav`,{children:[(0,i.jsx)(f,{}),(0,i.jsx)(`span`,{children:`Website Health Check`})]}),e]})}function f(){return(0,i.jsxs)(`div`,{className:`brand`,children:[(0,i.jsx)(`b`,{children:`Y`}),(0,i.jsx)(`span`,{children:`YOUR MARKET PROS`})]})}function p({scan:e,scanError:t,scanStep:n}){let r=[`Reading key pages`,`Checking mobile performance`,`Reviewing search basics`,`Looking for conversion gaps`];return(0,i.jsxs)(`aside`,{className:`scan-experience ${e?`complete`:t?`unavailable`:`active`}`,"aria-live":`polite`,children:[(0,i.jsxs)(`div`,{className:`scan-visual`,children:[(0,i.jsx)(`span`,{className:`scan-beam`}),(0,i.jsx)(`span`,{className:`scan-ring ring-one`}),(0,i.jsx)(`span`,{className:`scan-ring ring-two`}),(0,i.jsx)(`b`,{children:e?`â`:t?`!`:String(n+1).padStart(2,`0`)})]}),(0,i.jsxs)(`div`,{className:`scan-copy`,children:[(0,i.jsx)(`small`,{children:e?`WEBSITE SCAN COMPLETE`:t?`SCAN COULD NOT FINISH`:`LIVE WEBSITE SCAN`}),(0,i.jsx)(`strong`,{children:e?`${e.pagesScanned} public pages reviewed`:t?`Your answers will still produce a useful report`:r[n]}),(0,i.jsx)(`div`,{className:`scan-track`,children:r.map((t,r)=>(0,i.jsx)(`i`,{className:e?`done`:r===n?`current`:``},t))}),(0,i.jsx)(`p`,{children:e?`We found the website evidence that will be compared with your answers.`:t?`Weâll clearly separate what we know from what still needs verification.`:`Keep answeringâthe scan is working at the same time.`})]})]})}function m(e,t){let n=Object.keys(a),r=Object.fromEntries(n.map(t=>{let n=o.filter(e=>e.category===t).map(t=>e[t.id]?.value).filter(e=>typeof e==`number`&&e>=0);return[t,n.length?Math.round(n.reduce((e,t)=>e+t,0)/n.length*25):50]})),i=Object.fromEntries(n.map(e=>{let n=s[e],i=t?.scores?.[e]??50;return[e,Math.round(r[e]*(1-n)+i*n)]})),l=Object.values(e).map(e=>e.tag).filter(Boolean),u=l.includes(`technical-critical`),d=l.includes(`tracking-weak`),f=[...n].sort((e,t)=>i[e]-i[t]),p=u?`technical`:d&&l.includes(`traffic-concern`)?`evidence`:f[0];p!==`technical`&&i.messaging<55&&[`conversion`,`local`,`trust`].includes(p)&&(p=`messaging`);let m={technical:`Technical problems are getting in the way`,evidence:`There is not enough tracking to know what is failing`,messaging:`Visitors may not quickly understand the business`,trust:`Visitors may need more proof before contacting you`,experience:`The website is harder to use than it should be`,conversion:`The website is not turning enough interest into action`,local:`Local customers may have trouble finding the business`,mobile:`The phone experience may be costing opportunities`},h={technical:[`Fix anything broken, insecure, or unreliableâespecially forms, calls, and booking steps.`,`Test every way a customer can contact you and make sure tracking records it.`,`Run the check again before spending money to bring in more visitors.`],evidence:[`Confirm that website visits, calls, forms, and bookings are being tracked correctly.`,`Record a simple monthly baseline: visitors, inquiries, and qualified leads.`,`Use those numbers to determine whether the real problem is traffic or c
1onversion.`],messaging:[`State the main service, ideal customer, and service area clearly near the top of the homepage.`,`Explain one specific reason customers should choose you instead of a competitor.`,`Repeat that clear message beside the main call-to-action.`],trust:[`Place reviews, results, credentials, or work examples beside the claims they support.`,`Show recent proof and the real people behind the business.`,`Once the proof is stronger, make the main call-to-action more prominent.`],experience:[`Make the most important customer task easy to find in the main navigation.`,`Combine information that is repeated or scattered across too many pages.`,`Use the same clear next step on every important page.`],conversion:[`Choose one main action you want qualified visitors to take.`,`Remove unnecessary steps from the form, call, booking, or quote process.`,`Track completed actions and lead quality before paying for more traffic.`],local:[`Create stronger pages for the services and locations you most want to grow.`,`Make the areas you serve obvious on important pages.`,`Confirm Google can find those pages before creating more local content.`],mobile:[`Fix phone menus, buttons, forms, and contact steps that create friction.`,`Reduce heavy images and elements that jump around while loading.`,`Complete the full customer journey on a real phone before adding new features.`]},g={technical:`Do not prioritize a cosmetic redesign or more traffic until the foundation is reliable.`,evidence:`Do not declare traffic the problemâor buy more of itâuntil measurement is trustworthy.`,messaging:`Do n
1ot prioritize advertising or broad SEO expansion yet. More visitors would meet the same unclear message.`,trust:`Do not add more aggressive sales copy yet. Support the existing promise with evidence first.`,experience:`Do not add more pages yet. Make the current journey easier to navigate first.`,conversion:`Do not prioritize more traffic yet. Improve what happens after visitors arrive.`,local:`Do not prioritize frequent blog publishing yet. Build strong service and location foundations first.`,mobile:`Do not add more content or visual effects until the mobile journey is dependable.`},_=Math.round(n.reduce((e,t)=>e+i[t]*c[t],0)),v=[];return l.includes(`clarity-belief`)&&l.includes(`clarity-gap`)&&v.push(`You rate the message as clear, but prospects still ask questions the website should answer.`),l.includes(`no-trust-concern`)&&l.includes(`trust-gap`)&&v.push(`No trust concern stood out to you, but the evidence suggests unfamiliar visitors may need more proof.`),l.includes(`traffic-concern`)&&d&&v.push(`You are concerned about traffic, but tracking is not strong enough to prove that traffic is the real problem.`),l.includes(`mobile-belief`)&&l.includes(`mobile-unverified`)&&v.push(`Mobile is rated positively, but the full customer journey has not been tested recently.`),{overall:_,scores:i,primary:p,constraintName:m[p],actions:h[p],notYet:g[p],contradictions:v,ownerScores:r}}function h({report:e,scan:t,contact:n}){let r=Object.keys(a),o=e.primary===`evidence`?`technical`:e.primary,s=t?.findings?.[o]?.slice(0,3)||[];return(0,i.jsxs)(`main`,{className:`results`,children:[(0,i.jsxs)(`nav`,{children:[(0,i.jsx)(f,{}),(0,i.jsx)(`span`,{children:`Website Health Report`})]}),(0,i.jsxs)(`header`,{className:`report-hero`,children:[(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`YOUR WEBSITE RESULTS`}),(0,i.jsxs)(`h1`,{children:[n.firstName,`, hereâs the biggest issue `,(0,i.jsx)(`em`,{children:`holding your website back.`})]}),(0,i.jsx)(`p`,{className:`lede`,children:`Your score shows overall health. The finding below shows where to focus first.`})]}),(0,i.jsx)(`div`,{className:`score-ring`,style:{"--score":`${e.overall*3.6}deg`},children:(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`strong`,{children:e.overall}),(0,i.jsx)(`span`,{children:`/ 100`}),(0,i.jsx)(`small`,{children:`OVERALL WEBSITE HEALTH`})]})})]}),(0,i.jsxs)(`section`,{className:`report-grid`,children:[(0,i.jsxs)(`article`,{className:`constraint`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`BIGGEST ISSUE TO FIX FIRST`}),(0,i.jsx)(`h2`,{children:e.constraintName}),(0,i.jsx)(`p`,{children:_(e.primary)}),s.length>0&&(0,i.jsxs)(`div`,{className:`evidence`,children:[(0,i.jsx)(`b`,{children:`What the scan found`}),s.map(e=>(0,i.jsxs)(`p`,{children:[`â `,e]},e))]})]}),(0,i.jsxs)(`article`,{className:`category-card`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`HOW EACH AREA SCORED`}),r.map(t=>(0,i.jsxs)(`div`,{className:`score-row`,children:[(0,i.jsx)(`span`,{children:a[t].name}),(0,i.jsx)(`i`,{children:(0,i.jsx)(`b`,{style:{width:`${e.scores[t]}%`}})}),(0,i.jsx)(`strong`,{children:e.scores[t]})]},t))]})]}),(0,i.jsx)(g,{vitals:t?.webVitals}),e.contradictions.length>0&&(0,i.jsxs)(`section`,{className:`insight`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`WHAT DOESNâT QUITE MATCH`}),(0,i.jsx)(`h2`,{children:`Your answers and the website evidence tell slightly different stories.`}),e.contradictions.map(e=>(0,i.jsx)(`p`,{children:e},e))]}),(0,i.jsxs)(`section`,{className:`sequence`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`YOUR NEXT THREE STEPS`}),(0,i.jsx)(`h2`,{children:`Do these in this order.`}),(0,i.jsx)(`div`,{children:e.actions.map((e,t)=>(0,i.jsxs)(`article`,{children:[(0,i.jsx)(`span`,{children:String(t+1).padStart(2,`0`)}),(0,i.jsx)(`p`,{children:e})]},e))})]}),(0,i.jsxs)(`section`,{className:`not-yet`,children:[(0,i.jsx)(`span`,{children:`WAIT`}),(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`h2`,{children:`What should wait for now`}),(0,i.jsx)(`p`,{children:e.notYet})]})]}),(0,i.jsxs)(`section`,{className:`consult`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`TURN THE RESULTS INTO A PLAN`}),(0,i.jsx)(`h2`,{children:`Want help deciding what to fix first?`}),(0,i.jsx)(`p`,{children:`Weâll review the results with you, confirm the highest-impact issues, and turn them into a practical plan.`}),(0,i.jsx)(`a`,{className:`primary`,href:`https://meetings-na2.hubspot.com/your-market-professionals-inc`,target:`_blank`,rel:`noreferrer`,children:`Book a website consultation â`})]}),(0,i.jsxs)(`footer`,{children:[(0,i.jsx)(f,{}),(0,i.jsx)(`p`,{children:`Clarity before tactics. Evidence before investment.`}),(0,i.jsx)(`span`,{children:`© 2026 Your Market Pros`})]})]})}function g({vitals:e}){if(!e?.available)return(0,i.jsxs)(`section`,{className:`vitals`,children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`MEASURED PE
1RFORMANCE`}),(0,i.jsx)(`h2`,{children:`Performance data was unavailable for this run.`}),(0,i.jsx)(`p`,{className:`section-copy`,children:`The content and technical crawl still contributed to the diagnosis. Run the check again later to add measured mobile performance.`})]});let t=[{key:`LCP`,name:`Loading`,v:e.lcp},{key:`INP`,name:`Interactivity`,v:e.inp},{key:`CLS`,name:`Visual stability`,v:e.cls}],n=[{name:`Performance`,score:e.performance},{name:`Accessibility`,score:e.accessibility},{name:`Best practices`,score:e.bestPractices},{name:`SEO`,score:e.seo}];return(0,i.jsxs)(`section`,{className:`vitals`,children:[(0,i.jsxs)(`div`,{className:`vitals-head`,children:[(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`p`,{className:`eyebrow`,children:`MOBILE WEB VITALS`}),(0,i.jsx)(`h2`,{children:`Measured performanceânot guesswork.`})]}),(0,i.jsx)(`span`,{className:`vital-status ${e.fieldStatus}`,children:e.fieldStatus===`passed`?`Core Web Vitals passed`:e.fieldStatus===`failed`?`Core Web Vitals need attention`:`Limited real-user data`})]}),(0,i.jsx)(`div`,{className:`vital-grid`,children:t.map(e=>(0,i.jsxs)(`article`,{children:[(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`span`,{children:e.key}),(0,i.jsx)(`small`,{children:e.name})]}),(0,i.jsx)(`strong`,{children:e.v.display}),(0,i.jsx)(`i`,{className:e.v.rating,children:e.v.rating.replace(`-`,` `)}),(0,i.jsx)(`p`,{children:e.v.source===`field`?`Real-user field data`:`Mobile lab measurement`})]},e.key))}),(0,i.jsx)(`div`,{className:`quality-grid`,children:n.map(e=>(0,i.jsxs)(`div`,{children:[(0,i.jsx)(`span`,{children:e.name}),(0,i.jsx)(`strong`,{children:e.score??`â`}),(0,i.jsx)(`i`,{children:(0,i.jsx)(`b`,{style:{width:`${e.score??0}%`}})})]},e.name))}),(0,i.jsxs)(`p`,{className:`vital-note`,children:[`INP requires enough real-user traffic. When field data is unavailable, Total Blocking Time (`,e.tbt.display,`) is retained as a lab diagnosticânot mislabeled as INP.`]})]})}function _(e){return{messaging:`People may land on the website and still be unsure what you do, who you help, or why they should choose you. Sending more traffic now would send more people into that same confusion.`,trust:`People can understand the offer, but they may not see enough reviews, examples, credentials, or real-world proof to feel confident contacting you.`,experience:`The information may be on the website, but visitors have to work too hard to find it or understand what to do next.`,conversion:`People may understand the business but still are not being guided clearly toward calling, booking, requesting a quote, or taking the next step.`,local:`The website may work for people who already know the business, but it is not giving Google or new local customers enough clear information about services and locations.`,mobile:`The website becomes harder to use on a phone, where many local customers will first visit it. That friction can quietly cost calls and inquiries.`,technical:`Something in the websiteâs foundationâsuch as speed, broken actions, security, accessibility, or trackingâneeds attention before other improvements can be trusted.`,evidence:`The website may have a traffic or conversion problem, but the current tracking cannot tell us which one. Better measurement is the first step because it prevents spending money on the wrong fix.`}[e]}export{l 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.