1"use strict";(self.webpackChunkcloudkitchens=self.webpackChunkcloudkitchens||[]).push([[6942],{66942:function(e,t,l){l.r(t),l.d(t,{default:function(){return g}});var i=l(34317),a=l(87663),n=l(90592),o=l(29019),c=l.n(o),s=l(11855),r=l(94304),p=l(66117),d=l(48851);const m=r.default.section.withConfig({displayName:"BlockTestimonialsSliderAltSlice__Section",componentId:"sc-qy790f-0"})(["position:relative;margin-bottom:66px;.bg--swipe{padding:0;height:400px;@media ","{height:650px;}}.carousel--cell{width:100%;display:flex;justify-content:flex-start;flex-direction:column;position:relative;padding-bottom:120px;@media ","{padding-top:65px;}@media ","{padding-top:110px;}}.quote--cite--holder{position:absolute;bottom:80px;inset-inline-start:0;padding:0 30px 0 50px;width:100%;@media ","{bottom:80px;}@media ","{padding-inline-start:100px;bottom:100px;}}.quote:before{content:'â';display:block;position:absolute;top:3px;inset-inline-start:-20px;font-weight:500;font-size:16px;line-height:125%;letter-spacing:0.02em;@media ","{line-height:130%;}@media ","{line-height:125%;}}.flickity-button{position:absolute;top:auto;bottom:0;inset-inline-end:0;width:50px;height:50px;background:var(--secondary-dark) url(\"data:image/svg+xml,%3Csvg width='20' height='17' fill='none' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M8.75 17l1.688-1.636-5.782-5.606H20V7.212H4.656l5.75-5.576L8.72 0 0 8.485 8.75 17z' fill='%23FCFCF7' /%3E%3C/svg%3E\") no-repeat center;background-size:12px;border-radius:0;transform:none;.flickity-button-icon{display:none;}&:hover{opacity:0.9;}&:active{opacity:1;}}.flickity-prev-next-button.previous{inset-inline-start:auto;inset-inline-end:50px;}.flickity-prev-next-button.next{background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='17' fill='none' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M11.25 0L9.562 1.636l5.782 5.606H0v2.546h15.344l-5.75 5.576L11.28 17 20 8.515 11.25 0z' fill='%23FCFCF7' /%3E%3C/svg%3E\");}.carousel--text--holder{@media ","{margin-inline-end:0;}}.quote-no-fade{opacity:1 !important;transform:none !important;}.carousel--wrap{margin-bottom:-66px;}"],d.$.xlUp,d.$.mdUp,d.$.lgUp,d.$.mdUp,d.$.lgUp,d.$.mdUp,d.$.lgUp,d.$.mdUp);function g(e){var t,l;let{slice:o}=e;const{0:r,1:d}=(0,s.useState)(0),{0:g,1:u}=(0,s.useState)(!1),{primary:h,items:f}=o,v=g?"quote-fade-up":"quote-no-fade";(0,p.A)("#block-testimonials-slider .fade-up"),(0,s.useEffect)(()=>{(0,n.A)(".quote-fade-up")});const b=()=>{let e=r-1;void 0!==f[e]&&(e<0&&(e=f.length-1),d(e),g||u(!0))},x=()=>{let e=r+1;void 0!==f[e]&&(e+1>f.length&&(e=0),d(e),g||u(!0))};return s.createElement(m,{id:"block-testimonials-slider",className:"bg--primary"},s.createElement("div",{className:"container pt-20 md:pt-24 lg:pt-40"},s.createElement("div",{className:"grid grid-cols-4 md:grid-cols-8 lg:grid-cols-12"},s.createElement("div",{className:"col-span-3 sm-down:col-span-full lg:col-span-4"},s.createElement("div",{className:"eyebrow p5 color--white fade-up mb-12 lg:mb-20"},"/ ",(0,i.e)(null==h||null===(t=h.eyebrow)||void 0===t?void 0:t.richText)),s.createElement("div",{className:"h2 color--white fade-up mb-12"},s.createElement(a.$,{field:null==h||null===(l=h.heading)||void 0===l?void 0:l.richText}))),null==f?void 0:f.map((e,t)=>s.createElement(s.Fragment,{key:t},r===t&&s.createElement("div",{className:"carousel--wrap bg--white carousel--text--holder relative z-10 col-span-4 md:col-span-5 lg:col-span-7 lg:col-start-6"},s.createElement("div",{className:"carousel--text"},s.createElement("div",{className:"carousel--cell p-8 pl-12 pt-10 lg:p-24 lg:pl-24 lg:pt-28"},s.createElement("div",{className:c()("quote--content quote-fade-up quote h4 relative mb-12",v)},s.createElement(a.$,{field:e.content.richText}),"â"),s.createElement("div",{className:"quote--cite--holder"},s.createElement("p",{className:c()("quote--cite-1 quote-fade-up color--grey-5 h5 mb-1",v)},e.cite_1),s.createElement("p",{className:c()("quote--cite-2 quote-fade-up color--grey-5 caption mb-0",v)},e.cite_2,e.cite_3&&s.createElement(s.Fragment,null,s.createElement("br",null)," ",e.cite_3)))),f.length>1&&s.createElement("div",{className:"absolute bottom-0 right-0 flex"},s.createElement("a",{className:"btn--box color--white bg-primary",onClick:b},s.createElement("svg",{viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.createElement("path",{d:"M8.75 17l1.688-1.636-5.782-5.606H20V7.212H4.656l5.75-5.576L8.72 0 0 8.485 8.75 17z",fill:"#FCFCF7"}))),s.createElement("a",{className:"btn--box color--white bg-primary",onClick:x},s.createElement("svg",{viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.createElement("path",{d:"M11.25 0L9.562 1.636l5.782 5.606H0v2.546h15.344l-5.75 5.576L11.28 17 20 8.515 11.25 0z",fill:"#FCFCF7"})))))))))))}}}]); 2//# sourceMappingURL=6942-f46040d2832c3433f78c.js.map
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.