PageSourceSearch

https://bagrifoundation.org/_next/static/chunks/app/funding-opportunities/page-0d0b0c372a4c0802.js

js bagrifoundation.org collected 2026-10-03 20:30:51 UTC 12,938 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7185],{85981:function(e,t,n){Promise.resolve().then(n.bind(n,84759))},95656:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(48174),r=n(56063),o=n(66808),l=n(22166);let a=(0,n(94143).Z)("MuiBox",["root"]),s=(0,o.Z)();var d=(0,i.Z)({themeId:l.Z,defaultTheme:s,defaultClassName:a.root,generateClassName:r.Z.generate})},48174:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=n(1119),r=n(74610),o=n(2265),l=n(61994),a=n(90702),s=n(38720),d=n(95086),u=n(12720),c=n(57437);let p=["className","component"];function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{themeId:t,defaultTheme:n,defaultClassName:h="MuiBox-root",generateClassName:f}=e,x=(0,a.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z);return o.forwardRef(function(e,o){let a=(0,u.Z)(n),s=(0,d.Z)(e),{className:g,component:m="div"}=s,v=(0,r.Z)(s,p);return(0,c.jsx)(x,(0,i.Z)({as:m,ref:o,className:(0,l.Z)(g,f?f(h):h),theme:t&&a[t]||a},v))})}},84759:function(e,t,n){"use strict";n.d(t,{default:function(){return C}});var i=n(57437),r=n(2265),o=n(16210),l=n(5002),a=n(85765),s=n(89414),d=n(7540),u=n(72419);let c=(0,o.ZP)(l.Z)({textTransform:"unset",textAlign:"center",marginTop:"2rem",marginBottom:"3rem",[d.Z.breakpoints.down("sm")]:{marginBottom:"30px"}}),p=(0,o.ZP)(a.Z)({[d.Z.breakpoints.down("sm")]:{padding:0}}),h=(0,o.ZP)("div")({fontFamily:"Inter",fontSize:"18px",lineHeight:"20px",fontWeight:300,[d.Z.breakpoints.down("sm")]:{fontSize:"14px",lineHeight:"18px"}}),f=(0,o.ZP)(h)({"& ul":{listStyle:"none"},"& li":{fontFamily:"Inter",fontSize:"14px",lineHeight:"22px",color:"#2B2D30",marginBottom:"10px"},"& li::before":{content:'"\xb7"',fontSize:"18px",color:"#777777",fontWeight:"bold",display:"inline-block",width:"1em"},"& p":{fontFamily:"Inter",fontSize:"14px",lineHeight:"22px",color:"#2B2D30",margin:"15px 0"},"& a":{color:"#E54325"}});(0,o.ZP)(l.Z)({textTransform:"unset"});let x=(0,o.ZP)(s.ZP)({justifyContent:"center",flexWrap:"nowrap",marginBottom:"40px",alignItems:"center",[d.Z.breakpoints.down(745)]:{flexDirection:"column",alignItems:"center"}}),g=(0,o.ZP)(u.E.div)({backgroundColor:"#F8F5F5",padding:"40px 50px",width:"580px",zIndex:1,[d.Z.breakpoints.down(1024)]:{width:"506px",padding:"20px 30px"},[d.Z.breakpoints.down(745)]:{width:"100%"},"& h2":{fontFamily:"Inter",fontSize:"32px",lineHeight:"38px",fontWeight:300,color:"#E54325"}}),m=(0,o.ZP)(u.E.div)({position:"relative",width:"600px",height:"400px",[d.Z.breakpoints.down(1024)]:{width:"498px",height:"331px"},[d.Z.breakpoints.down("sm")]:{width:"100%",height:"300px","& > img":{position:"unset !important"}},"& > img":{width:"100% !important",height:"100% !important",position:"absolute",top:0}}),v=(0,o.ZP)(s.ZP)({justifyContent:"space-around",marginBottom:"80px",[d.Z.breakpoints.down("sm")]:{flexDirection:"column",alignItems:"center"},"& > div":{margin:"10px 0"}});var w=n(32790),b=n(33145),y=n(82156),Z=n(95656);function j(e){let{opportunities:t}=e,[n,o]=(0,r.useState)(!1);(0,r.useEffect)(()=>{o(!0)},[]);let l=(0,y.Z)(d.Z.breakpoints.down(745)),a=Array.isArray(t)?t:[],s=(e,t)=>t?e%2==0?"column":"column-reverse":e%2==0?"row":"row-reverse";return(0,i.jsxs)("div",{children:[(0,i.jsx)(u.E.div,{initial:{opacity:0,x:75},animate:{opacity:1,x:0},transition:{duration:1,ease:"easeOut"},children:(0,i.jsx)(c,{variant:"h1",children:"Funding"})}),(0,i.jsx)(Z.Z,{children:a.map((e,t)=>{var r,o;let a=(null==e?void 0:e.description)||"",d=(null==e?void 0:null===(o=e.image)||void 0===o?void 0:null===(r=o.data)||void 0===r?void 0:r.attributes)||(null==e?void 0:e.image),u=(0,w.GG)((0,w.TB)(a));if(!(null==d?void 0:d.url))return null;let{url:c,alternativeText:p,name:h,caption:v}=d;return(0,i.jsxs)(x,{container:!0,flexDirection:s(t,l),children:[(0,i.jsx)(g,{initial:{x:t%2==0?-150:150,opacity:0},whileInView:{x:0,opacity:1},viewport:{once:!0},transition:{duration:1,ease:"easeOut"},children:n&&(0,i.jsx)(f,{dangerouslySetInnerHTML:{__html:u}})}),(0,i.jsxs)(m,{initial:{x:t%2==0?150:-150,opacity:0},whileInView:{x:0,opacity:1},viewport:{once:!0},transition:{duration:1,ease:"easeOut"},children:[(0,i.jsx)(b.default,{src:c,alt:p||h||"",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",loading:"lazy",style:{right:t%2==0?0:"unset",objectFit:"cover"}}),(0,i.jsx)("span",{style:{fontSize:"10px",lineHeight:"13px",fontWeight:300,color:"rgba(119, 119, 119, 1)",position:"absolute",bottom:"-25px",textAlign:"center",display:"inline-block",margin:"0 15px",width:"100%"},children:v||""})]})]},t)})})]})}var S=n(27648),k=n(28819);function z(e){let{grantees:t}=e,[n,r,o]=(0,k.YD)({threshold:.5,triggerOnce:!0}),l=Array.isArray(t)?t:[],a={visible:{opacity:1,scale:1,y:0},hidden:{opacity:0,scale:.65,y:50}};return(0,i.jsxs)("div",{children:[(0,i.jsx)(u.E.div,{animate:r?"visible":"hidden",variants:a,transition:{duration:1,ease:"easeOut"},ref:n,children:(0,i.jsx)(c,{variant:"h1",children:"End of Year Reviews"})}),(0,i.jsx)(Z.Z,{children:(0,i.jsx)(u.E.div,{animate:r?"visible":"hidden",variants:a,transition:{duration:2,ease:"easeOut"}
1,ref:n,children:(0,i.jsx)(v,{container:!0,children:l.map((e,t)=>{var n,r;let o=null==e?void 0:e.link,l=(null==e?void 0:null===(r=e.image)||void 0===r?void 0:null===(n=r.data)||void 0===n?void 0:n.attributes)||(null==e?void 0:e.image);if(!o||!(null==l?void 0:l.url))return null;let{url:a,alternativeText:d,name:u}=l;return(0,i.jsx)(s.ZP,{item:!0,children:(0,i.jsx)(S.default,{passHref:!0,href:o,target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)(b.default,{src:a,alt:d||u||"",width:163,height:231})})},t)})})})})]})}var H=n(72383);function C(e){var t;let{opportunities:n}=e;if(!n||0===n.length)return(0,i.jsx)(p,{children:(0,i.jsx)("p",{children:"No funding opportunities available at the moment."})});let r=(null==n?void 0:null===(t=n[0])||void 0===t?void 0:t.attributes)||(null==n?void 0:n[0])||(null==n?void 0:n.attributes)||n;if(!r)return(0,i.jsx)(p,{children:(0,i.jsx)(H.default,{})});let o=Array.isArray(null==r?void 0:r.opportunity)?r.opportunity:[],l=Array.isArray(null==r?void 0:r.grantees)?r.grantees:[];return(0,i.jsxs)(p,{children:[(0,i.jsx)(j,{opportunities:o}),(0,i.jsx)(z,{grantees:l})]})}},72383:function(e,t,n){"use strict";n.d(t,{default:function(){return h}});var i=n(57437);n(2265);var r=n(7540),o=n(16210),l=n(5002);let a=(0,o.ZP)("div")({display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",height:"100vh"}),s=(0,o.ZP)(l.Z)({fontSize:"18px",lineHeight:"20px",fontWeight:300,color:"#54595F",marginTop:"150px",marginBottom:"40px",textTransform:"none",[r.Z.breakpoints.down(745)]:{fontSize:"18px"},[r.Z.breakpoints.down("sm")]:{fontSize:"14px",lineHeight:"18px",marginTop:"80px"}}),d=(0,o.ZP)(l.Z)({fontSize:"22px",lineHeight:"26px",fontWeight:500,textAlign:"center",marginTop:"40px",color:"#54595F",[r.Z.breakpoints.down("sm")]:{fontSize:"18px",lineHeight:"22px"},textTransform:"none","& > a":{fontSize:"22px",lineHeight:"26px",fontWeight:700,color:"#E54325",textTransform:"none",[r.Z.breakpoints.down("sm")]:{fontSize:"18px",lineHeight:"22px"}}}),u=(0,o.ZP)("div")({width:"131px",height:"147px",position:"relative"});var c=n(33145),p=n(27648);function h(){return(0,i.jsxs)(a,{children:[(0,i.jsx)(s,{variant:"h5",children:"Sorry, we haven't found any matches."}),(0,i.jsx)(u,{children:(0,i.jsx)(c.default,{src:"/404_animation.svg",alt:"404 logo",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",loading:"lazy"})}),(0,i.jsxs)(d,{variant:"h4",children:["Please try our ",(0,i.jsx)(p.default,{passHref:!0,href:"/projects",children:"Projects"})," page using the",(0,i.jsx)("br",{}),"Smart search filter at the top."]})]})}},62151:function(e,t,n){"use strict";function i(e){let{src:t,width:n,quality:i}=e;if(!t.startsWith("http"))return t;let r=encodeURIComponent(t);return"https://wsrv.nl/?url=".concat(r,"&w=").concat(n,"&q=").concat(i||75,"&output=webp")}n.r(t),n.d(t,{default:function(){return i}})},32790:function(e,t,n){"use strict";n.d(t,{Ax:function(){return s},GG:function(){return d},TB:function(){return l},k3:function(){return u},v4:function(){return a}});var i=n(57970),r=n(7624),o=n(33344);i.TU.use((0,r.d)()),i.TU.use((0,o.un)({prefix:"my-prefix-"}));let l=e=>e&&"string"==typeof e?(0,i.TU)(e):"",a=e=>e?String(e).trim().replace(/[^\w\d]+/g,"-").toLowerCase():"";function s(e){return new URL(e,(0,window.location.origin)).toString()}let d=e=>e&&"string"==typeof e?e.replace(/<a\s+(href="https?:\/\/)/g,'<a target="_blank" rel="noopener noreferrer" $1'):"",u=()=>{window.scrollTo({top:0,behavior:"smooth"})}},7540:function(e,t,n){"use strict";let i=(0,n(66808).Z)({typography:{fontFamily:"Inter",h1:{fontSize:40,fontWeight:300,lineHeight:"43px",textTransform:"uppercase",marginBottom:"2rem",color:"#E54325","@media (max-width: 750px)":{fontSize:32,lineHeight:"38px"}},h2:{fontSize:32,fontWeight:300,lineHeight:"38px",textTransform:"uppercase",marginBottom:"2rem",color:"#E54325","@media (max-width: 750px)":{fontSize:28,lineHeight:"34px"}},h3:{fontSize:32,fontWeight:400,lineHeight:"36px",textTransform:"uppercase",marginBottom:"2rem",color:"#54595F","@media (max-width: 750px)":{fontSize:16,lineHeight:"22px",color:"#777777"}},h4:{fontSize:22,fontWeight:500,lineHeight:"26px",textTransform:"uppercase",marginBottom:"2rem",color:"#54595F","@media (max-width: 750px)":{fontSize:18,lineHeight:"22px"}},h5:{fontSize:18,fontWeight:300,lineHeight:"20px",textTransform:"uppercase",marginBottom:"2rem",color:"#777777","@media (max-width: 750px)":{fontSize:14,lineHeight:"22px"}},subtitle1:{},subtitle2:{},body1:{fontSize:14,fontWeight:300,lineHeight:"22px",textTransform:"unset",color:"#2B2D30"},body2:{},button:{},caption:{},overline:{}},components:{MuiButton:{styleOverrides:{root:{borderRadius:"3px",backgroundColor:"#E54325",fontFamily:"Inter",fontSize:"14px",lineHeight:"20px",fontWeight:600,color:"#FAFAFA",cursor:"pointer",padding:"8px 20px 8px 20px","&:hover":{backgroundColor:"#FD340F"},"&:focus":{backgroundColor:"#DE6C50"},"&:disabled":{backgroundColor:"#DFC1BB"}},outlined:{borderRadius:"3px",backgroundColor:"inherit",fontFamily:"Inter",fontSize:"14px",lineHeight:"20px",fontWeight:600,color:"#54595F",cursor:"pointer",padding:"8px 20px 8px 20px",borderColor:"#E54325","&:hover":{backgroundColor:"inherit",borderColor:"#E54325"},"&:focus":{backgroundColor:"inherit",borderColor:"#E54325"},"&:disabled":{backgroundColor:"inherit",borderColor:"#E54325"}}}},MuiList:{styleOverrides:{root:{listStyleType:"none"}}},MuiListItem:{styleOverrides:{root:{"&::before":{content:'"\xb7"',fontSize:"18px",color:"#777777",fontWeight:"bold",display:"inline-block",width:"1em"}}}}}});t.Z=i},28819:function(e,t,n){"use strict";n.d(t,{YD:function(){return d}});
1var i=n(2265),r=Object.defineProperty,o=new Map,l=new WeakMap,a=0,s=void 0;function d(){var e;let{threshold:t,delay:n,trackVisibility:r,rootMargin:d,root:u,triggerOnce:c,skip:p,initialInView:h,fallbackInView:f,onChange:x}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[g,m]=i.useState(null),v=i.useRef(x),[w,b]=i.useState({inView:!!h,entry:void 0});v.current=x,i.useEffect(()=>{let e;if(!p&&g)return e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;if(void 0===window.IntersectionObserver&&void 0!==i){let r=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:r,observer:d,elements:u}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return"".concat(t,"_").concat("root"===t?(n=e.root)?(l.has(n)||(a+=1,l.set(n,a.toString())),l.get(n)):"0":e[t])}).toString(),n=o.get(t);if(!n){let i;let r=new Map,l=new IntersectionObserver(t=>{t.forEach(t=>{var n;let o=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach(e=>{e(o,t)})})},e);i=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:l,elements:r},o.set(t,n)}return n}(n),c=u.get(e)||[];return u.has(e)||u.set(e,c),c.push(t),d.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(u.delete(e),d.unobserve(e)),0===u.size&&(d.disconnect(),o.delete(r))}}(g,(t,n)=>{b({inView:t,entry:n}),v.current&&v.current(t,n),n.isIntersecting&&c&&e&&(e(),e=void 0)},{root:u,rootMargin:d,threshold:t,trackVisibility:r,delay:n},f),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,g,u,d,c,p,r,f,n]);let y=null==(e=w.entry)?void 0:e.target,Z=i.useRef(void 0);g||!y||c||p||Z.current===y||(Z.current=y,b({inView:!!h,entry:void 0}));let j=[m,w.inView,w.entry];return j.ref=j[0],j.inView=j[1],j.entry=j[2],j}i.Component}},function(e){e.O(0,[5002,7648,3145,5765,5755,8972,2971,2117,1744],function(){return e(e.s=85981)}),_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.