(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8559],{41659:(e,i,t)=>{Promise.resolve().then(t.bind(t,91859))},91859:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>u});var s=t(95155),l=t(37397),a=t(14474),n=t(12115),d=t(83391),o=t(94577),r=t(92501),c=t(5565);function u(){var e,i,t,u,v,h,m,x,f,g,p,j;let b=(0,d.wA)(),{missionVisionObjective:w,loading:N,error:k}=(0,d.d4)(e=>e.api);if((0,n.useEffect)(()=>{let e=async()=>{b((0,a.r1)(!0));try{let e=await l.F.getMissionVisionObjective();b((0,a.sU)(e))}catch(t){var e,i;b((0,a.Nh)((null==t?void 0:null===(i=t.response)||void 0===i?void 0:null===(e=i.data)||void 0===e?void 0:e.message)||"Failed to fetch data"))}finally{b((0,a.r1)(!1))}};w||e()},[b,w]),N)return(0,s.jsx)(r.R,{});if(k)return(0,s.jsx)(Error,{});let y=[{title:"Our Mission",description:null==w?void 0:null===(i=w.data)||void 0===i?void 0:null===(e=i.mission)||void 0===e?void 0:e.description,image:null==w?void 0:null===(u=w.data)||void 0===u?void 0:null===(t=u.mission)||void 0===t?void 0:t.image},{title:"Our Vision",description:null==w?void 0:null===(h=w.data)||void 0===h?void 0:null===(v=h.vision)||void 0===v?void 0:v.description,image:null==w?void 0:null===(x=w.data)||void 0===x?void 0:null===(m=x.vision)||void 0===m?void 0:m.image},{title:"Our Objective",description:null==w?void 0:null===(g=w.data)||void 0===g?void 0:null===(f=g.objective)||void 0===f?void 0:f.description,image:null==w?void 0:null===(j=w.data)||void 0===j?void 0:null===(p=j.objective)||void 0===p?void 0:p.image}];return(0,s.jsxs)("section",{className:"relative",children:[(0,s.jsx)(c.default,{src:"/assets/images/back-shade/events-back-shade.png",alt:"events",width:650,height:500,className:"absolute -left-32 top-10 z-[-1]"}),(0,s.jsx)(c.default,{src:"/assets/images/back-shade/events-back-shade.png",alt:"events",width:650,height:500,className:"absolute -right-96 bottom-10 z-[-1]"}),null==y?void 0:y.map((e,i)=>(0,s.jsx)("div",{className:" py-24 ".concat(i%2!=0?"bg-[#003061]":""),children:(0,s.jsx)("div",{className:"container mx-auto",children:(0,s.jsxs)("div",{className:"flex flex-row justify-between gap-16 items-center ".concat(i%2!=0?"flex-row-reverse":""),children:[(0,s.jsxs)("div",{className:"flex-1 space-y-6",children:[(0,s.jsx)("div",{className:"space-y-2 ",children:(0,s.jsxs)("h3",{className:"text-4xl md:text-5xl font-bold tracking-tight relative inline-block pb-5 ".concat(i%2!=0?"text-white":""),children:[e.title,(0,s.jsx)(o.aH,{className:"absolute bottom-0 right-0"})]})}),(0,s.jsx)("div",{className:"space-y-4 text-base max-w-[85%] leading-7 ".concat(i%2!=0?"text-white":""),children:e.description&&(0,s.jsx)("div",{className:"".concat(i%2!=0?"[&>p]:text-white [&>ul]:list-disc [&>ul]:pl-5":"[&>ul]:list-disc [&>ul]:pl-5"),dangerouslySetInnerHTML:{__html:e.description}})})]}),(0,s.jsx)("div",{className:"flex-1 relative lg:h-[440px] h-[300px] rounded-sm overflow-hidden",children:(0,s.jsx)("img",{src:e.image,alt:"Alpha Life Insurance Team",fill:"true",className:"object-cover",priority:"true"})})]})})},i))]})}},94577:(e,i,t)=>{"use strict";t.d(i,{YF:()=>l,aH:()=>a});var s=t(95155);let l=e=>{let{className:i}=e;return(0,s.jsx)("svg",{width:"61",height:"9",viewBox:"0 0 61 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:(0,s.jsx)("path",{d:"M1 7.5C9.57664 2.97226 33.3839 -3.36658 60 7.5",stroke:"#0D1830",strokeWidth:"2",strokeLinecap:"round"})})},a=e=>{let{className:i}=e;return(0,s.jsx)("svg",{className:i,width:"168",height:"14",viewBox:"0 0 168 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1 13C25.1309 3.94452 92.1141 -8.73316 167 13",stroke:"#0D1830",strokeWidth:"2",strokeLinecap:"round"})})}},92501:(e,i,t)=>{"use strict";t.d(i,{R:()=>l});var s=t(95155);function l(){return(0,s.jsx)("div",{className:"flex items-center justify-center min-h-[700px]",children:(0,s.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"})})}},5565:(e,i,t)=>{"use strict";t.d(i,{default:()=>l.a});var s=t(4146),l=t.n(s)},4146:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(e,i){for(var t in i)Object.defineProperty(e,t,{enumerable:!0,get:i[t]})}(i,{default:function(){return o},getImageProps:function(){return d}});let s=t(60306),l=t(40666),a=t(87970),n=s._(t(65514));function d(e){let{props:i}=(0,l.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(i))void 0===t&&delete i[e];return{props:i}}let o=a.Image}},e=>{var i=i=>e(e.s=i);e.O(0,[3391,8405,7970,4980,8441,1517,7358],()=>i(41659)),_N_E=e.O()}]);