(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8840],{85128:function(e,t,n){"use strict";var r,a=n(67294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE */Object.defineProperty(t,"__esModule",{value:!0});var r=n(48564),a=n(2267),o=n(72253),l=n(14932);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});var i=n(38754)._(n(67294)),s=n(77240),c=[],u=[],d=!1;function load(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(function(e){return n.loading=!1,n.loaded=e,e}).catch(function(e){throw n.loading=!1,n.error=e,e}),n}var m=function(){function LoadableSubscription(e,t){r._(this,LoadableSubscription),this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return a._(LoadableSubscription,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"==typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout(function(){e._update({pastDelay:!0})},n.delay)),"number"==typeof n.timeout&&(this._timeout=setTimeout(function(){e._update({timedOut:!0})},n.timeout))),this._res.promise.then(function(){e._update({}),e._clearTimeouts()}).catch(function(t){e._update({}),e._clearTimeouts()}),this._update({})}},{key:"_update",value:function(e){this._state=o._(l._(o._({},this._state),{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading}),e),this._callbacks.forEach(function(e){return e()})}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),LoadableSubscription}();function Loadable(e){return function(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function init(){if(!r){var t=new m(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!d){var a=n.webpack?n.webpack():n.modules;a&&u.push(function(e){var t=!0,n=!1,r=void 0;try{for(var o,l=a[Symbol.iterator]();!(t=(o=l.next()).done);t=!0){var i=o.value;if(e.includes(i))return init()}}catch(e){n=!0,r=e}finally{try{t||null==l.return||l.return()}finally{if(n)throw r}}})}function LoadableComponent(e,t){init(),(a=i.default.useContext(s.LoadableContext))&&Array.isArray(n.modules)&&n.modules.forEach(function(e){a(e)});var a,o=i.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return i.default.useImperativeHandle(t,function(){return{retry:r.retry}},[]),i.default.useMemo(function(){var t;return o.loading||o.error?i.default.createElement(n.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:r.retry}):o.loaded?i.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return LoadableComponent.preload=function(){return init()},LoadableComponent.displayName="LoadableComponent",i.default.forwardRef(LoadableComponent)}(load,e)}function flushInitializers(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then(function(){if(e.length)return flushInitializers(e,t)})}Loadable.preloadAll=function(){return new Promise(function(e,t){flushInitializers(c).then(e,t)})},Loadable.preloadReady=function(e){return void 0===e&&(e=[]),new Promise(function(t){var res=function(){return d=!0,t()};flushInitializers(u,e).then(res,res)})},window.__NEXT_PRELOADREADY=Loadable.preloadReady;var h=Loadable},89191:function(e,t,n){"use strict";n.d(t,{Z:function(){return BlogButton}});var r=n(72253),a=n(14932),o=n(47702),l=n(85893),i=n(36842),s=n(28648),c=n(34297),u=n(93967),d=n.n(u),m=n(67329),h=n(95499),p=n.n(h),f={primary:p().variantPrimary,primaryDown:p().variantPrimaryDown,secondary:p().variantSecondary,play:p().variantPlay,playPrimary:p().variantPlayPrimary},g={white:p().styleWhite,purple:p().stylePurple,purpleOnDark:p().stylePurpleOnDark,ghost:p().styleGhost,mute:p().styleMute,black:p().styleBlack};function BlogButton(e){var t=e.children,n=e.className,i=e.style,s=e.variant,c=e.arrow,u=void 0===c?"primary"===s:c,h=(0,o._)(e,["children","className","style","variant","arrow"]),p=h.href?m.Z:"button";return(0,l.jsxs)(p,(0,a._)((0,r._)({},h),{className:d()(f[s],g[i],n),type:h.href?void 0:"button",children:["play"===s&&(0,l.jsx)(PlayIcon,{className:"mr-4"}),"playPrimary"===s&&(0,l.jsx)(PlayIcon,{className:"mr-4"}),t,"primary"===s&&u&&(0,l.jsx)(PrimaryIcon,{className:"ml-10"}),"primaryDown"===s&&u&&(0,l.jsx)(PrimaryIcon,{className:"rotate-90 ml-10"})]}))}function PlayIcon(e){return(0,l.jsx)("span",(0,a._)((0,r._)({},e),{children:(0,l.jsx)(c.Z,{color:"currentColor",icon:(0,l.jsx)(s.Z,{})})}))}function PrimaryIcon(e){return(0,l.jsx)("span",(0,a._)((0,r._)({},e),{children:(0,l.jsx)(c.Z,{color:"currentColor",icon:(0,l.jsx)(i.Z,{})})}))}},72416:function(e,t,n){"use strict";n.d(t,{Z:function(){return ShareLink}});var r=n(85893),a=n(41664),o=n.n(a);function ShareLink(e){var t=e.children,n=e.url,a=e.org,l=e.isAuthor,i=void 0!==l&&l;return(0,r.jsx)(o(),{"aria-label":"".concat(i?"Connect on ".concat(a):"Share this article on ".concat(a)),title:"".concat(i?"Connect on ".concat(a):"Share this article on ".concat(a)),className:"thd-focus-thin flex items-center justify-center w-[44px] h-[44px] rounded-full bg-thd-color-violet-10",href:n,rel:"noopener",target:"_blank",children:t})}},14264:function(e,t,n){"use strict";n.d(t,{Z:function(){return Link}});var r=n(72253),a=n(14932),o=n(47702),l=n(85893),i=n(93967),s=n.n(i),c=n(41664),u=n.n(c);function Link(e){var t=e.as,n=e.children,i=e.className,c=e.href,d=e.prefetch,m=e.replace,h=e.scroll,p=e.shallow,f=e.target,g=e.variant,x=(0,o._)(e,["as","children","className","href","prefetch","replace","scroll","shallow","target","variant"]),v=s()("primary"===g?"text-blurple hover:text-purple-hover":"",i,"cursor-pointer pb-1 underline thd-focus-thin");if(/^(http|mailto|tel)/.test(c)){var _="_blank"===(f=null!=f?f:"_blank")?"noopener":null;return(0,l.jsx)("a",(0,a._)((0,r._)({},x),{className:v,href:c,rel:_,target:f,children:n}))}return/^(#)/.test(c)?(0,l.jsx)("a",(0,a._)((0,r._)({},x),{className:v,href:c,children:n})):(0,l.jsx)(u(),(0,a._)((0,r._)({as:t,href:c,passHref:!0,prefetch:d,replace:m,scroll:h,shallow:p,className:v},x),{children:n}))}Link.defaultProps={variant:"primary"}},61274:function(e,t,n){"use strict";var r=n(67294),a=n(74288);t.Z=(0,r.memo)(function(e){var t=e.content;return(0,a.Z)(t)})},47898:function(e,t,n){"use strict";n.d(t,{Z:function(){return addParams}});var r=n(248);function addParams(e,t){if(e){if(!t)return e;var n=new URL(e);return n.search=new URLSearchParams((0,r._)(n.searchParams).concat((0,r._)(new URLSearchParams(t)))),n.toString()}}},74288:function(e,t,n){"use strict";n.d(t,{R:function(){return deriveHeadingId},Z:function(){return renderRichText}});var r,a=n(75766),o=n(72253),l=n(14932),i=n(248),s=n(85893),c=n(32924),u=n(74129),d=n(86437),m=n(93024),h=n(25675),p=n.n(h),f=n(24043),g=n(93967),x=n.n(g),v=n(35560);function Embed(e){var t=e.description,n=e.src,r=e.highlightBackground,a=e.className,o=e.ratio,l=null!=o?o:"4:3",i=(0,f._)(l.split(":"),2),c=i[0],u=Math.round(100*(parseInt(i[1],10)/parseInt(c,10)))+"%";if(n.includes("https://twitter.com/")){var d,m=null===(d=n.match(/status\/(\d+)/))||void 0===d?void 0:d[1];return(0,s.jsx)("div",{className:"flex justify-center","data-theme":"light",children:(0,s.jsx)(v.t,{id:m})})}return n.includes("youtube.com/embed")?(0,s.jsx)("div",{className:x()("loom-embed",r&&"loom-embed-highlighted"),children:(0,s.jsx)("div",{className:x()(a,"lo-emb-vid block relative md:rounded-md overflow-hidden -mx-20 md:mx-0",o?"aspect-ratio":"pb-75%"),style:{"--aspect-padding":u},children:(0,s.jsx)("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute w-full h-full",frameBorder:"0",src:n,webkitallowfullscreen:"true"})})}):(0,s.jsxs)("div",{className:x()("loom-embed",r&&"loom-embed-highlighted"),children:[(0,s.jsx)("div",{className:x()(a,"lo-emb-vid block relative md:rounded-md overflow-hidden -mx-20 md:mx-0",o?"aspect-ratio":"pb-75%"),style:{"--aspect-padding":u},children:(0,s.jsx)("iframe",{allowFullScreen:!0,className:"absolute w-full h-full",frameBorder:"0",loading:"lazy",mozallowfullscreen:"true",src:n.replace("loom.com/share/","loom.com/embed/"),webkitallowfullscreen:"true"})}),t&&(0,s.jsx)("div",{className:"lm-blog-headline-xs-alt text-center mt-12",children:renderRichText(t)})]})}var _=n(14264),y=n(84834);function deriveHeadingId(e){return(0,y.Z)((0,c.a)(e))}var b=(r={},(0,a._)(r,d.BLOCKS.HEADING_2,function(e,t){return(0,s.jsx)("h2",{id:deriveHeadingId(e),children:t})}),(0,a._)(r,d.BLOCKS.HEADING_3,function(e,t){return(0,s.jsx)("h3",{id:deriveHeadingId(e),children:t})}),(0,a._)(r,d.BLOCKS.HEADING_4,function(e,t){return(0,s.jsx)("h4",{id:deriveHeadingId(e),children:t})}),(0,a._)(r,d.BLOCKS.HEADING_5,function(e,t){return(0,s.jsx)("h5",{id:deriveHeadingId(e),children:t})}),(0,a._)(r,d.BLOCKS.HEADING_6,function(e,t){return(0,s.jsx)("h6",{id:deriveHeadingId(e),children:t})}),(0,a._)(r,d.BLOCKS.EMBEDDED_ASSET,function(e){var t=e.data.target;return(0,s.jsxs)("figure",{children:[(0,s.jsx)(p(),{src:t.url,height:t.height,width:t.width,alt:t.title,className:"rounded-md mx-auto"}),(0,s.jsx)("figcaption",{className:"lm-blog-headline-xs-alt text-center mt-12",children:t.description})]})}),(0,a._)(r,d.INLINES.HYPERLINK,function(e,t){return(0,s.jsx)(_.Z,{href:e.data.uri,children:t})}),(0,a._)(r,d.INLINES.ASSET_HYPERLINK,function(e,t){return(0,s.jsx)(_.Z,{href:e.data.target.url,children:t})}),r),j={Embed:function(e){return(0,s.jsx)(Embed,{description:e.data.target.description,highlightBackground:e.data.target.highlightBackground,src:e.data.target.url,title:e.data.target.url})}};function renderRichText(e){var t,n,r,c,h,p,f,g,x,v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(null==e?void 0:e.json))return null;var _=e.json,y=e.links,w=y?(c=function(e){return e?e.reduce(function(e,t){var n,r=null==t?void 0:null===(n=t.sys)||void 0===n?void 0:n.id;return r&&(e[r]=t),e},{}):{}},h=function(e,t){var n;e.nodeType&&t(e),(null===(n=e.content)||void 0===n?void 0:n.length)&&e.content.forEach(function(e){return h(e,t)})},p=(0,m.Y)(_),f=c(null==y?void 0:null===(t=y.assets)||void 0===t?void 0:t.hyperlink),g=c(null==y?void 0:null===(n=y.assets)||void 0===n?void 0:n.block),x=c(null==y?void 0:null===(r=y.entries)||void 0===r?void 0:r.block),h(p,function(e){switch(e.nodeType){case"asset-hyperlink":var t=e.data.target.sys.id;e.data.target=f[t];break;case"embedded-asset-block":var n=e.data.target.sys.id;e.data.target=g[n];break;case"embedded-entry-block":var r=e.data.target.sys.id;e.data.target=x[r]}}),p):_;return(0,u.h)(w,{renderNode:(0,l._)((0,o._)({},b,null==v?void 0:v.renderNode),(0,a._)({},d.BLOCKS.EMBEDDED_ENTRY,function(e){var t,n,r,a=(0,o._)({},j,null==v?void 0:v.renderEmbeddedEntry),l=null===(t=e.data.target)||void 0===t?void 0:t.__typename;return l&&null!==(r=null===(n=a[l])||void 0===n?void 0:n.call(a,e))&&void 0!==r?r:null})),renderText:function(e){return e.split("\n").reduce(function(e,t,n){return(0,i._)(e).concat([n>0&&(0,s.jsx)("br",{},"".concat(n).concat(t)),t])},[])}})}},13608:function(e,t,n){"use strict";n.d(t,{ZP:function(){return urlFor},gn:function(){return querySanity}});var r=n(11010),a=n(70655);n(12870);var o=n(6803),l=n.n(o),i=(0,n(97248).s)();function querySanity(e,t){return _querySanity.apply(this,arguments)}function _querySanity(){return(_querySanity=(0,r._)(function(e,t){return(0,a.Jh)(this,function(n){return[2,i.fetch(e,t)]})})).apply(this,arguments)}var s=l()({projectId:"pvn35iyy",dataset:"production"});function urlFor(e){return s.image(e)}},97248:function(e,t,n){"use strict";n.d(t,{s:function(){return getClient}});var r=n(72253),a=n(14932),o=n(80476),l={projectId:"pvn35iyy",dataset:"production",apiVersion:"2021-10-21"};function getClient(e){return(0,o.eI)((0,a._)((0,r._)({},l),{useCdn:!e,perspective:e?"previewDrafts":"published",stega:{enabled:!!e,studioUrl:"https://loom.sanity.studio"},token:e}))}},41984:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return eu},default:function(){return BlogPost}});var r,a,o=n(72253),l=n(14932),i=n(85893),s=n(11163),c=n(41664),u=n.n(c),d=n(25675),m=n.n(d),h=n(514);n(28687);var p=n(82729),f=n(12870),g=n.n(f);function _templateObject(){var e=(0,p._)(['\n*[_type == "navigation" && title == "Main Nav"][0] {\n title,\n heading,\n group[]-> {\n ...,\n heading,\n linkBlock[]-> {\n ...,\n },\n }\n}\n']);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,p._)(['\n*[_type == "navigation" && title == "Footer Nav (Thread)"][0] {\n title,\n heading,\n group[]-> {\n ...,\n heading,\n linkBlock[]-> {\n ...,\n },\n }\n}\n']);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,p._)(['\n*[_type == "navigation" && title == "Main Account Nav"][0] {\n title,\n heading,\n group[]-> {\n ...,\n heading,\n linkBlock[]-> {\n ...,\n },\n }\n}\n']);return _templateObject2=function(){return e},e}function _templateObject3(){var e=(0,p._)(['\n*[_type == "end-of-page" && title == "Standard"][0] {\n cta,\n heading,\n ...\n}\n']);return _templateObject3=function(){return e},e}function _templateObject4(){var e=(0,p._)(['\n*[_type == "logoPond" && title == "Thread Standard"][0] {\n ...,\n title,\n colorTheme,\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']);return _templateObject4=function(){return e},e}function _templateObject5(){var e=(0,p._)(['\n*[_type == "end-of-page" && title == "Standard"][0] {\n cta,\n heading,\n ...\n}\n']);return _templateObject5=function(){return e},e}g()(_templateObject()),g()(_templateObject1()),g()(_templateObject2()),g()(_templateObject3()),g()(_templateObject4()),g()(_templateObject5()),n(13608);var x=n(32924),v=n(89679),structuredData=function(e){var t,n,r,a,o=[];return e.author.linkedIn&&o.push(e.author.linkedIn),e.author.twitter&&o.push(e.author.twitter),{"@context":"http://schema.org","@type":"BlogPosting",image:null===(t=e.seoImage)||void 0===t?void 0:t.url,datePublished:e.publishDate,headline:e.title,inLanguage:"en-US",description:e.seoDescription,author:{"@type":"Person",name:e.author.fullName,jobTitle:e.author.title,image:e.author.avatar.url,sameAs:o,description:(null==e?void 0:null===(n=e.author)||void 0===n?void 0:n.bio)?(0,x.a)(null==e?void 0:null===(a=e.author)||void 0===a?void 0:null===(r=a.bio)||void 0===r?void 0:r.json):void 0},publisher:{"@type":"Organization",name:"Loom",url:"https://mulligan.indiedemos.com"}}},_=n(41730),y=n(69149),b=n(47702),j=n(24043),w=n(36842),N=n(28648),P=n(34297),k=n(93967),S=n.n(k),B=n(5152),L=n.n(B),O=n(67294),C=n(40414),I=n.n(C),E={primary:I().variantPrimary,secondary:I().variantSecondary,play:I().variantPlay,playPrimary:I().variantPlayPrimary,text:I().variantText},Z={purple:I().stylePurple,ghost:I().styleGhost,mute:I().styleMute,tealDark:I().styleTealDark},D=L()(function(){return Promise.all([n.e(5866),n.e(4870)]).then(n.bind(n,21868))},{loadableGenerated:{webpack:function(){return[21868]}}});function LoomButton(e){var t=e.loom,n=e.style,r=e.className,a=e.variant,s=e.children,c=e.arrow,u=(0,b._)(e,["loom","style","className","variant","children","arrow"]),d=u.href?"a":"button",m=(0,j._)((0,O.useState)(!1),2),h=m[0],p=m[1];return(0,i.jsxs)("div",{children:[(0,i.jsxs)(d,(0,l._)((0,o._)({},u),{className:S()(E[a],Z[n],r),onClick:function(e){var t;p(!0),null===(t=u.onClick)||void 0===t||t.call(u,e)},type:u.href?"a":"button",children:["play"===a&&(0,i.jsx)(PlayIcon,{className:"mr-4"}),"playPrimary"===a&&(0,i.jsx)(PlayIcon,{className:"mr-4"}),s,"primary"===a&&(void 0===c?"primary"===a:c)&&(0,i.jsx)(PrimaryIcon,{className:"ml-10"})]})),h&&(0,i.jsx)(D,{loomURL:t,onClose:function(){return p(!1)}})]})}function PlayIcon(e){return(0,i.jsx)("span",(0,l._)((0,o._)({},e),{children:(0,i.jsx)(P.Z,{color:"currentColor",icon:(0,i.jsx)(N.Z,{})})}))}function PrimaryIcon(e){return(0,i.jsx)("span",(0,l._)((0,o._)({},e),{children:(0,i.jsx)(P.Z,{color:"currentColor",icon:(0,i.jsx)(w.Z,{})})}))}var T=n(1670),R=n(61274),M=n(57572),A=n(61431);function FeaturedPostsSection(e){var t=e.posts;return(0,i.jsx)("section",{className:"bg-thd-color-violet-90 pt-[70px] pb-[15px] lg:pb-[55px] lg:pt-[110px]",children:(0,i.jsxs)(A.Z,{children:[(0,i.jsx)("h2",{className:"text-thd-color-violet-10 text-3xl md:text-4xl tracking-tighter font-medium mb-[55px] text-center",children:"Related articles"}),(0,i.jsx)(M.Z,{posts:t})]})})}var H=n(31829),z=n(74288);function BlogTableOfContents(e){var t=e.theme,n=e.headings,r=(0,H.H)(),a=r.activeContents,o=r.setActiveContents;return(0,i.jsxs)("div",{className:"p-30 ".concat(t.bg10," rounded-md mb-24"),children:[(0,i.jsx)("p",{className:"uppercase text-12 font-medium ".concat(t.text90," border-b ").concat(t.border20," pb-12 mb-12"),children:"Table of contents"}),n.map(function(e,n){return(0,i.jsx)("a",{className:"text-16 py-12 pl-12 pr-24 block rounded-md ".concat(t.text80," hover:font-bold ").concat(a===(0,z.R)(e)?"font-bold ".concat(t.bg20," ").concat(t.hoverBg30):""),href:"#".concat((0,z.R)(e)),onClick:function(){return o((0,z.R)(e))},children:e.content[0].value},n)})]})}var G=n(71691),F=n.n(G),U=n(80376);function BlogSubscribeSideRail(e){var t=e.theme;return(0,i.jsxs)("div",{className:"p-30 ".concat(t.bg10," rounded-md mb-24"),children:[(0,i.jsx)("p",{className:"uppercase text-12 font-medium ".concat(t.text90," mb-12"),children:"SUBSCRIBE TO OUR NEWSLETTER"}),(0,i.jsx)("div",{className:"".concat(F().hubspotForm," ").concat(F()["blog-subscribe"]),children:(0,i.jsx)(U.Z,{formId:"34248e8c-5e92-4132-aaa1-7ebf9a430956",portalId:"6555299"})})]})}var V=n(57990);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&(0,i.jsx)(BlogTableOfContents,{theme:n,headings:t}),t.length<5&&(0,i.jsx)(BlogSubscribeSideRail,{theme:n}),(0,i.jsx)(BlogShareLinks,{theme:n,canonicalUrl:l,encodedUrl:c,title:r})]})}var Y=n(48736);function ProgressBar(e){var t=e.theme,n=(0,H.H)().navHeight,r=(0,j._)((0,O.useState)(0),2),a=r[0],o=r[1],handleScroll=function(){o(window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100)};return(0,O.useEffect)(function(){return window.addEventListener("scroll",handleScroll),function(){window.removeEventListener("scroll",handleScroll)}},[]),(0,i.jsx)("div",{className:"".concat(t.bg20," w-full h-10 sticky z-30"),style:{top:n-2+"px"},children:(0,i.jsx)("div",{className:"absolute left-0 top-0 bottom-0 h-full z-20 ".concat(t.bg60," rounded-r-full"),style:{width:a+"%"}})})}var J=n(75766),Q=n(89191),$=n(86437),ee=n(9008),et=n.n(ee),en=n(45697),er=n.n(en),ea=n(47898);function ContentfulImage(e){var t=e.alt,n=e.layout,r=e.priority,a=e.src,s=e.sourceSizes,c=e.pictureProp,u=(0,b._)(e,["alt","layout","priority","src","sourceSizes","pictureProp"]),d=r?"eager":u.loading;if("svg"===a.split(".").pop())return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("img",(0,l._)((0,o._)({},u),{loading:d,src:a,alt:t})),r&&(0,i.jsx)(et(),{children:(0,i.jsx)("link",{as:"image",href:a,rel:"preload"})})]});if("fixed-height"===n){var m=u.height;return(0,i.jsxs)("picture",{className:c,children:[(0,i.jsx)("source",{srcSet:["".concat((0,ea.Z)(a,"fm=webp&h=".concat(m))," 1x"),"".concat((0,ea.Z)(a,"fm=webp&h=".concat(2*m))," 2x")].join(", "),type:"image/webp"}),(0,i.jsx)("img",(0,l._)((0,o._)({},u),{src:a,alt:t}))]})}if("fixed-width"===n){var h=u.width;return(0,i.jsxs)("picture",{className:c,children:[(0,i.jsx)("source",{srcSet:["".concat((0,ea.Z)(a,"fm=webp&w=".concat(h))," 1x"),"".concat((0,ea.Z)(a,"fm=webp&w=".concat(2*h))," 2x")].join(", "),type:"image/webp"}),(0,i.jsx)("img",(0,l._)((0,o._)({},u),{src:a,alt:t}))]})}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("picture",{className:c,children:[Object.entries(s).map(function(e){var t=(0,j._)(e,2),n=t[0],r=t[1];return(0,i.jsxs)(O.Fragment,{children:[(0,i.jsx)("source",{media:n,srcSet:["".concat((0,ea.Z)(a,"w=".concat(r,"&fm=webp"))," 1x"),"".concat((0,ea.Z)(a,"w=".concat(2*r,"&fm=webp"))," 2x")].join(", "),type:"image/webp"}),(0,i.jsx)("source",{media:n,srcSet:["".concat((0,ea.Z)(a,"w=".concat(r))," 1x"),"".concat((0,ea.Z)(a,"w=".concat(2*r))," 2x")].join(", ")})]},n)}),(0,i.jsx)("source",{srcSet:"".concat(a,"?fm=webp"),type:"image/webp"}),(0,i.jsx)("img",(0,l._)((0,o._)({},u),{loading:d,src:a,alt:t}))]}),r&&(0,i.jsx)(et(),{children:Object.entries(s).map(function(e){var t=(0,j._)(e,2),n=t[0],r=t[1];return(0,i.jsxs)(O.Fragment,{children:[(0,i.jsx)("link",{as:"image",href:(0,ea.Z)(a,"w=".concat(r,"&fm=webp")),media:n,rel:"preload"}),(0,i.jsx)("link",{as:"image",href:(0,ea.Z)(a,"w=".concat(2*r,"&fm=webp")),media:"".concat(n," and (-webkit-min-device-pixel-ratio: 2)"),rel:"preload"})]},n)})})]})}ContentfulImage.defaultProps={decoding:"async",loading:"lazy",priority:!1,layout:"responsive",sourceSizes:{"(max-width: 400px)":400,"(max-width: 600px)":600,"(max-width: 800px)":800,"(min-width: 800px)":1e3}},ContentfulImage.propTypes={alt:er().string.isRequired,priority:er().bool,layout:er().oneOf(["responsive","fixed-width","fixed-height"]),pictureProp:er().string,sourceSizes:er().objectOf(er().number),src:er().string.isRequired,className:er().string};var eo=n(20203),el=n.n(eo);function BlogTestimonial(e){var t=e.content,n=e.citationName,r=e.citationAvatar;return(0,i.jsxs)("figure",{className:"flex flex-col md:flex-row my-48",children:[r&&(0,i.jsx)("div",{className:"flex-shrink-0 mb-16 md:mr-16 md:mb-0",children:(0,i.jsx)(ContentfulImage,{alt:"",className:"w-64 h-64 object-cover rounded-full",layout:"fixed-width",src:(0,ea.Z)(r,"r=max"),width:64})}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("blockquote",{className:el().content,children:["“",t,"”"]}),(0,i.jsxs)("figcaption",{className:"lm-blog-headline-xs-alt mt-16",children:["– ",n]})]})]})}var ei=n(70131),es=n(7918),ec=n.n(es);function BlogPostBody(e){var t=e.content,n=(0,H.H)(),r=n.navHeight,a=n.setActiveContents;return(0,i.jsx)("div",{className:"".concat(ec().postContent," pb-55 border-b border-thd-color-grey-80 text-thd-color-grey-80 mb-16"),children:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return(0,z.Z)(e,{renderNode:(t={},(0,J._)(t,$.BLOCKS.HEADING_2,function(e,t){return(0,i.jsx)(ei.df,{threshold:.5,onChange:function(t){t&&r((0,z.R)(e))},children:(0,i.jsx)("h2",{className:"text-2xl md:text-4xl tracking-tighter font-medium text-thd-color-grey-80 mt-64 ",style:{scrollMarginTop:n+"px"},id:(0,z.R)(e),children:t})})}),(0,J._)(t,$.BLOCKS.HEADING_3,function(e,t){return(0,i.jsx)("h3",{className:"text-2xl font-medium mt-48",id:(0,z.R)(e),children:t})}),(0,J._)(t,$.BLOCKS.HEADING_4,function(e,t){return(0,i.jsx)("h3",{className:"lm-blog-headline-xs mt-36",id:(0,z.R)(e),children:t})}),t),renderEmbeddedEntry:{Cta:function(e){return(0,i.jsx)("div",{className:"flex flex-wrap items-center lm-blog-headline-xs-alt",children:(0,i.jsx)(Q.Z,(0,l._)((0,o._)({},e.data.target),{className:"thd-focus-thick font-medium text-sm md:text-base",href:e.data.target.link,style:!0===e.data.target.buttonStyle?"purple":"ghost",variant:!0===e.data.target.buttonSize?"primary":"secondary",children:e.data.target.copy}))})},CalloutsBlock:function(e){var t=e.data.target,n=t.heading,r=t.callouts;return(0,i.jsxs)("aside",{className:S()(ec().additionalReading,"bg-white my-72 pb-12"),children:[(0,i.jsx)("h2",{className:"lm-blog-headline-md pb-24 border-b mb-16",children:(0,i.jsx)("i",{children:n})}),(0,i.jsx)("ul",{className:"list-none grid gap-48 sm:grid-cols-2",children:r.items.map(function(e){return(0,i.jsxs)("li",{children:[(0,i.jsx)("a",{className:"thd-body-lg font-circular hover:underline",href:e.link,children:e.heading}),(0,i.jsx)("p",{className:"lm-blog-headline-xs-alt mt-4",children:e.description})]},e.heading)})})]})},Testimonial:function(e){var t,n,r;return(0,i.jsx)(BlogTestimonial,{citationAvatar:null===(n=e.data.target.author)||void 0===n?void 0:null===(t=n.avatar)||void 0===t?void 0:t.url,citationName:null===(r=e.data.target.author)||void 0===r?void 0:r.fullName,content:e.data.target.content})}}})}(t,r+32,a)})}var eu=!0;function BlogPost(e){var t,n,r,a,c=e.entry,d=e.categories,p=e.footerNavData,f=e.recommendedPosts,g=e.preview,x=(0,s.useRouter)(),b=c.content.json.content.filter(function(e){return"heading-2"===e.nodeType}),j=("https://mulligan.indiedemos.com"+("/"===x.asPath?"":x.asPath)).split("?")[0],w=null===(n=c.introLoom)||void 0===n?void 0:n.replace(/.+share\//,""),N=c.introLoom&&(0,i.jsxs)("section",{children:[(0,i.jsx)("h2",{className:"lm-blog-headline-xxs mb-8 lg:mb-12 uppercase",children:"Watch Loom Intro:"}),(0,i.jsxs)(LoomButton,(0,l._)((0,o._)({},c.introLoom),{loom:c.introLoom,children:[(0,i.jsx)("span",{className:"sr-only",children:"Watch Loom intro"}),(0,i.jsx)("img",{alt:"",className:"w-140",decoding:"async",loading:"lazy",src:"https://cdn.loom.com/sessions/thumbnails/".concat(w,"-with-play.jpg")})]}))]}),P=(t=c.publishDate,new Date(t).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})),k=c.taxonomies.items.filter(function(e){return e.isCategory})[0],S=c.taxonomies.items.filter(function(e){return!e.isCategory}),B=(0,h.v2)(k?k.slug:""),L=(0,h.lD)(B),O=c.indexPost||null===c.indexPost?"index, follow":"noindex, follow";return(0,i.jsxs)(y.Z,{categories:d,name:"Blog Post: ".concat(c.title),preview:g,footerNavData:p,children:[(0,i.jsxs)(T.Z,{data:c,isContentful:!0,isCustomTitle:c.title,url:j,isCustomImage:null!==(a=null===(r=c.seoImage)||void 0===r?void 0:r.url)&&void 0!==a?a:v.Wg,isCustomRobots:O,children:[(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(structuredData(c))},type:"application/ld+json"}),(0,i.jsx)("script",{async:!0,defer:!0,id:"hs-script-loader",src:"https://js.hs-scripts.com/6555299.js",type:"text/javascript"})]}),(0,i.jsx)("header",{className:"py-[70px] lg:py-[110px] ".concat(L.bg10),children:(0,i.jsx)(A.Z,{children:(0,i.jsxs)("div",{className:"flex flex-wrap justify-center",children:[(0,i.jsxs)("div",{className:"".concat(c.featuredImage?"lg:w-1/3 px-12 mb-24 lg:mb-0":"lg:w-8/12 text-center"),children:[P&&(0,i.jsx)("p",{className:"mb-24 uppercase font-medium text-12 ".concat(L.text90),children:P}),(0,i.jsx)("h1",{className:"text-3xl md:text-5xl font-medium mb-24 tracking-tighter ".concat(L.text90),children:c.styledTitle?(0,i.jsx)(R.Z,{content:c.styledTitle}):c.title}),(0,i.jsx)("div",{className:"".concat(c.featuredImage?"":"flex justify-center text-center md:text-left"),children:(0,i.jsx)(_.Z,{author:c.author,theme:L})}),k&&(0,i.jsxs)("div",{className:"flex mt-24 space-x-12 ".concat(c.featuredImage?"":"justify-center"),children:[k&&(0,i.jsx)(u(),{href:"/blog/categories/".concat(k.slug),className:"px-12 py-4 ".concat(L.bg20," rounded-lg ").concat(L.text90," text-12 ").concat(L.hoverBg30),children:null==k?void 0:k.title}),S.map(function(e,t){return(0,i.jsx)(u(),{href:"/blog/tags/".concat(e.slug),className:"px-12 py-4 ".concat(L.bg20," rounded-lg ").concat(L.text90," text-12 ").concat(L.hoverBg30),children:null==e?void 0:e.title},t)})]})]}),c.featuredImage&&(0,i.jsx)("div",{className:"lg:w-2/3 px-12",children:(0,i.jsx)(m(),{alt:c.title,className:"w-full rounded-md",height:c.featuredImage.height,src:c.featuredImage.url,width:c.featuredImage.width})})]})})}),(0,i.jsxs)("div",{children:[(0,i.jsx)(ProgressBar,{theme:L}),(0,i.jsx)("section",{className:"py-[70px] lg:py-[110px]",children:(0,i.jsx)(A.Z,{children:(0,i.jsxs)("div",{className:"flex flex-wrap lg:-mx-[25px] xl:-mx-[50px]",children:[(0,i.jsx)("div",{className:"w-full lg:w-1/3 lg:px-[25px] xl:px-[50px] hidden lg:block",children:(0,i.jsx)(BlogSidebar,{headings:b,theme:L,title:c.title})}),(0,i.jsxs)("div",{className:"w-full lg:w-2/3 lg:px-[25px] xl:px-[50px]",children:[N&&(0,i.jsx)("div",{className:"xl:hidden mb-36",children:N}),(0,i.jsx)(BlogPostBody,{content:c.content}),(0,i.jsx)("div",{className:"flex flex-wrap",children:(0,i.jsx)("div",{className:"w-full lg:w-1/2",children:(0,i.jsx)(_.Z,{author:c.author})})})]})]})})})]}),f.length>0&&(0,i.jsx)(FeaturedPostsSection,{posts:f}),b.length>4&&(0,i.jsx)(Y.Z,{})]})}},95499:function(e){e.exports={variantPrimary:"BlogButton_variantPrimary__4ZdV1",variantPrimaryDown:"BlogButton_variantPrimaryDown__jeFqQ",variantSecondary:"BlogButton_variantSecondary__bDxXI",variantPlay:"BlogButton_variantPlay___GxBH",variantPlayPrimary:"BlogButton_variantPlayPrimary__2uUfv",styleGhost:"BlogButton_styleGhost__sSVkI",styleWhite:"BlogButton_styleWhite__3XOoT",styleBlack:"BlogButton_styleBlack__ww__n",stylePurple:"BlogButton_stylePurple__WPJsZ",stylePurpleOnDark:"BlogButton_stylePurpleOnDark__Qpnrw",styleMute:"BlogButton_styleMute__cSJZL"}},20203:function(e){e.exports={content:"BlogTestimonial_content__ifzjU"}},40414:function(e){e.exports={variantPrimary:"LoomButton_variantPrimary__g3wdM",variantSecondary:"LoomButton_variantSecondary__aOMCx",variantText:"LoomButton_variantText___Agxa",variantPlay:"LoomButton_variantPlay__n0Sm0",variantPlayPrimary:"LoomButton_variantPlayPrimary__EFnt3",styleGhost:"LoomButton_styleGhost__srgtk",stylePurple:"LoomButton_stylePurple__V0Xmi",styleTealDark:"LoomButton_styleTealDark__4bd1W",styleMute:"LoomButton_styleMute__6kDwA","focus-visible":"LoomButton_focus-visible__k2qNQ"}},7918:function(e){e.exports={authorBio:"_blog_post__authorBio__AYrKb",additionalReading:"_blog_post__additionalReading__5BSVF",postContent:"_blog_post__postContent__RsWJA",listItems:"_blog_post__listItems__lNSXa",arrow:"_blog_post__arrow__5But6",stickyNav:"_blog_post__stickyNav__aEMsE"}},5152:function(e,t,n){e.exports=n(19413)}},function(e){e.O(0,[6413,8747,5675,476,6389,1033,4499,1528,963,7202,9332,6398,8687,8100,7694,9774,2888,179],function(){return e(e.s=75109)}),_N_E=e.O()}]);