(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{36714:function(i,l,d){"use strict";var n=d(64836);l.Z=void 0;var e=n(d(64938)),o=d(85893);l.Z=(0,e.default)((0,o.jsx)("path",{d:"m15 5-1.41 1.41L18.17 11H2v2h16.17l-4.59 4.59L15 19l7-7z"}),"East")},75557:function(i,l,d){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return d(85901)}])},37810:function(i,l){"use strict";l.Z={src:"/_next/static/media/youtubeicon.2d0dcd6d.svg",height:800,width:1200,blurWidth:0,blurHeight:0}},95407:function(i,l,d){"use strict";d.d(l,{Z:function(){return f}});var n=d(85893),e=d(80822),o=d(43953),s=d(15861),t=d(86886),a=d(22135),v=d(67294),u=d(46066),c=d(36714),r=d(41664),m=d.n(r),h=d(11163);function f(i){var l,d,r,f,g,x,p,j,N,y,Z,k;let[S,b]=(0,v.useState)(!1),[w,_]=(0,v.useState)(),L=(0,h.useRouter)(),T=(null==i?void 0:null===(l=i.data)||void 0===l?void 0:l.description)?(0,a.S)(null==i?void 0:null===(d=i.data)||void 0===d?void 0:d.description):"";return(0,n.jsx)(e.Z,{component:"section",className:"Activity-Slider-Section ".concat(null==i?void 0:i.Class),children:(0,n.jsx)(o.Z,{maxWidth:"xl",className:"activity-container",children:(0,n.jsxs)(e.Z,{component:"div",children:[(null==i?void 0:null===(r=i.data)||void 0===r?void 0:r.title)&&(0,n.jsx)(s.Z,{variant:"h3",className:"title",children:null==i?void 0:null===(f=i.data)||void 0===f?void 0:f.title}),T&&(0,n.jsx)(e.Z,{className:"description",dangerouslySetInnerHTML:{__html:T}}),(null==i?void 0:i.slider)===!1?(0,n.jsx)(t.ZP,{container:!0,className:"giving-cards",columnSpacing:4,children:(null==i?void 0:null===(g=i.data)||void 0===g?void 0:g.activities)&&(null==i?void 0:null===(x=i.data)||void 0===x?void 0:x.activities.length)>0&&(null==i?void 0:null===(j=i.data)||void 0===j?void 0:null===(p=j.activities)||void 0===p?void 0:p.map((i,l)=>{var d,o,a,v,u,r,h,f,g,x,p,j,N,y,Z;return(0,n.jsx)(t.ZP,{item:!0,md:6,sx:{width:"100%"},className:"grid-giving",children:(null==i?void 0:null===(d=i.fields)||void 0===d?void 0:d.activityName)&&(0,n.jsx)(e.Z,{onClick:()=>{var l;return L.push(null==i?void 0:null===(l=i.fields)||void 0===l?void 0:l.activityLink)},component:"div",className:"slider-main",children:(0,n.jsx)(e.Z,{component:"div",sx:{backgroundImage:(null==i?void 0:null===(u=i.fields)||void 0===u?void 0:null===(v=u.backgroundImage)||void 0===v?void 0:null===(a=v.fields)||void 0===a?void 0:null===(o=a.file)||void 0===o?void 0:o.url)?"url(".concat(null==i?void 0:null===(g=i.fields)||void 0===g?void 0:null===(f=g.backgroundImage)||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:null===(r=h.file)||void 0===r?void 0:r.url,")"):""},className:w===l&&!0===S?"enter image-slider":"image-slider",children:(0,n.jsxs)(e.Z,{component:"div",className:"image-slider-text",onMouseEnter:()=>{b(!0),_(l)},onMouseLeave:()=>{b(!1),_(l)},children:[(null==i?void 0:null===(x=i.fields)||void 0===x?void 0:x.activityName)&&(0,n.jsx)(m(),{href:null==i?void 0:null===(p=i.fields)||void 0===p?void 0:p.activityLink,"aria-label":null==i?void 0:null===(j=i.fields)||void 0===j?void 0:j.activityName,children:(0,n.jsx)(s.Z,{className:"image-inner-title",children:null==i?void 0:null===(N=i.fields)||void 0===N?void 0:N.activityName})}),(null==i?void 0:null===(y=i.fields)||void 0===y?void 0:y.activityLink)&&(0,n.jsx)(m(),{class:"glow-on-hover",href:null==i?void 0:null===(Z=i.fields)||void 0===Z?void 0:Z.activityLink,"aria-label":"east-icon",children:(0,n.jsx)(c.Z,{className:"east-icon"})})]})})})},l)}))}):(0,n.jsx)(e.Z,{component:"div",className:"main-slick-slider",children:(0,n.jsx)(u.Z,{dots:!1,infinite:!0,speed:500,slidesToShow:3,autoplay:!0,slidesToScroll:1,autoplayspeed:2e3,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:899,settings:{slidesToShow:2,slidesToScroll:1,initialSlide:2}},{breakpoint:600,settings:{slidesToShow:1}},{breakpoint:450,settings:{slidesToShow:1.3}}],children:(null==i?void 0:null===(N=i.data)||void 0===N?void 0:N.activities)&&(null==i?void 0:null===(y=i.data)||void 0===y?void 0:y.activities.length)>0&&(null==i?void 0:null===(k=i.data)||void 0===k?void 0:null===(Z=k.activities)||void 0===Z?void 0:Z.map((i,l)=>{var d,o,t,a,u,r,h,f,g,x,p,j,N,y,Z;return(0,n.jsx)(v.Fragment,{children:(null==i?void 0:null===(d=i.fields)||void 0===d?void 0:d.activityName)&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e.Z,{onClick:()=>{var l;return L.push(null==i?void 0:null===(l=i.fields)||void 0===l?void 0:l.activityLink)},component:"div",className:"slider-main",children:(0,n.jsx)(e.Z,{component:"div",sx:{backgroundImage:(null==i?void 0:null===(u=i.fields)||void 0===u?void 0:null===(a=u.backgroundImage)||void 0===a?void 0:null===(t=a.fields)||void 0===t?void 0:null===(o=t.file)||void 0===o?void 0:o.url)?"url(".concat(null==i?void 0:null===(g=i.fields)||void 0===g?void 0:null===(f=g.backgroundImage)||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:null===(r=h.file)||void 0===r?void 0:r.url,")"):""},className:w===l&&!0===S?"enter image-slider":"image-slider",children:(0,n.jsxs)(e.Z,{component:"div",className:"image-slider-text",onMouseEnter:()=>{b(!0),_(l)},onMouseLeave:()=>{b(!1),_(l)},children:[(null==i?void 0:null===(x=i.fields)||void 0===x?void 0:x.activityName)&&(0,n.jsx)(m(),{href:null==i?void 0:null===(p=i.fields)||void 0===p?void 0:p.activityLink,"aria-label":null==i?void 0:null===(j=i.fields)||void 0===j?void 0:j.activityName,children:(0,n.jsx)(s.Z,{className:"image-inner-title",children:null==i?void 0:null===(N=i.fields)||void 0===N?void 0:N.activityName})}),(null==i?void 0:null===(y=i.fields)||void 0===y?void 0:y.activityLink)&&(0,n.jsx)(m(),{class:"glow-on-hover",href:null==i?void 0:null===(Z=i.fields)||void 0===Z?void 0:Z.activityLink,"aria-label":"east-icon",children:(0,n.jsx)(c.Z,{className:"east-icon"})})]})})})})},l)}))})})]})})})}},85901:function(i,l,d){"use strict";d.r(l),d.d(l,{__N_SSP:function(){return c},default:function(){return r}});var n=d(85893),e=d(24969),o=d(67294),s=d(90137),t=d(68780),a=d(95407),v=d(43340),u=d(99634);d(9008);var c=!0;function r(i){var l,d,e,c,r,m;let{page_themedata:h,newsFeedOverview:f}=i;return(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(s.p,{data:null===(l=h[0])||void 0===l?void 0:l.fields,entryid:null===(e=h[0])||void 0===e?void 0:null===(d=e.sys)||void 0===d?void 0:d.id}),null===(m=h[0])||void 0===m?void 0:null===(r=m.fields)||void 0===r?void 0:null===(c=r.components)||void 0===c?void 0:c.map((i,l)=>(0,n.jsx)(o.Fragment,{children:(()=>{var l,d,e;switch(null==i?void 0:null===(e=i.sys)||void 0===e?void 0:null===(d=e.contentType)||void 0===d?void 0:null===(l=d.sys)||void 0===l?void 0:l.id){case"bannerSection":return(0,n.jsx)(t.Z,{data:null==i?void 0:i.fields});case"postSection":return(0,n.jsx)(v.Z,{data:null==i?void 0:i.fields,newsData:f,homePageNews:!0,Class:"home-post-slider"});case"activitySlider":return(0,n.jsx)(a.Z,{data:null==i?void 0:i.fields});case"ctaSection":return(0,n.jsx)(u.Z,{data:null==i?void 0:i.fields,ctaPosition:"absolute"})}})()},l))]})}r.getLayout=i=>(0,n.jsx)(e.A,{cta:!0,children:i})}},function(i){i.O(0,[4976,4196,1756,5742,4969,8028,3340,9774,2888,179],function(){return i(i.s=75557)}),_N_E=i.O()}]);