1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[683],{969:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/legacy-home",function(){return o(4143)}])},2489:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var s=o(7876),n=o(7328),i=o.n(n);let l=()=>(0,s.jsx)(i(),{children:(0,s.jsx)("meta",{name:"robots",content:"noindex"})})},4143:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>er});var s=o(7876),n=o(4232),i=o(4937),l=o(9794),r=o(4773),a=o(4846),x=o(2487),c=o(987),d=o(3009),p=o(6640),m=o(1538),h=o(4147),g=o(7866),b=o(946),f=o(3034),u=o(3205),F=o(776),y=o(8504),j=o(1902),A=o(6976),v=o(8865),k=o(7957);let w=e=>{let{amount:t,onSuccess:o,onCancel:r}=e,a=(0,j.useStripe)(),c=(0,j.useElements)(),[d,p]=(0,n.useState)(!1),[m,h]=(0,n.useState)(null),g=async e=>{if(e.preventDefault(),!a||!c)return;p(!0),h(null);let{error:t}=await a.confirmPayment({elements:c,confirmParams:{return_url:"".concat(window.location.origin,"/donation-success")}});t?h(t.message||"An unexpected error occurred."):o(),p(!1)};return(0,s.jsxs)(i.A,{component:"form",onSubmit:g,sx:{padding:3,maxWidth:500,margin:"0 auto",backgroundColor:"#FFFAF4",borderRadius:2,boxShadow:"0 4px 8px rgba(0,0,0,0.1)"},children:[(0,s.jsx)(l.A,{variant:"h5",sx:{marginBottom:2,textAlign:"center",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:600,color:"#1A1A1A"},children:"Complete Your Donation"}),(0,s.jsxs)(l.A,{variant:"h6",sx:{marginBottom:3,textAlign:"center",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#008897",fontWeight:700},children:["$",t," USD"]}),(0,s.jsx)(j.PaymentElement,{options:{layout:"tabs"}}),m&&(0,s.jsx)(v.A,{severity:"error",sx:{marginTop:2,marginBottom:2},children:m}),(0,s.jsxs)(i.A,{sx:{display:"flex",gap:2,marginTop:3},children:[(0,s.jsx)(x.A,{type:"button",onClick:r,variant:"outlined",fullWidth:!0,sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:600,color:"#008897",borderColor:"#008897","&:hover":{backgroundColor:"rgba(0, 136, 151, 0.1)"}},children:"Cancel"}),(0,s.jsx)(x.A,{type:"submit",disabled:!a||d,variant:"contained",fullWidth:!0,sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:600,backgroundColor:"#008897","&:hover":{backgroundColor:"#097A7F"},"&:disabled":{backgroundColor:"#cccccc"}},children:d?(0,s.jsx)(k.A,{size:24,color:"inherit"}):"Donate $".concat(t)})]})]})};var S=o(6703),H=o(1671);let W=()=>{let[e,t]=(0,n.useState)(!1),[o,r]=(0,n.useState)(!1),[v,k]=(0,n.useState)(!1),[W,C]=(0,n.useState)(null),[R,z]=(0,n.useState)(0),[L,D]=(0,n.useState)(""),{t:B,ready:I}=(0,a.Bd)(),P=()=>{t(!1)},{scrollToSection:M}=(0,S.a)();if(!I)return(0,s.jsx)("div",{children:"Loading..."});let E=e=>{e&&M(e)},T=e=>{t(!1),E(e)},_=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&e>0)try{if(t){let t=await fetch("/api/create-subscription",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({amount:e})}),o=await t.json();o.url?window.location.href=o.url:console.error("Error creating subscription:",o)}else{let t=await fetch("/api/create-payment-intent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({amount:e})}),o=await t.json();o.clientSecret?(C(o.clientSecret),z(e),r(!0)):console.error("Error creating payment intent:",o)}}catch(e){console.error("Error processing donation:",e)}},N=()=>{r(!1),C(null),z(0)},Y=()=>{k(!1),D("")},O=e=>{k(!1),D(""),_(e,!0)},$=[{label:B("nav.ourPurpose"),section:"ourPurpose"},{label:B("nav.projects"),section:"projects"},{label:B("nav.stories"),section:"stories"},{label:B("nav.events"),section:"events"}];return(0,s.jsxs)(i.A,{component:"section",sx:{position:"relative",height:{smallsMobile:"88vh",tablet:"100vh"},overflow:"hidden",width:"100%",maxWidth:"100vw"},children:[(0,s.jsxs)(i.A,{sx:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center","& img":{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}},children:[(0,s.jsx)(i.A,{component:"img",src:"/assets/images/hero-home.jpg",alt:"Hero background",sx:{dis
1play:{xs:"none",lg:"block"},width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"}}),(0,s.jsx)(i.A,{component:"img",src:"/assets/images/hero-home-mobile.jpg",alt:"Hero background",sx:{display:{xs:"block",lg:"none"},width:"100%",height:"100%",objectFit:"cover",objectPosition:"top"}})]}),(0,s.jsxs)(i.A,{component:"nav",sx:{position:"relative",zIndex:30,display:"flex",alignItems:"flex-start",justifyContent:"space-between",padding:{xs:"16px",lg:"24px 48px"}},children:[(0,s.jsxs)(i.A,{sx:{display:{xs:"none",lg:"flex"},alignItems:"center",gap:{xs:2,md:4,lg:5.5}},children:[(0,s.jsx)(x.A,{onClick:()=>E("ourPurpose"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:{xs:"18px",lg:"24px"},color:"#FFF",textTransform:"none",padding:"8px 16px",minWidth:"auto",textShadow:"0 2px 4px rgba(0, 0, 0, 0.7)","&:hover":{color:"#E6FF4D"},transition:"color 0.3s ease"},children:B("nav.ourPurpose")}),(0,s.jsx)(x.A,{onClick:()=>E("projects"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:{xs:"18px",lg:"24px"},color:"#FFF",textTransform:"none",padding:"8px 16px",minWidth:"auto",textShadow:"0 2px 4px rgba(0, 0, 0, 0.7)","&:hover":{color:"#E6FF4D"},transition:"color 0.3s ease"},children:B("nav.projects")}),(0,s.jsx)(x.A,{onClick:()=>E("stories"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:{xs:"18px",lg:"24px"},color:"#FFF",textTransform:"none",padding:"8px 16px",minWidth:"auto",textShadow:"0 2px 4px rgba(0, 0, 0, 0.7)","&:hover":{color:"#E6FF4D"},transition:"color 0.3s ease"},children:B("nav.stories")}),(0,s.jsx)(x.A,{onClick:()=>E("events"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:{xs:"18px",lg:"24px"},color:"#FFF",textTransform:"none",padding:"8px 16px",minWidth:"auto",textShadow:"0 2px 4px rgba(0, 0, 0, 0.7)","&:hover":{color:"#E6FF4D"},transition:"color 0.3s ease"},children:B("nav.events")})]}),(0,s.jsx)(i.A,{sx:{display:{xs:"block",lg:"none"}},children:(0,s.jsx)(x.A,{onClick:()=>{t(!e)},sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"18px",color:"#FFF",padding:"5px 10px",borderRadius:"8px",textTransform:"none",textDecoration:"underline",textShadow:"0 0 10px rgba(0, 0, 0, 0.5)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.3)"},transition:"background-color 0.3s ease"},children:B("common.menu")})}),(0,s.jsx)(i.A,{sx:{position:"absolute",top:106,right:{xs:16,lg:20},zIndex:50,display:{smallsMobile:"none",laptop:"block"}},children:(0,s.jsx)(H.A,{variant:"header"})}),(0,s.jsx)(i.A,{sx:{position:"absolute",top:0,right:0,background:"linear-gradient(135deg, rgba(184, 217, 88, 0.7) 0%, rgba(123, 193, 66, 0.7) 25%, rgba(76, 175, 80, 0.7) 50%, rgba(38, 166, 154, 0.7) 75%, rgba(0, 172, 193, 0.7) 100%)",display:"flex",flexDirection:"column",justifyContent:"center",padding:"10px 10px",maxWidth:{xs:"280px",lg:"350px"},width:"auto"},children:(0,s.jsxs)(i.A,{sx:{width:"100%"},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"14px",lg:"24px"},color:"#FFF",textAlign:"right",textShadow:"0 0 10px rgba(0, 0, 0, 0.5)",mb:{xs:.5,lg:1},whiteSpace:"nowrap"},children:B("common.giveHopeToday")}),(0,s.jsxs)(i.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:{xs:"14px",lg:"16px"}},children:[(0,s.jsx)(x.A,{onClick:()=>{window.location.href="https://donate.stripe.com/3cs9AD4vHbNw9kQ9AE"},sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:{xs:"10px",lg:"16px"},color:"#EDECDA",textTransform:"none",textDecoration:"underline",padding:0,marginRight:"10px",minWidth:"auto",textShadow:"0 0 10px rgba(0, 0, 0, 0.5)","&:hover":{color:"#FFF"},transition:"color 0.3s ease"},children:B("common.oneTimeDonation")}),(0,s.jsx)(x.A,{onClick:()=>{window.location.href="https://buy.stripe.com/5kA0037HT18SeFa8wB"},sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:{xs:"10px",lg:"16px"},color:"#EDECDA",textTransform:"none",textDecoration:"underline",padding:0,textShadow:"0 0 10px rgba(0, 0, 0, 0.5)",minWidth:"auto","&:hover":{color:"#FFF"},transition:"color 0.3s ease"},children:B("common.monthlyDonation")})]})]})})]}
1),(0,s.jsx)(c.Ay,{anchor:"left",open:e,onClose:P,sx:{display:{xs:"block",lg:"none"},"& .MuiDrawer-paper":{width:"280px",background:"#FBFCF9",borderRight:"2px solid #008897"}},children:(0,s.jsxs)(i.A,{sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column"},children:[(0,s.jsxs)(i.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",p:3,borderBottom:"1px solid rgba(0, 136, 151, 0.2)",background:"linear-gradient(90deg, rgba(0, 136, 151, 0.05) 0%, rgba(175, 203, 55, 0.05) 100%)"},children:[(0,s.jsx)(i.A,{component:"img",src:"/assets/images/logo.svg",alt:"Kaleido Logo",sx:{height:"30px",width:"auto"}}),(0,s.jsx)(x.A,{onClick:P,sx:{minWidth:"auto",p:1,color:"#008897","&:hover":{background:"rgba(0, 136, 151, 0.1)"}},children:(0,s.jsx)(y.A,{})})]}),(0,s.jsx)(d.A,{sx:{flex:1,py:2},children:$.map((e,t)=>(0,s.jsx)(p.Ay,{sx:{px:0},children:(0,s.jsx)(x.A,{onClick:()=>T(e.section),sx:{width:"100%",justifyContent:"flex-start",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:600,fontSize:"18px",color:"#1A1A1A",textTransform:"none",py:2,px:3,borderRadius:0,"&:hover":{background:"rgba(0, 136, 151, 0.1)",color:"#008897"}},children:e.label})},t))}),(0,s.jsx)(m.A,{sx:{borderColor:"rgba(0, 136, 151, 0.2)"}}),(0,s.jsx)(i.A,{sx:{p:3,display:"flex",justifyContent:"center"},children:(0,s.jsx)(H.A,{variant:"mobile"})}),(0,s.jsx)(m.A,{sx:{borderColor:"rgba(0, 136, 151, 0.2)"}}),(0,s.jsx)(i.A,{sx:{p:3},children:(0,s.jsx)(x.A,{onClick:()=>{window.location.href="https://donate.stripe.com/3cs9AD4vHbNw9kQ9AE"},sx:{width:"100%",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"18px",color:"#FFF",backgroundColor:"#008897",py:2,px:3,borderRadius:0,textTransform:"none","&:hover":{backgroundColor:"#006B73"}},children:"Donate Now"})})]})}),(0,s.jsx)(i.A,{sx:{position:"absolute",left:0,bottom:30,zIndex:20,display:{xs:"none",lg:"flex"},flexDirection:"column",justifyContent:"center",padding:"0 24px"},children:(0,s.jsxs)(i.A,{sx:{mb:0},children:[(0,s.jsx)(i.A,{component:"img",src:"/assets/images/logo.svg",alt:"Kaleido Logo",sx:{height:{xs:"80px",lg:"120px"},width:"auto",mb:1}}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"20px",lg:"34px"},color:"#FFF",fontWeight:500,textShadow:"0 2px 4px rgba(0, 0, 0, 0.7)",letterSpacing:"0.05em",wordSpacing:"0.7em"},children:B("hero.tagline")})]})}),(0,s.jsxs)(h.A,{open:v,onClose:Y,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{backgroundColor:"#FFFAF4",borderRadius:2}},children:[(0,s.jsxs)(g.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:600,color:"#1A1A1A"},children:["Choose Your Monthly Donation Amount",(0,s.jsx)(b.A,{onClick:Y,sx:{color:"#008897"},children:(0,s.jsx)(y.A,{})})]}),(0,s.jsxs)(f.A,{sx:{padding:3},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:"16px",color:"#666",marginBottom:3,textAlign:"center"},children:"Your monthly donation will help us provide consistent support to survivors"}),(0,s.jsx)(u.A,{direction:"row",spacing:2,sx:{marginBottom:3},children:[10,25,50,100].map(e=>(0,s.jsxs)(x.A,{onClick:()=>O(e),sx:{flex:1,height:"50px",fontSize:"16px",fontWeight:600,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#FFF",backgroundColor:"#008897",borderRadius:1,"&:hover":{backgroundColor:"#006B73"}},children:["$",e]},e))}),(0,s.jsxs)(i.A,{sx:{marginBottom:3},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:"14px",color:"#666",marginBottom:1},children:"Or enter a custom amount:"}),(0,s.jsx)(F.A,{fullWidth:!0,value:L,onChange:e=>{D(e.target.value.replace(/[^0-9]/g,""))},placeholder:"Enter amount",InputProps:{startAdornment:(0,s.jsx)(l.A,{sx:{color:"#666",marginRight:1},children:"$"})},sx:{"& .MuiOutlinedInput-root":{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif","& fieldset":{borderColor:"#008897"},"&:hover fieldset":{borderColor:"#006B73"},"&.Mui-focused fieldset":{borderColor:"#008897"}}}})]}),L&&(0,s.jsxs)(x.A,{fullWidth:!0,onClick:()=>O(parseInt(L)),disabled:!L||1>parseInt(L),sx:{height:"50px",fontSize:"16px",fontWeight:600,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#FFF",backgroundColor:"#008897",borderRadius:1,"&:hover":{backgroundColor:"#006B73"},"&:disabled":{backgroundColor:"#cccccc",color:"#666"}},children:["Donate $",L," Monthly"]})]})]}),(0,s.jsx)(h.A,{open:o,onClose:N,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{backgroundColor:"transparent",boxShadow:"none"}},children:(0,s.jsx)(f.A,{sx:{padding:0},children:W&&(0,s.jsx)(j.Elements,{stripe:A.A,options:{clientSecret:W},children:(0,s.jsx)(w,{amount:R,onSuccess:()=>{r(!1),C(null),z(0),window.location.href="/donation-success"},onCancel:N})})})})]})};
1var C=o(3913);let R=()=>{let{t:e,ready:t}=(0,a.Bd)();return t?(0,s.jsxs)(i.A,{component:"section",sx:{position:"relative",py:{xs:6,md:12}},children:[(0,s.jsx)(i.A,{sx:{position:"absolute",inset:0,backgroundColor:"#FBFCF9"}}),(0,s.jsx)(i.A,{sx:{position:"absolute",inset:0,background:"linear-gradient(to bottom, rgba(0, 136, 151, 0.1), rgba(251, 252, 249, 0.6))"}}),(0,s.jsx)(i.A,{sx:{position:"relative",zIndex:10},children:(0,s.jsx)(C.A,{maxWidth:"lg",children:(0,s.jsxs)(i.A,{sx:{maxWidth:"1000px",mx:"auto",textAlign:"center"},children:[(0,s.jsx)(l.A,{component:"h2",sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{smallsMobile:"20px",md:"36px",lg:"46px"},fontWeight:700,color:"#00869D",mb:3,lineHeight:1.2},children:e("hero.title")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{smallsMobile:"16px",md:"24px",lg:"26px"},color:"#1A1A1A",lineHeight:1.5,fontWeight:400},children:e("hero.description")})]})})})]}):(0,s.jsx)("div",{style:{padding:"48px 0"},children:"Loading..."})},z=(0,r.Ay)(i.A)(e=>{let{theme:t}=e;return{width:"100%",minHeight:"100vh",position:"relative",background:"#FBFCF9",overflow:"hidden",overflowX:"hidden",maxWidth:"100vw",display:"flex",flexDirection:"column",[t.breakpoints.down("tablet")]:{minHeight:"100vh"},[t.breakpoints.down("mobile")]:{minHeight:"100vh"}}}),L=()=>{let{t:e,ready:t}=(0,a.Bd)();return t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(z,{children:[(0,s.jsx)(W,{}),(0,s.jsxs)(i.A,{sx:{display:{xs:"block",lg:"none"},position:"absolute",bottom:0,left:0,right:0,zIndex:10,padding:"24px",textAlign:"center",backgroundImage:'url("/assets/images/fondo-mobile.jpg")',backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:[(0,s.jsx)(i.A,{component:"img",src:"/assets/images/logo.svg",alt:"Kaleido Logo",sx:{height:"40px",width:"auto",mb:1}}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:"18px",color:"#FFF",fontWeight:500,textShadow:"0 2px 4px rgba(0, 0, 0, 0.7)"},children:e("hero.tagline")})]})]}),(0,s.jsx)(R,{})]}):(0,s.jsx)("div",{style:{minHeight:"100vh",background:"#FBFCF9"},children:"Loading..."})};var D=o(566),B=o(8061);let I=e=>{let{impactItems:t,onDonate:o}=e,[l,r]=(0,n.useState)(0),[a,x]=(0,n.useState)(0),[c,d]=(0,n.useState)(0),p=e=>{r(e)},m=()=>{r(e=>(e+1)%t.length)},h=()=>{r(e=>(e-1+t.length)%t.length)};return(0,s.jsxs)(i.A,{sx:{mb:4,mx:"auto",position:"relative",px:2},children:[(0,s.jsx)(i.A,{sx:{position:"relative",overflow:"hidden",height:"400px"},onTouchStart:e=>{d(0),x(e.targetTouches[0].clientX)},onTouchMove:e=>{d(e.targetTouches[0].clientX)},onTouchEnd:()=>{if(!a||!c)return;let e=a-c;e>50?m():e<-50&&h()},children:(0,s.jsx)(i.A,{sx:{display:"flex",transform:"translateX(-".concat(100*l,"%)"),transition:"transform 0.5s ease-in-out",height:"100%"},children:t.map((e,t)=>(0,s.jsx)(i.A,{sx:{minWidth:"100%",height:"100%",position:"relative"},children:(0,s.jsx)(M,{item:e,sx:{width:"100%",height:"100%"},onDonate:o})},t))})}),(0,s.jsx)(i.A,{sx:{display:"flex",justifyContent:"center",gap:1,mt:3},children:t.map((e,t)=>(0,s.jsx)(i.A,{onClick:()=>p(t),sx:{width:12,height:12,borderRadius:"50%",backgroundColor:l===t?"#FFF":"rgba(255, 255, 255, 0.5)",cursor:"pointer",transition:"all 0.3s ease","&:hover":{backgroundColor:l===t?"#FFF":"rgba(255, 255, 255, 0.7)"}}},t))})]})},P=e=>{let{impactItems:t,onDonate:o}=e;return(0,s.jsx)(i.A,{sx:{mb:4,mx:"auto",overflow:"hidden"},children:(0,s.jsxs)(u.A,{direction:"row",spacing:5,children:[(0,s.jsx)(i.A,{sx:{width:"100%"},children:(0,s.jsx)(M,{item:t[0],sx:{width:"80%"},onDonate:o})}),(0,s.jsxs)(u.A,{direction:"column",spacing:5,width:"100%",children:[(0,s.jsx)(i.A,{sx:{display:"flex",justifyContent:"flex-end",width:"100%",paddingLeft:"3rem"},children:(0,s.jsx)(M,{item:t[1],sx:{width:"100%"},btnContainerSx:{justifyContent:"flex-start"},onDonate:o})}),(0,s.jsx)(i.A,{sx:{},children:(0,s.jsx)(M,{item:t[2],sx:{width:"95%"},btnContainerSx:{justifyContent:"flex-end"},textSx:{textAlign:"right"},onDonate:o})})]})]})})},M=e=>{let{item:t,sx:o,btnContainerSx:n,textSx:r,onDonate:c}=e,{t:d}=(0,a.Bd)();return(0,s.jsxs)(i.A,{sx:{position:"relative",overflow:"hidden",boxShadow:"0 4px 12px rgba(0,0,0,0.2)",backgroundColor:"#fff",...o},children:[(0,s.jsx)(i.A,{component:"img",src:t.image,alt:"Impact image",sx:{width:"100%",height:"100%",objectFit:"cover",display:"block",objectPosition:"center"}}),(0,s.jsxs)(i.A,{sx:{position:"absolute",bottom:0,left:0,right:0,color:"white",padding:"80px 20px 20px"},children:[(0,s.jsxs)(l.A,{component:"h3",sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"16px",sm:"18px",md:"20px",lg:"24px"}
1,fontWeight:600,marginBottom:"16px",lineHeight:1.3,textShadow:"0 2px 4px rgba(0, 0, 0, 0.7)",textAlign:"left",...r},children:[t.amount," ",t.impact]}),(0,s.jsxs)(i.A,{sx:{display:"flex",gap:{xs:"10px",sm:"10px",md:"20px",lg:"30px"},flexWrap:"nowrap",...n},children:[(0,s.jsx)(x.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",backgroundColor:"#008897",color:"#FFF",fontSize:"14px",fontWeight:600,textTransform:"none",px:3,py:1,height:"40px",maxHeight:"40px",whiteSpace:"nowrap",border:"none",borderRadius:0,"&:hover":{backgroundColor:"rgba(0, 136, 151, 0.9)"}},children:t.buttonText}),(0,s.jsxs)(x.A,{onClick:()=>c(t.amount),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",backgroundColor:"#E6FF4D",color:"#006B73",fontSize:"14px",fontWeight:600,textTransform:"none",px:3,py:1,height:"40px",maxHeight:"40px",whiteSpace:"nowrap",border:"none",borderRadius:0,"&:hover":{backgroundColor:"rgba(230, 255, 77, 0.9)"}},children:[d("sections.freedomStart.donate")," ",t.amount," ",d("sections.freedomStart.now")]})]})]})]})},E=()=>{let e=(0,D.A)(),t=(0,B.A)(e.breakpoints.down("md")),[o,r]=(0,n.useState)(!1),[x,c]=(0,n.useState)(null),[d,p]=(0,n.useState)(0),{t:m,ready:g}=(0,a.Bd)();if(!g)return(0,s.jsx)("div",{style:{minHeight:"100vh",background:"#FBFCF9"},children:"Loading..."});let b=e=>{let t=parseInt(e.replace(/[^0-9]/g,"")),o="";switch(t){case 50:o="https://buy.stripe.com/cNi7sK10sefh3tr5jt7Zu0a";break;case 100:o="https://buy.stripe.com/00w7sKbF60or3tr6nx7Zu09";break;case 500:o="https://buy.stripe.com/14AaEW38A9Z1e854fp7Zu07";break;default:console.warn("Monto no reconocido:",t);return}window.open(o,"_blank")},u=()=>{r(!1),c(null),p(0),window.location.href="/donation-success"},F=()=>{r(!1),c(null),p(0)},y=[{image:"/assets/images/pgibson.png",amount:"$100",impact:m("sections.freedomStart.impact100"),buttonText:m("sections.freedomStart.button100"),align:"left"},{image:"/assets/images/pgibson2.png",amount:"$50",impact:m("sections.freedomStart.impact50"),buttonText:m("sections.freedomStart.button50"),align:"right"},{image:"/assets/images/pgibson3.png",amount:"$500",impact:m("sections.freedomStart.impact500"),buttonText:m("sections.freedomStart.button500"),align:"left"}];return(0,s.jsx)(()=>(0,s.jsxs)(i.A,{component:"section",sx:{position:"relative",py:6,backgroundImage:'url("/assets/images/freedom-fondo.jpg")',backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:[(0,s.jsx)(i.A,{sx:{position:"relative",zIndex:10},children:(0,s.jsxs)(C.A,{maxWidth:"xl",style:{padding:0},children:[(0,s.jsxs)(i.A,{sx:{mb:4,marginX:{xs:2,sm:2,lg:8}},children:[(0,s.jsxs)(l.A,{component:"h2",sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"28px",md:"36px"},fontWeight:700,color:"#FFF",mb:2,lineHeight:1.2,textShadow:"0 2px 4px rgba(0, 0, 0, 0.5)"},children:[m("sections.freedomStart.title"),(0,s.jsx)("br",{}),m("sections.freedomStart.subtitle")]}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:"18px",color:"#FFF",maxWidth:"700px",lineHeight:1.6,textShadow:"0 1px 2px rgba(0, 0, 0, 0.5)"},children:m("sections.freedomStart.description")})]}),t?(0,s.jsx)(I,{impactItems:y,onDonate:b}):(0,s.jsx)(P,{impactItems:y,onDonate:b}),(0,s.jsx)(i.A,{sx:{textAlign:"center"},children:(0,s.jsxs)(l.A,{component:"h3",sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"24px",sm:"26px",md:"28px",lg:"35px"},fontWeight:400,color:"#FFF",textShadow:"0 2px 4px rgba(0, 0, 0, 0.5)",maxWidth:{xs:"90%",sm:"80%",md:"700px"},mx:"auto",lineHeight:1.4,px:{xs:2,sm:3,md:0}},children:[m("sections.freedomStart.textend1"),t?" ":(0,s.jsx)("br",{}),m("sections.freedomStart.textend2")]})})]})}),(0,s.jsx)(h.A,{open:o,onClose:F,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{backgroundColor:"transparent",boxShadow:"none"}},children:(0,s.jsx)(f.A,{sx:{padding:0},children:x&&(0,s.jsx)(j.Elements,{stripe:A.A,options:{clientSecret:x},children:(0,s.jsx)(w,{amount:d,onSuccess:u,onCancel:F})})})})]}),{})};var T=o(4410);let _=()=>
1{let[e,t]=(0,n.useState)(""),[o,r]=(0,n.useState)(""),[c,d]=(0,n.useState)(!1),[p,m]=(0,n.useState)(!1),[g,b]=(0,n.useState)(null),{t:F}=(0,a.Bd)(),y=e=>{t(e.toString()),r(""),d(!1)},k=e=>{switch(e){case 1e3:return"https://buy.stripe.com/5kQfZg8sU5IL6FD8vF7Zu06";case 500:return"https://buy.stripe.com/14AaEW38A9Z1e854fp7Zu07";case 250:return"https://buy.stripe.com/4gMaEW24w3ADd414fp7Zu08";case 100:return"https://buy.stripe.com/00w7sKbF60or3tr6nx7Zu09";default:return null}},S=()=>{m(!1),b(null)},H=t=>e===t.toString();return(0,s.jsx)(i.A,{sx:{display:"flex",justifyContent:"center",alignItems:"center",width:{xs:"90%",sm:"80%",md:"70%",lg:"100%",xl:"100%"},marginBottom:{xs:0,sm:0,md:0,lg:3}},children:(0,s.jsxs)(i.A,{sx:{width:"100%",mx:"auto"},children:[(0,s.jsx)(l.A,{variant:"h1",sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"1.5rem",sm:"1.5rem",md:"1.5rem",lg:"1.5rem",xl:"2rem"},color:"#FFFAF4",marginBottom:{xs:1,sm:1,md:1,lg:3},textAlign:{xs:"center",sm:"center",md:"center",lg:"start",xl:"start"},lineHeight:{xs:1.1,md:1},px:{xs:1,sm:2,md:2,lg:0}},children:F("sections.problemId.stat4")}),(0,s.jsx)(i.A,{sx:{position:"relative",padding:{xs:1.5,sm:2,md:2.5,lg:3,xl:3},overflow:"hidden","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,opacity:.8,background:"linear-gradient(90deg, rgb(79, 193, 193) 0%, rgb(210, 224, 124) 100%)",zIndex:1}},children:(0,s.jsxs)(i.A,{sx:{position:"relative",zIndex:2},children:[(0,s.jsx)(u.A,{direction:"row",spacing:2,children:[1e3,500,250,100].map(e=>(0,s.jsxs)(x.A,{onClick:()=>y(e),sx:{height:"40px",width:"100%",fontSize:{xs:"0.8rem",sm:"0.9rem",md:"1rem",lg:"1rem",xl:"1rem"},fontWeight:700,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#FFFAF4",borderRadius:0,backgroundColor:H(e)?"#4A9BA8":"#008897",border:H(e)?"1px solid #FFFAF4":"none",transform:"scale(1)",transition:"all 0.3s ease","&:hover":{backgroundColor:"#4A9BA8",transform:"translateY(-4px)",boxShadow:"0 12px 24px rgba(0,0,0,0.4)"}},children:["$",e]},e))}),(0,s.jsxs)(u.A,{direction:"row",spacing:2,justifyContent:"center",sx:{width:"100%",mt:2},children:[(0,s.jsx)(x.A,{onClick:()=>window.open("https://donate.stripe.com/3cs9AD4vHbNw9kQ9AE","_blank"),sx:{height:"40px",width:"100%",fontSize:{xs:"0.8rem",sm:"0.9rem",md:"1rem",lg:"1rem",xl:"1rem"},fontWeight:700,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#FFFAF4",border:"3px solid #008897",borderRadius:0,backgroundColor:"transparent","&:hover":{transform:"translateY(-4px)",boxShadow:"0 12px 24px rgba(0,0,0,0.4)"}},children:F("sections.problemId.stat4Part1")}),(0,s.jsx)(x.A,{size:"small",onClick:()=>{let t=parseInt("custom"===e?o:e);if(!t||t<=0){d(!0),setTimeout(()=>d(!1),3e3);return}if("custom"===e){window.open("https://donate.stripe.com/3cs9AD4vHbNw9kQ9AE","_blank");return}let s=k(t);s?window.open(s,"_blank"):(d(!0),setTimeout(()=>d(!1),3e3))},sx:{width:"100%",fontSize:{xs:"0.8rem",sm:"0.9rem",md:"1rem",lg:"1rem",xl:"1rem"},fontWeight:700,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#036F71",backgroundColor:"#F5E663",borderRadius:"0px",boxShadow:"0 8px 16px rgba(0,0,0,0.3)",transition:"all 0.3s ease","&:hover":{backgroundColor:"#F0E650",transform:"translateY(-4px)",boxShadow:"0 12px 24px rgba(0,0,0,0.4)"}},children:F("sections.freedomStart.donate")})]}),c&&(0,s.jsx)(i.A,{sx:{mt:{xs:1,sm:1,md:1}},children:(0,s.jsx)(v.A,{severity:"warning",sx:{backgroundColor:"rgba(255, 152, 0, 0.8)",color:"#FFFAF4",fontSize:{xs:"1rem",sm:"1rem",md:"1rem",lg:"1rem"},fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif","& .MuiAlert-icon":{fontSize:{xs:"1rem",sm:"1rem",md:"1rem",lg:"1rem"}}},children:"Please select an amount to donate"})})]})}),(0,s.jsx)(h.A,{open:p,onClose:S,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{backgroundColor:"transparent",boxShadow:"none"}},children:(0,s.jsx)(f.A,{children:g&&(0,s.jsx)(j.Elements,{stripe:A.A,options:{clientSecret:g},children:(0,s.jsx)(w,{amount:parseInt("custom"===e?o:e),onSuccess:()=>
1{m(!1),b(null),t(""),r(""),alert("Thank you for your donation! Your payment has been processed successfully.")},onCancel:S})})})})]})})},N=()=>{let{t:e,ready:t}=(0,a.Bd)();return t?(0,s.jsx)(i.A,{component:"section",sx:{position:"relative",minHeight:"100vh",display:"flex",alignItems:{smallsMobile:"flex-start",tablet:"center"},justifyContent:"center",overflow:"hidden",backgroundColor:"#5A5A5A",backgroundImage:'url("/assets/images/pgibson4.png")',backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",paddingBottom:{xs:15,sm:15,md:20,lg:0}},children:(0,s.jsxs)(C.A,{maxWidth:"xl",sx:{position:"relative",zIndex:1,px:{xs:0,lg:8},pt:{smallsMobile:0,tablet:8},pb:{smallsMobile:6,tablet:8}},children:[(0,s.jsx)(l.A,{component:"h1",sx:{py:{smallsMobile:4,tablet:0},maxWidth:1002,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"18px",tablet:"48px"},lineHeight:"110%",fontWeight:300,letterSpacing:"0.1em",textAlign:"center",color:"#FFFAF4",mb:{xs:10,lg:14},textTransform:"uppercase",background:"linear-gradient(90deg, rgba(0, 136, 151, 0.62) -10.75%, rgba(175, 203, 55, 0.62) 99.98%)",mx:"auto"},children:e("sections.problemId.title")}),(0,s.jsxs)(T.Ay,{container:!0,spacing:{xs:0,sm:0,md:0,lg:8},alignItems:"center",sx:{height:"100%",marginBottom:{xs:1,sm:1,md:1,lg:10}},children:[(0,s.jsx)(T.Ay,{item:!0,xs:12,lg:8,sx:{},children:(0,s.jsx)(i.A,{sx:{color:"white",pl:{xs:2,lg:4}},children:(0,s.jsxs)(i.A,{sx:{position:"relative"},children:[(0,s.jsxs)(i.A,{sx:{mb:{xs:10,lg:14}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"25px",sm:"32px",md:"36px",lg:"40px"},fontWeight:300,lineHeight:.45},children:e("sections.problemId.stat1Number")}),(0,s.jsxs)(i.A,{sx:{display:"flex",alignItems:"baseline",pb:1},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"25px",sm:"32px",md:"36px",lg:"40px"},fontWeight:300},children:e("sections.problemId.stat1Text")}),(0,s.jsx)(i.A,{sx:{height:"3px",backgroundColor:"#FDFFF3",opacity:.5,flex:1,ml:2,mr:{xs:2,sm:3,md:4,lg:5},maxWidth:"20%"}})]})]}),(0,s.jsxs)(i.A,{sx:{ml:{xs:3,sm:12,lg:20},mb:{xs:10,lg:14}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"24px",sm:"28px",md:"32px",lg:"36px"},fontWeight:300,lineHeight:.45},children:e("sections.problemId.stat2Number")}),(0,s.jsxs)(i.A,{sx:{display:"flex",alignItems:"baseline",pb:1},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"25px",sm:"32px",md:"36px",lg:"40px"},fontWeight:300},children:e("sections.problemId.stat2Text")}),(0,s.jsx)(i.A,{sx:{height:"3px",backgroundColor:"#FDFFF3",opacity:.5,flex:1,ml:2,mr:{xs:2,sm:3,md:4,lg:5},maxWidth:"20%"}})]})]}),(0,s.jsxs)(i.A,{sx:{ml:{xs:7,sm:20,lg:36}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"25px",sm:"32px",md:"36px",lg:"40px"},fontWeight:300,lineHeight:.45},children:e("sections.problemId.stat3Part1")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"25px",sm:"32px",md:"36px",lg:"40px"},fontWeight:300},children:e("sections.problemId.stat3Part2")}),(0,s.jsxs)(i.A,{sx:{display:"flex",alignItems:"baseline",pb:1},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:{xs:"25px",sm:"32px",md:"36px",lg:"40px"},fontWeight:300,lineHeight:.45},children:e("sections.problemId.stat3Part3")}),(0,s.jsx)(i.A,{sx:{height:"3px",backgroundColor:"#FDFFF3",opacity:.5,flex:1,ml:2,mr:{xs:1,sm:3,md:4,lg:5},maxWidth:{xs:"100%",sm:"100%",md:"100%",lg:"20%"}}})]})]})]})})}),(0,s.jsx)(T.Ay,{item:!0,xs:12,lg:4,sx:{marginTop:{xs:10,sm:10,md:10,lg:0},height:"100%",position:"relative",display:"flex",alignItems:"flex-end",alignSelf:"flex-end"},children:(0,s.jsx)(i.A,{sx:{position:"absolute",bottom:-150,left:0,right:0,display:"flex",justifyContent:{xs:"center",sm:"center",md:"center",lg:"flex-start"},alignItems:"flex-end",mt:{xs:6,lg:0}},children:(0,s.jsx)(_,{})})})]})]})}):(0,s.jsx)("div",{style:{minHeight:"100vh",background:"#5A5A5A"},children:"Loading..."})};var Y=o(5650),O=o(8766);let $=[{id:1,key:"construction",image:"assets/images/funding-1.png"},{id:2,key:"medicalCare",image:"assets/images/funding-2.png"},{id:3,key:"legalAssistance",image:"assets/images/funding-3.png"},{id:4,key:"psychologicalSupport",image:"assets/images/funding-4.jpg"},{id:5,key:"socialReintegration",image:"assets/images/funding-5.jpg"},{id:6,key:"educationTraining",image:"assets/images/funding-6.jpg"},{id:7,key:"lifeSkills",image:"assets/images/funding-7.jpg"}],X=()=>{let{t:e,ready:t}
1=(0,a.Bd)(),[o,r]=(0,n.useState)(0),[c,d]=(0,n.useState)(!1),[p,m]=(0,n.useState)(!1),[v,k]=(0,n.useState)(null),[S,H]=(0,n.useState)(0),[W,C]=(0,n.useState)(""),R=()=>{m(!1),C("")},z=async e=>{if(m(!1),C(""),e&&e>0)try{let t=await fetch("/api/create-payment-intent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({amount:e})}),o=await t.json();o.clientSecret?(k(o.clientSecret),H(e),d(!0)):console.error("Error creating payment intent:",o)}catch(e){console.error("Error creating payment intent:",e)}},L=()=>{d(!1),k(null),H(0)},D=$[o];return t?(0,s.jsxs)(i.A,{sx:{width:"100%",position:"relative",py:{xs:6,tablet:10},backgroundImage:'url("/assets/images/fouding-fondo.jpg")',backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:[(0,s.jsxs)(i.A,{sx:{position:"relative",zIndex:2,width:"100%",height:"100%"},children:[(0,s.jsx)(i.A,{sx:{textAlign:"center",mb:{xs:6,tablet:8},px:{xs:2,tablet:4}},children:(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{smallsMobile:"19px",tablet:"36px",desktop:"48px"},lineHeight:"104%",color:"#097A7F",textAlign:"center",maxWidth:"879px",margin:"0 auto"},children:e("sections.fundingPrograms.title","Your Funding Goes to These Critical Projects and Programs.")})}),(0,s.jsxs)(i.A,{sx:{display:"flex",alignItems:{smallsMobile:"center",mobile:"end"},gap:{xs:3,tablet:4},flexDirection:{smallsMobile:"column",mobile:"row"},mx:{smallsMobile:2,mobile:0}},children:[(0,s.jsx)(i.A,{sx:{flex:"0 0 auto",width:{smallsMobile:"100%",mobile:"50%"},height:"auto"},children:(0,s.jsx)(i.A,{component:"img",src:D.image,alt:e("funding.".concat(D.key,".title")),sx:{width:"100%",height:"100%",objectFit:"cover",transition:"all 0.5s ease-in-out"}})}),(0,s.jsxs)(i.A,{sx:{flex:1,maxWidth:{xs:"100%",tablet:"382px"},textAlign:"left"},children:[(0,s.jsx)(l.A,{sx:{whiteSpace:"pre-line",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"26px",tablet:"30px",desktop:"36px"},lineHeight:"110%",color:"#3B3E3F",mb:3,transition:"all 0.3s ease-in-out"},children:e("funding.".concat(D.key,".title"))}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{xs:"18px",tablet:"20px",desktop:"24px"},lineHeight:"108%",color:"#1A1A1A",mb:4,transition:"all 0.3s ease-in-out"},children:e("funding.".concat(D.key,".description"))}),(0,s.jsxs)(i.A,{sx:{display:"flex",alignItems:"flex-start",flexDirection:{mobile:"column"},justifyContent:"space-between"},children:[(0,s.jsx)(x.A,{onClick:()=>{window.location.href="https://donate.stripe.com/3cs9AD4vHbNw9kQ9AE"},sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{smallsMobile:10,miniMobile:10,tinyMobile:12,mobile:14},letterSpacing:"-0.2px",padding:"13px 20px",background:"#008897",color:"#FFF",border:"none",borderRadius:0,mb:{xs:3,tablet:4},transition:"background 0.3s ease","&:hover":{background:"#006B73"}},children:e("funding.button")}),(0,s.jsxs)(i.A,{sx:{display:"flex",gap:1,justifyContent:{xs:"center",tablet:"flex-start"},alignItems:"center",ml:{smallsMobile:2,mobile:0}},children:[(0,s.jsx)(x.A,{onClick:()=>{r(e=>0===e?$.length-1:e-1)},sx:{minWidth:"42px",width:"42px",height:"42px",borderRadius:"50%",background:"#961F74",color:"#FFFAF4",p:0,transition:"all 0.3s ease","&:hover":{background:"#7A1A5F",transform:"scale(1.1)"}},children:(0,s.jsx)(Y.A,{})}),(0,s.jsx)(x.A,{onClick:()=>{r(e=>e===$.length-1?0:e+1)},sx:{minWidth:"42px",width:"42px",height:"42px",borderRadius:"50%",background:"#961F74",color:"#FFFAF4",p:0,transition:"all 0.3s ease","&:hover":{background:"#7A1A5F",transform:"scale(1.1)"}},children:(0,s.jsx)(O.A,{})})]})]})]})]})]}),(0,s.jsxs)(h.A,{open:p,onClose:R,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{backgroundColor:"#FFFAF4",borderRadius:2}},children:[(0,s.jsxs)(g.A,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:600,color:"#1A1A1A"},children:["Choose Your Donation Amount",(0,s.jsx)(b.A,{onClick:R,sx:{color:"#008897"},children:(0,s.jsx)(y.A,{})})]}),(0,s.jsxs)(f.A,{sx:{padding:3},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:"16px",color:"#666",marginBottom:3,textAlign:"center"},children:"Your donation will help restore hope and transform lives"}),(0,s.jsx)(u.A,{direction:"row",spacing:2,sx:{marginBottom:3},children:[25,50,100,250].map(e=>(0,s.jsxs)(x.A,{onClick:()=>z(e),sx:{flex:1,height:"50px",fontSize:"16px",fontWeight:600,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#FFF",backgroundColor:"#008897",borderRadius:1,"&:hover":{backgroundColor:"#006B73"}},children:["$",e]},e))}),(0,s.jsxs)(i.A,{sx:{marginBottom:3},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontSize:"14px",color:"#666",marginBottom:1},children:"Or enter a custom amount:"}),(0,s.jsx)(F.A,{fullWidth:!0,value:W,onChange:e=>{C(e.target.value.replace(/[^0-9]/g,""))},placeholder:"Enter amount",InputProps:{startAdornment:(0,s.jsx)(l.A,{sx:{color:"#666",marginRight:1},children:"$"})},sx:{"& .MuiOutlinedInput-root":{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif","& fieldset":{borderColor:"#008897"},"&:hover fieldset":{borderColor:"#006B73"},"&.Mui-focused fieldset":{borderColor:"#008897"}}}})]}),W&&(0,s.jsxs)(x.A,{fullWidth:!0,onClick:()=>z(parseInt(W)),disabled:!W||1>parseInt(W),sx:{height:"50px",fontSize:"16px",fontWeight:600,fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",color:"#FFF",backgroundColor:"#008897",borderRadius:1,"&:hover":{backgroundColor:"#006B73"},"&:disabled":{backgroundColor:"#cccccc",color:"#666"}},children:["Donate $",W," Now"]})]})]}),(0,s.jsx)(h.A,{open:c,onClose:L,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{backgroundColor:"transparent",boxShadow:"none"}},children:(0,s.jsx)(f.A,{sx:{padding:0},children:v&&(0,s.jsx)(j.Elements,{stripe:A.A,options:{clientSecret:v},children:(0,s.jsx)(w,{amount:S,onSuccess:()=>{d(!1),k(null),H(0),window.location.href="/donation-success"},onCancel:L})})})})]}):(0,s.jsx)("div",{style:{minHeight:"100vh",background:"#FBFCF9"}
1,children:"Loading..."})},Z=()=>{let{t:e,ready:t}=(0,a.Bd)();return t?(0,s.jsx)(i.A,{sx:{width:"100%",height:{xs:"auto",tablet:"650px"},position:"relative",background:"rgba(241, 244, 226, 0.21)",display:"flex",alignItems:"end",paddingLeft:{xs:2,tablet:4,desktop:8},paddingTop:{smallsMobile:8,tablet:8},paddingBottom:{smallsMobile:4,tablet:8},backgroundImage:'url("/assets/images/end-nightmare.jpg")',backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:(0,s.jsxs)(i.A,{sx:{position:"relative",zIndex:2,maxWidth:"90%"},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{mobile:"32px",tablet:"58px"},lineHeight:"110%",color:"#FBFCF9",textTransform:"uppercase",marginBottom:3},children:e("sections.endNightmare.title").split(" ").map((e,t)=>2===t?(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)("br",{}),e]},t):(0,s.jsxs)(n.Fragment,{children:[t>0&&3!==t?" ":"",e]},t))}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{mobile:"20px",tablet:"28px"},lineHeight:"108%",color:"#FBFCF9"},children:e("sections.endNightmare.description")})]})}):(0,s.jsx)("div",{style:{height:"650px",background:"rgba(241, 244, 226, 0.21)"},children:"Loading..."})};var K=o(9099);let Q=()=>{let{t:e,ready:t}=(0,a.Bd)(),o=(0,K.useRouter)();if(!t)return(0,s.jsx)("div",{style:{padding:"40px 0",background:"rgba(241, 244, 226, 0.21)"},children:"Loading..."});let n=[{id:1,title:e("stories.camila"),description:e("stories.camilaDesc"),image:"assets/images/succes-1.jpg",url:"/success-stories/from-exploitation-to-empowerment"},{id:2,title:e("stories.juanPablo"),description:e("stories.juanPabloDesc"),image:"assets/images/succes-2.jpg",url:"/success-stories/juan-pablo-journey"},{id:3,title:e("stories.rositaPaty"),description:e("stories.rositaPatyDesc"),image:"assets/images/succes-3.jpg",url:"/success-stories/the-resilience-of-rosita-and-paty"},{id:4,title:e("stories.anita"),description:e("stories.anitaDesc"),image:"assets/images/succes-4.jpg",url:"/success-stories/anita-story"}];return(0,s.jsxs)(i.A,{sx:{width:"100%",background:"rgba(241, 244, 226, 0.21)",py:{xs:6,tablet:10}},children:[(0,s.jsx)(i.A,{sx:{mb:{xs:6,tablet:8},pl:{xs:2,mobile:4,tablet:8},textAlign:{xs:"center",tablet:"left"}},children:(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"28px",tablet:"36px",desktop:"48px"},lineHeight:"104%",color:"#097A7F"},children:e("sections.successStories.title")})}),(0,s.jsx)(i.A,{sx:{px:{xs:2,mobile:4,tablet:8}},children:(0,s.jsx)(i.A,{sx:{display:"flex",overflowX:"auto",gap:{xs:3,tablet:6},"&::-webkit-scrollbar":{height:"8px"},"&::-webkit-scrollbar-track":{background:"#E4D9E1",borderRadius:"4px"},"&::-webkit-scrollbar-thumb":{background:"#961F74",borderRadius:"4px","&:hover":{background:"#7A1A5F"}},scrollbarWidth:"thin",scrollbarColor:"#961F74 #E4D9E1"},children:n.map(t=>(0,s.jsxs)(i.A,{sx:{minWidth:{xs:"280px",mobile:"400px",tablet:"620px"},width:{xs:"280px",mobile:"400px",tablet:"620px"},flexShrink:0},children:[(0,s.jsxs)(i.A,{sx:{width:"auto",position:"relative"},children:[(0,s.jsx)(i.A,{component:"img",src:t.image,alt:t.title,sx:{width:"100%",height:{smallsMobile:"300px",tablet:"418px"},objectFit:"cover"}}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{smallsMobile:"18px",tablet:"26px",desktop:"32px"},lineHeight:"110%",color:"#FFF",position:"absolute",bottom:25,left:"50%",transform:"translateX(-50%)",textAlign:"center",zIndex:2,textShadow:"0px 1px 1px rgba(0, 0, 0, 0.25)",width:"80%"},children:t.title})]}),(0,s.jsxs)(i.A,{sx:{width:"100%",py:3,display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",tablet:"20px",desktop:"24px"},lineHeight:"108%",color:"#1A1A1A",mb:2},children:t.description}),(0,s.jsx)(x.A,{onClick:()=>o.push(t.url),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:"10px",letterSpacing:"-0.2px",color:"#097A7F",textDecoration:"underline",p:0,minWidth:"auto",background:"transparent",border:"none",justifyContent:"flex-start","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})]},t.id))})})]})},J=[{id:1,key:"first",image:"assets/images/events-1.jpg"},{id:2,key:"second",image:"assets/images/events-2.jpg"},{id:3,key:"third",image:"assets/images/events-3.jpg"}],U=()=>{let{t:e,ready:t}
1=(0,a.Bd)(),[o,r]=(0,n.useState)(0);if(!t)return(0,s.jsx)("div",{style:{minHeight:"100vh",background:"#FBFCF9"},children:"Loading..."});let c=J[o];return(0,s.jsx)(i.A,{sx:{width:"100%",position:"relative",py:{smallsMobile:4,tablet:10},backgroundImage:'url("/assets/images/our-events-fondo.jpg")',backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:(0,s.jsxs)(i.A,{sx:{position:"relative",zIndex:2,width:"100%",height:"100%"},children:[(0,s.jsx)(i.A,{sx:{textAlign:"center",mb:{smallsMobile:4,tablet:8},px:{xs:2,tablet:4}},children:(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{smallsMobile:"19px",tablet:"36px",desktop:"48px"},lineHeight:"104%",color:"#097A7F",textAlign:"left"},children:e("sections.events.title")})}),(0,s.jsxs)(i.A,{sx:{display:"flex",alignItems:{smallsMobile:"center",mobile:"end"},gap:{xs:3,tablet:4},flexDirection:{smallsMobile:"column",mobile:"row"},mx:{smallsMobile:2,mobile:0}},children:[(0,s.jsx)(i.A,{sx:{flex:"0 0 auto",width:{smallsMobile:"100%",mobile:"50%"},height:"auto"},children:(0,s.jsx)(i.A,{component:"img",src:c.image,alt:e("events.".concat(c.key)),sx:{width:"100%",height:"100%",objectFit:"cover",transition:"all 0.5s ease-in-out"}})}),(0,s.jsxs)(i.A,{sx:{flex:1,maxWidth:{xs:"100%",tablet:"382px"},textAlign:"left"},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"26px",tablet:"30px",desktop:"36px"},lineHeight:"110%",color:"#3B3E3F",mb:3,transition:"all 0.3s ease-in-out"},children:e("events.".concat(c.key,".title"))}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{xs:"18px",tablet:"20px",desktop:"24px"},lineHeight:"108%",color:"#1A1A1A",mb:4,transition:"all 0.3s ease-in-out"},children:e("events.".concat(c.key,".description"))}),(0,s.jsx)(i.A,{sx:{display:"flex",alignItems:"flex-start",flexDirection:{mobile:"column"},justifyContent:"end"},children:(0,s.jsxs)(i.A,{sx:{display:"flex",gap:1,justifyContent:{xs:"center",tablet:"flex-start"},alignItems:"center",ml:{smallsMobile:2,mobile:0}},children:[(0,s.jsx)(x.A,{onClick:()=>{r(e=>0===e?J.length-1:e-1)},sx:{minWidth:"42px",width:"42px",height:"42px",borderRadius:"50%",background:"#961F74",color:"#FFFAF4",p:0,transition:"all 0.3s ease","&:hover":{background:"#7A1A5F",transform:"scale(1.1)"}},children:(0,s.jsx)(Y.A,{})}),(0,s.jsx)(x.A,{onClick:()=>{r(e=>e===J.length-1?0:e+1)},sx:{minWidth:"42px",width:"42px",height:"42px",borderRadius:"50%",background:"#961F74",color:"#FFFAF4",p:0,transition:"all 0.3s ease","&:hover":{background:"#7A1A5F",transform:"scale(1.1)"}},children:(0,s.jsx)(O.A,{})})]})})]})]})]})})};var q=o(4022);o(6955);let G=()=>{let{t:e}=(0,a.Bd)();return(0,s.jsx)(i.A,{sx:{width:"100%",height:{xs:"auto",tablet:"500px"},position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",py:{xs:6,tablet:4},backgroundImage:'url("/assets/images/global-fondo.jpg")',backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:(0,s.jsxs)(i.A,{className:"global-impact-slider",sx:{position:"relative",zIndex:2,width:"100%",maxWidth:"1200px",textAlign:"center",height:"100%"},children:[(0,s.jsx)("style",{children:"\n .global-impact-slider .splide__pagination {\n position: absolute;\n bottom: 0px;\n width: 100%;\n display: flex;\n justify-content: center;\n z-index: 3;\n }\n\n .global-impact-slider .splide__pagination__page {\n background: #097A7F !important;\n opacity: 0.6;\n margin: 0 6px;\n border-radius: 50%;\n }\n\n .global-impact-slider .splide__pagination__page.is-active {\n background: #097A7F !important;\n opacity: 1;\n transform: scale(1.3);\n }\n"}),(0,s.jsxs)(q.eB,{options:{perPage:1,pagination:!0,arrows:!1,gap:"0rem",padding:0,trimSpace
1:!1,focus:"center"},style:{display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",height:400},children:[(0,s.jsxs)(q.Nn,{children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{smallsMobile:"24px",tablet:"42px",desktop:"52px"},lineHeight:"110%",color:"#097A7F",mb:{xs:4,tablet:6}},children:e("sections.global.title")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"20px",tablet:"26px",desktop:"30px"},lineHeight:"100%",color:"#008897",mb:3},children:e("sections.global.mexcity")}),(0,s.jsxs)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{xs:"18px",tablet:"22px",desktop:"26px"},lineHeight:"108%",letterSpacing:"-0.26px",color:"#1A1A1A",textAlign:"center",maxWidth:"1131px",margin:"0 auto","& .highlight":{fontWeight:700}},children:[e("sections.global.mexcity.description"),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsxs)(i.A,{component:"span",sx:{fontWeight:700},children:["⢠",e("sections.global.mexcity.description1")]}),(0,s.jsx)("br",{}),(0,s.jsxs)(i.A,{component:"span",sx:{fontWeight:700},children:["⢠",e("sections.global.mexcity.description2")]})]})]}),(0,s.jsxs)(q.Nn,{children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"32px",tablet:"42px",desktop:"52px"},lineHeight:"110%",color:"#097A7F",mb:{xs:4,tablet:6}},children:e("sections.global.title")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"22px",tablet:"26px",desktop:"30px"},lineHeight:"100%",color:"#008897",mb:3},children:"Canc\xfan, M\xe9xico"}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{xs:"18px",tablet:"22px",desktop:"26px"},lineHeight:"108%",letterSpacing:"-0.26px",color:"#1A1A1A",textAlign:"center",maxWidth:"1131px",margin:"0 auto","& .highlight":{fontWeight:700}},children:e("sections.global.cancuncity.description1")})]}),(0,s.jsxs)(q.Nn,{children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"32px",tablet:"42px",desktop:"52px"},lineHeight:"110%",color:"#097A7F",mb:{xs:4,tablet:6}},children:e("sections.global.title")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"22px",tablet:"26px",desktop:"30px"},lineHeight:"100%",color:"#008897",mb:3},children:"Tijuana, San Jos\xe9, San Diego, Colorado & Virginia"}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{xs:"18px",tablet:"22px",desktop:"26px"},lineHeight:"108%",letterSpacing:"-0.26px",color:"#1A1A1A",textAlign:"center",maxWidth:"1131px",margin:"0 auto","& .highlight":{fontWeight:700}},children:e("sections.global.tijuanacity.description1")})]})]})]})})},V=()=>{let{t:e,ready:t}=(0,a.Bd)(),o=(0,K.useRouter)();return t?(0,s.jsxs)(i.A,{sx:{width:"100%",position:"relative",backgroundImage:{smallsMobile:'url("/assets/images/power-fondo-mobile.jpg")',tablet:'url("/assets/images/power-fondo.jpg")'},backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundColor:"lightgray",py:{smallsMobile:4,mobile:10}},children:[(0,s.jsxs)(i.A,{sx:{position:"relative",zIndex:2,px:{xs:2,tablet:8},height:"100%",display:{smallsMobile:"none",tablet:"flex"},flexDirection:"column"},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"32px",tablet:"42px"},lineHeight:"110%",color:"#FFF",mb:6,pl:{xs:0,tablet:4}},children:e("sections.powerfulProgress.title")}),(0,s.jsxs)(i.A,{sx:{display:"flex",flexDirection:{smallsMobile:"column",tablet:"row"},flex:1,overflow:"hidden"},children:[(0,s.jsxs)(i.A,{sx:{width:{tablet:"33.33%"},borderRight:{tablet:"1px solid #FFF"},display:"flex",flexDirection:"column"},children:[(0,s.jsx)(i.A,{sx:{flex:1,width:"100%"},children:(0,s.jsxs)(i.A,{sx:{py:{xs:2,tablet:4},maxWidth:"90%",mx:{xs:2,tablet:4},borderBottom:{xs:"1px solid #fff"}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.oneYear")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.oneYearIntro")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/one-year-of-transformation"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})}),(0,s.jsxs)(i.A,{sx:{p:{xs:2,tablet:4},flex:1,borderBottom:{xs:"1px solid rgba(255,255,255,0.3)",tablet:"none"}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.dreamHome")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.dreamHomeDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/the-dream-a-home-for-healing"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})]}),(0,s.jsxs)(i.A,{sx:{width:{tablet:"33.33%"},borderRight:{tablet:"1px solid #FFF"},display:"flex",flexDirection:"column"},children:[(0,s.jsx)(i.A,{sx:{flex:1,width:"100%"},children:(0,s.jsxs)(i.A,{sx:{py:{xs:2,tablet:4},maxWidth:"90%",mx:{xs:2,tablet:4},borderBottom:{xs:"1px solid #fff"}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.howWeMade")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.howWeMadeDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/how-we-made-it-happen"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})}),(0,s.jsxs)(i.A,{sx:{p:{xs:2,tablet:4},flex:1,borderBottom:{xs:"1px solid rgba(255,255,255,0.3)",tablet:"none"}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.homeBecomesTitle")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.homeBecomesDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/a-home-becomes-a-shelter"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})]}),(0,s.jsx)(i.A,{sx:{width:{tablet:"33.33%"},display:"flex",flexDirection:"column"},children:(0,s.jsxs)(i.A,{sx:{p:{xs:2,tablet:4},flex:1,borderBottom:{xs:"1px solid rgba(255,255,255,0.3)",tablet:"none"}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.visionToReality")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.visionToRealitySubtitle")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.visionToRealityNeed")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.visionToRealityDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/from-vision-to-reality"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})})]})]}
1),(0,s.jsxs)(i.A,{className:"mobile-slider",sx:{display:{tablet:"none"},width:"100%"},children:[(0,s.jsx)("style",{children:"\n .mobile-slider {\n touch-action: pan-y;\n -webkit-overflow-scrolling: touch;\n }\n\n .mobile-slider .splide__pagination {\n bottom: 0em;\n }\n\n .mobile-slider .splide__pagination__page {\n background: #DAEFE6 !important;\n opacity: 0.5;\n }\n .mobile-slider .splide__pagination__page.is-active {\n background: #E9E2E6 !important;\n opacity: 1;\n transform: scale(1.2);\n }\n"}),(0,s.jsxs)(q.eB,{options:{perPage:1,pagination:!0,arrows:!1,gap:"0rem",padding:0,trimSpace:!1,focus:"center",drag:!0,swipe:!0},style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,s.jsx)(q.Nn,{children:(0,s.jsxs)(i.A,{sx:{width:{tablet:"33.33%"},borderRight:{tablet:"1px solid #FFF"},display:"flex",flexDirection:"column"},children:[(0,s.jsx)(i.A,{sx:{flex:1,width:"100%"},children:(0,s.jsxs)(i.A,{sx:{py:{xs:2,tablet:4},maxWidth:"90%",mx:{xs:2,tablet:4},borderBottom:{xs:"1px solid #fff"}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.oneYear")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.oneYearIntro")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/one-year-of-transformation"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})}),(0,s.jsxs)(i.A,{sx:{p:{xs:2,tablet:4},flex:1},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.dreamHome")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.dreamHomeDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/the-dream-a-home-for-healing"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})]})}),(0,s.jsx)(q.Nn,{children:(0,s.jsxs)(i.A,{sx:{width:{tablet:"33.33%"},borderRight:{tablet:"1px solid #FFF"},display:"flex",flexDirection:"column"},children:[(0,s.jsx)(i.A,{sx:{flex:1,width:"100%"},children:(0,s.jsxs)(i.A,{sx:{py:{xs:2,tablet:4},maxWidth:"90%",mx:{xs:2,tablet:4},borderBottom:{xs:"1px solid #fff"}},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.howWeMade")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.howWeMadeDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/how-we-made-it-happen"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})}),(0,s.jsxs)(i.A,{sx:{p:{xs:2,tablet:4},flex:1},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.homeBecomesTitle")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.homeBecomesDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/a-home-becomes-a-shelter"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})]})}),(0,s.jsx)(q.Nn,{children:(0,s.jsx)(i.A,{sx:{width:{tablet:"33.33%"},display:"flex",flexDirection:"column"},children:(0,s.jsxs)(i.A,{sx:{p:{xs:2,tablet:4},flex:1},children:[(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.visionToReality")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.visionToRealitySubtitle")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"24px",tablet:"30px"},lineHeight:"100%",color:"#FFF",mb:2},children:e("sections.powerfulProgress.visionToRealityNeed")}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{smallsMobile:"16px",mobile:28},lineHeight:"108%",letterSpacing:"-0.19px",color:"#FFF",mb:3},children:e("sections.powerfulProgress.visionToRealityDesc")}),(0,s.jsx)(x.A,{onClick:()=>o.push("/powerful/from-vision-to-reality"),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"16px",lineHeight:"100%",color:"#FFF",textDecoration:"underline",p:0,justifyContent:"flex-start",background:"transparent","&:hover":{background:"transparent",textDecoration:"underline"}},children:e("common.readMore")})]})})})]})]})]}):(0,s.jsx)("div",{style:{minHeight:"100vh",background:"#FBFCF9"}
1,children:"Loading..."})};var ee=o(5469);let et=ee.aj,eo=()=>{var e;let{t,i18n:o,ready:r}=(0,a.Bd)(),[c,d]=(0,n.useState)(!1),p=(null===(e=o.language)||void 0===e?void 0:e.startsWith("es"))?"es":"en";return r?(0,s.jsx)(i.A,{sx:{width:"100%",height:{smallsMobile:300,mobile:"600px"},position:"relative",display:"flex",alignItems:"flex-end",justifyContent:"flex-end",backgroundImage:'url("/assets/images/report-fondo.jpg")',backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},children:(0,s.jsxs)(i.A,{sx:{position:"relative",zIndex:3,textAlign:"right",maxWidth:"831px",px:{xs:2,tablet:4},pb:4,display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[(0,s.jsxs)(i.A,{sx:{display:"flex",gap:2,mb:3},children:[(0,s.jsxs)(i.A,{sx:{position:"relative"},children:[(0,s.jsx)(x.A,{variant:"contained",onClick:()=>d(!c),sx:{background:"#9B2D8B",borderRadius:0,"&:hover":{background:"#9B2D8B",opacity:.9}},children:(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{smallMobile:"19px",tablet:"23px"},lineHeight:"110%",color:"#FFF",textTransform:"uppercase",p:1.3,paddingY:{smallMobile:1,tablet:.3}},children:t("sections.reports.monthlyButton")})}),c&&(0,s.jsx)(i.A,{sx:{position:"absolute",bottom:"100%",left:0,mb:1,background:"#FFF",borderRadius:"8px",boxShadow:"0px 4px 20px rgba(0,0,0,0.25)",minWidth:"260px",overflow:"hidden",zIndex:10},children:et.map((e,t)=>(0,s.jsx)(i.A,{component:"a",href:e.url[p],target:"_blank",rel:"noopener noreferrer",onClick:()=>d(!1),sx:{display:"block",px:2.5,py:1.5,textDecoration:"none",color:"#333",fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:500,fontSize:"15px",borderBottom:t<et.length-1?"1px solid #eee":"none","&:hover":{background:"#f5f0f5",color:"#9B2D8B"}},children:e.label[p]},t))})]}),(0,s.jsx)(x.A,{variant:"contained",onClick:()=>{window.open(ee.Rf,"_blank")},sx:e=>{let t="linear-gradient(90deg, ".concat(e.palette.primary.main," -10.75%, ").concat(e.palette.secondary.main," 99.98%)");return{background:t,borderRadius:0,"&:hover":{background:t,opacity:.9}}},children:(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{smallMobile:"19px",tablet:"23px"},lineHeight:"110%",color:"#FFF",textTransform:"uppercase",p:1.3,paddingY:{smallMobile:1,tablet:.3}},children:t("sections.reports.annualButton")})})]}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:400,fontSize:{xs:"28px",tablet:"29px"},lineHeight:"104%",color:"#FFF"},children:t("sections.reports.subtitle")})]})}):(0,s.jsx)(i.A,{sx:{minHeight:"200px",background:"#F1F4E2"},children:"Loading..."})},es=()=>{let e=(0,K.useRouter)(),[t,o]=(0,n.useState)([]);return console.log(t,"aqio"),(0,n.useEffect)(()=>{(async()=>{let e=[],t=1,s=!0;for(;s;){let o=await fetch("https://blog.kaleido.charity/wp-json/wp/v2/posts?_embed&per_page=100&page=".concat(t));if(!o.ok){s=!1;break}let n=await o.json();e=[...e,...n],n.length<100?s=!1:t++}o(e)})()},[]),(0,s.jsxs)(i.A,{sx:{width:"100%",background:"rgba(241, 244, 226, 0.21)",py:{xs:6,tablet:10}},children:[(0,s.jsx)(i.A,{sx:{mb:{xs:6,tablet:8},pl:{xs:2,mobile:4,tablet:8},textAlign:{xs:"center",tablet:"left"}},children:(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"30px",tablet:"36px",desktop:"42px"},lineHeight:"110%",color:"#008897"},children:"Blog"})}),(0,s.jsx)(i.A,{sx:{px:{xs:2,mobile:4,tablet:8}},children:(0,s.jsx)(i.A,{sx:{display:"flex",justifyContent:{tablet:t.length<=2?"center":"flex-start"},overflowX:"auto",gap:{xs:4,tablet:6},pb:2,"&::-webkit-scrollbar":{height:"8px"},"&::-webkit-scrollbar-track":{background:"#E4D9E1",borderRadius:"4px"},"&::-webkit-scrollbar-thumb":{background:"#961F74",borderRadius:"4px","&:hover":{background:"#7A1A5F"}},scrollbarWidth:"thin",scrollbarColor:"#961F74 #E4D9E1"},children:t.map((t,o)=>{var n,r,a;return(0,s.jsxs)(i.A,{sx:{minWidth:{xs:"280px",mobile:"400px",tablet:"615px"},width:{xs:"280px",mobile:"400px",tablet:"615px"},flexShrink:0},children:[(0,s.jsx)(i.A,{sx:{width:"100%",height:{xs:"250px",tablet:"370px"},mb:"34px",overflow:"hidden",background:"#D9D9D9"},children:(0,s.jsx)(i.A,{component:"img",src:(null===(a=t._embedded)||void 0===a?void 0:null===(r=a["wp:featuredmedia"])||void 0===r?void 0:null===(n=r[0])||void 0===n?void 0:n.source_url)||"https://via.placeholder.com/600x400?text=No+Image",alt:t.title.rendered,sx:{width:"100%",height:"100%",objectFit:"cover"}})}),(0,s.jsx)(l.A,{sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:{xs:"22px",tablet:"26px",desktop:"30px"},lineHeight:"110%",color:"#3B3E3F",mb:3,minHeight:{xs:"60px",tablet:"66px"}},children:t.title.rendered}),(0,s.jsx)(x.A,{onClick:()=>e.push(t.link),sx:{fontFamily:"Lexend, -apple-system, Roboto, Helvetica, sans-serif",fontWeight:700,fontSize:"18px",lineHeight:"100%",color:"#3B3E3F",textDecoration:"underline",p:0,minWidth:"auto",background:"transparent",border:"none",justifyContent:"flex-start","&:hover":{background:"transparent",textDecoration:"underline"}},children:"Read more"})]},"".concat(t.id,"-").concat(o))})})})]})};var en=o(807),ei=o(2489),el=o(2927);function er(){let{ourPurposeRef:e,projectsRef:t,storiesRef:o,eventsRef:n}=(0,S.a)();return(0,s.jsxs)(i.A,{sx:{backgroundColor:"#FBFCF9",width:"100%",overflowX:"hidden",position:"relative"},children:[(0,s.jsx)(el.A,{}),(0,s.jsx)(L,{}),(0,s.jsx)("section",{ref:e,children:(0,s.jsx)(E,{})}),(0,s.jsx)(N,{}),(0,s.jsx)("section",{ref:t,children:(0,s.jsx)(X,{})}),(0,s.jsx)(Z,{}),(0,s.jsx)("section",{ref:o,children:(0,s.jsx)(Q,{})}),(0,s.jsx)("section",{ref:n,children:(0,s.jsx)(U,{})}),(0,s.jsx)(G,{}),(0,s.jsx)(V,{}),(0,s.jsx)(es,{}),(0,s.jsx)(eo,{})]})}er.getLayout=function(e){return(0,s.jsxs)(en.A,{showHeader:!1,children:[(0,s.jsx)(ei.A,{}),e]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[395,410,784,469,927,636,593,792],()=>t(969)),_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.