1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85721,e=>{"use strict";var t=e.i(43476),a=e.i(71645),l=e.i(22016);let s={"New York":"bg-blue-100 text-blue-700",California:"bg-yellow-100 text-yellow-700",Illinois:"bg-purple-100 text-purple-700",Louisiana:"bg-red-100 text-red-700",Georgia:"bg-green-100 text-green-700","New Jersey":"bg-emerald-100 text-emerald-700",Washington:"bg-teal-100 text-teal-700",Nevada:"bg-rose-100 text-rose-700",Texas:"bg-amber-100 text-amber-700",Ohio:"bg-sky-100 text-sky-700",Pennsylvania:"bg-violet-100 text-violet-700",Florida:"bg-lime-100 text-lime-700",Colorado:"bg-cyan-100 text-cyan-700",Wisconsin:"bg-fuchsia-100 text-fuchsia-700",Missouri:"bg-stone-100 text-stone-700",Arizona:"bg-orange-100 text-orange-700",Michigan:"bg-blue-100 text-blue-700",Alabama:"bg-red-100 text-red-700",Tennessee:"bg-orange-100 text-orange-700","South Carolina":"bg-yellow-100 text-yellow-700","North Carolina":"bg-sky-100 text-sky-700",Marketplace:"bg-orange-100 text-orange-700",Nexus:"bg-indigo-100 text-indigo-700","Case Study":"bg-pink-100 text-pink-700",Policy:"bg-gray-100 text-gray-600",Macro:"bg-gray-100 text-gray-600",VDA:"bg-emerald-100 text-emerald-700",General:"bg-slate-100 text-slate-600",Uncategorized:"bg-slate-100 text-slate-600"};function r({tag:e}){let a=s[e]??"bg-[#059D0C]/10 text-[#059D0C]";return(0,t.jsx)("span",{className:`inline-block text-xs font-bold px-2.5 py-0.5 rounded uppercase tracking-wider ${a}`,children:e})}let i=new Set(["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]),n=["General","Nexus","VDA","Case Study","Marketplace","Policy"];e.s(["default",0,function({articles:e}){let[o,c]=(0,a.useState)(""),[x,d]=(0,a.useState)(null),[g,m]=(0,a.useState)(null),[h,b]=(0,a.useState)(1),u=Array.from(new Set(e.map(e=>e.tag).filter(e=>i.has(e)))).sort(),p=n.filter(t=>e.some(e=>e.tag===t));function y(e){e(),b(1)}let f=o.trim().toLowerCase(),j=""!==f||null!==x||null!==g,N=e.filter(e=>{let t=null===x||e.tag===x,a=null===g||e.tag===g,l=""===f||e.title.toLowerCase().includes(f)||e.tag.toLowerCase().includes(f);return t&&a&&l}),C=e.slice(0,6),v=e.slice(6),w=Math.ceil(v.length/24),k=v.slice((h-1)*24,24*h);function D(e){b(e),document.getElementById("all-articles")?.scrollIntoView({behavior:"smooth",block:"start"})}function $({label:e,active:a,onClick:l,tag:r}){let i=r?s[r]??"bg-[#059D0C]/10 text-[#059D0C]":"";return(0,t.jsx)("button",{onClick:l,className:`text-xs font-bold px-3 py-1 rounded-full border transition-colors ${a?r?`ring-2 ring-[#059D0C] ${i}`:"bg-[#059D0C] text-white border-[#059D0C]":r?`${i} border-transparent hover:ring-1 hover:ring-[#059D0C]`:"bg-white text-gray-500 border-gray-200 hover:border-[#059D0C]"}`,children:e})}function A({article:e,compact:a=!1}){let s=`/resources/blog/${e.year}/${e.month}/${e.slug}`;return a?(0,t.jsxs)(l.default,{href:s,className:"bg-white rounded-lg p-5 hover:shadow-md border border-gray-100 hover:border-[#059D0C] transition-all group flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsx)(r,{tag:e.tag}),(0,t.jsx)("span",{className:"text-gray-400 text-xs flex-shrink-0",children:e.date})]}),(0,t.jsx)("h3",{className:"font-semibold text-[#343434] text-sm leading-snug group-hover:text-[#059D0C] transition-colors",children:e.title}),e.excerpt&&(0,t.jsx)("p",{className:"text-gray-500 text-xs leading-relaxed line-clamp-2 mt-1",children:e.excerpt}),(0,t.jsx)("span",{className:"text-[#059D0C] text-xs font-semibold mt-auto",children:"Read â"})]}):(0,t.jsxs)(l.default,{href:s,className:"bg-[#F7F7F7] rounded-xl p-6 hover:shadow-md border border-gray-100 hover:border-[#059D0C] transition-all group flex flex-col",children:[(0,t.jsx)(r,{tag:e.tag}),(0,t.jsx)("h3",{className:"font-bold text-[#343434] mt-3 mb-2 leading-snug group-hover:text-[#059D0C] transition-colors flex-1",children:e.title}),e.excerpt&&(0,t.jsx)("p",{className:"text-gray-500 text-xs leading-relaxed line-clamp-2 mt-1",children:e.excerpt}),(0,t.jsx)("p",{className:"text-gray-500 text-xs mt-3",children:e.date})]})}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"bg-white pt-10 pb-4",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-6 max-w-md relative",children:[(0,t.jsx)("input",{type:"text",value:o,onChange:e=>{c(e.target.value),b(1)},placeholder:"Search articlesâ¦",className:"w-full border border-gray-200 rounded-lg px-4 py-2 text-sm text-gray-700 focus:outline-none focus:border-[#059D0C] pr-8"}),o&&(0,t.jsx)("button",{onClick:()=>c(""),className:"absolute right-3 text-gray-400 hover:text-gray-600 text-lg leading-none","aria-label":"Clear search",children:"Ã"})]}),(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("span",{className:"text-xs font-bold uppercase tracking-widest text-gray-400 mr-3",children:"State:"}),(0,t.jsxs)("span",{className:"inline-flex flex-wrap gap-2",children:[(0,t.jsx)($,{label:"All States",active:null===x,onClick:()=>y(()=>d(null))}),u.map(e=>(0,t.jsx)($,{label:e,active:x===e,onClick:()=>y(()=>d(x===e?null:e)),tag:e},e))]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"text-xs font-bold uppercase tracking-widest text-gray-400 mr-3",children:"Topic:"}),(0,t.jsxs)("span",{className:"inline-flex flex-wrap gap-2",children:[(0,t.jsx)($,{label:"All Topics",active:null===g,onClick:()=>y(()=>m(null))}),p.map(e=>(0,t.jsx)($,{label:e,active:g===e,onClick:()=>y(()=>m(g===e?null:e)),tag:e},e))]})]})]})}),j?(0,t.jsx)("section",{className:"bg-white py-10",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("h2",{className:"text-2xl font-bold text-[#343434] mb-8",children:[N.length," article",1!==N.length?"s":""," found"]}
1),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:N.map(e=>(0,t.jsx)(A,{article:e,compact:!0},`${e.year}/${e.month}/${e.slug}`))}),0===N.length&&(0,t.jsx)("p",{className:"text-gray-400 text-sm",children:"No articles found. Try clearing a filter."})]})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"bg-white py-10",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-[#343434] mb-8",children:"Latest Articles"}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:C.map(e=>(0,t.jsx)(A,{article:e},`${e.year}/${e.month}/${e.slug}`))})]})}),v.length>0&&(0,t.jsx)("section",{id:"all-articles",className:"bg-[#F7F7F7] py-10",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-8",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-[#343434]",children:"All Articles"}),(0,t.jsxs)("span",{className:"text-sm text-gray-400",children:[v.length," articles · Page ",h," of ",w]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:k.map(e=>(0,t.jsx)(A,{article:e,compact:!0},`${e.year}/${e.month}/${e.slug}`))}),w>1&&(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-12",children:[(0,t.jsx)("button",{onClick:()=>D(h-1),disabled:1===h,className:"px-4 py-2 rounded-lg border border-gray-200 text-sm font-medium text-gray-600 hover:border-[#059D0C] hover:text-[#059D0C] disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:"â Prev"}),Array.from({length:w},(e,t)=>t+1).filter(e=>1===e||e===w||2>=Math.abs(e-h)).reduce((e,t,a,l)=>(a>0&&t-l[a-1]>1&&e.push("..."),e.push(t),e),[]).map((e,a)=>"..."===e?(0,t.jsx)("span",{className:"px-2 text-gray-400 text-sm",children:"â¦"},`ellipsis-${a}`):(0,t.jsx)("button",{onClick:()=>D(e),className:`w-9 h-9 rounded-lg text-sm font-medium transition-colors ${e===h?"bg-[#059D0C] text-white":"border border-gray-200 text-gray-600 hover:border-[#059D0C] hover:text-[#059D0C]"}`,children:e},e)),(0,t.jsx)("button",{onClick:()=>D(h+1),disabled:h===w,className:"px-4 py-2 rounded-lg border border-gray-200 text-sm font-medium text-gray-600 hover:border-[#059D0C] hover:text-[#059D0C] disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:"Next â"})]})]})})]})]})}],85721)}]);
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.