1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[790],{9747:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>p,default:()=>v});var a=i(37876),n=i(15039),r=i.n(n),o=i(31935),_=i(6546),c=i(26937),l=i(54587),d=i.n(l),s=i(33829),m=i(14232),A=i(20431),C=i.n(A);function g({image:e,link:t,title:i,moreText:n,category:o,categories:_,content:l}){(0,m.useContext)(c.A);let A=Array.isArray(_)?_:o?[o]:[];return console.log("Full props received:",{title:i,content:l,categories:_}),(0,a.jsx)("div",{className:r()(C().actionCard),children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-12 col-lg-4 d-flex",children:(0,a.jsx)(s.A,{href:t||"#",prefetch:!1,className:r()(C().linkOuter,"w-100"),children:(0,a.jsx)("div",{className:r()(C().image,"h-100"),children:(0,a.jsx)(d(),{src:e||"https://ngamerica.wpengine.com/wp-content/uploads/2024/01/Website-Featured-Image.png",width:640,height:335,sizes:"100vw",alt:i||"Action card",style:{width:"100%",height:"100%",objectFit:"cover"}})})})}),(0,a.jsx)("div",{className:"col-12 col-lg-8",children:(0,a.jsxs)("div",{className:r()(C().text,"text-default"),children:[(0,a.jsxs)("div",{className:r()("mb-1 text-default",C().cardText),children:[A.length>0&&(0,a.jsx)("div",{className:C().categories,children:A.map((e,t)=>{let i=e?.name||e?.title||e?.label||e?.slug||String(e);return(0,a.jsx)("span",{className:C().category,style:{display:"inline-block",marginRight:"8px"},children:i},e?.id||e?.slug||t)})}),(0,a.jsx)("h3",{className:r()(C().cardTitle,"mb-0"),children:(0,a.jsx)(s.A,{href:t||"#",prefetch:!1,className:C().cardLink,children:i})})]}),(0,a.jsx)("div",{class:"d-grid d-lg-inline-block mt-1",children:(0,a.jsx)(s.A,{href:t||"#",prefetch:!1,className:r()("btn btn-primary",C().actionCardLink),children:n||"Act now â"})})]})})]})})}i(44774);var u=i(89099),h=i(73121);i(38910),i(90265),i(70402),i(50840),i(34552),h.Ay.use([h.Vx,h.dK,h.Ze,h.Jq,h.Ij]);var p=!0;let v=function(e){let{query:t}=(0,u.useRouter)();return t&&0!==Object.keys(t).length&&t.slug&&"page"!==t.slug[0]?function({post:e,globals:t,preview:i,template:n,flexSections:r}){return(0,a.jsx)(c.S,{globals:t,children:(0,a.jsx)(_.A,{preview:i,seo:e?.seo,postId:e?.databaseId,title:e?.title,children:(0,a.jsx)(o.A,{sections:r,previousColor:"light",nextColor:"dark"})})})}(e):function(e){var t=e.actnowPosts.contentNodes.nodes,i=e.actnowPosts.contentNodes.nodes;i.find(e=>e.acfAction?.featuredAction===!0),i.filter(e=>e.acfAction?.featuredAction===!0).length;let[n,r]=(0,m.useState)([]),[o,l]=(0,m.useState)();(0,m.useEffect)(()=>{r(t)},[]);var d=(0,m.useMemo)(function(){return o?n.filter(e=>e.categories?.nodes[0].name===o):n},[o,n]);return 0==t.length?(0,a.jsx)("h1",{children:"none"}):(0,a.jsx)(c.S,{globals:e.globals,children:(0,a.jsxs)(_.A,{title:"",preview:e.preview,children:[(0,a.jsx)("section",{className:"section-padded bg-light",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsxs)("div",{className:"col-12 col-lg-10 col-xl-10 col-xxl-10",children:[(0,a.jsx)("h2",{children:"Take Action"}),(0,a.jsx)("p",{children:"Welcome to the NextGen America Action Hub! Here, you'll find our live campaigns with actions you can take right now. From contacting your representatives to emailing the White House and beyond, we are speaking out to prioritize the needs of our generation."})]})})})}),(0,a.jsx)("section",{className:"section-padded bg-white pt-3",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsxs)("div",{className:"col-12 col-lg-10 col-xl-10 col-xxl-10",children:[(0,a.jsxs)("div",{className:"d-flex align-items-center",children:[(0,a.jsxs)("div",{className:"filter-container",children:[(0,a.jsx)("strong",{children:"Filter by Issue"}),(0,a.jsx)("div",{children:(0,a.jsxs)("select",{name:"category-list",id:"category-list",onChange:function(e){l(e.target.value)},className:"form-select form-select-lg mb-2",children:[(0,a.jsx)("option",{value:"",children:"All"}),(0,a.jsx)("option",{value:"Climate",children:"Climate"}),(0,a.jsx)("option",{value:"Democracy",children:"Democracy"}),(0,a.jsx)("option",{value:"Economic Justice",children:"Economic Justice"}),(0,a.jsx)("option",{value:"Human Dignity",children:"Human Dignity"}),(0,a.jsx)("option",{value:"Racial Justice",children:"Racial Justice"})]})})]}),(0,a.jsx)("div",{style:{marginLeft:"10px"},children:(0,a.jsxs)("strong",{children:[d?.length||0," ",d?.length===1?"Action":"Actions"]})})]}),(0,a.jsx)("div",{className:"action-list row row-gap-3",children:d?.map((e,t)=>(console.log("Full element object â",e),(0,a.jsx)("div",{className:"col-12 col-sm-12 col-md-12 col-lg-12",children:(0,a.jsx)(g,{...e,title:e.title,link:e.uri,image:e.featuredImage?.node?.sourceUrl,categories:e.categories?.nodes,moreText:e.acfPageOptions?.moreText})},t)))})]})})})})]})})}(e)}},20431:e=>{e.exports={"rsm-geography":"ActionCard_rsm-geography__5_ZAE","state-04":"ActionCard_state-04__KWweS","state-37":"ActionCard_state-37__55Twb","state-42":"ActionCard_state-42__O0YSX","state-48":"ActionCard_state-48__1CajB","state-26":"ActionCard_state-26__QTwDa","state-33":"ActionCard_state-33__mPR1i","state-55":"ActionCard_state-55__dHl3S","state-32":"ActionCard_state-32__XaHyw","rsm-svg":"ActionCard_rsm-svg__Vb4Nq","nga-carot":"ActionCard_nga-carot__xv9vz","sprog-content":"ActionCard_sprog-content__GdPKX",share_image:"ActionCard_share_image__tue2y",step1:"ActionCard_step1__3bDB1","image-box":"ActionCard_image-box___Q0t0","share-img":"ActionCard_share-img__Xb7gm","donate-text":"ActionCard_donate-text__IDfJ5","flex-color-blocks":"ActionCard_flex-color-blocks__djZn8",green:"ActionCard_green__RXqfZ",red:"ActionCard_red__q28BW",yellow:"ActionCard_yellow__daaln",teal:"ActionCard_teal__7Zb01",white:"ActionCard_white__mjLAq","voting-hub-states":"ActionCard_voting-hub-states__iHg94","card-large_card":"ActionCard_card-large_card__DKhKp","text-default":"ActionCard_text-default__1h8Jm","flex-accordion-content":"ActionCard_flex-accordion-content__7Dpjk","pac-accordion":"ActionCard_pac-accordion__sXrAb","accordion-item":"ActionCard_accordion-item__cVHvM","accordion-toggle":"ActionCard_accordion-toggle__PfCnu",Arizona:"ActionCard_Arizona___uYZ_",Virginia:"ActionCard_Virginia__enhoq",Wisconsin:"ActionCard_Wisconsin__47O28",Hampshire:"ActionCard_Hampshire__EJjUh",Carolina:"ActionCard_Carolina___9LK3",Pennsylvania:"ActionCard_Pennsylvania__9yUuF",Texas:"ActionCard_Texas__rujQB",National:"ActionCard_National__RPws_",Nevada:"ActionCard_Nevada__v3Bd5",Michigan:"ActionCard_Michigan__e5OR3","row-flex":"ActionCard_row-flex__p2fEO","flex-deadlines":"ActionCard_flex-deadlines__sozGv",line:"ActionCard_line__ApNjn",deadlineDate:"ActionCard_deadlineDate__3UHQ_",dark:"ActionCard_dark__Pdcun","pledge-container":"ActionCard_pledge-container__v86me","flex-voter-guide":"ActionCard_flex-voter-guide__Y3ZqB",dem:"ActionCard_dem__VLwDk",rep:"ActionCard_rep__5N54P","toolkit-content":"ActionCard_toolkit-content__WFKd6","image-gallery":"ActionCard_image-gallery__zjDDT",imageContainer:"ActionCard_imageContainer___VHSV",pressPosts:"ActionCard_pressPosts__QOOmL","at-inner":"ActionCard_at-inner__UIqyQ","join-us":"ActionCard_join-us__MJ8XP","join-us-issues":"ActionCard_join-us-issues__dLqaS","media-contact":"ActionCard_media-contact__P9aUu",row:"ActionCard_row__yQKLZ","bg-white":"ActionCard_bg-white__qf9TD","form-right":"ActionCard_form-right__zoCqP","at-form":"ActionCard_at-form__3nGB7","form-control":"ActionCard_form-control__RqXN2","iti--allow-dropdown":"ActionCard_iti--allow-dropdown__Qpq4_","at-form-submit":"ActionCard_at-form-submit__CbGj_","at-submit":"ActionCard_at-submit__jG_rr",container:"ActionCard_container__q_sT2","header-form":"ActionCard_header-form__KLX_9","at-text":"ActionCard_at-text__P0ZkN","at-legal":"ActionCard_at-legal__FjkGd","at-legend":"ActionCard_at-legend__pIUQ0",issues:"ActionCard_issues__yqvJm",item:"ActionCard_item__9cmHB",bordered:"ActionCard_bordered__bG8_F","flex-blockCarousel":"ActionCard_flex-blockCarousel__0H_SO","swiper-slide":"ActionCard_swiper-slide__3W1FM","blue-gradient":"ActionCard_blue-gradient__LsRNz","blue-cream-gradient":"ActionCard_blue-cream-gradient__mfdri","purple-cream-gradient":"ActionCard_purple-cream-gradient__idffP","bottom-purple":"ActionCard_bottom-purple__7rYxx",intro:"ActionCard_intro__vDUZc",mask:"ActionCard_mask__jMtFP",blue:"ActionCard_blue__T7v1E","nextgen-news":"ActionCard_nextgen-news__2Udox","issues-section":"ActionCard_issues-section__fJ_cY","issues-list":"ActionCard_issues-list__jEzaY",pill:"ActionCard_pill__aBaV2","viewport-header":"ActionCard_viewport-header__LYTWv","read-more":"ActionCard_read-more__Y8CcX","learn-more":"ActionCard_learn-more__ql
1CvU","video-background":"ActionCard_video-background__Cwx_i","row-container":"ActionCard_row-container__g_8s6","video-wrapper":"ActionCard_video-wrapper__Yi_GN",header:"ActionCard_header__8K1mN",disclaimer:"ActionCard_disclaimer__zQJ0K","sample-slider":"ActionCard_sample-slider__5nHcz","swiper-button-prev":"ActionCard_swiper-button-prev__NzFUN","swiper-button-next":"ActionCard_swiper-button-next__dElfj","page-link":"ActionCard_page-link__hbu2a","blocks-slider":"ActionCard_blocks-slider__nrwJ6","vote-e-signup":"ActionCard_vote-e-signup__w6bFP","support-our-cause":"ActionCard_support-our-cause__CHKbe","voter-guide-bg":"ActionCard_voter-guide-bg__bHMLC",cryptoWidget:"ActionCard_cryptoWidget__q5x6i","bg-dark-blue":"ActionCard_bg-dark-blue__iy0Z3","link-white":"ActionCard_link-white__ZlJZr","vertical-timeline-element--2022":"ActionCard_vertical-timeline-element--2022__NKxc9","vertical-timeline-element--2025":"ActionCard_vertical-timeline-element--2025__lAGKk","vertical-timeline-element--2024":"ActionCard_vertical-timeline-element--2024__iOmbo","vertical-timeline-element--2023":"ActionCard_vertical-timeline-element--2023__VLcid","vertical-timeline-element--2013":"ActionCard_vertical-timeline-element--2013__Ew80D","vertical-timeline-element--2021":"ActionCard_vertical-timeline-element--2021__DuvK3","vertical-timeline-element--2020":"ActionCard_vertical-timeline-element--2020__0nTUV","vertical-timeline-element--2019":"ActionCard_vertical-timeline-element--2019__kfmdZ","vertical-timeline-element--2018":"ActionCard_vertical-timeline-element--2018__AMavI","vertical-timeline-element--2017":"ActionCard_vertical-timeline-element--2017__jl7_1","vertical-timeline-element--2016":"ActionCard_vertical-timeline-element--2016__erdcs","vertical-timeline-element--2015":"ActionCard_vertical-timeline-element--2015__mKaOt","vertical-timeline-element--2014":"ActionCard_vertical-timeline-element--2014__A3ba1","carousel-container":"ActionCard_carousel-container__O4rQS","oa-input-container":"ActionCard_oa-input-container__t7W5o","btn-at-primary":"ActionCard_btn-at-primary__CFrnX","oa-page-embed":"ActionCard_oa-page-embed__ICtoz","oa-touched":"ActionCard_oa-touched__voMn9","oa-page":"ActionCard_oa-page__I_2G2","votebot-widget-btn":"ActionCard_votebot-widget-btn__ZWMYf",image:"ActionCard_image__g_pHB",actionCard:"ActionCard_actionCard__RvJFQ",cardTitle:"ActionCard_cardTitle__74XTc",category:"ActionCard_category__wXMwd",text:"ActionCard_text__PofZ5",cardLink:"ActionCard_cardLink__HBFKS",readMore:"ActionCard_readMore__x_ebz",moreBtn:"ActionCard_moreBtn__ElOvN","card-card":"ActionCard_card-card__9eqks"}},40092:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/act/[[...slug]]",function(){return i(9747)}])}},e=>{e.O(0,[690,956,925,371,188,752,386,852,34,167,168,486,17,546,149,223,636,593,792],()=>e(e.s=40092)),_N_E=e.O()}]);
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.