PageSourceSearch

https://www.kleon.space/_next/static/chunks/app/%5Blocale%5D/blog/page-4c6144515af57800.js

js kleon.space collected 2026-10-09 01:21:45 UTC 20,509 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[454],{318:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},383:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},1245:(e,t,s)=>{"use strict";s.d(t,{BlogGrid:()=>x});var r=s(5155),a=s(6948),l=s(1647),i=s(3998),n=s(6983),o=s(383),c=s(2987),d=s(2619),m=s.n(d),u=s(8955);function x(e){let{posts:t}=e,s=(0,u.c3)("blog");return 0===t.length?(0,r.jsx)("div",{className:"text-center py-12",children:(0,r.jsx)("p",{className:"text-muted-foreground text-lg",children:s("noPosts")})}):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:t.map(e=>(0,r.jsxs)(a.Zp,{className:"group hover:shadow-md transition-all duration-300 border-border/50 flex flex-col h-full",children:[(0,r.jsxs)(a.aR,{className:"pb-3 space-y-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)(l.E,{variant:"secondary",className:"text-xs font-medium px-2.5 py-0.5",children:e.frontMatter.category}),(0,r.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,r.jsx)(n.A,{className:"w-3.5 h-3.5 mr-1.5"}),e.frontMatter.readTime]})]}),(0,r.jsx)("h3",{className:"font-semibold text-xl leading-tight group-hover:text-primary transition-colors line-clamp-2",children:e.frontMatter.title})]}),(0,r.jsxs)(a.Wu,{className:"pt-0 flex flex-col flex-grow",children:[(0,r.jsx)("p",{className:"text-muted-foreground text-sm mb-5 line-clamp-3",children:e.frontMatter.description}),(0,r.jsxs)("div",{className:"mt-auto space-y-4",children:[e.frontMatter.tags&&e.frontMatter.tags.length>0&&(0,r.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[e.frontMatter.tags.slice(0,3).map(e=>(0,r.jsx)(l.E,{variant:"outline",className:"text-xs px-2.5 py-0.5 bg-background/50",children:e},e)),e.frontMatter.tags.length>3&&(0,r.jsxs)(l.E,{variant:"outline",className:"text-xs px-2.5 py-0.5 bg-background/50",children:["+",e.frontMatter.tags.length-3]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/30",children:[(0,r.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,r.jsx)(o.A,{className:"w-3.5 h-3.5 mr-1.5"}),new Date(e.frontMatter.date).toLocaleDateString("zh-CN")]}),(0,r.jsx)(i.$,{asChild:!0,variant:"ghost",size:"sm",className:"h-8 px-3 -mr-2 hover:bg-background/80",children:(0,r.jsxs)(m(),{href:"/blog/".concat(e.slug),className:"flex items-center",children:[s("readMore"),(0,r.jsx)(c.A,{className:"w-3.5 h-3.5 ml-1.5"})]})})]})]})]})]},e.slug))})}},1524:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},1647:(e,t,s)=>{"use strict";s.d(t,{E:()=>o});var r=s(5155);s(2115);var a=s(2467),l=s(3101),i=s(4269);let n=(0,l.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:s,asChild:l=!1,...o}=e,c=l?a.DX:"span";return(0,r.jsx)(c,{"data-slot":"badge",className:(0,i.cn)(n({variant:s}),t),...o})}},1847:(e,t,s)=>{"use strict";s.d(t,{A:()=>
1o});var r=s(2115);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},l=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,r.forwardRef)((e,t)=>{let{color:s="currentColor",size:a=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:m,...u}=e;return(0,r.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:s,strokeWidth:o?24*Number(n)/Number(a):n,className:l("lucide",c),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...m.map(e=>{let[t,s]=e;return(0,r.createElement)(t,s)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let s=(0,r.forwardRef)((s,i)=>{let{className:o,...c}=s;return(0,r.createElement)(n,{ref:i,iconNode:t,className:l("lucide-".concat(a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...c})});return s.displayName=a(e),s}},2987:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},3101:(e,t,s)=>{"use strict";s.d(t,{F:()=>i});var r=s(2821);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=r.$,i=(e,t)=>s=>{var r;if((null==t?void 0:t.variants)==null)return l(e,null==s?void 0:s.class,null==s?void 0:s.className);let{variants:i,defaultVariants:n}=t,o=Object.keys(i).map(e=>{let t=null==s?void 0:s[e],r=null==n?void 0:n[e];if(null===t)return null;let l=a(t)||a(r);return i[e][l]}),c=s&&Object.entries(s).reduce((e,t)=>{let[s,r]=t;return void 0===r||(e[s]=r),e},{});return l(e,o,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:s,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,s]=e;return Array.isArray(s)?s.includes({...n,...c}[t]):({...n,...c})[t]===s})?[...e,s,r]:e},[]),null==s?void 0:s.class,null==s?void 0:s.className)}},3998:(e,t,s)=>{"use strict";s.d(t,{$:()=>o});var r=s(5155);s(2115);var a=s(2467),l=s(3101),i=s(4269);let n=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:t,variant:s,size:l,asChild:o=!1,...c}=e,d=o?a.DX:"button";return(0,r.jsx)(d,{"data-slot":"button",className:(0,i.cn)(n({variant:s,size:l,className:t})),...c})}},4104:(e,t,s)=>{Promise.resolve().then(s.bind(s,1245)),Promise.resolve().then(s.bind(s,8120)),Promise.resolve().then(s.bind(s,5695)),Promise.resolve().then(s.bind(s,8700))},4269:(e,t,s)=>{"use strict";s.d(t,{cn:()=>l});var r=s(2821),a=s(5889);function l(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,a.QP)((0,r.$)(t))}},5695:(e,t,s)=>{"use strict";s.d(t,{FeaturedPosts:()=>h});var r=s(5155),a=s(6948),l=s(1647),i=s(3998);let n=(0,s(1847).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);var o=s(6983),c=s(383),d=s(2987),m=s(2619),u=s.n(m),x=s(8955);function h(e){let{posts:t}=e,s=(0,x.c3)("blog");return 0===t.length?null:(0,r.jsxs)("section",{children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(n,{className:"w-5 h-5 text-amber-500"}),(0,r.jsx)("h2",{className:"text-2xl font-bold",children:s("featuredPosts")})]}),(0,r.jsxs)(l.E,{variant:"secondary",className:"px-3 py-1",children:[(0,r.jsx)(n,{className:"w-3.5 h-3.5 mr-1.5 text-yellow-500"}),"精选"]})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:t.slice(0,2).map((e,t)=>(0,r.jsxs)(a.Zp,{className:"group hover:shadow-lg transition-all duration-300 border-border/50 flex flex-col h-full overflow-hidden",children:[(0,r.jsxs)(a.aR,{className:"pb-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)(l.E,{variant:"default",className:"text-xs font-medium bg-amber-100 text-amber-800 border-amber-200",children:[(0,r.jsx)(n,{className:"w-3 h-3 mr-1"}),s("featured")]}),(0,r.jsx)(l.E,{variant:"secondary",className:"text-xs font-medium",children:e.frontMatter.category})]}),(0,r.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,r.jsx)(o.A,{className:"w-3.5 h-3.5 mr-1.5"}),e.frontMatter.readTime]})]}),(0,r.jsx)("h3",{className:"text-xl font-bold leading-tight group-hover:text-primary transition-colors",children:(0,r.jsx)(u(),{href:"/blog/".concat(e.slug),className:"hover:underline",children:e.frontMatter.title})})]}),(0,r.jsxs)(a.Wu,{className:"pt-0 flex flex-col flex-grow",children:[(0,r.jsx)("p",{className:"text-muted-foreground mb-6 text-sm line-clamp-3",children:e.frontMatter.description}),(0,r.jsxs)("div",{className:"mt-auto space-y-4",children:[e.frontMatter.tags&&e.frontMatter.tags.length>0&&(0,r.jsxs)("div",{className:"flex flex-wrap gap-2",children:[e.frontMatter.tags.slice(0,4).map(e=>(0,r.jsx)(l.E,{variant:"outline",className:"text-xs px-2.5 py-0.5 bg-background/50",children:e},e)),e.frontMatter.tags.length>4&&(0,r.jsxs)(l.E,{variant:"outline",className:"text-xs px-2.5 py-0.5 bg-background/50",children:["+",e.frontMatter.tags.length-4]})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/30",children:[(0,r.jsxs)("div",{className:"flex items-center text-sm text-muted-foreground",children:[(0,r.jsx)(c.A,{className:"w-4 h-4 mr-1.5"}),new Date(e.frontMatter.date).toLocaleDateString("zh-CN")]}),(0,r.jsx)(i.$,{asChild:!0,variant:"default",size:"sm",className:"h-9",children:(0,r.jsxs)(u(),{href:"/blog/".concat(e.slug),className:"flex items-center",children:[s("readMore"),
1(0,r.jsx)(d.A,{className:"w-4 h-4 ml-1.5"})]})})]})]})]})]},e.slug))}),t.length>2&&(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:t.slice(2,5).map(e=>(0,r.jsxs)(a.Zp,{className:"group hover:shadow-md transition-all duration-200 border-border/50",children:[(0,r.jsxs)(a.aR,{className:"pb-3",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,r.jsxs)(l.E,{variant:"outline",className:"text-xs font-medium border-amber-200 text-amber-700",children:[(0,r.jsx)(n,{className:"w-3 h-3 mr-1"}),s("featured")]}),(0,r.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,r.jsx)(o.A,{className:"w-3 h-3 mr-1"}),e.frontMatter.readTime]})]}),(0,r.jsx)("h4",{className:"font-semibold text-base leading-tight group-hover:text-primary transition-colors",children:e.frontMatter.title})]}),(0,r.jsxs)(a.Wu,{className:"pt-0",children:[(0,r.jsx)("p",{className:"text-muted-foreground text-sm mb-4 line-clamp-2",children:e.frontMatter.description}),(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,r.jsx)(c.A,{className:"w-3 h-3 mr-1"}),new Date(e.frontMatter.date).toLocaleDateString("zh-CN")]}),(0,r.jsx)(i.$,{asChild:!0,variant:"ghost",size:"sm",className:"h-8 px-2",children:(0,r.jsxs)(u(),{href:"/blog/".concat(e.slug),className:"flex items-center",children:[s("readMore"),(0,r.jsx)(d.A,{className:"w-3 h-3 ml-1"})]})})]})]})]},e.slug))})]})}},6948:(e,t,s)=>{"use strict";s.d(t,{BT:()=>o,Wu:()=>c,ZB:()=>n,Zp:()=>l,aR:()=>i});var r=s(5155);s(2115);var a=s(4269);function l(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card",className:(0,a.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...s})}function i(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...s})}function n(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("leading-none font-semibold",t),...s})}function o(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-muted-foreground text-sm",t),...s})}function c(e){let{className:t,...s}=e;return(0,r.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-6",t),...s})}},6983:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},7666:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},8120:(e,t,s)=>{"use strict";s.d(t,{CategoryFilter:()=>c});var r=s(5155),a=s(2115),l=s(3998),i=s(1647),n=s(8955);let o=(0,s(1847).A)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);function c(e){let{categories:t,onCategoryChange:s}=e,[c,d]=(0,a.useState)(null),m=(0,n.c3)("blog"),u=e=>{d(e),null==s||s(e)};return(0,r.jsxs)("div",{className:"mb-10 space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(o,{className:"w-4 h-4 text-muted-foreground"}),(0,r.jsx)("h3",{className:"font-medium text-sm text-muted-foreground",children:m("filterByCategory")})]}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,r.jsx)(l.$,{variant:null===c?"default":"outline",size:"sm",onClick:()=>u(null),className:"h-9 px-4 rounded-full font-medium transition-all duration-300",children:m("allCategories")}),t.map(e=>{let t=c===e;return(0,r.jsxs)(l.$,{variant:t?"default":"outline",size:"sm",onClick:()=>
1u(e),className:"h-9 px-4 rounded-full font-medium transition-all duration-300",children:[e,(0,r.jsx)(i.E,{variant:"secondary",className:"ml-2 text-xs"})]},e)})]})]})}},8700:(e,t,s)=>{"use strict";s.d(t,{TopicClusterWrapper:()=>v});var r=s(5155),a=s(8955),l=s(2115),i=s(2619),n=s.n(i),o=s(6948),c=s(1647),d=s(3998),m=s(2987),u=s(7666);let x=(0,s(1847).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);var h=s(1524),g=s(318);function p(e){let{clusters:t}=e,s=(0,a.c3)("blog");return(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsxs)("div",{className:"text-center space-y-4",children:[(0,r.jsx)("h2",{className:"text-3xl font-bold",children:s("topics.title")}),(0,r.jsx)("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:s("topics.subtitle")})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:t.map(e=>(0,r.jsx)(f,{cluster:e},e.id))})]})}function f(e){let{cluster:t}=e,s=(0,a.c3)("blog");return(0,r.jsxs)(o.Zp,{className:"group hover:shadow-lg transition-all duration-300 border-border/50 h-full",children:[(0,r.jsxs)(o.aR,{className:"pb-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,r.jsx)("div",{className:"p-2 rounded-lg ".concat(t.color),children:t.icon}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h3",{className:"text-xl font-bold group-hover:text-primary transition-colors",children:t.title}),(0,r.jsxs)(c.E,{variant:"secondary",className:"text-xs mt-1",children:[t.posts.length," ",s("topics.articles")]})]})]}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm leading-relaxed h-12 line-clamp-3",children:t.description})]}),(0,r.jsxs)(o.Wu,{className:"pt-0 space-y-4",children:[(0,r.jsx)("div",{className:"space-y-3",children:t.posts.slice(0,3).map(e=>(0,r.jsxs)(n(),{href:"/blog/".concat(e.slug),className:"block p-3 rounded-lg border border-border/50 hover:border-border hover:bg-muted/50 transition-all duration-200",children:[(0,r.jsx)("h4",{className:"font-medium text-sm line-clamp-2 mb-1",children:e.frontMatter.title}),(0,r.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,r.jsx)("span",{children:new Date(e.frontMatter.date).toLocaleDateString()}),e.frontMatter.readTime&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"mx-1",children:"\xb7"}),(0,r.jsx)("span",{children:e.frontMatter.readTime})]})]})]},e.slug))}),t.posts.length>3&&(0,r.jsx)(d.$,{asChild:!0,variant:"outline",size:"sm",className:"w-full",children:(0,r.jsxs)(n(),{href:"/blog?category=".concat(encodeURIComponent(t.title)),className:"flex items-center justify-center",children:[s("topics.viewAll")," ",t.posts.length," ",s("topics.articles"),(0,r.jsx)(m.A,{className:"w-4 h-4 ml-1"})]})})]})]})}function v(e){let{posts:t}=e,s=function(e,t){let s=[{id:"ai-tools",title:t("topics.aiTools.title"),description:t("topics.aiTools.description"),icon:l.createElement(u.A,{className:"w-5 h-5 text-white"}),posts:[],color:"bg-blue-500"},{id:"business-analysis",title:t("topics.businessAnalysis.title"),description:t("topics.businessAnalysis.description"),icon:l.createElement(x,{className:"w-5 h-5 text-white"}),posts:[],color:"bg-orange-500"},{id:"validation",title:t("topics.validation.title"),description:t("topics.validation.description"),icon:l.createElement(h.A,{className:"w-5 h-5 text-white"}),posts:[],color:"bg-green-500"},{id:"journey",title:t("topics.journey.title"),description:t("topics.journey.description"),icon:l.createElement(g.A,{className:"w-5 h-5 text-white"}),posts:[],color:"bg-purple-500"}];return e.forEach(e=>{if(e.frontMatter.topic){let t={"ai-tools":0,"business-analysis":1,validation:2,journey:3}[e.frontMatter.topic];void 0!==t?s[t].posts.push(e):s[0].posts.push(e)}else s[0].posts.push(e)}),s.forEach(e=>{e.posts.sort((e,t)=>new Date(t.frontMatter.date).getTime()-new Date(e.frontMatter.date).getTime())}),s.filter(e=>e.posts.length>0)}(t,(0,a.c3)("blog"));
1return(0,r.jsx)(p,{clusters:s})}},8955:(e,t,s)=>{"use strict";s.d(t,{c3:()=>l});var r=s(6328);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let l=a(0,r.c3);a(0,r.kc)}},e=>{e.O(0,[328,239,619,441,493,358],()=>e(e.s=4104)),_N_E=e.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.