1import{a as k,_ as D}from"./Footer.t3yf7MHz.js";import{_ as F}from"./AdsCard.BtLggd_e.js";import{S,_ as C}from"./SearchCard.CmK-CElN.js";import{_ as E}from"./CardHeader.Bd6EzVWS.js";import{_ as B}from"./Spotlight.of_KphEi.js";import{r,E as N,G as T,g as $,c as o,b as s,a as e,t as H,F as p,m as I,h as L,o as a}from"./entry.QMYstYpt.js";import{s as V}from"./spotlight.CEmwvxvs.js";import"./nuxt-link.C2wFJIAS.js";import"./logo.C0CZR7yi.js";import"./glossary.DgRMAhJv.js";import"./dateFormat.B8EODN1w.js";const j={class:"mx-auto mt-40"},q={class:"container m-auto"},A={key:0,class:"grid grid-cols-3 gap-4 w-full mb-14"},G={key:1},J={class:"flex gap-6 m-auto lg:flex-row flex-col"},M={class:"lg:w-2/3"},P={key:0,class:"mb-14"},z=e("div",{class:"text-primary justify-between font-bold border-solid border-b-[0.5px] border-primary flex items-center py-2"},[e("p",{class:"uppercase font-bold text-lg md:text-2xl font-sans"}," Resources ")],-1),K={class:"md:grid md:grid-cols-3 md:gap-4 mt-8 md:mt-4"},O={key:1,class:"uppercase font-bold text-lg md:text-2xl font-sans"},Q={class:"flex flex-col gap-4 w-full lg:w-1/3 h-full"},U={class:"my-2 lg:my-0"},W=!1,ie={__name:"index",setup(X){const i=r([]),_=r(null),u=r(""),c=r(!0),m=r(null),f=N(),h=async t=>{c.value=!0;try{if(t){const{data:l}=await L.get(`/api/get-data?datatype=resources&search=${t}`);i.value=l||[]}}catch(l){console.error("Error fetching search results: ",l)}finally{c.value=!1}};T(()=>f.query.id,t=>{t&&(u.value=t,h(t))},{immediate:!0});const g=async()=>{try{W||(_.value=getItems(V,1))}catch(t){m.value=t}finally{c.value=!1}},v=t=>{switch(t){case 1:return"articles";case 2:return"guest-contributors";case 3:return"infographics";case 4:return"landing page";case 5:return"videos";case 6:return"whitepapers"}};return $(()=>{g()}),(t,l)=>{const x=k,d=F,y=C,b=E,w=B,R=D;return a(),o(p,null,[s(x),e("div",j,[e("div",q,[s(d,{position:"center"}),c.value?(a(),o("div",A,[s(y)])):(a(),o("div",G,[e("div",null,[e("div",null,[e("span",null,' Search Results Found For "'+H(u.value)+'" under Resources',1)]),e("div",J,[e("div",M,[i.value.length?(a(),o("div",P,[z,e("div",K,[(a(!0),o(p,null,I(i.value,n=>(a(),o("div",{key:n.ID},[s(S,{data:n,EventType:v(n==null?void 0:n.ResourceType)},null,8,["data","EventType"])]))),128))])])):(a(),o("div",O," No Result Found "))]),e("div",Q,[s(b,{heading:"company spotlight"}),s(w,{data:_.value},null,8,["data"]),e("div",U,[s(d,{position:"left"})])])])])]))])]),s(R)],64)}}};export{ie as default};
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.