(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,367908,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=(0,e.r(186026).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=r,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},962801,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getAssetPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(206619);function a(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript to be a ",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?i.createElement(a,{is:r.is}):i.createElement(a)}}o[e$]=t,o[eq]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,co(o,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&lc(t)}}return lm(t),t.subtreeFlags&=-0x2000001,lf(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&lc(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(u(166));if(e=en.current,rZ(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rV))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[e$]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||cn(e.nodeValue,n)))||rQ(t,!0)}else(e=cs(e).createTextNode(r))[e$]=t,t.stateNode=e}return lm(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rZ(t),null!==n){if(null===e){if(!r)throw Error(u(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(u(557));e[e$]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lm(t),e=!1}else n=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return oe(t),t;return oe(t),null}if(0!=(128&t.flags))throw Error(u(558))}return lm(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=rZ(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(u(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(u(317));a[e$]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lm(t),a=!1}else a=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return oe(t),t;return oe(t),null}}if(oe(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),lp(t,t.updateQueue),lm(t),null;case 4:return eo(),null===e&&s2(t.stateNode.containerInfo),t.flags|=0x4000000,lm(t),null;case 10:return r6(t.type),lm(t),null;case 19:if(or(t),null===(r=t.memoizedState))return lm(t),null;if(a=0!=(128&t.flags),null===(o=r.rendering))if(a)lh(r,!1);else{if(0!==uL||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=oa(e))){for(t.flags|=128,lh(r,!1),t.updateQueue=e=o.updateQueue,lp(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rS(n,e),n=n.sibling;return on(t,1&ot.current|2),rK&&rj(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ev()>uK&&(t.flags|=128,a=!0,lh(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=oa(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,lp(t,e),lh(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!o.alternate&&!rK)return lm(t),null}else 2*ev()-r.renderingStartTime>uK&&0x20000000!==n&&(t.flags|=128,a=!0,lh(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}if(null!==r.tail){e=r.tail;e:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ev(),e.sibling=null,o=ot.current,o=a?1&o|2:1&o,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||rK?on(t,o):(n=o,J(a4,t),J(ot,n),null===a8&&(a8=t)),rK&&rj(t,r.treeForkCount),e}return lm(t),null;case 22:case 23:return oe(t),a3(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(lm(t),6&t.subtreeFlags&&(t.flags|=8192)):lm(t),null!==(n=t.updateQueue)&&lp(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&Z(ab),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r6(au),lm(t),null;case 25:return null;case 30:return t.flags|=0x2000000,lm(t),null}throw Error(u(156,t.tag))}(t.alternate,t,uI);if(null!==n){uN=n;return}if(null!==(t=t.sibling)){uN=t;return}uN=t=e}while(null!==t)0===uL&&(uL=5)}function sg(e,t){do{var n=function(e,t){switch(rB(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r6(au),eo(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return el(t),null;case 31:if(null!==t.memoizedState){if(oe(t),null===t.alternate)throw Error(u(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(oe(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(u(340));rJ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return or(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return eo(),null;case 10:return r6(t.type),null;case 22:case 23:return oe(t),a3(),null!==e&&Z(ab),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r6(au),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,uN=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){uN=e;return}uN=e=n}while(null!==e)uL=6,uN=null}function sv(e,t,n,r,a,o,i,l,s,c,f,d){e.cancelPendingCommit=null;do sx();while(0!==uG)if(0!=(6&ux))throw Error(u(327));if(null!==t){if(t===e.current)throw Error(u(177));e===u_&&(uN=u_=null,uP=0),uY=t,uQ=e,uX=n,uJ=a,u0=r,function(e,t,n,r,a,o,i){var l,u=t.lanes|t.childLanes;if(uZ=u,!function(e,t,n,r,a,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,u=e.expirationTimes,s=e.hiddenUpdates;for(n=i&~n;0fp){l.length=i;break}d=new Promise(cP.bind(d)),l.push(d)}}}return 0g&&(i=g,g=m,m=i);var v=nH(l,m),y=nH(l,g);if(v&&y&&(1!==p.rangeCount||p.anchorNode!==v.node||p.anchorOffset!==v.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var b=f.createRange();b.setStart(v.node,v.offset),p.removeAllRanges(),m>g?(p.addRange(b),p.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),p.addRange(b))}}}}for(f=[],p=l;p=p.parentNode;)1===p.nodeType&&f.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;ln?32:n,$.T=null,n=uJ,uJ=null;var o=uQ,i=uX;if(uG=0,uY=uQ=null,uX=0,0!=(6&ux))throw Error(u(331));var l=ux;if(ux|=4,uw(o.current),up(o,o.current,i,n),ux=l,sU(0,!1),e_&&"function"==typeof e_.onPostCommitFiberRoot)try{e_.onPostCommitFiberRoot(ex,o)}catch(e){}return!0}finally{q.p=a,$.T=r,sE(e,t)}}function sN(e,t,n){t=rT(n,t),t=iF(e.stateNode,t,2),null!==(e=aK(e,t,2))&&(eM(e,2),sF(e))}function sP(e,t,n){if(3===e.tag)sN(e,e,n);else for(;null!==t;){if(3===t.tag){sN(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===uq||!uq.has(r))){e=rT(n,e),null!==(r=aK(t,n=iU(2),2))&&(iB(n,r,t,e),eM(r,2),sF(r));break}}t=t.return}}function sT(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new uE;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(uA=!0,a.add(n),e=sC.bind(null,e,t,n),t.then(e,e))}function sC(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,u_===e&&(uP&n)===n&&(4===uL||3===uL&&(0x3c00000&uP)===uP&&300>ev()-uV?0==(2&ux)&&so(e,0):uM|=n,uF===uP&&(uF=0)),sF(e)}function sO(e,t){0===t&&(t=ez()),null!==(e=rp(e,t))&&(eM(e,t),sF(e))}function sR(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sO(e,n)}function sA(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(u(314))}null!==r&&r.delete(t),sO(e,n)}var sI=null,sL=null,sz=!1,sD=!1,sM=!1,sj=0;function sF(e){e!==sL&&null===e.next&&(null===sL?sI=sL=e:sL=sL.next=e),sD=!0,sz||(sz=!0,cv(function(){0!=(6&ux)?ep(eb,sB):sH()}))}function sU(e,t){if(!sM&&sD){sM=!0;do for(var n=!1,r=sI;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var o=0;else{var i=r.suspendedLanes,l=r.pingedLanes;o=0xc000095&(o=(1 title"):null)}function fs(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function fc(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function ff(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function fd(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=ff(t),e.suspenseyImages.push(t)),e=fg.bind(e),t.decode().then(e,e))}var fp=0;function fh(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)fy(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function fm(){this.count--,fh(this)}function fg(){this.imgCount--,fh(this)}var fv=null;function fy(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,fv=new Map,t.forEach(fb,e),fv=null,fm.call(e))}function fb(e,t){if(!(4&t.state.loading)){var n=fv.get(e);if(n)var r=n.get(null);else{n=new Map,fv.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;otypeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var f4=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!f4.isDisabled&&f4.supportsFiber)try{ex=f4.inject({bundleType:0,version:"19.3.0-canary-3f0b9e61-20260317",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.3.0-canary-3f0b9e61-20260317"}),e_=f4}catch(e){}}n.createRoot=function(e,t){if(!s(e))throw Error(u(299));var n=!1,r="",a=iL,o=iz,i=iD;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=fk(e,1,!1,null,null,n,r,null,a,o,i,f0),e[eG]=t.current,s2(e),new f1(t)},n.hydrateRoot=function(e,t,n){if(!s(e))throw Error(u(299));var r,a=!1,o="",i=iL,l=iz,c=iD,f=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onUncaughtError&&(i=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(f=n.formState)),(t=fk(e,1,!0,t,null!=n?n:null,a,o,f,i,l,c,f0)).context=(r=null,rg),n=t.current,(o=aW(a=eB(a=u6()))).callback=null,aK(n,o,a),n=a,t.current.lanes=n,eM(t,n),sF(t),e[eG]=t.current,s2(e),new f2(t)},n.version="19.3.0-canary-3f0b9e61-20260317"},400685,(e,t,n)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(7510)},978552,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={onCaughtError:function(){return d},onUncaughtError:function(){return p}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(481258),i=e.r(391308),l=e.r(966501),u=e.r(420814),s=e.r(671966),c=o._(e.r(475177)),f={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function d(e,t){let n,r=t.errorBoundary?.constructor;if(n=n||r===s.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return p(e);(0,l.isBailoutToCSRError)(e)||(0,i.isNextRouterError)(e)||f.originConsoleError(e)}function p(e){(0,l.isBailoutToCSRError)(e)||(0,i.isNextRouterError)(e)||(0,u.reportGlobalError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},512712,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppRouterAnnouncer",{enumerable:!0,get:function(){return i}});let r=e.r(539922),a=e.r(493449),o="next-route-announcer";function i({tree:e}){let[t,n]=(0,r.useState)(null);(0,r.useEffect)(()=>(n(function(){let e=document.getElementsByName(o)[0];if(e?.shadowRoot?.childNodes[0])return e.shadowRoot.childNodes[0];{let e=document.createElement(o);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(o)[0];e?.isConnected&&document.body.removeChild(e)}),[]);let[l,u]=(0,r.useState)(""),s=(0,r.useRef)(void 0);return(0,r.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&&u(e),s.current=e},[e]),t?(0,a.createPortal)(l,t):null}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},402288,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findHeadInCache",{enumerable:!0,get:function(){return o}});let r=e.r(48826),a=e.r(487051);function o(e,t){return function e(t,n,o,i){if(0===Object.keys(n).length)return[t,o,i];let l=Object.keys(n).filter(e=>"children"!==e);"children"in n&&l.unshift("children");let u=t.slots;if(null!==u)for(let t of l){let[i,l]=n[t];if(i===r.DEFAULT_SEGMENT_KEY)continue;let s=u[t];if(!s)continue;let c=e(s,l,o+"/"+(0,a.createRouterCacheKey)(i),o+"/"+(0,a.createRouterCacheKey)(i,!0));if(c)return c}return null}(e,t,"","")}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},913256,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={GracefulDegradeBoundary:function(){return l},default:function(){return u}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let o=e.r(648198),i=e.r(539922);class l extends i.Component{constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,i.createRef)()}static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEach(([t,n])=>{e.setAttribute(t,n)})}render(){let{hasError:e}=this.state;return("u">typeof window&&!this.rootHtml&&(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let n=0;n{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return s}});let r=e.r(481258),a=e.r(648198);e.r(539922);let o=r._(e.r(913256)),i=e.r(671966),l=e.r(70631),u="u">typeof window&&(0,l.isBot)(window.navigator.userAgent);function s({children:e,errorComponent:t,errorStyles:n,errorScripts:r}){return u?(0,a.jsx)(o.default,{children:e}):(0,a.jsx)(i.ErrorBoundary,{errorComponent:t,errorStyles:n,errorScripts:r,children:e})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},10629,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return I}});let r=e.r(481258),a=e.r(744066),o=e.r(648198),i=a._(e.r(539922)),l=e.r(897573),u=e.r(754842),s=e.r(799627),c=e.r(327897),f=e.r(11285),d=e.r(102283),p=e.r(512712),h=e.r(484788),m=e.r(402288),g=e.r(429716),v=e.r(68791),y=e.r(266573),b=e.r(455654),w=e.r(697375),S=e.r(74319),k=e.r(604106),E=e.r(214766),x=e.r(875781),_=r._(e.r(360334)),N=r._(e.r(475177)),P=e.r(504627);e.r(186026);let T={};function C({appRouterState:e}){return(0,i.useInsertionEffect)(()=>{let{tree:t,pushRef:n,canonicalUrl:r,renderedSearch:a}=e,o={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:t,renderedSearch:a}};n.pendingPush&&(0,s.createHrefFromUrl)(new URL(window.location.href))!==r?(n.pendingPush=!1,window.history.pushState(o,"",r)):window.history.replaceState(o,"",r),(0,d.setLastCommittedTree)(t)},[e]),(0,i.useEffect)(()=>{(0,x.pingVisibleLinks)(e.nextUrl,e.tree)},[e.nextUrl,e.tree]),null}function O(e){null==e&&(e={});let t=window.history.state,n=t?.__NA;n&&(e.__NA=n);let r=t?.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function R({headCacheNode:e}){let t=null!==e?e.head:null,n=null!==e?e.prefetchHead:null,r=null!==n?n:t;return(0,i.useDeferredValue)(t,r)}function A({actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r}){let a,s=(0,f.useActionQueue)(e),{canonicalUrl:d}=s,{searchParams:w,pathname:x}=(0,i.useMemo)(()=>{let e=new URL(d,"u"{let e=(0,b.extractSourcePageFromFlightRouterState)(s.tree);void 0!==e?window.next.__internal_src_page=e:delete window.next.__internal_src_page},[s.tree]),(0,i.useEffect)(()=>{function e(e){e.persisted&&window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE&&(T.pendingMpaPath=void 0,(0,f.dispatchAppRouterAction)({type:u.ACTION_RESTORE,url:new URL(window.location.href),historyState:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,i.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,E.isRedirectError)(t)){e.preventDefault();let n=(0,k.getURLFromRedirectError)(t);"push"===(0,k.getRedirectTypeFromError)(t)?S.publicAppRouterInstance.push(n,{}):S.publicAppRouterInstance.replace(n,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:N}=s;if(N.mpaNavigation){if(T.pendingMpaPath!==d){let e=window.location;N.pendingPush?e.assign(d):e.replace(d),T.pendingMpaPath=d}throw g.unresolvedThenable}(0,i.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{let t=window.location.href,n=window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,i.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:u.ACTION_RESTORE,url:new URL(e??t,t),historyState:n})})};window.history.pushState=function(t,r,a){return t?.__NA||t?._N||(t=O(t),a&&n(a)),e(t,r,a)},window.history.replaceState=function(e,r,a){return e?.__NA||e?._N||(e=O(e),a&&n(a)),t(e,r,a)};let r=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,i.startTransition)(()=>{(0,S.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[]);let{cache:I,tree:L,nextUrl:z,focusAndScrollRef:D,previousNextUrl:M}=s,j=(0,i.useMemo)(()=>(0,m.findHeadInCache)(I,L[1]),[I,L]),F=(0,i.useMemo)(()=>(0,b.getSelectedParams)(L),[L]),U=(0,i.useMemo)(()=>({parentTree:L,parentCacheNode:I,parentSegmentPath:null,parentParams:{},parentLoadingData:null,debugNameContext:"/",url:d,isActive:!0}),[L,I,d]),B=(0,i.useMemo)(()=>({tree:L,focusAndScrollRef:D,nextUrl:z,previousNextUrl:M}),[L,D,z,M]);if(null!==j){let[e,t,n]=j;a=(0,o.jsx)(R,{headCacheNode:e},"u"{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createInitialRouterState",{enumerable:!0,get:function(){return d}});let r=e.r(799627),a=e.r(455654),o=e.r(202708),i=e.r(821270),l=e.r(156970),u=e.r(471038),s=e.r(598273),c=e.r(991484),f=e.r(104510);function d({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:n,location:p}){let{c:h,f:m,q:g,i:v,S:y,s:b,l:w,h:S,p:k,d:E}=t,x=h.join("/"),{tree:_,seedData:N,head:P}=(0,o.getFlightDataPartsFromPath)(m[0]),T=p?(0,r.createHrefFromUrl)(p):x,C={metadataVaryPath:null},O=(0,l.convertRootFlightRouterStateToRouteTree)(_,g,C),R=C.metadataVaryPath,A=(0,i.createInitialCacheNodeForHydration)(e,O,N,P,(0,s.computeDynamicStaleAt)(e,E??s.UnknownDynamicStaleTime));if(null!==p&&null!==R){if((0,f.discoverKnownRoute)(Date.now(),p.pathname,null,null,O,R,v,T,y,!1),null!==N&&void 0!==b)if(void 0!==w&&null!=n)(0,c.decodeStaticStage)(n,w,void 0).then(async e=>{let t=Date.now(),n=await (0,l.getStaleAt)(t,e.s);(0,l.writeStaticStageResponseIntoCache)(t,e.f,void 0,e.h,n,_,g,!0)}).catch(()=>{});else{let e=Date.now();(0,l.getStaleAt)(e,b).then(t=>{(0,l.writeStaticStageResponseIntoCache)(e,m,void 0,S,t,_,g,!1)}).catch(()=>{}),n?.cancel()}else n?.cancel();null!=k&&(0,l.processRuntimePrefetchStream)(Date.now(),k,_,g).then(e=>{null!==e&&(0,l.writeDynamicRenderResponseIntoCache)(Date.now(),u.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.staleAt,e.navigationSeed,null)}).catch(()=>{})}return{tree:A.route,cache:A.node,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{scrollRef:null,forceScroll:!1,onlyHashChange:!1,hashFragment:null},canonicalUrl:T,renderedSearch:g,nextUrl:((0,a.extractPathFromFlightRouterState)(_)||p?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},219737,(e,t,n)=>{"use strict";let r,a,o,i;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"hydrate",{enumerable:!0,get:function(){return F}});let l=e.r(481258),u=e.r(648198);e.r(222548);let s=l._(e.r(400685)),c=l._(e.r(539922)),f=e.r(154973),d=e.r(205195),p=e.r(779329),h=e.r(978552),m=e.r(603864),g=e.r(662195),v=e.r(74319),y=l._(e.r(10629)),b=e.r(557827);e.r(897573);let w=e.r(202708),S=e.r(186026),k=e.r(67246),E=f.createFromReadableStream,x=f.createFromFetch,_=document,N=self.__next_instant_test?self.__next_instant_test:void 0,P=new TextEncoder,T=!1,C=!1,O=null;function R(e){if(0===e[0])o=[];else if(1===e[0]){if(!o)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});i?i.enqueue(P.encode(e[1])):o.push(e[1])}else if(2===e[0])O=e[1];else if(3===e[0]){if(!o)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let n=atob(e[1]),r=new Uint8Array(n.length);for(var t=0;t{e.enqueue("string"==typeof t?P.encode(t):t)}),T&&!C)&&(null===e.desiredSize||e.desiredSize(0,w.createInitialRSCPayloadFromFallbackPrerender)(await N,e));else if(window.__NEXT_CLIENT_RESUME){let e=window.__NEXT_CLIENT_RESUME;a=Promise.resolve(x(e,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r})).then(async t=>(0,w.createInitialRSCPayloadFromFallbackPrerender)(await e,t))}else a=E(L,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,startTime:0});function z({initialRSCPayload:e,actionQueue:t,webSocket:n,staticIndicatorState:r}){return(0,u.jsx)(y.default,{actionQueue:t,globalErrorState:e.G,webSocket:n,staticIndicatorState:r})}let D=c.default.StrictMode;function M({children:e}){return e}let j={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:p.onRecoverableError,onCaughtError:h.onCaughtError,onUncaughtError:h.onUncaughtError};async function F(e,t){let n,r,o=await a;o.b?(0,k.setNavigationBuildId)(o.b):(0,k.setNavigationBuildId)((0,S.getDeploymentId)());let i=Date.now(),l=(0,v.createMutableActionQueue)((0,b.createInitialRouterState)({navigatedAt:i,initialRSCPayload:o,initialFlightStreamForCache:null,location:window.location}),e),f=(0,u.jsx)(D,{children:(0,u.jsx)(d.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,u.jsx)(M,{children:(0,u.jsx)(z,{initialRSCPayload:o,actionQueue:l,webSocket:r,staticIndicatorState:n})})})});"__next_error__"===document.documentElement.id?s.default.createRoot(_,j).render(f):c.default.startTransition(()=>{s.default.hydrateRoot(_,f,{...j,formState:O})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},843633,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(367908);let r=e.r(941811);e.r(779329),window.next.turbopack=!0,self.__webpack_hash__="";let a=e.r(570369);(0,r.appBootstrap)(t=>{let{hydrate:n}=e.r(219737);n(a,t)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]);