diff --git a/404.html b/404.html index 4754e3b..77787ae 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found.Amine's Cheat Sheet

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/8PMJXEbgunJXtIe7Bx6MA/_buildManifest.js b/_next/static/8PMJXEbgunJXtIe7Bx6MA/_buildManifest.js deleted file mode 100644 index 14d011d..0000000 --- a/_next/static/8PMJXEbgunJXtIe7Bx6MA/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:3,errorRate:1e-4,numBits:58,numHashes:14,bitArray:[1,1,0,1,0,e,e,0,e,e,r,e,e,e,r,e,r,r,e,r,r,r,e,r,r,r,r,r,e,r,e,e,e,e,r,e,e,r,e,e,e,r,e,r,e,r,r,e,e,e,r,r,e,e,e,r,e,e]},__routerFilterDynamic:{numItems:r,errorRate:1e-4,numBits:r,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-1be831200e60c5c0.js"],sortedPages:["/_app","/_error"]}}(1,0,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/215-4f7f40beaabbb4e1.js b/_next/static/chunks/215-4f7f40beaabbb4e1.js deleted file mode 100644 index a358b52..0000000 --- a/_next/static/chunks/215-4f7f40beaabbb4e1.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[215],{3414:(e,t)=>{"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},7108:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},357:(e,t,r)=>{"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(8081)},4897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(2707),o=r(8157);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(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)},5684:(e,t)=>{"use strict";function r(e){var t,r;t=self.__next_s,r=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[r,n]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(n)for(let e in n)"children"!==e&&o.setAttribute(e,n[e]);r?(o.src=r,o.onload=()=>e(),o.onerror=t):n&&(o.innerHTML=n.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return r}}),window.next={version:"15.0.1",appDir:!0},("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)},4590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{callServer:function(){return l},useServerActionDispatcher:function(){return u}});let n=r(2265),o=r(1507),a=null;function u(e){a=(0,n.useCallback)(t=>{(0,n.startTransition)(()=>{e({...t,type:o.ACTION_SERVER_ACTION})})},[e])}async function l(e,t){let r=a;if(!r)throw Error("Invariant: missing action dispatcher.");return new Promise((n,o)=>{r({actionId:e,actionArgs:t,resolve:n,reject:o})})}("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)},6705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findSourceMapURL",{enumerable:!0,get:function(){return r}});let r=void 0;("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)},353:(e,t,r)=>{"use strict";let n,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let a=r(9920),u=r(1452),l=r(7437);r(7108),r(174),r(8025);let i=a._(r(4040)),s=u._(r(2265)),c=r(6671),f=r(6590),d=r(6124),p=r(4590),h=r(6705),y=r(1427),g=a._(r(5751)),b=r(322);r(4467);let _=document,m=new TextEncoder,v=!1,P=!1,O=null;function E(e){if(0===e[0])n=[];else if(1===e[0]){if(!n)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(m.encode(e[1])):n.push(e[1])}else if(2===e[0])O=e[1];else if(3===e[0]){if(!n)throw Error("Unexpected server data: missing bootstrap script.");let r=atob(e[1]),a=new Uint8Array(r.length);for(var t=0;t{t.enqueue("string"==typeof e?m.encode(e):e)}),v&&!P)&&(null===t.desiredSize||t.desiredSize<0?t.error(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection.")):t.close(),P=!0,n=void 0),o=t}}),w=(0,c.createFromReadableStream)(j,{callServer:p.callServer,findSourceMapURL:h.findSourceMapURL}),T=new Promise((e,t)=>{w.then(t=>{e((0,y.createMutableActionQueue)((0,b.createInitialRouterState)({buildId:t.b,initialFlightData:t.f,initialCanonicalUrlParts:t.c,initialParallelRoutes:new Map,location:window.location,couldBeIntercepted:t.i,postponed:t.s,prerendered:t.S})))},e=>t(e))});function M(){let e=(0,s.use)(w),t=(0,s.use)(T);return(0,l.jsx)(g.default,{actionQueue:t,globalErrorComponent:e.G,assetPrefix:e.p})}let x=s.default.StrictMode;function A(e){let{children:t}=e;return t}function C(){let e=(0,l.jsx)(x,{children:(0,l.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,l.jsx)(A,{children:(0,l.jsx)(M,{})})})}),t=window.__next_root_layout_missing_tags,r=!!(null==t?void 0:t.length),n={onRecoverableError:d.onRecoverableError};"__next_error__"===document.documentElement.id||r?i.default.createRoot(_,n).render(e):s.default.startTransition(()=>i.default.hydrateRoot(_,e,{...n,formState:O}))}("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)},1028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5820),(0,r(5684).appBootstrap)(()=>{let{hydrate:e}=r(353);r(5751),r(9275),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)},5820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(3414);let n=r(5759);{let e=r.u;r.u=function(){for(var t=arguments.length,r=Array(t),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppRouterAnnouncer",{enumerable:!0,get:function(){return u}});let n=r(2265),o=r(4887),a="next-route-announcer";function u(e){let{tree:t}=e,[r,u]=(0,n.useState)(null);(0,n.useEffect)(()=>(u(function(){var e;let t=document.getElementsByName(a)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(a);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(a)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[l,i]=(0,n.useState)(""),s=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==s.current&&s.current!==e&&i(e),s.current=e},[t]),r?(0,o.createPortal)(l,r):null}("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)},7325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_HEADER:function(){return n},FLIGHT_HEADERS:function(){return c},NEXT_DID_POSTPONE_HEADER:function(){return p},NEXT_HMR_REFRESH_HEADER:function(){return l},NEXT_IS_PRERENDER_HEADER:function(){return h},NEXT_ROUTER_PREFETCH_HEADER:function(){return a},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return u},NEXT_ROUTER_STALE_TIME_HEADER:function(){return d},NEXT_ROUTER_STATE_TREE_HEADER:function(){return o},NEXT_RSC_UNION_QUERY:function(){return f},NEXT_URL:function(){return i},RSC_CONTENT_TYPE_HEADER:function(){return s},RSC_HEADER:function(){return r}});let r="RSC",n="Next-Action",o="Next-Router-State-Tree",a="Next-Router-Prefetch",u="Next-Router-Segment-Prefetch",l="Next-HMR-Refresh",i="Next-Url",s="text/x-component",c=[r,o,a,l,u],f="_rsc",d="x-nextjs-stale-time",p="x-nextjs-postponed",h="x-nextjs-prerender";("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)},5751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createEmptyCacheNode:function(){return w},default:function(){return A}});let n=r(1452),o=r(7437),a=n._(r(2265)),u=r(4467),l=r(1507),i=r(3174),s=r(8056),c=r(7903),f=r(6130),d=r(4092),p=r(4897),h=r(1012),y=r(6585),g=r(315),b=r(1108),_=r(7599),m=r(9404),v=r(6626),P=r(8694),O=r(4590),E=r(7909),S={};function R(e){return e.origin!==window.location.origin}function j(e){let{appRouterState:t}=e;return(0,a.useInsertionEffect)(()=>{let{tree:e,pushRef:r,canonicalUrl:n}=t,o={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};r.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==n?(r.pendingPush=!1,window.history.pushState(o,"",n)):window.history.replaceState(o,"",n)},[t]),null}function w(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null}}function T(e){null==e&&(e={});let t=window.history.state,r=null==t?void 0:t.__NA;r&&(e.__NA=r);let n=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function M(e){let{headCacheNode:t}=e,r=null!==t?t.head:null,n=null!==t?t.prefetchHead:null,o=null!==n?n:r;return(0,a.useDeferredValue)(r,o)}function x(e){let t,{actionQueue:r,assetPrefix:n}=e,[i,f]=(0,c.useReducer)(r),{canonicalUrl:P}=(0,c.useUnwrapState)(i),{searchParams:w,pathname:x}=(0,a.useMemo)(()=>{let e=new URL(P,"undefined"==typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,m.hasBasePath)(e.pathname)?(0,_.removeBasePath)(e.pathname):e.pathname}},[P]),A=(0,a.useCallback)(e=>{let{previousTree:t,serverResponse:r}=e;(0,a.startTransition)(()=>{f({type:l.ACTION_SERVER_PATCH,previousTree:t,serverResponse:r})})},[f]),C=(0,a.useCallback)((e,t,r)=>{let n=new URL((0,p.addBasePath)(e),location.href);return f({type:l.ACTION_NAVIGATE,url:n,isExternalUrl:R(n),locationSearch:location.search,shouldScroll:null==r||r,navigateType:t,allowAliasing:!0})},[f]);(0,O.useServerActionDispatcher)(f);let D=(0,a.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let r;if(!(0,d.isBot)(window.navigator.userAgent)){try{r=new URL((0,p.addBasePath)(e),window.location.href)}catch(t){throw Error("Cannot prefetch '"+e+"' because it cannot be converted to a URL.")}R(r)||(0,a.startTransition)(()=>{var e;f({type:l.ACTION_PREFETCH,url:r,kind:null!=(e=null==t?void 0:t.kind)?e:l.PrefetchKind.FULL})})}},replace:(e,t)=>{void 0===t&&(t={}),(0,a.startTransition)(()=>{var r;C(e,"replace",null==(r=t.scroll)||r)})},push:(e,t)=>{void 0===t&&(t={}),(0,a.startTransition)(()=>{var r;C(e,"push",null==(r=t.scroll)||r)})},refresh:()=>{(0,a.startTransition)(()=>{f({type:l.ACTION_REFRESH,origin:window.location.origin})})},hmrRefresh:()=>{throw Error("hmrRefresh can only be used in development mode. Please use refresh instead.")}}),[f,C]);(0,a.useEffect)(()=>{window.next&&(window.next.router=D)},[D]),(0,a.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(S.pendingMpaPath=void 0,f({type:l.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[f]),(0,a.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,E.isRedirectError)(t)){e.preventDefault();let r=(0,E.getURLFromRedirectError)(t);(0,E.getRedirectTypeFromError)(t)===E.RedirectType.push?D.push(r,{}):D.replace(r,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[D]);let{pushRef:k}=(0,c.useUnwrapState)(i);if(k.mpaNavigation){if(S.pendingMpaPath!==P){let e=window.location;k.pendingPush?e.assign(P):e.replace(P),S.pendingMpaPath=P}(0,a.use)(b.unresolvedThenable)}(0,a.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{var t;let r=window.location.href,n=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,a.startTransition)(()=>{f({type:l.ACTION_RESTORE,url:new URL(null!=e?e:r,r),tree:n})})};window.history.pushState=function(t,n,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=T(t),o&&r(o)),e(t,n,o)},window.history.replaceState=function(e,n,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=T(e),o&&r(o)),t(e,n,o)};let n=e=>{if(e.state){if(!e.state.__NA){window.location.reload();return}(0,a.startTransition)(()=>{f({type:l.ACTION_RESTORE,url:new URL(window.location.href),tree:e.state.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[f]);let{cache:U,tree:I,nextUrl:L,focusAndScrollRef:F,buildId:H}=(0,c.useUnwrapState)(i),$=(0,a.useMemo)(()=>(0,g.findHeadInCache)(U,I[1]),[U,I]),B=(0,a.useMemo)(()=>(0,v.getSelectedParams)(I),[I]),W=(0,a.useMemo)(()=>({childNodes:U.parallelRoutes,tree:I,url:P,loading:U.loading}),[U.parallelRoutes,I,P,U.loading]),G=(0,a.useMemo)(()=>({buildId:H,changeByServerResponse:A,tree:I,focusAndScrollRef:F,nextUrl:L}),[H,A,I,F,L]);if(null!==$){let[e,r]=$;t=(0,o.jsx)(M,{headCacheNode:e},r)}else t=null;let K=(0,o.jsxs)(y.RedirectBoundary,{children:[t,U.rsc,(0,o.jsx)(h.AppRouterAnnouncer,{tree:I})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(j,{appRouterState:(0,c.useUnwrapState)(i)}),(0,o.jsx)(N,{}),(0,o.jsx)(s.PathParamsContext.Provider,{value:B,children:(0,o.jsx)(s.PathnameContext.Provider,{value:x,children:(0,o.jsx)(s.SearchParamsContext.Provider,{value:w,children:(0,o.jsx)(u.GlobalLayoutRouterContext.Provider,{value:G,children:(0,o.jsx)(u.AppRouterContext.Provider,{value:D,children:(0,o.jsx)(u.LayoutRouterContext.Provider,{value:W,children:K})})})})})})]})}function A(e){let{actionQueue:t,globalErrorComponent:r,assetPrefix:n}=e;return(0,P.useNavFailureHandler)(),(0,o.jsx)(f.ErrorBoundary,{errorComponent:r,children:(0,o.jsx)(x,{actionQueue:t,assetPrefix:n})})}let C=new Set,D=new Set;function N(){let[,e]=a.default.useState(0),t=C.size;return(0,a.useEffect)(()=>{let r=()=>e(e=>e+1);return D.add(r),t!==C.size&&r(),()=>{D.delete(r)}},[t,e]),[...C].map((e,t)=>(0,o.jsx)("link",{rel:"stylesheet",href:""+e,precedence:"next"},t))}globalThis._N_E_STYLE_LOAD=function(e){let t=C.size;return C.add(e),C.size!==t&&D.forEach(e=>e()),Promise.resolve()},("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)},4804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bailoutToClientRendering",{enumerable:!0,get:function(){return a}});let n=r(5592),o=r(8011);function a(e){let t=o.workAsyncStorage.getStore();if((null==t||!t.forceStatic)&&(null==t?void 0:t.isStaticGeneration))throw new n.BailoutToCSRError(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)},6513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return a}});let n=r(7437),o=r(8889);function a(e){let{Component:t,searchParams:a,params:u,promises:l}=e;if("undefined"==typeof window){let e,l;let{workAsyncStorage:i}=r(8011),s=i.getStore();if(!s)throw new o.InvariantError("Expected workStore to exist when handling searchParams in a client Page.");let{createSearchParamsFromClient:c}=r(8919);e=c(a,s);let{createParamsFromClient:f}=r(4556);return l=f(u,s),(0,n.jsx)(t,{params:l,searchParams:e})}{let{createRenderSearchParamsFromClient:e}=r(4073),o=e(a),{createRenderParamsFromClient:l}=r(9214),i=l(u);return(0,n.jsx)(t,{params:i,searchParams:o})}}("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)},3726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientSegmentRoot",{enumerable:!0,get:function(){return a}});let n=r(7437),o=r(8889);function a(e){let{Component:t,slots:a,params:u,promise:l}=e;if("undefined"==typeof window){let e;let{workAsyncStorage:l}=r(8011),i=l.getStore();if(!i)throw new o.InvariantError("Expected workStore to exist when handling params in a client segment such as a Layout or Template.");let{createParamsFromClient:s}=r(4556);return e=s(u,i),(0,n.jsx)(t,{...a,params:e})}{let{createRenderParamsFromClient:e}=r(9214),o=e(u);return(0,n.jsx)(t,{...a,params:o})}}("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)},6130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return f},GlobalError:function(){return d},default:function(){return p}});let n=r(9920),o=r(7437),a=n._(r(2265)),u=r(1370),l=r(2128);r(8694);let i=r(8011),s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function c(e){let{error:t}=e,r=i.workAsyncStorage.getStore();if((null==r?void 0:r.isRevalidate)||(null==r?void 0:r.isStaticGeneration))throw console.error(t),t;return null}class f extends a.default.Component{static getDerivedStateFromError(e){if((0,l.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function d(e){let{error:t}=e,r=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(c,{error:t}),(0,o.jsx)("div",{style:s.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:s.text,children:"Application error: a "+(r?"server":"client")+"-side exception has occurred (see the "+(r?"server logs":"browser console")+" for more information)."}),r?(0,o.jsx)("p",{style:s.text,children:"Digest: "+r}):null]})})]})]})}let p=d;function h(e){let{errorComponent:t,errorStyles:r,errorScripts:n,children:a}=e,l=(0,u.useUntrackedPathname)();return t?(0,o.jsx)(f,{pathname:l,errorComponent:t,errorStyles:r,errorScripts:n,children:a}):(0,o.jsx)(o.Fragment,{children: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)},8025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,r(215).handleGlobalErrors)(),("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)},6780:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"patchConsoleError",{enumerable:!0,get:function(){return a}}),r(5878);let n=r(2128);r(215);let o=window.console.error;function a(){"undefined"!=typeof window&&(window.console.error=function(){let e;for(var t=arguments.length,r=Array(t),a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,r(6780).patchConsoleError)(),("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)},7910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return o}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("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)},2894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getDefaultHydrationErrorMessage:function(){return i},getHydrationErrorStackInfo:function(){return f},isHydrationError:function(){return s},isReactHydrationErrorMessage:function(){return c}});let n=r(9920)._(r(5878)),o=/hydration failed|while hydrating|content does not match|did not match|HTML didn't match/i,a="Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used",u=[a,"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:"],l="https://react.dev/link/hydration-mismatch",i=()=>a;function s(e){return(0,n.default)(e)&&o.test(e.message)}function c(e){return u.some(t=>e.startsWith(t))}function f(e){if(!c(e=e.replace(/^Error: /,"")))return{message:null};let t=e.indexOf("\n"),[r,n]=(e=e.slice(t+1).trim()).split(""+l),o=r.trim();if(!n||!(n.length>1))return{message:o,link:l,stack:n};{let e=[],t=[];return n.split("\n").forEach(r=>{""!==r.trim()&&(r.trim().startsWith("at ")?e.push(r):t.push(r))}),{message:o,link:l,diff:t.join("\n"),stack:e.join("\n")}}}("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)},2128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return a}});let n=r(2496),o=r(7909);function a(e){return(0,o.isRedirectError)(e)||(0,n.isNotFoundError)(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)},9275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return j}});let n=r(9920),o=r(1452),a=r(7437),u=o._(r(2265)),l=n._(r(4887)),i=r(4467),s=r(1283),c=r(1108),f=r(6130),d=r(6237),p=r(6180),h=r(6585),y=r(5324),g=r(4640),b=r(1784),_=r(5914),m=l.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,v=["bottom","height","left","right","top","width","x","y"];function P(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class O extends u.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,d.matchSegment)(t,e[r]))))return;let r=null,n=e.hashFragment;if(n&&(r=function(e){var t;return"top"===e?document.body:null!=(t=document.getElementById(e))?t:document.getElementsByName(e)[0]}(n)),!r&&(r="undefined"==typeof window?null:(0,m.findDOMNode)(this)),!(r instanceof Element))return;for(;!(r instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return v.every(e=>0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(n){r.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!P(r,t)&&(e.scrollTop=0,P(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function E(e){let{segmentPath:t,children:r}=e,n=(0,u.useContext)(i.GlobalLayoutRouterContext);if(!n)throw Error("invariant global layout router not mounted");return(0,a.jsx)(O,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef,children:r})}function S(e){let{parallelRouterKey:t,url:r,childNodes:n,segmentPath:o,tree:l,cacheKey:f}=e,p=(0,u.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:g}=p,b=n.get(f);if(void 0===b){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null};b=e,n.set(f,e)}let m=null!==b.prefetchRsc?b.prefetchRsc:b.rsc,v=(0,u.useDeferredValue)(b.rsc,m),P="object"==typeof v&&null!==v&&"function"==typeof v.then?(0,u.use)(v):v;if(!P){let e=b.lazyData;if(null===e){let t=function e(t,r){if(t){let[n,o]=t,a=2===t.length;if((0,d.matchSegment)(r[0],n)&&r[1].hasOwnProperty(o)){if(a){let t=e(void 0,r[1][o]);return[r[0],{...r[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[o]:e(t.slice(2),r[1][o])}]}}return r}(["",...o],g),n=(0,_.hasInterceptionRouteInCurrentTree)(g);b.lazyData=e=(0,s.fetchServerResponse)(new URL(r,location.origin),{flightRouterState:t,nextUrl:n?p.nextUrl:null,buildId:h}).then(e=>((0,u.startTransition)(()=>{y({previousTree:g,serverResponse:e})}),e))}(0,u.use)(c.unresolvedThenable)}return(0,a.jsx)(i.LayoutRouterContext.Provider,{value:{tree:l[1][t],childNodes:b.parallelRoutes,url:r,loading:b.loading},children:P})}function R(e){let{children:t,hasLoading:r,loading:n,loadingStyles:o,loadingScripts:l}=e;return r?(0,a.jsx)(u.Suspense,{fallback:(0,a.jsxs)(a.Fragment,{children:[o,l,n]}),children:t}):(0,a.jsx)(a.Fragment,{children:t})}function j(e){let{parallelRouterKey:t,segmentPath:r,error:n,errorStyles:o,errorScripts:l,templateStyles:s,templateScripts:c,template:d,notFound:p,notFoundStyles:_}=e,m=(0,u.useContext)(i.LayoutRouterContext);if(!m)throw Error("invariant expected layout router to be mounted");let{childNodes:v,tree:P,url:O,loading:j}=m,w=v.get(t);w||(w=new Map,v.set(t,w));let T=P[1][t][0],M=(0,g.getSegmentValue)(T),x=[T];return(0,a.jsx)(a.Fragment,{children:x.map(e=>{let u=(0,g.getSegmentValue)(e),m=(0,b.createRouterCacheKey)(e);return(0,a.jsxs)(i.TemplateContext.Provider,{value:(0,a.jsx)(E,{segmentPath:r,children:(0,a.jsx)(f.ErrorBoundary,{errorComponent:n,errorStyles:o,errorScripts:l,children:(0,a.jsx)(R,{hasLoading:!!j,loading:null==j?void 0:j[0],loadingStyles:null==j?void 0:j[1],loadingScripts:null==j?void 0:j[2],children:(0,a.jsx)(y.NotFoundBoundary,{notFound:p,notFoundStyles:_,children:(0,a.jsx)(h.RedirectBoundary,{children:(0,a.jsx)(S,{parallelRouterKey:t,url:O,tree:P,childNodes:w,segmentPath:r,cacheKey:m,isActive:M===u})})})})})}),children:[s,c,d]},(0,b.createRouterCacheKey)(e,!0))})})}("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)},6237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{canSegmentBeOverridden:function(){return a},matchSegment:function(){return o}});let n=r(4286),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],a=(e,t)=>{var r;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(r=(0,n.getSegmentParam)(e))?void 0:r.param)===t[0]};("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)},8694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleHardNavError:function(){return o},useNavFailureHandler:function(){return a}}),r(2265);let n=r(3174);function o(e){return!!e&&"undefined"!=typeof window&&!!window.next.__pendingUrl&&(0,n.createHrefFromUrl)(new URL(window.location.href))!==(0,n.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function 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)},1370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useUntrackedPathname",{enumerable:!0,get:function(){return a}});let n=r(2265),o=r(8056);function a(){return!function(){if("undefined"==typeof window){let{workAsyncStorage:e}=r(8011),t=e.getStore();if(!t)return!1;let{fallbackRouteParams:n}=t;return!!n&&0!==n.size}return!1}()?(0,n.useContext)(o.PathnameContext):null}("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)},1169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},unstable_rethrow:function(){return i.unstable_rethrow},useParams:function(){return h},usePathname:function(){return d},useRouter:function(){return p},useSearchParams:function(){return f},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return y},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(2265),o=r(4467),a=r(8056),u=r(4640),l=r(0),i=r(2152),s=r(2441),c=r(8005);function f(){let e=(0,n.useContext)(a.SearchParamsContext),t=(0,n.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e]);if("undefined"==typeof window){let{bailoutToClientRendering:e}=r(4804);e("useSearchParams()")}return t}function d(){return(0,s.useDynamicRouteParams)("usePathname()"),(0,n.useContext)(a.PathnameContext)}function p(){let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function h(){return(0,s.useDynamicRouteParams)("useParams()"),(0,n.useContext)(a.PathParamsContext)}function y(e){void 0===e&&(e="children"),(0,s.useDynamicRouteParams)("useSelectedLayoutSegments()");let t=(0,n.useContext)(o.LayoutRouterContext);return t?function e(t,r,n,o){let a;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)a=t[1][r];else{var i;let e=t[1];a=null!=(i=e.children)?i:Object.values(e)[0]}if(!a)return o;let s=a[0],c=(0,u.getSegmentValue)(s);return!c||c.startsWith(l.PAGE_SEGMENT_KEY)?o:(o.push(c),e(a,r,!1,o))}(t.tree,e):null}function g(e){void 0===e&&(e="children"),(0,s.useDynamicRouteParams)("useSelectedLayoutSegment()");let t=y(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===l.DEFAULT_SEGMENT_KEY?null:r}("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)},2152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l},RedirectType:function(){return n.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unstable_rethrow:function(){return a.unstable_rethrow}});let n=r(7909),o=r(2496),a=r(997);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class l extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}("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)},5324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return c}});let n=r(1452),o=r(7437),a=n._(r(2265)),u=r(1370),l=r(2496);r(2301);let i=r(4467);class s extends a.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,l.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function c(e){let{notFound:t,notFoundStyles:r,asNotFound:n,children:l}=e,c=(0,u.useUntrackedPathname)(),f=(0,a.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(s,{pathname:c,notFound:t,notFoundStyles:r,asNotFound:n,missingSlots:f,children:l}):(0,o.jsx)(o.Fragment,{children:l})}("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)},2496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return o},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("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)},3858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return s}});let n=r(3449),o=r(7614);var a=o._("_maxConcurrency"),u=o._("_runningCount"),l=o._("_queue"),i=o._("_processNext");class s{enqueue(e){let t,r;let o=new Promise((e,n)=>{t=e,r=n}),a=async()=>{try{n._(this,u)[u]++;let r=await e();t(r)}catch(e){r(e)}finally{n._(this,u)[u]--,n._(this,i)[i]()}};return n._(this,l)[l].push({promiseFn:o,task:a}),n._(this,i)[i](),o}bump(e){let t=n._(this,l)[l].findIndex(t=>t.promiseFn===e);if(t>-1){let e=n._(this,l)[l].splice(t,1)[0];n._(this,l)[l].unshift(e),n._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:c}),Object.defineProperty(this,a,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),n._(this,a)[a]=e,n._(this,u)[u]=0,n._(this,l)[l]=[]}}function c(e){if(void 0===e&&(e=!1),(n._(this,u)[u]0){var t;null==(t=n._(this,l)[l].shift())||t.task()}}("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)},7874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"attachHydrationErrorState",{enumerable:!0,get:function(){return a}});let n=r(2894),o=r(8729);function a(e){if((0,n.isHydrationError)(e)&&!e.message.includes("https://nextjs.org/docs/messages/react-hydration-error")){let t=(0,o.getReactHydrationDiffSegments)(e.message),r={};t?r={...e.details,...o.hydrationErrorState,warning:o.hydrationErrorState.warning||[(0,n.getDefaultHydrationErrorMessage)()],notes:t[0],reactOutputComponentDiff:t[1]}:o.hydrationErrorState.warning&&(r={...e.details,...o.hydrationErrorState}),e.details=r}}("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)},404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConsoleError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e){super(e),this.name="ConsoleError"}}("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)},2072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"enqueueConsecutiveDedupedError",{enumerable:!0,get:function(){return o}});let n=r(2894);function o(e,t){let r=(0,n.isHydrationError)(t),o=r?e[0]:e[e.length-1];o&&o.message===t.message||(r?e.unshift(t):e.push(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)},8729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getHydrationWarningType:function(){return l},getReactHydrationDiffSegments:function(){return d},hydrationErrorState:function(){return o},storeHydrationErrorStateFromConsoleArgs:function(){return p}});let n=r(2894),o={},a=new Set(["Warning: In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s","Warning: In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s","Warning: In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.","Warning: In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.","Warning: Expected server HTML to contain a matching <%s> in <%s>.%s","Warning: Did not expect server HTML to contain a <%s> in <%s>.%s"]),u=new Set(['Warning: Expected server HTML to contain a matching text node for "%s" in <%s>.%s','Warning: Did not expect server HTML to contain the text node "%s" in <%s>.%s']),l=e=>{if("string"!=typeof e)return"text";let t=e.startsWith("Warning: ")?e:"Warning: "+e;return i(t)?"tag":c(t)?"text-in-tag":"text"},i=e=>a.has(e),s=e=>'Warning: Text content did not match. Server: "%s" Client: "%s"%s'===e,c=e=>u.has(e),f=e=>{if("string"!=typeof e)return!1;let t=e.startsWith("Warning: ")?e:"Warning: "+e;return i(t)||c(t)||s(t)},d=e=>{if(e){let{message:t,diff:r}=(0,n.getHydrationErrorStackInfo)(e);if(t)return[t,r]}};function p(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleClientError:function(){return g},handleGlobalErrors:function(){return _},useErrorHandler:function(){return b}});let n=r(9920),o=r(2265),a=r(7874),u=r(2128),l=r(8729),i=r(8956),s=n._(r(5878)),c=r(404),f=r(2072),d=[],p=[],h=[],y=[];function g(e,t){let r;if(e&&(0,s.default)(e))r=e;else{let e=(0,i.formatConsoleArgs)(t);r=new c.ConsoleError(e)}for(let e of((0,l.storeHydrationErrorStateFromConsoleArgs)(...t),(0,a.attachHydrationErrorState)(r),(0,f.enqueueConsecutiveDedupedError)(d,r),p))e(r)}function b(e,t){(0,o.useEffect)(()=>(d.forEach(e),h.forEach(t),p.push(e),y.push(t),()=>{p.splice(p.indexOf(e),1),y.splice(y.indexOf(t),1)}),[e,t])}function _(){if("undefined"!=typeof window){try{Error.stackTraceLimit=50}catch(e){}window.addEventListener("error",e=>{if((0,u.isNextRouterError)(e.error))return e.preventDefault(),!1;g(e.error,[])}),window.addEventListener("unhandledrejection",e=>{let t=null==e?void 0:e.reason;if((0,u.isNextRouterError)(t)){e.preventDefault();return}if(t&&t instanceof Error&&"string"==typeof t.stack)for(let e of(h.push(t),y))e(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)},6585:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectBoundary:function(){return c},RedirectErrorBoundary:function(){return s}});let n=r(1452),o=r(7437),a=n._(r(2265)),u=r(1169),l=r(7909);function i(e){let{redirect:t,reset:r,redirectType:n}=e,o=(0,u.useRouter)();return(0,a.useEffect)(()=>{a.default.startTransition(()=>{n===l.RedirectType.push?o.push(t,{}):o.replace(t,{}),r()})},[t,n,r,o]),null}class s extends a.default.Component{static getDerivedStateFromError(e){if((0,l.isRedirectError)(e))return{redirect:(0,l.getURLFromRedirectError)(e),redirectType:(0,l.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function c(e){let{children:t}=e,r=(0,u.useRouter)();return(0,o.jsx)(s,{router:r,children: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)},4785:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),function(e){e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect"}(r||(r={})),("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)},7909:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},isRedirectError:function(){return c},permanentRedirect:function(){return s},redirect:function(){return i}});let o=r(5502),a=r(4785),u="NEXT_REDIRECT";function l(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let n=Error(u);return n.digest=u+";"+t+";"+e+";"+r+";",n}function i(e,t){let r=o.actionAsyncStorage.getStore();throw l(e,t||((null==r?void 0:r.isAction)?"push":"replace"),a.RedirectStatusCode.TemporaryRedirect)}function s(e,t){throw void 0===t&&(t="replace"),l(e,t,a.RedirectStatusCode.PermanentRedirect)}function c(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,o=t.slice(2,-2).join(";"),l=Number(t.at(-2));return r===u&&("replace"===n||"push"===n)&&"string"==typeof o&&!isNaN(l)&&l in a.RedirectStatusCode}function f(e){return c(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!c(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function p(e){if(!c(e))throw Error("Not a redirect error");return Number(e.digest.split(";").at(-2))}!function(e){e.push="push",e.replace="replace"}(n||(n={})),("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)},1343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(1452),o=r(7437),a=n._(r(2265)),u=r(4467);function l(){let e=(0,a.useContext)(u.TemplateContext);return(0,o.jsx)(o.Fragment,{children: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)},9596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addSearchParamsToPageSegments:function(){return f},handleAliasedPrefetchEntry:function(){return c}});let n=r(0),o=r(5751),a=r(9684),u=r(3174),l=r(1784),i=r(1133),s=r(6416);function c(e,t,r,c){let d,p=e.tree,h=e.cache,y=(0,u.createHrefFromUrl)(r);for(let e of t){if(!function e(t){if(!t)return!1;let r=t[2];if(t[3])return!0;for(let t in r)if(e(r[t]))return!0;return!1}(e.seedData))continue;let t=e.tree;t=f(t,Object.fromEntries(r.searchParams));let{seedData:u,isRootRender:s,pathToSegment:c}=e,g=["",...c];t=f(t,Object.fromEntries(r.searchParams));let b=(0,a.applyRouterStatePatchToTree)(g,p,t,y),_=(0,o.createEmptyCacheNode)();if(s&&u){let e=u[1],r=u[3];_.loading=r,_.rsc=e,function e(t,r,o,a){if(0!==Object.keys(o[1]).length)for(let u in o[1]){let i;let s=o[1][u],c=s[0],f=(0,l.createRouterCacheKey)(c),d=null!==a&&void 0!==a[2][u]?a[2][u]:null;if(null!==d){let e=d[1],t=d[3];i={lazyData:null,rsc:c.includes(n.PAGE_SEGMENT_KEY)?null:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:t}}else i={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null};let p=t.parallelRoutes.get(u);p?p.set(f,i):t.parallelRoutes.set(u,new Map([[f,i]])),e(i,r,s,d)}}(_,h,t,u)}else _.rsc=h.rsc,_.prefetchRsc=h.prefetchRsc,_.loading=h.loading,_.parallelRoutes=new Map(h.parallelRoutes),(0,i.fillCacheWithNewSubTreeDataButOnlyLoading)(_,h,e);b&&(p=b,h=_,d=!0)}return!!d&&(c.patchedTree=p,c.cache=h,c.canonicalUrl=y,c.hashFragment=r.hash,(0,s.handleMutable)(e,c))}function f(e,t){let[r,o,...a]=e;if(r.includes(n.PAGE_SEGMENT_KEY))return[(0,n.addSearchParamsIfPageSegment)(r,t),o,...a];let u={};for(let[e,r]of Object.entries(o))u[e]=f(r,t);return[r,u,...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)},9607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return a}});let n=r(3821),o=r(1133);function a(e,t,r,a){let{tree:u,seedData:l,head:i,isRootRender:s}=r;if(null===l)return!1;if(s){let r=l[1],o=l[3];t.loading=o,t.rsc=r,t.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(t,e,u,l,i,a)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,o.fillCacheWithNewSubTreeData)(t,e,r,a);return!0}("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)},9684:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,r,n,i){let s;let[c,f,d,p,h]=r;if(1===t.length){let e=l(r,n);return(0,u.addRefreshMarkerToActiveParallelSegments)(e,i),e}let[y,g]=t;if(!(0,a.matchSegment)(y,c))return null;if(2===t.length)s=l(f[g],n);else if(null===(s=e((0,o.getNextFlightSegmentPath)(t),f[g],n,i)))return null;let b=[t[0],{...f,[g]:s},d,p];return h&&(b[4]=!0),(0,u.addRefreshMarkerToActiveParallelSegments)(b,i),b}}});let n=r(0),o=r(1134),a=r(6237),u=r(4922);function l(e,t){let[r,o]=e,[u,i]=t;if(u===n.DEFAULT_SEGMENT_KEY&&r!==n.DEFAULT_SEGMENT_KEY)return e;if((0,a.matchSegment)(r,u)){let t={};for(let e in o)void 0!==i[e]?t[e]=l(o[e],i[e]):t[e]=o[e];for(let e in i)t[e]||(t[e]=i[e]);let n=[r,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return 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)},9559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,r,a){let u=a.length<=2,[l,i]=a,s=(0,o.createRouterCacheKey)(i),c=r.parallelRoutes.get(l),f=t.parallelRoutes.get(l);f&&f!==c||(f=new Map(c),t.parallelRoutes.set(l,f));let d=null==c?void 0:c.get(s),p=f.get(s);if(u){p&&p.lazyData&&p!==d||f.set(s,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null});return}if(!p||!d){p||f.set(s,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null});return}return p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,head:p.head,prefetchHead:p.prefetchHead,parallelRoutes:new Map(p.parallelRoutes),loading:p.loading},f.set(s,p)),e(p,d,(0,n.getNextFlightSegmentPath)(a))}}});let n=r(1134),o=r(1784);("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)},6626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{computeChangedPath:function(){return c},extractPathFromFlightRouterState:function(){return s},getSelectedParams:function(){return function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],a=Array.isArray(t),u=a?t[1]:t;!u||u.startsWith(o.PAGE_SEGMENT_KEY)||(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}}});let n=r(3100),o=r(0),a=r(6237),u=e=>"/"===e[0]?e.slice(1):e,l=e=>"string"==typeof e?"children"===e?"":e:e[1];function i(e){return e.reduce((e,t)=>""===(t=u(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function s(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if(r===o.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith(o.PAGE_SEGMENT_KEY))return"";let a=[l(r)],u=null!=(t=e[1])?t:{},c=u.children?s(u.children):void 0;if(void 0!==c)a.push(c);else for(let[e,t]of Object.entries(u)){if("children"===e)continue;let r=s(t);void 0!==r&&a.push(r)}return i(a)}function c(e,t){let r=function e(t,r){let[o,u]=t,[i,c]=r,f=l(o),d=l(i);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,a.matchSegment)(o,i)){var p;return null!=(p=s(r))?p:""}for(let t in u)if(c[t]){let r=e(u[t],c[t]);if(null!==r)return l(i)+"/"+r}return null}(e,t);return null==r||"/"===r?r:i(r.split("/"))}("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)},3174:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("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)},322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return c}});let n=r(3174),o=r(3821),a=r(6626),u=r(6004),l=r(1507),i=r(4922),s=r(1134);function c(e){var t,r;let{buildId:c,initialFlightData:f,initialCanonicalUrlParts:d,initialParallelRoutes:p,location:h,couldBeIntercepted:y,postponed:g,prerendered:b}=e,_=d.join("/"),m=(0,s.getFlightDataPartsFromPath)(f[0]),{tree:v,seedData:P,head:O}=m,E=!h,S=null==P?void 0:P[1],R=null!=(t=null==P?void 0:P[3])?t:null,j={lazyData:null,rsc:S,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:E?new Map:p,loading:R},w=h?(0,n.createHrefFromUrl)(h):_;(0,i.addRefreshMarkerToActiveParallelSegments)(v,w);let T=new Map;(null===p||0===p.size)&&(0,o.fillLazyItemsTillLeafWithHead)(j,void 0,v,P,O);let M={buildId:c,tree:v,cache:j,prefetchCache:T,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:w,nextUrl:null!=(r=(0,a.extractPathFromFlightRouterState)(v)||(null==h?void 0:h.pathname))?r:null};if(h){let e=new URL(""+h.pathname+h.search,h.origin);(0,u.createSeededPrefetchCacheEntry)({url:e,data:{flightData:[m],canonicalUrl:void 0,couldBeIntercepted:!!y,prerendered:b,postponed:g,staleTime:-1},tree:M.tree,prefetchCache:M.prefetchCache,nextUrl:M.nextUrl,kind:b?l.PrefetchKind.FULL:l.PrefetchKind.AUTO})}return M}("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)},1784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=r(0);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY: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)},1283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return d}});let n=r(7325),o=r(4590),a=r(6705),u=r(1507),l=r(4736),i=r(1134),{createFromFetch:s}=r(6671);function c(e){let t=new URL(e,location.origin);if(t.searchParams.delete(n.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,r=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-r)}return t}function f(e){return{flightData:c(e).toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}async function d(e,t){let{flightRouterState:r,nextUrl:d,buildId:p,prefetchKind:h}=t,y={[n.RSC_HEADER]:"1",[n.NEXT_ROUTER_STATE_TREE_HEADER]:encodeURIComponent(JSON.stringify(r))};h===u.PrefetchKind.AUTO&&(y[n.NEXT_ROUTER_PREFETCH_HEADER]="1"),d&&(y[n.NEXT_URL]=d);let g=(0,l.hexHash)([y[n.NEXT_ROUTER_PREFETCH_HEADER]||"0",y[n.NEXT_ROUTER_STATE_TREE_HEADER],y[n.NEXT_URL]].join(","));try{var b;let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(n.NEXT_RSC_UNION_QUERY,g);let r=h?h===u.PrefetchKind.TEMPORARY?"high":"low":"auto",l=await fetch(t,{credentials:"same-origin",headers:y,priority:r}),d=c(l.url),_=l.redirected?d:void 0,m=l.headers.get("content-type")||"",v=!!(null==(b=l.headers.get("vary"))?void 0:b.includes(n.NEXT_URL)),P=!!l.headers.get(n.NEXT_DID_POSTPONE_HEADER),O=l.headers.get(n.NEXT_ROUTER_STALE_TIME_HEADER),E=null!==O?parseInt(O,10):-1,S=m.startsWith(n.RSC_CONTENT_TYPE_HEADER);if(S||(S=m.startsWith("text/plain")),!S||!l.ok)return e.hash&&(d.hash=e.hash),f(d.toString());let R=await s(Promise.resolve(l),{callServer:o.callServer,findSourceMapURL:a.findSourceMapURL});if(p!==R.b)return f(l.url);return{flightData:(0,i.normalizeFlightData)(R.f),canonicalUrl:_,couldBeIntercepted:v,prerendered:R.S,postponed:P,staleTime:E}}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),{flightData:e.toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}}("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)},1133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fillCacheWithNewSubTreeData:function(){return i},fillCacheWithNewSubTreeDataButOnlyLoading:function(){return s}});let n=r(4213),o=r(3821),a=r(1784),u=r(0);function l(e,t,r,l,i){let{segmentPath:s,seedData:c,tree:f,head:d}=r,p=e,h=t;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,a,u,l,i){if(0===Object.keys(a[1]).length){t.head=l;return}for(let s in a[1]){let c;let f=a[1][s],d=f[0],p=(0,n.createRouterCacheKey)(d),h=null!==u&&void 0!==u[2][s]?u[2][s]:null;if(r){let n=r.parallelRoutes.get(s);if(n){let r;let a=(null==i?void 0:i.kind)==="auto"&&i.status===o.PrefetchCacheEntryStatus.reusable,u=new Map(n),c=u.get(p);r=null!==h?{lazyData:null,rsc:h[1],prefetchRsc:null,head:null,prefetchHead:null,loading:h[3],parallelRoutes:new Map(null==c?void 0:c.parallelRoutes)}:a&&c?{lazyData:c.lazyData,rsc:c.rsc,prefetchRsc:c.prefetchRsc,head:c.head,prefetchHead:c.prefetchHead,parallelRoutes:new Map(c.parallelRoutes),loading:c.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==c?void 0:c.parallelRoutes),loading:null},u.set(p,r),e(r,c,f,h||null,l,i),t.parallelRoutes.set(s,u);continue}}if(null!==h){let e=h[1],t=h[3];c={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:t}}else c={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null};let y=t.parallelRoutes.get(s);y?y.set(p,c):t.parallelRoutes.set(s,new Map([[p,c]])),e(c,void 0,f,h,l,i)}}}});let n=r(1784),o=r(1507);("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)},6416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return a}});let n=r(6626);function o(e){return void 0!==e}function a(e,t){var r,a;let u=null==(r=t.shouldScroll)||r,l=e.nextUrl;if(o(t.patchedTree)){let r=(0,n.computeChangedPath)(e.tree,t.patchedTree);r?l=r:l||(l=e.canonicalUrl)}return{buildId:e.buildId,canonicalUrl:o(t.canonicalUrl)?t.canonicalUrl===e.canonicalUrl?e.canonicalUrl:t.canonicalUrl:e.canonicalUrl,pushRef:{pendingPush:o(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:o(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:o(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!u&&(!!o(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:t.onlyHashChange||!1,hashFragment:u?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:u?null!=(a=null==t?void 0:t.scrollableSegments)?a:e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,prefetchCache:t.prefetchCache?t.prefetchCache:e.prefetchCache,tree:o(t.patchedTree)?t.patchedTree:e.tree,nextUrl:l}}("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)},774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let n=r(1294);function o(e,t,r){return(0,n.handleExternalUrl)(e,{},e.canonicalUrl,!0)}("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)},9863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,r,a){let u=a.length<=2,[l,i]=a,s=(0,n.createRouterCacheKey)(i),c=r.parallelRoutes.get(l);if(!c)return;let f=t.parallelRoutes.get(l);if(f&&f!==c||(f=new Map(c),t.parallelRoutes.set(l,f)),u){f.delete(s);return}let d=c.get(s),p=f.get(s);p&&d&&(p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,head:p.head,prefetchHead:p.prefetchHead,parallelRoutes:new Map(p.parallelRoutes)},f.set(s,p)),e(p,d,(0,o.getNextFlightSegmentPath)(a)))}}});let n=r(1784),o=r(1134);("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)},4213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let n=r(1784);function o(e,t,r){for(let o in r[1]){let a=r[1][o][0],u=(0,n.createRouterCacheKey)(a),l=t.parallelRoutes.get(o);if(l){let t=new Map(l);t.delete(u),e.parallelRoutes.set(o,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)},139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let n=t[0],o=r[0];if(Array.isArray(n)&&Array.isArray(o)){if(n[0]!==o[0]||n[2]!==o[2])return!0}else if(n!==o)return!0;if(t[4])return!r[4];if(r[4])return!0;let a=Object.values(t[1])[0],u=Object.values(r[1])[0];return!a||!u||e(a,u)}}}),("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)},3060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{abortTask:function(){return s},listenForDynamicRequest:function(){return l},updateCacheNodeOnNavigation:function(){return function e(t,r,l,s,c){let f=r[1],d=l[1],p=s[2],h=t.parallelRoutes,y=new Map(h),g={},b=null,_=!1;for(let t in d){let r;let l=d[t],s=f[t],m=h.get(t),v=p[t],P=l[0],O=(0,a.createRouterCacheKey)(P),E=void 0!==s?s[0]:void 0,S=void 0!==m?m.get(O):void 0;if(null!==(r=P===n.DEFAULT_SEGMENT_KEY?void 0!==s?{route:s,node:null,children:null}:u(l,void 0!==v?v:null,c):void 0!==E&&(0,o.matchSegment)(P,E)&&void 0!==S&&void 0!==s?null!=v?e(S,s,l,v,c):function(e){let t=i(e,null,null);return{route:e,node:t,children:null}}(l):u(l,void 0!==v?v:null,c))){null===b&&(b=new Map),b.set(t,r);let e=r.node;if(null!==e){let r=new Map(m);r.set(O,e),y.set(t,r),_=!0}g[t]=r.route}else g[t]=l}if(null===b)return null;let m={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:y};return{route:function(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),r}(l,g),node:_?m:null,children:b}}},updateCacheNodeOnPopstateRestoration:function(){return function e(t,r){let n=r[1],o=t.parallelRoutes,u=new Map(o);for(let t in n){let r=n[t],l=r[0],i=(0,a.createRouterCacheKey)(l),s=o.get(t);if(void 0!==s){let n=s.get(i);if(void 0!==n){let o=e(n,r),a=new Map(s);a.set(i,o),u.set(t,a)}}}let l=t.rsc,i=d(l)&&"pending"===l.status;return{lazyData:null,rsc:l,head:t.head,prefetchHead:i?t.prefetchHead:null,prefetchRsc:i?t.prefetchRsc:null,loading:t.loading,parallelRoutes:u}}}});let n=r(0),o=r(6237),a=r(1784);function u(e,t,r){let n=i(e,t,r);return{route:e,node:n,children:null}}function l(e,t){t.then(t=>{let{flightData:r}=t;for(let t of r){if("string"==typeof t)continue;let{segmentPath:r,tree:n,seedData:u,head:l}=t;u&&function(e,t,r,n,u){let l=e;for(let e=0;e{s(e,t)})}function i(e,t,r){let n=e[1],o=null!==t?t[2]:null,u=new Map;for(let e in n){let t=n[e],l=null!==o?o[e]:null,s=t[0],c=(0,a.createRouterCacheKey)(s),f=i(t,void 0===l?null:l,r),d=new Map;d.set(c,f),u.set(e,d)}let l=0===u.size,s=null!==t?t[1]:null,c=null!==t?t[3]:null;return{lazyData:null,parallelRoutes:u,prefetchRsc:void 0!==s?s:null,prefetchHead:l?r:null,loading:void 0!==c?c:null,rsc:p(),head:l?p():null}}function s(e,t){let r=e.node;if(null===r)return;let n=e.children;if(null===n)c(e.route,r,t);else for(let e of n.values())s(e,t);e.node=null}function c(e,t,r){let n=e[1],o=t.parallelRoutes;for(let e in n){let t=n[e],u=o.get(e);if(void 0===u)continue;let l=t[0],i=(0,a.createRouterCacheKey)(l),s=u.get(i);void 0!==s&&c(t,s,r)}let u=t.rsc;d(u)&&(null===r?u.resolve(null):u.reject(r));let l=t.head;d(l)&&l.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.status="pending",r.resolve=t=>{"pending"===r.status&&(r.status="fulfilled",r.value=t,e(t))},r.reject=e=>{"pending"===r.status&&(r.status="rejected",r.reason=e,t(e))},r.tag=f,r}("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)},6004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createSeededPrefetchCacheEntry:function(){return s},getOrCreatePrefetchCacheEntry:function(){return i},prunePrefetchCache:function(){return f}});let n=r(1283),o=r(1507),a=r(9218);function u(e,t,r){let n=e.pathname;return(t&&(n+=e.search),r)?""+r+"%"+n:n}function l(e,t,r){return u(e,t===o.PrefetchKind.FULL,r)}function i(e){let{url:t,nextUrl:r,tree:n,buildId:a,prefetchCache:l,kind:i,allowAliasing:s=!0}=e,f=function(e,t,r,n,a){for(let l of(void 0===t&&(t=o.PrefetchKind.TEMPORARY),[r,null])){let r=u(e,!0,l),i=u(e,!1,l),s=e.search?r:i,c=n.get(s);if(c&&a){if(c.url.pathname===e.pathname&&c.url.search!==e.search)return{...c,aliased:!0};return c}let f=n.get(i);if(a&&e.search&&t!==o.PrefetchKind.FULL&&f&&!f.key.includes("%"))return{...f,aliased:!0}}if(t!==o.PrefetchKind.FULL&&a){for(let t of n.values())if(t.url.pathname===e.pathname&&!t.key.includes("%"))return{...t,aliased:!0}}}(t,i,r,l,s);return f?(f.status=h(f),f.kind!==o.PrefetchKind.FULL&&i===o.PrefetchKind.FULL&&f.data.then(e=>{if(!(Array.isArray(e.flightData)&&e.flightData.some(e=>e.isRootRender&&null!==e.seedData)))return c({tree:n,url:t,buildId:a,nextUrl:r,prefetchCache:l,kind:null!=i?i:o.PrefetchKind.TEMPORARY})}),i&&f.kind===o.PrefetchKind.TEMPORARY&&(f.kind=i),f):c({tree:n,url:t,buildId:a,nextUrl:r,prefetchCache:l,kind:i||o.PrefetchKind.TEMPORARY})}function s(e){let{nextUrl:t,tree:r,prefetchCache:n,url:a,data:u,kind:i}=e,s=u.couldBeIntercepted?l(a,i,t):l(a,i),c={treeAtTimeOfPrefetch:r,data:Promise.resolve(u),kind:i,prefetchTime:Date.now(),lastUsedTime:Date.now(),staleTime:-1,key:s,status:o.PrefetchCacheEntryStatus.fresh,url:a};return n.set(s,c),c}function c(e){let{url:t,kind:r,tree:u,nextUrl:i,buildId:s,prefetchCache:c}=e,f=l(t,r),d=a.prefetchQueue.enqueue(()=>(0,n.fetchServerResponse)(t,{flightRouterState:u,nextUrl:i,buildId:s,prefetchKind:r}).then(e=>{let r;if(e.couldBeIntercepted&&(r=function(e){let{url:t,nextUrl:r,prefetchCache:n,existingCacheKey:o}=e,a=n.get(o);if(!a)return;let u=l(t,a.kind,r);return n.set(u,{...a,key:u}),n.delete(o),u}({url:t,existingCacheKey:f,nextUrl:i,prefetchCache:c})),e.prerendered){let t=c.get(null!=r?r:f);t&&(t.kind=o.PrefetchKind.FULL,-1!==e.staleTime&&(t.staleTime=e.staleTime))}return e})),p={treeAtTimeOfPrefetch:u,data:d,kind:r,prefetchTime:Date.now(),lastUsedTime:null,staleTime:-1,key:f,status:o.PrefetchCacheEntryStatus.fresh,url:t};return c.set(f,p),p}function f(e){for(let[t,r]of e)h(r)===o.PrefetchCacheEntryStatus.expired&&e.delete(t)}let d=1e3*Number("0"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:r,lastUsedTime:n,staleTime:a}=e;return -1!==a?Date.now(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return o}});let n=r(1784);function o(e,t){return function e(t,r,o){if(0===Object.keys(r).length)return[t,o];for(let a in r){let[u,l]=r[a],i=t.parallelRoutes.get(a);if(!i)continue;let s=(0,n.createRouterCacheKey)(u),c=i.get(s);if(!c)continue;let f=e(c,l,o+"/"+s);if(f)return f}return null}(e,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)},4640:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("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)},5914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e(t){let[r,o]=t;if(Array.isArray(r)&&("di"===r[2]||"ci"===r[2])||"string"==typeof r&&(0,n.isInterceptionRouteAppPath)(r))return!0;if(o){for(let t in o)if(e(o[t]))return!0}return!1}}});let n=r(3100);("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)},695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hmrRefreshReducer",{enumerable:!0,get:function(){return n}}),r(1283),r(3174),r(9684),r(139),r(1294),r(6416),r(9607),r(5751),r(774),r(5914);let n=function(e,t){return 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)},1294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleExternalUrl:function(){return m},navigateReducer:function(){return function e(t,r){let{url:P,isExternalUrl:O,navigateType:E,shouldScroll:S,allowAliasing:R}=r,j={},{hash:w}=P,T=(0,o.createHrefFromUrl)(P),M="push"===E;if((0,g.prunePrefetchCache)(t.prefetchCache),j.preserveCustomHistoryState=!1,j.pendingPush=M,O)return m(t,j,P.toString(),M);if(document.getElementById("__next-page-redirect"))return m(t,j,T,M);let x=(0,g.getOrCreatePrefetchCacheEntry)({url:P,nextUrl:t.nextUrl,tree:t.tree,buildId:t.buildId,prefetchCache:t.prefetchCache,allowAliasing:R}),{treeAtTimeOfPrefetch:A,data:C}=x;return d.prefetchQueue.bump(C),C.then(d=>{let{flightData:g,canonicalUrl:O,postponed:E}=d,R=!1;if(x.lastUsedTime||(x.lastUsedTime=Date.now(),R=!0),"string"==typeof g)return m(t,j,g,M);let C=O?(0,o.createHrefFromUrl)(O):T;if(w&&t.canonicalUrl.split("#",1)[0]===C.split("#",1)[0])return j.onlyHashChange=!0,j.canonicalUrl=C,j.shouldScroll=S,j.hashFragment=w,j.scrollableSegments=[],(0,c.handleMutable)(t,j);if(x.aliased){let n=(0,_.handleAliasedPrefetchEntry)(t,g,P,j);return!1===n?e(t,{...r,allowAliasing:!1}):n}let D=t.tree,N=t.cache,k=[];for(let e of g){let{pathToSegment:r,seedData:o,head:c,isRootRender:d}=e,g=e.tree,_=["",...r],O=(0,u.applyRouterStatePatchToTree)(_,D,g,T);if(null===O&&(O=(0,u.applyRouterStatePatchToTree)(_,A,g,T)),null!==O){if((0,i.isNavigatingToNewRootLayout)(D,O))return m(t,j,T,M);if(o&&d&&E){let e=(0,y.updateCacheNodeOnNavigation)(N,D,g,o,c);if(null!==e){if(O=e.route,null!==e.node){let r=e.node,o=(0,n.fetchServerResponse)(P,{flightRouterState:D,nextUrl:t.nextUrl,buildId:t.buildId});(0,y.listenForDynamicRequest)(e,o),j.cache=r}}else O=g}else{let t=(0,p.createEmptyCacheNode)(),n=!1;x.status!==s.PrefetchCacheEntryStatus.stale||R?n=(0,f.applyFlightData)(N,t,e,x):(n=function(e,t,r,n){let o=!1;for(let a of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),v(n).map(e=>[...r,...e])))(0,b.clearCacheNodeDataForSegmentPath)(e,t,a),o=!0;return o}(t,N,r,g),x.lastUsedTime=Date.now()),(0,l.shouldHardNavigate)(_,D)?(t.rsc=N.rsc,t.prefetchRsc=N.prefetchRsc,(0,a.invalidateCacheBelowFlightSegmentPath)(t,N,r),j.cache=t):n&&(j.cache=t,N=t)}for(let e of(D=O,v(g))){let t=[...r,...e];t[t.length-1]!==h.DEFAULT_SEGMENT_KEY&&k.push(t)}}}return j.patchedTree=D,j.canonicalUrl=C,j.scrollableSegments=k,j.hashFragment=w,j.shouldScroll=S,(0,c.handleMutable)(t,j)},()=>t)}}});let n=r(1283),o=r(3174),a=r(9863),u=r(9684),l=r(4740),i=r(139),s=r(1507),c=r(6416),f=r(9607),d=r(9218),p=r(5751),h=r(0),y=r(3060),g=r(6004),b=r(9559),_=r(9596);function m(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,c.handleMutable)(e,t)}function v(e){let t=[],[r,n]=e;if(0===Object.keys(n).length)return[[r]];for(let[e,o]of Object.entries(n))for(let n of v(o))""===r?t.push([e,...n]):t.push([r,e,...n]);return 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)},9218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{prefetchQueue:function(){return u},prefetchReducer:function(){return l}});let n=r(7325),o=r(3858),a=r(6004),u=new o.PromiseQueue(5);function l(e,t){(0,a.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;return r.searchParams.delete(n.NEXT_RSC_UNION_QUERY),(0,a.getOrCreatePrefetchCacheEntry)({url:r,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,buildId:e.buildId,allowAliasing:!0}),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)},5239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let n=r(1283),o=r(3174),a=r(9684),u=r(139),l=r(1294),i=r(6416),s=r(3821),c=r(5751),f=r(774),d=r(5914),p=r(4922);function h(e,t){let{origin:r}=t,h={},y=e.canonicalUrl,g=e.tree;h.preserveCustomHistoryState=!1;let b=(0,c.createEmptyCacheNode)(),_=(0,d.hasInterceptionRouteInCurrentTree)(e.tree);return b.lazyData=(0,n.fetchServerResponse)(new URL(y,r),{flightRouterState:[g[0],g[1],g[2],"refetch"],nextUrl:_?e.nextUrl:null,buildId:e.buildId}),b.lazyData.then(async r=>{let{flightData:n,canonicalUrl:c}=r;if("string"==typeof n)return(0,l.handleExternalUrl)(e,h,n,e.pushRef.pendingPush);for(let r of(b.lazyData=null,n)){let{tree:n,seedData:i,head:d,isRootRender:m}=r;if(!m)return console.log("REFRESH FAILED"),e;let v=(0,a.applyRouterStatePatchToTree)([""],g,n,e.canonicalUrl);if(null===v)return(0,f.handleSegmentMismatch)(e,t,n);if((0,u.isNavigatingToNewRootLayout)(g,v))return(0,l.handleExternalUrl)(e,h,y,e.pushRef.pendingPush);let P=c?(0,o.createHrefFromUrl)(c):void 0;if(c&&(h.canonicalUrl=P),null!==i){let e=i[1],t=i[3];b.rsc=e,b.prefetchRsc=null,b.loading=t,(0,s.fillLazyItemsTillLeafWithHead)(b,void 0,n,i,d),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:e,updatedTree:v,updatedCache:b,includeNextUrl:_,canonicalUrl:h.canonicalUrl||e.canonicalUrl}),h.cache=b,h.patchedTree=v,g=v}return(0,i.handleMutable)(e,h)},()=>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)},6131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return a}});let n=r(3174),o=r(6626);function a(e,t){var r;let{url:a,tree:u}=t,l=(0,n.createHrefFromUrl)(a),i=u||e.tree,s=e.cache;return{buildId:e.buildId,canonicalUrl:l,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:s,prefetchCache:e.prefetchCache,tree:i,nextUrl:null!=(r=(0,o.extractPathFromFlightRouterState)(i))?r:a.pathname}}r(3060),("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)},4549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return w}});let n=r(4590),o=r(6705),a=r(7325),u=r(1507),l=r(4897),i=r(3174),s=r(1294),c=r(9684),f=r(139),d=r(6416),p=r(3821),h=r(5751),y=r(5914),g=r(774),b=r(4922),_=r(1134),m=r(7909),v=r(6004),P=r(7599),O=r(9404),{createFromFetch:E,createTemporaryReferenceSet:S,encodeReply:R}=r(6671);async function j(e,t,r){let u,i,{actionId:s,actionArgs:c}=r,f=S(),d=await R(c,{temporaryReferences:f}),p=await fetch("",{method:"POST",headers:{Accept:a.RSC_CONTENT_TYPE_HEADER,[a.ACTION_HEADER]:s,[a.NEXT_ROUTER_STATE_TREE_HEADER]:encodeURIComponent(JSON.stringify(e.tree)),...t?{[a.NEXT_URL]:t}:{}},body:d}),h=p.headers.get("x-action-redirect"),[y,g]=(null==h?void 0:h.split(";"))||[];switch(g){case"push":u=m.RedirectType.push;break;case"replace":u=m.RedirectType.replace;break;default:u=void 0}let b=!!p.headers.get(a.NEXT_IS_PRERENDER_HEADER);try{let e=JSON.parse(p.headers.get("x-action-revalidated")||"[[],0,0]");i={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){i={paths:[],tag:!1,cookie:!1}}let v=y?new URL((0,l.addBasePath)(y),new URL(e.canonicalUrl,window.location.href)):void 0,P=p.headers.get("content-type");if(null==P?void 0:P.startsWith(a.RSC_CONTENT_TYPE_HEADER)){let e=await E(Promise.resolve(p),{callServer:n.callServer,findSourceMapURL:o.findSourceMapURL,temporaryReferences:f});return y?{actionFlightData:(0,_.normalizeFlightData)(e.f),redirectLocation:v,redirectType:u,revalidatedParts:i,isPrerender:b}:{actionResult:e.a,actionFlightData:(0,_.normalizeFlightData)(e.f),redirectLocation:v,redirectType:u,revalidatedParts:i,isPrerender:b}}if(p.status>=400)throw Error("text/plain"===P?await p.text():"An unexpected response was received from the server.");return{redirectLocation:v,redirectType:u,revalidatedParts:i,isPrerender:b}}function w(e,t){let{resolve:r,reject:n}=t,o={},a=e.canonicalUrl,l=e.tree;o.preserveCustomHistoryState=!1;let _=e.nextUrl&&(0,y.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null;return j(e,_,t).then(async y=>{let{actionResult:E,actionFlightData:S,redirectLocation:R,redirectType:j,isPrerender:w,revalidatedParts:T}=y;if(R&&(j===m.RedirectType.replace?(e.pushRef.pendingPush=!1,o.pendingPush=!1):(e.pushRef.pendingPush=!0,o.pendingPush=!0)),!S)return(r(E),R)?(0,s.handleExternalUrl)(e,o,R.href,e.pushRef.pendingPush):e;if("string"==typeof S)return(0,s.handleExternalUrl)(e,o,S,e.pushRef.pendingPush);let M=T.paths.length>0||T.tag||T.cookie;for(let r of S){let{tree:n,seedData:u,head:d,isRootRender:y}=r;if(!y)return console.log("SERVER ACTION APPLY FAILED"),e;let m=(0,c.applyRouterStatePatchToTree)([""],l,n,R?(0,i.createHrefFromUrl)(R):e.canonicalUrl);if(null===m)return(0,g.handleSegmentMismatch)(e,t,n);if((0,f.isNavigatingToNewRootLayout)(l,m))return(0,s.handleExternalUrl)(e,o,a,e.pushRef.pendingPush);if(null!==u){let t=u[1],r=(0,h.createEmptyCacheNode)();r.rsc=t,r.prefetchRsc=null,r.loading=u[3],(0,p.fillLazyItemsTillLeafWithHead)(r,void 0,n,u,d),o.cache=r,o.prefetchCache=new Map,M&&await (0,b.refreshInactiveParallelSegments)({state:e,updatedTree:m,updatedCache:r,includeNextUrl:!!_,canonicalUrl:o.canonicalUrl||e.canonicalUrl})}o.patchedTree=m,l=m}if(R){let t=(0,i.createHrefFromUrl)(R,!1);o.canonicalUrl=t,M||((0,v.createSeededPrefetchCacheEntry)({url:R,data:{flightData:S,canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1},tree:e.tree,prefetchCache:e.prefetchCache,nextUrl:e.nextUrl,kind:w?u.PrefetchKind.FULL:u.PrefetchKind.AUTO}),o.prefetchCache=e.prefetchCache),n((0,m.getRedirectError)((0,O.hasBasePath)(t)?(0,P.removeBasePath)(t):t,j||m.RedirectType.push))}else r(E);return(0,d.handleMutable)(e,o)},t=>(n(t),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)},8289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let n=r(3174),o=r(9684),a=r(139),u=r(1294),l=r(9607),i=r(6416),s=r(5751),c=r(774);function f(e,t){let{serverResponse:{flightData:r,canonicalUrl:f}}=t,d={};if(d.preserveCustomHistoryState=!1,"string"==typeof r)return(0,u.handleExternalUrl)(e,d,r,e.pushRef.pendingPush);let p=e.tree,h=e.cache;for(let i of r){let{segmentPath:r,tree:y}=i,g=(0,o.applyRouterStatePatchToTree)(["",...r],p,y,e.canonicalUrl);if(null===g)return(0,c.handleSegmentMismatch)(e,t,y);if((0,a.isNavigatingToNewRootLayout)(p,g))return(0,u.handleExternalUrl)(e,d,e.canonicalUrl,e.pushRef.pendingPush);let b=f?(0,n.createHrefFromUrl)(f):void 0;b&&(d.canonicalUrl=b);let _=(0,s.createEmptyCacheNode)();(0,l.applyFlightData)(h,_,i),d.patchedTree=g,d.cache=_,h=_,p=g}return(0,i.handleMutable)(e,d)}("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)},4922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,r){let[n,o,,u]=t;for(let l in n.includes(a.PAGE_SEGMENT_KEY)&&"refresh"!==u&&(t[2]=r,t[3]="refresh"),o)e(o[l],r)}},refreshInactiveParallelSegments:function(){return u}});let n=r(9607),o=r(1283),a=r(0);async function u(e){let t=new Set;await l({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function l(e){let{state:t,updatedTree:r,updatedCache:a,includeNextUrl:u,fetchedSegments:i,rootTree:s=r,canonicalUrl:c}=e,[,f,d,p]=r,h=[];if(d&&d!==c&&"refresh"===p&&!i.has(d)){i.add(d);let e=(0,o.fetchServerResponse)(new URL(d,location.origin),{flightRouterState:[s[0],s[1],s[2],"refetch"],nextUrl:u?t.nextUrl:null,buildId:t.buildId}).then(e=>{let{flightData:t}=e;if("string"!=typeof t)for(let e of t)(0,n.applyFlightData)(a,a,e)});h.push(e)}for(let e in f){let r=l({state:t,updatedTree:f[e],updatedCache:a,includeNextUrl:u,fetchedSegments:i,rootTree:s,canonicalUrl:c});h.push(r)}await Promise.all(h)}("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)},1507:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_HMR_REFRESH:function(){return s},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return i},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return c},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r}});let o="refresh",a="navigate",u="restore",l="server-patch",i="prefetch",s="hmr-refresh",c="server-action";!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(r||(r={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(n||(n={})),("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)},643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let n=r(1507),o=r(1294),a=r(8289),u=r(6131),l=r(5239),i=r(9218),s=r(695),c=r(4549),f="undefined"==typeof window?function(e,t){return e}:function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,a.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,u.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,l.refreshReducer)(e,t);case n.ACTION_HMR_REFRESH:return(0,s.hmrRefreshReducer)(e,t);case n.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case n.ACTION_SERVER_ACTION:return(0,c.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("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)},4740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[a,u]=r,[l,i]=t;return(0,o.matchSegment)(l,a)?!(t.length<=2)&&e((0,n.getNextFlightSegmentPath)(t),u[i]):!!Array.isArray(l)}}});let n=r(1134),o=r(6237);("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)},5108:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return o}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("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)},1108:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return r}});let r={then:()=>{}};("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)},997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,u.isNextRouterError)(t)||(0,a.isBailoutToCSRError)(t)||(0,n.isDynamicUsageError)(t)||(0,o.isPostpone)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(5647),o=r(3343),a=r(5592),u=r(2128);("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)},7903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useReducer:function(){return u},useUnwrapState:function(){return a}});let n=r(1452)._(r(2265)),o=r(4427);function a(e){return(0,o.isThenable)(e)?(0,n.use)(e):e}function u(e){let[t,r]=n.default.useState(e.state);return[t,(0,n.useCallback)(t=>{e.dispatch(t,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)},1134:(e,t)=>{"use strict";function r(e){var t;let[r,n,o]=e.slice(-3),a=e.slice(0,-3);return{pathToSegment:a.slice(0,-1),segmentPath:a,segment:null!=(t=a[a.length-1])?t:"",tree:r,seedData:n,head:o,isRootRender:3===e.length}}function n(e){return e.slice(2)}function o(e){return"string"==typeof e?e:e.map(r)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getFlightDataPartsFromPath:function(){return r},getNextFlightSegmentPath:function(){return n},normalizeFlightData:function(){return o}}),("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)},9404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(5121);function o(e){return(0,n.pathHasPrefix)(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)},8956:(e,t)=>{"use strict";function r(e,t){switch(typeof e){case"object":if(null===e)return"null";if(Array.isArray(e)){let n="[";if(t<1)for(let o=0;o0?"...":"";return n+"]"}{if(e instanceof Error)return e+"";let n=Object.keys(e),o="{";if(t<1)for(let a=0;a0?"...":"";return o+"}"}case"string":return JSON.stringify(e);default:return String(e)}}function n(e){let t,n;"string"==typeof e[0]?(t=e[0],n=1):(t="",n=0);let o="",a=!1;for(let u=0;u=e.length){o+=l;continue}let i=t[++u];switch(i){case"c":o=a?""+o+"]":"["+o,a=!a,n++;break;case"O":case"o":o+=r(e[n++],0);break;case"d":case"i":o+=parseInt(e[n++],10);break;case"f":o+=parseFloat(e[n++]);break;case"s":o+=String(e[n++]);break;default:o+="%"+i}}for(;n0?" ":"")+r(e[n],0);return o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatConsoleArgs",{enumerable:!0,get:function(){return n}}),("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)},8157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(7741),o=r(1465),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+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)},6124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"onRecoverableError",{enumerable:!0,get:function(){return a}});let n=r(5592),o="function"==typeof reportError?reportError:e=>{window.console.error(e)};function a(e,t){(0,n.isBailoutToCSRError)(e)||o(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)},7599:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(9404),("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)},8081:e=>{!function(){var t={229:function(e){var t,r,n,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var i=[],s=!1,c=-1;function f(){s&&n&&(s=!1,n.length?i=n.concat(i):c=-1,i.length&&d())}function d(){if(!s){var e=l(f);s=!0;for(var t=i.length;t;){for(n=i,i=[];++c1)for(var r=1;r{"use strict";function r(e,t){var r=e.length;for(e.push(t);0>>1,o=e[n];if(0>>1;na(i,r))sa(c,i)?(e[n]=c,e[s]=r,n=s):(e[n]=i,e[l]=r,n=l);else if(sa(c,r))e[n]=c,e[s]=r,n=s;else break}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var u,l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,s=i.now();t.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,h=3,y=!1,g=!1,b=!1,_="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function P(e){for(var t=n(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,r(c,t);else break;t=n(f)}}function O(e){if(b=!1,P(e),!g){if(null!==n(c))g=!0,A();else{var t=n(f);null!==t&&C(O,t.startTime-e)}}}var E=!1,S=-1,R=5,j=-1;function w(){return!(t.unstable_now()-je&&w());){var l=p.callback;if("function"==typeof l){p.callback=null,h=p.priorityLevel;var i=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,P(e),r=!0;break t}p===n(c)&&o(c),P(e)}else o(c);p=n(c)}if(null!==p)r=!0;else{var s=n(f);null!==s&&C(O,s.startTime-e),r=!1}}break e}finally{p=null,h=a,y=!1}r=void 0}}finally{r?u():E=!1}}}if("function"==typeof v)u=function(){v(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,x=M.port2;M.port1.onmessage=T,u=function(){x.postMessage(null)}}else u=function(){_(T,0)};function A(){E||(E=!0,u())}function C(e,r){S=_(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||y||(g=!0,A())},t.unstable_forceFrameRate=function(e){0>e||125u?(e.sortIndex=a,r(f,e),null===n(c)&&e===n(f)&&(b?(m(S),S=-1):b=!0,C(O,a-u))):(e.sortIndex=l,r(c,e),g||y||(g=!0,A())),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},5689:(e,t,r)=>{"use strict";e.exports=r(3833)},5647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicUsageError",{enumerable:!0,get:function(){return l}});let n=r(7910),o=r(5592),a=r(2128),u=r(2441),l=e=>(0,n.isDynamicServerError)(e)||(0,o.isBailoutToCSRError)(e)||(0,a.isNextRouterError)(e)||(0,u.isDynamicPostpone)(e)},5878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(5260);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},3120:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MetadataBoundary:function(){return a},OutletBoundary:function(){return l},ViewportBoundary:function(){return u}});let n=r(5650),o={[n.METADATA_BOUNDARY_NAME]:function(e){let{children:t}=e;return t},[n.VIEWPORT_BOUNDARY_NAME]:function(e){let{children:t}=e;return t},[n.OUTLET_BOUNDARY_NAME]:function(e){let{children:t}=e;return t}},a=o[n.METADATA_BOUNDARY_NAME.slice(0)],u=o[n.VIEWPORT_BOUNDARY_NAME.slice(0)],l=o[n.OUTLET_BOUNDARY_NAME.slice(0)]},5650:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{METADATA_BOUNDARY_NAME:function(){return r},OUTLET_BOUNDARY_NAME:function(){return o},VIEWPORT_BOUNDARY_NAME:function(){return n}});let r="__next_metadata_boundary__",n="__next_viewport_boundary__",o="__next_outlet_boundary__"},2864:(e,t,r)=>{"use strict";var n=r(357);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{atLeastOneTask:function(){return u},scheduleImmediate:function(){return a},scheduleOnNextTick:function(){return o},waitAtLeastOneReactRenderTask:function(){return l}});let o=e=>{Promise.resolve().then(()=>{n.nextTick(e)})},a=e=>{setImmediate(e)};function u(){return new Promise(e=>a(e))}function l(){return new Promise(e=>setImmediate(e))}},5502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(5535)},2441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Postpone:function(){return E},abortAndThrowOnSynchronousRequestDataAccess:function(){return P},abortOnSynchronousPlatformIOAccess:function(){return m},accessedDynamicData:function(){return A},annotateDynamicAccess:function(){return U},consumeDynamicAccess:function(){return C},createDynamicTrackingState:function(){return f},createDynamicValidationState:function(){return d},createPostponedAbortSignal:function(){return k},formatDynamicAPIAccesses:function(){return D},getFirstDynamicReason:function(){return p},isDynamicPostpone:function(){return j},isPrerenderInterruptedError:function(){return x},markCurrentScopeAsDynamic:function(){return h},postponeWithTracking:function(){return S},throwIfDisallowedDynamic:function(){return W},throwToInterruptStaticGeneration:function(){return g},trackAllowedDynamicAccess:function(){return B},trackDynamicDataInDynamicRender:function(){return b},trackFallbackParamAccessed:function(){return y},trackSynchronousPlatformIOAccessInDev:function(){return v},trackSynchronousRequestDataAccessInDev:function(){return O},useDynamicRouteParams:function(){return I}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(2265)),o=r(7910),a=r(5108),u=r(5778),l=r(8011),i=r(2849),s=r(5650),c="function"==typeof n.default.unstable_postpone;function f(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function d(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function p(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function h(e,t,r){if((!t||"cache"!==t.type&&"unstable-cache"!==t.type)&&!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw new a.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(t){if("prerender-ppr"===t.type)S(e.route,r,t.dynamicTracking);else if("prerender-legacy"===t.type){t.revalidate=0;let n=new o.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}}function y(e,t){let r=u.workUnitAsyncStorage.getStore();r&&"prerender-ppr"===r.type&&S(e.route,t,r.dynamicTracking)}function g(e,t,r){let n=new o.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function b(e,t){t&&"cache"!==t.type&&"unstable-cache"!==t.type&&("prerender"===t.type||"prerender-legacy"===t.type)&&(t.revalidate=0)}function _(e,t,r){let n=M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller&&r.controller.abort(n);let o=r.dynamicTracking;o&&o.dynamicAccesses.push({stack:o.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function m(e,t,r,n){let o=n.dynamicTracking;return o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicExpression=t,o.syncDynamicErrorWithStack=r),_(e,t,n)}function v(e){e.prerenderPhase=!1}function P(e,t,r,n){let o=n.dynamicTracking;throw o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicExpression=t,o.syncDynamicErrorWithStack=r,!0===n.validating&&(o.syncDynamicLogged=!0)),_(e,t,n),M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}let O=v;function E({reason:e,route:t}){let r=u.workUnitAsyncStorage.getStore();S(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function S(e,t,r){N(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),n.default.unstable_postpone(R(e,t))}function R(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function j(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&w(e.message)}function w(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===w(R("%%%","^^^")))throw Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js");let T="NEXT_PRERENDER_INTERRUPTED";function M(e){let t=Error(e);return t.digest=T,t}function x(e){return"object"==typeof e&&null!==e&&e.digest===T&&"name"in e&&"message"in e&&e instanceof Error}function A(e){return e.length>0}function C(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function D(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: -${t}`))}function N(){if(!c)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function k(e){N();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}function U(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function I(e){if("undefined"==typeof window){let t=l.workAsyncStorage.getStore();if(t&&t.isStaticGeneration&&t.fallbackRouteParams&&t.fallbackRouteParams.size>0){let r=u.workUnitAsyncStorage.getStore();r&&("prerender"===r.type?n.default.use((0,i.makeHangingPromise)(r.renderSignal,e)):"prerender-ppr"===r.type?S(t.route,e,r.dynamicTracking):"prerender-legacy"===r.type&&g(e,t,r))}}}let L=/\n\s+at Suspense \(\)/,F=RegExp(`\\n\\s+at ${s.METADATA_BOUNDARY_NAME}[\\n\\s]`),H=RegExp(`\\n\\s+at ${s.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),$=RegExp(`\\n\\s+at ${s.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function B(e,t,r,n,o){if(!$.test(t)){if(F.test(t)){r.hasDynamicMetadata=!0;return}if(H.test(t)){r.hasDynamicViewport=!0;return}if(L.test(t)){r.hasSuspendedDynamic=!0;return}if(n.syncDynamicErrorWithStack||o.syncDynamicErrorWithStack){r.hasSyncDynamicErrors=!0;return}else{let n=function(e,t){let r=Error(e);return r.stack="Error: "+e+t,r}(`In Route "${e}" this component accessed data without a fallback UI available somewhere above it using Suspense.`,t);r.dynamicErrors.push(n);return}}}function W(e,t,r,n){let o,u,l;if(r.syncDynamicErrorWithStack?(o=r.syncDynamicErrorWithStack,u=r.syncDynamicExpression,l=!0===r.syncDynamicLogged):n.syncDynamicErrorWithStack?(o=n.syncDynamicErrorWithStack,u=n.syncDynamicExpression,l=!0===n.syncDynamicLogged):(o=null,u=void 0,l=!1),t.hasSyncDynamicErrors&&o)throw l||console.error(o),new a.StaticGenBailoutError;let i=t.dynamicErrors;if(i.length){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let n=r(3100);function o(e){let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?"catchall-intercepted":"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?"dynamic-intercepted":"dynamic",param:e.slice(1,-1)}:null}},8011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorage}});let n=r(6575)},5778:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return o},workUnitAsyncStorage:function(){return n.workUnitAsyncStorage}});let n=r(8886);function o(e){let t=n.workUnitAsyncStorage.getStore();if(t){if("request"===t.type)return t;if("prerender"===t.type||"prerender-ppr"===t.type||"prerender-legacy"===t.type)throw Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`);if("cache"===t.type)throw Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`);if("unstable-cache"===t.type)throw Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`)}throw Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`)}},5499:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return u}});let n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(void 0);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=a?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(n,u,l):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n}(r(2265));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}let a={current:null};function u(e){return function(...t){console.error(e(...t))}}("function"==typeof n.cache?n.cache:e=>e)(e=>{try{console.error(a.current)}finally{a.current=null}})},2849:(e,t)=>{"use strict";function r(e,t){let r=new Promise((r,n)=>{e.addEventListener("abort",()=>{n(Error(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`unstable_after\`, or similar functions you may observe this error and you should handle it in that context.`))},{once:!0})});return r.catch(n),r}function n(){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeHangingPromise",{enumerable:!0,get:function(){return r}})},3100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return u},isInterceptionRouteAppPath:function(){return a}});let n=r(3330),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function u(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let u=t.split("/");if(u.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=u.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},3343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isPostpone",{enumerable:!0,get:function(){return n}});let r=Symbol.for("react.postpone");function n(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}},9214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderParamsFromClient",{enumerable:!0,get:function(){return o}}),r(7991),r(8889);let n=r(8203);function o(e){return function(e){let t=a.get(e);if(t)return t;let r=Promise.resolve(e);return a.set(e,r),Object.keys(e).forEach(t=>{n.wellKnownProperties.has(t)||(r[t]=e[t])}),r}(e)}let a=new WeakMap},4556:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createParamsFromClient:function(){return s},createPrerenderParamsForClientSegment:function(){return p},createServerParamsForMetadata:function(){return c},createServerParamsForRoute:function(){return f},createServerParamsForServerSegment:function(){return d}}),r(7991);let n=r(2441),o=r(5778),a=r(8889),u=r(8203),l=r(2849),i=r(5499);function s(e,t){let r=o.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return h(e,t,r)}return g(e)}r(2864);let c=d;function f(e,t){let r=o.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return h(e,t,r)}return g(e)}function d(e,t){let r=o.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return h(e,t,r)}return g(e)}function p(e,t){let r=o.workUnitAsyncStorage.getStore();if(r&&"prerender"===r.type){let n=t.fallbackRouteParams;if(n){for(let t in e)if(n.has(t))return(0,l.makeHangingPromise)(r.renderSignal,"`params`")}}return Promise.resolve(e)}function h(e,t,r){let o=t.fallbackRouteParams;if(o){let a=!1;for(let t in e)if(o.has(t)){a=!0;break}if(a)return"prerender"===r.type?function(e,t,r){let o=y.get(e);if(o)return o;let a=(0,l.makeHangingPromise)(r.renderSignal,"`params`");return y.set(e,a),Object.keys(e).forEach(e=>{u.wellKnownProperties.has(e)||Object.defineProperty(a,e,{get(){let o=(0,u.describeStringPropertyAccess)("params",e),a=b(t,o);(0,n.abortAndThrowOnSynchronousRequestDataAccess)(t,o,a,r)},set(t){Object.defineProperty(a,e,{value:t,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0})}),a}(e,t.route,r):function(e,t,r,o){let a=y.get(e);if(a)return a;let l={...e},i=Promise.resolve(l);return y.set(e,i),Object.keys(e).forEach(a=>{u.wellKnownProperties.has(a)||(t.has(a)?(Object.defineProperty(l,a,{get(){let e=(0,u.describeStringPropertyAccess)("params",a);"prerender-ppr"===o.type?(0,n.postponeWithTracking)(r.route,e,o.dynamicTracking):(0,n.throwToInterruptStaticGeneration)(e,r,o)},enumerable:!0}),Object.defineProperty(i,a,{get(){let e=(0,u.describeStringPropertyAccess)("params",a);"prerender-ppr"===o.type?(0,n.postponeWithTracking)(r.route,e,o.dynamicTracking):(0,n.throwToInterruptStaticGeneration)(e,r,o)},set(e){Object.defineProperty(i,a,{value:e,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0})):i[a]=e[a])}),i}(e,o,t,r)}return g(e)}let y=new WeakMap;function g(e){let t=y.get(e);if(t)return t;let r=Promise.resolve(e);return y.set(e,r),Object.keys(e).forEach(t=>{u.wellKnownProperties.has(t)||(r[t]=e[t])}),r}function b(e,t){let r=e?`Route "${e}" `:"This route ";return Error(`${r}used ${t}. \`params\` should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`)}(0,i.createDedupedByCallsiteServerErrorLoggerDev)(b),(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t,r){let n=e?`Route "${e}" `:"This route ";return Error(`${n}used ${t}. \`params\` should be awaited before using its properties. The following properties were not available through enumeration because they conflict with builtin property names: ${function(e){switch(e.length){case 0:throw new a.InvariantError("Expected describeListOfPropertyNames to be called with a non-empty list of strings.");case 1:return`\`${e[0]}\``;case 2:return`\`${e[0]}\` and \`${e[1]}\``;default:{let t="";for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return o}}),r(7991);let n=r(8203);function o(e){return function(e){let t=a.get(e);if(t)return t;let r=Promise.resolve(e);return a.set(e,r),Object.keys(e).forEach(t=>{n.wellKnownProperties.has(t)||(r[t]=e[t])}),r}(e)}let a=new WeakMap},8919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createPrerenderSearchParamsForClientPage:function(){return p},createSearchParamsFromClient:function(){return c},createServerSearchParamsForMetadata:function(){return f},createServerSearchParamsForServerPage:function(){return d}});let n=r(7991),o=r(2441),a=r(5778),u=r(8889),l=r(2849),i=r(5499),s=r(8203);function c(e,t){let r=a.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return h(t,r)}return y(e,t)}r(2864);let f=d;function d(e,t){let r=a.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return h(t,r)}return y(e,t)}function p(e){if(e.forceStatic)return Promise.resolve({});let t=a.workUnitAsyncStorage.getStore();return t&&"prerender"===t.type?(0,l.makeHangingPromise)(t.renderSignal,"`searchParams`"):Promise.resolve({})}function h(e,t){return e.forceStatic?Promise.resolve({}):"prerender"===t.type?function(e,t){let r=g.get(t);if(r)return r;let a=(0,l.makeHangingPromise)(t.renderSignal,"`searchParams`"),u=new Proxy(a,{get(r,u,l){if(Object.hasOwn(a,u))return n.ReflectAdapter.get(r,u,l);switch(u){case"then":return(0,o.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",t),n.ReflectAdapter.get(r,u,l);case"status":return(0,o.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",t),n.ReflectAdapter.get(r,u,l);case"hasOwnProperty":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"valueOf":case"toLocaleString":case"catch":case"finally":case"toJSON":case"$$typeof":case"__esModule":return n.ReflectAdapter.get(r,u,l);default:if("string"==typeof u){let r=(0,s.describeStringPropertyAccess)("searchParams",u),n=b(e,r);(0,o.abortAndThrowOnSynchronousRequestDataAccess)(e,r,n,t)}return n.ReflectAdapter.get(r,u,l)}},has(r,a){if("string"==typeof a){let r=(0,s.describeHasCheckingStringProperty)("searchParams",a),n=b(e,r);(0,o.abortAndThrowOnSynchronousRequestDataAccess)(e,r,n,t)}return n.ReflectAdapter.has(r,a)},ownKeys(){let r="`{...searchParams}`, `Object.keys(searchParams)`, or similar",n=b(e,r);(0,o.abortAndThrowOnSynchronousRequestDataAccess)(e,r,n,t)}});return g.set(t,u),u}(e.route,t):function(e,t){let r=g.get(e);if(r)return r;let a=Promise.resolve({}),u=new Proxy(a,{get(r,u,l){if(Object.hasOwn(a,u))return n.ReflectAdapter.get(r,u,l);switch(u){case"hasOwnProperty":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"valueOf":case"toLocaleString":case"catch":case"finally":case"toJSON":case"$$typeof":case"__esModule":return n.ReflectAdapter.get(r,u,l);case"then":{let r="`await searchParams`, `searchParams.then`, or similar";e.dynamicShouldError?(0,s.throwWithStaticGenerationBailoutErrorWithDynamicError)(e.route,r):"prerender-ppr"===t.type?(0,o.postponeWithTracking)(e.route,r,t.dynamicTracking):(0,o.throwToInterruptStaticGeneration)(r,e,t);return}case"status":{let r="`use(searchParams)`, `searchParams.status`, or similar";e.dynamicShouldError?(0,s.throwWithStaticGenerationBailoutErrorWithDynamicError)(e.route,r):"prerender-ppr"===t.type?(0,o.postponeWithTracking)(e.route,r,t.dynamicTracking):(0,o.throwToInterruptStaticGeneration)(r,e,t);return}default:if("string"==typeof u){let r=(0,s.describeStringPropertyAccess)("searchParams",u);e.dynamicShouldError?(0,s.throwWithStaticGenerationBailoutErrorWithDynamicError)(e.route,r):"prerender-ppr"===t.type?(0,o.postponeWithTracking)(e.route,r,t.dynamicTracking):(0,o.throwToInterruptStaticGeneration)(r,e,t)}return n.ReflectAdapter.get(r,u,l)}},has(r,a){if("string"==typeof a){let r=(0,s.describeHasCheckingStringProperty)("searchParams",a);return e.dynamicShouldError?(0,s.throwWithStaticGenerationBailoutErrorWithDynamicError)(e.route,r):"prerender-ppr"===t.type?(0,o.postponeWithTracking)(e.route,r,t.dynamicTracking):(0,o.throwToInterruptStaticGeneration)(r,e,t),!1}return n.ReflectAdapter.has(r,a)},ownKeys(){let r="`{...searchParams}`, `Object.keys(searchParams)`, or similar";e.dynamicShouldError?(0,s.throwWithStaticGenerationBailoutErrorWithDynamicError)(e.route,r):"prerender-ppr"===t.type?(0,o.postponeWithTracking)(e.route,r,t.dynamicTracking):(0,o.throwToInterruptStaticGeneration)(r,e,t)}});return g.set(e,u),u}(e,t)}function y(e,t){return t.forceStatic?Promise.resolve({}):function(e,t){let r=g.get(e);if(r)return r;let n=Promise.resolve(e);return g.set(e,n),Object.keys(e).forEach(r=>{switch(r){case"hasOwnProperty":case"isPrototypeOf":case"propertyIsEnumerable":case"toString":case"valueOf":case"toLocaleString":case"then":case"catch":case"finally":case"status":case"toJSON":case"$$typeof":case"__esModule":break;default:Object.defineProperty(n,r,{get(){let n=a.workUnitAsyncStorage.getStore();return(0,o.trackDynamicDataInDynamicRender)(t,n),e[r]},set(e){Object.defineProperty(n,r,{value:e,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0})}}),n}(e,t)}let g=new WeakMap;function b(e,t){let r=e?`Route "${e}" `:"This route ";return Error(`${r}used ${t}. \`searchParams\` should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`)}(0,i.createDedupedByCallsiteServerErrorLoggerDev)(b),(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t,r){let n=e?`Route "${e}" `:"This route ";return Error(`${n}used ${t}. \`searchParams\` should be awaited before using its properties. The following properties were not available through enumeration because they conflict with builtin or well-known property names: ${function(e){switch(e.length){case 0:throw new u.InvariantError("Expected describeListOfPropertyNames to be called with a non-empty list of strings.");case 1:return`\`${e[0]}\``;case 2:return`\`${e[0]}\` and \`${e[1]}\``;default:{let t="";for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{describeHasCheckingStringProperty:function(){return u},describeStringPropertyAccess:function(){return a},throwWithStaticGenerationBailoutError:function(){return l},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return i},wellKnownProperties:function(){return s}});let n=r(5108),o=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function a(e,t){return o.test(t)?`\`${e}.${t}\``:`\`${e}[${JSON.stringify(t)}]\``}function u(e,t){let r=JSON.stringify(t);return`\`Reflect.has(${e}, ${r})\`, \`${r} in ${e}\`, or similar`}function l(e,t){throw new n.StaticGenBailoutError(`Route ${e} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`)}function i(e,t){throw new n.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`)}let s=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","toJSON","$$typeof","__esModule"])},7991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},4467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return u},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return i},TemplateContext:function(){return l}});let n=r(9920)._(r(2265)),o=n.default.createContext(null),a=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(null),i=n.default.createContext(new Set)},5759:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},4736:(e,t)=>{"use strict";function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},6590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(9920)._(r(2265)).default.createContext({})},8056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return u},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let n=r(2265),o=(0,n.createContext)(null),a=(0,n.createContext)(null),u=(0,n.createContext)(null)},8889:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InvariantError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e,t){super("Invariant: "+(e.endsWith(".")?e:e+".")+" This is a bug in Next.js.",t),this.name="InvariantError"}}},5260:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},4427:(e,t)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isThenable",{enumerable:!0,get:function(){return r}})},5592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},8558:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},1427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createMutableActionQueue",{enumerable:!0,get:function(){return s}});let n=r(1507),o=r(643),a=r(2265),u=r(4427);function l(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?i({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:n.ACTION_REFRESH,origin:window.location.origin},t)))}async function i(e){let{actionQueue:t,action:r,setState:n}=e,o=t.state;t.pending=r;let a=r.payload,i=t.action(o,a);function s(e){r.discarded||(t.state=e,l(t,n),r.resolve(e))}(0,u.isThenable)(i)?i.then(s,e=>{l(t,n),r.reject(e)}):s(i)}function s(e){let t={state:e,dispatch:(e,r)=>(function(e,t,r){let o={resolve:r,reject:()=>{}};if(t.type!==n.ACTION_RESTORE){let e=new Promise((e,t)=>{o={resolve:e,reject:t}});(0,a.startTransition)(()=>{r(e)})}let u={payload:t,next:null,resolve:o.resolve,reject:o.reject};null===e.pending?(e.last=u,i({actionQueue:e,action:u,setState:r})):t.type===n.ACTION_NAVIGATE||t.type===n.ACTION_RESTORE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===n.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),i({actionQueue:e,action:u,setState:r})):(null!==e.last&&(e.last.next=u),e.last=u)})(t,e,r),action:async(e,t)=>(0,o.reducer)(e,t),pending:null,last:null};return t}},2707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(1465);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},3330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return u}});let n=r(8558),o=r(0);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function u(e){return e.replace(/\.rsc($|\?)/,"$1")}},6180:(e,t)=>{"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},4092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}});let r=/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i;function n(e){return r.test(e)}},1465:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},5121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(1465);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},7741:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},0:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}function n(e,t){if(e.includes(o)){let e=JSON.stringify(t);return"{}"!==e?o+"?"+e:o}return e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return o},addSearchParamsIfPageSegment:function(){return n},isGroupSegment:function(){return r}});let o="__PAGE__",a="__DEFAULT__"},8005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return a}});let n=r(1452)._(r(2265)),o=n.default.createContext(null);function a(e){let t=(0,n.useContext)(o);t&&t(e)}},2301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},5818:(e,t,r)=>{"use strict";var n=r(2265);function o(e){var t="https://react.dev/errors/"+e;if(1{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(580)},4887:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(5818)},2112:(e,t,r)=>{"use strict";var n=r(4887),o={stream:!0},a=new Map;function u(e){var t=r(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function l(){}function i(e){for(var t=e[1],n=[],o=0;os||35===s||114===s||120===s?(c=s,s=3,l++):(c=0,s=3);continue;case 2:44===(y=u[l++])?s=4:f=f<<4|(96u.length&&(y=-1)}var g=u.byteOffset+l;if(-1{"use strict";e.exports=r(2112)},6671:(e,t,r)=>{"use strict";e.exports=r(6703)},9598:(e,t)=>{"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(e,t,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in n={},t)"key"!==a&&(n[a]=t[a]);else n=t;return{$$typeof:r,type:e,key:o,ref:void 0!==(t=n.ref)?t:null,props:n}}t.Fragment=n,t.jsx=o,t.jsxs=o},5944:(e,t,r)=>{"use strict";var n=r(357),o=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,_={};function m(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||g}function v(){}function P(e,t,r){this.props=e,this.context=t,this.refs=_,this.updater=r||g}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var O=P.prototype=new v;O.constructor=P,b(O,m.prototype),O.isPureReactComponent=!0;var E=Array.isArray,S={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function j(e,t,r,n,a,u,l){return{$$typeof:o,type:e,key:t,ref:void 0!==(r=l.ref)?r:null,props:l}}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var T=/\/+/g;function M(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function x(){}function A(e,t,r){if(null==e)return e;var n=[],u=0;return!function e(t,r,n,u,l){var i,s,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case a:d=!0;break;case h:return e((d=t._init)(t._payload),r,n,u,l)}}if(d)return l=l(t),d=""===u?"."+M(t,0):u,E(l)?(n="",null!=d&&(n=d.replace(T,"$&/")+"/"),e(l,r,n,"",function(e){return e})):null!=l&&(w(l)&&(i=l,s=n+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+d,l=j(i.type,s,null,void 0,void 0,void 0,i.props)),r.push(l)),1;d=0;var p=""===u?".":u+":";if(E(t))for(var g=0;g{"use strict";e.exports=r(5944)},7437:(e,t,r)=>{"use strict";e.exports=r(9598)},5535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(3208).createAsyncLocalStorage)()},3208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return l}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return o?new o:new n}function u(e){return o?o.bind(e):n.bind(e)}function l(){return o?o.snapshot():function(e,...t){return e(...t)}}},6575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(3208).createAsyncLocalStorage)()},8886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workUnitAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(3208).createAsyncLocalStorage)()},3449:(e,t,r)=>{"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}r.r(t),r.d(t,{_:()=>n})},7614:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_:()=>o});var n=0;function o(e){return"__private_"+n+++"_"+e}},9920:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},1452:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=a?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:()=>o})}}]); \ No newline at end of file diff --git a/_next/static/chunks/421-f4976e6dcea7c745.js b/_next/static/chunks/421-f4976e6dcea7c745.js deleted file mode 100644 index 3d9abbe..0000000 --- a/_next/static/chunks/421-f4976e6dcea7c745.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[421],{8030:(t,e,r)=>{r.d(e,{Z:()=>l});var i=r(2265);let n=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var t=arguments.length,e=Array(t),r=0;r!!t&&r.indexOf(t)===e).join(" ")};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,i.forwardRef)((t,e)=>{let{color:r="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:h,iconNode:c,...d}=t;return(0,i.createElement)("svg",{ref:e,...o,width:n,height:n,stroke:r,strokeWidth:l?24*Number(a)/Number(n):a,className:s("lucide",u),...d},[...c.map(t=>{let[e,r]=t;return(0,i.createElement)(e,r)}),...Array.isArray(h)?h:[h]])}),l=(t,e)=>{let r=(0,i.forwardRef)((r,o)=>{let{className:l,...u}=r;return(0,i.createElement)(a,{ref:o,iconNode:e,className:s("lucide-".concat(n(t)),l),...u})});return r.displayName="".concat(t),r}},2468:(t,e,r)=>{r.d(e,{Z:()=>i});let i=(0,r(8030).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},6884:(t,e,r)=>{r.d(e,{Z:()=>i});let i=(0,r(8030).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},4817:(t,e,r)=>{r.d(e,{Z:()=>i});let i=(0,r(8030).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},8149:(t,e,r)=>{r.d(e,{M:()=>i});function i(t,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(t?.(i),!1===r||!i.defaultPrevented)return e?.(i)}}},882:(t,e,r)=>{r.d(e,{VY:()=>th,h4:()=>tl,ck:()=>ta,fC:()=>to,xz:()=>tu});var i=r(2265),n=r.t(i,2),s=r(8324),o=r(7437),a=r(1584),l=r(1538),u=r(8149),h=r(5137);function c({prop:t,defaultProp:e,onChange:r=()=>{}}){let[n,s]=function({defaultProp:t,onChange:e}){let r=i.useState(t),[n]=r,s=i.useRef(n),o=(0,h.W)(e);return i.useEffect(()=>{s.current!==n&&(o(n),s.current=n)},[n,s,o]),r}({defaultProp:e,onChange:r}),o=void 0!==t,a=o?t:n,l=(0,h.W)(r);return[a,i.useCallback(e=>{if(o){let r="function"==typeof e?e(t):e;r!==t&&l(r)}else s(e)},[o,t,s,l])]}var d=r(5171),p=r(1336),f=r(1383),m=n["useId".toString()]||(()=>void 0),g=0;function v(t){let[e,r]=i.useState(m());return(0,p.b)(()=>{t||r(t=>t??String(g++))},[t]),t||(e?`radix-${e}`:"")}var y="Collapsible",[b,x]=(0,s.b)(y),[w,P]=b(y),S=i.forwardRef((t,e)=>{let{__scopeCollapsible:r,open:n,defaultOpen:s,disabled:a,onOpenChange:l,...u}=t,[h=!1,p]=c({prop:n,defaultProp:s,onChange:l});return(0,o.jsx)(w,{scope:r,disabled:a,contentId:v(),open:h,onOpenToggle:i.useCallback(()=>p(t=>!t),[p]),children:(0,o.jsx)(d.WV.div,{"data-state":k(h),"data-disabled":a?"":void 0,...u,ref:e})})});S.displayName=y;var T="CollapsibleTrigger",A=i.forwardRef((t,e)=>{let{__scopeCollapsible:r,...i}=t,n=P(T,r);return(0,o.jsx)(d.WV.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":k(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...i,ref:e,onClick:(0,u.M)(t.onClick,n.onOpenToggle)})});A.displayName=T;var E="CollapsibleContent",C=i.forwardRef((t,e)=>{let{forceMount:r,...i}=t,n=P(E,t.__scopeCollapsible);return(0,o.jsx)(f.z,{present:r||n.open,children:t=>{let{present:r}=t;return(0,o.jsx)(M,{...i,ref:e,present:r})}})});C.displayName=E;var M=i.forwardRef((t,e)=>{let{__scopeCollapsible:r,present:n,children:s,...l}=t,u=P(E,r),[h,c]=i.useState(n),f=i.useRef(null),m=(0,a.e)(e,f),g=i.useRef(0),v=g.current,y=i.useRef(0),b=y.current,x=u.open||h,w=i.useRef(x),S=i.useRef();return i.useEffect(()=>{let t=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(t)},[]),(0,p.b)(()=>{let t=f.current;if(t){S.current=S.current||{transitionDuration:t.style.transitionDuration,animationName:t.style.animationName},t.style.transitionDuration="0s",t.style.animationName="none";let e=t.getBoundingClientRect();g.current=e.height,y.current=e.width,w.current||(t.style.transitionDuration=S.current.transitionDuration,t.style.animationName=S.current.animationName),c(n)}},[u.open,n]),(0,o.jsx)(d.WV.div,{"data-state":k(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!x,...l,ref:m,style:{"--radix-collapsible-content-height":v?"".concat(v,"px"):void 0,"--radix-collapsible-content-width":b?"".concat(b,"px"):void 0,...t.style},children:x&&s})});function k(t){return t?"open":"closed"}var R=r(7513),j="Accordion",V=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[L,D,N]=function(t){let e=t+"CollectionProvider",[r,n]=function(t,e=[]){let r=[],n=()=>{let e=r.map(t=>i.createContext(t));return function(r){let n=r?.[t]||e;return i.useMemo(()=>({[`__scope${t}`]:{...r,[t]:n}}),[r,n])}};return n.scopeName=t,[function(e,n){let s=i.createContext(n),a=r.length;function l(e){let{scope:r,children:n,...l}=e,u=r?.[t][a]||s,h=i.useMemo(()=>l,Object.values(l));return(0,o.jsx)(u.Provider,{value:h,children:n})}return r=[...r,n],l.displayName=e+"Provider",[l,function(r,o){let l=o?.[t][a]||s,u=i.useContext(l);if(u)return u;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},function(...t){let e=t[0];if(1===t.length)return e;let r=()=>{let r=t.map(t=>({useScope:t(),scopeName:t.scopeName}));return function(t){let n=r.reduce((e,{useScope:r,scopeName:i})=>{let n=r(t)[`__scope${i}`];return{...e,...n}},{});return i.useMemo(()=>({[`__scope${e.scopeName}`]:n}),[n])}};return r.scopeName=e.scopeName,r}(n,...e)]}(e),[s,u]=r(e,{collectionRef:{current:null},itemMap:new Map}),h=t=>{let{scope:e,children:r}=t,n=i.useRef(null),a=i.useRef(new Map).current;return(0,o.jsx)(s,{scope:e,itemMap:a,collectionRef:n,children:r})};h.displayName=e;let c=t+"CollectionSlot",d=i.forwardRef((t,e)=>{let{scope:r,children:i}=t,n=u(c,r),s=(0,a.e)(e,n.collectionRef);return(0,o.jsx)(l.g7,{ref:s,children:i})});d.displayName=c;let p=t+"CollectionItemSlot",f="data-radix-collection-item",m=i.forwardRef((t,e)=>{let{scope:r,children:n,...s}=t,h=i.useRef(null),c=(0,a.e)(e,h),d=u(p,r);return i.useEffect(()=>(d.itemMap.set(h,{ref:h,...s}),()=>void d.itemMap.delete(h))),(0,o.jsx)(l.g7,{[f]:"",ref:c,children:n})});return m.displayName=p,[{Provider:h,Slot:d,ItemSlot:m},function(e){let r=u(t+"CollectionConsumer",e);return i.useCallback(()=>{let t=r.collectionRef.current;if(!t)return[];let e=Array.from(t.querySelectorAll("[".concat(f,"]")));return Array.from(r.itemMap.values()).sort((t,r)=>e.indexOf(t.ref.current)-e.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(j),[F,O]=(0,s.b)(j,[N,x]),I=x(),B=i.forwardRef((t,e)=>{let{type:r,...i}=t;return(0,o.jsx)(L.Provider,{scope:t.__scopeAccordion,children:"multiple"===r?(0,o.jsx)(H,{...i,ref:e}):(0,o.jsx)(U,{...i,ref:e})})});B.displayName=j;var[_,$]=F(j),[z,W]=F(j,{collapsible:!1}),U=i.forwardRef((t,e)=>{let{value:r,defaultValue:n,onValueChange:s=()=>{},collapsible:a=!1,...l}=t,[u,h]=c({prop:r,defaultProp:n,onChange:s});return(0,o.jsx)(_,{scope:t.__scopeAccordion,value:u?[u]:[],onItemOpen:h,onItemClose:i.useCallback(()=>a&&h(""),[a,h]),children:(0,o.jsx)(z,{scope:t.__scopeAccordion,collapsible:a,children:(0,o.jsx)(Z,{...l,ref:e})})})}),H=i.forwardRef((t,e)=>{let{value:r,defaultValue:n,onValueChange:s=()=>{},...a}=t,[l=[],u]=c({prop:r,defaultProp:n,onChange:s}),h=i.useCallback(t=>u(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...e,t]}),[u]),d=i.useCallback(t=>u(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(e=>e!==t)}),[u]);return(0,o.jsx)(_,{scope:t.__scopeAccordion,value:l,onItemOpen:h,onItemClose:d,children:(0,o.jsx)(z,{scope:t.__scopeAccordion,collapsible:!0,children:(0,o.jsx)(Z,{...a,ref:e})})})}),[Y,X]=F(j),Z=i.forwardRef((t,e)=>{let{__scopeAccordion:r,disabled:n,dir:s,orientation:l="vertical",...h}=t,c=i.useRef(null),p=(0,a.e)(c,e),f=D(r),m="ltr"===(0,R.gm)(s),g=(0,u.M)(t.onKeyDown,t=>{var e;if(!V.includes(t.key))return;let r=t.target,i=f().filter(t=>{var e;return!(null===(e=t.ref.current)||void 0===e?void 0:e.disabled)}),n=i.findIndex(t=>t.ref.current===r),s=i.length;if(-1===n)return;t.preventDefault();let o=n,a=s-1,u=()=>{(o=n+1)>a&&(o=0)},h=()=>{(o=n-1)<0&&(o=a)};switch(t.key){case"Home":o=0;break;case"End":o=a;break;case"ArrowRight":"horizontal"===l&&(m?u():h());break;case"ArrowDown":"vertical"===l&&u();break;case"ArrowLeft":"horizontal"===l&&(m?h():u());break;case"ArrowUp":"vertical"===l&&h()}null===(e=i[o%s].ref.current)||void 0===e||e.focus()});return(0,o.jsx)(Y,{scope:r,disabled:n,direction:s,orientation:l,children:(0,o.jsx)(L.Slot,{scope:r,children:(0,o.jsx)(d.WV.div,{...h,"data-orientation":l,ref:p,onKeyDown:n?void 0:g})})})}),K="AccordionItem",[G,q]=F(K),J=i.forwardRef((t,e)=>{let{__scopeAccordion:r,value:i,...n}=t,s=X(K,r),a=$(K,r),l=I(r),u=v(),h=i&&a.value.includes(i)||!1,c=s.disabled||t.disabled;return(0,o.jsx)(G,{scope:r,open:h,disabled:c,triggerId:u,children:(0,o.jsx)(S,{"data-orientation":s.orientation,"data-state":ts(h),...l,...n,ref:e,disabled:c,open:h,onOpenChange:t=>{t?a.onItemOpen(i):a.onItemClose(i)}})})});J.displayName=K;var Q="AccordionHeader",tt=i.forwardRef((t,e)=>{let{__scopeAccordion:r,...i}=t,n=X(j,r),s=q(Q,r);return(0,o.jsx)(d.WV.h3,{"data-orientation":n.orientation,"data-state":ts(s.open),"data-disabled":s.disabled?"":void 0,...i,ref:e})});tt.displayName=Q;var te="AccordionTrigger",tr=i.forwardRef((t,e)=>{let{__scopeAccordion:r,...i}=t,n=X(j,r),s=q(te,r),a=W(te,r),l=I(r);return(0,o.jsx)(L.ItemSlot,{scope:r,children:(0,o.jsx)(A,{"aria-disabled":s.open&&!a.collapsible||void 0,"data-orientation":n.orientation,id:s.triggerId,...l,...i,ref:e})})});tr.displayName=te;var ti="AccordionContent",tn=i.forwardRef((t,e)=>{let{__scopeAccordion:r,...i}=t,n=X(j,r),s=q(ti,r),a=I(r);return(0,o.jsx)(C,{role:"region","aria-labelledby":s.triggerId,"data-orientation":n.orientation,...a,...i,ref:e,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...t.style}})});function ts(t){return t?"open":"closed"}tn.displayName=ti;var to=B,ta=J,tl=tt,tu=tr,th=tn},1584:(t,e,r)=>{r.d(e,{F:()=>n,e:()=>s});var i=r(2265);function n(...t){return e=>t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}function s(...t){return i.useCallback(n(...t),t)}},8324:(t,e,r)=>{r.d(e,{b:()=>s});var i=r(2265),n=r(7437);function s(t,e=[]){let r=[],o=()=>{let e=r.map(t=>i.createContext(t));return function(r){let n=r?.[t]||e;return i.useMemo(()=>({[`__scope${t}`]:{...r,[t]:n}}),[r,n])}};return o.scopeName=t,[function(e,s){let o=i.createContext(s),a=r.length;r=[...r,s];let l=e=>{let{scope:r,children:s,...l}=e,u=r?.[t]?.[a]||o,h=i.useMemo(()=>l,Object.values(l));return(0,n.jsx)(u.Provider,{value:h,children:s})};return l.displayName=e+"Provider",[l,function(r,n){let l=n?.[t]?.[a]||o,u=i.useContext(l);if(u)return u;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${e}\``)}]},function(...t){let e=t[0];if(1===t.length)return e;let r=()=>{let r=t.map(t=>({useScope:t(),scopeName:t.scopeName}));return function(t){let n=r.reduce((e,{useScope:r,scopeName:i})=>{let n=r(t)[`__scope${i}`];return{...e,...n}},{});return i.useMemo(()=>({[`__scope${e.scopeName}`]:n}),[n])}};return r.scopeName=e.scopeName,r}(o,...e)]}},7513:(t,e,r)=>{r.d(e,{gm:()=>s});var i=r(2265);r(7437);var n=i.createContext(void 0);function s(t){let e=i.useContext(n);return t||e||"ltr"}},1383:(t,e,r)=>{r.d(e,{z:()=>o});var i=r(2265),n=r(1584),s=r(1336),o=t=>{let{present:e,children:r}=t,o=function(t){var e,r;let[n,o]=i.useState(),l=i.useRef({}),u=i.useRef(t),h=i.useRef("none"),[c,d]=(e=t?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((t,e)=>{let i=r[t][e];return null!=i?i:t},e));return i.useEffect(()=>{let t=a(l.current);h.current="mounted"===c?t:"none"},[c]),(0,s.b)(()=>{let e=l.current,r=u.current;if(r!==t){let i=h.current,n=a(e);t?d("MOUNT"):"none"===n||(null==e?void 0:e.display)==="none"?d("UNMOUNT"):r&&i!==n?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=t}},[t,d]),(0,s.b)(()=>{if(n){var t;let e;let r=null!==(t=n.ownerDocument.defaultView)&&void 0!==t?t:window,i=t=>{let i=a(l.current).includes(t.animationName);if(t.target===n&&i&&(d("ANIMATION_END"),!u.current)){let t=n.style.animationFillMode;n.style.animationFillMode="forwards",e=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=t)})}},s=t=>{t.target===n&&(h.current=a(l.current))};return n.addEventListener("animationstart",s),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i),()=>{r.clearTimeout(e),n.removeEventListener("animationstart",s),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:i.useCallback(t=>{t&&(l.current=getComputedStyle(t)),o(t)},[])}}(e),l="function"==typeof r?r({present:o.isPresent}):i.Children.only(r),u=(0,n.e)(o.ref,function(t){var e,r;let i=null===(e=Object.getOwnPropertyDescriptor(t.props,"ref"))||void 0===e?void 0:e.get,n=i&&"isReactWarning"in i&&i.isReactWarning;return n?t.ref:(n=(i=null===(r=Object.getOwnPropertyDescriptor(t,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in i&&i.isReactWarning)?t.props.ref:t.props.ref||t.ref}(l));return"function"==typeof r||o.isPresent?i.cloneElement(l,{ref:u}):null};function a(t){return(null==t?void 0:t.animationName)||"none"}o.displayName="Presence"},5171:(t,e,r)=>{r.d(e,{WV:()=>o});var i=r(2265);r(4887);var n=r(1538),s=r(7437),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{let r=i.forwardRef((t,r)=>{let{asChild:i,...o}=t,a=i?n.g7:e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{})},2286:(t,e,r)=>{r.d(e,{Ns:()=>Z,fC:()=>Y,gb:()=>P,q4:()=>L,l_:()=>X});var i=r(2265),n=r(5171),s=r(1383),o=r(8324),a=r(1584),l=r(5137),u=r(7513),h=r(1336),c=r(8149),d=r(7437),p="ScrollArea",[f,m]=(0,o.b)(p),[g,v]=f(p),y=i.forwardRef((t,e)=>{let{__scopeScrollArea:r,type:s="hover",dir:o,scrollHideDelay:l=600,...h}=t,[c,p]=i.useState(null),[f,m]=i.useState(null),[v,y]=i.useState(null),[b,x]=i.useState(null),[w,P]=i.useState(null),[S,T]=i.useState(0),[A,E]=i.useState(0),[C,M]=i.useState(!1),[k,R]=i.useState(!1),j=(0,a.e)(e,t=>p(t)),V=(0,u.gm)(o);return(0,d.jsx)(g,{scope:r,type:s,dir:V,scrollHideDelay:l,scrollArea:c,viewport:f,onViewportChange:m,content:v,onContentChange:y,scrollbarX:b,onScrollbarXChange:x,scrollbarXEnabled:C,onScrollbarXEnabledChange:M,scrollbarY:w,onScrollbarYChange:P,scrollbarYEnabled:k,onScrollbarYEnabledChange:R,onCornerWidthChange:T,onCornerHeightChange:E,children:(0,d.jsx)(n.WV.div,{dir:V,...h,ref:j,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":A+"px",...t.style}})})});y.displayName=p;var b="ScrollAreaViewport",x=i.forwardRef((t,e)=>{let{__scopeScrollArea:r,children:s,asChild:o,nonce:l,...u}=t,h=v(b,r),c=i.useRef(null),p=(0,a.e)(e,c,h.onViewportChange);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n[data-radix-scroll-area-viewport] {\n scrollbar-width: none;\n -ms-overflow-style: none;\n -webkit-overflow-scrolling: touch;\n}\n[data-radix-scroll-area-viewport]::-webkit-scrollbar {\n display: none;\n}\n:where([data-radix-scroll-area-viewport]) {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n}\n:where([data-radix-scroll-area-content]) {\n flex-grow: 1;\n}\n"},nonce:l}),(0,d.jsx)(n.WV.div,{"data-radix-scroll-area-viewport":"",...u,asChild:o,ref:p,style:{overflowX:h.scrollbarXEnabled?"scroll":"hidden",overflowY:h.scrollbarYEnabled?"scroll":"hidden",...t.style},children:function(t,e){let{asChild:r,children:n}=t;if(!r)return"function"==typeof e?e(n):e;let s=i.Children.only(n);return i.cloneElement(s,{children:"function"==typeof e?e(s.props.children):e})}({asChild:o,children:s},t=>(0,d.jsx)("div",{"data-radix-scroll-area-content":"",ref:h.onContentChange,style:{minWidth:h.scrollbarXEnabled?"fit-content":void 0},children:t}))})]})});x.displayName=b;var w="ScrollAreaScrollbar",P=i.forwardRef((t,e)=>{let{forceMount:r,...n}=t,s=v(w,t.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:a}=s,l="horizontal"===t.orientation;return i.useEffect(()=>(l?o(!0):a(!0),()=>{l?o(!1):a(!1)}),[l,o,a]),"hover"===s.type?(0,d.jsx)(S,{...n,ref:e,forceMount:r}):"scroll"===s.type?(0,d.jsx)(T,{...n,ref:e,forceMount:r}):"auto"===s.type?(0,d.jsx)(A,{...n,ref:e,forceMount:r}):"always"===s.type?(0,d.jsx)(E,{...n,ref:e}):null});P.displayName=w;var S=i.forwardRef((t,e)=>{let{forceMount:r,...n}=t,o=v(w,t.__scopeScrollArea),[a,l]=i.useState(!1);return i.useEffect(()=>{let t=o.scrollArea,e=0;if(t){let r=()=>{window.clearTimeout(e),l(!0)},i=()=>{e=window.setTimeout(()=>l(!1),o.scrollHideDelay)};return t.addEventListener("pointerenter",r),t.addEventListener("pointerleave",i),()=>{window.clearTimeout(e),t.removeEventListener("pointerenter",r),t.removeEventListener("pointerleave",i)}}},[o.scrollArea,o.scrollHideDelay]),(0,d.jsx)(s.z,{present:r||a,children:(0,d.jsx)(A,{"data-state":a?"visible":"hidden",...n,ref:e})})}),T=i.forwardRef((t,e)=>{var r,n;let{forceMount:o,...a}=t,l=v(w,t.__scopeScrollArea),u="horizontal"===t.orientation,h=U(()=>f("SCROLL_END"),100),[p,f]=(r="hidden",n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},i.useReducer((t,e)=>{let r=n[t][e];return null!=r?r:t},r));return i.useEffect(()=>{if("idle"===p){let t=window.setTimeout(()=>f("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(t)}},[p,l.scrollHideDelay,f]),i.useEffect(()=>{let t=l.viewport,e=u?"scrollLeft":"scrollTop";if(t){let r=t[e],i=()=>{let i=t[e];r!==i&&(f("SCROLL"),h()),r=i};return t.addEventListener("scroll",i),()=>t.removeEventListener("scroll",i)}},[l.viewport,u,f,h]),(0,d.jsx)(s.z,{present:o||"hidden"!==p,children:(0,d.jsx)(E,{"data-state":"hidden"===p?"hidden":"visible",...a,ref:e,onPointerEnter:(0,c.M)(t.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,c.M)(t.onPointerLeave,()=>f("POINTER_LEAVE"))})})}),A=i.forwardRef((t,e)=>{let r=v(w,t.__scopeScrollArea),{forceMount:n,...o}=t,[a,l]=i.useState(!1),u="horizontal"===t.orientation,h=U(()=>{if(r.viewport){let t=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=t,s=v(w,t.__scopeScrollArea),o=i.useRef(null),a=i.useRef(0),[l,u]=i.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),h=B(l.viewport,l.content),c={...n,sizes:l,onSizesChange:u,hasThumb:!!(h>0&&h<1),onThumbChange:t=>o.current=t,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:t=>a.current=t};function p(t,e){return function(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ltr",n=_(r),s=e||n/2,o=r.scrollbar.paddingStart+s,a=r.scrollbar.size-r.scrollbar.paddingEnd-(n-s),l=r.content-r.viewport;return z([o,a],"ltr"===i?[0,l]:[-1*l,0])(t)}(t,a.current,l,e)}return"horizontal"===r?(0,d.jsx)(C,{...c,ref:e,onThumbPositionChange:()=>{if(s.viewport&&o.current){let t=$(s.viewport.scrollLeft,l,s.dir);o.current.style.transform="translate3d(".concat(t,"px, 0, 0)")}},onWheelScroll:t=>{s.viewport&&(s.viewport.scrollLeft=t)},onDragScroll:t=>{s.viewport&&(s.viewport.scrollLeft=p(t,s.dir))}}):"vertical"===r?(0,d.jsx)(M,{...c,ref:e,onThumbPositionChange:()=>{if(s.viewport&&o.current){let t=$(s.viewport.scrollTop,l);o.current.style.transform="translate3d(0, ".concat(t,"px, 0)")}},onWheelScroll:t=>{s.viewport&&(s.viewport.scrollTop=t)},onDragScroll:t=>{s.viewport&&(s.viewport.scrollTop=p(t))}}):null}),C=i.forwardRef((t,e)=>{let{sizes:r,onSizesChange:n,...s}=t,o=v(w,t.__scopeScrollArea),[l,u]=i.useState(),h=i.useRef(null),c=(0,a.e)(e,h,o.onScrollbarXChange);return i.useEffect(()=>{h.current&&u(getComputedStyle(h.current))},[h]),(0,d.jsx)(j,{"data-orientation":"horizontal",...s,ref:c,sizes:r,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":_(r)+"px",...t.style},onThumbPointerDown:e=>t.onThumbPointerDown(e.x),onDragScroll:e=>t.onDragScroll(e.x),onWheelScroll:(e,r)=>{if(o.viewport){let i=o.viewport.scrollLeft+e.deltaX;t.onWheelScroll(i),function(t,e){return t>0&&t{h.current&&o.viewport&&l&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:h.current.clientWidth,paddingStart:I(l.paddingLeft),paddingEnd:I(l.paddingRight)}})}})}),M=i.forwardRef((t,e)=>{let{sizes:r,onSizesChange:n,...s}=t,o=v(w,t.__scopeScrollArea),[l,u]=i.useState(),h=i.useRef(null),c=(0,a.e)(e,h,o.onScrollbarYChange);return i.useEffect(()=>{h.current&&u(getComputedStyle(h.current))},[h]),(0,d.jsx)(j,{"data-orientation":"vertical",...s,ref:c,sizes:r,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":_(r)+"px",...t.style},onThumbPointerDown:e=>t.onThumbPointerDown(e.y),onDragScroll:e=>t.onDragScroll(e.y),onWheelScroll:(e,r)=>{if(o.viewport){let i=o.viewport.scrollTop+e.deltaY;t.onWheelScroll(i),function(t,e){return t>0&&t{h.current&&o.viewport&&l&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:h.current.clientHeight,paddingStart:I(l.paddingTop),paddingEnd:I(l.paddingBottom)}})}})}),[k,R]=f(w),j=i.forwardRef((t,e)=>{let{__scopeScrollArea:r,sizes:s,hasThumb:o,onThumbChange:u,onThumbPointerUp:h,onThumbPointerDown:p,onThumbPositionChange:f,onDragScroll:m,onWheelScroll:g,onResize:y,...b}=t,x=v(w,r),[P,S]=i.useState(null),T=(0,a.e)(e,t=>S(t)),A=i.useRef(null),E=i.useRef(""),C=x.viewport,M=s.content-s.viewport,R=(0,l.W)(g),j=(0,l.W)(f),V=U(y,10);function L(t){A.current&&m({x:t.clientX-A.current.left,y:t.clientY-A.current.top})}return i.useEffect(()=>{let t=t=>{let e=t.target;(null==P?void 0:P.contains(e))&&R(t,M)};return document.addEventListener("wheel",t,{passive:!1}),()=>document.removeEventListener("wheel",t,{passive:!1})},[C,P,M,R]),i.useEffect(j,[s,j]),H(P,V),H(x.content,V),(0,d.jsx)(k,{scope:r,scrollbar:P,hasThumb:o,onThumbChange:(0,l.W)(u),onThumbPointerUp:(0,l.W)(h),onThumbPositionChange:j,onThumbPointerDown:(0,l.W)(p),children:(0,d.jsx)(n.WV.div,{...b,ref:T,style:{position:"absolute",...b.style},onPointerDown:(0,c.M)(t.onPointerDown,t=>{0===t.button&&(t.target.setPointerCapture(t.pointerId),A.current=P.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",x.viewport&&(x.viewport.style.scrollBehavior="auto"),L(t))}),onPointerMove:(0,c.M)(t.onPointerMove,L),onPointerUp:(0,c.M)(t.onPointerUp,t=>{let e=t.target;e.hasPointerCapture(t.pointerId)&&e.releasePointerCapture(t.pointerId),document.body.style.webkitUserSelect=E.current,x.viewport&&(x.viewport.style.scrollBehavior=""),A.current=null})})})}),V="ScrollAreaThumb",L=i.forwardRef((t,e)=>{let{forceMount:r,...i}=t,n=R(V,t.__scopeScrollArea);return(0,d.jsx)(s.z,{present:r||n.hasThumb,children:(0,d.jsx)(D,{ref:e,...i})})}),D=i.forwardRef((t,e)=>{let{__scopeScrollArea:r,style:s,...o}=t,l=v(V,r),u=R(V,r),{onThumbPositionChange:h}=u,p=(0,a.e)(e,t=>u.onThumbChange(t)),f=i.useRef(),m=U(()=>{f.current&&(f.current(),f.current=void 0)},100);return i.useEffect(()=>{let t=l.viewport;if(t){let e=()=>{if(m(),!f.current){let e=W(t,h);f.current=e,h()}};return h(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[l.viewport,m,h]),(0,d.jsx)(n.WV.div,{"data-state":u.hasThumb?"visible":"hidden",...o,ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:(0,c.M)(t.onPointerDownCapture,t=>{let e=t.target.getBoundingClientRect(),r=t.clientX-e.left,i=t.clientY-e.top;u.onThumbPointerDown({x:r,y:i})}),onPointerUp:(0,c.M)(t.onPointerUp,u.onThumbPointerUp)})});L.displayName=V;var N="ScrollAreaCorner",F=i.forwardRef((t,e)=>{let r=v(N,t.__scopeScrollArea),i=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&i?(0,d.jsx)(O,{...t,ref:e}):null});F.displayName=N;var O=i.forwardRef((t,e)=>{let{__scopeScrollArea:r,...s}=t,o=v(N,r),[a,l]=i.useState(0),[u,h]=i.useState(0),c=!!(a&&u);return H(o.scrollbarX,()=>{var t;let e=(null===(t=o.scrollbarX)||void 0===t?void 0:t.offsetHeight)||0;o.onCornerHeightChange(e),h(e)}),H(o.scrollbarY,()=>{var t;let e=(null===(t=o.scrollbarY)||void 0===t?void 0:t.offsetWidth)||0;o.onCornerWidthChange(e),l(e)}),c?(0,d.jsx)(n.WV.div,{...s,ref:e,style:{width:a,height:u,position:"absolute",right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:0,...t.style}}):null});function I(t){return t?parseInt(t,10):0}function B(t,e){let r=t/e;return isNaN(r)?0:r}function _(t){let e=B(t.viewport,t.content),r=t.scrollbar.paddingStart+t.scrollbar.paddingEnd;return Math.max((t.scrollbar.size-r)*e,18)}function $(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",i=_(e),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,s=e.scrollbar.size-n,o=e.content-e.viewport,a=function(t,[e,r]){return Math.min(r,Math.max(e,t))}(t,"ltr"===r?[0,o]:[-1*o,0]);return z([0,o],[0,s-i])(a)}function z(t,e){return r=>{if(t[0]===t[1]||e[0]===e[1])return e[0];let i=(e[1]-e[0])/(t[1]-t[0]);return e[0]+i*(r-t[0])}}var W=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},r={left:t.scrollLeft,top:t.scrollTop},i=0;return!function n(){let s={left:t.scrollLeft,top:t.scrollTop},o=r.left!==s.left,a=r.top!==s.top;(o||a)&&e(),r=s,i=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(i)};function U(t,e){let r=(0,l.W)(t),n=i.useRef(0);return i.useEffect(()=>()=>window.clearTimeout(n.current),[]),i.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,e)},[r,e])}function H(t,e){let r=(0,l.W)(e);(0,h.b)(()=>{let e=0;if(t){let i=new ResizeObserver(()=>{cancelAnimationFrame(e),e=window.requestAnimationFrame(r)});return i.observe(t),()=>{window.cancelAnimationFrame(e),i.unobserve(t)}}},[t,r])}var Y=y,X=x,Z=F},1538:(t,e,r)=>{r.d(e,{g7:()=>o});var i=r(2265),n=r(1584),s=r(7437),o=i.forwardRef((t,e)=>{let{children:r,...n}=t,o=i.Children.toArray(r),l=o.find(u);if(l){let t=l.props.children,r=o.map(e=>e!==l?e:i.Children.count(t)>1?i.Children.only(null):i.isValidElement(t)?t.props.children:null);return(0,s.jsx)(a,{...n,ref:e,children:i.isValidElement(t)?i.cloneElement(t,void 0,r):null})}return(0,s.jsx)(a,{...n,ref:e,children:r})});o.displayName="Slot";var a=i.forwardRef((t,e)=>{let{children:r,...s}=t;if(i.isValidElement(r)){let t=function(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(r=(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?t.props.ref:t.props.ref||t.ref}(r);return i.cloneElement(r,{...function(t,e){let r={...e};for(let i in e){let n=t[i],s=e[i];/^on[A-Z]/.test(i)?n&&s?r[i]=(...t)=>{s(...t),n(...t)}:n&&(r[i]=n):"style"===i?r[i]={...n,...s}:"className"===i&&(r[i]=[n,s].filter(Boolean).join(" "))}return{...t,...r}}(s,r.props),ref:e?(0,n.F)(e,t):t})}return i.Children.count(r)>1?i.Children.only(null):null});a.displayName="SlotClone";var l=({children:t})=>(0,s.jsx)(s.Fragment,{children:t});function u(t){return i.isValidElement(t)&&t.type===l}},5137:(t,e,r)=>{r.d(e,{W:()=>n});var i=r(2265);function n(t){let e=i.useRef(t);return i.useEffect(()=>{e.current=t}),i.useMemo(()=>(...t)=>e.current?.(...t),[])}},1336:(t,e,r)=>{r.d(e,{b:()=>n});var i=r(2265),n=globalThis?.document?i.useLayoutEffect:()=>{}},2218:(t,e,r)=>{r.d(e,{j:()=>s});let i=t=>"boolean"==typeof t?"".concat(t):0===t?"0":t,n=function(){for(var t,e,r=0,i="";rr=>{var s;if((null==e?void 0:e.variants)==null)return n(t,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:a}=e,l=Object.keys(o).map(t=>{let e=null==r?void 0:r[t],n=null==a?void 0:a[t];if(null===e)return null;let s=i(e)||i(n);return o[t][s]}),u=r&&Object.entries(r).reduce((t,e)=>{let[r,i]=e;return void 0===i||(t[r]=i),t},{});return n(t,l,null==e?void 0:null===(s=e.compoundVariants)||void 0===s?void 0:s.reduce((t,e)=>{let{class:r,className:i,...n}=e;return Object.entries(n).every(t=>{let[e,r]=t;return Array.isArray(r)?r.includes({...a,...u}[e]):({...a,...u})[e]===r})?[...t,r,i]:t},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},4839:(t,e,r)=>{r.d(e,{W:()=>i});function i(){for(var t,e,r=0,i="",n=arguments.length;r{r.d(e,{M:()=>v});var i=r(7437),n=r(2265),s=r(7797),o=r(458),a=r(9791);class l extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u(t){let{children:e,isPresent:r}=t,s=(0,n.useId)(),o=(0,n.useRef)(null),u=(0,n.useRef)({width:0,height:0,top:0,left:0}),{nonce:h}=(0,n.useContext)(a._);return(0,n.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:n}=u.current;if(r||!o.current||!t||!e)return;o.current.dataset.motionPopId=s;let a=document.createElement("style");return h&&(a.nonce=h),document.head.appendChild(a),a.sheet&&a.sheet.insertRule('\n [data-motion-pop-id="'.concat(s,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n top: ").concat(i,"px !important;\n left: ").concat(n,"px !important;\n }\n ")),()=>{document.head.removeChild(a)}},[r]),(0,i.jsx)(l,{isPresent:r,childRef:o,sizeRef:u,children:n.cloneElement(e,{ref:o})})}let h=t=>{let{children:e,initial:r,isPresent:a,onExitComplete:l,custom:h,presenceAffectsLayout:d,mode:p}=t,f=(0,o.h)(c),m=(0,n.useId)(),g=(0,n.useCallback)(t=>{for(let e of(f.set(t,!0),f.values()))if(!e)return;l&&l()},[f,l]),v=(0,n.useMemo)(()=>({id:m,initial:r,isPresent:a,custom:h,onExitComplete:g,register:t=>(f.set(t,!1),()=>f.delete(t))}),d?[Math.random(),g]:[a,g]);return(0,n.useMemo)(()=>{f.forEach((t,e)=>f.set(e,!1))},[a]),n.useEffect(()=>{a||f.size||!l||l()},[a]),"popLayout"===p&&(e=(0,i.jsx)(u,{isPresent:a,children:e})),(0,i.jsx)(s.O.Provider,{value:v,children:e})};function c(){return new Map}var d=r(5050),p=r(9047);let f=t=>t.key||"";function m(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}var g=r(9033);let v=t=>{let{children:e,exitBeforeEnter:r,custom:s,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync"}=t;(0,p.k)(!r,"Replace exitBeforeEnter with mode='wait'");let v=(0,n.useMemo)(()=>m(e),[e]),y=v.map(f),b=(0,n.useRef)(!0),x=(0,n.useRef)(v),w=(0,o.h)(()=>new Map),[P,S]=(0,n.useState)(v),[T,A]=(0,n.useState)(v);(0,g.L)(()=>{b.current=!1,x.current=v;for(let t=0;t{let e=f(t),r=v===T||y.includes(e);return(0,i.jsx)(h,{isPresent:r,initial:(!b.current||!!a)&&void 0,custom:r?void 0:s,presenceAffectsLayout:u,mode:c,onExitComplete:r?void 0:()=>{if(!w.has(e))return;w.set(e,!0);let t=!0;w.forEach(e=>{e||(t=!1)}),t&&(null==C||C(),A(x.current),l&&l())},children:t},e)})})}},5050:(t,e,r)=>{r.d(e,{p:()=>i});let i=(0,r(2265).createContext)({})},9791:(t,e,r)=>{r.d(e,{_:()=>i});let i=(0,r(2265).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},7797:(t,e,r)=>{r.d(e,{O:()=>i});let i=(0,r(2265).createContext)(null)},8606:(t,e,r)=>{let i;function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}r.d(e,{E:()=>so});let s=t=>Array.isArray(t);function o(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let i=0;i{e[0][r]=t.get(),e[1][r]=t.getVelocity()}),e}(i);e=e(void 0!==r?r:t.custom,n,s)}return e}function u(t,e,r){let i=t.getProps();return l(i,e,void 0!==r?r:i.custom,t)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],c=["initial",...h],d=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],p=new Set(d),f=t=>1e3*t,m=t=>t/1e3,g={type:"spring",stiffness:500,damping:25,restSpeed:10},v=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),y={type:"keyframes",duration:.8},b={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},x=(t,{keyframes:e})=>e.length>2?y:p.has(t)?t.startsWith("scale")?v(e[1]):g:b;function w(t,e){return t?t[e]||t.default||t:void 0}let P={skipAnimations:!1,useManualTiming:!1},S={current:!1},T=t=>null!==t;function A(t,{repeat:e,repeatType:r="loop"},i){let n=t.filter(T),s=e&&"loop"!==r&&e%2==1?0:n.length-1;return s&&void 0!==i?i:n[s]}var E,C,M=r(9276);let k=["read","resolveKeyframes","update","preRender","render","postRender"];function R(t,e){let r=!1,i=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,o=k.reduce((t,e)=>(t[e]=function(t){let e=new Set,r=new Set,i=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,n=!1,o=!1)=>{let a=o&&i?e:r;return n&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),s.delete(t)},process:t=>{if(o=t,i){n=!0;return}i=!0,[e,r]=[r,e],r.clear(),e.forEach(a),i=!1,n&&(n=!1,l.process(t))}};return l}(s),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:c,postRender:d}=o,p=()=>{let s=P.useManualTiming?n.timestamp:performance.now();r=!1,n.delta=i?1e3/60:Math.max(Math.min(s-n.timestamp,40),1),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),c.process(n),d.process(n),n.isProcessing=!1,r&&e&&(i=!1,t(p))},f=()=>{r=!0,i=!0,n.isProcessing||t(p)};return{schedule:k.reduce((t,e)=>{let i=o[e];return t[e]=(t,e=!1,n=!1)=>(r||f(),i.schedule(t,e,n)),t},{}),cancel:t=>{for(let e=0;e(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function F(t,e,r,i){if(t===e&&r===i)return M.Z;let n=e=>(function(t,e,r,i,n){let s,o;let a=0;do(s=N(o=e+(r-e)/2,i,n)-t)>0?r=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,r);return t=>0===t||1===t?t:N(n(t),e,i)}let O=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,I=t=>e=>1-t(1-e),B=F(.33,1.53,.69,.99),_=I(B),$=O(_),z=t=>(t*=2)<1?.5*_(t):.5*(2-Math.pow(2,-10*(t-1))),W=t=>1-Math.sin(Math.acos(t)),U=I(W),H=O(W),Y=t=>/^0[^.\s]+$/u.test(t);var X=r(9047);let Z=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),K=t=>e=>"string"==typeof e&&e.startsWith(t),G=K("--"),q=K("var(--"),J=t=>!!q(t)&&Q.test(t.split("/*")[0].trim()),Q=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,tt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,te=(t,e,r)=>r>e?e:r"number"==typeof t,parse:parseFloat,transform:t=>t},ti={...tr,transform:t=>te(0,1,t)},tn={...tr,default:1},ts=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),to=ts("deg"),ta=ts("%"),tl=ts("px"),tu=ts("vh"),th=ts("vw"),tc={...ta,parse:t=>ta.parse(t)/100,transform:t=>ta.transform(100*t)},td=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tp=t=>t===tr||t===tl,tf=(t,e)=>parseFloat(t.split(", ")[e]),tm=(t,e)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let n=i.match(/^matrix3d\((.+)\)$/u);if(n)return tf(n[1],e);{let e=i.match(/^matrix\((.+)\)$/u);return e?tf(e[1],t):0}},tg=new Set(["x","y","z"]),tv=d.filter(t=>!tg.has(t)),ty={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:tm(4,13),y:tm(5,14)};ty.translateX=ty.x,ty.translateY=ty.y;let tb=t=>e=>e.test(t),tx=[tr,tl,ta,to,th,tu,{test:t=>"auto"===t,parse:t=>t}],tw=t=>tx.find(tb(t)),tP=new Set,tS=!1,tT=!1;function tA(){if(tT){let t=Array.from(tP).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=function(t){let e=[];return tv.forEach(r=>{let i=t.getValue(r);void 0!==i&&(e.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),e}(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,r])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tT=!1,tS=!1,tP.forEach(t=>t.complete()),tP.clear()}function tE(){tP.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tT=!0)})}class tC{constructor(t,e,r,i,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tP.add(this),tS||(tS=!0,j.read(tE),j.resolveKeyframes(tA))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:r,motionValue:i}=this;for(let n=0;nMath.round(1e5*t)/1e5,tk=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tj=(t,e)=>r=>!!("string"==typeof r&&tR.test(r)&&r.startsWith(t)||e&&null!=r&&Object.prototype.hasOwnProperty.call(r,e)),tV=(t,e,r)=>i=>{if("string"!=typeof i)return i;let[n,s,o,a]=i.match(tk);return{[t]:parseFloat(n),[e]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tL=t=>te(0,255,t),tD={...tr,transform:t=>Math.round(tL(t))},tN={test:tj("rgb","red"),parse:tV("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+tD.transform(t)+", "+tD.transform(e)+", "+tD.transform(r)+", "+tM(ti.transform(i))+")"},tF={test:tj("#"),parse:function(t){let e="",r="",i="",n="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),n=t.substring(4,5),e+=e,r+=r,i+=i,n+=n),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}},transform:tN.transform},tO={test:tj("hsl","hue"),parse:tV("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:i=1})=>"hsla("+Math.round(t)+", "+ta.transform(tM(e))+", "+ta.transform(tM(r))+", "+tM(ti.transform(i))+")"},tI={test:t=>tN.test(t)||tF.test(t)||tO.test(t),parse:t=>tN.test(t)?tN.parse(t):tO.test(t)?tO.parse(t):tF.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tN.transform(t):tO.transform(t)},tB=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,t_="number",t$="color",tz=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tW(t){let e=t.toString(),r=[],i={color:[],number:[],var:[]},n=[],s=0,o=e.replace(tz,t=>(tI.test(t)?(i.color.push(s),n.push(t$),r.push(tI.parse(t))):t.startsWith("var(")?(i.var.push(s),n.push("var"),r.push(t)):(i.number.push(s),n.push(t_),r.push(parseFloat(t))),++s,"${}")).split("${}");return{values:r,split:o,indexes:i,types:n}}function tU(t){return tW(t).values}function tH(t){let{split:e,types:r}=tW(t),i=e.length;return t=>{let n="";for(let s=0;s"number"==typeof t?0:t,tX={test:function(t){var e,r;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(tk))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(tB))||void 0===r?void 0:r.length)||0)>0},parse:tU,createTransformer:tH,getAnimatableNone:function(t){let e=tU(t);return tH(t)(e.map(tY))}},tZ=new Set(["brightness","contrast","saturate","opacity"]);function tK(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=r.match(tk)||[];if(!i)return t;let n=r.replace(i,""),s=tZ.has(e)?1:0;return i!==r&&(s*=100),e+"("+s+n+")"}let tG=/\b([a-z-]*)\(.*?\)/gu,tq={...tX,getAnimatableNone:t=>{let e=t.match(tG);return e?e.map(tK).join(" "):t}},tJ={...tr,transform:Math.round},tQ={borderWidth:tl,borderTopWidth:tl,borderRightWidth:tl,borderBottomWidth:tl,borderLeftWidth:tl,borderRadius:tl,radius:tl,borderTopLeftRadius:tl,borderTopRightRadius:tl,borderBottomRightRadius:tl,borderBottomLeftRadius:tl,width:tl,maxWidth:tl,height:tl,maxHeight:tl,top:tl,right:tl,bottom:tl,left:tl,padding:tl,paddingTop:tl,paddingRight:tl,paddingBottom:tl,paddingLeft:tl,margin:tl,marginTop:tl,marginRight:tl,marginBottom:tl,marginLeft:tl,backgroundPositionX:tl,backgroundPositionY:tl,rotate:to,rotateX:to,rotateY:to,rotateZ:to,scale:tn,scaleX:tn,scaleY:tn,scaleZ:tn,skew:to,skewX:to,skewY:to,distance:tl,translateX:tl,translateY:tl,translateZ:tl,x:tl,y:tl,z:tl,perspective:tl,transformPerspective:tl,opacity:ti,originX:tc,originY:tc,originZ:tl,zIndex:tJ,size:tl,fillOpacity:ti,strokeOpacity:ti,numOctaves:tJ},t0={...tQ,color:tI,backgroundColor:tI,outlineColor:tI,fill:tI,stroke:tI,borderColor:tI,borderTopColor:tI,borderRightColor:tI,borderBottomColor:tI,borderLeftColor:tI,filter:tq,WebkitFilter:tq},t1=t=>t0[t];function t2(t,e){let r=t1(t);return r!==tq&&(r=tX),r.getAnimatableNone?r.getAnimatableNone(e):void 0}let t5=new Set(["auto","none","0"]);class t3 extends tC{constructor(t,e,r,i,n){super(t,e,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:r}=this;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}function t4(t){return"function"==typeof t}function t9(){i=void 0}let t7={now:()=>(void 0===i&&t7.set(L.isProcessing||P.useManualTiming?L.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(t9)}},t6=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tX.test(t)||"0"===t)&&!t.startsWith("url("));class t8{constructor({autoplay:t=!0,delay:e=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=t7.now(),this.options={autoplay:t,delay:e,type:r,repeat:i,repeatDelay:n,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(tE(),tA()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=t7.now(),this.hasAttemptedResolve=!0;let{name:r,type:i,velocity:n,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,r,i){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=t6(n,e),a=t6(s,e);return(0,X.K)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let r=0;r{this.resolveFinishedPromise=t})}}function et(t,e,r){var i,n;let s=Math.max(e-5,0);return i=r-t(s),(n=e-s)?1e3/n*i:0}function ee(t,e){return t*Math.sqrt(1-e*e)}let er=["duration","bounce"],ei=["stiffness","damping","mass"];function en(t,e){return e.some(e=>void 0!==t[e])}function es({keyframes:t,restDelta:e,restSpeed:r,...i}){let n;let s=t[0],o=t[t.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:h,duration:c,velocity:d,isResolvedFromDuration:p}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!en(t,ei)&&en(t,er)){let r=function({duration:t=800,bounce:e=.25,velocity:r=0,mass:i=1}){let n,s;(0,X.K)(t<=f(10),"Spring duration must be 10 seconds or less");let o=1-e;o=te(.05,1,o),t=te(.01,10,m(t)),o<1?(n=e=>{let i=e*o,n=i*t;return .001-(i-r)/ee(e,o)*Math.exp(-n)},s=e=>{let i=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-i),l=ee(Math.pow(e,2),o);return(i*r+r-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),s=e=>t*t*(r-e)*Math.exp(-e*t));let a=function(t,e,r){let i=r;for(let r=1;r<12;r++)i-=t(i)/e(i);return i}(n,s,5/t);if(t=f(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*i;return{stiffness:e,damping:2*o*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...r,mass:1}).isResolvedFromDuration=!0}return e}({...i,velocity:-m(i.velocity||0)}),g=d||0,v=u/(2*Math.sqrt(l*h)),y=o-s,b=m(Math.sqrt(l/h)),x=5>Math.abs(y);if(r||(r=x?.01:2),e||(e=x?.005:.5),v<1){let t=ee(b,v);n=e=>o-Math.exp(-v*b*e)*((g+v*b*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===v)n=t=>o-Math.exp(-b*t)*(y+(g+b*y)*t);else{let t=b*Math.sqrt(v*v-1);n=e=>{let r=Math.exp(-v*b*e),i=Math.min(t*e,300);return o-r*((g+v*b*y)*Math.sinh(i)+t*y*Math.cosh(i))/t}}return{calculatedDuration:p&&c||null,next:t=>{let i=n(t);if(p)a.done=t>=c;else{let s=0;v<1&&(s=0===t?f(g):et(n,t,i));let l=Math.abs(s)<=r,u=Math.abs(o-i)<=e;a.done=l&&u}return a.value=a.done?o:i,a}}}function eo({keyframes:t,velocity:e=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&tl,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)-v*Math.exp(-t/i),w=t=>b+x(t),P=t=>{let e=x(t),r=w(t);f.done=Math.abs(e)<=u,f.value=f.done?b:r},S=t=>{m(f.value)&&(c=t,d=es({keyframes:[f.value,g(f.value)],velocity:et(w,t,f.value),damping:n,stiffness:s,restDelta:u,restSpeed:h}))};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,P(t),S(t)),void 0!==c&&t>=c)?d.next(t-c):(e||P(t),f)}}}let ea=F(.42,0,1,1),el=F(0,0,.58,1),eu=F(.42,0,.58,1),eh=t=>Array.isArray(t)&&"number"!=typeof t[0],ec=t=>Array.isArray(t)&&"number"==typeof t[0],ed={linear:M.Z,easeIn:ea,easeInOut:eu,easeOut:el,circIn:W,circInOut:H,circOut:U,backIn:_,backInOut:$,backOut:B,anticipate:z},ep=t=>{if(ec(t)){(0,X.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,r,i,n]=t;return F(e,r,i,n)}return"string"==typeof t?((0,X.k)(void 0!==ed[t],`Invalid easing type '${t}'`),ed[t]):t},ef=(t,e)=>r=>e(t(r)),em=(...t)=>t.reduce(ef),eg=(t,e,r)=>{let i=e-t;return 0===i?1:(r-t)/i},ev=(t,e,r)=>t+(e-t)*r;function ey(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function eb(t,e){return r=>r>0?e:t}let ex=(t,e,r)=>{let i=t*t,n=r*(e*e-i)+i;return n<0?0:Math.sqrt(n)},ew=[tF,tN,tO],eP=t=>ew.find(e=>e.test(t));function eS(t){let e=eP(t);if((0,X.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let r=e.parse(t);return e===tO&&(r=function({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,r/=100;let n=0,s=0,o=0;if(e/=100){let i=r<.5?r*(1+e):r+e-r*e,a=2*r-i;n=ey(a,i,t+1/3),s=ey(a,i,t),o=ey(a,i,t-1/3)}else n=s=o=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(r)),r}let eT=(t,e)=>{let r=eS(t),i=eS(e);if(!r||!i)return eb(t,e);let n={...r};return t=>(n.red=ex(r.red,i.red,t),n.green=ex(r.green,i.green,t),n.blue=ex(r.blue,i.blue,t),n.alpha=ev(r.alpha,i.alpha,t),tN.transform(n))},eA=new Set(["none","hidden"]);function eE(t,e){return r=>ev(t,e,r)}function eC(t){return"number"==typeof t?eE:"string"==typeof t?J(t)?eb:tI.test(t)?eT:eR:Array.isArray(t)?eM:"object"==typeof t?tI.test(t)?eT:ek:eb}function eM(t,e){let r=[...t],i=r.length,n=t.map((t,r)=>eC(t)(t,e[r]));return t=>{for(let e=0;e{for(let e in i)r[e]=i[e](t);return r}}let eR=(t,e)=>{let r=tX.createTransformer(e),i=tW(t),n=tW(e);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?eA.has(t)&&!n.values.length||eA.has(e)&&!i.values.length?function(t,e){return eA.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}(t,e):em(eM(function(t,e){var r;let i=[],n={color:0,var:0,number:0};for(let s=0;se[0];if(2===s&&t[0]===t[1])return()=>e[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,r){let i=[],n=r||ej,s=t.length-1;for(let r=0;r{let r=0;if(a>1)for(;rl(te(t[0],t[s-1],e)):l}((r&&r.length===e.length?r:function(t){let e=[0];return function(t,e){let r=t[t.length-1];for(let i=1;i<=e;i++){let n=eg(0,e,i);t.push(ev(r,1,n))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(n)?n:e.map(()=>n||eu).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}let eL=t=>{let e=({timestamp:e})=>t(e);return{start:()=>j.update(e,!0),stop:()=>V(e),now:()=>L.isProcessing?L.timestamp:t7.now()}},eD={decay:eo,inertia:eo,tween:eV,keyframes:eV,spring:es},eN=t=>t/100;class eF extends t8{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:r,element:i,keyframes:n}=this.options,s=(null==i?void 0:i.KeyframeResolver)||tC;this.resolver=new s(n,(t,e)=>this.onKeyframesResolved(t,e),e,r,i),this.resolver.scheduleResolve()}initPlayback(t){let e,r;let{type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=t4(i)?i:eD[i]||eV;l!==eV&&"number"!=typeof t[0]&&(e=em(eN,ej(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(r=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}(u));let{calculatedDuration:h}=u,c=h+s;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(n+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:r}=this;if(!r){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:i,generator:n,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=r;if(null===this.startTime)return n.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=n;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(r=1-r,f&&(r-=f/h)):"mirror"===p&&(b=s)),y=te(0,1,r)*h}let x=v?{done:!1,value:a[0]}:b.next(y);o&&(x.value=o(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&void 0!==i&&(x.value=A(a,this.options,i)),m&&m(x.value),P&&this.finish(),x}get duration(){let{resolved:t}=this;return t?m(t.calculatedDuration):0}get time(){return m(this.currentTime)}set time(t){t=f(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=m(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=eL,onPlay:e,startTime:r}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=r?r:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let eO=new Set(["opacity","clipPath","filter","transform"]),eI=(t,e)=>{let r="",i=Math.max(Math.round(e/10),2);for(let e=0;e(void 0===e&&(e=t()),e)}let e_={linearEasing:void 0},e$=function(t,e){let r=eB(t);return()=>{var t;return null!==(t=e_[e])&&void 0!==t?t:r()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),ez=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`,eW={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ez([0,.65,.55,1]),circOut:ez([.55,0,1,.45]),backIn:ez([.31,.01,.66,-.59]),backOut:ez([.33,1.53,.69,.99])};function eU(t,e){t.timeline=e,t.onfinish=null}let eH=eB(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),eY={anticipate:z,backInOut:$,circInOut:H};class eX extends t8{constructor(t){super(t);let{name:e,motionValue:r,element:i,keyframes:n}=this.options;this.resolver=new t3(n,(t,e)=>this.onKeyframesResolved(t,e),e,r,i),this.resolver.scheduleResolve()}initPlayback(t,e){var r,i;let{duration:n=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:h}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("string"==typeof o&&e$()&&o in eY&&(o=eY[o]),t4((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&e$()||!e||"string"==typeof e&&(e in eW||e$())||ec(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:r,motionValue:i,element:l,...u}=this.options,h=function(t,e){let r=new eF({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:t[0]},n=[],s=0;for(;!i.done&&s<2e4;)n.push((i=r.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),n=h.duration,s=h.times,o=h.ease,a="keyframes"}let c=function(t,e,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[e]:r};l&&(u.offset=l);let h=function t(e,r){if(e)return"function"==typeof e&&e$()?eI(e,r):ec(e)?ez(e):Array.isArray(e)?e.map(e=>t(e,r)||eW.easeOut):eW[e]}(a,n);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:i,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:n,times:s,ease:o});return c.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?(eU(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;l.set(A(t,this.options,e)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return m(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return m(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:r}=e;r.currentTime=f(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:r}=e;r.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return M.Z;let{animation:r}=e;eU(r,t)}else this.pendingTimeline=t;return M.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:r,duration:i,type:n,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new eF({...u,keyframes:r,duration:i,type:n,ease:s,times:o,isGenerator:!0}),c=f(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:r,repeatDelay:i,repeatType:n,damping:s,type:o}=t;return eH()&&r&&eO.has(r)&&e&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate&&!i&&"mirror"!==n&&0!==s&&"inertia"!==o}}let eZ=eB(()=>void 0!==window.ScrollTimeline);class eK{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,e){return Promise.all(this.animations).then(t).catch(e)}getAll(t){return this.animations[0][t]}setAll(t,e){for(let r=0;reZ()&&r.attachTimeline?r.attachTimeline(t):e(r));return()=>{r.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;ee[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let eG=(t,e,r,i={},n,s)=>o=>{let a=w(i,t)||{},l=a.delay||i.delay||0,{elapsed:u=0}=i;u-=f(l);let h={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...x(t,h)}),h.duration&&(h.duration=f(h.duration)),h.repeatDelay&&(h.repeatDelay=f(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(c=!0)),(S.current||P.skipAnimations)&&(c=!0,h.duration=0,h.delay=0),c&&!s&&void 0!==e.get()){let t=A(h.keyframes,a);if(void 0!==t)return j.update(()=>{h.onUpdate(t),h.onComplete()}),new eK([])}return!s&&eX.supports(h)?new eX(h):new eF(h)},eq=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),eJ=t=>s(t)?t[t.length-1]||0:t;function eQ(t,e){-1===t.indexOf(e)&&t.push(e)}function e0(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}class e1{constructor(){this.subscriptions=[]}add(t){return eQ(this.subscriptions,t),()=>e0(this.subscriptions,t)}notify(t,e,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](t,e,r);else for(let n=0;n!isNaN(parseFloat(t)),e5={current:void 0};class e3{constructor(t,e={}){this.version="11.11.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let r=t7.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=t7.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=e2(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new e1);let r=this.events[t].add(e);return"change"===t?()=>{r(),j.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return e5.current&&e5.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=t7.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function e4(t,e){return new e3(t,e)}let e9=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),e7="data-"+e9("framerAppearId"),e6=t=>!!(t&&t.getVelocity);function e8(t,e){let r=t.getValue("willChange");if(e6(r)&&r.add)return r.add(e)}function rt(t,e,{delay:r=0,transitionOverride:i,type:n}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;i&&(o=i);let h=[],c=n&&t.animationState&&t.animationState.getState()[n];for(let e in l){let i=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),n=l[e];if(void 0===n||c&&function({protectedKeys:t,needsAnimating:e},r){let i=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,i}(c,e))continue;let a={delay:r,...w(o||{},e)},u=!1;if(window.MotionHandoffAnimation){let r=t.props[e7];if(r){let t=window.MotionHandoffAnimation(r,e,j);null!==t&&(a.startTime=t,u=!0)}}e8(t,e),i.start(eG(e,i,n,t.shouldReduceMotion&&p.has(e)?{type:!1}:a,t,u));let d=i.animation;d&&h.push(d)}return a&&Promise.all(h).then(()=>{j.update(()=>{a&&function(t,e){let{transitionEnd:r={},transition:i={},...n}=u(t,e)||{};for(let e in n={...n,...r}){let r=eJ(n[e]);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,e4(r))}}(t,a)})}),h}function re(t,e,r={}){var i;let n=u(t,e,"exit"===r.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(s=r.transitionOverride);let o=n?()=>Promise.all(rt(t,n,r)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,r=0,i=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*i,l=1===n?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(rr).forEach((t,i)=>{t.notify("AnimationStart",e),o.push(re(t,e,{...s,delay:r+l(i)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n+i,o,a,r)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(r.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function rr(t,e){return t.sortNodePosition(e)}let ri=c.length,rn=[...h].reverse(),rs=h.length;function ro(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ra(){return{animate:ro(!0),whileInView:ro(),whileHover:ro(),whileTap:ro(),whileDrag:ro(),whileFocus:ro(),exit:ro()}}class rl{constructor(t){this.isMounted=!1,this.node=t}update(){}}class ru extends rl{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(function(t,e,r={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>re(t,e,r)));else if("string"==typeof e)i=re(t,e,r);else{let n="function"==typeof e?u(t,e,r.custom):e;i=Promise.all(rt(t,n,r))}return i.then(()=>{t.notify("AnimationComplete",e)})})(t,e,r))),r=ra(),i=!0,l=e=>(r,i)=>{var n;let s=u(t,i,"exit"===e?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);if(s){let{transition:t,transitionEnd:e,...i}=s;r={...r,...i,...e}}return r};function h(u){let{props:h}=t,d=function t(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(r.initial=e.props.initial),r}let r={};for(let t=0;tg&&x,A=!1,E=Array.isArray(b)?b:[b],C=E.reduce(l(c),{});!1===w&&(C={});let{prevResolvedValues:M={}}=y,k={...M,...C},R=e=>{T=!0,f.has(e)&&(A=!0,f.delete(e)),y.needsAnimating[e]=!0;let r=t.getValue(e);r&&(r.liveStyle=!1)};for(let t in k){let e=C[t],r=M[t];if(!m.hasOwnProperty(t))(s(e)&&s(r)?o(e,r):e===r)?void 0!==e&&f.has(t)?R(t):y.protectedKeys[t]=!0:null!=e?R(t):f.add(t)}y.prevProp=b,y.prevResolvedValues=C,y.isActive&&(m={...m,...C}),i&&t.blockInitialAnimation&&(T=!1);let j=!(P&&S)||A;T&&j&&p.push(...E.map(t=>({animation:t,options:{type:c}})))}if(f.size){let e={};f.forEach(r=>{let i=t.getBaseTarget(r),n=t.getValue(r);n&&(n.liveStyle=!0),e[r]=null!=i?i:null}),p.push({animation:e})}let y=!!p.length;return i&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(y=!1),i=!1,y?e(p):Promise.resolve()}return{animateChanges:h,setActive:function(e,i){var n;if(r[e].isActive===i)return Promise.resolve();null===(n=t.variantChildren)||void 0===n||n.forEach(t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,i)}),r[e].isActive=i;let s=h(e);for(let t in r)r[t].protectedKeys={};return s},setAnimateFunction:function(r){e=r(t)},getState:()=>r,reset:()=>{r=ra(),i=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();n(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let rh=0;class rc extends rl{constructor(){super(...arguments),this.id=rh++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let rd=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function rp(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}let rf=t=>e=>rd(e)&&t(e,rp(e));function rm(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}function rg(t,e,r,i){return rm(t,e,rf(r),i)}let rv=(t,e)=>Math.abs(t-e);class ry{constructor(t,e,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=rw(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,r=function(t,e){return Math.sqrt(rv(t.x,e.x)**2+rv(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!r)return;let{point:i}=t,{timestamp:n}=L;this.history.push({...i,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=rb(e,this.transformPagePoint),j.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rw("pointercancel"===t.type?this.lastMoveEventInfo:rb(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,s),i&&i(t,s)},!rd(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=r,this.contextWindow=i||window;let s=rb(rp(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=L;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,rw(s,this.history)),this.removeListeners=em(rg(this.contextWindow,"pointermove",this.handlePointerMove),rg(this.contextWindow,"pointerup",this.handlePointerUp),rg(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),V(this.updatePoint)}}function rb(t,e){return e?{point:e(t.point)}:t}function rx(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rw({point:t},e){return{point:t,delta:rx(t,rP(e)),offset:rx(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,i=null,n=rP(t);for(;r>=0&&(i=t[r],!(n.timestamp-i.timestamp>f(.1)));)r--;if(!i)return{x:0,y:0};let s=m(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function rP(t){return t[t.length-1]}function rS(t){let e=null;return()=>null===e&&(e=t,()=>{e=null})}let rT=rS("dragHorizontal"),rA=rS("dragVertical");function rE(t){let e=!1;if("y"===t)e=rA();else if("x"===t)e=rT();else{let t=rT(),r=rA();t&&r?e=()=>{t(),r()}:(t&&t(),r&&r())}return e}function rC(){let t=rE(!0);return!t||(t(),!1)}function rM(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function rk(t){return t.max-t.min}function rR(t,e,r,i=.5){t.origin=i,t.originPoint=ev(e.min,e.max,t.origin),t.scale=rk(r)/rk(e),t.translate=ev(r.min,r.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function rj(t,e,r,i){rR(t.x,e.x,r.x,i?i.originX:void 0),rR(t.y,e.y,r.y,i?i.originY:void 0)}function rV(t,e,r){t.min=r.min+e.min,t.max=t.min+rk(e)}function rL(t,e,r){t.min=e.min-r.min,t.max=t.min+rk(e)}function rD(t,e,r){rL(t.x,e.x,r.x),rL(t.y,e.y,r.y)}function rN(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function rF(t,e){let r=e.min-t.min,i=e.max-t.max;return e.max-e.min({translate:0,scale:1,origin:0,originPoint:0}),r_=()=>({x:rB(),y:rB()}),r$=()=>({min:0,max:0}),rz=()=>({x:r$(),y:r$()});function rW(t){return[t("x"),t("y")]}function rU({top:t,left:e,right:r,bottom:i}){return{x:{min:e,max:r},y:{min:t,max:i}}}function rH(t){return void 0===t||1===t}function rY({scale:t,scaleX:e,scaleY:r}){return!rH(t)||!rH(e)||!rH(r)}function rX(t){return rY(t)||rZ(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function rZ(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function rK(t,e,r,i,n){return void 0!==n&&(t=i+n*(t-i)),i+r*(t-i)+e}function rG(t,e=0,r=1,i,n){t.min=rK(t.min,e,r,i,n),t.max=rK(t.max,e,r,i,n)}function rq(t,{x:e,y:r}){rG(t.x,e.translate,e.scale,e.originPoint),rG(t.y,r.translate,r.scale,r.originPoint)}function rJ(t,e){t.min=t.min+e,t.max=t.max+e}function rQ(t,e,r,i,n=.5){let s=ev(t.min,t.max,n);rG(t,e,r,s,i)}function r0(t,e){rQ(t.x,e.x,e.scaleX,e.scale,e.originX),rQ(t.y,e.y,e.scaleY,e.scale,e.originY)}function r1(t,e){return rU(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}let r2=({current:t})=>t?t.ownerDocument.defaultView:null,r5=new WeakMap;class r3{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rz(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new ry(t,{onSessionStart:t=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(rp(t,"page").point)},onStart:(t,e)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=rE(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rW(t=>{let e=this.getAxisMotionValue(t).get()||0;if(ta.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[t];i&&(e=rk(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&j.postRender(()=>n(t,e)),e8(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>rW(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:r2(this.visualElement)})}stop(t,e){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=e;this.startAnimation(i);let{onDragEnd:n}=this.getProps();n&&j.postRender(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,r){let{drag:i}=this.getProps();if(!r||!r4(t,i,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:r},i){return void 0!==e&&tr&&(t=i?ev(r,t,i.max):Math.min(t,r)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,n=this.constraints;e&&rM(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(t,{top:e,left:r,bottom:i,right:n}){return{x:rN(t.x,r,n),y:rN(t.y,e,i)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rO(t,"left","right"),y:rO(t,"top","bottom")}}(r),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rW(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!rM(e))return!1;let i=e.current;(0,X.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,r){let i=r1(t,r),{scroll:n}=e;return n&&(rJ(i.x,n.offset.x),rJ(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),o={x:rF((t=n.layout.layoutBox).x,s.x),y:rF(t.y,s.y)};if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=rU(t))}return o}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rW(o=>{if(!r4(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return e8(this.visualElement,t),r.start(eG(t,r,0,e,this.visualElement,!1))}stopAnimation(){rW(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){rW(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){rW(e=>{let{drag:r}=this.getProps();if(!r4(e,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(e);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[e];n.set(t[e]-ev(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!rM(e)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};rW(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let r=e.get();i[t]=function(t,e){let r=.5,i=rk(t),n=rk(e);return n>i?r=eg(e.min,e.max-i,t.min):i>n&&(r=eg(t.min,t.max-n,e.min)),te(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),rW(e=>{if(!r4(e,t,null))return;let r=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];r.set(ev(n,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;r5.set(this.visualElement,this);let t=rg(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();rM(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",e);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),j.read(e);let n=rm(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rW(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function r4(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class r9 extends rl{constructor(t){super(t),this.removeGroupControls=M.Z,this.removeListeners=M.Z,this.controls=new r3(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||M.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let r7=t=>(e,r)=>{t&&j.postRender(()=>t(e,r))};class r6 extends rl{constructor(){super(...arguments),this.removePointerDownListener=M.Z}onPointerDown(t){this.session=new ry(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r2(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:r7(t),onStart:r7(e),onMove:r,onEnd:(t,e)=>{delete this.session,i&&j.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=rg(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var r8=r(7437),it=r(2265),ie=r(7797),ir=r(5050);let ii=(0,it.createContext)({}),is={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function io(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ia={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!tl.test(t))return t;t=parseFloat(t)}let r=io(t,e.target.x),i=io(t,e.target.y);return`${r}% ${i}%`}},il={},{schedule:iu,cancel:ih}=R(queueMicrotask,!1);class ic extends it.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=t;Object.assign(il,ip),n&&(e.group&&e.group.add(n),r&&r.register&&i&&r.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),is.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:i,isPresent:n}=this.props,s=r.projection;return s&&(s.isPresent=n,i||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===n||(n?s.promote():s.relegate()||j.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),iu.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function id(t){let[e,r]=function(){let t=(0,it.useContext)(ie.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:r,register:i}=t,n=(0,it.useId)();(0,it.useEffect)(()=>i(n),[]);let s=(0,it.useCallback)(()=>r&&r(n),[n,r]);return!e&&r?[!1,s]:[!0]}(),i=(0,it.useContext)(ir.p);return(0,r8.jsx)(ic,{...t,layoutGroup:i,switchLayoutGroup:(0,it.useContext)(ii),isPresent:e,safeToRemove:r})}let ip={borderRadius:{...ia,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ia,borderTopRightRadius:ia,borderBottomLeftRadius:ia,borderBottomRightRadius:ia,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let i=tX.parse(t);if(i.length>5)return t;let n=tX.createTransformer(t),s="number"!=typeof i[0]?1:0,o=r.x.scale*e.x,a=r.y.scale*e.y;i[0+s]/=o,i[1+s]/=a;let l=ev(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),n(i)}}},im=["TopLeft","TopRight","BottomLeft","BottomRight"],ig=im.length,iv=t=>"string"==typeof t?parseFloat(t):t,iy=t=>"number"==typeof t||tl.test(t);function ib(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ix=iP(0,.5,U),iw=iP(.5,.95,M.Z);function iP(t,e,r){return i=>ie?1:r(eg(t,e,i))}function iS(t,e){t.min=e.min,t.max=e.max}function iT(t,e){iS(t.x,e.x),iS(t.y,e.y)}function iA(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function iE(t,e,r,i,n){return t-=e,t=i+1/r*(t-i),void 0!==n&&(t=i+1/n*(t-i)),t}function iC(t,e,[r,i,n],s,o){!function(t,e=0,r=1,i=.5,n,s=t,o=t){if(ta.test(e)&&(e=parseFloat(e),e=ev(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=ev(s.min,s.max,i);t===s&&(a-=e),t.min=iE(t.min,e,r,a,n),t.max=iE(t.max,e,r,a,n)}(t,e[r],e[i],e[n],e.scale,s,o)}let iM=["x","scaleX","originX"],ik=["y","scaleY","originY"];function iR(t,e,r,i){iC(t.x,e,iM,r?r.x:void 0,i?i.x:void 0),iC(t.y,e,ik,r?r.y:void 0,i?i.y:void 0)}function ij(t){return 0===t.translate&&1===t.scale}function iV(t){return ij(t.x)&&ij(t.y)}function iL(t,e){return t.min===e.min&&t.max===e.max}function iD(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iN(t,e){return iD(t.x,e.x)&&iD(t.y,e.y)}function iF(t){return rk(t.x)/rk(t.y)}function iO(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class iI{constructor(){this.members=[]}add(t){eQ(this.members,t),t.scheduleRender()}remove(t){if(e0(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t];if(!1!==r.isPresent){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let iB=(t,e)=>t.depth-e.depth;class i_{constructor(){this.children=[],this.isDirty=!1}add(t){eQ(this.children,t),this.isDirty=!0}remove(t){e0(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iB),this.isDirty=!1,this.children.forEach(t)}}function i$(t){let e=e6(t)?t.get():t;return eq(e)?e.toValue():e}let iz={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},iW="undefined"!=typeof window&&void 0!==window.MotionDebug,iU=["","X","Y","Z"],iH={visibility:"hidden"},iY=0;function iX(t,e,r,i){let{latestValues:n}=e;n[t]&&(r[t]=n[t],e.setStaticValue(t,0),i&&(i[t]=0))}function iZ({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(t={},r=null==e?void 0:e()){this.id=iY++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,iW&&(iz.totalNodes=iz.resolvedTargetDeltas=iz.recalculatedProjection=0),this.nodes.forEach(iq),this.nodes.forEach(i3),this.nodes.forEach(i4),this.nodes.forEach(iJ),iW&&window.MotionDebug.record(iz)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=t7.now(),i=({timestamp:e})=>{let n=e-r;n>=250&&(V(i),t(n-250))};return j.read(i,!0),()=>V(i)}(i,250),is.hasAnimatedSinceResize&&(is.hasAnimatedSinceResize=!1,this.nodes.forEach(i5))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||ne,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!iN(this.targetLayout,i)||r,u=!e&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...w(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||i5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,V(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(i9),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:r}=e.options;if(!r)return;let i=r.props[e7];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",j,!(t||r))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,r),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=rz());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iA(this.prevProjectionDelta.x,this.projectionDelta.x),iA(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rj(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&iO(this.projectionDelta.x,this.prevProjectionDelta.x)&&iO(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),iW&&iz.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=r_(),this.projectionDelta=r_(),this.projectionDeltaWithTransform=r_()}setAnimationOrigin(t,e=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o=r_();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=rz(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(nt));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(i6(o.x,t.x,i),i6(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;rD(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,i8(p.x,f.x,a.x,i),i8(p.y,f.y,a.y,i),r&&(u=this.relativeTarget,d=r,iL(u.x,d.x)&&iL(u.y,d.y))&&(this.isProjectionDirty=!1),r||(r=rz()),iT(r,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,r,i,n,s){n?(t.opacity=ev(0,void 0!==r.opacity?r.opacity:1,ix(i)),t.opacityExit=ev(void 0!==e.opacity?e.opacity:1,0,iw(i))):s&&(t.opacity=ev(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let n=0;n{is.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r){let i=e6(0)?0:e4(0);return i.start(eG("",i,1e3,r)),i.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:i,latestValues:n}=t;if(e&&r&&i){if(this!==t&&this.layout&&i&&ns(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||rz();let e=rk(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let i=rk(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+i}iT(e,r),r0(e,n),rj(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new iI),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(e=!0),!e)return;let i={};r.z&&iX("z",t,i,this.animationValues);for(let e=0;e{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(i0),this.root.sharedNodes.clear()}}}function iK(t){t.updateLayout()}function iG(t){var e;let r=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&r&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:i}=t.layout,{animationType:n}=t.options,s=r.source!==t.layout.source;"size"===n?rW(t=>{let i=s?r.measuredBox[t]:r.layoutBox[t],n=rk(i);i.min=e[t].min,i.max=i.min+n}):ns(n,r.layoutBox,e)&&rW(i=>{let n=s?r.measuredBox[i]:r.layoutBox[i],o=rk(e[i]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=r_();rj(o,e,r.layoutBox);let a=r_();s?rj(a,t.applyTransform(i,!0),r.measuredBox):rj(a,e,r.layoutBox);let l=!iV(o),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let o=rz();rD(o,r.layoutBox,n.layoutBox);let a=rz();rD(a,e,s.layoutBox),iN(o,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function iq(t){iW&&iz.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function iJ(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function iQ(t){t.clearSnapshot()}function i0(t){t.clearMeasurements()}function i1(t){t.isLayoutDirty=!1}function i2(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function i5(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function i3(t){t.resolveTargetDelta()}function i4(t){t.calcProjection()}function i9(t){t.resetSkewAndRotation()}function i7(t){t.removeLeadSnapshot()}function i6(t,e,r){t.translate=ev(e.translate,0,r),t.scale=ev(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function i8(t,e,r,i){t.min=ev(e.min,r.min,i),t.max=ev(e.max,r.max,i)}function nt(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ne={duration:.45,ease:[.4,0,.1,1]},nr=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ni=nr("applewebkit/")&&!nr("chrome/")?Math.round:M.Z;function nn(t){t.min=ni(t.min),t.max=ni(t.max)}function ns(t,e,r){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(iF(e)-iF(r)))}function no(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let na=iZ({attachResizeListener:(t,e)=>rm(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nl={current:void 0},nu=iZ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nl.current){let t=new na({});t.mount(window),t.setOptions({layoutScroll:!0}),nl.current=t}return nl.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nh(t,e){let r=e?"onHoverStart":"onHoverEnd";return rg(t.current,e?"pointerenter":"pointerleave",(i,n)=>{if("touch"===i.pointerType||rC())return;let s=t.getProps();t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",e);let o=s[r];o&&j.postRender(()=>o(i,n))},{passive:!t.getProps()[r]})}class nc extends rl{mount(){this.unmount=em(nh(this.node,!0),nh(this.node,!1))}unmount(){}}class nd extends rl{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=em(rm(this.node.current,"focus",()=>this.onFocus()),rm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let np=(t,e)=>!!e&&(t===e||np(t,e.parentElement));function nf(t,e){if(!e)return;let r=new PointerEvent("pointer"+t);e(r,rp(r))}class nm extends rl{constructor(){super(...arguments),this.removeStartListeners=M.Z,this.removeEndListeners=M.Z,this.removeAccessibleListeners=M.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),i=rg(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:i,globalTapTarget:n}=this.node.getProps(),s=n||np(this.node.current,t.target)?r:i;s&&j.update(()=>s(t,e))},{passive:!(r.onTap||r.onPointerUp)}),n=rg(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=em(i,n),this.startPress(t,e)},this.startAccessiblePress=()=>{let t=rm(this.node.current,"keydown",t=>{"Enter"!==t.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=rm(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&nf("up",(t,e)=>{let{onTap:r}=this.node.getProps();r&&j.postRender(()=>r(t,e))})}),nf("down",(t,e)=>{this.startPress(t,e)}))}),e=rm(this.node.current,"blur",()=>{this.isPressing&&nf("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=em(t,e)}}startPress(t,e){this.isPressing=!0;let{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&j.postRender(()=>r(t,e))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!rC()}cancelPress(t,e){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&j.postRender(()=>r(t,e))}mount(){let t=this.node.getProps(),e=rg(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=rm(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=em(e,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let ng=new WeakMap,nv=new WeakMap,ny=t=>{let e=ng.get(t.target);e&&e(t)},nb=t=>{t.forEach(ny)},nx={some:0,all:1};class nw extends rl{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:i="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:nx[i]};return function(t,e,r){let i=function({root:t,...e}){let r=t||document;nv.has(r)||nv.set(r,{});let i=nv.get(r),n=JSON.stringify(e);return i[n]||(i[n]=new IntersectionObserver(nb,{root:t,...e})),i[n]}(e);return ng.set(t,r),i.observe(t),()=>{ng.delete(t),i.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),s=e?r:i;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}var nP=r(9791);let nS=(0,it.createContext)({});var nT=r(9033);let nA=(0,it.createContext)({strict:!1});function nE(t){return n(t.animate)||c.some(e=>a(t[e]))}function nC(t){return!!(nE(t)||t.variants)}function nM(t){return Array.isArray(t)?t.join(" "):t}let nk={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},nR={};for(let t in nk)nR[t]={isEnabled:e=>nk[t].some(t=>!!e[t])};var nj=r(7282);let nV=Symbol.for("motionComponentSymbol"),nL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nD(t){if("string"!=typeof t||t.includes("-"));else if(nL.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}function nN(t,{style:e,vars:r},i,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(i)),r)t.style.setProperty(s,r[s])}let nF=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function nO(t,e,r,i){for(let r in nN(t,e,void 0,i),e.attrs)t.setAttribute(nF.has(r)?r:e9(r),e.attrs[r])}function nI(t,{layout:e,layoutId:r}){return p.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!il[t]||"opacity"===t)}function nB(t,e,r){var i;let{style:n}=t,s={};for(let o in n)(e6(n[o])||e.style&&e6(e.style[o])||nI(o,t)||(null===(i=null==r?void 0:r.getValue(o))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[o]=n[o]);return s}function n_(t,e,r){let i=nB(t,e,r);for(let r in t)(e6(t[r])||e6(e[r]))&&(i[-1!==d.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}var n$=r(458);let nz=t=>(e,r)=>{let i=(0,it.useContext)(nS),s=(0,it.useContext)(ie.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},i,s,o){let a={latestValues:function(t,e,r,i){let s={},o=i(t,{});for(let t in o)s[t]=i$(o[t]);let{initial:a,animate:u}=t,h=nE(t),c=nC(t);e&&c&&!h&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===u&&(u=e.animate));let d=!!r&&!1===r.initial,p=(d=d||!1===a)?u:a;if(p&&"boolean"!=typeof p&&!n(p)){let e=Array.isArray(p)?p:[p];for(let r=0;rr(i,t,a)),a})(t,e,i,s);return r?o():(0,n$.h)(o)},nW=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nU=()=>({...nW(),attrs:{}}),nH=(t,e)=>e&&"number"==typeof t?e.transform(t):t,nY={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nX=d.length;function nZ(t,e,r){let{style:i,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let r=e[t];if(p.has(t)){o=!0;continue}if(G(t)){n[t]=r;continue}{let e=nH(r,tQ[t]);t.startsWith("origin")?(a=!0,s[t]=e):i[t]=e}}if(!e.transform&&(o||r?i.transform=function(t,e,r){let i="",n=!0;for(let s=0;s"string"==typeof t&&"svg"===t.toLowerCase(),n0={useVisualState:nz({scrapeMotionValuesFromProps:n_,createRenderState:nU,onMount:(t,e,{renderState:r,latestValues:i})=>{j.read(()=>{try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}}),j.render(()=>{nJ(r,i,nQ(e.tagName),t.transformTemplate),nO(e,r)})}})},n1={useVisualState:nz({scrapeMotionValuesFromProps:nB,createRenderState:nW})};function n2(t,e,r){for(let i in e)e6(e[i])||nI(i,r)||(t[i]=e[i])}let n5=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function n3(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||n5.has(t)}let n4=t=>!n3(t);try{!function(t){t&&(n4=e=>e.startsWith("on")?!n3(e):t(e))}(require("@emotion/is-prop-valid").default)}catch(t){}let n9={current:null},n7={current:!1},n6=new WeakMap,n8=[...tx,tI,tX],st=t=>n8.find(tb(t)),se=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sr{scrapeMotionValuesFromProps(t,e,r){return{}}constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tC,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=t7.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),n7.current||function(){if(n7.current=!0,nj.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n9.current=t.matches;t.addListener(e),e()}else n9.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||n9.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in n6.delete(this.current),this.projection&&this.projection.unmount(),V(this.notifyUpdate),V(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let r;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=p.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&j.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),r&&r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in nR){let e=nR[t];if(!e)continue;let{isEnabled:r,Feature:i}=e;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rz()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;ee.variantChildren.delete(t)}addValue(t,e){let r=this.values.get(t);e!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=e4(null===e?void 0:e,{owner:this}),this.addValue(t,r)),r}readValue(t,e){var r;let i=void 0===this.latestValues[t]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,t))&&void 0!==r?r:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(Z(i)||Y(i))?i=parseFloat(i):!st(i)&&tX.test(e)&&(i=t2(t,e)),this.setBaseTarget(t,e6(i)?i.get():i)),e6(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let r;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=l(this.props,i,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);n&&(r=n[t])}if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||e6(n)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new e1),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class si extends sr{constructor(){super(...arguments),this.KeyframeResolver=t3}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}}class sn extends si{constructor(){super(...arguments),this.type="html",this.renderInstance=nN}readValueFromInstance(t,e){if(p.has(e)){let t=t1(e);return t&&t.default||0}{let r=window.getComputedStyle(t),i=(G(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return r1(t,e)}build(t,e,r){nZ(t,e,r.transformTemplate)}scrapeMotionValuesFromProps(t,e,r){return nB(t,e,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;e6(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class ss extends si{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rz}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(p.has(e)){let t=t1(e);return t&&t.default||0}return e=nF.has(e)?e:e9(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,r){return n_(t,e,r)}build(t,e,r){nJ(t,e,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,r,i){nO(t,e,r,i)}mount(t){this.isSVGTag=nQ(t.tagName),super.mount(t)}}let so=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(r,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}((E={animation:{Feature:ru},exit:{Feature:rc},inView:{Feature:nw},tap:{Feature:nm},focus:{Feature:nd},hover:{Feature:nc},pan:{Feature:r6},drag:{Feature:r9,ProjectionNode:nu,MeasureLayout:id},layout:{ProjectionNode:nu,MeasureLayout:id}},C=(t,e)=>nD(t)?new ss(e):new sn(e,{allowProjection:t!==it.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function(t){let{preloadedFeatures:e,createVisualElement:r,useRender:i,useVisualState:n,Component:s}=t;e&&function(t){for(let e in t)nR[e]={...nR[e],...t[e]}}(e);let o=(0,it.forwardRef)(function(t,e){var o;let l;let u={...(0,it.useContext)(nP._),...t,layoutId:function(t){let{layoutId:e}=t,r=(0,it.useContext)(ir.p).id;return r&&void 0!==e?r+"-"+e:e}(t)},{isStatic:h}=u,c=function(t){let{initial:e,animate:r}=function(t,e){if(nE(t)){let{initial:e,animate:r}=t;return{initial:!1===e||a(e)?e:void 0,animate:a(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,it.useContext)(nS));return(0,it.useMemo)(()=>({initial:e,animate:r}),[nM(e),nM(r)])}(t),d=n(t,h);if(!h&&nj.j){(0,it.useContext)(nA).strict;let t=function(t){let{drag:e,layout:r}=nR;if(!e&&!r)return{};let i={...e,...r};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(u);l=t.MeasureLayout,c.visualElement=function(t,e,r,i,n){var s,o;let{visualElement:a}=(0,it.useContext)(nS),l=(0,it.useContext)(nA),u=(0,it.useContext)(ie.O),h=(0,it.useContext)(nP._).reducedMotion,c=(0,it.useRef)();i=i||l.renderer,!c.current&&i&&(c.current=i(t,{visualState:e,parent:a,props:r,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let d=c.current,p=(0,it.useContext)(ii);d&&!d.projection&&n&&("html"===d.type||"svg"===d.type)&&function(t,e,r,i){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&rM(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(c.current,r,n,p),(0,it.useInsertionEffect)(()=>{d&&d.update(r,u)});let f=r[e7],m=(0,it.useRef)(!!f&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,f))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,nT.L)(()=>{d&&(window.MotionIsMounted=!0,d.updateFeatures(),iu.render(d.render),m.current&&d.animationState&&d.animationState.animateChanges())}),(0,it.useEffect)(()=>{d&&(!m.current&&d.animationState&&d.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),m.current=!1))}),d}(s,d,u,r,t.ProjectionNode)}return(0,r8.jsxs)(nS.Provider,{value:c,children:[l&&c.visualElement?(0,r8.jsx)(l,{visualElement:c.visualElement,...u}):null,i(s,t,(o=c.visualElement,(0,it.useCallback)(t=>{t&&d.mount&&d.mount(t),o&&(t?o.mount(t):o.unmount()),e&&("function"==typeof e?e(t):rM(e)&&(e.current=t))},[o])),d,h,c.visualElement)]})});return o[nV]=s,o}({...nD(t)?n0:n1,preloadedFeatures:E,useRender:function(t=!1){return(e,r,i,{latestValues:n},s)=>{let o=(nD(e)?function(t,e,r,i){let n=(0,it.useMemo)(()=>{let r=nU();return nJ(r,e,nQ(i),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};n2(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let r={},i=function(t,e){let r=t.style||{},i={};return n2(i,r,t),Object.assign(i,function({transformTemplate:t},e){return(0,it.useMemo)(()=>{let r=nW();return nZ(r,e,t),Object.assign({},r.vars,r.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r})(r,n,s,e),a=function(t,e,r){let i={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(n4(n)||!0===r&&n3(n)||!e&&!n3(n)||t.draggable&&n.startsWith("onDrag"))&&(i[n]=t[n]);return i}(r,"string"==typeof e,t),l=e!==it.Fragment?{...a,...o,ref:i}:{},{children:u}=r,h=(0,it.useMemo)(()=>e6(u)?u.get():u,[u]);return(0,it.createElement)(e,{...l,children:h})}}(e),createVisualElement:C,Component:t})}))},9047:(t,e,r)=>{r.d(e,{K:()=>n,k:()=>s});var i=r(9276);let n=i.Z,s=i.Z},7282:(t,e,r)=>{r.d(e,{j:()=>i});let i="undefined"!=typeof window},9276:(t,e,r)=>{r.d(e,{Z:()=>i});let i=t=>t},458:(t,e,r)=>{r.d(e,{h:()=>n});var i=r(2265);function n(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},9033:(t,e,r)=>{r.d(e,{L:()=>n});var i=r(2265);let n=r(7282).j?i.useLayoutEffect:i.useEffect},6578:(t,e,r)=>{function i(t){return Array.isArray?Array.isArray(t):"[object Array]"===h(t)}r.d(e,{Z:()=>J});let n=1/0;function s(t){return"string"==typeof t}function o(t){return"number"==typeof t}function a(t){return"object"==typeof t}function l(t){return null!=t}function u(t){return!t.trim().length}function h(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}let c=t=>`Invalid value for key ${t}`,d=t=>`Pattern length exceeds max of ${t}.`,p=t=>`Missing ${t} property in key`,f=t=>`Property 'weight' in key '${t}' must be a positive integer`,m=Object.prototype.hasOwnProperty;class g{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach(t=>{let r=v(t);this._keys.push(r),this._keyMap[r.id]=r,e+=r.weight}),this._keys.forEach(t=>{t.weight/=e})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function v(t){let e=null,r=null,n=null,o=1,a=null;if(s(t)||i(t))n=t,e=y(t),r=b(t);else{if(!m.call(t,"name"))throw Error(p("name"));let i=t.name;if(n=i,m.call(t,"weight")&&(o=t.weight)<=0)throw Error(f(i));e=y(i),r=b(i),a=t.getFn}return{path:e,id:r,weight:o,src:n,getFn:a}}function y(t){return i(t)?t:t.split(".")}function b(t){return i(t)?t.join("."):t}var x={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx{if(l(t)){if(e[d]){var p,f;let m=t[e[d]];if(l(m)){if(d===e.length-1&&(s(m)||o(m)||!0===(p=m)||!1===p||a(f=p)&&null!==f&&"[object Boolean]"==h(p)))r.push(null==m?"":function(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-n?"-0":e}(m));else if(i(m)){u=!0;for(let t=0,r=m.length;t{this._keysMap[t.id]=e})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,s(this.docs[0])?this.docs.forEach((t,e)=>{this._addString(t,e)}):this.docs.forEach((t,e)=>{this._addObject(t,e)}),this.norm.clear())}add(t){let e=this.size();s(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,r=this.size();e{let o=e.getFn?e.getFn(t):this.getFn(t,e.path);if(l(o)){if(i(o)){let t=[],e=[{nestedArrIndex:-1,value:o}];for(;e.length;){let{nestedArrIndex:r,value:n}=e.pop();if(l(n)){if(s(n)&&!u(n)){let e={v:n,i:r,n:this.norm.get(n)};t.push(e)}else i(n)&&n.forEach((t,r)=>{e.push({nestedArrIndex:r,value:t})})}}r.$[n]=t}else if(s(o)&&!u(o)){let t={v:o,n:this.norm.get(o)};r.$[n]=t}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function S(t,e,{getFn:r=x.getFn,fieldNormWeight:i=x.fieldNormWeight}={}){let n=new P({getFn:r,fieldNormWeight:i});return n.setKeys(t.map(v)),n.setSources(e),n.create(),n}function T(t,{errors:e=0,currentLocation:r=0,expectedLocation:i=0,distance:n=x.distance,ignoreLocation:s=x.ignoreLocation}={}){let o=e/t.length;if(s)return o;let a=Math.abs(i-r);return n?o+a/n:a?1:o}class A{constructor(t,{location:e=x.location,threshold:r=x.threshold,distance:i=x.distance,includeMatches:n=x.includeMatches,findAllMatches:s=x.findAllMatches,minMatchCharLength:o=x.minMatchCharLength,isCaseSensitive:a=x.isCaseSensitive,ignoreLocation:l=x.ignoreLocation}={}){if(this.options={location:e,threshold:r,distance:i,includeMatches:n,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:l},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;let u=(t,e)=>{this.chunks.push({pattern:t,alphabet:function(t){let e={};for(let r=0,i=t.length;r32){let t=0,e=h%32,r=h-e;for(;t{let{isMatch:m,score:g,indices:v}=function(t,e,r,{location:i=x.location,distance:n=x.distance,threshold:s=x.threshold,findAllMatches:o=x.findAllMatches,minMatchCharLength:a=x.minMatchCharLength,includeMatches:l=x.includeMatches,ignoreLocation:u=x.ignoreLocation}={}){let h;if(e.length>32)throw Error(d(32));let c=e.length,p=t.length,f=Math.max(0,Math.min(i,p)),m=s,g=f,v=a>1||l,y=v?Array(p):[];for(;(h=t.indexOf(e,g))>-1;)if(m=Math.min(T(e,{currentLocation:h,expectedLocation:f,distance:n,ignoreLocation:u}),m),g=h+c,v){let t=0;for(;t=l;s-=1){let o=s-1,a=r[t.charAt(o)];if(v&&(y[o]=+!!a),d[s]=(d[s+1]<<1|1)&a,i&&(d[s]|=(b[s+1]|b[s])<<1|1|b[s+1]),d[s]&S&&(w=T(e,{errors:i,currentLocation:o,expectedLocation:f,distance:n,ignoreLocation:u}))<=m){if(m=w,(g=o)<=f)break;l=Math.max(1,2*f-g)}}if(T(e,{errors:i+1,currentLocation:f,expectedLocation:f,distance:n,ignoreLocation:u})>m)break;b=d}let A={isMatch:g>=0,score:Math.max(.001,w)};if(v){let t=function(t=[],e=x.minMatchCharLength){let r=[],i=-1,n=-1,s=0;for(let o=t.length;s=e&&r.push([i,n]),i=-1)}return t[s-1]&&s-i>=e&&r.push([i,s-1]),r}(y,a);t.length?l&&(A.indices=t):A.isMatch=!1}return A}(t,e,p,{location:i+f,distance:n,threshold:s,findAllMatches:o,minMatchCharLength:a,includeMatches:r,ignoreLocation:l});m&&(c=!0),h+=g,m&&v&&(u=[...u,...v])});let p={isMatch:c,score:c?h/this.chunks.length:1};return c&&r&&(p.indices=u),p}}class E{constructor(t){this.pattern=t}static isMultiMatch(t){return C(t,this.multiRegex)}static isSingleMatch(t){return C(t,this.singleRegex)}search(){}}function C(t,e){let r=t.match(e);return r?r[1]:null}class M extends E{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){let e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class k extends E{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){let e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class R extends E{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){let e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class j extends E{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){let e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class V extends E{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){let e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class L extends E{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){let e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class D extends E{constructor(t,{location:e=x.location,threshold:r=x.threshold,distance:i=x.distance,includeMatches:n=x.includeMatches,findAllMatches:s=x.findAllMatches,minMatchCharLength:o=x.minMatchCharLength,isCaseSensitive:a=x.isCaseSensitive,ignoreLocation:l=x.ignoreLocation}={}){super(t),this._bitapSearch=new A(t,{location:e,threshold:r,distance:i,includeMatches:n,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class N extends E{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,r=0,i=[],n=this.pattern.length;for(;(e=t.indexOf(this.pattern,r))>-1;)r=e+n,i.push([e,r-1]);let s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}let F=[M,N,R,j,L,V,k,D],O=F.length,I=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,B=new Set([D.type,N.type]);class _{constructor(t,{isCaseSensitive:e=x.isCaseSensitive,includeMatches:r=x.includeMatches,minMatchCharLength:i=x.minMatchCharLength,ignoreLocation:n=x.ignoreLocation,findAllMatches:s=x.findAllMatches,location:o=x.location,threshold:a=x.threshold,distance:l=x.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:r,minMatchCharLength:i,findAllMatches:s,ignoreLocation:n,location:o,threshold:a,distance:l},this.pattern=e?t:t.toLowerCase(),this.query=function(t,e={}){return t.split("|").map(t=>{let r=t.trim().split(I).filter(t=>t&&!!t.trim()),i=[];for(let t=0,n=r.length;t!!(t[W.AND]||t[W.OR]),Y=t=>!!t[U.PATH],X=t=>!i(t)&&a(t)&&!H(t),Z=t=>({[W.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function K(t,e,{auto:r=!0}={}){let n=t=>{let o=Object.keys(t),a=Y(t);if(!a&&o.length>1&&!H(t))return n(Z(t));if(X(t)){let i=a?t[U.PATH]:o[0],n=a?t[U.PATTERN]:t[i];if(!s(n))throw Error(c(i));let l={keyId:b(i),pattern:n};return r&&(l.searcher=z(n,e)),l}let l={children:[],operator:o[0]};return o.forEach(e=>{let r=t[e];i(r)&&r.forEach(t=>{l.children.push(n(t))})}),l};return H(t)||(t=Z(t)),n(t)}function G(t,e){let r=t.matches;e.matches=[],l(r)&&r.forEach(t=>{if(!l(t.indices)||!t.indices.length)return;let{indices:r,value:i}=t,n={indices:r,value:i};t.key&&(n.key=t.key.src),t.idx>-1&&(n.refIndex=t.idx),e.matches.push(n)})}function q(t,e){e.score=t.score}class J{constructor(t,e={},r){this.options={...x,...e},this.options.useExtendedSearch,this._keyStore=new g(this.options.keys),this.setCollection(t,r)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof P))throw Error("Incorrect 'index' type");this._myIndex=e||S(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){l(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){let e=[];for(let r=0,i=this._docs.length;r{let r=1;t.matches.forEach(({key:t,norm:i,score:n})=>{let s=t?t.weight:null;r*=Math.pow(0===n&&s?Number.EPSILON:n,(s||1)*(e?1:i))}),t.score=r})}(u,{ignoreFieldNorm:l}),n&&u.sort(a),o(e)&&e>-1&&(u=u.slice(0,e)),function(t,e,{includeMatches:r=x.includeMatches,includeScore:i=x.includeScore}={}){let n=[];return r&&n.push(G),i&&n.push(q),t.map(t=>{let{idx:r}=t,i={item:e[r],refIndex:r};return n.length&&n.forEach(e=>{e(t,i)}),i})}(u,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(t){let e=z(t,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:t,i:r,n:n})=>{if(!l(t))return;let{isMatch:s,score:o,indices:a}=e.searchIn(t);s&&i.push({item:t,idx:r,matches:[{score:o,value:t,norm:n,indices:a}]})}),i}_searchLogical(t){let e=K(t,this.options),r=(t,e,i)=>{if(!t.children){let{keyId:r,searcher:n}=t,s=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(e,r),searcher:n});return s&&s.length?[{idx:i,item:e,matches:s}]:[]}let n=[];for(let s=0,o=t.children.length;s{if(l(t)){let o=r(e,t,i);o.length&&(n[i]||(n[i]={idx:i,item:t,matches:[]},s.push(n[i])),o.forEach(({matches:t})=>{n[i].matches.push(...t)}))}}),s}_searchObjectList(t){let e=z(t,this.options),{keys:r,records:i}=this._myIndex,n=[];return i.forEach(({$:t,i:i})=>{if(!l(t))return;let s=[];r.forEach((r,i)=>{s.push(...this._findMatches({key:r,value:t[i],searcher:e}))}),s.length&&n.push({idx:i,item:t,matches:s})}),n}_findMatches({key:t,value:e,searcher:r}){if(!l(e))return[];let n=[];if(i(e))e.forEach(({v:e,i:i,n:s})=>{if(!l(e))return;let{isMatch:o,score:a,indices:u}=r.searchIn(e);o&&n.push({score:a,key:t,value:e,idx:i,norm:s,indices:u})});else{let{v:i,n:s}=e,{isMatch:o,score:a,indices:l}=r.searchIn(i);o&&n.push({score:a,key:t,value:i,norm:s,indices:l})}return n}}J.version="7.0.0",J.createIndex=S,J.parseIndex=function(t,{getFn:e=x.getFn,fieldNormWeight:r=x.fieldNormWeight}={}){let{keys:i,records:n}=t,s=new P({getFn:e,fieldNormWeight:r});return s.setKeys(i),s.setIndexRecords(n),s},J.config=x,J.parseQuery=K,function(...t){$.push(...t)}(_)},6164:(t,e,r)=>{r.d(e,{m6:()=>K});let i=t=>{let e=a(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:t=>{let r=t.split("-");return""===r[0]&&1!==r.length&&r.shift(),n(r,e)||o(t)},getConflictingClassGroupIds:(t,e)=>{let n=r[t]||[];return e&&i[t]?[...n,...i[t]]:n}}},n=(t,e)=>{if(0===t.length)return e.classGroupId;let r=t[0],i=e.nextPart.get(r),s=i?n(t.slice(1),i):void 0;if(s)return s;if(0===e.validators.length)return;let o=t.join("-");return e.validators.find(({validator:t})=>t(o))?.classGroupId},s=/^\[(.+)\]$/,o=t=>{if(s.test(t)){let e=s.exec(t)[1],r=e?.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},a=t=>{let{theme:e,prefix:r}=t,i={nextPart:new Map,validators:[]};return c(Object.entries(t.classGroups),r).forEach(([t,r])=>{l(r,i,t,e)}),i},l=(t,e,r,i)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:u(e,t)).classGroupId=r;return}if("function"==typeof t){if(h(t)){l(t(i),e,r,i);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([t,n])=>{l(n,u(e,t),r,i)})})},u=(t,e)=>{let r=t;return e.split("-").forEach(t=>{r.nextPart.has(t)||r.nextPart.set(t,{nextPart:new Map,validators:[]}),r=r.nextPart.get(t)}),r},h=t=>t.isThemeGetter,c=(t,e)=>e?t.map(([t,r])=>[t,r.map(t=>"string"==typeof t?e+t:"object"==typeof t?Object.fromEntries(Object.entries(t).map(([t,r])=>[e+t,r])):t)]):t,d=t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,r=new Map,i=new Map,n=(n,s)=>{r.set(n,s),++e>t&&(e=0,i=r,r=new Map)};return{get(t){let e=r.get(t);return void 0!==e?e:void 0!==(e=i.get(t))?(n(t,e),e):void 0},set(t,e){r.has(t)?r.set(t,e):n(t,e)}}},p=t=>{let{separator:e,experimentalParseClassName:r}=t,i=1===e.length,n=e[0],s=e.length,o=t=>{let r;let o=[],a=0,l=0;for(let u=0;ul?r-l:void 0}};return r?t=>r({className:t,parseClassName:o}):o},f=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(t=>{"["===t[0]?(e.push(...r.sort(),t),r=[]):r.push(t)}),e.push(...r.sort()),e},m=t=>({cache:d(t.cacheSize),parseClassName:p(t),...i(t)}),g=/\s+/,v=(t,e)=>{let{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:n}=e,s=[],o=t.trim().split(g),a="";for(let t=o.length-1;t>=0;t-=1){let e=o[t],{modifiers:l,hasImportantModifier:u,baseClassName:h,maybePostfixModifierPosition:c}=r(e),d=!!c,p=i(d?h.substring(0,c):h);if(!p){if(!d||!(p=i(h))){a=e+(a.length>0?" "+a:a);continue}d=!1}let m=f(l).join(":"),g=u?m+"!":m,v=g+p;if(s.includes(v))continue;s.push(v);let y=n(p,d);for(let t=0;t0?" "+a:a)}return a};function y(){let t,e,r=0,i="";for(;r{let e;if("string"==typeof t)return t;let r="";for(let i=0;i{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,P=/^\d+\/\d+$/,S=new Set(["px","full","screen"]),T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,E=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=t=>j(t)||S.has(t)||P.test(t),R=t=>U(t,"length",H),j=t=>!!t&&!Number.isNaN(Number(t)),V=t=>U(t,"number",j),L=t=>!!t&&Number.isInteger(Number(t)),D=t=>t.endsWith("%")&&j(t.slice(0,-1)),N=t=>w.test(t),F=t=>T.test(t),O=new Set(["length","size","percentage"]),I=t=>U(t,O,Y),B=t=>U(t,"position",Y),_=new Set(["image","url"]),$=t=>U(t,_,Z),z=t=>U(t,"",X),W=()=>!0,U=(t,e,r)=>{let i=w.exec(t);return!!i&&(i[1]?"string"==typeof e?i[1]===e:e.has(i[1]):r(i[2]))},H=t=>A.test(t)&&!E.test(t),Y=()=>!1,X=t=>C.test(t),Z=t=>M.test(t);Symbol.toStringTag;let K=function(t,...e){let r,i,n;let s=function(a){return i=(r=m(e.reduce((t,e)=>e(t),t()))).cache.get,n=r.cache.set,s=o,o(a)};function o(t){let e=i(t);if(e)return e;let s=v(t,r);return n(t,s),s}return function(){return s(y.apply(null,arguments))}}(()=>{let t=x("colors"),e=x("spacing"),r=x("blur"),i=x("brightness"),n=x("borderColor"),s=x("borderRadius"),o=x("borderSpacing"),a=x("borderWidth"),l=x("contrast"),u=x("grayscale"),h=x("hueRotate"),c=x("invert"),d=x("gap"),p=x("gradientColorStops"),f=x("gradientColorStopPositions"),m=x("inset"),g=x("margin"),v=x("opacity"),y=x("padding"),b=x("saturate"),w=x("scale"),P=x("sepia"),S=x("skew"),T=x("space"),A=x("translate"),E=()=>["auto","contain","none"],C=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",N,e],O=()=>[N,e],_=()=>["",k,R],U=()=>["auto",j,N],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",N],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>[j,N];return{cacheSize:500,separator:":",theme:{colors:[W],spacing:[k,R],blur:["none","",F,N],brightness:q(),borderColor:[t],borderRadius:["none","","full",F,N],borderSpacing:O(),borderWidth:_(),contrast:q(),grayscale:K(),hueRotate:q(),invert:K(),gap:O(),gradientColorStops:[t],gradientColorStopPositions:[D,R],inset:M(),margin:M(),opacity:q(),padding:O(),saturate:q(),scale:q(),sepia:K(),skew:q(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[F]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...H(),N]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,N]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",L,N]}],"grid-cols":[{"grid-cols":[W]}],"col-start-end":[{col:["auto",{span:["full",L,N]},N]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[W]}],"row-start-end":[{row:["auto",{span:[L,N]},N]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,e]}],"min-w":[{"min-w":[N,e,"min","max","fit"]}],"max-w":[{"max-w":[N,e,"none","full","min","max","fit","prose",{screen:[F]},F]}],h:[{h:[N,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,e,"auto","min","max","fit"]}],"font-size":[{text:["base",F,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",V]}],"font-family":[{font:[W]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",j,V]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,R]}],"underline-offset":[{"underline-offset":["auto",k,N]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),B]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",I]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Y()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[k,N]}],"outline-w":[{outline:[k,R]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[k,R]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",F,z]}],"shadow-color":[{shadow:[W]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[i]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",F,N]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[c]}],saturate:[{saturate:[b]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[L,N]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[k,R,V]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/4bd1b696-73d656a096450dbe.js b/_next/static/chunks/4bd1b696-21eeec6ae99fe726.js similarity index 100% rename from _next/static/chunks/4bd1b696-73d656a096450dbe.js rename to _next/static/chunks/4bd1b696-21eeec6ae99fe726.js diff --git a/_next/static/chunks/807-220f21db0083f553.js b/_next/static/chunks/807-220f21db0083f553.js new file mode 100644 index 0000000..ad1654c --- /dev/null +++ b/_next/static/chunks/807-220f21db0083f553.js @@ -0,0 +1,26 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[807],{998:(e,t,r)=>{r.d(t,{Z:()=>l});var i=r(7294);let n=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&r.indexOf(e)===t).join(" ")};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,i.forwardRef)((e,t)=>{let{color:r="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:h,...d}=e;return(0,i.createElement)("svg",{ref:t,...o,width:n,height:n,stroke:r,strokeWidth:l?24*Number(a)/Number(n):a,className:s("lucide",u),...d},[...h.map(e=>{let[t,r]=e;return(0,i.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let r=(0,i.forwardRef)((r,o)=>{let{className:l,...u}=r;return(0,i.createElement)(a,{ref:o,iconNode:t,className:s("lucide-".concat(n(e)),l),...u})});return r.displayName="".concat(e),r}},282:(e,t,r)=>{r.d(t,{Z:()=>i});let i=(0,r(998).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},8671:(e,t,r)=>{r.d(t,{Z:()=>i});let i=(0,r(998).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},9579:(e,t,r)=>{r.d(t,{Z:()=>i});let i=(0,r(998).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},3250:(e,t,r)=>{var i=r(7294),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useState,o=i.useEffect,a=i.useLayoutEffect,l=i.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),i=s({inst:{value:r,getSnapshot:t}}),n=i[0].inst,c=i[1];return a(function(){n.value=r,n.getSnapshot=t,u(n)&&c({inst:n})},[e,r,t]),o(function(){return u(n)&&c({inst:n}),e(function(){u(n)&&c({inst:n})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c},1688:(e,t,r)=>{e.exports=r(3250)},6206:(e,t,r)=>{r.d(t,{M:()=>i});function i(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),!1===r||!i.defaultPrevented)return t?.(i)}}},5371:(e,t,r)=>{r.d(t,{VY:()=>ec,h4:()=>el,ck:()=>ea,fC:()=>eo,xz:()=>eu});var i=r(7294),n=r.t(i,2),s=r(5360),o=r(5893),a=r(8771),l=r(8426),u=r(6206),c=r(9698);function h({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,s]=function({defaultProp:e,onChange:t}){let r=i.useState(e),[n]=r,s=i.useRef(n),o=(0,c.W)(t);return i.useEffect(()=>{s.current!==n&&(o(n),s.current=n)},[n,s,o]),r}({defaultProp:t,onChange:r}),o=void 0!==e,a=o?e:n,l=(0,c.W)(r);return[a,i.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&l(r)}else s(t)},[o,e,s,l])]}var d=r(5320),p=r(9981),f=r(9115),m=n["useId".toString()]||(()=>void 0),g=0;function v(e){let[t,r]=i.useState(m());return(0,p.b)(()=>{e||r(e=>e??String(g++))},[e]),e||(t?`radix-${t}`:"")}var y="Collapsible",[b,x]=(0,s.b)(y),[w,S]=b(y),P=i.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:n,defaultOpen:s,disabled:a,onOpenChange:l,...u}=e,[c=!1,p]=h({prop:n,defaultProp:s,onChange:l});return(0,o.jsx)(w,{scope:r,disabled:a,contentId:v(),open:c,onOpenToggle:i.useCallback(()=>p(e=>!e),[p]),children:(0,o.jsx)(d.WV.div,{"data-state":M(c),"data-disabled":a?"":void 0,...u,ref:t})})});P.displayName=y;var T="CollapsibleTrigger",E=i.forwardRef((e,t)=>{let{__scopeCollapsible:r,...i}=e,n=S(T,r);return(0,o.jsx)(d.WV.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":M(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...i,ref:t,onClick:(0,u.M)(e.onClick,n.onOpenToggle)})});E.displayName=T;var A="CollapsibleContent",C=i.forwardRef((e,t)=>{let{forceMount:r,...i}=e,n=S(A,e.__scopeCollapsible);return(0,o.jsx)(f.z,{present:r||n.open,children:({present:e})=>(0,o.jsx)(R,{...i,ref:t,present:e})})});C.displayName=A;var R=i.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:n,children:s,...l}=e,u=S(A,r),[c,h]=i.useState(n),f=i.useRef(null),m=(0,a.e)(t,f),g=i.useRef(0),v=g.current,y=i.useRef(0),b=y.current,x=u.open||c,w=i.useRef(x),P=i.useRef();return i.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.b)(()=>{let e=f.current;if(e){P.current=P.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,y.current=t.width,w.current||(e.style.transitionDuration=P.current.transitionDuration,e.style.animationName=P.current.animationName),h(n)}},[u.open,n]),(0,o.jsx)(d.WV.div,{"data-state":M(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!x,...l,ref:m,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:x&&s})});function M(e){return e?"open":"closed"}var k=r(8990),V="Accordion",j=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[L,D,O]=function(e){let t=e+"CollectionProvider",[r,n]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>i.createContext(e));return function(r){let n=r?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let s=i.createContext(n),a=r.length;function l(t){let{scope:r,children:n,...l}=t,u=r?.[e][a]||s,c=i.useMemo(()=>l,Object.values(l));return(0,o.jsx)(u.Provider,{value:c,children:n})}return r=[...r,n],l.displayName=t+"Provider",[l,function(r,o){let l=o?.[e][a]||s,u=i.useContext(l);if(u)return u;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:i})=>{let n=r(e)[`__scope${i}`];return{...t,...n}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(t),[s,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:t,children:r}=e,n=i.useRef(null),a=i.useRef(new Map).current;return(0,o.jsx)(s,{scope:t,itemMap:a,collectionRef:n,children:r})};c.displayName=t;let h=e+"CollectionSlot",d=i.forwardRef((e,t)=>{let{scope:r,children:i}=e,n=u(h,r),s=(0,a.e)(t,n.collectionRef);return(0,o.jsx)(l.g7,{ref:s,children:i})});d.displayName=h;let p=e+"CollectionItemSlot",f="data-radix-collection-item",m=i.forwardRef((e,t)=>{let{scope:r,children:n,...s}=e,c=i.useRef(null),h=(0,a.e)(t,c),d=u(p,r);return i.useEffect(()=>(d.itemMap.set(c,{ref:c,...s}),()=>void d.itemMap.delete(c))),(0,o.jsx)(l.g7,{[f]:"",ref:h,children:n})});return m.displayName=p,[{Provider:c,Slot:d,ItemSlot:m},function(t){let r=u(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(V),[N,F]=(0,s.b)(V,[O,x]),I=x(),_=i.forwardRef((e,t)=>{let{type:r,...i}=e;return(0,o.jsx)(L.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,o.jsx)(H,{...i,ref:t}):(0,o.jsx)(U,{...i,ref:t})})});_.displayName=V;var[$,B]=N(V),[W,z]=N(V,{collapsible:!1}),U=i.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:s=()=>{},collapsible:a=!1,...l}=e,[u,c]=h({prop:r,defaultProp:n,onChange:s});return(0,o.jsx)($,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:c,onItemClose:i.useCallback(()=>a&&c(""),[a,c]),children:(0,o.jsx)(W,{scope:e.__scopeAccordion,collapsible:a,children:(0,o.jsx)(X,{...l,ref:t})})})}),H=i.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:s=()=>{},...a}=e,[l=[],u]=h({prop:r,defaultProp:n,onChange:s}),c=i.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=i.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,o.jsx)($,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:d,children:(0,o.jsx)(W,{scope:e.__scopeAccordion,collapsible:!0,children:(0,o.jsx)(X,{...a,ref:t})})})}),[Y,Z]=N(V),X=i.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:n,dir:s,orientation:l="vertical",...c}=e,h=i.useRef(null),p=(0,a.e)(h,t),f=D(r),m="ltr"===(0,k.gm)(s),g=(0,u.M)(e.onKeyDown,e=>{if(!j.includes(e.key))return;let t=e.target,r=f().filter(e=>!e.ref.current?.disabled),i=r.findIndex(e=>e.ref.current===t),n=r.length;if(-1===i)return;e.preventDefault();let s=i,o=n-1,a=()=>{(s=i+1)>o&&(s=0)},u=()=>{(s=i-1)<0&&(s=o)};switch(e.key){case"Home":s=0;break;case"End":s=o;break;case"ArrowRight":"horizontal"===l&&(m?a():u());break;case"ArrowDown":"vertical"===l&&a();break;case"ArrowLeft":"horizontal"===l&&(m?u():a());break;case"ArrowUp":"vertical"===l&&u()}let c=s%n;r[c].ref.current?.focus()});return(0,o.jsx)(Y,{scope:r,disabled:n,direction:s,orientation:l,children:(0,o.jsx)(L.Slot,{scope:r,children:(0,o.jsx)(d.WV.div,{...c,"data-orientation":l,ref:p,onKeyDown:n?void 0:g})})})}),K="AccordionItem",[q,G]=N(K),J=i.forwardRef((e,t)=>{let{__scopeAccordion:r,value:i,...n}=e,s=Z(K,r),a=B(K,r),l=I(r),u=v(),c=i&&a.value.includes(i)||!1,h=s.disabled||e.disabled;return(0,o.jsx)(q,{scope:r,open:c,disabled:h,triggerId:u,children:(0,o.jsx)(P,{"data-orientation":s.orientation,"data-state":es(c),...l,...n,ref:t,disabled:h,open:c,onOpenChange:e=>{e?a.onItemOpen(i):a.onItemClose(i)}})})});J.displayName=K;var Q="AccordionHeader",ee=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...i}=e,n=Z(V,r),s=G(Q,r);return(0,o.jsx)(d.WV.h3,{"data-orientation":n.orientation,"data-state":es(s.open),"data-disabled":s.disabled?"":void 0,...i,ref:t})});ee.displayName=Q;var et="AccordionTrigger",er=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...i}=e,n=Z(V,r),s=G(et,r),a=z(et,r),l=I(r);return(0,o.jsx)(L.ItemSlot,{scope:r,children:(0,o.jsx)(E,{"aria-disabled":s.open&&!a.collapsible||void 0,"data-orientation":n.orientation,id:s.triggerId,...l,...i,ref:t})})});er.displayName=et;var ei="AccordionContent",en=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...i}=e,n=Z(V,r),s=G(ei,r),a=I(r);return(0,o.jsx)(C,{role:"region","aria-labelledby":s.triggerId,"data-orientation":n.orientation,...a,...i,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function es(e){return e?"open":"closed"}en.displayName=ei;var eo=_,ea=J,el=ee,eu=er,ec=en},8771:(e,t,r)=>{r.d(t,{F:()=>n,e:()=>s});var i=r(7294);function n(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function s(...e){return i.useCallback(n(...e),e)}},5360:(e,t,r)=>{r.d(t,{b:()=>s});var i=r(7294),n=r(5893);function s(e,t=[]){let r=[],o=()=>{let t=r.map(e=>i.createContext(e));return function(r){let n=r?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return o.scopeName=e,[function(t,s){let o=i.createContext(s),a=r.length;r=[...r,s];let l=t=>{let{scope:r,children:s,...l}=t,u=r?.[e]?.[a]||o,c=i.useMemo(()=>l,Object.values(l));return(0,n.jsx)(u.Provider,{value:c,children:s})};return l.displayName=t+"Provider",[l,function(r,n){let l=n?.[e]?.[a]||o,u=i.useContext(l);if(u)return u;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:i})=>{let n=r(e)[`__scope${i}`];return{...t,...n}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(o,...t)]}},8990:(e,t,r)=>{r.d(t,{gm:()=>s});var i=r(7294);r(5893);var n=i.createContext(void 0);function s(e){let t=i.useContext(n);return e||t||"ltr"}},9115:(e,t,r)=>{r.d(t,{z:()=>o});var i=r(7294),n=r(8771),s=r(9981),o=e=>{let{present:t,children:r}=e,o=function(e){var t,r;let[n,o]=i.useState(),l=i.useRef({}),u=i.useRef(e),c=i.useRef("none"),[h,d]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>r[e][t]??e,t));return i.useEffect(()=>{let e=a(l.current);c.current="mounted"===h?e:"none"},[h]),(0,s.b)(()=>{let t=l.current,r=u.current;if(r!==e){let i=c.current,n=a(t);e?d("MOUNT"):"none"===n||t?.display==="none"?d("UNMOUNT"):r&&i!==n?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=e}},[e,d]),(0,s.b)(()=>{if(n){let e;let t=n.ownerDocument.defaultView??window,r=r=>{let i=a(l.current).includes(r.animationName);if(r.target===n&&i&&(d("ANIMATION_END"),!u.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},i=e=>{e.target===n&&(c.current=a(l.current))};return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:i.useCallback(e=>{e&&(l.current=getComputedStyle(e)),o(e)},[])}}(t),l="function"==typeof r?r({present:o.isPresent}):i.Children.only(r),u=(0,n.e)(o.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof r||o.isPresent?i.cloneElement(l,{ref:u}):null};function a(e){return e?.animationName||"none"}o.displayName="Presence"},5320:(e,t,r)=>{r.d(t,{WV:()=>o});var i=r(7294);r(3935);var n=r(8426),s=r(5893),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=i.forwardRef((e,r)=>{let{asChild:i,...o}=e,a=i?n.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})},4418:(e,t,r)=>{r.d(t,{Ns:()=>X,fC:()=>Y,gb:()=>S,q4:()=>L,l_:()=>Z});var i=r(7294),n=r(5320),s=r(9115),o=r(5360),a=r(8771),l=r(9698),u=r(8990),c=r(9981),h=r(6206),d=r(5893),p="ScrollArea",[f,m]=(0,o.b)(p),[g,v]=f(p),y=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:s="hover",dir:o,scrollHideDelay:l=600,...c}=e,[h,p]=i.useState(null),[f,m]=i.useState(null),[v,y]=i.useState(null),[b,x]=i.useState(null),[w,S]=i.useState(null),[P,T]=i.useState(0),[E,A]=i.useState(0),[C,R]=i.useState(!1),[M,k]=i.useState(!1),V=(0,a.e)(t,e=>p(e)),j=(0,u.gm)(o);return(0,d.jsx)(g,{scope:r,type:s,dir:j,scrollHideDelay:l,scrollArea:h,viewport:f,onViewportChange:m,content:v,onContentChange:y,scrollbarX:b,onScrollbarXChange:x,scrollbarXEnabled:C,onScrollbarXEnabledChange:R,scrollbarY:w,onScrollbarYChange:S,scrollbarYEnabled:M,onScrollbarYEnabledChange:k,onCornerWidthChange:T,onCornerHeightChange:A,children:(0,d.jsx)(n.WV.div,{dir:j,...c,ref:V,style:{position:"relative","--radix-scroll-area-corner-width":P+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})});y.displayName=p;var b="ScrollAreaViewport",x=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:s,asChild:o,nonce:l,...u}=e,c=v(b,r),h=i.useRef(null),p=(0,a.e)(t,h,c.onViewportChange);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:` +[data-radix-scroll-area-viewport] { + scrollbar-width: none; + -ms-overflow-style: none; + -webkit-overflow-scrolling: touch; +} +[data-radix-scroll-area-viewport]::-webkit-scrollbar { + display: none; +} +:where([data-radix-scroll-area-viewport]) { + display: flex; + flex-direction: column; + align-items: stretch; +} +:where([data-radix-scroll-area-content]) { + flex-grow: 1; +} +`},nonce:l}),(0,d.jsx)(n.WV.div,{"data-radix-scroll-area-viewport":"",...u,asChild:o,ref:p,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:function(e,t){let{asChild:r,children:n}=e;if(!r)return"function"==typeof t?t(n):t;let s=i.Children.only(n);return i.cloneElement(s,{children:"function"==typeof t?t(s.props.children):t})}({asChild:o,children:s},e=>(0,d.jsx)("div",{"data-radix-scroll-area-content":"",ref:c.onContentChange,style:{minWidth:c.scrollbarXEnabled?"fit-content":void 0},children:e}))})]})});x.displayName=b;var w="ScrollAreaScrollbar",S=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,s=v(w,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:a}=s,l="horizontal"===e.orientation;return i.useEffect(()=>(l?o(!0):a(!0),()=>{l?o(!1):a(!1)}),[l,o,a]),"hover"===s.type?(0,d.jsx)(P,{...n,ref:t,forceMount:r}):"scroll"===s.type?(0,d.jsx)(T,{...n,ref:t,forceMount:r}):"auto"===s.type?(0,d.jsx)(E,{...n,ref:t,forceMount:r}):"always"===s.type?(0,d.jsx)(A,{...n,ref:t}):null});S.displayName=w;var P=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=v(w,e.__scopeScrollArea),[a,l]=i.useState(!1);return i.useEffect(()=>{let e=o.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),l(!0)},i=()=>{t=window.setTimeout(()=>l(!1),o.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",i),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",i)}}},[o.scrollArea,o.scrollHideDelay]),(0,d.jsx)(s.z,{present:r||a,children:(0,d.jsx)(E,{"data-state":a?"visible":"hidden",...n,ref:t})})}),T=i.forwardRef((e,t)=>{var r,n;let{forceMount:o,...a}=e,l=v(w,e.__scopeScrollArea),u="horizontal"===e.orientation,c=U(()=>f("SCROLL_END"),100),[p,f]=(r="hidden",n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},i.useReducer((e,t)=>n[e][t]??e,r));return i.useEffect(()=>{if("idle"===p){let e=window.setTimeout(()=>f("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(e)}},[p,l.scrollHideDelay,f]),i.useEffect(()=>{let e=l.viewport,t=u?"scrollLeft":"scrollTop";if(e){let r=e[t],i=()=>{let i=e[t];r!==i&&(f("SCROLL"),c()),r=i};return e.addEventListener("scroll",i),()=>e.removeEventListener("scroll",i)}},[l.viewport,u,f,c]),(0,d.jsx)(s.z,{present:o||"hidden"!==p,children:(0,d.jsx)(A,{"data-state":"hidden"===p?"hidden":"visible",...a,ref:t,onPointerEnter:(0,h.M)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,h.M)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})})}),E=i.forwardRef((e,t)=>{let r=v(w,e.__scopeScrollArea),{forceMount:n,...o}=e,[a,l]=i.useState(!1),u="horizontal"===e.orientation,c=U(()=>{if(r.viewport){let e=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,s=v(w,e.__scopeScrollArea),o=i.useRef(null),a=i.useRef(0),[l,u]=i.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=_(l.viewport,l.content),h={...n,sizes:l,onSizesChange:u,hasThumb:!!(c>0&&c<1),onThumbChange:e=>o.current=e,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:e=>a.current=e};function p(e,t){return function(e,t,r,i="ltr"){let n=$(r),s=t||n/2,o=r.scrollbar.paddingStart+s,a=r.scrollbar.size-r.scrollbar.paddingEnd-(n-s),l=r.content-r.viewport;return W([o,a],"ltr"===i?[0,l]:[-1*l,0])(e)}(e,a.current,l,t)}return"horizontal"===r?(0,d.jsx)(C,{...h,ref:t,onThumbPositionChange:()=>{if(s.viewport&&o.current){let e=B(s.viewport.scrollLeft,l,s.dir);o.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollLeft=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollLeft=p(e,s.dir))}}):"vertical"===r?(0,d.jsx)(R,{...h,ref:t,onThumbPositionChange:()=>{if(s.viewport&&o.current){let e=B(s.viewport.scrollTop,l);o.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{s.viewport&&(s.viewport.scrollTop=e)},onDragScroll:e=>{s.viewport&&(s.viewport.scrollTop=p(e))}}):null}),C=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...s}=e,o=v(w,e.__scopeScrollArea),[l,u]=i.useState(),c=i.useRef(null),h=(0,a.e)(t,c,o.onScrollbarXChange);return i.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,d.jsx)(V,{"data-orientation":"horizontal",...s,ref:h,sizes:r,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":$(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(o.viewport){let i=o.viewport.scrollLeft+t.deltaX;e.onWheelScroll(i),function(e,t){return e>0&&e{c.current&&o.viewport&&l&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:I(l.paddingLeft),paddingEnd:I(l.paddingRight)}})}})}),R=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...s}=e,o=v(w,e.__scopeScrollArea),[l,u]=i.useState(),c=i.useRef(null),h=(0,a.e)(t,c,o.onScrollbarYChange);return i.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,d.jsx)(V,{"data-orientation":"vertical",...s,ref:h,sizes:r,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":$(r)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(o.viewport){let i=o.viewport.scrollTop+t.deltaY;e.onWheelScroll(i),function(e,t){return e>0&&e{c.current&&o.viewport&&l&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:I(l.paddingTop),paddingEnd:I(l.paddingBottom)}})}})}),[M,k]=f(w),V=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:s,hasThumb:o,onThumbChange:u,onThumbPointerUp:c,onThumbPointerDown:p,onThumbPositionChange:f,onDragScroll:m,onWheelScroll:g,onResize:y,...b}=e,x=v(w,r),[S,P]=i.useState(null),T=(0,a.e)(t,e=>P(e)),E=i.useRef(null),A=i.useRef(""),C=x.viewport,R=s.content-s.viewport,k=(0,l.W)(g),V=(0,l.W)(f),j=U(y,10);function L(e){E.current&&m({x:e.clientX-E.current.left,y:e.clientY-E.current.top})}return i.useEffect(()=>{let e=e=>{let t=e.target;S?.contains(t)&&k(e,R)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[C,S,R,k]),i.useEffect(V,[s,V]),H(S,j),H(x.content,j),(0,d.jsx)(M,{scope:r,scrollbar:S,hasThumb:o,onThumbChange:(0,l.W)(u),onThumbPointerUp:(0,l.W)(c),onThumbPositionChange:V,onThumbPointerDown:(0,l.W)(p),children:(0,d.jsx)(n.WV.div,{...b,ref:T,style:{position:"absolute",...b.style},onPointerDown:(0,h.M)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),E.current=S.getBoundingClientRect(),A.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",x.viewport&&(x.viewport.style.scrollBehavior="auto"),L(e))}),onPointerMove:(0,h.M)(e.onPointerMove,L),onPointerUp:(0,h.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=A.current,x.viewport&&(x.viewport.style.scrollBehavior=""),E.current=null})})})}),j="ScrollAreaThumb",L=i.forwardRef((e,t)=>{let{forceMount:r,...i}=e,n=k(j,e.__scopeScrollArea);return(0,d.jsx)(s.z,{present:r||n.hasThumb,children:(0,d.jsx)(D,{ref:t,...i})})}),D=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:s,...o}=e,l=v(j,r),u=k(j,r),{onThumbPositionChange:c}=u,p=(0,a.e)(t,e=>u.onThumbChange(e)),f=i.useRef(),m=U(()=>{f.current&&(f.current(),f.current=void 0)},100);return i.useEffect(()=>{let e=l.viewport;if(e){let t=()=>{if(m(),!f.current){let t=z(e,c);f.current=t,c()}};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[l.viewport,m,c]),(0,d.jsx)(n.WV.div,{"data-state":u.hasThumb?"visible":"hidden",...o,ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:(0,h.M)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,i=e.clientY-t.top;u.onThumbPointerDown({x:r,y:i})}),onPointerUp:(0,h.M)(e.onPointerUp,u.onThumbPointerUp)})});L.displayName=j;var O="ScrollAreaCorner",N=i.forwardRef((e,t)=>{let r=v(O,e.__scopeScrollArea),i=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&i?(0,d.jsx)(F,{...e,ref:t}):null});N.displayName=O;var F=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,...s}=e,o=v(O,r),[a,l]=i.useState(0),[u,c]=i.useState(0),h=!!(a&&u);return H(o.scrollbarX,()=>{let e=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(e),c(e)}),H(o.scrollbarY,()=>{let e=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(e),l(e)}),h?(0,d.jsx)(n.WV.div,{...s,ref:t,style:{width:a,height:u,position:"absolute",right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:0,...e.style}}):null});function I(e){return e?parseInt(e,10):0}function _(e,t){let r=e/t;return isNaN(r)?0:r}function $(e){let t=_(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function B(e,t,r="ltr"){let i=$(t),n=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-n,o=t.content-t.viewport,a=function(e,[t,r]){return Math.min(r,Math.max(t,e))}(e,"ltr"===r?[0,o]:[-1*o,0]);return W([0,o],[0,s-i])(a)}function W(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let i=(t[1]-t[0])/(e[1]-e[0]);return t[0]+i*(r-e[0])}}var z=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},i=0;return!function n(){let s={left:e.scrollLeft,top:e.scrollTop},o=r.left!==s.left,a=r.top!==s.top;(o||a)&&t(),r=s,i=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(i)};function U(e,t){let r=(0,l.W)(e),n=i.useRef(0);return i.useEffect(()=>()=>window.clearTimeout(n.current),[]),i.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function H(e,t){let r=(0,l.W)(t);(0,c.b)(()=>{let t=0;if(e){let i=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return i.observe(e),()=>{window.cancelAnimationFrame(t),i.unobserve(e)}}},[e,r])}var Y=y,Z=x,X=N},8426:(e,t,r)=>{r.d(t,{g7:()=>o});var i=r(7294),n=r(8771),s=r(5893),o=i.forwardRef((e,t)=>{let{children:r,...n}=e,o=i.Children.toArray(r),l=o.find(u);if(l){let e=l.props.children,r=o.map(t=>t!==l?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,s.jsx)(a,{...n,ref:t,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,s.jsx)(a,{...n,ref:t,children:r})});o.displayName="Slot";var a=i.forwardRef((e,t)=>{let{children:r,...s}=e;if(i.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return i.cloneElement(r,{...function(e,t){let r={...t};for(let i in t){let n=e[i],s=t[i];/^on[A-Z]/.test(i)?n&&s?r[i]=(...e)=>{s(...e),n(...e)}:n&&(r[i]=n):"style"===i?r[i]={...n,...s}:"className"===i&&(r[i]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props),ref:t?(0,n.F)(t,e):e})}return i.Children.count(r)>1?i.Children.only(null):null});a.displayName="SlotClone";var l=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});function u(e){return i.isValidElement(e)&&e.type===l}},9698:(e,t,r)=>{r.d(t,{W:()=>n});var i=r(7294);function n(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>t.current?.(...e),[])}},9981:(e,t,r)=>{r.d(t,{b:()=>n});var i=r(7294),n=globalThis?.document?i.useLayoutEffect:()=>{}},5139:(e,t,r)=>{r.d(t,{j:()=>s});let i=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,i="";rr=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:a}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==a?void 0:a[e];if(null===t)return null;let s=i(t)||i(n);return o[e][s]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,i]=t;return void 0===i||(e[r]=i),e},{});return n(e,l,null==t?void 0:null===(s=t.compoundVariants)||void 0===s?void 0:s.reduce((e,t)=>{let{class:r,className:i,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...u}[t]):({...a,...u})[t]===r})?[...e,r,i]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},512:(e,t,r)=>{r.d(t,{W:()=>i});function i(){for(var e,t,r=0,i="",n=arguments.length;r{r.d(t,{M:()=>v});var i=r(5893),n=r(7294),s=r(240),o=r(6681),a=r(6014);class l extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let r=(0,n.useId)(),s=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0}),{nonce:u}=(0,n.useContext)(a._);return(0,n.useInsertionEffect)(()=>{let{width:e,height:i,top:n,left:a}=o.current;if(t||!s.current||!e||!i)return;s.current.dataset.motionPopId=r;let l=document.createElement("style");return u&&(l.nonce=u),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` + [data-motion-pop-id="${r}"] { + position: absolute !important; + width: ${e}px !important; + height: ${i}px !important; + top: ${n}px !important; + left: ${a}px !important; + } + `),()=>{document.head.removeChild(l)}},[t]),(0,i.jsx)(l,{isPresent:t,childRef:s,sizeRef:o,children:n.cloneElement(e,{ref:s})})}let c=({children:e,initial:t,isPresent:r,onExitComplete:a,custom:l,presenceAffectsLayout:c,mode:d})=>{let p=(0,o.h)(h),f=(0,n.useId)(),m=(0,n.useCallback)(e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;a&&a()},[p,a]),g=(0,n.useMemo)(()=>({id:f,initial:t,isPresent:r,custom:l,onExitComplete:m,register:e=>(p.set(e,!1),()=>p.delete(e))}),c?[Math.random(),m]:[r,m]);return(0,n.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[r]),n.useEffect(()=>{r||p.size||!a||a()},[r]),"popLayout"===d&&(e=(0,i.jsx)(u,{isPresent:r,children:e})),(0,i.jsx)(s.O.Provider,{value:g,children:e})};function h(){return new Map}var d=r(5364),p=r(5487);let f=e=>e.key||"";function m(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}var g=r(8868);let v=({children:e,exitBeforeEnter:t,custom:r,initial:s=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync"})=>{(0,p.k)(!t,"Replace exitBeforeEnter with mode='wait'");let h=(0,n.useMemo)(()=>m(e),[e]),v=h.map(f),y=(0,n.useRef)(!0),b=(0,n.useRef)(h),x=(0,o.h)(()=>new Map),[w,S]=(0,n.useState)(h),[P,T]=(0,n.useState)(h);(0,g.L)(()=>{y.current=!1,b.current=h;for(let e=0;e{let t=f(e),n=h===P||v.includes(t);return(0,i.jsx)(c,{isPresent:n,initial:(!y.current||!!s)&&void 0,custom:n?void 0:r,presenceAffectsLayout:l,mode:u,onExitComplete:n?void 0:()=>{if(!x.has(t))return;x.set(t,!0);let e=!0;x.forEach(t=>{t||(e=!1)}),e&&(null==A||A(),T(b.current),a&&a())},children:e},t)})})}},5364:(e,t,r)=>{r.d(t,{p:()=>i});let i=(0,r(7294).createContext)({})},6014:(e,t,r)=>{r.d(t,{_:()=>i});let i=(0,r(7294).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},240:(e,t,r)=>{r.d(t,{O:()=>i});let i=(0,r(7294).createContext)(null)},5480:(e,t,r)=>{let i;function n(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}r.d(t,{E:()=>so});let s=e=>Array.isArray(e);function o(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let i=0;i{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}(i);t=t(void 0!==r?r:e.custom,n,s)}return t}function u(e,t,r){let i=e.getProps();return l(i,t,void 0!==r?r:i.custom,e)}let c=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],h=["initial",...c],d=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],p=new Set(d),f=e=>1e3*e,m=e=>e/1e3,g={type:"spring",stiffness:500,damping:25,restSpeed:10},v=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),y={type:"keyframes",duration:.8},b={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},x=(e,{keyframes:t})=>t.length>2?y:p.has(e)?e.startsWith("scale")?v(t[1]):g:b;function w(e,t){return e?e[t]||e.default||e:void 0}let S={skipAnimations:!1,useManualTiming:!1},P={current:!1},T=e=>null!==e;function E(e,{repeat:t,repeatType:r="loop"},i){let n=e.filter(T),s=t&&"loop"!==r&&t%2==1?0:n.length-1;return s&&void 0!==i?i:n[s]}var A,C,R=r(1662);let M=["read","resolveKeyframes","update","preRender","render","postRender"];function k(e,t){let r=!1,i=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,o=M.reduce((e,t)=>(e[t]=function(e){let t=new Set,r=new Set,i=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(t){s.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,n=!1,o=!1)=>{let a=o&&i?t:r;return n&&s.add(e),a.has(e)||a.add(e),e},cancel:e=>{r.delete(e),s.delete(e)},process:e=>{if(o=e,i){n=!0;return}i=!0,[t,r]=[r,t],r.clear(),t.forEach(a),i=!1,n&&(n=!1,l.process(e))}};return l}(s),e),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:d}=o,p=()=>{let s=S.useManualTiming?n.timestamp:performance.now();r=!1,n.delta=i?1e3/60:Math.max(Math.min(s-n.timestamp,40),1),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),c.process(n),h.process(n),d.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(p))},f=()=>{r=!0,i=!0,n.isProcessing||e(p)};return{schedule:M.reduce((e,t)=>{let i=o[t];return e[t]=(e,t=!1,n=!1)=>(r||f(),i.schedule(e,t,n)),e},{}),cancel:e=>{for(let t=0;t(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function N(e,t,r,i){if(e===t&&r===i)return R.Z;let n=t=>(function(e,t,r,i,n){let s,o;let a=0;do(s=O(o=t+(r-t)/2,i,n)-e)>0?r=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o})(t,0,1,e,r);return e=>0===e||1===e?e:O(n(e),t,i)}let F=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,I=e=>t=>1-e(1-t),_=N(.33,1.53,.69,.99),$=I(_),B=F($),W=e=>(e*=2)<1?.5*$(e):.5*(2-Math.pow(2,-10*(e-1))),z=e=>1-Math.sin(Math.acos(e)),U=I(z),H=F(z),Y=e=>/^0[^.\s]+$/u.test(e);var Z=r(5487);let X=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),K=e=>t=>"string"==typeof t&&t.startsWith(e),q=K("--"),G=K("var(--"),J=e=>!!G(e)&&Q.test(e.split("/*")[0].trim()),Q=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ee=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,et=(e,t,r)=>r>t?t:r"number"==typeof e,parse:parseFloat,transform:e=>e},ei={...er,transform:e=>et(0,1,e)},en={...er,default:1},es=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),eo=es("deg"),ea=es("%"),el=es("px"),eu=es("vh"),ec=es("vw"),eh={...ea,parse:e=>ea.parse(e)/100,transform:e=>ea.transform(100*e)},ed=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),ep=e=>e===er||e===el,ef=(e,t)=>parseFloat(e.split(", ")[t]),em=(e,t)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let n=i.match(/^matrix3d\((.+)\)$/u);if(n)return ef(n[1],t);{let t=i.match(/^matrix\((.+)\)$/u);return t?ef(t[1],e):0}},eg=new Set(["x","y","z"]),ev=d.filter(e=>!eg.has(e)),ey={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:em(4,13),y:em(5,14)};ey.translateX=ey.x,ey.translateY=ey.y;let eb=e=>t=>t.test(e),ex=[er,el,ea,eo,ec,eu,{test:e=>"auto"===e,parse:e=>e}],ew=e=>ex.find(eb(e)),eS=new Set,eP=!1,eT=!1;function eE(){if(eT){let e=Array.from(eS).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=function(e){let t=[];return ev.forEach(r=>{let i=e.getValue(r);void 0!==i&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var i;null===(i=e.getValue(t))||void 0===i||i.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eT=!1,eP=!1,eS.forEach(e=>e.complete()),eS.clear()}function eA(){eS.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eT=!0)})}class eC{constructor(e,t,r,i,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eS.add(this),eP||(eP=!0,V.read(eA),V.resolveKeyframes(eE))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:i}=this;for(let n=0;nMath.round(1e5*e)/1e5,eM=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,ek=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eV=(e,t)=>r=>!!("string"==typeof r&&ek.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),ej=(e,t,r)=>i=>{if("string"!=typeof i)return i;let[n,s,o,a]=i.match(eM);return{[e]:parseFloat(n),[t]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eL=e=>et(0,255,e),eD={...er,transform:e=>Math.round(eL(e))},eO={test:eV("rgb","red"),parse:ej("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+eD.transform(e)+", "+eD.transform(t)+", "+eD.transform(r)+", "+eR(ei.transform(i))+")"},eN={test:eV("#"),parse:function(e){let t="",r="",i="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}},transform:eO.transform},eF={test:eV("hsl","hue"),parse:ej("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+ea.transform(eR(t))+", "+ea.transform(eR(r))+", "+eR(ei.transform(i))+")"},eI={test:e=>eO.test(e)||eN.test(e)||eF.test(e),parse:e=>eO.test(e)?eO.parse(e):eF.test(e)?eF.parse(e):eN.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?eO.transform(e):eF.transform(e)},e_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,e$="number",eB="color",eW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ez(e){let t=e.toString(),r=[],i={color:[],number:[],var:[]},n=[],s=0,o=t.replace(eW,e=>(eI.test(e)?(i.color.push(s),n.push(eB),r.push(eI.parse(e))):e.startsWith("var(")?(i.var.push(s),n.push("var"),r.push(e)):(i.number.push(s),n.push(e$),r.push(parseFloat(e))),++s,"${}")).split("${}");return{values:r,split:o,indexes:i,types:n}}function eU(e){return ez(e).values}function eH(e){let{split:t,types:r}=ez(e),i=t.length;return e=>{let n="";for(let s=0;s"number"==typeof e?0:e,eZ={test:function(e){var t,r;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(eM))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(e_))||void 0===r?void 0:r.length)||0)>0},parse:eU,createTransformer:eH,getAnimatableNone:function(e){let t=eU(e);return eH(e)(t.map(eY))}},eX=new Set(["brightness","contrast","saturate","opacity"]);function eK(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=r.match(eM)||[];if(!i)return e;let n=r.replace(i,""),s=eX.has(t)?1:0;return i!==r&&(s*=100),t+"("+s+n+")"}let eq=/\b([a-z-]*)\(.*?\)/gu,eG={...eZ,getAnimatableNone:e=>{let t=e.match(eq);return t?t.map(eK).join(" "):e}},eJ={...er,transform:Math.round},eQ={borderWidth:el,borderTopWidth:el,borderRightWidth:el,borderBottomWidth:el,borderLeftWidth:el,borderRadius:el,radius:el,borderTopLeftRadius:el,borderTopRightRadius:el,borderBottomRightRadius:el,borderBottomLeftRadius:el,width:el,maxWidth:el,height:el,maxHeight:el,top:el,right:el,bottom:el,left:el,padding:el,paddingTop:el,paddingRight:el,paddingBottom:el,paddingLeft:el,margin:el,marginTop:el,marginRight:el,marginBottom:el,marginLeft:el,backgroundPositionX:el,backgroundPositionY:el,rotate:eo,rotateX:eo,rotateY:eo,rotateZ:eo,scale:en,scaleX:en,scaleY:en,scaleZ:en,skew:eo,skewX:eo,skewY:eo,distance:el,translateX:el,translateY:el,translateZ:el,x:el,y:el,z:el,perspective:el,transformPerspective:el,opacity:ei,originX:eh,originY:eh,originZ:el,zIndex:eJ,size:el,fillOpacity:ei,strokeOpacity:ei,numOctaves:eJ},e0={...eQ,color:eI,backgroundColor:eI,outlineColor:eI,fill:eI,stroke:eI,borderColor:eI,borderTopColor:eI,borderRightColor:eI,borderBottomColor:eI,borderLeftColor:eI,filter:eG,WebkitFilter:eG},e1=e=>e0[e];function e2(e,t){let r=e1(e);return r!==eG&&(r=eZ),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let e5=new Set(["auto","none","0"]);class e9 extends eC{constructor(e,t,r,i,n){super(e,t,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}function e3(e){return"function"==typeof e}function e4(){i=void 0}let e8={now:()=>(void 0===i&&e8.set(L.isProcessing||S.useManualTiming?L.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(e4)}},e6=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eZ.test(e)||"0"===e)&&!e.startsWith("url("));class e7{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=e8.now(),this.options={autoplay:e,delay:t,type:r,repeat:i,repeatDelay:n,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eA(),eE()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=e8.now(),this.hasAttemptedResolve=!0;let{name:r,type:i,velocity:n,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,r,i){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=e6(n,t),a=e6(s,t);return(0,Z.K)(o===a,`You are trying to animate ${t} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r{this.resolveFinishedPromise=e})}}function te(e,t,r){var i,n;let s=Math.max(t-5,0);return i=r-e(s),(n=t-s)?1e3/n*i:0}function tt(e,t){return e*Math.sqrt(1-t*t)}let tr=["duration","bounce"],ti=["stiffness","damping","mass"];function tn(e,t){return t.some(t=>void 0!==e[t])}function ts({keyframes:e,restDelta:t,restSpeed:r,...i}){let n;let s=e[0],o=e[e.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tn(e,ti)&&tn(e,tr)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let n,s;(0,Z.K)(e<=f(10),"Spring duration must be 10 seconds or less");let o=1-t;o=et(.05,1,o),e=et(.01,10,m(e)),o<1?(n=t=>{let i=t*o,n=i*e;return .001-(i-r)/tt(t,o)*Math.exp(-n)},s=t=>{let i=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-i),l=tt(Math.pow(t,2),o);return(i*r+r-s)*a*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),s=t=>e*e*(r-t)*Math.exp(-t*e));let a=function(e,t,r){let i=r;for(let r=1;r<12;r++)i-=e(i)/t(i);return i}(n,s,5/e);if(e=f(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*i;return{stiffness:t,damping:2*o*Math.sqrt(i*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...i,velocity:-m(i.velocity||0)}),g=d||0,v=u/(2*Math.sqrt(l*c)),y=o-s,b=m(Math.sqrt(l/c)),x=5>Math.abs(y);if(r||(r=x?.01:2),t||(t=x?.005:.5),v<1){let e=tt(b,v);n=t=>o-Math.exp(-v*b*t)*((g+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===v)n=e=>o-Math.exp(-b*e)*(y+(g+b*y)*e);else{let e=b*Math.sqrt(v*v-1);n=t=>{let r=Math.exp(-v*b*t),i=Math.min(e*t,300);return o-r*((g+v*b*y)*Math.sinh(i)+e*y*Math.cosh(i))/e}}return{calculatedDuration:p&&h||null,next:e=>{let i=n(e);if(p)a.done=e>=h;else{let s=0;v<1&&(s=0===e?f(g):te(n,e,i));let l=Math.abs(s)<=r,u=Math.abs(o-i)<=t;a.done=l&&u}return a.value=a.done?o:i,a}}}function to({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let p=e[0],f={done:!1,value:p},m=e=>void 0!==a&&el,g=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)-v*Math.exp(-e/i),w=e=>b+x(e),S=e=>{let t=x(e),r=w(e);f.done=Math.abs(t)<=u,f.value=f.done?b:r},P=e=>{m(f.value)&&(h=e,d=ts({keyframes:[f.value,g(f.value)],velocity:te(w,e,f.value),damping:n,stiffness:s,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,S(e),P(e)),void 0!==h&&e>=h)?d.next(e-h):(t||S(e),f)}}}let ta=N(.42,0,1,1),tl=N(0,0,.58,1),tu=N(.42,0,.58,1),tc=e=>Array.isArray(e)&&"number"!=typeof e[0],th=e=>Array.isArray(e)&&"number"==typeof e[0],td={linear:R.Z,easeIn:ta,easeInOut:tu,easeOut:tl,circIn:z,circInOut:H,circOut:U,backIn:$,backInOut:B,backOut:_,anticipate:W},tp=e=>{if(th(e)){(0,Z.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,i,n]=e;return N(t,r,i,n)}return"string"==typeof e?((0,Z.k)(void 0!==td[e],`Invalid easing type '${e}'`),td[e]):e},tf=(e,t)=>r=>t(e(r)),tm=(...e)=>e.reduce(tf),tg=(e,t,r)=>{let i=t-e;return 0===i?1:(r-e)/i},tv=(e,t,r)=>e+(t-e)*r;function ty(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function tb(e,t){return r=>r>0?t:e}let tx=(e,t,r)=>{let i=e*e,n=r*(t*t-i)+i;return n<0?0:Math.sqrt(n)},tw=[eN,eO,eF],tS=e=>tw.find(t=>t.test(e));function tP(e){let t=tS(e);if((0,Z.K)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===eF&&(r=function({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,r/=100;let n=0,s=0,o=0;if(t/=100){let i=r<.5?r*(1+t):r+t-r*t,a=2*r-i;n=ty(a,i,e+1/3),s=ty(a,i,e),o=ty(a,i,e-1/3)}else n=s=o=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(r)),r}let tT=(e,t)=>{let r=tP(e),i=tP(t);if(!r||!i)return tb(e,t);let n={...r};return e=>(n.red=tx(r.red,i.red,e),n.green=tx(r.green,i.green,e),n.blue=tx(r.blue,i.blue,e),n.alpha=tv(r.alpha,i.alpha,e),eO.transform(n))},tE=new Set(["none","hidden"]);function tA(e,t){return r=>tv(e,t,r)}function tC(e){return"number"==typeof e?tA:"string"==typeof e?J(e)?tb:eI.test(e)?tT:tk:Array.isArray(e)?tR:"object"==typeof e?eI.test(e)?tT:tM:tb}function tR(e,t){let r=[...e],i=r.length,n=e.map((e,r)=>tC(e)(e,t[r]));return e=>{for(let t=0;t{for(let t in i)r[t]=i[t](e);return r}}let tk=(e,t)=>{let r=eZ.createTransformer(t),i=ez(e),n=ez(t);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?tE.has(e)&&!n.values.length||tE.has(t)&&!i.values.length?function(e,t){return tE.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}(e,t):tm(tR(function(e,t){var r;let i=[],n={color:0,var:0,number:0};for(let s=0;st[0];if(2===s&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,r){let i=[],n=r||tV,s=e.length-1;for(let r=0;r{let r=0;if(a>1)for(;rl(et(e[0],e[s-1],t)):l}((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=tg(0,t,i);e.push(tv(r,1,n))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(n)?n:t.map(()=>n||tu).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}let tL=e=>{let t=({timestamp:t})=>e(t);return{start:()=>V.update(t,!0),stop:()=>j(t),now:()=>L.isProcessing?L.timestamp:e8.now()}},tD={decay:to,inertia:to,tween:tj,keyframes:tj,spring:ts},tO=e=>e/100;class tN extends e7{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:r,element:i,keyframes:n}=this.options,s=(null==i?void 0:i.KeyframeResolver)||eC;this.resolver=new s(n,(e,t)=>this.onKeyframesResolved(e,t),t,r,i),this.resolver.scheduleResolve()}initPlayback(e){let t,r;let{type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=e3(i)?i:tD[i]||tj;l!==tj&&"number"!=typeof e[0]&&(t=tm(tO,tV(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===o&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,h=c+s;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(n+1)-s}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:i,generator:n,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return n.next(0);let{delay:h,repeat:d,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-h*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=n;if(d){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===p?(r=1-r,f&&(r-=f/c)):"mirror"===p&&(b=s)),y=et(0,1,r)*c}let x=v?{done:!1,value:a[0]}:b.next(y);o&&(x.value=o(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&void 0!==i&&(x.value=E(a,this.options,i)),m&&m(x.value),S&&this.finish(),x}get duration(){let{resolved:e}=this;return e?m(e.calculatedDuration):0}get time(){return m(this.currentTime)}set time(e){e=f(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=m(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tL,onPlay:t,startTime:r}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=r?r:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let tF=new Set(["opacity","clipPath","filter","transform"]),tI=(e,t)=>{let r="",i=Math.max(Math.round(t/10),2);for(let t=0;t(void 0===t&&(t=e()),t)}let t$={linearEasing:void 0},tB=function(e,t){let r=t_(e);return()=>{var e;return null!==(e=t$[t])&&void 0!==e?e:r()}}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tW=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,tz={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tW([0,.65,.55,1]),circOut:tW([.55,0,1,.45]),backIn:tW([.31,.01,.66,-.59]),backOut:tW([.33,1.53,.69,.99])};function tU(e,t){e.timeline=t,e.onfinish=null}let tH=t_(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tY={anticipate:W,backInOut:B,circInOut:H};class tZ extends e7{constructor(e){super(e);let{name:t,motionValue:r,element:i,keyframes:n}=this.options;this.resolver=new e9(n,(e,t)=>this.onKeyframesResolved(e,t),t,r,i),this.resolver.scheduleResolve()}initPlayback(e,t){var r,i;let{duration:n=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("string"==typeof o&&tB()&&o in tY&&(o=tY[o]),e3((i=this.options).type)||"spring"===i.type||!function e(t){return!!("function"==typeof t&&tB()||!t||"string"==typeof t&&(t in tz||tB())||th(t)||Array.isArray(t)&&t.every(e))}(i.ease)){let{onComplete:t,onUpdate:r,motionValue:i,element:l,...u}=this.options,c=function(e,t){let r=new tN({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:e[0]},n=[],s=0;for(;!i.done&&s<2e4;)n.push((i=r.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,s=c.times,o=c.ease,a="keyframes"}let h=function(e,t,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=function e(t,r){if(t)return"function"==typeof t&&tB()?tI(t,r):th(t)?tW(t):Array.isArray(t)?t.map(t=>e(t,r)||tz.easeOut):tz[t]}(a,n);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:i,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:n,times:s,ease:o});return h.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(tU(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:r}=this.options;l.set(E(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:n,times:s,type:a,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return m(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return m(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=f(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return R.Z;let{animation:r}=t;tU(r,e)}else this.pendingTimeline=e;return R.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:i,type:n,ease:s,times:o}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:a,element:l,...u}=this.options,c=new tN({...u,keyframes:r,duration:i,type:n,ease:s,times:o,isGenerator:!0}),h=f(this.time);e.setWithVelocity(c.sample(h-10).value,c.sample(h).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:i,repeatType:n,damping:s,type:o}=e;return tH()&&r&&tF.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!i&&"mirror"!==n&&0!==s&&"inertia"!==o}}let tX=t_(()=>void 0!==window.ScrollTimeline);class tK{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;rtX()&&r.attachTimeline?r.attachTimeline(e):t(r));return()=>{r.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;tt[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let tq=(e,t,r,i={},n,s)=>o=>{let a=w(i,e)||{},l=a.delay||i.delay||0,{elapsed:u=0}=i;u-=f(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&(c={...c,...x(e,c)}),c.duration&&(c.duration=f(c.duration)),c.repeatDelay&&(c.repeatDelay=f(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(h=!0)),(P.current||S.skipAnimations)&&(h=!0,c.duration=0,c.delay=0),h&&!s&&void 0!==t.get()){let e=E(c.keyframes,a);if(void 0!==e)return V.update(()=>{c.onUpdate(e),c.onComplete()}),new tK([])}return!s&&tZ.supports(c)?new tZ(c):new tN(c)},tG=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),tJ=e=>s(e)?e[e.length-1]||0:e;function tQ(e,t){-1===e.indexOf(t)&&e.push(t)}function t0(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class t1{constructor(){this.subscriptions=[]}add(e){return tQ(this.subscriptions,e),()=>t0(this.subscriptions,e)}notify(e,t,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](e,t,r);else for(let n=0;n!isNaN(parseFloat(e)),t5={current:void 0};class t9{constructor(e,t={}){this.version="11.11.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=e8.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=e8.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=t2(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new t1);let r=this.events[e].add(t);return"change"===e?()=>{r(),V.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return t5.current&&t5.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=e8.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function t3(e,t){return new t9(e,t)}let t4=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),t8="data-"+t4("framerAppearId"),t6=e=>!!(e&&e.getVelocity);function t7(e,t){let r=e.getValue("willChange");if(t6(r)&&r.add)return r.add(t)}function re(e,t,{delay:r=0,transitionOverride:i,type:n}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;i&&(o=i);let c=[],h=n&&e.animationState&&e.animationState.getState()[n];for(let t in l){let i=e.getValue(t,null!==(s=e.latestValues[t])&&void 0!==s?s:null),n=l[t];if(void 0===n||h&&function({protectedKeys:e,needsAnimating:t},r){let i=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,i}(h,t))continue;let a={delay:r,...w(o||{},t)},u=!1;if(window.MotionHandoffAnimation){let r=e.props[t8];if(r){let e=window.MotionHandoffAnimation(r,t,V);null!==e&&(a.startTime=e,u=!0)}}t7(e,t),i.start(tq(t,i,n,e.shouldReduceMotion&&p.has(t)?{type:!1}:a,e,u));let d=i.animation;d&&c.push(d)}return a&&Promise.all(c).then(()=>{V.update(()=>{a&&function(e,t){let{transitionEnd:r={},transition:i={},...n}=u(e,t)||{};for(let t in n={...n,...r}){let r=tJ(n[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,t3(r))}}(e,a)})}),c}function rt(e,t,r={}){var i;let n=u(e,t,"exit"===r.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(s=r.transitionOverride);let o=n?()=>Promise.all(re(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(e,t,r=0,i=0,n=1,s){let o=[],a=(e.variantChildren.size-1)*i,l=1===n?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(rr).forEach((e,i)=>{e.notify("AnimationStart",t),o.push(rt(e,t,{...s,delay:r+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,n+i,o,a,r)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(r.delay)]);{let[e,t]="beforeChildren"===l?[o,a]:[a,o];return e().then(()=>t())}}function rr(e,t){return e.sortNodePosition(t)}let ri=h.length,rn=[...c].reverse(),rs=c.length;function ro(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ra(){return{animate:ro(!0),whileInView:ro(),whileHover:ro(),whileTap:ro(),whileDrag:ro(),whileFocus:ro(),exit:ro()}}class rl{constructor(e){this.isMounted=!1,this.node=e}update(){}}class ru extends rl{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>rt(e,t,r)));else if("string"==typeof t)i=rt(e,t,r);else{let n="function"==typeof t?u(e,t,r.custom):t;i=Promise.all(re(e,n,r))}return i.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=ra(),i=!0,l=t=>(r,i)=>{var n;let s=u(e,i,"exit"===t?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0);if(s){let{transition:e,transitionEnd:t,...i}=s;r={...r,...i,...t}}return r};function c(u){let{props:c}=e,d=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;eg&&x,E=!1,A=Array.isArray(b)?b:[b],C=A.reduce(l(h),{});!1===w&&(C={});let{prevResolvedValues:R={}}=y,M={...R,...C},k=t=>{T=!0,f.has(t)&&(E=!0,f.delete(t)),y.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in M){let t=C[e],r=R[e];if(!m.hasOwnProperty(e))(s(t)&&s(r)?o(t,r):t===r)?void 0!==t&&f.has(e)?k(e):y.protectedKeys[e]=!0:null!=t?k(e):f.add(e)}y.prevProp=b,y.prevResolvedValues=C,y.isActive&&(m={...m,...C}),i&&e.blockInitialAnimation&&(T=!1);let V=!(S&&P)||E;T&&V&&p.push(...A.map(e=>({animation:e,options:{type:h}})))}if(f.size){let t={};f.forEach(r=>{let i=e.getBaseTarget(r),n=e.getValue(r);n&&(n.liveStyle=!0),t[r]=null!=i?i:null}),p.push({animation:t})}let y=!!p.length;return i&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),i=!1,y?t(p):Promise.resolve()}return{animateChanges:c,setActive:function(t,i){var n;if(r[t].isActive===i)return Promise.resolve();null===(n=e.variantChildren)||void 0===n||n.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,i)}),r[t].isActive=i;let s=c(t);for(let e in r)r[e].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=ra(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();n(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let rc=0;class rh extends rl{constructor(){super(...arguments),this.id=rc++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let rd=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function rp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let rf=e=>t=>rd(t)&&e(t,rp(t));function rm(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}function rg(e,t,r,i){return rm(e,t,rf(r),i)}let rv=(e,t)=>Math.abs(e-t);class ry{constructor(e,t,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=rw(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){return Math.sqrt(rv(e.x,t.x)**2+rv(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;let{point:i}=e,{timestamp:n}=L;this.history.push({...i,timestamp:n});let{onStart:s,onMove:o}=this.handlers;t||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=rb(t,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rw("pointercancel"===e.type?this.lastMoveEventInfo:rb(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,s),i&&i(e,s)},!rd(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=r,this.contextWindow=i||window;let s=rb(rp(e),this.transformPagePoint),{point:o}=s,{timestamp:a}=L;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,rw(s,this.history)),this.removeListeners=tm(rg(this.contextWindow,"pointermove",this.handlePointerMove),rg(this.contextWindow,"pointerup",this.handlePointerUp),rg(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),j(this.updatePoint)}}function rb(e,t){return t?{point:t(e.point)}:e}function rx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rw({point:e},t){return{point:e,delta:rx(e,rS(t)),offset:rx(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null,n=rS(e);for(;r>=0&&(i=e[r],!(n.timestamp-i.timestamp>f(.1)));)r--;if(!i)return{x:0,y:0};let s=m(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function rS(e){return e[e.length-1]}function rP(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let rT=rP("dragHorizontal"),rE=rP("dragVertical");function rA(e){let t=!1;if("y"===e)t=rE();else if("x"===e)t=rT();else{let e=rT(),r=rE();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function rC(){let e=rA(!0);return!e||(e(),!1)}function rR(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function rM(e){return e.max-e.min}function rk(e,t,r,i=.5){e.origin=i,e.originPoint=tv(t.min,t.max,e.origin),e.scale=rM(r)/rM(t),e.translate=tv(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function rV(e,t,r,i){rk(e.x,t.x,r.x,i?i.originX:void 0),rk(e.y,t.y,r.y,i?i.originY:void 0)}function rj(e,t,r){e.min=r.min+t.min,e.max=e.min+rM(t)}function rL(e,t,r){e.min=t.min-r.min,e.max=e.min+rM(t)}function rD(e,t,r){rL(e.x,t.x,r.x),rL(e.y,t.y,r.y)}function rO(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function rN(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min({translate:0,scale:1,origin:0,originPoint:0}),r$=()=>({x:r_(),y:r_()}),rB=()=>({min:0,max:0}),rW=()=>({x:rB(),y:rB()});function rz(e){return[e("x"),e("y")]}function rU({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function rH(e){return void 0===e||1===e}function rY({scale:e,scaleX:t,scaleY:r}){return!rH(e)||!rH(t)||!rH(r)}function rZ(e){return rY(e)||rX(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rX(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function rK(e,t,r,i,n){return void 0!==n&&(e=i+n*(e-i)),i+r*(e-i)+t}function rq(e,t=0,r=1,i,n){e.min=rK(e.min,t,r,i,n),e.max=rK(e.max,t,r,i,n)}function rG(e,{x:t,y:r}){rq(e.x,t.translate,t.scale,t.originPoint),rq(e.y,r.translate,r.scale,r.originPoint)}function rJ(e,t){e.min=e.min+t,e.max=e.max+t}function rQ(e,t,r,i,n=.5){let s=tv(e.min,e.max,n);rq(e,t,r,s,i)}function r0(e,t){rQ(e.x,t.x,t.scaleX,t.scale,t.originX),rQ(e.y,t.y,t.scaleY,t.scale,t.originY)}function r1(e,t){return rU(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}let r2=({current:e})=>e?e.ownerDocument.defaultView:null,r5=new WeakMap;class r9{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rW(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new ry(e,{onSessionStart:e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(rp(e,"page").point)},onStart:(e,t)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=rA(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rz(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ea.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[e];i&&(t=rM(i)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&V.postRender(()=>n(e,t)),t7(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:o}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>rz(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:r2(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:n}=this.getProps();n&&V.postRender(()=>n(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:i}=this.getProps();if(!r||!r3(e,i,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:r},i){return void 0!==t&&er&&(e=i?tv(r,e,i.max):Math.min(e,r)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,n=this.constraints;t&&rR(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(e,{top:t,left:r,bottom:i,right:n}){return{x:rO(e.x,r,n),y:rO(e.y,t,i)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:rF(e,"left","right"),y:rF(e,"top","bottom")}}(r),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rz(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rR(t))return!1;let i=t.current;(0,Z.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(e,t,r){let i=r1(e,r),{scroll:n}=t;return n&&(rJ(i.x,n.offset.x),rJ(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),o={x:rN((e=n.layout.layoutBox).x,s.x),y:rN(e.y,s.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=rU(e))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rz(o=>{if(!r3(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return t7(this.visualElement,e),r.start(tq(e,r,0,t,this.visualElement,!1))}stopAnimation(){rz(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){rz(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){rz(t=>{let{drag:r}=this.getProps();if(!r3(t,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(t);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[t];n.set(e[t]-tv(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rR(t)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};rz(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();i[e]=function(e,t){let r=.5,i=rM(e),n=rM(t);return n>i?r=tg(t.min,t.max-i,e.min):i>n&&(r=tg(e.min,e.max-n,t.min)),et(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),rz(t=>{if(!r3(t,e,null))return;let r=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];r.set(tv(n,s,i[t]))})}addListeners(){if(!this.visualElement.current)return;r5.set(this.visualElement,this);let e=rg(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();rR(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),V.read(t);let n=rm(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rz(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{n(),e(),i(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function r3(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class r4 extends rl{constructor(e){super(e),this.removeGroupControls=R.Z,this.removeListeners=R.Z,this.controls=new r9(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||R.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let r8=e=>(t,r)=>{e&&V.postRender(()=>e(t,r))};class r6 extends rl{constructor(){super(...arguments),this.removePointerDownListener=R.Z}onPointerDown(e){this.session=new ry(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r2(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:r8(e),onStart:r8(t),onMove:r,onEnd:(e,t)=>{delete this.session,i&&V.postRender(()=>i(e,t))}}}mount(){this.removePointerDownListener=rg(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var r7=r(5893),ie=r(7294),it=r(240),ir=r(5364);let ii=(0,ie.createContext)({}),is={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function io(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let ia={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!el.test(e))return e;e=parseFloat(e)}let r=io(e,t.target.x),i=io(e,t.target.y);return`${r}% ${i}%`}},il={},{schedule:iu,cancel:ic}=k(queueMicrotask,!1);class ih extends ie.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=e;Object.assign(il,ip),n&&(t.group&&t.group.add(n),r&&r.register&&i&&r.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),is.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:i,isPresent:n}=this.props,s=r.projection;return s&&(s.isPresent=n,i||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent===n||(n?s.promote():s.relegate()||V.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),iu.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function id(e){let[t,r]=function(){let e=(0,ie.useContext)(it.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:i}=e,n=(0,ie.useId)();(0,ie.useEffect)(()=>i(n),[]);let s=(0,ie.useCallback)(()=>r&&r(n),[n,r]);return!t&&r?[!1,s]:[!0]}(),i=(0,ie.useContext)(ir.p);return(0,r7.jsx)(ih,{...e,layoutGroup:i,switchLayoutGroup:(0,ie.useContext)(ii),isPresent:t,safeToRemove:r})}let ip={borderRadius:{...ia,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ia,borderTopRightRadius:ia,borderBottomLeftRadius:ia,borderBottomRightRadius:ia,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let i=eZ.parse(e);if(i.length>5)return e;let n=eZ.createTransformer(e),s="number"!=typeof i[0]?1:0,o=r.x.scale*t.x,a=r.y.scale*t.y;i[0+s]/=o,i[1+s]/=a;let l=tv(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),n(i)}}},im=["TopLeft","TopRight","BottomLeft","BottomRight"],ig=im.length,iv=e=>"string"==typeof e?parseFloat(e):e,iy=e=>"number"==typeof e||el.test(e);function ib(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let ix=iS(0,.5,U),iw=iS(.5,.95,R.Z);function iS(e,t,r){return i=>it?1:r(tg(e,t,i))}function iP(e,t){e.min=t.min,e.max=t.max}function iT(e,t){iP(e.x,t.x),iP(e.y,t.y)}function iE(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function iA(e,t,r,i,n){return e-=t,e=i+1/r*(e-i),void 0!==n&&(e=i+1/n*(e-i)),e}function iC(e,t,[r,i,n],s,o){!function(e,t=0,r=1,i=.5,n,s=e,o=e){if(ea.test(t)&&(t=parseFloat(t),t=tv(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=tv(s.min,s.max,i);e===s&&(a-=t),e.min=iA(e.min,t,r,a,n),e.max=iA(e.max,t,r,a,n)}(e,t[r],t[i],t[n],t.scale,s,o)}let iR=["x","scaleX","originX"],iM=["y","scaleY","originY"];function ik(e,t,r,i){iC(e.x,t,iR,r?r.x:void 0,i?i.x:void 0),iC(e.y,t,iM,r?r.y:void 0,i?i.y:void 0)}function iV(e){return 0===e.translate&&1===e.scale}function ij(e){return iV(e.x)&&iV(e.y)}function iL(e,t){return e.min===t.min&&e.max===t.max}function iD(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function iO(e,t){return iD(e.x,t.x)&&iD(e.y,t.y)}function iN(e){return rM(e.x)/rM(e.y)}function iF(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iI{constructor(){this.members=[]}add(e){tQ(this.members,e),e.scheduleRender()}remove(e){if(t0(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let i_=(e,t)=>e.depth-t.depth;class i${constructor(){this.children=[],this.isDirty=!1}add(e){tQ(this.children,e),this.isDirty=!0}remove(e){t0(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(i_),this.isDirty=!1,this.children.forEach(e)}}function iB(e){let t=t6(e)?e.get():e;return tG(t)?t.toValue():t}let iW={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},iz="undefined"!=typeof window&&void 0!==window.MotionDebug,iU=["","X","Y","Z"],iH={visibility:"hidden"},iY=0;function iZ(e,t,r,i){let{latestValues:n}=t;n[e]&&(r[e]=n[e],t.setStaticValue(e,0),i&&(i[e]=0))}function iX({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(e={},r=null==t?void 0:t()){this.id=iY++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,iz&&(iW.totalNodes=iW.resolvedTargetDeltas=iW.recalculatedProjection=0),this.nodes.forEach(iG),this.nodes.forEach(i9),this.nodes.forEach(i3),this.nodes.forEach(iJ),iz&&window.MotionDebug.record(iW)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=e8.now(),i=({timestamp:t})=>{let n=t-r;n>=250&&(j(i),e(n-250))};return V.read(i,!0),()=>j(i)}(i,250),is.hasAnimatedSinceResize&&(is.hasAnimatedSinceResize=!1,this.nodes.forEach(i5))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||nt,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!iO(this.targetLayout,i)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...w(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||i5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,j(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(i4),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let i=r.props[t8];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",V,!(e||r))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=rW());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(iE(this.prevProjectionDelta.x,this.projectionDelta.x),iE(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rV(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&iF(this.projectionDelta.x,this.prevProjectionDelta.x)&&iF(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),iz&&iW.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=r$(),this.projectionDelta=r$(),this.projectionDeltaWithTransform=r$()}setAnimationOrigin(e,t=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o=r$();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=rW(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(ne));this.animationProgress=0,this.mixTargetDelta=t=>{let i=t/1e3;if(i6(o.x,e.x,i),i6(o.y,e.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;rD(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,i7(p.x,f.x,a.x,i),i7(p.y,f.y,a.y,i),r&&(u=this.relativeTarget,d=r,iL(u.x,d.x)&&iL(u.y,d.y))&&(this.isProjectionDirty=!1),r||(r=rW()),iT(r,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,r,i,n,s){n?(e.opacity=tv(0,void 0!==r.opacity?r.opacity:1,ix(i)),e.opacityExit=tv(void 0!==t.opacity?t.opacity:1,0,iw(i))):s&&(e.opacity=tv(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let n=0;n{is.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let i=t6(0)?0:t3(0);return i.start(tq("",i,1e3,r)),i.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:i,latestValues:n}=e;if(t&&r&&i){if(this!==e&&this.layout&&i&&ns(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||rW();let t=rM(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let i=rM(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+i}iT(t,r),r0(t,n),rV(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iI),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let i={};r.z&&iZ("z",e,i,this.animationValues);for(let t=0;t{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(i0),this.root.sharedNodes.clear()}}}function iK(e){e.updateLayout()}function iq(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:i}=e.layout,{animationType:n}=e.options,s=r.source!==e.layout.source;"size"===n?rz(e=>{let i=s?r.measuredBox[e]:r.layoutBox[e],n=rM(i);i.min=t[e].min,i.max=i.min+n}):ns(n,r.layoutBox,t)&&rz(i=>{let n=s?r.measuredBox[i]:r.layoutBox[i],o=rM(t[i]);n.max=n.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+o)});let o=r$();rV(o,t,r.layoutBox);let a=r$();s?rV(a,e.applyTransform(i,!0),r.measuredBox):rV(a,t,r.layoutBox);let l=!ij(o),u=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let o=rW();rD(o,r.layoutBox,n.layoutBox);let a=rW();rD(a,t,s.layoutBox),iO(o,a)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function iG(e){iz&&iW.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function iJ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function iQ(e){e.clearSnapshot()}function i0(e){e.clearMeasurements()}function i1(e){e.isLayoutDirty=!1}function i2(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function i5(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function i9(e){e.resolveTargetDelta()}function i3(e){e.calcProjection()}function i4(e){e.resetSkewAndRotation()}function i8(e){e.removeLeadSnapshot()}function i6(e,t,r){e.translate=tv(t.translate,0,r),e.scale=tv(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function i7(e,t,r,i){e.min=tv(t.min,r.min,i),e.max=tv(t.max,r.max,i)}function ne(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let nt={duration:.45,ease:[.4,0,.1,1]},nr=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ni=nr("applewebkit/")&&!nr("chrome/")?Math.round:R.Z;function nn(e){e.min=ni(e.min),e.max=ni(e.max)}function ns(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iN(t)-iN(r)))}function no(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}let na=iX({attachResizeListener:(e,t)=>rm(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nl={current:void 0},nu=iX({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nl.current){let e=new na({});e.mount(window),e.setOptions({layoutScroll:!0}),nl.current=e}return nl.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function nc(e,t){let r=t?"onHoverStart":"onHoverEnd";return rg(e.current,t?"pointerenter":"pointerleave",(i,n)=>{if("touch"===i.pointerType||rC())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t);let o=s[r];o&&V.postRender(()=>o(i,n))},{passive:!e.getProps()[r]})}class nh extends rl{mount(){this.unmount=tm(nc(this.node,!0),nc(this.node,!1))}unmount(){}}class nd extends rl{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tm(rm(this.node.current,"focus",()=>this.onFocus()),rm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let np=(e,t)=>!!t&&(e===t||np(e,t.parentElement));function nf(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,rp(r))}class nm extends rl{constructor(){super(...arguments),this.removeStartListeners=R.Z,this.removeEndListeners=R.Z,this.removeAccessibleListeners=R.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),i=rg(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:i,globalTapTarget:n}=this.node.getProps(),s=n||np(this.node.current,e.target)?r:i;s&&V.update(()=>s(e,t))},{passive:!(r.onTap||r.onPointerUp)}),n=rg(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=tm(i,n),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=rm(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=rm(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&nf("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&V.postRender(()=>r(e,t))})}),nf("down",(e,t)=>{this.startPress(e,t)}))}),t=rm(this.node.current,"blur",()=>{this.isPressing&&nf("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=tm(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&V.postRender(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!rC()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&V.postRender(()=>r(e,t))}mount(){let e=this.node.getProps(),t=rg(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=rm(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=tm(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let ng=new WeakMap,nv=new WeakMap,ny=e=>{let t=ng.get(e.target);t&&t(e)},nb=e=>{e.forEach(ny)},nx={some:0,all:1};class nw extends rl{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:i="some",once:n}=e,s={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:nx[i]};return function(e,t,r){let i=function({root:e,...t}){let r=e||document;nv.has(r)||nv.set(r,{});let i=nv.get(r),n=JSON.stringify(t);return i[n]||(i[n]=new IntersectionObserver(nb,{root:e,...t})),i[n]}(t);return ng.set(e,r),i.observe(e),()=>{ng.delete(e),i.unobserve(e)}}(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),s=t?r:i;s&&s(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}var nS=r(6014);let nP=(0,ie.createContext)({});var nT=r(8868);let nE=(0,ie.createContext)({strict:!1});function nA(e){return n(e.animate)||h.some(t=>a(e[t]))}function nC(e){return!!(nA(e)||e.variants)}function nR(e){return Array.isArray(e)?e.join(" "):e}let nM={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},nk={};for(let e in nM)nk[e]={isEnabled:t=>nM[e].some(e=>!!t[e])};var nV=r(1741);let nj=Symbol.for("motionComponentSymbol"),nL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function nD(e){if("string"!=typeof e||e.includes("-"));else if(nL.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}function nO(e,{style:t,vars:r},i,n){for(let s in Object.assign(e.style,t,n&&n.getProjectionStyles(i)),r)e.style.setProperty(s,r[s])}let nN=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function nF(e,t,r,i){for(let r in nO(e,t,void 0,i),t.attrs)e.setAttribute(nN.has(r)?r:t4(r),t.attrs[r])}function nI(e,{layout:t,layoutId:r}){return p.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!il[e]||"opacity"===e)}function n_(e,t,r){var i;let{style:n}=e,s={};for(let o in n)(t6(n[o])||t.style&&t6(t.style[o])||nI(o,e)||(null===(i=null==r?void 0:r.getValue(o))||void 0===i?void 0:i.liveStyle)!==void 0)&&(s[o]=n[o]);return s}function n$(e,t,r){let i=n_(e,t,r);for(let r in e)(t6(e[r])||t6(t[r]))&&(i[-1!==d.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return i}var nB=r(6681);let nW=e=>(t,r)=>{let i=(0,ie.useContext)(nP),s=(0,ie.useContext)(it.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,s,o){let a={latestValues:function(e,t,r,i){let s={},o=i(e,{});for(let e in o)s[e]=iB(o[e]);let{initial:a,animate:u}=e,c=nA(e),h=nC(e);t&&h&&!c&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===u&&(u=t.animate));let d=!!r&&!1===r.initial,p=(d=d||!1===a)?u:a;if(p&&"boolean"!=typeof p&&!n(p)){let t=Array.isArray(p)?p:[p];for(let r=0;rr(i,e,a)),a})(e,t,i,s);return r?o():(0,nB.h)(o)},nz=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nU=()=>({...nz(),attrs:{}}),nH=(e,t)=>t&&"number"==typeof e?t.transform(e):e,nY={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nZ=d.length;function nX(e,t,r){let{style:i,vars:n,transformOrigin:s}=e,o=!1,a=!1;for(let e in t){let r=t[e];if(p.has(e)){o=!0;continue}if(q(e)){n[e]=r;continue}{let t=nH(r,eQ[e]);e.startsWith("origin")?(a=!0,s[e]=t):i[e]=t}}if(!t.transform&&(o||r?i.transform=function(e,t,r){let i="",n=!0;for(let s=0;s"string"==typeof e&&"svg"===e.toLowerCase(),n0={useVisualState:nW({scrapeMotionValuesFromProps:n$,createRenderState:nU,onMount:(e,t,{renderState:r,latestValues:i})=>{V.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),V.render(()=>{nJ(r,i,nQ(t.tagName),e.transformTemplate),nF(t,r)})}})},n1={useVisualState:nW({scrapeMotionValuesFromProps:n_,createRenderState:nz})};function n2(e,t,r){for(let i in t)t6(t[i])||nI(i,r)||(e[i]=t[i])}let n5=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function n9(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n5.has(e)}let n3=e=>!n9(e);try{!function(e){e&&(n3=t=>t.startsWith("on")?!n9(t):e(t))}(require("@emotion/is-prop-valid").default)}catch(e){}let n4={current:null},n8={current:!1},n6=new WeakMap,n7=[...ex,eI,eZ],se=e=>n7.find(eb(e)),st=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sr{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eC,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=e8.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),n8.current||function(){if(n8.current=!0,nV.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>n4.current=e.matches;e.addListener(t),t()}else n4.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||n4.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in n6.delete(this.current),this.projection&&this.projection.unmount(),j(this.notifyUpdate),j(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let r;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let i=p.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&V.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),s(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in nk){let t=nk[e];if(!t)continue;let{isEnabled:r,Feature:i}=t;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rW()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;tt.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=t3(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let i=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=i&&("string"==typeof i&&(X(i)||Y(i))?i=parseFloat(i):!se(i)&&eZ.test(t)&&(i=e2(e,t)),this.setBaseTarget(e,t6(i)?i.get():i)),t6(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let r;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=l(this.props,i,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);n&&(r=n[e])}if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||t6(n)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new t1),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class si extends sr{constructor(){super(...arguments),this.KeyframeResolver=e9}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class sn extends si{constructor(){super(...arguments),this.type="html",this.renderInstance=nO}readValueFromInstance(e,t){if(p.has(t)){let e=e1(t);return e&&e.default||0}{let r=window.getComputedStyle(e),i=(q(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return r1(e,t)}build(e,t,r){nX(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return n_(e,t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;t6(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class ss extends si{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rW}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(p.has(t)){let e=e1(t);return e&&e.default||0}return t=nN.has(t)?t:t4(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return n$(e,t,r)}build(e,t,r){nJ(e,t,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,r,i){nF(e,t,r,i)}mount(e){this.isSVGTag=nQ(e.tagName),super.mount(e)}}let so=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(r,i)=>"create"===i?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}((A={animation:{Feature:ru},exit:{Feature:rh},inView:{Feature:nw},tap:{Feature:nm},focus:{Feature:nd},hover:{Feature:nh},pan:{Feature:r6},drag:{Feature:r4,ProjectionNode:nu,MeasureLayout:id},layout:{ProjectionNode:nu,MeasureLayout:id}},C=(e,t)=>nD(e)?new ss(t):new sn(t,{allowProjection:e!==ie.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:n}){e&&function(e){for(let t in e)nk[t]={...nk[t],...e[t]}}(e);let s=(0,ie.forwardRef)(function(e,s){var o;let l;let u={...(0,ie.useContext)(nS._),...e,layoutId:function({layoutId:e}){let t=(0,ie.useContext)(ir.p).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:c}=u,h=function(e){let{initial:t,animate:r}=function(e,t){if(nA(e)){let{initial:t,animate:r}=e;return{initial:!1===t||a(t)?t:void 0,animate:a(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,ie.useContext)(nP));return(0,ie.useMemo)(()=>({initial:t,animate:r}),[nR(t),nR(r)])}(e),d=i(e,c);if(!c&&nV.j){(0,ie.useContext)(nE).strict;let e=function(e){let{drag:t,layout:r}=nk;if(!t&&!r)return{};let i={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(u);l=e.MeasureLayout,h.visualElement=function(e,t,r,i,n){var s,o;let{visualElement:a}=(0,ie.useContext)(nP),l=(0,ie.useContext)(nE),u=(0,ie.useContext)(it.O),c=(0,ie.useContext)(nS._).reducedMotion,h=(0,ie.useRef)();i=i||l.renderer,!h.current&&i&&(h.current=i(e,{visualState:t,parent:a,props:r,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let d=h.current,p=(0,ie.useContext)(ii);d&&!d.projection&&n&&("html"===d.type||"svg"===d.type)&&function(e,t,r,i){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&rR(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(h.current,r,n,p),(0,ie.useInsertionEffect)(()=>{d&&d.update(r,u)});let f=r[t8],m=(0,ie.useRef)(!!f&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,f))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,nT.L)(()=>{d&&(window.MotionIsMounted=!0,d.updateFeatures(),iu.render(d.render),m.current&&d.animationState&&d.animationState.animateChanges())}),(0,ie.useEffect)(()=>{d&&(!m.current&&d.animationState&&d.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,f)}),m.current=!1))}),d}(n,d,u,t,e.ProjectionNode)}return(0,r7.jsxs)(nP.Provider,{value:h,children:[l&&h.visualElement?(0,r7.jsx)(l,{visualElement:h.visualElement,...u}):null,r(n,e,(o=h.visualElement,(0,ie.useCallback)(e=>{e&&d.mount&&d.mount(e),o&&(e?o.mount(e):o.unmount()),s&&("function"==typeof s?s(e):rR(s)&&(s.current=e))},[o])),d,c,h.visualElement)]})});return s[nj]=n,s}({...nD(e)?n0:n1,preloadedFeatures:A,useRender:function(e=!1){return(t,r,i,{latestValues:n},s)=>{let o=(nD(t)?function(e,t,r,i){let n=(0,ie.useMemo)(()=>{let r=nU();return nJ(r,t,nQ(i),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};n2(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t){let r={},i=function(e,t){let r=e.style||{},i={};return n2(i,r,e),Object.assign(i,function({transformTemplate:e},t){return(0,ie.useMemo)(()=>{let r=nz();return nX(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),i}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r})(r,n,s,t),a=function(e,t,r){let i={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&(n3(n)||!0===r&&n9(n)||!t&&!n9(n)||e.draggable&&n.startsWith("onDrag"))&&(i[n]=e[n]);return i}(r,"string"==typeof t,e),l=t!==ie.Fragment?{...a,...o,ref:i}:{},{children:u}=r,c=(0,ie.useMemo)(()=>t6(u)?u.get():u,[u]);return(0,ie.createElement)(t,{...l,children:c})}}(t),createVisualElement:C,Component:e})}))},5487:(e,t,r)=>{r.d(t,{K:()=>n,k:()=>s});var i=r(1662);let n=i.Z,s=i.Z},1741:(e,t,r)=>{r.d(t,{j:()=>i});let i="undefined"!=typeof window},1662:(e,t,r)=>{r.d(t,{Z:()=>i});let i=e=>e},6681:(e,t,r)=>{r.d(t,{h:()=>n});var i=r(7294);function n(e){let t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8868:(e,t,r)=>{r.d(t,{L:()=>n});var i=r(7294);let n=r(1741).j?i.useLayoutEffect:i.useEffect},9386:(e,t,r)=>{function i(e){return Array.isArray?Array.isArray(e):"[object Array]"===c(e)}r.d(t,{Z:()=>J});let n=1/0;function s(e){return"string"==typeof e}function o(e){return"number"==typeof e}function a(e){return"object"==typeof e}function l(e){return null!=e}function u(e){return!e.trim().length}function c(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let h=e=>`Invalid value for key ${e}`,d=e=>`Pattern length exceeds max of ${e}.`,p=e=>`Missing ${e} property in key`,f=e=>`Property 'weight' in key '${e}' must be a positive integer`,m=Object.prototype.hasOwnProperty;class g{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let r=v(e);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function v(e){let t=null,r=null,n=null,o=1,a=null;if(s(e)||i(e))n=e,t=y(e),r=b(e);else{if(!m.call(e,"name"))throw Error(p("name"));let i=e.name;if(n=i,m.call(e,"weight")&&(o=e.weight)<=0)throw Error(f(i));t=y(i),r=b(i),a=e.getFn}return{path:t,id:r,weight:o,src:n,getFn:a}}function y(e){return i(e)?e:e.split(".")}function b(e){return i(e)?e.join("."):e}var x={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx{if(l(e)){if(t[d]){var p,f;let m=e[t[d]];if(l(m)){if(d===t.length-1&&(s(m)||o(m)||!0===(p=m)||!1===p||a(f=p)&&null!==f&&"[object Boolean]"==c(p)))r.push(null==m?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-n?"-0":t}(m));else if(i(m)){u=!0;for(let e=0,r=m.length;e{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,s(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();s(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,r=this.size();t{let o=t.getFn?t.getFn(e):this.getFn(e,t.path);if(l(o)){if(i(o)){let e=[],t=[{nestedArrIndex:-1,value:o}];for(;t.length;){let{nestedArrIndex:r,value:n}=t.pop();if(l(n)){if(s(n)&&!u(n)){let t={v:n,i:r,n:this.norm.get(n)};e.push(t)}else i(n)&&n.forEach((e,r)=>{t.push({nestedArrIndex:r,value:e})})}}r.$[n]=e}else if(s(o)&&!u(o)){let e={v:o,n:this.norm.get(o)};r.$[n]=e}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function P(e,t,{getFn:r=x.getFn,fieldNormWeight:i=x.fieldNormWeight}={}){let n=new S({getFn:r,fieldNormWeight:i});return n.setKeys(e.map(v)),n.setSources(t),n.create(),n}function T(e,{errors:t=0,currentLocation:r=0,expectedLocation:i=0,distance:n=x.distance,ignoreLocation:s=x.ignoreLocation}={}){let o=t/e.length;if(s)return o;let a=Math.abs(i-r);return n?o+a/n:a?1:o}class E{constructor(e,{location:t=x.location,threshold:r=x.threshold,distance:i=x.distance,includeMatches:n=x.includeMatches,findAllMatches:s=x.findAllMatches,minMatchCharLength:o=x.minMatchCharLength,isCaseSensitive:a=x.isCaseSensitive,ignoreLocation:l=x.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:i,includeMatches:n,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:l},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let r=0,i=e.length;r32){let e=0,t=c%32,r=c-t;for(;e{let{isMatch:m,score:g,indices:v}=function(e,t,r,{location:i=x.location,distance:n=x.distance,threshold:s=x.threshold,findAllMatches:o=x.findAllMatches,minMatchCharLength:a=x.minMatchCharLength,includeMatches:l=x.includeMatches,ignoreLocation:u=x.ignoreLocation}={}){let c;if(t.length>32)throw Error(d(32));let h=t.length,p=e.length,f=Math.max(0,Math.min(i,p)),m=s,g=f,v=a>1||l,y=v?Array(p):[];for(;(c=e.indexOf(t,g))>-1;)if(m=Math.min(T(t,{currentLocation:c,expectedLocation:f,distance:n,ignoreLocation:u}),m),g=c+h,v){let e=0;for(;e=l;s-=1){let o=s-1,a=r[e.charAt(o)];if(v&&(y[o]=+!!a),d[s]=(d[s+1]<<1|1)&a,i&&(d[s]|=(b[s+1]|b[s])<<1|1|b[s+1]),d[s]&P&&(w=T(t,{errors:i,currentLocation:o,expectedLocation:f,distance:n,ignoreLocation:u}))<=m){if(m=w,(g=o)<=f)break;l=Math.max(1,2*f-g)}}if(T(t,{errors:i+1,currentLocation:f,expectedLocation:f,distance:n,ignoreLocation:u})>m)break;b=d}let E={isMatch:g>=0,score:Math.max(.001,w)};if(v){let e=function(e=[],t=x.minMatchCharLength){let r=[],i=-1,n=-1,s=0;for(let o=e.length;s=t&&r.push([i,n]),i=-1)}return e[s-1]&&s-i>=t&&r.push([i,s-1]),r}(y,a);e.length?l&&(E.indices=e):E.isMatch=!1}return E}(e,t,p,{location:i+f,distance:n,threshold:s,findAllMatches:o,minMatchCharLength:a,includeMatches:r,ignoreLocation:l});m&&(h=!0),c+=g,m&&v&&(u=[...u,...v])});let p={isMatch:h,score:h?c/this.chunks.length:1};return h&&r&&(p.indices=u),p}}class A{constructor(e){this.pattern=e}static isMultiMatch(e){return C(e,this.multiRegex)}static isSingleMatch(e){return C(e,this.singleRegex)}search(){}}function C(e,t){let r=e.match(t);return r?r[1]:null}class R extends A{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class M extends A{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class k extends A{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class V extends A{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class j extends A{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class L extends A{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class D extends A{constructor(e,{location:t=x.location,threshold:r=x.threshold,distance:i=x.distance,includeMatches:n=x.includeMatches,findAllMatches:s=x.findAllMatches,minMatchCharLength:o=x.minMatchCharLength,isCaseSensitive:a=x.isCaseSensitive,ignoreLocation:l=x.ignoreLocation}={}){super(e),this._bitapSearch=new E(e,{location:t,threshold:r,distance:i,includeMatches:n,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class O extends A{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,r=0,i=[],n=this.pattern.length;for(;(t=e.indexOf(this.pattern,r))>-1;)r=t+n,i.push([t,r-1]);let s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}let N=[R,O,k,V,L,j,M,D],F=N.length,I=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,_=new Set([D.type,O.type]);class ${constructor(e,{isCaseSensitive:t=x.isCaseSensitive,includeMatches:r=x.includeMatches,minMatchCharLength:i=x.minMatchCharLength,ignoreLocation:n=x.ignoreLocation,findAllMatches:s=x.findAllMatches,location:o=x.location,threshold:a=x.threshold,distance:l=x.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:r,minMatchCharLength:i,findAllMatches:s,ignoreLocation:n,location:o,threshold:a,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map(e=>{let r=e.trim().split(I).filter(e=>e&&!!e.trim()),i=[];for(let e=0,n=r.length;e!!(e[z.AND]||e[z.OR]),Y=e=>!!e[U.PATH],Z=e=>!i(e)&&a(e)&&!H(e),X=e=>({[z.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function K(e,t,{auto:r=!0}={}){let n=e=>{let o=Object.keys(e),a=Y(e);if(!a&&o.length>1&&!H(e))return n(X(e));if(Z(e)){let i=a?e[U.PATH]:o[0],n=a?e[U.PATTERN]:e[i];if(!s(n))throw Error(h(i));let l={keyId:b(i),pattern:n};return r&&(l.searcher=W(n,t)),l}let l={children:[],operator:o[0]};return o.forEach(t=>{let r=e[t];i(r)&&r.forEach(e=>{l.children.push(n(e))})}),l};return H(e)||(e=X(e)),n(e)}function q(e,t){let r=e.matches;t.matches=[],l(r)&&r.forEach(e=>{if(!l(e.indices)||!e.indices.length)return;let{indices:r,value:i}=e,n={indices:r,value:i};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)})}function G(e,t){t.score=e.score}class J{constructor(e,t={},r){this.options={...x,...t},this.options.useExtendedSearch,this._keyStore=new g(this.options.keys),this.setCollection(e,r)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof S))throw Error("Incorrect 'index' type");this._myIndex=t||P(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){l(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let r=0,i=this._docs.length;r{let r=1;e.matches.forEach(({key:e,norm:i,score:n})=>{let s=e?e.weight:null;r*=Math.pow(0===n&&s?Number.EPSILON:n,(s||1)*(t?1:i))}),e.score=r})}(u,{ignoreFieldNorm:l}),n&&u.sort(a),o(t)&&t>-1&&(u=u.slice(0,t)),function(e,t,{includeMatches:r=x.includeMatches,includeScore:i=x.includeScore}={}){let n=[];return r&&n.push(q),i&&n.push(G),e.map(e=>{let{idx:r}=e,i={item:t[r],refIndex:r};return n.length&&n.forEach(t=>{t(e,i)}),i})}(u,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e){let t=W(e,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:e,i:r,n:n})=>{if(!l(e))return;let{isMatch:s,score:o,indices:a}=t.searchIn(e);s&&i.push({item:e,idx:r,matches:[{score:o,value:e,norm:n,indices:a}]})}),i}_searchLogical(e){let t=K(e,this.options),r=(e,t,i)=>{if(!e.children){let{keyId:r,searcher:n}=e,s=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:n});return s&&s.length?[{idx:i,item:t,matches:s}]:[]}let n=[];for(let s=0,o=e.children.length;s{if(l(e)){let o=r(t,e,i);o.length&&(n[i]||(n[i]={idx:i,item:e,matches:[]},s.push(n[i])),o.forEach(({matches:e})=>{n[i].matches.push(...e)}))}}),s}_searchObjectList(e){let t=W(e,this.options),{keys:r,records:i}=this._myIndex,n=[];return i.forEach(({$:e,i:i})=>{if(!l(e))return;let s=[];r.forEach((r,i)=>{s.push(...this._findMatches({key:r,value:e[i],searcher:t}))}),s.length&&n.push({idx:i,item:e,matches:s})}),n}_findMatches({key:e,value:t,searcher:r}){if(!l(t))return[];let n=[];if(i(t))t.forEach(({v:t,i:i,n:s})=>{if(!l(t))return;let{isMatch:o,score:a,indices:u}=r.searchIn(t);o&&n.push({score:a,key:e,value:t,idx:i,norm:s,indices:u})});else{let{v:i,n:s}=t,{isMatch:o,score:a,indices:l}=r.searchIn(i);o&&n.push({score:a,key:e,value:i,norm:s,indices:l})}return n}}J.version="7.0.0",J.createIndex=P,J.parseIndex=function(e,{getFn:t=x.getFn,fieldNormWeight:r=x.fieldNormWeight}={}){let{keys:i,records:n}=e,s=new S({getFn:t,fieldNormWeight:r});return s.setKeys(i),s.setIndexRecords(n),s},J.config=x,J.parseQuery=K,function(...e){B.push(...e)}($)},1758:(e,t,r)=>{let i;r.d(t,{ZP:()=>ee});var n=r(7294),s=r(1688);let o=()=>{},a=o(),l=Object,u=e=>e===a,c=e=>"function"==typeof e,h=(e,t)=>({...e,...t}),d=e=>c(e.then),p=new WeakMap,f=0,m=e=>{let t,r;let i=typeof e,n=e&&e.constructor,s=n==Date;if(l(e)!==e||s||n==RegExp)t=s?e.toJSON():"symbol"==i?e.toString():"string"==i?JSON.stringify(e):""+e;else{if(t=p.get(e))return t;if(t=++f+"~",p.set(e,t),n==Array){for(r=0,t="@";rx&&typeof window.requestAnimationFrame!=b,P=(e,t)=>{let r=g.get(e);return[()=>!u(t)&&e.get(t)||v,i=>{if(!u(t)){let n=e.get(t);t in y||(y[t]=n),r[5](t,h(n,i),n||v)}},r[6],()=>!u(t)&&t in y?y[t]:!u(t)&&e.get(t)||v]},T=!0,[E,A]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],C={initFocus:e=>(w&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{w&&document.removeEventListener("visibilitychange",e),A("focus",e)}),initReconnect:e=>{let t=()=>{T=!0,e()},r=()=>{T=!1};return E("online",t),E("offline",r),()=>{A("online",t),A("offline",r)}}},R=!n.useId,M=!x||"Deno"in window,k=e=>S()?window.requestAnimationFrame(e):setTimeout(e,1),V=M?n.useEffect:n.useLayoutEffect,j="undefined"!=typeof navigator&&navigator.connection,L=!M&&j&&(["slow-2g","2g"].includes(j.effectiveType)||j.saveData),D=e=>{if(c(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t]},O=0,N=()=>++O;var F={ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function I(...e){let[t,r,i,n]=e,s=h({populateCache:!0,throwOnError:!0},"boolean"==typeof n?{revalidate:n}:n||{}),o=s.populateCache,l=s.rollbackOnError,p=s.optimisticData,f=e=>"function"==typeof l?l(e):!1!==l,m=s.throwOnError;if(c(r)){let e=[];for(let i of t.keys())!/^\$(inf|sub)\$/.test(i)&&r(t.get(i)._k)&&e.push(i);return Promise.all(e.map(v))}return v(r);async function v(r){let n;let[l]=D(r);if(!l)return;let[h,v]=P(t,l),[y,b,x,w]=g.get(t),S=()=>{let e=y[l];return(c(s.revalidate)?s.revalidate(h().data,r):!1!==s.revalidate)&&(delete x[l],delete w[l],e&&e[0])?e[0](2).then(()=>h().data):h().data};if(e.length<3)return S();let T=i,E=N();b[l]=[E,0];let A=!u(p),C=h(),R=C.data,M=C._c,k=u(M)?R:M;if(A&&v({data:p=c(p)?p(k,R):p,_c:k}),c(T))try{T=T(k)}catch(e){n=e}if(T&&d(T)){if(T=await T.catch(e=>{n=e}),E!==b[l][0]){if(n)throw n;return T}n&&A&&f(n)&&(o=!0,v({data:k,_c:a}))}if(o&&!n&&(c(o)?v({data:o(T,k),error:a,_c:a}):v({data:T,error:a,_c:a})),b[l][1]=N(),Promise.resolve(S()).then(()=>{v({_c:a})}),n){if(m)throw n;return}return T}}let _=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},$=(e,t)=>{if(!g.has(e)){let r=h(C,t),i={},n=I.bind(a,e),s=o,l={},u=(e,t)=>{let r=l[e]||[];return l[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},c=(t,r,i)=>{e.set(t,r);let n=l[t];if(n)for(let e of n)e(r,i)},d=()=>{if(!g.has(e)&&(g.set(e,[i,{},{},{},n,c,u]),!M)){let t=r.initFocus(setTimeout.bind(a,_.bind(a,i,0))),n=r.initReconnect(setTimeout.bind(a,_.bind(a,i,1)));s=()=>{t&&t(),n&&n(),g.delete(e)}}};return d(),[e,n,d,s]}return[e,g.get(e)[4]]},[B,W]=$(new Map),z=h({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,t,r,i,n)=>{let s=r.errorRetryCount,o=n.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(u(s)||!(o>s))&&setTimeout(i,a,n)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:(e,t)=>m(e)==m(t),isPaused:()=>!1,cache:B,mutate:W,fallback:{}},{isOnline:()=>T,isVisible:()=>{let e=w&&document.visibilityState;return u(e)||"hidden"!==e}}),U=(e,t)=>{let r=h(e,t);if(t){let{use:i,fallback:n}=e,{use:s,fallback:o}=t;i&&s&&(r.use=i.concat(s)),n&&o&&(r.fallback=h(n,o))}return r},H=(0,n.createContext)({}),Y=x&&window.__SWR_DEVTOOLS_USE__,Z=Y?window.__SWR_DEVTOOLS_USE__:[],X=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],K=()=>h(z,(0,n.useContext)(H)),q=Z.concat(e=>(t,r,i)=>{let n=r&&((...e)=>{let[i]=D(t),[,,,n]=g.get(B);if(i.startsWith("$inf$"))return r(...e);let s=n[i];return u(s)?r(...e):(delete n[i],s)});return e(t,n,i)}),G=(e,t,r)=>{let i=t[e]||(t[e]=[]);return i.push(r),()=>{let e=i.indexOf(r);e>=0&&(i[e]=i[i.length-1],i.pop())}};Y&&(window.__SWR_DEVTOOLS_REACT__=n);let J=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),Q={dedupe:!0};l.defineProperty(e=>{let{value:t}=e,r=(0,n.useContext)(H),i=c(t),s=(0,n.useMemo)(()=>i?t(r):t,[i,r,t]),o=(0,n.useMemo)(()=>i?s:U(r,s),[i,r,s]),l=s&&s.provider,u=(0,n.useRef)(a);l&&!u.current&&(u.current=$(l(o.cache||B),s));let d=u.current;return d&&(o.cache=d[0],o.mutate=d[1]),V(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,n.createElement)(H.Provider,h(e,{value:o}))},"defaultValue",{value:z});let ee=(i=(e,t,r)=>{let{cache:i,compare:o,suspense:l,fallbackData:d,revalidateOnMount:p,revalidateIfStale:f,refreshInterval:m,refreshWhenHidden:v,refreshWhenOffline:y,keepPreviousData:b}=r,[x,w,S,T]=g.get(i),[E,A]=D(e),C=(0,n.useRef)(!1),j=(0,n.useRef)(!1),L=(0,n.useRef)(E),O=(0,n.useRef)(t),_=(0,n.useRef)(r),$=()=>_.current,B=()=>$().isVisible()&&$().isOnline(),[W,z,U,H]=P(i,E),Y=(0,n.useRef)({}).current,Z=u(d)?r.fallback[E]:d,X=(e,t)=>{for(let r in Y)if("data"===r){if(!o(e[r],t[r])&&(!u(e[r])||!o(eo,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},K=(0,n.useMemo)(()=>{let e=!!E&&!!t&&(u(p)?!$().isPaused()&&!l&&(!!u(f)||f):p),r=t=>{let r=h(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},i=W(),n=H(),s=r(i),o=i===n?s:r(n),a=s;return[()=>{let e=r(W());return X(e,a)?(a.data=e.data,a.isLoading=e.isLoading,a.isValidating=e.isValidating,a.error=e.error,a):(a=e,e)},()=>o]},[i,E]),q=(0,s.useSyncExternalStore)((0,n.useCallback)(e=>U(E,(t,r)=>{X(r,t)||e()}),[i,E]),K[0],K[1]),ee=!C.current,et=x[E]&&x[E].length>0,er=q.data,ei=u(er)?Z:er,en=q.error,es=(0,n.useRef)(ei),eo=b?u(er)?es.current:er:ei,ea=(!et||!!u(en))&&(ee&&!u(p)?p:!$().isPaused()&&(l?!u(ei)&&f:u(ei)||f)),el=!!(E&&t&&ee&&ea),eu=u(q.isValidating)?el:q.isValidating,ec=u(q.isLoading)?el:q.isLoading,eh=(0,n.useCallback)(async e=>{let t,i;let n=O.current;if(!E||!n||j.current||$().isPaused())return!1;let s=!0,l=e||{},h=!S[E]||!l.dedupe,d=()=>R?!j.current&&E===L.current&&C.current:E===L.current,p={isValidating:!1,isLoading:!1},f=()=>{z(p)},m=()=>{let e=S[E];e&&e[1]===i&&delete S[E]},g={isValidating:!0};u(W().data)&&(g.isLoading=!0);try{if(h&&(z(g),r.loadingTimeout&&u(W().data)&&setTimeout(()=>{s&&d()&&$().onLoadingSlow(E,r)},r.loadingTimeout),S[E]=[n(A),N()]),[t,i]=S[E],t=await t,h&&setTimeout(m,r.dedupingInterval),!S[E]||S[E][1]!==i)return h&&d()&&$().onDiscarded(E),!1;p.error=a;let e=w[E];if(!u(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),h&&d()&&$().onDiscarded(E),!1;let l=W().data;p.data=o(l,t)?l:t,h&&d()&&$().onSuccess(t,E,r)}catch(r){m();let e=$(),{shouldRetryOnError:t}=e;!e.isPaused()&&(p.error=r,h&&d()&&(e.onError(r,E,e),(!0===t||c(t)&&t(r))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||B())&&e.onErrorRetry(r,E,e,e=>{let t=x[E];t&&t[0]&&t[0](F.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return s=!1,f(),!0},[E,i]),ed=(0,n.useCallback)((...e)=>I(i,L.current,...e),[]);if(V(()=>{O.current=t,_.current=r,u(er)||(es.current=er)}),V(()=>{if(!E)return;let e=eh.bind(a,Q),t=0,r=G(E,x,(r,i={})=>{if(r==F.FOCUS_EVENT){let r=Date.now();$().revalidateOnFocus&&r>t&&B()&&(t=r+$().focusThrottleInterval,e())}else if(r==F.RECONNECT_EVENT)$().revalidateOnReconnect&&B()&&e();else if(r==F.MUTATE_EVENT)return eh();else if(r==F.ERROR_REVALIDATE_EVENT)return eh(i)});return j.current=!1,L.current=E,C.current=!0,z({_k:A}),ea&&(u(ei)||M?e():k(e)),()=>{j.current=!0,r()}},[E]),V(()=>{let e;function t(){let t=c(m)?m(W().data):m;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!W().error&&(v||$().isVisible())&&(y||$().isOnline())?eh(Q).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[m,v,y,E]),(0,n.useDebugValue)(eo),l&&u(ei)&&E){if(!R&&M)throw Error("Fallback data is required when using suspense in SSR.");O.current=t,_.current=r,j.current=!1;let e=T[E];if(u(e)||J(ed(e)),u(en)){let e=eh(Q);u(eo)||(e.status="fulfilled",e.value=!0),J(e)}else throw en}return{mutate:ed,get data(){return Y.data=!0,eo},get error(){return Y.error=!0,en},get isValidating(){return Y.isValidating=!0,eu},get isLoading(){return Y.isLoading=!0,ec}}},function(...e){let t=K(),[r,n,s]=X(e),o=U(t,s),a=i,{use:l}=o,u=(l||[]).concat(q);for(let e=u.length;e--;)a=u[e](a);return a(r,n||o.fetcher||null,o)})},8388:(e,t,r)=>{r.d(t,{m6:()=>K});let i=e=>{let t=a(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),n(r,t)||o(e)},getConflictingClassGroupIds:(e,t)=>{let n=r[e]||[];return t&&i[e]?[...n,...i[e]]:n}}},n=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],i=t.nextPart.get(r),s=i?n(e.slice(1),i):void 0;if(s)return s;if(0===t.validators.length)return;let o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},s=/^\[(.+)\]$/,o=e=>{if(s.test(e)){let t=s.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},a=e=>{let{theme:t,prefix:r}=e,i={nextPart:new Map,validators:[]};return h(Object.entries(e.classGroups),r).forEach(([e,r])=>{l(r,i,e,t)}),i},l=(e,t,r,i)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=r;return}if("function"==typeof e){if(c(e)){l(e(i),t,r,i);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,n])=>{l(n,u(t,e),r,i)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},c=e=>e.isThemeGetter,h=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,d=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,i=new Map,n=(n,s)=>{r.set(n,s),++t>e&&(t=0,i=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=i.get(e))?(n(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):n(e,t)}}},p=e=>{let{separator:t,experimentalParseClassName:r}=e,i=1===t.length,n=t[0],s=t.length,o=e=>{let r;let o=[],a=0,l=0;for(let u=0;ul?r-l:void 0}};return r?e=>r({className:e,parseClassName:o}):o},f=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},m=e=>({cache:d(e.cacheSize),parseClassName:p(e),...i(e)}),g=/\s+/,v=(e,t)=>{let{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:n}=t,s=[],o=e.trim().split(g),a="";for(let e=o.length-1;e>=0;e-=1){let t=o[e],{modifiers:l,hasImportantModifier:u,baseClassName:c,maybePostfixModifierPosition:h}=r(t),d=!!h,p=i(d?c.substring(0,h):c);if(!p){if(!d||!(p=i(c))){a=t+(a.length>0?" "+a:a);continue}d=!1}let m=f(l).join(":"),g=u?m+"!":m,v=g+p;if(s.includes(v))continue;s.push(v);let y=n(p,d);for(let e=0;e0?" "+a:a)}return a};function y(){let e,t,r=0,i="";for(;r{let t;if("string"==typeof e)return e;let r="";for(let i=0;i{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,S=/^\d+\/\d+$/,P=new Set(["px","full","screen"]),T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,R=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>V(e)||P.has(e)||S.test(e),k=e=>U(e,"length",H),V=e=>!!e&&!Number.isNaN(Number(e)),j=e=>U(e,"number",V),L=e=>!!e&&Number.isInteger(Number(e)),D=e=>e.endsWith("%")&&V(e.slice(0,-1)),O=e=>w.test(e),N=e=>T.test(e),F=new Set(["length","size","percentage"]),I=e=>U(e,F,Y),_=e=>U(e,"position",Y),$=new Set(["image","url"]),B=e=>U(e,$,X),W=e=>U(e,"",Z),z=()=>!0,U=(e,t,r)=>{let i=w.exec(e);return!!i&&(i[1]?"string"==typeof t?i[1]===t:t.has(i[1]):r(i[2]))},H=e=>E.test(e)&&!A.test(e),Y=()=>!1,Z=e=>C.test(e),X=e=>R.test(e);Symbol.toStringTag;let K=function(e,...t){let r,i,n;let s=function(a){return i=(r=m(t.reduce((e,t)=>t(e),e()))).cache.get,n=r.cache.set,s=o,o(a)};function o(e){let t=i(e);if(t)return t;let s=v(e,r);return n(e,s),s}return function(){return s(y.apply(null,arguments))}}(()=>{let e=x("colors"),t=x("spacing"),r=x("blur"),i=x("brightness"),n=x("borderColor"),s=x("borderRadius"),o=x("borderSpacing"),a=x("borderWidth"),l=x("contrast"),u=x("grayscale"),c=x("hueRotate"),h=x("invert"),d=x("gap"),p=x("gradientColorStops"),f=x("gradientColorStopPositions"),m=x("inset"),g=x("margin"),v=x("opacity"),y=x("padding"),b=x("saturate"),w=x("scale"),S=x("sepia"),P=x("skew"),T=x("space"),E=x("translate"),A=()=>["auto","contain","none"],C=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",O,t],F=()=>[O,t],$=()=>["",M,k],U=()=>["auto",V,O],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",O],q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[V,O];return{cacheSize:500,separator:":",theme:{colors:[z],spacing:[M,k],blur:["none","",N,O],brightness:G(),borderColor:[e],borderRadius:["none","","full",N,O],borderSpacing:F(),borderWidth:$(),contrast:G(),grayscale:K(),hueRotate:G(),invert:K(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[D,k],inset:R(),margin:R(),opacity:G(),padding:F(),saturate:G(),scale:G(),sepia:K(),skew:G(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...H(),O]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,O]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",L,O]}],"grid-cols":[{"grid-cols":[z]}],"col-start-end":[{col:["auto",{span:["full",L,O]},O]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[z]}],"row-start-end":[{row:["auto",{span:[L,O]},O]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,t]}],"min-w":[{"min-w":[O,t,"min","max","fit"]}],"max-w":[{"max-w":[O,t,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[O,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,t,"auto","min","max","fit"]}],"font-size":[{text:["base",N,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",V,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,k]}],"underline-offset":[{"underline-offset":["auto",M,O]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),_]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",I]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},B]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Y()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[M,O]}],"outline-w":[{outline:[M,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[M,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,W]}],"shadow-color":[{shadow:[z]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[i]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",N,O]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[h]}],saturate:[{saturate:[b]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[L,O]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,k,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/app/_not-found/page-060eb345a26f7822.js b/_next/static/chunks/app/_not-found/page-060eb345a26f7822.js deleted file mode 100644 index 69a5aad..0000000 --- a/_next/static/chunks/app/_not-found/page-060eb345a26f7822.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{7589:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return n(5457)}])},5457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),n(9920);let r=n(7437);n(2265);let o={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};function i(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"404: This page could not be found."}),(0,r.jsx)("div",{style:o.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:o.h1,children:"404"}),(0,r.jsx)("div",{style:o.desc,children:(0,r.jsx)("h2",{style:o.h2,children:"This page could not be found."})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{var t=t=>e(e.s=t);e.O(0,[130,215,744],()=>t(7589)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/layout-75321c95cb2779f9.js b/_next/static/chunks/app/layout-75321c95cb2779f9.js deleted file mode 100644 index 639ba13..0000000 --- a/_next/static/chunks/app/layout-75321c95cb2779f9.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{455:(e,a,s)=>{Promise.resolve().then(s.t.bind(s,7800,23)),Promise.resolve().then(s.t.bind(s,2544,23)),Promise.resolve().then(s.t.bind(s,3275,23))},3275:()=>{},2544:e=>{e.exports={style:{fontFamily:"'geistMono', 'geistMono Fallback'"},className:"__className_c3aa02",variable:"__variable_c3aa02"}},7800:e=>{e.exports={style:{fontFamily:"'geistSans', 'geistSans Fallback'"},className:"__className_1e4310",variable:"__variable_1e4310"}}},e=>{var a=a=>e(e.s=a);e.O(0,[376,130,215,744],()=>a(455)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/app/page-d62dc11992186fbb.js b/_next/static/chunks/app/page-d62dc11992186fbb.js deleted file mode 100644 index c5671ac..0000000 --- a/_next/static/chunks/app/page-d62dc11992186fbb.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{1907:(e,t,r)=>{Promise.resolve().then(r.bind(r,3629))},3629:(e,t,r)=>{"use strict";r.d(t,{default:()=>V});var a=r(7437),s=r(2265),i=r(6578),l=r(4817),n=r(2468),o=r(6884),d=r(4839),c=r(6164);function m(){for(var e=arguments.length,t=Array(e),r=0;r{let{className:r,type:s,...i}=e;return(0,a.jsx)("input",{type:s,className:m("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...i})});u.displayName="Input";var x=r(1538),p=r(2218);let h=(0,p.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),f=s.forwardRef((e,t)=>{let{className:r,variant:s,size:i,asChild:l=!1,...n}=e,o=l?x.g7:"button";return(0,a.jsx)(o,{className:m(h({variant:s,size:i,className:r})),ref:t,...n})});f.displayName="Button";var g=r(882),y=r(4867);let v=g.fC,b=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(g.ck,{ref:t,className:m("border-b",r),...s})});b.displayName="AccordionItem";let j=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsx)(g.h4,{className:"flex",children:(0,a.jsxs)(g.xz,{ref:t,className:m("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",r),...i,children:[s,(0,a.jsx)(y.v4q,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});j.displayName=g.xz.displayName;let N=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsx)(g.VY,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,a.jsx)("div",{className:m("pb-4 pt-0",r),children:s})})});N.displayName=g.VY.displayName;var w=r(2286);let k=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(w.fC,{ref:t,className:m("relative overflow-hidden",r),...i,children:[(0,a.jsx)(w.l_,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(C,{}),(0,a.jsx)(w.Ns,{})]})});k.displayName=w.fC.displayName;let C=s.forwardRef((e,t)=>{let{className:r,orientation:s="vertical",...i}=e;return(0,a.jsx)(w.gb,{ref:t,orientation:s,className:m("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",r),...i,children:(0,a.jsx)(w.q4,{className:"relative flex-1 rounded-full bg-border"})})});function E(e){let{className:t,...r}=e;return(0,a.jsx)("div",{className:m("animate-pulse rounded-md bg-primary/10",t),...r})}C.displayName=w.gb.displayName;let _=(0,p.j)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),R=s.forwardRef((e,t)=>{let{className:r,variant:s,...i}=e;return(0,a.jsx)("div",{ref:t,role:"alert",className:m(_({variant:s}),r),...i})});R.displayName="Alert";let S=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h5",{ref:t,className:m("mb-1 font-medium leading-none tracking-tight",r),...s})});S.displayName="AlertTitle";let z=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:m("text-sm [&_p]:leading-relaxed",r),...s})});z.displayName="AlertDescription";var A=r(8606),Z=r(4446);let F={keys:["category","items.title","items.content"],threshold:.4};function V(){let[e,t]=(0,s.useState)([]),[r,d]=(0,s.useState)(""),[c,m]=(0,s.useState)([]),[x,p]=(0,s.useState)(!0),[h,g]=(0,s.useState)(null),[y,w]=(0,s.useState)({});(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("https://raw.githubusercontent.com/amine250/cheatsheet/refs/heads/data/cheat-sheet-data.json");if(!e.ok)throw Error("Failed to fetch cheat sheet data");let r=await e.json();t(r),m(r)}catch(e){g("Error loading cheat sheet data. Please try again later.")}finally{p(!1)}})()},[]),(0,s.useEffect)(()=>{if(e.length>0){let t=new i.Z(e,F);""===r?m(e):m(t.search(r).map(e=>e.item))}},[r,e]);let C=(e,t)=>{navigator.clipboard.writeText(e),w({...y,[t]:!0}),setTimeout(()=>{w({...y,[t]:!1})},2e3)};if(x)return(0,a.jsxs)("div",{className:"container mx-auto p-4 max-w-6xl",children:[(0,a.jsx)("h1",{className:"text-4xl font-bold mb-6 text-primary text-center",children:"Amine's Cheat Sheet"}),(0,a.jsx)(E,{className:"w-full h-10 mb-6"}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[1,2,3,4].map(e=>(0,a.jsx)(E,{className:"w-full h-40"},e))})]});if(h)return(0,a.jsx)("div",{className:"container mx-auto p-4 max-w-6xl",children:(0,a.jsxs)(R,{variant:"destructive",children:[(0,a.jsx)(S,{children:"Error"}),(0,a.jsx)(z,{children:h})]})});let _=c.filter((e,t)=>t%2==0),V=c.filter((e,t)=>t%2!=0);return(0,a.jsxs)("div",{className:"container mx-auto p-4 max-w-6xl",children:[(0,a.jsx)(A.E.h1,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-4xl font-bold mb-6 text-primary text-center",children:"Amine's Cheat Sheet"}),(0,a.jsxs)(A.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:"relative mb-6",children:[(0,a.jsx)(l.Z,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(u,{type:"search",placeholder:"Search commands, scripts, etc...",value:r,onChange:e=>{d(e.target.value)},className:"pl-8 bg-background border-primary/20 focus:border-primary transition-all duration-300"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsx)(k,{className:"h-[calc(100vh-200px)] pr-4",children:(0,a.jsx)(Z.M,{children:_.map((e,t)=>(0,a.jsx)(A.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,delay:.1*t},children:(0,a.jsx)(v,{type:"single",collapsible:!0,className:"mb-4",children:(0,a.jsxs)(b,{value:"item-".concat(t),className:"border border-primary/20 rounded-lg",children:[(0,a.jsx)(j,{className:"hover:bg-primary/5 px-4 py-2 rounded-t-lg transition-all duration-300",children:e.category}),(0,a.jsx)(N,{className:"px-4 py-2",children:e.items.map((t,r)=>(0,a.jsx)(v,{type:"single",collapsible:!0,className:"mb-2",children:(0,a.jsxs)(b,{value:"subitem-".concat(r),className:"border border-primary/10 rounded-md",children:[(0,a.jsx)(j,{className:"hover:bg-primary/5 px-3 py-1 rounded-t-md text-sm transition-all duration-300",children:t.title}),(0,a.jsxs)(N,{className:"px-3 py-2",children:[(0,a.jsx)("pre",{className:"bg-muted p-2 rounded-md overflow-x-auto text-sm",children:(0,a.jsx)("code",{children:t.content})}),(0,a.jsx)(f,{variant:"outline",size:"sm",className:"mt-2 transition-all duration-300 hover:bg-primary hover:text-primary-foreground",onClick:()=>C(t.content,"".concat(e.category,"-").concat(t.title)),children:y["".concat(e.category,"-").concat(t.title)]?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{className:"w-4 h-4 mr-2"}),"Copied!"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Z,{className:"w-4 h-4 mr-2"}),"Copy to Clipboard"]})})]})]})},r))})]})})},e.category))})}),(0,a.jsx)(k,{className:"h-[calc(100vh-200px)] pr-4",children:(0,a.jsx)(Z.M,{children:V.map((e,t)=>(0,a.jsx)(A.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,delay:.1*t},children:(0,a.jsx)(v,{type:"single",collapsible:!0,className:"mb-4",children:(0,a.jsxs)(b,{value:"item-".concat(t),className:"border border-primary/20 rounded-lg",children:[(0,a.jsx)(j,{className:"hover:bg-primary/5 px-4 py-2 rounded-t-lg transition-all duration-300",children:e.category}),(0,a.jsx)(N,{className:"px-4 py-2",children:e.items.map((t,r)=>(0,a.jsx)(v,{type:"single",collapsible:!0,className:"mb-2",children:(0,a.jsxs)(b,{value:"subitem-".concat(r),className:"border border-primary/10 rounded-md",children:[(0,a.jsx)(j,{className:"hover:bg-primary/5 px-3 py-1 rounded-t-md text-sm transition-all duration-300",children:t.title}),(0,a.jsxs)(N,{className:"px-3 py-2",children:[(0,a.jsx)("pre",{className:"bg-muted p-2 rounded-md overflow-x-auto text-sm",children:(0,a.jsx)("code",{children:t.content})}),(0,a.jsx)(f,{variant:"outline",size:"sm",className:"mt-2 transition-all duration-300 hover:bg-primary hover:text-primary-foreground",onClick:()=>C(t.content,"".concat(e.category,"-").concat(t.title)),children:y["".concat(e.category,"-").concat(t.title)]?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{className:"w-4 h-4 mr-2"}),"Copied!"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Z,{className:"w-4 h-4 mr-2"}),"Copy to Clipboard"]})})]})]})},r))})]})})},e.category))})})]})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[310,421,130,215,744],()=>t(1907)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/0e5ce63c-1594bf3361e53bcc.js b/_next/static/chunks/ee9ce975-eb0ebc08aa637cde.js similarity index 92% rename from _next/static/chunks/0e5ce63c-1594bf3361e53bcc.js rename to _next/static/chunks/ee9ce975-eb0ebc08aa637cde.js index ced4f15..60b1c60 100644 --- a/_next/static/chunks/0e5ce63c-1594bf3361e53bcc.js +++ b/_next/static/chunks/ee9ce975-eb0ebc08aa637cde.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[310],{4867:(e,r,n)=>{n.d(r,{v4q:()=>o});var l=n(2265),t=["color"],o=(0,l.forwardRef)(function(e,r){var n=e.color,o=function(e,r){if(null==e)return{};var n,l,t={},o=Object.keys(e);for(l=0;l=0||(t[n]=e[n]);return t}(e,t);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,l.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))})}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{2469:(e,r,n)=>{n.d(r,{v4q:()=>o});var l=n(7294),t=["color"],o=(0,l.forwardRef)(function(e,r){var n=e.color,o=function(e,r){if(null==e)return{};var n,l,t={},o=Object.keys(e);for(l=0;l=0||(t[n]=e[n]);return t}(e,t);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:r}),(0,l.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))})}}]); \ No newline at end of file diff --git a/_next/static/chunks/framework-f66176bb897dc684.js b/_next/static/chunks/framework-7f7bc0f8d4424e99.js similarity index 100% rename from _next/static/chunks/framework-f66176bb897dc684.js rename to _next/static/chunks/framework-7f7bc0f8d4424e99.js diff --git a/_next/static/chunks/main-a93a6dc88b4fa4ff.js b/_next/static/chunks/main-0183300832a7470f.js similarity index 99% rename from _next/static/chunks/main-a93a6dc88b4fa4ff.js rename to _next/static/chunks/main-0183300832a7470f.js index 25dba41..653989e 100644 --- a/_next/static/chunks/main-a93a6dc88b4fa4ff.js +++ b/_next/static/chunks/main-0183300832a7470f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{4878:(e,t)=>{"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},37:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},3454:(e,t,r)=>{"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(7663)},6220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(679),o=r(1297);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(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)},8109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(1297);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSocketUrl",{enumerable:!0,get:function(){return o}});let n=r(3615);function o(e){let t=(0,n.normalizedAssetPrefix)(e),r=function(e){let t=window.location.protocol;try{t=new URL(e).protocol}catch(e){}return"http:"===t?"ws:":"wss:"}(e||"");if(URL.canParse(t))return t.replace(/^http/,"ws");let{hostname:o,port:a}=window.location;return r+"//"+o+(a?":"+a:"")+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)},6937:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addMessageListener:function(){return s},connectHMR:function(){return f},sendMessage:function(){return l}});let o=r(9492),a=r(1449),i=[];function s(e){i.push(e)}function l(e){if(n&&n.readyState===n.OPEN)return n.send(e)}let u=0,c=!1,d=null;function f(e){!function t(){let r;function s(){if(n.onerror=null,n.onclose=null,n.close(),++u>25){c=!0,window.location.reload();return}clearTimeout(r),r=setTimeout(t,u>5?5e3:1e3)}n&&n.close();let l=(0,a.getSocketUrl)(e.assetPrefix);(n=new window.WebSocket(""+l+e.path)).onopen=function(){u=0,window.console.log("[HMR] connected")},n.onerror=s,n.onclose=s,n.onmessage=function(e){if(c)return;let t=JSON.parse(e.data);if("action"in t&&t.action===o.HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED){if(null!==d&&d!==t.data.sessionId){window.location.reload(),c=!0;return}d=t.data.sessionId}for(let e of i)e(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)},7448:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(7459);function o(e){return(0,n.pathHasPrefix)(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)},6166:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},isEqualNode:function(){return a}});let o=r(3439);function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function i(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{n(e,t[e]||[])})}}}n=(e,t)=>{let r=document.querySelector("head");if(!r)return;let n=new Set(r.querySelectorAll(""+e+"[data-next-head]"));if("meta"===e){let e=r.querySelector("meta[charset]");null!==e&&n.add(e)}let i=[];for(let e=0;e{"use strict";let n,o,a,i,s,l,u,c,d,f,p,h;Object.defineProperty(t,"__esModule",{value:!0});let _=r(1757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{emitter:function(){return q},hydrate:function(){return ec},initialize:function(){return Y},router:function(){return n},version:function(){return G}});let m=r(8754),g=r(5893);r(37);let y=m._(r(7294)),P=m._(r(745)),b=r(2201),E=m._(r(8483)),v=r(4494),S=r(1079),R=r(1979),O=r(1923),j=r(4723),T=r(4350),A=r(1201),w=m._(r(6166)),I=m._(r(1503)),C=r(5454),x=r(6036),M=r(676),N=r(9146),L=r(5287),D=r(1447),U=r(5716),k=r(8863),F=r(7353),B=r(1889),H=m._(r(4529)),W=m._(r(5223)),G="15.0.1",q=(0,E.default)(),X=e=>[].slice.call(e),V=!1;class z extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,R.isDynamicRoute)(n.pathname)||location.search||V)||o.props&&o.props.__N_SSG&&(location.search||V))&&n.replace(n.pathname+"?"+String((0,O.assign)((0,O.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!V}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function Y(e){void 0===e&&(e={}),H.default.onSpanEnd(W.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,j.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,T.getURL)(),(0,D.hasBasePath)(a)&&(a=(0,L.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(69);e(o.scriptLoader)}i=new I.default(o.buildId,t);let u=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>u(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=u,(l=(0,w.default)()).getIsSsr=()=>n.isSsr,s=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return(0,g.jsx)(e,{...t})}function $(e){var t;let{children:r}=e,o=y.default.useMemo(()=>(0,k.adaptForAppRouterInstance)(n),[]);return(0,g.jsx)(z,{fn:e=>J({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,g.jsx)(U.AppRouterContext.Provider,{value:o,children:(0,g.jsx)(F.SearchParamsContext.Provider,{value:(0,k.adaptForSearchParams)(n),children:(0,g.jsx)(k.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,g.jsx)(F.PathParamsContext.Provider,{value:(0,k.adaptForPathParams)(n),children:(0,g.jsx)(v.RouterContext.Provider,{value:(0,x.makePublicRouterInstance)(n),children:(0,g.jsx)(b.HeadManagerContext.Provider,{value:l,children:(0,g.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:r})})})})})})})})}let Q=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return(0,g.jsx)($,{children:K(e,r)})};function J(e){let{App:t,err:s}=e;return console.error(s),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==u?void 0:u.Component)===o?Promise.resolve().then(()=>_._(r(3387))).then(n=>Promise.resolve().then(()=>_._(r(2239))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:l,styleSheets:u}=r,c=Q(t),d={Component:l,AppTree:c,router:n,ctx:{err:s,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,T.loadGetInitialProps)(t,d)).then(t=>el({...e,err:s,Component:l,styleSheets:u,props:t}))})}function Z(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let ee={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},et={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},er=null,en=!0;function eo(){[ee.beforeRender,ee.afterHydrate,ee.afterRender,ee.routeChange].forEach(e=>performance.clearMarks(e))}function ea(){T.ST&&(performance.mark(ee.afterHydrate),performance.getEntriesByName(ee.beforeRender,"mark").length&&(performance.measure(et.beforeHydration,ee.navigationStart,ee.beforeRender),performance.measure(et.hydration,ee.beforeRender,ee.afterHydrate)),f&&performance.getEntriesByName(et.hydration).forEach(f),eo())}function ei(){if(!T.ST)return;performance.mark(ee.afterRender);let e=performance.getEntriesByName(ee.routeChange,"mark");e.length&&(performance.getEntriesByName(ee.beforeRender,"mark").length&&(performance.measure(et.routeChangeToRender,e[0].name,ee.beforeRender),performance.measure(et.render,ee.beforeRender,ee.afterRender),f&&(performance.getEntriesByName(et.render).forEach(f),performance.getEntriesByName(et.routeChangeToRender).forEach(f))),eo(),[et.routeChangeToRender,et.render].forEach(e=>performance.clearMeasures(e)))}function es(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),r}function el(e){let t,{App:r,Component:o,props:a,err:i}=e,l="initial"in e?void 0:e.styleSheets;o=o||u.Component;let d={...a=a||u.props,Component:o,err:i,router:n};u=d;let f=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!l)return;let e=new Set(X(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=null==t?void 0:t.getAttribute("data-n-css");l.forEach(t=>{let{href:n,text:o}=t;if(!e.has(n)){let e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let _=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Z,{callback:function(){if(l&&!f){let e=new Set(l.map(e=>e.href)),t=X(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),X(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,S.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),(0,g.jsxs)($,{children:[K(r,d),(0,g.jsx)(A.Portal,{type:"next-route-announcer",children:(0,g.jsx)(C.RouteAnnouncer,{})})]})]});return!function(e,t){T.ST&&performance.mark(ee.beforeRender);let r=t(en?ea:ei);er?(0,y.default.startTransition)(()=>{er.render(r)}):(er=P.default.hydrateRoot(e,r,{onRecoverableError:B.onRecoverableError}),en=!1)}(s,e=>(0,g.jsx)(es,{callbacks:[e,h],children:(0,g.jsx)(y.default.StrictMode,{children:_})})),p}async function eu(e){if(e.err&&(void 0===e.Component||!e.isHydratePass)){await J(e);return}try{await el(e)}catch(r){let t=(0,M.getProperError)(r);if(t.cancelled)throw t;await J({...e,err:t})}}async function ec(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(f=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:s,entryType:l,entries:u,attribution:c}=e,d=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let f={id:n||d,name:o,startTime:a||t,value:null==i?s:i,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,M.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,x.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:d,Component:p,wrapApp:Q,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>eu(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),V=await n._initialMatchesMiddlewarePromise;let r={App:d,initial:!0,Component:p,props:o.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),eu(r)}("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)},5178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5975);let n=r(1844);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("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)},1297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(5608),o=r(7070),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+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)},1889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"onRecoverableError",{enumerable:!0,get:function(){return a}});let n=r(7633),o="function"==typeof reportError?reportError:e=>{window.console.error(e)};function a(e,t){(0,n.isBailoutToCSRError)(e)||o(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)},1503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(8754),o=r(6220),a=r(4574),i=n._(r(4967)),s=r(8109),l=r(1979),u=r(5909),c=r(5608),d=r(9586);r(5875);class f{getPageList(){return(0,d.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:p}=(0,u.parseRelativeUrl)(r),{pathname:h}=(0,u.parseRelativeUrl)(t),_=(0,c.removeTrailingSlash)(d);if("/"!==_[0])throw Error('Route name should start with a "/", got "'+_+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,s.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,l.isDynamicRoute)(_)?(0,a.interpolateAs)(d,h,f).result:_)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,d.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("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)},1201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(7294),o=r(3935),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):null};("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)},5287:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(1447),("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)},2979:(e,t,r)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(7070),("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)},460:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return d}});let n=r(1923),o=r(8547),a=r(1576),i=r(4350),s=r(1297),l=r(2712),u=r(1939),c=r(4574);function d(e,t,r){let d;let f="string"==typeof t?t:(0,o.formatWithValidation)(t),p=f.match(/^[a-zA-Z]{1,}:\/\//),h=p?f.slice(p[0].length):f;if((h.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,i.normalizeRepeatedSlashes)(h);f=(p?p[0]:"")+t}if(!(0,l.isLocalURL)(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"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,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,s)}))}let i=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}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)},5454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(6036),s={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,i.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}}},[e]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:s,children:t})},u=l;("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)},9586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return m},getClientBuildManifest:function(){return h},isAssetError:function(){return c},markAssetError:function(){return u}}),r(8754),r(4967);let n=r(6953),o=r(460),a=r(4878),i=r(7001);function s(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let l=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,l,{})}function c(e){return e&&l in e}let d=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function p(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function h(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):p(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,u(Error("Failed to load client build manifest")))}function _(e,t){return h().then(r=>{if(!(t in r))throw u(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+(0,i.encodeURIPath)(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function m(e){let t=new Map,r=new Map,n=new Map,a=new Map;function i(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}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 Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw u(e)})),t}return{whenEntrypoint:e=>s(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 n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})},loadRoute(r,n){return s(r,a,()=>{let o;return p(_(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(i)),Promise.all(o.map(l))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,u(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():_(e,t).then(e=>Promise.all(d?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(u(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.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)},6036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},createRouter:function(){return _},default:function(){return p},makePublicRouterInstance:function(){return m},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(8754),o=n._(r(7294)),a=n._(r(4595)),i=r(4494),s=n._(r(676)),l=n._(r(8395)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>f()[e]})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{u.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),u.readyCallbacks=[],u.router}function m(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},handleClientScriptLoad:function(){return _},initScriptLoader:function(){return m}});let n=r(8754),o=r(1757),a=r(5893),i=n._(r(3935)),s=o._(r(7294)),l=r(2201),u=r(3439),c=r(460),d=new Map,f=new Set,p=e=>{if(i.default.preinit){e.forEach(e=>{i.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:s="afterInteractive",onError:l,stylesheets:c}=e,h=r||t;if(h&&f.has(h))return;if(d.has(t)){f.add(h),d.get(t).then(n,l);return}let _=()=>{o&&o(),f.add(h)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});a?(m.innerHTML=a.__html||"",_()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(m.src=t,d.set(t,g)),(0,u.setAttributesFromProps)(m,e),"worker"===s&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",s),c&&p(c),document.body.appendChild(m)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}):h(e)}function m(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:u="afterInteractive",onError:d,stylesheets:p,..._}=e,{updateScripts:m,scripts:g,getIsSsr:y,appDir:P,nonce:b}=(0,s.useContext)(l.HeadManagerContext),E=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;E.current||(o&&e&&f.has(e)&&o(),E.current=!0)},[o,t,r]);let v=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{!v.current&&("afterInteractive"===u?h(e):"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))})),v.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(m?(g[u]=(g[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:d,..._}]),m(g)):y&&y()?f.add(t||r):y&&!y()&&h(e)),P){if(p&&p.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)return r?(i.default.preload(r,_.integrity?{as:"script",integrity:_.integrity,nonce:b,crossOrigin:_.crossOrigin}:{as:"script",nonce:b,crossOrigin:_.crossOrigin}),(0,a.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{..._,id:t}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:t}])+")"}}));"afterInteractive"===u&&r&&i.default.preload(r,_.integrity?{as:"script",integrity:_.integrity,nonce:b,crossOrigin:_.crossOrigin}:{as:"script",nonce:b,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("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)},3439:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return a}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(e){return["async","defer","noModule"].includes(e)}function a(e,t){for(let[a,i]of Object.entries(t)){if(!t.hasOwnProperty(a)||n.includes(a)||void 0===i)continue;let s=r[a]||a.toLowerCase();"SCRIPT"===e.tagName&&o(s)?e[s]=!!i:e.setAttribute(s,String(i)),(!1===i||"SCRIPT"===e.tagName&&o(s)&&(!i||"false"===i))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("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)},5223:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(6937);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("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)},4529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(8754)._(r(8483));class o{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new o(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let i=new 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)},6953:(e,t)=>{"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("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)},5975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(4878),self.__next_set_public_path__=e=>{r.p=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)},8395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(8754);let n=r(5893);r(7294);let o=r(6036);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,o.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)},2239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(4350);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,i.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}l.origGetInitialProps=s,l.getInitialProps=s,("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)},3387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=n._(r(7219)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:u.error,children:[(0,o.jsx)(i.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:u.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:u.h1,children:e}):null,(0,o.jsx)("div",{style:u.wrap,children:(0,o.jsxs)("h2",{style:u.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("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)},9686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},2241:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},5716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return i},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return l},TemplateContext:function(){return s}});let n=r(8754)._(r(7294)),o=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(null),s=n.default.createContext(null),l=n.default.createContext(new Set)},8331:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}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 n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}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)}}},5875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return P},APP_CLIENT_INTERNALS:function(){return $},APP_PATHS_MANIFEST:function(){return m},APP_PATH_ROUTES_MANIFEST:function(){return g},BARREL_OPTIMIZATION_PREFIX:function(){return W},BLOCKED_PAGES:function(){return U},BUILD_ID_FILE:function(){return D},BUILD_MANIFEST:function(){return y},CLIENT_PUBLIC_FILES_PATH:function(){return k},CLIENT_REFERENCE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_PATH:function(){return F},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return J},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return et},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return Q},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Z},COMPILER_INDEXES:function(){return a},COMPILER_NAMES:function(){return o},CONFIG_FILES:function(){return L},DEFAULT_RUNTIME_WEBPACK:function(){return er},DEFAULT_SANS_SERIF_FONT:function(){return es},DEFAULT_SERIF_FONT:function(){return ei},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return x},DEV_CLIENT_PAGES_MANIFEST:function(){return w},EDGE_RUNTIME_WEBPACK:function(){return en},EDGE_UNSUPPORTED_NODE_APIS:function(){return ef},EXPORT_DETAIL:function(){return R},EXPORT_MARKER:function(){return S},FUNCTIONS_CONFIG_MANIFEST:function(){return b},IMAGES_MANIFEST:function(){return T},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return z},MIDDLEWARE_BUILD_MANIFEST:function(){return X},MIDDLEWARE_MANIFEST:function(){return I},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return V},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return H},NEXT_FONT_MANIFEST:function(){return v},PAGES_MANIFEST:function(){return h},PHASE_DEVELOPMENT_SERVER:function(){return d},PHASE_EXPORT:function(){return l},PHASE_INFO:function(){return p},PHASE_PRODUCTION_BUILD:function(){return u},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_TEST:function(){return f},PRERENDER_MANIFEST:function(){return O},REACT_LOADABLE_MANIFEST:function(){return M},ROUTES_MANIFEST:function(){return j},RSC_MODULE_TYPES:function(){return ed},SERVER_DIRECTORY:function(){return N},SERVER_FILES_MANIFEST:function(){return A},SERVER_PROPS_ID:function(){return ea},SERVER_REFERENCE_MANIFEST:function(){return q},STATIC_PROPS_ID:function(){return eo},STATIC_STATUS_PAGES:function(){return el},STRING_LITERAL_DROP_BUNDLE:function(){return B},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return E},SYSTEM_ENTRYPOINTS:function(){return ep},TRACE_OUTPUT_VERSION:function(){return eu},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return C},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ec},UNDERSCORE_NOT_FOUND_ROUTE:function(){return i},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return s},WEBPACK_STATS:function(){return _}});let n=r(8754)._(r(4083)),o={client:"client",server:"server",edgeServer:"edge-server"},a={[o.client]:0,[o.server]:1,[o.edgeServer]:2},i="/_not-found",s=""+i+"/page",l="phase-export",u="phase-production-build",c="phase-production-server",d="phase-development-server",f="phase-test",p="phase-info",h="pages-manifest.json",_="webpack-stats.json",m="app-paths-manifest.json",g="app-path-routes-manifest.json",y="build-manifest.json",P="app-build-manifest.json",b="functions-config-manifest.json",E="subresource-integrity-manifest",v="next-font-manifest",S="export-marker.json",R="export-detail.json",O="prerender-manifest.json",j="routes-manifest.json",T="images-manifest.json",A="required-server-files.json",w="_devPagesManifest.json",I="middleware-manifest.json",C="_clientMiddlewareManifest.json",x="_devMiddlewareManifest.json",M="react-loadable-manifest.json",N="server",L=["next.config.js","next.config.mjs","next.config.ts"],D="BUILD_ID",U=["/_document","/_app","/_error"],k="public",F="static",B="__NEXT_DROP_CLIENT_FILE__",H="__NEXT_BUILTIN_DOCUMENT__",W="__barrel_optimize__",G="client-reference-manifest",q="server-reference-manifest",X="middleware-build-manifest",V="middleware-react-loadable-manifest",z="interception-route-rewrite-manifest",Y="main",K=""+Y+"-app",$="app-pages-internals",Q="react-refresh",J="amp",Z="webpack",ee="polyfills",et=Symbol(ee),er="webpack-runtime",en="edge-runtime-webpack",eo="__N_SSG",ea="__N_SSP",ei={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},es={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},el=["/500"],eu=1,ec=6e3,ed={client:"client",server:"server"},ef=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ep=new Set([Y,Q,J,K]);("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)},7001:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},2201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},7219:(e,t,r)=>{"use strict";var n=r(3454);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return f}});let o=r(8754),a=r(1757),i=r(5893),s=a._(r(7294)),l=o._(r(8457)),u=r(9686),c=r(2201),d=r(2241);function f(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(2723);let h=["name","httpEquiv","charSet","itemProp"];function _(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=h.length;e{let o=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:o})})}let m=function(e){let{children:t}=e,r=(0,s.useContext)(u.AmpStateContext),n=(0,s.useContext)(c.HeadManagerContext);return(0,i.jsx)(l.default,{reduceComponentsToState:_,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children: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)},7353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return i},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let n=r(7294),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},5934:(e,t)=>{"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},9146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(8754)._(r(7294)),o=r(6252),a=n.default.createContext(o.imageConfigDefault)},6252:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},1728:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},7633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},8483:(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){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},4083:e=>{"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},3615:(e,t)=>{"use strict";function r(e){let t=(null==e?void 0:e.replace(/^\/+|\/+$/g,""))||!1;if(!t)return"";if(URL.canParse(t)){let e=new URL(t).toString();return e.endsWith("/")?e.slice(0,-1):e}return"/"+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizedAssetPrefix",{enumerable:!0,get:function(){return r}})},9312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(1939),o=r(2491);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},9952:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},2491:(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}})},4494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext(null)},8863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathnameContextProviderAdapter:function(){return p},adaptForAppRouterInstance:function(){return c},adaptForPathParams:function(){return f},adaptForSearchParams:function(){return d}});let n=r(1757),o=r(5893),a=n._(r(7294)),i=r(7353),s=r(1939),l=r(2085),u=r(1);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},hmrRefresh(){},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function d(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function f(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,u.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function p(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),u=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,s.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,o.jsx)(i.PathnameContext.Provider,{value:u,children:t})}},4595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return G},default:function(){return V},matchesMiddleware:function(){return L}});let n=r(8754),o=r(1757),a=r(5608),i=r(9586),s=r(69),l=o._(r(676)),u=r(9312),c=r(5934),d=n._(r(8483)),f=r(4350),p=r(1979),h=r(5909);r(2431);let _=r(8272),m=r(1),g=r(8547);r(7448);let y=r(7070),P=r(8109),b=r(2979),E=r(5287),v=r(6220),S=r(1447),R=r(9975),O=r(9423),j=r(8995),T=r(5701),A=r(9574),w=r(2712),I=r(1147),C=r(1576),x=r(4574),M=r(1079);function N(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function L(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,o=(0,v.addBasePath)((0,P.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){let[n,o]=(0,R.resolveHref)(e,t,!0),a=(0,f.getLocationOrigin)(),i=n.startsWith(a),s=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let l=i?n:(0,v.addBasePath)(n),u=r?D((0,R.resolveHref)(e,r)):o||n;return{url:l,as:s?u:(0,v.addBasePath)(u)}}function k(e,t){let r=(0,a.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,m.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function F(e){if(!await L(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},o=t.headers.get("x-nextjs-rewrite"),s=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,h.parseRelativeUrl)(s),l=(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),u=(0,a.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:s}]=a,d=(0,P.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(d)||!o&&i.includes((0,c.normalizeLocalePath)((0,E.removeBasePath)(d),r.router.locales).pathname)){let r=(0,j.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});d=(0,v.addBasePath)(r.pathname),t.pathname=d}if(!i.includes(u)){let e=k(u,i);e!==u&&(u=e)}let f=i.includes(u)?u:k((0,c.normalizeLocalePath)((0,E.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(f)){let e=(0,_.getRouteMatcher)((0,m.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,T.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,y.parsePath)(u),t=(0,T.formatNextPathnameInfo)({...(0,j.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:u})}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}}let B=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:o,isServerRender:a,parseJSON:s,persistCache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),f=e=>{var u;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(t,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then(e=>{if(!r.ok){if(o&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};if(404===r.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:B},response:r,text:e,cacheKey:d}}let s=Error("Failed to load static props");throw a||(0,i.markAssetError)(s),s}return{dataHref:t,json:s?H(e):null,response:r,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e)).catch(e=>{throw c||delete r[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e})};return c&&l?f({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[d]=Promise.resolve(e)),e)):void 0!==r[d]?r[d]:r[d]=f(u?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function q(e){let{url:t,router:r}=e;if(t===(0,v.addBasePath)((0,P.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let X=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,n,o){{if(!this._bfl_s&&!this._bfl_d){let t,a;let{BloomFilter:s}=r(8331);try{({__routerFilterStatic:t,__routerFilterDynamic:a}=await (0,i.getClientBuildManifest)())}catch(t){if(console.error(t),o)return!0;return q({url:(0,v.addBasePath)((0,P.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}(null==t?void 0:t.numHashes)&&(this._bfl_s=new s(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==a?void 0:a.numHashes)&&(this._bfl_d=new s(a.numItems,a.errorRate),this._bfl_d.import(a))}let c=!1,d=!1;for(let{as:r,allowMatchCurrent:i}of[{as:e},{as:t}])if(r){let t=(0,a.removeTrailingSlash)(new URL(r,"http://n").pathname),f=(0,v.addBasePath)((0,P.addLocale)(t,n||this.locale));if(i||t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var s,l,u;for(let e of(c=c||!!(null==(s=this._bfl_s)?void 0:s.contains(t))||!!(null==(l=this._bfl_s)?void 0:l.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!d&&e{})}}}}return!1}async change(e,t,r,n,o){var u,c,d,R,O,j,T,I,M;let D,F;if(!(0,w.isLocalURL)(t))return q({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,G={...this.state},X=!0!==this.isReady;this.isReady=!0;let z=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=G.locale;f.ST&&performance.mark("routeChange");let{shallow:K=!1,scroll:$=!0}=n,Q={shallow:K};this._inFlightRoute&&this.clc&&(z||V.events.emit("routeChangeError",N(),this._inFlightRoute,Q),this.clc(),this.clc=null),r=(0,v.addBasePath)((0,P.addLocale)((0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,n.locale,this.defaultLocale));let J=(0,b.removeLocale)((0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,G.locale);this._inFlightRoute=r;let Z=Y!==G.locale;if(!H&&this.onlyAHashChange(J)&&!Z){G.asPath=J,V.events.emit("hashChangeStart",r,Q),this.changeState(e,t,r,{...n,scroll:!1}),$&&this.scrollToHash(J);try{await this.set(G,this.components[G.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,J,Q),e}return V.events.emit("hashChangeComplete",r,Q),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[D,{__rewrites:F}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return q({url:r,router:this}),!1}this.urlIsNew(J)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,E.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(u=this.components[et])?void 0:u.__appRouter)return q({url:r,router:this}),new Promise(()=>{});let ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,_.getRouteMatcher)((0,m.getRouteRegex)(eo))(ea))),es=!n.shallow&&await L({asPath:r,locale:G.locale,router:this});if(H&&es&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=k(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,v.addBasePath)(et),es||(t=(0,g.formatWithValidation)(ee)))),!(0,w.isLocalURL)(r))return q({url:r,router:this}),!1;en=(0,b.removeLocale)((0,E.removeBasePath)(en),G.locale),eo=(0,a.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,m.getRouteRegex)(eo);el=(0,_.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,x.interpolateAs)(eo,n,er):{};if(el&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,C.omit)(er,i.params)})):Object.assign(er,el);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!es)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,Q);let eu="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:Q,locale:G.locale,isPreview:G.isPreview,hasMiddleware:es,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,G.locale),"route"in a&&es){eo=et=a.route||eo,Q.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,E.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!Q.shallow&&a.resolvedAs?a.resolvedAs:(0,v.addBasePath)((0,P.addLocale)(new URL(r,location.href).pathname,G.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,E.removeBasePath)(e));let t=(0,m.getRouteRegex)(et),n=(0,_.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return q({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,s.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,h.parseRelativeUrl)(t);r.pathname=k(r.pathname,D);let{url:o,as:a}=U(this,t,t);return this.change(e,o,a,n)}return q({url:t,router:this}),new Promise(()=>{})}if(G.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:G.locale,isPreview:G.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(d=self.__NEXT_DATA__.props)?void 0:null==(c=d.pageProps)?void 0:c.statusCode)===500&&(null==(R=a.props)?void 0:R.pageProps)&&(a.props.pageProps.statusCode=500);let u=n.shallow&&G.route===(null!=(O=a.route)?O:eo),f=null!=(j=n.scroll)?j:!H&&!u,g=null!=o?o:f?{x:0,y:0}:null,y={...G,route:eo,pathname:et,query:er,asPath:J,isFallback:!1};if(H&&eu){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:G.locale,isPreview:G.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(I=self.__NEXT_DATA__.props)?void 0:null==(T=I.pageProps)?void 0:T.statusCode)===500&&(null==(M=a.props)?void 0:M.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,J,Q),e}return!0}if(V.events.emit("beforeHistoryChange",r,Q),this.changeState(e,t,r,n),!(H&&!g&&!X&&!Z&&(0,A.compareRouterStates)(y,this.state))){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,J,Q),a.error;H||V.events.emit("routeChangeComplete",r,Q),f&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),q({url:n,router:this}),N();console.error(e);try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:s,locale:u,hasMiddleware:d,isPreview:f,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:_,isNotFound:m}=e,y=t;try{var P,b,v,S;let e=this.components[y];if(s.shallow&&e&&this.route===y)return e;let t=X({route:y,router:this});d&&(e=void 0);let l=!e||"initial"in e?void 0:e,R={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:m?"/404":i,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},j=h&&!_?null:await F({fetchData:()=>W(R),asPath:m?"/404":i,locale:u,router:this}).catch(e=>{if(h)return null;throw e});if(j&&("/_error"===r||"/404"===r)&&(j.effect=void 0),h&&(j?j.json=self.__NEXT_DATA__.props:j={json:self.__NEXT_DATA__.props}),t(),(null==j?void 0:null==(P=j.effect)?void 0:P.type)==="redirect-internal"||(null==j?void 0:null==(b=j.effect)?void 0:b.type)==="redirect-external")return j.effect;if((null==j?void 0:null==(v=j.effect)?void 0:v.type)==="rewrite"){let t=(0,a.removeTrailingSlash)(j.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(t))&&(y=t,r=j.effect.resolvedHref,n={...n,...j.effect.parsedAs.query},i=(0,E.removeBasePath)((0,c.normalizeLocalePath)(j.effect.parsedAs.pathname,this.locales).pathname),e=this.components[y],s.shallow&&e&&this.route===y&&!d))return{...e,route:y}}if((0,O.isAPIRoute)(y))return q({url:o,router:this}),new Promise(()=>{});let T=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),A=null==j?void 0:null==(S=j.response)?void 0:S.headers.get("x-middleware-skip"),w=T.__N_SSG||T.__N_SSP;A&&(null==j?void 0:j.dataHref)&&delete this.sdc[j.dataHref];let{props:I,cacheKey:C}=await this._getData(async()=>{if(w){if((null==j?void 0:j.json)&&!A)return{cacheKey:j.cacheKey,props:j.json};let e=(null==j?void 0:j.dataHref)?j.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:u}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:A?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(T.Component,{pathname:r,query:n,asPath:o,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return T.__N_SSP&&R.dataHref&&C&&delete this.sdc[C],this.isPreview||!T.__N_SSG||h||W(Object.assign({},R,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),I.pageProps=Object.assign({},I.pageProps),T.props=I,T.route=y,T.query=n,T.resolvedAs=i,this.components[y]=T,T}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,o,s)}}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),[n,o]=e.split("#",2);return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#",2);(0,M.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,I.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:s}=n,l=i,u=await this.pageLoader.getPageList(),c=t,d=void 0!==r.locale?r.locale||void 0:this.locale,f=await L({asPath:t,locale:d,router:this});n.pathname=k(n.pathname,u),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(s,(0,_.getRouteMatcher)((0,m.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),f||(e=(0,g.formatWithValidation)(n)));let P=await F({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:c,locale:d}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:d,router:this});if((null==P?void 0:P.effect.type)==="rewrite"&&(n.pathname=P.effect.resolvedHref,i=P.effect.resolvedHref,s={...s,...P.effect.parsedAs.query},c=P.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==P?void 0:P.effect.type)==="redirect-external")return;let b=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(b).then(t=>!!t&&W({dataHref:(null==P?void 0:P.json)?null==P?void 0:P.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:d}),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"](b)])}async fetchComponent(e){let t=X({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=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,f.loadGetInitialProps)(r,{AppTree:n,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}constructor(e,t,r,{initialProps:n,pageLoader:o,App:i,wrapApp:s,Component:l,err:u,subscription:c,isFallback:d,locale:_,locales:m,defaultLocale:y,domainLocales:P,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,v.addBasePath)(e),query:t}),(0,f.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:s}=n;this._key=s;let{pathname:l}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,v.addBasePath)(this.asPath)||l!==(0,v.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let E=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[E]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=V.events,this.pageLoader=o;let S=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=s,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||!S&&!self.location.search),this.state={route:E,pathname:e,query:t,asPath:S?e:r,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:_},o=(0,f.getURL)();this._initialMatchesMiddlewarePromise=L({router:this,locale:_,asPath:o}).then(a=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,v.addBasePath)(e),query:t}),o,n),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,d.default)()},2528:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(679),o=r(7459);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(7070);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},5999:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(7070);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},3e3:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return i}});let n=r(9952),o=r(4565);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}},2085:(e,t)=>{"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},9574:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},5701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(5608),o=r(679),a=r(5999),i=r(2528);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},8547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},formatWithValidation:function(){return s},urlObjectKeys:function(){return i}});let n=r(1757)._(r(1923)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+a+u+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return a(e)}},4967:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},8995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(5934),o=r(8668),a=r(7459);function i(e,t){var r,i;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,a.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,s),c.basePath=s);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,n.normalizeLocalePath)(d,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},1079:(e,t)=>{"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},1939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(2186),o=r(1979)},4574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(8272),o=r(1);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),s=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:u,result:a}}},1147:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}});let r=/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i;function n(e){return r.test(e)}},1979:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(6895),o=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},2712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(4350),o=r(1447);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},1576:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},7070:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},5909:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(4350),o=r(1923);function a(e,t,r){void 0===r&&(r=!0);let a=new URL((0,n.getLocationOrigin)()),i=t?new URL(t,a):e.startsWith(".")?new URL(window.location.href):a,{pathname:s,searchParams:l,search:u,hash:c,href:d,origin:f}=new URL(e,i);if(f!==a.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:s,query:r?(0,o.searchParamsToUrlQuery)(l):void 0,search:u,hash:c,href:d.slice(f.length)}}},7459:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(7070);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},1923:(e,t)=>{"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},8668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(7459);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},5608:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},8272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(4350);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},1:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return _},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return d},parseParameter:function(){return l}});let n=r(2350),o=r(6895),a=r(491),i=r(5608),s=/\[((?:\[.*\])|.+)\]/;function l(e){let t=e.match(s);return t?u(t[1]):u(e)}function u(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}}function c(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(e=>{let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(s);if(t&&i){let{key:e,optional:o,repeat:s}=u(i[1]);return r[e]={pos:n++,repeat:s,optional:o},"/"+(0,a.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,a.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:o}=u(i[1]);return r[e]={pos:n++,repeat:t,optional:o},t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function d(e){let{parameterizedRoute:t,groups:r}=c(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function f(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:o,keyPrefix:i}=e,{key:s,optional:l,repeat:c}=u(n),d=s.replace(/\W/g,"");i&&(d=""+i+d);let f=!1;(0===d.length||d.length>30)&&(f=!0),isNaN(parseInt(d.slice(0,1)))||(f=!0),f&&(d=r()),i?o[d]=""+i+s:o[d]=s;let p=t?(0,a.escapeStringRegexp)(t):"";return c?l?"(?:/"+p+"(?<"+d+">.+?))?":"/"+p+"(?<"+d+">.+?)":"/"+p+"(?<"+d+">[^/]+?)"}function p(e,t){let r;let s=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:s.map(e=>{let r=o.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&i){let[r]=e.split(i[0]);return f({getSafeRouteKey:l,interceptionMarker:r,segment:i[1],routeKeys:u,keyPrefix:t?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0})}return i?f({getSafeRouteKey:l,segment:i[1],routeKeys:u,keyPrefix:t?n.NEXT_QUERY_PARAM_PREFIX:void 0}):"/"+(0,a.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function h(e,t){let r=p(e,t);return{...d(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function _(e,t){let{parameterizedRoute:r}=c(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=p(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},2186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return o},getSortedRoutes:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(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 Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');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,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("…"))throw Error("Detected a three-dot character ('…') at ('"+r+"'). Did you mean ('...')?");if(r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,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 "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}function o(e,t){let r={},o=[];for(let n=0;ne[r[t]])}},4723:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},4565:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}function n(e,t){if(e.includes(o)){let e=JSON.stringify(t);return"{}"!==e?o+"?"+e:o}return e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return o},addSearchParamsIfPageSegment:function(){return n},isGroupSegment:function(){return r}});let o="__PAGE__",a="__DEFAULT__"},8457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(7294),o=n.useLayoutEffect,a=n.useEffect;function i(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},4350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return g},NormalizeError:function(){return _},PageNotFoundError:function(){return m},SP:function(){return f},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return s},isAbsoluteUrl:function(){return a},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return P}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let f="undefined"!=typeof performance,p=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class _ extends Error{}class m extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},2723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},7663:e=>{!function(){var t={229:function(e){var t,r,n,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c1)for(var r=1;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return c},APP_DIR_ALIAS:function(){return C},CACHE_ONE_YEAR:function(){return S},DOT_NEXT_ALIAS:function(){return w},ESLINT_DEFAULT_DIRS:function(){return $},GSP_NO_RETURNED_VALUE:function(){return q},GSSP_COMPONENT_MEMBER_ERROR:function(){return z},GSSP_NO_RETURNED_VALUE:function(){return X},INFINITE_CACHE:function(){return R},INSTRUMENTATION_HOOK_FILENAME:function(){return T},MIDDLEWARE_FILENAME:function(){return O},MIDDLEWARE_LOCATION_REGEXP:function(){return j},NEXT_BODY_SUFFIX:function(){return p},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return v},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return m},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return g},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return _},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return E},NEXT_CACHE_TAGS_HEADER:function(){return h},NEXT_CACHE_TAG_MAX_ITEMS:function(){return P},NEXT_CACHE_TAG_MAX_LENGTH:function(){return b},NEXT_DATA_SUFFIX:function(){return d},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return n},NEXT_META_SUFFIX:function(){return f},NEXT_QUERY_PARAM_PREFIX:function(){return r},NEXT_RESUME_HEADER:function(){return y},NON_STANDARD_NODE_ENV:function(){return Y},PAGES_DIR_ALIAS:function(){return A},PRERENDER_REVALIDATE_HEADER:function(){return o},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return k},ROOT_DIR_ALIAS:function(){return I},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return U},RSC_ACTION_ENCRYPTION_ALIAS:function(){return D},RSC_ACTION_PROXY_ALIAS:function(){return N},RSC_ACTION_VALIDATE_ALIAS:function(){return M},RSC_CACHE_WRAPPER_ALIAS:function(){return L},RSC_MOD_REF_PROXY_ALIAS:function(){return x},RSC_PREFETCH_SUFFIX:function(){return i},RSC_SEGMENTS_DIR_SUFFIX:function(){return s},RSC_SEGMENT_SUFFIX:function(){return l},RSC_SUFFIX:function(){return u},SERVER_PROPS_EXPORT_ERROR:function(){return G},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return B},SERVER_PROPS_SSG_CONFLICT:function(){return H},SERVER_RUNTIME:function(){return Q},SSG_FALLBACK_EXPORT_ERROR:function(){return K},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return F},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return W},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return V},WEBPACK_LAYERS:function(){return Z},WEBPACK_RESOURCE_QUERIES:function(){return ee}});let r="nxtP",n="nxtI",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",i=".prefetch.rsc",s=".segments",l=".segment.rsc",u=".rsc",c=".action",d=".json",f=".meta",p=".body",h="x-next-cache-tags",_="x-next-cache-soft-tags",m="x-next-revalidated-tags",g="x-next-revalidate-tag-token",y="next-resume",P=64,b=256,E=1024,v="_N_T_",S=31536e3,R=0xfffffffe,O="middleware",j=`(?:src/)?${O}`,T="instrumentation",A="private-next-pages",w="private-dot-next",I="private-next-root-dir",C="private-next-app-dir",x="private-next-rsc-mod-ref-proxy",M="private-next-rsc-action-validate",N="private-next-rsc-server-reference",L="private-next-rsc-cache-wrapper",D="private-next-rsc-action-encryption",U="private-next-rsc-action-client-wrapper",k="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",F="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",B="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",H="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",W="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",G="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",q="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",X="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",V="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",z="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Y='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',K="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",$=["app","pages","components","lib","src"],Q={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},J={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"},Z={...J,GROUP:{builtinReact:[J.reactServerComponents,J.actionBrowser,J.appMetadataRoute],serverOnly:[J.reactServerComponents,J.actionBrowser,J.appMetadataRoute,J.instrument,J.middleware],neutralTarget:[J.api],clientOnly:[J.serverSideRendering,J.appPagesBrowser],bundled:[J.reactServerComponents,J.actionBrowser,J.appMetadataRoute,J.serverSideRendering,J.appPagesBrowser,J.shared,J.instrument],appPages:[J.reactServerComponents,J.serverSideRendering,J.appPagesBrowser,J.actionBrowser]}},ee={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},9423:(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}})},676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(1728);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},9492:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HMR_ACTIONS_SENT_TO_BROWSER",{enumerable:!0,get:function(){return r}}),function(e){e.ADDED_PAGE="addedPage",e.REMOVED_PAGE="removedPage",e.RELOAD_PAGE="reloadPage",e.SERVER_COMPONENT_CHANGES="serverComponentChanges",e.MIDDLEWARE_CHANGES="middlewareChanges",e.CLIENT_CHANGES="clientChanges",e.SERVER_ONLY_CHANGES="serverOnlyChanges",e.SYNC="sync",e.BUILT="built",e.BUILDING="building",e.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",e.TURBOPACK_MESSAGE="turbopack-message",e.SERVER_ERROR="serverError",e.TURBOPACK_CONNECTED="turbopack-connected",e.APP_ISR_MANIFEST="appIsrManifest"}(r||(r={}))},6895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return a}});let n=r(3e3),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},2431:()=>{},8754:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},1757:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(o,i,s):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:()=>o})}},e=>{var t=t=>e(e.s=t);e.O(0,[774],()=>t(5178)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{4878:(e,t)=>{"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},37:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},3454:(e,t,r)=>{"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(7663)},6220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(679),o=r(1297);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(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)},8109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(1297);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSocketUrl",{enumerable:!0,get:function(){return o}});let n=r(3615);function o(e){let t=(0,n.normalizedAssetPrefix)(e),r=function(e){let t=window.location.protocol;try{t=new URL(e).protocol}catch(e){}return"http:"===t?"ws:":"wss:"}(e||"");if(URL.canParse(t))return t.replace(/^http/,"ws");let{hostname:o,port:a}=window.location;return r+"//"+o+(a?":"+a:"")+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)},6937:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addMessageListener:function(){return s},connectHMR:function(){return f},sendMessage:function(){return l}});let o=r(9492),a=r(1449),i=[];function s(e){i.push(e)}function l(e){if(n&&n.readyState===n.OPEN)return n.send(e)}let u=0,c=!1,d=null;function f(e){!function t(){let r;function s(){if(n.onerror=null,n.onclose=null,n.close(),++u>25){c=!0,window.location.reload();return}clearTimeout(r),r=setTimeout(t,u>5?5e3:1e3)}n&&n.close();let l=(0,a.getSocketUrl)(e.assetPrefix);(n=new window.WebSocket(""+l+e.path)).onopen=function(){u=0,window.console.log("[HMR] connected")},n.onerror=s,n.onclose=s,n.onmessage=function(e){if(c)return;let t=JSON.parse(e.data);if("action"in t&&t.action===o.HMR_ACTIONS_SENT_TO_BROWSER.TURBOPACK_CONNECTED){if(null!==d&&d!==t.data.sessionId){window.location.reload(),c=!0;return}d=t.data.sessionId}for(let e of i)e(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)},7448:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(7459);function o(e){return(0,n.pathHasPrefix)(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)},6166:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},isEqualNode:function(){return a}});let o=r(3439);function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function i(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{n(e,t[e]||[])})}}}n=(e,t)=>{let r=document.querySelector("head");if(!r)return;let n=new Set(r.querySelectorAll(""+e+"[data-next-head]"));if("meta"===e){let e=r.querySelector("meta[charset]");null!==e&&n.add(e)}let i=[];for(let e=0;e{"use strict";let n,o,a,i,s,l,u,c,d,f,p,h;Object.defineProperty(t,"__esModule",{value:!0});let _=r(1757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{emitter:function(){return q},hydrate:function(){return ec},initialize:function(){return Y},router:function(){return n},version:function(){return G}});let m=r(8754),g=r(5893);r(37);let y=m._(r(7294)),P=m._(r(745)),b=r(2201),E=m._(r(8483)),v=r(4494),S=r(1079),R=r(1979),O=r(1923),j=r(4723),T=r(4350),A=r(1201),w=m._(r(6166)),I=m._(r(1503)),C=r(5454),x=r(6036),M=r(676),N=r(9146),L=r(5287),D=r(1447),U=r(5716),k=r(8863),F=r(7353),B=r(1889),H=m._(r(4529)),W=m._(r(5223)),G="15.0.1",q=(0,E.default)(),X=e=>[].slice.call(e),V=!1;class z extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,R.isDynamicRoute)(n.pathname)||location.search||V)||o.props&&o.props.__N_SSG&&(location.search||V))&&n.replace(n.pathname+"?"+String((0,O.assign)((0,O.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!V}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function Y(e){void 0===e&&(e={}),H.default.onSpanEnd(W.default),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,h=o.defaultLocale;let t=o.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,j.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,T.getURL)(),(0,D.hasBasePath)(a)&&(a=(0,L.removeBasePath)(a)),o.scriptLoader){let{initScriptLoader:e}=r(69);e(o.scriptLoader)}i=new I.default(o.buildId,t);let u=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>u(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=u,(l=(0,w.default)()).getIsSsr=()=>n.isSsr,s=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return(0,g.jsx)(e,{...t})}function $(e){var t;let{children:r}=e,o=y.default.useMemo(()=>(0,k.adaptForAppRouterInstance)(n),[]);return(0,g.jsx)(z,{fn:e=>J({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,g.jsx)(U.AppRouterContext.Provider,{value:o,children:(0,g.jsx)(F.SearchParamsContext.Provider,{value:(0,k.adaptForSearchParams)(n),children:(0,g.jsx)(k.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,g.jsx)(F.PathParamsContext.Provider,{value:(0,k.adaptForPathParams)(n),children:(0,g.jsx)(v.RouterContext.Provider,{value:(0,x.makePublicRouterInstance)(n),children:(0,g.jsx)(b.HeadManagerContext.Provider,{value:l,children:(0,g.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0},children:r})})})})})})})})}let Q=e=>t=>{let r={...t,Component:p,err:o.err,router:n};return(0,g.jsx)($,{children:K(e,r)})};function J(e){let{App:t,err:s}=e;return console.error(s),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:o,styleSheets:a}=n;return(null==u?void 0:u.Component)===o?Promise.resolve().then(()=>_._(r(3387))).then(n=>Promise.resolve().then(()=>_._(r(2239))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:o,styleSheets:a}}).then(r=>{var i;let{ErrorComponent:l,styleSheets:u}=r,c=Q(t),d={Component:l,AppTree:c,router:n,ctx:{err:s,pathname:o.page,query:o.query,asPath:a,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,T.loadGetInitialProps)(t,d)).then(t=>el({...e,err:s,Component:l,styleSheets:u,props:t}))})}function Z(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let ee={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},et={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},er=null,en=!0;function eo(){[ee.beforeRender,ee.afterHydrate,ee.afterRender,ee.routeChange].forEach(e=>performance.clearMarks(e))}function ea(){T.ST&&(performance.mark(ee.afterHydrate),performance.getEntriesByName(ee.beforeRender,"mark").length&&(performance.measure(et.beforeHydration,ee.navigationStart,ee.beforeRender),performance.measure(et.hydration,ee.beforeRender,ee.afterHydrate)),f&&performance.getEntriesByName(et.hydration).forEach(f),eo())}function ei(){if(!T.ST)return;performance.mark(ee.afterRender);let e=performance.getEntriesByName(ee.routeChange,"mark");e.length&&(performance.getEntriesByName(ee.beforeRender,"mark").length&&(performance.measure(et.routeChangeToRender,e[0].name,ee.beforeRender),performance.measure(et.render,ee.beforeRender,ee.afterRender),f&&(performance.getEntriesByName(et.render).forEach(f),performance.getEntriesByName(et.routeChangeToRender).forEach(f))),eo(),[et.routeChangeToRender,et.render].forEach(e=>performance.clearMeasures(e)))}function es(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),r}function el(e){let t,{App:r,Component:o,props:a,err:i}=e,l="initial"in e?void 0:e.styleSheets;o=o||u.Component;let d={...a=a||u.props,Component:o,err:i,router:n};u=d;let f=!1,p=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function h(){t()}!function(){if(!l)return;let e=new Set(X(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=null==t?void 0:t.getAttribute("data-n-css");l.forEach(t=>{let{href:n,text:o}=t;if(!e.has(n)){let e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(o))}})}();let _=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(Z,{callback:function(){if(l&&!f){let e=new Set(l.map(e=>e.href)),t=X(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),X(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,S.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),(0,g.jsxs)($,{children:[K(r,d),(0,g.jsx)(A.Portal,{type:"next-route-announcer",children:(0,g.jsx)(C.RouteAnnouncer,{})})]})]});return!function(e,t){T.ST&&performance.mark(ee.beforeRender);let r=t(en?ea:ei);er?(0,y.default.startTransition)(()=>{er.render(r)}):(er=P.default.hydrateRoot(e,r,{onRecoverableError:B.onRecoverableError}),en=!1)}(s,e=>(0,g.jsx)(es,{callbacks:[e,h],children:(0,g.jsx)(y.default.StrictMode,{children:_})})),p}async function eu(e){if(e.err&&(void 0===e.Component||!e.isHydratePass)){await J(e);return}try{await el(e)}catch(r){let t=(0,M.getProperError)(r);if(t.cancelled)throw t;await J({...e,err:t})}}async function ec(e){let t=o.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(f=e=>{let t,{id:n,name:o,startTime:a,value:i,duration:s,entryType:l,entries:u,attribution:c}=e,d=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let f={id:n||d,name:o,startTime:a||t,value:null==i?s:i,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});let n=await i.routeLoader.whenEntrypoint(o.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,M.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(o.dynamicIds),n=(0,x.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:d,Component:p,wrapApp:Q,err:t,isFallback:!!o.isFallback,subscription:(e,t,r)=>eu(Object.assign({},e,{App:t,scroll:r})),locale:o.locale,locales:o.locales,defaultLocale:h,domainLocales:o.domainLocales,isPreview:o.isPreview}),V=await n._initialMatchesMiddlewarePromise;let r={App:d,initial:!0,Component:p,props:o.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),eu(r)}("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)},5178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5975);let n=r(1844);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("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)},1297:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(5608),o=r(7070),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+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)},1889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"onRecoverableError",{enumerable:!0,get:function(){return a}});let n=r(7633),o="function"==typeof reportError?reportError:e=>{window.console.error(e)};function a(e,t){(0,n.isBailoutToCSRError)(e)||o(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)},1503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(8754),o=r(6220),a=r(4574),i=n._(r(4967)),s=r(8109),l=r(1979),u=r(5909),c=r(5608),d=r(9586);r(5875);class f{getPageList(){return(0,d.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:p}=(0,u.parseRelativeUrl)(r),{pathname:h}=(0,u.parseRelativeUrl)(t),_=(0,c.removeTrailingSlash)(d);if("/"!==_[0])throw Error('Route name should start with a "/", got "'+_+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,s.addLocale)(e,n)),".json");return(0,o.addBasePath)("/_next/data/"+this.buildId+t+p,!0)})(e.skipInterpolation?h:(0,l.isDynamicRoute)(_)?(0,a.interpolateAs)(d,h,f).result:_)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,d.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("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)},1201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(7294),o=r(3935),a=e=>{let{children:t,type:r}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),a?(0,o.createPortal)(t,a):null};("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)},5287:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(1447),("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)},2979:(e,t,r)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(7070),("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)},460:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return d}});let n=r(1923),o=r(8547),a=r(1576),i=r(4350),s=r(1297),l=r(2712),u=r(1939),c=r(4574);function d(e,t,r){let d;let f="string"==typeof t?t:(0,o.formatWithValidation)(t),p=f.match(/^[a-zA-Z]{1,}:\/\//),h=p?f.slice(p[0].length):f;if((h.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,i.normalizeRepeatedSlashes)(h);f=(p?p[0]:"")+t}if(!(0,l.isLocalURL)(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"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,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,o.formatWithValidation)({pathname:i,hash:e.hash,query:(0,a.omit)(r,s)}))}let i=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}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)},5454:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(6036),s={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,i.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}}},[e]),(0,o.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:s,children:t})},u=l;("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)},9586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return m},getClientBuildManifest:function(){return h},isAssetError:function(){return c},markAssetError:function(){return u}}),r(8754),r(4967);let n=r(6953),o=r(460),a=r(4878),i=r(7001);function s(e,t,r){let n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);let a=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let l=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,l,{})}function c(e){return e&&l in e}let d=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function p(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function h(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):p(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,u(Error("Failed to load client build manifest")))}function _(e,t){return h().then(r=>{if(!(t in r))throw u(Error("Failed to lookup route: "+t));let o=r[t].map(t=>e+"/_next/"+(0,i.encodeURIPath)(t));return{scripts:o.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:o.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function m(e){let t=new Map,r=new Map,n=new Map,a=new Map;function i(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}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 Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw u(e)})),t}return{whenEntrypoint:e=>s(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 n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})},loadRoute(r,n){return s(r,a,()=>{let o;return p(_(e,r).then(e=>{let{scripts:n,css:o}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(i)),Promise.all(o.map(l))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,u(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==o?void 0:o())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():_(e,t).then(e=>Promise.all(d?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,o)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>o(u(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,o.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)},6036:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},createRouter:function(){return _},default:function(){return p},makePublicRouterInstance:function(){return m},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(8754),o=n._(r(7294)),a=n._(r(4595)),i=r(4494),s=n._(r(676)),l=n._(r(8395)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>f()[e]})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{u.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),u.readyCallbacks=[],u.router}function m(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=a.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},handleClientScriptLoad:function(){return _},initScriptLoader:function(){return m}});let n=r(8754),o=r(1757),a=r(5893),i=n._(r(3935)),s=o._(r(7294)),l=r(2201),u=r(3439),c=r(460),d=new Map,f=new Set,p=e=>{if(i.default.preinit){e.forEach(e=>{i.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:a,children:i="",strategy:s="afterInteractive",onError:l,stylesheets:c}=e,h=r||t;if(h&&f.has(h))return;if(d.has(t)){f.add(h),d.get(t).then(n,l);return}let _=()=>{o&&o(),f.add(h)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});a?(m.innerHTML=a.__html||"",_()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(m.src=t,d.set(t,g)),(0,u.setAttributesFromProps)(m,e),"worker"===s&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",s),c&&p(c),document.body.appendChild(m)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}):h(e)}function m(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:u="afterInteractive",onError:d,stylesheets:p,..._}=e,{updateScripts:m,scripts:g,getIsSsr:y,appDir:P,nonce:b}=(0,s.useContext)(l.HeadManagerContext),E=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;E.current||(o&&e&&f.has(e)&&o(),E.current=!0)},[o,t,r]);let v=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{!v.current&&("afterInteractive"===u?h(e):"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))})),v.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(m?(g[u]=(g[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:o,onError:d,..._}]),m(g)):y&&y()?f.add(t||r):y&&!y()&&h(e)),P){if(p&&p.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)return r?(i.default.preload(r,_.integrity?{as:"script",integrity:_.integrity,nonce:b,crossOrigin:_.crossOrigin}:{as:"script",nonce:b,crossOrigin:_.crossOrigin}),(0,a.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{..._,id:t}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:t}])+")"}}));"afterInteractive"===u&&r&&i.default.preload(r,_.integrity?{as:"script",integrity:_.integrity,nonce:b,crossOrigin:_.crossOrigin}:{as:"script",nonce:b,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("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)},3439:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return a}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(e){return["async","defer","noModule"].includes(e)}function a(e,t){for(let[a,i]of Object.entries(t)){if(!t.hasOwnProperty(a)||n.includes(a)||void 0===i)continue;let s=r[a]||a.toLowerCase();"SCRIPT"===e.tagName&&o(s)?e[s]=!!i:e.setAttribute(s,String(i)),(!1===i||"SCRIPT"===e.tagName&&o(s)&&(!i||"false"===i))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("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)},5223:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(6937);function o(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("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)},4529:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(8754)._(r(8483));class o{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,o;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(o=t.startTime)?o:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new o(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let i=new 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)},6953:(e,t)=>{"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("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)},5975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(4878),self.__next_set_public_path__=e=>{r.p=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)},8395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(8754);let n=r(5893);r(7294);let o=r(6036);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,o.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)},2239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=r(4350);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,i.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}l.origGetInitialProps=s,l.getInitialProps=s,("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)},3387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(8754),o=r(5893),a=n._(r(7294)),i=n._(r(7219)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:u.error,children:[(0,o.jsx)(i.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:u.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:u.h1,children:e}):null,(0,o.jsx)("div",{style:u.wrap,children:(0,o.jsxs)("h2",{style:u.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("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)},9686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},2241:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},5716:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return i},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return l},TemplateContext:function(){return s}});let n=r(8754)._(r(7294)),o=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(null),s=n.default.createContext(null),l=n.default.createContext(new Set)},8331:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}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 n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}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)}}},5875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return P},APP_CLIENT_INTERNALS:function(){return $},APP_PATHS_MANIFEST:function(){return m},APP_PATH_ROUTES_MANIFEST:function(){return g},BARREL_OPTIMIZATION_PREFIX:function(){return W},BLOCKED_PAGES:function(){return U},BUILD_ID_FILE:function(){return D},BUILD_MANIFEST:function(){return y},CLIENT_PUBLIC_FILES_PATH:function(){return k},CLIENT_REFERENCE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_PATH:function(){return F},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return J},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return K},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return et},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return Q},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Z},COMPILER_INDEXES:function(){return a},COMPILER_NAMES:function(){return o},CONFIG_FILES:function(){return L},DEFAULT_RUNTIME_WEBPACK:function(){return er},DEFAULT_SANS_SERIF_FONT:function(){return es},DEFAULT_SERIF_FONT:function(){return ei},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return x},DEV_CLIENT_PAGES_MANIFEST:function(){return w},EDGE_RUNTIME_WEBPACK:function(){return en},EDGE_UNSUPPORTED_NODE_APIS:function(){return ef},EXPORT_DETAIL:function(){return R},EXPORT_MARKER:function(){return S},FUNCTIONS_CONFIG_MANIFEST:function(){return b},IMAGES_MANIFEST:function(){return T},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return z},MIDDLEWARE_BUILD_MANIFEST:function(){return X},MIDDLEWARE_MANIFEST:function(){return I},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return V},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return H},NEXT_FONT_MANIFEST:function(){return v},PAGES_MANIFEST:function(){return h},PHASE_DEVELOPMENT_SERVER:function(){return d},PHASE_EXPORT:function(){return l},PHASE_INFO:function(){return p},PHASE_PRODUCTION_BUILD:function(){return u},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_TEST:function(){return f},PRERENDER_MANIFEST:function(){return O},REACT_LOADABLE_MANIFEST:function(){return M},ROUTES_MANIFEST:function(){return j},RSC_MODULE_TYPES:function(){return ed},SERVER_DIRECTORY:function(){return N},SERVER_FILES_MANIFEST:function(){return A},SERVER_PROPS_ID:function(){return ea},SERVER_REFERENCE_MANIFEST:function(){return q},STATIC_PROPS_ID:function(){return eo},STATIC_STATUS_PAGES:function(){return el},STRING_LITERAL_DROP_BUNDLE:function(){return B},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return E},SYSTEM_ENTRYPOINTS:function(){return ep},TRACE_OUTPUT_VERSION:function(){return eu},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return C},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ec},UNDERSCORE_NOT_FOUND_ROUTE:function(){return i},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return s},WEBPACK_STATS:function(){return _}});let n=r(8754)._(r(4083)),o={client:"client",server:"server",edgeServer:"edge-server"},a={[o.client]:0,[o.server]:1,[o.edgeServer]:2},i="/_not-found",s=""+i+"/page",l="phase-export",u="phase-production-build",c="phase-production-server",d="phase-development-server",f="phase-test",p="phase-info",h="pages-manifest.json",_="webpack-stats.json",m="app-paths-manifest.json",g="app-path-routes-manifest.json",y="build-manifest.json",P="app-build-manifest.json",b="functions-config-manifest.json",E="subresource-integrity-manifest",v="next-font-manifest",S="export-marker.json",R="export-detail.json",O="prerender-manifest.json",j="routes-manifest.json",T="images-manifest.json",A="required-server-files.json",w="_devPagesManifest.json",I="middleware-manifest.json",C="_clientMiddlewareManifest.json",x="_devMiddlewareManifest.json",M="react-loadable-manifest.json",N="server",L=["next.config.js","next.config.mjs","next.config.ts"],D="BUILD_ID",U=["/_document","/_app","/_error"],k="public",F="static",B="__NEXT_DROP_CLIENT_FILE__",H="__NEXT_BUILTIN_DOCUMENT__",W="__barrel_optimize__",G="client-reference-manifest",q="server-reference-manifest",X="middleware-build-manifest",V="middleware-react-loadable-manifest",z="interception-route-rewrite-manifest",Y="main",K=""+Y+"-app",$="app-pages-internals",Q="react-refresh",J="amp",Z="webpack",ee="polyfills",et=Symbol(ee),er="webpack-runtime",en="edge-runtime-webpack",eo="__N_SSG",ea="__N_SSP",ei={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},es={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},el=["/500"],eu=1,ec=6e3,ed={client:"client",server:"server"},ef=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ep=new Set([Y,Q,J,K]);("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)},7001:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}},2201:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},7219:(e,t,r)=>{"use strict";var n=r(3454);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return f}});let o=r(8754),a=r(1757),i=r(5893),s=a._(r(7294)),l=o._(r(8457)),u=r(9686),c=r(2201),d=r(2241);function f(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(2723);let h=["name","httpEquiv","charSet","itemProp"];function _(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=h.length;e{let o=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:o})})}let m=function(e){let{children:t}=e,r=(0,s.useContext)(u.AmpStateContext),n=(0,s.useContext)(c.HeadManagerContext);return(0,i.jsx)(l.default,{reduceComponentsToState:_,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children: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)},7353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return i},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let n=r(7294),o=(0,n.createContext)(null),a=(0,n.createContext)(null),i=(0,n.createContext)(null)},5934:(e,t)=>{"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},9146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(8754)._(r(7294)),o=r(6252),a=n.default.createContext(o.imageConfigDefault)},6252:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],unoptimized:!1}},1728:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},7633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},8483:(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){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},4083:e=>{"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},3615:(e,t)=>{"use strict";function r(e){let t=(null==e?void 0:e.replace(/^\/+|\/+$/g,""))||!1;if(!t)return"";if(URL.canParse(t)){let e=new URL(t).toString();return e.endsWith("/")?e.slice(0,-1):e}return"/"+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizedAssetPrefix",{enumerable:!0,get:function(){return r}})},9312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(1939),o=r(2491);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},9952:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},2491:(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}})},4494:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext(null)},8863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathnameContextProviderAdapter:function(){return p},adaptForAppRouterInstance:function(){return c},adaptForPathParams:function(){return f},adaptForSearchParams:function(){return d}});let n=r(1757),o=r(5893),a=n._(r(7294)),i=r(7353),s=r(1939),l=r(2085),u=r(1);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},hmrRefresh(){},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function d(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function f(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,u.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function p(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),u=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,s.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,o.jsx)(i.PathnameContext.Provider,{value:u,children:t})}},4595:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return G},default:function(){return V},matchesMiddleware:function(){return L}});let n=r(8754),o=r(1757),a=r(5608),i=r(9586),s=r(69),l=o._(r(676)),u=r(9312),c=r(5934),d=n._(r(8483)),f=r(4350),p=r(1979),h=r(5909);r(2431);let _=r(8272),m=r(1),g=r(8547);r(7448);let y=r(7070),P=r(8109),b=r(2979),E=r(5287),v=r(6220),S=r(1447),R=r(9975),O=r(9423),j=r(8995),T=r(5701),A=r(9574),w=r(2712),I=r(1147),C=r(1576),x=r(4574),M=r(1079);function N(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function L(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,o=(0,v.addBasePath)((0,P.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(o))}function D(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){let[n,o]=(0,R.resolveHref)(e,t,!0),a=(0,f.getLocationOrigin)(),i=n.startsWith(a),s=o&&o.startsWith(a);n=D(n),o=o?D(o):o;let l=i?n:(0,v.addBasePath)(n),u=r?D((0,R.resolveHref)(e,r)):o||n;return{url:l,as:s?u:(0,v.addBasePath)(u)}}function k(e,t){let r=(0,a.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,m.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}async function F(e){if(!await L(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},o=t.headers.get("x-nextjs-rewrite"),s=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,h.parseRelativeUrl)(s),l=(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),u=(0,a.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:s}]=a,d=(0,P.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(d)||!o&&i.includes((0,c.normalizeLocalePath)((0,E.removeBasePath)(d),r.router.locales).pathname)){let r=(0,j.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});d=(0,v.addBasePath)(r.pathname),t.pathname=d}if(!i.includes(u)){let e=k(u,i);e!==u&&(u=e)}let f=i.includes(u)?u:k((0,c.normalizeLocalePath)((0,E.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(f)){let e=(0,_.getRouteMatcher)((0,m.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,T.formatNextPathnameInfo)({...(0,j.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,y.parsePath)(u),t=(0,T.formatNextPathnameInfo)({...(0,j.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:u})}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}}let B=Symbol("SSG_DATA_NOT_FOUND");function H(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:o,isServerRender:a,parseJSON:s,persistCache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),f=e=>{var u;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(o=>!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o)})(t,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then(e=>{if(!r.ok){if(o&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};if(404===r.status){var n;if(null==(n=H(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:B},response:r,text:e,cacheKey:d}}let s=Error("Failed to load static props");throw a||(0,i.markAssetError)(s),s}return{dataHref:t,json:s?H(e):null,response:r,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e)).catch(e=>{throw c||delete r[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e})};return c&&l?f({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[d]=Promise.resolve(e)),e)):void 0!==r[d]?r[d]:r[d]=f(u?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function q(e){let{url:t,router:r}=e;if(t===(0,v.addBasePath)((0,P.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let X=e=>{let{route:t,router:r}=e,n=!1,o=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,n,o){{if(!this._bfl_s&&!this._bfl_d){let t,a;let{BloomFilter:s}=r(8331);try{({__routerFilterStatic:t,__routerFilterDynamic:a}=await (0,i.getClientBuildManifest)())}catch(t){if(console.error(t),o)return!0;return q({url:(0,v.addBasePath)((0,P.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}(null==t?void 0:t.numHashes)&&(this._bfl_s=new s(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==a?void 0:a.numHashes)&&(this._bfl_d=new s(a.numItems,a.errorRate),this._bfl_d.import(a))}let c=!1,d=!1;for(let{as:r,allowMatchCurrent:i}of[{as:e},{as:t}])if(r){let t=(0,a.removeTrailingSlash)(new URL(r,"http://n").pathname),f=(0,v.addBasePath)((0,P.addLocale)(t,n||this.locale));if(i||t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var s,l,u;for(let e of(c=c||!!(null==(s=this._bfl_s)?void 0:s.contains(t))||!!(null==(l=this._bfl_s)?void 0:l.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!d&&e{})}}}}return!1}async change(e,t,r,n,o){var u,c,d,R,O,j,T,I,M;let D,F;if(!(0,w.isLocalURL)(t))return q({url:t,router:this}),!1;let H=1===n._h;H||n.shallow||await this._bfl(r,void 0,n.locale);let W=H||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,G={...this.state},X=!0!==this.isReady;this.isReady=!0;let z=this.isSsr;if(H||(this.isSsr=!1),H&&this.clc)return!1;let Y=G.locale;f.ST&&performance.mark("routeChange");let{shallow:K=!1,scroll:$=!0}=n,Q={shallow:K};this._inFlightRoute&&this.clc&&(z||V.events.emit("routeChangeError",N(),this._inFlightRoute,Q),this.clc(),this.clc=null),r=(0,v.addBasePath)((0,P.addLocale)((0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,n.locale,this.defaultLocale));let J=(0,b.removeLocale)((0,S.hasBasePath)(r)?(0,E.removeBasePath)(r):r,G.locale);this._inFlightRoute=r;let Z=Y!==G.locale;if(!H&&this.onlyAHashChange(J)&&!Z){G.asPath=J,V.events.emit("hashChangeStart",r,Q),this.changeState(e,t,r,{...n,scroll:!1}),$&&this.scrollToHash(J);try{await this.set(G,this.components[G.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,J,Q),e}return V.events.emit("hashChangeComplete",r,Q),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[D,{__rewrites:F}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return q({url:r,router:this}),!1}this.urlIsNew(J)||Z||(e="replaceState");let en=r;et=et?(0,a.removeTrailingSlash)((0,E.removeBasePath)(et)):et;let eo=(0,a.removeTrailingSlash)(et),ea=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(u=this.components[et])?void 0:u.__appRouter)return q({url:r,router:this}),new Promise(()=>{});let ei=!!(ea&&eo!==ea&&(!(0,p.isDynamicRoute)(eo)||!(0,_.getRouteMatcher)((0,m.getRouteRegex)(eo))(ea))),es=!n.shallow&&await L({asPath:r,locale:G.locale,router:this});if(H&&es&&(W=!1),W&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=k(et,D),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,v.addBasePath)(et),es||(t=(0,g.formatWithValidation)(ee)))),!(0,w.isLocalURL)(r))return q({url:r,router:this}),!1;en=(0,b.removeLocale)((0,E.removeBasePath)(en),G.locale),eo=(0,a.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(eo)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,o=(0,m.getRouteRegex)(eo);el=(0,_.getRouteMatcher)(o)(n);let a=eo===n,i=a?(0,x.interpolateAs)(eo,n,er):{};if(el&&(!a||i.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,C.omit)(er,i.params)})):Object.assign(er,el);else{let e=Object.keys(o.groups).filter(e=>!er[e]&&!o.groups[e].optional);if(e.length>0&&!es)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}H||V.events.emit("routeChangeStart",r,Q);let eu="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:eo,pathname:et,query:er,as:r,resolvedAs:en,routeProps:Q,locale:G.locale,isPreview:G.isPreview,hasMiddleware:es,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:H&&!this.isFallback,isMiddlewareRewrite:ei});if(H||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,G.locale),"route"in a&&es){eo=et=a.route||eo,Q.shallow||(er=Object.assign({},a.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,E.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!Q.shallow&&a.resolvedAs?a.resolvedAs:(0,v.addBasePath)((0,P.addLocale)(new URL(r,location.href).pathname,G.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,E.removeBasePath)(e));let t=(0,m.getRouteRegex)(et),n=(0,_.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return q({url:a.destination,router:this}),new Promise(()=>{})}let i=a.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,s.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,h.parseRelativeUrl)(t);r.pathname=k(r.pathname,D);let{url:o,as:a}=U(this,t,t);return this.change(e,o,a,n)}return q({url:t,router:this}),new Promise(()=>{})}if(G.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:G.locale,isPreview:G.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}H&&"/_error"===this.pathname&&(null==(d=self.__NEXT_DATA__.props)?void 0:null==(c=d.pageProps)?void 0:c.statusCode)===500&&(null==(R=a.props)?void 0:R.pageProps)&&(a.props.pageProps.statusCode=500);let u=n.shallow&&G.route===(null!=(O=a.route)?O:eo),f=null!=(j=n.scroll)?j:!H&&!u,g=null!=o?o:f?{x:0,y:0}:null,y={...G,route:eo,pathname:et,query:er,asPath:J,isFallback:!1};if(H&&eu){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:G.locale,isPreview:G.isPreview,isQueryUpdating:H&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(I=self.__NEXT_DATA__.props)?void 0:null==(T=I.pageProps)?void 0:T.statusCode)===500&&(null==(M=a.props)?void 0:M.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,l.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,J,Q),e}return!0}if(V.events.emit("beforeHistoryChange",r,Q),this.changeState(e,t,r,n),!(H&&!g&&!X&&!Z&&(0,A.compareRouterStates)(y,this.state))){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw H||V.events.emit("routeChangeError",a.error,J,Q),a.error;H||V.events.emit("routeChangeComplete",r,Q),f&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",r))}async handleRouteInfoError(e,t,r,n,o,a){if(e.cancelled)throw e;if((0,i.isAssetError)(e)||a)throw V.events.emit("routeChangeError",e,n,o),q({url:n,router:this}),N();console.error(e);try{let n;let{page:o,styleSheets:a}=await this.fetchComponent("/_error"),i={props:n,Component:o,styleSheets:a,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(o,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,o,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:o,resolvedAs:i,routeProps:s,locale:u,hasMiddleware:d,isPreview:f,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:_,isNotFound:m}=e,y=t;try{var P,b,v,S;let e=this.components[y];if(s.shallow&&e&&this.route===y)return e;let t=X({route:y,router:this});d&&(e=void 0);let l=!e||"initial"in e?void 0:e,R={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:m?"/404":i,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},j=h&&!_?null:await F({fetchData:()=>W(R),asPath:m?"/404":i,locale:u,router:this}).catch(e=>{if(h)return null;throw e});if(j&&("/_error"===r||"/404"===r)&&(j.effect=void 0),h&&(j?j.json=self.__NEXT_DATA__.props:j={json:self.__NEXT_DATA__.props}),t(),(null==j?void 0:null==(P=j.effect)?void 0:P.type)==="redirect-internal"||(null==j?void 0:null==(b=j.effect)?void 0:b.type)==="redirect-external")return j.effect;if((null==j?void 0:null==(v=j.effect)?void 0:v.type)==="rewrite"){let t=(0,a.removeTrailingSlash)(j.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!h||o.includes(t))&&(y=t,r=j.effect.resolvedHref,n={...n,...j.effect.parsedAs.query},i=(0,E.removeBasePath)((0,c.normalizeLocalePath)(j.effect.parsedAs.pathname,this.locales).pathname),e=this.components[y],s.shallow&&e&&this.route===y&&!d))return{...e,route:y}}if((0,O.isAPIRoute)(y))return q({url:o,router:this}),new Promise(()=>{});let T=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),A=null==j?void 0:null==(S=j.response)?void 0:S.headers.get("x-middleware-skip"),w=T.__N_SSG||T.__N_SSP;A&&(null==j?void 0:j.dataHref)&&delete this.sdc[j.dataHref];let{props:I,cacheKey:C}=await this._getData(async()=>{if(w){if((null==j?void 0:j.json)&&!A)return{cacheKey:j.cacheKey,props:j.json};let e=(null==j?void 0:j.dataHref)?j.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:u}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:A?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(T.Component,{pathname:r,query:n,asPath:o,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return T.__N_SSP&&R.dataHref&&C&&delete this.sdc[C],this.isPreview||!T.__N_SSG||h||W(Object.assign({},R,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),I.pageProps=Object.assign({},I.pageProps),T.props=I,T.route=y,T.query=n,T.resolvedAs=i,this.components[y]=T,T}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,o,s)}}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),[n,o]=e.split("#",2);return!!o&&t===n&&r===o||t===n&&r!==o}scrollToHash(e){let[,t=""]=e.split("#",2);(0,M.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,I.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),o=n.pathname,{pathname:i,query:s}=n,l=i,u=await this.pageLoader.getPageList(),c=t,d=void 0!==r.locale?r.locale||void 0:this.locale,f=await L({asPath:t,locale:d,router:this});n.pathname=k(n.pathname,u),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(s,(0,_.getRouteMatcher)((0,m.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),f||(e=(0,g.formatWithValidation)(n)));let P=await F({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:c,locale:d}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:d,router:this});if((null==P?void 0:P.effect.type)==="rewrite"&&(n.pathname=P.effect.resolvedHref,i=P.effect.resolvedHref,s={...s,...P.effect.parsedAs.query},c=P.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==P?void 0:P.effect.type)==="redirect-external")return;let b=(0,a.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(b).then(t=>!!t&&W({dataHref:(null==P?void 0:P.json)?null==P?void 0:P.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:d}),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"](b)])}async fetchComponent(e){let t=X({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=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,f.loadGetInitialProps)(r,{AppTree:n,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}constructor(e,t,r,{initialProps:n,pageLoader:o,App:i,wrapApp:s,Component:l,err:u,subscription:c,isFallback:d,locale:_,locales:m,defaultLocale:y,domainLocales:P,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,v.addBasePath)(e),query:t}),(0,f.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:o,as:a,options:i,key:s}=n;this._key=s;let{pathname:l}=(0,h.parseRelativeUrl)(o);(!this.isSsr||a!==(0,v.addBasePath)(this.asPath)||l!==(0,v.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",o,a,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let E=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[E]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=V.events,this.pageLoader=o;let S=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=s,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||!S&&!self.location.search),this.state={route:E,pathname:e,query:t,asPath:S?e:r,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:_},o=(0,f.getURL)();this._initialMatchesMiddlewarePromise=L({router:this,locale:_,asPath:o}).then(a=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",a?o:(0,g.formatWithValidation)({pathname:(0,v.addBasePath)(e),query:t}),o,n),a))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,d.default)()},2528:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(679),o=r(7459);function a(e,t,r,a){if(!t||t===r)return e;let i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(7070);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},5999:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});let n=r(7070);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+r+t+o+a}},3e3:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return i}});let n=r(9952),o=r(4565);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}},2085:(e,t)=>{"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},9574:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let o=r[n];if("query"===o){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let o=r[n];if(!t.query.hasOwnProperty(o)||e.query[o]!==t.query[o])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},5701:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(5608),o=r(679),a=r(5999),i=r(2528);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},8547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},formatWithValidation:function(){return s},urlObjectKeys:function(){return i}});let n=r(1757)._(r(1923)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+a+u+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return a(e)}},4967:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},8995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(5934),o=r(8668),a=r(7459);function i(e,t){var r,i;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,a.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,o.removePathPrefix)(c.pathname,s),c.basePath=s);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];c.buildId=r,d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,n.normalizeLocalePath)(d,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},1079:(e,t)=>{"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},1939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(2186),o=r(1979)},4574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(8272),o=r(1);function a(e,t,r){let a="",i=(0,o.getRouteRegex)(e),s=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],o="["+(r?"...":"")+e+"]";return n&&(o=(t?"":"/")+"["+o+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(o,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:u,result:a}}},1147:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}});let r=/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i;function n(e){return r.test(e)}},1979:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(6895),o=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},2712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(4350),o=r(1447);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},1576:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},7070:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},5909:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(4350),o=r(1923);function a(e,t,r){void 0===r&&(r=!0);let a=new URL((0,n.getLocationOrigin)()),i=t?new URL(t,a):e.startsWith(".")?new URL(window.location.href):a,{pathname:s,searchParams:l,search:u,hash:c,href:d,origin:f}=new URL(e,i);if(f!==a.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:s,query:r?(0,o.searchParamsToUrlQuery)(l):void 0,search:u,hash:c,href:d.slice(f.length)}}},7459:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(7070);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},1923:(e,t)=>{"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,o]=e;Array.isArray(o)?o.forEach(e=>t.append(r,n(e))):t.set(r,n(o))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},8668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});let n=r(7459);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},5608:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},8272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(4350);function o(e){let{re:t,groups:r}=e;return e=>{let o=t.exec(e);if(!o)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),i}}},1:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return _},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return d},parseParameter:function(){return l}});let n=r(2350),o=r(6895),a=r(491),i=r(5608),s=/\[((?:\[.*\])|.+)\]/;function l(e){let t=e.match(s);return t?u(t[1]):u(e)}function u(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}}function c(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(e=>{let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(s);if(t&&i){let{key:e,optional:o,repeat:s}=u(i[1]);return r[e]={pos:n++,repeat:s,optional:o},"/"+(0,a.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,a.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:o}=u(i[1]);return r[e]={pos:n++,repeat:t,optional:o},t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function d(e){let{parameterizedRoute:t,groups:r}=c(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function f(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:o,keyPrefix:i}=e,{key:s,optional:l,repeat:c}=u(n),d=s.replace(/\W/g,"");i&&(d=""+i+d);let f=!1;(0===d.length||d.length>30)&&(f=!0),isNaN(parseInt(d.slice(0,1)))||(f=!0),f&&(d=r()),i?o[d]=""+i+s:o[d]=s;let p=t?(0,a.escapeStringRegexp)(t):"";return c?l?"(?:/"+p+"(?<"+d+">.+?))?":"/"+p+"(?<"+d+">.+?)":"/"+p+"(?<"+d+">[^/]+?)"}function p(e,t){let r;let s=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=(r=0,()=>{let e="",t=++r;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),u={};return{namedParameterizedRoute:s.map(e=>{let r=o.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&i){let[r]=e.split(i[0]);return f({getSafeRouteKey:l,interceptionMarker:r,segment:i[1],routeKeys:u,keyPrefix:t?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0})}return i?f({getSafeRouteKey:l,segment:i[1],routeKeys:u,keyPrefix:t?n.NEXT_QUERY_PARAM_PREFIX:void 0}):"/"+(0,a.escapeStringRegexp)(e)}).join(""),routeKeys:u}}function h(e,t){let r=p(e,t);return{...d(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function _(e,t){let{parameterizedRoute:r}=c(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:o}=p(e,!1);return{namedRegex:"^"+o+(n?"(?:(/.*)?)":"")+"$"}}},2186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return o},getSortedRoutes:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(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 Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');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,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let r=o.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("…"))throw Error("Detected a three-dot character ('…') at ('"+r+"'). Did you mean ('...')?");if(r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,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 "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,o="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,o="[]"}}this.children.has(o)||this.children.set(o,new r),this.children.get(o)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}function o(e,t){let r={},o=[];for(let n=0;ne[r[t]])}},4723:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});let n=()=>r;function o(e){r=e}},4565:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}function n(e,t){if(e.includes(o)){let e=JSON.stringify(t);return"{}"!==e?o+"?"+e:o}return e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return o},addSearchParamsIfPageSegment:function(){return n},isGroupSegment:function(){return r}});let o="__PAGE__",a="__DEFAULT__"},8457:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(7294),o=n.useLayoutEffect,a=n.useEffect;function i(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},4350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return g},NormalizeError:function(){return _},PageNotFoundError:function(){return m},SP:function(){return f},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return s},isAbsoluteUrl:function(){return a},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return P}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;ao.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let f="undefined"!=typeof performance,p=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class _ extends Error{}class m extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},2723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},7663:e=>{!function(){var t={229:function(e){var t,r,n,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c1)for(var r=1;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return c},APP_DIR_ALIAS:function(){return C},CACHE_ONE_YEAR:function(){return S},DOT_NEXT_ALIAS:function(){return w},ESLINT_DEFAULT_DIRS:function(){return $},GSP_NO_RETURNED_VALUE:function(){return q},GSSP_COMPONENT_MEMBER_ERROR:function(){return z},GSSP_NO_RETURNED_VALUE:function(){return X},INFINITE_CACHE:function(){return R},INSTRUMENTATION_HOOK_FILENAME:function(){return T},MIDDLEWARE_FILENAME:function(){return O},MIDDLEWARE_LOCATION_REGEXP:function(){return j},NEXT_BODY_SUFFIX:function(){return p},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return v},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return m},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return g},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return _},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return E},NEXT_CACHE_TAGS_HEADER:function(){return h},NEXT_CACHE_TAG_MAX_ITEMS:function(){return P},NEXT_CACHE_TAG_MAX_LENGTH:function(){return b},NEXT_DATA_SUFFIX:function(){return d},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return n},NEXT_META_SUFFIX:function(){return f},NEXT_QUERY_PARAM_PREFIX:function(){return r},NEXT_RESUME_HEADER:function(){return y},NON_STANDARD_NODE_ENV:function(){return Y},PAGES_DIR_ALIAS:function(){return A},PRERENDER_REVALIDATE_HEADER:function(){return o},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return k},ROOT_DIR_ALIAS:function(){return I},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return U},RSC_ACTION_ENCRYPTION_ALIAS:function(){return D},RSC_ACTION_PROXY_ALIAS:function(){return N},RSC_ACTION_VALIDATE_ALIAS:function(){return M},RSC_CACHE_WRAPPER_ALIAS:function(){return L},RSC_MOD_REF_PROXY_ALIAS:function(){return x},RSC_PREFETCH_SUFFIX:function(){return i},RSC_SEGMENTS_DIR_SUFFIX:function(){return s},RSC_SEGMENT_SUFFIX:function(){return l},RSC_SUFFIX:function(){return u},SERVER_PROPS_EXPORT_ERROR:function(){return G},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return B},SERVER_PROPS_SSG_CONFLICT:function(){return H},SERVER_RUNTIME:function(){return Q},SSG_FALLBACK_EXPORT_ERROR:function(){return K},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return F},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return W},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return V},WEBPACK_LAYERS:function(){return Z},WEBPACK_RESOURCE_QUERIES:function(){return ee}});let r="nxtP",n="nxtI",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",i=".prefetch.rsc",s=".segments",l=".segment.rsc",u=".rsc",c=".action",d=".json",f=".meta",p=".body",h="x-next-cache-tags",_="x-next-cache-soft-tags",m="x-next-revalidated-tags",g="x-next-revalidate-tag-token",y="next-resume",P=64,b=256,E=1024,v="_N_T_",S=31536e3,R=0xfffffffe,O="middleware",j=`(?:src/)?${O}`,T="instrumentation",A="private-next-pages",w="private-dot-next",I="private-next-root-dir",C="private-next-app-dir",x="private-next-rsc-mod-ref-proxy",M="private-next-rsc-action-validate",N="private-next-rsc-server-reference",L="private-next-rsc-cache-wrapper",D="private-next-rsc-action-encryption",U="private-next-rsc-action-client-wrapper",k="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",F="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",B="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",H="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",W="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",G="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",q="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",X="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",V="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",z="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Y='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',K="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",$=["app","pages","components","lib","src"],Q={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},J={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route"},Z={...J,GROUP:{builtinReact:[J.reactServerComponents,J.actionBrowser,J.appMetadataRoute],serverOnly:[J.reactServerComponents,J.actionBrowser,J.appMetadataRoute,J.instrument,J.middleware],neutralTarget:[J.api],clientOnly:[J.serverSideRendering,J.appPagesBrowser],bundled:[J.reactServerComponents,J.actionBrowser,J.appMetadataRoute,J.serverSideRendering,J.appPagesBrowser,J.shared,J.instrument],appPages:[J.reactServerComponents,J.serverSideRendering,J.appPagesBrowser,J.actionBrowser]}},ee={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},9423:(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}})},676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(1728);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},9492:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HMR_ACTIONS_SENT_TO_BROWSER",{enumerable:!0,get:function(){return r}}),function(e){e.ADDED_PAGE="addedPage",e.REMOVED_PAGE="removedPage",e.RELOAD_PAGE="reloadPage",e.SERVER_COMPONENT_CHANGES="serverComponentChanges",e.MIDDLEWARE_CHANGES="middlewareChanges",e.CLIENT_CHANGES="clientChanges",e.SERVER_ONLY_CHANGES="serverOnlyChanges",e.SYNC="sync",e.BUILT="built",e.BUILDING="building",e.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",e.TURBOPACK_MESSAGE="turbopack-message",e.SERVER_ERROR="serverError",e.TURBOPACK_CONNECTED="turbopack-connected",e.APP_ISR_MANIFEST="appIsrManifest"}(r||(r={}))},6895:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return a}});let n=r(3e3),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function i(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let i=t.split("/");if(i.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=i.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},2431:()=>{},8754:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},1757:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(o,i,s):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:()=>o})}},e=>{var t=t=>e(e.s=t);e.O(0,[774],()=>t(5178)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/main-app-23287adfdcb27103.js b/_next/static/chunks/main-app-23287adfdcb27103.js deleted file mode 100644 index 73b93c8..0000000 --- a/_next/static/chunks/main-app-23287adfdcb27103.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{5469:(e,s,n)=>{Promise.resolve().then(n.t.bind(n,6513,23)),Promise.resolve().then(n.t.bind(n,3726,23)),Promise.resolve().then(n.t.bind(n,6130,23)),Promise.resolve().then(n.t.bind(n,9275,23)),Promise.resolve().then(n.t.bind(n,5324,23)),Promise.resolve().then(n.t.bind(n,1343,23)),Promise.resolve().then(n.t.bind(n,3120,23))}},e=>{var s=s=>e(e.s=s);e.O(0,[130,215],()=>(s(1028),s(5469))),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/main-app-4004a24a3993f4ca.js b/_next/static/chunks/main-app-4004a24a3993f4ca.js new file mode 100644 index 0000000..d47106a --- /dev/null +++ b/_next/static/chunks/main-app-4004a24a3993f4ca.js @@ -0,0 +1,2 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{3414:(e,t)=>{"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},7108:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},357:(e,t,r)=>{"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(8081)},4897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});let n=r(2707),o=r(8157);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(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)},5684:(e,t)=>{"use strict";function r(e){var t,r;t=self.__next_s,r=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[r,n]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(n)for(let e in n)"children"!==e&&o.setAttribute(e,n[e]);r?(o.src=r,o.onload=()=>e(),o.onerror=t):n&&(o.innerHTML=n.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return r}}),window.next={version:"15.0.1",appDir:!0},("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)},4590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{callServer:function(){return l},useServerActionDispatcher:function(){return u}});let n=r(2265),o=r(1507),a=null;function u(e){a=(0,n.useCallback)(t=>{(0,n.startTransition)(()=>{e({...t,type:o.ACTION_SERVER_ACTION})})},[e])}async function l(e,t){let r=a;if(!r)throw Error("Invariant: missing action dispatcher.");return new Promise((n,o)=>{r({actionId:e,actionArgs:t,resolve:n,reject:o})})}("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)},6705:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findSourceMapURL",{enumerable:!0,get:function(){return r}});let r=void 0;("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)},353:(e,t,r)=>{"use strict";let n,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let a=r(9920),u=r(1452),l=r(7437);r(7108),r(174),r(8025);let i=a._(r(4040)),s=u._(r(2265)),c=r(6671),f=r(6590),d=r(6124),p=r(4590),h=r(6705),y=r(1427),g=a._(r(5751)),_=r(322);r(4467);let b=document,v=new TextEncoder,m=!1,E=!1,P=null;function R(e){if(0===e[0])n=[];else if(1===e[0]){if(!n)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(v.encode(e[1])):n.push(e[1])}else if(2===e[0])P=e[1];else if(3===e[0]){if(!n)throw Error("Unexpected server data: missing bootstrap script.");let r=atob(e[1]),a=new Uint8Array(r.length);for(var t=0;t{t.enqueue("string"==typeof e?v.encode(e):e)}),m&&!E)&&(null===t.desiredSize||t.desiredSize<0?t.error(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection.")):t.close(),E=!0,n=void 0),o=t}}),w=(0,c.createFromReadableStream)(S,{callServer:p.callServer,findSourceMapURL:h.findSourceMapURL}),T=new Promise((e,t)=>{w.then(t=>{e((0,y.createMutableActionQueue)((0,_.createInitialRouterState)({buildId:t.b,initialFlightData:t.f,initialCanonicalUrlParts:t.c,initialParallelRoutes:new Map,location:window.location,couldBeIntercepted:t.i,postponed:t.s,prerendered:t.S})))},e=>t(e))});function M(){let e=(0,s.use)(w),t=(0,s.use)(T);return(0,l.jsx)(g.default,{actionQueue:t,globalErrorComponent:e.G,assetPrefix:e.p})}let x=s.default.StrictMode;function A(e){let{children:t}=e;return t}function C(){let e=(0,l.jsx)(x,{children:(0,l.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,l.jsx)(A,{children:(0,l.jsx)(M,{})})})}),t=window.__next_root_layout_missing_tags,r=!!(null==t?void 0:t.length),n={onRecoverableError:d.onRecoverableError};"__next_error__"===document.documentElement.id||r?i.default.createRoot(b,n).render(e):s.default.startTransition(()=>i.default.hydrateRoot(b,e,{...n,formState:P}))}("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)},1028:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5820),(0,r(5684).appBootstrap)(()=>{let{hydrate:e}=r(353);r(5751),r(9275),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)},5820:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(3414);let n=r(5759);{let e=r.u;r.u=function(){for(var t=arguments.length,r=Array(t),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppRouterAnnouncer",{enumerable:!0,get:function(){return u}});let n=r(2265),o=r(4887),a="next-route-announcer";function u(e){let{tree:t}=e,[r,u]=(0,n.useState)(null);(0,n.useEffect)(()=>(u(function(){var e;let t=document.getElementsByName(a)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(a);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(a)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[l,i]=(0,n.useState)(""),s=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==s.current&&s.current!==e&&i(e),s.current=e},[t]),r?(0,o.createPortal)(l,r):null}("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)},7325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_HEADER:function(){return n},FLIGHT_HEADERS:function(){return c},NEXT_DID_POSTPONE_HEADER:function(){return p},NEXT_HMR_REFRESH_HEADER:function(){return l},NEXT_IS_PRERENDER_HEADER:function(){return h},NEXT_ROUTER_PREFETCH_HEADER:function(){return a},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return u},NEXT_ROUTER_STALE_TIME_HEADER:function(){return d},NEXT_ROUTER_STATE_TREE_HEADER:function(){return o},NEXT_RSC_UNION_QUERY:function(){return f},NEXT_URL:function(){return i},RSC_CONTENT_TYPE_HEADER:function(){return s},RSC_HEADER:function(){return r}});let r="RSC",n="Next-Action",o="Next-Router-State-Tree",a="Next-Router-Prefetch",u="Next-Router-Segment-Prefetch",l="Next-HMR-Refresh",i="Next-Url",s="text/x-component",c=[r,o,a,l,u],f="_rsc",d="x-nextjs-stale-time",p="x-nextjs-postponed",h="x-nextjs-prerender";("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)},5751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createEmptyCacheNode:function(){return w},default:function(){return A}});let n=r(1452),o=r(7437),a=n._(r(2265)),u=r(4467),l=r(1507),i=r(3174),s=r(8056),c=r(7903),f=r(6130),d=r(4092),p=r(4897),h=r(1012),y=r(6585),g=r(315),_=r(1108),b=r(7599),v=r(9404),m=r(6626),E=r(8694),P=r(4590),R=r(7909),O={};function j(e){return e.origin!==window.location.origin}function S(e){let{appRouterState:t}=e;return(0,a.useInsertionEffect)(()=>{let{tree:e,pushRef:r,canonicalUrl:n}=t,o={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};r.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==n?(r.pendingPush=!1,window.history.pushState(o,"",n)):window.history.replaceState(o,"",n)},[t]),null}function w(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null}}function T(e){null==e&&(e={});let t=window.history.state,r=null==t?void 0:t.__NA;r&&(e.__NA=r);let n=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function M(e){let{headCacheNode:t}=e,r=null!==t?t.head:null,n=null!==t?t.prefetchHead:null,o=null!==n?n:r;return(0,a.useDeferredValue)(r,o)}function x(e){let t,{actionQueue:r,assetPrefix:n}=e,[i,f]=(0,c.useReducer)(r),{canonicalUrl:E}=(0,c.useUnwrapState)(i),{searchParams:w,pathname:x}=(0,a.useMemo)(()=>{let e=new URL(E,"undefined"==typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,v.hasBasePath)(e.pathname)?(0,b.removeBasePath)(e.pathname):e.pathname}},[E]),A=(0,a.useCallback)(e=>{let{previousTree:t,serverResponse:r}=e;(0,a.startTransition)(()=>{f({type:l.ACTION_SERVER_PATCH,previousTree:t,serverResponse:r})})},[f]),C=(0,a.useCallback)((e,t,r)=>{let n=new URL((0,p.addBasePath)(e),location.href);return f({type:l.ACTION_NAVIGATE,url:n,isExternalUrl:j(n),locationSearch:location.search,shouldScroll:null==r||r,navigateType:t,allowAliasing:!0})},[f]);(0,P.useServerActionDispatcher)(f);let N=(0,a.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let r;if(!(0,d.isBot)(window.navigator.userAgent)){try{r=new URL((0,p.addBasePath)(e),window.location.href)}catch(t){throw Error("Cannot prefetch '"+e+"' because it cannot be converted to a URL.")}j(r)||(0,a.startTransition)(()=>{var e;f({type:l.ACTION_PREFETCH,url:r,kind:null!=(e=null==t?void 0:t.kind)?e:l.PrefetchKind.FULL})})}},replace:(e,t)=>{void 0===t&&(t={}),(0,a.startTransition)(()=>{var r;C(e,"replace",null==(r=t.scroll)||r)})},push:(e,t)=>{void 0===t&&(t={}),(0,a.startTransition)(()=>{var r;C(e,"push",null==(r=t.scroll)||r)})},refresh:()=>{(0,a.startTransition)(()=>{f({type:l.ACTION_REFRESH,origin:window.location.origin})})},hmrRefresh:()=>{throw Error("hmrRefresh can only be used in development mode. Please use refresh instead.")}}),[f,C]);(0,a.useEffect)(()=>{window.next&&(window.next.router=N)},[N]),(0,a.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(O.pendingMpaPath=void 0,f({type:l.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[f]),(0,a.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,R.isRedirectError)(t)){e.preventDefault();let r=(0,R.getURLFromRedirectError)(t);(0,R.getRedirectTypeFromError)(t)===R.RedirectType.push?N.push(r,{}):N.replace(r,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[N]);let{pushRef:k}=(0,c.useUnwrapState)(i);if(k.mpaNavigation){if(O.pendingMpaPath!==E){let e=window.location;k.pendingPush?e.assign(E):e.replace(E),O.pendingMpaPath=E}(0,a.use)(_.unresolvedThenable)}(0,a.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{var t;let r=window.location.href,n=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,a.startTransition)(()=>{f({type:l.ACTION_RESTORE,url:new URL(null!=e?e:r,r),tree:n})})};window.history.pushState=function(t,n,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=T(t),o&&r(o)),e(t,n,o)},window.history.replaceState=function(e,n,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=T(e),o&&r(o)),t(e,n,o)};let n=e=>{if(e.state){if(!e.state.__NA){window.location.reload();return}(0,a.startTransition)(()=>{f({type:l.ACTION_RESTORE,url:new URL(window.location.href),tree:e.state.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[f]);let{cache:U,tree:I,nextUrl:L,focusAndScrollRef:F,buildId:H}=(0,c.useUnwrapState)(i),$=(0,a.useMemo)(()=>(0,g.findHeadInCache)(U,I[1]),[U,I]),B=(0,a.useMemo)(()=>(0,m.getSelectedParams)(I),[I]),W=(0,a.useMemo)(()=>({childNodes:U.parallelRoutes,tree:I,url:E,loading:U.loading}),[U.parallelRoutes,I,E,U.loading]),G=(0,a.useMemo)(()=>({buildId:H,changeByServerResponse:A,tree:I,focusAndScrollRef:F,nextUrl:L}),[H,A,I,F,L]);if(null!==$){let[e,r]=$;t=(0,o.jsx)(M,{headCacheNode:e},r)}else t=null;let K=(0,o.jsxs)(y.RedirectBoundary,{children:[t,U.rsc,(0,o.jsx)(h.AppRouterAnnouncer,{tree:I})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(S,{appRouterState:(0,c.useUnwrapState)(i)}),(0,o.jsx)(D,{}),(0,o.jsx)(s.PathParamsContext.Provider,{value:B,children:(0,o.jsx)(s.PathnameContext.Provider,{value:x,children:(0,o.jsx)(s.SearchParamsContext.Provider,{value:w,children:(0,o.jsx)(u.GlobalLayoutRouterContext.Provider,{value:G,children:(0,o.jsx)(u.AppRouterContext.Provider,{value:N,children:(0,o.jsx)(u.LayoutRouterContext.Provider,{value:W,children:K})})})})})})]})}function A(e){let{actionQueue:t,globalErrorComponent:r,assetPrefix:n}=e;return(0,E.useNavFailureHandler)(),(0,o.jsx)(f.ErrorBoundary,{errorComponent:r,children:(0,o.jsx)(x,{actionQueue:t,assetPrefix:n})})}let C=new Set,N=new Set;function D(){let[,e]=a.default.useState(0),t=C.size;return(0,a.useEffect)(()=>{let r=()=>e(e=>e+1);return N.add(r),t!==C.size&&r(),()=>{N.delete(r)}},[t,e]),[...C].map((e,t)=>(0,o.jsx)("link",{rel:"stylesheet",href:""+e,precedence:"next"},t))}globalThis._N_E_STYLE_LOAD=function(e){let t=C.size;return C.add(e),C.size!==t&&N.forEach(e=>e()),Promise.resolve()},("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)},4804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bailoutToClientRendering",{enumerable:!0,get:function(){return a}});let n=r(5592),o=r(8011);function a(e){let t=o.workAsyncStorage.getStore();if((null==t||!t.forceStatic)&&(null==t?void 0:t.isStaticGeneration))throw new n.BailoutToCSRError(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)},6130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return f},GlobalError:function(){return d},default:function(){return p}});let n=r(9920),o=r(7437),a=n._(r(2265)),u=r(1370),l=r(2128);r(8694);let i=r(8011),s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function c(e){let{error:t}=e,r=i.workAsyncStorage.getStore();if((null==r?void 0:r.isRevalidate)||(null==r?void 0:r.isStaticGeneration))throw console.error(t),t;return null}class f extends a.default.Component{static getDerivedStateFromError(e){if((0,l.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function d(e){let{error:t}=e,r=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(c,{error:t}),(0,o.jsx)("div",{style:s.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:s.text,children:"Application error: a "+(r?"server":"client")+"-side exception has occurred (see the "+(r?"server logs":"browser console")+" for more information)."}),r?(0,o.jsx)("p",{style:s.text,children:"Digest: "+r}):null]})})]})]})}let p=d;function h(e){let{errorComponent:t,errorStyles:r,errorScripts:n,children:a}=e,l=(0,u.useUntrackedPathname)();return t?(0,o.jsx)(f,{pathname:l,errorComponent:t,errorStyles:r,errorScripts:n,children:a}):(0,o.jsx)(o.Fragment,{children: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)},8025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,r(215).handleGlobalErrors)(),("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)},6780:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"patchConsoleError",{enumerable:!0,get:function(){return a}}),r(5878);let n=r(2128);r(215);let o=window.console.error;function a(){"undefined"!=typeof window&&(window.console.error=function(){let e;for(var t=arguments.length,r=Array(t),a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,r(6780).patchConsoleError)(),("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)},7910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return o}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("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)},2894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getDefaultHydrationErrorMessage:function(){return i},getHydrationErrorStackInfo:function(){return f},isHydrationError:function(){return s},isReactHydrationErrorMessage:function(){return c}});let n=r(9920)._(r(5878)),o=/hydration failed|while hydrating|content does not match|did not match|HTML didn't match/i,a="Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used",u=[a,"A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:"],l="https://react.dev/link/hydration-mismatch",i=()=>a;function s(e){return(0,n.default)(e)&&o.test(e.message)}function c(e){return u.some(t=>e.startsWith(t))}function f(e){if(!c(e=e.replace(/^Error: /,"")))return{message:null};let t=e.indexOf("\n"),[r,n]=(e=e.slice(t+1).trim()).split(""+l),o=r.trim();if(!n||!(n.length>1))return{message:o,link:l,stack:n};{let e=[],t=[];return n.split("\n").forEach(r=>{""!==r.trim()&&(r.trim().startsWith("at ")?e.push(r):t.push(r))}),{message:o,link:l,diff:t.join("\n"),stack:e.join("\n")}}}("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)},2128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return a}});let n=r(2496),o=r(7909);function a(e){return(0,o.isRedirectError)(e)||(0,n.isNotFoundError)(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)},9275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let n=r(9920),o=r(1452),a=r(7437),u=o._(r(2265)),l=n._(r(4887)),i=r(4467),s=r(1283),c=r(1108),f=r(6130),d=r(6237),p=r(6180),h=r(6585),y=r(5324),g=r(4640),_=r(1784),b=r(5914),v=l.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,m=["bottom","height","left","right","top","width","x","y"];function E(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class P extends u.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,d.matchSegment)(t,e[r]))))return;let r=null,n=e.hashFragment;if(n&&(r=function(e){var t;return"top"===e?document.body:null!=(t=document.getElementById(e))?t:document.getElementsByName(e)[0]}(n)),!r&&(r="undefined"==typeof window?null:(0,v.findDOMNode)(this)),!(r instanceof Element))return;for(;!(r instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return m.every(e=>0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,p.handleSmoothScroll)(()=>{if(n){r.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!E(r,t)&&(e.scrollTop=0,E(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function R(e){let{segmentPath:t,children:r}=e,n=(0,u.useContext)(i.GlobalLayoutRouterContext);if(!n)throw Error("invariant global layout router not mounted");return(0,a.jsx)(P,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef,children:r})}function O(e){let{parallelRouterKey:t,url:r,childNodes:n,segmentPath:o,tree:l,cacheKey:f}=e,p=(0,u.useContext)(i.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:y,tree:g}=p,_=n.get(f);if(void 0===_){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null};_=e,n.set(f,e)}let v=null!==_.prefetchRsc?_.prefetchRsc:_.rsc,m=(0,u.useDeferredValue)(_.rsc,v),E="object"==typeof m&&null!==m&&"function"==typeof m.then?(0,u.use)(m):m;if(!E){let e=_.lazyData;if(null===e){let t=function e(t,r){if(t){let[n,o]=t,a=2===t.length;if((0,d.matchSegment)(r[0],n)&&r[1].hasOwnProperty(o)){if(a){let t=e(void 0,r[1][o]);return[r[0],{...r[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[o]:e(t.slice(2),r[1][o])}]}}return r}(["",...o],g),n=(0,b.hasInterceptionRouteInCurrentTree)(g);_.lazyData=e=(0,s.fetchServerResponse)(new URL(r,location.origin),{flightRouterState:t,nextUrl:n?p.nextUrl:null,buildId:h}).then(e=>((0,u.startTransition)(()=>{y({previousTree:g,serverResponse:e})}),e))}(0,u.use)(c.unresolvedThenable)}return(0,a.jsx)(i.LayoutRouterContext.Provider,{value:{tree:l[1][t],childNodes:_.parallelRoutes,url:r,loading:_.loading},children:E})}function j(e){let{children:t,hasLoading:r,loading:n,loadingStyles:o,loadingScripts:l}=e;return r?(0,a.jsx)(u.Suspense,{fallback:(0,a.jsxs)(a.Fragment,{children:[o,l,n]}),children:t}):(0,a.jsx)(a.Fragment,{children:t})}function S(e){let{parallelRouterKey:t,segmentPath:r,error:n,errorStyles:o,errorScripts:l,templateStyles:s,templateScripts:c,template:d,notFound:p,notFoundStyles:b}=e,v=(0,u.useContext)(i.LayoutRouterContext);if(!v)throw Error("invariant expected layout router to be mounted");let{childNodes:m,tree:E,url:P,loading:S}=v,w=m.get(t);w||(w=new Map,m.set(t,w));let T=E[1][t][0],M=(0,g.getSegmentValue)(T),x=[T];return(0,a.jsx)(a.Fragment,{children:x.map(e=>{let u=(0,g.getSegmentValue)(e),v=(0,_.createRouterCacheKey)(e);return(0,a.jsxs)(i.TemplateContext.Provider,{value:(0,a.jsx)(R,{segmentPath:r,children:(0,a.jsx)(f.ErrorBoundary,{errorComponent:n,errorStyles:o,errorScripts:l,children:(0,a.jsx)(j,{hasLoading:!!S,loading:null==S?void 0:S[0],loadingStyles:null==S?void 0:S[1],loadingScripts:null==S?void 0:S[2],children:(0,a.jsx)(y.NotFoundBoundary,{notFound:p,notFoundStyles:b,children:(0,a.jsx)(h.RedirectBoundary,{children:(0,a.jsx)(O,{parallelRouterKey:t,url:P,tree:E,childNodes:w,segmentPath:r,cacheKey:v,isActive:M===u})})})})})}),children:[s,c,d]},(0,_.createRouterCacheKey)(e,!0))})})}("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)},6237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{canSegmentBeOverridden:function(){return a},matchSegment:function(){return o}});let n=r(4286),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],a=(e,t)=>{var r;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(r=(0,n.getSegmentParam)(e))?void 0:r.param)===t[0]};("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)},8694:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleHardNavError:function(){return o},useNavFailureHandler:function(){return a}}),r(2265);let n=r(3174);function o(e){return!!e&&"undefined"!=typeof window&&!!window.next.__pendingUrl&&(0,n.createHrefFromUrl)(new URL(window.location.href))!==(0,n.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function 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)},1370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useUntrackedPathname",{enumerable:!0,get:function(){return a}});let n=r(2265),o=r(8056);function a(){return!function(){if("undefined"==typeof window){let{workAsyncStorage:e}=r(8011),t=e.getStore();if(!t)return!1;let{fallbackRouteParams:n}=t;return!!n&&0!==n.size}return!1}()?(0,n.useContext)(o.PathnameContext):null}("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)},1169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},unstable_rethrow:function(){return i.unstable_rethrow},useParams:function(){return h},usePathname:function(){return d},useRouter:function(){return p},useSearchParams:function(){return f},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return y},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(2265),o=r(4467),a=r(8056),u=r(4640),l=r(0),i=r(2152),s=r(2441),c=r(8005);function f(){let e=(0,n.useContext)(a.SearchParamsContext),t=(0,n.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e]);if("undefined"==typeof window){let{bailoutToClientRendering:e}=r(4804);e("useSearchParams()")}return t}function d(){return(0,s.useDynamicRouteParams)("usePathname()"),(0,n.useContext)(a.PathnameContext)}function p(){let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function h(){return(0,s.useDynamicRouteParams)("useParams()"),(0,n.useContext)(a.PathParamsContext)}function y(e){void 0===e&&(e="children"),(0,s.useDynamicRouteParams)("useSelectedLayoutSegments()");let t=(0,n.useContext)(o.LayoutRouterContext);return t?function e(t,r,n,o){let a;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)a=t[1][r];else{var i;let e=t[1];a=null!=(i=e.children)?i:Object.values(e)[0]}if(!a)return o;let s=a[0],c=(0,u.getSegmentValue)(s);return!c||c.startsWith(l.PAGE_SEGMENT_KEY)?o:(o.push(c),e(a,r,!1,o))}(t.tree,e):null}function g(e){void 0===e&&(e="children"),(0,s.useDynamicRouteParams)("useSelectedLayoutSegment()");let t=y(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===l.DEFAULT_SEGMENT_KEY?null:r}("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)},2152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l},RedirectType:function(){return n.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unstable_rethrow:function(){return a.unstable_rethrow}});let n=r(7909),o=r(2496),a=r(997);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class l extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}("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)},5324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return c}});let n=r(1452),o=r(7437),a=n._(r(2265)),u=r(1370),l=r(2496);r(2301);let i=r(4467);class s extends a.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,l.isNotFoundError)(e))return{notFoundTriggered:!0};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.notFoundTriggered?{notFoundTriggered:!1,previousPathname:e.pathname}:{notFoundTriggered:t.notFoundTriggered,previousPathname:e.pathname}}render(){return this.state.notFoundTriggered?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,this.props.notFoundStyles,this.props.notFound]}):this.props.children}constructor(e){super(e),this.state={notFoundTriggered:!!e.asNotFound,previousPathname:e.pathname}}}function c(e){let{notFound:t,notFoundStyles:r,asNotFound:n,children:l}=e,c=(0,u.useUntrackedPathname)(),f=(0,a.useContext)(i.MissingSlotContext);return t?(0,o.jsx)(s,{pathname:c,notFound:t,notFoundStyles:r,asNotFound:n,missingSlots:f,children:l}):(0,o.jsx)(o.Fragment,{children:l})}("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)},2496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return o},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("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)},3858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return s}});let n=r(3449),o=r(7614);var a=o._("_maxConcurrency"),u=o._("_runningCount"),l=o._("_queue"),i=o._("_processNext");class s{enqueue(e){let t,r;let o=new Promise((e,n)=>{t=e,r=n}),a=async()=>{try{n._(this,u)[u]++;let r=await e();t(r)}catch(e){r(e)}finally{n._(this,u)[u]--,n._(this,i)[i]()}};return n._(this,l)[l].push({promiseFn:o,task:a}),n._(this,i)[i](),o}bump(e){let t=n._(this,l)[l].findIndex(t=>t.promiseFn===e);if(t>-1){let e=n._(this,l)[l].splice(t,1)[0];n._(this,l)[l].unshift(e),n._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:c}),Object.defineProperty(this,a,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),n._(this,a)[a]=e,n._(this,u)[u]=0,n._(this,l)[l]=[]}}function c(e){if(void 0===e&&(e=!1),(n._(this,u)[u]0){var t;null==(t=n._(this,l)[l].shift())||t.task()}}("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)},7874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"attachHydrationErrorState",{enumerable:!0,get:function(){return a}});let n=r(2894),o=r(8729);function a(e){if((0,n.isHydrationError)(e)&&!e.message.includes("https://nextjs.org/docs/messages/react-hydration-error")){let t=(0,o.getReactHydrationDiffSegments)(e.message),r={};t?r={...e.details,...o.hydrationErrorState,warning:o.hydrationErrorState.warning||[(0,n.getDefaultHydrationErrorMessage)()],notes:t[0],reactOutputComponentDiff:t[1]}:o.hydrationErrorState.warning&&(r={...e.details,...o.hydrationErrorState}),e.details=r}}("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)},404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConsoleError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e){super(e),this.name="ConsoleError"}}("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)},2072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"enqueueConsecutiveDedupedError",{enumerable:!0,get:function(){return o}});let n=r(2894);function o(e,t){let r=(0,n.isHydrationError)(t),o=r?e[0]:e[e.length-1];o&&o.message===t.message||(r?e.unshift(t):e.push(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)},8729:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getHydrationWarningType:function(){return l},getReactHydrationDiffSegments:function(){return d},hydrationErrorState:function(){return o},storeHydrationErrorStateFromConsoleArgs:function(){return p}});let n=r(2894),o={},a=new Set(["Warning: In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s","Warning: In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s","Warning: In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.","Warning: In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.","Warning: Expected server HTML to contain a matching <%s> in <%s>.%s","Warning: Did not expect server HTML to contain a <%s> in <%s>.%s"]),u=new Set(['Warning: Expected server HTML to contain a matching text node for "%s" in <%s>.%s','Warning: Did not expect server HTML to contain the text node "%s" in <%s>.%s']),l=e=>{if("string"!=typeof e)return"text";let t=e.startsWith("Warning: ")?e:"Warning: "+e;return i(t)?"tag":c(t)?"text-in-tag":"text"},i=e=>a.has(e),s=e=>'Warning: Text content did not match. Server: "%s" Client: "%s"%s'===e,c=e=>u.has(e),f=e=>{if("string"!=typeof e)return!1;let t=e.startsWith("Warning: ")?e:"Warning: "+e;return i(t)||c(t)||s(t)},d=e=>{if(e){let{message:t,diff:r}=(0,n.getHydrationErrorStackInfo)(e);if(t)return[t,r]}};function p(){for(var e=arguments.length,t=Array(e),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleClientError:function(){return g},handleGlobalErrors:function(){return b},useErrorHandler:function(){return _}});let n=r(9920),o=r(2265),a=r(7874),u=r(2128),l=r(8729),i=r(8956),s=n._(r(5878)),c=r(404),f=r(2072),d=[],p=[],h=[],y=[];function g(e,t){let r;if(e&&(0,s.default)(e))r=e;else{let e=(0,i.formatConsoleArgs)(t);r=new c.ConsoleError(e)}for(let e of((0,l.storeHydrationErrorStateFromConsoleArgs)(...t),(0,a.attachHydrationErrorState)(r),(0,f.enqueueConsecutiveDedupedError)(d,r),p))e(r)}function _(e,t){(0,o.useEffect)(()=>(d.forEach(e),h.forEach(t),p.push(e),y.push(t),()=>{p.splice(p.indexOf(e),1),y.splice(y.indexOf(t),1)}),[e,t])}function b(){if("undefined"!=typeof window){try{Error.stackTraceLimit=50}catch(e){}window.addEventListener("error",e=>{if((0,u.isNextRouterError)(e.error))return e.preventDefault(),!1;g(e.error,[])}),window.addEventListener("unhandledrejection",e=>{let t=null==e?void 0:e.reason;if((0,u.isNextRouterError)(t)){e.preventDefault();return}if(t&&t instanceof Error&&"string"==typeof t.stack)for(let e of(h.push(t),y))e(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)},6585:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectBoundary:function(){return c},RedirectErrorBoundary:function(){return s}});let n=r(1452),o=r(7437),a=n._(r(2265)),u=r(1169),l=r(7909);function i(e){let{redirect:t,reset:r,redirectType:n}=e,o=(0,u.useRouter)();return(0,a.useEffect)(()=>{a.default.startTransition(()=>{n===l.RedirectType.push?o.push(t,{}):o.replace(t,{}),r()})},[t,n,r,o]),null}class s extends a.default.Component{static getDerivedStateFromError(e){if((0,l.isRedirectError)(e))return{redirect:(0,l.getURLFromRedirectError)(e),redirectType:(0,l.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(i,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function c(e){let{children:t}=e,r=(0,u.useRouter)();return(0,o.jsx)(s,{router:r,children: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)},4785:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),function(e){e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect"}(r||(r={})),("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)},7909:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},isRedirectError:function(){return c},permanentRedirect:function(){return s},redirect:function(){return i}});let o=r(5502),a=r(4785),u="NEXT_REDIRECT";function l(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let n=Error(u);return n.digest=u+";"+t+";"+e+";"+r+";",n}function i(e,t){let r=o.actionAsyncStorage.getStore();throw l(e,t||((null==r?void 0:r.isAction)?"push":"replace"),a.RedirectStatusCode.TemporaryRedirect)}function s(e,t){throw void 0===t&&(t="replace"),l(e,t,a.RedirectStatusCode.PermanentRedirect)}function c(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,o=t.slice(2,-2).join(";"),l=Number(t.at(-2));return r===u&&("replace"===n||"push"===n)&&"string"==typeof o&&!isNaN(l)&&l in a.RedirectStatusCode}function f(e){return c(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!c(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function p(e){if(!c(e))throw Error("Not a redirect error");return Number(e.digest.split(";").at(-2))}!function(e){e.push="push",e.replace="replace"}(n||(n={})),("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)},9596:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addSearchParamsToPageSegments:function(){return f},handleAliasedPrefetchEntry:function(){return c}});let n=r(0),o=r(5751),a=r(9684),u=r(3174),l=r(1784),i=r(1133),s=r(6416);function c(e,t,r,c){let d,p=e.tree,h=e.cache,y=(0,u.createHrefFromUrl)(r);for(let e of t){if(!function e(t){if(!t)return!1;let r=t[2];if(t[3])return!0;for(let t in r)if(e(r[t]))return!0;return!1}(e.seedData))continue;let t=e.tree;t=f(t,Object.fromEntries(r.searchParams));let{seedData:u,isRootRender:s,pathToSegment:c}=e,g=["",...c];t=f(t,Object.fromEntries(r.searchParams));let _=(0,a.applyRouterStatePatchToTree)(g,p,t,y),b=(0,o.createEmptyCacheNode)();if(s&&u){let e=u[1],r=u[3];b.loading=r,b.rsc=e,function e(t,r,o,a){if(0!==Object.keys(o[1]).length)for(let u in o[1]){let i;let s=o[1][u],c=s[0],f=(0,l.createRouterCacheKey)(c),d=null!==a&&void 0!==a[2][u]?a[2][u]:null;if(null!==d){let e=d[1],t=d[3];i={lazyData:null,rsc:c.includes(n.PAGE_SEGMENT_KEY)?null:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:t}}else i={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null};let p=t.parallelRoutes.get(u);p?p.set(f,i):t.parallelRoutes.set(u,new Map([[f,i]])),e(i,r,s,d)}}(b,h,t,u)}else b.rsc=h.rsc,b.prefetchRsc=h.prefetchRsc,b.loading=h.loading,b.parallelRoutes=new Map(h.parallelRoutes),(0,i.fillCacheWithNewSubTreeDataButOnlyLoading)(b,h,e);_&&(p=_,h=b,d=!0)}return!!d&&(c.patchedTree=p,c.cache=h,c.canonicalUrl=y,c.hashFragment=r.hash,(0,s.handleMutable)(e,c))}function f(e,t){let[r,o,...a]=e;if(r.includes(n.PAGE_SEGMENT_KEY))return[(0,n.addSearchParamsIfPageSegment)(r,t),o,...a];let u={};for(let[e,r]of Object.entries(o))u[e]=f(r,t);return[r,u,...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)},9607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return a}});let n=r(3821),o=r(1133);function a(e,t,r,a){let{tree:u,seedData:l,head:i,isRootRender:s}=r;if(null===l)return!1;if(s){let r=l[1],o=l[3];t.loading=o,t.rsc=r,t.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(t,e,u,l,i,a)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,o.fillCacheWithNewSubTreeData)(t,e,r,a);return!0}("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)},9684:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,r,n,i){let s;let[c,f,d,p,h]=r;if(1===t.length){let e=l(r,n);return(0,u.addRefreshMarkerToActiveParallelSegments)(e,i),e}let[y,g]=t;if(!(0,a.matchSegment)(y,c))return null;if(2===t.length)s=l(f[g],n);else if(null===(s=e((0,o.getNextFlightSegmentPath)(t),f[g],n,i)))return null;let _=[t[0],{...f,[g]:s},d,p];return h&&(_[4]=!0),(0,u.addRefreshMarkerToActiveParallelSegments)(_,i),_}}});let n=r(0),o=r(1134),a=r(6237),u=r(4922);function l(e,t){let[r,o]=e,[u,i]=t;if(u===n.DEFAULT_SEGMENT_KEY&&r!==n.DEFAULT_SEGMENT_KEY)return e;if((0,a.matchSegment)(r,u)){let t={};for(let e in o)void 0!==i[e]?t[e]=l(o[e],i[e]):t[e]=o[e];for(let e in i)t[e]||(t[e]=i[e]);let n=[r,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return 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)},9559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,r,a){let u=a.length<=2,[l,i]=a,s=(0,o.createRouterCacheKey)(i),c=r.parallelRoutes.get(l),f=t.parallelRoutes.get(l);f&&f!==c||(f=new Map(c),t.parallelRoutes.set(l,f));let d=null==c?void 0:c.get(s),p=f.get(s);if(u){p&&p.lazyData&&p!==d||f.set(s,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null});return}if(!p||!d){p||f.set(s,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null});return}return p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,head:p.head,prefetchHead:p.prefetchHead,parallelRoutes:new Map(p.parallelRoutes),loading:p.loading},f.set(s,p)),e(p,d,(0,n.getNextFlightSegmentPath)(a))}}});let n=r(1134),o=r(1784);("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)},6626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{computeChangedPath:function(){return c},extractPathFromFlightRouterState:function(){return s},getSelectedParams:function(){return function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],a=Array.isArray(t),u=a?t[1]:t;!u||u.startsWith(o.PAGE_SEGMENT_KEY)||(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}}});let n=r(3100),o=r(0),a=r(6237),u=e=>"/"===e[0]?e.slice(1):e,l=e=>"string"==typeof e?"children"===e?"":e:e[1];function i(e){return e.reduce((e,t)=>""===(t=u(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function s(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if(r===o.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith(o.PAGE_SEGMENT_KEY))return"";let a=[l(r)],u=null!=(t=e[1])?t:{},c=u.children?s(u.children):void 0;if(void 0!==c)a.push(c);else for(let[e,t]of Object.entries(u)){if("children"===e)continue;let r=s(t);void 0!==r&&a.push(r)}return i(a)}function c(e,t){let r=function e(t,r){let[o,u]=t,[i,c]=r,f=l(o),d=l(i);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,a.matchSegment)(o,i)){var p;return null!=(p=s(r))?p:""}for(let t in u)if(c[t]){let r=e(u[t],c[t]);if(null!==r)return l(i)+"/"+r}return null}(e,t);return null==r||"/"===r?r:i(r.split("/"))}("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)},3174:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("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)},322:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return c}});let n=r(3174),o=r(3821),a=r(6626),u=r(6004),l=r(1507),i=r(4922),s=r(1134);function c(e){var t,r;let{buildId:c,initialFlightData:f,initialCanonicalUrlParts:d,initialParallelRoutes:p,location:h,couldBeIntercepted:y,postponed:g,prerendered:_}=e,b=d.join("/"),v=(0,s.getFlightDataPartsFromPath)(f[0]),{tree:m,seedData:E,head:P}=v,R=!h,O=null==E?void 0:E[1],j=null!=(t=null==E?void 0:E[3])?t:null,S={lazyData:null,rsc:O,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:R?new Map:p,loading:j},w=h?(0,n.createHrefFromUrl)(h):b;(0,i.addRefreshMarkerToActiveParallelSegments)(m,w);let T=new Map;(null===p||0===p.size)&&(0,o.fillLazyItemsTillLeafWithHead)(S,void 0,m,E,P);let M={buildId:c,tree:m,cache:S,prefetchCache:T,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:w,nextUrl:null!=(r=(0,a.extractPathFromFlightRouterState)(m)||(null==h?void 0:h.pathname))?r:null};if(h){let e=new URL(""+h.pathname+h.search,h.origin);(0,u.createSeededPrefetchCacheEntry)({url:e,data:{flightData:[v],canonicalUrl:void 0,couldBeIntercepted:!!y,prerendered:_,postponed:g,staleTime:-1},tree:M.tree,prefetchCache:M.prefetchCache,nextUrl:M.nextUrl,kind:_?l.PrefetchKind.FULL:l.PrefetchKind.AUTO})}return M}("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)},1784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=r(0);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY: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)},1283:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return d}});let n=r(7325),o=r(4590),a=r(6705),u=r(1507),l=r(4736),i=r(1134),{createFromFetch:s}=r(6671);function c(e){let t=new URL(e,location.origin);if(t.searchParams.delete(n.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,r=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-r)}return t}function f(e){return{flightData:c(e).toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}async function d(e,t){let{flightRouterState:r,nextUrl:d,buildId:p,prefetchKind:h}=t,y={[n.RSC_HEADER]:"1",[n.NEXT_ROUTER_STATE_TREE_HEADER]:encodeURIComponent(JSON.stringify(r))};h===u.PrefetchKind.AUTO&&(y[n.NEXT_ROUTER_PREFETCH_HEADER]="1"),d&&(y[n.NEXT_URL]=d);let g=(0,l.hexHash)([y[n.NEXT_ROUTER_PREFETCH_HEADER]||"0",y[n.NEXT_ROUTER_STATE_TREE_HEADER],y[n.NEXT_URL]].join(","));try{var _;let t=new URL(e);t.pathname.endsWith("/")?t.pathname+="index.txt":t.pathname+=".txt",t.searchParams.set(n.NEXT_RSC_UNION_QUERY,g);let r=h?h===u.PrefetchKind.TEMPORARY?"high":"low":"auto",l=await fetch(t,{credentials:"same-origin",headers:y,priority:r}),d=c(l.url),b=l.redirected?d:void 0,v=l.headers.get("content-type")||"",m=!!(null==(_=l.headers.get("vary"))?void 0:_.includes(n.NEXT_URL)),E=!!l.headers.get(n.NEXT_DID_POSTPONE_HEADER),P=l.headers.get(n.NEXT_ROUTER_STALE_TIME_HEADER),R=null!==P?parseInt(P,10):-1,O=v.startsWith(n.RSC_CONTENT_TYPE_HEADER);if(O||(O=v.startsWith("text/plain")),!O||!l.ok)return e.hash&&(d.hash=e.hash),f(d.toString());let j=await s(Promise.resolve(l),{callServer:o.callServer,findSourceMapURL:a.findSourceMapURL});if(p!==j.b)return f(l.url);return{flightData:(0,i.normalizeFlightData)(j.f),canonicalUrl:b,couldBeIntercepted:m,prerendered:j.S,postponed:E,staleTime:R}}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),{flightData:e.toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}}("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)},1133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fillCacheWithNewSubTreeData:function(){return i},fillCacheWithNewSubTreeDataButOnlyLoading:function(){return s}});let n=r(4213),o=r(3821),a=r(1784),u=r(0);function l(e,t,r,l,i){let{segmentPath:s,seedData:c,tree:f,head:d}=r,p=e,h=t;for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,a,u,l,i){if(0===Object.keys(a[1]).length){t.head=l;return}for(let s in a[1]){let c;let f=a[1][s],d=f[0],p=(0,n.createRouterCacheKey)(d),h=null!==u&&void 0!==u[2][s]?u[2][s]:null;if(r){let n=r.parallelRoutes.get(s);if(n){let r;let a=(null==i?void 0:i.kind)==="auto"&&i.status===o.PrefetchCacheEntryStatus.reusable,u=new Map(n),c=u.get(p);r=null!==h?{lazyData:null,rsc:h[1],prefetchRsc:null,head:null,prefetchHead:null,loading:h[3],parallelRoutes:new Map(null==c?void 0:c.parallelRoutes)}:a&&c?{lazyData:c.lazyData,rsc:c.rsc,prefetchRsc:c.prefetchRsc,head:c.head,prefetchHead:c.prefetchHead,parallelRoutes:new Map(c.parallelRoutes),loading:c.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==c?void 0:c.parallelRoutes),loading:null},u.set(p,r),e(r,c,f,h||null,l,i),t.parallelRoutes.set(s,u);continue}}if(null!==h){let e=h[1],t=h[3];c={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:t}}else c={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null};let y=t.parallelRoutes.get(s);y?y.set(p,c):t.parallelRoutes.set(s,new Map([[p,c]])),e(c,void 0,f,h,l,i)}}}});let n=r(1784),o=r(1507);("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)},6416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return a}});let n=r(6626);function o(e){return void 0!==e}function a(e,t){var r,a;let u=null==(r=t.shouldScroll)||r,l=e.nextUrl;if(o(t.patchedTree)){let r=(0,n.computeChangedPath)(e.tree,t.patchedTree);r?l=r:l||(l=e.canonicalUrl)}return{buildId:e.buildId,canonicalUrl:o(t.canonicalUrl)?t.canonicalUrl===e.canonicalUrl?e.canonicalUrl:t.canonicalUrl:e.canonicalUrl,pushRef:{pendingPush:o(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:o(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:o(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!u&&(!!o(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:t.onlyHashChange||!1,hashFragment:u?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:u?null!=(a=null==t?void 0:t.scrollableSegments)?a:e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,prefetchCache:t.prefetchCache?t.prefetchCache:e.prefetchCache,tree:o(t.patchedTree)?t.patchedTree:e.tree,nextUrl:l}}("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)},774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let n=r(1294);function o(e,t,r){return(0,n.handleExternalUrl)(e,{},e.canonicalUrl,!0)}("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)},9863:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,r,a){let u=a.length<=2,[l,i]=a,s=(0,n.createRouterCacheKey)(i),c=r.parallelRoutes.get(l);if(!c)return;let f=t.parallelRoutes.get(l);if(f&&f!==c||(f=new Map(c),t.parallelRoutes.set(l,f)),u){f.delete(s);return}let d=c.get(s),p=f.get(s);p&&d&&(p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,head:p.head,prefetchHead:p.prefetchHead,parallelRoutes:new Map(p.parallelRoutes)},f.set(s,p)),e(p,d,(0,o.getNextFlightSegmentPath)(a)))}}});let n=r(1784),o=r(1134);("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)},4213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let n=r(1784);function o(e,t,r){for(let o in r[1]){let a=r[1][o][0],u=(0,n.createRouterCacheKey)(a),l=t.parallelRoutes.get(o);if(l){let t=new Map(l);t.delete(u),e.parallelRoutes.set(o,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)},139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let n=t[0],o=r[0];if(Array.isArray(n)&&Array.isArray(o)){if(n[0]!==o[0]||n[2]!==o[2])return!0}else if(n!==o)return!0;if(t[4])return!r[4];if(r[4])return!0;let a=Object.values(t[1])[0],u=Object.values(r[1])[0];return!a||!u||e(a,u)}}}),("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)},3060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{abortTask:function(){return s},listenForDynamicRequest:function(){return l},updateCacheNodeOnNavigation:function(){return function e(t,r,l,s,c){let f=r[1],d=l[1],p=s[2],h=t.parallelRoutes,y=new Map(h),g={},_=null,b=!1;for(let t in d){let r;let l=d[t],s=f[t],v=h.get(t),m=p[t],E=l[0],P=(0,a.createRouterCacheKey)(E),R=void 0!==s?s[0]:void 0,O=void 0!==v?v.get(P):void 0;if(null!==(r=E===n.DEFAULT_SEGMENT_KEY?void 0!==s?{route:s,node:null,children:null}:u(l,void 0!==m?m:null,c):void 0!==R&&(0,o.matchSegment)(E,R)&&void 0!==O&&void 0!==s?null!=m?e(O,s,l,m,c):function(e){let t=i(e,null,null);return{route:e,node:t,children:null}}(l):u(l,void 0!==m?m:null,c))){null===_&&(_=new Map),_.set(t,r);let e=r.node;if(null!==e){let r=new Map(v);r.set(P,e),y.set(t,r),b=!0}g[t]=r.route}else g[t]=l}if(null===_)return null;let v={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:y};return{route:function(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),r}(l,g),node:b?v:null,children:_}}},updateCacheNodeOnPopstateRestoration:function(){return function e(t,r){let n=r[1],o=t.parallelRoutes,u=new Map(o);for(let t in n){let r=n[t],l=r[0],i=(0,a.createRouterCacheKey)(l),s=o.get(t);if(void 0!==s){let n=s.get(i);if(void 0!==n){let o=e(n,r),a=new Map(s);a.set(i,o),u.set(t,a)}}}let l=t.rsc,i=d(l)&&"pending"===l.status;return{lazyData:null,rsc:l,head:t.head,prefetchHead:i?t.prefetchHead:null,prefetchRsc:i?t.prefetchRsc:null,loading:t.loading,parallelRoutes:u}}}});let n=r(0),o=r(6237),a=r(1784);function u(e,t,r){let n=i(e,t,r);return{route:e,node:n,children:null}}function l(e,t){t.then(t=>{let{flightData:r}=t;for(let t of r){if("string"==typeof t)continue;let{segmentPath:r,tree:n,seedData:u,head:l}=t;u&&function(e,t,r,n,u){let l=e;for(let e=0;e{s(e,t)})}function i(e,t,r){let n=e[1],o=null!==t?t[2]:null,u=new Map;for(let e in n){let t=n[e],l=null!==o?o[e]:null,s=t[0],c=(0,a.createRouterCacheKey)(s),f=i(t,void 0===l?null:l,r),d=new Map;d.set(c,f),u.set(e,d)}let l=0===u.size,s=null!==t?t[1]:null,c=null!==t?t[3]:null;return{lazyData:null,parallelRoutes:u,prefetchRsc:void 0!==s?s:null,prefetchHead:l?r:null,loading:void 0!==c?c:null,rsc:p(),head:l?p():null}}function s(e,t){let r=e.node;if(null===r)return;let n=e.children;if(null===n)c(e.route,r,t);else for(let e of n.values())s(e,t);e.node=null}function c(e,t,r){let n=e[1],o=t.parallelRoutes;for(let e in n){let t=n[e],u=o.get(e);if(void 0===u)continue;let l=t[0],i=(0,a.createRouterCacheKey)(l),s=u.get(i);void 0!==s&&c(t,s,r)}let u=t.rsc;d(u)&&(null===r?u.resolve(null):u.reject(r));let l=t.head;d(l)&&l.resolve(null)}let f=Symbol();function d(e){return e&&e.tag===f}function p(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.status="pending",r.resolve=t=>{"pending"===r.status&&(r.status="fulfilled",r.value=t,e(t))},r.reject=e=>{"pending"===r.status&&(r.status="rejected",r.reason=e,t(e))},r.tag=f,r}("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)},6004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createSeededPrefetchCacheEntry:function(){return s},getOrCreatePrefetchCacheEntry:function(){return i},prunePrefetchCache:function(){return f}});let n=r(1283),o=r(1507),a=r(9218);function u(e,t,r){let n=e.pathname;return(t&&(n+=e.search),r)?""+r+"%"+n:n}function l(e,t,r){return u(e,t===o.PrefetchKind.FULL,r)}function i(e){let{url:t,nextUrl:r,tree:n,buildId:a,prefetchCache:l,kind:i,allowAliasing:s=!0}=e,f=function(e,t,r,n,a){for(let l of(void 0===t&&(t=o.PrefetchKind.TEMPORARY),[r,null])){let r=u(e,!0,l),i=u(e,!1,l),s=e.search?r:i,c=n.get(s);if(c&&a){if(c.url.pathname===e.pathname&&c.url.search!==e.search)return{...c,aliased:!0};return c}let f=n.get(i);if(a&&e.search&&t!==o.PrefetchKind.FULL&&f&&!f.key.includes("%"))return{...f,aliased:!0}}if(t!==o.PrefetchKind.FULL&&a){for(let t of n.values())if(t.url.pathname===e.pathname&&!t.key.includes("%"))return{...t,aliased:!0}}}(t,i,r,l,s);return f?(f.status=h(f),f.kind!==o.PrefetchKind.FULL&&i===o.PrefetchKind.FULL&&f.data.then(e=>{if(!(Array.isArray(e.flightData)&&e.flightData.some(e=>e.isRootRender&&null!==e.seedData)))return c({tree:n,url:t,buildId:a,nextUrl:r,prefetchCache:l,kind:null!=i?i:o.PrefetchKind.TEMPORARY})}),i&&f.kind===o.PrefetchKind.TEMPORARY&&(f.kind=i),f):c({tree:n,url:t,buildId:a,nextUrl:r,prefetchCache:l,kind:i||o.PrefetchKind.TEMPORARY})}function s(e){let{nextUrl:t,tree:r,prefetchCache:n,url:a,data:u,kind:i}=e,s=u.couldBeIntercepted?l(a,i,t):l(a,i),c={treeAtTimeOfPrefetch:r,data:Promise.resolve(u),kind:i,prefetchTime:Date.now(),lastUsedTime:Date.now(),staleTime:-1,key:s,status:o.PrefetchCacheEntryStatus.fresh,url:a};return n.set(s,c),c}function c(e){let{url:t,kind:r,tree:u,nextUrl:i,buildId:s,prefetchCache:c}=e,f=l(t,r),d=a.prefetchQueue.enqueue(()=>(0,n.fetchServerResponse)(t,{flightRouterState:u,nextUrl:i,buildId:s,prefetchKind:r}).then(e=>{let r;if(e.couldBeIntercepted&&(r=function(e){let{url:t,nextUrl:r,prefetchCache:n,existingCacheKey:o}=e,a=n.get(o);if(!a)return;let u=l(t,a.kind,r);return n.set(u,{...a,key:u}),n.delete(o),u}({url:t,existingCacheKey:f,nextUrl:i,prefetchCache:c})),e.prerendered){let t=c.get(null!=r?r:f);t&&(t.kind=o.PrefetchKind.FULL,-1!==e.staleTime&&(t.staleTime=e.staleTime))}return e})),p={treeAtTimeOfPrefetch:u,data:d,kind:r,prefetchTime:Date.now(),lastUsedTime:null,staleTime:-1,key:f,status:o.PrefetchCacheEntryStatus.fresh,url:t};return c.set(f,p),p}function f(e){for(let[t,r]of e)h(r)===o.PrefetchCacheEntryStatus.expired&&e.delete(t)}let d=1e3*Number("0"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:r,lastUsedTime:n,staleTime:a}=e;return -1!==a?Date.now(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return o}});let n=r(1784);function o(e,t){return function e(t,r,o){if(0===Object.keys(r).length)return[t,o];for(let a in r){let[u,l]=r[a],i=t.parallelRoutes.get(a);if(!i)continue;let s=(0,n.createRouterCacheKey)(u),c=i.get(s);if(!c)continue;let f=e(c,l,o+"/"+s);if(f)return f}return null}(e,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)},4640:(e,t)=>{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("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)},5914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e(t){let[r,o]=t;if(Array.isArray(r)&&("di"===r[2]||"ci"===r[2])||"string"==typeof r&&(0,n.isInterceptionRouteAppPath)(r))return!0;if(o){for(let t in o)if(e(o[t]))return!0}return!1}}});let n=r(3100);("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)},695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hmrRefreshReducer",{enumerable:!0,get:function(){return n}}),r(1283),r(3174),r(9684),r(139),r(1294),r(6416),r(9607),r(5751),r(774),r(5914);let n=function(e,t){return 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)},1294:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleExternalUrl:function(){return v},navigateReducer:function(){return function e(t,r){let{url:E,isExternalUrl:P,navigateType:R,shouldScroll:O,allowAliasing:j}=r,S={},{hash:w}=E,T=(0,o.createHrefFromUrl)(E),M="push"===R;if((0,g.prunePrefetchCache)(t.prefetchCache),S.preserveCustomHistoryState=!1,S.pendingPush=M,P)return v(t,S,E.toString(),M);if(document.getElementById("__next-page-redirect"))return v(t,S,T,M);let x=(0,g.getOrCreatePrefetchCacheEntry)({url:E,nextUrl:t.nextUrl,tree:t.tree,buildId:t.buildId,prefetchCache:t.prefetchCache,allowAliasing:j}),{treeAtTimeOfPrefetch:A,data:C}=x;return d.prefetchQueue.bump(C),C.then(d=>{let{flightData:g,canonicalUrl:P,postponed:R}=d,j=!1;if(x.lastUsedTime||(x.lastUsedTime=Date.now(),j=!0),"string"==typeof g)return v(t,S,g,M);let C=P?(0,o.createHrefFromUrl)(P):T;if(w&&t.canonicalUrl.split("#",1)[0]===C.split("#",1)[0])return S.onlyHashChange=!0,S.canonicalUrl=C,S.shouldScroll=O,S.hashFragment=w,S.scrollableSegments=[],(0,c.handleMutable)(t,S);if(x.aliased){let n=(0,b.handleAliasedPrefetchEntry)(t,g,E,S);return!1===n?e(t,{...r,allowAliasing:!1}):n}let N=t.tree,D=t.cache,k=[];for(let e of g){let{pathToSegment:r,seedData:o,head:c,isRootRender:d}=e,g=e.tree,b=["",...r],P=(0,u.applyRouterStatePatchToTree)(b,N,g,T);if(null===P&&(P=(0,u.applyRouterStatePatchToTree)(b,A,g,T)),null!==P){if((0,i.isNavigatingToNewRootLayout)(N,P))return v(t,S,T,M);if(o&&d&&R){let e=(0,y.updateCacheNodeOnNavigation)(D,N,g,o,c);if(null!==e){if(P=e.route,null!==e.node){let r=e.node,o=(0,n.fetchServerResponse)(E,{flightRouterState:N,nextUrl:t.nextUrl,buildId:t.buildId});(0,y.listenForDynamicRequest)(e,o),S.cache=r}}else P=g}else{let t=(0,p.createEmptyCacheNode)(),n=!1;x.status!==s.PrefetchCacheEntryStatus.stale||j?n=(0,f.applyFlightData)(D,t,e,x):(n=function(e,t,r,n){let o=!1;for(let a of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),m(n).map(e=>[...r,...e])))(0,_.clearCacheNodeDataForSegmentPath)(e,t,a),o=!0;return o}(t,D,r,g),x.lastUsedTime=Date.now()),(0,l.shouldHardNavigate)(b,N)?(t.rsc=D.rsc,t.prefetchRsc=D.prefetchRsc,(0,a.invalidateCacheBelowFlightSegmentPath)(t,D,r),S.cache=t):n&&(S.cache=t,D=t)}for(let e of(N=P,m(g))){let t=[...r,...e];t[t.length-1]!==h.DEFAULT_SEGMENT_KEY&&k.push(t)}}}return S.patchedTree=N,S.canonicalUrl=C,S.scrollableSegments=k,S.hashFragment=w,S.shouldScroll=O,(0,c.handleMutable)(t,S)},()=>t)}}});let n=r(1283),o=r(3174),a=r(9863),u=r(9684),l=r(4740),i=r(139),s=r(1507),c=r(6416),f=r(9607),d=r(9218),p=r(5751),h=r(0),y=r(3060),g=r(6004),_=r(9559),b=r(9596);function v(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,c.handleMutable)(e,t)}function m(e){let t=[],[r,n]=e;if(0===Object.keys(n).length)return[[r]];for(let[e,o]of Object.entries(n))for(let n of m(o))""===r?t.push([e,...n]):t.push([r,e,...n]);return 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)},9218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{prefetchQueue:function(){return u},prefetchReducer:function(){return l}});let n=r(7325),o=r(3858),a=r(6004),u=new o.PromiseQueue(5);function l(e,t){(0,a.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;return r.searchParams.delete(n.NEXT_RSC_UNION_QUERY),(0,a.getOrCreatePrefetchCacheEntry)({url:r,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,buildId:e.buildId,allowAliasing:!0}),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)},5239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let n=r(1283),o=r(3174),a=r(9684),u=r(139),l=r(1294),i=r(6416),s=r(3821),c=r(5751),f=r(774),d=r(5914),p=r(4922);function h(e,t){let{origin:r}=t,h={},y=e.canonicalUrl,g=e.tree;h.preserveCustomHistoryState=!1;let _=(0,c.createEmptyCacheNode)(),b=(0,d.hasInterceptionRouteInCurrentTree)(e.tree);return _.lazyData=(0,n.fetchServerResponse)(new URL(y,r),{flightRouterState:[g[0],g[1],g[2],"refetch"],nextUrl:b?e.nextUrl:null,buildId:e.buildId}),_.lazyData.then(async r=>{let{flightData:n,canonicalUrl:c}=r;if("string"==typeof n)return(0,l.handleExternalUrl)(e,h,n,e.pushRef.pendingPush);for(let r of(_.lazyData=null,n)){let{tree:n,seedData:i,head:d,isRootRender:v}=r;if(!v)return console.log("REFRESH FAILED"),e;let m=(0,a.applyRouterStatePatchToTree)([""],g,n,e.canonicalUrl);if(null===m)return(0,f.handleSegmentMismatch)(e,t,n);if((0,u.isNavigatingToNewRootLayout)(g,m))return(0,l.handleExternalUrl)(e,h,y,e.pushRef.pendingPush);let E=c?(0,o.createHrefFromUrl)(c):void 0;if(c&&(h.canonicalUrl=E),null!==i){let e=i[1],t=i[3];_.rsc=e,_.prefetchRsc=null,_.loading=t,(0,s.fillLazyItemsTillLeafWithHead)(_,void 0,n,i,d),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:e,updatedTree:m,updatedCache:_,includeNextUrl:b,canonicalUrl:h.canonicalUrl||e.canonicalUrl}),h.cache=_,h.patchedTree=m,g=m}return(0,i.handleMutable)(e,h)},()=>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)},6131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return a}});let n=r(3174),o=r(6626);function a(e,t){var r;let{url:a,tree:u}=t,l=(0,n.createHrefFromUrl)(a),i=u||e.tree,s=e.cache;return{buildId:e.buildId,canonicalUrl:l,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:s,prefetchCache:e.prefetchCache,tree:i,nextUrl:null!=(r=(0,o.extractPathFromFlightRouterState)(i))?r:a.pathname}}r(3060),("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)},4549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return w}});let n=r(4590),o=r(6705),a=r(7325),u=r(1507),l=r(4897),i=r(3174),s=r(1294),c=r(9684),f=r(139),d=r(6416),p=r(3821),h=r(5751),y=r(5914),g=r(774),_=r(4922),b=r(1134),v=r(7909),m=r(6004),E=r(7599),P=r(9404),{createFromFetch:R,createTemporaryReferenceSet:O,encodeReply:j}=r(6671);async function S(e,t,r){let u,i,{actionId:s,actionArgs:c}=r,f=O(),d=await j(c,{temporaryReferences:f}),p=await fetch("",{method:"POST",headers:{Accept:a.RSC_CONTENT_TYPE_HEADER,[a.ACTION_HEADER]:s,[a.NEXT_ROUTER_STATE_TREE_HEADER]:encodeURIComponent(JSON.stringify(e.tree)),...t?{[a.NEXT_URL]:t}:{}},body:d}),h=p.headers.get("x-action-redirect"),[y,g]=(null==h?void 0:h.split(";"))||[];switch(g){case"push":u=v.RedirectType.push;break;case"replace":u=v.RedirectType.replace;break;default:u=void 0}let _=!!p.headers.get(a.NEXT_IS_PRERENDER_HEADER);try{let e=JSON.parse(p.headers.get("x-action-revalidated")||"[[],0,0]");i={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){i={paths:[],tag:!1,cookie:!1}}let m=y?new URL((0,l.addBasePath)(y),new URL(e.canonicalUrl,window.location.href)):void 0,E=p.headers.get("content-type");if(null==E?void 0:E.startsWith(a.RSC_CONTENT_TYPE_HEADER)){let e=await R(Promise.resolve(p),{callServer:n.callServer,findSourceMapURL:o.findSourceMapURL,temporaryReferences:f});return y?{actionFlightData:(0,b.normalizeFlightData)(e.f),redirectLocation:m,redirectType:u,revalidatedParts:i,isPrerender:_}:{actionResult:e.a,actionFlightData:(0,b.normalizeFlightData)(e.f),redirectLocation:m,redirectType:u,revalidatedParts:i,isPrerender:_}}if(p.status>=400)throw Error("text/plain"===E?await p.text():"An unexpected response was received from the server.");return{redirectLocation:m,redirectType:u,revalidatedParts:i,isPrerender:_}}function w(e,t){let{resolve:r,reject:n}=t,o={},a=e.canonicalUrl,l=e.tree;o.preserveCustomHistoryState=!1;let b=e.nextUrl&&(0,y.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null;return S(e,b,t).then(async y=>{let{actionResult:R,actionFlightData:O,redirectLocation:j,redirectType:S,isPrerender:w,revalidatedParts:T}=y;if(j&&(S===v.RedirectType.replace?(e.pushRef.pendingPush=!1,o.pendingPush=!1):(e.pushRef.pendingPush=!0,o.pendingPush=!0)),!O)return(r(R),j)?(0,s.handleExternalUrl)(e,o,j.href,e.pushRef.pendingPush):e;if("string"==typeof O)return(0,s.handleExternalUrl)(e,o,O,e.pushRef.pendingPush);let M=T.paths.length>0||T.tag||T.cookie;for(let r of O){let{tree:n,seedData:u,head:d,isRootRender:y}=r;if(!y)return console.log("SERVER ACTION APPLY FAILED"),e;let v=(0,c.applyRouterStatePatchToTree)([""],l,n,j?(0,i.createHrefFromUrl)(j):e.canonicalUrl);if(null===v)return(0,g.handleSegmentMismatch)(e,t,n);if((0,f.isNavigatingToNewRootLayout)(l,v))return(0,s.handleExternalUrl)(e,o,a,e.pushRef.pendingPush);if(null!==u){let t=u[1],r=(0,h.createEmptyCacheNode)();r.rsc=t,r.prefetchRsc=null,r.loading=u[3],(0,p.fillLazyItemsTillLeafWithHead)(r,void 0,n,u,d),o.cache=r,o.prefetchCache=new Map,M&&await (0,_.refreshInactiveParallelSegments)({state:e,updatedTree:v,updatedCache:r,includeNextUrl:!!b,canonicalUrl:o.canonicalUrl||e.canonicalUrl})}o.patchedTree=v,l=v}if(j){let t=(0,i.createHrefFromUrl)(j,!1);o.canonicalUrl=t,M||((0,m.createSeededPrefetchCacheEntry)({url:j,data:{flightData:O,canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1},tree:e.tree,prefetchCache:e.prefetchCache,nextUrl:e.nextUrl,kind:w?u.PrefetchKind.FULL:u.PrefetchKind.AUTO}),o.prefetchCache=e.prefetchCache),n((0,v.getRedirectError)((0,P.hasBasePath)(t)?(0,E.removeBasePath)(t):t,S||v.RedirectType.push))}else r(R);return(0,d.handleMutable)(e,o)},t=>(n(t),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)},8289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return f}});let n=r(3174),o=r(9684),a=r(139),u=r(1294),l=r(9607),i=r(6416),s=r(5751),c=r(774);function f(e,t){let{serverResponse:{flightData:r,canonicalUrl:f}}=t,d={};if(d.preserveCustomHistoryState=!1,"string"==typeof r)return(0,u.handleExternalUrl)(e,d,r,e.pushRef.pendingPush);let p=e.tree,h=e.cache;for(let i of r){let{segmentPath:r,tree:y}=i,g=(0,o.applyRouterStatePatchToTree)(["",...r],p,y,e.canonicalUrl);if(null===g)return(0,c.handleSegmentMismatch)(e,t,y);if((0,a.isNavigatingToNewRootLayout)(p,g))return(0,u.handleExternalUrl)(e,d,e.canonicalUrl,e.pushRef.pendingPush);let _=f?(0,n.createHrefFromUrl)(f):void 0;_&&(d.canonicalUrl=_);let b=(0,s.createEmptyCacheNode)();(0,l.applyFlightData)(h,b,i),d.patchedTree=g,d.cache=b,h=b,p=g}return(0,i.handleMutable)(e,d)}("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)},4922:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,r){let[n,o,,u]=t;for(let l in n.includes(a.PAGE_SEGMENT_KEY)&&"refresh"!==u&&(t[2]=r,t[3]="refresh"),o)e(o[l],r)}},refreshInactiveParallelSegments:function(){return u}});let n=r(9607),o=r(1283),a=r(0);async function u(e){let t=new Set;await l({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function l(e){let{state:t,updatedTree:r,updatedCache:a,includeNextUrl:u,fetchedSegments:i,rootTree:s=r,canonicalUrl:c}=e,[,f,d,p]=r,h=[];if(d&&d!==c&&"refresh"===p&&!i.has(d)){i.add(d);let e=(0,o.fetchServerResponse)(new URL(d,location.origin),{flightRouterState:[s[0],s[1],s[2],"refetch"],nextUrl:u?t.nextUrl:null,buildId:t.buildId}).then(e=>{let{flightData:t}=e;if("string"!=typeof t)for(let e of t)(0,n.applyFlightData)(a,a,e)});h.push(e)}for(let e in f){let r=l({state:t,updatedTree:f[e],updatedCache:a,includeNextUrl:u,fetchedSegments:i,rootTree:s,canonicalUrl:c});h.push(r)}await Promise.all(h)}("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)},1507:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_HMR_REFRESH:function(){return s},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return i},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return c},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r}});let o="refresh",a="navigate",u="restore",l="server-patch",i="prefetch",s="hmr-refresh",c="server-action";!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(r||(r={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(n||(n={})),("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)},643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let n=r(1507),o=r(1294),a=r(8289),u=r(6131),l=r(5239),i=r(9218),s=r(695),c=r(4549),f="undefined"==typeof window?function(e,t){return e}:function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,a.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,u.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,l.refreshReducer)(e,t);case n.ACTION_HMR_REFRESH:return(0,s.hmrRefreshReducer)(e,t);case n.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case n.ACTION_SERVER_ACTION:return(0,c.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("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)},4740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[a,u]=r,[l,i]=t;return(0,o.matchSegment)(l,a)?!(t.length<=2)&&e((0,n.getNextFlightSegmentPath)(t),u[i]):!!Array.isArray(l)}}});let n=r(1134),o=r(6237);("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)},5108:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return o}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("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)},1108:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return r}});let r={then:()=>{}};("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)},997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,u.isNextRouterError)(t)||(0,a.isBailoutToCSRError)(t)||(0,n.isDynamicUsageError)(t)||(0,o.isPostpone)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(5647),o=r(3343),a=r(5592),u=r(2128);("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)},7903:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{useReducer:function(){return u},useUnwrapState:function(){return a}});let n=r(1452)._(r(2265)),o=r(4427);function a(e){return(0,o.isThenable)(e)?(0,n.use)(e):e}function u(e){let[t,r]=n.default.useState(e.state);return[t,(0,n.useCallback)(t=>{e.dispatch(t,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)},1134:(e,t)=>{"use strict";function r(e){var t;let[r,n,o]=e.slice(-3),a=e.slice(0,-3);return{pathToSegment:a.slice(0,-1),segmentPath:a,segment:null!=(t=a[a.length-1])?t:"",tree:r,seedData:n,head:o,isRootRender:3===e.length}}function n(e){return e.slice(2)}function o(e){return"string"==typeof e?e:e.map(r)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getFlightDataPartsFromPath:function(){return r},getNextFlightSegmentPath:function(){return n},normalizeFlightData:function(){return o}}),("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)},9404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(5121);function o(e){return(0,n.pathHasPrefix)(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)},8956:(e,t)=>{"use strict";function r(e,t){switch(typeof e){case"object":if(null===e)return"null";if(Array.isArray(e)){let n="[";if(t<1)for(let o=0;o0?"...":"";return n+"]"}{if(e instanceof Error)return e+"";let n=Object.keys(e),o="{";if(t<1)for(let a=0;a0?"...":"";return o+"}"}case"string":return JSON.stringify(e);default:return String(e)}}function n(e){let t,n;"string"==typeof e[0]?(t=e[0],n=1):(t="",n=0);let o="",a=!1;for(let u=0;u=e.length){o+=l;continue}let i=t[++u];switch(i){case"c":o=a?""+o+"]":"["+o,a=!a,n++;break;case"O":case"o":o+=r(e[n++],0);break;case"d":case"i":o+=parseInt(e[n++],10);break;case"f":o+=parseFloat(e[n++]);break;case"s":o+=String(e[n++]);break;default:o+="%"+i}}for(;n0?" ":"")+r(e[n],0);return o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatConsoleArgs",{enumerable:!0,get:function(){return n}}),("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)},8157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(7741),o=r(1465),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+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)},6124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"onRecoverableError",{enumerable:!0,get:function(){return a}});let n=r(5592),o="function"==typeof reportError?reportError:e=>{window.console.error(e)};function a(e,t){(0,n.isBailoutToCSRError)(e)||o(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)},7599:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(9404),("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)},8081:e=>{!function(){var t={229:function(e){var t,r,n,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var i=[],s=!1,c=-1;function f(){s&&n&&(s=!1,n.length?i=n.concat(i):c=-1,i.length&&d())}function d(){if(!s){var e=l(f);s=!0;for(var t=i.length;t;){for(n=i,i=[];++c1)for(var r=1;r{"use strict";function r(e,t){var r=e.length;for(e.push(t);0>>1,o=e[n];if(0>>1;na(i,r))sa(c,i)?(e[n]=c,e[s]=r,n=s):(e[n]=i,e[l]=r,n=l);else if(sa(c,r))e[n]=c,e[s]=r,n=s;else break}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var u,l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,s=i.now();t.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,h=3,y=!1,g=!1,_=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function E(e){for(var t=n(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,r(c,t);else break;t=n(f)}}function P(e){if(_=!1,E(e),!g){if(null!==n(c))g=!0,A();else{var t=n(f);null!==t&&C(P,t.startTime-e)}}}var R=!1,O=-1,j=5,S=-1;function w(){return!(t.unstable_now()-Se&&w());){var l=p.callback;if("function"==typeof l){p.callback=null,h=p.priorityLevel;var i=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,E(e),r=!0;break t}p===n(c)&&o(c),E(e)}else o(c);p=n(c)}if(null!==p)r=!0;else{var s=n(f);null!==s&&C(P,s.startTime-e),r=!1}}break e}finally{p=null,h=a,y=!1}r=void 0}}finally{r?u():R=!1}}}if("function"==typeof m)u=function(){m(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,x=M.port2;M.port1.onmessage=T,u=function(){x.postMessage(null)}}else u=function(){b(T,0)};function A(){R||(R=!0,u())}function C(e,r){O=b(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||y||(g=!0,A())},t.unstable_forceFrameRate=function(e){0>e||125u?(e.sortIndex=a,r(f,e),null===n(c)&&e===n(f)&&(_?(v(O),O=-1):_=!0,C(P,a-u))):(e.sortIndex=l,r(c,e),g||y||(g=!0,A())),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},5689:(e,t,r)=>{"use strict";e.exports=r(3833)},5647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicUsageError",{enumerable:!0,get:function(){return l}});let n=r(7910),o=r(5592),a=r(2128),u=r(2441),l=e=>(0,n.isDynamicServerError)(e)||(0,o.isBailoutToCSRError)(e)||(0,a.isNextRouterError)(e)||(0,u.isDynamicPostpone)(e)},5878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(5260);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},5650:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{METADATA_BOUNDARY_NAME:function(){return r},OUTLET_BOUNDARY_NAME:function(){return o},VIEWPORT_BOUNDARY_NAME:function(){return n}});let r="__next_metadata_boundary__",n="__next_viewport_boundary__",o="__next_outlet_boundary__"},5502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(5535)},2441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Postpone:function(){return R},abortAndThrowOnSynchronousRequestDataAccess:function(){return E},abortOnSynchronousPlatformIOAccess:function(){return v},accessedDynamicData:function(){return A},annotateDynamicAccess:function(){return U},consumeDynamicAccess:function(){return C},createDynamicTrackingState:function(){return f},createDynamicValidationState:function(){return d},createPostponedAbortSignal:function(){return k},formatDynamicAPIAccesses:function(){return N},getFirstDynamicReason:function(){return p},isDynamicPostpone:function(){return S},isPrerenderInterruptedError:function(){return x},markCurrentScopeAsDynamic:function(){return h},postponeWithTracking:function(){return O},throwIfDisallowedDynamic:function(){return W},throwToInterruptStaticGeneration:function(){return g},trackAllowedDynamicAccess:function(){return B},trackDynamicDataInDynamicRender:function(){return _},trackFallbackParamAccessed:function(){return y},trackSynchronousPlatformIOAccessInDev:function(){return m},trackSynchronousRequestDataAccessInDev:function(){return P},useDynamicRouteParams:function(){return I}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(2265)),o=r(7910),a=r(5108),u=r(5778),l=r(8011),i=r(2849),s=r(5650),c="function"==typeof n.default.unstable_postpone;function f(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function d(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function p(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function h(e,t,r){if((!t||"cache"!==t.type&&"unstable-cache"!==t.type)&&!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw new a.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(t){if("prerender-ppr"===t.type)O(e.route,r,t.dynamicTracking);else if("prerender-legacy"===t.type){t.revalidate=0;let n=new o.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}}function y(e,t){let r=u.workUnitAsyncStorage.getStore();r&&"prerender-ppr"===r.type&&O(e.route,t,r.dynamicTracking)}function g(e,t,r){let n=new o.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function _(e,t){t&&"cache"!==t.type&&"unstable-cache"!==t.type&&("prerender"===t.type||"prerender-legacy"===t.type)&&(t.revalidate=0)}function b(e,t,r){let n=M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller&&r.controller.abort(n);let o=r.dynamicTracking;o&&o.dynamicAccesses.push({stack:o.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function v(e,t,r,n){let o=n.dynamicTracking;return o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicExpression=t,o.syncDynamicErrorWithStack=r),b(e,t,n)}function m(e){e.prerenderPhase=!1}function E(e,t,r,n){let o=n.dynamicTracking;throw o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicExpression=t,o.syncDynamicErrorWithStack=r,!0===n.validating&&(o.syncDynamicLogged=!0)),b(e,t,n),M(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}let P=m;function R({reason:e,route:t}){let r=u.workUnitAsyncStorage.getStore();O(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function O(e,t,r){D(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),n.default.unstable_postpone(j(e,t))}function j(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function S(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&w(e.message)}function w(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===w(j("%%%","^^^")))throw Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js");let T="NEXT_PRERENDER_INTERRUPTED";function M(e){let t=Error(e);return t.digest=T,t}function x(e){return"object"==typeof e&&null!==e&&e.digest===T&&"name"in e&&"message"in e&&e instanceof Error}function A(e){return e.length>0}function C(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function N(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: +${t}`))}function D(){if(!c)throw Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js")}function k(e){D();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}function U(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function I(e){if("undefined"==typeof window){let t=l.workAsyncStorage.getStore();if(t&&t.isStaticGeneration&&t.fallbackRouteParams&&t.fallbackRouteParams.size>0){let r=u.workUnitAsyncStorage.getStore();r&&("prerender"===r.type?n.default.use((0,i.makeHangingPromise)(r.renderSignal,e)):"prerender-ppr"===r.type?O(t.route,e,r.dynamicTracking):"prerender-legacy"===r.type&&g(e,t,r))}}}let L=/\n\s+at Suspense \(\)/,F=RegExp(`\\n\\s+at ${s.METADATA_BOUNDARY_NAME}[\\n\\s]`),H=RegExp(`\\n\\s+at ${s.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),$=RegExp(`\\n\\s+at ${s.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function B(e,t,r,n,o){if(!$.test(t)){if(F.test(t)){r.hasDynamicMetadata=!0;return}if(H.test(t)){r.hasDynamicViewport=!0;return}if(L.test(t)){r.hasSuspendedDynamic=!0;return}if(n.syncDynamicErrorWithStack||o.syncDynamicErrorWithStack){r.hasSyncDynamicErrors=!0;return}else{let n=function(e,t){let r=Error(e);return r.stack="Error: "+e+t,r}(`In Route "${e}" this component accessed data without a fallback UI available somewhere above it using Suspense.`,t);r.dynamicErrors.push(n);return}}}function W(e,t,r,n){let o,u,l;if(r.syncDynamicErrorWithStack?(o=r.syncDynamicErrorWithStack,u=r.syncDynamicExpression,l=!0===r.syncDynamicLogged):n.syncDynamicErrorWithStack?(o=n.syncDynamicErrorWithStack,u=n.syncDynamicExpression,l=!0===n.syncDynamicLogged):(o=null,u=void 0,l=!1),t.hasSyncDynamicErrors&&o)throw l||console.error(o),new a.StaticGenBailoutError;let i=t.dynamicErrors;if(i.length){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let n=r(3100);function o(e){let t=n.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{type:"optional-catchall",param:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{type:t?"catchall-intercepted":"catchall",param:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{type:t?"dynamic-intercepted":"dynamic",param:e.slice(1,-1)}:null}},8011:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorage}});let n=r(6575)},5778:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return o},workUnitAsyncStorage:function(){return n.workUnitAsyncStorage}});let n=r(8886);function o(e){let t=n.workUnitAsyncStorage.getStore();if(t){if("request"===t.type)return t;if("prerender"===t.type||"prerender-ppr"===t.type||"prerender-legacy"===t.type)throw Error(`\`${e}\` cannot be called inside a prerender. This is a bug in Next.js.`);if("cache"===t.type)throw Error(`\`${e}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`);if("unstable-cache"===t.type)throw Error(`\`${e}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`)}throw Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`)}},2849:(e,t)=>{"use strict";function r(e,t){let r=new Promise((r,n)=>{e.addEventListener("abort",()=>{n(Error(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`unstable_after\`, or similar functions you may observe this error and you should handle it in that context.`))},{once:!0})});return r.catch(n),r}function n(){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeHangingPromise",{enumerable:!0,get:function(){return r}})},3100:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return u},isInterceptionRouteAppPath:function(){return a}});let n=r(3330),o=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function u(e){let t,r,a;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let u=t.split("/");if(u.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=u.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},3343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isPostpone",{enumerable:!0,get:function(){return n}});let r=Symbol.for("react.postpone");function n(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}},4467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return u},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return i},TemplateContext:function(){return l}});let n=r(9920)._(r(2265)),o=n.default.createContext(null),a=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(null),i=n.default.createContext(new Set)},5759:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},4736:(e,t)=>{"use strict";function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},6590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(9920)._(r(2265)).default.createContext({})},8056:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return u},PathnameContext:function(){return a},SearchParamsContext:function(){return o}});let n=r(2265),o=(0,n.createContext)(null),a=(0,n.createContext)(null),u=(0,n.createContext)(null)},5260:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},4427:(e,t)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isThenable",{enumerable:!0,get:function(){return r}})},5592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},8558:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},1427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createMutableActionQueue",{enumerable:!0,get:function(){return s}});let n=r(1507),o=r(643),a=r(2265),u=r(4427);function l(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?i({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:n.ACTION_REFRESH,origin:window.location.origin},t)))}async function i(e){let{actionQueue:t,action:r,setState:n}=e,o=t.state;t.pending=r;let a=r.payload,i=t.action(o,a);function s(e){r.discarded||(t.state=e,l(t,n),r.resolve(e))}(0,u.isThenable)(i)?i.then(s,e=>{l(t,n),r.reject(e)}):s(i)}function s(e){let t={state:e,dispatch:(e,r)=>(function(e,t,r){let o={resolve:r,reject:()=>{}};if(t.type!==n.ACTION_RESTORE){let e=new Promise((e,t)=>{o={resolve:e,reject:t}});(0,a.startTransition)(()=>{r(e)})}let u={payload:t,next:null,resolve:o.resolve,reject:o.reject};null===e.pending?(e.last=u,i({actionQueue:e,action:u,setState:r})):t.type===n.ACTION_NAVIGATE||t.type===n.ACTION_RESTORE?(e.pending.discarded=!0,e.last=u,e.pending.payload.type===n.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),i({actionQueue:e,action:u,setState:r})):(null!==e.last&&(e.last.next=u),e.last=u)})(t,e,r),action:async(e,t)=>(0,o.reducer)(e,t),pending:null,last:null};return t}},2707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(1465);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:a}=(0,n.parsePath)(e);return""+t+r+o+a}},3330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return u}});let n=r(8558),o=r(0);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function u(e){return e.replace(/\.rsc($|\?)/,"$1")}},6180:(e,t)=>{"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},4092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}});let r=/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i;function n(e){return r.test(e)}},1465:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},5121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(1465);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},7741:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},0:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}function n(e,t){if(e.includes(o)){let e=JSON.stringify(t);return"{}"!==e?o+"?"+e:o}return e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return o},addSearchParamsIfPageSegment:function(){return n},isGroupSegment:function(){return r}});let o="__PAGE__",a="__DEFAULT__"},8005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return a}});let n=r(1452)._(r(2265)),o=n.default.createContext(null);function a(e){let t=(0,n.useContext)(o);t&&t(e)}},2301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},5818:(e,t,r)=>{"use strict";var n=r(2265);function o(e){var t="https://react.dev/errors/"+e;if(1{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(580)},4887:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(5818)},2112:(e,t,r)=>{"use strict";var n=r(4887),o={stream:!0},a=new Map;function u(e){var t=r(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function l(){}function i(e){for(var t=e[1],n=[],o=0;os||35===s||114===s||120===s?(c=s,s=3,l++):(c=0,s=3);continue;case 2:44===(y=u[l++])?s=4:f=f<<4|(96u.length&&(y=-1)}var g=u.byteOffset+l;if(-1{"use strict";e.exports=r(2112)},6671:(e,t,r)=>{"use strict";e.exports=r(6703)},9598:(e,t)=>{"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(e,t,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in n={},t)"key"!==a&&(n[a]=t[a]);else n=t;return{$$typeof:r,type:e,key:o,ref:void 0!==(t=n.ref)?t:null,props:n}}t.Fragment=n,t.jsx=o,t.jsxs=o},5944:(e,t,r)=>{"use strict";var n=r(357),o=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,b={};function v(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}function m(){}function E(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||g}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=v.prototype;var P=E.prototype=new m;P.constructor=E,_(P,v.prototype),P.isPureReactComponent=!0;var R=Array.isArray,O={H:null,A:null,T:null,S:null},j=Object.prototype.hasOwnProperty;function S(e,t,r,n,a,u,l){return{$$typeof:o,type:e,key:t,ref:void 0!==(r=l.ref)?r:null,props:l}}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var T=/\/+/g;function M(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function x(){}function A(e,t,r){if(null==e)return e;var n=[],u=0;return!function e(t,r,n,u,l){var i,s,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case a:d=!0;break;case h:return e((d=t._init)(t._payload),r,n,u,l)}}if(d)return l=l(t),d=""===u?"."+M(t,0):u,R(l)?(n="",null!=d&&(n=d.replace(T,"$&/")+"/"),e(l,r,n,"",function(e){return e})):null!=l&&(w(l)&&(i=l,s=n+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+d,l=S(i.type,s,null,void 0,void 0,void 0,i.props)),r.push(l)),1;d=0;var p=""===u?".":u+":";if(R(t))for(var g=0;g{"use strict";e.exports=r(5944)},7437:(e,t,r)=>{"use strict";e.exports=r(9598)},5535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(3208).createAsyncLocalStorage)()},3208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return l}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return o?new o:new n}function u(e){return o?o.bind(e):n.bind(e)}function l(){return o?o.snapshot():function(e,...t){return e(...t)}}},6575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(3208).createAsyncLocalStorage)()},8886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workUnitAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(3208).createAsyncLocalStorage)()},3449:(e,t,r)=>{"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}r.r(t),r.d(t,{_:()=>n})},7614:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_:()=>o});var n=0;function o(e){return"__private_"+n+++"_"+e}},9920:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},1452:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=a?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=e[u]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:()=>o})}},e=>{var t=t=>e(e.s=t);e.O(0,[130],()=>t(1028)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/_app-6a626577ffa902a4.js b/_next/static/chunks/pages/_app-6a626577ffa902a4.js deleted file mode 100644 index 913b099..0000000 --- a/_next/static/chunks/pages/_app-6a626577ffa902a4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{1597:(_,n,p)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return p(2239)}])}},_=>{var n=n=>_(_.s=n);_.O(0,[774,179],()=>(n(1597),n(6036))),_N_E=_.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/_app-f70fb7d89127d793.js b/_next/static/chunks/pages/_app-f70fb7d89127d793.js new file mode 100644 index 0000000..e44ff96 --- /dev/null +++ b/_next/static/chunks/pages/_app-f70fb7d89127d793.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6840:(a,e,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return s(9935)}])},9935:(a,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>t});var n=s(5893),_=s(351),l=s.n(_);function t(a){let{Component:e,pageProps:s}=a;return(0,n.jsx)("main",{className:l().className,children:(0,n.jsx)(e,{...s})})}s(2416)},2416:()=>{},351:a=>{a.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_d65c78"}}},a=>{var e=e=>a(a.s=e);a.O(0,[774,179],()=>(e(6840),e(6036))),_N_E=a.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-a0d7d8a51ce591b1.js b/_next/static/chunks/pages/index-a0d7d8a51ce591b1.js new file mode 100644 index 0000000..63b1add --- /dev/null +++ b/_next/static/chunks/pages/index-a0d7d8a51ce591b1.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8312:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(578)}])},578:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>q});var a=t(5893),s=t(7294),i=t(1758),n=t(9386),l=t(9579),o=t(282),d=t(8671),c=t(512),m=t(8388);function u(){for(var e=arguments.length,r=Array(e),t=0;t{let{className:t,type:s,...i}=e;return(0,a.jsx)("input",{type:s,className:u("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...i})});x.displayName="Input";var p=t(8426),h=t(5139);let f=(0,h.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),g=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:n=!1,...l}=e,o=n?p.g7:"button";return(0,a.jsx)(o,{className:u(f({variant:s,size:i,className:t})),ref:r,...l})});g.displayName="Button";var y=t(5371),v=t(2469);let b=y.fC,j=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)(y.ck,{ref:r,className:u("border-b",t),...s})});j.displayName="AccordionItem";let N=s.forwardRef((e,r)=>{let{className:t,children:s,...i}=e;return(0,a.jsx)(y.h4,{className:"flex",children:(0,a.jsxs)(y.xz,{ref:r,className:u("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),...i,children:[s,(0,a.jsx)(v.v4q,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});N.displayName=y.xz.displayName;let w=s.forwardRef((e,r)=>{let{className:t,children:s,...i}=e;return(0,a.jsx)(y.VY,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,a.jsx)("div",{className:u("pb-4 pt-0",t),children:s})})});w.displayName=y.VY.displayName;var k=t(4418);let _=s.forwardRef((e,r)=>{let{className:t,children:s,...i}=e;return(0,a.jsxs)(k.fC,{ref:r,className:u("relative overflow-hidden",t),...i,children:[(0,a.jsx)(k.l_,{className:"h-full w-full rounded-[inherit]",children:s}),(0,a.jsx)(C,{}),(0,a.jsx)(k.Ns,{})]})});_.displayName=k.fC.displayName;let C=s.forwardRef((e,r)=>{let{className:t,orientation:s="vertical",...i}=e;return(0,a.jsx)(k.gb,{ref:r,orientation:s,className:u("flex touch-none select-none transition-colors","vertical"===s&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===s&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",t),...i,children:(0,a.jsx)(k.q4,{className:"relative flex-1 rounded-full bg-border"})})});function E(e){let{className:r,...t}=e;return(0,a.jsx)("div",{className:u("animate-pulse rounded-md bg-primary/10",r),...t})}C.displayName=k.gb.displayName;let R=(0,h.j)("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),z=s.forwardRef((e,r)=>{let{className:t,variant:s,...i}=e;return(0,a.jsx)("div",{ref:r,role:"alert",className:u(R({variant:s}),t),...i})});z.displayName="Alert";let A=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("h5",{ref:r,className:u("mb-1 font-medium leading-none tracking-tight",t),...s})});A.displayName="AlertTitle";let Z=s.forwardRef((e,r)=>{let{className:t,...s}=e;return(0,a.jsx)("div",{ref:r,className:u("text-sm [&_p]:leading-relaxed",t),...s})});Z.displayName="AlertDescription";var S=t(5480),F=t(3114);let T={keys:["category","items.title","items.content"],threshold:.4},P=e=>fetch(e).then(e=>e.json());function V(){let{data:e,error:r}=(0,i.ZP)("https://raw.githubusercontent.com/amine250/cheatsheet/refs/heads/data/cheat-sheet-data.json",P),[t,c]=(0,s.useState)(""),[m,u]=(0,s.useState)([]),[p,h]=(0,s.useState)({});(0,s.useEffect)(()=>{if(e){let r=new n.Z(e,T);""===t?u(e):u(r.search(t).map(e=>e.item))}},[t,e]);let f=(e,r)=>{navigator.clipboard.writeText(e),h({...p,[r]:!0}),setTimeout(()=>{h({...p,[r]:!1})},2e3)};if(r)return(0,a.jsx)("div",{className:"container mx-auto p-4 max-w-6xl",children:(0,a.jsxs)(z,{variant:"destructive",children:[(0,a.jsx)(A,{children:"Error"}),(0,a.jsx)(Z,{children:"Failed to load cheat sheet data. Please try again later."})]})});if(!e)return(0,a.jsxs)("div",{className:"container mx-auto p-4 max-w-6xl",children:[(0,a.jsx)("h1",{className:"text-4xl font-bold mb-6 text-primary text-center",children:"Amine's Cheat Sheet"}),(0,a.jsx)(E,{className:"w-full h-10 mb-6"}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[1,2,3,4].map(e=>(0,a.jsx)(E,{className:"w-full h-40"},e))})]});let y=m.filter((e,r)=>r%2==0),v=m.filter((e,r)=>r%2!=0);return(0,a.jsxs)("div",{className:"container mx-auto p-4 max-w-6xl",children:[(0,a.jsx)(S.E.h1,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-4xl font-bold mb-6 text-primary text-center",children:"Amine's Cheat Sheet"}),(0,a.jsxs)(S.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:"relative mb-6",children:[(0,a.jsx)(l.Z,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x,{type:"search",placeholder:"Search commands, scripts, etc...",value:t,onChange:e=>{c(e.target.value)},className:"pl-8 bg-background border-primary/20 focus:border-primary transition-all duration-300"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsx)(_,{className:"h-[calc(100vh-200px)] pr-4",children:(0,a.jsx)(F.M,{children:y.map((e,r)=>(0,a.jsx)(S.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,delay:.1*r},children:(0,a.jsx)(b,{type:"single",collapsible:!0,className:"mb-4",children:(0,a.jsxs)(j,{value:"item-".concat(r),className:"border border-primary/20 rounded-lg",children:[(0,a.jsx)(N,{className:"hover:bg-primary/5 px-4 py-2 rounded-t-lg transition-all duration-300",children:e.category}),(0,a.jsx)(w,{className:"px-4 py-2",children:e.items.map((r,t)=>(0,a.jsx)(b,{type:"single",collapsible:!0,className:"mb-2",children:(0,a.jsxs)(j,{value:"subitem-".concat(t),className:"border border-primary/10 rounded-md",children:[(0,a.jsx)(N,{className:"hover:bg-primary/5 px-3 py-1 rounded-t-md text-sm transition-all duration-300",children:r.title}),(0,a.jsxs)(w,{className:"px-3 py-2",children:[(0,a.jsx)("pre",{className:"bg-muted p-2 rounded-md overflow-x-auto text-sm",children:(0,a.jsx)("code",{children:r.content})}),(0,a.jsx)(g,{variant:"outline",size:"sm",className:"mt-2 transition-all duration-300 hover:bg-primary hover:text-primary-foreground",onClick:()=>f(r.content,"".concat(e.category,"-").concat(r.title)),children:p["".concat(e.category,"-").concat(r.title)]?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Z,{className:"w-4 h-4 mr-2"}),"Copied!"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Z,{className:"w-4 h-4 mr-2"}),"Copy to Clipboard"]})})]})]})},t))})]})})},e.category))})}),(0,a.jsx)(_,{className:"h-[calc(100vh-200px)] pr-4",children:(0,a.jsx)(F.M,{children:v.map((e,r)=>(0,a.jsx)(S.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,delay:.1*r},children:(0,a.jsx)(b,{type:"single",collapsible:!0,className:"mb-4",children:(0,a.jsxs)(j,{value:"item-".concat(r),className:"border border-primary/20 rounded-lg",children:[(0,a.jsx)(N,{className:"hover:bg-primary/5 px-4 py-2 rounded-t-lg transition-all duration-300",children:e.category}),(0,a.jsx)(w,{className:"px-4 py-2",children:e.items.map((r,t)=>(0,a.jsx)(b,{type:"single",collapsible:!0,className:"mb-2",children:(0,a.jsxs)(j,{value:"subitem-".concat(t),className:"border border-primary/10 rounded-md",children:[(0,a.jsx)(N,{className:"hover:bg-primary/5 px-3 py-1 rounded-t-md text-sm transition-all duration-300",children:r.title}),(0,a.jsxs)(w,{className:"px-3 py-2",children:[(0,a.jsx)("pre",{className:"bg-muted p-2 rounded-md overflow-x-auto text-sm",children:(0,a.jsx)("code",{children:r.content})}),(0,a.jsx)(g,{variant:"outline",size:"sm",className:"mt-2 transition-all duration-300 hover:bg-primary hover:text-primary-foreground",onClick:()=>f(r.content,"".concat(e.category,"-").concat(r.title)),children:p["".concat(e.category,"-").concat(r.title)]?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Z,{className:"w-4 h-4 mr-2"}),"Copied!"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Z,{className:"w-4 h-4 mr-2"}),"Copy to Clipboard"]})})]})]})},t))})]})})},e.category))})})]})]})}function q(){return(0,a.jsx)("main",{className:"min-h-screen bg-background",children:(0,a.jsx)(V,{})})}}},e=>{var r=r=>e(e.s=r);e.O(0,[409,807,888,774,179],()=>r(8312)),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/webpack-9797c74eb70e0633.js b/_next/static/chunks/webpack-9797c74eb70e0633.js new file mode 100644 index 0000000..5fc7abb --- /dev/null +++ b/_next/static/chunks/webpack-9797c74eb70e0633.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}},i=!0;try{e[o](a,a.exports,r),i=!1}finally{i&&delete t[o]}return a.exports}r.m=e,(()=>{var e=[];r.O=(t,o,n,a)=>{if(o){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[o,n,a];return}for(var u=1/0,i=0;i=a)&&Object.keys(r.O).every(e=>r.O[e](o[c]))?o.splice(c--,1):(l=!1,a{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,r.d(a,i),a}})(),r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>{},r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(o,n,a,i)=>{if(e[o]){e[o].push(n);return}if(void 0!==a)for(var u,l,c=document.getElementsByTagName("script"),d=0;d{u.onerror=u.onload=null,clearTimeout(p);var n=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),n&&n.forEach(e=>e(r)),t)return t(r)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=s.bind(null,u.onerror),u.onload=s.bind(null,u.onload),l&&document.head.appendChild(u)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={272:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n){if(n)o.push(n[2]);else if(272!=t){var a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);var i=r.p+r.u(t),u=Error();r.l(i,o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,n[1](u)}},"chunk-"+t,t)}else e[t]=0}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,u,l]=o,c=0;if(i.some(t=>0!==e[t])){for(n in u)r.o(u,n)&&(r.m[n]=u[n]);if(l)var d=l(r)}for(t&&t(o);c{"use strict";var e={},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}},i=!0;try{e[o](a,a.exports,r),i=!1}finally{i&&delete t[o]}return a.exports}r.m=e,(()=>{var e=[];r.O=(t,o,n,a)=>{if(o){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[o,n,a];return}for(var u=1/0,i=0;i=a)&&Object.keys(r.O).every(e=>r.O[e](o[c]))?o.splice(c--,1):(l=!1,a{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&n&&o;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>i[e]=()=>o[e]);return i.default=()=>o,r.d(a,i),a}})(),r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,o)=>(r.f[o](e,t),t),[])),r.u=e=>{},r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="_N_E:";r.l=(o,n,a,i)=>{if(e[o]){e[o].push(n);return}if(void 0!==a)for(var u,l,c=document.getElementsByTagName("script"),f=0;f{u.onerror=u.onload=null,clearTimeout(p);var n=e[o];if(delete e[o],u.parentNode&&u.parentNode.removeChild(u),n&&n.forEach(e=>e(r)),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=d.bind(null,u.onerror),u.onload=d.bind(null,u.onload),l&&document.head.appendChild(u)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:e=>e},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("nextjs#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="/_next/",(()=>{var e={272:0,376:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n){if(n)o.push(n[2]);else if(/^(272|376)$/.test(t))e[t]=0;else{var a=new Promise((r,o)=>n=e[t]=[r,o]);o.push(n[2]=a);var i=r.p+r.u(t),u=Error();r.l(i,o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;u.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",u.name="ChunkLoadError",u.type=a,u.request=i,n[1](u)}},"chunk-"+t,t)}}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,u,l]=o,c=0;if(i.some(t=>0!==e[t])){for(n in u)r.o(u,n)&&(r.m[n]=u[n]);if(l)var f=l(r)}for(t&&t(o);csvg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} \ No newline at end of file +*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:222.2 47.4% 11.2%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:222.2 84% 4.9%;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--radius:0.5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.relative{position:relative}.left-2{left:.5rem}.top-2\.5{top:.625rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mr-2{margin-right:.5rem}.mt-2{margin-top:.5rem}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-10{height:2.5rem}.h-2\.5{height:.625rem}.h-4{height:1rem}.h-40{height:10rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[calc\(100vh-200px\)\]{height:calc(100vh - 200px)}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-2\.5{width:.625rem}.w-4{width:1rem}.w-9{width:2.25rem}.w-full{width:100%}.max-w-6xl{max-width:72rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.touch-none{touch-action:none}.select-none{user-select:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.whitespace-nowrap{white-space:nowrap}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.rounded-t-md{border-top-left-radius:calc(var(--radius) - 2px);border-top-right-radius:calc(var(--radius) - 2px)}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-input{border-color:hsl(var(--input))}.border-primary\/10{border-color:hsl(var(--primary)/.1)}.border-primary\/20{border-color:hsl(var(--primary)/.2)}.border-l-transparent{border-left-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-border{background-color:hsl(var(--border))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:transparent}.p-2{padding:.5rem}.p-4{padding:1rem}.p-\[1px\]{padding:1px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem}.pb-4,.py-4{padding-bottom:1rem}.pl-8{padding-left:2rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.text-center{text-align:center}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}body{font-family:Arial,Helvetica,sans-serif}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/5:hover{background-color:hsl(var(--primary)/.05)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-primary:focus{border-color:hsl(var(--primary))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}@media (min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/55c55f0601d81cf3-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/26a46d62cd723877-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/97e0cb1ae144a2a9-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/581909926a08bbc8-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/6d93bde91c0c2823-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/a34f9d1faa5f3315-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:107.06%}.__className_d65c78{font-family:Inter,Inter Fallback;font-style:normal} \ No newline at end of file diff --git a/_next/static/goWaumsO4XFQfwqvVFCjl/_buildManifest.js b/_next/static/goWaumsO4XFQfwqvVFCjl/_buildManifest.js new file mode 100644 index 0000000..9f65b6d --- /dev/null +++ b/_next/static/goWaumsO4XFQfwqvVFCjl/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(e,r,s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:1,errorRate:1e-4,numBits:20,numHashes:14,bitArray:[1,0,0,0,e,e,1,e,e,e,r,r,e,e,r,r,r,r,e,e]},__routerFilterDynamic:{numItems:e,errorRate:1e-4,numBits:e,numHashes:null,bitArray:[]},"/":["static/chunks/ee9ce975-eb0ebc08aa637cde.js","static/chunks/807-220f21db0083f553.js","static/chunks/pages/index-a0d7d8a51ce591b1.js"],"/_error":["static/chunks/pages/_error-1be831200e60c5c0.js"],sortedPages:["/","/_app","/_error"]}}(0,1,0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/8PMJXEbgunJXtIe7Bx6MA/_ssgManifest.js b/_next/static/goWaumsO4XFQfwqvVFCjl/_ssgManifest.js similarity index 100% rename from _next/static/8PMJXEbgunJXtIe7Bx6MA/_ssgManifest.js rename to _next/static/goWaumsO4XFQfwqvVFCjl/_ssgManifest.js diff --git a/_next/static/media/26a46d62cd723877-s.woff2 b/_next/static/media/26a46d62cd723877-s.woff2 new file mode 100644 index 0000000..3a27e63 Binary files /dev/null and b/_next/static/media/26a46d62cd723877-s.woff2 differ diff --git a/_next/static/media/4473ecc91f70f139-s.p.woff b/_next/static/media/4473ecc91f70f139-s.p.woff deleted file mode 100644 index 1b62daa..0000000 Binary files a/_next/static/media/4473ecc91f70f139-s.p.woff and /dev/null differ diff --git a/_next/static/media/463dafcda517f24f-s.p.woff b/_next/static/media/463dafcda517f24f-s.p.woff deleted file mode 100644 index f2ae185..0000000 Binary files a/_next/static/media/463dafcda517f24f-s.p.woff and /dev/null differ diff --git a/_next/static/media/55c55f0601d81cf3-s.woff2 b/_next/static/media/55c55f0601d81cf3-s.woff2 new file mode 100644 index 0000000..bcf38fd Binary files /dev/null and b/_next/static/media/55c55f0601d81cf3-s.woff2 differ diff --git a/_next/static/media/581909926a08bbc8-s.woff2 b/_next/static/media/581909926a08bbc8-s.woff2 new file mode 100644 index 0000000..b419d43 Binary files /dev/null and b/_next/static/media/581909926a08bbc8-s.woff2 differ diff --git a/_next/static/media/6d93bde91c0c2823-s.woff2 b/_next/static/media/6d93bde91c0c2823-s.woff2 new file mode 100644 index 0000000..47b01cc Binary files /dev/null and b/_next/static/media/6d93bde91c0c2823-s.woff2 differ diff --git a/_next/static/media/97e0cb1ae144a2a9-s.woff2 b/_next/static/media/97e0cb1ae144a2a9-s.woff2 new file mode 100644 index 0000000..7fdf0b9 Binary files /dev/null and b/_next/static/media/97e0cb1ae144a2a9-s.woff2 differ diff --git a/_next/static/media/a34f9d1faa5f3315-s.p.woff2 b/_next/static/media/a34f9d1faa5f3315-s.p.woff2 new file mode 100644 index 0000000..0d91b7a Binary files /dev/null and b/_next/static/media/a34f9d1faa5f3315-s.p.woff2 differ diff --git a/_next/static/media/df0a9ae256c0569c-s.woff2 b/_next/static/media/df0a9ae256c0569c-s.woff2 new file mode 100644 index 0000000..072229b Binary files /dev/null and b/_next/static/media/df0a9ae256c0569c-s.woff2 differ diff --git a/index.html b/index.html index bc2f339..18537de 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Amine's Cheat Sheet

Amine's Cheat Sheet

\ No newline at end of file +

Amine's Cheat Sheet

\ No newline at end of file diff --git a/index.txt b/index.txt deleted file mode 100644 index 52b31db..0000000 --- a/index.txt +++ /dev/null @@ -1,15 +0,0 @@ -4:"$Sreact.fragment" -5:I[9275,[],""] -6:I[1343,[],""] -7:I[3629,["310","static/chunks/0e5ce63c-1594bf3361e53bcc.js","421","static/chunks/421-f4976e6dcea7c745.js","931","static/chunks/app/page-d62dc11992186fbb.js"],"default",1] -8:I[3120,[],"OutletBoundary"] -a:I[3120,[],"MetadataBoundary"] -c:I[3120,[],"ViewportBoundary"] -e:I[6130,[],""] -1:HL["/_next/static/media/4473ecc91f70f139-s.p.woff","font",{"crossOrigin":"","type":"font/woff"}] -2:HL["/_next/static/media/463dafcda517f24f-s.p.woff","font",{"crossOrigin":"","type":"font/woff"}] -3:HL["/_next/static/css/2f9b9c3bcce26887.css","style"] -0:{"P":null,"b":"8PMJXEbgunJXtIe7Bx6MA","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$4","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2f9b9c3bcce26887.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__variable_1e4310 __variable_c3aa02 antialiased","children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]]}],{"children":["__PAGE__",["$","$4","c",{"children":[["$","main",null,{"className":"min-h-screen bg-background","children":["$","$L7",null,{}]}],null,["$","$L8",null,{"children":"$L9"}]]}],{},null]},null],["$","$4","h",{"children":[null,["$","$4","MsSRpaU2K3m2Y8K5LuYys",{"children":[["$","$La",null,{"children":"$Lb"}],["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust"}]]}]]}]]],"m":"$undefined","G":"$e","s":false,"S":true} -d:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -b:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Amine's Cheat Sheet"}],["$","meta","2",{"name":"description","content":"A curated commands and snippets for daily use"}],["$","link","3",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}]] -9:null