PageSourceSearch

https://stephenwade.com/_next/static/chunks/pages/blog/articles/[slug]-7196b2f3457803ca.js

js stephenwade.com collected 2026-10-01 15:38:26 UTC 14,184 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2930],{18672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{__N_SSP:()=>y,default:()=>v});var a=s(37876),i=s(14232),r=s(89099),l=s(52952),o=s(63105),n=s(68827),c=s.n(n),d=s(75938);let h=t=>{var e;let{markdown:s,showParagraphs:i}=t,r=new d.A4;return null==(e=r.link)||e.bind(r),r.link=(t,e,s)=>{let a=(t=>{if(!t)return"";let e=t.trim(),s=/^(?:[a-z][a-z0-9+.-]*:)?\/\//i.test(e)||/^(?:https?:|mailto:|tel:)/i.test(e),a=e.startsWith("/");return s||a?e:/^www\./i.test(e)||/\./.test(e)?"https://".concat(e.replace(/^\/+/,"")):e})(t),i=/^https?:\/\//i.test(a);return'<a href="'.concat(a,'"').concat(e?' title="'.concat(e,'"'):"").concat(i?' rel="nofollow noopener noreferrer"':"").concat(i?' target="_blank"':"",">").concat(s,"</a>")},i||(r.paragraph=t=>t),d.xI.use({renderer:r}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,d.xI)(s)}})};var p=s(56557),w=s.n(p),m=s(77328),g=s.n(m),u=s(48230),x=s.n(u);class b extends i.Component{render(){var t,e,s,i,r,n,d,p,m,u,b,y,v,j,f,k,A,N,S,L,_,z,C,T,I,R,W;let U=()=>{var t,e,s;let a=["Stephen Wade","St George Utah","automotive"];if((null==(t=this.state.article)?void 0:t.category)&&a.push(this.state.article.category),null==(e=this.state.article)?void 0:e.title){let t=this.state.article.title.toLowerCase().split(/\s+/).filter(t=>t.length>4&&!["stephen","wade"].includes(t));a.push(...t.slice(0,5))}if(null==(s=this.state.article)?void 0:s.description){let t=this.state.article.description.toLowerCase().split(/\s+/).filter(t=>t.length>5).slice(0,3);a.push(...t)}
1return[...new Set(a)].join(", ")},D=()=>{var t;return(null==(t=this.state.article)?void 0:t.category)?this.state.article.category.split(/\s+|&/).map(t=>t.trim()).filter(t=>t.length>2):[]},F=(null==(t=this.state.article)?void 0:t.markdown)?this.state.article.markdown.split(/\s+/).filter(t=>t.length>0).length:0,M=(null==(e=this.state.article)?void 0:e.metaTitle)||"".concat(null==(s=this.state.article)?void 0:s.title," | Stephen Wade Auto Center Blog"),P=(null==(i=this.state.article)?void 0:i.metaDescription)||(null==(r=this.state.article)?void 0:r.description),Y=(null==(n=this.state.article)?void 0:n.photoURL)||"https://stephenwade.com/images/swac-black.webp",B=U(),E=D();return(0,a.jsxs)("div",{children:[(0,a.jsxs)(g(),{children:[(0,a.jsx)("title",{children:M}),(0,a.jsx)("meta",{name:"description",content:P}),(0,a.jsx)("meta",{name:"keywords",content:B}),(0,a.jsx)("meta",{name:"author",content:"Stephen Wade Auto Center"}),(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("link",{rel:"canonical",href:"https://www.stephenwade.com/blog/articles/".concat(null==(d=this.state.article)?void 0:d.slug)}),(0,a.jsx)("meta",{property:"og:url",content:"https://www.stephenwade.com/blog/articles/".concat(null==(p=this.state.article)?void 0:p.slug)}),(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{property:"og:title",content:M}),(0,a.jsx)("meta",{property:"og:description",content:P}),(0,a.jsx)("meta",{property:"og:image",content:Y}),(0,a.jsx)("meta",{property:"og:image:alt",content:(null==(m=this.state.article)?void 0:m.photoAlt)||(null==(u=this.state.article)?void 0:u.title)}),(null==(b=this.state.article)?void 0:b.createdAt)&&(0,a.jsx)("meta",{property:"article:published_time",content:new Date(this.state.article.createdAt).toISOString()}),(null==(y=this.state.article)?void 0:y.category)&&(0,a.jsx)("meta",{property:"article:section",content:this.state.article.category}),E.map((t,e)=>(0,a.jsx)("meta",{property:"article:tag",content:t},"article-tag-".concat(e))),(0,a.jsx)("meta",{property:"article:publisher",content:"https://www.stephenwade.com/"}),(0,a.jsx)("meta",{property:"article:author",content:"Stephen Wade Auto Center"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:M}),(0,a.jsx)("meta",{name:"twitter:description",content:P}),(0,a.jsx)("meta",{name:"twitter:image",content:Y}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:(null==(v=this.state.article)?void 0:v.photoAlt)||(null==(j=this.state.article)?void 0:j.title)}),(0,a.jsx)("meta",{name:"twitter:site",content:"@StephenWadeAuto"})," ",(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting",mainEntityOfPage:{"@type":"WebPage","@id":"https://www.stephenwade.com/blog/articles/".concat(null==(f=this.state.article)?void 0:f.slug)},headline:null==(k=this.state.article)?void 0:k.title,description:P,...(null==(A=this.state.article)?void 0:A.photoURL)?{image:[this.state.article.photoURL]}:{},author:{"@type":"Organization",name:"Stephen Wade Auto Center",url:"https://www.stephenwade.com/"},publisher:{"@type":"Organization",name:"Stephen Wade Auto Center",logo:{"@type":"ImageObject",url:"https://www.stephenwade.com/images/swac-black.webp"}},...(null==(N=this.state.article)?void 0:N.createdAt)?{datePublished:new Date(this.state.article.createdAt).toISOString()}:{},...(null==(S=this.state.article)?void 0:S.updatedAt)?{dateModified:new Date(this.state.article.updatedAt).toISOString()}:{},...(null==(L=this.state.article)?void 0:L.category)?{articleSection:this.state.article.category}:{},...E.length>0?{keywords:E}:{},...F>0?{wordCount:F}:{},inLanguage:"en-US",isAccessibleForFree:!0,articleBody:null==(_=this.state.article)?void 0:_.sanitizedHTML})}}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.stephenwade.com/"},{"@type":"ListItem",position:2,name:"Blog",item:"https://www.stephenwade.com/blog"},...(null==(z=this.state.article)?void 0:z.category)?[{"@type":"ListItem",position:3,name:this.state.article.category,item:"https://www.stephenwade.com/blog/category/".concat(encodeURIComponent(this.state.article.category.toLowerCase().replace(/\s+/g,"-").replace(/&/g,"and")))}]:[],{"@type":"ListItem",position:(null==(C=this.state.article)?void 0:C.category)?4:3,name:null==(T=this.state.article)?void 0:T.title,item:"https://www.stephenwade.com/blog/articles/".concat(null==(I=this.state.article)?void 0:I.slug)}]})}})]}),(0,a.jsx)(l.A,{title:null==(R=this.state.article)?void 0:R.title,link:"All Articles",linkURL:"/blog/"}),(0,a.jsx)("div",{className:"sw-container-md",style:{margin:"auto",backgroundColor:"white",borderRadius:"8px"},children:(0,a.jsxs)("div",{className:"sw-white sw-round-t sw-shadow-l sw-p-md sw-m-t-32px-lap",style:{marginTop:"-50px",backgroundColor:"white"},children:[(0,a.jsxs)("div",{className:"sw--bold sw--center sw--grey",children:["Posted: ",w()(this.state.article.createdAt).format("YYYY-MM-DD")]}),this.state.article.photoURL&&!this.state.article.youtubeLink&&(0,a.jsx)("div",{className:"sw-w-100P sw-flex sw-justify-center sw-m-t-md",children:(0,a.jsx)("img",{src:this.state.article.photoURL,alt:this.state.article.photoAlt||this.state.article.title,className:"sw-max-w-500px sw-h-300px sw-max-w-300px-tablet sw-h-200px-tablet sw-round sw-border sw-border-w-1px sw-border-gray"})}),this.state.article.youtubeLink&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"sw-none-tablet sw-flex sw-justify-center sw--center",style:{margin:"auto",marginTop:"12px",flexDirection:"column",marginBottom:"8px"}
1,children:(0,a.jsx)("iframe",{width:"560",style:{margin:"auto"},height:"315",src:"https://www.youtube.com/embed/"+this.state.article.youtubeLink.split("v=")[1]+"?rel=0&amp&modestbranding=1&controls=1",title:"YouTube video player",sandbox:"allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-top-navigation",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"})}),(0,a.jsx)("div",{className:"sw-none sw-flex-tablet",style:{position:"relative",paddingBottom:"56.25%",height:0,overflow:"hidden",maxWidth:"100%",marginBottom:"8px",marginTop:"24px"},children:(0,a.jsx)("iframe",{title:"YouTube video player",src:"https://www.youtube.com/embed/"+this.state.article.youtubeLink.split("v=")[1]+"?rel=0&amp&modestbranding=1&controls=1",sandbox:"allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-top-navigation",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"}})})]}),(0,a.jsx)("p",{style:{lineHeight:"normal",color:"#444",wordWrap:"break-word"},className:"sw--size-md sw--size-sm-tablet",children:this.state.article?(0,a.jsx)(h,{markdown:this.state.article.markdown,showParagraphs:!0}):null}),this.state.article.photoURL&&this.state.article.youtubeLink&&(0,a.jsx)("div",{className:"sw-w-100P sw-flex sw-justify-center sw-m-t-md",children:(0,a.jsx)("img",{src:this.state.article.photoURL,alt:this.state.article.photoAlt||this.state.article.title,className:"sw-max-w-500px sw-h-300px sw-max-w-300px-tablet sw-h-200px-tablet sw-round sw-border sw-border-w-1px sw-border-gray"})}),this.state.relatedArticles&&this.state.relatedArticles.length>0&&(0,a.jsxs)("div",{className:"sw-m-t-xlg sw-m-b-lg",children:[(0,a.jsx)("h4",{className:"sw--center sw--size-xlg sw--size-lg-tablet sw-m-b-md",children:(null==(W=this.state.article)?void 0:W.category)?"More in ".concat(this.state.article.category):"Related Articles"}),(0,a.jsx)("div",{className:"sw-flex sw-flex-wrap sw-justify-center sw-m-t-md",style:{gap:"20px"},children:this.state.relatedArticles.slice(0,3).map((t,e)=>(0,a.jsx)(x(),{href:"/blog/articles/".concat(t.slug),passHref:!0,legacyBehavior:!0,children:(0,a.jsxs)("a",{className:"sw-flex sw-flex-col sw-white sw-round sw-border sw-border-gray sw-transition-swing",style:{textDecoration:"none",overflow:"hidden",width:"100%",maxWidth:"350px",boxShadow:"0 6px 24px rgba(2, 6, 12, 0.08)",backgroundColor:"white"},onMouseEnter:t=>{t.currentTarget.style.transform="translateY(-4px)",t.currentTarget.style.boxShadow="0 10px 32px rgba(2, 6, 12, 0.14)"},onMouseLeave:t=>{t.currentTarget.style.transform="translateY(0)",t.currentTarget.style.boxShadow="0 6px 24px rgba(2, 6, 12, 0.08)"},children:[(0,a.jsx)("div",{style:{width:"100%",height:"160px",backgroundImage:"url(".concat(t.photoURL||"/images/ep-background.jpg",")"),backgroundSize:"cover",backgroundPosition:"center"}}),(0,a.jsxs)("div",{className:"sw-p-md sw-white",style:{backgroundColor:"white"},children:[(0,a.jsx)("h5",{className:"sw--size-md sw--size-sm-phone sw-m-b-xsm sw--black",style:{lineHeight:"1.4",display:"-webkit-box",overflow:"hidden"},children:t.title}),(0,a.jsx)("time",{className:"sw--size-xsm sw--grey",dateTime:t.createdAt,children:w()(t.createdAt).format("YYYY-MM-DD")})]})]})},e))})]}),(0,a.jsxs)("div",{className:"sw-m-t-lg",children:[(0,a.jsx)("h5",{className:"sw--center sw--size-lg sw--size-md-tablet",children:"You've Got It Made At Stephen Wade"}),(0,a.jsx)("hr",{className:"sw-m-lr-lg"}),(0,a.jsx)("div",{className:"sw-flex sw-flex-center sw-m-t-sm sw-m-t-lg-tablet sw-h-300px sw-h-100px-tablet sw-w-400px sw-w-200px-tablet sw-m-auto",children:(0,a.jsx)(c(),{src:o.A,alt:"Why Buy From Stephen Wade",objectFit:"cover"})})]})]})})]})}async componentDidUpdate(t){if(t.router.query.slug!==this.props.router.query.slug){let t=this.props.router.query.slug;try{let e=await fetch("/api/articles/".concat(t));if(e.ok){let s=await e.json(),a=[];try{let e=await fetch("/api/articles/related/".concat(t));e.ok&&(a=await e.json())}catch(t){console.error("Failed to fetch related articles:",t)}this.setState({article:s,relatedArticles:a}),window.scrollTo({top:0,behavior:"smooth"})}}catch(t){console.error("Error fetching new article:",t)}}}constructor(t){super(t),this.state={article:t.article,relatedArticles:t.relatedArticles||[]}}}var y=!0;let v=(0,r.withRouter)(b)},39164:(t,e,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/articles/[slug]",function(){return s(18672)}])},52952:(t,e,s)=>{"use strict";s.d(e,{A:()=>n});var a=s(37876),i=s(75961),r=s.n(i),l=s(14232);class o extends l.Component{render(){return(0,a.jsxs)("div",{className:"sw-position-relative",children:[(0,a.jsx)("div",{className:"sw-h-50vh sw-h-25vh-lap",style:{overflow:"hidden",background:"linear-gradient(rgba(13, 24, 33, 0.55), rgb(14 25 48 / 55%)), url(
1/images/articlesHeader.webp) no-repeat bottom center",backgroundSize:"cover"},"aria-hidden":"true"}),(0,a.jsx)("div",{className:"sw-position-absolute sw-w-100P sw-h-50vh sw-h-25vh-lap",style:{top:0,left:0,opacity:.55,background:"linear-gradient(180deg, rgba(13,24,33,0.35) 0%, rgba(20,33,61,0.60) 100%)"},"aria-hidden":"true"}),(0,a.jsxs)("div",{role:"region","aria-labelledby":"articles-header-title",style:{top:"40%",left:"50%",transform:"translate(-50%, -50%)",textAlign:"center",borderRadius:10,border:"1px solid rgba(255,255,255,0.28)",backgroundColor:"rgba(18,24,33,0.2)",backdropFilter:"blur(6px)",WebkitBackdropFilter:"blur(6px)",boxShadow:"0 12px 32px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.15)"},className:"jsx-aeb28e86e1bf78be sw-position-absolute sw--white sw-p-lg sw-p-md-lap sw-p-sm-tablet",children:[(0,a.jsx)("h1",{id:"articles-header-title",style:{letterSpacing:.3},className:"jsx-aeb28e86e1bf78be sw--size-4xlg sw--size-xlg-lap sw--size-lg-tablet",children:this.props.title}),this.props.link&&this.props.linkURL&&(0,a.jsx)("div",{className:"jsx-aeb28e86e1bf78be sw-m-t-sm",children:(0,a.jsx)("a",{href:this.props.linkURL,className:"jsx-aeb28e86e1bf78be header-link",children:this.props.link})}),(0,a.jsx)(r(),{id:"aeb28e86e1bf78be",children:'.header-link.jsx-aeb28e86e1bf78be{color:#FFF;text-decoration:none;position:relative;padding-bottom:2px}.header-link.jsx-aeb28e86e1bf78be:after{content:"";position:absolute;left:0;bottom:0;width:0%;height:2px;background:linear-gradient(90deg,#1A6DE4 0%,#FFB650 100%);transition:width.25s ease}.header-link.jsx-aeb28e86e1bf78be:hover:after{width:100%}.header-link.jsx-aeb28e86e1bf78be:focus-visible:after{width:100%}.header-link.jsx-aeb28e86e1bf78be:focus-visible{outline:2px solid#1A6DE4;outline-offset:2px}'})]})]})}constructor(t){super(t),this.state={}}}let n=o}},t=>{t.O(0,[5695,8827,2117,5938,636,6593,8792],()=>t(t.s=39164)),_N_E=t.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.