1"use strict";(self.webpackChunkhellodarwin_website=self.webpackChunkhellodarwin_website||[]).push([[9471],{46406:function(e,l,n){n.r(l),n.d(l,{Head:function(){return P},default:function(){return I}});var t=n(58168),i=n(96540),r=n(83177),a=n(63825),o=n(95402),s=n(48066),d=n(60436),c=n(74914),u=n(46328),p=n(25960),g=n(64810),m=n(92740),h=(0,m.default)(g.N_).withConfig({componentId:"sc-j0xcck-0"})([""," width:100%;"],e=>{var{$noTitle:l}=e;return(0,p.Cm)(l?"body1":"body2")}),x=m.default.div.withConfig({componentId:"sc-j0xcck-1"})(["padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;"]),f=m.default.div.withConfig({componentId:"sc-j0xcck-2"})(["width:300px;flex-shrink:0;overflow:hidden;@media (max-width:","px){width:100%;}"],e=>e.theme.breakpoints.tablet),y=n(74848),A=e=>{var{pages:l,noTitle:n}=e,t=(0,i.useMemo)(()=>{if(!l)return[];var e=new Map;return l.forEach(l=>{var n,t,i,r,a,{fullHandle:o,pageName:s}=l;if(!e.has(o))if(s.length)e.set(o,{pageTitle:s,fullHandle:o});else{var d=null!==(n=null==o||null===(t=o.split("/"))||void 0===t||null===(i=t.pop())||void 0===i||null===(r=i.replace("fr/",""))||void 0===r||null===(a=r.split("-"))||void 0===a?void 0:a.join(" "))&&void 0!==n?n:"",c=d[0].toUpperCase()+d.slice(1);e.set(o,{pageTitle:c,fullHandle:o})}}),Array.from(e.values())},[l]);return null!=t&&t.length?(0,y.jsx)(x,{children:t.map(e=>{var{fullHandle:l,pageTitle:t}=e;return(0,y.jsx)(f,{children:(0,y.jsx)(h,{to:"/"+l,$noTitle:n,children:t})},l)})}):(0,y.jsx)(y.Fragment,{})},v=n(32456),j=n(84972),b=e=>{var{title:l,children:n}=e;return(0,y.jsxs)(j.A,{fromRoot:!0,styles:{content:{paddingTop:0}},children:[!(null==l||!l.length)&&(0,y.jsx)(v.A.Title,{level:2,elementTheme:"h6",textAlign:"left",style:{width:"100%"},children:l}),n]})},T=e=>{var{title:l,groups:n,type:t}=e,{t:r}=(0,c.c3)(),a=(0,i.useMemo)(()=>{var e;return null!==(e=null==n?void 0:n.map(e=>({title:"blog"===t?r("sitemap_labels|"+e.fieldValue):e.fieldValue,id:e.fieldValue,children:(0,y.jsx)(A,{pages:e.nodes})})))&&void 0!==e?e:[]},[n,r,t]);return n?(0,y.jsx)(b,{title:l,children:(0,y.jsx)(u.A,{gap:12,accordion:!0,items:a})}):(0,y.jsx)(y.Fragment,{})},k=e=>{var{title:l,pages:n}=e;return(0,y.jsx)(b,{title:l,children:(0,y.jsx)(A,{pages:n,noTitle:!l})})},L=new Set(["/","404"]),C=e=>{var{t:l}=(0,c.c3)(),{allPage1Links:n,allPage2Links:t,allServiceLinks:r,allGrantPageLinks:a}=e,o=(0,i.useMemo)(()=>(e=>e.filter(e=>!L.has(e.fullHandle)).sort((e,l)=>e.pageName.localeCompare(l.pageName)))([].concat((0,d.A)(n.nodes),(0,d.A)(t.nodes),(0,d.A)(r.nodes))),[n.nodes,t.nodes,r.nodes]);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(k,{pages:o}),(0,y.jsx)(T,{title:l("site_map|grantsDirectory"),groups:a.group,type:"directory"})]})},w=n(5469),I=e=>{var{data:{allMainPage1Links:{nodes:[{relatedPage:l}]},allPage1Links:n,allPage2Links:s,allGrantPageLinks:d,allServiceLinks:c}}=e,{components:u}=l;return(0,y.jsx)(o.A,{children:null==u?void 0:u.map((e,l)=>{switch(e.__typename){case"ContentfulIntroComponent":return(0,y.jsxs)(i.Fragment,{children:[(0,y.jsx)(a.A,(0,t.A)({},e,{fromRoot:!0,isHero:0===l})),(0,y.jsx)(C,{allPage1Links:n,allPage2Links:s,allServiceLinks:c,allGrantPageLinks:d})]},e.id);case"ContentfulBannerComponent":return(0,y.jsx)(r.A,(0,t.A)({},e,{fromRoot:!0}),e.id);default:return(0,y.jsx)(i.Fragment,{},e.id)}})})},P=e=>{var l,n,t,i,r,{location:a,data:{allMainPage1Links:{nodes:[{relatedPage:o}]}},pageContext:d}=e,{seoMeta:c}=o,u={kind:"site-map"},p=(0,w.n)({currentPlan:d.publicationPlan,currentRoute:a.pathname,entryId:null!==(l=null===(n=d.publicationPlan)||void 0===n?void 0:n.entryId)&&void 0!==l?l:d.pageName,family:u,locale:d.locale,matchingLinks:[],translationKey:null!==(t=null===(i=d.publicationPlan)||void 0===i?void 0:i.translationKey)&&void 0!==t?t:d.pageName});return(0,y.jsx)(s.Ay,{family:u,plan:p,metadata:(0,w.V)({description:c.descriptionSeo,explicitImage:(0,s.Lw)(c.openGraphImage),openGraphType:c.openGraphTypes,supplementalStructuredData:null===(r=c.seoSchema)||void 0===r?void 0:r.structuredDataJson,title:c.titleSeo})})}},83177:function(e,l,n){n.d(l,{A:function(){return j}});var t=n(58168),i=n(46328),r=n(27965),a=n(92740),o=n(60701),s=n(53305),d=n(20493),c=n(32456),u=n(96540),p=n(98713),g=n(42922),m=n(5074),h=n(74848),x={renderMark:{[d.j.BOLD]:e=>(0,h.jsx)("b",{children:e})},renderNode:{[s.X.HYPERLINK]:(e,l)=>{var{uri:n}=e.data;return(0,h.jsx)(m.A,{url:n,children:l})},[o.n.HEADING_2]:(e,l)=>(0,h.jsx)(c.A.Title,{level:2,elementTheme:"h4",children:l}),[o.n.HEADING_3]:(e,l)=>(0,h.jsx)(c.A.Title,{level:3,elementTheme:"h5",style:{marginBlockStart:24},children:l}),[o.n.HEADING_4]:(e,l)=>(0,h.jsx)(c.A.Title,{level:4,elementTheme:"h6",style:{marginTop:16,textAlign:"left"},children:l}),[o.n.HEADING_5]:(e,l)=>(0,h.jsx)(c.A.Title,{level:5,elementTheme:"subtitle1",style:{marginTop:16,textAlign:"left"},children:l}),[o.n.HEADING_6]:(e,l)=>(0,h.jsx)(c.A.Title,{level:6,elementTheme:"subtitle2",style:{marginTop:16,textAlign:"left"},children:l}),[o.n.PARAGRAPH]:(e,l)=>(0,h.jsx)(c.A,{elementTheme:"body2",children:l}),[o.n.LIST_ITEM]:(e,l)=>(0,h.jsx)("li",{style:{marginBlock:0,textAlign:"left"},children:(0,h.jsx)(c.A,{elementTheme:"body2",children:l})}),[o.n.OL_LIST]:(e,l)=>(0,h.jsx)("ol",{style:{marginBlock:0},children:l}),[o.n.UL_LIST]:(e,l)=>(0,h.jsx)("ul",{style:{marginBlock:0},children:l})}},f=e=>{var{bodyLong:l,body:n,city:t,citySeparator:i,alignement:r,color:a,isCollapse:o,forceLeftAlignOnMobile:s}=e,d=o?x:p.e,m=(0,g.A)({body:n,bodyLong:l,city:t,citySeparator:i,textOptions:d}),f=(0,u.isValidElement)(l)?l:m;return f?(0,h.jsx)(c.A,{textAlign:r,tablet:{textAlign:s?"left":"center"},color:a,style:{display:"flex",flexDirection:"column",gap:o?8:16},children:f}):(0,h.jsx)(h.Fragment,{})},y=n(16965),A=n(7344),v=e=>{var{title:l,body:n,bodyLong:i,CTAs:r,size:o,mainColor:s,alignement:d="left",fullWidth:u,city:p,citySeparator:g,forceLeftAlignOnMobile:m}=e,x=(0,a.useTheme)(),v=(0,A.Ob)(s,x),j="small"===o?"h4":"large"===o?"h2":"h3",b={city:p,citySeparator:g,color:v.text,alignement:d,body:n,bodyLong:i,forceLeftAlignOnMobile:m};return(0,h.jsxs)(A.OQ,{$fullWidth:u,children:[(0,h.jsxs)(A.mf,{children:[(0,h.jsx)(c.A,{elementTheme:j,color:v.text,textAlign:u?"left"
1:"center",tablet:{textAlign:m?"left":"center"},children:l}),(0,h.jsx)(f,(0,t.A)({},b))]}),(0,h.jsx)("div",{children:(0,h.jsx)(y.A,{CTAs:r,analyticsContext:{cta_location:"section",component_type:"cta_banner"}})})]})},j=e=>{var{mainColor:l,fullWidth:n,size:o,collapsedBody:s,fromRoot:d,isHero:c,city:u,citySeparator:p,cap:g,style:m,hideCollapse:x=!1,forceLeftAlignOnMobile:y,roundCorners:j,outerBackgroundColor:b}=e,T=(0,a.useTheme)(),k=(0,A.Ob)(l,T),L=!n&&!!j&&!!b,C=b?T.colors[b]:void 0,w={styles:{container:(0,t.A)({color:null==k?void 0:k.svg},L?{paddingBottom:T.spacing.xl,paddingTop:T.spacing.xl}:{}),content:(0,t.A)({},m)},backgroundColor:n||null==k?void 0:k.background,containerBackgroundColor:n?null==k?void 0:k.background:C,overflowHidden:!0,fromRoot:d,isHero:c,cap:g?T.caps[g]:n?T.caps.big:T.caps.normal},I={city:u,citySeparator:p,color:k.text,alignement:n?"left":"center",bodyLong:s,forceLeftAlignOnMobile:y};return(0,h.jsx)(A.Uq,(0,t.A)({direction:"column",alignement:"center",$fullWidth:n,$size:o,$roundCorners:j,$framed:L},w,{children:(0,h.jsx)(A.V,{children:!x&&s?(0,h.jsx)(i.A,{ghost:!0,style:{zIndex:100},ExpandIcon:e=>{var{isActive:l}=e;return(0,h.jsx)(r.A,{down:l,color:k.text,size:16})},items:[{title:(0,h.jsx)(v,(0,t.A)({},e)),children:(0,h.jsx)(f,(0,t.A)({},I,{isCollapse:!0})),id:"banner",styles:{content:{color:k.text}}}]}):(0,h.jsx)(v,(0,t.A)({},e,{alignement:n?"left":"center"}))})}))}}}]); 2//# sourceMappingURL=component---src-templates-sitemap-builder-tsx-58c5cb1f3ec0cc0fc28b.js.map
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.