(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[534],{8035:function(t,r){"use strict";/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */r.parse=parse,r.serialize=serialize;var n=decodeURIComponent,o=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function parse(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var o={},i=t.split(";"),a=(r||{}).decode||n,l=0;l<i.length;l++){var s=i[l],u=s.indexOf("=");if(!(u<0)){var c=s.substring(0,u).trim();if(void 0==o[c]){var d=s.substring(u+1,s.length).trim();'"'===d[0]&&(d=d.slice(1,-1)),o[c]=tryDecode(d,a)}}}return o}function serialize(t,r,n){var a=n||{},l=a.encode||o;if("function"!=typeof l)throw TypeError("option encode is invalid");if(!i.test(t))throw TypeError("argument name is invalid");var s=l(r);if(s&&!i.test(s))throw TypeError("argument val is invalid");var u=t+"="+s;if(null!=a.maxAge){var c=a.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(c)}if(a.domain){if(!i.test(a.domain))throw TypeError("option domain is invalid");u+="; Domain="+a.domain}if(a.path){if(!i.test(a.path))throw TypeError("option path is invalid");u+="; Path="+a.path}if(a.expires){if("function"!=typeof a.expires.toUTCString)throw TypeError("option expires is invalid");u+="; Expires="+a.expires.toUTCString()}if(a.httpOnly&&(u+="; HttpOnly"),a.secure&&(u+="; Secure"),a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u}function tryDecode(t,r){try{return r(t)}catch(r){return t}}},80308:function(t,r,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++)for(var i in r=arguments[n])Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t}).apply(this,arguments)},i=this&&this.__rest||function(t,r){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>r.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(t);i<o.length;i++)0>r.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]]);return n};Object.defineProperty(r,"__esModule",{value:!0}),r.hasCookie=r.deleteCookie=r.setCookie=r.getCookie=r.getCookies=void 0;var a=n(8035),isClientSide=function(){return"undefined"!=typeof window},isCookiesFromAppRouter=function(t){return!!t&&"getAll"in t&&"set"in t&&"function"==typeof t.getAll&&"function"==typeof t.set},isContextFromAppRouter=function(t){return!!(null==t?void 0:t.req)&&"cookies"in t.req&&isCookiesFromAppRouter(null==t?void 0:t.req.cookies)||!!(null==t?void 0:t.res)&&"cookies"in t.res&&isCookiesFromAppRouter(null==t?void 0:t.res.cookies)||!!(null==t?void 0:t.cookies)&&isCookiesFromAppRouter(t.cookies())},transformAppRouterCookies=function(t){var r={};return t.getAll().forEach(function(t){var n=t.name,o=t.value;r[n]=o}),r},stringify=function(t){void 0===t&&(t="");try{var r=JSON.stringify(t);return/^[\{\[]/.test(r)?r:t}catch(r){return t}};r.getCookies=function(t){if(isContextFromAppRouter(t)){if(null==t?void 0:t.req)return transformAppRouterCookies(t.req.cookies);if(null==t?void 0:t.cookies)return transformAppRouterCookies(t.cookies())}if(t&&(r=t.req),!isClientSide())return r&&r.cookies?r.cookies:r&&r.headers.cookie?(0,a.parse)(r.headers.cookie):{};for(var r,n={},o=document.cookie?document.cookie.split("; "):[],i=0,l=o.length;i<l;i++){var s=o[i].split("="),u=s.slice(1).join("=");n[s[0]]=u}return n},r.getCookie=function(t,n){var o=(0,r.getCookies)(n)[t];if(void 0!==o)return o?o.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent):o},r.setCookie=function(t,r,n){if(isContextFromAppRouter(n)){var l,s,u,c=n.req,d=n.res,m=n.cookies,h=i(n,["req","res","cookies"]),g=o({name:t,value:r},h);c&&c.cookies.set(g),d&&d.cookies.set(g),m&&m().set(g);return}if(n){var c=n.req,d=n.res,v=i(n,["req","res"]);s=c,u=d,l=v}var k=(0,a.serialize)(t,stringify(r),o({path:"/"},l));if(isClientSide())document.cookie=k;else if(u&&s){var _=u.getHeader("Set-Cookie");if(Array.isArray(_)||(_=_?[String(_)]:[]),u.setHeader("Set-Cookie",_.concat(k)),s&&s.cookies){var R=s.cookies;""===r?delete R[t]:R[t]=stringify(r)}if(s&&s.headers&&s.headers.cookie){var R=(0,a.parse)(s.headers.cookie);""===r?delete R[t]:R[t]=stringify(r),s.headers.cookie=Object.entries(R).reduce(function(t,r){return t.concat("".concat(r[0],"=").concat(r[1],";"))},"")}}},r.deleteCookie=function(t,n){return(0,r.setCookie)(t,"",o(o({},n),{maxAge:-1}))},r.hasCookie=function(t,n){return!!t&&(0,r.getCookies)(n).hasOwnProperty(t)}},64299:function(t,r,n){"use strict";n.d(r,{Z:function(){return i}});var o=n(16552);/**
 * @license lucide-react v0.299.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=(0,o.Z)("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},54517:function(t,r,n){"use strict";n.d(r,{Z:function(){return i}});var o=n(16552);/**
 * @license lucide-react v0.299.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=(0,o.Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},35867:function(t,r,n){"use strict";n.d(r,{Z:function(){return i}});var o=n(16552);/**
 * @license lucide-react v0.299.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=(0,o.Z)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},87808:function(t,r,n){"use strict";n.d(r,{Z:function(){return i}});var o=n(16552);/**
 * @license lucide-react v0.299.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=(0,o.Z)("PackageCheck",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]])},19166:function(t,r,n){"use strict";n.d(r,{Z:function(){return i}});var o=n(16552);/**
 * @license lucide-react v0.299.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let i=(0,o.Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},76735:function(t,r,n){"use strict";n.d(r,{F:function(){return y},f:function(){return $}});var o=n(75623);let i=["light","dark"],a="(prefers-color-scheme: dark)",l="undefined"==typeof window,s=(0,o.createContext)(void 0),u={setTheme:t=>{},themes:[]},y=()=>{var t;return null!==(t=(0,o.useContext)(s))&&void 0!==t?t:u},$=t=>(0,o.useContext)(s)?o.createElement(o.Fragment,null,t.children):o.createElement(f,t),c=["light","dark"],f=({forcedTheme:t,disableTransitionOnChange:r=!1,enableSystem:n=!0,enableColorScheme:l=!0,storageKey:u="theme",themes:m=c,defaultTheme:h=n?"system":"light",attribute:g="data-theme",value:v,children:k,nonce:_})=>{let[R,P]=(0,o.useState)(()=>S(u,h)),[O,x]=(0,o.useState)(()=>S(u)),E=v?Object.values(v):m,C=(0,o.useCallback)(t=>{let o=t;if(!o)return;"system"===t&&n&&(o=p());let a=v?v[o]:o,s=r?b():null,u=document.documentElement;if("class"===g?(u.classList.remove(...E),a&&u.classList.add(a)):a?u.setAttribute(g,a):u.removeAttribute(g),l){let t=i.includes(h)?h:null,r=i.includes(o)?o:t;u.style.colorScheme=r}null==s||s()},[]),w=(0,o.useCallback)(t=>{P(t);try{localStorage.setItem(u,t)}catch(t){}},[t]),j=(0,o.useCallback)(r=>{let o=p(r);x(o),"system"===R&&n&&!t&&C("system")},[R,t]);(0,o.useEffect)(()=>{let t=window.matchMedia(a);return t.addListener(j),j(t),()=>t.removeListener(j)},[j]),(0,o.useEffect)(()=>{let e=t=>{t.key===u&&w(t.newValue||h)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[w]),(0,o.useEffect)(()=>{C(null!=t?t:R)},[t,R]);let N=(0,o.useMemo)(()=>({theme:R,setTheme:w,forcedTheme:t,resolvedTheme:"system"===R?O:R,themes:n?[...m,"system"]:m,systemTheme:n?O:void 0}),[R,w,t,O,n,m]);return o.createElement(s.Provider,{value:N},o.createElement(d,{forcedTheme:t,disableTransitionOnChange:r,enableSystem:n,enableColorScheme:l,storageKey:u,themes:m,defaultTheme:h,attribute:g,value:v,children:k,attrs:E,nonce:_}),k)},d=(0,o.memo)(({forcedTheme:t,storageKey:r,attribute:n,enableSystem:l,enableColorScheme:s,defaultTheme:u,value:c,attrs:d,nonce:m})=>{let h="system"===u,g="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${d.map(t=>`'${t}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,v=s?i.includes(u)&&u?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${u}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",$=(t,r=!1,o=!0)=>{let a=c?c[t]:t,l=r?t+"|| ''":`'${a}'`,u="";return s&&o&&!r&&i.includes(t)&&(u+=`d.style.colorScheme = '${t}';`),"class"===n?u+=r||a?`c.add(${l})`:"null":a&&(u+=`d[s](n,${l})`),u},k=t?`!function(){${g}${$(t)}}()`:l?`!function(){try{${g}var e=localStorage.getItem('${r}');if('system'===e||(!e&&${h})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${$("dark")}}else{${$("light")}}}else if(e){${c?`var x=${JSON.stringify(c)};`:""}${$(c?"x[e]":"e",!0)}}${h?"":"else{"+$(u,!1,!1)+"}"}${v}}catch(e){}}()`:`!function(){try{${g}var e=localStorage.getItem('${r}');if(e){${c?`var x=${JSON.stringify(c)};`:""}${$(c?"x[e]":"e",!0)}}else{${$(u,!1,!1)};}${v}}catch(t){}}();`;return o.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:k}})},()=>!0),S=(t,r)=>{let n;if(!l){try{n=localStorage.getItem(t)||void 0}catch(t){}return n||r}},b=()=>{let t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},p=t=>(t||(t=window.matchMedia(a)),t.matches?"dark":"light")},52633:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return addLocale}}),n(65080);let addLocale=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return t};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82776:function(t,r,n){"use strict";function getDomainLocale(t,r,n,o){return!1}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}}),n(65080),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},84352:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return P}});let o=n(68517),i=o._(n(75623)),a=n(27e3),l=n(26035),s=n(65185),u=n(53145),c=n(52633),d=n(31064),m=n(23458),h=n(99666),g=n(82776),v=n(63966),k=n(66223),_=new Set;function prefetch(t,r,n,o,i,a){if(!a&&!(0,l.isLocalURL)(r))return;if(!o.bypassPrefetchedCheck){let i=void 0!==o.locale?o.locale:"locale"in t?t.locale:void 0,a=r+"%"+n+"%"+i;if(_.has(a))return;_.add(a)}let s=a?t.prefetch(r,i):t.prefetch(r,n,o);Promise.resolve(s).catch(t=>{})}function isModifiedEvent(t){let r=t.currentTarget,n=r.getAttribute("target");return n&&"_self"!==n||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}function linkClicked(t,r,n,o,a,s,u,c,d,m){let{nodeName:h}=t.currentTarget,g="A"===h.toUpperCase();if(g&&(isModifiedEvent(t)||!d&&!(0,l.isLocalURL)(n)))return;t.preventDefault();let navigate=()=>{let t=null==u||u;"beforePopState"in r?r[a?"replace":"push"](n,o,{shallow:s,locale:c,scroll:t}):r[a?"replace":"push"](o||n,{forceOptimisticNavigation:!m,scroll:t})};d?i.default.startTransition(navigate):navigate()}function formatStringOrUrl(t){return"string"==typeof t?t:(0,s.formatUrl)(t)}let R=i.default.forwardRef(function(t,r){let n,o;let{href:l,as:s,children:_,prefetch:R=null,passHref:P,replace:O,shallow:x,scroll:E,locale:C,onClick:w,onMouseEnter:j,onTouchStart:N,legacyBehavior:M=!1,...T}=t;n=_,M&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let L=i.default.useContext(d.RouterContext),A=i.default.useContext(m.AppRouterContext),U=null!=L?L:A,I=!L,z=!1!==R,F=null===R?k.PrefetchKind.AUTO:k.PrefetchKind.FULL,{href:D,as:W}=i.default.useMemo(()=>{if(!L){let t=formatStringOrUrl(l);return{href:t,as:s?formatStringOrUrl(s):t}}let[t,r]=(0,a.resolveHref)(L,l,!0);return{href:t,as:s?(0,a.resolveHref)(L,s):r||t}},[L,l,s]),q=i.default.useRef(D),K=i.default.useRef(W);M&&(o=i.default.Children.only(n));let Z=M?o&&"object"==typeof o&&o.ref:r,[Q,H,V]=(0,h.useIntersection)({rootMargin:"200px"}),B=i.default.useCallback(t=>{(K.current!==W||q.current!==D)&&(V(),K.current=W,q.current=D),Q(t),Z&&("function"==typeof Z?Z(t):"object"==typeof Z&&(Z.current=t))},[W,Z,D,V,Q]);i.default.useEffect(()=>{U&&H&&z&&prefetch(U,D,W,{locale:C},{kind:F},I)},[W,D,H,C,z,null==L?void 0:L.locale,U,I,F]);let G={ref:B,onClick(t){M||"function"!=typeof w||w(t),M&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),U&&!t.defaultPrevented&&linkClicked(t,U,D,W,O,x,E,C,I,z)},onMouseEnter(t){M||"function"!=typeof j||j(t),M&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(t),U&&(z||!I)&&prefetch(U,D,W,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:F},I)},onTouchStart(t){M||"function"!=typeof N||N(t),M&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(t),U&&(z||!I)&&prefetch(U,D,W,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:F},I)}};if((0,u.isAbsoluteUrl)(W))G.href=W;else if(!M||P||"a"===o.type&&!("href"in o.props)){let t=void 0!==C?C:null==L?void 0:L.locale,r=(null==L?void 0:L.isLocaleDomain)&&(0,g.getDomainLocale)(W,t,null==L?void 0:L.locales,null==L?void 0:L.domainLocales);G.href=r||(0,v.addBasePath)((0,c.addLocale)(W,t,null==L?void 0:L.defaultLocale))}return M?i.default.cloneElement(o,G):i.default.createElement("a",{...T,...G},n)}),P=R;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},31336:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{requestIdleCallback:function(){return n},cancelIdleCallback:function(){return o}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let r=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})},1)},o="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},27e3:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolveHref",{enumerable:!0,get:function(){return resolveHref}});let o=n(27001),i=n(65185),a=n(17218),l=n(53145),s=n(65080),u=n(26035),c=n(75644),d=n(39142);function resolveHref(t,r,n){let m;let h="string"==typeof r?r:(0,i.formatWithValidation)(r),g=h.match(/^[a-zA-Z]{1,}:\/\//),v=g?h.slice(g[0].length):h,k=v.split("?",1);if((k[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+h+"' passed to next/router in page: '"+t.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let r=(0,l.normalizeRepeatedSlashes)(v);h=(g?g[0]:"")+r}if(!(0,u.isLocalURL)(h))return n?[h]:h;try{m=new URL(h.startsWith("#")?t.asPath:t.pathname,"http://n")}catch(t){m=new URL("/","http://n")}try{let t=new URL(h,m);t.pathname=(0,s.normalizePathTrailingSlash)(t.pathname);let r="";if((0,c.isDynamicRoute)(t.pathname)&&t.searchParams&&n){let n=(0,o.searchParamsToUrlQuery)(t.searchParams),{result:l,params:s}=(0,d.interpolateAs)(t.pathname,t.pathname,n);l&&(r=(0,i.formatWithValidation)({pathname:l,hash:t.hash,query:(0,a.omit)(n,s)}))}let l=t.origin===m.origin?t.href.slice(t.origin.length):t.href;return n?[l,r||l]:l}catch(t){return n?[h]:h}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99666:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let o=n(75623),i=n(31336),a="function"==typeof IntersectionObserver,l=new Map,s=[];function createObserver(t){let r;let n={root:t.root||null,margin:t.rootMargin||""},o=s.find(t=>t.root===n.root&&t.margin===n.margin);if(o&&(r=l.get(o)))return r;let i=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{let r=i.get(t.target),n=t.isIntersecting||t.intersectionRatio>0;r&&n&&r(n)})},t);return r={id:n,observer:a,elements:i},s.push(n),l.set(n,r),r}function observe(t,r,n){let{id:o,observer:i,elements:a}=createObserver(n);return a.set(t,r),i.observe(t),function(){if(a.delete(t),i.unobserve(t),0===a.size){i.disconnect(),l.delete(o);let t=s.findIndex(t=>t.root===o.root&&t.margin===o.margin);t>-1&&s.splice(t,1)}}}function useIntersection(t){let{rootRef:r,rootMargin:n,disabled:l}=t,s=l||!a,[u,c]=(0,o.useState)(!1),d=(0,o.useRef)(null),m=(0,o.useCallback)(t=>{d.current=t},[]);(0,o.useEffect)(()=>{if(a){if(s||u)return;let t=d.current;if(t&&t.tagName){let o=observe(t,t=>t&&c(t),{root:null==r?void 0:r.current,rootMargin:n});return o}}else if(!u){let t=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(t)}},[s,n,r,u,d.current]);let h=(0,o.useCallback)(()=>{c(!1)},[]);return[m,u,h]}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},26870:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return dynamic}});let o=n(68517);n(75623);let i=o._(n(63779));function convertModule(t){return{default:(null==t?void 0:t.default)||t}}function dynamic(t,r){let n=i.default,o={loading:t=>{let{error:r,isLoading:n,pastDelay:o}=t;return null}};"function"==typeof t&&(o.loader=t),Object.assign(o,r);let a=o.loader;return n({...o,loader:()=>null!=a?a().then(convertModule):Promise.resolve(convertModule(()=>null))})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},12156:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"escapeStringRegexp",{enumerable:!0,get:function(){return escapeStringRegexp}});let n=/[|\\{}()[\]^$+*?.-]/,o=/[|\\{}()[\]^$+*?.-]/g;function escapeStringRegexp(t){return n.test(t)?t.replace(o,"\\$&"):t}},94484:function(t,r,n){"use strict";function NoSSR(t){let{children:r}=t;return r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NoSSR",{enumerable:!0,get:function(){return NoSSR}}),n(97667)},63779:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let o=n(68517),i=o._(n(75623)),a=n(94484);function Loadable(t){let r=Object.assign({loader:null,loading:null,ssr:!0},t);function LoadableComponent(t){let n=r.loading,o=i.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),l=r.ssr?i.default.Fragment:a.NoSSR,s=r.lazy;return i.default.createElement(i.default.Suspense,{fallback:o},i.default.createElement(l,null,i.default.createElement(s,t)))}return r.lazy=i.default.lazy(r.loader),LoadableComponent.displayName="LoadableComponent",LoadableComponent}let l=Loadable},31064:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return a}});let o=n(68517),i=o._(n(75623)),a=i.default.createContext(null)},65185:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{formatUrl:function(){return formatUrl},urlObjectKeys:function(){return l},formatWithValidation:function(){return formatWithValidation}});let o=n(53388),i=o._(n(27001)),a=/https?|ftp|gopher|file/;function formatUrl(t){let{auth:r,hostname:n}=t,o=t.protocol||"",l=t.pathname||"",s=t.hash||"",u=t.query||"",c=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",t.host?c=r+t.host:n&&(c=r+(~n.indexOf(":")?"["+n+"]":n),t.port&&(c+=":"+t.port)),u&&"object"==typeof u&&(u=String(i.urlQueryToSearchParams(u)));let d=t.search||u&&"?"+u||"";return o&&!o.endsWith(":")&&(o+=":"),t.slashes||(!o||a.test(o))&&!1!==c?(c="//"+(c||""),l&&"/"!==l[0]&&(l="/"+l)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),d&&"?"!==d[0]&&(d="?"+d),""+o+c+(l=l.replace(/[?#]/g,encodeURIComponent))+(d=d.replace("#","%23"))+s}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function formatWithValidation(t){return formatUrl(t)}},75644:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getSortedRoutes:function(){return o.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let o=n(30363),i=n(89971)},39142:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"interpolateAs",{enumerable:!0,get:function(){return interpolateAs}});let o=n(59725),i=n(52598);function interpolateAs(t,r,n){let a="",l=(0,i.getRouteRegex)(t),s=l.groups,u=(r!==t?(0,o.getRouteMatcher)(l)(r):"")||n;a=t;let c=Object.keys(s);return c.every(t=>{let r=u[t]||"",{repeat:n,optional:o}=s[t],i="["+(n?"...":"")+t+"]";return o&&(i=(r?"":"/")+"["+i+"]"),n&&!Array.isArray(r)&&(r=[r]),(o||t in u)&&(a=a.replace(i,n?r.map(t=>encodeURIComponent(t)).join("/"):encodeURIComponent(r))||"/")})||(a=""),{params:c,result:a}}},89971:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isDynamicRoute",{enumerable:!0,get:function(){return isDynamicRoute}});let n=/\/\[[^/]+?\](?=\/|$)/;function isDynamicRoute(t){return n.test(t)}},26035:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return isLocalURL}});let o=n(53145),i=n(29103);function isLocalURL(t){if(!(0,o.isAbsoluteUrl)(t))return!0;try{let r=(0,o.getLocationOrigin)(),n=new URL(t,r);return n.origin===r&&(0,i.hasBasePath)(n.pathname)}catch(t){return!1}}},17218:function(t,r){"use strict";function omit(t,r){let n={};return Object.keys(t).forEach(o=>{r.includes(o)||(n[o]=t[o])}),n}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"omit",{enumerable:!0,get:function(){return omit}})},27001:function(t,r){"use strict";function searchParamsToUrlQuery(t){let r={};return t.forEach((t,n)=>{void 0===r[n]?r[n]=t:Array.isArray(r[n])?r[n].push(t):r[n]=[r[n],t]}),r}function stringifyUrlQueryParam(t){return"string"!=typeof t&&("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function urlQueryToSearchParams(t){let r=new URLSearchParams;return Object.entries(t).forEach(t=>{let[n,o]=t;Array.isArray(o)?o.forEach(t=>r.append(n,stringifyUrlQueryParam(t))):r.set(n,stringifyUrlQueryParam(o))}),r}function assign(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach(r=>{Array.from(r.keys()).forEach(r=>t.delete(r)),r.forEach((r,n)=>t.append(n,r))}),t}Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{searchParamsToUrlQuery:function(){return searchParamsToUrlQuery},urlQueryToSearchParams:function(){return urlQueryToSearchParams},assign:function(){return assign}})},59725:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getRouteMatcher",{enumerable:!0,get:function(){return getRouteMatcher}});let o=n(53145);function getRouteMatcher(t){let{re:r,groups:n}=t;return t=>{let i=r.exec(t);if(!i)return!1;let decode=t=>{try{return decodeURIComponent(t)}catch(t){throw new o.DecodeError("failed to decode param")}},a={};return Object.keys(n).forEach(t=>{let r=n[t],o=i[r.pos];void 0!==o&&(a[t]=~o.indexOf("/")?o.split("/").map(t=>decode(t)):r.repeat?[decode(o)]:decode(o))}),a}}},52598:function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{getRouteRegex:function(){return getRouteRegex},getNamedRouteRegex:function(){return getNamedRouteRegex},getNamedMiddlewareRegex:function(){return getNamedMiddlewareRegex}});let o=n(20444),i=n(12156),a=n(61170);function parseParameter(t){let r=t.startsWith("[")&&t.endsWith("]");r&&(t=t.slice(1,-1));let n=t.startsWith("...");return n&&(t=t.slice(3)),{key:t,repeat:n,optional:r}}function getParametrizedRoute(t){let r=(0,a.removeTrailingSlash)(t).slice(1).split("/"),n={},l=1;return{parameterizedRoute:r.map(t=>{let r=o.INTERCEPTION_ROUTE_MARKERS.find(r=>t.startsWith(r)),a=t.match(/\[((?:\[.*\])|.+)\]/);if(r&&a){let{key:t,optional:o,repeat:s}=parseParameter(a[1]);return n[t]={pos:l++,repeat:s,optional:o},"/"+(0,i.escapeStringRegexp)(r)+"([^/]+?)"}if(!a)return"/"+(0,i.escapeStringRegexp)(t);{let{key:t,repeat:r,optional:o}=parseParameter(a[1]);return n[t]={pos:l++,repeat:r,optional:o},r?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function getRouteRegex(t){let{parameterizedRoute:r,groups:n}=getParametrizedRoute(t);return{re:RegExp("^"+r+"(?:/)?$"),groups:n}}function buildGetSafeRouteKey(){let t=0;return()=>{let r="",n=++t;for(;n>0;)r+=String.fromCharCode(97+(n-1)%26),n=Math.floor((n-1)/26);return r}}function getSafeKeyFromSegment(t){let{getSafeRouteKey:r,segment:n,routeKeys:o,keyPrefix:i}=t,{key:a,optional:l,repeat:s}=parseParameter(n),u=a.replace(/\W/g,"");i&&(u=""+i+u);let c=!1;return(0===u.length||u.length>30)&&(c=!0),isNaN(parseInt(u.slice(0,1)))||(c=!0),c&&(u=r()),i?o[u]=""+i+a:o[u]=""+a,s?l?"(?:/(?<"+u+">.+?))?":"/(?<"+u+">.+?)":"/(?<"+u+">[^/]+?)"}function getNamedParametrizedRoute(t,r){let n=(0,a.removeTrailingSlash)(t).slice(1).split("/"),l=buildGetSafeRouteKey(),s={};return{namedParameterizedRoute:n.map(t=>{let n=o.INTERCEPTION_ROUTE_MARKERS.some(r=>t.startsWith(r)),a=t.match(/\[((?:\[.*\])|.+)\]/);return n&&a?getSafeKeyFromSegment({getSafeRouteKey:l,segment:a[1],routeKeys:s,keyPrefix:r?"nxtI":void 0}):a?getSafeKeyFromSegment({getSafeRouteKey:l,segment:a[1],routeKeys:s,keyPrefix:r?"nxtP":void 0}):"/"+(0,i.escapeStringRegexp)(t)}).join(""),routeKeys:s}}function getNamedRouteRegex(t,r){let n=getNamedParametrizedRoute(t,r);return{...getRouteRegex(t),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function getNamedMiddlewareRegex(t,r){let{parameterizedRoute:n}=getParametrizedRoute(t),{catchAll:o=!0}=r;if("/"===n)return{namedRegex:"^/"+(o?".*":"")+"$"};let{namedParameterizedRoute:i}=getNamedParametrizedRoute(t,!1);return{namedRegex:"^"+i+(o?"(?:(/.*)?)":"")+"$"}}},30363:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getSortedRoutes",{enumerable:!0,get:function(){return getSortedRoutes}});let UrlNode=class UrlNode{insert(t){this._insert(t.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(t){void 0===t&&(t="/");let r=[...this.children.keys()].sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);let n=r.map(r=>this.children.get(r)._smoosh(""+t+r+"/")).reduce((t,r)=>[...t,...r],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(t+"["+this.slugName+"]/")),!this.placeholder){let r="/"===t?"/":t.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+r+'" and "'+r+"[[..."+this.optionalRestSlugName+']]").');n.unshift(r)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(t+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(t+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(t,r,n){if(0===t.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=t[0];if(o.startsWith("[")&&o.endsWith("]")){let i=o.slice(1,-1),a=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),a=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+i+"').");if(i.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+i+"').");function handleSlug(t,n){if(null!==t&&t!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+t+"' !== '"+n+"').");r.forEach(t=>{if(t===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(t.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+t+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),r.push(n)}if(n){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+t[0]+'" ).');handleSlug(this.optionalRestSlugName,i),this.optionalRestSlugName=i,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+t[0]+'").');handleSlug(this.restSlugName,i),this.restSlugName=i,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+t[0]+'").');handleSlug(this.slugName,i),this.slugName=i,o="[]"}}this.children.has(o)||this.children.set(o,new UrlNode),this.children.get(o)._insert(t.slice(1),r,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}};function getSortedRoutes(t){let r=new UrlNode;return t.forEach(t=>r.insert(t)),r.smoosh()}},53145:function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),function(t,r){for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]})}(r,{WEB_VITALS:function(){return n},execOnce:function(){return execOnce},isAbsoluteUrl:function(){return isAbsoluteUrl},getLocationOrigin:function(){return getLocationOrigin},getURL:function(){return getURL},getDisplayName:function(){return getDisplayName},isResSent:function(){return isResSent},normalizeRepeatedSlashes:function(){return normalizeRepeatedSlashes},loadGetInitialProps:function(){return loadGetInitialProps},SP:function(){return i},ST:function(){return a},DecodeError:function(){return DecodeError},NormalizeError:function(){return NormalizeError},PageNotFoundError:function(){return PageNotFoundError},MissingStaticPage:function(){return MissingStaticPage},MiddlewareNotFoundError:function(){return MiddlewareNotFoundError},stringifyError:function(){return stringifyError}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function execOnce(t){let r,n=!1;return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n||(n=!0,r=t(...i)),r}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,isAbsoluteUrl=t=>o.test(t);function getLocationOrigin(){let{protocol:t,hostname:r,port:n}=window.location;return t+"//"+r+(n?":"+n:"")}function getURL(){let{href:t}=window.location,r=getLocationOrigin();return t.substring(r.length)}function getDisplayName(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function isResSent(t){return t.finished||t.headersSent}function normalizeRepeatedSlashes(t){let r=t.split("?"),n=r[0];return n.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(r[1]?"?"+r.slice(1).join("?"):"")}async function loadGetInitialProps(t,r){let n=r.res||r.ctx&&r.ctx.res;if(!t.getInitialProps)return r.ctx&&r.Component?{pageProps:await loadGetInitialProps(r.Component,r.ctx)}:{};let o=await t.getInitialProps(r);if(n&&isResSent(n))return o;if(!o){let r='"'+getDisplayName(t)+'.getInitialProps()" should resolve to an object. But found "'+o+'" instead.';throw Error(r)}return o}let i="undefined"!=typeof performance,a=i&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);let DecodeError=class DecodeError extends Error{};let NormalizeError=class NormalizeError extends Error{};let PageNotFoundError=class PageNotFoundError extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+t}};let MissingStaticPage=class MissingStaticPage extends Error{constructor(t,r){super(),this.message="Failed to load static file for page: "+t+" "+r}};let MiddlewareNotFoundError=class MiddlewareNotFoundError extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}};function stringifyError(t){return JSON.stringify({message:t.message,stack:t.stack})}},23094:function(t){t.exports={style:{fontFamily:"'__Fira_Code_33541e', '__Fira_Code_Fallback_33541e'",fontStyle:"normal"},className:"__className_33541e",variable:"__variable_33541e"}},92848:function(t){t.exports={style:{fontFamily:"'__Inter_e66fe9', '__Inter_Fallback_e66fe9'",fontStyle:"normal"},className:"__className_e66fe9",variable:"__variable_e66fe9"}},99205:function(t,r,n){t.exports=n(84352)},58127:function(t,r,n){t.exports=n(69239)}}]);