(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1203],{93704:function(e,l,s){Promise.resolve().then(s.bind(s,69765)),Promise.resolve().then(s.bind(s,4330)),Promise.resolve().then(s.bind(s,83569)),Promise.resolve().then(s.bind(s,2719)),Promise.resolve().then(s.t.bind(s,9168,23)),Promise.resolve().then(s.bind(s,85475)),Promise.resolve().then(s.bind(s,65183)),Promise.resolve().then(s.bind(s,7283)),Promise.resolve().then(s.bind(s,50105)),Promise.resolve().then(s.bind(s,97812)),Promise.resolve().then(s.bind(s,66411)),Promise.resolve().then(s.bind(s,84447)),Promise.resolve().then(s.bind(s,79795)),Promise.resolve().then(s.bind(s,158)),Promise.resolve().then(s.bind(s,45732)),Promise.resolve().then(s.bind(s,86726)),Promise.resolve().then(s.t.bind(s,83950,23)),Promise.resolve().then(s.t.bind(s,16340,23)),Promise.resolve().then(s.t.bind(s,22147,23)),Promise.resolve().then(s.bind(s,42972)),Promise.resolve().then(s.bind(s,69111)),Promise.resolve().then(s.t.bind(s,56575,23)),Promise.resolve().then(s.t.bind(s,56445,23))},67027:function(e,l,s){"use strict";var n,r;s.d(l,{E3:function(){return t},J3:function(){return i},Wm:function(){return a}});let i=[{id:"en",title:"English",flag:"\uD83C\uDDEC\uD83C\uDDE7",isDefault:!0}],a=null!==(r=null===(n=i.find(e=>e.isDefault))||void 0===n?void 0:n.id)&&void 0!==r?r:"en",t={locales:i.map(e=>e.id),defaultLocale:a}},69765:function(e,l,s){"use strict";s.d(l,{HubspotForm:function(){return a}});var n=s(27573),r=s(7653),i=s(93848);let a=e=>{let{componentId:l,region:s,portalId:a,formId:t,cssClass:o,onFormSubmitted:c}=e,[d,h]=(0,r.useState)(!1),u=(0,r.useCallback)(()=>{h(!0)},[]);return((0,r.useEffect)(()=>{window.hbspt&&s&&a&&t&&window.hbspt.forms.create({region:s,portalId:a,formId:t,formInstanceId:l,target:"#".concat(l),cssClass:o,onFormSubmitted:c,onFormReady:u})},[l,o,t,u,c,a,s]),s&&a&&t)?(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{id:l}),!d&&(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(i.TK,{size:"large"})})]}):null}},4330:function(e,l,s){"use strict";s.d(l,{default:function(){return k}});var n=s(27573),r=s(2128),i=s(49339),a=s(60051),t=s(3158),o=s(81695),c=s(7653),d=s(69765),h=s(93848);let u=e=>{let{config:l,children:s}=e,[r,i]=(0,c.useState)(!1),[t,o]=(0,c.useState)(!1),{region:u,portalId:m,formId:v}=l,f=(0,c.useCallback)(()=>{o(!0)},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{onClick:()=>{o(!1),i(!0)},children:s}),(0,n.jsx)(h.u_,{isOpen:r,onRequestClose:()=>i(!1),className:"sm:!max-w-[440px]",children:(0,n.jsxs)("div",{className:"hubspot-modal",children:[(0,n.jsx)("div",{className:"absolute bottom-0 left-0 w-full gap-4 p-6 border-t border-lightBlack/15",children:(0,n.jsx)("button",{className:(0,a.cx)("btn-outline whitespace-nowrap justify-center",t?"w-full":"w-[calc(50%-4px)]"),onClick:()=>i(!1),children:t?"Close":"Cancel"})}),(0,n.jsx)("h3",{className:"t-18 font-semibold p-6 border-b border-lightBlack/15",children:"Sign up for updates"}),(0,n.jsx)("div",{className:(0,a.cx)("px-6 pt-8 pb-6",t?"min-h-[210px]":"min-h-[300px]"),children:(0,n.jsx)("div",{className:"pb-[95px]",children:(0,n.jsx)(d.HubspotForm,{componentId:"hubspot-".concat(v),cssClass:"common-hs-form newsletter-hs-form dialog-hs-form",region:u,portalId:m,formId:v,onFormSubmitted:f})})})]})})]})};var m=s(98355),v=s(88146);let f=(0,c.forwardRef)((e,l)=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:116,height:26,viewBox:"0 0 116 26",fill:"none",ref:l,...e,children:[(0,n.jsxs)("g",{fill:"currentColor",clipPath:"url(#a)",children:[(0,n.jsx)("path",{d:"M12.564.436C5.625.436 0 6.06 0 13s5.625 12.564 12.564 12.564c6.94 0 12.565-5.625 12.565-12.564 0-6.94-5.626-12.564-12.565-12.564Zm0 22.811C6.914 23.247 2.317 18.65 2.317 13c0-5.65 4.596-10.248 10.247-10.248s10.247 4.597 10.247 10.247c0 5.65-4.596 10.247-10.247 10.247v.001Z"}),(0,n.jsx)("path",{d:"M13.744 11.82h-2.36v2.36h2.36v-2.36ZM13.744 8.097h-2.36v2.359h2.36v-2.36ZM13.744 4.373h-2.36v2.359h2.36V4.373ZM46.913 7.994c-.667-.349-1.412-.523-2.235-.523-.822 0-1.594.178-2.27.535a4.3 4.3 0 0 0-1.405 1.183 3.828 3.828 0 0 0-1.353-1.206 4.411 4.411 0 0 0-2.118-.512c-.823 0-1.556.174-2.2.523-.364.198-.685.44-.967.726V7.703H31.41v11.22h2.956V12.29c0-.45.101-.835.303-1.152a2.05 2.05 0 0 1 .792-.734c.326-.17.698-.255 1.117-.255.62 0 1.14.186 1.56.559.419.372.628.9.628 1.582v6.635h2.957V12.29c0-.45.1-.835.302-1.153.202-.318.47-.562.803-.733a2.39 2.39 0 0 1 1.106-.256c.605 0 1.117.186 1.536.56.419.371.628.9.628 1.582v6.635h2.98v-7.123c0-.916-.194-1.692-.581-2.328a3.986 3.986 0 0 0-1.583-1.479ZM53.42 7.704h-2.957v11.22h2.956V7.705ZM63.164 8.723a4.212 4.212 0 0 0-1.036-.751c-.644-.333-1.377-.5-2.2-.5-1.04 0-1.971.256-2.793.768a5.454 5.454 0 0 0-1.944 2.083c-.474.877-.71 1.882-.71 3.015 0 1.133.237 2.091.71 2.968a5.458 5.458 0 0 0 1.944 2.084c.823.512 1.754.768 2.793.768.807 0 1.54-.174 2.2-.524a4.295 4.295 0 0 0 1.06-.782v1.073h2.933V2.117h-2.957v6.606Zm-1.21 7.292c-.435.264-.947.395-1.537.395-.559 0-1.059-.128-1.501-.384a2.66 2.66 0 0 1-1.036-1.094c-.248-.473-.372-1.012-.372-1.617 0-.606.123-1.16.372-1.619a2.866 2.866 0 0 1 1.036-1.094c.442-.271.95-.408 1.524-.408.575 0 1.079.137 1.514.408.434.272.775.636 1.024 1.094.248.458.372.997.372 1.619 0 .62-.125 1.14-.372 1.606-.249.466-.59.83-1.024 1.095v-.001ZM75.975 8.088c-.652-.41-1.39-.616-2.212-.616-.823 0-1.615.186-2.281.559-.38.211-.712.471-1 .775V7.705h-2.958v11.22h2.957v-6.448c0-.45.101-.853.303-1.21.201-.357.477-.632.826-.826.35-.194.749-.291 1.198-.291.668 0 1.219.217 1.653.652.434.434.652.993.652 1.676v6.448h2.957v-7.1c0-.745-.186-1.451-.56-2.119a4.45 4.45 0 0 0-1.535-1.617v-.002ZM82.387 7.704h-2.956v11.22h2.956V7.705ZM92.135 8.69a4.045 4.045 0 0 0-1.013-.718c-.66-.333-1.408-.5-2.246-.5-.994 0-1.894.244-2.7.733a5.194 5.194 0 0 0-1.898 1.99c-.458.838-.687 1.785-.687 2.84 0 1.056.228 2.006.687 2.852a5.258 5.258 0 0 0 1.897 2.014c.807.497 1.715.745 2.724.745.823 0 1.56-.166 2.212-.5.38-.195.712-.434 1-.716v.983c0 .854-.275 1.525-.826 2.014-.55.489-1.315.733-2.293.733-.76 0-1.412-.136-1.955-.407-.544-.272-1.032-.672-1.467-1.2l-1.885 1.887c.542.775 1.268 1.377 2.176 1.804.908.426 1.967.64 3.178.64 1.21 0 2.223-.23 3.13-.686.909-.458 1.618-1.098 2.131-1.921.512-.823.769-1.785.769-2.886V7.704h-2.934v.986Zm-1.176 6.87c-.427.242-.927.362-1.502.362-.574 0-1.051-.124-1.478-.372a2.641 2.641 0 0 1-1-1.024 2.97 2.97 0 0 1-.362-1.467c0-.574.12-1.075.361-1.502.24-.426.575-.764 1-1.012.427-.248.928-.372 1.503-.372.574 0 1.05.124 1.478.372.426.248.757.586.99 1.012.233.427.35.928.35 1.502s-.117 1.056-.35 1.49a2.485 2.485 0 0 1-.99 1.012ZM104.791 8.018c-.66-.365-1.416-.547-2.269-.547-.854 0-1.611.186-2.27.559a4.122 4.122 0 0 0-.966.753V2.117h-2.957v16.807h2.957v-6.448c0-.45.1-.853.302-1.21.202-.357.478-.632.827-.826.349-.194.748-.29 1.198-.29.667 0 1.218.217 1.653.651.434.434.652.993.652 1.676v6.448h2.956v-7.1c0-.853-.182-1.61-.547-2.27a3.858 3.858 0 0 0-1.536-1.536v-.001ZM116 7.703h-2.631V3.024h-2.956v4.68h-2.654v2.584h2.654v8.636h2.956v-8.636H116V7.703ZM51.93 5.818a1.676 1.676 0 1 0 0-3.352 1.676 1.676 0 0 0 0 3.352ZM80.909 5.818a1.676 1.676 0 1 0 0-3.352 1.676 1.676 0 0 0 0 3.352Z"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"a",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 .436h116v25.128H0z"})})})]})),x=(0,c.memo)(f),b=(0,c.forwardRef)((e,l)=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 30 30",fill:"none",ref:l,...e,children:[(0,n.jsx)("path",{fill:"currentColor",d:"M14.947 0C6.692 0 0 6.692 0 14.947c0 8.255 6.692 14.947 14.947 14.947 8.255 0 14.947-6.692 14.947-14.947C29.894 6.692 23.202 0 14.947 0Zm0 27.138c-6.722 0-12.19-5.469-12.19-12.19 0-6.723 5.467-12.192 12.19-12.192s12.19 5.468 12.19 12.19c0 6.722-5.468 12.19-12.19 12.19v.002Z"}),(0,n.jsx)("path",{fill:"currentColor",d:"M16.35 13.544h-2.806v2.806h2.806v-2.806ZM16.35 9.114h-2.806v2.806h2.806V9.114ZM16.35 4.685h-2.806V7.49h2.806V4.685Z"})]})),p=(0,c.memo)(b),j=e=>{let{onClick:l=()=>{}}=e;return(0,n.jsxs)(v.default,{href:"/",onClick:l,className:"inline-block my-auto relative text-primary",children:[(0,n.jsx)("span",{className:"sr-only",children:"Home"}),(0,n.jsx)("div",{className:"block sm:hidden relative",children:(0,n.jsx)(p,{})}),(0,n.jsx)("div",{className:"hidden sm:block relative",children:(0,n.jsx)(x,{})})]})};var g=s(67027);let w=e=>{var l,s,r,t,o,c,d;let{socialConfig:u,mode:m="dark",className:v}=e;return u?(0,n.jsxs)("ul",{className:(0,a.cx)("flex flex-wrap gap-2",v),children:[(null===(l=u.twitter)||void 0===l?void 0:l.url)&&(0,n.jsx)("li",{children:(0,n.jsxs)(h.Af,{mode:m,className:"gap-2",href:u.twitter.url,children:[(0,n.jsx)(i.Zm,{width:15}),u.twitter.handle]})}),(null===(s=u.discord)||void 0===s?void 0:s.url)&&(0,n.jsx)("li",{children:(0,n.jsxs)(h.Af,{mode:m,className:"gap-1",href:u.discord.url,children:[(0,n.jsx)(i.D7,{width:20,className:"-ml-0.5"}),u.discord.handle]})}),(null===(r=u.telegram)||void 0===r?void 0:r.url)&&(0,n.jsx)("li",{children:(0,n.jsxs)(h.Af,{mode:m,className:"gap-[0.20rem]",href:u.telegram.url,children:[(0,n.jsx)(i.YG,{width:20}),u.telegram.handle]})}),(null===(t=u.linkedin)||void 0===t?void 0:t.url)&&(0,n.jsx)("li",{children:(0,n.jsxs)(h.Af,{mode:m,className:"gap-2",href:u.linkedin.url,children:[(0,n.jsx)(i.nI,{width:14,className:"ml-0.5"}),u.linkedin.handle]})}),(null===(o=u.youtube)||void 0===o?void 0:o.url)&&(0,n.jsx)("li",{children:(0,n.jsxs)(h.Af,{mode:m,href:u.youtube.url,children:[(0,n.jsx)(i.Fc,{width:18,className:"ml-0.5"}),u.youtube.handle]})}),(null===(c=u.facebook)||void 0===c?void 0:c.url)&&(0,n.jsx)("li",{children:(0,n.jsxs)(h.Af,{mode:m,href:u.facebook.url,children:[(0,n.jsx)(i.Vq,{}),u.facebook.handle]})}),(null===(d=u.instagram)||void 0===d?void 0:d.url)&&(0,n.jsx)("li",{children:(0,n.jsxs)(h.Af,{mode:m,href:u.instagram.url,children:[(0,n.jsx)(i.yu,{}),u.instagram.handle]})})]}):null},N={open:{transition:{staggerChildren:.07,delayChildren:.2}},closed:{transition:{staggerChildren:.05,staggerDirection:-1}}},y={open:{y:0,opacity:1,transition:{y:{stiffness:1e3,velocity:-100}}},closed:{y:50,opacity:0,transition:{y:{stiffness:1e3}}}};function k(e){let{data:l,hubspotConfig:s}=e,d=(0,o.usePathname)(),[h,v]=(0,c.useState)(!1);if(!l)return null;let{items:f,buttons:x,socialConfig:b}=l;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("header",{className:(0,a.cx)("fixed top-0 left-0 w-full z-50 border-b border-lightBlack/15","flex items-center h-[var(--header-nav-height)] backdrop-blur-sm",h?"bg-white":"bg-white/80"),children:(0,n.jsx)("nav",{"aria-label":"Global","data-aria-orientation":"horizontal",dir:"ltr",role:"navigation",className:"container flex-1",children:(0,n.jsxs)("div",{className:"flex gap-4 items-center xl:gap-8 container-padding",children:[(0,n.jsx)("div",{className:"flex lg:pr-6",children:(0,n.jsx)(j,{onClick:()=>v(!1)})}),(0,n.jsx)("div",{className:"hidden lg:flex items-center gap-x-6 xl:gap-x-8 mr-auto",children:null==f?void 0:f.map(e=>{if(!e.url)return null;let l=d.endsWith(e.url)||g.J3.some(l=>{let{id:s}=l;return"/"===e.url?"/".concat(s)===d:"/".concat(s).concat(e.url)===d});return(0,n.jsx)(m.r,{href:e.url,className:(0,a.cx)("t-13-mono border-b-2 pt-5 pb-4",l?"border-black":"border-transparent hover:opacity-60"),children:e.label},e._key)})}),(0,n.jsx)("div",{className:"ml-auto flex gap-5 xl:gap-16 items-center justify-self-end",children:null==x?void 0:x.map((e,l)=>s?(0,n.jsx)(u,{config:s,children:(0,n.jsx)("button",{className:"btn-primary btn-sm whitespace-nowrap w-full lg:w-auto justify-center",children:e.label})},l):null)}),(0,n.jsxs)(t.E.button,{className:"burger-menu lg:hidden size-6",onClick:()=>v(e=>!e),"aria-expanded":h,children:[(0,n.jsx)(i.RY,{className:"size-5"}),(0,n.jsx)("span",{className:"sr-only",children:"".concat(h?"Close":"Open"," main menu")})]})]})})}),(0,n.jsx)(r.Vq,{open:h,onClose:v,className:"relative z-40 lg:hidden",children:(0,n.jsxs)(r.EM,{className:(0,a.cx)("fixed inset-0 top-[var(--header-nav-height)]","flex flex-col justify-between bg-white overflow-y-auto"),children:[(0,n.jsx)(t.E.nav,{initial:"closed",animate:h?"open":"closed",className:"container-padding",children:(0,n.jsx)(t.E.ul,{className:"flex flex-col py-8",variants:N,children:null==f?void 0:f.map(e=>(0,n.jsx)(t.E.li,{variants:y,className:"border-t border-lightBlack/15 last:border-b",children:(0,n.jsx)(m.r,{href:e.url,onClick:()=>v(!1),className:"inline-block t-24-no-scale my-4",children:e.label})},e._key))})}),(0,n.jsxs)("div",{className:"container-padding py-8 border-t",children:[(0,n.jsx)("h4",{className:"t-13-mono pb-6",children:"Follow Midnight"}),(0,n.jsx)(w,{mode:"light",socialConfig:b})]})]})})]})}},83569:function(e,l,s){"use strict";s.r(l);var n=s(27573),r=s(65962);l.default=()=>window.frameElement&&(0,n.jsx)(r.QB,{})},2719:function(e,l,s){"use strict";s.d(l,{default:function(){return c}});var n=s(27573),r=s(98533),i=s(11129),a=s(38178),t=s(67027);async function o(e,l,s){return s.use(a.D),await s.init({lng:e,resources:l,fallbackLng:t.E3.defaultLocale,supportedLngs:t.E3.locales,preload:t.E3.locales,parseMissingKeyHandler:e=>((function(e){for(let l in e)if(Object.prototype.hasOwnProperty.call(e,l))return!1})(l),e)}),{i18n:s,t:s.t}}function c(e){let{children:l,locale:s,resources:a}=e,t=(0,r.Fs)();return o(s,a,t),(0,n.jsx)(i.a3,{i18n:t,children:l})}},9168:function(){}},function(e){e.O(0,[6482,4657,817,7664,869,5066,1129,6649,4922,2537,297,3848,1293,1528,1744],function(){return e(e.s=93704)}),_N_E=e.O()}]);