1"use strict";(self.webpackChunkpsysup=self.webpackChunkpsysup||[]).push([[3595],{55261:function(e,t,n){n.d(t,{b:function(){return r}});var a=n(67294),l=n(69949);const r=e=>{const t=a.useRef(null);let n;return a.useEffect((()=>(n=l.A.subscribe((e=>{t.current.style.top=e+"px"})),()=>{n&&n.unsubscribe()})),[]),a.createElement("div",{ref:t,className:"sticky-top"},e.children)}},48536:function(e,t,n){n.r(t);var a=n(67294),l=n(63118);t.default=e=>{const{pageContext:t}=e,{nodes:n}=e.data.allWpPost;return a.createElement(l.Z,{cat:t.cat,archivePath:t.archivePath,nodes:n,cats:t.cats,nextPath:t.nextPath,previousPath:e.pageContext.previousPath})}},63118:function(e,t,n){var a=n(20574),l=n(67294),r=n(99200),c=n(42749),s=n(55261),i=n(99540);t.Z=e=>{let{cat:t,archivePath:n,nodes:o,cats:m,nextPath:u,previousPath:d}=e;return l.createElement("div",null,l.createElement(c.Z,{title:t?""+t:"Articles",description:"Psychedelic Support articles "+(t?"about "+t:"")+" are written by our community and global network of health providers. Find the latest perspectives on Psychedelic Research, Therapy and Integration.",pathname:n}),l.createElement(r.W2,{className:"archive overflow-anchor-none"},l.createElement(r.X2,null,l.createElement(r.JX,null,l.createElement("h1",null,t?""+t:"Articles"),l.createElement("div",{className:"mt-5"},"Dive into our free and extensive library of articles from health professionals and the psychedelic community!"))),l.createElement(s.b,null,l.createElement("div",{className:"archive-sticky"},l.createElement(r.X2,{className:"cat-links pt-4"},m&&m.map(((e,n)=>l.createElement(r.JX,{className:"mt-2",xs:"auto",key:n},l.createElement(a.rU,{className:"alink "+(e.name===t?"active":""),to:"/articles/category/"+e.slug+"/"},e.name))))),l.createElement("div",{className:"divider"}))),l.createElement(r.X2,{className:"mt-5"},o&&o.map((e=>l.createElement(r.JX,{className:"archive-card-wrapper",md:"6",lg:"4",key:e.id},l.createElement(i.Z,{post:e}))))),l.createElement(r.X2,{className:"mt-4"},l.createElement(r.JX,{className:"d-flex justify-content-between"},d&&l.createElement("div",null,l.createElement(a.rU,{to:d},"Newer Posts")),u&&l.createElement("div",{className:"ms-auto"},l.createElement(a.rU,{to:u},"Older Posts â"))))))}},99540:function(e,t,n){var a=n(20574),l=n(38032),r=n(10533),c=n(67294),s=n(99200);t.Z=e=>{let{post:{id:t,postId:n,title:i,excerpt:o,author:m,multipleAuthorsAcf:u,featuredImage:d,date:h,categories:p,slug:v}}=e;const E=u&&u.multipleAuthor?"Multiple Contributors":m.node.name;let f=[];p&&p.nodes&&(f=p.nodes);const g="undefined"!=typeof document?document.createElement("div"):{};g.innerHTML=o;const y=g.textContent||g.innerText||"";let N="";return f&&(N=f.find((e=>"featured"!==e.name.toLowerCase()))),c.createElement(s.Zb,{className:"archive-card h-100","data-id":t,id:"post-preview-"+n},c.createElement(a.rU,{to:"/resources/"+v+"/"},c.createElement(l.G,{image:d.node.localFile.childImageSharp.archive,loading:"lazy",imgClassName:"img-fluid",alt:""+(d.node.altText?d.node.altText:"Featured Image: "+i)})),c.createElement(s.eW,null,c.createElement(a.rU,{to:"/resources/"+v+"/"},c.createElement(s.ll,{className:"entry-title"},i)),c.createElement(s._R,{className:"mt-2"},c.createElement(r.Z,{className:"custom-class",lines:2,text:y})),c.createElement(s.SK,{tag:"div"},E,c.createElement("br",null),N&&c.createElement(c.Fragment,null,c.createElement("h6",{className:"cat"},N.name),c.createElement("span",null," - ")),h)))}},10533:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(67294);const l=({accessibility:e=!0,debounce:t=300,ellipsis:n="â¦",is:l="div",lines:r=3,text:c,...s})=>{const i=(0,a.useRef)(null),o=(0,a.useRef)("."),m={ref:i,...e?{title:c}:{},...s},u=(0,a.useMemo)((()=>"string"==typeof c&&c.length>0),[c]),d=(0,a.useCallback)((()=>{var e,t,a,l;if(!u)return;const s=e=>{o.current=e,null!=i.current&&(i.current.innerText=e)};s(".");const m=((null!==(t=null===(e=i.current)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0)+1)*r+1,d="â¦"===n?5:1.2*n.length;let h=0,p=0,v=c.length;for(;h<=v;){if(p=Math.floor((h+v)/2),s(c.slice(0,p)),p===c.length)return;(null!==(l=null===(a=i.current)||void 0===a?void 0:a.clientHeight)&&void 0!==l?l:0)<=m?h=p+1:v=p-1}s(c.slice(0,Math.max(p-d,0)).trim()+n)}),[n,u,r,c]);return(0,a.useEffect)((()=>{d();const e=((e,t)=>{let n;const a=()=>{n=void 0,e()};return()=>{const l=null==n;clearTimeout(n),n=setTimeout(a,t),l&&e()}})(d,t);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[d,t]),u?(0,a.createElement)(l,m,o.current):null}}}]); 2//# sourceMappingURL=component---src-components-wp-articles-category-js-4ce0ce2fecd279b993ac.js.map
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.