1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2963,1446,8747],{13460:function(e,t,s){"use strict";s.d(t,{q:function(){return n.q},q_:function(){return n.q_}});var n=s(96496)},92963:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return b}});var n=s(85893),r=s(45697),a=s.n(r),i=s(67294),l=s(92085),o=s(24021),c=s(35783),u=s(58602),_=s(13567),d=s(32909),h=s(64647),f=s(56546),p=s(34715),g=s(26038),y=s(93967),m=s.n(y),x=s(51540),v=s.n(x),C=s(14742),j=s(38043),w=s(89618);g.p8.registerPlugin(f.ScrollTrigger),o.Z.use([c.Z,u.Z,_.Z]);let N={320:{spaceBetween:16},768:{spaceBetween:28},1024:{spaceBetween:32}},B=e=>{let{articles:t,className:s,heading:r="Our blog",id:a}=e,[o,c]=(0,i.useState)(),u=(0,i.useRef)(null),_=(0,i.useRef)(null),f=(0,i.useRef)(null);return(0,p.V)(()=>{let e=f.current;window.location.hash||g.p8.from(e,{y:50,opacity:0,duration:1.5,scrollTrigger:{trigger:e,start:"top 85%"}})},[]),(0,n.jsx)("section",{id:a,ref:f,className:m()(v().ArticlesSlider,s),children:(0,n.jsxs)(l.Z,{className:v().container,children:[(0,n.jsxs)("div",{className:v().header,children:[(0,n.jsx)(C.Z,{variant:"h4",className:v().heading,children:r}),(0,n.jsx)(w.$,{variant:"secondary",nextRef:_,prevRef:u})]}),(0,n.jsx)(d.t,{className:v().swiper,slidesPerView:"auto",navigation:{prevEl:u.current,nextEl:_.current},breakpoints:N,autoplay:{delay:7e3},onInit:()=>c(!0),speed:800,loop:!0,children:t.map((e,t)=>(0,n.jsx)(h.o,{className:v().slide,children:(0,n.jsx)(j.O,{className:v().card,data:e.attributes})},t))})]})})};B.propTypes={articles:a().array.isRequired,className:a().string,heading:a().string,id:a().string};var b=B},72135:function(e,t,s){"use strict";var n=s(85893),r=s(45697),a=s.n(r),i=s(93967),l=s.n(i),o=s(31911),c=s.n(o);function u(e){let{children:t,variant:s="h1",gutterBottom:r=!1,className:a,...i}=e,o=l()({[c().Heading]:!0,[c()[s]]:s,[c().gutterBottom]:r,[a]:a});return(0,n.jsx)(s,{className:o,...i,children:t})}u.propTypes={children:a().node,variant:a().oneOf(["h1","h2","h3","h4","h5"]).isRequired,gutterBottom:a().bool,className:a().string},t.Z=u},14742:function(e,t,s){"use strict";s.d(t,{Z:function(){return n.Z}});var n=s(72135)},70799:function(e,t,s){"use strict";var n=s(85893);s(67294);var r=s(45697),a=s.n(r),i=s(41664),l=s.n(i);let o=e=>{let{href:t,children:s,...r}=e;return t&&(t.startsWith("http")||t.startsWith("//")||t.startsWith("mailto:")||t.startsWith("tel:"))?(0,n.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",...r,children:s}):(0,n.jsx)(l(),{href:t,...r,children:s})};o.propTypes={href:a().string.isRequired,children:a().node,rest:a().object},t.Z=o},89618:function(e,t,s){"use strict";s.d(t,{$:function(){return u}});var n=s(85893);s(67294);var r=s(45697),a=s.n(r),i=s(93967),l=s.n(i),o=s(29450),c=s.n(o);let u=e=>{let{className:t,prevRef:s,nextRef:r,variant:a="default"}=e,i="default"===a?c().defaultVariant:c().secondaryVariant;return(0,n.jsxs)("nav",{className:l()(c().SwiperCustomButtons,t,i),children:[(0,n.jsx)("button",{className:l()(c().customPrevButton),ref:s,children:(0,n.jsx)("svg",{width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M14.2517 15.1749C13.711 15.7156 13.711 16.5923 14.2517 17.133C14.7924 17.6738 15.6691 17.6738 16.2098 17.133L23.5945 9.74842C23.8648 9.47805 24 9.1237 24 8.76934C24 8.5816 23.9626 8.40259 23.8949 8.23934C23.8274 8.07603 23.7272 7.92303 23.5945 7.79027L16.2098 0.405658C15.6691 -0.13507 14.7924 -0.13507 14.2517 0.405658C13.711 0.946384 13.711 1.82307 14.2517 2.3638L19.2726 7.38473L1.38462 7.38473C0.619914 7.38473 8.33483e-07 8.00464 7.6663e-07 8.76934C6.99778e-07 9.53404 0.619914 10.154 1.38462 10.154L19.2726 10.154L14.2517 15.1749Z",fill:"white"})})}),(0,n.jsx)("button",{className:l()(c().customNextButton),ref:r,children:(0,n.jsx)("svg",{width:"24",height:"18",viewBox:"0 0 24 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M14.2517 15.1749C13.711 15.7156 13.711 16.5923 14.2517 17.133C14.7924 17.6738 15.6691 17.6738 16.2098 17.133L23.5945 9.74842C23.8648 9.47805 24 9.1237 24 8.76934C24 8.5816 23.9626 8.40259 23.8949 8.23934C23.8274 8.07603 23.7272 7.92303 23.5945 7.79027L16.2098 0.405658C15.6691 -0.13507 14.7924 -0.13507 14.2517 0.405658C13.711 0.946384 13.711 1.82307 14.2517 2.3638L19.2726 7.38473L1.38462 7.38473C0.619914 7.38473 8.33483e-07 8.00464 7.6663e-07 8.76934C6.99778e-07 9.53404 0.619914 10.154 1.38462 10.154L19.2726 10.
1154L14.2517 15.1749Z",fill:"white"})})})]})};u.propTypes={className:a().string,prevRef:a().object,nextRef:a().object,variant:a().oneOf(["default","secondary"])}},38043:function(e,t,s){"use strict";s.d(t,{O:function(){return f}});var n=s(85893),r=s(67294),a=s(45697),i=s.n(a),l=s(93967),o=s.n(l),c=s(13460),u=s(95176),_=s.n(u),d=s(15084),h=s(70799);let f=e=>{let{className:t,data:s}=e,[a,i]=(0,r.useState)(!1),l=(0,c.q_)({color:a?"#E21F26":"white",config:{duration:100}});return(0,n.jsxs)("article",{className:o()(_().cardContainer,t),onMouseEnter:()=>{i(!0)},onMouseLeave:()=>{i(!1)},children:[(0,n.jsx)(h.Z,{href:"/blog/".concat(s.slug),className:_().href}),(0,n.jsx)("img",{src:"".concat("https://chillicode.dev").concat(s.image.data.attributes.url),className:_().image,alt:s.image.data.attributes.alternativeText}),(0,n.jsxs)(c.q.header,{className:o()(_().infoContainer),children:[(0,n.jsx)(c.q.div,{className:_().infoTitle,style:l,children:s.title}),(0,n.jsx)("span",{className:_().infoDate,children:(0,d.p)(s.date)})]})]})};f.propTypes={data:i().object,className:i().string}},15084:function(e,t,s){"use strict";s.d(t,{p:function(){return i}});var n=s(65550),r=s(94286),a=s(25736);let i=e=>{let t=(0,n.D)(e),s=(0,r.WU)(t,"dd MMMM yyyy",{locale:a._});return s.charAt(0).toUpperCase()+s.slice(1)}},51540:function(e){e.exports={ArticlesSlider:"style_ArticlesSlider__1J1Ao",container:"style_container__Tjd__",header:"style_header__Ewt3K",heading:"style_heading__rKvtx",swiper:"style_swiper__KVZSb",slide:"style_slide__XgFXd",card:"style_card__OSWcR",fadeIn:"style_fadeIn__59PGv"}},31911:function(e){e.exports={Heading:"style_Heading__OaSKi",h1:"style_h1__8VDCS",h2:"style_h2__no6nd",h3:"style_h3__usYgY",h4:"style_h4__ZbV2Y",h5:"style_h5__gAtZ3",gutterBottom:"style_gutterBottom__v8Jtu",fadeIn:"style_fadeIn__Xh6tC"}},29450:function(e){e.exports={SwiperCustomButtons:"styles_SwiperCustomButtons__umUqT",customPrevButton:"styles_customPrevButton__B9aX1",customNextButton:"styles_customNextButton__S3npi",defaultVariant:"styles_defaultVariant__JBjLQ",secondaryVariant:"styles_secondaryVariant__nolM8",fadeIn:"styles_fadeIn__C0vAj"}},95176:function(e){e.exports={cardContainer:"styles_cardContainer__ACah1",image:"styles_image__1DtTa",infoContainer:"styles_infoContainer__OiWBd",infoDate:"styles_infoDate__JyVUR",infoTitle:"styles_infoTitle__WgQTq",href:"styles_href__n13lV",fadeIn:"styles_fadeIn___foIU"}}}]);
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.