PageSourceSearch

https://www.respondcapture.com/_nuxt/D3uLPU-D.js

js respondcapture.com collected 2026-10-05 09:48:59 UTC 10,382 bytes, 1 lines download raw bytes

1import{_ as P}from"./BH-V2ecM.js";import{_ as tt}from"./Ckx1e21f.js";import{_ as et,z as st,U as W,V as ot,B as b,Z as rt,u as at,c as i,l as g,a as t,m as o,t as l,d as m,F as D,r as C,W as nt,b as _,w as M,Y as G,o as a}from"./Cl-Y4suh.js";import{u as J}from"./BYCQHR19.js";import{u as it}from"./Bt24vRHX.js";const lt={key:0,class:"bg-blue-600 text-white py-3 px-4"},dt={class:"container mx-auto max-w-4xl"},ct={class:"flex items-center justify-center gap-2"},pt={key:0},ut={key:1},mt={key:2},gt={class:"relative py-16 bg-gradient-to-br from-slate-900 via-gray-900 to-slate-900 text-white transition-colors duration-200"},xt={class:"relative container mx-auto px-4"},ht={class:"max-w-4xl mx-auto text-center"},yt={class:"mb-6"},vt={class:"inline-flex items-center text-sm py-1 gap-1.5 bg-primary/10 text-emerald-200 ring ring-inset ring-primary/25 px-3 relative rounded-full font-display uppercase"},_t={class:"text-3xl md:text-5xl font-bold mb-6 leading-tight text-white"},ft={class:"flex flex-wrap items-center justify-center gap-6 text-gray-100 mb-8"},wt={class:"flex items-center"},kt={class:"flex items-center"},bt={class:"flex items-center"},Dt={class:"text-xl text-gray-100 leading-relaxed max-w-3xl mx-auto mb-6"},Ct={key:0,class:"flex flex-wrap justify-center gap-2 max-w-3xl mx-auto"},Mt={class:"py-16 bg-white dark:bg-[#0f1113] transition-colors duration-200"},Tt={class:"container mx-auto px-4"},Bt={class:"max-w-4xl mx-auto"},jt={class:"prose prose-lg prose-gray dark:prose-invert max-w-none prose-headings:font-display prose-headings:font-bold prose-headings:text-gray-900 dark:prose-headings:text-white prose-p:text-gray-700 dark:prose-p:text-gray-300 prose-p:text-lg prose-p:leading-relaxed prose-p:mb-6 prose-a:text-emerald-600 dark:prose-a:text-emerald-400 prose-a:underline prose-a:font-medium hover:prose-a:text-emerald-700 dark:hover:prose-a:text-emerald-500 prose-li:text-gray-700 dark:prose-li:text-white prose-li:text-lg prose-blockquote:text-gray-700 dark:prose-blockquote:text-gray-300 prose-blockquote:border-emerald-500 prose-code:text-emerald-600 dark:prose-code:text-emerald-400 prose-code:bg-gray-100 dark:prose-code:bg-gray-700 prose-pre:bg-gray-100 dark:prose-pre:bg-gray-900"},Ut=["innerHTML"],Nt={key:0,class:"mt-12 pt-8 border-t border-gray-200 dark:border-white/10 transition-colors duration-200"},zt={class:"flex flex-wrap gap-2"},Vt={class:"py-16 bg-gray-50 dark:bg-[#08090a] transition-colors duration-200"},qt={class:"container mx-auto px-4"},At={class:"max-w-6xl mx-auto"},It={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"},Lt={class:"aspect-video relative overflow-hidden"},St={class:"p-6"},Et={class:"mb-3"},Ht={class:"text-md font-bold uppercase tracking-wide transition-colors duration-200"},$t={class:"text-xl lg:text-2xl font-bold text-gray-900 dark:text-white mb-3 leading-tight group-hover:text-gray-700 dark:group-hover:text-gray-300 transition-colors"},Rt={class:"text-gray-600 dark:text-gray-300 text-sm leading-relaxed mb-4 transition-colors duration-200"},Ft={class:"text-center mt-12"},Yt={__name:"[slug]",async setup(Zt){var V,q,A,I,L,S,E,H;let c,x;const T=st(),f=T.params.slug,B=T.query.preview==="true",{data:j,error:K}=([c,x]=W(async()=>J(`insight-${f}`,async()=>{try{const r=B?`/api/insights/${f}?preview=true`:`/api/insights/${f}`,s=await $fetch(r);return s.success?s.data:null}catch(r){return console.error("Error fetching insight:",r),null}})),c=await c,x(),c);if(!j.value||K.value)throw ot({statusCode:404,statusMessage:"Article not found"});const e=b(()=>j.value),U=b(()=>{var d,p;return(p=(d=e.value)==null?void 0:d.meta)!=null&&p.date?new Date(e.value.meta.date)>new Date:!1}),O=(((V=rt().public)==null?void 0:V.siteUrl)||"").includes("www.respondcapture.com"),{loadInsights:Q}=it(),{data:N}=([c,x]=W(async()=>J("insights",async()=>{try{return await Q()}catch(r){return console.error("Error fetching insights:",r),[]}},{getCachedData:r=>G().payload.data[r]||G().static.data[r]})),c=await c,x(),c),X=b(()=>!N.value||!e.value?[]:N.value.filter(r=>{var s,d;return r.path!==e.value.path&&((s=r.meta)==null?void 0:s.category)===((d=e.value.meta)==null?void 0:d.category)}).slice(0,3));at({title:((q=e.value.seo)==null?void 0:q.title)||e.value.title,meta:[{name:"description",content:((A=e.value.seo)==null?void 0:A.description)||e.value.description},{property:"og:title",content:((I=e.value.seo)==null?void 0:I.title)||e.value.title},{property:"og:description",content:((L=e.value.seo)==null?void 0:L.description)||e.value.description},{property:"og:image",content:(S=e.value.meta)==null?void 0:S.image},{name:"twitter:card",content:"summary_large_image"},{name:"keywords",content:(H=(E=e.value.seo)==null?void 0:E.keywords)==null?void 0:H.join(", ")}]});const z=r=>{if(!r)return"Date not available";if(r.includes("T")){const u=new Date(r);if(isNaN(u.getTime()))return"Invalid date";const h=u.getUTCFullYear(),y=u.getUTCMonth(),v=u.getUTCDate();return new Date(Date.UTC(h,y,v)).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})}const[s,d,p]=r.split("-").map(Number);return new Date(s,d-1,p).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})};return(r,s)=>{var w,u,h,y,v,k,$,R,F;const d=P,p=tt;return a(),i("div",null,[B||!o(O)&&o(U)?(a(),i("div",lt,[t("div",dt,[t("div",ct,[s[0]||(s[0]=t("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),s[1]||(s[1]=t("span",{class:"font-semibold"},"Preview Mode:",-1)),o(U)?(a(),i("span",pt,"This post is scheduled for "+l(z((w=o(e).meta)==null?void 0:w.date))+" and is not yet visible in production.",1)):(u=o(e).meta)!=null&&u.published?(a(),i("span",mt,"You are viewing this page in preview mode.")):(a(),i("span",ut,"This is a draft post and is not yet visible in production."))])])])):g("",!0),t("section",gt,[s[5]||(s[5]=t("div",{class:"absolute inset-0 bg-gradient-to-br from-gray-900/80 via-gray-800/80 to-gray-900/80"},null,-1)),t("div",xt,[t("div",ht,[t("div",yt,[t("span",vt,l((h=o(e).meta)==null?void 0:h.category),1)]),t("h1",_t,l(o(e).title),1),t("div",ft,[t("div",wt,[s[2]||(s[2]=t("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})],-1)),m(" "+l(z((y=o(e).meta)==null?void 0:y.date)),1)]),t("div",kt,[s[3]||(s[3]=t("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),m(" "+l((v=o(e).meta)==null?void 0:v.readTime)+" min read ",1)]),t("div",bt,[s[4]||(s[4]=t("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})],-1)),m(" "+l((k=o(e).meta)==null?void 0:k.author),1)])]),t("p",Dt,l(o(e).description),1),($=o(e).meta)!=null&&$.tags&&o(e).meta.tags.length>0?(a(),i("div",Ct,[(a(!0),i(D,null,C(o(e).meta.tags,n=>(a(),i("span",{key:n,class:"inline-flex items-center text-xs py-1.5 px-3 bg-white/10 backdrop-blur-sm text-gray-100 ring-1 ring-white/20 rounded-full font-display uppercase"},l(n),1))),128))])):g("",!0)])])]),t("article",Mt,[t("div",Tt,[t("div",Bt,[t("div",jt,[(R=o(e).meta)!=null&&R.image?(a(),nt(d,{key:0,src:o(e).meta.image,alt:o(e).title,class:"rounded-lg shadow-lg w-full h-auto block mx-auto mb-6",width:"800",format:"avif,webp",quality:"85",loading:"eager",sizes:"lg:400px 4xl:640px 7xl:800px"},null,8,["src","alt"])):g("",!0),o(e).html?(a(),i("div",{key:1,innerHTML:o(e).html},null,8,Ut)):g("",!0)]),(F=o(e).meta)!=null&&F.tags&&o(e).meta.tags.length>0?(a(),i("div",Nt,[s[6]||(s[6]=t("h3",{class:"text-lg font-semibold text-gray-900 dark:text-white mb-4 transition-colors duration-200"},"Tags",-1)),t("div",zt,[(a(!0),i(D,null,C(o(e).meta.tags,n=>(a(),i("span",{key:n,class:"inline-flex items-center text-sm py-1 gap-1.5 bg-primary/10 text-emerald-600 ring ring-inset ring-primary/25 px-3 relative rounded-full font-display uppercase"},l(n),1))),128))])])):g("",!0)])])]),t("section",Vt,[t("div",qt,[t("div",At,[s[9]||(s[9]=t("h2",{class:"text-3xl font-bold text-gray-900 dark:text-white mb-8 text-center transition-colors duration-200"}," Related Articles ",-1)),t("div",It,[(a(!0),i(D,null,C(o(X),n=>{var Y,Z;return a(),i("article",{key:n.path,class:"bg-white dark:bg-[#0f1113] rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 overflow-hidden group border border-gray-200 dark:border-white/10"},[t("div",Lt,[_(d,{src:(Y=n.meta)==null?void 0:Y.image,alt:n.title,class:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",width:"400",height:"250",format:"webp",quality:"85",loading:"lazy",sizes:"sm:320px lg:400px"},null,8,["src","alt"])]),t("div",St,[t("div",Et,[t("span",Ht,l((Z=n.meta)==null?void 0:Z.category),1)]),t("h3",$t,[_
1(p,{to:n.path},{default:M(()=>[m(l(n.title),1)]),_:2},1032,["to"])]),t("p",Rt,l(n.excerpt),1),_(p,{to:n.path,class:"inline-flex items-center text-emerald-600 dark:text-emerald-400 font-semibold hover:text-emerald-700 dark:hover:text-emerald-500 transition-colors group text-lg"},{default:M(()=>s[7]||(s[7]=[m(" Read More "),t("svg",{class:"w-4 h-4 ml-1 group-hover:translate-x-1 transition-transform",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"})],-1)])),_:2,__:[7]},1032,["to"])])])}),128))]),t("div",Ft,[_(p,{to:"/insights",class:"inline-flex items-center bg-emerald-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-emerald-700 dark:hover:bg-emerald-600 transition-colors font-display"},{default:M(()=>s[8]||(s[8]=[t("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 16l-4-4m0 0l4-4m-4 4h18"})],-1),m(" Back to All Insights ")])),_:1,__:[8]})])])])])])}}},Pt=et(Yt,[["__scopeId","data-v-895bea58"]]);export{Pt 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.