<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1942],{52077:function(e,n,o){o.d(n,{Z:function(){return v}});var t=o(14251),l=o(52875),i=o(85893),r=o(41664),a=o.n(r),s=o(16494),d=o(11942),c=o(67294),u=o(7004);function v(e){var n=e.button,o=e.type,r=e.block,v=e.website,f=e.action,m=e.loading,g=e.className,h=e.fallbackSize,p=e.onClick,x=(0,c.useState)({borderWidth:2,borderStyle:"solid",boxShadow:"none",fontFamily:"var(--body-fontFamily)",fontWeight:"var(--body-fontWeight, 500)",fontStyle:"var(--body-fontStyle)"}),y=x[0],b=x[1],j=(0,c.useState)(h||"lg"),w=j[0],N=j[1];return(0,c.useEffect)((function(){if(n&amp;&amp;r&amp;&amp;v){var e,o,i,a=(null===(e=v.colorPalette)||void 0===e||null===(o=e.Palette)||void 0===o?void 0:o.colors)||(null===(i=v.colorPalette)||void 0===i?void 0:i.colors)||[];if(a.length&gt;0&amp;&amp;!v.noPaletteSupport){var s,c,u,f,m,g,p=a[(0,d.dz)(null===(s=r.layers)||void 0===s?void 0:s.palette)]||a[0];if(!n.style){var x=v.button||{background:v.secondaryColor,cornerRadius:8,style:"solid"};x.background||(x.background=v.secondaryColor),n.style={type:x.style,cornerRadius:x.cornerRadius,name:"custom"}}if("custom"===(null===(c=r.layers)||void 0===c?void 0:c.palette))p={color:null===(u=r.layers)||void 0===u||null===(f=u.overlay)||void 0===f?void 0:f.color1,accent:null===(m=r.layers)||void 0===m||null===(g=m.foreground)||void 0===g?void 0:g.accent};if("custom"===n.style.name)b((function(e){return(0,l.Z)((0,t.Z)({},e),{backgroundColor:"outline"===n.style.type?"transparent":p.accent,color:"outline"===n.style.type?(0,d.$O)(p.color):(0,d.$O)(p.accent),borderRadius:n.style.cornerRadius,borderColor:"outline"===n.style.type?(0,d.$O)(p.color):p.accent})})),N(n.style.size||h||"lg");else{var y=v.buttons&amp;&amp;v.buttons[n.style.name]||{type:"solid",cornerRadius:0};b((function(e){return(0,l.Z)((0,t.Z)({},e),{backgroundColor:"outline"===y.type?"transparent":p.accent,color:"outline"===y.type?(0,d.$O)(p.color):(0,d.$O)(p.accent),borderRadius:y.cornerRadius,borderColor:"outline"===y.type?(0,d.$O)(p.color):p.accent})})),N(y.size||h||"lg")}}else{var j=v.button||{background:v.secondaryColor,cornerRadius:8,style:"solid"};j.background||(j.background=v.secondaryColor),b((function(e){return(0,l.Z)((0,t.Z)({},e),{backgroundColor:"outline"===j.style?"transparent":j.background,color:"outline"===j.style?j.background:(0,d.$O)(j.background),borderRadius:isNaN(j.cornerRadius)?8:j.cornerRadius,borderColor:j.background})}))}}}),[n,r,v]),f||"submit"===o||"section"===n.type?(0,i.jsx)("button",{type:"submit"===o?"submit":"button",onClick:function(e){return(0,u.Gc)(e,n,f)},className:(0,d.AK)("button",g,w),style:y,disabled:m,children:m?(0,i.jsx)(s.Z,{}):n.label||"Button"}):p?(0,i.jsx)("a",{className:(0,d.AK)("button",g,w),style:y,onClick:p,children:n.label||"Button"}):(0,i.jsx)(a(),{href:(0,u.f$)(n,v),children:(0,i.jsx)("a",{className:(0,d.AK)("button",g,w),target:(0,u.U9)(n,v),rel:"_blank"===(0,u.U9)(n,v)?"noopener noreferrer":null,style:y,children:n.label||"Button"})})}},4433:function(e,n,o){o.d(n,{$h:function(){return c},c8:function(){return s},iz:function(){return v}});var t=o(14251),l=o(52875),i=o(85893),r=o(67294),a=o(62246),s=1928/118,d=[{id:"slantLeft",getPath:function(e){var n=Math.floor(e/s);return"M".concat(e," 0L-0 ").concat(n,"V0H").concat(e)}},{id:"slantRight",getPath:function(e){var n=Math.floor(e/s);return"M0 0L".concat(e," ").concat(n,"V0H0")}},{id:"pointUp",getPath:function(e){var n=Math.floor(e/s);return"M0 0V".concat(n,"L").concat(e/2," 0L").concat(e," ").concat(n,"L").concat(1.5*e," 0V0H0")}},{id:"pointDown",getPath:function(e){var n=Math.floor(e/s);return"M0 0L".concat(e/2," ").concat(n,"L").concat(e," 0H0")}},{id:"curveUp",getPath:function(e){var n=Math.floor(e/s);return"M0 0 C".concat(e/2," ").concat(n," ").concat(e-e/2," ").concat(n," ").concat(e," 0 L").concat(e," 0 L0 0")}},{id:"curveDown",getPath:function(e){var n=Math.floor(e/s);return"M0 ".concat(n," C").concat(e/2," 0 ").concat(e-e/2," 0 ").concat(e," ").concat(n," L").concat(e," 0 L0 0")}},{id:"waveLeft",getPath:function(e){var n=Math.floor(e/s);return"M0 0C0 0 ".concat(.2023*e," ").concat(n," ").concat(.3333*e," ").concat(n,"C").concat(.4681*e," ").concat(n," ").concat(.5318*e," 0 ").concat(.6667*e," 0C").concat(.8015*e," 0 ").concat(e," ").concat(n," ").concat(e," ").concat(n,"V0H0Z")}},{id:"waveRight",getPath:function(e){var n=Math.floor(e/s);return"M".concat(e," 0C").concat(e," 0 ").concat(.8*e," ").concat(n," ").concat(.666*e," ").concat(n,"C").concat(.547*e," ").concat(n," ").concat(.483*e," 0 ").concat(.333*e," 0C").concat(.184*e," 0 -0.00012207 ").concat(n," -0.00012207 ").concat(n,"V0H").concat(e)}},{id:"jaggedLeft",getPath:function(e){var n=Math.floor(e/s);return"M0 0L".concat(e/3," ").concat(n,"L").concat(e/1.5," 0L").concat(e," ").concat(n,"V0H0")}},{id:"jaggedRight",getPath:function(e){var n=Math.floor(e/s);return"M".concat(e," 0L").concat(e/1.5," ").concat(n,"L").concat(e/3," 0L0 ").concat(n,"V0H").concat(e)}},{id:"swoopLeft",getPath:function(e){var n=Math.floor(e/s);return"M0 ".concat(n,"C").concat(e," 0 ").concat(2*e," 0 ").concat(2*e," 0H0V").concat(n)}},{id:"swoopRight",getPath:function(e){var n=Math.floor(e/s);return"M".concat(e," ").concat(n,"C").concat(e/2," 0 0 0 0 0H").concat(2*e,"V").concat(n)}}];function c(e){return{zIndex:40-(null===e||void 0===e?void 0:e.idx)}}var u=function(e){var n=e.uniqueId,o=e.width,t=e.height,l=e.divider,r=Math.floor(o/s),a=Math.floor(o),c=Math.floor(t),u=Math.floor(t-r),v=d.find((function(e){return e.id===l}));return(0,i.jsx)("svg",{className:"absolute bottom-0 left-0",width:a,height:c,viewBox:"0 0 ".concat(a," ").concat(c),children:(0,i.jsxs)("clipPath",{id:n,children:[(0,i.jsx)("rect",{width:a,height:u,fill:"transparent"}),(0,i.jsx)("path",{d:v.getPath(a),transform:"translate(0, ".concat(u,")"),fill:"transparent"})]})})},v=function(e){var n=e.contentRef,o=e.divider,d=e.previousDivider,c=e.border,v=e.previousBorder,f=e.combinedWithHeaderOffset,m=e.dividerUniqueId,g=e.noPadding,h=e.onPaddingChange,p=function(e){var n,o,t=getComputedStyle(e);return parseInt(null!==(n=t.paddingTop)&amp;&amp;void 0!==n?n:"0")+parseInt(null!==(o=t.paddingBottom)&amp;&amp;void 0!==o?o:"0")},x=(0,r.useState)({width:0,height:0}),y=x[0],b=x[1],j=(0,r.useState)({top:0,bottom:0}),w=j[0],N=j[1],k=!!o,F=!!d;(0,r.useEffect)((function(){if(F){var e=Math.floor((y.width||window.innerWidth)/s);n.current.style.marginTop="-"+(e+1)+"px",n.current.style.paddingTop=g?"":e+1+"px",N((function(n){return(0,l.Z)((0,t.Z)({},n),{top:e+1})}))}else if(void 0!==f)N((function(e){return(0,l.Z)((0,t.Z)({},e),{top:f})}));else{var o=0;v&amp;&amp;(o=v.width/2),n.current.style.paddingTop="".concat(o,"px"),n.current.style.marginTop="",N((function(e){return(0,l.Z)((0,t.Z)({},e),{top:o})}))}}),[F,y.width,f,g,v]),(0,r.useEffect)((function(){if(k){var e=Math.floor((y.width||window.innerWidth)/s);n.current.style.paddingBottom=g?"":e+"px",n.current.style.clipPath="url(#".concat(m,")"),n.current.style.WebkitClipPath="url(#".concat(m,")"),n.current.classList.add("fix-safari-flickering"),N((function(n){return(0,l.Z)((0,t.Z)({},n),{bottom:e})}))}else{var o=0;c&amp;&amp;(o=c.width/2),n.current.style.paddingBottom="".concat(o,"px"),N((function(e){return(0,l.Z)((0,t.Z)({},e),{bottom:o})})),n.current.style.clipPath=""}}),[k,y.width,g,c]);var C=(0,r.useCallback)((function(){var e,o;b({width:null!==(e=n.current.offsetWidth)&amp;&amp;void 0!==e?e:0,height:(null!==(o=n.current.offsetHeight)&amp;&amp;void 0!==o?o:0)-p(n.current)})}),[n]);return(0,r.useEffect)((function(){"function"===typeof h&amp;&amp;h(w)}),[w]),(0,a.Z)(C,k||F?n:null),o?(0,i.jsx)(u,{uniqueId:m,width:y.width,height:y.height+(g?0:w.top+w.bottom),divider:o}):null}},74007:function(e,n,o){o.d(n,{Z:function(){return c}});var t=o(85893),l=o(67294),i=o(17258),r=o(44080),a=o(11942),s=o(40944),d=o(68116);function c(e){var n=e.className,o=e.icon,c=e.iconClassName,u=e.button,v=e.buttonClassName,f=e.openClassName,m=e.iconOpenClassName,g=e.children,h=e.inline,p=e.itemsContainerClass,x=e.disabled,y=e.itemsContainerStyle,b=e.openUp,j=void 0!==b&amp;&amp;b,w=function(){C(function(e){if(!e)return!1;var n=e.getBoundingClientRect();return!(n.left&gt;=0&amp;&amp;n.right&lt;=(window.innerWidth||document.documentElement.clientWidth))}(N.current))},N=(0,l.useRef)(),k=(0,l.useState)(!1),F=k[0],C=k[1];return(0,t.jsx)(i.v,{as:"div",className:(0,a.AK)("relative inline-block text-left",n),onClick:function(e){return e.stopPropagation()},children:function(e){var n=e.open;return(0,t.jsxs)(d.bv,{portal:!0,children:[(0,t.jsx)(i.v.Button,{className:(0,a.AK)(v,n?f:"","cursor-pointer z-5 focus:outline-none"),disabled:x,onClick:function(e){return e.stopPropagation()},children:u||(0,t.jsx)(s.Z,{icon:o||"DotsVerticalIcon",className:(0,a.AK)(c,"h-5 w-5",n?m||"text-indigo-500":"text-gray-500")})}),(0,t.jsx)(r.u,{show:n,as:l.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",ref:N,beforeEnter:w,afterLeave:function(){return C(!1)},children:(0,t.jsx)(i.v.Items,{className:(0,a.AK)(p,"z-100 max-h-60 py-3 px-6 rounded-lg bg-white focus:outline-none overflow-y-auto space-y-2 shadow-lg",h?"static":"absolute",j?"bottom-full mb-10":"mt-2",F?"right-0":"left-0"),style:y,children:g})})]})}})}},24230:function(e,n,o){o.d(n,{Z:function(){return d}});var t=o(69779),l=o(85893),i=o(67294),r=o(9008),a=o.n(r),s=o(11942);function d(e){var n=e.website,o=(0,i.useState)([]),r=o[0],d=o[1];return(0,i.useEffect)((function(){if(null===n||void 0===n?void 0:n.fonts){var e,o,l,i,r,a,c,u,v,f,m,g,h,p,x,y,b=[];if("custom"===(null===n||void 0===n||null===(e=n.fonts)||void 0===e?void 0:e.source))(null===(v=n.fonts.custom)||void 0===v||null===(f=v.head)||void 0===f?void 0:f.name)&amp;&amp;b.push({source:n.fonts.custom.head.source,query:(0,s.pr)(n.fonts.custom.head,!0)}),(null===(m=n.fonts.custom)||void 0===m||null===(g=m.body)||void 0===g?void 0:g.name)&amp;&amp;b.push({source:n.fonts.custom.body.source,query:(0,s.pr)(n.fonts.custom.body,!0)});else(null===n||void 0===n||null===(h=n.fonts)||void 0===h||null===(p=h.head)||void 0===p?void 0:p.name)&amp;&amp;b.push({source:n.fonts.head.source,query:(0,s.pr)(n.fonts.head)}),(null===n||void 0===n||null===(x=n.fonts)||void 0===x||null===(y=x.body)||void 0===y?void 0:y.name)&amp;&amp;b.push({source:n.fonts.body.source,query:(0,s.pr)(n.fonts.body)});(null===n||void 0===n||null===(o=n.header)||void 0===o||null===(l=o.logo)||void 0===l||null===(i=l.font)||void 0===i?void 0:i.name)&amp;&amp;b.push({source:n.header.logo.font.source,query:(0,s.pr)(n.header.logo.font)}),"header"!==(null===n||void 0===n||null===(r=n.footer)||void 0===r?void 0:r.logoFrom)&amp;&amp;(null===n||void 0===n||null===(a=n.footer)||void 0===a||null===(c=a.logo)||void 0===c||null===(u=c.font)||void 0===u?void 0:u.name)&amp;&amp;b.push({source:n.footer.logo.font.source,query:(0,s.pr)(n.footer.logo.font)}),d((0,t.Z)(new Set(b)))}}),[n]),r.length&gt;0?function(){var e=r.filter((function(e){return"fontshare"!==e.source})),n=r.filter((function(e){return"fontshare"===e.source}));return(0,l.jsxs)(a(),{children:[e.length&gt;0&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,l.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:!0}),(0,l.jsx)("link",{href:"https://fonts.googleapis.com/css2?".concat(e.map((function(e){return e.query})).join("&amp;"),"&amp;display=swap"),rel:"stylesheet"})]}),n.length&gt;0&amp;&amp;(0,l.jsx)("link",{href:"https://api.fontshare.com/v2/css?".concat(n.map((function(e){return e.query})).join("&amp;"),"&amp;display=swap"),rel:"stylesheet"})]})}():null}},40944:function(e,n,o){var t=o(6453),l=o(85893),i=o(3231);n.Z=function(e){var n=(0,t.Z)({},i)[e.icon];return n?(0,l.jsx)(n,{className:e.className,onClick:e.onClick,"aria-hidden":"true"}):"&lt;&gt;&lt;/&gt;"}},7004:function(e,n,o){o.d(n,{Gc:function(){return r},U9:function(){return i},f$:function(){return l}});var t=o(11942),l=function(e,n){if(e){if("email"===e.type)return"mailto:"+e.link;if("phone"===e.type)return"tel:"+e.link;if("page"===e.type){var o,t,l,i=null===n||void 0===n||null===(o=n.pages)||void 0===o?void 0:o.find((function(n){return n._id===e.page})),r=(null===i||void 0===i?void 0:i.Parent)?null===n||void 0===n||null===(t=n.pages)||void 0===t?void 0:t.find((function(e){return e._id===(null===i||void 0===i?void 0:i.Parent)})):null,a="/";return r&amp;&amp;(a+="".concat(r.slug,"/")),a+=null!==(l=null===i||void 0===i?void 0:i.slug)&amp;&amp;void 0!==l?l:""}return"section"===e.type?"#"+e.link:(null===e||void 0===e||null===(s=e.link)||void 0===s?void 0:s.includes("http"))||(null===e||void 0===e||null===(d=e.link)||void 0===d?void 0:d.includes("https"))?e.link:(null===e||void 0===e?void 0:e.link)&amp;&amp;"#"!==(null===e||void 0===e?void 0:e.link)?"/"===(null===e||void 0===e?void 0:e.link)?"/":"https://"+(null===e||void 0===e?void 0:e.link):"#";var s,d}return"#"},i=function(e,n){var o,l,i,r=null===n||void 0===n||null===(o=n.pages)||void 0===o?void 0:o.find((function(n){return n._id===(null===e||void 0===e?void 0:e.page)}));return(null===e||void 0===e?void 0:e.newPage)?"_blank":(null===n||void 0===n||null===(l=n.button)||void 0===l?void 0:l.target)?null===n||void 0===n||null===(i=n.button)||void 0===i?void 0:i.target:(0,t.AO)(null===r||void 0===r?void 0:r.forceRender)};var r=function(e,n,o){if("function"!==typeof o){if("section"===(null===n||void 0===n?void 0:n.type)){e.preventDefault();var t=document.getElementById("main-body"),l=document.getElementById("website-header"),i=document.getElementById(n.link);if(i&amp;&amp;t&amp;&amp;l){var r=i.getBoundingClientRect().top;if(l.classList.contains("sticky"))r-=l.getBoundingClientRect().height;t.scroll({top:r+t.scrollTop,behavior:"smooth"})}}}else o(e)}},16494:function(e,n,o){o.d(n,{Z:function(){return r}});var t=o(85893),l=o(89774),i=o(11942);function r(e){var n=e.text,o=e.className,r=e.classNameChild,a=e.variant,s=(0,l.$G)("common").t;switch(a){case"form":return(0,t.jsx)("div",{className:"w-full max-w-screen-sm my-8",children:(0,t.jsxs)("div",{className:"animate-pulse flex space-y-8 flex-col",children:[(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/2"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,t.jsx)("div",{className:"h-2 bg-gray-100 rounded w-5/6"})]}),(0,t.jsx)("hr",{}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/4"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,t.jsx)("div",{className:"h-2 bg-gray-100 rounded w-1/2"})]}),(0,t.jsx)("hr",{}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/4"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,t.jsx)("div",{className:"h-2 bg-gray-100 rounded w-1/2"})]}),(0,t.jsx)("hr",{}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/6"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,t.jsx)("div",{className:"h-2 bg-gray-100 rounded w-3/4"})]}),(0,t.jsx)("div",{className:"h-10 bg-gray-200 rounded w-1/4 ml-auto mt-4"})]})});case"skeleton":return(0,t.jsx)("div",{className:o,children:(0,t.jsx)("div",{className:"animate-pulse",children:(0,t.jsx)("div",{className:(0,i.AK)("h-6 bg-gray-200 rounded",r)})})});case"table":return(0,t.jsx)("div",{className:"w-full my-8",children:(0,t.jsxs)("div",{className:"animate-pulse flex space-y-2 flex-col",children:[(0,t.jsxs)("div",{className:"space-x-2 flex",children:[(0,t.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"})]}),[1,2,3,4,5,6].map((function(e){return(0,t.jsxs)("div",{className:"space-x-2 flex",children:[(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,t.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"})]},e)}))]})});default:return(0,t.jsxs)("div",{className:(0,i.AK)("inline-flex items-center",o),children:[(0,t.jsxs)("svg",{className:(0,i.AK)("animate-spin ml-1 mr-3 h-4 w-4",o),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),n||""===n?n:s("loading")]})}}},23493:function(e,n,o){o.d(n,{TR:function(){return u},yA:function(){return v},i6:function(){return c}});var t=o(14251),l=o(69779),i=o(85893),r=o(11942),a=o(41664),s=o.n(a),d=o(67294);var c=function(e,n){var o,t,l,i=(0,r.p$)(e);return i.siteName=i.siteName||i.businessName||"",i.logo={type:(null===e||void 0===e?void 0:e.showLogo)&amp;&amp;((null===n||void 0===n?void 0:n.logo)||(null===e||void 0===e?void 0:e.customLogo))?"image":"text-icon",showText:!!i.siteName,font:null===n||void 0===n||null===(o=n.fonts)||void 0===o?void 0:o.head,showIcon:!1,source:(null===e||void 0===e?void 0:e.source)||"branding",media:null===e||void 0===e?void 0:e.customLogo,height:{desktop:(null===e||void 0===e||null===(t=e.logoDesktop)||void 0===t?void 0:t.height)||80,mobile:(null===e||void 0===e||null===(l=e.logoMobile)||void 0===l?void 0:l.height)||40}},i},u=function(e){var n,o,a,c=e.className,u=e.text,v=e.logo,f=e.color,m=e.forceRender,g=e.font,h=e.location,p=void 0===h?"header":h,x=function(){var e,n,o=function(){var e,n=[],o=w.current.cloneNode(!0);return o.style.position="fixed",o.style.visibility="hidden",o.style.width="auto",document.body.appendChild(o),w.current.innerText.split(" ").forEach((function(e){o.innerText=e;var t=o.getBoundingClientRect().width;n.push(t)})),o.innerHTML="&amp;nbsp;",e=o.getBoundingClientRect().width,document.body.removeChild(o),{wordSizes:n,emptySpaceSize:e}}(),t=o.wordSizes,i=o.emptySpaceSize,r=[],a=w.current.offsetWidth+4,s=0,d=null!==(n=t[0])&amp;&amp;void 0!==n?n:0;r[s]=d;for(var c=1;c&lt;t.length;c++){var u=i+t[c];d+u&lt;=a?(d+=u,r[s]=d):(s++,d=t[c],r[s]=d)}return(e=Math).max.apply(e,(0,l.Z)(r))+4},y=function(){if(w.current){w.current.style.width="auto",w.current.style.whiteSpace="normal";var e=x();w.current.style.width="".concat(e+4,"px"),w.current.style.whiteSpace=""}},b=function(){N.current=(0,r.Ds)(y,150,N.current)()},j=(0,r.ac)("(max-width: 1023px)"),w=(0,d.useRef)(null),N=(0,d.useRef)(null),k=function(){var e=(0,d.useState)(!1),n=e[0],o=e[1];return(0,d.useEffect)((function(){var e=function(){o("loaded"===document.fonts.status)};return document.fonts.ready.then(e),document.fonts.addEventListener("loading",e),document.fonts.addEventListener("loadingdone",e),function(){document.fonts.removeEventListener("loading",e),document.fonts.removeEventListener("loadingdone",e)}}),[]),n}();return(0,d.useEffect)((function(){if(w.current)return b(),window.addEventListener("resize",b),function(){window.removeEventListener("resize",b),clearTimeout(N.current)}}),[u,v,g,j,k]),(null===v||void 0===v?void 0:v.showIcon)&amp;&amp;(null===v||void 0===v?void 0:v.icon)||(null===v||void 0===v?void 0:v.showText)&amp;&amp;u?(0,i.jsx)(s(),{href:"/",children:(0,i.jsxs)("a",{className:(0,r.AK)((null===v||void 0===v?void 0:v.showIcon)&amp;&amp;(null===v||void 0===v||null===(n=v.icon)||void 0===n?void 0:n.url)?"flex items-center gap-3 max-w-[290px] text-left":"grid max-w-full",c),target:(0,r.AO)(m),children:[(null===v||void 0===v?void 0:v.showIcon)&amp;&amp;(null===v||void 0===v?void 0:v.icon)&amp;&amp;(0,i.jsx)("div",{className:"flex-shrink-0 relative w-9 h-9 md:w-12 md:h-12",children:(0,i.jsx)("div",{className:"absolute w-full h-full",style:{backgroundColor:f||"#1F2937",WebkitMaskImage:'url("'.concat(null===v||void 0===v||null===(o=v.icon)||void 0===o?void 0:o.url,'")'),maskImage:'url("'.concat(null===v||void 0===v||null===(a=v.icon)||void 0===a?void 0:a.url,'")'),WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain"}})}),(null===v||void 0===v?void 0:v.showText)&amp;&amp;u&amp;&amp;(0,i.jsx)("h2",{ref:w,className:(0,r.AK)("heading-small lg:heading-medium max-w-full",(null===v||void 0===v?void 0:v.showIcon)&amp;&amp;(null===v||void 0===v?void 0:v.icon)?"whitespace-normal":"whitespace-nowrap overflow-hidden overflow-ellipsis"),style:(0,t.Z)({color:f},function(){var e;if((null===v||void 0===v?void 0:v.showText)&amp;&amp;u&amp;&amp;(null===v||void 0===v?void 0:v.showIcon)&amp;&amp;(null===v||void 0===v||null===(e=v.icon)||void 0===e?void 0:e.url)){var n=(6/(u.length||0)+.66)*(j?18:22),o=Math.min(Math.max(n,16),40);return{fontSize:"".concat(o,"px"),lineHeight:1.2}}return{}}(),{fontFamily:g?(null===g||void 0===g?void 0:g.family)||'"Inter", sans-serif':"var(--".concat(p,"-logo-fontFamily)"),fontWeight:g?(null===g||void 0===g?void 0:g.weight)||500:"var(--".concat(p,"-logo-fontWeight)")}),children:u})]})}):null};u.displayName="WebsiteButton";function v(e){var n=e.className,o=e.src,t=e.text,l=e.height;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("img",{className:(0,r.AK)("hidden lg:block transition-all object-contain",n),src:o,alt:t,style:{height:"".concat((null===l||void 0===l?void 0:l.desktop)||80,"px")}}),(0,i.jsx)("img",{className:(0,r.AK)("lg:hidden transition-all object-contain",n),src:o,alt:t,style:{height:"".concat((null===l||void 0===l?void 0:l.mobile)||40,"px")}})]})}},21123:function(e,n,o){o.d(n,{N:function(){return c},Z:function(){return u}});var t=o(14251),l=o(52875),i=o(85893),r=o(67294),a=o(11942),s=o(29260),d=o.n(s),c=function(e,n){var o,i,r,s,d=(null===e||void 0===e||null===(o=e.colorPalette)||void 0===o||null===(i=o.Palette)||void 0===i?void 0:i.colors)||(null===e||void 0===e||null===(r=e.colorPalette)||void 0===r?void 0:r.colors)||[];if(null===(s=n.layers)||void 0===s?void 0:s.palette){var c,u=(0,t.Z)({},n.layers.fade);if(null===(c=n.layers.fade)||void 0===c?void 0:c.enabled)if("custom"===n.layers.fade.palette)u.color=n.layers.fade.color;else{var v,f=(0,a.dz)(n.layers.fade.palette);u.color=null===(v=d[f])||void 0===v?void 0:v.color}if("custom"===n.layers.palette)return(0,l.Z)((0,t.Z)({},null===n||void 0===n?void 0:n.layers),{fade:u});var m,g,h,p,x,y,b,j,w=(0,a.dz)(n.layers.palette),N={};return N="gradient"===(null===(m=n.layers.overlay)||void 0===m?void 0:m.type)?{type:"gradient",color1:null===(p=d[w])||void 0===p?void 0:p.color,color2:null===(x=d[w%2===0?w+1:w-1])||void 0===x?void 0:x.color,accent:null===(y=d[w])||void 0===y?void 0:y.accent}:{type:"solid",color1:null===(b=d[w])||void 0===b?void 0:b.color,accent:null===(j=d[w])||void 0===j?void 0:j.accent},(0,l.Z)((0,t.Z)({},null===n||void 0===n?void 0:n.layers),{overlay:(0,t.Z)({},null===n||void 0===n||null===(g=n.layers)||void 0===g?void 0:g.overlay,N),fade:u,foreground:{accent:(null===(h=d[w])||void 0===h?void 0:h.accent)||(0,a.$O)(N.color1||"#FFFFFF")}})}var k,F,C,Z,S,A,R,P,T,M,z,L={type:"solid"},E={enabled:!1};if("object"===typeof(null===n||void 0===n?void 0:n.background))if("image"===(null===n||void 0===n||null===(F=n.background)||void 0===F?void 0:F.type))L.color1=(null===(Z=n.background.overlay)||void 0===Z?void 0:Z.color.includes("rgba"))?(0,a.s)(null===(S=n.background.overlay)||void 0===S?void 0:S.color):null===(A=n.background.overlay)||void 0===A?void 0:A.color,E.enabled=!0,E.media=null===n||void 0===n||null===(R=n.background)||void 0===R?void 0:R.image,E.positionX=(null===(P=n.background)||void 0===P?void 0:P.imagePositionX)||"50%",E.positionY=(null===(T=n.background)||void 0===T?void 0:T.imagePositionY)||"50%",E.opacity=(null===(M=n.background)||void 0===M||null===(z=M.overlay)||void 0===z?void 0:z.amount)||50;else if("gradient"===(null===n||void 0===n||null===(C=n.background)||void 0===C?void 0:C.type)){var I,_,W;L.type="gradient",L.color1=null===n||void 0===n||null===(I=n.background)||void 0===I?void 0:I.color,L.color2=null===n||void 0===n||null===(_=n.background)||void 0===_?void 0:_.color2,L.direction=null===(W=a.mQ.find((function(e){var o;return e.value===(null===n||void 0===n||null===(o=n.background)||void 0===o?void 0:o.direction)})))||void 0===W?void 0:W.id}else{var B;L.color1=null===n||void 0===n||null===(B=n.background)||void 0===B?void 0:B.color}else L.color1=(null===n||void 0===n?void 0:n.background)||"#FFFFFF";return{palette:"custom",image:E,fade:{enabled:!1},overlay:L,foreground:{accent:(null===(k=d[0])||void 0===k?void 0:k.accent)||(0,a.$O)(L.color1||"#FFFFFF")}}};function u(e){var n,o,t,l,s,u=e.block,v=e.website,f=e.setTextColor,m=e.setAccentColor,g=e.setBackgroundColor,h=e.onChange,p=e.backgroundPictures,x=(0,r.useState)(null),y=x[0],b=x[1],j=function(){var e,n;return!0===(null===y||void 0===y||null===(e=y.image)||void 0===e||null===(n=e.media)||void 0===n?void 0:n.asVideo)};return(0,r.useEffect)((function(){v&amp;&amp;u&amp;&amp;b(c(v,u))}),[u,v]),(0,r.useEffect)((function(){if(y){var e,n,o,t,l;if("function"===typeof f)if(null===(e=y.fade)||void 0===e?void 0:e.enabled)f((0,a.$O)((null===(n=y.fade)||void 0===n?void 0:n.color)||"#FFFFFF"));else f((0,a.$O)((null===(o=y.overlay)||void 0===o?void 0:o.color1)||"#FFFFFF"));if("function"===typeof g)g((null===y||void 0===y||null===(t=y.overlay)||void 0===t?void 0:t.color1)||"#FFFFFF");if("function"===typeof m)m((null===y||void 0===y||null===(l=y.foreground)||void 0===l?void 0:l.accent)||"#000000");"function"===typeof h&amp;&amp;h(y)}}),[y]),(0,i.jsx)(i.Fragment,{children:y&amp;&amp;(0,i.jsxs)("div",{className:"absolute inset-0 z-10 pointer-events-none",children:[(null===(n=y.fade)||void 0===n?void 0:n.enabled)&amp;&amp;(0,i.jsx)("div",{className:"absolute inset-0 z-20 transition-all duration-300",style:function(){var e,n,o,t=(null===y||void 0===y||null===(e=y.fade)||void 0===e?void 0:e.opacity)||50;return{backgroundImage:"linear-gradient(".concat(a.mQ.find((function(e){var n;return e.id===((null===y||void 0===y||null===(n=y.fade)||void 0===n?void 0:n.direction)||"top-down")})).value,", transparent, ").concat(null!==(o=null===y||void 0===y||null===(n=y.fade)||void 0===n?void 0:n.color)&amp;&amp;void 0!==o?o:"#D1D5DB",")"),opacity:t/100}}()}),(0,i.jsx)("div",{className:"absolute inset-0 z-10",style:function(){var e,n,o,t,l,i,r,s,d={};"gradient"!==(null===y||void 0===y||null===(e=y.overlay)||void 0===e?void 0:e.type)?d={backgroundColor:null===y||void 0===y||null===(t=y.overlay)||void 0===t?void 0:t.color1}:d={backgroundImage:"linear-gradient(".concat(a.mQ.find((function(e){var n;return e.id===((null===y||void 0===y||null===(n=y.overlay)||void 0===n?void 0:n.direction)||"top-down")})).value,", ").concat(null!==(r=null===y||void 0===y||null===(l=y.overlay)||void 0===l?void 0:l.color1)&amp;&amp;void 0!==r?r:"#FFFFFF",", ").concat(null!==(s=null===y||void 0===y||null===(i=y.overlay)||void 0===i?void 0:i.color2)&amp;&amp;void 0!==s?s:"#D1D5DB",")")};if((null===y||void 0===y||null===(n=y.image)||void 0===n?void 0:n.enabled)&amp;&amp;(null===y||void 0===y||null===(o=y.image)||void 0===o?void 0:o.media)||(null===p||void 0===p?void 0:p.length)&gt;0){var c,u,v=isNaN(null===y||void 0===y||null===(c=y.image)||void 0===c?void 0:c.opacity)?50:null===y||void 0===y||null===(u=y.image)||void 0===u?void 0:u.opacity;d.opacity=v/100}return d}()}),((null===(o=y.image)||void 0===o?void 0:o.enabled)&amp;&amp;(null===(t=y.image)||void 0===t?void 0:t.media)||(null===p||void 0===p?void 0:p.length)&gt;0)&amp;&amp;(0,i.jsxs)(i.Fragment,{children:[(0,a.$K)(y.image.blur)&amp;&amp;"none"!==y.image.blur&amp;&amp;(0,i.jsx)("div",{className:"absolute inset-0 z-5",style:{backdropFilter:"blur(".concat(a.uR.find((function(e){return e.id===(y.image.blur||"none")})).value,")"),WebkitBackdropFilter:"blur(".concat(a.uR.find((function(e){return e.id===(y.image.blur||"none")})).value,")")}}),j()&amp;&amp;(0,i.jsx)("div",{className:"absolute inset-0 z-0 transition-all duration-300 overflow-hidden",children:(0,i.jsx)("video",{className:(0,a.AK)("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2","min-h-full min-w-full object-cover"),loop:!!(null===(l=y.image.media)||void 0===l?void 0:l.loopVideo),autoPlay:!0,muted:!0,playsInline:!0,"webkit-playsinline":!0,style:{pointerEvents:"none"},children:(0,i.jsx)("source",{src:null===(s=y.image.media)||void 0===s?void 0:s.url})})}),function(){var e;return!j()&amp;&amp;(null===y||void 0===y||null===(e=y.image)||void 0===e?void 0:e.media)}()&amp;&amp;(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"absolute inset-0 z-0 bg-white",children:(0,i.jsx)(d(),{sizes:"200vw",quality:90,priority:(null===u||void 0===u?void 0:u.idx)&lt;=1,alt:"background",src:function(){var e,n;return!0===(null===y||void 0===y||null===(e=y.image)||void 0===e||null===(n=e.media)||void 0===n?void 0:n.asVideo)?null:"".concat(y.image.media.url||y.image.media.preview||y.image.media)}(),layout:"fill",objectFit:"cover",objectPosition:"".concat(y.image.positionX||"center"," ").concat(y.image.positionY||"center")})})})]})]})})}},75654:function(e,n,o){o.d(n,{PW:function(){return F},QZ:function(){return k},WG:function(){return N}});var t=o(85893),l=o(11942),i=o(71029),r=o(85296),a=o(44171),s=o(43180),d=o(10151),c=o(36234),u=o(66909),v=o(49791),f=o(28239),m=o(48192),g=o(94206),h=o(95115),p=o(13487),x=o(23863),y=o(14892),b=o(62458),j=o(24831),w=function(e){var n=e.type,o=e.className,l=e.style;switch(n){case"angi":return(0,t.jsx)(i.Z,{className:o,style:l});case"behance":return(0,t.jsx)(r.Z,{className:o,style:l});case"dribbble":return(0,t.jsx)(a.Z,{className:o,style:l});case"facebook":return(0,t.jsx)(s.Z,{className:o,style:l});case"homeadvisor":return(0,t.jsx)(d.Z,{className:o,style:l});case"instagram":return(0,t.jsx)(c.Z,{className:o,style:l});case"linkedin":return(0,t.jsx)(u.Z,{className:o,style:l});case"pinterest":return(0,t.jsx)(v.Z,{className:o,style:l});case"tiktok":return(0,t.jsx)(f.Z,{className:o,style:l});case"thumbtack":return(0,t.jsx)(m.Z,{className:o,style:l});case"twitter":return(0,t.jsx)(g.Z,{className:o,style:l});case"twitterold":return(0,t.jsx)(h.Z,{className:o,style:l});case"youtube":return(0,t.jsx)(p.Z,{className:o,style:l});case"medium":return(0,t.jsx)(x.Z,{className:o,style:l});case"threads":return(0,t.jsx)(y.Z,{className:o,style:l});case"telegram":return(0,t.jsx)(b.Z,{className:o,style:l});default:return null}},N=[{id:"facebook",host:"facebook.com"},{id:"twitter",host:"twitter.com"},{id:"twitterold",host:"twitter.com"},{id:"linkedin",host:"linkedin.com"},{id:"youtube",host:"youtube.com"},{id:"pinterest",host:"pinterest.com"},{id:"instagram",host:"instagram.com"},{id:"tiktok",host:"tiktok.com"},{id:"thumbtack",host:"thumbtack.com"},{id:"homeadvisor",host:"homeadvisor.com"},{id:"angi",host:"angi.com"},{id:"behance",host:"behance.net"},{id:"dribbble",host:"dribbble.com"},{id:"medium",host:"medium.com"},{id:"threads",host:"threads.net"},{id:"telegram",host:"t.me"}],k=function(e){var n,o,i,r,a,s,d,c,u=e.icon,v=e.color,f=e.settings,m=void 0===f?{}:f,g=m.size=null!==(r=m.size)&amp;&amp;void 0!==r?r:"large",h=m.shape=null!==(a=m.shape)&amp;&amp;void 0!==a?a:"none",p=m.style=null!==(s=m.style)&amp;&amp;void 0!==s?s:"solid",x="large"===g?"w-8 h-8":"medium"===g?"w-7 h-7":"w-6 h-6",y={};return"none"!==h&amp;&amp;(y=function(){var e="large"===g?"w-12 h-12":"medium"===g?"w-10 h-10":"w-8 h-8",n="circle"===h?"rounded-full":"square"===h?"rounded-none":"rounded"===h?"rounded-md":"",o="solid"===p?v:"outline"===p?"transparent":"",t="outline"===p?"border":"";return{classes:(0,l.AK)(e,n,t),styles:{backgroundColor:o,borderColor:v}}}()),(0,t.jsxs)("div",{className:(0,l.AK)("flex justify-center items-center",null!==(d=y.classes)&amp;&amp;void 0!==d?d:""),style:null!==(c=y.styles)&amp;&amp;void 0!==c?c:{},children:["custom"!==u.type&amp;&amp;(0,t.jsx)(w,{type:u.type,className:(0,l.AK)(x),style:{color:"none"===h||"outline"===p?v:(0,l.$O)(v)}}),"custom"===u.type&amp;&amp;(null===(n=u.icon)||void 0===n?void 0:n._id)&amp;&amp;(0,t.jsx)("div",{className:(0,l.AK)("flex-shrink-0 relative",x),children:(0,t.jsx)("div",{className:"absolute w-full h-full",style:{backgroundColor:"none"===h||"outline"===p?v:(0,l.$O)(v),WebkitMaskImage:'url("'.concat(null===(o=u.icon)||void 0===o?void 0:o.url,'")'),maskImage:'url("'.concat(null===(i=u.icon)||void 0===i?void 0:i.url,'")'),WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain"}})})]})},F=function(e){var n=e.social,o=e.className,l=n.name||"Custom";return"twitterold"===n.type?l="Twitter":"custom"!==n.type&amp;&amp;(l=(0,j.k)(n.type)),(0,t.jsx)("div",{className:o,children:l})}},4626:function(e,n,o){o.d(n,{Z:function(){return u}});var t=o(85893),l=o(11942),i=o(14251),r=o(52875),a=o(69779),s=o(67294),d=o(23493),c=(0,s.forwardRef)((function(e,n){var o,c,u,v,f,m,g,h=e.className,p=e.text,x=e.logo,y=e.color,b=e.font,j=e.vertical,w=e.scale,N=void 0===w?1:w,k=e.textColor,F=function(){var e,n=function(){var e,n=[],o=A.current.cloneNode(!0);return o.style.position="fixed",o.style.visibility="hidden",o.style.width="auto",document.body.appendChild(o),A.current.innerText.split(" ").forEach((function(e){o.innerText=e;var t=o.getBoundingClientRect().width;n.push(Number(t.toFixed(2)))})),o.innerHTML="&amp;nbsp;",e=Number(o.getBoundingClientRect().width.toFixed(2)),document.body.removeChild(o),{wordSizes:n,emptySpaceSize:e}}(),o=n.wordSizes,t=n.emptySpaceSize,l=[],i=Number(M().maxWidth.replace("px",""))+4;j||(i=i-T(!0)-12);var r,s=0,d=null!==(r=o[0])&amp;&amp;void 0!==r?r:0;l[s]=d;for(var c=1;c&lt;o.length;c++){var u=t+o[c];d+u&lt;=i?(d+=u,l[s]=d):(s++,d=o[c],l[s]=d)}return(e=Math).max.apply(e,(0,a.Z)(l))+4},C=function(){if(A.current){var e=F(),n=e;if(j){var o=T(!0),t=Math.min(Math.max(e,0),2*o);n=Math.max(t,n)}A.current.style.width="".concat(n+4,"px")}},Z=function(){R.current=(0,l.Ds)(C,150,R.current)()},S=(0,l.ac)("(max-width: 859px)"),A=(0,s.useRef)(null),R=(0,s.useRef)(null),P=j?"secondary":"primary",T=function(e){var n=S?36:48,o=Math.round(n*N);return e?o:{width:"".concat(o,"px"),height:"".concat(o,"px")}},M=function(){if(j){var e=T(!0),n=Math.round(2*e);return{maxWidth:"".concat(n,"px")}}var o=S?224:260,t=Math.round(o*N);return{maxWidth:"".concat(t,"px")}},z=function(){var e=S?36:48;return Math.round(e*N)};(0,s.useEffect)((function(){if(A.current)return Z(),window.addEventListener("resize",Z),function(){window.removeEventListener("resize",Z),clearTimeout(R.current)}}),[p,x,N,b,S]);var L=T();return(null===x||void 0===x?void 0:x.showIcon)&amp;&amp;(null===x||void 0===x?void 0:x.icon)||(null===x||void 0===x?void 0:x.showText)&amp;&amp;p?(0,t.jsx)("div",{ref:n,className:(0,l.AK)("flex items-center justify-center text-left whitespace-normal",h),style:(0,r.Z)((0,i.Z)({},M()),{gap:"".concat(12*N,"px ").concat(8*N,"px")}),children:(null===x||void 0===x||null===(o=x.custom)||void 0===o?void 0:o.enabled)?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(d.yA,{src:null===x||void 0===x||null===(c=x.custom)||void 0===c||null===(u=c[P])||void 0===u||null===(v=u[k===l._y?"dark":"light"])||void 0===v?void 0:v.url,text:"",height:{desktop:z(),mobile:z()}})}):(0,t.jsxs)(t.Fragment,{children:[(null===x||void 0===x?void 0:x.showIcon)&amp;&amp;(0,t.jsx)("div",{className:"flex-shrink-0 relative",style:L,children:(null===x||void 0===x||null===(f=x.icon)||void 0===f?void 0:f.url)?(0,t.jsx)("div",{className:"absolute w-full h-full",style:{backgroundColor:y,WebkitMaskImage:'url("'.concat(null===x||void 0===x||null===(m=x.icon)||void 0===m?void 0:m.url,'")'),maskImage:'url("'.concat(null===x||void 0===x||null===(g=x.icon)||void 0===g?void 0:g.url,'")'),WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain"}}):(0,t.jsx)("p",{className:"m-auto",style:{fontSize:L.width,lineHeight:L.height,color:y},children:(null===p||void 0===p?void 0:p.charAt(0))||""})}),(null===x||void 0===x?void 0:x.showText)&amp;&amp;p&amp;&amp;(0,t.jsx)("h2",{ref:A,className:(0,l.AK)("heading-small lg:heading-medium max-w-full"),style:(0,i.Z)({color:y},function(){var e;if((null===x||void 0===x?void 0:x.showText)&amp;&amp;p&amp;&amp;(null===x||void 0===x?void 0:x.showIcon)&amp;&amp;(null===x||void 0===x||null===(e=x.icon)||void 0===e?void 0:e.url)){var n=(6/(p.length||0)+.66)*(S?18:22),o=Math.min(Math.max(n,16),40)*N*(j?.6:1);return{fontSize:"".concat(o,"px"),lineHeight:1.2}}return{}}(),{fontFamily:b?(null===b||void 0===b?void 0:b.family)||'"Inter", sans-serif':"var(--logo-fontFamily)",fontWeight:b?(null===b||void 0===b?void 0:b.weight)||500:"var(--logo-fontWeight)"}),children:p})]})}):null})),u=function(e){var n,o=e.branding,i=e.variant,r=e.textColor,a=e.scale,s=null===o||void 0===o?void 0:o.logo,d=(null===s||void 0===s?void 0:s.font)||(null===o||void 0===o||null===(n=o.fonts)||void 0===n?void 0:n.head),u=(0,l.ac)("(max-width: 1023px)");return(0,t.jsx)(c,{className:(0,l.AK)(["secondary"].includes(i)&amp;&amp;"flex-col text-center"),logo:s,text:null===s||void 0===s?void 0:s.text,font:d,color:r===l._y?"#FFFFFF":"#000000",scale:u?(null===a||void 0===a?void 0:a.mobile)||1:(null===a||void 0===a?void 0:a.desktop)||1,vertical:"secondary"===i,textColor:r})}},165:function(e,n,o){o.r(n),o.d(n,{default:function(){return N}});var t=o(14251),l=o(85893),i=o(11942),r=o(67294),a=o(41664),s=o.n(a),d=o(90387),c=o(52077),u=o(90434),v=o(41984),f=o(43751),m=o(17258),g=o(26581),h=o(74007),p=o(75654),x=o(21123),y=o(4433),b=o(23493),j=o(89774),w=o(4626);function N(e){var n,o,a,N,k=e.website,F=e.previousBlock,C=(0,j.$G)("common").t,Z=(0,r.useState)(!1),S=Z[0],A=Z[1],R=(0,r.useState)(""),P=R[0],T=R[1],M=(0,r.useState)(null),z=M[0],L=M[1],E=(0,r.useState)("#FFFFFF"),I=E[0],_=E[1],W=(0,r.useState)("#000000"),B=W[0],K=W[1],O=(0,r.useState)("#000000"),D=O[0],H=O[1],$=(0,r.useRef)(null),q=(0,d.useRouter)(),U=null===k||void 0===k?void 0:k.footer,V=!1!==(null===U||void 0===U?void 0:U.madeWithDurable);U&amp;&amp;U.showName&amp;&amp;(null===U.businessName||void 0===U.businessName)&amp;&amp;(U.businessName=null===k||void 0===k||null===(N=k.Business)||void 0===N?void 0:N.name);!U||null!==U.businessAddress&amp;&amp;void 0!==U.businessAddress||(U.businessAddress="");var G=null===k||void 0===k?void 0:k.header,Q=null===k||void 0===k||null===(n=k.pages)||void 0===n?void 0:n.find((function(e){return!e.slug})),J=null===(a=null===(o=k.pages)||void 0===o?void 0:o.filter((function(e){return!0===e.showOnFooter||void 0===e.showOnFooter})))||void 0===a?void 0:a.map((function(e){var n={href:"/".concat(e.slug||""),name:e.label,current:q.asPath==="/".concat(e.slug||"")||q.asPath.includes("/".concat(e.slug,"/")),type:e.type,forceRender:e.forceRender};return"parent"===n.type&amp;&amp;(n.nests=k.pages.filter((function(n){return n.Parent===e._id})).map((function(n){return{href:"/".concat(e.slug,"/").concat(n.slug||""),name:n.label,current:q.asPath==="/".concat(e.slug,"/").concat(n.slug||""),forceRender:n.forceRender}})),0===n.nests.length)?null:n})).filter((function(e){return null!==e})),Y=function(){var e,n,o,t,r,a,d,c,u,v,f,m=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"",g=U;if((0,i.$K)(null===g||void 0===g?void 0:g.logo)&amp;&amp;(0,i.$K)(null===g||void 0===g?void 0:g.siteName)||!k||(g=(0,b.i6)(U,k)),"header"===U.logoFrom&amp;&amp;(g=(0,i.$K)(null===G||void 0===G?void 0:G.logo)?G:(0,b.i6)(G,k)),"image"!==(null===g||void 0===g||null===(e=g.logo)||void 0===e?void 0:e.type)||"branding"!==(null===g||void 0===g||null===(n=g.logo)||void 0===n?void 0:n.source)){if("image"===(null===g||void 0===g||null===(o=g.logo)||void 0===o?void 0:o.type)&amp;&amp;"upload"===(null===g||void 0===g||null===(t=g.logo)||void 0===t?void 0:t.source)&amp;&amp;(null===g||void 0===g||null===(r=g.logo)||void 0===r?void 0:r.media)){var h,p,x=(0,i.QW)(null===g||void 0===g||null===(h=g.logo)||void 0===h?void 0:h.media);return(0,l.jsx)(s(),{href:"/",children:(0,l.jsx)("a",{className:(0,i.AK)("flex",m),target:(0,i.AO)(null===Q||void 0===Q?void 0:Q.forceRender),children:x&amp;&amp;(0,l.jsx)(b.yA,{src:x,text:null===g||void 0===g?void 0:g.siteName,height:null===g||void 0===g||null===(p=g.logo)||void 0===p?void 0:p.height})})})}return(0,l.jsx)(b.TR,{className:m,logo:null===g||void 0===g?void 0:g.logo,text:null===g||void 0===g?void 0:g.siteName,location:U.logoFrom||"footer",color:B,forceRender:null===Q||void 0===Q?void 0:Q.forceRender})}if(null===g||void 0===g||null===(a=g.logo)||void 0===a||null===(d=a.branding)||void 0===d?void 0:d.logo)return(0,l.jsx)(s(),{href:"/",children:(0,l.jsx)(w.Z,{branding:g.logo.branding,variant:null===(u=g.logo)||void 0===u?void 0:u.variant,textColor:B,scale:null===(v=g.logo)||void 0===v||null===(f=v.branding)||void 0===f?void 0:f.scale,forceRender:null===Q||void 0===Q?void 0:Q.forceRender})});if((null===g||void 0===g||null===(c=g.logo)||void 0===c?void 0:c.url)||(null===k||void 0===k?void 0:k.logo)){var y,j,N=(null===g||void 0===g||null===(y=g.logo)||void 0===y?void 0:y.url)||(0,i.QW)(null===k||void 0===k?void 0:k.logo);return(0,l.jsx)(s(),{href:"/",children:(0,l.jsx)("a",{className:(0,i.AK)("flex",m),target:(0,i.AO)(null===Q||void 0===Q?void 0:Q.forceRender),children:N&amp;&amp;(0,l.jsx)(b.yA,{src:N,text:null===g||void 0===g?void 0:g.siteName,height:null===g||void 0===g||null===(j=g.logo)||void 0===j?void 0:j.height})})})}},X=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"",n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];if(0===(null===J||void 0===J?void 0:J.length))return(0,l.jsx)(l.Fragment,{});var o=(0,i.h)(I,-10);return o!==B&amp;&amp;o!==I||(o=(0,i.h)(I,10)),(0,l.jsx)("ul",{className:(0,i.AK)(e,"flex flex-col items-start",n?"gap-2":"flex-wrap lg:flex-row lg:items-center gap-6"),style:{color:B},children:null===J||void 0===J?void 0:J.filter((function(e){return"nested"!==e.type})).map((function(e){var t;return(0,l.jsx)("li",{className:(0,i.AK)(n?"border-b":"border-b-2 pb-1.5 -mb-2"),style:{borderColor:e.current?"".concat(B):"transparent"},children:"parent"===e.type?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h.Z,{className:"!hidden lg:!inline-block",openUp:!0,buttonClassName:"inline-flex items-center gap-2",itemsContainerClass:"!pl-6 !pr-12 w-max max-w-120 !max-h-50 no-scrollbar",button:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"body-normal whitespace-nowrap",children:e.name}),(0,l.jsx)(u.Z,{className:"w-4 h-4"})]}),itemsContainerStyle:{backgroundColor:o,color:B},children:null===(t=e.nests)||void 0===t?void 0:t.map((function(e){return(0,l.jsx)(m.v.Item,{children:(0,l.jsx)(s(),{href:e.href,legacyBehavior:!1,className:"block py-2 body-normal border-b-2",style:{borderColor:e.current?"".concat(B):"transparent"},target:(0,i.AO)(e.forceRender),children:e.name})},"page-link-".concat(e.href))}))}),(0,l.jsxs)("button",{className:"inline-flex lg:hidden items-center gap-2",onClick:function(){A(!0),L(e.nests)},children:[(0,l.jsx)("span",{className:"body-normal",children:e.name}),(0,l.jsx)(v.Z,{className:"w-4 h-4","aria-hidden":"true"})]})]}):(0,l.jsx)(s(),{href:e.href,children:(0,l.jsx)("a",{className:"block body-normal",target:(0,i.AO)(e.forceRender),children:e.name})})},"footer-page-link-".concat(e.href))}))})},ee=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"",n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:null,o=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2];return(null===U||void 0===U?void 0:U.showSocial)&amp;&amp;(null===k||void 0===k?void 0:k.social)&amp;&amp;Array.isArray(k.social)&amp;&amp;0!==(null===k||void 0===k?void 0:k.social.length)?(0,l.jsx)("ul",{className:(0,i.AK)("flex items-center gap-x-4 gap-y-2 flex-wrap",e),children:k.social.map((function(e,t){var i=p.WG.find((function(n){return n.id===e.type})),r=e.link;return"custom"!==e.type&amp;&amp;(r=(r=e.link.replace(/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\//gi,"").replace(/https?:/g,"").replace(/^\/\/?/g,"")).replace(null===i||void 0===i?void 0:i.host,""),r="https://".concat(null===i||void 0===i?void 0:i.host,"/").concat(r)),(0,l.jsx)("li",{children:(0,l.jsx)(s(),{href:r,children:(0,l.jsx)("a",{target:"_blank",children:o?(0,l.jsx)(p.PW,{social:e,className:"body-normal"}):(0,l.jsx)(p.QZ,{icon:e,color:n||B,settings:k.socialSettings})})})},"social-icon-header-".concat(t))}))}):(0,l.jsx)(l.Fragment,{})},ne=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"";return V?(0,l.jsxs)("p",{className:(0,i.AK)("body-normal lg:text-right whitespace-nowrap",e),children:[(0,l.jsxs)("span",{children:[C("footer.madeWith"),"\xa0"]}),(0,l.jsx)(s(),{href:"https://durable.co?referrer=".concat(encodeURIComponent(P)),children:(0,l.jsx)("a",{target:"_blank",className:"underline text-current",children:"Durable"})})]}):(0,l.jsx)(l.Fragment,{})},oe=function(){return U.button?(0,l.jsx)(c.Z,{className:"break-normal",button:U.button,block:U,website:k,fallbackSize:"md"}):(0,l.jsx)(l.Fragment,{})},te=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"",n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];if(!U.additionalDetails)return(0,l.jsx)(l.Fragment,{});var o=U.additionalDetails.replace(/\r\n|\r|\n/g,"&lt;br/&gt;");return n&amp;&amp;(o=o.replace(/&lt;br\s*\/?&gt;/g,"")),(0,l.jsx)("div",{className:(0,i.AK)("rich-text-block fixed-p-size body-normal",e),style:{color:B},dangerouslySetInnerHTML:{__html:o}})},le=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"";return U.additionalDetails2?(0,l.jsx)("div",{className:(0,i.AK)("rich-text-block fixed-p-size body-normal",e),style:{color:B},dangerouslySetInnerHTML:{__html:U.additionalDetails2}}):(0,l.jsx)(l.Fragment,{})},ie=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"",n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:null;return U.bottomDetails?(0,l.jsx)("div",{className:(0,i.AK)("rich-text-block fixed-p-size body-normal",e),style:{color:n||B},dangerouslySetInnerHTML:{__html:U.bottomDetails}}):(0,l.jsx)(l.Fragment,{})},re=function(){A(!1),L(null)};return(0,r.useEffect)((function(){q&amp;&amp;re()}),[q]),(0,r.useEffect)((function(){T(null===location||void 0===location?void 0:location.origin)}),[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("footer",{className:"flex flex-1",children:(0,l.jsxs)("div",{ref:$,id:"website-footer",className:"relative flex-1 z-10 break-word",style:{color:B},children:[(0,l.jsx)(x.Z,{block:U,website:k,onChange:function(e){var n,o,t;_((null===e||void 0===e||null===(n=e.overlay)||void 0===n?void 0:n.color1)||"#FFFFFF"),K((0,i.$O)((null===e||void 0===e||null===(o=e.overlay)||void 0===o?void 0:o.color1)||"#FFFFFF")),H((null===e||void 0===e||null===(t=e.foreground)||void 0===t?void 0:t.accent)||"#000000")}}),(0,l.jsx)("div",{className:(0,i.AK)("relative z-10 container mx-auto",(0,i.bG)(null===U||void 0===U?void 0:U.spacing)),children:function(){switch(null===U||void 0===U?void 0:U.style){case"split-left":return(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row lg:justify-between gap-12",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-12 lg:gap-6",children:[Y(),(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center gap-12",children:[X(),ee(),oe()]})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[te("lg:max-w-70 xl:max-w-120 lg:text-right"),ne()]})]});case"split-nav-right":return(0,l.jsxs)("div",{className:"flex flex-col gap-8 lg:gap-20",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-8",children:[Y(),te("md:max-w-120"),ee(),oe()]}),(0,l.jsxs)("div",{className:(0,i.AK)("flex flex-col-reverse lg:flex-row gap-8 lg:items-center",V?"lg:justify-between":"lg:justify-end"),children:[ne(),X()]})]});case"stacked-right":return(0,l.jsxs)("div",{className:"flex flex-col justify-end items-end gap-12 text-right",children:[(0,l.jsxs)("div",{className:"flex flex-col items-end gap-6",children:[Y("justify-end"),te()]}),(0,l.jsxs)("div",{className:"flex flex-col justify-end gap-12 lg:gap-14",children:[X("justify-end items-end"),ee("justify-end"),(null===U||void 0===U?void 0:U.button)&amp;&amp;(0,l.jsx)("div",{children:oe()})]}),ne()]});case"stacked-center":return(0,l.jsxs)("div",{className:"flex flex-col justify-center gap-12 text-center",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[Y("justify-center"),te()]}),(0,l.jsxs)("div",{className:"flex flex-col justify-center gap-12 lg:gap-14",children:[X("justify-center items-center"),ee("justify-center"),(null===U||void 0===U?void 0:U.button)&amp;&amp;(0,l.jsx)("div",{children:oe()})]}),ne("!text-center")]});case"stacked-left":return(0,l.jsxs)("div",{className:"flex flex-col items-start gap-12 text-left",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-6",children:[Y(),te()]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-12 lg:gap-14",children:[X(),ee(),(null===U||void 0===U?void 0:U.button)&amp;&amp;(0,l.jsx)("div",{children:oe()})]}),ne("!text-left")]});case"stacked-bottom-bar":return(0,l.jsxs)("div",{className:"flex flex-col items-center gap-12",children:[Y(),(0,l.jsxs)("div",{className:"flex flex-col items-center gap-10 md:gap-12 text-center",children:[(null===U||void 0===U?void 0:U.button)&amp;&amp;(0,l.jsx)("div",{children:oe()}),X("items-center",!0),te(),le()]})]});case"simple-right":return(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[(0,l.jsxs)("div",{className:(0,i.AK)("flex flex-col lg:flex-row items-start lg:items-center gap-6",(null===U||void 0===U?void 0:U.showLogo)?"lg:gap-10":"lg:gap-2"),children:[Y(),!!U.additionalDetails&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[!(null===U||void 0===U?void 0:U.showLogo)&amp;&amp;(0,l.jsx)("span",{className:"hidden lg:inline-block",children:"\xb7"}),te("lg:max-w-70 xl:max-w-120",!0)]})]}),(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row flex-wrap lg:items-center justify-end gap-12 lg:gap-14",children:[X(),ee(),(null===U||void 0===U?void 0:U.button)&amp;&amp;(0,l.jsx)("div",{children:oe()}),ne()]})]});case"simple-center":return(0,l.jsxs)("div",{className:"flex flex-col justify-center gap-12 text-center",children:[(0,l.jsxs)("div",{className:(0,i.AK)("flex flex-col justify-center lg:items-center gap-6",(null===U||void 0===U?void 0:U.showLogo)?"lg:gap-6":"lg:flex-row lg:gap-2"),children:[Y("justify-center lg:justify-end mx-auto lg:mx-0"),!!U.additionalDetails&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[!U.showLogo&amp;&amp;(0,l.jsx)("span",{className:"hidden lg:inline-block",children:"\xb7"}),te("lg:max-w-[50vw]")]})]}),(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center justify-center gap-12 lg:gap-14",children:[X("justify-center items-center"),ee("justify-center"),oe(),ne("!text-center")]})]});case"columns-bottom-bar":var e="flex-0 w-full sm:w-1/2 lg:w-1/4 sm:px-5 lg:px-10";return(0,l.jsxs)("div",{className:"flex flex-col gap-12",children:[Y(),(0,l.jsxs)("div",{className:"flex flex-wrap gap-y-10 sm:-mx-5 lg:-mx-10",children:[X(e,!0),(null===U||void 0===U?void 0:U.showSocial)&amp;&amp;(0,l.jsx)("div",{className:e,children:ee("flex-col !items-start",null,!0)}),!!(null===U||void 0===U?void 0:U.additionalDetails)&amp;&amp;(0,l.jsx)("div",{className:e,children:te()}),!!(null===U||void 0===U?void 0:U.additionalDetails2)&amp;&amp;(0,l.jsx)("div",{className:e,children:le()})]})]});case"columns-left-bottom-bar":return(0,l.jsxs)("div",{className:"flex flex-col gap-12",children:[Y(),(0,l.jsxs)("div",{className:"flex flex-wrap gap-y-10 md:-mx-5 lg:-mx-10",children:[(0,l.jsx)("div",{className:"flex-0 w-full md:w-1/2 md:px-5 lg:px-10",children:(0,l.jsxs)("div",{className:"flex flex-wrap gap-y-10 md:-mx-5 lg:-mx-10",children:[!!(null===U||void 0===U?void 0:U.additionalDetails)&amp;&amp;(0,l.jsx)("div",{className:"flex-0 w-full lg:w-1/2 md:px-5 lg:px-10",children:te()}),X("flex-0 w-full md:w-1/2 md:px-5 lg:px-10",!0)]})}),(null===U||void 0===U?void 0:U.button)&amp;&amp;(0,l.jsx)("div",{className:"flex-0 md:text-right w-full md:w-1/2 md:px-5 lg:px-10",children:oe()})]})]});case"columns-right":return(0,l.jsxs)("div",{className:"flex flex-col gap-12",children:[Y(),(0,l.jsxs)("div",{className:"flex flex-wrap gap-y-10 md:-mx-5 lg:-mx-10",children:[((null===U||void 0===U?void 0:U.showSocial)||(null===U||void 0===U?void 0:U.button))&amp;&amp;(0,l.jsxs)("div",{className:"flex-0 w-full sm:w-1/2 md:px-5 lg:px-10 space-y-12",children:[ee(),oe()]}),X("flex-0 w-full sm:w-1/2 lg:w-1/4 md:px-5 lg:px-10",!0),!!(null===U||void 0===U?void 0:U.additionalDetails)&amp;&amp;(0,l.jsx)("div",{className:"flex-0 w-full sm:w-1/2 lg:w-1/4 md:px-5 lg:px-10",children:te()})]}),(!!(null===U||void 0===U?void 0:U.bottomDetails)||V)&amp;&amp;(0,l.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row sm:items-center gap-4",children:[ie(),ne()]})]});case"columns-right-split":return(0,l.jsxs)("div",{className:"flex flex-col gap-12",children:[Y(),(0,l.jsxs)("div",{className:"flex flex-wrap gap-y-10 md:-mx-5 lg:-mx-10",children:[(null===U||void 0===U?void 0:U.button)&amp;&amp;(0,l.jsx)("div",{className:"flex-0 w-full md:w-1/2 md:px-5 lg:px-10",children:oe()}),X("flex-0 w-full md:w-1/2 lg:w-1/4 md:px-5 lg:px-10",!0),!!(null===U||void 0===U?void 0:U.additionalDetails)&amp;&amp;(0,l.jsx)("div",{className:"flex-0 w-full md:w-1/2 lg:w-1/4 md:px-5 lg:px-10",children:te()})]}),(!!(null===U||void 0===U?void 0:U.bottomDetails)||V)&amp;&amp;(0,l.jsxs)("div",{className:"pb-8",children:[(0,l.jsx)("hr",{className:"mb-8 mt-0 opacity-20",style:{borderColor:B}}),(0,l.jsxs)("div",{className:"flex flex-col-reverse md:flex-row md:justify-between gap-8",children:[(0,l.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[ie(),ne()]}),ee()]})]})]});default:return(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row items-start lg:justify-between gap-12",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-6 items-start lg:max-w-[30vw]",children:[Y(),te("lg:max-w-70 xl:max-w-120")]}),(0,l.jsxs)("div",{className:"flex flex-col gap-12 lg:gap-6",children:[(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row gap-12 lg:items-center lg:justify-end",children:[X(),ee(),oe()]}),ne()]})]})}}()}),function(){var e;if(!(null===U||void 0===U||null===(e=U.style)||void 0===e?void 0:e.includes("bottom-bar")))return(0,l.jsx)(l.Fragment,{});var n=(0,i.$O)(D);return(0,l.jsx)("div",{className:"relative z-10 py-8 md:py-12",style:{backgroundColor:D,color:n},children:(0,l.jsx)("div",{className:"container mx-auto px-5 md:px-6",children:(0,l.jsxs)("div",{className:(0,i.AK)("flex justify-between gap-6","stacked-bottom-bar"===(null===U||void 0===U?void 0:U.style)&amp;&amp;"flex-col-reverse items-center","columns-bottom-bar"===(null===U||void 0===U?void 0:U.style)&amp;&amp;"flex-col md:flex-row"),children:[(0,l.jsxs)("div",{className:(0,i.AK)("flex gap-1 md:gap-4","stacked-bottom-bar"===(null===U||void 0===U?void 0:U.style)&amp;&amp;"flex-col-reverse items-center","columns-bottom-bar"===(null===U||void 0===U?void 0:U.style)&amp;&amp;"md:items-center"),children:[ie("",n),ne()]}),"columns-bottom-bar"!==(null===U||void 0===U?void 0:U.style)&amp;&amp;ee("",n)]})})})}(),(0,l.jsx)(y.iz,{contentRef:$,previousDivider:null===F||void 0===F?void 0:F.divider,previousBorder:null===F||void 0===F?void 0:F.border,dividerUniqueId:"website-footer-divider"})]})}),(0,l.jsx)(g.V,{open:S,onClose:re,className:"relative z-[30000] h-full",children:(0,l.jsx)(g.V.Panel,{className:"fixed inset-0 flex flex-col h-full",style:{backgroundColor:I,color:B},children:(0,l.jsxs)("div",{className:"flex-1 flex flex-col h-full container mx-auto pb-6",children:[(0,l.jsxs)("div",{className:(0,i.AK)("items-center gap-3 py-6","left"!==(null===G||void 0===G?void 0:G.style)?"grid":"flex justify-between"),style:"left"!==(null===G||void 0===G?void 0:G.style)?{gridTemplateColumns:"1fr auto 1fr"}:{},children:[("center"===(null===G||void 0===G?void 0:G.style)||"full-center"===(null===G||void 0===G?void 0:G.style))&amp;&amp;(0,l.jsx)("div",{}),function(){var e,n,o,t,r,a,d=(0,i.$K)(null===G||void 0===G?void 0:G.logo)?G:(0,b.i6)(G,k);if("image"===(null===d||void 0===d||null===(e=d.logo)||void 0===e?void 0:e.type)&amp;&amp;"branding"===(null===d||void 0===d||null===(n=d.logo)||void 0===n?void 0:n.source)&amp;&amp;((null===d||void 0===d||null===(o=d.logo)||void 0===o?void 0:o.url)||(null===k||void 0===k?void 0:k.logo))){var c,u,v=(null===d||void 0===d||null===(c=d.logo)||void 0===c?void 0:c.url)||(0,i.QW)(null===k||void 0===k?void 0:k.logo);return(0,l.jsx)(s(),{href:"/",children:(0,l.jsx)("a",{target:(0,i.AO)(null===Q||void 0===Q?void 0:Q.forceRender),children:v&amp;&amp;(0,l.jsx)(b.yA,{src:v,text:null===d||void 0===d?void 0:d.siteName,height:null===d||void 0===d||null===(u=d.logo)||void 0===u?void 0:u.height})})})}if("image"===(null===d||void 0===d||null===(t=d.logo)||void 0===t?void 0:t.type)&amp;&amp;"upload"===(null===d||void 0===d||null===(r=d.logo)||void 0===r?void 0:r.source)&amp;&amp;(null===d||void 0===d||null===(a=d.logo)||void 0===a?void 0:a.media)){var f,m,g=(0,i.QW)(null===d||void 0===d||null===(f=d.logo)||void 0===f?void 0:f.media);return(0,l.jsx)(s(),{href:"/",children:(0,l.jsx)("a",{target:(0,i.AO)(null===Q||void 0===Q?void 0:Q.forceRender),children:g&amp;&amp;(0,l.jsx)(b.yA,{src:g,text:null===d||void 0===d?void 0:d.siteName,height:null===d||void 0===d||null===(m=d.logo)||void 0===m?void 0:m.height})})})}return(0,l.jsx)(b.TR,{logo:null===d||void 0===d?void 0:d.logo,text:null===d||void 0===d?void 0:d.siteName,color:B,forceRender:null===Q||void 0===Q?void 0:Q.forceRender})}(),(0,l.jsx)("div",{className:"ml-auto lg:hidden",children:(0,l.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md focus:outline-none",style:{color:B},onClick:re,children:(0,l.jsx)(f.Z,{className:"block h-5 w-5","aria-hidden":"true"})})})]}),(0,l.jsx)("ul",{className:(0,i.AK)("flex-1 flex flex-col justify-center gap-3 w-full py-6 overflow-auto","center"===(null===U||void 0===U?void 0:U.style)||"full-center"===(null===U||void 0===U?void 0:U.style)?"text-center":""),style:(0,t.Z)({color:B},(0,i.SV)(k)),children:null===z||void 0===z?void 0:z.map((function(e){return(0,l.jsx)("li",{className:(0,i.AK)("body-large py-2 border-b-2 -mb-2"),style:{borderColor:e.current?"".concat(B):"transparent"},children:(0,l.jsx)(s(),{href:e.href,children:(0,l.jsx)("a",{className:"block w-full",target:(0,i.AO)(e.forceRender),children:e.name})})},"page-link-".concat(e.href))}))})]})})})]})}},62246:function(e,n,o){var t=o(67294),l=(o(11942),o(91033));n.Z=function(e,n){var o=(0,t.useState)(!1),i=o[0],r=o[1],a=(0,t.useRef)(e);a.current=e;var s=function(e){var n=!0,o=!1,t=void 0;try{for(var l,s=e[Symbol.iterator]();!(n=(l=s.next()).done);n=!0){var d=l.value;document.body.contains(d.target)||r(!i),a.current(d.target)}}catch(c){o=!0,t=c}finally{try{n||null==s.return||s.return()}finally{if(o)throw t}}};(0,t.useEffect)((function(){if(n){var e=new l.Z(s),o=Array.isArray(n)?n:[n];return o.forEach((function(n){return n.current&amp;&amp;e.observe(n.current)})),function(){o.forEach((function(n){return n.current&amp;&amp;e.unobserve(n.current)})),e.disconnect()}}}),[n,i])}},23226:function(e,n,o){var t=o(34727),l=o(75815),i=o(67573),r=o(97582),a=o(87066),s=o(83454);n.Z=function e(n,o){(0,l.Z)(this,e);var d=this;(0,i.Z)(this,"get",function(){var e=(0,t.Z)((function(e,n){return(0,r.__generator)(this,(function(o){return[2,new Promise((function(o,l){a.Z.get(e,{baseURL:d.baseURL,params:n||{},headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(function(){var e=(0,t.Z)((function(e){return(0,r.__generator)(this,(function(n){return o(e.data),[2]}))}));return function(n){return e.apply(this,arguments)}}()).catch((function(e){e.response?o({status:!1,message:e.response.data.message}):e.request?o({status:!1,message:e.request.message}):o({status:!1,message:e.message}),o({status:!1,message:e.config})}))}))]}))}));return function(n,o){return e.apply(this,arguments)}}());var c=this;(0,i.Z)(this,"post",function(){var e=(0,t.Z)((function(e,n,o){return(0,r.__generator)(this,(function(t){return[2,new Promise((function(t,l){a.Z.post(e,n||{},{baseURL:c.baseURL,headers:{"Content-Type":o?"multipart/form-data":"application/json",Accept:"application/json, multipart/form-data"}}).then((function(e){t(e.data)})).catch((function(e){e.response?t(e.response.data):e.request?t({status:!1,message:e.request}):t({status:!1,message:e.message}),t({status:!1,message:e.config})}))}))]}))}));return function(n,o,t){return e.apply(this,arguments)}}()),a.Z.defaults.withCredentials=null===o||void 0===o||o,this.baseURL=n||s.env.API_URL||"https://api.durable.co"}},24831:function(e,n,o){function t(e){var n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},o=n.lowerCaseTail,l=void 0!==o&amp;&amp;o,i=n.capitalizeWords,r=void 0!==i&amp;&amp;i;if(!r){var a=l?e.slice(1).toLowerCase():e.slice(1);return e.charAt(0).toUpperCase()+a}var s=e.split(" ");return s.map((function(e){return t(e,{lowerCaseTail:l,capitalizeWords:!1})})).join(" ")}o.d(n,{k:function(){return t}})},11942:function(e,n,o){o.d(n,{uR:function(){return ve},nJ:function(){return de},mQ:function(){return ue},$O:function(){return ge},_y:function(){return ce},h:function(){return Fe},SV:function(){return be},AK:function(){return fe},Ds:function(){return We},p$:function(){return ye},n3:function(){return Se},rE:function(){return Te},e0:function(){return ze},sd:function(){return Le},dz:function(){return Ie},ej:function(){return Ke},yW:function(){return Ze},pr:function(){return we},s4:function(){return je},Ae:function(){return Me},CE:function(){return Re},QW:function(){return Ee},Qm:function(){return Ce},G0:function(){return Ne},AO:function(){return De},ow:function(){return _e},bG:function(){return Pe},A2:function(){return Ae},mR:function(){return he},jn:function(){return ke},$K:function(){return Be},s:function(){return pe},d8:function(){return Oe},ac:function(){return xe},oH:function(){return me}});var t=o(14251),l=o(52875),i=o(69779),r=o(85893),a=o(67294),s=(o(79981),o(34727)),d=o(44747),c=o(97582),u=o(9008),v=o.n(u),f=o(25935),m=o(23226),g=o(85518),h=o(11163),p=o.n(h),x=(o(40993),o(42419)),y=o(28521),b=o(41968),j=o(28666),w=o(47041),N=o(52077),k=o(90387),F=o(41664),C=o.n(F),Z=o(17258),S=o(44080),A=o(62934),R=o(32713),P=o(92122),T=o(59956),M=o(72434),z=o(73423),L=o(83339),E=o(74007),I=o(75654),_=o(23493),W=o(75871),B=o(41984),K=o(3677),O=o(89774),D={fontFamily:"var(--body-fontFamily)",fontWeight:"var(--body-fontWeight, 400)",fontStyle:"var(--body-fontStyle, normal)"};function H(e){var n,o,i=e.open,s=e.block,d=e.website,c=e.background,u=e.textColor,v=e.links,f=e.headerHeight,m=e.currentNests,g=e.setCurrentNests,h=(0,O.$G)("common").t,p=(null===s||void 0===s?void 0:s.navStyle)||"default",x=function(e,n){var o=he(n,(null===p||void 0===p?void 0:p.includes("subtle"))?10:80);return(0,l.Z)((0,t.Z)({},D),{borderColor:e.current?n:"transparent",backgroundColor:e.current&amp;&amp;"default"!==p?o:"transparent",color:e.current&amp;&amp;p.includes("bold")?ge(n):"currentColor"})};return(0,r.jsx)(S.u,{show:i,as:a.Fragment,children:(0,r.jsx)("div",{className:"absolute inset-0 h-screen",children:(0,r.jsx)(S.u.Child,{as:a.Fragment,enter:"transition-all ease-in-out duration-500",enterFrom:"-translate-y-full opacity-0",enterTo:"translate-y-0 opacity-100",leave:"transition-all ease-in-out duration-500 delay-100",leaveFrom:"translate-y-0 opacity-100",leaveTo:"-translate-y-full opacity-0",children:(0,r.jsx)("div",{className:"flex flex-col h-full",style:{backgroundColor:c,color:u},children:(0,r.jsx)(S.u.Child,{as:a.Fragment,enter:"transition-all ease-in-out duration-500 delay-400",enterFrom:"-translate-y-10 opacity-0",enterTo:"translate-y-0 opacity-100",leave:"transition-all ease-in-out duration-300",leaveFrom:"translate-y-0 opacity-100",leaveTo:"-translate-y-10 opacity-0",children:(0,r.jsxs)("div",{className:"flex-1 flex flex-col gap-8 h-full w-full px-5 md:px-6",children:[(0,r.jsx)("div",{style:{height:f}}),(null===v||void 0===v?void 0:v.length)&gt;0&amp;&amp;(0,r.jsxs)("div",{className:"flex-1 overflow-auto no-scrollbar",children:[(0,r.jsx)(S.u,{as:a.Fragment,show:!m,enter:"transition-all duration-300",enterFrom:"-translate-y-10 opacity-0",enterTo:"translate-y-0 opacity-100",children:(0,r.jsx)("ul",{className:"flex flex-col items-center justify-center gap-8 h-full text-center",style:{color:u},children:1===v.length&amp;&amp;"parent"===v[0].type?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("li",{className:"heading-normal py-2",style:{borderColor:v[0].current?"".concat(u):"transparent"},children:(0,r.jsx)("span",{className:"block w-full",children:v[0].name})},"page-link-".concat(v[0].href)),null===(n=v[0].nests)||void 0===n?void 0:n.map((function(e){return(0,r.jsx)("li",{className:fe("relative heading-large py-2","default"!==p?"px-3":"","default"===p?"after:left-1/2 after:-translate-x-1/2":"",e.current&amp;&amp;"default"===p?"active-menu-item":""),style:x(e,u),children:(0,r.jsx)(C(),{className:"block w-full",href:e.href,legacyBehavior:!1,target:De(e.forceRender),children:e.name})},"page-link-".concat(e.href))}))]}):(0,r.jsx)(r.Fragment,{children:null===v||void 0===v?void 0:v.map((function(e){return(0,r.jsx)("li",{className:fe("relative heading-large py-2","default"!==p?"px-3":"","default"===p?"after:left-1/2 after:-translate-x-1/2":"",e.current&amp;&amp;"default"===p?"active-menu-item":""),style:x(e,u),children:"parent"===e.type&amp;&amp;e.nests.length&gt;0?(0,r.jsxs)("button",{className:"inline-flex items-center gap-2",onClick:function(){return g(e.nests)},children:[(0,r.jsx)("span",{children:e.name}),(0,r.jsx)(B.Z,{className:"w-4 h-4"})]}):(0,r.jsx)(C(),{className:"block w-full",href:e.href,legacyBehavior:!1,target:De(e.forceRender),children:e.name})},"page-link-".concat(e.href))}))})})}),(0,r.jsx)(S.u,{as:a.Fragment,show:!!m,enter:"transition-all duration-300",enterFrom:"-translate-y-10 opacity-0",enterTo:"translate-y-0 opacity-100",children:(0,r.jsx)("ul",{className:"flex flex-col items-center justify-center gap-8 w-full text-center",style:{color:u},children:(0,r.jsxs)(r.Fragment,{children:[m&amp;&amp;(0,r.jsx)("li",{children:(0,r.jsxs)("button",{className:fe("flex items-center justify-center gap-2 w-full py-2 heading-medium","default"!==p?"px-3":""),style:D,onClick:function(){return g(null)},children:[(0,r.jsx)(K.Z,{className:"w-4 h-4","aria-hidden":"true"}),(0,r.jsx)("span",{children:h("back")})]})}),null===m||void 0===m?void 0:m.map((function(e){return(0,r.jsx)("li",{className:fe("relative heading-large py-2","default"!==p?"px-3":"","default"===p?"after:left-1/2 md:after:left-0 after:-translate-x-1/2 md:after:translate-x-0":"",e.current&amp;&amp;"default"===p?"active-menu-item":""),style:x(e,u),children:(0,r.jsx)(C(),{className:"block w-full",href:e.href,legacyBehavior:!1,target:De(e.forceRender),children:e.name})},"page-link-".concat(e.href))}))]})})})]}),(0,r.jsx)("div",{className:fe("flex flex-col items-center max-w-full",(null===v||void 0===v?void 0:v.length)&gt;0?"":"h-full justify-center"),children:(null===s||void 0===s?void 0:s.showSocial)&amp;&amp;(null===(o=d.social)||void 0===o?void 0:o.length)&gt;0&amp;&amp;(0,r.jsx)("ul",{className:"flex items-center gap-x-4 gap-y-2 flex-wrap py-6",children:Array.isArray(d.social)&amp;&amp;d.social.map((function(e,n){var o=I.WG.find((function(n){return n.id===e.type})),t=e.link;return"custom"!==e.type&amp;&amp;(t=(t=e.link.replace(/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\//gi,"").replace(/https?:/g,"").replace(/^\/\/?/g,"")).replace(null===o||void 0===o?void 0:o.host,""),t="https://".concat(null===o||void 0===o?void 0:o.host,"/").concat(t)),(0,r.jsx)("li",{children:(0,r.jsx)(C(),{href:t,children:(0,r.jsx)("a",{target:"_blank",children:(0,r.jsx)(I.QZ,{icon:e,color:u,settings:d.socialSettings})})})},"social-icon-header-".concat(n))}))})})]})})})})})})}var $=o(26581),q=o(43751);function U(e){var n,o,t,l,i=e.open,s=e.setOpen,d=e.block,c=e.website,u=e.background,v=e.textColor,f=e.isSmall,m=(e.isMobile,e.isEdgeCase),g=e.renderLogo,h=e.links,p=e.buttons,x=e.buttonsEnabled,y=e.isHeaderTransparent,b=e.combineWithNextBlock,j=e.currentNests,w=e.setCurrentNests,k=(0,O.$G)("common").t,F=(0,a.useRef)(null),Z=(null===d||void 0===d?void 0:d.navStyle)||"default",A=null===d||void 0===d?void 0:d.style,R=null===d||void 0===d?void 0:d.menu,P=function(e,n){var o=he(n,(null===Z||void 0===Z?void 0:Z.includes("subtle"))?10:80);return{borderColor:e.current?n:"transparent",backgroundColor:e.current&amp;&amp;"default"!==Z?o:"transparent",color:e.current&amp;&amp;Z.includes("bold")?ge(n):"currentColor"}};return(0,r.jsx)(S.u,{show:i,as:"div",children:(0,r.jsxs)($.V,{className:"relative z-[30000] h-full",initialFocus:F,onClose:function(){return s(!1)},children:[(0,r.jsx)(S.u.Child,{as:a.Fragment,enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)($.V.Overlay,{className:"fixed inset-0 bg-black bg-opacity-5 transition-opacity"})}),(0,r.jsx)(S.u.Child,{as:a.Fragment,enter:"transform transition transition-all ease-in-out duration-350",enterFrom:(null===d||void 0===d||null===(n=d.menu)||void 0===n?void 0:n.collapse)&amp;&amp;!f?A.includes("left")?"translate-x-full":"-translate-x-full":"translate-x-0 opacity-0",enterTo:"translate-x-0 opacity-100",leave:"transform transition transition-all ease-in-out duration-350",leaveFrom:"translate-x-0 opacity-100",leaveTo:(null===d||void 0===d||null===(o=d.menu)||void 0===o?void 0:o.collapse)&amp;&amp;!f?A.includes("left")?"translate-x-full":"-translate-x-full":"translate-x-0 opacity-0",children:(0,r.jsx)($.V.Panel,{className:fe("fixed flex flex-col shadow-lg",(null===R||void 0===R?void 0:R.collapse)&amp;&amp;!f?A.includes("left")?"top-0 bottom-0 right-0 w-80":"top-0 left-0 bottom-0 w-80":m?"top-0 left-0 right-0":"inset-0 h-full"),style:{backgroundColor:u,color:v},children:(0,r.jsxs)("div",{ref:F,className:fe("flex-1 flex flex-col h-full mx-auto pb-6",(null===d||void 0===d?void 0:d.fullWidth)?"w-full px-6":"container"),children:[(0,r.jsxs)("div",{className:fe("items-center",G(null===d||void 0===d?void 0:d.spacing),A.includes("left")?"flex justify-between":"grid"),style:A.includes("left")?{}:{gridTemplateColumns:"1fr auto 1fr"},children:[["center","full-center"].includes(A)&amp;&amp;(0,r.jsx)("div",{}),(0,r.jsx)("div",{className:"lg:invisible",children:g(!0)}),(0,r.jsx)("div",{className:"ml-auto",children:(0,r.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md outline-none",style:{color:v},onClick:function(){return s(!1)},children:(0,r.jsx)(q.Z,{className:"block h-5 w-5","aria-hidden":"true"})})})]}),(null===h||void 0===h?void 0:h.length)&gt;0&amp;&amp;(0,r.jsxs)("div",{className:"flex-1 py-6 overflow-auto",children:[(0,r.jsx)(S.u,{as:"div",show:!j,enter:"transition-opacity",enterFrom:"opacity-0",enterTo:"opacity-100",children:(0,r.jsx)("ul",{className:fe("flex flex-col justify-center lg:justify-start gap-3 w-full",f&amp;&amp;["center","full-center"].includes(A)?"text-center":""),style:{color:v},children:1===h.length&amp;&amp;"parent"===h[0].type?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("li",{className:"text-xl lg:!text-sm font-medium py-2",style:{borderColor:h[0].current?"".concat(v):"transparent"},children:(0,r.jsx)("span",{className:"block w-full",children:h[0].name})},"page-link-".concat(h[0].href)),null===(t=h[0].nests)||void 0===t?void 0:t.map((function(e){return(0,r.jsx)("li",{className:fe("relative body-large py-2","default"!==Z?"px-3":"",["center","full-center"].includes(A)&amp;&amp;"default"===Z?"after:left-1/2 md:after:left-0 after:-translate-x-1/2 md:after:translate-x-0":"",e.current&amp;&amp;"default"===Z?"active-menu-item":""),style:P(e,v),children:(0,r.jsx)(C(),{className:"block w-full",href:e.href,legacyBehavior:!1,target:De(e.forceRender),children:e.name})},"page-link-".concat(e.href))}))]}):(0,r.jsx)(r.Fragment,{children:null===h||void 0===h?void 0:h.map((function(e){return(0,r.jsx)("li",{className:fe("relative body-large lg:!text-body py-2","default"!==Z?"px-3":"",["center","full-center"].includes(A)&amp;&amp;"default"===Z?"after:left-1/2 md:after:left-0 after:-translate-x-1/2 md:after:translate-x-0":"",e.current&amp;&amp;"default"===Z?"active-menu-item":""),style:P(e,v),children:"parent"===e.type&amp;&amp;e.nests.length&gt;0?(0,r.jsxs)("button",{className:"inline-flex items-center gap-2",onClick:function(){return w(e.nests)},children:[(0,r.jsx)("span",{children:e.name}),(0,r.jsx)(B.Z,{className:"w-4 h-4","aria-hidden":"true"})]}):(0,r.jsx)(C(),{className:"block w-full",href:e.href,legacyBehavior:!1,target:De(e.forceRender),children:e.name})},"page-link-".concat(e.href))}))})})}),(0,r.jsx)(S.u,{as:"div",show:!!j,enter:"transition-opacity",enterFrom:"opacity-0",enterTo:"opacity-100",children:(0,r.jsx)("ul",{className:fe("flex flex-col justify-center lg:justify-start gap-3 w-full",f&amp;&amp;["center","full-center"].includes(A)?"text-center":""),style:{color:v},children:(0,r.jsxs)(r.Fragment,{children:[j&amp;&amp;(0,r.jsx)("li",{children:(0,r.jsxs)("button",{className:fe("flex items-center gap-2 w-full py-2 body-large lg:!text-body","default"!==Z?"px-3":"",f&amp;&amp;["center","full-center"].includes(A)?"justify-center":""),onClick:function(){return w(null)},children:[(0,r.jsx)(K.Z,{className:"w-4 h-4","aria-hidden":"true"}),(0,r.jsx)("span",{children:k("back")})]})}),null===j||void 0===j?void 0:j.map((function(e){return(0,r.jsx)("li",{className:fe("relative body-large lg:!text-body py-2","default"!==Z?"px-3":"",["center","full-center"].includes(A)&amp;&amp;"default"===Z?"after:left-1/2 md:after:left-0 after:-translate-x-1/2 md:after:translate-x-0":"",e.current&amp;&amp;"default"===Z?"active-menu-item":""),style:P(e,v),children:(0,r.jsx)(C(),{className:"block w-full",href:e.href,legacyBehavior:!1,target:De(e.forceRender),children:e.name})},"page-link-".concat(e.href))}))]})})})]}),(0,r.jsxs)("div",{className:fe("flex flex-col max-w-[100vw] lg:hidden",["center","full-center"].includes(A)?"items-center":"",(null===h||void 0===h?void 0:h.length)&gt;0?"":"h-full justify-center"),children:[(null===d||void 0===d?void 0:d.showSocial)&amp;&amp;(null===(l=c.social)||void 0===l?void 0:l.length)&gt;0&amp;&amp;(0,r.jsx)("ul",{className:"flex items-center gap-x-4 gap-y-2 flex-wrap py-6",children:Array.isArray(c.social)&amp;&amp;c.social.map((function(e,n){var o=I.WG.find((function(n){return n.id===e.type})),t=e.link;return"custom"!==e.type&amp;&amp;(t=(t=e.link.replace(/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\//gi,"").replace(/https?:/g,"").replace(/^\/\/?/g,"")).replace(null===o||void 0===o?void 0:o.host,""),t="https://".concat(null===o||void 0===o?void 0:o.host,"/").concat(t)),(0,r.jsx)("li",{children:(0,r.jsx)(C(),{href:t,children:(0,r.jsx)("a",{target:"_blank",children:(0,r.jsx)(I.QZ,{icon:e,color:y&amp;&amp;!f?b.textColor:v,settings:c.socialSettings})})})},"social-icon-header-".concat(n))}))}),(null===p||void 0===p?void 0:p.length)&gt;0&amp;&amp;x&amp;&amp;(0,r.jsx)("div",{className:fe("flex items-center flex-shrink-0 flex-wrap gap-4",["center","full-center"].includes(A)?"items-center justify-center":""),children:null===p||void 0===p?void 0:p.map((function(e,n){return(0,r.jsx)(N.Z,{button:e,block:d,website:c,className:fe(["center","full-center"].includes(A)?"text-center":"")},"banner-button-".concat(n))}))}),(null===d||void 0===d?void 0:d.button)&amp;&amp;(0,r.jsx)("div",{className:"py-6",children:(0,r.jsx)(N.Z,{button:d.button,block:d,website:c})})]})]})})})]})})}var V=o(4626),G=function(e){var n,o,t=(null===(n=W.b[null===e||void 0===e?void 0:e.top])||void 0===n?void 0:n.top)||W.b.medium.top,l=(null===(o=W.b[null===e||void 0===e?void 0:e.bottom])||void 0===o?void 0:o.bottom)||W.b.medium.bottom;return"".concat(t," ").concat(l)};function Q(e){var n,o,t,l,i,s,d,c,u,v,f,m,g,h,p,x,y,b,j,w,F,S,W,B,K=e.website,O=function(){var e,n,o;return(0,r.jsxs)("div",{className:"ml-auto lg:hidden",children:[(je&amp;&amp;(null===pe||void 0===pe?void 0:pe.length)&gt;0||(null===Ie||void 0===Ie?void 0:Ie.length)&gt;0||(null===Ze||void 0===Ze?void 0:Ze.showSocial)&amp;&amp;Array.isArray(null===K||void 0===K?void 0:K.social)&amp;&amp;(null===K||void 0===K||null===(e=K.social)||void 0===e?void 0:e.length)&gt;1)&amp;&amp;(0,r.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md focus:outline-none transition-colors duration-300",style:{color:!He&amp;&amp;We?ue.textColor:oe},onClick:function(){return Q(!q)},children:q&amp;&amp;"screen"===(null===Ze||void 0===Ze||null===(n=Ze.menu)||void 0===n?void 0:n.style)?(0,r.jsx)(A.Z,{className:"w-5 h-5"}):Ye()}),!je&amp;&amp;0===(null===Ie||void 0===Ie?void 0:Ie.length)&amp;&amp;(null===Ze||void 0===Ze?void 0:Ze.showSocial)&amp;&amp;Array.isArray(null===K||void 0===K?void 0:K.social)&amp;&amp;1===(null===K||void 0===K||null===(o=K.social)||void 0===o?void 0:o.length)&amp;&amp;Ue(!0)]})},D=xe("(max-width: 1023px)"),$=(0,a.useState)(!1),q=$[0],Q=$[1],J=(0,a.useState)("#FFFFFF"),X=J[0],ee=J[1],ne=(0,a.useState)("#000000"),oe=ne[0],te=ne[1],le=(0,a.useState)(null),ie=le[0],re=le[1],ae=(0,a.useState)(!1),se=ae[0],de=ae[1],ce=(0,a.useState)({combine:!1}),ue=ce[0],ve=ce[1],me=(0,a.useState)(null),pe=me[0],ye=me[1],be=(0,a.useState)(!1),je=be[0],we=be[1],Ne=(0,k.useRouter)(),ke=(0,a.useRef)(null),Ce=null===K||void 0===K||null===(n=K.pages)||void 0===n?void 0:n.find((function(e){return!e.slug})),Ze=null===K||void 0===K?void 0:K.header,Se=(0,a.useState)(!1),Ae=Se[0],Re=Se[1],Pe=(0,a.useState)(!1),Te=Pe[0],Me=Pe[1],ze="image"===(null===(o=Ze.logo)||void 0===o?void 0:o.type)&amp;&amp;"upload"===(null===(t=Ze.logo)||void 0===t?void 0:t.source)&amp;&amp;((null===Ze||void 0===Ze||null===(l=Ze.logo)||void 0===l||null===(i=l.height)||void 0===i?void 0:i.desktop)&gt;80||(null===Ze||void 0===Ze||null===(s=Ze.logo)||void 0===s||null===(d=s.height)||void 0===d?void 0:d.mobile)&gt;80)&amp;&amp;(null===Ze||void 0===Ze?void 0:Ze.sticky),Le="image"===(null===(c=Ze.logo)||void 0===c?void 0:c.type)&amp;&amp;"branding"===(null===(u=Ze.logo)||void 0===u?void 0:u.source)&amp;&amp;(null===(v=Ze.logo)||void 0===v||null===(f=v.branding)||void 0===f?void 0:f.logo)&amp;&amp;((null===(m=Ze.logo)||void 0===m||null===(g=m.branding)||void 0===g||null===(h=g.scale)||void 0===h?void 0:h.desktop)&gt;1||(null===(p=Ze.logo)||void 0===p||null===(x=p.branding)||void 0===x||null===(y=x.scale)||void 0===y?void 0:y.mobile)&gt;1)&amp;&amp;(null===Ze||void 0===Ze?void 0:Ze.sticky),Ie=(0,a.useMemo)((function(){var e,n;return(null===(n=null===(e=K.pages)||void 0===e?void 0:e.filter((function(e){return!0===e.showOnHeader||void 0===e.showOnHeader})))||void 0===n?void 0:n.map((function(e){var n={href:"/".concat(e.slug||""),name:e.label,current:Ne.asPath==="/".concat(e.slug||"")||Ne.asPath.includes("/".concat(e.slug,"/")),type:e.type,forceRender:e.forceRender};return"parent"===n.type&amp;&amp;(n.nests=K.pages.filter((function(n){var o;return n.Parent===e._id||(null===(o=n.Parent)||void 0===o?void 0:o._id)===e._id})).map((function(n){return{href:"/".concat(e.slug,"/").concat(n.slug||""),name:n.label,current:Ne.asPath==="/".concat(e.slug,"/").concat(n.slug||""),forceRender:n.forceRender}})),0===n.nests.length)?null:n})).filter((function(e){return null!==e&amp;&amp;"nested"!==e.type&amp;&amp;void 0!==e})))||[]}),[K,Ne.asPath]),We=(null===ue||void 0===ue?void 0:ue.combine)&amp;&amp;(!(null===Ze||void 0===Ze?void 0:Ze.sticky)||!se),Ke=null===Ze||void 0===Ze?void 0:Ze.style,Oe=(null===Ze||void 0===Ze?void 0:Ze.navStyle)||"default",He=(null===Ze||void 0===Ze||null===(b=Ze.menu)||void 0===b?void 0:b.collapse)&amp;&amp;"screen"===(null===Ze||void 0===Ze||null===(j=Ze.menu)||void 0===j?void 0:j.style)&amp;&amp;q,$e=function(){var e;return(null===ke||void 0===ke||null===(e=ke.current)||void 0===e?void 0:e.clientHeight)||0},qe=function(){return(null===pe||void 0===pe?void 0:pe.length)&gt;0&amp;&amp;je&amp;&amp;(0,r.jsx)("div",{className:"hidden lg:flex items-center flex-shrink-0 gap-4",children:null===pe||void 0===pe?void 0:pe.map((function(e,n){return(0,r.jsx)(N.Z,{button:e,block:Ze,website:K,fallbackSize:"md"},"banner-button-".concat(n))}))})},Ue=function(e){var n,o;return(null===Ze||void 0===Ze||null===(n=Ze.menu)||void 0===n?void 0:n.collapse)&amp;&amp;"screen"===(null===Ze||void 0===Ze||null===(o=Ze.menu)||void 0===o?void 0:o.style)&amp;&amp;(null===Ie||void 0===Ie?void 0:Ie.length)&gt;0?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)("ul",{className:fe("lg:flex items-center gap-x-4 gap-y-2 flex-wrap","full-center"!==Ke?"justify-end":"",!e&amp;&amp;"hidden"),children:Array.isArray(K.social)&amp;&amp;K.social.map((function(e,n){var o=I.WG.find((function(n){return n.id===e.type})),t=e.link;return"custom"!==e.type&amp;&amp;(t=(t=e.link.replace(/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\//gi,"").replace(/https?:/g,"").replace(/^\/\/?/g,"")).replace(null===o||void 0===o?void 0:o.host,""),t="https://".concat(null===o||void 0===o?void 0:o.host,"/").concat(t)),(0,r.jsx)("li",{children:(0,r.jsx)(C(),{href:t,children:(0,r.jsx)("a",{target:"_blank",children:(0,r.jsx)(I.QZ,{icon:e,color:We?ue.textColor:oe,settings:K.socialSettings})})})},"social-icon-header-".concat(n))}))})},Ve=function(e){var n,o,t,l,i,a,s,d,c=null===Ze||void 0===Ze?void 0:Ze.logo,u={desktop:(null===Ze||void 0===Ze||null===(n=Ze.logo)||void 0===n||null===(o=n.height)||void 0===o?void 0:o.desktop)&gt;80?80:null===Ze||void 0===Ze||null===(t=Ze.logo)||void 0===t||null===(l=t.height)||void 0===l?void 0:l.desktop,mobile:(null===Ze||void 0===Ze||null===(i=Ze.logo)||void 0===i||null===(a=i.height)||void 0===a?void 0:a.mobile)&gt;80?80:null===Ze||void 0===Ze||null===(s=Ze.logo)||void 0===s||null===(d=s.height)||void 0===d?void 0:d.mobile};if(!Be(c)&amp;&amp;K&amp;&amp;(c=(0,_.i6)(Ze,K).logo),"image"===(null===c||void 0===c?void 0:c.type)&amp;&amp;"branding"===(null===c||void 0===c?void 0:c.source)){var v,f,m,g,h,p,x,y;if(null===Ze||void 0===Ze||null===(v=Ze.logo)||void 0===v||null===(f=v.branding)||void 0===f?void 0:f.logo)return(0,r.jsx)(C(),{href:"/",children:(0,r.jsx)("a",{target:De(null===Ce||void 0===Ce?void 0:Ce.forceRender),children:Le?(0,r.jsx)(Y,{branding:Ze.logo.branding,variant:null===(m=Ze.logo)||void 0===m?void 0:m.variant,textColor:We?ue.textColor:oe,scale:null===Ze||void 0===Ze||null===(g=Ze.logo)||void 0===g||null===(h=g.branding)||void 0===h?void 0:h.scale,resizeScale:Te}):(0,r.jsx)(V.Z,{branding:Ze.logo.branding,variant:null===(p=Ze.logo)||void 0===p?void 0:p.variant,textColor:We?ue.textColor:oe,scale:null===Ze||void 0===Ze||null===(x=Ze.logo)||void 0===x||null===(y=x.branding)||void 0===y?void 0:y.scale})})});if((null===c||void 0===c?void 0:c.url)||(null===K||void 0===K?void 0:K.logo)){var b,j=(null===c||void 0===c?void 0:c.url)||Ee(null===K||void 0===K?void 0:K.logo);return(0,r.jsx)(C(),{href:"/",children:(0,r.jsx)("a",{className:"max-w-full overflow-hidden grid",target:De(null===Ce||void 0===Ce?void 0:Ce.forceRender),children:j&amp;&amp;(0,r.jsx)(_.yA,{src:j,text:null===Ze||void 0===Ze?void 0:Ze.siteName,height:Ae?u:null===Ze||void 0===Ze||null===(b=Ze.logo)||void 0===b?void 0:b.height})})})}}else if("image"===(null===c||void 0===c?void 0:c.type)&amp;&amp;"upload"===(null===c||void 0===c?void 0:c.source)&amp;&amp;(null===c||void 0===c?void 0:c.media)){var w,N=Ee(null===c||void 0===c?void 0:c.media);return(0,r.jsx)(C(),{href:"/",children:(0,r.jsx)("a",{className:"max-w-full overflow-hidden grid",target:De(null===Ce||void 0===Ce?void 0:Ce.forceRender),children:N&amp;&amp;(0,r.jsx)(_.yA,{src:N,text:null===Ze||void 0===Ze?void 0:Ze.siteName,height:Ae?u:null===Ze||void 0===Ze||null===(w=Ze.logo)||void 0===w?void 0:w.height})})})}return(0,r.jsx)(_.TR,{text:null===Ze||void 0===Ze?void 0:Ze.siteName,logo:c,color:He||!We||e?oe:ue.textColor,forceRender:null===Ce||void 0===Ce?void 0:Ce.forceRender})},Ge=function(e,n){var o=he(n,(null===Oe||void 0===Oe?void 0:Oe.includes("subtle"))?10:80);return{borderColor:e.current?n:"transparent",backgroundColor:e.current&amp;&amp;"default"!==Oe?o:"transparent",color:e.current&amp;&amp;Oe.includes("bold")?ge(n):"currentColor"}},Qe=function(){var e;if(0===(null===Ie||void 0===Ie?void 0:Ie.length))return(0,r.jsx)(r.Fragment,{});var n=Fe(X,-10);n!==oe&amp;&amp;n!==X||(n=Fe(X,10));var o=ge(n),t=We?ue.textColor:oe;return(0,r.jsx)("ul",{className:fe("hidden items-center flex-wrap",!(null===Ze||void 0===Ze||null===(e=Ze.menu)||void 0===e?void 0:e.collapse)&amp;&amp;"lg:flex","left"===Ke&amp;&amp;"justify-end","full-center"===Ke&amp;&amp;"justify-center","default"===Oe?"gap-x-6":"gap-x-2"),style:{color:t},children:null===Ie||void 0===Ie?void 0:Ie.map((function(e){var l;return(0,r.jsx)("li",{className:fe("default"===Oe?"border-b-2":"",(null===Oe||void 0===Oe?void 0:Oe.includes("round"))&amp;&amp;"rounded-lg"),style:Ge(e,t),children:"parent"===e.type?(0,r.jsx)(E.Z,{buttonClassName:fe("inline-flex items-center gap-2","default"===Oe?"py-1.5":"py-2 px-3"),itemsContainerClass:fe("!p-4 !pr-6 w-max max-w-120 !max-h-[80vh] no-scrollbar",(null===Oe||void 0===Oe?void 0:Oe.includes("square"))&amp;&amp;"!rounded-none","default"===Oe&amp;&amp;"mt-0.5"),button:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"body-normal whitespace-nowrap",children:e.name}),(0,r.jsx)(R.Z,{className:"w-4 h-4"})]}),itemsContainerStyle:{backgroundColor:n,color:o},children:null===(l=e.nests)||void 0===l?void 0:l.map((function(e){return(0,r.jsx)(Z.v.Item,{children:(0,r.jsx)(C(),{className:fe("block py-2 body-normal","default"===Oe?"border-b-2":"px-3",(null===Oe||void 0===Oe?void 0:Oe.includes("round"))&amp;&amp;"rounded-lg"),href:e.href,legacyBehavior:!1,target:De(e.forceRender),style:Ge(e,t),children:e.name})},"page-link-".concat(e.href))}))}):(0,r.jsx)(C(),{className:fe("block body-normal whitespace-nowrap","default"===Oe?"py-1.5":"py-2 px-3"),legacyBehavior:!1,href:e.href,target:De(e.forceRender),children:e.name})},"header-page-link-".concat(e.href))}))})},Je=function(){var e,n;return 0===(null===Ie||void 0===Ie?void 0:Ie.length)?(0,r.jsx)(r.Fragment,{}):(null===Ze||void 0===Ze||null===(e=Ze.menu)||void 0===e?void 0:e.collapse)?(0,r.jsx)("button",{className:"hidden lg:inline-flex items-center justify-center gap-2 p-2 rounded-md transition-colors duration-300",style:{color:!He&amp;&amp;We?ue.textColor:oe},onClick:function(){return Q(!q)},children:q&amp;&amp;"screen"===(null===Ze||void 0===Ze||null===(n=Ze.menu)||void 0===n?void 0:n.style)?(0,r.jsx)(A.Z,{className:"w-5 h-5"}):Ye()}):null},Ye=function(){var e,n="block h-5 w-5";switch(null===Ze||void 0===Ze||null===(e=Ze.menu)||void 0===e?void 0:e.icon){case"bars-3-bottom-left":return(0,r.jsx)(P.Z,{className:n,"aria-hidden":"true"});case"bars-3-bottom-right":return(0,r.jsx)(T.Z,{className:n,"aria-hidden":"true"});case"bars-3-center-left":return(0,r.jsx)(M.Z,{className:n,"aria-hidden":"true"});case"bars-2":return(0,r.jsx)(z.Z,{className:n,"aria-hidden":"true"});default:return(0,r.jsx)(L.Z,{className:n,"aria-hidden":"true"})}},Xe=function(){var e,n=null===(e=document.querySelector("#main-body"))||void 0===e?void 0:e.scrollTop;if(ze||Le){var o=$e()-20;de((function(e){return!e&amp;&amp;n&gt;o||!(e&amp;&amp;n&lt;20)&amp;&amp;e}))}else de(n&gt;20)};(0,a.useEffect)((function(){ze&amp;&amp;Re(!!se),Le&amp;&amp;Me(!!se)}),[se]);var en=function(e){var n=document.querySelector("[data-combine-with-header]");if(n){var o=null===n||void 0===n?void 0:n.getAttribute("data-combine-with-header");ve((function(t){return e&lt;10&amp;&amp;(null===n||void 0===n?void 0:n.getAttribute("data-text-color"))!==t.textColor&amp;&amp;setTimeout((function(){en(e+1)}),100*e),{combine:!0===o||"true"===o,textColor:null===n||void 0===n?void 0:n.getAttribute("data-text-color")}}))}else ve((function(o){return e&lt;10&amp;&amp;(!n||(null===n||void 0===n?void 0:n.getAttribute("data-text-color"))!==o.textColor)&amp;&amp;setTimeout((function(){en(e+1)}),15*e),{combine:!1,textColor:null}}))};return(0,a.useEffect)((function(){if(Ze){var e,n,o,t,l,i;if(ye((null===Ze||void 0===Ze||null===(e=Ze.buttons)||void 0===e?void 0:e.items)||[Ze.button]),we((null===Ze||void 0===Ze||null===(n=Ze.buttons)||void 0===n?void 0:n.items)?null===Ze||void 0===Ze||null===(o=Ze.buttons)||void 0===o?void 0:o.enabled:!!Ze.button),Ze.layers)if("custom"===Ze.layers.palette){var r;ee((null===(r=Ze.layers.overlay)||void 0===r?void 0:r.color1)||"#FFFFFF")}else{var a,s,d=(null===K||void 0===K||null===(a=K.colorPalette)||void 0===a?void 0:a.Palette)||(null===K||void 0===K?void 0:K.colorPalette);ee(_e(d,null===(s=Ze.layers)||void 0===s?void 0:s.palette,"color"))}else ee(Ze.background||"#FFFFFF");if(null===Ze.siteName||void 0===Ze.siteName)Ze.siteName=null===K||void 0===K||null===(i=K.Business)||void 0===i?void 0:i.name;Ze.style||(Ze.style="left"),(null===(t=Ze.logoDesktop)||void 0===t?void 0:t.height)||(Ze.logoDesktop={height:80}),(null===(l=Ze.logoMobile)||void 0===l?void 0:l.height)||(Ze.logoMobile={height:40}),Ze.sticky&amp;&amp;(null===ke||void 0===ke?void 0:ke.current)&amp;&amp;(document.documentElement.style.scrollPaddingTop=ke.current.clientHeight+"px")}}),[Ze]),(0,a.useEffect)((function(){en(0)}),[Ne.asPath]),(0,a.useEffect)((function(){X&amp;&amp;te(ge(X))}),[X]),(0,a.useEffect)((function(){Q(!1),re(null)}),[Ne.asPath,D]),(0,a.useEffect)((function(){var e;return null===(e=document.querySelector("#main-body"))||void 0===e||e.addEventListener("scroll",Xe),function(){var e;null===(e=document.querySelector("#main-body"))||void 0===e||e.removeEventListener("scroll",Xe)}}),[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("header",{id:"website-header",ref:ke,className:fe("!z-[2000] transition-colors duration-300",(null===Ze||void 0===Ze?void 0:Ze.sticky)?"sticky top-0":"",(null===Ze||void 0===Ze?void 0:Ze.sticky)&amp;&amp;!ue.combine&amp;&amp;se||(null===Ze||void 0===Ze?void 0:Ze.sticky)&amp;&amp;se?"shadow-md":""),style:{backgroundColor:We?"transparent":X,color:We?ue.textColor:oe},children:[(0,r.jsx)("div",{className:fe("relative z-10 grid items-center lg:gap-6 xl:gap-10 mx-auto",G(null===Ze||void 0===Ze?void 0:Ze.spacing),(null===Ze||void 0===Ze?void 0:Ze.fullWidth)?"px-6 lg:px-12":"container"),style:function(e){return"center"===e?{gridTemplateColumns:"1fr auto 1fr"}:"full-center"===e?(null===Ie||void 0===Ie?void 0:Ie.length)&gt;6?{gridTemplateColumns:"1fr 4fr 1fr"}:{gridTemplateColumns:"1fr auto 1fr"}:{gridTemplateColumns:"auto auto auto"}}(Ke),children:"center"===Ke?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"lg:w-auto whitespace-nowrap",children:[Qe(),Je()]}),(0,r.jsx)("div",{className:"flex justify-center",children:Ve()}),(0,r.jsxs)("div",{className:"flex justify-end",children:[(0,r.jsxs)("div",{className:"hidden lg:flex item-center gap-10",children:[(null===Ze||void 0===Ze?void 0:Ze.showSocial)&amp;&amp;Ue(),je&amp;&amp;qe()]}),O()]})]}):"full-center"===Ke?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"lg:w-auto whitespace-nowrap",children:(null===Ze||void 0===Ze?void 0:Ze.showSocial)&amp;&amp;Ue()}),(0,r.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-4 whitespace-nowrap",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 w-full",children:[Ve(),Je()]}),Qe()]}),(0,r.jsxs)("div",{className:"flex justify-end whitespace-nowrap",children:[je&amp;&amp;qe(),O()]})]}):"logo-left-menu-left"===Ke?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-10 col-span-2",children:[Ve(),Qe(),Je()]}),(0,r.jsxs)("div",{className:"hidden lg:flex item-center justify-end gap-10",children:[(null===Ze||void 0===Ze?void 0:Ze.showSocial)&amp;&amp;Ue(),je&amp;&amp;qe()]}),O()]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"col-span-2 lg:col-span-1",children:Ve()}),(0,r.jsxs)("div",{className:"hidden lg:flex item-center justify-end gap-10 lg:col-span-2",children:["screen"!==(null===Ze||void 0===Ze||null===(w=Ze.menu)||void 0===w?void 0:w.style)&amp;&amp;Je(),Qe(),(null===Ze||void 0===Ze?void 0:Ze.showSocial)&amp;&amp;Ue(),je&amp;&amp;qe(),"screen"===(null===Ze||void 0===Ze||null===(F=Ze.menu)||void 0===F?void 0:F.style)&amp;&amp;Je()]}),O()]})}),(null===Ze||void 0===Ze||null===(S=Ze.menu)||void 0===S?void 0:S.collapse)&amp;&amp;"screen"===(null===Ze||void 0===Ze||null===(W=Ze.menu)||void 0===W?void 0:W.style)&amp;&amp;!D&amp;&amp;(0,r.jsx)(H,{open:q,setOpen:Q,block:Ze,website:K,background:X,textColor:oe,links:Ie,headerHeight:$e(),currentNests:ie,setCurrentNests:re})]}),("screen"!==(null===Ze||void 0===Ze||null===(B=Ze.menu)||void 0===B?void 0:B.style)||D)&amp;&amp;(0,r.jsx)(U,{open:q,setOpen:Q,block:Ze,website:K,background:X,textColor:oe,isSmall:D,isEdgeCase:!(!je||0!==(null===Ie||void 0===Ie?void 0:Ie.length)||(null===Ze||void 0===Ze?void 0:Ze.showSocial))||!!(0===(null===Ie||void 0===Ie?void 0:Ie.length)&amp;&amp;(null===Ze||void 0===Ze?void 0:Ze.showSocial)&amp;&amp;Array.isArray(null===K||void 0===K?void 0:K.social)&amp;&amp;(null===K||void 0===K?void 0:K.social.length)&gt;1)||!je&amp;&amp;!Ze.showSocial&amp;&amp;1===(null===Ie||void 0===Ie?void 0:Ie.length)||!(1!==(null===Ie||void 0===Ie?void 0:Ie.length)||!je&amp;&amp;!Ze.showSocial),renderLogo:Ve,links:Ie,buttons:pe,buttonsEnabled:je,isHeaderTransparent:We,combineWithNextBlock:ue,currentNests:ie,setCurrentNests:re})]})}var J,Y=function(e){var n=e.branding,o=e.variant,t=e.textColor,l=e.scale,i=e.resizeScale,s=(0,a.useState)(!0),d=s[0],c=s[1],u=(0,a.useState)(!1),v=u[0],f=u[1];return(0,a.useEffect)((function(){i?c(!1):f(!1)}),[i]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S.u,{as:"div",className:"inline-block",unmount:!1,show:d,enter:"transition-all duration-300",enterFrom:"opacity-0 -translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition-all duration-300",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 -translate-y-3",afterLeave:function(){f(!0)},children:(0,r.jsx)(V.Z,{branding:n,variant:o,textColor:t,scale:l})}),(0,r.jsx)(S.u,{as:"div",className:"inline-block",unmount:!1,show:v,enter:"transition-all duration-300",enterFrom:"opacity-0 -translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition-all duration-300",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 -translate-y-3",afterLeave:function(){c(!0)},children:(0,r.jsx)(V.Z,{branding:n,variant:o,textColor:t})})]})},X=o(165),ee=o(40782),ne=o(83457),oe=o.n(ne),te=function(e){var n=e.apiUrl,o=e.website,t=(e.page,"home-local-markup"),l=function(){var e=(0,s.Z)((function(){var e,t;return(0,c.__generator)(this,(function(l){switch(l.label){case 0:return[4,new m.Z(n).get("/office/get-info-by-business",{idBusiness:o.Business._id})];case 1:return e=l.sent(),t={},e&amp;&amp;!0===e.status&amp;&amp;(t=(null===e||void 0===e?void 0:e.content)||{}),[2,t]}}))}));return function(){return e.apply(this,arguments)}}(),i=function(){var e=(0,s.Z)((function(){var e,t,l;return(0,c.__generator)(this,(function(i){switch(i.label){case 0:return[4,new m.Z(n).get("/seo/markup-local-business-images",{idBusiness:o.Business._id})];case 1:return e=i.sent(),t={},e&amp;&amp;!0===e.status&amp;&amp;(t=(null===e||void 0===e||null===(l=e.content)||void 0===l?void 0:l.images)||{}),[2,t]}}))}));return function(){return e.apply(this,arguments)}}(),d=function(e){var n=[];if(Array.isArray(e)){var o=!0,t=!1,l=void 0;try{for(var i,r=e[Symbol.iterator]();!(o=(i=r.next()).done);o=!0){var a=i.value;if((null===a||void 0===a?void 0:a.link)&amp;&amp;(null===a||void 0===a?void 0:a.type))switch(a.type){case"facebook":n.push("https://facebook.com/".concat(a.link));break;case"youtube":n.push("https://youtube.com/".concat(a.link));break;case"linkedin":n.push("https://linkedin.com/".concat(a.link));break;case"instagram":n.push("https://instagram.com/".concat(a.link))}}}catch(s){t=!0,l=s}finally{try{o||null==r.return||r.return()}finally{if(t)throw l}}}return n},u=function(e){return!0===(null===e||void 0===e?void 0:e.public)?{"@type":"PostalAddress",streetAddress:(null===e||void 0===e?void 0:e.line1)||"",addressLocality:(null===e||void 0===e?void 0:e.city)||"",addressRegion:(null===e||void 0===e?void 0:e.state)||"",postalCode:(null===e||void 0===e?void 0:e.postalCode)||"",addressCountry:(null===e||void 0===e?void 0:e.country)?e.country.toUpperCase():""}:{}},v=function(){var e=(0,s.Z)((function(){var e,n,r,a,s,v,f,m;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return"object"!==typeof document?[3,3]:[4,l().catch((function(e){return console.log("Address Error",e)}))];case 1:return r=c.sent(),a=r.address,s=r.phoneNumber,[4,i().catch((function(e){return console.log("Gallery Error",e)}))];case 2:v=c.sent(),f={"@context":"https://schema.org/","@type":"LocalBusiness",name:(null===o||void 0===o||null===(e=o.seo)||void 0===e?void 0:e.title)||(null===o||void 0===o||null===(n=o.header)||void 0===n?void 0:n.name)||"",url:"".concat(location.protocol,"//").concat(location.hostname,"/"),telephone:s||"",image:v,address:u(a),sameAs:d((null===o||void 0===o?void 0:o.social)||[])},(m=document.getElementById(t)||document.createElement("script")).id=t,m.type="application/ld+json",m.innerHTML=JSON.stringify(f),document.body.appendChild(m),c.label=3;case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){return v().catch((function(e){return console.error("Failed to build markup")})),function(){!function(){if("object"===typeof document){var e=document.getElementById(t);e&amp;&amp;e.remove()}}()}}),[]),(0,r.jsx)(r.Fragment,{})},le=o(24230),ie={success:{color:"bg-green-50 text-green-800",icon:(0,r.jsx)(x.Z,{className:"h-5 w-5 text-green-400"}),progress:"bg-green-700"},error:{color:"bg-red-50 text-red-800",icon:(0,r.jsx)(y.Z,{className:"h-5 w-5 text-red-400"}),progress:"bg-red-700"},info:{color:"bg-indigo-50 text-indigo-800",icon:(0,r.jsx)(b.Z,{className:"h-5 w-5 text-indigo-400"}),progress:"bg-indigo-700"},warning:{color:"bg-yellow-50 text-yellow-800",icon:(0,r.jsx)(j.Z,{className:"h-5 w-5 text-yellow-400"}),progress:"bg-yellow-700"},default:{color:"bg-gray-50 text-gray-800",icon:(0,r.jsx)(x.Z,{className:"h-5 w-5 text-gray-400"}),progress:"bg-gray-700"},dark:{color:"bg-white-600 font-gray-300",icon:(0,r.jsx)(x.Z,{className:"h-5 w-5 text-gray-400"}),progress:"bg-gray-300"}},re=[],ae=function(e){var n,l,i,u,h,x,y,b=e.children,j=e.website,N=e.page,k=e.apiUrl,F=e.ipAddress,C=e.hideFooter,Z=p().useRouter(),S=(0,a.useState)(0),A=S[0],R=S[1],P=(0,a.useState)(!1),T=P[0],M=P[1],z=(0,a.useState)(null),L=z[0],E=z[1],I=(0,a.useState)(0),_=I[0],W=I[1],B=new m.Z(k),K=null!==(y=j.seo)&amp;&amp;void 0!==y?y:{},O=K.headCode,D=K.footerCode,H=(0,d.Z)(K,["headCode","footerCode"]),$=(0,t.Z)({globalHeadCode:O,globalFooterCode:D},H,null===N||void 0===N?void 0:N.seo),q=(null===$||void 0===$?void 0:$.title)?$.title:(null===(n=j.Business)||void 0===n?void 0:n.name)+" | "+(null===(l=j.Business)||void 0===l||null===(i=l.type)||void 0===i?void 0:i.name),U=(null===$||void 0===$?void 0:$.description)?$.description:"",V=(0,a.useCallback)(function(){var e=(0,s.Z)((function(e){return(0,c.__generator)(this,(function(n){switch(n.label){case 0:return 0!==e.target.scrollTop&amp;&amp;0!==A||R(e.target.scrollTop),T?[3,2]:[4,Y("scroll")];case 1:n.sent(),M(!0),n.label=2;case 2:return[2]}}))}));return function(n){return e.apply(this,arguments)}}(),[T]),G=a.Children.map(b,(function(e){return a.isValidElement(e)?a.cloneElement(e,(0,t.Z)({},e.props)):e})),Y=function(){var e=(0,s.Z)((function(e){var n,t,l,i,r,a,s,d,u,v,f,m,h;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return(null===window||void 0===window?void 0:window.self)!==(null===window||void 0===window?void 0:window.top)||"public"!==j.status?[3,5]:(s=JSON.parse(localStorage.getItem("user")||"{}"),d=Math.abs(new Date-new Date(s.date))/36e5,s&amp;&amp;s.ip&amp;&amp;!(d&gt;24)&amp;&amp;s.hash?[3,4]:(u=F||"0.0.0.0",window.unsupportedBrowser||F?[3,3]:[4,o.e(6216).then(o.bind(o,76216))]));case 1:return[4,c.sent().publicIpv4()];case 2:u=c.sent(),c.label=3;case 3:v=(new Date).getTime(),f=(new Date).getTime(),m=new Date(f-f%864e5),localStorage.setItem("user",JSON.stringify({ip:u,date:m.toISOString(),hash:v})),s.ip=u,s.hash=v,c.label=4;case 4:h={idWebsite:j._id,url:document.location.pathname,event:e,platform:(null===window||void 0===window||null===(n=window.navigator)||void 0===n?void 0:n.platform)?null===window||void 0===window||null===(t=window.navigator)||void 0===t||null===(l=t.platform)||void 0===l?void 0:l.toString():(null===window||void 0===window||null===(i=window.navigator)||void 0===i?void 0:i.oscpu)?null===window||void 0===window||null===(r=window.navigator)||void 0===r?void 0:r.oscpu:"bot",title:document.title.split(" - ")[0]||"Home",device:/bot|googlebot|crawler|spider|robot|crawling/i.test(null===window||void 0===window||null===(a=window.navigator)||void 0===a?void 0:a.userAgent)?"bot":g.tq?"mobile":"desktop",ip:s.ip,hash:s.hash},re.find((function(e){return e.event===h.event}))||re.push(h),c.label=5;case 5:return[2]}}))}));return function(n){return e.apply(this,arguments)}}(),ne=function(e){if(window.self!==window.top){var n=e.target.closest("a");n&amp;&amp;n.getAttribute("target").startsWith("_parent")&amp;&amp;n.setAttribute("target","_self")}};return(0,a.useEffect)((function(){return _&lt;6&amp;&amp;(clearInterval(J),J=setInterval((0,s.Z)((function(){return(0,c.__generator)(this,(function(e){return Y("ping"),W(_+1),[2]}))})),3e4)),L!==Z.asPath&amp;&amp;(Y("open"),E(Z.asPath),W(0),M(!1)),function(){_&gt;=6&amp;&amp;W(0),clearInterval(J),M(!1)}}),[Z,_]),(0,a.useEffect)((function(){var e,n,o=function(){var e=(0,s.Z)((function(){var e;return(0,c.__generator)(this,(function(n){switch(n.label){case 0:return(null===re||void 0===re?void 0:re.length)&gt;0&amp;&amp;(e=re.shift())?[4,B.post("/website/register-user-action",e)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return o(),e=setInterval((function(){o()}),500),null===(n=document.querySelector("#main-body"))||void 0===n||n.addEventListener("scroll",V),function(){var n;clearInterval(e),null===(n=document.querySelector("#main-body"))||void 0===n||n.removeEventListener("scroll",V)}}),[T]),(0,a.useEffect)((function(){var e=function(){var e=document.querySelector("#main-body");e&amp;&amp;(e.style.scrollBehavior="auto",e.scrollTop=0,e.style.scrollBehavior="smooth")};return Z.events.on("routeChangeComplete",e),document.addEventListener("click",ne),function(){Z.events.off("routeChangeComplete",e),document.addEventListener("click",ne)}}),[]),(0,a.useEffect)((function(){var e;window.cnDisableCache=!0;var n=(0,w.getCookie)("pt");n&amp;&amp;(null===Z||void 0===Z||null===(e=Z.query)||void 0===e?void 0:e.pt)!==n&amp;&amp;"public"!==j.status&amp;&amp;Z.replace("".concat(Z.asPath,"?pt=").concat(n),void 0,{shallow:!0})}),[Z,j]),(0,a.useEffect)((function(){Z.beforePopState((function(e){e.url;var n=e.as;e.options;return window.location.href=n,!1}))}),[Z]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v(),{children:[(0,r.jsx)("link",{rel:"icon",href:(null===(u=j.favicon)||void 0===u?void 0:u.url)||""}),(null===N||void 0===N?void 0:N.isCanonical)&amp;&amp;(0,r.jsx)("link",{rel:"canonical",href:"https://".concat(j.rawDomain).concat(null===(h=Z.asPath)||void 0===h?void 0:h.split("?")[0])}),(0,r.jsx)("title",{children:q}),(0,r.jsx)("meta",{httpEquiv:"Content-Language",content:(null===j||void 0===j?void 0:j.language)||"en"}),(0,r.jsx)("meta",{name:"keywords",content:(null===$||void 0===$?void 0:$.keywords)?$.keywords:""}),(0,r.jsx)("meta",{name:"title",property:"og:title",content:q}),(0,r.jsx)("meta",{name:"twitter:title",content:q}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:url",content:"https://".concat(j.rawDomain).concat(Z.asPath)}),(0,r.jsx)("meta",{name:"description",property:"og:description",content:U}),(0,r.jsx)("meta",{name:"twitter:description",content:U}),(null===$||void 0===$||null===(x=$.Image)||void 0===x?void 0:x.url)&amp;&amp;(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"image",property:"og:image",content:$.Image.url}),(0,r.jsx)("meta",{name:"twitter:image",content:$.Image.url})]}),(null===$||void 0===$?void 0:$.globalHeadCode)&amp;&amp;(0,f.ZP)($.globalHeadCode),(null===$||void 0===$?void 0:$.headCode)&amp;&amp;(0,f.ZP)($.headCode),(null===j||void 0===j?void 0:j.searchIndexing)?(0,r.jsx)("meta",{name:"robots",content:"all"}):(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"})]}),(0,r.jsx)(le.Z,{website:j}),(0,r.jsx)(oe(),{color:function(){var e,n,o,t,l=(null===j||void 0===j||null===(e=j.colorPalette)||void 0===e||null===(n=e.Palette)||void 0===n?void 0:n.colors)||(null===j||void 0===j||null===(o=j.colorPalette)||void 0===o?void 0:o.colors)||[];return 0===(null===l||void 0===l?void 0:l.length)?"#333":(null===(t=l[0])||void 0===t?void 0:t.accent)||"#333"}(),startPosition:.3,options:{showSpinner:!1,trickle:!0,trickleSpeed:100}}),(0,r.jsxs)("div",{id:"main-body",onScroll:function(e){return V(e)},className:"flex flex-col h-full overflow-y-auto overflow-x-hidden smooth-scroll transition-all",children:[(0,r.jsx)(Q,{scrollY:A,website:j}),G,!C&amp;&amp;(0,r.jsx)(X.default,{website:j}),(0,r.jsx)(ee.ToastContainer,{toastClassName:function(e){var n=e.type;return ie[n||"default"].color+" relative p-4 rounded-md justify-between overflow-hidden cursor-pointer text-sm font-medium my-2.5 shadow-md flex"},bodyClassName:function(){return"flex text-sm font-white font-medium items-center w-full max-w-xs"},icon:function(e){var n=e.type;return ie[n||"default"].icon},position:"bottom-center",autoClose:8e3,hideProgressBar:!0,newestOnTop:!0,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,closeButton:!1}),(null===$||void 0===$?void 0:$.globalFooterCode)&amp;&amp;(0,f.ZP)($.globalFooterCode),(null===$||void 0===$?void 0:$.footerCode)&amp;&amp;(0,f.ZP)($.footerCode),null===(null===N||void 0===N?void 0:N.slug)&amp;&amp;(0,r.jsx)(te,{website:j,page:N,apiUrl:k})]})]})},se=o(31955),de=(o(83454),"#111827"),ce="#FFFFFF",ue=[{id:"top-down",value:"180deg",icon:"ArrowDownIcon"},{id:"left-right",value:"90deg",icon:"ArrowRightIcon"},{id:"bottom-left-top-right",value:"45deg",icon:"ArrowUpRightIcon"},{id:"bottom-right-top-left",value:"315deg",icon:"ArrowUpLeftIcon"}],ve=[{id:"none",name:"None",value:"0"},{id:"light",name:"Light",value:"4px"},{id:"moderate",name:"Moderate",value:"12px"},{id:"strong",name:"Strong",value:"32px"},{id:"very-strong",name:"Very strong",value:"48px"}];function fe(){for(var e=arguments.length,n=new Array(e),o=0;o&lt;e;o++)n[o]=arguments[o];return n.filter(Boolean).join(" ")}function me(e){return/^(([^&lt;&gt;()[\]\\.,;:\s@\"]+(\.[^&lt;&gt;()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function ge(e){var n=de.replace("#",""),o=ce.replace("#",""),t=!1;if(!e||!e[0])return e;"#"===e[0]&amp;&amp;(e=e.slice(1),t=!0);var l=parseInt(6===(null===e||void 0===e?void 0:e.length)?e:"".concat(e[0]).concat(e[0]).concat(e[1]).concat(e[1]).concat(e[2]).concat(e[2]),16),i=((l&gt;&gt;16)+(255&amp;l)+(l&gt;&gt;8&amp;255))/3;return(t?"#":"")+(i=i&gt;128?n:o)}var he=function(e,n){var o;return n/=100,/^#([A-Fa-f0-9]{3}){1,2}$/.test(e)?(3===(null===(o=e.substring(1).split(""))||void 0===o?void 0:o.length)&amp;&amp;(o=[o[0],o[0],o[1],o[1],o[2],o[2]]),"rgba("+[(o="0x"+o.join(""))&gt;&gt;16&amp;255,o&gt;&gt;8&amp;255,255&amp;o].join(",")+","+n+")"):e};function pe(e){var n=e.replace(/\s/g,"").match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i),o=n?(256|n[1]).toString(16).slice(1)+(256|n[2]).toString(16).slice(1)+(256|n[3]).toString(16).slice(1):e;return"#".concat(o)}function xe(e){var n=(0,a.useState)(!0),o=n[0],t=n[1];return(0,a.useEffect)((function(){var n=window.matchMedia(e);n.matches!==o&amp;&amp;t(n.matches);var l=function(){t(n.matches)};return n.addListener(l),function(){return n.removeListener(l)}}),[o,e]),o}function ye(e){return JSON.parse(JSON.stringify(e))}var be=function(e){return{}},je=function(e,n){var o={fontFamily:(null===e||void 0===e?void 0:e.family)||'"Inter", sans-serif'};return n&amp;&amp;(o.fontWeight=(null===e||void 0===e?void 0:e.weight)||500),(null===e||void 0===e?void 0:e.style)&amp;&amp;(o.fontStyle=e.style),(null===e||void 0===e?void 0:e.size)&amp;&amp;(o.fontSize=e.size),(null===e||void 0===e?void 0:e.lineHeight)&amp;&amp;(o.fontHeight=e.lineHeight),o},we=function(e,n){var o=[400,500,600,700,800],t="";return"fontshare"===e.source?t="f[]=".concat(e.name.replace(/ /gi,"-"),"@").concat(o.join(",")).toLowerCase():(t="family=".concat(e.name.replace(/ /gi,"+")),t+=n?":".concat("italic"===e.style?"ital,":"","wght@").concat(e.weight):":wght@".concat(o.join(";"))),t};function Ne(e){var n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},o=e.props.children[0].props.website,i=e.props.children[0].props.page,a=e.props.children[0].props.apiUrl;return(0,r.jsx)(ae,(0,l.Z)((0,t.Z)({page:i,website:o,apiUrl:a},n),{children:e}))}function ke(e){var n,o,t;return e.match(/^rgb/)?(n=(e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1],o=e[2],t=e[3]):(n=(e=+("0x"+e.slice(1).replace(e.length&lt;5&amp;&amp;/./g,"$&amp;$&amp;")))&gt;&gt;16,o=e&gt;&gt;8&amp;255,t=255&amp;e),Math.sqrt(n*n*.299+o*o*.587+t*t*.114)&lt;=127.5}function Fe(e,n){if(!e)return"#FFFFFF";var o=parseInt(e.replace("#",""),16),t=Math.round(2.55*n),l=(o&gt;&gt;16)+t,i=(o&gt;&gt;8&amp;255)+t,r=(255&amp;o)+t;return"#"+(16777216+65536*(l&lt;255?l&lt;1?0:l:255)+256*(i&lt;255?i&lt;1?0:i:255)+(r&lt;255?r&lt;1?0:r:255)).toString(16).slice(1)}function Ce(e){if(!e)return"";var n=e.split(" ");return n.length&gt;1&amp;&amp;""!==n[1]?n[0][0]+n[1][0]:e[0]+e[1]}var Ze=function(e,n){var o={small:"rounded-sm md:rounded-md lg:rounded-lg",medium:"rounded-lg md:rounded-xl lg:rounded-2xl",large:"rounded-2xl md:rounded-3xl lg:rounded-4xl","no-rounded":""},t=String(e);return e&amp;&amp;"default"!==e||!n||(t=n),o[t]||o["no-rounded"]},Se=function(e){return"1:1"===e?"aspect-w-1 aspect-h-1":"2:3"===e?"aspect-w-2 aspect-h-3":"3:2"===e?"aspect-w-3 aspect-h-2":"aspect-w-16 aspect-h-9"},Ae=function(e){var n,o,t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],l={top:{row:"items-start",col:"justify-start"},center:{row:"items-center",col:"justify-center"},middle:{row:"items-center",col:"justify-center"},bottom:{row:"items-end",col:"justify-end"}};return t?(null===(n=l[e])||void 0===n?void 0:n.col)||l.center.col:(null===(o=l[e])||void 0===o?void 0:o.row)||l.center.row},Re=function(e){var n,o,t=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],l={left:{row:"items-start",col:"justify-start"},center:{row:"items-center text-center mx-auto",col:"justify-center"},right:{row:"items-end text-right ml-auto",col:"justify-end"}};return t?(null===(n=l[e])||void 0===n?void 0:n.col)||l.center.col:(null===(o=l[e])||void 0===o?void 0:o.row)||l.center.row},Pe=function(e){var n,o,t={none:{top:"pt-0",bottom:"pb-0"},small:{top:"pt-8 lg:pt-12",bottom:"pb-8 lg:pb-12"},medium:{top:"pt-12 lg:pt-20",bottom:"pb-12 lg:pb-20"},large:{top:"pt-16 lg:pt-32",bottom:"pb-16 lg:pb-32"},default:{top:"pt-12 lg:pt-14 xl:pt-20",bottom:"pb-12 lg:pb-14 xl:pb-20"}},l=(null===(n=t[null===e||void 0===e?void 0:e.top])||void 0===n?void 0:n.top)||t.default.top,i=(null===(o=t[null===e||void 0===e?void 0:e.bottom])||void 0===o?void 0:o.bottom)||t.default.bottom;return"".concat(l," ").concat(i)},Te=function(e,n){var o,t,l={none:{top:"pt-0",bottom:"pb-0"},small:{top:"pt-8 lg:pt-32",bottom:"pb-8 lg:pb-32"},medium:{top:"pt-12 lg:pt-40",bottom:"pb-12 lg:pb-40"},large:{top:"pt-20 lg:pt-48",bottom:"pb-20 lg:pb-48"},default:{top:"pt-12 lg:pt-32 xl:pt-40",bottom:"pb-12 lg:pb-32 xl:pb-40"}},i=(null===(o=l[null===e||void 0===e?void 0:e.top])||void 0===o?void 0:o.top)||l.default.top,r=(null===(t=l[null===e||void 0===e?void 0:e.bottom])||void 0===t?void 0:t.bottom)||l.default.bottom;return"".concat(n&amp;&amp;"top"!==n?"":i," ").concat(n&amp;&amp;"bottom"!==n?"":r)},Me=function(e){var n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"lg",o={sm:"heading-small",md:"heading-medium",lg:"heading-large",xl:"heading-xlarge"};return o[e]||o[n]},ze=function(e){var n=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"md",o={sm:"body-small",md:"body-normal",lg:"body-large"};return o[e]||o[n]},Le=function(e){return"".concat("https://cdn.durable.co","/assets/").concat(e)},Ee=function(e){return(null===e||void 0===e?void 0:e.url)||(null===e||void 0===e?void 0:e.preview)},Ie=function(){var e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"color1";return parseInt((null===e||void 0===e?void 0:e.replace(/[^0-9]/gi,""))||1,10)-1},_e=function(e,n,o){var t,l=Ie(n);return(null===e||void 0===e?void 0:e.colors)&amp;&amp;!isNaN(l)?null===(t=e.colors[l])||void 0===t?void 0:t[o]:"#FFFFFF"},We=function(e,n){var o=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:null;return function(){for(var t=arguments.length,l=new Array(t),r=0;r&lt;t;r++)l[r]=arguments[r];return clearTimeout(o),setTimeout((function(){e.apply(void 0,(0,i.Z)(l))}),n)}},Be=function(e){return null!==e&amp;&amp;void 0!==e};function Ke(e){return se.Z.get(e)}function Oe(e,n){var o=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{};se.Z.set(e,n,o)}function De(e){return e?"_parent":"_self"}},75871:function(e,n,o){o.d(n,{M:function(){return r},b:function(){return l}});var t=o(85518),l={none:{top:"pt-0",bottom:"pb-0"},small:{top:"pt-4",bottom:"pb-4"},medium:{top:"pt-6",bottom:"pb-6"},large:{top:"pt-8",bottom:"pb-8"}};function i(e){switch(e){case"small":return 1;case"medium":return 1.5;case"large":return 2;default:return 0}}function r(e){var n,o,l,r=e.header;if(!r||!(null===r||void 0===r?void 0:r.sticky))return{};var a,s,d="2rem";"image"===(null===r||void 0===r||null===(n=r.logo)||void 0===n?void 0:n.type)&amp;&amp;(d=(d=t.tq?null===(a=r.logo.height)||void 0===a?void 0:a.mobile:null===(s=r.logo.height)||void 0===s?void 0:s.desktop)&lt;32?"2rem":"".concat(d,"px"));var c=i(null===r||void 0===r||null===(o=r.spacing)||void 0===o?void 0:o.top)+i(null===r||void 0===r||null===(l=r.spacing)||void 0===l?void 0:l.bottom);return{scrollMarginTop:"calc(".concat(c,"rem + ").concat(d,")")}}}}]);</pre></body></html>