1import{j as t,L as i,d}from"./index-DJbdnyqk.js";const o={cultivation:{from:"#2A3A1F",to:"#0E140A",ink:"#D7E2BD"},quality:{from:"#2B2B30",to:"#0B0B10",ink:"#E2E2E5"},terpenes:{from:"#3A2B12",to:"#150D04",ink:"#F0CE94"},cultivars:{from:"#3A1E33",to:"#15080F",ink:"#E9C8DE"},collections:{from:"#1F2E3A",to:"#080F15",ink:"#BDD0E2"},facilities:{from:"#2E2E2E",to:"#0B0B0B",ink:"#D6D6D6"},events:{from:"#3A1F1B",to:"#150807",ink:"#E8C2BB"},"market-notes":{from:"#2C2C1C",to:"#0E0E07",ink:"#DCD9B5"},"founder-perspective":{from:"#251638",to:"#0B0613",ink:"#D2BDE6"},default:{from:"#1F1F23",to:"#08080F",ink:"#C9CACC"}};function c({category:e,className:r=""}){const n=(e??"default").toLowerCase(),a=o[n]??o.default,s=e??"Insight",l=`radial-gradient(120% 80% at 20% 15%, ${a.from}D9 0%, transparent 60%), 2 radial-gradient(120% 80% at 85% 90%, ${a.from}A8 0%, transparent 55%), 3 linear-gradient(135deg, ${a.from} 0%, ${a.to} 100%)`;return t.jsxs("div",{className:`relative flex items-end overflow-hidden ${r}`,style:{background:l},"aria-hidden":!0,children:[t.jsx("div",{className:"pointer-events-none absolute inset-0 opacity-[0.08]",style:{backgroundImage:`repeating-linear-gradient(45deg, ${a.ink} 0 1px, transparent 1px 14px)`}}),t.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(120% 80% at 50% 110%, rgba(0,0,0,0.45) 0%, transparent 60%)"}}),t.jsx("span",{className:"relative z-10 m-6 font-display text-[11px] font-semibold uppercase tracking-[0.24em] lg:m-8",style:{color:a.ink},children:s})]})}const m={draft:"Draft",internal_draft:"Internal draft",ready_when_approved:"Ready when approved",archived:"Archived"};function u({article:e}){const r=e.publishedAt?new Date(e.publishedAt).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"}):null,n=e.status!=="published"?m[e.status]:null;return t.jsxs(i,{to:"/blog/$handle",params:{handle:e.handle},className:"pf-focus group block border border-[var(--color-border,#C9CACC)] bg-[var(--color-card,#FFFFFF)] transition-colors duration-200 ease-out hover:border-[var(--color-text-primary,#08080F)]",children:[e.image?t.jsx("div",{className:"aspect-[4/3] w-full overflow-hidden bg-[var(--color-surface-secondary,#E4E5E4)]",children:t.jsx("img",{src:e.image.url,alt:e.image.altText??e.title,className:`h-full w-full object-cover${e.handle==="meet-felix-grammatikopoulos"?" object-[61%_center]":""}`,loading:"lazy"})}):t.jsx(c,{category:e.category?.name??null,className:"aspect-[4/3] w-full"}),t.jsxs("div",{className:"flex flex-col gap-3 p-6 lg:p-8",children:[t.jsxs("div",{className:"flex items-center justify-between text-[11px] font-semibold uppercase tracking-[0.18em] text-[var(--color-text-muted,#5B5B60)]",children:[t.jsx("span",{children:e.category?.name??"Insight"}),r&&t.jsx("time",{dateTime:e.publishedAt,children:r})]}),t.jsx("h3",{className:"font-display text-[22px] leading-tight tracking-[-0.01em] text-[var(--color-text-primary,#08080F)] group-hover:opacity-90 lg:text-[24px]",children:e.title}),(()=>{const a=d(e.summary);return a?t.jsx("p",{className:"text-[14px] leading-[22px] text-[var(--color-text-secondary,#34343A)]",children:a.length>160?`${a.slice(0,157)}â¦`:a}):null})(),n&&t.jsx("span",{className:"mt-1 inline-flex w-fit border border-[var(--color-border,#C9CACC)] px-2 py-1 text-[10px] font-semibold uppercase tracking-[0.18em] text-[var(--color-text-muted,#5B5B60)]",children:n})]})]})}export{c as C,u as I};
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.