1import{j as e}from"./vendor-motion-DUZozfy1.js";import{a as o}from"./vendor-charts-CHn1wSbK.js";import{p as ge}from"./purify.es-C_j36M7A.js";import{z as fe,u as be,y as ye,E as je,by as we,Y as ve,a as Ne,k as Ae,N as Ce,L as $,d as c,H as U,a7 as Se,bz as De,b8 as Pe,av as Te,aw as Ie,ax as ke,C as Le,az as Ue,l as Q,m as Y,a5 as Me,D as Ee,r as He,s as Fe,v as Oe,w as Be,x as Re}from"./index-Bb8a9cml.js";import{C as _e}from"./CMSConnectionBanner-BwHvGbhb.js";import{P as ze}from"./PublishSuccessModal-vOBIh6K0.js";import{S as Ge}from"./ScheduleResultModal-I_Mziedj.js";import{u as qe}from"./usePublishErrorHandler-lK7yDnFP.js";import{P as v}from"./PageLayout-CNh5Cs5f.js";import{C as We}from"./calendar-B08u_o41.js";import{S as $e}from"./SchemaMarkupTabs-Bhzvzfjf.js";import{a as Qe,A as Ye}from"./AIVisibilityReportContent-BISgsd6P.js";import{I as Ke}from"./IndexingMilestonesCard-C5GeH_Cl.js";import{P as Ve}from"./PageLinksSummaryCard-BNjT5Ili.js";import{g as Je,s as Xe,C as Ze,P as et,B as tt,a as st}from"./ContentPreviewChrome-RGEkhfBr.js";import{T as at}from"./tag-CCZQS0HP.js";import{P as rt}from"./pen-line-B29_lSQf.js";import{C as it}from"./calendar-C35cV26U.js";import"./vendor-sentry-RcVmeTqv.js";import"./vendor-radix-c9D4YKig.js";import"./index.esm-Dfs_rq7k.js";import"./en-US-dVR5b0_k.js";import"./format-BAaKANpQ.js";import"./earth-CeCv-D8S.js";import"./skeleton-D5297Fry.js";import"./gscPermissions-CmbukKF8.js";import"./gscReportHooks-CUQaS1ds.js";import"./googleSearchConsoleHooks-BajqQBM1.js";import"./PageLinksDialog-AoYjEm9Y.js";import"./image-Be44EEel.js";import"./type-Do6n9hDF.js";import"./link-BmSgRgNm.js";import"./hash-_Ye9mA9T.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"82232f0163efc9ba5bbf9cf2945540a486567b75"};var d=new r.Error().stack;d&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[d]="0691533c-c157-47b1-968b-f0ee336d54d3",r._sentryDebugIdIdentifier="sentry-dbid-0691533c-c157-47b1-968b-f0ee336d54d3")}catch{}})();const nt=[{id:"preview",label:"Preview",icon:Se,testId:"tab-preview"},{id:"schema",label:"Schema",icon:De,testId:"tab-schema"},{id:"audit",label:"Audit",icon:Pe,testId:"tab-audit"}],ot=`<script type="application/ld+json"> 2{ 3 "@context": "https://schema.org", 4 "@type": "Article", 5 "headline": "ADU Financing Options: How to Pay for Your Accessory Dwelling Unit in 2025", 6 "description": "Complete guide to ADU financing options including HELOCs, construction loans, cash-out refinancing, and ADU-specific financing programs. Learn how rental income can help you qualify.", 7 "image": "https://theadupro.com/images/adu-financing-guide-2025.jpg", 8 "author": { 9 "@type": "Organization", 10 "name": "TheADUPro", 11 "url": "https://theadupro.com", 12 "logo": "https://theadupro.com/logo.png", 13 "telephone": "800-929-9812", 14 "address": { 15 "@type": "PostalAddress", 16 "streetAddress": "15338 Central Ave.", 17 "addressLocality": "Chino", 18 "addressRegion": "CA", 19 "postalCode": "91710", 20 "addressCountry": "US" 21 } 22 }, 23 "publisher": { 24 "@type": "Organization", 25 "name": "TheADUPro", 26 "logo": { "@type": "ImageObject", "url": "https://theadupro.com/logo.png" } 27 }, 28 "datePublished": "2025-01-15", 29 "dateModified": "2025-01-15", 30 "mainEntityOfPage": { "@type": "WebPage", "@id": "https://theadupro.com/adu-financing-options" }, 31 "articleSection": "ADU Construction Financing", 32 "keywords": "ADU financing, accessory dwelling unit loans, HELOC, construction loans, ADU-specific financing, home equity, California ADU, rental income financing", 33 "about": { "@type": "Thing", "name": "Accessory Dwelling Unit Financing" } 34} 35<\/script> 36<script type="application/ld+json"> 37{ 38 "@context": "https://schema.org", 39 "@type": "FAQPage", 40 "mainEntity": [ 41 { 42 "@type": "Question", 43 "name": "How Can I Finance an ADU Construction Project?", 44 "acceptedAnswer": { "@type": "Answer", "text": "Most California homeowners finance ADUs through HELOCs, cash-out refinances, construction-to-permanent loans, or ADU-specific programs. The best option depends on equity, credit, income, and how quickly rental income offsets payments." } 45 }, 46 { 47 "@type": "Question", 48 "name": "What are the main ADU financing options available?",
49 "acceptedAnswer": { "@type": "Answer", "text": "HELOCs, cash-out refinancing, construction-to-permanent loans, ADU-specific programs, personal loans, and FHA 203(k) loans." } 50 }, 51 { 52 "@type": "Question", 53 "name": "Can rental income from an ADU help me qualify for financing?", 54 "acceptedAnswer": { "@type": "Answer", "text": "Yes â many lenders count ~75% of projected ADU rental income toward qualifying income." } 55 }, 56 { 57 "@type": "Question", 58 "name": "How much does ADU construction typically cost?", 59 "acceptedAnswer": { "@type": "Answer", "text": "Building an ADU typically requires $100,000â$400,000 in financing, adding 80â120% of construction cost to property value." } 60 } 61 ] 62} 63<\/script> 64<script type="application/ld+json"> 65{ 66 "@context": "https://schema.org", 67 "@type": "LocalBusiness", 68 "name": "TheADUPro", 69 "image": "https://theadupro.com/logo.png", 70 "description": "Southern California's trusted ADU and home addition contractor with over 30 years of experience.", 71 "url": "https://theadupro.com", 72 "telephone": "800-929-9812", 73 "priceRange": "$$-$$$", 74 "address": { 75 "@type": "PostalAddress", 76 "streetAddress": "15338 Central Ave.", 77 "addressLocality": "Chino", 78 "addressRegion": "CA", 79 "postalCode": "91710", 80 "addressCountry": "US" 81 }, 82 "geo": { "@type": "GeoCoordinates", "latitude": 33.9767, "longitude": -117.6884 }, 83 "areaServed": [ 84 { "@type": "State", "name": "California" }, 85 { "@type": "AdministrativeArea", "name": "Orange County" }, 86 { "@type": "AdministrativeArea", "name": "Riverside County" }, 87 { "@type": "AdministrativeArea", "name": "San Bernardino County" }, 88 { "@type": "AdministrativeArea", "name": "Los Angeles County" } 89 ], 90 "serviceType": ["ADU Construction", "Accessory Dwelling Unit Building", "Home Additions", "ADU Financing Assistance"], 91 "aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.8", "reviewCount": "127" }, 92 "paymentAccepted": "Cash, Check, Credit Card, Financing", 93 "openingHours": "Mo-Fr 08:00-18:00, Sa 09:00-15:00", 94 "slogan": "Best pricing guarantee in Southern California" 95} 96<\/script> 97<script type="application/ld+json"> 98{ 99 "@context": "https://schema.org", 100 "@type": "HowTo", 101 "name": "How to Finance an ADU Construction Project", 102 "description": "Step-by-step guide to securing financing for your accessory dwelling unit construction", 103 "image": "https://theadupro.com/images/adu-financing-process.jpg", 104 "totalTime": "PT30D", 105 "estimatedCost": { "@type": "MonetaryAmount", "currency": "USD", "value": "100000" }, 106 "step": [ 107 { "@type": "HowToStep", "name": "Assess Your Current Financial Position", "text": "Evaluate home equity, credit score, current mortgage rate, and DTI to determine which financing options are available.", "url": "https://theadupro.com/adu-financing-options#assess-finances" }, 108 { "@type": "HowToStep", "name": "Calculate Project Costs and ROI", "text": "Determine total construction costs ($100kâ$400k) and project rental income to understand ROI and cash flow.", "url": "https://theadupro.com/adu-financing-options#calculate-costs" }, 109 { "@type": "HowToStep", "name": "Compare Financing Options", "text": "Review HELOCs, cash-out refinancing, construction loans, and ADU-specific programs.", "url": "https://theadupro.com/adu-financing-options#compare-options" }, 110 { "@type": "HowToStep", "name": "Get Pre-Approved", "text": "Submit applications and obtain pre-approval letters; many lenders consider projected ADU rental income.", "url": "https://theadupro.com/adu-financing-options#pre-approval" }, 111 { "@type": "HowToStep", "name": "Consult with TheADUPro", "text": "Schedule a free consultation at 800-929-9812 for expert guidance and lender connections.", "url": "https://theadupro.com/contact" }, 112 { "@type": "HowToStep", "name": "Finalize Financing and Begin Construction", "text": "Close on your chosen financing option and begin your ADU construction project with confidence.", "url": "https://theadupro.com/adu-financing-options#finalize" } 113 ] 114} 115<\/script> 116<script type="application/ld+json"> 117{ 118 "@context": "https://schema.org", 119 "@type": "BreadcrumbList", 120 "itemListElement": [ 121 { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://theadupro.com" }, 122 { "@type": "ListItem", "position": 2, "name": "ADU Resources", "item": "https://theadupro.com/resources" }, 123 { "@type": "ListItem", "position": 3, "name": "ADU Financing Options", "item": "https://theadupro.com/adu-financing-options" } 124 ] 125} 126<\/script>`;function zt(){const{id:r}=fe(),d=be(),M=ye(),{data:E,isLoading:K,error:V,refetch:H}=je(r),{mutate:J,isPending:x}=we(),{mutate:X,isPending:g}=ve(),a=E?.blog||E,h=a?.content||"",m=a?.meta_title||a?.title||"Untitled",p=a?.status||"draft",u=p==="published"||p==="archived",F=a?.scheduled_date||null,O=a?.schema||"",Z=t=>{if(!t||typeof t!="string")return!1;const s=t.trim();return s.startsWith("<!doctype")||s.startsWith("<html")||s.includes("</html>")||s.startsWith("<")&&(s.includes("</p>")||s.includes("</div>")||s.includes("</h2>")||s.includes("</h3>")||s.includes("</table>")||s.includes("</blockquote>")||/<[a-z][^>]*>/i.test(s))},ee=t=>{if(!t)return"";try{const s=t.replace(/\\u003C/g,"<").replace(/\\u003E/g,">").replace(/\\u0022/g,'"').replace(/\\u0026/g,"&"),n=document.createElement("div");n.innerHTML=s;const L=n.querySelector("main");if(L){L.querySelectorAll("script, style").forEach(xe=>xe.remove());let i=L.innerHTML;return i=i.replace(/<header[^>]*>[\s\S]*?<\/header>/gi,""),i=i.replace(/<nav[^>]*>[\s\S]*?<\/nav>/gi,""),i=i.replace(/<script[^>]*>[\s\S]*?<\/script>/gi,""),i=i.replace(/<style[^>]*>[\s\S]*?<\/style>/gi,""),i.trim()}const W=n.querySelector("body");return W?W.innerHTML:s.trim()}catch(s){return console.error("Error extracting content from HTML:",s),t}},B=Z(h),N=B?ee(h):h,te=o.useMemo(()=>Je(N),[N]),[f,se]=o.useState("preview"),[ae,A]=o.useState(!1),{publishError:re,clearPublishError:ie,handlePublishError:ne,handlePublishResult:oe}=qe(),{selectedProjectId:R,selectedProject:_}=Ne(),C=_?.url||"",S=(C||"your-website.com").replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/$/,""),D=Xe(a?.url_path),ce=D?`${S}/${D}`:S,b=o.useMemo(()=>{const t=a?.audit;if(t==null)return null;if(typeof t=="string")try{return JSON.parse(t)}catch{return null}return typeof t=="object"&&t.scores?t:null},[a]),P=o.useMemo(()=>!b||!b.scores?null:Qe(a,b,C),[b,a,C]),[le,y]=o.useState(!1),[l,T]=o.useState(null),[j,I]=o.use
126State(null),{toast:z}=Ae(),{connectionData:de,isCheckingConnection:G}=Ce(),w=de?.connected===!0,k=()=>{const t=M.state?.returnFolder;t?d("/aivisibility/artifact-management",{state:{activeFolder:t}}):d(-1)},q=t=>{z({title:"Plugin Connection Required",description:`Please connect WordPress plugin to ${t} artifacts. Click 'Check Connection' in the banner above.`,variant:"error",position:"bottom-right"})},me=()=>{u||d(`/aivisibility/artifact-edit/${r}`,{state:{origin:"aivisibility"}})},pe=()=>{if(!w){q("publish");return}J({geo_id:r,website_id:R},{onSuccess:t=>{oe(t)&&(A(!0),setTimeout(()=>{A(!1)},3e3),setTimeout(()=>{H()},100))},onError:t=>{console.error("Failed to publish artifact:",t),ne(t)}})},he=()=>{if(!w){q("schedule");return}y(!0)},ue=()=>{if(!l){z({title:"No Date Selected",description:"Please select a date to schedule the artifact.",variant:"error",position:"bottom-right"});return}const t=new Date(l.getFullYear(),l.getMonth(),l.getDate()),s=Math.floor(t.getTime()/1e3);X({blogs_id:r,scheduledDate:s},{onSuccess:()=>{I({status:"success",title:"Schedule Updated",description:`Your AI artifact has been scheduled for ${l.toLocaleDateString()}.`}),y(!1),T(null),H()},onError:n=>{console.error("Failed to schedule artifact:",n),I({status:"error",title:"Schedule Update Failed",description:"There was an error updating your artifact schedule. Please try again."})}})};return K?e.jsx(v,{title:"AI Artifact",showProjectDomain:!0,children:e.jsx("div",{className:"flex items-center justify-center py-20",children:e.jsxs("div",{className:"text-center",children:[e.jsx($,{className:"w-12 h-12 animate-spin text-[var(--brand-primary)] mx-auto mb-4"}),e.jsx("p",{className:"text-slate-600",children:"Loading artifact..."})]})})}):V?e.jsx(v,{title:"AI Artifact",showProjectDomain:!0,children:e.jsx("div",{className:"flex items-center justify-center py-20",children:e.jsx("div",{className:"text-center max-w-md",children:e.jsxs("div",{className:"bg-red-50 border border-red-200 rounded-xl p-8 shadow-sm",children:[e.jsx("h2",{className:"text-xl font-semibold text-red-900 mb-2",children:"Error Loading Artifact"}),e.jsx("p",{className:"text-red-700 mb-6",children:"Failed to load the artifact. It may not exist or there was a network error."}),e.jsxs(c,{onClick:k,variant:"outline",className:"border-red-300 text-red-700 hover:bg-red-50",children:[e.jsx(U,{className:"w-4 h-4 mr-2"}),"Go Back"]})]})})})}):!a||!h?e.jsx(v,{title:"AI Artifact",showProjectDomain:!0,children:e.jsx("div",{className:"flex items-center justify-center py-20",children:e.jsx("div",{className:"text-center max-w-md",children:e.jsxs("div",{className:"bg-amber-50 border border-amber-200 rounded-xl p-8 shadow-sm",children:[e.jsx("h2",{className:"text-xl font-semibold text-amber-900 mb-2",children:"Artifact Not Found"}),e.jsx("p",{className:"text-amber-700 mb-6",children:"The artifact you're looking for doesn't exist or has no content."}),e.jsxs(c,{onClick:k,variant:"outline",className:"border-amber-300 text-amber-700 hover:bg-amber-50",children:[e.jsx(U,{className:"w-4 h-4 mr-2"}),"Go Back"]})]})})})}):e.jsxs(v,{title:"AI Artifact",description:"Preview and publish your AI-generated artifact",showProjectDomain:!0,children:[e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"mb-6 flex items-center justify-between gap-3",children:[e.jsxs(c,{variant:"ghost",onClick:k,className:"-ml-2 flex items-center gap-2 text-slate-500 hover:text-slate-900","data-testid":"button-back",children:[e.jsx(U,{className:"w-4 h-4"}),"Back to Calendar"]}),e.jsxs("div",{className:"flex items-center gap-2.5",children:[a?.keyword&&e.jsxs("span",{className:"hidden items-center gap-1.5 text-sm text-slate-500 sm:inline-flex",children:[e.jsx(at,{className:"h-3.5 w-3.5"}),a.keyword]}),F&&e.jsx("span",{className:"hidden text-sm text-slate-500 sm:inline",children:new Date(F).toLocaleDateString()}),e.jsx(Ze,{status:p})]})]}),e.jsx(Ve,{pageId:a?.page_id,pageTitle:m,pageUrl:a?.url_path,published:p==="published"}),p==="published"&&a?.id&&e.jsx(Ke,{websiteId:R,targetKind:"blog",targetId:a.id,role:_?.my_role,variant:"strip"}),e.jsx(_e,{redirectPath:"/aivisibility/artifact-management",testId:"cms-connection-banner-artifact-detail",offerManagedBlogSetup:!0}),e.jsxs("div",{className:"mb-5 mt-6 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsx(et,{tabs:nt,value:f,onChange:se}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(c,{variant:"outline",onClick:me,disabled:u||x||g,className:"gap-1.5",children:[e.jsx(rt,{className:"h-4 w-4"}),"Edit"]}),e.jsxs(c,{variant:"outline",onClick:he,disabled:u||g||x,className:"gap-1.5",children:[e.jsx(it,{className:"h-4 w-4"}),g?"Schedulingâ¦":"Schedule"]}),e.jsx(Te,{children:e.jsxs(Ie,{children:[e.jsx(ke,{asChild:!0,children:e.jsx("span",{className:"inline-flex",children:e.jsx(c,{onClick:pe,disabled:u||G||!w||x||g,className:"gap-1.5 bg-emerald-600 text-white hover:bg-emerald-700 disabled:cursor-not-allowed disabled:opacity-50","data-testid":"button-publish-artifact",children:x?e.jsxs(e.Fragment,{children:[e.jsx($,{className:"h-4 w-4 animate-spin"}),"Publishingâ¦"]}):e.jsxs(e.Fragment,{children:[e.jsx(Le,{className:"h-4 w-4"}),p==="published"?"Published":"Publish Now"]})})})}),!u&&!w&&!G&&e.jsx(Ue,{children:"Connect your CMS plugin to publish"})]})})]})]}),f==="preview"&&e.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-3","data-testid":"artifact-content",children:[e.jsx("div",{className:"lg:col-span-2",children:e.jsx(tt,{url:ce,children:e.jsx("div",{className:"max-h-[74vh] overflow-y-auto bg-white",children:e.jsxs("div",{className:"mx-auto max-w-2xl px-6 py-10 md:px-10 md:py-12",children:[m!=="Untitled"&&e.jsx("h1",{className:"mb-8 border-b border-gray-200 pb-5 text-3xl md:text-4xl font-bold leading-[1.25] tracking-tight text-[#1a1a1a]",children:m}),B?e.jsxs("article",{className:"w-full",children:[e.jsx("style",{dangerouslySetInnerHTML:{__html:` 127 .preview-content { 128 line-height: 1.7; 129 color: #111; 130 } 131 .preview-content h1 { 132 font-size: 2rem; 133 line-height: 1.2; 134 margin-bottom: 0.5rem; 135 margin-top: 2rem; 136 } 137 .preview-content h2 { 138 margin-top: 2rem; 139 font-size: 1.5rem; 140 } 141 .preview-content h3 { 142 margin-top: 1.25rem; 143 font-size: 1.15rem; 144 } 145 .preview-content ul, .preview-content ol { 146 padding-left: 1.2rem; 147 } 148 .preview-content p { 149 margin: 1rem 0; 150 } 151 .preview-content table { 152 width: 100%; 153 border-collapse: collapse; 154 margin: 1rem 0; 155 } 156 .preview-content th, .preview-content td { 157 border: 1px solid #eee; 158 padding: 0.6rem; 159 text-align: left; 160 } 161 .preview-content blockquote { 162 margin: 1rem 0; 163 padding: 1rem 1.5rem; 164 border-left: 4px solid #e5e7eb; 165 } 166 .preview-content cite { 167 display: block; 168 font-size: 0.875rem; 169 color: #6b7280; 170 margin-top: 0.5rem; 171 } 172 .preview-content a { 173 color: #0a66c2; 174 text-decoration: none; 175 } 176 .preview-content a:hover { 177 text-decoration: underline; 178 } 179 `}}),e.jsx("div",{className:"preview-content",dangerouslySetInnerHTML:{__html:ge.sanitize(N||"<p style='color: #9ca3af; font-style: italic;'>No content available...</p>")}})]}):e.jsx("div",{className:"prose prose-blue max-w-none",children:h.split(` 180`).map((t,s)=>t.startsWith("# ")?e.jsx("h1",{className:"text-3xl font-bold text-gray-900 mt-8 mb-4",children:t.substring(2)},s):t.startsWith("## ")?e.jsx("h2",{className:"text-2xl font-semibold text-gray-900 mt-6 mb-3",children:t.substring(3)},s):t.startsWith("### ")?e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mt-5 mb-2",children:t.substring(4)},s):t.startsWith("**")&&t.endsWith("**")?e.jsx("p",{className:"font-semibold text-gray-900 mt-3 mb-2",children:t.replace(/\*\*/g,"")},s):t==="---"?e.jsx("hr",{className:"my-8 border-gray-200"},s):t.startsWith("- ")?e.jsx("li",{className:"text-gray-700 ml-6 mb-1",children:t.substring(2)},s):t.startsWith("â ")||t.startsWith("â")?e.jsx("p",{className:"text-gray-700 mb-1",children:t},s):t.match(/^[ððð]/)?e.jsx("p",{className:"text-gray-700 mb-1",children:t},s):t.trim()===""?e.jsx("br",{},s):e.jsx("p",{className:"text-gray-700 leading-relaxed mb-3",children:t},s))})]})})})}),e.jsx("aside",{className:"lg:col-span-1",children:e.jsx("div",{className:"lg:sticky lg:top-6",children:e.jsx(st,{domain:S,slug:D,title:m==="Untitled"?"":m,metaDescription:a?.meta_description||"",keyword:a?.keyword||"",stats:te,showFeaturedImage:!1})})})]}),f==="schema"&&e.jsx(Q,{className:"shadow-sm !mt-0","data-testid":"schema-content",children:e.jsxs(Y,{className:"p-8",children:[e.jsxs("div",{className:"mb-6",children:[e.jsx("h2",{className:"text-2xl font-semibold text-gray-900 mb-3",children:"AI Schema Markup"}),e.jsxs("p",{className:"text-gray-700 mb-4 leading-relaxed",children:["Our system automatically generates ",e.jsx("strong",{children:"advanced JSON-LD structured data"})," that enables AI platforms to accurately understand, parse, and cite your content within their knowledge graphs."]}),e.jsxs("div",{className:"bg-gradient-to-r from-blue-50 to-indigo-50 border-l-4 border-[var(--brand-primary)] p-4 mb-4",children:[e.jsx("p",{className:"text-sm font-semibold text-blue-900 mb-2",children:"Optimized for 8 AI Search Platforms:"}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"Google AI Overviews"}),e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"ChatGPT"}),e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"Perplexity AI"}),e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"Claude"}),e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"Meta AI"}),e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"Gemini"}),e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"Grok"}),e.jsx("span",{className:"bg-white px-3 py-1 rounded-full text-xs font-medium text-gray-700 shadow-sm",children:"Bing AI"})]})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4 mb-4",children:[e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 w-8 h-8 bg-[rgb(var(--brand-primary-rgb)/0.12)] rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-[var(--brand-primary)] font-bold text-sm",children:"1"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900 text-sm",children:"Machine-Readable Semantics"}),e.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"Establishes explicit entity relationships and contextual hierarchies"})]})]}),e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 w-8 h-8 bg-green-100 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-green-600 font-bold text-sm",children:"2"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900 text-sm",children:"Increased Citation Probability"}),e.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"AI models can accurately reference and attribute your content"})]})]}),e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 w-8 h-8 bg-purple-100 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-purple-600 font-bold text-sm",children:"3"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900 text-sm",children:"Enhanced Answer Inclusion"}),e.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"Higher rates of appearing in AI-generated responses"})]})]}),e.jsxs("div",{className:"flex items-start space-x-3",children:[e.jsx("div",{className:"flex-shrink-0 w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center",children:e.jsx("span",{className:"text-orange-600 font-bold text-sm",children:"4"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900 text-sm",children:"Multi-Layered Ontologies"}),e.jsx("p",{className:"text-xs text-gray-600 mt-1",children:"Article, FAQPage, LocalBusiness, HowTo, and BreadcrumbList schemas"})]})]})]})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsx($e,{schema:O||ot,label:"AI Schema Markup",helperText:"JSON-LD blocks below are split per @type so you can inspect, copy, or val
180idate each one independently.",fallbackLabel:O?null:"Demo"}),e.jsxs("div",{className:"bg-[rgb(var(--brand-primary-rgb)/0.08)] border border-[var(--brand-primary)]/30 rounded-lg p-6 mt-8",children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-3",children:"ð¤ AI Visibility Optimization"}),e.jsx("p",{className:"text-gray-700 mb-3",children:"This schema markup is optimized for AI search engines and platforms including:"}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-4",children:[e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"Google AI Overviews"}),e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"ChatGPT"}),e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"Perplexity AI"}),e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"Claude"}),e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"Meta AI"}),e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"Gemini"}),e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"Grok"}),e.jsx("div",{className:"bg-white rounded px-3 py-2 text-sm text-gray-900 font-medium",children:"Bing AI"})]}),e.jsxs("div",{className:"space-y-2 text-sm text-gray-700",children:[e.jsxs("p",{className:"flex items-start",children:[e.jsx("span",{className:"text-[var(--brand-primary)] mr-2",children:"â"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Enhanced Citations:"})," AI platforms can accurately cite your content with proper attribution"]})]}),e.jsxs("p",{className:"flex items-start",children:[e.jsx("span",{className:"text-[var(--brand-primary)] mr-2",children:"â"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Rich Snippets:"})," Structured data enables rich search results with additional information"]})]}),e.jsxs("p",{className:"flex items-start",children:[e.jsx("span",{className:"text-[var(--brand-primary)] mr-2",children:"â"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Knowledge Graph:"})," Helps AI understand entity relationships and context"]})]}),e.jsxs("p",{className:"flex items-start",children:[e.jsx("span",{className:"text-[var(--brand-primary)] mr-2",children:"â"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Question Answering:"})," FAQPage schema optimizes for voice and AI-driven Q&A"]})]}),e.jsxs("p",{className:"flex items-start",children:[e.jsx("span",{className:"text-[var(--brand-primary)] mr-2",children:"â"}),e.jsxs("span",{children:[e.jsx("strong",{children:"Local Discovery:"})," LocalBusiness schema improves visibility in location-based AI queries"]})]})]})]})]})]})}),f==="audit"&&e.jsx(Q,{className:"shadow-sm !mt-0","data-testid":"audit-content",children:e.jsx(Y,{className:"p-6 sm:p-8",children:P?e.jsx(Ye,{data:P,embedded:!0,hideKeyword:!1,showUrl:!!P.url}):e.jsxs("div",{className:"text-center py-16",children:[e.jsx("p",{className:"text-base text-slate-700 font-medium",children:"No audit data available for this artifact yet."}),e.jsx("p",{className:"text-sm text-slate-500 mt-2 max-w-md mx-auto",children:"An audit is generated automatically when this artifact is scanned. SEO, GEO, and AEO scores along with strengths, weaknesses, and competitor analysis will appear here once available."})]})})})]}),e.jsx(ze,{open:ae,onClose:()=>A(!1),entityType:"artifact",title:m,keyword:a?.keyword||null}),e.jsx(Me,{error:re,onClose:ie}),e.jsx(Ee,{open:le,onOpenChange:y,children:e.jsxs(He,{className:"sm:max-w-[425px]",children:[e.jsxs(Fe,{children:[e.jsx(Oe,{children:"Schedule Artifact Publication"}),e.jsx(Be,{children:"Choose a date to schedule this artifact for publication to WordPress."})]}),e.jsx("div",{className:"py-4",children:e.jsx(We,{mode:"single",selected:l,onSelect:T,disabled:t=>{const s=new Date;s.setHours(0,0,0,0);const n=new Date(t);return n.setHours(0,0,0,0),n<s},className:"rounded-md border"})}),e.jsxs(Re,{children:[e.jsx(c,{variant:"outline",onClick:()=>{y(!1),T(null)},children:"Cancel"}),e.jsx(c,{onClick:ue,disabled:!l,className:"text-white",children:"Schedule"})]})]})}),e.jsx(Ge,{open:!!j,onClose:()=>I(null),status:j?.status||"success",title:j?.title||"",description:j?.description||""})]})}
180export{zt 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.