<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{_ as x}from"./CFZ_Pv9U.js";import{_ as k}from"./WiiM0ZeV.js";import{_ as i}from"./KT04qap8.js";import{_ as C}from"./BYhwHufv.js";import{_ as l}from"./DuYMAYFG.js";import{Q as R}from"./CqxB2d_1.js";import{k as E,l as $,R as s,O as e,L as u,a0 as d,U as t,N as S,a7 as B,X as m,u as N}from"./D1O54JYS.js";const A={class:"flex flex-row border-b border-black items-center gap-2 pb-2"},D={class:"font-body font-bold uppercase"},L={class:"flex flex-col font-body mt-4 mb-5"},O=["onClick"],X=E({__name:"SearchResults",props:{results:{}},emits:["closeSearch"],setup(v,{emit:p}){const _=R(),f=p,h={eventCategories:"Event Categories",venues:"Venues",activeEvents:"Active Events",pastEvents:"Past events",news:"News",customerReviews:"Customer Reviews",ourReviews:"Our Reviews"},b={eventCategories:x,venues:k,activeEvents:i,pastEvents:i,news:C,customerReviews:l,ourReviews:l},c=v,w=$(()=&gt;{const{head:o,reviews:y,...r}=c.results;return{...r,...c.results.reviews}}),g=o=&gt;{f("closeSearch"),_.push({path:o})};return(o,y)=&gt;(e(),s("div",null,[(e(!0),s(u,null,d(N(w),(r,a)=&gt;(e(),s("div",{key:a},[t("div",A,[(e(),S(B(b[a]),{class:"w-5"})),t("h3",D,m(h[a]),1)]),t("ul",L,[(e(!0),s(u,null,d(r,n=&gt;(e(),s("li",{key:n.path,class:"flex bg-gray-100 border-b last-of-type:border-b-0 border-dashed border-gray-200 first:rounded-t last:rounded-b [&amp;&gt;*]:first:hover:rounded-t [&amp;&gt;*]:last:hover:rounded-b"},[t("button",{class:"w-full h-full text-red-500 text-left hover:text-black hover:bg-gray-400 transition-colors duration-300 ease-in-out py-2 px-3",onClick:T=&gt;g(n.path)},m(n.displayName),9,O)]))),128))])]))),128))]))}});export{X as default};
</pre></body></html>