1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,114894,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(399307),l=e.i(657688),i=e.i(531278),r=e.i(269638);let n="px-4 py-3 bg-white text-gray-900 focus:outline-none focus:ring-2 focus:ring-[#4a9fd8] disabled:opacity-50";function c({name:e,setName:t,email:a,setEmail:l,namePlaceholder:c,emailPlaceholder:d,subscribeLabel:o,buttonLabel:m,onSubmit:x,status:u="idle",layout:h="mobile"}){let p="sending"===u;return"success"===u?(0,s.jsxs)("div",{className:"flex items-center gap-3 py-3",children:[(0,s.jsx)(r.CheckCircle,{className:"w-6 h-6 text-emerald-400 shrink-0"}),(0,s.jsx)("p",{className:"text-sm font-medium text-white",children:"Thank you for subscribing! We'll keep you updated."})]}):"desktop"===h?(0,s.jsxs)("form",{onSubmit:x,children:[(0,s.jsxs)("div",{className:"flex gap-6 items-center justify-between",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold whitespace-nowrap",children:o}),(0,s.jsxs)("div",{className:"flex gap-0 items-center max-w-2xl",children:[(0,s.jsx)("input",{type:"text",placeholder:c,value:e,onChange:e=>t(e.target.value),className:`flex-1 ${n}`,required:!0,disabled:p}),(0,s.jsxs)("div",{className:"flex-1 relative",children:[(0,s.jsx)("input",{type:"email",placeholder:d,value:a,onChange:e=>l(e.target.value),className:`w-full pr-32 ${n}`,required:!0,disabled:p}),(0,s.jsx)("button",{type:"submit",disabled:p,className:"absolute right-1 top-1 bottom-1 px-6 bg-[#4a9fd8] text-white font-semibold hover:bg-[#3b8bc9] transition-colors disabled:opacity-60 disabled:cursor-not-allowed flex items-center gap-2",children:p?(0,s.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"}):m})]})]})]}),"error"===u&&(0,s.jsx)("p",{className:"text-sm text-red-400 mt-2",children:"Something went wrong. Please try again."})]}):(0,s.jsx)("form",{onSubmit:x,children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)("input",{type:"text",placeholder:c,value:e,onChange:e=>t(e.target.value),className:n,required:!0,disabled:p}),(0,s.jsx)("input",{type:"email",placeholder:d,value:a,onChange:e=>l(e.target.value),className:n,required:!0,disabled:p}),(0,s.jsx)("button",{type:"submit",disabled:p,className:"px-8 py-3 bg-[#0285BD] text-white font-semibold hover:bg-[#0285BD]/80 transition-colors disabled:opacity-60 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:p?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"}),"Subscribing..."]}):m}),"error"===u&&(0,s.jsx)("p",{className:"text-sm text-red-400",children:"Something went wrong. Please try again."})]})})}function d({mobileImage:e="/images/footer2.jpg",desktopImage:i="/images/happy_lady.png"}){let{heading:r,subheading:n,subscribeLabel:d,namePlaceholder:o,emailPlaceholder:m,buttonLabel:x}=a.default.landing.newsletter,[u,h]=t.useState(""),[p,g]=t.useState(""),[b,f]=t.useState("idle"),j=async e=>{e.preventDefault(),f("sending");try{if(!(await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:u,email:p})})).ok)return void f("error");f("success"),h(""),g(""),setTimeout(()=>f("idle"),4e3)}catch{f("error")}},v={name:u,setName:h,email:p,setEmail:g,namePlaceholder:o,emailPlaceholder:m,subscribeLabel:d,buttonLabel:x,onSubmit:j,status:b};return(0,s.jsxs)("section",{id:"contact",className:"bg-[#051927] text-white",children:[(0,s.jsxs)("div",{className:"lg:hidden",children:[(0,s.jsx)("div",{className:"relative w-full h-[350px]",children:(0,s.jsx)(l.default,{src:e,alt:"Insights from CMS",fill:!0,className:"object-cover"})}),(0,s.jsxs)("div",{className:"px-6 py-12",children:[(0,s.jsxs)("div",{className:"max-w-2xl mb-10",children:[(0,s.jsx)("h2",{className:"text-xl font-bold mb-4",children:r}),(0,s.jsx)("p",{className:"text-gray-200 text-sm leading-relaxed",children:n})]}),(0,s.jsxs)("div",{className:"bg-[#0d3d5c]/95 backdrop-blur-sm p-5 rounded-none",children:[(0,s.jsx)("h3",{className:"text-base font-semibold mb-5",children:d}),(0,s.jsx)(c,{...v})]})]})]}),(0,s.jsxs)("div",{className:"hidden lg:block relative h-[500px]",children:[(0,s.jsxs)("div",{className:"absolute inset-0 grid grid-cols-2",children:[(0,s.jsx)("div",{className:"bg-[#051927]"}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(l.default,{src:i,alt:"Insights from CMS",fill:!0,className:"object-cover"})})]}),(0,s.jsxs)("div",{className:"relative h-full flex flex-col justify-between py-12",children:[(0,s.jsx)("div",{className:"flex-1 flex items-center pl-[calc((100vw-80rem)/2+4rem)] pr-8",children:(0,s.jsxs)("div",{className:"max-w-lg",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold mb-4",children:r}),(0,s.jsx)("p",{className:"text-gray-200 text-lg leading-relaxed",children:n})]})}
1),(0,s.jsx)("div",{className:"pl-[calc((100vw-80rem)/2+4rem)] pr-[calc((100vw-80rem)/2+4rem)]",children:(0,s.jsx)("div",{className:"bg-[#0d3d5c]/70 backdrop-blur-sm px-12 py-8",children:(0,s.jsx)(c,{...v,layout:"desktop"})})})]})]})]})}e.s(["Newsletter",()=>d],114894)},396903,e=>{"use strict";var s=e.i(843476),t=e.i(271645);function a({value:e,duration:a=1800,className:l}){let i=t.useRef(null),[r,n]=t.useState("0"),[c,d]=t.useState(!1),o=t.useMemo(()=>(function(e){let s=e.match(/^([^\d]*?)([\d,]+(?:\.\d+)?)(.*)$/);if(!s)return{prefix:"",number:0,suffix:e,hasCommas:!1};let t=s[1],a=s[2],l=s[3],i=a.includes(",");return{prefix:t,number:parseFloat(a.replace(/,/g,"")),suffix:l,hasCommas:i}})(e),[e]);return t.useEffect(()=>{let e=i.current;if(!e||c)return;let s=new IntersectionObserver(([e])=>{if(!e.isIntersecting)return;s.disconnect(),d(!0);let t=performance.now(),l=o.number,i=e=>{var s,r;let c,d=Math.min((e-t)/a,1);n((s=(1-Math.pow(1-d,3))*l,r=o.hasCommas,c=Math.round(s),r?c.toLocaleString("en-US"):c.toString())),d<1&&requestAnimationFrame(i)};requestAnimationFrame(i)},{threshold:.3});return s.observe(e),()=>s.disconnect()},[c,o,a]),(0,s.jsxs)("span",{ref:i,className:l,children:[o.prefix,c?r:"0",o.suffix]})}e.s(["AnimatedNumber",()=>a])},930390,e=>{"use strict";var s=e.i(843476),t=e.i(399307);function a(){let{theoryOfChange:e}=t.default.aboutPage;return(0,s.jsx)("section",{className:"bg-white",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto md:min-h-[600px] px-6 md:px-8 xl:px-12 py-8 md:py-24",children:[(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-16 items-start",children:(0,s.jsx)("h2",{className:"text-2xl md:text-3xl lg:text-[34px] font-bold text-foreground leading-tight",children:e.heading})}),(0,s.jsx)("div",{className:"md:mt-14",children:(0,s.jsx)("video",{className:"w-full h-auto",src:e.video,autoPlay:!0,loop:!0,muted:!0,playsInline:!0})})]})})}e.s(["AboutTheory",()=>a])}]);
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.