(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1154],{48249:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/connect/[slug]",function(){return o(21110)}])},74558:function(e,t,o){"use strict";o.d(t,{Z:function(){return StaticSocialProof}});var a=o(85893),n=o(93967),l=o.n(n),r=o(45697),i=o.n(r),d=o(72917),s=o(33322),u=o(13608);function StaticSocialProof(e){var t,o,n,r=e.bgColor,i=e.className,c=e.data,m=e.heading,h=e.iClassName,v=e.maxLogoHeight,g=e.maxLogoWidth,f=e.themeColor,p=e.type;return(0,a.jsxs)("section",{className:l()(i,r),children:[(null==c?void 0:c.heading)&&(0,a.jsx)("h2",{className:"thd-heading-sm thd-max-lg mb-lg",children:null!==(n=c.heading)&&void 0!==n?n:m}),(0,a.jsx)("ul",{className:h,style:{"--filter-color":null===(t=(0,s.b)(f))||void 0===t?void 0:t.logoFilter},children:null==c?void 0:null===(o=c.logos)||void 0===o?void 0:o.map(function(e){var t,o,n,l,r,i=null==e?void 0:null===(l=e.image)||void 0===l?void 0:null===(n=l.asset)||void 0===n?void 0:null===(o=n.metadata)||void 0===o?void 0:null===(t=o.dimensions)||void 0===t?void 0:t.aspectRatio,s=(0,d.Z)(null!=g?g:90,null!=v?v:26,{aspectRatio:i,type:null!=p?p:"normalized"}),c=s.width,m=s.height;return(0,a.jsx)("li",{style:{"--logo-height":m+"px","--logo-width":c+"px"},children:(0,a.jsx)("img",{alt:null==e?void 0:e.name,className:"thd-filter relative thd-logo mx-auto",decoding:"async",height:m,loading:"lazy",src:null===(r=(0,u.ZP)(null==e?void 0:e.image))||void 0===r?void 0:r.url(),width:c})},e._id)})})]})}StaticSocialProof.propTypes={bgColor:i().string,className:i().string,data:i().object,heading:i().string,iClassName:i().string,maxLogoHeight:i().oneOfType([i().string,i().number]),maxLogoWidth:i().oneOfType([i().string,i().number]),themeColor:i().string,type:i().string},StaticSocialProof.defaultProps={heading:"More than 21 million people across 200,000 companies choose Loom"}},30867:function(e,t,o){"use strict";o.d(t,{Z:function(){return ThreadByline}});var a=o(85893),n=o(93967),l=o.n(n),r=o(45697),i=o.n(r),d=o(96184),s=o(33322),u={press:"justify-center","stand-alone":"md:justify-center",carousel:"md:justify-center",tweets:"justify-start",learn:"justify-start mb-fixed-xl"};function ThreadByline(e){var t,o,n,r,i,c,m,h,v=e.bColor,g=e.byline,f=e.hideAvatar,p=e.hideTitle,y=e.transparent,b=e.themeColor,x=e.layout,k=u[x],w=!y&&(!(null==g?void 0:null===(o=g.avatar)||void 0===o?void 0:null===(t=o.asset)||void 0===t?void 0:t.url)||f);return(0,a.jsxs)("figcaption",{className:l()(null!=v?v:null===(n=(0,s.b)(b))||void 0===n?void 0:n.bodyText,k,y?"text-center justify-center":void 0,w?"md:text-center":void 0,"flex w-full items-center gap-md"),children:[(null==g?void 0:null===(i=g.avatar)||void 0===i?void 0:null===(r=i.asset)||void 0===r?void 0:r.url)&&!f&&(0,a.jsx)(d.Z,{altText:null!==(h=null==g?void 0:null===(c=g.avatar)||void 0===c?void 0:c.altText)&&void 0!==h?h:null==g?void 0:null===(m=g.avatar)||void 0===m?void 0:m.name,className:"h-[44px] w-[44px] shrink-0 overflow-hidden rounded-full object-cover lg:h-64 lg:w-64",height:"64",image:null==g?void 0:g.avatar,layout:"fixed-width",width:"64"}),(0,a.jsxs)("p",{className:"tweets"===x?"text-left":"",children:[(null==g?void 0:g.name)&&"Anon"!==g.name&&(0,a.jsx)("span",{className:l()(null!=v?v:(0,s.b)(b).bodyText,"thd-body-sm thd-bold"),children:null==g?void 0:g.name}),!p&&(null==g?void 0:g.jobTitle)&&(0,a.jsxs)("span",{className:"thd-caption block",children:[null==g?void 0:g.jobTitle,(null==g?void 0:g.company)?", ".concat(null==g?void 0:g.company):void 0]})]})]})}ThreadByline.defaultProps={hideAvatar:!1,transparent:!1,layout:"carousel"},ThreadByline.propTypes={byline:i().oneOfType([i().string,i().object,i().func]),className:i().string,hideAvatar:i().bool,transparent:i().bool,layout:i().oneOf(Object.keys(u)).isRequired,themeColor:i().string}},12387:function(e,t,o){"use strict";o.d(t,{Z:function(){return ThreadTestimonialCard}});var a=o(85893),n=o(93967),l=o.n(n),r=o(45697),i=o.n(r),d=o(55395);function TestimonialQuotation(e){var t=e.font,o=e.quotation,n=e.lineLength,r=e.transparent;return(0,a.jsx)("blockquote",{className:l()((0,d.h)(t).heading,r?"text-center":"md:text-center","thd-quote py-lg",n?"thd-max-".concat(n):"thd-max-2xl"),children:o})}var s=o(99577),u=o(30867),c=o(72917),m=o(33322),h=o(13608),v=o(84834);function ThreadTestimonialCard(e){var t,o,n,r,i,d,g,f,p,y=e.card,b=e.caseStudy,x=e.className,k=e.font,w=e.hideAvatar,S=e.hideLogos,M=e.themeColor,_=e.themeColorMode,C="white"===M,N=null==y?void 0:null===(r=y.logo)||void 0===r?void 0:null===(n=r.image)||void 0===n?void 0:null===(o=n.asset)||void 0===o?void 0:null===(t=o.metadata)||void 0===t?void 0:t.dimensions,j=null==N?void 0:N.aspectRatio,z=(0,c.Z)(90,30,{aspectRatio:j,type:"horizontal-optimized"}),T=z.width,F=z.height,I="".concat(M,"-").concat({dark:"90",light:"10"}[_]),A="".concat(M,"-").concat({dark:"10",light:"90"}[_]);return(0,a.jsx)("figure",{className:l()(x,(0,m.b)(I).headerText,(0,m.b)(I).bg,"mx-auto thd-rounded-static",!C&&"p-fluid-sm lg:p-fluid-lg"),children:(0,a.jsxs)("div",{className:l()(C?"items-center":"md:items-center","flex flex-col justify-center md:h-full md:px-0"),style:{"--filter-color":null===(i=(0,m.b)(I))||void 0===i?void 0:i.logoFilter,"--logo-height":F?F+"px":null,"--logo-width":T?T+"px":null},children:[b&&(null==y?void 0:y.byline)&&(0,a.jsx)(u.Z,{byline:null==y?void 0:y.byline,themeColor:I}),(null==y?void 0:null===(d=y.logo)||void 0===d?void 0:d.image)&&!b&&!S&&(0,a.jsx)("img",{alt:null==y?void 0:null===(g=y.byline)||void 0===g?void 0:g.company,className:"thd-filter thd-logo w-full h-full",height:F,src:(0,h.ZP)(null==y?void 0:null===(f=y.logo)||void 0===f?void 0:f.image).url(),width:T,loading:"lazy"}),(null==y?void 0:y.quotation)&&(0,a.jsx)(TestimonialQuotation,{font:k,quotation:null==y?void 0:y.quotation,transparent:C}),!b&&(null==y?void 0:y.byline)&&(0,a.jsx)(u.Z,{byline:null==y?void 0:y.byline,hideAvatar:w,themeColor:I,transparent:C}),b&&(0,a.jsx)(s.Z,{buttonType:"secondary",color:A,cta:{link:"/customers/".concat((0,v.Z)(null==y?void 0:null===(p=y.byline)||void 0===p?void 0:p.company)),copy:"View Case Study"},size:"lg",type:"primary"})]})})}ThreadTestimonialCard.propTypes={card:i().object.isRequired,caseStudy:i().bool,className:i().string,font:i().string,hideAvatar:i().bool,hideLogos:i().bool,themeColor:i().string,themeColorMode:i().string},ThreadTestimonialCard.defaultProps={caseStudy:!1,themeColor:"violet",themeColorMode:"light",font:"xs"}},72917:function(e,t,o){"use strict";o.d(t,{Z:function(){return getComputedImageSize}});var getHorizontalNormalizedImageSize=function(e,t,o){var a,n;switch(!0){case o<1:a=t/o,n=1.5*e;break;case 1===o:a=t,n=t;break;case o>1&&o<2:n=Math.round((a=Math.round(t))*o);break;case o>=2&&o<=5.5:a=Math.round((n=Math.round(1.25*e))/o);break;case o>5.5&&o<=8:a=Math.round((n=Math.round(1.5*e))/o);break;case o>8&&o<=10:a=Math.round(1.8*t),n=Math.round(2*e);break;case o>10:n=Math.round((a=Math.round(.75*t))*o)}return{width:n,height:a}},getHomepageCarouselImageSize=function(e,t,o){var a,n;switch(!0){case o<1:n=Math.round((a=Math.round(1.5*t))*o);break;case 1===o:n=a=1.25*t;break;case o>1&&o<=2.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>2.5&&o<=3.5:n=Math.round((a=Math.round(1.3*t))*o);break;case o>3.5&&o<=5.5:n=Math.round((a=t)*o);break;case o>5.5&&o<=8:a=Math.round((n=Math.round(1.2*e))/o);break;case o>8&&o<=8.5:case o>8.5:a=Math.round((n=Math.round(1.5*e))/o)}return{width:n,height:a}},getNormalizedImageSize=function(e,t,o){var a,n;switch(!0){case o<1:a=Math.round(t/o),n=Math.round(1.5*e);break;case 1===o:a=t,n=e;break;case o>1&&o<=4:n=Math.round((a=t)*o);break;case o>4&&o<=5.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>5.5&&o<=8:n=Math.round((a=Math.round(1.5*t))*o);break;case o>8:a=Math.round(1.8*t),n=Math.round(2*e)}return{width:n,height:a}},getNormalizedHorizImageSize=function(e,t,o){var a,n;switch(!0){case o<1:a=t/o,n=1.5*e;break;case 1===o:a=t,n=e;break;case o>1&&o<=6.5:n=Math.round((a=t)*o);break;case o>6.5&&o<=8:n=Math.round((a=Math.round(1.2*t))*o);break;case o>8&&o<=10:a=Math.round(1.8*t),n=Math.round(2*e);break;case o>10:n=Math.round((a=Math.round(1.2*t))*o)}return{width:n,height:a}},getNormalizedSquareImageSize=function(e,t,o){var a,n;switch(!0){case o<1:a=Math.round(t/o),n=Math.round(1.5*e);break;case 1===o:a=t,n=e;break;case o>1&&o<=2.5:n=Math.round((a=t)*o);break;case o>2.5&&o<=5.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>5.5&&o<=8:a=Math.round(1.5*t),n=Math.round(1.5*e);break;case o>8:a=Math.round(1.8*t),n=Math.round(2*e)}return{width:n,height:a}},getOptimizedImageSize=function(e,t,o){var a,n;switch(!0){case o<1:n=Math.round((a=Math.round(1.5*t))*o);break;case 1===o:n=a=1.25*t;break;case o>1&&o<=2.5:n=Math.round((a=Math.round(1.25*t))*o);break;case o>2.5&&o<=3.5:n=Math.round((a=Math.round(1.3*t))*o);break;case o>3.5&&o<=5.5:n=Math.round((a=t)*o);break;case o>5.5&&o<=8:a=Math.round((n=Math.round(1.2*e))/o);break;case o>8&&o<=8.5:case o>8.5:a=Math.round((n=Math.round(1.5*e))/o)}return{width:n,height:a}};function getComputedImageSize(e,t,o){switch(o.type){case"horizontal-optimized":return getHorizontalNormalizedImageSize(e,t,o.aspectRatio);case"normalized":return getNormalizedImageSize(e,t,null==o?void 0:o.aspectRatio);case"normalized-horizontal":return getNormalizedHorizImageSize(e,t,null==o?void 0:o.aspectRatio);case"homepage-carousel":return getHomepageCarouselImageSize(e,t,null==o?void 0:o.aspectRatio);case"normalized-square":return getNormalizedSquareImageSize(e,t,null==o?void 0:o.aspectRatio);default:return getOptimizedImageSize(e,t,null==o?void 0:o.aspectRatio)}}},21110:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSG:function(){return j},default:function(){return GenericFormTemplate}});var a=o(24043),n=o(85893),l=o(93967),r=o.n(l),i=o(67294),d=o(11163),s=o(30627),u=o(27837),c=o(1670),m=o(52429),h=o(74558),v=o(2291),g=o(12387),f=o(23561),p=o.n(f),y=o(63554),b=o(86274),x="pages.eml.atlassian.com",use_marketo=function(e){var t=e.formId,o=(0,a._)((0,i.useState)(!1),2),n=o[0],l=o[1],r=(0,a._)((0,i.useState)(!1),2),d=r[0],s=r[1];(0,i.useEffect)(function(){if(n)d||(window.MktoForms2.loadForm("//".concat(x),y.mX,t,function(e){return function(e){(function(e){e.onValidate(function(){var t=e.getFormElem().find("#Email"),o=t.val(),a=o.toLowerCase().substring(o.indexOf("@")+1),n=a.split(".");0===k.filter(function(e){return -1!==n.indexOf(e)}).length?e.submitable(!0):(e.submitable(!1),e.showErrorMessage("Please enter your business email address. This form does not accept addresses from "+a+".",t))})})(e);for(var t=e.getFormElem()[0],o=t.getElementsByClassName("mktoField"),a=0;a