1"use strict";(self.webpackChunktheme_boilerplate=self.webpackChunktheme_boilerplate||[]).push([[4259],{3395:function(e,t,n){var a=n(7294);t.Z=function(){return a.createElement("svg",{focusable:"false",className:"icon-solid icon-extlink",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},a.createElement("title",null,"External Link Icon"),a.createElement("desc",null,"Icon set External Link"),a.createElement("path",{d:"M48 2v13a2 2 0 0 1-1 1h-2a2 2 0 0 1-2-1V9L22 30a1 1 0 0 1-2 0l-2-2a1 1 0 0 1 0-2L40 5h-6a2 2 0 0 1-2-1V2a2 2 0 0 1 2-2h13a2 2 0 0 1 1 2zM38 22h-2a2 2 0 0 0-2 2v19H5V12h20a2 2 0 0 0 1-1V9a2 2 0 0 0-1-2H2a2 2 0 0 0-2 2v2a1 1 0 0 0 0 1v35a2 2 0 0 0 2 1h36a2 2 0 0 0 1-1V24a2 2 0 0 0-1-2z"}))}},9634:function(e,t,n){var a=n(7294);t.Z=function(){return a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"10",width:"10",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6"},a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"}))}},4259:function(e,t,n){n.r(t);var a=n(7294),r=n(9470),l=n(126),i=n(3395),o=n(9634);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,l,i,o=[],c=!0,s=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=l.call(n)).done)&&(o.push(a.value),o.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return o}}(e,t)||s(e,t)||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.")}()}function s(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var m=a.lazy((function(){return n.e(2790).then(n.bind(n,2790))})),d={touchAction:"pan-y",userSelect:"none",WebkitUserDrag:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},f={items:1,controls:!1,nav:!1,mouseDrag:!0,loop:!1,responsive:{600:{items:3},1004:{items:4}}};t.default=function(e){var t=e.title,n=e.data,b=e.linkAsButton,h=void 0===b||b;if(!n||!n.cards)return console.warn("Tried to render text card slider but no cards were found. Check the YAML syntax in the content block."),null;var g=c((0,a.useState)(0),2),p=g[0],v=g[1],_=c((0,a.useState)(!1),2),y=_[0],E=_[1],k=n.cards,w=n.background,x={},N=function(e){x.slider.goTo(e)};return a.createElement("div",{style:d},a.createElement("div",{className:"tile-wrapper tile-slider ".concat(w?"tile-wrapper--on-light":"")},a.createElement("div",{className:"tile-wrapper__content"},a.createElement("div",{className:"tile-container"},t&&a.createElement("h2",{className:"tile-container__title"},t),a.createElement("div",{className:"tile-grid"},a.createElement(a.Suspense,{fallback:a.createElement("div",null,"Loaidng...")},a.createElement(m,{onIndexChanged:function(e){var t=e.index,a=e.items;v(t),n.cards.length-a===t?E(!0):E(!1)},settings:f,ref:function(e){return x=e}},k.map((function(e){return a.createElement("div",{key:e.id,style:{display:"flex",flexDirection:"column"}},a.createElement("div",{className:"tile ".concat(e.highlight?"tile--extra":"")},a.createElement("h4",{className:"tile__title"},e.title),e.subtitle&&a.createElement("p",{className:"tile__subtitle"},e.subtitle),a.createElement("p",{className:"tile__text"},e.text),e.image&&(e.imageLink?a.createElement("a",{href:e.imageLink,className:"tile__img-link",target:"_blank",rel:"noreferrer noopener"},a.createElement("img",{src:e.image,alt:"Card ".concat(e.title),className:"tile__img"})):a.createElement("img",{src:e.image,alt:"Card ".concat(e.title),className:"tile__img ".concat(e.subtitle||e.text?"":"tile__img--center")})),e.button_text&&a.createElement("a",{href:e.link,className:"".concat(h?"button":"","\n ").concat(e.icon?"button--icon-left":"","\n ").concat(e.highlight?"button--secondary button--on-dark":"")}
1,e.icon?a.createElement("span",{className:"button__icon"},a.createElement(i.Z,null)):"",a.createElement("span",{className:"button__text"},e.button_text)),e.rating&&a.createElement("div",{className:"tile__rating-container"},(t=Array(e.rating).keys(),function(e){if(Array.isArray(e))return u(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||s(t)||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.")}()).map((function(e){return a.createElement(o.Z,null)})))));var t})))))),a.createElement("div",{className:"tile-container__buttons"},a.createElement("button",{type:"button",className:"slide__button slide__button--left ".concat(0===p?"slide__button--inactive":""),onClick:function(){return N("prev")}},a.createElement(r.Z,null)),a.createElement("button",{type:"button",className:"slide__button slide__button--right ".concat(y?"slide__button--inactive":""),onClick:function(){return N("next")}},a.createElement(l.Z,null))))))}}}]);
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.