1import{f as g,c as a,o as t,a as o,x as m,t as c,F as y,T as H,b as i,k as L,i as B,w as f,d as A,n as p,e as x,d3 as V,B as I,l as r,a9 as S,r as k,s as U,d4 as j,E,d5 as C,C as M,D as R,H as $}from"./Spz_2MDb.js";const F={class:"font-meseoSansRounded text-[2rem] font-bold"},O={key:0,class:"mt-[.5rem] text-base capitalize"},he=g({inheritAttrs:!1,__name:"Title",props:{title:{default:""},subTitle:{default:""}},setup(u){return(s,n)=>(t(),a(y,null,[o("h3",F,c(s.title||s.$t("blog.title")),1),s.subTitle?(t(),a("p",O,c(s.subTitle),1)):m("",!0)],64))}}),q={class:"flex items-center text-sm text-gray-400"},G=g({inheritAttrs:!1,__name:"Date",props:{date:{}},setup(u){return(s,n)=>{const d=L,l=H("i18n-d");return t(),a("div",q,[i(d,{name:"i-heroicons-calendar",class:"mr-1 h-4 w-4"}),i(l,{value:new Date(s.date),format:"short"},null,8,["value"])])}}}),J=g({inheritAttrs:!1,__name:"Tag",props:{tag:{},wrapperClasses:{}},setup(u){return(s,n)=>{const d=x;return t(),B(d,{class:p(["text-primary-500 text-sm capitalize",[s.wrapperClasses,{"hover:underline":!!s.tag.url}]]),"aria-label":"blog tag",to:s.tag.url},{default:f(()=>[A(c(s.tag.label),1)]),_:1},8,["class","to"])}}}),K={class:"sr-only"},P={class:"aspect-[9/5]"},Q={key:0,class:"z-[2] flex gap-x-2"},W={class:"line-clamp-3 text-sm leading-normal lg:line-clamp-4"},X={key:0,class:"text-sm text-benv-primary-500 group-hover:underline"},Y=g({inheritAttrs:!1,__name:"Item",props:{blog:{},adaptive:{type:Boolean,default:!0}},setup(u){const s=u,n=V(),d=e=>{const _=(e==null?void 0:e.replace(/<[^>]*>/g,""))??"";return _.length>275?`${_.slice(0,275)}...`:_},l=I(()=>n.isGreaterOrEquals("sm")&&s.adaptive);return(e,_)=>{var w;const b=x,h=S,v=G,T=J,N=U;return t(),a("div",{class:p(["group relative border-gray-200",[r(l)?"flex gap-x-6 border-b pb-5":"overflow-hidden rounded-lg border"]])},[e.blog.url?(t(),B(b,{key:0,class:"absolute inset-x-0 inset-y-0 z-[1]","aria-label":"blog",to:e.blog.url},{default:f(()=>[o("span",K,c(e.blog.title),1)]),_:1},8,["to"])):m("",!0),o("div",{class:p(r(l)?"w-2/5 max-w-[280px] flex-shrink-0":"border-b border-gray-200")},[o("div",P,[i(h,{src:e.blog.image,width:360,class:p(["h-full w-full object-cover",{"overflow-hidden rounded-lg":r(l)}]),alt:e.blog.title},null,8,["src","class","alt"])])],2),o("div",{class:p({"flex-1":r(l)})},[o("div",{class:p(["flex flex-wrap items-center justify-between gap-x-1",[r(l)?"mb-2.5":"border-b border-gray-200 px-3 py-2.5 md:px-4 md:py-3"]])},[i(v,{date:e.blog.publicationDate},null,8,["date"]),(w=e.blog.tags)!=null&&w.length?(t(),a("ul",Q,[(t(!0),a(y,null,k(e.blog.tags,(z,D)=>(t(),a("li",{key:D},[i(T,{tag:z},null,8,["tag"])]))),128))])):m("",!0)],2),o("div",{class:p({"px-3 py-4 md:px-4 md:py-5":!r(l)})},[o("h3",{class:p(["mb-2.5 line-clamp-1 text-base font-bold uppercase leading-tight lg:line-clamp-2",{"group-hover:underline":!!e.blog.url}])},c(e.blog.title),3),o("div",W,[i(N,{content:e.blog.summary||d(e.blog.text)},null,8,["content"])]),e.blog.url?(t(),a("p",X,c(e.$t("text.readMore"))+".. ",1)):m("",!0)],2)],2)],2)}}}),Z={class:"mb-5 bg-gray-50 p-4 px-4 py-5 dark:divide-gray-800 dark:bg-gray-900 dark:ring-gray-800 sm:p-6"},ee={class:"mb-5 border-b border-gray-200 pb-3 text-base font-bold uppercase"},se={key:0,class:"space-y-4"},te={class:"ml-1 inline-block text-gray-400"},ae={key:1,class:"flex min-h-[inherit] items-center justify-center"},oe=g({inheritAttrs:!1,__name:"Menu",setup(u){const{pending:s,categories:n,loaded:d}=j();return(l,e)=>{const _=x,b=E;return t(),a("div",Z,[o("h3",ee,c(l.$t("blog.themes")),1),i(b,{show:r(s),class:"min-h-[40vh]"},{default:f(()=>[r(n).length?(t(),a("ul",se,[(t(!0),a(y,null,k(r(n),(h,v)=>(t(),a("li",{key:v,class:"text-sm leading-normal"},[i(_,{"aria-label":"blog category",to:h.url,class:p([{"hover:underline":!!h.url},"capitalize"]),"exact-active-class":"underline text-primary-500"},{default:f(()=>[A(c(h.name),1)]),_:2},1032,["to","class"]),o("span",te," ("+c(h.count)+") ",1)]))),128))])):r(d)?(t(),a("div",ae,c(l.$t("blog.noThemes")),1)):m("",!0)]),_:1},8,["show"])])}}}),le={key:0},ne={class:"mb-3 font-bold uppercase"},re={class:"max-h-[80vh] space-y-5 overflow-y-auto"},ie=g({inheritAttrs:!1,__name:"Highlight",setup(u){const{blogs:s}=C();return(n,d)=>{const l=Y;return r(s).length?(t(),a("div",le,[o("h3",ne,c(n.$t("blog.highlight")),1),o("ul",re,[(t(!0),a(y,null,k(r(s),e=>(t(),a("li",{key:e.id},[i(l,{blog:e,adaptive:!1},null,8,["blog"])]))),128))])])):m("",!0)}}}),ce={class:"w-full"},de={class:"mb-5 border-b border-gray-200 pb-2.5 md:mb-8"},pe={class:"grid gap-y-6 md:grid-cols-5 md:gap-x-6 lg:grid-cols-3 lg:gap-x-10"},_e={class:"md:col-span-3 lg:col-span-2"},ue={class:"md:col-span-2 lg:col-span-1"},me={key:0,class:"mt-5"},be=g({inheritAttrs:!1,__name:"Layout",setup(u){const{blogs:s}=C();return(n,d)=>{const l=R,e=oe,_=ie,b=M;return t(),a("div",ce,[i(b,{class:"py-5"},{default:f(()=>[i(l,{class:"mb-4"}),o("div",de,[$(n.$slots,"title")]),o("div",pe,[o("div",_e,[$(n.$slots,"default")]),o("div",ue,[$(n.$slots,"side",{},()=>[i(e),r(s).length?(t(),a("div",me,[i(_)])):m("",!0)])])])]),_:3})])}}});
1export{be as _,he as a,Y as b,G as c,J as d};
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.