1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[799],{26202:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/clients/[...client]",function(){return t(25604)}])},25604:function(e,l,t){"use strict";t.r(l),t.d(l,{__N_SSG:function(){return _},default:function(){return w}});var i=t(85893),n=t(11163),o=t(67294),a=t(26034),r=t(18834),s=t(32336),layout_FallbackLayout=()=>(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center w-screen h-screen",children:[(0,i.jsx)(r.m.div,{animate:{scale:[1,1.1,1.1,1,1],rotate:[0,0,45,-45,0]},transition:{repeat:1/0,repeatType:"reverse",duration:2},children:(0,i.jsx)(s.Z,{})}),(0,i.jsxs)("p",{className:"mt-4",children:["Loading",(0,i.jsx)(r.m.span,{animate:{opacity:[0,1,1,1]},transition:{repeat:1/0,repeatType:"loop",duration:2},children:"."}),(0,i.jsx)(r.m.span,{animate:{opacity:[0,0,1,1]},transition:{repeat:1/0,repeatType:"loop",duration:2},children:"."}),(0,i.jsx)(r.m.span,{animate:{opacity:[0,0,0,1]},transition:{repeat:1/0,repeatType:"loop",duration:2},children:"."})]})]}),d=t(63506),c=t(99607),u=t(62161),hooks_useSplitTitle=e=>{let{title:l,characterLimits:t}=e,{windowSize:i}=(0,u.Z)(),getLetterLimit=e=>{switch(e){case"sm":return(null==t?void 0:t.sm)||15;case"md":return(null==t?void 0:t.md)||20;case"lg":return(null==t?void 0:t.lg)||25;case"xl":return(null==t?void 0:t.xl)||35;case"2xl":return(null==t?void 0:t["2xl"])||40;case"3xl":return(null==t?void 0:t["3xl"])||45;default:return(null==t?void 0:t.default)||30}};return(0,o.useMemo)(()=>{var e,t;let n=null==l?void 0:null===(t=l.join(" "))||void 0===t?void 0:null===(e=t.split(" "))||void 0===e?void 0:e.reduce((e,l)=>{let t=e[e.length-1];return t&&(null==t?void 0:t.join(" ").length)+l.length<getLetterLimit(i)?(t.push(l),[...e.slice(0,-1),t]):(e.push([l]),e)},[]);return null==n?void 0:n.map(e=>e.join(" "))},[l,i])},x=t(1866),client_ClientHeroSection=e=>{var l,t,n;let{title:o=[],image:a,pageId:r,id:s}=e,d=hooks_useSplitTitle({title:null==o?void 0:o.map(e=>e.plain_text),characterLimits:{sm:30,md:50,lg:50,xl:35,"2xl":50,"3xl":50,default:75}}),c=(null==a?void 0:null===(l=a.file)||void 0===l?void 0:l.expiry_time)||"";return(0,i.jsxs)("section",{className:"pt-24 pb-12",children:[(0,i.jsx)("div",{className:"max-w-screen-2xl mx-auto overflow-hidden ",children:(0,i.jsx)("div",{className:"relative min-h-[200px] sm:min-h-[300px] lg:min-h-[600px] -z-50",children:(null==a?void 0:null===(t=a.file)||void 0===t?void 0:t.url)&&(0,i.jsx)(x.Z,{type:"property",url:null==a?void 0:null===(n=a.file)||void 0===n?void 0:n.url,expiryTime:c,id:s,pageId:r,className:"object-contain w-full h-full",alt:"Cover image for ".concat(o),height:600,width:1024,priority:!0})})}),(0,i.jsx)("h1",{className:"flex flex-col gap-x-2 text-xl sm:text-2xl font-bold leading-tight text-black md:text-3xl -mt-12 sm:-mt-20 md:-mt-24 lg:-mt-36 lg:gap-x-8 lg:text-5xl ",children:null==d?void 0:d.map((e,l)=>(0,i.jsxs)("span",{className:"py-3 sm:py-5 pl-4 sm:pl-[10%] pr-4 sm:pr-8 bg-white shadow-xl lg:pl-[8%] xl:pl-[20%] w-fit shadow-black/30",children:[e," "]},"client-title-".concat(l)))})]})},v=t(93967),m=t.n(v),p=t(70478);let h=["border-highlight","border-blue","border-yellow","border-green"];var ClientStatsSections=e=>{let{stats:l}=e;return(0,i.jsxs)("section",{className:"max-w-screen-lg mx-auto",children:[(0,i.jsx)("h3",{className:"mb-8 font-serif text-3xl ".concat(p.ptSerif.variable),children:"Key Stats"}),(0,i.jsx)("div",{className:"relative flex flex-wrap justify-center gap-8 min-h-[300px]",children:l.map((e,l)=>{let{name:t}=e,n=t.split(" ");return(0,i.jsx)("div",{children:(0,i.jsxs)(r.m.p,{whileHover:{scale:1.05},transition:{type:"spring",stiffness:500,damping:20},className:m()(h[l],"relative flex flex-col items-center justify-center px-3 leading-tight border-8 rounded-full aspect-1 min-h-[150px] min-w-[150px] md:min-h-[200px] md:max-w-[200px] h-[150px] w-[150px] md:h-[200px] md:w-[200px]"),children:[(0,i.jsx)("span",{className:"font-bold text-2xl md:text-[250%] ",children:null==n?void 0:n[0]}),(0,i.jsx)("span",{className:"text-center text-md md:text-xl",children:n.slice(1).join(" ")})]})},"client-stats-".concat(l))})})]})},f=t(57550),g=t(61532),j=t(92840);let ClientPage=e=>{var l,t,r,s,d,u,x,v,m,p,h,_,w,y,N,b,S;let{page:k,meta:T,page_id:C,slug:L}=e,Z=(0,o.useRef)(null),{isFallback:H}=(0,n.useRouter)(),P=(0,g.AS)(),A=null===(l=(0,j.Dd)(null==k?void 0:k.results))||void 0===l?void 0:l.flatMap((e,l)=>{var t,n,a,r,s,d;return(null==e?void 0:null===(s=e.heading_2)||void 0===s?void 0:null===(r=s.rich_text)||void 0===r?void 0:null===(a=r[0])||void 0===a?void 0:null===(n=a.plain_text)||void 0===n?void 0:null===(t=n.trim())||void 0===t?void 0:t.toLowerCase())==="requirements"?[(0,i.jsx)(ClientStatsSections,{stats:(null==T?void 0:null===(d=T.Stats)||void 0===d?void 0:d.multi_select)||[]},"key-stats"),(0,i.jsx)(o.Fragment,{children:(0,j.A2)(e)},"client-block-".concat(l))]:(0,i.jsx)(o.Fragment,{children:(0,j.A2)(e)},"client-block-".concat(l))});return H?(0,i.jsx)(layout_FallbackLayout,{}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.ZP,{title:"".concat(null==T?void 0:null===(s=T.Title)||void 0===s?void 0:null===(r=s.rich_text)||void 0===r?void 0:null===(t=r[0])||void 0===t?void 0:t.plain_text),description:null==T?void 0:null===(x=T.Description)||void 0===x?void 0:null===(u=x.rich_text)||void 0===u?void 0:null===(d=u[0])||void 0===d?void 0:d.plain_text,path:"clients/".concat(L),schemas:[(0,c.A$)({name:(null==T?void 0:null===(p=T.Title)||void 0===p?void 0:null===(m=p.rich_text)||void 0===m?void 0:null===(v=m[0])||void 0===v?void 0:v.plain_text)||"",description:(null==T?void 0:null===(w=T.Description)||void 0===w?void 0:null===(_=w.rich_text)||void 0===_?void 0:null===(h=_[0])||void 0===h?void 0:h.plain_text)||"",url:"https://antler.digital/cl
1ients/".concat(L)})]}),(0,i.jsx)(client_ClientHeroSection,{title:null==T?void 0:null===(y=T.Title)||void 0===y?void 0:y.rich_text,image:null==T?void 0:null===(b=T["Hero Image"])||void 0===b?void 0:null===(N=b.files)||void 0===N?void 0:N[0],pageId:C,id:null==T?void 0:T["Hero Image"].id}),(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{className:"absolute w-screen ",children:(0,i.jsx)("div",{className:"flex flex-col w-full",children:Array.from({length:(null==Z?void 0:Z.current)?Math.floor((null==Z?void 0:null===(S=Z.current)||void 0===S?void 0:S.offsetHeight)/Math.floor(.5*(P||0))):2}).map((e,l)=>(0,i.jsx)(a.Z,{right:l%2!=0,className:"relative ".concat(l%2!=0?"-right-5 sm:right-0":"-left-5 sm:left-0")},"vertical-stagger-".concat(l)))})}),(0,i.jsx)("div",{ref:Z,className:"container max-w-4xl px-4 mx-auto space-y-4 sm:px-12",children:A})]}),(0,i.jsx)(f.Z,{})]})};ClientPage.getLayout=function(e){return(0,i.jsx)(d.Z,{children:e})};var _=!0,w=ClientPage}},function(e){e.O(0,[144,675,181,506,607,421,774,888,179],function(){return e(e.s=26202)}),_N_E=e.O()}]);
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.