1import{_ as w}from"./DDFF2FyD.js";import{u as y}from"./D92MQeL0.js";import{r as c,w as _,c as l,o,a as t,F as g,e as m,b as x,d as f,g as b,t as h,u as v}from"#entry";const k={class:"col-lg-3"},B={class:"widget position-relative z-2"},z={class:"categories-list d-flex ql-align-center flex-wrap mt-20"},C={class:"widget position-relative z-2 mt-20"},F={class:"popular-post-items d-flex flex-lg-column flex-wrap"},N={class:"popular-post-thumbnails d-flex flex-xxl-row flex-column"},V=["src"],A={class:"popular-post-content"},q={__name:"Sidebar",async setup(L){let a,i;const r=c([]),u=c([]),{useOnlyFetch:d}=y();return[a,i]=_(()=>d("/get-blog-category",{onResponse:({response:n})=>{u.value=n._data}})),await a,i(),[a,i]=_(()=>d("/get-popular-blogs",{onResponse:({response:n})=>{r.value=n._data}})),await a,i(),(n,s)=>{const p=w;return o(),l("div",k,[t("div",B,[s[0]||(s[0]=t("h5",{class:"widget-title"},"Categories",-1)),s[1]||(s[1]=t("div",{class:"line-1 mt-15"},null,-1)),t("ul",z,[(o(!0),l(g,null,m(v(u),e=>(o(),l("li",{key:e.slug},[x(p,{to:{name:"blog-category-slug",params:{slug:e.slug}},class:"border-gradient btn3"},{default:f(()=>[b(h(e.text),1)]),_:2},1032,["to"])]))),128))])]),t("div",C,[s[2]||(s[2]=t("h5",{class:"widget-title"},"Popular Post",-1)),s[3]||(s[3]=t("div",{class:"line-1 mt-15 mb-4"},null,-1)),t("div",F,[(o(!0),l(g,null,m(v(r),e=>(o(),l("div",{class:"popular-post-item",key:e.id},[t("div",N,[t("img",{src:e.featured_image,loading:"lazy",placeholder:"",width:"82",height:"82",alt:"img",class:'clip-path-2"'},null,8,V),x(p,{to:{name:"blog-detail-slug",params:{slug:e.slug}}},{default:f(()=>[t("div",A,[t("h5",null,h(e.title),1)])]),_:2},1032,["to"])])]))),128))])])])}}};export{q as _};
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.