1import{j as e,H as f,f as L,B as j,M as b,L as n,i as c,N}from"./react-vendor-B6sX7i9s.js";import{N as w,C as i,b as l,d as o,e as d,a as g,B as x,F as v}from"./index-fWCN746L.js";import{b as y}from"./blog-data-D6wdfajR.js";import{l as k}from"./learningCenterGuides-CBoqOV2_.js";import"./trpc-DrjY0t2M.js";import"./vendor-BAmwwOli.js";import"./ui-Dc_FVRD7.js";import"./markdown-CJ-2kjB2.js";const D=[{icon:L,title:"Home pest prevention",description:"Learn what draws common household pests indoors and which signs are worth addressing early.",href:"/services/pest-control/general-pest-inspection",linkLabel:"Explore pest control"},{icon:j,title:"Termites and wood-destroying pests",description:"Understand common warning signs, inspection questions, and when a professional assessment makes sense.",href:"/services/pest-control/termite-inspection",linkLabel:"Explore termite guidance"},{icon:b,title:"Rodents and exclusion",description:"Find practical guidance about mice, rats, entry points, and keeping activity from returning.",href:"/services/pest-control/rodent-trapping",linkLabel:"Explore rodent control"}];function p(s){return s.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}function m(s){const r=new Date(s);return Number.isNaN(r.getTime())?s:r.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}function F(){const s=[...k].sort((t,a)=>new Date(a.updatedDate).getTime()-new Date(t.updatedDate).getTime()).slice(0,3),r=[...y].sort((t,a)=>new Date(a.publishedDate).getTime()-new Date(t.publishedDate).getTime()).slice(0,3);return e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:67",className:"min-h-screen flex flex-col bg-background",children:[e.jsxs(f,{"data-loc":"client/src/pages/LearningCenter.tsx:68",children:[e.jsx("title",{"data-loc":"client/src/pages/LearningCenter.tsx:69",children:"Learning Center | Dustin Pest Control"}),e.jsx("meta",{"data-loc":"client/src/pages/LearningCenter.tsx:70",name:"description",content:"Practical pest prevention, termite, rodent, and seasonal home-care guidance from Dustin Pest Control for Central Valley homeowners."}),e.jsx("link",{"data-loc":"client/src/pages/LearningCenter.tsx:74",rel:"canonical",href:"https://dustinpestcontrol.com/learning-center"})]}),e.jsx(w,{"data-loc":"client/src/pages/LearningCenter.tsx:77"}),e.jsxs("main",{"data-loc":"client/src/pages/LearningCenter.tsx:79",className:"flex-grow",children:[e.jsxs("section",{"data-loc":"client/src/pages/LearningCenter.tsx:80",className:"relative overflow-hidden bg-gradient-to-br from-[#17345b] via-[#1d4978] to-[#2e7d32] py-16 text-white md:py-20",children:[e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:81",className:"absolute inset-0 opacity-15","aria-hidden":"true",children:[e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:82",className:"absolute -right-20 -top-24 h-80 w-80 rounded-full border-[32px] border-white"}),e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:83",className:"absolute -bottom-28 left-1/4 h-64 w-64 rounded-full border-[24px] border-white"})]}),e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:85",className:"container relative mx-auto px-4 text-center",children:[e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:86",className:"mb-3 text-sm font-semibold uppercase tracking-[0.18em] text-white/80",children:"Dustin Pest Control Resources"}),e.jsx("h1",{"data-loc":"client/src/pages/LearningCenter.tsx:87",className:"mx-auto max-w-4xl text-4xl font-bold leading-tight md:text-6xl",children:"Learning Center"}),e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:88",className:"mx-auto mt-5 max-w-3xl text-lg leading-relaxed text-white/90 md:text-xl",children:"Clear, practical guidance for Central Valley homeownersâso you can recognize common pest concerns, understand prevention steps, and know when to call a professional."})]})]}),e.jsx("section",{"data-loc":"client/src/pages/LearningCenter.tsx:94",className:"border-b bg-white py-12",children:e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:95",className:"container mx-auto px-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:96",className:"mb-8 max-w-2xl",children:[e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:97",className:"text-sm font-semibold uppercase tracking-[0.15em] text-primary",children:"Start here"}),e.jsx("h2",{"data-loc":"client/src/pages/LearningCenter.tsx:98",className:"mt-2 text-3xl font-bold text-foreground",children:"Guidance by pest concern"}),e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:99",className:"mt-3 text-muted-foreground",children:"Explore the service areas most homeowners ask about, then use the blog for timely, question-specific tips."})]}),e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:103",className:"grid gap-6 md:grid-cols-3",children:D.map(({icon:t,title:a,description:h,href:u,linkLabel:C})=>e.jsxs(i,{"data-loc":"client/src/pages/LearningCenter.tsx:105",className:"h-full border-border/80 shadow-sm transition-shadow hover:shadow-md",children:[e.jsxs(l,{"data-loc":"client/src/pages/LearningCenter.tsx:106",children:[e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:107",className:"mb-3 flex h-11 w-11 items-center justify-center rounded-full bg-primary/10 text-primary",children:e.jsx(t,{"data-loc":"client/src/pages/LearningCenter.tsx:108",className:"h-5 w-5","aria-hidden":"true"})}),e.jsx(o,{"data-loc":"client/src/pages/LearningCenter.tsx:110",className:"text-xl",children:a}),e.jsx(d,{"data-loc":"client/src/pages/LearningCenter.tsx:111",className:"text-base leading-relaxed",children:h})]}),e.jsx(g,{"data-loc":"client/src/pages/LearningCenter.tsx:113",children:e.jsxs(n,{"data-loc":"client/src/pages/LearningCenter.tsx:114",href:u,className:"inline-flex items-center gap-1 font-semibold text-primary hover:underline",children:[C,e.jsx(c,{"data-loc":"client/src/pages/LearningCenter.tsx:116",className:"h-4 w-4","aria-hidden":"true"})]})})]},a))})]})}),e.jsx("section",{"data-loc":"client/src/pages/LearningCenter.tsx:125",className:"py-14 md:py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:126",className:"container mx-auto px-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:127",className:"mb-8 max-w-2xl",children:[e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:128",className:"text-sm font-semibold uppercase tracking-[0.15em] text-primary",children:"Featured guides"}),e.jsx("h2",{"data-loc":"client/src/pages/LearningCenter.tsx:129",className:"mt-2 text-3xl font-bold text-foreground",children:"In-depth homeowner resources"}),e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:130",className:"mt-3 text-muted-foreground",children:"Use these comprehensive guides for practical prevention steps, checklists, questions to ask, and trustworthy sources."})]}),e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:132",className:"grid gap-6 md:grid-cols-3",children:s.map(t=>e.jsx(n,{"data-loc":"client/src/pages/LearningCenter.tsx:134",href:`/learning-center/${t.slug}`,className:"group block h-full",children:e.jsxs(i,{"data-loc":"client/src/pages/LearningCenter.tsx:135",className:"h-full overflow-hidden border-border/80 shadow-sm transition-all duration-200 group-hover:-translate-y-1 group-hover:shadow-lg",children:[e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:136",className:"aspect-video overflow-hidden bg-muted",children:e.jsx("img",{"data-loc":"client/src/pages/LearningCenter.tsx:137",src:t.heroImageUrl,alt:t.heroImageAlt,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-105",loading:"lazy"})}),e.jsxs(l,{"data-loc":"client/src/pages/LearningCenter.tsx:139",children:[e.jsxs(d,{"data-loc":"client/src/pages/LearningCenter.tsx:140",children:[t.category," · Updated ",m
1(t.updatedDate)]}),e.jsx(o,{"data-loc":"client/src/pages/LearningCenter.tsx:141",className:"text-xl leading-snug",children:t.title})]}),e.jsxs(g,{"data-loc":"client/src/pages/LearningCenter.tsx:143",children:[e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:144",className:"line-clamp-3 text-sm leading-relaxed text-muted-foreground",children:t.excerpt}),e.jsxs("span",{"data-loc":"client/src/pages/LearningCenter.tsx:145",className:"mt-5 inline-flex items-center gap-1 font-semibold text-primary",children:["Read guide ",e.jsx(c,{"data-loc":"client/src/pages/LearningCenter.tsx:145",className:"h-4 w-4","aria-hidden":"true"})]})]})]})},t.slug))})]})}),e.jsx("section",{"data-loc":"client/src/pages/LearningCenter.tsx:154",className:"border-t border-border py-14 md:py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:155",className:"container mx-auto px-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:156",className:"mb-8 flex flex-col gap-4 md:flex-row md:items-end md:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:157",className:"max-w-2xl",children:[e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:158",className:"text-sm font-semibold uppercase tracking-[0.15em] text-primary",children:"From the blog"}),e.jsx("h2",{"data-loc":"client/src/pages/LearningCenter.tsx:159",className:"mt-2 text-3xl font-bold text-foreground",children:"Latest homeowner questions"}),e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:160",className:"mt-3 text-muted-foreground",children:"Browse recent articles from Dustin Pest Controlâs existing library of pest prevention and property-care information."})]}),e.jsx(n,{"data-loc":"client/src/pages/LearningCenter.tsx:164",href:"/blog",children:e.jsxs(x,{"data-loc":"client/src/pages/LearningCenter.tsx:165",variant:"outline",className:"w-fit",children:[e.jsx(N,{"data-loc":"client/src/pages/LearningCenter.tsx:166",className:"mr-2 h-4 w-4","aria-hidden":"true"}),"View all blog articles"]})})]}),e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:172",className:"grid gap-6 md:grid-cols-3",children:r.map(t=>{const a=t.excerpt?p(t.excerpt):p(t.content);return e.jsx(n,{"data-loc":"client/src/pages/LearningCenter.tsx:176",href:`/blog/${t.slug}`,className:"group block h-full",children:e.jsxs(i,{"data-loc":"client/src/pages/LearningCenter.tsx:177",className:"h-full overflow-hidden border-border/80 shadow-sm transition-all duration-200 group-hover:-translate-y-1 group-hover:shadow-lg",children:[t.featuredImage&&e.jsx("div",{"data-loc":"client/src/pages/LearningCenter.tsx:179",className:"aspect-video overflow-hidden bg-muted",children:e.jsx("img",{"data-loc":"client/src/pages/LearningCenter.tsx:180",src:t.featuredImage,alt:"",className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-105",loading:"lazy"})}),e.jsxs(l,{"data-loc":"client/src/pages/LearningCenter.tsx:188",children:[e.jsx(d,{"data-loc":"client/src/pages/LearningCenter.tsx:189",children:m(t.publishedDate)}),e.jsx(o,{"data-loc":"client/src/pages/LearningCenter.tsx:190",className:"text-xl leading-snug",children:t.title})]}),e.jsxs(g,{"data-loc":"client/src/pages/LearningCenter.tsx:192",children:[e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:193",className:"line-clamp-3 text-sm leading-relaxed text-muted-foreground",children:a}),e.jsxs("span",{"data-loc":"client/src/pages/LearningCenter.tsx:194",className:"mt-5 inline-flex items-center gap-1 font-semibold text-primary",children:["Read article ",e.jsx(c,{"data-loc":"client/src/pages/LearningCenter.tsx:195",className:"h-4 w-4","aria-hidden":"true"})]})]})]})},t.slug)})})]})}),e.jsx("section",{"data-loc":"client/src/pages/LearningCenter.tsx:206",className:"bg-[#f2f8f1] py-14",children:e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:207",className:"container mx-auto px-4 text-center",children:[e.jsx("h2",{"data-loc":"client/src/pages/LearningCenter.tsx:208",className:"text-3xl font-bold text-foreground",children:"Need help with a pest concern?"}),e.jsx("p",{"data-loc":"client/src/pages/LearningCenter.tsx:209",className:"mx-auto mt-4 max-w-2xl text-muted-foreground",children:"If you are seeing signs of pest activity or would like help deciding what to do next, the Dustin Pest Control team is ready to help."}),e.jsxs("div",{"data-loc":"client/src/pages/LearningCenter.tsx:212",className:"mt-7 flex flex-col justify-center gap-3 sm:flex-row",children:[e.jsx(n,{"data-loc":"client/src/pages/LearningCenter.tsx:213",href:"/contact",children:e.jsx(x,{"data-loc":"client/src/pages/LearningCenter.tsx:213",size:"lg",children:"Get a free quote"})}),e.jsx("a",{"data-loc":"client/src/pages/LearningCenter.tsx:214",href:"tel:559-205-9898",children:e.jsx(x,{"data-loc":"client/src/pages/LearningCenter.tsx:214",size:"lg",variant:"outline",children:"Call 559-205-9898"})})]})]})})]}),e.jsx(v,{"data-loc":"client/src/pages/LearningCenter.tsx:220"})]})}
1export{F 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.