(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return g},handleClientScriptLoad:function(){return _},initScriptLoader:function(){return y}});let r=n(8140),l=n(9417),i=n(5155),a=r._(n(7650)),s=l._(n(2115)),o=n(2073),c=n(4681),u=n(4853),d=new Map,f=new Set,p=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:l=null,dangerouslySetInnerHTML:i,children:s="",strategy:o="afterInteractive",onError:u,stylesheets:p}=e,_=n||t;if(_&&f.has(_))return;if(d.has(t)){f.add(_),d.get(t).then(r,u);return}let y=()=>{l&&l(),f.add(_)},b=document.createElement("script"),g=new Promise((e,t)=>{b.addEventListener("load",function(t){e(),r&&r.call(this,t),y()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});i?(b.innerHTML=i.__html||"",y()):s?(b.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",y()):t&&(b.src=t,d.set(t,g)),(0,c.setAttributesFromProps)(b,e),"worker"===o&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",o),p&&(e=>{if(a.default.preinit)return e.forEach(e=>{a.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(p),document.body.appendChild(b)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>p(e))}):p(e)}function y(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function b(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:l=null,strategy:c="afterInteractive",onError:d,stylesheets:_,...y}=e,{updateScripts:b,scripts:g,getIsSsr:h,appDir:m,nonce:v}=(0,s.useContext)(o.HeadManagerContext);v=y.nonce||v;let I=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||n;I.current||(l&&e&&f.has(e)&&l(),I.current=!0)},[l,t,n]);let O=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!O.current){if("afterInteractive"===c)p(e);else"lazyOnload"===c&&("complete"===document.readyState?(0,u.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>p(e))}));O.current=!0}},[e,c]),("beforeInteractive"===c||"worker"===c)&&(b?(g[c]=(g[c]||[]).concat([{id:t,src:n,onLoad:r,onReady:l,onError:d,...y,nonce:v}]),b(g)):h&&h()?f.add(t||n):h&&!h()&&p({...e,nonce:v})),m){if(_&&_.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)if(!n)return y.dangerouslySetInnerHTML&&(y.children=y.dangerouslySetInnerHTML.__html,delete y.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...y,id:t}])+")"}});else return a.default.preload(n,y.integrity?{as:"script",integrity:y.integrity,nonce:v,crossOrigin:y.crossOrigin}:{as:"script",nonce:v,crossOrigin:y.crossOrigin}),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...y,id:t}])+")"}});"afterInteractive"===c&&n&&a.default.preload(n,y.integrity?{as:"script",integrity:y.integrity,nonce:v,crossOrigin:y.crossOrigin}:{as:"script",nonce:v,crossOrigin:y.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let g=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1604:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,1402,23)),Promise.resolve().then(n.t.bind(n,4097,23)),Promise.resolve().then(n.t.bind(n,3673,23))},3673:()=>{},4097:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3"}},4853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[63,562,978,441,255,358],()=>e(e.s=1604)),_N_E=e.O()}]);