PageSourceSearch

https://www.climatecentral.org/_next/static/chunks/5779.49adc456f0f5f4c9.js

js climatecentral.org collected 2026-09-24 08:27:02 UTC 2,219 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5779],{5779:(e,s,t)=>{"use strict";t.r(s),t.d(s,{FocusAreasSection:()=>g});var a=t(12115),i=t(51091),l=t(98471),c=t.n(l),r=t(26040),n=t(71376),p=t(17316),_=t(15597),o=t(81269),d=t(44769),m=t(95155);let g=e=>{let{slug:s,topics:t,posts:l,link:g,className:y}=e,[u,h]=(0,a.useState)(t?t[0].name:""),[j,x]=(0,a.useState)(l),w=async e=>{h(e);let s=await fetch("/api/getSpecialTopicPosts",{body:JSON.stringify({category:e}),headers:{"Content-Type":"application/json"},method:"POST"});x(await s.json())};return(0,m.jsxs)("div",{id:s,children:[(0,m.jsxs)(n.w,{variant:"md",className:(0,i.A)(c().topic_wrapper,y),children:[(0,m.jsx)(p.E,{size:"lg",className:c().topic_title,children:(0,m.jsx)("b",{children:"Special Topics"})}),t&&t.length?(0,m.jsx)("ul",{className:c().topics,children:t.filter(e=>e).map(e=>(0,m.jsx)("li",{children:(0,m.jsx)(_.v,{label:e?.name,variant:"box",className:(0,i.A)(c().tag,u===e?.name&&c().active),onClick:()=>w(e?.name)})},e?.sys?.id))}):null]}),(0,m.jsxs)(n.w,{variant:"md",className:(0,i.A)(c().section_wrapper),children:[j?(0,m.jsx)("ul",{className:(0,i.A)(c().container,"list-section"),children:j.filter(e=>e).map(e=>(0,m.jsx)("li",{className:c().items,children:(0,m.jsx)(r.Z,{slug:e.slug,image:e.previewImage,body:e.excerpt||"",variant:"image on left",title:e.title||"",type:e.category,date:e.date,tagsList:e.tagsList,sys:e.sys})},e.sys?.id))}):(0,m.jsx)(p.E,{size:"md",className:c().no_results,children:"No posts"}),g&&(0,m.jsx)(o.N,{...g,parameters:g?.parameters?`${g.parameters}&topic=${(0,d.g)(u,!0)}`:`?topic=${(0,d.g)(u,!0)}`,className:c().link})]})]})}},44769:(e,s,t)=>{"use strict";t.d(s,{g:()=>l});let a=/ /gi,i=/&/gi,l=function(e){let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return s?e?.replace(a,"+").replace(i,"%26"):e?.replace(a,"+")}},98471:e=>{e.exports={section_wrapper:"styles_section_wrapper__ZzSSp",container:"styles_container__crV6h",items:"styles_items__qj9u_",topic_wrapper:"styles_topic_wrapper__OdYuv",topic_title:"styles_topic_title__7U3z5",topics:"styles_topics__MYFEj",tag:"styles_tag__Hdj2E",active:"styles_active__V_YEF",no_results:"styles_no_results__hgeCw",link:"styles_link__KoKSL"}}}]);

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.