PageSourceSearch

https://heterodoxacademy.org/7de2198b4bae8979be4becdbb6b6e46baf01707d-4a38ff7576f70ed254fe.js

js heterodoxacademy.org collected 2026-09-24 09:01:29 UTC 15,421 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_hxa=self.webpackChunkgatsby_hxa||[]).push([[842],{3740:function(e,t,l){l(62391);var a=l(2285),i=l(16803);t.A=()=>(e=>{const t=e.entries.map(i.A),l=new Date,a=t.findIndex(e=>e.dateRaw<l);return{past:-1===a?[]:t.slice(a),upcoming:(-1===a?t:t.slice(0,a)).sort((e,t)=>e.dateRaw-t.dateRaw)}})((0,a.useStaticQuery)("1073828069").craft)},16803:function(e,t,l){var a=l(93871),i=l(43320);t.A=e=>{const t=e.image,l=e.metaImage,n=e.eventDate,r=e.postDate,s=e.timeZone,c=e.url,o=e.externalUrl,m=n||r;return Object.assign({},e,{url:o||c,image:(0,i.A)(t||l),date:n?(0,a.cA)(n,s):(0,a.Yq)(r),dateRaw:new Date(m)})}},38360:function(e,t,l){var a=l(12888),i=l(29859),n=l(37617),r=l(52254);t.A=e=>{let t=e.heading,l=e.size,s=e.descriptor,c=e.button,o=e.background,m=void 0===o?"bg-white":o;const d=n.nd.includes(m);return a.createElement(r.mc,null,a.createElement("div",{className:"flex w-full flex-col gap-5"},a.createElement("div",{className:"flex flex-wrap items-center gap-5"},a.createElement(r.EY,{html:t,className:(0,i.A)("basis-full font-serif leading-tight sm:pb-0 md:basis-auto",{"text-2.5xl md:text-4xl":"large"===l,"md:text-2.5xl text-xl":"small"===l||!l,"text-black":!d,"text-white":d})}),a.createElement("hr",{className:"from-purple-dark to-green h-[2px] flex-1 border-0 bg-linear-to-r"}),!(null==c||!c.url)&&a.createElement(r.$n,{to:c.url,color:d?"white":"light"},c.text||"View All")),!!s&&a.createElement(r.EY,{html:s,tag:"div",className:(0,i.A)("prose prose-sm md:prose-base font-sans md:w-3/5",{"prose-invert":d})})))}},55471:function(e,t,l){var a=l(12888),i=l(29859),n=l(37617),r=l(52254),s=l(86644);t.A=e=>{let t=e.breadcrumbs,l=e.button,c=e.color,o=void 0===c?"green":c,m=e.secondaryColor,d=void 0===m?"black":m,u=e.columns,f=void 0===u||u,g=e.copy,x=e.date,p=e.descriptor,v=e.heading,h=e.image,E=e.secondaryLink,b=e.subHeading,A=e.variant,N=e.anchorLinks;const w=n.nd.includes(o),y=b||p||g||x||(null==l?void 0:l.url)||(null==E?void 0:E.url);return a.createElement("section",{className:"flex flex-col gap-10 pb-10"},a.createElement("div",{className:(0,i.A)("relative pt-10",{"min-h-[33dvh]":h,"md:pt-20":!h})},a.createElement(r.mc,{variant:A},h&&a.createElement("div",{className:(0,i.A)("absolute inset-x-0 top-0 h-3/4 w-full rounded-bl-[5rem] md:h-4/5 lg:rounded-bl-[7.5rem] xl:rounded-bl-[10rem]",n.nE[o||"green"])}),a.createElement("span",{className:(0,i.A)("text-offwhite-dark absolute left-0 z-10 hidden h-auto w-16 lg:flex",{"top-40":h,"top-10 md:top-20":!h})},a.createElement(r.In,{name:"pattern",className:"size-full"})),a.createElement("div",{className:"relative z-20 flex flex-col gap-10 md:gap-14"},a.createElement("div",{className:(0,i.A)("relative flex flex-wrap gap-10 lg:gap-20",{"text-white":w})},a.createElement("div",{className:(0,i.A)("relative flex flex-1 flex-col items-start gap-5",{"md:mt-[10%]":h&&!t})},t&&a.createElement("ul",{className:(0,i.A)("flex",{"md:mt-[15%]":h})},t.map(e=>a.createElement("li",{key:e.path},a.createElement(s.Ez,{to:e.path,className:"flex items-center gap-4 text-sm font-bold duration-300 hover:opacity-60"},a.createElement(r.In,{name:"chevron",className:"size-2 rotate-180"}),a.createElement("span",null,e.label))))),a.createElement(r.EY,{html:v,tag:"h1",className:(0,i.A)("text-2.5xl font-serif leading-tight text-balance whitespace-pre-line",{"lg:text-4xl":h,"md:text-4xl":!h})}),h&&a.createElement("div",{className:"-mb-5 hidden h-full flex-col items-center pl-20 md:flex"},a.createElement("div",{className:(0,i.A)("w-[2px] grow",n.nE[d])}),a.createElement("div",{className:(0,i.A)("h-[6px] w-[6px] rounded-full",n.nE[d])}))),h&&a.createElement("div",{className:"bg-offwhite relative aspect-3/2 w-full overflow-hidden rounded-tl-[2.5rem] rounded-br-[2.5rem] md:w-[55%]"},a.createElement(r._V,{eager:!0,image:h,sizes:{xs:.9,md:.5},fill:!0})))))),y&&a.createElement(r.mc,{variant:A},a.createElement("div",{className:"flex w-full flex-col gap-10 lg:w-4/5"},(x||!(null==N||!N.length)||b||p)&&a.createElement("div",{className:"flex flex-col gap-5"},x&&a.createElement(r.EY,{html:x,className:"font-sans text-lg leading-tight font-semibold"}),!(null==N||!N.length)&&a.createElement("div",{className:"bg-offwhite mb-4 inline-flex divide-x divide-black self-start overflow-hidden rounded-lg shadow-lg"},null==N?void 0:N.map(e=>a.createElement("a",{key:e.uid,href:e.anchor.startsWith("#")?e.anchor:"#"+e.anchor,className:"after:bg-green active:bg-offwhite-dark relative inline-block p-4 text-sm font-bold after:absolute after:inset-x-0 after:bottom-0 after:block after:h-0 after:w-full after:transition-[height] hover:after:h-1.5"}
1,null==e?void 0:e.text))),b&&a.createElement(r.EY,{html:b,tag:"h2",className:"md:text-3.5xl font-serif text-2xl leading-tight"}),p&&a.createElement(r.EY,{html:p,className:b?"md:text-2.5xl font-serif text-xl leading-tight":"md:text-3.5xl font-serif text-2xl leading-tight"})),g&&a.createElement("div",{className:(0,i.A)({"columns-1 gap-10 md:columns-2":f})},a.createElement(r.EY,{html:g,className:"prose prose-sm md:prose-base prose-ol:break-inside-avoid prose-ul:break-inside-avoid break-inside-avoid"})),(!(null==l||!l.url)||!(null==E||!E.url))&&a.createElement("div",{className:"flex flex-wrap gap-5"},(null==l?void 0:l.url)&&a.createElement(r.$n,{to:l.url,color:"light"},l.text),(null==E?void 0:E.url)&&a.createElement(r.$n,{to:E.url,color:"light"},E.text)))))}},91251:function(e,t,l){l.r(t),l.d(t,{Head:function(){return A},default:function(){return N}});var a=l(56905),i=l(12888),n=l(3740),r=l(46058),s=l(92277),c=l(93660),o=l(38360),m=l(55471),d=l(37677);const u=["data"],f=(0,i.lazy)(()=>Promise.all([l.e(1869),l.e(4996),l.e(1500),l.e(1899)]).then(l.bind(l,14999)));var g=e=>{let t=e.data,l=(0,a.A)(e,u);const g=t.meta,x=t.hero,p=t.pageBuilder,v=t.cta,h=t.isPrivate,E=(0,n.A)(),b=E.past,A=void 0===b?[]:b,N=E.upcoming,w=void 0===N?[]:N,y=(0,r.A)().membershipCta,k=Object.assign({},y||{},v||{});return i.createElement(s.A,Object.assign({isPrivate:h,meta:g},l),!!x.heading&&i.createElement(m.A,x),i.createElement(i.Suspense,{fallback:i.createElement("div",null)},i.createElement(f,{blocks:p})),!(null==w||!w.length)&&i.createElement("section",{className:"flex flex-col gap-5 pb-10 md:pb-20"},i.createElement(o.A,{heading:"Upcoming Events"}),i.createElement(c.A,{items:w,variant:"general",filters:["filterTopic","filterHost","filterFormat","enableSearch"],reverseOrder:!0})),!(null==A||!A.length)&&i.createElement("section",{className:"flex flex-col gap-5 pb-10 md:pb-20"},i.createElement(o.A,{heading:"Past Events"}),i.createElement(c.A,{items:A,variant:"general",filters:["filterTopic","filterHost","filterFormat","enableSearch"]})),((null==k?void 0:k.heading)||(null==k?void 0:k.descriptor))&&i.createElement(d.A,k))},x=l(43320),p=l(86311),v=l(96096),h=l(72641);const E=["data"],b=e=>{let t=e.entry;const l=t.heroHeading,a=t.heroImage,i=t.heroSubHeading,n=t.heroDescriptor,r=t.heroCopy,s=t.heroButton,c=t.heroSecondaryLink,o=t.heroColor,m=t.heroSecondaryColor,d=t.pageBuilder,u=t.ctaHeading,f=t.ctaDescriptor,g=t.ctaButton,v=t.ctaImage,h=t.url,E=t.title,b=t.metaTitle,A=t.metaDescription,N=t.metaImage,w=t.isPrivate;return{hero:{heading:l||E,image:(0,x.A)(a),subHeading:i,descriptor:n,copy:r,button:s,secondaryLink:c,color:o,secondaryColor:m},pageBuilder:(0,p.A)(d),cta:{heading:u,descriptor:f,button:g,image:(0,x.A)(v)},meta:{url:h,title:E,metaPageTitle:b,metaDescription:A,metaFeaturedImage:(0,x.A)(N)},isPrivate:w}},A=e=>{let t=e.data,l=(0,a.A)(e,E);return i.createElement(h.F,Object.assign({},l,{data:(0,v.A)(t.craft)}))};var N=e=>i.createElement(h.A,Object.assign({template:g,dataResolver:b},e))},93660:function(e,t,l){l.d(t,{A:function(){return p}});var a=l(35182),i=(l(39776),l(62391),l(69403),l(12888)),n=l(29859),r=l(61058),s=l.n(r),c=l(16787),o=l(31977),m=l(37617),d=l(2285);var u=()=>(e=>{let t=e.entries;return null==t?void 0:t.reduce((e,t)=>{const l=t.sectionHandle,i=[].concat((0,a.A)(e[l]||[]),[t]);return Object.assign({},e,{[l]:i})},{})})((0,d.useStaticQuery)("447566927").craft),f=l(47343),g=l(52254);const x=[{id:"all",title:"All Sources"},{id:"hxa",title:"Team HxA"},{id:"members",title:"HxA Member"},{id:"other",title:"Outside Organization"}];var p=e=>{let t=e.background,l=e.className,r=e.filters,d=e.heading,p=e.items,v=e.variant,h=e.context,E=e.reverseOrder;const b=(0,i.useRef)(),A=m.nd.includes(t);let N,w,y,k,S,_;const z={articleIndex:"blogCategory",announcementIndex:"announcementCategory",classifiedIndex:"classifiedCategory"}[h];if("issues"===v){var F;const e=null==p||null===(F=p.map(e=>{var t;let l=e.section;return"article"===l&&(l="blog"),l=null!==(t=l)&&void 0!==t&&t.length?l.charAt(0).toUpperCase(0)+l.slice(1):null,{id:e.id,section:e.section,title:l}}))||void 0===F?void 0:F.filter((e,t,l)=>t===l.findIndex(t=>t.section===e.section));w=[{id:"all",title:"All Formats"}].concat((0,a.A)(e||[]))}if("general"===v&&null!=r&&r.includes("filterPodcast")){const e=u().podcastCategory;N=[{id:"all",title:"All Shows"}].concat((0,a.A)(e||[]))}if("general"===v&&null!=r&&r.includes("filterTopic")){const e=u().issue;y=[{id:"all",title:"All Topics"}].concat((0,a.A)(e||[]))}if("general"===v&&null!=r&&r.includes("filterHost")){var H,I;const e=null==p||null===(H=p.map(e=>e.host))||void 0===H||null===(I=H.flat())||void 0===I?void 0:I.filter((e,t,l)=>t===l.findIndex(t=>t.id===e.id));S=[{id:"all",title:"All Hosts"}].concat((0,a.A)(e||[]))}if("general"===v&&null!=r&&r.includes("filterFormat")){var C,T;const e=null==p||null===(C=p.map(e=>e.formats))||void 0===C||null===(T=C.flat())||void 0===T?void 0:T.filter((e,t,l)=>t===l.findIndex(t=>t.id===e.id));_=[{id:"all",title:"All Formats"}].concat((0,a.A)(e||[]))}if("general"===v&&null!=r&&r.includes("filterType")&&(w=h?[{id:"all",title:"All Formats"}].concat((0,a.A)(u()[z]||[])):[{id:"all",title:"All Formats"}]),null!=r&&r.includes("filterYear")){const e=p.map(e=>s()(e.date).get("year"));k=(0,a.A)(new Set(e)),k=k.map(e=>({id:e,title:e}))}const Y=[{id:0,title:"Ascending"},{id:1,title:"Descending"}],D=(0,i.useState)(),O=D[0],j=D[1],P=(0,i.useState)(),R=P[0],B=P[1],L=(0,i.useState)(),U=L[0],$=L[1],q=(0,i.useState)(),M=q[0],Q=q[1],V=(0,i.useState)(),K=V[0],W=V[1],Z=(0,i.useState)(),G=Z[0],J=Z[1],X=(0,i.useState)(),ee=X[0],te=X[1],le=(0,i.useState)(E?0:null),ae=le[0],ie=le[1],ne=(0,i.useState)(p),re=ne[0],se=ne[1],ce=(0,i.useState)(re),oe=ce[0],me=ce[1],de=(0,i.useState)(""),ue=de[0],fe=de[1],ge=(0,i.useCallback)((e,t)=>{const l=null==e?void 0:e.sort((e,l)=>0===t?s()(e.date).isAfter(s()(l.date))?1:-1:s()(l.date).isAfter(s()(e.date))?1:-1);se(l)},[]);(0,i.useEffect)(()=>{(ae||E)&&ge(p,ae)},[ae]);const xe=(0,i.useMemo)(()=>null==oe?void 0:oe.filter(e=>{var t,l,a,i,n,r,c,o,m;return(!O||0===O||(null===(t=e.podcasts)||void 0===t?void 0:t.map(e=>e.id).includes(N[O].id)))&&(!R||0===R||1===R&&!(null!==(l=e.authors)&&void 0!==l&&l.length)||1===R&&"Team HxA"===(null===(a=e.authors)||void 0===a?void 0:a[0].title)||2===R&&!(null===(i=e.authors)||void 0===i||!i.length)||3===R&&!(null===(n=e.organizations)||void 0===n||!n.length))&&(!U||0===U||(null===(r=e.topics)||void 0===r?void 0:r.map(e=>e.id).includes(y[U].id)))&&(!M||0===M||e.section===w[M].section||(null===(c=e.types)||void 0===c?void 0:c.map(e=>e.id).includes(w[M].id)))&&(!K||0===K||s()(e.date).get("year")===k[K].id)&&(!G||0===G||(null===(o=e.formats)||void 0===o?void 0:o.map(e=>e.id).includes(_[G].id)))&&(!ee||0===ee||(null===(m=e.host)||void 0===m?void 0:m.map(e=>e.id).includes(S[ee].id)))}),[O,R,U,M,K,ae,oe,G,ee]),pe={type:"tween",ease:"easeIn",duration:.3},ve={enter:{y:0,opacity:1,transition:Object.assign({},pe)},exit:{y:20,opacity:0,transition:Object.assign({},pe)}};return null!=p&&p.length?i.createElement("div",{ref:b,className:(0,n.A)(l)},i.createElement(g.mc,null,"general"===v&&!(null==r||!r.length)&&i.createElement("div",{className:"mb-10 flex flex-wrap items-end gap-5"},(null==r?void 0:r.includes("filterTopic"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[U,$],options:y,placeholder:"Filter by Topic",size:"sm",inverse:A})),(null==r?void 0:r.includes("filterHost"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[ee,te],options:S,placeholder:"Filter by Host",size:"sm",inverse:A})),(null==r?void 0:r.includes("filterFormat"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[G,J],options:_,placeholder:"Filter by Format",size:"sm",inverse:A})),(null==r?void 0:r.includes("filterType"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[M,Q],options:w,placeholder:"Filter by Type",size:"sm",inverse:A}
1)),(null==r?void 0:r.includes("filterSource"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[R,B],options:x,placeholder:"Filter by Source",size:"sm",inverse:A})),(null==r?void 0:r.includes("filterPodcast"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[O,j],options:N,placeholder:"Filter by Podcast",size:"sm",inverse:A})),(null==r?void 0:r.includes("filterYear"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[K,W],options:k,placeholder:"Filter by Year",size:"sm",inverse:A})),(null==r?void 0:r.includes("sortDate"))&&i.createElement("div",{className:"flex flex-[1_1_100%] items-center sm:flex-initial"},i.createElement(g.ms,{model:[ae,ie],options:Y,placeholder:"Sort by Date",size:"sm",inverse:A})),(null==r?void 0:r.includes("enableSearch"))&&i.createElement(f.vj,{content:re,placeholder:"Search",className:"w-40",queryState:[ue,fe],resultState:[oe,me]}),"articleIndex"===h&&i.createElement(g.$n,{className:"ml-auto",color:"light",size:"xs",icon:"rss",target:"_blank",to:"/blog-rss.xml"},"RSS")),"general"===v&&d&&i.createElement("div",{className:"mb-10 flex flex-wrap items-center gap-5"},i.createElement(g.EY,{html:d,className:(0,n.A)("md:text-2.5xl basis-full font-serif text-xl leading-tight sm:pb-0 md:basis-auto",{"text-black":!A,"text-white":A})}),i.createElement("hr",{className:"from-purple-dark to-green h-[2px] flex-1 border-0 bg-linear-to-r"})),"issues"===v&&i.createElement("div",{className:"mb-10 flex flex-wrap items-center gap-5"},i.createElement(g.EY,{html:d,className:(0,n.A)("md:text-2.5xl basis-full font-serif text-xl leading-tight sm:pb-0 md:basis-auto",{"text-black":!A,"text-white":A})}),i.createElement("hr",{className:"from-purple-dark to-green h-[2px] flex-1 border-0 bg-linear-to-r"}),i.createElement(g.ms,{model:[M,Q],options:w,placeholder:"Filter by Format",size:"sm",inverse:A})),i.createElement("div",{className:"flex flex-col items-center gap-10"},i.createElement(c.N,{mode:"wait"},!(null==xe||!xe.length)&&i.createElement(f.dK,{data:xe,pageSize:9,component:f.zU,variants:ve,scrollTarget:b,showNavigation:!1,isDark:A,className:"relative z-0 flex w-full flex-wrap gap-x-5 gap-y-10",itemClassName:"grow sm:flex-[0_1_calc(50%-.625rem)] lg:flex-[0_1_calc(33.332%-.834rem)]"}),!(null!=xe&&xe.length)&&i.createElement(o.m.div,{key:"no-results",initial:"exit",animate:"enter",exit:"exit",variants:ve,className:"flex h-20 flex-col items-center justify-center"},"Your selection did not return any results."))))):null}}}]);

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.