"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[753],{84517:function(n,e,t){var i,o,r,u=t(7297),c=t(186),a=t(20909);function d(){var n=(0,u.Z)(["\n  display: inline-flex;\n  white-space: nowrap;\n\n  padding: 10px 20px;\n  border-radius: 33px;\n\n  background: ",";\n\n  &:is(a, button) {\n    :hover {\n      background: ",";\n\n      ","\n    }\n    transition: background-color 0.3s ease;\n  }\n"]);return d=function(){return n},n}var s=c.ZP.span.withConfig({componentId:"sc-cc708614-0"})(d(),(function(n){var e=n.backgroundColor;return e?a.O9[e]:a.O9.codGray}),(function(n){var e=n.hoverBackground;return e?null!==(i=a.O9[e])&&void 0!==i?i:e:a.O9.codGrayHover}),(function(n){var e=n.hoverTextColor;return e&&"\n          color: ".concat(null!==(o=a.O9[e])&&void 0!==o?o:e," !important;\n          span {\n            color: ").concat(null!==(r=a.O9[e])&&void 0!==r?r:e," !important;\n          }\n        ")}));e.Z=s},3339:function(n,e,t){t.d(e,{Z:function(){return m}});var i=t(26042),o=t(69396),r=t(99534),u=t(85893),c=(t(67294),t(44169)),a=t(7297),d=t(186),s=t(20909);function l(){var n=(0,a.Z)([""]);return l=function(){return n},n}function f(){var n=(0,a.Z)(["\n  & > * {\n    ",'; // bugging while rendering, "important" fix it\n  }\n']);return f=function(){return n},n}var v,h=d.ZP.div.withConfig({componentId:"sc-cc9a0796-0"})(l()),p=d.ZP.div.withConfig({componentId:"sc-cc9a0796-1"})(f(),(function(n){var e=n.textColor;return e&&"color: ".concat(null!==(v=s.O9[e])&&void 0!==v?v:e," !important")})),g=function(n){var e=n.text,t=n.size,a=n.color,d=(0,r.Z)(n,["text","size","color"]);return(0,u.jsx)(h,(0,o.Z)((0,i.Z)({},d),{children:(0,u.jsx)(p,{textColor:a,children:(0,u.jsx)(c.Z,{as:"h2",size:t,richText:e,defaultFormatting:!0})})}))};g.defaultProps={text:"",size:"heading1"};var m=g},72825:function(n,e,t){t.d(e,{Z:function(){return In}});var i=t(26042),o=t(69396),r=t(99534),u=t(85893),c=t(11163),a=t(67294),d=t(5678),s=t(828),l=t(65820),f=t(97650),v=t(1619),h={x:{type:"spring",stiffness:300,damping:50},opacity:{duration:.2}},p={enter:function(n){return{x:n>0?500:-500,opacity:0,transition:(0,i.Z)({},h)}},center:{zIndex:1,x:0,opacity:1,transition:(0,i.Z)({},h)},exit:function(n){return{zIndex:0,x:n<0?1e3:-1e3,opacity:0,transition:(0,i.Z)({},h)}}},g=t(7297),m=t(72494),x=t(186),Z=t(13681),w=t(20909);function y(){var n=(0,g.Z)(["\n  height: ",";\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  background: url(",") no-repeat center\n    center / cover;\n  object-fit: cover;\n  cursor: grab;\n\n  ","\n"]);return y=function(){return n},n}function j(){var n=(0,g.Z)(["\n  position: absolute;\n  width: 100%;\n  height: 100%;\n"]);return j=function(){return n},n}function b(){var n=(0,g.Z)(["\n  width: 100%;\n  height: 100%;\n  overflow: hidden;\n  position: relative;\n"]);return b=function(){return n},n}function C(){var n=(0,g.Z)(["\n  object-fit: cover;\n  pointer-events: none;\n  width: 100%;\n  height: 100%;\n"]);return C=function(){return n},n}function I(){var n=(0,g.Z)(["\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  margin: 0 auto;\n  display: flex;\n  justify-content: center;\n  padding: 26px 0;\n  z-index: 1;\n"]);return I=function(){return n},n}function P(){var n=(0,g.Z)(["\n  height: 8px;\n  width: 8px;\n  background-color: ",";\n  opacity: ",";\n  border-radius: 50%;\n  display: inline-block;\n  margin: 0 5px;\n  z-index: 10;\n"]);return P=function(){return n},n}function k(){var n=(0,g.Z)(["\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  top: 0;\n  left: 0;\n  display: flex;\n  align-items: flex-end;\n"]);return k=function(){return n},n}function S(){var n=(0,g.Z)(["\n  height: 60px;\n  width: 60px;\n  position: sticky;\n  bottom: 62px;\n  left: 0;\n  margin: 0 0 10px 10px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  z-index: ",";\n\n  ","\n"]);return S=function(){return n},n}var T,z=(0,x.ZP)(m.E.div).withConfig({componentId:"sc-b79d60e4-0"})(y(),(function(n){var e=n.$innerHeight;return e&&"".concat(e,"px")}),(function(n){return n.$nextImage||""}),(0,Z.uo)("\n    max-height: unset;\n    height: 100vh;\n  ")),E=(0,x.ZP)(m.E.div).withConfig({componentId:"sc-b79d60e4-1"})(j()),F=x.ZP.div.withConfig({componentId:"sc-b79d60e4-2"})(b()),R=(0,x.ZP)(m.E.img).withConfig({componentId:"sc-b79d60e4-3"})(C()),M=x.ZP.div.withConfig({componentId:"sc-b79d60e4-4"})(I()),O=x.ZP.span.withConfig({componentId:"sc-b79d60e4-5"})(P(),(function(n){return n.theme.colors.white}),(function(n){return n.isActive?1:.2})),B=x.ZP.div.withConfig({componentId:"sc-b79d60e4-6"})(k()),q=x.ZP.div.withConfig({componentId:"sc-b79d60e4-7"})(S(),w.ZP.layout.zIndex.overlay,(0,Z.uo)("\n    bottom: 0;\n  ")),D=function(n){var e,t,c,d=n.media,h=n.autoplay,g=void 0===h||h,m=n.manualPlay,x=void 0===m||m,Z=n.autoplaySpeed,w=void 0===Z?5e3:Z,y=(0,r.Z)(n,["media","autoplay","manualPlay","autoplaySpeed"]),j=(0,a.useRef)(),b=(0,a.useState)(0),C=b[0],I=b[1],P=(0,a.useState)(0),k=P[0],S=P[1],T=(0,a.useState)(!1),D=T[0],H=T[1],_=(0,a.useState)(g),U=_[0],A=_[1],L=(0,a.useState)([0,0]),G=(0,s.Z)(L[0],2),V=G[0],$=G[1],W=L[1],N=(0,f.YD)(),Y=N.ref,X=N.inView,J=function(n,e,t){var i=e-n;return((t-n)%i+i)%i+n}(0,d.length,V),K=J===d.length-1?0:J+1,Q=0===J?d.length-1:J-1,nn=function(n){W((function(e){return[e[0]+n,n]}))},en=(0,a.useCallback)((function(n,e){var t=e.offset;return H(t.x<0)}),[]),tn=function(){nn(1)};return(0,a.useEffect)((function(){return S(window.innerHeight),U&&X?j.current=setInterval(tn,w):clearInterval(j.current),function(){return clearInterval(j.current)}}),[U,w,X]),(0,a.useEffect)((function(){U&&X&&C<w/1e3?setTimeout((function(){return I(C+1)}),1e3):I(0)}),[U,C]),(0,u.jsxs)(z,(0,o.Z)((0,i.Z)({ref:Y,$nextImage:null===(e=d[D?K:Q])||void 0===e?void 0:e.url,$innerHeight:k},y),{children:[(0,u.jsx)(F,{children:(0,u.jsx)(l.M,{initial:!1,custom:$,children:(0,u.jsx)(E,{custom:$,initial:"enter",animate:"center",variants:p,exit:"exit",drag:"x",dragConstraints:{left:0,right:0},onDrag:en,onDragEnd:function(n,e){var t=e.offset;t.y>-100&&t.y<100?(t.x<0?nn(1):nn(-1),H(t.x>=0)):nn(0)},children:(0,u.jsx)(R,{src:(null===(t=d[J])||void 0===t?void 0:t.url)||"",alt:(null===(c=d[J])||void 0===c?void 0:c.alternativeText)||""})},V)})}),(0,u.jsx)(B,{children:x&&(0,u.jsx)(q,{children:(0,u.jsx)(v.Z,{timer:w,isPause:!U,onPlay:function(){return setTimeout((function(){return A(!0)}),500)},onPause:function(){return setTimeout((function(){return A(!1)}),1e3)},size:.35})})}),(0,u.jsx)(B,{children:(0,u.jsx)(M,{children:d.map((function(n,e){return(0,u.jsx)(O,{isActive:J===e},"".concat(n.alternativeText,"-").concat(e))}))})})]}))},H=t(58768),_=t(82624);function U(){var n=(0,g.Z)(["\n      &:hover {\n        background-color: ",";\n      }\n    "]);return U=function(){return n},n}function A(){var n=(0,g.Z)(["\n  width: 90px;\n  height: 90px;\n  text-align: center;\n\n  display: block;\n\n  border-radius: 50%;\n\n  background-color: ",";\n  user-select: none;\n\n  transition: background-color 0.4s linear;\n  ","\n"]);return A=function(){return n},n}var L=x.ZP.button.withConfig({componentId:"sc-6063a460-0"})(A(),w.O9.black+"33",(function(n){var e=n.hoverBackgroundColor;return e&&(0,x.iv)(U(),null!==(T=w.O9[e])&&void 0!==T?T:e)})),G=function(n){var e=n.label,t=(0,r.Z)(n,["label"]),c=(0,_.useCopyStore)((function(n){return n.copy})).globalSettings,a=(null===c||void 0===c?void 0:c.buttonsHoverColor)||(null===c||void 0===c?void 0:c.buttonsHoverDefaultColors);return(0,u.jsx)(L,(0,o.Z)((0,i.Z)({hoverBackgroundColor:a},t),{children:(0,u.jsx)(H.Z,{as:"span",text:e,size:"smallBody"})}))},V=t(72504),$=t(51841),W=t(5290),N=t(56838),Y=t(68139),X=t(63605),J=t(3339),K=t(99994),Q=t(48788);function nn(){var n=(0,g.Z)(["\n      margin-bottom: 92px;\n  "]);return nn=function(){return n},n}function en(){var n=(0,g.Z)(["\n  height: 100%;\n  position: relative;\n\n  margin-bottom: 46px;\n\n  ","\n"]);return en=function(){return n},n}function tn(){var n=(0,g.Z)(["\n  width: 100%;\n  height: 100%;\n  inset: 0;\n"]);return tn=function(){return n},n}function on(){var n=(0,g.Z)(["\n  position: fixed;\n  ","\n"]);return on=function(){return n},n}function rn(){var n=(0,g.Z)(["\n  position: absolute !important;\n  ","\n\n  display: grid;\n  height: ",";\n  aspect-ratio: 16/9;\n  inset: 0;\n  cursor: pointer;\n\n  @media screen and (orientation: landscape) {\n    height: ",";\n  }\n"]);return rn=function(){return n},n}function un(){var n=(0,g.Z)(["\n  position: fixed;\n  ","\n"]);return un=function(){return n},n}function cn(){var n=(0,g.Z)(["\n  position: fixed;\n  ","\n"]);return cn=function(){return n},n}function an(){var n=(0,g.Z)(["\n  width: 100vw;\n"]);return an=function(){return n},n}function dn(){var n=(0,g.Z)(["\n  white-space: nowrap;\n  padding: 20px;\n"]);return dn=function(){return n},n}function sn(){var n=(0,g.Z)(["\n  pointer-events: none;\n"]);return sn=function(){return n},n}function ln(){var n=(0,g.Z)(["\n  width: 0;\n  height: 0;\n"]);return ln=function(){return n},n}function fn(){var n=(0,g.Z)(["\n  position: absolute;\n  inset: 0;\n  margin: auto;\n"]);return fn=function(){return n},n}function vn(){var n=(0,g.Z)(["\n  width: 100%;\n  height: 100%;\n\n  display: flex;\n  justify-content: center;\n  align-items: center;\n"]);return vn=function(){return n},n}var hn=x.ZP.section.withConfig({componentId:"sc-990d76f8-0"})(en(),(0,Z.uo)(nn())),pn=(0,x.iv)(tn()),gn=x.ZP.div.withConfig({componentId:"sc-990d76f8-1"})(on(),pn),mn=x.ZP.div.withConfig({componentId:"sc-990d76f8-2"})(rn(),pn,(function(n){return n.isFullScreen?"90%":"auto"}),(function(n){return n.isFullScreen?"80%":"auto"})),xn=(0,x.ZP)(Q.Z).withConfig({componentId:"sc-990d76f8-3"})(un(),pn),Zn=(0,x.ZP)(X.Z).withConfig({componentId:"sc-990d76f8-4"})(cn(),pn),wn=(0,x.ZP)(K.Z).withConfig({componentId:"sc-990d76f8-5"})(an()),yn=(0,x.ZP)(J.Z).withConfig({componentId:"sc-990d76f8-6"})(dn()),jn=(0,x.ZP)(Q.Z).withConfig({componentId:"sc-990d76f8-7"})(sn()),bn=x.ZP.video.withConfig({componentId:"sc-990d76f8-8"})(ln()),Cn=((0,x.ZP)(G).withConfig({componentId:"sc-990d76f8-9"})(fn()),x.ZP.div.withConfig({componentId:"sc-990d76f8-10"})(vn())),In=function(n){var e,t=n.media,s=n.mediaType,l=n.shortVideo,f=n.videoErrorMessage,v=n.videoType,h=n.id,p=n.bottomHeading,g=n.cursorLabelPlay,m=void 0===g?"Play":g,x=n.cursorLabelClose,Z=void 0===x?"Close":x,w=(0,r.Z)(n,["media","mediaType","shortVideo","videoErrorMessage","videoType","id","bottomHeading","cursorLabelPlay","cursorLabelClose"]),y=(0,a.useState)(!1),j=y[0],b=y[1],C=(0,a.useState)((0,u.jsx)(u.Fragment,{})),I=C[0],P=C[1],k=(0,a.useRef)(),S=(0,V.ZP)(),T=(0,c.useRouter)();(0,d.qR)((function(){return b(!0)}));var z=function(){(0,W.WR)(),(0,W.iG)(Z)},E=function(n){(0,$.tq)()&&"self_hosted"===(null===v||void 0===v?void 0:v.source)?function(){var n=k.current;n.requestFullscreen?n.requestFullscreen().then():n.webkitRequestFullscreen?n.webkitRequestFullscreen().then():n.mozRequestFullScreen&&n.mozRequestFullScreen().then(),n.play().then()}():(P(n),z())},F=(0,u.jsxs)(gn,{children:[(0,u.jsx)(xn,{id:h,media:t[0],videoSource:null===v||void 0===v?void 0:v.source,videoSourceId:null===v||void 0===v?void 0:v.sourceId,azureUserId:null===v||void 0===v?void 0:v.azureUserId,videoErrorMessage:f,autoplay:!0,mute:(0,$.gn)(),disableCursor:T.pathname===Y.Z.ABOUT,disableInView:!0,withSound:(0,$.gn)()}),(0,u.jsx)(mn,{onClick:function(){return P((0,u.jsx)(u.Fragment,{}))},onMouseEnter:z,onMouseLeave:function(){return(0,N.i)()},isFullScreen:!0})]}),R=(0,u.jsx)(Zn,{mediaType:"image",media:t[0]}),M=(0,u.jsxs)(u.Fragment,{children:[(0,$.tq)()&&"self_hosted"===(null===v||void 0===v?void 0:v.source)&&(0,u.jsx)(bn,{src:null===(e=t[0])||void 0===e?void 0:e.url,ref:k}),(0,u.jsx)(jn,{id:h,media:l,videoSource:null===v||void 0===v?void 0:v.source,videoErrorMessage:f,videoSourceId:null===v||void 0===v?void 0:v.sourceId,azureUserId:null===v||void 0===v?void 0:v.azureUserId,vimeoBackground:null===v||void 0===v?void 0:v.vimeoBackground,mute:null===v||void 0===v?void 0:v.mute,autoplay:null===v||void 0===v?void 0:v.autoplay,manualPlay:null===v||void 0===v?void 0:v.manualPlay,azurePlaceholder:null===v||void 0===v?void 0:v.azurePlaceholder,disableCursor:T.pathname===Y.Z.ABOUT,threshold:T.pathname===Y.Z.CASE_STUDY&&280}),(0,u.jsx)(mn,{onClick:function(){return E(F)},onMouseEnter:function(){(0,W.WR)(),(0,W.iG)(m)},onMouseLeave:function(){return(0,N.i)()},children:T.pathname===Y.Z.ABOUT&&(0,u.jsx)(Cn,{children:(0,u.jsx)(G,{label:"Play"})})})]});return(0,u.jsxs)(hn,(0,o.Z)((0,i.Z)({},w),{children:[function(){switch(s){case"image":return R;case"video":return M;case"slider":return(0,u.jsx)(D,{media:t});default:return null}}(),j&&S(I),p&&(0,u.jsx)(wn,{children:(0,u.jsx)(yn,{text:p,size:"display"})})]}))}},99994:function(n,e,t){t.d(e,{Z:function(){return S}});var i=t(26042),o=t(69396),r=t(99534),u=t(85893),c=t(18522),a=t(1673),d=t(98913),s=t.n(d),l=t(73955),f=t.n(l),v=t(67294),h=t(7297),p=t(72494),g=t(186);function m(){var n=(0,h.Z)(["\n  display: inline-flex;\n\n  width: 100%;\n"]);return m=function(){return n},n}function x(){var n=(0,h.Z)(["\n  display: inline-flex;\n"]);return x=function(){return n},n}function Z(){var n=(0,h.Z)(["\n  display: inline-flex;\n"]);return Z=function(){return n},n}function w(){var n=(0,h.Z)(["\n  width: 100%;\n"]);return w=function(){return n},n}function y(){var n=(0,h.Z)([""]);return y=function(){return n},n}var j=g.ZP.div.withConfig({componentId:"sc-30de30ed-0"})(m()),b=(0,g.ZP)(p.E.div).withConfig({componentId:"sc-30de30ed-1"})(x()),C=g.ZP.div.withConfig({componentId:"sc-30de30ed-2"})(Z()),I=g.ZP.div.withConfig({componentId:"sc-30de30ed-3"})(w()),P=g.ZP.div.withConfig({componentId:"sc-30de30ed-4"})(y()),k=function(n){var e=n.children,t=n.duration,d=(0,r.Z)(n,["children","duration"]),l=(0,v.useState)(!1),h=l[0],p=l[1],g=(0,v.useRef)(null),m=(0,v.useRef)(null),x=(0,v.useState)(1),Z=x[0],w=x[1];return(0,v.useEffect)((function(){m.current.getBoundingClientRect().width>0?w((function(n){return n+1})):p(!0)}),[Z]),(0,u.jsxs)(j,(0,o.Z)((0,i.Z)({ref:g},d),{children:[(0,u.jsx)(c.X,{features:a.H,children:(0,u.jsxs)(b,{transition:{repeat:1/0,duration:t,ease:"linear"},animate:{x:"-50%"},children:[(0,u.jsx)(C,{children:s()(Z,(function(){return(0,u.jsx)(P,{children:e},f()())}))}),h&&(0,u.jsx)(C,{children:s()(Z,(function(){return(0,u.jsx)(P,{children:e},f()())}))})]})},f()()),!h&&(0,u.jsx)(I,{ref:m})]}))};k.defaultProps={duration:20};var S=k},55905:function(n,e,t){var i=t(85893),o=t(9008),r=t.n(o),u=t(11163),c=t(67294);e.Z=function(n){var e=n.seo,t=(0,c.useState)(!1),o=t[0],a=t[1],d=(0,u.useRouter)();(0,c.useEffect)((function(){a(!0)}),[]);var s=(0,c.useMemo)((function(){return o&&(window.location.href.endsWith("/")?window.location.href.slice(0,window.location.href.length-1):window.location.href)||""}),[o,null===d||void 0===d?void 0:d.asPath]),l=(0,c.useMemo)((function(){return o&&window.location.href||""}),[o,null===d||void 0===d?void 0:d.asPath]),f=(0,c.useMemo)((function(){return o&&window.location.host||""}),[o,null===d||void 0===d?void 0:d.asPath]);return(0,i.jsx)(i.Fragment,{children:e&&(0,i.jsxs)(r(),{children:[(null===e||void 0===e?void 0:e.title)&&(0,i.jsx)("title",{children:e.title}),(null===e||void 0===e?void 0:e.description)&&(0,i.jsx)("meta",{name:"description",content:e.description}),(null===e||void 0===e?void 0:e.title)&&(0,i.jsx)("meta",{property:"og:type",content:e.ogType}),(null===e||void 0===e?void 0:e.ogTitle)&&(0,i.jsx)("meta",{property:"og:title",content:e.ogTitle}),(null===e||void 0===e?void 0:e.ogDescription)&&(0,i.jsx)("meta",{property:"og:description",content:e.ogDescription}),(null===e||void 0===e?void 0:e.ogImage)&&(0,i.jsx)("meta",{property:"og:image",content:e.ogImage.url}),(0,i.jsx)("meta",{property:"og:url",content:l}),(0,i.jsx)("link",{rel:"canonical",href:s}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{property:"twitter:domain",content:f}),(0,i.jsx)("meta",{property:"twitter:url",content:l}),(null===e||void 0===e?void 0:e.ogTitle)&&(0,i.jsx)("meta",{name:"twitter:title",content:e.ogTitle}),(null===e||void 0===e?void 0:e.ogDescription)&&(0,i.jsx)("meta",{name:"twitter:description",content:e.ogDescription}),(null===e||void 0===e?void 0:e.ogImage)&&(0,i.jsx)("meta",{name:"twitter:image",content:e.ogImage.url})]})})}},87153:function(n,e,t){t.d(e,{Z5:function(){return o},lI:function(){return i}});var i={veryFast:.2,fast:.3,medium:.6,slow:.8,verySlow:1.2},o={default:[.53,.22,.31,1],pageTransition:[.25,.1,.25,1]};i.veryFast,o.default,i.fast,o.default,i.medium,o.default,i.medium,i.veryFast,o.pageTransition,i.slow,o.default,i.verySlow,o.default}}]);
//# sourceMappingURL=753-075ee9894abd4bc3.js.map