1import{u as h,j as e,e as b,k as j,L as f,J as m,ax as N,B as i,c7 as y,c8 as k,_ as C,c9 as S,aB as g,a6 as $,ay as I,ca as R,c1 as P,bY as w,g as c,ac as B,c3 as L,cb as M,c4 as q,cc as T,cd as E,ce as H,cf as z,cg as A,S as O,H as _,a as F,a4 as U,ch as G,o as J,t as V,a9 as W,F as Y}from"./index-DK4FIgQg.js";import{B as D}from"./Breadcrumbs-nuehNpbK.js";import{C as K}from"./CarShippingCrossSell-BrjT9oRL.js";import{E as Q}from"./ExitIntentOffer-BGnHMOaw.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const X=h("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const Z=h("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const ee=h("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]),se=({author:t})=>e.jsx(b,{className:"bg-muted/50",children:e.jsx(j,{className:"p-6",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("img",{src:t.avatar,alt:t.name,className:"w-16 h-16 rounded-full object-cover"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-lg font-semibold text-foreground mb-1",children:t.name}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:t.bio}),e.jsx(f,{to:t.bioLink,className:"text-sm text-primary hover:underline font-medium",children:"Read a letter from the Editor â"})]})]})})}),te=({headings:t})=>{const[o,s]=m.useState("");m.useEffect(()=>{const a=new IntersectionObserver(r=>{r.forEach(l=>{l.isIntersecting&&s(l.target.id)})},{rootMargin:"-20% 0% -35% 0%"});return t.forEach(r=>{const l=document.getElementById(r.id);l&&a.observe(l)}),()=>a.disconnect()},[t]);const n=a=>{const r=document.getElementById(a);r&&r.scrollIntoView({behavior:"smooth"})};return t.length===0?null:e.jsx("nav",{className:"sticky top-24 hidden lg:block",children:e.jsxs("div",{className:"border-l-2 border-muted pl-4",children:[e.jsx("p",{className:"text-sm font-semibold text-foreground mb-4",children:"Table of Contents"}),e.jsx("ul",{className:"space-y-2",children:t.map(a=>e.jsx("li",{children:e.jsx("button",{onClick:()=>n(a.id),className:N("text-sm text-left transition-colors hover:text-primary",a.level===3&&"pl-4",o===a.id?"text-primary font-medium":"text-muted-foreground"),children:a.text})},a.id))})]})})},u=({url:t,title:o})=>{const[s,n]=m.useState(!1),a=`https://www.homemovingnow.com${t}`,r={facebook:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(a)}`,twitter:`https://twitter.com/intent/tweet?url=${encodeURIComponent(a)}&text=${encodeURIComponent(o)}`,linkedin:`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(a)}`,email:`mailto:?subject=${encodeURIComponent(o)}&body=${encodeURIComponent(`Check out this article: ${a}`)}`},l=async()=>{try{await navigator.clipboard.writeText(a),n(!0),g.success("Link copied to clipboard!"),setTimeout(()=>n(!1),2e3)}catch{g.error("Failed to copy link")}};return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-sm font-medium text-muted-foreground mr-2",children:"Share:"}),e.jsx(i,{variant:"outline",size:"icon",className:"h-9 w-9",onClick:()=>window.open(r.facebook,"_blank"),children:e.jsx(y,{className:"h-4 w-4"})}),e.jsx(i,{variant:"outline",size:"icon",className:"h-9 w-9",onClick:()=>window.open(r.twitter,"_blank"),children:e.jsx(k,{className:"h-4 w-4"})}),e.jsx(i,{variant:"outline",size:"icon",className:"h-9 w-9",onClick:()=>window.open(r.linkedin,"_blank"),children:e.jsx(Z,{className:"h-4 w-4"})}),e.jsx(i,{variant:"outline",size:"icon",className:"h-9 w-9",onClick:()=>window.open(r.email,"_blank"),children:e.jsx(C,{className:"h-4 w-4"})}),e.jsx(i,{variant:"outline",size:"icon",className:"h-9 w-9",onClick:l,children:s?e.jsx(S,{className:"h-4 w-4 text-success"}):e.jsx(X,{className:"h-4 w-4"})})]})},ae=({posts:t})=>t.length===0?null:e.jsx("section",{className:"py-16 bg-muted/30",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx($,{title:"Related Articles",subtitle:"Continue exploring this topic",LeftIcon:I,RightIcon:R}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mt-8",children:t.map(o=>e.jsx(P,{post:o},o.id))})]})}),oe=({post:t})=>{const o=w(t.siloSlug);return e.jsx("section",{className:"py-16 bg-gradient-to-br from-primary/5 to-secondary/5",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsx("h2",{className:"text-3xl font-display font-bold text-center mb-2",children:"Continue Your Journey"}),e.jsx("p",{className:"text-muted-foreground text-center mb-8",children:"Keep learning with the next article in this series"}),e.jsx(f,{to:`/blog/${t.siloSlug}/${t.slug}`,children:e.jsx(b,{className:"hover:scale-105 transition-all duration-300 hover:shadow-2xl border-2 hover:border-primary/50 group overflow-hidden",children:e.jsxs("div",{className:"grid md:grid-cols-2 gap-0",children:[e.jsx("div",{className:"relative h-64 md:h-full overflow-hidden",children:e.jsx("img",{src:t.heroImage,alt:t.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-300"})}),e.jsxs(j,{className:"p-8 flex flex-col justify-center",children:[e.jsx(c,{className:`bg-gradient-to-r ${o==null?void 0:o.gradient} text-white w-fit mb-4`,children:o==null?void 0:o.name}),e.jsx("h3",{className:"text-2xl font-semibold text-foreground mb-4 group-hover:text-primary transition-colors",children:t.title}),e.jsx("p",{className:"text-muted-foreground mb-6 line-clamp-3",children:t.excerpt}),e.jsxs(i,{variant:"cta",className:"w-fit group",children:["Read Next Article",e.jsx(B,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]})})})]})})})},ce=()=>{const{siloSlug:t,postSlug:o}=L(),s=M(t||"",o||""),n=w(t||"");if(!s||!n)return e.jsx(q,{to:"/blog",replace:!0});const a=T(s.content),r=E(s.content),l=H(r),d=z(s,3),x=A(s),v={"@context":"https://schema.org","@type":"BlogPosting",headline:s.title,de
16scription:s.excerpt,author:{"@type":"Person",name:s.author.name,url:`https://www.homemovingnow.com${s.author.bioLink}`},publisher:{"@type":"Organization",name:"Home Moving Now",logo:{"@type":"ImageObject",url:"https://www.homemovingnow.com/logo.png"}},datePublished:s.datePublished.toISOString(),dateModified:s.dateModified.toISOString(),image:`https://www.homemovingnow.com/og-images/${s.slug}.jpg`,articleSection:n.name,wordCount:s.content.split(/\s+/).length};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(O,{title:`${s.title} | ${n.name} Guide | Home Moving Now`,description:s.excerpt,canonical:`https://www.homemovingnow.com/blog/${s.siloSlug}/${s.slug}`,ogImage:`https://www.homemovingnow.com/og-images/${s.slug}.jpg`,keywords:s.keywords.join(", "),schema:v}),e.jsx(_,{}),e.jsx(F,{}),e.jsx(D,{items:[{label:"Blog",href:"/blog"},{label:n.name,href:`/blog/${n.slug}`},{label:s.title,href:`/blog/${s.siloSlug}/${s.slug}`}]}),e.jsxs("section",{className:"relative py-24 md:py-32 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${s.heroImage})`},children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/90 via-primary/70 to-transparent"}),e.jsx("div",{className:"relative container mx-auto px-4",children:e.jsxs("div",{className:"max-w-4xl",children:[e.jsx(c,{className:`bg-gradient-to-r ${n.gradient} text-white mb-4`,children:n.name}),s.isPillar&&e.jsx(c,{className:"bg-secondary text-white ml-2 mb-4",children:"Comprehensive Guide"}),e.jsx("h1",{className:"text-4xl md:text-6xl font-display font-bold text-white mb-6",children:s.title}),e.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-white/90 mb-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:s.author.avatar,alt:s.author.name,className:"w-10 h-10 rounded-full"}),e.jsx("span",{className:"font-medium",children:s.author.name})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(U,{className:"h-4 w-4"}),e.jsx("span",{children:G(s.datePublished)})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(J,{className:"h-4 w-4"}),e.jsxs("span",{children:[a," min read"]})]})]}),e.jsx(u,{url:`/blog/${s.siloSlug}/${s.slug}`,title:s.title})]})})]}),e.jsx("article",{className:"py-16",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"max-w-7xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-[1fr_300px] gap-12",children:[e.jsxs("div",{className:"max-w-4xl",children:[e.jsx(se,{author:s.author}),e.jsx("div",{className:`prose prose-lg max-w-none mt-8 17 prose-headings:font-display prose-headings:font-bold prose-headings:text-foreground 18 prose-h2:text-3xl prose-h2:mt-12 prose-h2:mb-6 prose-h2:pb-3 prose-h2:border-b prose-h2:border-primary/20 19 prose-h3:text-2xl prose-h3:mt-8 prose-h3:mb-4 prose-h3:text-primary 20 prose-p:text-muted-foreground prose-p:leading-relaxed prose-p:mb-6 21 prose-strong:text-foreground prose-strong:font-semibold 22 prose-ul:my-6 prose-ul:space-y-2 23 prose-ol:my-6 prose-ol:space-y-2 24 prose-li:text-muted-foreground prose-li:leading-relaxed 25 prose-a:text-primary prose-a:font-medium prose-a:no-underline hover:prose-a:underline 26 prose-img:rounded-lg prose-img:shadow-lg 27 prose-blockquote:border-l-4 prose-blockquote:border-primary prose-blockquote:bg-primary/5 prose-blockquote:py-4 prose-blockquote:px-6 prose-blockquote:my-6 prose-blockquote:rounded-r-lg 28 prose-code:text-primary prose-code:bg-muted prose-code:px-1 prose-code:py-0.5 prose-code:rounded`,dangerouslySetInnerHTML:{__html:r}}),s.siloSlug!=="auto-shipping"&&e.jsx(K,{}),s.tags.length>0&&e.jsxs("div",{className:"flex items-center gap-2 flex-wrap mt-12 pt-8 border-t",children:[e.jsx(ee,{className:"h-4 w-4 text-muted-foreground"}),s.tags.map(p=>e.jsx(c,{variant:"outline",children:p},p))]}),e.jsxs("div",{className:"mt-8 pt-8 border-t",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"Found this helpful? Share it with others:"}),e.jsx(u,{url:`/blog/${s.siloSlug}/${s.slug}`,title:s.title})]})]}),e.jsxs("aside",{className:"space-y-6",children:[l.length>=3&&e.jsx(te,{headings:l}),e.jsx(V,{variant:"card"})]})]})})})}),e.jsx(W,{heading:"Planning This Move? Get Matched With Vetted Movers",subheading:"Free, no obligation, and no deposit required to see pricing. Add your car in the same request."}),x&&e.jsx(oe,{post:x}),d.length>0&&e.jsx(ae,{posts:d}),e.jsx(Q,{variant:s.siloSlug==="auto-shipping"?"auto":/pods|container/.test(s.slug)?"pods":/abf|u-pack|upack/.test(s.slug)?"abf":"moving"}),e.jsx(Y,{})]})};export{ce 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.