PageSourceSearch

https://www.pelagohealth.com/_next/static/chunks/3180.4ac5bc8adaf94d84.js

js pelagohealth.com collected 2026-09-24 09:44:45 UTC 8,725 bytes, 3 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3180],{8175:(e,a,l)=>{l.d(a,{A:()=>i});var t=l(37876);l(14232);var s=l(54759),r=l(13929),n=l(38370);function i({dateString:e,pattern:a="MM/dd/yyyy"}){if(!e)return null;let l=(0,s.A)(e);return(0,r.A)(l)?(0,t.jsx)("time",{dateTime:e,children:(0,n.A)(l,a)}):null}},83180:(e,a,l)=>{l.r(a),l.d(a,{Icon:()=>p,PressPostCard:()=>d,default:()=>o});var t=l(37876),s=l(14232),r=l(48230),n=l.n(r),i=l(51432),c=l(8175);function o({masthead:e,posts:a,pressPosts:l}){return(0,t.jsxs)("section",{"data-layout":"Press Archive",className:"overflow-hidden",children:[(0,t.jsx)(m,{masthead:e}),(0,t.jsx)(x,{...a,pressPosts:l})]})}function m({masthead:e}){return(0,t.jsx)("div",{className:"bg-cream py-12 md:py-32 lg:py-42",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("h1",{className:"text-display mb-12 !tracking-normal text-black md:mb-20 lg:mb-[150px]",dangerouslySetInnerHTML:{__html:e?.heading}}),(0,t.jsx)("div",{className:"space-y-6 md:space-y-8 lg:space-y-16",children:e?.featured_press?.map((e,a)=>e?.post_status==="publish"?(0,t.jsxs)("div",{className:"gap-x-10 bg-white p-4 sm:flex sm:p-[25px] lg:gap-x-14 xl:gap-x-[75px]",children:[(0,t.jsx)(n(),{href:e?.acf?.external_url?e?.acf?.external_url:e?.permalink,target:e?.acf?.external_url?"_blank":"",className:"relative flex w-full items-center justify-center bg-yellow transition-all duration-200 hover:opacity-70 sm:w-1/2 sm:w-1/2 sm:max-w-[520px] lg:min-h-[447px]",rel:"noreferrer",children:e?.acf?.logo?(0,t.jsx)("div",{className:"m-12 h-auto w-[200px] md:w-[300px]",children:(0,t.jsx)(i.HM,{image:e?.acf?.logo,layout:"intrinsic"})}):(0,t.jsx)(i.HM,{image:e?.acf?.thumbnail,layout:"fill",objectFit:"cover"})}),(0,t.jsxs)("div",{className:"sm: flex-1 px-2 pb-4 pt-8 sm:my-auto sm:max-w-[530px] sm:px-0 sm:py-5",children:[(0,t.jsxs)("div",{className:"text-body-20-med mb-6 flex items-center justify-between space-x-4 font-bold !leading-[1] text-[#22222299] sm:mb-[35px]",children:[(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:"FEATURED NEWS"}}),(0,t.jsx)("span",{className:" text-[#22222299]",children:(0,t.jsx)(c.A,{dateString:e?.post_date})})]}),(0,t.jsx)("div",{className:"text-heading-40 !leading-[1.1] text-black",dangerouslySetInnerHTML:{__html:e?.post_title}}),(0,t.jsx)(n(),{href:e?.acf?.external_url?e?.acf?.external_url:e?.permalink,target:e?.acf?.external_url?"_blank":"",className:"text-body-20 transition-200 mt-8 inline-block rounded-[3px] bg-black px-8 py-4 font-bold !leading-[1.15] text-white transition-all hover:opacity-70 sm:mt-12 sm:px-[50px] sm:py-5 lg:mt-[75px]",rel:"noreferrer",children:"Read story"})]})]},a):null)})]})})}function x({heading:e,load_more_text:a,pressPosts:l}){let[r,n]=(0,s.useState)("All"),i=["All"];l.map(e=>{e?.article_category?.map(({name:e})=>{i.includes(e)||i.push(e)})});let c=l;c="All"===r?l?.filter(()=>!0):l.filter(e=>{let a=!1;return e?.article_category?.map(e=>{e.name===r&&(a=!0)}),a});let[o,m]=(0,s.useState)(0),x=5+5*o,p=c?.slice(0,x);return(0,t.jsx)("div",{className:"py-12 md:py-36 lg:py-50",children:(0,t.jsxs)("div",{className:"container flex flex-col",children:[(0,t.jsxs)("div",{className:"mb-12 md:mb-20",children:[(0,t.jsx)("h2",{className:"text-h2 mb-6 !tracking-normal text-black md:mb-8",dangerouslySetInnerHTML:{__html:e}}),(0,t.jsx)("div",{className:"flex space-x-4 lg:space-x-6 xl:space-x-8",children:i?.map((e,a)=>(0,t.jsx)("button",{"aria-label":`Only show ${e} category`,className:`text-body-18-med border-b-[1.5px] pb-1 transition-all duration-200 ${e===r?"border-b-black":"border-b-[#F8F9F3] opacity-50 transition-all duration-200 hover:border-b-black hover:opacity-100"}`,type:"button",onClick:()=>n(e),children:e},a))})]}),(0,t.jsx)("div",{className:"space-y-16",children:p?.map((e,a)=>(0,t.jsx)(d,{item:e},a))}),x<l?.length&&(0,t.jsx)("button",{"aria-label":"Show more posts",type:"button",onClick:()=>{m(o+1)},className:"text-body-20 transition-200 mx-auto mt-12 block rounded-[3px] bg-black px-8 py-4 font-bold !leading-[1.15] text-white transition-all hover:opacity-70 sm:px-[100px] sm:py-5 md:mt-20 lg:mt-[125
1px]",children:a})]})})}function d({item:e}){let[a,l]=(0,s.useState)(!1);return(0,t.jsxs)("div",{className:"sm:flex",children:[(0,t.jsx)(n(),{href:e?.acf?.external_url?e?.acf?.external_url:e?.permalink,target:e?.acf?.external_url?"_blank":"",className:"relative flex aspect-[640/343] w-full items-center justify-center bg-cream sm:w-1/2",rel:"noreferrer",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:e?.acf?.logo?(0,t.jsx)("div",{className:"mx-12 h-auto w-[200px] md:w-[300px]",children:(0,t.jsx)(i.HM,{image:e?.acf?.logo,layout:"intrinsic",className:`transition-translate duration-200 ${a?"scale-105":""}`})}):(0,t.jsx)(i.HM,{image:e?.acf?.thumbnail,layout:"fill",objectFit:"cover",className:`transition-translate duration-200 ${a?"scale-105":""}`})}),(0,t.jsxs)("div",{className:"my-auto mt-6 w-full sm:mt-auto sm:w-1/2 sm:py-10 sm:pl-10 lg:pl-16 xl:pl-[88px]",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-center justify-between space-x-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,t.jsx)("div",{className:"relative aspect-1/1 w-6 text-black",children:(0,t.jsx)(i.HM,{image:e?.article_category[0]?.acf?.icon,layout:"fill",objectFit:"contain"})}),(0,t.jsx)("div",{className:"text-body-20-med !leading-[1.1] text-black",dangerouslySetInnerHTML:{__html:e?.article_category[0]?.name}})]}),(0,t.jsx)("span",{className:"text-body-20 text-[#22222299]",children:(0,t.jsx)(c.A,{dateString:e?.post_date})})]}),(0,t.jsx)(n(),{href:e?.acf?.external_url?e?.acf?.external_url:e?.permalink,target:e?.acf?.external_url?"_blank":"",className:"mb-4 inline-block sm:mb-6",rel:"noreferrer",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:(0,t.jsx)("span",{className:"text-heading-32 !leading-[1.1] !tracking-normal text-black",dangerouslySetInnerHTML:{__html:e?.post_title}})}),(0,t.jsx)(n(),{href:e?.acf?.external_url?e?.acf?.external_url:e?.permalink,target:e?.acf?.external_url?"_blank":"",className:`text-body-18-med inline-block !leading-[1.15] text-black underline underline-offset-[7px] transition-opacity duration-200
2                        ${a?"opacity-60":""}
3                    `,rel:"noreferrer",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:"Read more"})]})]})}function p(){return(0,t.jsx)("svg",{viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.0195312 3.52187C0.0195312 1.26202 2.18249 -0.369433 4.35537 0.251531L8.60573 1.4657C9.21851 1.64089 9.86822 1.64015 10.4808 1.46397L14.6573 0.262185C16.8314 -0.363486 18.9993 1.26846 18.9993 3.53079V13.4427C18.9993 15.7147 16.8145 17.3479 14.6355 16.7051L10.5023 15.486C9.87615 15.3013 9.21033 15.3006 8.58392 15.4842L4.37693 16.7162C2.1991 17.354 0.0195312 15.7211 0.0195312 13.4518V3.52187ZM2.62828 2.63205C2.6756 1.72737 3.57756 1.12078 4.43342 1.41813L8.38668 2.79163V13.8141L3.73391 14.9349C2.8493 15.148 2.0088 14.4494 2.05662 13.5408L2.62828 2.63205ZM10.6996 14.1144L14.5745 15.4983C15.4324 15.8049 16.3432 15.198 16.3908 14.2884L16.9622 3.38707C17.0098 2.48115 16.174 1.78337 15.2911 1.99152L10.6996 3.07436V14.1144ZM3.51239 5.27078C3.52552 4.89538 3.84046 4.6015 4.21587 4.61463L6.93537 4.70953C7.31102 4.72267 7.60466 5.03785 7.59152 5.41326C7.57839 5.78866 7.26344 6.08254 6.88804 6.06941L4.16854 5.9745C3.79313 5.96137 3.49926 5.64618 3.51239 5.27078ZM14.8473 4.61463C15.2227 4.6015 15.5377 4.89538 15.5508 5.27078C15.5639 5.64618 15.2703 5.96137 14.8947 5.9745L12.1752 6.06941C11.7998 6.08254 11.4848 5.78866 11.4717 5.41326C11.4585 5.03785 11.7524 4.72267 12.1278 4.70953L14.8473 4.61463ZM3.51239 8.40285C3.52552 8.02745 3.84046 7.73357 4.21587 7.7467L6.93537 7.84161C7.31102 7.85474 7.60466 8.16993 7.59152 8.54533C7.57839 8.92073 7.26344 9.21462 6.88804 9.20148L4.16854 9.10658C3.79313 9.09344 3.49926 8.77826 3.51239 8.40285ZM14.8473 7.7467C15.2227 7.73357 15.5377 8.02745 15.5508 8.40285C15.5639 8.77826 15.2703 9.09344 14.8947 9.10658L12.1752 9.20148C11.7998 9.21462 11.4848 8.92073 11.4717 8.54533C11.4585 8.16993 11.7524 7.85474 12.1278 7.84161L14.8473 7.7467ZM3.51239 11.5322C3.52552 11.1568 3.84046 10.8629 4.21587 10.8761L6.93537 10.971C7.31102 10.9841 7.60466 11.2993 7.59152 11.6747C7.57839 12.0501 7.26344 12.344 6.88804 12.3308L4.16854 12.2357C3.79313 12.2228 3.49926 11.9076 3.51239 11.5322ZM14.8473 10.8761C15.2227 10.8629 15.5377 11.1568 15.5508 11.5322C15.5639 11.9076 15.2703 12.2228 14.8947 12.2357L12.1752 12.3308C11.7998 12.344 11.4848 12.0501 11.4717 11.6747C11.4585 11.2993 11.7524 10.9841 12.1278 10.971L14.8473 10.8761Z",fill:"currentColor"})})}}}]);

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.