import{h as s}from"./p-BNpVu1WU.js";function e(e){let a=e.results||e,r=e.linkTarget||"_blank";return s("div",{class:"results"},s("ul",{role:"list",class:"cta-search-results"},null==a?void 0:a.map((e=>{var a,t;return s("li",{key:e.title,class:"cta-search-results-list"},s("div",{class:"px-4 sm:px-6 lg:px-8"},s("div",{class:"cta-search-container"},s("div",{class:"cta-search-container-two"},s("div",{class:"results-icon"},s("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},s("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5"}))),s("div",{class:"cta-search-container-three"},s("p",{class:"cta-search-text"},s("a",{href:null!==(a=e.link)&&void 0!==a?a:e.url,target:r},s("span",{class:"cta-search-text-position"}),e.title)),s("p",{class:"cta-search-description"},s("a",{href:null!==(t=e.link)&&void 0!==t?t:e.url,class:"relative truncate hover:underline",target:r},e.description)))),s("div",{class:"cta-search-list-arrow"},s("svg",{class:"h-5 w-5 flex-none text-gray-400",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},s("path",{"fill-rule":"evenodd",d:"M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z","clip-rule":"evenodd"}))))))}))))}export{e as S}