1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f7f972e3-8324-a222-9279-fa9a26d6ecc8")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,816517,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",0,t])},110272,e=>{"use strict";let t,n,r;var i=e.i(106668),a=e.i(739142),s=e.i(101252),o=e.i(601190);function l(){if(!o.WINDOW.document)return;let e=i.triggerHandlers.bind(null,"dom"),t=c(e,!0);o.WINDOW.document.addEventListener("click",t,!1),o.WINDOW.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=o.WINDOW,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,a.fill)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=c(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),(0,a.fill)(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function c(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l=>{var c;if(!l||l._sentryCaptured)return;let u=function(e){try{return e.target}catch{return null}}(l);if(c=l.type,"keypress"===c&&(!u?.tagName||"INPUT"!==u.tagName&&"TEXTAREA"!==u.tagName&&!u.isContentEditable&&1))return;(0,a.addNonEnumerableProperty)(l,"_sentryCaptured",!0),u&&!u._sentryId&&(0,a.addNonEnumerableProperty)(u,"_sentryId",(0,s.uuid4)());let d="keypress"===l.type?"input":l.type;!function(e){if(e.type!==n)return!1;try{if(!e.target||e.target._sentryId!==r)return!1}catch{}return!0}(l)&&(e({event:l,name:d,global:i}),n=l.type,r=u?u._sentryId:void 0),clearTimeout(t),t=o.WINDOW.setTimeout(()=>{r=void 0,n=void 0},1e3)}}e.s(["addClickKeypressInstrumentationHandler",0,function(e){(0,i.addHandler)("dom",e),(0,i.maybeInstrument)("dom",l)}])},934581,562020,e=>{"use strict";let t;var n=e.i(106668),r=e.i(522008),i=e.i(739142),a=e.i(601190);function s(){function e(e){return function(){for(var r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];let o=i.length>2?i[2]:void 0;if(o){let r=t,s=function(e){try{return new URL(e,a.WINDOW.location.origin).toString()}catch{return e}}(String(o));if(t=s,r===s)return e.apply(this,i);(0,n.triggerHandlers)("history",{from:r,to:s})}return e.apply(this,i)}}a.WINDOW.addEventListener("popstate",()=>{let e=a.WINDOW.location.href,r=t;t=e,r===e||(0,n.triggerHandlers)("history",{from:r,to:e})}),(0,r.supportsHistory)()&&((0,i.fill)(a.WINDOW.history,"pushState",e),(0,i.fill)(a.WINDOW.history,"replaceState",e))}e.s(["addHistoryInstrumentationHandler",0,function(e){let t="history";(0,n.addHandler)(t,e),(0,n.maybeInstrument)(t,s)}],934581);var o=e.i(464907);let l={};try{"u">typeof Node&&(l.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"u">typeof Element&&(l.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,l.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,l.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,l.getAttribute=Element.prototype.getAttribute),"u">typeof HTMLElement&&(l.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function c(e,t,n){let r=l[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return"function"==typeof i?i.call(e,n):i}e.s(["htmlTreeAsString",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"<unknown>";try{let n,r=e,i=[],a=0,s=0,l=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&a++<5&&(n=function(e,t){let n=[],r=c(e,"tagName");if(!r)return"";if("u">typeof HTMLElement&&e instanceof HTMLElement){let t=c(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>c(e,"getAttribute",t)).map(t=>[t,c(e,"getAttribute",t)]):null;
2if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=c(e,"id");t&&n.push(`#${t}`);let r=c(e,"className");if(r&&(0,o.isString)(r))for(let e of r.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=c(e,"getAttribute",t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,l),"html"!==n&&(!(a>1)||!(s+3*i.length+n.length>=u)));)i.push(n),s+=n.length,r=c(r,"parentNode");return i.reverse().join(" > ")}catch{return"<unknown>"}}],562020)},371303,e=>{"use strict";var t=e.i(106668),n=e.i(611188),r=e.i(464907),i=e.i(601190);let a="__sentry_xhr_v3__";function s(){if(!i.WINDOW.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,i,s){let o=Error(),l=1e3*(0,n.timestampInSeconds)(),c=(0,r.isString)(s[0])?s[0].toUpperCase():void 0,u=function(e){if((0,r.isString)(e))return e;try{return e.toString()}catch{}}(s[1]);if(!c||!u)return e.apply(i,s);i[a]={method:c,url:u,request_headers:{}},"POST"===c&&u.match(/sentry_key/)&&(i.__sentry_own_request__=!0);let d=()=>{let e=i[a];if(e&&4===i.readyState){try{e.status_code=i.status}catch{}let r={endTimestamp:1e3*(0,n.timestampInSeconds)(),startTimestamp:l,xhr:i,virtualError:o};(0,t.triggerHandlers)("xhr",r),i.removeEventListener("readystatechange",d)}};return"onreadystatechange"in i&&"function"==typeof i.onreadystatechange?i.onreadystatechange=new Proxy(i.onreadystatechange,{apply:(e,t,n)=>(d(),e.apply(t,n))}):i.addEventListener("readystatechange",d),i.setRequestHeader=new Proxy(i.setRequestHeader,{apply(e,t,n){let[i,s]=n,o=t[a];return o&&(0,r.isString)(i)&&(0,r.isString)(s)&&(o.request_headers[i.toLowerCase()]=s),e.apply(t,n)}}),e.apply(i,s)}}),e.send=new Proxy(e.send,{apply(e,r,i){let s=r[a];if(!s)return e.apply(r,i);void 0!==i[0]&&(s.body=i[0]);let o={startTimestamp:1e3*(0,n.timestampInSeconds)(),xhr:r};return(0,t.triggerHandlers)("xhr",o),e.apply(r,i)}})}e.s(["SENTRY_XHR_DATA_KEY",0,a,"addXhrInstrumentationHandler",0,function(e){(0,t.addHandler)("xhr",e),(0,t.maybeInstrument)("xhr",s)}])},365846,e=>{"use strict";let t,n;var r=e.i(611188),i=e.i(741656),a=e.i(875894),s=e.i(512431),o=e.i(238262),l=e.i(928133),c=e.i(611462),u=e.i(464907),d=e.i(328838),p=e.i(562020),g=e.i(601190),m=e.i(83069),f=e.i(39561),h=e.i(454319),_=e.i(52291),v=e.i(47142),S=e.i(145522),E=e.i(234337),T=e.i(493029),y=e.i(816517),I=e.i(964266);let b=0,N={};function A(){t=void 0,n=void 0,N={}}function R(e,t,n,r){var i;let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n,s=t["secureConnection"===(i=n)?"connectEnd":"fetch"===i?"domainLookupStart":`${i}End`],o=t[`${n}Start`];o&&s&&(0,v.startAndEndSpan)(e,r+(0,v.msToSec)(o),r+(0,v.msToSec)(s),{op:`browser.${a}`,name:t.name,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}e.s(["addPerformanceEntries",0,function(e,t){let n=(0,v.getBrowserPerformanceAPI)(),l=(0,r.browserPerformanceTimeOrigin)();if(!n?.getEntries||!l)return;let{spanStreamingEnabled:d,ignorePerformanceApiSpans:p,ignoreResourceSpans:m}=t,f=(0,v.msToSec)(l),h=n.getEntries(),{op:S,start_timestamp:T}=(0,i.spanToJSON)(e);h.slice(b).forEach(t=>{let n=(0,v.msToSec)(t.startTime),r=(0,v.msToSec)(Math.max(0,t.duration));if("navigation"!==S||!T||!(f+n<T))switch(t.entryType){case"navigation":var i,a,l,d,h,y;let b,N,A;i=e,a=t,l=f,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{R(i,a,e,l)}),R(i,a,"secureConnection",l,"TLS/SSL"),R(i,a,"fetch",l,"cache"),R(i,a,"domainLookup",l,"DNS"),d=i,h=a,b=(y=l)+(0,v.msToSec)(h.requestStart),N=y+(0,v.msToSec)(h.responseEnd),A=y+(0,v.msToSec)(h.responseStart),h.responseEnd&&((0,v.startAndEndSpan)(d,b,N,{op:"browser.request",name:h.name,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),(0,v.startAndEndSpan)(d,A,N,{op:"browser.response",name:h.name,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}));break;case"mark":case"paint":case"measure":!function(e,t,n,r,i,a){if(function(e){if(e?.entryType==="measure")try{return"Components â"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&(0,o.stringMatchesSomePattern)(t.name,a))return;let s=(0,E.getNavigationEntry)(!1),l=i+Math.max(n,(0,v.msToSec)(s?s.requestStart:0)),d=i+n,p=d+r,g={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};l!==d&&(g["sentry.browser.measure_happened_before_request"]=!0,g["sentry.browser.measure_start_time"]=l),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&(0,u.
2isPrimitive)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if((0,u.isPrimitive)(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(g,t),l<=p&&(0,v.startAndEndSpan)(e,l,p,{name:t.name,op:t.entryType,attributes:g})}(e,t,n,r,f,p);break;case"resource":!function(e,t,n,r,i,a,o){var l,u;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let d=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(d))return;let p={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"},m=(0,s.parseUrl)(n);m.protocol&&(p["url.scheme"]=m.protocol.split(":").pop()),m.host&&(p["server.address"]=m.host),p["url.same_origin"]=n.includes(g.WINDOW.location.origin),p[I.URL_FULL]=n,l=t,u=p,[["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=>{let[t,n]=e,r=l[t];null!=r&&("number"==typeof r&&r<0x7fffffff||"string"==typeof r)&&(u[n]=r)});let f={...p,...(0,_.resourceTimingToSpanAttributes)(t)},h=a+r;(0,v.startAndEndSpan)(e,h,h+i,{name:n.replace(g.WINDOW.location.origin,""),op:d,attributes:f})}(e,t,t.name,n,r,f,m)}}),b=Math.max(h.length-1,0),function(e,t){let n=g.WINDOW.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),(0,v.isMeasurementValue)(r.rtt)&&(t?e.setAttribute("network.connection.rtt",r.rtt):"pageload"===(0,i.spanToJSON)(e).op&&(0,a.setMeasurement)("connection.rtt",r.rtt,"millisecond"))),(0,v.isMeasurementValue)(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),(0,v.isMeasurementValue)(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,d)},"addWebVitalsToSpan",0,function(e,s){let o=(0,r.browserPerformanceTimeOrigin)();if(!(0,v.getBrowserPerformanceAPI)()?.getEntries||!o)return void A();let{spanStreamingEnabled:c,recordClsOnPageloadSpan:u,recordLcpOnPageloadSpan:d}=s,g=(0,v.msToSec)(o);if("pageload"===(0,i.spanToJSON)(e).op){if(function(e){let t=(0,E.getNavigationEntry)(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(N),c){let t=(t,n,r)=>{let i=r??`browser.web_vital.${t}.value`;e.setAttribute(i,n),y.DEBUG_BUILD&&l.debug.log("Setting web vital attribute",{[i]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{N[e]&&t(e,N[e].value)}),N["ttfb.requestTime"]&&t("ttfb.requestTime",N["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else{var m,f;
2u||delete N.cls,d||delete N.lcp,Object.entries(N).forEach(t=>{let[n,r]=t;(0,a.setMeasurement)(n,r.value,r.unit,e)}),m=e,f=s,t&&f.recordLcpOnPageloadSpan&&(t.element&&m.setAttribute("lcp.element",(0,p.htmlTreeAsString)(t.element)),t.id&&m.setAttribute("lcp.id",t.id),t.url&&m.setAttribute("lcp.url",t.url.trim().slice(0,200)),null!=t.loadTime&&m.setAttribute("lcp.loadTime",t.loadTime),null!=t.renderTime&&m.setAttribute("lcp.renderTime",t.renderTime),m.setAttribute("lcp.size",t.size)),n?.sources&&f.recordClsOnPageloadSpan&&n.sources.forEach((e,t)=>m.setAttribute(`cls.source.${t+1}`,(0,p.htmlTreeAsString)(e.node)))}e.setAttribute(c?"browser.performance.time_origin":"performance.timeOrigin",g),e.setAttribute(c?"browser.performance.navigation.activation_start":"performance.activationStart",(0,S.getActivationStart)())}A()},"startTrackingInteractions",0,function(){(0,f.addPerformanceInstrumentationHandler)("event",e=>{let{entries:t}=e,n=(0,i.getActiveSpan)();if(n){for(let e of t)if("click"===e.name){let t=(0,v.msToSec)((0,r.browserPerformanceTimeOrigin)()+e.startTime),i=(0,v.msToSec)(e.duration),a={name:(0,p.htmlTreeAsString)(e.target),op:`ui.interaction.${e.name}`,startTime:t,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},s=(0,d.getComponentName)(e.target);s&&(a.attributes["ui.component_name"]=s),(0,v.startAndEndSpan)(n,t,t+i,a)}}})},"startTrackingLongAnimationFrames",0,function(){new PerformanceObserver(e=>{let t=(0,i.getActiveSpan)();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=(0,v.msToSec)((0,r.browserPerformanceTimeOrigin)()+n.startTime),{start_timestamp:a,op:s}=(0,i.spanToJSON)(t);if("navigation"===s&&a&&e<a)continue;let o=(0,v.msToSec)(n.duration),l={[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"},{invoker:u,invokerType:d,sourceURL:p,sourceFunctionName:g,sourceCharPosition:m}=n.scripts[0];l["browser.script.invoker"]=u,l["browser.script.invoker_type"]=d,p&&(l["code.filepath"]=p),g&&(l["code.function"]=g),-1!==m&&(l["browser.script.source_char_position"]=m),(0,v.startAndEndSpan)(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:l})}}).observe({type:"long-animation-frame",buffered:!0})},"startTrackingLongTasks",0,function(){(0,f.addPerformanceInstrumentationHandler)("longtask",e=>{let{entries:t}=e,n=(0,i.getActiveSpan)();if(!n)return;let{op:a,start_timestamp:s}=(0,i.spanToJSON)(n);for(let e of t){let t=(0,v.msToSec)((0,r.browserPerformanceTimeOrigin)()+e.startTime),i=(0,v.msToSec)(e.duration);"navigation"===a&&s&&t<s||(0,v.startAndEndSpan)(n,t,t+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}})}})},"startTrackingWebVitals",0,function(e){let{recordClsStandaloneSpans:i,recordLcpStandaloneSpans:a,client:s}=e,o=(0,v.getBrowserPerformanceAPI)();if(o&&(0,r.browserPerformanceTimeOrigin)()){o.mark&&g.WINDOW.performance.mark("sentry-tracing-init");let e=a?(0,h.trackLcpAsStandaloneSpan)(s):!1===a?(0,f.addLcpInstrumentationHandler)(e=>{let{metric:n}=e,r=n.entries[n.entries.length-1];r&&(0,h.isValidLcpMetric)(n.value)&&(N.lcp={value:n.value,unit:"millisecond"},t=r)},!0):void 0,r=i?(0,m.trackClsAsStandaloneSpan)(s):!1===i?(0,f.addClsInstrumentationHandler)(e=>{let{metric:t}=e,r=t.entries[t.entries.length-1];r&&(N.cls={value:t.value,unit:""},n=r)},!0):void 0,l=(0,f.addTtfbInstrumentationHandler)(e=>{let{metric:t}=e;t.entries[t.entries.length-1]&&(N.ttfb={value:t.value,unit:"millisecond"})}),c=(0,f.addPerformanceInstrumentationHandler)("paint",e=>{let{entries:t}=e,n=(0,T.getVisibilityWatcher)();for(let e of t){let t=e.startTime<n.firstHiddenTime;"first-paint"===e.name&&t&&(N.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&t&&(N.fcp={value:e.startTime,unit:"millisecond"})}});return()=>{l(),c(),e?.(),r?.()}}return()=>void 0}])},83069,454319,e=>{"use strict";var t=e.i(928133),n=e.i(611188),r=e.i(610822),i=e.i(611462),a=e.i(816517),s=e.i(562020),o=e.i(39561),l=e.i(47142);function c(e){return null!=e&&e>0&&e<=6e4}e.s(["trackClsAsStandaloneSpan",0,function(e){let c,u=0;if(!(0,l.supportsWebVital)("layout-shift"))return;let d=(0,o.addClsInstrumentationHandler)(e=>{let{metric:t}=e,n=t.entries[t.entries.length-1];n&&(u=t.value,c=n)},!0);(0,l.listenForWebVitalReportEvents)(e,(e,o)=>{var p,g,m,f;let h,_,v,S,E;p=u,g=c,m=o,f=e,a.DEBUG_BUILD&&t.debug.log(`Sending CLS span (${p})`),h=g?(0,l.msToSec)(((0,n.browserPerformanceTimeOrigin)()||0)+g.startTime):(0,n.timestampInSeconds)(),_=(0,r.getCurrentScope)().getScopeData().transactionName,v=g?(0,s.htmlTreeAsString)(g.sources[0]?.node):"Layout shift",S={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[i.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":m,"sentry.report_event":f}
2,g?.sources&&g.sources.forEach((e,t)=>{S[`cls.source.${t+1}`]=(0,s.htmlTreeAsString)(e.node)}),(E=(0,l.startStandaloneWebVitalSpan)({name:v,transaction:_,attributes:S,startTime:h}))&&(E.addEvent("cls",{[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:p}),E.end(h)),d()})}],83069),e.s(["isValidLcpMetric",0,c,"trackLcpAsStandaloneSpan",0,function(e){let u,d=0;if(!(0,l.supportsWebVital)("largest-contentful-paint"))return;let p=(0,o.addLcpInstrumentationHandler)(e=>{let{metric:t}=e,n=t.entries[t.entries.length-1];n&&c(t.value)&&(d=t.value,u=n)},!0);(0,l.listenForWebVitalReportEvents)(e,(e,o)=>{(function(e,o,u,d){if(!c(e))return;a.DEBUG_BUILD&&t.debug.log(`Sending LCP span (${e})`);let p=(0,l.msToSec)(((0,n.browserPerformanceTimeOrigin)()||0)+(o?.startTime||0)),g=(0,r.getCurrentScope)().getScopeData().transactionName,m=o?(0,s.htmlTreeAsString)(o.element):"Largest contentful paint",f={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[i.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":u,"sentry.report_event":d};o&&(o.element&&(f["lcp.element"]=(0,s.htmlTreeAsString)(o.element)),o.id&&(f["lcp.id"]=o.id),o.url&&(f["lcp.url"]=o.url),null!=o.loadTime&&(f["lcp.loadTime"]=o.loadTime),null!=o.renderTime&&(f["lcp.renderTime"]=o.renderTime),null!=o.size&&(f["lcp.size"]=o.size));let h=(0,l.startStandaloneWebVitalSpan)({name:m,transaction:g,attributes:f,startTime:p});h&&(h.addEvent("lcp",{[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[i.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),h.end(p))})(d,u,o,e),p()})}],454319)},39561,e=>{"use strict";let t,n,r,i;var a=e.i(928133),s=e.i(107912),o=e.i(816517),l=e.i(471756),c=e.i(762055),u=e.i(493029),d=e.i(493151),p=e.i(223516),g=e.i(830954),m=e.i(953553),f=e.i(449357),h=e.i(828284),_=e.i(640676);let v=[200,500],S=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let n=(0,u.getVisibilityWatcher)();(0,h.whenActivated)(()=>{let r;(0,f.initInteractionCountPolyfill)();let i=(0,d.initMetric)("INP"),a=(0,p.initUnique)(t,g.InteractionManager),s=e=>{(0,_.whenIdleOrHidden)(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==i.value&&(i.value=t._latency,i.entries=t.entries,r())})},o=(0,m.observe)("event",s,{durationThreshold:t.durationThreshold??40});r=(0,c.bindReporter)(e,i,v,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{s(o.takeRecords()),r(!0)}))})};var E=e.i(145522),T=e.i(815429);class y{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}var I=e.i(829697);let b=[2500,4e3],N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,h.whenActivated)(()=>{let n,r=(0,u.getVisibilityWatcher)(),i=(0,d.initMetric)("LCP"),a=(0,p.initUnique)(t,y),s=e=>{for(let s of(t.reportAllChanges||(e=e.slice(-1)),e))a._processEntry(s),s.startTime<r.firstHiddenTime&&(i.value=Math.max(s.startTime-(0,E.getActivationStart)(),0),i.entries=[s],n())},o=(0,m.observe)("largest-contentful-paint",s);if(o){n=(0,c.bindReporter)(e,i,b,t.reportAllChanges);let r=(0,I.runOnce)(()=>{s(o.takeRecords()),o.disconnect(),n(!0)}),a=e=>{e.isTrusted&&((0,_.whenIdleOrHidden)(r),(0,T.removePageListener)(e.type,a,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])(0,T.addPageListener)(e,a,{capture:!0})}})};var A=e.i(601190),R=e.i(234337);let O=[800,1800],D=e=>{A.WINDOW.document?.prerendering?(0,h.whenActivated)(()=>D(e)):A.WINDOW.document?.readyState!=="complete"?addEventListener("load",()=>D(e),!0):setTimeout(e)},L=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,d.initMetric)("TTFB"),r=(0,c.bindReporter)(e,n,O,t.reportAllChanges);D(()=>{let e=(0,R.getNavigationEntry)();e&&(n.value=Math.max(e.responseStart-(0,E.getActivationStart)(),0),n.entries=[e],r(!0))})},U={},w={};function C(e,t){let n=U[e];if(n?.length)for(let r of n)try{r(t)}catch(t){o.DEBUG_BUILD&&a.debug.error(`Error while triggering instrumentation handler. 3Type: ${e} 4Name: ${(0,s.getFunctionName)(r)} 5Error:`,t)}}function B(){return(0,l.onCLS)(e=>{C("cls",{metric:e}),t=e},{reportAllChanges:!0})}function P(){return N(e=>{C("lcp",{metric:e}),n=e},{reportAllChanges:!0})}function k(){return L(e=>{C("ttfb",{metric:e}),r=e})}function M(){return S(e=>{C("inp",{metric:e}),i=e})}function x(e,t,n,r){let i,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return W(e,t),w[e]||(i=n(),w[e]=!0),r&&t({metric:r}),F(e,t,a?i:void 0)}function W(e,t){U[e]=U[e]||[],U[e].push(t)}function F(e,t,n){return()=>{n&&n();let r=U[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}e.s(["addClsInstrumentationHandler",0,function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return x("cls",e,B,t,n)},"addInpInstrumentationHandler",0,function(e){return x("inp",e,M,i)},"addLcpInstrumentationHandler",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return x("lcp",e,P,n,t)},"addPerformanceInstrumentationHandler",0,function(e,t){var n;let r;return W(e,t),w[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),(0,m.observe)(n,e=>{C(n,{entries:e})},r),w[e]=!0),F(e,t)},"addTtfbInstrumentationHandler",0,function(e){return x("ttfb",e,k,r)},"isPerformanceEventTiming",0,function(e){return"duration"in e}],39561)},52291,e=>{"use strict";var t=e.i(611188),n=e.i(47142);function r(e){return e?(((0,t.browserPerformanceTimeOrigin)()||performance.timeOrigin)+e)/1e3:e}e.s(["resourceTimingToSpanAttributes",0,function(e){let i={};
5if(void 0!=e.nextHopProtocol){let{name:t,version:r}=(0,n.extractNetworkProtocol)(e.nextHopProtocol);i["network.protocol.version"]=r,i["network.protocol.name"]=t}return(0,t.browserPerformanceTimeOrigin)()||(0,n.getBrowserPerformanceAPI)()?.timeOrigin?Object.fromEntries(Object.entries({...i,"http.request.redirect_start":r(e.redirectStart),"http.request.redirect_end":r(e.redirectEnd),"http.request.worker_start":r(e.workerStart),"http.request.fetch_start":r(e.fetchStart),"http.request.domain_lookup_start":r(e.domainLookupStart),"http.request.domain_lookup_end":r(e.domainLookupEnd),"http.request.connect_start":r(e.connectStart),"http.request.secure_connection_start":r(e.secureConnectionStart),"http.request.connection_end":r(e.connectEnd),"http.request.request_start":r(e.requestStart),"http.request.response_start":r(e.responseStart),"http.request.response_end":r(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(e=>{let[,t]=e;return null!=t})):i}])},47142,e=>{"use strict";var t=e.i(741656),n=e.i(221777),r=e.i(610822),i=e.i(601190),a=e.i(815429);e.s(["extractNetworkProtocol",0,function(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}},"getBrowserPerformanceAPI",0,function(){return i.WINDOW.addEventListener&&i.WINDOW.performance},"isMeasurementValue",0,function(e){return"number"==typeof e&&isFinite(e)},"listenForWebVitalReportEvents",0,function(e,t){let n,r,s=!1;function o(e){!s&&r&&t(e,r.spanContext().spanId,r),s=!0}n=e=>{("pagehide"===e.type||i.WINDOW.document?.visibilityState==="hidden")&&(()=>{o("pagehide")})()},(0,a.addPageListener)("visibilitychange",n,{capture:!0,once:!0}),(0,a.addPageListener)("pagehide",n,{capture:!0,once:!0});let l=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(o("navigation"),l(),c())}),c=e.on("afterStartPageLoadSpan",e=>{r=e,c()})},"msToSec",0,function(e){return e/1e3},"startAndEndSpan",0,function(e,r,i,a){let{...s}=a,o=(0,t.spanToJSON)(e).start_timestamp;return o&&o>r&&"function"==typeof e.updateStartTime&&e.updateStartTime(r),(0,n.withActiveSpan)(e,()=>{let e=(0,n.startInactiveSpan)({startTime:r,...s});return e&&e.end(i),e})},"startStandaloneWebVitalSpan",0,function(e){let t,a=(0,r.getClient)();if(!a)return;let{name:s,transaction:o,attributes:l,startTime:c}=e,{release:u,environment:d}=a.getOptions(),{userInfo:p}=a.getDataCollectionOptions(),g=a.getIntegrationByName("Replay"),m=g?.getReplayId(),f=(0,r.getCurrentScope)(),h=f.getUser(),_=void 0!==h?h.email||h.id||h.ip_address:void 0;try{t=f.getScopeData().contexts.profile.profile_id}catch{}let v={release:u,environment:d,user:_||void 0,profile_id:t||void 0,replay_id:m||void 0,transaction:o,"user_agent.original":i.WINDOW.navigator?.userAgent,"client.address":p?"{{auto}}":void 0,...l};return(0,n.startInactiveSpan)({name:s,attributes:v,startTime:c,experimental:{standalone:!0}})},"supportsWebVital",0,function(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}],47142)},471756,828284,449357,830954,e=>{"use strict";let t;var n=e.i(601190),r=e.i(762055),i=e.i(493029),a=e.i(493151),s=e.i(223516),o=e.i(615663),l=e.i(953553),c=e.i(829697),u=e.i(145522);let d=e=>{n.WINDOW.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()};e.s(["whenActivated",0,d],828284);let p=[1800,3e3],g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d(()=>{let n,s=(0,i.getVisibilityWatcher)(),o=(0,a.initMetric)("FCP"),c=(0,l.observe)("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(c.disconnect(),t.startTime<s.firstHiddenTime&&(o.value=Math.max(t.startTime-(0,u.getActivationStart)(),0),o.entries.push(t),n(!0)))});c&&(n=(0,r.bindReporter)(e,o,p,t.reportAllChanges))})},m=[.1,.25];e.s(["onCLS",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g((0,c.runOnce)(()=>{let c,u=(0,a.initMetric)("CLS",0),d=(0,i.getVisibilityWatcher)(),p=(0,s.initUnique)(t,o.LayoutShiftManager),g=e=>{for(let t of e)p._processEntry(t);p._sessionValue>u.value&&(u.value=p._sessionValue,u.entries=p._sessionEntries,c())},f=(0,l.observe)("layout-shift",g);f&&(c=(0,r.bindReporter)(e,u,m,t.reportAllChanges),d.onHidden(()=>{g(f.takeRecords()),c(!0)}),n.WINDOW?.setTimeout?.(c))}))}],471756);let f=0,h=1/0,_=0,v=e=>
5{e.forEach(e=>{e.interactionId&&(h=Math.min(h,e.interactionId),f=(_=Math.max(_,e.interactionId))?(_-h)/7+1:0)})},S=()=>t?f:performance.interactionCount||0;e.s(["getInteractionCount",0,S,"initInteractionCountPolyfill",0,()=>{"interactionCount"in performance||t||(t=(0,l.observe)("event",v,{type:"event",buffered:!0,durationThreshold:0}))}],449357);let E=0;e.s(["InteractionManager",0,class{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){E=S(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((S()-E)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(n)}}}],830954)},762055,234337,145522,e=>{"use strict";e.s(["bindReporter",0,(e,t,n,r)=>{let i,a;return s=>{if(t.value>=0&&(s||r)&&((a=t.value-(i??0))||void 0===i)){var o;i=t.value,t.delta=a,o=t.value,t.rating=o>n[1]?"poor":o>n[0]?"needs-improvement":"good",e(t)}}}],762055);var t=e.i(601190);let n=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=t.WINDOW.performance?.getEntriesByType?.("navigation")[0];if(!e||n&&n.responseStart>0&&n.responseStart<performance.now())return n};e.s(["getNavigationEntry",0,n],234337),e.s(["getActivationStart",0,()=>{let e=n();return e?.activationStart??0}],145522)},493029,493151,223516,615663,953553,e=>{"use strict";var t=e.i(601190),n=e.i(145522),r=e.i(815429);let i=-1,a=new Set,s=e=>{if(("pagehide"===e.type||t.WINDOW.document?.visibilityState==="hidden")&&i>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of a)e();isFinite(i)||(i="visibilitychange"===e.type?e.timeStamp:0,(0,r.removePageListener)("prerenderingchange",s,!0))}};e.s(["getVisibilityWatcher",0,()=>{if(t.WINDOW.document&&i<0){let e=(0,n.getActivationStart)();i=(t.WINDOW.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(t.WINDOW.document?.visibilityState!=="hidden"||t.WINDOW.document?.prerendering?1/0:0),(0,r.addPageListener)("visibilitychange",s,!0),(0,r.addPageListener)("pagehide",s,!0),(0,r.addPageListener)("prerenderingchange",s,!0)}return{get firstHiddenTime(){return i},onHidden(e){a.add(e)}}}],493029);var o=e.i(234337);e.s(["initMetric",0,function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,i=(0,o.getNavigationEntry)(),a="navigate";return i&&(t.WINDOW.document?.prerendering||(0,n.getActivationStart)()>0?a="prerender":t.WINDOW.document?.wasDiscarded?a="restore":i.type&&(a=i.type.replace(/_/g,"-"))),{name:e,value:r,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:a}}],493151);let l=new WeakMap;e.s(["initUnique",0,function(e,t){try{return l.get(e)||l.set(e,new t),l.get(e)}catch(e){return new t}}],223516),e.s(["LayoutShiftManager",0,class{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}],615663),e.s(["observe",0,function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}}],953553)},815429,e=>{"use strict";var t=e.i(601190);e.s(["addPageListener",0,function(e,n,r){t.WINDOW.document&&t.WINDOW.addEventListener(e,n,r)},"removePageListener",0,function(e,n,r){t.WINDOW.document&&t.WINDOW.removeEventListener(e,n,r)}])},829697,e=>{"use strict";e.s(["runOnce",0,e=>{let t=!1;return()=>{t||(e(),t=!0)}}])},640676,e=>{"use strict";var t=e.i(601190),n=e.i(815429),r=e.i(829697);e.s(["whenIdleOrHidden",0,e=>{let i=t.WINDOW.requestIdleCallback||t.WINDOW.setTimeout;t.WINDOW.document?.visibilityState==="hidden"?e():(e=(0,r.runOnce)(e),(0,n.addPageListener)("visibilitychange",e,{once:!0,capture:!0}),(0,n.addPageListener)("pagehide",e,{once:!0,capture:!0}),i(()=>{e(),(0,n.removePageListener)("visibilitychange",e,{capture:!0}),(0,n.removePageListener)("pagehide",e,{capture:!0})}
5))}])},586840,e=>{"use strict";var t=e.i(928133),n=e.i(816517);let r=Symbol.for("sentry__originalRequestBody");function i(e){return new URLSearchParams(e).toString()}e.s(["getBodyString",0,function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.debug;try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[i(e)];if(!e)return[void 0]}catch(t){return n.DEBUG_BUILD&&r.error(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return n.DEBUG_BUILD&&r.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]},"getFetchRequestArgBody",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][r];if(void 0!==t)return t}},"parseXhrResponseHeaders",0,function(e){let r;try{r=e.getAllResponseHeaders()}catch(r){return n.DEBUG_BUILD&&t.debug.error(r,"Failed to get xhr response headers",e),{}}return r?r.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}},"serializeFormData",0,i])},601190,e=>{"use strict";let t=e.i(336687).GLOBAL_OBJ;e.s(["WINDOW",0,t])},222831,681446,e=>{"use strict";var t=e.i(406419),n=e.i(430557),r=e.i(246271);function i(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var a=e.i(464907),s=e.i(101252),o=e.i(610822),l=e.i(873802),c=e.i(739142);function u(e){return(0,a.isError)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var d=e.i(302088);function p(e,t){var n,r;let i,a,s=m(e,t),o={type:(n=t,!(i=n?.name)&&h(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":i),value:(r=t,a=r?.message,h(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":a?a.error&&"string"==typeof a.error.message?u(a.error):u(r):"No error message")};return s.length&&(o.stacktrace={frames:s}),void 0===o.type&&""===o.value&&(o.value="Unrecoverable error caught"),o}function g(e,t){return{exception:{values:[p(e,t)]}}}function m(e,t){var n,r;let i=t.stacktrace||t.stack||"",a=(n=t)&&f.test(n.message)?1:0,s="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,a,s)}catch{}return[]}let f=/Minified React error #\d+;/i;function h(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function _(e,t,n,r){let i=S(e,t,n?.syntheticException||void 0,r);return(0,s.addExceptionMechanism)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,d.resolvedSyncPromise)(i)}function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=E(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),(0,d.resolvedSyncPromise)(a)}function S(e,t,n,r,i){let u;if((0,a.isErrorEvent)(t)&&t.error)return g(e,t.error);if((0,a.isDOMError)(t)||(0,a.isDOMException)(t)){if("stack"in t){u=g(e,t);let i=u.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=m(e,n);t.length&&(i.stacktrace={frames:t},(0,s.addExceptionMechanism)(u,{synthetic:!0}))}}else{let i=t.name||((0,a.isDOMError)(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;u=E(e,o,n,r),(0,s.addExceptionTypeValue)(u,o)}return"code"in t&&(u.tags={...u.tags,"DOMException.code":`${t.code}`}),u}return(0,a.isError)(t)?g(e,t):((0,a.isPlainObject)(t)||(0,a.isEvent)(t)?u=function(e,t,n,r){let i=(0,o.getClient)(),s=i?.getOptions().normalizeDepth,u=Object.values(t).find(a.isError),d={__serialized__:(0,l.normalizeToSize)(t,s)};if(u)return{exception:{values:[p(e,u)]},extra:d};let g={exception:{values:[{type:(0,a.isEvent)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,t){let{isUnhandledRejection:n}=t,r=(0,c.extractExceptionKeysForMessage)(e),i=n?"promise rejection":"exception";if((0,a.isErrorEvent)(e))return`Event \`ErrorEvent\` captured as ${i} with message \`${e.message}\``;if((0,a.isEvent)(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 ${i}`}return`Object captured as ${i} with keys: ${r}`}(t,{isUnhandledRejection:r})}]},extra:d};if(n){let t=m(e,n);t.length&&(g.exception.values[0].stacktrace={frames:t})}return g}(e,t,n,i):(u=E(e,t,n,r),(0,s.addExceptionTypeValue)(u,`${t}`,void 0)),(0,s.addExceptionMechanism)(u,{synthetic:!0}),u)}function E(e,t,n,r){let i={};if(r&&n){let r=m(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,s.addExceptionMechanism)(i,{synthetic:!0})}
5if((0,a.isParameterizedString)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}e.s(["eventFromException",0,_,"eventFromMessage",0,v,"eventFromUnknownInput",0,S,"exceptionFromError",0,p],681446);var T=e.i(984473);class y extends t.Client{constructor(e){const t=function(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:T.WINDOW.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e),a=T.WINDOW.SENTRY_SDK_SOURCE||(0,n.getSDKSource)();(0,r.applySdkMetadata)(t,"browser",["browser"],a),super(t);const{userInfo:s}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:s?"auto":"never",...t._metadata.sdk.settings});const{sendClientReports:o}=this._options;T.WINDOW.document&&T.WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===T.WINDOW.document.visibilityState&&(o&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),s&&this.on("beforeSendSession",i)}eventFromException(e,t){return _(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return v(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}e.s(["BrowserClient",0,y],222831)},240909,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",0,t])},984473,e=>{"use strict";var t=e.i(336687),n=e.i(739142),r=e.i(610822),i=e.i(101252),a=e.i(142569),s=e.i(328838);let o=t.GLOBAL_OBJ,l=0;e.s(["WINDOW",0,o,"getHttpRequestData",0,function(){let e=(0,s.getLocationHref)(),{referrer:t}=o.document||{},{userAgent:n}=o.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}},"shouldIgnoreOnError",0,function(){return l>0},"wrap",0,function e(s){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("function"!=typeof s)return s;try{if(Object.prototype.hasOwnProperty.call(s,"__sentry_wrapped__")){let e=s.__sentry_wrapped__;if("function"==typeof e)return e;return s}if((0,n.getOriginalFunction)(s))return s}catch{return s}let c=function(){for(var n=arguments.length,c=Array(n),u=0;u<n;u++)c[u]=arguments[u];t.GLOBAL_OBJ._sentryWrappedDepth=(t.GLOBAL_OBJ._sentryWrappedDepth||0)+1;try{let t=c.map(t=>e(t,o));return s.apply(this,t)}catch(e){throw l++,setTimeout(()=>{l--}),(0,r.withScope)(t=>{t.addEventProcessor(e=>(o.mechanism&&((0,i.addExceptionTypeValue)(e,void 0,void 0),(0,i.addExceptionMechanism)(e,o.mechanism)),e.extra={...e.extra,arguments:c},e)),(0,a.captureException)(e)}),e}finally{t.GLOBAL_OBJ._sentryWrappedDepth=(t.GLOBAL_OBJ._sentryWrappedDepth||0)-1}};try{for(let e in s)Object.prototype.hasOwnProperty.call(s,e)&&(c[e]=s[e])}catch{}(0,n.markFunctionWrapped)(c,s),(0,n.addNonEnumerableProperty)(s,"__sentry_wrapped__",c);try{Object.getOwnPropertyDescriptor(c,"name").configurable&&Object.defineProperty(c,"name",{get:()=>s.name})}catch{}return c}])},45530,901507,e=>{"use strict";var t=e.i(97556),n=e.i(896901),r=e.i(804298),i=e.i(610822),a=e.i(238262),s=e.i(49817),o=e.i(60627),l=e.i(928133),c=e.i(328838),u=e.i(980786),d=e.i(512431),p=e.i(101252),g=e.i(110272),m=e.i(371303),f=e.i(934581),h=e.i(562020),_=e.i(240909),v=e.i(984473);let S=(0,t.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var S,E,T,y,I,b,N;t.console&&(0,n.addConsoleInstrumentationHandler)((S=e,function(e){if((0,i.getClient)()!==S)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:(0,s.severityLevelFromString)(e.level),message:(0,a.safeJoin)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,a.safeJoin)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);(0,o.addBreadcrumb)(t,{input:e.args,level:e.level})})),t.dom&&(0,g.addClickKeypressInstrumentationHandler)((E=e,T=t.dom,function(e){let t,n;if((0,i.getClient)()!==E)return;let r="object"==typeof T?T.serializeAttribute:void 0,a="object"==typeof T&&"number"==typeof T.maxStringLength?T.maxStringLength:void 0;a&&a>1024&&(_.DEBUG_BUILD&&l.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof r&&(r=[r]);try{var s;let i=e.event,o=(s=i)&&s.target?i.target:i;t=(0,h.htmlTreeAsString)(o,{keyAttrs:r,maxStringLength:a}),n=(0,c.getComponentName)(o)}catch{t="<unknown>"}if(0===t.length)return;let u={category:`ui.${e.name}`,message:t};n&&(u.data={"ui.component_name":n}),(0,o.addBreadcrumb)(u,{event:e.event,name:e.name,global:e.global})})),t.xhr&&(0,m.addXhrInstrumentationHandler)((y=e,function(e){if((0,i.getClient)()!==y)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[m.SENTRY_XHR_DATA_KEY];if(!t||!n||!r)return;let{method:a,url:s,status_code:l,body:c}=r,d={xhr:e.xhr,input:c,startTimestamp:t,endTimestamp:n},p={category:"xhr",data:{method:a,url:s,status_code:l},type:"http",level:(0,u.getBreadcrumbLogLevelFromHttpStatusCode)(l)};y.emit("beforeOutgoingRequestBreadcrumb",p,d),(0,o.addBreadcrumb)(p,d)})),t.fetch&&(0,r.addFetchInstrumentationHandler)((I=e,function(e){if((0,i.getClient)()!==I)return;let{startTimestamp:t,endTimestamp:n}=e;
5if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},i={category:"fetch",data:e.fetchData,level:"error",type:"http"};I.emit("beforeOutgoingRequestBreadcrumb",i,r),(0,o.addBreadcrumb)(i,r)}else{let r=e.response,i={...e.fetchData,status_code:r?.status},a={input:e.args,response:r,startTimestamp:t,endTimestamp:n},s={category:"fetch",data:i,type:"http",level:(0,u.getBreadcrumbLogLevelFromHttpStatusCode)(i.status_code)};I.emit("beforeOutgoingRequestBreadcrumb",s,a),(0,o.addBreadcrumb)(s,a)}})),t.history&&(0,f.addHistoryInstrumentationHandler)((b=e,function(e){if((0,i.getClient)()!==b)return;let t=e.from,n=e.to,r=(0,d.parseUrl)(v.WINDOW.location.href),a=t?(0,d.parseUrl)(t):void 0,s=(0,d.parseUrl)(n);a?.path||(a=r),r.protocol===s.protocol&&r.host===s.host&&(n=s.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),(0,o.addBreadcrumb)({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(N=e,function(e){(0,i.getClient)()===N&&(0,o.addBreadcrumb)({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,p.getEventDescription)(e)},{event:e})}))}}});e.s(["breadcrumbsIntegration",0,S],45530);var E=e.i(739142),T=e.i(107912);let y="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(","),I=(0,t.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,E.fill)(v.WINDOW,"setTimeout",b),t.setInterval&&(0,E.fill)(v.WINDOW,"setInterval",b),t.requestAnimationFrame&&(0,E.fill)(v.WINDOW,"requestAnimationFrame",N),t.XMLHttpRequest&&"XMLHttpRequest"in v.WINDOW&&(0,E.fill)(XMLHttpRequest.prototype,"send",A);let e=t.eventTarget;e&&(Array.isArray(e)?e:y).forEach(e=>{var n,r;let i,a;return n=e,r=t,i=v.WINDOW,a=i[n]?.prototype,void(a?.hasOwnProperty?.("addEventListener")&&((0,E.fill)(a,"addEventListener",function(e){return function(t,i,a){var s,o,l,c;try{s=i,"function"==typeof s.handleEvent&&(i.handleEvent=(0,v.wrap)(i.handleEvent,{mechanism:{data:{handler:(0,T.getFunctionName)(i),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return r.unregisterOriginalCallbacks&&(o=this,l=t,c=i,o&&"object"==typeof o&&"removeEventListener"in o&&"function"==typeof o.removeEventListener&&o.removeEventListener(l,c)),e.apply(this,[t,(0,v.wrap)(i,{mechanism:{data:{handler:(0,T.getFunctionName)(i),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,E.fill)(a,"removeEventListener",function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}})))})}}});function b(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=n[0];return n[0]=(0,v.wrap)(i,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,T.getFunctionName)(e)}`}}),e.apply(this,n)}}function N(e){return function(t){return e.apply(this,[(0,v.wrap)(t,{mechanism:{data:{handler:(0,T.getFunctionName)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function A(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in i&&"function"==typeof i[e]&&(0,E.fill)(i,e,function(t){let n={mechanism:{data:{handler:(0,T.getFunctionName)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,E.getOriginalFunction)(t);return r&&(n.mechanism.data.handler=(0,T.getFunctionName)(r)),(0,v.wrap)(t,n)})}),e.apply(this,n)}}e.s(["browserApiErrorsIntegration",0,I],901507)},773708,885462,732149,575585,769017,961681,e=>{"use strict";var t=e.i(97556),n=e.i(928133),r=e.i(142569),i=e.i(610822),a=e.i(640676),s=e.i(934581),o=e.i(240909),l=e.i(984473);let c=(0,t.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===l.WINDOW.document){o.DEBUG_BUILD&&n.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,r.startSession)({ignoreDuration:!0});let e=!1;(0,a.whenIdleOrHidden)(()=>{e||((0,r.captureSession)(),e=!0)});let c=(0,i.getIsolationScope)(),u=c.getUser();c.addScopeListener(t=>{let n=t.getUser();(u?.id!==n?.id||u?.ip_address!==n?.ip_address)&&(u=n,e&&(0,r.captureSession)())}),"route"===t&&(0,s.addHistoryInstrumentationHandler)(t=>{let{from:n,to:i}=t;n!==i&&((0,r.startSession)({ignoreDuration:!0}),(0,r.captureSession)(),e=!0)})}}});e.s(["browserSessionIntegration",0,c],773708);var u=e.i(611462),d=e.i(611045),p=e.i(741656),g=e.i(954325),m=e.i(380941),f=e.i(240999),h=e.i(964266);function _(e,t){let n=e.attributes??(e.attributes={});
5Object.entries(t).forEach(e=>{let[t,r]=e;null==r||t in n||(n[t]=r)})}e.s(["captureSpan",0,function(e,t){var n,r;let i,a,s=(0,p.spanToStreamedSpanJSON)(e),o=(0,p.INTERNAL_getSegmentSpan)(e),l=(0,p.spanToStreamedSpanJSON)(o),{isolationScope:c,scope:v}=(0,g.getCapturedScopesOnSpan)(e),S=(0,d.getCombinedScopeData)(c,v);!function(e,t,n,r){let i=n.getSdkMetadata(),{release:a,environment:s}=n.getOptions();_(e,{[h.SENTRY_TRACE_LIFECYCLE]:"stream",[h.SENTRY_SEGMENT_NAME]:t.name,[h.SENTRY_SEGMENT_ID]:t.span_id,[h.SENTRY_SDK_NAME]:i?.sdk?.name,[h.SENTRY_SDK_VERSION]:i?.sdk?.version,[u.SEMANTIC_ATTRIBUTE_SENTRY_RELEASE]:a,[u.SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT]:s||f.DEFAULT_ENVIRONMENT,[u.SEMANTIC_ATTRIBUTE_USER_ID]:r.user?.id,[u.SEMANTIC_ATTRIBUTE_USER_EMAIL]:r.user?.email,[u.SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS]:r.user?.ip_address,[u.SEMANTIC_ATTRIBUTE_USER_USERNAME]:r.user?.username,...r.attributes})}(s,l,t,S);let E=e.kind;t.emit("preprocessSpan",s,{spanKind:E}),s.is_segment&&(_(s,function(e){let t={},{response:n,profile:r,cloud_resource:i,culture:a,state:s}=e;if(n&&(null!=n.status_code&&(t["http.response.status_code"]=n.status_code),null!=n.body_size&&(t["http.response.body.size"]=n.body_size)),r&&(r.profile_id&&(t["sentry.profile_id"]=r.profile_id),r.profiler_id&&(t["sentry.profiler_id"]=r.profiler_id)),i)for(let[e,n]of Object.entries(i))null!=n&&(t[e]=n);a&&(a.locale&&(t["culture.locale"]=a.locale),a.timezone&&(t["culture.timezone"]=a.timezone)),s?.state&&"string"==typeof s.state.type&&(t["state.type"]=s.state.type);let o=e.angular;if(o){let e=o.version;("string"==typeof e||"number"==typeof e)&&(t["angular.version"]=e)}let l=e.react;if(l){let e=l.version;("string"==typeof e||"number"==typeof e)&&(t["react.version"]=e)}return t}(S.contexts)),n=s,(i=t.getIntegrationNames()).length&&_(n,{[u.SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS]:i}),t.emit("processSegmentSpan",s)),t.emit("processSpan",s);let{beforeSendSpan:T}=t.getOptions(),y=T&&(0,m.isStreamedBeforeSendSpanCallback)(T)?(a=T(r=s))||((0,p.showSpanDropWarning)(),r):s,I=y.attributes?.[u.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];return s.is_segment&&I&&_(y,{"sentry.segment.name.source":I}),{...(0,p.streamedSpanJsonToSerializedSpan)(y),_segmentSpan:o}},"safeSetSpanJSONAttributes",0,_],885462);let v=(0,t.defineIntegration)(()=>({name:"CultureContext",preprocessEvent(e){let t=S();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=S();t&&_(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}}));function S(){try{let e=l.WINDOW.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}e.s(["cultureContextIntegration",0,v],732149);var E=e.i(886755),T=e.i(703206),y=e.i(464907),I=e.i(107912),b=e.i(328838),N=e.i(512431),A=e.i(681446);let R=(0,t.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var n,a;t.onerror&&(n=e,(0,E.addGlobalErrorInstrumentationHandler)(e=>{var t,a,s,o;let c,u,d,p,g,{stackParser:m,attachStacktrace:f}=U();if((0,i.getClient)()!==n||(0,l.shouldIgnoreOnError)())return;let{msg:h,url:_,line:v,column:S,error:E}=e,T=(t=(0,A.eventFromUnknownInput)(m,E||h,void 0,f,!1),a=_,s=v,o=S,0===(g=(p=(d=(u=(c=t.exception=t.exception||{}).values=c.values||[])[0]=u[0]||{}).stacktrace=d.stacktrace||{}).frames=p.frames||[]).length&&g.push({colno:o,lineno:s,filename:function(e){if((0,y.isString)(e)&&0!==e.length)return e.startsWith("data:")?`<${(0,N.stripDataUrlContent)(e,!1)}>`:e}(a)??(0,b.getLocationHref)(),function:I.UNKNOWN_FUNCTION,in_app:!0}),t);T.level="error",(0,r.captureEvent)(T,{originalException:E,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),L("onerror")),t.onunhandledrejection&&(a=e,(0,T.addGlobalUnhandledRejectionInstrumentationHandler)(e=>{let{stackParser:t,attachStacktrace:n}=U();if((0,i.getClient)()!==a||(0,l.shouldIgnoreOnError)())return;let s=O(e),o=(0,y.isPrimitive)(s)?D(s):(0,A.eventFromUnknownInput)(t,s,void 0,n,!0);o.level="error",(0,r.captureEvent)(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),L("onunhandledrejection"))}}});function O(e){if((0,y.isPrimitive)(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}function D(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function L(e){o.DEBUG_BUILD&&n.debug.log(`Global Handler attached: ${e}`)}function U(){let e=(0,i.getClient)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}e.s(["_eventFromRejectionWithPrimitive",0,D,"_getUnhandledRejectionError",0,O,"globalHandlersIntegration",0,R],575585);let w=(0,t.defineIntegration)(()=>({name:"HttpContext",preprocessEvent(e){if(!l.WINDOW.navigator&&!l.WINDOW.location&&!l.WINDOW.document)return;let t=(0,l.getHttpRequestData)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){let t=e.attributes?.[u.SEMANTIC_ATTRIBUTE_SENTRY_OP];if(!l.WINDOW.navigator&&!l.WINDOW.location&&!l.WINDOW.document)return;let n=(0,l.getHttpRequestData)();_(e,{[h.URL_FULL]:"http.client"!==t?n.url:void 0,"http.request.header.user_agent":n.headers["User-Agent"],"http.request.header.referer":n.headers.Referer})}}));function C(e){return Array.isArray(e.errors)}function B(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...C(n)&&{is_exception_group:!0}
5,...e.mechanism,exception_id:t}}function P(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}e.s(["httpContextIntegration",0,w],769017);let k=(0,t.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let a=i.getOptions();!function(e,t,n,r,i,a){if(!i.exception?.values||!a||!(0,y.isError)(a.originalException))return;let s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=function e(t,n,r,i,a,s,o,l){if(s.length>=r+1)return s;let c=[...s];if((0,y.isError)(i[a])){B(o,l,i);let s=t(n,i[a]),u=c.length;P(s,a,u,l),c=e(t,n,r,i[a],a,[s,...c],s,u)}return C(i)&&i.errors.forEach((s,u)=>{if((0,y.isError)(s)){B(o,l,i);let d=t(n,s),p=c.length;P(d,`errors[${u}]`,p,l),c=e(t,n,r,s,a,[d,...c],d,p)}}),c}(e,t,r,a.originalException,n,i.exception.values,s,0))}(A.exceptionFromError,a.stackParser,n,t,e,r)}}});e.s(["linkedErrorsIntegration",0,k],961681)},267049,e=>{"use strict";var t=e.i(97556),n=e.i(804298),r=e.i(512431),i=e.i(221777),a=e.i(611462);let s=new WeakMap,o=new WeakMap,l=["text/event-stream","application/x-ndjson","application/stream+json"],c=(0,t.defineIntegration)(()=>({name:"FetchStreamPerformance",setup(){(0,n.addFetchEndInstrumentationHandler)(e=>{if(e.response){let t=s.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=o.get(e.response);n&&clearTimeout(n)}}}),(0,n.addFetchInstrumentationHandler)(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get("content-type")||"";if(e.response.headers?.get("content-length")||!l.some(e=>t.startsWith(e)))return;let n=e.fetchData?.url||"",c=e.fetchData?.method||"GET",u=(0,r.parseStringToURLObject)(n),d=n.startsWith("data:")?(0,r.stripDataUrlContent)(n):u?(0,r.getSanitizedUrlStringFromUrlObject)(u):n,p=(0,i.startInactiveSpan)({name:`${c} ${d}`,startTime:e.endTimestamp,attributes:{url:(0,r.stripDataUrlContent)(n),"http.method":c,type:"fetch",[a.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client.stream",[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.stream"}});s.set(e.response,p);let g=setTimeout(()=>{p.isRecording()&&p.end()},9e4);o.set(e.response,g)}})}}));e.s(["fetchStreamPerformanceIntegration",0,c])},58045,384617,845196,e=>{"use strict";var t=e.i(97556),n=e.i(364473),r=e.i(910359),i=e.i(611188),a=e.i(741656),s=e.i(610822),o=e.i(611462),l=e.i(562020),c=e.i(601190),u=e.i(39561),d=e.i(47142);let p=[],g=new Map,m=new Map,f={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"},h=e=>{let{metric:t}=e;if(void 0==t.value)return;let n=(0,d.msToSec)(t.value);if(n>60)return;let r=t.entries.find(e=>e.duration===t.value&&f[e.name]);if(!r)return;let{interactionId:c}=r,u=f[r.name],p=(0,d.msToSec)((0,i.browserPerformanceTimeOrigin)()+r.startTime),m=(0,a.getActiveSpan)(),h=m?(0,a.getRootSpan)(m):void 0,_=null!=c?g.get(c):void 0,v=_?.span||h,S=v?(0,a.spanToJSON)(v).description:(0,s.getCurrentScope)().getScopeData().transactionName,E=_?.elementName||(0,l.htmlTreeAsString)(r.target),T={[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${u}`,[o.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:r.duration},y=(0,d.startStandaloneWebVitalSpan)({name:E,transaction:S,attributes:T,startTime:p});y&&(y.addEvent("inp",{[o.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[o.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t.value}),y.end(p+n))};var _=e.i(365846),v=e.i(928133),S=e.i(221777),E=e.i(816517),T=e.i(454319),y=e.i(964266);function I(e){let{name:t,op:n,origin:r,metricName:i,value:l,attributes:u,parentSpan:d,reportEvent:p,startTime:g,endTime:m}=e,f=(0,s.getCurrentScope)().getScopeData().transactionName,h={[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:n,[o.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,[`browser.web_vital.${i}.value`]:l,[y.SENTRY_TRANSACTION]:f,[y.SENTRY_SEGMENT_NAME]:f,"user_agent.original":c.WINDOW.navigator?.userAgent,...u};d&&(0,a.spanToStreamedSpanJSON)(d).attributes?.[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]==="pageload"&&(h["sentry.pageload.span_id"]=d.spanContext().spanId),p&&(h[`browser.web_vital.${i}.report_event`]=p);let _=(0,S.startInactiveSpan)({name:t,attributes:h,startTime:g,parentSpan:d});_&&_.end(m??g)}let b="WebVitals",N=(0,t.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Set(e.ignore??[]);return{name:b,setup(r){let c=(0,n.hasSpanStreamingEnabled)(r),{enableStandaloneClsSpans:p,enableStandaloneLcpSpans:m}=e._experiments??{},S=c||t.has("cls")?void 0:p||!1,b=c||t.has("lcp")?void 0:m||!1,N=(0,_.startTrackingWebVitals)({recordClsStandaloneSpans:S,recordLcpStandaloneSpans:b,client:r}),A=new WeakSet;r.on("afterStartPageLoadSpan",e=>{A.add(e)}),r.on("spanEnd",e=>{A.delete(e)&&(N(),(0,_.addWebVitalsToSpan)(e,{recordClsOnPageloadSpan:!1===S,recordLcpOnPageloadSpan:!1===b,spanStreamingEnabled:c}))}),c?(t.has("lcp")||function(e){let t,n=0;if(!(0,d.supportsWebVital)("largest-contentful-paint"))return;let r=(0,u.addLcpInstrumentationHandler)(e=>{let{metric:r}=e,i=r.entries[r.entries.length-1];i&&(0,T.isValidLcpMetric)(r.value)&&(n=r.value,t=i)},!0);(0,d.listenForWebVitalReportEvents)(e,(e,a,s)=>{(function(e,t,n,r){if(!(0,T.isValidLcpMetric)(e))return;E.DEBUG_BUILD&&v.debug.log(`Sending LCP span (${e})`);let a=(0,i.browserPerformanceTimeOrigin)()||0,s=(0,d.msToSec)(a),o=(0,d.msToSec)(a+(t?.startTime||0)),c=t?(0,l.htmlTreeAsString)(t.element):"Largest contentful paint",u={};t?.element&&(u["browser.web_vital.lcp.element"]=(0,l.htmlTreeAsString)(t.element)),t?.id&&(u["browser.web_vital.lcp.id"]=t.id),t?.url&&(u["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(u["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(u["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(u["browser.web_vital.lcp.size"]=t.size),I({name:c,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:u,parentSpan:n,reportEvent:r,startTime:s,endTime:o})})(n,t,s,e),r()})}(r),t.has("cls")||function(e){let t,n=0;if(!(0,d.supportsWebVital)("layout-shift"))return;let r=(0,u.addClsInstrumentationHandler)(e=>{let{metric:r}=e,i=r.entries[r.entries.length-1];i&&(n=r.value,t=i)},!0);(0,d.listenForWebVitalReportEvents)(e,(e,a,s)=>{var o,c,u,p;let g,m,f;o=n,c=t,u=s,p=e,E.DEBUG_BUILD&&v.debug.log(`Sending CLS span (${o})`),g=c?(0,d.msToSec)(((0,i.browserPerformanceTimeOrigin)()||0)+c.startTime):(0,i.timestampInSeconds)(),m=c?(0,l.htmlTreeAsString)(c.sources[0]?.node):"Layout shift",f={}
5,c?.sources&&c.sources.forEach((e,t)=>{f[`browser.web_vital.cls.source.${t+1}`]=(0,l.htmlTreeAsString)(e.node)}),I({name:m,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:o,attributes:f,parentSpan:u,reportEvent:p,startTime:g}),r()})}(r),!t.has("inp")&&(0,d.getBrowserPerformanceAPI)()&&(0,i.browserPerformanceTimeOrigin)()&&(0,u.addInpInstrumentationHandler)(e=>{var t,n,r;let c,u,p,m,h,_,S,T,{metric:b}=e;if(null==b.value||(0,d.msToSec)(b.value)>60)return;let N=b.entries.find(e=>e.duration===b.value&&f[e.name]);N&&(t=b.value,n=N,E.DEBUG_BUILD&&v.debug.log(`Sending INP span (${t})`),c=(0,d.msToSec)((0,i.browserPerformanceTimeOrigin)()+n.startTime),u=(0,d.msToSec)(t),p=f[n.name],m=null!=(r=n.interactionId)?g.get(r):void 0,_=(h=(0,a.getActiveSpan)())?(0,a.getRootSpan)(h):void 0,T=(S=m?.span||_)?(0,a.spanToStreamedSpanJSON)(S).name:(0,s.getCurrentScope)().getScopeData().transactionName,I({name:m?.elementName||(0,l.htmlTreeAsString)(n.target),op:`ui.interaction.${p}`,origin:"auto.http.browser.inp",metricName:"inp",value:t,attributes:{[o.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:n.duration,[y.SENTRY_TRANSACTION]:T,[y.SENTRY_SEGMENT_NAME]:T},startTime:c,endTime:c+u,parentSpan:S}))})):t.has("inp")||function(){if((0,d.getBrowserPerformanceAPI)()&&(0,i.browserPerformanceTimeOrigin)()){let e=(0,u.addInpInstrumentationHandler)(h);()=>{e()}}}()},afterAllSetup(){t.has("inp")||function(){let e=Object.keys(f);function t(e){let t=e.target;if(!t)return;let n=(0,l.htmlTreeAsString)(t),r=Math.round(e.timeStamp);if(m.set(r,n),m.size>50){let e=m.keys().next().value;void 0!==e&&m.delete(e)}}(0,r.isBrowser)()&&e.forEach(e=>{c.WINDOW.addEventListener(e,t,{capture:!0,passive:!0})});let n=e=>{let{entries:t}=e,n=(0,a.getActiveSpan)(),r=n&&(0,a.getRootSpan)(n);t.forEach(e=>{if(!(0,u.isPerformanceEventTiming)(e))return;let t=e.interactionId;if(null==t||g.has(t))return;let n=e.target?(0,l.htmlTreeAsString)(e.target):function(e){let t=Math.round(e.startTime),n=m.get(t);if(!n)for(let e=-5;e<=5;e++){let r=m.get(t+e);if(r){n=r;break}}return n||"<unknown>"}(e);if(p.length>10){let e=p.shift();g.delete(e)}p.push(t),g.set(t,{span:r,elementName:n})})};(0,u.addPerformanceInstrumentationHandler)("event",n),(0,u.addPerformanceInstrumentationHandler)("first-input",n)}()}}});e.s(["WEB_VITALS_INTEGRATION_NAME",0,b,"webVitalsIntegration",0,N],58045);var A=e.i(771467),R=e.i(240909),O=e.i(984473);e.s(["registerBackgroundTabDetection",0,function(){O.WINDOW.document?O.WINDOW.document.addEventListener("visibilitychange",()=>{let e=(0,a.getActiveSpan)();if(!e)return;let t=(0,a.getRootSpan)(e);if(O.WINDOW.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,a.spanToJSON)(t);R.DEBUG_BUILD&&v.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:A.SPAN_STATUS_ERROR,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):R.DEBUG_BUILD&&v.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")}],384617);let D="sentry_previous_trace";function L(e){return 1===e.traceFlags}e.s(["linkTraces",0,function(e,t){let{linkPreviousTrace:n,consistentTraceSampling:r}=t,i="session-storage"===n,l=i?function(){try{let e=O.WINDOW.sessionStorage?.getItem(D);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,a.getRootSpan)(e)!==e)return;let t=(0,s.getCurrentScope)().getPropagationContext();l=function(e,t,n){let r=(0,a.spanToJSON)(t),i={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{let e=Number(r.data?.[o.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}(),sampleRand:n.sampleRand};if(!e)return i;let s=e.spanContext;return s.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(R.DEBUG_BUILD&&v.debug.log(`Adding previous_trace \`${JSON.stringify(s)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:s,attributes:{[o.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${s.traceId}-${s.spanId}-${+!!L(s)}`)),i)}(l,e,t),i&&function(e){try{O.WINDOW.sessionStorage.setItem(D,JSON.stringify(e))}catch(e){R.DEBUG_BUILD&&v.debug.warn("Could not store previous trace in sessionStorage",e)}}(l)});let c=!0;r&&e.on("beforeSampling",e=>
5{if(!l)return;let t=(0,s.getCurrentScope)(),n=t.getPropagationContext();if(c&&n.parentSpanId){c=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(l.sampleRate),sampled:String(L(l.spanContext))},sampleRand:l.sampleRand}),e.parentSampled=L(l.spanContext),e.parentSampleRate=l.sampleRate,e.spanAttributes={...e.spanAttributes,[o.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:l.sampleRate}})}],845196)},110417,561623,e=>{"use strict";var t=e.i(948215),n=e.i(889015),r=e.i(630840),i=e.i(857273),a=e.i(97556),s=e.i(107912),o=e.i(873802),l=e.i(950531),c=e.i(222831),u=e.i(45530),d=e.i(901507),p=e.i(773708),g=e.i(732149),m=e.i(575585),f=e.i(769017),h=e.i(961681),_=e.i(407943),v=e.i(273085),S=e.i(562020);let E=/^HTML(\w*)Element$/;function T(e){if("u">typeof window&&e===window)return"[Window]";if("u">typeof document&&e===document)return"[Document]";if(function(e){if("u"<typeof Element)return!1;try{return e instanceof Element}catch{return!1}}(e)){let t,n=(t=Object.getPrototypeOf(e),t?.constructor?t.constructor.name:"null prototype");if(E.test(n))return`[HTMLElement: ${(0,S.htmlTreeAsString)(e)}]`}}e.s(["normalizeStringifyValue",0,T],561623);var y=e.i(928133),I=e.i(328838),b=e.i(240909),N=e.i(984473);function A(e){return[(0,t.inboundFiltersIntegration)(),(0,n.functionToStringIntegration)(),(0,r.conversationIdIntegration)(),(0,d.browserApiErrorsIntegration)(),(0,u.breadcrumbsIntegration)(),(0,m.globalHandlersIntegration)(),(0,h.linkedErrorsIntegration)(),(0,i.dedupeIntegration)(),(0,f.httpContextIntegration)(),(0,g.cultureContextIntegration)(),(0,p.browserSessionIntegration)()]}e.s(["forceLoad",0,function(){},"getDefaultIntegrations",0,A,"init",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===N.WINDOW.window)return!1;let e=N.WINDOW;if(e.nw)return!1;let t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;let n=(0,I.getLocationHref)();return!(N.WINDOW===N.WINDOW.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}()&&(b.DEBUG_BUILD&&(0,y.consoleSandbox)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),n=null==e.defaultIntegrations?A():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:(0,s.stackParserFromStackParserOptions)(e.stackParser||_.defaultStackParser),integrations:(0,a.getIntegrationsToSetup)({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||v.makeFetchTransport};return(0,o.setNormalizeStringifier)(T),(0,l.initAndBind)(c.BrowserClient,r)},"onLoad",0,function(e){e()}],110417)},407943,e=>{"use strict";var t=e.i(107912);function n(e,n,r,i){let a={filename:e,function:"<anonymous>"===n?t.UNKNOWN_FUNCTION:n,in_app:!0};return void 0!==r&&(a.lineno=r),void 0!==i&&(a.colno=i),a}let r=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,s=/at (.+?) ?\(data:(.+?),/,o=[30,e=>{let o=e.match(s);if(o)return{filename:`<data:${o[2]}>`,function:o[1]};let l=r.exec(e);if(l){let[,e,r,i]=l;return n(e,t.UNKNOWN_FUNCTION,+r,+i)}let c=i.exec(e);if(c){if(c[2]?.indexOf("eval")===0){let e=a.exec(c[2]);e&&(c[2]=e[1],c[3]=e[2],c[4]=e[3])}let[e,r]=S(c[1]||t.UNKNOWN_FUNCTION,c[2]);return n(r,e,c[3]?+c[3]:void 0,c[4]?+c[4]:void 0)}}],l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=[50,e=>{let r=l.exec(e);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){let e=c.exec(r[3]);e&&(r[1]=r[1]||"eval",r[3]=e[1],r[4]=e[2],r[5]="")}let e=r[3],i=r[1]||t.UNKNOWN_FUNCTION;return[i,e]=S(i,e),n(e,i,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}}],d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,p=[40,e=>{let r=d.exec(e);return r?n(r[2],r[1]||t.UNKNOWN_FUNCTION,+r[3],r[4]?+r[4]:void 0):void 0}],g=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,m=[10,e=>{let r=g.exec(e);return r?n(r[2],r[3]||t.UNKNOWN_FUNCTION,+r[1]):void 0}],f=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,h=[20,e=>{let r=f.exec(e);return r?n(r[5],r[3]||r[4]||t.UNKNOWN_FUNCTION,+r[1],+r[2]):void 0}],_=[o,u],v=(0,t.createStackParser)(..._),S=(e,n)=>{let r=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return r||i?[-1!==e.indexOf("@")?e.split("@")[0]:t.UNKNOWN_FUNCTION,r?`safari-extension:${n}`:`safari-web-extension:${n}`]:[e,n]};e.s(["chromeStackLineParser",0,o,"defaultStackLineParsers",0,_,"defaultStackParser",0,v,"geckoStackLineParser",0,u,"opera10StackLineParser",0,m,"opera11StackLineParser",0,h,"winjsStackLineParser",0,p])},942768,38016,e=>{"use strict";var t=e.i(467656),n=e.i(928133),r=e.i(328838),i=e.i(611188),a=e.i(512431),s=e.i(643142),o=e.i(336687),l=e.i(610822),c=e.i(679682),u=e.i(421955),d=e.i(443529),p=e.i(741656),g=e.i(221777),m=e.i(611462),f=e.i(364473),h=e.i(567692),_=e.i(739142),v=e.i(934581),S=e.i(365846),E=e.i(240909),T=e.i(984473),y=e.i(267049),I=e.i(58045),b=e.i(384617),N=e.i(845196),A=e.i(541119),R=e.i(964266);let O=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function D(){let e=T.WINDOW.navigator;return!!e?.userAgent&&O.test(e.userAgent)}let L={...t.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
5dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...A.defaultRequestInstrumentationOptions};function U(e,t,n){e.emit("startPageLoadSpan",t,n),(0,l.getCurrentScope)().setTransactionName(t.name);let r=e[P];return r&&e.emit("afterStartPageLoadSpan",r),r}function w(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i,url:r}),e.emit("startNavigationSpan",t,{isRedirect:i,url:r});let a=(0,l.getCurrentScope)();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...(0,T.getHttpRequestData)(),url:r}}),e[P]}function C(e){let t=T.WINDOW.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}function B(e){let t=T.WINDOW.performance?.getEntriesByType?.("navigation")[0],n=t?.serverTiming?.find(t=>t.name===e);return n?.description}let P="_sentry_idleSpan";function k(e,t){(0,_.addNonEnumerableProperty)(e,P,t)}e.s(["browserTracingIntegration",0,function(){let e,_,O=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"enableElementTiming"in O&&(0,n.consoleSandbox)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let M={name:void 0,source:void 0},x=T.WINDOW.document,{enableInp:W,enableLongTask:F,enableLongAnimationFrame:H,_experiments:{enableInteractions:$,enableStandaloneClsSpans:G,enableStandaloneLcpSpans:q},beforeStartSpan:j,idleTimeout:Y,finalTimeout:V,childSpanTimeout:z,markBackgroundSpan:J,traceFetch:K,traceXHR:X,trackFetchStreamPerformance:Q,shouldCreateSpanForRequest:Z,enableHTTPTimings:ee,ignoreResourceSpans:et,ignorePerformanceApiSpans:en,instrumentPageLoad:er,instrumentNavigation:ei,detectRedirects:ea,linkPreviousTrace:es,consistentTraceSampling:eo,enableReportPageLoaded:el,onRequestSpanStart:ec,onRequestSpanEnd:eu}={...L,...O},ed=D();function ep(e,n){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=arguments.length>3?arguments[3]:void 0,c="pageload"===n.op,u=n.name,d=j?j(n):n,v=(0,a.parseStringToURLObject)(o||(0,r.getLocationHref)()),E={...v?.pathname&&{[R.URL_PATH]:v.pathname},...v&&!(0,a.isURLObjectRelative)(v)&&{[R.URL_FULL]:v.href},...d.attributes};if(u!==d.name&&(E[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom"),d.attributes=E,!s){let e=(0,i.dateTimestampInSeconds)();(0,g.startInactiveSpan)({...d,startTime:e}).end(e);return}M.name=d.name,M.source=E[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let T=(0,t.startIdleSpan)(d,{idleTimeout:Y,finalTimeout:V,childSpanTimeout:z,disableAutoFinish:c,beforeSpanEnd:t=>{(0,S.addPerformanceEntries)(t,{ignoreResourceSpans:et,ignorePerformanceApiSpans:en,spanStreamingEnabled:(0,f.hasSpanStreamingEnabled)(e)}),k(e,void 0);let n=(0,l.getCurrentScope)(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:T.spanContext().traceId,sampled:(0,p.spanIsSampled)(T),dsc:(0,h.getDynamicSamplingContextFromSpan)(t)}),c&&(_=void 0)},trimIdleSpanEndTimestamp:!el});function y(){x&&["interactive","complete"].includes(x.readyState)&&(e.emit("idleSpanEnableAutoFinish",T),x.removeEventListener("readystatechange",y))}c&&el&&(_=T),k(e,T),c&&!el&&x&&(x.addEventListener("readystatechange",y),y())}return{name:"BrowserTracing",setup(t){if(ed){E.DEBUG_BUILD&&n.debug.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}if((0,s.registerSpanErrorInstrumentation)(),H&&o.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?(0,S.startTrackingLongAnimationFrames)():F&&(0,S.startTrackingLongTasks)(),$&&(0,S.startTrackingInteractions)(),ea&&x){let t=()=>{e=(0,i.timestampInSeconds)()};addEventListener("click",t,{capture:!0}),addEventListener("keydown",t,{capture:!0,passive:!0})}function r(){let e=t[P];e&&!(0,p.spanToJSON)(e).timestamp&&(E.DEBUG_BUILD&&n.debug.log(`[Tracing] Finishing current active span with op: ${(0,p.spanToJSON)(e).op}`),e.setAttribute(m.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),e.end())}t.on("startNavigationSpan",(i,a)=>
5{if((0,l.getClient)()!==t)return;if(a?.isRedirect){E.DEBUG_BUILD&&n.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),ep(t,{op:"navigation.redirect",...i},!1,a.url);return}e=void 0,r(),(0,l.getIsolationScope)().setPropagationContext({traceId:(0,u.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,c.hasSpansEnabled)()?void 0:(0,u.generateSpanId)()});let s=(0,l.getCurrentScope)();s.setPropagationContext({traceId:(0,u.generateTraceId)(),sampleRand:Math.random(),propagationSpanId:(0,c.hasSpansEnabled)()?void 0:(0,u.generateSpanId)()}),s.setSDKProcessingMetadata({normalizedRequest:void 0}),ep(t,{op:"navigation",...i,parentSpan:null,forceTransaction:!0},!0,a?.url)}),t.on("startPageLoadSpan",function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,l.getClient)()!==t)return;r();let i=n.sentryTrace||C("sentry-trace")||B("sentry-trace"),a=n.baggage||C("baggage")||B("baggage"),s=(0,d.propagationContextFromHeaders)(i,a),o=(0,l.getCurrentScope)();o.setPropagationContext(s),(0,c.hasSpansEnabled)()||(o.getPropagationContext().propagationSpanId=(0,u.generateSpanId)()),o.setSDKProcessingMetadata({normalizedRequest:(0,T.getHttpRequestData)()}),ep(t,{op:"pageload",...e})}),t.on("endPageloadSpan",()=>{el&&_&&(_.setAttribute(m.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),_.end())})},afterAllSetup(s){var o,l,c,u,d;let g;if(ed)return;s.addIntegration&&!s.getIntegrationByName?.(I.WEB_VITALS_INTEGRATION_NAME)&&s.addIntegration((0,I.webVitalsIntegration)({ignore:W?[]:["inp"],_experiments:{enableStandaloneClsSpans:G,enableStandaloneLcpSpans:q}}));let f=(0,r.getLocationHref)();if("off"!==es&&(0,N.linkTraces)(s,{linkPreviousTrace:es,consistentTraceSampling:eo}),T.WINDOW.location){if(er){let e=(0,i.browserPerformanceTimeOrigin)();U(s,{name:T.WINDOW.location.pathname,startTime:e?e/1e3:void 0,attributes:{[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[m.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}ei&&(0,v.addHistoryInstrumentationHandler)(t=>{var n,r;let o,l,{to:c,from:u}=t;if(void 0===u&&f?.indexOf(c)!==-1){f=void 0;return}f=void 0;let d=(0,a.parseStringToURLObject)(c),g=s[P],h=g&&ea&&(n=g,r=e,o=(0,p.spanToJSON)(n),!((l=(0,i.dateTimestampInSeconds)())-o.start_timestamp>1.5)&&(!r||!(l-r<=1.5)));w(s,{name:d?.pathname||T.WINDOW.location.pathname,attributes:{[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[m.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:c,isRedirect:h})})}J&&(0,b.registerBackgroundTabDetection)(),$&&(o=s,l=Y,c=V,u=z,d=M,T.WINDOW.document&&addEventListener("click",()=>{let e="ui.action.click",r=o[P];if(r&&["navigation","pageload"].includes((0,p.spanToJSON)(r).op)){E.DEBUG_BUILD&&n.debug.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(g&&(g.setAttribute(m.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),g.end(),g=void 0),!d.name){E.DEBUG_BUILD&&n.debug.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}g=(0,t.startIdleSpan)({name:d.name,op:e,attributes:{[m.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:d.source||"url"}},{idleTimeout:l,finalTimeout:c,childSpanTimeout:u})},{capture:!0})),(0,A.instrumentOutgoingRequests)(s,{traceFetch:K,traceXHR:X,tracePropagationTargets:s.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:Z,enableHTTPTimings:ee,onRequestSpanStart:ec,onRequestSpanEnd:eu}),Q&&s.addIntegration((0,y.fetchStreamPerformanceIntegration)())}}},"isBotUserAgent",0,D,"startBrowserTracingNavigationSpan",0,w,"startBrowserTracingPageLoadSpan",0,U],942768);var M=e.i(601190);e.s(["getAbsoluteUrl",0,function(e){try{return new URL(e,M.WINDOW.location.origin).toString()}catch{return e}}],38016)},541119,e=>{"use strict";var t=e.i(804298),n=e.i(218879),r=e.i(512431),i=e.i(741656),a=e.i(364473),s=e.i(611188),o=e.i(679682),l=e.i(771467),c=e.i(610822),u=e.i(221777),d=e.i(611462),p=e.i(547620),g=e.i(328838),m=e.i(238262),f=e.i(254877),h=e.i(371303),_=e.i(39561),v=e.i(52291),S=e.i(586840),E=e.i(984473);function T(e){try{return new URL(e,E.WINDOW.location.origin).href}catch{return}}function y(e){try{return new Headers(e)}catch{return}}var I=e.i(964266);let b={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function N(e,t){let{url:n}=(0,i.spanToJSON)(e).data;if(!n||"string"!=typeof n)return;let r=()=>void setTimeout(o);if((0,a.hasSpanStreamingEnabled)(t)){let t=e.end.bind(e);e.end=e=>{let n=e??(0,s.timestampInSeconds)(),i=!1,a=()=>{i||(i=!0,setTimeout(o),t(n),clearTimeout(l))};r=a;let l=setTimeout(a,300)}}let o=(0,_.addPerformanceInstrumentationHandler)("resource",t=>{let{entries:i}=t;
5i.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(n)&&(e.setAttributes((0,v.resourceTimingToSpanAttributes)(t)),r())})})}e.s(["defaultRequestInstrumentationOptions",0,b,"instrumentOutgoingRequests",0,function(e,s){let{traceFetch:_,traceXHR:v,shouldCreateSpanForRequest:E,enableHTTPTimings:A,tracePropagationTargets:R,onRequestSpanStart:O,onRequestSpanEnd:D}={...b,...s},L="function"==typeof E?E:e=>!0,U=e=>(function(e,t){let n=(0,g.getLocationHref)();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?(0,m.stringMatchesSomePattern)(r.toString(),t)||a&&(0,m.stringMatchesSomePattern)(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?(0,m.stringMatchesSomePattern)(e,t):n}})(e,R),w={},C=e.getOptions().propagateTraceparent;_&&(0,t.addFetchInstrumentationHandler)(t=>{let i=(0,n.instrumentFetchRequest)(t,L,U,w,{propagateTraceparent:C,onRequestSpanEnd:D});if(i){let n=T(t.fetchData.url),a=n?(0,r.parseUrl)(n).host:void 0,s=n?(0,r.stripDataUrlContent)(n):void 0;i.setAttributes({[I.HTTP_URL]:s,[I.URL_FULL]:s,"server.address":a}),A&&N(i,e),O?.(i,{headers:t.headers})}}),v&&(0,h.addXhrInstrumentationHandler)(t=>{let n=function(e,t,n,s,g,m){let _=e.xhr,v=_?.[h.SENTRY_XHR_DATA_KEY];if(!_||_.__sentry_own_request__||!v)return;let{url:E,method:b}=v,N=(0,o.hasSpansEnabled)()&&t(E);if(e.endTimestamp){let t=_.__sentry_xhr_span_id__;if(!t)return;let n=s[t];n&&(N&&void 0!==v.status_code&&((0,l.setHttpStatus)(n,v.status_code),n.end(),m?.(n,{headers:y((0,S.parseXhrResponseHeaders)(_)),error:e.error})),delete s[t]);return}let A=T(E),R=A?(0,r.parseUrl)(A):(0,r.parseUrl)(E),O=A?(0,r.stripDataUrlContent)(A):void 0,D=(0,r.stripDataUrlContent)((0,r.stripUrlQueryAndFragment)(E)),L=(0,c.getClient)(),U=!!(0,i.getActiveSpan)(),w=U||!!L&&(0,a.hasSpanStreamingEnabled)(L),C=N&&w?(0,u.startInactiveSpan)({name:`${b} ${D}`,attributes:{url:(0,r.stripDataUrlContent)(E),type:"xhr","http.method":b,"http.url":O,[I.URL_FULL]:O,"server.address":R?.host,[d.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[d.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...R?.search&&{"http.query":R?.search},...R?.hash&&{"http.fragment":R?.hash}}}):new p.SentryNonRecordingSpan,B=(0,u.spanIsIgnored)(C)&&U?void 0:C;return N&&!w&&L?.recordDroppedEvent("no_parent_span","span"),_.__sentry_xhr_span_id__=C.spanContext().spanId,s[_.__sentry_xhr_span_id__]=C,n(E)&&function(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=(0,f.getTraceData)({span:t,propagateTraceparent:n});r&&function(e,t,n,r){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),r&&!i?.traceparent&&e.setRequestHeader("traceparent",r),n){let t=i?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,i,a)}(_,(0,o.hasSpansEnabled)()&&w?B:void 0,g),L&&L.emit("beforeOutgoingRequestSpan",C,e),C}(t,L,U,w,C,D);n&&(A&&N(n,e),O?.(n,{headers:y(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}],541119)},273085,321358,e=>{"use strict";var t=e.i(463230),n=e.i(646752),r=e.i(522008),i=e.i(928133),a=e.i(816517),s=e.i(601190);let o={};function l(e){let t=o[e];if(t)return t;let n=s.WINDOW[e];if((0,r.isNativeFunction)(n))return o[e]=n.bind(s.WINDOW);let l=s.WINDOW.document;if(l&&"function"==typeof l.createElement)try{let t=l.createElement("iframe");t.hidden=!0,l.head.appendChild(t);let r=t.contentWindow;r?.[e]&&(n=r[e]),l.head.removeChild(t)}catch(t){a.DEBUG_BUILD&&i.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?o[e]=n.bind(s.WINDOW):n}function c(e){o[e]=void 0}e.s(["clearCachedImplementation",0,c,"getNativeImplementation",0,l,"setTimeout",0,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l("setTimeout")(...t)}],321358),e.s(["makeFetchTransport",0,function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l("fetch"),i=0,a=0;async function s(t){let n=t.body.length;i+=n,a++;
5let s={body:t.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:i<=6e4&&a<15,...e.fetchOptions};try{let t=await r(e.url,s);return{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}}catch(e){throw c("fetch"),e}finally{i-=n,a--}}return(0,t.createTransport)(e,s,(0,n.makePromiseBuffer)(e.bufferSize||40))}],273085)},661824,e=>{"use strict";var t=e.i(708820);function n(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}e.s(["getEnvelopeEndpointWithUrlEncodedAuth",0,function(e,t,r){let i;return t||`${n(e)}${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()}`},"getReportDialogEndpoint",0,function(e,r){let i=(0,t.makeDsn)(e);if(!i)return"";let a=`${n(i)}embed/error-page/`,s=`dsn=${(0,t.dsnToString)(i)}`;for(let e in r)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=r.user;if(!e)continue;e.name&&(s+=`&name=${encodeURIComponent(e.name)}`),e.email&&(s+=`&email=${encodeURIComponent(e.email)}`)}else s+=`&${encodeURIComponent(e)}=${encodeURIComponent(r[e])}`;return`${a}?${s}`}])},60627,e=>{"use strict";var t=e.i(610822),n=e.i(928133),r=e.i(611188);e.s(["addBreadcrumb",0,function(e,i){let a=(0,t.getClient)(),s=(0,t.getIsolationScope)();if(!a)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:l=100}=a.getOptions();if(l<=0)return;let c={timestamp:(0,r.dateTimestampInSeconds)(),...e},u=o?(0,n.consoleSandbox)(()=>o(c,i)):c;null!==u&&(a.emit&&a.emit("beforeAddBreadcrumb",u,i),s.addBreadcrumb(u,l))}])},406419,705447,e=>{"use strict";var t=e.i(661824),n=e.i(240999),r=e.i(610822),i=e.i(837027),a=e.i(103847),s=e.i(97556),o=e.i(446150),l=e.i(756482),c=e.i(100281),u=e.i(567692),d=e.i(380941),p=e.i(210696),g=e.i(463230),m=e.i(100500),f=e.i(611188),h=e.i(928133),_=e.i(708820),v=e.i(207846),S=e.i(464907),E=e.i(656213),T=e.i(101252),y=e.i(635577),I=e.i(27530),b=e.i(646752),N=e.i(974825),A=e.i(614800),R=e.i(741656),O=e.i(665313),D=e.i(611462);let L=["forwarded","-ip","remote-","via","-user"];e.s(["FILTERED_VALUE",0,"[Filtered]","PII_HEADER_SNIPPETS",0,L,"SENSITIVE_COOKIE_NAME_SNIPPETS",0,[".sid","sessid","remember","oidc","pkce","nonce","__secure-","__host-","awsalb","awselb","akamai","__stripe","cognito","firebase","supabase","sb-","mfa","2fa"],"SENSITIVE_KEY_SNIPPETS",0,["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"]],705447);let U={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},w="Not capturing exception because it's already been captured.",C="Discarded session because of missing or non-string release",B=Symbol.for("SentryInternalError"),P=Symbol.for("SentryDoNotSendEventError");function k(e){return{message:e,[B]:!0}}function M(e){return{message:e,[P]:!0}}function x(e){return(0,S.isObjectLike)(e)&&B in e}function W(e){return(0,S.isObjectLike)(e)&&P in e}function F(e,t,n,r,i){let a,s=0,o=!1;e.on(n,()=>{s=0,clearTimeout(a),o=!1}),e.on(t,t=>{if((s+=r(t))>=8e5)i(e);else if(!o){let t=e.getOptions()._flushInterval??5e3;t>0&&(o=!0,a=(0,O.safeUnref)(setTimeout(()=>{i(e)},t)))}}),e.on("flush",()=>{i(e)})}function H(e){return"replay_event"===e?"replay":e||"error"}function $(e){return void 0===e.type}function G(e){return"transaction"===e.type}function q(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+Y(e.attributes)}function j(e){let t=0;return e.message&&(t+=2*e.message.length),t+Y(e.attributes)}function Y(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*V(e[0]):(0,S.isPrimitive)(e)?t+=V(e):t+=100}),t}function V(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}e.s(["Client",0,class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=(0,b.makePromiseBuffer)(e.transportOptions?.bufferSize??g.DEFAULT_TRANSPORT_BUFFER_SIZE),this._dataCollection=function(e){let t=null!=e.dataCollection?U:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
5,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:L},httpHeaders:{request:{deny:L},response:{deny:L}},httpBodies:[],urlQueryParams:{deny:L},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:n.httpHeaders?.request??t.httpHeaders.request,response:n.httpHeaders?.response??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}(e),e.dsn?this._dsn=(0,_.makeDsn)(e.dsn):i.DEBUG_BUILD&&h.debug.warn("No DSN provided, client will not send events."),this._dsn){const n=(0,t.getEnvelopeEndpointWithUrlEncodedAuth)(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:n})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&F(this,"afterCaptureLog","flushLogs",j,o._INTERNAL_flushLogsBuffer),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&F(this,"afterCaptureMetric","flushMetrics",q,l._INTERNAL_flushMetricsBuffer)}captureException(e,t,n){let r=(0,T.uuid4)();if((0,T.checkOrSetAlreadyCaught)(e))return i.DEBUG_BUILD&&h.debug.log(w),r;let a={event_id:r,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n)).then(e=>e),"error"),a.event_id}captureMessage(e,t,n,r){let i={event_id:(0,T.uuid4)(),...n},a=(0,S.isParameterizedString)(e)?e:String(e),s=(0,S.isPrimitive)(e),o=s?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>o.then(e=>this._captureEvent(e,i,r)),s?"unknown":"error"),i.event_id}captureEvent(e,t,n){let r=(0,T.uuid4)();if(t?.originalException&&(0,T.checkOrSetAlreadyCaught)(t.originalException))return i.DEBUG_BUILD&&h.debug.log(w),r;let a={event_id:r,...t},s=e.sdkProcessingMetadata||{},o=s.capturedSpanScope,l=s.capturedSpanIsolationScope,c=H(e.type);return this._process(()=>this._captureEvent(e,a,o||n,l),c),a.event_id}captureSession(e){this.sendSession(e),(0,c.updateSession)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit("flush"),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(e=>{let{name:t}=e;return t.startsWith("Spotlight")}))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),(0,s.setupIntegration)(this,e,this._integrations),t||(0,s.afterSetupIntegrations)(this,[e])}sendEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.emit("beforeSendEvent",e,t);let n=(0,p.extractGenAiSpansFromEvent)(e,this),r=(0,a.createEventEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=(0,m.addItemToEnvelope)(r,(0,m.createAttachmentEnvelopeItem)(e));n&&(r=(0,m.addItemToEnvelope)(r,n)),this.sendEnvelope(r).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=n.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){i.DEBUG_BUILD&&h.debug.warn(C);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){i.DEBUG_BUILD&&h.debug.warn(C);return}e.release=e.release||t,e.environment=e.environment||r}
5this.emit("beforeSendSession",e);let s=(0,a.createSessionEnvelope)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(this._options.sendClientReports){let r=`${e}:${t}`;i.DEBUG_BUILD&&h.debug.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t(...n)};return n.add(r),()=>{n.delete(r)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let i=this._hooks[e];i&&i.forEach(e=>e(...n))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return i.DEBUG_BUILD&&h.debug.error("Error while sending envelope:",e),{}}return i.DEBUG_BUILD&&h.debug.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,s.setupIntegrations)(this,e),(0,s.afterSetupIntegrations)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception?.values;if(i){for(let e of(r=!0,n=!1,i))if(e.mechanism?.handled===!1){n=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&n)&&((0,c.updateSession)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,i){let a=this.getOptions(),s=this.getIntegrationNames();return!t.integrations&&s.length&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||i.setLastEventId(e.event_id||t.event_id),(0,I.prepareEvent)(a,e,t,n,this,i).then(e=>
5(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...(0,r.getTraceContextFromScope)(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,u.getDynamicSamplingContextFromScope)(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,r.getCurrentScope)(),a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,r.getIsolationScope)();return i.DEBUG_BUILD&&$(e)&&h.debug.log(`Captured error event \`${(0,v.getPossibleEventMessages)(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,a).then(e=>e.event_id,e=>{i.DEBUG_BUILD&&(W(e)?h.debug.log(e.message):x(e)?h.debug.warn(e.message):h.debug.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,s=G(e),o=$(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===a?void 0:(0,y.parseSampleRate)(a),p=H(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",p),M("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,S.isThenable)(e))return e.then(e=>{if(!(0,S.isPlainObject)(e)&&null!==e)throw k(n);return e},e=>{throw k(`${t} rejected with ${e}`)});if(!(0,S.isPlainObject)(e)&&null!==e)throw k(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:s}=t,o=!(0,d.isStreamedBeforeSendSpanCallback)(t.beforeSendSpan)&&t.beforeSendSpan,l=n;if($(l)&&i)return i(l,r);if(G(l)){if(o||s){let t=function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:s,op:o}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:o,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:s?.[D.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:s?.[D.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}(l);if(s?.length&&(0,A.shouldIgnoreSpan)({description:t.description,op:t.op,attributes:t.data},s))return null;if(o){let e=o(t);if(e)l=(0,E.merge)(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[D.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[D.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements});else(0,R.showSpanDropWarning)()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(s?.length&&(0,A.shouldIgnoreSpan)({description:e.description,op:e.op,attributes:e.data},s)){(0,A.reparentChildSpans)(n,e);continue}if(o){let n=o(e);n?t.push(n):((0,R.showSpanDropWarning)(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(a){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(l,r)}}return l}(this,i,e,t),c)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",p),s){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw M(`${c} returned \`null\`, will not send event.`)}let l=n.getSession()||r.getSession();if(o&&l&&this._updateSessionFromEvent(l,i),o&&"number"==typeof u&&(0,N.safeMathRandom)()>u)throw this.recordDroppedEvent("sample_rate","error"),M(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(s){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let d=i.transaction_info;return s&&d&&i.transaction!==e.transaction&&(i.transaction_info={...d,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(W(e)||x(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),k(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 6Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===b.SENTRY_BUFFER_FULL_ERROR&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(e=>{let[t,n]=e,[r,i]=t.split(":");return{reason:r,category:i,quantity:n}})}_flushOutcomes(){var e;let t;i.DEBUG_BUILD&&h.debug.log("Flushing outcomes...");let n=this._clearOutcomes();if(0===n.length){i.DEBUG_BUILD&&h.debug.log("No outcomes to send");return}if(!this._dsn){i.DEBUG_BUILD&&h.debug.log("No dsn provided, will not send outcomes");return}i.DEBUG_BUILD&&h.debug.log("Sending outcomes:",n);let r=(e=this._options.tunnel&&(0,_.dsnToString)(this._dsn),t=[{type:"client_report"},{timestamp:(0,f.dateTimestampInSeconds)(),discarded_events:n}],(0,m.createEnvelope)(e?{dsn:e}:{},[t]));this.sendEnvelope(r)}}],406419)},218879,e=>{"use strict";var t=e.i(964266),n=e.i(610822),r=e.i(611462),i=e.i(741656),a=e.i(771467),s=e.i(464907),o=e.i(679682),l=e.i(547620),c=e.i(399398),u=e.i(364473),d=e.i(221777),p=e.i(254877),g=e.i(512431);function m(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(c.SENTRY_BAGGAGE_KEY_PREFIX))}function f(e,n,i,a){let s={url:(0,g.stripDataUrlContent)(e),type:"fetch","http.method":i,[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:a,[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return n&&((0,g.isURLObjectRelative)(n)||(s[t.HTTP_URL]=(0,g.stripDataUrlContent)(n.href),s[t.URL_FULL]=(0,g.stripDataUrlContent)(n.href),s["server.address"]=n.host),n.search&&(s["http.query"]=n.search),n.hash&&(s["http.fragment"]=n.hash)),s}e.s(["instrumentFetchRequest",0,function(e,t,r,c,h){if(!e.fetchData)return;let{method:_,url:v}=e.fetchData,S=(0,o.hasSpansEnabled)()&&t(v);if(e.endTimestamp){var E,T,y;let t,n=e.fetchData.__span;if(!n)return;let r=c[n];r&&(S&&(function(e,t){if(t.response){(0,a.setHttpStatus)(e,t.response.status);let n=t.response?.headers?.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(r,e),E=r,T=e,t="object"==typeof(y=h)&&null!==y?y.onRequestSpanEnd:void 0,t?.(E,{headers:T.response?.headers,error:T.error})),delete c[n]);return}let{spanOrigin:I="auto.http.browser",propagateTraceparent:b=!1}="object"==typeof h?h:{spanOrigin:h},N=(0,n.getClient)(),A=!!(0,i.getActiveSpan)(),R=A||!!N&&(0,u.hasSpanStreamingEnabled)(N),O=S&&R?(0,d.startInactiveSpan)(function(e,t,n){if(e.startsWith("data:")){let r=(0,g.stripDataUrlContent)(e);return{name:`${t} ${r}`,attributes:f(e,void 0,t,n)}}let r=(0,g.parseStringToURLObject)(e),i=r?(0,g.getSanitizedUrlStringFromUrlObject)(r):e;return{name:`${t} ${i}`,attributes:f(e,r,t,n)}}(v,_,I)):new l.SentryNonRecordingSpan,D=(0,d.spanIsIgnored)(O)&&A?void 0:O;if(S&&!R&&N?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=O.spanContext().spanId,c[O.spanContext().spanId]=O,r(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){var i,a;let o=(0,p.getTraceData)({span:n,propagateTraceparent:r}),l=o["sentry-trace"],c=o.baggage,u=o.traceparent;if(!l)return;let d=t.headers||((0,s.isRequest)(e)?e.headers:void 0);if(!d)return{"sentry-trace":l,...c&&{baggage:c},...u&&{traceparent:u}};if(i=d,"u">typeof Headers&&(0,s.isInstanceOf)(i,Headers)){let e=new Headers(d);if(e.get("sentry-trace")||e.set("sentry-trace",l),r&&u&&!e.get("traceparent")&&e.set("traceparent",u),c){let t=e.get("baggage");t?m(t)||e.set("baggage",`${t},${c}`):e.set("baggage",c)}return e}if(Array.isArray(a=d)&&a.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])){let e=[...d];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",l]),r&&u&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",u]);let t=d.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&m(e[1]));return c&&!t&&e.push(["baggage",c]),e}{let e="sentry-trace"in d?d["sentry-trace"]:void 0,t="traceparent"in d?d.traceparent:void 0,n="baggage"in d?d.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],a=n&&(Array.isArray(n)?n.find(e=>m(e)):m(n));c&&!a&&i.push(c);let s=Object.assign({},d,{"sentry-trace":e??l,...i.length>0&&{baggage:i.join(",")}});return r&&u&&!t&&(s.traceparent=u),s}}(t,n,(0,o.hasSpansEnabled)()&&R?D:void 0,b);r&&(e.args[1]=n,n.headers=r)}if(N){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};N.emit("beforeOutgoingRequestSpan",O,t)}return O}])},896901,49817,e=>{"use strict";var t=e.i(837027),n=e.i(928133),r=e.i(739142),i=e.i(238262),a=e.i(336687),s=e.i(106668);let o=new Set([]),l=new Set;function c(){"console"in a.GLOBAL_OBJ&&n.CONSOLE_LEVELS.forEach(function(e){!l.has(e)&&e in a.GLOBAL_OBJ.console&&(l.add(e),(0,r.fill)(a.GLOBAL_OBJ.console,e,function(r){return n.originalConsoleMethods[e]=r,function(){for(var r=arguments.length,l=Array(r),c=0;c<r;c++)l[c]=arguments[c];let u=l[0],d=n.originalConsoleMethods[e],p=o.size&&"string"==typeof u&&(0,i.stringMatchesSomePattern)(u,o);p||(0,s.triggerHandlers)("console",{args:l,level:e}),(!p||t.DEBUG_BUILD&&n.debug.isEnabled())&&d?.apply(a.GLOBAL_OBJ.console,l)}}))})}e.s(["addConsoleInstrumentationHandler",0,function(e){let t="console",n=(0,s.addHandler)(t,e);return(0,s.maybeInstrument)(t,c),n}],896901),e.s(["severityLevelFromString",0,function(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}],49817)},804298,e=>{"use strict";var t=e.i(610822),n=e.i(464907),r=e.i(739142),i=e.i(522008),a=e.i(611188),s=e.i(336687),o=e.i(106668);function l(e){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(!l||(0,i.supportsNativeFetch)())&&(0,r.fill)(s.GLOBAL_OBJ,"fetch",function(i){return function(){for(var l=arguments.length,c=Array(l),u=0;u<l;u++)c[u]=arguments[u];let g=Error(),{method:m,url:f}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:p(t),method:d(r,"method")?String(r.method).toUpperCase():(0,n.isRequest)(t)&&d(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:p(t),method:d(t,"method")?String(t.method).toUpperCase():"GET"}}(c),h={args:c,fetchData:{method:m,url:f},startTimestamp:1e3*(0,a.timestampInSeconds)(),virtualError:g,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((0,n.isRequest)(t))return new Headers(t.headers)}catch{}}(c)};return e||(0,o.triggerHandlers)("fetch",{...h}),i.apply(s.GLOBAL_OBJ,c).then(async t=>(e?e(t):(0,o.triggerHandlers)("fetch",{...h,endTimestamp:1e3*(0,a.timestampInSeconds)(),response:t}),t),e=>{(0,o.triggerHandlers)("fetch",{...h,endTimestamp:1e3*(0,a.timestampInSeconds)(),error:e}),(0,n.isError)(e)&&void 0===e.stack&&(e.stack=g.stack,(0,r.addNonEnumerableProperty)(e,"framesToPop",1));let i=(0,t.getClient)(),s=i?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==s&&(0,n.isError)(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(h.fetchData.url).host;"always"===s?e.message=`${e.message} (${t})`:(0,r.addNonEnumerableProperty)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function c(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function u(e){let t;try{t=e.clone()}catch{return}c(t,()=>{(0,o.triggerHandlers)("fetch-body-resolved",{endTimestamp:1e3*(0,a.timestampInSeconds)(),response:e})})}function d(e,t){return(0,n.isObjectLike)(e)&&!!e[t]}function p(e){return"string"==typeof e?e:e?d(e,"url")?e.url:e.toString?e.toString():"":""}e.s(["addFetchEndInstrumentationHandler",0,function(e){let t="fetch-body-resolved",n=(0,o.addHandler)(t,e);return(0,o.maybeInstrument)(t,()=>l(u)),n},"addFetchInstrumentationHandler",0,function(e,t){let n="fetch",r=(0,o.addHandler)(n,e);return(0,o.maybeInstrument)(n,()=>l(void 0,t)),r}])},106668,e=>{"use strict";var t=e.i(837027),n=e.i(928133),r=e.i(107912);let i={},a={};e.s(["addHandler",0,function(e,t){return i[e]=i[e]||[],i[e].push(t),()=>{let n=i[e];if(n){let e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},"maybeInstrument",0,function(e,r){if(!a[e]){a[e]=!0;try{r()}catch(r){t.DEBUG_BUILD&&n.debug.error(`Error while instrumenting ${e}`,r)}}},"triggerHandlers",0,function(e,a){let s=e&&i[e];if(s)for(let i of s)try{i(a)}catch(a){t.DEBUG_BUILD&&n.debug.error(`Error while triggering instrumentation handler. 7Type: ${e} 8Name: ${(0,r.getFunctionName)(i)} 9Error:`,a)}}])},97556,e=>{"use strict";var t=e.i(610822),n=e.i(837027),r=e.i(928133);let i=[];function a(e,t,a){if(a[t.name]){n.DEBUG_BUILD&&r.debug.log(`Integration skipped because it was already installed: ${t.name}`);return}if(a[t.name]=t,i.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),i.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{let r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),n.DEBUG_BUILD&&r.debug.log(`Integration installed: ${t.name}`)}e.s(["addIntegration",0,function(e){let i=(0,t.getClient)();if(!i){n.DEBUG_BUILD&&r.debug.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}i.addIntegration(e)},"afterSetupIntegrations",0,function(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)},"defineIntegration",0,function(e){return e},"getIntegrationsToSetup",0,function(e){let t,n,r=e.defaultIntegrations||[],i=e.integrations;
9if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(i))t=[...r,...i];else if("function"==typeof i){let e=i(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)},"setupIntegration",0,a,"setupIntegrations",0,function(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&a(e,t,n)}),n}])},630840,e=>{"use strict";var t=e.i(610822),n=e.i(97556),r=e.i(611462),i=e.i(741656);let a=(0,n.defineIntegration)(()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{let n=(0,t.getCurrentScope)().getScopeData(),a=(0,t.getIsolationScope)().getScopeData(),s=n.conversationId||a.conversationId;if(s){let{op:t,data:n,description:a}=(0,i.spanToJSON)(e);if(!t?.startsWith("gen_ai.")&&!n["ai.operationId"]&&!a?.startsWith("ai."))return;e.setAttribute(r.GEN_AI_CONVERSATION_ID_ATTRIBUTE,s)}})}}));e.s(["conversationIdIntegration",0,a])},857273,e=>{"use strict";var t=e.i(837027),n=e.i(97556),r=e.i(928133),i=e.i(107912);let a=(0,n.defineIntegration)(()=>{let e;return{name:"Dedupe",processEvent(n){if(n.type)return n;try{var i,a,c,u,d,p;let g,m,f,h;if(i=n,(a=e)&&(c=i,u=a,g=c.message,m=u.message,(g||m)&&(!g||m)&&(g||!m)&&g===m&&o(c,u)&&s(c,u)&&1||(d=i,p=a,f=l(p),h=l(d),f&&h&&f.type===h.type&&f.value===h.value&&o(d,p)&&s(d,p))))return t.DEBUG_BUILD&&r.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=n}}});function s(e,t){let n=(0,i.getFramesFromEvent)(e),r=(0,i.getFramesFromEvent)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function o(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch{return!1}}function l(e){return e.exception?.values?.[0]}e.s(["dedupeIntegration",0,a])},948215,207846,889015,e=>{"use strict";var t=e.i(837027),n=e.i(97556),r=e.i(928133);function i(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}e.s(["getPossibleEventMessages",0,i],207846);var a=e.i(101252),s=e.i(238262);let o=[/^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$/],l=(0,n.defineIntegration)(function(){let e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"EventFilters",setup(t){e=u(n,t.getOptions())},processEvent:(o,l,c)=>(e||(e=u(n,c.getOptions())),!function(e,n){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&(0,s.stringMatchesSomePattern)(n,t)}(e,n.ignoreTransactions))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 10Event: ${(0,a.getEventDescription)(e)}`),!0}else{var o,l,c;if(o=e,l=n.ignoreErrors,l?.length&&i(o).some(e=>(0,s.stringMatchesSomePattern)(e,l)))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 11Event: ${(0,a.getEventDescription)(e)}`),!0;if(c=e,c.exception?.values?.length&&!c.message&&!c.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to not having an error message, error type or stacktrace. 12Event: ${(0,a.getEventDescription)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=d(e);return!!n&&(0,s.stringMatchesSomePattern)(n,t)}(e,n.denyUrls))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to being matched by \`denyUrls\` option. 13Event: ${(0,a.getEventDescription)(e)}. 14Url: ${d(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=d(e);return!n||(0,s.stringMatchesSomePattern)(n,t)}(e,n.allowUrls))return t.DEBUG_BUILD&&r.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option. 15Event: ${(0,a.getEventDescription)(e)}. 16Url: ${d(e)}`),!0}return!1}(o,e)?o:null)}}),c=(0,n.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...l(e),name:"InboundFilters"}});function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:o],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function d(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return t.DEBUG_BUILD&&r.debug.error(`Cannot extract url for event ${(0,a.getEventDescription)(e)}`),null}}
16e.s(["eventFiltersIntegration",0,l,"inboundFiltersIntegration",0,c],948215);var p=e.i(610822),g=e.i(739142);let m=new WeakMap,f=(0,n.defineIntegration)(()=>({name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(){let t;for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];let a=(0,g.getOriginalFunction)(this);try{m.has((0,p.getClient)())&&void 0!==a&&(t=a)}catch{}return e.apply(t??this,r)}}catch{}},setup(e){m.set(e,!0)}}));e.s(["functionToStringIntegration",0,f],889015)},766533,e=>{"use strict";var t=e.i(97556);let n=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r="",i=!1;for(let e=t.length-1;e>=-1&&!i;e--){let n=e>=0?t[e]:"/";n&&(r=`${n}/${r}`,i="/"===n.charAt(0))}return r=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift("..");return e})(r.split("/").filter(e=>!!e),!i).join("/"),(i?"/":"")+r||"."}function i(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}var a=e.i(336687);let s=(0,t.defineIntegration)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.root,s=e.prefix||"app:///",o="window"in a.GLOBAL_OBJ&&!!a.GLOBAL_OBJ.window,l=e.iteratee||function(e){let{isBrowser:t,root:a,prefix:s}=e;return e=>{if(!e.filename)return e;let o=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),l=/^\//.test(e.filename);if(t){if(a){let t=e.filename;0===t.indexOf(a)&&(e.filename=t.replace(a,s))}}else if(o||l){let t,l,c=o?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,u=a?function(e,t){e=r(e).slice(1),t=r(t).slice(1);let n=i(e.split("/")),a=i(t.split("/")),s=Math.min(n.length,a.length),o=s;for(let e=0;e<s;e++)if(n[e]!==a[e]){o=e;break}let l=[];for(let e=o;e<n.length;e++)l.push("..");return(l=l.concat(a.slice(o))).join("/")}(a,c):(t=c.length>1024?`<truncated>${c.slice(-1024)}`:c,(l=n.exec(t))?l.slice(1):[])[2]||"";e.filename=`${s}${u}`}return e}}({isBrowser:o,root:t,prefix:s});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=>l(e))}}}})}}}catch{return e}}(t)),t}}});e.s(["rewriteFramesIntegration",0,s],766533)},446150,750967,623239,e=>{"use strict";let t;var n=e.i(236809),r=e.i(186936),i=e.i(610822),a=e.i(837027),s=e.i(928133),o=e.i(464907),l=e.i(611045),c=e.i(428593),u=e.i(611188);let d=0;function p(e){let n=Math.floor(1e3*e);void 0!==t&&n!==t&&(d=0);let r=d;return d++,t=n,{key:"sentry.timestamp.sequence",value:{value:r,type:"integer"}}}e.s(["getSequenceAttribute",0,p],750967);var g=e.i(567692),m=e.i(741656);function f(e,t){return t?(0,i.withScope)(t,()=>{let n=(0,m.getActiveSpan)(),r=n?(0,m.spanToTraceContext)(n):(0,i.getTraceContextFromScope)(t);return[n?(0,g.getDynamicSamplingContextFromSpan)(n):(0,g.getDynamicSamplingContextFromScope)(e,t),r]}):[void 0,void 0]}e.s(["_getTraceInfoFromScope",0,f],623239);let h={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};var _=e.i(708820),v=e.i(100500),S=e.i(910359);function E(e,t,n){let r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];n&&(!e[t]||r)&&(e[t]=n)}function T(e,t){var n;let r=I(),i=(n=e,I().get(n));void 0===i?r.set(e,[t]):i.length>=100?(y(e,i),r.set(e,[t])):r.set(e,[...i,t])}function y(e,t){var n,r,i,a,s;let o,l,c=t??(s=e,I().get(s))??[];if(0===c.length)return;let u=e.getOptions(),d=(n=u._metadata,r=u.tunnel,i=e.getDsn(),a=e.getDataCollectionOptions().userInfo,o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=(0,_.dsnToString)(i)),(0,v.createEnvelope)(o,[(l=a?"auto":"never",[{type:"log",item_count:c.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...(0,S.isBrowser)()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}},items:c}])]));I().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(d)}function I(){return(0,r.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function b(e){let t=Object(e),n=t.isWellFormed,r=t.toWellFormed;return"function"==typeof n&&"function"==typeof r?n.call(e)?e:r.call(e):e}e.s(["_INTERNAL_captureLog",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.getCurrentScope)(),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T,d=t?.getClient()??(0,i.getClient)();if(!d){a.DEBUG_BUILD&&s.debug.warn("No client available to capture log.");return}let{release:g,environment:m,enableLogs:_=!0,beforeSendLog:v}=d.getOptions();if(!_){a.DEBUG_BUILD&&s.debug.warn("logging option not enabled, log will not be captured.");return}let[,S]=f(d,t),y={...e.attributes},{user:{id:I,email:N,username:A},attributes:R={}}=(0,l.getCombinedScopeData)((0,i.getIsolationScope)(),t);E(y,"user.id",I,!1),E(y,"user.email",N,!1),E(y,"user.name",A,!1),E(y,"sentry.release",g),E(y,"sentry.environment",m);let{name:O,version:D}=d.getSdkMetadata()?.sdk??{};E(y,"sentry.sdk.name",O),E(y,"sentry.sdk.version",D);let L=d.getIntegrationByName("Replay"),U=L?.getReplayId(!0);E(y,"sentry.replay_id",U),U&&L?.getRecordingMode()==="buffer"&&E(y,"sentry._internal.replay_is_buffering",!0);let w=e.message;
16if((0,o.isParameterizedString)(w)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=w;t?.length&&(y["sentry.message.template"]=e),t.forEach((e,t)=>{y[`sentry.message.parameter.${t}`]=e})}let C=(0,c._getSpanForScope)(t);E(y,"sentry.trace.parent_span_id",C?.spanContext().spanId);let B={...e,attributes:y};d.emit("beforeCaptureLog",B);let P=v?(0,s.consoleSandbox)(()=>v(B)):B;if(!P){d.recordDroppedEvent("before_send","log_item",1),a.DEBUG_BUILD&&s.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:k,message:M,attributes:x={},severityNumber:W}=P,F=(0,u.timestampInSeconds)(),H=p(F);r(d,{timestamp:F,level:k,body:b(String(M)),trace_id:S?.trace_id,severity_number:W??h[k],attributes:function(e){let t={};for(let[n,r]of Object.entries(e)){let e=b(n);"string"===r.type?t[e]={...r,value:b(r.value)}:t[e]=r}return t}({...(0,n.serializeAttributes)(R),...(0,n.serializeAttributes)(x,!0),[H.key]:H.value})}),d.emit("afterCaptureLog",P)},"_INTERNAL_flushLogsBuffer",0,y],446150)},756482,e=>{"use strict";var t=e.i(236809),n=e.i(186936),r=e.i(610822),i=e.i(837027),a=e.i(928133),s=e.i(611045),o=e.i(428593),l=e.i(611188),c=e.i(750967),u=e.i(623239),d=e.i(708820),p=e.i(100500),g=e.i(910359);function m(e,t,n){let r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];!n||!r&&t in e||(e[t]=n)}function f(e,t){var n;let r=_(),i=(n=e,_().get(n));void 0===i?r.set(e,[t]):i.length>=1e3?(h(e,i),r.set(e,[t])):r.set(e,[...i,t])}function h(e,t){var n,r,i,a,s;let o,l,c=t??(s=e,_().get(s))??[];if(0===c.length)return;let u=e.getOptions(),m=(n=u._metadata,r=u.tunnel,i=e.getDsn(),a=e.getDataCollectionOptions().userInfo,o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=(0,d.dsnToString)(i)),(0,p.createEnvelope)(o,[(l=a?"auto":"never",[{type:"trace_metric",item_count:c.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...(0,g.isBrowser)()&&{ingest_settings:{infer_ip:l,infer_user_agent:l}},items:c}])]));_().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(m)}function _(){return(0,n.getGlobalSingleton)("clientToMetricBufferMap",()=>new WeakMap)}e.s(["_INTERNAL_captureMetric",0,function(e,n){let d=n?.scope??(0,r.getCurrentScope)(),p=n?.captureSerializedMetric??f,g=d?.getClient()??(0,r.getClient)();if(!g){i.DEBUG_BUILD&&a.debug.warn("No client available to capture metric.");return}let{_experiments:h,enableMetrics:_,beforeSendMetric:v}=g.getOptions();if(!(_??h?.enableMetrics??!0)){i.DEBUG_BUILD&&a.debug.warn("metrics option not enabled, metric will not be captured.");return}let{user:S,attributes:E}=(0,s.getCombinedScopeData)((0,r.getIsolationScope)(),d),T=function(e,t,n){let{release:r,environment:i}=t.getOptions(),a={...e.attributes};m(a,"user.id",n.id,!1),m(a,"user.email",n.email,!1),m(a,"user.name",n.username,!1),m(a,"sentry.release",r),m(a,"sentry.environment",i);let{name:s,version:o}=t.getSdkMetadata()?.sdk??{};m(a,"sentry.sdk.name",s),m(a,"sentry.sdk.version",o);let l=t.getIntegrationByName("Replay"),c=l?.getReplayId(!0);return m(a,"sentry.replay_id",c),c&&l?.getRecordingMode()==="buffer"&&m(a,"sentry._internal.replay_is_buffering",!0),{...e,attributes:a}}(e,g,S);g.emit("processMetric",T);let y=v||h?.beforeSendMetric,I=y?y(T):T;if(!I){i.DEBUG_BUILD&&a.debug.log("`beforeSendMetric` returned `null`, will not send metric.");return}let b=function(e,n,r,i){let[,a]=(0,u._getTraceInfoFromScope)(n,r),s=(0,o._getSpanForScope)(r),d=s?s.spanContext().traceId:a?.trace_id,p=s?s.spanContext().spanId:void 0,g=(0,l.timestampInSeconds)(),m=(0,c.getSequenceAttribute)(g);return{timestamp:g,trace_id:d??"",span_id:p,name:e.name,type:e.type,unit:e.unit,value:e.value,attributes:{...(0,t.serializeAttributes)(i),...(0,t.serializeAttributes)(e.attributes,"skip-undefined"),[m.key]:m.value}}}(I,g,d,E);i.DEBUG_BUILD&&a.debug.log("[Metric]",b),p(g,b),g.emit("afterCaptureMetric",I)},"_INTERNAL_flushMetricsBuffer",0,h],756482)},950531,e=>{"use strict";var t=e.i(610822),n=e.i(837027),r=e.i(928133);function i(e){(0,t.getCurrentScope)().setClient(e)}e.s(["initAndBind",0,function(e,a){!0===a.debug&&(n.DEBUG_BUILD?r.debug.enable():(0,r.consoleSandbox)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,t.getCurrentScope)().update(a.initialScope);let s=new e(a);return i(s),s.init(),s},"setCurrentClient",0,i])},643142,886755,703206,e=>{"use strict";var t=e.i(837027),n=e.i(336687),r=e.i(106668);let i=null;function a(e){let t="error";(0,r.addHandler)(t,e),(0,r.maybeInstrument)(t,s)}function s(){i=n.GLOBAL_OBJ.onerror,n.GLOBAL_OBJ.onerror=function(e,t,n,a,s){return(0,r.triggerHandlers)("error",{column:a,error:s,line:n,msg:e,url:t}),!!i&&i.apply(this,arguments)},n.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}e.s(["addGlobalErrorInstrumentationHandler",0,a],886755);let o=null;function l(e){let t="unhandledrejection";(0,r.addHandler)(t,e),(0,r.maybeInstrument)(t,c)}function c(){o=n.GLOBAL_OBJ.onunhandledrejection,n.GLOBAL_OBJ.onunhandledrejection=function(e){return(0,r.triggerHandlers)("unhandledrejection",e),!o||o.apply(this,arguments)},n.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}e.s(["addGlobalUnhandledRejectionInstrumentationHandler",0,l],703206);var u=e.i(928133),d=e.i(741656),p=e.i(771467);let g=!1;e.s(["registerSpanErrorInstrumentation",0,function(){g||(g=!0,a(e),l(e));function e(){let e=(0,d.getActiveSpan)(),n=e&&(0,d.getRootSpan)(e);if(n){let e="internal_error";t.DEBUG_BUILD&&u.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),n.setStatus({code:p.SPAN_STATUS_ERROR,message:e})}}}],643142)},467656,e=>{"use strict";var t=e.i(610822),n=e.i(837027),r=e.i(611462),i=e.i(928133),a=e.i(679682),s=e.i(614800),o=e.i(428593),l=e.i(741656),c=e.i(611188),u=e.i(547620),d=e.i(211420),p=e.i(771467),g=e.i(221777),m=e.i(954325);let f={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};e.s(["TRACING_DEFAULTS",0,f,"startIdleSpan",0,function(e){var h;let _,v,S,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},T=new Map,y=!1,I="externalFinish",b=!E.disableAutoFinish,N=[],{idleTimeout:A=f.idleTimeout,finalTimeout:R=f.finalTimeout,childSpanTimeout:O=f.childSpanTimeout,beforeSpanEnd:D,trimIdleSpanEndTimestamp:L=!0}=E,U=(0,t.getClient)(),w=(0,t.getCurrentScope)();if(!U||!(0,a.hasSpansEnabled)()){let e=new u.SentryNonRecordingSpan({traceId:w.getPropagationContext().traceId});return(0,m.setCapturedScopesOnSpan)(e,w,(0,t.getIsolationScope)()),e}let C=(0,l.getActiveSpan)(),B=(h=e,_=(0,g.startInactiveSpan)(h),(0,o._setSpanForScope)((0,t.getCurrentScope)(),_),n.DEBUG_BUILD&&i.debug.log("[Tracing] Started span is an i
16dle span"),_);function P(){v&&(clearTimeout(v),v=void 0)}function k(){S&&(clearTimeout(S),S=void 0)}function M(e){P(),v=setTimeout(()=>{!y&&0===T.size&&b&&(I="idleTimeout",B.end(e))},A)}function x(e){k(),S=setTimeout(()=>{!y&&b&&(I="heartbeatFailed",B.end(e))},O)}function W(e){y=!0,T.clear(),N.forEach(e=>e()),(0,o._setSpanForScope)(w,C);let t=(0,l.spanToJSON)(B),{start_timestamp:a}=t;if(!a)return;t.data[r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||B.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,I);let s=t.status;s&&"unknown"!==s||B.setStatus({code:p.SPAN_STATUS_OK}),i.debug.log(`[Tracing] Idle span "${t.op}" finished`);let c=(0,l.getSpanDescendants)(B).filter(e=>e!==B),u=0;c.forEach(t=>{t.isRecording()&&(t.setStatus({code:p.SPAN_STATUS_ERROR,message:"cancelled"}),t.end(e),n.DEBUG_BUILD&&i.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:a=0}=(0,l.spanToJSON)(t),s=a<=e,o=r-a<=(R+A)/1e3;if(n.DEBUG_BUILD){let e=JSON.stringify(t,void 0,2);s?o||i.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):i.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!o||!s)&&((0,l.removeChildSpanFromSpan)(B,t),u++)}),u>0&&B.setAttribute("sentry.idle_span_discarded_spans",u)}return B.end=new Proxy(B.end,{apply(e,t,n){if(D&&D(B),(0,u.spanIsNonRecordingSpan)(t))return;let[r,...i]=n,a=r||(0,c.timestampInSeconds)(),o=(0,l.spanTimeInputToSeconds)(a),d=(0,l.getSpanDescendants)(B).filter(e=>e!==B),p=(0,l.spanToJSON)(B);if(!d.length||!L)return W(o),Reflect.apply(e,t,[o,...i]);let g=U.getOptions().ignoreSpans,m=d?.reduce((e,t)=>{let n=(0,l.spanToJSON)(t);return!n.timestamp||g&&(0,s.shouldIgnoreSpan)({description:n.description,op:n.op,attributes:n.data},g)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),f=p.start_timestamp,h=Math.min(f?f+R/1e3:1/0,Math.max(f||-1/0,Math.min(o,m||1/0)));return W(h),Reflect.apply(e,t,[h,...i])}}),N.push(U.on("spanStart",e=>{var t;!(y||e===B||(0,l.spanToJSON)(e).timestamp||e instanceof d.SentrySpan&&e.isStandaloneSpan())&&(0,l.getSpanDescendants)(B).includes(e)&&(t=e.spanContext().spanId,P(),T.set(t,!0),x((0,c.timestampInSeconds)()+O/1e3))})),N.push(U.on("spanEnd",e=>{if(!y){var t;t=e.spanContext().spanId,T.has(t)&&T.delete(t),0===T.size&&(M((0,c.timestampInSeconds)()+A/1e3),k())}})),N.push(U.on("idleSpanEnableAutoFinish",e=>{e===B&&(b=!0,M(),T.size&&x())})),E.disableAutoFinish||M(),setTimeout(()=>{y||(B.setStatus({code:p.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),I="finalTimeout",B.end())},R),B}])},210696,e=>{"use strict";var t=e.i(910359),n=e.i(364473),r=e.i(741656);e.s(["extractGenAiSpansFromEvent",0,function(e,i){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===i.getOptions().streamGenAiSpans||(0,n.hasSpanStreamingEnabled)(i))return;let a=[],s=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?a.push(function(e){let t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links};return(0,r.streamedSpanJsonToSerializedSpan)(t)}(t)):s.push(t);if(0===a.length)return;e.spans=s;let o=i.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:a.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...(0,t.isBrowser)()&&{ingest_settings:{infer_ip:o,infer_user_agent:o}},items:a}]}],210696)},463230,665313,646752,47672,e=>{"use strict";var t=e.i(837027),n=e.i(928133),r=e.i(100500),i=e.i(302088);function a(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}e.s(["safeUnref",0,a],665313);let s=Symbol.for("SentryBufferFullError");function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return(0,i.rejectedSyncPromise)(s);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return(0,i.resolvedSyncPromise)(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>a(setTimeout(()=>t(!1),e)))]):n}}}e.s(["SENTRY_BUFFER_FULL_ERROR",0,s,"makePromiseBuffer",0,o],646752);var l=e.i(974825);function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,l.safeDateNow)(),n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,l.safeDateNow)();return(e[t]||e.all||0)>n}function d(e,t){let{statusCode:n,headers:r}=t,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,l.safeDateNow)(),a={...e},s=r?.["x-sentry-rate-limits"],o=r?.["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,n,,,r]=e.split(":",5),s=parseInt(t,10),o=(isNaN(s)?60:s)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!r||r.split(";").includes("custom"))&&(a[e]=i+o):a[e]=i+o;else a.all=i+o}else o?a.all=i+c(o,i):429===n&&(a.all=i+6e4);return a}e.s(["isRateLimited",0,u,"parseRetryAfterHeader",0,c,"updateRateLimits",0,d],47672),e.s(["DEFAULT_TRANSPORT_BUFFER_SIZE",0,64,"createTransport",0,function(e,i){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o(e.bufferSize||64),l={};return{send:function(o){let c=[];if((0,r.forEachEnvelopeItem)(o,(t,n)=>{let i=(0,r.envelopeItemTypeToDataCategory)(n);u(l,i)?e.recordDroppedEvent("ratelimit_backoff",i):c.push(t)}),0===c.length)return Promise.resolve({});let p=(0,r.createEnvelope)(o[0],c),g=i=>{if((0,r.envelopeContainsItemType)(p,["client_report"])){t.DEBUG_BUILD&&n.debug.warn(`Dropping client report. Will not send outcomes (reason: ${i}).`);return}(0,r.forEachEnvelopeItem)(p,(t,n)=>{e.recordDroppedEvent(i,(0,r.envelopeItemTypeToDataCategory)(n))})};return a.add(()=>i({body:(0,r.serializeEnvelope)(p)}).then(e=>(413===e.statusCode?(t.DEBUG_BUILD&&n.debug.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),g("send_error")):(t.DEBUG_BUILD&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&n.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),l=d(l,e)),e),e=>{throw g("network_error"),t.DEBUG_BUILD&&n.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>
16{if(e===s)return t.DEBUG_BUILD&&n.debug.error("Skipped sending event because buffer is full."),g("queue_overflow"),Promise.resolve({});throw e})},flush:e=>a.drain(e)}}],463230)},980786,e=>{"use strict";e.s(["getBreadcrumbLogLevelFromHttpStatusCode",0,function(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}])},328838,e=>{"use strict";e.i(464907);let t=e.i(336687).GLOBAL_OBJ;e.s(["getComponentName",0,function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!t.HTMLElement)return null;let r=e;for(let e=0;e<n&&r;e++){if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null},"getLocationHref",0,function(){try{return t.document.location.href}catch{return""}}])},910359,430557,e=>{"use strict";var t=e.i(857552);function n(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}e.s(["getSDKSource",0,function(){return"npm"},"isBrowserBundle",0,n],430557);var r=e.i(336687);e.s(["isBrowser",0,function(){let e;return"u">typeof window&&(!(!n()&&"[object process]"===Object.prototype.toString.call(void 0!==t.default?t.default:0))||(e=r.GLOBAL_OBJ.process,e?.type==="renderer"))}],910359)},246271,e=>{"use strict";var t=e.i(943330);e.s(["applySdkMetadata",0,function(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[n],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"npm",a=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};a.name||(a.name=`sentry.javascript.${n}`,a.packages=r.map(e=>({name:`${i}:@sentry/${e}`,version:t.SDK_VERSION})),a.version=t.SDK_VERSION)}])},522008,e=>{"use strict";var t=e.i(837027),n=e.i(928133);let r=e.i(336687).GLOBAL_OBJ;function i(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}e.s(["isNativeFunction",0,i,"supportsHistory",0,function(){return"history"in r&&!!r.history},"supportsNativeFetch",0,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(i(r.fetch))return!0;let e=!1,a=r.document;if(a&&"function"==typeof a.createElement)try{let t=a.createElement("iframe");t.hidden=!0,a.head.appendChild(t),t.contentWindow?.fetch&&(e=i(t.contentWindow.fetch)),a.head.removeChild(t)}catch(e){t.DEBUG_BUILD&&n.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e},"supportsReportingObserver",0,function(){return"ReportingObserver"in r}])},254877,e=>{"use strict";var t=e.i(725588),n=e.i(186936),r=e.i(610822),i=e.i(142569),a=e.i(928133),s=e.i(741656),o=e.i(679682),l=e.i(547620),c=e.i(567692),u=e.i(399398),d=e.i(443529);e.s(["getTraceData",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=e.client||(0,r.getClient)();if(!(0,i.isEnabled)()||!p)return{};let g=(0,n.getMainCarrier)(),m=(0,t.getAsyncContextStrategy)(g);if(m.getTraceData)return m.getTraceData(e);let f=e.scope||(0,r.getCurrentScope)(),h=e.span||(0,s.getActiveSpan)(),_=(0,l.spanIsNonRecordingSpan)(h)&&!(0,o.hasSpansEnabled)(p.getOptions());if(!h&&(0,r.hasExternalPropagationContext)())return{};let v=h&&!_?(0,s.spanToTraceHeader)(h):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,d.generateSentryTraceHeader)(t,r,n)}(f),S=h?(0,c.getDynamicSamplingContextFromSpan)(h):(0,c.getDynamicSamplingContextFromScope)(p,f),E=(0,u.dynamicSamplingContextToSentryBaggageHeader)(S);if(!d.TRACEPARENT_REGEXP.test(v))return a.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let T={"sentry-trace":v,baggage:E};return e.propagateTraceparent&&(T.traceparent=h&&!_?(0,s.spanToTraceparentHeader)(h):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,d.generateTraceparentHeader)(t,r,n)}(f)),T}])},512431,964266,e=>{"use strict";function t(e){return"isRelative"in e}e.s(["GRAPHQL_DOCUMENT",0,"graphql.document","HTTP_URL",0,"http.url","PARAMS_KEY_BASE",0,"params","SENTRY_SDK_NAME",0,"sentry.sdk.name","SENTRY_SDK_VERSION",0,"sentry.sdk.version","SENTRY_SEGMENT_ID",0,"sentry.segment.id","SENTRY_SEGMENT_NAME",0,"sentry.segment.name","SENTRY_TRACE_LIFECYCLE",0,"sentry.trace_lifecycle","SENTRY_TRANSACTION",0,"sentry.transaction","URL_FULL",0,"url.full","URL_PATH",0,"url.path","URL_PATH_PARAMETER_KEY_BASE",0,"url.path.parameter","URL_TEMPLATE",0,"url.template"],964266),e.i(611462),e.s(["getSanitizedUrlStringFromUrlObject",0,function(e){if(t(e))return e.pathname;let n=new URL(e);return n.search="",n.hash="",["80","443"].includes(n.port)&&(n.port=""),n.password&&(n.password="%filtered%"),n.username&&(n.username="%filtered%"),n.toString()},"isURLObjectRelative",0,t,"parseStringToURLObject",0,function(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}},"parseUrl",0,function(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}},"stripDataUrlContent",0,function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",i=e.includes(";base64,"),a=e.indexOf(","),s="";if(t&&-1!==a){let t=e.slice(a+1);s=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?",base64":""}${s?`,${s}`:""}`}return e},"stripUrlQueryAndFragment",0,function(e){return e.split(/[?#]/,1)[0]}],512431)},860889,e=>{"use strict";var t=e.i(142569),n=e.i(110417),r=e.i(561623),i=e.i(246271),a=e.i(873802),s=e.i(190484),o=e.i(464907);
16function l(e){return(0,o.isPlainObject)(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":(0,r.normalizeStringifyValue)(e)}e.s(["init",0,function(e){let r={...e};(0,i.applySdkMetadata)(r,"react"),(0,t.setContext)("react",{version:s.version});let o=(0,n.init)(r);return(0,a.setNormalizeStringifier)(l),o}],860889)}]); 17 18//# debugId=f7f972e3-8324-a222-9279-fa9a26d6ecc8 19//# sourceMappingURL=27lpt34l_tf7y.js.map
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.