PageSourceSearch

https://epic-aerospace-web.netlify.app/_next/static/chunks/pages/[[...slug]]-b8293abbfef110c2.js

js epic-aerospace-web.netlify.app collected 2026-10-03 10:42:51 UTC 51,642 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[120],{9805:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return i(2807)}])},2807:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return an},default:function(){return on}});var n={};i.r(n),i.d(n,{ArticlesList:function(){return Et},Carousel:function(){return Ke},Contact:function(){return Pi},Counters:function(){return Se},Explainer:function(){return Wi},Features:function(){return en},Heading:function(){return yt},Hero:function(){return M},Modal:function(){return ve},Spacer:function(){return Vi},Specifications:function(){return ei},TeamGrid:function(){return gt},TwoMediaColumns:function(){return Fi},Zigzag:function(){return Q}});var r=i(5893),a=i(2962),o=i(5697),s=i.n(o),l=i(7294),d=i(5806),u=i(6042),c=i(9396),p=i(4215),h=function(e){return e?"h1":"h2"},m=i(2303),g=i(2977),f=i(4399),x=i(2407),v=i(1664),Z=i.n(v),b=i(4924),j=i(3269),y=(0,j.ZP)("a")((function(e){var t=e.theme,i=e.$ctaVariant;return(0,c.Z)((0,u.Z)({},t.typography[i],function(e,t){return{button:(0,b.Z)({padding:"1rem 2.5rem",border:"1px solid white",borderWidth:"2px",transition:".2s",":not(:first-child)":{marginLeft:"1rem"},"&:hover":{backgroundColor:e.palette.bg.contrast,color:e.palette.text.contrast}},"@media (min-width:1024px)",{padding:"1rem 3rem"}),link:(0,b.Z)({margin:"1rem 2.5rem",border:"1px solid transparent",textDecoration:"underline",":not(:first-child)":{margin:"2rem 3rem"}},"@media (min-width:1024px)",{margin:"1rem 3rem"})}[t]}(t,i)),{color:t.palette.text.main,display:"inline-flex",cursor:"pointer"})})),k=function(e){var t,i=e.title,n=e.pageRoute,a=e.path,o=e.link,s=e.ctaVariant,l=e.ctaTitle,d=(null===n||void 0===n||null===(t=n.slug)||void 0===t?void 0:t.current)||a;return(0,r.jsx)(Z(),{href:"".concat(d||o),passHref:!0,children:(0,r.jsx)(y,{target:o&&"_blank",$ctaVariant:s,"aria-label":"".concat(i," ").concat(l),children:(0,r.jsx)("span",{children:i})})})};k.propTypes={title:s().string.isRequired,route:s().shape({slug:s().shape({current:s().string})}),link:s().string,ctaTitle:s().string.isRequired};var w=k,P=i(698),S=function(){var e=(0,P.Z)(),t=e.width,i=e.height,n=(0,l.useState)(""),r=n[0],a=n[1];return(0,l.useEffect)((function(){var e="xl";t<m.Z.values.sm?e="xs":t<m.Z.values.md?e="sm":t<m.Z.values.lg?e="md":t<m.Z.values.xl&&(e="lg"),a(e)}),[t]),{breakpoint:r,width:t,height:i}},C=i(828),R=function(e){var t=e.targetRef,i=e.options,n=e.keepObserver,r=(0,l.useState)(!1),a=r[0],o=r[1],s=(0,c.Z)((0,u.Z)({},i),{threshold:(null===i||void 0===i?void 0:i.threshold)||.3,rootMargin:(null===i||void 0===i?void 0:i.rootMargin)||"150px 0px 150px 0px"});return(0,l.useEffect)((function(){var e=new IntersectionObserver((function(e){var t=(0,C.Z)(e,1)[0];a&&!n?i():o(null===t||void 0===t?void 0:t.isIntersecting)}),s);(null===t||void 0===t?void 0:t.current)&&(null===e||void 0===e||e.observe(null===t||void 0===t?void 0:t.current));var i=function(){null===e||void 0===e||e.disconnect()};return function(){i()}}),[a]),a},T=i(2245),$=function(e,t,i){return{full:{height:"100vh"},medium:{height:"75vh"},small:(0,b.Z)({height:"50vh"},i.breakpoints.down("sm"),{height:t&&"100vh"})}[e]},q=(0,j.ZP)("div")((function(e){var t=e.$heightSize,i=e.$isFirstSection,n=e.theme;return(0,u.Z)({maxWidth:"100vw",position:"relative"},$(t,i,n))})),z=(0,j.ZP)("div")((function(e){var t=e.$backgroundImage;return{position:"absolute",backgroundImage:'url("'.concat(t,'")'),width:"100%",height:"100%",backgroundSize:"cover",backgroundRepeat:"no-repeat"}})),A=(0,j.ZP)("div")({position:"absolute",height:"100%",width:"100%",overflow:"hidden"}),I=((0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.spaces.layout)})),(0,j.ZP)("div")((function(e){var t=e.theme,i=e.$contentAlignment,n=e.$heightSize,r=e.$isFirstSection;return(0,u.Z)((0,c.Z)((0,u.Z)({width:"100%"},$(n,r,t)),{display:"flex",position:"relative",boxSizing:"border-box"}),function(e,t){return{"right-bottom":{justifyContent:"end",alignItems:"end"},"left-center":{justifyContent:"start",alignItems:"center"},"left-bottom":{justifyContent:"start",alignItems:"end"},"center-center":(0,b.Z)({justifyContent:"center",alignItems:"center",textAlign:"center"},t.breakpoints.down("sm"),{justifyContent:"start",textAlign:"start"})}[e]}(i,t),function(e,t){var i;return e&&(i={paddingTop:"3rem"},(0,b.Z)(i,t.breakpoints.up("sm"),{paddingTop:"3rem"}),(0,b.Z)(i,t.breakpoints.up("md"),{paddingTop:"3.4rem"}),(0,b.Z)(i,t.breakpoints.up("lg"),{paddingTop:"3.8rem"}),i)}(r&&("small"===n||"medium"===n),t))}))),F=(0,j.ZP)("div")((function(e){var t=e.theme,i=e.$paddingAlignment,n=e.$isFirstSection;return(0,c.Z)((0,u.Z)({color:t.palette.text.main},function(e,t,i){var n,r,a=(n={padding:"2rem 1rem 2rem 1rem"},(0,b.Z)(n,t.breakpoints.up("md"),{padding:i?"0 0 0 2rem":"3rem 0rem 3rem 2rem"}),(0,b.Z)(n,t.breakpoints.up("lg"),{padding:"5rem 0rem 5rem 3rem"}),(0,b.Z)(n,t.breakpoints.up("xl"),{padding:"5rem 0rem 5rem 5rem"}),n);return{"left-bottom":(0,u.Z)({},a),"right-bottom":(r={padding:"3rem 1rem 2rem 1rem"},(0,b.Z)(r,t.breakpoints.up("md"),{padding:"3rem 0 3rem 2rem"}),(0,b.Z)(r,t.breakpoints.up("lg"),{padding:"5rem 3rem 5rem 0"}),(0,b.Z)(r,t.breakpoints.up("xl"),{padding:"5rem 5rem 5rem 0"}),r),"left-center":(0,u.Z)({},a),"center-center":(0,b.Z)({padding:"3rem 1rem"},t.breakpoints.up("lg"),{padding:"5rem 0"})}[e]}(i,t,n)),(0,b.Z)({width:"100%"},t.breakpoints.up("sm"),{width:"50%",boxSizing:"border-box",paddingTop:n&&"0 0 0 1rem",paddingBottom:n&&"0 0 0 1rem"}))})),L=(0,j.ZP)("div")({marginTop:"2rem",textTransform:"uppercase",span:{fontSize:"1rem"}}),B=(0,j.ZP)(T.Z)((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.h1),{textShadow:"0 0 2px ".concat(t.palette.text.shadow),filter:"drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06))"})})),D=(0,j.ZP)(T.Z)((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.tagline),{textShadow:"0 0 2px ".concat(t.palette.text.shadow)})})),E=(0,j.ZP)("div")((function(e){var t=e.theme,i=e.$isFirstSection,n=e.$isSmaller;return(0,c.Z)((0,u.Z)({},t.typography.body1),{p:(0,b.Z)({textShadow:"0 0 2px ".concat(t.palette.text.shadow)},t.breakpoints.down("xl"),{lineHeight:i&&n&&"1.2rem"})})})),_=(0,j.ZP)("div")((function(e){var t=e.theme,i=e.$contentAlignment;return(0,u.Z)({},function(e,t){var i,n,r;return{"left-bottom":(i={paddingRight:0},(0,b.Z)(i,e.breakpoints.up("sm"),{paddingRight:"24%"}),(0,b.Z)(i,e.breakpoints.up("md"),{paddingRight:"33%"}),i),"right-bottom":(n={paddingLeft:0},(0,b.Z)(n,e.breakpoints.up("sm"),{paddingLeft:"24%"}),(0,b.Z)(n,e.breakpoints.up("md"),{paddingLeft:"33%"}),n),"left-center":(r={paddingRight:0},(0,b.Z)(r,e.breakpoints.up("sm"),{paddingRight:"24%"}),(0,b.Z)(r,e.breakpoints.up("md"),{paddingRight:"33%"}),r)}[t]}(t,i))})),O=function(e){var t=e.headline,i=e.backgroundImage,n=e.video,a=e.tagline,o=e.ctas,s=e.description,d=e.contentAlignment,v=e.heightSize,Z=e.isFirstSection,b=(0,l.useRef)(),j=R({targetRef
1:b,options:{threshold:0}}),y=(0,l.useState)(null),k=y[0],P=y[1],C=(0,l.useState)(null),T=C[0],$=C[1],O=S(),M=O.breakpoint,H=O.width,W=O.height;return(0,l.useEffect)((function(){M&&M!==k&&(P(M),$((0,p.u)(i,H,W)))}),[M]),(0,r.jsx)(x.Z,{onScreen:j,children:(0,r.jsxs)(q,{$heightSize:v,$isFirstSection:Z,ref:b,children:[j&&n&&H>=m.Z.values.md?(0,r.jsx)(A,{children:(0,r.jsx)(f.Z,{playbackId:null===n||void 0===n?void 0:n.asset.playbackId})}):j&&(0,r.jsx)(z,{$backgroundImage:T}),(0,r.jsx)(I,{$contentAlignment:d,$heightSize:v,$isFirstSection:Z,children:(0,r.jsx)(F,{$paddingAlignment:d,$isFirstSection:Z,children:(0,r.jsxs)(_,{$contentAlignment:d,children:[a&&(0,r.jsx)(D,{variant:"tagline",children:a}),(0,r.jsx)(B,{variant:h(Z),children:t}),(null===s||void 0===s?void 0:s.length)&&(0,r.jsx)(E,{$isFirstSection:Z,$isSmaller:"center-center"===d||"left-center"===d,children:(0,r.jsx)(g.Z,{blocks:s})}),o&&(0,r.jsx)(L,{children:o.map((function(e){return(0,l.createElement)(w,(0,c.Z)((0,u.Z)({},e),{key:e._key,ctaTitle:t}))}))})]})})})]})})};O.defaultProps={description:null,video:null,tagline:"",ctas:null},O.propTypes={description:s().array,headline:s().string.isRequired,contentAlignment:s().string.isRequired,backgroundImage:s().shape({}).isRequired,video:s().shape({asset:s().shape({playbackId:s().string})}),tagline:s().string,ctas:s().arrayOf(s().shape({_key:s().string})),heightSize:s().string.isRequired,isFirstSection:s().bool.isRequired};var M=O,H=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",flexDirection:"column",backgroundColor:t.palette.bg.main},t.breakpoints.up("lg"),{flexDirection:"row",alignItems:"center"})})),W=(0,j.ZP)("div")((function(e){var t=e.$mediaLeft,i=e.theme;return(0,b.Z)({left:"1rem",color:i.palette.text.main,order:2},i.breakpoints.up("lg"),{width:"50%",order:t?2:1,left:0})})),N=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={paddingLeft:"1rem",paddingRight:"1rem",marginTop:"1rem",paddingBottom:"1rem"},(0,b.Z)(t,i.breakpoints.up("md"),{marginTop:"1.5rem",paddingBottom:"1.5rem"}),(0,b.Z)(t,i.breakpoints.up("lg"),{marginTop:0,paddingBottom:0,paddingRight:0,paddingLeft:"3rem",maxWidth:"75%"}),(0,b.Z)(t,i.breakpoints.up("xl"),{paddingLeft:"5rem"}),t})),G=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({marginTop:"2.5rem",textTransform:"uppercase",paddingBottom:"2.5rem",span:{fontSize:"1rem"}},t.breakpoints.up("md"),{paddingBottom:0})})),V=(0,j.ZP)("div")((function(e){var t=e.$mediaLeft,i=e.theme;return(0,b.Z)({width:"100%",textAlign:"center",order:1,height:"50vh"},i.breakpoints.up("lg"),{width:"50%",order:t?1:2,height:"100vh"})})),X=(0,j.ZP)("img")({width:"100%",objectFit:"cover",height:"100%"}),J=(0,j.ZP)("div")({overflow:"hidden",height:"100%"}),U=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.typography.body1)})),K=function(e){var t=e.headline,i=e.tagline,n=e.description,a=e.image,o=e.video,s=e.mediaLeft,d=e.ctas,v=e.isFirstSection,Z=(0,l.useRef)(),b=R({targetRef:Z,options:{threshold:0}}),j=S(),y=j.breakpoint,k=j.width,P=(0,l.useState)(null),C=P[0],$=P[1],q=(0,l.useState)(null),z=q[0],A=q[1],I=null===a||void 0===a?void 0:a.asset.metadata.dimensions.width,F=null===a||void 0===a?void 0:a.asset.metadata.dimensions.height;(0,l.useEffect)((function(){y&&y!==C&&($(y),A((0,p.u)(a,k)))}),[y]);return(0,r.jsx)(x.Z,{onScreen:b,children:(0,r.jsxs)(H,{ref:Z,children:[(0,r.jsx)(W,{$mediaLeft:s,children:(0,r.jsxs)(N,{$mediaLeft:s,children:[i&&(0,r.jsx)(T.Z,{variant:"tagline",children:i}),(0,r.jsx)(T.Z,{variant:h(v),children:t}),(null===n||void 0===n?void 0:n.length)&&(0,r.jsx)(U,{children:(0,r.jsx)(g.Z,{blocks:n})}),d&&(0,r.jsx)(G,{children:d.map((function(e){return(0,l.createElement)(w,(0,c.Z)((0,u.Z)({},e),{key:e._key,ctaTitle:t}))}))})]})}),b&&(0,r.jsx)(V,{$mediaLeft:s,children:k&&(o&&k>=m.Z.values.lg?(0,r.jsx)(J,{children:(0,r.jsx)(f.Z,{playbackId:null===o||void 0===o?void 0:o.asset.playbackId})}):(0,r.jsx)(X,{alt:t,src:z,width:I,height:F}))})]})})};K.defaultProps={tagline:"",description:null,video:null,mediaLeft:!1,ctas:null},K.propTypes={headline:s().string.isRequired,tagline:s().string,description:s().array,image:s().shape({asset:s().shape({metadata:s().shape({dimensions:s().shape({width:s().number,height:s().number})})})}).isRequired,video:s().shape({asset:s().shape({playbackId:s().string})}),mediaLeft:s().bool,ctas:s().arrayOf(s().shape({_key:s().string})),isFirstSection:s().bool.isRequired};var Q=K,Y=i(8007),ee=i(8111),te=i(6974),ie=(0,j.ZP)(ee.Z)({position:"fixed",zIndex:"1400 !important"}),ne=(0,j.ZP)("div")((function(e){return{position:"absolute",width:"100vw",height:"100vh",backgroundColor:e.theme.palette.bg.main,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",border:0}})),re=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({width:"100%",height:"auto"},t.breakpoints.up("lg"),{width:"75%"})})),ae=(0,j.ZP)(te.Z)((function(e){var t,i=e.theme;return t={position:"absolute",top:"2rem",right:"1rem",fontSize:"20px",color:"white",cursor:"pointer"},(0,b.Z)(t,i.breakpoints.up("sm"),{fontSize:"25px"}),(0,b.Z)(t,i.breakpoints.up("md"),{fontSize:"35px"}),(0,b.Z)(t,i.breakpoints.up("lg"),{right:"3rem"}),t})),oe=(0,j.ZP)("div")({position:"relative",paddingBottom:"56.25%",height:0,marginBottom:"42px"}),se=(0,j.ZP)(T.Z)((function(e){return{display:"block",marginTop:"20px",textAlign:"center",color:e.theme.palette.text.main,fontSize:"25px"}})),le=function(e){var t=e.openModal,i=e.handleClose,n=e.video,a=e.headline,o=e.headlineOnModal,s=(0,P.Z)().width;return(0,r.jsx)(ie,{open:t,onClose:i,closeAfterTransition:!0,BackdropComponent:Y.Z,BackdropProps:{timeout:500},disableAutoFocus:!0,children:(0,r.jsx)(x.Z,{onScreen:t,timeout:700,children:(0,r.jsx)(ne,{children:(0,r.jsxs)(re,{children:[(0,r.jsx)(ae,{onClick:i}),(0,r.jsx)(oe,{children:(0,r.jsx)(f.Z,{playbackId:null===n||void 0===n?void 0:n.asset.playbackId,autoPlay:s>=m.Z.values.sm,controls:!0,variant:"modal"})}),o&&(0,r.jsx)(se,{variant:"h4",children:a})]})})})})};le.defaultProps={handleClose:void 0,headlineOnModal:!1},le.propTypes={openModal:s().bool.isRequired,handleClose:s().func,video:s().shape({asset:s().shape({playbackId:s().string})}).isRequired,headline:s().string.isRequired,headlineOnModal:s().bool};var de=le,ue=i(4176),ce=(0,j.ZP)("div")((function(e){var t=e.$contentAlignment;return{display:"flex",width:"100%",height:"100vh",alignItems:"left-center"===t?"center":"end",justifyContent:"right-bottom"===t?"end":"start"}})),pe=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.spaces.layout)})),he=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={color:i.palette.text.main,position:"relative",maxWidth:"28rem",paddingTop:"3rem",paddingBottom:"3rem"},(0,b.Z)(t,i.breakpoints.up("sm"),{maxWidth:"30rem"}),(0,b.Z)(t,i.breakpoints.up("md"),{maxWidth:"36rem",paddingTop:"5rem",paddingBottom:"5rem"}),(0,b.Z)(t,i.breakpoints.up("lg"),{maxWidth:"48rem"}),t})),me=(0,j.ZP)("div")((function(e){var t=e.$backgroundImage;return{position:"absolute",backgroundImage:'url("'.concat(t,'")'),width:"100%",height:"100%",backgroundSize:"cover",backgroundRepeat:"no-repeat"}})),ge=(0,j.ZP)("div")({position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),fe=(0,j.ZP)(ue.Z)((function(e){var t=e.theme;return(0,b.Z)({width:"4rem",height:"4rem",color:t.palette.primary.main,cursor:"pointer"}
1,t.breakpoints.up("sm"),{width:"6rem",height:"6rem"})})),xe=((0,j.ZP)("div")({position:"absolute",height:"100%",width:"100%",overflow:"hidden"}),function(e){var t=e.headline,i=e.tagline,n=e.contentAlignment,a=e.image,o=e.video,s=e.isFirstSection,d=t.headlineOnModal,u=t.headlineText,c=S(),m=c.breakpoint,g=c.width,f=c.height,v=(0,l.useState)(null),Z=v[0],b=v[1],j=(0,l.useState)(null),y=j[0],k=j[1],w=(0,l.useState)(!1),P=w[0],C=w[1],$=(0,l.useRef)(),q=R({targetRef:$,options:{threshold:0}});return(0,l.useEffect)((function(){Z!==m&&(b(m),k((0,p.u)(a,g,f)))}),[m]),(0,r.jsx)(x.Z,{onScreen:q,children:(0,r.jsx)(ce,{$contentAlignment:n,ref:$,children:q&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(me,{$backgroundImage:y}),(0,r.jsx)(ge,{children:(0,r.jsx)(fe,{onClick:function(){return C(!0)}})}),(0,r.jsx)(pe,{children:(0,r.jsxs)(he,{children:[i&&(0,r.jsx)(T.Z,{variant:"tagline",children:i}),u&&(0,r.jsx)(T.Z,{variant:h(s),children:u})]})}),(0,r.jsx)(de,{openModal:P,handleClose:function(){return C(!1)},video:o,headline:u,headlineOnModal:d})]})})})});xe.defaultProps={tagline:"",headlineText:""},xe.propTypes={headline:s().shape({headlineOnModal:s().bool,headlineText:s().string}).isRequired,tagline:s().string,contentAlignment:s().string.isRequired,image:s().shape({}).isRequired,video:s().shape({}).isRequired,isFirstSection:s().bool.isRequired};var ve=xe,Ze=(0,j.ZP)("div")({display:"flex",flexDirection:"column",width:"100%",maxWidth:"27%",animation:"count 2.5s ease-in","@keyframes count":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}),be=(0,j.ZP)("span")((function(e){var t,i=e.theme;return t={textAlign:"center",fontFamily:"DDin Bold",marginBottom:"12px",fontSize:"8rem",lineHeight:"1",color:"white"},(0,b.Z)(t,i.breakpoints.down("lg"),{fontSize:"72px"}),(0,b.Z)(t,i.breakpoints.down("sm"),{fontSize:"48px"}),(0,b.Z)(t,"WebkitFontSmoothing","antialiased"),t})),je=(0,j.ZP)("span")((function(e){var t,i=e.theme;return t={textAlign:"center",color:"white",textTransform:"uppercase",fontSize:"22px",lineHeight:"1.75rem"},(0,b.Z)(t,i.breakpoints.down("lg"),{fontSize:"1.125rem",lineHeight:"1.75rem"}),(0,b.Z)(t,i.breakpoints.down("sm"),{fontSize:"0.75rem",lineHeight:"1rem"}),t})),ye=function(e){var t=e.maxNumber,i=e.caption,n=(0,l.useState)(0),a=n[0],o=n[1];return(0,l.useEffect)((function(){var e=0;if(t!==e){var i=t<100?2/t*1e3:5,n=Math.ceil(t/1e3),r=setInterval((function(){o(e+=1+(t>600&&e<.95*t&&n)),e===t&&clearInterval(r)}),i);return function(){o(0),clearInterval(r)}}}),[t]),(0,r.jsxs)(Ze,{children:[(0,r.jsx)(be,{children:a}),i&&(0,r.jsx)(je,{children:i})]})};ye.propTypes={maxNumber:s().number.isRequired,caption:s().string.isRequired};var ke=ye,we=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",justifyContent:"center",gap:"1rem",padding:"40px 0",minHeight:"10rem"},t.breakpoints.down("sm"),{gap:"1.25rem"})})),Pe=function(e){var t=e.allCounters,i=(0,l.useRef)(),n=R({targetRef:i,keepObserver:!0});return(0,r.jsx)(we,{ref:i,children:n&&t.length&&t.map((function(e){var t=e._key,i=e.maxNumber,n=e.caption;return(0,r.jsx)(ke,{maxNumber:i,caption:n},t)}))})};Pe.propTypes={allCounters:s().arrayOf(s().shape({_key:s().string.isRequired,maxNumber:s().number.isRequired,caption:s().string.isRequired}).isRequired)};var Se=Pe,Ce=(0,j.ZP)("div")({display:"flex",overflow:"hidden",position:"relative"}),Re=(0,j.ZP)("div")({width:"100vw"}),Te=(0,j.ZP)("div")({overflow:"hidden"}),$e=(0,j.ZP)("div")({display:"flex",userSelect:"none"}),qe=(0,j.ZP)("div")({position:"relative",display:"flex"}),ze=(0,j.ZP)("img")((function(e){var t=e.theme;return(0,b.Z)({width:"100vw",maxHeight:"100vh",objectFit:"cover"},t.breakpoints.up("lg"),{paddingBottom:"0",paddingTop:"0"})})),Ae=(0,j.ZP)("div")({}),Ie=(0,j.ZP)("div")((function(e){var t=e.theme,i=e.$justify;return(0,b.Z)({display:"flex",width:"94%",paddingBottom:"30px",paddingTop:"20px",justifyContent:i,alignItems:"center"},t.breakpoints.down("md"),{paddingBottom:"0",paddingTop:"0"})})),Fe=(0,j.ZP)("div")((function(e){var t=e.theme,i=e.$isShownCaption;return(0,b.Z)({position:"absolute",display:"flex",bottom:"0",width:"100%",height:"100px",paddingLeft:"3%",paddingRight:"3%",background:i&&"radial-gradient(circle, rgba(0,0,0,0.33099177170868344) 20%, rgba(208,208,208,0) 100%)"},t.breakpoints.down("lg"),{position:"relative",background:"none"})})),Le=(0,j.ZP)("caption")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.tagline),{textTransform:"inherit",textAlign:"center",color:t.palette.text.main})})),Be=function(e){var t=e.item,i=e.showCaption,n=S(),a=n.breakpoint,o=n.width,s=n.height,d=(0,l.useState)(null),u=d[0],c=d[1],h=(0,l.useState)(null),m=h[0],g=h[1];return(0,l.useEffect)((function(){if(a!==u){c(a);var e={url:(0,p.u)(t.image,o,s,!0),imageCaption:t.imageCaption,alt:t.alt};g(e)}}),[a]),(0,r.jsx)(r.Fragment,{children:m&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Te,{children:(0,r.jsx)($e,{children:(0,r.jsx)(qe,{children:(0,r.jsx)(ze,{src:m.url,alt:m.alt||m.imageCaption})})})}),(0,r.jsx)(Fe,{$isShownCaption:i,children:(0,r.jsx)(Ie,{$justify:"center",children:i&&t.imageCaption&&(0,r.jsx)(Le,{children:m.imageCaption})})})]})})};Be.propTypes={item:s().shape({imageCaption:s().string,alt:s().string,image:s().shape({}).isRequired}).isRequired,showCaption:s().bool.isRequired};var De=Be,Ee=i(9213),_e=i.n(Ee),Oe=i(8434),Me="drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 2px rgb(0 0 0 / 0.5))",He=(0,j.ZP)("button")((function(e){return{opacity:e.$selected?1:.4,borderRadius:"50%",height:"11px",width:"11px",border:"none",margin:"0 5px",padding:"0",transition:"opacity .2s linear",curs
1or:"pointer",filter:Me}})),We={right:{transform:"rotate(0.5turn)"},up:{transform:"rotate(0.25turn)"},down:{transform:"rotate(-0.25turn)"}},Ne=(0,j.ZP)(Oe.Z)((function(e){var t=e.theme,i=e.$disabled,n=e.$variant;return(0,c.Z)((0,u.Z)({color:t.palette.primary.main},We[n]),{opacity:i?.4:1,width:"40px",height:"40px",transition:"opacity .2s linear",cursor:i?"inherit":"pointer",filter:Me})})),Ge=function(e){var t=e.selected,i=e.onClick;return(0,r.jsx)(He,{onClick:i,$selected:t})},Ve=function(e){var t=e.enabled,i=e.onClick,n=e.variant;return(0,r.jsx)(Ne,{onClick:i,$disabled:!t,$variant:n})};Ge.propTypes={selected:s().bool.isRequired,onClick:s().func.isRequired},Ve.propTypes={enabled:s().bool.isRequired,onClick:s().func.isRequired,variant:s().string.isRequired};var Xe=function(e){var t,i=e.items,n=e.showCaption,a=S(),o=a.breakpoint,s=a.width,d=a.height,u=(0,C.Z)(_e()({skipSnaps:!1}),2),c=u[0],h=u[1],m=(0,l.useState)(!1),g=m[0],f=m[1],x=(0,l.useState)(!1),v=x[0],Z=x[1],b=(0,l.useState)(0),j=b[0],y=b[1],k=(0,l.useState)([]),w=k[0],P=k[1],R=(0,l.useState)(null),T=R[0],$=R[1],q=(0,l.useState)([]),z=q[0],A=q[1],I=(0,l.useCallback)((function(){return h&&h.scrollPrev()}),[h]),F=(0,l.useCallback)((function(){return h&&h.scrollNext()}),[h]),L=(0,l.useCallback)((function(e){return h&&h.scrollTo(e)}),[h]),B=(0,l.useCallback)((function(){h&&(y(h.selectedScrollSnap()),f(h.canScrollPrev()),Z(h.canScrollNext()))}),[h,y]);(0,l.useEffect)((function(){if(h)return B(),P(h.scrollSnapList()),h.on("select",B),function(){return h.off("select",B)}}),[h,P,B]),(0,l.useEffect)((function(){if(o!==T){$(o);var e=i.map((function(e){return{url:(0,p.u)(e.image,s,d,!0),imageCaption:e.imageCaption,alt:e.alt}}));A(e)}}),[o]);var D;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Te,{ref:c,children:(0,r.jsx)($e,{children:i.map((function(e,t){return(0,r.jsx)(qe,{children:z.length&&(0,r.jsx)(ze,{src:z[t].url,alt:z[t].alt||z[t].imageCaption})},e._key)}))})}),(0,r.jsx)(Fe,{$isShownCaption:n,children:(0,r.jsxs)(Ie,{$justify:"space-between",children:[(0,r.jsx)(Ve,{onClick:I,enabled:g,variant:"left"}),n?(D=null===(t=z[j])||void 0===t?void 0:t.imageCaption,D?(0,r.jsx)(Le,{children:D}):null):(0,r.jsx)(Ae,{children:w.map((function(e,t){return(0,r.jsx)(Ge,{selected:t===j,onClick:function(){return L(t)}},t)}))}),(0,r.jsx)(Ve,{onClick:F,enabled:v,variant:"right"})]})})]})};Xe.propTypes={items:s().arrayOf(s().shape({imageCaption:s().string,alt:s().string,image:s().shape({}).isRequired}).isRequired).isRequired,showCaption:s().bool.isRequired};var Je=Xe,Ue=function(e){var t=(0,l.useRef)(),i=R({targetRef:t,options:{threshold:0}});return(0,r.jsx)(x.Z,{onScreen:i,children:(0,r.jsx)(Ce,{ref:t,children:i&&(0,r.jsx)(Re,{children:e.items.length>1?(0,r.jsx)(Je,{items:e.items,showCaption:e.showCaption}):(0,r.jsx)(De,{item:e.items[0],showCaption:e.showCaption})})})})};
1Ue.propTypes={items:s().arrayOf(s().shape({imageCaption:s().string,alt:s().string,image:s().shape({}).isRequired}).isRequired).isRequired,showCaption:s().bool.isRequired};var Ke=Ue,Qe=i(9815),Ye=function(e){var t=e.root,i=void 0===t?null:t,n=e.rootMargin,r=void 0===n?"0px":n,a=e.threshold,o=void 0===a?0:a,s=(0,l.useRef)(null),d=(0,l.useState)([]),u=d[0],c=d[1],p=(0,l.useState)([]),h=p[0],m=p[1],g=(0,l.useState)([]),f=g[0],x=g[1],v={threshold:o,root:i,rootMargin:r};return(0,l.useEffect)((function(){s.current&&s.current.disconnect(),s.current=new IntersectionObserver((function(e){c(e)}),v);var e=s.current;return null===h||void 0===h||h.forEach((function(t){e.observe(t)})),function(){return e.disconnect()}}),[h]),(0,l.useEffect)((function(){null===u||void 0===u||u.forEach((function(e){if(e.isIntersecting){var t=f;f.push(e),x(t),m((function(t){return t.filter((function(t){return t!==e.target}))}))}}))}),[u,m]),[u,m,f]},et=i(4878),tt=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.spaces.layout)})),it=(0,j.ZP)("div")((function(e){return{display:"flex",flexDirection:"column",backgroundColor:e.theme.palette.bg.main,paddingTop:"2.5rem",marginBottom:"2rem"}})),nt=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={left:"1rem",color:i.palette.text.main,marginTop:"1.5rem",gridColumn:"span 2 / span 2",alignSelf:"center"},(0,b.Z)(t,i.breakpoints.up("sm"),{gridColumn:"span 1 / span 1"}),(0,b.Z)(t,i.breakpoints.up("lg"),{gridColumn:"1/3"}),t})),rt=(0,j.ZP)(T.Z)({}),at=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.body1),{color:t.palette.text.main,p:(0,b.Z)({maxWidth:"42rem"},t.breakpoints.up("md"),{fontSize:"1.25rem",lineHeight:"2.375rem",margin:"20px 0"})})})),ot=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={display:"grid",justifyContent:"center",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"0.5rem"},(0,b.Z)(t,i.breakpoints.up("sm"),{gridTemplateColumns:"repeat(2, minmax(0, 50%))",gap:"2rem"}),(0,b.Z)(t,i.breakpoints.up("lg"),{gridTemplateColumns:"repeat(3, minmax(0, 33.33%))"}),t})),st=(0,j.ZP)("div")((function(e){var t=e.theme,i=e.$isFirstCard;return(0,b.Z)({textAlign:"center",width:"100%",height:"100%",display:"flex",flexDirection:"column",marginBottom:i&&"3rem"},t.breakpoints.down("sm"),{gridColumn:i&&"span 2 / span 2"})})),lt=(0,j.ZP)("img")({width:"100%"}),dt=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",justifyContent:"center",alignItems:"center",paddingTop:"1rem",alignSelf:"center",width:"50%"},t.breakpoints.up("sm"),{width:"100%"})})),ut=(0,j.ZP)(T.Z)((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.h3),{color:t.palette.text.main})})),ct=(0,j.ZP)("a")({cursor:"pointer",display:"flex"}),pt=(0,j.ZP)(et.Z)((function(e){var t,i=e.theme;return t={width:"1.34rem",height:"1.34rem",color:"#e5e7eb9c",marginLeft:"0.3rem",transition:"all .3s","&:hover":{color:i.palette.text.light}},(0,b.Z)(t,i.breakpoints.up("sm"),{marginLeft:"0.5rem"}),(0,b.Z)(t,i.breakpoints.up("lg"),{width:"1.675rem",height:"1.675rem"}),t})),ht=(0,j.ZP)(T.Z)((function(e){var t=e.theme;return(0,b.Z)({color:"#9CA3AF",fontSize:"0.875rem",lineHeight:"1.25rem"},t.breakpoints.up("xl"),{fontSize:"1.125rem",lineHeight:"1.75rem"})})),mt=function(e){var t=e.headline,i=e.description,n=e.members,a=S(),o=a.breakpoint,s=a.width,d=(0,l.useRef)([]),u=(0,C.Z)(Ye({threshold:0,rootMargin:"0px 0px 300px 0px"}),3),c=u[0],h=u[1],m=u[2],f=(0,l.useState)(null),v=f[0],b=f[1],j=(0,l.useState)([]),y=j[0],k=j[1],w=function(e){e&&!d.current.includes(e)&&d.current.push(e)},P=function(){if(y.length){var e=y;null===m||void 0===m||m.forEach((function(t,i){e[i]={url:(0,p.u)(n[i].image.asset.url,s)}})),k(e)}};(0,l.useEffect)((function(){if(s&&!y.length){var e=[];null===n||void 0===n||n.forEach((function(t){e.push({url:(0,p.u)(t.image.asset.url,s,void 0,null,2)})})),k(e)}}),[s]),(0,l.useEffect)((function(){h((function(){return(0,Qe.Z)(d.current)}))}),[]),(0,l.useEffect)((function(){o&&o!==v&&(b(o),P())}),[o]),(0,l.useEffect)((function(){P()}),[m,c]);return(0,r.jsx)(x.Z,{children:(0,r.jsx)(tt,{children:(0,r.jsx)(it,{children:(0,r.jsxs)(ot,{children:[(0,r.jsxs)(nt,{children:[t&&(0,r.jsx)(rt,{variant:"h2",children:t}),(null===i||void 0===i?void 0:i.length)&&(0,r.jsx)(at,{children:(0,r.jsx)(g.Z,{blocks:i})})]}),n.map((function(e,t){var i;return(0,r.jsxs)(st,{$isFirstCard:0===t,ref:w,children:[(0,r.jsx)(lt,{src:null===(i=y[t])||void 0===i?void 0:i.url,alt:e.image.alt}),(0,r.jsxs)(dt,{children:[(0,r.jsx)(ut,{variant:"h3",children:e.name}),e.linkedin&&(0,r.jsx)(Z(),{href:e.linkedin,passHref:!0,children:(0,r.jsx)(ct,{target:"_blank",children:(0,r.jsx)(pt,{})})})]}),(0,r.jsx)(ht,{variant:"link",children:e.currentPosition})]},e._id)}))]})})})})};mt.defaultProps={headline:"",description:null}
1,mt.propTypes={headline:s().string,description:s().array,members:s().arrayOf(s().object).isRequired};var gt=mt,ft=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",justifyContent:"flex-start",padding:"60px 20px"},t.breakpoints.up("md"),{justifyContent:"center",padding:"60px 50px"})})),xt=(0,j.ZP)("div")((function(e){var t,i=e.theme,n=e.$contentAlignment;return t={display:"flex",flexDirection:"column",textAlign:e.$isTwoParagraph?"left":n},(0,b.Z)(t,i.breakpoints.up("sm"),{maxWidth:"640px"}),(0,b.Z)(t,i.breakpoints.up("md"),{maxWidth:"768px"}),(0,b.Z)(t,i.breakpoints.up("xl"),{maxWidth:"1024px"}),t})),vt=(0,j.ZP)(T.Z)((function(e){var t=e.theme,i=e.$highlight,n=e.$titleSize;return(0,c.Z)((0,u.Z)({},function(e,t){return{small:(0,b.Z)({fontSize:"20px",lineHeight:"20px"},e.breakpoints.up("md"),{fontSize:"24px",lineHeight:"24px"}),medium:(0,b.Z)({fontSize:"24px",lineHeight:"24px"},e.breakpoints.up("md"),{fontSize:"36px",lineHeight:"36px"}),large:(0,u.Z)({},e.typography.h2)}[t]}(t,n)),(0,b.Z)({color:"white",fontFamily:i?"Ddin Bold":"Ddin Regular",padding:"20px 0"},t.breakpoints.down("md"),{textAlign:"left"}))})),Zt=(0,j.ZP)("div")((function(e){var t,i,n,r=e.theme,a=e.$isTwoParagraph,o=e.$contentAlignment;return(0,c.Z)((0,u.Z)({display:"flex",flexDirection:"column"},(i=o,{left:{textAlign:(n=a)?"left":i},center:{textAlign:n?"left":i},right:{textAlign:"left"}}[i])),(t={},(0,b.Z)(t,r.breakpoints.up("md"),{flexDirection:"row",gap:"60px"}),(0,b.Z)(t,r.breakpoints.down("md"),{textAlign:"left"}),t))})),bt=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.body1),{width:"100%",color:t.palette.text.main})})),jt=function(e){var t=e.title,i=e.titleSize,n=e.showExtraBlockContent,a=e.blockContent,o=e.extraBlockContent,s=e.contentAlignment,l=e.isFirstSection;return(0,r.jsx)(x.Z,{children:(0,r.jsx)(ft,{children:(0,r.jsxs)(xt,{$contentAlignment:s,children:[(0,r.jsx)(vt,{variant:h(l),$highlight:!!a,$titleSize:i,children:t}),(0,r.jsxs)(Zt,{$isTwoParagraph:n,$contentAlignment:s,children:[a&&(0,r.jsx)(bt,{children:(0,r.jsx)(g.Z,{blocks:a})}),n&&o&&(0,r.jsx)(bt,{children:(0,r.jsx)(g.Z,{blocks:o})})]})]})})})};jt.defaultProps={title:null,titleSize:"large",blockContent:null,extraBlockContent:null},jt.propTypes={title:s().string,titleSize:s().string,blockContent:s().arrayOf(s().shape({})),extraBlockContent:s().arrayOf(s().shape({})),showExtraBlockContent:s().bool.isRequired,contentAlignment:s().string.isRequired,isFirstSection:s().bool.isRequired};var yt=jt,kt=function(e,t){var i=(0,l.useState)(1),n=i[0],r=i[1],a=Math.ceil(e.length/t);return{next:function(){r((function(e){return Math.min(e+1,a)}))},prev:function(){r((function(e){return Math.max(e-1,1)}))},jump:function(e){var t=Math.max(1,e);r((function(){return Math.min(t,a)}))},currentData:function(){var i=(n-1)*t,r=i+t;return e.slice(i,r)},currentPage:n,maxPage:a}},wt=i(2707),Pt=i(2647),St=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.spaces.layout)})),Ct=(0,j.ZP)("div")((function(e){return{display:"flex",flexDirection:"column",backgroundColor:e.theme.palette.bg.main,paddingTop:"2.5rem"}})),Rt=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"grid",justifyContent:"center",gridTemplateColumns:"minmax(0, 1fr)",gap:"2rem"},t.breakpoints.up("lg"),{gridTemplateColumns:"repeat(3, minmax(0, 33.33%))"})})),Tt=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({textAlign:"center",width:"100%",height:"100%",display:"flex",flexDirection:"column",marginBottom:"2.5rem"},t.breakpoints.up("lg"),{marginBottom:0})})),$t=(0,j.ZP)("a")({width:"100%",height:"20rem",minHeight:"20rem",display:"block",position:"relative",cursor:"pointer",overflow:"hidden"}),qt=(0,j.ZP)("img")({width:"100%",height:"100%",objectFit:"cover",objectPosition:"center",transition:"all .5s ease",":hover":{transform:"scale(1.05)"}}),zt=(0,j.ZP)("div")({width:"100%",display:"flex",marginTop:"1rem"}),At=(0,j.ZP)("time")((function(e){var t=e.theme;return(0,u.Z)({},t.typography.info)})),It=(0,j.ZP)("a")({textDecoration:"none",cursor:"pointer"}),Ft=(0,j.ZP)(T.Z)((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.h2small),{color:t.palette.text.main,textAlign:"left",overflow:"hidden",WebkitLineClamp:2,display:"-webkit-box",WebkitBoxOrient:"vertical"})})),Lt=(0,j.ZP)("div")({display:"flex",alignItems:"center",justifyContent:"center"}),Bt=(0,j.ZP)(Pt.Z)({paddingTop:"1.5rem",paddingBottom:"1.5rem","& .MuiPaginationItem-root":{color:"#fff"},"& .Mui-selected":{"& .MuiTouchRipple-root":{backgroundColor:"#d3d3d32b"}}}),Dt=function(e){var t=e.articles,i=e.sortByPublishDate,n=(0,l.useState)(1),a=n[0],o=n[1],s=i?t.sort((function(e,t){return-e.publishedAt.localeCompare(t.publishedAt)})):t,d=s.map((function(e){return{url:(0,p.u)(e.mainImage.asset.url,m.Z.values.lg)}})),u=Math.ceil(s.length/9),c=kt(s,9);return(0,r.jsx)(x.Z,{children:(0,r.jsx)(St,{children:(0,r.jsxs)(Ct,{children:[c&&(0,r.jsx)(Rt,{children:c.currentData().map((function(e,t){var i,n=t+9*(a-1),o=(0,wt.M)(s[n].publishedAt),l=o.monthName,u=o.year,c="".concat(l,", ").concat(u);return(0,r.jsxs)(Tt,{children:[(0,r.jsx)(Z(),{href:"news/".concat(e.slug.current),passHref:!0,children:(0,r.jsx)($t,{children:(0,r.jsx)(qt,{src:null===(i=d[n])||void 0===i?void 0:i.url,alt:e.mainImage.alt})})}),(0,r.jsxs)(zt,{children:[!!e.categories.length&&(0,r.jsxs)(T.Z,{variant:"info",children:[e.categories[0].title," /"]}),(0,r.jsxs)(At,{children:[!!e.categories.length&&"\xa0",c]})]}),(0,r.jsx)(Z(),{href:"news/".concat(e.slug.current),passHref:!0,children:(0,r.jsx)(It,{children:(0,r.jsx)(Ft,{variant:"h2",children:e.title})})})]},e._id)}))}),u>1&&(0,r.jsx)(Lt,{children:(0,r.jsx)(Bt,{count:u,page:a,shape:"rounded",onChange:function(e,t){o(t),c.jump(t)}})})]})})})};Dt.propTypes={sortByPublishDate:s().bool.isRequired,articles:s().arrayOf(s().shape({_id:s().string.isRequired,publishedAt:s().string.isRequired,title:s().string.isRequired,categories:s().arrayOf(s().shape({title:s().string})),mainImage:s().shape({alt:s().string,asset:s().shape({url:s().string})}).isRequired})).isRequired};
1var Et=Dt,_t=i(8945),Ot=i(5467),Mt=i(4680),Ht=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",flexDirection:"column",backgroundColor:t.palette.bg.main,boxSizing:"border-box",flexWrap:"nowrap"},t.breakpoints.up("sm"),{flexDirection:"row"})})),Wt=(0,j.ZP)("div")((function(e){var t=e.$mediaLeft,i=e.theme;return(0,b.Z)({left:"1rem",color:i.palette.text.main,order:2,alignSelf:"center"},i.breakpoints.up("sm"),{width:"50%",order:t?2:1,marginTop:0})})),Nt=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={paddingLeft:"1rem",marginTop:"1rem",paddingRight:"1rem"},(0,b.Z)(t,i.breakpoints.up("sm"),{marginTop:0,paddingRight:0,maxWidth:"70%",paddingTop:"1.5rem",paddingBottom:"1.5rem"}),(0,b.Z)(t,i.breakpoints.up("md"),{paddingLeft:"2rem"}),(0,b.Z)(t,i.breakpoints.up("lg"),{paddingLeft:"3rem",maxWidth:"60%"}),(0,b.Z)(t,i.breakpoints.up("xl"),{paddingLeft:"5rem"}),t})),Gt=(0,j.ZP)("div")((function(e){var t=e.$mediaLeft,i=e.theme;return(0,b.Z)({width:"100%",textAlign:"center",order:1,height:"50vh"},i.breakpoints.up("sm"),{width:"50%",height:"auto",order:t?1:2})})),Vt=(0,j.ZP)("img")({width:"100%",height:"100%",objectFit:"cover"}),Xt=(0,j.ZP)("div")({overflow:"hidden",height:"100%"}),Jt=(0,j.ZP)(T.Z)((function(){return{color:"#ffb007"}})),Ut=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.typography.body1)})),Kt=(0,j.ZP)("tr")((function(e){return{borderBottom:e.theme.palette.text.light+" dotted 1px",":last-child":{borderBottom:"0px"}}})),Qt=(0,j.ZP)("td")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.body1),{color:t.palette.text.light,padding:"1.2rem 0",":first-child":{fontFamily:"Ddin Bold"}})})),Yt=function(e){var t=e.headline,i=e.tagline,n=e.description,a=e.image,o=e.video,s=e.mediaLeft,d=e.specList,u=e.isFirstSection,c=(0,l.useRef)(),v=R({targetRef:c,options:{threshold:0}}),Z=S(),b=Z.breakpoint,j=Z.width,y=null===a||void 0===a?void 0:a.asset.metadata.dimensions.width,k=null===a||void 0===a?void 0:a.asset.metadata.dimensions.height,w=(0,l.useState)(null),P=w[0],C=w[1],$=(0,l.useState)(null),q=$[0],z=$[1];(0,l.useEffect)((function(){b&&b!==P&&(!o||j<m.Z.values.md)&&(C(b),z((0,p.u)(a,j)))}),[b]);return(0,r.jsx)(x.Z,{onScreen:v,children:(0,r.jsxs)(Ht,{ref:c,children:[(0,r.jsx)(Wt,{$mediaLeft:s,children:(0,r.jsxs)(Nt,{$mediaLeft:s,children:[i&&(0,r.jsx)(Jt,{variant:"tagline",children:i}),(0,r.jsx)(T.Z,{variant:h(u),children:t}),(null===n||void 0===n?void 0:n.length)&&(0,r.jsx)(Ut,{children:(0,r.jsx)(g.Z,{blocks:n})}),(0,r.jsx)(_t.Z,{children:(0,r.jsx)(Ot.Z,{"aria-label":n,children:(0,r.jsx)(Mt.Z,{children:null===d||void 0===d?void 0:d.map((function(e,t){return(0,r.jsxs)(Kt,{children:[(0,r.jsx)(Qt,{align:"left",scope:"row",children:e.spec}),(0,r.jsx)(Qt,{align:"right",children:e.value})]},t)}))})})})]})}),(0,r.jsx)(Gt,{$mediaLeft:s,children:j&&v&&(o&&j>m.Z.values.md?(0,r.jsx)(Xt,{children:(0,r.jsx)(f.Z,{playbackId:null===o||void 0===o?void 0:o.asset.playbackId,objectFit:"contain"})}):(0,r.jsx)(Vt,{alt:t,src:q,width:y,height:k}))})]})})};Yt.defaultProps={tagline:"",description:null,video:null,mediaLeft:!1},Yt.propTypes={headline:s().string.isRequired,tagline:s().string,description:s().array,image:s().shape({asset:s().shape({metadata:s().shape({dimensions:s().shape({width:s().number,height:s().number})})})}).isRequired,video:s().shape({asset:s().shape({playbackId:s().string})}),mediaLeft:s().bool,specList:s().array,isFirstSection:s().bool.isRequired};var ei=Yt,ti=(0,j.ZP)("div")({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",maxWidth:"50rem"}),ii=(0,j.ZP)("form")((function(e){var t,i=e.theme;return t={display:"flex",flexDirection:"column",color:"white",padding:"24px 24px",backgroundColor:"#131313",borderRadius:"10px"},(0,b.Z)(t,i.breakpoints.up("sm"),{padding:"48px 24px"}),(0,b.Z)(t,i.breakpoints.up("md"),{padding:"48px 40px"}),(0,b.Z)(t,i.breakpoints.up("lg"),{padding:"48px 40px"}),t})),ni=(0,j.ZP)("label")({position:"absolute",width:"0px",opacity:"0",zIndex:-1,left:0,bottom:0}),ri=(0,j.ZP)("div")({display:"flex",width:"100%",flexDirection:"column",paddingBottom:"2rem",boxSizing:"border-box"}),ai=function(e,t){var i;return i={fontFamily:"Ddin Regular",border:"1.5px solid",padding:"0.5rem 0.7rem 0.5rem 0.7rem",fontSize:"15px",backgroundColor:"#131313",color:e.palette.text.main,borderColor:e.palette.text.light},(0,b.Z)(i,e.breakpoints.up("md"),{fontSize:"17px"}),(0,b.Z)(i,"&:required:invalid",{borderColor:t&&"red"}),(0,b.Z)(i,"&:focus",{"outline-style":"solid","outline-color":e.palette.text.main}),(0,b.Z)(i,"&:-webkit-autofill",{WebkitBoxShadow:"0 0 0 1000px #131313 inset !important",borderColor:e.palette.text.main,borderWidth:"1.5px",color:"white !important","-webkit-text-fill-color":e.palette.text.main,"&:focus":{"box-shadow":"0 0 0 0.2rem rgba(40, 167, 69, 0.25)"}}),i},oi=(0,j.ZP)("textarea")((function(e){var t=e.theme,i=e.$submitted;return(0,c.Z)((0,u.Z)({},ai(t,i)),{minHeight:"5rem"})})),si=(0,j.ZP)("input")((function(e){var t=e.theme,i=e.$submitted;return(0,c.Z)((0,u.Z)({},ai(t,i)),{height:"1.7rem"})})),li=(0,j.ZP)("label")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.h5),{paddingBottom:"4px"})})),di=(0,j.ZP)("button")((function(e){var t=e.theme,i=e.$submitted;return(0,c.Z)((0,u.Z)({},t.typography.h4),{backgroundColor:i?t.palette.bg.contrast:"transparent",color:i?t.palette.text.contrast:t.palette.text.main,textTransform:"initial",width:"10rem",height:"3rem",cursor:i?"initial":"pointer",border:"1px solid white",borderWidth:"1px",transition:".2s","&:hover":{backgroundColor:t.palette.bg.contrast,color:t.palette.text.contrast}})})),ui=function(){var e=(0,l.useState)(!1),t=e[0],i=e[1],n=(0,l.useState)(!1),a=n[0],o=n[1];return(0,r.jsx)(ti,{children:(0,r.jsxs)(ii,{name:"contact",method:"POST",onSubmit:function(e){return function(e){if(e.preventDefault(),i(!0),""===e.currentTarget.elements[0].value){var t={};
1Array.from(e.currentTarget.elements).forEach((function(e){e.value&&(t[e.name]=e.value)})),fetch("api/mail",{method:"POST",body:JSON.stringify(t)})}}(e)},children:[(0,r.jsxs)(ni,{children:["Name: ",(0,r.jsx)("input",{name:"name"})]}),(0,r.jsxs)(ri,{children:[(0,r.jsx)(li,{htmlFor:"fullName",children:"Full Name"}),(0,r.jsx)(si,{type:"text",name:"fullName",id:"fullName",maxLength:25,$submitted:a,required:!0})]}),(0,r.jsxs)(ri,{children:[(0,r.jsx)(li,{htmlFor:"email",children:"Email"}),(0,r.jsx)(si,{type:"email",name:"email",id:"email",pattern:"[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}",$submitted:a,required:!0})]}),(0,r.jsxs)(ri,{children:[(0,r.jsx)(li,{htmlFor:"phone",children:"Phone"}),(0,r.jsx)(si,{type:"number",name:"phone",id:"phone",$submitted:a,required:!0})]}),(0,r.jsxs)(ri,{children:[(0,r.jsx)(li,{htmlFor:"message",children:"Message"}),(0,r.jsx)(oi,{type:"text",name:"message",id:"message",$submitted:a,required:!0})]}),(0,r.jsx)(di,{$submitted:t,type:t?"button":"submit",onClick:function(){return!a&&o(!0)},children:t?"Thanks!":"Submit"})]})})},ci=i(6304),pi=i(8382),hi=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={padding:"32px 20px 0 20px"},(0,b.Z)(t,i.breakpoints.up("md"),(0,u.Z)({},i.spaces.layout)),(0,b.Z)(t,i.breakpoints.up("lg"),{padding:"2rem 4rem 0 4rem"}),(0,b.Z)(t,i.breakpoints.up("xl"),{padding:"2rem 10rem 0 10rem"}),t})),mi=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",marginLeft:"auto",marginRight:"auto",color:"white",gap:"1.5rem"},t.breakpoints.down("sm"),{flexDirection:"column"})})),gi=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={width:"100%",boxSizing:"border-box",paddingTop:"3rem"},(0,b.Z)(t,i.breakpoints.up("sm"),{width:"65%"}),(0,b.Z)(t,i.breakpoints.up("xl"),{width:"80%"}),t})),fi=(0,j.ZP)(T.Z)((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.h3),{textTransform:"initial",lineHeight:"2rem"})})),xi=(0,j.ZP)(T.Z)((function(e){return{paddingTop:"0.7rem",color:e.theme.palette.text.light}})),vi=(0,j.ZP)("div")({padding:"1.5rem 0"}),Zi=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",alignItems:"center",paddingTop:"0.7rem",fontSize:"1rem",letterSpacing:"1px"},t.breakpoints.up("md"),{fontSize:"1.15rem"})})),bi=(0,j.ZP)(ci.Z)({width:"1.8rem",height:"1.8rem",paddingRight:"0.8rem"}),ji=(0,j.ZP)(pi.Z)({width:"1.8rem",height:"1.8rem",paddingRight:"0.8rem"}),yi=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,b.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap",boxSizing:"space-between",padding:"2rem 0 0.5rem 0",gap:"1.5rem",color:t.palette.text.light},t.breakpoints.up("lg"),{flexDirection:"row"})})),ki=(0,j.ZP)("div")({minWidth:"10rem"}),wi=((0,j.ZP)("a")((function(e){return{color:e.theme.palette.text.main,textDecoration:"underline",cursor:"pointer",fontSize:"1.15rem",lineHeight:"1rem"}})),function(e){var t=e.offices,i=e.contactEmail,n=e.phoneNumber,a=e.infoTitle,o=e.infoDescription;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(hi,{children:(0,r.jsxs)(mi,{children:[(0,r.jsxs)(gi,{children:[a&&(0,r.jsx)(fi,{variant:"h2",children:a}),o&&(0,r.jsx)(xi,{variant:"body1",children:o}),t&&(0,r.jsx)(yi,{children:t.map((function(e){return(0,r.jsxs)(ki,{children:[e.city&&(0,r.jsx)(T.Z,{children:e.city}),e.address&&(0,r.jsx)(T.Z,{children:e.address}),e.location&&(0,r.jsx)(T.Z,{children:e.location})]},e._id)}))}),(0,r.jsxs)(vi,{children:[n&&(0,r.jsxs)(Zi,{children:[(0,r.jsx)(bi,{}),"+",n]}),i&&(0,r.jsxs)(Zi,{children:[(0,r.jsx)(ji,{}),i]})]})]}),(0,r.jsx)(ui,{})]})})})});wi.defaultProps={description:null,offices:null,contactEmail:null,phoneNumber:null,infoTitle:null,infoDescription:null},wi.propTypes={offices:s().arrayOf(s().shape({_id:s().string.isRequired,city:s().string,address:s().string,location:s().string})),contactEmail:s().string,phoneNumber:s().string,infoTitle:s().string,infoDescription:s().string};var Pi=wi,Si=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.spaces.layout)})),Ci=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={display:"flex",flexDirection:"column",backgroundColor:i.palette.bg.main,paddingTop:"2.5rem",paddingBottom:"2.5rem",color:i.palette.text.main,textAlign:"center"},(0,b.Z)(t,i.breakpoints.up("sm"),{flexDirection:"row",gap:"1.5rem"}),(0,b.Z)(t,i.breakpoints.up("lg"),{gap:"6rem"}),t})),Ri=(0,j.ZP)("div")({display:"flex",flexDirection:"column",flexBasis:"50%",justifyContent:"center"}),Ti=(0,j.ZP)("div")((function(e){return{color:e.theme.palette.text.main,marginBottom:"1rem",minHeight:"5.1rem"}})),$i=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={width:"90%",margin:"auto",marginTop:"1rem"},(0,b.Z)(t,i.breakpoints.up("sm"),{width:"100%"}),(0,b.Z)(t,"height","100%"),t})),qi=(0,j.ZP)("img")({width:"100%",height:"100%"}),zi=(0,j.ZP)("div")({height:"100%"}),Ai=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.body1),{textAlign:"center"})})),Ii=function(e){var t=e.media,i=e.isFirstSection,n=S(),a=n.breakpoint,o=n.width,s=(0,l.useRef)(),d=R({targetRef
1:s,options:{threshold:0}}),u=(0,l.useState)(null),c=u[0],v=u[1],Z=(0,l.useState)([]),b=Z[0],j=Z[1];(0,l.useEffect)((function(){if(a&&a!==c){v(a);var e=t.map((function(e){return(0,p.u)(e.image,o)}));j(e)}}),[a]);var y=function(e,t){var i;return(null===e||void 0===e?void 0:e.video)&&o>m.Z.values.md?(0,r.jsx)(zi,{children:(0,r.jsx)(f.Z,{playbackId:null===(i=e.video)||void 0===i?void 0:i.asset.playbackId,objectFit:"contain"})}):(0,r.jsx)(qi,{src:b[t]})};return(0,r.jsx)(x.Z,{onScreen:d,children:(0,r.jsx)(Si,{children:(0,r.jsx)(Ci,{ref:s,children:t.map((function(e,t){var n;return(0,r.jsxs)(Ri,{children:[(0,r.jsxs)(Ti,{children:[(0,r.jsx)(T.Z,{variant:h(i),children:e.headline}),(null===(n=e.description)||void 0===n?void 0:n.length)&&(0,r.jsx)(Ai,{children:(0,r.jsx)(g.Z,{blocks:e.description})})]}),(0,r.jsx)($i,{children:o&&d&&y(e,t)})]},t)}))})})})};Ii.propTypes={media:s().arrayOf(s().shape({headline:s().string.isRequired,description:s().arrayOf(s().shape({})),image:s().shape({}).isRequired,video:s().shape({asset:s().shape({playbackId:s().string.isRequired}).isRequired})}).isRequired).isRequired,isFirstSection:s().bool.isRequired};var Fi=Ii,Li=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,u.Z)({},t.spaces.layout)})),Bi=(0,j.ZP)("div")((function(e){var t,i=e.theme;return t={display:"flex",flexDirection:"column",backgroundColor:i.palette.bg.main,paddingTop:"2.5rem",paddingBottom:"2.5rem"},(0,b.Z)(t,i.breakpoints.up("sm"),{flexDirection:"row",alignItems:"center",gap:"1.5rem"}),(0,b.Z)(t,i.breakpoints.up("lg"),{gap:"6rem"}),t})),Di=(0,j.ZP)("div")((function(e){var t=e.$mediaLeft,i=e.theme;return(0,b.Z)({left:"1rem",color:i.palette.text.main,order:2,marginTop:"1.5rem",textAlign:"center"},i.breakpoints.up("sm"),{width:"60%",order:t?2:1,marginTop:0,textAlign:"left"})})),Ei=(0,j.ZP)("div")((function(e){var t=e.$mediaLeft,i=e.theme;return(0,b.Z)({width:"100%",textAlign:"center",order:1},i.breakpoints.up("sm"),{width:"50%",order:t?1:2})})),_i=(0,j.ZP)("img")((function(e){var t=e.theme;return(0,b.Z)({width:"50%",height:"auto"},t.breakpoints.up("sm"),{width:"100%"})})),Oi=(0,j.ZP)("div")({overflowX:"hidden"}),Mi=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.body1),{color:t.palette.text.light,marginTop:"1.25rem",p:{margin:0,strong:{color:t.palette.text.main}}})})),Hi=function(e){var t=e.headline,i=e.description,n=e.image,a=e.video,o=e.mediaLeft,s=S(),d=s.breakpoint,u=s.width,c=(0,l.useRef)(),h=R({targetRef:c,options:{threshold:0}}),v=(0,l.useState)(null),Z=v[0],b=v[1],j=(0,l.useState)(null),y=j[0],k=j[1],w=null===n||void 0===n?void 0:n.asset.metadata.dimensions.width,P=null===n||void 0===n?void 0:n.asset.metadata.dimensions.height;(0,l.useEffect)((function(){d&&d!==Z&&(b(d),k((0,p.u)(n,u)))}),[d]);return(0,r.jsx)(x.Z,{onScreen:h,children:(0,r.jsx)(Li,{children:(0,r.jsxs)(Bi,{ref:c,children:[(0,r.jsxs)(Di,{$mediaLeft:o,children:[(0,r.jsx)(T.Z,{variant:"h3",children:t}),(null===i||void 0===i?void 0:i.length)&&(0,r.jsx)(Mi,{children:(0,r.jsx)(g.Z,{blocks:i})})]}),(0,r.jsx)(Ei,{$mediaLeft:o,children:u&&h&&(a&&u>m.Z.values.md?(0,r.jsx)(Oi,{children:(0,r.jsx)(f.Z,{playbackId:null===a||void 0===a?void 0:a.asset.playbackId})}):(0,r.jsx)(_i,{alt:t,src:y,width:w,height:P}))})]})})})};Hi.defaultProps={tagline:"",description:null,video:null,mediaLeft:!1,ctas:null},Hi.propTypes={headline:s().string.isRequired,description:s().array,image:s().shape({asset:s().shape({metadata:s().shape({dimensions:s().shape({width:s().number,height:s().number})})})}).isRequired,video:s().shape({asset:s().shape({playbackId:s().string})}),mediaLeft:s().bool};var Wi=Hi,Ni=(0,j.ZP)("div")((function(e){var t,i=e.$size;return(0,u.Z)({maxWidth:"100vw",position:"relative"},(t=i,{large:(0,b.Z)({height:"7.5rem"},"@media (min-width:".concat(m.Z.values.lg,"px)"),{height:"12.5rem"}),medium:(0,b.Z)({height:"3.75rem"},"@media (min-width:".concat(m.Z.values.lg,"px)"),{height:"6.25rem"}),small:(0,b.Z)({height:"1.875rem"},"@media (min-width:".concat(m.Z.values.lg,"px)"),{height:"3.125rem"})}[t]))})),Gi=function(e){var t=e.size;return(0,r.jsx)(Ni,{$size:t})};Gi.propTypes={size:s().string.isRequired};var Vi=Gi,Xi=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.spaces.layout),{margin:"1.5rem 0"})})),Ji=(0,j.ZP)("div")((function(e){var t=e.$featuresLength,i=e.theme;return(0,b.Z)({display:"grid",gridTemplateColumns:4===t?"repeat(2, 1fr)":"repeat(".concat(t,", 1fr)"),gridTemplateRows:"1fr",columnGap:"1rem"},i.breakpoints.up("md"),{gridTemplateColumns:"repeat(".concat(t,", 1fr)")})})),Ui=(0,j.ZP)("div")({}),Ki=(0,j.ZP)(T.Z)((function(e){return{color:e.theme.palette.text.main,lineHeight:"24px",minHeight:"48px",margin:"15px 0",overflow:"hidden",WebkitLineClamp:2,display:"-webkit-box",WebkitBoxOrient:"vertical"}})),Qi=(0,j.ZP)("div")((function(e){var t=e.theme;return(0,c.Z)((0,u.Z)({},t.typography.body1),{color:t.palette.text.main})})),Yi=function(e){var t=e.items;return(0,r.jsx)(x.Z,{children:(0,r.jsx)(Xi,{children:(0,r.jsx)(Ji,{$featuresLength:t.length,children:t.map((function(e,t){var i;return(0,r.jsxs)(Ui,{children:[(0,r.jsx)(Ki,{variant:"h2small",children:e.headline}),(null===(i=e.description)||void 0===i?void 0:i.length)&&(0,r.jsx)(Qi,{children:(0,r.jsx)(g.Z,{blocks:e.description})})]},t)}))})})})};Yi.defaultProps={description:null},Yi.propTypes={items:s().arrayOf(s().shape({headline:s().string.isRequired,description:s().arrayOf(s().shape({}))}).isRequired).isRequired};var en=Yi;var tn=function(e){var t=e.sections,i=0;return t?(0,r.jsx)(l.Fragment,{children:t.map((function(e,t){if(e.disabled)return i=t+1,null;var a=function(e){var t;return n[(t=e._type,"string"===typeof t&&t?t.charAt(0).toUpperCase()+t.slice(1):t)]||(console.error("Cant find section",e),null)}(e);return a?(0,l.createElement)(a,(0,c.Z)((0,u.Z)({},e),{key:e._key,isFirstSection:i===t})):(0,r.jsxs)("div",{children:["Missing section ",e._type]})}))}):(console.error("Missing section"),(0,r.jsx)("div",{children:"Missing sections"}))};tn.propTypes={sections:s().arrayOf(s().shape({_type:s().string,_key:s().string,
1section:s().instanceOf(s().object)}))};var nn=tn,rn=function(e){var t=e.title,i=e.description,n=e.disallowRobots,o=e.openGraphImage,s=e.content,l=e.config,u=e.slug,c=o?[{url:(0,p.u)(o,800,600),width:800,height:600,alt:t},{url:(0,p.u)(o,1200,630),width:1200,height:630,alt:t},{url:(0,p.u)(o,600,600),width:600,height:600,alt:t}]:[];return(0,r.jsxs)(d.Z,{config:l,children:[(0,r.jsx)(a.PB,{title:t,titleTemplate:"".concat(null===l||void 0===l?void 0:l.title," | %s"),description:i,canonical:(null===l||void 0===l?void 0:l.url)&&"".concat(null===l||void 0===l?void 0:l.url,"/").concat(u),openGraph:{images:c},noindex:n}),s&&(0,r.jsx)(nn,{sections:s})]})};rn.propTypes={title:s().string,description:s().string,slug:s().string,disallowRobots:s().bool,openGraphImage:s().any,content:s().any,config:s().any};var an=!0,on=rn}},function(e){e.O(0,[27,67,373,160,774,888,179],(function(){return t=9805,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.