1import{_ as b}from"./C2xkmGCe.js";import{d as k,s as A,w as B,e as o,t as h,h as i,o as e,f as s,v as x,F as u,z as m,g as C,x as g,q as p,A as f,B as N,G as O,O as S}from"./Dx_z7hGZ.js";import{u as R}from"./wZ7YZwLs.js";import{_ as v}from"./C7R1iZjD.js";const $={key:0,class:"search-highlights pb-8"},I={class:x("search-highlights__content grid grid-cols-2 xl:grid-cols-4 gap-x-4 gap-y-8 w-full")},V={class:"h-full"},j={class:"search-highlights__content__image overflow-hidden"},z={class:"wraped-title wraped-title--3-rows search-highlights__content__title text-white text-center group-hover:text-ecstasy transition mt-4 mb-4"},F={class:"wraped-title wraped-title--1-rows search-highlights__content__hash overflow-hidden text-center text-ecstasy"},H=k({__name:"SearchHighlights",props:{includeOnlyAdult:{default:1,type:Number}},async setup(a){let n,l;const w=a,_=R(),{articlesByRandom:c}=A(_);return[n,l]=B(()=>_.fetchArticlesByRandom({timeRange:3,limit:4,includeOnlyAdult:w.includeOnlyAdult})),await n,l(),(D,E)=>{const y=b,d=N;return i(c)&&i(c).length!==0?(e(),o("div",$,[s("div",I,[(e(!0),o(u,null,m(i(c),t=>(e(),o("div",{key:t.id,class:x("col-span-1 group")},[s("div",V,[C(d,{to:`/${t.url}`,class:""},{default:g(()=>[s("div",j,[t.baseImage?(e(),p(y,{key:0,image:t.baseImage,alt:t.title,crops:t.imageCropSet,width:386,"image-class":"object-cover group-hover:scale-110 transition duration-300 ease-in-out w-full h-full"},null,8,["image","alt","crops"])):h("",!0)]),s("div",z,f(t.title),1)]),_:2},1032,["to"]),s("div",F,[(e(!0),o(u,null,m(t.tags,r=>(e(),p(d,{key:r.slug,to:`/hashtag/${r.slug}`,class:"hover:text-white transition hashtag--item"},{default:g(()=>[O(f(r.name),1)]),_:2},1032,["to"]))),128))])])]))),128))])])):h("",!0)}}}),P=Object.assign(v(H,[["__scopeId","data-v-a6e37d01"]]),{__name:"SearchHighlights"}),L={},T={class:"fixed top-0 lef-0 w-full h-full z-50 bg-opacity-90 bg-cod-gray-600 backdrop-blur-sm pt-20"};function q(a,n){return e(),o("div",T,[s("div",null,[S(a.$slots,"content")])])}const Q=Object.assign(v(L,[["render",q]]),{__name:"Modal"});export{Q as _,P as a};
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.