(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4761,8018,9769],{6581:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/technology-solutions",function(){return s(13108)}])},18018:function(e,t,s){"use strict";s.r(t);var a=s(85893),n=s(17524),i=s.n(n),l=s(67294),r=s(99808),o=s(89755),c=s.n(o),_=s(41664),d=s.n(_),g=s(87066);t.default=function(e){let{blogList:t}=e,[s,n]=(0,l.useState)(e.categories),[o,_]=(0,l.useState)([]),h=t[0],p=t.slice(1,5),m=async e=>{try{let t=await g.Z.get("/api/media",{params:{id:e}}),s=await t.data;_(e=>[...e,s])}catch(e){return}},u=e=>{let t=s.find(t=>t.id===e);return t?t.name:"Uncategorized"},x=e=>{if(!e)return"/assets/placeholder.jpg";let t=o.find(t=>t.id===e);return t?t.source_url:"/assets/placeholder.jpg"};return(0,l.useEffect)(()=>{t&&t.map(e=>{e.featured_media&&m(e.featured_media)})},[]),(0,a.jsx)("section",{className:i().wrapper,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:i().cover,children:[(0,a.jsxs)("div",{className:i().header,children:[(0,a.jsx)("h2",{className:i().title,children:"Latest from 21st Century"}),(0,a.jsx)("div",{className:i().button,children:(0,a.jsx)(r.Z,{btn_label:"View all",btnHref:"/blog",type:"primary",size:"xl",variant:"link"})})]}),(0,a.jsxs)("div",{className:i().blog_posts,children:[h?(0,a.jsxs)("div",{className:i().featured_post,children:[(0,a.jsx)("div",{className:i().image,children:(0,a.jsx)(d(),{href:"/blog/".concat(h.slug),children:(0,a.jsx)(c(),{src:x(h.featured_media),width:691,height:458,alt:h.title.rendered,loading:"lazy"})})}),(0,a.jsxs)("div",{className:i().content,children:[(0,a.jsx)("h3",{className:i().date}),(0,a.jsx)("h2",{className:i().heading,children:(0,a.jsx)(d(),{href:"/blog/".concat(h.slug),dangerouslySetInnerHTML:{__html:h.title.rendered}})}),(0,a.jsx)("div",{className:i().detail,dangerouslySetInnerHTML:{__html:"".concat(h.excerpt.rendered.substr(0,220),"...")}})]})]}):"",p.length?(0,a.jsx)("div",{className:i().post_list,children:p.map((e,t)=>(0,a.jsxs)("div",{className:i().single_post,children:[(0,a.jsx)("div",{className:i().post_img,children:(0,a.jsx)(d(),{href:"/blog/".concat(e.slug),children:(0,a.jsx)(c(),{src:x(e.featured_media),width:138,height:92,alt:e.title.rendered,loading:"lazy"})})}),(0,a.jsxs)("div",{className:i().post_content,children:[(0,a.jsx)("h3",{className:i().category,dangerouslySetInnerHTML:{__html:"\n                            ".concat((null==e?void 0:e.categories.length)>0&&u(null==e?void 0:e.categories[0])||"Uncategorized"," \n                          ")}}),(0,a.jsx)("h4",{className:i().title,children:(0,a.jsx)(d(),{href:"/blog/".concat(e.slug),dangerouslySetInnerHTML:{__html:e.title.rendered}})})]})]},t))}):""]})]})})})}},13108:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return m}});var a=s(85893),n=s(71869),i=s.n(n),l=s(9008),r=s.n(l),o=s(69697),c=s(42744),_=s(24515),d=s(72518),g=s(19133),h=s(90093),p=s(18018),m=!0;t.default=e=>{let t=(0,g.C)(e=>e.navbar.siteTitle),{technologySolutionsPage:s,blogList:n,categories:l}=e,{yoast_head_json:m}=s[0],{sections:u,page_header:x}=s[0].acf,{og_image:b,title:j}=m;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default,{content:m}),(0,a.jsx)(r(),{children:(0,a.jsx)("title",{children:(0,_.TM)(j)?j:"".concat(e.servicePage.service_page.title," | ").concat(t)})}),(0,a.jsxs)("main",{className:"site__main",children:[(0,a.jsx)(o.Z,{homeElement:"Home",separator:">>",activeClasses:"active_nav",containerClasses:"breadcrumb__nav",listClasses:"breadcrumb__nav-item",capitalizeLinks:!0,parentPage:"",parentPageURL:""}),(0,a.jsx)("section",{className:i().content_section,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)(c.Z,{headingLevel:"h1",title:x.title,description:x.description,heading_color:"primary",heading_postion:"center",para_postion:"left"})})}),u&&u.map((e,t)=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"".concat(t%2==0?i().section_wrapper:""),children:(0,a.jsx)(h.Z,{title:e.title,description:e.text,heading_color:"primary",image:e.image,heading_postion:"left",para_postion:"left",image_position:t%2==0?"right":"left",showBtns:!0,buttonData:e.link})})})),(0,a.jsx)(p.default,{blogList:n,blogListAttachments:e.blogListAttachments,categories:l})]})]})}},17524:function(e){e.exports={wrapper:"blog_wrapper__Ywf7t",cover:"blog_cover__eDhXg",header:"blog_header__csIQ_",blog_posts:"blog_blog_posts__RFeiD",featured_post:"blog_featured_post__NnHKT",image:"blog_image__j3PLc",featured_image:"blog_featured_image__qhQ3g",content:"blog_content__5i9yO",date:"blog_date__3NBAZ",heading:"blog_heading__xiEgg",detail:"blog_detail__EO4b_",post_list:"blog_post_list__YY_WM",single_post:"blog_single_post__79MAI",post_img:"blog_post_img__UM8_4",post_content:"blog_post_content__q0gNn",category:"blog_category__0bgd4",title:"blog_title__5t4QE"}},71869:function(e){e.exports={section_wrapper:"technology-solutions_section_wrapper__5jbSK",content_section:"technology-solutions_content_section___VUWX"}}},function(e){e.O(0,[2511,2888,9774,179],function(){return e(e.s=6581)}),_N_E=e.O()}]);