"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4387],{2031:function(e,n,l){l.d(n,{Z:function(){return MetaHead}});var t=l(85893),i=l(9008),o=l.n(i),s=l(11163);function MetaHead(e){var n,l,i,r,a=e.isContentful,d=e.isCustomTitle,c=e.isCustomRobots,m=e.isCustomDescription,x=e.isCustomImage,u=e.data,h=e.url,g=e.children,v=(0,s.useRouter)(),b=null!==(r=a?null==u?void 0:null===(n=u.seoImage)||void 0===n?void 0:n.url:null==u?void 0:null===(i=u.seoImage)||void 0===i?void 0:null===(l=i.asset)||void 0===l?void 0:l.url)&&void 0!==r?r:x,f=a&&!c?"index, follow, max-image-preview:large":(null==u?void 0:u.robots)||c,p=null!=d?d:null==u?void 0:u.seoTitle;p+=" | Loom ".concat(v.pathname.includes("/blog")?"Blog":"");var j=null!=m?m:null==u?void 0:u.seoDescription;return(0,t.jsxs)(o(),{children:[(0,t.jsx)("title",{children:p}),(0,t.jsx)("meta",{content:p,property:"og:title"}),(0,t.jsx)("meta",{content:j,name:"description"}),(0,t.jsx)("meta",{content:j,property:"og:description"}),(0,t.jsx)("meta",{content:b+"?fm=jpg",property:"og:image"}),(0,t.jsx)("meta",{content:b+"?fm=jpg",name:"twitter:image"}),(0,t.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,t.jsx)("meta",{content:h,property:"og:url"}),(0,t.jsx)("meta",{content:f,name:"robots"}),(0,t.jsx)("link",{href:null!=h?h:null==u?void 0:u.canonicalUrl,rel:"canonical"}),g]})}},42798:function(e,n,l){l.d(n,{u:function(){return SanityText}});var t=l(72253),i=l(14932),o=l(47702),s=l(85893),r=l(82969),a=l(11841);function SanityText(e){var n=e.children,l=e.markdown,d=(0,o._)(e,["children","markdown"]);return n?"string"!=typeof n?(0,s.jsx)(a.Z,(0,i._)((0,t._)({},d),{content:n})):l?(0,s.jsx)(r.Z,(0,i._)((0,t._)({},d),{children:n})):(0,s.jsx)("p",(0,i._)((0,t._)({},d),{children:n})):null}},27924:function(e,n,l){l.d(n,{Z:function(){return ThreadHeader}});var t=l(88421),i=l(85893),o=l(93967),s=l.n(o),r=l(45697),a=l.n(r),d=l(30587),c=l(42798),m=l(60899),x=l(84293),u=l(30830),h=l(65970),g=l(75446),v=l(92673),b=l(25169),f=l(11841),getHeaderStyles=function(e){var n=e.ellipsisLines,l=e.headerTextGradient,t={};return l&&Object.assign(t,{backgroundImage:"-webkit-linear-gradient(".concat(l,")"),WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}),n&&Object.assign(t,{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n}),t};function ThreadHeader(e){var n,l,o,r,a,p,j,y,L,w,C=e.bAlign,k=e.bFont,T=e.bColor,N=e.bLineLength,S=e.bLineLengthStart,_=e.bLineLengthEnd,O=e.bMaxWidth,A=e.bClassName,Z=e.chip,I=e.className,H=e.eColor,F=e.ellipsisLines,B=e.eLevel,E=e.eStyle,M=e.gap,z=e.hAlign,W=e.header,G=e.hAppend,R=e.hFont,D=e.hColor,P=e.hClassName,q=e.hLayout,U=e.hLevel,J=e.hLineLength,K=e.iconAlignment,Q=e.hLineLengthStart,V=e.hLineLengthEnd,X=e.hLink,Y=e.headerTextGradient,$=e.icon,ee=e.iconClassName,en=e.iconColor,el=e.id,et=e.lineLength,ei=e.nested,eo=e.number,es=e.showIcons,er=e.subhead,ea=e.themeColor,ed=e.themeColorMode,ec=e.useCase,em=e.vAlign,ex=e.iconBg,eu=e.iconSize,eh=e.scaleIcons,eg=e.showMarkdown,ev=e.cta,eb={string:W,object:ec?W:null==W?void 0:W.heading,"react.fragment":W,null:null}[void 0===W?"undefined":(0,t._)(W)],ef=null!==(w=null==W?void 0:W.subhead)&&void 0!==w?w:er,ep=null!=U?U:"h2",ej=(0,d.ZP)("(min-width: 1064px)"),ey=X?(0,i.jsx)(h.Z,{href:null==X?void 0:X.link,children:null==X?void 0:X.copy}):void 0,eL={pill:(null==W?void 0:W.eyebrow)&&(0,i.jsx)(m.Z,{cStyle:"overline",className:"mb-fixed-lg",tag:null==W?void 0:W.eyebrow,themeColor:ea,themeColorMode:ed}),overline:(null==W?void 0:W.eyebrow)&&(0,i.jsx)(null!=B?B:"p",{className:s()(null===(n=(0,v.b)(null!=H?H:ea))||void 0===n?void 0:n.bodyText,"thd-overline mb-fixed-sm"),children:null==W?void 0:W.eyebrow}),small:(null==W?void 0:W.eyebrow)&&(0,i.jsx)("p",{className:s()(null===(l=(0,v.b)(null!=H?H:ea))||void 0===l?void 0:l.bodyText,"thd-heading-xs mb-fixed-sm"),children:null==W?void 0:W.eyebrow})}[E];return(0,i.jsxs)("header",{className:s()(I,z?null===(o=(0,g.l)(z))||void 0===o?void 0:o.h:void 0,em?null===(r=(0,g.l)(em))||void 0===r?void 0:r.v:void 0,et?"thd-max-".concat(et):void 0,O||void 0,null!=q?q:void 0,ei?void 0:"mb-fluid-sm"),id:null!=el?el:void 0,children:[eL,(0,i.jsx)(function(e){var n=e.condition,l=e.wrapper,t=e.children;return n?l(t):t},{condition:$,wrapper:function(e){return(0,i.jsxs)("div",{className:s()($&&"flex ".concat("right"===K&&"gap-[1em] items-center")),children:[ej&&"left"===K&&(0,i.jsx)(x.Z,{className:I,iconClassName:ee,item:$,showIcons:es,themeColor:en}),(0,i.jsx)("div",{children:e}),ej&&"right"===K&&(0,i.jsx)(x.Z,{className:"mr-none",iconBg:ex,iconClassName:ee,iconColor:en,iconSize:eu,item:$,scaleIcons:eh,showIcons:es,themeColor:en})]})},children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:s()("flex items-center gap-x-fixed-md",ef&&eo&&M),children:[eo,(ey||W)&&(0,i.jsxs)(ep,{className:s()(null!=D?D:null===(a=(0,v.b)(ea))||void 0===a?void 0:a.headerText,Q&&J?"".concat(Q,":thd-max-").concat(J):!Q&&J?"thd-max-".concat(J):void 0,V?"".concat(V,":max-w-none"):void 0,null===(p=(0,b.h)(null!=R?R:"sm"))||void 0===p?void 0:p.heading,ef&&!eo&&M,P,Y?"mb-[-1em] pb-[1em]":void 0),style:getHeaderStyles({ellipsisLines:F,headerTextGradient:Y}),children:[Z&&(0,i.jsx)("div",{className:"hidden md:block text-base",children:(0,i.jsx)("p",{className:"absolute -mt-[2em] thd-overline text-thd-color-magenta-50",children:Z})}),eg?(0,i.jsx)(f.Z,{content:W}):null!=ey?ey:eb,G]})]}),ef&&(0,i.jsx)(c.u,{className:s()(C?null===(j=(0,g.l)(C))||void 0===j?void 0:j.h:void 0,A,T,null===(y=(0,v.b)(ea))||void 0===y?void 0:y.bodyText,null===(L=(0,b.h)(k))||void 0===L?void 0:L.body,C?(0,g.l)(C).h:void 0,S&&N?"".concat(S,":thd-max-").concat(N):!S&&N?"thd-max-".concat(N):void 0,_?"".concat(_,":max-w-none"):void 0,O||void 0),children:ef}),ev?(0,i.jsx)("div",{className:"flex justify-start pt-30",children:(0,i.jsx)(u.Z,{buttonType:null==ev?void 0:ev.buttonType,color:null==ev?void 0:ev.color,cta:ev,size:null==ev?void 0:ev.size,type:null==ev?void 0:ev.type})}):null]})})]})}ThreadHeader.defaultProps={bFont:"sm",eStyle:"overline",gap:"lg",nested:!1,themeColor:"grey-light",iconAlignment:"left"},ThreadHeader.propTypes={bFont:a().string,bLineLength:a().oneOf(["sm","md","lg","xl","2xl","3xl","4xl","5xl","homepage","homepage-b"]),bLineLengthStart:a().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),bLineLengthEnd:a().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),className:a().string,eColor:a().string,ellipsisLines:a().number,eStyle:a().string,gap:a().string,hAlign:a().string,header:a().oneOfType([a().string,a().object]),hFont:a().oneOf(["xxs","xs","sm","md","lg","lg-xl","xl","xl-alt"]),hLineLength:a().oneOf(["sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","homepage"]),hLineLengthStart:a().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),hLineLengthEnd:a().oneOf(["sm","md","lg","xl","2xl","3xl","4xl"]),iconAlignment:a().oneOf(["left","right"]),nested:a().bool,themeColor:a().oneOfType([a().string,a().object]).isRequired,vAlign:a().string,iconB:a().bool,iconSize:a().string,scaleIcons:a().string}},75446:function(e,n,l){l.d(n,{l:function(){return getThreadAlign}});function getThreadAlign(e){var n,l;switch(null==e?void 0:e.toLowerCase()){default:l="text-left",n=void 0;break;case"start":l="text-left",n="flex-start";break;case"center":l="flex flex-col text-center items-center mx-auto",n="flex flex-col justify-center";break;case"center-end":l="flex flex-col md:text-center md:items-center mx-auto",n="flex flex-col justify-center";break;case"center-start":l="flex flex-col text-center items-center mx-auto lg:text-left lg:items-start lg:mx-0",n="flex flex-col justify-start lg:justify-center";break;case"split":l="lg:grid lg:grid-cols-2 lg:justify-between gap-fluid-md space-between mb-md md:mb-lg lg:mb-0",n=void 0}return{v:n,h:l}}}}]);