1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,250787,e=>{"use strict";var r=e.i(632165),t=e.i(734080),o=e.i(205729),a=e.i(58291),i=e.i(671985),n=e.i(621664),s=e.i(860484),l=e.i(212089),c=e.i(697093),d=e.i(759893),x=e.i(600618),p=e.i(463854),h=e.i(408883),m=e.i(233574),g=e.i(50473),u=e.i(536378),f=e.i(287089),y=e.i(386801),b=e.i(983370),j=e.i(957866),v=e.i(56281),C=e.i(612312),S=e.i(578122),w=e.i(615330),k=e.i(920203),T=e.i(333031),B=e.i(724298),I=e.i(549123),z=e.i(551592);let W=(0,z.default)((0,r.jsx)("path",{d:"M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4z"}),"LocalHospital"),A=(0,z.default)((0,r.jsx)("path",{d:"M12 2c-5.33 4.55-8 8.48-8 11.8 0 4.98 3.8 8.2 8 8.2s8-3.22 8-8.2c0-3.32-2.67-7.25-8-11.8M7.83 14c.37 0 .67.26.74.62.41 2.22 2.28 2.98 3.64 2.87.43-.02.79.32.79.75 0 .4-.32.73-.72.75-2.13.13-4.62-1.09-5.19-4.12-.08-.45.28-.87.74-.87"}),"WaterDrop"),R=(0,z.default)((0,r.jsx)("path",{d:"M17 12h2L12 2 5.05 12H7l-3.9 6h6.92v4h3.96v-4H21z"}),"Park"),M=(0,z.default)([(0,r.jsx)("path",{d:"M19.5 12c.93 0 1.78.28 2.5.76V8c0-1.1-.9-2-2-2h-6.29l-1.06-1.06 1.41-1.41-.71-.71-3.53 3.53.71.71 1.41-1.41L13 6.71V9c0 1.1-.9 2-2 2h-.54c.95 1.06 1.54 2.46 1.54 4 0 .34-.04.67-.09 1h3.14c.25-2.25 2.14-4 4.45-4"},"0"),(0,r.jsx)("path",{d:"M19.5 13c-1.93 0-3.5 1.57-3.5 3.5s1.57 3.5 3.5 3.5 3.5-1.57 3.5-3.5-1.57-3.5-3.5-3.5m0 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M4 9h5c0-1.1-.9-2-2-2H4c-.55 0-1 .45-1 1s.45 1 1 1m5.83 4.82-.18-.47.93-.35c-.46-1.06-1.28-1.91-2.31-2.43l-.4.89-.46-.21.4-.9C7.26 10.13 6.64 10 6 10c-.53 0-1.04.11-1.52.26l.34.91-.47.18-.35-.93c-1.06.46-1.91 1.28-2.43 2.31l.89.4-.21.46-.9-.4C1.13 13.74 1 14.36 1 15c0 .53.11 1.04.26 1.52l.91-.34.18.47-.93.35c.46 1.06 1.28 1.91 2.31 2.43l.4-.89.46.21-.4.9c.55.22 1.17.35 1.81.35.53 0 1.04-.11 1.52-.26l-.34-.91.47-.18.35.93c1.06-.46 1.91-1.28 2.43-2.31l-.89-.4.21-.46.9.4c.22-.55.35-1.17.35-1.81 0-.53-.11-1.04-.26-1.52zm-2.68 3.95c-1.53.63-3.29-.09-3.92-1.62s.09-3.29 1.62-3.92 3.29.09 3.92 1.62c.64 1.53-.09 3.29-1.62 3.92"},"1")],"Agriculture");var H=e.i(173227);let _=(0,z.default)((0,r.jsx)("path",{d:"M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3m13.71-9.37-1.34-1.34a.996.996 0 0 0-1.41 0L9 12.25 11.75 15l8.96-8.96c.39-.39.39-1.02 0-1.41"}),"Brush"),F=(0,z.default)([(0,r.jsx)("circle",{cx:"14.5",cy:"10.5",r:"1.25"},"0"),(0,r.jsx)("circle",{cx:"9.5",cy:"10.5",r:"1.25"},"1"),(0,r.jsx)("path",{d:"M22.94 12.66q.06-.315.06-.66c0-.345-.02-.45-.06-.66-.25-1.51-1.36-2.74-2.81-3.17-.53-1.12-1.28-2.1-2.19-2.91C16.36 3.85 14.28 3 12 3s-4.36.85-5.94 2.26c-.92.81-1.67 1.8-2.19 2.91-1.45.43-2.56 1.65-2.81 3.17Q1 11.655 1 12c0 .345.02.45.06.66.25 1.51 1.36 2.74 2.81 3.17.52 1.11 1.27 2.09 2.17 2.89C7.62 20.14 9.71 21 12 21s4.38-.86 5.97-2.28c.9-.8 1.65-1.79 2.17-2.89 1.44-.43 2.55-1.65 2.8-3.17M19 14c-.1 0-.19-.02-.29-.03-.2.67-.49 1.29-.86 1.86C16.6 17.74 14.45 19 12 19s-4.6-1.26-5.85-3.17c-.37-.57-.66-1.19-.86-1.86-.1.01-.19.03-.29.03-1.1 0-2-.9-2-2s.9-2 2-2c.1 0 .19.02.29.03.2-.67.49-1.29.86-1.86C7.4 6.26 9.55 5 12 5s4.6 1.26 5.85 3.17c.37.57.66 1.19.86 1.86.1-.01.19-.03.29-.03 1.1 0 2 .9 2 2s-.9 2-2 2M7.5 14c.76 1.77 2.49 3 4.5 3s3.74-1.23 4.5-3z"},"2")],"ChildCare");var L=e.i(392306);let D=(0,z.default)((0,r.jsx)("path",{d:"M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1 1.1-.49 1.1-1.1-.49-1.1-1.1-1.1M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m2.19 12.19L6 18l3.81-8.19L18 6z"}),"Explore");var E=e.i(87518),V=e.i(131595),G=e.i(109835);let P=(0,z.default)((0,r.jsx)("path",{d:"M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4"}),"Restaurant"),U=(0,z.default)((0,r.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home"),O=(0,z.default)((0,r.jsx)("path",{d:"m16.99 5 .63 1.37 1.37.63-1.37.63L16.99 9l-.63-1.37L14.99 7l1.37-.63zM11 6.13V4h2c.57 0 1.1.17 1.55.45l1.43-1.43C15.15 2.39 14.13 2 13 2H7.5v2H9v2.14C7.23 6.51 5.81 7.8 5.26 9.5h3.98L15 11.65v-.62c0-2.42-1.72-4.44-4-4.9M1 22h4V11H1zm19-5h-7l-2.09-.73.33-.94L13 16h2.82c.65 0 1.18-.53 1.18-1.18 0-.49-.31-.93-.77-1.11L8.97 11H7v9.02L14 22l8-3c-.01-1.1-.89-2-2-2m0-3c1.1 0 2-.9 2-2s-2-4-2-4-2 2.9-2 4 .9 2 2 2"}),"CleanHands");var $=e.i(371908);let q=(0,z.default)((0,r.jsx)("path",{d:"m13.7829 15.1718 2.1213-2.1213 5.9963 5.9963-2.1213 2.1213zM17.5 10c1.93 0 3.5-1.57 3.5-3.5 0-.58-.16-1.12-.41-1.6l-2.7 2.7-1.49-1.49 2.7-2.7c-.48-.25-1.02-.41-1.6-.41C15.57 3 14 4.57 14 6.5c0 .41.08.8.21 1.16l-1.85 1.85-1.78-1.78.71-.71-1.41-1.41L12 3.49c-1.17-1.17-3.07-1.17-4.24 0L4.22 7.03l1.41 1.41H2.81l-.71.71 3.54 3.54.71-.71V9.15l1.41 1.41.71-.71 1.78 1.78-7.41 7.41 2.12 2.12L16.34 9.79c.36.13.75.21 1.16.21"}),"Construction");var Y=e.i(713971);let N=(0,z.default)((0,r.jsx)("path",{d:"m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79zM4 10.5H1v2h3zm9-9.95h-2V3.5h2zm7.45 3.91-1.41-1.41-1.79 1.79 1.41 1.41zm-3.21 13.7 1.79 1.8 1.41-1.41-1.8-1.79zM20 10.5v2h3v-2zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6m-1 16.95h2V19.5h-2zm-7.45-3.91 1.41 1.41 1.79-1.8-1.41-1.41z"}),"WbSunny"),X=(0,z.default)((0,r.jsx)("path",{d:"M4 16c0 .88.39 1.67 1 2.22V20c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h8v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1.78c.61-.55 1-1.34 1-2.22V6c0-3.5-3.58-4-8-4s-8 .5-8 4zm3.5 1c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17m9 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m1.5-6H6V6h12z"}),"DirectionsBus"),J=(0,z.default)((0,r.jsx)("path",{d:"M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25m6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8
10-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8"}),"Face"),K=(0,z.default)((0,r.jsx)("path",{d:"M6.5 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 7.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5S17.83 8 17 8s-1.5.67-1.5 1.5m3 2.5h-2.84c-.58.01-1.14.32-1.45.86l-.92 1.32L9.72 8c-.37-.63-1.03-.99-1.71-1H5c-1.1 0-2 .9-2 2v6h1.5v7h5V11.61L12.03 16h2.2l.77-1.1V22h4v-5h1v-3.5c0-.82-.67-1.5-1.5-1.5"}),"EscalatorWarning"),Q=(0,z.default)((0,r.jsx)("path",{d:"M20.5 6c-2.61.7-5.67 1-8.5 1s-5.89-.3-8.5-1L3 8c1.86.5 4 .83 6 1v13h2v-6h2v6h2V9c2-.17 4.14-.5 6-1zM12 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"}),"AccessibilityNew"),Z=(0,z.default)([(0,r.jsx)("circle",{cx:"4",cy:"14",r:"2"},"0"),(0,r.jsx)("path",{d:"M1.22 17.58C.48 17.9 0 18.62 0 19.43V21h4.5v-1.61c0-.83.23-1.61.63-2.29-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58"},"1"),(0,r.jsx)("circle",{cx:"20",cy:"14",r:"2"},"2"),(0,r.jsx)("path",{d:"M22.78 17.58c-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V21H24v-1.57c0-.81-.48-1.53-1.22-1.85m-6.54-.93c-1.17-.52-2.61-.9-4.24-.9s-3.07.39-4.24.9C6.68 17.13 6 18.21 6 19.39V21h12v-1.61c0-1.18-.68-2.26-1.76-2.74M9 12c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3"},"3"),(0,r.jsx)("path",{d:"M2.48 10.86C2.17 10.1 2 9.36 2 8.6 2 6.02 4.02 4 6.6 4c2.68 0 3.82 1.74 5.4 3.59C13.57 5.76 14.7 4 17.4 4 19.98 4 22 6.02 22 8.6c0 .76-.17 1.5-.48 2.26.65.31 1.18.82 1.53 1.44.6-1.2.95-2.42.95-3.7C24 4.9 21.1 2 17.4 2c-2.09 0-4.09.97-5.4 2.51C10.69 2.97 8.69 2 6.6 2 2.9 2 0 4.9 0 8.6c0 1.28.35 2.5.96 3.7.35-.62.88-1.13 1.52-1.44"},"4")],"Diversity1");var ee=e.i(847651);let er=(0,z.default)((0,r.jsx)("path",{d:"M20 6h-4V4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2M10 4h4v2h-4zm6 11h-3v3h-2v-3H8v-2h3v-3h2v3h3z"}),"MedicalServices"),et=(0,z.default)([(0,r.jsx)("circle",{cx:"4.5",cy:"9.5",r:"2.5"},"0"),(0,r.jsx)("circle",{cx:"9",cy:"5.5",r:"2.5"},"1"),(0,r.jsx)("circle",{cx:"15",cy:"5.5",r:"2.5"},"2"),(0,r.jsx)("circle",{cx:"19.5",cy:"9.5",r:"2.5"},"3"),(0,r.jsx)("path",{d:"M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32q-.165-.06-.33-.09c-.25-.04-.52-.04-.78-.04s-.53 0-.79.05q-.165.03-.33.09c-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8"},"4")],"Pets"),eo=(0,z.default)((0,r.jsx)("path",{d:"M12 3c-4.8 0-9 3.86-9 9 0 2.12.74 4.07 1.97 5.61L3 19.59 4.41 21l1.97-1.97C7.93 20.26 9.88 21 12 21c2.3 0 4.61-.88 6.36-2.64C20.12 16.61 21 14.3 21 12V3zm3.83 9.26-5.16 4.63c-.16.15-.41.14-.56-.01-.14-.14-.16-.36-.04-.52l2.44-3.33-4.05-.4c-.44-.04-.63-.59-.3-.89l5.16-4.63c.16-.15.41-.14.56.01.14.14.16.36.04.52l-2.44 3.33 4.05.4c.45.04.63.59.3.89"}),"EnergySavingsLeaf"),ea=(0,z.default)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 3.3 1.35-.95c1.82.56 3.37 1.76 4.38 3.34l-.39 1.34-1.35.46L13 6.7zm-3.35-.95L11 5.3v1.4L7.01 9.49l-1.35-.46-.39-1.34c1.01-1.57 2.56-2.77 4.38-3.34M7.08 17.11l-1.14.1C4.73 15.81 4 13.99 4 12c0-.12.01-.23.02-.35l1-.73 1.38.48 1.46 4.34zm7.42 2.48c-.79.26-1.63.41-2.5.41s-1.71-.15-2.5-.41l-.69-1.49.64-1.1h5.11l.64 1.11zM14.27 15H9.73l-1.35-4.02L12 8.44l3.63 2.54zm3.79 2.21-1.14-.1-.79-1.37 1.46-4.34 1.39-.47 1 .73c.01.11.02.22.02.34 0 1.99-.73 3.81-1.94 5.21"}),"SportsSoccer");var ei=e.i(196960),en=e.i(515920);let es=(0,z.default)([(0,r.jsx)("circle",{cx:"12",cy:"6",r:"2"},"0"),(0,r.jsx)("path",{d:"M21 16v-2c-2.24 0-4.16-.96-5.6-2.68l-1.34-1.6c-.38-.46-.94-.72-1.53-.72h-1.05c-.59 0-1.15.26-1.53.72l-1.34 1.6C7.16 13.04 5.24 14 3 14v2c2.77 0 5.19-1.17 7-3.25V15l-3.88 1.55c-.67.27-1.12.93-1.12 1.66C5 19.2 5.8 20 6.79 20H9v-.5c0-1.38 1.12-2.5 2.5-2.5h3c.28 0 .5.22.5.5s-.22.5-.5.5h-3c-.83 0-1.5.67-1.5 1.5v.5h7.21c.99 0 1.79-.8 1.79-1.79 0-.73-.45-1.39-1.12-1.66L14 15v-2.25c1.81 2.08 4.23 3.25 7 3.25"},"1")],"SelfImprovement"),el=(0,z.default)([(0,r.jsx)("path",{d:"M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 8.13 5 9.92 5 12c0 2.76 2.24 5 5 5v2z"},"0"),(0,r.jsx)("path",{d:"M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.59 1.62.94-.34.34.94 1.88-.68-.34-.94.94-.34-2.74-7.53-.94.34-.34-.94-1.88.68.34.94-.94.35z"},"1"),(0,r.jsx)("circle",{cx:"10.5",cy:"8",r:"1.5"},"2")],"Biotech"),ec=(0,z.default)([(0,r.jsx)("path",{d:"m12 2-5.5 9h11z"},"0"),(0,r.jsx)("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),(0,r.jsx)("path",{d:"M3 13.5h8v8H3z"},"2")],"Category");var ed=e.i(538869),ex=e.i(244427),ep=e.i(969871),eh=e.i(298874),em=e.i(281405),eg=e.i(900828),eu=e.i(128611);e.i(88019);var ef=e.i(757192),ey=e.i(38304),eb=e.i(575003),ej=e.i(945544),ev=e.i(152708),eC=e.i(426960),eS=e.i(759741),ew=e.i(288903),ek=e.i(996537),eT=e.i(349776),eB=e.i(293582),eI=e.i(765959),ez=e.i(692709),eW=e.i(920755),eA=e.i(207008),eR=e.i(726386),eM=e.i(621984),eH=e.i(519257),e_=e.i(49281);function eF(){let{categoryLabel:e}=(0,e_.useCategoryI18n)(),[a,i]=(0,o.useState)([]),[n,x]=(0,o.useState)(0),[p,h]=(0,o.useState)(!0);(0,o.useEffect)(()=>{m()},[]);let m=async()=>{try{let e=(0,eW.createClient)(),{data:r,error:t}=await e.from("campaigns").select("id, title, slug, description, category, raised_amount, signatures_count, image_url").in("status",["won"]).order("raised_amount",{ascending:!1}).limit(6);if(t)throw t;i(r||[])}catch(e){console.error("Error fetching success stories:",e)}finally{h(!1)}};if(p)return(0,r.jsx)(s.Box,{sx:{display:"flex",justifyContent:"center",py:8},children:(0,r.jsx)(ek.CircularProgress,{})});if(0===a.length)return null;
1let g=a[n];return(0,r.jsxs)(s.Box,{sx:{position:"relative",minHeight:{xs:400,md:500},borderRadius:"16px",overflow:"hidden",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)"},children:[(0,r.jsx)(eH.AnimatePresence,{mode:"wait",children:(0,r.jsx)(eM.motion.div,{initial:{opacity:0,x:100},animate:{opacity:1,x:0},exit:{opacity:0,x:-100},transition:{duration:.5},children:(0,r.jsxs)(c.Card,{component:eA.default,href:`/campaign/${g.slug}`,sx:{height:"100%",display:"flex",flexDirection:{xs:"column",md:"row"},textDecoration:"none",color:"inherit",borderRadius:"16px",overflow:"hidden","&:hover":{"& .story-image":{transform:"scale(1.05)"}}},children:[(0,r.jsxs)(s.Box,{sx:{position:"relative",width:{xs:"100%",md:"50%"},height:{xs:250,md:"100%"},minHeight:{xs:250,md:500},backgroundColor:"primary.main",overflow:"hidden"},children:[g.image_url?(0,r.jsx)(eR.default,{src:g.image_url,alt:g.title,fill:!0,className:"story-image",style:{objectFit:"cover",transition:"transform 0.5s ease"},sizes:"(max-width: 768px) 100vw, 50vw",loading:"lazy"}):(0,r.jsx)(s.Box,{sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:e=>(0,t.darkHeroGradient)(e.palette.mode,"#15292f"),color:"white"},children:(0,r.jsx)(l.Typography,{variant:"h2",sx:{fontFamily:'"Sora", sans-serif',fontWeight:700,opacity:.9},children:g.title.substring(0,2).toUpperCase()})}),(0,r.jsx)(ew.Chip,{icon:(0,r.jsx)(eB.default,{sx:{color:"white !important"}}),label:"Success Story",sx:{position:"absolute",top:16,right:16,backgroundColor:"rgba(46, 125, 50, 0.95)",color:"white",fontWeight:600,boxShadow:"0 2px 8px rgba(0,0,0,0.3)","& .MuiChip-icon":{color:"white"}}})]}),(0,r.jsxs)(eC.CardContent,{sx:{flex:1,p:{xs:3,md:5},display:"flex",flexDirection:"column",justifyContent:"center",backgroundColor:"background.paper"},children:[(0,r.jsx)(ew.Chip,{label:e(g.category),size:"small",sx:{alignSelf:"flex-start",backgroundColor:"secondary.main",color:"secondary.contrastText",fontWeight:500,mb:2}}),(0,r.jsx)(l.Typography,{variant:"h3",sx:{fontFamily:'"Sora", sans-serif',fontWeight:700,mb:2,fontSize:{xs:"1.75rem",md:"2.5rem"}},children:g.title}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{color:"text.secondary",mb:3,fontSize:{xs:"0.95rem",md:"1.1rem"},lineHeight:1.7,display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},children:g.description}),(0,r.jsxs)(d.Stack,{direction:"row",spacing:3,sx:{mb:3},children:[g.raised_amount>0&&(0,r.jsxs)(d.Stack,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[(0,r.jsx)(eI.default,{sx:{color:"warmGold.text",fontSize:24}}),(0,r.jsxs)(s.Box,{children:[(0,r.jsx)(l.Typography,{variant:"caption",sx:{color:"text.secondary"},children:"Raised"}),(0,r.jsxs)(l.Typography,{variant:"h6",sx:{fontFamily:'"Sora", sans-serif',fontWeight:600},children:["GHS ",g.raised_amount.toLocaleString()]})]})]}),g.signatures_count>0&&(0,r.jsxs)(d.Stack,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[(0,r.jsx)(ez.default,{sx:{color:"primary.main",fontSize:24}}),(0,r.jsxs)(s.Box,{children:[(0,r.jsx)(l.Typography,{variant:"caption",sx:{color:"text.secondary"},children:"Signatures"}),(0,r.jsx)(l.Typography,{variant:"h6",sx:{fontFamily:'"Sora", sans-serif',fontWeight:600},children:g.signatures_count.toLocaleString()})]})]})]}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"warmGold.text",fontWeight:600,textTransform:"uppercase",letterSpacing:1},children:"View Full Story â"})]})]})},n)}),a.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eS.IconButton,{onClick:()=>{x(e=>(e-1+a.length)%a.length)},sx:{position:"absolute",left:16,top:"50%",transform:"translateY(-50%)",backgroundColor:"rgba(255, 255, 255, 0.9)","&:hover":{backgroundColor:"rgba(255, 255, 255, 1)"},zIndex:2},children:(0,r.jsx)(eT.default,{})}),(0,r.jsx)(eS.IconButton,{onClick:()=>{x(e=>(e+1)%a.length)},sx:{position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",backgroundColor:"rgba(255, 255, 255, 0.9)","&:hover":{backgroundColor:"rgba(255, 255, 255, 1)"},zIndex:2},children:(0,r.jsx)(S.default,{})})]}),a.length>1&&(0,r.jsx)(d.Stack,{direction:"row",spacing:1,sx:{position:"absolute",bottom:16,left:"50%",transform:"translateX(-50%)",zIndex:2},children:a.map((e,t)=>(0,r.jsx)(s.Box,{onClick:()=>
1x(t),sx:{width:t===n?24:8,height:8,borderRadius:"16px",backgroundColor:t===n?"secondary.main":"rgba(255, 255, 255, 0.5)",cursor:"pointer",transition:"all 0.3s ease","&:hover":{backgroundColor:t===n?"secondary.dark":"rgba(255, 255, 255, 0.7)"}}},t))})]})}var eL=e.i(627061),eD=e.i(187703),eE=e.i(896889);async function eV(e){let r=(0,eW.createClient)(),{data:t,error:o}=await r.from("testimonials").select("id, quote, author_name, author_role, avatar_url").eq("audience",e).eq("is_published",!0).order("display_order",{ascending:!0}).order("created_at",{ascending:!0});return o||!t?[]:t}function eG({t:e}){return(0,r.jsxs)(s.Box,{sx:{flexShrink:0,display:"flex",flexDirection:"column",width:{xs:300,sm:380},mx:1.25,p:{xs:3,sm:3.5},borderRadius:t.RADIUS.surface,border:"1px solid",borderColor:"divider",bgcolor:e=>"dark"===e.palette.mode?e.palette.background.paper:e.palette.background.default,boxShadow:"0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 20px rgba(16, 24, 40, 0.06)",whiteSpace:"normal",transition:"box-shadow .22s ease, border-color .22s ease","&:hover":{borderColor:"warmGold.text",boxShadow:"0 14px 30px rgba(16, 24, 40, 0.12)"}},children:[(0,r.jsx)(eE.default,{sx:{fontSize:30,color:"warmGold.text",mb:1}}),(0,r.jsx)(l.Typography,{sx:{flex:1,color:"text.primary",fontSize:"0.975rem",lineHeight:1.75,mb:3},children:e.quote}),(0,r.jsx)(s.Box,{sx:{height:"1px",bgcolor:"divider",mb:2.25}}),(0,r.jsxs)(d.Stack,{direction:"row",spacing:1.5,sx:{alignItems:"center"},children:[(0,r.jsx)(eL.Avatar,{src:e.avatar_url??void 0,sx:{width:44,height:44,bgcolor:"secondary.main",color:"secondary.contrastText",fontWeight:700},children:e.author_name?.charAt(0)?.toUpperCase()}),(0,r.jsxs)(s.Box,{sx:{minWidth:0},children:[(0,r.jsx)(l.Typography,{variant:"subtitle2",sx:{fontWeight:700,fontFamily:'"Sora", sans-serif',lineHeight:1.3},noWrap:!0,children:e.author_name}),e.author_role?(0,r.jsx)(l.Typography,{variant:"caption",sx:{color:"text.secondary"},noWrap:!0,children:e.author_role}):null]})]})]})}function eP({items:e,direction:t}){let o=Math.max(28,7*e.length);return(0,r.jsx)(s.Box,{sx:{overflow:"hidden",py:1.25},children:(0,r.jsx)(s.Box,{sx:{display:"flex",width:"max-content",animation:`testimonial-marquee ${o}s linear infinite`,animationDirection:"right"===t?"reverse":"normal","&:hover":{animationPlayState:"paused"},"@keyframes testimonial-marquee":{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-50%)"}},"@media (prefers-reduced-motion: reduce)":{animation:"none",flexWrap:"wrap",justifyContent:"center"}},children:[...e,...e].map((e,t)=>(0,r.jsx)(eG,{t:e},`${e.id}-${t}`))})})}function eU({audience:e="ardent",eyebrow:t="TESTIMONIALS",title:a="Voices of Change"}){let[i,n]=(0,o.useState)([]);(0,o.useEffect)(()=>{let r=!0;return eV(e).then(e=>r&&n(e)).catch(()=>{}),()=>{r=!1}},[e]);let[c,d]=(0,o.useMemo)(()=>{let e=[],r=[];return i.forEach((t,o)=>(o%2==0?e:r).push(t)),[e,r]},[i]);return 0===i.length?null:(0,r.jsxs)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:"background.default",overflow:"hidden"},children:[(0,r.jsx)(eD.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"warmGold.text",fontWeight:600,letterSpacing:3,mb:2},children:t}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:{xs:5,md:7},fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"},color:"text.primary"},children:a})]})}),(0,r.jsxs)(s.Box,{sx:{position:"relative","&::before, &::after":{content:'""',position:"absolute",top:0,bottom:0,width:{xs:48,md:140},zIndex:2,pointerEvents:"none"},"&::before":{left:0,background:e=>`linear-gradient(90deg, ${e.palette.background.default}, transparent)`},"&::after":{right:0,background:e=>`linear-gradient(270deg, ${e.palette.background.default}, transparent)`}},children:[(0,r.jsx)(eP,{items:c.length?c:i,direction:"right"}),d.length>0&&(0,r.jsx)(eP,{items:d,direction:"left"})]})]})}var eO=e.i(302452),e$=e.i(977324),eq=e.i(766290),eY=e.i(562067),eN=e.i(402748),eX=e.i(498622),eJ=e.i(182849),eK=e.i(761090);function eQ(){let e=(0,i.useTranslations)("reviewsDiscover"),t=(0,a.useRouter)(),[n,c]=(0,o.useState)(null),[m,g]=(0,o.useState)([]),[u,f]=(0,o.useState)([]),[y,b]=(0,o.useState)(!0),[j,v]=(0,o.useState)("");(0,o.useEffect)(()=>{let e=!0;return(async()=>{try{let r=await (0,eK.getReviewsProfileFlags)();if(!e)return;if(!r.rich_profiles_enabled){c(!1),b(!1);return}c(!0);let[t,o]=await Promise.all([(0,eK.listEntities)({entity_type:"business",limit:8}
1),(0,eK.listCategories)("business").catch(()=>({categories:[]}))]);if(!e)return;g(t.entities),f(o.categories)}catch{e&&c(!1)}finally{e&&b(!1)}})(),()=>{e=!1}},[]);let C=(0,o.useMemo)(()=>[...m].sort((e,r)=>{let t=e.trust_score??-1;return(r.trust_score??-1)-t}),[m]),w=(0,o.useMemo)(()=>u.filter(e=>1===e.level).slice(0,8),[u]);if(y)return(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:"background.default"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"repeat(2, 1fr)",lg:"repeat(4, 1fr)"},gap:2,opacity:.5},children:Array.from({length:4}).map((e,t)=>(0,r.jsx)(s.Box,{sx:{height:150,borderRadius:"16px",border:1,borderColor:"divider",bgcolor:"background.paper"}},t))})})});if(!n||0===C.length)return null;let k=j.trim()?`/reviews?q=${encodeURIComponent(j.trim())}`:"/reviews";return(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},background:e=>"dark"===e.palette.mode?e.palette.background.default:"linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%)"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsxs)(s.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:1,mb:2},children:[(0,r.jsx)(eX.default,{sx:{color:"warmGold.text",fontSize:30}}),(0,r.jsx)(l.Typography,{variant:"overline",sx:{color:"warmGold.text",fontWeight:600,letterSpacing:3},children:e("overline")})]}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:e("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"640px",margin:"0 auto 32px",color:"text.secondary"},children:e("subheading")}),(0,r.jsx)(s.Box,{component:"form",action:"/reviews",onSubmit:e=>{e.preventDefault(),t.push(k)},sx:{maxWidth:620,mx:"auto",mb:w.length>0?2.5:4},children:(0,r.jsx)(p.TextField,{value:j,onChange:e=>v(e.target.value),placeholder:e("searchPlaceholder"),fullWidth:!0,sx:{"& .MuiOutlinedInput-root":{borderRadius:"999px",bgcolor:"background.paper"}},slotProps:{input:{startAdornment:(0,r.jsx)(h.InputAdornment,{position:"start",children:(0,r.jsx)(eN.default,{sx:{color:"text.secondary"}})}),endAdornment:(0,r.jsx)(h.InputAdornment,{position:"end",children:(0,r.jsx)(x.Button,{type:"submit",size:"small",sx:{borderRadius:"999px",fontWeight:700},children:e("searchCta")})})}}})}),w.length>0&&(0,r.jsx)(d.Stack,{direction:"row",spacing:1,sx:{justifyContent:"center",flexWrap:"wrap",gap:1,rowGap:1,mb:5,px:1},children:w.map(e=>(0,r.jsx)(ew.Chip,{component:eA.default,href:`/reviews/c/${e.slug}`,clickable:!0,label:e.name,variant:"outlined",sx:{borderRadius:"999px",fontWeight:500,borderColor:"divider",color:"text.secondary","&:hover":{borderColor:"warmGold.text",color:"text.primary"}}},e.id))}),(0,r.jsx)(s.Box,{sx:{display:"grid",gap:2,gridTemplateColumns:{xs:"1fr",sm:"repeat(2, 1fr)",lg:"repeat(4, 1fr)"}},children:C.map(e=>(0,r.jsx)(eJ.EntityCard,{entity:e},e.id))}),(0,r.jsx)(s.Box,{sx:{textAlign:"center",mt:5},children:(0,r.jsx)(x.Button,{component:eA.default,href:"/reviews",variant:"contained",size:"large",endIcon:(0,r.jsx)(S.default,{}),sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:4,py:1.5,borderRadius:"999px",boxShadow:"none","&:hover":{backgroundColor:"secondary.dark",boxShadow:"none"}},children:e("browseAll")})})]})})})}var eZ=e.i(101023),e0=e.i(762821),e1=e.i(75742);function e2(){let[e,t]=(0,o.useState)([]),[a,i]=(0,o.useState)([]),[n,c]=(0,o.useState)(!0);(0,o.useEffect)(()=>{let e=!0;return(async()=>{try{let[r,o]=await Promise.all([(0,e1.listEvents)({sort:"soonest",limit:8}),(0,e1.listEventCategories)().catch(()=>({categories:[]}))]);if(!e)return;t(r.events),i(o.categories)}catch{e&&t([])}finally{e&&c(!1)}})(),()=>{e=!1}},[]);let p=(0,o.useMemo)(()=>a.filter(e=>e.level<=1).slice(0,8),[a]);return n?(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:"background.default"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"repeat(2, 1fr)",lg:"repeat(4, 1fr)"},gap:2,opacity:.5},children:Array.from({length:4}).map((e,t)=>(0,r.jsx)(s.Box,{sx:{height:220,borderRadius:"16px",border:1,borderColor:"divider",bgcolor:"background.paper"}},t))})})}):0===e.length?null:(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},background:e=>"dark"===e.palette.mode?e.palette.background.default:"linear-gradient(180deg, #fbf7ef 0%, #ffffff 100%)"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsxs)(s.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:1,mb:2},children:[(0,r.jsx)(eZ.default,{sx:{color:"warmGold.text",fontSize:30}}),(0,r.jsx)(l.Typography,{variant:"overline",sx:{color:"warmGold.text",fontWeight:600,letterSpacing:3},children:"What's on"})]}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:"Discover Events Near You"}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"640px",margin:"0 auto 32px",color:"text.secondary"},children:"Concerts, conferences, church conventions, workshops and more across Ghana and beyond."}),p.length>0&&(0,r.jsx)(d.Stack,{direction:"row",spacing:1,sx:{justifyContent:"center",flexWrap:"wrap",gap:1,rowGap:1,mb:5,px:1},children:p.map(e=>(0,r.jsx)(ew.Chip,{component:eA.default,href:`/events/c/${e.slug}`,clickable:!0,label:e.name,variant:"outlined",sx:{borderRadius:"999px",fontWeight:500,borderColor:"divider",color:"text.secondary","&:hover":{borderColor:"warmGold.text",color:"text.primary"}}},e.id))}),(0,r.jsx)(s.Box,{sx:{display:"grid",gap:2,gridTemplateColumns:"repeat(auto-fill, minmax(min(100%, 300px), 1fr))"},children:e.map((e,t)=>(0,r.jsx)(e0.EventCard,{event:e,index:t},e.id))}),(0,r.jsx)(s.Box,{sx:{textAlign:"center",mt:5},children:(0,r.jsx)(x.Button,{component:eA.default,href:"/events",variant:"contained",size:"large",endIcon:(0,r.jsx)(S.default,{}
1),sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:4,py:1.5,borderRadius:"999px",boxShadow:"none","&:hover":{backgroundColor:"secondary.dark",boxShadow:"none"}},children:"Browse all events"})})]})})})}var e5=e.i(784321),e3=e.i(875450),e4=e.i(211071),e6=e.i(656287);function e9(){let e=(0,i.useTranslations)("orgBand"),a=(0,n.useLocale)(),[c,p]=(0,o.useState)(null),[h,m]=(0,o.useState)(!1);if((0,o.useEffect)(()=>{let e=!0;return(async()=>{try{let r=await (0,e6.getOrgStats)();e&&p(r)}catch{e&&m(!0)}})(),()=>{e=!1}},[]),h||!c)return null;let g=c.csrPledged>0?`${c.currency} ${c.csrPledged.toLocaleString(a)}`:null,u=[{href:"/ngos",icon:(0,r.jsx)(e5.default,{}),title:e("ngosTitle"),body:e("ngosBody"),cta:e("viewNgos")},{href:"/corporates",icon:(0,r.jsx)(e3.default,{}),title:e("companiesTitle"),body:e("companiesBody"),cta:e("viewCompanies")},{href:"/csr",icon:(0,r.jsx)(e4.default,{}),title:e("csrTitle"),body:e("csrBody"),cta:e("viewCsr")}];return(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:"background.default"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"warmGold.text",fontWeight:600,letterSpacing:3,mb:2},children:e("overline")}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:e("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:640,margin:"0 auto 24px",color:"text.secondary"},children:e("subheading")}),(0,r.jsxs)(d.Stack,{direction:"row",spacing:1.5,sx:{justifyContent:"center",flexWrap:"wrap",rowGap:1,mb:5},children:[(0,r.jsx)(s.Box,{sx:{px:2,py:1,borderRadius:t.RADIUS.pill,backgroundColor:"rgba(221,186,125,0.18)",fontFamily:'"Sora", sans-serif',fontWeight:700,color:"text.primary"},children:e("ngosLabel",{count:c.ngoCount})}),(0,r.jsx)(s.Box,{sx:{px:2,py:1,borderRadius:t.RADIUS.pill,backgroundColor:"rgba(221,186,125,0.18)",fontFamily:'"Sora", sans-serif',fontWeight:700,color:"text.primary"},children:e("companiesLabel",{count:c.corporateCount})}),g&&(0,r.jsx)(s.Box,{sx:{px:2,py:1,borderRadius:t.RADIUS.pill,backgroundColor:"rgba(221,186,125,0.18)",fontFamily:'"Sora", sans-serif',fontWeight:700,color:"text.primary"},children:e("pledgedLabel",{amount:g})})]}),(0,r.jsx)(s.Box,{sx:{display:"grid",gap:2,gridTemplateColumns:{xs:"1fr",md:"repeat(3, 1fr)"}},children:u.map(e=>(0,r.jsxs)(s.Box,{sx:{display:"flex",flexDirection:"column",p:3,borderRadius:t.RADIUS.surface,border:"1px solid",borderColor:"divider",backgroundColor:"background.paper"},children:[(0,r.jsx)(s.Box,{sx:{width:48,height:48,borderRadius:t.RADIUS.circle,backgroundColor:"warmGold.surface",color:"warmGold.text",display:"flex",alignItems:"center",justifyContent:"center",mb:2,"& svg":{fontSize:26}},children:e.icon}),(0,r.jsx)(l.Typography,{variant:"h6",sx:{fontFamily:'"Sora", sans-serif',fontWeight:700,mb:.75},children:e.title}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"text.secondary",lineHeight:1.7,flexGrow:1,mb:2},children:e.body}),(0,r.jsx)(x.Button,{component:eA.default,href:e.href,endIcon:(0,r.jsx)(S.default,{}),sx:{alignSelf:"flex-start",borderRadius:t.RADIUS.pill,textTransform:"none",fontWeight:700,color:"text.primary","&:hover":{color:"warmGold.text",backgroundColor:"warmGold.surface"}},children:e.cta})]},e.href))})]})})})}var e7=e.i(513062);let e8={content:{headingLead:"Together, We Can",headingHighlight:"Transform Africa",subcopy:"Join a movement of changemakers. Support impactful campaigns, sign petitions that matter, discover skilled providers and cause-related goods in the marketplace, gather at events, find your next role or hire on the jobs portal, and help build a brighter future for communities across the African continent.",primaryCtaLabel:null,primaryCtaHref:null,secondaryCtaLabel:"Explore Campaigns",secondaryCtaHref:"#campaigns-section",autoplayMs:15e3},slides:[{imageUrl:"/images/104728.jpg",alt:"African community and impact"},{imageUrl:"/images/20863.jpg",alt:"African community and impact"},{imageUrl:"/images/1044.jpg",alt:"African community and impact"},{imageUrl:"/images/754.jpg",alt:"African community and impact"},{imageUrl:"/images/803.jpg",alt:"African community and impact"}]};async function re(e){try{let r=(0,eW.createClient)(),[t,o]=await Promise.all([r.from("home_hero_content").select("heading_lead, heading_highlight, subcopy, primary_cta_label, primary_cta_href, secondary_cta_label, secondary_cta_href, autoplay_ms, translations").eq("id",1).maybeSingle(),r.from("home_hero_slides").select("image_url, alt_text").eq("is_active",!0).order("sort_order",{ascending:!0}).order("created_at",{ascending:!0})]),a=t.data,i=o.data??[],n=e&&"en"!==e&&a?.translations?a.translations[e]??{}:{},s=(e,r)=>n[r]??e[r],l=a?{headingLead:s(a,"heading_lead")??e8.content.headingLead,headingHighlight:s(a,"heading_highlight")??e8.content.headingHighlight,subcopy:s(a,"subcopy")??e8.content.subcopy,primaryCtaLabel:s(a,"primary_cta_label"),primaryCtaHref:a.primary_cta_href,secondaryCtaLabel:s(a,"secondary_cta_label"),secondaryCtaHref:a.secondary_cta_href||"#campaigns-section",autoplayMs:a.autoplay_ms}:e8.content,c=i.length>0?i.map(e=>({imageUrl:e.image_url,alt:e.alt_text||"African community and impact"})):e8.slides;return{content:l,slides:c}}catch{return e8}}var rr=e.i(203176),rt=e.i(233245),ro=e.i(764248);let ra={some:0,all:1},ri=rt.CATEGORY_NAMES_WITH_ALL,rn={Education:(0,r.jsx)(I.default,{}),Healthcare:(0,r.jsx)(W,{}),"Clean Water":(0,r.jsx)(A,{}),"Food Security":(0,r.jsx)(P,{}),"Housing & Shelter":(0,r.jsx)(U,{}),"Sanitation & Hygiene":(0,r.jsx)(O,{}),"Economic Development":(0,r.jsx)(L.default,{}
1),"Small Business":(0,r.jsx)($.default,{}),Agriculture:(0,r.jsx)(M,{}),"Vocational Training":(0,r.jsx)(q,{}),"Technology Access":(0,r.jsx)(H.default,{}),Infrastructure:(0,r.jsx)(Y.default,{}),"Energy Access":(0,r.jsx)(N,{}),Transportation:(0,r.jsx)(X,{}),"Women Empowerment":(0,r.jsx)(J,{}),"Youth Programs":(0,r.jsx)(F,{}),"Child Welfare":(0,r.jsx)(K,{}),"Elderly Care":(0,r.jsx)(Q,{}),"Disability Support":(0,r.jsx)(Q,{}),"Refugee Support":(0,r.jsx)(Z,{}),"Emergency Relief":(0,r.jsx)(ee.default,{}),"Medical Emergency":(0,r.jsx)(er,{}),"Environmental Conservation":(0,r.jsx)(R,{}),"Animal Welfare":(0,r.jsx)(et,{}),"Climate Action":(0,r.jsx)(eo,{}),"Arts & Culture":(0,r.jsx)(_,{}),"Sports & Recreation":(0,r.jsx)(ea,{}),"Faith & Community":(0,r.jsx)(E.default,{}),"Media & Journalism":(0,r.jsx)(ei.default,{}),"Human Rights":(0,r.jsx)(en.default,{}),"Mental Health":(0,r.jsx)(es,{}),"Science & Research":(0,r.jsx)(el,{}),"Community Development":(0,r.jsx)(G.default,{}),Other:(0,r.jsx)(ec,{})},rs=["donation","genuine","custody","jobs","payment","petitions"];function rl({end:e,duration:t=2e3,suffix:a=""}){let[i,n]=(0,o.useState)(0),s=(0,o.useRef)(null),l=function(e,{root:r,margin:t,amount:a,once:i=!1,initial:n=!1}={}){let[s,l]=(0,o.useState)(n);return(0,o.useEffect)(()=>{if(!e.current||i&&s)return;let o={root:r&&r.current||void 0,margin:t,amount:a};return function(e,r,{root:t,margin:o,amount:a="some"}={}){let i=(0,ro.resolveElements)(e),n=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let t=n.get(e.target);if(!!t!==e.isIntersecting)if(e.isIntersecting){let t=r(e.target,e);"function"==typeof t?n.set(e.target,t):s.unobserve(e.target)}else"function"==typeof t&&(t(e),n.delete(e.target))})},{root:t,rootMargin:o,threshold:"number"==typeof a?a:ra[a]});return i.forEach(e=>s.observe(e)),()=>s.disconnect()}(e.current,()=>(l(!0),i?void 0:()=>l(!1)),o)},[r,e,t,i,a]),s}(s,{once:!0});return(0,o.useEffect)(()=>{let r;if(!l)return;let o=a=>{r||(r=a);let i=Math.min((a-r)/t,1);n(Math.floor(i*e)),i<1&&requestAnimationFrame(o)};requestAnimationFrame(o)},[l,e,t]),(0,r.jsxs)("span",{ref:s,children:[i.toLocaleString(),a]})}e.s(["MarketingHome",0,function(){(0,a.useRouter)();let{user:e}=(0,e$.useAuth)(),I=(0,eq.useLaunchCopy)(),{settings:z}=(0,eq.usePlatformSettings)(),W=z.durbar_enabled,A=z.safety_enabled&&z.safety_hazards_enabled,R=(0,i.useTranslations)("common"),M=(0,i.useTranslations)("home.discover"),H=(0,i.useTranslations)("home.mission"),_=(0,n.useLocale)(),{categoryLabel:F,categoryDescription:L}=(0,e_.useCategoryI18n)(),P=(0,i.useTranslations)("home.ecosystem"),U=(0,i.useTranslations)("home.story"),O=(0,i.useTranslations)("home.how"),q=(0,i.useTranslations)("home.payments"),Y=(0,i.useTranslations)("home.faq"),[N,X]=(0,o.useState)([]),[J,K]=(0,o.useState)([]),[Q,Z]=(0,o.useState)(!0),[ee,er]=(0,o.useState)(""),[et,eo]=(0,o.useState)("All"),[ea,ei]=(0,o.useState)("trending"),[en,es]=(0,o.useState)({totalFundsRaised:0,campaignsFunded:0,countriesReached:0,livesImpacted:0,totalDonors:0,petitionSignatures:0,totalEvents:0,jobsPosted:0}),[el,ec]=(0,o.useState)(!0),[eC,eS]=(0,o.useState)(0),[ew,ek]=(0,o.useState)(e8),eT=ew.content,eB=ew.slides;(0,o.useEffect)(()=>{ez(),eI(),re(_).then(e=>{ek(e),eS(0)}).catch(()=>{})},[_]);let eI=async()=>{try{let e=await (0,e7.getPlatformStats)();es({totalFundsRaised:e.totalFundsRaised||0,campaignsFunded:e.campaignsFunded||0,countriesReached:e.countriesReached||0,livesImpacted:e.livesImpacted||0,totalDonors:e.totalDonors||0,petitionSignatures:e.petitionSignatures||0,totalEvents:e.totalEvents||0,jobsPosted:e.jobsPosted||0})}catch(e){(0,rr.isApiError)(e)?console.error("Error fetching stats:",e.message):console.error("Error fetching stats:",e)}finally{ec(!1)}};(0,o.useEffect)(()=>{eH()},[N,ee,et,ea]),(0,o.useEffect)(()=>{if(eB.length<=1)return;let e=setInterval(()=>{eS(e=>(e+1)%eB.length)},eT.autoplayMs);return()=>clearInterval(e)},[eB.length,eT.autoplayMs]);let ez=async()=>{try{let e=(0,eW.createClient)(),{data:r,error:t}=await e.from("campaigns").select("*").in("status",["active","won"]).order("created_at",{ascending:!1}).limit(50);if(t)throw t;X(r||[])}catch(e){console.error("Error fetching campaigns:",e)}finally{Z(!1)}},eH=()=>{let e=[...N];if(ee.trim()){let r=ee.toLowerCase();e=e.filter(e=>e.title.toLowerCase().includes(r)||e.description.toLowerCase().includes(r)||e.category.toLowerCase().includes(r))}switch("All"!==et&&(e=e.filter(e=>e.category===et)),ea){case"trending":e.sort((e,r)=>{let t=e.signatures_count+e.raised_amount/100;return r.signatures_count+r.raised_amount/100-t});break;
1case"recent":e.sort((e,r)=>new Date(r.created_at).getTime()-new Date(e.created_at).getTime());break;case"location":e.sort((e,r)=>e.title.localeCompare(r.title))}K(e)};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(s.Box,{sx:{minHeight:"100vh",backgroundColor:"background.default"},children:[(0,r.jsxs)(s.Box,{sx:{position:"relative",width:"100%",height:{xs:"70vh",md:"85vh"},overflow:"hidden",backgroundColor:e=>(0,t.darkSectionSurface)(e.palette.mode,"#15292f")},children:[eB.map((e,t)=>(0,r.jsx)(eM.motion.div,{initial:!1,animate:{opacity:+(t===eC)},transition:{duration:1.4,ease:"easeInOut"},style:{position:"absolute",inset:0,zIndex:+(t===eC),pointerEvents:"none"},children:(0,r.jsx)(eR.default,{src:e.imageUrl,alt:e.alt,fill:!0,priority:0===t,style:{objectFit:"cover"},sizes:"100vw"})},`${e.imageUrl}-${t}`)),(0,r.jsx)(s.Box,{sx:{position:"absolute",bottom:24,left:"50%",transform:"translateX(-50%)",display:"flex",gap:1,zIndex:2},children:eB.map((e,t)=>(0,r.jsx)(s.Box,{component:"button",type:"button",onClick:()=>eS(t),"aria-label":R("goToSlide",{number:t+1}),"aria-current":t===eC?"true":void 0,sx:{width:8,height:8,p:0,border:"none",appearance:"none",borderRadius:"50%",bgcolor:t===eC?"secondary.main":"rgba(255,255,255,0.5)",cursor:"pointer",transition:"all 0.3s ease","@media (prefers-reduced-motion: reduce)":{transition:"none"},"&:hover":{bgcolor:t===eC?"secondary.dark":"rgba(255,255,255,0.8)"},"&:focus-visible":{outline:"2px solid #FFFFFF",outlineOffset:"3px"}}},t))}),(0,r.jsx)(s.Box,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:1,background:"linear-gradient(135deg, rgba(21, 41, 47, 0.85) 0%, rgba(21, 41, 47, 0.6) 50%, rgba(221, 186, 125, 0.3) 100%)",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},children:[(0,r.jsxs)(l.Typography,{variant:"h1",sx:{color:"white",textAlign:"center",marginBottom:3,textShadow:"0 4px 20px rgba(0, 0, 0, 0.3)",fontSize:{xs:"2.5rem",sm:"3.5rem",md:"4rem"},fontWeight:700,lineHeight:1.1},children:[eT.headingLead,eT.headingHighlight?(0,r.jsxs)(r.Fragment,{children:[" ",(0,r.jsx)(s.Box,{component:"span",sx:{color:"secondary.main"},children:eT.headingHighlight})]}):null]}),(0,r.jsx)(l.Typography,{variant:"h5",sx:{color:"rgba(255, 255, 255, 0.95)",textAlign:"center",marginBottom:4,fontFamily:'"Manrope", sans-serif',fontWeight:400,maxWidth:"800px",margin:"0 auto 40px",fontSize:{xs:"1rem",sm:"1.25rem"},lineHeight:1.6},children:eT.subcopy}),(0,r.jsxs)(d.Stack,{direction:{xs:"column",sm:"row"},spacing:2,sx:{justifyContent:"center",alignItems:"center"},children:[eT.primaryCtaHref?(0,r.jsx)(x.Button,{component:eA.default,href:eT.primaryCtaHref,variant:"contained",size:"large",sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:4,py:1.5,fontSize:"1.1rem",borderRadius:"999px",boxShadow:"0 4px 20px rgba(221, 186, 125, 0.4)","&:hover":{backgroundColor:"secondary.dark",transform:"translateY(-2px)",boxShadow:"0 6px 25px rgba(221, 186, 125, 0.5)"},transition:"all 0.3s ease"},children:eT.primaryCtaLabel||"Get started"}):(0,r.jsx)(eY.StartCauseCTA,{isLoggedIn:!!e,variant:"contained",size:"large",sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:4,py:1.5,fontSize:"1.1rem",borderRadius:"999px",boxShadow:"0 4px 20px rgba(221, 186, 125, 0.4)","&:hover":{backgroundColor:"secondary.dark",transform:"translateY(-2px)",boxShadow:"0 6px 25px rgba(221, 186, 125, 0.5)"},transition:"all 0.3s ease"},children:eT.primaryCtaLabel||I.heroCtaLabel}),eT.secondaryCtaLabel?(0,r.jsx)(x.Button,{variant:"outlined",size:"large",...eT.secondaryCtaHref.startsWith("#")?{onClick:()=>{let e=eT.secondaryCtaHref.slice(1);document.getElementById(e)?.scrollIntoView({behavior:"smooth"})}}:{component:eA.default,href:eT.secondaryCtaHref},sx:{borderColor:"white",color:"white",px:4,py:1.5,fontSize:"1.1rem",borderRadius:"999px",borderWidth:2,"&:hover":{borderColor:"secondary.main",backgroundColor:"rgba(221, 186, 125, 0.15)",borderWidth:2}},children:eT.secondaryCtaLabel}):null]})]})})})]}),(0,r.jsx)(s.Box,{sx:{py:{xs:6,md:8},background:e=>"dark"===e.palette.mode?e.palette.background.default:"#15292f"}
1,children:(0,r.jsx)(eb.Container,{children:(0,r.jsx)(eM.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",md:"repeat(4, 1fr)"},gap:{xs:3,md:4}},children:[{value:en.totalFundsRaised,suffix:"",label:"Funds Raised (GHS)",icon:(0,r.jsx)(E.default,{})},{value:en.petitionSignatures,suffix:"",label:"Petition Signatures",icon:(0,r.jsx)(B.default,{})},{value:en.totalEvents,suffix:"",label:"Total Events",icon:(0,r.jsx)(ex.default,{})},{value:en.jobsPosted,suffix:"",label:"Jobs Posted",icon:(0,r.jsx)(ed.default,{})}].map((e,t)=>(0,r.jsx)(eM.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*t},style:{height:"100%"},children:(0,r.jsxs)(s.Box,{sx:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",textAlign:"center",p:{xs:2.5,lg:3},borderRadius:"16px",backgroundColor:"rgba(255, 255, 255, 0.1)",backdropFilter:"blur(10px)",transition:"transform 0.3s ease","&:hover":{transform:"translateY(-5px)"}},children:[(0,r.jsx)(s.Box,{sx:{color:"secondary.main",mb:1,"& svg":{fontSize:40}},children:e.icon}),(0,r.jsx)(l.Typography,{variant:"h3",sx:{color:"white",fontWeight:700,fontFamily:'"Sora", sans-serif',fontSize:{xs:"1.5rem",sm:"1.9rem",md:"1.9rem",lg:"2.4rem"},lineHeight:1.15,whiteSpace:"nowrap"},children:el?(0,r.jsx)(y.Skeleton,{variant:"rounded",width:100,height:36,sx:{bgcolor:"rgba(255, 255, 255, 0.25)",mx:"auto"}}):(0,r.jsx)(rl,{end:e.value,suffix:e.suffix})}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"rgba(255, 255, 255, 0.8)",mt:1,fontWeight:500,minHeight:44,display:"flex",alignItems:"center",justifyContent:"center"},children:e.label})]})},e.label))})})})}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:"background.default"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"warmGold.text",fontWeight:600,letterSpacing:3,mb:2},children:H("overline")}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:3,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:H("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"800px",margin:"0 auto",color:"text.secondary",fontSize:{xs:"1rem",md:"1.15rem"},lineHeight:1.8,mb:6},children:H("body")}),(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(3, 1fr)"},gap:4},children:[{icon:(0,r.jsx)(G.default,{sx:{fontSize:48}}),title:H("pillars.communityTitle"),description:H("pillars.communityDesc")},{icon:(0,r.jsx)(V.default,{sx:{fontSize:48}}),title:H("pillars.transparencyTitle"),description:H("pillars.transparencyDesc")},{icon:(0,r.jsx)(E.default,{sx:{fontSize:48}}),title:H("pillars.impactTitle"),description:H("pillars.impactDesc")}].map((e,t)=>(0,r.jsx)(eM.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.15*t},children:(0,r.jsxs)(c.Card,{sx:{height:"100%",textAlign:"center",p:4,borderRadius:"16px",border:"1px solid",borderColor:"divider",transition:"all 0.3s ease","&:hover":{transform:"translateY(-8px)",boxShadow:"0 20px 40px rgba(0, 0, 0, 0.1)",borderColor:"warmGold.text"}},children:[(0,r.jsx)(s.Box,{sx:{color:"warmGold.text",mb:2},children:e.icon}),(0,r.jsx)(l.Typography,{variant:"h5",sx:{fontFamily:'"Sora", sans-serif',fontWeight:600,mb:2},children:e.title}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"text.secondary",lineHeight:1.7},children:e.description})]})},e.title))})]})})}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:e=>(0,t.darkSectionSurface)(e.palette.mode,"#15292f")},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}
1,children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"secondary.main",fontWeight:600,letterSpacing:3,mb:2},children:P("overline")}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"},color:"#fff"},children:P("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"780px",margin:"0 auto 48px",color:"rgba(255, 255, 255, 0.72)",fontSize:{xs:"1rem",md:"1.125rem"},lineHeight:1.8},children:P("body")}),(0,r.jsx)(s.Box,{sx:{display:"flex",flexWrap:"wrap",justifyContent:"center",gap:3,"& > *":{flex:{xs:"0 1 100%",sm:"0 1 calc(50% - 12px)",md:"0 1 calc(33.333% - 16px)"}}},children:[{icon:(0,r.jsx)(E.default,{}),title:P("cards.fundraisingTitle"),href:"/fundraising",desc:P("cards.fundraisingDesc")},{icon:(0,r.jsx)(B.default,{}),title:P("cards.petitionsTitle"),href:"/petitions",desc:P("cards.petitionsDesc")},{icon:(0,r.jsx)(ex.default,{}),title:P("cards.eventsTitle"),href:"/events",desc:P("cards.eventsDesc")},{icon:(0,r.jsx)(ed.default,{}),title:P("cards.jobsTitle"),href:"/jobs",desc:P("cards.jobsDesc")},{icon:(0,r.jsx)($.default,{}),title:P("cards.marketplaceTitle"),href:"/marketplace",desc:P("cards.marketplaceDesc")},{icon:(0,r.jsx)(ep.default,{}),title:P("cards.reviewsTitle"),href:"/reviews",desc:P("cards.reviewsDesc")},{icon:(0,r.jsx)(eh.default,{}),title:P("cards.surveysTitle"),href:"/features/polls-surveys",desc:P("cards.surveysDesc")},...W?[{icon:(0,r.jsx)(eg.default,{}),title:P("cards.durbarTitle"),href:"/durbar",desc:P("cards.durbarDesc")}]:[],...A?[{icon:(0,r.jsx)(eu.default,{}),title:P("cards.safetyTitle"),href:"/safety",desc:P("cards.safetyDesc")}]:[]].map((e,t)=>(0,r.jsx)(eM.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.06*t},children:(0,r.jsxs)(c.Card,{component:eA.default,href:e.href,sx:{height:"100%",display:"flex",flexDirection:"column",p:{xs:3,md:3.5},borderRadius:"16px",textDecoration:"none",backgroundColor:"rgba(255, 255, 255, 0.05)",border:"1px solid rgba(255, 255, 255, 0.12)",boxShadow:"none",transition:"transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease",cursor:"pointer","&:hover":{transform:"translateY(-4px)",borderColor:"secondary.main",backgroundColor:"rgba(255, 255, 255, 0.08)","& .eco-icon":{backgroundColor:"secondary.main",color:"secondary.contrastText",transform:"scale(1.05)"}}},children:[(0,r.jsx)(s.Box,{className:"eco-icon",sx:{width:56,height:56,borderRadius:"50%",backgroundColor:"warmGold.onDarkSurface",color:"warmGold.onDark",display:"flex",alignItems:"center",justifyContent:"center",mb:2,transition:"all 0.25s ease","& svg":{fontSize:28}},children:e.icon}),(0,r.jsx)(l.Typography,{variant:"h6",sx:{fontFamily:'"Sora", sans-serif',fontWeight:600,mb:1,color:"#fff"},children:e.title}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"rgba(255, 255, 255, 0.72)",lineHeight:1.7,flexGrow:1},children:e.desc}),(0,r.jsxs)(s.Box,{sx:{mt:2,display:"inline-flex",alignItems:"center",gap:.5,color:"secondary.main"},children:[(0,r.jsx)(l.Typography,{variant:"body2",sx:{fontWeight:600},children:"Explore"}),(0,r.jsx)(S.default,{sx:{fontSize:16}})]})]})},e.title))}),(0,r.jsxs)(s.Box,{sx:{mt:4,p:{xs:3,md:4},borderRadius:"16px",display:"grid",gridTemplateColumns:{xs:"1fr",md:"1fr auto"},gap:3,alignItems:"center",backgroundColor:"rgba(255, 255, 255, 0.05)",border:"1px solid rgba(255, 255, 255, 0.12)"},children:[(0,r.jsxs)(s.Box,{children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{color:"secondary.main",fontWeight:700,letterSpacing:1},children:P("social.overline")}),(0,r.jsx)(l.Typography,{variant:"h6",sx:{fontFamily:'"Sora", sans-serif',fontWeight:700,mb:.5,color:"#fff"},children:P("social.heading")}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"rgba(255, 255, 255, 0.72)",lineHeight:1.7},children:P("social.body")})]}),(0,r.jsx)(x.Button,{component:eA.default,href:"/features/social",variant:"contained",endIcon:(0,r.jsx)(S.default,{}
1),sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:4,py:1.5,borderRadius:"999px",boxShadow:"none",whiteSpace:"nowrap","&:hover":{backgroundColor:"secondary.dark",boxShadow:"none"}},children:P("social.cta")})]}),(0,r.jsxs)(s.Box,{sx:{mt:4,p:{xs:3,md:4},borderRadius:"16px",display:"grid",gridTemplateColumns:{xs:"1fr",md:"1fr auto"},gap:3,alignItems:"center",backgroundColor:"rgba(255, 255, 255, 0.05)",border:"1px solid rgba(255, 255, 255, 0.12)"},children:[(0,r.jsxs)(s.Box,{children:[(0,r.jsx)(l.Typography,{variant:"h6",sx:{fontFamily:'"Sora", sans-serif',fontWeight:700,mb:.5,color:"#fff"},children:P("orgs.heading")}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"rgba(255, 255, 255, 0.72)",lineHeight:1.7},children:P("orgs.body")})]}),(0,r.jsx)(x.Button,{component:eA.default,href:"/features/organisations",variant:"contained",endIcon:(0,r.jsx)(S.default,{}),sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:4,py:1.5,borderRadius:"999px",boxShadow:"none",whiteSpace:"nowrap","&:hover":{backgroundColor:"secondary.dark",boxShadow:"none"}},children:P("orgs.cta")})]}),(0,r.jsxs)(s.Box,{sx:{mt:3,pt:3,borderTop:"1px solid rgba(255, 255, 255, 0.12)",display:"flex",flexDirection:{xs:"column",md:"row"},gap:2,alignItems:{md:"center"},justifyContent:"space-between"},children:[(0,r.jsxs)(s.Box,{children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{color:"secondary.main",fontWeight:700,letterSpacing:1},children:P("build.overline")}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"rgba(255, 255, 255, 0.72)",lineHeight:1.7,maxWidth:760},children:P("build.body")})]}),(0,r.jsx)(x.Button,{component:"a",href:`${(0,eO.docsAppUrl)()}/docs/developers`,target:"_blank",rel:"noopener noreferrer",endIcon:(0,r.jsx)(S.default,{}),sx:{color:"secondary.main",whiteSpace:"nowrap",flexShrink:0,alignSelf:{xs:"flex-start",md:"center"}},children:P("build.cta")})]})]})})}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},background:e=>"dark"===e.palette.mode?e.palette.background.default:"linear-gradient(180deg, #ffffff 0%, #faf6ee 100%)"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsx)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:(0,r.jsxs)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"1fr 1fr"},gap:{xs:4,md:8},alignItems:"center"},children:[(0,r.jsxs)(s.Box,{children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",color:"secondary.main",fontWeight:600,letterSpacing:3,mb:2},children:U("overline")}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.5rem"},mb:3},children:U("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{color:"text.secondary",fontSize:{xs:"1rem",md:"1.125rem"},lineHeight:1.8,mb:4},children:U("body")}),(0,r.jsx)(x.Button,{variant:"contained",size:"large",component:eA.default,href:"/about",endIcon:(0,r.jsx)(S.default,{}),sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:4,py:1.5,fontSize:"1rem",borderRadius:"999px",boxShadow:"none","&:hover":{backgroundColor:"secondary.dark",boxShadow:"none"}},children:U("cta")})]}),(0,r.jsx)(s.Box,{component:"img",src:"/images/336137.jpg",alt:"A confident member of the Ardent Africa community holding a tablet",loading:"lazy",sx:{width:"100%",aspectRatio:"4 / 3",objectFit:"cover",objectPosition:"center top",borderRadius:"16px",boxShadow:"0 16px 48px rgba(21, 41, 47, 0.16)"}})]})})})}),(0,r.jsx)(s.Box,{sx:{position:"relative",overflow:"hidden",py:{xs:10,md:14},background:e=>(0,t.darkHeroGradient)(e.palette.mode,"#15292f"),color:"#fff"},children:(0,r.jsx)(eb.Container,{sx:{position:"relative",zIndex:1},children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"secondary.main",fontWeight:600,letterSpacing:3,mb:2},children:O("overline")}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:{xs:5,md:7},fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"},color:"#fff"},children:O("heading")}),(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(3, 1fr)"},gap:{xs:3,md:4}},children:[{step:"01",icon:(0,r.jsx)(D,{sx:{fontSize:40}}),title:O("steps.discoverTitle"),description:O("steps.discoverDesc")},{step:"02",icon:(0,r.jsx)(E.default,{sx:{fontSize:40}}),title:O("steps.supportTitle"),description:O("steps.supportDesc")},{step:"03",icon:(0,r.jsx)(V.default,{sx:{fontSize:40}}),title:O("steps.trackTitle"),description:O("steps.trackDesc")}].map((e,t)=>(0,r.jsx)(eM.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.15*t},children:(0,r.jsxs)(s.Box,{sx:{height:"100%",p:{xs:3,md:4},borderRadius:"16px",textAlign:"center",backgroundColor:"rgba(255, 255, 255, 0.04)",border:"1px solid rgba(245, 231, 198, 0.14)",transition:"border-color 0.25s ease, transform 0.25s ease","&:hover":{borderColor:"secondary.main",transform:"translateY(-4px)"}},children:[(0,r.jsx)(s.Box,{sx:{width:80,height:80,borderRadius:"50%",backgroundColor:"secondary.main",color:"secondary.c
1ontrastText",display:"flex",alignItems:"center",justifyContent:"center",margin:"0 auto 20px"},children:e.icon}),(0,r.jsxs)(l.Typography,{variant:"overline",sx:{color:"secondary.main",fontWeight:700,fontSize:"0.85rem",letterSpacing:"0.12em",fontFamily:'"Sora", sans-serif'},children:["STEP ",e.step]}),(0,r.jsx)(l.Typography,{variant:"h5",sx:{fontFamily:'"Sora", sans-serif',fontWeight:600,color:"#fff",mt:1,mb:1.5},children:e.title}),(0,r.jsx)(l.Typography,{variant:"body2",sx:{color:"rgba(255, 255, 255, 0.7)",lineHeight:1.7},children:e.description})]})},e.step))})]})})}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:"background.default"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"warmGold.text",fontWeight:600,letterSpacing:3,mb:2},children:"SUCCESS STORIES"}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:"Campaigns That Made a Difference"}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"600px",margin:"0 auto 48px",color:"text.secondary"},children:"Discover how our community has transformed lives across Africa"}),(0,r.jsx)(eF,{})]})})}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},background:e=>"dark"===e.palette.mode?e.palette.background.default:"linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%)"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"secondary.main",fontWeight:600,letterSpacing:3,mb:2},children:"FEATURED CAUSES"}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:"Choose Your Cause"}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"600px",margin:"0 auto 48px",color:"text.secondary"},children:"Explore campaigns by category and find causes that match your passion"}),(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",sm:"repeat(3, 1fr)",md:"repeat(5, 1fr)"},gap:3},children:ri.filter(e=>"All"!==e).map((e,t)=>(0,r.jsx)(eM.motion.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.05*t},children:(0,r.jsxs)(c.Card,{component:eA.default,href:`/campaigns?category=${encodeURIComponent(e)}`,sx:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",p:{xs:2.5,md:3},borderRadius:"16px",textDecoration:"none",backgroundColor:e=>"dark"===e.palette.mode?"rgba(255, 255, 255, 0.02)":"#ffffff",border:"1px solid",borderColor:e=>"dark"===e.palette.mode?"rgba(255, 255, 255, 0.08)":"rgba(21, 41, 47, 0.08)",boxShadow:"none",transition:"transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease",cursor:"pointer","&:hover":{transform:"translateY(-4px)",borderColor:"secondary.main",boxShadow:"0 10px 30px rgba(21, 41, 47, 0.10)","& .category-icon":{backgroundColor:"secondary.main",color:"secondary.contrastText",transform:"scale(1.06)"}}},children:[(0,r.jsx)(s.Box,{className:"category-icon",sx:{width:56,height:56,borderRadius:"50%",backgroundColor:"warmGold.surface",display:"flex",alignItems:"center",justifyContent:"center",mb:2,color:"warmGold.text",transition:"all 0.25s ease","& svg":{fontSize:26}},children:rn[e]}),(0,r.jsx)(l.Typography,{variant:"subtitle2",sx:{fontFamily:'"Sora", sans-serif',fontWeight:600,color:"text.primary",mb:.75},children:F(e)}),(0,r.jsx)(l.Typography,{variant:"caption",sx:{color:"text.secondary",display:{xs:"none",sm:"-webkit-box"},WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",lineHeight:1.5},children:L(e)})]})},e))})]})})}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},background:e=>"dark"===e.palette.mode?e.palette.background.default:"linear-gradient(180deg, rgba(21, 41, 47, 0.03) 0%, rgba(221, 186, 125, 0.08) 100%)"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsxs)(s.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",gap:2,mb:2},children:[(0,r.jsx)(w.default,{sx:{color:"secondary.main",fontSize:32}}),(0,r.jsx)(l.Typography,{variant:"overline",sx:{color:"secondary.main",fontWeight:600,letterSpacing:3},children:"RECOMMENDED FOR YOU"})]}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:M("wavesHeading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"600px",margin:"0 auto 48px",color:"text.secondary"},children:M(e?"recommendedSubtitle":"trendingSubtitle")}),e?(0,r.jsx)(ej.RecommendedCampaigns,{limit:6,showTitle:!1}):J.length>0?(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"repeat(2, 1fr)",md:"repeat(3, 1fr)"},gap:3},children:J.slice(0,6).map((e,t)=>(0,r.jsx)(eM.motion.div,{style:{height:"100%"},initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.1*t},children:(0,r.jsx)(ey.CampaignCard,{campaign:e,priority:t<3})},e.id))}):(0,r.jsx)(s.Box,{sx:{textAlign:"center",py:6},children:(0,r.jsx)(l.Typography,{variant:"h6",sx:{color:"text.secondary"},children:"No campaigns available at the moment. Check back soon!"})}),(0,r.jsx)(s.Box,{sx:{textAlign:"center",mt:5},children:(0,r.jsx)(x.Button,{variant:"contained",size:"large",component:eA.default,href:"/campaigns",sx:{backgroundColor:"secondary.main",color:"secondary.c
1ontrastText",px:5,py:1.5,borderRadius:"999px",fontSize:"1rem",fontWeight:600,boxShadow:"0 4px 20px rgba(221, 186, 125, 0.3)","&:hover":{backgroundColor:"secondary.dark",transform:"translateY(-2px)",boxShadow:"0 6px 25px rgba(221, 186, 125, 0.4)"},transition:"all 0.3s ease"},children:"View All Campaigns"})})]})})}),(0,r.jsx)(s.Box,{id:"campaigns-section",sx:{py:{xs:6,md:10},backgroundColor:e=>(0,t.darkSectionSurface)(e.palette.mode,"#15292f")},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(d.Stack,{spacing:4,children:[(0,r.jsxs)(s.Box,{children:[(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",marginBottom:2,color:"#fff",fontFamily:'"Sora", sans-serif',fontWeight:600},children:M("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",marginBottom:4,color:"rgba(255, 255, 255, 0.72)",maxWidth:"600px",margin:"0 auto 32px"},children:M("subtitle")})]}),(0,r.jsx)(c.Card,{sx:{borderRadius:"16px",p:3,boxShadow:"none",backgroundColor:"rgba(255, 255, 255, 0.05)",border:"1px solid rgba(255, 255, 255, 0.12)","& .MuiOutlinedInput-root":{borderRadius:"12px",color:"#fff",backgroundColor:"rgba(255, 255, 255, 0.04)","& fieldset":{borderColor:"rgba(255, 255, 255, 0.2)"},"&:hover fieldset":{borderColor:"rgba(255, 255, 255, 0.35)"},"&.Mui-focused fieldset":{borderColor:"secondary.main"}},"& .MuiInputLabel-root":{color:"rgba(255, 255, 255, 0.7)"},"& .MuiInputLabel-root.Mui-focused":{color:"secondary.main"},"& .MuiInputBase-input::placeholder":{color:"rgba(255, 255, 255, 0.5)",opacity:1},"& .MuiSvgIcon-root":{color:"rgba(255, 255, 255, 0.7)"}},children:(0,r.jsxs)(d.Stack,{spacing:3,children:[(0,r.jsx)(p.TextField,{fullWidth:!0,placeholder:M("searchPlaceholder"),value:ee,onChange:e=>er(e.target.value),sx:{"& .MuiOutlinedInput-root":{borderRadius:"12px"}},slotProps:{input:{startAdornment:(0,r.jsx)(h.InputAdornment,{position:"start",children:(0,r.jsx)(C.default,{})})}}}),(0,r.jsxs)(d.Stack,{direction:{xs:"column",sm:"row"},spacing:2,children:[(0,r.jsxs)(u.FormControl,{fullWidth:!0,sx:{"& .MuiOutlinedInput-root":{borderRadius:"12px"}},children:[(0,r.jsx)(f.InputLabel,{id:"home-category-label",children:M("category")}),(0,r.jsx)(m.Select,{labelId:"home-category-label",value:et,onChange:e=>eo(e.target.value),label:M("category"),children:ri.map(e=>(0,r.jsx)(g.MenuItem,{value:e,children:e},e))})]}),(0,r.jsxs)(u.FormControl,{fullWidth:!0,sx:{"& .MuiOutlinedInput-root":{borderRadius:"12px"}},children:[(0,r.jsx)(f.InputLabel,{id:"home-sort-label",children:M("sortBy")}),(0,r.jsxs)(m.Select,{labelId:"home-sort-label",value:ea,onChange:e=>ei(e.target.value),label:M("sortBy"),children:[(0,r.jsx)(g.MenuItem,{value:"trending",children:(0,r.jsxs)(d.Stack,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[(0,r.jsx)(w.default,{fontSize:"small"}),(0,r.jsx)("span",{children:M("trending")})]})}),(0,r.jsx)(g.MenuItem,{value:"recent",children:(0,r.jsxs)(d.Stack,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[(0,r.jsx)(k.default,{fontSize:"small"}),(0,r.jsx)("span",{children:M("recent")})]})}),(0,r.jsx)(g.MenuItem,{value:"location",children:(0,r.jsxs)(d.Stack,{direction:"row",spacing:1,sx:{alignItems:"center"},children:[(0,r.jsx)(T.default,{fontSize:"small"}),(0,r.jsx)("span",{children:M("location")})]})})]})]})]})]})}),Q?(0,r.jsx)(ef.CampaignCardSkeletonGrid,{count:6}):0===J.length?(0,r.jsx)(c.Card,{sx:{borderRadius:"16px",p:6,textAlign:"center",backgroundColor:"rgba(255, 255, 255, 0.05)",border:"1px solid rgba(255, 255, 255, 0.12)",boxShadow:"none"},children:(0,r.jsx)(l.Typography,{variant:"h6",sx:{color:"rgba(255, 255, 255, 0.72)"},children:M("empty")})}):(0,r.jsx)(s.Box,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"repeat(2, 1fr)",md:"repeat(3, 1fr)"},gap:3,alignItems:"stretch"},children:J.slice(0,6).map((e,t)=>(0,r.jsx)(s.Box,{sx:{minWidth:0,height:"100%"},children:(0,r.jsx)(eM.motion.div,{style:{minWidth:0,height:"100%"},initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.5,delay:.05*t},children:(0,r.jsx)(ey.CampaignCard,{campaign:e,priority:t<3})})},e.id))}),J.length>6&&(0,r.jsx)(s.Box,{sx:{textAlign:"center",mt:4},children:(0,r.jsx)(x.Button,{variant:"outlined",size:"large",component:eA.default,href:"/campaigns",sx:{borderColor:"warmGold.onDark",color:"warmGold.onDark",px:4,borderRadius:"999px","&:hover":{borderColor:"warmGold.onDark",backgroundColor:"warmGold.onDarkSurface"}},children:"View All Campaigns"})})]})})}),(0,r.jsx)(e2,{}),(0,r.jsx)(eQ,{}),(0,r.jsx)(e9,{}),(0,r.jsx)(eU,{audience:"ardent"}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:10},backgroundColor:"background.default",borderTop:"1px solid",borderBottom:"1px solid",borderColor:"divider"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}
1,children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"warmGold.text",fontWeight:600,letterSpacing:3,mb:2},children:q("overline")}),(0,r.jsx)(l.Typography,{variant:"h3",sx:{textAlign:"center",mb:1,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"1.75rem",md:"2.25rem"}},children:q("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",mb:4,color:"text.secondary",maxWidth:"600px",margin:"0 auto 32px"},children:q("body")}),(0,r.jsx)(s.Box,{sx:{p:{xs:3,md:4},borderRadius:"16px",bgcolor:"background.paper",border:"1px solid",borderColor:"divider",boxShadow:"0 4px 20px rgba(0, 0, 0, 0.08)",maxWidth:"900px",margin:"0 auto"},children:(0,r.jsx)(ev.PaymentMethodLogos,{variant:"compact",showLabels:!1,size:64,flat:!0})})]})})}),(0,r.jsx)(s.Box,{sx:{py:{xs:8,md:12},backgroundColor:"background.default"},children:(0,r.jsx)(eb.Container,{children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"overline",sx:{display:"block",textAlign:"center",color:"warmGold.text",fontWeight:600,letterSpacing:3,mb:2},children:Y("overline")}),(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:2,fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"2.75rem"}},children:Y("heading")}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",maxWidth:"640px",margin:"0 auto 48px",color:"text.secondary",fontSize:{xs:"1rem",md:"1.125rem"},lineHeight:1.8},children:Y("intro")}),(0,r.jsx)(d.Stack,{spacing:1.5,sx:{maxWidth:"860px",mx:"auto"},children:rs.map(e=>(0,r.jsxs)(b.Accordion,{disableGutters:!0,elevation:0,sx:{backgroundColor:"background.paper",border:"1px solid",borderColor:"divider",borderRadius:"16px","&:before":{display:"none"},"&:first-of-type, &:last-of-type":{borderRadius:"16px"},overflow:"hidden",transition:"border-color 0.25s ease","&:hover":{borderColor:"warmGold.text"}},children:[(0,r.jsx)(j.AccordionSummary,{expandIcon:(0,r.jsx)(em.default,{sx:{color:"warmGold.text"}}),sx:{px:{xs:2.5,md:3},py:1},children:(0,r.jsx)(l.Typography,{sx:{fontFamily:'"Sora", sans-serif',fontWeight:600,fontSize:{xs:"1rem",md:"1.05rem"},color:"text.primary"},children:Y(`${e}.q`)})}),(0,r.jsx)(v.AccordionDetails,{sx:{px:{xs:2.5,md:3},pt:0,pb:3},children:(0,r.jsx)(l.Typography,{variant:"body1",sx:{color:"text.secondary",lineHeight:1.8},children:Y(`${e}.a`)})})]},e))})]})})}),(0,r.jsxs)(s.Box,{sx:{py:{xs:10,md:14},background:e=>(0,t.darkHeroGradient)(e.palette.mode,"#15292f"),position:"relative",overflow:"hidden"},children:[(0,r.jsx)(s.Box,{"aria-hidden":!0,sx:{position:"absolute",inset:0,backgroundImage:"radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px)",backgroundSize:"24px 24px",maskImage:"radial-gradient(ellipse at center, transparent 38%, black 100%)",WebkitMaskImage:"radial-gradient(ellipse at center, transparent 38%, black 100%)",pointerEvents:"none"}}),(0,r.jsx)(eb.Container,{sx:{position:"relative",zIndex:1},children:(0,r.jsxs)(eM.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,r.jsx)(l.Typography,{variant:"h2",sx:{textAlign:"center",mb:3,color:"white",fontFamily:'"Sora", sans-serif',fontWeight:700,fontSize:{xs:"2rem",md:"3rem"}},children:"Ready to Make an Impact?"}),(0,r.jsx)(l.Typography,{variant:"body1",sx:{textAlign:"center",mb:5,color:"rgba(255, 255, 255, 0.85)",maxWidth:"700px",margin:"0 auto 40px",fontSize:{xs:"1rem",md:"1.15rem"},lineHeight:1.7},children:I.heroSubcopy}),(0,r.jsxs)(d.Stack,{direction:{xs:"column",sm:"row"},spacing:2,sx:{justifyContent:"center"},children:[(0,r.jsx)(eY.StartCauseCTA,{isLoggedIn:!!e,variant:"contained",size:"large",sx:{backgroundColor:"secondary.main",color:"secondary.contrastText",px:5,py:1.5,fontSize:"1.1rem",borderRadius:"999px",boxShadow:"none","&:hover":{backgroundColor:"secondary.dark",transform:"translateY(-2px)",boxShadow:"none"},transition:"all 0.3s ease"},children:I.heroCtaLabel}),(0,r.jsx)(x.Button,{variant:"outlined",size:"large",component:eA.default,href:"/campaigns",sx:{borderColor:"white",color:"white",px:5,py:1.5,fontSize:"1.1rem",borderRadius:"999px",borderWidth:2,"&:hover":{borderColor:"secondary.main",backgroundColor:"rgba(221, 186, 125, 0.15)",borderWidth:2}},children:"Browse Campaigns"})]})]})})]})]})})}],250787)}]);
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.