(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[825],{37404:function(e,l,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/community/[slug]",function(){return o(33849)}])},2031:function(e,l,o){"use strict";o.d(l,{Z:function(){return MetaHead}});var n=o(85893),t=o(9008),i=o.n(t),a=o(11163);function MetaHead(e){var l,o,t,r,d=e.isContentful,s=e.isCustomTitle,u=e.isCustomRobots,c=e.isCustomDescription,m=e.isCustomImage,v=e.data,h=e.url,g=e.children,f=(0,a.useRouter)(),x=null!==(r=d?null==v?void 0:null===(l=v.seoImage)||void 0===l?void 0:l.url:null==v?void 0:null===(t=v.seoImage)||void 0===t?void 0:null===(o=t.asset)||void 0===o?void 0:o.url)&&void 0!==r?r:m,p=d&&!u?"index, follow, max-image-preview:large":(null==v?void 0:v.robots)||u,b=null!=s?s:null==v?void 0:v.seoTitle;b+=" | Loom ".concat(f.pathname.includes("/blog")?"Blog":"");var j=null!=c?c:null==v?void 0:v.seoDescription;return(0,n.jsxs)(i(),{children:[(0,n.jsx)("title",{children:b}),(0,n.jsx)("meta",{content:b,property:"og:title"}),(0,n.jsx)("meta",{content:j,name:"description"}),(0,n.jsx)("meta",{content:j,property:"og:description"}),(0,n.jsx)("meta",{content:x+"?fm=jpg",property:"og:image"}),(0,n.jsx)("meta",{content:x+"?fm=jpg",name:"twitter:image"}),(0,n.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,n.jsx)("meta",{content:h,property:"og:url"}),(0,n.jsx)("meta",{content:p,name:"robots"}),(0,n.jsx)("link",{href:null!=h?h:null==v?void 0:v.canonicalUrl,rel:"canonical"}),g]})}},63254:function(e,l,o){"use strict";o.d(l,{Z:function(){return ThreadBreadcrumb}});var n=o(85893),t=o(45697),i=o.n(t),a=o(70694),r=o(65970);function ThreadBreadcrumb(e){var l=e.heading;return(0,n.jsx)("div",{className:"w-full",children:(0,n.jsx)(r.Z,{href:"/community",children:(0,n.jsx)(a.Z,{background:!0,className:"mb-fixed-xl",iconBg:"white",iconSize:"sm",item:{heading:l,icon:"arrow-left"},scaleIcons:"inline",themeColor:"grey-20"})})})}ThreadBreadcrumb.defaultProps={heading:"Learn to Loom"},ThreadBreadcrumb.propTypes={heading:i().string}},3131:function(e,l,o){"use strict";o.d(l,{Z:function(){return ThreadByline}});var n=o(85893),t=o(93967),i=o.n(t),a=o(45697),r=o.n(a),d=o(56265),s=o(92673),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 l,o,t,a,r,c,m,v,h=e.bColor,g=e.byline,f=e.hideAvatar,x=e.hideTitle,p=e.transparent,b=e.themeColor,j=e.layout,y=u[j],T=!p&&(!(null==g?void 0:null===(o=g.avatar)||void 0===o?void 0:null===(l=o.asset)||void 0===l?void 0:l.url)||f);return(0,n.jsxs)("figcaption",{className:i()(null!=h?h:null===(t=(0,s.b)(b))||void 0===t?void 0:t.bodyText,y,p?"text-center justify-center":void 0,T?"md:text-center":void 0,"flex w-full items-center gap-md"),children:[(null==g?void 0:null===(r=g.avatar)||void 0===r?void 0:null===(a=r.asset)||void 0===a?void 0:a.url)&&!f&&(0,n.jsx)(d.Z,{altText:null!==(v=null==g?void 0:null===(c=g.avatar)||void 0===c?void 0:c.altText)&&void 0!==v?v: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,n.jsxs)("p",{className:"tweets"===j?"text-left":"",children:[(null==g?void 0:g.name)&&"Anon"!==g.name&&(0,n.jsx)("span",{className:i()(null!=h?h:(0,s.b)(b).bodyText,"thd-body-sm thd-bold"),children:null==g?void 0:g.name}),!x&&(null==g?void 0:g.jobTitle)&&(0,n.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:r().oneOfType([r().string,r().object,r().func]),className:r().string,hideAvatar:r().bool,transparent:r().bool,layout:r().oneOf(Object.keys(u)).isRequired,themeColor:r().string}},53974:function(e,l,o){"use strict";o.d(l,{Z:function(){return ThreadTestimonialCard}});var n=o(85893),t=o(93967),i=o.n(t),a=o(45697),r=o.n(a),d=o(25169);function TestimonialQuotation(e){var l=e.font,o=e.quotation,t=e.lineLength,a=e.transparent;return(0,n.jsx)("blockquote",{className:i()((0,d.h)(l).heading,a?"text-center":"md:text-center","thd-quote py-lg",t?"thd-max-".concat(t):"thd-max-2xl"),children:o})}var s=o(30830),u=o(3131),c=o(79682),m=o(92673),v=o(20434),h=o(56649);function ThreadTestimonialCard(e){var l,o,t,a,r,d,g,f,x,p=e.card,b=e.caseStudy,j=e.className,y=e.font,T=e.hideAvatar,w=e.hideLogos,C=e.themeColor,N=e.themeColorMode,_="white"===C,Z=null==p?void 0:null===(a=p.logo)||void 0===a?void 0:null===(t=a.image)||void 0===t?void 0:null===(o=t.asset)||void 0===o?void 0:null===(l=o.metadata)||void 0===l?void 0:l.dimensions,k=null==Z?void 0:Z.aspectRatio,L=(0,c.Z)(90,30,{aspectRatio:k,type:"horizontal-optimized"}),z=L.width,D=L.height,S="".concat(C,"-").concat({dark:"90",light:"10"}[N]),A="".concat(C,"-").concat({dark:"10",light:"90"}[N]);return(0,n.jsx)("figure",{className:i()(j,(0,m.b)(S).headerText,(0,m.b)(S).bg,"mx-auto thd-rounded-static",!_&&"p-fluid-sm lg:p-fluid-lg"),children:(0,n.jsxs)("div",{className:i()(_?"items-center":"md:items-center","flex flex-col justify-between md:h-full md:px-0"),style:{"--filter-color":null===(r=(0,m.b)(S))||void 0===r?void 0:r.logoFilter,"--logo-height":D+"px","--logo-width":z+"px"},children:[b&&(null==p?void 0:p.byline)&&(0,n.jsx)(u.Z,{byline:null==p?void 0:p.byline,themeColor:S}),(null==p?void 0:null===(d=p.logo)||void 0===d?void 0:d.image)&&!b&&!w&&(0,n.jsx)("img",{alt:null==p?void 0:null===(g=p.byline)||void 0===g?void 0:g.company,className:"thd-filter thd-logo w-full h-full",height:D,src:(0,v.ZP)(null==p?void 0:null===(f=p.logo)||void 0===f?void 0:f.image).url(),width:z,loading:"lazy"}),(null==p?void 0:p.quotation)&&(0,n.jsx)(TestimonialQuotation,{font:y,quotation:null==p?void 0:p.quotation,transparent:_}),!b&&(null==p?void 0:p.byline)&&(0,n.jsx)(u.Z,{byline:null==p?void 0:p.byline,hideAvatar:T,themeColor:S,transparent:_}),b&&(0,n.jsx)(s.Z,{buttonType:"secondary",color:A,cta:{link:"/customers/".concat((0,h.Z)(null==p?void 0:null===(x=p.byline)||void 0===x?void 0:x.company)),copy:"View Case Study"},size:"lg",type:"primary"})]})})}ThreadTestimonialCard.propTypes={card:r().object,caseStudy:r().bool,className:r().string,font:r().string,themeColor:r().string.isRequired,themeColorMode:r().string.isRequired},ThreadTestimonialCard.defaultProps={caseStudy:!1,themeColor:"violet",themeColorMode:"light",font:"xs"}},79195:function(e,l,o){"use strict";o.d(l,{Z:function(){return ThreadTestimonialCarousel}});var n=o(24043),t=o(85893),i=o(88780),a=o(84224),r=o(93967),d=o.n(r),s=o(67294),u=o(53974),c=o(92673),m=o(37926),v=o.n(m);function ThreadTestimonialCarousel(e){var l,o=e.bgVar,r=e.cards,m=e.className,h=e.font,g=e.lineLength,f=e.themeColorMode,x=e.hideLogos,p=(0,n._)((0,s.useState)(1),2),b=p[0],j=p[1],y=(0,n._)((0,s.useState)(!0),2),T=y[0],w=y[1];(0,s.useEffect)(function(){(1===b||b===r.length)&&w(!0)},[b,1,r.length]);var prev=function(){b>0&&j(function(e){return e-1})},C={0:"violet",1:"blue",2:"magenta",3:"green",4:"violet",5:"blue",6:"magenta",7:"green",8:"violet",9:"blue",10:"magenta",11:"green"},N=s.cloneElement((0,t.jsx)(u.Z,{card:r[0],font:h,index:-1===b,themeColor:C[0],themeColorMode:f},"cloneFirst")),_=s.cloneElement((0,t.jsx)(u.Z,{card:r[r.length-1],font:h,index:b===r.length,prev:prev,style:{transform:"translate3d(-100%, 0, 0)"},themeColor:C[(null==r?void 0:r.length)-1],themeColorMode:f},"cloneLast")),handleTransitionEnd=function(){0===b?(w(!1),j(r.length)):b===r.length+1&&(w(!1),j(1))};return(0,t.jsx)("section",{className:d()(v().container,m,"sm:gap-fluid-sm pb-fluid-lg lg:pb-0 lg:mb-fluid-lg overflow-x-hidden"),style:{"--gradientColor":o},children:(0,t.jsxs)("div",{className:"flex relative h-full w-full",children:[(0,t.jsx)("button",{"aria-label":"Previous testimonial",className:v().left,onClick:prev,type:"button",children:(0,t.jsx)(a.Z,{icon:(0,t.jsx)(i.Z,{}),size:"1.5em"})}),(0,t.jsx)("div",{className:"flex h-full w-full overflow-hidden",children:(0,t.jsxs)("div",{className:d()(v().content),onTransitionEnd:function(){return handleTransitionEnd()},style:{"--cardCount":r.length+2,"--transformValue":b,transition:T?void 0:"none","--curtainGradient":null===(l=(0,c.b)(null!=o?o:"white"))||void 0===l?void 0:l.bgVar},children:[_,null==r?void 0:r.map(function(e,l){return(0,t.jsx)(u.Z,{hideLogos:x,card:e,font:h,index:b===l+1,lineLength:g,themeColor:C[l],themeColorMode:f},e._id)}),N]})}),(0,t.jsx)("button",{"aria-label":"Next testimonial",className:v().right,onClick:function(){b {\n title,\n heading,\n headingSize,\n logoAlignment,\n logoSize,\n colorTheme,\n cta,\n logos[]-> {\n ...,\n image {\n asset-> {\n url,\n metadata {\n dimensions {\n height,\n width,\n aspectRatio\n }\n },\n }\n }\n }\n },\n loom-> {\n ...,\n categories[]-> {\n ...,\n },\n loom {\n ...,\n }\n },\n meta {\n slug {\n current\n },\n title,\n seoTitle,\n seoDescription,\n canonicalUrl,\n robots,\n seoImage {\n asset-> {\n url,\n metadata {\n dimensions {\n height,\n width\n }\n }\n }\n }\n },\n }\n']);return _templateObject=function(){return e},e}var A=d()(_templateObject()),E=!0;function LearnLoomTemplate(e){var l,o,n,i,r,d,s,C,N,_,Z,k,L,E,P,R,B,M,q,I,O,V,F,H,U,$,G,Q,X,J,K,W,Y,ee,el,eo,en,et,ei,ea,er,ed,es,eu,ec,em,ev=e.accountNavData,eh=e.eopData,eg=e.footerNavData,ef=e.initialData,ex=e.logoData,ep=e.navData,eb=e.preview,ej=e.testimonialData,ey=null==ef?void 0:ef.slug,eT=(0,S.$r)(A,{initialData:ef,params:{slug:null==ef?void 0:null===(r=ef.meta)||void 0===r?void 0:null===(i=r.slug)||void 0===i?void 0:i.current},enabled:eb,slug:ey}).data,ew=(null==eT?void 0:null===(d=eT.loom)||void 0===d?void 0:d.categories)&&(null==eT?void 0:null===(C=eT.loom)||void 0===C?void 0:null===(s=C.categories)||void 0===s?void 0:s.findIndex(function(e){return"bb7a0cbb-1c2f-42c4-b6f8-048507de3390"===e._id}))!==-1;(0,m.useEffect)(function(){var e;(0,D.L9)(z.VD,{source:"Learn to Loom Page ".concat(ey),videoId:null==eT?void 0:null===(e=eT.loom)||void 0===e?void 0:e._id,isCommunityLoom:ew})},[ey]);var eC=ew&&!((null==eT?void 0:null===(N=eT.loom)||void 0===N?void 0:N.description)||(null==eT?void 0:null===(_=eT.loom)||void 0===_?void 0:_.transcript)),eN=(l=(0,c.blockContentToPlainText)(null==eT?void 0:null===(Z=eT.loom)||void 0===Z?void 0:Z.description),o=new RegExp(/(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi),n=l.split(o),(0,t.jsx)(t.Fragment,{children:n.map(function(e){return e.match(o)?(0,t.jsx)("a",{className:"cursor-pointer pb-1 underline thd-focus-thin",href:/^www/.test(e)?"//".concat(e):e,target:"_blank",rel:"noopener",children:e},e):e})}));return(0,t.jsxs)(h.Z,{accountNavData:ev,footerNavData:eg,name:"Learn to Loom [".concat(null==eT?void 0:null===(L=eT.meta)||void 0===L?void 0:null===(k=L.slug)||void 0===k?void 0:k.current,"]"),navData:ep,preview:eb,children:[(0,t.jsx)(f.Z,{data:null==eT?void 0:eT.meta,isCustomDescription:null!==(ec=null==eT?void 0:null===(E=eT.meta)||void 0===E?void 0:E.seoDescription)&&void 0!==ec?ec:(0,c.blockContentToPlainText)(null==eT?void 0:null===(P=eT.loom)||void 0===P?void 0:P.description),isCustomImage:"https://cdn.sanity.io/images/pvn35iyy/production/74d348fb150b2f37076655b04c36ddf68eed23d5-1200x675.png",isCustomTitle:null!==(em=null==eT?void 0:null===(R=eT.meta)||void 0===R?void 0:R.seoTitle)&&void 0!==em?em:(0,c.blockContentToPlainText)(null==eT?void 0:null===(B=eT.category)||void 0===B?void 0:B.title),url:"https://mulligan.indiedemos.com/community/".concat(null==eT?void 0:null===(q=eT.meta)||void 0===q?void 0:null===(M=q.slug)||void 0===M?void 0:M.current)}),(0,t.jsxs)("section",{className:a()(eC?"communityLowDataView":"","thd-container-max mx-auto md:flex md:flex-col md:items-end mb-fluid-lg"),children:[(0,t.jsx)(p.Z,{heading:"Community"}),(0,t.jsxs)("div",{className:a()(eC?"":"xl:grid-cols-3","w-full grid grid-cols-1 gap-x-fixed-3xl mb-fixed-lg"),children:[(0,t.jsxs)("div",{children:[(null==eT?void 0:null===(O=eT.loom)||void 0===O?void 0:null===(I=O.loom)||void 0===I?void 0:I.title)&&(0,t.jsx)("h1",{className:"thd-heading-lg mb-fixed-xl",children:null==eT?void 0:null===(F=eT.loom)||void 0===F?void 0:null===(V=F.loom)||void 0===V?void 0:V.title}),(0,t.jsxs)("div",{className:a()(eC?"gap-fixed-md flex-row-reverse justify-end":"flex-col","flex"),children:[(null==eT?void 0:null===(H=eT.loom)||void 0===H?void 0:H.length)&&(0,t.jsx)(v.Z,{className:"mb-fixed-xl",iconSize:"sm",item:{heading:"".concat(null==eT?void 0:null===(U=eT.loom)||void 0===U?void 0:U.length," ").concat(u()("mins",Number(null==eT?void 0:null===($=eT.loom)||void 0===$?void 0:$.length))),icon:"clock"},scaleIcons:"inline",themeColor:"violet"}),(null==eT?void 0:null===(Q=eT.loom)||void 0===Q?void 0:null===(G=Q.categories)||void 0===G?void 0:G.length)>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-fixed-md mb-fixed-xl",children:null==eT?void 0:null===(J=eT.loom)||void 0===J?void 0:null===(X=J.categories)||void 0===X?void 0:X.map(function(e){var l;return(0,t.jsx)(T.Z,{href:"/community/collections/".concat(null==e?void 0:null===(l=e.slug)||void 0===l?void 0:l.current),children:(0,t.jsx)(j.Z,{cStyle:"categories",tag:null==e?void 0:e.title,themeColor:"violet-10"})},null==e?void 0:e._id)})})]}),(null==eT?void 0:null===(W=eT.loom)||void 0===W?void 0:null===(K=W.loom)||void 0===K?void 0:K.caption)&&(0,t.jsx)("p",{children:null==eT?void 0:null===(ee=eT.loom)||void 0===ee?void 0:null===(Y=ee.loom)||void 0===Y?void 0:Y.caption}),(null==eT?void 0:null===(el=eT.loom)||void 0===el?void 0:el.description)&&(0,t.jsx)("p",{className:"thd-body-lg whitespace-pre-wrap break-words",children:eN}),ew&&(null==eT?void 0:null===(en=eT.loom)||void 0===en?void 0:null===(eo=en.loom)||void 0===eo?void 0:eo.url)&&(0,t.jsx)(b.Z,{align:"stretch",buttonType:"primary",className:"mt-fixed-xl lg:hidden text-center",color:"violet-dark",cta:{link:"".concat(eT.loom.loom.url,"#comments"),copy:"View Comments and Reply"},size:"lg"}),(null==eT?void 0:null===(et=eT.loom)||void 0===et?void 0:et.transcript)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"sr-only thd-bold mb-fixed-sm",children:"Transcript"}),(0,t.jsx)(ThreadTranscriptToggle,{className:"mt-fixed-xl lg:hidden",item:null==eT?void 0:null===(ei=eT.loom)||void 0===ei?void 0:ei.transcript,themeColor:"violet-10"})]})]}),(0,t.jsxs)("div",{className:a()(eC?"lg:order-none":"xl:order-none","w-full xl:col-span-2 order-first"),children:[(0,t.jsx)("div",{className:"relative thd-aspect-widescreen-outer mb-fixed-3xl",children:(0,t.jsx)(g.Z,{className:"thd-aspect-inner",loom:null==eT?void 0:null===(ea=eT.loom)||void 0===ea?void 0:ea.loom})}),ew&&(null==eT?void 0:null===(ed=eT.loom)||void 0===ed?void 0:null===(er=ed.loom)||void 0===er?void 0:er.url)&&(0,t.jsx)(b.Z,{align:"stretch",buttonType:"primary",className:"hidden lg:block mb-fixed-3xl text-center",color:"violet-dark",cta:{link:"".concat(eT.loom.loom.url,"#comments"),copy:"View Comments and Reply"},size:"lg"}),(null==eT?void 0:null===(es=eT.loom)||void 0===es?void 0:es.transcript)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"sr-only thd-bold mb-fixed-sm",children:"Transcript"}),(0,t.jsx)(ThreadTranscriptToggle,{className:"hidden lg:block",item:null==eT?void 0:null===(eu=eT.loom)||void 0===eu?void 0:eu.transcript,themeColor:"violet-10"})]})]})]})]}),ex&&(0,t.jsx)(x.Z,{data:ex,gradient:!0,lineLength:"xl",themeColor:"grey-10"}),ej&&(0,t.jsx)(w.Z,{cards:null==ej?void 0:ej.list,className:"mb-fluid-lg",themeColorMode:"light"}),(null==eh?void 0:eh.cta)?(0,t.jsx)(y.Z,{cta:null==eh?void 0:eh.cta,heading:null==eh?void 0:eh.heading}):(0,t.jsx)("div",{className:"h-fluid-lg thd-prefooter",style:{"--footer-bg":"var(--thd-color-violet-10)"}})]})}},37926:function(e){e.exports={container:"ThreadTestimonialCarousel_container__3hu57",left:"ThreadTestimonialCarousel_left__ioRt3",right:"ThreadTestimonialCarousel_right__9bhB0",content:"ThreadTestimonialCarousel_content__ODboU",avatar:"ThreadTestimonialCarousel_avatar__3d3SV"}}},function(e){e.O(0,[2786,7743,9582,6905,8117,6616,9545,5153,479,2374,900,2673,8613,7322,6544,3151,9565,1792,9774,2888,179],function(){return e(e.s=37404)}),_N_E=e.O()}]);