(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[67305],{425491:function(e,t,i){"use strict";i.d(t,{P:function(){return v}});var l=i(552322),r=i(72779),n=i.n(r),a=i(202784),o=i(30698),s=i(183428),d=i(240926),u=i(509020),_=i(333782),c=i(524917),h=i(961268),m=i(709527),g=i(741463),x=i(880227);function v(e){let{isVideo:t,autoPlay:i,id:r,width:s,height:u,src:_,alt:m,ctaType:v,ctaOnlyOnHover:C,disableFadeIn:y,forceSmallBorderRadius:w,imageLoading:S,priority:b,quality:M,shadow:z="level-300",href:j,hrefOnClick:A,borderColor:N,customLabel:k,className:X}=e,R=(0,h.b)(),W=(0,g.Fg)(),L=(0,o.D)(_,R),E=L.split(".").pop(),B=t||["gif"].includes(E),[F,I]=(0,a.useState)(B),T=(0,l.jsx)(p,{id:r,isVideo:t,autoPlay:i,width:s,height:u,src:_,alt:m,imageLoading:S,callback:e=>I(!0),priority:b,quality:M,className:X}),P=(0,l.jsxs)("div",{className:n()(x.roundedMedia,{[x.darkMode]:W.isDarkMode,[x.highlightBorder]:"highlight"===N}),style:{[(0,d.Ay)("--rounded-media-border-radius")]:w?"var(--border-radius-400)":"var(--border-radius-700)",[(0,d.Ay)("--rounded-media-shadow")]:`var(--shadow-${z})`,maxWidth:s,maxHeight:u},children:[v&&(0,l.jsx)(f,{type:v,ctaOnlyOnHover:C,customLabel:k}),(0,l.jsx)("div",{className:n()({"animation--paused":!F,"animation--running":F,[c.rK]:!B&&"lazy"===S,[c.Ix]:B||!0===y||"eager"===S}),children:T},L)]});return j?(0,l.jsx)("a",{target:"_blank",href:j,onClick:e=>{null==A||A(e)},children:P}):P}function p(e){let{isVideo:t,autoPlay:i=!0,id:r,width:n,height:a,src:o,alt:s,imageLoading:d,priority:c,quality:h,callback:g,className:x}=e,v=(0,m.T)();return t?(0,l.jsx)(_.n,{width:n,height:a,src:o,autoPlay:!v&&i,className:x,preload:v?void 0:"none",playsInline:!0,muted:!0}):(0,l.jsx)("div",{id:r,children:(0,l.jsx)(u.E,{width:n,height:a,src:o,alt:s||"",layout:"responsive",loading:d,onLoad:g,priority:c,quality:h,className:x})})}function f(e){var t,i;let{type:r,ctaOnlyOnHover:a,customLabel:o}=e,d=(0,s.YB)(),u=o??(t=d,i=r,({viewCustomer:{label:t.formatMessage({id:"frontRoundedMedia.callToAction.viewCustomer",defaultMessage:"View customer"})},livePreview:{label:t.formatMessage({id:"frontRoundedMedia.callToAction.livePreview",defaultMessage:"Click to try live preview"})},viewTemplate:{label:t.formatMessage({id:"frontRoundedMedia.callToAction.viewTemplate",defaultMessage:"View template"})}})[i]).label;return(0,l.jsx)("div",{className:n()(x.overlay,{[x.ctaAlwaysVisible]:!a}),children:(0,l.jsx)("button",{className:x.overlayButton,children:u})})}},390262:function(e,t,i){"use strict";i.d(t,{D:function(){return s},X:function(){return o}});var l=i(552322),r=i(72779),n=i.n(r);i(202784);var a=i(268279);let o=["xxxs","xxs","xs","s","m","l","xl","xxl","xxxl"];function s(e){let{children:t,style:i,level:r="h1",size:o,fontWeight:s="bold",fontFamily:d="inter",align:u,color:_,id:c}=e;return(0,l.jsx)(r,{id:c,style:i,className:n()(a.title,{[a.titleSizeXxxs]:"xxxs"===o,[a.titleSizeXxs]:"xxs"===o,[a.titleSizeXs]:"xs"===o,[a.titleSizeS]:"s"===o,[a.titleSizeM]:"m"===o,[a.titleSizeL]:"l"===o,[a.titleSizeXl]:"xl"===o,[a.titleSizeXxl]:"xxl"===o,[a.titleSizeXxxl]:"xxxl"===o,[a.titleWeightRegular]:"regular"===s,[a.titleWeightMedium]:"medium"===s,[a.titleWeightSemibold]:"semibold"===s,[a.titleWeightBold]:"bold"===s,[a.titleFamilyInter]:"inter"===d,[a.titleFamilyLyon]:"lyon"===d,[a.titleAlignStart]:"start"===u,[a.titleAlignCenter]:"center"===u,[a.titleAlignEnd]:"end"===u,[a.titleColorBlue]:"blue"===_,[a.titleColorDark]:"dark"===_,[a.titleColorInherit]:"inherit"===_,[a.titleColorLight]:"light"===_,[a.titleColorMedium]:"medium"===_,[a.titleColorPurple]:"purple"===_,[a.titleColorRed]:"red"===_,[a.titleColorWhite]:"white"===_,[a.titleColorYellow]:"yellow"===_,[a.titleColorOrange]:"orange"===_,[a.titleColorTeal]:"teal"===_}),children:t})}},306306:function(e,t,i){"use strict";i.d(t,{t:function(){return _}});var l=i(552322),r=i(202784),n=i(509020),a=i(388988),o=i(567452);let s="([@#][a-z_]+)",d=RegExp(s,"gi"),u=RegExp(`^${s}`,"i");function _(e){let{name:t,username:i,avatar:s,body:_,image:c}=e;return(0,l.jsxs)("figure",{className:o.tweet,children:[(0,l.jsxs)("figcaption",{className:o.user,children:[(0,l.jsx)("div",{className:o.avatar,children:(0,l.jsx)(n.E,{width:48,height:48,src:s,alt:i,className:o.image})}),(0,l.jsxs)("div",{className:o.usernameWrap,children:[(0,l.jsx)("div",{className:o.name,children:t}),(0,l.jsx)("div",{className:o.username,children:i})]})]}),(0,l.jsx)("blockquote",{className:o.body,children:_.split("\n\n").map(e=>(0,l.jsx)("p",{className:o.paragraph,children:e.split("\n").map(e=>(0,l.jsx)("span",{className:o.line,children:(0,a.EX)(e,d).map(e=>u.test(e)?(0,l.jsx)("span",{className:o.mention,children:e},e):(0,l.jsx)(r.Fragment,{children:e},e))},e))},e))}),c?(0,l.jsx)("div",{className:o.imageContainer,children:c}):null]})}},892169:function(e,t,i){"use strict";i.d(t,{t:function(){return l.t}});var l=i(306306)},333782:function(e,t,i){"use strict";i.d(t,{n:function(){return p}});var l=i(552322),r=i(72779),n=i.n(r),a=i(97729),o=i.n(a),s=i(202784),d=i(30698),u=i(983839),_=i(240926),c=i(509020),h=i(631718),m=i(197858),g=i(961268),x=i(334801),v=i(964405);let p=(0,s.forwardRef)(function(e,t){let{src:i,poster:r,className:a,autoPlay:p,controls:f=!1,height:C=1080,width:y=1920,preload:w,playsInline:S,...b}=e,M=(0,g.b)(),z=i?(0,d.D)(i,M):void 0,j=r?(0,d.D)(r,M):void 0,A=j&&(0,u.r)(j)?(0,h.Fh)(j):function(e,t,i){if(i)return(0,c.N)({src:i,alt:"",width:e,height:t,quality:90}).props.src}(y,C,j),N=(0,s.useRef)(null),k=(0,x.q)(t,N),X=(0,s.useRef)(!1),R=(0,s.useCallback)(async e=>{if(!X.current&&e.some(e=>{let{isIntersecting:t}=e;return t})){X.current=!0;try{var t;await (null===(t=N.current)||void 0===t?void 0:t.play())}catch(e){}}},[]);(0,m.x)("lazy"===p?N:null,R);let W=C&&y?`${y} / ${C}`:void 0;return(0,l.jsxs)(l.Fragment,{children:["auto"===w?(0,l.jsxs)(o(),{children:[(0,l.jsx)("link",{rel:"preload",as:"image",href:A}),(0,l.jsx)("link",{rel:"preload",as:"video",href:z})]}):null,(0,l.jsx)("video",{...b,autoPlay:!0===p||"eager"===p||void 0,src:z,className:n()(v.video,{[v.videoAspectRatio]:!!W},a),poster:A,style:{[(0,_.Ay)("--video-aspect-ratio")]:W},ref:k,width:y,height:C,preload:w,controls:f,playsInline:S})]})})},388988:function(e,t,i){"use strict";function l(e){return e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()}function r(e,t){let i=[],l=e;for(;l.length>0;){let e=l.match(t);if(!e){i.push(l);break}let[r]=e,n=l.indexOf(r);i.push(l.slice(0,n)),l=l.slice(n),i.push(r),l=l.replace(r,"")}return i.filter(Boolean)}function n(e,t){let i=e.toLocaleUpperCase(t),l=0;for(let e=0;e2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return;let l=new IntersectionObserver(t,i);return l.observe(e),()=>{l.unobserve(e)}}function a(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,l.r)(i);(0,r.L)(()=>n(e,t,a),[e,t,a])}function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,l.r)(i);(0,r.L)(()=>n(null==e?void 0:e.current,t,a),[t,a,e])}},709527:function(e,t,i){"use strict";i.d(t,{T:function(){return r}});var l=i(271701);function r(){return(0,l.a)("(prefers-reduced-motion)")}},880227:function(e){e.exports={roundedMedia:"roundedMedia_roundedMedia__3rMbX",darkMode:"roundedMedia_darkMode__O1KnR",highlightBorder:"roundedMedia_highlightBorder__cc1XE",overlay:"roundedMedia_overlay__2_vcG",overlayButton:"roundedMedia_overlayButton__YVUr5",ctaAlwaysVisible:"roundedMedia_ctaAlwaysVisible__x9k71"}},268279:function(e){e.exports={title:"title_title__DWL5N",titleWeightRegular:"title_titleWeightRegular__CZ0MG",titleWeightMedium:"title_titleWeightMedium__p0yS6",titleWeightSemibold:"title_titleWeightSemibold__RAo21",titleWeightBold:"title_titleWeightBold__838EK",titleSizeXxxs:"title_titleSizeXxxs__FzSj8",titleSizeXxs:"title_titleSizeXxs__G6KYV",titleSizeXs:"title_titleSizeXs__xnVC3",titleSizeS:"title_titleSizeS__om4Io",titleSizeM:"title_titleSizeM__e46NM",titleSizeL:"title_titleSizeL__4C9l9",titleSizeXl:"title_titleSizeXl__FnspC",titleSizeXxl:"title_titleSizeXxl__aKcmF",titleSizeXxxl:"title_titleSizeXxxl__p_tgv",titleFamilyInter:"title_titleFamilyInter__Ra6_Q",titleFamilyLyon:"title_titleFamilyLyon__k2ClT",titleColorLight:"title_titleColorLight__e0td6",titleColorMedium:"title_titleColorMedium__S6bde",titleColorDark:"title_titleColorDark__Pqy5I",titleColorWhite:"title_titleColorWhite__8byED",titleColorRed:"title_titleColorRed__VuE4a",titleColorBlue:"title_titleColorBlue__IRFP8",titleColorYellow:"title_titleColorYellow__ZsgT6",titleColorPurple:"title_titleColorPurple__CTuWP",titleColorOrange:"title_titleColorOrange__0yiS2",titleColorTeal:"title_titleColorTeal__Zj9Mz",titleColorInherit:"title_titleColorInherit__TBC0k",titleAlignStart:"title_titleAlignStart__tPK8A",titleAlignCenter:"title_titleAlignCenter__POwgZ",titleAlignEnd:"title_titleAlignEnd__97qaY"}},567452:function(e){e.exports={tweet:"tweet_tweet__8JSWu",avatar:"tweet_avatar__wLuty",usernameWrap:"tweet_usernameWrap__aXzhe",name:"tweet_name__AtQFc",username:"tweet_username__mNmrB",body:"tweet_body__bCD2A",paragraph:"tweet_paragraph__tItmS",mention:"tweet_mention__xiDE6",user:"tweet_user__vIMQv",imageContainer:"tweet_imageContainer__J037f",line:"tweet_line__k09QG",image:"tweet_image__RepFW"}},964405:function(e){e.exports={video:"Video_video__KYz0l",videoAspectRatio:"Video_videoAspectRatio__qVTeE"}}}]);