"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6544],{85729:function(e,r,t){t.d(r,{Z:function(){return ContentfulImage}});var n=t(72253),a=t(14932),i=t(47702),c=t(24043),l=t(85893),s=t(9008),o=t.n(s),d=t(45697),u=t.n(d),h=t(67294),m=t(15983);function ContentfulImage(e){var r=e.alt,t=e.layout,s=e.priority,d=e.src,u=e.sourceSizes,f=e.pictureProp,p=(0,i._)(e,["alt","layout","priority","src","sourceSizes","pictureProp"]),g=s?"eager":p.loading;if("svg"===d.split(".").pop())return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("img",(0,a._)((0,n._)({},p),{loading:g,src:d,alt:r})),s&&(0,l.jsx)(o(),{children:(0,l.jsx)("link",{as:"image",href:d,rel:"preload"})})]});if("fixed-height"===t){var v=p.height;return(0,l.jsxs)("picture",{className:f,children:[(0,l.jsx)("source",{srcSet:["".concat((0,m.Z)(d,"fm=webp&h=".concat(v))," 1x"),"".concat((0,m.Z)(d,"fm=webp&h=".concat(2*v))," 2x")].join(", "),type:"image/webp"}),(0,l.jsx)("img",(0,a._)((0,n._)({},p),{src:d,alt:r}))]})}if("fixed-width"===t){var x=p.width;return(0,l.jsxs)("picture",{className:f,children:[(0,l.jsx)("source",{srcSet:["".concat((0,m.Z)(d,"fm=webp&w=".concat(x))," 1x"),"".concat((0,m.Z)(d,"fm=webp&w=".concat(2*x))," 2x")].join(", "),type:"image/webp"}),(0,l.jsx)("img",(0,a._)((0,n._)({},p),{src:d,alt:r}))]})}return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("picture",{className:f,children:[Object.entries(u).map(function(e){var r=(0,c._)(e,2),t=r[0],n=r[1];return(0,l.jsxs)(h.Fragment,{children:[(0,l.jsx)("source",{media:t,srcSet:["".concat((0,m.Z)(d,"w=".concat(n,"&fm=webp"))," 1x"),"".concat((0,m.Z)(d,"w=".concat(2*n,"&fm=webp"))," 2x")].join(", "),type:"image/webp"}),(0,l.jsx)("source",{media:t,srcSet:["".concat((0,m.Z)(d,"w=".concat(n))," 1x"),"".concat((0,m.Z)(d,"w=".concat(2*n))," 2x")].join(", ")})]},t)}),(0,l.jsx)("source",{srcSet:"".concat(d,"?fm=webp"),type:"image/webp"}),(0,l.jsx)("img",(0,a._)((0,n._)({},p),{loading:g,src:d,alt:r}))]}),s&&(0,l.jsx)(o(),{children:Object.entries(u).map(function(e){var r=(0,c._)(e,2),t=r[0],n=r[1];return(0,l.jsxs)(h.Fragment,{children:[(0,l.jsx)("link",{as:"image",href:(0,m.Z)(d,"w=".concat(n,"&fm=webp")),media:t,rel:"preload"}),(0,l.jsx)("link",{as:"image",href:(0,m.Z)(d,"w=".concat(2*n,"&fm=webp")),media:"".concat(t," and (-webkit-min-device-pixel-ratio: 2)"),rel:"preload"})]},t)})})]})}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:u().string.isRequired,priority:u().bool,layout:u().oneOf(["responsive","fixed-width","fixed-height"]),pictureProp:u().string,sourceSizes:u().objectOf(u().number),src:u().string.isRequired}},66870:function(e,r,t){t.d(r,{Z:function(){return Embed}});var n=t(24043),a=t(85893),i=t(93967),c=t.n(i),l=t(52275),s=t(23872);function Embed(e){var r=e.description,t=e.src,i=e.highlightBackground,o=e.className,d=e.ratio,u=null!=d?d:"4:3",h=(0,n._)(u.split(":"),2),m=h[0],f=Math.round(100*(parseInt(h[1],10)/parseInt(m,10)))+"%";if(t.includes("https://twitter.com/")){var p,g=null===(p=t.match(/status\/(\d+)/))||void 0===p?void 0:p[1];return(0,a.jsx)("div",{className:"flex justify-center","data-theme":"light",children:(0,a.jsx)(l.t,{id:g})})}return t.includes("youtube.com/embed")?(0,a.jsx)("div",{className:c()("loom-embed",i&&"loom-embed-highlighted"),children:(0,a.jsx)("div",{className:c()(o,"lo-emb-vid block relative",d?"aspect-ratio":"pb-75%"),style:{"--aspect-padding":f},children:(0,a.jsx)("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute w-full h-full",frameBorder:"0",src:t,webkitallowfullscreen:"true"})})}):(0,a.jsxs)("div",{className:c()("loom-embed",i&&"loom-embed-highlighted"),children:[(0,a.jsx)("div",{className:c()(o,"lo-emb-vid block relative",d?"aspect-ratio":"pb-75%"),style:{"--aspect-padding":f},children:(0,a.jsx)("iframe",{allowFullScreen:!0,className:"absolute w-full h-full",frameBorder:"0",loading:"lazy",mozallowfullscreen:"true",src:t.replace("loom.com/share/","loom.com/embed/"),webkitallowfullscreen:"true"})}),(0,a.jsx)("div",{className:"lm-blog-headline-xs-alt text-center mt-12",children:(0,s.Z)(r)})]})}},75595:function(e,r,t){t.d(r,{Z:function(){return Link}});var n=t(72253),a=t(14932),i=t(47702),c=t(85893),l=t(93967),s=t.n(l),o=t(41664),d=t.n(o);function Link(e){var r=e.as,t=e.children,l=e.className,o=e.href,u=e.prefetch,h=e.replace,m=e.scroll,f=e.shallow,p=e.target,g=e.variant,v=(0,i._)(e,["as","children","className","href","prefetch","replace","scroll","shallow","target","variant"]),x=s()("primary"===g?"text-blurple hover:text-purple-hover":"",l,"cursor-pointer pb-1 underline thd-focus-thin");if(/^(http|mailto|tel)/.test(o)){var b="_blank"===(p=null!=p?p:"_blank")?"noopener":null;return(0,c.jsx)("a",(0,a._)((0,n._)({},v),{className:x,href:o,rel:b,target:p,children:t}))}return/^(#)/.test(o)?(0,c.jsx)("a",(0,a._)((0,n._)({},v),{className:x,href:o,children:t})):(0,c.jsx)(d(),(0,a._)((0,n._)({as:r,href:o,passHref:!0,prefetch:u,replace:h,scroll:m,shallow:f,className:x},v),{children:t}))}Link.defaultProps={variant:"primary"}},16544:function(e,r,t){var n=t(67294),a=t(23872);r.Z=(0,n.memo)(function(e){var r=e.content;return(0,a.Z)(r)})},15983:function(e,r,t){t.d(r,{Z:function(){return addParams}});var n=t(248);function addParams(e,r){if(e){if(!r)return e;var t=new URL(e);return t.search=new URLSearchParams((0,n._)(t.searchParams).concat((0,n._)(new URLSearchParams(r)))),t.toString()}}},23872:function(e,r,t){t.d(r,{R:function(){return deriveHeadingId},Z:function(){return renderRichText}});var n,a=t(75766),i=t(72253),c=t(14932),l=t(248),s=t(85893),o=t(32924),d=t(74129),u=t(86437),h=t(93024),m=t(85729),f=t(66870),p=t(75595),g=t(56649);function deriveHeadingId(e){return(0,g.Z)((0,o.a)(e))}var v=(n={},(0,a._)(n,u.BLOCKS.HEADING_2,function(e,r){return(0,s.jsx)("h2",{id:deriveHeadingId(e),children:r})}),(0,a._)(n,u.BLOCKS.HEADING_3,function(e,r){return(0,s.jsx)("h3",{id:deriveHeadingId(e),children:r})}),(0,a._)(n,u.BLOCKS.HEADING_4,function(e,r){return(0,s.jsx)("h4",{id:deriveHeadingId(e),children:r})}),(0,a._)(n,u.BLOCKS.HEADING_5,function(e,r){return(0,s.jsx)("h5",{id:deriveHeadingId(e),children:r})}),(0,a._)(n,u.BLOCKS.HEADING_6,function(e,r){return(0,s.jsx)("h6",{id:deriveHeadingId(e),children:r})}),(0,a._)(n,u.BLOCKS.EMBEDDED_ASSET,function(e){var r,t=e.data.target;return(0,s.jsxs)("figure",{className:"mx-auto",children:[(0,s.jsx)(m.Z,{alt:null!==(r=t.title)&&void 0!==r?r:"",height:t.height,src:t.url,width:t.width}),(0,s.jsx)("figcaption",{className:"lm-blog-headline-xs-alt text-center mt-12",children:t.description})]})}),(0,a._)(n,u.INLINES.HYPERLINK,function(e,r){return(0,s.jsx)(p.Z,{href:e.data.uri,children:r})}),(0,a._)(n,u.INLINES.ASSET_HYPERLINK,function(e,r){return(0,s.jsx)(p.Z,{href:e.data.target.url,children:r})}),n),x={Embed:function(e){return(0,s.jsx)(f.Z,{description:e.data.target.description,highlightBackground:e.data.target.highlightBackground,src:e.data.target.url,title:e.data.target.url})}};function renderRichText(e){var r,t,n,o,m,f,p,g,b,j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(null==e?void 0:e.json))return null;var w=e.json,_=e.links,y=_?(o=function(e){return e?e.reduce(function(e,r){var t,n=null==r?void 0:null===(t=r.sys)||void 0===t?void 0:t.id;return n&&(e[n]=r),e},{}):{}},m=function(e,r){var t;e.nodeType&&r(e),(null===(t=e.content)||void 0===t?void 0:t.length)&&e.content.forEach(function(e){return m(e,r)})},f=(0,h.Y)(w),p=o(null==_?void 0:null===(r=_.assets)||void 0===r?void 0:r.hyperlink),g=o(null==_?void 0:null===(t=_.assets)||void 0===t?void 0:t.block),b=o(null==_?void 0:null===(n=_.entries)||void 0===n?void 0:n.block),m(f,function(e){switch(e.nodeType){case"asset-hyperlink":var r=e.data.target.sys.id;e.data.target=p[r];break;case"embedded-asset-block":var t=e.data.target.sys.id;e.data.target=g[t];break;case"embedded-entry-block":var n=e.data.target.sys.id;e.data.target=b[n]}}),f):w;return(0,d.h)(y,{renderNode:(0,c._)((0,i._)({},v,null==j?void 0:j.renderNode),(0,a._)({},u.BLOCKS.EMBEDDED_ENTRY,function(e){var r,t,n,a=(0,i._)({},x,null==j?void 0:j.renderEmbeddedEntry),c=null===(r=e.data.target)||void 0===r?void 0:r.__typename;return c&&null!==(n=null===(t=a[c])||void 0===t?void 0:t.call(a,e))&&void 0!==n?n:null})),renderText:function(e){return e.split("\n").reduce(function(e,r,t){return(0,l._)(e).concat([t>0&&(0,s.jsx)("br",{},"".concat(t).concat(r)),r])},[])}})}}}]);