PageSourceSearch

https://www.theawesome.com/_next/static/chunks/7141.c3823c7df3fe1d09.js

js theawesome.com collected 2026-09-27 13:22:43 UTC 311,529 bytes, 469 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f6bfad2f-fb82-4192-8aaa-4eeb91662f18",e._sentryDebugIdIdentifier="sentry-dbid-f6bfad2f-fb82-4192-8aaa-4eeb91662f18")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7141],{2471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(92385),a=r(98156);function o(e,t,r){let o="",i=(0,a.getRouteRegex)(e),s=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;o=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],a="["+(r?"...":"")+e+"]";return n&&(a=(t?"":"/")+"["+a+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}}},4300:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var a={},o=t.split(n),i=(r||{}).decode||e,s=0;s<o.length;s++){var l=o[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),d=l.substr(++u,l.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==a[c]&&(a[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,i))}}return a},t.serialize=function(e,t,n){var o=n||{},i=o.encode||r;if("function"!=typeof i)throw TypeError("option encode is invalid");if(!a.test(e))throw TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(o.domain){if(!a.test(o.domain))throw TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!a.test(o.path))throw TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invali
1d");l+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(l+="; HttpOnly"),o.secure&&(l+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var e=decodeURIComponent,r=encodeURIComponent,n=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/})(),e.exports=t})()},4853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return b},APP_CLIENT_INTERNALS:function(){return Z},APP_PATHS_MANIFEST:function(){return g},APP_PATH_ROUTES_MANIFEST:function(){return v},AdapterOutputType:function(){return o},BARREL_OPTIMIZATION_PREFIX:function(){return W},BLOCKED_PAGES:function(){return U},BUILD_ID_FILE:function(){return F},BUILD_MANIFEST:function(){return y},CLIENT_PUBLIC_FILES_PATH:function(){return $},CLIENT_REFERENCE_MANIFEST:function(){return q},CLIENT_STATIC_FILES_PATH:function(){return B},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return et},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return V},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Q},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return en},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ea},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return er},COMPILER_INDEXES:function(){return i},COMPILER_NAMES:function(){return a},CONFIG_FILES:function(){return j},DEFAULT_RUNTIME_WEBPACK:function(){return eo},DEFAULT_SANS_SERIF_FONT:function(){return ec},DEFAULT_SERIF_FONT:function(){return eu},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return D},DEV_CLIENT_PAGES_MANIFEST:function(){return O},DYNAMIC_CSS_MANIFEST:function(){return J},EDGE_RUNTIME_WEBPACK:function(){return ei},EDGE_UNSUPPORTED_NODE_APIS:function(){return em},EXPORT_DETAIL:function(){return P},EXPORT_MARKER:function(){return T},FUNCTIONS_CONFIG_MANIFEST:function(){return E},IMAGES_MANIFEST:function(){return C},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return Y},MIDDLEWARE_BUILD_MANIFEST:function(){return G},MIDDLEWARE_MANIFEST:function(){return I},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return K},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return z},NEXT_FONT_MANIFEST:function(){return w},PAGES_MANIFEST:function(){return m},PHASE_DEVELOPMENT_SERVER:function(){return p},PHASE_EXPORT:function(){return u},PHASE_INFO:function(){return h},PHASE_PRODUCTION_BUILD:function(){return c},PHASE_PRODUCTION_SERVER:function(){return d},PHASE_TEST:function(){return f},PRERENDER_MANIFEST:function(){return x},REACT_LOADABLE_MANIFEST:function(){return M},ROUTES_MANIFEST:function(){return R},RSC_MODULE_TYPES:function(){return eh},SERVER_DIRECTORY:function(){return L},SERVER_FILES_MANIFEST:function(){return A},SERVER_PROPS_ID:function(){return el},SERVER_REFERENCE_MANIFEST:function(){return X},STATIC_PROPS_ID:function(){return es},STATIC_STATUS_PAGES:function(){return ed},STRING_LITERAL_DROP_BUNDLE:function(){return H},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return S},SYSTEM_ENTRYPOINTS:function(){return e_},TRACE_OUTPUT_VERSION:function(){return ep},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return N},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return k},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ef},UNDERSCORE_NOT_FOUND_ROUTE:function(){return s},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l},WEBPACK_STATS:function(){return _}});let n=r(28140)._(r(41616)),a={client:"client",server:"server",edgeServer:"edge-server"};var o=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.PRERENDER="PRERENDER",e.STATIC_FILE="STATIC_FILE",e.MIDDLEWARE="MIDDLEWARE",e}({});let i={[a.client]:0,[a.server]:1,[a.edgeServer]:2},s="/_not-found",l=""+s+"/page",u="phase-export",c="phase-production-build",d="phase-production-server",p="p
1hase-development-server",f="phase-test",h="phase-info",m="pages-manifest.json",_="webpack-stats.json",g="app-paths-manifest.json",v="app-path-routes-manifest.json",y="build-manifest.json",b="app-build-manifest.json",E="functions-config-manifest.json",S="subresource-integrity-manifest",w="next-font-manifest",T="export-marker.json",P="export-detail.json",x="prerender-manifest.json",R="routes-manifest.json",C="images-manifest.json",A="required-server-files.json",O="_devPagesManifest.json",I="middleware-manifest.json",k="_clientMiddlewareManifest.json",N="client-build-manifest.json",D="_devMiddlewareManifest.json",M="react-loadable-manifest.json",L="server",j=["next.config.js","next.config.mjs","next.config.ts"],F="BUILD_ID",U=["/_document","/_app","/_error"],$="public",B="static",H="__NEXT_DROP_CLIENT_FILE__",z="__NEXT_BUILTIN_DOCUMENT__",W="__barrel_optimize__",q="client-reference-manifest",X="server-reference-manifest",G="middleware-build-manifest",K="middleware-react-loadable-manifest",Y="interception-route-rewrite-manifest",J="dynamic-css-manifest",V="main",Q=""+V+"-app",Z="app-pages-internals",ee="react-refresh",et="amp",er="webpack",en="polyfills",ea=Symbol(en),eo="webpack-runtime",ei="edge-runtime-webpack",es="__N_SSG",el="__N_SSP",eu={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ec={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ed=["/500"],ep=1,ef=6e3,eh={client:"client",server:"server"},em=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],e_=new Set([V,ee,et,Q]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6997:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(73879),a=r(2018);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},7511:(e,t,r)=>{"use strict";Object.defineProperty(t,"A",{enumerable:!0,get:function(){return u}});let n=r(28406),a=r(87037),o=r(77700),i=r(61940),s=r(51755),l=r(40579);function u(e,t,r,u,c,d){let p,f=!1,h=!1,m=(0,l.parseRelativeUrl)(e),_=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,s.removeBasePath)(m.pathname),d).pathname),g=r=>{let l=(0,n.getPathMatch)(r.source+"(/)?",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((r.has||r.missing)&&l){let e=(0,a.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[r,...n]=t.split("=");return e[r]=n.join("="),e},{})},m.query,r.has,r.missing);e?Object.assign(l,e):l=!1}if(l){if(!r.destination)return h=!0,!0;let n=(0,a.prepareDestination)({appendParamsToQuery:!0,destination:r.destination,params:l,query:u});if(m=n.parsedDestination,e=n.newUrl,Object.assign(u,n.parsedDestination.query),_=(0,o.removeTrailingSlash)((0,i.normalizeLocalePath)((0,s.removeBasePath)(e),d).pathname),t.includes(_))return f=!0,p=_,!0;if((p=c(_))!==e&&t.includes(p))return f=!0,!0}},v=!1;for(let e=0;e<r.beforeFiles.length;e++)g(r.beforeFiles[e]);if(!(f=t.includes(_))){if(!v){for(let e=0;e<r.afterFiles.length;e++)if(g(r.afterFiles[e])){v=!0;break}}if(v||(p=c(_),v=f=t.includes(p)),!v){for(let e=0;e<r.fallback.length;e++)if(g(r.fallback[e])){v=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:f,resolvedHref:p,externalDest:h}}},7755:(e,t,r)=>{"use strict";r.d(t,{qd:()=>l,wg:()=>c,y7:()=>u});var n=r(65359),a=r(96939),o=r(96812),i=r(38599);let s={};function l(e){let t=s[e];if(t)return t;let r=i.j[e];if((0,n.a3)(r))return s[e]=r.bind(i.j);let l=i.j.document;if(l&&"function"==typeof l.createElement)try{let t=l.createElement("iframe");t.hidden=!0,l.head.appendChild(t);let n=t.contentWindow;n&&n[e]&&(r=n[e]),l.head.removeChild(t)}catch(t){o.T&&a.vF.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?s[e]=r.bind(i.j):r}function u(e){s[e]=void 0}function c(...e){return l("setTimeout")(...e)}
1},7916:(e,t,r)=>{"use strict";let n,a,o;r.d(t,{i:()=>c});var i=r(90570),s=r(21408),l=r(30391),u=r(38599);function c(e){(0,i.s5)("dom",e),(0,i.AS)("dom",d)}function d(){if(!u.j.document)return;let e=i.aj.bind(null,"dom"),t=p(e,!0);u.j.document.addEventListener("click",t,!1),u.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=u.j[t],n=r&&r.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,s.GS)(n,"addEventListener",function(t){return function(r,n,a){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=n[r]=n[r]||{refCount:0};if(!o.handler){let n=p(e);o.handler=n,t.call(this,r,n,a)}o.refCount++}catch(e){}return t.call(this,r,n,a)}}),(0,s.GS)(n,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},a=r[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,n),a.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,r,n)}}))})}function p(e,t=!1){return r=>{var i;if(!r||r._sentryCaptured)return;let c=function(e){try{return e.target}catch(e){return null}}(r);if(i=r.type,"keypress"===i&&(!c||!c.tagName||"INPUT"!==c.tagName&&"TEXTAREA"!==c.tagName&&!c.isContentEditable&&1))return;(0,s.my)(r,"_sentryCaptured",!0),c&&!c._sentryId&&(0,s.my)(c,"_sentryId",(0,l.eJ)());let d="keypress"===r.type?"input":r.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch(e){}return!0}(r)&&(e({event:r,name:d,global:t}),a=r.type,o=c?c._sentryId:void 0),clearTimeout(n),n=u.j.setTimeout(()=>{o=void 0,a=void 0},1e3)}}},8518:(e,t,r)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(5240),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9824:(e,t,r)=>{"use strict";function n(e,t=Date.now()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let a=Date.parse(`${e}`);return isNaN(a)?6e4:a-t}function a(e,t,r=Date.now()){return(e[t]||e.all||0)>r}function o(e,{statusCode:t,headers:r},a=Date.now()){let i={...e},s=r&&r["x-sentry-rate-limits"],l=r&&r["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,r,,,n]=e.split(":",5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!n||n.split(";").includes("custom"))&&(i[e]=a+s):i[e]=a+s;else i.all=a+s}else l?i.all=a+n(l,a):429===t&&(i.all=a+6e4);return i}r.d(t,{FA:()=>n,Jz:()=>a,wq:()=>o})},10160:(e,t,r)=>{"use strict";function n(e,t){var r,n,o,i;let s=t&&t.getDsn(),l=t&&t.getOptions().tunnel;return r=e,!!(n=s)&&r.includes(n.host)||(o=e,!!(i=l)&&a(o)===a(i))}function a(e){return"/"===e[e.length-1]?e.slice(0,-1):e}r.d(t,{A:()=>n})},13314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function a(e){return r.test(e)?e.replace(n,"\\$&"):e}},13644:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},14231:(e,t,r)=>{"use strict";r.d(t,{N:()=>s});var n=r(38599);let a=-1,o=e=>{"hidden"===n.j.document.visibilityState&&a>-1&&(a="visibilitychange"===e.type?e.timeStamp:0,i())},i=()=>{removeEventListener("visibilitychange",o,!0),removeEventListener("prerenderingchange",o,!0)},s=()=>(n.j.document&&a<0&&(a="hidden"!==n.j.document.visibilityState||n.j.document.prerendering?1/0:0,addEventListener("visibilitychange",o,!0),addEventListener("prerenderingchange",o,!0)),{get firstHiddenTime(){return a}})},15495:(e,t,r)=>{"use strict";function n(e,t){return null!=e?e:t()}r.d(t,{S:()=>n})},15657:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r(28140);let n=r(95155);r(12115);let a=r(73360);function o(e){function t(t){return(0,n.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return h},APP_DIR_ALIAS:function(){return D},CACHE_ONE_YEAR:function(){return x},DOT_NEXT_ALIAS:function(){return k},ESLINT_DEFAULT_DIRS:function(){return ee},GSP_NO_RETURNED_VALUE:function(){return K},GSSP_COMPONENT_MEMBER_ERROR:function(){return V},GSSP_NO_RETURNED_VALUE:function(){return Y},HTML_CONTENT_TYPE_HEADER:function(){return n},INFINITE_CACHE:function(){return R},INSTRUMENTATION_HOOK_FILENAME:function(){return O},JSON_CONTENT_TYPE_HEADER:function(){return a},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return C},MIDDLEWARE_LOCATION_REGEXP:function(){return A},NEXT_BODY_SUFFIX:function(){return g},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return P},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return y},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return b},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return T},NEXT_CACHE_TAGS_HEADER:function(){return v},NEXT_CACHE_TAG_MAX_ITEMS:function(){return S},NEXT_CACHE_TAG_MAX_LENGTH:function(){return w},NEXT_DATA_SUFFIX:function(){return m},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return i},NEXT_META_SUFFIX:function(){return _},NEXT_QUERY_PARAM_PREFIX:function(){return o},NEXT_RESUME_HEADER:function(){return E},NON_STANDARD_NODE_ENV:function(){return Q},PAGES_DIR_ALIAS:function(){return I},PRERENDER_REVALIDATE_HEADER:function(){return l},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return u},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return H},ROOT_DIR_ALIAS:function(){return N},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return B},RSC_ACTION_ENCRYPTION_ALIAS:function(){return $},RSC_ACTION_PROXY_ALIAS:function(){return j},RSC_ACTION_VALIDATE_ALIAS:function(){return L},RSC_CACHE_WRAPPER_ALIAS:function(){return F},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return U},RSC_MOD_REF_PROXY_ALIAS:function(){return M},RSC_PREFETCH_SUFFIX:function(){return c},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return p},RSC_SUFFIX:function(){return f},SERVER_PROPS_EXPORT_ERROR:function(){return G},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return W},SERVER_PROPS_SSG_CONFLICT:function(){return q},SERVER_RUNTIME:function(){return et},SSG_FALLBACK_EXPORT_ERROR:function(){return Z},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return z},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return X},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return r},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return J},WEBPACK_LAYERS:function(){return en},WEBPACK_RESOURCE_QUERIES:function(){return ea}});let r="text/plain",n="text/html; charset=utf-8",a="application/json; charset=utf-8",o="nxtP",i="nxtI",s="x-matched-path",l="x-prerender-revalidate",u="x-prerender-revalidate-if-generated",c=".prefetch.rsc",d=".segments",p=".segment.rsc",f=".rsc",h=".action",m=".json",_=".meta",g=".body",v="x-next-cache-tags",y="x-next-revalidated-tags",b="x-next-revalidate-tag-token",E="next-resume",S=128,w=256,T=1024,P="_N_T_",x=31536e3,R=0xfffffffe,C="middleware",A=`(?:src/)?${C}`,O="instrumentation",I="private-next-pages",k="private-dot-next",N="private-next-root-dir",D="private-next-app-dir",M="private-next-rsc-mod-ref-proxy",
1L="private-next-rsc-action-validate",j="private-next-rsc-server-reference",F="private-next-rsc-cache-wrapper",U="private-next-rsc-track-dynamic-import",$="private-next-rsc-action-encryption",B="private-next-rsc-action-client-wrapper",H="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",z="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",W="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",q="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",X="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",G="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",K="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",Y="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",J="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",V="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Q='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',Z="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ee=["app","pages","components","lib","src"],et={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},er={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},en={...er,GROUP:{builtinReact:[er.reactServerComponents,er.actionBrowser],serverOnly:[er.reactServerComponents,er.actionBrowser,er.instrument,er.middleware],neutralTarget:[er.apiNode,er.apiEdge],clientOnly:[er.serverSideRendering,er.appPagesBrowser],bundled:[er.reactServerComponents,er.actionBrowser,er.serverSideRendering,er.appPagesBrowser,er.shared,er.instrument,er.middleware],appPages:[er.reactServerComponents,er.serverSideRendering,er.appPagesBrowser,er.actionBrowser]}},ea={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},17141:(e,t,r)=>{"use strict";let n,a,o,i,s,l,u,c,d;r.r(t),r.d(t,{BrowserClient:()=>ev,ErrorBoundary:()=>iZ,OpenFeatureIntegrationHook:()=>iU,Profiler:()=>iK,SDK_VERSION:()=>h.M,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>tx.uT,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>tx.JD,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>tx.sy,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>tx.i_,Scope:()=>np.H,WINDOW:()=>eh,addBreadcrumb:()=>eI.Z,addEventProcessor:()=>_.SA,addIntegration:()=>w,addTracingExtensions:()=>nx,breadcrumbsIntegration:()=>eF,browserApiErrorsIntegration:()=>e$,browserProfilingIntegration:()=>iI,browserSessionIntegration:()=>eq,browserTracingIntegration:()=>rW,buildLaunchDarklyFlagUsedHandler:()=>ij,captureConsoleIntegration:()=>nR,captureEvent:()=>_.r,captureException:()=>_.Cp,captureFeedback:()=>nC,captureMessage:()=>_.wd,captureRequestError:()=>nT,captureSession:()=>_.J5,captureUnderscoreErrorException:()=>r9,captureUserFeedback:()=>tE,chromeStackLineParser:()=>e8,close:()=>_.VN,contextLinesIntegration:()=>n4,continueTrace:()=>tZ,createReduxEnhancer:()=>i2,createTransport:()=>th,createUserFeedbackEnvelope:()=>eg,debugIntegration:()=>nA,dedupeIntegration:()=>N,defaultRequestInstrumentationOptions:()=>rx,defaultStackLineParsers:()=>tu,defaultStackParser:()=>tc,endSession:()=>_.ky,eventFromException:()=>ec,eventFromMessage:()=>ed,exceptionFromError:()=>eo,experimental_captureRequestError:()=>nP,extraErrorDataIntegration:()=>nO,featureFlagsIntegration:()=>iM,feedbackAsyncIntegration:()=>o6,feedbackIntegration:()=>o9,feedbackSyncIntegration:()=>o9,flush:()=>_.bX,forceLoad:()=>ty,functionToStringIntegration:()=>I,geckoStackLineParser:()=>tr,getActiveSpan:()=>W.Bk,getClient:()=>v.KU,getCurrentHub:()=>nI,getCurrentScope:()=>v.o5,getDefaultIntegrations:()=>tg,getFeedback:()=>aJ,getGlobalScope:()=>v.m6,getIsolationScope:()=>v.rm,getReplay:()=>n5.M,getRootSpan:()=>W.zU,getSpanDescendants:()=>W.xO,getSpanStatusFromHttpCode:()=>tK.AJ,globalHandlersIntegration:()=>eQ,httpClientIntegration:()=>nV,httpContextIntegration:()=>e1,inboundFiltersIntegration:()=>R,init:()=>rQ,instrumentOutgoingRequests:()=>rR,isInitialized:()=>_.Dp,lastEventId:()=>_.Q,launchDarklyIntegration:()=>iL,lazyLoadIntegration:()=>nX,linkedErrorsIntegration:()=>e4,makeBrowserOfflineTransport:()=>im,makeFetchTransport:()=>t_,makeMultiplexedTransport:()=>nN,metrics:()=>ic,moduleMetadataIntegration:()=>nF,onLoad:()=>tb,openFeatureIntegration:()=>iF,opera10StackLineParser:()=>ti,opera11StackLineParser:()=>tl,parameterize:()=>nU,reactErrorHandler:()=>iW,reactRouterV3BrowserTracingIntegration:()=>i3,reactRouterV4BrowserTracingIntegration:()=>i9,reactRouterV5BrowserTracingIntegration:()=>i7,reactRouterV6BrowserTracingIntegration:()=>sE,reactRouterV7BrowserTracingIntegration:()=>sC,registerSpanErrorInstrumentation:()=>ry,replayCanvasIntegration:()=>aE,replayIntegration:()=>n5.w,reportingObserverIntegration:()=>nY,rewriteFramesIntegration:()=>rK,sendFeedback:()=>aB,sessionTimingIntegration:()=>n$,setContext:()=>_.o,setCurrentClient:()=>F,setExtra:()=>_.l7,setExtras:()=>_.cx,setHttpStatus:()=>tK.N8,setMeasurement:()=>tR,setTag:()=>_.NA,setTags:()=>_.Wt,setUser:()=>_.gV,showReportDialog:()=>tv,spanToBaggageHeader:()=>H.HW,spanToJSON:()=>W.et,spanToTraceHeader:()=>W.Qh,spotlightBrowserIntegration:()=>ik,startBrowserTracingNavigationSpan:()=>rD,startBrowserTracingPageLoadSpan:()=>rN,startInactiveSpan:()=>tQ,startNewTrace:()=>t2,startSession:()=>_.J0,startSpan:()=>tJ,startSpanManual:()=>tV,statsigIntegration:()=>iH,suppressTracing:()=>t1,tanstackRouterBrowserTracingIntegration:()=>i5,thirdPartyErrorFilterIntegration:()=>nB,unleashIntegration:()=>i$,updateSpanName:()=>W.zQ,useProfiler:()=>iJ,winjsStackLineParser:()=>ta,withActiveSpan:()=>t0,withErrorBoundary:()=>i0,withIsolationScope:()=>v.rB,withProfiler:()=>iY,withScope:()=>v.v4,withSentryConfig:()=>rZ,withSentryReactRouterV6Routing:()=>sR,withSentryReactRouterV7Routing:()=>sA,withSentryRouting:()=>se,withServerActionInstrumentation:()=>nS,wrapApiHandlerWithSentryVercelCrons:()=>nv,wrapAppGetInitialPropsWithSentry:()=>nl,wrapCreateBrowserRouter:()=>sP,wrapCreateBrowserRouterV6:()=>sT,wrapCreateBrowserRouterV7:()=>sO,wrapCreateMemoryRouterV6:()=>sx,wrapCreateMemoryRouterV7:()=>sI,wrapDocumentGetInitialPropsWithSentry:()=>nu,wrapErrorGetInitialPropsWithSentry:()=>nc,wrapGenerationFunctionWithSentry:()=>nE,wrapGetInitialPropsWithSentry:()=>ns,wrapGetServerSidePropsWithSentry:()=>nd,wrapGetStaticPropsWithSentry:()=>no,wrapMiddlewareWithSentry:()=>ny,wrapPageComponentWithSentry:()=>nb,wrapRouteHandlerWithSentry:()=>ng,wrapServerComponentWithSentry:()=>n_,wrapUseRoutes:()=>sw,wrapUseRoutesV6:()=>sS,wrapUseRoutesV7:()=>sk,zodErrorsIntegration:()=>nW});var p=r(96538),f=r(31246),h=r(56633);function m(e,t,r=[t],n="npm"){let a=e._metadata||{};a.sdk||(a.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${n}:@sentry/${e}`,version:h.M})),version:h.M}),e._metadata=a}var _=r(27122),g=r(61571),v=r(2257),y=r(96939);let b=[];function E(e,t){for(let r of t)r&&r.afterAllSetup&&r.afterAllSetup(e)}function S(e,t,r){if(r[t.name]){g.T&&y.vF.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,-1===b.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),b.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}g.T&&y.vF.log(`Integration installed: ${t.name}`)}function w(e){let t=(0,v.KU)();if(!t){g.T&&y.vF.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}var T=r(30391),P=r(90730);let x=[/^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.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],R=(e={})=>({name:"InboundFilters",processEvent:(t,r,n)=>!function(e,t){var r,n,a;return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(g.T&&y.vF.warn(`Event dropped due to being internal Sentry Error.
2Event: ${(0,T.$X)(e)}`),!0):(r=e,n=t.ignoreErrors,!r.type&&n&&n.length&&(function(e){let t,r=[];e.message&&r.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(r.push(t.value),t.type&&r.push(`${t.type}: ${t.value}`)),r})(r).some(e=>(0,P.Xr)(e,n)))?(g.T&&y.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
3Event: ${(0,T.$X)(e)}`),!0):(a=e).type||!a.exception||!a.exception.values||0===a.exception.values.length||a.message||a.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)?!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let r=e.transaction;return!!r&&(0,P.Xr)(r,t)}(e,t.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let r=C(e);return!!r&&(0,P.Xr)(r,t)}(e,t.denyUrls)?!function(e,t){if(!t||!t.length)return!0;let r=C(e);return!r||(0,P.Xr)(r,t)}(e,t.allowUrls)&&(g.T&&y.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.
4Event: ${(0,T.$X)(e)}.
5Url: ${C(e)}`),!0):(g.T&&y.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.
6Event: ${(0,T.$X)(e)}.
7Url: ${C(e)}`),!0):(g.T&&y.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
8Event: ${(0,T.$X)(e)}`),!0):(g.T&&y.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.
9Event: ${(0,T.$X)(e)}`),!0)}(t,function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:x],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,n.getOptions()))?t:null});function C(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(t):null}catch(t){return g.T&&y.vF.error(`Cannot extract url for event ${(0,T.$X)(e)}`),null}}var A=r(21408);let O=new WeakMap,I=()=>({name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,A.sp)(this),r=O.has((0,v.KU)())&&void 0!==t?t:this;return n.apply(r,e)}}catch(e){}},setup(e){O.set(e,!0)}});var k=r(25030);let N=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var r,n;if(r=t,(n=e)&&(function(e,t){let r=e.message,n=t.message;return(!!r||!!n)&&(!r||!!n)&&(!!r||!n)&&r===n&&!!M(e,t)&&!!D(e,t)&&!0}(r,n)||function(e,t){let r=L(t),n=L(e);return!!r&&!!n&&r.type===n.type&&r.value===n.value&&!!M(e,t)&&!!D(e,t)}(r,n)))return g.T&&y.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function D(e,t){let r=(0,k.RV)(e),n=(0,k.RV)(t);if(!r&&!n)return!0;
9if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],a=r[e];if(t.filename!==a.filename||t.lineno!==a.lineno||t.colno!==a.colno||t.function!==a.function)return!1}return!0}function M(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return r.join("")===n.join("")}catch(e){return!1}}function L(e){return e.exception&&e.exception.values&&e.exception.values[0]}var j=r(65359);function F(e){(0,v.o5)().setClient(e)}var U=r(48288);function $(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function B(e,t,r){return t||`${$(e)}${e.projectId}/envelope/?${function(e,t){let r={sentry_version:"7"};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}(e,r)}`}var H=r(89135),z=r(64459),W=r(51290),q=r(24617),X=r(61406);class G extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}var K=r(56819),Y=r(94181),J=r(40364),V=r(52820);let Q="Not capturing exception because it's already been captured.";class Z{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,U.AD)(e.dsn):g.T&&y.vF.warn("No DSN provided, client will not send events."),this._dsn){let t=B(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}let t=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&void 0==e[t]);t&&(0,y.pq)(()=>{console.warn(`[Sentry] Deprecation warning: \`${t}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,r){let n=(0,T.eJ)();if((0,T.GR)(e))return g.T&&y.vF.log(Q),n;let a={event_id:n,...t};return this._process(this.eventFromException(e,a).then(e=>this._captureEvent(e,a,r))),a.event_id}captureMessage(e,t,r,n){let a={event_id:(0,T.eJ)(),...r},o=(0,K.NF)(e)?e:String(e),i=(0,K.sO)(e)?this.eventFromMessage(o,t,a):this.eventFromException(e,a);return this._process(i.then(e=>this._captureEvent(e,a,n))),a.event_id}captureEvent(e,t,r){let n=(0,T.eJ)();if(t&&t.originalException&&(0,T.GR)(t.originalException))return g.T&&y.vF.log(Q),n;let a={event_id:n,...t},o=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,a,o||r)),a.event_id}captureSession(e){"string"!=typeof e.release?g.T&&y.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,q.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
9return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>t.flush(e).then(e=>r&&e))):(0,Y.XW)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}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]}addIntegration(e){let t=this._integrations[e.name];S(this,e,this._integrations),t||E(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=function(e,t,r,n){var a;let o=(0,z.Cj)(r),i=e.type&&"replay_event"!==e.type?e.type:"event";(a=r&&r.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||a.name,e.sdk.version=e.sdk.version||a.version,e.sdk.integrations=[...e.sdk.integrations||[],...a.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...a.packages||[]]);let s=(0,z.n2)(e,o,n,t);delete e.sdkProcessingMetadata;let l=[{type:i},e];return(0,z.h4)(s,[l])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,z.W3)(r,(0,z.bm)(e));let n=this.sendEnvelope(r);n&&n.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,r,n){let a=(0,z.Cj)(r),o={sent_at:new Date().toISOString(),...a&&{sdk:a},...!!n&&t&&{dsn:(0,U.SB)(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,z.h4)(o,[i])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,r){if(this._options.sendClientReports){let n="number"==typeof r?r:1,a=`${e}:${t}`;g.T&&y.vF.log(`Recording outcome: "${a}"${n>1?` (${n} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+n}}on(e,t){let r=this._hooks[e]=this._hooks[e]||[];return r.push(t),()=>{let e=r.indexOf(t);e>-1&&r.splice(e,1)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(g.T&&y.vF.error("Error while sending envelope:",e),e)):(g.T&&y.vF.error("Transport disabled"),(0,Y.XW)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let r={};return t.forEach(t=>{t&&S(e,t,r)}),r}(this,e),E(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,a=t.exception&&t.exception.values;if(a)for(let e of(n=!0,a)){let t=e.mechanism;if(t&&!1===t.handled){r=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&r)&&((0,q.qO)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Y.T2(t=>{let r=0,n=setInterval(()=>{0==this._numProcessing?(clearInterval(n),t(!0)):(r+=1,e&&r>=e&&(clearInterval(n),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r=(0,v.o5)(),n=(0,v.rm)()){let a=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,V.mG)(a,e,t,r,this,n).then(e=>(null===e||(e.contexts={trace:(0,v.vn)(r),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,H.ao)(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r){return this._processEvent(e,t,r).then(e=>e.event_id,e=>{g.T&&(e instanceof G&&"log"===e.logLevel?y.vF.log(e.message):y.vF.warn(e))})}_processEvent(e,t,r){let n=this.getOptions(),{sampleRate:a}=n,o=et(e),i=ee(e),s=e.type||"error",l=`before send for type \`${s}\``,u=void 0===a?void 0:(0,J.i)(a);if(i&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),(0,Y.xg)(new G(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));let c="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,r,d).then(r=>{if(null===r)throw this.recordDroppedEvent("event_processor",c,e),new G("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?r:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,K.Qg)(e))return e.then(e=>{if(!(0,K.Qd)(e)&&null!==e)throw new G(r);return e},e=>{throw new G(`${t} rejected with ${e}`)});if(!(0,K.Qd)(e)&&null!==e)throw new G(r);return e}(function(e,t,r,n){let{beforeSend:a,beforeSendTransaction:o,beforeSendSpan:i}=t;if(ee(r)&&a)return a(r,n);if(et(r)){if(r.spans&&i){let t=[];for(let n of r.spans){let r=i(n);r?t.push(r):((0,W.xl)(),e.recordDroppedEvent("before_send","span"))}r.spans=t}if(o){if(r.spans){let e=r.spans.length;r.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(r,n)}}return r}(this,n,r,t),l)}).then(n=>{if(null===n){if(this.recordDroppedEvent("before_send",c,e),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new G(`${l} returned \`null\`, will not send event.`,"log")}let a=r&&r.getSession();if(!o&&a&&this._updateSessionFromEvent(a,n),o){let e=(n.sdkProcessingMetadata&&n.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(n.spans?n.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let i=n.transaction_info;return o&&i&&n.transaction!==e.transaction&&(n.transaction_info={...i,source:"custom"}),this.sendEvent(n,t),n}).then(null,e=>{if(e instanceof G)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new G(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
10Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){g.T&&y.vF.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){g.T&&y.vF.log("No outcomes to send");return}if(!this._dsn){g.T&&y.vF.log("No dsn provided, will not send outcomes");return}g.T&&y.vF.log("Sending outcomes:",e);let t=function(e,t,r){let n=[{type:"client_report"},{timestamp:(0,X.lu)(),discarded_events:e}];return(0,z.h4)(t?{dsn:t}:{},[n])}(e,this._options.tunnel&&(0,U.SB)(this._dsn));this.sendEnvelope(t)}}function ee(e){return void 0===e.type}function et(e){return"transaction"===e.type}var er=r(54806);let en="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var ea=r(83696);function eo(e,t){let r=es(e,t),n={type:function(e){let t=e&&e.name;return!t&&eu(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:eu(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]:t:"No error message"}(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function ei(e,t){return{exception:{values:[eo(e,t)]}}}function es(e,t){var r,n;let a=t.stacktrace||t.stack||"",o=(r=t)&&el.test(r.message)?1:0,i="number"==typeof(n=t).framesToPop?n.framesToPop:0;try{return e(a,o,i)}catch(e){}return[]}let el=/Minified React error #\d+;/i;function eu(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function ec(e,t,r,n){let a=ep(e,t,r&&r.syntheticException||void 0,n);return(0,T.M6)(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),(0,Y.XW)(a)}function ed(e,t,r="info",n,a){let o=ef(e,t,n&&n.syntheticException||void 0,a);return o.level=r,n&&n.event_id&&(o.event_id=n.event_id),(0,Y.XW)(o)}function ep(e,t,r,n,a){let o;if((0,K.T2)(t)&&t.error)return ei(e,t.error);if((0,K.BD)(t)||(0,K.W6)(t)){if("stack"in t)o=ei(e,t);else{let a=t.name||((0,K.BD)(t)?"DOMError":"DOMException"),i=t.message?`${a}: ${t.message}`:a;o=ef(e,i,r,n),(0,T.gO)(o,i)}
10return"code"in t&&(o.tags={...o.tags,"DOMException.code":`${t.code}`}),o}return(0,K.bJ)(t)?ei(e,t):((0,K.Qd)(t)||(0,K.xH)(t)?o=function(e,t,r,n){let a=(0,v.KU)(),o=a&&a.getOptions().normalizeDepth,i=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}}(t),s={__serialized__:(0,ea.cd)(t,o)};if(i)return{exception:{values:[eo(e,i)]},extra:s};let l={exception:{values:[{type:(0,K.xH)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=(0,A.HF)(e),n=t?"promise rejection":"exception";if((0,K.T2)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,K.xH)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=es(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,a):(o=ef(e,t,r,n),(0,T.gO)(o,`${t}`,void 0)),(0,T.M6)(o,{synthetic:!0}),o)}function ef(e,t,r,n){let a={};if(n&&r){let n=es(e,r);n.length&&(a.exception={values:[{value:t,stacktrace:{frames:n}}]}),(0,T.M6)(a,{synthetic:!0})}if((0,K.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return a.logentry={message:e,params:r},a}return a.message=t,a}let eh=f.O,em=0;function e_(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if((0,A.sp)(e))return e}catch(t){return e}let r=function(...r){try{let n=r.map(e=>e_(e,t));return e.apply(this,n)}catch(e){throw em++,setTimeout(()=>{em--}),(0,v.v4)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,T.gO)(e,void 0,void 0),(0,T.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,_.Cp)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}(0,A.pO)(r,e),(0,A.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}function eg(e,{metadata:t,tunnel:r,dsn:n}){let a={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!r&&!!n&&{dsn:(0,U.SB)(n)}},o=[{type:"user_report"},e];return(0,z.h4)(a,[o])}class ev extends Z{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};m(t,"browser",["browser"],eh.SENTRY_SDK_SOURCE||(0,er.e)()),super(t),t.sendClientReports&&eh.document&&eh.document.addEventListener("visibilitychange",()=>{"hidden"===eh.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return ec(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return ed(this._options.stackParser,e,t,r,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){en&&y.vF.warn("SDK not enabled, will not capture user feedback.");return}let t=eg(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r)}}var ey=r(7916),eb=r(62234),eE=r(44333),eS=r(90570);function ew(e){let t="console";(0,eS.s5)(t,e),(0,eS.AS)(t,eT)}function eT(){"console"in f.O&&y.Ow.forEach(function(e){e in f.O.console&&(0,A.GS)(f.O.console,e,function(t){return y.Z9[e]=t,function(...t){(0,eS.aj)("console",{args:t,level:e});let r=y.Z9[e];r&&r.apply(f.O.console,t)}})})}function eP(e,t){let r="fetch";(0,eS.s5)(r,e),(0,eS.AS)(r,()=>ex(void 0,t))}function ex(e,t=!1){(!t||(0,j.m7)())&&(0,A.GS)(f.O,"fetch",function(t){return function(...r){let n=Error(),{method:a,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:eO(t),method:eA(r,"method")?String(r.method).toUpperCase():"GET"}}let t=e[0];return{url:eO(t),method:eA(t,"method")?String(t.method).toUpperCase():"GET"}}(r),i={args:r,fetchData:{method:a,url:o},startTimestamp:1e3*(0,X.zf)(),virtualError:n};return e||(0,eS.aj)("fetch",{...i}),t.apply(f.O,r).then(async t=>(e?e(t):(0,eS.aj)("fetch",{...i,endTimestamp:1e3*(0,X.zf)(),response:t}),t),e=>{throw(0,eS.aj)("fetch",{...i,endTimestamp:1e3*(0,X.zf)(),error:e}),(0,K.bJ)(e)&&void 0===e.stack&&(e.stack=n.stack,(0,A.my)(e,"framesToPop",1)),e})}})}async function eR(e,t){if(e&&e.body){let r=e.body,n=r.getReader(),a=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),o=!0;for(;o;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:a}=await n.read();clearTimeout(e),a&&(t(),o=!1)}catch(e){o=!1}finally{clearTimeout(e)}}clearTimeout(a),n.releaseLock(),r.cancel().then(null,()=>{})}}function eC(e){let t;try{t=e.clone()}catch(e){return}eR(t,()=>{(0,eS.aj)("fetch-body-resolved",{endTimestamp:1e3*(0,X.zf)(),response:e})})}function eA(e,t){return!!e&&"object"==typeof e&&!!e[t]}function eO(e){return"string"==typeof e?e:e?eA(e,"url")?e.url:e.toString?e.toString():"":""}var eI=r(81611),ek=r(20841),eN=r(79232);function eD(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function eM(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function eL(e){return e.split(/[?#]/,1)[0]}function ej(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}let eF=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r,n,a,o,i,s,l;t.console&&ew((r=e,function(e){if((0,v.KU)()!==r)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,eN.t)(e.level),message:(0,P.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,P.gt)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);(0,eI.Z)(t,{input:e.args,level:e.level})})),t.dom&&(0,ey.i)((n=e,a=t.dom,function(e){let t,r;if((0,v.KU)()!==n)return;let o="object"==typeof a?a.serializeAttribute:void 0,i="object"==typeof a&&"number"==typeof a.maxStringLength?a.maxStringLength:void 0;i&&i>1024&&(en&&y.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${i} was configured. Sentry will use 1024 instead.`),i=1024),"string"==typeof o&&(o=[o]);try{var s;let n=e.event,a=(s=n)&&s.target?n.target:n;t=(0,ek.Hd)(a,{keyAttrs:o,maxStringLength:i}),r=(0,ek.xE)(a)}catch(e){t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};r&&(l.data={"ui.component_name":r}),(0,eI.Z)(l,{event:e.event,name:e.name,global:e.global})})),t.xhr&&(0,eb.Mn)((o=e,function(e){if((0,v.KU)()!==o)return;let{startTimestamp:t,endTimestamp:r}=e,n=e.xhr[eb.Er];if(!t||!r||!n)return;let{method:a,url:i,status_code:s,body:l}=n,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:r},c=eD(s);(0,eI.Z)({category:"xhr",data:{method:a,url:i,status_code:s},type:"http",level:c},u)})),t.fetch&&eP((i=e,function(e){if((0,v.KU)()!==i)return;let{startTimestamp:t,endTimestamp:r}=e;
10if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let n=e.fetchData,a={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r};(0,eI.Z)({category:"fetch",data:n,level:"error",type:"http"},a)}else{let n=e.response,a={...e.fetchData,status_code:n&&n.status},o={input:e.args,response:n,startTimestamp:t,endTimestamp:r},i=eD(a.status_code);(0,eI.Z)({category:"fetch",data:a,type:"http",level:i},o)}})),t.history&&(0,eE._)((s=e,function(e){if((0,v.KU)()!==s)return;let t=e.from,r=e.to,n=eM(eh.location.href),a=t?eM(t):void 0,o=eM(r);a&&a.path||(a=n),n.protocol===o.protocol&&n.host===o.host&&(r=o.relative),n.protocol===a.protocol&&n.host===a.host&&(t=a.relative),(0,eI.Z)({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){(0,v.KU)()===l&&(0,eI.Z)({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,T.$X)(e)},{event:e})}))}}},eU=["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"],e$=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,A.GS)(eh,"setTimeout",eB),t.setInterval&&(0,A.GS)(eh,"setInterval",eB),t.requestAnimationFrame&&(0,A.GS)(eh,"requestAnimationFrame",eH),t.XMLHttpRequest&&"XMLHttpRequest"in eh&&(0,A.GS)(XMLHttpRequest.prototype,"send",ez);let e=t.eventTarget;e&&(Array.isArray(e)?e:eU).forEach(eW)}}};function eB(e){return function(...t){let r=t[0];return t[0]=e_(r,{mechanism:{data:{function:(0,k.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function eH(e){return function(t){return e.apply(this,[e_(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,k.qQ)(e)},handled:!1,type:"instrument"}})])}}function ez(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,A.GS)(r,e,function(t){let r={mechanism:{data:{function:e,handler:(0,k.qQ)(t)},handled:!1,type:"instrument"}},n=(0,A.sp)(t);return n&&(r.mechanism.data.handler=(0,k.qQ)(n)),e_(t,r)})}),e.apply(this,t)}}function eW(e){let t=eh[e],r=t&&t.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,A.GS)(r,"addEventListener",function(t){return function(r,n,a){try{var o;o=n,"function"==typeof o.handleEvent&&(n.handleEvent=e_(n.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,k.qQ)(n),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[r,e_(n,{mechanism:{data:{function:"addEventListener",handler:(0,k.qQ)(n),target:e},handled:!1,type:"instrument"}}),a])}}),(0,A.GS)(r,"removeEventListener",function(e){return function(t,r,n){try{let a=r.__sentry_wrapped__;a&&e.call(this,t,a,n)}catch(e){}return e.call(this,t,r,n)}}))}let eq=()=>({name:"BrowserSession",setupOnce(){if(void 0===eh.document){en&&y.vF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,_.J0)({ignoreDuration:!0}),(0,_.J5)(),(0,eE._)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,_.J0)({ignoreDuration:!0}),(0,_.J5)())})}}),eX=null;function eG(e){let t="error";(0,eS.s5)(t,e),(0,eS.AS)(t,eK)}function eK(){eX=f.O.onerror,f.O.onerror=function(e,t,r,n,a){return(0,eS.aj)("error",{column:n,error:a,line:r,msg:e,url:t}),!!eX&&eX.apply(this,arguments)},f.O.onerror.__SENTRY_INSTRUMENTED__=!0}let eY=null;function eJ(e){let t="unhandledrejection";(0,eS.s5)(t,e),(0,eS.AS)(t,eV)}function eV(){eY=f.O.onunhandledrejection,f.O.onunhandledrejection=function(e){return(0,eS.aj)("unhandledrejection",e),!eY||eY.apply(this,arguments)},f.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let eQ=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var r,n;t.onerror&&(r=e,eG(e=>{let{stackParser:t,attachStacktrace:n}=e0();if((0,v.KU)()!==r||em>0)return;let{msg:a,url:o,line:i,column:s,error:l}=e,u=function(e,t,r,n){let a=e.exception=e.exception||{},o=a.values=a.values||[],i=o[0]=o[0]||{},s=i.stacktrace=i.stacktrace||{},l=s.frames=s.frames||[],u=(0,K.Kg)(t)&&t.length>0?t:(0,ek.$N)();return 0===l.length&&l.push({colno:n,filename:u,function:k.yF,in_app:!0,lineno:r}),e}(ep(t,l||a,void 0,n,!1),o,i,s);u.level="error",(0,_.r)(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),eZ("onerror")),t.onunhandledrejection&&(n=e,eJ(e=>{var t;let{stackParser:r,attachStacktrace:a}=e0();if((0,v.KU)()!==n||em>0)return;let o=function(e){if((0,K.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(e),i=(0,K.sO)(o)?(t=o,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):ep(r,o,void 0,a,!0);i.level="error",(0,_.r)(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}),eZ("onunhandledrejection"))}}};function eZ(e){en&&y.vF.log(`Global Handler attached: ${e}`)}function e0(){let e=(0,v.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let e1=()=>({name:"HttpContext",preprocessEvent(e){if(!eh.navigator&&!eh.location&&!eh.document)return;let t=e.request&&e.request.url||eh.location&&eh.location.href,{referrer:r}=eh.document||{},{userAgent:n}=eh.navigator||{},a={...e.request&&e.request.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},o={...e.request,...t&&{url:t},headers:a};e.request=o}});function e2(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0}
10,exception_id:t}}function e3(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}let e4=(e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,a){let o=a.getOptions();!function(e,t,r=250,n,a,o,i){var s,l;if(!o.exception||!o.exception.values||!i||!(0,K.tH)(i.originalException,Error))return;let u=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;u&&(o.exception.values=(s=function e(t,r,n,a,o,i,s,l){if(i.length>=n+1)return i;let u=[...i];if((0,K.tH)(a[o],Error)){e2(s,l);let i=t(r,a[o]),c=u.length;e3(i,o,c,l),u=e(t,r,n,a[o],o,[i,...u],i,c)}return Array.isArray(a.errors)&&a.errors.forEach((a,i)=>{if((0,K.tH)(a,Error)){e2(s,l);let c=t(r,a),d=u.length;e3(c,`errors[${i}]`,d,l),u=e(t,r,n,a,o,[c,...u],c,d)}}),u}(e,t,a,i.originalException,n,o.exception.values,u,0),l=r,s.map(e=>(e.value&&(e.value=(0,P.xv)(e.value,l)),e))))}(eo,o.stackParser,o.maxValueLength,r,t,e,n)}}};function e5(e,t,r,n){let a={filename:e,function:"<anonymous>"===t?k.yF:t,in_app:!0};return void 0!==r&&(a.lineno=r),void 0!==n&&(a.colno=n),a}let e6=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,e9=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,e7=/\((\S*)(?::(\d+))(?::(\d+))\)/,e8=[30,e=>{let t=e6.exec(e);if(t){let[,e,r,n]=t;return e5(e,k.yF,+r,+n)}let r=e9.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){let e=e7.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=td(r[1]||k.yF,r[2]);return e5(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],te=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tr=[50,e=>{let t=te.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=tt.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||k.yF;return[r,e]=td(r,e),e5(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],tn=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ta=[40,e=>{let t=tn.exec(e);return t?e5(t[2],t[1]||k.yF,+t[3],t[4]?+t[4]:void 0):void 0}],to=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,ti=[10,e=>{let t=to.exec(e);return t?e5(t[2],t[3]||k.yF,+t[1]):void 0}],ts=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,tl=[20,e=>{let t=ts.exec(e);return t?e5(t[5],t[3]||t[4]||k.yF,+t[1],+t[2]):void 0}],tu=[e8,tr],tc=(0,k.gd)(...tu),td=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:k.yF,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};var tp=r(7755),tf=r(9824);function th(e,t,r=function(e){let t=[];function r(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(n){if(!(void 0===e||t.length<e))return(0,Y.xg)(new G("Not adding Promise because buffer limit was reached."));let a=n();return -1===t.indexOf(a)&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a},drain:function(e){return new Y.T2((r,n)=>{let a=t.length;if(!a)return r(!0);let o=setTimeout(()=>{e&&e>0&&r(!1)},e);t.forEach(e=>{(0,Y.XW)(e).then(()=>{--a||(clearTimeout(o),r(!0))},n)})})}}}(e.bufferSize||64)){let n={};return{send:function(a){let o=[];if((0,z.yH)(a,(t,r)=>{let a=(0,z.zk)(r);if((0,tf.Jz)(n,a)){let n=tm(t,r);e.recordDroppedEvent("ratelimit_backoff",a,n)}else o.push(t)}),0===o.length)return(0,Y.XW)({});let i=(0,z.h4)(a[0],o),s=t=>{(0,z.yH)(i,(r,n)=>{let a=tm(r,n);e.recordDroppedEvent(t,(0,z.zk)(n),a)})};return r.add(()=>t({body:(0,z.bN)(i)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&g.T&&y.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),n=(0,tf.wq)(n,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof G)return g.T&&y.vF.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,Y.XW)({});throw e})},flush:e=>r.drain(e)}}function tm(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function t_(e,t=(0,tp.qd)("fetch")){let r=0,n=0;return th(e,function(a){let o=a.body.length;r+=o,n++;let i={body:a.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};if(!t)return(0,tp.y7)("fetch"),(0,Y.xg)("No fetch implementation available");try{return t(e.url,i).then(e=>(r-=o,n--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return(0,tp.y7)("fetch"),r-=o,n--,(0,Y.xg)(e)}})}function tg(e){let t=[R(),I(),e$(),eF(),eQ(),e4(),N(),e1()];return!1!==e.autoSessionTracking&&t.push(eq()),t}function tv(e={}){if(!eh.document){en&&y.vF.error("Global document not defined in showReportDialog call");return}let t=(0,v.o5)(),r=t.getClient(),n=r&&r.getDsn();if(!n){en&&y.vF.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){let t=(0,_.Q)();t&&(e.eventId=t)}let a=eh.document.createElement("script");a.async=!0,a.crossOrigin="anonymous",a.src=function(e,t){let r=(0,U.AD)(e);if(!r)return"";let n=`${$(r)}embed/error-page/`,a=`dsn=${(0,U.SB)(r)}`;for(let e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=t.user;if(!e)continue;e.name&&(a+=`&name=${encodeURIComponent(e.name)}
10`),e.email&&(a+=`&email=${encodeURIComponent(e.email)}`)}else a+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${n}?${a}`}(n,e),e.onLoad&&(a.onload=e.onLoad);let{onClose:o}=e;if(o){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{o()}finally{eh.removeEventListener("message",e)}};eh.addEventListener("message",e)}let i=eh.document.head||eh.document.body;i?i.appendChild(a):en&&y.vF.error("Not injecting report dialog. No injection point found in HTML")}function ty(){}function tb(e){e()}function tE(e){let t=(0,v.KU)();t&&t.captureUserFeedback(e)}var tS=r(12115),tw=r(95704);function tT(e){return(0,K.bJ)(e)&&["NEXT_NOT_FOUND","NEXT_HTTP_ERROR_FALLBACK;404"].includes(e.digest)}function tP(e){return(0,K.bJ)(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}var tx=r(88722);function tR(e,t,r,n=(0,W.Bk)()){let a=n&&(0,W.zU)(n);a&&(g.T&&y.vF.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),a.addEvent(e,{[tx.xc]:t,[tx.Sn]:r}))}function tC(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},n=r[tx.Sn],a=r[tx.xc];"string"==typeof n&&"number"==typeof a&&(t[e.name]={value:a,unit:n})}),t}var tA=r(38599),tO=r(96812),tI=r(40926),tk=r(60057),tN=r(50925),tD=r(30306),tM=r(51135);function tL(e,t,r=()=>{}){var n,a,o;let i;try{i=e()}catch(e){throw t(e),r(),e}return n=i,a=t,o=r,(0,K.Qg)(n)?n.then(e=>(o(),e),e=>{throw a(e),o(),e}):(o(),n)}var tj=r(41628),tF=r(43316);class tU{constructor(e={}){this._traceId=e.traceId||(0,tD.el)(),this._spanId=e.spanId||(0,tD.ZF)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:W.CC}}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,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}var t$=r(6968);let tB="_sentryScope",tH="_sentryIsolationScope";function tz(e,t,r){e&&((0,A.my)(e,tH,r),(0,A.my)(e,tB,t))}function tW(e){return{scope:e[tB],isolationScope:e[tH]}}class tq{constructor(e={}){this._traceId=e.traceId||(0,tD.el)(),this._spanId=e.spanId||(0,tD.ZF)(),this._startTime=e.startTimestamp||(0,X.zf)(),this._attributes={},this.setAttributes({[tx.JD]:"manual",[tx.uT]: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}addLinks(e){return this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?W.aO:W.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,W.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(tx.i_,"custom"),this}end(e){this._endTime||(this._endTime=(0,W.cI)(e),function(e){if(!g.T)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,W.et)(e),{spanId:n}=e.spanContext(),a=(0,W.zU)(e)===e,o=`[Tracing] Finishing "${r}" ${a?"root ":""}span "${t}" with ID ${n}`;y.vF.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return(0,A.Ce)({data:this._attributes,description:this._name,op:this._attributes[tx.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,W.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tx.JD],_metrics_summary:(0,t$.g)(this),profile_id:this._attributes[tx.E1],exclusive_time:this._attributes[tx.jG],measurements:tC(this._events),is_segment:this._isStandaloneSpan&&(0,W.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,W.zU)(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){g.T&&y.vF.log("[Tracing] Adding an event to span:",e);let n=tX(t)?t:r||(0,X.zf)(),a=tX(t)?{}:t||{},o={name:e,time:(0,W.cI)(n),attributes:a};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,v.KU)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,W.zU)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=(0,v.KU)();if(!t)return;let r=e[1];if(!r||0===r.length)return t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}(function(e,t){let r=(0,H.k1)(e[0]),n=t&&t.getDsn(),a=t&&t.getOptions().tunnel,o={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!a&&n&&{dsn:(0,U.SB)(n)}},i=t&&t.getOptions().beforeSendSpan,s=i?e=>{let t=i((0,W.et)(e));return t||(0,W.xl)(),t}:e=>(0,W.et)(e),l=[];for(let t of e){let e=s(t);e&&l.push((0,z.y5)(e))}return(0,z.h4)(o,l)}([this],e)):(g.T&&y.vF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));let t=this._convertSpanToTransaction();t&&(tW(this).scope||(0,v.o5)()).captureEvent(t)}_convertSpanToTransaction(){if(!tG((0,W.et)(this)))return;this._name||(g.T&&y.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=tW(this),r=(e||(0,v.o5)()).getClient()||(0,v.KU)();if(!0!==this._sampled){g.T&&y.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),r&&r.recordDroppedEvent("sample_rate","transaction");return}let n=(0,W.xO)(this).filter(e=>{var t;return e!==this&&!((t=e)instanceof tq&&t.isStandaloneSpan())}).map(e=>(0,W.et)(e)).filter(tG),a=this._attributes[tx.i_];
10delete this._attributes[tx.Le],n.forEach(e=>{e.data&&delete e.data[tx.Le]});let o={contexts:{trace:(0,W.Ck)(this)},spans:n.length>1e3?n.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):n,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...(0,A.Ce)({dynamicSamplingContext:(0,H.k1)(this)})},_metrics_summary:(0,t$.g)(this),...a&&{transaction_info:{source:a}}},i=tC(this._events);return i&&Object.keys(i).length&&(g.T&&y.vF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(i,void 0,2)),o.measurements=i),o}}function tX(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function tG(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}var tK=r(13590);let tY="__SENTRY_SUPPRESS_TRACING__";function tJ(e,t){let r=t5();if(r.startSpan)return r.startSpan(e,t);let n=t4(e),{forceTransaction:a,parentSpan:o}=e;return(0,v.v4)(e.scope,()=>t7(o)(()=>{let r=(0,v.o5)(),o=t9(r),i=e.onlyIfParent&&!o?new tU:t3({parentSpan:o,spanArguments:n,forceTransaction:a,scope:r});return(0,tF.r)(r,i),tL(()=>t(i),()=>{let{status:e}=(0,W.et)(i);i.isRecording()&&(!e||"ok"===e)&&i.setStatus({code:tK.TJ,message:"internal_error"})},()=>i.end())}))}function tV(e,t){let r=t5();if(r.startSpanManual)return r.startSpanManual(e,t);let n=t4(e),{forceTransaction:a,parentSpan:o}=e;return(0,v.v4)(e.scope,()=>t7(o)(()=>{let r=(0,v.o5)(),o=t9(r),i=e.onlyIfParent&&!o?new tU:t3({parentSpan:o,spanArguments:n,forceTransaction:a,scope:r});function s(){i.end()}return(0,tF.r)(r,i),tL(()=>t(i,s),()=>{let{status:e}=(0,W.et)(i);i.isRecording()&&(!e||"ok"===e)&&i.setStatus({code:tK.TJ,message:"internal_error"})})}))}function tQ(e){let t=t5();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=t4(e),{forceTransaction:n,parentSpan:a}=e;return(e.scope?t=>(0,v.v4)(e.scope,t):void 0!==a?e=>t0(a,e):e=>e())(()=>{let t=(0,v.o5)(),a=t9(t);return e.onlyIfParent&&!a?new tU:t3({parentSpan:a,spanArguments:r,forceTransaction:n,scope:t})})}let tZ=(e,t)=>{let r=(0,tk.E)(),n=(0,tN.h)(r);if(n.continueTrace)return n.continueTrace(e,t);let{sentryTrace:a,baggage:o}=e;return(0,v.v4)(e=>{let r=(0,tM.kM)(a,o);return e.setPropagationContext(r),t()})};function t0(e,t){let r=t5();return r.withActiveSpan?r.withActiveSpan(e,t):(0,v.v4)(r=>((0,tF.r)(r,e||void 0),t(r)))}function t1(e){let t=t5();return t.suppressTracing?t.suppressTracing(e):(0,v.v4)(t=>(t.setSDKProcessingMetadata({[tY]:!0}),e()))}function t2(e){return(0,v.v4)(t=>(t.setPropagationContext({traceId:(0,tD.el)()}),g.T&&y.vF.info(`Starting a new trace with id ${t.getPropagationContext().traceId}`),t0(null,e)))}function t3({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let a;if(!(0,tj.w)())return new tU;let o=(0,v.rm)();if(e&&!r)a=function(e,t,r){let{spanId:n,traceId:a}=e.spanContext(),o=!t.getScopeData().sdkProcessingMetadata[tY]&&(0,W.pK)(e),i=o?new tq({...r,parentSpanId:n,traceId:a,sampled:o}):new tU({traceId:a});(0,W.Hu)(e,i);let s=(0,v.KU)();return s&&(s.emit("spanStart",i),r.endTimestamp&&s.emit("spanEnd",i)),i}(e,n,t),(0,W.Hu)(e,a);else if(e){let r=(0,H.k1)(e),{traceId:o,spanId:i}=e.spanContext(),s=(0,W.pK)(e);a=t6({traceId:o,parentSpanId:i,...t},n,s),(0,H.LZ)(a,r)}else{let{traceId:e,dsc:r,parentSpanId:i,sampled:s}={...o.getPropagationContext(),...n.getPropagationContext()};a=t6({traceId:e,parentSpanId:i,...t},n,s),r&&(0,H.LZ)(a,r)}return!function(e){if(!g.T)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=(0,W.et)(e),{spanId:a}=e.spanContext(),o=(0,W.pK)(e),i=(0,W.zU)(e),s=i===e,l=`[Tracing] Starting ${o?"sampled":"unsampled"} ${s?"root ":""}span`,u=[`op: ${r}`,`name: ${t}`,`ID: ${a}`];if(n&&u.push(`parent ID: ${n}`),!s){let{op:e,description:t}=(0,W.et)(i);u.push(`root ID: ${i.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}y.vF.log(`${l}
11  ${u.join("\n  ")}`)}(a),tz(a,n,o),a}function t4(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,W.cI)(e.startTime),delete r.startTime,r}return t}function t5(){let e=(0,tk.E)();return(0,tN.h)(e)}function t6(e,t,r){let n=(0,v.KU)(),a=n&&n.getOptions()||{},{name:o="",attributes:i}=e,[s,l]=t.getScopeData().sdkProcessingMetadata[tY]?[!1]:function(e,t){let r;if(!(0,tj.w)(e))return[!1];let n=(0,v.rm)().getScopeData().sdkProcessingMetadata.normalizedRequest,a={...t,normalizedRequest:t.normalizedRequest||n};r="function"==typeof e.tracesSampler?e.tracesSampler(a):void 0!==a.parentSampled?a.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;
11let o=(0,J.i)(r);return void 0===o?(g.T&&y.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):o?Math.random()<o?[!0,o]:(g.T&&y.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[!1,o]):(g.T&&y.vF.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,o])}(a,{name:o,parentSampled:r,attributes:i,transactionContext:{name:o,parentSampled:r}}),u=new tq({...e,attributes:{[tx.i_]:"custom",...e.attributes},sampled:s});return void 0!==l&&u.setAttribute(tx.sy,l),n&&n.emit("spanStart",u),u}function t9(e){let t=(0,tF.f)(e);if(!t)return;let r=(0,v.KU)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,W.zU)(t):t}function t7(e){return void 0!==e?t=>t0(e,t):e=>e()}function t8(e){return"number"==typeof e&&isFinite(e)}function re(e,t,r,{...n}){let a=(0,W.et)(e).start_timestamp;return a&&a>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),t0(e,()=>{let e=tQ({startTime:t,...n});return e&&e.end(r),e})}function rt(e){let t,r=(0,v.KU)();if(!r)return;let{name:n,transaction:a,attributes:o,startTime:i}=e,{release:s,environment:l}=r.getOptions(),u=r.getIntegrationByName("Replay"),c=u&&u.getReplayId(),d=(0,v.o5)(),p=d.getUser(),f=void 0!==p?p.email||p.id||p.ip_address:void 0;try{t=d.getScopeData().contexts.profile.profile_id}catch(e){}return tQ({name:n,attributes:{release:s,environment:l,user:f||void 0,profile_id:t||void 0,replay_id:c||void 0,transaction:a,"user_agent.original":tA.j.navigator&&tA.j.navigator.userAgent,...o},startTime:i,experimental:{standalone:!0}})}function rr(){return tA.j&&tA.j.addEventListener&&tA.j.performance}function rn(e){return e/1e3}function ra(e){let t="unknown",r="unknown",n="";for(let a of e){if("/"===a){[t,r]=e.split("/");break}if(!isNaN(Number(a))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=a}return n===e&&(t=n),{name:t,version:r}}var ro=r(23418),ri=r(32191),rs=r(23989),rl=r(14231);let ru=0,rc={};function rd(e,t,r,n,a=r){var o;let i=t["secureConnection"===(o=r)?"connectEnd":"fetch"===o?"domainLookupStart":`${o}End`],s=t[`${r}Start`];s&&i&&re(e,n+rn(s),n+rn(i),{op:`browser.${a}`,name:t.name,attributes:{[tx.JD]:"auto.ui.browser.metrics"}})}function rp(e,t,r,n){let a=t[r];null!=a&&a<0x7fffffff&&(e[n]=a)}let rf=[],rh=new Map,rm={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"},r_={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function rg(e,t={}){let r,n=new Map,a=!1,o="externalFinish",i=!t.disableAutoFinish,s=[],{idleTimeout:l=r_.idleTimeout,finalTimeout:u=r_.finalTimeout,childSpanTimeout:c=r_.childSpanTimeout,beforeSpanEnd:d}=t,p=(0,v.KU)();if(!p||!(0,tj.w)())return new tU;let f=(0,v.o5)(),h=(0,W.Bk)(),m=function(e){let t=tQ(e);return(0,tF.r)((0,v.o5)(),t),g.T&&y.vF.log("[Tracing] Started span is an idle span"),t}(e);function _(){r&&(clearTimeout(r),r=void 0)}function b(e){_(),r=setTimeout(()=>{!a&&0===n.size&&i&&(o="idleTimeout",m.end(e))},l)}function E(e){r=setTimeout(()=>{!a&&i&&(o="heartbeatFailed",m.end(e))},c)}function S(e){a=!0,n.clear(),s.forEach(e=>e()),(0,tF.r)(f,h);let t=(0,W.et)(m),{start_timestamp:r}=t;if(!r)return;(t.data||{})[tx.fs]||m.setAttribute(tx.fs,o),y.vF.log(`[Tracing] Idle span "${t.op}" finished`);let i=(0,W.xO)(m).filter(e=>e!==m),c=0;i.forEach(t=>{t.isRecording()&&(t.setStatus({code:tK.TJ,message:"cancelled"}),t.end(e),g.T&&y.vF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=(0,W.et)(t),a=n<=e,o=r-n<=(u+l)/1e3;if(g.T){let e=JSON.stringify(t,void 0,2);a?o||y.vF.log("[Tracing] Discarding span since it finished after idle span final timeout",e):y.vF.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!o||!a)&&((0,W.VS)(m,t),c++)}),c>0&&m.setAttribute("sentry.idle_span_discarded_spans",c)}return m.end=new Proxy(m.end,{apply(e,t,r){d&&d(m);
11let[n,...a]=r,o=n||(0,X.zf)(),i=(0,W.cI)(o),s=(0,W.xO)(m).filter(e=>e!==m);if(!s.length)return S(i),Reflect.apply(e,t,[i,...a]);let l=s.map(e=>(0,W.et)(e).timestamp).filter(e=>!!e),c=l.length?Math.max(...l):void 0,p=(0,W.et)(m).start_timestamp,f=Math.min(p?p+u/1e3:1/0,Math.max(p||-1/0,Math.min(i,c||1/0)));return S(f),Reflect.apply(e,t,[f,...a])}}),s.push(p.on("spanStart",e=>{var t;a||e===m||(0,W.et)(e).timestamp||(0,W.xO)(m).includes(e)&&(t=e.spanContext().spanId,_(),n.set(t,!0),E((0,X.zf)()+c/1e3))})),s.push(p.on("spanEnd",e=>{if(!a){var t;t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&b((0,X.zf)()+l/1e3)}})),s.push(p.on("idleSpanEnableAutoFinish",e=>{e===m&&(i=!0,b(),n.size&&E())})),t.disableAutoFinish||b(),setTimeout(()=>{a||(m.setStatus({code:tK.TJ,message:"deadline_exceeded"}),o="finalTimeout",m.end())},u),m}let rv=!1;function ry(){rv||(rv=!0,eG(rb),eJ(rb))}function rb(){let e=(0,W.Bk)(),t=e&&(0,W.zU)(e);if(t){let e="internal_error";g.T&&y.vF.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:tK.TJ,message:e})}}rb.tag="sentry_tracingErrorCallback";var rE=r(42771);function rS(e={}){let t=(0,v.KU)();if(!(0,_.Ol)()||!t)return{};let r=(0,tk.E)(),n=(0,tN.h)(r);if(n.getTraceData)return n.getTraceData(e);let a=(0,v.o5)(),o=e.span||(0,W.Bk)(),i=o?(0,W.Qh)(o):function(e){let{traceId:t,sampled:r,spanId:n}=e.getPropagationContext();return(0,tM.TC)(t,n,r)}(a),s=o?(0,H.k1)(o):(0,H.ao)(t,a),l=(0,rE.De)(s);return tM.MI.test(i)?{"sentry-trace":i,baggage:l}:(y.vF.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function rw(e){return e.split(",").filter(e=>!e.split("=")[0].startsWith(rE.sv)).join(",")}let rT=new WeakMap,rP=new Map,rx={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function rR(e,t){let{traceFetch:r,traceXHR:n,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:o,enableHTTPTimings:i,tracePropagationTargets:s}={traceFetch:rx.traceFetch,traceXHR:rx.traceXHR,trackFetchStreamPerformance:rx.trackFetchStreamPerformance,...t},l="function"==typeof o?o:e=>!0,u=e=>(function(e,t){let r=eh.location&&eh.location.href;if(r){let n,a;try{n=new URL(e,r),a=new URL(r).origin}catch(e){return!1}let o=n.origin===a;return t?(0,P.Xr)(n.toString(),t)||o&&(0,P.Xr)(n.pathname,t):o}{let r=!!e.match(/^\/(?!\/)/);return t?(0,P.Xr)(e,t):r}})(e,s),c={};r&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=rP.get(e.span_id);t&&(e.timestamp=t/1e3,rP.delete(e.span_id))}}),e)),a&&function(e){let t="fetch-body-resolved";(0,eS.s5)(t,e),(0,eS.AS)(t,()=>ex(eC))}(e=>{if(e.response){let t=rT.get(e.response);t&&e.endTimestamp&&rP.set(t,e.endTimestamp)}}),eP(e=>{let t=function(e,t,r,n,a="auto.http.browser"){if(!e.fetchData)return;let o=(0,tj.w)()&&t(e.fetchData.url);if(e.endTimestamp&&o){let t=e.fetchData.__span;if(!t)return;let r=n[t];r&&(function(e,t){if(t.response){(0,tK.N8)(e,t.response.status);let r=t.response&&t.response.headers&&t.response.headers.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:tK.TJ,message:"internal_error"});e.end()}(r,e),delete n[t]);return}let{method:i,url:s}=e.fetchData,l=function(e){try{return new URL(e).href}catch(e){return}}(s),u=l?eM(l).host:void 0,c=!!(0,W.Bk)(),d=o&&c?tQ({name:`${i} ${s}`,attributes:{url:s,type:"fetch","http.method":i,"http.url":l,"server.address":u,[tx.JD]:a,[tx.uT]:"http.client"}}):new tU;if(e.fetchData.__span=d.spanContext().spanId,n[d.spanContext().spanId]=d,r(e.fetchData.url)){let t=e.args[0],r=e.args[1]||{},n=function(e,t,r){var n,a;let o=rS({span:r}),i=o["sentry-trace"],s=o.baggage;if(!i)return;let l=t.headers||((n=e,"undefined"!=typeof Request&&(0,K.tH)(n,Request))?e.headers:void 0);if(!l)return{...o};if(a=l,"undefined"!=typeof Headers&&(0,K.tH)(a,Headers)){let e=new Headers(l);if(e.set("sentry-trace",i),s){let t=e.get("baggage");if(t){let r=rw(t);e.set("baggage",r?`${r},${s}`:s)}else e.set("baggage",s)}return e}if(Array.isArray(l)){let e=[...l.filter(e=>!(Array.isArray(e)&&"sentry-trace"===e[0])).map(e=>{if(!Array.isArray(e)||"baggage"!==e[0]||"string"!=typeof e[1])return e;{let[t,r,...n]=e;return[t,rw(r),...n]}}),["sentry-trace",i]];return s&&e.push(["baggage",s]),e}{let e="baggage"in l?l.baggage:void 0,t=[];return Array.isArray(e)?t=e.map(e=>"string"==typeof e?rw(e):e).filter(e=>""===e):e&&t.push(rw(e)),s&&t.push(s),{...l,"sentry-trace":i,baggage:t.length>0?t.join(","):void 0}}}(t,r,(0,tj.w)()&&c?d:void 0);n&&(e.args[1]=r,r.headers=n)}return d}(e,l,u,c);if(e.response&&e.fetchData.__span&&rT.set(e.response,e.fetchData.__span),t){let r=rO(e.fetchData.url),n=r?eM(r).host:void 0;
11t.setAttributes({"http.url":r,"server.address":n})}i&&t&&rC(t)})),n&&(0,eb.Mn)(e=>{let t=function(e,t,r,n){let a=e.xhr,o=a&&a[eb.Er];if(!a||a.__sentry_own_request__||!o)return;let i=(0,tj.w)()&&t(o.url);if(e.endTimestamp&&i){let e=a.__sentry_xhr_span_id__;if(!e)return;let t=n[e];t&&void 0!==o.status_code&&((0,tK.N8)(t,o.status_code),t.end(),delete n[e]);return}let s=rO(o.url),l=s?eM(s).host:void 0,u=!!(0,W.Bk)(),c=i&&u?tQ({name:`${o.method} ${o.url}`,attributes:{type:"xhr","http.method":o.method,"http.url":s,url:o.url,"server.address":l,[tx.JD]:"auto.http.browser",[tx.uT]:"http.client"}}):new tU;return a.__sentry_xhr_span_id__=c.spanContext().spanId,n[a.__sentry_xhr_span_id__]=c,r(o.url)&&function(e,t){let{"sentry-trace":r,baggage:n}=rS({span:t});r&&function(e,t,r){try{e.setRequestHeader("sentry-trace",t),r&&e.setRequestHeader("baggage",r)}catch(e){}}(e,r,n)}(a,(0,tj.w)()&&u?c:void 0),c}(e,l,u,c);i&&t&&rC(t)})}function rC(e){let{url:t}=(0,W.et)(e).data||{};if(!t||"string"!=typeof t)return;let r=(0,tI.wv)("resource",({entries:n})=>{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&((function(e){let{name:t,version:r}=ra(e.nextHopProtocol),n=[];return(n.push(["network.protocol.version",r],["network.protocol.name",t]),X.k3)?[...n,["http.request.redirect_start",rA(e.redirectStart)],["http.request.fetch_start",rA(e.fetchStart)],["http.request.domain_lookup_start",rA(e.domainLookupStart)],["http.request.domain_lookup_end",rA(e.domainLookupEnd)],["http.request.connect_start",rA(e.connectStart)],["http.request.secure_connection_start",rA(e.secureConnectionStart)],["http.request.connection_end",rA(e.connectEnd)],["http.request.request_start",rA(e.requestStart)],["http.request.response_start",rA(e.responseStart)],["http.request.response_end",rA(e.responseEnd)]]:n})(n).forEach(t=>e.setAttribute(...t)),setTimeout(r))})})}function rA(e=0){return((X.k3||performance.timeOrigin)+e)/1e3}function rO(e){try{return new URL(e,eh.location.origin).href}catch(e){return}}let rI={...r_,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...rx},rk=(e={})=>{ry();let{enableInp:t,enableLongTask:r,enableLongAnimationFrame:n,_experiments:{enableInteractions:i,enableStandaloneClsSpans:s},beforeStartSpan:l,idleTimeout:u,finalTimeout:c,childSpanTimeout:d,markBackgroundSpan:p,traceFetch:h,traceXHR:m,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:g,enableHTTPTimings:b,instrumentPageLoad:E,instrumentNavigation:S}={...rI,...e},w=function({recordClsStandaloneSpans:e}){let t=rr();
11if(t&&X.k3){t.mark&&tA.j.performance.mark("sentry-tracing-init");let r=(0,tI.T5)(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let r=rn(X.k3),n=rn(t.startTime);rc.fid={value:e.value,unit:"millisecond"},rc["mark.fid"]={value:r+n,unit:"second"}}),n=(0,tI.Pt)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(rc.lcp={value:e.value,unit:"millisecond"},a=t)},!0),i=(0,tI.YG)(({metric:e})=>{e.entries[e.entries.length-1]&&(rc.ttfb={value:e.value,unit:"millisecond"})}),s=e?function(){let e,t,r=0;if(!function(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch(e){return!1}}())return;let n=!1;function a(){n||(n=!0,t&&function(e,t,r){tO.T&&y.vF.log(`Sending CLS span (${e})`);let n=rn((X.k3||0)+(t&&t.startTime||0)),a=(0,v.o5)().getScopeData().transactionName,o=rt({name:t?(0,ek.Hd)(t.sources[0]&&t.sources[0].node):"Layout shift",transaction:a,attributes:(0,A.Ce)({[tx.JD]:"auto.http.browser.cls",[tx.uT]:"ui.webvital.cls",[tx.jG]:t&&t.duration||0,"sentry.pageload.span_id":r}),startTime:n});o&&(o.addEvent("cls",{[tx.Sn]:"",[tx.xc]:e}),o.end(n))}(r,e,t),o())}let o=(0,tI.a9)(({metric:t})=>{let n=t.entries[t.entries.length-1];n&&(r=t.value,e=n)},!0);(0,ro.Q)(()=>{a()}),setTimeout(()=>{let e=(0,v.KU)();if(!e)return;let r=e.on("startNavigationSpan",()=>{a(),r&&r()}),n=(0,W.Bk)(),o=n&&(0,W.zU)(n),i=o&&(0,W.et)(o);i&&"pageload"===i.op&&(t=o.spanContext().spanId)},0)}():(0,tI.a9)(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(rc.cls={value:e.value,unit:""},o=t)},!0);return()=>{r(),n(),i(),s&&s()}}return()=>void 0}({recordClsStandaloneSpans:s||!1});t&&function(){if(rr()&&X.k3){let e=(0,tI.hT)(({metric:e})=>{if(void 0==e.value)return;let t=e.entries.find(t=>t.duration===e.value&&rm[t.name]);if(!t)return;let{interactionId:r}=t,n=rm[t.name],a=rn(X.k3+t.startTime),o=rn(e.value),i=(0,W.Bk)(),s=i?(0,W.zU)(i):void 0,l=(null!=r?rh.get(r):void 0)||s,u=l?(0,W.et)(l).description:(0,v.o5)().getScopeData().transactionName,c=rt({name:(0,ek.Hd)(t.target),transaction:u,attributes:(0,A.Ce)({[tx.JD]:"auto.http.browser.inp",[tx.uT]:`ui.interaction.${n}`,[tx.jG]:t.duration}),startTime:a});c&&(c.addEvent("inp",{[tx.Sn]:"millisecond",[tx.xc]:e.value}),c.end(a+o))});()=>{e()}}}(),n&&f.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,W.Bk)();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=rn(X.k3+r.startTime),{start_timestamp:n,op:a}=(0,W.et)(t);if("navigation"===a&&n&&e<n)continue;let o=rn(r.duration),i={[tx.JD]:"auto.ui.browser.metrics"},{invoker:s,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=r.scripts[0];i["browser.script.invoker"]=s,i["browser.script.invoker_type"]=l,u&&(i["code.filepath"]=u),c&&(i["code.function"]=c),-1!==d&&(i["browser.script.source_char_position"]=d),re(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:i})}}).observe({type:"long-animation-frame",buffered:!0}):r&&(0,tI.wv)("longtask",({entries:e})=>{let t=(0,W.Bk)();if(!t)return;let{op:r,start_timestamp:n}=(0,W.et)(t);for(let a of e){let e=rn(X.k3+a.startTime),o=rn(a.duration);"navigation"===r&&n&&e<n||re(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[tx.JD]:"auto.ui.browser.metrics"}})}}),i&&(0,tI.wv)("event",({entries:e})=>{let t=(0,W.Bk)();
11if(t){for(let r of e)if("click"===r.name){let e=rn(X.k3+r.startTime),n=rn(r.duration),a={name:(0,ek.Hd)(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[tx.JD]:"auto.ui.browser.metrics"}},o=(0,ek.xE)(r.target);o&&(a.attributes["ui.component_name"]=o),re(t,e,e+n,a)}}});let T={name:void 0,source:void 0};function P(e,t){let r="pageload"===t.op,n=l?l(t):t,i=n.attributes||{};t.name!==n.name&&(i[tx.i_]="custom",n.attributes=i),T.name=n.name,T.source=i[tx.i_];let p=rg(n,{idleTimeout:u,finalTimeout:c,childSpanTimeout:d,disableAutoFinish:r,beforeSpanEnd:e=>{w(),function(e,t){let r=rr();if(!r||!r.getEntries||!X.k3)return;let n=rn(X.k3),i=r.getEntries(),{op:s,start_timestamp:l}=(0,W.et)(e);if(i.slice(ru).forEach(t=>{let r=rn(t.startTime),a=rn(Math.max(0,t.duration));if("navigation"!==s||!l||!(n+r<l))switch(t.entryType){case"navigation":var o,i,u;o=e,i=t,u=n,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{rd(o,i,e,u)}),rd(o,i,"secureConnection",u,"TLS/SSL"),rd(o,i,"fetch",u,"cache"),rd(o,i,"domainLookup",u,"DNS"),function(e,t,r){let n=r+rn(t.requestStart),a=r+rn(t.responseEnd),o=r+rn(t.responseStart);t.responseEnd&&(re(e,n,a,{op:"browser.request",name:t.name,attributes:{[tx.JD]:"auto.ui.browser.metrics"}}),re(e,o,a,{op:"browser.response",name:t.name,attributes:{[tx.JD]:"auto.ui.browser.metrics"}}))}(o,i,u);break;case"mark":case"paint":case"measure":{!function(e,t,r,n,a){let o=(0,rs.z)(!1),i=a+Math.max(r,rn(o?o.requestStart:0)),s=a+r,l=s+n,u={[tx.JD]:"auto.resource.browser.metrics"};i!==s&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=i),i<=l&&re(e,i,l,{name:t.name,op:t.entryType,attributes:u})}(e,t,r,a,n);let o=(0,rl.N)(),i=t.startTime<o.firstHiddenTime;"first-paint"===t.name&&i&&(rc.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&i&&(rc.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,r,n,a,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let i=eM(r),s={[tx.JD]:"auto.resource.browser.metrics"};rp(s,t,"transferSize","http.response_transfer_size"),rp(s,t,"encodedBodySize","http.response_content_length"),rp(s,t,"decodedBodySize","http.decoded_response_content_length");let l=t.deliveryType;null!=l&&(s["http.response_delivery_type"]=l);let u=t.renderBlockingStatus;u&&(s["resource.render_blocking_status"]=u),i.protocol&&(s["url.scheme"]=i.protocol.split(":").pop()),i.host&&(s["server.address"]=i.host),s["url.same_origin"]=r.includes(tA.j.location.origin);let{name:c,version:d}=ra(t.nextHopProtocol);s["network.protocol.name"]=c,s["network.protocol.version"]=d;let p=o+n;re(e,p,p+a,{name:r.replace(tA.j.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})}(e,t,t.name,r,a,n)}}),ru=Math.max(i.length-1,0),function(e){let t=tA.j.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),t8(r.rtt)&&(rc["connection.rtt"]={value:r.rtt,unit:"millisecond"})),t8(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),t8(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===s){var u;!function(e){let t=(0,rs.z)(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}(rc);let r=rc["mark.fid"];r&&rc.fid&&(re(e,r.value,r.value+rn(rc.fid.value),{name:"first input delay",op:"ui.action",attributes:{[tx.JD]:"auto.ui.browser.metrics"}}),delete rc["mark.fid"]),"fcp"in rc&&t.recordClsOnPageloadSpan||delete rc.cls,Object.entries(rc).forEach(([e,t])=>{tR(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",n),e.setAttribute("performance.activationStart",(0,ri.b)()),u=e,a&&(a.element&&u.setAttribute("lcp.element",(0,ek.Hd)(a.element)),a.id&&u.setAttribute("lcp.id",a.id),a.url&&u.setAttribute("lcp.url",a.url.trim().slice(0,200)),null!=a.loadTime&&u.setAttribute("lcp.loadTime",a.loadTime),null!=a.renderTime&&u.setAttribute("lcp.renderTime",a.renderTime),u.setAttribute("lcp.size",a.size)),o&&o.sources&&o.sources.forEac
11h((e,t)=>u.setAttribute(`cls.source.${t+1}`,(0,ek.Hd)(e.node)))}a=void 0,o=void 0,rc={}}(e,{recordClsOnPageloadSpan:!s})}});function f(){["interactive","complete"].includes(eh.document.readyState)&&e.emit("idleSpanEnableAutoFinish",p)}return r&&eh.document&&(eh.document.addEventListener("readystatechange",()=>{f()}),f()),p}return{name:"BrowserTracing",afterAllSetup(e){var r,n,a,o;let s,l,f=eh.location&&eh.location.href;function w(){l&&!(0,W.et)(l).timestamp&&(en&&y.vF.log(`[Tracing] Finishing current active span with op: ${(0,W.et)(l).op}`),l.end())}e.on("startNavigationSpan",t=>{(0,v.KU)()===e&&(w(),l=P(e,{op:"navigation",...t}))}),e.on("startPageLoadSpan",(t,r={})=>{if((0,v.KU)()!==e)return;w();let n=r.sentryTrace||rM("sentry-trace"),a=r.baggage||rM("baggage"),o=(0,tM.kM)(n,a);(0,v.o5)().setPropagationContext(o),l=P(e,{op:"pageload",...t})}),e.on("spanEnd",e=>{let t=(0,W.et)(e).op;if(e!==(0,W.zU)(e)||"navigation"!==t&&"pageload"!==t)return;let r=(0,v.o5)(),n=r.getPropagationContext();r.setPropagationContext({...n,sampled:void 0!==n.sampled?n.sampled:(0,W.pK)(e),dsc:n.dsc||(0,H.k1)(e)})}),eh.location&&(E&&rN(e,{name:eh.location.pathname,startTime:X.k3?X.k3/1e3:void 0,attributes:{[tx.i_]:"url",[tx.JD]:"auto.pageload.browser"}}),S&&(0,eE._)(({to:t,from:r})=>{if(void 0===r&&f&&-1!==f.indexOf(t)){f=void 0;return}r!==t&&(f=void 0,rD(e,{name:eh.location.pathname,attributes:{[tx.i_]:"url",[tx.JD]:"auto.navigation.browser"}}))})),p&&(eh&&eh.document?eh.document.addEventListener("visibilitychange",()=>{let e=(0,W.Bk)();if(!e)return;let t=(0,W.zU)(e);if(eh.document.hidden&&t){let e="cancelled",{op:r,status:n}=(0,W.et)(t);en&&y.vF.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus({code:tK.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):en&&y.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),i&&(r=u,n=c,a=d,o=T,eh.document&&addEventListener("click",()=>{let e="ui.action.click",t=(0,W.Bk)(),i=t&&(0,W.zU)(t);if(i&&["navigation","pageload"].includes((0,W.et)(i).op)){en&&y.vF.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(s&&(s.setAttribute(tx.fs,"interactionInterrupted"),s.end(),s=void 0),!o.name){en&&y.vF.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}s=rg({name:o.name,op:e,attributes:{[tx.i_]:o.source||"url"}},{idleTimeout:r,finalTimeout:n,childSpanTimeout:a})},{once:!1,capture:!0})),t&&function(){let e=({entries:e})=>{let t=(0,W.Bk)(),r=t&&(0,W.zU)(t);e.forEach(e=>{if(!(0,tI.tC)(e)||!r)return;let t=e.interactionId;if(null!=t&&!rh.has(t)){if(rf.length>10){let e=rf.shift();rh.delete(e)}rf.push(t),rh.set(t,r)}})};(0,tI.wv)("event",e),(0,tI.wv)("first-input",e)}(),rR(e,{traceFetch:h,traceXHR:m,trackFetchStreamPerformance:_,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:g,enableHTTPTimings:b})}}};function rN(e,t,r){e.emit("startPageLoadSpan",t,r),(0,v.o5)().setTransactionName(t.name);let n=(0,W.Bk)();return"pageload"===(n&&(0,W.et)(n).op)?n:void 0}function rD(e,t){(0,v.rm)().setPropagationContext({traceId:(0,tD.el)()}),(0,v.o5)().setPropagationContext({traceId:(0,tD.el)()}),e.emit("startNavigationSpan",t),(0,v.o5)().setTransactionName(t.name);let r=(0,W.Bk)();return"navigation"===(r&&(0,W.et)(r).op)?r:void 0}function rM(e){let t=(0,ek.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}var rL=r(15495);let rj="incomplete-app-router-transaction",rF=f.O;function rU(e){try{return new URL(e,"http://example.com/").pathname}catch(e){return"/"}}var r$=r(73360),rB=r.n(r$);let rH="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,rz=rB().events?rB():rB().default;function rW(e={}){let t=rk({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){n&&function(e){if(eh.document.getElementById("__NEXT_DATA__"))rz.events.on("routeChangeStart",t=>{let r,n,a=eL(t),o=function(e){let t=(eh.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";(0,p.z)([t,"access",e=>e[t.length-1],"optionalAccess",e=>e.match,"call",e=>e(/^\[\[\.\.\..+\]\]$/)])&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(a);o?(r=o,n="route"):(r=a,n="url"),rD(e,{name:r,attributes:{[tx.uT]:"navigation",[tx.JD]:"auto.navigation.nextjs.pages_router_instrumentation",[tx.i_]:n}})});else{let t;eh.addEventListener("popstate",()=>{t&&t.isRecording()?(t.updateName(eh.location.pathname),t.setAttribute(tx.i_,"url")):t=rD(e,{name:eh.location.pathname,attributes:{[tx.uT]:"navigation",[tx.JD]:"auto.navigation.nextjs.app_router_instrumentation",[tx.i_]:"url","navigation.type":"browser.popstate"}})});let r=!1,n=0,a=setInterval(()=>{n++;let o=(0,rL.S)((0,p.z)([rF,"optionalAccess",e=>e.next,"optionalAccess",e=>e.router]),()=>(0,p.z)([rF,"optionalAccess",e=>e.nd,"optionalAccess",e=>e.router]));r||n>500?clearInterval(a):o&&(clearInterval(a),r=!0,["back","forward","push","replace"].forEach(r=>{(0,p.z)([o,"optionalAccess",e=>e[r]])&&(o[r]=new Proxy(o[r],{apply(n,a,o){let i=rD(e,{name:rj,attributes:{[tx.uT]:"navigation",[tx.JD]:"auto.navigation.nextjs.app_router_instrumentation",[tx.i_]:"url"}});
11return t=i,"push"===r?((0,p.z)([i,"optionalAccess",e=>e.updateName,"call",e=>e(rU(o[0]))]),(0,p.z)([i,"optionalAccess",e=>e.setAttribute,"call",e=>e(tx.i_,"url")]),(0,p.z)([i,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.push")])):"replace"===r?((0,p.z)([i,"optionalAccess",e=>e.updateName,"call",e=>e(rU(o[0]))]),(0,p.z)([i,"optionalAccess",e=>e.setAttribute,"call",e=>e(tx.i_,"url")]),(0,p.z)([i,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.replace")])):"back"===r?(0,p.z)([i,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.back")]):"forward"===r&&(0,p.z)([i,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.forward")]),n.apply(a,o)}}))}))},20)}}(e),t.afterAllSetup(e),r&&function(e){if(eh.document.getElementById("__NEXT_DATA__")){let{route:t,params:r,sentryTrace:n,baggage:a}=function(){let e,t=eh.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){rH&&y.vF.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:a,props:o}=e;return r.route=n,r.params=a,o&&o.pageProps&&(r.sentryTrace=o.pageProps._sentryTraceData,r.baggage=o.pageProps._sentryBaggage),r}(),o=(0,rE.D0)(a),i=t||eh.location.pathname;o&&o["sentry-transaction"]&&"/_error"===i&&(i=(i=o["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,"")),rN(e,{name:i,startTime:X.k3?X.k3/1e3:void 0,attributes:{[tx.uT]:"pageload",[tx.JD]:"auto.pageload.nextjs.pages_router_instrumentation",[tx.i_]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:a})}else rN(e,{name:eh.location.pathname,startTime:X.k3?X.k3/1e3:void 0,attributes:{[tx.uT]:"pageload",[tx.JD]:"auto.pageload.nextjs.app_router_instrumentation",[tx.i_]:"url"}})}(e)}}}let rq=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function rX(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let a=n>=0?e[n]:"/";a&&(t=`${a}/${t}`,r="/"===a.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function rG(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}let rK=(e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in f.O&&void 0!==f.O.window,a=e.iteratee||function({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let a=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),o=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(a||o){let e=a?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,o=t?function(e,t){e=rX(e).slice(1),t=rX(t).slice(1);let r=rG(e.split("/")),n=rG(t.split("/")),a=Math.min(r.length,n.length),o=a;for(let e=0;e<a;e++)if(r[e]!==n[e]){o=e;break}let i=[];for(let e=o;e<r.length;e++)i.push("..");return(i=i.concat(n.slice(o))).join("/")}(t,e):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=rq.exec(t);return r?r.slice(1):[]}(e)[2]||"";n.filename=`${r}${o}`}return n}}({isBrowser:n,root:t,prefix:r});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&&t.frames&&t.frames.map(e=>a(e))}}}})}}}catch(t){return e}}(t)),t}}};var rY=r(95704);let rJ=f.O,rV=f.O;function rQ(e){let t={environment:function(e){let t=e?tw.env.NEXT_PUBLIC_VERCEL_ENV:tw.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=tg(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(rW());let r=rV._sentryRewriteFramesAssetPrefixPath||"";return t.push((({assetPrefixPath:e})=>({...rK({iteratee:t=>{try{let{origin:r}=new URL(t.filename);t.filename=(0,p.z)([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(r,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"}))({assetPrefixPath:r})),t}(e),...e};!function(e){let t=rY.env._sentryRewritesTunnelPath||rJ._sentryRewritesTunnelPath;if(t&&e.dsn){let r=(0,U.hH)(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let a=n[1],o=n[2],i=`${t}?o=${a}&p=${r.projectId}`;o&&(i+=`&r=${o}`),e.tunnel=i,rH&&y.vF.info(`Tunneling events to "${i}"`)}else rH&&y.vF.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(t),m(t,"nextjs",["nextjs","react"]);let r=function(e){let t={...e};
11return m(t,"react"),(0,_.o)("react",{version:tS.version}),function(e={}){let t=function(e={}){let t={defaultIntegrations:tg(e),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:eh.SENTRY_RELEASE&&eh.SENTRY_RELEASE.id?eh.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(!t.skipBrowserExtensionCheck&&function(){let e=void 0!==eh.window&&eh;if(!e)return!1;let t=e.chrome?"chrome":"browser",r=e[t],n=r&&r.runtime&&r.runtime.id,a=eh.location&&eh.location.href||"",o=!!n&&eh===eh.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>a.startsWith(`${e}//`)),i=void 0!==e.nw;return!!n&&!o&&!i}())return void(0,y.pq)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});en&&!(0,j.vm)()&&y.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");let r={...t,stackParser:(0,k.vk)(t.stackParser||tc),integrations:function(e){let t,r=e.defaultIntegrations||[],n=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))t=[...r,...n];else if("function"==typeof n){let e=n(r);t=Array.isArray(e)?e:[e]}else t=r;let a=function(e){let t={};return e.forEach(e=>{let{name:r}=e,n=t[r];n&&!n.isDefaultInstance&&e.isDefaultInstance||(t[r]=e)}),Object.values(t)}(t),o=a.findIndex(e=>"Debug"===e.name);if(o>-1){let[e]=a.splice(o,1);a.push(e)}return a}(t),transport:t.transport||t_};!0===r.debug&&(g.T?y.vF.enable():(0,y.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,v.o5)().update(r.initialScope);let n=new ev(r);return F(n),n.init(),n}(t)}(t),n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",(0,_.SA)(n);let a=e=>"transaction"===e.type&&e.transaction===rj?null:e;a.id="IncompleteTransactionFilter",(0,_.SA)(a);let o=(e,t)=>tP((0,p.z)([t,"optionalAccess",e=>e.originalException]))?null:e;return o.id="NextRedirectErrorFilter",(0,_.SA)(o),r}function rZ(e){return e}var r0=r(95595);function r1(e){let t={};try{e.forEach((e,r)=>{"string"==typeof e&&(t[r]=e)})}catch(e){r0.T&&y.vF.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return t}function r2(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,r])=>{"string"==typeof r&&(t[e]=r)})}catch(e){r0.T&&y.vF.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return t}function r3(e){let t=e.headers||{},r=t.host||"<no host>",n=e.socket&&e.socket.encrypted?"https":"http",a=e.url||"",o=a.startsWith(n)?a:`${n}://${r}${a}`,i=e.body||void 0,s=e.cookies;return(0,A.Ce)({url:o,method:e.method,query_string:r4(a),headers:r2(t),cookies:s,data:i})}function r4(e){if(e)try{let t=new URL(e,"http://dogs.are.great").search.slice(1);return t.length?t:void 0}catch(e){return}}function r5(e){let t=f.O[Symbol.for("@vercel/request-context")],r=t&&t.get&&t.get()?t.get():{};r&&r.waitUntil&&r.waitUntil(e)}async function r6(){try{rH&&y.vF.log("Flushing events..."),await (0,_.bX)(2e3),rH&&y.vF.log("Done flushing events")}catch(e){rH&&y.vF.log("Error while flushing events:\n",e)}}async function r9(e){let{req:t,res:r,err:n}=e,a=r&&r.statusCode||e.statusCode;if(a&&a<500||!e.pathname)return Promise.resolve();(0,v.v4)(e=>{if(t){let r=r3(t);e.setSDKProcessingMetadata({normalizedRequest:r})}(0,_.Cp)(n||`_error.js called with falsy error (${n})`,{mechanism:{type:"instrument",handled:!1,data:{function:"_error.getInitialProps"}}})}),r5(r6())}var r7=r(4868),r8=r(95704);function ne(){return r8.env.NEXT_PHASE===r7.PHASE_PRODUCTION_BUILD}let nt="sentry.sentry_trace_backfill";function nr(e){return async function(...t){try{return await e.apply(this,t)}catch(e){throw(0,_.Cp)(e,{mechanism:{handled:!1}}),e}}}function nn(e,t,r,n){return async function(...r){let a=r3(t);(0,v.o5)().setTransactionName(`${n.dataFetchingMethodName} (${n.dataFetcherRouteName})`),(0,v.rm)().setSDKProcessingMetadata({normalizedRequest:a});let o=(0,W.Bk)();o&&"/_error"!==n.requestedRouteName&&(0,W.zU)(o).setAttribute("sentry.route_backfill",n.requestedRouteName);let{"sentry-trace":i,baggage:s}=rS();return{sentryTrace:i,baggage:s,data:await e.apply(this,r)}}}async function na(e,t){try{return await e(...t)}catch(e){throw(0,_.Cp)(e,{mechanism:{handled:!1}}),e}}function no(e,t){return new Proxy(e,{apply:async(e,t,r)=>ne()?e.apply(t,r):na(nr(e),r)})}async function ni(e,t){return(0,rL.S)(e,t)}function ns(e){return new Proxy(e,{apply:async(e,t,r)=>{if(ne())return e.apply(t,r);let[n]=r,{req:a,res:o}=n,i=nr(e);
11if(!a||!o)return i.apply(t,r);{let e=nn(i,a,o,{dataFetcherRouteName:n.pathname,requestedRouteName:n.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,baggage:l,sentryTrace:u}=await ni(await e.apply(t,r),async()=>({}));return"object"==typeof s&&null!==s&&(u&&(s._sentryTraceData=u),l&&(s._sentryBaggage=l)),s}}})}function nl(e){return new Proxy(e,{apply:async(e,t,r)=>{if(ne())return e.apply(t,r);let[n]=r,{req:a,res:o}=n.ctx,i=nr(e);if(!a||!o)return i.apply(t,r);{let e=nn(i,a,o,{dataFetcherRouteName:"/_app",requestedRouteName:n.ctx.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,sentryTrace:l,baggage:u}=await e.apply(t,r);return"object"==typeof s&&null!==s&&(s.pageProps||(s.pageProps={}),l&&(s.pageProps._sentryTraceData=l),u&&(s.pageProps._sentryBaggage=u)),s}}})}function nu(e){return new Proxy(e,{apply:async(e,t,r)=>{if(ne())return e.apply(t,r);let[n]=r,{req:a,res:o}=n,i=nr(e);if(!a||!o)return i.apply(t,r);{let e=nn(i,a,o,{dataFetcherRouteName:"/_document",requestedRouteName:n.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s}=await e.apply(t,r);return s}}})}function nc(e){return new Proxy(e,{apply:async(e,t,r)=>{if(ne())return e.apply(t,r);let[n]=r,{req:a,res:o}=n,i=nr(e);if(!a||!o)return i.apply(t,r);{let e=nn(i,a,o,{dataFetcherRouteName:"/_error",requestedRouteName:n.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,baggage:l,sentryTrace:u}=await e.apply(t,r);return"object"==typeof s&&null!==s&&(u&&(s._sentryTraceData=u),l&&(s._sentryBaggage=l)),s}}})}function nd(e,t){return new Proxy(e,{apply:async(e,r,n)=>{if(ne())return e.apply(r,n);let[a]=n,{req:o,res:i}=a,s=nn(nr(e),o,i,{dataFetcherRouteName:t,requestedRouteName:t,dataFetchingMethodName:"getServerSideProps"}),{data:l,baggage:u,sentryTrace:c}=await s.apply(r,n);return"object"==typeof l&&null!==l&&"props"in l&&(c&&(l.props._sentryTraceData=c),u&&(l.props._sentryBaggage=u)),l}})}var np=r(66941);let nf=new WeakMap,nh=new WeakMap;function nm(e){if("object"!=typeof e||!e)return new np.H;{let t=nh.get(e);if(t)return t;{let t=new np.H;return nh.set(e,t),t}}}function n_(e,t){let{componentRoute:r,componentType:n}=t;return new Proxy(e,{apply:(e,a,o)=>{(0,p.z)([W.Bk,"call",e=>e(),"optionalAccess",e=>e.spanContext,"call",e=>e(),"access",e=>e.traceId]);let i=nm(t.headers),s=(0,W.Bk)();if(s){let e=(0,W.zU)(s),{scope:t}=tW(e);tz(e,(0,rL.S)(t,()=>new np.H),i)}let l=t.headers?r1(t.headers):void 0;return i.setSDKProcessingMetadata({normalizedRequest:{headers:l}}),(0,v.rB)(i,()=>(0,v.v4)(t=>{t.setTransactionName(`${n} Server Component (${r})`);let i=(0,W.Bk)();if(i){let e=(0,W.zU)(i),t=(0,p.z)([l,"optionalAccess",e=>e["sentry-trace"]]);t&&e.setAttribute(nt,t)}return tV({op:"function.nextjs",name:`${n} Server Component (${r})`,attributes:{[tx.i_]:"component",[tx.JD]:"auto.function.nextjs"}},t=>tL(()=>e.apply(a,o),e=>{tT(e)?t.setStatus({code:tK.TJ,message:"not_found"}):tP(e)?t.setStatus({code:tK.F3}):(t.setStatus({code:tK.TJ,message:"internal_error"}),(0,_.Cp)(e,{mechanism:{handled:!1}}))},()=>{t.end(),r5(r6())}))}))}})}function ng(e,t){let{method:r,parameterizedRoute:n,headers:a}=t;return new Proxy(e,{apply:async(e,t,a)=>{let o=(0,W.Bk)(),i=o?(0,W.zU)(o):void 0;return(0,v.rB)((0,v.rm)(),()=>(0,v.v4)(async s=>{s.setTransactionName(`${r} ${n}`);let l=await tL(()=>e.apply(t,a),e=>{tP(e)||(tT(e)?(o&&(0,tK.N8)(o,404),i&&(0,tK.N8)(i,404)):(0,_.Cp)(e,{mechanism:{handled:!1}}))});try{l.status&&(o&&(0,tK.N8)(o,l.status),i&&(0,tK.N8)(i,l.status))}catch(e){}return l}))}})}function nv(e,t){return new Proxy(e,{apply:(e,r,n)=>{let a;if(!n||!n[0])return e.apply(r,n);let[o]=n,i="nextUrl"in o?o.nextUrl.pathname:o.url,s="nextUrl"in o?o.headers.get("user-agent"):o.headers["user-agent"];if(!t||!(0,p.z)([s,"optionalAccess",e=>e.includes,"call",e=>e("vercel-cron")]))return e.apply(r,n);let l=t.find(e=>e.path===i);if(!l||!l.path||!l.schedule)return e.apply(r,n);let u=l.path,c=(0,_.SE)({monitorSlug:u,status:"in_progress"},{maxRuntime:720,schedule:{type:"crontab",value:l.schedule}}),d=Date.now()/1e3,f=()=>{(0,_.SE)({checkInId:c,monitorSlug:u,status:"error",duration:Date.now()/1e3-d})};try{a=e.apply(r,n)}catch(e){throw f(),e}return"object"==typeof a&&null!==a&&"then"in a?Promise.resolve(a).then(()=>{(0,_.SE)({checkInId:c,monitorSlug:u,status:"ok",duration:Date.now()/1e3-d})},()=>{f()}):(0,_.SE)({checkInId:c,monitorSlug:u,status:"ok",duration:Date.now()/1e3-d}),a}})}function ny(e){return new Proxy(e,{apply:async(e,t,r)=>(0,v.rB)(n=>{let a,o,i=r[0],s=(0,v.o5)();i instanceof Request?(n.setSDKProcessingMetadata({normalizedRequest:function(e){let t=r1(e.headers);return{method:e.method,url:e.url,query_string:r4(e.url),headers:t}}(i)}),a=`middleware ${i.method} ${new URL(i.url).pathname}`,o="url"):(a="middleware",o="component"),s.setTransactionName(a);let l=(0,W.Bk)();if(l){a="middleware",o="component";let e=(0,W.zU)(l);e&&tz(e,s,n)}return tJ({name:a,op:"http.server.middleware",attributes:{[tx.i_]:o,[tx.JD]:"auto.function.nextjs.wrapMiddlewareWithSentry"}},()=>tL(()=>e.apply(t,r),e=>{(0,_.Cp)(e,{mechanism:{type:"instrument",handled:!1}})},()=>{r5(r6())}))})})}function nb(e){return"function"==typeof e&&(0,p.z)([e,"optionalAccess",e=>e.prototype,"optionalAccess",e=>e.isReactComponent])?class extends e{render(...e){return(0,v.rB)(()=>{let t=(0,v.o5)(),r="object"==typeof this.props&&null!==this.props&&"_sentryTraceData"in this.props&&"string"==typeof this.props._sentryTraceData?this.props._sentryTraceData:void 0;if(r){let e=(0,tM.nc)(r);t.setContext("trace",{span_id:(0,p.z)([e,"optionalAccess",e=>e.parentSpanId]),trace_id:(0,p.z)([e,"optionalAccess",e=>e.traceId])})}try{return super.render(...e)}catch(e){throw(0,_.Cp)(e,{mechanism:{handled:!1}}),e}})}}:"function"==typeof e?new Proxy(e,{apply:(e,t,r)=>(0,v.rB)(()=>{let n=(0,v.o5)(),a=(0,p.z)([r,"optionalAccess",e=>e[0],"optionalAccess",e=>e._sentryTraceData]);if(a){let e=(0,tM.nc)(a);n.setContext("trace",{span_id:(0,p.z)([e,"optionalAccess",e=>e.parentSpanId]),trace_id:(0,p.z)([e,"optionalAccess",e=>e.traceId])})}try{return e.apply(t,r)}catch(e){throw(0,_.Cp)(e,{mechanism:{handled:!1}}),e}})}):e}function nE(e,t){let{requestAsyncStorage:r,componentRoute:n,componentType:a,generationFunctionIdentifier:o}=t;return new Proxy(e,{apply:(e,t,i)=>{let s,l,u=(0,p.z)([W.Bk,"call",e=>e(),"optionalAccess",e=>e.spanContext,"call",e=>e(),"access",e=>e.traceId]);try{s=(0,p.z)([r,"optionalAccess",e=>e.getStore,"call",e=>e(),"optionalAccess",e=>e.headers])}catch(e){}let c=nm(s),d=(0,W.Bk)();if(d){let e=(0,W.zU)(d),{scope:t}=tW(e);tz(e,(0,rL.S)(t,()=>new np.H),c)}if((0,p.z)([v.KU,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii])){let e=i[0];l={params:e&&"object"==typeof e&&"params"in e?e.params:void 0,searchParams:e&&"object"==typeof e&&"searchParams"in e?e.searchParams:void 0}}let f=s?r1(s):void 0;return(0,v.rB)(c,()=>(0,v.v4)(r=>{r.setTransactionName(`${a}.${o} (${n})`),c.setSDKProcessingMetadata({normalizedRequest:{headers:f}});let d=(0,W.Bk)();if(d){let e=(0,W.zU)(d),t=(0,p.z)([f,"optionalAccess",e=>e["sentry-trace"]]);t&&e.setAttribute(nt,t)}let h=function(e,t){if("object"!=typeof e||!e)return t;{let r=nf.get(e);return r||(nf.set(e,t),t)}}(s,(0,p.z)([f,"optionalAccess",e=>e["sentry-trace"]])?(0,tM.kM)(f["sentry-trace"],f.baggage):{traceId:u||(0,tD.el)(),spanId:(0,tD.ZF)()});return r.setPropagationContext(h),r.setExtra("route_data",l),tV({op:"function.nextjs",name:`${a}.${o} (${n})`,attributes:{[tx.i_]:"route",[tx.JD]:"auto.function.nextjs"}},r=>tL(()=>e.apply(t,i),e=>{tT(e)?(r.setStatus({code:tK.TJ,message:"not_found"}),(0,W.zU)(r).setStatus({code:tK.TJ,message:"not_found"})):tP(e)?r.setStatus({code:tK.F3}):(r.setStatus({code:tK.TJ,message:"internal_error"}),(0,W.zU)(r).setStatus({code:tK.TJ,message:"internal_error"}),(0,_.Cp)(e,{mechanism:{handled:!1}}))},()=>{r.end()}))}))}})}function nS(...e){if("function"==typeof e[1]){let[t,r]=e;return nw(t,{},r)}{let[t,r,n]=e;return nw(t,r,n)}}async function nw(e,t,r){return(0,v.rB)(async n=>{let a,o,i=(0,p.z)([v.KU,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii]),s={};try{let e=await t.headers;a=(0,rL.S)((0,p.z)([e,"optionalAccess",e=>e.get,"call",e=>e("sentry-trace")]),()=>void 0),o=(0,p.z)([e,"optionalAccess",e=>e.get,"call",e=>e("baggage")]),(0,p.z)([e,"optionalAccess",e=>e.forEach,"call",e=>e((e,t)=>
11{s[t]=e})])}catch(e){rH&&y.vF.warn("Sentry wasn't able to extract the tracing headers for a server action. Will not trace this request.")}return n.setTransactionName(`serverAction/${e}`),n.setSDKProcessingMetadata({normalizedRequest:{headers:s}}),((0,W.Bk)()?(e,t)=>t():tZ)({sentryTrace:a,baggage:o},async()=>{try{return await tJ({op:"function.server_action",name:`serverAction/${e}`,forceTransaction:!0,attributes:{[tx.i_]:"route"}},async e=>{let n=await tL(r,t=>{tT(t)?e.setStatus({code:tK.TJ,message:"not_found"}):tP(t)||(e.setStatus({code:tK.TJ,message:"internal_error"}),(0,_.Cp)(t,{mechanism:{handled:!1}}))});return(void 0!==t.recordResponse?t.recordResponse:i)&&(0,v.rm)().setExtra("server_action_result",n),t.formData&&t.formData.forEach((e,t)=>{(0,v.rm)().setExtra(`server_action_form_data.${t}`,"string"==typeof e?e:"[non-string value]")}),n})}finally{r5(r6())}})})}function nT(e,t,r){(0,v.v4)(n=>{n.setSDKProcessingMetadata({normalizedRequest:{headers:r2(t.headers),method:t.method}}),n.setContext("nextjs",{request_path:t.path,router_kind:r.routerKind,router_path:r.routePath,route_type:r.routeType}),n.setTransactionName(r.routePath),(0,_.Cp)(e,{mechanism:{handled:!1}})})}let nP=nT;function nx(){ry()}let nR=(e={})=>{let t=e.levels||y.Ow,r=!!e.handled;return{name:"CaptureConsole",setup(e){"console"in f.O&&ew(({args:n,level:a})=>{(0,v.KU)()===e&&t.includes(a)&&function(e,t,r){let n={level:(0,eN.t)(t),extra:{arguments:e}};(0,v.v4)(a=>{if(a.addEventProcessor(e=>(e.logger="console",(0,T.M6)(e,{handled:r,type:"console"}),e)),"assert"===t){if(!e[0]){let t=`Assertion failed: ${(0,P.gt)(e.slice(1)," ")||"console.assert"}`;a.setExtra("arguments",e.slice(1)),(0,_.wd)(t,n)}return}let o=e.find(e=>e instanceof Error);if(o)return void(0,_.Cp)(o,n);let i=(0,P.gt)(e," ");(0,_.wd)(i,n)})}(n,a,r)})}}};function nC(e,t={},r=(0,v.o5)()){let{message:n,name:a,email:o,url:i,source:s,associatedEventId:l,tags:u}=e,c={contexts:{feedback:(0,A.Ce)({contact_email:o,name:a,message:n,url:i,source:s,associated_event_id:l})},type:"feedback",level:"info",tags:u},d=r&&r.getClient()||(0,v.KU)();return d&&d.emit("beforeSendFeedback",c,t),r.captureEvent(c,t)}let nA=(e={})=>{let t={debugger:!1,stringify:!1,...e};return{name:"Debug",setup(e){e.on("beforeSendEvent",(e,r)=>{t.debugger,(0,y.pq)(()=>{t.stringify?(console.log(JSON.stringify(e,null,2)),r&&Object.keys(r).length&&console.log(JSON.stringify(r,null,2))):(console.log(e),r&&Object.keys(r).length&&console.log(r))})})}}},nO=(e={})=>{let{depth:t=3,captureErrorCause:r=!0}=e;return{name:"ExtraErrorData",processEvent(e,n,a){let{maxValueLength:o=250}=a.getOptions();return function(e,t={},r,n,a){if(!t.originalException||!(0,K.bJ)(t.originalException))return e;let o=t.originalException.name||t.originalException.constructor.name,i=function(e,t,r){try{let n=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],a={};for(let t of Object.keys(e)){if(-1!==n.indexOf(t))continue;let o=e[t];a[t]=(0,K.bJ)(o)||"string"==typeof o?(0,P.xv)(`${o}`,r):o}if(t&&void 0!==e.cause&&(a.cause=(0,K.bJ)(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){let t=e.toJSON();for(let e of Object.keys(t)){let r=t[e];a[e]=(0,K.bJ)(r)?r.toString():r}}return a}catch(e){g.T&&y.vF.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,n,a);if(i){let t={...e.contexts},n=(0,ea.S8)(i,r);return(0,K.Qd)(n)&&((0,A.my)(n,"__sentry_skip_normalization__",!0),t[o]=n),{...e,contexts:t}}return e}(e,n,t,r,o)}}},nI=function(){return{bindClient(e){(0,v.o5)().setClient(e)},withScope:v.v4,getClient:()=>(0,v.KU)(),getScope:v.o5,getIsolationScope:v.rm,captureException:(e,t)=>(0,v.o5)().captureException(e,t),captureMessage:(e,t,r)=>(0,v.o5)().captureMessage(e,t,r),captureEvent:_.r,addBreadcrumb:eI.Z,setUser:_.gV,setTags:_.Wt,setTag:_.NA,setExtra:_.l7,setExtras:_.cx,setContext:_.o,getIntegration(e){let t=(0,v.KU)();return t&&t.getIntegrationByName(e.id)||null},startSession:_.J0,endSession:_.ky,captureSession(e){if(e)return(0,_.ky)();let t=(0,v.o5)(),r=(0,v.KU)(),n=t.getSession();r&&n&&r.captureSession(n)}}};function nk(e,t){let r;return(0,z.yH)(e,(e,n)=>(t.includes(n)&&(r=Array.isArray(e)?e[1]:void 0),!!r)),r}function nN(e,t){return r=>{let n=e(r),a=new Map;function o(t,n){let o=n?`${t}:${n}`:t,i=a.get(o);if(!i){let s=(0,U.hH)(t);if(!s)return;
11let l=B(s,r.tunnel);i=n?(t=>{let r=e(t);return{...r,send:async e=>{let t=nk(e,["event","transaction","profile","replay_event"]);return t&&(t.release=n),r.send(e)}}})({...r,url:l}):e({...r,url:l}),a.set(o,i)}return[t,i]}return{send:async function(e){let r=t({envelope:e,getEvent:function(t){return nk(e,t&&t.length?t:["event"])}}).map(e=>"string"==typeof e?o(e,void 0):o(e.dsn,e.release)).filter(e=>!!e),a=r.length?r:[["",n]];return(await Promise.all(a.map(([t,r])=>r.send((0,z.h4)(t?{...e[0],dsn:t}:e[0],e[1])))))[0]},flush:async function(e){let t=[...a.values(),n];return(await Promise.all(t.map(t=>t.flush(e)))).every(e=>e)}}}}let nD=new Map,nM=new Set;function nL(e,t){try{t.exception.values.forEach(t=>{if(t.stacktrace)for(let r of t.stacktrace.frames||[]){if(!r.filename||r.module_metadata)continue;let t=function(e,t){if(f.O._sentryModuleMetadata)for(let t of Object.keys(f.O._sentryModuleMetadata)){let r=f.O._sentryModuleMetadata[t];if(!nM.has(t)){for(let n of(nM.add(t),e(t).reverse()))if(n.filename){nD.set(n.filename,r);break}}}return nD.get(t)}(e,r.filename);t&&(r.module_metadata=t)}})}catch(e){}}function nj(e){try{e.exception.values.forEach(e=>{if(e.stacktrace)for(let t of e.stacktrace.frames||[])delete t.module_metadata})}catch(e){}}let nF=()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",e=>{(0,z.yH)(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(nj(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{t.type||nL(e.getOptions().stackParser,t)})}});function nU(e,...t){let r=new String(String.raw(e,...t));return r.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=t,r}let n$=()=>{let e=1e3*(0,X.zf)();return{name:"SessionTiming",processEvent(t){let r=1e3*(0,X.zf)();return{...t,extra:{...t.extra,"session:start":e,"session:duration":r-e,"session:end":r}}}}},nB=e=>({name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",e=>{(0,z.yH)(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(nj(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{t.type||nL(e.getOptions().stackParser,t)})},processEvent(t){let r=function(e){let t=(0,k.RV)(e);if(t)return t.filter(e=>!!e.filename).map(e=>e.module_metadata?Object.keys(e.module_metadata).filter(e=>e.startsWith(nH)).map(e=>e.slice(nH.length)):[])}(t);if(r&&r["drop-error-if-contains-third-party-frames"===e.behaviour||"apply-tag-if-contains-third-party-frames"===e.behaviour?"some":"every"](t=>!t.some(t=>e.filterKeys.includes(t)))){if("drop-error-if-contains-third-party-frames"===e.behaviour||"drop-error-if-exclusively-contains-third-party-frames"===e.behaviour)return null;t.tags={...t.tags,third_party_code:!0}}return t}}),nH="_sentryBundlerPluginAppKey:";function nz(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}let nW=(e={})=>{let t=void 0===e.limit?10:e.limit;return{name:"ZodErrors",processEvent:(r,n)=>(function(e,t=!1,r,n){var a;if(!r.exception||!r.exception.values||!n||!n.originalException||(a=n.originalException,!((0,K.bJ)(a)&&"ZodError"===a.name&&Array.isArray(a.issues)))||0===n.originalException.issues.length)return r;try{let a=(t?n.originalException.issues:n.originalException.issues.slice(0,e)).map(nz);return t&&(Array.isArray(n.attachments)||(n.attachments=[]),n.attachments.push({filename:"zod_issues.json",data:JSON.stringify({issues:a})})),{...r,exception:{...r.exception,values:[{...r.exception.values[0],value:function(e){let t=new Set;for(let r of e.issues){let e=r.path.map(e=>"number"==typeof e?"<array>":e).join(".");e.length>0&&t.add(e)}let r=Array.from(t);if(0===r.length){let t="variable";if(e.issues.length>0){let r=e.issues[0];void 0!==r&&"expected"in r&&"string"==typeof r.expected&&(t=r.expected)}return`Failed to validate ${t}`}return`Failed to validate keys: ${(0,P.xv)(r.join(", "),100)}`}(n.originalException)},...r.exception.values.slice(1)]},extra:{...r.extra,"zoderror.issues":a.slice(0,e)}}}catch(e){return{...r,extra:{...r.extra,"zoderrors sentry integration parse error":{message:"an exception was thrown while processing ZodError within applyZodErrorsToEvent()",error:e instanceof Error?`${e.name}: ${e.message}
12${e.stack}`:"unknown"}}}}})(t,e.saveZodIssuesAsAttachment,r,n)}},nq={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",debugIntegration:"debug",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",sessionTimingIntegration:"sessiontiming",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata"};async function nX(e,t){let r=nq[e],n=eh.Sentry=eh.Sentry||{};if(!r)throw Error(`Cannot lazy load integration: ${e}`);let a=n[e];if("function"==typeof a&&!("_isShim"in a))return a;let o=function(e){let t=(0,v.KU)(),r=t&&t.getOptions(),n=r&&r.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${h.M}/${e}.min.js`,n).toString()}(r),i=eh.document.createElement("script");i.src=o,i.crossOrigin="anonymous",i.referrerPolicy="origin",t&&i.setAttribute("nonce",t);let s=new Promise((e,t)=>
12{i.addEventListener("load",()=>e()),i.addEventListener("error",t)}),l=eh.document.currentScript,u=eh.document.body||eh.document.head||l&&l.parentElement;if(u)u.appendChild(i);else throw Error(`Could not find parent element to insert lazy-loaded ${e} script`);try{await s}catch(t){throw Error(`Error when loading integration: ${e}`)}let c=n[e];if("function"!=typeof c)throw Error(`Could not load integration: ${e}`);return c}let nG=f.O,nK=new WeakMap,nY=(e={})=>{let t=e.types||["crash","deprecation","intervention"];function r(e){if(nK.has((0,v.KU)()))for(let t of e)(0,v.v4)(e=>{e.setExtra("url",t.url);let r=`ReportingObserver [${t.type}]`,n="No details available";if(t.body){let r={};for(let e in t.body)r[e]=t.body[e];if(e.setExtra("body",r),"crash"===t.type){let e=t.body;n=[e.crashId||"",e.reason||""].join(" ").trim()||n}else n=t.body.message||n}(0,_.wd)(`${r}: ${n}`)})}return{name:"ReportingObserver",setupOnce(){(0,j.vQ)()&&new nG.ReportingObserver(r,{buffered:!0,types:t}).observe()},setup(e){nK.set(e,!0)}}};var nJ=r(10160);let nV=(e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){var r,n,a,o;r=e,n=t,(0,j.m7)()&&eP(e=>{if((0,v.KU)()!==r)return;let{response:t,args:a,error:o,virtualError:i}=e,[s,l]=a;t&&function(e,t,r,n,a){if(n0(e,r.status,r.url)){var o,i;let e,s,l,u,c=(o=t,!(i=n)&&o instanceof Request||o instanceof Request&&o.bodyUsed?o:new Request(o,i));n2()&&([e,l]=nQ("Cookie",c),[s,u]=nQ("Set-Cookie",r));let d=n1({url:c.url,method:c.method,status:r.status,requestHeaders:e,responseHeaders:s,requestCookies:l,responseCookies:u,error:a});(0,_.r)(d)}}(n,s,t,l,o||i)},!1),a=e,o=t,"XMLHttpRequest"in f.O&&(0,eb.Mn)(e=>{if((0,v.KU)()!==a)return;let{error:t,virtualError:r}=e,n=e.xhr,i=n[eb.Er];if(!i)return;let{method:s,request_headers:l}=i;try{!function(e,t,r,n,a){if(n0(e,t.status,t.responseURL)){let e,o,i;if(n2()){try{let e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(o=nZ(e))}catch(e){}try{i=function(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return r&&n&&(e[r]=n),e},{}):{}}(t)}catch(e){}e=n}let s=n1({url:t.responseURL,method:r,status:t.status,requestHeaders:e,responseHeaders:i,responseCookies:o,error:a});(0,_.r)(s)}}(o,n,s,l,t||r)}catch(e){en&&y.vF.warn("Error while extracting response event form XHR response",e)}})}}};function nQ(e,t){let r,n=function(e){let t={};return e.forEach((e,r)=>{t[r]=e}),t}(t.headers);try{let t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=nZ(t))}catch(e){}return[n,r]}function nZ(e){return e.split("; ").reduce((e,t)=>{let[r,n]=t.split("=");return r&&n&&(e[r]=n),e},{})}function n0(e,t,r){var n,a;return n=e.failedRequestStatusCodes,n.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])&&(a=e.failedRequestTargets,a.some(e=>"string"==typeof e?r.includes(e):e.test(r)))&&!(0,nJ.A)(r,(0,v.KU)())}function n1(e){let t=(0,v.KU)(),r=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,n=r&&t?t.getOptions().stackParser(r,0,1):void 0,a=`HTTP Client Error with status code: ${e.status}`,o={message:a,exception:{values:[{type:"Error",value:a,stacktrace:n?{frames:n}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}(e.responseHeaders)}}};return(0,T.M6)(o,{type:"http.client",handled:!1}),o}function n2(){let e=(0,v.KU)();return!!e&&!!e.getOptions().sendDefaultPii}let n3=f.O,n4=(e={})=>{let t=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",processEvent:e=>(function(e,t){let r=n3.document,n=n3.location&&eL(n3.location.href);if(!r||!n)return e;let a=e.exception&&e.exception.values;if(!a||!a.length)return e;let o=r.documentElement.innerHTML;if(!o)return e;let i=["<!DOCTYPE html>","<html>",...o.split("\n"),"</html>"];return a.forEach(e=>{let r=e.stacktrace;r&&r.frames&&(r.frames=r.frames.map(e=>{var r,a,o,s;return r=e,a=i,o=n,s=t,r.filename===o&&r.lineno&&a.length&&(0,T.db)(a,r,s),r}))}),e})(e,t)}};var n5=r(29695);function n6(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:n6(e.parentNode,t,r,n+1)}function n9(e,t){return r=>{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch(e){return!1}}}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(aV||(aV={}));let n7="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",n8={map:{},getId:()=>(console.error(n7),-1),getNode:()=>(console.error(n7),null),removeNodeFromMap(){console.error(n7)},has:()=>(console.error(n7),!1),reset(){console.error(n7)}};function ae(e,t,r,n,a=window){let o=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,n?r:{set(e){ai(()=>{r.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>ae(e,t,o||{},!0)}function at(e,t,r){try{if(!(t in e))return()=>{};
12let n=e[t],a=r(n);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=a,()=>{e[t]=n}}catch(e){return()=>{}}}function ar(e,t,r,n,a){if(!e)return!1;let o=e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null;if(!o)return!1;let i=n6(o,n9(t,r)),s=-1;return!(i<0)&&(n&&(s=n6(o,n9(null,n))),i>-1&&s<0||i<s)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(n8=new Proxy(n8,{get:(e,t,r)=>("map"===t&&console.error(n7),Reflect.get(e,t,r))})),/[1-9][0-9]{12}/.test(Date.now().toString());let an={};function aa(e){let t=an[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(n=a[e]),r.head.removeChild(t)}catch(e){}return an[e]=n.bind(window)}function ao(...e){return aa("requestAnimationFrame")(...e)}function ai(...e){return aa("setTimeout")(...e)}var as=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(as||{});let al=e=>i?(...t)=>{try{return e(...t)}catch(e){if(i&&!0===i(e))return()=>{};throw e}}:e;for(var au="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ac="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ad=0;ad<au.length;ad++)ac[au.charCodeAt(ad)]=ad;var ap=function(e){var t,r=new Uint8Array(e),n=r.length,a="";for(t=0;t<n;t+=3)a+=au[r[t]>>2],a+=au[(3&r[t])<<4|r[t+1]>>4],a+=au[(15&r[t+1])<<2|r[t+2]>>6],a+=au[63&r[t+2]];return n%3==2?a=a.substring(0,a.length-1)+"=":n%3==1&&(a=a.substring(0,a.length-2)+"=="),a};let af=new Map,ah=(e,t,r)=>{if(!e||!(a_(e,t)||"object"==typeof e))return;let n=function(e,t){let r=af.get(e);return r||(r=new Map,af.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),a=n.indexOf(e);return -1===a&&(a=n.length,n.push(e)),a},am=(e,t,r)=>e.map(e=>(function e(t,r,n){if(t instanceof Array)return t.map(t=>e(t,r,n));if(null===t);else if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};else if(t instanceof ArrayBuffer)return{rr_type:t.constructor.name,base64:ap(t)};else if(t instanceof DataView)return{rr_type:t.constructor.name,args:[e(t.buffer,r,n),t.byteOffset,t.byteLength]};else if(t instanceof HTMLImageElement){let e=t.constructor.name,{src:r}=t;return{rr_type:e,src:r}}else if(t instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:t.toDataURL()};else if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[e(t.data,r,n),t.width,t.height]};else if(a_(t,r)||"object"==typeof t)return{rr_type:t.constructor.name,index:ah(t,r,n)};return t})(e,t,r)),a_=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof t[e]).find(r=>e instanceof t[r]);function ag(e,t,r,n,a){let o=[];try{let i=at(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o,...i){if(!ar(this,t,r,n,!0)){let e="experimental-webgl"===o?"webgl":o;if("__context"in this||(this.__context=e),a&&["webgl","webgl2"].includes(e))if(i[0]&&"object"==typeof i[0]){let e=i[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else i.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o,...i])}});o.push(i)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(e=>e())}}function av(e,t,r,n,a,o,i,s){let l=[];for(let i of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))try{if("function"!=typeof e[i])continue;let u=at(e,i,function(e){return function(...l){let u=e.apply(this,l);if(ah(u,s,this),"tagName"in this.canvas&&!ar(this.canvas,n,a,o,!0)){let e=am(l,s,this),n={type:t,property:i,args:e};r(this.canvas,n)}return u}});l.push(u)}catch(a){let n=ae(e,i,{set(e){r(this.canvas,{type:t,property:i,args:[e],setter:!0})}});l.push(n)}return l}class ay{reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEac
12h(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,(0,p.z)([this,"access",e=>e.worker,"optionalAccess",e=>e.terminate,"call",e=>e()]),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.processMutation=(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};let{sampling:t="all",win:r,blockClass:n,blockSelector:a,unblockSelector:o,maxCanvasSize:s,recordCanvas:l,dataURLOptions:u,errorHandler:c}=e;if(this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,c&&(i=c),(l&&"number"==typeof t||e.enableManualSnapshot)&&(this.worker=this.initFPSWorker()),this.addWindow(r),e.enableManualSnapshot)return;al(()=>{l&&"all"===t&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),l&&"number"==typeof t&&this.initCanvasFPSObserver(t,n,a,o,s,{dataURLOptions:u})})()}addWindow(e){let{sampling:t="all",blockClass:r,blockSelector:n,unblockSelector:a,recordCanvas:o,enableManualSnapshot:i}=this.options;if(!this.windowsSet.has(e)){if(i){this.windowsSet.add(e),this.windows.push(new WeakRef(e));return}al(()=>{if(o&&"all"===t&&this.initCanvasMutationObserver(e,r,n,a),o&&"number"==typeof t){let t=ag(e,r,n,a,!0);this.restoreHandlers.push(()=>{t()})}})(),this.windowsSet.add(e),this.windows.push(new WeakRef(e))}}addShadowRoot(e){this.shadowDoms.add(new WeakRef(e))}resetShadowRoots(){this.shadowDoms=new Set}initFPSWorker(){let e=new Worker(function(){let e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());return e.onmessage=e=>{let t=e.data,{id:r}=t;if(this.snapshotInProgressMap.set(r,!1),!("base64"in t))return;let{base64:n,type:a,width:o,height:i}=t;this.mutationCb({id:r,type:as["2D"],commands:[{property:"clearRect",args:[0,0,o,i]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:a}]},0,0,o,i]}]})},e}initCanvasFPSObserver(e,t,r,n,a,o){let i=this.takeSnapshot(!1,e,t,r,n,a,o.dataURLOptions);this.restoreHandlers.push(()=>{cancelAnimationFrame(i)})}initCanvasMutationObserver(e,t,r,n){let a=ag(e,t,r,n,!1),o=function(e,t,r,n,a){let o=[];for(let i of Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype))try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[i])continue;let s=at(t.CanvasRenderingContext2D.prototype,i,function(o){return function(...s){return ar(this.canvas,r,n,a,!0)||ai(()=>{let r=am(s,t,this);e(this.canvas,{type:as["2D"],property:i,args:r})},0),o.apply(this,s)}});o.push(s)}catch(n){let r=ae(t.CanvasRenderingContext2D.prototype,i,{set(t){e(this.canvas,{type:as["2D"],property:i,args:[t],setter:!0})}});o.push(r)}return()=>
12{o.forEach(e=>e())}}(this.processMutation.bind(this),e,t,r,n),i=function(e,t,r,n,a,o){let i=[];return i.push(...av(t.WebGLRenderingContext.prototype,as.WebGL,e,r,n,a,o,t)),void 0!==t.WebGL2RenderingContext&&i.push(...av(t.WebGL2RenderingContext.prototype,as.WebGL2,e,r,n,a,o,t)),()=>{i.forEach(e=>e())}}(this.processMutation.bind(this),e,t,r,n,this.mirror);this.restoreHandlers.push(()=>{a(),o(),i()})}snapshot(e){let{options:t}=this,r=this.takeSnapshot(!0,"all"===t.sampling?2:t.sampling||2,t.blockClass,t.blockSelector,t.unblockSelector,t.maxCanvasSize,t.dataURLOptions,e);this.restoreHandlers.push(()=>{cancelAnimationFrame(r)})}takeSnapshot(e,t,r,n,a,o,i,s){let l=1e3/t,u=0,c=e=>{if(e)return[e];let t=[],o=e=>{e.querySelectorAll("canvas").forEach(e=>{ar(e,r,n,a)||t.push(e)})};for(let e of this.windows){let t=e.deref();t&&o(t.document)}for(let e of this.shadowDoms){let t=e.deref();t&&o(t)}return t},d=t=>{if(this.windows.length){if(u&&t-u<l)return void ao(d);u=t,c(s).forEach(t=>{if(!this.mirror.hasNode(t))return;let r=this.mirror.getId(t);if(!this.snapshotInProgressMap.get(r)&&t.width&&t.height){if(this.snapshotInProgressMap.set(r,!0),!e&&["webgl","webgl2"].includes(t.__context)){let e=t.getContext(t.__context);!1===(0,p.z)([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(t).then(e=>{(0,p.z)([this,"access",e=>e.worker,"optionalAccess",e=>e.postMessage,"call",n=>n({id:r,bitmap:e,width:t.width,height:t.height,dataURLOptions:i,maxCanvasSize:o},[e])])}).catch(e=>{al(()=>{throw e})()})}}),e||ao(d)}};return ao(d)}startPendingCanvasMutationFlusher(){ao(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,ao(e)};ao(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)}),ao(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let r=this.pendingCanvasMutations.get(e);if(!r||-1===t)return;let n=r.map(e=>{let{type:t,...r}=e;return r}),{type:a}=r[0];this.mutationCb({id:t,type:a,commands:n}),this.pendingCanvasMutations.delete(e)}}let ab={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},aE=(e={})=>{let t,[r,n]=e.maxCanvasSize||[],a={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[r?Math.min(r,1280):1280,n?Math.min(n,1280):1280]},o=new Promise(e=>t=e);return{name:"ReplayCanvas",getOptions(){let{quality:e,enableManualSnapshot:r,maxCanvasSize:n}=a;return{enableManualSnapshot:r,recordCanvas:!0,getCanvasManager:e=>{let a=new ay({...e,enableManualSnapshot:r,maxCanvasSize:n,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(e){}}});return t(a),a},...ab[e||"medium"]||ab.medium}},async snapshot(e){(await o).snapshot(e)}}};var aS=r(20922);let aw=f.O,aT=aw.document,aP=aw.navigator,ax="Report a Bug",aR="Cancel",aC="Send Bug Report",aA="Confirm",aO="Report a Bug",aI="[email protected]",ak="Email",aN="What's the bug? What did you expect?",aD="Description",aM="Your Name",aL="Name",aj="Thank you for your report!",aF="(required)",aU="Add a screenshot",a$="Remove screenshot",aB=(e,t={includeReplay:!0})=>{if(!e.message)throw Error("Unable to submit feedback with empty message");let r=(0,v.KU)();if(!r)throw Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&(0,v.o5)().setTags(e.tags);let n=nC({source:"api",url:(0,ek.$N)(),...e},t);return new Promise((e,t)=>{let a=setTimeout(()=>t("Unable to determine if Feedback was correctly sent."),5e3),o=r.on("afterSendEvent",(r,i)=>{if(r.event_id===n)return(clearTimeout(a),o(),i&&"number"==typeof i.statusCode&&i.statusCode>=200&&i.statusCode<300)?e(n):i&&"number"==typeof i.statusCode&&0===i.statusCode?t("Unable to send Feedback. This is because of network issues, or because you are using an ad-blocker."):i&&"number"==typeof i.statusCode&&403===i.statusCode?t("Unable to send Feedback. This could be because this domain is not in your list of allowed domains."):t("Unable to send Feedback. This could be because of network issues, or because you are using an ad-blocker")})})},aH="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function az(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen&&t.onFormOpen(),e.onFormOpen&&e.onFormOpen()},onFormClose:()=>
12{t.onFormClose&&t.onFormClose(),e.onFormClose&&e.onFormClose()},onSubmitSuccess:r=>{t.onSubmitSuccess&&t.onSubmitSuccess(r),e.onSubmitSuccess&&e.onSubmitSuccess(r)},onSubmitError:r=>{t.onSubmitError&&t.onSubmitError(r),e.onSubmitError&&e.onSubmitError(r)},onFormSubmitted:()=>{t.onFormSubmitted&&t.onFormSubmitted(),e.onFormSubmitted&&e.onFormSubmitted()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function aW(e,t){return Object.entries(t).forEach(([t,r])=>{e.setAttributeNS(null,t,r)}),e}let aq="rgba(88, 74, 192, 1)",aX={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:aq,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},aG={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:aq,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function aK(e){return`
13  --foreground: ${e.foreground};
14  --background: ${e.background};
15  --accent-foreground: ${e.accentForeground};
16  --accent-background: ${e.accentBackground};
17  --success-color: ${e.successColor};
18  --error-color: ${e.errorColor};
19  --border: ${e.border};
20  --box-shadow: ${e.boxShadow};
21  --outline: ${e.outline};
22  --interactive-filter: ${e.interactiveFilter};
23  `}let aY=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:r})=>({id:n="sentry-feedback",autoInject:a=!0,showBranding:o=!0,isEmailRequired:i=!1,isNameRequired:s=!1,showEmail:l=!0,showName:u=!0,enableScreenshot:c=!0,useSentryUser:d={email:"email",name:"username"},tags:p,styleNonce:f,scriptNonce:h,colorScheme:m="system",themeLight:_={},themeDark:g={},addScreenshotButtonLabel:v=aU,cancelButtonLabel:b=aR,confirmButtonLabel:E=aA,emailLabel:S=ak,emailPlaceholder:T=aI,formTitle:P=aO,isRequiredLabel:x=aF,messageLabel:R=aD,messagePlaceholder:C=aN,nameLabel:A=aL,namePlaceholder:O=aM,removeScreenshotButtonLabel:I=a$,submitButtonLabel:k=aC,successMessageText:N=aj,triggerLabel:D=ax,triggerAriaLabel:M="",onFormOpen:L,onFormClose:j,onSubmitSuccess:F,onSubmitError:U,onFormSubmitted:$}={})=>{let B={id:n,autoInject:a,showBranding:o,isEmailRequired:i,isNameRequired:s,showEmail:l,showName:u,enableScreenshot:c,useSentryUser:d,tags:p,styleNonce:f,scriptNonce:h,colorScheme:m,themeDark:g,themeLight:_,triggerLabel:D,triggerAriaLabel:M,cancelButtonLabel:b,submitButtonLabel:k,confirmButtonLabel:E,formTitle:P,emailLabel:S,emailPlaceholder:T,messageLabel:R,messagePlaceholder:C,nameLabel:A,namePlaceholder:O,successMessageText:N,isRequiredLabel:x,addScreenshotButtonLabel:v,removeScreenshotButtonLabel:I,onFormClose:j,onFormOpen:L,onSubmitError:U,onSubmitSuccess:F,onFormSubmitted:$},H=null,z=[],W=e=>{if(!H){let t=aT.createElement("div");t.id=String(e.id),aT.body.appendChild(t),(H=t.attachShadow({mode:"open"})).appendChild(function({colorScheme:e,themeDark:t,themeLight:r,styleNonce:n}){let a=aT.createElement("style");return a.textContent=`
24:host {
25  --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;
26  --font-size: 14px;
27  --z-index: 100000;
28
29  --page-margin: 16px;
30  --inset: auto 0 0 auto;
31  --actor-inset: var(--inset);
32
33  font-family: var(--font-family);
34  font-size: var(--font-size);
35
36  ${"system"!==e?"color-scheme: only light;":""}
37
38  ${aK("dark"===e?{...aG,...t}:{...aX,...r})}
39}
40
41${"system"===e?`
42@media (prefers-color-scheme: dark) {
43  :host {
44    ${aK({...aG,...t})}
45  }
46}`:""}
47}
48`,n&&a.setAttribute("nonce",n),a}(e))}return H},q=async n=>{let a,o,i=n.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(aP.userAgent)||/Macintosh/i.test(aP.userAgent)&&aP.maxTouchPoints&&aP.maxTouchPoints>1)&&!!isSecureContext;try{a=(t?t():await e("feedbackModalIntegration",h))(),w(a)}catch(e){throw aH&&y.vF.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),Error("[Feedback] Missing feedback modal integration!")}try{let t=i?r?r():await e("feedbackScreenshotIntegration",h):void 0;t&&(o=t(),w(o))}catch(e){aH&&y.vF.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}let s=a.createDialog({options:{...n,onFormClose:()=>{s&&s.close(),n.onFormClose&&n.onFormClose()},onFormSubmitted:()=>{s&&s.close(),n.onFormSubmitted&&n.onFormSubmitted()}},screenshotIntegration:o,sendFeedback:aB,shadow:W(n)});return s},X=(e,t={})=>{let r=az(B,t),n="string"==typeof e?aT.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!n)throw aH&&y.vF.error("[Feedback] Unable to attach to target element"),Error("Unable to attach to target element");let a=null,o=async()=>{a||(a=await q({...r,onFormSubmitted:()=>{a&&a.removeFromDom(),r.onFormSubmitted&&r.onFormSubmitted()}})),a.appendToDom(),a.open()};n.addEventListener("click",o);let i=()=>
48{z=z.filter(e=>e!==i),a&&a.removeFromDom(),a=null,n.removeEventListener("click",o)};return z.push(i),i},G=(e={})=>{let t=az(B,e),r=W(t),n=function({triggerLabel:e,triggerAriaLabel:t,shadow:r,styleNonce:n}){let a=aT.createElement("button");if(a.type="button",a.className="widget__actor",a.ariaHidden="false",a.ariaLabel=t||e||ax,a.appendChild(function(){let e=e=>aw.document.createElementNS("http://www.w3.org/2000/svg",e),t=aW(e("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),r=aW(e("g"),{clipPath:"url(#clip0_57_80)"}),n=aW(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(r).appendChild(n);let a=e("defs"),o=aW(e("clipPath"),{id:"clip0_57_80"}),i=aW(e("rect"),{width:"20",height:"20",fill:"white"});return o.appendChild(i),a.appendChild(o),t.appendChild(a).appendChild(o).appendChild(i),t}()),e){let t=aT.createElement("span");t.appendChild(aT.createTextNode(e)),a.appendChild(t)}let o=function(e){let t=aT.createElement("style");return t.textContent=`
49.widget__actor {
50  position: fixed;
51  z-index: var(--z-index);
52  margin: var(--page-margin);
53  inset: var(--actor-inset);
54
55  display: flex;
56  align-items: center;
57  gap: 8px;
58  padding: 16px;
59
60  font-family: inherit;
61  font-size: var(--font-size);
62  font-weight: 600;
63  line-height: 1.14em;
64  text-decoration: none;
65
66  background: var(--actor-background, var(--background));
67  border-radius: var(--actor-border-radius, 1.7em/50%);
68  border: var(--actor-border, var(--border));
69  box-shadow: var(--actor-box-shadow, var(--box-shadow));
70  color: var(--actor-color, var(--foreground));
71  fill: var(--actor-color, var(--foreground));
72  cursor: pointer;
73  opacity: 1;
74  transition: transform 0.2s ease-in-out;
75  transform: translate(0, 0) scale(1);
76}
77.widget__actor[aria-hidden="true"] {
78  opacity: 0;
79  pointer-events: none;
80  visibility: hidden;
81  transform: translate(0, 16px) scale(0.98);
82}
83
84.widget__actor:hover {
85  background: var(--actor-hover-background, var(--background));
86  filter: var(--interactive-filter);
87}
88
89.widget__actor svg {
90  width: 1.14em;
91  height: 1.14em;
92}
93
94@media (max-width: 600px) {
95  .widget__actor span {
96    display: none;
97  }
98}
99`,e&&t.setAttribute("nonce",e),t}(n);return{el:a,appendToDom(){r.appendChild(o),r.appendChild(a)},removeFromDom(){r.removeChild(a),r.removeChild(o)},show(){a.ariaHidden="false"},hide(){a.ariaHidden="true"}}}({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:r,styleNonce:f});return X(n.el,{...t,onFormOpen(){n.hide()},onFormClose(){n.show()},onFormSubmitted(){n.show()}}),n};return{name:"Feedback",setupOnce(){(0,aS.B)()&&B.autoInject&&("loading"===aT.readyState?aT.addEventListener("DOMContentLoaded",()=>G().appendToDom()):G().appendToDom())},attachTo:X,createWidget(e={}){let t=G(az(B,e));return t.appendToDom(),t},createForm:async(e={})=>q(az(B,e)),remove(){H&&(H.parentElement&&H.parentElement.remove(),H=null),z.forEach(e=>e()),z=[]}}};function aJ(){let e=(0,v.KU)();return e&&e.getIntegrationByName("Feedback")}var aV,aQ,aZ,a0,a1,a2,a3,a4,a5={},a6=[],a9=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,a7=Array.isArray;function a8(e,t){for(var r in t)e[r]=t[r];return e}function oe(e){var t=e.parentNode;t&&t.removeChild(e)}function ot(e,t,r){var n,a,o,i={};for(o in t)"key"==o?n=t[o]:"ref"==o?a=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?aQ.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===i[o]&&(i[o]=e.defaultProps[o]);return or(e,i,n,a,null)}function or(e,t,r,n,a){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++a0:a,__i:-1,__u:0};return null==a&&null!=aZ.vnode&&aZ.vnode(o),o}function on(e){return e.children}function oa(e,t){this.props=e,this.context=t}function oo(e,t){if(null==t)return e.__?oo(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?oo(e):null}function oi(e){(!e.__d&&(e.__d=!0)&&a1.push(e)&&!os.__r++||a2!==aZ.debounceRendering)&&((a2=aZ.debounceRendering)||a3)(os)}function os(){var e,t,r,n=[],a=[];for(a1.sort(a4);e=a1.shift();)e.__d&&(r=a1.length,t=function(e,t,r){var n,a=e.__v,o=a.__e,i=e.__P;if(i)return(n=a8({},a)).__v=a.__v+1,aZ.vnode&&aZ.vnode(n),of(i,n,a,e.__n,void 0!==i.ownerSVGElement,32&a.__u?[o]:null,t,null==o?oo(a):o,!!(32&a.__u),r),n.__.__k[n.__i]=n,n.__d=void 0,n.__e!=o&&function e(t){var r,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,r=0;r<t.__k.length;r++)if(null!=(n=t.__k[r])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return e(t)}}(n),n}(e,n,a)||t,0===r||a1.length>r?(oh(n,t,a),a.length=n.length=0,t=void 0,a1.sort(a4)):t&&aZ.__c&&aZ.__c(t,a6));t&&oh(n,t,a),os.__r=0}function ol(e,t,r,n,a,o,i,s,l,u,c){var d,p,f,h,m,_=n&&n.__k||a6,g=t.length;for(r.__d=l,function(e,t,r){var n,a,o,i,s,l=t.length,u=r.length,c=u,d=0;for(e.__k=[],n=0;n<l;n++)null!=(a=e.__k[n]=null==(a=t[n])||"boolean"==typeof a||"function"==typeof a?null:"string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?or(null,a,null,null,a):a7(a)?or(on,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?or(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a)?(a.__=e,a.__b=e.__b+1,s=function(e,t,r,n){var a=e.key,o=e.type,i=r-1,s=r+1,l=t[r];if(null===l||l&&a==l.key&&o===l.type)return r;if(n>+(null!=l&&0==(131072&l.__u)))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&0==(131072&l.__u)&&a==l.key&&o===l.type)return i;i--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&a==l.key&&o===l.type)return s;s++}}return -1}(a,r,i=n+d,c),a.__i=s,o=null,-1!==s&&(c--,(o=r[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof a.type&&(a.__u|=65536)):s!==i&&(s===i+1?d++:s>i?c>l-i?d+=s-i:d--:d=s<i&&s==i-1?s-i:0,s!==n+d&&(a.__u|=65536))):(o=r[n])&&null==o.key&&o.__e&&(o.__e==e.__d&&(e.__d=oo(o)),o_(o,o,!1),r[n]=null,c--);if(c)for(n=0;n<u;n++)null!=(o=r[n])&&0==(131072&o.__u)&&(o.__e==e.__d&&(e.__d=oo(o)),o_(o,o))}(r,t,_),l=r.__d,d=0;d<g;d++)null!=(f=r.__k[d])&&"boolean"!=typeof f&&"function"!=typeof f&&(p=-1===f.__i?a5:_[f.__i]||a5,f.__i=d,of(e,f,p,a,o,i,s,l,u,c),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&om(p.ref,null,f),c.push(f.ref,f.__c||h,f)),null==m&&null!=h&&(m=h),65536&f.__u||p.__k===f.__k?l=function e(t,r,n){var a,o;if("function"==typeof t.type){for(a=t.__k,o=0;a&&o<a.length;o++)a[o]&&(a[o].__=t,r=e(a[o],r,n));return r}t.__e!=r&&(n.insertBefore(t.__e,r||null),r=t.__e);do r=r&&r.nextSibling;
vendor: 9,968 bytes, line 99
99while(null!=r&&8===r.nodeType);return r}(f,l,e):"function"==typeof f.type&&void 0!==f.__d?l=f.__d:h&&(l=h.nextSibling),f.__d=void 0,f.__u&=-196609);r.__d=l,r.__e=m}function ou(e,t,r){"-"===t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||a9.test(t)?r:r+"px"}function oc(e,t,r,n,a){var o;e:if("style"===t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||ou(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||ou(e.style,t,r[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,o?op:od,o)):e.removeEventListener(t,o?op:od,o);else{if(a)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,r))}}function od(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(aZ.event?aZ.event(e):e)}}function op(e){if(this.l)return this.l[e.type+!0](aZ.event?aZ.event(e):e)}function of(e,t,r,n,a,o,i,s,l,u){var c,d,p,f,h,m,_,g,v,y,b,E,S,w,T,P=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(l=!!(32&r.__u),o=[s=t.__e=r.__e]),(c=aZ.__b)&&c(t);e:if("function"==typeof P)try{if(g=t.props,v=(c=P.contextType)&&n[c.__c],y=c?v?v.props.value:c.__:n,r.__c?_=(d=t.__c=r.__c).__=d.__E:("prototype"in P&&P.prototype.render?t.__c=d=new P(g,y):(t.__c=d=new oa(g,y),d.constructor=P,d.render=og),v&&v.sub(d),d.props=g,d.state||(d.state={}),d.context=y,d.__n=n,p=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=P.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=a8({},d.__s)),a8(d.__s,P.getDerivedStateFromProps(g,d.__s))),f=d.props,h=d.state,d.__v=t,p)null==P.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==P.getDerivedStateFromProps&&g!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(g,y),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(g,d.__s,y)||t.__v===r.__v)){for(t.__v!==r.__v&&(d.props=g,d.state=d.__s,d.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(e){e&&(e.__=t)}),b=0;b<d._sb.length;b++)d.__h.push(d._sb[b]);d._sb=[],d.__h.length&&i.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(g,d.__s,y),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(f,h,m)})}if(d.context=y,d.props=g,d.__P=e,d.__e=!1,E=aZ.__r,S=0,"prototype"in P&&P.prototype.render){for(d.state=d.__s,d.__d=!1,E&&E(t),c=d.render(d.props,d.state,d.context),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[]}else do d.__d=!1,E&&E(t),c=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++S<25);d.state=d.__s,null!=d.getChildContext&&(n=a8(a8({},n),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(f,h)),ol(e,a7(T=null!=c&&c.type===on&&null==c.key?c.props.children:c)?T:[T],t,r,n,a,o,i,s,l,u),d.base=t.__e,t.__u&=-161,d.__h.length&&i.push(d),_&&(d.__E=d.__=null)}catch(e){t.__v=null,l||null!=o?(t.__e=s,t.__u|=l?160:32,o[o.indexOf(s)]=null):(t.__e=r.__e,t.__k=r.__k),aZ.__e(e,t,r)}else null==o&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=function(e,t,r,n,a,o,i,s,l){var u,c,d,p,f,h,m,_=r.props,g=t.props,v=t.type;if("svg"===v&&(a=!0),null!=o){for(u=0;u<o.length;u++)if((f=o[u])&&"setAttribute"in f==!!v&&(v?f.localName===v:3===f.nodeType)){e=f,o[u]=null;break}}if(null==e){if(null===v)return document.createTextNode(g);e=a?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,g.is&&g),o=null,s=!1}if(null===v)_===g||s&&e.data===g||(e.data=g);else{if(o=o&&aQ.call(e.childNodes),_=r.props||a5,!s&&null!=o)for(_={},u=0;u<e.attributes.length;u++)_[(f=e.attributes[u]).name]=f.value;for(u in _)f=_[u],"children"==u||("dangerouslySetInnerHTML"==u?d=f:"key"===u||u in g||oc(e,u,null,f,a));for(u in g)f=g[u],"children"==u?p=f:"dangerouslySetInnerHTML"==u?c=f:"value"==u?h=f:"checked"==u?m=f:"key"===u||s&&"function"!=typeof f||_[u]===f||oc(e,u,f,_[u],a);if(c)s||d&&(c.__html===d.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(d&&(e.innerHTML=""),ol(e,a7(p)?p:[p],t,r,n,a&&"foreignObject"!==v,o,i,o?o[0]:r.__k&&oo(r,0),s,l),null!=o)for(u=o.length;u--;)null!=o[u]&&oe(o[u]);s||(u="value",void 0===h||h===e[u]&&("progress"!==v||h)&&("option"!==v||h===_[u])||oc(e,u,h,_[u],!1),u="checked",void 0!==m&&m!==e[u]&&oc(e,u,m,_[u],!1))}return e}(r.__e,t,r,n,a,o,i,l,u);(c=aZ.diffed)&&c(t)}function oh(e,t,r){for(var n=0;n<r.length;n++)om(r[n],r[++n],r[++n]);aZ.__c&&aZ.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){aZ.__e(e,t.__v)}})}function om(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){aZ.__e(e,r)}}function o_(e,t,r){var n,a;if(aZ.unmount&&aZ.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||om(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){aZ.__e(e,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(a=0;a<n.length;a++)n[a]&&o_(n[a],t,r||"function"!=typeof e.type);r||null==e.__e||oe(e.__e),e.__=e.__e=e.__d=void 0}function og(e,t,r){return this.constructor(e,r)}aQ=a6.slice,aZ={__e:function(e,t,r,n){for(var a,o,i;t=t.__;)if((a=t.__c)&&!a.__)try{if((o=a.constructor)&&null!=o.getDerivedStateFromError&&(a.setState(o.getDerivedStateFromError(e)),i=a.__d),null!=a.componentDidCatch&&(a.componentDidCatch(e,n||{}),i=a.__d),i)return a.__E=a}catch(t){e=t}throw e}},a0=0,oa.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a8({},this.state),"function"==typeof e&&(e=e(a8({},r),this.props)),e&&a8(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),oi(this))},oa.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),oi(this))},oa.prototype.render=on,a1=[],a3="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a4=function(e,t){return e.__v.__b-t.__v.__b},os.__r=0;var ov,oy,ob,oE,oS=0,ow=[],oT=[],oP=aZ,ox=oP.__b,oR=oP.__r,oC=oP.diffed,oA=oP.__c,oO=oP.unmount,oI=oP.__;function ok(e,t){oP.__h&&oP.__h(oy,e,oS||t),oS=0;var r=oy.__H||(oy.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:oT}),r.__[e]}function oN(e){return oS=1,oD(oz,e)}function oD(e,t,r){var n=ok(ov++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):oz(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=oy,!oy.u)){var a=function(e,t,r){if(!n.__c.__H)return!0;var a=n.__c.__H.__.filter(function(e){return!!e.__c});if(a.every(function(e){return!e.__N}))return!o||o.call(this,e,t,r);var i=!1;return a.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),!(!i&&n.__c.props===e)&&(!o||o.call(this,e,t,r))};oy.u=!0;var o=oy.shouldComponentUpdate,i=oy.componentWillUpdate;oy.componentWillUpdate=function(e,t,r){if(this.__e){var n=o;o=void 0,a(e,t,r),o=n}i&&i.call(this,e,t,r)},oy.shouldComponentUpdate=a}return n.__N||n.__}function oM(e,t){var r=ok(ov++,4);!oP.__s&&oH(r.__H,t)&&(r.__=e,r.i=t,oy.__h.push(r))}function oL(e,t){var r=ok(ov++,7);return oH(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function oj(e,t){return oS=8,oL(function(){return e},t)}function oF(){for(var e;e=ow.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(o$),e.__H.__h.forEach(oB),e.__H.__h=[]}catch(t){e.__H.__h=[],oP.__e(t,e.__v)}}oP.__b=function(e){oy=null,ox&&ox(e)},oP.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),oI&&oI(e,t)},oP.__r=function(e){oR&&oR(e),ov=0;var t=(oy=e.__c).__H;t&&(ob===oy?(t.__h=[],oy.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=oT,e.__N=e.i=void 0})):(t.__h.forEach(o$),t.__h.forEach(oB),t.__h=[],ov=0)),ob=oy},oP.diffed=function(e){oC&&oC(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ow.push(t)&&oE===oP.requestAnimationFrame||((oE=oP.requestAnimationFrame)||function(e){var t,r=function(){clearTimeout(n),oU&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);oU&&(t=requestAnimationFrame(r))})(oF)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==oT&&(e.__=e.__V),e.i=void 0,e.__V=oT})),ob=oy=null},oP.__c=function(e,t){t.some(function(e){try{e.__h.forEach(o$),e.__h=e.__h.filter(function(e){return!e.__||oB(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],oP.__e(r,e.__v)}}),oA&&oA(e,t)},oP.unmount=function(e){oO&&oO(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(e){try{o$(e)}catch(e){t=e}}),r.__H=void 0,t&&oP.__e(t,r.__v))};var oU="function"==typeof requestAnimationFrame;function o$(e){var t=oy,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),oy=t}function oB(e){var t=oy;e.__c=e.__(),oy=t}function oH(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function oz(e,t){return"function"==typeof t?t(e):t}let oW={__proto__:null,useCallback:oj,useContext:function(e){var t=oy.context[e.__c],r=ok(ov++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(oy)),t.props.value):e.__},useDebugValue:function(e,t){oP.useDebugValue&&oP.useDebugValue(t?t(e):e)},useEffect:function(e,t){var r=ok(ov++,3);!oP.__s&&oH(r.__H,t)&&(r.__=e,r.i=t,oy.__H.__h.push(r))},useErrorBoundary:function(e){var t=ok(ov++,10),r=oN();return t.__=e,oy.componentDidCatch||(oy.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]},useId:function(){var e=ok(ov++,11);if(!e.__){for(var t=oy.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__},useImperativeHandle:function(e,t,r){oS=6,oM(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==r?r:r.concat(e))}
99,useLayoutEffect:oM,useMemo:oL,useReducer:oD,useRef:function(e){return oS=5,oL(function(){return{current:e}},[])},useState:oN};function oq({options:e}){let t=oL(()=>({__html:function(){let e=e=>aT.createElementNS("http://www.w3.org/2000/svg",e),t=aW(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),r=aW(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return t.appendChild(r),t}().outerHTML}),[]);return ot("h2",{class:"dialog__header"},ot("span",{class:"dialog__title"},e.formTitle),e.showBranding?ot("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function oX(e,t){let r=e.get(t);return"string"==typeof r?r.trim():""}function oG({options:e,defaultEmail:t,defaultName:r,onFormClose:n,onSubmit:a,onSubmitSuccess:o,onSubmitError:i,showEmail:s,showName:l,screenshotInput:u}){let{tags:c,addScreenshotButtonLabel:d,removeScreenshotButtonLabel:p,cancelButtonLabel:f,emailLabel:h,emailPlaceholder:m,isEmailRequired:_,isNameRequired:g,messageLabel:v,messagePlaceholder:b,nameLabel:E,namePlaceholder:S,submitButtonLabel:w,isRequiredLabel:T}=e,[P,x]=oN(null),[R,C]=oN(!1),A=u&&u.input,[O,I]=oN(null),k=oj(e=>{I(e),C(!1)},[]),N=oj(e=>{let t=function(e,t){let r=[];return t.isNameRequired&&!e.name&&r.push(t.nameLabel),t.isEmailRequired&&!e.email&&r.push(t.emailLabel),e.message||r.push(t.messageLabel),r}(e,{emailLabel:h,isEmailRequired:_,isNameRequired:g,messageLabel:v,nameLabel:E});return t.length>0?x(`Please enter in the following required fields: ${t.join(", ")}`):x(null),0===t.length},[h,_,g,v,E]);return ot("form",{class:"form",onSubmit:oj(async e=>{try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;let t=new FormData(e.target),r=await (u&&R?u.value():void 0),n={name:oX(t,"name"),email:oX(t,"email"),message:oX(t,"message"),attachments:r?[r]:void 0};if(!N(n))return;try{await a({name:n.name,email:n.email,message:n.message,source:"widget",tags:c},{attachments:n.attachments}),o(n)}catch(e){aH&&y.vF.error(e),x(e),i(e)}}catch(e){}},[u&&R,o,i])},A&&R?ot(A,{onError:k}):null,ot("div",{class:"form__right","data-sentry-feedback":!0},ot("div",{class:"form__top"},P?ot("div",{class:"form__error-container"},P):null,l?ot("label",{for:"name",class:"form__label"},ot(oK,{label:E,isRequiredLabel:T,isRequired:g}),ot("input",{class:"form__input",defaultValue:r,id:"name",name:"name",placeholder:S,required:g,type:"text"})):ot("input",{"aria-hidden":!0,value:r,name:"name",type:"hidden"}),s?ot("label",{for:"email",class:"form__label"},ot(oK,{label:h,isRequiredLabel:T,isRequired:_}),ot("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:m,required:_,type:"email"})):ot("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),ot("label",{for:"message",class:"form__label"},ot(oK,{label:v,isRequiredLabel:T,isRequired:!0}),ot("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:b,required:!0,rows:5})),A?ot("label",{for:"screenshot",class:"form__label"},ot("button",{class:"btn btn--default",type:"button",onClick:()=>{I(null),C(e=>!e)}},R?p:d),O?ot("div",{class:"form__error-container"},O.message):null):null),ot("div",{class:"btn-group"},ot("button",{class:"btn btn--primary",type:"submit"},w),ot("button",{class:"btn btn--default",type:"button",onClick:n},f))))}function oK({label:e,isRequired:t,isRequiredLabel:r}){return ot("span",{class:"form__label__text"},e,t&&ot("span",{class:"form__label__text--required"},r))}function oY({open:e,onFormSubmitted:t,...r}){let n=r.options,a=oL(()=>({__html:function(){let e=e=>aw.document.createElementNS("http://www.w3.org/2000/svg",e),t=aW(e("svg"),{width:"16",height:"17",viewBox:"0 0 16 17",fill:"inherit"}),r=aW(e("g"),{clipPath:"url(#clip0_57_156)"}),n=aW(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),a=aW(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 
9910.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(r).append(a,n);let o=e("defs"),i=aW(e("clipPath"),{id:"clip0_57_156"}),s=aW(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"});return i.appendChild(s),o.appendChild(i),t.appendChild(o).appendChild(i).appendChild(s),t}().outerHTML}),[]),[o,i]=oN(null),s=oj(()=>{o&&(clearTimeout(o),i(null)),t()},[o]),l=oj(e=>{r.onSubmitSuccess(e),i(setTimeout(()=>{t(),i(null)},5e3))},[t]);return ot(on,null,o?ot("div",{class:"success__position",onClick:s},ot("div",{class:"success__content"},n.successMessageText,ot("span",{class:"success__icon",dangerouslySetInnerHTML:a}))):ot("dialog",{class:"dialog",onClick:n.onFormClose,open:e},ot("div",{class:"dialog__position"},ot("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()}},ot(oq,{options:n}),ot(oG,{...r,onSubmitSuccess:l})))))}let oJ=`
100.dialog {
101  position: fixed;
102  z-index: var(--z-index);
103  margin: 0;
104  inset: 0;
105
106  display: flex;
107  align-items: center;
108  justify-content: center;
109  padding: 0;
110  height: 100vh;
111  width: 100vw;
112
113  color: var(--dialog-color, var(--foreground));
114  fill: var(--dialog-color, var(--foreground));
115  line-height: 1.75em;
116
117  background-color: rgba(0, 0, 0, 0.05);
118  border: none;
119  inset: 0;
120  opacity: 1;
121  transition: opacity 0.2s ease-in-out;
122}
123
124.dialog__position {
125  position: fixed;
126  z-index: var(--z-index);
127  inset: var(--dialog-inset);
128  padding: var(--page-margin);
129  display: flex;
130  max-height: calc(100vh - (2 * var(--page-margin)));
131}
132@media (max-width: 600px) {
133  .dialog__position {
134    inset: var(--page-margin);
135    padding: 0;
136  }
137}
138
139.dialog__position:has(.editor) {
140  inset: var(--page-margin);
141  padding: 0;
142}
143
144.dialog:not([open]) {
145  opacity: 0;
146  pointer-events: none;
147  visibility: hidden;
148}
149.dialog:not([open]) .dialog__content {
150  transform: translate(0, -16px) scale(0.98);
151}
152
153.dialog__content {
154  display: flex;
155  flex-direction: column;
156  gap: 16px;
157  padding: var(--dialog-padding, 24px);
158  max-width: 100%;
159  width: 100%;
160  max-height: 100%;
161  overflow: auto;
162
163  background: var(--dialog-background, var(--background));
164  border-radius: var(--dialog-border-radius, 20px);
165  border: var(--dialog-border, var(--border));
166  box-shadow: var(--dialog-box-shadow, var(--box-shadow));
167  transform: translate(0, 0) scale(1);
168  transition: transform 0.2s ease-in-out;
169}
170
171`,oV=`
172.dialog__header {
173  display: flex;
174  gap: 4px;
175  justify-content: space-between;
176  font-weight: var(--dialog-header-weight, 600);
177  margin: 0;
178}
179.dialog__title {
180  align-self: center;
181  width: var(--form-width, 272px);
182}
183
184@media (max-width: 600px) {
185  .dialog__title {
186    width: auto;
187  }
188}
189
190.dialog__position:has(.editor) .dialog__title {
191  width: auto;
192}
193
194
195.brand-link {
196  display: inline-flex;
197}
198.brand-link:focus-visible {
199  outline: var(--outline);
200}
201`,oQ=`
202.form {
203  display: flex;
204  overflow: auto;
205  flex-direction: row;
206  gap: 16px;
207  flex: 1 0;
208}
209
210.form__right {
211  flex: 0 0 auto;
212  display: flex;
213  overflow: auto;
214  flex-direction: column;
215  justify-content: space-between;
216  gap: 20px;
217  width: var(--form-width, 100%);
218}
219
220.dialog__position:has(.editor) .form__right {
221  width: var(--form-width, 272px);
222}
223
224.form__top {
225  display: flex;
226  flex-direction: column;
227  gap: 8px;
228}
229
230.form__error-container {
231  color: var(--error-color);
232  fill: var(--error-color);
233}
234
235.form__label {
236  display: flex;
237  flex-direction: column;
238  gap: 4px;
239  margin: 0px;
240}
241
242.form__label__text {
243  display: flex;
244  gap: 4px;
245  align-items: center;
246}
247
248.form__label__text--required {
249  font-size: 0.85em;
250}
251
252.form__input {
253  font-family: inherit;
254  line-height: inherit;
255  background: transparent;
256  box-sizing: border-box;
257  border: var(--input-border, var(--border));
258  border-radius: var(--input-border-radius, 6px);
259  color: var(--input-color, inherit);
260  fill: var(--input-color, inherit);
261  font-size: var(--input-font-size, inherit);
262  font-weight: var(--input-font-weight, 500);
263  padding: 6px 12px;
264}
265
266.form__input::placeholder {
267  opacity: 0.65;
268  color: var(--input-placeholder-color, inherit);
269  filter: var(--interactive-filter);
270}
271
272.form__input:focus-visible {
273  outline: var(--input-focus-outline, var(--outline));
274}
275
276.form__input--textarea {
277  font-family: inherit;
278  resize: vertical;
279}
280
281.error {
282  color: var(--error-color);
283  fill: var(--error-color);
284}
285`,oZ=`
286.btn-group {
287  display: grid;
288  gap: 8px;
289}
290
291.btn {
292  line-height: inherit;
293  border: var(--button-border, var(--border));
294  border-radius: var(--button-border-radius, 6px);
295  cursor: pointer;
296  font-family: inherit;
297  font-size: var(--button-font-size, inherit);
298  font-weight: var(--button-font-weight, 600);
299  padding: var(--button-padding, 6px 16px);
300}
301.btn[disabled] {
302  opacity: 0.6;
303  pointer-events: none;
304}
305
306.btn--primary {
307  color: var(--button-primary-color, var(--accent-foreground));
308  fill: var(--button-primary-color, var(--accent-foreground));
309  background: var(--button-primary-background, var(--accent-background));
310  border: var(--button-primary-border, var(--border));
311  border-radius: var(--button-primary-border-radius, 6px);
312  font-weight: var(--button-primary-font-weight, 500);
313}
314.btn--primary:hover {
315  color: var(--button-primary-hover-color, var(--accent-foreground));
316  fill: var(--button-primary-hover-color, var(--accent-foreground));
317  background: var(--button-primary-hover-background, var(--accent-background));
318  filter: var(--interactive-filter);
319}
320.btn--primary:focus-visible {
321  background: var(--button-primary-hover-background, var(--accent-background));
322  filter: var(--interactive-filter);
323  outline: var(--button-primary-focus-outline, var(--outline));
324}
325
326.btn--default {
327  color: var(--button-color, var(--foreground));
328  fill: var(--button-color, var(--foreground));
329  background: var(--button-background, var(--background));
330  border: var(--button-border, var(--border));
331  border-radius: var(--button-border-radius, 6px);
332  font-weight: var(--button-font-weight, 500);
333}
334.btn--default:hover {
335  color: var(--button-color, var(--foreground));
336  fill: var(--button-color, var(--foreground));
337  background: var(--button-hover-background, var(--background));
338  filter: var(--interactive-filter);
339}
340.btn--default:focus-visible {
341  background: var(--button-hover-background, var(--background));
342  filter: var(--interactive-filter);
343  outline: var(--button-focus-outline, var(--outline));
344}
345`,o0=`
346.success__position {
347  position: fixed;
348  inset: var(--dialog-inset);
349  padding: var(--page-margin);
350  z-index: var(--z-index);
351}
352.success__content {
353  background: var(--success-background, var(--background));
354  border: var(--success-border, var(--border));
355  border-radius: var(--success-border-radius, 1.7em/50%);
356  box-shadow: var(--success-box-shadow, var(--box-shadow));
357  font-weight: var(--success-font-weight, 600);
358  color: var(--success-color);
359  fill: var(--success-color);
360  padding: 12px 24px;
361  line-height: 1.75em;
362
363  display: grid;
364  align-items: center;
365  grid-auto-flow: column;
366  gap: 6px;
367  cursor: default;
368}
369
370.success__icon {
371  display: flex;
372}
373`,o1=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:r,shadow:n})=>{let a=e.useSentryUser,o=function(){let e=(0,v.o5)().getUser(),t=(0,v.rm)().getUser(),r=(0,v.m6)().getUser();return e&&Object.keys(e).length?e:t&&Object.keys(t).length?t:r}(),i=aT.createElement("div"),s=function(e){let t=aT.createElement("style");return t.textContent=`
374:host {
375  --dialog-inset: var(--inset);
376}
377
378${oJ}
379${oV}
380${oQ}
381${oZ}
382${o0}
383`,e&&t.setAttribute("nonce",e),t}(e.styleNonce),l="",u={get el(){return i},appendToDom(){n.contains(s)||n.contains(i)||(n.appendChild(s),n.appendChild(i))},removeFromDom(){n.removeChild(i),n.removeChild(s),aT.body.style.overflow=l},open(){d(!0),e.onFormOpen&&e.onFormOpen(),l=aT.body.style.overflow,aT.body.style.overflow="hidden"},close(){d(!1),aT.body.style.overflow=l}},c=t&&t.createInput({h:ot,hooks:oW,dialog:u,options:e}),d=t=>{!function(e,t,r){var n,a,o;aZ.__&&aZ.__(e,t),n=t.__k,a=[],o=[],of(t,e=t.__k=ot(on,null,[e]),n||a5,a5,void 0!==t.ownerSVGElement,r?[r]:n?null:t.firstChild?aQ.call(t.childNodes):null,a,r?r:n?n.__e:t.firstChild,!1,o),e.__d=void 0,oh(a,e,o)}(ot(oY,{options:e,screenshotInput:c,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:a&&o&&o[a.name]||"",defaultEmail:a&&o&&o[a.email]||"",onFormClose:()=>{d(!1),e.onFormClose&&e.onFormClose()},onSubmit:r,onSubmitSuccess:t=>{d(!1),e.onSubmitSuccess&&e.onSubmitSuccess(t)},onSubmitError:t=>{e.onSubmitError&&e.onSubmitError(t)},onFormSubmitted:()=>{e.onFormSubmitted&&e.onFormSubmitted()},open:t}),i)};return u}}),o2=aw.devicePixelRatio,o3=e=>({x:Math.min(e.startX,e.endX),y:Math.min(e.startY,e.endY),width:Math.abs(e.startX-e.endX),height:Math.abs(e.startY-e.endY)}),o4=e=>{let t=e.clientHeight,r=e.clientWidth,n=e.width/e.height,a=t*n,o=t;a>r&&(a=r,o=r/n);let i=(r-a)/2,s=(t-o)/2;return{startX:i,startY:s,endX:a+i,endY:o+s}},o5=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:r,options:n})=>{let a=aT.createElement("canvas");return{input:function({h:e,hooks:t,imageBuffer:r,dialog:n,options:a}){let o=function({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:r,onAfterScreenshot:n,onError:a}){e.useEffect(()=>{(async()=>{t();let e=await aP.mediaDevices.getDisplayMedia({video:{width:aw.innerWidth*aw.devicePixelRatio,height:aw.innerHeight*aw.devicePixelRatio},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),a=aT.createElement("video");await new Promise((t,n)=>{a.srcObject=e,a.onloadedmetadata=()=>{r(a),e.getTracks().forEach(e=>e.stop()),t()},a.play().catch(n)}),n()})().catch(a)},[])}}({hooks:t});return function({onError:i}){let s=t.useMemo(()=>({__html:function(e){let t=aT.createElement("style"),r="#1A141F",n="#302735";return t.textContent=`
384.editor {
385  padding: 10px;
386  padding-top: 65px;
387  padding-bottom: 65px;
388  flex-grow: 1;
389
390  background-color: ${r};
391  background-image: repeating-linear-gradient(
392      -145deg,
393      transparent,
394      transparent 8px,
395      ${r} 8px,
396      ${r} 11px
397    ),
398    repeating-linear-gradient(
399      -45deg,
400      transparent,
401      transparent 15px,
402      ${n} 15px,
403      ${n} 16px
404    );
405}
406
407.editor__canvas-container {
408  width: 100%;
409  height: 100%;
410  position: relative;
411  display: flex;
412  align-items: center;
413  justify-content: center;
414}
415
416.editor__canvas-container canvas {
417  object-fit: contain;
418  position: relative;
419}
420
421.editor__crop-btn-group {
422  padding: 8px;
423  gap: 8px;
424  border-radius: var(--menu-border-radius, 6px);
425  background: var(--button-primary-background, var(--background));
426  width: 175px;
427  position: absolute;
428}
429
430.editor__crop-corner {
431  width: 30px;
432  height: 30px;
433  position: absolute;
434  background: none;
435  border: 3px solid #ffffff;
436}
437
438.editor__crop-corner--top-left {
439  cursor: nwse-resize;
440  border-right: none;
441  border-bottom: none;
442}
443.editor__crop-corner--top-right {
444  cursor: nesw-resize;
445  border-left: none;
446  border-bottom: none;
447}
448.editor__crop-corner--bottom-left {
449  cursor: nesw-resize;
450  border-right: none;
451  border-top: none;
452}
453.editor__crop-corner--bottom-right {
454  cursor: nwse-resize;
455  border-left: none;
456  border-top: none;
457}
458`,e&&t.setAttribute("nonce",e),t}(a.styleNonce).innerText}),[]),l=function({h:e}){return function({top:t,left:r,corner:n,onGrabButton:a}){return e("button",{class:`editor__crop-corner editor__crop-corner--${n} `,style:{top:t,left:r},onMouseDown:e=>{e.preventDefault(),a(e,n)},onClick:e=>{e.preventDefault()}})}}({h:e}),u=t.useRef(null),c=t.useRef(null),d=t.useRef(null),[p,f]=t.useState({startX:0,startY:0,endX:0,endY:0}),[h,m]=t.useState(!1),[_,g]=t.useState(!1);function v(){let e=d.current,t=o3(o4(r));if(e){e.width=t.width*o2,e.height=t.height*o2,e.style.width=`${t.width}px`,e.style.height=`${t.height}px`;let r=e.getContext("2d");r&&r.scale(o2,o2)}let n=c.current;n&&(n.style.width=`${t.width}px`,n.style.height=`${t.height}px`),f({startX:0,startY:0,endX:t.width,endY:t.height})}function y(e,t){m(!1),g(!0);let r=b(t),n=()=>{aT.removeEventListener("mousemove",r),aT.removeEventListener("mouseup",n),m(!0),g(!1)};aT.addEventListener("mouseup",n),aT.addEventListener("mousemove",r)}t.useEffect(()=>{aw.addEventListener("resize",v,!1)},[]),t.useEffect(()=>{let e=d.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let n=o3(o4(r)),a=o3(p);t.clearRect(0,0,n.width,n.height),t.fillStyle="rgba(0, 0, 0, 0.5)",t.fillRect(0,0,n.width,n.height),t.clearRect(a.x,a.y,a.width,a.height),t.strokeStyle="#ffffff",t.lineWidth=3,t.strokeRect(a.x+1,a.y+1,a.width-2,a.height-2),t.strokeStyle="#000000",t.lineWidth=1,t.strokeRect(a.x+3,a.y+3,a.width-6,a.height-6)},[p]);let b=t.useCallback(e=>function(t){if(!d.current)return;let r=d.current,n=r.getBoundingClientRect(),a=t.clientX-n.x,o=t.clientY-n.y;switch(e){case"top-left":f(e=>({...e,startX:Math.min(Math.max(0,a),e.endX-33),startY:Math.min(Math.max(0,o),e.endY-33)}));break;case"top-right":f(e=>({...e,endX:Math.max(Math.min(a,r.width/o2),e.startX+33),startY:Math.min(Math.max(0,o),e.endY-33)}));break;case"bottom-left":f(e=>({...e,startX:Math.min(Math.max(0,a),e.endX-33),endY:Math.max(Math.min(o,r.height/o2),e.startY+33)}));break;case"bottom-right":f(e=>({...e,endX:Math.max(Math.min(a,r.width/o2),e.startX+33),endY:Math.max(Math.min(o,r.height/o2),e.startY+33)}))}},[]),E=t.useRef({initialX:0,initialY:0});return o({onBeforeScreenshot:t.useCallback(()=>{n.el.style.display="none"},[]),onScreenshot:t.useCallback(e=>{let t=r.getContext("2d");if(!t)throw Error("Could not get canvas context");r.width=e.videoWidth,r.height=e.videoHeight,r.style.width="100%",r.style.height="100%",t.drawImage(e,0,0)},[r]),onAfterScreenshot:t.useCallback(()=>{n.el.style.display="block";let e=u.current;e&&e.appendChild(r),v()},[]),onError:t.useCallback(e=>{n.el.style.display="block",i(e)},[])}),e("div",{class:"editor"},e("style",{nonce:a.styleNonce,dangerouslySetInnerHTML:s}),e("div",{class:"editor__canvas-container",ref:u},e("div",{class:"editor__crop-container",style:{position:"absolute",zIndex:1},ref:c},e("canvas",{onMouseDown:function(e){if(_)return;E.current={initialX:e.clientX,initialY:e.clientY};let t=e=>{let t=d.current;if(!t)return;let r=e.clientX-E.current.initialX,n=e.clientY-E.current.initialY;f(a=>{let o=Math.max(0,Math.min(a.startX+r,t.width/o2-(a.endX-a.startX))),i=Math.max(0,Math.min(a.startY+n,t.height/o2-(a.endY-a.startY))),s=o+(a.endX-a.startX),l=i+(a.endY-a.startY);return E.current.initialX=e.clientX,E.current.initialY=e.clientY,{startX:o,startY:i,endX:s,endY:l}})},r=()=>{aT.removeEventListener("mousemove",t),aT.removeEventListener("mouseup",r)};aT.addEventListener("mousemove",t),aT.addEventListener("mouseup",r)},style:{position:"absolute",cursor:h?"move":"auto"},ref:d}),e(l,{left:p.startX-3,top:p.startY-3,onGrabButton:y,corner:"top-left"}
458),e(l,{left:p.endX-30+3,top:p.startY-3,onGrabButton:y,corner:"top-right"}),e(l,{left:p.startX-3,top:p.endY-30+3,onGrabButton:y,corner:"bottom-left"}),e(l,{left:p.endX-30+3,top:p.endY-30+3,onGrabButton:y,corner:"bottom-right"}),e("div",{style:{left:Math.max(0,p.endX-191),top:Math.max(0,p.endY+8),display:h?"flex":"none"},class:"editor__crop-btn-group"},e("button",{onClick:e=>{e.preventDefault(),d.current&&f({startX:0,startY:0,endX:d.current.width/o2,endY:d.current.height/o2}),m(!1)},class:"btn btn--default"},a.cancelButtonLabel),e("button",{onClick:e=>{e.preventDefault(),function(){let e=aT.createElement("canvas"),t=o3(o4(r)),n=o3(p);e.width=n.width*o2,e.height=n.height*o2;let a=e.getContext("2d");a&&r&&a.drawImage(r,n.x/t.width*r.width,n.y/t.height*r.height,n.width/t.width*r.width,n.height/t.height*r.height,0,0,e.width,e.height);let o=r.getContext("2d");o&&(o.clearRect(0,0,r.width,r.height),r.width=e.width,r.height=e.height,r.style.width=`${n.width}px`,r.style.height=`${n.height}px`,o.drawImage(e,0,0),v())}(),m(!1)},class:"btn btn--primary"},a.confirmButtonLabel)))))}}({h:e,hooks:t,imageBuffer:a,dialog:r,options:n}),value:async()=>{let e=await new Promise(e=>
458{a.toBlob(e,"image/png")});if(e)return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),o6=aY({lazyLoadIntegration:nX}),o9=aY({getModalIntegration:()=>o1,getScreenshotIntegration:()=>o5});function o7(e,t,r,n,a={}){let o=a.client||(0,v.KU)();if(!o)return;let i=(0,W.Bk)(),s=i?(0,W.zU)(i):void 0,l=s&&(0,W.et)(s).description,{unit:u,tags:c,timestamp:d}=a,{release:p,environment:h}=o.getOptions(),m={};p&&(m.release=p),h&&(m.environment=h),l&&(m.transaction=l),g.T&&y.vF.log(`Adding value of ${n} to ${t} metric ${r}`),(function(e,t){let r=(0,f.B)("globalMetricsAggregators",()=>new WeakMap),n=r.get(e);if(n)return n;let a=new t(e);return e.on("flush",()=>a.flush()),e.on("close",()=>a.close()),r.set(e,a),a})(o,e).add(t,r,n,u,{...m,...c},d)}function o8(e,t,r,n){o7(e,"d",t,it(r),n)}let ie={increment:function(e,t,r=1,n){o7(e,"c",t,it(r),n)},distribution:o8,set:function(e,t,r,n){o7(e,"s",t,r,n)},gauge:function(e,t,r,n){o7(e,"g",t,it(r),n)},timing:function(e,t,r,n="second",a){if("function"==typeof r){let n=(0,X.zf)();return tV({op:"metrics.timing",name:t,startTime:n,onlyIfParent:!0},o=>tL(()=>r(),()=>{},()=>{let r=(0,X.zf)();o8(e,t,r-n,{...a,unit:"second"}),o.end(r)}))}o8(e,t,r,{...a,unit:n})}};function it(e){return"string"==typeof e?parseInt(e):e}let ir=[["\n","\\n"],["\r","\\r"],["	","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];class ia{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class io{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,e<this._min&&(this._min=e),e>this._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class ii{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class is{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>"string"==typeof e?function(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t>>>0}(e):e).join(":")}}let il={c:ia,g:io,d:ii,s:is};class iu{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),5e3)}add(e,t,r,n="none",a={},o=(0,X.zf)()){let i=Math.floor(o),s=t.replace(/[^\w\-.]+/gi,"_"),l=function(e){let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r.replace(/[^\w\-./]+/gi,"")]=[...String(e[r])].reduce((e,t)=>e+function(e){for(let[t,r]of ir)if(e===t)return r;return e}(t),""));return t}(a),u=n.replace(/[^\w]+/gi,"_"),c=function(e,t,r,n){let a=Object.entries((0,A.Ce)(n)).sort((e,t)=>e[0].localeCompare(t[0]));return`${e}${t}${r}${a}`}(e,s,u,l),d=this._buckets.get(c),p=d&&"s"===e?d.metric.weight:0;d?(d.metric.add(r),d.timestamp<i&&(d.timestamp=i)):(d={metric:new il[e](r),timestamp:i,metricType:e,name:s,unit:u,tags:l},this._buckets.set(c,d));let f="string"==typeof r?d.metric.weight-p:r;(0,W.r2)(e,s,f,u,a,c)}flush(){if(0===this._buckets.size)return;let e=Array.from(this._buckets.values());!function(e,t){y.vF.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);let r=e.getDsn(),n=function(e,t,r,n){let a={sent_at:new Date().toISOString()};r&&r.sdk&&(a.sdk={name:r.sdk.name,version:r.sdk.version}),n&&t&&(a.dsn=(0,U.SB)(t));let o=function(e){let t=function(e){let t="";for(let r of e){let e=Object.entries(r.tags),n=e.length>0?`|#${e.map(([e,t])=>`${e}:${t}`).join(",")}`:"";t+=`${r.name}@${r.unit}:${r.metric}|${r.metricType}${n}|T${r.timestamp}
459`}return t}(e);return[{type:"statsd",length:t.length},t]}(e);return(0,z.h4)(a,[o])}(t,r,e.getSdkMetadata(),e.getOptions().tunnel);e.sendEnvelope(n)}(this._client,e),this._buckets.clear()}close(){clearInterval(this._interval),this.flush()}}let ic={increment:function(e,t=1,r){ie.increment(iu,e,t,r)},distribution:function(e,t,r){ie.distribution(iu,e,t,r)},set:function(e,t,r){ie.set(iu,e,t,r)},gauge:function(e,t,r){ie.gauge(iu,e,t,r)},timing:function(e,t,r="second",n){return ie.timing(iu,e,t,r,n)}};function id(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function ip(e){return id(e.getAllKeys())}function ih(e){let t;function r(){return void 0==t&&(t=function(e,t){let r=indexedDB.open(e);r.onupgradeneeded=()=>r.result.createObjectStore(t);let n=id(r);return e=>n.then(r=>e(r.transaction(t,"readwrite").objectStore(t)))}(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{push:async t=>{try{var n,a;let o=await (0,z.bN)(t);await (n=r(),a=e.maxQueueSize||30,n(e=>ip(e).then(t=>{if(!(t.length>=a))return e.put(o,Math.max(...t,0)+1),id(e.transaction)})))}catch(e){}},unshift:async t=>{try{var n,a;let o=await (0,z.bN)(t);await (n=r(),a=e.maxQueueSize||30,n(e=>ip(e).then(t=>{if(!(t.length>=a))return e.put(o,Math.min(...t,0)-1),id(e.transaction)})))}catch(e){}},shift:async()=>{try{let e=await r()(e=>ip(e).then(t=>{let r=t[0];if(null!=r)return id(e.get(r)).then(t=>(e.delete(r),id(e.transaction).then(()=>t)))}));if(e)return(0,z.mE)(e)}catch(e){}}}}function im(e=t_){var t;return t=function(e){function t(...e){g.T&&y.vF.info("[Offline]:",...e)}return r=>{let n,a=e(r);if(!r.createStore)throw Error("No `createStore` function was provided");let o=r.createStore(r),i=5e3;function s(e){n&&clearTimeout(n),"number"!=typeof(n=setTimeout(async()=>{n=void 0;let e=await o.shift();e&&(t("Attempting to send previously queued event"),e[0].sent_at=new Date().toISOString(),u(e,!0).catch(e=>{t("Failed to retry sending",e)}))},e))&&n.unref&&n.unref()}function l(){n||(s(i),i=Math.min(2*i,36e5))}async function u(e,n=!1){if(!n&&(0,z.hP)(e,["replay_event","replay_recording"]))return await o.push(e),s(100),{};try{let t=await a.send(e),r=100;if(t){if(t.headers&&t.headers["retry-after"])r=(0,tf.FA)(t.headers["retry-after"]);
459else if(t.headers&&t.headers["x-sentry-rate-limits"])r=6e4;else if((t.statusCode||0)>=400)return t}return s(r),i=5e3,t}catch(a){var c;if(await (c=i,!(0,z.hP)(e,["client_report"])&&(!r.shouldStore||r.shouldStore(e,a,c))))return n?await o.unshift(e):await o.push(e),l(),t("Error sending. Event queued.",a),{};throw a}}return r.flushAtStartup&&l(),{send:u,flush:e=>(void 0===e&&(i=5e3,s(100)),a.flush(e))}}}(e),e=>{let r=t({...e,createStore:ih});return eh.addEventListener("online",async e=>{await r.flush()}),r}}var i_=r(26552),ig=r(94845);let iv=String(0),iy="",ib="",iE="",iS=eh.navigator&&eh.navigator.userAgent||"",iw="",iT=eh.navigator&&eh.navigator.language||eh.navigator&&eh.navigator.languages&&eh.navigator.languages[0]||"",iP=eh.navigator&&eh.navigator.userAgentData;function ix(e){return"pageload"===(0,W.et)(e).op}(function(e){return"object"==typeof e&&null!==e&&"getHighEntropyValues"in e})(iP)&&iP.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(iy=e.platform||"",iE=e.architecture||"",iw=e.model||"",ib=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){let t=e.fullVersionList[e.fullVersionList.length-1];iS=`${t.brand} ${t.version}`}}).catch(e=>void 0);let iR=!1;function iC(e){if(iR)return en&&y.vF.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return en&&y.vF.log("[Profiling] Discarding profile because transaction was not sampled."),!1;let t=(0,v.KU)(),r=t&&t.getOptions();if(!r)return en&&y.vF.log("[Profiling] Profiling disabled, no options found."),!1;let n=r.profilesSampleRate;return("number"!=typeof n&&"boolean"!=typeof n||"number"==typeof n&&isNaN(n)?(en&&y.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(n)} of type ${JSON.stringify(typeof n)}.`),1):!0!==n&&!1!==n&&(n<0||n>1)&&(en&&y.vF.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${n}.`),1))?(en&&y.vF.warn("[Profiling] Discarding profile because of invalid sample rate."),!1):n?!!(!0===n||Math.random()<n)||(en&&y.vF.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(n)})`),!1):(en&&y.vF.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1)}let iA=new Map;function iO(e){let t;ix(e)&&(t=1e3*(0,X.zf)());let r=function(){let e=eh.Profiler;if("function"!=typeof e){en&&y.vF.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}let t=Math.floor(3e3);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){en&&(y.vF.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),y.vF.log("[Profiling] Disabling profiling for current user session.")),iR=!0}}();if(!r)return;en&&y.vF.log(`[Profiling] started profiling span: ${(0,W.et)(e).description}`);let n=(0,T.eJ)();async function a(){if(e&&r)return r.stop().then(t=>{if(o&&(eh.clearTimeout(o),o=void 0),en&&y.vF.log(`[Profiling] stopped profiling of span: ${(0,W.et)(e).description}`),!t){en&&y.vF.log(`[Profiling] profiler returned null profile for: ${(0,W.et)(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}if(iA.set(n,t),iA.size>30){let e=iA.keys().next().value;iA.delete(e)}}).catch(e=>{en&&y.vF.log("[Profiling] error while stopping profiler:",e)})}(0,v.o5)().setContext("profile",{profile_id:n,start_timestamp:t});let o=eh.setTimeout(()=>{en&&y.vF.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,W.et)(e).description),a()},3e4),i=e.end.bind(e);e.end=function(){return e?(a().then(()=>{i()},()=>{i()}),e):i()}}let iI=()=>({name:"BrowserProfiling",setup(e){let t=(0,W.Bk)(),r=t&&(0,W.zU)(t);r&&ix(r)&&iC(r)&&iO(r),e.on("spanStart",e=>{e===(0,W.zU)(e)&&iC(e)&&iO(e)}),e.on("beforeEnvelope",e=>{if(!iA.size)return;let t=function(e){let t=[];return(0,z.yH)(e,(e,r)=>{if("transaction"===r)for(let r=1;r<e.length;r++){let n=e[r];n&&n.contexts&&n.contexts.profile&&n.contexts.profile.profile_id&&t.pu
459sh(e[r])}}),t}(e);if(!t.length)return;let r=[];for(let e of t){let t=e&&e.contexts,n=t&&t.profile&&t.profile.profile_id,a=t&&t.profile&&t.profile.start_timestamp;if("string"!=typeof n||!n){en&&y.vF.log("[Profiling] cannot find profile for a span without a profile context");continue}t&&t.profile&&delete t.profile;let o=function(e){let t=iA.get(e);return t&&iA.delete(e),t}(n);if(!o){en&&y.vF.log(`[Profiling] Could not retrieve profile for span: ${n}`);continue}let i=function(e,t,r,n){var a;if(!(r.samples.length<2?(en&&y.vF.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!r.frames.length||(en&&y.vF.log("[Profiling] Discarding profile because it contains no frames"),!1)))return null;if("transaction"!==n.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==r)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${r} instead.`);let o=function(e){let t=e&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id;return("string"==typeof t&&32!==t.length&&en&&y.vF.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t)?"":t}(n),i="thread_metadata"in(a=r)?a:function(e){let t,r=0,n={samples:[],stacks:[],frames:[],thread_metadata:{[iv]:{name:"main"}}},a=e.samples[0];if(!a)return n;let o=a.timestamp,i="number"==typeof performance.timeOrigin?performance.timeOrigin:X.k3||0,s=i-(X.k3||i);return e.samples.forEach((a,i)=>{if(void 0===a.stackId){void 0===t&&(t=r,n.stacks[t]=[],r++),n.samples[i]={elapsed_since_start_ns:((a.timestamp+s-o)*1e6).toFixed(0),stack_id:t,thread_id:iv};return}let l=e.stacks[a.stackId],u=[];for(;l;){u.push(l.frameId);let t=e.frames[l.frameId];t&&void 0===n.frames[l.frameId]&&(n.frames[l.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),l=void 0===l.parentId?void 0:e.stacks[l.parentId]}let c={elapsed_since_start_ns:((a.timestamp+s-o)*1e6).toFixed(0),stack_id:r,thread_id:iv};n.stacks[r]=u,n.samples[i]=c,r++}),n}(a),s=t||("number"==typeof n.start_timestamp?1e3*n.start_timestamp:1e3*(0,X.zf)()),l="number"==typeof n.timestamp?1e3*n.timestamp:1e3*(0,X.zf)();return{event_id:e,timestamp:new Date(s).toISOString(),platform:"javascript",version:"1",release:n.release||"",environment:n.environment||i_.U,runtime:{name:"javascript",version:eh.navigator.userAgent},os:{name:iy,version:ib,build_number:iS},device:{locale:iT,model:iw,manufacturer:iS,architecture:iE,is_emulator:!1},debug_meta:{images:function(e){let t=(0,v.KU)(),r=t&&t.getOptions(),n=r&&r.stackParser;return n?(0,ig.i)(n,e):[]}(r.resources)},profile:i,transactions:[{name:n.transaction||"",id:n.event_id||(0,T.eJ)(),trace_id:o,active_thread_id:iv,relative_start_ns:"0",relative_end_ns:((l-s)*1e6).toFixed(0)}]}}(n,a,o,e);i&&r.push(i)}!function(e,t){if(t.length)for(let r of t)e[1].push([{type:"profile"},r])}(e,r)})}}),ik=(e={})=>{let t=e.sidecarUrl||"http://localhost:8969/stream";return{name:"SpotlightBrowser",setup:()=>{en&&y.vF.log("Using Sidecar URL",t)},processEvent:e=>!function(e){return!!("transaction"===e.type&&e.spans&&e.contexts&&e.contexts.trace&&"ui.action.click"===e.contexts.trace.op&&e.spans.some(({description:e})=>e&&e.includes("#sentry-spotlight")))}(e)?e:null,afterAllSetup:e=>{!function(e,t){let r=(0,tp.qd)("fetch"),n=0;e.on("beforeEnvelope",e=>{if(n>3)return void y.vF.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",n);r(t,{method:"POST",body:(0,z.bN)(e),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(e=>{e.status>=200&&e.status<400&&(n=0)},e=>{n++,y.vF.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",e)})})}(e,t)}}};function iN(e){let t=(0,v.o5)().getScopeData().contexts.flags,r=t?t.values:[];return r.length&&(void 0===e.contexts&&(e.contexts={}),e.contexts.flags={values:[...r]}),e}function iD(e,t,r=100){let n=(0,v.o5)().getScopeData().contexts;n.flags||(n.flags={values:[]}),function(e,t,r,n){if("boolean"!=typeof r)return;if(e.length>
459n){en&&y.vF.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${n}`);return}let a=e.findIndex(e=>e.flag===t);-1!==a&&e.splice(a,1),e.length===n&&e.shift(),e.push({flag:t,result:r})}(n.flags.values,e,t,r)}let iM=()=>({name:"FeatureFlags",processEvent:(e,t,r)=>iN(e),addFeatureFlag(e,t){iD(e,t)}}),iL=()=>({name:"LaunchDarkly",processEvent:(e,t,r)=>iN(e)});function ij(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,r)=>{iD(e,t.value)}}}let iF=()=>({name:"OpenFeature",processEvent:(e,t,r)=>iN(e)});class iU{after(e,t){iD(t.flagKey,t.value)}error(e,t,r){iD(e.flagKey,e.defaultValue)}}let i$=({featureFlagClientClass:e,unleashClientClass:t})=>{let r=e||t;if(!r)throw Error("featureFlagClientClass option is required");return{name:"Unleash",processEvent:(e,t,r)=>iN(e),setupOnce(){let e=r.prototype;(0,A.GS)(e,"isEnabled",iB)}}};function iB(e){return function(...t){let r=t[0],n=e.apply(this,t);return"string"==typeof r&&"boolean"==typeof n?iD(r,n):en&&y.vF.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${r} (${typeof r}), result: ${n} (${typeof n})`),n}}let iH=({featureFlagClient:e})=>({name:"Statsig",processEvent:(e,t,r)=>iN(e),setup(){e.on("gate_evaluation",e=>{iD(e.gate.name,e.gate.value)})}});function iz(e,{componentStack:t},r){if(function(e){let t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}(tS.version)&&(0,K.bJ)(e)&&t){let r=Error(e.message);r.name=`React ErrorBoundary ${e.name}`,r.stack=t;let n=new WeakSet;!function e(t,r){if(!n.has(t)){if(t.cause)return n.add(t),e(t.cause,r);t.cause=r}}(e,r)}return(0,_.Cp)(e,{...r,captureContext:{contexts:{react:{componentStack:t}}}})}function iW(e){return(t,r)=>{let n=iz(t,r);e&&e(t,r,n)}}var iq=r(76076);let iX="ui.react.render",iG="ui.react.mount";class iK extends tS.Component{static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(e){super(e);let{name:t,disabled:r=!1}=this.props;if(r)return;this._mountSpan=tQ({name:`<${t}>`,onlyIfParent:!0,op:iG,attributes:{[tx.JD]:"auto.ui.react.profiler","ui.component_name":t}})}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:t=!0}){if(t&&this._mountSpan&&e!==this.props.updateProps){let t=Object.keys(e).filter(t=>e[t]!==this.props.updateProps[t]);if(t.length>0){let e=(0,X.zf)();this._updateSpan=t0(this._mountSpan,()=>tQ({name:`<${this.props.name}>`,onlyIfParent:!0,op:"ui.react.update",startTime:e,attributes:{[tx.JD]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":t}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){let e=(0,X.zf)(),{name:t,includeRender:r=!0}=this.props;if(this._mountSpan&&r){let r=(0,W.et)(this._mountSpan).timestamp;t0(this._mountSpan,()=>{let n=tQ({onlyIfParent:!0,name:`<${t}>`,op:iX,startTime:r,attributes:{[tx.JD]:"auto.ui.react.profiler","ui.component_name":t}});n&&n.end(e)})}}render(){return this.props.children}}function iY(e,t){let r=t&&t.name||e.displayName||e.name||"unknown",n=n=>tS.createElement(iK,{...t,name:r,updateProps:n},tS.createElement(e,{...n}));return n.displayName=`profiler(${r})`,iq(n,e),n}function iJ(e,t={disabled:!1,hasRenderSpan:!0}
459){let[r]=tS.useState(()=>{if(!t||!t.disabled)return tQ({name:`<${e}>`,onlyIfParent:!0,op:iG,attributes:{[tx.JD]:"auto.ui.react.profiler","ui.component_name":e}})});tS.useEffect(()=>(r&&r.end(),()=>{if(r&&t.hasRenderSpan){let t=(0,W.et)(r).timestamp,n=(0,X.zf)(),a=tQ({name:`<${e}>`,onlyIfParent:!0,op:iX,startTime:t,attributes:{[tx.JD]:"auto.ui.react.profiler","ui.component_name":e}});a&&a.end(n)}}),[])}iK.__initStatic();let iV="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,iQ={componentStack:null,error:null,eventId:null};class iZ extends tS.Component{constructor(e){super(e),iZ.prototype.__init.call(this),this.state=iQ,this._openFallbackReportDialog=!0;let t=(0,v.KU)();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&tv({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,t){let{componentStack:r}=t,n=null==r?void 0:r,{beforeCapture:a,onError:o,showDialog:i,dialogOptions:s}=this.props;(0,v.v4)(l=>{a&&a(l,e,n);let u=iz(e,t,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback}});o&&o(e,n,u),i&&(this._lastEventId=u,this._openFallbackReportDialog&&tv({...s,eventId:u})),this.setState({error:e,componentStack:r,eventId:u})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:r}=this.state,{onUnmount:n}=this.props;n&&n(e,t,r),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}__init(){this.resetErrorBoundary=()=>{let{onReset:e}=this.props,{error:t,componentStack:r,eventId:n}=this.state;e&&e(t,r,n),this.setState(iQ)}}render(){let{fallback:e,children:t}=this.props,r=this.state;if(r.error){let t;return(t="function"==typeof e?tS.createElement(e,{error:r.error,componentStack:r.componentStack,resetError:this.resetErrorBoundary,eventId:r.eventId}):e,tS.isValidElement(t))?t:(e&&iV&&y.vF.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof t?t():t}}function i0(e,t){let r=e.displayName||e.name||"unknown",n=r=>tS.createElement(iZ,{...t},tS.createElement(e,{...r}));return n.displayName=`errorBoundary(${r})`,iq(n,e),n}let i1={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function i2(e){let t={...i1,...e};return e=>(r,n)=>(t.attachReduxState&&(0,v.m6)().addEventProcessor((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch(e){}return e}),e((e,n)=>{let a=r(e,n),o=(0,v.o5)(),i=t.actionTransformer(n);null!=i&&(0,eI.Z)({category:"redux.action",data:i,type:"info"});let s=t.stateTransformer(a);if(null!=s){let e=(0,v.KU)(),t=e&&e.getOptions(),r=t&&t.normalizeDepth||3,n={state:{type:"redux",value:s}};(0,A.my)(n,"__sentry_override_normalization_depth__",3+r),o.setContext("state",n)}else o.setContext("state",null);let{configureScopeWithState:l}=t;return"function"==typeof l&&l(o,a),a},n))}function i3(e){let t=rk({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:n,match:a,instrumentPageLoad:o=!0,instrumentNavigation:i=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),o&&eh&&eh.location&&i4(n,eh.location,a,(t,r="url")=>{rN(e,{name:t,attributes:{[tx.uT]:"pageload",[tx.JD]:"auto.pageload.react.reactrouter_v3",[tx.i_]:r}})}),i&&r.listen&&r.listen(t=>{("PUSH"===t.action||"POP"===t.action)&&i4(n,t,a,(t,r="url")=>{rD(e,{name:t,attributes:{[tx.uT]:"navigation",[tx.JD]:"auto.navigation.react.reactrouter_v3",[tx.i_]:r}})})})}}}function i4(e,t,r,n){let a=t.pathname;r({location:t,routes:e},(e,t,r)=>{if(e||!r)return n(a);let o=function(e){if(!Array.isArray(e)||0===e.length)return"";let t=e.filter(e=>!!e.path),r=-1;for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.path&&n.path.startsWith("/")){r=e;break}}return t.slice(r).filter(({path:e})=>!!e).map(({path:e})=>e).join("")}(r.routes||[]);return 0===o.length||"/*"===o?n(a):n(a=o,"route")})}function i5(e,t={}){let r=rk({...t,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:n=!0,instrumentNavigation:a=!0}=t;return{...r,afterAllSetup(t){r.afterAllSetup(t);let o=eh.location;if(n&&o){let r=e.matchRoutes(o.pathname,e.options.parseSearch(o.search),{preload:!1,throwOnError:!1}),n=r[r.length-1];rN(t,{name:n?n.routeId:o.pathname,attributes:{[tx.uT]:"pageload",[tx.JD]:"auto.pageload.react.tanstack_router",[tx.i_]:n?"route":"url",...i6(n)}})}a&&e.subscribe("onBeforeNavigate",r=>{let n=r.fromLocation&&r.fromLocation.state;if(r.toLocation.state===n)return;let a=e.matchRoutes(r.toLocation.pathname,r.toLocation.search,{preload:!1,throwOnError:!1}),o=a[a.length-1],i=eh.location,s=rD(t,{name:o?o.routeId:i.pathname,attributes:{[tx.uT]:"navigation",[tx.JD]:"auto.navigation.react.tanstack_router",[tx.i_]:o?"route":"url"}}),l=e.subscribe("onResolved",t=>{if(l(),s){let r=e.matchRoutes(t.toLocation.pathname,t.toLocation.search,{preload:!1,throwOnError:!1}),n=r[r.length-1];n&&(s.updateName(n.routeId),s.setAttribute(tx.i_,"route"),s.setAttributes(i6(n)))}})})}}}function i6(e){if(!e)return{};let t={};
459return Object.entries(e.params).forEach(([e,r])=>{t[`url.path.params.${e}`]=r}),t}function i9(e){let t=rk({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:n,matchPath:a,instrumentPageLoad:o=!0,instrumentNavigation:i=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),i8(e,o,i,r,"reactrouter_v4",n,a)}}}function i7(e){let t=rk({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:n,matchPath:a,instrumentPageLoad:o=!0,instrumentNavigation:i=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),i8(e,o,i,r,"reactrouter_v5",n,a)}}}function i8(e,t,r,n,a,o=[],i){function s(e){if(0===o.length||!i)return[e,"url"];for(let t of function e(t,r,n,a=[]){return t.some(t=>{let o=t.path?n(r,t):a.length?a[a.length-1].match:{path:"/",url:"/",params:{},isExact:"/"===r};return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,r,n,a)),!!o}),a}(o,e,i))if(t.match.isExact)return[t.match.path,"route"];return[e,"url"]}if(t){let t=n&&n.location?n.location.pathname:eh&&eh.location?eh.location.pathname:void 0;if(t){let[r,n]=s(t);rN(e,{name:r,attributes:{[tx.uT]:"pageload",[tx.JD]:`auto.pageload.react.${a}`,[tx.i_]:n}})}}r&&n.listen&&n.listen((t,r)=>{if(r&&("PUSH"===r||"POP"===r)){let[r,n]=s(t.pathname);rD(e,{name:r,attributes:{[tx.uT]:"navigation",[tx.JD]:`auto.navigation.react.${a}`,[tx.i_]:n}})}})}function se(e){let t=e.displayName||e.name,r=t=>{if(t&&t.computedMatch&&t.computedMatch.isExact){let e=t.computedMatch.path,r=function(){let e=(0,W.Bk)(),t=e&&(0,W.zU)(e);if(!t)return;let r=(0,W.et)(t).op;return"navigation"===r||"pageload"===r?t:void 0}();(0,v.o5)().setTransactionName(e),r&&(r.updateName(e),r.setAttribute(tx.i_,"route"))}return tS.createElement(e,{...t})};return r.displayName=`sentryRoute(${t})`,iq(r,e),r}let st=!1,sr=new WeakSet,sn=new Set;function sa(e,t){return s&&l&&u&&d?function(r,n){r.forEach(e=>{sn.add(e)});let a=e(r,n),o=n&&n.basename,i=sb();return"POP"===a.state.historyAction&&i&&sv(i,a.state.location,r,void 0,o,Array.from(sn)),a.subscribe(e=>{("PUSH"===e.historyAction||"POP"===e.historyAction)&&("idle"!==e.navigation.state?requestAnimationFrame(()=>{sl({location:e.location,routes:r,navigationType:e.historyAction,version:t,basename:o,allRoutes:Array.from(sn)})}):sl({location:e.location,routes:r,navigationType:e.historyAction,version:t,basename:o,allRoutes:Array.from(sn)}))}),a}:(iV&&y.vF.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createRouter\` function because of one or more missing parameters.`),e)}function so(e,t){return s&&l&&u&&d?function(r,n){let a;r.forEach(e=>{sn.add(e)});let o=e(r,n),i=n?n.basename:void 0,s=sb(),l=n?n.initialEntries:void 0,u=n?n.initialIndex:void 0,c=l&&1===l.length,d=void 0!==u&&l&&l[u],p=(a=c?l[0]:d?l[u]:void 0)?"string"==typeof a?{pathname:a}:a:o.state.location;return"POP"===o.state.historyAction&&s&&sv(s,p,r,void 0,i,Array.from(sn)),o.subscribe(e=>{let n=e.location;("PUSH"===e.historyAction||"POP"===e.historyAction)&&sl({location:n,routes:r,navigationType:e.historyAction,version:t,basename:i,allRoutes:Array.from(sn)})}),o}:(iV&&y.vF.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createMemoryRouter\` function because of one or more missing parameters.`),e)}function si(e,t){let r=rk({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:n,useLocation:a,useNavigationType:o,createRoutesFromChildren:i,matchRoutes:p,stripBasename:f,instrumentPageLoad:h=!0,instrumentNavigation:m=!0}=e;return{...r,setup(){s=n,l=a,u=o,d=p,c=i,st=f||!1},afterAllSetup(e){r.afterAllSetup(e);let n=eh&&eh.location&&eh.location.pathname;h&&n&&rN(e,{name:n,attributes:{[tx.i_]:"url",[tx.uT]:"pageload",[tx.JD]:`auto.pageload.react.reactrouter_v${t}`}}),m&&sr.add(e)}}}function ss(e,t){if(!s||!l||!u||!d)return iV&&y.vF.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),e;let r=r=>{let n=tS.useRef(!0),{routes:a,locationArg:o}=r,i=e(a,o),c=l(),d=u(),p="string"==typeof o||o&&o.pathname?o:c;return s(()=>{let e="string"==typeof p?{pathname:p}:p;n.current?(a.forEach(e=>{sf(e).forEach(e=>{sn.add(e)})}),sv(sb(),e,a,void 0,void 0,Array.from(sn)),n.current=!1):sl({location:e,routes:a,navigationType:d,version:t,allRoutes:Array.from(sn)})},[d,p]),i};return(e,t)=>tS.createElement(r,{routes:e,locationArg:t})}function sl(e){let{location:t,routes:r,navigationType:n,version:a,matches:o,basename:i,allRoutes:s}=e,l=Array.isArray(o)?o:d(r,t,i),u=(0,v.KU)();if(u&&sr.has(u)&&("PUSH"===n||"POP"===n)&&l){let e,n="url",o=sp(t,s||r);o&&(e=sm(s_(s||r,t)),n="route"),o&&e||([e,n]=sg(r,t,l,i)),rD(u,{name:e,attributes:{[tx.i_]:n,[tx.uT]:"navigation",[tx.JD]:`auto.navigation.react.reactrouter_v${a}`}})}}function su(e,t){if(!t||"/"===t||!e.toLowerCase().startsWith(t.toLowerCase()))return e;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?e:e.slice(r)||"/"}function sc(e){return e.endsWith("*")}function sd(e,t){return sc(e)&&t.route.children&&t.route.children.length>0||!1}function sp(e,t){let r=d(t,e);if(r)for(let e of r){var n;if(!(n=e.route).children&&n.element&&n.path&&n.path.endsWith("/*")&&e.params["*"])return!0}return!1}
459function sf(e,t=new Set){return t.has(e)||(t.add(e),e.children&&!e.index&&e.children.forEach(e=>{sf(e,t).forEach(e=>t.add(e))})),t}function sh(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function sm(e){return"/"===e[0]?e:`/${e}`}function s_(e,t){let r=d(e,t);if(!r||0===r.length)return"";for(let a of r)if(a.route.path&&"*"!==a.route.path){var n;let r="*"===(n=a.route.path||"")[n.length-1]?n.slice(0,-1):n,o=su(t.pathname,sm(a.pathnameBase));return sh(sh(r||"")+sm(s_(e.filter(e=>e!==a.route),{pathname:o})))}return""}function sg(e,t,r,n=""){if(!e||0===e.length)return[st?su(t.pathname,n):t.pathname,"url"];let a="";if(r)for(let e of r){let r=e.route;if(r){if(r.index){var o=a,i=e.pathname;let t=o||st?su(i,n):i;return["/"===t[t.length-1]||"/*"===t.slice(-2)?t.slice(0,-1):t,"route"]}let s=r.path;if(s&&!sd(s,e)){let r="/"===s[0]||"/"===a[a.length-1]?s:`/${s}`;if(a=sh(a)+sm(r),sh(t.pathname)===sh(n+e.pathname)){if(ej(a)!==ej(e.pathname)&&!sc(a))return[(st?"":n)+r,"route"];return sd(a,e)&&(a=a.slice(0,-1)),[(st?"":n)+a,"route"]}}}}return[st?su(t.pathname,n):t.pathname||"/","url"]}function sv(e,t,r,n,a,o){let i=Array.isArray(n)?n:d(o||r,t,a);if(i){let n,s="url",l=sp(t,o||r);l&&(n=sm(s_(o||r,t)),s="route"),l&&n||([n,s]=sg(r,t,i,a)),(0,v.o5)().setTransactionName(n||"/"),e&&(e.updateName(n),e.setAttribute(tx.i_,s))}}function sy(e,t){if(!s||!l||!u||!c||!d)return iV&&y.vF.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters.
460      useEffect: ${s}. useLocation: ${l}. useNavigationType: ${u}.
461      createRoutesFromChildren: ${c}. matchRoutes: ${d}.`),e;let r=r=>{let n=tS.useRef(!0),a=l(),o=u();return s(()=>{let e=c(r.children);n.current?(e.forEach(e=>{sf(e).forEach(e=>{sn.add(e)})}),sv(sb(),a,e,void 0,void 0,Array.from(sn)),n.current=!1):sl({location:a,routes:e,navigationType:o,version:t,allRoutes:Array.from(sn)})},[a,o]),tS.createElement(e,{...r})};return iq(r,e),r}function sb(){let e=(0,W.Bk)(),t=e?(0,W.zU)(e):void 0;if(!t)return;let r=(0,W.et)(t).op;return"navigation"===r||"pageload"===r?t:void 0}function sE(e){return si(e,"6")}function sS(e){return ss(e,"6")}let sw=sS;function sT(e){return sa(e,"6")}let sP=sT;function sx(e){return so(e,"6")}function sR(e){return sy(e,"6")}function sC(e){return si(e,"7")}function sA(e){return sy(e,"7")}function sO(e){return sa(e,"7")}function sI(e){return so(e,"7")}function sk(e){return ss(e,"7")}},19649:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},20922:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(54806),a=r(95704),o=r(31246);function i(){return"undefined"!=typeof window&&(!(!(0,n.Z)()&&"[object process]"===Object.prototype.toString.call(void 0!==a?a:0))||function(){let e=o.O.process;return!!e&&"renderer"===e.type}())}},20935:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(33078),a=r(47670),o=r(13644),i=r(62296),s=r(71239),l=r(58607),u=r(55287),c=r(2471),d=r(98156),p=r(92385);function f(e,t,r){let f,h="string"==typeof t?t:(0,a.formatWithValidation)(t),m=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),_=m?h.slice(m[0].length):h;if((_.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+h+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(_);h=(m?m[0]:"")+t}if(!(0,l.isLocalURL)(h))return r?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let r=(0,d.getRouteRegex)(e.pathname);(0,p.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}f=new URL(t,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(h,f);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);
461i&&(t=(0,a.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(r,s)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[h]: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)},22461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(55287),a=r(78305);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},23418:(e,t,r)=>{"use strict";r.d(t,{Q:()=>a});var n=r(38599);let a=e=>{let t=t=>{("pagehide"===t.type||n.j.document&&"hidden"===n.j.document.visibilityState)&&e(t)};n.j.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))}},23989:(e,t,r)=>{"use strict";r.d(t,{z:()=>a});var n=r(38599);let a=(e=!0)=>{let t=n.j.performance&&n.j.performance.getEntriesByType&&n.j.performance.getEntriesByType("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t}},24362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return _},getClientBuildManifest:function(){return h},isAssetError:function(){return c},markAssetError:function(){return u}}),r(28140),r(80749);let n=r(35e3),a=r(4853),o=r(98301),i=r(77278);function s(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let l=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,l,{})}function c(e){return e&&l in e}let d=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),p=()=>(0,o.getDeploymentIdQueryOrEmptyString)();function f(e,t,r){return new Promise((n,o)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(o),(0,a.requestIdleCallback)(()=>setTimeout(()=>{i||o(r)},t))})}function h(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):f(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,u(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})))}function m(e,t){return h().then(r=>{if(!(t in r))throw u(Object.defineProperty(Error("Failed to lookup route: "+t),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let a=r[t].map(t=>e+"/_next/"+(0,i.encodeURIPath)(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+p()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+p())}})}function _(e){let t=new Map,r=new Map,n=new Map,o=new Map;function i(e){{var t;let n=r.get(e.toString());return n?n:document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(Object.defineProperty(Error("Failed to load script: "+e),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n)}}function l(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error("Failed to load stylesheet: "+e),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw u(e)})),t}return{whenEntrypoint:e=>s(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),o.delete(e))})}
461,loadRoute(r,n){return s(r,o,()=>{let a;return f(m(e,r).then(e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(i)),Promise.all(a.map(l))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,u(Object.defineProperty(Error("Route did not complete loading: "+r),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0}))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==a?void 0:a())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():m(e,t).then(e=>Promise.all(d?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let o='\n      link[rel="prefetch"][href^="'+t+'"],\n      link[rel="preload"][href^="'+t+'"],\n      script[src^="'+t+'"]';if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(u(Object.defineProperty(Error("Failed to prefetch: "+t),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,a.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25403:(e,t)=>{"use strict";function r(e,t,r,n,o){let i=e[t];if(o&&o.has(t)?i=o.get(t):Array.isArray(i)?i=i.map(e=>encodeURIComponent(e)):"string"==typeof i&&(i=encodeURIComponent(i)),!i){let o="oc"===r;if("c"===r||o)return o?{param:t,value:null,type:r,treeSegment:[t,"",r]}:{param:t,value:i=n.split("/").slice(1).flatMap(t=>{var r;let n=a(t);return null!=(r=e[n.key])?r:n.key}),type:r,treeSegment:[t,i.join("/"),r]}}return{param:t,value:i,treeSegment:[t,Array.isArray(i)?i.join("/"):i,r],type:r}}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PARAMETER_PATTERN:function(){return n},getDynamicParam:function(){return r},parseMatchedParameter:function(){return o},parseParameter:function(){return a}});let n=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function a(e){let t=e.match(n);return t?o(t[2]):o(e)}function o(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},28406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return a}});let n=r(80413);function a(e,t){let r=[],a=(0,n.pathToRegexp)(e,r,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),o=(0,n.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(a.source),a.flags):a,r);return(e,n)=>{if("string"!=typeof e)return!1;let a=o(e);if(!a)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of r)"number"==typeof e.name&&delete a.params[e.name];return{...n,...a.params}}}},31693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{hasAdjacentParameterIssues:function(){return n},normalizeAdjacentParameters:function(){return a},normalizeTokensForRegexp:function(){return o},stripParameterSeparators:function(){return i}});let r="_NEXTSEP_";function n(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function a(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${r}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${r}`)}function o(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function i(e){let t={};for(let[n,a]of Object.entries(e))"string"==typeof a?t[n]=a.replace(RegExp(`^${r}`),""):Array.isArray(a)?t[n]=a.map(e=>"string"==typeof e?e.replace(RegExp(`^${r}`),""):e):t[n]=a;return t}},32191:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var n=r(23989);let a=()=>{let e=(0,n.z)();return e&&e.activationStart||0}},33078:(e,t)=>{"use strict";function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)t.append(r,n(e));else t.set(r,n(a));return t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}
461Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return o},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return a}})},34738:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{safeCompile:function(){return i},safePathToRegexp:function(){return o},safeRegexpToFunction:function(){return s},safeRouteMatcher:function(){return l}});let n=r(80413),a=r(31693);function o(e,t,r){if("string"!=typeof e)return(0,n.pathToRegexp)(e,t,r);let o=(0,a.hasAdjacentParameterIssues)(e),i=o?(0,a.normalizeAdjacentParameters)(e):e;try{return(0,n.pathToRegexp)(i,t,r)}catch(i){if(!o)try{let o=(0,a.normalizeAdjacentParameters)(e);return(0,n.pathToRegexp)(o,t,r)}catch(e){}throw i}}function i(e,t){let r=(0,a.hasAdjacentParameterIssues)(e),o=r?(0,a.normalizeAdjacentParameters)(e):e;try{return(0,n.compile)(o,t)}catch(o){if(!r)try{let r=(0,a.normalizeAdjacentParameters)(e);return(0,n.compile)(r,t)}catch(e){}throw o}}function s(e,t){let r=(0,n.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,a.stripParameterSeparators)(t.params)}}}function l(e){return t=>{let r=e(t);return!!r&&(0,a.stripParameterSeparators)(r)}}},35e3:(e,t)=>{"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37849:(e,t,r)=>{"use strict";e.exports=r(68381)},38599:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});let n=r(31246).O},40364:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var n=r(61571),a=r(96939);function o(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){n.T&&a.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}},40579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(62296),a=r(33078);function o(e,t,r){void 0===r&&(r=!0);let o=new URL((0,n.getLocationOrigin)()),i=t?new URL(t,o):e.startsWith(".")?new URL(window.location.href):o,{pathname:s,searchParams:l,search:u,hash:c,href:d,origin:p}=new URL(e,i);if(p!==o.origin)throw Object.defineProperty(Error("invariant: invalid relative URL, router received "+e),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:s,query:r?(0,a.searchParamsToUrlQuery)(l):void 0,search:u,hash:c,href:d.slice(p.length),slashes:void 0}}},40926:(e,t,r)=>{"use strict";let n,a,o,i,s,l;r.d(t,{a9:()=>B,T5:()=>z,hT:()=>q,Pt:()=>H,wv:()=>X,YG:()=>W,tC:()=>er});var u=r(96939),c=r(25030),d=r(96812);let p=(e,t,r,n)=>{let a,o;return i=>{t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,r),e(t))}};var f=r(38599),h=r(32191),m=r(23989);let _=(e,t)=>{let r=(0,m.z)(),n="navigate";return r&&(f.j.document&&f.j.document.prerendering||(0,h.b)()>0?n="prerender":f.j.document&&f.j.document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:n}},g=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}};var v=r(23418);let y=e=>{let t=!1;return()=>{t||(e(),t=!0)}};var b=r(14231);let E=e=>{f.j.document&&f.j.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},S=[1800,3e3],w=[.1,.25],T=[100,300],P=0,x=1/0,R=0,C=e=>
461{e.forEach(e=>{e.interactionId&&(x=Math.min(x,e.interactionId),P=(R=Math.max(R,e.interactionId))?(R-x)/7+1:0)})},A=[],O=new Map,I=[],k=e=>{if(I.forEach(t=>t(e)),!(e.interactionId||"first-input"===e.entryType))return;let t=A[A.length-1],r=O.get(e.interactionId);if(r||A.length<10||t&&e.duration>t.latency){if(r)e.duration>r.latency?(r.entries=[e],r.latency=e.duration):e.duration===r.latency&&e.startTime===(r.entries[0]&&r.entries[0].startTime)&&r.entries.push(e);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};O.set(t.id,t),A.push(t)}A.sort((e,t)=>t.latency-e.latency),A.length>10&&A.splice(10).forEach(e=>O.delete(e.id))}},N=e=>{let t=f.j.requestIdleCallback||f.j.setTimeout,r=-1;return e=y(e),f.j.document&&"hidden"===f.j.document.visibilityState?e():(r=t(e),(0,v.Q)(e)),r},D=[200,500],M=[2500,4e3],L={},j=[800,1800],F=e=>{f.j.document&&f.j.document.prerendering?E(()=>F(e)):f.j.document&&"complete"!==f.j.document.readyState?addEventListener("load",()=>F(e),!0):setTimeout(e,0)},U={},$={};function B(e,t=!1){return Z("cls",e,K,a,t)}function H(e,t=!1){return Z("lcp",e,J,i,t)}function z(e){return Z("fid",e,Y,o)}function W(e){return Z("ttfb",e,V,s)}function q(e){return Z("inp",e,Q,l)}function X(e,t){return ee(e,t),$[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),g(e,t=>{G(e,{entries:t})},t)}(e),$[e]=!0),et(e,t)}function G(e,t){let r=U[e];if(r&&r.length)for(let n of r)try{n(t)}catch(t){d.T&&u.vF.error(`Error while triggering instrumentation handler.
462Type: ${e}
463Name: ${(0,c.qQ)(n)}
464Error:`,t)}}function K(){return((e,t={})=>{((e,t={})=>{E(()=>{let r,n=(0,b.N)(),a=_("FCP"),o=g("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<n.firstHiddenTime&&(a.value=Math.max(e.startTime-(0,h.b)(),0),a.entries.push(e),r(!0)))})});o&&(r=p(e,a,S,t.reportAllChanges))})})(y(()=>{let r,n=_("CLS",0),a=0,o=[],i=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=o[0],r=o[o.length-1];a&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e])}}),a>n.value&&(n.value=a,n.entries=o,r())},s=g("layout-shift",i);s&&(r=p(e,n,w,t.reportAllChanges),(0,v.Q)(()=>{i(s.takeRecords()),r(!0)}),setTimeout(r,0))}))})(e=>{G("cls",{metric:e}),a=e},{reportAllChanges:!0})}function Y(){return((e,t={})=>{E(()=>{let r,n=(0,b.N)(),a=_("FID"),o=e=>{e.startTime<n.firstHiddenTime&&(a.value=e.processingStart-e.startTime,a.entries.push(e),r(!0))},i=e=>{e.forEach(o)},s=g("first-input",i);r=p(e,a,T,t.reportAllChanges),s&&(0,v.Q)(y(()=>{i(s.takeRecords()),s.disconnect()}))})})(e=>{G("fid",{metric:e}),o=e})}function J(){return((e,t={})=>{E(()=>{let r,n=(0,b.N)(),a=_("LCP"),o=e=>{t.reportAllChanges||(e=e.slice(-1)),e.forEach(e=>{e.startTime<n.firstHiddenTime&&(a.value=Math.max(e.startTime-(0,h.b)(),0),a.entries=[e],r())})},i=g("largest-contentful-paint",o);if(i){r=p(e,a,M,t.reportAllChanges);let n=y(()=>{L[a.id]||(o(i.takeRecords()),i.disconnect(),L[a.id]=!0,r(!0))});["keydown","click"].forEach(e=>{f.j.document&&addEventListener(e,()=>N(n),{once:!0,capture:!0})}),(0,v.Q)(n)}})})(e=>{G("lcp",{metric:e}),i=e},{reportAllChanges:!0})}function V(){return((e,t={})=>{let r=_("TTFB"),n=p(e,r,j,t.reportAllChanges);F(()=>{let e=(0,m.z)();e&&(r.value=Math.max(e.responseStart-(0,h.b)(),0),r.entries=[e],n(!0))})})(e=>{G("ttfb",{metric:e}),s=e})}function Q(){return((e,t={})=>{"PerformanceEventTiming"in f.j&&"interactionId"in PerformanceEventTiming.prototype&&E(()=>{let r;"interactionCount"in performance||n||(n=g("event",C,{type:"event",buffered:!0,durationThreshold:0}));let a=_("INP"),o=e=>{N(()=>{e.forEach(k);let t=(()=>{let e=Math.min(A.length-1,Math.floor(((n?P:performance.interactionCount||0)-0)/50));return A[e]})();t&&t.latency!==a.value&&(a.value=t.latency,a.entries=t.entries,r())})},i=g("event",o,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});r=p(e,a,D,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),(0,v.Q)(()=>{o(i.takeRecords()),r(!0)}))})})(e=>{G("inp",{metric:e}),l=e})}function Z(e,t,r,n,a=!1){let o;return ee(e,t),$[e]||(o=r(),$[e]=!0),n&&t({metric:n}),et(e,t,a?o:void 0)}function ee(e,t){U[e]=U[e]||[],U[e].push(t)}function et(e,t,r){return()=>{r&&r();let n=U[e];if(!n)return;let a=n.indexOf(t);-1!==a&&n.splice(a,1)}}function er(e){return"duration"in e}},41402:(e,t,r)=>{"use strict";
464Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return m}});let n=r(28140),a=r(49417),o=r(95155),i=n._(r(47650)),s=a._(r(12115)),l=r(82073),u=r(94681),c=r(4853),d=new Map,p=new Set,f=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:s="",strategy:l="afterInteractive",onError:c,stylesheets:f}=e,h=r||t;if(h&&p.has(h))return;if(d.has(t)){p.add(h),d.get(t).then(n,c);return}let m=()=>{a&&a(),p.add(h)},_=document.createElement("script"),g=new Promise((e,t)=>{_.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),_.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(_.innerHTML=o.__html||"",m()):s?(_.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",m()):t&&(_.src=t,d.set(t,g)),(0,u.setAttributesFromProps)(_,e),"worker"===l&&_.setAttribute("type","text/partytown"),_.setAttribute("data-nscript",l),f&&(e=>{if(i.default.preinit)return e.forEach(e=>{i.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(f),document.body.appendChild(_)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>f(e))}):f(e)}function m(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function _(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:u="afterInteractive",onError:d,stylesheets:h,...m}=e,{updateScripts:_,scripts:g,getIsSsr:v,appDir:y,nonce:b}=(0,s.useContext)(l.HeadManagerContext);b=m.nonce||b;let E=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;E.current||(a&&e&&p.has(e)&&a(),E.current=!0)},[a,t,r]);let S=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!S.current){if("afterInteractive"===u)f(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>f(e))}));S.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(_?(g[u]=(g[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:d,...m,nonce:b}]),_(g)):v&&v()?p.add(t||r):v&&!v()&&f({...e,nonce:b})),y){if(h&&h.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:t}])+")"}});else return i.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...m,id:t}])+")"}});"afterInteractive"===u&&r&&i.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(_,"__nextScript",{value:!0});let g=_;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41616:e=>{"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},42742:(e,t)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},44333:(e,t,r)=>{"use strict";let n;r.d(t,{_:()=>l});var a=r(90570);let o=r(31246).O;var i=r(21408),s=r(38599);function l(e){let t="history";(0,a.s5)(t,e),(0,a.AS)(t,u)}function u(){if(!function(){let e=o.chrome,t=e&&e.app&&e.app.runtime,r="history"in o&&!!o.history.pushState&&!!o.history.replaceState;return!t&&r}())return;let e=s.j.onpopstate;function t(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let e=n,t=String(r);n=t,(0,a.aj)("history",{from:e,to:t})}return e.apply(this,t)}}s.j.onpopstate=function(...t){let r=s.j.location.href,o=n;if(n=r,(0,a.aj)("history",{from:o,to:r}),e)try{return e.apply(this,t)}catch(e){}},(0,i.GS)(s.j.history,"pushState",t),(0,i.GS)(s.j.history,"replaceState",t)}},44761:(e,t)=>{"use strict";
464Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return a},getSortedRoutes:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let r=a.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("…"))throw Object.defineProperty(Error("Detected a three-dot character ('…') at ('"+r+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Object.defineProperty(Error("Segment names may not start or end with extra brackets ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(r.startsWith("."))throw Object.defineProperty(Error("Segment names may not start with erroneous periods ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function o(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Object.defineProperty(Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(n)if(i){if(null!=this.restSlugName)throw Object.defineProperty(Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});o(this.restSlugName,r),this.restSlugName=r,a="[...]"}else{if(i)throw Object.defineProperty(Error('Optional route parameters are not yet supported ("'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});o(this.slugName,r),this.slugName=r,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;
464return e.forEach(e=>t.insert(e)),t.smoosh()}function a(e,t){let r={},a=[];for(let n=0;n<e.length;n++){let o=t(e[n]);r[o]=n,a[n]=o}return n(a).map(t=>e[r[t]])}},47670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return o},formatWithValidation:function(){return s},urlObjectKeys:function(){return i}});let n=r(49417)._(r(33078)),a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",i=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+o+u+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return o(e)}},48288:(e,t,r)=>{"use strict";r.d(t,{AD:()=>u,SB:()=>i,hH:()=>s});var n=r(95595),a=r(96939);let o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(e,t=!1){let{host:r,path:n,pass:a,port:o,projectId:s,protocol:l,publicKey:u}=e;return`${l}://${u}${t&&a?`:${a}`:""}@${r}${o?`:${o}`:""}/${n?`${n}/`:n}${s}`}function s(e){let t=o.exec(e);if(!t)return void(0,a.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,n,i="",s="",u="",c=""]=t.slice(1),d="",p=c,f=p.split("/");if(f.length>1&&(d=f.slice(0,-1).join("/"),p=f.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return l({host:s,pass:i,path:d,projectId:p,port:u,protocol:r,publicKey:n})}function l(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function u(e){let t="string"==typeof e?s(e):l(e);if(t&&function(e){if(!n.T)return!0;let{port:t,projectId:r,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(a.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==o&&"https"!==o?(a.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):!(t&&isNaN(parseInt(t,10)))||(a.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(a.vF.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}},52894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(77700),a=r(73879),o=r(77886),i=r(6997);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},54806:(e,t,r)=>{"use strict";function n(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function a(){return"npm"}r.d(t,{Z:()=>n,e:()=>a})},55287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});let n=r(44761),a=r(72421)},58110:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return q},default:function(){return K},matchesMiddleware:function(){return j}});let a=r(28140),o=r(49417),i=r(77700),s=r(24362),l=r(41402),u=o._(r(42444)),c=r(22461),d=r(61940),p=a._(r(82025)),f=r(62296),h=r(72421),m=r(40579),_=r(92385),g=r(98156),v=r(47670);r(75078);let y=r(5240),b=r(79785),E=r(8518),S=r(51755),w=r(96058),T=r(92929),P=r(20935),x=r
464(42742),R=r(76293),C=r(52894),A=r(19649),O=r(58607),I=r(93913),k=r(13644),N=r(2471),D=r(84170),M=r(16832);function L(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function j(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,T.hasBasePath)(r)?(0,S.removeBasePath)(r):r,a=(0,w.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function F(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){let[n,a]=(0,P.resolveHref)(e,t,!0),o=(0,f.getLocationOrigin)(),i=n.startsWith(o),s=a&&a.startsWith(o);n=F(n),a=a?F(a):a;let l=i?n:(0,w.addBasePath)(n),u=r?F((0,P.resolveHref)(e,r)):a||n;return{url:l,as:s?u:(0,w.addBasePath)(u)}}function $(e,t){let r=(0,i.removeTrailingSlash)((0,c.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,h.isDynamicRoute)(t)&&(0,g.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,i.removeTrailingSlash)(e))}async function B(e){if(!await j(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let a={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!0},o=t.headers.get("x-nextjs-rewrite"),l=o||t.headers.get("x-nextjs-matched-path"),u=t.headers.get(M.MATCHED_PATH_HEADER);if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let t=(0,m.parseRelativeUrl)(l),u=(0,R.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),c=(0,i.removeTrailingSlash)(u.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,s.getClientBuildManifest)()]).then(a=>{let[i,{__rewrites:s}]=a,l=(0,b.addLocale)(u.pathname,u.locale);if((0,h.isDynamicRoute)(l)||!o&&i.includes((0,d.normalizeLocalePath)((0,S.removeBasePath)(l),r.router.locales).pathname)){let r=(0,R.getNextPathnameInfo)((0,m.parseRelativeUrl)(e).pathname,{nextConfig:void 0,parseData:!0});t.pathname=l=(0,w.addBasePath)(r.pathname)}{let e=n(l,i,s,t.query,e=>$(e,i),r.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,l=t.pathname,Object.assign(t.query,e.parsedAs.query))}let p=i.includes(c)?c:$((0,d.normalizeLocalePath)((0,S.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,h.isDynamicRoute)(p)){let e=(0,_.getRouteMatcher)((0,g.getRouteRegex)(p))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:p}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,C.formatNextPathnameInfo)({...(0,R.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=(0,y.parsePath)(c),t=(0,C.formatNextPathnameInfo)({...(0,R.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}n=r(7511).A;let H=Symbol("SSG_DATA_NOT_FOUND");function z(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:a,isServerRender:o,parseJSON:i,persistCache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),p=e=>{var u;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(t,o?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&a?{"x-middleware-prefetch":"1"}:{},{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then(e=>{if(!r.ok){if(a&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};if(404===r.status){var n;if(null==(n=z(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:H},response:r,text:e,cacheKey:d}}let i=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,
464configurable:!0});throw o||(0,s.markAssetError)(i),i}return{dataHref:t,json:i?z(e):null,response:r,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e)).catch(e=>{throw c||delete r[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,s.markAssetError)(e),e})};return c&&l?p({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[d]=Promise.resolve(e)),e)):void 0!==r[d]?r[d]:r[d]=p(u?{method:"HEAD"}:{})}function q(){return Math.random().toString(36).slice(2,10)}function X(e){let{url:t,router:r}=e;if(t===(0,w.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Object.defineProperty(Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=t}let G=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0};return()=>{if(n){let e=Object.defineProperty(Error('Abort fetching component for route: "'+t+'"'),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}};class K{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,n,a){{if(!this._bfl_s&&!this._bfl_d){let t,o,{BloomFilter:i}=r(71727);try{({__routerFilterStatic:t,__routerFilterDynamic:o}=await (0,s.getClientBuildManifest)())}catch(t){if(console.error(t),a)return!0;return X({url:(0,w.addBasePath)((0,b.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}(null==t?void 0:t.numHashes)&&(this._bfl_s=new i(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==o?void 0:o.numHashes)&&(this._bfl_d=new i(o.numItems,o.errorRate),this._bfl_d.import(o))}let c=!1,d=!1;for(let{as:r,allowMatchCurrent:s}of[{as:e},{as:t}])if(r){let t=(0,i.removeTrailingSlash)(new URL(r,"http://n").pathname),p=(0,w.addBasePath)((0,b.addLocale)(t,n||this.locale));if(s||t!==(0,i.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var o,l,u;for(let e of(c=c||!!(null==(o=this._bfl_s)?void 0:o.contains(t))||!!(null==(l=this._bfl_s)?void 0:l.contains(p)),[t,p])){let t=e.split("/");for(let e=0;!d&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&(null==(u=this._bfl_d)?void 0:u.contains(r))){d=!0;break}}}if(c||d){if(a)return!0;return X({url:(0,w.addBasePath)((0,b.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,a,o){var c,d,p,P,x,R,C,I,D;let M,F;if(!(0,O.isLocalURL)(t))return X({url:t,router:this}),!1;let B=1===a._h;B||a.shallow||await this._bfl(r,void 0,a.locale);let z=B||a._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,W={...this.state},q=!0!==this.isReady;this.isReady=!0;let G=this.isSsr;if(B||(this.isSsr=!1),B&&this.clc)return!1;let Y=W.locale;f.ST&&performance.mark("routeChange");let{shallow:J=!1,scroll:V=!0}=a,Q={shallow:J};this._inFlightRoute&&this.clc&&(G||K.events.emit("routeChangeError",L(),this._inFlightRoute,Q),this.clc(),this.clc=null),r=(0,w.addBasePath)((0,b.addLocale)((0,T.hasBasePath)(r)?(0,S.removeBasePath)(r):r,a.locale,this.defaultLocale));let Z=(0,E.removeLocale)((0,T.hasBasePath)(r)?(0,S.removeBasePath)(r):r,W.locale);this._inFlightRoute=r;let ee=Y!==W.locale;if(!B&&this.onlyAHashChange(Z)&&!ee){W.asPath=Z,K.events.emit("hashChangeStart",r,Q),this.changeState(e,t,r,{...a,scroll:!1}),V&&this.scrollToHash(Z);try{await this.set(W,this.components[W.route],null)}catch(e){throw(0,u.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,Z,Q),e}return K.events.emit("hashChangeComplete",r,Q),!0}let et=(0,m.parseRelativeUrl)(t),{pathname:er,query:en}=et;try{[M,{__rewrites:F}]=await Promise.all([this.pageLoader.getPageList(),(0,s.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return X({url:r,router:this}),!1}this.urlIsNew(Z)||ee||(e="replaceState");let ea=r;er=er?(0,i.removeTrailingSlash)((0,S.removeBasePath)(er)):er;let eo=(0,i.removeTrailingSlash)(er),ei=r.startsWith("/")&&(0,m.parseRelativeUrl)(r).pathname;if(null==(c=this.components[er])?void 0:c.__appRouter)return X({url:r,router:this}),new Promise(()=>{});let es=!!(ei&&eo!==ei&&(!(0,h.isDynamicRoute)(eo)||!(0,_.getRouteMatcher)((0,g.getRouteRegex)(eo))(ei))),el=!a.shallow&&await j({asPath:r,locale:W.locale,router:this});if(B&&el&&(z=!1),z&&"/_error"!==er)if(a._shouldResolveHref=!0,r.startsWith("/")){let e=n((0,w.addBasePath)((0,b.addLocale)(Z,W.locale),!0),M,F,en,e=>$(e,M),this.locales);if(e.externalDest)return X({url:r,router:this}),!0;el||(ea=e.asPath),e.matchedPage&&e.resolvedHref&&(er=e.resolvedHref,et.pathname=(0,w.addBasePath)(er),el||(t=(0,v.formatWithValidation)(et)))}else et.pathname=$(er,M),et.pathname!==er&&(er=et.pathname,et.pathname=(0,w.addBasePath)(er),el||(t=(0,v.formatWithValidation)(et)));if(!(0,O.isLocalURL)(r))return X({url:r,router:this}),!1;ea=(0,E.removeLocale)((0,S.removeBasePath)(ea),W.locale),eo=(0,i.removeTrailingSlash)(er);let eu=!1;if((0,h.isDynamicRoute)(eo)){let e=(0,m.parseRelativeUrl)(ea),n=e.pathname,a=(0,g.getRouteRegex)(eo);eu=(0,_.getRouteMatcher)(a)(n);let o=eo===n,i=o?(0,N.interpolateAs)(eo,n,en):{};if(eu&&(!o||i.result))o?r=(0,v.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,k.omit)(en,i.params)})):Object.assign(en,eu);else{let e=Object.keys(a.groups).filter(e=>!en[e]&&!a.groups[e].optional);if(e.length>0&&!el)throw Object.defineProperty(Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as")),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,
464configurable:!0})}}B||K.events.emit("routeChangeStart",r,Q);let ec="/404"===this.pathname||"/_error"===this.pathname;try{let n=await this.getRouteInfo({route:eo,pathname:er,query:en,as:r,resolvedAs:ea,routeProps:Q,locale:W.locale,isPreview:W.isPreview,hasMiddleware:el,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:B&&!this.isFallback,isMiddlewareRewrite:es});if(B||a.shallow||await this._bfl(r,"resolvedAs"in n?n.resolvedAs:void 0,W.locale),"route"in n&&el){eo=er=n.route||eo,Q.shallow||(en=Object.assign({},n.query||{},en));let e=(0,T.hasBasePath)(et.pathname)?(0,S.removeBasePath)(et.pathname):et.pathname;if(eu&&er!==e&&Object.keys(eu).forEach(e=>{eu&&en[e]===eu[e]&&delete en[e]}),(0,h.isDynamicRoute)(er)){let e=!Q.shallow&&n.resolvedAs?n.resolvedAs:(0,w.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,W.locale),!0);(0,T.hasBasePath)(e)&&(e=(0,S.removeBasePath)(e));let t=(0,g.getRouteRegex)(er),a=(0,_.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(en,a)}}if("type"in n)if("redirect-internal"===n.type)return this.change(e,n.newUrl,n.newAs,a);else return X({url:n.destination,router:this}),new Promise(()=>{});let i=n.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,l.handleClientScriptLoad)(e.props)}),(n.__N_SSG||n.__N_SSP)&&n.props){if(n.props.pageProps&&n.props.pageProps.__N_REDIRECT){a.locale=!1;let t=n.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==n.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,m.parseRelativeUrl)(t);r.pathname=$(r.pathname,M);let{url:n,as:o}=U(this,t,t);return this.change(e,n,o,a)}return X({url:t,router:this}),new Promise(()=>{})}if(W.isPreview=!!n.props.__N_PREVIEW,n.props.notFound===H){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(n=await this.getRouteInfo({route:e,pathname:e,query:en,as:r,resolvedAs:ea,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isNotFound:!0}),"type"in n)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}B&&"/_error"===this.pathname&&(null==(p=self.__NEXT_DATA__.props)||null==(d=p.pageProps)?void 0:d.statusCode)===500&&(null==(P=n.props)?void 0:P.pageProps)&&(n.props.pageProps.statusCode=500);let s=a.shallow&&W.route===(null!=(x=n.route)?x:eo),c=null!=(R=a.scroll)?R:!B&&!s,f=null!=o?o:c?{x:0,y:0}:null,v={...W,route:eo,pathname:er,query:en,asPath:Z,isFallback:!1};if(B&&ec){if(n=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:en,as:r,resolvedAs:ea,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isQueryUpdating:B&&!this.isFallback}),"type"in n)throw Object.defineProperty(Error("Unexpected middleware effect on "+this.pathname),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&(null==(I=self.__NEXT_DATA__.props)||null==(C=I.pageProps)?void 0:C.statusCode)===500&&(null==(D=n.props)?void 0:D.pageProps)&&(n.props.pageProps.statusCode=500);try{await this.set(v,n,f)}catch(e){throw(0,u.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,Z,Q),e}return!0}if(K.events.emit("beforeHistoryChange",r,Q),this.changeState(e,t,r,a),!(B&&!f&&!q&&!ee&&(0,A.compareRouterStates)(v,this.state))){try{await this.set(v,n,f)}catch(e){if(e.cancelled)n.error=n.error||e;else throw e}if(n.error)throw B||K.events.emit("routeChangeError",n.error,Z,Q),n.error;B||K.events.emit("routeChangeComplete",r,Q),c&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,u.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:q()},"",r))}async handleRouteInfoError(e,t,r,n,a,o){if(e.cancelled)throw e;if((0,s.isAssetError)(e)||o)throw K.events.emit("routeChangeError",e,n,a),X({url:n,router:this}),L();console.error(e);try{let n,{page:a,styleSheets:o}=await this.fetchComponent("/_error"),i={props:n,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,u.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
464configurable:!0}),t,r,n,a,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:a,resolvedAs:o,routeProps:s,locale:l,hasMiddleware:c,isPreview:p,unstable_skipClientCache:f,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:_}=e,g=t;try{var y,b,E,w;let e=this.components[g];if(s.shallow&&e&&this.route===g)return e;let t=G({route:g,router:this});c&&(e=void 0);let u=!e||"initial"in e?void 0:e,T={dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":o,locale:l}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:f,isBackground:h},P=h&&!m?null:await B({fetchData:()=>W(T),asPath:_?"/404":o,locale:l,router:this}).catch(e=>{if(h)return null;throw e});if(P&&("/_error"===r||"/404"===r)&&(P.effect=void 0),h&&(P?P.json=self.__NEXT_DATA__.props:P={json:self.__NEXT_DATA__.props}),t(),(null==P||null==(y=P.effect)?void 0:y.type)==="redirect-internal"||(null==P||null==(b=P.effect)?void 0:b.type)==="redirect-external")return P.effect;if((null==P||null==(E=P.effect)?void 0:E.type)==="rewrite"){let t=(0,i.removeTrailingSlash)(P.effect.resolvedHref),a=await this.pageLoader.getPageList();if((!h||a.includes(t))&&(g=t,r=P.effect.resolvedHref,n={...n,...P.effect.parsedAs.query},o=(0,S.removeBasePath)((0,d.normalizeLocalePath)(P.effect.parsedAs.pathname,this.locales).pathname),e=this.components[g],s.shallow&&e&&this.route===g&&!c))return{...e,route:g}}if((0,x.isAPIRoute)(g))return X({url:a,router:this}),new Promise(()=>{});let R=u||await this.fetchComponent(g).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),C=null==P||null==(w=P.response)?void 0:w.headers.get("x-middleware-skip"),A=R.__N_SSG||R.__N_SSP;C&&(null==P?void 0:P.dataHref)&&delete this.sdc[P.dataHref];let{props:O,cacheKey:I}=await this._getData(async()=>{if(A){if((null==P?void 0:P.json)&&!C)return{cacheKey:P.cacheKey,props:P.json};let e=(null==P?void 0:P.dataHref)?P.dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:r,query:n}),asPath:o,locale:l}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:C?{}:this.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:f});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(R.Component,{pathname:r,query:n,asPath:a,locale:l,locales:this.locales,defaultLocale:this.defaultLocale})}});return R.__N_SSP&&T.dataHref&&I&&delete this.sdc[I],this.isPreview||!R.__N_SSG||h||W(Object.assign({},T,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),O.pageProps=Object.assign({},O.pageProps),R.props=O,R.route=g,R.query=n,R.resolvedAs=o,this.components[g]=R,R}catch(e){return this.handleRouteInfoError((0,u.getProperError)(e),r,n,a,s)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,a]=e.split("#",2);return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,D.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,I.isBot)(window.navigator.userAgent))return;let a=(0,m.parseRelativeUrl)(e),o=a.pathname,{pathname:l,query:u}=a,c=l,d=await this.pageLoader.getPageList(),p=t,f=void 0!==r.locale?r.locale||void 0:this.locale,T=await j({asPath:t,locale:f,router:this});if(t.startsWith("/")){let r;({__rewrites:r}=await (0,s.getClientBuildManifest)());let o=n((0,w.addBasePath)((0,b.addLocale)(t,this.locale),!0),d,r,a.query,e=>$(e,d),this.locales);if(o.externalDest)return;T||(p=(0,E.removeLocale)((0,S.removeBasePath)(o.asPath),this.locale)),o.matchedPage&&o.resolvedHref&&(a.pathname=l=o.resolvedHref,T||(e=(0,v.formatWithValidation)(a)))}a.pathname=$(a.pathname,d),(0,h.isDynamicRoute)(a.pathname)&&(l=a.pathname,a.pathname=l,Object.assign(u,(0,_.getRouteMatcher)((0,g.getRouteRegex)(a.pathname))((0,y.parsePath)(t).pathname)||{}),T||(e=(0,v.formatWithValidation)(a)));let P=await B({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:c,query:u}),skipInterpolation:!0,asPath:p,locale:f}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persist
464Cache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==P?void 0:P.effect.type)==="rewrite"&&(a.pathname=P.effect.resolvedHref,l=P.effect.resolvedHref,u={...u,...P.effect.parsedAs.query},p=P.effect.parsedAs.pathname,e=(0,v.formatWithValidation)(a)),(null==P?void 0:P.effect.type)==="redirect-external")return;let x=(0,i.removeTrailingSlash)(l);await this._bfl(t,p,r.locale,!0)&&(this.components[o]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(x).then(t=>!!t&&W({dataHref:(null==P?void 0:P.json)?null==P?void 0:P.dataHref:this.pageLoader.getDataHref({href:e,asPath:p,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](x)])}async fetchComponent(e){let t=G({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,f.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,{initialProps:n,pageLoader:a,App:o,wrapApp:s,Component:l,err:u,subscription:c,isFallback:d,locale:p,locales:_,defaultLocale:g,domainLocales:y,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=q(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,v.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),(0,f.getURL)());return}if(n.__NA)return void window.location.reload();if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:o,options:i,key:s}=n;this._key=s;let{pathname:l}=(0,m.parseRelativeUrl)(a);(!this.isSsr||o!==(0,w.addBasePath)(this.asPath)||l!==(0,w.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let E=(0,i.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[E]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=K.events,this.pageLoader=a;let S=(0,h.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!S&&!self.location.search&&0),this.state={route:E,pathname:e,query:t,asPath:S?e:r,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:p},a=(0,f.getURL)();this._initialMatchesMiddlewarePromise=j({router:this,locale:p,asPath:a}).then(o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:(0,v.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),a,n),o))}window.addEventListener("popstate",this.onPopState)}}K.events=(0,p.default)()},58607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(62296),a=r(92929);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},59059:(e,t,r)=>{"use strict";function n(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:n}=r(4300);return n(Array.isArray(t)?t.join("; "):t)}}
464Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return n}})},61940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let o=e.split("/",2);if(!o[1])return{pathname:e};let i=o[1].toLowerCase(),s=a.indexOf(i);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},62032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return o}});let n=r(33078),a=r(40579);function o(e){if(e.startsWith("/"))return(0,a.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,n.searchParamsToUrlQuery)(t.searchParams),search:t.search,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}},62234:(e,t,r)=>{"use strict";r.d(t,{Er:()=>s,Mn:()=>l});var n=r(90570),a=r(61406),o=r(56819),i=r(38599);let s="__sentry_xhr_v3__";function l(e){(0,n.s5)("xhr",e),(0,n.AS)("xhr",u)}function u(){if(!i.j.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let i=Error(),l=1e3*(0,a.zf)(),u=(0,o.Kg)(r[0])?r[0].toUpperCase():void 0,c=function(e){if((0,o.Kg)(e))return e;try{return e.toString()}catch(e){}}(r[1]);if(!u||!c)return e.apply(t,r);t[s]={method:u,url:c,request_headers:{}},"POST"===u&&c.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let d=()=>{let e=t[s];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}let r={endTimestamp:1e3*(0,a.zf)(),startTimestamp:l,xhr:t,virtualError:i};(0,n.aj)("xhr",r)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(d(),e.apply(t,r))}):t.addEventListener("readystatechange",d),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[n,a]=r,i=t[s];return i&&(0,o.Kg)(n)&&(0,o.Kg)(a)&&(i.request_headers[n.toLowerCase()]=a),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let o=t[s];if(!o)return e.apply(t,r);void 0!==r[0]&&(o.body=r[0]);let i={startTimestamp:1e3*(0,a.zf)(),xhr:t};return(0,n.aj)("xhr",i),e.apply(t,r)}})}},62296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return _},SP:function(){return p},ST:function(){return f},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return s},isAbsoluteUrl:function(){return o},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return y}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];return r||(r=!0,t=e(...a)),t}}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>a.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
464configurable:!0});return n}let p="undefined"!=typeof performance,f=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function y(e){return JSON.stringify({message:e.message,stack:e.stack})}},64459:(e,t,r)=>{"use strict";r.d(t,{Cj:()=>v,W3:()=>l,bN:()=>p,bm:()=>m,h4:()=>s,hP:()=>c,mE:()=>f,n2:()=>y,y5:()=>h,yH:()=>u,zk:()=>g});var n=r(48288),a=r(83696),o=r(21408),i=r(31246);function s(e,t=[]){return[e,t]}function l(e,t){let[r,n]=e;return[r,[...n,t]]}function u(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function c(e,t){return u(e,(e,r)=>t.includes(r))}function d(e){return i.O.__SENTRY__&&i.O.__SENTRY__.encodePolyfill?i.O.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function p(e){let[t,r]=e,n=JSON.stringify(t);function o(e){"string"==typeof n?n="string"==typeof e?n+e:[d(n),e]:n.push("string"==typeof e?d(e):e)}for(let e of r){let[t,r]=e;if(o(`
465${JSON.stringify(t)}
466`),"string"==typeof r||r instanceof Uint8Array)o(r);else{let e;try{e=JSON.stringify(r)}catch(t){e=JSON.stringify((0,a.S8)(r))}o(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}function f(e){let t="string"==typeof e?d(e):e;function r(e){let r=t.subarray(0,e);return t=t.subarray(e+1),r}function n(){var e;let n=t.indexOf(10);return n<0&&(n=t.length),JSON.parse((e=r(n),i.O.__SENTRY__&&i.O.__SENTRY__.decodePolyfill?i.O.__SENTRY__.decodePolyfill(e):new TextDecoder().decode(e)))}let a=n(),o=[];for(;t.length;){let e=n(),t="number"==typeof e.length?e.length:void 0;o.push([e,t?r(t):n()])}return[a,o]}function h(e){return[{type:"span"},e]}function m(e){let t="string"==typeof e.data?d(e.data):e.data;return[(0,o.Ce)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let _={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function g(e){return _[e]}function v(e){if(!e||!e.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function y(e,t,r,a){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&a&&{dsn:(0,n.SB)(a)},...i&&{trace:(0,o.Ce)({...i})}}}},65359:(e,t,r)=>{"use strict";r.d(t,{a3:()=>s,m7:()=>l,vQ:()=>u,vm:()=>i});var n=r(95595),a=r(96939);let o=r(31246).O;function i(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function l(){if("string"==typeof EdgeRuntime)return!0;if(!i())return!1;if(s(o.fetch))return!0;let e=!1,t=o.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=s(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){n.T&&a.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function u(){return"ReportingObserver"in o}},68381:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,_=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case o:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case _:case m:case l:return e;default:return t}}case a:return t}}}function S(e){return E(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=_,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||E(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===_},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b||e.$$typeof===g)},t.typeOf=E},71727:(e,t)=>{"use strict";
466Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},72421:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let n=r(57630),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,o=/\/\[[^/]+\](?=\/|$)/;function i(e,t){return(void 0===t&&(t=!0),(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?o.test(e):a.test(e)}},73360:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return o.default},createRouter:function(){return m},default:function(){return f},makePublicRouterInstance:function(){return _},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(28140),a=n._(r(12115)),o=n._(r(58110)),i=r(79862),s=n._(r(42444)),l=n._(r(15657)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function p(){if(!u.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return u.router}Object.defineProperty(u,"events",{get:()=>o.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>p()[e]})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return p()[e](...r)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let a="on"+e.charAt(0).toUpperCase()+e.substring(1);if(u[a])try{u[a](...r)}catch(e){console.error("Error when running the Router event: "+a),console.error((0,s.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let f=u;function h(){let e=a.default.useContext(i.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new o.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function _(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return e[r](...n)}}),t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
466dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[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)},76076:(e,t,r)=>{"use strict";var n=r(37849),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var a=f(r);a&&a!==h&&e(t,a,n)}var i=c(r);d&&(i=i.concat(d(r)));for(var s=l(t),m=l(r),_=0;_<i.length;++_){var g=i[_];if(!o[g]&&!(n&&n[g])&&!(m&&m[g])&&!(s&&s[g])){var v=p(r,g);try{u(t,g,v)}catch(e){}}}}return t}},76293:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(61940),a=r(76726),o=r(2018);function i(e,t){var r,i;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,o.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,a.removePathPrefix)(c.pathname,s),c.basePath=s);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");c.buildId=e[0],d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,n.normalizeLocalePath)(d,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},76726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=r(2018);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},77886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=r(5240);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+r+t+a+o}},78305:(e,t)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},79232:(e,t,r)=>{"use strict";function n(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}r.d(t,{t:()=>n})},79785:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(71239);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];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)},79862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(28140)._(r(12115)).default.createContext(null)},80413:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var a="",o=r+1;o<e.length;){var i=e.charCodeAt(o);if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i){a+=e[o++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:a}),r=o;continue}if("("===n){var s=1,l="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if("\\"===e[o]){l+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--s){o++;break}}else if("("===e[o]&&(s++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at ".concat(o));l+=e[o++]}if(s)throw TypeError("Unbalanced pattern at ".concat(r));if(!l)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=o;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,o=void 0===n?"./":n,i=t.delimiter,s=void 0===i?"/#?":i,l=[],u=0,c=0,d="",p=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},f=function(e){var t=p(e);if(void 0!==t)return t;var n=r[c],a=n.type,o=n.index;throw TypeError("Unexpected ".concat(a," at ").concat(o,", expected ").concat(e))},h=function(){for(var e,t="";e=p("CHAR")||p("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var r=s[t];if(e.indexOf(r)>-1)return!0}return!1},_=function(e){var t=l[l.length-1],r=e||(t&&"string"==typeof t?t:"");
466if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||m(r)?"[^".concat(a(s),"]+?"):"(?:(?!".concat(a(r),")[^").concat(a(s),"])+?")};c<r.length;){var g=p("CHAR"),v=p("NAME"),y=p("PATTERN");if(v||y){var b=g||"";-1===o.indexOf(b)&&(d+=b,b=""),d&&(l.push(d),d=""),l.push({name:v||u++,prefix:b,suffix:"",pattern:y||_(b),modifier:p("MODIFIER")||""});continue}var E=g||p("ESCAPED_CHAR");if(E){d+=E;continue}if(d&&(l.push(d),d=""),p("OPEN")){var b=h(),S=p("NAME")||"",w=p("PATTERN")||"",T=h();f("CLOSE"),l.push({name:S||(w?u++:""),pattern:S&&!w?_(b):w,prefix:b,suffix:T,modifier:p("MODIFIER")||""});continue}f("END")}return l}function r(e,t){void 0===t&&(t={});var r=o(t),n=t.encode,a=void 0===n?function(e){return e}:n,i=t.validate,s=void 0===i||i,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var o=e[n];if("string"==typeof o){r+=o;continue}var i=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(i)){if(!c)throw TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===i.length){if(u)continue;throw TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var d=0;d<i.length;d++){var p=a(i[d],o);if(s&&!l[n].test(p))throw TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(p,'"'));r+=o.prefix+p+o.suffix}continue}if("string"==typeof i||"number"==typeof i){var p=a(String(i),o);if(s&&!l[n].test(p))throw TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(p,'"'));r+=o.prefix+p+o.suffix;continue}if(!u){var f=c?"an array":"a string";throw TypeError('Expected "'.concat(o.name,'" to be ').concat(f))}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,a=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var o=n[0],i=n.index,s=Object.create(null),l=1;l<n.length;l++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return a(e,r)}):s[r.name]=a(n[e],r)}}(l);return{path:o,index:i,params:s}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function i(e,t,r){void 0===r&&(r={});for(var n=r.strict,i=void 0!==n&&n,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,d=r.delimiter,p=r.endsWith,f="[".concat(a(void 0===p?"":p),"]|$"),h="[".concat(a(void 0===d?"/#?":d),"]"),m=void 0===s||s?"^":"",_=0;_<e.length;_++){var g=e[_];if("string"==typeof g)m+=a(c(g));else{var v=a(c(g.prefix)),y=a(c(g.suffix));if(g.pattern)if(t&&t.push(g),v||y)if("+"===g.modifier||"*"===g.modifier){var b="*"===g.modifier?"?":"";m+="(?:".concat(v,"((?:").concat(g.pattern,")(?:").concat(y).concat(v,"(?:").concat(g.pattern,"))*)").concat(y,")").concat(b)}else m+="(?:".concat(v,"(").concat(g.pattern,")").concat(y,")").concat(g.modifier);else{if("+"===g.modifier||"*"===g.modifier)throw TypeError('Can not repeat "'.concat(g.name,'" without a prefix and suffix'));m+="(".concat(g.pattern,")").concat(g.modifier)}else m+="(?:".concat(v).concat(y,")").concat(g.modifier)}}if(void 0===l||l)i||(m+="".concat(h,"?")),m+=r.endsWith?"(?=".concat(f,")"):"$";else{var E=e[e.length-1],S="string"==typeof E?h.indexOf(E[E.length-1])>-1:void 0===E;i||(m+="(?:".concat(h,"(?=").concat(f,"))?")),S||(m+="(?=".concat(h,"|").concat(f,")"))}return new RegExp(m,o(r))}function s(t,r,n){if(t instanceof RegExp){var a;if(!r)return t;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(t.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(t.source);return t}return Array.isArray(t)?(a=t.map(function(e){return s(e,r,n).source}),new RegExp("(?:".concat(a.join("|"),")"),o(n))):i(e(t,n),r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0,t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=i,t.pathToRegexp=s})(),e.exports=t})()},80749:(e,t)=>
466{"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},81611:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(2257),a=r(96939),o=r(61406);function i(e,t){let r=(0,n.KU)(),i=(0,n.rm)();if(!r)return;let{beforeBreadcrumb:s=null,maxBreadcrumbs:l=100}=r.getOptions();if(l<=0)return;let u={timestamp:(0,o.lu)(),...e},c=s?(0,a.pq)(()=>s(u,t)):u;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),i.addBreadcrumb(c,l))}},82025:(e,t)=>{"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},87037:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{compileNonPath:function(){return c},matchHas:function(){return u},parseDestination:function(){return d},prepareDestination:function(){return p}});let n=r(13314),a=r(62032),o=r(57630),i=r(59059),s=r(34738);function l(e){return e.replace(/__ESC_COLON_/gi,":")}function u(e,t,r,n){void 0===r&&(r=[]),void 0===n&&(n=[]);let a={},o=r=>{let n,o=r.key;switch(r.type){case"header":o=o.toLowerCase(),n=e.headers[o];break;case"cookie":n="cookies"in e?e.cookies[r.key]:(0,i.getCookieParser)(e.headers)()[r.key];break;case"query":n=t[o];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};n=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!r.value&&n)return a[function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);(n>64&&n<91||n>96&&n<123)&&(t+=e[r])}return t}(o)]=n,!0;if(n){let e=RegExp("^"+r.value+"$"),t=Array.isArray(n)?n.slice(-1)[0].match(e):n.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{a[e]=t.groups[e]}):"host"===r.type&&t[0]&&(a.host=t[0])),!0}return!1};return!(!r.every(e=>o(e))||n.some(e=>o(e)))&&a}function c(e,t){if(!e.includes(":"))return e;for(let r of Object.keys(t))e.includes(":"+r)&&(e=e.replace(RegExp(":"+r+"\\*","g"),":"+r+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+r+"\\?","g"),":"+r+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+r+"\\+","g"),":"+r+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+r+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+r));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,s.safeCompile)("/"+e,{validate:!1})(t).slice(1)}function d(e){let t=e.destination;for(let r of Object.keys({...e.params,...e.query}))r&&(t=t.replace(RegExp(":"+(0,n.escapeStringRegexp)(r),"g"),"__ESC_COLON_"+r));let r=(0,a.parseUrl)(t),o=r.pathname;o&&(o=l(o));let i=r.href;i&&(i=l(i));let s=r.hostname;s&&(s=l(s));let u=r.hash;u&&(u=l(u));let c=r.search;return c&&(c=l(c)),{...r,pathname:o,hostname:s,href:i,hash:u,search:c}}function p(e){let t,r,n=d(e),{hostname:a,query:i,search:u}=n,p=n.pathname;n.hash&&(p=""+p+n.hash);let f=[],h=[];for(let e of((0,s.safePathToRegexp)(p,h),h))f.push(e.name);if(a){let e=[];for(let t of((0,s.safePathToRegexp)(a,e),e))f.push(t.name)}let m=(0,s.safeCompile)(p,{validate:!1});for(let[r,n]of(a&&(t=(0,s.safeCompile)(a,{validate:!1})),Object.entries(i)))Array.isArray(n)?i[r]=n.map(t=>c(l(t),e.params)):"string"==typeof n&&(i[r]=c(l(n),e.params));let _=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!_.some(e=>f.includes(e)))for(let t of _)t in i||(i[t]=e.params[t]);if((0,o.isInterceptionRouteAppPath)(p))for(let t of p.split("/")){let r=o.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(r){"(..)(..)"===r?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=r;break}}try{let[a,o]=(r=m(e.params)).split("#",2);t&&(n.hostname=t(e.params)),n.pathname=a,n.hash=(o?"#":"")+(o||""),n.search=u?c(u,e.params):""}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,
466configurable:!0});throw e}return n.query={...e.query,...n.query},{newUrl:r,destQuery:i,parsedDestination:n}}},90570:(e,t,r)=>{"use strict";r.d(t,{AS:()=>u,aj:()=>c,s5:()=>l});var n=r(95595),a=r(96939),o=r(25030);let i={},s={};function l(e,t){i[e]=i[e]||[],i[e].push(t)}function u(e,t){if(!s[e]){s[e]=!0;try{t()}catch(t){n.T&&a.vF.error(`Error while instrumenting ${e}`,t)}}}function c(e,t){let r=e&&i[e];if(r)for(let i of r)try{i(t)}catch(t){n.T&&a.vF.error(`Error while triggering instrumentation handler.
467Type: ${e}
468Name: ${(0,o.qQ)(i)}
469Error:`,t)}}},92385:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(62296),a=r(34738);function o(e){let{re:t,groups:r}=e;return(0,a.safeRouteMatcher)(e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},i={};for(let[e,t]of Object.entries(r)){let r=a[t.pos];void 0!==r&&(t.repeat?i[e]=r.split("/").map(e=>o(e)):i[e]=o(r))}return i})}},96538:(e,t,r)=>{"use strict";function n(e){let t,r=e[0],n=1;for(;n<e.length;){let a=e[n],o=e[n+1];if(n+=2,("optionalAccess"===a||"optionalCall"===a)&&null==r)return;"access"===a||"optionalAccess"===a?(t=r,r=o(r)):("call"===a||"optionalCall"===a)&&(r=o((...e)=>r.call(t,...e)),t=void 0)}return r}r.d(t,{z:()=>n})},96812:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},98156:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return f},getNamedRouteRegex:function(){return p},getRouteRegex:function(){return u}});let n=r(16832),a=r(57630),o=r(13314),i=r(77700),s=r(25403);function l(e,t,r){let n={},l=1,u=[];for(let c of(0,i.removeTrailingSlash)(e).slice(1).split("/")){let e=a.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),i=c.match(s.PARAMETER_PATTERN);if(e&&i&&i[2]){let{key:t,optional:r,repeat:a}=(0,s.parseMatchedParameter)(i[2]);n[t]={pos:l++,repeat:a,optional:r},u.push("/"+(0,o.escapeStringRegexp)(e)+"([^/]+?)")}else if(i&&i[2]){let{key:e,repeat:t,optional:a}=(0,s.parseMatchedParameter)(i[2]);n[e]={pos:l++,repeat:t,optional:a},r&&i[1]&&u.push("/"+(0,o.escapeStringRegexp)(i[1]));let c=t?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&i[1]&&(c=c.substring(1)),u.push(c)}else u.push("/"+(0,o.escapeStringRegexp)(c));t&&i&&i[3]&&u.push((0,o.escapeStringRegexp)(i[3]))}return{parameterizedRoute:u.join(""),groups:n}}function u(e,t){let{includeSuffix:r=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:a=!1}=void 0===t?{}:t,{parameterizedRoute:o,groups:i}=l(e,r,n),s=o;return a||(s+="(?:/)?"),{re:RegExp("^"+s+"$"),groups:i}}function c(e){let t,{interceptionMarker:r,getSafeRouteKey:n,segment:a,routeKeys:i,keyPrefix:l,backreferenceDuplicateKeys:u}=e,{key:c,optional:d,repeat:p}=(0,s.parseMatchedParameter)(a),f=c.replace(/\W/g,"");l&&(f=""+l+f);let h=!1;(0===f.length||f.length>30)&&(h=!0),isNaN(parseInt(f.slice(0,1)))||(h=!0),h&&(f=n());let m=f in i;l?i[f]=""+l+c:i[f]=c;let _=r?(0,o.escapeStringRegexp)(r):"";return t=m&&u?"\\k<"+f+">":p?"(?<"+f+">.+?)":"(?<"+f+">[^/]+?)",d?"(?:/"+_+t+")?":"/"+_+t}function d(e,t,r,l,u){let d,p=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),f={},h=[];for(let d of(0,i.removeTrailingSlash)(e).slice(1).split("/")){let e=a.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),i=d.match(s.PARAMETER_PATTERN);if(e&&i&&i[2])h.push(c({getSafeRouteKey:p,interceptionMarker:i[1],segment:i[2],routeKeys:f,keyPrefix:t?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:u}));else if(i&&i[2]){l&&i[1]&&h.push("/"+(0,o.escapeStringRegexp)(i[1]));let e=c({getSafeRouteKey:p,segment:i[2],routeKeys:f,keyPrefix:t?n.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:u});l&&i[1]&&(e=e.substring(1)),h.push(e)}
469else h.push("/"+(0,o.escapeStringRegexp)(d));r&&i&&i[3]&&h.push((0,o.escapeStringRegexp)(i[3]))}return{namedParameterizedRoute:h.join(""),routeKeys:f}}function p(e,t){var r,n,a;let o=d(e,t.prefixRouteKeys,null!=(r=t.includeSuffix)&&r,null!=(n=t.includePrefix)&&n,null!=(a=t.backreferenceDuplicateKeys)&&a),i=o.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(i+="(?:/)?"),{...u(e,t),namedRegex:"^"+i+"$",routeKeys:o.routeKeys}}function f(e,t){let{parameterizedRoute:r}=l(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:a}=d(e,!1,!1,!1,!1);return{namedRegex:"^"+a+(n?"(?:(/.*)?)":"")+"$"}}}}]);

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.