1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d56dbc2c-0dd6-4117-bdae-6eefc7b25b41",e._sentryDebugIdIdentifier="sentry-dbid-d56dbc2c-0dd6-4117-bdae-6eefc7b25b41")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7753],{65157:function(e,t){"use strict";function n(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return n}})},91572:function(){"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(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),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}})},40257:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(44227)},1634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return i}});let r=n(68498),o=n(33068);function i(e,t){return(0,o.normalizePathTrailingSlash)((0,r.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)},75266:function(e,t){"use strict";function n(e){var t,n;t=self.__next_s,n=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[n,r]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(r)for(let e in r)"children"!==e&&o.setAttribute(e,r[e]);n?(o.src=n,o.onload=()=>e(),o.onerror=t):r&&(o.innerHTML=r.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return n}}),window.next={version:"14.2.35",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)},83079:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return o}});let r=n(12846);async function o(e,t){let n=(0,r.getServerActionDispatcher)();if(!n)throw Error("Invariant: missing action dispatcher.");return new Promise((r,o)=>{n({actionId:e,actionArgs:t,resolve:r,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)},92304:function(e,t,n){"use strict";let r,o;
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return C}});let i=n(60917),a=n(52140),s=n(57437);n(91572);let u=i._(n(34040)),l=a._(n(2265)),c=n(6671),d=n(48701),f=i._(n(61404)),p=n(83079),h=n(89721),g=n(2103);n(70647);let m=window.console.error;window.console.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(0,h.isNextRouterError)(t[0])||m.apply(window.console,t)},window.addEventListener("error",e=>{if((0,h.isNextRouterError)(e.error)){e.preventDefault();return}});let _=document,y=new TextEncoder,v=!1,b=!1,S=null;function E(e){if(0===e[0])r=[];else if(1===e[0]){if(!r)throw Error("Unexpected server data: missing bootstrap script.");o?o.enqueue(y.encode(e[1])):r.push(e[1])}else 2===e[0]&&(S=e[1])}let w=function(){o&&!b&&(o.close(),b=!0,r=void 0),v=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",w,!1):w();let R=self.__next_f=self.__next_f||[];R.forEach(E),R.push=E;let P=new ReadableStream({start(e){r&&(r.forEach(t=>{e.enqueue(y.encode(t))}),v&&!b&&(e.close(),b=!0,r=void 0)),o=e}}),O=(0,c.createFromReadableStream)(P,{callServer:p.callServer});function T(){return(0,l.use)(O)}let x=l.default.StrictMode;function j(e){let{children:t}=e;return t}function C(){let e=(0,g.createMutableActionQueue)(),t=(0,s.jsx)(x,{children:(0,s.jsx)(d.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,s.jsx)(g.ActionQueueContext.Provider,{value:e,children:(0,s.jsx)(j,{children:(0,s.jsx)(T,{})})})})}),n=window.__next_root_layout_missing_tags,r=!!(null==n?void 0:n.length),o={onRecoverableError:f.default};"__next_error__"===document.documentElement.id||r?u.default.createRoot(_,o).render(t):l.default.startTransition(()=>u.default.hydrateRoot(_,t,{...o,formState: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)},54278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(19506),(0,n(75266).appBootstrap)(()=>{let{hydrate:e}=n(92304);n(12846),n(4707),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)},19506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(65157);{let e=n.u;n.u=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return encodeURI(e(...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)},90295:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});let r=n(47149);("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)},6495:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppRouterAnnouncer",{enumerable:!0,get:function(){return a}});let r=n(2265),o=n(54887),i="next-route-announcer";function a(e){let{tree:t}=e,[n,a]=(0,r.useState)(null);(0,r.useEffect)(()=>(a(function(){var e;let t=document.getElementsByName(i)[0];if(null==t?void 0:null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(i);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(i)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[s,u]=(0,r.useState)(""),l=(0,r.useRef)();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!==l.current&&l.current!==e&&u(e),l.current=e},[t]),n?(0,o.createPortal)(s,n):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6866:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION:function(){return r},FLIGHT_PARAMETERS:function(){return u},NEXT_DID_POSTPONE_HEADER:function(){return c},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_STATE_TREE:function(){return o},NEXT_RSC_UNION_QUERY:function(){return l},NEXT_URL:function(){return a},RSC_CONTENT_TYPE_HEADER:function(){return s},RSC_HEADER:function(){return n}});let n="RSC",r="Next-Action",o="Next-Router-State-Tree",i="Next-Router-Prefetch",a="Next-Url",s="text/x-component",u=[[n],[o],[i]],l="_rsc",c="x-nextjs-postponed";("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)},12846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createEmptyCacheNode:function(){return A},default:function(){return N},getServerActionDispatcher:function(){return O},urlToUrlWithoutFlightMarker:function(){return x}});let r=n(52140),o=n(57437),i=r._(n(2265)),a=n(61956),s=n(24673),u=n(33456),l=n(79060),c=n(47744),d=n(61060),f=n(82952),p=n(86146),h=n(1634),g=n(6495),m=n(4123),_=n(39320),y=n(38137),v=n(6866),b=n(35076),S=n(11283),E=n(84541),w="undefined"==typeof window,R=w?null:new Map,P=null;function O(){return P}let T={};function x(e){let t=new URL(e,location.origin);return t.searchParams.delete(v.NEXT_RSC_UNION_QUERY),t}function j(e){return e.origin!==window.location.origin}function C(e){let{appRouterState:t,sync:n}=e;return(0,i.useInsertionEffect)(()=>{let{tree:e,pushRef:r,canonicalUrl:o}=t,i={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};r.pendingPush&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==o?(r.pendingPush=!1,window.history.pushState(i,"",o)):window.history.replaceState(i,"",o),n(t)},[t,n]),null}function A(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null}}function k(e){null==e&&(e={});let t=window.history.state,n=null==t?void 0:t.__NA;n&&(e.__NA=n);let r=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function M(e){let{headCacheNode:t}=e,n=null!==t?t.head:null,r=null!==t?t.prefetchHead:null,o=null!==r?r:n;return(0,i.useDeferredValue)(n,o)}function I(e){let t,{buildId:n,initialHead:r,initialTree:u,urlParts:d,initialSeedData:v,couldBeIntercepted:O,assetPrefix:x,missingSlots:A}=e,I=(0,i.useMemo)(()=>(0,f.createInitialRouterState)({buildId:n,initialSeedData:v,urlParts:d,initialTree:u,initialParallelRoutes:R,location:w?null:window.location,initialHead:r,couldBeIntercepted:O}),[n,v,d,u,r,O]),[N,D,L]=(0,c.useReducerWithReduxDevtools)(I);(0,i.useEffect)(()=>{R=null},[]);let{canonicalUrl:$}=(0,c.useUnwrapState)(N),{searchParams:U,pathname:F}=(0,i.useMemo)(()=>{let e=new URL($,"undefined"==typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,S.hasBasePath)(e.pathname)?(0,b.removeBasePath)(e.pathname):e.pathname}},[$]),H=(0,i.useCallback)(e=>{let{previousTree:t,serverResponse:n}=e;(0,i.startTransition)(()=>{D({type:s.ACTION_SERVER_PATCH,previousTree:t,serverResponse:n})})},[D]),B=(0,i.useCallback)((e,t,n)=>{let r=new URL((0,h.addBasePath)(e),location.href);return D({type:s.ACTION_NAVIGATE,url:r,isExternalUrl:j(r),locationSearch:location.search,shouldScroll:null==n||n,navigateType:t})},[D]);P=(0,i.useCallback)(e=>{(0,i.startTransition)(()=>{D({...e,type:s.ACTION_SERVER_ACTION})})},[D]);let z=(0,i.useMemo)(()=>({back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let n;if(!(0,p.isBot)(window.navigator.userAgent)){try{n=new URL((0,h.addBasePath)(e),window.location.href)}catch(t){throw Error("Cannot prefetch '"+e+"' because it cannot be converted to a URL.")}j(n)||(0,i.startTransition)(()=>{var e;D({type:s.ACTION_PREFETCH,url:n,kind:null!=(e=null==t?void 0:t.kind)?e:s.PrefetchKind.FULL})})}},replace:(e,t)=>{void 0===t&&(t={}),(0,i.startTransition)(()=>{var n;B(e,"replace",null==(n=t.scroll)||n)})},push:(e,t)=>{void 0===t&&(t={}),(0,i.startTransition)(()=>{var n;B(e,"push",null==(n=t.scroll)||n)})},refresh:()=>{(0,i.startTransition)(()=>{D({type:s.ACTION_REFRESH,origin:window.location.origin})})},fastRefresh:()=>{throw Error("fastRefresh can only be used in development mode. Please use refresh instead.")}}),[D,B]);(0,i.useEffect)(()=>{window.next&&(window.next.router=z)},[z]),(0,i.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(T.pendingMpaPath=void 0,D({type:s.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)}},[D]);let{pushRef:q}=(0,c.useUnwrapState)(N);if(q.mpaNavigation){if(T.pendingMpaPath!==$){let e=window.location;q.pendingPush?e.assign($):e.replace($),T.pendingMpaPath=$}(0,i.use)(y.unresolvedThenable)}(0,i.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{var t;let n=window.location.href,r=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,i.startTransition)(()=>{D({type:s.ACTION_RESTORE,url:new URL(null!=e?e:n,n),tree:r})})};window.history.pushState=function(t,r,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=k(t),o&&n(o)
1),e(t,r,o)},window.history.replaceState=function(e,r,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=k(e),o&&n(o)),t(e,r,o)};let r=e=>{let{state:t}=e;if(t){if(!t.__NA){window.location.reload();return}(0,i.startTransition)(()=>{D({type:s.ACTION_RESTORE,url:new URL(window.location.href),tree:t.__PRIVATE_NEXTJS_INTERNALS_TREE})})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[D]);let{cache:W,tree:G,nextUrl:Y,focusAndScrollRef:K}=(0,c.useUnwrapState)(N),V=(0,i.useMemo)(()=>(0,_.findHeadInCache)(W,G[1]),[W,G]),J=(0,i.useMemo)(()=>(function e(t,n){for(let r of(void 0===n&&(n={}),Object.values(t[1]))){let t=r[0],o=Array.isArray(t),i=o?t[1]:t;!i||i.startsWith(E.PAGE_SEGMENT_KEY)||(o&&("c"===t[2]||"oc"===t[2])?n[t[0]]=t[1].split("/"):o&&(n[t[0]]=t[1]),n=e(r,n))}return n})(G),[G]);if(null!==V){let[e,n]=V;t=(0,o.jsx)(M,{headCacheNode:e},n)}else t=null;let X=(0,o.jsxs)(m.RedirectBoundary,{children:[t,W.rsc,(0,o.jsx)(g.AppRouterAnnouncer,{tree:G})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(C,{appRouterState:(0,c.useUnwrapState)(N),sync:L}),(0,o.jsx)(l.PathParamsContext.Provider,{value:J,children:(0,o.jsx)(l.PathnameContext.Provider,{value:F,children:(0,o.jsx)(l.SearchParamsContext.Provider,{value:U,children:(0,o.jsx)(a.GlobalLayoutRouterContext.Provider,{value:{buildId:n,changeByServerResponse:H,tree:G,focusAndScrollRef:K,nextUrl:Y},children:(0,o.jsx)(a.AppRouterContext.Provider,{value:z,children:(0,o.jsx)(a.LayoutRouterContext.Provider,{value:{childNodes:W.parallelRoutes,tree:G,url:$,loading:W.loading},children:X})})})})})})]})}function N(e){let{globalErrorComponent:t,...n}=e;return(0,o.jsx)(d.ErrorBoundary,{errorComponent:t,children:(0,o.jsx)(I,{...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)},96149:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bailoutToClientRendering",{enumerable:!0,get:function(){return i}});let r=n(18993),o=n(51845);function i(e){let t=o.staticGenerationAsyncStorage.getStore();if((null==t||!t.forceStatic)&&(null==t?void 0:t.isStaticGeneration))throw new r.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)},19107:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return i}});let r=n(57437),o=n(54535);function i(e){let{Component:t,props:n}=e;return n.searchParams=(0,o.createDynamicallyTrackedSearchParams)(n.searchParams||{}),(0,r.jsx)(t,{...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)},61060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return d},GlobalError:function(){return f},default:function(){return p}});let r=n(60917),o=n(57437),i=r._(n(2265)),a=n(35475),s=n(89721),u=n(51845),l={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,n=u.staticGenerationAsyncStorage.getStore();if((null==n?void 0:n.isRevalidate)||(null==n?void 0:n.isStaticGeneration))throw console.error(t),t;return null}class d extends i.default.Component{static getDerivedStateFromError(e){if((0,s.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,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 f(e){let{error:t}=e,n=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:l.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{style:l.text,children:"Application error: a "+(n?"server"
1:"client")+"-side exception has occurred (see the "+(n?"server logs":"browser console")+" for more information)."}),n?(0,o.jsx)("p",{style:l.text,children:"Digest: "+n}):null]})})]})]})}let p=f;function h(e){let{errorComponent:t,errorStyles:n,errorScripts:r,children:i}=e,s=(0,a.usePathname)();return t?(0,o.jsx)(d,{pathname:s,errorComponent:t,errorStyles:n,errorScripts:r,children:i}):(0,o.jsx)(o.Fragment,{children:i})}("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)},46177:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DynamicServerError:function(){return r},isDynamicServerError:function(){return o}});let n="DYNAMIC_SERVER_USAGE";class r extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===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)},89721:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return i}});let r=n(98200),o=n(88968);function i(e){return e&&e.digest&&((0,o.isRedirectError)(e)||(0,r.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)},4707:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});let r=n(60917),o=n(52140),i=n(57437),a=o._(n(2265)),s=r._(n(54887)),u=n(61956),l=n(44848),c=n(38137),d=n(61060),f=n(76015),p=n(7092),h=n(4123),g=n(80),m=n(73171),_=n(78505),y=n(28077),v=["bottom","height","left","right","top","width","x","y"];function b(e,t){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=t}class S extends a.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){var n;if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,n)=>(0,f.matchSegment)(t,e[n]))))return;let r=null,o=e.hashFragment;if(o&&(r="top"===o?document.body:null!=(n=document.getElementById(o))?n:document.getElementsByName(o)[0]),r||(r="undefined"==typeof window?null:s.default.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(o){r.scrollIntoView();return}let e=document.documentElement,t=e.clientHeight;!b(r,t)&&(e.scrollTop=0,b(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function E(e){let{segmentPath:t,children:n}=e,r=(0,a.useContext)(u.GlobalLayoutRouterContext);if(!r)throw Error("invariant global layout router not mounted");return(0,i.jsx)(S,{segmentPath:t,focusAndScrollRef:r.focusAndScrollRef,children:n})}function w(e){let{parallelRouterKey:t,url:n,childNodes:r,segmentPath:o,tree:s,cacheKey:d}=e,p=(0,a.useContext)(u.GlobalLayoutRouterContext);if(!p)throw Error("invariant global layout router not mounted");let{buildId:h,changeByServerResponse:g,tree:m}=p,_=r.get(d);if(void 0===_){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};_=e,r.set(d,e)}let v=null!==_.prefetchRsc?_.prefetchRsc:_.rsc,b=(0,a.useDeferredValue)(_.rsc,v),S="object"==typeof b&&null!==b&&"function"==typeof b.then?(0,a.use)(b):b;if(!S){let e=_.lazyData;if(null===e){let t=function e(t,n){if(t){let[r,o]=t,i=2===t.length;if((0,f.matchSegment)(n[0],r)&&n[1].hasOwnProperty(o)){if(i){let t=e(void 0,n[1][o]);return[n[0],{...n[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[n[0],{...n[1],[o]:e(t.slice(2),n[1][o])}]}}return n}(["",...o],m),r=(0,y.hasInterceptionRouteInCurrentTree)(m);_.lazyData=e=(0,l.fetchServerResponse)(new URL(n,location.origin),t,r?p.nextUrl:null,h),_.lazyDataResolved=!1}let t=(0,a.use)(e);_.lazyDataResolved||(setTimeout(()=>{(0,a.startTransition)(()=>{g({previousTree:m,serverResponse:t})})}),_.lazyDataResolved=!0),(0,a.use)(c.unresolvedThenable)}return(0,i.jsx)(u.LayoutRouterContext.Provider,{value:{tree:s[1][t],childNodes:_.parallelRoutes,url:n,loading:_.loading},children:S})}function R(e){let{children:t,hasLoading:n,loading:r,loadingStyles:o,loadingScripts:s}=e;return n?(0,i.jsx)(a.Suspense,{fallback:(0,i.jsxs)(i.Fragment,{children:[o,s,r]}),children:t}):(0,i.jsx)(i.Fragment,{children:t})}function P(e){let{parallelRouterKey:t,segmentPath:n,error:r,errorStyles:o,errorScripts:s,templateStyles:l,templateScripts:c,template:f,notFound:p,notFoundStyles:y}=e,v=(0,a.useContext)(u.LayoutRouterContext);
1if(!v)throw Error("invariant expected layout router to be mounted");let{childNodes:b,tree:S,url:P,loading:O}=v,T=b.get(t);T||(T=new Map,b.set(t,T));let x=S[1][t][0],j=(0,m.getSegmentValue)(x),C=[x];return(0,i.jsx)(i.Fragment,{children:C.map(e=>{let a=(0,m.getSegmentValue)(e),v=(0,_.createRouterCacheKey)(e);return(0,i.jsxs)(u.TemplateContext.Provider,{value:(0,i.jsx)(E,{segmentPath:n,children:(0,i.jsx)(d.ErrorBoundary,{errorComponent:r,errorStyles:o,errorScripts:s,children:(0,i.jsx)(R,{hasLoading:!!O,loading:null==O?void 0:O[0],loadingStyles:null==O?void 0:O[1],loadingScripts:null==O?void 0:O[2],children:(0,i.jsx)(g.NotFoundBoundary,{notFound:p,notFoundStyles:y,children:(0,i.jsx)(h.RedirectBoundary,{children:(0,i.jsx)(w,{parallelRouterKey:t,url:P,tree:S,childNodes:T,segmentPath:n,cacheKey:v,isActive:j===a})})})})})}),children:[l,c,f]},(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)},76015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{canSegmentBeOverridden:function(){return i},matchSegment:function(){return o}});let r=n(87417),o=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1],i=(e,t)=>{var n;return!Array.isArray(e)&&!!Array.isArray(t)&&(null==(n=(0,r.getSegmentParam)(e))?void 0:n.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)},35475:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},useParams:function(){return p},usePathname:function(){return d},useRouter:function(){return f},useSearchParams:function(){return c},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return l.useServerInsertedHTML}});let r=n(2265),o=n(61956),i=n(79060),a=n(73171),s=n(84541),u=n(52646),l=n(55501);function c(){let e=(0,r.useContext)(i.SearchParamsContext),t=(0,r.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e]);if("undefined"==typeof window){let{bailoutToClientRendering:e}=n(96149);e("useSearchParams()")}return t}function d(){return(0,r.useContext)(i.PathnameContext)}function f(){let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,r.useContext)(i.PathParamsContext)}function h(e){void 0===e&&(e="children");let t=(0,r.useContext)(o.LayoutRouterContext);return t?function e(t,n,r,o){let i;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)i=t[1][n];else{var u;let e=t[1];i=null!=(u=e.children)?u:Object.values(e)[0]}if(!i)return o;let l=i[0],c=(0,a.getSegmentValue)(l);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?o:(o.push(c),e(i,n,!1,o))}(t.tree,e):null}function g(e){void 0===e&&(e="children");let t=h(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===s.DEFAULT_SEGMENT_KEY?null: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)},52646:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return r.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(88968),o=n(98200);
1class i extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new i}delete(){throw new i}set(){throw new i}sort(){throw new i}}("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)},80:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFoundBoundary",{enumerable:!0,get:function(){return c}});let r=n(52140),o=n(57437),i=r._(n(2265)),a=n(35475),s=n(98200);n(31765);let u=n(61956);class l extends i.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,s.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:n,asNotFound:r,children:s}=e,c=(0,a.usePathname)(),d=(0,i.useContext)(u.MissingSlotContext);return t?(0,o.jsx)(l,{pathname:c,notFound:t,notFoundStyles:n,asNotFound:r,missingSlots:d,children:s}):(0,o.jsx)(o.Fragment,{children: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)},98200:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===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)},29744:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return l}});let r=n(74441),o=n(70483);var i=o._("_maxConcurrency"),a=o._("_runningCount"),s=o._("_queue"),u=o._("_processNext");class l{enqueue(e){let t,n;let o=new Promise((e,r)=>{t=e,n=r}),i=async()=>{try{r._(this,a)[a]++;let n=await e();t(n)}catch(e){n(e)}finally{r._(this,a)[a]--,r._(this,u)[u]()}};return r._(this,s)[s].push({promiseFn:o,task:i}),r._(this,u)[u](),o}bump(e){let t=r._(this,s)[s].findIndex(t=>t.promiseFn===e);if(t>-1){let e=r._(this,s)[s].splice(t,1)[0];r._(this,s)[s].unshift(e),r._(this,u)[u](!0)}}constructor(e=5){Object.defineProperty(this,u,{value:c}),Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),Object.defineProperty(this,s,{writable:!0,value:void 0}),r._(this,i)[i]=e,r._(this,a)[a]=0,r._(this,s)[s]=[]}}function c(e){if(void 0===e&&(e=!1),(r._(this,a)[a]<r._(this,i)[i]||e)&&r._(this,s)[s].length>0){var t;null==(t=r._(this,s)[s].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)},4123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectBoundary:function(){return c},RedirectErrorBoundary:function(){return l}});let r=n(52140),o=n(57437),i=r._(n(2265)),a=n(35475),s=n(88968);function u(e){let{redirect:t,reset:n,redirectType:r}=e,o=(0,a.useRouter)();return(0,i.useEffect)(()=>{i.default.startTransition(()=>{r===s.RedirectType.push?o.push(t,{}):o.replace(t,{}),n()})},[t,r,n,o]),null}class l extends i.default.Component{static getDerivedStateFromError(e){if((0,s.isRedirectError)(e))return{redirect:(0,s.getURLFromRedirectError)(e),redirectType:(0,s.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(u,{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,n=(0,a.useRouter)();return(0,o.jsx)(l,{router:n,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5001:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(r=n||(n={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("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)},88968:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return g},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return p},isRedirectError:function(){return f},permanentRedirect:function(){return d},redirect:function(){return c}});let i=n(20544),a=n(90295),s=n(5001),u="NEXT_REDIRECT";function l(e,t,n){void 0===n&&(n=s.RedirectStatusCode.TemporaryRedirect);let r=Error(u);r.digest=u+";"+t+";"+e+";"+n+";";let o=i.requestAsyncStorage.getStore();return o&&(r.mutableCookies=o.mutableCookies),r}function c(e,t){void 0===t&&(t="replace");let n=a.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");let n=a.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,o]=e.digest.split(";",4),i=Number(o);return t===u&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(i)&&i in s.RedirectStatusCode}function p(e){return f(e)?e.digest.split(";",3)[2]:null}function h(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function g(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=r||(r={})).push="push",o.replace="replace",("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)},36423:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(52140),o=n(57437),i=r._(n(2265)),a=n(61956);function s(){let e=(0,i.useContext)(a.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)},20544:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(25575);function o(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("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)},22356:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return i}});let r=n(27420),o=n(92576);function i(e,t,n,i){let[a,s,u]=n.slice(-3);if(null===s)return!1;if(3===n.length){let n=s[2],o=s[3];t.loading=o,t.rsc=n,t.prefetchRsc=null,(0,r.fillLazyItemsTillLeafWithHead)(t,e,a,s,u,i)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,o.fillCacheWithNewSubTreeData)(t,e,n,i);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,n,r,s){let u;let[l,c,d,f,p]=n;if(1===t.length){let e=a(n,r,t);return(0,i.addRefreshMarkerToActiveParallelSegments)(e,s),e}let[h,g]=t;if(!(0,o.matchSegment)(h,l))return null;if(2===t.length)u=a(c[g],r,t);else if(null===(u=e(t.slice(2),c[g],r,s)))return null;let m=[t[0],{...c,[g]:u},d,f];return p&&(m[4]=!0),(0,i.addRefreshMarkerToActiveParallelSegments)(m,s),m}}});let r=n(84541),o=n(76015),i=n(50232);function a(e,t,n){let[i,s]=e,[u,l]=t;if(u===r.DEFAULT_SEGMENT_KEY&&i!==r.DEFAULT_SEGMENT_KEY)return e;if((0,o.matchSegment)(i,u)){let t={};for(let e in s)void 0!==l[e]?t[e]=a(s[e],l[e],n):t[e]=s[e];for(let e in l)t[e]||(t[e]=l[e]);let r=[i,t];return e[2]&&(r[2]=e[2]),e[3]&&(r[3]=e[3]),e[4]&&(r[4]=e[4]),r}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)},65556:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let i=o.length<=2,[a,s]=o,u=(0,r.createRouterCacheKey)(s),l=n.parallelRoutes.get(a),c=t.parallelRoutes.get(a);c&&c!==l||(c=new Map(l),t.parallelRoutes.set(a,c));let d=null==l?void 0:l.get(u),f=c.get(u);if(i){f&&f.lazyData&&f!==d||c.set(u,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}if(!f||!d){f||c.set(u,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null});return}return f===d&&(f={lazyData:f.lazyData,rsc:f.rsc,prefetchRsc:f.prefetchRsc,head:f.head,prefetchHead:f.prefetchHead,parallelRoutes:new Map(f.parallelRoutes),lazyDataResolved:f.lazyDataResolved,loading:f.loading},c.set(u,f)),e(f,d,o.slice(2))}}});let r=n(78505);("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)},5410:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{computeChangedPath:function(){return c},extractPathFromFlightRouterState:function(){return l}});let r=n(91182),o=n(84541),i=n(76015),a=e=>"/"===e[0]?e.slice(1):e,s=e=>"string"==typeof e?"children"===e?"":e:e[1];function u(e){return e.reduce((e,t)=>""===(t=a(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function l(e){var t;let n=Array.isArray(e[0])?e[0][1]:e[0];if(n===o.DEFAULT_SEGMENT_KEY||r.INTERCEPTION_ROUTE_MARKERS.some(e=>n.startsWith(e)))return;if(n.startsWith(o.PAGE_SEGMENT_KEY))return"";let i=[s(n)],a=null!=(t=e[1])?t:{},c=a.children?l(a.children):void 0;if(void 0!==c)i.push(c);else for(let[e,t]of Object.entries(a)){if("children"===e)continue;let n=l(t);void 0!==n&&i.push(n)}return u(i)}function c(e,t){let n=function e(t,n){let[o,a]=t,[u,c]=n,d=s(o),f=s(u);if(r.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)||f.startsWith(e)))return"";if(!(0,i.matchSegment)(o,u)){var p;return null!=(p=l(n))?p:""}for(let t in a)if(c[t]){let n=e(a[t],c[t]);if(null!==n)return s(u)+"/"+n}return null}(e,t);return null==n||"/"===n?n:u(n.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)},33456:function(e,t){"use strict";function n(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 n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return l}});let r=n(33456),o=n(27420),i=n(5410),a=n(60305),s=n(24673),u=n(50232);function l(e){var t;let{buildId:n,initialTree:l,initialSeedData:c,urlParts:d,initialParallelRoutes:f,location:p,initialHead:h,couldBeIntercepted:g}=e,m=d.join("/"),_=!p,y={lazyData:null,rsc:c[2],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:_?new Map:f,lazyDataResolved:!1,loading:c[3]},v=p?(0,r.createHrefFromUrl)(p):m;(0,u.addRefreshMarkerToActiveParallelSegments)(l,v);let b=new Map;(null===f||0===f.size)&&(0,o.fillLazyItemsTillLeafWithHead)(y,void 0,l,c,h);let S={buildId:n,tree:l,cache:y,prefetchCache:b,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:v,nextUrl:null!=(t=(0,i.extractPathFromFlightRouterState)(l)||(null==p?void 0:p.pathname))?t:null};if(p){let e=new URL(""+p.pathname+p.search,p.origin),t=[["",l,null,null]];(0,a.createPrefetchCacheEntryForInitialLoad)({url:e,kind:s.PrefetchKind.AUTO,data:[t,void 0,!1,g],tree:S.tree,prefetchCache:S.prefetchCache,nextUrl:S.nextUrl})}return 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)},78505:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let r=n(84541);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(r.PAGE_SEGMENT_KEY)?r.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)},44848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetchServerResponse",{enumerable:!0,get:function(){return d}});let r=n(6866),o=n(12846),i=n(83079),a=n(24673),s=n(37207),u=n(91311),{createFromFetch:l}=n(6671);function c(e){return[(0,o.urlToUrlWithoutFlightMarker)(e).toString(),void 0,!1,!1]}async function d(e,t,n,d,f){let p={[r.RSC_HEADER]:"1",[r.NEXT_ROUTER_STATE_TREE]:(0,u.prepareFlightRouterStateForRequest)(t)};f===a.PrefetchKind.AUTO&&(p[r.NEXT_ROUTER_PREFETCH_HEADER]="1"),n&&(p[r.NEXT_URL]=n);let h=(0,s.hexHash)([p[r.NEXT_ROUTER_PREFETCH_HEADER]||"0",p[r.NEXT_ROUTER_STATE_TREE],p[r.NEXT_URL]].join(","));try{var g;let t=new URL(e);t.searchParams.set(r.NEXT_RSC_UNION_QUERY,h);let n=await fetch(t,{credentials:"same-origin",headers:p}),a=(0,o.urlToUrlWithoutFlightMarker)(n.url),s=n.redirected?a:void 0,u=n.headers.get("content-type")||"",f=!!n.headers.get(r.NEXT_DID_POSTPONE_HEADER),m=!!(null==(g=n.headers.get("vary"))?void 0:g.includes(r.NEXT_URL));if(u!==r.RSC_CONTENT_TYPE_HEADER||!n.ok)return e.hash&&(a.hash=e.hash),c(a.toString());let[_,y]=await l(Promise.resolve(n),{callServer:i.callServer});if(d!==_)return c(n.url);return[y,s,f,m]}catch(t){return console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),[e.toString(),void 0,!1,!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)},92576:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillCacheWithNewSubTreeData",{enumerable:!0,get:function(){return function e(t,n,a,s){let u=a.length<=5,[l,c]=a,d=(0,i.createRouterCacheKey)(c),f=n.parallelRoutes.get(l);if(!f)return;let p=t.parallelRoutes.get(l);p&&p!==f||(p=new Map(f),t.parallelRoutes.set(l,p));let h=f.get(d),g=p.get(d);if(u){if(!g||!g.lazyData||g===h){let e=a[3];g={lazyData:null,rsc:e[2],prefetchRsc:null,head:null,prefetchHead:null,loading:e[3],parallelRoutes:h?new Map(h.parallelRoutes):new Map,lazyDataResolved:!1},h&&(0,r.invalidateCacheByRouterState)(g,h,a[2]),(0,o.fillLazyItemsTillLeafWithHead)(g,h,a[2],e,a[4],s),p.set(d,g)}return}g&&h&&(g===h&&(g={lazyData:g.lazyData,rsc:g.rsc,prefetchRsc:g.prefetchRsc,head:g.head,prefetchHead:g.prefetchHead,parallelRoutes:new Map(g.parallelRoutes),lazyDataResolved:!1,loading:g.loading},p.set(d,g)),e(g,h,a.slice(2),s))}}});let r=n(94377),o=n(27420),i=n(78505);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27420:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,n,i,a,s,u){if(0===Object.keys(i[1]).length){t.head=s;return}for(let l in i[1]){let c;let d=i[1][l],f=d[0],p=(0,r.createRouterCacheKey)(f),h=null!==a&&void 0!==a[1][l]?a[1][l]:null;if(n){let r=n.parallelRoutes.get(l);if(r){let n;let i=(null==u?void 0:u.kind)==="auto"&&u.status===o.PrefetchCacheEntryStatus.reusable,a=new Map(r),c=a.get(p);n=null!==h?{lazyData:null,rsc:h[2],prefetchRsc:null,head:null,prefetchHead:null,loading:h[3],parallelRoutes:new Map(null==c?void 0:c.parallelRoutes),lazyDataResolved:!1}:i&&c?{lazyData:c.lazyData,rsc:c.rsc,prefetchRsc:c.prefetchRsc,head:c.head,prefetchHead:c.prefetchHead,parallelRoutes:new Map(c.parallelRoutes),lazyDataResolved:c.lazyDataResolved,loading:c.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==c?void 0:c.parallelRoutes),lazyDataResolved:!1,loading:null},a.set(p,n),e(n,c,d,h||null,s,u),t.parallelRoutes.set(l,a);continue}}if(null!==h){let e=h[2],t=h[3];c={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:t}}else c={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,lazyDataResolved:!1,loading:null};let g=t.parallelRoutes.get(l);g?g.set(p,c):t.parallelRoutes.set(l,new Map([[p,c]])),e(c,void 0,d,h,s,u)}}}});let r=n(78505),o=n(24673);("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)},44510:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return i}});let r=n(5410);function o(e){return void 0!==e}function i(e,t){var n,i,a;let s=null==(i=t.shouldScroll)||i,u=e.nextUrl;if(o(t.patchedTree)){let n=(0,r.computeChangedPath)(e.tree,t.patchedTree);n?u=n:u||(u=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:!!s&&(!!o(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:!!t.hashFragment&&e.canonicalUrl.split("#",1)[0]===(null==(n=t.canonicalUrl)?void 0:n.split("#",1)[0]),hashFragment:s?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:s?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: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)},77831:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let r=n(95967);function o(e,t,n){return(0,r.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)},77058:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,n,o){let i=o.length<=2,[a,s]=o,u=(0,r.createRouterCacheKey)(s),l=n.parallelRoutes.get(a);if(!l)return;let c=t.parallelRoutes.get(a);if(c&&c!==l||(c=new Map(l),t.parallelRoutes.set(a,c)),i){c.delete(u);return}let d=l.get(u),f=c.get(u);f&&d&&(f===d&&(f={lazyData:f.lazyData,rsc:f.rsc,prefetchRsc:f.prefetchRsc,head:f.head,prefetchHead:f.prefetchHead,parallelRoutes:new Map(f.parallelRoutes),lazyDataResolved:f.lazyDataResolved},c.set(u,f)),e(f,d,o.slice(2)))}}});let r=n(78505);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94377:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let r=n(78505);function o(e,t,n){for(let o in n[1]){let i=n[1][o][0],a=(0,r.createRouterCacheKey)(i),s=t.parallelRoutes.get(o);if(s){let t=new Map(s);t.delete(a),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)},63237:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,n){let r=t[0],o=n[0];if(Array.isArray(r)&&Array.isArray(o)){if(r[0]!==o[0]||r[2]!==o[2])return!0}else if(r!==o)return!0;if(t[4])return!n[4];if(n[4])return!0;let i=Object.values(t[1])[0],a=Object.values(n[1])[0];return!i||!a||e(i,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)},56118:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{abortTask:function(){return l},listenForDynamicRequest:function(){return s},updateCacheNodeOnNavigation:function(){return function e(t,n,s,l,c){let d=n[1],f=s[1],p=l[1],h=t.parallelRoutes,g=new Map(h),m={},_=null;for(let t in f){let n;let s=f[t],l=d[t],y=h.get(t),v=p[t],b=s[0],S=(0,i.createRouterCacheKey)(b),E=void 0!==l?l[0]:void 0,w=void 0!==y?y.get(S):void 0;if(null!==(n=b===r.PAGE_SEGMENT_KEY?a(s,void 0!==v?v:null,c):b===r.DEFAULT_SEGMENT_KEY?void 0!==l?{route:l,node:null,children:null}:a(s,void 0!==v?v:null,c):void 0!==E&&(0,o.matchSegment)(b,E)&&void 0!==w&&void 0!==l?null!=v?e(w,l,s,v,c):function(e){let t=u(e,null,null);return{route:e,node:t,children:null}}(s):a(s,void 0!==v?v:null,c))){null===_&&(_=new Map),_.set(t,n);let e=n.node;if(null!==e){let n=new Map(y);n.set(S,e),g.set(t,n)}m[t]=n.route}else m[t]=s}if(null===_)return null;let y={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:g,lazyDataResolved:!1};return{route:function(e,t){let n=[e[0],t];return 2 in e&&(n[2]=e[2]),3 in e&&(n[3]=e[3]),4 in e&&(n[4]=e[4]),n}(s,m),node:y,children:_}}},updateCacheNodeOnPopstateRestoration:function(){return function e(t,n){let r=n[1],o=t.parallelRoutes,a=new Map(o);for(let t in r){let n=r[t],s=n[0],u=(0,i.createRouterCacheKey)(s),l=o.get(t);if(void 0!==l){let r=l.get(u);if(void 0!==r){let o=e(r,n),i=new Map(l);i.set(u,o),a.set(t,i)}}}let s=t.rsc,u=f(s)&&"pending"===s.status;return{lazyData:null,rsc:s,head:t.head,prefetchHead:u?t.prefetchHead:null,prefetchRsc:u?t.prefetchRsc:null,loading:u?t.loading:null,parallelRoutes:a,lazyDataResolved:!1}}}});let r=n(84541),o=n(76015),i=n(78505);function a(e,t,n){let r=u(e,t,n);return{route:e,node:r,children:null}}function s(e,t){t.then(t=>{for(let n of t[0]){let t=n.slice(0,-3),r=n[n.length-3],a=n[n.length-2],s=n[n.length-1];"string"!=typeof t&&function(e,t,n,r,a){let s=e;for(let e=0;e<t.length;e+=2){let n=t[e],r=t[e+1],i=s.children;if(null!==i){let e=i.get(n);if(void 0!==e){let t=e.route[0];if((0,o.matchSegment)(r,t)){s=e;continue}}}return}(function e(t,n,r,a){let s=t.children,u=t.node;if(null===s){null!==u&&(function e(t,n,r,a,s){let u=n[1],l=r[1],d=a[1],p=t.parallelRoutes;for(let t in u){let n=u[t],r=l[t],a=d[t],f=p.get(t),h=n[0],g=(0,i.createRouterCacheKey)(h),m=void 0!==f?f.get(g):void 0;void 0!==m&&(void 0!==r&&(0,o.matchSegment)(h,r[0])&&null!=a?e(m,n,r,a,s):c(n,m,null))}let h=t.rsc,g=a[2];null===h?t.rsc=g:f(h)&&h.resolve(g);let m=t.head;f(m)&&m.resolve(s)}(u,t.route,n,r,a),t.node=null);return}let l=n[1],d=r[1];for(let t in n){let n=l[t],r=d[t],i=s.get(t);if(void 0!==i){let t=i.route[0];if((0,o.matchSegment)(n[0],t)&&null!=r)return e(i,n,r,a)}}})(s,n,r,a)}(e,t,r,a,s)}l(e,null)},t=>{l(e,t)})}function u(e,t,n){let r=e[1],o=null!==t?t[1]:null,a=new Map;for(let e in r){let t=r[e],s=null!==o?o[e]:null,l=t[0],c=(0,i.createRouterCacheKey)(l),d=u(t,void 0===s?null:s,n),f=new Map;f.set(c,d),a.set(e,f)}let s=0===a.size,l=null!==t?t[2]:null,c=null!==t?t[3]:null;return{lazyData:null,parallelRoutes:a,prefetchRsc:void 0!==l?l:null,prefetchHead:s?n:null,loading:void 0!==c?c:null,rsc:p(),head:s?p():null,lazyDataResolved:!1}}function l(e,t){let n=e.node;if(null===n)return;let r=e.children;if(null===r)c(e.route,n,t);else for(let e of r.values())l(e,t);e.node=null}
1function c(e,t,n){let r=e[1],o=t.parallelRoutes;for(let e in r){let t=r[e],a=o.get(e);if(void 0===a)continue;let s=t[0],u=(0,i.createRouterCacheKey)(s),l=a.get(u);void 0!==l&&c(t,l,n)}let a=t.rsc;f(a)&&(null===n?a.resolve(null):a.reject(n));let s=t.head;f(s)&&s.resolve(null)}let d=Symbol();function f(e){return e&&e.tag===d}function p(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.status="pending",n.resolve=t=>{"pending"===n.status&&(n.status="fulfilled",n.value=t,e(t))},n.reject=e=>{"pending"===n.status&&(n.status="rejected",n.reason=e,t(e))},n.tag=d,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)},60305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createPrefetchCacheEntryForInitialLoad:function(){return l},getOrCreatePrefetchCacheEntry:function(){return u},prunePrefetchCache:function(){return d}});let r=n(33456),o=n(44848),i=n(24673),a=n(24819);function s(e,t){let n=(0,r.createHrefFromUrl)(e,!1);return t?t+"%"+n:n}function u(e){let t,{url:n,nextUrl:r,tree:o,buildId:a,prefetchCache:u,kind:l}=e,d=s(n,r),f=u.get(d);if(f)t=f;else{let e=s(n),r=u.get(e);r&&(t=r)}return t?(t.status=h(t),t.kind!==i.PrefetchKind.FULL&&l===i.PrefetchKind.FULL)?c({tree:o,url:n,buildId:a,nextUrl:r,prefetchCache:u,kind:null!=l?l:i.PrefetchKind.TEMPORARY}):(l&&t.kind===i.PrefetchKind.TEMPORARY&&(t.kind=l),t):c({tree:o,url:n,buildId:a,nextUrl:r,prefetchCache:u,kind:l||i.PrefetchKind.TEMPORARY})}function l(e){let{nextUrl:t,tree:n,prefetchCache:r,url:o,kind:a,data:u}=e,[,,,l]=u,c=l?s(o,t):s(o),d={treeAtTimeOfPrefetch:n,data:Promise.resolve(u),kind:a,prefetchTime:Date.now(),lastUsedTime:Date.now(),key:c,status:i.PrefetchCacheEntryStatus.fresh};return r.set(c,d),d}function c(e){let{url:t,kind:n,tree:r,nextUrl:u,buildId:l,prefetchCache:c}=e,d=s(t),f=a.prefetchQueue.enqueue(()=>(0,o.fetchServerResponse)(t,r,u,l,n).then(e=>{let[,,,n]=e;return n&&function(e){let{url:t,nextUrl:n,prefetchCache:r}=e,o=s(t),i=r.get(o);if(!i)return;let a=s(t,n);r.set(a,i),r.delete(o)}({url:t,nextUrl:u,prefetchCache:c}),e})),p={treeAtTimeOfPrefetch:r,data:f,kind:n,prefetchTime:Date.now(),lastUsedTime:null,key:d,status:i.PrefetchCacheEntryStatus.fresh};return c.set(d,p),p}function d(e){for(let[t,n]of e)h(n)===i.PrefetchCacheEntryStatus.expired&&e.delete(t)}let f=1e3*Number("30"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:n,lastUsedTime:r}=e;return Date.now()<(null!=r?r:n)+f?r?i.PrefetchCacheEntryStatus.reusable:i.PrefetchCacheEntryStatus.fresh:"auto"===t&&Date.now()<n+p?i.PrefetchCacheEntryStatus.stale:"full"===t&&Date.now()<n+p?i.PrefetchCacheEntryStatus.reusable:i.PrefetchCacheEntryStatus.expired}("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)},44529:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fastRefreshReducer",{enumerable:!0,get:function(){return r}}),n(44848),n(33456),n(81935),n(63237),n(95967),n(44510),n(22356),n(12846),n(77831),n(28077);let r=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)},39320:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return o}});let r=n(78505);function o(e,t){return function e(t,n,o){if(0===Object.keys(n).length)return[t,o];for(let i in n){let[a,s]=n[i],u=t.parallelRoutes.get(i);if(!u)continue;let l=(0,r.createRouterCacheKey)(a),c=u.get(l);if(!c)continue;let d=e(c,s,o+"/"+l);if(d)return d}return null}(e,t,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73171:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{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)},28077:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e(t){let[n,o]=t;if(Array.isArray(n)&&("di"===n[2]||"ci"===n[2])||"string"==typeof n&&(0,r.isInterceptionRouteAppPath)(n))return!0;if(o){for(let t in o)if(e(o[t]))return!0}return!1}}});let r=n(91182);("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)},95967:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{handleExternalUrl:function(){return m},navigateReducer:function(){return y}}),n(44848);let r=n(33456),o=n(77058),i=n(81935),a=n(53728),s=n(63237),u=n(24673),l=n(44510),c=n(22356),d=n(24819),f=n(12846),p=n(84541);n(56118);let h=n(60305),g=n(65556);function m(e,t,n,r){return t.mpaNavigation=!0,t.canonicalUrl=n,t.pendingPush=r,t.scrollableSegments=void 0,(0,l.handleMutable)(e,t)}function _(e){let t=[],[n,r]=e;if(0===Object.keys(r).length)return[[n]];for(let[e,o]of Object.entries(r))for(let r of _(o))""===n?t.push([e,...r]):t.push([n,e,...r]);return t}let y=function(e,t){let{url:n,isExternalUrl:y,navigateType:v,shouldScroll:b}=t,S={},{hash:E}=n,w=(0,r.createHrefFromUrl)(n),R="push"===v;if((0,h.prunePrefetchCache)(e.prefetchCache),S.preserveCustomHistoryState=!1,y)return m(e,S,n.toString(),R);let P=(0,h.getOrCreatePrefetchCacheEntry)({url:n,nextUrl:e.nextUrl,tree:e.tree,buildId:e.buildId,prefetchCache:e.prefetchCache}),{treeAtTimeOfPrefetch:O,data:T}=P;return d.prefetchQueue.bump(T),T.then(t=>{let[n,d]=t,h=!1;if(P.lastUsedTime||(P.lastUsedTime=Date.now(),h=!0),"string"==typeof n)return m(e,S,n,R);if(document.getElementById("__next-page-redirect"))return m(e,S,w,R);let y=e.tree,v=e.cache,T=[];for(let t of n){let n=t.slice(0,-4),r=t.slice(-3)[0],l=["",...n],d=(0,i.applyRouterStatePatchToTree)(l,y,r,w);if(null===d&&(d=(0,i.applyRouterStatePatchToTree)(l,O,r,w)),null!==d){if((0,s.isNavigatingToNewRootLayout)(y,d))return m(e,S,w,R);let i=(0,f.createEmptyCacheNode)(),b=!1;for(let e of(P.status!==u.PrefetchCacheEntryStatus.stale||h?b=(0,c.applyFlightData)(v,i,t,P):(b=function(e,t,n,r){let o=!1;for(let i of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),_(r).map(e=>[...n,...e])))(0,g.clearCacheNodeDataForSegmentPath)(e,t,i),o=!0;return o}(i,v,n,r),P.lastUsedTime=Date.now()),(0,a.shouldHardNavigate)(l,y)?(i.rsc=v.rsc,i.prefetchRsc=v.prefetchRsc,(0,o.invalidateCacheBelowFlightSegmentPath)(i,v,n),S.cache=i):b&&(S.cache=i,v=i),y=d,_(r))){let t=[...n,...e];t[t.length-1]!==p.DEFAULT_SEGMENT_KEY&&T.push(t)}}}return S.patchedTree=y,S.canonicalUrl=d?(0,r.createHrefFromUrl)(d):w,S.pendingPush=R,S.scrollableSegments=T,S.hashFragment=E,S.shouldScroll=b,(0,l.handleMutable)(e,S)},()=>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)},24819:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{prefetchQueue:function(){return a},prefetchReducer:function(){return s}});let r=n(6866),o=n(29744),i=n(60305),a=new o.PromiseQueue(5);function s(e,t){(0,i.prunePrefetchCache)(e.prefetchCache);let{url:n}=t;return n.searchParams.delete(r.NEXT_RSC_UNION_QUERY),(0,i.getOrCreatePrefetchCacheEntry)({url:n,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,buildId:e.buildId}),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let r=n(44848),o=n(33456),i=n(81935),a=n(63237),s=n(95967),u=n(44510),l=n(27420),c=n(12846),d=n(77831),f=n(28077),p=n(50232);function h(e,t){let{origin:n}=t,h={},g=e.canonicalUrl,m=e.tree;h.preserveCustomHistoryState=!1;let _=(0,c.createEmptyCacheNode)(),y=(0,f.hasInterceptionRouteInCurrentTree)(e.tree);return _.lazyData=(0,r.fetchServerResponse)(new URL(g,n),[m[0],m[1],m[2],"refetch"],y?e.nextUrl:null,e.buildId),_.lazyData.then(async n=>{let[r,c]=n;if("string"==typeof r)return(0,s.handleExternalUrl)(e,h,r,e.pushRef.pendingPush);for(let n of(_.lazyData=null,r)){if(3!==n.length)return console.log("REFRESH FAILED"),e;let[r]=n,u=(0,i.applyRouterStatePatchToTree)([""],m,r,e.canonicalUrl);if(null===u)return(0,d.handleSegmentMismatch)(e,t,r);if((0,a.isNavigatingToNewRootLayout)(m,u))return(0,s.handleExternalUrl)(e,h,g,e.pushRef.pendingPush);let f=c?(0,o.createHrefFromUrl)(c):void 0;c&&(h.canonicalUrl=f);let[v,b]=n.slice(-2);if(null!==v){let e=v[2];_.rsc=e,_.prefetchRsc=null,(0,l.fillLazyItemsTillLeafWithHead)(_,void 0,r,v,b),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({state:e,updatedTree:u,updatedCache:_,includeNextUrl:y,canonicalUrl:h.canonicalUrl||e.canonicalUrl}),h.cache=_,h.patchedTree=u,h.canonicalUrl=g,m=u}return(0,u.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)},77784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return i}});let r=n(33456),o=n(5410);function i(e,t){var n;let{url:i,tree:a}=t,s=(0,r.createHrefFromUrl)(i),u=a||e.tree,l=e.cache;return{buildId:e.buildId,canonicalUrl:s,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:l,prefetchCache:e.prefetchCache,tree:u,nextUrl:null!=(n=(0,o.extractPathFromFlightRouterState)(u))?n:i.pathname}}n(56118),("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)},13722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return b}});let r=n(83079),o=n(6866),i=n(1634),a=n(33456),s=n(95967),u=n(81935),l=n(63237),c=n(44510),d=n(27420),f=n(12846),p=n(28077),h=n(77831),g=n(50232),m=n(91311),{createFromFetch:_,encodeReply:y}=n(6671);async function v(e,t,n){let a,{actionId:s,actionArgs:u}=n,l=await y(u),c=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION]:s,[o.NEXT_ROUTER_STATE_TREE]:(0,m.prepareFlightRouterStateForRequest)(e.tree),...t?{[o.NEXT_URL]:t}:{}},body:l}),d=c.headers.get("x-action-redirect");try{let e=JSON.parse(c.headers.get("x-action-revalidated")||"[[],0,0]");a={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){a={paths:[],tag:!1,cookie:!1}}let f=d?new URL((0,i.addBasePath)(d),new URL(e.canonicalUrl,window.location.href)):void 0;if(c.headers.get("content-type")===o.RSC_CONTENT_TYPE_HEADER){let e=await _(Promise.resolve(c),{callServer:r.callServer});if(d){let[,t]=null!=e?e:[];return{actionFlightData:t,redirectLocation:f,revalidatedParts:a}}let[t,[,n]]=null!=e?e:[];return{actionResult:t,actionFlightData:n,redirectLocation:f,revalidatedParts:a}}return{redirectLocation:f,revalidatedParts:a}}function b(e,t){let{resolve:n,reject:r}=t,o={},i=e.canonicalUrl,m=e.tree;o.preserveCustomHistoryState=!1;let _=e.nextUrl&&(0,p.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null;return o.inFlightServerAction=v(e,_,t),o.inFlightServerAction.then(async r=>{let{actionResult:p,actionFlightData:y,redirectLocation:v}=r;if(v&&(e.pushRef.pendingPush=!0,o.pendingPush=!0),!y)return(n(p),v)?(0,s.handleExternalUrl)(e,o,v.href,e.pushRef.pendingPush):e;if("string"==typeof y)return(0,s.handleExternalUrl)(e,o,y,e.pushRef.pendingPush);if(o.inFlightServerAction=null,v){let e=(0,a.createHrefFromUrl)(v,!1);o.canonicalUrl=e}for(let n of y){if(3!==n.length)return console.log("SERVER ACTION APPLY FAILED"),e;let[r]=n,c=(0,u.applyRouterStatePatchToTree)([""],m,r,v?(0,a.createHrefFromUrl)(v):e.canonicalUrl);
1if(null===c)return(0,h.handleSegmentMismatch)(e,t,r);if((0,l.isNavigatingToNewRootLayout)(m,c))return(0,s.handleExternalUrl)(e,o,i,e.pushRef.pendingPush);let[p,y]=n.slice(-2),b=null!==p?p[2]:null;if(null!==b){let t=(0,f.createEmptyCacheNode)();t.rsc=b,t.prefetchRsc=null,(0,d.fillLazyItemsTillLeafWithHead)(t,void 0,r,p,y),await (0,g.refreshInactiveParallelSegments)({state:e,updatedTree:c,updatedCache:t,includeNextUrl:!!_,canonicalUrl:o.canonicalUrl||e.canonicalUrl}),o.cache=t,o.prefetchCache=new Map}o.patchedTree=c,m=c}return n(p),(0,c.handleMutable)(e,o)},t=>(r(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)},68448:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return d}});let r=n(33456),o=n(81935),i=n(63237),a=n(95967),s=n(22356),u=n(44510),l=n(12846),c=n(77831);function d(e,t){let{serverResponse:n}=t,[d,f]=n,p={};if(p.preserveCustomHistoryState=!1,"string"==typeof d)return(0,a.handleExternalUrl)(e,p,d,e.pushRef.pendingPush);let h=e.tree,g=e.cache;for(let n of d){let u=n.slice(0,-4),[d]=n.slice(-3,-2),m=(0,o.applyRouterStatePatchToTree)(["",...u],h,d,e.canonicalUrl);if(null===m)return(0,c.handleSegmentMismatch)(e,t,d);if((0,i.isNavigatingToNewRootLayout)(h,m))return(0,a.handleExternalUrl)(e,p,e.canonicalUrl,e.pushRef.pendingPush);let _=f?(0,r.createHrefFromUrl)(f):void 0;_&&(p.canonicalUrl=_);let y=(0,l.createEmptyCacheNode)();(0,s.applyFlightData)(g,y,n),p.patchedTree=m,p.cache=y,g=y,h=m}return(0,u.handleMutable)(e,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)},50232:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,n){let[r,o,,a]=t;for(let s in r.includes(i.PAGE_SEGMENT_KEY)&&"refresh"!==a&&(t[2]=n,t[3]="refresh"),o)e(o[s],n)}},refreshInactiveParallelSegments:function(){return a}});let r=n(22356),o=n(44848),i=n(84541);async function a(e){let t=new Set;await s({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function s(e){let{state:t,updatedTree:n,updatedCache:i,includeNextUrl:a,fetchedSegments:u,rootTree:l=n,canonicalUrl:c}=e,[,d,f,p]=n,h=[];if(f&&f!==c&&"refresh"===p&&!u.has(f)){u.add(f);let e=(0,o.fetchServerResponse)(new URL(f,location.origin),[l[0],l[1],l[2],"refetch"],a?t.nextUrl:null,t.buildId).then(e=>{let t=e[0];if("string"!=typeof t)for(let e of t)(0,r.applyFlightData)(i,i,e)});h.push(e)}for(let e in d){let n=s({state:t,updatedTree:d[e],updatedCache:i,includeNextUrl:a,fetchedSegments:u,rootTree:l,canonicalUrl:c});h.push(n)}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)},24673:function(e,t){"use strict";var n,r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let a="refresh",s="navigate",u="restore",l="server-patch",c="prefetch",d="fast-refresh",f="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(o=n||(n={})).AUTO="auto",o.FULL="full",o.TEMPORARY="temporary",(i=r||(r={})).fresh="fresh",i.reusable="reusable",i.expired="expired",i.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91450:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return d}});let r=n(24673),o=n(95967),i=n(68448),a=n(77784),s=n(99601),u=n(24819),l=n(44529),c=n(13722),d="undefined"==typeof window?function(e,t){return e}:function(e,t){switch(t.type){case r.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case r.ACTION_SERVER_PATCH:return(0,i.serverPatchReducer)(e,t);case r.ACTION_RESTORE:return(0,a.restoreReducer)(e,t);case r.ACTION_REFRESH:return(0,s.refreshReducer)(e,t);case r.ACTION_FAST_REFRESH:return(0,l.fastRefreshReducer)(e,t);case r.ACTION_PREFETCH:return(0,u.prefetchReducer)(e,t);case r.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)},53728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,n){let[o,i]=n,[a,s]=t;return(0,r.matchSegment)(a,o)?!(t.length<=2)&&e(t.slice(2),i[s]):!!Array.isArray(a)}}});let r=n(76015);("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)},54535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createDynamicallyTrackedSearchParams:function(){return s},createUntrackedSearchParams:function(){return a}});let r=n(51845),o=n(86999),i=n(30650);function a(e){let t=r.staticGenerationAsyncStorage.getStore();return t&&t.forceStatic?{}:e}function s(e){let t=r.staticGenerationAsyncStorage.getStore();return t?t.forceStatic?{}:t.isStaticGeneration||t.dynamicShouldError?new Proxy({},{get:(e,n,r)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),i.ReflectAdapter.get(e,n,r)),has:(e,n)=>("string"==typeof n&&(0,o.trackDynamicDataAccessed)(t,"searchParams."+n),Reflect.has(e,n)),ownKeys:e=>((0,o.trackDynamicDataAccessed)(t,"searchParams"),Reflect.ownKeys(e))}):e: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)},51845:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r.staticGenerationAsyncStorage}});let r=n(20030);("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)},36864:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{StaticGenBailoutError:function(){return r},isStaticGenBailoutError:function(){return o}});let n="NEXT_STATIC_GEN_BAILOUT";class r extends Error{constructor(...e){super(...e),this.code=n}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===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)},38137:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={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)},47744:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{useReducerWithReduxDevtools:function(){return u},useUnwrapState:function(){return s}});let r=n(52140)._(n(2265)),o=n(24673),i=n(2103);function a(e){if(e instanceof Map){let t={};for(let[n,r]of e.entries()){if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r._bundlerConfig){t[n]="FlightData";continue}}t[n]=a(r)}return t}if("object"==typeof e&&null!==e){let t={};for(let n in e){let r=e[n];if("function"==typeof r){t[n]="fn()";continue}if("object"==typeof r&&null!==r){if(r.$$typeof){t[n]=r.$$typeof.toString();continue}if(r.hasOwnProperty("_bundlerConfig")){t[n]="FlightData";continue}}t[n]=a(r)}return t}return Array.isArray(e)?e.map(a):e}function s(e){return(0,o.isThenable)(e)?(0,r.use)(e):e}let u="undefined"!=typeof window?function(e){let[t,n]=r.default.useState(e),o=(0,r.useContext)(i.ActionQueueContext);if(!o)throw Error("Invariant: Missing ActionQueueContext");let s=(0,r.useRef)(),u=(0,r.useRef)();return(0,r.useEffect)(()=>{if(!s.current&&!1!==u.current){if(void 0===u.current&&void 0===window.__REDUX_DEVTOOLS_EXTENSION__){u.current=!1;return}return s.current=window.__REDUX_DEVTOOLS_EXTENSION__.connect({instanceId:8e3,name:"next-router"}),s.current&&(s.current.init(a(e)),o&&(o.devToolsInstance=s.current)),()=>{s.current=void 0}}},[e,o]),[t,(0,r.useCallback)(t=>{o.state||(o.state=e),o.dispatch(t,n)},[o,e]),(0,r.useCallback)(e=>{s.current&&s.current.send({type:"RENDER_SYNC"},a(e))},[])]}:function(e){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)},91311:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"prepareFlightRouterStateForRequest",{enumerable:!0,get:function(){return o}});let r=n(84541);function o(e,t){return t?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(JSON.stringify(function e(t){let[n,o,,i,a]=t,s="string"==typeof n&&n.startsWith(r.PAGE_SEGMENT_KEY+"?")?r.PAGE_SEGMENT_KEY:n,u={};for(let[t,n]of Object.entries(o))u[t]=e(n);let l=[s,u,null,i&&"refresh"!==i?i:null];return void 0!==a&&(l[4]=a),l}(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)},11283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let r=n(10580);function o(e){return(0,r.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)},33068:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return i}});let r=n(26674),o=n(63381),i=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:n,hash:i}=(0,o.parsePath)(e);return""+(0,r.removeTrailingSlash)(t)+n+i};("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)},61404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(18993);function o(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,r.isBailoutToCSRError)(e)||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)},35076:function(e,t,n){"use strict";function r(e){return e}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return r}}),n(11283),("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)},44227:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],l=!1,c=-1;function d(){l&&r&&(l=!1,r.length?u=r.concat(u):c=-1,u.length&&f())}function f(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(r=u,u=[];++c<t;)r&&r[c].run();c=-1,t=u.length}r=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(229);e.exports=o}()},12010:function(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,o=e[r];if(0<i(o,t))e[r]=t,e[n]=o,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,u=e[s],l=s+1,c=e[l];if(0>i(u,n))l<o&&0>i(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[s]=n,r=s);else if(l<o&&0>i(c,n))e[r]=c,e[l]=n,r=l;else break}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var a,s=performance;t.unstable_now=function(){return s.now()}}else{var u=Date,l=u.now();t.unstable_now=function(){return u.now()-l}}var c=[],d=[],f=1,p=null,h=3,g=!1,m=!1,_=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function S(e){for(var t=r(d);null!==t;){if(null===t.callback)o(d);else if(t.startTime<=e)o(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function E(e){if(_=!1,S(e),!m){if(null!==r(c))m=!0,A();else{var t=r(d);null!==t&&k(E,t.startTime-e)}}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w=!1,R=-1,P=5,O=-1;function T(){return!(t.unstable_now()-O<P)}function x(){if(w){var e=t.unstable_now();O=e;var n=!0;try{e:{m=!1,_&&(_=!1,v(R),R=-1),g=!0;var i=h;try{t:{for(S(e),p=r(c);null!==p&&!(p.expirationTime>e&&T());){var s=p.callback;if("function"==typeof s){p.callback=null,h=p.priorityLevel;var u=s(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof u){p.callback=u,S(e),n=!0;break t}p===r(c)&&o(c),S(e)}else o(c);p=r(c)}if(null!==p)n=!0;else{var l=r(d);null!==l&&k(E,l.startTime-e),n=!1}}break e}finally{p=null,h=i,g=!1}n=void 0}}finally{n?a():w=!1}}}if("function"==typeof b)a=function(){b(x)};else if("undefined"!=typeof MessageChannel){var j=new MessageChannel,C=j.port2;j.port1.onmessage=x,a=function(){C.postMessage(null)}}else a=function(){y(x,0)};function A(){w||(w=!0,a())}function k(e,n){R=y(function(){e(t.unstable_now())},n)}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(){m||g||(m=!0,A())},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=i+s,e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:s,sortIndex:-1},i>
1a?(e.sortIndex=i,n(d,e),null===r(c)&&e===r(d)&&(_?(v(R),R=-1):_=!0,k(E,i-a))):(e.sortIndex=s,n(c,e),m||g||(m=!0,A())),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},71767:function(e,t,n){"use strict";e.exports=n(12010)},60934:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getPathname:function(){return r},isFullStringUrl:function(){return o},parseUrl:function(){return i}});let n="http://n";function r(e){return new URL(e,n).pathname}function o(e){return/https?:\/\//.test(e)}function i(e){let t;try{t=new URL(e,n)}catch{}return t}},86999:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Postpone:function(){return f},createPostponedAbortSignal:function(){return y},createPrerenderState:function(){return l},formatDynamicAPIAccesses:function(){return m},markCurrentScopeAsDynamic:function(){return c},trackDynamicDataAccessed:function(){return d},trackDynamicFetch:function(){return p},usedDynamicAPIs:function(){return g}});let o=(r=n(2265))&&r.__esModule?r:{default:r},i=n(46177),a=n(36864),s=n(60934),u="function"==typeof o.default.unstable_postpone;function l(e){return{isDebugSkeleton:e,dynamicAccesses:[]}}function c(e,t){let n=(0,s.getPathname)(e.urlPathname);if(!e.isUnstableCacheCallback){if(e.dynamicShouldError)throw new a.StaticGenBailoutError(`Route ${n} 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`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new i.DynamicServerError(`Route ${n} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}}function d(e,t){let n=(0,s.getPathname)(e.urlPathname);if(e.isUnstableCacheCallback)throw Error(`Route ${n} used "${t}" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "${t}" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`);if(e.dynamicShouldError)throw new a.StaticGenBailoutError(`Route ${n} 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`);if(e.prerenderState)h(e.prerenderState,t,n);else if(e.revalidate=0,e.isStaticGeneration){let r=new i.DynamicServerError(`Route ${n} couldn't be rendered statically because it used \`${t}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw e.dynamicUsageDescription=t,e.dynamicUsageStack=r.stack,r}}function f({reason:e,prerenderState:t,pathname:n}){h(t,e,n)}function p(e,t){e.prerenderState&&h(e.prerenderState,t,e.urlPathname)}function h(e,t,n){_();let r=`Route ${n} 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`;e.dynamicAccesses.push({stack:e.isDebugSkeleton?Error().stack:void 0,expression:t}),o.default.unstable_postpone(r)}function g(e){return e.dynamicAccesses.length>0}function m(e){return e.dynamicAccesses.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(" (<anonymous>)")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: 2${t}`))}function _(){if(!u)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 y(e){_();let t=new AbortController;try{o.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}},87417:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentParam",{enumerable:!0,get:function(){return o}});let r=n(91182);function o(e){let t=r.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}},70647:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HMR_ACTIONS_SENT_TO_BROWSER",{enumerable:!0,get:function(){return n}}),(r=n||(n={})).ADDED_PAGE="addedPage",r.REMOVED_PAGE="removedPage",r.RELOAD_PAGE="reloadPage",r.SERVER_COMPONENT_CHANGES="serverComponentChanges",r.MIDDLEWARE_CHANGES="middlewareChanges",r.CLIENT_CHANGES="clientChanges",r.SERVER_ONLY_CHANGES="serverOnlyChanges",r.SYNC="sync",r.BUILT="built",r.BUILDING="building",r.DEV_PAGES_MANIFEST_UPDATE="devPagesManifestUpdate",r.TURBOPACK_MESSAGE="turbopack-message",r.SERVER_ERROR="serverError",r.TURBOPACK_CONNECTED="turbopack-connected"},91182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return a},isInterceptionRouteAppPath:function(){return i}});let r=n(20926),o=["(..)(..)","(.)","(..)","(...)"];function i(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function a(e){let t,n,i;for(let r of e.split("/"))if(n=o.find(e=>r.startsWith(e))){[t,i]=e.split(n,2);break}if(!t||!n||!i)throw Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(t=(0,r.normalizeAppPath)(t),n){case"(.)":i="/"===t?`/${i}`:t+"/"+i;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);i=t.split("/").slice(0,-1).concat(i).join("/");break;case"(...)":i="/"+i;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);i=a.slice(0,-2).concat(i).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:i}}},30650:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,n){let r=Reflect.get(e,t,n);return"function"==typeof r?r.bind(e):r}static set(e,t,n,r){return Reflect.set(e,t,n,r)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},61956:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return a},LayoutRouterContext:function(){return i},MissingSlotContext:function(){return u},TemplateContext:function(){return s}});let r=n(60917)._(n(2265)),o=r.default.createContext(null),i=r.default.createContext(null),a=r.default.createContext(null),s=r.default.createContext(null),u=r.default.createContext(new Set)},37207:function(e,t){"use strict";function n(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)&4294967295;return t>>>0}function r(e){return n(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{djb2Hash:function(){return n},hexHash:function(){return r}})},48701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=n(60917)._(n(2265)).default.createContext({})},79060:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PathParamsContext:function(){return a},PathnameContext:function(){return i},SearchParamsContext:function(){return o}});let r=n(2265),o=(0,r.createContext)(null),i=(0,r.createContext)(null),a=(0,r.createContext)(null)},18993:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{BailoutToCSRError:function(){return r},isBailoutToCSRError:function(){return o}});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class r extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}},78162:function(e,t){"use strict";function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},2103:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ActionQueueContext:function(){return s},createMutableActionQueue:function(){return c}});let r=n(52140),o=n(24673),i=n(91450),a=r._(n(2265)),s=a.default.createContext(null);function u(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?l({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:o.ACTION_REFRESH,origin:window.location.origin},t)))}async function l(e){let{actionQueue:t,action:n,setState:r}=e,i=t.state;if(!i)throw Error("Invariant: Router state not initialized");t.pending=n;let a=n.payload,s=t.action(i,a);function l(e){n.discarded||(t.state=e,t.devToolsInstance&&t.devToolsInstance.send(a,e),u(t,r),n.resolve(e))}(0,o.isThenable)(s)?s.then(l,e=>{u(t,r),n.reject(e)}):l(s)}function c(){let e={state:null,dispatch:(t,n)=>(function(e,t,n){let r={resolve:n,reject:()=>{}};if(t.type!==o.ACTION_RESTORE){let e=new Promise((e,t)=>{r={resolve:e,reject:t}});(0,a.startTransition)(()=>{n(e)})}let i={payload:t,next:null,resolve:r.resolve,reject:r.reject};null===e.pending?(e.last=i,l({actionQueue:e,action:i,setState:n})):t.type===o.ACTION_NAVIGATE||t.type===o.ACTION_RESTORE?(e.pending.discarded=!0,e.last=i,e.pending.payload.type===o.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),l({actionQueue:e,action:i,setState:n})):(null!==e.last&&(e.last.next=i),e.last=i)})(e,t,n),action:async(e,t)=>{if(null===e)throw Error("Invariant: Router state not initialized");return(0,i.reducer)(e,t)},pending:null,last:null};return e}},68498:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let r=n(63381);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:o,hash:i}=(0,r.parsePath)(e);return""+t+n+o+i}},20926:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return i},normalizeRscURL:function(){return a}});let r=n(78162),o=n(84541);function i(e){return(0,r.ensureLeadingSlash)(e.split("/").reduce((e,t,n,r)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&n===r.length-1?e:e+"/"+t,""))}function a(e){return e.replace(/\.rsc($|\?)/,"$1")}},7092:function(e,t){"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let n=document.documentElement,r=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},86146:function(e,t){"use strict";function n(e){return/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|Skype
2UriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}})},63381:function(e,t){"use strict";function n(e){let t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n<t);return r||t>-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,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 n}})},10580:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let r=n(63381);function o(e,t){if("string"!=typeof e)return!1;let{pathname:n}=(0,r.parsePath)(e);return n===t||n.startsWith(t+"/")}},26674:function(e,t){"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},84541:function(e,t){"use strict";function n(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return r},isGroupSegment:function(){return n}});let r="__PAGE__",o="__DEFAULT__"},55501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return i}});let r=n(52140)._(n(2265)),o=r.default.createContext(null);function i(e){let t=(0,r.useContext)(o);t&&t(e)}},31765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},47149:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(54832).createAsyncLocalStorage)();("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)},54832:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return i}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let o=globalThis.AsyncLocalStorage;function i(){return o?new o:new 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)},25575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(54832).createAsyncLocalStorage)();("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)},20030:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"staticGenerationAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(54832).createAsyncLocalStorage)();("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)},34040:function(e,t,n){"use strict";var r=n(54887);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},54887:function(e,t,n){"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=n(84417)},97950:function(e,t,n){"use strict";var r=n(54887),o={stream:!0},i=Object.prototype.hasOwnProperty,a=new Map;function s(e){var t=n(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 u(){}var l=new Map,c=n.u;n.u=function(e){var t=l.get(e);return void 0!==t?t:c(e)};
2var d=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,f=Symbol.for("react.element"),p=Symbol.for("react.lazy"),h=Symbol.iterator,g=Array.isArray,m=Object.getPrototypeOf,_=Object.prototype,y=new WeakMap;function v(e,t,n,r){this.status=e,this.value=t,this.reason=n,this._response=r}function b(e){switch(e.status){case"resolved_model":T(e);break;case"resolved_module":x(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":throw e;default:throw e.reason}}function S(e,t){for(var n=0;n<e.length;n++)(0,e[n])(t)}function E(e,t,n){switch(e.status){case"fulfilled":S(t,e.value);break;case"pending":case"blocked":case"cyclic":e.value=t,e.reason=n;break;case"rejected":n&&S(n,e.reason)}}function w(e,t){if("pending"===e.status||"blocked"===e.status){var n=e.reason;e.status="rejected",e.reason=t,null!==n&&S(n,t)}}function R(e,t){if("pending"===e.status||"blocked"===e.status){var n=e.value,r=e.reason;e.status="resolved_module",e.value=t,null!==n&&(x(e),E(e,n,r))}}v.prototype=Object.create(Promise.prototype),v.prototype.then=function(e,t){switch(this.status){case"resolved_model":T(this);break;case"resolved_module":x(this)}switch(this.status){case"fulfilled":e(this.value);break;case"pending":case"blocked":case"cyclic":e&&(null===this.value&&(this.value=[]),this.value.push(e)),t&&(null===this.reason&&(this.reason=[]),this.reason.push(t));break;default:t(this.reason)}};var P=null,O=null;function T(e){var t=P,n=O;P=e,O=null;var r=e.value;e.status="cyclic",e.value=null,e.reason=null;try{var o=JSON.parse(r,e._response._fromJSON);if(null!==O&&0<O.deps)O.value=o,e.status="blocked",e.value=null,e.reason=null;else{var i=e.value;e.status="fulfilled",e.value=o,null!==i&&S(i,o)}}catch(t){e.status="rejected",e.reason=t}finally{P=t,O=n}}function x(e){try{var t=e.value,r=n(t[0]);if(4===t.length&&"function"==typeof r.then){if("fulfilled"===r.status)r=r.value;else throw r.reason}var o="*"===t[2]?r:""===t[2]?r.__esModule?r.default:r:i.call(r,t[2])?r[t[2]]:void 0;e.status="fulfilled",e.value=o}catch(t){e.status="rejected",e.reason=t}}function j(e,t){e._chunks.forEach(function(e){"pending"===e.status&&w(e,t)})}function C(e,t){var n=e._chunks,r=n.get(t);return r||(r=new v("pending",null,null,e),n.set(t,r)),r}function A(e,t){if("resolved_model"===(e=C(e,t)).status&&T(e),"fulfilled"===e.status)return e.value;throw e.reason}function k(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function M(e,t,n,r,o){var i;return(e={_bundlerConfig:e,_moduleLoading:t,_callServer:void 0!==n?n:k,_encodeFormAction:r,_nonce:o,_chunks:new Map,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]})._fromJSON=(i=e,function(e,t){return"string"==typeof t?function(e,t,n,r){if("$"===r[0]){if("$"===r)return f;switch(r[1]){case"$":return r.slice(1);case"L":return{$$typeof:p,_payload:e=C(e,t=parseInt(r.slice(2),16)),_init:b};case"@":if(2===r.length)return new Promise(function(){});return C(e,t=parseInt(r.slice(2),16));case"S":return Symbol.for(r.slice(2));case"h":return t=A(e,t=parseInt(r.slice(2),16)),function(e,t){function n(){var e=Array.prototype.slice.call(arguments),n=t.bound;return n?"fulfilled"===n.status?r(t.id,n.value.concat(e)):Promise.resolve(n).then(function(n){return r(t.id,n.concat(e))}):r(t.id,e)}var r=e._callServer;return y.set(n,t),n}(e,t);case"Q":return new Map(e=A(e,t=parseInt(r.slice(2),16)));case"W":return new Set(e=A(e,t=parseInt(r.slice(2),16)));case"I":return 1/0;case"-":return"$-0"===r?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(r.slice(2)));case"n":return BigInt(r.slice(2));default:switch((e=C(e,r=parseInt(r.slice(1),16))).status){case"resolved_model":T(e);break;case"resolved_module":x(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"cyclic":var o;return r=P,e.then(function(e,t,n,r){if(O){var o=O;r||o.deps++}else o=O={deps:r?0:1,value:null};return function(r){t[n]=r,o.deps--,0===o.deps&&"blocked"===e.status&&(r=e.value,e.status="fulfilled",e.value=o.value,null!==r&&S(r,o.value))}}(r,t,n,"cyclic"===e.status),(o=r,function(e){return w(o,e)})),null;default:throw e.reason}}}return r}(i,this,e,t):"object"==typeof t&&null!==t?e=t[0]===f?{$$typeof:f,type:t[1],key:t[2],ref:null,props:t[3],_owner:null}:t:t}),e}function I(e,t){function r(t){j(e,t)}var i=t.getReader();i.read().then(function t(c){var f=c.value;if(c.done)j(e,Error("Connection closed."));else{var p=0,h=e._rowState,g=e._rowID,m=e._rowTag,_=e._rowLength;c=e._buffer;for(var y=f.length;p<y;){var b=-1;switch(h){case 0:58===(b=f[p++])?h=1:g=g<<4|(96<b?b-87:b-48);continue;case 1:84===(h=f[p])?(m=h,h=2,p++):64<h&&91>h?(m=h,h=3,p++):(m=0,h=3);continue;case 2:44===(b=f[p++])?h=4:_=_<<4|(96<b?b-87:b-48);continue;case 3:b=f.indexOf(10,p);break;case 4:(b=p+_)>f.length&&(b=-1)}var S=f.byteOffset+p;if(-1<b){p=new Uint8Array(f.buffer,S,b-p),_=e,S=m;var P=_._stringDecoder;m="";for(var O=0;O<c.length;O++)m+=P.decode(c[O],o);switch(m+=P.decode(p),S){case 73:!function(e,t,r){var o=e._chunks,i=o.get(t);r=JSON.parse(r,e._fromJSON);var c=function(e,t){if(e){var n=e[t[0]];if(e=n[t[2]])n=e.name;else{if(!(e=n["*"]))throw Error('Could not find the module "'+t[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');n=t[2]}return 4===t.length?[e.id,e.chunks,n,1]:[e.id,e.chunks,n]}return t}(e._bundlerConfig,r);
2if(r=function(e){for(var t=e[1],r=[],o=0;o<t.length;){var i=t[o++],c=t[o++],d=a.get(i);void 0===d?(l.set(i,c),c=n.e(i),r.push(c),d=a.set.bind(a,i,null),c.then(d,u),a.set(i,c)):null!==d&&r.push(d)}return 4===e.length?0===r.length?s(e[0]):Promise.all(r).then(function(){return s(e[0])}):0<r.length?Promise.all(r):null}(c)){if(i){var d=i;d.status="blocked"}else d=new v("blocked",null,null,e),o.set(t,d);r.then(function(){return R(d,c)},function(e){return w(d,e)})}else i?R(i,c):o.set(t,new v("resolved_module",c,null,e))}(_,g,m);break;case 72:if(g=m[0],_=JSON.parse(m=m.slice(1),_._fromJSON),m=d.current)switch(g){case"D":m.prefetchDNS(_);break;case"C":"string"==typeof _?m.preconnect(_):m.preconnect(_[0],_[1]);break;case"L":g=_[0],p=_[1],3===_.length?m.preload(g,p,_[2]):m.preload(g,p);break;case"m":"string"==typeof _?m.preloadModule(_):m.preloadModule(_[0],_[1]);break;case"S":"string"==typeof _?m.preinitStyle(_):m.preinitStyle(_[0],0===_[1]?void 0:_[1],3===_.length?_[2]:void 0);break;case"X":"string"==typeof _?m.preinitScript(_):m.preinitScript(_[0],_[1]);break;case"M":"string"==typeof _?m.preinitModuleScript(_):m.preinitModuleScript(_[0],_[1])}break;case 69:p=(m=JSON.parse(m)).digest,(m=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.")).stack="Error: "+m.message,m.digest=p,(S=(p=_._chunks).get(g))?w(S,m):p.set(g,new v("rejected",null,m,_));break;case 84:_._chunks.set(g,new v("fulfilled",m,null,_));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");default:(S=(p=_._chunks).get(g))?(_=S,g=m,"pending"===_.status&&(m=_.value,p=_.reason,_.status="resolved_model",_.value=g,null!==m&&(T(_),E(_,m,p)))):p.set(g,new v("resolved_model",m,null,_))}p=b,3===h&&p++,_=g=m=h=0,c.length=0}else{f=new Uint8Array(f.buffer,S,f.byteLength-p),c.push(f),_-=f.byteLength;break}}return e._rowState=h,e._rowID=g,e._rowTag=m,e._rowLength=_,i.read().then(t).catch(r)}}).catch(r)}t.createFromFetch=function(e,t){var n=M(null,null,t&&t.callServer?t.callServer:void 0,void 0,void 0);return e.then(function(e){I(n,e.body)},function(e){j(n,e)}),C(n,0)},t.createFromReadableStream=function(e,t){return I(t=M(null,null,t&&t.callServer?t.callServer:void 0,void 0,void 0),e),C(t,0)},t.createServerReference=function(e,t){var n;function r(){var n=Array.prototype.slice.call(arguments);return t(e,n)}return n={id:e,bound:null},y.set(r,n),r},t.encodeReply=function(e){return new Promise(function(t,n){var r,o,i,a;o=1,i=0,a=null,r=JSON.stringify(r=e,function e(r,s){if(null===s)return null;if("object"==typeof s){if("function"==typeof s.then){null===a&&(a=new FormData),i++;var u,l,c=o++;return s.then(function(n){n=JSON.stringify(n,e);var r=a;r.append(""+c,n),0==--i&&t(r)},function(e){n(e)}),"$@"+c.toString(16)}if(g(s))return s;if(s instanceof FormData){null===a&&(a=new FormData);var d=a,f=""+(r=o++)+"_";return s.forEach(function(e,t){d.append(f+t,e)}),"$K"+r.toString(16)}if(s instanceof Map)return s=JSON.stringify(Array.from(s),e),null===a&&(a=new FormData),r=o++,a.append(""+r,s),"$Q"+r.toString(16);if(s instanceof Set)return s=JSON.stringify(Array.from(s),e),null===a&&(a=new FormData),r=o++,a.append(""+r,s),"$W"+r.toString(16);if(null===(l=s)||"object"!=typeof l?null:"function"==typeof(l=h&&l[h]||l["@@iterator"])?l:null)return Array.from(s);if((r=m(s))!==_&&(null===r||null!==m(r)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return s}if("string"==typeof s)return"Z"===s[s.length-1]&&this[r]instanceof Date?"$D"+s:s="$"===s[0]?"$"+s:s;if("boolean"==typeof s)return s;if("number"==typeof s)return Number.isFinite(u=s)?0===u&&-1/0==1/u?"$-0":u:1/0===u?"$Infinity":-1/0===u?"$-Infinity":"$NaN";if(void 0===s)return"$undefined";if("function"==typeof s){if(void 0!==(s=y.get(s)))return s=JSON.stringify(s,e),null===a&&(a=new FormData),r=o++,a.set(""+r,s),"$h"+r.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.")}if("symbol"==typeof s){if(Symbol.for(r=s.description)!==s)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+s.description+") cannot be found among global symbols.");return"$S"+r}if("bigint"==typeof s)return"$n"+s.toString(10);throw Error("Type "+typeof s+" is not supported as an argument to a Server Function.")}),null===a?t(r):(a.set("0",r),0===i&&t(a))})}},16703:function(e,t,n){"use strict";e.exports=n(97950)},6671:function(e,t,n){"use strict";e.exports=n(16703)},30622:function(e,t,n){"use strict";var r=n(2265),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INT
2ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;function u(e,t,n){var r,i={},u=null,l=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)a.call(t,r)&&"key"!==r&&"ref"!==r&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:l,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},17869:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function _(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}_.prototype.isReactComponent={},_.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")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=_.prototype;var b=v.prototype=new y;b.constructor=v,g(b,_.prototype),b.isPureReactComponent=!0;var S=Array.isArray,E={current:null},w={current:null},R={transition:null},P={ReactCurrentDispatcher:E,ReactCurrentCache:w,ReactCurrentBatchConfig:R,ReactCurrentOwner:{current:null}},O=Object.prototype.hasOwnProperty,T=P.ReactCurrentOwner;function x(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)O.call(t,o)&&"key"!==o&&"ref"!==o&&"__self"!==o&&"__source"!==o&&(i[o]=t[o]);var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===i[o]&&(i[o]=u[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:T.current}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var C=/\/+/g;function A(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function k(){}function M(e,t,o){if(null==e)return e;var i=[],a=0;return function e(t,o,i,a,s){var u,l,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var h=!1;if(null===t)h=!0;else switch(d){case"string":case"number":h=!0;break;case"object":switch(t.$$typeof){case n:case r:h=!0;break;case f:return e((h=t._init)(t._payload),o,i,a,s)}}if(h)return s=s(t),h=""===a?"."+A(t,0):a,S(s)?(i="",null!=h&&(i=h.replace(C,"$&/")+"/"),e(s,o,i,"",function(e){return e})):null!=s&&(j(s)&&(u=s,l=i+(!s.key||t&&t.key===s.key?"":(""+s.key).replace(C,"$&/")+"/")+h,s={$$typeof:n,type:u.type,key:l,ref:u.ref,props:u.props,_owner:u._owner}),o.push(s)),1;h=0;var g=""===a?".":a+":";if(S(t))for(var m=0;m<t.length;m++)d=g+A(a=t[m],m),h+=e(a,o,i,d,s);else if("function"==typeof(m=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(t=m.call(t),m=0;!(a=t.next()).done;)d=g+A(a=a.value,m++),h+=e(a,o,i,d,s);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(k,k):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),o,i,a,s);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return h}(e,i,"","",function(e){return t.call(o,e,a++)}),i}function I(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}function N(){return new WeakMap}function D(){return{s:0,v:void 0,o:null,p:null}}function L(){}var $="function"==typeof reportError?reportError:function(e){console.error(e)};
2t.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!j(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=_,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.act=function(){throw Error("act(...) is not supported in production builds of React.")},t.cache=function(e){return function(){var t=w.current;if(!t)return e.apply(null,arguments);var n=t.getCacheForType(N);void 0===(t=n.get(e))&&(t=D(),n.set(e,t)),n=0;for(var r=arguments.length;n<r;n++){var o=arguments[n];if("function"==typeof o||"object"==typeof o&&null!==o){var i=t.o;null===i&&(t.o=i=new WeakMap),void 0===(t=i.get(o))&&(t=D(),i.set(o,t))}else null===(i=t.p)&&(t.p=i=new Map),void 0===(t=i.get(o))&&(t=D(),i.set(o,t))}if(1===t.s)return t.v;if(2===t.s)throw t.v;try{var a=e.apply(null,arguments);return(n=t).s=1,n.v=a}catch(e){throw(a=t).s=2,a.v=e,e}}},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var o=g({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=T.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)O.call(t,l)&&"key"!==l&&"ref"!==l&&"__self"!==l&&"__source"!==l&&(o[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=j,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition,n=new Set;R.transition={_callbacks:n};var r=R.transition;try{var o=e();"object"==typeof o&&null!==o&&"function"==typeof o.then&&(n.forEach(function(e){return e(r,o)}),o.then(L,$))}catch(e){$(e)}finally{R.transition=t}},t.unstable_useCacheRefresh=function(){return E.current.useCacheRefresh()},t.use=function(e){return E.current.use(e)},t.useCallback=function(e,t){return E.current.useCallback(e,t)},t.useContext=function(e){return E.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.current.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.current.useEffect(e,t)},t.useId=function(){return E.current.useId()},t.useImperativeHandle=function(e,t,n){return E.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.current.useMemo(e,t)},t.useOptimistic=function(e,t){return E.current.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.current.useReducer(e,t,n)},t.useRef=function(e){return E.current.useRef(e)},t.useState=function(e){return E.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.current.useTransition()},t.version="18.3.0-canary-178c267a4e-20241218"},2265:function(e,t,n){"use strict";e.exports=n(17869)},57437:function(e,t,n){"use strict";e.exports=n(30622)},37394:function(e,t,n){"use strict";let r,o,i,a,s,u,l,c,d,f,p,h,g,m,_,y,v,b,S,E,w;n.d(t,{S1n:function(){return aU}});let R=globalThis,P="10.75.3";function O(){return T(R),R}function T(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||P,t[P]=t[P]||{}}function x(e,t,n=R){let r=n.__SENTRY__=n.__SENTRY__||{},o=r[P]=r[P]||{};return o[e]||(o[e]=t())}let j="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,C=["debug","info","warn","error","log","assert","trace"],A={};function k(e){if(!("console"in R))return e();let t=R.console,n={},r=Object.keys(A);
2r.forEach(e=>{let r=A[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function M(){return N().enabled}function I(e,...t){j&&M()&&k(()=>{R.console[e](`Sentry Logger [${e}]:`,...t)})}function N(){return j?x("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let D={enable:function(){N().enabled=!0},isEnabled:M,log:function(...e){I("log",...e)},warn:function(...e){I("warn",...e)},error:function(...e){I("error",...e)}};function L(e,t,n=[t],r="npm"){let o=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};o.name||(o.name=`sentry.javascript.${t}`,o.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:P})),o.version=P)}let $=Object.prototype.toString;function U(e){switch($.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return J(e,Error)}}function F(e,t){return $.call(e)===`[object ${t}]`}function H(e){return F(e,"ErrorEvent")}function B(e){return F(e,"DOMError")}function z(e){return F(e,"String")}function q(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function W(e){return null===e||q(e)||"object"!=typeof e&&"function"!=typeof e}function G(e){return F(e,"Object")}function Y(e){return"object"==typeof e&&null!==e}function K(e){return"undefined"!=typeof Event&&J(e,Event)}function V(e){return!!(e?.then&&"function"==typeof e.then)}function J(e,t){try{return e instanceof t}catch{return!1}}function X(e){return"undefined"!=typeof Request&&J(e,Request)}function Q(e,t,n){if(!(t in e))return;let r=e[t];if("function"!=typeof r)return;let o=n(r);"function"==typeof o&&ee(o,r);try{e[t]=o}catch{j&&D.log(`Failed to replace method "${t}" in object`,e)}}function Z(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{j&&D.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function ee(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,Z(e,"__sentry_original__",t)}catch{}}function et(e){return e.__sentry_original__}function en(e){if(U(e))return{message:e.message,name:e.name,stack:e.stack,...er(e)};if(K(e)){let{type:t,target:n,currentTarget:r,detail:o}=e;return{type:t,target:n,currentTarget:r,...o?{detail:o}:{},...er(e)}}return e}function er(e){return Y(e)?Object.fromEntries(Object.entries(e)):{}}function eo(e){if(void 0!==r)return r?r(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return t in R&&"function"==typeof R[t]?(r=R[t])(e):(r=null,e())}function ei(){return eo(()=>Math.random())}function ea(){return eo(()=>Date.now())}function es(e=R.crypto||R.msCrypto){try{if(e?.randomUUID)return eo(()=>e.randomUUID()).replace(/-/g,"")}catch{}return o||(o="10000000100040008000100000000000"),o.replace(/[018]/g,e=>(e^(15&16*ei())>>e/4).toString(16))}function eu(e){return e.exception?.values?.[0]}function el(e){let{message:t,event_id:n}=e;if(t)return t;let r=eu(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function ec(e,t,n){let r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function ed(e,t){let n=eu(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r?.data,...t.data};n.mechanism.data=e}}function ef(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{Z(e,"__sentry_captured__",!0)}catch{}return!1}function ep(){return ea()/1e3}function eh(){return(i??(i=function(){let{performance:e}=R;if(!e?.now||!e.timeOrigin)return ep;let t=e.timeOrigin;return()=>(t+eo(()=>e.now()))/1e3}()))()}let eg=null;function em(){return null===eg&&(eg=function(){let{performance:e}=R;if(!e?.now)return;let t=eo(()=>e.now()),n=ea(),r=e.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+t-n))return r;let o=e.timing?.navigationStart;return"number"==typeof o&&3e5>Math.abs(o+t-n)?o:n-t}()),eg}function e_(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||eh(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:es()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ey(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=ey(r[e],t[e],n-1));return r}function ev(){return es().substring(16)}function eb(e){try{let t=R.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}function eS(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}let eE="_sentrySpan";function ew(e,t){t?Z(e,eE,eb(t)):delete e[eE]}let eR=Symbol.for("sentry.skipNormalization"),eP=Symbol.for("sentry.overrideNormalizationDepth"),eO=/\(error: (.*)\)/,eT=/captureMessage|captureException/;function ex(...e){let t=e.sort((e,t)=>
2e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let o=[],i=e.split("\n");for(let e=n;e<i.length;e++){let n=i[e];n.length>1024&&(n=n.slice(0,1024));let a=eO.test(n)?n.replace(eO,"$1"):n;if(!a.includes("Error: ")){for(let e of t){let t=e(a);if(t){o.push(t);break}}if(o.length>=50+r)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(ej(t).function||"")&&t.pop(),t.reverse(),eT.test(ej(t).function||"")&&(t.pop(),eT.test(ej(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||ej(t).filename,function:e.function||"?"}))}(o.slice(r))}}function ej(e){return e[e.length-1]||{}}let eC="<anonymous>";function eA(e){try{if(!e||"function"!=typeof e)return eC;return e.name||eC}catch{return eC}}function ek(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function eM(e,t=100,n=1/0){try{return function e(t,n,r=1/0,o=1/0,i=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[a,s]=i;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let u=eI(t,n);if(!u.startsWith("[object "))return u;if(n[eR])return n;let l=function(e){let t=e[eP];return"number"==typeof t?t:void 0}(n),c=void 0!==l?l:r;if(0===c)return u.replace("object ","");if(a(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,c-1,o,i)}catch{}let d=Array.isArray(n)?[]:{},f=0,p=en(n);for(let t in p){if(!Object.prototype.hasOwnProperty.call(p,t))continue;if(f>=o){d[t]="[MaxProperties ~]";break}let n=p[t];d[t]=e(t,n,c-1,o,i),f++}return s(n),d}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function eI(e,t){try{if(a){let e=a(t);if(e)return e}if("undefined"!=typeof global&&t===global)return"[Global]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${eA(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let e=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return`[object ${e}]`}catch(e){return`**non-serializable** (${e})`}}function eN(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function eD(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];W(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(eI(void 0,r))}return n.join(t)}function eL(e,t,n=!1){return!!z(e)&&(F(t,"RegExp")?t.test(e):z(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function e$(e,t=[],n=!1){for(let r of t)if(eL(e,r,n))return!0;return!1}class eU{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:es(),sampleRand:ei()}}clone(){let e=new eU;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,ew(e,eS(this[eE])),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&e_(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,attributes:r,extra:o,user:i,contexts:a,level:s,fingerprint:u=[],propagationContext:l,conversationId:c}=(t instanceof eU?t.getScopeData():G(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),s&&(this._level=s),u.length&&(this._fingerprint=u),l&&(this._propagationContext=l),c&&
2(this._conversationId=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,ew(this,void 0),this._attachments=[],this.setPropagationContext({traceId:es(),sampleRand:ei()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:ep(),...e,message:e.message?eN(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:eS(this[eE]),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=ey(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||es();if(!this._client)return j&&D.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||es();if(!this._client)return j&&D.warn("No client configured on scope - will not capture message!"),r;let o=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||es();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):j&&D.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}let eF=e=>e instanceof Promise&&!e[eH],eH=Symbol("chained PromiseLike"),eB=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return eF(r)&&eF(e)?r:ez(e,r)},ez=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let o=e[r];"function"==typeof o?Object.defineProperty(t,r,{value:(...t)=>o.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=o}return n&&Object.assign(t,{[eH]:!0}),t};class eq{constructor(e,t){let n,r;n=e||new eU,r=t||new eU,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t;let n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return V(t)?eB(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eW(){let e=T(O());return e.stack=e.stack||new eq(x("defaultCurrentScope",()=>new eU),x("defaultIsolationScope",()=>new eU))}function eG(e){return eW().withScope(e)}function eY(e,t){let n=eW();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function eK(e){return eW().withScope(()=>e(eW().getIsolationScope()))}function eV(e){let t=T(e);return t.acs?t.acs:{withIsolationScope:eK,withScope:eG,withSetScope:eY,withSetIsolationScope:(e,t)=>eK(t),getCurrentScope:()=>eW().getScope(),getIsolationScope:()=>eW().getIsolationScope()}}function eJ(){return eV(O()).getCurrentScope()}function eX(){return eV(O()).getIsolationScope()}function eQ(...e){let t=eV(O());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function eZ(){return eJ().getClient()}let e0="production";function e1(e){return new e4(t=>{t(e)})}function e2(e){return new e4((t,n)=>{n(e)})}class e4{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new e4((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new e4((t,n)=>{let r,o;return this.then(t=>{o=!1,r=t,e&&e()},t=>{o=!0,r=t,e&&e()}).then(()=>
2{if(o){n(r);return}t(r)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if(V(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(1,e)},r=e=>{t(2,e)};try{e(n,r)}catch(e){r(e)}}}let e3="sentry.source",e5="sentry.sample_rate",e6="sentry.previous_trace_sample_rate",e7="sentry.op",e8="sentry.origin",e9="sentry.idle_span_finish_reason",te="sentry.measurement_unit",tt="sentry.measurement_value",tn="sentry.custom_span_name",tr="sentry.profile_id",to="sentry.exclusive_time",ti="sentry-";function ta(e){let t=ts(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.startsWith(ti)&&(e[t.slice(ti.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}function ts(e){return e&&(z(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>(Object.entries(tu(t)).forEach(([t,n])=>{e[t]=n}),e),{}):tu(e):void 0}function tu(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}let tl=/^o(\d+)\./,tc=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function td(e,t=!1){let{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:u}=e;return`${s}://${u}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`}function tf(e){let t=tc.exec(e);if(!t){k(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,o="",i="",a="",s=""]=t.slice(1),u="",l=s,c=l.split("/");if(c.length>1&&(u=c.slice(0,-1).join("/"),l=c.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return tp({host:i,pass:o,path:u,projectId:l,port:a,protocol:n,publicKey:r})}function tp(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function th(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||eZ()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}function tg(e,t=!1){let n={};for(let[r,o]of Object.entries(e??{})){let e=function(e,t){let{value:n,unit:r}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},o=function(e){if(Array.isArray(e))return{value:e,type:"array"};let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(n),i=r&&"string"==typeof r?{unit:r}:{};if(o)return{...o,...i};if(!t||"skip-undefined"===t&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...i}}(o,t);e&&(n[r]=e)}return n}function tm(e,t){e.setAttribute("http.response.status_code",t);let n=function(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}let t_="_sentryScope",ty="_sentryIsolationScope",tv=Symbol.for("sentry.otelSourceInference"),tb=Symbol.for("sentry.otelSourceExplicitlySet"),tS=Symbol.for("sentry.tracerProviderSpan");function tE(e,t,n){e&&(Z(e,ty,eb(n)),Z(e,t_,t))}function tw(e){return{scope:e[t_],isolationScope:eS(e[ty])}}function tR(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}let tP=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function tO(e=es(),t=ev(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function tT(e=es(),t=ev(),n){return`00-${e}-${t}-${n?"01":"00"}`}let tx=!1;function tj(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:o})=>({span_id:e,trace_id:t,sampled:1===n,attributes:o,...r})):void 0}function tC(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r})):void 0}function tA(e){return"number"==typeof e?tk(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?tk(e.getTime()):eh()}function tk(e){return e>9999999999?e/1e3:e}function tM(e){if(tL(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(tD(e)){let{attributes:r,startTime:o,name:i,endTime:a,status:s,links:u}=e;return{span_id:t,trace_id:n,data:r,description:i,parent_span_id:tN(e),start_timestamp:tA(o),timestamp:tA(a)||void 0,status:tU(s),op:r[e7],origin:r[e8],links:tj(u)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function tI(e){if(tL(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(tD(e)){let{attributes:r,startTime:o,name:i,endTime:a,status:s,links:u}=e;return{name:i,span_id:t,trace_id:n,parent_span_id:tN(e),start_timestamp:tA(o),end_timestamp:tA(a),is_segment:e===tY(e),status:tF(s),attributes:tH(r,s),links:tC(u)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===tY(e)}}function tN(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function tD(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function tL(e){return"function"==typeof e.getSpanJSON}function t$(e){let{traceFlags:t}=e.spanContext();return 1===t}function tU(e){return e&&0!==e.code?1===e.code?"ok":e.message||"internal_error":void 0}function tF(e){return e&&1!==e.code&&0!==e.code&&"cancelled"!==e.message?"error":"ok"}function tH(e,t){let n="error"===tF(t)?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}let tB="_sentryChildSpans",tz="_sentryRootSpan";function tq(e,t){let n=e[tz]||e;
2Z(t,tz,n),t$(e)&&(e.isRecording()||n.isRecording())&&(e[tB]?e[tB].add(t):Z(e,tB,new Set([t])))}function tW(e){let t=new Set;return function e(n){if(!t.has(n)&&t$(n))for(let r of(t.add(n),n[tB]?Array.from(n[tB]):[]))e(r)}(e),Array.from(t)}let tG=tY;function tY(e){return e[tz]||e}function tK(){let e=eV(O());return e.getActiveSpan?e.getActiveSpan():eS(eJ()[eE])}function tV(){tx||(k(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),tx=!0)}let tJ=Symbol.for("sentry.nonRecordingSpan");class tX{constructor(e={}){this._traceId=e.traceId||es(),this._spanId=e.spanId||ev(),this.dropReason=e.dropReason,Z(this,tJ,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function tQ(e){return!!e&&!0===e[tJ]}let tZ="_frozenDsc";function t0(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o={environment:n.environment||e0,release:n.release,public_key:r,trace_id:e,org_id:function(e){let t;let n=e.getOptions(),{host:r}=e.getDsn()||{};return n.orgId?t=String(n.orgId):r&&(t=function(e){let t=e.match(tl);return t?.[1]}(r)),t}(t)};return t.emit("createDsc",o),o}function t1(e,t){let n=t.getPropagationContext();return n.dsc||t0(n.traceId,e)}function t2(e){let t=eZ();if(!t)return{};let n=tG(e),r=tM(n),o=r.data,i=n.spanContext().traceState,a=i?.get("sentry.sample_rate")??o[e5]??o[e6];function s(e){return("number"==typeof a||"string"==typeof a)&&(e.sample_rate=`${a}`),e}let u=n[tZ];if(u)return s(u);let l=tQ(n),c=l&&"ignored"===n.dropReason;if(l&&(!th(t.getOptions())||c)){let e=tw(n).scope;if(e){let n={...t1(t,e)};return c&&(n.sampled="false"),s(n)}}let d=i?.get("sentry.dsc"),f=d&&ta(d);if(f)return s(f);let p=t0(e.spanContext().traceId,t),h=o[e3]??o["sentry.segment.name.source"],g=r.description;return"url"!==h&&g&&(p.transaction=g),th()&&(p.sampled=String(t$(n)),p.sample_rand=i?.get("sentry.sample_rand")??tw(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit("createDsc",p,n),p}function t4(e,t){let{extra:n,tags:r,attributes:o,user:i,contexts:a,level:s,sdkProcessingMetadata:u,breadcrumbs:l,fingerprint:c,eventProcessors:d,attachments:f,propagationContext:p,transactionName:h,span:g}=t;t3(e,"extra",n),t3(e,"tags",r),t3(e,"attributes",o),t3(e,"user",i),t3(e,"contexts",a),e.sdkProcessingMetadata=ey(e.sdkProcessingMetadata,u,2),s&&(e.level=s),h&&(e.transactionName=h),g&&(e.span=g),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function t3(e,t,n){e[t]=ey(e[t],n,1)}function t5(e,t){let n=x("globalScope",()=>new eU).getScopeData();return e&&t4(n,e.getScopeData()),t&&t4(n,t.getScopeData()),n}function t6(e,t){return eJ().captureEvent(e,t)}function t7(e){let t=eX(),{user:n}=t5(t,eJ()),{userAgent:r}=R.navigator||{},o=function(e){let t=eh(),n={sid:es(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return e&&e_(n,e),n}({user:n,...r&&{userAgent:r},...e}),i=t.getSession();return i?.status==="ok"&&e_(i,{status:"exited"}),t8(),t.setSession(o),o}function t8(){let e=eX(),t=eJ().getSession()||e.getSession();if(t){let e;e={},"ok"===t.status&&(e={status:"exited"}),e_(t,e)}t9(),e.setSession()}function t9(){let e=eX(),t=eZ(),n=e.getSession();n&&t&&t.captureSession(n)}function ne(e=!1){if(e){t8();return}t9()}let nt=[];function nn(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function nr(e,t,n){if(n[t.name]){j&&D.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,nt.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),nt.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{let r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),j&&D.log(`Integration installed: ${t.name}`)}function no(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}let ni=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],na=(e={})=>{let t;return{name:"EventFilters",setup(n){t=nu(e,n.getOptions())},processEvent:(n,r,o)=>(t||(t=nu(e,o.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&e$(n,t)}(e,t.ignoreTransactions))return j&&D.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 3Event: ${el(e)}`),!0}else{var n;if(n=t.ignoreErrors,n?.length&&no(e).some(e=>e$(e,n)))return j&&D.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 4Event: ${el(e)}`),!0;if(e.exception?.values?.length&&!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return j&&D.warn(`Event dropped due to not having an error message, error type or stacktrace. 5Event: ${el(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=nl(e);return!!n&&e$(n,t)}(e,t.denyUrls))return j&&D.warn(`Event dropped due to being matched by \`denyUrls\` option. 6Event: ${el(e)}. 7Url: ${nl(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=nl(e);return!n||e$(n,t)}(e,t.allowUrls))return j&&D.warn(`Event dropped due to not being matched by \`allowUrls\` option. 8Event: ${el(e)}. 9Url: ${nl(e)}`),!0}return!1}(n,t)?n:null)}},ns=(e={})=>({...na(e),name:"InboundFilters"});function nu(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:ni],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function nl(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return j&&D.error(`Cannot extract url for event ${el(e)}`),null}}let nc=new WeakMap,nd=()=>({name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n;let r=et(this);try{nc.has(eZ())&&void 0!==r&&(n=r)}catch{}return e.apply(n??this,t)}}catch{}},setup(e){nc.set(e,!0)}}),nf=()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=eJ().getScopeData(),n=eX().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:o}=tM(e);if(!t?.startsWith("gen_ai.")&&!n["ai.operationId"]&&!o?.startsWith("ai."))return;e.setAttribute("gen_ai.conversation.id",r)}})}}),np=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n;if((n=e)&&(function(e,t){let n=e.message,r=t.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&ng(e,t)&&nh(e,t))}(t,n)||function(e,t){let n=nm(t),r=nm(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&ng(e,t)&&nh(e,t))}(t,n)))return j&&D.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function nh(e,t){let n=ek(e),r=ek(t);if(!n&&!r)return!0;
9if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],o=n[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function ng(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function nm(e){return e.exception?.values?.[0]}function n_(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}function ny(e,t=[]){return[e,t]}function nv(e,t){let[n,r]=e;return[n,[...r,t]]}function nb(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function nS(e){let t=T(R);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let nE={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function nw(e){return e in nE?nE[e]:e}function nR(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function nP(e){D.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function nO(e,t){if(!t?.length)return!1;for(let n of t){if("string"==typeof n||n instanceof RegExp){if(e.description&&eL(e.description,n))return j&&nP(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&eL(e.description,n.name),o=!n.op||e.op&&eL(e.op,n.op),i=!n.attributes||Object.entries(n.attributes).every(([t,n])=>(function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?eL(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t})(e.attributes?.[t],n));if(r&&o&&i)return j&&nP(e),!0}return!1}var nT=n(40257);function nx(){return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==nT?nT:0))||function(){let e=R.process;return e?.type==="renderer"}())}function nj(e,t){let n=t??nC().get(e)??[];if(0===n.length)return;let r=e.getOptions(),o=function(e,t,n,r,o){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=td(r)),ny(i,[function(e,t){let n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...nx()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}(e,o)])}(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);nC().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function nC(){return x("clientToLogBufferMap",()=>new WeakMap)}function nA(e,t){let n=t??nk().get(e)??[];if(0===n.length)return;let r=e.getOptions(),o=function(e,t,n,r,o){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=td(r)),ny(i,[function(e,t){let n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...nx()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}(e,o)])}(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);nk().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function nk(){return x("clientToMetricBufferMap",()=>new WeakMap)}function nM(e){return"stream"===e.getOptions().traceLifecycle}function nI(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let nN=Symbol.for("SentryBufferFullError");function nD(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return e2(nN);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return e1(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>nI(setTimeout(()=>t(!1),e)))]):n}}}let nL=["forwarded","-ip","remote-","via","-user"],n$=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"],nU={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
9,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},nF="Not capturing exception because it's already been captured.",nH="Discarded session because of missing or non-string release",nB=Symbol.for("SentryInternalError"),nz=Symbol.for("SentryDoNotSendEventError");function nq(e){return{message:e,[nB]:!0}}function nW(e){return{message:e,[nz]:!0}}function nG(e){return Y(e)&&nB in e}function nY(e){return Y(e)&&nz in e}function nK(e,t,n,r,o){let i,a=0,s=!1;e.on(n,()=>{a=0,clearTimeout(i),s=!1}),e.on(t,t=>{if((a+=r(t))>=8e5)o(e);else if(!s){let t=e.getOptions()._flushInterval??5e3;t>0&&(s=!0,i=nI(setTimeout(()=>{o(e)},t)))}}),e.on("flush",()=>{o(e)})}class nV{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=nD(e.transportOptions?.bufferSize??64),this._dataCollection=function(e){var t,n;let r=null!=e.dataCollection?nU:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:nL},httpHeaders:{request:{deny:nL},response:{deny:nL}},httpBodies:[],urlQueryParams:{deny:nL},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},o=e.dataCollection??{};return{userInfo:o.userInfo??r.userInfo,cookies:o.cookies??r.cookies,httpHeaders:(t=o.httpHeaders,n=r,void 0===t?{...n.httpHeaders}:"boolean"==typeof t||"allow"in t||"deny"in t?{request:t,response:t}:{request:t.request??n.httpHeaders.request,response:t.response??n.httpHeaders.response}),httpBodies:o.httpBodies??r.httpBodies,urlQueryParams:o.urlQueryParams??o.queryParams??r.urlQueryParams,graphQL:{document:o.graphQL?.document??r.graphQL.document,variables:o.graphQL?.variables??r.graphQL.variables},genAI:{inputs:o.genAI?.inputs??r.genAI.inputs,outputs:o.genAI?.outputs??r.genAI.outputs},databaseQueryData:o.databaseQueryData??r.databaseQueryData,stackFrameVariables:o.stackFrameVariables??r.stackFrameVariables,frameContextLines:o.frameContextLines??r.frameContextLines}}(e),e.dsn?this._dsn=function(e){let t="string"==typeof e?tf(e):tp(e);if(t&&function(e){if(!j)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(D.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"===r||"https"===r?!(t&&isNaN(parseInt(t,10)))||(D.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(D.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(D.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}(e.dsn):j&&D.warn("No DSN provided, client will not send events."),this._dsn){var t,n,r;let o=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${function(e,t){let n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(t,r)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:o})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&nK(this,"afterCaptureLog","flushLogs",n0,nj),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&nK(this,"afterCaptureMetric","flushMetrics",nZ,nA)}captureException(e,t,n){let r=es();if(ef(e))return j&&D.log(nF),r;let o={event_id:r,...t};return this._process(()=>this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n)).then(e=>e),"error"),o.event_id}captureMessage(e,t,n,r){let o={event_id:es(),...n},i=q(e)?e:String(e),a=W(e),s=a?this.eventFromMessage(i,t,o):this.eventFromException(e,o);return this._process(()=>s.then(e=>this._captureEvent(e,o,r)),a?"unknown":"error"),o.event_id}captureEvent(e,t,n){let r=es();if(t?.originalException&&ef(t.originalException))return j&&D.log(nF),r;let o={event_id:r,...t},i=e.sdkProcessingMetadata||{},a=i.capturedSpanScope,s=i.capturedSpanIsolationScope,u=nJ(e.type);return this._process(()=>this._captureEvent(e,o,a||n,s),u),o.event_id}captureSession(e){this.sendSession(e),e_(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;
9if(this.emit("flush"),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),nr(this,e,this._integrations),t||nn(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===t.getOptions().streamGenAiSpans||nM(t))return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?n.push(function(e){var t;return{...t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links},attributes:tg(t.attributes),links:t.links?.map(e=>({...e,attributes:tg(e.attributes)}))}}(t)):r.push(t);if(0===n.length)return;e.spans=r;let o=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...nx()&&{ingest_settings:{infer_ip:o,infer_user_agent:o}},items:n}]}(e,this),r=function(e,t,n,r){let o=nR(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);let a=function(e,t,n,r){let o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(ea()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:td(r)},...o&&{trace:o}}}(e,o,r,t);return delete e.sdkProcessingMetadata,ny(a,[[{type:i},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=nv(r,function(e){let t="string"==typeof e.data?nS(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));n&&(r=nv(r,n)),this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:n=e0}=this._options;if("aggregates"in e){let r=e.attrs||{};if(!r.release&&!t){j&&D.warn(nH);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){j&&D.warn(nH);return}e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);let r=function(e,t,n,r){let o=nR(n);return ny({sent_at:new Date(ea()).toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:td(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;j&&D.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return j&&D.error("Error while sending envelope:",e),{}}return j&&D.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&nr(e,t,n)}),n}(this,e),nn(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,o=t.exception?.values;if(o){for(let e of(r=!0,n=!1,o))if(e.mechanism?.handled===!1){n=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&n)&&(e_(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let o=this.getOptions(),i=this.getIntegrationNames();
9return!t.integrations&&i.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(function(e,t,n,r,o,i){let{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,f={...t,event_id:t.event_id||n.event_id||es(),timestamp:t.timestamp||ep()},p=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:o,maxValueLength:i}=t;e.environment=e.environment||n||e0,!e.release&&r&&(e.release=r),!e.dist&&o&&(e.dist=o);let a=e.request;a?.url&&i&&(a.url=eN(a.url,i)),i&&e.exception?.values?.forEach(e=>{e.value&&(e.value=eN(e.value,i))})})(f,e),p.length>0&&(f.sdk=f.sdk||{},f.sdk.integrations=[...f.sdk.integrations||[],...p]),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=R._sentryDebugIds,n=R._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],o=n?Object.keys(n):[];if(d&&r.length===l&&o.length===c)return d;l=r.length,c=o.length,d={},u||(u={});let i=(t,n)=>{for(let r of t){let t=n[r],o=u?.[r];if(o&&d&&t)d[o[0]]=t,u&&(u[r]=[o[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let o=n[e],i=o?.filename;if(i&&d&&u){d[i]=t,u[r]=[i,t];break}}}}};return t&&i(r,t),n&&i(o,n),d}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(f,e.stackParser);let h=function(e,t){if(!t)return e;let n=e?e.clone():new eU;return n.update(t),n}(r,n.captureContext);n.mechanism&&ed(f,n.mechanism);let g=o?o.getEventProcessors():[],m=t5(i,h),_=[...n.attachments||[],...m.attachments];_.length&&(n.attachments=_),function(e,t){let{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;(function(e,t){let{extra:n,tags:r,user:o,contexts:i,level:a,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),r&&function(e,t){e.contexts={trace:function(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),o=r?t:tM(e).parent_span_id,i=tw(e).scope;return{parent_span_id:o,span_id:r?i?.getPropagationContext().propagationSpanId||ev():t,trace_id:n}}(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:t2(t),...e.sdkProcessingMetadata};let n=tM(tG(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],n&&(e.fingerprint=e.fingerprint.concat(n)),e.fingerprint.length||delete e.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...i}}(f,m);let y=[...g,...m.eventProcessors];return(n.data&&!0===n.data.__sentry__?e1(f):function(e,t,n,r=0){try{let o=function e(t,n,r,o){let i=r[o];if(!t||!i)return t;let a=i({...t},n);return(j&&null===a&&D.log(`Event processor "${i.id||"?"}" dropped event`),V(a))?a.then(t=>e(t,n,r,o+1)):e(a,n,r,o+1)}(t,n,e,r);return V(o)?o:e1(o)}catch(e){return e2(e)}}(y,f,n)).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof a&&a>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:eM(e.data,t,n)}}))},...e.user&&{user:eM(e.user,t,n)},...e.contexts&&{contexts:eM(e.contexts,t,n)},...e.extra&&{extra:eM(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=eM(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:eM(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=eM(e.contexts.flags,3,n)),r}(e,a,s):e)})(o,e,t,n,this,r).then(e=>{if(null===e)return e;
9this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...function(e){let t=s?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:o}=e.getPropagationContext(),i={trace_id:n,span_id:o||ev()};return r&&(i.parent_span_id=r),i}(n)},...e.contexts};let r=t1(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=eJ(),r=eX()){return j&&nX(e)&&D.log(`Captured error event \`${no(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{j&&(nY(e)?D.log(e.message):nG(e)?D.warn(e.message):D.warn(e))})}_processEvent(e,t,n,r){let o=this.getOptions(),{sampleRate:i}=o,a=nQ(e),s=nX(e),u=e.type||"error",l=`before send for type \`${u}\``,c=void 0===i?void 0:tR(i),d=nJ(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),nW("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(V(e))return e.then(e=>{if(!G(e)&&null!==e)throw nq(n);return e},e=>{throw nq(`${t} rejected with ${e}`)});if(!G(e)&&null!==e)throw nq(n);return e}(function(e,t,n,r){let{beforeSend:o,beforeSendTransaction:i,ignoreSpans:a}=t,s=!n_(t.beforeSendSpan)&&t.beforeSendSpan,u=n;if(nX(u)&&o)return o(u,r);if(nQ(u)){if(s||a){let t=function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:i,data:a,op:s}=e.contexts?.trace??{};return{data:a??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:a?.[tr],exclusive_time:a?.[to],measurements:e.measurements,is_segment:!0}}(u);if(a?.length&&nO({description:t.description,op:t.op,attributes:t.data},a))return null;if(s){let e=s(t);e?u=ey(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[tr]:e.profile_id},...e.exclusive_time&&{[to]:e.exclusive_time}}}},measurements:e.measurements}):tV()}if(u.spans){let t=[],n=u.spans;for(let e of n){if(a?.length&&nO({description:e.description,op:e.op,attributes:e.data},a)){!function(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}(n,e);continue}if(s){let n=s(e);n?t.push(n):(tV(),t.push(e))}else t.push(e)}let r=u.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),u.spans=t}}if(i){if(u.spans){let e=u.spans.length;u.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(u,r)}}return u}(this,o,e,t),l)}).then(o=>{if(null===o){if(this.recordDroppedEvent("before_send",d),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw nW(`${l} returned \`null\`, will not send event.`)}let u=n.getSession()||r.getSession();if(s&&u&&this._updateSessionFromEvent(u,o),s&&"number"==typeof c&&ei()>c)throw this.recordDroppedEvent("sample_rate","error"),nW(`Discarding event because it's not included in the random sample (sampling rate = ${i})`);if(a){let e=(o.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let f=o.transaction_info;return a&&f&&o.transaction!==e.transaction&&(o.transaction_info={...f,source:"custom"}),this.sendEvent(o,t),o}).then(null,e=>{if(nY(e)||nG(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),nq(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 10Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===nN&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;j&&D.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){j&&D.log("No outcomes to send");return}if(!this._dsn){j&&D.log("No dsn provided, will not send outcomes");return}j&&D.log("Sending outcomes:",t);let n=ny((e=this._options.tunnel&&td(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:ep(),discarded_events:t}]]);this.sendEnvelope(n)}}function nJ(e){return"replay_event"===e?"replay":e||"error"}function nX(e){return void 0===e.type}function nQ(e){return"transaction"===e.type}function nZ(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+n1(e.attributes)}function n0(e){let t=0;return e.message&&(t+=2*e.message.length),t+n1(e.attributes)}function n1(e){if(!e)return 0;let t=0;
10return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*n2(e[0]):W(e)?t+=n2(e):t+=100}),t}function n2(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function n4(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function n3(e){return U(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function n5(e,t){let n=n7(e,t),r={type:function(e){let t=e?.name;return!t&&n9(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return n9(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?n3(t.error):n3(e):"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function n6(e,t){return{exception:{values:[n5(e,t)]}}}function n7(e,t){let n=t.stacktrace||t.stack||"",r=t&&n8.test(t.message)?1:0,o="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(n,r,o)}catch{}return[]}let n8=/Minified React error #\d+;/i;function n9(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function re(e,t,n,r,o){let i;if(H(t)&&t.error)return n6(e,t.error);if(B(t)||F(t,"DOMException")){if("stack"in t){i=n6(e,t);let o=i.exception?.values?.[0];if(r&&n&&o&&!o.stacktrace){let t=n7(e,n);t.length&&(o.stacktrace={frames:t},ed(i,{synthetic:!0}))}}else{let o=t.name||(B(t)?"DOMError":"DOMException"),a=t.message?`${o}: ${t.message}`:o;ec(i=rt(e,a,n,r),a)}return"code"in t&&(i.tags={...i.tags,"DOMException.code":`${t.code}`}),i}return U(t)?n6(e,t):(G(t)||K(t)?ed(i=function(e,t,n,r){let o=eZ(),i=o?.getOptions().normalizeDepth,a=Object.values(t).find(U),s={__serialized__:function e(t,n=3,r=102400){let o=eM(t,n);return~-encodeURI(JSON.stringify(o)).split(/%..|./).length>r?e(t,n-1,r):o}(t,i)};if(a)return{exception:{values:[n5(e,a)]},extra:s};let u={exception:{values:[{type:K(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=function(e){let t=Object.keys(en(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}(e),r=t?"promise rejection":"exception";if(H(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(K(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:s};if(n){let t=n7(e,n);t.length&&(u.exception.values[0].stacktrace={frames:t})}return u}(e,t,n,o),{synthetic:!0}):(ec(i=rt(e,t,n,r),`${t}`,void 0),ed(i,{synthetic:!0})),i)}function rt(e,t,n,r){let o={};if(r&&n){let r=n7(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]}),ed(o,{synthetic:!0})}if(q(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function rn(){try{return R.document.location.href}catch{return""}}function rr(e,t=5){if(!R.HTMLElement)return null;let n=e;for(let e=0;e<t&&n;e++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}let ro=0;function ri(e,t={}){if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){let t=e.__sentry_wrapped__;if("function"==typeof t)return t;return e}if(et(e))return e}catch{return e}let n=function(...n){R._sentryWrappedDepth=(R._sentryWrappedDepth||0)+1;try{let r=n.map(e=>ri(e,t));return e.apply(this,r)}catch(e){throw ro++,setTimeout(()=>{ro--}),eQ(r=>{r.addEventProcessor(e=>(t.mechanism&&(ec(e,void 0,void 0),ed(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),eJ().captureException(e,void 0)}),e}finally{R._sentryWrappedDepth=(R._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}ee(n,e),Z(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function ra(){let e=rn(),{referrer:t}=R.document||{},{userAgent:n}=R.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}class rs extends nV{constructor(e){let t={release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:R.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e};L(t,"browser",["browser"],R.SENTRY_SDK_SOURCE||"npm"),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?"auto":"never",...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;R.document&&R.document.addEventListener("visibilitychange",()=>{"hidden"===R.document.visibilityState&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on("beforeSendSession",n4)}eventFromException(e,t){return function(e,t,n,r){let o=re(e,t,n?.syntheticException||void 0,r);return ed(o),o.level="error",n?.event_id&&(o.event_id=n.event_id),e1(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){let i=rt(e,t,r?.syntheticException||void 0,o);return i.level=n,r?.event_id&&(i.event_id=r.event_id),e1(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}let ru={},rl={};function rc(e,t){return ru[e]=ru[e]||[],ru[e].push(t),()=>{let n=ru[e];if(n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function rd(e,t){if(!rl[e]){rl[e]=!0;try{t()}catch(t){j&&D.error(`Error while instrumenting ${e}`,t)}}}function rf(e,t){let n=e&&ru[e];if(n)for(let r of n)try{r(t)}catch(t){j&&D.error(`Error while triggering instrumentation handler. 11Type: ${e} 12Name: ${eA(r)} 13Error:`,t)}}let rp=new Set([]),rh=new Set;
13function rg(){"console"in R&&C.forEach(function(e){!rh.has(e)&&e in R.console&&(rh.add(e),Q(R.console,e,function(t){return A[e]=t,function(...t){let n=t[0],r=A[e],o=rp.size&&"string"==typeof n&&e$(n,rp);o||rf("console",{args:t,level:e}),(!o||j&&D.isEnabled())&&r?.apply(R.console,t)}}))})}function rm(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function r_(e,t){let n="fetch",r=rc(n,e);return rd(n,()=>ry(void 0,t)),r}function ry(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in R))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(rm(R.fetch))return!0;let e=!1,t=R.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=rm(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){j&&D.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&Q(R,"fetch",function(t){return function(...n){let r=Error(),{method:o,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:rE(t),method:rS(n,"method")?String(n.method).toUpperCase():X(t)&&rS(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:rE(t),method:rS(t,"method")?String(t.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:o,url:i},startTimestamp:1e3*eh(),virtualError:r,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(X(t))return new Headers(t.headers)}catch{}}(n)};return e||rf("fetch",{...a}),t.apply(R,n).then(async t=>(e?e(t):rf("fetch",{...a,endTimestamp:1e3*eh(),response:t}),t),e=>{rf("fetch",{...a,endTimestamp:1e3*eh(),error:e}),U(e)&&void 0===e.stack&&(e.stack=r.stack,Z(e,"framesToPop",1));let t=eZ(),n=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&U(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(a.fetchData.url).host;"always"===n?e.message=`${e.message} (${t})`:Z(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function rv(e,t){if(e?.body){let n=e.body,r=n.getReader(),o=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),i=!0;for(;i;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:o}=await r.read();clearTimeout(e),o&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(e)}}clearTimeout(o),r.releaseLock(),n.cancel().then(null,()=>{})}}function rb(e){let t;try{t=e.clone()}catch{return}rv(t,()=>{rf("fetch-body-resolved",{endTimestamp:1e3*eh(),response:e})})}function rS(e,t){return Y(e)&&!!e[t]}function rE(e){return"string"==typeof e?e:e?rS(e,"url")?e.url:e.toString?e.toString():"":""}function rw(e,t){let n=eZ(),r=eX();if(!n)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:i=100}=n.getOptions();if(i<=0)return;let a={timestamp:ep(),...e},s=o?k(()=>o(a,t)):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,i))}function rR(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function rP(e){return"isRelative"in e}function rO(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function rT(e){if(rP(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function rx(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function rj(e,t=!0){if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",o=e.includes(";base64,"),i=e.indexOf(","),a="";if(t&&-1!==i){let t=e.slice(i+1);a=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${o?",base64":""}${a?`,${a}`:""}`}return e}function rC(){if(!R.document)return;let e=rf.bind(null,"dom"),t=rA(e,!0);R.document.addEventListener("click",t,!1),R.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=R[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(Q(n,"addEventListener",function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=r[n]=r[n]||{refCount:0};if(!i.handler){let r=rA(e);i.handler=r,t.call(this,n,r,o)}i.refCount++}catch{}return t.call(this,n,r,o)}}),Q(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},o=n[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function rA(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch{return null}}(n);if("keypress"===n.type&&(!r?.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;Z(n,"_sentryCaptured",!0),r&&!r._sentryId&&Z(r,"_sentryId",es());let o="keypress"===n.type?"input":n.type;!function(e){if(e.type!==p)return!1;try{if(!e.target||e.target._sentryId!==h)return!1}catch{}return!0}(n)&&(e({event:n,name:o,global:t}),p=n.type,h=r?r._sentryId:void 0),clearTimeout(f),f=R.setTimeout(()=>{h=void 0,p=void 0},1e3)}}let rk="__sentry_xhr_v3__";function rM(e){rc("xhr",e),rd("xhr",rI)}function rI(){if(!R.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),o=1e3*eh(),i=z(n[0])?n[0].toUpperCase():void 0,a=function(e){if(z(e))return e;try{return e.toString()}catch{}}(n[1]);if(!i||!a)return e.apply(t,n);t[rk]={method:i,url:a,request_headers:{}}
13,"POST"===i&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[rk];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}rf("xhr",{endTimestamp:1e3*eh(),startTimestamp:o,xhr:t,virtualError:r}),r=void 0,t.removeEventListener("readystatechange",s)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,o]=n,i=t[rk];return i&&z(r)&&z(o)&&(i.request_headers[r.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[rk];return r&&(void 0!==n[0]&&(r.body=n[0]),rf("xhr",{startTimestamp:1e3*eh(),xhr:t})),e.apply(t,n)}})}function rN(e){let t="history";rc(t,e),rd(t,rD)}function rD(){R.addEventListener("popstate",()=>{let e=R.location.href,t=g;g=e,t!==e&&rf("history",{from:t,to:e})}),"history"in R&&R.history&&(Q(R.history,"pushState",e),Q(R.history,"replaceState",e));function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=g,o=function(e){try{return new URL(e,R.location.origin).toString()}catch{return e}}(String(n));if(g=o,r===o)return e.apply(this,t);rf("history",{from:r,to:o})}return e.apply(this,t)}}}let rL={};try{"undefined"!=typeof Node&&(rL.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"undefined"!=typeof Element&&(rL.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,rL.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,rL.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,rL.getAttribute=Element.prototype.getAttribute),"undefined"!=typeof HTMLElement&&(rL.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function r$(e,t,n){let r=rL[t];if(r)try{return r.call(e,n)}catch{}let o=e[t];return"function"==typeof o?o.call(e,n):o}function rU(e,t={}){if(!e)return"<unknown>";try{let n,r=e,o=[],i=0,a=0,s=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&i++<5&&(n=function(e,t){let n=[],r=r$(e,"tagName");if(!r)return"";if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement){let t=r$(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let o=t?.length?t.filter(t=>r$(e,"getAttribute",t)).map(t=>[t,r$(e,"getAttribute",t)]):null;if(o?.length)o.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=r$(e,"id");t&&n.push(`#${t}`);let r=r$(e,"className");if(r&&z(r))for(let e of r.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=r$(e,"getAttribute",t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,s),"html"!==n&&(!(i>1)||!(a+3*o.length+n.length>=u)));)o.push(n),a+=n.length,r=r$(r,"parentNode");return o.reverse().join(" > ")}catch{return"<unknown>"}}let rF="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,rH=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){let t="console";rc(t,e),rd(t,rg)}(function(t){var n;if(eZ()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:"warn"===(n=t.level)?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log",message:eD(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${eD(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}rw(r,{input:t.args,level:t.level})}),t.dom&&(rc("dom",(n=t.dom,function(t){let r,o;if(eZ()!==e)return;let i="object"==typeof n?n.serializeAttribute:void 0,a="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;a&&a>1024&&(rF&&D.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof i&&(i=[i]);try{let e=t.event,n=e&&e.target?e.target:e;r=rU(n,{keyAttrs:i,maxStringLength:a}),o=rr(n)}catch{r="<unknown>"}if(0===r.length)return;let s={category:`ui.${t.name}`,message:r};o&&(s.data={"ui.component_name":o}),rw(s,{event:t.event,name:t.name,global:t.global})})),rd("dom",rC)),t.xhr&&rM(function(t){if(eZ()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[rk];if(!n||!r||!o)return;let{method:i,url:a,status_code:s,body:u}=o,l={xhr:t.xhr,input:u,startTimestamp:n,endTimestamp:r},c={category:"xhr",data:{method:i,url:a,status_code:s},type:"http",level:rR(s)};e.emit("beforeOutgoingRequestBreadcrumb",c,l),rw(c,l)}),t.fetch&&r_(function(t){if(eZ()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;
13if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error){let o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},i={category:"fetch",data:t.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,o),rw(i,o)}else{let o=t.response,i={...t.fetchData,status_code:o?.status},a={input:t.args,response:o,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:i,type:"http",level:rR(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,a),rw(s,a)}}}),t.history&&rN(function(t){if(eZ()!==e)return;let n=t.from,r=t.to,o=rx(R.location.href),i=n?rx(n):void 0,a=rx(r);i?.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),rw({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){eZ()===e&&rw({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:el(t)},{event:t})})}}},rB="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),rz=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&Q(R,"setTimeout",rq),t.setInterval&&Q(R,"setInterval",rq),t.requestAnimationFrame&&Q(R,"requestAnimationFrame",rW),t.XMLHttpRequest&&"XMLHttpRequest"in R&&Q(XMLHttpRequest.prototype,"send",rG);let e=t.eventTarget;e&&(Array.isArray(e)?e:rB).forEach(e=>(function(e,t){let n=R[e]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(Q(n,"addEventListener",function(n){return function(r,o,i){try{"function"==typeof o.handleEvent&&(o.handleEvent=ri(o.handleEvent,{mechanism:{data:{handler:eA(o),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&this&&"object"==typeof this&&"removeEventListener"in this&&"function"==typeof this.removeEventListener&&this.removeEventListener(r,o),n.apply(this,[r,ri(o,{mechanism:{data:{handler:eA(o),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),Q(n,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){let o=n.__sentry_wrapped__;o&&e.call(this,t,o,r)}}catch{}return e.call(this,t,n,r)}}))})(e,t))}}};function rq(e){return function(...t){let n=t[0];return t[0]=ri(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${eA(e)}`}}),e.apply(this,t)}}function rW(e){return function(t){return e.apply(this,[ri(t,{mechanism:{data:{handler:eA(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function rG(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&Q(n,e,function(t){let n={mechanism:{data:{handler:eA(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=et(t);return r&&(n.mechanism.data.handler=eA(r)),ri(t,n)})}),e.apply(this,t)}}function rY(e,t,n){R.document&&R.addEventListener(e,t,n)}function rK(e,t,n){R.document&&R.removeEventListener(e,t,n)}let rV=e=>{let t=!1;return()=>{t||(e(),t=!0)}},rJ=e=>{let t=R.requestIdleCallback||R.setTimeout;R.document?.visibilityState==="hidden"?e():(rY("visibilitychange",e=rV(e),{once:!0,capture:!0}),rY("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),rK("visibilitychange",e,{capture:!0}),rK("pagehide",e,{capture:!0})}))},rX=(e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===R.document){rF&&D.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}t7({ignoreDuration:!0});let e=!1;rJ(()=>{e||(ne(),e=!0)});let n=eX(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&ne())}),"route"===t&&rN(({from:t,to:n})=>{t!==n&&(t7({ignoreDuration:!0}),ne(),e=!0)})}}};function rQ(e,t){let n=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in n||(n[e]=t)})}let rZ=()=>({name:"CultureContext",preprocessEvent(e){let t=r0();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=r0();t&&rQ(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}});function r0(){try{let e=R.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}let r1=null;function r2(e){let t="error";rc(t,e),rd(t,r4)}function r4(){r1=R.onerror,R.onerror=function(e,t,n,r,o){return rf("error",{column:r,error:o,line:n,msg:e,url:t}),!!r1&&r1.apply(this,arguments)},R.onerror.__SENTRY_INSTRUMENTED__=!0}let r3=null;function r5(e){let t="unhandledrejection";rc(t,e),rd(t,r6)}function r6(){r3=R.onunhandledrejection,R.onunhandledrejection=function(e){return rf("unhandledrejection",e),!r3||r3.apply(this,arguments)},R.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let r7=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(r2(t=>{let{stackParser:n,attachStacktrace:r}=r9();if(eZ()!==e||ro>0)return;let{msg:o,url:i,line:a,column:s,error:u}=t,l=function(e,t,n,r){let o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},u=s.frames=s.frames||[];return 0===u.length&&u.push({colno:r,lineno:n,filename:(z(t)&&0!==t.length?t.startsWith("data:")?`<${rj(t,!1)}>`:t:void 0)??rn(),function:"?",in_app:!0}),e}(re(n,u||o,void 0,r,!1),i,a,s);l.level="error",t6(l,{originalException:u,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),r8("onerror")),t.onunhandledrejection&&(r5(t=>{let{stackParser:n,attachStacktrace:r}=r9();if(eZ()!==e||ro>0)return;let o=function(e){if(W(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),i=W(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:re(n,o,void 0,r,!0);i.level="error",t6(i,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),r8("onunhandledrejection"))}}};function r8(e){rF&&D.log(`Global Handler attached: ${e}`)}function r9(){let e=eZ();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function oe(e,t){if(e&&!1!==t)return e.split("&").map(e=>{let n=e.indexOf("="),r=-1===n?e:e.slice(0,n),o=new URLSearchParams(`${r}=`).keys().next().value;return void 0!==o&&function(e,t,n){if(!1===t)return!0;let r=e.toLowerCase();if(n$.some(e=>r.includes(e)))return!0;
13if(!0===t)return!1;let o=("deny"in t?t.deny:t.allow).some(e=>r.includes(e.toLowerCase()));return"deny"in t?o:!o}(o,t)?`${r}=[Filtered]`:e}).join("&")}function ot(e){return(e??eZ())?.getDataCollectionOptions().urlQueryParams??!0}function on(e,t){return void 0===e?void 0:function(e,t){let n=e.indexOf("#"),r=-1===n?e.length:n,o=e.indexOf("?");if(-1===o||o>r)return e;let i=e.slice(0,o),a=e.slice(o+1,r),s=e.slice(r),u=oe(a,t);return u?`${i}?${u}${s}`:`${i}${s}`}(e,ot(t))}function or(e,t){if(!e)return e;let n=e.startsWith("?"),r=oe(n?e.slice(1):e,ot(t));return r&&n?`?${r}`:r}var oo=n(31209);let oi=()=>({name:"HttpContext",preprocessEvent(e){if(!R.navigator&&!R.location&&!R.document)return;let t=ra(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSpan(e){if(!R.navigator&&!R.location&&!R.document)return;let t=ra();rQ(e,{[oo.u5V]:t.headers["User-Agent"],...e.is_segment&&{[oo.Bg3]:e.attributes?.[oo.cp8]!=="http.client"?on(t.url):void 0,[`${oo.M5_}.referer`]:t.headers.Referer}})}});function oa(e){return Array.isArray(e.errors)}function os(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...oa(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function ou(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let ol=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,o){!function(e,t,n,r,o,i){if(!o.exception?.values||!i||!U(i.originalException))return;let a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=function e(t,n,r,o,i,a,s,u){if(a.length>=r+1)return a;let l=[...a];if(U(o[i])){os(s,u,o);let a=t(n,o[i]),c=l.length;ou(a,i,c,u),l=e(t,n,r,o[i],i,[a,...l],a,c)}return oa(o)&&o.errors.forEach((a,c)=>{if(U(a)){os(s,u,o);let d=t(n,a),f=l.length;ou(d,`errors[${c}]`,f,u),l=e(t,n,r,a,i,[d,...l],d,f)}}),l}(e,t,r,i.originalException,n,o.exception.values,a,0))}(n5,o.getOptions().stackParser,n,t,e,r)}}};function oc(e,t,n,r){let o={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}let od=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,of=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,op=/\((\S*)(?::(\d+))(?::(\d+))\)/,oh=/at (.+?) ?\(data:(.+?),/,og=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,om=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,o_=ex([30,e=>{let t=e.match(oh);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=od.exec(e);if(n){let[,e,t,r]=n;return oc(e,"?",+t,+r)}let r=of.exec(e);if(r){if(r[2]?.indexOf("eval")===0){let e=op.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=oy(r[1]||"?",r[2]);return oc(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{let t=og.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=om.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=oy(n,e),oc(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),oy=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},ov="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ob={};function oS(e,t=function(e){let t=ob[e];if(t)return t;let n=R[e];if(rm(n))return ob[e]=n.bind(R);let r=R.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let o=t.contentWindow;o?.[e]&&(n=o[e]),r.head.removeChild(t)}catch(t){ov&&D.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?ob[e]=n.bind(R):n}("fetch")){let n=0,r=0;async function o(o){let i=o.body.length;n+=i,r++;let a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,a);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(e){throw ob.fetch=void 0,e}finally{n-=i,r--}}return function(e,t,n=nD(e.bufferSize||64)){let r={};return{send:function(o){let i=[];if(nb(o,(t,n)=>{let o=nw(n);(function(e,t,n=ea()){return(e[t]||e.all||0)>n})(r,o)?e.recordDroppedEvent("ratelimit_backoff",o):i.push(t)}),0===i.length)return Promise.resolve({});let a=ny(o[0],i),s=t=>{var n;if(n=["client_report"],nb(a,(e,t)=>n.includes(t))){j&&D.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}nb(a,(n,r)=>{e.recordDroppedEvent(t,nw(r))})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[nS(r),e]:r.push("string"==typeof e?nS(e):e)}for(let e of n){let[t,n]=e;if(o(` 14${JSON.stringify(t)} 15`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(eM(n))}o(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>
15e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(a)}).then(e=>(413===e.statusCode?(j&&D.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(j&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&D.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=ea()){let o={...e},i=n?.["x-sentry-rate-limits"],a=n?.["retry-after"];if(i)for(let e of i.trim().split(",")){let[t,n,,,i]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(o[e]=r+s):o[e]=r+s;else o.all=r+s}else a?o.all=r+function(e,t=ea()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(o.all=r+6e4);return o}(r,e)),e),e=>{throw s("network_error"),j&&D.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===nN)return j&&D.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}(e,o,nD(e.bufferSize||40))}let oE=/^HTML(\w*)Element$/;function ow(e){if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(function(e){if("undefined"==typeof Element)return!1;try{return e instanceof Element}catch{return!1}}(e)){let t=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(e);if(oE.test(t))return`[HTMLElement: ${rU(e)}]`}}function oR(e){return[ns(),nd(),nf(),rz(),rH(),r7(),ol(),np(),oi(),rZ(),rX()]}var oP=n(2265);function oO(e){return G(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":ow(e)}let oT="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var ox=n(40257);function oj(e,t,n,r=tK()){let o=r&&tG(r);o&&(j&&D.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),o.addEvent(e,{[tt]:t,[te]:n}))}function oC(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[te],o=n[tt];"string"==typeof r&&"number"==typeof o&&(t[e.name]={value:o,unit:r})}),t}function oA(){return T(O()).segmentSpanCaptureStrategy}class ok{constructor(e={}){this._traceId=e.traceId||es(),this._spanId=e.spanId||ev(),this._startTime=e.startTimestamp||eh(),this._links=e.links,this._attributes={},this.setAttributes({[e8]:"manual",[e7]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}setAttribute(e,t){return this._frozen||(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===e3&&void 0!==t&&!0===this[tv]&&Z(this,tb,!0)),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=tA(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,!0!==this[tv]&&this.setAttribute(e3,"custom")),this}end(e){if(this._endTime){this._frozen=!0===this[tS];return}this._endTime=tA(e),function(e){if(!j)return;let{description:t="< unknown name >",op:n="< unknown op >"}=tM(e),{spanId:r}=e.spanContext(),o=tG(e)===e,i=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${t}" with ID ${r}`;D.log(i)}(this),this._onSpanEnded(),this._frozen=!0===this[tS]}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[e7],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:tU(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[e8],profile_id:this._attributes[tr],exclusive_time:this._attributes[to],measurements:oC(this._events),is_segment:this._isStandaloneSpan&&tG(this)===this||void 0,segment_id:this._isStandaloneSpan?tG(this).spanContext().spanId:void 0,links:tj(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===tG(this),status:tF(this._status),attributes:tH(this._attributes,this._status),links:tC(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;j&&D.log("[Tracing] Adding an event to span:",e);let r=oM(t)?t:n||eh(),o=oM(t)?{}:t||{},i={name:e,time:tA(r),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=eZ();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));let t=tG(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?function(e){let t=eZ();if(!t)return;let n=e[1];
15if(!n||0===n.length){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}(function(e,t){let n=t2(e[0]),r=t?.getDsn(),o=t?.getOptions().tunnel,i={sent_at:new Date(ea()).toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!o&&r&&{dsn:td(r)}},{beforeSendSpan:a,ignoreSpans:s}=t?.getOptions()||{},u=s?.length?e.filter(e=>{let t=tM(e);return!nO({description:t.description,op:t.op,attributes:t.data},s)}):e,l=e.length-u.length;l&&t?.recordDroppedEvent("before_send","span",l);let c=a?e=>{let t=tM(e);return(n_(a)?t:a(t))||(tV(),t)}:tM,d=[];for(let e of u){let t=c(e);t&&d.push([{type:"span"},t])}return ny(i,d)}([this],e)):(j&&D.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}if(!n){let e=oA();if(e){let n=tw(this).scope||eJ();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&nM(e)){e.emit("afterSegmentSpanEnd",this);return}let r=tw(this).scope||eJ(),o=oA();if(o)o.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!oI(tM(this)))return;this._name||(j&&D.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:n}=tw(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;e.onSpanCaptured?.(this);let o=[];for(let t of tW(this)){if(t===this||t instanceof ok&&t.isStandaloneSpan()||e.isSpanAlreadyCaptured?.(t))continue;let n=tM(t);oI(n)&&(e.onSpanCaptured?.(t),o.push(n))}let i=this._attributes[e3];delete this._attributes[tn];let a=!1;o.forEach(e=>{delete e.data[tn],e.op?.startsWith("gen_ai.")&&(a=!0)});let s={contexts:{trace:function(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:o,parent_span_id:i,status:a,origin:s,links:u}=tM(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:o,status:a,origin:s,links:u}}(this)},spans:o.length>1e3?o.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:t2(this),hasGenAiSpans:a},request:r,...i&&{transaction_info:{source:i}}},u=oC(this._events);return u&&Object.keys(u).length&&(j&&D.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),s.measurements=u),s}}function oM(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function oI(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function oN(e){let t=eV(O());return t.startInactiveSpan?t.startInactiveSpan(e):function(e){let t=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=tA(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>eQ(e.scope,t):void 0!==r?e=>oD(r,e):e=>e())(()=>{let o=eJ(),i=function(e,t){if(t)return t;if(null===t)return;let n=eS(e[eE]);if(!n)return;let r=eZ();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?tG(n):n}(o,r),a=eZ();return e.onlyIfParent&&!i?function(e,t){t?.recordDroppedEvent("no_parent_span","span");let n=new tX({traceId:e.getPropagationContext().traceId});return tE(n,e,eX()),n}(o,a):function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){let o;let i=eX();if(!th()){let t=r.getPropagationContext(),o=new tX({traceId:e?e.spanContext().traceId:t.traceId});return e&&!n&&tq(e,o),tE(o,r,i),o}let a=eZ();if(function(e,t){let n=e?.getOptions().ignoreSpans;return!!(e&&nM(e)&&n?.length)&&nO({description:t.name||"",op:t.attributes?.[e7]||t.op,attributes:t.attributes},n)}(a,t)){oL(r)||a?.recordDroppedEvent("ignored","span");let t=new tX({dropReason:"ignored",traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&tq(e,t),tE(t,r,i),t}if(e&&!n)o=function(e,t,n,r){let{spanId:o,traceId:i}=e.spanContext(),a=oL(t),s=!a&&t$(e),u=s?new ok({...n,parentSpanId:o,traceId:i,sampled:s}):new tX({traceId:i});tq(e,u),tE(u,t,r);let l=eZ();return l&&(nM(l)&&tQ(u)&&(tQ(e)&&e.dropReason?(u.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,"span")):a||(u.dropReason="sample_rate",l.recordDroppedEvent("sample_rate","span"))),l.emit("spanStart",u),n.endTimestamp&&(l.emit("spanEnd",u),l.emit("afterSpanEnd",u))),u}(e,r,t,i),tq(e,o);else if(e){let n=t2(e),{traceId:a,spanId:s}=e.spanContext(),u=t$(e);Z(o=o$({traceId:a,parentSpanId:s,...t},r,i,u),tZ,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:s}=r.getPropagationContext();o=o$({traceId:e,parentSpanId:a,...t},r,i,s),n&&Z(o,tZ,n)}return function(e){if(!j)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=tM(e),{spanId:o}=e.spanContext(),i=t$(e),a=tG(e),s=a===e,u=`[Tracing] Starting ${i?"sampled":"unsampled"} ${s?"root ":""}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${o}`];if(r&&l.push(`parent ID: ${r}`),!s){let{op:e,description:t}=tM(a);l.push(`root ID: ${a.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}D.log(`${u} 16 ${l.join("\n ")}`)}(o),o}({parentSpan:i,spanArguments:t,forceTransaction:n,scope:o})})}(e)}function oD(e,t){let n=eV(O());return n.withActiveSpan?n.withActiveSpan(e,t):eQ(n=>(ew(n,e||void 0),t(n)))}function oL(e=eJ()){let t=eV(O());return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function o$(e,t,n,r){let o=eZ(),i=o?.getOptions()||{},{name:a=""}=e,s={spanAttributes:{...e.attributes},spanName:a,parentSampled:r};o?.emit("beforeSampling",s,{decision:!1});let u=s.parentSampled??r,l=s.spanAttributes,c=t.getPropagationContext(),d=oL(t),[f,p,h]=d?[!1]:function(e,t,n){let r,o;if(!th(e))return[!1];"function"==typeof e.tracesSampler?(r=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),o=!0):void 0!==t.parentSampled?r=t.parentSampled:void 0!==e.tracesSampleRate&&(r=e.tracesSampleRate,o=!0);let i=tR(r);if(void 0===i)return j&&D.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!i)return j&&D.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,o];let a=n<i;return!a&&j&&D.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[a,i,o]}(i,{name:a,parentSampled:u,attributes:l,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:tR(c.dsc?.sample_rate)},c.sampleRand),g=new ok({...e,attributes:{[e3]:"custom",[e5]:void 0!==p&&h?p:void 0,...l},sampled:f});return f||!o||d||(j&&D.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate",nM(o)?"span":"transaction")),tE(g,t,n),o&&o.emit("spanStart",g),g}function oU(e){return tQ(e)&&"ignored"===e.dropReason}let oF={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function oH(e,t={}){let n,r;let o=new Map,i=!1,a="externalFinish",s=!t.disableAutoFinish,u=[],{idleTimeout:l=oF.idleTimeout,finalTimeout:c=oF.finalTimeout,childSpanTimeout:d=oF.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:p=!0}=t,h=eZ(),g=eJ();if(!h||!th()){let e=new tX({traceId:g.getPropagationContext().traceId});return tE(e,g,eX()),e}let m=tK(),_=function(e){let t=oN(e);
16return ew(eJ(),t),j&&D.log("[Tracing] Started span is an idle span"),t}(e);function y(){n&&(clearTimeout(n),n=void 0)}function v(){r&&(clearTimeout(r),r=void 0)}function b(e){y(),n=setTimeout(()=>{!i&&0===o.size&&s&&(a="idleTimeout",_.end(e))},l)}function S(e){v(),r=setTimeout(()=>{!i&&s&&(a="heartbeatFailed",_.end(e))},d)}function E(e){i=!0,o.clear(),u.forEach(e=>e()),ew(g,m);let t=tM(_),{start_timestamp:n}=t;if(!n)return;t.data[e9]||_.setAttribute(e9,a);let r=t.status;r&&"unknown"!==r||_.setStatus({code:1}),D.log(`[Tracing] Idle span "${t.op}" finished`);let s=tW(_).filter(e=>e!==_),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e),j&&D.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=tM(t),o=r<=e,i=n-r<=(c+l)/1e3;if(j){let e=JSON.stringify(t,void 0,2);o?i||D.log("[Tracing] Discarding span since it finished after idle span final timeout",e):D.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!i||!o)&&(_[tB]&&_[tB].delete(t),d++)}),d>0&&_.setAttribute("sentry.idle_span_discarded_spans",d)}return _.end=new Proxy(_.end,{apply(e,t,n){if(f&&f(_),tQ(t))return;let[r,...o]=n,i=tA(r||eh()),a=tW(_).filter(e=>e!==_),s=tM(_);if(!a.length||!p)return E(i),Reflect.apply(e,t,[i,...o]);let u=h.getOptions().ignoreSpans,l=a?.reduce((e,t)=>{let n=tM(t);return!n.timestamp||u&&nO({description:n.description,op:n.op,attributes:n.data},u)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),d=s.start_timestamp,g=Math.min(d?d+c/1e3:1/0,Math.max(d||-1/0,Math.min(i,l||1/0)));return E(g),Reflect.apply(e,t,[g,...o])}}),u.push(h.on("spanStart",e=>{if(!(i||e===_||tM(e).timestamp||e instanceof ok&&e.isStandaloneSpan())&&tW(_).includes(e)){var t;t=e.spanContext().spanId,y(),o.set(t,!0),S(eh()+d/1e3)}})),u.push(h.on("spanEnd",e=>{var t;i||(t=e.spanContext().spanId,o.has(t)&&o.delete(t),0===o.size&&(b(eh()+l/1e3),v()))})),u.push(h.on("idleSpanEnableAutoFinish",e=>{e===_&&(s=!0,b(),o.size&&S())})),t.disableAutoFinish||b(),setTimeout(()=>{i||(_.setStatus({code:2,message:"deadline_exceeded"}),a="finalTimeout",_.end())},c),_}let oB=!1,oz=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",oq=(e,t,n,r)=>{let o,i;return a=>{t.value>=0&&(a||r)&&((i=t.value-(o??0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=oz(t.value,n),e(t))}},oW=(e=!0)=>{let t=R.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},oG=()=>{let e=oW();return e?.activationStart??0},oY=-1,oK=new Set,oV=()=>R.document?.visibilityState!=="hidden"||R.document?.prerendering?1/0:0,oJ=e=>{if(("pagehide"===e.type||R.document?.visibilityState==="hidden")&&oY>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of oK)e();isFinite(oY)||(oY="visibilitychange"===e.type?e.timeStamp:0,rK("prerenderingchange",oJ,!0))}},oX=()=>{if(R.document&&oY<0){let e=oG();oY=(R.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??oV(),rY("visibilitychange",oJ,!0),rY("pagehide",oJ,!0),rY("prerenderingchange",oJ,!0)}return{get firstHiddenTime(){return oY},onHidden(e){oK.add(e)}}},oQ=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,oZ=(e,t=-1)=>{let n=oW(),r="navigate";return n&&(R.document?.prerendering||oG()>0?r="prerender":R.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:oQ(),navigationType:r}},o0=new WeakMap;function o1(e,t){try{return o0.get(e)||o0.set(e,new t),o0.get(e)}catch(e){return new t}}class o2{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let o4=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},o3=e=>{R.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},o5=[1800,3e3],o6=(e,t={})=>{o3(()=>{let n;let r=oX(),o=oZ("FCP"),i=o4("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(i.disconnect(),t.startTime<r.firstHiddenTime&&(o.value=Math.max(t.startTime-oG(),0),o.entries.push(t),n(!0)))});i&&(n=oq(e,o,o5,t.reportAllChanges))})},o7=[.1,.25],o8=(e,t={})=>{o6(rV(()=>{let n;let r=oZ("CLS",0),o=oX(),i=o1(t,o2),a=e=>{for(let t of e)i._processEntry(t);i._sessionValue>r.value&&(r.value=i._sessionValue,r.entries=i._sessionEntries,n())},s=o4("layout-shift",a);s&&(n=oq(e,r,o7,t.reportAllChanges),o.onHidden(()=>{a(s.takeRecords()),n(!0)}),R?.setTimeout?.(n))}))},o9=0,ie=1/0,it=0,ir=e=>
16{e.forEach(e=>{e.interactionId&&(ie=Math.min(ie,e.interactionId),o9=(it=Math.max(it,e.interactionId))?(it-ie)/7+1:0)})},io=()=>m?o9:performance.interactionCount||0,ii=()=>{"interactionCount"in performance||m||(m=o4("event",ir,{type:"event",buffered:!0,durationThreshold:0}))},ia=0,is=()=>io()-ia;class iu{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){ia=io(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(is()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(n)}}}let il=[200,500],ic=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let n=oX();o3(()=>{let r;ii();let o=oZ("INP"),i=o1(t,iu),a=e=>{rJ(()=>{for(let t of e)i._processEntry(t);let t=i._estimateP98LongestInteraction();t&&t._latency!==o.value&&(o.value=t._latency,o.entries=t.entries,r())})},s=o4("event",a,{durationThreshold:t.durationThreshold??40});r=oq(e,o,il,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{a(s.takeRecords()),r(!0)}))})};class id{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let ip=[2500,4e3],ih=(e,t={})=>{o3(()=>{let n;let r=oX(),o=oZ("LCP"),i=o1(t,id),a=e=>{for(let a of(t.reportAllChanges||(e=e.slice(-1)),e))a&&(i._processEntry(a),a.startTime<r.firstHiddenTime&&(o.value=Math.max(a.startTime-oG(),0),o.entries=[a],n()))},s=o4("largest-contentful-paint",a);if(s){n=oq(e,o,ip,t.reportAllChanges);let r=rV(()=>{a(s.takeRecords()),s.disconnect(),n(!0)}),i=e=>{e.isTrusted&&(rJ(r),rK(e.type,i,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])rY(e,i,{capture:!0})}})},ig=[800,1800],im=e=>{R.document?.prerendering?o3(()=>im(e)):R.document?.readyState!=="complete"?addEventListener("load",()=>im(e),!0):setTimeout(e)},i_=(e,t={})=>{let n=oZ("TTFB"),r=oq(e,n,ig,t.reportAllChanges);im(()=>{let e=oW();e&&(n.value=Math.max(e.responseStart-oG(),0),n.entries=[e],r(!0))})},iy={},iv={};function ib(e,t=!1){return ij("cls",e,iP,_,t)}function iS(e,t=!1){return ij("lcp",e,iO,y,t)}function iE(e){return ij("inp",e,ix,b)}function iw(e,t){return iC(e,t),iv[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),o4(e,t=>{iR(e,{entries:t})},t)}(e),iv[e]=!0),iA(e,t)}function iR(e,t){let n=iy[e];if(n?.length)for(let r of n)try{r(t)}catch(t){ov&&D.error(`Error while triggering instrumentation handler. 17Type: ${e} 18Name: ${eA(r)} 19Error:`,t)}}function iP(){return o8(e=>{iR("cls",{metric:e}),_=e},{reportAllChanges:!0})}function iO(){return ih(e=>{iR("lcp",{metric:e}),y=e},{reportAllChanges:!0})}function iT(){return i_(e=>{iR("ttfb",{metric:e}),v=e})}function ix(){return ic(e=>{iR("inp",{metric:e}),b=e})}function ij(e,t,n,r,o=!1){let i;return iC(e,t),iv[e]||(i=n(),iv[e]=!0),r&&t({metric:r}),iA(e,t,o?i:void 0)}function iC(e,t){iy[e]=iy[e]||[],iy[e].push(t)}function iA(e,t,n){return()=>{n&&n();let r=iy[e];if(!r)return;let o=r.indexOf(t);-1!==o&&r.splice(o,1)}}let ik=e=>{let t=t=>{("pagehide"===t.type||R.document?.visibilityState==="hidden")&&e(t)};rY("visibilitychange",t,{capture:!0,once:!0}),rY("pagehide",t,{capture:!0,once:!0})};function iM(e){return"number"==typeof e&&isFinite(e)}function iI(e,t,n,{...r}){let o=tM(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),oD(e,()=>{let e=oN({startTime:t,...r});return e&&e.end(n),e})}function iN(e){let t;let n=eZ();if(!n)return;let{name:r,transaction:o,attributes:i,startTime:a}=e,{release:s,environment:u}=n.getOptions(),{userInfo:l}=n.getDataCollectionOptions(),c=n.getIntegrationByName("Replay"),d=c?.getReplayId(),f=eJ(),p=f.getUser(),h=void 0!==p?p.email||p.id||p.ip_address:void 0;try{t=f.getScopeData().contexts.profile.profile_id}catch{}return oN({name:r,attributes:{release:s,environment:u,user:h||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:o,"user_agent.original":R.navigator?.userAgent,"client.address":l?"{{auto}}":void 0,...i},startTime:a,experimental:{standalone:!0}})}function iD(){return R.addEventListener&&R.performance}function iL(e){return e/1e3}function i$(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function iU(e,t){let n;let r=!1;function o(e){!r&&n&&t(e,n.spanContext().spanId,n),r=!0}ik(()=>{o("pagehide")});let i=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(o("navigation"),i(),a())}),a=e.on("afterStartPageLoadSpan",e=>{n=e,a()})}function iF(e){return null!=e&&e>0&&e<=6e4}function iH(e){return e?((em()||performance.timeOrigin)+e)/1e3:e}function iB(e){let t={};if(void 0!=e.nextHopProtocol){let{name:n,version:r}=function(e){let t="unknown",n="unknown",r="";for(let o of e){if("/"===o){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=o}
19return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return em()||iD()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":iH(e.redirectStart),"http.request.redirect_end":iH(e.redirectEnd),"http.request.worker_start":iH(e.workerStart),"http.request.fetch_start":iH(e.fetchStart),"http.request.domain_lookup_start":iH(e.domainLookupStart),"http.request.domain_lookup_end":iH(e.domainLookupEnd),"http.request.connect_start":iH(e.connectStart),"http.request.secure_connection_start":iH(e.secureConnectionStart),"http.request.connection_end":iH(e.connectEnd),"http.request.request_start":iH(e.requestStart),"http.request.response_start":iH(e.responseStart),"http.request.response_end":iH(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}let iz=0,iq={};function iW(){S=void 0,E=void 0,iq={}}function iG(e,t,n,r,o=n){let i=t["secureConnection"===n?"connectEnd":"fetch"===n?"domainLookupStart":`${n}End`],a=t[`${n}Start`];a&&i&&iI(e,r+iL(a),r+iL(i),{op:`browser.${o}`,name:t.name,attributes:{[e8]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}let iY=new WeakMap,iK=new WeakMap,iV=["text/event-stream","application/x-ndjson","application/stream+json"],iJ=()=>({name:"FetchStreamPerformance",setup(){(function(e){let t="fetch-body-resolved";rc(t,e),rd(t,()=>ry(rb))})(e=>{if(e.response){let t=iY.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=iK.get(e.response);n&&clearTimeout(n)}}}),r_(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get("content-type")||"";if(e.response.headers?.get("content-length")||!iV.some(e=>
19t.startsWith(e)))return;let n=e.fetchData?.url||"",r=e.fetchData?.method||"GET",o=rO(n),i=n.startsWith("data:")?rj(n):o?rT(o):n,a=oN({name:`${r} ${i}`,startTime:e.endTimestamp,attributes:{url:on(rj(n)),"http.method":r,type:"fetch",[e7]:"http.client.stream",[e8]:"auto.http.browser.stream"}});iY.set(e.response,a);let s=setTimeout(()=>{a.isRecording()&&a.end()},9e4);iK.set(e.response,s)}})}}),iX=[],iQ=new Map,iZ=new Map,i0={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},i1=({metric:e})=>{if(void 0==e.value)return;let t=iL(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&i0[t.name]);if(!n)return;let{interactionId:r}=n,o=i0[n.name],i=iL(em()+n.startTime),a=tK(),s=a?tG(a):void 0,u=null!=r?iQ.get(r):void 0,l=u?.span||s,c=l?tM(l).description:eJ().getScopeData().transactionName,d=iN({name:u?.elementName||rU(n.target),transaction:c,attributes:{[e8]:"auto.http.browser.inp",[e7]:`ui.interaction.${o}`,[to]:n.duration},startTime:i});d&&(d.addEvent("inp",{[te]:"millisecond",[tt]:e.value}),d.end(i+t))};function i2(e){let{name:t,op:n,origin:r,metricName:o,value:i,attributes:a,parentSpan:s,reportEvent:u,startTime:l,endTime:c}=e,d=eJ().getScopeData().transactionName,f={[e8]:r,[e7]:n,[to]:0,[`browser.web_vital.${o}.value`]:i,[oo._h_]:d,[oo.BUp]:d,"user_agent.original":R.navigator?.userAgent,...a};s&&tI(s).attributes?.[e7]==="pageload"&&(f["sentry.pageload.span_id"]=s.spanContext().spanId),u&&(f[`browser.web_vital.${o}.report_event`]=u);let p=oN({name:t,attributes:f,startTime:l,parentSpan:s});p&&p.end(c??l)}let i4="WebVitals",i3=(e={})=>{let t=new Set(e.ignore??[]);return{name:i4,setup(n){let r=nM(n),{enableStandaloneClsSpans:o,enableStandaloneLcpSpans:i}=e._experiments??{},a=r||t.has("cls")?void 0:o||!1,s=r||t.has("lcp")?void 0:i||!1,u=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=iD();if(r&&em()){r.mark&&R.performance.mark("sentry-tracing-init");let o=t?function(e){let t,n=0;if(!i$("largest-contentful-paint"))return;let r=iS(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&iF(e.value)&&(n=e.value,t=r)},!0);iU(e,(e,o)=>{(function(e,t,n,r){if(!iF(e))return;ov&&D.log(`Sending LCP span (${e})`);let o=iL((em()||0)+(t?.startTime||0)),i=eJ().getScopeData().transactionName,a=t?rU(t.element):"Largest contentful paint",s={[e8]:"auto.http.browser.lcp",[e7]:"ui.webvital.lcp",[to]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s["lcp.element"]=rU(t.element)),t.id&&(s["lcp.id"]=t.id),t.url&&(s["lcp.url"]=t.url),null!=t.loadTime&&(s["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(s["lcp.renderTime"]=t.renderTime),null!=t.size&&(s["lcp.size"]=t.size));let u=iN({name:a,transaction:i,attributes:s,startTime:o});u&&(u.addEvent("lcp",{[te]:"millisecond",[tt]:e}),u.end(o))})(n,t,o,e),r()})}(n):!1===t?iS(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&iF(e.value)&&(iq.lcp={value:e.value,unit:"millisecond"},S=t)},!0):void 0,i=e?function(e){let t,n=0;if(!i$("layout-shift"))return;let r=ib(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);iU(e,(e,o)=>{(function(e,t,n,r){ov&&D.log(`Sending CLS span (${e})`);let o=t?iL((em()||0)+t.startTime):eh(),i=eJ().getScopeData().transactionName,a=t?rU(t.sources[0]?.node):"Layout shift",s={[e8]:"auto.http.browser.cls",[e7]:"ui.webvital.cls",[to]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=rU(e.node)});let u=iN({name:a,transaction:i,attributes:s,startTime:o});u&&(u.addEvent("cls",{[te]:"",[tt]:e}),u.end(o))})(n,t,o,e),r()})}(n):!1===e?ib(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(iq.cls={value:e.value,unit:""},E=t)},!0):void 0,a=ij("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(iq.ttfb={value:e.value,unit:"millisecond"})},iT,v),s=iw("paint",({entries:e})=>
19{let t=oX();for(let n of e){let e=n.startTime<t.firstHiddenTime;"first-paint"===n.name&&e&&(iq.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&e&&(iq.fcp={value:n.startTime,unit:"millisecond"})}});return()=>{a(),s(),o?.(),i?.()}}return()=>void 0}({recordClsStandaloneSpans:a,recordLcpStandaloneSpans:s,client:n}),l=new WeakSet;n.on("afterStartPageLoadSpan",e=>{l.add(e)}),n.on("spanEnd",e=>{l.delete(e)&&(u(),function(e,t){let n=em();if(!iD()?.getEntries||!n){iW();return}let{spanStreamingEnabled:r,recordClsOnPageloadSpan:o,recordLcpOnPageloadSpan:i}=t,a=iL(n);if("pageload"===tM(e).op){if(function(e){let t=oW(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(iq),r){let t=(t,n,r)=>{let o=r??`browser.web_vital.${t}.value`;e.setAttribute(o,n),ov&&D.log("Setting web vital attribute",{[o]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{iq[e]&&t(e,iq[e].value)}),iq["ttfb.requestTime"]&&t("ttfb.requestTime",iq["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else o||delete iq.cls,i||delete iq.lcp,Object.entries(iq).forEach(([t,n])=>{oj(t,n.value,n.unit,e)}),S&&t.recordLcpOnPageloadSpan&&(S.element&&e.setAttribute("lcp.element",rU(S.element)),S.id&&e.setAttribute("lcp.id",S.id),S.url&&e.setAttribute("lcp.url",S.url.trim().slice(0,200)),null!=S.loadTime&&e.setAttribute("lcp.loadTime",S.loadTime),null!=S.renderTime&&e.setAttribute("lcp.renderTime",S.renderTime),e.setAttribute("lcp.size",S.size)),E?.sources&&t.recordClsOnPageloadSpan&&E.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,rU(t.node)));e.setAttribute(r?"browser.performance.time_origin":"performance.timeOrigin",a),e.setAttribute(r?"browser.performance.navigation.activation_start":"performance.activationStart",oG())}iW()}(e,{recordClsOnPageloadSpan:!1===a,recordLcpOnPageloadSpan:!1===s,spanStreamingEnabled:r}))}),r?(t.has("lcp")||function(e){let t,n=0;if(!i$("largest-contentful-paint"))return;let r=iS(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&iF(e.value)&&(n=e.value,t=r)},!0);iU(e,(e,o,i)=>{(function(e,t,n,r){if(!iF(e))return;ov&&D.log(`Sending LCP span (${e})`);let o=em()||0,i=iL(o),a=iL(o+(t?.startTime||0)),s=t?rU(t.element):"Largest contentful paint",u={};t?.element&&(u["browser.web_vital.lcp.element"]=rU(t.element)),t?.id&&(u["browser.web_vital.lcp.id"]=t.id),t?.url&&(u["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(u["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(u["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(u["browser.web_vital.lcp.size"]=t.size),i2({name:s,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:u,parentSpan:n,reportEvent:r,startTime:i,endTime:a})})(n,t,i,e),r()})}(n),t.has("cls")||function(e){let t,n=0;if(!i$("layout-shift"))return;let r=ib(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);iU(e,(e,o,i)=>{(function(e,t,n,r){ov&&D.log(`Sending CLS span (${e})`);let o=t?iL((em()||0)+t.startTime):eh(),i=t?rU(t.sources[0]?.node):"Layout shift",a={};t?.sources&&t.sources.forEach((e,t)=>{a[`browser.web_vital.cls.source.${t+1}`]=rU(e.node)}),i2({name:i,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:a,parentSpan:n,reportEvent:r,startTime:o})})(n,t,i,e),r()})}(n),!t.has("inp")&&iD()&&em()&&iE(({metric:e})=>{if(null==e.value||iL(e.value)>60)return;let t=e.entries.find(t=>t.duration===e.value&&i0[t.name]);t&&function(e,t){var n;ov&&D.log(`Sending INP span (${e})`);let r=iL(em()+t.startTime),o=iL(e),i=i0[t.name],a=null!=(n=t.interactionId)?iQ.get(n):void 0,s=tK(),u=s?tG(s):void 0,l=a?.span||u,c=l?tI(l).name:eJ().getScopeData().transactionName;i2({name:a?.elementName||rU(t.target),op:`ui.interaction.${i}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[to]:t.duration,[oo._h_]:c,[oo.BUp]:c},startTime:r,endTime:r+o,parentSpan:l})}(e.value,t)})):t.has("inp")||function(){if(iD()&&em()){let e=iE(i1);return()=>{e()}}return()=>void 0}()},afterAllSetup(){t.has("inp")||function(){let e=Object.keys(i0);function t(e){let t=e.target;if(!t)return;let n=rU(t),r=Math.round(e.timeStamp);if(iZ.set(r,n),iZ.size>
1950){let e=iZ.keys().next().value;void 0!==e&&iZ.delete(e)}}nx()&&e.forEach(e=>{R.addEventListener(e,t,{capture:!0,passive:!0})});let n=({entries:e})=>{let t=tK(),n=t&&tG(t);e.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||iQ.has(t))return;let r=e.target?rU(e.target):function(e){let t=Math.round(e.startTime),n=iZ.get(t);if(!n)for(let e=-5;e<=5;e++){let r=iZ.get(t+e);if(r){n=r;break}}return n||"<unknown>"}(e);if(iX.length>10){let e=iX.shift();iQ.delete(e)}iX.push(t),iQ.set(t,{span:n,elementName:r})})};iw("event",n),iw("first-input",n)}()}}},i5="sentry_previous_trace";function i6(e){return 1===e.traceFlags}function i7(e={}){let t=e.client||eZ();if(!function(){let e=eZ();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}()||!t)return{};let n=eV(O());if(n.getTraceData)return n.getTraceData(e);let r=e.scope||eJ(),o=e.span||tK(),i=tQ(o)&&!th(t.getOptions());if(!o&&void 0!==s)return{};let a=o&&!i?function(e){let{traceId:t,spanId:n}=e.spanContext();return tO(t,n,t$(e))}(o):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return tO(t,r,n)}(r),u=function(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],r)=>{let o=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,i=0===r?o:`${e},${o}`;return i.length>8192?(j&&D.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):i},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${ti}${t}`]=n),e),{}))}(o?t2(o):t1(t,r));if(!tP.test(a))return D.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let l={"sentry-trace":a,baggage:u};return e.propagateTraceparent&&(l.traceparent=o&&!i?function(e){let{traceId:t,spanId:n}=e.spanContext();return tT(t,n,t$(e))}(o):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return tT(t,r,n)}(r)),l}function i8(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(ti))}function i9(e,t,n,r,o){let i={url:on(rj(e),o),type:"fetch","http.method":n,[e8]:r,[e7]:"http.client"};return t&&(rP(t)||(i[oo.nYW]=on(rj(t.href),o),i[oo.Bg3]=on(rj(t.href),o),i["server.address"]=t.host),t.search&&(i["http.query"]=or(t.search,o)),t.hash&&(i["http.fragment"]=t.hash)),i}function ae(e){try{return new URL(e,R.location.origin).href}catch{return}}function at(e){try{return new Headers(e)}catch{return}}let an={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function ar(e,t){let{url:n}=tM(e).data;if(!n||"string"!=typeof n)return;let r=()=>void setTimeout(o);if(nM(t)){let t=e.end.bind(e);e.end=e=>{let n=e??eh(),i=!1,a=()=>{i||(i=!0,setTimeout(o),t(n),clearTimeout(s))};r=a;let s=setTimeout(a,300)}}let o=iw("resource",({entries:t})=>{t.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(n)&&(e.setAttributes(iB(t)),r())})})}let ao=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function ai(){let e=R.navigator;return!!e?.userAgent&&ao.test(e.userAgent)}let aa={...oF,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...an},as=(e={})=>{let t,n;"enableElementTiming"in e&&k(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let r={name:void 0,source:void 0},o=R.document,{enableInp:i,enableLongTask:a,enableLongAnimationFrame:s,_experiments:{enableInteractions:u,enableStandaloneClsSpans:l,enableStandaloneLcpSpans:c},beforeStartSpan:d,idleTimeout:f,finalTimeout:p,childSpanTimeout:h,markBackgroundSpan:g,traceFetch:m,traceXHR:_,trackFetchStreamPerformance:y,shouldCreateSpanForRequest:v,enableHTTPTimings:b,ignoreResourceSpans:S,ignorePerformanceApiSpans:E,instrumentPageLoad:w,instrumentNavigation:P,detectRedirects:O,linkPreviousTrace:T,consistentTraceSampling:x,enableReportPageLoaded:C,onRequestSpanStart:A,onRequestSpanEnd:M}={...aa,...e},I=ai();function N(e,t,i=!0,a){let s="pageload"===t.op,u=t.name,l=d?d(t):t,c=rO(a||rn()),g={...c?.pathname&&{[oo.BUb]:c.pathname},...c&&!rP(c)&&{[oo.Bg3]:on(c.href)},...l.attributes};if(u!==l.name&&(g[e3]="custom"),l.attributes=g,!i){let e=ep();oN({...l,startTime:e}).end(e);return}r.name=l.name,r.source=g[e3];let m=oH(l,{idleTimeout:f,finalTimeout:p,childSpanTimeout:h,disableAutoFinish:s,beforeSpanEnd:t=>{(function(e,t){let n=iD(),r=em();if(!n?.getEntries||!r)return;let{spanStreamingEnabled:o,ignorePerformanceApiSpans:i,ignoreResourceSpans:a}=t,s=iL(r),u=n.getEntries(),{op:l,start_timestamp:c}=tM(e);u.slice(iz).forEach(t=>{let n=iL(t.startTime),r=iL(Math.max(0,t.duration));if("navigation"!==l||!c||!(s+n<c))switch(t.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{iG(e,t,n,s)}),iG(e,t,"secureConnection",s,"TLS/SSL"),iG(e,t,"fetch",s,"cache"),iG(e,t,"domainLookup",s,"DNS"),function(e,t,n){let r=n+iL(t.requestStart),o=n+iL(t.responseEnd),i=n+iL(t.responseStart);t.responseEnd&&(iI(e,r,o,{op:"browser.request",name:t.name,attributes:{[e8]:"auto.ui.browser.metrics"}}),iI(e,i,o,{op:"browser.response",name:t.name,attributes:{[e8]:"auto.ui.browser.metrics"}}))}(e,t,s);break;
19case"mark":case"paint":case"measure":(function(e,t,n,r,o,i){if(function(e){if(e?.entryType==="measure")try{return"Components â"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&e$(t.name,i))return;let a=oW(!1),s=o+Math.max(n,iL(a?a.requestStart:0)),u=o+n,l=u+r,c={[e8]:"auto.resource.browser.metrics"};s!==u&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=s),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&W(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(W(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(c,t),s<=l&&iI(e,s,l,{name:t.name,op:t.entryType,attributes:c})})(e,t,n,r,s,i);break;case"resource":(function(e,t,n,r,o,i,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let s=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(a?.includes(s))return;let u={[e8]:"auto.resource.browser.metrics"},l=rx(n);l.protocol&&(u["url.scheme"]=l.protocol.split(":").pop()),l.host&&(u["server.address"]=l.host),u["url.same_origin"]=n.includes(R.location.origin),u[oo.Bg3]=on(n),function(e,t,n){n.forEach(([n,r])=>{let o=e[n];null!=o&&("number"==typeof o&&o<2147483647||"string"==typeof o)&&(t[r]=o)})}(t,u,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);let c={...u,...iB(t)},d=i+r;iI(e,d,d+o,{name:n.replace(R.location.origin,""),op:s,attributes:c})})(e,t,t.name,n,r,s,a)}}),iz=Math.max(u.length-1,0),function(e,t){let n=R.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),iM(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):"pageload"===tM(e).op&&oj("connection.rtt",r.rtt,"millisecond"))),iM(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),iM(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,o)})(t,{ignoreResourceSpans:S,ignorePerformanceApiSpans:E,spanStreamingEnabled:nM(e)}),Z(e,af,void 0);let r=eJ(),o=r.getPropagationContext();r.setPropagationContext({...o,traceId:m.spanContext().traceId,sampled:t$(m),dsc:t2(t)}),s&&(n=void 0)},trimIdleSpanEndTimestamp:!C});function _(){o&&["interactive","complete"].includes(o.readyState)&&(e.emit("idleSpanEnableAutoFinish",m),o.removeEventListener("readystatechange",_))}
19s&&C&&(n=m),Z(e,af,m),s&&!C&&o&&(o.addEventListener("readystatechange",_),_())}return{name:"BrowserTracing",setup(e){if(I){rF&&D.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if(function(){oB||(oB=!0,r2(e),r5(e));function e(){let e=tK(),t=e&&tG(e);if(t){let e="internal_error";j&&D.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}}(),s&&R.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=tK();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=iL(em()+n.startTime),{start_timestamp:r,op:o}=tM(t);if("navigation"===o&&r&&e<r)continue;let i=iL(n.duration),a={[e8]:"auto.ui.browser.metrics"},{invoker:s,invokerType:u,sourceURL:l,sourceFunctionName:c,sourceCharPosition:d}=n.scripts[0];a["browser.script.invoker"]=s,a["browser.script.invoker_type"]=u,l&&(a["code.filepath"]=l),c&&(a["code.function"]=c),-1!==d&&(a["browser.script.source_char_position"]=d),iI(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}}).observe({type:"long-animation-frame",buffered:!0}):a&&iw("longtask",({entries:e})=>{let t=tK();if(!t)return;let{op:n,start_timestamp:r}=tM(t);for(let o of e){let e=iL(em()+o.startTime),i=iL(o.duration);"navigation"===n&&r&&e<r||iI(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[e8]:"auto.ui.browser.metrics"}})}}),u&&iw("event",({entries:e})=>{let t=tK();if(t){for(let n of e)if("click"===n.name){let e=iL(em()+n.startTime),r=iL(n.duration),o={name:rU(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[e8]:"auto.ui.browser.metrics"}},i=rr(n.target);i&&(o.attributes["ui.component_name"]=i),iI(t,e,e+r,o)}}}),O&&o){let e=()=>{t=eh()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function r(){let t=e[af];t&&!tM(t).timestamp&&(rF&&D.log(`[Tracing] Finishing current active span with op: ${tM(t).op}`),t.setAttribute(e9,"cancelled"),t.end())}e.on("startNavigationSpan",(n,o)=>{if(eZ()!==e)return;if(o?.isRedirect){rF&&D.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),N(e,{op:"navigation.redirect",...n},!1,o.url);return}t=void 0,r();let i=eJ();i.setPropagationContext({traceId:es(),sampleRand:Math.random(),propagationSpanId:th()?void 0:ev()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),N(e,{op:"navigation",...n,parentSpan:null,forceTransaction:!0},!0,o?.url)}),e.on("startPageLoadSpan",(t,n={})=>{if(eZ()!==e)return;r();let o=function(e,t){let n=function(e){let t;if(!e)return;let n=e.match(tP);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e),r=ta(t);if(!n?.traceId)return{traceId:es(),sampleRand:ei()};let o=function(e,t){let n=tR(t?.sample_rand);if(void 0!==n)return n;let r=tR(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?ei()*r:r+ei()*(1-r):ei()}(n,r);r&&(r.sample_rand=o.toString());let{traceId:i,parentSpanId:a,parentSampled:s}=n;return{traceId:i,parentSpanId:a,sampled:s,dsc:r||{},sampleRand:o}}(n.sentryTrace||ac("sentry-trace")||ad("sentry-trace"),n.baggage||ac("baggage")||ad("baggage")),i=eJ();i.setPropagationContext(o),th()||(i.getPropagationContext().propagationSpanId=ev()),i.setSDKProcessingMetadata({normalizedRequest:ra()}),N(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{C&&n&&(n.setAttribute(e9,"reportPageLoaded"),n.end())})},afterAllSetup(e){let n;
19if(I)return;e.addIntegration&&!e.getIntegrationByName?.(i4)&&e.addIntegration(i3({ignore:i?[]:["inp"],_experiments:{enableStandaloneClsSpans:l,enableStandaloneLcpSpans:c}}));let o=rn();if("off"!==T&&function(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r="session-storage"===t,o=r?function(){try{let e=R.sessionStorage?.getItem(i5);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if(tG(e)!==e)return;let t=eJ().getPropagationContext();o=function(e,t,n){let r=tM(t),o={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{let e=Number(r.data?.[e5]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}(),sampleRand:n.sampleRand};if(!e)return o;let i=e.spanContext;return i.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(rF&&D.log(`Adding previous_trace \`${JSON.stringify(i)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:i,attributes:{"sentry.link.type":"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${i.traceId}-${i.spanId}-${i6(i)?1:0}`)),o)}(o,e,t),r&&function(e){try{R.sessionStorage.setItem(i5,JSON.stringify(e))}catch(e){rF&&D.warn("Could not store previous trace in sessionStorage",e)}}(o)});let i=!0;n&&e.on("beforeSampling",e=>{if(!o)return;let t=eJ(),n=t.getPropagationContext();if(i&&n.parentSpanId){i=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(o.sampleRate),sampled:String(i6(o.spanContext))},sampleRand:o.sampleRand}),e.parentSampled=i6(o.spanContext),e.parentSampleRate=o.sampleRate,e.spanAttributes={...e.spanAttributes,[e6]:o.sampleRate}})}(e,{linkPreviousTrace:T,consistentTraceSampling:x}),R.location){if(w){let t=em();au(e,{name:R.location.pathname,startTime:t?t/1e3:void 0,attributes:{[e3]:"url",[e8]:"auto.pageload.browser"}})}P&&rN(({to:n,from:r})=>{if(void 0===r&&o?.indexOf(n)!==-1){o=void 0;return}o=void 0;let i=rO(n),a=e[af],s=a&&O&&function(e,t){let n=tM(e),r=ep();return!(r-n.start_timestamp>1.5)&&(!t||!(r-t<=1.5))}(a,t);al(e,{name:i?.pathname||R.location.pathname,attributes:{[e3]:"url",[e8]:"auto.navigation.browser"}},{url:n,isRedirect:s})})}g&&(R.document?R.document.addEventListener("visibilitychange",()=>{let e=tK();if(!e)return;let t=tG(e);if(R.document.hidden&&t){let e="cancelled",{op:n,status:r}=tM(t);rF&&D.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):rF&&D.warn("[Tracing] Could not set up background tab detection due to lack of global document")),u&&R.document&&addEventListener("click",()=>{let t="ui.action.click",o=e[af];if(o&&["navigation","pageload"].includes(tM(o).op)){rF&&D.warn(`[Tracing] Did not create ${t} span because a pageload or navigation span is in progress.`);return}if(n&&(n.setAttribute(e9,"interactionInterrupted"),n.end(),n=void 0),!r.name){rF&&D.warn(`[Tracing] Did not create ${t} transaction because _latestRouteName is missing.`);return}n=oH({name:r.name,op:t,attributes:{[e3]:r.source||"url"}},{idleTimeout:f,finalTimeout:p,childSpanTimeout:h})},{capture:!0}),function(e,t){let{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:o,enableHTTPTimings:i,tracePropagationTargets:a,onRequestSpanStart:s,onRequestSpanEnd:u}={...an,...t},l="function"==typeof o?o:e=>!0,c=e=>(function(e,t){let n=rn();if(n){let r,o;try{r=new URL(e,n),o=new URL(n).origin}catch{return!1}let i=r.origin===o;return t?e$(r.toString(),t)||i&&e$(r.pathname,t):i}{let n=!!e.match(/^\/(?!\/)/);return t?e$(e,t):n}})(e,a),d={},f=e.getOptions().propagateTraceparent;n&&r_(t=>{let n=function(e,t,n,r,o){if(!e.fetchData)return;let{method:i,url:a}=e.fetchData,s=th()&&t(a);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(s&&(function(e,t){if(t.response){tm(e,t.response.status);let n=t.response?.headers?.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:2,message:"internal_error"});e.end()}(n,e),function(e,t,n){let r="object"==typeof n&&null!==n?n.onRequestSpanEnd:void 0;r?.(e,{headers:t.response?.headers,error:t.error})}(n,e,o)),delete r[t]);return}let{spanOrigin:u="auto.http.browser",propagateTraceparent:l=!1}="object"==typeof o?o:{spanOrigin:o},c=eZ(),d=!!tK(),f=d||!!c&&nM(c),p=s&&f?oN(function(e,t,n,r){if(e.startsWith("data:")){let o=rj(e);return{name:`${t} ${o}`,attributes:i9(e,void 0,t,n,r)}}
19let o=rO(e),i=o?rT(o):e;return{name:`${t} ${i}`,attributes:i9(e,o,t,n,r)}}(a,i,u,c)):new tX,h=oU(p)&&d?void 0:p;if(s&&!f&&c?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){let o=i7({span:n,propagateTraceparent:r}),i=o["sentry-trace"],a=o.baggage,s=o.traceparent;if(!i)return;let u=t.headers||(X(e)?e.headers:void 0);if(!u)return{"sentry-trace":i,...a&&{baggage:a},...s&&{traceparent:s}};if("undefined"!=typeof Headers&&J(u,Headers)){let e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",i),r&&s&&!e.get("traceparent")&&e.set("traceparent",s),a){let t=e.get("baggage");t?i8(t)||e.set("baggage",`${t},${a}`):e.set("baggage",a)}return e}if(Array.isArray(u)&&u.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])){let e=[...u];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",i]),r&&s&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",s]);let t=u.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&i8(e[1]));return a&&!t&&e.push(["baggage",a]),e}{let e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,n="baggage"in u?u.baggage:void 0,o=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find(e=>i8(e)):i8(n));a&&!l&&o.push(a);let c=Object.assign({},u,{"sentry-trace":e??i,...o.length>0&&{baggage:o.join(",")}});return r&&s&&!t&&(c.traceparent=s),c}}(t,n,th()&&f?h:void 0,l);r&&(e.args[1]=n,n.headers=r)}if(c){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};c.emit("beforeOutgoingRequestSpan",p,t)}return p}(t,l,c,d,{propagateTraceparent:f,onRequestSpanEnd:u});if(n){let r=ae(t.fetchData.url),o=r?rx(r).host:void 0,a=r?rj(r):void 0;n.setAttributes({[oo.nYW]:on(a),[oo.Bg3]:on(a),"server.address":o}),i&&ar(n,e),s?.(n,{headers:t.headers})}}),r&&rM(t=>{let n=function(e,t,n,r,o,i){let a=e.xhr,s=a?.[rk];if(!a||a.__sentry_own_request__||!s)return;let{url:u,method:l}=s,c=th()&&t(u);if(e.endTimestamp){let t=a.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(c&&void 0!==s.status_code&&(tm(n,s.status_code),n.end(),i?.(n,{headers:at(function(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return ov&&D.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}(a)),error:e.error})),delete r[t]);return}let d=ae(u),f=d?rx(d):rx(u),p=d?rj(d):void 0,h=rj(u.split(/[?#]/,1)[0]),g=eZ(),m=!!tK(),_=m||!!g&&nM(g),y=c&&_?oN({name:`${l} ${h}`,attributes:{url:on(rj(u)),type:"xhr","http.method":l,"http.url":on(p),[oo.Bg3]:on(p),"server.address":f?.host,[e8]:"auto.http.browser",[e7]:"http.client",...f?.search&&{"http.query":or(f?.search)},...f?.hash&&{"http.fragment":f?.hash}}}):new tX,v=oU(y)&&m?void 0:y;return c&&!_&&g?.recordDroppedEvent("no_parent_span","span"),a.__sentry_xhr_span_id__=y.spanContext().spanId,r[a.__sentry_xhr_span_id__]=y,n(u)&&function(e,t,n){let{"sentry-trace":r,baggage:o,traceparent:i}=i7({span:t,propagateTraceparent:n});r&&function(e,t,n,r){let o=e.__sentry_xhr_v3__?.request_headers;if(!o?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),r&&!o?.traceparent&&e.setRequestHeader("traceparent",r),n){let t=o?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,o,i)}(a,th()&&_?v:void 0,o),g&&g.emit("beforeOutgoingRequestSpan",y,e),y}(t,l,c,d,f,u);n&&(i&&ar(n,e),s?.(n,{headers:at(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}(e,{traceFetch:m,traceXHR:_,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:v,enableHTTPTimings:b,onRequestSpanStart:A,onRequestSpanEnd:M}),y&&e.addIntegration(iJ())}}};function au(e,t,n){e.emit("startPageLoadSpan",t,n),eJ().setTransactionName(t.name);let r=e[af];return r&&e.emit("afterStartPageLoadSpan",r),r}function al(e,t,n){let{url:r,isRedirect:o}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o,url:r}),e.emit("startNavigationSpan",t,{isRedirect:o,url:r});let i=eJ();return i.setTransactionName(t.name),r&&!o&&i.setSDKProcessingMetadata({normalizedRequest:{...ra(),url:r}}),e[af]}function ac(e){let t=R.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}function ad(e){let t=R.performance?.getEntriesByType?.("navigation")[0],n=t?.serverTiming?.find(t=>t.name===e);return n?.description}let af="_sentry_idleSpan";function ap(e){try{return new URL(e,R.location.origin).toString()}catch{return e}}let ah=null,ag=new Map,am=new Map;
19function a_(e){let t=e.split("/").filter(Boolean),n=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?n+=1e3:t.endsWith("*")?n+=100:n+=10}return t.length>0&&(n+=1/t.length),n}function ay(e){if(ag.has(e))return ag.get(e)??null;try{let t=new RegExp(e);return ag.set(e,t),t}catch(t){return oT&&D.warn("Could not compile regex",{regexString:e,error:t}),null}}function av(){if(!R?._sentryRouteManifest||"string"!=typeof R._sentryRouteManifest)return null;let e=R._sentryRouteManifest;if(ah&&w===e)return ah;ag.clear(),am.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return ah=t,w=e,t}catch{return oT&&D.warn("Could not extract route manifest"),null}}let ab=e=>{let t=av();if(!t)return;let n=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(am.has(n))return am.get(n);let{staticRoutes:r,dynamicRoutes:o}=t;if(!Array.isArray(r)||!Array.isArray(o))return;let i=(function(e,t,n){let r=[];if(t.some(t=>t.path===e))return r;for(let t of n)if(t.regex){let n=ay(t.regex);n?.test(e)&&r.push(t.path)}if(!e.startsWith("/:")){for(let t of n)if(t.hasOptionalPrefix&&t.regex){let n="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,o=ay(t.regex);o?.test(n)&&r.push(t.path)}}return r})(n,r,o).sort((e,t)=>a_(e)-a_(t))[0];return am.set(n,i),i};var aS=n(40257);function aE(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}let aw="incomplete-app-router-transaction",aR={current:void 0};function aP(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let aO=new WeakSet;function aT(e,t,n){aO.has(t)||(aO.add(t),["back","forward","push","replace"].forEach(r=>{t?.[r]&&(t[r]=new Proxy(t[r],{apply(t,o,i){let a=aw,s={[e7]:"navigation",[e8]:"auto.navigation.nextjs.app_router_instrumentation",[e3]:"url"},u=i[0],l=aS.env._sentryBasePath??R._sentryBasePath,c=l&&"string"==typeof u&&!u.startsWith(l)?`${l}${u}`:u;"push"===r?(a=aE(aP(c)),s["navigation.type"]="router.push"):"replace"===r?(a=aE(aP(c)),s["navigation.type"]="router.replace"):"back"===r?s["navigation.type"]="router.back":"forward"===r&&(s["navigation.type"]="router.forward");let d=ab(a),f="back"===r||"forward"===r?void 0:ap(c);return n.current=al(e,{name:d??a,attributes:{...s,[e3]:d?"route":"url",...d&&{[oo._wM]:d}}},f?{url:f}:void 0),t.apply(o,i)}}))}))}let ax=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function aj(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let o=r>=0?e[r]:"/";o&&(t=`${o}/${t}`,n="/"===o.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function aC(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let aA=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in R&&!!R.window,o=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let o=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),i=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(o||i){let e;let i=o?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,a=t?function(e,t){e=aj(e).slice(1),t=aj(t).slice(1);let n=aC(e.split("/")),r=aC(t.split("/")),o=Math.min(n.length,r.length),i=o;for(let e=0;e<o;e++)if(n[e]!==r[e]){i=e;break}let a=[];for(let e=i;e<n.length;e++)a.push("..");return(a=a.concat(r.slice(i))).join("/")}(t,i):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=ax.exec(t);return n?n.slice(1):[]}(i)[2]||"";r.filename=`${n}${a}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>o(e))}}}})}}}catch{return e}}(t)),t}}},ak=/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js(:\d+)*$/,aM=({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...aA({iteratee:o=>{if(r){let n="undefined"!=typeof window&&window.location?window.location.origin:"";if(o.filename?.startsWith(n)&&!o.filename.endsWith(".js"))return o;if(e)o.filename?.startsWith(e)&&(o.filename=o.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(o.filename);e===n&&(o.filename=o.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(o.filename);o.filename=o.filename?.replace(e,"app://").replace(n,"")}catch{}return r?o.filename?.includes("/_next")&&(o.filename=decodeURI(o.filename)):o.filename?.startsWith("app:///_next")&&(o.filename=decodeURI(o.filename)),o.filename?.match(ak)&&(o.in_app=!1),o}}),name:"NextjsClientStackFrameNormalization"});class aI{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}let aN=new aI(100);var aD=n(40257),aL=n(40257);let a$=!1;function aU(e){a$&&k(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}
19),a$=!0,!oT&&e.debug&&k(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){R.document&&function(e){let t=ab(e)||e,n=aN.get(t);if(void 0!==n)return n;let r=av();if(!r?.isrRoutes||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return aN.set(t,!1),!1;let o=r.isrRoutes.includes(t);return aN.set(t,o),o}(R.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=R.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}();let t={environment:e.environment||aL.env.SENTRY_ENVIRONMENT||function(e){let t=e?ox.env.NEXT_PUBLIC_VERCEL_ENV:ox.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=oR(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=as({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[n,{headers:r}]=t;return r?.get("next-router-prefetch")&&n?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){!ai()&&(r&&(R.document.getElementById("__NEXT_DATA__")||function(e){R.addEventListener("popstate",()=>{let t=aE(R.location.pathname),n=ab(t);aR.current?.isRecording()?(aR.current.updateName(n??t),aR.current.setAttribute(e3,n?"route":"url"),n&&aR.current.setAttribute(oo._wM,n),function(e,t,n){e.setAttributes({[oo.BUb]:t,[oo.Bg3]:on(ap(n))})}(aR.current,t,R.location.href)):aR.current=al(e,{name:n??t,attributes:{[e8]:"auto.navigation.nextjs.app_router_instrumentation",[e3]:n?"route":"url","navigation.type":"browser.popstate",...n&&{[oo._wM]:n}}},{url:ap(t)})});let t=!1,n=0,r=setInterval(()=>{n++;let o=R?.next?.router??R?.nd?.router;t||n>500?clearInterval(r):o&&(clearInterval(r),t=!0,aT(e,o,aR),["nd","next"].forEach(t=>{let n=R[t];n&&(R[t]=new Proxy(n,{set:(t,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&aT(e,r,aR),t[n]=r,!0)}))}))},20)}(e)),t.afterAllSetup(e),n&&(R.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:n,sentryTrace:r,baggage:o}=function(){let e;let t=R.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{oT&&D.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:o,props:i}=e;return n.route=r,n.params=o,i?.pageProps&&(n.sentryTrace=i.pageProps._sentryTraceData,n.baggage=i.pageProps._sentryBaggage),n}(),i=ts(o),a=t||R.location.pathname;i?.["sentry-transaction"]&&"/_error"===a&&(a=(a=i["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=em();au(e,{name:a,startTime:s?s/1e3:void 0,attributes:{[e7]:"pageload",[e8]:"auto.pageload.nextjs.pages_router_instrumentation",[e3]:t?"route":"url",...t&&{[oo._wM]:t},...n&&{...n}}},{sentryTrace:r,baggage:o})}(e):function(e){let t=aE(R.location.pathname),n=ab(t),r=em();au(e,{name:n??t,startTime:r?r/1e3:void 0,attributes:{[e7]:"pageload",[e8]:"auto.pageload.nextjs.app_router_instrumentation",[e3]:n?"route":"url",...n&&{[oo._wM]:n}}})}(e)))}}}());let n=R._sentryRewriteFramesAssetPrefixPath||"",r=aL.env._sentryAssetPrefix||R._sentryAssetPrefix,o=aL.env._sentryBasePath||R._sentryBasePath,i="true"===aL.env._experimentalThirdPartyOriginStackFrames||"true"===R._experimentalThirdPartyOriginStackFrames;return t.push(aM({assetPrefix:r,basePath:o,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:i})),t}(e),release:"91992dcb0e27dbfd64ee652f13d87fb1cdfb3200",...e};(function(e){let t=aD.env._sentryRewritesTunnelPath||R._sentryRewritesTunnelPath;if(t&&e.dsn){let n=tf(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let o=r[1],i=r[2],a=`${t}?o=${o}&p=${n.projectId}`;i&&(a+=`&r=${i}`),e.tunnel=a,oT&&D.log(`Tunneling events to "${a}"`)}else oT&&D.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}})(t),L(t,"nextjs",["nextjs","react"]),t.ignoreSpans=[...t.ignoreSpans||[],/^\/404$/,new RegExp("^".concat(aw,"$"))];let n=function(e){var t,n;let r={...e};L(r,"react"),t="react",n={version:oP.version},eX().setContext(t,n);let o=function(e={}){var t;
19let n=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===R.window||R.nw)return!1;let e=R.chrome||R.browser;if(!e?.runtime?.id)return!1;let t=rn();return!(R===R.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}()&&(rF&&k(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),r=null==e.defaultIntegrations?oR():e.defaultIntegrations,o={...e,enabled:!n&&e.enabled,stackParser:Array.isArray(t=e.stackParser||o_)?ex(...t):t,integrations:function(e){let t;let n=e.defaultIntegrations||[],r=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))t=[...n,...r];else if("function"==typeof r){let e=r(n);t=Array.isArray(e)?e:[e]}else t=n;return function(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(t)}({integrations:e.integrations,defaultIntegrations:r}),transport:e.transport||oS};return a=ow,function(e,t){!0===t.debug&&(j?D.enable():k(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),eJ().update(t.initialScope);let n=new e(t);return eJ().setClient(n),n.init(),n}(rs,o)}(r);return a=oO,o}(t),r=(e,t)=>{var n,r,o,i;return U(i=null==t?void 0:t.originalException)&&"string"==typeof i.digest&&i.digest.startsWith("NEXT_REDIRECT;")||(null===(o=e.exception)||void 0===o?void 0:null===(r=o.values)||void 0===r?void 0:null===(n=r[0])||void 0===n?void 0:n.value)==="NEXT_REDIRECT"?null:e};return r.id="NextRedirectErrorFilter",eX().addEventProcessor(r),n}},74441:function(e,t,n){"use strict";function r(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}n.r(t),n.d(t,{_:function(){return r},_class_private_field_loose_base:function(){return r}})},70483:function(e,t,n){"use strict";n.r(t),n.d(t,{_:function(){return o},_class_private_field_loose_key:function(){return o}});var r=0;function o(e){return"__private_"+r+++"_"+e}},60917:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.r(t),n.d(t,{_:function(){return r},_interop_require_default:function(){return r}})},52140:function(e,t,n){"use strict";function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n: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 n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}n.r(t),n.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.