1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2744,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getAssetPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(62872);function a(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new n.InvariantError(`Expected document.currentScript to be a <script> element. Received ${e} instead.`),"__NEXT_ERROR_CODE",{value:"E783",enumerable:!1,configurable:!0});let{pathname:t}=new URL(e.src),r=t.indexOf("/_next/");if(-1===r)throw Object.defineProperty(new n.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${e.src} instead.`),"__NEXT_ERROR_CODE",{value:"E784",enumerable:!1,configurable:!0});return t.slice(0,r)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},23136,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},a=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(e){return["async","defer","noModule"].includes(e)}function o(e,t){for(let[r,o]of Object.entries(t)){if(!t.hasOwnProperty(r)||a.includes(r)||void 0===o)continue;let s=n[r]||r.toLowerCase();"SCRIPT"===e.tagName&&i(s)?e[s]=!!o:e.setAttribute(s,String(o)),(!1===o||"SCRIPT"===e.tagName&&i(s)&&(!o||"false"===o))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},574,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"appBootstrap",{enumerable:!0,get:function(){return i}});let n=e.r(2744),a=e.r(23136);function i(e){var t,r;let i=(0,n.getAssetPrefix)();t=self.__next_s,r=()=>{e(i)},t&&t.length?t.reduce((e,[t,r])=>e.then(()=>new Promise((e,n)=>{let i=document.createElement("script");r&&(0,a.setAttributesFromProps)(i,r),t?(i.src=t,i.onload=()=>e(),i.onerror=n):r&&(i.innerHTML=r.children,setTimeout(e)),document.head.appendChild(i)})),Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}window.next={version:"16.1.6",appDir:!0},("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},96685,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getObjectClassLabel:function(){return i},isPlainObject:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function i(e){return Object.prototype.toString.call(e)}function o(e){if("[object Object]"!==i(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},53399,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return o},getProperError:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(96685);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function s(e){let t;return o(e)?e:Object.defineProperty(Error((0,i.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},76060,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"reportGlobalError",{enumerable:!0,get:function(){return n}});let n="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65504,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(96220),o=e.r(15673),s=i._(e.r(53399)),l=e.r(76060),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,s.default)(e)&&"cause"in e?e.cause:e;(0,o.isBailoutToCSRError)(t)||(0,l.reportGlobalError)(t)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44842,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BloomFilter",{enumerable:!0,get:function(){return n}});class n{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let r=new n(e.length,t);for(let t of e)r.add(t);return r}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}}},18568,(e,t,r)=>{"use strict";function n(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}})},27780,(e,t,r)=>{"use strict";let n;function a(e){return(void 0===n&&"u">typeof window&&(n=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),n)?.createScriptURL(e)||e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="u">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)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},78386,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createRouteLoader:function(){return y},getClientBuildManifest:function(){return _},isAssetError:function(){return p},markAssetError:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});e.r(96220),e.r(18568);let i=e.r(27780),o=e.r(90879),s=e.r(74339),l=e.r(59911);function u(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let i=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:i}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):i}let c=Symbol("ASSET_LOAD_ERROR");function d(e){return Object.defineProperty(e,c,{})}function p(e){return e&&c in e}let f=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}(),h=()=>(0,s.getDeploymentIdQueryOrEmptyString)();function m(e,t,r){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(()=>setTimeout(()=>{i||a(r)},t))})}function _(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):m(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,d(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,
1configurable:!0})))}function g(e,t){return _().then(r=>{if(!(t in r))throw d(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let n=r[t].map(t=>e+"/_next/"+(0,l.encodeURIPath)(t));return{scripts:n.filter(e=>e.endsWith(".js")).map(e=>(0,i.__unsafeCreateTrustedScriptURL)(e)+h()),css:n.filter(e=>e.endsWith(".css")).map(e=>e+h())}})}function y(e){let t=new Map,r=new Map,n=new Map,a=new Map;function i(e){{var t;let n=r.get(e.toString());return n?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(d(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n)}}function s(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw d(e)})),t}return{whenEntrypoint:e=>u(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})}
1,loadRoute(r,n){return u(r,a,()=>{let a;return m(g(e,r).then(({scripts:e,css:n})=>Promise.all([t.has(r)?[]:Promise.all(e.map(i)),Promise.all(n.map(s))])).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,d(Object.defineProperty(Error(`Route did not complete loading: ${r}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0}))).then(({entrypoint:e,styles:t})=>{let r=Object.assign({styles:t},e);return"error"in e?e:r}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>a?.())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():g(e,t).then(e=>Promise.all(f?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let i=` 2 link[rel="prefetch"][href^="${t}"], 3 link[rel="preload"][href^="${t}"], 4 script[src^="${t}"]`;if(document.querySelector(i))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(d(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,o.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88442,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},handleClientScriptLoad:function(){return _},initScriptLoader:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(96220),o=e.r(24930),s=e.r(46882),l=i._(e.r(21890)),u=o._(e.r(55118)),c=e.r(28508),d=e.r(23136),p=e.r(90879),f=new Map,h=new Set,m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:i,children:o="",strategy:s="afterInteractive",onError:u,stylesheets:c}=e,p=r||t;if(p&&h.has(p))return;if(f.has(t)){h.add(p),f.get(t).then(n,u);return}let m=()=>{a&&a(),h.add(p)},_=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){u&&u(e)});i?(_.innerHTML=i.__html||"",m()):o?(_.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):t&&(_.src=t,f.set(t,g)),(0,d.setAttributesFromProps)(_,e),"worker"===s&&_.setAttribute("type","text/partytown"),_.setAttribute("data-nscript",s),c&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){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)})}})(c),document.body.appendChild(_)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:i="afterInteractive",onError:o,stylesheets:d,...f}=e,{updateScripts:_,scripts:g,getIsSsr:y,appDir:v,nonce:b}=(0,u.useContext)(c.HeadManagerContext);b=f.nonce||b;let E=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;E.current||(a&&e&&h.has(e)&&a(),E.current=!0)},[a,t,r]);let S=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!S.current){if("afterInteractive"===i)m(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,p.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>m(e))}));S.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(_?(g[i]=(g[i]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:o,...f,nonce:b}]),_(g)):y&&y()?h.add(t||r):y&&!y()&&m({...e,nonce:b})),v){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!r)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...f,id:t}])})`}});else return l.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin}),(0,s.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...f,id:t}])})`}});"afterInteractive"===i&&r&&l.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let v=y;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44200,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getSortedRouteObjects:function(){return s},getSortedRoutes:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});class i{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),r}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let n=e[0];if(n.startsWith("[")&&n.endsWith("]")){let i=n.slice(1,-1),o=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),o=!0),i.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${i}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(i.startsWith("...")&&(i=i.substring(3),r=!0),i.startsWith("[")||i.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${i}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(i.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${i}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(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,"")===n.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${r}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(r)if(o){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,n="[[...]]"}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});a(this.restSlugName,i),this.restSlugName=i,n="[...]"}else{if(o)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});a(this.slugName,i),this.slugName=i,n="[]"}}this.children.has(n)||this.children.set(n,new i),this.children.get(n)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(e){let t=new i;
4return e.forEach(e=>t.insert(e)),t.smoosh()}function s(e,t){let r={},n=[];for(let a=0;a<e.length;a++){let i=t(e[a]);r[i]=a,n[a]=i}return o(n).map(t=>e[r[t]])}},41213,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let n=e.r(68434),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,i=/\/\[[^/]+\](?=\/|$)/;function o(e,t=!0){return((0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?i.test(e):a.test(e)}},75011,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getSortedRouteObjects:function(){return i.getSortedRouteObjects},getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(44200),o=e.r(41213)},61977,(e,t,r)=>{"use strict";function n(e){return e.replace(/\\/g,"/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathSep",{enumerable:!0,get:function(){return n}})},7345,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let n=e.r(75011),a=e.r(61977);function i(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},3706,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e,t){let r;if(!t)return{pathname:e};let a=n.get(t);a||(a=t.map(e=>e.toLowerCase()),n.set(t,a));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),s=a.indexOf(o);return s<0?{pathname:e}:(r=t[s],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}},23193,(e,t,r)=>{"use strict";function n(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t,...r){(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}})},41063,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let n=e.r(23869),a=e.r(17516);function i(e,t,r=!0){let o=new URL("u"<typeof window?"http://n":(0,n.getLocationOrigin)()),s=t?new URL(t,o):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):o,{pathname:l,searchParams:u,search:c,hash:d,href:p,origin:f}=new URL(e,s);if(f!==o.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:l,query:r?(0,a.searchParamsToUrlQuery)(u):void 0,search:c,hash:d,href:p.slice(f.length),slashes:void 0}}},54655,(e,t,r)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/website/node_modules/next/dist/compiled/path-to-regexp/");var e={};(()=>{function t(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="",i=r+1;i<e.length;){var o=e.charCodeAt(i);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){a+=e[i++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:a}),r=i;continue}if("("===n){var s=1,l="",i=r+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '.concat(i));for(;i<e.length;){if("\\"===e[i]){l+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--s){i++;break}}else if("("===e[i]&&(s++,"?"!==e[i+1]))throw TypeError("Capturing groups are not allowed at ".concat(i));l+=e[i++]}if(s)throw TypeError("Unbalanced pattern at ".concat(r));if(!l)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=i;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,i=void 0===n?"./":n,o=t.delimiter,s=void 0===o?"/#?":o,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,i=n.index;throw TypeError("Unexpected ".concat(a," at ").concat(i,", 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:"");
4if(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"),y=p("NAME"),v=p("PATTERN");if(y||v){var b=g||"";-1===i.indexOf(b)&&(d+=b,b=""),d&&(l.push(d),d=""),l.push({name:y||u++,prefix:b,suffix:"",pattern:v||_(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")||"",P=p("PATTERN")||"",R=h();f("CLOSE"),l.push({name:S||(P?u++:""),pattern:S&&!P?_(b):P,prefix:b,suffix:R,modifier:p("MODIFIER")||""});continue}f("END")}return l}function r(e,t){void 0===t&&(t={});var r=i(t),n=t.encode,a=void 0===n?function(e){return e}:n,o=t.validate,s=void 0===o||o,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var i=e[n];if("string"==typeof i){r+=i;continue}var o=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(i.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(i.name,'" to not be empty'))}for(var d=0;d<o.length;d++){var p=a(o[d],i);if(s&&!l[n].test(p))throw TypeError('Expected all "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(p,'"'));r+=i.prefix+p+i.suffix}continue}if("string"==typeof o||"number"==typeof o){var p=a(String(o),i);if(s&&!l[n].test(p))throw TypeError('Expected "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(p,'"'));r+=i.prefix+p+i.suffix;continue}if(!u){var f=c?"an array":"a string";throw TypeError('Expected "'.concat(i.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 i=n[0],o=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:i,index:o,params:s}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function o(e,t,r){void 0===r&&(r={});for(var n=r.strict,o=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 y=a(c(g.prefix)),v=a(c(g.suffix));if(g.pattern)if(t&&t.push(g),y||v)if("+"===g.modifier||"*"===g.modifier){var b="*"===g.modifier?"?":"";m+="(?:".concat(y,"((?:").concat(g.pattern,")(?:").concat(v).concat(y,"(?:").concat(g.pattern,"))*)").concat(v,")").concat(b)}else m+="(?:".concat(y,"(").concat(g.pattern,")").concat(v,")").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(y).concat(v,")").concat(g.modifier)}}if(void 0===l||l)o||(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;o||(m+="(?:".concat(h,"(?=").concat(f,"))?")),S||(m+="(?=".concat(h,"|").concat(f,")"))}return new RegExp(m,i(r))}function s(e,r,n){if(e instanceof RegExp){var a;if(!r)return e;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(e.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(e.source);return e}return Array.isArray(e)?(a=e.map(function(e){return s(e,r,n).source}),new RegExp("(?:".concat(a.join("|"),")"),i(n))):o(t(e,n),r,n)}Object.defineProperty(e,"__esModule",{value:!0}),e.pathToRegexp=e.tokensToRegexp=e.regexpToFunction=e.match=e.tokensToFunction=e.compile=e.parse=void 0,e.parse=t,e.compile=function(e,n){return r(t(e,n),n)},e.tokensToFunction=r,e.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},e.regexpToFunction=n,e.tokensToRegexp=o,e.pathToRegexp=s})(),t.exports=e})()},54853,(e,t,r)=>{"use strict";
4Object.defineProperty(r,"__esModule",{value:!0});var n={PARAM_SEPARATOR:function(){return i},hasAdjacentParameterIssues:function(){return o},normalizeAdjacentParameters:function(){return s},normalizeTokensForRegexp:function(){return l},stripNormalizedSeparators:function(){return u},stripParameterSeparators:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="_NEXTSEP_";function o(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 s(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${i}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${i}`)}function l(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 u(e){return e.replace(RegExp(`\\)${i}`,"g"),")")}function c(e){let t={};for(let[r,n]of Object.entries(e))"string"==typeof n?t[r]=n.replace(RegExp(`^${i}`),""):Array.isArray(n)?t[r]=n.map(e=>"string"==typeof e?e.replace(RegExp(`^${i}`),""):e):t[r]=n;return t}},74672,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={safeCompile:function(){return l},safePathToRegexp:function(){return s},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(54655),o=e.r(54853);function s(e,t,r){if("string"!=typeof e)return(0,i.pathToRegexp)(e,t,r);let n=(0,o.hasAdjacentParameterIssues)(e),a=n?(0,o.normalizeAdjacentParameters)(e):e;try{return(0,i.pathToRegexp)(a,t,r)}catch(a){if(!n)try{let n=(0,o.normalizeAdjacentParameters)(e);return(0,i.pathToRegexp)(n,t,r)}catch(e){}throw a}}function l(e,t){let r=(0,o.hasAdjacentParameterIssues)(e),n=r?(0,o.normalizeAdjacentParameters)(e):e;try{let e=(0,i.compile)(n,t);if(r)return t=>(0,o.stripNormalizedSeparators)(e(t));return e}catch(n){if(!r)try{let r=(0,o.normalizeAdjacentParameters)(e),n=(0,i.compile)(r,t);return e=>(0,o.stripNormalizedSeparators)(n(e))}catch(e){}throw n}}function u(e,t){let r=(0,i.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,o.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let r=e(t);return!!r&&(0,o.stripParameterSeparators)(r)}}},46180,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let n=e.r(23869),a=e.r(74672);function i({re:e,groups:t}){return(0,a.safeRouteMatcher)(r=>{let a=e.exec(r);if(!a)return!1;let i=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,r]of Object.entries(t)){let t=a[r.pos];void 0!==t&&(r.repeat?o[e]=t.split("/").map(e=>i(e)):o[e]=i(t))}return o})}},66283,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ACTION_SUFFIX:function(){return _},APP_DIR_ALIAS:function(){return D},CACHE_ONE_YEAR:function(){return O},DOT_NEXT_ALIAS:function(){return L},ESLINT_DEFAULT_DIRS:function(){return ea},GSP_NO_RETURNED_VALUE:function(){return Q},GSSP_COMPONENT_MEMBER_ERROR:function(){return et},GSSP_NO_RETURNED_VALUE:function(){return Z},HTML_CONTENT_TYPE_HEADER:function(){return o},INFINITE_CACHE:function(){return A},INSTRUMENTATION_HOOK_FILENAME:function(){return k},JSON_CONTENT_TYPE_HEADER:function(){return s},MATCHED_PATH_HEADER:function(){return c},MIDDLEWARE_FILENAME:function(){return C},MIDDLEWARE_LOCATION_REGEXP:function(){return j},NEXT_BODY_SUFFIX:function(){return v},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return T},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return E},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return S},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return x},NEXT_CACHE_TAGS_HEADER:function(){return b},NEXT_CACHE_TAG_MAX_ITEMS:function(){return R},NEXT_CACHE_TAG_MAX_LENGTH:function(){return w},NEXT_DATA_SUFFIX:function(){return g},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return u}
4,NEXT_META_SUFFIX:function(){return y},NEXT_QUERY_PARAM_PREFIX:function(){return l},NEXT_RESUME_HEADER:function(){return P},NON_STANDARD_NODE_ENV:function(){return er},PAGES_DIR_ALIAS:function(){return M},PRERENDER_REVALIDATE_HEADER:function(){return d},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return p},PROXY_FILENAME:function(){return I},PROXY_LOCATION_REGEXP:function(){return N},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return z},ROOT_DIR_ALIAS:function(){return $},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return q},RSC_ACTION_ENCRYPTION_ALIAS:function(){return X},RSC_ACTION_PROXY_ALIAS:function(){return B},RSC_ACTION_VALIDATE_ALIAS:function(){return H},RSC_CACHE_WRAPPER_ALIAS:function(){return F},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return W},RSC_MOD_REF_PROXY_ALIAS:function(){return U},RSC_SEGMENTS_DIR_SUFFIX:function(){return f},RSC_SEGMENT_SUFFIX:function(){return h},RSC_SUFFIX:function(){return m},SERVER_PROPS_EXPORT_ERROR:function(){return J},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Y},SERVER_PROPS_SSG_CONFLICT:function(){return V},SERVER_RUNTIME:function(){return ei},SSG_FALLBACK_EXPORT_ERROR:function(){return en},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return G},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return K},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return i},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return ee},WEBPACK_LAYERS:function(){return el},WEBPACK_RESOURCE_QUERIES:function(){return eu},WEB_SOCKET_MAX_RECONNECTIONS:function(){return eo}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="text/plain",o="text/html; charset=utf-8",s="application/json; charset=utf-8",l="nxtP",u="nxtI",c="x-matched-path",d="x-prerender-revalidate",p="x-prerender-revalidate-if-generated",f=".segments",h=".segment.rsc",m=".rsc",_=".action",g=".json",y=".meta",v=".body",b="x-next-cache-tags",E="x-next-revalidated-tags",S="x-next-revalidate-tag-token",P="next-resume",R=128,w=256,x=1024,T="_N_T_",O=31536e3,A=0xfffffffe,C="middleware",j=`(?:src/)?${C}`,I="proxy",N=`(?:src/)?${I}`,k="instrumentation",M="private-next-pages",L="private-dot-next",$="private-next-root-dir",D="private-next-app-dir",U="private-next-rsc-mod-ref-proxy",H="private-next-rsc-action-validate",B="private-next-rsc-server-reference",F="private-next-rsc-cache-wrapper",W="private-next-rsc-track-dynamic-import",X="private-next-rsc-action-encryption",q="private-next-rsc-action-client-wrapper",z="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",G="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Y="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",V="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",K="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",J="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",Q="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",Z="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",ee="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",et="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",er='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',en="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ea=["app","pages","components","lib","src"],ei={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},eo=12,es={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"},el={...es,GROUP:{builtinReact:[es.reactServerComponents,es.actionBrowser],serverOnly:[es.reactServerComponents,es.actionBrowser,es.instrument,es.middleware],neutralTarget:[es.apiNode,es.apiEdge],clientOnly:[es.serverSideRendering,es.appPagesBrowser],bundled:[es.reactServerComponents,es.actionBrowser,es.serverSideRendering,es.appPagesBrowser,es.shared,es.instrument,es.middleware],appPages:[es.reactServerComponents,es.serverSideRendering,es.appPagesBrowser,es.actionBrowser]}},eu={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},62468,(e,t,r)=>{"use strict";
4Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let n=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function i(e){return n.test(e)?e.replace(a,"\\$&"):e}},87434,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseLoaderTree",{enumerable:!0,get:function(){return a}});let n=e.r(84156);function a(e){let[t,r,a]=e,{layout:i,template:o}=a,{page:s}=a;s=t===n.DEFAULT_SEGMENT_KEY?a.defaultPage:s;let l=i?.[1]||o?.[1]||s?.[1];return{page:s,segment:t,modules:a,conventionPath:l,parallelRoutes:r}}},42442,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getParamProperties:function(){return l},getSegmentParam:function(){return o},isCatchAll:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(68434);function o(e){let t=i.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function s(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function l(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},68722,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return u},parseAppRoute:function(){return function e(t,r){let n,a,o,s=t.split("/").filter(Boolean),u=[];for(let c of s){let s=l(c);if(s){if(r&&("route-group"===s.type||"parallel-route"===s.type))throw Object.defineProperty(new i.InvariantError(`${t} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,configurable:!0});if(u.push(s),s.interceptionMarker){let i=t.split(s.interceptionMarker);if(2!==i.length)throw Object.defineProperty(Error(`Invalid interception route: ${t}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});a=r?e(i[0],!0):e(i[0],!1),o=r?e(i[1],!0):e(i[1],!1),n=s.interceptionMarker}}}let c=u.filter(e=>"dynamic"===e.type);return{normalized:r,pathname:t,segments:u,dynamicSegments:c,interceptionMarker:n,interceptingRoute:a,interceptedRoute:o}}},parseAppRouteSegment:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(62872),o=e.r(42442),s=e.r(68434);function l(e){if(""===e)return null;let t=s.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),r=(0,o.getSegmentParam)(e);return r?{type:"dynamic",name:e,param:r,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function u(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}},99283,(e,t,r)=>{"use strict";function n(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return n}})},91854,(e,t,r)=>{"use strict";
4Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolveParamValue",{enumerable:!0,get:function(){return i}});let n=e.r(62872),a=e.r(99283);function i(e,t,r,i,o){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let s=[];for(let e=r;e<i.segments.length;e++){let n=i.segments[e];if("static"===n.type){let i=n.name,o=(0,a.interceptionPrefixFromParamType)(t);o&&e===r&&o===n.interceptionMarker&&(i=i.replace(n.interceptionMarker,"")),s.push(i)}else{if(!o.hasOwnProperty(n.param.paramName)){if("optional-catchall"===n.param.paramType)break;return}let e=o[n.param.paramName];Array.isArray(e)?s.push(...e):s.push(e)}}if(s.length>0)return s;if("optional-catchall"===t)return;throw Object.defineProperty(new n.InvariantError(`Unexpected empty path segments match for a route "${i.pathname}" with param "${e}" of type "${t}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(r<i.segments.length){let e=i.segments[r];if("dynamic"===e.type&&!o.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?o[e.param.paramName]:(0,a.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},88212,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={PARAMETER_PATTERN:function(){return d},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return u},parseMatchedParameter:function(){return f},parseParameter:function(){return p}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(62872),o=e.r(87434),s=e.r(68722),l=e.r(91854);function u(e,t,r,n){let a=structuredClone(t),u=[{tree:e,depth:0}],c=(0,s.parseAppRoute)(r,!0);for(;u.length>0;){let{tree:e,depth:t}=u.pop(),{segment:r,parallelRoutes:d}=(0,o.parseLoaderTree)(e),p=(0,s.parseAppRouteSegment)(r);if(p?.type==="dynamic"&&!a.hasOwnProperty(p.param.paramName)&&!n?.has(p.param.paramName)){let{paramName:e,paramType:r}=p.param,n=(0,l.resolveParamValue)(e,r,t,c,a);if(void 0!==n)a[e]=n;else if("optional-catchall"!==r)throw Object.defineProperty(new i.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let f=t;for(let e of(p&&"route-group"!==p.type&&"parallel-route"!==p.type&&f++,Object.values(d)))u.push({tree:e,depth:f})}return a}function c(e,t,r,n){let a=function(e,t,r){let n=e[t];if(r?.has(t)){let[e]=r.get(t);n=e}else Array.isArray(n)?n=n.map(e=>encodeURIComponent(e)):"string"==typeof n&&(n=encodeURIComponent(n));return n}(e,t,n);if(!a||0===a.length){if("oc"===r)return{param:t,value:null,type:r,treeSegment:[t,"",r]};throw Object.defineProperty(new i.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${r}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}return{param:t,value:a,treeSegment:[t,Array.isArray(a)?a.join("/"):a,r],type:r}}let d=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function p(e){let t=e.match(d);return t?f(t[2]):f(e)}function f(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}}},25935,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(66283),o=e.r(68434),s=e.r(62468),l=e.r(68446),u=e.r(88212);function c(e,t,r){let n={},a=1,i=[];for(let c of(0,l.removeTrailingSlash)(e).slice(1).split("/")){let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),l=c.match(u.PARAMETER_PATTERN);if(e&&l&&l[2]){let{key:t,optional:r,repeat:o}=(0,u.parseMatchedParameter)(l[2]);n[t]={pos:a++,repeat:o,optional:r},i.push(`/${(0,s.escapeStringRegexp)(e)}([^/]+?)`)}else if(l&&l[2]){let{key:e,repeat:t,optional:o}=(0,u.parseMatchedParameter)(l[2]);n[e]={pos:a++,repeat:t,optional:o},r&&l[1]&&i.push(`/${(0,s.escapeStringRegexp)(l[1])}`);let c=t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&l[1]&&(c=c.substring(1)),i.push(c)}else i.push(`/${(0,s.escapeStringRegexp)(c)}`);t&&l&&l[3]&&i.push((0,s.escapeStringRegexp)(l[3]))}return{parameterizedRoute:i.join(""),groups:n}}function d(e,{includeSuffix:t=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:n=!1}={}){let{parameterizedRoute:a,groups:i}=c(e,t,r),o=a;return n||(o+="(?:/)?"),{re:RegExp(`^${o}$`),groups:i}}function p({interceptionMarker:e,getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:a,backreferenceDuplicateKeys:i}){let o,{key:l,optional:c,repeat:d}=(0,u.parseMatchedParameter)(r),p=l.replace(/\W/g,"");a&&(p=`${a}${p}`);let f=!1;(0===p.length||p.length>30)&&(f=!0),isNaN(parseInt(p.slice(0,1)))||(f=!0),f&&(p=t());let h=p in n;a?n[p]=`${a}${l}`:n[p]=l;let m=e?(0,s.escapeStringRegexp)(e):"";return o=h&&i?`\\k<${p}>`:d?`(?<${p}>.+?)`:`(?<${p}>
4[^/]+?)`,{key:l,pattern:c?`(?:/${m}${o})?`:`/${m}${o}`,cleanedKey:p,optional:c,repeat:d}}function f(e,t,r,n,a,c={names:{},intercepted:{}}){let d,h=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),m={},_=[],g=[];for(let d of(c=structuredClone(c),(0,l.removeTrailingSlash)(e).slice(1).split("/"))){let e,l=o.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),f=d.match(u.PARAMETER_PATTERN),y=l?f?.[1]:void 0;if(y&&f?.[2]?(e=t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[f[2]]=y):e=f?.[2]&&c.intercepted[f[2]]?t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?i.NEXT_QUERY_PARAM_PREFIX:void 0,y&&f&&f[2]){let{key:t,pattern:r,cleanedKey:n,repeat:i,optional:o}=p({getSafeRouteKey:h,interceptionMarker:y,segment:f[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a});_.push(r),g.push(`/${f[1]}:${c.names[t]??n}${i?o?"*":"+":""}`),c.names[t]??=n}else if(f&&f[2]){n&&f[1]&&(_.push(`/${(0,s.escapeStringRegexp)(f[1])}`),g.push(`/${f[1]}`));let{key:t,pattern:r,cleanedKey:i,repeat:o,optional:l}=p({getSafeRouteKey:h,segment:f[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a}),u=r;n&&f[1]&&(u=u.substring(1)),_.push(u),g.push(`/:${c.names[t]??i}${o?l?"*":"+":""}`),c.names[t]??=i}else _.push(`/${(0,s.escapeStringRegexp)(d)}`),g.push(`/${d}`);r&&f&&f[3]&&(_.push((0,s.escapeStringRegexp)(f[3])),g.push(f[3]))}return{namedParameterizedRoute:_.join(""),routeKeys:m,pathToRegexpPattern:g.join(""),reference:c}}
4function h(e,t){let r=f(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),n=r.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(n+="(?:/)?"),{...d(e,t),namedRegex:`^${n}$`,routeKeys:r.routeKeys,pathToRegexpPattern:r.pathToRegexpPattern,reference:r.reference}}function m(e,t){let{parameterizedRoute:r}=c(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:`^/${n?".*":""}$`};let{namedParameterizedRoute:a}=f(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${a}${n?"(?:(/.*)?)":""}$`}}},6539,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"detectDomainLocale",{enumerable:!0,get:function(){return n}});let n=(...e)=>{};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},69235,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return n}}),e.r(38395);let n=(e,...t)=>e;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},78169,(e,t,r)=>{"use strict";function n(e,t){return e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeLocale",{enumerable:!0,get:function(){return n}}),e.r(40204),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},8812,(e,t,r)=>{"use strict";function n(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"omit",{enumerable:!0,get:function(){return n}})},72839,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"interpolateAs",{enumerable:!0,get:function(){return i}});let n=e.r(46180),a=e.r(25935);function i(e,t,r){let i="",o=(0,a.getRouteRegex)(e),s=o.groups,l=(t!==e?(0,n.getRouteMatcher)(o)(t):"")||r;i=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)&&(i=i.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},91843,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolveHref",{enumerable:!0,get:function(){return f}});let n=e.r(17516),a=e.r(23988),i=e.r(8812),o=e.r(23869),s=e.r(38395),l=e.r(67973),u=e.r(75011),c=e.r(72839),d=e.r(25935),p=e.r(46180);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,o.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:o,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);o&&(t=(0,a.formatWithValidation)({pathname:o,hash:e.hash,query:(0,i.omit)(r,s)}))}let o=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[o,t||o]:o}catch(e){return r?[h]:h}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
4dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99636,(e,t,r)=>{"use strict";function n(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isAPIRoute",{enumerable:!0,get:function(){return n}})},69755,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(26745);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},28459,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let n=e.r(3706),a=e.r(69755),i=e.r(26745);function o(e,t){let{basePath:r,i18n:o,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};r&&(0,i.pathHasPrefix)(l.pathname,r)&&(l.pathname=(0,a.removePathPrefix)(l.pathname,r),l.basePath=r);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}if(o){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,n.normalizeLocalePath)(l.pathname,o.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,n.normalizeLocalePath)(u,o.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},97480,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=e.r(40204);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:i}=(0,n.parsePath)(e);return`${r}${t}${a}${i}`}},75911,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return i}});let n=e.r(89374),a=e.r(26745);function i(e,t,r,i){if(!t||t===r)return e;let o=e.toLowerCase();return!i&&((0,a.pathHasPrefix)(o,"/api")||(0,a.pathHasPrefix)(o,`/${t.toLowerCase()}`))?e:(0,n.addPathPrefix)(e,`/${t}`)}},51192,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=e.r(68446),a=e.r(89374),i=e.r(97480),o=e.r(75911);function s(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.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,i.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},23478,(e,t,r)=>{"use strict";function n(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(r,"__esModule",{value:!0}),Object.defineProperty(r,"compareRouterStates",{enumerable:!0,get:function(){return n}})},59396,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createKey:function(){return G},default:function(){return K},matchesMiddleware:function(){return U}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(96220),o=e.r(24930),s=e.r(68446),l=e.r(78386),u=e.r(88442),c=o._(e.r(53399)),d=e.r(7345),p=e.r(3706),f=i._(e.r(23193)),h=e.r(23869),m=e.r(41213),_=e.r(41063),g=e.r(46180),y=e.r(25935),v=e.r(23988);e.r(6539);let b=e.r(40204),E=e.r(69235),S=e.r(78169),P=e.r(97111),R=e.r(22955),w=e.r(80097),x=e.r(91843),T=e.r(99636),O=e.r(28459),A=e.r(51192),C=e.r(23478),j=e.r(67973),I=e.r(53511),N=e.r(8812),k=e.r(72839),M=e.r(51049),L=e.r(66283),$=e.r(74339);function D(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,
4configurable:!0}),{cancelled:!0})}async function U(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,b.parsePath)(e.asPath),n=(0,w.hasBasePath)(r)?(0,P.removeBasePath)(r):r,a=(0,R.addBasePath)((0,E.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function H(e){let t=(0,h.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function B(e,t,r){let[n,a]=(0,x.resolveHref)(e,t,!0),i=(0,h.getLocationOrigin)(),o=n.startsWith(i),s=a&&a.startsWith(i);n=H(n),a=a?H(a):a;let l=o?n:(0,R.addBasePath)(n),u=r?H((0,x.resolveHref)(e,r)):a||n;return{url:l,as:s?u:(0,R.addBasePath)(u)}}function F(e,t){let r=(0,s.removeTrailingSlash)((0,d.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,m.isDynamicRoute)(t)&&(0,y.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,s.removeTrailingSlash)(e))}async function W(e){if(!await U(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},a=t.headers.get("x-nextjs-rewrite"),i=a||t.headers.get("x-nextjs-matched-path"),o=t.headers.get(L.MATCHED_PATH_HEADER);if(!o||i||o.includes("__next_data_catchall")||o.includes("/_error")||o.includes("/404")||(i=o),i){if(i.startsWith("/")){let t=(0,_.parseRelativeUrl)(i),o=(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),u=(0,s.removeTrailingSlash)(o.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,l.getClientBuildManifest)()]).then(([i,{__rewrites:s}])=>{let l=(0,E.addLocale)(o.pathname,o.locale);if((0,m.isDynamicRoute)(l)||!a&&i.includes((0,p.normalizeLocalePath)((0,P.removeBasePath)(l),r.router.locales).pathname)){let r=(0,O.getNextPathnameInfo)((0,_.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});t.pathname=l=(0,R.addBasePath)(r.pathname)}if(!i.includes(u)){let e=F(u,i);e!==u&&(u=e)}let c=i.includes(u)?u:F((0,p.normalizeLocalePath)((0,P.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,m.isDynamicRoute)(c)){let e=(0,g.getRouteMatcher)((0,y.getRouteRegex)(c))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=(0,b.parsePath)(e),o=(0,A.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${o}${t.query}${t.hash}`})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,b.parsePath)(u),t=(0,A.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let X=Symbol("SSG_DATA_NOT_FOUND");function q(e){try{return JSON.parse(e)}catch(e){return null}}function z({dataHref:e,inflightCache:t,isPrefetch:r,hasMiddleware:n,isServerRender:a,parseJSON:i,persistCache:o,isBackground:s,unstable_skipClientCache:u}){let{href:c}=new URL(e,window.location.href),d=(0,$.getDeploymentId)(),p=s=>(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)})(e,a?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&n?{"x-middleware-prefetch":"1"}:{},d?{"x-deployment-id":d}:{}),method:s?.method??"GET"}).then(t=>t.ok&&s?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(r=>{if(!t.ok){if(n&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:r,json:{},cacheKey:c};if(404===t.status&&q(r)?.notFound)return{dataHref:e,json:{notFound:X},response:t,text:r,cacheKey:c};let i=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,
4configurable:!0});throw a||(0,l.markAssetError)(i),i}return{dataHref:e,json:i?q(r):null,response:t,text:r,cacheKey:c}})).then(e=>(o&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw u||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,l.markAssetError)(e),e});return u&&o?p({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=p(s?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function Y({url:e,router:t}){if(e===(0,R.addBasePath)((0,E.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let V=({route:e,router:t})=>{let r=!1,n=t.clc=()=>{r=!0};return()=>{if(r){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}n===t.clc&&(t.clc=null)}};class K{static{this.events=(0,f.default)()}constructor(e,t,r,{initialProps:n,pageLoader:a,App:i,wrapApp:o,Component:l,err:u,subscription:c,isFallback:d,locale:p,locales:f,defaultLocale:g,domainLocales:y,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),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,R.addBasePath)(e),query:t}),(0,h.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:i,options:o,key:s}=n;this._key=s;let{pathname:l}=(0,_.parseRelativeUrl)(a);this.isSsr&&i===(0,R.addBasePath)(this.asPath)&&l===(0,R.addBasePath)(this.pathname)||(!this._bps||this._bps(n))&&this.change("replaceState",a,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};const E=(0,s.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[E]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=K.events,this.pageLoader=a;const S=(0,m.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=o,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!S&&!self.location.search),this.state={route:E,pathname:e,query:t,asPath:S?e:r,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!r.startsWith("//")){const n={locale:p},a=(0,h.getURL)();this._initialMatchesMiddlewarePromise=U({router:this,locale:p,asPath:a}).then(i=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",i?a:(0,v.formatWithValidation)({pathname:(0,R.addBasePath)(e),query:t}),a,n),i))}window.addEventListener("popstate",this.onPopState)}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r={}){return{url:e,as:t}=B(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r={}){return{url:e,as:t}=B(this,e,t),this.change("replaceState",e,t,r)}async _bfl(t,r,n,a){{if(!this._bfl_s&&!this._bfl_d){let r,i,{BloomFilter:o}=e.r(44842);try{({__routerFilterStatic:r,__routerFilterDynamic:i}=await (0,l.getClientBuildManifest)())}catch(e){if(console.error(e),a)return!0;return Y({url:(0,R.addBasePath)((0,E.addLocale)(t,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let s={numItems:19,errorRate:1e-4,numBits:365,numHashes:14,bitArray:[1,1,0,0,0,1,1,1,0,1,1,0,0,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,1,0,0,1,1,1,0,1,1,0,1,1,0,1,0,1,0,1,1,1,1,1,0,1,1,0,0,0,0,0,1,1,0,0,0,1,1,1,1,1,1,1,1,0,0,1,0,1,1,1,0,0,1,0,0,1,0,0,0,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,1,1,1,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,1,1,0,0,0,0,1,1,0,0,1,0,1,1,0,1,1,1,0,0,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,0,0,0,1,0,1,0,0,1,0,0,0,0,1,0,1,1,1,0,1,1,1,1,1,0,0,0,0,0,1,1,0,1,1,0,1,0,0,0,1,1,0,1,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0,0,1,0,0,0,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,1,1,1,0,0,0,0,1,1,0,1,0,0,0,0,1,0,0,0,1,0,0,1,1,1,1,1,1,0,1,1,0,1,1,1,1,1,0,1,1,0,0,1,1,0,1,1,1,0,0,1,0,1,1,0,0,1,1,1,1,1,0,1,1,0,0,1,0,0,1]};!r&&s&&(r=s||void 0);let u={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!i&&u&&(i=u),r?.numHashes&&(this._bfl_s=new o(r.numItems,r.errorRate),this._bfl_s.import(r)),i?.numHashes&&(this._bfl_d=new o(i.numItems,i.errorRate),this._bfl_d.import(i))}let i=!1,o=!1;for(let{as:e,allowMatchCurrent:l}of[{as:t},{as:r}])if(e){let r=(0,s.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,R.addBasePath)((0,E.addLocale)(r,n||this.locale));if(l||r!==(0,s.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(i=i||!!this._bfl_s?.contains(r)||!!this._bfl_s?.contains(u),[r,u])){let t=e.split("/");for(let e=0;!o&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&this._bfl_d?.contains(r)){o=!0;break}}}if(i||o){if(a)return!0;return Y({url:(0,R.addBasePath)((0,E.addLocale)(t,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,n,a){let i,o;if(!(0,j.isLocalURL)(t))return Y({url:t,router:this}),!1;let d=1===n._h;d||n.shallow||await this._bfl(r,void 0,n.locale);let p=d||n._shouldResolveHref||(0,b.parsePath)(t).pathname===(0,b.parsePath)(r).pathname,f={...this.state},x=!0!==this.isReady;this.isReady=!0;let T=this.isSsr;if(d||(this.isSsr=!1),d&&this.clc)return!1;let O=f.locale;h.ST&&performance.mark("routeChange");let{shallow:A=!1,scroll:I=!0}=n,M={shallow:A};this._inFlightRoute&&this.clc&&(T||K.events.emit("routeChangeError",D(),this._inFlightRoute,M),this.clc(),this.clc=null),r=(0,R.addBasePath)((0,E.addLocale)((0,w.hasBasePath)(r)?(0,P.removeBasePath)(r):r,n.locale,this.defaultLocale));let L=(0,S.removeLocale)((0,w.hasBasePath)(r)?(0,P.removeBasePath)(r):r,f.locale);this._inFlightRoute=r;let $=O!==f.locale;if(!d&&this.onlyAHashChange(L)&&!$){f.asPath=L,K.events.emit("hashChangeStart",r,M),this.changeState(e,t,r,{...n,scroll:!1}),I&&this.scrollToHash(L);try{await this.set(f,this.components[f.route],null)}catch(e){throw(0,c.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,L,M),e}return K.events.emit("hashChangeComplete",r,M),!0}let H=(0,_.parseRelativeUrl)(t),{pathname:W,query:q}=H;try{[i,{__rewrites:o}
4]=await Promise.all([this.pageLoader.getPageList(),(0,l.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return Y({url:r,router:this}),!1}this.urlIsNew(L)||$||(e="replaceState");let z=r;W=W?(0,s.removeTrailingSlash)((0,P.removeBasePath)(W)):W;let G=(0,s.removeTrailingSlash)(W),V=r.startsWith("/")&&(0,_.parseRelativeUrl)(r).pathname;if(this.components[W]?.__appRouter)return Y({url:r,router:this}),new Promise(()=>{});let J=!!(V&&G!==V&&(!(0,m.isDynamicRoute)(G)||!(0,g.getRouteMatcher)((0,y.getRouteRegex)(G))(V))),Q=!n.shallow&&await U({asPath:r,locale:f.locale,router:this});if(d&&Q&&(p=!1),p&&"/_error"!==W&&(n._shouldResolveHref=!0,H.pathname=F(W,i),H.pathname!==W&&(W=H.pathname,H.pathname=(0,R.addBasePath)(W),Q||(t=(0,v.formatWithValidation)(H)))),!(0,j.isLocalURL)(r))return Y({url:r,router:this}),!1;z=(0,S.removeLocale)((0,P.removeBasePath)(z),f.locale),G=(0,s.removeTrailingSlash)(W);let Z=!1;if((0,m.isDynamicRoute)(G)){let e=(0,_.parseRelativeUrl)(z),n=e.pathname,a=(0,y.getRouteRegex)(G);Z=(0,g.getRouteMatcher)(a)(n);let i=G===n,o=i?(0,k.interpolateAs)(G,n,q):{};if(Z&&(!i||o.result))i?r=(0,v.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,N.omit)(q,o.params)})):Object.assign(q,Z);else{let e=Object.keys(a.groups).filter(e=>!q[e]&&!a.groups[e].optional);if(e.length>0&&!Q)throw Object.defineProperty(Error((i?`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 (${G}). `)+`Read more: https://nextjs.org/docs/messages/${i?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}d||K.events.emit("routeChangeStart",r,M);let ee="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:G,pathname:W,query:q,as:r,resolvedAs:z,routeProps:M,locale:f.locale,isPreview:f.isPreview,hasMiddleware:Q,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:d&&!this.isFallback,isMiddlewareRewrite:J});if(d||n.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,f.locale),"route"in o&&Q){G=W=o.route||G,M.shallow||(q=Object.assign({},o.query||{},q));let e=(0,w.hasBasePath)(H.pathname)?(0,P.removeBasePath)(H.pathname):H.pathname;if(Z&&W!==e&&Object.keys(Z).forEach(e=>{Z&&q[e]===Z[e]&&delete q[e]}),(0,m.isDynamicRoute)(W)){let e=!M.shallow&&o.resolvedAs?o.resolvedAs:(0,R.addBasePath)((0,E.addLocale)(new URL(r,location.href).pathname,f.locale),!0);(0,w.hasBasePath)(e)&&(e=(0,P.removeBasePath)(e));let t=(0,y.getRouteRegex)(W),n=(0,g.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(q,n)}}if("type"in o)if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,n);else return Y({url:o.destination,router:this}),new Promise(()=>{});let s=o.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){n.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,_.parseRelativeUrl)(t);r.pathname=F(r.pathname,i);let{url:a,as:o}=B(this,t,t);return this.change(e,a,o,n)}return Y({url:t,router:this}),new Promise(()=>{})}if(f.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===X){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:q,as:r,resolvedAs:z,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isNotFound:!0}),"type"in o)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}d&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&o.props?.pageProps&&(o.props.pageProps.statusCode=500);let l=n.shallow&&f.route===(o.route??G),p=n.scroll??(!d&&!l),h=a??(p?{x:0,y:0}:null),v={...f,route:G,pathname:W,query:q,asPath:L,isFallback:!1};if(d&&ee){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:q,as:r,resolvedAs:z,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isQueryUpdating:d&&!this.isFallback}),"type"in o)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}
4`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&o.props?.pageProps&&(o.props.pageProps.statusCode=500);try{await this.set(v,o,h)}catch(e){throw(0,c.default)(e)&&e.cancelled&&K.events.emit("routeChangeError",e,L,M),e}return!0}if(K.events.emit("beforeHistoryChange",r,M),this.changeState(e,t,r,n),!(d&&!h&&!x&&!$&&(0,C.compareRouterStates)(v,this.state))){try{await this.set(v,o,h)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw d||K.events.emit("routeChangeError",o.error,L,M),o.error;d||K.events.emit("routeChangeComplete",r,M),p&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,c.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n={}){("pushState"!==e||(0,h.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",r))}async handleRouteInfoError(e,t,r,n,a,i){if(e.cancelled)throw e;if((0,l.isAssetError)(e)||i)throw K.events.emit("routeChangeError",e,n,a),Y({url:n,router:this}),D();console.error(e);try{let n,{page:a,styleSheets:i}=await this.fetchComponent("/_error"),o={props:n,Component:a,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,c.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,n,a,!0)}}async getRouteInfo({route:e,pathname:t,query:r,as:n,resolvedAs:a,routeProps:i,locale:o,hasMiddleware:l,isPreview:u,unstable_skipClientCache:d,isQueryUpdating:f,isMiddlewareRewrite:h,isNotFound:m}){let _=e;try{let e=this.components[_];if(i.shallow&&e&&this.route===_)return e;let c=V({route:_,router:this});l&&(e=void 0);let g=!e||"initial"in e?void 0:e,y={dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:t,query:r}),skipInterpolation:!0,asPath:m?"/404":a,locale:o}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:f?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:d,isBackground:f},b=f&&!h?null:await W({fetchData:()=>z(y),asPath:m?"/404":a,locale:o,router:this}).catch(e=>{if(f)return null;throw e});if(b&&("/_error"===t||"/404"===t)&&(b.effect=void 0),f&&(b?b.json=self.__NEXT_DATA__.props:b={json:self.__NEXT_DATA__.props}),c(),b?.effect?.type==="redirect-internal"||b?.effect?.type==="redirect-external")return b.effect;if(b?.effect?.type==="rewrite"){let n=(0,s.removeTrailingSlash)(b.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!f||o.includes(n))&&(_=n,t=b.effect.resolvedHref,r={...r,...b.effect.parsedAs.query},a=(0,P.removeBasePath)((0,p.normalizeLocalePath)(b.effect.parsedAs.pathname,this.locales).pathname),e=this.components[_],i.shallow&&e&&this.route===_&&!l))return{...e,route:_}}if((0,T.isAPIRoute)(_))return Y({url:n,router:this}),new Promise(()=>{});let E=g||await this.fetchComponent(_).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),S=b?.response?.headers.get("x-middleware-skip"),R=E.__N_SSG||E.__N_SSP;S&&b?.dataHref&&delete this.sdc[b.dataHref];let{props:w,cacheKey:x}=await this._getData(async()=>{if(R){if(b?.json&&!S)return{cacheKey:b.cacheKey,props:b.json};let e=b?.dataHref?b.dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:t,query:r}),asPath:a,locale:o}),n=await z({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:S?{}:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:d});return{cacheKey:n.cacheKey,props:n.json||{}}}return{headers:{},props:await this.getInitialProps(E.Component,{pathname:t,query:r,asPath:n,locale:o,locales:this.locales,defaultLocale:this.defaultLocale})}});return E.__N_SSP&&y.dataHref&&x&&delete this.sdc[x],this.isPreview||!E.__N_SSG||f||z(Object.assign({},y,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),w.pageProps=Object.assign({},w.pageProps),E.props=w,E.route=_,E.query=r,E.resolvedAs=a,this.components[_]=E,E}catch(e){return this.handleRouteInfoError((0,c.getProperError)(e),t,r,n,i)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,a]=e.split("#",2);return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,M.disableSmoothScrollDuringRouteTransition)(()=>
4{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=e,r={}){if("u">typeof window&&(0,I.isBot)(window.navigator.userAgent))return;let n=(0,_.parseRelativeUrl)(e),a=n.pathname,{pathname:i,query:o}=n,l=i,u=await this.pageLoader.getPageList(),c=t,d=void 0!==r.locale?r.locale||void 0:this.locale,p=await U({asPath:t,locale:d,router:this});n.pathname=F(n.pathname,u),(0,m.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(o,(0,g.getRouteMatcher)((0,y.getRouteRegex)(n.pathname))((0,b.parsePath)(t).pathname)||{}),p||(e=(0,v.formatWithValidation)(n)));let f=await W({fetchData:()=>z({dataHref:this.pageLoader.getDataHref({href:(0,v.formatWithValidation)({pathname:l,query:o}),skipInterpolation:!0,asPath:c,locale:d}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:d,router:this});if(f?.effect.type==="rewrite"&&(n.pathname=f.effect.resolvedHref,i=f.effect.resolvedHref,o={...o,...f.effect.parsedAs.query},c=f.effect.parsedAs.pathname,e=(0,v.formatWithValidation)(n)),f?.effect.type==="redirect-external")return;let h=(0,s.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(h).then(t=>!!t&&z({dataHref:f?.json?f?.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:d}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](h)])}async fetchComponent(e){let t=V({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,h.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}}},39937,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}}),e.r(96220);let n=e.r(46882);e.r(55118);let a=e.r(81691);function i(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 r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},81691,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={Router:function(){return s.default},createRouter:function(){return g},default:function(){return m},makePublicRouterInstance:function(){return y},useRouter:function(){return _},withRouter:function(){return c.default}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(96220),o=i._(e.r(55118)),s=i._(e.r(59396)),l=e.r(84308),u=i._(e.r(53399)),c=i._(e.r(39937)),d={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},p=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!d.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,
4configurable:!0});return d.router}Object.defineProperty(d,"events",{get:()=>s.default.events}),p.forEach(e=>{Object.defineProperty(d,e,{get:()=>h()[e]})}),f.forEach(e=>{d[e]=(...t)=>h()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{d.ready(()=>{s.default.events.on(e,(...t)=>{let r=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(d[r])try{d[r](...t)}catch(e){console.error(`Error when running the Router event: ${r}`),console.error((0,u.default)(e)?`${e.message} 5${e.stack}`:e+"")}})})});let m=d;function _(){let e=o.default.useContext(l.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function g(...e){return d.router=new s.default(...e),d.readyCallbacks.forEach(e=>e()),d.readyCallbacks=[],d.router}function y(e){let t={};for(let r of p){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=s.default.events,f.forEach(r=>{t[r]=(...t)=>e[r](...t)}),t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65761,(e,t,r)=>{t.exports=e.r(81691)},78025,e=>{"use strict";let t,r,n,a,i,o,s,l,u,c,d,p,f,h,m,_,g,y,v,b,E;var S=e.i(19940);let P="10.47.0",R=globalThis;function w(){return x(R),R}function x(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||P,t[P]=t[P]||{}}function T(e,t,r=R){let n=r.__SENTRY__=r.__SENTRY__||{},a=n[P]=n[P]||{};return a[e]||(a[e]=t())}let O="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,A=["debug","info","warn","error","log","assert","trace"],C={};function j(e){if(!("console"in R))return e();let t=R.console,r={},n=Object.keys(C);n.forEach(e=>{let n=C[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function I(e,...t){O&&N().enabled&&j(()=>{R.console[e](`Sentry Logger [${e}]:`,...t)})}function N(){return O?T("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let k=function(){N().enabled=!0},M=function(...e){I("log",...e)},L=function(...e){I("warn",...e)},$=function(...e){I("error",...e)};function D(e,t,r=[t],n="npm"){let a=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};a.name||(a.name=`sentry.javascript.${t}`,a.packages=r.map(e=>({name:`${n}:@sentry/${e}`,version:P})),a.version=P)}let U=Object.prototype.toString;function H(e){switch(U.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return K(e,Error)}}function B(e,t){return U.call(e)===`[object ${t}]`}function F(e){return B(e,"ErrorEvent")}function W(e){return B(e,"DOMError")}function X(e){return B(e,"String")}function q(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function z(e){return null===e||q(e)||"object"!=typeof e&&"function"!=typeof e}function G(e){return B(e,"Object")}function Y(e){return"u">typeof Event&&K(e,Event)}function V(e){return!!(e?.then&&"function"==typeof e.then)}function K(e,t){try{return e instanceof t}catch{return!1}}function J(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue||e.__v_isVNode))}function Q(e){return"u">typeof Request&&K(e,Request)}function Z(e,t={}){if(!e)return"<unknown>";try{let r,n=e,a=[],i=0,o=0,s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&i++<5&&(r=function(e,t){let r=[];if(!e?.tagName)return"";if(R.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}r.push(e.tagName.toLowerCase());let n=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(n?.length)n.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&r.push(`#${e.id}`);let t=e.className;if(t&&X(t))for(let e of t.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let n=e.getAttribute(t);n&&r.push(`[${t}="${n}"]`)}return r.join("")}(n,s),"html"!==r&&(!(i>1)||!(o+3*a.length+r.length>=l)));)a.push(r),o+=r.length,n=n.parentNode;return a.reverse().join(" > ")}catch{return"<unknown>"}}function ee(){try{return R.document.location.href}catch{return""}}function et(e){if(!R.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function er(e,t,r){if(!(t in e))return;let n=e[t];if("function"!=typeof n)return;let a=r(n);"function"==typeof a&&ea(a,n);try{e[t]=a}catch{O&&M(`Failed to replace method "${t}" in object`,e)}}function en(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{O&&M(`Failed to add non-enumerable property "${t}" to object`,e)}}function ea(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,en(e,"__sentry_original__",t)}catch{}}function ei(e){return e.__sentry_original__}function eo(e){if(H(e))return{message:e.message,name:e.name,stack:e.stack,...el(e)};if(!Y(e))return e;{let t={type:e.type,target:es(e.target),currentTarget:es(e.currentTarget),...el(e)};return"u">typeof CustomEvent&&K(e,CustomEvent)&&(t.detail=e.detail),t}}function es(e){try{return"u">typeof Element&&K(e,Element)?Z(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function el(e){return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}function eu(e){if(void 0!==t)return t?t(e):e();let r=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return r in R&&"function"==typeof R[r]?(t=R[r])(e):(t=null,e())}function ec(){return eu(()=>Math.random())}function ed(){return eu(()=>Date.now())}let ep=/\(error: (.*)\)/,ef=/captureMessage|captureException/;function eh(...e){let t=e.sort((e,t)=>
5e[0]-t[0]).map(e=>e[1]);return(e,r=0,n=0)=>{let a=[],i=e.split("\n");for(let e=r;e<i.length;e++){let r=i[e];r.length>1024&&(r=r.slice(0,1024));let o=ep.test(r)?r.replace(ep,"$1"):r;if(!o.match(/\S*Error: /)){for(let e of t){let t=e(o);if(t){a.push(t);break}}if(a.length>=50+n)break}}var o=a.slice(n);if(!o.length)return[];let s=Array.from(o);return/sentryWrapped/.test(em(s).function||"")&&s.pop(),s.reverse(),ef.test(em(s).function||"")&&(s.pop(),ef.test(em(s).function||"")&&s.pop()),s.slice(0,50).map(e=>({...e,filename:e.filename||em(s).filename,function:e.function||"?"}))}}function em(e){return e[e.length-1]||{}}let e_="<anonymous>";function eg(e){try{if(!e||"function"!=typeof e)return e_;return e.name||e_}catch{return e_}}function ey(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function ev(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function eb(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function eE(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let n=e[t];try{J(n)?r.push(ev(n)):r.push(String(n))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function eS(e,t,r=!1){return!!X(e)&&(B(t,"RegExp")?t.test(e):!!X(t)&&(r?e===t:e.includes(t)))}function eP(e,t=[],r=!1){return t.some(t=>eS(e,t,r))}function eR(e=R.crypto||R.msCrypto){try{if(e?.randomUUID)return eu(()=>e.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,e=>(e^(15&16*ec())>>e/4).toString(16))}function ew(e){return e.exception?.values?.[0]}function ex(e){let{message:t,event_id:r}=e;if(t)return t;let n=ew(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function eT(e,t,r){let n=e.exception=e.exception||{},a=n.values=n.values||[],i=a[0]=a[0]||{};i.value||(i.value=t||""),i.type||(i.type=r||"Error")}function eO(e,t){let r=ew(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n?.data,...t.data};r.mechanism.data=e}}function eA(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{en(e,"__sentry_captured__",!0)}catch{}return!1}function eC(){return ed()/1e3}function ej(){return(n??(n=function(){let{performance:e}=R;if(!e?.now||!e.timeOrigin)return eC;let t=e.timeOrigin;return()=>(t+eu(()=>e.now()))/1e3}()))()}let eI=null;function eN(){return null===eI&&(eI=function(){let{performance:e}=R;if(!e?.now)return;let t=eu(()=>e.now()),r=ed(),n=e.timeOrigin;if("number"==typeof n&&3e5>Math.abs(n+t-r))return n;let a=e.timing?.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+t-r)?a:r-t}()),eI}function ek(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ej(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:eR()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function eM(e,t,r=2){if(!t||"object"!=typeof t||r<=0)return t;if(e&&0===Object.keys(t).length)return e;let n={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=eM(n[e],t[e],r-1));return n}function eL(){return eR().substring(16)}let e$="_sentrySpan";function eD(e,t){t?en(e,e$,t):delete e[e$]}class eU{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:eR(),sampleRand:ec()}}clone(){let e=new eU;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,eD(e,this[e$]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&ek(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,attributes:n,extra:a,user:i,contexts:o,level:s,fingerprint:l=[],propagationContext:u,conversationId:c}=(t instanceof eU?t.getScopeData():G(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...n},this._extra={...this._extra,...a},this._contexts={...this._contexts,...o},i&&Object.keys(i).length&&(this._user=i),s&&(this._level=s),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),c&&(this._conversationId=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,eD(this,void 0),this._attachments=[],this.setPropagationContext({traceId:eR(),sampleRand:ec()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:eC(),...e,message:e.message?eb(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[e$],conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=eM(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t?.event_id||eR();if(!this._client)return O&&L("No client configured on scope - will not capture exception!"),r;let n=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:n,...t,event_id:r},this),r}captureMessage(e,t,r){let n=r?.event_id||eR();if(!this._client)return O&&L("No client configured on scope - will not capture message!"),n;let a=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:a,...r,event_id:n},this),n}captureEvent(e,t){let r=e.event_id||t?.event_id||eR();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):O&&L("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
5h(e=>{e(this)}),this._notifyingListeners=!1)}}let eH=e=>e instanceof Promise&&!e[eB],eB=Symbol("chained PromiseLike");class eF{constructor(e,t){let r,n;r=e||new eU,n=t||new eU,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}if(V(t)){var n,a,i;let e;return n=t,a=()=>this._popScope(),i=()=>this._popScope(),eH(e=n.then(e=>(a(e),e),e=>{throw i(e),e}))&&eH(n)?e:((e,t)=>{let r=!1;for(let n in e){if(n in t)continue;r=!0;let a=e[n];"function"==typeof a?Object.defineProperty(t,n,{value:(...t)=>a.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[n]=a}return r&&Object.assign(t,{[eB]:!0}),t})(n,e)}return this._popScope(),t}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function eW(){let e=x(w());return e.stack=e.stack||new eF(T("defaultCurrentScope",()=>new eU),T("defaultIsolationScope",()=>new eU))}function eX(e){return eW().withScope(e)}function eq(e,t){let r=eW();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function ez(e){return eW().withScope(()=>e(eW().getIsolationScope()))}function eG(e){let t=x(e);return t.acs?t.acs:{withIsolationScope:ez,withScope:eX,withSetScope:eq,withSetIsolationScope:(e,t)=>ez(t),getCurrentScope:()=>eW().getScope(),getIsolationScope:()=>eW().getIsolationScope()}}function eY(){return eG(w()).getCurrentScope()}function eV(){return eG(w()).getIsolationScope()}function eK(){return T("globalScope",()=>new eU)}function eJ(...e){let t=eG(w());if(2===e.length){let[r,n]=e;return r?t.withSetScope(r,n):t.withScope(n)}return t.withScope(e[0])}function eQ(){return eY().getClient()}let eZ="sentry.source",e0="sentry.sample_rate",e1="sentry.previous_trace_sample_rate",e2="sentry.op",e4="sentry.origin",e3="sentry.idle_span_finish_reason",e5="sentry.measurement_unit",e8="sentry.measurement_value",e9="sentry.custom_span_name",e6="sentry.profile_id",e7="sentry.exclusive_time",te="sentry-";function tt(e){let t=tr(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.startsWith(te)&&(e[t.slice(te.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}function tr(e){if(e&&(X(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(tn(t)).forEach(([t,r])=>{e[t]=r}),e),{}):tn(e)}function tn(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}function ta(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||eQ()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}function ti(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}function to(e,t){e.setAttribute("http.response.status_code",t);let r=function(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(t);"unknown_error"!==r.message&&e.setStatus(r)}let ts="_sentryScope",tl="_sentryIsolationScope";function tu(e){return{scope:e[ts],isolationScope:function(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}(e[tl])}}let tc=/^o(\d+)\./,td=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function tp(e,t=!1){let{host:r,path:n,pass:a,port:i,projectId:o,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&a?`:${a}`:""}@${r}${i?`:${i}`:""}/${n?`${n}/`:n}${o}`}function tf(e){let t=td.exec(e);if(!t)return void j(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,n,a="",i="",o="",s=""]=t.slice(1),l="",u=s,c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return th({host:i,pass:a,path:l,projectId:u,port:o,protocol:r,publicKey:n})}function th(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}let tm=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function t_(e=eR(),t=eL(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function tg(e=eR(),t=eL(),r){return`00-${e}-${t}-${r?"01":"00"}`}let ty=!1;function tv(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:a})=>({span_id:e,trace_id:t,sampled:1===r,attributes:a,...n})):void 0}function tb(e){return"number"==typeof e?tE(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?tE(e.getTime()):ej()}function tE(e){return e>0x2540be3ff?e/1e3:e}function tS(e){var t;if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:r,traceId:n}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:a,name:i,endTime:o,status:s,links:l}=e;return{span_id:r,trace_id:n,data:t,description:i,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:tb(a),timestamp:tb(o)||void 0,status:tR(s),op:t[e2],origin:t[e4],links:tv(l)}}return{span_id:r,trace_id:n,start_timestamp:0,data:{}}}function tP(e){let{traceFlags:t}=e.spanContext();return 1===t}function tR(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}let tw="_sentryChildSpans",tx="_sentryRootSpan";function tT(e,t){let r=e[tx]||e;en(t,tx,r),e[tw]?e[tw].add(t):en(e,tw,new Set([t]))}function tO(e){let t=new Set;return!function e(r){if(!t.has(r)&&tP(r))for(let n of(t.add(r),r[tw]?Array.from(r[tw]):[]))e(n)}(e),Array.from(t)}function tA(e){return e[tx]||e}function tC(){let e=eG(w());return e.getActiveSpan?e.getActiveSpan():eY()[e$]}function tj(){ty||(j(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ty=!0)}let tI="production",tN="_frozenDsc";function tk(e,t){let r=t.getOptions(),{publicKey:n}=t.getDsn()||{},a={environment:r.environment||tI,release:r.release,public_key:n,trace_id:e,org_id:function(e){let t,r=e.getOptions(),{host:n}=e.getDsn()||{};if(r.orgId)t=String(r.orgId);else{let e;n&&(e=n.match(tc),t=e?.[1])}return t}(t)};return t.emit("createDsc",a),a}function tM(e,t){let r=t.getPropagationContext();return r.dsc||tk(r.traceId,e)}function tL(e){let t=eQ();if(!t)return{};let r=tA(e),n=tS(r),a=n.data,i=r.spanContext().traceState,o=i?.get("sentry.sample_rate")??a[e0]??a[e1];function s(e){return("number"==typeof o||"string"==typeof o)&&(e.sample_rate=`${o}`),e}let l=r[tN];if(l)return s(l);
5let u=i?.get("sentry.dsc"),c=u&&tt(u);if(c)return s(c);let d=tk(e.spanContext().traceId,t),p=a[eZ],f=n.description;return"url"!==p&&f&&(d.transaction=f),ta()&&(d.sampled=String(tP(r)),d.sample_rand=i?.get("sentry.sample_rand")??tu(r).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit("createDsc",d,r),d}class t${constructor(e={}){this._traceId=e.traceId||eR(),this._spanId=e.spanId||eL()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function tD(t,r=100,n=Infinity){try{return function t(r,n,a=Infinity,i=Infinity,o=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[s,l]=o;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let u=function(t,r){try{var n;let a;if("domain"===t&&r&&"object"==typeof r&&r._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(r===e.g)return"[Global]";if("u">typeof window&&r===window)return"[Window]";if("u">typeof document&&r===document)return"[Document]";if(J(r))return ev(r);if(G(r)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r)return"[SyntheticEvent]";if("number"==typeof r&&!Number.isFinite(r))return`[${r}]`;if("function"==typeof r)return`[Function: ${eg(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let i=(n=r,a=Object.getPrototypeOf(n),a?.constructor?a.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(i))return`[HTMLElement: ${i}]`;return`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(r,n);if(!u.startsWith("[object "))return u;if(n.__sentry_skip_normalization__)return n;let c="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:a;if(0===c)return u.replace("object ","");if(s(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,c-1,i,o)}catch{}let d=Array.isArray(n)?[]:{},p=0,f=eo(n);for(let e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(p>=i){d[e]="[MaxProperties ~]";break}let r=f[e];d[e]=t(e,r,c-1,i,o),p++}return l(n),d}("",t,r,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function tU(e,t=[]){return[e,t]}function tH(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function tB(e){let t=x(R);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let tF={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function tW(e){return e in tF?tF[e]:e}function tX(e){if(!e?.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function tq(e){M(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function tz(e,t){if(!t?.length||!e.description)return!1;for(let n of t){var r;if("string"==typeof(r=n)||r instanceof RegExp){if(eS(e.description,n))return O&&tq(e),!0;continue}if(!n.name&&!n.op)continue;let t=!n.name||eS(e.description,n.name),a=!n.op||e.op&&eS(e.op,n.op);if(t&&a)return O&&tq(e),!0}return!1}function tG(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},n=r[e5],a=r[e8];"string"==typeof n&&"number"==typeof a&&(t[e.name]={value:a,unit:n})}),t}class tY{constructor(e={}){this._traceId=e.traceId||eR(),this._spanId=e.spanId||eL(),this._startTime=e.startTimestamp||ej(),this._links=e.links,this._attributes={},this.setAttributes({[e4]:"manual",[e2]: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()}
5addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:+!!r}}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=tb(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(eZ,"custom"),this}end(e){this._endTime||(this._endTime=tb(e),function(e){if(!O)return;let{description:t="< unknown name >",op:r="< unknown op >"}=tS(e),{spanId:n}=e.spanContext(),a=tA(e)===e;M(`[Tracing] Finishing "${r}" ${a?"root ":""}span "${t}" with ID ${n}`)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[e2],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:tR(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[e4],profile_id:this._attributes[e6],exclusive_time:this._attributes[e7],measurements:tG(this._events),is_segment:this._isStandaloneSpan&&tA(this)===this||void 0,segment_id:this._isStandaloneSpan?tA(this).spanContext().spanId:void 0,links:tv(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){O&&M("[Tracing] Adding an event to span:",e);let n=tV(t)?t:r||ej(),a=tV(t)?{}:t||{},i={name:e,time:tb(n),attributes:a};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=eQ();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===tA(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=eQ();if(!t)return;let r=e[1];r&&0!==r.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(function(e,t){let r=tL(e[0]),n=t?.getDsn(),a=t?.getOptions().tunnel,i={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!a&&n&&{dsn:tp(n)}},{beforeSendSpan:o,ignoreSpans:s}=t?.getOptions()||{},l=s?.length?e.filter(e=>!tz(tS(e),s)):e,u=e.length-l.length;u&&t?.recordDroppedEvent("before_send","span",u);let c=o?e=>{let t=tS(e),r=o(t);return r||(tj(),t)}:tS,d=[];for(let e of l){let t=c(e);t&&d.push([{type:"span"},t])}return tU(i,d)}([this],e)):(O&&M("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));let t=this._convertSpanToTransaction();t&&(tu(this).scope||eY()).captureEvent(t)}_convertSpanToTransaction(){if(!tK(tS(this)))return;this._name||(O&&L("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=tu(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let n=tO(this).filter(e=>{var t;return e!==this&&!((t=e)instanceof tY&&t.isStandaloneSpan())}).map(e=>tS(e)).filter(tK),a=this._attributes[eZ];delete this._attributes[e9],n.forEach(e=>{delete e.data[e9]});let i={contexts:{trace:function(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:a,parent_span_id:i,status:o,origin:s,links:l}=tS(e);return{parent_span_id:i,span_id:t,trace_id:r,data:n,op:a,status:o,origin:s,links:l}}(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,dynamicSamplingContext:tL(this)},request:r,...a&&{transaction_info:{source:a}}},o=tG(this._events);return o&&Object.keys(o).length&&(O&&M("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),i.measurements=o),i}}function tV(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function tK(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let tJ="__SENTRY_SUPPRESS_TRACING__";function tQ(e){let t=eG(w());if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=tb(e.startTime),delete r.startTime,r}return t}(e),{forceTransaction:n,parentSpan:a}=e;return(e.scope?t=>eJ(e.scope,t):void 0!==a?e=>tZ(a,e):e=>e())(()=>{let t=eY(),i=function(e,t){if(t)return t;if(null===t)return;let r=e[e$];if(!r)return;let n=eQ();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?tA(r):r}(t,a);return e.onlyIfParent&&!i?new t$:function({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){var a;let i;if(!ta()){let n=new t$;if(r||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...tL(n)};en(n,tN,e)}return n}let o=eV();if(e&&!r)i=function(e,t,r){let{spanId:n,traceId:a}=e.spanContext(),i=!t.getScopeData().sdkProcessingMetadata[tJ]&&tP(e),o=i?new tY({...r,parentSpanId:n,traceId:a,sampled:i}):new t$({traceId:a});tT(e,o);let s=eQ();return s&&(s.emit("spanStart",o),r.endTimestamp&&s.emit("spanEnd",o)),o}(e,n,t),tT(e,i);else if(e){let r=tL(e),{traceId:a,spanId:o}=e.spanContext(),s=tP(e);en(i=t0({traceId:a,parentSpanId:o,...t},n,s),tN,r)}else{let{traceId:e,dsc:r,parentSpanId:a,sampled:s}={...o.getPropagationContext(),...n.getPropagationContext()};i=t0({traceId:e,parentSpanId:a,...t},n,s),r&&en(i,tN,r)}return!function(e){if(!O)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=tS(e),{spanId:a}=e.spanContext(),i=tP(e),o=tA(e),s=o===e,l=`[Tracing] Starting ${i?"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}=tS(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}M(`${l} 6 ${u.join("\n ")}`)}(i),(a=i)&&(en(a,tl,function(e){try{let t=R.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(o)),en(a,ts,n)),i}({parentSpan:i,spanArguments:r,forceTransaction:n,scope:t})})}function tZ(e,t){let r=eG(w());return r.withActiveSpan?r.withActiveSpan(e,t):eJ(r=>(eD(r,e||void 0),t(r)))}function t0(e,t,r){let n=eQ(),a=n?.getOptions()||{},{name:i=""}=e,o={spanAttributes:{...e.attributes},spanName:i,parentSampled:r};n?.emit("beforeSampling",o,{decision:!1});let s=o.parentSampled??r,l=o.spanAttributes,u=t.getPropagationContext(),[c,d,p]=t.getScopeData().sdkProcessingMetadata[tJ]?[!1]:function(e,t,r){let n,a;if(!ta(e))return[!1];"function"==typeof e.tracesSampler?(n=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),a=!0):void 0!==t.parentSampled?n=t.parentSampled:void 0!==e.tracesSampleRate&&(n=e.tracesSampleRate,a=!0);let i=ti(n);if(void 0===i)return O&&L(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!i)return O&&M(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,a];let o=r<i;return!o&&O&&M(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[o,i,a]}(a,{name:i,parentSampled:s,attributes:l,parentSampleRate:ti(u.dsc?.sample_rate)},u.sampleRand),f=new tY({...e,attributes:{[eZ]:"custom",[e0]:void 0!==d&&p?d:void 0,...l},sampled:c});return!c&&n&&(O&&M("[Tracing] Discarding root span because its trace was not chosen to be sampled."),n.recordDroppedEvent("sample_rate","transaction")),n&&n.emit("spanStart",f),f}function t1(e){return new t4(t=>{t(e)})}function t2(e){return new t4((t,r)=>{r(e)})}class t4{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new t4((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new t4((t,r)=>{let n,a;return this.then(t=>{a=!1,n=t,e&&e()},t=>{a=!0,n=t,e&&e()}).then(()=>{a?r(n):t(n)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();
6this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if(V(t))return void t.then(r,n);this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(1,e)},n=e=>{t(2,e)};try{e(r,n)}catch(e){n(e)}}}function t3(e,t){let{extra:r,tags:n,attributes:a,user:i,contexts:o,level:s,sdkProcessingMetadata:l,breadcrumbs:u,fingerprint:c,eventProcessors:d,attachments:p,propagationContext:f,transactionName:h,span:m}=t;t5(e,"extra",r),t5(e,"tags",n),t5(e,"attributes",a),t5(e,"user",i),t5(e,"contexts",o),e.sdkProcessingMetadata=eM(e.sdkProcessingMetadata,l,2),s&&(e.level=s),h&&(e.transactionName=h),m&&(e.span=m),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...f}}function t5(e,t,r){e[t]=eM(e[t],r,1)}function t8(e,t){let r=eK().getScopeData();return e&&t3(r,e.getScopeData()),t&&t3(r,t.getScopeData()),r}let t9=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function t6(e,t){return eY().captureEvent(e,t)}function t7(e){eV().addEventProcessor(e)}function re(e){var t;let r,n,a=eV(),{user:i}=t8(a,eY()),{userAgent:o}=R.navigator||{},s=(t={user:i,...o&&{userAgent:o},...e},r=ej(),n={sid:eR(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=n,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}},t&&ek(n,t),n),l=a.getSession();return l?.status==="ok"&&ek(l,{status:"exited"}),rt(),a.setSession(s),s}function rt(){let e,t=eV(),r=eY().getSession()||t.getSession();r&&(e={},"ok"===r.status&&(e={status:"exited"}),ek(r,e)),rr(),t.setSession()}function rr(){let e=eV(),t=eQ(),r=e.getSession();r&&t&&t.captureSession(r)}function rn(e=!1){e?rt():rr()}let ra=[];function ri(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function ro(e,t,r){if(r[t.name]){O&&M(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,ra.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),ra.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)}O&&M(`Integration installed: ${t.name}`)}function rs(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}let rl=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/];function ru(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:rl],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function rc(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?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}(r):null}catch{return O&&$(`Cannot extract url for event ${ex(e)}`),null}}let rd=new WeakMap;function rp(e,t){let r=ey(e),n=ey(t);if(!r&&!n)return!0;
6if(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 rf(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{return!1}}function rh(e){return e.exception?.values?.[0]}function rm(e,t){var r,n,a,i;let o,s=t??(i=e,r_().get(i))??[];if(0===s.length)return;let l=e.getOptions(),u=(r=l._metadata,n=l.tunnel,a=e.getDsn(),o={},r?.sdk&&(o.sdk={name:r.sdk.name,version:r.sdk.version}),n&&a&&(o.dsn=tp(a)),tU(o,[[{type:"log",item_count:s.length,content_type:"application/vnd.sentry.items.log+json"},{items:s}]]));r_().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(u)}function r_(){return T("clientToLogBufferMap",()=>new WeakMap)}function rg(e,t){var r,n,a,i;let o,s=t??(i=e,ry().get(i))??[];if(0===s.length)return;let l=e.getOptions(),u=(r=l._metadata,n=l.tunnel,a=e.getDsn(),o={},r?.sdk&&(o.sdk={name:r.sdk.name,version:r.sdk.version}),n&&a&&(o.dsn=tp(a)),tU(o,[[{type:"trace_metric",item_count:s.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:s}]]));ry().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(u)}function ry(){return T("clientToMetricBufferMap",()=>new WeakMap)}function rv(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let rb=Symbol.for("SentryBufferFullError");function rE(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return t2(rb);let n=r();return t.add(n),n.then(()=>{t.delete(n)},()=>{t.delete(n)}),n},drain:function(e){if(!t.size)return t1(!0);let r=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([r,new Promise(t=>rv(setTimeout(()=>t(!1),e)))]):r}}}let rS="Not capturing exception because it's already been captured.",rP="Discarded session because of missing or non-string release",rR=Symbol.for("SentryInternalError"),rw=Symbol.for("SentryDoNotSendEventError");function rx(e){return{message:e,[rR]:!0}}function rT(e){return{message:e,[rw]:!0}}function rO(e){return!!e&&"object"==typeof e&&rR in e}function rA(e){return!!e&&"object"==typeof e&&rw in e}function rC(e,t,r,n,a){let i,o=0,s=!1;e.on(r,()=>{o=0,clearTimeout(i),s=!1}),e.on(t,t=>{(o+=n(t))>=8e5?a(e):s||(s=!0,i=rv(setTimeout(()=>{a(e)},5e3)))}),e.on("flush",()=>{a(e)})}class rj{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=rE(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=function(e){let t="string"==typeof e?tf(e):th(e);if(t&&function(e){if(!O)return!0;let{port:t,projectId:r,protocol:n}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&($(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==n&&"https"!==n?($(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):!(t&&isNaN(parseInt(t,10)))||($(`Invalid Sentry Dsn: Invalid port ${t}`),!1):($(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}(e.dsn):O&&L("No DSN provided, client will not send events."),this._dsn){const t=function(e,t,r){let n,a,i;return t||`${n=e.protocol?`${e.protocol}:`:"",a=e.port?`:${e.port}`:"",`${n}//${e.host}${a}${e.path?`/${e.path}`:""}/api/`}${e.projectId}/envelope/?${i={sentry_version:"7"},e.publicKey&&(i.sentry_key=e.publicKey),r&&(i.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(i).toString()}`}(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})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&rC(this,"afterCaptureLog","flushLogs",rL,rm),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&rC(this,"afterCaptureMetric","flushMetrics",rM,rg)}captureException(e,t,r){let n=eR();if(eA(e))return O&&M(rS),n;let a={event_id:n,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,r)).then(e=>e),"error"),a.event_id}captureMessage(e,t,r,n){let a={event_id:eR(),...r},i=q(e)?e:String(e),o=z(e),s=o?this.eventFromMessage(i,t,a):this.eventFromException(e,a);return this._process(()=>s.then(e=>this._captureEvent(e,a,n)),o?"unknown":"error"),a.event_id}captureEvent(e,t,r){let n=eR();if(t?.originalException&&eA(t.originalException))return O&&M(rS),n;let a={event_id:n,...t},i=e.sdkProcessingMetadata||{},o=i.capturedSpanScope,s=i.capturedSpanIsolationScope,l=rI(e.type);return this._process(()=>this._captureEvent(e,a,o||r,s),l),a.event_id}captureSession(e){this.sendSession(e),ek(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(!t)return!0;
6this.emit("flush");let r=await this._isClientDoneProcessing(e),n=await t.flush(e);return r&&n}async close(e){rm(this);let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];ro(this,e,this._integrations),t||ri(this,[e])}sendEvent(e,t={}){var r,n,a;let i,o,s,l;this.emit("beforeSendEvent",e,t);let u=(r=this._dsn,n=this._options._metadata,a=this._options.tunnel,i=tX(n),o=e.type&&"replay_event"!==e.type?e.type:"event",!function(e,t){if(!t)return;let r=e.sdk||{};e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk),s=e.sdkProcessingMetadata?.dynamicSamplingContext,l={event_id:e.event_id,sent_at:new Date().toISOString(),...i&&{sdk:i},...!!a&&r&&{dsn:tp(r)},...s&&{trace:s}},delete e.sdkProcessingMetadata,tU(l,[[{type:o},e]]));for(let e of t.attachments||[])u=function(e,t){let[r,n]=e;return[r,[...n,t]]}(u,function(e){let t="string"==typeof e.data?tB(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));this.sendEnvelope(u).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){var t,r,n;let a,{release:i,environment:o=tI}=this._options;if("aggregates"in e){let t=e.attrs||{};if(!t.release&&!i){O&&L(rP);return}t.release=t.release||i,t.environment=t.environment||o,e.attrs=t}else{if(!e.release&&!i){O&&L(rP);return}e.release=e.release||i,e.environment=e.environment||o}this.emit("beforeSendSession",e);let s=(t=this._dsn,r=this._options._metadata,n=this._options.tunnel,a=tX(r),tU({sent_at:new Date().toISOString(),...a&&{sdk:a},...!!n&&t&&{dsn:tp(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]]));this.sendEnvelope(s)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let n=`${e}:${t}`;O&&M(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set,n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return O&&$("Error while sending envelope:",e),{}}return O&&$("Transport disabled"),{}}dispose(){}_setupIntegrations(){var e;let t,{integrations:r}=this._options;this._integrations=(e=this,t={},r.forEach(r=>{r&&ro(e,r,t)}),t),ri(this,r)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,a=t.exception?.values;if(a){for(let e of(n=!0,r=!1,a))if(e.mechanism?.handled===!1){r=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&r)&&(ek(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n){let u=this.getOptions(),c=Object.keys(this._integrations);return!t.integrations&&c?.length&&(t.integrations=c),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(function(e,t,r,n,a,u){var c,d,p;let f,{normalizeDepth:h=3,normalizeMaxBreadth:m=1e3}=e,_={...t,event_id:t.event_id||r.event_id||eR(),timestamp:t.timestamp||eC()},g=r.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:r,release:n,dist:a,maxValueLength:i}=t;e.environment=e.environment||r||tI,!e.release&&n&&(e.release=n),!e.dist&&a&&(e.dist=a);let o=e.request;o?.url&&i&&(o.url=eb(o.url,i)),i&&e.exception?.values?.forEach(e
6=>{e.value&&(e.value=eb(e.value,i))})})(_,e),c=_,(d=g).length>0&&(c.sdk=c.sdk||{},c.sdk.integrations=[...c.sdk.integrations||[],...d]),a&&a.emit("applyFrameMetadata",t),void 0===t.type&&(p=_,f=function(e){let t=R._sentryDebugIds,r=R._debugIds;if(!t&&!r)return{};let n=t?Object.keys(t):[],a=r?Object.keys(r):[];if(l&&n.length===o&&a.length===s)return l;o=n.length,s=a.length,l={},i||(i={});let u=(t,r)=>{for(let n of t){let t=r[n],a=i?.[n];if(a&&l&&t)l[a[0]]=t,i&&(i[n]=[a[0],t]);else if(t){let r=e(n);for(let e=r.length-1;e>=0;e--){let a=r[e],o=a?.filename;if(o&&l&&i){l[o]=t,i[n]=[o,t];break}}}}};return t&&u(n,t),r&&u(a,r),l}(e.stackParser),p.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=f[e.filename])})}));let y=function(e,t){if(!t)return e;let r=e?e.clone():new eU;return r.update(t),r}(n,r.captureContext);r.mechanism&&eO(_,r.mechanism);let v=a?a.getEventProcessors():[],b=t8(u,y),E=[...r.attachments||[],...b.attachments];E.length&&(r.attachments=E),function(e,t){var r,n,a,i,o,s,l,u;let c,d,{fingerprint:p,span:f,breadcrumbs:h,sdkProcessingMetadata:m}=t;(function(e,t){let{extra:r,tags:n,user:a,contexts:i,level:o,transactionName:s}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(a).length&&(e.user={...a,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),o&&(e.level=o),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),f&&((r=e).contexts={trace:function(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),a=n?t:tS(e).parent_span_id,i=tu(e).scope;return{parent_span_id:a,span_id:n?i?.getPropagationContext().propagationSpanId||eL():t,trace_id:r}}(n=f),...r.contexts},r.sdkProcessingMetadata={dynamicSamplingContext:tL(n),...r.sdkProcessingMetadata},(c=tS(tA(n)).description)&&!r.transaction&&"transaction"===r.type&&(r.transaction=c)),a=e,i=p,a.fingerprint=a.fingerprint?Array.isArray(a.fingerprint)?a.fingerprint:[a.fingerprint]:[],i&&(a.fingerprint=a.fingerprint.concat(i)),a.fingerprint.length||delete a.fingerprint,o=e,s=h,d=[...o.breadcrumbs||[],...s],o.breadcrumbs=d.length?d:void 0,l=e,u=m,l.sdkProcessingMetadata={...l.sdkProcessingMetadata,...u}}(_,b);let S=[...v,...b.eventProcessors];return(r.data&&!0===r.data.__sentry__?t1(_):function(e,t,r,n=0){try{let a=function e(t,r,n,a){let i=n[a];if(!t||!i)return t;let o=i({...t},r);return(O&&null===o&&M(`Event processor "${i.id||"?"}" dropped event`),V(o))?o.then(t=>e(t,r,n,a+1)):e(o,r,n,a+1)}(t,r,e,n);return V(a)?a:t1(a)}catch(e){return t2(e)}}(S,_,r)).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof h&&h>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:tD(e.data,t,r)}}))},...e.user&&{user:tD(e.user,t,r)},...e.contexts&&{contexts:tD(e.contexts,t,r)},...e.extra&&{extra:tD(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=tD(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:tD(e.data,t,r)}}))),e.contexts?.flags&&n.contexts&&(n.contexts.flags=tD(e.contexts.flags,3,r)),n}(e,h,m):e)})(u,e,t,r,this,n).then(e=>
6(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...function(e){let t=a?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:r,parentSpanId:n,propagationSpanId:i}=e.getPropagationContext(),o={trace_id:r,span_id:i||eL()};return n&&(o.parent_span_id=n),o}(r)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:tM(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r=eY(),n=eV()){return O&&rN(e)&&M(`Captured error event \`${rs(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{O&&(rA(e)?M(e.message):rO(e)?L(e.message):L(e))})}_processEvent(e,t,r,n){let a=this.getOptions(),{sampleRate:i}=a,o=rk(e),s=rN(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===i?void 0:ti(i);if(s&&"number"==typeof c&&ec()>c)return this.recordDroppedEvent("sample_rate","error"),t2(rT(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));let d=rI(e.type);return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),rT("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if(V(e))return e.then(e=>{if(!G(e)&&null!==e)throw rx(r);return e},e=>{throw rx(`${t} rejected with ${e}`)});if(!G(e)&&null!==e)throw rx(r);return e}(function(e,t,r,n){let{beforeSend:a,beforeSendTransaction:i,beforeSendSpan:o,ignoreSpans:s}=t,l=r;if(rN(l)&&a)return a(l,n);if(rk(l)){if(o||s){let t=function(e){let{trace_id:t,parent_span_id:r,span_id:n,status:a,origin:i,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:r,span_id:n??"",start_timestamp:e.start_timestamp??0,status:a,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:o?.[e6],exclusive_time:o?.[e7],measurements:e.measurements,is_segment:!0}}(l);if(s?.length&&tz(t,s))return null;if(o){let e=o(t);if(e)l=eM(r,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[e6]:e.profile_id},...e.exclusive_time&&{[e7]:e.exclusive_time}}}},measurements:e.measurements});else tj()}if(l.spans){let t=[],r=l.spans;for(let e of r){if(s?.length&&tz(e,s)){!function(e,t){let r=t.parent_span_id,n=t.span_id;if(r)for(let t of e)t.parent_span_id===n&&(t.parent_span_id=r)}(r,e);continue}if(o){let r=o(e);r?t.push(r):(tj(),t.push(e))}else t.push(e)}let n=l.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),l.spans=t}}if(i){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(l,n)}}return l}(this,a,e,t),u)}).then(a=>{if(null===a){if(this.recordDroppedEvent("before_send",d),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw rT(`${u} returned \`null\`, will not send event.`)}let i=r.getSession()||n.getSession();if(s&&i&&this._updateSessionFromEvent(i,a),o){let e=(a.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=a.transaction_info;return o&&l&&a.transaction!==e.transaction&&(a.transaction_info={...l,source:"custom"}),this.sendEvent(a,t),a}).then(null,e=>{if(rA(e)||rO(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),rx(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 7Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===rb&&this.recordDroppedEvent("queue_overflow",t),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(){var e;O&&M("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){O&&M("No outcomes to send");return}if(!this._dsn){O&&M("No dsn provided, will not send outcomes");return}O&&M("Sending outcomes:",t);let r=tU((e=this._options.tunnel&&tp(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:eC(),discarded_events:t}]]);this.sendEnvelope(r)}}function rI(e){return"replay_event"===e?"replay":e||"error"}function rN(e){return void 0===e.type}function rk(e){return"transaction"===e.type}function rM(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+r$(e.attributes)}function rL(e){let t=0;return e.message&&(t+=2*e.message.length),t+r$(e.attributes)}function r$(e){if(!e)return 0;let t=0;
7return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*rD(e[0]):z(e)?t+=rD(e):t+=100}),t}function rD(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function rU(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function rH(e){return H(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function rB(e,t){var r,n;let a,i,o=rW(e,t),s={type:(r=t,!(a=r?.name)&&rq(r)?r.message&&Array.isArray(r.message)&&2==r.message.length?r.message[0]:"WebAssembly.Exception":a),value:(n=t,i=n?.message,rq(n)?Array.isArray(n.message)&&2==n.message.length?n.message[1]:"wasm exception":i?i.error&&"string"==typeof i.error.message?rH(i.error):rH(n):"No error message")};return o.length&&(s.stacktrace={frames:o}),void 0===s.type&&""===s.value&&(s.value="Unrecoverable error caught"),s}function rF(e,t){return{exception:{values:[rB(e,t)]}}}function rW(e,t){var r,n;let a=t.stacktrace||t.stack||"",i=(r=t)&&rX.test(r.message)?1:0,o="number"==typeof(n=t).framesToPop?n.framesToPop:0;try{return e(a,i,o)}catch{}return[]}let rX=/Minified React error #\d+;/i;function rq(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function rz(e,t,r,n,a){let i;if(F(t)&&t.error)return rF(e,t.error);if(W(t)||B(t,"DOMException")){if("stack"in t)i=rF(e,t);else{let a=t.name||(W(t)?"DOMError":"DOMException"),o=t.message?`${a}: ${t.message}`:a;eT(i=rG(e,o,r,n),o)}return"code"in t&&(i.tags={...i.tags,"DOMException.code":`${t.code}`}),i}return H(t)?rF(e,t):(G(t)||Y(t)?eO(i=function(e,t,r,n){let a=eQ(),i=a?.getOptions().normalizeDepth,o=Object.values(t).find(e=>e instanceof Error),s={__serialized__:function e(t,r=3,n=102400){let a=tD(t,r);return~-encodeURI(JSON.stringify(a)).split(/%..|./).length>n?e(t,r-1,n):a}(t,i)};if(o)return{exception:{values:[rB(e,o)]},extra:s};let l={exception:{values:[{type:Y(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r,n=((r=Object.keys(eo(e))).sort(),r[0]?r.join(", "):"[object has no keys]"),a=t?"promise rejection":"exception";if(F(e))return`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``;if(Y(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${a}`}return`Object captured as ${a} with keys: ${n}`}(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=rW(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,a),{synthetic:!0}):(eT(i=rG(e,t,r,n),`${t}`,void 0),eO(i,{synthetic:!0})),i)}function rG(e,t,r,n){let a={};if(n&&r){let n=rW(e,r);n.length&&(a.exception={values:[{value:t,stacktrace:{frames:n}}]}),eO(a,{synthetic:!0})}if(q(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 rY=0;function rV(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(ei(e))return e}catch{return e}let r=function(...r){try{let n=r.map(e=>rV(e,t));return e.apply(this,n)}catch(e){throw rY++,setTimeout(()=>{rY--}),eJ(n=>{n.addEventProcessor(e=>(t.mechanism&&(eT(e,void 0,void 0),eO(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),eY().captureException(e,function(e){if(e){var t;return(t=e)instanceof eU||"function"==typeof t||Object.keys(e).some(e=>t9.includes(e))?{captureContext:e}:e}}(void 0))}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}ea(r,e),en(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}function rK(){let e=ee(),{referrer:t}=R.document||{},{userAgent:r}=R.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}}class rJ extends rj{constructor(e){const t=function(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:R.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e);D(t,"browser",["browser"],R.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:r,sendClientReports:n,enableLogs:a,_experiments:i,enableMetrics:o}=this._options,s=o??i?.enableMetrics??!0;R.document&&(n||a||s)&&R.document.addEventListener("visibilitychange",()=>{"hidden"===R.document.visibilityState&&(n&&this._flushOutcomes(),a&&rm(this),s&&rg(this))}),r&&this.on("beforeSendSession",rU)}eventFromException(e,t){var r,n;let a;return r=this._options.stackParser,n=this._options.attachStacktrace,eO(a=rz(r,e,t?.syntheticException||void 0,n)),a.level="error",t?.event_id&&(a.event_id=t.event_id),t1(a)}eventFromMessage(e,t="info",r){return function(e,t,r="info",n,a){let i=rG(e,t,n?.syntheticException||void 0,a);return i.level=r,n?.event_id&&(i.event_id=n.event_id),t1(i)}(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}let rQ={},rZ={};function r0(e,t){rQ[e]=rQ[e]||[],rQ[e].push(t)}function r1(e,t){if(!rZ[e]){rZ[e]=!0;try{t()}catch(t){O&&$(`Error while instrumenting ${e}`,t)}}}function r2(e,t){let r=e&&rQ[e];if(r)for(let n of r)try{n(t)}catch(t){O&&$(`Error while triggering instrumentation handler. 8Type: ${e} 9Name: ${eg(n)} 10Error:`,t)}}function r4(){"console"in R&&A.forEach(function(e){e in R.console&&er(R.console,e,function(t){return C[e]=t,function(...t){r2("console",{args:t,level:e});let r=C[e];r?.apply(R.console,t)}})})}function r3(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function r5(e,t){let r="fetch";r0(r,e),r1(r,()=>r8(void 0,t))}
10function r8(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in R))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(r3(R.fetch))return!0;let e=!1,t=R.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=r3(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){O&&L("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&er(R,"fetch",function(t){return function(...r){let n=Error(),{method:a,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:ne(t),method:r7(r,"method")?String(r.method).toUpperCase():Q(t)&&r7(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:ne(t),method:r7(t,"method")?String(t.method).toUpperCase():"GET"}}(r),o={args:r,fetchData:{method:a,url:i},startTimestamp:1e3*ej(),virtualError:n,headers:function(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if(Q(t))return new Headers(t.headers)}catch{}}(r)};return e||r2("fetch",{...o}),t.apply(R,r).then(async t=>(e?e(t):r2("fetch",{...o,endTimestamp:1e3*ej(),response:t}),t),e=>{r2("fetch",{...o,endTimestamp:1e3*ej(),error:e}),H(e)&&void 0===e.stack&&(e.stack=n.stack,en(e,"framesToPop",1));let t=eQ(),r=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==r&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:en(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function r9(e,t){if(e?.body){let r=e.body,n=r.getReader(),a=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),i=!0;for(;i;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:a}=await n.read();clearTimeout(e),a&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(e)}}clearTimeout(a),n.releaseLock(),r.cancel().then(null,()=>{})}}function r6(e){let t;try{t=e.clone()}catch{return}r9(t,()=>{r2("fetch-body-resolved",{endTimestamp:1e3*ej(),response:e})})}function r7(e,t){return!!e&&"object"==typeof e&&!!e[t]}function ne(e){return"string"==typeof e?e:e?r7(e,"url")?e.url:e.toString?e.toString():"":""}function nt(e,t){let r=eQ(),n=eV();if(!r)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:i=100}=r.getOptions();if(i<=0)return;let o={timestamp:eC(),...e},s=a?j(()=>a(o,t)):o;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,i))}function nr(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function nn(e){return"isRelative"in e}function na(e,t){let r=0>=e.indexOf("://")&&0!==e.indexOf("//"),n=t??(r?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function ni(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 no(e){return e.split(/[?#]/,1)[0]}function ns(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/),n=r?r[1]:"text/plain",a=e.includes(";base64,"),i=e.indexOf(","),o="";if(t&&-1!==i){let t=e.slice(i+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${n}${a?",base64":""}${o?`,${o}`:""}`}return e}function nl(){if(!R.document)return;let e=r2.bind(null,"dom"),t=nu(e,!0);R.document.addEventListener("click",t,!1),R.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=R[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(er(r,"addEventListener",function(t){return function(r,n,a){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=n[r]=n[r]||{refCount:0};if(!i.handler){let n=nu(e);i.handler=n,t.call(this,r,n,a)}i.refCount++}catch{}return t.call(this,r,n,a)}}),er(r,"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{}return e.call(this,t,r,n)}}))})}function nu(e,t=!1){return r=>{var n;if(!r||r._sentryCaptured)return;let a=function(e){try{return e.target}catch{return null}}(r);if(n=r.type,"keypress"===n&&(!a?.tagName||"INPUT"!==a.tagName&&"TEXTAREA"!==a.tagName&&!a.isContentEditable&&1))return;en(r,"_sentryCaptured",!0),a&&!a._sentryId&&en(a,"_sentryId",eR());let i="keypress"===r.type?"input":r.type;!function(e){if(e.type!==d)return!1;try{if(!e.target||e.target._sentryId!==p)return!1}catch{}return!0}(r)&&(e({event:r,name:i,global:t}),d=r.type,p=a?a._sentryId:void 0),clearTimeout(c),c=R.setTimeout(()=>{p=void 0,d=void 0},1e3)}}let nc="__sentry_xhr_v3__";
10function nd(e){r0("xhr",e),r1("xhr",np)}function np(){if(!R.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let n=Error(),a=1e3*ej(),i=X(r[0])?r[0].toUpperCase():void 0,o=function(e){if(X(e))return e;try{return e.toString()}catch{}}(r[1]);if(!i||!o)return e.apply(t,r);t[nc]={method:i,url:o,request_headers:{}},"POST"===i&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[nc];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}r2("xhr",{endTimestamp:1e3*ej(),startTimestamp:a,xhr:t,virtualError:n})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(s(),e.apply(t,r))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[n,a]=r,i=t[nc];return i&&X(n)&&X(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 n=t[nc];return n&&(void 0!==r[0]&&(n.body=r[0]),r2("xhr",{startTimestamp:1e3*ej(),xhr:t})),e.apply(t,r)}})}function nf(e){let t="history";r0(t,e),r1(t,nh)}function nh(){function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let n=f,a=function(e){try{return new URL(e,R.location.origin).toString()}catch{return e}}(String(r));if(f=a,n===a)return e.apply(this,t);r2("history",{from:n,to:a})}return e.apply(this,t)}}R.addEventListener("popstate",()=>{let e=R.location.href,t=f;f=e,t===e||r2("history",{from:t,to:e})}),"history"in R&&R.history&&(er(R.history,"pushState",e),er(R.history,"replaceState",e))}let nm="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,n_="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");function ng(e){return function(...t){let r=t[0];return t[0]=rV(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${eg(e)}`}}),e.apply(this,t)}}function ny(e){return function(t){return e.apply(this,[rV(t,{mechanism:{data:{handler:eg(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function nv(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&er(r,e,function(t){let r={mechanism:{data:{handler:eg(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},n=ei(t);return n&&(r.mechanism.data.handler=eg(n)),rV(t,r)})}),e.apply(this,t)}}let nb=null;function nE(e){let t="error";r0(t,e),r1(t,nS)}function nS(){nb=R.onerror,R.onerror=function(e,t,r,n,a){return r2("error",{column:n,error:a,line:r,msg:e,url:t}),!!nb&&nb.apply(this,arguments)},R.onerror.__SENTRY_INSTRUMENTED__=!0}let nP=null;function nR(e){let t="unhandledrejection";r0(t,e),r1(t,nw)}function nw(){nP=R.onunhandledrejection,R.onunhandledrejection=function(e){return r2("unhandledrejection",e),!nP||nP.apply(this,arguments)},R.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function nx(e){nm&&M(`Global Handler attached: ${e}`)}function nT(){let e=eQ();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function nO(e){return Array.isArray(e.errors)}function nA(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...nO(r)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function nC(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function nj(e,t,r,n){let a={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==r&&(a.lineno=r),void 0!==n&&(a.colno=n),a}let nI=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,nN=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,nk=/\((\S*)(?::(\d+))(?::(\d+))\)/,nM=/at (.+?) ?\(data:(.+?),/,nL=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,n$=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,nD=eh([30,e=>{let t=e.match(nM);
10if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let r=nI.exec(e);if(r){let[,e,t,n]=r;return nj(e,"?",+t,+n)}let n=nN.exec(e);if(n){if(n[2]?.indexOf("eval")===0){let e=nk.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=nU(n[1]||"?",n[2]);return nj(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{let t=nL.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=n$.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]||"?";return[r,e]=nU(r,e),nj(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),nU=(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]:"?",r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},nH="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nB={};function nF(e,t=function(e){let t=nB[e];if(t)return t;let r=R[e];if(r3(r))return nB[e]=r.bind(R);let n=R.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a?.[e]&&(r=a[e]),n.head.removeChild(t)}catch(t){nH&&L(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?nB[e]=r.bind(R):r}("fetch")){let r=0,n=0;async function a(a){let i=a.body.length;r+=i,n++;let o={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};try{let r=await t(e.url,o);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw nB.fetch=void 0,e}finally{r-=i,n--}}return function(e,t,r=rE(e.bufferSize||64)){let n={};return{send:function(a){let i=[];if(tH(a,(t,r)=>{let a=tW(r);!function(e,t,r=ed()){return(e[t]||e.all||0)>r}(n,a)?i.push(t):e.recordDroppedEvent("ratelimit_backoff",a)}),0===i.length)return Promise.resolve({});let o=tU(a[0],i),s=t=>{var r;if(r=["client_report"],tH(o,(e,t)=>r.includes(t))){O&&L(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}tH(o,(r,n)=>{e.recordDroppedEvent(t,tW(n))})};return r.add(()=>t({body:function(e){let[t,r]=e,n=JSON.stringify(t);function a(e){"string"==typeof n?n="string"==typeof e?n+e:[tB(n),e]:n.push("string"==typeof e?tB(e):e)}for(let e of r){let[t,r]=e;if(a(` 11${JSON.stringify(t)} 12`),"string"==typeof r||r instanceof Uint8Array)a(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify(tD(r))}a(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)}(o)}).then(e=>(413===e.statusCode?(O&&$("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(O&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&L(`Sentry responded with status code ${e.statusCode} to sent event.`),n=function(e,{statusCode:t,headers:r},n=ed()){let a={...e},i=r?.["x-sentry-rate-limits"],o=r?.["retry-after"];if(i)for(let e of i.trim().split(",")){let[t,r,,,i]=e.split(":",5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(a[e]=n+s):a[e]=n+s;else a.all=n+s}else o?a.all=n+function(e,t=ed()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let n=Date.parse(`${e}`);return isNaN(n)?6e4:n-t}(o,n):429===t&&(a.all=n+6e4);return a}(n,e)),e),e=>{throw s("network_error"),O&&$("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===rb)return O&&$("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}(e,a,rE(e.bufferSize||40))}function nW(e){let t;return[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(r){t=ru(e,r.getOptions())},processEvent:(r,n,a)=>(t||(t=ru(e,a.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&eP(r,t)}(e,t.ignoreTransactions))return O&&L(`Event dropped due to being matched by \`ignoreTransactions\` option. 13Event: ${ex(e)}`),!0}else{var r,n,a;if(r=e,n=t.ignoreErrors,n?.length&&rs(r).some(e=>eP(e,n)))return O&&L(`Event dropped due to being matched by \`ignoreErrors\` option. 14Event: ${ex(e)}`),!0;if(a=e,a.exception?.values?.length&&!a.message&&!a.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return O&&L(`Event dropped due to not having an error message, error type or stacktrace. 15Event: ${ex(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let r=rc(e);return!!r&&eP(r,t)}(e,t.denyUrls))return O&&L(`Event dropped due to being matched by \`denyUrls\` option. 16Event: ${ex(e)}. 17Url: ${rc(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let r=rc(e);return!r||eP(r,t)}(e,t.allowUrls))return O&&L(`Event dropped due to not being matched by \`allowUrls\` option. 18Event: ${ex(e)}. 19Url: ${rc(e)}`),!0}return!1}(r,t)?r:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){u=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=ei(this),r=rd.has(eQ())&&void 0!==t?t:this;return u.apply(r,e)}}catch{}},setup(e){rd.set(e,!0)}},{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=eY().getScopeData(),r=eV().getScopeData(),n=t.conversationId||r.conversationId;n&&e.setAttribute("gen_ai.conversation.id",n)})}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&er(R,"setTimeout",ng),t.setInterval&&er(R,"setInterval",ng),t.requestAnimationFrame&&er(R,"requestAnimationFrame",ny),t.XMLHttpRequest&&"XMLHttpRequest"in R&&er(XMLHttpRequest.prototype,"send",nv);let e=t.eventTarget;
19e&&(Array.isArray(e)?e:n_).forEach(e=>{var r,n;let a;return r=e,n=t,a=R[r]?.prototype,void(a?.hasOwnProperty?.("addEventListener")&&(er(a,"addEventListener",function(e){return function(t,a,i){var o,s,l,u;try{o=a,"function"==typeof o.handleEvent&&(a.handleEvent=rV(a.handleEvent,{mechanism:{data:{handler:eg(a),target:r},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return n.unregisterOriginalCallbacks&&(s=this,l=t,u=a,s&&"object"==typeof s&&"removeEventListener"in s&&"function"==typeof s.removeEventListener&&s.removeEventListener(l,u)),e.apply(this,[t,rV(a,{mechanism:{data:{handler:eg(a),target:r},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),er(a,"removeEventListener",function(e){return function(t,r,n){try{let a=r.__sentry_wrapped__;a&&e.call(this,t,a,n)}catch{}return e.call(this,t,r,n)}})))})}}})(),((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,i,o,s,l;let u;t.console&&(r=e,r0(u="console",function(e){var t;if(eQ()!==r)return;let n={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:eE(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else n.message=`Assertion failed: ${eE(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1);nt(n,{input:e.args,level:e.level})}),r1(u,r4)),t.dom&&(r0("dom",(n=e,a=t.dom,function(e){let t,r;if(eQ()!==n)return;let i="object"==typeof a?a.serializeAttribute:void 0,o="object"==typeof a&&"number"==typeof a.maxStringLength?a.maxStringLength:void 0;o&&o>1024&&(nm&&L(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof i&&(i=[i]);try{var s;let n=e.event,a=(s=n)&&s.target?n.target:n;t=Z(a,{keyAttrs:i,maxStringLength:o}),r=et(a)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};r&&(l.data={"ui.component_name":r}),nt(l,{event:e.event,name:e.name,global:e.global})})),r1("dom",nl)),t.xhr&&nd((i=e,function(e){if(eQ()!==i)return;let{startTimestamp:t,endTimestamp:r}=e,n=e.xhr[nc];if(!t||!r||!n)return;let{method:a,url:o,status_code:s,body:l}=n,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:r},c={category:"xhr",data:{method:a,url:o,status_code:s},type:"http",level:nr(s)};i.emit("beforeOutgoingRequestBreadcrumb",c,u),nt(c,u)})),t.fetch&&r5((o=e,function(e){if(eQ()!==o)return;let{startTimestamp:t,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let n={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r},a={category:"fetch",data:e.fetchData,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",a,n),nt(a,n)}else{let n=e.response,a={...e.fetchData,status_code:n?.status},i={input:e.args,response:n,startTimestamp:t,endTimestamp:r},s={category:"fetch",data:a,type:"http",level:nr(a.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",s,i),nt(s,i)}})),t.history&&nf((s=e,function(e){if(eQ()!==s)return;let t=e.from,r=e.to,n=ni(R.location.href),a=t?ni(t):void 0,i=ni(r);a?.path||(a=n),n.protocol===i.protocol&&n.host===i.host&&(r=i.relative),n.protocol===a.protocol&&n.host===a.host&&(t=a.relative),nt({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){eQ()===l&&nt({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:ex(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var r,n;t.onerror&&(r=e,nE(e=>{var t,n,a,i;let o,s,l,u,c,{stackParser:d,attachStacktrace:p}=nT();if(eQ()!==r||rY>0)return;let{msg:f,url:h,line:m,column:_,error:g}=e,y=(t=rz(d,g||f,void 0,p,!1),n=h,a=m,i=_,0===(c=(u=(l=(s=(o=t.exception=t.exception||{}).values=o.values||[])[0]=s[0]||{}).stacktrace=l.stacktrace||{}).frames=u.frames||[]).length&&c.push({colno:i,lineno:a,filename:function(e){if(X(e)&&0!==e.length)return e.startsWith("data:")?`<${ns(e,!1)}>`:e}(n)??ee(),function:"?",in_app:!0}),t);y.level="error",t6(y,{originalException:g,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),nx("onerror")),t.onunhandledrejection&&(n=e,nR(e=>{var t;let{stackParser:r,attachStacktrace:a}=nT();if(eQ()!==n||rY>0)return;let i=function(e){if(z(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(e),o=z(i)?(t=i,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):rz(r,i,void 0,a,!0);o.level="error",t6(o,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),nx("onunhandledrejection"))}}})(),((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,a){!function(e,t,r,n,a,i){if(!a.exception?.values||!i||!K(i.originalException,Error))return;let o=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;o&&(a.exception.values=function e(t,r,n,a,i,o,s,l){if(o.length>=n+1)return o;let u=[...o];if(K(a[i],Error)){nA(s,l,a);let o=t(r,a[i]),c=u.length;nC(o,i,c,l),u=e(t,r,n,a[i],i,[o,...u],o,c)}
19return nO(a)&&a.errors.forEach((o,c)=>{if(K(o,Error)){nA(s,l,a);let d=t(r,o),p=u.length;nC(d,`errors[${c}]`,p,l),u=e(t,r,n,o,i,[d,...u],d,p)}}),u}(e,t,n,i.originalException,r,a.exception.values,o,0))}(rB,a.getOptions().stackParser,r,t,e,n)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var r,n,a,i,o,s;let l,u,c,d;if(r=e,(n=t)&&(a=r,i=n,l=a.message,u=i.message,(l||u)&&(!l||u)&&(l||!u)&&l===u&&rf(a,i)&&rp(a,i)&&1||(o=r,s=n,c=rh(s),d=rh(o),c&&d&&c.type===d.type&&c.value===d.value&&rf(o,s)&&rp(o,s))))return O&&L("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}},{name:"HttpContext",preprocessEvent(e){if(!R.navigator&&!R.location&&!R.document)return;let t=rK(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}}},{name:"CultureContext",preprocessEvent(e){let t=function(){try{let e=R.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})}},((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===R.document){nm&&L("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}re({ignoreDuration:!0}),rn();let e=eV(),r=e.getUser();e.addScopeListener(e=>{let t=e.getUser();
19(r?.id!==t?.id||r?.ip_address!==t?.ip_address)&&(rn(),r=t)}),"route"===t&&nf(({from:e,to:t})=>{e!==t&&(re({ignoreDuration:!0}),rn())})}}})()]}var nX=e.i(55118);let nq="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,nz={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function nG(e,t={}){let r,n,a=new Map,i=!1,o="externalFinish",s=!t.disableAutoFinish,l=[],{idleTimeout:u=nz.idleTimeout,finalTimeout:c=nz.finalTimeout,childSpanTimeout:d=nz.childSpanTimeout,beforeSpanEnd:p,trimIdleSpanEndTimestamp:f=!0}=t,h=eQ();if(!h||!ta()){let e=new t$,t={sample_rate:"0",sampled:"false",...tL(e)};return en(e,tN,t),e}let m=eY(),_=tC(),g=(r=tQ(e),eD(eY(),r),O&&M("[Tracing] Started span is an idle span"),r);function y(){n&&(clearTimeout(n),n=void 0)}function v(e){y(),n=setTimeout(()=>{!i&&0===a.size&&s&&(o="idleTimeout",g.end(e))},u)}function b(e){n=setTimeout(()=>{!i&&s&&(o="heartbeatFailed",g.end(e))},d)}function E(e){i=!0,a.clear(),l.forEach(e=>e()),eD(m,_);let t=tS(g),{start_timestamp:r}=t;if(!r)return;t.data[e3]||g.setAttribute(e3,o);let n=t.status;n&&"unknown"!==n||g.setStatus({code:1}),M(`[Tracing] Idle span "${t.op}" finished`);let s=tO(g).filter(e=>e!==g),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e),O&&M("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=tS(t),a=n<=e,i=r-n<=(c+u)/1e3;if(O){let e=JSON.stringify(t,void 0,2);a?i||M("[Tracing] Discarding span since it finished after idle span final timeout",e):M("[Tracing] Discarding span since it happened after idle span was finished",e)}(!i||!a)&&(g[tw]&&g[tw].delete(t),d++)}),d>0&&g.setAttribute("sentry.idle_span_discarded_spans",d)}return g.end=new Proxy(g.end,{apply(e,t,r){if(p&&p(g),t instanceof t$)return;let[n,...a]=r,i=tb(n||ej()),o=tO(g).filter(e=>e!==g),s=tS(g);if(!o.length||!f)return E(i),Reflect.apply(e,t,[i,...a]);let l=h.getOptions().ignoreSpans,u=o?.reduce((e,t)=>{let r=tS(t);return!r.timestamp||l&&tz(r,l)?e:e?Math.max(e,r.timestamp):r.timestamp},void 0),d=s.start_timestamp,m=Math.min(d?d+c/1e3:1/0,Math.max(d||-1/0,Math.min(i,u||1/0)));return E(m),Reflect.apply(e,t,[m,...a])}}),l.push(h.on("spanStart",e=>{var t;!(i||e===g||tS(e).timestamp||e instanceof tY&&e.isStandaloneSpan())&&tO(g).includes(e)&&(t=e.spanContext().spanId,y(),a.set(t,!0),b(ej()+d/1e3))})),l.push(h.on("spanEnd",e=>{if(!i){var t;t=e.spanContext().spanId,a.has(t)&&a.delete(t),0===a.size&&v(ej()+u/1e3)}})),l.push(h.on("idleSpanEnableAutoFinish",e=>{e===g&&(s=!0,v(),a.size&&b())})),t.disableAutoFinish||v(),setTimeout(()=>{i||(g.setStatus({code:2,message:"deadline_exceeded"}),o="finalTimeout",g.end())},c),g}let nY=!1,nV=(e,t,r,n)=>{let a,i;return o=>{if(t.value>=0&&(o||n)&&((i=t.value-(a??0))||void 0===a)){var s;a=t.value,t.delta=i,s=t.value,t.rating=s>r[1]?"poor":s>r[0]?"needs-improvement":"good",e(t)}}},nK=(e=!0)=>{let t=R.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},nJ=()=>{let e=nK();return e?.activationStart??0};function nQ(e,t,r){R.document&&R.addEventListener(e,t,r)}function nZ(e,t,r){R.document&&R.removeEventListener(e,t,r)}let n0=-1,n1=new Set,n2=e=>{if(("pagehide"===e.type||R.document?.visibilityState==="hidden")&&n0>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of n1)e();isFinite(n0)||(n0="visibilitychange"===e.type?e.timeStamp:0,nZ("prerenderingchange",n2,!0))}},n4=()=>{if(R.document&&n0<0){let e=nJ();n0=(R.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(R.document?.visibilityState!=="hidden"||R.document?.prerendering?1/0:0),nQ("visibilitychange",n2,!0),nQ("pagehide",n2,!0),nQ("prerenderingchange",n2,!0)}return{get firstHiddenTime(){return n0},onHidden(e){n1.add(e)}}},n3=(e,t=-1)=>{let r=nK(),n="navigate";return r&&(R.document?.prerendering||nJ()>0?n="prerender":R.document?.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:n}},n5=new WeakMap;function n8(e,t){try{return n5.get(e)||n5.set(e,new t),n5.get(e)}catch(e){return new t}}class n9{constructor(){n9.prototype.__init.call(this),n9.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let n6=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}},n7=e=>{let t=!1;return()=>{t||(e(),t=!0)}},ae=e=>{R.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},at=[1800,3e3],ar=[.1,.25],an=0,aa=1/0,ai=0,ao=e=>
19{e.forEach(e=>{e.interactionId&&(aa=Math.min(aa,e.interactionId),an=(ai=Math.max(ai,e.interactionId))?(ai-aa)/7+1:0)})},as=()=>h?an:performance.interactionCount||0,al=0;class au{constructor(){au.prototype.__init.call(this),au.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){al=as(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((as()-al)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<10||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].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(r)}}}let ac=e=>{let t=R.requestIdleCallback||R.setTimeout;R.document?.visibilityState==="hidden"?e():(nQ("visibilitychange",e=n7(e),{once:!0,capture:!0}),nQ("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),nZ("visibilitychange",e,{capture:!0}),nZ("pagehide",e,{capture:!0})}))},ad=[200,500];class ap{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let af=[2500,4e3],ah=[800,1800],am=e=>{R.document?.prerendering?ae(()=>am(e)):R.document?.readyState!=="complete"?addEventListener("load",()=>am(e),!0):setTimeout(e)},a_={},ag={};function ay(e,t=!1){return ax("cls",e,aS,m,t)}function av(e,t=!1){return ax("lcp",e,aP,_,t)}function ab(e,t){var r;let n;return aT(e,t),ag[e]||(n={},"event"===(r=e)&&(n.durationThreshold=0),n6(r,e=>{aE(r,{entries:e})},n),ag[e]=!0),aO(e,t)}function aE(e,t){let r=a_[e];if(r?.length)for(let n of r)try{n(t)}catch(t){nH&&$(`Error while triggering instrumentation handler. 20Type: ${e} 21Name: ${eg(n)} 22Error:`,t)}}function aS(){return((e,t={})=>{((e,t={})=>{ae(()=>{let r,n=n4(),a=n3("FCP"),i=n6("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(i.disconnect(),t.startTime<n.firstHiddenTime&&(a.value=Math.max(t.startTime-nJ(),0),a.entries.push(t),r(!0)))});i&&(r=nV(e,a,at,t.reportAllChanges))})})(n7(()=>{let r,n=n3("CLS",0),a=n4(),i=n8(t,n9),o=e=>{for(let t of e)i._processEntry(t);i._sessionValue>n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},s=n6("layout-shift",o);s&&(r=nV(e,n,ar,t.reportAllChanges),a.onHidden(()=>{o(s.takeRecords()),r(!0)}),R?.setTimeout?.(r))}))})(e=>{aE("cls",{metric:e}),m=e},{reportAllChanges:!0})}function aP(){return((e,t={})=>{ae(()=>{let r,n=n4(),a=n3("LCP"),i=n8(t,ap),o=e=>{for(let o of(t.reportAllChanges||(e=e.slice(-1)),e))i._processEntry(o),o.startTime<n.firstHiddenTime&&(a.value=Math.max(o.startTime-nJ(),0),a.entries=[o],r())},s=n6("largest-contentful-paint",o);if(s){r=nV(e,a,af,t.reportAllChanges);let n=n7(()=>{o(s.takeRecords()),s.disconnect(),r(!0)}),i=e=>{e.isTrusted&&(ac(n),nZ(e.type,i,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])nQ(e,i,{capture:!0})}})})(e=>{aE("lcp",{metric:e}),_=e},{reportAllChanges:!0})}function aR(){return((e,t={})=>{let r=n3("TTFB"),n=nV(e,r,ah,t.reportAllChanges);am(()=>{let e=nK();e&&(r.value=Math.max(e.responseStart-nJ(),0),r.entries=[e],n(!0))})})(e=>{aE("ttfb",{metric:e}),g=e})}function aw(){return((e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let r=n4();ae(()=>{let n;"interactionCount"in performance||h||(h=n6("event",ao,{type:"event",buffered:!0,durationThreshold:0}));let a=n3("INP"),i=n8(t,au),o=e=>{ac(()=>{for(let t of e)i._processEntry(t);let t=i._estimateP98LongestInteraction();
22t&&t._latency!==a.value&&(a.value=t._latency,a.entries=t.entries,n())})},s=n6("event",o,{durationThreshold:t.durationThreshold??40});n=nV(e,a,ad,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{o(s.takeRecords()),n(!0)}))})})(e=>{aE("inp",{metric:e}),y=e})}function ax(e,t,r,n,a=!1){let i;return aT(e,t),ag[e]||(i=r(),ag[e]=!0),n&&t({metric:n}),aO(e,t,a?i:void 0)}function aT(e,t){a_[e]=a_[e]||[],a_[e].push(t)}function aO(e,t,r){return()=>{r&&r();let n=a_[e];if(!n)return;let a=n.indexOf(t);-1!==a&&n.splice(a,1)}}function aA(e){return"number"==typeof e&&isFinite(e)}function aC(e,t,r,{...n}){let a=tS(e).start_timestamp;return a&&a>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),tZ(e,()=>{let e=tQ({startTime:t,...n});return e&&e.end(r),e})}function aj(e){let t,r=eQ();if(!r)return;let{name:n,transaction:a,attributes:i,startTime:o}=e,{release:s,environment:l,sendDefaultPii:u}=r.getOptions(),c=r.getIntegrationByName("Replay"),d=c?.getReplayId(),p=eY(),f=p.getUser(),h=void 0!==f?f.email||f.id||f.ip_address:void 0;try{t=p.getScopeData().contexts.profile.profile_id}catch{}return tQ({name:n,attributes:{release:s,environment:l,user:h||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:a,"user_agent.original":R.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...i},startTime:o,experimental:{standalone:!0}})}function aI(){return R.addEventListener&&R.performance}function aN(e){return e/1e3}function ak(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function aM(e,t){let r,n,a=!1;function i(e){!a&&n&&t(e,n),a=!0}nQ("visibilitychange",r=e=>{("pagehide"===e.type||R.document?.visibilityState==="hidden")&&(()=>{i("pagehide")})(e)},{capture:!0,once:!0}),nQ("pagehide",r,{capture:!0,once:!0});let o=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),o(),s())}),s=e.on("afterStartPageLoadSpan",e=>{n=e.spanContext().spanId,s()})}let aL=[],a$=new Map,aD=new Map,aU={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"},aH=({metric:e})=>{if(void 0==e.value)return;let t=aN(e.value);if(t>60)return;let r=e.entries.find(t=>t.duration===e.value&&aU[t.name]);if(!r)return;let{interactionId:n}=r,a=aU[r.name],i=aN(eN()+r.startTime),o=tC(),s=o?tA(o):void 0,l=null!=n?a$.get(n):void 0,u=l?.span||s,c=u?tS(u).description:eY().getScopeData().transactionName,d=aj({name:l?.elementName||Z(r.target),transaction:c,attributes:{[e4]:"auto.http.browser.inp",[e2]:`ui.interaction.${a}`,[e7]:r.duration},startTime:i});d&&(d.addEvent("inp",{[e5]:"millisecond",[e8]:e.value}),d.end(i+t))};function aB(e){return e?((eN()||performance.timeOrigin)+e)/1e3:e}function aF(e){let t={};if(void 0!=e.nextHopProtocol){let{name:r,version:n}=function(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}}(e.nextHopProtocol);t["network.protocol.version"]=n,t["network.protocol.name"]=r}return eN()||aI()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":aB(e.redirectStart),"http.request.redirect_end":aB(e.redirectEnd),"http.request.worker_start":aB(e.workerStart),"http.request.fetch_start":aB(e.fetchStart),"http.request.domain_lookup_start":aB(e.domainLookupStart),"http.request.domain_lookup_end":aB(e.domainLookupEnd),"http.request.connect_start":aB(e.connectStart),"http.request.secure_connection_start":aB(e.secureConnectionStart),"http.request.connection_end":aB(e.connectEnd),"http.request.request_start":aB(e.requestStart),"http.request.response_start":aB(e.responseStart),"http.request.response_end":aB(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}let aW=0,aX={};function aq(e,t,r,n,a=r){var i;let o=t["secureConnection"===(i=r)?"connectEnd":"fetch"===i?"domainLookupStart":`${i}End`],s=t[`${r}Start`];s&&o&&aC(e,n+aN(s),n+aN(o),{op:`browser.${a}`,name:t.name,attributes:{[e4]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}let az="sentry_previous_trace";function aG(e){return 1===e.traceFlags}function aY(e={}){let t,r=e.client||eQ();if(t=eQ(),!(t?.getOptions().enabled!==!1&&t?.getTransport())||!r)return{};let n=eG(w());if(n.getTraceData)return n.getTraceData(e);let i=e.scope||eY(),o=e.span||tC();if(!o&&void 0!==a)return{};let s=o?function(e){let{traceId:t,spanId:r}=e.spanContext();return t_(t,r,tP(e))}(o):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return t_(t,n,r)}(i),l=function(e){if(e){var t=Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${te}${t}`]=r),e),{});return 0!==Object.keys(t).length?Object.entries(t).reduce((e,[t,r],n)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,i=0===n?a:`${e},${a}`;return i.length>8192?(O&&L(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):i},""):void 0}}(o?tL(o):tM(r,i));if(!tm.test(s))return L("Invalid sentry-trace data. Cannot generate trace data"),{};let u={"sentry-trace":s,baggage:l};return e.propagateTraceparent&&(u.traceparent=o?function(e){let{traceId:t,spanId:r}=e.spanContext();return tg(t,r,tP(e))}(o):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return tg(t,n,r)}(i)),u}function aV(e){return e.split(",").some(e=>e.trim().startsWith(te))}function aK(e,t,r,n){let a={url:ns(e),type:"fetch","http.method":r,[e4]:n,[e2]:"http.client"};return t&&(nn(t)||(a["http.url"]=ns(t.href),a["server.address"]=t.host),t.search&&(a["http.query"]=t.search),t.hash&&(a["http.fragment"]=t.hash)),a}function aJ(e){try{return new URL(e,R.location.origin).href}catch{return}}function aQ(e){try{return new Headers(e)}catch{return}}Symbol.for("sentry__originalRequestBody");let aZ=new WeakMap,a0=new Map,a1={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function a2(e){let{url:t}=tS(e).data;if(!t||"string"!=typeof t)return;let r=ab("resource",({entries:n})=>
22{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&(e.setAttributes(aF(n)),setTimeout(r))})})}let a4=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i,a3={...nz,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...a1};function a5(e,t,r){e.emit("startPageLoadSpan",t,r),eY().setTransactionName(t.name);let n=e[a7];return n&&e.emit("afterStartPageLoadSpan",n),n}function a8(e,t,r){let{url:n,isRedirect:a}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:a}),e.emit("startNavigationSpan",t,{isRedirect:a});let i=eY();return i.setTransactionName(t.name),n&&!a&&i.setSDKProcessingMetadata({normalizedRequest:{...rK(),url:n}}),e[a7]}function a9(e){let t=R.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}function a6(e){let t=R.performance?.getEntriesByType?.("navigation")[0],r=t?.serverTiming?.find(t=>t.name===e);return r?.description}let a7="_sentry_idleSpan",ie=null,it=new Map,ir=new Map;function ia(e){let t=e.split("/").filter(Boolean),r=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?r+=1e3:t.endsWith("*")?r+=100:r+=10}return t.length>0&&(r+=1/t.length),r}function ii(e){if(it.has(e))return it.get(e)??null;try{let t=new RegExp(e);return it.set(e,t),t}catch(t){return nq&&L("Could not compile regex",{regexString:e,error:t}),null}}function io(){if(!R?._sentryRouteManifest||"string"!=typeof R._sentryRouteManifest)return null;let e=R._sentryRouteManifest;if(ie&&E===e)return ie;it.clear(),ir.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return ie=t,E=e,t}catch{return nq&&L("Could not extract route manifest"),null}}let is=e=>{let t=io();if(!t)return;let r=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(ir.has(r))return ir.get(r);let{staticRoutes:n,dynamicRoutes:a}=t;if(!Array.isArray(n)||!Array.isArray(a))return;let i=(function(e,t,r){let n=[];if(t.some(t=>t.path===e))return n;for(let t of r)if(t.regex){let r=ii(t.regex);r?.test(e)&&n.push(t.path)}if(!e.startsWith("/:")){for(let t of r)if(t.hasOptionalPrefix&&t.regex){let r="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,a=ii(t.regex);a?.test(r)&&n.push(t.path)}}return n})(r,n,a).sort((e,t)=>ia(e)-ia(t))[0];return ir.set(r,i),i};function il(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}let iu="incomplete-app-router-transaction",ic={current:void 0};function id(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let ip=new WeakSet;function ih(e,t,r){ip.has(t)||(ip.add(t),["back","forward","push","replace"].forEach(n=>{t?.[n]&&(t[n]=new Proxy(t[n],{apply(t,a,i){!1;let o=iu,s={[e2]:"navigation",[e4]:"auto.navigation.nextjs.app_router_instrumentation",[eZ]:"url"},l=i[0],u=S.default.env._sentryBasePath??R._sentryBasePath,c=u&&"string"==typeof l&&!l.startsWith(u)?`${u}${l}`:l;"push"===n?(o=il(id(c)),s["navigation.type"]="router.push"):"replace"===n?(o=il(id(c)),s["navigation.type"]="router.replace"):"back"===n?s["navigation.type"]="router.back":"forward"===n&&(s["navigation.type"]="router.forward");let d=is(o);return r.current=a8(e,{name:d??o,attributes:{...s,[eZ]:d?"route":"url"}}),t.apply(a,i)}}))}))}var im=e.i(65761);let i_=im.default.events?im.default:im.default.default,ig=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function iy(...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 iv(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 ib=new class{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}(100),iE=!1;S.default.env.NEXT_PUBLIC_SENTRY_DSN&&function(e){var t;let r,n,a,i,o,s,l;iE&&j(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),iE=!0,!nq&&e.debug&&j(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){R.document&&function(e){let t=is(e)||e,r=ib.get(t);if(void 0!==r)return r;let n=io();if(!n?.isrRoutes||!Array.isArray(n.isrRoutes)||0===n.isrRoutes.length)return ib.set(t,!1),!1;let a=n.isrRoutes.includes(t);return ib.set(t,a),a}(R.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=R.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}();let u={environment:e.environment||S.default.env.SENTRY_ENVIRONMENT||(r="production",`vercel-${r}`)||"production",defaultIntegrations:(a=nW(e),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&a.push(function(e={}){let t=((e={})=>{let t,r,n,a;"enableElementTiming"in e&&j(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});
22let i={name:void 0,source:void 0},o=R.document,{enableInp:s,enableLongTask:l,enableLongAnimationFrame:u,_experiments:{enableInteractions:c,enableStandaloneClsSpans:d,enableStandaloneLcpSpans:p},beforeStartSpan:f,idleTimeout:h,finalTimeout:m,childSpanTimeout:_,markBackgroundSpan:E,traceFetch:P,traceXHR:w,trackFetchStreamPerformance:x,shouldCreateSpanForRequest:T,enableHTTPTimings:A,ignoreResourceSpans:C,ignorePerformanceApiSpans:I,instrumentPageLoad:N,instrumentNavigation:k,detectRedirects:D,linkPreviousTrace:U,consistentTraceSampling:H,enableReportPageLoaded:B,onRequestSpanStart:F,onRequestSpanEnd:W}={...a3,...e},X=(a=R.navigator,!!a?.userAgent&&a4.test(a.userAgent));function q(e,r,a=!0){let s="pageload"===r.op,l=r.name,u=f?f(r):r,c=u.attributes||{};if(l!==u.name&&(c[eZ]="custom",u.attributes=c),!a){let e=eC();tQ({...u,startTime:e}).end(e);return}i.name=u.name,i.source=c[eZ];let g=nG(u,{idleTimeout:h,finalTimeout:m,childSpanTimeout:_,disableAutoFinish:s,beforeSpanEnd:r=>{t?.(),function(e,t){var r,n;let a=aI(),i=eN();if(!a?.getEntries||!i)return;let o=aN(i),s=a.getEntries(),{op:l,start_timestamp:u}=tS(e);s.slice(aW).forEach(r=>{let n=aN(r.startTime),a=aN(Math.max(0,r.duration));if("navigation"!==l||!u||!(o+n<u))switch(r.entryType){case"navigation":var i,s,c,d,p,f;let h,m,_;i=e,s=r,c=o,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{aq(i,s,e,c)}),aq(i,s,"secureConnection",c,"TLS/SSL"),aq(i,s,"fetch",c,"cache"),aq(i,s,"domainLookup",c,"DNS"),d=i,p=s,h=(f=c)+aN(p.requestStart),m=f+aN(p.responseEnd),_=f+aN(p.responseStart),p.responseEnd&&(aC(d,h,m,{op:"browser.request",name:p.name,attributes:{[e4]:"auto.ui.browser.metrics"}}),aC(d,_,m,{op:"browser.response",name:p.name,attributes:{[e4]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":{!function(e,t,r,n,a,i){if(function(e){if(e?.entryType==="measure")try{return"Components â"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&eP(t.name,i))return;let o=nK(!1),s=a+Math.max(r,aN(o?o.requestStart:0)),l=a+r,u=l+n,c={[e4]:"auto.resource.browser.metrics"};s!==l&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=s),function(e,t){try{let r=t.detail;if(!r)return;if("object"==typeof r){for(let[t,n]of Object.entries(r))if(n&&z(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(void 0!==n)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if(z(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}(c,t),s<=u&&aC(e,s,u,{name:t.name,op:t.entryType,attributes:c})}(e,r,n,a,o,t.ignorePerformanceApiSpans);let i=n4(),s=r.startTime<i.firstHiddenTime;"first-paint"===r.name&&s&&(aX.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&s&&(aX.fcp={value:r.startTime,unit:"millisecond"});break}case"resource":!function(e,t,r,n,a,i,o){var s,l;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(u))return;let c={[e4]:"auto.resource.browser.metrics"},d=ni(r);d.protocol&&(c["url.scheme"]=d.protocol.split(":").pop()),d.host&&(c["server.address"]=d.host),c["url.same_origin"]=r.includes(R.location.origin),s=t,l=c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]].forEach(([e,t])=>{let r=s[e];null!=r&&("number"==typeof r&&r<0x7fffffff||"string"==typeof r)&&(l[t]=r)});let p={...c,...aF(t)},f=i+n;aC(e,f,f+a,{name:r.replace(R.location.origin,""),op:u,attributes:p})}(e,r,r.name,n,a,o,t.ignoreResourceSpans)}}),aW=Math.max(s.length-1,0),function(e){let t=R.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),aA(r.rtt)&&(aX["connection.rtt"]={value:r.rtt,unit:"millisecond"})),aA(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),aA(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===l&&(function(e){let t=nK(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}(aX),t.recordClsOnPageloadSpan||delete aX.cls,t.recordLcpOnPageloadSpan||delete aX.lcp,Object.entries(aX).forEac
22h(([e,t])=>{!function(e,t,r,n=tC()){let a=n&&tA(n);a&&(O&&M(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),a.addEvent(e,{[e8]:t,[e5]:r}))}(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",o),e.setAttribute("performance.activationStart",nJ()),r=e,n=t,v&&n.recordLcpOnPageloadSpan&&(v.element&&r.setAttribute("lcp.element",Z(v.element)),v.id&&r.setAttribute("lcp.id",v.id),v.url&&r.setAttribute("lcp.url",v.url.trim().slice(0,200)),null!=v.loadTime&&r.setAttribute("lcp.loadTime",v.loadTime),null!=v.renderTime&&r.setAttribute("lcp.renderTime",v.renderTime),r.setAttribute("lcp.size",v.size)),b?.sources&&n.recordClsOnPageloadSpan&&b.sources.forEach((e,t)=>r.setAttribute(`cls.source.${t+1}`,Z(e.node)))),v=void 0,b=void 0,aX={}}(r,{recordClsOnPageloadSpan:!d,recordLcpOnPageloadSpan:!p,ignoreResourceSpans:C,ignorePerformanceApiSpans:I}),en(e,a7,void 0);let a=eY(),i=a.getPropagationContext();a.setPropagationContext({...i,traceId:g.spanContext().traceId,sampled:tP(g),dsc:tL(r)}),s&&(n=void 0)},trimIdleSpanEndTimestamp:!B});function y(){o&&["interactive","complete"].includes(o.readyState)&&e.emit("idleSpanEnableAutoFinish",g)}s&&B&&(n=g),en(e,a7,g),s&&!B&&o&&(o.addEventListener("readystatechange",()=>{y()}),y())}return{name:"BrowserTracing",setup(e){if(X){nm&&M("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}function a(){let e=tC(),t=e&&tA(e);if(t){let e="internal_error";O&&M(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}if(nY||(a.tag="sentry_tracingErrorCallback",nY=!0,nE(a),nR(a)),t=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){let n=aI();if(n&&eN()){n.mark&&R.performance.mark("sentry-tracing-init");let a=t?function(e){let t,r=0;if(!ak("largest-contentful-paint"))return;let n=av(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);aM(e,(e,a)=>{var i,o,s,l;let u,c,d,p,f;i=r,o=t,s=a,l=e,nH&&M(`Sending LCP span (${i})`),u=aN((eN()||0)+(o?.startTime||0)),c=eY().getScopeData().transactionName,d=o?Z(o.element):"Largest contentful paint",p={[e4]:"auto.http.browser.lcp",[e2]:"ui.webvital.lcp",[e7]:0,"sentry.pageload.span_id":s,"sentry.report_event":l},o&&(o.element&&(p["lcp.element"]=Z(o.element)),o.id&&(p["lcp.id"]=o.id),o.url&&(p["lcp.url"]=o.url),null!=o.loadTime&&(p["lcp.loadTime"]=o.loadTime),null!=o.renderTime&&(p["lcp.renderTime"]=o.renderTime),null!=o.size&&(p["lcp.size"]=o.size)),(f=aj({name:d,transaction:c,attributes:p,startTime:u}))&&(f.addEvent("lcp",{[e5]:"millisecond",[e8]:i}),f.end(u)),n()})}(r):av(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(aX.lcp={value:e.value,unit:"millisecond"},v=t)},!0),i=ax("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(aX.ttfb={value:e.value,unit:"millisecond"})},aR,g),o=e?function(e){let t,r=0;if(!ak("layout-shift"))return;let n=ay(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);aM(e,(e,a)=>{var i,o,s,l;let u,c,d,p,f;i=r,o=t,s=a,l=e,nH&&M(`Sending CLS span (${i})`),u=o?aN((eN()||0)+o.startTime):ej(),c=eY().getScopeData().transactionName,d=o?Z(o.sources[0]?.node):"Layout shift",p={[e4]:"auto.http.browser.cls",[e2]:"ui.webvital.cls",[e7]:0,"sentry.pageload.span_id":s,"sentry.report_event":l},o?.sources&&o.sources.forEach((e,t)=>{p[`cls.source.${t+1}`]=Z(e.node)}),(f=aj({name:d,transaction:c,attributes:p,startTime:u}))&&(f.addEvent("cls",{[e5]:"",[e8]:i}),f.end(u)),n()})}(r):ay(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(aX.cls={value:e.value,unit:""},b=t)},!0);return()=>{a?.(),i(),o?.()}}return()=>void 0}({recordClsStandaloneSpans:d||!1,recordLcpStandaloneSpans:p||!1,client:e}),s&&function(){if(aI()&&eN()){let e=ax("inp",aH,aw,y);()=>{e()}}}(),u&&R.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=tC();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=aN(eN()+r.startTime),{start_timestamp:n,op:a}=tS(t);if("navigation"===a&&n&&e<n)continue;let i=aN(r.duration),o={[e4]:"auto.ui.browser.metrics"}
22,{invoker:s,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=r.scripts[0];o["browser.script.invoker"]=s,o["browser.script.invoker_type"]=l,u&&(o["code.filepath"]=u),c&&(o["code.function"]=c),-1!==d&&(o["browser.script.source_char_position"]=d),aC(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):l&&ab("longtask",({entries:e})=>{let t=tC();if(!t)return;let{op:r,start_timestamp:n}=tS(t);for(let a of e){let e=aN(eN()+a.startTime),i=aN(a.duration);"navigation"===r&&n&&e<n||aC(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[e4]:"auto.ui.browser.metrics"}})}}),c&&ab("event",({entries:e})=>{let t=tC();if(t){for(let r of e)if("click"===r.name){let e=aN(eN()+r.startTime),n=aN(r.duration),a={name:Z(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[e4]:"auto.ui.browser.metrics"}},i=et(r.target);i&&(a.attributes["ui.component_name"]=i),aC(t,e,e+n,a)}}}),D&&o){let e=()=>{r=ej()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function i(){let t=e[a7];t&&!tS(t).timestamp&&(nm&&M(`[Tracing] Finishing current active span with op: ${tS(t).op}`),t.setAttribute(e3,"cancelled"),t.end())}e.on("startNavigationSpan",(t,n)=>{if(eQ()!==e)return;if(n?.isRedirect){nm&&L("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),q(e,{op:"navigation.redirect",...t},!1);return}r=void 0,i(),eV().setPropagationContext({traceId:eR(),sampleRand:Math.random(),propagationSpanId:ta()?void 0:eL()});let a=eY();a.setPropagationContext({traceId:eR(),sampleRand:Math.random(),propagationSpanId:ta()?void 0:eL()}),a.setSDKProcessingMetadata({normalizedRequest:void 0}),q(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(t,r={})=>{if(eQ()!==e)return;i();let n=function(e,t){let r=function(e){let t;if(!e)return;let r=e.match(tm);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}(e),n=tt(t);if(!r?.traceId)return{traceId:eR(),sampleRand:ec()};let a=function(e,t){let r=ti(t?.sample_rand);if(void 0!==r)return r;let n=ti(t?.sample_rate);return n&&e?.parentSampled!==void 0?e.parentSampled?ec()*n:n+ec()*(1-n):ec()}(r,n);n&&(n.sample_rand=a.toString());let{traceId:i,parentSpanId:o,parentSampled:s}=r;return{traceId:i,parentSpanId:o,sampled:s,dsc:n||{},sampleRand:a}}(r.sentryTrace||a9("sentry-trace")||a6("sentry-trace"),r.baggage||a9("baggage")||a6("baggage")),a=eY();a.setPropagationContext(n),ta()||(a.getPropagationContext().propagationSpanId=eL()),a.setSDKProcessingMetadata({normalizedRequest:rK()}),q(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{B&&n&&(n.setAttribute(e3,"reportPageLoaded"),n.end())})},afterAllSetup(e){var t,n,a,o,l;let u;if(X)return;let d=ee();if("off"!==U&&function(e,{linkPreviousTrace:t,consistentTraceSampling:r}){let n="session-storage"===t,a=n?function(){try{let e=R.sessionStorage?.getItem(az);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if(tA(e)!==e)return;let t=eY().getPropagationContext();a=function(e,t,r){let n=tS(t),a={spanContext:t.spanContext(),startTimestamp:n.start_timestamp,sampleRate:function(){try{return Number(r.dsc?.sample_rate)??Number(n.data?.[e0])}catch{return 0}}(),sampleRand:r.sampleRand};if(!e)return a;let i=e.spanContext;return i.traceId===n.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(nm&&M(`Adding previous_trace \`${JSON.stringify(i)}\` link to span \`${JSON.stringify({op:n.op,...t.spanContext()})}\``),t.addLink({context:i,attributes:{"sentry.link.type":"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${i.traceId}-${i.spanId}-${+!!aG(i)}`)),a)}(a,e,t),n&&function(e){try{R.sessionStorage.setItem(az,JSON.stringify(e))}catch(e){nm&&L("Could not store previous trace in sessionStorage",e)}}(a)});let i=!0;r&&e.on("beforeSampling",e=>{if(!a)return;let t=eY(),r=t.getPropagationContext();if(i&&r.parentSpanId){i=!1;return}t.setPropagationContext({...r,dsc:{...r.dsc,sample_rate:String(a.sampleRate),sampled:String(aG(a.spanContext))},sampleRand:a.sampleRand}),e.parentSampled=aG(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes={...e.spanAttributes,[e1]:a.sampleRate}})}(e,{linkPreviousTrace:U,consistentTraceSampling:H}),R.location){if(N){let t=eN();a5(e,{name:R.location.pathname,startTime:t?t/1e3:void 0,attributes:{[eZ]:"url",[e4]:"auto.pageload.browser"}})}k&&nf(({to:t,from:n})=>{var a,i;let o,s;if(void 0===n&&d?.indexOf(t)!==-1){d=void 0;return}d=void 0;let l=na(t),u=e[a7],c=u&&D&&(a=u,i=r,o=tS(a),!((s=eC())-o.start_timestamp>1.5)&&(!i||!(s-i<=1.5)));a8(e,{name:l?.pathname||R.location.pathname,attributes:{[eZ]:"url",[e4]:"auto.navigation.browser"}},{url:t,isRedirect:c}
22)})}E&&(R.document?R.document.addEventListener("visibilitychange",()=>{let e=tC();if(!e)return;let t=tA(e);if(R.document.hidden&&t){let e="cancelled",{op:r,status:n}=tS(t);nm&&M(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus({code:2,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):nm&&L("[Tracing] Could not set up background tab detection due to lack of global document")),c&&(t=e,n=h,a=m,o=_,l=i,R.document&&addEventListener("click",()=>{let e="ui.action.click",r=t[a7];if(r&&["navigation","pageload"].includes(tS(r).op)){nm&&L(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(u&&(u.setAttribute(e3,"interactionInterrupted"),u.end(),u=void 0),!l.name){nm&&L(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}u=nG({name:l.name,op:e,attributes:{[eZ]:l.source||"url"}},{idleTimeout:n,finalTimeout:a,childSpanTimeout:o})},{capture:!0})),s&&function(){let e,t=Object.keys(aU);function r(e){let t=e.target;if(!t)return;let r=Z(t),n=Math.round(e.timeStamp);if(aD.set(n,r),aD.size>50){let e=aD.keys().next().value;void 0!==e&&aD.delete(e)}}"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==S.default?S.default:0))||(e=R.process,e?.type==="renderer"))&&t.forEach(e=>{R.addEventListener(e,r,{capture:!0,passive:!0})});let n=({entries:e})=>{let t=tC(),r=t&&tA(t);e.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||a$.has(t))return;let n=e.target?Z(e.target):function(e){let t=Math.round(e.startTime),r=aD.get(t);if(!r)for(let e=-5;e<=5;e++){let n=aD.get(t+e);if(n){r=n;break}}return r||"<unknown>"}(e);if(aL.length>10){let e=aL.shift();a$.delete(e)}aL.push(t),a$.set(t,{span:r,elementName:n})})};ab("event",n),ab("first-input",n)}(),function(e,t){let{traceFetch:r,traceXHR:n,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:s,onRequestSpanStart:l,onRequestSpanEnd:u}={...a1,...t},c="function"==typeof i?i:e=>!0,d=e=>(function(e,t){let r=ee();if(r){let n,a;try{n=new URL(e,r),a=new URL(r).origin}catch{return!1}let i=n.origin===a;return t?eP(n.toString(),t)||i&&eP(n.pathname,t):i}{let r=!!e.match(/^\/(?!\/)/);return t?eP(e,t):r}})(e,s),p={},f=e.getOptions().propagateTraceparent;if(r){let t;e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=a0.get(e.span_id);t&&(e.timestamp=t/1e3,a0.delete(e.span_id))}}),e)),a&&(r0(t="fetch-body-resolved",e=>{if(e.response){let t=aZ.get(e.response);t&&e.endTimestamp&&a0.set(t,e.endTimestamp)}}),r1(t,()=>
22r8(r6))),r5(e=>{let t=function(e,t,r,n,a){if(!e.fetchData)return;let{method:i,url:o}=e.fetchData,s=ta()&&t(o);if(e.endTimestamp){var l,u,c;let t,r=e.fetchData.__span;if(!r)return;let i=n[r];i&&(s&&(function(e,t){if(t.response){to(e,t.response.status);let r=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:2,message:"internal_error"});e.end()}(i,e),l=i,u=e,t="object"==typeof(c=a)&&null!==c?c.onRequestSpanEnd:void 0,t?.(l,{headers:u.response?.headers,error:u.error})),delete n[r]);return}let{spanOrigin:d="auto.http.browser",propagateTraceparent:p=!1}="object"==typeof a?a:{spanOrigin:a},f=!!tC(),h=s&&f?tQ(function(e,t,r){if(e.startsWith("data:")){let n=ns(e);return{name:`${t} ${n}`,attributes:aK(e,void 0,t,r)}}let n=na(e),a=n?function(e){if(nn(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}(n):e;return{name:`${t} ${a}`,attributes:aK(e,n,t,r)}}(o,i,d)):new t$;if(e.fetchData.__span=h.spanContext().spanId,n[h.spanContext().spanId]=h,r(e.fetchData.url)){let t=e.args[0],r={...e.args[1]||{}},n=function(e,t,r,n){var a;let i=aY({span:r,propagateTraceparent:n}),o=i["sentry-trace"],s=i.baggage,l=i.traceparent;if(!o)return;let u=t.headers||(Q(e)?e.headers:void 0);if(!u)return{...i};if(a=u,"u">typeof Headers&&K(a,Headers)){let e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",o),n&&l&&!e.get("traceparent")&&e.set("traceparent",l),s){let t=e.get("baggage");t?aV(t)||e.set("baggage",`${t},${s}`):e.set("baggage",s)}return e}if(Array.isArray(u)){let e=[...u];u.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",o]),n&&l&&!u.find(e=>"traceparent"===e[0])&&e.push(["traceparent",l]);let t=u.find(e=>"baggage"===e[0]&&aV(e[1]));return s&&!t&&e.push(["baggage",s]),e}{let e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,r="baggage"in u?u.baggage:void 0,a=r?Array.isArray(r)?[...r]:[r]:[],i=r&&(Array.isArray(r)?r.find(e=>aV(e)):aV(r));s&&!i&&a.push(s);let c={...u,"sentry-trace":e??o,baggage:a.length>0?a.join(","):void 0};return n&&l&&!t&&(c.traceparent=l),c}}(t,r,ta()&&f?h:void 0,p);n&&(e.args[1]=r,r.headers=n)}let m=eQ();if(m){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};m.emit("beforeOutgoingRequestSpan",h,t)}return h}(e,c,d,p,{propagateTraceparent:f,onRequestSpanEnd:u});if(e.response&&e.fetchData.__span&&aZ.set(e.response,e.fetchData.__span),t){let r=aJ(e.fetchData.url),n=r?ni(r).host:void 0;t.setAttributes({"http.url":r?ns(r):void 0,"server.address":n}),o&&a2(t),l?.(t,{headers:e.headers})}})}n&&nd(e=>{let t=function(e,t,r,n,a,i){let o=e.xhr,s=o?.[nc];if(!o||o.__sentry_own_request__||!s)return;let{url:l,method:u}=s,c=ta()&&t(l);if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let r=n[t];r&&(c&&void 0!==s.status_code&&(to(r,s.status_code),r.end(),i?.(r,{headers:aQ(function(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return nH&&$(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}}(o)),error:e.error})),delete n[t]);return}let d=aJ(l),p=d?ni(d):ni(l),f=ns(no(l)),h=!!tC(),m=c&&h?tQ({name:`${u} ${f}`,attributes:{url:ns(l),type:"xhr","http.method":u,"http.url":d?ns(d):void 0,"server.address":p?.host,[e4]:"auto.http.browser",[e2]:"http.client",...p?.search&&{"http.query":p?.search},...p?.hash&&{"http.fragment":p?.hash}}}):new t$;o.__sentry_xhr_span_id__=m.spanContext().spanId,n[o.__sentry_xhr_span_id__]=m,r(l)&&function(e,t,r){let{"sentry-trace":n,baggage:a,traceparent:i}=aY({span:t,propagateTraceparent:r});n&&function(e,t,r,n){let a=e.__sentry_xhr_v3__?.request_headers;if(!a?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),n&&!a?.traceparent&&e.setRequestHeader("traceparent",n),r){let t=a?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",r)}}catch{}}(e,n,a,i)}(o,ta()&&h?m:void 0,a);let _=eQ();return _&&_.emit("beforeOutgoingRequestSpan",m,e),m}(e,c,d,p,f,u);
22t&&(o&&a2(t),l?.(t,{headers:aQ(e.xhr.__sentry_xhr_v3__?.request_headers)}))})}(e,{traceFetch:P,traceXHR:w,trackFetchStreamPerformance:x,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:T,enableHTTPTimings:A,onRequestSpanStart:F,onRequestSpanEnd:W})}}})({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){n&&function(e){if(R.document.getElementById("__NEXT_DATA__"))i_.events.on("routeChangeStart",t=>{let r,n,a=no(t),i=function(e){let t=R.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r,n,a,i=(r=t.split("/"),n="",r[r.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(r.pop(),n="(?:/(.+?))?"),a=r.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${a}${n}(?:/)?$`));return e.match(i)})}(a);i?(r=i,n="route"):(r=a,n="url"),a8(e,{name:r,attributes:{[e2]:"navigation",[e4]:"auto.navigation.nextjs.pages_router_instrumentation",[eZ]:n}})});else{let t,r,n;R.addEventListener("popstate",()=>{let t=il(R.location.pathname),r=is(t);ic.current?.isRecording()?(ic.current.updateName(r??t),ic.current.setAttribute(eZ,r?"route":"url")):ic.current=a8(e,{name:r??t,attributes:{[e4]:"auto.navigation.nextjs.app_router_instrumentation",[eZ]:r?"route":"url","navigation.type":"browser.popstate"}})}),t=!1,r=0,n=setInterval(()=>{r++;let a=R?.next?.router??R?.nd?.router;t||r>500?clearInterval(n):a&&(clearInterval(n),t=!0,ih(e,a,ic),["nd","next"].forEach(t=>{let r=R[t];r&&(R[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&ih(e,n,ic),t[r]=n,!0)}))}))},20)}}(e),t.afterAllSetup(e),r&&function(e){if(R.document.getElementById("__NEXT_DATA__"))!function(e){let{route:t,params:r,sentryTrace:n,baggage:a}=function(){let e,t=R.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{nq&&L("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:a,props:i}=e;return r.route=n,r.params=a,i?.pageProps&&(r.sentryTrace=i.pageProps._sentryTraceData,r.baggage=i.pageProps._sentryBaggage),r}(),i=tr(a),o=t||R.location.pathname;i?.["sentry-transaction"]&&"/_error"===o&&(o=(o=i["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=eN();a5(e,{name:o,startTime:s?s/1e3:void 0,attributes:{[e2]:"pageload",[e4]:"auto.pageload.nextjs.pages_router_instrumentation",[eZ]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:a})}(e);else{let t,r,n;r=is(t=il(R.location.pathname)),a5(e,{name:r??t,startTime:(n=eN())?n/1e3:void 0,attributes:{[e2]:"pageload",[e4]:"auto.pageload.nextjs.app_router_instrumentation",[eZ]:r?"route":"url"}})}}(e)}}}()),i=S.default.env._sentryRewriteFramesAssetPrefixPath||R._sentryRewriteFramesAssetPrefixPath||"",o=S.default.env._sentryAssetPrefix||R._sentryAssetPrefix,s=S.default.env._sentryBasePath||R._sentryBasePath,l="true"===S.default.env._experimentalThirdPartyOriginStackFrames||"true"===R._experimentalThirdPartyOriginStackFrames,a.push((({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...((e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in R&&!!R.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("/"),i=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(a||i){let e,i,o=a?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,s=t?function(e,t){e=iy(e).slice(1),t=iy(t).slice(1);let r=iv(e.split("/")),n=iv(t.split("/")),a=Math.min(r.length,n.length),i=a;for(let e=0;e<a;e++)if(r[e]!==n[e]){i=e;break}let o=[];for(let e=i;e<r.length;e++)o.push("..");return(o=o.concat(n.slice(i))).join("/")}(t,o):(e=o.length>1024?`<truncated>${o.slice(-1024)}`:o,(i=ig.exec(e))?i.slice(1):[])[2]||"";n.filename=`${r}${s}`}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?.frames?.map(e=>a(e))}}}})}}}catch{return e}}(t)),t}}})({iteratee:a=>{if(n){let r="u">typeof window&&window.location?window.location.origin:"";if(a.filename?.startsWith(r)&&!a.filename.endsWith(".js"))return a;
22if(e)a.filename?.startsWith(e)&&(a.filename=a.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(a.filename);e===r&&(a.filename=a.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(a.filename);a.filename=a.filename?.replace(e,"app://").replace(r,"")}catch{}return n?(a.filename?.includes("/_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)):(a.filename?.startsWith("app:///_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)),a}}),name:"NextjsClientStackFrameNormalization"}))({assetPrefix:o,basePath:s,rewriteFramesAssetPrefixPath:i,experimentalThirdPartyOriginStackFrames:l})),a),release:S.default.env._sentryRelease||R._sentryRelease,...e};!function(e){let t=S.default.env._sentryRewritesTunnelPath||R._sentryRewritesTunnelPath;if(t&&e.dsn){let r=tf(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let a=n[1],i=n[2],o=`${t}?o=${a}&p=${r.projectId}`;i&&(o+=`&r=${i}`),e.tunnel=o,nq&&M(`Tunneling events to "${o}"`)}else nq&&L("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(u),D(u,"nextjs",["nextjs","react"]),D(n={...u},"react"),t={version:nX.version},eV().setContext("react",t),function(e={}){var t,r;let n,a=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===R.window||R.nw)return!1;let e=R.chrome||R.browser;if(!e?.runtime?.id)return!1;let t=ee();return!(R===R.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}()&&(nm&&j(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),i=null==e.defaultIntegrations?nW():e.defaultIntegrations,o={...e,enabled:!a&&e.enabled,stackParser:Array.isArray(t=e.stackParser||nD)?eh(...t):t,integrations:function(e){let t,r,n=e.defaultIntegrations||[],a=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(a))t=[...n,...a];else if("function"==typeof a){let e=a(n);t=Array.isArray(e)?e:[e]}else t=n;return r={},t.forEach(e=>{let{name:t}=e,n=r[t];n&&!n.isDefaultInstance&&e.isDefaultInstance||(r[t]=e)}),Object.values(r)}({integrations:e.integrations,defaultIntegrations:i}),transport:e.transport||nF};!0===o.debug&&(O?k():j(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),eY().update(o.initialScope),r=n=new rJ(o),eY().setClient(r),n.init()}(n);let c=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;c.id="NextClient404Filter",t7(c);let d=e=>"transaction"===e.type&&e.transaction===iu?null:e;d.id="IncompleteTransactionFilter",t7(d);let p=(e,t)=>{var r;return H(r=t?.originalException)&&"string"==typeof r.digest&&r.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT"?null:e};p.id="NextRedirectErrorFilter",t7(p);try{eK().setTag("turbopack",!0)}catch{}}({dsn:S.default.env.NEXT_PUBLIC_SENTRY_DSN,enabled:!0,environment:S.default.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT||"production",tracesSampleRate:0,replaysSessionSampleRate:0,replaysOnErrorSampleRate:0}),e.s([],78025)},96263,(e,t,r)=>{"use strict";t.exports=e.f({"private-next-instrumentation-client":{id:()=>78025,module:()=>e.r(78025)}})("private-next-instrumentation-client")},57054,(e,t,r)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},71754,(e,t,r)=>{"use strict";
22Object.defineProperty(r,"__esModule",{value:!0}),e.r(57054),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},28255,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={onCaughtError:function(){return p},onUncaughtError:function(){return f}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(96220),o=e.r(80239),s=e.r(15673),l=e.r(76060),u=e.r(42540),c=i._(e.r(89192)),d={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function p(e,t){let r,n=t.errorBoundary?.constructor;if(r=r||n===u.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return f(e);(0,s.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||d.originConsoleError(e)}function f(e){(0,s.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||(0,l.reportGlobalError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},38e3,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AppRouterAnnouncer",{enumerable:!0,get:function(){return o}});let n=e.r(55118),a=e.r(21890),i="next-route-announcer";function o({tree:e}){let[t,r]=(0,n.useState)(null);(0,n.useEffect)(()=>(r(function(){let e=document.getElementsByName(i)[0];if(e?.shadowRoot?.childNodes[0])return e.shadowRoot.childNodes[0];{let e=document.createElement(i);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(i)[0];e?.isConnected&&document.body.removeChild(e)}),[]);let[o,s]=(0,n.useState)(""),l=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==l.current&&l.current!==e&&s(e),l.current=e},[e]),t?(0,a.createPortal)(o,t):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},29982,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findHeadInCache",{enumerable:!0,get:function(){return i}});let n=e.r(84156),a=e.r(96937);function i(e,t){return function e(t,r,i,o){if(0===Object.keys(r).length)return[t,i,o];let s=Object.keys(r).filter(e=>"children"!==e);for(let o of("children"in r&&s.unshift("children"),s)){let[s,l]=r[o];if(s===n.DEFAULT_SEGMENT_KEY)continue;let u=t.parallelRoutes.get(o);if(!u)continue;let c=(0,a.createRouterCacheKey)(s),d=(0,a.createRouterCacheKey)(s,!0),p=u.get(c);if(!p)continue;let f=e(p,l,i+"/"+c,i+"/"+d);if(f)return f}return null}(e,t,"","")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91126,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={GracefulDegradeBoundary:function(){return s},default:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(46882),o=e.r(55118);class s extends o.Component{constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,o.createRef)()}static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEac
22h(([t,r])=>{e.setAttribute(t,r)})}render(){let{hasError:e}=this.state;return("u">typeof window&&!this.rootHtml&&(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let r=0;r<e.attributes.length;r++){let n=e.attributes[r];t[n.name]=n.value}return t}(document.documentElement)),e)?(0,i.jsx)("html",{ref:this.htmlRef,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:this.rootHtml}}):this.props.children}}let l=s;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},14144,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}});let n=e.r(96220),a=e.r(46882);e.r(55118);let i=n._(e.r(91126)),o=e.r(42540),s=e.r(53511),l="u">typeof window&&(0,s.isBot)(window.navigator.userAgent);function u({children:e,errorComponent:t,errorStyles:r,errorScripts:n}){return l?(0,a.jsx)(i.default,{children:e}):(0,a.jsx)(o.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57797,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return N}});let n=e.r(96220),a=e.r(24930),i=e.r(46882),o=a._(e.r(55118)),s=e.r(35547),l=e.r(97637),u=e.r(468),c=e.r(42163),d=e.r(64413),p=e.r(38e3),f=e.r(91801),h=e.r(29982),m=e.r(27452),_=e.r(97111),g=e.r(80097),y=e.r(37227),v=e.r(91136),b=e.r(88204),E=e.r(80264),S=e.r(40353),P=e.r(58922),R=n._(e.r(14144)),w=n._(e.r(89192)),x=e.r(19400),T=e.r(74339),O={};function A({appRouterState:e}){return(0,o.useInsertionEffect)(()=>{let{tree:t,pushRef:r,canonicalUrl:n,renderedSearch:a}=e,i={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:t,renderedSearch:a}};r.pendingPush&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==n?(r.pendingPush=!1,window.history.pushState(i,"",n)):window.history.replaceState(i,"",n)},[e]),(0,o.useEffect)(()=>{(0,P.pingVisibleLinks)(e.nextUrl,e.tree)},[e.nextUrl,e.tree]),null}function C(e){null==e&&(e={});let t=window.history.state,r=t?.__NA;r&&(e.__NA=r);let n=t?.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function j({headCacheNode:e}){let t=null!==e?e.head:null,r=null!==e?e.prefetchHead:null,n=null!==r?r:t;return(0,o.useDeferredValue)(t,n)}function I({actionQueue:e,globalError:t,webSocket:r,staticIndicatorState:n}){let a,u=(0,d.useActionQueue)(e),{canonicalUrl:v}=u,{searchParams:P,pathname:w}=(0,o.useMemo)(()=>{let e=new URL(v,"u"<typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,g.hasBasePath)(e.pathname)?(0,_.removeBasePath)(e.pathname):e.pathname}},[v]);(0,o.useEffect)(()=>{function e(e){e.persisted&&window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE&&(O.pendingMpaPath=void 0,(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(window.location.href),historyState:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,o.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,S.isRedirectError)(t)){e.preventDefault();let r=(0,E.getURLFromRedirectError)(t);(0,E.getRedirectTypeFromError)(t)===S.RedirectType.push?b.publicAppRouterInstance.push(r,{}):b.publicAppRouterInstance.replace(r,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:T}=u;if(T.mpaNavigation){if(O.pendingMpaPath!==v){let e=window.location;
22T.pendingPush?e.assign(v):e.replace(v),O.pendingMpaPath=v}throw m.unresolvedThenable}(0,o.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{let t=window.location.href,r=window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,o.startTransition)(()=>{(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(e??t,t),historyState:r})})};window.history.pushState=function(t,n,a){return t?.__NA||t?._N||(t=C(t),a&&r(a)),e(t,n,a)},window.history.replaceState=function(e,n,a){return e?.__NA||e?._N||(e=C(e),a&&r(a)),t(e,n,a)};let n=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,o.startTransition)(()=>{(0,b.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[]);let{cache:I,tree:N,nextUrl:k,focusAndScrollRef:M,previousNextUrl:$}=u,D=(0,o.useMemo)(()=>(0,h.findHeadInCache)(I,N[1]),[I,N]),U=(0,o.useMemo)(()=>(0,y.getSelectedParams)(N),[N]),H=(0,o.useMemo)(()=>({parentTree:N,parentCacheNode:I,parentSegmentPath:null,parentParams:{},debugNameContext:"/",url:v,isActive:!0}),[N,I,v]),B=(0,o.useMemo)(()=>({tree:N,focusAndScrollRef:M,nextUrl:k,previousNextUrl:$}),[N,M,k,$]);if(null!==D){let[e,t,r]=D;a=(0,i.jsx)(j,{headCacheNode:e},"u"<typeof window?r:t)}else a=null;let F=(0,i.jsxs)(f.RedirectBoundary,{children:[a,(0,i.jsx)(x.RootLayoutBoundary,{children:I.rsc}),(0,i.jsx)(p.AppRouterAnnouncer,{tree:N})]});return F=(0,i.jsx)(R.default,{errorComponent:t[0],errorStyles:t[1],children:F}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(A,{appRouterState:u}),(0,i.jsx)(L,{}),(0,i.jsx)(c.NavigationPromisesContext.Provider,{value:null,children:(0,i.jsx)(c.PathParamsContext.Provider,{value:U,children:(0,i.jsx)(c.PathnameContext.Provider,{value:w,children:(0,i.jsx)(c.SearchParamsContext.Provider,{value:P,children:(0,i.jsx)(s.GlobalLayoutRouterContext.Provider,{value:B,children:(0,i.jsx)(s.AppRouterContext.Provider,{value:b.publicAppRouterInstance,children:(0,i.jsx)(s.LayoutRouterContext.Provider,{value:H,children:F})})})})})})})]})}function N({actionQueue:e,globalErrorState:t,webSocket:r,staticIndicatorState:n}){(0,v.useNavFailureHandler)();let a=(0,i.jsx)(I,{actionQueue:e,globalError:t,webSocket:r,staticIndicatorState:n});return(0,i.jsx)(R.default,{errorComponent:w.default,children:a})}let k=new Set,M=new Set;function L(){let[,e]=o.default.useState(0),t=k.size;(0,o.useEffect)(()=>{let r=()=>e(e=>e+1);return M.add(r),t!==k.size&&r(),()=>{M.delete(r)}},[t,e]);let r=(0,T.getDeploymentIdQueryOrEmptyString)();return[...k].map((e,t)=>(0,i.jsx)("link",{rel:"stylesheet",href:`${e}${r}`,precedence:"next"},t))}globalThis._N_E_STYLE_LOAD=function(e){let t=k.size;return k.add(e),k.size!==t&&M.forEach(e=>e()),Promise.resolve()},("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82466,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createInitialRouterState",{enumerable:!0,get:function(){return s}});let n=e.r(468),a=e.r(37227),i=e.r(75803),o=e.r(79523);function s({navigatedAt:e,initialFlightData:t,initialCanonicalUrlParts:r,initialRenderedSearch:s,location:l}){let u=r.join("/"),{tree:c,seedData:d,head:p}=(0,i.getFlightDataPartsFromPath)(t[0]),f=l?(0,n.createHrefFromUrl)(l):u;return{tree:c,cache:(0,o.createInitialCacheNodeForHydration)(e,c,d,p),pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:f,renderedSearch:s,nextUrl:((0,a.extractPathFromFlightRouterState)(c)||l?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
22dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},82334,(e,t,r)=>{"use strict";let n,a,i,o;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hydrate",{enumerable:!0,get:function(){return D}});let s=e.r(96220),l=e.r(46882);e.r(71754);let u=s._(e.r(32526)),c=s._(e.r(55118)),d=e.r(58458),p=e.r(28508),f=e.r(65504),h=e.r(28255),m=e.r(14219),_=e.r(55775),g=e.r(88204),y=s._(e.r(57797)),v=e.r(82466);e.r(35547);let b=e.r(5264),E=e.r(75803),S=d.createFromReadableStream,P=d.createFromFetch,R=document,w=new TextEncoder,x=!1,T=!1,O=null;function A(e){if(0===e[0])i=[];else if(1===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});o?o.enqueue(w.encode(e[1])):i.push(e[1])}else if(2===e[0])O=e[1];else if(3===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let r=atob(e[1]),n=new Uint8Array(r.length);for(var t=0;t<r.length;t++)n[t]=r.charCodeAt(t);o?o.enqueue(n):i.push(n)}}let C=function(){o&&!T&&(o.close(),T=!0,i=void 0),x=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",C,!1):setTimeout(C);let j=self.__next_f=self.__next_f||[];j.forEach(A),j.length=0,j.push=A;let I=new ReadableStream({start(e){i&&(i.forEach(t=>{e.enqueue("string"==typeof t?w.encode(t):t)}),x&&!T)&&(null===e.desiredSize||e.desiredSize<0?e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),T=!0,i=void 0),o=e}}),N=window.__NEXT_CLIENT_RESUME;function k({initialRSCPayload:e,actionQueue:t,webSocket:r,staticIndicatorState:n}){return(0,l.jsx)(y.default,{actionQueue:t,globalErrorState:e.G,webSocket:r,staticIndicatorState:n})}a=N?Promise.resolve(P(N,{callServer:m.callServer,findSourceMapURL:_.findSourceMapURL,debugChannel:n})).then(async e=>(0,E.createInitialRSCPayloadFromFallbackPrerender)(await N,e)):S(I,{callServer:m.callServer,findSourceMapURL:_.findSourceMapURL,debugChannel:n,startTime:0});let M=c.default.StrictMode;function L({children:e}){return e}let $={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:f.onRecoverableError,onCaughtError:h.onCaughtError,onUncaughtError:h.onUncaughtError};async function D(e,t){let r,n,i=await a;(0,b.setAppBuildId)(i.b);let o=Date.now(),s=(0,g.createMutableActionQueue)((0,v.createInitialRouterState)({navigatedAt:o,initialFlightData:i.f,initialCanonicalUrlParts:i.c,initialRenderedSearch:i.q,location:window.location}),e),d=(0,l.jsx)(M,{children:(0,l.jsx)(p.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,l.jsx)(L,{children:(0,l.jsx)(k,{initialRSCPayload:i,actionQueue:s,webSocket:n,staticIndicatorState:r})})})});"__next_error__"===document.documentElement.id?u.default.createRoot(R,$).render(d):c.default.startTransition(()=>{u.default.hydrateRoot(R,d,{...$,formState:O})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56944,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=e.r(574);e.r(65504),window.next.turbopack=!0,self.__webpack_hash__="";let a=e.r(96263);(0,n.appBootstrap)(t=>{let{hydrate:r}=e.r(82334);r(a,t)}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]);
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.