1"use strict";(self.webpackChunkcloudkitchens=self.webpackChunkcloudkitchens||[]).push([[7052],{57052:function(e,t,r){r.r(t);var a=r(34317),o=r(87663),c=r(17533),i=r(92984),n=r(11855),l=r(94304),s=r(80111),d=r(48851),m=r(42625);const g=l.default.section.withConfig({displayName:"BlockContactSlice__Section",componentId:"sc-13ms6i3-0"})(["position:relative;overflow:hidden;.bg--contact{position:absolute;z-index:-1;top:0;inset-inline-start:0;width:100%;height:100%;background-repeat:no-repeat;background-position:center 0;background-size:contain;overflow:hidden;@media ","{background-position:center -20%;}@media ","{top:auto;bottom:0;background-size:cover;background-position:bottom center;}}.bg--primary--left,.bg--primary-dark--left,.bg--secondary--left,.bg--tertiary--left{&::before{position:absolute;content:'';bottom:0;inset-inline-start:-80px;height:100%;width:80px;background:var(--primary);}}.bg--primary-dark{&::before{background:var(--primary-dark);}}.bg--secondary--left{&::before{background:var(--secondary);}}.bg--tertiary--left{&::before{background:var(--tertiary);}}.bg--right{&::after{position:absolute;z-index:1;content:'';bottom:0;inset-inline-end:-50%;height:100%;width:200%;background:var(--grey-2);@media ","{inset-inline-end:-98%;width:100%;}}}"],d.$.smUp,d.$.mdUp,d.$.mdUp);t.default=e=>{let{slice:{primary:{color:t,title_start:r,title_middle:l,title_end:d,background_image:p,button:b,content:u,form_title:f}}}=e;n.useEffect(()=>{document.querySelectorAll("#contact .fade-up").forEach(function(e){i.gsap.from(e,{scrollTrigger:{trigger:e,start:"top 90%"},duration:.5,opacity:"0",y:"20%"})});const e=document.querySelector(".bg--contact");i.gsap.timeline({scrollTrigger:{trigger:"#contact",scrub:1,start:"top 90%"}}).fromTo(e,{scale:1.1},{scale:1,force3D:!0},0)},[]);const{siteTag:h}=(0,s.Sz)(),k=e=>{if("site:cloudkitchens"!==h)return"primary";switch(e){case"terracotta":default:return"primary";case"herb":return"primary-dark";case"stone":return"primary-light"}},y="herb"===t||"terracotta"===t?k("stone"):"stone"===t?k("herb"):"",v=k(t);return n.createElement(g,{id:"contact"},n.createElement("div",{className:"container"},n.createElement("div",{className:`grid grid-cols-4 md:grid-cols-8 lg:grid-cols-12 form--${v}`},n.createElement("div",{className:`col-span-4 h-fit self-end md:col-span-3 lg:col-span-5 bg--${v} pr0-md mt0--md mt-40 pb-12 pr-6 pt-12 md:pb-16 md:pt-16 lg:pb-20 lg:pt-20 bg--${v}--left relative`},n.createElement("h2",{className:"h2 color--white fade-up"},(0,a.e)(r.richText),n.createElement("span",{className:`color--${y}`},(0,a.e)(l.richText)),(0,a.e)(d.richText))),n.createElement("div",{className:"bg--grey-2 bg--right relative col-span-4 pb-20 pt-20 md:col-span-5 md:mt-24 md:pb-40 md:pt-24 lg:col-span-7 lg:col-start-6 lg:pt-24"},n.createElement("div",{className:"relative z-10 grid grid-cols-4 md:grid-cols-7"},n.createElement("div",{className:"col-span-4 md:col-span-6 md:col-start-2 lg:col-span-6 lg:col-start-2"},(0,c.Yi)(u)&&n.createElement("div",{className:"fade-up mb-12"},n.createElement(o.$,{field:u.richText})),n.createElement(m.A,{caller:"BlockContactSlice",buttonText:b.text,color:t,form_title:f,formVariant:"enterprise"})))))),(null==p?void 0:p.url)&&n.createElement("img",{className:"bg--contact",src:null==p?void 0:p.url,alt:""}))}}}]); 2//# sourceMappingURL=7052-7ffccd261c4286854c8f.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.