1"use strict";(self.webpackChunktheme_boilerplate=self.webpackChunktheme_boilerplate||[]).push([[5122],{5122:function(e,t,l){l.r(t);var n=l(7294),a=l(2790);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=new Array(t);l<t;l++)n[l]=e[l];return n}var i={touchAction:"pan-y",userSelect:"none",WebkitUserDrag:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},c={height:425},o={items:2,controls:!1,nav:!1,mouseDrag:!0,loop:!1,responsive:{1004:{items:4}}};t.default=function(e){var t,l,s=e.articles,u=e.topic,m=(t=(0,n.useState)("left"),l=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var n,a,r,i,c=[],o=!0,s=!1;try{if(r=(l=l.call(e)).next,0===t){if(Object(l)!==l)return;o=!1}else for(;!(o=(n=r.call(l)).done)&&(c.push(n.value),c.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{if(!o&&null!=l.return&&(i=l.return(),Object(i)!==i))return}finally{if(s)throw a}}return c}}(t,l)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?r(e,t):void 0}}(t,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=m[0],d=m[1],h={},v=function(e){h.slider.goTo(e);var t=h.slider.getInfo(),l=t.index,n=t.slideItems;0===l?d("left"):l===n.length-4?d("right"):d(null)};s.length<3&&(o.responsive[1004].items=s.length+1);var b=u?"Our latest ".concat(u," articles"):"Our latest articles";return n.createElement("div",{style:i,className:"slider--overflowing"},n.createElement("div",{className:"tile-wrapper tile-wrapper--on-light tile-slider"},n.createElement("div",{className:"tile-wrapper__content"},n.createElement("div",{className:"tile-container"},n.createElement("div",{className:"tile-grid",style:{width:"100%",transform:"translate(0%)"}},n.createElement(a.default,{settings:o,ref:function(e){return h=e}},n.createElement("div",{className:"tile-outer tile--active"},n.createElement("div",{className:"tile tile--extra",style:c},n.createElement("h3",{className:"tile__title"},b),n.createElement("a",{href:u?"/articles/topic-".concat(u):"/articles",className:"button button--squared button--secondary button--on-dark"},n.createElement("span",{className:"button__text"},"Read more articles")))),s.map((function(e){return n.createElement("div",{key:e.title,className:"tile-outer tile--active"},n.createElement("div",{className:"tile",style:c},n.createElement("h4",{className:"tile__title"},e.title),n.createElement("p",{className:"tile__text"},e.promo),n.createElement("a",{href:"/articles/".concat(e.slug),className:"button button--on-light"},n.createElement("span",{className:"button__text"},"Read article"))))}))))),n.createElement("div",{className:"tile-container__buttons"},n.createElement("button",{className:"slide__button slide__button--left ".concat("left"===f?"slide__button--inactive":""),onClick:function(){return v("prev")}},n.createElement("svg",{focusable:"false",className:"icon-solid icon-chevron-left",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23.2 48"},n.createElement("title",null,"Chevron Left Icon"),n.createElement("desc",null,"Icon set Chevron Left"),n.createElement("path",{d:"M0 24l4.2-4.2L18.5 5.5a1.8 1.8 0 0 1 2.5 0l1.7 1.7a1.8 1.8 0 0 1 0 2.5L8.4 24l14.3 14.3a1.8 1.8 0 0 1 0 2.5L21 42.5a1.8 1.8 0 0 1-2.5 0L4.2 28.2z"}))),n.createElement("button",{className:"slide__button slide__button--right ".concat("right"===f?"slide__button--inactive":""),onClick:function(){return v("next")}},n.createElement("svg",{focusable:"false",className:"icon-solid icon-chevron-right",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23.2 48"},n.createElement("title",null,"Chevron Right Icon"),n.createElement("desc",null,"Icon set Chevron Right"),n.createElement("path",{d:"M23.2 24L19 28.2 4.7 42.5a1.8 1.8 0 0 1-2.5 0L.5 40.8a1.8 1.8 0 0 1 0-2.5L14.8 24 .5 9.7a1.8 1.8 0 0 1 0-2.5l1.7-1.7a1.8 1.8 0 0 1 2.5 0L19 19.8z"})))))))}}}]);
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.