1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8318],{2588:(e,t)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},4661:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return n}});let a=r(16338);function n(e,t,r){return new Promise((r,n)=>{let i=!1;e.then(e=>{i=!0,r(e)}).catch(n),(0,a.requestIdleCallback)(()=>setTimeout(()=>{i||n(t)},3800))})}("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)},5442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return i}});let a=r(58086),n=r(75775);function i(e,t,r,i){if(!t||t===r)return e;let o=e.toLowerCase();return!i&&((0,n.pathHasPrefix)(o,"/api")||(0,n.pathHasPrefix)(o,`/${t.toLowerCase()}`))?e:(0,a.addPathPrefix)(e,`/${t}`)}},9785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return n}});let a=r(75775);function n(e,t){if(!(0,a.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},10891:(e,t)=>{"use strict";function r(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return r}})},11022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let a=new r(e.length,t);for(let t of e)a.add(t);return a}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let a=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${r}`)%this.numBits;t.push(a)}return t}}},11100:(e,t,r)=>{"use strict";Object.defineProperty(t,"A",{enumerable:!0,get:function(){return u}});let a=r(33109),n=r(15752),i=r(17373),o=r(48461),s=r(49334),l=r(51196);function u(e,t,r,u,c,h){let p,d=!1,f=!1,m=(0,l.parseRelativeUrl)(e),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(m.pathname),h).pathname),_=r=>{let l=(0,a.getPathMatch)(r.source+"",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((r.has||r.missing)&&l){let e=(0,n.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[r,...a]=t.split("=");return e[r]=a.join("="),e},{})},m.query,r.has,r.missing);e?Object.assign(l,e):l=!1}if(l){if(!r.destination)return f=!0,!0;let a=(0,n.prepareDestination)({appendParamsToQuery:!0,destination:r.destination,params:l,query:u});if(m=a.parsedDestination,e=a.newUrl,Object.assign(u,a.parsedDestination.query),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(e),h).pathname),t.includes(g))return d=!0,p=g,!0;if((p=c(g))!==e&&t.includes(p))return d=!0,!0}},y=!1;for(let e=0;e<r.beforeFiles.length;e++)_(r.beforeFiles[e]);if(!(d=t.includes(g))){if(!y){for(let e=0;e<r.afterFiles.length;e++)if(_(r.afterFiles[e])){y=!0;break}}if(y||(p=c(g),y=d=t.includes(p)),!y){for(let e=0;e<r.fallback.length;e++)if(_(r.fallback[e])){y=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:d,resolvedHref:p,externalDest:f}}},15186:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveParamValue",{enumerable:!0,get:function(){return i}});let a=r(65433),n=r(10891);function i(e,t,r,i,o){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let s=[];for(let e=r;e<i.segments.length;e++){let a=i.segments[e];if("static"===a.type){let i=a.name,o=(0,n.interceptionPrefixFromParamType)(t);o&&e===r&&o===a.interceptionMarker&&(i=i.replace(a.interceptionMarker,"")),s.push(i)}else{if(!o.hasOwnProperty(a.param.paramName)){if("optional-catchall"===a.param.paramType)break;return}let e=o[a.param.paramName];Array.isArray(e)?s.push(...e):s.push(e)}}if(s.length>0)return s;if("optional-catchall"===t)return;throw Object.defineProperty(new a.InvariantError(`Unexpected empty path segments match for a route "${i.pathname}" with param "${e}" of type "${t}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(r<i.segments.length){let e=i.segments[r];if("dynamic"===e.type&&!o.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?o[e.param.paramName]:(0,n.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},15752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={compileNonPath:function(){return p},matchHas:function(){return h},parseDestination:function(){return d},prepareDestination:function(){return f}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(38921),o=r(55445),s=r(67663),l=r(61684),u=r(59579);function c(e){return e.replace(/__ESC_COLON_/gi,":")}function h(e,t,r=[],a=[]){let n={},i=r=>{let a,i=r.key;switch(r.type){case"header":i=i.toLowerCase(),a=e.headers[i];break;case"cookie":a="cookies"in e?e.cookies[r.key]:(0,l.getCookieParser)(e.headers)()[r.key];break;case"query":a=t[i];break;case"host":{let{host:t}=e?.headers||{};a=t?.split(":",1)[0].toLowerCase()}}if(!r.value&&a)return n[function(e){let t="";for(let r=0;r<e.length;r++){let a=e.charCodeAt(r);(a>64&&a<91||a>96&&a<123)&&(t+=e[r])}return t}(i)]=a,!0;if(a){let e=RegExp(`^${r.value}$`),t=Array.isArray(a)?a.slice(-1)[0].match(e):a.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{n[e]=t.groups[e]}):"host"===r.type&&t[0]&&(n.host=t[0])),!0}return!1};return!(!r.every(e=>i(e))||a.some(e=>i(e)))&&n}function p(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(`:${r}`)&&(e=e.replace(RegExp(`:${r}\\*`,"g"),`:${r}--ESCAPED_PARAM_ASTERISKS`).replace(RegExp(`:${r}\\?`,"g"),`:${r}--ESCAPED_PARAM_QUESTION`).replace(RegExp(`:${r}\\+`,"g"),`:${r}--ESCAPED_PARAM_PLUS`).replace(RegExp(`:${r}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${r}`));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,u.safeCompile)(`/${e}`,{validate:!1})(t).slice(1)}function d(e){let t=e.destination;for(let r of Object.keys({...e.params,...e.query}))r&&(t=t.replace(RegExp(`:${(0,i.escapeStringRegexp)(r)}`,"g"),`__ESC_COLON_${r}`));let r=(0,o.parseUrl)(t),a=r.pathname;a&&(a=c(a));let n=r.href;n&&(n=c(n));let s=r.hostname;s&&(s=c(s));let l=r.hash;l&&(l=c(l));let u=r.search;u&&(u=c(u));let h=r.origin;return h&&(h=c(h)),{...r,pathname:a,hostname:s,href:n,hash:l,search:u,origin:h}}function f(e){let t,r,a=d(e),{hostname:n,query:i,search:o}=a,l=a.pathname;a.hash&&(l=`${l}${a.hash}`);let h=[],f=[];for(let e of((0,u.safePathToRegexp)(l,f),f))h.push(e.name);if(n){let e=[];for(let t of((0,u.safePathToRegexp)(n,e),e))h.push(t.name)}let m=(0,u.safeCompile)(l,{validate:!1});for(let[r,a]of(n&&(t=(0,u.safeCompile)(n,{validate:!1,encode:encodeURIComponent})),Object.entries(i)))Array.isArray(a)?i[r]=a.map(t=>p(c(t),e.params)):"string"==typeof a&&(i[r]=p(c(a),e.params));let g=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!g.some(e=>h.includes(e)))for(let t of g)t in i||(i[t]=e.params[t]);if((0,s.isInterceptionRouteAppPath)(l))for(let t of l.split("/")){let r=s.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(r){"(..)(..)"===r?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=r;break}}try{let[n,i]=(r=m(e.params)).split("#",2);t&&(a.hostname=t(e.params)),a.pathname=n,a.hash=`${i?"#":""}${i||""}`,a.search=o?p(o,e.params):""}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,
1configurable:!0});throw e}return a.query={...e.query,...a.query},{newUrl:r,destQuery:i,parsedDestination:a}}},19405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={Router:function(){return s.default},createRouter:function(){return _},default:function(){return m},makePublicRouterInstance:function(){return y},useRouter:function(){return g},withRouter:function(){return c.default}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(4613),o=i._(r(36925)),s=i._(r(58233)),l=r(67921),u=i._(r(163)),c=i._(r(47834)),h={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},p=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!h.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,configurable:!0});return h.router}Object.defineProperty(h,"events",{get:()=>s.default.events}),p.forEach(e=>{Object.defineProperty(h,e,{get:()=>f()[e]})}),d.forEach(e=>{h[e]=(...t)=>f()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{h.ready(()=>{s.default.events.on(e,(...t)=>{let r=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(h[r])try{h[r](...t)}catch(e){console.error(`Error when running the Router event: ${r}`),console.error((0,u.default)(e)?`${e.message} 2${e.stack}`:e+"")}})})});let m=h;function g(){let e=o.default.useContext(l.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function _(...e){return h.router=new s.default(...e),h.readyCallbacks.forEach(e=>e()),h.readyCallbacks=[],h.router}function y(e){let t={};for(let r of p){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=s.default.events,d.forEach(r=>{t[r]=(...t)=>e[r](...t)}),t}("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)},19425:(e,t,r)=>{"use strict";r.d(t,{x:()=>u});var a=r(36925),n=r(80243),i=r(21),o=r(8805),s=r(7165);function l(e){return e.substring(2).toLowerCase()}function u(e){let{children:t,disableReactTree:r=!1,mouseEvent:u="onClick",onClickAway:c,touchEvent:h="onTouchEnd"}=e,p=a.useRef(!1),d=a.useRef(null),f=a.useRef(!1),m=a.useRef(!1);a.useEffect(()=>(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);let g=(0,i.A)((0,s.A)(t),d),_=(0,o.A)(e=>{let t=m.current;m.current=!1;let a=(0,n.A)(d.current);if(!(!f.current||!d.current||"clientX"in e&&(a.documentElement.clientWidth<e.clientX||a.documentElement.clientHeight<e.clientY))){if(p.current){p.current=!1;return}(e.composedPath?e.composedPath().includes(d.current):!a.documentElement.contains(e.target)||d.current.contains(e.target))||!r&&t||c(e)}}),y=e=>r=>{m.current=!0;let a=t.props[e];a&&a(r)},b={ref:g};return!1!==h&&(b[h]=y(h)),a.useEffect(()=>{if(!1!==h){let e=l(h),t=(0,n.A)(d.current),r=()=>{p.current=!0};return t.addEventListener(e,_),t.addEventListener("touchmove",r),()=>{t.removeEventListener(e,_),t.removeEventListener("touchmove",r)}}},[_,h]),!1!==u&&(b[u]=y(u)),a.useEffect(()=>{if(!1!==u){let e=l(u),t=(0,n.A)(d.current);return t.addEventListener(e,_),()=>{t.removeEventListener(e,_)}}},[_,u]),a.cloneElement(t,b)}},20387:(e,t,r)=>{"use strict";let a;Object.defineProperty(t,"__esModule",{value:!0});var n={createRouteLoader:function(){return y},getClientBuildManifest:function(){return g},isAssetError:function(){return f},markAssetError:function(){return d}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});r(4613),r(88176);
2let o=r(70939),s=r(16338),l=r(31173),u=r(67161),c=r(4661);function h(e,t,r){let a,n=t.get(e);if(n)return"future"in n?n.future:Promise.resolve(n);let i=new Promise(e=>{a=e});return t.set(e,{resolve:a,future:i}),r?r().then(e=>(a(e),e)).catch(r=>{throw t.delete(e),r}):i}let p=Symbol("ASSET_LOAD_ERROR");function d(e){return Object.defineProperty(e,p,{})}function f(e){return e&&p in e}let m=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function g(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,d(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})),a)}function _(e,t){return g().then(r=>{if(!(t in r))throw d(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let a=r[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,o.__unsafeCreateTrustedScriptURL)(e)+(0,l.getAssetTokenQuery)()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+(0,l.getAssetTokenQuery)())}})}function y(e){let t=new Map,r=new Map,n=new Map,i=new Map;function o(e){{var t;let a=r.get(e.toString());return a?a:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(r.set(e.toString(),a=new Promise((r,a)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>a(d(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),a)}}function l(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw d(e)})),t}return{whenEntrypoint:e=>h(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let a=t.get(e);a&&"resolve"in a?r&&(t.set(e,r),a.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})}
2,loadRoute(r,n){return h(r,i,()=>{let i;return(0,c.resolvePromiseWithTimeout)(_(e,r).then(({scripts:e,css:a})=>Promise.all([t.has(r)?[]:Promise.all(e.map(o)).then(e=>e),Promise.all(a.map(l))])).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),d(Object.defineProperty(Error(`Route did not complete loading: ${r}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),a).then(({entrypoint:e,styles:t})=>{let r=Object.assign({styles:t},e);return"error"in e?e:r}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>i?.())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():_(e,t).then(e=>Promise.all(m?e.scripts.map(e=>{var t,r,a;return t=e.toString(),r="script",new Promise((e,n)=>{let i=` 3 link[rel="prefetch"][href^="${t}"], 4 link[rel="preload"][href^="${t}"], 5 script[src^="${t}"]`;if(document.querySelector(i))return e();a=document.createElement("link"),r&&(a.as=r),a.rel="prefetch",a.crossOrigin=void 0,a.onload=e,a.onerror=()=>n(d(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),a.href=t,document.head.appendChild(a)})}):[])).then(()=>{(0,s.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("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)},20826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let a=r(48461),n=r(9785),i=r(75775);function o(e,t){let{basePath:r,i18n:o,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};r&&(0,i.pathHasPrefix)(l.pathname,r)&&(l.pathname=(0,n.removePathPrefix)(l.pathname,r),l.basePath=r);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}if(o){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,a.normalizeLocalePath)(l.pathname,o.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,a.normalizeLocalePath)(u,o.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},28894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={getParamProperties:function(){return l},getSegmentParam:function(){return o},isCatchAll:function(){return s}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(67663);function o(e){let t=i.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function s(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function l(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},29746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={getSortedRouteObjects:function(){return i.getSortedRouteObjects},getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(80956),o=r(94762)},33109:(e,t,r)=>{"use strict";
5Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return n}});let a=r(62604);function n(e,t){let r=[],n=(0,a.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof t?.sensitive&&t.sensitive,strict:t?.strict}),i=(0,a.regexpToFunction)(t?.regexModifier?new RegExp(t.regexModifier(n.source),n.flags):n,r);return(e,a)=>{if("string"!=typeof e)return!1;let n=i(e);if(!n)return!1;if(t?.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete n.params[e.name];return{...a,...n.params}}}},35236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let a=r(41212),n=r(96477);function i(e,t,r){let i="",o=(0,n.getRouteRegex)(e),s=o.groups,l=(t!==e?(0,a.getRouteMatcher)(o)(t):"")||r;i=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:a}=s[e],n=`[${r?"...":""}${e}]`;return a&&(n=`${!t?"/":""}[${n}]`),r&&!Array.isArray(t)&&(t=[t]),(a||e in l)&&(i=i.replace(n,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},38921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return n}});let r=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function n(e){return r.test(e)?e.replace(a,"\\$&"):e}},38989:(e,t)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},40218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseLoaderTree",{enumerable:!0,get:function(){return n}});let a=r(55831);function n(e){let[t,r,n,i]=e,{layout:o,template:s}=n,{page:l}=n;l=t===a.DEFAULT_SEGMENT_KEY?n.defaultPage:l;let u=o?.[1]||s?.[1]||l?.[1];return{page:l,segment:t,modules:n,conventionPath:u,parallelRoutes:r,staticSiblings:i}}},41212:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let a=r(11795),n=r(59579);function i({re:e,groups:t}){return(0,n.safeRouteMatcher)(r=>{let n=e.exec(r);if(!n)return!1;let i=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new a.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,r]of Object.entries(t)){let t=n[r.pos];void 0!==t&&(r.repeat?o[e]=t.split("/").map(e=>i(e)):o[e]=i(t))}return o})}},43179:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=(...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)},46520:(e,t)=>{"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t,...r){(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},47834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),r(4613);let a=r(5833);r(36925);let n=r(19405);function i(e){function t(t){return(0,a.jsx)(e,{router:(0,n.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("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)},47836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}}),r(77650);let a=(e,...t)=>e;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
5dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48461:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let r=new WeakMap;function a(e,t){let a;if(!t)return{pathname:e};let n=r.get(t);n||(n=t.map(e=>e.toLowerCase()),r.set(t,n));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),s=n.indexOf(o);return s<0?{pathname:e}:(a=t[s],{pathname:e=e.slice(a.length+1)||"/",detectedLocale:a})}},49185:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var a=r(36925),n=r(83809),i=r(26817),o=r(54482),s=r(12728),l=r(475),u=r(42555),c=r(19731);function h(e){return(0,c.Ay)("MuiCardActionArea",e)}let p=(0,u.A)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var d=r(19963),f=r(49087),m=r(5833);let g=(0,o.default)(d.A,{name:"MuiCardActionArea",slot:"Root"})((0,s.A)(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${p.focusVisible} .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),_=(0,o.default)("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})((0,s.A)(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),y=a.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiCardActionArea"}),{children:a,className:o,focusVisibleClassName:s,slots:u={},slotProps:c={},...p}=r,d=(e=>{let{classes:t}=e;return(0,i.A)({root:["root"],focusHighlight:["focusHighlight"]},h,t)})(r),y={slots:u,slotProps:c},[b,v]=(0,f.A)("root",{elementType:g,externalForwardedProps:{...y,...p},shouldForwardComponentProp:!0,ownerState:r,ref:t,className:(0,n.A)(d.root,o),additionalProps:{focusVisibleClassName:(0,n.A)(s,d.focusVisible)}}),[P,E]=(0,f.A)("focusHighlight",{elementType:_,externalForwardedProps:y,ownerState:r,ref:t,className:d.focusHighlight});return(0,m.jsxs)(b,{...v,children:[a,(0,m.jsx)(P,{...E})]})})},50831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return n}});let a=r(43535);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:i}=(0,a.parsePath)(e);return`${r}${t}${n}${i}`}},51196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let a=r(11795),n=r(89447);function i(e,t,r=!0){let o=new URL((0,a.getLocationOrigin)()),s=t?new URL(t,o):e.startsWith(".")?new URL(window.location.href):o,{pathname:l,searchParams:u,search:c,hash:h,href:p,origin:d}=e.startsWith("/")?new URL(`${s.protocol}//${s.host}${e}`):new URL(e,s);if(d!==o.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:l,port:null,protocol:null,query:r?(0,n.searchParamsToUrlQuery)(u):void 0,search:c,hash:h,href:p.slice(d.length),slashes:null}}},55445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return i}});let a=r(89447),n=r(51196);function i(e){if(e.startsWith("/"))return(0,n.parseRelativeUrl)(e);let t=new URL(e),r=t.username,i=t.password,o=r?i?`${r}:${i}`:r:null,s=t.pathname,l=t.search;return{auth:o,hash:t.hash,hostname:t.hostname,href:t.href,pathname:s,port:t.port,protocol:t.protocol,query:(0,a.searchParamsToUrlQuery)(t.searchParams),search:l,origin:t.origin,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}},57082:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return u},parseAppRouteSegment:function(){return l},parseAppRouteWithSlots:function(){return d},parseNormalizedAppRoute:function(){return p}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});
5let i=r(65433),o=r(28894),s=r(67663);function l(e){if(""===e)return null;let t=s.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),r=(0,o.getSegmentParam)(e);return r?{type:"dynamic",name:e,param:r,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function u(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}function h(e,t){let r,a,n,s=e.split("/").filter(Boolean),u=[];for(let c of s){let s=l(function(e){if(!/%5b|%5d/i.test(e))return e;try{let t=decodeURIComponent(e);return(0,o.getSegmentParam)(t)?t:e}catch{return e}}(c));if(s){if("route-group"===s.type&&!(2&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a route group segment.`),"__NEXT_ERROR_CODE",{value:"E1151",enumerable:!1,configurable:!0});if("parallel-route"===s.type&&!(1&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E1152",enumerable:!1,configurable:!0});if(u.push(s),s.interceptionMarker){let i=e.split(s.interceptionMarker);if(2!==i.length)throw Object.defineProperty(Error(`Invalid interception route: ${e}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});a=h(i[0],t),n=h(i[1],t),r=s.interceptionMarker}}}let c=u.filter(e=>"dynamic"===e.type);return{normalized:0===t,pathname:e,segments:u,dynamicSegments:c,interceptionMarker:r,interceptingRoute:a,interceptedRoute:n}}function p(e){return h(e,0)}function d(e){return h(e,1)}},57746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return d}});let a=r(89447),n=r(29737),i=r(67967),o=r(11795),s=r(77650),l=r(34236),u=r(29746),c=r(35236),h=r(96477),p=r(41212);function d(e,t,r){let d,f="string"==typeof t?t:(0,n.formatWithValidation)(t),m=f.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?f.slice(m[0].length):f;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${f}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,o.normalizeRepeatedSlashes)(g);f=(m?m[0]:"")+t}if(!(0,l.isLocalURL)(f))return r?[f]:f;try{let t=f.startsWith("#")?e.asPath:e.pathname;if(f.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let r=(0,h.getRouteRegex)(e.pathname);(0,p.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}d=new URL(t,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(f,d);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,a.searchParamsToUrlQuery)(e.searchParams),{result:o,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);o&&(t=(0,n.formatWithValidation)({pathname:o,hash:e.hash,query:(0,i.omit)(r,s)}))}let o=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[o,t||o]:o}catch(e){return r?[f]:f}}("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)},58233:(e,t,r)=>{"use strict";let a;Object.defineProperty(t,"__esModule",{value:!0});var n={createKey:function(){return Y},default:function(){return Z},matchesMiddleware:function(){return B}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(4613),s=r(34262),l=r(17373),u=r(20387),c=r(99775),h=s._(r(163)),p=r(93634),d=r(48461),f=o._(r(46520)),m=r(11795),g=r(94762),_=r(51196),y=r(41212),b=r(96477),v=r(68639),P=r(29737);r(43179);let E=r(43535),R=r(47836),x=r(68309),O=r(49334),w=r(68781),j=r(27570),S=r(57746),A=r(38989),T=r(20826),C=r(71123),N=r(97785),$=r(34236),L=r(602),M=r(67967),k=r(35236),D=r(82255),I=r(31485),U=r(31173),W=r(57643);function H(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,
5configurable:!0}),{cancelled:!0})}async function B(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,E.parsePath)(e.asPath),a=(0,j.hasBasePath)(r)?(0,O.removeBasePath)(r):r,n=(0,w.addBasePath)((0,R.addLocale)(a,e.locale));return t.some(e=>new RegExp(e.regexp).test(n))}function F(e){let t=(0,m.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function X(e,t,r){let[a,n]=(0,S.resolveHref)(e,t,!0),i=(0,m.getLocationOrigin)(),o=a.startsWith(i),s=n&&n.startsWith(i);a=F(a),n=n?F(n):n;let l=o?a:(0,w.addBasePath)(a),u=r?F((0,S.resolveHref)(e,r)):n||a;return{url:l,as:s?u:(0,w.addBasePath)(u)}}function z(e,t){let r=(0,l.removeTrailingSlash)((0,p.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,g.isDynamicRoute)(t)&&(0,b.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,l.removeTrailingSlash)(e))}async function q(e){if(!await B(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},i=t.headers.get("x-nextjs-rewrite"),o=i||t.headers.get("x-nextjs-matched-path"),s=t.headers.get(I.MATCHED_PATH_HEADER);if(!s||o||s.includes("__next_data_catchall")||s.includes("/_error")||s.includes("/404")||(o=s),o){if(o.startsWith("/")){let t=(0,_.parseRelativeUrl)(o),s=(0,T.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),c=(0,l.removeTrailingSlash)(s.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,u.getClientBuildManifest)()]).then(([o,{__rewrites:l}])=>{let u=(0,R.addLocale)(s.pathname,s.locale);if((0,g.isDynamicRoute)(u)||!i&&o.includes((0,d.normalizeLocalePath)((0,O.removeBasePath)(u),r.router.locales).pathname)){let r=(0,T.getNextPathnameInfo)((0,_.parseRelativeUrl)(e).pathname,{nextConfig:{basePath:n.basePath,trailingSlash:n.trailingSlash},parseData:!0});t.pathname=u=(0,w.addBasePath)(r.pathname)}{let e=a(u,o,l,t.query,e=>z(e,o),r.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,u=t.pathname,Object.assign(t.query,e.parsedAs.query))}let h=o.includes(c)?c:z((0,d.normalizeLocalePath)((0,O.removeBasePath)(t.pathname),r.router.locales).pathname,o);if((0,g.isDynamicRoute)(h)){let e=(0,y.getRouteMatcher)((0,b.getRouteRegex)(h))(u);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:h}})}let t=(0,E.parsePath)(e),s=(0,C.formatNextPathnameInfo)({...(0,T.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${s}${t.query}${t.hash}`})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=(0,E.parsePath)(c),t=(0,C.formatNextPathnameInfo)({...(0,T.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}a=r(11100).A;let V=Symbol("SSG_DATA_NOT_FOUND");function K(e){try{return JSON.parse(e)}catch(e){return null}}function G({dataHref:e,inflightCache:t,isPrefetch:r,hasMiddleware:a,isServerRender:n,parseJSON:i,persistCache:o,isBackground:s,unstable_skipClientCache:l}){let{href:c}=new URL(e,window.location.href),h=(0,U.getDeploymentId)(),p=s=>(function e(t,r,a){return fetch(t,{credentials:"same-origin",method:a.method||"GET",headers:Object.assign({},a.headers,{"x-nextjs-data":"1"})}).then(n=>!n.ok&&r>1&&n.status>=500?e(t,r-1,a):n)})(e,n?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&a?{"x-middleware-prefetch":"1"}:{},h?{"x-deployment-id":h}:{}),method:s?.method??"GET"}).then(t=>t.ok&&s?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(r=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:r,json:{},cacheKey:c};if(404===t.status&&K(r)?.notFound)return{dataHref:e,json:{notFound:V},response:t,text:r,cacheKey:c};let i=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,
5configurable:!0});throw n||(0,u.markAssetError)(i),i}let o=t.headers.get(I.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=o&&o!==h){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw n||(0,u.markAssetError)(e),e}return{dataHref:e,json:i?K(r):null,response:t,text:r,cacheKey:c}})).then(e=>(o&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw l||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,u.markAssetError)(e),e});return l&&o?p({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=p(s?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function Q({url:e,router:t}){if(e===(0,w.addBasePath)((0,R.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let J=({route:e,router:t})=>{let r=!1,a=t.clc=()=>{r=!0};return()=>{if(r){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}a===t.clc&&(t.clc=null)}};class Z{static{this.events=(0,f.default)()}constructor(e,t,r,{initialProps:a,pageLoader:n,App:i,wrapApp:o,Component:s,err:u,subscription:c,isFallback:h,locale:p,locales:d,defaultLocale:f,domainLocales:y,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let a=e.state;if(!a){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,P.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),(0,m.getURL)());return}if(a.__NA)return void window.location.reload();if(!a.__N||r&&this.locale===a.options.locale&&a.as===this.asPath)return;let{url:n,as:i,options:o,key:s}=a;this._key=s;let{pathname:l}=(0,_.parseRelativeUrl)(n);this.isSsr&&i===(0,w.addBasePath)(this.asPath)&&l===(0,w.addBasePath)(this.pathname)||(!this._bps||this._bps(a))&&this.change("replaceState",n,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};const v=(0,l.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[v]={Component:s,initial:!0,props:a,err:u,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=Z.events,this.pageLoader=n;const E=(0,g.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=o,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!E&&!self.location.search&&0),this.state={route:v,pathname:e,query:t,asPath:E?e:r,isPreview:!!b,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){const a={locale:p},n=(0,m.getURL)();this._initialMatchesMiddlewarePromise=B({router:this,locale:p,asPath:n}).then(i=>(a._shouldResolveHref=r!==e,this.changeState("replaceState",i?n:(0,P.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),n,a),i))}window.addEventListener("popstate",this.onPopState)}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r={}){if((0,W.isJavaScriptURLString)(e.toString())||t&&(0,W.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=X(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r={}){if((0,W.isJavaScriptURLString)(e.toString())||t&&(0,W.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,
5configurable:!0});return{url:e,as:t}=X(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,a,n){{if(!this._bfl_s&&!this._bfl_d){let t,i,{BloomFilter:o}=r(11022);try{({__routerFilterStatic:t,__routerFilterDynamic:i}=await (0,u.getClientBuildManifest)())}catch(t){if(console.error(t),n)return!0;return Q({url:(0,w.addBasePath)((0,R.addLocale)(e,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}t?.numHashes&&(this._bfl_s=new o(t.numItems,t.errorRate),this._bfl_s.import(t)),i?.numHashes&&(this._bfl_d=new o(i.numItems,i.errorRate),this._bfl_d.import(i))}let i=!1,o=!1;for(let{as:r,allowMatchCurrent:s}of[{as:e},{as:t}])if(r){let t=(0,l.removeTrailingSlash)(new URL(r,"http://n").pathname),u=(0,w.addBasePath)((0,R.addLocale)(t,a||this.locale));if(s||t!==(0,l.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(i=i||!!this._bfl_s?.contains(t)||!!this._bfl_s?.contains(u),[t,u])){let t=e.split("/");for(let e=0;!o&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&this._bfl_d?.contains(r)){o=!0;break}}}if(i||o){if(n)return!0;return Q({url:(0,w.addBasePath)((0,R.addLocale)(e,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,n,i){let o,s;if(!(0,$.isLocalURL)(t))return Q({url:t,router:this}),!1;let p=1===n._h;p||n.shallow||await this._bfl(r,void 0,n.locale);let d=p||n._shouldResolveHref||(0,E.parsePath)(t).pathname===(0,E.parsePath)(r).pathname,f={...this.state},S=!0!==this.isReady;this.isReady=!0;let A=this.isSsr;if(p||(this.isSsr=!1),p&&this.clc)return!1;let T=f.locale;m.ST&&performance.mark("routeChange");let{shallow:C=!1,scroll:L=!0}=n,D={shallow:C};this._inFlightRoute&&this.clc&&(A||Z.events.emit("routeChangeError",H(),this._inFlightRoute,D),this.clc(),this.clc=null),r=(0,w.addBasePath)((0,R.addLocale)((0,j.hasBasePath)(r)?(0,O.removeBasePath)(r):r,n.locale,this.defaultLocale));let I=(0,x.removeLocale)((0,j.hasBasePath)(r)?(0,O.removeBasePath)(r):r,f.locale);this._inFlightRoute=r;let U=T!==f.locale;if(!p&&this.onlyAHashChange(I)&&!U){f.asPath=I,Z.events.emit("hashChangeStart",r,D),this.changeState(e,t,r,{...n,scroll:!1}),L&&this.scrollToHash(I);try{await this.set(f,this.components[f.route],null)}catch(e){throw(0,h.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,I,D),e}return Z.events.emit("hashChangeComplete",r,D),!0}let W=(0,_.parseRelativeUrl)(t),{pathname:F,query:q}=W;try{[o,{__rewrites:s}]=await Promise.all([this.pageLoader.getPageList(),(0,u.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return Q({url:r,router:this}),!1}this.urlIsNew(I)||U||(e="replaceState");let K=r;F=F?(0,l.removeTrailingSlash)((0,O.removeBasePath)(F)):F;let G=(0,l.removeTrailingSlash)(F),Y=r.startsWith("/")&&(0,_.parseRelativeUrl)(r).pathname;if(this.components[F]?.__appRouter)return Q({url:r,router:this}),new Promise(()=>{});let J=!!(Y&&G!==Y&&(!(0,g.isDynamicRoute)(G)||!(0,y.getRouteMatcher)((0,b.getRouteRegex)(G))(Y))),ee=!n.shallow&&await B({asPath:r,locale:f.locale,router:this});if(p&&ee&&(d=!1),d&&"/_error"!==F)if(n._shouldResolveHref=!0,r.startsWith("/")){let e=a((0,w.addBasePath)((0,R.addLocale)(I,f.locale),!0),o,s,q,e=>z(e,o),this.locales);if(e.externalDest)return Q({url:r,router:this}),!0;ee||(K=e.asPath),e.matchedPage&&e.resolvedHref&&(F=e.resolvedHref,W.pathname=(0,w.addBasePath)(F),ee||(t=(0,P.formatWithValidation)(W)))}else W.pathname=z(F,o),W.pathname!==F&&(F=W.pathname,W.pathname=(0,w.addBasePath)(F),ee||(t=(0,P.formatWithValidation)(W)));if(!p&&!n.shallow&&this._bfl_d&&(0,g.isDynamicRoute)(F)){let e=(0,l.removeTrailingSlash)((0,_.parseRelativeUrl)(I).pathname);if((0,v.hasDynamicFilterCandidate)(F,e,e=>!!this._bfl_d?.contains(e)))return Q({url:r,router:this}),new Promise(()=>{})}if(!(0,$.isLocalURL)(r))return Q({url:r,router:this}),!1;K=(0,x.removeLocale)((0,O.removeBasePath)(K),f.locale),G=(0,l.removeTrailingSlash)(F);let et=!1;if((0,g.isDynamicRoute)(G)){let e=(0,_.parseRelativeUrl)(K),a=e.pathname,n=(0,b.getRouteRegex)(G);et=(0,y.getRouteMatcher)(n)(a);let i=G===a,o=i?(0,k.interpolateAs)(G,a,q):{};if(et&&(!i||o.result))i?r=(0,P.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,M.omit)(q,o.params)})):Object.assign(q,et);else{let e=Object.keys(n.groups).filter(e=>!q[e]&&!n.groups[e].optional);if(e.length>0&&!ee)throw Object.defineProperty(Error((i?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${a}) is incompatible with the \`href\` value (${G}). `)+`Read more: https://nextjs.org/docs/messages/${i?"href-interpolation-failed":"incompatible-href-as"}
5`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}p||Z.events.emit("routeChangeStart",r,D);let er="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:G,pathname:F,query:q,as:r,resolvedAs:K,routeProps:D,locale:f.locale,isPreview:f.isPreview,hasMiddleware:ee,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:p&&!this.isFallback,isMiddlewareRewrite:J});if(p||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,f.locale),"route"in a&&ee){G=F=a.route||G,D.shallow||(q=Object.assign({},a.query||{},q));let e=(0,j.hasBasePath)(W.pathname)?(0,O.removeBasePath)(W.pathname):W.pathname;if(et&&F!==e&&Object.keys(et).forEach(e=>{et&&q[e]===et[e]&&delete q[e]}),(0,g.isDynamicRoute)(F)){let e=!D.shallow&&a.resolvedAs?a.resolvedAs:(0,w.addBasePath)((0,R.addLocale)(new URL(r,location.href).pathname,f.locale),!0);(0,j.hasBasePath)(e)&&(e=(0,O.removeBasePath)(e));let t=(0,b.getRouteRegex)(F),n=(0,y.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(q,n)}}if("type"in a)if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);else return Q({url:a.destination,router:this}),new Promise(()=>{});let s=a.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,c.handleClientScriptLoad)(e.props)}),(a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,_.parseRelativeUrl)(t);r.pathname=z(r.pathname,o);let{url:a,as:i}=X(this,t,t);return this.change(e,a,i,n)}return Q({url:t,router:this}),new Promise(()=>{})}if(f.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===V){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:q,as:r,resolvedAs:K,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isNotFound:!0}),"type"in a)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}p&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&a.props?.pageProps&&(a.props.pageProps.statusCode=500);let l=n.shallow&&f.route===(a.route??G),u=n.scroll??(!p&&!l),d=i??(u?{x:0,y:0}:null),m={...f,route:G,pathname:F,query:q,asPath:I,isFallback:!1};if(p&&er){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:q,as:r,resolvedAs:K,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isQueryUpdating:p&&!this.isFallback}),"type"in a)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&a.props?.pageProps&&(a.props.pageProps.statusCode=500);try{await this.set(m,a,d)}catch(e){throw(0,h.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,I,D),e}return!0}if(Z.events.emit("beforeHistoryChange",r,D),this.changeState(e,t,r,n),!(p&&!d&&!S&&!U&&(0,N.compareRouterStates)(m,this.state))){try{await this.set(m,a,d)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw p||Z.events.emit("routeChangeError",a.error,I,D),a.error;p||Z.events.emit("routeChangeComplete",r,D),u&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,h.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,a={}){("pushState"!==e||(0,m.getURL)()!==r)&&(this._shallow=a.shallow,window.history[e]({url:t,as:r,options:a,__N:!0,key:this._key="pushState"!==e?this._key:Y()},"",r))}async handleRouteInfoError(e,t,r,a,n,i){if(e.cancelled)throw e;if((0,u.isAssetError)(e)||i)throw Z.events.emit("routeChangeError",e,a,n),Q({url:a,router:this}),H();console.error(e);try{let a,{page:n,styleSheets:i}=await this.fetchComponent("/_error"),o={props:a,Component:n,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(n,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,h.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
5configurable:!0}),t,r,a,n,!0)}}async getRouteInfo({route:e,pathname:t,query:r,as:a,resolvedAs:n,routeProps:i,locale:o,hasMiddleware:s,isPreview:u,unstable_skipClientCache:c,isQueryUpdating:p,isMiddlewareRewrite:f,isNotFound:m}){let g=e;try{let e=this.components[g];if(i.shallow&&e&&this.route===g)return e;let h=J({route:g,router:this});s&&(e=void 0);let _=!e||"initial"in e?void 0:e,y={dataHref:this.pageLoader.getDataHref({href:(0,P.formatWithValidation)({pathname:t,query:r}),skipInterpolation:!0,asPath:m?"/404":n,locale:o}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c,isBackground:p},b=p&&!f?null:await q({fetchData:()=>G(y),asPath:m?"/404":n,locale:o,router:this}).catch(e=>{if(p)return null;throw e});if(b&&("/_error"===t||"/404"===t)&&(b.effect=void 0),p&&(b?b.json=self.__NEXT_DATA__.props:b={json:self.__NEXT_DATA__.props}),h(),b?.effect?.type==="redirect-internal"||b?.effect?.type==="redirect-external")return b.effect;if(b?.effect?.type==="rewrite"){let a=(0,l.removeTrailingSlash)(b.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!p||o.includes(a))&&(g=a,t=b.effect.resolvedHref,r={...r,...b.effect.parsedAs.query},n=(0,O.removeBasePath)((0,d.normalizeLocalePath)(b.effect.parsedAs.pathname,this.locales).pathname),e=this.components[g],i.shallow&&e&&this.route===g&&!s))return{...e,route:g}}if((0,A.isAPIRoute)(g))return Q({url:a,router:this}),new Promise(()=>{});let v=_||await this.fetchComponent(g).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),E=b?.response?.headers.get("x-middleware-skip"),R=v.__N_SSG||v.__N_SSP;E&&b?.dataHref&&delete this.sdc[b.dataHref];let{props:x,cacheKey:w}=await this._getData(async()=>{if(R){if(b?.json&&!E)return{cacheKey:b.cacheKey,props:b.json};let e=b?.dataHref?b.dataHref:this.pageLoader.getDataHref({href:(0,P.formatWithValidation)({pathname:t,query:r}),asPath:n,locale:o}),a=await G({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:E?{}:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c});return{cacheKey:a.cacheKey,props:a.json||{}}}return{headers:{},props:await this.getInitialProps(v.Component,{pathname:t,query:r,asPath:a,locale:o,locales:this.locales,defaultLocale:this.defaultLocale})}});return v.__N_SSP&&y.dataHref&&w&&delete this.sdc[w],this.isPreview||!v.__N_SSG||p||G(Object.assign({},y,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),x.pageProps=Object.assign({},x.pageProps),v.props=x,v.route=g,v.query=r,v.resolvedAs=n,this.components[g]=v,v}catch(e){return this.handleRouteInfoError((0,h.getProperError)(e),t,r,a,i)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[a,n]=e.split("#",2);return!!n&&t===a&&r===n||t===a&&r!==n}scrollToHash(e){let[,t=""]=e.split("#",2);(0,D.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let a=document.getElementsByName(e)[0];a&&a.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,r={}){if((0,L.isBot)(window.navigator.userAgent))return;let n=(0,_.parseRelativeUrl)(e),i=n.pathname,{pathname:o,query:s}=n,c=await this.pageLoader.getPageList(),h=t,p=void 0!==r.locale?r.locale||void 0:this.locale,d=await B({asPath:t,locale:p,router:this});if(t.startsWith("/")){let r;({__rewrites:r}=await (0,u.getClientBuildManifest)());let i=a((0,w.addBasePath)((0,R.addLocale)(t,this.locale),!0),c,r,n.query,e=>z(e,c),this.locales);if(i.externalDest)return;d||(h=(0,x.removeLocale)((0,O.removeBasePath)(i.asPath),this.locale)),i.matchedPage&&i.resolvedHref&&(n.pathname=o=i.resolvedHref,d||(e=(0,P.formatWithValidation)(n)))}n.pathname=z(n.pathname,c),(0,g.isDynamicRoute)(n.pathname)&&(o=n.pathname,n.pathname=o,Object.assign(s,(0,y.getRouteMatcher)((0,b.getRouteRegex)(n.pathname))((0,E.parsePath)(t).pathname)||{}),d||(e=(0,P.formatWithValidation)(n)));let f=(0,l.removeTrailingSlash)(o);await this._bfl(t,h,r.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(f).then(t=>!!t&&G({dataHref:this.pageLoader.getDataHref({href:e,asPath:h,locale:p}
5),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](f)])}async fetchComponent(e){let t=J({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],a=this._wrapApp(r);return t.AppTree=a,(0,m.loadGetInitialProps)(r,{AppTree:a,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},58318:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DesktopHeader:()=>Q});var a=r(63975),n=r(79719),i=r(97302),o=r(4237),s=r(62309);r(87266);var l=r(51888);r(62237);var u=r(4436),c=r(74318),h=r(10041),p=r(5833),d=r(40317),f=r(57187),m=r(53488),g=r(72781);let _=({sx:e,link:t,className:r,isHeading:a=!1})=>{let{palette:n}=(0,d.default)(),{setNavFlyoutOpen:i,setClickedStandardLinkId:s}=(0,o.Ls)(),l={listSubHeaderContainer:{"& a":{color:n.text.primary,fontWeight:"700"},padding:"12px 0px",width:"100%",marginLeft:"0px"},listItemContainer:{"&.MuiListItem-root:hover":{background:n.action.hover},"& .MuiLink-root":{color:n.text.primary},padding:"12px 16px",marginLeft:{xs:"16px",md:"0px"}}};return(0,p.jsx)(g.Ay,{sx:[l.listItemContainer,a&&l.listSubHeaderContainer,...(0,f.setSx)(e??[])],disablePadding:!0,children:(0,p.jsx)(m.WebLink,{reference:t??void 0,prefetch:!1,variant:"body2dense",className:r,isStyledLink:!1,underline:"none",dataCy:"header-flyout-link",onClick:()=>{i(!1),s("")},children:t?.label})})};var y=r(81307),b=r(29476);let v=({addTitle:e,link:t,groupLinks:r,headerFlyout:a,moreInfo:n})=>{let{flyOutMenu:i}=a||{},{GROUP_TITLES:o,MAX_COLUMNS:s,MAX_ROW_PER_COLUMN:l,GRID_SIZE_TWO_COLUMNS:u,GRID_SIZE_THREE_COLUMNS:c}=h.un,d={marginTop:"44px"},f=!(()=>{if(i?.length){let{groupTitleRef:e,groupLinks:t}=i[0];return o.PRODUCTS.LABELS.includes(e?.label??"")&&t&&t.length>l}return!1})()&&i&&i.length<s?u:c;return(0,p.jsx)(y.default,{size:f,children:(0,p.jsxs)(b.A,{sx:{border:"none",display:"flex",flexDirection:"column"},"data-cy":"header-flyout-column",children:[e&&(0,p.jsx)(_,{link:t,isHeading:!0}),r?.map((t,r)=>(0,p.jsx)(_,{sx:[!e&&0===r&&d],link:t,className:t.className},`${t.id}-${r}`)),n?.label&&(0,p.jsx)(_,{link:n,sx:{"& .MuiLink-root":{color:"primary.main"}}})]})})};var P=r(11837),E=r(90495),R=r(49185),x=r(5917),O=r(84034),w=r(22174);let j=({title:e,text:t,image:r,reference:a,handleClick:n,dataCy:i="header-flyout-highlight"})=>{let o=(0,d.default)(),s=a?.label,l={flexContainer:{display:"flex",flexDirection:"column",gap:"16px"},container:{background:o.palette.background.grey,p:{xs:2,sm:4,md:0},boxShadow:"none",overflow:"visible",color:o.palette.common.white,whiteSpace:"pre-line"},cardActionArea:{alignItems:"flex-start"},cardContent:{padding:0},cardHeadlineContainer:{height:"40px",display:"flex",alignItems:"center",padding:0},button:{width:"fit-content"}};return(0,p.jsx)(E.A,{sx:l.container,onClick:e=>{e.preventDefault(),n?.()},"data-cy":`${i}`,children:(0,p.jsxs)(R.A,{sx:[l.flexContainer,l.cardActionArea],component:"div",children:[(0,p.jsx)(x.A,{sx:l.cardHeadlineContainer,children:(0,p.jsx)(P.default,{variant:"body2boldDense",component:"h3",sx:{fontWeight:"700",lineHeight:"24px",letterSpacing:"0.01em"},color:"text.primary","data-cy":`${i}-headline`,children:e})}),r&&(0,p.jsx)(O.A,{component:"img",height:"246",src:r.url,alt:r.title,"data-cy":`${i}-img`}),(0,p.jsxs)(x.A,{sx:[l.flexContainer,l.cardContent],children:[t&&(0,p.jsx)(P.default,{variant:"body2dense",color:"text.secondary","data-cy":`${i}-description`,children:t}),s&&(0,p.jsx)(w.NextButtonWrapper,{prefetch:!1,color:"primary",disableClick:!0,variant:"outlined",size:"web_S",sx:l.button,reference:a,"data-cy":`${i}-button`,children:s})]})]})})};var S=r(1509);let A=({children:e})=>{let t={root:{background:(0,d.default)().palette.background.paper}};return(0,p.jsx)(S.default,{maxWidth:!1,disableGutters:!0,sx:t.root,"data-cy":"header-flyout",children:(0,p.jsx)(S.default,{sx:{"&.MuiContainer-root":{pl:"48px",pr:"0px"}},children:(0,p.jsx)(y.default,{container:!0,children:e})})})};var T=r(41875),C=r(19405),N=r.n(C);let $=({headerFlyout:e})=>{let{GROUP_TITLES:t,MAX_DEFAULT_ROWS:r,MAX_ROW_PER_COLUMN:a,MAX_ROW_PER_TWO_COLUMNS:n}=h.un,i=(0,d.default)();if(!e)return null;let{quickLinks:o,highlights:s,flyOutMenu:l}=e||{};return(0,p.jsxs)(A,{"data-cy":"header-flyout",children:[(0,p.jsx)(y.default,{size:{md:9},sx:{padding:"0px",paddingTop:"32px"},children:(0,p.jsx)(y.default,{container:!0,rowSpacing:{xs:"24px",lg:"40px"},columnSpacing:{xs:"24px"},sx:{cursor:"default",padding:"0px"},children:!!l?.length&&l?.map(({id:i,groupLinks:o,groupTitleRef:s,moreInfoRef:u},c)=>{var h;let d,f=o&&(h=s?.label,d=h&&t.PRODUCTS.LABELS.includes(h)?t.PRODUCTS.MAX_ROWS:h&&t.SYSTEMS.LABELS.includes(h)?t.SYSTEMS.MAX_ROWS:r,o.length<=d?o:o.slice(0,d));if((()=>{let{groupTitleRef:e,groupLinks:r}=l[0];return t.PRODUCTS.LABELS.includes(e?.label??"")&&(r?.length??0)>a})()){let t=f?.slice(0,a),r=f?.slice(a,n);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(v,{addTitle:!0,link:s,groupLinks:t,headerFlyout:e,moreInfo:u},`${i}-${c}`),(0,p.jsx)(v,{link:s,groupLinks:r,headerFlyout:e,moreInfo:u},"title-column-2")]})}return(0,p.jsx)(v,{addTitle:!0,link:s,groupLinks:f,headerFlyout:e,moreInfo:u},`${i}-${c}`)})})}),(0,p.jsxs)(y.default,{size:{md:3}
5,gap:"48px",sx:{display:"flex",flexDirection:"column",background:(s||o)&&i.palette.background.grey,padding:"32px 24px",cursor:"default"},children:[o&&(0,p.jsx)(T.A,{...o}),s&&(0,p.jsx)(j,{...s,handleClick:()=>{let{reference:e}=s;e&&"#"!==e.href&&(0,f.pushRoute)(e,N())}})]})]})};var L=r(48944),M=r(29976),k=r(68836),D=r(19425);let I=({navigationLinks:e,selectedNavLink:t,showHeaderFlyout:r,updateActiveNavFromRouterPath:a})=>{let n=(0,d.default)(),i=e?.filter(e=>(0,L.q)(e))?.find(e=>e.id===t),{setSelectedNavLink:s,setNavFlyoutOpen:l}=(0,o.Ls)(),u={flyoutPopup:{pointerEvents:"all",maxWidth:"100vw",width:"100%",maxHeight:"unset",background:n.palette.grey[10],left:"0px !important",borderRadius:"0px",borderTop:`1px solid ${n.palette.divider}`,"& .MuiList-padding":{padding:0}},menuContainer:{position:"absolute",left:0,width:"100%",zIndex:1210},menu:{maxHeight:"89vh",overflowY:"auto"}};return i?r&&(0,p.jsx)(D.x,{onClickAway:e=>{e.target instanceof Element&&e.target.closest(".MuiList-root")||(s(""),l(!1),a())},children:(0,p.jsx)(M.default,{display:"flex","data-cy":"header-flyout-navigation-links",children:(0,p.jsx)(M.default,{sx:u.menuContainer,children:(0,p.jsx)(k.A,{id:"customized-menu",sx:u.menu,elevation:1,children:(0,p.jsx)($,{headerFlyout:i})})})})}):null};var U=r(36925);let W=({navigationLinks:e,selectedNavLink:t,setSelectedNavLink:r,clickedStandardLinkId:a,setClickedStandardLinkId:n,updateActiveNavFromRouterPath:i})=>{let s,l="header-nav",u={navLink:{padding:"20px 16px",color:(s=(0,d.default)()).palette.text.primary,cursor:"pointer",maxHeight:"64px","&:hover":{backgroundColor:s.palette.action.hover},minWidth:"fit-content",width:"fit-content"},activeNavLink:{borderBottom:`2px solid ${s.palette.primary.main}`,color:s.palette.text.primary,"& span":{mb:"-3px"}}},{setNavFlyoutOpen:c,isNavFlyoutOpen:h}=(0,o.Ls)(),f=(0,U.useCallback)(e=>{if((0,L.P)(e)){r(""),n(e.id);return}if(t===e.id&&h){r(""),c(!1),i();return}r(e.id),c(!0)},[t,h,r,n,c,i]);return(0,p.jsx)(M.default,{display:"flex","data-cy":"header-flyout-navigation-links",children:!!e&&(0,p.jsx)(b.A,{sx:{display:"flex",flexFlow:"wrap"},children:e.map((e,r)=>{if(!e?.id)return null;let{id:n,label:i}=e;return(0,p.jsx)(g.Ay,{onClick:()=>f(e),sx:[u.navLink,(t===n||!t&&a===n)&&u.activeNavLink],"data-cy":`${l}-list-item-${r}`,children:(0,L.P)(e)?(0,p.jsx)(m.WebLink,{reference:e,prefetch:!1,variant:"body3",isStyledLink:!1,underline:"none",sx:{"&.MuiLink-root":{color:"inherit"}},"data-cy":`${l}-${r}`,children:i}):(0,p.jsx)(P.default,{component:"span",variant:"body3","data-cy":`${l}-${r}`,children:i})},`${n}-${r}`)})})})};var H=r(80531),B=r(81963),F=r(19845),X=r(891),z=r(3440),q=r(57711),V=r(43161),K=r(4705),G=r(19776),Y=r(13304);let Q=({SearchFlyout:e,AuthComponent:t})=>{let{navigationLinks:r,onClickLogo:h,slotProps:f,findMyRep:m,selectedNavLink:g,setSelectedNavLink:_,isNavFlyoutOpen:y,clickedStandardLinkId:b,setClickedStandardLinkId:v,whereToBuyLocale:P}=(0,o.Ls)(),{AppBarProps:E}=f??{},{sx:R,...x}=E??{},{t:O}=(0,F.useTranslation)("shared-nextjs",{keyPrefix:"common"}),w=(0,U.useRef)(null),j=(0,q.Z)(),A=(0,H.usePathname)(),{path:T}=(0,n.m)(A),{push:C}=(0,X._)(),N=(0,d.default)(),{theme:$}=(0,Y.getThemeByTenantAndLocale)(B.TENANTS.USG,j||"en-US"),L=N?.tenant===B.TENANTS.USG?N:$,k=()=>{b||g||_((0,i.w7)(r,T))};(0,U.useEffect)(()=>{k()},[r,T]),(0,U.useMemo)(()=>{r.forEach(e=>{"quickLinks"in e&&Array.isArray(e?.quickLinks?.links)&&e.quickLinks.links.forEach(t=>{t.onClick=()=>C({reference:t,type:"link",eventPayload:{page_section:"header",navigation_category:e.label,navigation_title:"Quick Links",action:t.label,event_specification:"internal_link_click"}})})})},[r]);let D=P?.href||"";return(0,p.jsxs)(z.default,{theme:L,children:[(0,p.jsx)(u.A,{navigationLinks:r}),(0,p.jsxs)(K.A,{color:"inherit",elevation:0,sx:(0,a.o)({borderBottom:e=>`1px solid ${e.palette.divider}`,bgcolor:"background.paper",zIndex:1301,position:"sticky"},R),"data-cy":"desktop-header",...x,children:[(0,p.jsxs)(G.A,{disableGutters:!0,ref:w,sx:{display:"flex",flexDirection:"column"},children:[(0,p.jsx)(s.c,{locale:j}),(0,p.jsxs)(S.default,{sx:{display:"flex",gap:2},children:[(0,p.jsx)(l.Z,{onClickLogo:h,locale:j,children:r&&(0,p.jsx)(M.default,{display:"flex",flexGrow:"1",children:(0,p.jsx)(W,{navigationLinks:r,selectedNavLink:g,setSelectedNavLink:_,clickedStandardLinkId:b,setClickedStandardLinkId:v,updateActiveNavFromRouterPath:k}
5)})}),(0,p.jsxs)(M.default,{sx:{display:"flex",alignItems:"start",pt:"12px"},children:[(0,p.jsx)(c.M,{}),m?.isEnabled&&(0,p.jsx)(V.A,{variant:"contained",color:"primary",size:"medium","data-cy":"header-login-button",href:m.url,sx:{whiteSpace:"nowrap"},children:m.label.toUpperCase()}),(0,p.jsx)(V.A,{variant:"contained",color:"primary",size:"medium","data-cy":"header-CTAButton-button",href:D,onClick:()=>{C({reference:{href:D,label:"Where to Buy"},type:"link",eventPayload:{page_section:"header",action:"Where to Buy",event_specification:"internal_link_click",navigation_title:"Where to buy",navigation_category:"navigation_cta",page_category:"cms_page"}})},sx:{whiteSpace:"nowrap"},children:O("headerCTAButton")}),t]})]})]}),(0,p.jsx)(I,{navigationLinks:r,selectedNavLink:g,showHeaderFlyout:y&&!!g,updateActiveNavFromRouterPath:k}),e]})]})}},59579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={safeCompile:function(){return l},safePathToRegexp:function(){return s},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(62604),o=r(60570);function s(e,t,r){if("string"!=typeof e)return(0,i.pathToRegexp)(e,t,r);let a=(0,o.hasAdjacentParameterIssues)(e),n=a?(0,o.normalizeAdjacentParameters)(e):e;try{return(0,i.pathToRegexp)(n,t,r)}catch(n){if(!a)try{let a=(0,o.normalizeAdjacentParameters)(e);return(0,i.pathToRegexp)(a,t,r)}catch(e){}throw n}}function l(e,t){let r=(0,o.hasAdjacentParameterIssues)(e),a=r?(0,o.normalizeAdjacentParameters)(e):e;try{let e=(0,i.compile)(a,t);if(r)return t=>(0,o.stripNormalizedSeparators)(e(t));return e}catch(a){if(!r)try{let r=(0,o.normalizeAdjacentParameters)(e),a=(0,i.compile)(r,t);return e=>(0,o.stripNormalizedSeparators)(a(e))}catch(e){}throw a}}function u(e,t){let r=(0,i.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,o.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let r=e(t);return!!r&&(0,o.stripParameterSeparators)(r)}}},60570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={PARAM_SEPARATOR:function(){return n},hasAdjacentParameterIssues:function(){return i},normalizeAdjacentParameters:function(){return o},normalizeTokensForRegexp:function(){return s},stripNormalizedSeparators:function(){return l},stripParameterSeparators:function(){return u}};for(var a in r)Object.defineProperty(t,a,{enumerable:!0,get:r[a]});let n="_NEXTSEP_";function i(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function o(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${n}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${n}`)}function s(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function l(e){return e.replace(RegExp(`\\)${n}`,"g"),")")}function u(e){let t={};for(let[r,a]of Object.entries(e))"string"==typeof a?t[r]=a.replace(RegExp(`^${n}`),""):Array.isArray(a)?t[r]=a.map(e=>"string"==typeof e?e.replace(RegExp(`^${n}`),""):e):t[r]=a;return t}},61684:(e,t,r)=>{"use strict";function a(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:a}=r(63897);return a(Array.isArray(t)?t.join("; "):t)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return a}})},62604:e=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var a=e[r];if("*"===a||"+"===a||"?"===a){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===a){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===a){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===a){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===a){for(var n="",i=r+1;i<e.length;){var o=e.charCodeAt(i);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){n+=e[i++];continue}break}if(!n)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:n}),r=i;continue}if("("===a){var s=1,l="",i=r+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '.concat(i));for(;i<e.length;){if("\\"===e[i]){l+=e[i++]+e[i++];continue}
5if(")"===e[i]){if(0==--s){i++;break}}else if("("===e[i]&&(s++,"?"!==e[i+1]))throw TypeError("Capturing groups are not allowed at ".concat(i));l+=e[i++]}if(s)throw TypeError("Unbalanced pattern at ".concat(r));if(!l)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=i;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),a=t.prefixes,i=void 0===a?"./":a,o=t.delimiter,s=void 0===o?"/#?":o,l=[],u=0,c=0,h="",p=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},d=function(e){var t=p(e);if(void 0!==t)return t;var a=r[c],n=a.type,i=a.index;throw TypeError("Unexpected ".concat(n," at ").concat(i,", expected ").concat(e))},f=function(){for(var e,t="";e=p("CHAR")||p("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var r=s[t];if(e.indexOf(r)>-1)return!0}return!1},g=function(e){var t=l[l.length-1],r=e||(t&&"string"==typeof t?t:"");if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||m(r)?"[^".concat(n(s),"]+?"):"(?:(?!".concat(n(r),")[^").concat(n(s),"])+?")};c<r.length;){var _=p("CHAR"),y=p("NAME"),b=p("PATTERN");if(y||b){var v=_||"";-1===i.indexOf(v)&&(h+=v,v=""),h&&(l.push(h),h=""),l.push({name:y||u++,prefix:v,suffix:"",pattern:b||g(v),modifier:p("MODIFIER")||""});continue}var P=_||p("ESCAPED_CHAR");if(P){h+=P;continue}if(h&&(l.push(h),h=""),p("OPEN")){var v=f(),E=p("NAME")||"",R=p("PATTERN")||"",x=f();d("CLOSE"),l.push({name:E||(R?u++:""),pattern:E&&!R?g(v):R,prefix:v,suffix:x,modifier:p("MODIFIER")||""});continue}d("END")}return l}function r(e,t){void 0===t&&(t={});var r=i(t),a=t.encode,n=void 0===a?function(e){return e}:a,o=t.validate,s=void 0===o||o,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",a=0;a<e.length;a++){var i=e[a];if("string"==typeof i){r+=i;continue}var o=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(i.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(i.name,'" to not be empty'))}for(var h=0;h<o.length;h++){var p=n(o[h],i);if(s&&!l[a].test(p))throw TypeError('Expected all "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(p,'"'));r+=i.prefix+p+i.suffix}continue}if("string"==typeof o||"number"==typeof o){var p=n(String(o),i);if(s&&!l[a].test(p))throw TypeError('Expected "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(p,'"'));r+=i.prefix+p+i.suffix;continue}if(!u){var d=c?"an array":"a string";throw TypeError('Expected "'.concat(i.name,'" to be ').concat(d))}}return r}}function a(e,t,r){void 0===r&&(r={});var a=r.decode,n=void 0===a?function(e){return e}:a;return function(r){var a=e.exec(r);if(!a)return!1;for(var i=a[0],o=a.index,s=Object.create(null),l=1;l<a.length;l++)!function(e){if(void 0!==a[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=a[e].split(r.prefix+r.suffix).map(function(e){return n(e,r)}):s[r.name]=n(a[e],r)}}(l);return{path:i,index:o,params:s}}}function n(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function o(e,t,r){void 0===r&&(r={});for(var a=r.strict,o=void 0!==a&&a,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,h=r.delimiter,p=r.endsWith,d="[".concat(n(void 0===p?"":p),"]|$"),f="[".concat(n(void 0===h?"/#?":h),"]"),m=void 0===s||s?"^":"",g=0;g<e.length;g++){var _=e[g];if("string"==typeof _)m+=n(c(_));else{var y=n(c(_.prefix)),b=n(c(_.suffix));if(_.pattern)if(t&&t.push(_),y||b)if("+"===_.modifier||"*"===_.modifier){var v="*"===_.modifier?"?":"";m+="(?:".concat(y,"((?:").concat(_.pattern,")(?:").concat(b).concat(y,"(?:").concat(_.pattern,"))*)").concat(b,")").concat(v)}else m+="(?:".concat(y,"(").concat(_.pattern,")").concat(b,")").concat(_.modifier);else{if("+"===_.modifier||"*"===_.modifier)throw TypeError('Can not repeat "'.concat(_.name,'" without a prefix and suffix'));m+="(".concat(_.pattern,")").concat(_.modifier)}else m+="(?:".concat(y).concat(b,")").concat(_.modifier)}}if(void 0===l||l)o||(m+="".concat(f,"?")),m+=r.endsWith?"(?=".concat(d,")"):"$";else{var P=e[e.length-1],E="string"==typeof P?f.indexOf(P[P.length-1])>-1:void 0===P;o||(m+="(?:".concat(f,"(?=").concat(d,"))?")),E||(m+="(?=".concat(f,"|").concat(d,")"))}return new RegExp(m,i(r))}function s(t,r,a){if(t instanceof RegExp){var n;if(!r)return t;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(t.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(t.source);return t}return Array.isArray(t)?(n=t.map(function(e){return s(e,r,a).source}),new RegExp("(?:".concat(n.join("|"),")"),i(a))):o(e(t,a),r,a)}
5Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0,t.parse=e,t.compile=function(t,a){return r(e(t,a),a)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return a(s(e,r,t),r,t)},t.regexpToFunction=a,t.tokensToRegexp=o,t.pathToRegexp=s})(),e.exports=t})()},63897:e=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t,r,a,n,i={};i.parse=function(e,r){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var n={},i=e.split(a),o=(r||{}).decode||t,s=0;s<i.length;s++){var l=i[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),h=l.substr(++u,l.length).trim();'"'==h[0]&&(h=h.slice(1,-1)),void 0==n[c]&&(n[c]=function(e,t){try{return t(e)}catch(t){return e}}(h,o))}}return n},i.serialize=function(e,t,a){var i=a||{},o=i.encode||r;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!n.test(e))throw TypeError("argument name is invalid");var s=o(t);if(s&&!n.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var u=i.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(i.domain){if(!n.test(i.domain))throw TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!n.test(i.path))throw TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invali
5d");l+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(l+="; HttpOnly"),i.secure&&(l+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l},t=decodeURIComponent,r=encodeURIComponent,a=/; */,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,e.exports=i})()},67967:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(a=>{t.includes(a)||(r[a]=e[a])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},68309:(e,t,r)=>{"use strict";function a(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return a}}),r(43535),("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)},68639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DYNAMIC_FILTER_PLACEHOLDER:function(){return n},hasDynamicFilterCandidate:function(){return i}};for(var a in r)Object.defineProperty(t,a,{enumerable:!0,get:r[a]});let n="[]";function i(e,t,r){let a=e.split("/"),i=t.split("/"),o=a[a.length-1]??"";if(!(o.startsWith("[...")||o.startsWith("[[..."))&&a.length!==i.length)return!1;let s=[];for(let e=1;e<i.length;e++){if(""===i[e])continue;let t=a[e];(void 0===t||t.startsWith("["))&&s.push(e)}if(0===s.length||s.length>8)return!1;let l=(1<<s.length)-1;for(let e=0;e<l;e++){let t=i.slice();for(let r=0;r<s.length;r++)(e&1<<r)==0&&(t[s[r]]=n);if(r(t.join("/")))return!0}return!1}},70939:(e,t)=>{"use strict";let r;function a(e){return(void 0===r&&(r=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),r)?.createScriptURL(e)||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("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)},71123:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let a=r(17373),n=r(58086),i=r(50831),o=r(5442);function s(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,a.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,n.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,n.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,a.removeTrailingSlash)(t)}},80770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={PARAMETER_PATTERN:function(){return h},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return u},parseMatchedParameter:function(){return d},parseParameter:function(){return p}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(65433),o=r(40218),s=r(57082),l=r(15186);function u(e,t,r,a){let n=structuredClone(t),u=[{tree:e,depth:0}],c=(0,s.parseNormalizedAppRoute)(r);for(;u.length>0;){let{tree:e,depth:t}=u.pop(),{segment:r,parallelRoutes:h}=(0,o.parseLoaderTree)(e),p=(0,s.parseAppRouteSegment)(r);if(p?.type==="dynamic"&&!n.hasOwnProperty(p.param.paramName)&&!a?.has(p.param.paramName)){let{paramName:e,paramType:r}=p.param,a=(0,l.resolveParamValue)(e,r,t,c,n);if(void 0!==a)n[e]=a;else if("optional-catchall"!==r)throw Object.defineProperty(new i.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let d=t;for(let e of(p&&"route-group"!==p.type&&"parallel-route"!==p.type&&d++,Object.values(h)))u.pu
5sh({tree:e,depth:d})}return n}function c(e,t,r,a,n){let o=function(e,t,r){let a=e[t];if(r?.has(t)){let[e]=r.get(t);a=e}else Array.isArray(a)?a=a.map(e=>encodeURIComponent(e)):"string"==typeof a&&(a=encodeURIComponent(a));return a}(e,t,a);if(!o||0===o.length){if("oc"===r)return{param:t,value:null,type:r,treeSegment:[t,"",r,n]};throw Object.defineProperty(new i.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${r}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let s=Array.isArray(o)?o.join("/"):o;return{param:t,value:o,treeSegment:[t,s,r,n],type:r}}let h=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function p(e){let t=e.match(h);return t?d(t[2]):d(e)}function d(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},80956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return o},getSortedRoutes:function(){return i}};for(var a in r)Object.defineProperty(t,a,{enumerable:!0,get:r[a]});
5class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),r}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let n=a.slice(1,-1),o=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),o=!0),n.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${n}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${n}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(n.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${n}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function i(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${r}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error(`You cannot have the same slug name "${r}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${r}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(r)if(o){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});i(this.optionalRestSlugName,n),this.optionalRestSlugName=n,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});i(this.restSlugName,n),this.restSlugName=n,a="[...]"}else{if(o)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});i(this.slugName,n),this.slugName=n,a="[]"}}this.children.has(a)||this.children.set(a,new n),this.children.get(a)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function i(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}function o(e,t){let r={},a=[];for(let n=0;n<e.length;n++){let i=t(e[n]);r[i]=n,a[n]=i}return i(a).map(t=>e[r[t]])}},88176:(e,t)=>{"use strict";function r(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}
5Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},93634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let a=r(29746),n=r(2588);function i(e){let t=(0,n.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,a.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},94762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let a=r(67663),n=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,i=/\/\[[^/]+\](?=\/|$)/;function o(e,t=!0){return((0,a.isInterceptionRouteAppPath)(e)&&(e=(0,a.extractInterceptionRouteInformation)(e).interceptedRoute),t)?i.test(e):n.test(e)}},96477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return h}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(31485),o=r(67663),s=r(38921),l=r(17373),u=r(80770);function c(e,t,r){let a={},n=1,i=[];for(let c of(0,l.removeTrailingSlash)(e).slice(1).split("/")){let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),l=c.match(u.PARAMETER_PATTERN);if(e&&l&&l[2]){let{key:t,optional:r,repeat:o}=(0,u.parseMatchedParameter)(l[2]);a[t]={pos:n++,repeat:o,optional:r},i.push(`/${(0,s.escapeStringRegexp)(e)}([^/]+?)`)}else if(l&&l[2]){let{key:e,repeat:t,optional:o}=(0,u.parseMatchedParameter)(l[2]);a[e]={pos:n++,repeat:t,optional:o},r&&l[1]&&i.push(`/${(0,s.escapeStringRegexp)(l[1])}`);let c=t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&l[1]&&(c=c.substring(1)),i.push(c)}else i.push(`/${(0,s.escapeStringRegexp)(c)}`);t&&l&&l[3]&&i.push((0,s.escapeStringRegexp)(l[3]))}return{parameterizedRoute:i.join(""),groups:a}}function h(e,{includeSuffix:t=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:a=!1}={}){let{parameterizedRoute:n,groups:i}=c(e,t,r),o=n;return a||(o+="(?:/)?"),{re:RegExp(`^${o}$`),groups:i}}function p({interceptionMarker:e,getSafeRouteKey:t,segment:r,routeKeys:a,keyPrefix:n,backreferenceDuplicateKeys:i}){let o,{key:l,optional:c,repeat:h}=(0,u.parseMatchedParameter)(r),d=l.replace(/\W/g,"");n&&(d=`${n}${d}`);let f=!1;(0===d.length||d.length>30)&&(f=!0),isNaN(parseInt(d.slice(0,1)))||(f=!0),f&&(d=t());let m=d in a;n?a[d]=`${n}${l}`:a[d]=l;let g=e?(0,s.escapeStringRegexp)(e):"";return o=m&&i?`\\k<${d}>`:h?`(?<${d}>.+?)`:`(?<${d}>[^/]+?)`,{key:l,pattern:c?`(?:/${g}${o})?`:`/${g}${o}`,cleanedKey:d,optional:c,repeat:h}}function d(e,t,r,a,n,c={names:{},intercepted:{}}){let h,f=(h=0,()=>{let e="",t=++h;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),m={},g=[],_=[];for(let h of(c=structuredClone(c),(0,l.removeTrailingSlash)(e).slice(1).split("/"))){let e,l=o.INTERCEPTION_ROUTE_MARKERS.some(e=>h.startsWith(e)),d=h.match(u.PARAMETER_PATTERN),y=l?d?.[1]:void 0;if(y&&d?.[2]?(e=t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[d[2]]=y):e=d?.[2]&&c.intercepted[d[2]]?t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?i.NEXT_QUERY_PARAM_PREFIX:void 0,y&&d&&d[2]){let{key:t,pattern:r,cleanedKey:a,repeat:i,optional:o}=p({getSafeRouteKey:f,interceptionMarker:y,segment:d[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:n});g.push(r),_.push(`/${d[1]}:${c.names[t]??a}${i?o?"*":"+":""}`),c.names[t]??=a}else if(d&&d[2]){a&&d[1]&&(g.push(`/${(0,s.escapeStringRegexp)(d[1])}`),_.push(`/${d[1]}`));let{key:t,pattern:r,cleanedKey:i,repeat:o,optional:l}=p({getSafeRouteKey:f,segment:d[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:n}),u=r;a&&d[1]&&(u=u.substring(1)),g.push(u),_.push(`/:${c.names[t]??i}${o?l?"*":"+":""}`),c.names[t]??=i}else g.push(`/${(0,s.escapeStringRegexp)(h)}`),_.push(`/${h}`);r&&d&&d[3]&&(g.push((0,s.escapeStringRegexp)(d[3])),_.push(d[3]))}return{namedParameterizedRoute:g.join(""),routeKeys:m,pathToRegexpPattern:_.join(""),reference:c}}
5function f(e,t){let r=d(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),a=r.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(a+="(?:/)?"),{...h(e,t),namedRegex:`^${a}$`,routeKeys:r.routeKeys,pathToRegexpPattern:r.pathToRegexpPattern,reference:r.reference}}function m(e,t){let{parameterizedRoute:r}=c(e,!1,!1),{catchAll:a=!0}=t;if("/"===r)return{namedRegex:`^/${a?".*":""}$`};let{namedParameterizedRoute:n}=d(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${n}${a?"(?:(/.*)?)":""}$`}}},97785:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let a=r.length;a--;){let n=r[a];if("query"===n){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let a=r.length;a--;){let n=r[a];if(!t.query.hasOwnProperty(n)||e.query[n]!==t.query[n])return!1}}else if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})}}]); 6//# sourceMappingURL=8318.c64733625137f755.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.