1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195],{67801:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return t(39019)}])},50918:function(e,r,t){"use strict";t.d(r,{f:function(){return l}});var n=t(85893),i=t(9008),o=t.n(i),l=function(e){var r=e.title,t=e.description;return(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:r}),(0,n.jsx)("meta",{name:"description",content:t}),(0,n.jsx)("meta",{property:"og:title",content:r}),(0,n.jsx)("meta",{property:"og:description",content:t})]})}},76613:function(e,r,t){"use strict";var n=t(85893),i=t(11163),o=t(67294),l=t(68527),a=t(34651),s=t(88145),c=t(77322),u=t(24364),m=t(11221),d=t(45332);r.Z=function(e){var r,t=e.heroImage,f=e.title,h=e.publicationDate,p=e.slug,g=e.type,x=(0,i.useRouter)(),v=(0,o.useMemo)((function(){return Object.values(m.l_b).includes(g)}),[g]);return(0,n.jsxs)(l.kC,{gap:{base:"0.75rem",sm:"3rem"},alignItems:{base:"flex-start",lg:"center"},width:"100%",justifyContent:"space-between",flexDirection:{base:"column",lg:"row"},children:[(0,n.jsx)(a.Ee,{alt:null!==f&&void 0!==f?f:"Blog post",cursor:"pointer",objectFit:"cover",objectPosition:"center",onClick:function(){return x.push("".concat(v?u.$w.Inspiration:u.$w.Blog,"/").concat(p))},width:{base:"100%",lg:"55%",xl:"42.6%"},sx:{aspectRatio:"1.78"},src:null!==(r=null===t||void 0===t?void 0:t.url)&&void 0!==r?r:"",borderRadius:"0.25rem"}),(0,n.jsxs)(l.Kq,{flexGrow:1,gap:{base:"0.75rem",sm:"1.25rem"},fontSize:{base:"sm",sm:"md"},maxWidth:{base:"100%","2xl":744},children:[h&&(0,n.jsx)(l.xv,{fontSize:{base:"sm",sm:"md"},lineHeight:{base:"1.25rem",sm:"1.5rem"},letterSpacing:"-0.8px",opacity:"0.5",children:(0,d.p6)(null!==h&&void 0!==h?h:"","YYYY-MM-DD")}),(0,n.jsx)(s.r,{href:"".concat(v?u.$w.Inspiration:u.$w.Blog,"/").concat(p),fontSize:{base:"1.125rem",sm:"2xl"},fontWeight:"500",lineHeight:{base:"2rem",sm:"3.25rem"},fontFamily:"heading",wordBreak:"break-word",as:"h3",children:f}),(0,n.jsx)(s.r,{href:"".concat(v?u.$w.Inspiration:u.$w.Blog,"/").concat(p),children:(0,n.jsxs)(l.kC,{gap:"0.75rem",alignItems:"center",children:[(0,n.jsx)(l.xv,{whiteSpace:"nowrap",fontWeight:"500",textTransform:"uppercase",children:"Read more"}),(0,n.jsx)(c.m,{width:"1rem"})]})})]})]})}},27585:function(e,r,t){"use strict";t.d(r,{t:function(){return f}});var n=t(85893),i=t(67294),o=t(92684),l=t(68527),a=t(15193),s=t(35860),c=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=!1,i=null,o=function(){i&&clearTimeout(i),i=setTimeout(r,t)};return e.addEventListener("scroll",o),function(){n||(n=!0,i&&clearTimeout(i),e.removeEventListener("scroll",o))}},u=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,t=(0,i.useRef)(null),n=(0,i.useRef)(null);return n.current=e,(0,i.useEffect)((function(){if(t.current){var e=c(t.current,(function(){n.current&&n.current()}),r);return function(){return e()}}}),[t.current,r]),t};function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"===typeof e)return m(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var f=(0,i.forwardRef)((function(e,r){var t=e.children,c=void 0===t?[]:t,m=e.gap,f=e.itemsToShow,h=void 0===f?4:f,p=e.showButton,g=e.scaleFactor,x=e.rerenderDependency,v=(0,i.useState)([]),b=v[0],j=v[1],w=(0,o.Sx)(null!==m&&void 0!==m?m:{}),y=function(){var e;if(S.current&&(null===(e=k.current)||void 0===e?void 0:e.length)){var r,t,n;if(S.current.scrollLeft+S.current.clientWidth>=S.current.scrollWidth)return void S.current.scrollTo({left:0,top:0,behavior:"smooth"});var i=(null===(r=S.current)||void 0===r?void 0:r.scrollLeft)-((null===(t=k.current[0])||void 0===t?void 0:t.getBoundingClientRect().width)*c.length+16*parseFloat(null!==w&&void 0!==w?w:"1")*c.length),o=Math.round(S.current.scrollLeft/((null===(n=k.current[0])||void 0===n?void 0:n.getBoundingClientRect().width)+16*parseInt(null!==w&&void 0!==w?w:"1")))+1;0==i&&(j(d(c).concat(d(c))),k.current[0].style.transform="",k.current[1].style.transition="initial",k.current[1].style.transform="scale(".concat(g,")"),k.current.slice(1,k.current.length).forEac
1h((function(e){e.style.transform="scale(".concat(g,")")})),S.current.scrollLeft=0),o<=c.length+h&&(k.current[1].style.transition="all 0.3s",k.current[o].style.transform="scale(".concat(g,")"),k.current[o-1].style.transform="")}},S=u(y),k=(0,i.useRef)([]);(0,i.useEffect)((function(){j(d(c).concat(d(c))),k.current.length&&(k.current[1].style.transform="scale(".concat(g,")"),k.current.slice(1,k.current.length).forEach((function(e){e.style.transform="scale(".concat(g,")")})),k.current[c.length+h-1].style.transform="scale(".concat(g,")"))}),[c.length,b.length,x]),(0,i.useImperativeHandle)(r,(function(){return{slideForward:function(){I()}}}));var I=function(){var e;S.current&&S.current.scrollTo({left:S.current.scrollLeft+(null===(e=k.current[0])||void 0===e?void 0:e.getBoundingClientRect().width)+16*parseFloat(null!==w&&void 0!==w?w:"1"),behavior:"smooth"})};return(0,n.jsxs)(l.xu,{mt:"0 !important",position:"relative",children:[(0,n.jsx)(l.kC,{scrollSnapType:"x mandatory",onScroll:y,gap:m,ref:S,overflowY:"clip",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"}},sx:{scrollbarWidth:"none",transition:"all 0.2s ease"},children:b.map((function(e,r){return i.cloneElement(e,{ref:function(e){return k.current[r]=e}})}))}),p&&(0,n.jsx)(a.hU,{zIndex:1398,px:"2.25rem !important",py:"1.25rem !important",width:"fit-content",height:"fit-content",rounded:"3rem",border:"1px solid white",transition:"all 0.3s linear",variant:"ghost",top:"50%",right:"15%",transform:"translate(-50%)",position:"absolute","aria-label":"",onClick:I,bg:"rgba(0, 0, 0, 0.4)",icon:(0,n.jsx)(s.m,{width:"1.25rem",fill:"white"})})]})}))},39019:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return I}});var n=t(85893),i=t(68527),o=t(89661),l=t(60391),a=t(50918),s=t(29480),c=t(11163),u=t(67294),m=t(59876),d=t(92684),f=t(34651),h=t(88145),p=t(24364),g=t(27585),x=t(11221),v=t(76613);function b(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function j(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function w(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(r){j(e,r,t[r])}))}return e}function y(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"===typeof e)return b(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return b(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var S=function(){var e=(0,x.Ha3)().data,r=(0,x.s5z)().data,t=(0,x.eAU)({first:20,orderBy:x.fy0.PublicationDateDesc}).data,o=null===e||void 0===e?void 0:e.blogPosts,l=null===r||void 0===r?void 0:r.blogPosts,a=null===t||void 0===t?void 0:t.publications,s=(0,u.useMemo)((function(){return a&&o?y(a.map((function(e){return w({},e,{type:e.publicationType})}))).concat(y(o)).sort((function(e,r){return new Date(r.publicationDate).getTime()-new Date(e.publicationDate).getTime()})):[]}),[null===a||void 0===a?void 0:a.length,null===o||void 0===o?void 0:o.length]),b=(0,c.useRouter)();return(0,n.jsxs)(i.Kq,{gap:{base:"2rem",sm:"3rem",lg:"5rem"},pb:"5rem",alignItems:"center",width:"100%",children:[(0,n.jsx)(i.Kq,{gap:{base:"2rem",sm:"3rem",lg:"5rem"},divider:(0,n.jsx)(i.cX,{margin:"0 !important",borderColor:"black"}),width:"100%",maxWidth:1520,px:{base:"1rem",sm:"2rem"},children:null===s||void 0===s?void 0:s.slice(0,5).map((function(e){return(0,n.jsx)(v.Z,w({},e))}))}),(0,n.jsx)(i.Kq,{alignItems:"center",my:"0 !important",px:{base:"1rem",sm:"2rem"},width:"100%",children:(0,n.jsx)(i.iz,{margin:"0 !important",borderColor:"black",maxWidth:"1456"})}),(0,n.jsx)(d.di,{above:"sm",children:(0,n.jsx)(i.xu,{margin:"0 !important",alignSelf:"flex-end",width:"100%",pl:{base:"1rem",sm:"2rem"},maxWidth:1720,children:(0,n.jsx)(g.t,{itemsToShow:3,showButton:!0,gap:{base:"1rem",xl:"2rem"},children:null===l||void 0===l?void 0:l.map((function(e){var r;return(0,n.jsxs)(i.Kq,{overflow:"hidden",scrollSnapAlign:"start",flexShrink:0,children:[(0,n.jsx)(f.Ee,{onClick:function(){return b.push("".concat(p.$w.Blog,"/").concat(e.slug))},cursor:"pointer",objectFit:"cover",objectPosition:"center",width:{base:"16.3rem",sm:"28.5rem",xl:"24rem","2xl":"29rem"},src:null===(r=e.heroImage)||void 0===r?void 0:r.url,alt:e.title,minWidth:{base:"75%",sm:"50%",xl:"30%"}}
1),(0,n.jsxs)(i.xu,{children:[(0,n.jsx)(i.xv,{width:"0",minWidth:"100%",fontFamily:"heading",fontSize:"1.5rem",fontWeight:"500",mb:"1.25rem",children:e.title}),(0,n.jsx)(h.r,{href:"".concat(p.$w.Blog,"/").concat(e.slug),children:(0,n.jsxs)(i.kC,{gap:"0.75rem",alignItems:"center",children:[(0,n.jsx)(i.xv,{fontWeight:"500",textTransform:"uppercase",children:"Read more"}),(0,n.jsx)(m.mr,{width:"1rem"})]})})]})]})}))})})}),(0,n.jsx)(d.di,{below:"sm",children:(0,n.jsx)(i.kC,{maxWidth:"100%",pl:{base:"1rem",sm:"2rem"},gap:"1rem",overflow:"scroll",css:"::-webkit-scrollbar { display: none; }",pr:"1rem",children:null===l||void 0===l?void 0:l.map((function(e){var r;return(0,n.jsxs)(i.Kq,{overflow:"hidden",scrollSnapAlign:"start",flexShrink:0,children:[(0,n.jsx)(f.Ee,{onClick:function(){return b.push("".concat(p.$w.Blog,"/").concat(e.slug))},alt:e.title,cursor:"pointer",objectFit:"cover",objectPosition:"center",width:{base:"16.3rem",sm:"28.5rem",xl:"24rem","2xl":"29rem"},src:null===(r=e.heroImage)||void 0===r?void 0:r.url,minWidth:{base:"75%",sm:"50%",xl:"30%"}}),(0,n.jsxs)(i.xu,{children:[(0,n.jsx)(i.xv,{width:"0",minWidth:"100%",fontFamily:"heading",fontSize:"1.5rem",fontWeight:"500",mb:"1.25rem",children:e.title}),(0,n.jsx)(h.r,{href:"".concat(p.$w.Blog,"/").concat(e.slug),children:(0,n.jsxs)(i.kC,{gap:"0.75rem",alignItems:"center",children:[(0,n.jsx)(i.xv,{fontWeight:"500",textTransform:"uppercase",children:"Read more"}),(0,n.jsx)(m.mr,{width:"1rem"})]})})]})]})}))})}),(0,n.jsx)(i.xu,{w:"100%",margin:"0 !important",px:{base:"1rem",sm:"2rem"},maxWidth:1520,children:(0,n.jsx)(i.iz,{margin:"0 !important",borderColor:"black"})}),(0,n.jsx)(i.Kq,{gap:{base:"2rem",sm:"3rem",lg:"5rem"},divider:(0,n.jsx)(i.cX,{margin:"0 !important",borderColor:"black"}),width:"100%",maxWidth:1520,px:{base:"1rem",sm:"2rem"},children:null===s||void 0===s?void 0:s.slice(5).map((function(e){return(0,n.jsx)(v.Z,w({},e))}))}),(0,n.jsx)(i.xu,{margin:"0 !important",px:{base:"1rem",sm:"2rem"},width:"100%",children:(0,n.jsx)(i.iz,{margin:"0 !important",borderColor:"black",maxWidth:"1456"})})]})},k=function(){var e,r,t=(0,x.oOE)({slug:"blog"}),s=t.data,c=t.isLoading,u=t.error,m=null===s||void 0===s?void 0:s.page;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.f,{title:null!==(e=null===m||void 0===m?void 0:m.seo.title)&&void 0!==e?e:"IAMAI News",description:null!==(r=null===m||void 0===m?void 0:m.seo.description)&&void 0!==r?r:"IAMAI News"}),c?(0,n.jsx)(l.w,{}):u?(0,n.jsx)(o.Z,{title:"Uh-oh! It seems we're experiencing a hiccup in loading the content.",description:"Try refreshing the page, and if the problem persists, check back in a few minutes"}):(0,n.jsxs)(i.Kq,{gap:{base:"3.75rem",sm:"5rem"},divider:(0,n.jsx)(i.cX,{margin:"0 !important",borderColor:"black",height:"0"}),pt:{base:"3rem",sm:"5.5rem"},pb:"10rem",maxWidth:1920,mx:"auto",alignItems:"center",children:[(0,n.jsx)(i.xu,{maxWidth:1024,px:{base:"1rem",sm:"2rem"},children:(0,n.jsx)(i.xv,{textAlign:"center",variant:"title",lineHeight:{base:"2.5rem",sm:"4.5rem"},fontSize:{base:"2rem",sm:"4rem"},as:"h1",children:null===m||void 0===m?void 0:m.subtitle})}),(0,n.jsx)(S,{})]})]})};k.getLayout=s.I;var I=k}},function(e){e.O(0,[7665,3662,3908,3238,6387,8990,3910,9876,6617,1664,3225,6587,2370,9067,9480,9774,2888,179],(function(){return r=67801,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
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.