"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2258],{31164:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(85893),o=n(11942);function l(e){var t=e.text,n=e.className,l=e.color,c=e.size,r=e.fallbackSize;return t?(0,i.jsx)("pre",{className:(0,o.AK)("transition-all duration-300",(0,o.e0)(c,r),n),style:{color:l},children:t}):null}},15972:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(85893),o=n(11942);function l(e){var t=e.text,n=e.className,l=e.color,c=e.size,r=e.fallbackSize,a=e.isSeoHeadline;if(!t)return null;var d=a?"h1":"h2";return(0,i.jsx)(d,{className:(0,o.AK)("break-word transition-all duration-300",(0,o.Ae)(c,r),n),style:{color:l},children:t})}},14910:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(85893),o=n(11942);function l(e){var t=e.text,n=e.className,l=e.color,c=e.style;if(!t)return null;return(0,i.jsx)("p",{className:(0,o.AK)("w-max max-w-full body-small !font-semibold",n,"badge"===c?"px-3 py-1 rounded-full":""),style:function(){var e={color:l};return"badge"===c&&(e.backgroundColor=(0,o.mR)(l,10)),e}(),children:t})}},60546:function(e,t,n){n.d(t,{OC:function(){return d}});var i=n(85893),o=n(67294),l=n(62246),c=n(4433),r=[{id:"slantLeft",getPath:function(e,t){return"M".concat(e," 0L-0 ").concat(t)}},{id:"slantRight",getPath:function(e,t){return"M0 0L".concat(e," ").concat(t)}},{id:"pointUp",getPath:function(e,t){return"M0 0".concat(t,"L").concat(e/2," 0L").concat(e," ").concat(t,"L").concat(1.5*e," 0V0")}},{id:"pointDown",getPath:function(e,t){return"M0 0L".concat(e/2," ").concat(t,"L").concat(e," 0")}},{id:"curveUp",getPath:function(e,t){return"M0 0 C".concat(e/2," ").concat(t," ").concat(e-e/2," ").concat(t," ").concat(e," 0")}},{id:"curveDown",getPath:function(e,t){return"M0 ".concat(t," C").concat(e/2," 0 ").concat(e-e/2," 0 ").concat(e," ").concat(t)}},{id:"waveLeft",getPath:function(e,t){return"M0 0C0 0 ".concat(.2023*e," ").concat(t," ").concat(.3333*e," ").concat(t,"C").concat(.4681*e," ").concat(t," ").concat(.5318*e," 0 ").concat(.6667*e," 0C").concat(.8015*e," 0 ").concat(e," ").concat(t," ").concat(e," ").concat(t)}},{id:"waveRight",getPath:function(e,t){return"M".concat(e," 0C").concat(e," 0 ").concat(.8*e," ").concat(t," ").concat(.666*e," ").concat(t,"C").concat(.547*e," ").concat(t," ").concat(.483*e," 0 ").concat(.333*e," 0C").concat(.184*e," 0 -0.00012207 ").concat(t," -0.00012207 ").concat(t)}},{id:"jaggedLeft",getPath:function(e,t){return"M0 0L".concat(e/3," ").concat(t,"L").concat(e/1.5," 0L").concat(e," ").concat(t)}},{id:"jaggedRight",getPath:function(e,t){return"M".concat(e," 0L").concat(e/1.5," ").concat(t,"L").concat(e/3," 0L0 ").concat(t)}},{id:"swoopLeft",getPath:function(e,t){return"M0 ".concat(t,"C").concat(e," 0 ").concat(2*e," 0 ").concat(2*e," 0")}},{id:"swoopRight",getPath:function(e,t){return"M".concat(e," ").concat(t,"C").concat(e/2," 0 0 0 0 0")}},{id:"none",getPath:function(e,t){return"M0 ".concat(t,"H").concat(e)}}],a=function(e){var t=e.width,n=e.shape,o=e.strokeWidth,l=e.strokeColor,a=e.strokeType,d=r.find((function(e){return e.id===(null!==n&&void 0!==n?n:"none")})),s=Math.floor(t),u="none"===d.id?Math.floor(o):Math.floor(s/c.c8),v=d.getPath(s,u);return(0,i.jsx)("svg",{className:"absolute bottom-0 left-0 z-50 overflow-visible",fill:"transparent",width:s,height:u,viewBox:"0 0 ".concat(s," ").concat(u),children:(0,i.jsx)("path",{d:v,stroke:l,strokeWidth:o,strokeDasharray:"dashed"===a?"40 20":void 0})})},d=function(e){var t=e.contentRef,n=e.border,c=e.sectionDivider,r=n||{},d=r.type,s=r.width,u=r.color,v=(0,o.useState)(0),f=v[0],h=v[1],g=(0,o.useCallback)((function(){var e;h(null!==(e=t.current.offsetWidth)&&void 0!==e?e:0)}),[t]);return(0,l.Z)(g,n?t:null),n?(0,i.jsx)(a,{width:f,shape:c,strokeType:d,strokeWidth:s,strokeColor:u}):null}},9746:function(e,t,n){n.d(t,{f:function(){return s}});var i=n(14251),o=n(52875),l=n(85893),c=n(11942),r=n(4433),a=n(67294),d=n(60546),s=(0,a.forwardRef)((function(e,t){var n=e.children,a=e.block,s=e.textColor,u=e.headerHeight,v=e.stickyHeaderOffsetStyle,f=e.id,h=e.noPadding,g=e.minHeight,x=e.border,m=e.divider,b=e.noVerticalAlign,w=1===(null===a||void 0===a?void 0:a.idx)&&(null===a||void 0===a?void 0:a.combineWithHeader);return(0,l.jsxs)("section",{className:"relative",children:[(0,l.jsx)("div",{ref:t,id:f,"data-text-color":s,className:(0,c.AK)("flex relative break-word",h||b?"":(0,c.A2)(null===a||void 0===a?void 0:a.verticalAlign)),style:(0,o.Z)((0,i.Z)({},(null===a||void 0===a?void 0:a.combineWithHeader)?{marginTop:"-".concat(u,"px"),paddingTop:h?"":"".concat(u,"px")}:{},(0,r.$h)(a),v),{minHeight:g}),"data-combine-with-header":w,children:n}),x&&(0,l.jsx)(d.OC,{contentRef:t,border:x,sectionDivider:m})]})}))},82258:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var i=n(85893),o=n(67294),l=n(11942),c=n(25675),r=n.n(c),a=n(399),d=n(52077),s=n(21123),u=n(41370),v=n(4433),f=n(9746),h=n(14910),g=n(15972),x=n(31164);function m(e){var t,n,c,m,b,w=e.id,p=e.block,j=e.website,y=e.previousBlock,k=e.isSeoHeadline,C=e.stickyHeaderOffsetStyle,H=(0,o.useState)({top:0,bottom:0}),N=H[0],A=H[1],S=(0,o.useState)("#000000"),P=S[0],L=S[1],z=(0,o.useState)("#000000"),M=z[0],Z=z[1],K=(0,a.Z)(p).minHeight,R=null===p||void 0===p?void 0:p.tagline,W=null===p||void 0===p?void 0:p.headline,T=null===p||void 0===p?void 0:p.content,E=(null===p||void 0===p||null===(t=p.buttons)||void 0===t?void 0:t.items)||[p.button],O=(null===p||void 0===p||null===(n=p.buttons)||void 0===n?void 0:n.items)?null===p||void 0===p||null===(c=p.buttons)||void 0===c?void 0:c.enabled:!!p.button,D=!!(null===p||void 0===p||null===(m=p.image)||void 0===m?void 0:m.enabled),F=D?null===p||void 0===p?void 0:p.image:null,B=(null===p||void 0===p?void 0:p.align)||"center",_=null===p||void 0===p?void 0:p.animation,I=null===j||void 0===j?void 0:j.animation,U=null===p||void 0===p?void 0:p.divider,V=null===p||void 0===p?void 0:p.border,q=(0,a.Z)(p).headerHeight,Q=1===(null===p||void 0===p?void 0:p.idx)&&!!(null===p||void 0===p?void 0:p.combineWithHeader),X=["left","right"].includes(null===F||void 0===F?void 0:F.align)&&(null===p||void 0===p||null===(b=p.mobile)||void 0===b?void 0:b.reverseOrder),Y=(0,o.useRef)(null),$=function(){switch(null===F||void 0===F?void 0:F.align){case"left":return"".concat(X?"flex-col":"flex-col-reverse"," lg:flex-row-reverse");case"top":return X?"flex-col":"flex-col-reverse";case"bottom":return X?"flex-col-reverse":"flex-col";default:return"".concat(X?"flex-col-reverse":"flex-col"," lg:flex-row")}},G=function(){var e=(0,l.QW)(null===F||void 0===F?void 0:F.media);return e?(0,i.jsx)(i.Fragment,{children:(null===F||void 0===F?void 0:F.media)?(0,i.jsx)("div",{className:(0,l.AK)("flex-shrink-0 relative mx-auto w-full h-full transition-all duration-300",(0,l.n3)(null===F||void 0===F?void 0:F.aspectRatio)),children:(0,i.jsx)(r(),{layout:"fill",className:(0,l.AK)("transition-all duration-300",(0,l.yW)((null===F||void 0===F?void 0:F.borderless)?"no-rounded":null===F||void 0===F?void 0:F.cornerRadius,null===j||void 0===j?void 0:j.cornerRadius)),src:e,objectFit:(null===F||void 0===F?void 0:F.borderless)||!(null===F||void 0===F?void 0:F.imageFit)?"cover":null===F||void 0===F?void 0:F.imageFit,objectPosition:"".concat((null===F||void 0===F?void 0:F.imagePositionX)||"center"," ").concat((null===F||void 0===F?void 0:F.imagePositionY)||"center"),alt:F.altText||F.media.description||F.media.author,title:F.altText,onContextMenu:function(e){return e.preventDefault()}})}):(0,i.jsx)("div",{className:(0,l.AK)("flex-shrink-0 bg-gray-100 transition-all duration-300",(0,l.n3)(null===F||void 0===F?void 0:F.aspectRatio))})}):null},J=function(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h.Z,{text:R,color:M,style:null===p||void 0===p?void 0:p.taglineStyle}),(0,i.jsx)(g.Z,{text:W,size:null===p||void 0===p?void 0:p.headingTextStyle,fallbackSize:"xl",color:P,isSeoHeadline:k}),(0,i.jsx)(x.Z,{text:T,size:null===p||void 0===p?void 0:p.bodyTextStyle,fallbackSize:"lg",color:P}),(null===E||void 0===E?void 0:E.length)>0&&O&&(0,i.jsx)("div",{className:(0,l.AK)("flex md:inline-flex flex-col md:flex-row gap-4 w-full md:w-max",R||W||T?"mt-2 lg:mt-4":""),children:null===E||void 0===E?void 0:E.map((function(e,t){return(0,i.jsx)(d.Z,{button:e,block:p,website:j,className:"w-full md:w-max"},"banner-button-".concat(t))}))})]})};return(0,i.jsxs)(f.f,{ref:Y,block:p,textColor:P,headerHeight:q,noPadding:null===F||void 0===F?void 0:F.borderless,id:w,minHeight:K,stickyHeaderOffsetStyle:C,divider:U,border:V,children:[(0,i.jsx)("div",{className:(0,l.AK)("w-full flex break-word transition-all duration-300",(null===F||void 0===F?void 0:F.borderless)?$():(0,l.A2)(null===p||void 0===p?void 0:p.verticalAlign)),children:(null===F||void 0===F?void 0:F.borderless)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:(0,l.AK)("flex-1 relative"),style:"right"===(null===F||void 0===F?void 0:F.align)&&!X||"left"===(null===F||void 0===F?void 0:F.align)&&X?{paddingTop:(null===N||void 0===N?void 0:N.top)||0,paddingBottom:(null===N||void 0===N?void 0:N.bottom)||0}:{},children:[(0,i.jsx)(s.Z,{block:p,website:j,setTextColor:L,setAccentColor:Z}),(0,i.jsx)(u.Z,{settings:_,globalSettings:I,className:"relative z-10 w-full h-full",children:(0,i.jsx)("div",{className:(0,l.AK)("relative z-10 container flex flex-col h-full mx-auto px-5 md:px-6 lg:px-20",(0,l.A2)(null===p||void 0===p?void 0:p.align,!0)),children:(0,i.jsx)("div",{className:(0,l.AK)("flex flex-col gap-4 w-full max-w-3xl","left"===(null===F||void 0===F?void 0:F.align)?"lg:mr-auto lg:ml-0":"lg:mr-0 lg:ml-auto",(0,l.rE)(null===p||void 0===p?void 0:p.spacing)),children:J()})})})]}),D&&(0,i.jsx)("div",{className:"lg:flex-1 relative",children:G()})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{block:p,website:j,setTextColor:L,setAccentColor:Z}),(0,i.jsx)("div",{className:(0,l.AK)("relative z-10 container mx-auto px-5 md:px-6 transition-all duration-300",(0,l.rE)(null===p||void 0===p?void 0:p.spacing)),children:(0,i.jsx)(u.Z,{settings:_,globalSettings:I,className:"relative z-10 w-full h-full",children:(0,i.jsxs)("div",{className:(0,l.AK)("flex w-full gap-10 lg:gap-20 transition-all duration-300",$(),function(){switch(B){case"left":return"justify-start";case"center":return"justify-center";case"right":return"justify-end";case"middle":return(null===F||void 0===F?void 0:F.borderless)?"justify-center":"items-center";case"bottom":return(null===F||void 0===F?void 0:F.borderless)?"justify-end":"items-end";case"top":return(null===F||void 0===F?void 0:F.borderless)?"justify-start":"items-start"}}()),children:[(0,i.jsx)("div",{className:(0,l.AK)("flex-1 flex flex-col gap-4 w-full max-w-3xl",function(){if(["left","right"].includes(null===F||void 0===F?void 0:F.align))return"items-start";switch(B){case"left":return"items-start";case"center":return"items-center text-center mx-auto";case"right":return"items-end text-right ml-auto"}}()),children:J()}),D&&(0,i.jsx)("div",{className:(0,l.AK)("flex-1 flex w-full lg:max-w-1/2 h-full transition-all duration-300",function(){if(["left","right"].includes(null===F||void 0===F?void 0:F.align))return"left"===B?"justify-end":"justify-center lg:justify-start";switch(B){case"left":return"items-start lg:max-w-1/2";case"center":return"items-center lg:max-w-1/2 mx-auto text-center";case"right":return"items-end lg:max-w-1/2 ml-auto text-right"}}()),children:G()})]})})})]})}),(0,i.jsx)(v.iz,{contentRef:Y,divider:U,previousDivider:null===y||void 0===y?void 0:y.divider,border:V,previousBorder:null===y||void 0===y?void 0:y.border,dividerUniqueId:"".concat(w,"-").concat(U),noPadding:!!(null===F||void 0===F?void 0:F.borderless),onPaddingChange:A,combinedWithHeaderOffset:Q?q:0})]})}},399:function(e,t,n){n.d(t,{Z:function(){return c}});var i=n(67294),o="website-header";function l(e){var t;return e&&1===e.idx?(null===(t=null===document||void 0===document?void 0:document.getElementById(o))||void 0===t?void 0:t.offsetHeight)||80:0}function c(e){var t,n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.useState)(0),a=r[0],d=r[1],s=(0,i.useState)([0,0]),u=s[0],v=s[1],f=o,h=1===(null===e||void 0===e?void 0:e.idx)&&(null===e||void 0===e?void 0:e.combineWithHeader),g=c.minHeightScreenWhenCombined;return(0,i.useEffect)((function(){var t,n=function(){v([window.innerWidth,window.innerHeight])};try{var i=document.getElementById(f);t=new ResizeObserver((function(){e&&d(l(e))})),i&&t.observe(i)}catch(o){}return window.addEventListener("resize",n),n(),function(){window.removeEventListener("resize",n),t&&t.disconnect()}}),[]),(0,i.useEffect)((function(){e&&d(l(e))}),[e,u]),{minHeight:(null===e||void 0===e||null===(t=e.spacing)||void 0===t?void 0:t.minHeight)?"calc(".concat("min-h-screen"===(null===e||void 0===e||null===(n=e.spacing)||void 0===n?void 0:n.minHeight)||g&&h?"100vh":"0px"," - ").concat((null===e||void 0===e?void 0:e.combineWithHeader)?0:a,"px)"):"0px",headerHeight:a}}}}]);