1import{r as x,j as e,L as p}from"./chunk-D4RADZKF-Bmzts4UG.js";import{F as m,a as h}from"./index-DL796XJr.js";import{I as u}from"./index-4s5XvC-C.js";import"./iconBase-CxdDAOtS.js";import"./getBlobUrl-s4uC1bHh.js";import"./env-Dpl0mujS.js";const N=({tw_title:a,items:s,_id:o,offset:n})=>{const[d,r]=x.useState(!1),i=n??6;return e.jsx("section",{className:"relative",id:o.toString(),"data-oid":"s0bid0r",children:e.jsxs("div",{className:"relative mx-auto grid gap-[60px] px-6 py-24","data-oid":"zze:y79",children:[e.jsx("div",{className:"mx-auto text-center","data-oid":"39-f9q:",children:e.jsx("h2",{className:"h2","data-oid":"0n0ce_2",children:a})}),e.jsxs("div",{className:"mx-auto grid max-w-[312px] items-stretch gap-[60px] md:max-w-[768px] md:grid-cols-2 md:gap-x-[24px] lg:max-w-[1024px] lg:grid-cols-3 lg:gap-x-[60px]","data-oid":"1f4.sis",children:[s.slice(0,i).map(t=>e.jsx(c,{item:t,"data-oid":"vh-qsa6"},t.heading)),d&&s.slice(i).map(t=>e.jsx(c,{item:t,"data-oid":"6l9uymq"},t.heading))]}),s.length>i&&e.jsx("div",{className:"mx-auto inline-flex h-12 items-center justify-center gap-1.5 rounded-md px-[18px]","data-oid":"x1k-naw",children:d?e.jsxs("button",{type:"button",onClick:t=>r(!1),className:"inline-flex gap-1.5 text-base font-bold text-blue-500","data-oid":"uvj6joa",children:[e.jsx("div",{className:"self-center","data-oid":".p1pq3h",children:e.jsx(m,{"data-oid":"prvxfv8"})}),e.jsx("span",{"data-oid":"zwfhq8w",children:"See Less"})]}):e.jsxs("button",{type:"button",onClick:t=>r(!0),className:"inline-flex gap-1.5 text-base font-bold text-blue-500","data-oid":"hbo63:t",children:[e.jsx("span",{className:"align-middle","data-oid":"-_2tkl-",children:"See More"}),e.jsx("div",{className:"self-center","data-oid":".zxkjnv",children:e.jsx(h,{"data-oid":"uce1z4-"})})]})})]})})},c=({item:{heading:a,hoverIcon:s,svgIcon:o,description:n,link:d,newTab:r},applicationLink:i})=>{const[t,l]=x.useState(!1);return e.jsx(p,{to:d||`${i??"https://app.scinito.ai"}/search#filters=${encodeURIComponent(JSON.stringify({sdgs:[{id:n,name:a}]}))}`,target:r?"_blank":"_self",rel:"noreferrer","data-oid":".9jo..g",children:e.jsxs("div",{className:`${t?"bg-grey-100 border-app-br-neutral-medium border":"bg-bg-neutral-second border-bg-neutral-second border"} min-w-one-col-grid relative flex cursor-pointer flex-col items-center rounded-[18px] px-[9px] pb-[18px] pt-[60px] md:min-w-[316px] lg:min-w-[301px]`,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),"data-oid":"hpwarsk",children:[e.jsx("div",{className:"absolute -top-4 -mt-1 mb-2 flex h-16 place-content-center place-items-center rounded-full text-white","data-oid":"xycpeko",children:e.jsx(u,{width:60,height:60,file:t?s:o,alt:a??"SDGs name","data-oid":":w0fdmc"})}),e.jsx("h3",{className:`text-center ${t?"text-app-cnt-neutral-main":"text-app-cnt-neutral-strong"} text-base font-semibold leading-normal`,"data-oid":"3ywq9ve",children:a})]})})};export{N 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.